智慧型控制Intelligent Control
由傳統控制(控制系統、PID)出發,介紹遺傳演算法、粒子群、蟻群等最佳化方法,以及模糊控制與類神經網路。頁內的 Flash 是 Matlab 操作示範錄影,以 Ruffle 播放,不需安裝 Flash Player。
課程內容 Contents
簡介Introduction控制系統Control Systems3 頁傳統 PID 控制PID Control5 頁遺傳基因演算法Genetic Algorithm11 頁粒子群最佳化Particle Swarm Optimization1 頁蟻群最佳化Ant Colony Optimization1 頁模糊控制Fuzzy Control27 頁類神經網路Neural Networks14 頁
📄 講義:GaFuzzy(PDF)
近年發展(2026 年新增)Recent Advances
原課程約為 2005 年的教材。以下章節補上之後二十年最重要的發展,程式範例改用 Python/PyTorch:
深度學習Deep Learning7 頁強化學習Reinforcement Learning5 頁神經網路用於控制Neural Networks for Control5 頁現代最佳化與調參Modern Optimization and Tuning4 頁
原課程的 MATLAB 程式:Python 版 Colab Notebooks
原課程的 MATLAB 程式與 Simulink 模型都改寫成 Python 筆記本,點選即可在 Google Colab 開啟、直接執行(不需要安裝 MATLAB 或任何軟體)。全部的筆記本也放在 GitHub:yoshiagent/IntControl-colab ↗。
▶ 遺傳演算法(GA)ga1.m、GA1~GA5 函式、GAExample、MCKPIDGA_Main(GA 調 PID)、MCKFuzzyGa_Main(GA 調模糊控制器)▶ 粒子群最佳化(PSO)PSO animations.zip 的四支動畫程式(範例一、二的等高線與 3D 曲面動畫)▶ 類神經網路newp/sim/init/train 指令、NnetAnd.mat(AND 閘)、NetAndmdl.mdl、NetBp.mat 與 NetBpmdl.mdl(倒傳遞網路)▶ 模糊邏輯工具箱readfis/evalfis/showrule/gensurf 等指令、CreateFIS.m、rmmf/rmvar、tipper.fis/tippersg.fis/tipper0.fis▶ 模糊控制MCK 四種模糊控制器(FuzzyMCK1/2/Sugeno/SugenoL)、水槽液位 sltank.mdl、台車倒單擺 slcp.mdl(含動畫)、fis2sim.mdl▶ PID 控制DCMotorData/DCMotorDataPID.m、直流馬達的三個 Simulink 模型、pid.mdl、mylib/MCKPID/MCKPIDDetail.mdl、數位 PID、Ziegler–Nichols、SISOTool 設計
相關課程 Related Courses
參考書籍 References
- Mastering Simulink 4 James B. DABNEY THOMAS L. HarMAN
- Fuzzy Logic Toolbox For Use with Matlab (User's Guide ) The MathWorks
- Neural Network Toolbox For Use with Matlab (User's Guide) The MathWorks
- Genetic Algorithms in Search, Optimization & Machine Learning David E. GOLDBERG
- Neuro-Fuzzy and Soft Computing J.S. R.Jang C.T. SUN E.MIZUTANI
- 遺傳演算法原理與應用--活用Matlab 周鵬程 全華圖書

