Professional Documents
Culture Documents
Automatic Railway Gate
Automatic Railway Gate
Automatic Railway Gate
_____________
Many times accidents are happening not only in on the rod due
to cars or trucks but also rail gate bye railway. This happen due to
improper closing of railway gate, carelessness of railway gate
operator or many reasons hence this accidents are happen. No one
technology’s are available in the railway gate where these accidents
are prevented. The options provided by technicians are much
expensive and not easy to handle the operating by any person easily.
To solve this problem ‘Automatic Railway Gate’ this project
can be used. In this project we use very low number of components
and hence it is less expensive, very sensitive and reduce human
interference on railway gate hence this more secure reliable and
applicable to all railway gates in all environment.
Main concept of this project is that when some railway in come
near to any railway gate sense the presence of this railway and
automatically closes the gates. And also mention which railway is
coming using Buzzer. For all this operation we use ultrasonic module
having rage up to 2 meters. When railway is come automatically gates
are closed.
Servo Railway
IR Sensor Atmega328
Motor Gate
In this project input as device Ultrasonic sensor is used. This sensor has
4 pins name as VCC, ECHO, TRIG and GND. This sensor is work on the
principle of echo location. When this sensor get trigger pulse of 10 micro-
second it fire 8 pulses of frequency 40 KHz hence it is called as ultrasonic.
After transmitting these ultrasonic waves the echo pin of this sensor is
goes to logic high level. Until the echo wave is come this pin is at high state,
when echo wave is received by the ultrasonic receiver then this pin is goes to
logic low level.
At the end we get a pulse form the ultrasonic sensor. The width of this
pulse is directly proportional to the distance which is covered by the ultrasonic
waves.
ATmega328
Introduction
Features
– 512Bytes EEPROM
VCC
GND
Ground
Port C (PC5:PC0)
PC6/RESET
Port D (PD7:PD0)
RESET
Reset input. A low level on this pin for longer than the minimum pulse
length will generate a reset, even if the clock is not running. The minimum
pulse length is given in Table 30-5. Shorter pulses are not guaranteed to
generate a reset.
AVCC is the supply voltage pin for the A/D Converter, Port C (3:0), and
ADC (7:6). It should be externally connected to VCC, even if the ADC is not
used. If the ADC is used, it should be connected to VCC through a low-pass
filter. Note that Port C (5:4) use digital supply voltage, VCC.
AREF
Pin Configuration:
From the timing diagram, you can see that the 40KHz pulse train is
transmitted just after the 10uS triggering pulse and the echo output is obtained
after some more time. The next triggering pulse can be given only after the echo
is faded away and this time period is called cycle period. The cycle period for
HC-SR04 must not be below 50mS. According to datasheet, the distance can be
calculated from the echo pulse width using the following equations.
Definition:
A servo motor is a rotary actuator or a motor that allows for a precise control in terms
of the angular position, acceleration, and velocity. Basically it has certain capabilities that a
regular motor does not have. Consequently it makes use of a regular motor and pairs it with a
sensor for position feedback.
Mechanism of servomotor:
Working of servomotors:
Servo motors control position and speed very precisely. Now a potentiometer can
sense the mechanical position of the shaft. Hence it couples with the motor shaft through
gears. The current position of the shaft is converted into electrical signal by potentiometer,
and is compared with the command input signal. In modern servo motors, electronic encoders
or sensors sense the position of the shaft .We give command input according to the position
of shaft. If the feedback signal differs from the given input, an error signal alerts the user. We
amplify this error signal and apply as the input to the motor, hence the motor rotates. And
when the shaft reaches to the require position. Error signal become zero, and hence the motor
stays standstill holding the position. The command input is in form of electrical pulses. As
the actual input to the motor is the difference between feedback signal (current position) and
required signal, hence speed of the motor is proportional to the difference between the current
position and required position. The amount of power require by the motor is proportional to
the distance it needs to travel.
Pin Diagram
Description:
The KA78XX/KA78XXA series of three-terminal positive
regulator are available in the TO-220/D-PAK package and with
several fixed output voltages, making them useful in a wide range of
applications. Each type employs internal current limiting, thermal
shut down and safe operating area protection, making it essentially
indestructible. If adequate heat sinking is provided, they can deliver
over 1A output current. Although designed primarily as fixed voltage
regulators, these devices can be used with external components to
obtain adjustable voltages and currents.
Figure:
Track Switching:
Using the same principle as that for gate control, we
have developed a concept of automatic track switching. Consi-
dering a situation wherein an express train and a local train are
travelling in opposite direction on the same track, the express train is
allowed to travel on the same track and the local train has to
switch on to the other track, indicator lights have been provided
to avoid collision. Here the operation is performed using a motor. In
practical purpose this can be achieved using electromagnets.
1. http://wattsun.com/resources.html
2. http://www.ngdc.noaa.gov/seg/geomag/jsp/struts/calcDeclination
3. http://solar4power.com/solar-power-global-maps.html
4. XC95108 properties at
http://xilinx.com/xlnx/xil_prodcat_product.jsp?title=xc9500_page
5. Xilinx ISE 8.1i Foundation in depth tutorial at
http://www.xilinx.com/ise/logic_design_prod/foundation.htm
6. Flexible prototype board design for ADC/DAC control: application
to mini-projects, S. Lakeou, ASEE05
Proceedings
7. IBM PC Assembly Language & Programming, Peter Abel,
Prentice-Hall
8. Xilinx University Program at http://xilinx.com/univ/index.htm
9. Labview at http://www.ni.com/dataacquisition/
10. http://solar4power.com/solar-power-loads.html