Wireless Heart Rate Monitor

Slides:



Advertisements
Similar presentations
System Software Design Frank Mirabelli. Motorola MC9S12DP512 Bus Frequency 24 MHz Available Memory 512K bytes Flash EEPROM, 4K bytes EEPROM, 14K bytes.
Advertisements

Read Digital input Turn on sensor board Convert to Temperature & Humidity Wake Up CC430 Sleep CC430 Timing diagram ① P.2.4
Processor System Architecture
Embedded Computer ( Sisteme incorporate ) MPU vs. CPU / Alternative Texas Instrument, Freescale, ARM RISC and CISC approaches Single Chip Design System.
2008EECS Embedded Network Programming nesC, TinyOS, Networking, Microcontrollers Jonathan Hui University of California, Berkeley.
Timers and Interrupts Shivendu Bhushan Summer Camp ‘13.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 Clock Generator.
7/23 Timers in Coldfire Processor Computer Science & Engineering Department Arizona State University Tempe, AZ Dr. Yann-Hang Lee (480)
ARM Timers.
1 4-Integrating Peripherals in Embedded Systems. 2 Introduction Single-purpose processors  Performs specific computation task  Custom single-purpose.
BlueECG System Software Design Western Washington University By: Corey Williamson.
What is system software and what are its parts? Programs that control operation of computer Two parts are operating systems utility programs.
Digital to Analogue Converter
1 Computer Systems II Introduction to Processes. 2 First Two Major Computer System Evolution Steps Led to the idea of multiprogramming (multiple concurrent.
Michael Nist. System Software Design  MCU (2): CY8CPLC20 8-bit  32 KB Flash, 2 KB SRAM  Bus Frequency: 24 MHz  Memory requirements:  Main Controller:
System Software Design Review.  MCU: NXP LPC2378 ARM7 32-bit  512 KB Flash, 8KB EEPROM and SRAM  Bus Frequency: 20 MHz  Approximate Memory requirements:
 Home Security and Lighting System  Western Washington University  Jonathon Ross  28 April, 2009.
System Software Design Colin Gatlin May 12, 2009 Western Washington University.
Turbine Flow Meter Kevin Hooks Senior Design Project.
System Software Design and Documentation Zach Hill Western Washington University.
Digital Handheld Communication and Navigation Device
SYSTEM SOFTWARE DESIGN JAMES ZUROSKE Pet Proximity Sensor.
Lost Item Pager System Design Russ Kinley 5/6/6008.
Ryan Hansgen. General System Design  MC9S08QE64CFT 24MHz Bus Frequency 64 K byte Flash EEPROM, 4.0 K byte RAM  Memory required 8 K bytes ROM 2 K bytes.
RFID Access Control System Lucius Knight. General System Design  Microcontroller  PSoC CY8C29466  24MHz Bus Frequency  Memory Available  32kB FLASH.
System Software Design Dane Kim May 4 th, 2009 EET 475, WWU.
BICYCLE SECURITY AND TRIP COMPUTER MATTHEW ROTHNIE WESTERN WASHINGTON UNIVERSITY 4/25/12.
System Software Design Engineer: Mac Gainor Western Washington University.
Machine Access System Software Design and Documentation Western Washington University By: Kevin Pogue.
Portable/Programable Location System – Software Design By: Mark Moerdyk.
LED CUBE Preliminary System Software Design Fernando J. Garcia May
Humidity Sensing Fan Controller Jason Huft 05/11/10.
System Software Design Dan Sweet May 6 th, 2008 Western Washington University Bicycle Power Meter.
SGDRS Software System Design Justin A. King WWU EET Senior project 2013.
Automatic Pressure Canning System System Software Design By: Michael Drysdale.
Atmospheric Data Measuring Rocket Software Design & Description Matt Buonadonna ADaM Code Presentation.
GPS Enhanced PFD System Software Presentation Eric Grossmann.
Software Design Review Andres Rodriguez. General System Design  MCU: STM32F405  MCU Bus Frequency: 84MHz  Memory Requirements  Flash: ~ 10Kb  RAM:
System Software Design GPS Training System Jason Corbridge May 8, 2008 Western Washington University.
LED CUBE Preliminary System Software Design Fernando J. Garcia May
WESTERN WASHINGTON UNIVERSITY KENT SYKES 2009 Audio Field Recorder System Software Design.
ATV INSTRUMENTATION DISPLAY System Software Design Ed Raezer.
Wireless Heart Rate Monitor. On-Person Unit MC13213 (HCS08)  16 MHz Bus Frequency  On Chip Resources 60K of Flash 4K of RAM  Require Resources 15K.
BANDAGE SIZE NON ECG HEART RATE MONITOR USING ZIGBEE WIRELESS LINK Guided by,Presented by, Ms. Geo. P.G Jeevan.K.Noble Asst.Prof., ECE Dept.S7, ECE-A.
Hardware Needs 18F452 Main Controller CM8870 DTMF Decoder UART in PIC, MAX232 Serial Port Line Level Converter Amplifier for IR Detector Voltage feed into.
HOME CONTROL SYSTEM By: Justin E. Klumpp & Leo L.S. Wan Leo L.S. Wan.
System Software Design Doorbell Jukebox Henry Arbicor and Arthur Bingcang.
Networked Embedded Systems Pengyu Zhang & Sachin Katti EE107 Spring 2016 Lecture 4 Timers and Interrupts.
Voice Over IP – Software Western Washington University By: Jonathan R. Peterson.
Electronic Memory Game System Software Design Jack Sullivan May 08, 2007.
Conserve-A-Watt System Software Design Justin Rapozo.
Software Overview Walking Robot by Sharon Davis Kernel MicroC/OSII.
The Guardian: Refrigerator Contents Tracker Bryant Lampano Western Washington University Electronics Engineering Technology [Type the company name]
28 April 2005 Brushless DC Motor Controller Software Design Presentation Western Washington University Patrick Prendergast.
System Software Design Presentation Western Washington University Taylor Reijm.
1 4-Integrating Peripherals in Embedded Systems. 2 Introduction Single-purpose processors  Performs specific computation task  Custom single-purpose.
Protection of System Resources
4-Integrating Peripherals in Embedded Systems
System Software Design by Chan-Chia (James) Chang
By: Justin E. Klumpp & Leo L.S. Wan
4-Integrating Peripherals in Embedded Systems
전자의료시스템 및 실습 System Configuration/Interrupt
CSCI1600: Embedded and Real Time Software
11.1 Interrupt Mechanism, Type, and Priority
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
CSCI1600: Embedded and Real Time Software
Wireless Embedded Systems
System Software Design
Presentation transcript:

Wireless Heart Rate Monitor Software Design Heart Alert

On-Person Unit MC13213 (HCS08) 16 MHz Bus Frequency On Chip Resources 60K of Flash 4K of RAM Require Resources 15K of Flash 2K of RAM Timeslice Kernel Period: 50 ms

On-Person Unit Tasks Start Task Waitforslice Task Timer Task Sampling Task Rate Analysis Task Alert Task Sleep Task

On-Person Unit Module List Tasks Public Functions and Data Main1.c StartTask Waitforslice TimerTask SamplingTask RateAnalysisTask AlertTask TimeStamp AlertFlag Heart Rate Data Start08.c Timer.c CurrentCount() ResetCount() Count OCDelay.c GetmSCnt()

On-Person Unit Module List Tasks Public Functions and Data simple_phy.c UINT8 PDDataRequest(tTxPacket *); void PLMEMC13192ResetIndication(); mc13213.c Several other freescale provided modules necessary for SMAC

On-Person Unit Start Task System Initialization CPU SMAC ADC Period Run Once out of reset Max Execution Time ~100 ms

On-Person Unit Waitforslice Task Waits for the remainder of the timeslice period to pass before exiting to the next task Period 50 ms (periodic)

On-Person Unit Timer Task A timer used to deduce the period of the heart beat and thus how many beats per minute Accuracy: ±50 ms Period 50 ms (periodic) Max Execution Time 0.5 ms

On-Person Unit Sampling Task Turns on LED, Optical Sensor, Instrumentation Amplifier and takes 100 ADC samples Period 50 ms (periodic) Max Execution Time 8 ms 3 ms (typical)

On-Person Unit Rate Analysis Task Analyze the heart rate data by Averaging the 100 ADC Samples Deciding if period has occurred Obtaining time elapsed since previous peak Calculating Heart Rate in beats per minute Comparing to acceptable range Setting Alert Flag Period 50 ms Max Execution Time 5 ms

On-Person Unit Alert Task Will send the alert signal to the computer connected unit Period Once until disarmed (sporadic) Max Execution Time 1 ms

On-Person Unit Sleep Task Put the CPU into low power mode called Wait Internal Timer Module use as software interrupt to wake the CPU Period 50 ms (periodic) Max Execution Time 25 ms

On-Person Unit CPU Load Task Execution Time Task Period CPU Load Timer Task 0.5 ms 50 ms 1% Sampling Task 8 ms 16% Rate Analysis Task 5 ms 10% Alert Task 1 ms 2% Sleep Task 25 ms 50% Total CPU Load (max) 79%

Computer Connected Unit Tasks Start Task Waitforslice Task User Interface Task Alert Pole Task Send Alert Task

Computer Connected Unit Module List Tasks Public Functions and Data Main1.c StartTask Waitforslice User InterfaceTask AlertPoleTask SendAlertTask HRLimits AlertFlag Start08.c OCDelay.c GetmSCnt()

On-Person Unit Module List Tasks Public Functions and Data simple_phy.c UINT8 PDDataRequest(tTxPacket *); void PLMEMC13192ResetIndication(); mc13213.c SCIBIO9s12Dx.a12 sci_open() sci_read() sci_write() Several other Freescale provided modules necessary for SMAC

On-Person Unit Start Task System Initialization CPU SMAC SCI Period Run Once out of reset Max Execution Time ~100 ms

On-Person Unit Waitforslice Task Waits for the remainder of the timeslice period to pass before exiting to the next task Period 15 ms (periodic)

Computer Connected Unit User Interface Task Handles the acquisition of heart rate limits from the user Period 15 ms (periodic) Max Execution Time 3 ms

Computer Connected Unit Alert Pole Task Poles for an alert from the on-person unit and sets an alert flag if an alert is received Period 15 ms Max Execution Time 1 ms

Computer Connected Unit Send Alert Task Sends an alert to an emergency service For project demonstration, an alert will be displayed on the terminal Period 15 ms Max Execution time 1 ms

Computer Connected Unit CPU Load Task Execution Time Task Period CPU Load User Interface Task 3 ms 15 ms 20% Alert Pole Task 1 ms 6.67% Send Task Total CPU Load (max) 33.34%