track user tracker t.u.t. chris orchard fevri tokouete michael tullbane group 2 senior design fall...
Post on 20-Dec-2015
217 views
TRANSCRIPT
![Page 1: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/1.jpg)
Track User Tracker T.U.T.
Chris OrchardFevri Tokouete
Michael Tullbane
Group 2 Senior Design Fall 2011
![Page 2: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/2.jpg)
The TUT
A complete system used to “prescribe” and record exercise regimens pertaining to an indoor athletic track.
Transmitter
Radiation Patterns
Track Section Track Section
WBT
Distance error
Distanceerror
Doctor
Internet
Patient (at physical therapy)
Patient (at home)
Communication with WBT via
VCP
Configuration of Transmitter
Nodes via VCP
![Page 3: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/3.jpg)
Project OverviewHardware:Record and display a user’s performance during a track session.Loaded with an individual’s prescribed exercise regimen or desired goal(s).Prompts user during session, I.E. slow down, speed up, rest.Displays and/or records speed, distance, elapsed time, and time/distance remaining.Interface to upload recorded sessions.
![Page 4: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/4.jpg)
Project Overview
USB Interface to Hardware
Auxiliary Interface to Hardware
Doctor
Internet
Patient (at physical therapy)
Patient (at home)
Communication with WBT via
VCP
Configuration of Transmitter
Nodes via VCP
Software:Allows health care professionals to prescribe and monitor exercise regimens via a website for their patients.Permits self-prescribed use of the system.Maintains a private exercise diary accessible by both prescribers and users.
![Page 5: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/5.jpg)
System Use Flow
User LoginHost computer
(At track facility)
Host Retrieves Prescription Data
from Website
Prescription downloads via USB to portable electronics
device(Wrist Band Tracker WBT)
WBT detaches from USB
Issued to user
WBT records session.
Prompts user to meet prescription
goals.
End of session.WBT reattached
to host.Session data
uploaded
User Exercise Diary in
database updated
![Page 6: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/6.jpg)
Hardware Components
Narrowly focused signal
Tx
Tx
Tx
Tx
Tx
TxTx
Tx
Transmitter
Direction of travel
User wearing WBT
WBT-Wrist Band Track Large wrist watch sized device. Determines speed and distance by
detecting transitions through E field thresholds of a transmitter node.
Records and displays session data. Displays new data only when new data
is acquired.
Transmitter Nodes Provides a narrow beam RF
signal used by the WBT to determine position and speed data.
Designed for ease of installation. Self powered, wireless, position placement flexible.
Overhead View of Indoor Track-Distance around 0.8 miles
![Page 7: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/7.jpg)
WBT Simplified Block Diagram
SPI/USB
MSP430F2274 µController
CC2500 Transceiver
2.4GHZ Quasi-
SimpliTI©Network
B USCSPI
Master Mode
GPIO Port 4SPI AddressingControl
OLED Graphics Display
96xRGBx64
A USCSPI-ModeUART-Mode
Timer A1 SecondInterrupt
32.768KHzWatch Crystal
FT232RQ
Mini-USBconnector
GPIO Port 1Switch Input
GPIO Port 2
4 UserInput
Switches
Interrupt
Control Signal
Serial Data
![Page 8: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/8.jpg)
WBT Design FeaturesTexas Instruments MSP430F2274 µcontroller 2 serial controllers used as SPI (One
reconfigured as UART for a USB interface. Timer A-Generated from external 32.768KHz
crystal.
32k bytes of Flash – bitmaps for the display. 1k bytes of SRAM.
T.I. CC2500 Radio IC ZigBee Protocol-2.4GHz.
Crystalfontz OLED Display Low power consumption 160 º view angle 96xRGBx64 dot resolution. GDDRAM-96x16x64 ⇒ 64k color spectrum
![Page 9: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/9.jpg)
WBT Prototype Schematic
![Page 10: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/10.jpg)
TRANSMITTER NODE
BASIC FUNCTIONS OF THE TRANSMITTER NODE
- Transmit reference signal to the WBT - Shut down the system at the end of the day- Be able to transmit signal within 160
meters range
![Page 11: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/11.jpg)
BLOCK DIAGRAM OF THE TRANSMITTER
![Page 12: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/12.jpg)
COMPONENTS OF THE TRANSMITTER
PATCH ANTENNABASIC FUNCTIONS: Transmit
signal to the WBT FEATURES- 2.4 GHz frequency- Low cost- High gain (10db)- very narrow bandwidth- small size (~4 cubic
inches)- superior performance
![Page 13: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/13.jpg)
PATCH ANTENNA
Power received (Pr) using the Friis transmission equation
Pr = Pt*Gt*Gr*[1/(4*П*(R/λ))]^2
Pt = 1.3mW
Gt = Patch antenna’s gain= 10dBi
Gr = 0.5dBi = receiver’s antenna gain
R = Range = 2 meters λ = 3*10^8/ 2.4*10^9 λ = 12.5 Cm = 0.125
meters = transmitter’s antenna wavelength
Pr = 36uW
![Page 14: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/14.jpg)
PATCH ANTENNA’S RADIATION PATERN
![Page 15: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/15.jpg)
RF TRANSCEIVER (CC2500)
BASIC FUNCTION: Transmits signal to WBT via the patch antenna
Reasons for choosing the CC2500
- Low supply voltage - 2.4 GHz frequency - Short range - Ultra low power
1.3mW - Low cost - Free sample available
with Texas Instruments
![Page 16: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/16.jpg)
RF TRANSCEIVER SCHEMATIC
![Page 17: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/17.jpg)
MICROCONTROLLER (MSP430F2274)
MAIN FUNCTION: program transmitter in saving power mode, transmit signal to the WBT, and monitors the supply voltage.
FEATURES: - LOW SUPPLY VOLTAGE 1.8
to 3.6 V - Ultra-Low power
consumption- Two-built-in 16- bit timer- 1 SPI- 40 I/O pins- 10 bits A/D converter with
data transfer controller
![Page 18: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/18.jpg)
TRANSMITTER NODE SCHEMATICS
![Page 19: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/19.jpg)
Software System Design
• Commercial off the shelf (COTS) packages available?• Medical records systems• Web hosting services• Commercial database systems
• Write our own software• Software lifecycle model• Operating System• Language / Languages• Development tools
![Page 20: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/20.jpg)
Software Lifecycle Model•Waterfall Model? - Inflexible to changing requirements ↓•Agile Methods? – Flexible, minimal documentation, too much consultation with customer, rush to final product ↓•Prototyping Model? – Produce prototypes at different stages to verify functionality and revise as necessary ↑
![Page 21: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/21.jpg)
TUThost Software Design
• GUI capability, previous experience with the language, ability to interface with the other TUT software subsystems
• “C” – Have the most programming experience in “C”– “C” is very fast and efficient, but it is not a good language for designing
a GUI ↓• “C++”
– Versatile language with object oriented programming capabilities– Good set of graphical development libraries available– Do not have experience in graphical programming with “C++” ↓
• “Java”– Have quite a bit of experience in Java– Very well suited for graphical development– Many tools available for GUI programming in Java which would reduce
the development time for producing a functional prototype. ↑
![Page 22: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/22.jpg)
TUT Login Screen
![Page 23: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/23.jpg)
Patient Main GUI
![Page 24: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/24.jpg)
Patient Email Exercise Log
![Page 25: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/25.jpg)
Casual User Main GUI
![Page 26: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/26.jpg)
Casual Email Exercise Log
![Page 27: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/27.jpg)
Admin Main GUI
![Page 28: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/28.jpg)
Add New Casual User
![Page 29: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/29.jpg)
TUT Database Design
• Firebird– Free, Stable, Supports SQL, Scalable– Support for languages such as C/C++, PHP, and Python, but the current
release does not support access from Java. ↓• PostGreSQL
– Free and open-source, Supports SQL, Scalable with extra features such as support for creating your own custom data types.
– It has been around longer than Firebird, but also does not natively support access from Java. ↓
• MySQL– Commercial and Free versions– Many free development tools available from MySQL– Free graphical database management suite called MySQL Workbench
that is available from the MySQL website and was written by MySQL AB.– Native support for access from Java– Support for multi-user access, web-server access with PHP and Python– Known as one of the most popular open-source databases ↑
![Page 30: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/30.jpg)
TUT Database
![Page 31: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/31.jpg)
Web Server Design Considerations• Apache
– Most used free web server software– Free with an extensive set of software packages– No previous programming experience– Many extra features that we do not need for our system ↓
• Django + Python– Python is an interpreted language and it supports object oriented programming– One of the goals of the Python language is rapid development and deployment which makes
it very suitable for our prototype development– Django works with Python to quickly design and implement a complex web server using
native Python code– Web server development with Django focuses on a database driven design which is perfect
for our prototype since database access will be the primary function of our TUT web site ↓• Information Interchange Service (IIS)
– The next most used free web server software– Included with newer windows server packages as well as XP Pro service pack 2, Vista, and
Windows 7– IIS has many advantages over Apache in that it is easily integrated with other Microsoft
products– Highly scalable and would be a very good option for a future commercial release of the TUT
system– Quicker and easier to use than Django / Python -> We will use IIS ↑
![Page 32: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/32.jpg)
Physician Main GUI
![Page 33: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/33.jpg)
Add New Patient
![Page 34: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/34.jpg)
Write Prescription
![Page 35: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/35.jpg)
Budget
Cost Summary
Item Description Costs
Development Costs $177.95
WBT Prototype $120.00
2 Transmitter Nodes $220.00
Administrative-Shipping-Coffee $75.00
Total $592.95
• Initial budget estimate was $200 per team member• Each team member itemized their costs• So far we are still below budget
![Page 36: Track User Tracker T.U.T. Chris Orchard Fevri Tokouete Michael Tullbane Group 2 Senior Design Fall 2011](https://reader031.vdocuments.site/reader031/viewer/2022032201/56649d425503460f94a1cc5e/html5/thumbnails/36.jpg)
Questions?