循环水漏油报警器软件设计毕业论文
2022-03-07 22:50:38
论文总字数:28050字
摘 要
电导率是表示物质的导电能力。它跟温度与掺杂程度有关。因为油不容与水,所以相当于是杂质。掺杂程度影响电导率,程度与电导率成正比。当水比较干净的时候,表示里面的杂质比较少,这个时候电导率比较低。
本课题在阅读国内外相关资料后,把电导率测量仪和循环水漏油报警器结合起来,完成了循环水漏油报警器的设计。
本设计能进行实时在线检测,检测参数是为两路电导率、两路温度值。并且具有双电导的测量的温度补偿功能,两路电导率的变送输出和差值。该设计也有报警输出和485通信连接的功能,使用RS-485总线来实现了与PC机实时通讯。
关键词: 电导率 单片机 温度补偿 漏油报警
The software design of leak water alarm for circulating water
Abstract
Conductivity is the conductivity of a substance. It depends on the temperature and the degree of doping. Because the oil does not agree with water, so it is equivalent to impurities. Effect of conductivity doping level, proportional to the degree of conductivity.When the water is clean, it means that the impurities are less, and the conductivity is low at this time.
After reading the relevant information at home and abroad, the conductivity meter and the circulating water oil leak alarm are combined to complete the design of circulating water leakage alarm.
The design can be real-time online detection, detection parameters for two electrical conductivity, two temperature values. And has double conductance measurement of temperature compensation function, two-way conductivity variable output and difference. The design also has the function of alarm output and 485 communication connection, and uses RS-485 bus to realize real-time communication with PC.
Key Words: electrical conductivity; SCM; temperature compensation; oil leakage alarm
目 录
摘要……………………………………………………………………………………………I
ABSTRACT…………………………………………………………………………………II
第一章 引言 …………………………………………………………………………………1
1.1课题背景…………………………………………………………………………………1
1.2国内外研究现状…………………………………………………………………………1
1.3本课题研究工作…………………………………………………………………………2
第二章 电导率测量仪………………………………………………………………………3
2.1电导率……………………………………………………………………………………3
2.2.1 电导率基本知识…………………………………………………………………3
2.2.2 影响电导率测量的因素…………………………………………………………3
2.2电导率测量仪……………………………………………………………………………4
2.2.1 电导率测量原理…………………………………………………………………4
2.2.2 电导率测量补偿…………………………………………………………………4
第三章 系统的硬件设计……………………………………………………………………5
3.1系统总体方案设计………………………………………………………………………5
3.2硬件电路的设计与实现…………………………………………………………………5
3.2.1 硬件电路元件的选择……………………………………………………………5
3.2.2 采样保持与A/D转换电路的设计………………………………………………6
3.2.3 温度采集电路……………………………………………………………………7
3.2.4 串行通信接口电路的设计………………………………………………………7
第四章 系统的软件设计 …………………………………………………………………8
4.1单片机对的开发平台……………………………………………………………………8
4.1.1单片机在嵌入式系统中的应用…………………………………………………8
4.1.2 C语言在嵌入式系统中的应用…………………………………………………8
4.1.3 两种语言的对比 ………………………………………………………………8
4.2本系统软件的编译环境…………………………………………………………………9
4.3本系统软件程序的设计与实现 ………………………………………………………10
4.3.1 初始化模块设计………………………………………………………………11
4.3.2 温度采集软件设计……………………………………………………………12
4.3.3 中英文切换软件设计…………………………………………………………13
4.3.4 液晶显示软件设计……………………………………………………………15
4.3.5 485通信口ID显示软件设计…………………………………………………16
4.3.6 按键软件设计…………………………………………………………………18
4.3.7 主函数软件设计………………………………………………………………22
结语……………………………………………………………………………………………23
参考文献………………………………………………………………………………………25
致谢……………………………………………………………………………………………27
请支付后下载全文,论文总字数:28050字