在本論文中,我們實現了一個以倒單擺為基礎之輪型機器人。為完成輪型機器人的動作控制之目標,我們設計了一主動式平衡定位控制器以及轉向控制器,以雙輪的移動距離、機身的傾斜角度與轉向角度當作控制變數,主動控制馬達的出力。在本論文中我們使用了兩種方法作主控制器-小腦模型控制器以及適應性步階迴歸小腦模型控制器。小腦模型控制器是一種類似類神經網路的智慧型控制器。不同於類神經網路,小腦模型控制器有較快的學習速度、及較快的收斂速度。然而,此雙輪機器人存在著許多不確定之因素及雜訊,會影響系統動作,為了解決此問題,我們使用步階迴歸控制的設計方法設計適應性步階迴歸小腦模型控制器,將位置誤差加入角度誤差做角度及位置控制,此外我們使用一PD控制器做轉向控制,為了確保系統之穩定性,限制PD控制器輸出大小並加入一強健控制器 來縮小因不確定的動態系統與外在干擾和近似誤差產生的影響,並藉由李亞普諾夫定理(Lyapunov theory)推導其學習速率且證明其誤差之收斂;最後,我們也將透過輪型機器人平台之模擬與實驗,比較小腦模型控制器與適應性步階迴歸小腦模型控制器的模擬與實驗結果,驗證適應性步階迴歸小腦模型控制器在平衡定位控制上相對於小腦模型控制器有較佳的成效。
In this thesis, we design and implementat a two-wheeled robot control system. To complete the motion control objective of the robot, we designed a balancing controller and a steering controller to control the robot. Since the dynamic characteristics of the robot system are nonlinear and time varying, it is difficult to design a suitable controller to achieve high-precision control at all time. A robust cerebellar model articulation controller (CMAC) via the backstepping control technique is proposed. In the backstepping CMAC control system, an adaptive CMAC is used to mimic an ideal backstepping control law. Moreover, we used a PD controller to do steering control. To ensure the stability of the system, we limited the PD controller output and used a robust controller to reduce the impacts of system uncertainty, outside disturbance and approximation error. The adaptation laws of the control system are derived in the sense of Lyapunov stability analysis, so that the stability of the system can be guaranteed. Finally, by the simulation and experimentation of two wheeled robot, we compare the CMAC controller and adaptive backstepping CMAC controller, respectively. From the results, the adaptive backstepping CMAC controller can be demonstrated that it has better performance for control and balance.