毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

基于PSoC和组态王的温度控制系统设计+源程序

时间:2020-09-21 20:48来源:毕业论文
以PSoC和组态王作为核心,实现对对各类加热炉、热处理炉、反应炉和锅炉中的温度进行检测和控制。该系统由温度传感器DS18B20和PSoC组成的下位机实现对温度的采集、控制以及数据采集

摘 要:本设计以PSoC和组态王作为核心,实现对对各类加热炉、热处理炉、反应炉和锅炉中的温度进行检测和控制。该系统由温度传感器DS18B20和PSoC组成的下位机实现对温度的采集、控制以及数据采集;上位机由组态软件接受下位机的数据并及时优化处理,实现对温度的监控。上位机PC与下位机之间的通信采用RS-485协议。系统提供良好的人机交互界面,可以再现实中得到广泛的应用。56560

毕业论文关键词:DS18B20,PSoC,温度控制,组态王

Abstract: This design uses PSoC and Kingview as the core in order to achieve the detection and control of the various types of furnaces, heat treatment furnaces, reactors and boilers’ temperature.  The system consisting of temperature sensor DS18B20 and lower machine which is made up of PSoC realize the accomplishment of collecting and controlling temperature and data acquisition; PC configuration software accepts data from the lower machine and carries out timely optimization process, gaining the control function for temperature. RS-485 protocol is put to use in communication between upper PC and lower computer. The system provides great interactive interface between operators and the scene, which can be widely applied in reality.

Keywords: DS18B20,PSoC,Temperature control,King View

目  录

1  绪论 4

1.1  课题现状 4

1.2  研究意义 4

1.3  课题要求 4

2  方案总设计 4

3  主要软件和器件介绍 5

3.1  PSoC3简介 5

3.1  温度传感器 5

3.2  显示器件 6

3.3  芯片接口 6

3.4  电磁继电器 7

3.5  组态王 8

4  硬件电路设计 8

4.1  PSoC3系统及引脚功能 8

4.2 温度传感器DS18B20 11

4.3  液晶显示电路 12

4.4  上位机与下位机的通讯 13

4.5  控制电路 14

5  软件设计 14

5.1  主程序 14

5.1  PSoC Creator使用介绍 15

5.2  温度读取程序 17

5.3  DS18B20初始化、读写程序 17

5.4组态王监控界面设计 20

6  系统调试 22

总  结 23

参考文献 24

致  谢 25

附录 26

程序 26

1  绪论

1.1  课题现状

近年来,在我国以信息化带动的工业化正在蓬勃发展,温度已成为工业对象控制中一种重要的参数,特别是在冶金、化工、机械等各类工业中,广泛使用各种加热炉、热处理炉、反应炉等。由于炉子的种类及原理不同,因此所采用的加热方法及燃料也不同,如煤气、天然气、油电等。对于不同生产情况和工艺要求下的温度控制,所采用的加热方式,选用的燃料,控制方案也有所不同。 基于PSoC和组态王的温度控制系统设计+源程序:http://www.751com.cn/zidonghua/lunwen_61088.html

------分隔线----------------------------
推荐内容