Logo image
A trustworthy AI hardware architecture for real-time seizure detection in wearable IoMT systems
Thesis   Open access

A trustworthy AI hardware architecture for real-time seizure detection in wearable IoMT systems

Venkata Uppada
California State University, Sacramento
Master of Science (MS), California State University, Sacramento
10/20/2026
Handle:
https://hdl.handle.net/20.500.12741/rep:14488

Abstract

Epilepsy is one of the most prevalent neurological disorders affecting more than 50 million individuals worldwide, with approximately one-third of patients suffering from drug-resistant epilepsy in which conventional antiepileptic medications fail to provide adequate seizure control. For these patients, undetected motor seizures represent a life-threatening risk, necessitating continuous, real-time wearable monitoring with reliable alert delivery. Existing wearable Internet of Medical Things (IoMT) seizure detection systems execute their inference pipelines in software on general-purpose microcontrollers or smartphone platforms, introducing software-induced fragility through non-deterministic operating system scheduling, Bluetooth connectivity timeouts, and silent alert drops during network outages. In life-safety medical applications, these failure modes are clinically unacceptable. This project presents a fully synthesizable, deterministic hardware architecture for real-time motor seizure detection implemented in SystemVerilog and targeting the Xilinx Artix-7 field-programmable gate array (FPGA). The proposed Stage 1 (S1) detection engine removes software from the critical safety path by processing tri-axial accelerometer data at 100 Hz using fixed-point arithmetic exclusively. Signal magnitude is approximated using the Alpha-Max Beta-Min algorithm, which replaces computationally expensive square root operations with simple comparators and bit-shifters, achieving a magnitude error of less than four percent while enabling single-cycle execution. The rate of change of magnitude, referred to as the Jerk Index, is computed as the absolute frame-to-frame difference and captures the rapid directional changes characteristic of convulsive motor events. The classification decision is made by three parallel Leaky Bucket integration banks, each calibrated to a distinct motor seizure semiology: Hyperkinetic, Clonic, and Automatism. Each bank accumulates evidence by adding a reward coefficient when the observed kinematic features exceed seizure-consistent thresholds and decays the accumulated evidence by a penalty coefficient during normal activity periods. A detection event is declared when the accumulated evidence exceeds a semiology-specific threshold, providing inherent noise rejection and reducing false alarms caused by transient motion spikes. The interpretable, parameter-driven nature of this decision model ensures full clinical auditability, in contrast to the opaque activation patterns of deep neural networks. The complete system was validated through a five-stage Python preprocessing pipeline applied to the SeizeIT2 clinical dataset, which contains 313 neurologist-annotated motor seizure events, and the WISDM daily activity dataset, which provides 25 hours of continuous accelerometer recordings from subjects performing everyday activities. The preprocessed data was injected into a cycle-accurate SystemVerilog testbench that streamed accelerometer samples through the detection hardware at the 100 Hz sensor rate. The Stage 1 detection engine achieved clinical sensitivity of 93.61 percent with no false alarms observed on the evaluated 25.49-hour WISDM ADL test set, with a median end-to-end detection latency of 6.0 seconds and a worst-case 90th percentile latency of 10.2 seconds, well within the 30-second clinical intervention window for rescue medication administration. The complete RTL design was synthesized on a Xilinx Artix-7 FPGA (xc7a35tcsg324-1) using Vivado ML Standard 2025.2. The synthesis results demonstrate an ultra-lightweight hardware footprint occupying only 425 Slice LUTs (2.04% of available resources) and 201 flip-flops (0.48%), with zero Block RAM and zero DSP48 block utilization
pdf
UppadaVenkataUmaMaheshReddy_Spring20263.11 MBDownloadView
Text Project Open Access

Metrics

9 File views/ downloads
4 Record Views

Details

Logo image