300 likes | 398 Views
Design and Development of an Accelerometer based Personal Trainer System. By Emer Bussmann B.E. Electronic Engineering April 2008. Introduction. Exercise is the key to a healthy life Attract interest in running Allowing user to monitor own progress Set achievavle goals Satisfaction.
E N D
Design and Development of an Accelerometer based Personal Trainer System By Emer Bussmann B.E. Electronic Engineering April 2008
Introduction Exercise is the key to a healthy life Attract interest in running • Allowing user to monitor own progress • Set achievavle goals • Satisfaction
Proposal • Maximum benefit from run • Portability • Low cost • Track, record and monitor • Achievable goals Speed Distance
Data Source - Accelerometer • Measures acceleration forces • Capacitance sensor • Triaxial • Minimum cost, portability and low power consumption • Freescale • X, Y and Z-Axis Channels • Internal Antennae • Status LEDs • Adjustable output frequency • Wireless SparkFun WiTilt v2.5
Accelerometer Preperation • Calibration • Frequency • Positioning
Bluetooth Suitability • Wireless • Radio Frequency • Low power consumption (phone battery) • Range
Data Acquisistion Unit-LabVIEW suitability- • Visual programming language • Libraries – functions • Polymorphism • Access of instrumentation hardware – Serial Communication VI • PDA research
LabVIEW VI Requirements • Data Importation using serial VI • Data extraction • Save data to file
Serial Communication in LabVIEW Front panel for the serial communication VI
Back end Processing-Matlab Suitability- • Numerical computing and programming • Implementation of algorithms • Import Wizard • Plotting Functions
Data Analysis Y- Axis • Vertical • Impact Z- Axis • Anterior-Posterior • Integration X- Axis • Medio-Lateral
Stride Counter • Clear steps • Thresholding technique • Stride • Distance = (Strides)(Stride length) • Speed = Distance/Time
Noisy Signals • Common signal problem • Inaccurate spike count • Use distance between spikes • Worse during faster run
Integrator • Acceleration=> Speed=>Distance • Area under curve • area 1 is the previous sample • area 2 is a triangle formed between the previous sample and the current one Area = Previous Sample + | Sample-Previous Sample | 2
Data Correction • Undesirable data (S & I) • Calibration (S & I) • Filtering (I) • Averaging (I)
Undesirable Data • Unwanted NaN values • Use “isnan” to locate • Replace with average of nearest neighbours
Calibration • Average samples over the range • Subtract the offset from the data • Major accuacry improvements
Filtering Data • Set “no movement” states to zero • Use thresholding technique and control variable • When variable is “1”, data is “0”
Averaging data • Integration necesity • Window of 64 samples
Failure of Integrator • Unsatisfactory results • Noisy Data • Purely Graphical information 3 speed Steady Stop inc.
Stride Counter Simple Highly accurate Clean data Limitations due to manual user input requirements Integrator Unsuitable for calculating abilities Graphical indicator of human movement Comparison of algorithms
Problems Encountered • Serial Port Issues • Programming Issues • PDA Issues
Conclusion The proposed aim of designing and developing a portable, cost effective accelerometer based personal trainer system was reached: • Accelerometer • Data Acquisition • Processing algorithms • Feedback
Future Work • Incorporate PDA • Stride Counter automation • Energy Algorithm • Incorporate ECG
References [1] Information on Triaxial Accelerometers http://www.ncbi.nlm.nih.gov/sites/entrez?cmd=retrieve&db=pubmed&dopt=abstract&list_uids=9216127 [2] SparkFun forum http://forum.sparkfun.com/search.php?mode=results [3] Useful bluetooth information http://www.tech-faq.com/bluetooth.shtml [4] Useful background on labVIEW http://en.wikipedia.org/wiki/LabVIEW [5] Background information on Matlab www.mathworks.com [6] Signal processing for estimating energy expenditure of elite athletes using triaxial accelerometersWixted, A.; Thiel, D.; James, D.; Hahn, A.; Gore, C.; Pyne, D.Sensors, 2005 IEEEVolume, Issue, 30 Oct.-3 Nov. 2005 Page(s): 4 pp. - Digital Object Identifier 10.1109/ICSENS.2005.1597820 [7] Paper on position algorithm implementation Freescale semiconductor application note Implementing Positioning Algorithms Using Accelerometers By: Kurt Seifert and Oscar Camacho [8] Useful Information on Accelerometers http://www.electronics-manufacturers.com/info/sensors-and-detectors/accelerometer-sensor.html
QUESTIONS ????????????????