【正文】
哈 爾 濱 理 工 大 學 畢 業(yè) 設 計 題 目: 基于單片機的 汽車倒車雷達 超聲波測距系統(tǒng) 的設計 院、 系: 姓 名: 指導教師 : 系 主 任: 2020 年 月 日 哈爾濱理工大學??飘厴I(yè) 論文 1 基于單片機的 汽車倒車雷達 超聲波測距系統(tǒng) 的設計 摘要 隨著社會經(jīng)濟的發(fā)展交通運輸業(yè)日益興旺,汽車的數(shù)量大幅攀升。交通擁擠狀況也日益嚴重,撞車事件屢屢發(fā)生,造成了不可避免的人生傷亡和經(jīng)濟損失,針對這種情況,設計一種響應快,可靠性高且較為經(jīng)濟的汽車防撞預警系統(tǒng)勢在必行,超聲波測距法是最常見的一種距離測距方法,本文介紹的就是利用超聲波測距法設計的一種倒車防撞報警系統(tǒng)。 控制系統(tǒng)核心部分就是超聲波測距 系統(tǒng) 的研制。 因此,設計好的 超聲波測距 系統(tǒng)就顯得非常重要了。 以 AT89C51 單片機為核心的低成本、高精度、微型化 數(shù)字顯示超聲波測距儀的硬件電路和軟件設計方法。 整個電路采用模塊化設計,由主程序、預置子程序、發(fā)射子程序、接收子程序、顯示子程序等模塊組成。 各探頭的信號經(jīng)單片機綜合分析處理,實現(xiàn) 超聲波測距儀 的各種功能。在此基礎上設計了系統(tǒng)的總體方案,最后通過硬件和軟件實現(xiàn)了各個功能模塊。相關部分附有硬件電路圖、程序流程圖。 設計通過多種發(fā)射接收電路設計方案比較,得出了最佳設計方案,并對系統(tǒng)各個單元的原理進行了介紹。對組成系統(tǒng)電路的芯片進行了介紹,并闡述了它們的工作原理。論文介紹了系統(tǒng)系統(tǒng)的軟件結構,通過編程來實現(xiàn)系統(tǒng) 功能。最后,通過對系統(tǒng)的誤差分析,給出了較完善的方案。 關鍵詞 : AT89C51。 超聲波;測距 哈爾濱理工大學??飘厴I(yè) 論文 2 Design of car reversing radar ultrasonic ranging system Abstract With the development of science and technology, the improvement of people39。s standard of living, speeding up the development and construction of the city. urban drainage system have greatly developed their situation is constantly improving. However, due to historical reasons many unpredictable factors in the synthesis of her time, the city drainage system. In particular drainage system often lags behind urban construction. Therefore, there are often good building excavation has been building facilities to upgrade the drainage system phenomenon. It brought to the city sewage, and it is clear to the city sewage and drainage culvert in the sewage treatment system. fort is very important to people39。s lives. Mobile robots designed to clear the drainage culvert and the automatic control system Free sewage culvert clear guarantee robot, the robot is designed to clear the culvert sewage to the core. Control System is the core ponent of the development of ultrasonic range finder. Therefore, it is very important to design a good ultrasonic range finder. The research has led to the discovery that the software and hardware designing is justified, the antidisturbance petence is powerful and the realtime capability is satisfactory and by extension and upgrade, this system can resolve the problem of the car availably, building construction the position of the workplace and some industries spot supervision. Key words: AT89C31。 Silent wave; Measure Distance 哈爾濱理工大學??飘厴I(yè) 論文 3 目錄 摘要 ........................................................... 1 Abstract ........................................................ 2 第 1 章 緒論 ................................................... 4 課題背景 ............................................... 4 課題設計的目的和意義 ................................... 5 第 2 章 倒車雷達超聲波測距原理 .................................. 6 超聲波的概念 ........................................... 6 超聲波的特性 ........................................... 6 超聲波測距原理 ......................................... 7 3 系統(tǒng)的 硬件結構設計 .......................................... 10 51 系列單片機的功能特點及測距原理 ..................... 10 51 系列單片機的功能特點 ...................................................... 10 51 系列單片機測距原理 .......................................................... 11 超聲波發(fā)射電路的設計 .................................. 12 超聲波接收電路的設計 .................................. 13 顯示電路的設計 ........................................ 14 超聲波測距系統(tǒng)的硬件電路設計 .......................... 15 4 系統(tǒng)軟件的設計 .............................................. 17 超聲波測距儀的算法設計 ................................ 17 主程序流程圖 .......................................... 17 超聲波發(fā)生子程序和超聲波接收中斷程 序 .................. 19 系統(tǒng)的軟硬件的調試 .................................... 20 總結 .......................................................... 22 致謝 .........................................