簡易檢索 / 詳目顯示

研究生: 曾士哲
Tseng, Shih-Che
論文名稱: 平行PID控制器之非線性立方體機器人三維平衡
Three-dimensional balance of nonlinear cubic robot based on parallel PID controller
指導教授: 廖德祿
Liao, Teh-Lu
學位類別: 碩士
Master
系所名稱: 工學院 - 工程科學系
Department of Engineering Science
論文出版年: 2021
畢業學年度: 109
語文別: 中文
論文頁數: 59
中文關鍵詞: Cubli 、能量守恆 、四元數 、平行PID控制器
外文關鍵詞: Cubic Robot, Conservation of Energy, Quaternion, Parallel PID controller
相關次數: 點閱:212  下載:0 
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 本論文之研究在於實現立方體機器人在三維動態空間中,透過控制器與機構的設計完成三維單點平衡站立的立方體倒單擺機器人。立方體機器人使用角動量與能量守恆原理對立方體機器人進行控制,機器人內部含有三組慣性輪、直流無刷馬達與制動裝置,並由STM32F429微控制器透過PWM訊號對馬達進行控制,將慣性輪高速旋轉後,再由制動裝置進行夾止,使得慣性輪旋轉的動能轉換為擺體跳起所需的位能,在擺體跳起並進入平衡可控範圍時,控制器將開始進行平衡控制,由上述程序完成彈跳平衡流程。負責平衡的控制器,由三個角度誤差PD控制器與兩個馬達轉速PI控制器結合,並引入順逆向運動學分析組成平行PID控制器。MPU6050負責提供姿態角參數給控制器,在獲得六軸參數後,先進行互補濾波器等訊號處理,再透過一階隆巨庫塔法將參數更新到四元數中,進行姿態演算法的運算並且轉換成較直觀的歐拉角表示,最後輸出給控制器進行平衡控制。在機構方面本論文採用PLA材質,由3D印表機所列印製成外殼、支架與負責夾止的制動裝置,制動裝置透過慣性輪兩側安裝煞車的推桿,對慣性輪進行有效的制動功能,使動能與位能能夠完整的轉換,其慣性輪以不鏽鋼製成,負責提供擺體控制平衡與彈跳的反作用力與慣性矩,而轉動慣性輪的馬達採用ID-549XW直流無刷馬達並且透過自帶的馬達光學編碼器訊號輸出給STM32便能獲取馬達轉速。最後由實驗結果證明本論文所設計的系統確實能夠實現三維單點自平衡的功能。

    This thesis mainly discusses the balance of the cubic robot in the three-dimensional space. We derive the self-balancing controller based on the kinematic analysis and related parameters of the designed cubic robot in this thesis. Concerning the control of this system, this thesis uses the attitude and heading reference system (AHRS) to calculate the Euler angle and angular velocity of the robot body, and then applies this information for the PID controller design to maintain the balance of the robot body at corner point. As for balance, when the robot is subjected to external force or the robot is not at balance angle, the motor drives the inertia wheel generating a reaction force to push the robot body back to the balancing angle. Furthermore, according to the conservation of energy, when braking at high spinning speed, the inertial wheel can convert kinetic energy into potential energy to bounce the cubic robot up.

    摘要 I EXTENDED ABSTRACT II 致謝 VII 目錄 VIII 圖目錄 X 表目錄 XII 第一章 緒論 1 1.1 前言 1 1.2 研究動機 1 1.3 文獻探討 2 1.4 各段章節摘要 3 第二章 物理模型與動力學分析 4 2.1 單邊平衡動力學分析 4 2.2 單點平衡動力學分析 5 2.3 彈跳策略 10 2.4 系統識別 11 第三章 姿態演算法 16 3.1 旋轉矩陣 16 3.2 歐拉角 17 3.3 四元數 18 3.3.1 四元數加法和減法 19 3.3.2 四元數乘法 19 3.3.3 共軛四元數 20 3.3.4 四元數反函數 21 3.3.5 純四元數 21 3.3.6 旋轉四元數 22 3.4 一階隆巨庫塔法(RUNGE-KUTTA) 27 3.5 互補濾波器 29 第四章 控制器設計與測試調整 30 4.1 PID控制器 30 4.2 單邊平衡控制器設計 31 4.3 單點平衡控制器設計 32 4.4 平衡控制器參數調整 33 第五章 硬體結構與系統設計 37 5.1 機構設計與流程 37 5.1.1 慣性輪 37 5.1.2 制動裝置 39 5.1.3 硬體模組 40 5.2 微控制器流程設計 46 5.2.1 彈跳與平衡程序設計 47 5.2.2 直接記憶體存取(Direct Memory Access, DMA) 49 第六章 實驗結果與驗證 51 6.1 單邊彈跳與平衡 51 6.2 單點彈跳與平衡 54 第七章 結論 56 參考文獻 57

    [1]S. Rand, “Elon Musk on SpaceX's Reusable Rocket Plans”, Popular Mechanics. 2012.
    [2]M. Gajamohan, M. Merz, I. Thommen, and R. D'Andrea, “The Cubli: A Cube that can Jump Up and Balance”, IEEE/RSJ International Conference of Intelligent Robots and Systems (Algarve, Portugal), pp. 3722-3727, 2012.
    [3]M. Gajamohan, M. Muehlebach, T. Widmer, and R. D'Andrea, “The Cubli: A Reaction Wheel-based 3D Inverted Pendulum”, European Control Conference (Zurich, Switzerland), pp. 268-274, 2013.
    [4]M. Muehlebach, G. Mohanarajah, and R. D'Andrea, “Nonlinear Analysis and Control of a Reaction Wheel-based 3D Inverted Pendulum”, Conference on Decision and Control, pp. 1283-1288, 2013.
    [5]M. Muehlebach, R. D'Andrea, “Nonlinear Analysis and Control of a Reaction-Wheel-Based 3-D Inverted Pendulum”, IEEE Transactions on Control Systems Technology, vol. 25, no. 1, pp. 235-246, 2016.
    [6]W. Li, E. Todorov, “Iterative Linear Quadratic Regulator Design for Nonlinear Biological Movement Systems”, ICINCO, pp. 222-229, 2004
    [7]Z. Chen, R. Xiaogang, X. Ruan, Y. Li. “Dynamic Modeling of a Cubical Robot Balancing on Its Corner”, MATEC Web of Conferences, vol. 139, pp. 00067, 2017.
    [8]Y. Li, K. H. Ang, G. C. Chong, “Patents, software, and hardware for PID control: an overview and analysis of the current art”, IEEE Control Systems Magazine, vol. 26, no. 1, pp. 42-54, 2006.
    [9]A. J. Brizard, “Introduction To Lagrangian Mechanics, An”. World Scientific Publishing Company, pp. 53, 2014.
    [10]C. Y. Lin, “Realization of one-dimensional Cube Robot Capable of Bounce and Self-balancing based on Linear Quadratic Regulator Control”, Master's Thesis. University of Cheng Kung, 2018.
    [11]S. J. Chen, “Realization of Nonlinear Autonomous Cubical Robot Capable of Self-jumping and Self-balancing based on Parallel PID Controller”, Master's Thesis. University of Cheng Kung, 2020.
    [12]E. B. Wilson, “Linear Momentum, Kinetic Energy, and Angular Momentum”, The American Mathematical Monthly, Vol. 22, No. 6, pp. 187-193, 1915.
    [13]A. B. Arons,E. F. Redish, “Teaching introductory physics.”, New York: Wiley, pp362, 1997.
    [14]M. Jafari, Y. Yayli, “Generalized Quaternion and Rotation in 3-space E (3-alfa,beta)”, Department of Mathematics, Faculty of Science Ankara University, 2012
    [15]M. Hu, Q. Z.hang, Y. Jing, X. Li, “Unit quaternion description of spatial rotation in 3D electron cryo-microscopy”, journal of Structural Biology, 2020
    [16]J. R. Dormand, P. J. Prince, “A family of embedded Runge-Kutta formulae.” Journal of computational and applied mathematics, vol. 6, no 1, pp.19-26, 1980.
    [17]E. Zupan, M. Saje, D. Zupan. “Quaternion-based dynamics of geometrically nonlinear spatial beams using the Runge–Kutta method”, Finite elements in analysis and design, vol 54, pp. 48-60. 2012.
    [18]S. P. Tseng, W. L. Li, C. Y. Sheng, J. W. Hsu, C. S. Chen, “Motion and attitude estimation using inertial measurements with complementary filter”, 2011 8th Asian Control Conference (ASCC), pp. 863-868, 2011
    [19]A. F. Albaghdadi, A. A. Ali. “An Optimized Complementary Filter For An Inertial Measurement Unit Contain MPU6050 Sensor.”, Iraqi Journal for Electrical & Electronic Engineering, pp. 71-77, 2019.
    [20]K. H. Ang, G. Chong, Y. Li, “PID control system analysis, design, and technology”, IEEE Transactions on Control Systems Technology, vol. 13, no. 4, pp. 559-576, 2005.
    [21]J. X. Xu, C. C. Hang, C. Liu. “Parallel structure and tuning of a fuzzy PID controller”, Automatica, vol. 36, no. 5, pp.673-684. 2000.
    [22]S. Kucuk, Z. Bingul. “Robot kinematics: Forward and inverse kinematics.”, INTECH Open Access Publisher, 2006.
    [23]J. Holtz, “Pulsewidth modulation-a survey.”, IEEE Transactions on Industrial Electronics, vol. 39, no. 5, pp. 410-420, 1992.
    [24]A. O'Dwyer, “Handbook of PI and PID controller tuning rules.”, World Scientific., 2009.
    [25]J. M. Lattimer, B. F. Schutz, “Constraining the equation of state with moment of inertia measurements.”, The Astrophysical Journal, vol. 629, no. 2, pp. 979, 2005
    [26]F. Leens, “An introduction to I2C and SPI protocols.”, IEEE Instrumentation & Measurement Magazine, vol. 12, no. 1, pp. 8-13, 2009.
    [27]STMicroelectronics co., ”STM32F427xx STM32F429xx Datasheet - production data”, STMicroelectronics co. , 2018.
    [28]S. C. Venema, “A kalman filter calibration method for analog quadrature position encoders.”, Master's Thesis. University of Washington, 1994.
    [29]D. S. Fedorov, A. Y. Ivoylov, V. A. Zhmud, V. G. Trubin, ” Using of Measuring System MPU6050 for the Determination of the Angular Velocities and Linear Accelerations”, Automatics & Software Enginery, vol. 11, no. 1, pp. 75-80, 2019.
    [30]“Interface MPU6050 Accelerometer and Gyroscope Sensor with Arduino”, LastMinuteEngineers.com, 2021.

    下載圖示
    2026-08-11公開
    QR CODE