Design of photoelectric micro-loss blood glucose monitoring system based on MSP430

Publisher:泥匠手Latest update time:2011-08-27 Source: EEWORLDKeywords:MSP430 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

With MSP430 processor as the core, combined with photoelectric micro-loss blood glucose monitoring technology, and using three-probe fiber bundle sensor, a new blood glucose monitoring system is designed.
Keywords: MSP430; micro-loss; blood glucose; fiber optic sensor

The World Health Organization pointed out in a 2007 report that there are currently 170 million patients with diabetes mellitus (DM) in the world, and it is predicted that this number will increase dramatically to 299 million by 2025. Diabetes has become the fifth leading cause of death in the world [1] . DM patients in China account for 3.3%. Insulin therapy is the main treatment for all insulin-dependent diabetics. The basis for determining insulin dosage is to closely monitor blood sugar control. Among the commonly used methods for evaluating the condition, venous blood sugar and capillary blood sugar measurement are currently the most direct methods for evaluating blood sugar control, and the latter is more suitable for family and patient self-blood sugar monitoring. Studies have shown that long-term and strict blood sugar monitoring can prevent or delay the occurrence and development of diabetic complications [2] . Therefore, this paper designs a monitoring system suitable for diabetic patients to achieve blood sugar self-monitoring at home.
1 Design principle
1.1 Measurement principle

Drop a blood sample on a test paper containing glucose oxidase (GOD). The glucose in the blood sample is oxidized by GOD to gluconic acid. This substance reacts with another enzyme in the reagent, peroxidase, to generate a light-absorbing substance. During the test, the test paper is placed in the optical path of the reflective intensity modulated fiber optic sensor, as shown in Figure 1. The entire sensor system includes a light source, a transmitting fiber, a receiving fiber, and a photodetector [3]. The light emitted by the light source is filtered and transmitted to the surface of the blood sample to be tested through the transmitting fiber. Due to the modulation of the light-absorbing substance, the reflected light carrying blood sugar concentration information is received by the receiving fiber, and finally the photoelectric receiver converts the received light into an electrical signal. When the light source power and the distance between the fiber probe and the reflecting surface remain unchanged, the ratio of the light intensity of a certain wavelength received by the receiving fiber to the incident light intensity of the wavelength corresponds to the blood sugar concentration. Based on the detected light intensity signal, the blood sugar concentration can be calculated. However, the main disadvantage of this fiber optic sensor is that when the light source excitation is unstable, the light source power will change, resulting in measurement errors. In addition, the different reflectivity of the reflector surface and the transmission loss of light in the optical fiber will cause errors in the measurement. Therefore, this paper proposes a three-probe optical fiber sensor compensation measurement method to eliminate the influence of various unstable factors in the measurement environment.

1.2 Principle of compensation measurement method of three-probe fiber bundle sensor
Since the traditional reflective intensity modulation fiber sensor uses a single optical fiber to send and receive very weak light energy, this design uses a fiber bundle composed of thousands of optical fibers to send and receive light, and adds a reference optical path to form a three-probe fiber bundle sensor, as shown in Figure 2. In order to make the reference light have a reference significance for the measurement light, it is required that the light spots irradiated on the sample to be measured by the reference and measurement light are consistent. Therefore, the entire fiber optic sensor probe adopts a concentric circle structure, with two transmitting fiber bundles as the inner circle, which are randomly and evenly distributed, and the outer ring is the receiving fiber bundle. When there are enough measuring fibers and reference fibers, the light spot area irradiated on the object by the two wavelengths is approximately equal. In the actual production process, the measurement and reference fiber bundles each use 4,000 glass optical fiber strands, so it can be approximately considered that the measurement light and the reference light are in the same optical path, and its structure is shown in Figure 3. According to spectral analysis theory, light with a wavelength of 635nm cannot be effectively absorbed by the absorbing substances in the blood sample, and is only related to factors other than the absorbing substances in the blood sample, so it can be used as a reference wavelength. The light with a wavelength of 700nm is related to both the concentration of the absorbing substance and factors other than the absorbing substance, so it can be used as the measurement wavelength. In Figure 2, the light emitting diodes D1 and D2 emit light with the same intensity and wavelength of 635nm and 700nm, respectively, which are incident on the optical fiber, are guided out by D3 after reflection, and then separated into lights of different wavelengths by the spectroscopic element and filter. The light intensity ratio reflects the size of the blood sugar concentration. This type of optical fiber probe is closely arranged without gaps, with the same optical fiber size and optical path, and can be easily made into a strip shape. It can automatically compensate for the influence of changes in light source intensity, reflectivity, and environmental factors on the measurement accuracy.

2 Hardware Design
2.1 System Design

The monitoring device consists of a CPU, a three-probe fiber bundle sensor, an amplifier circuit, an LCD, a keyboard, a Y-type beam splitter, an alarm part, a filter, etc., as shown in Figure 4. Its working process is: the program solidified in the CPU makes its I/O port control the LED drive circuit to generate a reference wavelength and a measurement wavelength of 10kHz, and the three-probe fiber bundle sensor irradiates the measurement light and the reference light to the blood sample to be tested, and the reflected light is introduced into the Y-type beam splitter. After passing through the filter, the two beams of light with different wavelengths enter the logarithmic and differential amplifiers to convert into electrical signals, and then enter the CPU for A/D conversion and data analysis, and the results are displayed on the LCD.

2.2 Control circuit and sensor design
The control circuit consists of CPU, CD4049, LCD, light source, keyboard and other devices, as shown in Figure 5.


The CPU uses TI's high-end processor MSP430F149 , which is an ultra-low power, high-performance 16-bit embedded processor with advanced RISC structure and operates at 32MHz [4] . Timer 0 is used to control the P1.3 pin to generate a square wave with a period of 10kHz to control the light source. Since the MSP430F149 has an internal integrated 60KB programmable Flash that can be erased and written 10,000 times, there is no need to expand the program memory, which greatly saves the circuit board manufacturing area and improves the integration. The display part is composed of a 122×32 graphic dot matrix LCD EW12A03GLY. The LCD read and write pins E1, E2, and A0 are controlled by the CPU's P2.0, P2.1, and P2.2 respectively. VLED and VLSS provide backlight voltage for the LCD screen. Since the MSP430F149 has an internal integrated high-precision 12-bit A/D converter, there is no need to add an additional A/D chip. The output of the differential amplifier is connected to the P6.0/A0 pin of the MSP430F149 for A/D conversion after filtering. 2.3 Design of photoelectric conversion and amplifier circuit According to theoretical analysis, the measurement of blood glucose concentration is converted into the measurement of light intensity ratio, which is converted into the measurement of current ratio after photoelectric conversion. Therefore, logarithmic amplification and differential amplification are required to obtain the current ratio. The LOG114 amplifier of TI is selected, which integrates two logarithmic amplifiers, two independent differential amplifiers and an internal reference voltage of 2.5V to meet the detection needs. This amplifier is dedicated to detecting the photodiode signal output by the optical fiber cable without the need for an external circuit. It supports a dynamic range of 8 orders of magnitude from 100pA to 10mA, and has high-speed and high-precision performance, thereby avoiding the secondary error caused by the circuit composed of discrete components, which is very suitable for light control systems. The circuit is shown in Figure 6. The two optical signals are input from pins 1, 3, 4, and 5 respectively. The amplification factor can be adjusted by adjusting the ratio of R1/R2. The relationship between the output voltage and the input current is:


3 Software Design

The software structure mainly consists of modules such as the main program, interrupt subroutine and display program. The program flow is shown in Figure 7.

The basic process is: press the start button, the system generates a 10kHz pulse at P1.3 to control the light source, so that the light source emits pulses with the same frequency, intensity, and wavelengths of 635nm and 700nm respectively; MSP430F149 selects channel A0 for A/D conversion through ACTL (2-4). When the conversion is completed, the EOC signal becomes high, and the interrupt flag ADIFG is set to activate the interrupt; the 12-bit result ADAT (low 12 bits are valid) generated by the ADC is stored in the interrupt program, and after sampling 10 times, the sampling and pulse sending are stopped. Analyze the sampled data. If the measured value exceeds the preset warning value, an alarm will sound, and the measurement result will be displayed on the LCD, and the main program will be returned to wait for the next measurement interrupt. 4 Experimental results This system is used to collect blood samples between two meals. The sampling data is shown in Table 1. The measurement results are fitted and compared with the results of the Prestige blood glucose meter using MATLAB, as shown in Figure 8.


The experimental results show that the measurement results of this system reflect the blood glucose concentration well, and it has the advantages of low power consumption and portability. Diabetic patients can easily achieve self-monitoring at home.

Keywords:MSP430 Reference address:Design of photoelectric micro-loss blood glucose monitoring system based on MSP430

Previous article:Design and Implementation of a Function Generator Based on Single Chip Microcomputer
Next article:Fault Diagnosis Method and Implementation of Single Chip Microcomputer Application Circuit Board

Recommended ReadingLatest update time:2024-11-16 19:42

Design of industrial signal generation and measurement instrument based on MSP430F42x
0 Introduction   This paper introduces the generation and measurement principles of industrial signals, and mainly studies the design of industrial signal generation and measurement instruments based on TI's MSP430F42x.   Industrial signal generation and measurement instruments are very important detection instru
[Analog Electronics]
Design of industrial signal generation and measurement instrument based on MSP430F42x
Design of Portable Heart Rate Meter Based on MSP430
In the field of consumer electronics, portable electronic products are becoming more and more popular among consumers due to their small size and light weight, and have become an indispensable part of people's lives. Based on this idea, we designed a portable heart rate meter, which can replace the traditional metho
[Microcontroller]
Design of Portable Heart Rate Meter Based on MSP430
MSP430 P1.1 P1.2 P1.3 Second function
Timer A can output the set frequency on P1.1, P1.2, and P1.3 pins without using interrupt program in UP mode, CONTINUE mode, and UP/DOWN mode. In UP/DOWN mode, the frequency calculation is different from that in the first two modes, because in UP/DOWN mode, CCIFG is set to 1 when TACCRX-1 changes to TACCRX, while TAIFG
[Microcontroller]
MSP430F249EEprom read and write
/********************************************************************** **                                                        ** File : EEPROM.c | Eeprom write and read |                                     ** Version : 1.0      ** Description: Eeprom write and read                                                
[Microcontroller]
MSP430F249SPI+TLC549
/********************************************************************** **                                                        ** File : SPI.c | TLC549 |                                     ** Version : 1.0      ** Description: SPI interface TLC549                                                                    
[Microcontroller]
MSP430F149 microcontroller drives DS2762 to read and write C language program
Based on the MSP430F149 microcontroller driving the DS2762 read and write operation C language program, it can respond to keystrokes or other signals, read current and voltage, and perform corresponding processing. //#include msp430x14x.h #define uchar unsigned char #define uint unsigned int uint A,B,C,D,E,F,G,H
[Microcontroller]
High-quality code writing for MSP430
1) Generally, under the premise of meeting the computing requirements, try to choose a data type with fewer bytes defined for the variable. For example, the most commonly used int and char, int is 16 bits, char is 8 bits, if not necessary, do not use int, and it is better to use unsigned char when using char. During r
[Microcontroller]
Another UART implementation of MSP430
  1 #include "msp430g2553.h"   2    3 typedef unsigned char uchar;   4 typedef unsigned int  uint;   5    6 #define LED     BIT0   7 #define TXD     BIT1                            // TXD on P1.1   8 #define RXD    BIT2                             // RXD on P1.2   9 #define POUT    P1OUT  10   11 #define BITTIME_1b 13
[Microcontroller]
Latest Industrial Control Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号