Académique Documents
Professionnel Documents
Culture Documents
METHODOLOGY
Figure 3.1 illustrates the block diagram of the proposed portable non-invasive
glucose monitoring system. The system starts operating once the transmitter
(in Figure 3.2) transmits an infrared signal which is exposed to the glucose solution or
blood sample. The glucose molecule in the glucose solution or blood sample reflects
the infrared signal to the receiver (photodiode). The photodiode (in Figure 3.3)
receives the infrared signal which is converted to an equivalent voltage value. The
Arduino Uno microcontroller, uses these voltage value as a parameter to calculate the
glucose concentration and determine the insulin dose needed corresponding to the
users body mass index (BMI). Finally, the measured glucose concentration and insulin
dose will displayed on the LCD screen.
Figure 3.1: Block diagram of the portable non-invasive blood glucose monitoring
device
3.2 Hardware Design
The main hardware components in the system consists of five (5) parts which
includes a transmitter (LED1550E), a photodiode (FGA10), an operational amplifier
(OP491), microcontroller (Arduino Uno), and a liquid crystal display (LCD) keypad
shield.
The NIR detection circuit consists of a transmitter circuit and a receiver circuit
(as shown in Figure 3.4a and Figure 3.4b respectively), with both transmitter and
receiver positioned side by side and points to a reflective surface. both transmitter and
receiver operates at 5V and is powered by the Arduino microcontroller[27]. The
transmitter (LED1550E), as shown in Figure 3.2 is an ultra-bright NIR LED which
emits infrared light with a spectral output between 1400 nm-1700 nm centred at 1550
nm. Referring to the data sheet in Appendix C, it is composed of heterostructures which
is grown on Indium Gallium Arsenide Phosphide (InGaAsP) substrate and is
encapsulated in a 5 mm (in diameter) hemispherical clear epoxy casing. The maximum
reversed voltage or the maximum output voltage of the NIR is 5V[27].
Figure 3.2: Transmitter (LED1550E)
The receiver circuit (as shown in Figure 3.4b) consists of a photodiode, a noise
filter and an operational amplifier. A low pass filter is connected to the voltage source
to reduce the noise frequency from the source. The FGA10 photodiode is suitable to
be used with the transmitter as it has a wavelength sensitivity which is within 800 nm-
1800 nm[28]. The photodiode is used to measure continuous wave fibre light source
and converts the optical power received from the transmitter to an electrical current
value. In this project, the electrical current is converted into voltage by placing a load
resistor (RL) at the anode as shown in Figure 3.4b.
The value of the output voltage depends on the intensity of the infrared signal
it receives, which is between 0 V to 5 V. Since the output voltages from the photodiode
are usually less than 1 V, an operational amplifier is used to amplify the output signal.
Figure 3.4 (b) shows the complete schematic diagram of the detection circuit.
(a)
(b)
Figure 3.4: Schematic diagram of the NIR detection circuit. (a) Transmitter circuit.
(b) Receiver (photodiode) circuit.
3.2.2 Implementation of LCD Keypad Shield
The LCD keypad shield, as in Figure 3.5 is developed to be used with any
compatible Arduino boards. It consists of six (6) momentary push buttons and a 2x16
LCD screen. It does not require any soldering, only to be plugged to the main Arduino
board. Pin 4 to pin 9 of the main Arduino board is used to control the LCD display,
while pin 8 and pin 9 are used for Register Select (RS) and Enable pin. The LCD
keypad shield is used to key in the height and weight of the users and also to display
the measured glucose concentration and calculated insulin dose needed. Figure 3.6 (a)
and (b) show the schematic diagrams of the push buttons and the LCD screen.
(a
)
(b)
Figure 3.6: Schematic diagram of the (a) push buttons (b) LCD screen
3.3 Software Development
Firstly, the user is required to enter their height and weight. The users BMI
will be calculated to determine whether the user is in the underweight, normal or
overweight category. The sensor will then start to measure the glucose concentration
of the glucose solution sample. If the measured glucose concentration is less than
70mg/dL, no insulin is needed for the user. However, if the measured glucose
concentration is more than 70 mg/dL, a corresponding insulin dose is needed, (based
on the tables for each BMI category in the flow chart). Both values of measured.
glucose concentration as well as the required insulin dose will be displayed on the LCD
screen.
Start
BMI=
No No
BMI<25 25BMI<30 BMI30
Glucose No Glucose No
Glucose No <70 <70
<70
Yes Yes
Yes
No insulin No insulin
No insulin