Automatic Railway Gate Controller Report
Automatic Railway Gate Controller Report
Automatic Railway Gate Controller Report
ON
BACHELOR OF TECHNOLOGY
IN
MECHANICAL ENGINEERING
SUBMITTED BY
Principal
ACKNOWLEDGEMENT
Project associates
ABSTRACT
INDEX
01 Introduction
1.1 Introduction
1.2 Block diagram
02 System
2.1 Overview
2.2 Architecture
03 Magnetic Sensor
04 Relay
4.2 Advantages
05 Motor
06 Buzzer
08 Conclusion
09 Bibliography
CHAPTER 1
INTRODUCTION
1.1 INTRODUCTION
Aim of this project is to control the unmanned rail gate automatically
using embedded platform. Today often we see news papers very often about
the railway accidents happening at un- attended railway gates. Present
project is designed to avoid such accidents if implemented in spirit. This
project is developed in order to help the INDIAN RAILWAYS in making its
present working system a better one, by eliminating some of the loopholes
existing in it. Based on the responses and reports obtained as a result of the
significant development in the working system of INDIAN RAILWAYS,
This project can be further extended to meet the demands according to
situation. This can be further implemented to have control room to regulate
the working of the system. Thus becomes the user friendliness.
In this project Magnetic Sensor plays the main role. The program for
this project is embedded in this Reed Magnetic Sensor and interfaced to all
the peripherals. The motors are used for the purpose of gate control
interfaced with sensors and relays.
Features:
Accuracy.
BLOCK DIAGRAM
Relay MOTOR
Switch
REGULATED
Reed Magnetic
POWER SUPPLY
Sensor
Buzzer
CONTROLLER
CHAPTER 2
SYSTEM
SYSTEM OVERVIEW
SYSTEM ARCHITECTURE
In India the maximum speed at which a train moves is 91.82 km/hr and the
minimum speed of a passenger/goods train is 59 km/hr. Hence the ideal
distance at which the sensors could be placed to detect the arrival of the
train is 5 km from the level cross and the departure of the train is 1 km and
thus the gate will not be closed for more than 8 minutes. Our paper proposes
a system which uses magnetic sensors, and one buzzer (B1). In real time,
the Sensors are placed on the track at a distance of 5 km and 1 km on both
sides of the level crossing. The magnetic sensor is used to detect the
presence of an obstacle between the railway gates. The system also uses
motors to control the operation of the gates. The buzzer is used to indicate
the arrival of the train within a stipulated time. Sensor S1 detects the arrival
of a train. Once it detects a train, it sends a signal to buzzer B1 and buzzer is
triggered ON. The train then travels to S2. When the train nears S2, motors
are powered ON. The motors starts and the gate G1 begin to close & gate G2
begin to open. After the train passes the gates and nears S3, a signal is
again sent to the buzzer B2 and buzzer is triggered ON. The train then
travels to S4. When the train nears S4, motors are powered ON. The motors
starts and the gate G1 begin to open & gate G2 begin to close.
FLOW CHART
Start
Magnetic
Sensor S1, S2
are activated
No
Train
Departur
e
Detected
Yes
Motor
activated
Gates open &
closed
Accordingly
Close
CHAPTER 3
MAGNETIC SENSOR
In a typical reed switch, the two contacts (which look like metal reeds) are
made from a ferromagnetic material (that means something as easy to
magnetize as iron), coated with a hardwearing metal such as rhodium or
ruthenium (to give them a long life as they switch on and off), and sealed
inside a thin glass envelope filled with an unreactive gas (typically nitrogen)
to keep them free of dust and dirt. Sometimes the glass has an outer casing
of plastic for even greater protection. Typically, the contacts are made from a
nickel-iron alloy that's easy to magnetize (technically, we say it has a high
magnetic permeability) but doesn't stay that way for long (we say it has a
low magnetic retentivity). They take some time to respond to changes in the
magnetic field (we say they have quite a bit of hysteresis)—in other words,
they move quite slowly and smoothly. Generally both contacts move (not just
one) and they make a flat, parallel area of contact with one another (rather
than simply touching at a point), because that helps to extend the life and
reliability of the switch.
Reed switches come in two main varieties called normally open (normally
switched off) and normally closed (normally switched on). The key to
understanding how they work is to realize that they don't just work as an
electrical bridge but as a magnetic one as well: magnetism flows through
them as well as electricity.
Normally open
As you bring a magnet up to the reed switch, the entire switch effectively
becomes a part of a "magnetic circuit" that includes the magnet (the dotted
line in the artwork shows part of the magnetic field). The two contacts of the
reed switch become opposite magnetic poles, which is why they attract and
snap together. It doesn't matter which end of the magnet approaches first:
the contacts still polarize in opposite ways and attract one another. A reed
switch like this is normally open (NO) (normally off), unless a magnet is
positioned right next to it, when it switches on, allowing a current to flow
through it.
Take the magnet away and the contacts—made from fairly stiff and springy
metal—push apart again and return back to their original positions.
Normally closed
You can also get reed switches that work the opposite way: the two contacts
are normally snapped together and when you bring a magnet up to the
switch, spring apart. Reed switches like this are called normally closed
(NC) (normally switched on), so electricity flows through them most of the
time. The easiest way of making one is to take a normally open switch and
fix a magnet permanently to its glass case, flipping it over from its open to
its closed state (as in the second frame in the normally open animation up
above). This entire unit (normally open reed switch with magnet attached)
becomes our normally closed reed switch. If you bring a second magnet up
to it, with a magnetic field of opposite polarity to that of the first magnet,
this new field cancels out the field of the first magnet so we have, in effect,
exactly what we had in the first frame of the normally open animation: a
reed switch with two contacts sprung apart.
Applications:
Model train
Portable defibrillators
CHAPTER 4
RELAY
Relays
Description:
A relay is an electrically operated switch. Current flowing through
the coil of the relay creates a magnetic field which attracts a lever and
changes the switch contacts. The coil current can be on or off so relays have
two switch positions and most have double throw(changeover) switch
contacts as shown in the diagram.
Relays allow one circuit to switch a second circuit which can be completely
separate from the first. For example a low voltage battery circuit can use a
relay to switch a 230V AC mains circuit. There is no electrical connection
inside the relay between the two circuits, the link is magnetic and
mechanical.
The coil of a relay passes a relatively large current, typically 30mA for a 12V
relay, but it can be as much as 100mA for relays designed to operate from
lower voltages. Most ICs cannot provide this current and a transistor is
usually used to amplify the small IC current to the larger value required for
the relay coil. The maximum output current for the popular 555 timer IC is
200mA, enough to supply a relay coil directly.
The relay's switch connections are usually labelled COM, NC and NO:
Connect to COM and NO if you want the switched circuit to be on when the
relay coil is on.
Connect to COM and NC if you want the switched circuit to be on when the
relay coil is off.
Relay features:
2. Coil voltage
The relay's coil voltage rating and resistance must suit the circuit
powering the relay coil. Many relays have a coil rated for a 12V supply
but 5V and 24V relays are also readily available. Some relays operate
perfectly well with a supply voltage which is a little lower than their
rated value.
3. Coil resistance
The circuit must be able to supply the current required by the relay
coil. You can use Ohm's law to calculate the current:
For example: A 12V supply relay with a coil resistance of 400 passes a
current of 30mA. This is OK for a 555 timer IC (maximum output current
200mA), but it is too much for most ICs and they will require a transistor to
amplify the current.
Advantages of relays:
Relays can switch AC and DC, transistors can only switch DC.
Relays are often a better choice for switching large currents (> 5A).
Fundamentals of Operation:
12
Steppers are generally commutated open loop, i.e. the driver has no
feedback on where the rotor actually is. Stepper motor systems must thus
generally be over engineered, especially if the load inertia is high, or there is
widely varying load, so that there is no possibility that the motor will lose
steps. This has often caused the system designer to consider the trade-offs
between a closely sized but expensive servomechanism system and an
oversized but relatively cheap stepper.
Unipolar motors:
A unipolar stepper motor has logically two windings per phase, one for
each direction of magnetic field. Since in this arrangement a magnetic pole
can be reversed without switching the direction of current, the
commutation circuit can be made very simple (e.g. a single transistor) for
each winding. Typically, given a phase, one end of each winding is made
common: giving three leads per phase and six leads for a typical two phase
motor. Often, these two phase commons are internally joined, so the motor
has only five leads.
In the construction of unipolar stepper motor there are four coils. One
end of each coil is tide together and it gives common terminal which is
always
14
connected with positive terminal of supply. The other ends of each coil are
given for interface. Specific color code may also be given. Like in my motor
orange is first coil (L1), brown is second (L2), yellow is third (L3), black is
fourth (L4) and red for common terminal.
To vary the RPM of motor we have to vary the PRF (Pulse Repetition
Frequency). Number of applied pulses will vary number of rotations and last
to change direction we have to change pulse sequence.
So all these three things just depends on applied pulses. Now there are
three different modes to rotate this motor
Unipolar stepper motors with six or eight wires may be driven using
bipolar drivers by leaving the phase commons disconnected, and driving the
two windings of each phase together [diagram needed]. It is also possible to
use a bipolar driver to drive only one winding of each phase, leaving half of
the windings unused [diagram needed].
Bipolar motor:
Bipolar motors have logically a single winding per phase. The current
in a winding needs to be reversed in order to reverse a magnetic pole, so the
driving circuit must be more complicated, typically with an H-bridge
arrangement. There are two leads per phase, none are common.
Buzzer
Introduction:
A buzzer is a mechanical, electromechanical, magnetic, electromagnetic,
electro-acoustic or piezoelectric audio signaling device. A piezo electric
buzzer can be driven by an oscillating electronic circuit or other audio signal
source. A click, beep or ring can indicate that a button has been pressed.
The most common sizes for Sound Level are 80 dB, 85 dB, 90 dB and 95 dB.
We also carry buzzers with Sound Level up to 105 dB. There are several
types available including Electro-Acoustic, Electromagnetic, Electromechanic,
Magnetic and Piezo, among others.
Alarm devices
Timers
Electronic metronomes
Annunciator panels
Game shows
Sporting events
Household appliances
CHAPTER 7
POWER SUPPLY
This type of regulation is ideal for having a simple variable bench power
supply. Actually this is quite important because one of the first projects
a hobbyist should undertake is the construction of a variable regulated
power supply. While a dedicated supply is quite handy e.g 5V or 12V, it’s much
handier to have a variable supply on hand, especially for testing.
CHAPTER 8
CONCLUSION
CONCLUSION:
REFERENCES:
[1] Pradeep Raj, “Increasing accidents in the unmanned level crossing of the
railways”, 2012.
[2] Xishi Wang, Ning Bin, and Cheng Yinhang, “A new microprocessor based
approach to an automatic control system.”, International Symposium on
Industrial Electronics, pp. 842-843, 1992.
[3] Jeong Y., Choon-Sung Nam, Hee-Jin Jeong, and Dong Shin, “Train Auto
Control System based on OSGi”, International Conference on Advanced
Communication Technology, pp.276-279, 2008.
[4] Atul Kumar Dewangan, Meenu Gupta, and Pratibha Patel, “Automation of
Railway Gate Control Using Micro-controller, International Journal of
Engineering Research & Technology, pp.1-8, 2012.
[5] http://www.ti.com/lit/ds/symlink/l293d.pdf
[6] Gunyoung Kim, Kyungwoo Kang, “Railway Gate Con trol System at
Railroad-Highway Grade Crossing in Korea”.