目 录
第一章绪论........................................................................................................................................1
1.1 系统设计背景......................................................................................................................1
1.2 温度控制系统的发展状况.................................................................................................1
1.3 本文的研究内容..................................................................................................................3
第二章 设计总体方案及控制算法描述..........................................................................................4
2.1 系统总体方案......................................................................................................................4
2.1.1 硬件方案设计...........................................................................................................4
2.1.2 软件方案设计...........................................................................................................5
2.2 PID 控制算法 ......................................................................................................................6
2.2.1 PID 算法 ...................................................................................................................7
2.2.2PID 在 PLC 中的回路指令.....................................................................................8
2.2.3 PID 参数整定 .........................................................................................................10
第三章 系统硬件设计..................................................................................................................12
3.1 系统的硬件组成...............................................................................................................12
3.1.1 系统结构组成.........................................................................................................12
3.1.2 统各个组成部分完成的任务.................................................................................12
3.2 可编程控制器...................................................................................................................12
3.2.1PLC 的特点 .............................................................................................................12
3.2.2PLC 的选型 .............................................................................................................13
3.2.3 西门子 S7-200 主要功能模块介绍.......................................................................14
3.3 系统其他硬件选型及配置................................................................................................17
3.3.2 显示模块.................................................................................................................17
3.3.3 温度传感器.............................................................................................................18
3.3.4 调功器.....................................................................................................................20
4.4 系统硬件连接....................................................................................................................23
第四章 系统软件设计..................................................................................................................24
4.1 系统设计软件....................................................................................................................24
4.2 方案设计思路....................................................................................................................25
4.2 主程序部分........................................................................................................................26
4.3 标度变换子程序................................................................................................................29
4.4 显示模块子程序................................................................................................................31
4.5PID 初始化子程序及中断程序 .........................................................................................35
第五章 总结..............................................................................................................................42
致 谢..............................................................................................................................................43
参考文献..........................................................................................................................................44
附录..................................................................................................................................................45