Harilegawa, Made Wena and Ir. Nanang Sulistiyanto,, M.T., Ph.D. and Dr. Raden Arief Setiawan,, S.T., M.T. (2026) Implementasi Neuromorphic Spiking Neural Network Untuk Klasifikasi Morfologi Sinyal Ekg Pada Fpga. Sarjana thesis, Universitas Brawijaya.
Abstract
Klasifikasi sinyal elektrokardiogram (EKG) memegang peranan penting dalam diagnosis kardiovaskular karena menyediakan metode non-invasif untuk mendeteksi kelainan jantung. Sinyal EKG merekam aktivitas listrik jantung melalui gelombang P, QRS, dan T yang merepresentasikan tahapan depolarisasi dan repolarisasi otot jantung, namun interpretasi manual rentan kesalahan dan membutuhkan keahlian khusus. Metode deep learning konvensional telah mencapai akurasi tinggi dalam klasifikasi EKG, tetapi memerlukan sumber daya komputasi besar sehingga kurang efisien untuk perangkat medis portabel berdaya rendah. Penelitian ini mengusulkan implementasi Spiking Neural Network (SNN) berbasis neuron Leaky Integrate-and-Fire (LIF) pada platform Field-Programmable Gate Array (FPGA) untuk klasifikasi morfologi sinyal EKG sesuai standar AAMI (N, S, V, F, Q). Dataset yang digunakan terdiri dari 1500 sampel EKG sintetik (300 per kelas) yang dibangkitkan menggunakan metode ECGSYN. Sinyal dikonversi menjadi spike melalui rate-based encoding dengan 30 titik sampling dan window temporal 64 ms. Model SNN menggunakan arsitektur fully-connected 30–30–5 dan dilatih dengan Quantization-Aware Training (QAT) agar kompatibel dengan representasi fixed-point Q4.4 pada hardware. Hasil pelatihan menunjukkan akurasi uji sebesar 91,11% dengan macro-F1 sebesar 0,909. Implementasi pada FPGA berhasil direalisasikan secara efisien menggunakan pendekatan sequential unit LIF, dengan penggunaan 1150 LUT dan 1783 flip-flop. Dengan target 100 MHz terpenuhi (WNS +0,365 ns). Pada frekuensi ini, waktu inferensi seluruh layer hanya 22 µs, jauh lebih kecil dari interval kedatangan spike 1 ms, sehingga sistem tetap memenuhi kebutuhan real-time. Estimasi daya sebesar 0,110 W menunjukkan sistem berada dalam batas operasi yang aman. Penelitian ini membuktikan bahwa SNN berbasis FPGA mampu melakukan klasifikasi morfologi EKG secara akurat, efisien sumber daya, dan memenuhi kebutuhan pemrosesan real-time, sehingga berpotensi dikembangkan untuk perangkat medis portabel berbasis neuromorfik.
English Abstract
Electrocardiogram (ECG) signal classification plays an important role in cardiovascular diagnosis as it provides a non-invasive method for detecting heart abnormalities. ECG signals record the electrical activity of the heart through P, QRS, and T waves that represent the depolarization and repolarization stages of the heart muscle, however manual interpretation is prone to errors and requires specialized expertise. Conventional deep learning methods have achieved high accuracy in ECG classification, but require substantial computational resources, making them less efficient for low-power portable medical devices. This research proposes the implementation of a Spiking Neural Network (SNN) based on Leaky Integrate-and-Fire (LIF) neurons on a Field-Programmable Gate Array (FPGA) for ECG morphology classification according to the AAMI standard (N, S, V, F, Q). The dataset consists of 1500 synthetic ECG samples (300 per class) generated using the ECGSYN method. The signals are converted into spike representations using rate-based encoding with 30 sampling points and a 64 ms temporal window. The SNN adopts a fully connected 30–30–5 architecture and is trained using Quantization-Aware Training (QAT) to ensure compatibility with Q4.4 fixed-point hardware implementation. The training results show that the model achieves a test accuracy of 91.11% with a macro-F1 score of 0.909, indicating strong and balanced classification performance across classes. The FPGA implementation is efficiently realized using a sequential reuse approach for the LIF neuron units, resulting in low resource utilization of 1150 LUTs and 1783 flipflops. The design meets the target frequency of 100 MHz, as indicated by a positive WNS of +0.365 ns, confirming that no timing violations occur. At this frequency, the total inference time across all layers is only 22 µs, which is significantly lower than the spike arrival interval of 1 ms, ensuring real-time operation. Furthermore, the estimated power consumption of 0.110 W indicates that the system operates within an efficient and safe power envelope. Overall, this study demonstrates that an FPGA-based SNN can perform ECG morphology classification accurately, efficiently, and in real time, making it a promising approach for low-power neuromorphic portable medical devices.
| Item Type: | Thesis (Sarjana) |
|---|---|
| Identification Number: | 052607 |
| Uncontrolled Keywords: | Spiking Neural Network, FPGA, EKG, LIF, Quantization-Aware Training, Real-Time. |
| Subjects: | 600 Technology (Applied sciences) > 621 Applied physics > 621.3 Electrical, magnetic, optical, communications, computer engineering; electronics, lighting > 621.38 Electronics, communications engineering > 621.381 Electronics |
| Divisions: | Fakultas Teknik > Teknik Elektro |
| Depositing User: | S Sucipto |
| Date Deposited: | 10 Aug 2026 07:16 |
| Last Modified: | 10 Aug 2026 07:16 |
| URI: | http://repository.ub.ac.id/id/eprint/258446 |
|
Text (DALAM MASA EMBARGO)
-Made Wena Harilegawa.pdf Restricted to Registered users only Download (8MB) |
Actions (login required)
![]() |
View Item |
