Acquisition and Analysis of Aquatic Stroke Data from an Accelerometer Based System
Total Page:16
File Type:pdf, Size:1020Kb
Acquisition and Analysis of Aquatic Stroke Data From an Accelerometer Based System Author Davey, Neil P. Published 2004 Thesis Type Thesis (Masters) School School of Microelectronic Engineering DOI https://doi.org/10.25904/1912/2581 Copyright Statement The author owns the copyright in this thesis, unless stated otherwise. Downloaded from http://hdl.handle.net/10072/365755 Griffith Research Online https://research-repository.griffith.edu.au Acquisition and analysis of aquatic stroke data from an accelerometer based system. Submitted by Neil P. Davey BEng(Hons) School of Microelectronic Engineering Faculty of Engineering and Information Technology Griffith University Submitted in fulfilment of the requirements of the degree of Masters of Philosophy April 2004 Table of Contents Table of Contents…………………………………………………………………………………i List of Figures………….…………………………………………………………….…………...v List of Tables…...……………………………………………………………………………….vii Acknowledgments……………………………………………………………………………...viii Abstract…………….……………………………………………………………………………ix 1 Introduction........................................................................................................................ 1 1.1 Research objectives ..................................................................................................... 2 1.2 Prior research............................................................................................................... 3 1.3 Outline ......................................................................................................................... 4 2 Rowing System 1D Case .................................................................................................... 6 2.1 Design.......................................................................................................................... 8 2.2 Hardware ..................................................................................................................... 9 2.3 Firmware.................................................................................................................... 15 2.4 Results ....................................................................................................................... 19 2.5 Design Assessment.................................................................................................... 21 2.6 Addendum ................................................................................................................. 21 3 Swimming Initial Prototype 3D Case ............................................................................. 22 3.1 Design........................................................................................................................ 24 3.2 Technology Review................................................................................................... 25 3.3 Firmware.................................................................................................................... 29 3.4 Client Software.......................................................................................................... 34 3.5 Design Assessment.................................................................................................... 35 4 Swimming Limited Release Prototype 3D Case ............................................................ 38 4.1 Design........................................................................................................................ 38 4.2 Firmware.................................................................................................................... 41 i 4.3 Client Software.......................................................................................................... 45 4.4 Design Assessment.................................................................................................... 46 5 Data Collection and Algorithm Development................................................................ 50 5.1 Method and Data Collection Design.......................................................................... 51 5.2 Gravity Modelling ..................................................................................................... 51 5.3 Data Processing ......................................................................................................... 54 5.3.1 Stroke Type Identification..................................................................................... 54 5.3.2 Wall Push Off Identification ................................................................................. 58 5.3.3 Stroke Count.......................................................................................................... 60 5.4 Visualisation.............................................................................................................. 64 5.5 Validation .................................................................................................................. 66 5.6 Conclusions ............................................................................................................... 71 6 Conclusions and Future Work........................................................................................ 72 6.1 Conclusions ............................................................................................................... 72 6.2 Future Work............................................................................................................... 72 References………………………………………………………………………………………73 Appendix A………………………………………………………………………………………A Matlab Impeller Rotation Detection Algorithm Appendix B………………………………………………………………………………………B Rowing Firmware Code Appendix C………………………………………………………………………………………C Rowing RS232 and Heart Rate Printed Circuit Board Appendix D………………………………………………………………………………………D Rowing Impeller Pickup Printed Circuit Board Appendix E………………………………………………………………………………………E Swimming Initial Prototype Firmware ii Appendix F………………………………………………………………………………………F Swimming Initial Prototype Power Supply Printed Circuit Board Appendix G………………………………………………………………………………………G Swimming Initial Prototype Microprocessor Schematic and Printed Circuit Board Appendix H………………………………………………………………………………………H Swimming Limited Release Firmware Appendix I………………………………………………………………………………………..I Swimming Limited Release Power Supply Schematic and Printed Circuit Board Appendix J…………………………………………………………………………………….…J Swimming Limited Release Microprocessor Schematic and Printed Circuit Board Appendix K………………………………………………………………………………………K Swimming Limited Release Infra Red Schematic and Printed Circuit Board Appendix L………………………………………………………………………………………L Swimming Limited Release Cradle Schematic and Printed Circuit Board Appendix M…………………………………………………………………………………..…M Matlab Stroke Type Identification Algorithm Appendix N………………………………………………………………………………………N Matlab Wall Push Off Algorithm Appendix O………………………………………………………………………………………O Matlab Stroke Count Algorithm Appendix P………………………………………………………………………………….……P Signal analysis of accelerometry data using gravity based modelling Appendix Q………………………………………………………………………………………Q An integrated platform for micro sensor data acquisition, storage and analysis iii List of Figures Figure 1: Rowing Scull with Acceleration Axis of Interest.......................................................... 6 Figure 2: SpeedCoach interface (NK)........................................................................................... 7 Figure 3: Impeller Pick-up Circuit................................................................................................ 9 Figure 4: Impeller Pickup Circuit Block Diagram...................................................................... 10 Figure 5: Impeller and interface unit........................................................................................... 10 Figure 6: Rowing Stoke Phases .................................................................................................. 11 Figure 7: Principle of operation of an accelerometer.................................................................. 11 Figure 8: Heart Rate Pickup Interface Circuit ............................................................................ 12 Figure 9: iPAQ. The desired rowing interface............................................................................ 13 Figure 10: Rowing System Functional diagram.......................................................................... 14 Figure 11: Rowing Device In Packaging .................................................................................... 14 Figure 12: Rowing Device Package Connectors......................................................................... 15 Figure 13: Rowing RS232 Serial Interface................................................................................. 15 Figure 14: Rowing Firmware Simplified Entire Flowchart ........................................................ 16 Figure 15: Impeller Rotation Detection Algorithm Operations .................................................. 17 Figure 16: Rowing Timer Interrupt Flowchart ........................................................................... 17 Figure 17: Rowing Firmware Heart Rate Interrupt Flowchart.................................................... 18 Figure 18: Rowing System Main Flowchart............................................................................... 19 Figure 19: iPAQ Positioned On Scull........................................................................................