Professional Documents
Culture Documents
Control of A Four Level Elevator System Using A PLC PDF
Control of A Four Level Elevator System Using A PLC PDF
Abstract This project reports on the design and implementation of a PLC-based controller for a four-
level elevator. The PLC used is an Omron Sysmac C20K with 12 inputs and 8 outputs. The design
incorporates an intelligent controller that services all the requests in an energy-saving way, rather than
on a first-come, first-served basis. Some suggestions on how to extend this system to the control of
more than four floors are also included.
Keywords elevator control; intelligent control; Omron Sysmac; programmable logic control; state
diagram
Hardware design
The objective of the hardware design is to develop the interface circuit between the
PLC and the elevator system and the elevator control panel, with both external and
internal requests. These requests are produced by push buttons that send continuous
signals to the PLC when activated. Each push button is connected to an LED to iden-
tify the request placed. In addition, the four floors are represented by four LEDs,
one for each level. Furthermore, an alarm switch is installed to produce a flashing
signal whenever activated. This facility was introduced to simulate the desire for a
sudden stoppage of the elevator either for reasons of safety or for requests for a
repair job to be carried out on the elevator.
In order to obtain the desired setup, we needed to find a way to capture the pulse
generated by a depressed push button. We also needed to make sure that the PLC is
recognising these signals in order for it to correctly perform the required action. As
explained below, both issues were resolved by using set/reset flip flops and relays
respectively.
The block diagram of the system’s layout is shown in Fig. 1, where both the inter-
face between the PLC and the elevator system with the control panel are drawn.
Elevator
12 Inputs 12 Inputs
System with
Control Interface PLC
Panel Circuit
8 Outputs
"Request serviced" R
signal
Fig. 2 General scheme for the use of an S/R flip flop in this project.
Inputs Outputs
Elevator
1 2 3 4 Position
4 3 4
3 1 2
2 DO DO
DC
1 AL
Software design
The elevator system may run in two different control modes: dumb control and
intelligent control. In order to achieve the complete design, all possible transitions
and stages the elevator system has to go through were considered and a complete
flowchart was drawn for this.5
Control modes
Of the two different control modes: dumb control, or intelligent control, the dumb
control is not popular these days because it is not practical. It is usually used for
transporting material and equipment in buildings, where all the floors have to be
visited sequentially and continuously. On the other hand, the intelligent control
responds to requests placed by users by ordering and processing them in an intel-
ligent manner. This type of control is used in most applications requiring modern
elevators. Hence only the intelligent mode was designed and implemented as
discussed below.
Intelligent control
The intelligent control is based on taking all requests and ordering them in an
intelligent manner such that the earlier-mentioned compromise between energy
consumption and speed of response is met. All possible transitions were included
as shown in the state diagram of Fig. 4.
In Fig. 4, the transitions Tij from level i to level j, with i, j = 1,4 and i π j, are all
defined below, where the apostrophe (‘) denotes the ‘logical complementation’ oper-
ation. As for the four states, these are respectively defined by the transitions Tii, with
i = 1,4, that are also defined below but are not shown in Fig. 4. Each state is simply
characterised by (a) the lift being at the floor represented by this state, in which case
the light at this floor should be ON, and (b) either the door being open , i.e. DO is
ON, or the alarm (AL) being ON. Note that ORing the last two conditions will
prevent the lift from leaving the particular level it is at if either of these two condi-
tions becomes true.
Transitions from level 1 up to levels 2, 3 and 4
T11 = L1.(DO + AL)
T12 = L1.[(I2 + 2U) + 2D.(3U + 3D + I3 + 4D + I4)’.
] DC
T13 = L1.(I2 + 2U + 2D)’.[(I3 + 3U) + 3D.(4D + I4)’.
] DC
T14 = L1.(I2 + 2U + 2D)’.(I3 + 3U + 3D)’.(I4 + 4D).DC (State 1)
T43&T32&T21 1 T12
T32&T21
T21
T12&T23&T34
T43&T32
4 T23&T34
2
T34 T32
T12&T23
T23
T43 3
Fig. 4 State diagram of intelligent control.
Assume the following requests: 2D, 3U, 4D, were made and the elevator is currently
at level 1. The PLC will then perform the following sequence: First, all up requests
are serviced, i.e. in this case only 3U will be serviced. Next the elevator reaches the
fourth floor to service 4D, and finally it services the remaining down requests, which
in our case is 2D.
The complete ladder diagram and program for the intelligent control mode can
be found in ref. [5].
Suggestion 1
Use a more powerful PLC. PLCs come in different sizes and with various capabil-
ities. When increasing the number of levels in the elevator system, the designer must
identify the number of inputs and outputs required to select the most suitable PLC.
Suggestion 2
Use two Omron PLCs working together. One PLC can be dedicated to the control
of the lower four floors while the other controls the upper three floors. Information
about the switch from the set of four floors to the set of three floors and vice-versa
can be transmitted from one PLC to the other via two communication lines, C12 and
C21, as shown in Fig. 5. The line C12 will transmit to PLC2 the information that
PLC1 has sensed the requests for the upper three floors (F5–F7) and once all requests
C21
PLC 2
7 OUTPUTS
11 INPUTS Floors
F5 - F7
associated with the lower four floors (F1–F4) have been serviced, the control of the
upper three floors will be automatically transferred to PLC2. A similar function is
carried out by C21. In this case, instead of having 12 inputs and 8 outputs only, 22
inputs and 14 outputs would be required as shown in Fig. 5.
Suggestion 3
The use of a more elaborate input/output interface board together with a single
Omron PLC is worthwhile investigating. It should however be borne in mind that,
in this case, the overall system cost should be kept lower than that in the previous
two suggestions.
Conclusion
In this paper, the successful design and implementation of the intelligent control
of a 4-level elevator system using only a small educational PLC was discussed. The
design includes a simple scheme that aims at a good compromise between energy
consumption and speed of response without requiring any extra circuitry. Some sug-
gestions as to how to extend the design to handle a larger number of floors were
also given. Finally, it is hoped that this work has demonstrated that, despite their
limited control capabilities, small educational PLCs, when fully exploited, can
indeed tackle industrial control jobs of modest size in a cost-effective way.
References
1 G. C. Barney and S. M. Dos Santos, Lift Traffic Analysis: Design and Control (Peter Peregrinus,
1977).
2 G. R. Srtakosh, Vertical Transportation: Elevators and Escalators (John Wiley, New York, 1967).
3 I. Warnock, Programmable Controllers (Prentice Hall, Englewood Cliffs, 1988).
4 J. W. Webb, Programmable Logic Controllers: Principles and Applications (Macmillan, New York,
1988).
5 M. Al Mulla, Control of a 4-level Elevator System Using a Programmable Logic Controller, Senior
Project, Systems Engineering Department, KFUPM, September 1988.