Control of A Four Level Elevator System Using A Programmable Logic Controller Experiment No 4 PDF
Control of A Four Level Elevator System Using A Programmable Logic Controller Experiment No 4 PDF
University of Jordan
Faculty of Engineering and Technology
Mechatronics Engineering Department
Experiment no. 4
Control of a four-level elevator system
using a programmable logic controller
Objectives:
This Experiments on the design and implementation of a PLC-based controller for a four
level elevator. The PLC used is an Mitsubishi PLC FX3U-32MR with 16 inputs and
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.
Introduction:
Elevator provides an advanced application with which students may study the use and
programming of programmable logic controller (PLC). The advanced features of the
elevator also allow complex digital control techniques to be investigated.
The PLC has many advantages over other control systems. It is known for its flexibility,
lower cost, operational speed, reliability, ease of programming, security, and it is easy in
implementing changes and correcting errors.
Figure 2
Experiment Instructions:
A. Assignment 1: Familiarization
Objectives
- To learn about the elevator hardware.
- To learn how to connect the PLC to the elevator.
- To learn how to load a sample program into the PLC and start the program.
- To learn how to run the elevator test routine.
Figure 3
Objectives
- To learn about the PLC inputs and outputs.
- To learn about the idea of a latch
- To learn how to use time delay to show an indicator.
- To learn how use elevator bell.
- To learn about Master Control Relay function.
Practical 2: Latches
Write a ladder diagram given below to your PLC then found the function of a
program.
Objectives
- To learn about the elevator
initialization procedure.
- To learn about how to detect which
floor the elevator is currently sitting at.
Practical 1: Initialization
When you turn on the PLC controller for
the first time it does not know what state
the elevator hardware is set to.
The elevator could be sitting between
levels and the car door could be open.
Before starting to control the elevator,
the PLC must set the elevator to a known state.
This is achieved through an initialization routine.
Using the detailed information given
below, write a program to perform an
Initialization routine that can be used in
future exercises.
In the real world, separate sensors would be used for above, below, and at each
floor. In this trainer, however, to reduce the number of PLC inputs required, a
single sensor for each floor is combined with the three-finger gate mounted to the
car. This change is compensated for in the PLC programs.
It is important to understand how a floor level sensor operates. Figure 5 shows the
design of the car floor level sensor. The car movement gate is fixed to the car and
a light sensor is fixed at each of the four floor levels. As the car reaches a floor the
car movement gate interrupts the light beam to the light sensor. A signal as shown
on the right hand side of the of the diagram is presented to a PLC input, changing
state as the light beam to the sensor is interrupted by the car passing a floor level.
Figure 5
Set the elevator car at the top floor using the Manual switch and look to the left
through the transparent front cover at the horizontal bars running from front to back
at each floor level and you will see the slotted light sensor for each floor. If you look
underneath the elevator car on the left hand side you will see the car movement
gate in the slot of the light sensor.
If the car is at the bottom of the elevator (level 1), no signal is received since the
light source is blocked. If the car is not at the level or is approaching a level, the
level sensor to the PLC input changes state indicating that the car is approaching a
floor.
The first time the initialization procedure is run it is possible that the car is situated
at a level or between levels (as if the car was approaching a level).
To summaries, the input to the PLC can represent three positions of the car as it
approaches a floor.
- Car approaching floor state (sensor is off)
- Car approaching floor level (sensor is on)
- Car is at level (sensor is off)
If the level 1 sensor is detected the car will travel upwards until the level 2 sensor
is found. At this point the main initialization procedure will be carried out.
Objectives
- To create a program that implements a simple working elevator that accepts
requests one at a time. Include in the program a door open and close routine
and sound the bell on arrival at the floor.
- To create a simple elevator program where the car can selectively service
floors when An elevator is continually moving.
Write a program that does not allow more than one input to be entered into the
system at a time. The car gets to a floor and then waits for the next input. A more
complicated algorithm will be explored in the project 'A Working Elevator' .
When the car is at the required level, turn off the request lights (both in the car and
on the level).
The car and the level push buttons have the same effect. On levels 2 and 3 the
request up and down push buttons operate in the same way. A more complicated
scenario is explored in a later assignment.
Include in your program the car direction arrow to indicate which way the car is
travelling.
Use the ideas explored within the previous practical to determine which direction
the car must travel to service a floor. Think about whether this program would work
in practice, listing how it might be improved.
Objectives
Algorithm fundamental:
If car is moving up, service those calls up before going back down again. The
reason for adopting such an approach is to save energy.
Consider the algorithm used in Practical 1(Visiting All Floors using Request
Pushbuttons) of Assignment 5. Although this is a working program, the passenger
who pushes the pushbutton fastest gets control of the elevator. This is clearly
undesirable.
The elevator will know about the top and bottom levels, and whether the elevator
needs to travel further to service a demand.
One of the biggest differences between this problem and the 'Visiting All Floors
using Request Push buttons' practical lies with the ability to receive car requests at
any time.
A further complexity lies with how to process the Elevator Car pushbuttons. For
this practical, the Elevator Car push buttons are either ignored or they should have
the same action as the floor pushbuttons. The final practical will complete the
algorithm by adding the car push buttons.
Before beginning to design the program it is useful to think of the problem in terms
of requirements:
Move to the first level that has been requested. If there are requests that are higher
than the current level of the car continue moving the car upwards until every
requested floor has been visited. When there are no more requests higher than the
current car level, change the direction of the car and service requests that are
below the current level (ignoring requests that are higher than the current car
level). When there are no further lower requests (or the bottom of the elevator has
been reached), change direction of the car and service requests higher than the
current floor level.
The procedure should be repeated.
Algorithm:
Perform an initialization routine so the elevator is set to level 1. Set direction to up.
Check for elevator requests
An example:
Following initialization (where the elevator is initialized to sit at level 1), assume the
following requests: Floor 3 Up, Floor 4 Down, Floor 2 Down. The following
sequence will be executed:
1. All up requests are serviced, Le. in this case only 3U will be serviced.
2. Next the elevator reaches the fourth floor to service 4
3. Finally it services the remaining down requests, which in this case is 2D.
Use this example as a way to test your routine. Full Control (All Floor Controls)
In full size elevators remember that the passengers do not usually see which floors
the elevator is about to call at (which level push buttons have been pressed by
passengers).
This practical expands the previous practical by adding logic to ensure that the
passengers in the car do not receive more information than they need.
Objectives