ALL Metrics
-
Views
-
Downloads
Get PDF
Get XML
Cite
Export
Track
Research Article

Advancing Diabetic Care Through Non-Invasive Glucose Monitoring Using Optical Sensors and IoT Technologies

[version 1; peer review: awaiting peer review]
PUBLISHED 23 Jan 2026
Author details Author details
OPEN PEER REVIEW
REVIEWER STATUS AWAITING PEER REVIEW

This article is included in the Fallujah Multidisciplinary Science and Innovation gateway.

Abstract

Background

Patients diagnosed with diabetes mellitus must monitor their Blood Glucose (BG) to continually control their glycemia. They had to undergo a blood test at least twice a day using a finger prick, and must visit a laboratory every three months for glycated hemoglobin (HbA1c). According to the World Health Organization (WHO), the constitution of Iraqi diabetes patients is 13.9%. An Internet of Things (IoT) based framework for non-invasive BG monitoring was recently developed. The aim is to enhance the Continuous Glucose Monitoring (CGM) device by using IoT technologies.

Methods

Starting with a review of the latest IoT technologies and some of the CGM commercial devices recommended by ISO 15197 standard. A questionnaire sheet is distributed to determine how much patients in Iraq knew about their health situation and whether they are interested in using new IoT technologies. Women patients are volunteered to check their BG using both finger prick and a CGM device three times a day for comparing. The suggestion is to connect CGM to a personal smart device that has a method controlling alarm messages instead of CGM output.

Results

The results show how important to educate patients about new technologies. A CGM and finger prick results are checked for similarity using statistical package. Results are presented as (mean ± SD (standard deviation)), the findings demonstrated that, significantly at P < 0.05, there were no differences between the means for tests in both methods based on the standard Ambulatory Glucose Profile (AGP) report.

Conclusion

This study shows how Iraqi’s patients feel when using a CGM device with new IoT technologies. CGM output is accurate but appeared every 15 min which may be uncomfortable. A method is suggested to transfer CGM output to a smart device to be controlled by algorithms, so that an alarm message is showed every 8h in a normal situation rather than every 15 min. Moreover, GMI% can be calculated every two weeks using data stored in the cloud to estimate a patient’s HbA1c level by using Markov chain. This figure how BG levels are changing in a shorter timeframe, helping in fine-tune diabetes management plans.

Keywords

CGM, diabetic, IoT, non-invasive BGM technologies, Markov chain

I. Introduction

Lifestyle medicine is the application of evidence-based lifestyle approaches to prevent and treat continuing diseases, such as diabetes. Lifestyle Medicine leads patients to live healthier by following the six advice which are: “eating a predominantly whole food, a plant-based diet, Regular physical activity, Adequate sleep, Stress management, avoidance of risky substance use, and positive social connections”.1 According to the WHO a proportion of Iraqi diabetes patients is 13.9%.

The latest technologies make a huge change in monitoring a patient’s situation with less pain, less time and less cost. In the 1970s, systems were developed to provide accurate results of the glucose level based on blood samples. This technology, called the Self-Monitoring of Blood Glucose (SMBG), allows patients with diabetes to monitor his/her glucose levels daily. Although SMBGs systems have highly predicted results, they are still painful and uncomfortable to use because they are based on fingerpicks for each test. In the 1980s, companies began to develop new devices based on CGM using non-blood tests.2 In the 1990s, IoT healthcare was launched, and it has the ability to connect different devices that provide services through the Internet in real time. These IoT devices can be household objects or appliances, and are all called “things.” Things can collect and analyze data according to the required services. People with diabetes can live vital lives if they regularly monitor their glucose levels and keep them in range. Diabetes management strategies include education, physical activity, nutrition, medication, and lifestyle management.3 The development of a self-aware patient agent (SPA) within a mobile agent environment was suggested in.4

An important work was presented in 2019 showing how an auto check of glucose level for a patient can be performed using a biological sensor that can be sent through the internet to the doctor. The proposal was implemented and instrumented as an IoT system, in which all the measurements were carried out in vivo to show good benefits for patients since they follow up their conditions with less cost and painless. Its limitation is the use of bulky instruments that cannot be used during daily activities.5 HbA1C is to measures the average amount of sugar in the blood over the past few months; for diabetic patients, the goal is to reach 7%, so this does not mean that their condition went away, but it means that their blood sugar is well managed.6 One of the limitations of self-glucose testing is the absence of stability in (HbA1C), which is a very important parameter because it affects the nutrition plan, physical activity, and/or medication treatment. With all existing BG test tools, patients should be aware of medications that can interfere with glucometer accuracy. In 2021, a study of the correlation between vitamin D, fasting glucose, and A1c showed that the results were not significant.79 Another study showed a significant association between BG level control and (age, education level, monthly income).10 Technologies with education, follow-up, and care can improve the lives and health of people with diabetes.11 Many techniques have been introduced for individual use, such as carbon nanotubes and plasmonics, but these are still ideas despite progress on the theoretical side.12 For example, in 2022, a method based on a plasmonic nanostructure glucose sensor and gold–silver core–shell nanoparticles as the sensing platform were developed. The oxidative etching of the silver shell and the concentration of hydrogen peroxide and glucose can be determined via spectral changes, that’s why this approach can be used for diabetes diagnosis and health monitoring.13 Another example was presented, which used a Multilayer Neural Network trained on data from a dataset of Iraqi diabetes patients obtained from the Specialized Center for Endocrine Glands and Diabetes Diseases.14 The percentage of Iraqi diabetes patients is 13.9% and may increase by 54% by 2030; therefore, there is a need to educate patients about the importance of using IoT devices become a must by using efficient experiments, which is one of the goals of this work. There are two types of diabetes technologies, CGM and BGM. General principles for CGM devices must be considered for patients on oral medicine before use, which are7:

  • Selecting a device should be based on a person’s specific needs and skill level.

  • Ensure that the person receives education and training about the device before using.

  • People using CGM should continue with a third party such as a diabetes center for regular follow-ups.

    Nowadays, many techniques are developed to be simple, less painful, and non-invasive techniques for measuring blood glucose levels. Non-invasive techniques can be divided into glucose oxidase, optical spectroscopy, and dielectric spectroscopy.15

    The aim of this research is to use IoT technologies to enhance CGM devices by (1) reducing alarm beats to the minimum or buzz, when necessary, (2) calculating A1C every two weeks that reflects the overall glucose control, and helps monitor treatment effectiveness, and (3) estimating A1C for the next 14 days to show how a patient knows how his lifestyle affects his BG.

II. Background

Optical approaches are important for BG because they offer non-invasive, painless, and continuous monitoring alternatives to traditional finger-prick methods. In this section, a brief review of optical approaches is presented. Moreover, a review of the latest CGM commercial devices recommended by the ISO 15197 standard provides quality guidelines.

A. Optical approaches for Non-invasive glucose level monitoring

The standard SMBG test has a limitation because the blood sample gives only a fragment of the real glucose level discontinuously, meaning that SMBG cannot indicate the ongoing glucose level changes during the day, even if this test is performed frequently. Changing symptomatic hypoglycemia or hyperglycemia for a patient could be uncomfortable and make it difficult to make a correct healthcare decision. For this reason, a recent study ensured that many glucometers for self-monitoring do not meet the level of accuracy; therefore, focusing on using Continuous Glucose Monitoring (CGM) is highly considered to help a patient decide on the medicine doses. CGM provides glucose concentration measurements based on a skin sensor that measures glucose concentration in the interstitial fluid and transmits the sensor values (usually at 5–15 min intervals) to a dedicated receiver, which can be seen in real time.16 A classification for glucose level monitoring is presented in reference17 based on different criteria, as shown in Figure 1. Non-invasive glucose level monitoring methods are based on measuring glucose concentration based on its chemical, thermal, electrical, or optical sensing properties.

fcb97f01-5dc6-452f-91af-87b1eadc64cb_figure1.gif

Figure 1. Classification of glucose measurements according to different criteria.17

In 2021, a review of non-Invasive sensing systems for detecting glucose levels revealed a classification for the existing methods according to the sensor types. The classes include non-invasive glucose detection through the patient’s eye, finger, wrist, forearm, and abdomen.18 Light is focused on biological tissues and is affected by reflection, scattering, and transmission, according to the structure and chemical components of the tissue sample. This is the concept behind optical-based non-invasive glucose measurement methods. These properties are differentiated according to the analysis of the device used; thus, the interpretation of the glucose levels is based on the received spectrum. Many optical non-invasive methods have been analyzed to successfully test glucose levels and are classified in references.17,19 Another classification based on optical approaches divides the classes into electromechanical, electrochemical, and electromagnetic (EM) methods. This study discusses the characteristics required for efficient sensors to predict a correct decision from the collected data. The authors clarified the optical approaches based on many features.20

In 2021, a design was presented to test BG using optical non-invasive sensors based on finger tissue, including an infrared light-emitting diode (LED) with a wavelength of 950 nm, an ultrasound sender with 2 MHz, a sensitive IR detector, and two “Arduino” microcontrollers. The implementation of the system methodology depends on spreading the near-infrared light through the finger to obtain the glucose level. The authors did not provide the patient with the facility for auto use, as did other designs.21 Near-infrared NIR with LED is one of the technologies used with the associated sensor circuit to monitor the BG concentration. The experimental results of this approach and a mathematical model showed that the higher the glucose concentration, the lower the sensor output voltage. As the authors explained, this approach can be beneficial for individual patients by reducing the need for finger pricking and the pain it causes; however, further studies are needed to evaluate the accuracy and reliability of the designed system under different conditions.22 In 2023, a study considering IoT for non-invasive BG was published. The work idea is to build a system consisting of LED and NIR sensors to produce signals that are disseminated through the fingertip. A phototransistor is positioned next to the LED to detect any reflected signals and be stored in a “Thing-speak.” Mathematically analyzing the reflected signal intensity with an algorithm installed in the “Arduino” shows the relationship between glucose concentration and voltage. The experimental results of this study showed that the accuracy ranged from 1.13 to 16.41%. However, IoT is considered a promising tool owing to its continuous monitoring capabilities, data analysis, and remote access features.23 Another study showed that LED light and biosensors provide good results for measuring individual glucose levels. More research is required to develop non-invasive BGL systems. There is still a need to improve the hardware of the devices because most IR technologies are software. Developing a design with low power and cost that is processed in real time would lead to a non-invasive system with high performance.19 A method of Fast IR spectroscopic glucose concentration measurement using a mid-infrared wavelength-swept pulsed quantum cascade laser (QCL) is adopted to measure the concentration of blood glucose using attenuated total reflection. The high power of the QCL with the proposed algorithm enables the BG measurements. The proposed method allows detection of the skin and enables the measurement of the tear film on the eyeball in the tangential direction. This has potential applications in the diagnosis and management of diabetes and minimizes the measurement time to 20 ms.24

B. Commercial devices for non-invasive glucose level monitoring

“The standard ISO 15197 provides the quality guidelines, requirements, and specifications that glucose measuring devices should comply with to guarantee their suitability for human use”. The ISO guidelines evaluate each device and show whether it is suitable for commercialization.12 Many commercial devices in the market are approved by the ISO standard, and almost all of them use spectroscopic techniques, especially NIR. A review of some of these devices, especially those using IoT technologies.

  • - Non-invasive blood glucose meter (Combo Glucometer) CoG: This device is for invasive and non-invasive glucose tests, it is small, lightweight, and easy to hold. The device technology consists of a color image sensor, four LEDs (IR spectrum from 625 to 940 nm), and a digital signal processor (DSP). The control part consisted of four touch buttons, a display, an audio speaker, and a microcontroller. This device includes process management, storage, and power management. The way of using can be shown in Figure 2, the traverse light is diffused over the image sensor range, and therefore all three colors (red, green, and blue) will sense the traverse light, each one with a different sensing value and will be stored in the memory buffer. Computation was then performed using the algorithm in the DSP.25

  • - GlucoTrack (Integrity Applications): The device shown in Figure 3 automatically uses personal ear clip (PEC) sensors to measure the three parameters of the earlobe tissue: ultrasonic, electromagnetic, and thermal. These parameters were found to be due to glucose-related shifts in ion concentration, density, compressibility, and hydration of both cellular and extracellular compartments of the tissue. This device is used in patients with prediabetes and type 2 diabetes mellitus. A clinical trial conducted on 17 subjects showed that 98.0% of the readings were acceptable.26

  • - Eversense (Senseonics): This device is non-invasive and uses fluorescent light. However, the fact that the device needs to be under the skin and its lifetime is limited to 180 days means that additional research is required to prolong the life of the sensor.12 Figure 4 illustrates how the sensor was inserted under the skin.28

  • - Abbott Freestyle Library (CGM): This device has a handheld reader and a disposable sensor that is attached to the arm. The patient scanned the attached sensor with a meter for glucose reading, as shown in Figure 5. The meter has built-in BG and ketone meters suitable for FreeStyle Optium blood glucose and blood ketone test strips.29 A comparison by Galindo, R.J. and his team were made between FreeStyle CGM and a bedside point-of-care capillary glucose testing (POC). The results showed leaning for lower glucose concentrations in the CGM results. However, its clinical accuracy was acceptable. CGM detected more nocturnal and prolonged hypoglycemic episodes compared with limited daily testing with POC, indicating that this approach has failed to detect these episodes efficiently. Conclusion This study showed a good correlation between CGM taken by an Abbott lifestyle sensor and laboratory device for testing glucose values.30 This device can also be connected to the person’s smart mobile using Bluetooth to give the patient a regular alarm about his glucose level, which automatically collects sensor glucose that provides a good indication of BG values every 15 min, but can only store 8 h of data.

    By observation, patients do not feel comfortable with the CGM alarm every 15 min, and the limited data storage cannot help follow the patient’s health situation.

    We intend to overcome these two gaps using IoT technologies, as will be discussed in the next section.

    In 2024, a new device, QU-GM, was proposed, which is a continuous non-invasive device based on the end-to-end Internet of Things (IoT). The QU-GM device is composed of a PPG sensor, a microcontroller, and a battery. It is a BG measurement system that uses photoplethysmography (PPG) signals, blood pressure, and demographic information. After filtering the collected data, they are sent to the backend server and reported back to the mobile application. The device can be worn as a wrist watch.32

    Recently, IoT-enabled Continuous Glucose Monitors (IAI-CGM) framework has been used to understand user intentions to adopt Internet of Things (IoT)-enabled Continuous Glucose Monitors (CGMs). The framework was used to assess patient acceptance and use of these devices.33 To support our study, we distributed a questionnaire with 11 questions to determine if patients were willing to change their attentions for testing their BG using the new technologies.

fcb97f01-5dc6-452f-91af-87b1eadc64cb_figure2.gif

Figure 2. (a) The CoG device, (b) A cross sectional view of the CoG.25

fcb97f01-5dc6-452f-91af-87b1eadc64cb_figure3.gif

Figure 3. Invasive blood glucose meter GlucoTrack.27

fcb97f01-5dc6-452f-91af-87b1eadc64cb_figure4.gif

Figure 4. Eversion sensor insertion procedure.28

fcb97f01-5dc6-452f-91af-87b1eadc64cb_figure5.gif

Figure 5. Abbott lifestyle, and attached skin sensor.31

III. Questionnaire

Monitoring of blood glucose levels in patients with diabetes is an important continuous procedure. BG monitoring using the traditional method (finger prick) causes patient discomfort, potential infection, and financial burden. For these reasons, the following thoughts became a must:

  • Keeping the patient healthy almost all times without the need for extra assistance.

  • Reduce pain and infections.

  • Enable elder patients to make their health decisions at home and decrease the need to visit diabetic centers frequently.

    A questionnaire survey was distributed to 10 women with Iraqi type 2 diabetes on oral medicine, aged between 45 and 60 years. The goal is to obtain information about the daily behavior of diabetic patients in Iraq and to know if they have the desire to use new IoT technologies such as CGM devices with skin sensors. The shaded cells in Table 1 concentrate on the use of the new technology to test the BG level. The procedure first started by checking the glucose level using both the BGM by finger prick (traditional method) and the CGM sensor meter (using Abbott lifestyle device) at the same time. The questionnaire was then completed. Table 1 shows that patients with diabetes in Iraq depend on others in deciding their lifestyle and that they need to learn more about new technologies. The table shows that 9 out of 10 patients did not like finger prick testing, but 8 out of 10 patients felt uncomfortable using the CGM meter because they heard an alarm every 15 min.34 This was the reason for starting this work because reducing the CGM device’s alarms while testing the BG level may change a patient’s mood and make him feel comfortable and willing to use CGM. The idea is to let the alarm work only when the BG is at a critical level (above 200 mg/dL or lower than 70 mg/dL), while the alarm stops when the BG is in the range (of 70–180 mg/dL). This enhancement can only be achieved by connecting CGM to a personal smart device.

Table 1. The questionnaire results after testing the glucose level using both the finger prick and a CGM sensor meter for 10 women with type 2 diabetes.34

QuestionYesNo Abstain
Do you trust your professional who help you to make your decision91-
Do you feel that diabetes affects every part of your life10--
Do you think that decision regarding daily diabetes care should be based only on finger prick73-
Do you ask the professional about the latest way to check the glucose level28-
Do you think that using two ways for testing glucose level is better than one37-
Do you feel that finger prick is painful and uncomfortable91-
Do you check the markets for new way to check glucose level19-
Would you trust sensor meter to be used daily for checking your glucose level541
Do you feel uncomfortable with sensor meter that show you the result of glucose level every 15 min82-
Do you need more information about how sensor meter works10--
Would you change the way of checking your glucose level to be by sensor meter only532
Total 100%62.73%34.54%2.73%

IV. Materials and methods

The work is based on the use of an available CGM device in Iraqi’s market with a reasonable price (e.g., the Abbott Freestyle Library) plus a smart device where most people can use such as personal mobile devices. The main idea is to enhance the comfort of the CGM device by connecting it to a program installed in a personal smart device. The suggested method is easy to understand, so a patient can depend on its output without the need for extra assistance. The CGM device can be connected to a personal smart device by using the Bluetooth. Moreover, this connection gives the ability to benefit from the cloud storage to store large BG test results, where the stored data can be used to calculate A1C and estimate A1C (eA1C) using GMI calculation. This means that the installed program algorithms are used to control the CGM alarms and to calculate A1C and GMI every two weeks based on the stored BG test results. If GMI is < 5.7%, means that the patient had a good lifestyle during these past two weeks.

A. Materials

The Abbott Freestyle Library (CGM) was used to monitor the BG, where each sensor lifetime was approximately 14 days. This device can be used for patients aged ≥ 4 years because of its ease of use and can be interconnected with an available smartphone application.35 The only restriction was the alarm sound every 15 min.

The suggested model is considered a new way to let the patient know his health situation only when it is critical and needs further attention by connecting the CGM device to a smart device to avoid unnecessary alarms. For more benefit from the stored BG results in the CGM device, a model is created to calculate the A1C for the patient to let him know if he is in the correct track of his health lifestyle. The personal smart device uses the cloud for extra storage space to collect BG data in a special database (DB) for GMI calculation using data from the past two weeks. The sketch in Figure 6 shows the devices and the connections between them, while the entire algorithm steps are explained in the solution approach subsection.

fcb97f01-5dc6-452f-91af-87b1eadc64cb_figure6.gif

Figure 6. Abbott freestyle libre CGM and IoT technology.

B. Ambulatory Glucose Profile (AGP)

“AGP is considered as the standardized, practical one page report for graphically presenting a summary of glycemic control status in patients with diabetes who use continuous glucose monitoring (CGM) systems as part of their daily diabetes care.” The AGP report consists of three sections.

  • (1) glucose statistics and targets, (2) ambulatory glucose profile, and (3) daily glucose profile.36,37 The International Diabetes Center (DIC) developed a data analysis software program for CGM that considers the time in range (TIR) over a period of time. TIR is a metric of glycemic control that provides more actionable information than A1C alone by establishing target percentages of time in different glycemic ranges to identify the needs of diabetic populations. The target is to have a TIR of 47% and a glucose range of 70–180 mg/d.36,38 A consensus-recommended AGP report for a given patient can be generated in LibreView on a cloud-based platform (http://www.libreview.com). This platform is available for many countries but not for Iraq, which provides the idea for presenting this work to give Iraqi patients a way to manage their own health using this work algorithm that considers the international standardization AGP. AGP shows three levels of glycemic control: in the range between 70 mg/dl and 180 mg/dl, hyperglycemia is gradient from >180 mg/dl to >400 mg/dl (22.2 mmol/liter), while hypoglycemia is considered under 70 mg/dl (3.9 mmol/liter), as shown in Figure 7.39

fcb97f01-5dc6-452f-91af-87b1eadc64cb_figure7.gif

Figure 7. Glucose target ranges and categories.

Dx, diagnosis; DKA, diabetic ketoacidosis; Glu, glucose; Hypo, hypoglycemia; Maj, major; ER, emergency room; admit, admittance.39

C. Methods

Initially, we tested the efficiency of the Abbott freestyle library device by comparing its results with the standard finger-prick BG test for all 10 patients for 24 h. The finger-prick test was performed three times a day (before breakfast, after breakfast, and at night before sleeping), while CGM tests the BG every 15 min. The averages of both tests based on Equation 1 for the finger pick test and Equation 2 for the CGM test are presented in Tables 2 and 3, respectively. The results in Table 3 show the average of the test results every 8 h.34

(1)
Avg.BG=BeforeBKBG+AfterBKBG+TwohBbedBG3
(2)
Avg.BG=i=1n=96xi96

Table 2. The finger prick test for 10 patients in 24 hours.34

No.Before BK (6 am-2 pm)Immediately after BK2 hours before bedtimeTotal SD
1control90959091.620.223
212815912113618.876
392117129112.622.722
4144189161164.623.430
512116011813316.441
6205180174186.313.428
7114135110119.624.826
8132175132146.347.077
9150238165184.335.679
1020027024723910.263
11146166152154.620.223
Mean ± SD143.2 ± 35.627178.9 ± 45.447150.9 ± 40.217157.63 ± 37.84

Table 3. The CGM test from Abbott freestyle libre for 10 patients in 24 hours.34

No.Avg. 6 am-2 pmAvg. 2 pm-10 pmAvg. 10 pm-6 amTotal SD
1control8890.79089.5616.941
2124.3154.9127135.417.683
389.9111.2125108.720.232
4142181.3170164.422.350
5111.3155125130.412.503
6192189169183.31.184
7120122.1120.1120.721.101
8130170.3139.3146.542.111
9149230.3170.6183.330.008
10198250.9249232.68.710
11145.1162.3156.1154.516.941
Mean ± SD127.73 ± 35.319157.24 ± 43.281142.41 ± 38.801155.98 ± 36.64

where xi is the test value every 15 min for a day. The Statistical Package for the Social Sciences software (version 24.0) was used to perform all statistical analyses, normality of data, and parametric statistical tests. Results are presented as (mean ± SD (standard deviation) SD). The independent samples t-test compares the Mean of two groups to assess the significance of differences between the groups P < 0.05. The findings of the study demonstrated that, significantly at P < 0.05, there were no differences between the means for three-time tests of patients in both methods based on the standard AGP report. Figure 8 shows the results of the comparison, where the data are almost similar for both tests, which means that the CGM device with the skin sensor that we used can measure blood glucose efficiently.

fcb97f01-5dc6-452f-91af-87b1eadc64cb_figure8.gif

Figure 8. (a) Diagram (b) Scatter plot.

Both shows the mean and standard deviation for finger prick and CGM tests for 10 patients in 24 hours.34

Usually, an A1C test is done every two or three months in the laboratory to check for improvement or worsening of BG; however, a significant change in BG can be known within two weeks. We used the stored data for 14 days to calculate A1C in our algorithm by using a standard formula to estimate A1C (eA1C) based on GMI, which gives an approximate value to the laboratory A1C.

The GMI is the average (mean) glucose value based on data collected by the CGM. The average glucose values from the CGM to obtain the GMI percentage can be calculated using Equation 3.

Both A1C (eA1C) and GMI provide information to maintain better control over blood sugar levels, and eA1C% can be obtained using Equation 4. The estimated A1C can then be calculated using Equation 5.42

(3)
GMI(%)=3.32+0,02392[meanCGMdata(mgdl)]
(4)
eAIC(%)=(GMI(mgdl))+46.728.7
(5)
AIC(mgdl)=(10.929(AIC(%)2.15))18.05

The term mean CGM data is the average glucose level over a specific period and can be found from Equation 6.

(6)
GrandAvg.BG=j=114xii=1n=9696j

According to,40,41 the GMI and A1C may not agree if the patient has acute hyperglycemia due to illness, steroid administration, or diabetic ketoacidosis; thus, GMI will be higher than the laboratory A1C measured at the same time and vice versa, where the GMI is lower than A1C if the patient suffers from hypoglycemia. This fact is used to alert the patient with a colored alarm (red, yellow, or green) to indicate hyperglycemia, hypoglycemia, or stability.

Another idea suggested to be added to this work is the use of a Markov chain to predict the GMI and A1C for the next 14 days. This can be done based on the stored data of past GMI results to allow the patient to find a healthy lifestyle. Because CGM provides glucose readings every few minutes, from this data, a calculation is made to estimate the GMI for each day using Equation 3.

The Markov chain concept was adopted from a previous study.43 Their idea was to collect sequential blood sugar measurements and define discrete states: hypoglycemic, normal, and hyperglycemic. A transition probability matrix (TPM) was used to show the likelihood of moving from one state to another. The model is used to predict or detect anomalies in blood sugar behavior.

The idea of our suggestion is to build a three-state (Si, where i = 0 to 2) model, where state S0 indicates good control (stable in BG), while S1 and S2 indicate moderate and poor control, respectively. The intervals based on BG average are as: 7.3% < GMI < 7.8% for S0, 7.8% < GMI < 8.0% for S1, while GMI < 7.2% or GMI > 8.0% would be for S2.

The state of transition is a change from one state to another based on the next period, where this transition state is a random process and is expressed in the form of probability. The probability of reaching state j from state i in one day is Pij . To calculate the state distribution after 14 days, we used Equation 7, where π0 represents the initial state vector. This gives the probability of being in each state after 14 days.

(7)
π14=π0×P14

In this way, an estimated result can be calculated to help the patient find if he is on the right track of his lifestyle or if the lifestyle needs some changes.

D. Solution approach

This study aims to benefit from IoT technologies by connecting a CGM device to a personal smart device to transfer data between them and to be stored in a cloud database. Another benefit of this connection is that it enhances the CGM device based on the three proposed algorithms.

Algorithm 1 calculates the patient’s BG level based on AGP standardization, so that a message appears every 8 h to the smart device instead of the 15 min alarm during a stable health situation; otherwise, an emergency message will appear.

Algorithm 2 uses the data stored to calculate A1C every 14 days, based on the standard in Table 4. Then, a comparison between GMI and A1C will start, and the result is sent to the patient as a colored alarm either red, yellow, or green to indicate hyperglycemia, hypoglycemia, or being stable, respectively.

Table 4. A difference in laboratory-measured A1C and GMI and what it may mean.40

A1C vs. GMI
8.0% vs. 7.8%A1C is like GMI means that the average CGM glucose level is about what would be predicted from the measured A1C. (Green color)
8.0% vs. 7.2%A1C is higher than GMI means that the average CGM glucose level is lower than what would be predicted from the measured A1C. (Yellow color)
7.2% vs. 8.0%A1C is lower than GMI means that the average CGM glucose level is higher than what would be predicted from the measured A1C. (Red color)

Algorithm 3 calculates the GMI every two weeks depending on the stored data, and a calculation is also performed to estimate the result for the next 14 days to help the patient to control his lifestyle. A suggested idea may be added to the algorithm to estimate A1C every 3 months for more accurate results based on the stored outputs.

The solution is based on Equation (2) to calculate the mean glucose of one day and on Equation (6) to obtain the mean CGM data, while Equations (4) and (5) are used to calculate the predicted GMI for the next 14 days based on the Markov chain model using three states, as mentioned before.

Algorithm 1. Beginning the process in personal smart device.

1: Receive BG level from CGM every t = 15 min, where (t) is the device alarm duration

2: Check BG level according to AGP

3: If 70 ≥ BG ≥ 180 then nothing happened go to step 4

  Else

   If 181 ≥ BG ≥ 400 then alarm the patient with red color

   Else Alarm the patient with yellow color

   Endif

  Endif

4: t = t + 15

5: If time t = 8 hours (480 min) go to step 6

  Else continue with step 1

  Endif

6: If t = 24 hours (1440 min) calculate Avg.BG for every day using Equation 2

7: Go to Algorithm 2

Algorithm 2. Calculating A1C.

1: When time t = 8 hours then alarm the patient about his situation

2: Counting days (j) for every j = j + 1

3: If j < 14 days then store data and go to Algorithm 1

  Else

   If j = 14 calculate A1C using Equations 5 and let j = 0

   Endif

  Endif

4: Calculate GMI% using Equation 3

5: Compare the A1C% result with GMI% according to Table 4

6: Show patient the result as a colored message (either red, yellow or green) on his smart device

7: Go to Algorithm 3

Algorithm 3. Predicting GMI% for the next 14 days.

1: Use the stored GMI% for the past 14 days

2: Processing Markov Chain with three stages to predict GMI

4: If the predicted GMI is red or yellow the patient needs to control his lifestyle

  Else (green) means that the patient is on the right track of lifestyle

  Endif

5: Counting days (k)

6: If k = 90 then recall data from the cloud database to calculate GMI% and Show result to patient with colored alarm

  let k = 0

  Else go to step 7

  Endif

7: Go to Algorithm 1

V. Conclusion

The work in this research discusses many subjects and can be divided into five goals: (1) First is to give an overview of non-invasive glucose level monitoring optical principles with the latest researches about it. Then, a summary of non-invasive glucose level monitoring technologies is provided. (2) To make this work a reference to the latest works in the field of diabetic diseases, where IoT technologies used to support patients individually. This done by reviewing many commercial CGM home devices with reasonable prices and granted by the WHO. Then a comparison between finger prick and CGM is done to show the CGM efficiency (all volunteers used Abbott Freestyle Libre CGM). (3) To study how Iraqi patients with type 2 diabetes feel when using a CGM device. A questionnaire was administered to 10 Iraqi women with type 2 diabetes and aged–45-60 years old. The questionnaire discussed and showed that diabetes patients in Iraq need more education about using new IoT technologies. (4) Suggesting a model with three algorithms that installed in the patient’s personal smart device and connected to a CGM device to control his/her own lifestyle. first algorithm enhances the CGM device by showing a message every 8 h in a normal situation rather than every 15 min to make it more comfortable. (5) CGM connected to smart device has the ability to store data in cloud storage, where the second algorithm uses this data to calculate GMI% every two weeks. Also, GMI% will be predicted for the next 14 days based on the Markov chain to indicates the lifestyle of the patient during the past period.

In the future, we plan to implement our model in a smart device to obtain real results so that we can prove the high benefit of this model in managing a patient’s BG efficiently and comfortably. Moreover, a suggested idea can be added to estimate A1C every 3 months using a machine learning algorithm for more accurate results based on the stored outputs.

Ethical considerations

Ethical approval was obtained from the Ethics committee of University of Baghdad/Institute of Laser for Postgraduate Studies (Approval number: 576) signed by the chairman of the research ethics committee Prof. Dr. Abdulhadi Al-Janabi. All participants provided written informed consent after receiving a detailed explanation of the study purpose, procedures, potential risks, and benefits. Participants used CGM devices in their usual environments, such as their homes or offices, without the need to visit a laboratory or health center. All data were handled in accordance with the confidentiality and privacy guidelines.

Comments on this article Comments (0)

Version 1
VERSION 1 PUBLISHED 23 Jan 2026
Comment
Author details Author details
Competing interests
Grant information
Copyright
Download
 
Export To
metrics
Views Downloads
F1000Research - -
PubMed Central
Data from PMC are received and updated monthly.
- -
Citations
CITE
how to cite this article
Basheer HS and Al-Sharqi AA. Advancing Diabetic Care Through Non-Invasive Glucose Monitoring Using Optical Sensors and IoT Technologies [version 1; peer review: awaiting peer review]. F1000Research 2026, 15:108 (https://doi.org/10.12688/f1000research.173871.1)
NOTE: If applicable, it is important to ensure the information in square brackets after the title is included in all citations of this article.
track
receive updates on this article
Track an article to receive email alerts on any updates to this article.

Open Peer Review

Current Reviewer Status:
AWAITING PEER REVIEW
AWAITING PEER REVIEW
?
Key to Reviewer Statuses VIEW
ApprovedThe paper is scientifically sound in its current form and only minor, if any, improvements are suggested
Approved with reservations A number of small changes, sometimes more significant revisions are required to address specific details and improve the papers academic merit.
Not approvedFundamental flaws in the paper seriously undermine the findings and conclusions

Comments on this article Comments (0)

Version 1
VERSION 1 PUBLISHED 23 Jan 2026
Comment
Alongside their report, reviewers assign a status to the article:
Approved - the paper is scientifically sound in its current form and only minor, if any, improvements are suggested
Approved with reservations - A number of small changes, sometimes more significant revisions are required to address specific details and improve the papers academic merit.
Not approved - fundamental flaws in the paper seriously undermine the findings and conclusions
Sign In
If you've forgotten your password, please enter your email address below and we'll send you instructions on how to reset your password.

The email address should be the one you originally registered with F1000.

Email address not valid, please try again

You registered with F1000 via Google, so we cannot reset your password.

To sign in, please click here.

If you still need help with your Google account password, please click here.

You registered with F1000 via Facebook, so we cannot reset your password.

To sign in, please click here.

If you still need help with your Facebook account password, please click here.

Code not correct, please try again
Email us for further assistance.
Server error, please try again.