{$cfg_webname}
主页 > 电子信息 > 单片机 >

基于单片机的高精度油罐液位检测系统的设计

来源:wenku163.com  资料编号:WK16314138 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9AWK16314138
资料介绍

基于单片机的高精度油罐液位检测系统的设计(任务书,开题报告,论文21000字,程序清单)
摘要
油罐液位检测作为油气储运工程中一个重要的环节,其精度要求随着微机电系统和实际生产生活需要的发展也在不断提高。液位检测数据的准确与否直接关系着后续控制操作的正确与否,因此,研究设计一套实用性强、精度要求较高的检测系统意义重大。
本文以单个储油罐的液位检测为研究对象,设计了基于STC89C52单片机系统和超声波液位传感器完成液位数据的采集和处理,设置了液晶模块实时现场显示,无线蓝牙通信可以实现与远程上位机的通讯,同时根据超声波传输特点,设置温度数据采集,进而实现温度补偿。另外完成了远程上位机显示界面的设计,实现了在LabVIEW中数据实时显示、存储、报警等功能,以便于后续进行测量数据的参考核查。
整个系统设计在满足精度要求的前提下始终坚持实用性与技术经济性的结合,在实现功能要求的前提下尽力优化软硬件设计框架。检测系统模块化的设计使得调试简易,维护简便。    经过调试与实验,系统稳定可靠,实用性强,满足设计要求。

关键词:油罐液位;单片机;超声波

Abstract
As an important part of oil and gas storage and transportation projects, the accuracy of tank level detection requirements with the micro-electromechanical systems and the actual production and life needs of the development is also rising.The accuracy of the level detection data is directly related to the follow-up control operation is correct or not.Therefore, the study design a set of practical, high precision detection system is of great significance.
In this paper, the liquid level detection of a single oil storage tank is taken as the object of study. The collection and processing of liquid level data are designed based on STC89C52 single chip microcomputer system and ultrasonic liquid level sensor.Set the LCD module real-time live display, wireless Bluetooth communication can be achieved with the remote host computer communication, according to the characteristics of ultrasonic transmission, set the temperature data acquisition, and then achieve temperature compensation.And completed the remote host computer display interface design, and realize the real-time data display, storage, alarm and other functions in LabVIEW, in order to facilitate the subsequent measurement data reference verification.
The whole system design has always adhered to the combination of practicability and technical economy under the premise of meeting the requirement of accuracy.The system optimizes the design framework of hardware and software on the premise of realizing the functional requirements.The modular design of the system makes the system easy to debug and convenient to maintain.
After debugging and experiment, the system is stable, reliable, practical and meets the design requirements.

Key words:tank level; single-chip microcomputer; ultrasonic
 

基于单片机的高精度油罐液位检测系统的设计 基于单片机的高精度油罐液位检测系统的设计
基于单片机的高精度油罐液位检测系统的设计


目录
第1章 绪论    1
1.1 研究背景及意义    1
1.2国内外发展现状及发展趋势    1
1.3本论文主要内容与结构    3
第2章 液位检测原理分类    4
2.1 液位检测分类介绍    4
2.2压力检测法    5
2.3 电容法    6
2.4超声波法    7
2.4.1 超声波理论介绍    7
2.4.2 超声波法工作原理介绍    8
第3章 液位检测系统方案设计    10
3.1 总体设计    10
3.2 传感器选择    11
3.2.1 超声波传感器的优势    11
3.3 通信传输方式选择    13
3.4 上位机系统软件设计    13
3.4.1 LabVIEW软件主要特点    13
3.5 经济分析与核算    14
第4章 系统硬件设计    15
4.1 STC89C52单片机    15
4.2超声波液位检测模块    17
4.2.3  JSN-SR04T一体化超声传感器工作原理    17
4.3 液晶显示    19
4.4 通信传输    21
4.4.1 蓝牙通信模块介绍    21
4.5 温度测量模块    22
4.5.1 温度传感器介绍    22
第5章 系统软件设计    24
5.1 软件整体设计    24
5.2 单片机系统软件设计    25
5.2.1 超声波测液位程序设计    25
5.2.2 LCD液晶显示软件设计    26
5.2.3 温度测量软件设计    27
5.2.4 串口发送蓝牙通信软件设计    29
第6章 系统调试与实现    31
6.1基于LabVIEW的界面设计    31
6.2 液位检测实现    35
6.3 温度补偿和精度分析    37
结论    40
参考文献    41
致谢    43

 

推荐资料