【正文】
II Based on PLC dc motor double closedloop speed regulation system design Abstract Along with the rapid development of the power electronic technology, puter technology and the automatic control technology, the programmable controller’s (PLC) function more perfect and more extensive application based on PLC control system, gradually bee the mainstream of the industrial control system. In this paper introduces the dc motor based on PLC double closedloop speed regulation system, according to the dc speed control theory and the theory of automatic control system, this paper introduces the PLC control of double closedloop speed regulation system position, working principle and the dynamic performance. This system of dc motor double closedloop speed regulation system of the digital transformation, make current loop and speed loop controller by PLC system are discussed to realize. With Siemens S7200 PLC and the CPU222 both extension module to realize dc motor double closed loop speed regulation system. Application of PLC PID mands to realize dc motor speed closedloop control. This system is easy to expand, easy to expand all kinds of I/O modules and function modules. Keywords PLC; Direct current machine; Double closedloop; Controls 蘇州科技學院 天平學院 本科生畢業(yè)設計(論文) III 目 錄 第 1 章 緒論 .................................................................................................................... 1 直流電動機簡介 ................................................................................................... 1 雙閉環(huán)調速系統(tǒng) ................................................................................................... 1 PLC 在電機調速中的應用 .................................................................................... 2 第 2 章 系統(tǒng)總體設計及算法模型確定 ............................................................................. 4 系統(tǒng)總體設計 ...................................................................................................... 4 雙閉環(huán)調速系統(tǒng)常用控制方法介紹 ....................................................................... 5 控制方法的確定 ................................................................................................... 6 PID 控制的結構 ........................................................................................ 7 PID 參數的調整 ........................................................................................ 9 PID 模塊 ................................................................................................... 9 系統(tǒng)參數計算 ..................................................................................................... 11 主電路參數計算 ....................................................................................... 11 電流環(huán)節(jié)( ACR)的設計 ......................................................................... 11 轉速環(huán)( ASR)的設計 .............................................................................13 按轉速環(huán) (ASR)退飽和重新計算超調量 .....................................................14 第 3 章 硬件設計 ............................................................................................................16 系統(tǒng)總體結構 .....................................................................................................16 CPU 主機部分 ..........................................................................................16 電機驅動部分 ..........................................................................................16 檢測部分 ............................................................................................................17 電流檢測部分 ..........................................................................................17 速度檢測部分 ..........................................................................................18 數據采集模塊 .....................................................................................................19 PLC 輸入 /輸出端口 ..................................................................................20 用于 PLC 的輸入 /輸出模塊 .......................................................................22 采集時序控制電路 ...................................................................................23 正交采用 .................................................................................................23 模塊量混合模塊 EM235............................................................................24 蘇州科技學院 天平學院 本科生畢業(yè)設計(論文) IV 晶閘管 —電動機電路設計 ....................................................................................24 整流變壓器的設計 ...................................................................................24 晶閘管的保護 ..........................................................................................24 晶體管驅動、觸發(fā)電路的設計 .............................................................................25 驅動電路原理 ..........................................................................................25 觸發(fā)電路原理 ..........................................................................................26 穩(wěn)壓電源 ............................................................................................................26 第 4 章 軟件設計 ............................................................................................................27 系統(tǒng)程序設計方案 ..............................................................................................27 主程序設計 .........................................................................................................27 速度初始化子程序 ..............................................................................................28 轉速檢測子程序 ..................................................................................................30 電流檢測子程序 ..................................................................................................30 PID 控制子程序 ........................................................................