Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia
Needs People are unable to reach their desired level of fitness due to the inaccessibility of personal training or other problems associated with the human element of personal training. These problems include a lack of knowledge which makes it difficult to correctly perform an exercise and raises the risk of personal injury. Motivation can be difficult to maintain when an individual attempts to exercise or train alone, but personal trainers are often prohibitively expensive, and the quality and availability of personal trainers varies, forcing the trainee to accommodate the trainer. There is a need for an inexpensive, portable system that educates users on how to perform exercises safely while maintaining their motivation. Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 2
Requirements 1. Tutorial-based 2. Inexpensive 3. Motivational 4. Portable 5. Reliable 6. Safe Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 3
Specifications Marketing Requirements Engineering Requirements Justification 1 A. The user will be shown diagrams, animations, The user needs to be presented with enough or videos which demonstrate the proper information to be able to perform the exercise techniques for exercises. correctly. Users should be able to learn from the demonstration well enough that the system will not frequently correct him or her; using the system should be a positive experience. 1 B. The user will be warned if the sensors detect The system should gently correct the user's that the user's motions significantly mismatch motion and guide the user to proper technique. proper technique (i.e., > 10 deviation from expected motion.) 4, 5 C. Each set of sensors will be able to run for the There is a zone associated with physical activity duration of a regular workout without being (e.g., runner's high). The device should not take recharged or having batteries replaced. the user out of the zone by requiring fresh batteries. 4, 6 D. Wires, if any, will be designed such that they While working out, especially when using gym do not interfere with range of motion, and they will equipment, having wires criss-crossing the user's be designed not to be caught on gym equipment. body can be hazardous. Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 4
Specifications Continued Marketing Requirements Engineering Requirements Justification 2, 5 E. The system will use off-the-shelf components Off-the-shelf components are generally more wherever feasible. cost-effective than custom parts. 5 F. All parts will remain motionless relative to the The user will be moving around. The parts should user's body. not. 5, 6 G. Parts will withstand a 2 meter drop test, and If the user cannot continue doing push-ups, for they will withstand the weight of the user. example, the user may lie on his or her stomach while regaining his or her strength. If the user rolls on his or her side (and thus onto the device strapped to his or her arm), the device should withstand this motion. 3 H. The user will be provided with feedback An exercise routine loses motivational value if the regarding progress. user cannot determine how much progress has been made. Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 5
Concept Selection ● Optical ● Magnetic ● Mechanical ● Acoustic ● Level Sensor (old choice) ● Inertial Sensor (new choice) Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 6
Design: Level 0 Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 7
Design: Level 1 Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 8
Design: Level 2 Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 9
Design: Level 3 Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 10
Mounting System Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 11
Mounting System: Risks ● Robust ○ withstand vigorous exercise while unhindering user ○ needs more testing ○ mitigated by use of reliable exercise bands Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 12
Sensors - L3GD20 - L3GD20H Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 13
Sensors Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 14
Sensors Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 15
Sensors Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 16
Sensors: Measurement Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 17
Sensors: Risks ● Accuracy ○ errors in measurement could provide false negatives ○ can be mitigated by periodic calibration ● Electromagnetic Aberrations ○ metal objects may interfere with measurements ○ more testing required ○ mitigated by possible use of Faraday cage, or accelerometers Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 18
Microcontroller Unit Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 19
Microcontroller Unit: STM32F401 Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 20
Microcontroller Unit: STMCube Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 21
Microcontroller Unit 3.82” x 2.60” Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 22
Microcontroller Unit Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 23
Microcontroller Unit: Power Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 24
Microcontroller Unit: Risks ● Signal conditioning ○ Mitigated with floating point units in Cortex M4 ● Interface ○ Microcontroller + Gyroscope ○ Microcontroller + Bluetooth ○ Mitigated through the use of breakout boards Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 25
Bluetooth Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 26
Bluetooth Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 27
Bluetooth: Risks ● Transmission Reliability ○ data corruption could lead to incorrect feedback ○ mitigated by highly reliable component and testing ● Interface ○ reliably interconnect between MCU and phone ○ mitigated by use of Bluetooth breakout board Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 28
Phone Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 29
Phone Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 30
Phone: Risks ● Driver implementation ○ may require low-level modifications to Android to fix bugs (significant undertaking) ○ mitigated by Android Open Source Project ■ development/modification of Android Drivers Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 31
User Interface: UML ● Class Diagram Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 32
User Interface Start Screen ● MainActivity ○ after login/create profile ○ can navigate to all other activities Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 33
User Interface Exercise Screen ● List of all exercises available to UserProfile level ○ selecting one will proceed to demo activity Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 34
User Interface Exercise Demo Screen ● DemoActivity ○ Demonstration video, rep count, and form feedback Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 35
User Interface Routine Screen ● RoutineActivity ○ list of routines and their component exercises Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 36
User Interface Edit Routine Screen ● Displays selected routine ○ lists exercises with weight and sets/reps Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 37
User Interface Profile Screen ● ProfileActivity ○ metric for exercise variety, progress summary, level, and experience Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 38
User Interface Progress Screen ● Displays history of routines and dates completed Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 39
Risks Overview ● Gyroscope Sensor Measurements ● MCU Functionality ● Bluetooth Reliability ● Robust Mounting System ● Phone Operating System Fitness Trainer Clayton Bailey, Drew Carlstedt, Brian Koziel, Josaphat Valdivia 40
Recommend
More recommend