Submitted in Partial Fulfilment For The Award of The Degree of
Submitted in Partial Fulfilment For The Award of The Degree of
Submitted in Partial Fulfilment For The Award of The Degree of
PROJECT REPORT
Bachelor of Technology
CERTIFICATE
It is pleasure for us to add a few hear felt words for the people who were a part of this
project in numerous ways, who gave unending support right from the stage the idea
was conceived.
We would like to extend our gratitude to our guide T. Bala Sai Goud, Assistant
Mechanical Engineering for his cooperation and valuable support in every way
Brindavan Institute of Technology & Science, Kurnool for his cooperation and
We also acknowledge with deep sense of reverence, our gratitude towards our parents
who had supported us morally as well as economically without whom our project
I.C Engines have been advanced a lot such that its speed is becoming a major
vehicles. It changes complete braking systems in an automotive and deals with the
This project is designed with ultrasonic transmitter, ultrasonic receiver, Arduino UNO
to receive the reflected wave present in front of the vehicle, then the reflected waves
is given to the ultrasonic wave generator unit in which the incoming wave is
amplified and compared with reference signals to maintain a constant ratio and this
signal is given to microcontroller and through which the working of DC gear motor
The prototype has been prepared depicting the technology and tested as per the
simulated conditions. In future the actual model may be developed depending on its
feasibility.
TABLE OF CONTENTS
I. Table of contents i
V. List of abbreviations v
1. Introduction
1.1 Background 1
1.2 Objective 2
1.4 Methodology 3
1.5.1 Sensor 5
1.5.2 Transducer 6
1.5.7 Servomotor 9
2. Review of Literature
2.6.1 Temperature 17
2.6.4 Humidity 18
2.7.1 Composition 18
2.7.2 Shape 19
2.8.1 Applications 20
4. Result
4.1 Result 43
CONCLUSION 44
FUTURE SCOPE 45
REFERENCES 46
LIST OF TABLES
3.6 Servomotor 36
LIST OF PLATES
DC Direct Current
INTRODUCTION
1.1 BACKGROUND
Driving is a common activity for most of the people. The number of vehicles is
increasing day by day. Now a days, the technology has got vast changes which leads
increase in speed. The speed plays a vital role to maintain time for longer distances.
But, this speed also getting a major problem for causes of road accidents. The
common braking is not sufficient for avoidance of accidents when driver is not active.
Further improvement has to done in braking system in order to brake a vehicle when
driver is not able to brake i.e., it may needs automatic braking system. This automatic
braking system allows the vehicle to brake without support of the driver.
The main target of the ultrasonic braking system is that, vehicles should automatically
brake when the sensors sense the obstacle. This is a technology for automobiles to
sense an imminent forward collision with another vehicle or an obstacle, and to brake
the vehicle accordingly, which is done by the braking circuit. This system includes
two ultrasonic sensors viz. ultrasonic wave emitter and ultrasonic wave receiver. The
of the vehicle. Ultrasonic wave receiver is also provided in front portion of the
vehicle, receiving the reflected ultrasonic wave signal from the obstacle. The reflected
wave (detection pulse) is measured to get the distance between vehicle and the
obstacle. The DC gear motor is connected to the wheels of vehicle and power input is
given to it from Arduino board. Then PIC microcontroller is used to control the servo
motor based on detection pulse information and the servo motor in turn automatically
controls the braking of the vehicle. Thus, this new system is designed to solve the
In order to reduce the emission levels, more work is going on for the modification of
engine work functions and all. There are several kinds of braking mechanism systems
that would only can be applicable mechanically, to move the ideology more deep and
brief the automatic braking system will be more sufficient and satisfactory in addition
In present generation, number of vehicles are coming into existence with newer
the ideology in more brief manner and to take the step in different way, may
existences.
1.2 OBJECTIVE
The objective of this project is to design the automatic braking system in order to
avoid the accident. To develop a safety vehicle braking system using ultrasonic
sensor and to design a vehicle with less human attention to the driving.
This project is necessary to be attached to every vehicle. Mainly it is used when drive
the vehicles in night time. Mostly the accident occurred in the night time due to long
travel the driver may get tired. So the driver may hit the front side vehicle or road
side trees. By using this project the vehicle is stopped by automatic braking system.
The scope of this project is to develop an ultrasonic sensor to detect the obstacle and
to process the output from the ultrasonic sensor to drive the servomotor as an actuator.
Vehicles can automatically brake due to obstacles when the sensor senses the
obstacles. The focus of this project is designing an automatically braking system that
can help us control the braking system of a vehicle. The automatically braking
system also needs to work with an ultrasonic sensor, which produce sound pulse by a
buzzer. The ultrasonic wave is generated from a transmitter and sends to a receiver.
1.3 METHODOLOGY
Maximum 1 metre
Minimum 2 centimetres
∑ SENSOR
∑ TRANSDUCER
∑ ULTRASONIC SENSOR
∑ BRAKING CIRCUIT
∑ DC GEAR MOTOR
∑ SERVOMOTOR
1.5.1 SENSOR
energy from one form to another form. There are two important terms related to any
sensor –
• Target Angle – This term refers to the ‘tilt response’ limitations of a given sensor.
Since the ultrasonic waves reflect off the target object, target angles indicate
• Beam Spread – This term refers to the maximum angular spread of the ultrasonic
1.5.2 TRANSDUCER
A transducer is an energy conversion device which converts one form of energy into
another. In the ultrasonic sensors they are used to convert electrical energy into
ultrasonic energy and vice-versa. In this system piezoelectric transducers are used,
piezoelectric effect. This effect refers to the voltage produced between surfaces of a
Ultrasonic ranging and detecting devices use high frequency sound waves called
ultrasonic waves to detect presence of an object and its range. Normal frequency
range of human ear is roughly 20Hz to 20,000Hz. Ultrasonic sound waves are sound
waves that are above the range of human ear, and thus have frequency above
one form of energy to another, a housing enclosing the ultrasonic transducer and an
which is ultrasonic wave generator that functions to generate ultrasonic wave. In that
part, there is timing instruction means for generating an instruction signal for
intermittently providing ultrasonic waves. This signal will send to an ultrasonic wave
generator for generating ultrasonic waves based on the instruction signal from said
timing instruction means (transform electrical energy into sound wave). After
ultrasonic wave was produced, ultrasonic transmitter transmits the ultrasonic waves
toward a road surface to find out the obstacle. The range that obstacle detected is
• Ultrasonic Receiver – If the ultrasonic wave detects the obstacle, it will produce a
reflected wave. An ultrasonic receiver is used for receiving the ultrasonic waves
reflected from the road surface to generate a reception signal. There is ultrasonic
transducer that will transform back the sound wave to electrical energy. This signal
detect components in the amplified signal due to obstacles on the road surface. The
amplifier with differential inputs and a single output. The amplifier’s differential
inputs consist of an inverting input and a non-inverting input. The op-amp amplifies
only the difference in the voltage between the two inputs called the ‘differential input
output signal back to the inverting input. This is known as negative feedback. Due to
the amplifier’s high gain, the output voltage for any given input is only controlled by
The amplified signal is a square pulse which is given to the ADC. ADC (Analog to
Digital Converter) converts input analog signal to corresponding digital signal. The
The processed i.e. the amplified digital signal is sent to the braking circuit. PIC
microcontrollers are made by microchip technology. PICs are used in this system due
to their low cost and wide availability. The numbers of instructions to perform a
variety of operations vary from 35 instructions in low-end PICs to about 70
The signal from the ADC is processed by the PIC microcontroller, and it gives an
instruction as an output, based on the condition of the signal, to the servo motor. The
signal received from the ADC can also be displayed on the LCD display (which gives
an audio-visual warning on the windshield in the driver’s field of view), and it gives
the distance between the front of the vehicle and the obstacle. The distance value at
which automatic braking should start is already stored in the microcontroller. When
the measured distance reaches this value, the PIC automatically sends the signal to the
A DC gear motor is a fairly simple electric gear motor that uses electricity, gear box
and magnetic field to produce torque, which turns the motor. At its most simple, DC
gear motor requires two magnets of opposite polarity and an electric coil, which acts
magnets provide the torque and causes the DC gear motor to turn. A gear box is
present just after the DC motor and a rotary shaft is connected to it, with the help of
this DC gear motor setup the vehicle wheels can be rotated in this project.
The output of the PIC is the input of the servo motor. The servo motor allows for
coupled to a sensor for position feedback. Thus, it is a closed loop mechanism that
uses position feedback to control its motion and final position. The input is a signal,
either analog or digital, representing the position commanded for the output shaft. The
measured position of the output shaft is compared to the command position (the
external input to the motor). If the output position differs from that required, an error
signal is generated which then causes the motor to rotate in either direction as needed,
to bring the output shaft to the appropriate position. As the required position
approaches, the error signal reduces to zero and the motor stops.
The output shaft of servo motor is capable of travelling somewhere around 180
degrees. A normal servo motor is used to control an angular motion between 0 and
180 degrees, and it is mechanically not capable of turning any farther due to a
mechanical stop built on to the main output gear. The angle through which the output
shaft of the servo motor need to travel is determined according to the nature of the
The servo motor controls the braking through mechanical arrangements. This is done
by using a pair of crossed helical gears and a grooved cylindrical component. The
larger gear is mounted on the output shaft of the servo motor and the smaller is
mounted on the master cylinder piston rod. Thus, when the output shaft of the
servomotor gets signals and hence the larger gear rotates in say anticlockwise
direction, the smaller gear and hence the master cylinder piston rod rotates in
motion is also produced. This is due to a pin, one end of which is inserted in the
groove and the other end is fixed rigidly to a support. Thus, a combination of
thus resulting in braking of the vehicle. The piston returns to the original position
Thus, the speed of the vehicle reduces for clockwise rotation of the smaller gear (i.e.
anticlockwise rotation of larger gear and hence the servo motor output shaft). Thus,
the servo motor is used to control the brakes, when the PIC gives the signal to the
servo motor, based upon the distance measured by means of sensors. This constitutes
radiation.
environments.
CHAPTER 2
REVIEW OF LITERATURE
2.1 Fundamentals of Sensors
type of transducer; sensors may provide various types of output, but typically use
Sensors are used in everyday objects such as touch-sensitive elevator buttons (tactile
sensor) and lamps which dim or brighten by touching the base, besides innumerable
applications of which most people are never aware. With advances in micro-
machinery and easy-to-use micro controller platforms, the uses of sensors have
measurement, for example into MARG (Magnetic, Angular Rate, and Gravity)
are still widely used. Applications include manufacturing and machinery, airplanes
and aerospace, cars, medicine, and robotics. It is also included in our day-to-day life.
Ultrasonic ranging and detecting devices use high-frequency sound waves to detect
the presence of an object and its range. The systems either measure the echo reflection
of the sound from objects or detect the interruption of the sound beam as the objects
in response to received ultrasonic energy. The normal frequency range for human
about 20,000 hertz. Any frequency above 20,000 hertz may be considered ultrasonic.
Most industrial processes, including almost all source of friction, create some
ultrasonic noise.
The ultrasonic transducer produces ultrasonic signals. These signals are propagated
through a sensing medium and the same transducer can be used to detect returning
converts an excitation electrical signal into ultrasonic energy bursts. The energy
bursts travel from the ultrasonic sensor, bounce off objects, and are returned toward
the sensor as echoes. Transducers are devices that convert electrical energy to
mechanical energy, or vice versa. The transducer converts received echoes into
The piezoelectric effect refers to the voltage produced between surfaces of a solid
Conversely when a voltage is applied across certain surfaces of a solid that exhibits
the piezoelectric effect, the solid undergoes a mechanical distortion. Such solids
typically resonate within narrow frequency ranges. Piezoelectric materials are used in
transducers e.g., phonograph cartridges, microphones, and strain gauges that produce
an electrical output from a mechanical input. They are also used in earphones and
air. Transducers generally create ultrasonic vibrations through the use of piezoelectric
Ultrasonic signals are like audible sound waves, except the frequencies are
much higher. Our ultrasonic transducers have piezoelectric crystals which resonate to
a desired frequency and convert electric energy into acoustic energy and vice versa.
The illustration shows how sound waves, transmitted in the shape of a cone, are
reflected from a target back to the transducer. An output signal is produced to perform
some kind of indicating or control function. A minimum distance from the sensor is
required to provide a time delay so that the "echoes" can be interpreted. Variables
which can affect the operation of ultrasonic sensing include, target surface angle,
Ultrasonic sensor transmits ultrasonic waves from its sensor head and again receives
the ultrasonic waves reflected from an object. Basically, in our project ultrasonic
sensor ranges of about 2 centimetres to 1 metre. By measuring the length of time from
the transmission to reception of the sonic wave, it detects the position of the object.
transforms electrical energy into sound and in reverse sound into electrical energy, a
Ultrasonic have a lot of advantages for using in real application. The advantages of
distances.
radiation.
∑ Measures and detects distances to moving objects.
lifespan.
environments.
∑ Interference between the projected waves and the reflected waves takes place,
∑ It is impossible to discern between reflected waves from the road surface and
This term refers to the "tilt response" limitations of a given sensor. Since ultrasonic
sound waves reflect off the target object, target angles indicate acceptable amounts of
This term is defined as the area in which a round wand will be sensed if passed
through the target area. This is the maximum spreading of the ultrasonic sound as it
There are many factors present in the environment which can affect the working of
The velocity of sound in air is 13,044 inches/s at 0 0C, it is directly proportional to air
temperature. As the ambient air temperature increases, the speed of sound also
increases. Therefore if a fixed target produces an echo after a certain time delay, and
if the temperature drops, the measured time for the echo to return increases, even
though the target has not moved. This happens because the speed of sound decreases,
returning an echo more slowly than at the previous, warmer temperature. If varying
bands of varying temperature. If these bands pass between the sensor and the target,
they will abruptly change the speed of sound while present. No type of temperature
applications it may be desirable to install shielding around the sound beam to reduce
or eliminate variations due to convection currents. Averaging the return times from a
number of echoes will also help to reduce the random effect of convection.
accuracy. Reliable operation will deteriorates however, in areas of unusually low air
sound. If the humidity produces condensation, sensors designed to operate when wet
must be used.
the ultrasonic frequency spectrum. For example, air forced through a nozzle, such as
air jets used for cleaning machines, generates a whistling sound with harmonics in the
ultrasonic range. When in close proximity to a sensor, whether directed at the sensor
or not, ultrasonic noise at or around the sensor's frequency may affect system
operation. Typically, the level of background noise is lower at higher frequencies, and
narrower beam angles work best in areas with a high ultrasonic background noise
level. Often a baffle around the noise source will eliminate the problem. Because each
For detecting a target, the ultrasonic sensor takes into consideration the various
2.7.1 Composition
Nearly all targets reflect ultrasonic sound and therefore produce an echo that can be
detected. Some textured materials produce a weaker echo, reducing the maximum
Lower frequencies can have reduced reflections from some porous targets, while
higher frequencies reflect well from most target materials. Precise performance
A target of virtually any shape can be detected ultrasonically if sufficient echo returns
to the sensor. Targets that are smooth, flat, and perpendicular to the sensor's beam
produce stronger echoes than irregularly shaped targets. A larger target relative to
sound wavelength will produce a stronger echo than a smaller target until the target is
larger than approximately 10 wavelengths across. Therefore, smaller targets are better
detected with higher frequency sound. In some applications a specific target shape
such as a sphere, cylinder, or internal cube corner can solve alignment problems
To produce the strongest echoes, the sensor's beam should be pointed toward the
target. If a smooth, flat target is inclined off perpendicular, some of the echo is
deflected away from the sensor and the strength of the echo is reduced. Targets that
are smaller than the spot diameter of the transducer beam can usually be inclined
more than larger targets. Sensors with larger beam angles will generally produce
stronger echoes from flat targets that are not perpendicular to the axis of the sound
beam. Sound waves striking a target with a coarse, irregular surface will diffuse and
reflect in many directions. Some of the reflected energy may return to the sensor as a
weak but measurable echo. As always, target suitability must be evaluated for each
application.
Geared DC motors can be defined as an extension of DC motor which already had its
insight details demystified here. A geared DC Motor has a gear assembly attached to
the motor. The speed of motor is counted in terms of rotations of the shaft per minute
and is termed as RPM. The gear assembly helps in increasing the torque
and reducing the speed. Using the correct combination of gears in a gear motor, its
speed can be reduced to any desirable figure. This concept where gears reduce the
speed of the vehicle but increase its torque is known as gear reduction. This insight
will explore all the minor and major details that make the gear head and hence the
DC Gear motor is also called DC Geared Motor, Geared Dc Motor and gear head
head; these gear heads are used to reduce the DC motor speed, while increase the DC
motor torque. Therefore user can get lower speed and higher torque from gear motor.
2.8.1 Applications
1) Home Appliance
2) Office Automation
Dispenser, Toilet Lid opener, Seat-Changer, Sensor Sanitary Bin, Feminine Hygiene...
5) Safe and Security: electronic lock, door lock, safe, door locker, latch closer
7) Vending Machine: Beverage vending, hot and cold drink dispenser, Juicer Maker
8) Bank Automation: ATM, Coin Counter, Coin Selector, Coin Validator, Bank note
counter
9) Automotive
The servo motor has some control circuits and a potentiometer (a variable resistor)
that is connected to the output shaft. In the picture above, the pot can be seen on the
right side of the circuit board. This pot allows the control circuitry to monitor the
current angle of the servo motor. If the shaft is at the correct angle, then the motor
shuts off. If the circuit finds that the angle is not correct, it will turn the motor to the
correct prototype direction until the angle is correct. The output shaft of the servo is
210 degree range, but it varies by manufacturer. A normal servo is used to control an
angular motion of between 0 and 180 degrees. A normal servo is mechanically not
capable of turning any farther due to a mechanical stop built on to the main output
gear.
The amount of power applied to the motor is proportional to the distance it needs to
travel. So, if the shaft needs to turn a large distance, the motor will run at full speed. If
it needs to turn only a small amount, the motor will run at a slower speed. This is
The control wire is used to communicate the angle. The angle is determined by the
duration of a pulse that is applied to the control wire. This is called Pulse Coded
Modulation. The servo expects to see a pulse every 20 milliseconds (0.02 seconds).
The length of the pulse will determine how far the motor turns. A 1.5 millisecond
pulse, for example, will make the motor turn to the 90 degree position (often called
the neutral position). If the pulse is shorter than 1.5 millisecond, then the motor will
turn the shaft to closer to 0 degrees. If the pulse is longer than 1.5ms, the shaft turns
From the figure above, the duration of the pulse dictates the angle of the output shaft
(shown as the blue circle with the arrow). Note that the times here are illustrative and
the actual timings depend on the motor manufacturer. The principle, however, is the
same.
Arduino is a software company, project, and user community that designs and
microcontroller-based kits for building digital devices and interactive objects that can
using various microcontrollers. These systems provide sets of digital and Analog I/O
pins that can interface to various expansion boards (termed shields) and other circuits.
The boards feature serial communication interfaces, including Universal Serial Bus
(USB) on some models, for loading programs from personal computers. For
novices and professionals to create devices that interact with their environment using
sensor and actuators. Common examples of such devices intended for beginner
it-yourself kits. The hardware design specifications are openly available, allowing the
Arduino is a tool for making computers that can sense and control more of the
physical world than your desktop computer. It's an open-source physical computing
microcontroller that's inspired thousands of people around the world to make the
coolest things they can imagine. Because, as he says, "You don't need anyone's
Uno R3 is a microcontroller board which has 14 digital input/output pins (of which 6
In fact, the Arduino language is merely a set of C/C++ functions that can be called
from your code. The microcontroller shield is using as L293d Motor Drive Shield is a
circuit board that uses a set of pins to connect directly to some of the pins on the
together. You can use shields to control motors, relays, LEDs, or anything else.
CHAPTER 3
UNIT
The Sensing and Controlling unit, is that part of this system which senses the object
or obstruction in front of the car, measures the distance and the approaching velocity
and then sends necessary signals to the servo motor and hence to the Automatic
Ultrasonic Transducer and a power source to keep the system running. The Arduino is
coded by a software called Arduino 1.6, a language promoted by the company of the
same name, which acts as a free source coding, just like Android.
input/output pins (of which 6 can be used as PWM outputs), 6 Analog inputs, a 16
MHz quartz crystal, a USB connection, a power jack, an ICSP header and a reset
to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get
started. You can tinker with your UNO without worrying too much about doing
something wrong, worst case scenario you can replace the chip for a few dollars and
"Uno" means one in Italian and was chosen to mark the release of Arduino Software
(IDE) 1.0. The Uno board and version 1.0 of Arduino Software (IDE) were the
reference versions of Arduino, now evolved to newer releases. The Uno board is the
first in a series of USB Arduino boards, and the reference model for the Arduino
platform.
The structure of Arduino is its disadvantage as well. During building a project you
have to make its size as small as possible. But with the big structures of Arduino
we have to stick with big sized PCB’s. If you are working on a small micro-controller
like ATmega8 you can easily make your PCB as small as possible.
Height 25 Millimetres
Weight 91 Grams
RAM Size 8 kb
Voltage 5 Volts
Digital Pins 14
The Arduino Uno can be powered via the USB connection or with an external power
connected by plugging a 2.1mm centre-positive plug into the board's power jack.
Leads from a battery can be inserted in the GND and VIN pin headers of the POWER
connector.
The board can operate on an external supply of 6 to 20 volts. If supplied with less
than 7V, however, the 5V pin may supply less than five volts and the board may be
unstable. If using more than 12V, the voltage regulator may overheat and damage the
board. The recommended range is 7 to 12 volts. The power pins are as follows:
∑ VIN: The input voltage to the Arduino board when it's using an external
power source (as opposed to 5 volts from the USB connection or other
regulated power source). You can supply voltage through this pin, or, if
supplying voltage via the power jack, access it through this pin.
∑ 5V: The regulated power supply used to power the microcontroller and other
components on the board. This can come either from VIN via an on-board
∑ 3V3: A 3.3 volt supply generated by the on-board regulator. Maximum current
draw is 50 mA.
Each of the 14 digital pins on the Uno can be used as an input or output. They
operate at 5 volts. Each pin can provide or receive a maximum of 40 mA and has an
data. These pins are connected to the corresponding pins of the ATmega8U2
interrupt on a low value, a rising or falling edge, or a change in value. See the
∑ PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analogWrite(
) function.
∑ LED: 13. There is a built-in LED connected to digital pin 13. When the pin is
HIGH value, the LED is on, when the pin is LOW, it's off.
signals or vice versa. Those that both transmit and receive may also be called
ultrasound transceivers; many ultrasound sensors besides being sensors are indeed
transceivers because they can both sense and transmit. These devices work on a
principle similar to that of transducers used in radar and sonar systems, which
evaluate attributes of a target by interpreting the echoes from radio or sound waves,
evaluate the echo which is received back by the sensor, measuring the time interval
between sending the signal and receiving the echo to determine the distance to an
object. Passive ultrasonic sensors are basically microphones that detect ultrasonic
noise that is present under certain conditions, convert it to an electrical signal, and
report it to a computer.
Ultrasonic probes and ultrasonic baths are used to apply sound energy to agitate
device that converts AC into ultrasound, as well as the reverse, sound into AC. In
transducers. Piezoelectric crystals change size and shape when a voltage is applied;
AC voltage makes them oscillate at the same frequency and produce ultrasonic sound.
backing plate.
The beam pattern of a transducer can be determined by the active transducer area and
shape, the ultrasound wavelength, and the sound velocity of the propagation medium.
The diagrams show the sound fields of an unfocused and a focusing ultrasonic
Since piezoelectric materials generate a voltage when force is applied to them, they
can also work as ultrasonic detectors. Some systems use separate transmitters and
receivers, while others combine both functions into a single piezoelectric transceiver.
striction. Materials with this property change size slightly when exposed to a
ultrasound waves. Changes in the electric field between the diaphragm and a closely
spaced backing plate convert sound signals to electric currents, which can be
amplified.
Ultrasonic sensors are widely used in cars as parking sensors to aid the driver in
reversing into parking spaces. They are being tested for a number of other automotive
navigation.
(a)
(b)
Figure 3.2 (a) and (b) Ultrasonic Transducer HC-SR04 (Front and Back view)
measurement function, the ranging accuracy can reach to 3mm. The modules includes
∑ The Module automatically sends eight 40 kHz and detect whether there
∑ IF the signal back, through high level , time of high output IO duration
∑ 5V Supply
∑ Trigger Pulse Input
∑ 0V Ground
Working Voltage DC 5V
Max Range 4m
Echo Output Signal Input TTL lever signal and the range in
proportion
Dimension 45 X 20 X 15mm
Timing Diagram
The Timing diagram is shown below. You only need to supply a short 10uS pulse to
the trigger input to start the ranging, and then the module will send out an 8 cycle
burst of ultrasound at 40 kHz and raise its echo. The Echo is a distance object that is
pulse width and the range in proportion .You can calculate the range through the time
interval between sending trigger signal and receiving echo signal. Formula:
Or
DC geared motors are essentially a DC shunt motor which has been specially
designed for low inertia, symmetrical rotation and smooth low-speed characteristics.
Geared motor is a motor with a closed feedback system in which the position of the
motor will be communicated back to the control circuit in the motors. Geared motors
potentiometer), a gear reducing part and a control unit. All of these components work
together to make the motor to accept control signals that represent the desired output
of the motor shaft and power the DC motor until its shaft is turned to the right
position. The shaft in geared motors doesn’t rotate as freely as those in regular DC
motors; it is only able to rotate around 200 degrees in both directions. The position-
sensing device in a geared motor determines the rotation of the shaft and thus the way
the motor needs to turn in order to arrive at the desired position. The sliding mode
commonly used to get good dynamic performance of controllable systems. Even then,
the chattering phenomena due to the finite speed of the switching devices can affect
the system behaviour significantly. Besides, the sliding control needs the knowledge
Length 80mm
Volts 12v
Speed 100rpm
output sensor, a feedback system. This is an automatic closed loop control system.
Here instead of controlling a device by applying the variable input signal, the device
input signal. When reference input signal or command signal is applied to the system,
it is compared with output reference signal of the system produced by output sensor,
device presents as long as there is a logical difference between reference input signal
and the output signal of the system. After the device achieves its desired output, there
will be no longer the logical difference between reference input signal and reference
output signal of the system. Then, the third signal produced by comparing theses
above said signals will not remain enough to operate the device further and to produce
a further output of the system until the next reference input signal or command signal
A servo motor is basically a DC motor (in some special cases it is AC motor) along
with some other special purpose components that make a DC motor a servo. In a
servo unit, you will find a small DC motor, a potentiometer, gear arrangement and an
intelligent circuitry. The intelligent circuitry along with the potentiometer makes the
servo to rotate according to our wishes. As we know, a small DC motor will rotate
with high speed but the torque generated by its rotation will not be enough to move
even a light load. This is where the gear system inside a servomechanism comes into
the picture. The gear mechanism will take high input speed of the motor (fast) and at
the output, we will get an output speed which is slower than original input speed but
degrees. A normal servomotor is used to control an angular motion between 0 and 180
degrees, and it is mechanically not capable of turning any farther due to a mechanical
stop built on to the main output gear. The angle through which the output shaft of the
of servomotor in 180 degrees, the brakes can be applied and released through given
brakes mechanism.
Weight 9 gram
The open-source Arduino Software (IDE) makes it easy to write code and upload it to
the board. It runs on Windows, Mac OS X, and Linux. The environment is written in
Java and based on Processing and other open-source software. This software can be
int dataPin = 8;
int latchPin =
= 4; int en = 7;
int left_d = 0;
int right_d = 0;
int front_d = 0;
void setup()
{
// setting up shield.
pinMode(dataPin, OUTPUT);
pinMode(latchPin, OUTPUT);
pinMode(clockPin, OUTPUT);
pinMode(en, OUTPUT);
digitalWrite(en, LOW);
void loop()
halt();
get_d();
{
delay(400);
forward();
delay(400);
forward();
else {
backward();
delay (500);
halt();
else{
forward();
HIGH);
}
void backward(void){ // function for backward movement.
digitalWrite(latchPin, LOW);
digitalWrite(latchPin, HIGH);
digitalWrite(latchPin, LOW);
digitalWrite(latchPin, HIGH);
delay(3000);
right_d = ultrasonic.Ranging(CM);
delay(500);
front_d = ultrasonic.Ranging(CM);
delay(500);
left_d = ultrasonic.Ranging(CM);
}
CHAPTER 4
RESULT
4.1 Result
As a result of this automatic braking system, the function of each part is working well
and the whole system is successfully accomplished. The safety distance is determined
then the vehicle system is braked when the obstacle is detected. The ranging accuracy
of ultrasonic sensor in this prototype is about 2cm to 1m and works effectively within
In this project, we have checked the working of our project, we connected it with a
batteries and whose braking system is controlled by a DC gear motor and servomotor.
This technique is eco-friendly and this work is an attempt to reduce accidents while in
critical driving conditions. We have tested the working of the system by placing
various objects ahead as obstacles. The system responded by reducing the speed of
the vehicle when the obstacle is placed at various distances from it. Also the system
System for Forward Collision Avoidance, intended to use in vehicles where the
drivers may not brake manually, but the speed of the vehicle can be reduced
automatically due to the sensing of the obstacles. It reduces the accident levels and
tends to save the lives of so many people. By doing this project practically we gained
the knowledge about working of automatic braking system and with this future study
and research, we hope to develop the system into an even more advanced speed
control system for automobile safety, while realizing that this certainly requires tons
of work and learning, like the programming and operation of microcontrollers and the
Automatic Braking System will maximize safety and also give such system a bigger
The future scope is to design and develop a control system based on an automotive
System with ultrasonic sensor would alert the driver when the distance between
vehicle and obstacle is in within the sensing range zone then the brakes are applied.
This is the new function in this prototype design that could be possibly used for all the
vehicles. By making it safer, this system will provide better guarantee for vehicle’s
safety and avoid losses. Therefore, the safety system of vehicles will be developed
It can be further used for large type of heavy vehicles like buses, trucks, cranes,
tractors, etc. We can surely get the information about the obstacle detection sense
zone according to vehicle condition. It is verily useful to public sector and users. It is
also avoids the accidents in large or metropolitan cities. So we feel it is a better idea
manuals that help us find what’s wrong with our vehicle and what needed to
fix it.
Diaz and Teresa de Pedro, an RFID based Intelligent Vehicle speed controller
10.3390/s100605872.
The Potential of In-Car Speed Assistance and Speed Limit Credibility. IET