系統識別號 | U0002-1003201409402500 |
---|---|
DOI | 10.6846/TKU.2014.00250 |
論文名稱(中文) | 分布式多微控器系統發展環境設計 |
論文名稱(英文) | Design of a Distributed Multi-Microcontroller Based Control System Development Environment. |
第三語言論文名稱 | |
校院名稱 | 淡江大學 |
系所名稱(中文) | 航空太空工程學系碩士班 |
系所名稱(英文) | Department of Aerospace Engineering |
外國學位學校名稱 | |
外國學位學院名稱 | |
外國學位研究所名稱 | |
學年度 | 102 |
學期 | 1 |
出版年 | 103 |
研究生(中文) | 洪為勝 |
研究生(英文) | Wei-Sheng Hung |
學號 | 698430609 |
學位類別 | 碩士 |
語言別 | 繁體中文 |
第二語言別 | |
口試日期 | 2014-01-14 |
論文頁數 | 90頁 |
口試委員 |
指導教授
-
蕭照焜
委員 - 馬德明 委員 - 何翊 |
關鍵字(中) |
微控制器 感測器 I2C 無跡卡曼濾波器 |
關鍵字(英) |
microcontroller sensor I2C Unscented Kalman |
第三語言關鍵字 | |
學科別分類 | |
中文摘要 |
本論文探討分布式多微控制器系統之設計、實現與驗證。首先建構一個以DSPIC微控制器為核心的系統架構,此架構由三個子系統組成,分別為感測及姿態角計算模組、控制模組、及地面控制站。感測器包含三軸陀螺儀、加速儀、及電子羅盤與一個GPS接收器。感測器與主控制板及主控制板與次控制板之間透過I2C通訊介面建構成一個獨立的網路控制系統,主控制板上的微控制器扮演MASTER 的角色,其餘為SLAVE。整個硬體設計採模組化之設計,因此組合主控制板及次控制板即可成為系統之控制模組使用。本設計之核心為具DSP運算功能的多顆微控制器,因此我們在此系統上實現複雜的非線性卡曼濾波,執行姿態角計算。感測及姿態角計算模組與控制模組透過USART傳遞資料。因為本系統為模組化設計,我們可以很容易地擴充系統的航電需求。 |
英文摘要 |
This Thesis investigates the design and implementation of a distributed multi-microcontroller based control system development environment. A DSPIC microcontroller (MCU) based system architecture is established first. The system contains three major parts, namely, sensing and attitude determination section, control section, and ground section. The sensing and attitude determination section consists of four circuit boards (master control board, slave control board, sensor board, and power supply board) with identical size ( ). The sensor boards contains three axes inertial measurement unit (include gyro, accelerometer, and electronic compass) and a GPS receiver. The sensors and the DSPIC MCUs are connected over an I2C (inter-integrated circuit) data bus with the DSPIC on the master control board as the master MCU. Unscented Kalman filter based attitude estimation is incorporated in this embedded system. With incorporation of modular design, combination of the master control board and the slave control board will form the control section of the system. Communications between sections are achieved through USART interface. Because of modular design, the system can be easily expanded to integrate other avionics functions. |
第三語言摘要 | |
論文目次 |
目錄 第一章 緒論 1 1.1研究背景與目的 1 1.2文獻回顧 2 1.3研究方法 3 第二章 系統設計 5 2.1系統架構 5 2.2通訊模組 7 第三章 串列埠軟體設定 10 3.1 UART 10 3.2 I2C 14 第四章 硬體設計 23 4.1 硬體元件與資料格式校準 23 4.2 硬體架構與各部細件 32 第五章 飛行姿態角計算 41 5.1航向角計算 42 5.2 重力場三軸分量計算姿態角 43 5.3 四元素計算姿態角 47 5.4 卡曼濾波器計算姿態角 50 5.5 雜訊特性與修正 51 5.6無跡卡曼濾波器 57 第六章 應用與驗證 61 6.1 四元數結合卡曼濾波器 61 6.2結果驗證 68 第七章 未來工作與展望 76 參考文獻 79 圖目錄 圖 2.1-1系統架構圖 6 圖 2.2-1 UART連接範例 7 圖 2.2-2 寫入模式 8 圖 2.2-3 讀取模式 8 圖 2.2-4 I2C硬體串接 9 圖 3.1-1 UART基本流程圖 14 圖 3.2-1傳輸時BUS電壓變化 15 圖 3.2-2 I2C程式流程架構 22 圖 4.1-1 定義坐標軸 25 圖 4.1-2 修正線段 27 圖 4.1-3 X軸的數據對時間 31 圖 4.1-4 Y軸的數據對時間 31 圖 4.1-5X軸對Y軸 32 圖 4.2-1硬體架構 33 圖 4.2-2感測器板 34 圖 4.2-3主控制版 34 圖 4.2-4次控制板 35 圖 4.2-5電源提供板 35 圖 4.2-6主控制板電路圖 36 圖 4.2-7次控制板電路圖 37 圖 4.2-8電源提供版電路圖 38 圖 4.2-9感測器板電路圖 39 圖 4.2-10系統組合後的成果 39 圖 5-1歐拉角[16] 41 圖 5.1-1 地磁分量[16] 42 圖 5.2-1重力場分量[16] 44 圖 5.2-2由旋轉角速度造成的速度變化之分量[16] 45 圖 5.4-1透過卡曼濾波器計算姿態角流程[16] 51 圖 5.6-1 UKF流程圖 60 圖 6.1-1四元數結合UKF的主要流程 61 圖 6.1-2 SIGMA POINT的選法 62 圖 6.2-1 靜態時俯仰角變化(與重力場分量的比較) 69 圖 6.2-2 靜態時滾轉角變化(與重力場分量的比較) 69 圖 6.2-3 靜態時航向角變化(與重力場分量的比較) 70 圖 6.2-4 靜態時伏仰角變化(與四元數的比較) 70 圖 6.2-5靜態時滾轉角變化(與四元數的比較) 71 圖 6.2-6靜態時航向角變化(與四元數的比較) 71 圖 6.2-7動態時航向角變化(與重力場的比較) 72 圖 6.2-8動態時滾轉角變化(與重力場的比較) 73 圖 6.2-9動態時伏仰角變化(與重力場的比較) 73 圖 6.2-10動態時航向角變化(與四元數的比較) 74 圖 6.2-11動態時滾轉角變化(與四元數的比較) 74 圖 6.2-12動態時伏仰角變化(與四元數的比較) 74 圖 7.1-1 本系統與手機進行資料通訊76 圖 7.1-2 系統擴充性77 |
參考文獻 |
參考文獻 [1] Sukkarieh, Salah, Eduardo M. Nebot, and Hugh F. Durrant-Whyte.,A high integrity IMU/GPS navigation loop for autonomous land vehicle applications.,Robotics and Automation, IEEE Transactions on 15.3 (1999): 572-578. [2] Van Der Merwe, Rudolph, Eric A. Wan, and Simon Julier.,Sigma-point Kalman filters for nonlinear estimation and sensor-fusion—Applications to integrated navigation., Proceedings of the AIAA Guidance, Navigation, and Control Conference. 2004. [3] Hoffmann, Gabriel M., et al.,Quadrotor helicopter flight dynamics and control: Theory and experiment., Proc. of the AIAA Guidance, Navigation, and Control Conference. 2007. [4] 聶博文,微小型四旋翼飛行器的研究现状與關鍵技術.,電光與控制 14.6 (2007): 113-117. [5] 曾宥竣,四旋翼飛行機器人與影像追蹤之整合應用.虎尾科技大學航空與電子科技研究所 ,2012. [6] Philip INC., THE I 2C-BUS SPECIFICATION VERSION 2.1,2000 [7] 曾百由, dsPIC數位訊號控制器原理與應用 MPLAB C30開發實務,宏友圖書,2005 [8] Microchip Technology Inc., Section 19. Inter-Integrated Circuit™(I2C™),2009 [9] 廖淑華,多單晶片飛行電腦的無人飛行載具, 淡江大學航空 太空工程學系碩士論文, 2010。 [10] 陳沛仲,手擲無人飛行載具之研究、設計與實現, 淡江大學航空 太空工程學系碩士論文,2009。 [11] Microchip Technology Inc., dsPIC33FJ32GP302/304, dsPIC33FJ64GPX02/X04, and dsPIC33FJ128GPX02/X04,2012 [12] STMicroelectronics INC., L3GD20 and LSM303DLHC 9-axis module for a standard DIL24 socket,2011 [13] Linx Technologies Inc., R4 Series GPS Receiver Module Data Guide,2013 [14] STMicroelectronics INC.,AN3192 Application Note,2010 [15] 彭誌宇, 採用羅德里格參數進行姿態計算之研究, 淡江大學航空太空工程學系碩士論文,2012。 [16] 王奕強, 非線性卡曼濾波器於飛行姿態計算之研究, 淡江大學航空太空工程學系碩士論文,2011 [17] Microchip Technology Inc., 16-BIT LANGUAGE TOOLS GETTING STARTED,2008 [18] BOUABDALLAH, Samir; NOTH, Andre; SIEGWART, Roland. PID vs LQ control techniques applied to an indoor micro quadrotor. In: Intelligent Robots and Systems, 2004.(IROS 2004). Proceedings. 2004 IEEE/RSJ International Conference on. IEEE, 2004. p. 2451-2456. [19] BOUABDALLAH, Samir; SIEGWART, Roland. Backstepping and sliding-mode techniques applied to an indoor micro quadrotor. In: Robotics and Automation, 2005. ICRA 2005. Proceedings of the 2005 IEEE International Conference on. IEEE, 2005. p. 2247-2252. [20] HUDDLESTON, Creed. Intelligent sensor design using the microchip dsPIC. Newnes, 2006. [21] MANEA, Sorin. Stepper Motor Control with dsPICR DSCs. Microchip Application Note, 2009, 1-26. [22] ARULMOZHIYAL, R., et al. Real time MATLAB Interface for speed control of Induction motor drive using dsPIC 30F4011. International Journal of Computer Applications, 2010, 1.5: 85-90. |
論文全文使用權限 |
如有問題,歡迎洽詢!
圖書館數位資訊組 (02)2621-5656 轉 2487 或 來信