MICROCONTROLLER BASED AUTOMATIC RAILWAY GATE CONTROL



Similar documents
Automatic Railway Gate Controller with High Speed Alerting System

Automatic Railway Gate and Crossing Control based Sensors & Microcontroller

4 Character 5x7 LED Matrix Display

1. NON CONTACT DIGITAL TACHOMETER USING AVR MICROCONTROLLER 2. CELSIUS SCALE THERMOMETER USING Atmega BLACK BOX SECURITY SYSTEM FOR CAR USING

VEHICLE TRACKING ALONG WITH THE ADVANCED RTO TECHNOLOGY

Micro-Step Driving for Stepper Motors: A Case Study

Android based Alcohol detection system using Bluetooth technology

Wires & Connections Component Circuit Symbol Function of Component. Power Supplies Component Circuit Symbol Function of Component

3. Identification of water pumps through RFID technology. 4. Wireless control of remote water pump using RF technology.

INTRODUCTION: ABSTRACT:

Operating Instructions

If an occupancy of room is zero, i.e. room is empty then light source will be switched off automatically

OPTICAL COMMUNICATION BASED STEPPER MOTOR CONTROL USING PULSE WIDTH MODULATION

AMZ-FX Guitar effects. (2007) Mosfet Body Diodes. Accessed 22/12/09.

Input, Process and Output

DESCRIPTION. DTC P0351 Ignition Coil "A" Primary / Secondary Circuit. DTC P0352 Ignition Coil "B" Primary / Secondary Circuit

GRADE 11A: Physics 5. UNIT 11AP.5 6 hours. Electronic devices. Resources. About this unit. Previous learning. Expectations

Rail Automation. What is ACSES? usa.siemens.com/rail-automation

Microcontroller Based Infrared Tracking Device In 2D Motion

CoE3DJ4 Digital Systems Design. Chapter 4: Timer operation

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

Introduction to Electronic Signals

Power Quality For The Digital Age INVERTING SOLAR POWER A N E N V IRONME N TA L P OT E N T I A L S W HI T E PA PER

CIM Computer Integrated Manufacturing

Automated Container Handling in Port Terminals

HOME ALARM MONITORING NETWORK GOH SWEE TIAN

ADVANCE DRIVER ASSISTANCE SYSTEM BY USING WIRELESS TECHNOLOGY

Process modules Digital input PMI for 24 V DC inputs for 120 V AC inputs

Wireless Home Security System

GPS & GSM BASED REAL-TIME VEHICLE TRACKING SYSTEM.

LAB 7 MOSFET CHARACTERISTICS AND APPLICATIONS

Home Security System Design and Implementation

Surveillance System Using Wireless Sensor Networks

Low Level Windshear Alert System (LLWAS) An integral part of the U.S. FAA Wind-shear safety program

Degree programme in Automation Engineering

FPGA Implementation of an Advanced Traffic Light Controller using Verilog HDL

International Journal of Advanced Research in Computer Engineering & Technology (IJARCET) Volume 3, Issue 6, June 2014

Introduction to Process Control Actuators

Relationship between large subject matter areas

Interfacing Analog to Digital Data Converters

TIRE PRESSURE WARNING SYSTEM

Keywords: rainfall detection, rain sensor, buzzer and alarm system.

Reaction Torque Sensor

National Quali cations Forename(s) Surname Number of seat. Date of birth Day Month Year Scottish candidate number

APPLICATION NOTE ULTRASONIC CERAMIC TRANSDUCERS

OUTCOME 1 TUTORIAL 1 - MECHATRONIC SYSTEMS AND PRODUCTS

Sensor-Based Robotic Model for Vehicle Accident Avoidance

Electronic Speed Variator for a Brushless DC Motor

EXPERIMENT 2 TRAFFIC LIGHT CONTROL SYSTEM FOR AN INTERSECTION USING S7-300 PLC

Appendix A. About RailSys 3.0. A.1 Introduction

Constructing a precision SWR meter and antenna analyzer. Mike Brink HNF, Design Technologist.

Modeling of electric railway vehicle for harmonic analysis of traction power-supply system using spline interpolation in frequency domain

Adaptive Cruise Control

Programming Logic controllers

Ignition Alert Anti-Theft Security System for Motorbikes with Remote Control Amit Yadav, Anushri Jha, Neelesh Gupta

Energy efficiency and fuel consumption of fuel cells powered test railway vehicle

AN108 IMPLEMENTING A REALTIME CLOCK. Relevant Devices. Introduction. Key Points. Overview

is trademark of Mobiliz Information and Communication Technologies Inc.

Collided Vehicle Position Detection using GPS & Reporting System through GSM

Servo Info and Centering

AN2680 Application note

Automatic Street Light Control System Using Microcontroller

Solar Energy Conversion using MIAC. by Tharowat Mohamed Ali, May 2011

Product Information Sheet UH36 Hi Pot Tester

DVB-T Television Repeater Jim Andrews, KH6HTV

INSTRUCTOR S GUIDE. Stay on the Right Track Highway-Railway Crossing Awareness Training for Newly Licensed Drivers

Selecting and Implementing H-Bridges in DC Motor Control. Daniel Phan A

Study Guide for the Electronics Technician Pre-Employment Examination

Tire pressure monitoring

BODY ELECTRICAL TOYOTA ELECTRICAL WIRING DIAGRAM WORKBOOK. ASSIGNMENT Version 1.8 WORKSHEETS.

24-Bit Analog-to-Digital Converter (ADC) for Weigh Scales FEATURES S8550 VFB. Analog Supply Regulator. Input MUX. 24-bit Σ ADC. PGA Gain = 32, 64, 128

Logic gates. Chapter. 9.1 Logic gates. MIL symbols. Learning Summary. In this chapter you will learn about: Logic gates

Power Electronics. Prof. K. Gopakumar. Centre for Electronics Design and Technology. Indian Institute of Science, Bangalore.

DIGITAL LOGIC CURRENT FLOW

Development of a Single Phase Automatic Change-Over Switch

Smart DC Micro-grid for Effective Utilization of Solar Energy

DUOTOUR WITH SLIDING DOORS OPERATING MANUAL

THE INPUT/OUTPUT SYSTEM. Key Points

Development of Combined Automatic Blade Control for Snow-Removing Grader

Stop Alert Flasher with G-Force sensor

2. TEST PITCH REQUIREMENT

LB Sky Global. 92 Lobachevskogo St, Bld 92, Office 5, Moscow, Russia Tel/Fax 7(495) , Site:

Mirror Mount Video Monitor/Recorder with Front and Rear View Night Cameras PLCMDVR5

AUTOMATIC LPG BOOKING, LEAKAGE DETECTION AND A REAL TIME LPG MEASUREMENT MONITORING SYSTEM

Human Detection Robot using PIR Sensors

Development of a GSM based Control System for Electrical Appliances

KINETIC ENERGY RECOVERY SYSTEM BY MEANS OF FLYWHEEL ENERGY STORAGE

EBS Electronically controlled Brake system in the city bus CITARO / CITO

A Real Time Tracking and Alerting System Using LabVIEW

Create Colorful and Bright LED Light with an LED Matrix Dimmer

Alternating Current and Direct Current

GANTRY ROBOTIC CELL FOR AUTOMATIC STORAGE AND RETREIVAL SYSTEM

1 de 13. Kit de 37 sensores compatibles con Arduino

Low Power AMD Athlon 64 and AMD Opteron Processors

Tamura Closed Loop Hall Effect Current Sensors

INTERFERENCE OF SOUND WAVES

User Manual for CH-PFC76810

LEVERAGING FPGA AND CPLD DIGITAL LOGIC TO IMPLEMENT ANALOG TO DIGITAL CONVERTERS

Transcription:

MICROCONTROLLER BASED AUTOMATIC RAILWAY GATE CONTROL Submitted by, P.NAVEEN S.SUDHAKAR ARULMIGU KALASALINGAM COLLEGE OF ENGINEERING KRISHNANKOVIL Email id: sudhakar_mani87@yahoo.co.in Naveensree007@rediffmail.com

ABSTRACT: The objective of this paper is to provide an automatic railway gate at a levelcrossing replacing the gates operated by the gatekeeper. It deals with two things. Firstly, it deals with the reduction of time for which the gate is being kept closed. And secondly, to provide safety to the road users by reducing the accidents. By the presently existing system once the train leaves the station, the stationmaster informs the gatekeeper about the arrival of the train through the telephone. Once the gatekeeper receives the information,he closes the gate depending on the timing at which the train arrives. Hence, if the train is late due to certain reasons,then gate remain closed for a long time causing traffic near the gates. By employing the automatic railway gate control at the level crossing the arrival of the train is detected by the sensor placed near to the gate. Hence, the time for which it is closed is less compared to the manually operated gates and also reduces the human labour. This type of gates can be employed in an unmanned level crossing where the chances of accidents are higher and reliable operation is required. Since, the operation is automatic, error due to manual operation is prevented. Automatic railway gate control is highly economical microcontroller based arrangement, designed for use in almost all the unmanned level crossings in the country.

INTRODUCTION: In this paper we are concerned of providing an automatic railway gate control at unmanned level crossings replacing the gates operated by gate keepers and also the semiautomatically operated gates. It deals with two things. Firstly, it deals with the reduction of time for which the gate is being kept closed. And secondly, to provide safety to the road users by reducing the accidents that usually occur due to carelessness of road users and at times errors made by the gatekeepers. By employing the automatic railway gate control at the level crossing the arrival of train is detected by the sensor placed on either side of the gate at about 5km from the level crossing. Once the arrival is sensed, the sensed signal is sent to the microcontroller and it checks for possible presence of vehicle between the gates, again using sensors. Subsequently, buzzer indication and light signals on either side are provided to the road users indicating the closure of gates. Once, no vehicle is sensed in between the gate the motor is activated and the gates are closed. But, for the worst case if any obstacle is sensed it is indicated to the train driver by signals(red) placed at about 2km and 180m,so as to bring it to halt well before the level crossing. When no obstacle is sensed GREEN light is indicated, and the train is to free to move. The departure of the train is detected by sensors placed at about 1km from the gate. The signal about the departure is sent to the microcontroller, which in turn operates the motor and opens the gate. Thus, the time for which the gate is closed is less compared to the manually operated gates since the gate is closed depending upon the telephone call from the previous station. Also reliability is high as it is not subjected to manual errors.

RAILWAY GATE CONTROL rail track L SG1 SG2 B SG4 SG3 M LEVEL CROSSING M B R1 R4 R3 R2 L road MICRO CONTROLLER 89C51 R1 & R2 R3 & R4 SG1,SG2,SG3 & SG4 B M L Sensors on the track, placed at about 5 km from the gate to detect the train arrival on either directions. Sensors on the track, placed at about 1 km from the gate to detect the train departure on either directions. Signals placed by the side of the track to indicate the train driver about the closing of the gate. Buzzer, an audio signal to warn the road user about the approach of train. Motor for gate operation. Light signal to warn the road user.

The detailed description of the working of the above model can be explained under various heads. i) Initial Signal Display: Signals SG1,SG2,SG3 and SG4 are placed near the gate each at a specified distance. SG1 and SG4 are placed at 2Km on either side of the gate whereas SG2 and SG3 are placed at 180m from the gate. The train may be approaching the gate in either direction. So all four signals are made RED initially to indicate that gate is open and vehicles are passing through the gate. The road user signals are made GREEN so that they can freely move through the gate buzzer is made OFF since there is no approach of train and road users need not be warned. ii) Train Arrival Detection: +V IR transmitter IR receiver Comparator Transistor switch ~

Detection of a train approaching the gate can be sensed by means of sensors R1,R2,R3 and R4 placed on either side of the gate. In a particular direction of approach,r1 is used to sense the arrival while R3 senses the departure of train. In the same way,r4 senses the approach and R2 the departure respectively in the other direction of train arrival. Based on the vibration of the track as the train approaches the sensor works. The sensor comprises of an IR transmitter, IR receiver, a comparator and a transistor switch. IR transmitter gives IR rays whose wavelength depends upon the vibration of track that corresponds to the input frequency. If frequency increases its wavelength increases and thus reduces the resistance of the IR receiver. It reduces voltage drop across the receiver. Its output voltage is the difference between this voltage drop and input voltage to the sensor. This is fed to the comparator whose reference voltage is based on the threshold frequency which is minimum frequency caused by a slow train. Thus, the comparator produces -12V saturation when it senses a train and +12V if not. Correspondingly, a transistor switch produces +5V and 0V respectively. This is transmitted employing FM to the microcontroller. iii) Warning For Road Users: At the moment the train arrival is sensed on either side of the gate, road users are warned about the train approach by RED signals placed to caution the road users passing through the gate. RED signal appears for the road user once the train cuts the relay sensor placed 5Km before the gate. A buzzer is made ON as a precautionary measure for the road user and that nobody should enter the gate at that moment.

iv) Sensing For Vehicles: Laser light is used as a source and LDR as a tool for sensing purpose. When light strokes on LDR its resistance decreases and when light does not strike LDR its resistance remains at normal value. This change of resistance of LDR is used for sensing by the micro controller 89C51 by the use of compensation. If there is no vehicle in between or beneath the gates, then the laser light from the source falls on the LDR since there is no obstacle. Since there is no vehicle or obstacle, signal is made GREEN for the train to pass through the gate. The same is applied for in the other direction and SG3 and SG4 are made GREEN and gates are closed. Due to some unavoidable circumstances, if there is a sudden breakdown of a vehicle between the gate, then the light from laser source does not fall on LDR. It indicates the presence of vehicle and the signal for train should be made RED in order to slow down the train to avoid collision. Then the obstacle should be warned to clear the path. v) Gate Closing Operation: Once the microcontroller senses that there is no vehicle inside, then it automatically produces the signal to operate the motor through relay circuit and hence close the gate for the passage of train.

When any presence of obstacle is sensed, 89C51 gives signal for obstacle to clear the path and once the path is cleaned, motor is operated to close the gate. Actually rotary motion occurs in a motor. This rotary motion is converted to linear motion of the gate using a gear. vi) Signal For Train: When the path is clear inside the gate, GREEN signal is produced for the train when there is any obstacle, signal is made RED for the train in order to slow down its speed before 5 Km from the gate. Another signal placed at 180 m before the gate, when it is still RED when train approaches if then provisions if then provisions should be stop the train. vi)train Departure Detection: Detection of train departure is also done using relay technique as explained under the head of train arrival detection. Train departure sensing is done by sensors R3 and R2 respectively considering the directions of train approach. viii) Gate Opening: When the train departure is sensed by the sensors, signal is given to the Microcontroller which operates the motor in reverse direction and the gates are opened. Once the gate is opened signal for road users are made GREEN so that the vehicles can pass through the gate.

ALGORITHM: STEP 1: STEP 2: STEP 3: STEP 4: STEP 5: STEP 6: STEP 7: STEP 8: STEP 9: STEP 10: Start. Set the variables. Make initial settings of the signals for the train and road users. Check for the arrival of the train in either direction by the sensors. If the train is sensed go to STEP 5. Otherwise repeat STEP 4. Make the warning signal for the road users and set the signal for the train. Check for the presence of the obstacle using sensors. If there is no obstacle go to STEP 7. Otherwise repeat STEP 6. Close the gate and stop the buzzer warning. Change the signal for the train. Check for the train departure by the sensors. If the train sensed go to next STEP. Otherwise repeat STEP 9. Open the gate. STEP 11: Go to STEP 3. STEP 12: Stop.

FLOW CHART: Make the initial settings for train & road users If arrival of train in either of directions Buzzers & signal warnings to road users If obstacles Stop warning & close the gate Set the signal for train If train departure Open the gate

SOURCE CODE : ASM PROGRAMME FOR AUTOMATIC RAILWAY GATE CONTROL: gateon.reg p3.0 gateoff.reg p3.1 ce.reg p1.2 sig1r.reg p0.2 sig1g.reg p0.3 sig2r.reg p0.0 sig2g.reg p0.1 sig3r.reg p2.3 sig3g.reg p2.4 sig4r.reg p0.5 sig4g.reg p0.4 rsg5r.reg p2.2 rsg5g.reg p2.7 rsg6r.reg p2.5 rsg6g.reg p2.6 ldr1.reg p3.2 ldr1.reg p3.3 ldr3.reg p2.1 ldr4.reg p2.0 rlysens1.reg p3.7 rlysens2.reg p3.6 rlysens3.reg p3.5 rlysens4.reg p3.4 buzzer.reg p1.0 laser.reg p1.1 count.reg 23h count2.reg 24h org 0000h jmp start org 0003h reti org 000bh reti org 0013h reti org 001bh reti org 0023h reti start: clr ce mov p0,#00h mov p2,#03h clr buzzer clr laser clr gateon

gon: loop15: loop2: mn: main: loop2a: loop5: loop6: clr gateoff mov count1,#ffh mov count2,#ffh djnz count2,loop2 djnz count1,loop15 call dly setb sig1r setb sig2r setb sig4r setb sig3r setb rsg5g setb rsg6g clr buzzer clr laser jnb rlysens1,loop1 jb rlysens4,main clr sig4g setb buzzer setb laser setb rsg5r clr rsg5g setb rsg6r clr rsg6g jnb ldr1,loop20 jnb ldr2,loop20 jnb ldr3,loop20 jnb ldr3,loop20 jnb ldr4,loop20 call gatecls clr buzzer clr laser clr sig3r clr sig4r setb sig4g setb sib3g jb rlysens2,loop5 jnb rlysens2,loop6 clr sig3g setb sig3r clr sig4g setb sig4r clr rsg5r clr rsg6r setb rsg5g setb rsg6g call gateopen clr rsg5r clr rsg6r

loop20: loop21: loop1: loop24: loop9: loop10: setb rsg5g setb rsg6g jmp mn setb buzzer setb laser setb sig3r setb sig2r jnb ldr1,loop21 jnb ldr2,loop21 jnb ldr3,loop21 jnb ldr4,loop21 clr buzzer clr laser jmp loop2a setb sig2r clr sig1g setb buzzer setb laser setb rsg5r clr rsg5g setb rsg6r clr rsg6g jnb ldr1,loop23 jnb ldr2,loop23 jnb ldr3,loop23 jnb ldr4,loop23 call gatecls clr buzzer clr laser setb sig1g clr sig1r setb sig2g clr sig2r setb rsg5r setb rsg6r jb rlysens3,loop9 jnb rlysens3.loop10 call gateopen clr buzzer clr laser clr sig1g clr sig2g setb sig1r setb sig2r clr rsg5r clr rsg6r

loop23: loop26: gateopen: gatecls: delay: ji: bala: riju: dly: kr: setb rsg5g setb rsg6g jmp mn setb buzzer setb sig3r setb sig2r jnb ldr1,loop26 jnb ldr2,loop26 jnb ldr3,loop26 jnb ldr4,loop26 clr buzzer jmp loop24 setb gateon clr gateoff clr gateon ret setb gateoff clr gateon clr gateoff ret mov 50h,#04h mov 51h,#f0h mov 52h,#ffh djnz 52h,riju djnz 51h,bala djnz 50h,ji ret mov 53H,#50H djnz 53h,kr ret

MICRO CONTROLLER 89C51 CROSSING LEVEL FUTURE ENHANCEMENT: This paper has satisfactorily fulfilled the basic things such as prevention of accidents inside the gate and the unnecessity of a gatekeeper. But still the power supply for the motor operation and signal lights. It can be avoided and a battery charged by means of a solar cell. It can be used 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 LAST WORD 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.