embedded stroke evaluation system amanda sweeney, 4ece supervisor: dr. martin glavin

19
Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin

Upload: avis-lawson

Post on 12-Jan-2016

218 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin

Embedded Stroke Evaluation System

Amanda Sweeney, 4ECE

Supervisor: Dr. Martin Glavin

Page 2: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin

Presentation Overview

• Project Description• Stroke, Occupational Therapy & the

Embedded Stroke Evaluation System• Hardware• Hardware Implementation• Graphical User Interface• Final System• Conclusion

Page 3: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin

Project Description• Project Aim:

– Develop a system to aid occupational therapists in assessing the severity of stroke suffered by patients in their care

• Embedded Stroke Evaluation System:– LCD – 3 Force Sensing Resistors – Serial interface to a PC

• Functionality:– The sensors measure the patients resistance to motion – These changing values are visible on the LCD, and are also

sent to the PC for further analysis

Page 4: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin

Stroke• A stroke occurs when the blood supply to a part of the

brain is suddenly reduced or cut off, causing the affected area of brain tissue  to die

• When an individual suffers a stroke, the muscles in their arms can tighten significantly, resulting in reduced mobility

Page 5: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin

Occupational Therapy• Occupational Therapy is a profession concerned with

promoting health and well being through occupation

• The aim of receiving Occupational Therapy is to improve everyday function and also to prevent disability

• Splints– Support – Protect – Correct

Page 6: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin

Splint

Page 7: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin

Hardware

Page 8: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin

Hardware ImplementationConnecting LCD to MPU

Page 9: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin

Hardware ImplementationProgramming the Microcontroller - Analogue to

Digital Conversion

• The ADC uses two SFR’s to store the converted 12-bit digital value, ADCDATAL and ADCDATAH

• The most significant eight bits are displayed on the LCD– Least significant four bits of ADCDATAH– Most significant four bits of ADCDATAL

Page 10: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin

Hardware ImplementationProgramming the Microcontroller - Serial

Communication (UART)

• Form of I/O in which the bits of a byte being transferred appear one after the other in a timed sequence on a single wire

• UART modes are controlled through the SCON • The timers are controlled using TMOD and TCON

Ideal Baud

Crystal DIV T3CON T3FD % Error

9600 11.0592 5 85h 08h 0.0

Page 11: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin

Hardware ImplementationProgramming the LCD

• Initialising the LCD– Register Settings – Control Word Settings – Display Settings – Data Auto Read/Write Settings

• Automode

• Status Checking – Ensures that LCD is ready to communicate with the MPU

Page 12: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin

Hardware ImplementationSending Commands to LCD

• Commands are stored in a Look up Table

• Each instruction has two data bytes

• Commands that don’t need the data will it ignore it

Page 13: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin

Hardware ImplementationSending Data to LCD

• Data to be sent will be stored in a Look up Table

• MSGDATA sends the data pointed to by the DPTR to the LCD

Page 14: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin

Hardware Implementation

Sending Text to LCD

Page 15: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin

Graphical User Interface• Allows Occupational Therapist to interact with the

system

• Displays the incoming data from the microcontroller in real time

• Creates a bar graph for each sensor

• Analyses the received data and calculates the Minimum, Maximum and Average values recorded by each sensor

Page 16: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin

Graphical User Interface

Page 17: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin

Final System

Page 18: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin

Conclusion• The goals outlined for this project have been achieved

– Outputs of each sensor are converted to digital values and displayed on the LCD in real time

– Data transmitted via the serial port to the VB Application

– Graphical User Interface Developed • Performs analysis of the data being received• Displays relevant results clearly to the Occupational

Therapist• User Friendly

– Allowing Occupational Therapist to focus their attention on the patient, while retrieving important information with minimal effort

Page 19: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin

Questions