Project Report. A8
Project Report. A8
C Engines have been advanced a loi such that its speed is becoming a
doIs witlt ‹lx concepl of A utoMalic Braking System giving ltte solution.
Azduino DINO R3 board with PLC microcontroîłer, 0'C gear motor, žicrvomo or æ+d
reflected wsecs is giveff io ihe uI‹rseonic usee generclor unit in which čie
con»tanł tatıo and this signal is given ‹a n›icrocontroIler and through ' hiclt chc
working of DC gear molar and Sewomotor may takes piece, which rc¥uît in
application oŁ brakes.
Ttc prototype hes been beared depicting the technology and tested ax per
the sirnu]ątPd çoÆilions. In iutțm• the oclugl model may be d veIof›eó dc;›ending on
TABLE OF CONTENTS
CONTE1•iTS
1. Table of contours
i
It. List ‹›t”utblcs
ii
iii
V. List of abbmviations
Ci-fAPT ERS
t. Fnt¥odu¥tion
1.1 Backgmund
1.2Objcciivc
1.4M âMOOgy
1 .S. 1 Scn6O1"
I .S.2 Transducer 5
1.5.3 Ultrasonic Sensnr
9
1.6 Advantages uFAuiornatic Braking Sysiem
9
1I
12
12
16
2,6EVlofęn•imomsnßUbcOeœulommmic:wnaor l6
2.ß I Tcmpeicnfn• 17
17
2.6.3 Ahmsphetic ptessiiro 17
2.6.4 H‹nniói‹y t8
2.7, I Composition 18
2.7.2 8hapc 19
2.8. I Applications 20
4. Result
CONCLUB1OB
PUTUREIOPE 45
REFERENCES 46
LIET 0£ TABLES
3.2 31
TITLE
1.3 7
I.4 8
25
34
3.6 36
LISTO[PLATES
PLATE
IDE
CHAPTER —1
INTRODUCTION
1.I BACt¢CROUND
Driving is a common ac ivily for mos of the peogTc. Thv number oI believes
is increasing day by day. Now a day the I<chno1ogy has got cast shames
whict Ico¢ts increase in syccd. Tfie speed plays a viloT role To rnoininin time for longer
disanccs. Bui, ihis speed also belting a inajcr problem for caun's of road
accidents. The common bmking ig noi sufficient for avoidance of accidents when
driver ie not relive. Further intprovcmcn‹ hss la done in bmking system ›n ordet io
brake a vehicle when driver is Q brake i.e., it mpy nmds auiomaiic braking sy5lfim.
This outomufic braking system ullows the vehiclc lo bmkc without support of the
driver.
The main largct oF Ihe ultrasonic braking system is iliat, vehicles should
autooiaficslly brake when the sensors sens¢ the obstacle. This is a technology
cbsuiclc. unit Ie brd‹e the ver\iclc 8€COnIi*gIy. which is Jane by the braking ci ui‹.
ulttnsonic wave receiver. The ultrasonic wove emitter provided in from portion of
provided in front poriion ot Ihc vchielc, receiving the reflected ultrasonie wave
signal from the obstacle. The refiecied wave detection pulse) is memsueed io get ihr
disionce I<twccn vehicle and lhe obslaelc. The DC' gcac molcr s eonnc<led io lhe
wheels at v«hick and nowcr ifinut ie giveu to it Fn›m ArJuino hoard. Then f'IC
rnolor in lum au\omaiically crmlrols tke bmking oleh vehicle. Thus. tkis new system
is llusigned to solve the problem whczc drivers may not be able la brake rnonuaTTy
csoclly at ttc required time, but the vehicle con stop uulomntically by scnsiy the
9bsaiclcs t9 avpió gn accident.
lit order io reduce the emission leveIs, mare wofk is Ifoirtg on For the
modificaiion of cngine worfr funciions nnd ull. There nrc mvcrnl kinds of braking
the idgoÏogy moze deep and brief The ouïoznotic bràking estem wiil be rnore
ordcz to oxoid the uccidenl. To ócvcÏop e aFcïy vehietc braking serem using
ultrasonic sensor end la design s vehicle with less human attention to the driving.
when drive the vehicles in niahl time. Most1y the accident occuncd in the
ni8ht cirne üue lo long tiavel the driver my gel tized. No ilfe driver rmzy hit the
Ifont eide
vehiclc or rood sidc trccs. Dy sinó this piojccl ttc vehielc is stoppcd by auiomaiic
obs‹ccIe and to pmccss the oulpuf lïrml the ultrasonic sensm Ir drive If\e scrvomolnr
as an ariuaior.
Vehicles can automatically bnikc üue io obsiøc1cs when the sensor senses ihe
Trensmitter
(Ultiasonlcwave)
ObstacleDetected
UltraaonicReceiver
BraklngCircuit
VEHICLE BRAKE
• SENSOR
• TRANSDUCER
• ULTI\ASONIC SENSOR
• DC GEAR MOTOR
• SERVOMOTOR
I.5.1 SEi•iSOR
conversion ofl €WJgy from onc form io another form. Therc arc Two tmp0rTonT tcrms
• T \ Angle — Th s lcrm rcters tc ihc ”‹iH wsponsc' lintiialiuns ot u given
sensor. Sinco M ultre«onic wsvcs reflect off ihe target obj*ci, target angle
• Beam Spread — This icrm refers co The rnaximm angular spread of be ultrasonic
1.5.2 TRANSDUCER
etecteicol Energy inTJ ultraswHc cncrgy ar\d Vlc«-v B. In ihis salam pi8zuelfialric
Their working is bssed on the piezoelcclric elYcct. This clTcct reFen to the voltage
across suJxccs oF a solid th»\ exhibits piezoclcsiric cfTccl, Ihe solid undergoes
mechanical distortion.
Utltasonic ranging and d¢ieciing devices use hij;fi Frequency sound \vevcs
waves are sound waves thai ate above ihe singe of human ear. and thus have
tninsduccr for
'^'8ve generator for gcmting uTlzasonic mores bas«£ on th« insertion signal
from aid tinting instruction means (ininsFotnt electrical energy iniu som d
wave). After
loward a road surlâcc la fin‹l oul the cbsuicic. The range that cbsia«lc deicclcd
• Ultasen!c Receiver - If the ultrasonic wax'e delccls the obstacle. it wiI1 produce
ulltasonic transducer IhaI 'iTT trane€orm back the sound eye To eTectricqT energy.
collage amplifier wi‹h dilTcmntial inpuls and a singl¢ output. The amplifier's
difFmntiBl inpuLs consist of an invening inpul ord a non-inverting input. The op•orny
ompTifiea only the difference in the volte$e between the two inpuis cellcd the
’differential ingut
oulput signal back to the inverting inpui. This is known as negative Feedback. Due
to
The amplified signal is e rgcam pulse '^'hicft is given co the ADC. ADC (Analog
The pioccsscd i.e. the an›pIificd digital signal is sent to the brd‹ing circuit.
CTC Peripheral TnWace Contrgl[er {or) PrggmmrnabTe Interface ConDeller) - The
r«icroconcoIIcrs but ma4e by microchip Icchuology. PTCA are used in rtiis zys\cm due
Io rtieir iow eosl and cidc a ailabiliiy. The numbers of inslruchons la perform a
varieiy uF opcroiions vary trum 35 inslruniuns in low-end I?TCs in abou\ 74
The signal from the AUC is ptocesscd by Ihe PIC micnxontrol1er. ond
niolor. TI\c signal rcecivcd tïom if›r ADC con also bc Jisplay¢d on the LCD Jisplay
{which gives an audio•vieuoT ring on the windshield in the driver's field of view).
»nü I givcs ihc d sisnce &1wc<n lhc front où the vchiclc anJ tt\e obstacle. The
distanœ value of whtch outornptic booking should start is olreody siorgd in tire
automafically scnd.s Ihr signal te the ecrvo inotor which ifi tum bæ}‹iny
through mcchonicnl amirigcmmis.
elwtriciiy. gcar box and mag mie field io producc torquc, which lums ïhc rnotor. At
iis rnœt simple, DC gcnr ttiotor requires two niagnms oFopposite polarity anJ oM
elcelrie coil, which acte as nn electric magnei. The ecpclleni und ottmciivn
eleclromngnetic forces o£‹hc nr› w piovidc lie Icrquc and <a u thv DC ycar
preszmt just allez the DC moior and a rotary ahoff ie connected io iL with îho help afi
this DC gcsr moior tup ihc vchielc wh‹<ls can bc rotetcd in this proj<<t.
Th'e ouipui of the PlC is ihc input of the aervo moior. The servo moior
atlows For précise control of an$ulnr posilicn, vclociiy and accelcrafion. li consisis ofo
iriechnnism thai unes position Ic<Jback io control iis motion end fina1 position.
rriea.sured pcs ition oL it's outpui ehnfl is conipnmd to Inc command pesiiioo
lthc external input Io The ntoTor). TF the output position differs £¥oTr) lhal required, an
error signal is generated which then causes the motor to mate in ciihcr diwcfion as
needed,
to bring tfic output shn it io the appropriate position. As the required position
approaches, the error signnl lettuces ‹a zero and the inolor stops.
and I80 dcgr«vs, and it is mcchonially not cut›abIc of turning any Farlhm due la
v mechanical eton built on to Ihc main outfall gear. The angle through which the
oucflui shaft of lh servo motor need tu tzavcT is determined according to Ihc rustura
of the
is done by using n pair of crossed hclicnl gems and o grooved cylindrical component.
The larger qcs is mounted on idle ouiput shoI\ of” lhc servo motor and the smaller
is moun‹od or the n›cster cYlindx Piston rod. Thus, when iIt« output shaR of
the
dimciion, the smaller gesr aud hence ihc master cylinder niston rod rotates in
Due o lhc yroove on the cyT indncaJ corrtponent transJ aTory
niolion is also pnxluccd. This is dv to a pin, one end oF which is inscncd in the
groove and Ihc other end i8 fixed rigidly Io a support. Thua, a combine ion of
cylinder nieton ‹thus resulting in braking of chc vehicle. The Vision mtums to the
original pusiMon when Thv servo motor output shaft roustcs in clockwise direction.
Thus, ltte speed uf the vehicle rcducm for clockwise rololicin of the smaller
gear (i.c. aitticlockwisc ro‹at1on nf larger gain and hence tile servr mnlor
ou‹FuI shait}.Thux, die servo moior is used to conirol the brakes, when the PU
gives the sillrul io ihe sen'o motor. based npon the distance m‹nsurcd by moans
radia\iuo.
REVIEW OF LITERATURE
țn Ihę brgadeñ t definitiofi, a or is on ebjcct \vftosc pțtrȚ lgțe i6 to dolcci
but rygicaî ly use cloc@coł or optical signals. For czømpîc, a É hcrmoeoupîc gezlcrołcs e
expansion and contraction of a liquid, wt ict cnn be read on a calibnit‹xl glues tube.
(tart Ic sensor) and lamps which dir« or bdghtcn by touching ‹he bese,
pressure or flow measurement. fur example inîo MARG Magnełic+ Angular data
orid €iroviŞ) sensors. MorooTr, Analog SOnsoĂ suI*h aS poicntlomcT8rs onó forcc-
scnsing mit6Jors are still widely used Applications include manufacturing and
d<1cct the presence of” an ubjcct and its ren$c. Th: systems either measure the echo
Section oF the sounJ Frorrt objecLs or detec lhc in •rzupłion of the .sounó beam as
output in rcspcmse to received uîtras¢mic cnctgy. The normal lqucncy range for
human Itcań n8 is touyhIy 20 to 20,000 hcnz. Ulcasonic sound '^'8vw ate sound
naves ihat are abovc the range ul” huntan hcaring und thus, have o Froqmcy ubove
abeut 20.060 t*rtz. Amy fmquoncy abovo 20,060 tertr muy he considerod ultr°soriic.
Masa industrial proce ses, incTuding aTmost aT) source of Ñction+ crcou• sontc
propBgaleJ throu8h a s¢nsing inediuin and h\c sanie Irensduccr con be usM to delccl
thai conv<ms an cx«italion elcclrical siynal inlo ullnisonic cn‹rgy butsis. The
cnergy burstg tmvel ftom the uTtrogonic sensor. bgurtc¢ of objeçLv efid pm mnimÓ
total Ihc sensor as cchu¢s. Transdi›rm are dcriccs lhai conocrt «lcclncal
cncrgy lo
sltain gaugcs that produce an e1ec@cal outp'ut liam a rr+echanieaT input. They m
o1so used in eaz¿ihones and
Ulitasun ie signals arc like audible sound waves, cxccpi the frequencies arc
much higher. Our ultrasonic transducers tavo piece metric crysisis which moasic to
a desired frequency and conmen electric energy into acoustic enngy and vioe vena.
Tire illustraiion shows how sound waves, tronsmitioti in the sha¡x• of a arc
perfomi somc kind Of indlc8Hng or eonttDl function. A MinimuM dlSlBncc ffom tltc
Scn$of Is quired to provi& a time delay so ihat the ”echoes" car be inierpmied.
Variables which cnn atTccl the operation of ultrasonic sensing include, turgci
U[u•asonic eensor Izonsroite ultrasonic waves fiorn ils sensar head and
ogzin Dkiew<d lhc ultrasonic wovcs TflccTeJ front an objccl. &asicttIly, in our
lenyth of lime Alam the transmission To reception uFihc anic woyc+ it dcTcets the
oproting
disliinccs.
• Re5ixtance to eMemal disturbances .such as vibmi ion. infmred
• tnterfcmnce belween the projected waves and the reftwted waves takes ylace,
• II is in\possible la discern between rcfl‹x›‹<d wsvcs from ldc ‹oaJ stirfa and
Thia Team re€era to the "tiTt Feyponee™ Tirniaztions of p given senaor. Sinm
ultrasonic soand wovcs mficci off inc iarg<u objcci, tar¢ci anb1es indicate
passed ihrough the angel nrea. This is the maximum spreading oFthe ultrasonic
sound aîso incrcascs. Thcrcforc ida finch targcc produces art echo amer a certain time
d:ivy, aiul it” the temperature drogs. the fncasurcü lime for the c¢lio to rz'turn
incre even though the inrget hns not moved. This happens because the speed of
sounü üccwases, tetunting an ocho more slowly Ihan at the precious, warnier
nieny banJs oF varying temperature. IF thèse bsnds pass between the seusor nnd the
¢azgel. they wiki abrupTîy change ike speod où sound while present. No t§/gc où
ln xome applications it muy bc desirablc io install shicldinp aimind the sound bcam to
fgdUCû 0£ OliOTiüBtC vnriatio0S duc to convection currcnts. Avcraging it\e rclum times
frnm o number of echoes will olso help to ieduce die rnndom effect of convection.
nozzle, such as air jeLs used Foț clcpfiing machines. generates a 'Visiting
directed at the sensor or nol, ultrasonic noise a‹ or around the sensor's Fmqucncy rr
ąy effect system operation. Typically, the levei of bnrkground noise is loxrer nt higher
Frequencies. out nanowcr bras engles work best Ï0 BIOS Wllh a high ultrasonic
For de chng a îargc4, Éhc uîtrøsonic sensor uzkes into consideration the
2,7.1 Conipesltteu
Nearly all lergels reflect ultrasonic sound anJ therefore produce in echo ihst
of frequency. Lewer frogueucies can have wduccd mfleccions hmm sonte ț›orous
targets, while higher frequencies reflect well finin mosi target materials. Precise
pcrfoimincc
echo returns to he ansor. Targets that arc smooth, Wet, and pzrgcndicu1ar to The
sensor‘s bmin produce sfronycr echoes IhBn inedularly shat›cñ tsrgels. A larger
target relative to saund wavelength will produce a sirongcr echo than n smaller iergct
shape sueh as a sphere, eylinJcr, or internal cube comer can solve alignment problems
toward the targ¢t. Ifl a smooth, flat lorgct is inclined ofT pe WicuTar, some of the echo
is dcficcléd away from tfic scar and the slrcngih of the echo is reduced. Targcis
ibat
nre smnller than the spot diameter of ihe imnsdiicer beam can usunlly be inclined
more ihan lower iaq;so. Sensors with lart;cr beam angles will t;cncrally
produce stronger echoes iron› flat \argeIs that are not PeIT<ndicuIar Ie Ihe Isis of
the soiuid T'nm. Sound waves smiling a target dirt a comic, irrngulnr surface will
diffum Grid reflect in many directions. Some of Ihe reflected energy mBy rclum ro
Ihr sensor as a weak but measurable erho. As olways, target suitnbiliiy musi be
mr minute and is icrmcd <s PI'M. The gear asscnthly helps in incrcxsiny the torque
onJ›rWttng hcspmJ. Usnylceo icombinn‹i»nuFgnn ink qeamwor, its
speed can bg duced In any dcsimble fiyurc. 1”hj5 concept a'hcre geara reduce the
motor torque. Therefore user can get Tower speed and high et Iorqu¢ Omny gear Tnour.
2.g. I Applications
2) Office Auioniaiion
3) both and Security: cl xtmnic IecI‹. dunr I‹›ck. sat*. donr locker. Ia‹ch closer
8) Bank Automation. ATM, Coin bonnier. Coin Srlcctor, loin Vnlidntor, Ban k noic
counter
9) A uinnintive
The servo molcr has fioznę contrgT CirçUiLS ąr+d g gç+tentiüinctcr (a variable
rcstslor) that is cønnołcd to łhe outpul shalt. ïn the picture above, the pot can be
seen on fh¢ right side of tie circuit boerd. Thie Not Bllows \kc control circuitry to
rnrnilrr
the current nnglc of the servo møıor. tf tLe shnfi is ni the correct angle, ihcn the motor
shuis offi Tf ‹he circuit finJs that the angle is not corrcci, i‹ will ium the motor io
ik eozzoct prototype dizection until îhe ongîo is correct. The output shaR of úu• echo
the 210 6zgree range. but it varies by n›anuF«cnimr, A nocirol s‹rrvo is uzod io
control ari sngulßr motion of bEtlvcen 0 ond 180 dccc. A nomiol scrvo is
mcetBnically Vol Cppab1ț of turning gfiy £ant›cr due to a nwcîlgniçeî siop built on
it needs io travel. So, if the shah needs to turn a lnrgc disinnce. the motor will run
at full speed. lf it need to rum only a well amoani, im motor will run ct a
by the duration of e pulse that is applied to ike control '•'iæ. this is coI1ed l'ulsc
Coded M odulaiion. The servo expects to seø a pulse every 20 miiliscconds (0.02
seconds). The lcugth oF the pulse will dclennine how far iho motor iums. A I.5
millisecond pub', for example. viii make łîie motor lum to the 90 degree position
(oftcri cßI1c6 the ncutml position). IFihc pulo: is shorter ihan I.'j m Iliscvonrl, ihco the
rnolor will sum Ake shaR to cheer io 0 dcgmes. IWhite pulæ ig lenger čian I.3r«s, the
Figure 2d Serie Nlotor movemeni tlming
From rtc figurc nbove, ihc duration of the palse dicintcs rtc anglc of tiic
output shaft shown as the blue circlc wiih the arrow). Note iltat ii tifncs hen arc
illuzteaiive and ige actual timings depcod on the mnior ojaftufaciueer. Ihe prinriple,
rnicroconizoller-based kits Vor building üigiusl devices and interacTive objecLs that
ycnüurs, using verious rniczoconßo1Tcrs. These systems provide scIs ob digitizT and
Analog lO pins thai can inmteco to vsrious Expansion boards licnre6 sfiieldsl ard
olhez circuiTe. The baazds Feature seriaT oommunication inwrFaces, ir+cTuding
Universal Sccinl ßus (USU) un samt modc1s, Vor lcoJinb prugrams Ftoni
I»ngu» namcd
The firsi kduino was inlroducc8 in 2005, aiming lo provide n low cosi,
ezsy way for novices tnd grofc*sionaIs to cm*Ic devices ‹hat inferscc wi‹ft ‹lair
intended for hedinner hobbyists incluJc simple robots, tlicrmoslals, end mo‹ion
dmociors.
Arduino is a ioo1 for leaking eornputers lhoi can sense and conti”nI more of
the physical world than your d k\oP cornf›uicr. It‘s an onen-seurce gkysical
the coolest things ihey cnn imagine. Because, as he says. "You don't need
nnyone's
Arduino Uno R3 is a inicroconlroller bosnJ which has T4 digital inpuu'ouiput pins (at”
which 6 can be used as PWM outpuis arid 6 can be used as anaiog inputs).
In faci, ihc Antuino Ian$ua$c is merely a sei ofC/C++ functions that can
be call cd from your code. The micrnconieoller shield is using as L293d Moior Orive
5hic1d is a c rcuH boant the uses a set of pins to ccuncci J i”cclly io rome of the
UNIT
Tim Scnsing snd ConIro1Iing uniL is ihat pcrt ot ihis system which scnses thc
veloci ly snd ihcn scnds ncccssary ło łhc serio znoior and hencc to thc Au\
Scrvo moior, ŁJltrnsonic Tmnsduncr and a powcr sourcc to kocp lhc systemu iunning.
thc company of ihe snme nnme. which acts :is n fme source coding. just like Andeoid.
3. !J Ardw|soUcoRJ
I4 digiutl inPur*ou‹Ixii pins (od •'hich /i cąn be use4 as I'WM oulpurs), 6 Anelog
lnpuis. a Ió MHz quaztz crystal, a USB conneclion, a powcz jeck, on ICSP hcader
and o bution. fi conteins evcryihinj; n<xdcd iu sunport thc fnicroconltóllcr: sin ply
baifeiy to get sivicd. You can tinlcr wilh your UNO wiihoui wo tng ioo ntuch
aboul doing something wrong, wonf case scenario you can wglace \ke chip For c
"Uno" nieBns one in fuilian nnd nas vhoscn to msrk Ihe releasc oF
Arduino Soffware t IDE) 1.0. The Uno board nnd version I .0 od Arduino Softwore
(IDE) were the rcfercnce vcnions oF Arduino. now evoIvc‹l io ncwcr rcleascs. The
Uno board is the fint in a • ri s od USB A&uino boanlt and the referencc model
you hnve to makc its sizc ne srnoll as possiblc. Bul wilh lhc big struciuits of Arduino
tike ATmega8 you can eosily meke your PCB g6 8mât[ as possible.
Arduino
Dimensions
8 kb
Voltage
external power supgly. The power source is selected auIomatica\Iy. Ez\emd (nou-
US8) power
can eomc cithvr Fn›m on AC to-DC odupler (wall-wort) or bouoty. The aa«pier can
be conneci*d by plugging a 2.1 mrs ‹;critm-pesiiivc plug into tlu beard's pewy
jack. Lcadx ftnm a baitcry csn be insencd in ltte GND and V lN pin tenders of ihc
POWER
less than 7V, Iiowex'cr, ‹he 5'V pin may sunpIy less ihan live vollv and he bond
may be une tbTe. TF using more Than T2V, the voltage ’’Bulan’ ’nay o’'’’a’ ord
• VIII: The input yolTegc to lhc Arduino board when it's using an eztcme) power
soums las opposed ie 5 volis fri›ri ttc USB connection w Attr mgulotcd
• SV: The regulated purer supply used to pnwcr ihc micixicontrollcr and
other components on the board. This cen come cithm tram VII•/ vin on
• 3Y3: A 3.3 soft supply gcnvraicd by lhv on-buard rcgululor. Maximum cunmi
Each oFLhe 14 digital nine on ‹he Uno can be used a-s an inf›ut or ourgut.
They opcraic ai 'i voIis. Each pin cen provide or acne e ntasimurn of 40 mA and hns
serial dour. These pint are connecu•d Io the cozzesponding pies oF the
• PWM: 3, 5, 6, 9, 10, rind 1.1. Provide 8•bit PWM outpul with tte analogWriic(
• LED: \3. There is a built-in LED connected to Jigilal pin 13. WTten ii\c pin is
Hl€iH value, the LED is on, when ihe pin is LOW. it's off.
arc indeed o-ansceivers because Whm/ can both eenae and Wsmit. These devices
work on a principle sim Iar to thai at tfansdutcrs used iii radar aM sonar
systems, which
and evaluate the echo which is received back by the scnaor. measuring ‹he time
inicrval &1wvcn sending the signal and re giving tIiv echo iu determine the di»\
ultrasonic
is pn'•scm under ceruHn con8ilions, convert i‹ iu an electrical si$nnI, end
mPon ii to s cnn›Fu‹cr.
Ulirzsnnic ptobcs and ultixsonic baths ate used to apply snund energy to
is a device hat comoNs AC into ultrasound, as men cs The reverse, sound in o AC. Tn
AC vo1iagc makes if›«m oscillate ai lhe same Frcqmcy and produee ulltasonic sound.
o backing plaic.
area end shape, Lhc ultrasound wavelength, and the sound velocity of The
propagation medium. The diaJ«ains show the souiul fi¢lds oF en unfocusccl and
them, they ccn Else v9rk as ultrasonic de\ec‹ors. Some systems use seFarcI<
transmiiters rind receivers, while oihcrs combine bufh fimctions inin a single
ningn1o-sIrie\ion. Materials wilG ihis picperty ehungc site slightly when exposed io a
mognmicñld,ondmokrpmmicol nansârceri
to ultasound waves. Changes in Ike clcccric field t›cnvcen fh« dianhmgn› and a
closely xpacod bucking plntc convert sound signals to electric cuixcnis, which
c'nn be
Ul\rasontc sensors arc widely usod in ears as parking sensors tu aid the driver
in reversing into pasting sgeccs. They are being lasted for a num&r of ocher
UAV neVigBtiO0.
Mgwclt(azndlb}UlrszoWcTzniu‹erHCdR04(F¥omandB&ckHe*)
Ulin ontc ranging rnoduic HC - SR04 providcs 2cm - 400cnt non-conlacl
incesurcn›cn‹ funciion, ihc ranging accuracy can reach \o 3n›n›. The modules includes
ultrasonic trnnsmiiters, eeceiver and control ci ;uif.
• The Modulc automaiically sem. cight40 kHz and deicct whcthcr therc
• 0V Ground
Waltzing Voltegv
4OHr
#m
MinRsngc 2cn
Meazurin¡¡ Angle IS degm•
Uimene ton
The Ti rrtiny died iB She bcID'a'. You only not O supply a short I0uS
pu1se to the ifiggcr inpul io siort the mngtng, and then the module wiI1 smd out sn
II cycle bezsT of uTtraaound at 40 kHz and raige iLs echo. The Echo ie a distance objoct
thnl is pulse widih and ifr: ranyc in proportion .Ycu van +aIcuIaic the ninge
lhruugh the time interval b*mmn sending iriggcr sit,nal and reviving echo signal.
Fomiula:
Or
The rengc = high level time " vc1ocity(340M/S)/ 2
It is always s”ug$cslcd la use over 60ms mc«sur<mcni cycle, in order io pre vcnl ci r
Signal
internal
Geared moior is a major with a closod Fccdback syst¢n› io 'hick Ihe position of tir
moror will bc communicaicd back io ihc conirol circuit in die motors. G cnrcd moiors
(a
potcntiornecez)a. gecr reducing pan and a conTroT unit. ATT of Thr•se components work
tog<1her to ntakc ihe molor to ucccpl conirol siymals thal tcprcscnl the dcsirc‹l
uulput 9f' i-rte mucor shaft and f›mver the D€' major uncil its shaft is tumod to rhe
sensing device in a geared motor dcTcrminos the rotation of be shaft and Thus The way
the n\oior nccds lo lum in order lo arrive au the desirc‹l position. The sliding
cornrnonly need io Oct good dynsrnic performance of conimlloblc sysicms. Even ihni,
the chattering Fkenornena due to the finite speed of the switching devices can
alTect the system behovioar significunily. Bcsidcs, the sliding conitnl nccds lho
aitrnciive
Flg US DC ge4r motor
leep coatrel sysicm. Here instead of controlling a device by applying the variable
output signal and mfcrcncc input signsl. When reference input signal or commend
signal is applied to the system, it is conq›arcd wiih oulput reference signal of the
signsl to the devica presrnle ae 19ng a-s ‹kcm i.s o logicol dilTcrrnw bctween
mfemncc inFut signal and the ouTput signeJ of iffe systczn. A?tcr the dcyic¢ achicvcs
yIs desircd output, thcm will bc nn lon8er čie logical dilTcrence bcfween
fvFercncc input signal aixl rcference ouTyu signal ofl dc aysTcrn. Thcn+ dc tfiird
signal pro£uced b'y comporing theses above seid signuls will not rcninin cucuj;lt tc
oIx'raIc the devicc Funhcr and lo produce a furtfier outguT o£ BysIem until ncxl
along with some other spccial purposc oomponcnis ihal male n D.C moinr a servo. 1n
n s¢rvo uni‹. you will find a sfnall DC fnolor, a t›oteuIiomeIer, $car nrrangcn\<nI and
makes Ihc servo l+ rotate according £o our wishes. As know, a small @C ntoTur
will rotate
»'ith high sled bum the lorque 8eneratcd by iu rolation will nor be enough te ntovc
evcn a lighl lond. This is whcrc ihc gcar sysicm inside o scrvomcchnriiam comcs into
the pictufv. Tla gcar incchanism will take hij;Jt input speed of the motor (jsstJ nnd
at the ouiput, wc will get an ouipui specd which ix slower ihan originnl inpui specd bui
any farther duc to a mcchuiceT slop built on ‹o the main oulpuT gcar. The angTc
through which the output shaw oFthe scrvoinolor necd io trsvc1 is dcterniined
accordin8 to ihe naturc
oFlhc siynol given la the molor »s input From its I'JC nticro«onIroIIcr. Dt< la
roiulicn of scrvor»otor in 1R0 deymes, the hrcLcs can he af›gIiod arid mlcascd
9gmm
(3.T72;V
The oyen-seiucc Arduino Soflwom SIDE) n›ekcs it cczy \o •wite code and
in‹ left d - 0;
inc right d = 0,
void sctupt)
// sorting up shield.
pinModala‹chf'in, OUTPUTS:
pinMndc(clockPin, OUTPUT);
Play(35O):
void loorfj
get d().
deIay{400),
delay (500),
hslt():
else l
digiinlWriin(latchPin, LOWS:
4isiéWriu(ufl£in.IGN)
void bsckwauI(void){ // fiuictiori for backc'd movement.
iligiiulWnic(lalchi•ia LDW}.
digiialWriietIaictPiri, HIGHj;
4igiIatWriIe(leichFiw LOW).
shiROut(dataPin, clockPin, LSBFIRST, 32),
diginiWtiielloehPir. tllGllj:
delay(30IAI):
righl d = ulcasonic.£tanaing/CM):
servo T.write{0}; H Fi-oez Positon
delay(300):
font d - ul\za8onic.Ronging{CM):
Play(500):
RESULT
4.1 Result
is dotonircd then tte vehicle sysi*ni is brsted whtn iht obstacle is ‹meeted. Tito
ranging accuracy of u Taasonic sensor in his protons is oboes 2crrt to Tm end works
''ich a bafteriw and '^'hosc basking eysicm ia controlled by a DC gear moior and
accidents while in cticicol driving conJilions. We h4ve tcsicd the work ifig of the
reducing the spoed of th¢ vehic1c when Ihe obstacle is placed al various
dislunces from ii. Also the system stoppod automniicaliy in restricted mms. It gave
ßraking Syrtem for Frnvard Collision Avoidance, intendcd io use in vchicles where
The drivers may no brakc rnonually, üut Ac spad ob ilfc vchiclc m bc reduced
automaticolly Jue la Ihe scnsing of Ihe obstacles. fi rcdum the ucci6mi levels anJ
Wende to same je iivcs ob aa may people. By doing TT\iB Project practicaTTy we gained
the knowloJgc abnut working oFauiumnlic biaking sysicnt end with this fulurc study
und rrxarck, we hope o devcloP je $ystm into a evm mom advanoed spez
confro) systüfn Vor auTornoblle safl8£y, while Tahzing then Ihis ¢c¢tainly rcguircs t
'nS oFwozk and Messing tige The progzamn\ing and oFcrstion of micro¢ontroTters
and the automobiTc sWcture. Hencc we believe Ihat Ehe iricorporation ob oTT
components in Automatic Brakin$ Sysxw will maxirnize saFety uixl ulso give such
Braking Sysicm with uTuasonic sensor would alert driycr when the dismnce
between vehicle und obstac1u is in wilhin the sensing range zone then Ihc brakes
arc amlied. This is the new ination in his proToty$te desigfi rhal could be possibly
urod for all the vehicles. By mating it safer, iliis system will provide liter
syscm of vehicles wiT\ & developed end may hnvc more marJccl dcnuinds.
IT can be krther used for Merge tpo of hcaw/ vehicles like , trucks,
cranes, irectors. cic. We can sumly get il\c inFormelioti abuut if\c obsioclc dc\ec‹ion
sense zone a’’o’di"B to vehicle condition. Tt i¥ verify uzo£al to public sector and