摘要随着社会经济的发展,私人拥有的汽车数量在持续上升。随之而来的就是因为汽车过多而产生的问题。交通拥挤的状况越来越严重严重,因为汽车而产生的人身财产损失也越来越多。安全驾驶越来越受到人们的关注。各式各样的汽车安全辅助工具开始被设计制造生产出来,倒车防撞系统就是其中的一种。在汽车行驶过程中系统通过超声波测距原理,计算距离,提醒报警,防止汽车碰撞到障碍物。硬件系统能够实现以单片机及其最小系统为中心实时控制超声波模块,数码管显示电路,蜂鸣器报警电路等协同工作。同时实现处理定时器数据,计算距离信息等功能。软件程序则使用KeiluVision4开发环境进行编写,并生成可执行工程文件下载到单片机中。程序中包括了完整的与硬件系统相对应的程序模块,将整套系统的超声波测距技术和单片机控制技术结合,一起实现完整的功能。这种系统运用了软硬件结合,以功能为指标分块设计的思维原则。关键词:超声波;单片机;测距;倒车防撞ABSTRACTWiththedevelopmentofsocialeconomy,theprivatelyownedcarsinrising.Attendantisbecausetoomanycarsandproduceproblems.Trafficcongestionsituationmoreandmoreserious,becausethecarandpersonalpropertylossesalsomoreandmore.Safedrivingandbymoreandmorepeople'sattention.Avarietyofvehiclesafetyassistanttoolsstartisdesignedandmanufacturedout,reversingcollisionavoidancesystemisoneofthem.Inthecardrivingsystemintheprocessoftheultrasonicrangingprinciple,calculatingthedistance,thealarm,preventtheautomobilefromcollidingobstacles.HardwaresystemcanbeachievedbyMCUandtheminimumsystemforrealtimecontrolcenterultrasonicmodule,digitaltubedisplaycircuit,buzzeralarmcircuitworktogether.Whileachievingdataprocessingtimer,calculatethedistanceinformation.Softwareprogramsusekeiluvision4developmentenvironmenttowrite,andgeneratesanimplementationprojectfiledownloadtotheMCU.ProgramincludescompletethehardwaresystemandthecorrespondingprogrammoduleandtheultrasonicmeasuringtechnologyofthewholesystemandsingleTabletmachinecontroltechnology,togetherwiththerealizationofacompletefunction.Thissystemusesacombinationofhardwareandsoftware,tofunctionasaindicatorofthedesignoftheprincipleofthinking.Keywords:ultrasonic;SCM;ranging;reversecollision目录第一章绪论..............................................................................................61.1倒车防撞系统..........................................................................................................61.1.1课题研究背景及意义....................................................................................61.1.2国内外研究发展情况....................................................................................61.1.3非接触式测距用于汽车倒车辅助装置........................................................71.2超声波测距..............................................................................................................81.2.1传统测距遇到的问题....................................................................................81.2.2超声波测距的发展........................................................................................81.2.3超声波测距的优势........................................................................................9第二章设计方案..........................................................................................102.1测距方案................................................................................................................102.1.1红外线测距.......................................................................................