You are on page 1of 10

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/320612481

Design and Implementation of Microcontroller Based Portable Drug Delivery


System

Article · January 2011

CITATIONS READS

0 19

1 author:

Mohammed Sabah Jarjees


Northern Technical University
8 PUBLICATIONS   6 CITATIONS   

SEE PROFILE

Some of the authors of this publication are also working on these related projects:

Design and Implementation of Medical Instrument View project

All content following this page was uploaded by Mohammed Sabah Jarjees on 08 September 2019.

The user has requested enhancement of the downloaded file.


Eng. & Tech. Journal, Vol.29 , No. 12, 2011

Design and Implementation of Microcontroller Based


Portable Drug Delivery System

Mohammed Sabah Jarjees*


Received on: 5/5/2011
Accepted on: 8/9/2011

Abstract

Portable drug delivery system or portable syringe pump system is a small infusion
pump used to gradually deliver drugs, at low doses and at a constant or controllable
rate of drug to a patient who needs to take a drug dose regularly in specific periods all
the day.
The aim of this research is to design and perform a prototype of a portable drug
delivery system controlled by micro controller. The micro controller will control the
dose of liquid or medication which will be given to the patient and the time of
repetition of the dose. The dose rate will be adjusted by controlling the operation of
stepper motor which will drive the syringe pump through fine mechanism set.

Keywords: Drug delivery system, Microcontroller, Stepper motor.


‫الخالصة‬
‫جهاز الحاقن االلً المحمول او ما ٌسمى بالمضخة الدواء هو عبارة عن جهاز حقن صغٌر‬
‫ٌستخدم لحقن الدواء بصورة تدرٌجٌة منتظمة للمرٌض الذي ٌحتاج الدواء بصورة دورٌة وبكمٌات‬
‫الهدف من البحث هو تصمٌم وتنفٌذ منظومة حقن الٌة باعتماد تقنٌة‬.‫ثابتة لمدة اربع وعشرون ساعة‬
‫ الذي ٌقوم بالسٌطرة على جرعة السائل المحقون (الدواء) الذي ٌعطى الى المرٌض‬,‫المسٌطر الدقٌق‬
‫ نسبة الجرع ٌسٌطر علٌها من خالل عمل المحرك الخطوي الذي ٌسوق‬.‫بشكل متكرر وباوقات ثابتة‬
.‫مضخة الحاقن خالل مجموعة م ٌكانٌكة‬

1. Introduction
Rate required to be injected by syringe

T
he drug delivery system or
pump system.
syringe pump in general is a
The most popular use of syringe
small infusion pump used to
drivers is in palliative care to
gradually administer small amounts of
continuously administer drugs such as
fluid (with or without medication) to a
analgesics (painkillers), and in
patient. [1]
delivering of the insulin solution to
The syringe pump will deliver
patient who seafaring from the
specific amount of medication dose
Diabetes disease, to deliver the
gradually to the patient in regular
desferrioxamine solution to patient
periods of time. The design had been
having Thalasemia disease, antiemetic
achieved by using microcontroller that
(medication to suppress nausea and
drives a stepper motor in specified
vomiting), hormones, or other
period of time proportional to the dose
medicines, such as opiates .

*Technical College of Mosul, Foundation of Technical /Baghdad


2580
Eng. & Tech. Journal, Vol.29, No. 12, 2011 Design and Implementation of
Microcontroller Based Portable
Drug Delivery System

2. Review: 3.1 Microcontroller (AT89C51)[5]:


There are many types of the drug The AT89C51 is a low-power,
delivery system as the following: high-performance CMOS 8-bit
2.1 Continuous infusion usually microcomputer with 4K bytes of Flash
consists of small pulses of programmable and erasable read only
infusion, usually between 500 memory (PEROM). The device is
nano-liters and 10000 micro manufactured using Atmel’s high-
liters [2]. density nonvolatile memory technology
2.2 Intermittent infusion has a and is compatible with the industry-
"high" infusion rate, alternating standard MCS-51 instruction set and
with a low programmable pin out. The on-chip flash allows the
infusion rate to keep the program memory to be reprogrammed
cannula open. in-system or by a conventional
2.3 Patient-controlled is infusion nonvolatile memory programmer.
on-demand, usually with a By combining a versatile 8-bit CPU
preprogrammed ceiling to with Flash on a monolithic chip, the
avoid intoxication. Atmel AT89C51 is a powerful
2.4 Total parenteral nutrition microcomputer which provides a
usually requires an infusion highly-flexible and cost-effective
curve similar to normal meal solution to many embedded control
times [3]. applications. This chip provides the
2.5 Some pumps offer modes in following standard features: 4 Kbytes
which the amounts can be of Flash, 128 bytes of RAM, 32 I/O
scaled or controlled based on lines, two 16-bit timer/counters, and
the time of day. five vector two-level interrupt
2.6 The fixed drug delivery system architecture, a full duplex serial port,
which includes large volume on chip oscillator and clock circuitry.
pump (peristaltic pump): scan The microcontroller will be
pump nutrient solutions large programmed to control the operation of
enough to feed a patient. the delivery system. After selecting a
Large-volume pumps usually suitable dose and period, the
use some form of peristaltic microcontroller will give signals that
pump [4]. drive the stepper motor and
2.7 Portable drug delivery system consequently driving the syringe pump
which includes Small volume to deliver the required dose at the end
pumps (syringe pump) infuses of each assigned time cycle.
hormones, such as insulin, or 3.2 Stepper motor [6] :
other medicines, such as The Stepper Motor Controller is a
opiates. complete solution for intelligent motion
3. Materials And Methods: control. Stepper motors are used when
The portable drug delivery precise control of movement is needed.
pump is designed so that the device With each movement of the motor, the
will deliver pre adjusted dose (1ml, drive shaft steps a precise amount of
2ml, 3ml, 4ml or 5ml) in repetition distance .The degrees per pulse is set in
sequence every selected period of time the motor’s manufacturing and is
(T) from 1hour to 24 hours. On this provided in the characteristic sheets for
base, the device mainly consists of: that motor.
Almost any two phase
(sometimes called four phase) uni-polar

2581
Eng. & Tech. Journal, Vol.29, No. 12, 2011 Design and Implementation of
Microcontroller Based Portable
Drug Delivery System

stepper motor with a voltage rating of c) Four diodes (1N4002 Silicon


from 9 to 24 volts and a current rating Diode)
of 900 milliamps or less may be used. Another type of stepper motor
A uni-polar motor has two center circuit driver as shown in Fig (3) is
tapped windings with six leads and has using Darlington array IC (ULN2003)
its voltage and either its current or which is high voltage; this circuit used
resistance marked on the nameplate. in proposed device, high current
Another motor characteristic is its Darlington arrays each containing
stepping angle which is also marked on seven open collectors’ Darlington pairs
the nameplate. An angle of 1.8 degrees with common emitters. Each channel
or less is preferred because each step is rated at 500 mA and can withstand
smaller but 7.5 degrees or even more peak currents of 600 mA. Suppression
can be used. Although many surplus diodes are included for inductive load
motors come without a wiring diagram, driving and the inputs are pinned
you can easily find the correct opposite the outputs to simplify board
connections with an ohmmeter. Fig (1) layout.
is a diagram of a typical stepper motor This circuit driver is efficient,
coils connection. The winding compact, simple, and cheap give high
resistance will be a few hundred ohms power. For this reason it had been
or less. To find the center tap first chosen as the driver of the stepper
measure between any two leads. If you motor in our design.
measure open circuits try again until 3.4 Syringe pump mechanism
you get a reading and then record its The syringe pump driving
value. Number these leads 1 and 2. mechanism consists mainly of the
Connect the meter to lead 1 and a lead following parts:
other than 2 until you get another 3.4.1 Set of gears which will
reading and then number it 3. If this give the required moment
value is the same as the 1-2 value then that will rotate the driving
lead number increases more voltage shaft.
drops across the motor and less across 3.4.2 Driving shaft which will
the resistor to maintain a more constant move the syringe rod
torque. A constant current driver circuit fixture.
would do the same thing. 3.4.3 Syringe fixture: The
3.3 Stepper motor drive [7] syringe fixture consists of
There are many circuit driver three parts, the first part is
techniques that could be used to drive the movable fixture which
the stepper motor. One of these is used to fix and move the
methods is driving the stepper motor by moving rod of the syringe
using four power transistors that pump. The other two parts
energize the four coils of the stepper are the stationary parts
motor in organized sequence depending which are used to fix the
on the stepper motor itself and the syringe pump body.
program of the microcontroller. Fig (2) 3.5 Detailed description: The
shows the typical connection of operation of the portable drug delivery
transistor type stepper motor driver system pump is controlled by the
circuit which consist of: microcontroller by using a suitable
a) Four power transistors (NPN program as shown in Fig.(4) The device
type BDX) that had been designed and performed
b) Four resistances 1KΩ

2582
Eng. & Tech. Journal, Vol.29, No. 12, 2011 Design and Implementation of
Microcontroller Based Portable
Drug Delivery System

is portable and its supplied by 18V dc 𝑑 = Ѵ×𝑡 ………. 1


voltage using 2×9V batteries.
After switch on and resetting Where:
the device, time and dose can be set d: distance (horizontal movement)
using push buttons to increase or Ѵ: velocity (speed of motor)
decrease the required value which will t: time (injection time)
be displayed by three digit 7-segment Therefore by using this low
displays. The first digit displays the can be achieved these specifications.
dose (1, 2, 3, 4 & 5ml) while the other The algorithm of the microcontroller
two digit display the time of repetition program can be shown in Fig. (5).
(1 to 24 hours). Two modes of 4 Results:
operation had been programmed; the The main result of our project
1st mode is the test mode while the 2nd was designing a portable drug delivery
mode is the actual operation mode. In system as shown in Fig (6) using a
the test mode each hour will represent microcontroller which drives a stepper
one minute to make experiments and motor and consequently drives the
tests easy and simple. syringe pump system to deliver a
When pressing the start push specified medication dose at the end of
button, the microcontroller will start the specified time in repetition cycle.
counting the assigned time and will The general specifications of
supply a proper sequence of signals our device are:
that will energize the coils of the 1. Microcontroller based
stepper motor and consequently Portable drug delivery system
moving it at the end of each adjusted 2. Syringe size: 5ml
period in specified increment such that 3. Two modes of operation
each 1ml dose last 25 seconds as a final (Test mode and normal
result. The dose delivery will be operation mode).
repeated in sequence. 4. Delivery time cycle In
Depending on the time and operation mode 1 to 24 hours.
dose values, when the drug in the 5. Injection rate: 25s / 1ml
syringe end and the syringe become 6. Audible alarm
almost empty the stepper motor will 7. Power supply: 18V DC
stop automatically by closing a limit (2×9V batteries).
switch connected directly to the 5 Conclusions And Future Work
interrupt pin of the microcontroller. The following conclusions
The proposed device used to obtained when compare the
inject the drug to the patient with proposed drug delivery system
Thalasemia disease by the following with portable infusion pump
rate type Micrel as shown in Fig (7)
1. Injection time 1 to 24 hours which is used in Ibn-Alather
step on hour. hospital in Mosul:
2. Injection volume 1 to 5 ml step The idea of designing and
1 ml. performing portable drug
The numbers of steps in delivery device is achieved.
stepper motor control the speed of it The features of the device that
and when keep this speed constant can is performed are:
be calibrated time require for injection 1. Efficient and practical.
1ml of drug (1 ml in 25 second).

2583
Eng. & Tech. Journal, Vol.29, No. 12, 2011 Design and Implementation of
Microcontroller Based Portable
Drug Delivery System

2. Easy to use by nurse and SYSTEMS”, Institute of


physician. Microsystems, IEEE, 2001.
3. Easy to fix the syringe. [3] S. Gopalakrishnan, A.
4. Quick and easy way in Chenthilnathan, “FLOATING
selection of Time period and DRUG DELIVERY SYSTEMS”,
dose rate. Journal of Pharmaceutical Science
5. Low power consumption. and Technology Vol. 3, India,
6. Light weight. 2011.
7. Work very smoothly specially [4] P. K. GAUR, S. MISHRA,
in injection process. “TRANSDERMAL DRUG
8. Audible alarm when syringe is DELIVERY SYSTEM”, Asian
almost empty. Journal of Pharmaceutical and
Clinical Research, Volume
6 References: 2,2009.
[1] N. A. Kshirsagar, “DRUG [5] ATMEL, AT89C51, 8-bit
DELIVERY SYSTEMS”, Microcontroller with 4K Bytes
Department of Clinical Flash
Pharmacology, Indian Journal of [6] Stepper Motor Basics, Industrial
Pharmacology, 2000. Circuits Application Note.
[2] Didier Maillefer, Stephan Gamper, [7] Thomas L. Hopkins, “STEPPER
” HIGH-PERFORMANCE MOTOR DRIVER
SILICON MICROPUMP FOR CONSIDERATIONS COMMON
DISPOSABLE DRUG DELIVERY PROBLEMS & SOLUTIONS”,
Application Note. 2003.

Figure (1): diagram of a stepper motor coils connection.

2584
Eng. & Tech. Journal, Vol.29, No. 12, 2011 Design and Implementation of
Microcontroller Based Portable
Drug Delivery System

Vcc

P1.
0
P1.
1
P1.
2
P1.
3

Figure (2) typical connection of transistor type stepper motor driver circuit

Figure(3) : The block diagram and connection of (ULN2003) as stepper motor


driver of Drug Delivery System.

2585
Eng. & Tech. Journal, Vol.29, No. 12, 2011 Design and Implementation of
Microcontroller Based Portable
Drug Delivery System

Figure(4): The circuit diagram of portable drug delivery system pump.

2586
Eng. & Tech. Journal, Vol.29, No. 12, 2011 Design and Implementation of
Microcontroller Based Portable
Drug Delivery System

P0: Speed of Stepper motor (Constant Speed)


P0=FF16 Stepper motor stop. Start
P1: Number of ml injection
P2: Time of Repetition (from 1 to 24 hours)

Set P1
P2
P1= 0016
IF
1<=P<=5

Set P2
P2

a=P2

Set P0
P2
P0= FF16
IF
P0<FF1
6
Delay= P1* 25 Second

P0=FF16

Delay= a* 1 hours

P2=P2+a

IF P2<=24
P2>24

End

Figure (5) Microcontroller program algorithm

2587
Eng. & Tech. Journal, Vol.29, No. 12, 2011 Design and Implementation of
Microcontroller Based Portable
Drug Delivery System

Figure (6): Internal and External Shape of Drug Delivery System

Figure (7): Micrel infusion pump

2588

View publication stats

You might also like