Professional Documents
Culture Documents
AUTOMATIC RAILWAY
GATE CONTROL
Presented by:
1
ABSTRACT: can be employed in an unmanned
level crossing where the chances of
The objective of this paper is to accidents are higher and reliable
provide an automatic railway gate at operation is required. Since, the
a levelcrossing replacing the gates operation is automatic, error due to
operated by the gatekeeper. It deals manual operation is prevented .
with two things. Firstly, it deals with
the reduction of time for which the Automatic railway gate control is
gate is being kept closed. And highly economical microcontroller
secondly, to provide safety to the based arrangement, designed for use
road users by reducing the in almost all the unmanned level
accidents. crossings in the country.
2
By employing the manually operated gates since the
automatic railway gate control at the gate is closed depending upon the
level crossing the arrival of train is telephone call from the previous
detected by the sensor placed on station. Also reliability is high as it is
either side of the gate at about 5km
from the level crossing. Once the R A I L WA Y G A TE C O N T R O L
arrival is sensed , the sensed signal is L
S G1 S G2 B S G4 S G3
sent to the microcontroller and it M
r a il
checks for possible presence of t r ac k
L E VE L
C R O S S IN G
indicated, and the train is to free to placed at about 5 km from the gate
about 1km from the gate. The signal placed at about 1 km from the gate
gate is closed is less compared to the placed by the side of the track to
3
indicate the train driver about the ‘OFF’ since there is no approach of
closing of the gate. train and road users need not be
warned.
B Buzzer,
an audio signal to warn the road
user about the
approach of train. +V
M Motor
IR IR Transistor
Comparator
transmitter receiver switch
for gate operation.
~
L Light
signal to warn the road user. ii) Train Arrival Detection:
Detection of a train approaching the
gate can be sensed by means of
The detailed description of the sensors R1,R2,R3 and R4 placed on
working of the above model can be either side of the gate. In a
explained under various heads. particular direction of approach,R1
i) Initial Signal Display: is used to sense the arrival while R3
senses the departure of train. In the
Signals SG1,SG2,SG3 and SG4 are same way,R4 senses the approach
placed near the gate each at a and R2 the departure respectively in
specified distance. SG1 and SG4 are the other direction of train arrival.
placed at 2Km on either side of the Based on the vibration of the track
gate whereas SG2 and SG3 are as the train approaches the sensor
placed at 180m from the gate. The works. The sensor comprises of an
train may be approaching the gate in IR transmitter, IR receiver, a
either direction. So all four signals comparator and a transistor switch.
are made RED initially to indicate IR transmitter gives IR rays whose
that gate is open and vehicles are wavelength depends upon the
passing through the gate. vibration of track that corresponds
to the input frequency . If frequency
The road user signals are made increases its wavelength increases
GREEN so that they can freely move and thus reduces the resistance of
through the gate buzzer is made the IR receiver. It reduces voltage
4
drop across the receiver. Its output strike LDR its resistance remains at
voltage is the difference between this normal value. This change of
voltage drop and input voltage to the resistance of LDR is used for sensing
sensor. by the micro controller 89C51 by the
This is fed to the comparator whose use of compensation.
reference voltage is based on the If there is no vehicle in between or
threshold frequency which is beneath the gates, then the laser
minimum frequency caused by a light from the source falls on the
slow train. Thus, the comparator LDR since there is no obstacle. Since
produces -12V saturation when it there is no vehicle or obstacle, signal
senses a train and +12V if not. is made GREEN for the train to pass
Correspondingly, a transistor switch through the gate. The same is
produces +5V and 0V respectively. applied for in the other direction
This is transmitted employing FM to and SG3 and SG4 are made GREEN
the microcontroller. and gates are closed.
iii) Warning For Road Users: Due to some unavoidable
At the moment circumstances, if there is a sudden
the train arrival is sensed on either breakdown of a vehicle between the
side of the gate, road users are gate, then the light from laser source
warned about the train approach by does not fall on LDR. It indicates the
RED signals placed to caution the presence of vehicle and the signal for
road users passing through the gate. train should be made RED in order
RED signal appears for the road to slow down the train to avoid
user once the train cuts the relay collision. Then the obstacle should
sensor placed 5Km before the gate. be warned to clear the path.
A buzzer is made ON as a v) Gate Closing Operation:
precautionary measure for the road Once the
user and that nobody should enter microcontroller senses that there is
the gate at that moment. no vehicle inside, then it
iv) Sensing For Vehicles: Laser automatically produces the signal to
light is used as a source and LDR as operate the motor through relay
a tool for sensing purpose. When circuit and hence close the gate for
light strokes on LDR its resistance the passage of train.
decreases and when light does not
5
When any presence of which operates the motor in reverse
obstacle is sensed, 89C51 gives signal direction and the gates are opened.
for obstacle to clear the path and Once the gate is opened signal for
once the path is cleaned, motor is road users are made GREEN so that
operated to close the gate. Actually the vehicles can pass through the
rotary motion occurs in a motor. gate.
This rotary motion is converted to
linear motion of the gate using a ALGORITHM:
gear. STEP 1 : Start.
vi) Signal For Train: STEP 2 : Set the variables.
When the path is clear
inside the gate, GREEN signal is STEP 3 : Make initial settings of
produced for the train when there is the signals for the train and road
any obstacle, signal is made RED for users.
the train in order to slow down its
speed before 5 Km from the gate. STEP 4 : Check for the arrival
Another signal placed at 180 m of the train in either direction by the
before the gate, when it is still RED sensors.
when train approaches if then If the train is sensed
provisions if then provisions should go to step 5 otherwise go to step 4.
be stop the train. STEP 5 : Make the warning
signal for the road users and set the
signal for
vi)Train Departure Detection: the train.
Detection of train STEP 6 : Check for the presence
departure is also done using relay of the obstacle using sensors. If there
technique as explained under the is no
head of train arrival detection. Train Obstacle go to step7
departure sensing is done by sensors otherwise repeat step6.
R3 and R2 respectively considering STEP 7 : Close the gate and
the directions of train approach. stop the buzzer warning.
viii) Gate Opening:When the train
departure is sensed by the sensors, STEP 8 : Change the signal for
signal is given to the Microcontroller the train.
6
STEP 9 : Check for the train STEP 10: Open the gate.
departure by the sensors. If the train
sensed to next STEP. Otherwise STEP 11: Go to STEP 3.
repeat STEP 9. STEP 12: St
FLOW CHART:
7
Make the initial
settings for train &
road users
If arrival of
train in either
of directions
If
obstacl
ess
8
Stop warning & close
the gate
If train
departur
e
9
directly during the daytime and by
charging the battery during night.
Hence this arrangement can be used
in remote areas where the power
supply can’t be expected. The
obstacle detection part can be
implemented using Fuzzy logic. As it
thinks in different angles or aspects,
the system works still more
efficiently.
The idea of
automating the process of railway
gate operation in level crossings has
been undertaken. As the system is
completely automated, it avoids
manual errors and thus provides
ultimate safety to road users. By this
mechanism, presence of a
gatekeeper is not necessary and
automatic operation of the gate
through the motor action is
achieved. Microcontroller 89C51
performs the complete operation i.e.,
sensing ,gate closing and opening
operation is done by software coding
written for the controller. The
mechanism works on a simple
principle and there is not much of
complexity needed in the circuit.
10