Daniel Enériz, Diego Antolín, Nicolás Medrano, Belén Calvo
{"title":"Reproducible testing for embedded BCIs: a demultiplexing PCB and acquisition system for EEG signal emulation","authors":"Daniel Enériz, Diego Antolín, Nicolás Medrano, Belén Calvo","doi":"10.1016/j.ohx.2026.e00800","DOIUrl":null,"url":null,"abstract":"<div><div>Validating machine learning models for Brain-Computer Interfaces (BCIs) on resource-constrained edge devices is challenging, as traditional methods rely on costly EEG equipment or simulations that fail to capture real-world electronic characteristics. To bridge this gap, we introduce the DEEGMUX, a low-cost, open-source hardware system for high-fidelity, hardware-in-the-loop (HIL) testing of EEG classification algorithms. The system comprises an EEG Demultiplexer Board that converts a multiplexed EEG signal into 8 parallel channels, and an EEG Acquisition and Processing Board featuring an ADS1299 24-bit ADC interfaced with an Arduino Nano 33 BLE. This setup enables the use of real EEG datasets, such as the PhysioNet Motor Imagery dataset, to generate precisely timed electronic signals. Characterization demonstrated high signal fidelity, with a Mean Squared Error of 1.7·10<sup>−10</sup> V<sup>2</sup> and a Signal-to-Noise Ratio of 16 dB relative to the original digital data. Furthermore, an EEGNet motor imagery classifier evaluated on hardware-acquired signals showed a negligible accuracy difference of (−0.3 ± 5)% compared to evaluation on the original data, confirming that the emulation chain preserves classification-relevant features. The DEEGMUX provides a scalable, reproducible, and affordable platform for rigorously testing edge-deployed CNN models against realistic electronic inputs, accelerating the transition from simulation to robust real-world BCI deployment.</div></div>","PeriodicalId":37503,"journal":{"name":"HardwareX","volume":"26 ","pages":"Article e00800"},"PeriodicalIF":1.9000,"publicationDate":"2026-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"HardwareX","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S246806722600060X","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/5/27 0:00:00","PubModel":"Epub","JCR":"Q3","JCRName":"ENGINEERING, ELECTRICAL & ELECTRONIC","Score":null,"Total":0}
引用次数: 0
Abstract
Validating machine learning models for Brain-Computer Interfaces (BCIs) on resource-constrained edge devices is challenging, as traditional methods rely on costly EEG equipment or simulations that fail to capture real-world electronic characteristics. To bridge this gap, we introduce the DEEGMUX, a low-cost, open-source hardware system for high-fidelity, hardware-in-the-loop (HIL) testing of EEG classification algorithms. The system comprises an EEG Demultiplexer Board that converts a multiplexed EEG signal into 8 parallel channels, and an EEG Acquisition and Processing Board featuring an ADS1299 24-bit ADC interfaced with an Arduino Nano 33 BLE. This setup enables the use of real EEG datasets, such as the PhysioNet Motor Imagery dataset, to generate precisely timed electronic signals. Characterization demonstrated high signal fidelity, with a Mean Squared Error of 1.7·10−10 V2 and a Signal-to-Noise Ratio of 16 dB relative to the original digital data. Furthermore, an EEGNet motor imagery classifier evaluated on hardware-acquired signals showed a negligible accuracy difference of (−0.3 ± 5)% compared to evaluation on the original data, confirming that the emulation chain preserves classification-relevant features. The DEEGMUX provides a scalable, reproducible, and affordable platform for rigorously testing edge-deployed CNN models against realistic electronic inputs, accelerating the transition from simulation to robust real-world BCI deployment.
HardwareXEngineering-Industrial and Manufacturing Engineering
CiteScore
4.10
自引率
18.20%
发文量
124
审稿时长
24 weeks
期刊介绍:
HardwareX is an open access journal established to promote free and open source designing, building and customizing of scientific infrastructure (hardware). HardwareX aims to recognize researchers for the time and effort in developing scientific infrastructure while providing end-users with sufficient information to replicate and validate the advances presented. HardwareX is open to input from all scientific, technological and medical disciplines. Scientific infrastructure will be interpreted in the broadest sense. Including hardware modifications to existing infrastructure, sensors and tools that perform measurements and other functions outside of the traditional lab setting (such as wearables, air/water quality sensors, and low cost alternatives to existing tools), and the creation of wholly new tools for either standard or novel laboratory tasks. Authors are encouraged to submit hardware developments that address all aspects of science, not only the final measurement, for example, enhancements in sample preparation and handling, user safety, and quality control. The use of distributed digital manufacturing strategies (e.g. 3-D printing) is encouraged. All designs must be submitted under an open hardware license.