補償器設計之主要目的是改善開迴路系統暫態響應及穩態響應之表現。為了幫助欠缺豐富設計經驗的補償器設計者,本論文之研究將設計一方便的工具箱來協助使用者設計超前落後補償器。我們將根據步階響應之上升時間、最大過衝、穩定時間和穩態誤差等來定義代價函數。在本論文中,我們將使用粒子群聚最佳化演算法來演化超前落後補償器之參數,並搜尋出最佳補償器參數。本研究將以 Python 程式語言編寫補償器之程式,並使用 Python 中的 Tkinter 套件設計補償器之工具箱介面,供使用者對開迴路系統、單位迴授系統及超前落後補償器回授系統進行觀察與設計工作。
The main purpose of the compensator design is to improve the performance of the transient and steady state response. In order to help the inexperienced designers, we will design a handy toolbox to help the users design lead-lag compensators. The cost function of our problem is based on the rise time, maximum overshoot, settling time, and steady-state error of the step response of the compensated system. Particle swarm optimization will be employed in this thesis to search for the optimal parameters of the lead-lag compensators. Our computer programs are coded in Python language, and the graphical user interface is designed using Tkinter package in Python.