TL;DR — We demonstrate that a portable 8-channel dry-electrode EEG headset can be used to control a robotic vehicle via motor imagery, achieving ~64% binary classification accuracy with personalized SVM/KNN models — a step toward accessible, non-invasive brain-robot interfaces.
Figure 1. The EEG-controlled robotic vehicle built for motor imagery-based navigation. A user wearing a portable dry-electrode EEG headset generates motor imagery commands that are classified in real time and transmitted wirelessly to drive the vehicle along planned routes.
The adoption of brain-computer interfaces (BCIs) has significantly increased in various application domains, particularly in controlling robotic systems through motor imagery. This work contributes in two primary ways:
Signals are acquired from a portable EEG device equipped with eight dry electrodes. We employ sliding-window segmentation, Common Spatial Pattern (CSP) feature extraction via a 12-band filter bank, and per-subject SVM and KNN classifiers. Experiments with five participants show that while four-class accuracy remains limited, binary classification achieves a promising average accuracy of approximately 61%, suggesting viable potential for dry-electrode EEG-based robot control.
EEG signals are acquired from five participants using a portable Helmate device with eight dry electrodes positioned according to the international 10–20 system. The signal processing pipeline proceeds as follows: raw EEG is first band-pass filtered (0.5–48.5 Hz), then cleaned via ICA-based artifact removal. The continuous signal is segmented into 2.0-second windows with 0.5-second overlap.
Features are extracted using a 12-band Filter Bank (each with 4 Hz bandwidth) combined with Common Spatial Pattern (CSP), producing 96-dimensional feature vectors per window. Per-subject SVM and KNN classifiers are then trained for two settings: four-class motor imagery (left hand, right hand, both hands, feet) and two binary classification tasks (feet vs. both hands; right vs. left hand). The resulting predictions are transmitted wirelessly via Bluetooth to an ESP32 microcontroller on the robotic vehicle.
Figure 2. Top-down view of the robotic vehicle showing the L298N motor driver, step-down converter, ESP32 microcontroller, and PD trigger module.
Figure 3. The assembled robotic vehicle used for motor imagery-based navigation experiments.
Binary classification achieves the most promising results, demonstrating the practical viability of consumer-grade dry-electrode EEG for robotic control. All accuracy values are reported per participant with personalized models.
| Subject | 4-Class KNN | 4-Class SVM | Feet/Hands KNN | Feet/Hands SVM | R/L Hand KNN | R/L Hand SVM |
|---|---|---|---|---|---|---|
| S1 | 40.00% | 40.00% | 65.56% | 65.56% | 67.78% | 55.56% |
| S2 | 38.95% | 38.95% | 61.11% | 56.67% | 52.22% | 50.00% |
| S3 | 34.74% | 26.36% | 60.00% | 63.33% | 58.89% | 50.00% |
| S4 | 33.78% | 36.84% | 56.67% | 55.56% | 57.78% | 65.56% |
| S5 | 35.79% | 37.86% | 78.89% | 66.66% | 72.22% | 57.78% |
| Avg ± Std | 36.65 ±2.41 | 36.00 ±4.93 | 64.45 ±7.76 | 61.56 ±4.58 | 61.78 ±7.22 | 55.78 ±5.77 |
Table 1. Classification accuracy per subject and task. KNN consistently outperforms SVM across both binary settings. Subject 5 achieves the highest binary accuracy (78.89% on Feet vs. Hands), while four-class performance remains limited across all participants.
To validate real-world applicability, classified motor imagery commands are transmitted to the robotic vehicle, which executes corresponding movements along pre-defined routes. The simulator output below compares predicted routes against expected waypoints.
Figure 4. BCI simulator output for one participant. Numbered waypoints show the expected route (orange) alongside predictions (cyan) and errors (red).
Figure 5. t-SNE visualization of CSP-extracted EEG features, colored by participant (1–5). Clear per-subject clustering confirms significant inter-subject variability, justifying personalized classification models.
@inproceedings{amrani2024eeg,
title = {EEG Acquisition and Motor Imagery Classification
for Robotic Control},
author = {Amrani, Hamza and Micucci, Daniela and Nalin, Marco
and Napoletano, Paolo and Rizzi, Ilario},
booktitle = {46th Annual International Conference of the IEEE
Engineering in Medicine \& Biology Society (EMBC)},
year = {2024},
organization = {IEEE}
}