Professional Documents
Culture Documents
CHAPTER 1 To 9
CHAPTER 1 To 9
INTRODUCTION
1.1 INTRODUCTION
1
project is aimed in automating the intravenous fluid monitoring system using
Arduino Uno R3. IV volume and fluid level can be precisely controlled. Also
human can contact the system through GSM.
2
Fig. 1.1 Flow Chart for Sample Processing
3
1.4 GROUPING AND SUB-GROUPING
This technique may be used for emergency ABO grouping tests or for
preliminary grouping particularly in an outdoor camp. Slide or tile testing is not
recommended for routine use because it is not reliable for
1. Weakly reactive antigens on cells
2. Serum grouping with low titre anti-A or anti-B
3. The disadvantages of tile method are less sensitive than the tube test
4. Drying up of the reaction mixture can cause aggregation of cells , giving
false positive results
5. Weaker reactions are difficult to interpret.
Microwell plate consists of a small tray with 96 small wells each of which
can hold about 200- 300μ1 of reagent. Microplate technology is gaining widespread
popularity due to increasing workload in blood transfusion laboratories and recent
availability of packaged automated system.
1. U-type well
2. V-type well
3. Flat-bottom
4
The U-type well is generally used in red cell serological work as it is easier
to read the results in U- bottom plates. The advantages of microplate ABO
grouping
1. Small volumes and low concentration of sera and red cells are used, making
it cost- effective.
2. Easy handling of a microplate, which can replace 96 test tubes.
3. Batching of samples can be achieved with considerable economy in space
and time.
4. If larger laboratories acquire microplate hardware items e.g. reagent
dispenser, sample handler and cell washer it may further reduce the
operation time.
5. Large batches of plates can be pre-dispensed with antisera and reagent red
cells before testing.
1.4.3 Tube Method
Test tubes either of glass or plastic may be used. The tube technique is more
sensitive than slide technique for ABO grouping. The advantages of tube method
1. It allows for fairly long incubation without drying up of the tubes contents.
2. Simplicity of reading and grading of results.
3. Clean and more hygienic.
1.5 ABO BLOOD GROUP
ABO blood group plays vital role in transfusion medicine. Summary chart
of ABO blood grouping is shown in fig. 1.2.
5
4. Type O can donate blood to anyone because they have no antigen. They can
receive blood only from individuals of type O.
6
been diagnosed with diabetes and are monitoring their glucose levels are often
tested both while fasting and after meals. For random and timed tests, follow the
health practitioner's instructions. A glucose tolerance test requires that the person
fast for the first blood sample and then drink a liquid containing a specified amount
of glucose, subsequent blood samples are drawn at specified times.
Light acts as a source for optical signals which is allowed to pass through the
finger. Arduino is used as control unit. Compared with voltage level, blood group is
identified.
The existing method introduces an architecture that uses Near Infrared (NIR)
spectroscopy to determine blood glucose levels based on transmittance spectroscopy
on the ear lobe.
2. Similarly, any medical condition that inhibits blood flow to the ear lobe
will result in erroneous readings.
7
The objective of this work is to design a non-invasive method for identifying
blood group typing and to measure the blood glucose level using infrared and near-
infrared (NIR) sensors.
CHAPTER 2
LITERATURE SURVEY
2.1 INTRODUCTION
A literature review functions as a tool to provide a background to the work
by summarizing the previously published work. A detailed study on blood group
typing and blood glucose measuring is discussed. 21 technical papers were studied
and inferences have been summarized in the survey. Based on the survey we have
developed ‘Non-invasive determination of ABO blood group typing and blood
glucose level’.
8
Gayathri T. et al., (2018) proposed an idea which embeds light as a source
for optical signals which is allowed to pass through the finger and detector detects
the varying voltage. As the optical property of blood varies for different antigen
present on the RBC, the voltage value obtained also gets varied.Depending upon
the output voltage of the detector, blood groups are determined. The process is
uncomplicated and convenient to determine ABO blood group in a short period of
time, so it can be economically used for blood test during hospitality, emergencies,
war fields and infants.
Gaurav S. et al., (2018) have designed the technique that embeds light
scattering method as light passes through the capillaries for dynamically classifying
blood cells based on specific antigens shape present on the Red Blood Cell (RBC)
surface. Camera is used to capture the scattered light pattern, scattered from the red
blood cells to determine the blood type. The patient’s blood group can be identified
by using the reflected/scattered light from RBC. It overcomes the present
difficulties of manual process and also no problem of bleeding, since it does not
make use of blood sample.
Nishtha Nagar. et al., (2015) has implemented the light from the pulsating
LED is passed through the blood sample via an optical fiber cable and the
transmitted light is then detected and is converted into voltage. The transmitted
light from different blood groups will have different intensities and thereby
different voltage levels, based on which, blood groups are classified.The blood
group detection unit is a quick and easy way for determining the blood group and
comes as a great help during the times of emergency. Moreover, the mobile patient
monitoring system is a compact and easy to operate device that can be used in
ambulances, hospitals, clinics and also at homes.
Selvakumari T.M. (2011) approached the method that the light pulses from
the LED are allowed to fall on blood samples by using optical fiber cables. The
other end of the optical cable is coupled to a pin-photo diode, which acts as a photo
detector. Due to the optical variations of different blood groups there will be
9
corresponding voltage variations in the output of the photo detector.Depending
upon the output voltage of the detector, blood groups are determined.
NRMSE=∑(Glu(t)−G(t))2N (2.1)
MAPE=1N∑|Glu(t)−G(t)Glu(t)| (2.2)
where Glu(t) was the real glucose value, G(t) was the estimation glucose value
and N is the number of test points. It overcomes the problem of the time delay
between physiological parameter changes and glucose level changes.
10
CHAPTER 3
BLOCK DIAGRAM
3.1 INTRODUCTION
The block diagram shown in fig. 3.1 illustrates the proposed system.
The Raspberry Pi is a very cheap computer, it also provides a set of GPIO (General
Purpose Input/Output) pins that allow to control electronic components for physical
computing and explore the Internet of Things (IoT). The whole system works on a
Raspberry pi. The heart beat sensor and glucose sensor connected to raspberry pi
through an analogue to digital converter as the sensors create analogue values. The
digital values are sent to Raspberry pi.
11
LCD
In-built
Heart Beat
Sensor Wi-Fi
Raspberry
ADC Pi Zero
NIR
Glucose
Sensor
12
The fig. 3.2 shows the heart beat sensor. When the finger tissue is
illuminated using a light source, the light is transmitted after getting modulated i.e.
a part getting absorbed by the blood and the rest being transmitted. This modulated
light is received by the light detector.
A comparator is used which compares the output voltage from the LDR to
that of the threshold voltage. The threshold voltage is the voltage drop across the
LDR when the light with fixed intensity, from the light source falls directly on it.
When a human tissue is illuminated using the light source, the intensity of the light
reduces. As this reduced light intensity falls on the LDR, the resistance increases
and as a result the voltage drop increases.
13
NIR signals. Near-Infrared is chosen because of its sensitivity, selectivity, low cost,
and portability.
The fig. 3.3 shows the MCP3208. An Analog to Digital Converter (ADC) takes
an analog input signal and converts the input, through a mathematical function, into
a digital output signal. While there are many ways of implementing an ADC, there
are three conceptual steps that occur.
` A Liquid Crystal Display (LCD) is a thin, flat electronic visual display that
uses the light modulating properties of liquid crystals (LCs). LCDs do not emit
light directly. An LCD consists of two glass panels, with the liquid crystal
14
material sand witched in between them. When the LCD is in the off state, light
rays are rotated by the two polarizers and the liquid crystal, such that the light
rays come out of the LCD without any orientation, and hence the LCD appears
transparent. When sufficient voltage is applied to the electrodes, the liquid crystal
molecules would be aligned in a specific direction. The light rays passing
through the LCD would be rotated by the polarizers, which would result in
activating / highlighting the desired characters.
3.6 RASPBERRY PI
15
CHAPTER 4
HARDWARE DESCRIPTION
The fig. 4.1 shows the circuit diagram of hardware. The components are
interconnected with Raspberry pi. The heart beat sensor and glucose sensor
connected to raspberry pi through an analog to digital converter as the sensors
create analog values. The digital values are sent to Raspberry pi and it is displayed
on LCD.
16
Fig. 4.1 Circuit Diagram
The basic heartbeat sensor consists of a light emitting diode and a detector
like a light detecting resistor or a photodiode. The heart beat pulses causes a
variation in the flow of blood to different regions of the body. When a tissue is
illuminated with the light source, i.e. light emitted by the led, it either reflects (a
finger tissue) or transmits the light (earlobe). Some of the light is absorbed by the
blood and the transmitted or the reflected light is received by the light detector. The
17
amount of light absorbed depends on the blood volume in that tissue. The detector
output is in form of electrical signal and is proportional to the heart beat rate.
This signal is actually a DC signal relating to the tissues and the blood
volume and the AC component synchronous with the heart beat and caused by
pulsatile changes in arterial blood volume is superimposed on the DC signal. Thus
the major requirement is to isolate that AC component as it is of prime importance.
The fig. 4.2 shows the heart beat detection circuit.
To achieve the task of getting the AC signal, the output from the detector is first
filtered using a 2 stage HP-LP circuit and is then converted to digital pulses using a
comparator circuit or using simple ADC.
18
called near infrared, the region from 3 µm to 6 µm is called mid infrared and the
region higher than 6 µm is called far infrared.
The world is not full of black bodies; rather it comprises of selectively radiating
bodies like rocks, water, etc. and the relationship between the two is given by
emissivity (E).
19
Emissivity depends on object colour, surface roughness, moisture content, degree
of compaction, field of view, viewing angle & wavelength.
4.4 ELEMENTS OF INFRARED DETECTION SYSTEM
A typical system for detecting infrared radiation is given in the fig. 4.3.
20
1. Medium wave IR (MWIR:3-5 µm)
2. Long wave IR (LWIR:8-14 µm)
21
In NIR spectroscopy, the unknown substance is illuminated with a broad-
spectrum (many wavelengths or frequencies) of near infrared light, which can be
absorbed, transmitted, reflected or scattered by the sample of interest. The
illumination is typically in the wavelength range of 0.8 to 2.5 microns (800 to
2500nm). The light intensity as a function of wavelength is measured before and
after interacting with the sample, and the diffuse reflectance, a combination of
absorbance and scattering, caused by the sample is calculated. Light is absorbed in
varying amount by the sample at particular frequencies corresponding to the
combinations and overtones of vibrational frequencies of some bonds of the
molecules in the sample. Specifically, the bond vibrations between oxygen and
hydrogen (OH), carbon and hydrogen (CH), and nitrogen and hydrogen (NH) result
in NIR absorbance bands.
Not all compounds absorb infrared light, and it is only those that do
which can be measured by NIR. Water does, and so do organic compounds such as
protein, fat, starch, sugar and many others. These compounds can be measured by
NIR, as long as they are present at a level which is not too low. Due to
advancements in laser and detector technology, it has been known that light in the
near IR region in the range of 700–1400 nm, and even further from the visible
region, is the most efficient region for light to be transmitted through biological
tissues. This is called the “near infrared region,” also known as the “therapeutic
window”.
22
6. Nearly universal application (any molecule containing C-H, N-H, S-H
or O-H bonds)
7. With minimum sample preparation demands.
4.6 ADVANTAGES OF NEAR-INFRARED
1. Highly flexible form of analysis
2. Cost-effective
3. Capable of examining irregular surfaces
4. Non-destructive
5. Requires little or no sample preparation
4.7 ANALOG TO DIGITAL CONVERTER
23
ii. 400 μA max. active current at 5V
13. Industrial temp range: -40°C to +85°C
4.7.3 Description
24
Differential Nonlinearity (DNL) is specified at ±1 LSB, while Integral Nonlinearity
(INL) is offered in ±1 LSB (MCP3204/3208-B) and ±2 LSB (MCP3204/3208-C)
versions. Communication with the devices is accomplished using a simple serial
interface compatible with the SPI protocol. The devices are capable of conversion
rates of up to 100 ksps. The MCP3204/3208 devices operate over a broad voltage
range (2.7V - 5.5V). Low current design permits operation with typical standby and
active currents of only 500 nA and 320 µA, respectively. The MCP3204 is offered
in 14-pin PDIP, 150 mil SOIC and TSSOP packages. The MCP3208 is offered in
16-pin PDIP and SOIC packages.
4.7.4 Applications
1. Sensor Interface
2. Process Control
3. Data Acquisition
4. Battery Operated Systems
4.8 RASPBERRY PI
The Raspberry Pi is a credit-card sized computer that plugs into your TV
and a keyboard, which can be used for many of the things that your average
desktop does - spreadsheets, word-processing, games and it also plays high-
definition video. The Raspberry Pi Zero pin diagram is shown in fig. 4.6.
25
Fig.4.6 Raspberry Pi Zero Pin Diagram
26
switch mode, but the voltage regulator should still do its job OK as long as there is
a bit of voltage headroom to its Vout (3.3V).
27
4.8.2 Raspberry Pi Zero features and specifications
1. Low cost
2. Consistent board format form
3. It has 10x faster processing
4. It has super connectivity
28
CHAPTER 5
SOFTWARE DESCRIPTION
5.1 INTRODUCTION
29
5.1.2 Expressions
1. Addition, subtraction, and multiplication are the same, but the behaviour
division differs. There are two types of divisions in Python. They are floor
division and integer division. Python also added the ** operator for
exponentiation.
2. Python uses the words and, or, not for its Boolean operators rather than
used.
3. Python has a type of expression termed a list comprehension.
4. Python has been successfully embedded in many software products
5. Many operating systems include Python as a standard component. Python is
used extensively in the information security industry, including in exploit
development.
6. The Raspberry Pi single-board computer project has adopted Python as its
main user-programming language.
5.1.3 Setup
30
CHAPTER 6
DISPLAY DEVICE
31
Fig. 6.1 LCD Display
32
initialization should be done. LCD is used to display the blood group and blood
glucose level.
6.2.1 LCD Pin description
The function of each pins of LCD is described below VCC, VSS and VEE
while VDD and VSS provide +5V and ground, respectively, VEE is used for
controlling LCD contrast.
6.2.2 Register select
There are two important registers inside the LCD. The RS pin is used for
selection as follows. If RS=0, the instruction code register is selected, allowing the
user to send a command such as clear display, cursor at home, etc. If RS=1 the data
register is selected, allowing the user to send data to be displayed on the LCD.
6.2.3 Read/Write
R/W input allows the user to write information to the LCD or read
information from it. R/W=1 when reading; R/W=0 when writing.
6.2.4 Enable
The enable pin is used by the LCD to latch information presented on its data
pins. When data is supplied to data pins, a high to low pulse must be applied to this
pin in order for the LCD to latch in the data present at the data pins.
6.2.5 D0 - D7
The 8-bit data pins, D0 – D7, are used to send information to the LCD or
read contents of the LCD’S internal registers. There are also instruction codes that
can be sent to the LCD to clear the display or force the cursor to the home position
or blink the cursor. RS=0 is used to check the busy flag bit to see if the LCD is
ready to receive information. The busy flag is D7 and can be read when R/W=1 and
RS=0, as follows: if R/W=1, RS=0.when D7=1, the LCD is busy taking care of
internal operation and will not accept any new information, when D7=0, the LCD is
ready to receive new information.
33
Fig. 6.2 LCD Interfacing with Raspberry Pi Zero
RS=0…Instruction register
RS=1…Data register
34
5 R/W Read/Write
R/W=1…Read
R/W=0…Write
6 EN Enable
35
CHAPTER 7
RESULTS
The blood groups and blood glucose levels are determined non-invasively
without puncturing the skin. The fig. 7.1 shows the module of non-invasive
determination of blood group and blood glucose.
36
The blood group (A, B, O) are identified by using intensity values. The
intensity values obtained experimentally are listed below in the table 7.1.
1. Cost Effective
2. Wireless
3. Compact
4. No side effects
CHAPTER 8
CONCLUSION
The proposed system based on Raspberry pi is found to be more compact,
user friendly and less complex, which can readily be used in order to perform
38
several tedious and repetitive tasks. Though it is designed keeping in mind about
the need for hospital, it can be extended for other purposes such as commercial &
research applications. In this method blood group and blood glucose level are
identified within a short time and concluded that blood glucose level are 99%
correlated with clinical values for non-diabetic patients.
REFERENCE
39
rat skin’, Journal of diabetes science and technology 4, 1041–1054
(2010).
[2] Amir O., D Weinstein M.D. Silviu Zilberman M. Less D. Perl-Treves H.
Primack A. Weinstein E. Gabis B. Fikhte and A. Karasik., ‘Continuous
noninvasive glucose monitoring technology based on occlusion
spectroscopy’, Journal of Diabetes Science and Technology Vol. 1 no. 4
pp. 463-469 July 2007.
[3] Ashok V., Rajan Singh S , Nirmal Kumar A., ‘ Determination of blood
glucose concentration by back propagation neural network’, Indian
Journal of Science and Technology., 2010 Aug; 3(8): 916-18.
[4] Chowdhury MK., Srivastava A, Sharma N, Sharma S., ’ Challenges &
Counter measures in Optical Noninvasive Blood Glucose Detection’,
International Journal of Innovative Research in Science, Engineering and
Technology. 2013 Jan; 2(1): 324-9.
[5] Gaurav S., Mehare, Chetan G.,Pinjarkar., ‘A
Noninvasive Way to Determine Blood Type Based on Image processing’,
International Research Journal of Engineering and Technology, Volume
05
[6] Gayathri T., Rekha M., ‘Noninvasive Blood group detection using light
emitting diode’ , International Journal of Pure and Applied Mathematics,
Volume 119.
[7] Geng Z., F. Tang, Y. Ding, S. Li and X. Wang., ‘Noninvasive
Continuous Glucose Monitoring Using a Multisensor-Based Glucometer
and Time Series Analysis’, Scientific Reports, vol. 7, no. 1, 2017.
Available: 10.1038/s41598-017-13018-7.
40
[9] Narkhede, S. Dhalwar and B. Karthikeyan., ‘NIR Based Non-Invasive
Blood Glucose Measurement’, Indian Journal of Science and
Technology, vol. 9, no. 41, 2016. Available:
10.17485/ijst/2016/v9i41/98996.
41
on Signal Processing and Integrated Networks (SPIN), Noida, 2014, pp.
591-594. doi: 10.1109/SPIN.2014.6777023.
[17] Anas MN, Nurun NK, Norali AN, Normahira M., ‘ Noninvasive blood
glucose measurement’, IEEE EMBS Conference on Biomedical
Engineering and Sciences (IECBES)., 2012 Dec;p. 503-7.
[18] Paul B., M.P. Manuel Z.C Alex., ‘Design and development of noninvasive
blood glucose measurement system’, Physics and Technology of Sensors
(ISPTS) 2012 1 International Symposium Pune India 7-10 March 2012 pp.
43-46 .
[19] Sämann, A., Fischbacher, C., Jagemann, K., Danzer, K., Schüler, J.,
Papenkordt, L. and Müller, U. (2000)., ‘Non-invasive blood
glucosenmonitoring by means of near infrared spectroscopy: investigation
of long-term accuracy and stability’, Experimental and Clinical
Endocrinology & Diabetes, 108(06), pp.406-413.
42
43