本研究是根據向量餘裕(vector margin) 及步階響應之穩態誤差(steady-state error) 定義其代價函數,對給定控制系統來設計超前落後補償器。在補償器設計中包含向量餘裕,主要是為了考慮整個控制系統的穩定強健性。我們分別利用粒子群聚最佳化(Particle Swarm Optimization, PSO) 演算法及布穀鳥搜尋(Cuckoo Search, CS) 演算法來尋找最佳的補償器參數。本研究使用Python 撰寫程式,並利用Python 中的Tkinter 製作兩個操作簡單工具箱介面(一個使用PSO,另一個使用CS) 來幫助使用者設計超前落後補償器。本論文提供兩個範例來說明工具箱的使用。
Lead-lag compensator design for a given control system based on vector margin and steady-state error of the step response of the overall control system in this study. The main reason for including the vector margin in compensator design is to take the stability robustness of the overall system into consideration. The particle swarm optimization (PSO) algorithm and Cuckoo Search (CS) algorithm are used to evolve the candidate design parameters of the compensators in order to find the best set of design parameters. Our computer programs are coded in Python language, and two simple toolboxes, one for PSO and another for CS, are provided to help users to design the lead-lag compensators using the graphical user interface provided in Tkinter package in Python. Two numerical examples are provided to illustrate the use of the toolboxes.