Workout Buddy A muscle fiber stimulation sensor and data logger Senior Design Group 8 Summer 2009 Matt McNealy (EE) Scott Martin (EE) Andrew Lee (CpE)

Slides:



Advertisements
Similar presentations
Digital Thermostat and Data Logger Brandon Wagner and David Southwick.
Advertisements

Proximity Sensor Theremin Khoa Nguyen Walter Hudson Dennis Gilbert G. Hewage Thushara.
Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
DATA COLLECTION USING ZIGBEE NETWORK Timothy Melton Moscow, ID.
LOGSYS Development Environment of Embedded Systems Tamás Raikovich Béla Fehér Péter Laczkó Budapest University of Technology and Economics Department of.
HELMET TRACKING SYSTEM (HTS) Group 8 Andrés F. Suárez (EE) Brian Maldonado (EE) Rígel Jiménez (EE)
Seismic Octave Programming for Analog/Digital Converters Michael W. Siekman Electrical and Computer Engineering Senior Capstone Design Project 2007 Advisor:
Data Acquisition Concepts Data Translation, Inc. Basics of Data Acquisition.
Oscilloscope Watch Teardown. Agenda History and General overview Hardware design: – Block diagram and general overview – Choice of the microcontroller.
Team 03 Department of Electrical and Computer Engineering 20 November 2014 Digital Fitness Trainer MDR.
Group 8 Matt McNealy (EE) Scott Martin (EE) Andrew Lee (CpE) Josh Hamby (EE)
1 Electrical and Computer Engineering Cam Proctor Ramsey Khudairi Tom Gilbert Chad Young Project Orion TekBand.
Initial Position Orientation Tracking System (IPOTS) Group Members: Keiichi McGuireHenry Pham Marc TakamoriScott Spiro.
IO Controller Module Arbitrates IO from the CCP Physically separable from CCP –Can be used as independent data logger or used in future projects. Implemented.
Ahmed Abdel-Fattah Jerry Chang (a.k.a. Fred) Derrick Culver Matt Zenthoefer.
Design and Development of High Performance PC Based Logic Analyzer MSc Project by Rab Nawaz Advisor: Dr. Shahid Masud.
PV Watchdog Web-Enabled Photovoltaic System Monitor Art Barnes Austin Fisher Ryan Mann Josh Stone.
Aztec PC Scope Preliminary Design Review Fall 2006 Michael MasonJed Brown Andrew YoungsJosh Price.
Wireless Data Acquisition for SAE Car Project by: J.P. Haberkorn & Jon Trainor Advised by: Mr. Steven Gutschlag.
Electrical and Computer Engineering Personal Heads-Up Display Ivan Bercovich Radu-Andrei Ivan Jeff Little Felipe Vilas-Boas Faculty: Dr. Tilman Wolf Preliminary.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Critical Design Review February 23 rd, 2010 Hassan Alabudib Kamal Sabi Peng Chen Marisol Lozano Roman Yirui Huang.
2 Lines Electronics I 2 C Analyzer Ching-Yen Beh Robert S. Stookey Advisor: Dr. J. W. Bruce.
A Mobile Wireless Electrocardiogram System for Health Care Facilities John Farner Jason Fritts Julian Jaeger Joe Richard Georgia Institute of Technology.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: CL06B Sensors Fundamentals Dragos Bogdan, MCU Application.
Android Electro Cardio Monitor
Background   Who does this project addresses to?   Handicapped.   Amputated limbs.   Paralyzed.   Motivation Statistics.
Electrical & Computer Engineering Presentation by: Andrew Frieden Matthew Weydt Nick Setzer Tyler Dunn PDR 2012 – Team Gong Self Sustaining Sensor System.
Wireless Sensor Monitoring Group Members: Daniel Eke (COMPE) Brian Reilly (ECE) Steven Shih (ECE) Sponsored by:
Kaitlin Peranski Spencer Wasilewski Kyle Jensen Kyle Lasher Jeremy Berke Chris Caporale.
Dan Chambers, Josh Marchi, Jeff King, Paul Rosenberger.
ANTS Anesthesiology Neuromuscular Monitoring System #25.
Shiv Yukeun Donghan Robert.  Project overview  Project-specific success criteria  Block diagram  Component selection rationale  Packaging design.
Traumatic Brain Injury Eyewear “TB-Eye” Todd Biesiadecki, Matthew Campbell, Matthew Vildzius ECE4007 L03 EM1 Advisor: Erick Maxwell December 14, 2011.
Brett Dunscomb David Howden Kevin Bedrossian Chris Clary.
For Electric Vehicle Team Members Pramit Tamrakar - EE Jimmy Skadal - EE Hao Wang - EE Matthew Schulte - EE William Zimmerman - EE Advisor Ayman Fayed.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Team Scribacious Rabble Design Constraint Analysis Paul Rosswurm Mitch Erdbruegger Ben Kobin William Hess.
Aerospace Digital Communication Instrument Senior Design 1 Presentation.
Traumatic Brain Injury Eyewear “TB-Eye” Todd Biesiadecki, Matthew Campbell, Matthew Vildzius ECE4007 L03 EM1 Advisor: Erick Maxwell October 31, 2011.
ECE 477 DESIGN REVIEW TEAM 3  SPRING 2015 Garrett Bernichon Bryan Marquet John Skubic Tim Trippel.
Aerospace Digital Communication Instrument Senior Design Presentation.
ECE 477 Design Review Team 5  Spring 2010 Fred Grandlienard Andrew Gregor Kevin Mohr Ryan DeFord.
High-Intensity Focused Ultrasound Therapy Array May1005 Alex Apel Stephen Rashid Justin Robinson.
 ACCELEROMETER  TRANSMITTER- BLOCK DIAGRAM  RECEIVER- BLOCK DIAGRAM  COMPONENTS DESCRIPTION- ENCODER TRANSMITTER RECEIVER OPTICAL SENSOR.
Wireless Power Transfer Via Inductive Coupling SENIOR DESIGN GROUP 1615 RYAN ANDREWS, MICHAEL DONOHUE, WEICHEN ZHANG.
SmartCup – Team 42 Harington Lee, Chirag Patil, Arjun Sharma 1.
Portable BCI Stimulator Final Presentation Group: 17 Bonnie Chen, Siyuan Wu, Randy Lefkowitz TA: Ryan May ECE 445 Monday, April 29 th, 2013.
Electric Air Ukulele Ivan Setiawan (setiawa2) Satyo Iswara (iswara2) ECE 445 Senior Design Spring 2012 Team #32 TA: Jane Tu.
On-Site HotBox Calibration System Team 2 Pourya Assem & Paul Lupas Prof. A.C.Singer ECE 445 – Fall 2012.
Theory of Operation and Hardware Design. PIC18F45K20 Microcontroller use at least 9 channels of ATD conversion with 2 more used for reference voltage.
SUBMITTED BY EDGEFX TEAM PORTABLE CODED WIRELESS MESSAGE COMMUNICATION BETWEEN TWO PARTIES SECRETLY WITH LCD DISPLAY.
Multipoint tracker via GPS and wireless communication Jeremy Siedschlag and Jonathan Stackhouse.
Deep Touch Pressure Abdomen Belt Group 32 Kevin Rathbun & Luke Fleming & Chang-O Pyo ECE 445 Senior Design April 28, 2015.
1 Lab 4: D/A Converter Lab 4: D/A Converter This is a simple resistive network for a D/A converter Port 1, Port 0 are digital inputs ==> 00 (minimum),
Ashan Perera Senior Design Project - Electronic System for Remote Water Quality Monitoring.
Emotional Intelligence Vivian Tseng, Matt Palmer, Jonathan Fouk Group #41.
Application Case Study Christmas Lights Controller
Instrumented Walker Skyler Bullington Tommy Frankenberger Larson Stacy
Scrolling LCD using Arduino.
Application Case Study Security Camera Controller
Textbook Detection System With Radio-Frequency Identification
ARDUINO LINE FOLLOWER ROBOT
‘SONAR’ using Arduino & ultrasonic distance sensor
RAILWAY TRACK SNAP NOTIFICATION
Personal Heads-Up Display
Digital Acquisition of Analog Signals – A Practical Guide
Neurochip3.
Manual Robotics ..
BRAIN Helmet Group 4 Ryan Mortera EE Nada Algharabawi CpE
Presentation transcript:

Workout Buddy A muscle fiber stimulation sensor and data logger Senior Design Group 8 Summer 2009 Matt McNealy (EE) Scott Martin (EE) Andrew Lee (CpE) Josh Hamby (EE)

Goals & Objectives To design and implement a device that will allow weight lifters to monitor and track their progress electronically. To design and implement a device that will allow weight lifters to monitor and track their progress electronically. To build a sensor system that: To build a sensor system that: Measures the electric potential generated by certain muscle groups. Measures the electric potential generated by certain muscle groups. Detects the angle of body part being exercised. Detects the angle of body part being exercised. To learn about wireless technology, medical devices and programming microcontrollers. To learn about wireless technology, medical devices and programming microcontrollers. To find points of over exertion in any particular exercise and improve on underworked muscle groups. To find points of over exertion in any particular exercise and improve on underworked muscle groups.

Specifications and Requirements Sensor circuit: Sensor circuit: Operating time: 3 hours. Operating time: 3 hours. Operating voltage: V Operating voltage: V Powered by polymer lithium ion battery Powered by polymer lithium ion battery Dimensions: 2.1” x 2.3” Dimensions: 2.1” x 2.3” Measure S-EMG ranging from mV. Measure S-EMG ranging from mV. Capability of measuring a full 360 degree range of motion in three dimensions. Capability of measuring a full 360 degree range of motion in three dimensions. Communicate with the control module up to 3 meters. Communicate with the control module up to 3 meters. Must secure to the body via velcro strap. Must secure to the body via velcro strap. Control module: Control module: Operating time: 3 hours. Operating time: 3 hours. Operating voltage: 3.3V Operating voltage: 3.3V Powered by a 9V lithium battery. Powered by a 9V lithium battery. Dimensions: 3” x 2.6” Dimensions: 3” x 2.6” Wirelessly receive data from the sensor circuit. Wirelessly receive data from the sensor circuit. Automatically count repetitions and sets. Automatically count repetitions and sets. Display data on the LCD screen. Display data on the LCD screen. Write data to a micro-SD card. Write data to a micro-SD card.

Block Diagram Sensor Unit

Block Diagram Control Module

EMG & EKG Requirements Amplifier: Gain of Gain of High CMRR >95 db for frequencies 10 – 500 Hz High CMRR >95 db for frequencies 10 – 500 Hz Input impedance = 10 x electrode impedance Input impedance = 10 x electrode impedance Skin Preparation: Cleaned and freed of dry skin cells Cleaned and freed of dry skin cells Centered on the belly of the muscle Centered on the belly of the muscle 2 Electrodes 2 cm center to center 2 Electrodes 2 cm center to center

Sensor Circuitry EMG & EKG Detection: INA122P-ND Instrumentation Amplifier INA122P-ND Instrumentation Amplifier Angle Detection: MMA7260Q Triple Axis Accelerometer MMA7260Q Triple Axis Accelerometer

Instrumentation Amplifier INA122P-ND INA122P-ND Voltage supply: VDC Voltage supply: VDC Supply current: μA Supply current: μA CMRR: db CMRR: db Gain: Gain: Input impedance: 10^10 ohm Input impedance: 10^10 ohm Digikey: $5.56 Digikey: $5.56 AD626AN-ND Voltage supply: VDC Supply current: μA CMRR: db Gain: Input impedance: 200 k ohm Digikey: $7.46

Signal Acquisition & Processing Processing of the signal enables the user to maximize their workout experience. Processing of the signal enables the user to maximize their workout experience.

Triple Axis Accelerometer MMA7260Q : MMA7260Q : Power supply: Power supply: VDC VDC μA μA Selectable sensitivity: Selectable sensitivity: 1.5g = 800 mV/g 1.5g = 800 mV/g 2g = 600 mV/g 2g = 600 mV/g 4g = 300 mV/g 4g = 300 mV/g 6g = 200 mV/g 6g = 200 mV/g Sleep mode option Sleep mode option Sparkfun: $19.95 Sparkfun: $19.95

MMA7260Q Orientation

Testing The MMA7260Q X-axis = vertical Z-axis = horizontal X-axis = horizontal Z-axis = vertical

Atmel Atmega bit MCU running at 16 MHZ with XTAL 8 bit MCU running at 16 MHZ with XTAL Serial Communication via UART, I2C, SPI Serial Communication via UART, I2C, SPI 6 channel 10 bit Analog to Digital Converter 6 channel 10 bit Analog to Digital Converter 3 Timers, 6 PWM channels 3 Timers, 6 PWM channels Free C Compiler and Development Tools Free C Compiler and Development Tools

Analog to Digital Conversion Using highest possible Sampling Frequency 125kHz Using highest possible Sampling Frequency 125kHz Approximate resolution is 4.9 mV Approximate resolution is 4.9 mV The free running mode allows the control unit to continuously update the voltage received off the sensor and provide the user with a measurable output of intensity. The free running mode allows the control unit to continuously update the voltage received off the sensor and provide the user with a measurable output of intensity.

Development Environments AVR Studio is an Integrated Development Environment for writing, compiling, simulating, and debugging AVR Studio is an Integrated Development Environment for writing, compiling, simulating, and debugging AVRDUDE is an open source utility to download/upload/manipulate the ROM and EEPROM AVRDUDE is an open source utility to download/upload/manipulate the ROM and EEPROM

AVRlibc and AVRlib AVRlibc is the Standard C Library for AVR microcontrollers and provides basic functions like printf, stdio calls, math functions, plus some AVR-specific functions AVRlibc is the Standard C Library for AVR microcontrollers and provides basic functions like printf, stdio calls, math functions, plus some AVR-specific functions AVRLib provides functions for conventional tasks such as writing to LCD’s and SD cardsand reading from buttons and encoders AVRLib provides functions for conventional tasks such as writing to LCD’s and SD cardsand reading from buttons and encoders

Getting User Input – Rotary Encoder 3 Terminal Device to get sequential input 3 Terminal Device to get sequential input 2 bit grey code provides 4 states for MCU to read 2 bit grey code provides 4 states for MCU to read MCU must keep track of previous state. MCU must keep track of previous state. Debouncing via software delays or hardware LPF’s Debouncing via software delays or hardware LPF’s Triggering via Interrupts or Polling Triggering via Interrupts or Polling

Color LCD 128x128 Nokia Clone LCD Logic - 2-3mA LCD Logic - 2-3mA LED Backlight mA (very bright) LED Backlight mA (very bright) Full 4,096 Color Display Full 4,096 Color Display Uses the Epson S1D15G10 or Philips PCF8833 Controller Uses the Epson S1D15G10 or Philips PCF8833 Controller Active Display Dimensions: 1.2"x1.2” Active Display Dimensions: 1.2"x1.2” Two-wire serial SPI interface (clock and data) Two-wire serial SPI interface (clock and data)

Setting the Processor Speed The clock must be at a specific frequency in order to set the correct sampling rate to sample data from the EMG sensor. The clock value was chosen to ensure the highest sampling resolution possible that the Atmega 168 can support. The clock must be at a specific frequency in order to set the correct sampling rate to sample data from the EMG sensor. The clock value was chosen to ensure the highest sampling resolution possible that the Atmega 168 can support.

User Interface

Wireless Interface - TXM-900 Specifications Specifications Operating voltage: 2.8–13 VDC Operating voltage: 2.8–13 VDC Supply current: mA Supply current: mA Transmit frequency range: Transmit frequency range: MHZ MHZ Data rate: ,000 bps Data rate: ,000 bps Operating temperature range: Operating temperature range: -30 to 85C -30 to 85C SIP Style Price: $29.45 from Digikey SIP Style Price: $29.45 from Digikey Part #: TXM-900-HP3-PPO-ND Part #: TXM-900-HP3-PPO-ND SMD Style Price: $29.45 from Digikey SMD Style Price: $29.45 from Digikey Part #: TXM-900-HP3SPO-ND Part #: TXM-900-HP3SPO-ND

Wireless Interface - RXM-900-HP3-xxx Specifications Specifications Operating voltage: 2.8–13 VDC Operating voltage: 2.8–13 VDC Supply current: mA Supply current: mA Receive frequency range: Receive frequency range: MHZ MHZ Data rate: ,000 bps Data rate: ,000 bps Operating temperature range: Operating temperature range: -30 to 85C -30 to 85C SIP Style Price: $43.40 from Digikey SIP Style Price: $43.40 from Digikey Part #: RXM-900-HP3-PPO_-ND Part #: RXM-900-HP3-PPO_-ND SMD Style Price: $39.22 from Digikey SMD Style Price: $39.22 from Digikey Part #: RXM-900-HP3-SPO-ND Part #: RXM-900-HP3-SPO-ND

Antenna JJB Series JJB Series The Electrical Specifications: The Electrical Specifications: Center Freq. 916MHz Center Freq. 916MHz Bandwidth 30MHz Bandwidth 30MHz Wavelength 1/4-wave Wavelength 1/4-wave Impedance 50 ohms Impedance 50 ohms Connection Direct solder Connection Direct solder Model: ANT-916-JJB-xx Price: $1.96 from Digikey

Antenna SP Series “The Splatch” SP Series “The Splatch” The Electrical Specifications: The Electrical Specifications: Center Freq. 916MHz Center Freq. 916MHz Bandwidth 30MHz Bandwidth 30MHz Wavelength 1/4-wave Wavelength 1/4-wave Impedance 50 ohms Impedance 50 ohms Connection Surface-mount Connection Surface-mount Model: ANT-916-SP Price: $2.08 from Digikey

SD CARD MODULE For our data logging we based our design off of CC Dharmani’s “SD Card Interfacing with ATmega 8/32 (FAT32 implementation)” project. The circuit design and open source files were carefully adapted to work with our Atmega328p. We used his method of creating FAT32 files. More info at: sd-card-interfacing-with-atmega8- fat32.html

SD MODULE cont.. This schematic shows the integration of the SD card module into our design. The SD card module requires v in order to write data to the micro SD card.

Layout of Parts Sensor Unit Data from the accelerometer and sensor units are fed into the ATmega328p MCU. Data from the accelerometer and sensor units are fed into the ATmega328p MCU. This data is streamed to the control unit via transmitter at 9600bps. This data is streamed to the control unit via transmitter at 9600bps. DATA

Layout of Parts Control Unit Data will be received by the receiver and fed into the ATmega328p MCU. Data will be received by the receiver and fed into the ATmega328p MCU. Data is then saved to the SD card in the FAT32 file system architecture. It will become a CSV file. (Comma-separated values) Data is then saved to the SD card in the FAT32 file system architecture. It will become a CSV file. (Comma-separated values) The SD card can now be removed from the device and read on a computer. The SD card can now be removed from the device and read on a computer. DATA

CSV file The CSV file saved on the SD card can be opened and read. The CSV file saved on the SD card can be opened and read. The SD card will contain from each workout: The SD card will contain from each workout: X-axis X-axis # of repetitions # of repetitions Z-axis Z-axis EMG signal EMG signal Format: 126,0,200,5, 125,0,201,5, Format: 126,0,200,5, 125,0,201,5, Used to keep track of the effectiveness of the user’s workouts. Used to keep track of the effectiveness of the user’s workouts.

CSV file (Excel) Opening the CSV file in ExcelGraphing the data in Excel It is up to the user how he/she would like to use the data. For example, the CSV file can be easily opened using Excel and a graph can be made using the values stored. The columns are the X-Axis, Repetitions, Z-Axis and EKG signals respectively.

Power System Sensor Circuit Requirements Requirements Generate sufficient electricity to keep the unit running for 3 hours. Generate sufficient electricity to keep the unit running for 3 hours. Environmentally friendly Environmentally friendly Length of charge Length of charge Motivating factors: Availability, capacity Motivating factors: Availability, capacity

Power System Sensor Circuit Operating Voltages Operating Voltages (1) MMA7260Q – 3.6V (1) MMA7260Q – 3.6V (1) Atmel ATmega328 – 3.6V (1) Atmel ATmega328 – 3.6V (1) TXM-900-HP3 – 3.6V (1) TXM-900-HP3 – 3.6V (2) INA122 Instrumentation amplifier – 3.6V (2) INA122 Instrumentation amplifier – 3.6V Total Power Consumed: 360mW Total Power Consumed: 360mW CR2032 3V lithium button cell battery was used initially, but the accelerometer did not function properly due to a dropout voltage across the battery of 500mV.Minimum voltage for the accelerometer is 2.7V CR2032 3V lithium button cell battery was used initially, but the accelerometer did not function properly due to a dropout voltage across the battery of 500mV.Minimum voltage for the accelerometer is 2.7V Capacity: 225mAh. Radius=20mm,height=3mm Capacity: 225mAh. Radius=20mm,height=3mm

Power System Sensor Circuit Powered by a rechargeable 3.7V polymer lithium-ion battery. Powered by a rechargeable 3.7V polymer lithium-ion battery. Has a capacity of 650mAh. Has a capacity of 650mAh.

Sensor system

Power Supply Display module Display module Demands 340mA Demands 340mA Total power consumption of W Total power consumption of W Powered by the Ultra life 9V battery Powered by the Ultra life 9V battery Chemistry: Lithium Chemistry: Lithium Capacity: 1.2 A*h Capacity: 1.2 A*h Can run the module for 4 hours before replacement is needed. Can run the module for 4 hours before replacement is needed.

Display Module

Project Timeline

Budgeting Fully funded by the V.A. Fully funded by the V.A.

Questions? Questions?