Microcontroller Based Anesthesia Injector
Microcontroller Based Anesthesia Injector
Microcontroller Based Anesthesia Injector
MEASUREMENT OF BIO-MEDICAL
PARAMETERS
The measurement of bio-medical parameters is
a vital process. These parameters determine the
overall condition of the patient. It plays a very
significant process in the level of anesthesia
that has to be administered to the patient. Only
based on these parameters the movement of the
RESPIRATION SENSOR
stepper motor is determined. Transducers and
The primary functions of the respiratory system
Thermistors are the key links in all sensors
are to supply oxygen to the tissues and remove
designed to describe and analyze the bio-
carbon dioxide from the tissues. The action of
medical parameters. The transducers used here
breathing is controlled by muscular action
are just those that find applications in patient
causing the volume of the lung to increase and
monitoring systems and experimental work on
decrease to affect a precise and sensitive
four parameters namely blood pressure,
control of the tension of carbon dioxide in the
temperature, pulse and respiratory activity.
arterial blood. Under normal circumstances,
Both transducers and thermistors are made in a
this is rhythmic action.
wide variety of forms suitable for use in
medical applications. They are available as
Circuit to measure Respiration
Ø wafers for applying on the skin surfaces
Ø tiny beads for inserting into the tissues
.
TEMPERATURE SENSOR
The most accurate method to measure
temperature is to use Thermistors and
Resistance Thermometers. Thermistor or
thermal resistor is a two-terminal
semiconductor device whose resistance is
temperature sensitive. The value of such
Respiratory activity can be detected by circuit package. The microcontroller design
measuring changes in the impedance across the uses a much more limited set of single and
thorax. Several types of transducers have been double byte instructions that are used to move
developed for the measurement of respiration code and data from internal memory to the
rate. A Strain Gauge type Chest Transducer is a ALU. The pins are programmable that is
suitable transducer to measure the respiratory capable of having several different functions
activity. The respiratory movement results in depending on the wishes of the programmer. It
the changes of the strain gauge element of the is concerned with getting data from and to its
transducer hence the respiration rate can be own pins
measured.
.89C51 MICRO CONTROLLER
HEART BEAT SENSOR The Microcontroller that is used in this system
Heart rate is our body's way of telling how hard is 89C51 manufactured by Atmel, MC, USA.
it is going. It is very vital that heart beat has to This is an advanced version of 8031.
be in normal while administering anesthesia to SERIES : 89C51 Family
the patient. Normal heart beat is 72 beats per TECHNOLOGY : CMOS
minute. A sensor is designed for monitoring the The major features of 8-bit micro controller
changes in the heart beat of the human body. ATMEL 89C51:
There are 2 ways of monitoring heart rate Ø 8 Bit CPU optimized for control applications
information from the body. They are Ø Extensive Boolean processing (Single-bit
Ø Electrocardiogram (ECG) Logic) Capabilities
Ø PULSE Ø On-chip Flash Program Memory
1) The E.C.G or Electrocardiogram, gives the Ø On-chip Data RAM
electrically picked up signals from the limbs Ø Bi-directional and Individually Addressable
due to the nervous activity of the heart. The I/O Lines
electrodes are pasted on to the 2 hands and the Ø Multiple 16-Bit Timer/Counters
left leg, the right leg electrode serving as the Ø Full Duplex UART
common or ground reference. The signals are Ø Multiple Source/Vector/Priority Interrupt
picked up and amplified by high gain Structure
differential amplifiers and then the Ø On-Chip Oscillator and Clock circuitry
electrocardiogram signal is obtained. Ø On-Chip EPROM
2) The pulse signal refers to the flow of blood Ø SPI Serial Bus Interface
that passes from the heart to the limbs and the Ø Watch Dog Timer
peripheral organs once per beat. Usually, the Flash ROM
physician looks for the pulse on the wrist of the The 4-kb ROM in the microprocessor can be
patient. The artery is near the surface of the erased and reprogrammed. If the available
skin and hence easily palpable. This pulse memory is not enough for the program an
occurs once per heart beat. These pulse signals external ROM can be interfaced with this IC.
can be picked up by keeping a piezo-electric AT89C51 has 16 address lines, so a maximum
pick up on the artery site (in the wrist). of (2^16) i.e. 64 bytes of ROM can be
interfaced. Both internal and external ROM can
DESIGN OF A MICROCONTROLLER be used simultaneously.
The design approach of the microcontroller RAM
mirrors that of the microprocessor. The The Microcontroller provides internal 256
microprocessor design accomplishes a very bytes of RAM. Theses 256 bytes of internal
flexible and extensive repertoire of multi-byte RAM can be used along with the external
instructions. These instructions work in RAM. Externally a 64-kb of RAM can be
hardware configurations that enables large connected with the microcontroller. In internal
amount of memory and IO to be connected to RAM first 128 bytes of RAM is available for
address and data bus pins on the integrated the user and the remaining 128 bytes are used
as special function registers (SFR). These SFRs A stepper motor transforms electrical pulses
are used as control registers for timer, serial into equal increments of rotary shaft motion
port etc. called steps. A one-to-one correspondence
Input/Output port Four I/O ports are available exists between the electrical pulses and the
in AT89C51. They are Port 0, Port 1, Port2 and motor steps. They work in conjunction with
Port 3. These ports are eight bit ports and can electronic switching devices. The function of
be controlled individually. In addition to this switching device is to switch the control
the ports also has pull-up registers to maximize windings of the stepper motor with a frequency
its use. and sequence corresponding to the issued
Interrupts command. It has a wound stator and a non
The AT 89C51 provides 5 Interrupt sources: exited rotor. Stepper motors are classified as 2-
Ø 2 external interrupts – INT0 and INT1 phase, 3-phase or 4-phase depending on the
Ø 2 timer interrupts – TF0 and TF1 number of windings on the stator.
Ø a serial port interrupts.
STEPPER MOTOR DRIVER CIRCUIT
Memory In Automatic Anesthesia Injector, a 4-phase
The memory is logically separated into stepper motor is used. Consider the four phases
Program memory and Data memory. This as S1, S2, S3 and S4. The switch sequence can
logical separation allows the data memory to be be used to rotate the motor half steps of 0.9º
addressed by 8-bit address. Program memory clockwise or counter clockwise.
can only read the information. There can be up To take first step clockwise from S2 and S1
to 64 bytes of directly addressable program being on, the pattern of 1’s and 0’s is simply
memory. rotated one bit position around to the right. The
1 from S1 is rotated around into bit 4. To take
ADC 0808/0809 the next step the switch pattern is rotated one
The ADC 0808/0809 is an 8-bit digital to more bit position. To step anti-clockwise the
analog converter with 8-channel inbuilt pattern is rotated to the left by one bit position.
Multiplexer. It is the monolithic CMOS device
manufactured by the National semiconductors.
It uses the principle of Successive
Approximation technique for the conversion
process. The 8-channel Multiplexer can directly
access any of the 8-single-ended analog signals.
Easy interfacing to the microcontrollers is
provided by the latched and decoded
multiplexers address inputs and latched TTL
TIR-STATE outputs.
The salient features are:
Ø High Speed and Accuracy
Ø Minimal temperature Dependence This clockwise and counter clockwise movement
Ø Excellent temperature dependence of the stepper motor is coordinated with the
Ø Excellent long term accuracy and movement of the Syringe by means of a
repeatability mechanical interface.
Ø Consumes minimal power. (15 mW)
These features make this device ideally suited SYRINGE INFUSION PUMP
to applications from process and machine The Syringe Infusion pump provides uniform
control to consumer and automotive flow of fluid by precisely driving the plunger of
applications. a syringe towards its barrel. It provides
accurate and continuous flow rate for precisely
STEPPER MOTOR delivering anesthesia medication in critical
medical care. It has an alarm system activated
by Infra-Red Sensor and limit switches. The
pump will stop automatically with an alarm
when the syringe is empty or if any air-bubble
enters the fluid line. Glass and plastic Syringes
of all sizes from 1ml to 30ml can be used in the
infusion pump. The flow rates can be adjusted
from 1ml to 99ml/hr. Since it accepts other
syringe size also, much lower flow rate can be
obtained by using smaller syringes.
SOFTWARE DETAILS
A program is required which when burnt into
the EPROM will operate with the AT 89C51 to
do the function of monitoring the bio-medical
parameters. The program answers the following
requirements: