Download presentation
Presentation is loading. Please wait.
Published byLillian Jennings Modified over 9 years ago
1
Beefcake Anthony Piro Todd Stringer
2
The MaxLife 1000 A health calculator designed to aid the personal trainer in creating an appropriate exercise routine.
3
Background The MaxLife 1000 calculates the following functions: 1.Multiple Rep Max 2.Body Fat Percentage 3.Target Heart Rate
4
Add Hardware Implementation
5
Software Implementation
6
Multiple Rep Max Formula: 1_Rep_Max = (#reps) 0.1 * weight Restrictions: Loses accuracy for repetitions over 10. (#reps) 0.1 difficult to implement. Implementation: Restrict the range of repetitions to 1 through 10 Look-up table for Coefficients 1.3610 1.329 1.278 1.237 1.206 1.165 1.134 1.103 1.072 1.001 (#reps) 0.1 Coefficient
7
Target Heart Rate Formulas: HR max = 220 - Age THR = X%(HR max – HR rest ) + HR rest Restrictions: A good range for X is 50% - 80% Loss of accuracy with use of look-up table Implementation: Calculate 50% and 80% target heart rates using formulas to create range.
8
Body Fat Percentage Male Formulas: Body_Density = 1.112 -.00043499*s + 0.000000055*s 2 – 0.00028826*Age Body_Fat_% = 495/Body_Density – 450 Female Formulas: Body_Density = 1.0970 -.00046971*s + 0.000000056*s 2 – 0.00012828*Age Body_Fat_% = 495/Body_Density – 450
9
Body Fat Percentage Restrictions: Different formulas for each sex. Difficult to implement formulas in current form. 5KB needed to implement look-up tables for both sexes. Implementation: Shorten body density formulas to the following: M_Bdy_D = 1.112 -.0004*s – 0.0003*Age F_Bdy_D = 1.097 -.0005*s – 0.0001*Age Use formulas to calculate body fat percentage.
10
On Ready Func? Initialization Sex? Obtain Input BFP = MaleBFP = Female Display Maximum Display Target Heart Rate Display Body Fat Percentage Calculations Operating System Structure Multiple Repetition MaximumTarget Heart Rate Body Fat Percentage Male Female
11
Ready Weight? XXXX 1. Male 2. Female Age? XX Chest? XX Superailiac? XX Subscapular? XX Triceps? XX Thigh? XX Abdomen? XX Axilla? XX Body Fat % XX.X Repetitions? XX Maximum: XXXX Age? XX Target Heart Rate: XXX-XXX Resting Heart Rate? XX Display Interface for a 16 X 2 Line LCD Body Fat Percentage Multiple Rep Maximum Target Heart Rate
12
Test Plan
13
Software Test Plan Display - Initialization - Cursor placement - Read and write characters Keypad - Detection of key strokes on display
14
Software Test Plan Program Structure Correct Input User Interface Calculations Verify calculations by checking: - Boundary conditions - Out of range variables - Random variables within range
15
Add Hardware Test Plan
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.