摘要:本文针对硫化车间生产工艺中温度控制要求,采用PSoC3设计了对硫化温度的控制。本设计选用J型热电偶应用PSoC3内部的ADC采集温度并由RS-485作为数据线上传到上位机,上位机根据工艺要求发出温度控制指令传到PSoC3,由PSoC3控制继电器工作,实现温度的实时控制。该系统是由温度测量模块,温度采集模块,通信模块,查询模块,温度控制模块组成。该系统可以对温度的采集和控制,并且系统硬件电路并不复杂,成本不算高,组成系统时布线简单,可靠性较好,达到了对工业现场温度测控的目的。55817
毕业论文关键词:温度系统, J型热电偶, PSoC3
Abstract: To aim at the temperature control requirements in workshop production of vulcanization process, using PSoC3 designed for temperature control. The design uses J-type thermocouple applications PSoC3 temperature of the ADC acquisition which is spread by RS-485 data lines to PC, PC sends commands to PSoC3 under process requirements, and the PSoC3 can control relay, real-time temperature control in any time. The system is composed of temperature measurement module, the temperature acquisition module, communication module, query module, temperature control module. The system can capture and control the temperature, and hardware circuit of the system is not complicated, the cost is not too high, the components of the system wiring is simple, reliable, and reached the site of the industrial temperature measurement and control purposes.
Key words: temperature systems, J-type thermocouple, PSoC3
目录
1 引言 4
2 温度控制的总体方案 4
2.1 总线选择方案选取 4
2.2温度传感器的选取 5
3 简述主要集成芯片和软件开发环境 7
3.1 简述主要集成芯片 PSOC 7
3.2 软件开发环境 8
4 PSOC硬件方案 9
4.1 PSOC设计过程 9
5 温度采集与控制系统软件设计 11
5.1 下位机软件设计 11
5.2 上位机软件设计 13
5.3系统调试与测试 18
5.3.1 电路测试 18
5.3.2下位机软件调试与测试 18
5.3.3 下位机通信模块的调试 18
5.3.4 下位机温度采集模块的调试 18
5.4 上位机软件调试与测试 19
5.4.1 上位机通信模块的调试 19
5.4.2 上位机测温模块的调试 19
5.4.3 上位机数据库连接的测试 19
5.4.4 上位机在测试过程中出现的提示信息 19
5.5 Proteus仿真及分析 20
5.6 系统整体测试 23
5.7 系统整体测试 24
5.8传感器在调试中应当注意问题 24
5.9系统的不足 25
结论 26
致谢 27
参考文献 28