Professional Documents
Culture Documents
3rd Year Project Presentation
3rd Year Project Presentation
Visual Biofeedback
Enhancing Muscle Control and Real-Time Assessment
1
Content
1. Introduction 2. Methodology 3. Results
o EMG Overview o Overall Project Flow o Preprocessing Results
o Visual o Project Aspects o Window Size
Biofeedback o Overall Design Flow o Extracted Features
o Purpose of EMG o The circuit diagram o PCA
Characterization o The biofeedback
system 4. Discussion
o EMG Data
2. Project Road Map 5. Limitations and Challenges
Acquisition
o Data Recording
6. Future Work
o Feature Extraction
o PCA
2
Introduction : EMG Overview
3
Introduction : Visual Biofeedback
01 02 03
Visual biofeedback is a It allows the clinician and This is a crucial concept
technique that displays patient to monitor and used in rehabilitation and
and provide a real-time facilitate muscle control prosthetic for patient to
visual representation of a through observation have more control of their
patient’s physiological muscles/prosthesis
response, in this case
EMG
4
Introduction : Purpose of EMG Characterization
5
Methodology: Overall Project Flow
6
Methodology: Project Aspects
The project consists of 2 aspects : (a) the technical aspect and (b) the
programming aspect
7
Methodology: Overall Design Flow
8
• 1st Order High Pass Filter (fc = 16Hz)
Methodology :
• Non-Inverting Op-Amp (Gain = 16)
EMG Circuit • 2nd Order Low Pass Filter (fc = 482Hz, Gain = 1)
Diagram • Non-Inverting Op-Amp (Gain = 11)
9
Methodology :
The
Biofeedback
System
The text filed was imported into Excel and plotted to check for
errors
11
Methodology : EMG Data Acquisition
Hand Gestures
These hand gestures involve the use of the extensor carpi ulnaris.
5. ROCK SIGN
1. FIST 2. 4-FINGER 3. KEY GRIP (KGR) 4. REST
(ROCK)
EXTENSION (4FEX)
12
Methodology :
Data Recording
13
Methodology : Python Processing
Jupyter Notebook was used as the Python IDE for future use
The raw EMG data was imported was preprocessed using built-in Python
libraries
15
The EMG Features
Features Equation Description
Integrated EMG(IEMG) The area under the rectified signal
Root Mean Square (RMS) The arithmetic mean of the squared values
Zero-Crossing Rate The rate at which the signal crosses the zero amplitude
16
Methodology : PCA (Principal Component
Analysis)
THE EXTRACTED FEATURES PER BATCH FOR PCA USES A DIMENSIONALITY REDUCTION PCA WAS DONE ON THESE EXTRACTED
EACH GESTURES WAS STORED AND PCA WAS TECHNIQUE TO SIMPLIFY COMPLEX FEATURES TO VISUALIZE AND ANALYSE THE
PERFORMED ON EACH OF THEM DATASETS BY TRANSFORMING THE DATASETS VARIABILITY AMONG THE DIFFERENT HAND
INTO A LOWER-DIMENSIONAL SPACE GESTURES
17
Results: Raw EMG Output
FOREAEM EMG
1200
1000
800
EMG Amplitude
600
400
200
0
28.8477 29.2947 29.7417 30.1886 30.6357 31.0827 31.5297 31.9768 32.4236 32.8697 33.3177 33.7637 34.2107 34.6576 35.1046 35.5516 35.9987 36.4459 36.8927 37.3396 37.7866 38.2336 38.6797 39.1267 39.5736 40.0206
18
esults:
ython Preprocessing
19
• 1 second of measurement contains approximately 440
samples
Results : EMG • Feature extraction was iterated throughout all the
Window Size
samples at window intervals
• The sampled iteration is stored as Python array
variables REST,FIST,4FEX,ROCK,KGR
All
Samples
440 Samples
440 Samples
20
Results : Feature Extraction of all Samples
21
• PCA results dictate the pattern similarity and
relationship with the data.
Results : PCA • Features with similar pattern and behaviour will
be clustered and grouped together
22
Results : PCA • The PCA Variance tells us which Principal Component captures
more variability with the data
Variance Ratios • The PC with higher values dictate that the component captured the
most important patterns in the data
23
Discussion
PCA results show that almost all of my hand gestures have similar patterns and
behaviours.
The PCA Variance tells us that PC1 has captured more variability of the data
than PC2
This may be due to similar patterns occurring on the PC1 axis than PC2
24
Limitations & Challenges
Data was only taken from a single EMG channel and from a single patient.
Each user’s hand gestures vary in terms of speed, amplitude and methods
More complex gestures with more sensitive movements depicts a real-life degree of
freedom in prosthetic control but proves more challenging than just 5 hand gestures
A real-time gesture recognition and EMG characterization requires more precise and
efficient algorithm and computation
25
Future Work
26
Thank you
27