Professional Documents
Culture Documents
Beauty
Beauty
INTRODUCTION
1.1 OBJECTIVE
The overall aim of the present work is to make use of existing working
principle of a railway network to control automatic crack detection in railway
track with the help of Electromagnetic tomography and microcontroller using
Embedded system. To avoid accidents that occur in rail.
1.3.1 INTRODUCTION
1
Embedded System is a combination of hardware and software used to
achieve a single specific task. Embedded systems are computer systems that
monitor, respond to, or control an external environment. Environment is
connected to systems through sensors, actuators and other I/O interfaces.
Electromagnetic waves are named for the fact that they have both an
electric and a magnetic component. They begin when charged particles, like
electrons, vibration due to the various forces acting on them. The vibration of
charged particles result in an emission of energy known as electromagnetic
radiation. EMT, also called magnetic inductance tomography, is one type of
electrical tomography used to image cross sections of multiphase ow pipe in
industrial process.
2
installed as encircling the rail due to limitation of mechanical structure of the
rail track and relative facilities, including rail bed mounting clips and turnout
junction. To adapt the measurement condition, non-encircling sensor structure is
designed to meet the tomography excitation and detection requirements. The
sensor coils array is arranged as L-shape to cover the region of rail head corner
which is the contacting region of rail and train wheel. Therefore, it is possible to
use EMT to extract more detailed information from rail.
1.5 RELAY
Relay is a switch operated device. Relay contains two circuits they are
load circuit and control circuit, which is used in the application of ON and OFF
of a circuit by a low power signal or several circuits that can be controlled by
one signal. If there is any crack in the rail, it will open if no crack it will be in a
closed state. Relay is used to control the signal.
3
1.6 PIC MICROCONTROLLER
This section forms the control unit of the whole project. It is basically
consists of a microcontroller with its associated circuitry like crystal with
capacitors, reset circuitry, pull up resistors (if needed) and so on. The
microcontroller forms the heart of the project because it controls the devices
being interface and communicates with the devices according to the program
being written.
4
1.8 EXISTING SYSTEM
Now a days crack detection in railway track is carried out with the use
of an electromagnetic tomography. When compared to before, this project uses
less number of coils and also a simple technique. The R&D department and
many places are trying to use these crack detection technique in railway track.
Hardware requirements are metal, signal post, pantograph, post for carrying
pantograph, train, DC motor, PIC microcontroller and battery, and software
requirements are MATLAB.
5
The hardware components used in the project are microcontroller, relay,
electromagnetic coil, motor, pantograph, transformer, regulator.
1.10.1.1 INTRODUCTION
The term PIC is the name given by microchip technology to its single
chip microcontroller. These devices have been phenonmenally successful in
market for many reason have grown in popularity over last decades ever sense
their inception into the market in early 1990s.PIC micros have grown to
become the most widely used microcontroller in the eight bit microcontroller
segment .The 16F877 is 40 pin IC. There are six ports in the microcontroller.
Namely PORTA, PORTB, PORTC, PORTD, PORTE. Among these ports,
PORTD, PORTC, PORTB contains eight pins, where PORTA contains six pins
and PORTE contains three pins.
The main factors that account for the popularity of PIC microcontroller are
following:
6
SERIAL PROGRAMMING: PIC micros can be serially programed with two
pins, which bring down the complexity the cost of the PIC programmers
drastically.
1.10.2 DC MOTOR
7
1.10.3 SENSOR
1.10.3.1 PRINCIPLE
1. Thermal sensors,
2. Electromagnetic sensors,
3. Mechanical sensors,
4. Motion sensors,
5. Car sensors.
8
1.10.4 PANTOGRAPH
1.10.4.1 INVENTION
October 1903. For many decades thereafter , the same diamond shape
was used by electric-rail systems around the world and remains in use by some
today. The pantograph was an improvement on the simple trolley pole, which
prevailed up to that time, primarily because the pantograph allows an electric-
rail vehicle to travel at much higher speeds without losing contact with the
overhead lines.
9
Fig 1.3 Pantograph
10
additional freedom of movement in their current collection to ensure unbroken
contact. However, many of these networks, including Toronto's, is undergoing
upgrades to accommodate pantograph operation. Pantographs with overhead
wires are now the dominant form of current collection for modern electric trains
because, although more fragile than a third rail system, they allow the use of
higher voltages.
Here, In this project two voltage regulator are used.one regulator (7809)
is connects to an overhead line and another one (7805) is connected to the
microcontroller.
11
Fig1.4 Voltage Regulator
1.10.6 RELAY
The relay has four parts they are Electromagnet, Movable armature,
Switch point contact, Spring .
12
Fig1.6 Load circuit
The normally opened relay, the contact is open when the relay is not
energized. And the other type is normally closed, here contact is closed when
the relay is energized.
The relay contain the diode that diode is always in reverse bias. When a
relay is switched off there can be a short lived high voltage spike of electricity,
which can damage sensitive chips and transistors in the circuit.
13
Fig 1.7 Relay circuit
1.11.1 EMBEDDED C
14
Embedded C uses most of the syntax and semantics of standard C, e.g.,
main() function, variable definition, datatype declaration, conditional statements
(if, switch, case), loops (while, for), functions, arrays and strings, structures and
union, bit operations, macros, etc.
1.11.2 ADVANTAGES
1.11.3 C COMPLIER
15
C compiler is fully optimised for use with PIC microcontrollers. Built in
functions make coding the software very easy. Based on original K&R, the
integrated C development environment gives developers a fast method to
produce efficient code from an easily maintainable high level language.
1.11.3.1 CAPABILITIES
16
editor/compiler and a cmd line compiler Special windows show the RAM
memory map, C/Assembly listing and the calling tree. Interrupt procedures
supported on PCM. The compiler generates all start up and clean up code as
well as identifying the correct interrupt procedure to be called.
1.11.3.2 DESCRIPTION
1.11.4 MPLAB
17
MPLAB is a free integrated development environment for development
embedded applications on PIC and SPIC microcontrollers, and is developed
by Microchip Technology.
MPLAB 8.X is the last version of the legacy MPLAB IDE technology,
custom built by Microchip Technology in Microsoft Visual C++. MPLAB
supports project management, editing, debugging and programming of
Microchip 8-bit, 16-bit and 32-bit Microcontrollers.
CHAPTER 2
18
LITERATURE REVIEW
[1] The eddy current testing can be a practical technology for developing an on-
train real-time rail defect inspection system. It is because the eddy-current
testing has the advantage of non-contact operation, the speed of eddy current
rail inspection is not limited by the requirement of being in contact with the rail.
The inspection speed is only limited by the excitation and detection signals
transfer and the post signal processing speed. Therefore, by selecting the
optimized excitation frequency and using the fast signal processing device such
as Field Programmable Gate Array (FPGA), the inspection speed can easily
exceed 100km/hr. But here many number of electromagnetic coils are used.
[2] This project aims in designing railway track crack detection autonomous
vehicle using microcontroller, IR obstacle sensors assembly systems, which
detects the cracks along its path, the vehicle is also capable of monitoring the
location of the crack by using the GPS module and alerts through SMS
messages using GSM module. The central component of the whole system is a
PIC microcontroller. The vehicle is powered with the help of solar panel and
Lead Acid Battery assembly. The vehicle moves along the path of railway track
and IR obstacle sensors mounted on the vehicle front end will inspect the track
along the path. When any crack of deformation is detected on the track the
vehicle stops and the location of the track is identified and the location latitude
and longtitude coordinates in the form of short message service (SMS) to the
pre-defined number. But here the driver need to control the train.
19
[3] The inspection methods use different principles including sound, optic,
electromagnetic, thermal, and radiation. Different methods have different
limitations, after many years of field application practice, ultrasonic rail defect
inspection has been used as the most popular method because of its sufficient
resolution and application convenience. Nevertheless trains running speed, and
running interval time decreasing, the inspection speed limitation of the
ultrasonic rail defect inspection method makes it more difficult to meet the
requirement of railway industry. The highest reported field application speed for
the ultrasonic rail defect inspection is <80km/hr. Inspection train equipped with
the ultrasonic rail defect inspection system running at this low speed can block
the train traffic, and therefore it heavily influences the rail transportation
efficiency. And another popular rail defect inspection method is using the
inspection handcarts can only be used in between the trains running interval
time. For some busy lines, the interval time between trains falls
<10min.Therefore with the trains running interval time decreasing , inspection
workers are too busy and it is dangerous to move the hand cart on and off the
rail. Therefore, the railway service department urgently needs a new rail defect
inspection method to improve inspection efficiency.
[4] The main problem about a railway analysis is detection of cracks in the
structure. If these deficiencies are not controlled at early stages they might lead
to a number of derailments resulting in a heavy loss of life and property. This
paper proposes a cost effective solution to the problem of railway track crack
detection utilizing LED-LDR assembly which tracks the exact location of faulty
track which then mended immediately so that many lives will be saved The
proposed system will overcome the limitations of both the traditional and the
current system that are using for detection of faulty tracks. In the current system
we dont get the exact location of the faulty track. We only receive latitudes and
20
longitudes of the location. In the proposed system we are using Gprs module so
that we can get the exact location of the broken rail track. In this proposed
system we are also using ARM7 controller which consumes low power and also
less cost. By using the ARM controller the analysis time of the proposed will be
reduced drastically. Before the start of the railway line scan the robot has been
programmed to self-calibrate the LED-LDR arrangement. It is necessary
because the LDR has a natural tendency to show a drifting effect because of
which, its resistance under the same lighting condition may vary with time.
After calibration, the robot waits for a predetermined period of time so that the
on board GPS module starts reading the correct geographic coordinate .
21
CHAPTER 3
DESIGN OF CRACK DETECTION IN RAIL
3.1.2 TRANSFORMER
22
Actually, mutual induction between two or more winding is responsible
for transformation action in an electrical transformer. In this project, transformer
converts an 230V ac power supply to 9V for overhead line and 5V to
microcontroller and Relay.
3.1.3 RECTIFIER
Magnetic coil is placed inside the train and track for generating an
electromagnetic waves to detect the crack in the rail. If wrap a copper wire into
coils and run an electrical current through it, it will create a magnetic field.
When you put the train inside the coils, it causes an electrical current to flow
through the copper wire, which creates a magnetic field in the section of wire
coils right around the train car. This magnetic field has its own north and south
poles, which push the train along the track. In this project power supply is given
to the overhead line and an overhead line is given to a magnetic coil which
helps the run the train and also produces an electromagnetic waves.
23
3.1.5 RELAY
24
3.2 ARCHITECTURE OF PROPOSED SYSTEM
25
3.3 FLOW CHART
The power supply is given to the rectifier to convert the AC to DC. The
DC current is given to the voltage regulators(7809 and 7805). That supply
voltage is given to the micro controller and the other voltage is for magnetic
coil. The signal post is controlled by the microcontroller due to the program
dumped in that chip. If there is any crack in the rail the relay gets opened, the
signal port shows red signal and the train gets stop. If there is no crack the
controller gives green signal to the port.
26
Fig 3.3 Circuit diagram
The PIC micro controller has 40 pins. it consists of two 8 bit and one 16
timer. And also the serial ports, parallel ports, and five input/output ports are
also present in it. The input and output ports are namely PORTA, PORTB,
PORTC, PORTD, PORTD. the crystal oscillator input is connected to the pin
13 and the oscillator was having two capacitors . they are connected to the pin
14 and also the switches.
The PORTB pin 33 is connected to the regulator pin 2. the resisters are
also connected to the switches and the pin 19 and pin 21. The motor also
connected to the controller and it will be set for the forward and reverse
movement for the train. All the switches will be grounded.
CHAPTER 4
27
4.1 RESULT
4.2 CONCLUSION
The method has been proposed that can make use of the existing railway
system to control automatic crack detection in the rail. The electromagnetic
tomography system is used which helps in preventing the accident that occurs
due to the crack in the rail.
FUTURE SCOPE
28
This method also can be implemented to control automatic railway crack
detection and in future , it can be developed to make a fully automated railway
system with solar panel and less power, cost efficient is also low.
APPENDIX
29
PANTOGRAPH
MODEL TRAIN
SIGNAL POST
30
CIRCUIT CONNECTIONS
EXPECTED OUTPUT
31
APPENDIX
32
void main()
while(1)
delay_ms(10);
PORTC=0x5a;
PORTB.F0=0;
33
PORTB.F1=0;
PORTC=0X5A;
PORTB.F0=0;
PORTB.F1=0;
PORTC=0X5A;
PORTB.F0=0;
PORTB.F1=0;
else
34
{
delay_ms(10);
PORTC=0x0f;
PORTB.F0=1;
PORTB.F1=0;
delay_ms(10);
35
PORTC=0X1E;
PORTB.F0=1;
PORTB.F1=0;
if(PORTC==0X1E)
delay_ms(10);
PORTC=0X5a;
36
if(PORTB.F0==1 && PORTB.F1==0)
delay_ms(10);
PORTB.F0 = 0;
PORTB.F1=1;
PORTC=0XF0;
} }
if(PORTC==0xf0)
while(PORTD.F6 == 0)
37
delay_ms(10);
PORTB.F0 = 1;
PORTB.F1=0;
PORTC=0X0F;
}} }
PORTC=0XD2;
PORTB.F0=0;
PORTB.F1=1;
if(PORTC==0XD2)
PORTC=0X5A;
PORTB.F0=0;
38
PORTB.F1=1;
if(PORTC==0x5a)
while(PORTD.F6 == 0)
delay_ms(10);
PORTB.F0 = 1;
PORTB.F1=0;
PORTC=0X0F;
}} }
}}
REFERENCES
39
[1] Z. Liu, A. D. Koffman, B. C. Waltrip, and Y. Wang, Eddy current rail
inspection using AC bridge techniques, J. Res. Nat. Inst. Standards Technol.,
vol. 118, pp. 140149, Feb. 2013.
40
[8]Wojnarowski, Robert John Welles, Kenneth BrakeleyKornrumpf, and
William Paul, "Electromagnetic system for railroad track crack detection
and traction enhancement".
[9]Journal IJAICT Volume -1, Issue-1, May 2014, ISSN 2348 9928,
CRACK DETECTION SYSTEM FOR RAILWAY TRACK BY USING
ULTRASONIC AND PIR SENSOR, Prof. P.Navaraja Assistant Professor,
Electronic and Communication Engineering, Mahendra Institute of Technology,
Namakkal, Tamilnadu, India.
[10]http://www.npeducations.com/2013/01/railwaytrack-crack-detection-
robot.html.
41