Have a personal or library account? Click to login
Edge-based intelligent and smart health monitoring on PYNQ-Z2 using lightweight protocol and integration of machine learning models Cover

Edge-based intelligent and smart health monitoring on PYNQ-Z2 using lightweight protocol and integration of machine learning models

Open Access
|Dec 2025

Figures & Tables

Figure 1:

Proposed MQTT and ML-based health monitoring system. ML, machine learning; MQTT, message queuing telemetry transport.
Proposed MQTT and ML-based health monitoring system. ML, machine learning; MQTT, message queuing telemetry transport.

Figure 2:

Hardware implementation of the proposed MQTT and ML-based smart health monitoring system (A) SPO2-HR monitoring (B) body temperature monitoring (C, D) overall experimental set up. ML, machine learning; MQTT, message queuing telemetry transport.
Hardware implementation of the proposed MQTT and ML-based smart health monitoring system (A) SPO2-HR monitoring (B) body temperature monitoring (C, D) overall experimental set up. ML, machine learning; MQTT, message queuing telemetry transport.

Figure 3:

Graphs showing monitoring (A) SpO2, (B) HR, and (C) body temperature of a patient. HR, heart rate; SpO2, blood oxygen saturation.
Graphs showing monitoring (A) SpO2, (B) HR, and (C) body temperature of a patient. HR, heart rate; SpO2, blood oxygen saturation.

Figure 4:

Graphical representation of accuracy for three different classifiers. DT, decision tree; SVM, support vector machine.
Graphical representation of accuracy for three different classifiers. DT, decision tree; SVM, support vector machine.

Figure 5:

Graphical representation of precision for three different classifiers. DT, decision tree; SVM, support vector machine.
Graphical representation of precision for three different classifiers. DT, decision tree; SVM, support vector machine.

Figure 6:

Graphical representation of F1 scores for three different classifiers. DT, decision tree; KNN, K-nearest neighbors.
Graphical representation of F1 scores for three different classifiers. DT, decision tree; KNN, K-nearest neighbors.

Figure 7:

Graphical representation of recall for three different classifiers. DT, decision tree; SVM, support vector machine.
Graphical representation of recall for three different classifiers. DT, decision tree; SVM, support vector machine.

Figure 8:

PYNQ Z2 FPGA board.
PYNQ Z2 FPGA board.

Figure 9:

KNN accelerator data path diagram. KNN, K-nearest neighbors; PL, programmable logic; PS, programmable system.
KNN accelerator data path diagram. KNN, K-nearest neighbors; PL, programmable logic; PS, programmable system.

Figure 10:

Joint simulation system. PL, programmable logic; PS, programmable system.
Joint simulation system. PL, programmable logic; PS, programmable system.

Figure 11:

Presents the experimental setup for the FPGA-based implementation.
Presents the experimental setup for the FPGA-based implementation.

FPGA implementation results for KNN and SVM

Design parametersKNNSVM
Classification accuracy (overall in %)85.5562.22
Frequency (MHz)100.0732.28
BRAM45
DSP48E1010
FF3,4933,999
LUTs2,8263,022
Power consumption (W)0.2280.414

Comparison table of F1 score and recall for three different classifiers

Health parametersF1 scoreRecall

ClassifiersKNNDTSVMKNNDTSVM
HR0.980.210.200.980.320.36
SpO20.900.390.400.920.500.56
Body temperature0.930.920.960.940.930.97

Literature survey summary

Study/authorsKey focus/contributionKey features/applicationsYear
IoT in Healthcare [1,2,3,4]Real-time health monitoring with IoT, enabling remote patientFlexible monitoring at any time and place2015, 2021, 2023, 2018
Tonello et al. [5]Sensing platform for remote healthcareTargeted at elderly care2024
Sharma et al. [6]Schizophrenia Detection Cap (SczCap)Wearable cap for EEG signal acquisition and precise schizophrenia detection2023
Zhang et al. [7]Portable wearable cardiorespiratory sensorIntegrated with a smartphone; measures RR and HR2024
Priya et al. [8]IoT-based pervasive monitoring systemsThree-layer architecture: sensing layer, transport layer, and application layer2019
Pardeshi et al. [9]Health monitoring system for detecting abnormalitiesCaptures blood pressure, temperature, and ECG data; uses GSM or Wi-Fi for alerts2017
Divakaran et al. [10]Multi-sensor system with live video feeds and parameter reporting for remote patient monitoringEnhanced doctor–patient communication2017
Uddin et al. [11]ICU monitoring with cloud-connected sensors for real-time trackingSupported simultaneous monitoring of multiple patients2017
Bouslama et al. [12]Adopted AWS for real-time alerts without dataReduced dependency on local storage resources2019
Stradolini et al. [13]Smartwatch-based monitoringCritical patient management2017
Basu et al. [18,19,20]Developed IoT systems for non-invasive health parameter monitoringAddressed healthcare needs in wearable systems. Focused on recent IoT systems2020
Jana et al. [2122]Focused on IoT-based COVID-19 trackingNon-invasive and effective tracking during the pandemic2021, 2022
Chooruang and Mangkalakeeree [23]Integrated MQTT protocol for lightweight communication in HR monitoring systemsSimplified communication and reduced latency2016
Hussain et al. [24]Accelerated KNN classifiers on FPGA for ensemble classificationEnhanced classification performance in IoT frameworks2012
Vieira et al. [25]Proposed flexible streaming KNN classifier for embedded FPGA-SoCsOptimized for IoT systems2019
Samiee et al. [26] and Danopoulos et al. [27]Focused on enhancing KNN classification through optimizationImproved classification accuracy and speed2018, 2019
Wang et al. [28]Outdoor monitoring system for elderly individualsTransmits physiological signals and fall events to healthcare centers2016
Bharadwaj et al [29]Review of ML algorithms in H-IoT systemsCompilation of state-of-the-art ML applications in IoT healthcare2021
Gupta et al. [32]System using Intel Galileo 2nd board for temperature and HR monitoringMonitors temperature and HR; lacks ECG integration2016

Comparison table of accuracy and precision for three different classifiers

Health parametersAccuracy (%)Precision

ClassifiersKNNDTSVMKNNDTSVM
HR98.8842.7848.330.970.350.18
SpO287.2251.6658.330.870.510.36
Body temperature90.5598.6795.060.910.970.96

Comparison of proposed FPGA implementation results for KNN and SVM with existing similar research work

Research work/hardware (FPGA) platformClassifiersAccuracy (%)Freq. (MHz)Power (W)BRAMDSP’sLUTFF’sCost
PYNQ-Z2 (proposed work)KNN85.551000.2284103,4932,826Low power/cost optimized
SVM62.2232.280.4145103,9993,022
Virtex-7 implement KNN Algorithm on FPGA [48]KNN- 3.1365121223,89211,838High cost
ZYNQ-SOC Melanoma detection based on FPGA (2019) [49]SVM97.9 1.69----∼3% of FPGA resource usage and costly
Kintex-7 FPGA implementation on of breast Cancer (2023) [50]SVM91.08 4.57----High end FPGA. Costly.
PYNQ-Z2 Real-time breast cancer Classification (2025) [51]CNN89.87 1.4∼65% of BRAM usage∼72% of DSP usage∼68% of LUT usage-High resource usage and moderate cost

Vital health parameters displayed locally and on the cloud (ThingSpeak)

Vital parameterSessionDisplayed on LCDUploaded to ThingSpeak cloud
Body temperatureMorning96.35°F, 96.51°F96.35°F, 96.51°F
Afternoon98.24°F, 97.20°F98.24°F, 97.20°F
Evening98.57°F, 96.24°F,98.57°F, 96.24°F, 97.13°F
HRMorning78 bpm, 86 bpm78 bpm, 86 bpm
Afternoon74 bpm, 80 bpm, 7674 bpm, 80 bpm, 76 bpm
Evening68 bpm, 89 bpm, 9368 bpm, 89 bpm, 93 bpm
SpO2Morning98%, 97%98%, 97%
Afternoon96%, 81%96%, 81%
Evening95%, 96%95%, 96%

Dataset for the proposed system

IndexSubjectSessionAge groupDayHR (bpm)SpO2Temp (°F)
0S1Morning (rest)ADay 17998103
1S1Morning (rest)ADay 2769798
2S1Morning (rest)ADay 374979 0
3S1Morning (rest)ADay 47598100
4S1Morning (rest)ADay 5729692
895S10Evening (normal)CDay 68198110
896S10Evening (normal)CDay 77996108
897S10Evening (normal)CDay 8869690
898S10Evening (normal)CDay 9918195
899S10Evening (normal)CDay 10879697
Language: English
Submitted on: Jun 29, 2025
|
Published on: Dec 31, 2025
In partnership with: Paradigm Publishing Services
Publication frequency: 1 issue per year

© 2025 Samik Basu, Rajdeep Ray, Arkadip Maitra, Pritha Banerjee, Amlan Chakrabarti, published by Professor Subhas Chandra Mukhopadhyay
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License.