Pages

Thursday, May 9, 2013

Week 1: Design Proposal

The "Running" Heart-Beat

Abstract


     When people exercise, it’s usually to tone their figure and staying fit. Sometimes, the most important muscle to be working out should be the heart. This project is about building a Bio-Sensing device that aids humans through exercise by adjusting speed of treadmill to achieve optimal heart rate.

     The person exercising chooses a level of heart rate he/she desires. An amateur person just starting to work out will have a dramatic change in heart rate in a short period of time. A professional athlete is able to run/walk for a long period of time without a major change to his/her heart rate. Using a chest heart-rate-monitor or bracelet watch to measure the heart rate, this data is then going to go into a computer/display. Based on the exercise level chosen, the program will automatically adjust the speed and duration of machine to customize to the heart rate desired.

     Each member will be in charge of a specific area of the project, but the project can only be done through the cooperation of the whole team. The main lead roles are builder, machine shop worker, programmer, project design and test, and project blogger.

     The biggest obstacle is programming the motor to adjust to the heart rate. Also, it will be difficult to demonstrate our concept on a hamster wheel when our purpose is for treadmill human exercising.

Introduction

     The motivation for this project is to invent something that will assist humans. While most projects are around handicap machine aids, our group decided to assist the everyday people in the form of healthy exercise for the heart. Our main goal is to be able to make a program that will correspond with the human’s heart rate and based on the exercising level, speed up/down the treadmill to give the heart the maximum workout. The most challenging aspect is being able to show our presentation on a moderate scale and the coding that will adjust the speed of treadmill.

Deliverable 

     For the completion of the project, we will have to create the blueprints for a design that will wirelessly connect a heart rate monitor to a treadmill in order to maintain the speed needed to keep the optimum heart rate while exercising. We will create a prototype using a hamster wheel that will raise and drop the speed of the wheel depending on the heart rate. We will obtain a heart rate using the monitor while one of us runs on a treadmill. It then will be sent to a raspberry pi (single-broad computer). The raspberry pi will use an algorithm that we have written that will determine whether the wheel should speed up or slowdown in order to maintain the optimum heart rate.

Technical Activities

The technical challenges of the project are getting the heart rate data from a heart rate monitoring device to a computer called Raspberry Pi, creating a code that can interpret the data (figure out whether the heart is beating fast or slow), and getting the computer to adjust the speed of the treadmill based on the data from the heart rate monitoring device.

Transferring Data from Heart Rate Monitoring Device to Raspberry Pi 

The transfer of heart rate data from the heart rate monitoring device to Raspberry Pi will most probably be via a USB cable connected at the USB port of the device to the USB port of Raspberry Pi. The heart rate device has to have an inbuilt capability of reading the person’s heart rate and converting it into a number that will then be transferred to the computer.

Interpreting the Heart Rate Data

Once the data from the heart rate monitoring device is transferred to the computer, it has to be interpreted to figure out whether the person’s heart rate is normal, too fast, or at the optimum range. A code will be written using MATLAB R2012a that reads the incoming heart rate data in real-time and checks to see whether it is in the person’s predefined optimum heart rate range. If the heart rate is too slow, the code will be designed to increase the speed of the simulated treadmill and if the heart rate is too fast, the code should be able to decrease the treadmill’s speed.
3.3 Computer Adjusts the Speed of the Treadmill

Raspberry Pi has to be able to actually adjust the speed of the treadmill based on the incoming heart rate data. A second USB cable will be connected from Raspberry Pi to a USB port in the motor which is physically attached to the simulated treadmill. Once the heart rate data is interpreted by the code, if the heart rate is slower than the predefined optimum heart range, the code will send a message to the Raspberry Pi USB port which is connected to the motor to increase its output voltage by a certain amount that is to be determined experimentally, which will increase the speed at which the simulated treadmill runs. If the heart rate monitor is faster than the predefined optimum heart range, Raspberry Pi’s output voltage will be lower which means the motor will run at a slower speed thereby decreasing the speed of the simulated treadmill.

Project Timeline



Week
Task
1
2
3
4
5
6
7
8
9
10
Studying of circuits, coding, Motor-Bee, and heart rate simulator
x
x
x
x
x





Mechanical design

x
x
x
x
x




Electrical design


x
x
x
x
x



Coding


x
x
x
x
x
x


Testing




x
x
x
x
x

Final report preparation






x
x
x
x
Table 1: Design Project Timeline for “The Running Heart”

Facilities and Resources

We will need to use machine shop tools including a band saw, drills, and soldering irons. Along with this we will purchase a raspberry pi, SPI_3FETs Aristo-Craft Cermag motor, heart rate monitor, and a hamster wheel that will be needed for our prototype.

Expertise 
  • Familiarity with a specific software package 
  • Computer programming experience 
  • Knowledge of basic circuit theory 
  • Use of machine tools 
  • Knowledge in raspberry pi use 
  • Controlling electric motors by USB 
  • Knowledge of basic circuit theory 
  • Use of machine tools (band saw, drills, soldering irons, etc.) 
  • Basic programming knowledge 
Budget


Category
Projected Cost
Bio-sensor
$35
Processor
$51
Simulated Treadmill
$16.50
Pace Maker
$30.00
Plastic Materials
$10.50
TOTAL
$142.00
Table 2: Budget

Bio-sensor

We will use a heart rate monitor, attached to a chest strap that reads the heart rate when the person is running. The heart rates collected from this will then be transferred wirelessly to the processor so there can be adjustments to the treadmill’s speed.

Processor

We will use a Raspberry pi, which is a single-band computer that will hold our algorithm that will determine how fast or slow the wheel will have to spin. The Raspberry pi serves as computer to determine the code that will determine the speed necessary to obtain the optimal heart rate. Also we will use a SPI_3FETs expansion board that will allow a higher voltage to run through the raspberry pi. The SPI_3FETs is needed so the Raspberry pi is not overloaded with volts.

Simulated Treadmill

We will simulate the speeding up and down of the treadmill by using a hamster wheel and an Aristo-Craft Cermag motor. The motor will be attached to the wheel in order to speed up or slow down the wheel to show help the runner maintain the optimal hear rate. Also the motor will be attached to the processor using a USB cord that controls the motor.



No comments:

Post a Comment