【正文】
常州機(jī)電職業(yè)技術(shù)院 畢業(yè)設(shè)計(jì)(論文)作 者: 鄭真 學(xué)號(hào): 40831450 系 部: 電氣工程系 專 業(yè): 應(yīng)用電子技術(shù) 題 目: 基于單片機(jī)的汽車倒車測(cè)距儀的設(shè)計(jì) 指導(dǎo)者:劉平王建青評(píng)閱者: 2011 年 05 月2畢業(yè)設(shè)計(jì)(論文)中文摘要 本文利用超聲波傳輸中距離與時(shí)間的關(guān)系采用AT89C51單片機(jī)進(jìn)行控制及數(shù)據(jù)處理設(shè)計(jì)出了能精確測(cè)量點(diǎn)間距離的超聲波測(cè)距儀,利用所設(shè)計(jì)出的汽車倒車測(cè)距儀,能比較精確測(cè)量車后障礙物距離。在分析國(guó)內(nèi)外單片機(jī)汽車倒車測(cè)距儀相關(guān)技術(shù)的基礎(chǔ)上,結(jié)合最新研究成果,對(duì)基于超聲波測(cè)距的倒車測(cè)距系統(tǒng)的研制進(jìn)行了深入探討和研究。該系統(tǒng)分為測(cè)距模塊、系統(tǒng)控制模塊和顯示報(bào)警模塊,并分別對(duì)其進(jìn)行方案分析,構(gòu)建了單片機(jī)汽車倒車測(cè)距儀構(gòu)架和設(shè)計(jì)方案,在硬件電路中,詳細(xì)闡述了運(yùn)用單片機(jī)技術(shù)實(shí)現(xiàn)的可視倒車預(yù)警系統(tǒng)的測(cè)距實(shí)現(xiàn)原理,分析了以單片機(jī)為主控單元的系統(tǒng)硬件和軟件設(shè)計(jì),并對(duì)該系統(tǒng)進(jìn)行了試驗(yàn)和誤差分析,給出了本系統(tǒng)的穩(wěn)定性指標(biāo)。關(guān)鍵詞:AT89C51單片機(jī) 超聲波傳感器 LED收發(fā)電路Title: The design of car parking rangefinderAbstract:In this paper, using the relation of the ultrasonic transmission distance and time by C8051F MCU controlling and data processing design capacity points that can accurately measure the distance between the ultrasonic range finder, using the design of car parking ranger, can more accurately measure the distance between the obstacle and car parking on the analysis on the basis of rangefinders related technologies, bined with the latest research results, Based on Ultrasonic Ranging System reversing conducted indepth study and research. The system is divided into distance module, alarm system control module and display module, with respect to their program analysis, construction of the single chip architecture and design of car parking ranger program。 in the hardware circuit, described in detail the use of microputer technology to achieve Distance visual reversing warning system implementation principle, analysis based on single chip main control unit of the system hardware and software design, and tested the system and error analysis, Given the stability of the system indicators.Keywords : AT89C51 MCU Ultrasound LEDTransceiver Circuit畢業(yè)設(shè)計(jì)(論文)外文摘要目錄1緒論 …………………………………………………………………..........….….…..12 超聲波傳感器的介紹 ……………………………...................................................2 ………………………………………..............................2 超聲波傳感器的特點(diǎn) ……………………………………………………............3 ……………………………………………………………….……....... 3 …………………………………………………................43 單片機(jī)的介紹 ………………………………………………………......………. ..5 單片機(jī)的定義 ……………………………………………………………………..5 單片機(jī)的特點(diǎn) ……………………………………………………………………. 5 單片機(jī)的應(yīng)用 ……………………………………………………………………..5 AT89C51單片機(jī)的介紹 …………………………………………………………....64 汽車倒車測(cè)距儀的硬件設(shè)計(jì) ………………………………………….....................9 設(shè)計(jì)的思路 ……………………………………………………………………… 9 設(shè)計(jì)的重點(diǎn)與難點(diǎn) ……………………………………………………………… .9 ………………………………………………..... 95 超聲波汽車倒車測(cè)距儀軟件設(shè)計(jì) ……………………………………….................14 主程序編制及流程圖 ………………………………………………………….....16 中斷服務(wù)程序的流程圖及編制 ………………………………………………….16 顯示距離子程序和延時(shí)子程序 …………………………………………………. 17 …………………………………………………………………......18,寄存器及標(biāo)志位的內(nèi)容及用途 …………………………. .21結(jié)論 ……………………………………………………………………….................. 23致謝 ……………………………………………………………………………….... 25參考文獻(xiàn) ……………………………………………………………………………....26271 緒論汽車倒車測(cè)距儀能測(cè)量并顯示車輛后部障礙物離車輛的距離,同時(shí)用間歇嘟嘟聲報(bào)警,間歇時(shí)間隨障礙物距離縮短而縮短。駕駛員不但可以直接觀察被顯示的距 離,還可以用聽覺判斷車后障礙物距離的遠(yuǎn)近。特別適用于長(zhǎng)車身車輛倒車。儀器共有三部分組成:監(jiān)控器、接線盒與探測(cè)器。監(jiān)控器由單片計(jì)算機(jī)為核心的集成電路組成,發(fā)射,并接收頻率穩(wěn)定的40kHz超聲波,根據(jù)發(fā)射信號(hào)與回波信號(hào)之間的時(shí)間差計(jì)算障礙物與車輛后部的距離。監(jiān)控器安裝在駕駛室駕駛員便于觀察的位置,面板上有3位LED數(shù)碼管顯示器,清晰悅目,小數(shù)點(diǎn)固定在第一位數(shù)后, 顯示單位精確到厘米。接線盒包括電器盒主體,電器盒主體內(nèi)設(shè)有電器插座,所述電器插座與電器盒主體。由于本實(shí)用新型中電器插座與電器盒主體之間為拆分式結(jié)構(gòu)連接,根據(jù)車型需要,當(dāng)汽車的電氣電路或電氣連接變更時(shí),不用重新開發(fā)電器盒模具,只需拔掉電器插座,在其空位上安裝另一個(gè)不同結(jié)構(gòu)的電器插座,快速便捷。探測(cè)器是用來(lái)探測(cè)汽車后障礙物離車距離及時(shí)反饋給電路,保證倒車安全性。利用超聲測(cè)距技術(shù)與單片機(jī)設(shè)計(jì)制作出超聲波汽車倒車測(cè)距儀。該系統(tǒng)在常見的汽車倒車預(yù)警裝置的基礎(chǔ)上采用計(jì)算機(jī)控制技術(shù)和超聲波測(cè)距技術(shù),通過顯示障礙物與汽車的距離并根據(jù)其距離遠(yuǎn)近實(shí)時(shí)發(fā)出報(bào)警,解除了駕駛員泊車和起動(dòng)車輛時(shí)前后左右探視所引起的困擾,提高了駕駛安全性。目前國(guó)內(nèi)一般使用專用集成電路設(shè)計(jì)超聲