基于超声波的液位测距系统毕业设计(DOC 32页)
32页1、摘 要本文是利用超声波测距的原理而设计的一种液位测距系统。该系统采用STC12C5A08S2单片机为核心控制器,并为超生测距模块提供触发控制信号,在发射超声波的同时,启动单片机的部定时器开始计时,超声波在空气中传播遇到障碍物后反射回波,超声波接收电路检测到回波信号时停止计时,则根据公式:S=Vt/2 即可计算出液位距离。文中设计的系统着重解决了超声波测距的时间计算和温度补偿问题。其过温度传感器将温度值采集到单片机中,经过一定的数值修正即可得到当时温度值下的超声波传播速度V。本文采用了硬件和软件相结合的设计方法,在软件方面,采用了汇编语言进行程序编写。在数据处理上充分利用汇编语言的查表优势,建立了速度修正值表和数码管显示值表,可以便捷、明了地进行数据处理和显示。关键词: 超声波测距 STC12C5A08S2 温度补偿 液位测距系统 Title Design of liquid level based on ultrasonic distance measurement systemAbstractThis article designs a liquid level measuremen
2、t system which is based on the principle of ultrasonic distance measurement. The system takes STC12C5A08S2 as the core of the system controller. The SCM provides control signals for ultrasonic distance measurement modules, and starts themonolithicintegrated circuit internal timer to work while emitting ultrasonic. Ultrasonic reflection echo after the communication obstacles in the air, and the SCM stops timing when the echo signal is detected by the ultrasonic receiver. According to the formula:
3、 S=Vt/2, the liquid level distance is calculated. The system is designed to focus on the time and temperature compensation of ultrasonic distance measurement. The temperature value is collected in the SCM through the temperature sensor, undergoing a certain numerical correction to get the ultrasonic wave propagation velocity under the temperature. This articleuses a combination of hardware and software design.In software, we use assembly language to program. Full use of Assembly language referen
4、ce table advantages in data processing, we established the speed correction table and the digital display values table which can be convenient and clear for data processing and display. Keywords:Ultrasonic distance-measuring; STC12C5A08S2; Temperature compensation;Liquid level measurement system目 录1 引言11.1 测距在工业方面的应用11.2 现有的测距方法与其优缺点11.3 超声波测距的原理与优点21.4 课题研究的意义22 总体方案论证22.1 系统方案简化32.2 系统软件设计说明43 系统硬件电路设计43.1HCSR04超声波测距模块简介43.2 单片机的选型(STC12C5A08S2)63.3 显示电路的设计93.4温度传感器的选型104 系统软件设计114.1 主程序设计124.
《基于超声波的液位测距系统毕业设计(DOC 32页)》由会员cn****1分享,可在线阅读,更多相关《基于超声波的液位测距系统毕业设计(DOC 32页)》请在金锄头文库上搜索。
东北财经大学21秋《公司金融》平时作业一参考答案67
小班冬天的教案
2022年上半年大班班级工作计划范文
2023年实验室建设与管理
投递初级鉴定试题及答案
实用中学生作文300字4篇
2023年幼儿教师个人工作总结汇报
四川省人口与计划生育条例
酒与酒文化教案
菏泽市绿色低碳物流创新工程项目投资计划书【范文参考】
短期借款合同9篇
康熙后妃一览表
小学英语公开课活动总结
色谱术语中英文对照(按中文首字母排序)
2022年实用的小学自我介绍作文9篇
可燃易燃易爆危险品管理制度样本(2篇).doc
2022促销活动策划方案模板汇总七篇(实用模板)
2022自考专业(建筑工程)考试(全能考点剖析)名师点拨卷含答案附答案28
红旗校部德育工作总结
教师读书心得体会
2023-02-21 21页
2023-02-28 31页
2023-03-21 5页
2022-08-09 42页
2023-02-26 22页
2022-11-06 38页
2023-05-15 9页
2023-04-14 9页
2022-08-20 123页
2024-01-07 21页