Muscle Imbalance Detection (MID)
This project was a part of KTH University HL2032 course to create a medical engineering project.
Analytics
&
Electronics
&
MCU
&
Mobile app
Table of Contents
About The Project
Patients recovering from knee surgery can have inferior long-term mobility if they do not perform specific rehabilitation exercises soon after surgery. Rehabilitation can fail if the patient does not begin it immediately after surgery, or if they do not have good compliance to the treatment plan. We present a device to assist patients and physicians with visualization of the rehabilitation process, to help them make better decisions about how to tailor a recovery plan. The device can display real time muscle activity feedback using reusable fabric electrodes with equivalent sensitivity to a much more expensive commercial sensor, and store and process the data to provide clinical information.
Design
The system architecture of data communication is shown in figure 1.
Electrical and Hardware
The system uses pairs of fabric electrodes integrated into a wearable device to detect muscle activity from the patient. A circuit was implemented to amplify and filter the signals before passing them to a microcontroller, and the EMG signal sensitivity can be adjusted using an integrated potentiometer. The bluetooth module HC-05 is used to communicate between the signal detection circuit and the mobile application. Data sampling rate is currently set to 1KHz.
Mobile applicaton
The mobile app was implemented using React Native open-source mobile application framework. It supports user authentication, Bluetooth connectivity for real-time data monitoring, recording of monitored data, and uploading to cloud computing for further processing. It also allows one to see the archive of previous measurements and their corresponding analysis.
Cloud computing
The project utilizes Google firebase product which powers up authentication and cloud data storage functionalities. Firebase was chosen due to its robustness and sensitive data safety. Backend analysis is implemented using python3.7 open source programming language which is mainly used for EMG signal analysis, filtration, and processing with the data collected from the cloud. The dataset we created from various sources used to recognize muscle recovery over time and muscle fatigue level.
Getting Started
To get started follow the corresponding sections and their READMEs:
Analytics
&
Electronics
&
MCU
&
Mobile app
Prerequisites
- Basic electronics and software development knowledge.
- Wearable electrodes for testing. See this resource for instructions how to make one.
Device demonstration
Click to view the video:
Or download the video here
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE
for more information.
Acknowledgements
Initial project authors: