
論文英文名稱 Stability Derivatives Identification and Hardware-in-the-Loop Real-time Simulation of Unmanned Air Vehicle 論文中文名稱 無人飛行載具的穩定性導數識別與硬體迴路即時控制 作者中文姓名 吳連堂 英文關鍵字 HILS autopilot optimal estimation UAV 中文關鍵字 硬體迴路模擬 自動駕駛 最佳化估測 無人飛行載具 英文摘要 The thesis explores three subjects, including the optimal estimation of dimensional stability derivatives in linear model of unmanned air vehicle (UAV) longitudinal and lateral dynamics, the control law design of UAV autopilot, and the hardware-in-the-loop simulation (HILS) system setup for real-time control experiment. In stability derivatives identification, at first the raw data from UAV test flight were carefully preprocessed to obtain the fine input-output data in 6 flight sections for longitudinal motion and 8 flight sections for lateral motion. Second, the dimensional stability derivatives were optimal estimated by applying the nonlinear least squares method. In addition, the linear least squares method was also used to figure out the initial guess for the nonlinear least squares method. As a result, 5 longitudinal models and 7 lateral models with root mean square error (RMSE) less than 5 were identified. Third, the impulse responses of the identified models were checked. Those models which did not have proper cause-effect relations between the input and output were eliminated. At last the union optimization procedure was proposed to obtain the final linear state-space model of UAV longitudinal and lateral motion. The resulting model not only met the RMSE criterion for different flight sections but also had reasonable input-output relationship. In UAV autopilot design, four feedback loops, such as altitude (pitch angle) loop, velocity loop, attitude (roll angle) loop, and heading (yaw angle) loop were considered. The optimal PID (proportional-integral-derivative) control laws were designed to satisfy the time-domain specifications by using the Nonlinear Control Design Blockset in the computer-aided control system design software MATLAB/Simulink. In real-time control experiment, the HILS system consisted of one PC, four data acquisition cards, and one PXI (PCI eXtensions for Instrumentation) embedded real-time controller was setup successfully. The graphical programming language LabVIEW providing convenient and tight integration with software and hardware was applied for the measurement and control in HILS system. The individual simulations of controller and plant were running independently and the communications between controller and plant were under a fixed sampling frequency. The results of HILS revealed that the inevitable time delay resulting from program computation would seriously destroy the performance and stability of real-time control system especially when the sampling frequency is rather low; however, the non-real-time computer simulation cannot reveal this critical time-delay problem. The importance of HILS is definitely confirmed. 中文摘要 本論文研究的主題涵輓L人飛行載具(Unmanned Air Vehicle, UAV)縱向(longitudinal)與橫向(lateral)運動的線性模型中因次化穩定性導數(dimensional stability derivatives)的最佳化估測(optimal estimation)、自動駕駛(autopilot)控制律的設計、與硬體迴路模擬(Hardware-in-the-Loop Simulation, HILS)的即時控制(real-time control)實驗。在穩定性導數識別(identification)的部分,根據UAV的實際試飛資料(raw data),首先經過有系統地前處理程序,得到6組縱向運動與8組橫向運動的精細輸入輸出數據(fine input-output data),其次,以非線性最小平方法(nonlinear least squares method)配合線性最小平方法(linear least squares method)提供初始猜值,進行因次化穩定性導數的兩階段最佳化估測,獲得縱向5組與橫向7組滿足均方根誤差(Root Mean Square Error, RMSE)小於5的數學模型,然後檢驗各數學模型的脈衝響應(impulse response),將不符合輸入與輸出之間因果關係的模型刪除,最後,以聯合最佳化程序(union optimization procedure)得到與實際飛行數據吻合而且具有合理物理行為的UAV縱向運動與橫向運動的線性狀態空間模型(linear state-space model)。對於自動駕駛的設計,針對四個回授迴路(feedback loop),包括高度(俯仰角)迴路、速度迴路、姿態(滾轉角)迴路、頭向(偏航角)迴路,應用電腦輔助控制系統設計軟體MATLAB/Simulink中的非線性控制設計模組(Nonlinear Control Design Blockset),完成符合時域規格(time-domain specifications)的最佳化PID (Proportional-Integral-Derivative)控制律設計。在即時控制的實驗部分,成札膃X一部個人電腦、4張資料擷取卡、與一個PXI(PCI eXtensions for Instrumentation)標準架構的嵌入式即時控制器(embedded real-time controller),建構出UAV飛控系統的HILS實驗平台,並且使用圖控程式語言LabVIEW做為軟體開發環境,在UAV自動駕駛律的即時控制實驗中,控制器(controller)與受控體(plant)各自獨立運作,彼此透過固定的取樣頻率(sampling frequency)傳遞控制訊號(control signal)與受控體的狀態輸出訊號(state output signal),從實驗結果中發現,當取樣頻率較低時,由於程式計算(computation)所產生的無可避免的時間延遲(time delay),將會嚴重地危害即時控制系統的性能(performance)與穩定性(stability),這點是無法透過非即時電腦模擬(non-real-time computer simulation)來察覺的,所以即時HILS的重要性獲得充分的証實。 統計 本論文已被瀏覽 60 次,造訪原文 0 次 畢業學校 正修科技大學 出版單位 正修科技大學 論文目次 目錄
中文摘要 i
英文摘要 iii
致謝 v
目錄 vi
表目錄 x
圖目錄 xi
符號說明 xx
第一章 緒論 1
1-1 前言 1
1-2 研究動機 1
1-3 研究背景 2
1-4 研究方法 4
1-5 各章概述 6
第二章 UAV動態數學模型與飛行數據處理 7
2-1 UAV線性化動態數學模型 7
2-2 飛行數據的處理 9
2-2-1 飛行區段的選取 10
2-2-2 數據轉換 11
2-2-3 尤拉角的計算 12
2-2-4 線速度分量的推求 13
2-2-5 異常數據的判定與處理 14
2-3 配平點的處理 14
第三章 穩定性導數的估測 17
3-1 誤差輸出法 17
3-2 線性最小平方法 18
3-3 非線性最小平方法 22
3-4 縱向穩定性導數估測結果 23
3-5 橫向穩定性導數估測結果 24
3-6 巡迴最佳化法 25
3-7 聯合最佳化法 29
第四章 自動駕駛設計 31
4-1 MP2000GCS自動駕駛設定 31
4-1-1 電子地圖設定 31
4-1-2 自動駕駛迴路設定與介紹 32
4-2 自動駕駛控制律設計 34
4-2-1 Ziegler-Nichols規則 34
4-2-2 非線性控制設計模組 35
4-3 俯仰角自動駕駛 36
4-4 定速度自動駕駛 39
4-5 滾轉角自動駕駛 41
4-6 偏航角自動駕駛 43
第五章 硬體迴路即時模擬 47
5-1 軟體介紹 47
5-2 硬體介紹 49
5-2-1 控制器 49
5-2-2 受控體 50
5-2-3 其他相關硬體裝置 51
5-2-4 HIL硬體訊號運作流程 52
5-3 硬體介面測試與設定 52
5-3-1 PXI 網路連結與軟體安裝方式 52
5-3-2 類比輸入介面卡PXI-6220 53
5-3-3 計數器/計時器介面卡PXI-6602 56
5-3-4 類比輸出介面卡PCI-6703 56
5-3-5 計數器/計時器介面卡PCI-6602 59
5-4 LabVIEW程式概述 59
5-4-1 建構控制器端程式步驟 64
5-4-2 建構受控體端程式步驟 64
5-5 自動駕駛的HIL即時模擬驗證 65
5-5-1 俯仰角自動駕駛即時模擬驗證 65
5-5-2 定速度自動駕駛即時模擬驗證 66
5-5-3 滾轉角自動駕駛即時模擬驗證 68
5-5-4 偏航角自動駕駛即時模擬驗證 68
第六章 結論與建議 70
6-1 結論 70
6-2 建議 73
參考文獻 74參考文獻 參考文獻
[1]陳卓歆, 利用GPS導航的無人飛機之系統設計與測試, 國立成奶j學航空太空工程研究所碩士論文, 2001.
[2]楊政城, 無人飛行載具自動飛行機載電腦平台開發, 國立成奶j學航空太空工程研究所碩士論文, 2002.
[3]黃培育, 小型無人自主式直昇機整體系統架構規劃及航電系統建立, 元智大學機械工程研究所碩士論文, 2003.
[4]Hsieh, C., Yang, Y. K., Wu, S. C., Wang, H. S., Chen, C. H., Hsieh, J., Lin, K. Y., Lee, S. F., Chen, C. H., Hung, C. C., and Liu, B. Y., “Design and Verification of a PC-Based Control System for an Uninhabited Airship,” Transactions of the Aeronautical and Astronautical Society of the Republic of China, Vol. 36, No. 3, pp. 279-290, 2004.
[5]吳昌暉, 黃祺欽, “小型無人飛機縱向飛行模式控制系統之設計與實作,” 中國航太學會/中華民航學會聯合學術研討會, 逢甲大學,台中市,中華民國, 2004.
[6]Li, Q., and Yao, C., 王安生譯, 高文忠修訂, 嵌入式系統的即時概念(Real-Time Concepts for Embedded Systems), 五南圖書出版公司, 2005.
[7]Ledin, J., Simulation Engineering, CMP Books, 2001.
[8]張光華, 以最小平方法建立直升機數值模型, 國立成奶j學航空太空工程研究所碩士論文, 2001.
[9]黃琮琳, 建立直升機停懸控制使用之數值模型, 國立成奶j學航空太空工程研究所碩士論文, 2001.
[10]楊明浩, 固定翼微型無人載具設計與空氣動力性能分析, 成奶j學航空太空工程研究所碩士論文, 2001.
[11]王慶銅, 飛行器穩定與控制氣動力導數鑑別研究, 國防大學中正理工學院兵器系統工程研究所碩士論文, 2002.
[12]孫允平, 梁燕祝, 游義地, 陳建丞, “無人空中載具之飛行控制:應用試飛資料之類神經網路建模,” 2003中國航空太空學會/中華民用航空學會學術研討會, 國立成奶j學, 台南市, 2003.
[13]孫允平, 陳建丞, “無人飛行載具MP2000UAV之縱向氣動力參數識別,” 2004年航空機械工程學術研討會論文集, pp.B2-13~B2-22., 空軍軍官學校, 高雄縣岡山, 中華民國, 2004.
[14]孫允平, 陳建丞, “無人飛行載具MP2000UAV之橫向氣動力參數識別,” 2004年中國航空太空學會/中華民用航空學會聯合學術研討會, 逢甲大學, 台中市, 2004.
[15]吳昌暉, 蔡明宏, “小型無人定翼機之系統參數校調與半自動起飛邏輯設計,” 2004年中國航太學會/中華民航學會聯合學術研討會, 逢甲大學, 台中市, 2004.
[16]Hu, C., Huang, X., Hu, J., and Zhu, J., “System Identification of a Small UAV’s Speeding Up Process Before Take-off,” 5th Asian Control Conference, 2004.
[17]Cerro, J., Valero J., and Barrientos, A., “Identification of a Small Unmanned Helicopter Model using Genetic Algorithms,” IEEE/RSJ International Conference on Intelliqent Robots and System, pp. 3360-3365, 2005.
[18]林穎裕, 飛行模擬實驗平台應用於姿態控制次系統之設計, 行政院國家科學委員會專題研究計畫成果報告, 1995.
[19]Cosic, K., Kopriva, I., Kostic, T., Slamic, M., and Volareic, M., “Design and Implementation of a Hardware-in-the-loop Simulator for a Semi-Automatic Guided Missile System,” Simulation Practice and Theory, vol. 7, pp. 107-123, 1999.
[20]Isermann, R., Schaffnit, J., and Sinsel, S., “Hardware-in-the-Loop Simulation for the Design and Testing of Engine-Control Systems,” Control Engineering Practice 7, pp. 643-653, 1999.
[21]蘇建彰, 汽車ABS控制之硬體迴路模擬與實驗, 大葉大學車輛工程學系碩士論文, 2004.
[22]蕭保成, 全球衛星定位系統硬體迴路模擬, 國立台灣大學電機工程學研究所碩士論文, 2004.
[23]黃榮興, 郭明松, 吳麗華, “空間迷向機動感參數之即時調整與硬品迴路之模擬驗証,” 中國航空太空學會/中華民用航空學會聯合學術研討會, 逢甲大學, 台中市, 中華民國, 2004.
[24]洪瑞昱, 無人飛行載具航電硬體整合與導引律分析, 國立成奶j學航空太空工程學系碩士論文, 1999.
[25]Lin, Y. Y., and Chen, T. W., “UAV Guidance and Fight Control Law Design Integration and Simulation,” AASRC/CIROC/CSCA Aerospace Joint Conference, Tauyuan, Taiwan, R. O. C., pp. 251-258. No. AA-99-CT-11, 1999.
[26]Carrijo, D. S., Oliva, A. P., and Filho, W. C. L., “Hardware-in-Loop Simulation Develpment,” International Journal of Modeling and Simulation, Vol. 22, No. 3, 2002.
[27]謝旼儒, 無人飛行載具於大氣環境中穩定性之硬體迴路模擬平台, 國立成奶j學航空太空工程學系碩士論文, 2004.
[28]林煥巍, 林穎裕, “無人飛行載具導引飛控整合自動駕駛儀參數選取之研究,” 中國航空太空學會/中華民用航空學會聯合學術研討會, 逢甲大學, 台中市, 2004.
[29]傅t文, 發展UAV飛控系統之硬體迴路模擬平台, 正修科技大學機電工程研究所碩士論文, 2005.
[30]陳建丞, 無人飛行載具MP2000UAV之氣動力參數識別, 正修科技大學機電工程研究所碩士論文, 2004.
[31]Nelson, R. C., Flight Stability and Automatic Control, 2nd Ed, McGraw-Hill Book Company, 1998.
[32]Stevens, B. L., and Lewis, F. L., Aircraft Control and Simulation, 2nd Ed., John Wiley & Sons, 2003.
[33]MP2000 Installation and Operation manual, MicroPilot Inc., 2001.
[34]Kane, T. R., Likins P. W., and Levinson, D. A., Spacecraft Dynamics, McGraw-Hill Book Company, 1983.
[35]John S. Bay, Fundamentals of Linear State Space System, McGraw-Hill, 1999.
[36]Ogata, K., Modern Control Engineering, 3th Ed., Prentice-Hall, 1997.
[37]Astrom, K. J., and Hagglund, T., PID Controller:Theory, Design, and Tunning, 2nd Ed., The Instrument society of America, 1995.
[38]Ogata, K., Discrete-Time Control Systems, Prentice-Hall, 1987.口試委員 孫允平 - 指導教授
核准日期 2006-07-21 類型 Electronic Thesis or Dissertation 格式 application/pdf 全文資料 校內外皆可取得 詳細資料暨全文 http://ethesys.csu.edu.tw/ETD-db/ETD-search-c/view_etd?URN=etd-0719106-150350 語言 Chi 權限 Copyright information available at source archive--CSU University