Programmable Logic Controller PLC in Automation
Programmable Logic Controller PLC in Automation
ISSN 2229-5518
Implementation of a Four-Floor
Programmable Logic Controlled Elevator
System
KAMALU, U.A, OGUNLEKE, F.A
[email protected] [email protected]
ABSTRACT: This paper is on the design and implementation of a 4-Floor Elevator control system
using Programmable Logic Controller (PLC). It involves developing a model of the Four-Floor and
simulating the control using a SCADA system. The PLC in consideration is Siemens S7-200 with
minimum of 14 inputs and 10 outputs, and the SCADA system in use is Intouch Wonderware,
Schneider Electric product software. The elevator operates in a power saving mode; resulting in the
use of an intelligent design model. The elevator control system is programmed in a ladder diagram
format into the PLC. The design gives the basic structure, control principle and realization method of
the PLC control system in details. It also presents the ladder diagram of the key aspects of the
system. The system has simple peripheral circuit and the operation result showed that it enhanced the
reliability and performance of the elevators. Some suggestions on how to extend this system to the
control of more than four floors are also included. It contributes to the design and use of simple
circuit, easy to understand, operate and use.
IJSER
Keyword: Controller, Elevator, Ladder, Logic, Programmable, SCADA
The important part of the system is the This dimension (1.5 m x 1.5 m x 2 m) will
IJSER
controller and the type of controller used here give a total volume of 4.5 m3. This is assumed
is PLC which is configured to control the to accommodate a total of 10 persons with
operations of the elevator. Electromagnetic average volume occupancy of 0.45 m3. Also,
actuator and contact action were so slow, considering the total weight of 650KG the
mechanical and electromagnetic components cabin can handle, by introducing allowance of
have large inertia. Therefore, the control +50kg, a maximum weight of 700kg is in
precision of system was difficult. So there is a consideration. This total weight and the
need to go for modern type of controllers like volume will guide in selecting the base support
PLC. and the rope strength to carry the cabin and the
passenger without failure.
In this type of control there is provision to
monitor the entire system by means of 2.1.2 Base Plate Support Calculation and
SCADA (Supervisory Control and Data Selection
Acquisition) system. The first and most important step towards
2.1 Elevator Hardware Design successful selection of plate for use is the
proper understanding of its application.
The design of the elevator system will be Besides the calculation, the property
based on the calculation of certain parameters requirements for plate applications in elevator
which defines the operation of an elevator. To designs are considered. The main properties
meet the objectives of the elevator system, include; corrosion resistance, oxidation
theoretical studies of its operation and the resistance, strength and ductility, suitability for
machine model of an ideal elevator was internal fabrication, stability in service,
considered. Then to validate and to implement thermal conductivity, thermal expansion,
the simulated model as a prototype, certain electrical resistance and rigidity among others.
calculations have been carried out to determine
some critical parameters. The parameters The required thickness of the base plate can be
include the size of the cabin, maximum calculated as follows:
number of persons that can be accommodated The cabin has been designed to take a
in the elevator, strength of the rope, base plate maximum weight of 700kg. Having in mind
design, type of motor used, motors power the area coverage for 10 persons in the cabin
rating and torque rating. which gives a volume of 4.5 m3 giving the area
IJSER © 2018
http://www.ijser.org
International Journal of Scientific & Engineering Research Volume 9, Issue 6, June-2018 971
ISSN 2229-5518
2
as 2.25 m , and considering tensile strength From the rope manufacturer’s data sheet Table
that can withstand a force of 700kg x 9.8m/s2 1, to meet the design requirement, the cable
(6.86KN). According to plate selection table with 10.9kN safe load capacity and thickness
by Solid-Liquid Filtration and Separation of 3/8” or 9.5 mm is considered.
Technology, the plate minimum thickness will
be 10mm and the maximum thickness will be
30mm.
2.1.4 Power Calculation for Motor
The motor used here is a capacitor start single
For the sake of design simplicity the entire
phase induction motor. Based on the design
system has reduced to a prototype of 1:20 ratio
specification the output power and the output
to the real model.
torque of the motor are calculated by a simple
calculation.
2.1.3 Rope Strength
The tension on the rope and its choice of Power and torque calculation
selection can be determined with the following Weight of empty cabin = 100 kg
simple calculation. The force exerted on the
Counter weight = 100 kg
rope can be found by using Newton’s formula.
10 persons with 65 kg each = 650 kg
F = mass x acceleration = mg……………..…..2
For constant speed operation of 1 m/s or 60 m/min
The expected entire weight of the elevator when
The power, work and force are calculated as
fully loaded will be: follows:
IJSER
10 persons with 65 kg each = 650 kg Power = Work × Time…………………………..…3
Cabin weight = 100 kg
Work = Force × Distance…….………………..….4
Counter weight = 100 kg
Force, F = mg…………………………………...…..5
F = (650+100+100) x 9.8 = 8330 N = 8.33kN
𝑑𝑖𝑠𝑡𝑎𝑛𝑐𝑒
The force acting on the string is 8.33kN. So a Power = Force × ………...……………….6
𝑡𝑖𝑚𝑒
string with the capacity to bear at least 9kN has to
Power = Force × Velocity ………...………….7
be chosen on the standard rope strength in table 1.
Force = 650 × 9.8 = 6370 N
Table 1: Rope Strength Table Power = 6370N × 1m/s = 6370 W
6705
= = 31.5 Nm
2𝜋 𝑥 1500
Weight of cabin = 5 kg
Counter Weight = 5 kg
IJSER © 2018
http://www.ijser.org
International Journal of Scientific & Engineering Research Volume 9, Issue 6, June-2018 972
ISSN 2229-5518
10 persons of 3.25 kg = 32.5 kg For smooth meshing of gears, both the gears
should have same sized teeth and invariably have
For constant speed operation of 1 m/s = 60 m/min the same pitch, p.
The power, work and force are calculated using The pitch can be calculated using the equation (10)
the equations 3 to 7.
2𝜋𝑟𝑑1 2𝜋𝑟𝑑2
P= = ………………………….10
F = 32.5 x 9.8 = 318.5 W 𝑁𝑑1 𝑁𝑑2
Rotational Speed, ω = 1500 rpm From ‘p’ the value of Nd2 can be found out
𝑃𝑜𝑤𝑒𝑟 𝑖𝑛 𝑊𝑎𝑡𝑡𝑠 2𝜋𝑟𝑑2 30
Torque of the motor (Nm) = Nd2 = = = 60 teeth
2𝜋𝜔 𝑝 0.5
372.5
= = 1.749 Nm Therefore, the gear ratio is given by
2𝜋 𝑥 1500
To achieve the desired speed of 1 m/s from the 2.2 Controller Hardware Design and
motor output of 1500 rpm, the diameter and Configuration
IJSER
the circumference of the gears has to be
When an engineer is embarking on any
calculated thus;
program of automation, it must be
Cabin weight = 100kg remembered that the controller is only a tool
used to perform the necessary tasks. The actual
Counter weight = 100kg task of implementing automation is therefore
paramount, often involves many
10 persons with 65kg = 650kg
methodologies in its system design phase.
Speed of the elevator is 1 m/s Once the specifications are established, the job
of selecting a suitable controller will then
= 60m/min = 6000cm/min become most important as this would
Circumference of gear 2, c2 = 30cm
determine how at ease the automation program
might continue.
30
Therefore, diameter of gear 2, d2 = = 9.5 cm
𝜋 There is a massive range of PLC systems
To find the rpm of gear:
available today, with new additions or
replacements continually being produced with
𝑣𝑒𝑙𝑜𝑐𝑖𝑡𝑦 enhanced features of one types or another.
rpm = ………………….9
𝑐𝑖𝑟𝑐𝑢𝑚𝑓𝑒𝑟𝑒𝑛𝑐𝑒
Advances in technology are quickly adopted
6000 by manufacturers in order to improve the
Speed of gear 2 = = 200 rpm
30 performance and market status of their
However, the speed of gear 1 is 1500 rpm products. However, irrespective of make, the
majority of PLC in each size range is very
Speed and length are inversely proportional similar in term of their control facilities.
200 𝑐1
Where significant differences are to be found
Therefore, = Circumference of gear1 = is in the programming methods and languages,
1500 30
together with differing standards of
c1 = 4cm manufacturer support and backup.
𝑐1 With the vast choice of equipment now
This implies, the diameter of gear1, d1 =
𝜋 available, the engineer can usually obtain
4 similar systems from several original
= = 1.273 𝑐𝑚 equipment manufacturers (OEM). When the
𝜋
IJSER © 2018
http://www.ijser.org
International Journal of Scientific & Engineering Research Volume 9, Issue 6, June-2018 973
ISSN 2229-5518
specification requires certain types of function
or input/output, it is possible that one system
from a single manufacturer standing out as
more superior or cost effective than the other;
but normally this is rarely the case.
IJSER
has been choosen. It has 14 input pins and 10 software has been designed in such a way that
output pins and it matches the I/O each floor has its own control software block;
requirements of this design work. in this way tasks will be performed in
accordance with the particular location of the
lift vehicle. This enables the design to be
logically organized and, in addition, determine
2.3 Elevator Control Algorithm and what routine to run in response to a particular
Software Development input signal at different locations of the lift
vehicle. The block diagram of the software
The main aims of the elevator control system
design is shown in figure 2
are:
IJSER © 2018
http://www.ijser.org
International Journal of Scientific & Engineering Research Volume 9, Issue 6, June-2018 974
ISSN 2229-5518
Each block of the above mentioned blocks has 2.5 Overview of Implementation
been itself divided into three minor blocks and Techniques
these are: Block register initialization,
Destination scan and Push Button Scan. Any kind of programming style to be adopted
must ensure that tasks are achieved by
2.4.1 Block Register Initialization assigning values to the registers or
setting/resetting bits in different registers. This
The function of this block is to make sure all design is not an exception to that. For
the starting parameters are in the desired states example, the Register Initialization block is
when the car enters a particular floor block. As composed of a series of bit set/reset
an illustration, when the elevator is on the first instructions or assignments of a full byte value
floor, location initialisation needs to be set to to a particular register. Travels from floor to
this floor. When the system is just powered on, floor or door open/closure delays are achieved
the vehicle should be in a static state (not through Ladder Logic implementations.
moving) and it does not make sense to say that
the direction is up or down since there is no The control algorithms developed in
motion at all. The doors are sealed and at the the process of implementing the software
moment the system has not been instructed to design are translated into ladder logic for
go anywhere. The above mentioned effective design analysis. Based on these
information has to be entered into the requirements, the logic has to be developed
controller in form of instructions. These accordingly with the specifications of the PLC
instructions have been organized into one set chosen. For the working model of an elevator,
IJSER
that is referred to as Register Initialization various logics for different operations have to
block since they are entered into the system by be developed and it is discussed in the
assigning values to registers. subsequent subtitles.
2.4.2 Destination Scan The flowchart in Figure 3 achieves the floors
The Register Initialization block sole role is to register initializations and destination scans.
tell the system where it is, or to set the starting
point in the particular floor block. The next job
is to check whether there are instructions to go
anywhere. If there are any destination request
the system should run routines to go to that
particular destination. If no requests are
available, the system should keep looping in
this section, looking for a destination until it
finds one.
2.4.3 Push-Button Scan
So far, the system knows its position or
location and it knows how to look for a
destination; this section is concerned with
finding a way to give the system a destination.
From the hardware design section signals are
entered through Push-Buttons. Depending on
the location of the lift vehicle, when a
particular destination request PB is engaged,
appropriate registers should be set. With the
destination set, the Destination Scan block
should find it and appropriate routines should
be run.
IJSER © 2018
http://www.ijser.org
International Journal of Scientific & Engineering Research Volume 9, Issue 6, June-2018 975
ISSN 2229-5518
15. EMERGENCY STOP - I1.6
16. MANUAL DOOR OPEN/CLOSE - I2.0
Output Assignment
1. PULLEY UP MOTOR SIGNAL - Q0.0
2. PULLEY DOWN MOTOR SIGNAL - Q0.1
3. MOTOR STOPS SIGNAL - Q0.2
4. DOOR OPEN SIGNAL - Q0.3
5. DOOR CLOSE SIGNAL - Q0.4
6. BCD TO 7 SEGMENT DISPLAY - Q0.5
7. BCD TO 7 SEGMENT DISPLAY - Q0.6
8. BCD TO 7 SEGMENT DISPLAY - Q0.7
9. BCD TO 7 SEGMENT DISPLAY - Q1.0
Memory Assignment
1. FLOOR 1 MEMORY LOCATION - M0.0
2. FLOOR 2 MEMORY LOCATION - M0.1
3. FLOOR 3 MEMORY LOCATION - M0.2
4. FLOOR 4 MEMORY LOCATION - M0.3
5. FLOOR 1 LAST VISIT MEMORY - M0.5
6. FLOOR 2 LAST VISIT MEMORY - M0.6
7. FLOOR 3 LAST VISIT MEMORY - M0.7
8. FLOOR 4 LAST VISIT MEMORY - M1.4
9. FLOOR 1 VISIT MEMORY - M1.0
10. FLOOR 2 VISIT MEMORY - M1.1
11. FLOOR 3 VISIT MEMORY - M1.2
12. FLOOR 4 VISIT MEMORY - M1.3
IJSER
The program is analysed by networks
arrangement and there are four major design
considerations for the control parameters in
this design.
2.6.1 Floor Limit Switch Sensor Design
Figure 3 Initialization and Scan Flowchart
Each floor is designed with limit switch as
2.6 Ladder Logic Implementation sensor and each sensor is assigned a memory
location for proper interlock in the process of
The Siemens SIMATIC micro/win program is
design manipulations. The following networks
used in the project to develop the logic which
describe the sensor designs for floor 1 to floor
controls the PLC using the ladder diagram
4 respectively. The safety interlock design in
language. The following is detailed
each of the floor shows that whenever the
explanation for each and every network in the
limits switch memory of any floor is at “SET”
ladder diagram used to implement the
position; all other memories are at “RESET”.
elevator's software. However, the following
highlights the addresses locations for the
inputs, outputs and the memory assignments.
Input Assignment
1. FLOOR 1 LIMIT SWITCH - I0.0
2. FLOOR 2 LIMIT SWITCH - I0.1
3. FLOOR 3 LIMIT SWITCH - I0.2
4. FLOOR 4 LIMIT SWITCH - I0.3
5. FLOOR 1 CAR CALL - I0.4
6. FLOOR 2 CAR CALL - I0.5 Network1: Floor 1 Limit Switch Sensor design
7. FLOOR 3 CAR CALL - I0.6
8. FLOOR 4 CAR CALL - I0.7
9. FLOOR 1 HALL CALL UP - I1.0
10. FLOOR 2 HALL CALL UP - I1.1
11. FLOOR 2 HALL CALL DOWN - I1.2
12. FLOOR 3 HALL CALL UP - I1.3
13. FLOOR 3 HALL CALL DOWN - I1.4
14. FLOOR 4 HALL CALL DOWN - I1.5
IJSER © 2018
http://www.ijser.org
International Journal of Scientific & Engineering Research Volume 9, Issue 6, June-2018 976
ISSN 2229-5518
IJSER
Movement Design
IJSER
position and was moving in the opposite position and was moving in the opposite
direction. direction.
IJSER
motor stop) it is made sure that the car is still 3.1 Simulation Results
and a signal to the door motor to run and open
the door is made (Q0.3) another timer (T38) is Two major simulation software packages are
set after that signal (that timer defines how used in the test cases results, namely; PLCSIM
long the door will remain open before a signal and SCADA Simulators.
to close the door is made). When the door S7-PLCSIM is a SIMATIC
open signal is high (Q0.3=1), the door closing Engineering tool for simulating any program
signal is reset (Q0.4=0) to ensure that the two implementation in Siemens STEP-7
signals are not sent simultaneously causing environment. S7-PLCSIM can execute and test
serious design and operation errors. any STEP 7 user program in a simulated
programmable logic controller (PLC).
Similarly, InTouch Wonderware
SCADA software is a Schneider Electric
product, a component of Wonderware Factory
Suite which can create powerful, full-featured
applications that exploit the key features of
Network 13: Door Close Signal
Microsoft Windows including ActiveX
If the timer defining the time period during controls, OLE, graphics, networking and many
which the door should remain open start more applications.
signalling (10 seconds after the door open
3.1.1 PLCSIM Simulation Results
signal was set high) AND if the door open
button was not pressed (I2.0=0) OR if the door
At the start of the simulation module and the
close button was pushed (I2.1) even before the
Ladder programme run mode, the following
10 seconds specified are over, the door close
figure depicts the overview.
signal is sent to the door motor to start running
on the opposite direction and close the car's
door. Consequently, setting the door opening
signal resets the door close signal and
conversely, setting the door close signal resets
the door open signal.
IJSER © 2018
http://www.ijser.org
International Journal of Scientific & Engineering Research Volume 9, Issue 6, June-2018 979
ISSN 2229-5518
IJSER
Also from the PLCSIM module, the memory Figure 6 Elevator at Floor 1
bit M0.0 and M0.5 confirmed that the elevator
is at floor 1 and the last visit floor is floor 1 The car is at first floor and the output to the 7-
respectively. segment is set to drive it to show decimal
number [1] equivalent of [0001] binary. The
output array shows that only Q1.0 is “high”
and Q0.5, Q0.6, Q0.7 set “low”. The Floor 1
BCD-7 Segment Display is shown in figure 6
above.
IJSER © 2018
http://www.ijser.org
International Journal of Scientific & Engineering Research Volume 9, Issue 6, June-2018 980
ISSN 2229-5518
3.1.4 Test Case 3: Moving from Floor 2 to
Floor 3
While at the second floor, a call to the third
floor occurred, which makes 3rd floor call
input to be set high (M0.2 = SET) as shown in
figure 8.
IJSER
Figure 7 Floor 2 Call
IJSER © 2018
http://www.ijser.org
International Journal of Scientific & Engineering Research Volume 9, Issue 6, June-2018 981
ISSN 2229-5518
IJSER
input to be set high (M0.3 = SET) as shown in Figure 9: Floor 4 Call
figure 9.
The car is at fourth floor and the output to the
7-segment is set to drive it to show decimal
number (4) equivalent of [0100] binary. The
output array shows that only Q0.6, set “high”
and Q0.5, Q0.6, Q1.0 set “low”. The Floor 4
BCD-7 Segment Display is shown in figure 9
above.
IJSER © 2018
http://www.ijser.org
International Journal of Scientific & Engineering Research Volume 9, Issue 6, June-2018 982
ISSN 2229-5518
3.3 SCADA SIMULATION RESULTS
The PLC operation was first tested with the
PLSIM software in the SIMATIC manager as
described in sub section 3.1.1. The Network
Logic parameters are now translated to the
scripts programming in InTouch Wonderware.
The following figure shows simulation layout
and results.
IJSER
Figure 12 Elevator at floor 1 When a call is initiated from a lower floor to
the floor above it, as the elevator is moving up,
the pulley up motor signal is set “high” while
the pulley down motor, motor stop and door
animation signals are set to “0”.
IJSER © 2018
http://www.ijser.org
International Journal of Scientific & Engineering Research Volume 9, Issue 6, June-2018 984
ISSN 2229-5518
IJSER
Figure 18 Elevator call from floor 3 to 4
3.3.3 Elevator downward call to floors
Figure 21 Elevator call from floor 2 to 1
IJSER
elevator drive with a single-sided linear
induction motor”, Fifth European Conference
on Power Electronics and Applications, IET
Conference Publications, p 353-358.
http://www.electrical-knowhow.com/2017/05/elevator
control-system.html
IJSER © 2018
http://www.ijser.org