- -
来实时实地的模拟操作控制系统的实际运行状态。..................................................................10
3.1.2 模糊控制系统组成与原理......................................................................................10
...................................................................................................................................................10
3.1.3 控制器的设计..........................................................................................................11
...................................................................................................................................................12
图 11 模糊 PID 控制构造图.....................................................................................................12
3.2 程序流程图.........................................................................................................................14
3.3 程序设计.............................................................................................................................16
3.3.1 主程序设计..............................................................................................................16
3.3.2 系统的启动和停顿..................................................................................................16
...........................................................................................................................................................17
3.3.3 PID 设定程序..........................................................................................................17
...........................................................................................................................................................17
...........................................................................................................................................................18
...........................................................................................................................................................18
...........................................................................................................................................................19
3.3.4 手动控制程序设计与温度报警..............................................................................19
...........................................................................................................................................................19
...........................................................................................................................................................20
3.3.5 e 和 ec 子程序设计..................................................................................................20
...........................................................................................................................................................22
3.3.6 Kp、Ti、Td 查表程序设计....................................................................................23
= 〔3.1〕...........................................................................................................................23
=+ 〔3.2〕........................................................................................................................23
=+ 〔3.3〕........................................................................................................................23
=+ 〔3.4〕........................................................................................................................23
...................................................................................................................................................25
第 4 章 组态设计..............................................................................................................................26
4.1 OPC 与 PLC 连接...............................................................................................................26
...........................................................................................................................................................26
...........................................................................................................................................................27
4.2 WinCC 组态软件................................................................................................................27
4.2.1WinCC 概述..............................................................................................................27
4.2.2 WinCC 和 PLC 的连接设置....................................................................................27
...........................................................................................................................................................28
...........................................................................................................................................................28
4.2.3WinCC 组态设计......................................................................................................29
...........................................................................................................................................................29
...........................................................................................................................................................30
...........................................................................................................................................................30
...........................................................................................................................................................31
...........................................................................................................................................................31
4.3 组态与硬件调试.................................................................................................................31
...........................................................................................................................................................32
- . word.zl-