design and development of an accelerometer based personal trainer system
DESCRIPTION
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. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/1.jpg)
Design and Development of an Accelerometer based Personal Trainer System
By Emer BussmannB.E. Electronic Engineering
April 2008
![Page 2: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/2.jpg)
Introduction
Exercise is the key to a healthy life
Attract interest in running • Allowing user to monitor own
progress• Set achievavle goals
• Satisfaction
![Page 3: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/3.jpg)
Proposal
• Maximum benefit from run• Portability• Low cost
• Track, record and monitor• Achievable goals
Speed Distance
![Page 4: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/4.jpg)
Project Overview
![Page 5: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/5.jpg)
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
![Page 6: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/6.jpg)
Accelerometer Preperation
• Calibration
• Frequency
• Positioning
![Page 7: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/7.jpg)
Bluetooth Suitability
• Wireless• Radio Frequency
• Low power consumption (phone battery)
• Range
![Page 8: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/8.jpg)
Data Acquisistion Unit -LabVIEW suitability-
• Visual programming language • Libraries – functions• Polymorphism • Access of instrumentation hardware
– Serial Communication VI• PDA research
![Page 9: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/9.jpg)
LabVIEW VI Requirements
• Data Importation using serial VI• Data extraction• Save data to file
![Page 10: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/10.jpg)
Serial Communication in LabVIEW
Front panel for the serial communication VI
![Page 11: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/11.jpg)
Data Extraction
![Page 12: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/12.jpg)
Saving Data to a file
![Page 13: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/13.jpg)
Back end Processing -Matlab Suitability-
• Numerical computing and programming
• Implementation of algorithms • Import Wizard
• Plotting Functions
![Page 14: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/14.jpg)
0 5 10 15
-20
-15
-10
-5
0
5
10
15
20
X-Axis Acceleration
Seconds
Metres/S
econd
2
0 5 10 15
-2
-1
0
1
2
3
4
5
Z-Axis Acceleration
SecondsM
etres/S
econd
2
0 5 10 15-3
-2
-1
0
1
2
3
4
5
6
Y-Axis Acceleration
Seconds
Metres/S
econd
2
Data AnalysisY- Axis• Vertical• Impact
Z- Axis• Anterior-Posterior• Integration
X- Axis• Medio-Lateral
![Page 15: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/15.jpg)
500 510 520 530 540 550 560 570 580 590
-1
-0.5
0
0.5
1
SamplesA
ccele
ration
Stride Counter
• Clear steps• Thresholding
technique• Stride• Distance = (Strides)
(Stride length)• Speed =
Distance/Time
![Page 16: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/16.jpg)
Noisy Signals
• Common signal problem
• Inaccurate spike count
• Use distance between spikes
• Worse during faster run
6 6.5 7 7.5 8 8.5 9
-3
-2
-1
0
1
2
3
4
5
Acceleration
Seconds
Metr
es/S
econd2
![Page 17: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/17.jpg)
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
![Page 18: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/18.jpg)
Data Correction
• Undesirable data (S & I)• Calibration (S & I)
• Filtering (I)• Averaging (I)
![Page 19: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/19.jpg)
Undesirable Data• Unwanted NaN values• Use “isnan” to locate• Replace with average of nearest
neighbours
![Page 20: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/20.jpg)
Calibration
• Average samples over the range• Subtract the offset from the data• Major accuacry improvements
![Page 21: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/21.jpg)
Filtering Data• Set “no movement” states to zero• Use thresholding technique and
control variable• When variable is “1”, data is “0”
![Page 22: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/22.jpg)
Averaging data
• Integration necesity • Window of 64 samples
![Page 23: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/23.jpg)
Justification of Stride Counter
4 6 8 10 12 14-3
-2
-1
0
1
2
3
4
X: 13.54Y: 0.6195
Acceleration
Seconds
Metr
es/S
econd2
X: 3.6Y: 0.8255
![Page 24: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/24.jpg)
0 5 10 15
-10
0
10
20
30
Averaged Acceleration
Seconds
Met
res/
Sec
ond2
0 10 20
-10
0
10
Averaged Acceleration
Seconds
Met
res/
Sec
ond2
0 10 20
-10
0
10
20
Averaged Acceleration
Seconds
Met
res/
Sec
ond2
Failure of Integrator
• Unsatisfactory results• Noisy Data• Purely Graphical information
3 speed
Steady
Stop inc.
![Page 25: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/25.jpg)
Comparison of algorithms
Stride Counter• Simple• Highly accurate• Clean data• Limitations due to
manual user input requirements
Integrator• Unsuitable for
calculating abilities
• Graphical indicator of human movement
![Page 26: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/26.jpg)
Problems Encountered
• Serial Port Issues• Programming Issues
• PDA Issues
![Page 27: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/27.jpg)
Conclusion
The proposed aim of designing and developing a portable, cost effective accelerometer based personal trainer system was reached:
AccelerometerData Acquisition Processing algorithmsFeedback
![Page 28: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/28.jpg)
Future Work
• Incorporate PDA• Stride Counter automation
• Energy Algorithm• Incorporate ECG
![Page 29: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/29.jpg)
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 implementationFreescale semiconductor application note
Implementing Positioning Algorithms Using AccelerometersBy: Kurt Seifert and Oscar Camacho[8] Useful Information on Accelerometers
http://www.electronics-manufacturers.com/info/sensors-and-detectors/accelerometer-sensor.html
![Page 30: Design and Development of an Accelerometer based Personal Trainer System](https://reader035.vdocument.in/reader035/viewer/2022062720/5681349e550346895d9b95f9/html5/thumbnails/30.jpg)
QUESTIONS????????????????