本文以VisSim為系統發展環境,以數學方塊圖模式設計開發現代控制演算法,以PC為主控制器配合資料擷取介面卡整合伺服控制系統,實現現代控制演算法於PC-Based即時控制系統。首先以步階函數為測試訊號,得到實際之 FB-33伺服控制系統之系統數學模式,然後將此數學模式建立於VisSim 系統發展環境並得到模擬結果,再與 FB-33 控制系統之實際輸出響應作比較。其次,將比例控制增益最佳化演算法與FB-33控制系統數學模式為結合,以 VisSim 系統純軟體驗講比例控制增益最佳化演算法之正確性。最後,再配合商用資料擷取介面卡與動態連結函數庫整合FB-33控制系統,完成PC-Based即時控制系統,實現現代控制演算法於伺服控制系統。
The goal of this paper is to implement the gain-optimization algorithm in PC-Based real time control systems by using mathematic model blocks in VisSim software package environment. We use PC as a controller to apply modern control algorithms in PC-Based real time control algorithms can be executed in PC-Based real time control systems. First, the mathematic model of the FB-33 control system can be obtained by applying a step voltage to the control system. In VisSim, the mathematical model can be simulated to compare the mathematical model outputs to the real behaviors. This is immediately visualized with plots, strip charts and other visualization blocks. The mathematical model can then be refined until the model the real behaviors. This is immediately visualized with plots, strip charts and other visualization blocks. The mathematical model can then be refined until the model accurately reflects the real behavior. Second, we consider the design of the controller model based on quadratic performance indexes. The design can be easily done in VisSim. Finally, the PC controller uses the gain=optimization algorithm and data acquisition system to control the FB-33 servo system. The satisfied results are shown in this paper.