防触电测距报警系统设计与实现论文.doc

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要 超声波测距是一种有效地非接触式测距方式。本文在研究分析超声波原理的基础上,利用单片机STC12C5410AD作为核心控制器,设计了一种防触电超声波测量距离报警系统。本系统通过每次发射10个宽度为时间T的脉冲,同时开启定时器并延时一段时间,超声波传感器接收到回波信号经前置放大电路、带通滤波电路、后级放大电路和电压比较电路后,向单片机发出外部中断信号,单片机保存定时器的值,计数器重新开始计数。用渡越时间法计算出每根电缆线的距离,液晶用来显示所测距离,如果距离小于2m,报警电路实现声光报警。另外,由于超声波在不同温度下传播速度不同,为了提高精度使用DS18B20测出实时温度,计算出不同温度下超声波速度值,进行温度补偿。 本设计的防触电测距报警系统能够在90°,3m范围内测量多根电缆线,测量值由数字存储并进行液晶显示。精度可达5mm 关键词:超声波传感器;测距;STC12C5410AD;高精度 Abstract The ultrasonic distance measurement is an effective non-contact ranging. On the basis of the principle of research and analysis of ultrasonic the microcontroller STC12C5410AD as the core controller, the design of an electric shock ultrasonic measurement from the alarm system. The system each time you launch the width of 10 for the pulse of the time T, turn on the timer and delay period of time, the ultrasonic sensor receives the echo signal by the preamplifier, band-pass filter circuit, after the class amplifier and voltage comparator circuit, the external interrupt signal is sent to the MCU, the MCU to save the timer value, the counter starts counting again. Transit time method to calculate the distance of each cable, LCD used to display the measured distance, if the distance is less than 2m, the alarm circuit to sound and light alarm. In addition, because the ultrasound at different temperatures under different propagation velocity, in order to improve the accuracy of the use of DS18B20 measure real-time temperature to calculate the ultrasonic velocity values ??at different temperatures, the temperature compensation. The design against electric shock ranging alarm system in a 90 °, measured within a 3m range of cable lines to the measured value by the digital storage and LCD. Accuracy of up to 5mm, and according to the different distances of the cable to send a different sound and light alarm, and temperature compensation to improve the measurement accuracy. It has low cost, non-contact, fast, easy to operate, etc., has broad application prospects. Keywords:

文档评论(0)

好老师 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档