資源描述:
《基于單片機(jī)控制的汽車倒車?yán)走_(dá)實(shí)時(shí)超聲波測距系統(tǒng)設(shè)計(jì)》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。
1、蘭州工業(yè)高等??茖W(xué)校畢業(yè)設(shè)計(jì)(論文)題目:基于單片機(jī)控制的汽車倒車?yán)走_(dá)實(shí)時(shí)超聲波測距系統(tǒng)設(shè)計(jì)系別:電子信息工程系專業(yè):應(yīng)用電子技術(shù)班級(jí):應(yīng)電09班姓名:楊龍學(xué)號(hào):200910102125指導(dǎo)教師(職稱):吳紀(jì)群(教授)日期:2012年2月20日摘要隨著社會(huì)經(jīng)濟(jì)的發(fā)展交通運(yùn)輸業(yè)日益興旺,汽車的數(shù)量大幅攀升。交通擁擠狀況也日益嚴(yán)重,撞車事件屢屢發(fā)生,造成了不可避免的人生傷亡和經(jīng)濟(jì)損失,針對(duì)這種情況,設(shè)計(jì)一種響應(yīng)快,可靠性高且較為經(jīng)濟(jì)的汽車防撞預(yù)警系統(tǒng)勢在必行,超聲波測距法是最常見的一種距離測距方法,本文介紹的就是利用超聲波測
2、距法設(shè)計(jì)的一種倒車防撞報(bào)警系統(tǒng)??刂葡到y(tǒng)核心部分就是超聲波測距儀的研制。因此,設(shè)計(jì)好的超聲波測距儀就顯得非常重要了。本設(shè)計(jì)采用以AT89C51單片機(jī)為核心的低成本、高精度、微型化數(shù)字顯示超聲波測距儀的硬件電路和軟件設(shè)計(jì)方法。整個(gè)電路采用模塊化設(shè)計(jì),由主程序、預(yù)置子程序、發(fā)射子程序、接收子程序、顯示子程序等模塊組成。各探頭的信號(hào)經(jīng)單片機(jī)綜合分析處理,實(shí)現(xiàn)超聲波測距儀的各種功能。在此基礎(chǔ)上設(shè)計(jì)了系統(tǒng)的總體方案,最后通過硬件和軟件實(shí)現(xiàn)了各個(gè)功能模塊。相關(guān)部分附有硬件電路圖、程序流程圖。設(shè)計(jì)通過多種發(fā)射接收電路設(shè)計(jì)方案比較,得出
3、了最佳設(shè)計(jì)方案,并對(duì)系統(tǒng)各個(gè)單元的原理進(jìn)行了介紹。對(duì)組成系統(tǒng)電路的芯片進(jìn)行了介紹,并闡述了它們的工作原理。論文介紹了系統(tǒng)系統(tǒng)的軟件結(jié)構(gòu),通過編程來實(shí)現(xiàn)系統(tǒng)功能。最后,通過對(duì)系統(tǒng)的誤差分析,給出了較完善的方案。關(guān)鍵詞:AT89C51;超聲波;測距AbstractWiththedevelopmentofscienceandtechnology,theimprovementofpeople'sstandardofliving,speedingupthedevelopmentandconstructionofthecity.ur
4、bandrainagesystemhavegreatlydevelopedtheirsituationisconstantlyimproving.However,duetohistoricalreasonsmanyunpredictablefactorsinthesynthesisofhertime,thecitydrainagesystem.Inparticulardrainagesystemoftenlagsbehindurbanconstruction.Therefore,thereareoftengoodbuil
5、dingexcavationhasbeenbuildingfacilitiestoupgradethedrainagesystemphenomenon.Itbroughttothecitysewage,anditiscleartothecitysewageanddrainageculvertinthesewagetreatmentsystem.comfortisveryimportanttopeople'slives.Mobilerobotsdesignedtoclearthedrainageculvertandthea
6、utomaticcontrolsystemFreesewageculvertclearguaranteerobot,therobotisdesignedtocleartheculvertsewagetothecore.ControlSystemisthecorecomponentofthedevelopmentofultrasonicrangefinder.Therefore,itisveryimportanttodesignagoodultrasonicrangefinder.Atthecoreofthedesignu
7、singAT89C51low-cost,highaccuracy,Microfiguresshowthattheultrasonicrangefinderhardwareandsoftwaredesignmethods.Modulardesignofthewholecircuitfromthemainprogram,presubroutinefiredsubroutinereceivesubroutine.displaysubroutinemodulesform.SCMcomprehensiveanalysisofthe
8、probesignalprocessing,andtheultrasonicrangefinderfunction.Onthebasisoftheoverallsystemdesign,hardwareandsoftwarebytheendofeachmodule.Theresearchhasledtothedisc