Skip to content

A device to assist patients with the rehabilitation of the knee joint after a knee surgery using EMG biofeedback. The device can reliably detect muscle activity and display it in an easy-to-use mobile application.

License

Notifications You must be signed in to change notification settings

leikoilja/muscle-imbalance-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License


Logo

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
  1. About The Project
  2. Getting Started
  3. Demonstration
  4. Contributing
  5. License
  6. Acknowledgements

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. Product Name Screen Shot

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: Watch 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.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgements

Initial project authors:

About

A device to assist patients with the rehabilitation of the knee joint after a knee surgery using EMG biofeedback. The device can reliably detect muscle activity and display it in an easy-to-use mobile application.

Resources

License

Code of conduct

Stars

Watchers

Forks