Research internship
sEMG-Based Robotic Hand Control via Muscle Synergy Extraction
Unsupervised learning to compress multi-channel forearm EMG into a few signals that can drive a robotic hand.
How it works
-
01
Load & normalise
Pre-recorded forearm EMG for power, pinch and ulnar grasps.
-
02
NMF / Sparse NMF
Linear, non-negative synergies scored on VAF and Frobenius norm.
-
03
Auto-tuning
Cross-validation and multi-criteria scoring choose the synergy count and sparsity.
-
04
Autoencoders
Non-linear latent spaces as richer synergy representations.
-
05
Benchmark
PCA vs NMF vs Sparse NMF, RMSE against the number of synergies.
Why synergies
Controlling a robotic hand finger by finger from raw multi-channel EMG is hard: the signals are noisy, high-dimensional and redundant. Muscle synergies compress them into a few coordinated patterns that are easier to interpret and can act directly as control inputs.
This internship, at the Laboratory of Automation and Robotics of the University of Bologna, explored which unsupervised learning methods give the best low-dimensional representation of forearm EMG during grasping.
Development phases
- Classical and Sparse NMF: synergy extraction, evaluated with Variance Accounted For (VAF) and the Frobenius norm of the reconstruction error.
- Automatic optimisation: a cross-validation framework with multi-criteria scoring that picks the optimal number of synergies and the sparsity parameters without manual tuning.
- Autoencoders: non-linear dimensionality reduction for more expressive representations of muscle activity.
- Comparative study: PCA vs classical NMF vs Sparse NMF, using RMSE across different numbers of synergies.
Software
The code is organised into modules: configuration (YAML), analysis classes (NMF, PCA, autoencoder, data loading, error metrics), helper utilities and a test layer. This makes experiments reproducible and easy to extend, and the same building blocks became the starting point of my bachelor thesis.
Tools & techniques
- Python
- NMF
- Sparse NMF
- PCA
- Autoencoders
- Cross-validation