资源描述:
《毕业论文--超声测距电路设计制作》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、毕业设计(论文)题目:超声测距电路设计制作学院:测试与光电工程学院专业名称:测控技术与仪器班级学号:学生姓名:指导教师:二O一五年六月超声测距电路设计制作摘要:超声波测距组合电路是以电路,传感器,单片机,数码管和程序等综合知识为基础来设计开发的一种测量电子仪器。其中超声波发射和接收系统的主要部分为压电晶片,这种材料具有压电效应,在电磁振荡的作用下发生逆压电效应产生超声波,在超声波的作用下发生正压电效应产生电磁振荡被传感器接收。信号被接收后通过电路的放大和滤波在单片机的程序中计算得到传感器到被测量面的距离,最后通过数码管显
2、示距离。这个电路选用的是STC89C52单片机,因为STC89C52是STC系列单片机里应用比较广泛的一款,在自动控制领域里享有很高的价值,以其易用性和多功能性受到了广大电子设计爱好者的好评。本次设计主要是利用STC89C52单片机、超声波传感器完成测距报警系统的制作,以STC89C52为主控芯片,利用超声波对距离的检测,将前方物体的距离探测出来,然后单片机处理运算,与设定的报警距离值进行比较判断,当测得距离小于设定值时,STC89C52发出指令控制蜂鸣器报警。关键词:超声波传感器STC89C52蜂鸣器报警数码管指导老师
3、签名:UltrasonicrangingcircuitdesignStudentname:ZhanglinqiangClass:110813Supervisor:ZhouruiqiABSTRACT:UltrasonicRangingcombiningcircuitisacomprehensiveknowledgeofcircuits,sensors,microcontrollers,digitalcontrolandproceduresasabasisforthedesignanddevelopmentofanelect
4、ronicmeasuringinstrument.Whereinthemajorpartoftheultrasonictransmittingandreceivingsystemisapiezoelectricwafer,thismaterialhasthepiezoelectriceffectandinversepiezoelectriceffectoccursundertheeffectofelectromagneticoscillationsgeneratingultrasonicwaves,piezoelectr
5、iceffectoccursundertheactionofelectromagneticultrasonicoscillationisgeneratedreceivedbythesensor.SignalisreceivedbythecircuitamplificationandfilteringinMCUprogramcalculatedthedistancesensorsurfacetobemeasured.Finally,thedigitaldisplaydistance.ThecircuitusedisSTC8
6、9C52microcontroller,BecauseSTC89C52isSTCSeriesMCUinabroaderapplication,itenjoysahighvalueinthefieldofautomaticcontrol,withitseaseofuseandversatilitybythemajorityofelectronicdesignenthusiasts.ThisdesignistheuseofSTC89C52microcontroller,ultrasonicsensoralarmsystemc
7、ompleteproductionrangingtoSTC89C52asthemainchip,theuseofultrasonictestingonthedistance,thedistanceofobjectsdetectedinfrontofit,andthensingle-chipprocessingoperations,andsetalarmdistancevaluesarecomparedtojudge,whenthemeasureddistanceislessthanthesetvalue,STC89C52
8、issuecommandstocontrolthebuzzeralarm.Keywords:UltrasonicsensorsSTC89C52BuzzeralarmSignatureofsupervisor:目录1绪论1.1项目研究背景及意义(1)2总体设计方案及论证2.1总体方案设计(2)3硬件实现及单元电路设计3