Documente Academic
Documente Profesional
Documente Cultură
INTRODUCTION
The need for automatic gates has been on the increase in recent times. The system
described here incorporates the use of programmable logic controller (PLC) as the
controller in achieving the aims of this project. It is no exaggeration to say that the PLC has
revolutionized the electronics industry and has had a remarkable impact on many aspects of
our lives most especially the industry. Almost all areas of technology have started taking
advantage of the inexpensive computer control that the PLC can provide. Some typical
applications include automatic motor braking systems, industrial process controls,
electronic measuring instruments, traffic controllers, and a rapidly growing number of new
products [1].
The automatic gate may be describe as automated entrance portals that are popularly used in
parking lots of residential homes, organizations, automobile terminals, and public car parks, which
utilize microcontrollers for added intelligence. It is automatic to avoid the stress of manually
opening and closing the gate. The technology used eliminates gate monitoring and manning by
human beings. The gate uses a state-of-the-art entry system. The gates have to perform gyrations
open, auto-reverse, stop, fully close and fully stop [2]. The automatic gate is not a security device
and should not construe as one. It provides convenient access and intelligent features that makes it
distinct from all other gates, which bring it so close to a security device [3].
Conventional portals are mostly manually operate as practiced by most third world countries and
thus are vulnerable to some security issues, which endanger stakeholders within the community.
Unattended portals are more prone to illegal entry and monitoring of visitors is compromised.
Moreover, these conventional portals are stressful to operate due to its manual manipulation during
opening and closing. Hence, guards and home owners resort to just leaving the gates open at all
times.
The aforementioned arguments considered as baseline research and other benchmarked information
on relevant portal concepts provided motivation for the conduct of this present study in the hope of
making a difference in Debre Markos University (DMU), Ethiopia, Africa.
1. What design parameters to consider in terms of the input and output devices,
microcontroller, programming language, and simulation techniques to model the
system?
3. What simulation technique to use in order to effectively model the automated portal
system of the university?
1.3. Objectives
The general objective of this project is to design and simulate an automatic entrance gate of
DMU using a PLC-based motor-driven portal system. The specific objectives are:
The design and simulation of the automatic entrance gate of Debre Markos University
utilizing a simulated model will provide baseline design of automated portal system that
can be used to some relevant application that offers better security and controllability. The
design also provide academic impact to some relevant courses in the university as it
provides benchmarked technical information of the project highly important in the fields of
industrial control and automation.
The control framework of the study is anchored on the use of appropriate sensing devices to
detect the incoming vehicle at the university gate. The entrance vehicle sensor will prompt
the guard on the coming vehicle for the opening motion sensing to trigger the reverse
rotation of the gate. The full opening shall be confirmed by another capacitive sensor thus
stopping the motor-driven gate. Once the vehicle is on the way inside the university,
another sensor will detect the vehicle thus sends signal to the system to automatically close
the gate via the forward rotation of the motor, hence the gate is closed.
The study outlines the design and simulation of a simulated model of an automated
entrance gate of DMU most specifically the vehicular gate of the university using a motor-
driven gate controlled by a PLC using ladder diagram programming. Authorized vehicle
identification is presumed done by the security guard by university sticker system. The
following undertaking is not included in this present study: prototyping using physical
components, implementation of pedestrian gate, and any other gates other than the vehicles
gate.
Chapter 1 describes the background and motivation for this study, the problem description,
the research objective, the scope and limitation, as well as the significance of the study.
Chapter 2 presents a review of related literature and project component. Chapter 3 presents
the methodology or design system. Chapter 4 talks about result and finding. Finally, in
Chapter 5, conclusions are drawn and future research is proposed
2.1. Introduction
There several issues regarding to the usage of automatic gate system. These problem occurs
because of the most of automatic gate system is using remote control that been used remote
sensor. Present remote sensor is easily damaged and force repair if damaged. Besides that,
it happened when the system is not meeting the manufacturing industry desired and needed.
For this purpose, many parties try to develop the automatic gate system that only capable to
fulfill the task of manufacturing but also easier to operate and to handle. This automatic
gate system is not only focus on the system but also focus on the part or equipment that
been used.
In this paper, the authors deal with the problem of designing a controller for a
discrete event system. They argue that the classical approach of supervisory control theory
(SCT) can be used as an essential step of such a procedure. However, some of the features
that make supervisory control an attractive paradigm to solve theoretical problems are often
a major source of difficulty in implementing a controller: such is the case, for instance, of
the abstraction level usually considered in SCT. They define a method to obtain the correct
abstraction level and present a procedure to design a Controller using SCT. This approach is
applied to a simple but realistic example: an automatic gate [4].
A gate with 2 limit switches to indicate when the gate is fully open or fully closed,
An electrical motor with 2 contactors to control the direction (one per direction),
A receiver for the users remote controls, a sensor to detect the presence of a vehicle
in front of the gate.
The desired behavior of the plant may be expressed by the set of specifications
given here after in plain natural language. Among these seven specifications, the first three
are related to vivacity requirements (what must be done to perform the expected task).
Specification P4 expresses a safety requirement. Specifications P5 and P6 express
constraints coming from actuators and the last one is an assumption on the correct operation
of the sensors (the problem of sensors monitoring is not deal with in this study).
P2 - When the gate is open with no request from the user or no detection of a car, the gate
closes.
P3 - While the gate is not totally closed, the detection of a car causes the reopening of the
gate.
By review this case study, the concept and the base of the system is similar to this project
that is to implement the automatic gate system by using control systems such as PLC. For
this case study, they use the remote controlled to opened and closed the gate, but in this
project, the gate is automatically open and closed.
A microprocessor based security system for gate control in a housing estate is described
this. The system provides efficient gate access and estate control to perform the job of the
The microprocessor is the main part of the block diagram that functions to control the
whole of the system. In this module, the program prompts the tenant for the access code. A
check is then made and if valid, the program request for the identification code. The gate is
A transformer used to step down the input AC voltage level with a turns ratio of 10
to 1.1 would convert the 220 volt 50 Hz input sine wave into a 24 volt sine wave.
Bridge rectifier the job of the bridge rectifier is to take the ac voltage from the
transformer and rectify it. So, that the voltage no longer goes through a negative
cycle with the rectifier all of the voltage is rectified positive.
Changes in the load or the AC line voltage will cause the output voltage to
vary.
The regulator fixes the output voltage to the desired level then maintains
that value despite any output or input variations.
Smoothing capacitorthe capacitor does a good job of smoothing the pulses from
the rectifier into a more constant DC.A small variation occurs in the DC because the
capacitor discharges a small amount between the positive and negative pulses.
Then it recharges. This variation is called ripple
CPU makes a great number of check-ups of the PLC controller itself so as eventual errors
would be discovered early. Microprocessor based CPU may allow arithmetic operations,
logic operators, block memory moves, computer interface, local area network, functions,
etc.
The internal paths along which the digital signals flow within the PLC are called buses.
The system has four buses: The CPU uses the (a) data bus for sending data between the
different elements, (b) address bus to send the addresses of locations for accessing stored
data,(c) control bus for signals relating to internal control actions and (d) system bus for
communications between the I/O ports and the I/O unit.
2.5.1.1.1.3 Memory
Memory Is the component that stores information, programs and data in a PLC. System
(ROM) is the component to give permanent storage for the operating system and the fixed
data used by the CPU.RAM is for data where information is stored on the status of input
and output devices and the values of timers and counters and other internal devices.
EPROM is for ROMs that can be programmed and then the program is made permanent.
INPUT MODULES accepts and converts signals from sensors into a logic signal
OUTPUT MODULES that convert control instructions a signal that can be used
by actuators.
Most PLC controllers work either at 24 VDC or at 220 VAC. Some PLC controllers have
electrical supply as a separate module, while small and medium series already contain the
supply module in this project used 24V DC.
The programming device is used to enter the required program into the memory of the
processor. The program is developed in the programming device and then transferred to the
memory unit of the PLC.
1. Input Relays
Input relays are transistors that connect to the outside world and receive signals from
switches, sensors, etc.
Internal Utility Relays do not receive signals from the outside world and do not physically
exist. These simulated relays enable a PLC to eliminate external relays and are dedicated to
performing only one task.
These connected to the outside world. They physically exist and send on/off signals to
solenoids, lights, etc. That can be transistors, relays, or triacs depending upon the model
chosen.
Ladder Logic
The ladder logic is the oldest programming language for PLC. It is well suited to
express Combinational logic. The main ladder logic symbols represent the elements
2.5.1.2.1. Sensor
A Sensor is a device, which responds to an input quantity by generating a functionally
related output usually in the form of an electrical or optical signal. A Sensor converts the
physical parameter (temperature, pressure, humidity, speed, flow, level, etc.) into a signal
which can be measured electrically. . Figure 3.2 shows the sensing process in terms of
energy conversion. The form of the output signal will often be a voltage analogous to the
input signal, though sometimes it may be a wave form whose frequency is proportional to
the input or a pulse train containing the information in some other form
A capacitive sensor is a proximity sensor that detects nearby objects by their effect on the
electrical field created by the sensor. Capacitive type proximity sensors consist of an
oscillator whose frequency is determined by an inductancecapacitance (LC) circuit to
which a metal plate is connected. When a conducting or partially conducting object comes
near the plate, the mutual capacitance changes the oscillator frequency. This change is
detected and sent to the controller unit. The object being sensed is often referred to as the
proximity sensors target. Figure 3.2 shows an example of the capacitive proximity sensor.
As the distance between the proximity sensor and the target object gets smaller, the electric
The maximum distance that a proximity sensor can detect is defined as nominal range.
Some sensors have adjustments of the nominal range or ways to report a graduated
detection distance. A proximity sensor adjusted to a very short range is often used as a
touch switch. Capacitive proximity detectors have a range twice that of inductive sensors,
while they detect not only metal objects but also dielectrics such as paper, glass, wood, and
plastics. They can even detect through a wall or cardboard box. Because the human body
behaves as an electric conductor at low frequencies, capacitive sensors have been used for
human tremor measurement and in intrusion alarms. Capacitive type proximity sensors
have a high reliability and long functional life because of the absence of mechanical parts
and lack of physical contact between sensor and the sensed object.
Traditional motor control circuits use thermal, or electronic, overload relays to protect
electric motors from the effects of heat generated from mechanical or electrical overload
conditions. When the overload relay detects an overload condition of sufficient magnitude
and duration, a normally closed contact on the overload relay opens, turning the protected
motor off.
A solenoid valve is an electromechanical device used for controlling liquid or gas flow. The
solenoid valve is controlled by electrical current, which is run through a coil. When the coil
is energized, a magnetic field is created; causing a plunger inside the coil to move. The
solenoid valve uses an electric current which moves the solenoid. This pulls a piston
preventing it from stopping the flow of air and fluid. The valve will need a constant flow of
electrical current to remain open because when there is no current flow, the electromagnetic
field scatters and the valve returns to its original position. Depending on the design of the
valve, the plunger will either open or close the valve. When electrical current is removed
from the coil, the valve will return to its de-energized state.
A DC motor is an electric motor that runs on direct current (DC) electricity. DC motors are
self-starting. The motors variable speed characteristic. When the voltage to a DC motor is
Stator
The stator is the stationary outside part of a motor. The stator of a permanent magnet dc
motor is composed of two or more permanent magnet pole pieces. The magnetic field can
alternatively created by an electromagnet. In this case, a DC coils (field winding) wounds
around a magnetic material that forms part of the stator.
Rotor
The rotor is the inner part, which rotates. The rotor is composed of windings (called
armature windings) which connected to the external circuit through a mechanical
commutator. Both stator and rotor are made of ferromagnetic materials. This two separated
by air-gap.
Winding
Field winding - The winding through which a current is passed to produce flux (for the
electromagnet) Windings are usually made of copper
CHAPTER 3
The other material we have been using for our simulation is automation studio software.
3.2. Methodology
3.2.1. The design and development
The building blocks of the design are composed of the motor-driven portal system,
vehicles detection sensors, the solenoid valve, the PLC input-output interfacing, and the
systems motion sequence diagram.
To develop the system following hardware equipment and specification of this project:
1. Programmable logic controller used as a black box with a number of inputs from, and a
number of outputs to, the outside world. It can make decisions easier, store data, convert
codes, do timing cycles, and do simple arithmetic analysis. Siemens PLC was used in
this project which has a fully functional ladder logic design. PLC simulation software
program that incorporates the basic functions used in PLC ladder programming A simple
drag and drop method is used to add functions to the ladder rung, and comments can be
added to each rung for documentation purposes. Functions include inputs, outputs.
3. Motor: DC motors used to open and close the barrier for entry and exit of the cars,
4. An electromechanical limit switch applied for breaking the electrical path for
interrupting the current flow.
5. In this project, a special type of regulated DC power supply was designed which
has one types of output voltage ( 24V).
The solenoid valve QO in Figure 3.2 is utilized to represent the action of the motor driven
action that the gate is fully open and fully closed. The piston of this Rodless 2-cushion
cylinder served as the rail gate in DMU that can be detected by approximate sensors S2 and
S3.
Assumption
The vehicles detection simulated by using single-acting cylinders and a pair of proximity
sensors to demonstrate the vehicle detection. As shown in above Figure 3.2 every actua-
tion of the cylinders represents one single vehicles detection by the proximity sensors S2
and S3 respectively to be the gate fully opened and fully closed .
The simulation
The systems simulation is conducted using the Automation Studio software. The integrated
design is subjected to the careful modeling and simulation in adherence to a scientific
method of PLC programming aided by the systems motion sequence diagram. This motion
sequence diagram serves as guide for the programmer to create and develop the PLC ladder
program specifically in building up the control and power control framework. The motion
sequence describes the series of activation and de-activation of output devices (Prefix Q
and k addresses) triggered appropriately by its corresponding input devices (Prefix I ad-
dresses).
I3 I2
From above figure motion sequence shows M1 is activated the motor ration is reverse
(k1+&Q0-) or the gate is open. I3 energized the motor reversed Stop (K1-) the output I5
trigger onMotor rotates in forward direction(k2+ &Q0-) or the gate is closed and the output
I2 is activatedthe motor will be stop Forward rotation and reset the motion Sequence.
The PLC ladder program utilizes a scientific method of programming approach. There are
scientific steps that are followed in the PLC ladder programming which adheres to the
prevailing International Electro technical Commission (IEC) standard IEC 1131
1. Each control steps shall be represented by a unique relay address and should be self-
latched.
2. The first step of the sequence shall bear the startup button connected in series with a
normally closed interlocking contact. This step should be represented by a unique
relay address and self-latched.
3. The proceeding control steps shall bear the triggering switches/sensors connected in
series with a step marker (the normally open contact address of the previous step
relay representation address). These proceeding steps should still be represented by
relays and self-latched.
4. The last step of the control circuit which is the RST shall also be represented by a
relay but may not be self-latched. The contact of the relay representing the RST
shall be the address used in the interlocking contact mentioned in the first step of
the control circuit.
5 The power circuit shall bear the appropriate control of output component activation and
deactivation. Say Q0+ represented by a normally open contact shall be connected to a nor-
mally closed contact of the Q0- step. This series combination of normally open (NO) and
Automatic entrance gate in DMU
Page 29
normally closed (NC) contacts shall be connected to the output component (solenoid coil).
The same treatment to the other output components activation and DE-activation. Based on
the abovestipulated motion sequence, the following PLC ladder program shown in Figure
3.5
Chapter 4
S0 S1 S2 S3 S4 S5 K1 K2
1 0 0 1 1 0 0 1 OPEN
0 0 1 0 0 1 1 0 CLOSE
The truth table above described the relationships between the input devices and the
output devices with respect to the status of the sensing devices mentioned. From the above
table 0 represents the system is OFF or de-energized and 1 means our system is ON
(energized).
The aforementioned control design illustrated by the systems truth table was simulated
using the design parameters described in the previous Chapter (The Methodology). The
control parameters were integrated into one common electronic circuit design to
function as one whole controlling circuit for the entire control parameter.
As we observed from the above circuit diagram when the vehicle entry sensor (S4) is
sensed vehicles (activated) and limit switch open gate activated they will promote motor
rotate reverse direction hence, the gate is open. For our project Rod less 2-cushion cylinder
served as a gate that moves to lift side means the gate is automatically open. Our diagram
red color part is represent energized.
From this observation when vehicle passed sensed sensor (S5) is activate the motor
activated forward direction hence, the gate is closed. Rod less 2-cushion cylinder moves to
right side means the gate is automatically closed.
The final chapter of this study describes the summary of the undertakings of the
mini-project and/or simulation. The conclusions based on the most significant
accomplishment of the study while the recommendations anchored on the least significant
findings of the assessment process.
5.2 Conclusions
We conclude that in this project we have studied and simulated an automatic
entrance gate system using plc programming. The design can be easily adapted to any
electric gate and any form of control, which requires the use of sensors. The effectively
design this kind of system, it is necessary to understand the basic sensor characteristics,
microprocessor input and output interfacing, and utilized in the system plan. Sensors serve
as a transducer for vehicle detection while the programming language is fundamental to
software design based on the system requirements, specifications, and planned operation of
the system. There is total agreement between the system designed and the required
operation of the system. The automatic gate in this research can employ in organizations,
public car parks, residential parking lots, and automobile where no form of security
measure is required.
For an improved, effective, and security gate system to implement and achieved, the
following suggestions should considered for further work.
1. A form of vehicle identification should be provided for security purposes For instance
where a vehicle stands still at the focus of the sensors.
3. To achieve full automation, a real time system should employ and a Closed Circuit
Television (CCTV) system provided for proper monitoring and security purposes. This can
helpful in detecting the presence of vehicles before the system activate.
Krutz, R.L. 1980. Microprocessor and Logic Design John Wiley & Sons, Inc.: New York,
NY.
McGlynn, Daniel R. 1976. Microprocessor Technology and Application John Wiley &
Sons, Inc: New York, NY.
Theraja, A.K and Theraja, B.K, 1999. Electrical Technology3rd Edition S. Chand