1. Introduction
Diabetes Mellitus is a prevalent and serious metabolic condition affecting millions worldwide, with a projected rise in cases to 783 million by 2045 according to the International Diabetes Federation [
1]. Effective management and monitoring of blood glucose levels (BGL) are essential to prevent severe complications such as heart disease, kidney failure, and stroke. Traditional glucose monitoring methods, which require invasive finger-prick blood tests multiple times daily are not only painful and inconvenient, but also limited in their ability to provide continuous glucose monitoring, a necessity for optimizing diabetes management. This has spurred significant research interest in the development of non-invasive BGL monitoring techniques, which promise greater comfort, convenience, and cost-effectiveness.
Non-invasive glucose monitoring techniques have been explored in recent years [
2], with optical methods like Near-Infrared (NIR) Spectroscopy showing significant promise. NIR Spectroscopy, which operates within the 750–2500 nm wavelength range, offers deep skin penetration and has been identified as a cost-effective solution for glucose monitoring [
3]. The effectiveness of these systems hinges on selecting an appropriate NIR wavelength. At 880 nm, light balances deep tissue penetration with moderate water absorption [
4], ensuring it reaches the capillaries where glucose levels are representative of BGL concentrations. This wavelength minimizes interference from other tissues and benefits from the availability and affordability of 880 nm components, making it ideal for research and real-world applications. By leveraging the “therapeutic window,” 880 nm optimizes accuracy and reliability in non-invasive glucose monitoring. These methods provide a framework for developing devices that can replace invasive glucometers and offer continuous monitoring, improving patient outcomes.
The use of Photoplethysmography (PPG) signals in glucose monitoring is another area of research gaining traction. PPG is an optical technique that measures changes in blood volume in the microvascular bed of tissue [
5], typically using a light source like an LED and a photodetector. The PPG signal, when processed and interpreted correctly, can provide valuable insights into heart rate, blood flow, and oxygen saturation, which are indirectly related to glucose levels. This optical technique, combined with the application of Machine Learning (ML) models, allows for the correlation between PPG signals and BGLs. Such advancements suggest the potential for continuous, non-invasive glucose monitoring, which could significantly enhance diabetes management. Despite the advancements in non-invasive glucose monitoring technologies, there remains a need for a comprehensive solution that integrates these technologies into a user-friendly, real-time monitoring system.
In this paper, we have presented the work undertaken to design, develop, and evaluate a sensor-based non-invasive BGL monitoring system. The aim of this research is to address the need for easy-to-use and painless methods of BGL monitoring by developing an Internet of Things (IoT)-enabled, prick-free BGL monitoring system that utilizes NIR Spectroscopy and PPG signals to gauge glucose level in the body. We have increased the accuracy of the results obtained through this system by incorporating linear regression with Clarke Error Grid Analysis [
6] for calibration. We have validated the performance of our developed system by comparing its performance against existing solutions published in the existing literature, which show a reasonably accuracy, meeting the standards of currently available methods of BGL monitoring. The BGL obtained through the developed system are displayed in real-time and also uploaded to a cloud server via IoT for remote monitoring.
The rest of the paper is organized as follows: In
Section 2, we discuss the system design, elaborating the hardware implementation, data collection, and calibration of the systems. Results are discussed in
Section 3, along with comparative analysis to validate the accuracy. Concluding remarks are provided in
Section 4.
2. System Design and Development
In this section we present the system design components and their interconnectivity to obtain an IoT enabled device for BGL monitoring. There are three aspects to the system design, the first being the hardware involved in device prototyping, the second being linear regression to calibrate the sensor to detect accurate BGL readings, and the third being the cloud connectivity of the controller using ThingSpeak for data storage and visualization. These aspects are discussed in detail in subsequent subsections.
2.1. Hardware System Design and Implementation
In order to acquire BGL reading, we utilized the infrared (IR) component of the MAX30102 biosensor (Analog devoces US, Wilmington, MA, USA) to develop a non-invasive BGL monitoring system. The sensor emits 880 nm IR light, a wavelength carefully selected for its ability to penetrate tissue and interact with glucose molecules in the blood. By analyzing the reflected IR light, our system detects changes in absorption that correspond to glucose concentrations, allowing us to estimate BGL without invasive procedures. We have fine-tuned the sensor’s performance through software adjustments, ensuring it meets the specific demands of BGL. The MAX30102’s compact design and effective ambient light rejection capability makes it suitable for wearable applications as well, enabling reliable monitoring in various conditions. In our system, the ESP32 microcontroller (Espressif Systems, Shanghai, China) plays a pivotal role in sensor integration, acquisition of data and their processing and communication to the cloud. Leveraging its dual-core architecture, we program the ESP32 using the Arduino IDE to handle real-time data from the biosensor, ensuring accurate and timely BGL estimations. Using its Wi-Fi connectivity capabilities for seamless data transfer, we have programmed the controller to upload BGL readings against each patient to the IoT cloud. The final system integrates the MAX30102 biosensor with the ESP32 microcontroller, enabling real-time, non-invasive blood glucose monitoring and seamless data communication within the IoT ecosystem. The BGL reading, along with the patient ID, is also displayed on the OLED display, interfaced with the ESP32 controller.
Figure 1 depicts the system design showing the interworking of ESP32, the MAX30102 biosensor and the OLED display. The figure also shows the stage of ML model analysis for accurate BGL prediction.
Figure 2 shows the hardware implementation of the design proposed in
Figure 1.
2.2. Data Collection and Linear Regression
To enhance the accessibility of our system and reduce the dependency on individual calibration, we developed generalized models. These models enable glucose measurement without requiring each user to perform multiple invasive readings for calibration. Considering the variations in body composition and glucose metabolism, we categorized the models based on body mass index (BMI) into three groups: underweight (BMI < 19), moderate weight (19 < BMI < 25), and overweight (BME > 25). Different weight categories exhibit distinct characteristics, such as varying levels of body fat and typically higher glucose levels in overweight individuals compared to those with moderate or underweight. By categorizing the models into underweight, moderate weight, and overweight groups, we can better account for these variations and improve the accuracy of the models, ensuring that users from different BMI categories can obtain reliable glucose readings. For the underweight category, data were collected from 12 individuals. The data were collected anonymously and each participant provided data points, including age, gender, BMI, PPG voltage (X), and invasive blood glucose levels (Y). These data points were tabulated and used to compute the coefficients for the linear regression model. Coefficients were derived from the collected data, forming the regression model for predicting blood glucose concentrations for underweight individuals based on their PPG readings. The same procedure was followed for data collection from 14 individuals in the moderate weight category and for 8 individuals in the overweight category.
Table 1 shows the consolidated data from the three categories.
Assume
represents the set of PPG readings obtained through the developed systems and
represents the set of the BGL readings obtained through the invasive method. Using the data, set a linear regression model to relate the PPG reading to the BGL reading, which can be developed in the following form:
where the coefficient’s slope
and intercept
are calculated using the linear regression model as given in Equations (2) and (3).
where
and
are individual data points of PPG Reading and Invasive BGL Reading, respectively, and
and
are the mean values of
and
data points, respectively.
The regression model presented in Equation (1) was formed for the three categories for predicting blood glucose concentrations based on their PPG readings.
2.3. Clarke Error Grid Analysis
Non-invasive glucose measuring devices have gained significant attention due to their potential in improving patient compliance and quality of life. Evaluating the performance of these devices is essential to ensure their reliability and effectiveness. One of the most widely used methods for assessing the clinical reliability of glucose measurement systems is the Clarke Error Grid Analysis (CEGA) [
7]. The CEGA is designed to categorize the clinical significance of discrepancies between a reference method (usually a laboratory glucose measurement) and the device under test. It divides the possible range of glucose values into five zones (A to E) [
7], each representing different levels of clinical accuracy and potential risk to the patient. The current international standard that regulates the precision of glucose measurement systems is ISO 15197:2015 [
8] (The International Organization for Standardization (ISO), 2013). According to this standard, for Clarke Error Grid Analysis, measurement systems must meet the criteria that 99% of the individual measured glucose values must fall within Zone A or Zone B of the Clarke Error Grid. This stringent requirement ensures that glucose monitoring devices provide clinically accurate readings that are safe for patient use.
2.4. Data Visualization Using ThingSpeak
ThingSpeak [
9] is an Internet of Things (IoT) analytics platform service that allows users to aggregate, visualize, and analyze live data streams in the cloud. By leveraging ThingSpeak, we can upload glucose readings in real-time, store them against individual patient channels, and visualize these data to facilitate better monitoring and management of glucose levels. Setting up ThingSpeak channels was crucial in organizing and managing the glucose data for individual patients. Ensuring that the glucose data are accessible to the right individuals while maintaining privacy is paramount. For this purpose, our system provides secure login credentials for each user, as well as flexible data access and sharing options to accommodate different needs. These include private, public, and shared access channels that restrict data access on three different levels.
3. Results and Comparative Analysis of the Developed System
In this section, we present the results obtained after developing the system and apply CEGA to compute BGL through PPG signal. The results have been analyzed in relation to the underweight, moderate weight, and overweight model. Moreover, we have also presented a comparison of the developed prototype performance with existing systems which use non-invasive methods for BGL monitoring.
3.1. Performance of Generalized Calibration Models
To validate the predictive accuracy of our non-invasive blood glucose monitoring system, we employ root mean square error (RMSE) and mean absolute relative difference (MARD) metrics. These assessments provide crucial quantitative measures of the system’s performance in predicting blood glucose levels based on optical sensor data. The accuracy of generalized models, segmented by BMI ranges, provides insights into how effectively these models predict blood glucose levels across varying body mass index categories. This segmentation allows for tailored predictions that account for the physiological differences associated with different BMI levels, enhancing the precision of non-invasive blood glucose monitoring.
Table 2 provides a few samples for the comparison of underweight, moderate weight, and overweight models calculated values using the system and blood glucose level using invasive method.
All three models have been tailored to accurately predict blood glucose levels specifically for individuals with BMI values indicating the conditions defined under each category. They incorporate adjusted coefficients to accommodate unique physiological characteristics such as reduced subcutaneous fat and potential variations in blood flow dynamics typical of this BMI range, ensuring precise and reliable glucose level predictions.
Table 3 summarizes the performance metrics evaluated for each of the category.
Clarke Error Grid Analysis
One of the most widely used methods for assessing the clinical reliability of glucose measurement systems is the Clarke Error Grid Analysis (CEGA). As can be seen in
Figure 3, the results show that for the proposed linear regression models, 76.5% of the points fell into Zone A, 23.5% of the points fell into Zone B, and 0% of the points fell into Zones C, D, and E. These results indicate that 100% of the measurements fall within the clinically acceptable range (Zones A and B), demonstrating the device’s high accuracy and reliability, also meeting the ISO 15197:2015 [
8] requirement that 99% of measurements must be within Zones A and B.
3.2. Comparative Analysis Against Existing Non-Invasive BGL Systems
In the comparative analysis, the accuracy of the non-invasive blood glucose monitoring system was evaluated against existing solutions found in the literature. This assessment is based on RMSE and MARD metrics to gauge the system’s efficacy in predicting blood glucose levels without invasive procedures. For the selection of comparable solutions shown in
Table 4, we identified relevant studies that focus on non-invasive methods for measuring BGL. These solutions were chosen based on their use of similar methodologies involving optical sensors, PPG, and comparable metrics for accuracy assessment identified in the literature review, RMSE and MARD. The selected studies represent a diverse range of approaches and technologies aimed at achieving reliable and precise non-invasive blood glucose monitoring, providing a comprehensive basis for comparison with our proposed system. Our developed system demonstrates reasonably accurate performance, achieving an RMSE of approximately 13.84 and a MARD of 12.08%. These values indicate that our developed system performs competitively, even when compared to established research. For instance, while Joshi et al. [
10] present RMSE values of 13.57 and 11.5 with MARD values of 4.86% and 7.30%, respectively, our model maintains a strong standing with its balanced error rates. In [
11], despite having the highest MARD value of 19%, a lower RMSE of 8.3 is shown, indicating lower magnitude errors but higher relative errors compared to our model. Overall, while there is room for improvement in terms of reducing both RMSE and MARD to achieve more accurate and reliable predictions, the proposed model displays a reasonable performance, proving to be an accurate predictor.
4. Conclusions
This paper encapsulates the principal findings of our research work, detailing the journey from conceptualization to the realization of a non-invasive blood glucose monitoring system. Contributions discussed include the development of predictive models, where the authors have successfully developed both personalized and generalized predictive models for non-invasive blood glucose monitoring using PPG signals. The personalized models addressed individual variations, while the generalized models, categorized by BMI, enhanced the accessibility and accuracy of glucose readings for a diverse user base. Secondly, the authors have successfully integrated the developed system with ThingSpeak, which functions as a database for real-time glucose monitoring, ensuring secure data management and dynamic monitoring capabilities. Lastly, the key accuracy metrics for gauging reliability and effectiveness of the predictive models for BGL monitoring were evaluated, which include RMSE and MARD. The system developed by the authors achieved an RMSE of 13.84 and a MARD of 12.08%, performing better compared to most of the developed systems in the existing literature. Moreover, the Clarke Error Grid Analysis showed that 100% of measurements were within clinically acceptable zones, underscoring the system’s high accuracy and reliability.
As of this stage, we have developed a proof-of-concept (POC) for a non-invasive system. However, the results presented in the paper are based on the linear regression developed using a limited data set. As future improvements to this system, we expect to increase the accuracy of the system by collecting more data using the system and developing the regression models based on larger datasets. Moreover, the effect of non-linear regression models is yet to be evaluated, with the aim of further increasing the accuracy of the system.
Author Contributions
Conceptualization, S.A. and M.I.A.; methodology, G.F.; software, A.S.; validation, F.H.K., F.T. and K.K.; formal analysis, A.S. and F.H.K.; investigation, K.K. and A.S.; resources, M.I.A.; data curation, K.K. and F.T.; writing—original draft preparation, A.S., F.H.K. and S.A.; writing—review and editing, F.T., K.K., G.F. and M.I.A.; visualization, F.H.K. and F.T.; supervision, S.A. and M.I.A.; project administration, G.F.; funding acquisition, S.A. and M.I.A. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not Applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.
Acknowledgments
The authors would like to acknowledge all the researchers cited in this paper for their precious work in advancing glucose sensing.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- NCD Risk Factor Collaboration (NCD-RisC). Worldwide trends in diabetes since 1980: A pooled analysis of 751 population-based studies with 4.4 million participants. Lancet 2016, 387, 1513–1530. [Google Scholar] [CrossRef] [PubMed]
- Magliano, D.J.; Boyko, E.J. 10th edition scientific Committee of the International Diabetes Federation. “Global picture.” International Diabetes Federation. 2021. Available online: https://www.ncbi.nlm.nih.gov/books/NBK581940 (accessed on 12 August 2023).
- Tang, L.; Chang, S.J.; Chen, C.-J.; Liu, J.-T. Non-Invasive Blood Glucose Monitoring Technology: A Review. Sensors 2020, 20, 6925. [Google Scholar] [CrossRef] [PubMed]
- Jernelv, I.L.; Milenko, K.; Fuglerud, S.S.; Hjelme, D.R.; Ellingsen, R.; Aksnes, A. A Review of Optical Methods for Continuous Glucose Monitoring. Appl. Spectrosc. Rev. 2018, 54, 543–572. [Google Scholar] [CrossRef]
- Yamaoka, K.; Eguchi, J.; Uno, S. Potentiometric Glucose Detection by Paper-based Electrochemical Sensor on CMOS Chip. Telkomnika 2017, 15, 836. [Google Scholar] [CrossRef]
- Clarke, W.L.; Cox, D.; Gonder-Frederick, L.A.; Carter, W.; Pohl, S.L. Evaluating Clinical Accuracy of Systems for Self-Monitoring of Blood Glucose. Diabetes Care 1987, 10, 622–628. [Google Scholar] [CrossRef] [PubMed]
- Alam, D.S.; Rokhana, R.; Susetyoko, R. Non-Invasive Measurement of Blood Glucose Levels Using Linear Regression and Clark Error Grid Analysis Methods. In Proceedings of the Sixth International Conference on Vocational Education and Electrical Engineering (ICVEE), Surabaya, Indonesia, 14–15 October 2023; pp. 184–190. [Google Scholar] [CrossRef]
- Jendrike, N.; Baumstark, A.; Kamecke, U.; Haug, C.; Freckmann, G. ISO 15197: 2013 Evaluation of a Blood Glucose Monitoring System’s Measurement Accuracy. J. Diabetes Sci. Technol. 2017, 11, 1275–1276. [Google Scholar] [CrossRef] [PubMed]
- ThingSpeak. Available online: https://thingspeak.com/ (accessed on 4 March 2024).
- Joshi, A.M.; Jain, P.; Mohanty, S.P.; Agrawal, N. iGLU 2.0: A New Wearable for Accurate Non-Invasive Continuous Serum Glucose Measurement in IoMT Framework. IEEE Trans. Consum. Electron. 2020, 66, 327–335. [Google Scholar] [CrossRef]
- Jain, P.; Joshi, A.M.; Mohanty, S.P. iGLU: An Intelligent Device for Accurate Noninvasive Blood Glucose-Level Monitoring in Smart Healthcare. IEEE Consum. Electron. Mag. 2020, 9, 35–42. [Google Scholar] [CrossRef]
- Song, K.; Ha, U.; Park, S.; Bae, J.; Yoo, H.-J. An Impedance and Multi-Wavelength Near-Infrared Spectroscopy IC for Non-Invasive Blood Glucose Estimation. IEEE J. Solid-State Circuits 2015, 50, 1025–1037. [Google Scholar] [CrossRef]
- Al-dhaheri, M.A.; Mekkakia-Maaza, N.-E.; Mouhadjer, H.; Lakhdari, A. Noninvasive blood glucose monitoring system based on near-infrared method. Int. J. Electr. Comput. Eng. (IJECE) 2020, 10, 1736. [Google Scholar] [CrossRef]
- Hina, A.; Saadeh, W. Noninvasive Blood Glucose Monitoring Systems Using Near-Infrared Technology—A Review. Sensors 2022, 22, 4855. [Google Scholar] [CrossRef] [PubMed]
| Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).