| 研究生: |
范文宣 Fan, Wen-Hsuan |
|---|---|
| 論文名稱: |
以xPC Target System為基礎之即時硬體迴路模擬與應用 Simulation and Applications of Real-Time Hardware in the Loop Based on the xPC Target System |
| 指導教授: |
何明字
Ho, Ming-Tzu |
| 學位類別: |
碩士 Master |
| 系所名稱: |
工學院 - 工程科學系 Department of Engineering Science |
| 論文出版年: | 2010 |
| 畢業學年度: | 98 |
| 語文別: | 中文 |
| 論文頁數: | 190 |
| 中文關鍵詞: | 即時硬體迴路 、系統模擬 |
| 外文關鍵詞: | real-time hardware in the loop, DSP, xPC Target |
| 相關次數: | 點閱:89 下載:6 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
本論文旨在建立一即時(Real-Time)硬體迴路(Hardware-in-the-Loop, HIL)平台,此平台以MathWorks公司所開發的xPC Target System為基礎,其架構由兩台電腦所組成,以MATLAB/Simulink為軟體介面,並搭配各式類比(analog)和數位(digital)介面進行訊號格式的轉換與傳輸,實現一個可以快速模擬、測試以及開發控制系統的平台,在此上平台可以快速地建立控制系統的模型,並利用即時電腦的運算能力,進行系統的即時模擬,透過此平台可以快速地進行系統的原型化(prototyping)設計,而且對於某些複雜且龐大的系統,可以節省設計過程中所需的時間、人力與金錢。在本論文中,吾人將對三種不同的系統進行數學模型推導以及控制器之設計,分別是球與輪系統、單輪車系統與火箭系統,最後分別將此三種系統載入即時硬體迴路平台,進行即時控制,以驗證系統響應與即時硬體迴路平台之性能。
The objective of this thesis is to construct a platform for the purposes of real-time hardware-in-the-loop (HIL). This platform is based on the xPC Target System developed by MathWorks, and uses two computers and the MATLAB/Simulink to serve as the software interface. With two types of analog and digital interfaces for signal conversion and transmission, the platform can realize rapid simulation, testing and developing of control systems. Using this platform, one can quickly build the dynamic models of systems and use the real-time computational ability of Target PC to carry out the real-time simulation. It can carry out prototyping design quickly, and can save time, manpower and money for developing some complex and large systems in the design phase. In this thesis, we derive mathematical models of three different systems, namely the ball and wheel system, unicycle robot system and rocket system. The corresponding controllers are also designed. Finally, these obtained control systems are implemented on the developed real-time HIL platform for real-time control to verify the system responses and test the performance and effectiveness of real-time HIL.
[1] Real-Time Windows Target User’s Guide, MathWorks Inc., 2008.
[2] xPC Target Getting Started Guide, MathWorks Inc., 2008.
[3] 林浩軒,「利用全狀態回授線性化的球與輪系統之平衡控制」,國立成功大學工程科學系碩士論文,民國九十五年。
[4] 陳奕隆,「單輪車系統平衡控制之系統設計與實現」,國立成功大學工程科學系碩士論文,民國九十九年。
[5] Writing S-Functions (Version 5) Model-Based and System-Based Design, MathWorks Inc., 2002 .
[6] L. Chu, Y. L. Hou, M. H. Liu, J. Li, Y. M. Gao, and M. Ehsani, “Development of Air-ABS-HIL-Simulation Test Bench,” Proceedings of the 2007 IEEE Vehicle Power and Propulsion Conference, pp. 691-695, 2007.
[7] Y. Y. Wu, B. C. Chen, and K. D. Huang, “Application of Hardware In the Loop for Developing the Engine Management System,” Society of Automotive Engineers of Japan, 2007.
[8] Y. S. He, W. Liu, and B. J. Koch, “Battery Algorithm Verification and Development Using Hardware in the Loop Testing,” Journal of Power Sources, Vol. 195, No. 9, pp. 2969-2974, 2010.
[9] L. C. Smith and B. M. Gilliorn, “A Flexible Rapid-Prototyping System for Digital-Controlled High Power Converters,” Proceedings of IEEE Applied Power Electronics Conference and Exposition, Vol. 1, pp. 70-74, 2005.
[10] G. Pritschow and S. , “Hardware in the Loop Simulation of Machine tools,” CIRP Annals-Manufacturing Technology, Vol. 53, No. 1, pp. 295-298, 2004.
[11] R. Lal and R. Fitch, “A Hardware-in-the-Loop Simulator for Distributed Robotics,” Australasian Conference on Robotics and Automation, 2009.
[12] E. R. Mueller, “Hardware-in-the-loop Simulation Design for Evaluation of Unmanned Aerial Vehicle Control Systems,” AIAA Modeling and Simulation Technologies Conference and Exhibit, Vol. 1, pp. 530-543, 2007.
[13] 維基百科-對流層網址,http://zh.wikipedia.org/zh-tw/對流層
[14] 維基百科-密度網址,http://en.wikipedia.org/wiki/Density
[15] 劉士源,「以回授線性化與順滑模態控制之球與球系統的平衡控制」,國立成功大學工程科學系碩士論文,民國九十八年。
[16] B. L. Stevens and F. L. Lewis, Aircraft Control and Simulation, JOHN WILEY & SONS Inc., NY, 1992.
[17] 中央氣象局-風速表網址,
http://www.cwb.gov.tw/V6/education/encyclopedia/ty059.html
[18] J. B. Kuipers, Quaternions and Rotation Sequences: A Primer With Applications to Orbits, Aerospace, and Virtual Reality, Princeton University Press, America, 2002.
[19] J. N. Nielsen, Missile Aerodynamics, McGraw-Hill Book company Inc., USA, 1988.
[20] The USAF Stability and Control DATCOM, McDonnell Douglas Astronautics Company, 1999.
[21] 維基百科-Static Margin網址,
http://en.wikipedia.org/wiki/Static_margin
[22] 陳德徽,「以DSP晶片實現飛彈導控整合電路」,國立成功大學航空太空工程學系碩士論文,民國九十三年。
[23] 維基百科-聲速網址,http://en.wikipedia.org/wiki/Speed_of_sound
[24] 凌朝雄,「慣性輪單擺之非線性控制」,國立成功大學工程科學系碩士論文,民國九十三年。
[25] 洪介仁,「車與桿倒單擺系統之平衡控制」,國立成功大學工程科學系碩士論文,民國九十二年。
[26] V. Utkin, J. Guldner, and J. Shi, Sliding Mode Control in Electromechanical System, CRC Press, Boca Raton, 1999.
[27] ADG506A Datasheet, Analog Device Inc., 1998.