Responsive image
博碩士論文 etd-0203104-124001 詳細資訊
Title page for etd-0203104-124001
論文名稱
Title
MATLAB與嵌入式控制器之整合控制應用
The Integration of MATLAB and Embedded Controller for Control Application
系所名稱
Department
畢業學年期
Year, semester
語文別
Language
學位類別
Degree
頁數
Number of pages
74
研究生
Author
指導教授
Advisor
召集委員
Convenor
口試委員
Advisory Committee
口試日期
Date of Exam
2004-01-13
繳交日期
Date of Submission
2004-02-03
關鍵字
Keywords
控制器快速原型化、Real-Time Workshop、MATLAB/Simulink、嵌入式控制器
Embedded controller, MATLAB/Simulink, Real-Time Workshop, Rapid controller prototyping
統計
Statistics
本論文已被瀏覽 5732 次,被下載 57
The thesis/dissertation has been browsed 5732 times, has been downloaded 57 times.
中文摘要
近年來,由於電腦、通訊及消費性電子產業的蓬勃發展,使得對於嵌入式控制器的需求與日俱增,然而因應其產品生命週期短、技術汰換速度快的產業特性,各相關產業無不致力於改進其產品的設計方式及技術,以求縮短嵌入式控制器的開發時間及降低生產成本。因此,有人提出了控制器快速原型化的嶄新設計概念,以解決目前在開發控制器時所面臨的問題。然而,大部份的解決方案其建置成本昂貴且在軟、硬體的搭配選擇上往往受到限制,對於從事學術研究較為不適合。

為了解決上述的問題,本論文中選擇廣為學術界所採用的MATLAB/Simulink、Real-Time Workshop進行控制器快速原型化的研究。而在此也將以建立一控制器快速發展平台為目標,並在此平台上進行控制器的設計、模擬與驗證。最後,利用所設計完成的控制器對一實體的受控廠進行控制。期望有效地解決目前在開發控制器所面臨的諸多問題。
Abstract
In recent years, the requirement for embedded controllers has been steadily on the increase due to the development of computers, communication and consumptive products. In order to overcome the pressure of short life-time and rapid changing rate of products, however, related industries have been engaged in improving their design to shorten the time to market and to lower the cost. Therefore, a new concept, rapid controller prototyping, has been proposed to solve the problem with the development of controllers. However, most of the proposals are expensive and restricted in the choice of software and hardware, and aren’t adequate for research.

To solve the problems above, this paper has chosen MATLAB/Simulink, Real-Time Workshop, a software widely used by the academic community, as tools to study rapid controller prototyping. Here, we also focus on the establishment of the developing platform. Then we design, simulate and test the controller on the platform established. Finally, we apply the controller to the physical plant. By doing so, this paper expects to solve current problems in the development of controllers.
目次 Table of Contents
目錄
目錄…………………………………………………………………….…I
圖索引…………………………………………………………………..IV
表索引………………………………………………………………….VII
中文摘要…………………………………..………………………….VIII
英文摘要…………………………………..……………………………IX
第一章 緒論
1-1前言……………………………………………………………1
1-2動機與目的……………………………………………………2
1-3文獻回顧………………………………………………………4
1-4論文架構………………………………………………………6
第二章 嵌入式控制系統之建構
2-1嵌入式系統簡介..……………………………………………...7
2-2 MATLAB軟體環境介紹……………………………………...9
2-2-1 MATLAB……………………………………………….9
2-2-2 RTW……………………………………………………11
2-2-3 RTW的應用…………………………………………...13
2-3嵌入式設備特性………………………………………………16
2-4 系統規劃與建立……………………………………………...19
2-4-1 硬體驅動程式模塊之建立…………………………...22
2-4-2 RTW元件檔之撰寫………………………………….25
2-4-3 通訊功能之規劃……………………………………..28
2-4-4 人機介面之開發……………………………………..35
2-5 系統效能測試……………………………………………….37
2-6 控制器發展流程比較……………………………………….43
第三章 系統鑑別實驗
3-1系統架構……………………………………………………..45
3-2系統動態模式之建立………………………………………..47
3-3系統之簡化模型與實驗結果的比較………………………..50
第四章 運動控制實驗
4-1實驗系統架構………………………………………………..53
4-2定位控制……………………………………………………..57
4-2-1軌跡規劃………………………………………………...57
4-2-2 PID控制器………………………………………………59
4-2-3 模擬與實驗結果比較..…………………………………60
4-3輪廓控制……………………………………………………..61
4-3-1 直線軌跡追循…………………………………………..61
4-3-2 圓軌跡追循……………………………………………..65
4-4實驗結果探討………………………………………………...68
第五章 結論……………………………………………………...69
參考文獻………………………………………………………………72
參考文獻 References
參考文獻
[1]. Milam, W.P., “A distributed computing approach to rapid prototyping for embedded controllers,” Circuits and Systems, 1993., Proceedings of the 36th Midwest Symposium on , 16-18 Aug. 1993, Vol. 2, p1155-1158.
[2]. Hanselmann, H., “Automotive Control: From Concept to Experiment to Product,” Proceeding of the 1996 IEEE international Symposium on Computer-Aided Control System Design Dearborn, 1996.
[3]. D. Burns; T. Sugar, “Rapid Embedded Programming for Robotic Systems,” submitted to Proceedings of the 2002 ASME Design Engineering Technical Conferences and Computers in Engineering Conference, CD-ROM, 2002.
[4]. Teng, F.C., “Real-time control using Matlab Simulink,” Systems, Man, and Cybernetics, 2000 IEEE International Conference on, 8-11 Oct. 2000, Vol. 4, p2697-2702.
[5]. Shiakolas, P.S.; Piyabongkarn, D., “On the development of a real-time digital control system using xPC-Target and a magnetic levitation device,” Decision and Control, 2001. Proceedings of the 40th IEEE Conference on, 4-7 Dec. 2001, Vol. 2, p1348-1353.
[6]. C.D. French, J.W. Finch and P.P. Acarnley, “Rapid prototyping of a real-time DSP based motor drive controller using SIMULINK,” IEE Conference, SIM’98, York, UK, 1998.
[7]. Stylo, A.W.; Diana, G., “A low cost, high performance PC based integrated real-time motion control development system,” Industrial Electronics, 1998. Proceedings. ISIE '98. IEEE International Symposium on, 7-10 July 1998, Vol.1, p127-130.
[8]. Rebeschiess, S., “MIRCOS – microcontroller-based real time control system toolbox for use with Matlab/Simulink,” Computer Aided Control System Design, 1999. Proceedings of the 1999 IEEE International Symposium on, 22-27 Aug. 1999, p267-272.
[9]. Michael Barr, Programming Embedded Systems in C and C++, O’Reilly, 1999.
[10]. Cheng, C.C.; Chen, C.Y., ”A PID approach to suppressing stick-slip in the positioning of transmission mechanisms,” Cont. Eng. Practice, 1998, Vol. 6, No 4, p359-367.
[11]. The MathWorks, Inc., Real-Time Workshop – User’s Guide; Version 4, Natick, 2001.
[12]. The MathWorks, Inc., Simulink – Writing S-Functions; Version 4, Natick, 2001.
[13]. The MathWorks, Inc., Inc., Matlab – External Interfaces Reference Version 6, Natick, 2002.
[14]. The MathWorks, Inc., Matlab – Creating Graphical User Interfaces; Version 6, Natick, 2002.
[15]. The MathWorks, Inc., Target Language Compiler – Reference Guide; Version 5, Natick, 2002.
[16]. The MathWorks, Inc., Real-Time Windows Target – User’s Guide; Version 2, Natick, 2002.
[17]. The MathWorks, Inc., xPC Target – User’s Guide; Version 2, Natick, 2002.
[18]. RDC Semiconductor Co., Ltd., R1120 16-Bit RISC Microcontroller User’s manual; Rev 1.2.
[19]. A.N. Poo; G.B. J; G.W. Y, “Dynamic error in type 1 contouring system,” IEEE Trans. On Industry Application, 1972, Vol. IA-8, No. 4, p477-478.
[20]. 周佑誠, “網路遠端遙控訊號延遲之改善,” 國立中山大學機械工程研究所, 碩士論文, 民國八十九年六月三十日。
[21]. 黏添壽, Internet網路原理與實務, 旗標出版股份有限公司, 民國九十二年。
[22]. 黃俊堯; 黃耀文; 許景華; 陳孝忠, Winsock 網路程式設計之鑰,資訊人文化事業出版社, 民國八十五年。
[23]. 陳正義; 何坤鑫; 程啟正, Visual Basic程式設計與圖形監控應用, 滄海書局, 民國九十一年。
[24]. 薛博文, “雙馬達之同步運動控制,” 國立中山大學機械工程研究所, 碩士論文, 民國九十年六月。
電子全文 Fulltext
本電子全文僅授權使用者為學術研究之目的,進行個人非營利性質之檢索、閱讀、列印。請遵守中華民國著作權法之相關規定,切勿任意重製、散佈、改作、轉貼、播送,以免觸法。
論文使用權限 Thesis access permission:校內一年後公開,校外永不公開 campus withheld
開放時間 Available:
校內 Campus: 已公開 available
校外 Off-campus:永不公開 not available

您的 IP(校外) 位址是 3.133.159.224
論文開放下載的時間是 校外不公開

Your IP address is 3.133.159.224
This thesis will be available to you on Indicate off-campus access is not available.

紙本論文 Printed copies
紙本論文的公開資訊在102學年度以後相對較為完整。如果需要查詢101學年度以前的紙本論文公開資訊,請聯繫圖資處紙本論文服務櫃台。如有不便之處敬請見諒。
開放時間 available 已公開 available

QR Code