(Reff) Fdocuments - in - An Arduino Based Method For Detecting Cracks and Sms To GSM and Gps Keywordsarduino
(Reff) Fdocuments - in - An Arduino Based Method For Detecting Cracks and Sms To GSM and Gps Keywordsarduino
IJEECS
ISSN 2348-117X
Volume 6, Issue 4
April 2017
ABSTRACT
Indian Railways is the fourth largest railway network in the world. Although there is a tremendous growth in Indian
Railways, this system is still plagued by a number of problems which require immediate attention. In this paper we are
considering the major problems that lead to accidents. Major problems include obstacles entry on to the track and
cracks on the tracks. To overcome this have proposed a testing train which uses ultrasonic sensor with a range of
100cms and delay is 30 cm.Based on the distance between obstacle and the train, the train slows down. When the train is
at a distance of 20cm we increase the delay in order to slow down the train and finally when it reaches to a distance of
15cm the train automatically stops.During summer and winter seasons the tracks may expand and contract due to which
cracks may occur. The LED and photodiode setup is placed to testing train to detect cracks. Here we are using arduino
microcontroller. After crack detection the testing train stops and the longitudinal and latitudinal positions are sent via
SMS to GSM and GPS.
Keywords—Arduino microcontroller, Light Emitting Diode(LED), Liquid Crystal Display (LCD), Global System for
Mobile (GSM) and Global Positioning System (GPS).
I. INTRODUCTION
In today’s world, transport, being one of the biggest drainers of energy, its sustainability and safety are
issues of paramount importance. In India, rail transport occupies a prominent position in quenching the ever
burge owing needs of a rapidly growing economy. However, in terms of the reliability and safety parameters,
global standards have not yet been truly reached. Though rail transport in India is growing at a rapid pace, the
associated safety infrastructure facilities have not kept up with the mentioned proliferation. The principal
problem is the lack of efficient and cost effective technology to detect problems in the rail tracks and the lack
of proper maintenance.
sensor. The ultrasonic sensor is very compact and has a very high performance. The Testing train uses
ultrasonic sensors with microcontroller for its movements. Ultrasonic sensor is most suitable for obstacle
detection due to its high ranging capability and low cost[1]. It is attached to the front part of the testing train.
Whenever the testing vehicle is going on the desired path the ultrasonic sensor transmits the ultrasonic waves
continuously from its sensor head. Whenever an obstacle comes ahead of it, the ultrasonic waves are reflected
back from an object and that information is passed to the microcontroller. The microcontroller controls the
motors left, right, back, front, based on ultrasonic signals. In order to control the speed of each motor, pulse
width modulation is used (PWM) [10].
The basic components used in crack detection are IR LED and Photodiode. In this design, the IR LED and
Photodiode will be attached to the same side of the track to indicate the condition of the track. If any default is
observed it will send the information to the nearby station. The proposed testing train is cost effective, power
consumption is low and analysis time is less [2]. With this proposed system the exact location of the faulty rail
track can be easily located, so that many lives can be saved.
II. IMPLEMENTATION
A. Block diagram
automatically and a message is generated using GSM and GPS and will be sent to the nearby station. By using
GPS we can determine latitude and longitudinal locations. By this we can display the details of the location to
the driver through LCD display.
B. Arduino UNO Microcontroller
The Arduino UNO is a microcontroller board based on the ATmega328.Arduino is an open-source electronics
prototyping platform and it is intended for designing, creating interactive objects or environments [3].Arduino
boards are relatively inexpensive compared to other microcontroller platforms. A basic Arduino Uno board
has been shown in Fig.3
Features
1. Cross-platform
The Arduino software runs on Windows, Macintosh OSX, and Linux operating systems.
2. Simple, clear programming environment
The Arduino programming environment is easy-to-use for beginners and flexible enough for the advanced
users.
3. Source and extensible software
The Arduino software is published as open source Open tools, available for extension by experienced
programmers. The language can be expanded through C++ libraries.
4. Open source and extensible hardware
Technical Specifications
Microcontroller : ATmega328
Operating Voltage : 5V
Input Voltage (recommended) : 7-12V
Digital I/O Pins 14 :PWMo/p
Analog Input Pins : 6
DC Current per I/O Pin : 40 mA
DC Current for 3.3V Pin : 50 mA
Flash Memory :32 KB
SRAM : 2 KB
EEPROM : 1 KB
Clock Speed : 16 MHz
C. Ultrasonic Sensor
The Arduino Ultrasonic Range Detection Sensor with Arduino calculates distance from objects. The output of
an LED alters with PWM according to how close an object is to the sensor. So nearer the object the brighter
the LED [5]. This Sensor works by sending an ultrasound pulse at around 40 KHz. It then gets the echo back
and calculates the time taken in µsec. We can trigger a pulse as fast as 20 times a second and it can determine
objects up to 3 meters away and as near as 3cm. It needs a 5V power supply to run. Arduino can be added to
Ultrasonic Range Detection Sensor using only 4 pins Power, Ground, Trigger and Echo. Since it needs 5V and
Arduino provides 5V, we will use this to power it. There are 2 sets of 5 pins, 1 set we can use, the other is for
programming the PIC chip. Supply module with 5V, the output will be 5V while obstacle in range, or 0V if
not. The out pin of this module is used as a switching output when anti-theft module [4].
Gears are used to increase the torque of dc motor on the expense of its speed. The gear mechanism works on
the principle of conservation of angular momentum. The gear having smaller radius will cover more RPM
than the one with larger radius. However, the larger gear will give more torque to the smaller gear than vice
versa. The comparison of angular velocity between input gear (the one that transfers energy) to output gear
gives the gear ratio. When multiple gears are connected together, conservation of energy is also followed.
and current. Thus current cannot be supplied to the motors from the microprocessor. This is the primary need
for the motor driver IC. When the motor is applied positive voltage on both sides then the voltage from both
the sides brings the motor shaft to a halt.
Depending upon the values of the Input and Enable the motors will rotate in either clockwise or anticlockwise
direction with full speed (when Enable is HIGH) or with less speed (when Enable is provided with PWM). Let
us assume for Left Motor when Enable is HIGH and Input 1 and Input 2 are HIGH and LOW respectively
then the motor will move in clockwise direction. So the behaviour of the motor depending on the input
conditions are shown in table1.
Table 1
Input Input
Enable 1,2 Result
1 2
0 0 1 Stop
0 1 1 Anti-clockwise rotation
1 0 1 Clockwise rotation
1 1 1 Stop
50% duty Anti-clockwise rotation
0 1
cycle with half speed
50% duty Clockwise rotation with
1 0
cycle half speed
Circuit diagram
The circuit diagram of interfacing LCD to arduino for displaying a text message is shown in Fig.8. RS pin of
the LCD module is connected to digital pin 12 of the Arduino. R/W pin of the LCD is grounded. Enable pin of
the LCD module is connected to digital pin 11 of the Arduino. The LCD module and Arduino are interfaced in
the 4-bit mode. That means only four of the digital input lines (DB4 to DB7 of the LCD are used). This
method is very simple, requires less connections and you can almost utilize the full potential of the LCD
module. Digital lines DB4, DB5, DB6 and DB7 are interfaced to digital pins 5, 4, 3 and 2 of the Arduino. The
10K potentiometer is used for adjusting the contrast of the display. 560 ohm resistor R1 limits the current
through the back light LED. The Arduino can be powered through the external power jack provided on the
board. +5V required in some other parts of the circuit can be tapped from the 5V source on the Arduino board.
The Arduino can be also powered from the PC through the USB port.
IV. CONCLUSION
In this paper we have designed a cost effective, low-power embedded system, which facilitate better safety
standards for rail tracks for preventing railway accidents due to cracks and obstacles on railway tracks. The
Prototype of testing vehicle can efficiently detect cracks and obstacles on railway tracks. The result shows that
this new innovative technology will increase the reliability of safety systems in railway transport. By
implementing these features in real time application, we can avoid accidents up to approximately 70%.
REFERENCES
[1] Akhil N, Dinu Mohan , Fayis P, Sija Gopinath “Railway Crack Detection System” International Research Journal of
Engineering And Technology (IRJET), Volume: 03, Issue: 05 ,May-2016, ISSN: 2395-0072.
[2] S. Ramesh “Detection of Cracks and Railway Collision Avoidance System”, International Journal of Electronic and
Electrical Engineering ISSN 0974 - 2174 Volume 4, Number 3, 2011.
[3] Dr.B.Paulchamy, T.Sivamani, S.Viswanathan, R.Sugumaran, M.Ramadoss, S.Sakthivel “Automated Visual
Inspection of Detecting Cracks and Obstacles on Rail Road Track Using Robot and Automatic Gate Control”
International Journal of Innovative Research in Technology & Science (IJIRTS), ISSN: 2321-1156.
[4] Prof. P.Navaraja “crack detection system for railway track by using ultrasonic and PIR sensor”, International Jounal
of Advanced Information And Communication Technology IJAICT Volume -1, Issue-1, May 2014, ISSN 2348 –
9928,
[5] Mr.Prashanth.addagatla , Mr.G.Koteshwar Rao “a modern method for detecting cracks in railway tracks by the
efficient utilization of LDR and LED system” International Journal of Engineering Science Invention ISSN (Online):
2319 – 6734, ISSN (Print): 2319 – 6726.
[6] Parag Nikhar, Rakesh Pise, Avinash Shelar “IR Sensor Based Crack Detection of Railway Track Using GSM & GPS
System” International Journal for Research in Applied Science & Engineering Technology (IJRASET), Volume 5
Issue 3, March 2017, ISSN: 2321-9653
[7] Pravinram R, Prasath R, Nanda Gopal R, Hari babu S,“Railway Track Crack Detecting Robot using IR and GSM”
International Journal for Scientific Research & Development| Volume. 4, Issue 02, 2016 | ISSN (online): 2321-0613.
[8] F.-S. BAI Y.-L. LIU, “Design of Fault Monitoring Alarm System for Networks Based on GSM SMS,” pp. 45-67,
2010.
[9] A.R.Ali, E. Imran Zualkernan, and FadiAloul, “A Mobile GPRS-Sensors Array for Air Pollution Monitoring,” vol.
8, pp. 415-422, 2010.
[10] Ravi Shankar Shekhar, Purushottam Shekhar, Ganesan P, “Automatic Detection of Squats in Railway Track”, IEEE
Sponsored 2nd International Conference on Innovations in Information Embedded and Communication Systems.
Volume. 3, Issue. 6, page. 413-413 December 2015.