Professional Documents
Culture Documents
Chapter One: 1.1 Background Information
Chapter One: 1.1 Background Information
1.0 INTRODUCTION
1.1 Background Information
Hospitals have nurse section that is responsible for patient cases upon admission. This nurse
department supervises a normal patient situation or an emergency situation. It is not
necessarily every patient that have his or her own nurse. A group of patients is supervised
more commonly by few assigned nurse as such group of patients with similar cases are kept
in a ward for proper attention. Situations that a patient will need to call nurse are unavoidable.
When such situation arise, the patient finds it difficult to use the traditional means of shout to
call for help or get down from the bed, walk to the nurse station for complain. In case of
emergency the patient needs a way to call nurse immediately, therefore a Hospital Call
System is designed to achieve this purpose. This system enables increased in response time of
a nurse to patient request. Consequently, a wireless communication system that acknowledge
call from the nurse end is to be implemented. The designed system is a multi-pushbutton
distributed system composed of a master transceiver destined to the nurse station with audio
visual alert system. The master transceiver is connected to the various patients/beds through a
wireless means via a master transceiver. In some Hospital call systems, call signal are only in
one direction from patient to nurse and the device is wired throughout the network. Patient
may not be certain whether or not the call has been seen by the nurse. This may result in
repeatable calls or worry by the patient. Therefore, there is a need from the station by the
nurse to send back an acknowledgment of receipt of patient request.
1.2 Problem Statement
Patients and nurses are not staying in the same place in a hospitals and they need to have
effective communication means between them.
1.3 Aim and Objectives
The aim of the project is to design and implement a hospital call system with following set of
objectives.
To be a microcontroller based system.
1
Interface LCD (Liquid Crystal Display)with Micro-controller to display the status of
call
Interfacing push buttons pressed by patient for attention either from doctors office or
nurse station
1.4 Significance of the Project
It enable patients to easily alert a nurse when in need of assitance.
And provides patient an increased sense of security and confidence.
The call button can also be used by a health care staff member already with the patient
to call for another when such assistance is needed, or by visitors to call for help on
behalf of the patient.
1.5 Scope of the Project
The project covers design and development of communicating circuit that will be able to call
attention of a nurse in a 150 meters’ range, 10 bed wards in a hospital. Which consist of
transmitter and receiver circuit with range of Radio Frequency RF433MHz.
2
CHAPTER TWO
LITERATURE REVIEW
2.1 Introduction
This chapter contains the theoretical background and description of major circuit components
used to realize the system. It is divided based on the realized block diagram and each unit of
the block and the components used to build the circuit are discussed in this chapter.
3
hospital bed that allows patients on the bed to alert a nurse or other health staff remotely of
their need for help. When the pushbutton is pressed, a signal alerts staff at the nurse station
and usually a nurse or nurse assistant responds to such call. Some systems also allow the
patient to speak directly to the staffers; others simply beep or buzz at the station and
indicating by displaying the room or bed number where the patient is requiring a staffer to
actually visit the patient's room to determine the patient's needs.
2.3 Theoretical Background
Electromagnetic wave was predicted in mathematical treaties by James Clerk Maxwell in
1865, then a professor at college London. The German scientist, Heinrich Hertz had verified
the existence of these waves in 1885 using spark between two electrodes as his transmitter
and a similar pair as his receiver. However, a more sophisticated system using an aerial, an
earth and improved detector sent out the first – dot radio telegraph message in 1896. The
range of this communication system was just two miles.
In 1895, Guglielmo Marconi opened the way for modern wireless communications by
transmitting the three-dot Morse code for the letter ‘S’ over a distance of three kilometers
using electromagnetic waves. From this beginning, wireless communication has developed
into a key element of modern society. From satellite transmission, radio and television
broadcasting to the now ubiquitous mobile telephone, wireless communication has
revolutionized the way societies function. Wireless technology is differentiated on the basis
of their range. Some offer connectivity within few feet’s viz. Bluetooth and other cover
medium sized office space. The mobile phone covers whole continents. Wireless technology
offers e-commerce more flexible and in-expensive ways to send and receive data. The four
key benefits of wireless technology are as under -
4
places or practice. Broadly speaking, telecommunication refers to branch of electrical
engineering and applied physics that deal with the electrical communication of information:
Electrical communication involves the science and technology of collecting information from
a source, transforming it into electrical current or fields, transmitting same over suitable
transmitting channels to its intended destination, and reconverting it into a form that can be
interpreted by receiving entity. The major divisions of telecommunication are: telephony,
telegraphy and radio transmission. These may be further divided into several subdivisions
based on various criteria, however, these are no concern to us here. The invention the triode
vacuum tube by Lee de Forest in 1906 and subsequent improvements in 1912, provide the
means of amplifying phone signal. However, since the invention of transistor in 1948, it has
increasingly replacing electron tube in communication circuit. It has also taken over the
functions of electro-mechanical relays and other mechanical switching device. Moreover,
logic circuit, semiconductor diodes and transistors in conjunction with computer technology
have been use to create purely electronic switching system.
2.3.1 Power Source
(I) Electrical Transformation
Electrical transformation is a process in which voltage is level is change from one value to
another based on the mutual induction between two circuit linked by a common magnetic
flux; it consists of two inductive coils which electrically separated but magnetically link
through a path of low reluctance it can be either step up or step down as shown in the figure 5
below, at the same frequency it depend on the area of the application.
5
different type:The full Wave Rectifier circuit of two diodes, one for each half of the cycle. A
multiple winding transformer is used whose secondary winding is split equally into two
halves with a common center tapped connection, (C). This configuration results in each diode
conducting in turn when its anode terminal is positive with respect to the transformer center
point C producing an output during both half-cycles, twice that for the half wave rectifier so
it is 100% efficient as shown below.
6
it is very small. Thus the voltage appearing across the load is practically the same as the input
voltage at every instant. During the negative half cycle of the input voltage the polarity of the
secondary voltage gets reversed. As a result, the diode is reverse biased. Practically no
current flows through the circuit and almost no voltage is developed across the resistor. All
input voltage appears across the diode itself. Hence we conclude that when the input voltage
is going through its positive half cycle, output voltage is almost the same as the input voltage
and during the negative half cycle no voltage is available across the load. This explains the
unidirectional pulsating dc waveform obtained as output. The process of removing one half
the input signal to establish a dc level is aptly called half wave rectification.
(V) Filtration
Filter capacitor should be capable to hold peak-to-peak ripples at approximately 1% (0.01) of
the peak voltage. The function of the filter is to smooth the pulsations present in the output
voltage supplied by the rectifier. In practice, no filter gives output voltage that is as ripple-
free as that of a battery, but it considerably reduces the ripple to certain extent. A capacitor is
used to achieve the filtering as shown in figure 7 below: (V.K and Rohit 2008)
Voltage, V
Time, t
7
2.3.2 The Microcontroller Unit
The processing unit has microcontroller as its prime mover. microcontroller is a small, low-
cost and self-contained computer-on-a-chip that can be used as an embedded system. A
microcontroller is a small computer on a single integrated circuit containing a processor core,
memory, and programmable input/output peripherals. Program memory in the form of NOR
flash or OTP ROM is also often included on chip, as well as a typically small amount of
RAM. A few microcontrollers may utilize four-bit expressions and work at clock rate
frequencies, Microcontrollers usually must have low-power requirements since many devices
they control are battery-operated. Microcontrollers are used in many consumer electronics,
car engines, computer peripherals and test or measurement equipment. And these are well
suited for long lasting battery applications. The dominant part of microcontrollers being used
now a days are implanted in other apparatus.
2.3.2.1 Classification of Microcontrollers
Microcontrollers are characterized based on bus-width (Number of Bits), instruction set,
memory architecture and memory devices. This article is going to describe some of the basic
types of the Microcontroller that newer users may not know about. The figure 3 below shows
the major classification
8
performance as compared to 8-bit. For example 8 bit microcontrollers can only use 8 bits,
resulting in a final range of 0×00 – 0xFF (0-255) for every cycle. In contrast, 16 bit
microcontrollers with its 16 bit data width has a range of 0×0000 – 0xFFFF (0-65535) for every
cycle. A longer timer most extreme worth can likely prove to be useful in certain applications and
circuits. It can automatically operate on two 16 bit numbers. Some examples of 16-bit
microcontroller are 16-bit MCUs are extended 8051XA, PIC2x, Intel 8096 and Motorola
MC68HC12 families.The 32-bit microcontroller uses the 32-bit instructions to perform the
arithmetic and logic operations. These are used in automatically controlled devices including
implantable medical devices, engine control systems, office machines, appliances and other
types of embedded systems. Some examples are Intel/Atmel 251 family, PIC3x.
9
developed by Alf-Egil Bogen and Vegard Wollan from Atmel Corporation. The AVR
microcontrollers are modified harvard RISC architecture with separate memories for data and
program and speed of AVR is high when compare to 8051 and PIC. The AVR is stands for
Alf-Egil Bogen and Vegard Wollan’s RISC processor.
10
The microcontrollers can also be classified according to their family. Family is usually a
company or a manufacturer in which controller is fabricated. Each family has its own
architecture and instruction set. some though 8051 is famous but PIC and ARM are going
more popular than 8051. Different family are listed below
a. ARM
b. National
c. Texas
d. Others
e. PIC
f. Motorola
g. 8051
h. Intel
i. Atmel
j. Dallas
k. Philips
l. Siemens
11
21 AREF Reference Voltage
22 GND Ground 23 PC0 Analog Input
23 PC1 Analog Input
24 PC2 Analog Input
25 PC3 Analog Input
26 PC4 Analog Input
27 PC5 Analog Input
2.3.3 Buzzer
The input transducer in both the two points is pushbutton. A pushbutton switch is a
transducer that converts action into electrical signal. Buzzer is a device used to converts
electrical voltage signal into audible sound. It is an electro-magnetic inducting device that
function in reverse of a solenoid. It consists of a movable coil, diaphragm, the fixed core and
the diaphragm used to generate sound. The figure below shows a buzzer and its internal
design.
12
There are many thousands of different Types of Resistor and are produced in a variety of
forms because their particular characteristics and accuracy suit certain areas of application,
such as High Stability, High Voltage, High Current etc, or are used as general purpose
resistors where their characteristics are less of a problem. All modern fixed value resistors
can be classified into four broad groups:
(i) Carbon Composition Resistor – Made of carbon dust or graphite paste, low wattage
values
(ii) Wire-wound Resistor – Metallic bodies for heat sink mounting, very high wattage
ratings.
(iii) Semiconductor Resistor – High frequency/precision surface mount thin film
technology
There are a large variety of fixed and variable resistor types with different construction styles
available for each group, with each one having its own particular characteristics, advantages
and disadvantages compared to the others. To include all types would make this section very
large so I shall limit it to the most commonly used, and readily available general purpose
types of resistors.
13
I. Ceramic capacitor: The ceramic capacitor is a type of capacitor that is used in
many applications from audio to RF. Values range from a few picofarads to
around 0.1 microfarads.
II. Electrolytic capacitor: Electrolytic capacitors are a type of capacitor that is polarised.
They are able to offer high capacitance values - typically above 1μF, and are most
widely used for low frequency applications - power supplies, decoupling and
audio coupling applications as they have a frequency limit if around 100 kHz.
III. Silver Mica Capacitor: Silver mica capacitors are not as widely used these days,
but they still offer very high levels of stability, low loss and accuracy where space
is not an issue.
14
(i) The silicon signal diode has high voltage drop at the coupling about 0.6 to 0.7 volts
so, it has very high resistance but low forward resistance. On other hand.
(ii) Germanium signal diode has low resistance due to low voltage drop nearly at 0.2 to
0.3 volts and high forward resistance. Due to small signal the functional point is not disrupted
in small signal diode.
2.3.6.2 Large Signal Diode
These diodes have large PN junction layer. Thus the transformation of AC to DC voltages is
unbounded. This also increases the current forward capacity and reverse blocking voltage.
These large signals will disrupt the functional point also. Due to this it is not suitable for high
frequency applications.
The main applications of these diodes are in battery charging devices like inverters. Since it
has high current and voltage performance these can be used in electrical devices which are
used to suppress high peak voltages.
2.3.6.3 Zener Diode
It is a passive element works under the principle of zener breakdown. First produced by
Clarence zener in 1934.It is similar to normal diode in forward direction, it also allows
current in reverse direction when the applied voltage reaches the breakdown voltage. It is
designed to prevent the other semiconductor devices from momentary voltage pulses. It acts
as voltage regulator.
15
(LED) Is a semiconductor device that emits visible light when an electric current passes
through it. The light is not particularly bright, but in most LEDs it is monochromatic,
occurring at a single wavelength.
16
A micro-controller is a small computer on a single integrated circuit containing a processor
core, memory, and programmable input/output peripherals. The important part is that a
micro-controller contains the processor (which all computers have) and memory, and some
input/output pins that you can control. (often called GPIO - General Purpose Input Output
Pins). The arduino Uno board. This combines a micro-controller along with all of the extras
to make it easy to build and debug projects.
17
2.10 LCD DISPLAY
Liquid crystal displays an electronic display module that finds a wide range of application in
circuit. It is preferred over seven segment and other multi-LED display because it is more
programmable and economical. A 16*2 LCD can display 16 characters per line.
18
CHAPTER THREE
3.1 Introduction
This chapter contains block diagram and flow explanation of the between the various units
that constitute the system; the design of each unit based on specification mentioned
(Calculation of its value and selection of components required) and overall electrical
circuitry and its explanation.
3.2 The Block Diagram
Unit specification
Input AC voltage = 230/9Vac
Frequency = 50Hz Regulated D.C output voltage = 5v.D.C
Output current = 1000mA
(i) Transformer selection
Based on the unit specification above for power, a step down transformer of
size (rating) 230v/9vac, 1000mA in required and in off the shelf i.e available
at market.
Vrms = 9vac
Vpeak = 2 x Vr,ms …………………………………………. (1)
V peak = 2 x 9
Vpeak = 12.72v
(ii)Diode rectifier selection.
There are three type of rectifier, halt-wave rectifier; full-ware two-diode rectifier and full-
ware four diode rectifier (bridge rectifier). Bridge rectifier will
be use due to its efficiency. A. Diode capacity of 1000mA in required and in available at the
market. Diode No. IN4001 has been selected.
Vpeak = 12.72v
Vd.c =2 ……………………. . (2)
V d.c =212.72 = 8.1
(iii) Filtering capacitor selection
The filtering capacitor should hold peak-to peak ripple at approximately 1%(0.01) of the peak
voltageThe maximum load current 1m =?
Im =√2 x Ir.ms………………………………. (3)
Im =√2 x 1000 x 10-3
Im = 1.4a
Irms. Is the transform output currant =1000MA
Average laced current Id.c =?
Id.c=2Im................................................................(4)
=2× 1.4=0.9A
The value of arrange laced current in the DC current that the power supply unit deliver to the
circuit. The ripple voltage in give as:
Vripple =0.01 x 0d,c...........................................................(4)
=0.01 x 0,81=0,081v
The shunt capacitor value can be obtain from the relation
a =𝑑.𝑝𝑒 4√3..............(5)
When f in the frequency of the AC supply vergea= 0.9500.0814√3
=3207x10−6f3207uf
From the e-series for capacities available for pitcher the particular value in notavailable for
pitcher the particular value in not available, but we can use equalor cascade contender
(iv) voltage regulator deletion
Since the required circuit voltage in 5v DC regulator the output of the powersupply must
maintain constant 5vd.c to supply the 1ooc. And this can be donewith use of zanier diode
voltage regulatorIs:
=1000MA
Vz=5.1v Vin=8.1v
Vout =5v
Rs=?
Rl=?
Is= Vin – VoutRsRl
volt = 5 = 0.93ΩRs 0.7218Rs =
Vin – VoutIi= 8.1 – 51000 x 10-3= 3.1 Ω.
But there is 5v voltage regulator off the shelf come in series of LM7805.
3.4 Implementation
The programming language used to program the microcontroller is C, which can be
written in Code Vision AVR software that deals with the microcontrollers. The micro that we
used is ATmega8. The projects consists of two units “Master and Slaves”. All units
connected with each other through (+12, GND and DATA). The DATA lines connected with
UART ports in the microcontrollers using a special continuation explained below.
The Master Unit is a central unit to be fixed in Nurse Department and we made 1 Master PCB
board. It consists of microcontroller, Digital display with 2 7-Segments, LED, Buzzer and
Button.
The Slave Unit is a terminal unit that will be in patients’ rooms. We made 3 PCBs with one
of them has higher priority to test the functionality of the system. Each contains a
microcontroller, LED1, LED2, Button and DIP Switch to specify the room number.
We can serve up to 100 room. We will give room “Ur” higher priority in request execution.
Address 00 is assigned to this room.
Furthermore, this connection allows us to verify the correct transmission of data as the
transmitter also receives the sent data. If the received data is different from the sent, then the
transmitter knows and can resend the data again as explained below.
Slave unit composed of external Crystal Oscillator which ensure the stability of clocking. We
can see also the pins for programming the microcontroller.
When requests arrived at the master microcontroller, it will verify that the received ID is
correct. After that, it will save the ID in queue to process the request in order except in case
of room “Ur” address 00.
At any request arrival, the microcontroller will start a buzzer and LED. In addition, it will
show an indicator at the display indicates that a request has to be executed. When the nurse
press the button, the microcontroller will DE queue the room number and show at the display
to send one of the nurse to the corresponding room. When the request done, the nurse will
press again the button to see if any new order had been request.
This button will do two functions: first it will send a signal to the corresponding slave unit to
light off the LED1 which indicate that the request was executed and there is a nurse in its way
to the room. Second, the microcontroller will dequeue the next order and shows at the display
to be executed or it will show “EE” at display which indicates that there is no order to be
executed.
This chapter deals with the description of tests performed on the various sections of the overall
system and their corresponding results as well as the result of the overall system. In order to
verify the correct functionality of the system, each component had to be tested individually.
This test will determine if the final implementation was a success with reference to the initial
aim of the project.
4.2 Test Equipment
Oscilloscope
Digital Multimeter
4.3 Tests
4.3.1 Test of Power Supply
4.3.1.1 Procedure
The transformer secondary was connected to the oscilloscope and the output voltage was
measured. The oscilloscope which had 3 probes input, output and ground was connected at the
secondary of the transformer. At the transformer secondary 9vAC output was obtained. At
bridge circuit the voltage obtained was 8.1v unregulated. After regulation and filtering the
power supply was tested under full load and no load conditions to also determine its voltage
regulation. Under no-load, the voltage of the +5V supply section was measured to be 4.96V. At
full-load, the voltages were measured as 4.89V
4.3.2 Test of Signal Voltage
4.3.2.1 Procedure
The signal voltage of the transceiver was measured by connecting the probes continuity tester
to output terminal of the module. Taking value of received signal voltage for various distance.
The probes of the voltmeter was connected to the Tx and Rx terminals of the transceiver
module and output voltage across the module was measured against distance for 150m in
interval of values as shown in the table below. And the corresponding value are plotted in
graph as shown in figure 17.
4.3.3 Test of Keypad (push button)
4.3.3.1 Procedure
Four M wire and Three N wire are connected to seven digital input pins to give twelve different
combinations. The system has ten input key to the processor which is obtained by multiplexing 4
return pins and 3 scan pins for any possible combination there is a particular output. Following
result ware obtained as shown in the table 4.
4.4. Results
4.4.1 Power Supply Regulated Output Voltage
The value of voltage obtained at the output of the power supply was as shown in the table 3
below.
Table 2: Power Supply Output Voltage
V V
NL FL
V.R
100% ...(11)
V
NL
Where,
VNL No-load Voltage
VFL Full-load Voltage
For the unit operating on +5V,
V. R = 4.96− 4.89 = 0.07 = 0.01411 = 1.41%
4.96 4.96
4.5 Discussion of The Results
From the test result obtained for the various unit clearly show that result obtained are
approximated to earlier theoretical design. the 5V power supply had a voltage regulation of
1.41%. This result correlated to the initial theoretical design for power supply were a 1%
percentage ripple voltage was chosen although there were cases of small overshoot. The
graphical result from the oscilloscope was as expected. A straight line with no ripples showed
5.3 Conclusion
The aim of the project was achieved with the prescribed objectives. The system can be further
improved and implemented to suit different communication purpose.
REFERENCE
Brown, P.J. (2000). Evaluation of the quality of information retrieval of clinics finding from a
computerized patient database using a semantic technological.
Brown, M., & McCool, B. P. (1990). Health care systems: Predictions for the future. Health
Care Management Review, 15(3), 87-94.
CadSoft, "Eagle," CadSoft, 2011. [Online]. Available: http://www.cadsoftusa.com/. [Accessed
07 05 2015].
Cleverly, W. O., & Harvey, R. K. (1992). Critical strategies for successful rural hospitals.
Health Care Management Review, 17(1), 27-33.
Clifford, G. D., Blaya, J. A., et al. (2008) “Medical information systems: a foundation for
healthcare technologies in developing countries.” Bio Medical Engineering OnLine.
Eastaugh, S. R. (1992a) Hospital strategy and financial performance. Health Care Management
Review, 17(3), 19-31.
Eastaugh, S. R. (1992b). Health care finance: Economic incentives and productivity
enhancement. Westport, CT: Greenwood.
Faust A. (2018, September 02). Electronics Component pictures and symbols, retrieved from
http://www.15debrinpraktijk.nl/datacircuitschemati.hotmail
Fellegi, A and Mooney, S. (1998). Population and higher individual standard for the qualityof
life.
Ginn, G. O., & Young, G. J. (1992). Organizational and environmental determinants of hospital
strategy. Hospital & Health Services Management, 37(3), 291-302.
H. InfoTech, "CodeVisionAVR V3.20," HP, 2000. [Online]. Available:
http://www.hpinfotech.ro/. [Accessed 07 05 2015].
K. Aziz, S. Tarapiah, S. H. Ismail and S. Atalla, "Smart real time healthcare monitoring and
tracking system using GSM/GPS technologies," 2016 3rd MEC International
Conference on Big Data and Smart City (ICBDSC), Muscat,2016, pp. 1-7.
Laubbel, A. (1998) “Define medical health care, or medical documentation of A patient history
and care.
L. Electronics, "Proteus," Labcenter Electronics, 2009. [Online]. Available:
http://www.labcenter.com/index.cfm. [Accessed 07 05 2015].
Mamuda (1997); Design and Construction of Hospital Call System. Unp
Miller, R. J. (1994). “Modernizing Health care through Electronic Medical Record
“information system http://www.clinictools.org.
M. Verle, "Architecture and programming of 8051 MCU's," 02 05 2015. [Online]. Available:
http://www.mikroe.com/.
Sadiq (2009); Ward bed calling system design use discrete components:
S. Mukherjee, K. Dolui, S.K. Datta, "Patient Health Management System using e-Health
Monitoring Architecture," 2014 IEEE International Advance Computing Conference
(IACC), Gurgaon, 2014, pp. 400-405.
Usman (2016); Design and implementation of microcontroller based wireless hospital bed.
Appendix A.1 ATmega8 Microcontroller
Datasheet