1 Introduction

Diabetes is a chronic condition that occurs when the body unable to produce enough insulin or failed to use the produced insulin effectively. Insulin is a hormone which regulates blood glucose level by delivering glucose to the body cell to live. If the glucose cannot enter into the cells to be burnt as energy, it remains in the blood to cause diabetes. Over time, high blood glucose can affect major organs of the body which may led to serious health incidence including strokes, heart attacks, kidney failure, nerve damage, blindness, infections etc. There are two main types of diabetes. In case of Type-1 diabetes, insulin is not produced by the body at all and therefore need to inject insulin regularly for whole life span of a person. People with Type-2 diabetes, usually body can produce required insulin until certain age but reduce overtime or unable to utilize properly as they grow older [1]. Thus two medical terms hypoglycaemia (reduced glucose level) and hyperglycaemia (high glucose level) can cause severe damage to almost whole body system, which often leads to serious body consequences.

Diabetes and its complications are the major causes of death in most countries [2]. According to International diabetes federation, it caused 5 million death with health care cost of $1197 billion worldwide in 2015 and by 2040 there will be around 642 million diabetes patients worldwide [2]. Despite of the increasing rate, there is lack of immunization and treatment to prevent this disease thus frequent measurement and monitoring of blood glucose become an essential part of diabetic management. Present method of measuring is invasive using commercial glucometer. A blood sample is needed to be drawn either from vein or by pricking the fingertip and analysis by glucometer device [3]. This process is painful and creates discomfort for the patients specially who need to perform it several times a day to have a good metabolic body control. Thus development of a reliable non-invasive continuous glucose monitoring technique is in demand for last four decades. A good number of non-invasive technologies were invented but failed to retain required standard of accuracy thus couldn’t survive in the market due to inconsistent result. Vashist [4] and Chi-Fuk So et al. [5] comprehensively analyzed most of those technologies along with advantages, disadvantages and future challenges. It was obligatory for the researcher to pursuit and attempted in for new technologies. Some recent non-invasive technologies includes Nuclear magnetic resonance spectroscopy [6], Electrocardiogram signal [7], Graphene based nanosensor [8], Saliva analysis [9], Thermal spectrum measurement [10], Breath acetone analysis [11], Impedance spectroscopy [12], Scattering spectroscopy [13] etc. which could attain initial success. GlucoTrack DF-F from Integrity applications Inc [14] claims to achieve high accuracy of measuring blood glucose concentration level (BGCL) non-invasively with combination of three technologies (ultrasonic, electromagnetic and thermal). The system is quite expensive and need periodical calibration.

In the field of exploring potential non-invasive and safe solutions another alternative can be ultra-wide band (UWB) imaging technique with artificial intelligence (AI) which have already been used successfully to diagnose various diseases including early cancer and/or BGCL [15,16,17,18,19,20,21,22,23,24]. This type of system relies on changes in dielectric properties (permittivity and conductivity) of target tissues or cells. UWB technology has significant advantage due to its easy penetration and non-ionizing nature [16]. In [23, 24], authors presented a proof of concept by using UWB with traditional artificial neural network (ANN) to detect BGCL through hand tissues. Inspired by [23, 24], the performance of UWB along with deep artificial neural network (DANN) is investigated here to observe the change of blood dielectric properties as a function of both blood glucose concentration and frequency. Ear lobe is used here as a body part for better performance. The rest of the paper is organized as follows. The proposed method with system development is presented in Sect. 2, followed by the results and discussion in Sect. 3, and conclusion at the end of this article.

2 The proposed system

2.1 System work flow

Usually, the received wave forms of an UWB signal pulse through different objects are changed due to variation of objects dielectric properties (permittivity, conductivity). The value of permittivity and conductivity decrease when the glucose concentration increases and the difference is more apparent in higher frequency range [17]. Thus the changes of dielectric properties of blood plasma can be considered as a function of both glucose concentration and frequency [18]. By keeping this in mind, we have conducted experimental investigation on a wide range of people as follows.

A pair of homemade UWB Micro strip patch bio-antenna was used for this experiment. Here, bi-static radar technique was followed using a transmitting antenna (Tx) and receiving antenna (Rx) based system model as shown in Fig. 1. Tx antenna transmitted UWB pulse train through human ear lobe, forward scattered signals were received by Rx antenna. Experimental system setup is shown in Fig. 2.

Fig. 1
figure 1

Theoretical system model

Fig. 2
figure 2

Experimental system setup

Received UWB waveforms have different values than the ideal waveform, which were considered for pattern recognition purpose. The total number of received wave forms were 208 collected from the human subjects for this experiment.

Human earlobe contains small amount of fat with no bone having many nerve endings which are bundled along with a number of capillary blood vessels. It does not contain cartilage thus has sufficient blood supply with relatively relaxed flow. Hence, the earlobe is a very convenient place on the body to measure blood glucose levels [19].

2.2 The integrated system

A Pair of UWB antenna was connected with UWB transceivers through coaxial cables as hardware part of the system. To receive and analysis signal data, a computer was connected to transceiver through a soft interface and Ethernet cable. The software part of the system resides here including signal processing, feature extraction and recognition. The integrated system is shown in Fig. 3.

Fig. 3
figure 3

Integrated system

2.3 Hardware

Main hardware used to integrate the whole system was UWB antenna and transceiver. To obtain better performance, a pair of custom made UWB rectangular patch bio-antenna was  used. It was a pyramidal shaped antenna fabricated on FR4 dielectric substrate with dielectric constant (ε) of 4.3, loss tangent of 0.025, the substrate diameter of 30 × 26 × 1.6 mm3 and thickness of 1.6 mm. A reflector with dimension of 60 × 45 × 0.01 mm3 was attached at the back of the antenna ground plane at a distance of 12.8 mm as shown in Fig. 4a. The antenna bandwidth was enhanced with three I shaped slots inscribe at the centre of the antenna in three levels to maintain the gain and directivity as per need [20]. The antenna was optimized and simulated using Agilent advanced design system (ADS) and computer simulation technology (CST) software. Then fabricated on FR4 and tested using Agilent PNA (the design details can be seen in [20]). The measured bandwidth, gain and directivity of the antenna are 8.77 GHz (3.23 GHz to 12 GHz), 6.09 dB and 8.15 dBi respectively by maintaining the return loss S11 < − 10 dB. These antennas were mounted over a clip and fixed to fit flexibly over ear lobe as shown in Fig. 4b.

Fig. 4
figure 4

a Rectangular wearable patch antenna. b Antenna fixed with flexible clip

PulsON ranging and communications module, P400 RCM [21] was used here as UWB transceiver. It is single board USB transceiver enables high precision distance measurement coupled with wireless data communication. Connection between antenna and transceiver were made with RG174 coaxial cable with a male/male SMA connector having impedance of 50 Ω and length of 0.5 m. Two Ethernet cables were used to connect PC with P400 RCM as can be seen in Fig. 3.

2.4 Software module

Software module detail for the whole experiment is described as follows:

2.4.1 Data acquisition

Physical data were collected from students and local volunteers. All participants gave written consent prior to participate. For collection of actual blood glucose reading (BGCL) from participants (subject’s), traditional Glucometer (ACCU-CHEK) was used.

The considered volunteers/human-subjects were within the age range from 20 to 65 years old, including both male (~ 50%) and female (~ 50%). The day prior to data collection, the volunteers were briefed about data collection procedure, advised to have similar meals (content and amount) and fast overnight (8 to 10 h). The next day, data collection was conducted in the morning (8–10 am) at university medical clinic, in a usual noisy room environment with temperature 24 °C to 25 °C, in presence of doctors and nurses. After signing the consent form, the body temperature, blood pressure and pulse rate was measured for each volunteer. Then, an UWB signal was recorded through a volunteer’s ear-lobe while the doctor drawn a blood sample from blood vessel from his/her hand. The collected blood samples were investigated clinically by doctors/medical staffs to measure actual BGCL reading and compare with the output of the proposed system. The average thickness of earlobes of all human subjects was around 3.4 mm (Here to mention, the impact of the variation of earlobe thickness to BGCL reading is under investigation, and not focus of this article. It is another thorough study and targeted for our next publication).

UWB transceiver generates and transmit the signal pulse with centre frequency of 4.7 GHz from antenna placed one side of left ear lobe for each subject individually. Forward scattered pulses were recorded at the receiver antenna placed on the other side of the ear lobe as shown in Fig. 2. The transmitted UWB pulse sample and corresponding received samples depending on BGCL is shown in Fig. 5. Collection of data physically (traditional) and through UWB system were done in parallel for each subject individually to make sure data consistency.

Fig. 5
figure 5

One transmitted UWB pulse sample and corresponding received samples depending on BGCL status

2.4.2 Signal pre-processing and feature extraction

Initially, the received analog signals were processed through segmentation. Then analog to digital conversion was done using discrete cosine transform (DCT) as shown in Eq. (1). Finally, each UWB pulse was converted to 1632 discrete data points. These heavy data were difficult to handle, hence feature extraction was considered for smooth and handy data processing towards achieving a light-weight and/or affordable system.

$$F\left( n \right) = \left( {\frac{2}{N}} \right) \mathop \sum \limits_{i = 0}^{{\frac{1}{2}N - 1}} \cos \left[ {\frac{\pi \cdot n}{2 \cdot N} \left( {2i + 1} \right)} \right] \cdot X\left( i \right)$$
(1)

where N is the data samples and \(X\left( i \right)\) is the received UWB signal.

2.4.3 Feature extraction

The negative effect of large number of data points to our system includes longer computational time, computational complexity, and handling difficulty. Saleh et al. [15], used principle feature analysis (PFA) extraction where 50–300 larger DCT values were considered instead of 1632. Reza [20] furthered enhanced Saleh’s [15] method to reduce 1632 data points to four characteristic features, which are standard deviation (SD), mean (μ), maxima and minima using Eqs. (2) and (3) respectively. But their accuracy was not as expected due to the dependency of features mean and SD. To overcome that, we have considered all four independent features, which are SD, median, maximum and minima. These extracted four features are able to simplify the system with enhanced processing speed and reduced computational complexity.

$$SD = \sqrt {\frac{1}{N - 1}} \mathop \sum \limits_{i = 1}^{N} \left[ {A_{i} - \mu } \right]^{2}$$
(2)
$$\mu = \frac{1}{N}\mathop \sum \limits_{i = 1}^{N} A_{i}$$
(3)

N represent total number of sample, \(A_{i}\) is the number of data points and µ is the mean of A, SD is the standard deviation.

2.5 Deep artificial neural network model

The four point independent features were then analysed for pattern recognition using MATLAB R2012a software. Feed forward back-propagation deep combination of artificial neural network (DANN) has been considered here, which is an enhancement of artificial neural network (ANN) [22] in terms of multiple layers and functions due to its simplicity and reasonable accuracy level. The hidden layers, and the number of neurons in hidden layers were tested from 20 to 4 to find the optimum value. The test was also conducted on other artificial intelligence (AI) models/algorithms [which are radial basis function (RBF) network, support vector machines (SVM), feed forward artificial neural network (ANN), random forest (RF), K-nearest neighbor (kNN), Naive Bayes (NB), and multilayer perceptron (MPL)] to find their efficiency, hence to justify our DANN model. The test results are presented in Table 1, which shows the efficiency in terms of converging time with lowest error (or highest accuracy) for each case. Therefore, the number of layers adjusted accordingly for all test cases.

Table 1 Comparisons between artificial intelligence methods (algorithms)

Here, the employed algorithms to train the networks were Levenberg Marquart (trainlm), scaled conjugate gradient (trainscg), back-propagation (trainrp), deep combination (trainlm, trainscg and trainrp). Lastly, the mean square error Levenberg Marquart (trainlm) was used to enhance the entire training procedure.

Table 1 shows, our proposed DANN  performances (BOLD), which is much better than other algorithms because we considered deep combination of hidden layers (multiple) and the training functions (trainrp, trainscg and trainlm), which contributes towards faster converging (0.2 sec, which is at least 50% less) with higher accuracy (88.51%, which is at least 10% increased) than other considered AI methods.

These best results were exhibited by 8 × 8 deep combination of DANN with eight (8) hidden layers and eight (8) neurons in each layer respectively. Figure 6 shows the developed DANN model with 8 hidden layer, four neurons as input (maxima, minima, median and SD) and one neuron in output layer. The used activation functions for input and output layers were tan-sigmoid and linear transfer function respectively. Equation (4) was used to get ANN regression.

$${\text{y}} = \sum\limits_{{{\text{i}} = 1}}^{\text{n}} {w_{i} } x_{i} + w_{0} x_{0} \,$$
(4)

where x, w, and y stands for input data set, weight vector and output value respectively. For respective algorithm, the value of w was modified and adjusted according to the mean square errors (MSE) at the output level in each iteration. The MSE was calculated using Eq. (5).

$$MSE = \frac{1}{N}\sum\limits_{n = 0}^{N - 1} {\left[ {y(n) - y_{m} (n)} \right]^{2} }$$
(5)

where \(y(n)\) and \(y_{m} (n)\) represent the target and output respectively and n is the number of used data points.

Fig. 6
figure 6

Neural network model

The total collected physical UWB data signals were 208, which was divided into three groups as follows:

  1. (1)

    Training: 146 samples (70%).

  2. (2)

    Validation: 31 samples (15%).

  3. (3)

    Testing: 31 samples (15%).

3 Results and discussions

The DANN parameters and functions are shown in Table 2. Using these parameters and functions, the training, testing and validation performance of collected UWB data signals is shown in Fig. 7 where best validation performance was observed at the 4th epoch with MSE value of 3.1305.

Table 2 Considered deep combination of ANN (DANN) parameters and functions
Fig. 7
figure 7

Validation performance

We wanted to observe the variation of DANN (system) output with the actual (physical/clinical) data. Accuracy of the system performance has been evaluated using Eq. (6). Here, average actual value means average of all 208 BGCL samples collected physically using glucometer. The average system output indicates the average DANN output of 208 input signals. The average observed DANN output was 5.58 mmol/l which is 16% less than average actual measurement (average of 208 samples), as shown in Table 3.

Table 3 Relative accuracy of the system
$$Accuracy = \frac{system\; output}{actual \;value} \times 100\%$$
(6)

Real time testing was done with 20 new datasets (not considered in training, testing and validation process) to confirm the accuracy level of the system. A portion of this testing (10 samples) is shown in Table 4.

Table 4 Relative accuracy on real time blood glucose concentration level

The system shows consistent results with average accuracy of around 88%, showing the system efficiency with reliability. Compared to other existing related technologies, this system is simple to operate and cost effective without any calibration prerequisite.

Human subjects have different body mussel composition with flash, skin, blood vessel, fat, bone etc. which cause deviation in change of dielectric properties. Received signals usually get affected by these artefacts. Previously this system was executed through hand mussel where the accuracy observed 82% [23]. Thus present result shows 6% improvement and confirms that use of DANN with the generation of signal through a body part with steady and sufficient blood contents exhibit a better performance.

4 Conclusion

The DANN and UWB based blood glucose level estimation and monitoring without using any blood sample is proposed here. This system works with approximately 88% accuracy, showing its suitability to be implemented in practice in near future. The system is non-invasive, user friendly in terms of GUI, affordable and is suitable to be used both by doctors at hospital and end users at home for regular BGCL measurement. In future, the numbers of pathological blood investigations can be computed through one system with having single input. Increased sample size, optimum deep learning AI and reduced signal to noise ratio while measuring data can have led to better accuracy, which is presently under investigation by our research team.