【正文】
modules function39。 Regarding range measuring system39。 labor intensity and stress. It is pulse reflection based on single chip ultrasonic distance measurement system, vehicle driver assistance. In the article first elaborated the supersonic sensor39。該系統(tǒng)采用六反相器 74LS04 和紅外遙控接收器集成芯片 CX20226A 以及超聲波傳感器實(shí)現(xiàn)了超聲波的發(fā)射與接收,以低成本的、對硬件有高精度處理能力的 AT89S52單片機(jī)為核心處理器,整個(gè)系統(tǒng)通過將各個(gè)模塊有機(jī)的結(jié)合,將超聲波傳感器的信號(hào)經(jīng)單片機(jī)綜合分析處理,通過易于控制的數(shù)碼管作為數(shù)據(jù)顯示電路,實(shí)現(xiàn)超聲波測距在車輛行駛輔助系統(tǒng)中的完美應(yīng)用。昆 明 理 工 大 學(xué) 津 橋 學(xué) 院 畢業(yè)設(shè)計(jì)(論文)畢業(yè)設(shè)計(jì)課題:基于單片機(jī)的超聲波測距系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)——車輛行駛輔助系統(tǒng)學(xué) 校:昆明理工大學(xué)津橋?qū)W院 系 部:計(jì)算機(jī)科學(xué)及電子信息工程系 專 業(yè):電子信息科學(xué)與技術(shù) 年 級(jí):07 級(jí) 2 班 學(xué)生姓名:李華 學(xué) 號(hào):202216022121 指導(dǎo)教師:桂進(jìn)斌 Oxbridge College, Kunming University of Selence and TechnologyGraduation Project (Thesis)Graduation Project Subject:The vehicle driver assistance systems based on Chip Microputer Ultrasonic distance measurementCollege: Oxbridge College, Kunming University of Selence and TechnologyDepartmental: Department of Computer Science and Electronic InformationProfessional: Electronic Information Science and TechnologyGrade: Grade 07 Class 1Student name: JunWanStudent ID: 202216022114Guide Teacher′s Name: Jinbin Gui目錄摘要 ...........................................................IABSTRACT......................................................II前言 ...........................................................1第 1 章 緒 論 ...................................................2 本題目的主要研究內(nèi)容 .....................................2 本題目的研究意義 .........................................2 本領(lǐng)域研究的發(fā)展史 .......................................3 國際方面 ..............................................3 國內(nèi)方面 ..............................................3 系統(tǒng)整體設(shè)計(jì)方案 .........................................4 系統(tǒng)整體方案論證 .........................................6第 2 章 超聲波技術(shù)概述 ..........................................7 超聲波傳播的速度 .........................................7 超聲波的產(chǎn)生和使用頻率 ...................................7 超聲波技術(shù)在距離測量中的應(yīng)用 .............................8 超聲波傳感器基礎(chǔ)知識(shí) .....................................9 超聲波傳感器的結(jié)構(gòu)及原理 ..............................9 超聲波測距原理 .......................................10第 3 章 相關(guān)知識(shí)介紹 ...........................................11 單片機(jī)基礎(chǔ)知識(shí) ..........................................11 單片機(jī)的分類及發(fā)展 ...................................11 AT89S52 單片機(jī)的功能特點(diǎn) .............................14 AT89S52 單片機(jī)的基本結(jié)構(gòu)及工作原理 ...................15 紅外遙控接收器集成芯片 CX20226A 簡介 .....................19 引腳功能說明及數(shù)據(jù) ...................................19 引腳布局及封裝 .......................................20 六反相器 74LS04 基礎(chǔ)知識(shí) .................................21第 4 章 系統(tǒng)的硬件電路設(shè)計(jì) .....................................23 基于 AT89S52 單片機(jī)的中央處理模塊 ........................23 單片機(jī)實(shí)現(xiàn)測距的原理 .................................23 單片機(jī)最小系統(tǒng)設(shè)計(jì) ...................................23 超聲波發(fā)生電路 ..........................................24 超聲波接收電路 ..........................................25 數(shù)碼管顯示電路 ..........................................26 系統(tǒng)工作狀態(tài)指示及報(bào)警電路模塊 ..........................28 穩(wěn)壓電源模塊 ............................................28第 5 章 系統(tǒng)軟件設(shè)計(jì) ...........................................30 系統(tǒng)程序設(shè)計(jì)思想 ........................................30 主程序流程設(shè)計(jì) ..........................................30 超聲波發(fā)生與接收子程序 ..................................31第 6 章 系統(tǒng)調(diào)試及操作說明 .....................................33 系統(tǒng)軟硬件的調(diào)試 ........................................33 誤差分析 ................................................33 操作說明 ................................................34結(jié)論 ..........................................................36總結(jié)與體會(huì) ....................................................38謝辭 ..........................................................39參考文獻(xiàn) ......................................................40附錄一 外文資料英文原文 ......................................41附錄二 外文資料的中文翻譯 ....................................47附錄三 程序清單 ..............................................52附錄四 元器件使用清單 ........................................58附錄五 系統(tǒng)總體電路原理圖 ....................................60基于單片機(jī)的超聲波測距系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)車輛行駛輔助系統(tǒng)摘要本設(shè)計(jì)主要是為提高車輛行駛安全,減輕駕駛?cè)藛T的勞動(dòng)強(qiáng)度和心理壓力而設(shè)計(jì)的基于單片機(jī)的脈沖反射式超聲波測距車輛行駛輔助系統(tǒng)。本文首先以超聲波傳感器的原理及特性為核心展開說明,對于該系統(tǒng)的測距模塊中的超聲波使用頻率、脈沖信號(hào)采樣、傳感器型號(hào)選擇等主要參數(shù)進(jìn)行了論證;在此基礎(chǔ)上再對系統(tǒng)的總體結(jié)構(gòu)作了闡述,并根據(jù)模塊化的設(shè)計(jì)思想依次對核心處理模塊、超聲波發(fā)生及接收模塊、顯示及報(bào)警模塊的硬件設(shè)計(jì)方案進(jìn)行論證;最后根據(jù)該系統(tǒng)的設(shè)計(jì)目標(biāo)采用模塊化編程思路完成系統(tǒng)的算法設(shè)計(jì),以超聲波測距為基礎(chǔ),結(jié)合顯示及報(bào)警模塊,通過軟硬件的綜合調(diào)試實(shí)現(xiàn)車輛行駛輔助系統(tǒng)的基本功能。關(guān)鍵字:AT89S52,超聲波,傳感器,車輛行駛,輔助系統(tǒng)The vehicle driver assistance systems based on Chip Microputer Ultrasonic distance measurementAbstractThis design is mainly to improve traffic safety and to reduce drivers39。s principle and the characteristic。s supersonic wave frequency, the signal pulse, the ponent model and so on main parameter has carried on the discussion。s foundation, proposed system39。s hardware design plan has carried on the proof. Finally, according to the system designed to plete the system is modular programming algorithm design ideas, based on the ultrasonic distance measurement, with the display and alarm module, through the integrated hardware and software debugging, and vehicles to achieve the basic functions of driver assistance systems.The system uses Six Inverter 74LS04, Infrared Remote Control Receiver ICs CX20226A and Ultrasonic sensors, AT89S52 microcontroller as the core to achieve the Perfect application between Ultrasonic Distance and Vehicle Driver Assistance Systems.Key Words: AT89S52, Ultrasonic, Sensors, Vehicle driving, Auxiliary system前言近年來,隨著汽車產(chǎn)業(yè)的迅速發(fā)展和人們生活水平的不斷提高,我國普通家庭汽車占有比例正逐年增加,汽車在給人們帶來方便的同時(shí),也帶來許多煩惱。對于設(shè)計(jì)出一套車輛行駛輔助系統(tǒng)以提高車輛行車安全,減輕駕駛?cè)藛T的勞動(dòng)強(qiáng)度和心理壓力,是十分必要的。傳感器技術(shù)是現(xiàn)代信息技術(shù)的主要內(nèi)容之一。比如溫度傳感器、光電傳感器、濕度傳感器、超聲波傳感器、紅外傳感器、壓力傳感器等等,其中,超聲波傳感器在測量方面有著廣泛、普遍的應(yīng)用。在 20KHz~60KHz 頻率范圍內(nèi),采用壓電陶瓷換能器作為聲波的發(fā)射器和接收器,效果最佳。第 1 章 緒 論 本題目的主要研究內(nèi)容本設(shè)計(jì)的研究首先從超聲波技術(shù)在距離測量中的應(yīng)用開始,在充分了解超聲波測距原理及應(yīng)用要領(lǐng)的基礎(chǔ)上,結(jié)合六反相器 74LS04 和