Académique Documents
Professionnel Documents
Culture Documents
Working Electrode
Counter Electrode
RF
-
VREF R1 VOUT to ADC
Op amp
Current-to-Voltage Converter
The test strip forms the main biochemical sensor where The solution sample is placed on the test strip and the
the sample of solution is placed. The test strip has the reaction of the glucose with the enzyme takes place.
following electrodes: Electrons are generated during the chemical reaction.
Working electrode: Electrons are produced here Flow of electrons will correspond to the flow of current
during the chemical reaction. This electrode is through the working and the reference electrode. This
connected to the current-to-voltage amplifier. current will change according to the glucose
concentration. The current is measured using a
Reference electrode: Held at a constant voltage
transimpedance amplifier (current-to-voltage
with respect to the working electrode to push the
converter) for the measurement with an Analog-to-
desired chemical reactions.
Digital Converter (ADC).
Counter electrode: Supplies current to the
working electrode. The output of the transimpedance amplifier will be seen
as a variation in the voltage with varying glucose
Most of the glucose meter designs use only two concentrations in the solution.
electrodes, reference electrode and working electrode.
A precise reference voltage (VREF) is applied to the
reference electrode and a precise bias voltage (VBIAS)
is applied to the op amp. This way the precise potential
difference is maintained across the working electrode
and the reference electrode. This voltage is the
stimulus which drives the test strips output current.
The magnitude of the output current is then used to
calculate the number of electrons produced.
Temperature Sensor
Push Button 1
(MCP9700A) ADC
Current-to-Voltage
Converter LCD
Working
Electrode
Op amp
Biochemical
Sensors
(test strip) VBIAS
Reference DAC
Electrode VREF
Strip Sense
EEPROM Timer1
Crystal
MCU
(PIC16LF178X)
Battery
The following are the features of the PIC16LF178X The PIC16LF178X device starts capturing the voltage
device and some of the peripherals in its integrated at the ADC channel after about 1.5 seconds of placing
measurement engine: the solution sample. An average of about 2048 ADC
Extreme low-power (XLP) operation readings is taken. This average value is substituted into
the regression equation.
Two op amps
2x8-bit DAC The glucose concentration is determined using this
regression equation and the value is displayed on the
12-bit Successive Approximation (SAR) ADC,
LCD in units of mg/dl or mmol/l. Up to 32 glucose
up to 11 channels
readings can be stored in the internal EEPROM and
Internal EEPROM can be viewed later on the LCD. The power to the
Inter-Integrated Circuit (I2C) Glucose Meter Demo Board can be supplied from the
16-bit Timer1 on-board lithium battery (3V 225 mAH CR2032).
When the solution sample is placed on the test strip, Note: The time to start capturing the ADC values
glucose undergoes a chemical reaction and electrons (i.e., one second to 1.5 seconds) and the
are produced. The flow of electrons (i.e., the current number of ADC readings taken should be
flowing through the working electrode) can be modified to match the type and
measured. This current will change according to the characteristics of the test strip to be used.
glucose concentration. The current is measured with
the help of the current-to-voltage conversion using the
internal op amp of the PIC16LF178X device and the
filtering of high-frequency signals. The filtered signal is
fed to the 12-bit ADC module of the device.
Reset
Initialize Peripherals
Strip
Idle State Inserted?
Strip Sleep
No
Inserted? Mode
Yes S1
S3
Pressed? Pressed?
Active
State
Memory
Set Date and Time
Yes Mode
Read ADC No Yes
No No
Yes
S1
Wait 1.5 sec Pressed?
Read ADC
Calculate Glucose
Concentration
Y = mXadc + C
OPAxIN+ 0x
OPAxEN
400 mV DAC_Output 10 +
OPAxSP OPAxOUT
OPAxIN- OPA
FVR Buffer 2 11 (to ADC)
-
(from working
OPAxNCH<1:0> C1
electrode)
R1
100K
Expected battery life for the 3V, 225 mAHr coin cell is
26517 hours (i.e., 3.03 years).
Test Strip Connector Reset Switch (S2) Switch (S3) Switch (S1)
Programming Header
FIGURE 8: GLUCOSE METER DEMO BOARD WAITING FOR TEST STRIP INSERTION
FIGURE 10: GLUCOSE METER WITH STANDARD TEST SOLUTION PLACED ON TEST STRIP
FIGURE 11: GLUCOSE METER DEMO BOARD AFTER CALCULATING THE GLUCOSE
CONCENTRATION IN THE SOLUTION
FIGURE 12: GLUCOSE METER DEMO BOARD FOR SETTING DATE AND TIME
FIGURE 13: GLUCOSE METER DEMO BOARD AFTER DATE AND TIME SET
REFERENCES
PIC16(L)F1784/6/7 28/40/44-Pin 8-Bit Advanced
Analog Flash Microcontrollers (DS41637).
AN1560
AN1560
APPENDIX C: GLUCOSE METER REFERENCE DESIGN PCB LAYOUT
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchips Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as unbreakable.
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchips code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
QUALITY MANAGEMENT SYSTEM Microchip received ISO/TS-16949:2009 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
CERTIFIED BY DNV Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Companys quality system processes and procedures
are for its PIC MCUs and dsPIC DSCs, KEELOQ code hopping
== ISO/TS 16949 == devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchips quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.