SlideShare a Scribd company logo
Pierandrea Cancian <pierandrea.cancian@mail.polimi.it>
Luca Cerina <luca.cerina@polimi.it>
Giuseppe Franco <g.franco4@studenti.unipi.it>
Marco D. Santambrogio <marco.santambrogio@polimi.it>
RAW @ Vancouver
22/5/2018
Robustness of Surface EMG classifiers with Fixed-Point
Decomposition on Reconfigurable Architecture
Context 2
Muscle Contraction
EMG Prostheses 3
Muscle Contraction
Voltage signal
EMG Prostheses 3
Voltage signal
Muscle Contraction
Feature Extraction
EMG Prostheses 3
Voltage signal
Muscle Contraction
Feature Extraction
Classification
EMG Prostheses 3
Voltage signal
Muscle Contraction
Feature Extraction
Gesture Actuation
Classification
EMG Prostheses 3
EMG Prostheses
-- To understand muscle activation we turn our attention at how the
brain controls our hands.
Many DOF
4
4
EMG Prostheses
-- To understand muscle activation we turn our attention at how the
brain controls our hands.
Many DOF
Complex
control
4
EMG Prostheses
-- To understand muscle activation we turn our attention at how the
brain controls our hands.
Many DOF
Complex
control
Stereotyped
Building Blocks
Cheung, Vincent CK, et al. "Muscle synergy patterns as physiological markers of motor cortical damage." (2012)
5
Challenges
-- Meeting real time constraints in Embedded devices
-- Power consumption for all day activity and small batteries
6
Our Proposal
-- Optimized FPGA implementation of the NMF
-- Exploration of fixed point architecture implementation
-- Machine learning algorithm for the classification (in SW)
6
Outline
Feature Extraction (HW) Feature Classification (SW)
Non-Negative Matrix Factorization
Support Vector Machine
Recurrent Neural Network
6
Outline
Feature Extraction (HW) Feature Classification (SW)
Non-Negative Matrix Factorization
Support Vector Machine
Recurrent Neural Network
7
Non-Negative Matrix Factorization
-- Non Negative Matrix Factorization allows to
extract the Muscle Synergies from input signal
Input Samples
Muscle Synergies
Activation Coefficients
8
Non-Negative Matrix Factorization
W.shape -> (m, r)
H.shape -> (r, n)
V.shape -> (m, n)
W and H are obtained iteratively subject to the following:
Several implementations exist
High cost per iteration
Low cost per iteration
9
Multiplicative Update
H matrix
W matrix
H stop
W stop
&& Final stop
10
Proposed Solution Algorithm
The inner loop is unrolled and the multiplication are done in
parallel. (inner dimension = 8)
10
Proposed Solution Algorithm
The inner loop is unrolled and the multiplication are done in
parallel. (inner dimension = 8)
The inner loop is partially unrolled and some of the multiplications are
executed in parallel. (inner dimension = 256)
10
Proposed Solution Algorithm
The norm of the matrices is executed in parallel
10
Proposed Solution Algorithm
The norm of the matrices is executed in parallel
Data is consumed as soon as it becomes available
12
Fixed Point Solution
Floating point
Sign 8-bit Exponent 23-bit Mantissa
Fixed point
Sign Integer Decimal
-- Fixed point arithmetic requires less resources and
allows faster computation
Arbitrary
12
Fixed Point Solution
Floating point
Sign 8-bit Exponent 23-bit Mantissa
Fixed point
Sign Integer Decimal
Not used 4-bit 28-bit
-- Fixed point arithmetic requires less resources and
allows faster computation
6
Outline
Feature Extraction (HW)
Non-Negative Matrix Factorization
Support Vector Machine
Feature Classification (SW)
Recurrent Neural Network
13
Classification
2
-- Easy
-- ‘’just the gesture’’
-- 3 repetition per gesture
-- Hard
-- ‘’reach + gesture’’
-- 12 repetitions per gesture
Benchmark: 2 different datasets
E.Pirondini, M.Coscia, J.Minguillon, J.d.R.Milla,
D.Ville and S. Micera, “Eeg topographies provide
subject-specific correlates of motor control”,2017.
R. N. Khushaba and S. Kodagoda, “Electromyogram
(emg) feature reduction using mutual components
analysis for multifunction prosthetic fingers control”, 2012.
13
Classification
2
-- Easy
-- ‘’just the gesture’’
-- 3 repetition per gesture
-- Hard
-- ‘’reach + gesture’’
-- 12 repetitions per gesture
Benchmark: 2 different datasets
E.Pirondini, M.Coscia, J.Minguillon, J.d.R.Milla,
D.Ville and S. Micera, “Eeg topographies provide
subject-specific correlates of motor control”,2017.
R. N. Khushaba and S. Kodagoda, “Electromyogram
(emg) feature reduction using mutual components
analysis for multifunction prosthetic fingers control”, 2012.
Signals have dynamic nature!
14
Classification
Recurrent Neural Networks (RNN)Support Vector Machines (SVM)
2 Classifiers are considered
15
Classification
-- The use of Recurrent Neural Networks intrinsically exploit time
dependencies in learning
-- Long Short Term Memory (LSTM) are particular RNNs that
use complex memory cells in place of neurons
2
Forget gate Input gate
Output gate
15
Key Performance Indicators
2
-- Speed for responsive movement and smooth motion
-- Resources to minimize power consumption
-- Accuracy to guarantee the correct gesture at any time
Created by Eucalyp
from the Noun Project
16
Results: Speed-Up
ARM <= 650Mhz Cortex A9 FPGA <= pynq-z1
HW
Fixed point design
About 20x times faster than SW
Slightly faster than floating point
17
Results: Resources
Fixed Point Design
Less DSPs
More FFs and LUTs
18
Results: Fixed point influence
Fixed Point Negligible accuracy degradation
19
Results: accuracy
LSTM network Up to 19.4% more accurate than vanilla SVM
20
Sum Up
Conclusions
-- Our HW implementation runs 20x times
faster than the comparable CPU
-- LSTM provide an accuracy improvement
of ~12% in every class
-- Assessed the advantages of the fixed
point architecture
Future Work
-- Implement the LSTM network in FPGA
-- Test the device on real patients
-- Assess performance and accuracy with
less bits
21
Pierandrea Cancian
<pierandrea.cancian@mail.polimi.it>
Luca Cerina
<luca.cerina@mail.polimi.it>
Giuseppe Franco
<g.franco4@studenti.unipi.it>
Marco D. Santambrogio
<marco.santambrogio@polimi.it>
necst.it/
slideshare.net/necstlab/
facebook.com/groups/ReconfigurableArchitecturesWorkshop
You can find us at:

More Related Content

PDF
Modeling of neural image compression using gradient decent technology
ODP
Artificial Neural Network
DOCX
Artificial neural networks seminar presentation using MSWord.
PPTX
Artificial neural network
PPTX
Artificial Neural Network
PDF
Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...
PPTX
Artificial neural network
DOCX
Comparative study of ANNs and BNNs and mathematical modeling of a neuron
Modeling of neural image compression using gradient decent technology
Artificial Neural Network
Artificial neural networks seminar presentation using MSWord.
Artificial neural network
Artificial Neural Network
Economic Load Dispatch (ELD), Economic Emission Dispatch (EED), Combined Econ...
Artificial neural network
Comparative study of ANNs and BNNs and mathematical modeling of a neuron

What's hot (20)

PPTX
Introduction to Artificial Neural Networks
PPTX
hopfield neural network
DOC
Question bank soft computing
PPT
Perceptron
PDF
Artificial Intelligence- Neural Networks
PPTX
Introduction to Fuzzy logic
PPTX
Neural Networks
PPTX
Artificial Neural Network
PDF
Introduction to Artificial Neural Networks
PPTX
Introduction to Neural networks (under graduate course) Lecture 9 of 9
PPT
A Novel Single-Trial Analysis Scheme for Characterizing the Presaccadic Brain...
PPTX
Deep Learning With Python | Deep Learning And Neural Networks | Deep Learning...
PPT
Multilayer perceptron
PDF
Artificial Neural Network (draft)
PPTX
Neural networks
PPTX
Neural networks
PDF
Artificial Neural Network
PDF
Ch 1-1 introduction
PDF
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in R
PPT
Counterpropagation NETWORK
Introduction to Artificial Neural Networks
hopfield neural network
Question bank soft computing
Perceptron
Artificial Intelligence- Neural Networks
Introduction to Fuzzy logic
Neural Networks
Artificial Neural Network
Introduction to Artificial Neural Networks
Introduction to Neural networks (under graduate course) Lecture 9 of 9
A Novel Single-Trial Analysis Scheme for Characterizing the Presaccadic Brain...
Deep Learning With Python | Deep Learning And Neural Networks | Deep Learning...
Multilayer perceptron
Artificial Neural Network (draft)
Neural networks
Neural networks
Artificial Neural Network
Ch 1-1 introduction
Understanding Deep Learning & Parameter Tuning with MXnet, H2o Package in R
Counterpropagation NETWORK
Ad

Similar to Robustness of Surface EMG classifiers with Fixed-Point Decomposition on Reconfigurable Architecture (20)

PDF
Solution of Inverse Kinematics for SCARA Manipulator Using Adaptive Neuro-Fuz...
PDF
Echo state networks and locomotion patterns
PPTX
Neurally Driven Prosthetics
PDF
Lecture 4 neural networks
PDF
A Synergic Approach for Myoelectric Prosthesis
PPTX
PDF
Correlation Analysis of Electromyogram Signals
PDF
Iaetsd recognition of emg based hand gestures
PDF
Speeding Up Resting State Networks Recognition via a Hardware Accelerator
PPTX
A cortical neural network model of visual motion perception for reactive navi...
PDF
Motor Imagery based Brain Computer Interface for Windows Operating System
PPTX
Neurorobotics and Advances in rehabilitation engineering
PPTX
Recurrent neural networks for sequence learning and learning human identity f...
PPTX
Biomedical Signals Classification With Transformer Based Model.pptx
PPTX
final ppt
PDF
Solution of Inverse Kinematics for SCARA Manipulator Using Adaptive Neuro-Fuz...
PPTX
Human action recognition with kinect using a joint motion descriptor
PDF
Brain-computer interface of focus and motor imagery using wavelet and recurre...
PDF
Reservoir computing fast deep learning for sequences
PPTX
Matthew Gray Summer 2015 Presentation
Solution of Inverse Kinematics for SCARA Manipulator Using Adaptive Neuro-Fuz...
Echo state networks and locomotion patterns
Neurally Driven Prosthetics
Lecture 4 neural networks
A Synergic Approach for Myoelectric Prosthesis
Correlation Analysis of Electromyogram Signals
Iaetsd recognition of emg based hand gestures
Speeding Up Resting State Networks Recognition via a Hardware Accelerator
A cortical neural network model of visual motion perception for reactive navi...
Motor Imagery based Brain Computer Interface for Windows Operating System
Neurorobotics and Advances in rehabilitation engineering
Recurrent neural networks for sequence learning and learning human identity f...
Biomedical Signals Classification With Transformer Based Model.pptx
final ppt
Solution of Inverse Kinematics for SCARA Manipulator Using Adaptive Neuro-Fuz...
Human action recognition with kinect using a joint motion descriptor
Brain-computer interface of focus and motor imagery using wavelet and recurre...
Reservoir computing fast deep learning for sequences
Matthew Gray Summer 2015 Presentation
Ad

More from NECST Lab @ Politecnico di Milano (20)

PDF
Mesticheria Team - WiiReflex
PPTX
Punto e virgola Team - Stressometro
PDF
BitIt Team - Stay.straight
PDF
BabYodini Team - Talking Gloves
PDF
printf("Nome Squadra"); Team - NeoTon
PPTX
BlackBoard Team - Motion Tracking Platform
PDF
#include<brain.h> Team - HomeBeatHome
PDF
Flipflops Team - Wave U
PDF
Bug(atta) Team - Little Brother
PDF
#NECSTCamp: come partecipare
PDF
NECSTCamp101@2020.10.1
PDF
NECSTLab101 2020.2021
PDF
TreeHouse, nourish your community
PDF
TiReX: Tiled Regular eXpressionsmatching architecture
PDF
Embedding based knowledge graph link prediction for drug repurposing
PDF
PLASTER - PYNQ-based abandoned object detection using a map-reduce approach o...
PDF
EMPhASIS - An EMbedded Public Attention Stress Identification System
PDF
Luns - Automatic lungs segmentation through neural network
PDF
BlastFunction: How to combine Serverless and FPGAs
PDF
Maeve - Fast genome analysis leveraging exact string matching
Mesticheria Team - WiiReflex
Punto e virgola Team - Stressometro
BitIt Team - Stay.straight
BabYodini Team - Talking Gloves
printf("Nome Squadra"); Team - NeoTon
BlackBoard Team - Motion Tracking Platform
#include<brain.h> Team - HomeBeatHome
Flipflops Team - Wave U
Bug(atta) Team - Little Brother
#NECSTCamp: come partecipare
NECSTCamp101@2020.10.1
NECSTLab101 2020.2021
TreeHouse, nourish your community
TiReX: Tiled Regular eXpressionsmatching architecture
Embedding based knowledge graph link prediction for drug repurposing
PLASTER - PYNQ-based abandoned object detection using a map-reduce approach o...
EMPhASIS - An EMbedded Public Attention Stress Identification System
Luns - Automatic lungs segmentation through neural network
BlastFunction: How to combine Serverless and FPGAs
Maeve - Fast genome analysis leveraging exact string matching

Recently uploaded (20)

PPT
Mechanical Engineering MATERIALS Selection
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Safety Seminar civil to be ensured for safe working.
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
additive manufacturing of ss316l using mig welding
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
Well-logging-methods_new................
DOCX
573137875-Attendance-Management-System-original
PPTX
OOP with Java - Java Introduction (Basics)
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
Construction Project Organization Group 2.pptx
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
Mechanical Engineering MATERIALS Selection
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Safety Seminar civil to be ensured for safe working.
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
additive manufacturing of ss316l using mig welding
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Operating System & Kernel Study Guide-1 - converted.pdf
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
CH1 Production IntroductoryConcepts.pptx
Well-logging-methods_new................
573137875-Attendance-Management-System-original
OOP with Java - Java Introduction (Basics)
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Construction Project Organization Group 2.pptx
III.4.1.2_The_Space_Environment.p pdffdf
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Fundamentals of safety and accident prevention -final (1).pptx

Robustness of Surface EMG classifiers with Fixed-Point Decomposition on Reconfigurable Architecture