Académique Documents
Professionnel Documents
Culture Documents
A THESIS
Submitted by
BACHELOR OF ENGINEERING
DEPARTMENT OF
ELECTRONICS & TELECOMMUNICATION ENGINEERING
NAGPUR
APRIL 2017
1
CERTIFICATE
ABSTRACT
An Intelligent drip rate monitoring and early warning system. The principle
of drip count is used by the system to achieve a contact measurement of liquid
level on the simulated infusion bottle. LM324 is used to monitor the speed of
infusion. The signal which has been handled appropriately can be treated to
achieve the high level, the remaining liquid volume of the infusion bottle, infusion
speed and the remaining time, which can be showed on the LCD digital display,
and the designed system can offer alarm at the same time when the infusion is
nearly completed. What's more, in order to monitor the infusion points centralized
and convenient, the target system also provides extensible drip count. The result
shows that the system works stable, and it has the features of low cost, high
precision, practicability.
Even though many advanced automatic devices are used, ensuring the safety of the
patients during IV period is still a challenging issue. Intravenous (within vein) therapy
is the infusion of liquid substances directly into the vein. Therapies administered
intravenously are often called specialty pharmaceuticals or drips. Even though
monitoring the IV fluid level of patient is a small thing for a nurse but it will affect the
patient health severely during illness if the assist does not monitor it regularly. This
may leads to blood loss or backflow of blood to IV tube from their vein. This results
in the reduction of haemoglobin level of patients and it may also make the person
anaemic.
Our proposed idea based on IV fluid level indicating system where IR sensor,
receiver and buzzer are used to provide intimation to control room either to change
the intravenous set or to switch it off. This will reduces the stress in continual
monitoring by the doctor or nurse at an affordable cost.
ACKNOWLEDGEMENT
2
Completing a task is never a one mans effort. Several prominent people have
helped in the present project work; their collective efforts have led in presentation of
this Dissertation work, it is hard task to mention them all. It is an immense pleasure in
expressing genuine and profound gratitude towards the guide Prof.Mr. Sanjay
Ganar and for their valuable suggestions, guidance, constant support, and
encouragement during completion of this dissertation work. I am grateful to Prof.
Mohd. Nassiruddin H.O.D, Department of Electronics and Telecommunication
Engineering, Anjuman College of Engineering and Technology, Sadar, Nagpur for
their valuable suggestions and guidance.
------------------
Vejainti Sharma
VIIIth Semester B.E. in
Electronics & Telecomm. Engineering
A.C.E.T, Nagpur
3
TABLE OF CONTENTS
LIST OF TABLES V
LIST OF FIGURES VI
2 CIRCUIT DIAGRAM 5
2.1 POWER SUPPLY 6
2.1.1 CIRCUIT DIAGRAM OF POWER SUPPLY 6
2.1.2 TESTING OF POWER SUPPLY 7
2.1.3 DIODE 7
2.1.4 FUNCTION 9
2.1.4.1 FORWARD VOLTAGE DROP 9
2.1.4.2 REVERSE VOLTAGE DROP 9
2.1.5 RECTIFIER DIODE (LARGE CURRENT) 10
2.1.6 BRIDGE RECTIFIER 10
2.2 FILTER 11
2.3 LED 12
3 COMPONENT DIRCRIPTION 14
3.1 ATMEGA 16 14
3.1.1 FEATURES 14
3.2 PIN DIAGRAM OF ATMEGA 16 16
3.3 BLOCK DIAGRAM OF ATMEGA 16 19
3.4 COMPATIBILITY 21
3.5 LCD 22
3.5.1 PIN DIAGRAM AND ITS DISCRIPTION 22
3.6 LM 324 24
4
3.6.1 FEATURES 25
3.7 TRANSFORMER 26
3.7.1 EQUIVALENT CIRCUIT OF TRENSFORMER 27
3.8 CAPACITOR 28
3.8.1 CERAMIC CAPACITOR 29
3.9 CRYSTAL OSCILLATOR 29
4 SOFTWARE REQUIRMENT 35
5.1 CODING 35
5.2 COMPILER 38
5 PLANNING 54
6 PCB DESIGNING 55
7.1 ETCHING OF PCB 55
7.2 DRILLING 56
7.3 MOUNTING 56
7.4 TESTING 57
7 CONCLUSION 59
REFERENCES 60
PROJECT MODEL 61
LIST OF TABLES
5
LIST OF FIGURES
FIGURENO TITLE
PAGE NO.
3.3 LCD 22
3.5 Transformer 26
3.7 Capacitor 28
LIST OF ABBREVIATIONS
CHAPTER 1
This chapter emphasises on the need of liquid drip rate monitoring and alert
system is concerned.
1.1 INTRODUCTION
Liquid Drip rate monitoring system and early warning give benefits in
hospital. Generally, because the population growth will increase, the requirement for
health care also will increase. Hence it's a compulsory thing for everybody in this
world to require care of their health properly. During this situation, maintaining
patients safety is the prime most priority to be given in all hospitals. Now days,
several automatic health observation devices are developed to make sure patients
safety and to scale back the strain of the doctors. The invention of such devices
introduces a forceful modification in medical field for monitoring the parameters like
heart beat rate, detection of heart failure symptoms and far additional automatically
with knowledge base nature.
1.3 WORKING
i).Microcontroller
ii).LCD
iii).LM324
iv).Buzzer
v).The working of the project is as follows:
1.4 LITERATURE
CHAPTER 2
CIRCUIT DIAGRAM
6
Figure 2.2 Circuit Diagram with LM324 interface with Controller Along With
LCD Warning System
infusion must be avoided. These would include resuscitation, the delivery of toxic
therapies and in the young and elderly.[5]
Power supply is that the 1st and most significant a part of our project.
within the planned project the power supply circuit is use to provide the regulated
supply to the IC`s employed in the project. Power supply circuit consists of step down
transformer, rectifier circuit, filter circuit and regulator IC.[11]
The entire components are tested with the help of multimeter. Once
testing of component we tend to fix the component on the wet board. Currently we
tend to provide the availability to the transformer and input wave form is to be
checked. This procedure is at the same time applied for Rectifier, Filter and Regulator
circuit. We tend to check the wave form however it's not according to our assumption,
8
as a result of the wave form is started so it goes to decreasing. As a result of this the
output voltage is also decreases.[11]
2.1.3 DIODE
2.1.4 FUNCTION
Diodes permit electricity to flow in just one direction. The arrow of the
circuit symbol shows the direction during which the current will flow. Diodes are the
electrical version of a valve and early diodes were truly known as valves.
Electricity uses up a little energy pushing its means through the diode,
rather than a person pushing through a door with a spring. This suggests that there's a
little voltage across a conducting diode, it's known as the forward voltage drop and is
regarding 0.7V for all normal diodes that are made up of Si. The forward voltage drop
of a diode is nearly constant regardless of the current passing through the diode so that
they have a really steep characteristic (current-voltage graph).
Ordinary diodes may be split into 2 types: Signal diodes that pass little
currents of 100mA or less and Rectifier diodes which may pass large currents.
Additionally there are LEDs (which have their own page) and Zener diodes.
All rectifier diodes are made up of Si and thus have a forward voltage drop
of 0.7V. The table shows maximum current and maximam reverse voltage for a few
common rectifier diodes. The 1N4001 is suitable for many low voltage circuits with a
current of less than 1A.
2.2 FILTER
The capacitor-input filter, also known as pi filter because of its shape that
look just like the Greek letter pi, may be a kind of electronic filter. Filter circuits are
used to remove unwanted or undesired frequencies from a signal. typical capacitor
input filter consists of a filter capacitor C1, connected across the rectifier output, an
inductor L, in series and another filter capacitor, C2, connected across the load, RL. A
filter of this type is meant to be used at specific frequency, typically mounted by the
AC line frequency and rectifier configuration. When utilized in this service, filter
performance is usually characterized by its regulation and ripple.
2. The capacitor C2 bypasses the AC component that the inductor had did
not block. As a result only the DC component seems across the load RL.[11]
13
2.3 LED
video displays, and sensors to be developed, while their high switching rates are also
useful in advanced communications technology. Infrared LEDs are also used in
the remote control units of many commercial products including televisions, DVD
players, and other domestic appliances.[11]
15
CHAPTER 3
COMPONENT DIRCRIPTION
Let us study about the components in detail one by one. So, first take a look on
microcontroller which is heart of our project
3.1 ATMEGA 16
3.1.1 FEATURES
Peripheral Features
Operating Voltages
Speed Grades
i).VCC
ii).GND
Ground
iii).PORT A (PA7-PA0)
used as inputs and are externally pulled low, they will source current if the internal
pull-up resistors are activated. The PORT-A pins are tri-stated when a reset condition
becomes active, even if the clock is not running.
v) PORT C (PC7-PC0)
PORT C is an 8-bit bi-directional I/O port with internal pull-up resistors
(selected for each bit). The PORT C output buffers have symmetrical drive
characteristics with both high sink and source capability. As inputs, PORT C pins that
are externally pulled low will source current if the pull-up resistors are activated. The
PORT C pins are tri-stated when a reset condition becomes active, even if the clock is
not running. If the JTAG interface is enabled, the pull-up resistors on pins PC 7(tdi),
PC 5(tms) and PC 4(tck) will be activated even if a reset occurs.
viii) RESET
RESET input. A low level on this pin for longer than the minimum
pulse length will generate a reset, even if the clock is not running. Shorter pulses are
not guaranteed to generate a reset.
ix) XTAL1
Input to the inverting oscillator amplifier and input to the internal clock
operating circuit.
x) XTAL2
Output from the inverting oscillator amplifier.[11]
21
The AVR core combines a rich instruction set with 32-bit general purpose
registers. All the 32 registers are directly connected to the Arithmetic Logic Unit
(ALU), allowing two independent registers to be accessed in one single instruction
executed in one clock cycle. The resulting architecture is more code efficient while
achieving throughputs up to ten times faster than conventional CISC microcontrollers.
The ATmega162 AVR is supported with a full suite of program and system
development tools including: C compilers, macro assemblers, program
debugger/simulators, In-Circuit Emulators, and evaluation kits.
3.4 COMPATIBILITY
3.5 LCD
very commonly used in various devices and circuits. These modules are preferred over
seven segments and other multi segment LEDs. The reasons being: LCDs are
economical; easily programmable; have no limitation of displaying special & even
custom characters (unlike in seven segments), animations and so on.
A 16x2LCD means it can display 16 characters per line and there are 2
such lines. In this LCD each character is displayed in 5x7 pixel matrix. This LCD has
two registers, namely, Command and Data.
The command register stores the command instructions given to the LCD.
A command is an instruction given to LCD to do a predefined task like initializing it,
clearing its screen, setting the cursor position, controlling display etc. The data register
stores the data to be displayed on the LCD. The data is the ASCII value of the
character to be displayed on the LCD.
Pin
Function Name
No
5 Low to write to the register; High to read from the register Read/write
6 Sends data to data pins when a high to low pulse is given Enable
7 DB0
8 DB1
9 DB2
10 DB3
8-bit data pins
11 DB4
12 DB5
13 DB6
14 DB7
26
3.6 LM 324
The LM324 series are lowcost, quad operational amplifiers with true
differential inputs. They have several distinct advantages over standard operational
amplifier types in single supply applications. The quad amplifier can operate at supply
voltages as low as 3.0 V or as high as 32 V with quiescent currents about onefifth of
those associated with the (on a per amplifier basis). The common mode input range
includes the negative supply, thereby eliminating the necessity for external biasing
components in many applications. The output voltage range also includes the negative
power supply voltage.
27
3.6.1 FEATURES
3.7 TRANSFORMER
The conducting material used for the windings depends upon the
application, but in all cases the individual turns must be electrically insulated from
each other to ensure that the current travels throughout every turn. [39] For small power
and signal transformers, in which currents are low and the potential difference
between adjacent turns is small, the coils are often wound from enamelled magnet
wire, such as Formvar wire. Larger power transformers operating at high voltages may
30
3.8 CAPACITOR
A crystal oscillator is
an electronic oscillator circuit
that uses the Figure 3.17 Crystal Oscillator
mechanical resonance of a (Source:http//www.engineersgarage.com)
32
For example, steel is very elastic and has a high speed of sound. It was
often used in mechanical filters before quartz. The resonant frequency depends on
size, shape, elasticity, and the speed of sound in the material. High-frequency crystals
are typically cut in the shape of a simple, rectangular plate. Low-frequency crystals,
such as those used in digital watches, are typically cut in the shape of a tuning fork.
For applications not needing very precise timing, a low-cost ceramic resonator is often
used in place of a quartz crystal. When a crystal of quartz is properly cut and mounted,
it can be made to distort an electric field by applying a voltage to an electrode near or
on the crystal. This property is known as piezoelectricity. When the field is removed,
the quartz will generate an electric field as it returns to its previous shape, and this can
generate a voltage. The result is that a quartz crystal behaves like a circuit composed
of inductor, capacitor and resistor, with a precise resonant frequency Quartz has the
further advantage that its elastic constants and its size change in such a way that the
33
CHAPTER 4
LCD INTERFACING
You can get the brief information of LCD from the post Interfacing
162 from 8051 microcontroller. As I said earlier programming basic is all same
expect using the pins and the registers of the microcontroller.
It very important how the data is send to the LCD and how the
command is send to the LCD, suppose if you are sending data to the LCD, then you
have to make the ENABLE pin of 162 LCD pin to low before sending the data, when
you think the data you want send is ready make the ENABLE pin again high that is 1
in coding language. If you make ENABLE pin high then only LCD will work.
Just by making the ENABLE pin high will not work, you have make
REGISTER SELECT pin (RS pin) also high so that LCD will accept that it a normal
data which has to be displayed on the screen of LCD, if you forgot to make RS pin
high it eventually think that user is sending it a command and make itself ready to act
according to the command like making cursor to move, clearing the data on the LCD,
changing the cursor position etc.
Last but not least another pin you need to worry of read/write pin, we
all know that for any device the basic functionality start with read and write, reading
the data and writing the data is main and important function for any peripheral or
system. here in the LCD while sending the data for displaying you have to make the
R/W pin low, so that LCD will understand that data should be written on the LCD
screen and act accordingly.
Just sending the data and displaying it will not complete the task;
arrangement of data in understandable way is the important and crucial task for the
programmer. You can arrange the data in the LCD or making the LCD to work
according to your wish, can be done by sending the commands or special functions to
the LCD, you may think that what type of commands are needed to work for LCD,
commands for cursor position, increasing or decreasing the contrast, making the
cursor to change line like from first line to second line etc. To send a command to the
LCD you need to make pins high and low just like sending the data. For sending the
command you need to make the ENABLE PIN high, REGISTER SELECT pin (RS
36
pin) low that is 0 in programmer terms, and read/write pin (R/W pin) high, you need
to remember this configuration for sending the command.
CHAPTER 5
SOFTWARE REQUIRMENT
5.1 CODING
$framesize = 64
'$sim
Config Lcdpin = Pin , Db7 = Portc.0 , Db6 = Portc.1 , Db5 = Portc.2 , Db4 = Portc.3 ,
E = Portc.4 , Rs = Portc.5
Config Lcd = 16 * 2
Dim A As Byte
Dim B As Byte
Dim C As Byte
Drip = 1
High1 = 1
Low1 = 1
Relay = 0
Cls
Cursor Off
Lowerline
Wait 4
Do
If Drip = 0 Then
Waitms 500
38
Incr B
Cls
Cursor Off
Lowerline
lcd ""
Waitms 200
Reset Relay
Waitms 200
Set Relay
Cls
Lcd ""
Lowerline
End If
Loop
39
5.2 COMPILER
14. Now double click on the Target1, you would get another option Source
group 1 as shown in next page.
46
15. Click on the file option from menu bar and select new.
47
16. The next screen will be as shown in next page, and just maximize it by
double clicking on its blue boarder.
48
18. For a program written in Assembly, then save it with extension . asm and
for EMBEDDED C based program save it with extension .C
49
19. Now right click on Source group 1 and click on Add files to Group
Source.
50
21. Now select as per your file extension given while saving the
file.
22. Click only one time on option ADD.
23. Now Press function key F7 to compile. Any error will appear
if so happen.
52
28. Drag the port a side and click in the program file.
29. Now keep Pressing function key F11 slowly and observe.
30. You are running your program successfully.
55
CHAPTER 6
PLANNING
We all know the best planning leads to the best results. So when we
finalized our project it was a question from where to start? There are many directions
but we had to choose the right one. This was starting the step of our project.
Now next task was procurement of material for that we listed first the
required parts & divided our team in four parts. The work was equally divided. As our
project is hardware & software based so two of us were worked for software & other
two were worked for hardware.
b. Procurement of material.
c. Layout of PCB.
d. Preparation of PCB.
f. Software Implementation.
h. Testing.
CHAPTER 7
PCB DESIGNING
The name printed circuit board suggests that printing processes involved in
drawing the artwork on the board. And printing processes are often used to transfer an
image to a PCB.
most common enchant used in the industry is ferric chloride. The erotically anyone of
the following solution can be used to make PCB.
2. Chromic acid
3. Cupric acid
4. Ferric chloride
Ferric chloride crystal of 500 gms are mix in water to make a total
solution of 1 liter. During the etching process the connection weakens because the
soluble cupric acid ferric ions precipitate out of the solution in the form of sludge that
rends to settle on the bottom on the etching vat.
The copper plate is immersed in enchant solution with copper side up in the
tray. Only one board should be etched at one time. As the table is rocked the
unprotected copper is dissolves.
7.2 DRILLING
7.3 MOUNTING
7.4 TESTING
Testing is the main event, which has its own importance in the
electronics field. Testing is the process to find the output performance and fault of the
circuit in the various forms. The main objective of the testing is to check the output
performance as per our assumption.
The least carelessness may lead to the major fault in case of electronics
circuit and it is depend upon the layout and design of the PCB. Printed circuit board
are used to route electrical current and signal through the copper tracks which are
primarily bounded to an insulating core.
For the testing of any electronics circuit some common steps are
performed. These steps are as follows.
3).The track linked with the other related tracks is proper or not.
4).The jumper which goes from one track to another track should not short
with the tracks which are in between required two.
Thus by testing the tracks of the printed circuit board it helps the project for
making successful. After testing copper tracks the component were tested with
the help of instrument like multimeter, CRO, signal generator etc.
After mounting the component on the PCB the possibility of the dry soldering
was checked to avoid the possibility of shorting those tracks as well as the
tracks were checked individually to avoid the possibility of opening those
tracks. This testing was carried out with the help of multimeter keeping in
range of Ohm.
After all check the power was supplied and the operation of the circuit it was
observed.
Check the supply voltage and voltages at the points where it is known or
expected to be of certain value.
Check the output voltage and waveform of the circuit by the equipment such as
CRO, signal generator.
Thus by checking the above aspects, it helps the project to become successful.
60
CHAPTER 8
CONCLUSION
REFERENCES
PROJECT MODEL
64
International Journals
Jeffrey, M, Samy, L, Domnick, R & Karunya, G, 2012, Experimental liquid
mixtures of alcohols, Benzene and Isohexanes at Varying Temperatures, Eurasian
Journal of Chemical and Petroleum Engineering, vol.223, no.16, pp. 514-514, ISSN :
XXXX-XXXX (Annexure I). IF 0.5.