Elevator Control System Using Digital Logic
Elevator Control System Using Digital Logic
Abstract—This work presents a simulation study of elevator stopping and passengers getting in or out at
elevator control of an eight storied building. The that floor, will be available only at those specified
total system was built using digital logic Integrated numbers. Let the number in display be 0 (Initial
Circuits (ICs). The probable flow of events Condition, can be varied). This means the elevator is
associated with movement of an elevator had been now at Ground Floor (GF). Let a call occurs at some
inspected and used to create a flow chart for the i-th floor. As soon as the call occurs the lift will start
events. This flow chart had been used to create the upward counting 0-1-2-3-4-5 -.... –N till it reaches
logic to control the elevator and finally had been that i-th floor. Now let‟s assume as soon as the
transformed into a digital electronic circuit. This elevator has served the call at i, calls have occurred
electronic circuit consisted of several sub circuits at i-j and i+j floors simultaneously. If the lift has
which carried out sub routine tasks to ensure smooth been going upward it will go on moving to i+j- th
operation of the elevator as per the flow chart. floor, serve the call, and then change its direction to
Simulation had been carried out in Proteus software. come back at i-j-th floor to serve call. For initially
The proposed algorithm is easily scalable to “N” downward moving elevator, i-j th floor‟s call serving
floor elevator system. will happen first. After all the calls had been served,
if no more call occurs, the elevator will be waiting
Keywords— Elevator, Control, Digital Logic, at its last served floor and will be searching both
Proteus (ISIS Professional version 7.8 SP2). way(up/down) for new calls.
I. INTRODUCTION III. OPERATION PRINCIPLE
Multi-storied buildings now-a-days generally have The operation principle can be described in
elevator systems with them. These elevator systems following steps. The system should first collect the
need precise control to carry out the task assigned to current i-th floor‟s position relative to the building
them. Some previous research papers have already structure. Then the elevator should check if there is
addressed this problem [1][2][3]. But those control any call at current i-th floor. If there is, the elevator
approaches have used Programmable Logic Circuit should serve this call and flush memory for the call
(PLC) or microcontroller based logic control. Very to avoid double serving. Then, depending on the
few works had been carried out that created logic ongoing movement direction i.e. upward or
equations to be implemented by basic gates and downward, the elevator will search for calls in
available Integrated Circuits (ICs) in a digital logic higher (i++) or lower (i--) floors. If no call is found
circuit [4]. In this work such an approach had been in current movement direction it should change its
taken; no PLC or microcontroller based coding were moving direction and search for calls in opposite
incorporated, rather the total system was built using way. But if there is call found in already moving
digital logic ICs. Moreover focus had been given to direction, the elevator should increase floor count by
develop an algorithm for elevator control system 1 and search for call in the i+1-th floor (in case of
which can be used to implement an arbitrary “N” upward movement) or should decrease floor count
floor building‟s elevator control. For demonstration by 1 and search for call in the i-1-th floor (in case of
purpose, “N” had been taken equal to 8 in this work. downward movement) and thus go on repeating till
So, calculations of only 3 bits, denoting from 7th the highest or lowest floor with a call is reached and
Floor (111) to ground floor (000), had been served. Then the elevator should change direction
necessary to control the operation. and start moving the opposite way serving calls.
Continuous direction change and searching for calls
II. PROBLEM DEFINITION will happen if at any moment of system‟s operation
A system had to be designed that will count form the elevator has no more call to serve. The total
0 to N and N to 0 in an up-down manner process can be seen in the flow chart of fig 1.
continuously. But there will be a time delay at some
numbers taken as system inputs; these numbers will
indicate the floors where there are calls for the
elevator. A special time delay, which indicates
B. Down Counter
It has the operation principle of subtracting 1 to its
input. The truth table should look like this:
Current I3 I2 I1 Next O3 O2 O1
Floor Floor
(Input) (Output)
Fig 1: Flowchart for Controlling Elevator System. 7th 1 1 1 6th 1 1 0
6th 1 1 0 5th 1 0 1
IV. DESIGNING SUB-CIRCUITS 5th 1 0 1 4th 1 0 0
A. Up Counter 4th 1 0 0 3rd 0 1 1
It has the operation principle of adding 1 to its 3rd 0 1 1 2nd 0 1 0
input. The truth table should look like this: 2nd 0 1 0 1st 0 0 1
1st 0 0 1 GF 0 0 0
Table I: Truth Table for Up Counter
i) 𝐴0 > 𝐵0: 𝑄1 = 𝐴0 ∗ 𝐵0
ii) 𝐴0 < 𝐵0: 𝑄2 = 𝐴0 ∗ 𝐵0
iii) 𝐴0 = 𝐵0: 𝑄3 = 𝐴0 ∗ 𝐵0 + 𝐴0 ∗ 𝐵0
Fig 7: Connection diagram with eight 7485 IC for greater than, equal or less than comparison for finding relative position of all floors
compared to current floor. Some external LEDs and gates were used to check perfect working.
IC of each floor is connected to a two input
G. Interconnectors XOR gate. The other input is that floor‟s
1) Call and Distance Checker: Three outputs call switch. The output of this XOR gate
of a comparator IC 7485 (gives a floor‟s goes to clock input of the counter IC 74190
position with respect to current floor in the of that floor. When the switch is pressed
building structure) is fed to three 2-input one of the inputs of XOR is 1 while as the
AND gates and the other three inputs of A=B is 0 (as current floor is different than
these AND gates is the LSB of the call floor) so XOR output will be 1
associated counter IC 74190 (tells if there is meaning 74190 CLK is now HIGH. Then
a call at this floor). So three AND gates are 74190 LSB will become 1, indicating call
doing this: they are telling if this floor has a has occurred. Now if we remove the call
call and also telling the relative distance switch‟s 1 the 74190 LSB will still hold
between this floor and current floor. If the onto 1 even though the clock input has gone
AND gate with A<B input gives 1 means low because XOR output will now go to
present floor is above this floor with call, zero. As soon as A=B happens, the second
A>B input AND gate‟s 1 output will denote XOR input will be 1 while as the switch is
present floor is below this floor with call not pressed the first input holds 0 value. So,
and finally, A=B input AND gate‟s 1 output XOR output will be 1 which will set 74190
means the current floor and this 7485‟s clock input HIGH so the call will be
floor is the same one and also with call. If cancelled. Delay components can be used
all AND gates give zero that means no call in between XOR output and clock input so
is associated with this floor. that the elevator gets sometime between
reaching the floor with call and cancelling
2) Call Generator and Flusher: Eight basic the call by flushing memory; which we
switches have been used to generate calls at could say the serving time. The operation
a floor; if they are pressed there is call at can be seen in the following table III.
that specific floor. Actually they connect
the call memory bit generator‟s input to a 3) MUX Selector Generator: All eight
power supply if pressed. To cancel calls by comparator‟s outputs had been grouped into
flushing memory the A=B output of 7485 three final outputs of A>B, A<B and A=B
1=
1=Reached 1=Call Call
Floor Needs
0=No To Be
0=Not Yet Call Served
Reached
0=Call Fig 8c: CLK is HIGH, LSB is made LOW
Has
Been
Served
0 1 1 1 1
0 0 0 0 1
1 0 1 1 0
1 1 0 0 0
Fig 9: A visual representation of eight 7490 IC checking for calls at all floors. These results had been unified using OR and AND gates to
create the selectors of MUX#1 and MUX#2.
Fig 10: Connection diagram with floor comparator, call memory/directional selector and interconnector sub circuits. The 2 nd part of the
elevator system.
V. COMPLETE CIRCUIT
The complete elevator control circuit can be seen in between. Thus the whole system connects together
fig 11. The outputs of up and down counter have to control the elevator system.
been sent to MUX#1, which selects between their
outputs depending on directional selector bit. The VI. CONCLUSION
MUX#1 output and input of up and down counter is A digital logic based elevator control system for an
sent to MUX#2 which selects between them using eight storied building had been proposed in this
the call memory bit. The output of MUX#2 is again paper. Considering the events that occur during the
sent back to the inputs of up and down counter after movement of an elevator, a working flowchart had
a certain time delay via a delay element (shift been created. This flowchart was used to come up
register). Again another shift register is used to send with the functions that needed to be performed to
the MUX#2 output to the eight 7485 IC for control the elevator. Then these functions had been
comparing with their built in values and decide translated into logic equations and were
whether the built in values are above, below or same implemented using basic logic gates and available
to the output of MUX#2. At the same time, the call digital logic ICs into sub circuits. Combining these
switches are used to create call using 74190 IC‟s sub circuits the full control circuit had been created
LSB. This value together with 7485 outputs decides [5].
whether the elevator should move up, down or stay Acknowledgment
at the same floor. The interconnectors produce the The simulation of this work was done by using
directional selector bit and call memory bit using software 'Proteus' (ISIS Professional version 7.8
basic logic gates from the outputs of 7485 and 74190 SP2).
ICs, which are then used as selectors in MUX#1 and
MUX#2 with proper delay and storage elements in
REFERENCES
[1] S. B. R. Carter, and A. Selvaraj, “Design and
implementation of PLC based elevator,” International
journal of computer applications, vol. 68, no. 7, pp. 88-92,
2013.
[2] K. M. K. S. Bandara, S. G. Aberathne, and S. D.
Dewasurendra, “Statechart based elevator controller and its
verification,” First international conference on industrial
and information systems, pp. 88-92, August 2006.
[3] S. Huseinbegovic, S. Kreso, and O. Tanovic, “Design and
implementation of the CAN based elevator control
system,” XXII international symposium on information,
communication and automation technologies, pp. 1-6,
October 2009.
[4] Monzurul Islam Dewan, Md. Arafat Mahmud, Md. Tashfiq
Bin Kashem, and Mushfiqa Baishakhi Upoma, “A
Simulation Study of Elevator Control of a Building using
Digital Logic Circuit.”, IOSR Journal of Engineering, vol.
3, issue 12, pp 38-45, December 2013.
[5] Youtube Channel of Md. Zunaid Sikder (2014) [Online].
available:
https://www.youtube.com/watch?v=eDzSo_VpeCQ