- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
PAGE I
摘 要
距离参数在大多数不同的场合和自动化控制中经常需要的检测的,过去的历史中,人类以及自然生物都在寻求和研究最好的测量方法,基于传统的方法在很多场合:如带腐蚀性的液体,强磁干扰,有毒气体的恶劣条件下,或是在工业场合,测量距离存在不可克服的缺陷,超声波测距能很好地解决此类的问题,本论文主要对单片机超声波测距系统的原理,单片机的运用等进行了分析;他也介绍了一个单片机STC89S52的超声波测距系统,它包含了超声波发生电路、超声波接收电路、温度补偿电路;对超声波的发生电路,DS18B20温度采集电路,LCD显示电路,硬件制作和软件设计;对系统进行误差分析。通过软硬件进行编程来实现超声波测距的功能,较之传统的测量距离的方法,这个系统有明显的优越性,其设计了温度补偿电路,来消除环境温度对声音的传播速度的影响,不过这个弊端还是显而易见的,根据试验和误差的分析来看,看出它的最大量程是6m,经过多次的试验和误差分析,测量精度被限制在可接受的范围之内,实验表明,该系统测量精度较高,测量数据稳定,所以,值得推广。
关键字:51单片机,超声波测距系统,DS18B20温度补偿,误差分析
Abstract
Distance parameter and automatic control in most different occasions often need to test in past history, human and natural biological are seeking, and study the best method of measurement. Based on the traditional way on many occasions, such as corrosive liquid, strong magnetic interference, toxic gas harsh conditions, or in the industrial situation, insurmountable defects of measuring distance, ultrasonic ranging can well solve these problems, this thesis mainly to the principle of the ultrasonic ranging system, the use of single-chip microcomputer and so on are analyzed; It also introduced a single chip microcomputer STC89C52 ultrasonic ranging system, it includes the ultrasonic wave generating circuit, ultrasonic receiving circuit ,temperature compensation circuit; Circuit of ultrasonic happened. Generating circuit of ultrasonic, DS18B20 temperature Mosaic gold circuit, LCD display circuit, the hardware and software design is made, An analysis of the error system. Through hardware and software programming to realize the function of ultrasonic ranging, compared with the traditional method of measuring distance, the system has obvious advantages. It’s design, temperature compensation circuit to eliminate the influence of environment temperature on the propagation velocity of sound, but the shortcomings are obvious, according to the test and error analysis, see that it is the biggest rang 6 m, after many times of trial, the accuracy of measurement are limited in the
文档评论(0)