
Tr' Conference on Electronics ancl Telecommunication 2010
Bangladesh Electronic Society
PLC based Automatic Railway Gate control system
'M,rhibul Haque Bhuyan- and 2Md. Ahsanol Kabir
' Deportrr"rt of Electrical and Computer Engineering, Azintur Rahntan Sclrcol of Ertgileering, presi1errcy lJlive rsittt
' 2Depo,tn,,,r of Etectronic, o,ara,,l0*5i,liJl,'li'#,!illif;ritr:;:rirw,#:,:,o,u,r"*,ur, ,0, ,njo,,.*,*, o,,**
Abstract
At present, railway crossing gate control system in, Bangladesh is being operated manuaily. Thus many acciclents are being
occuned if it is not done in proper time. so, it needs to b. urtomuted tJreduce accidents. in this wor.k, an automatic railway
crossing gate control system has been developed using.a Programmable Logic Controller (pLC). For this purpose, we used Allen-
Bradley Micrologix PLC and Rockwell software foiPLC f,rogramming. Signaling light models are implemented usin-e sever.al
red, green and yellow Light Emitting Diodes (LEDs; ana raitriay gut.."are op..ated using DC motors with gear trains rhar are
connected to the output ports of the PLC. For energizing differeit parts of the system and DC motor.s, separate DC power
supplies have been designed. It is found that rhe implementid ,yrt.- *o.t, very well.
Key words: PLC, LED, automatic railway gate control, DC motor.
I. Introduction
Programmable Logic Controller (PLC) has become the most powerful change to occur in the electronics world for.
factory automation tll' This is well suited to the cyclical and repetitive operations [2]. Unless a system
reconfiguration is required, the functions executed uy a nI-c are fixed, the prolrams need not be changed and
therefore, rhey may be srored in a programmable Read only Memory (pRoM) i3-4'j.
Automotive technologies are gaining importance in modern day traffic control systems, since the number of road
vehicles and passengers is-rapidly growing. In every modern city, there are several railways that cross the r.oad ancl
hence road traffic is halted for few minutei when train crosses tr,e .oaa. Hence, there is a perpetual need tbr saf-ety-
critical railway gate control automation. The main goal of engineering is the planning and management of trafflc
control systems [5]' Few works are found in the litei'ature on tiaffic control system based on microcontroller, pLC
and LAN [6-8]' It is now the time to address the automation issue of railway gate crossing. In t9l, a work is found
on automatic railway gate control using the RF technology. But it has the p.oui"-, of implofer automatic detection
and huge cost of implementation. Because, the behavioi of this kind of control system is lilu"ncea by two main
factors: the control inputs and the disturbances incurred. The control inputs are dirlctly related to the co*esponding
control devices such as sensor, motor and variable message signs. ih" manipulation of disturbance values is not
possible' but in some cases they are measurable (e.g. a"Ir"unil, detectable (e.g. incident) or predictable over a
certain time horizon' The most challenging issues relate to automatic incident detection, the modeling of
uncertainties, providing a solution that offers robustness under external disturbances, the use or variable message
signs in order to avoid traffic jams, human life safety and finding an optimal itinerary [5].
Therefore' in this work, we have developed a PLC based automatic railway gate control system. Because, pLC has
many advantages over microcontroller or radio frequency, such as, graphicniode p.ogru,n,,irg, noise immune, less
hardware connections, easy do-wnloading of program, rister acting"etc. ttre ,yr,". i, a"".r"p"o for a junction of
rail crossing with road traffic. Signaling light models are implemenied using LEDs of different colors, because LED
lights are chip' light up very quicklyinJ corrr-e very ltw power [l0f Railway guo, u." operared using DC
motors and gear trains' Besides, different sensors are used to "nrrr" proper operation of the gate. It is found that the
implemented system works very well.
II. Basic PLC Architecture
A Programmable Logic controller (PLC) is a solid-state device, designed to operate in noisy industr.ial
environments and perform all the logic functions previously achieved uiing electro-mechanicai relays, drum
switches' mechanical timers and counters' The structure of a PLC is that of a computer, it consists of a centrrl
Processing Unit (CPU), a memory, input/output modules and an internal bus. A pLC receives input signals (as
command input) from process equipment to be controlled, such as, switches, sensors etc., processes them according
to a precise model defined by the programs and provides output signals to the process equipment, such as, relays,
motor' starters etc' The. e]-c 1s usually programmed with iangua'ges conforming to IEC-I131 standard and is
conceived to work in an industrial environmeni. A block diagram lr tte plc architecture is shown in Fis. 1 .
136