Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin.
-
Upload
avis-lawson -
Category
Documents
-
view
218 -
download
1
Transcript of Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin.
![Page 1: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e905503460f94b94d07/html5/thumbnails/1.jpg)
Embedded Stroke Evaluation System
Amanda Sweeney, 4ECE
Supervisor: Dr. Martin Glavin
![Page 2: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e905503460f94b94d07/html5/thumbnails/2.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e905503460f94b94d07/html5/thumbnails/3.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e905503460f94b94d07/html5/thumbnails/4.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e905503460f94b94d07/html5/thumbnails/5.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e905503460f94b94d07/html5/thumbnails/6.jpg)
Splint
![Page 7: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e905503460f94b94d07/html5/thumbnails/7.jpg)
Hardware
![Page 8: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e905503460f94b94d07/html5/thumbnails/8.jpg)
Hardware ImplementationConnecting LCD to MPU
![Page 9: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e905503460f94b94d07/html5/thumbnails/9.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e905503460f94b94d07/html5/thumbnails/10.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e905503460f94b94d07/html5/thumbnails/11.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e905503460f94b94d07/html5/thumbnails/12.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e905503460f94b94d07/html5/thumbnails/13.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e905503460f94b94d07/html5/thumbnails/14.jpg)
Hardware Implementation
Sending Text to LCD
![Page 15: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e905503460f94b94d07/html5/thumbnails/15.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e905503460f94b94d07/html5/thumbnails/16.jpg)
Graphical User Interface
![Page 17: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e905503460f94b94d07/html5/thumbnails/17.jpg)
Final System
![Page 18: Embedded Stroke Evaluation System Amanda Sweeney, 4ECE Supervisor: Dr. Martin Glavin.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e905503460f94b94d07/html5/thumbnails/18.jpg)
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.](https://reader036.fdocuments.in/reader036/viewer/2022062423/56649e905503460f94b94d07/html5/thumbnails/19.jpg)
Questions