Responsive image
博碩士論文 etd-0704113-145310 詳細資訊
Title page for etd-0704113-145310
論文名稱
Title
馬達驅動器之具USB通訊功能的多執行緒人機介面之研製
Develop a Multithreading Human-machine Interface with USB Communication for Motor Drivers
系所名稱
Department
畢業學年期
Year, semester
語文別
Language
學位類別
Degree
頁數
Number of pages
92
研究生
Author
指導教授
Advisor
召集委員
Convenor
口試委員
Advisory Committee
口試日期
Date of Exam
2013-07-23
繳交日期
Date of Submission
2013-08-04
關鍵字
Keywords
轉速控制、多執行緒、通用序列匯流排、馬達驅動器、人機介面
Multithread, Speed Control, USB, Motor Drivers, Human-machine Interface
統計
Statistics
本論文已被瀏覽 5698 次,被下載 252
The thesis/dissertation has been browsed 5698 times, has been downloaded 252 times.
中文摘要
人機介面經常是馬達驅動器的製作者,必須提供給使用者的重要軟體,因為使用者只能透過人機介面來設定馬達驅動器裡的參數,以及觀察轉速、轉矩等的重要資訊。本論文設計且製作了一個能與無刷直流馬達驅動器,以通用序列匯流排通訊的多執行緒人機介面。多執行緒人機介面使用的開發環境為Microsoft Visual Studio 2012,使用的程式語言為Visual C#。多執行緒人機介面共有五種功能,分別是轉速控制、位置控制、轉矩控制、測試模式,和設定其餘參數。轉速控制能設定轉速命令、轉速PI控制器的Kp和Ki、以及取得目前轉速值並繪製成圖形。位置控制能設定位置命令、編碼器解析度、電子齒輪分子、電子齒輪分母等參數,以及繪製位置曲線圖。轉矩控制能設定轉矩命令時間常數、轉速限制、轉矩輸出、零轉速通知等參數,以及繪製轉矩曲線圖。測試模式能進行位置的弦波函數測試、位置的步階函數測試、與轉速的步階函數測試,並且將這三種函數繪製成曲線圖。由實驗的結果證明,本研究確實地完成能應用在無刷直流馬達驅動器的多執行緒人機介面。
Abstract
The human-machine interface is always an important software application which developers of motor drivers must provide for users, because users only can set variables of the motor driver and watch important information of the speed and the torque by the human-machine interface. This thesis designs and implements a multithreading human-machine interface that can communicate with brushless DC motor drivers by USB. The human-machine interface was developed by Microsoft Visual Studio 2012 and programming language of Visual C#. There are totally five functions in the multithread human-machine interface, such as speed control, position control, torque control, tested mode, and the other setting of parameters. Speed control can determine command of the speed, Kp and Ki of the speed PI controller, and request the present speed to draw the line diagram. Position control can determine command of the position, resolution of the encoder, numerator of the electronic gear, denominator of the electronic gear, and sketch the position curve. Torque control can determine time constant of the torque command, restriction of the speed, output of the torque, notification of the zero speed, and sketch the torque curve. Tested mode can execute the test of sine function of position, the test of step function of position, the test of step function of speed, and use these data to sketch curves. The results from the experiment demonstrate that this study absolutely completes a multithread human-machine interface for brushless DC motor drivers.
目次 Table of Contents
論文審定書 i
誌謝 ii
中文摘要 iii
英文摘要 iv
目錄 v
圖次 viii
表次 xii
第一章 緒論 1
1.1 研究動機與相關文獻 1
1.2 研究方法 2
1.3 論文大綱 3
第二章 無刷直流馬達與驅動器硬體架構 4
2.1 無刷直流馬達介紹 4
2.1.1 無刷直流馬達規格 4
2.2 無刷直流馬達等效數學模型 6
2.3 無刷直流馬達驅動方法 9
2.3.1 弦波驅動法 9
2.4 驅動器硬體架構 10
2.4.1 智慧型功率模組 11
2.4.2 高速光耦合邏輯閘 13
2.4.3 緩衝器 14
2.4.4 光學編碼器 14
第三章 驅動器軟體架構 16
3.1 數位訊號處理器 16
3.2 驅動器軟體架構 18
3.3 轉速PI控制器 21
3.3.1 PID控制器 21
3.3.2 反積分終結PI控制器 22
3.4 轉速演算法 23
3.4.1 轉速計算 24
3.4.2 一階數位低通濾波器 25
第四章 多執行緒人機介面 26
4.1 整合開發環境 26
4.2 通訊方式 27
4.2.1 通用非同步收發器 28
4.2.2 通用序列匯流排 30
4.3 橋接器 32
4.4 電腦繪圖 34
4.5 多執行緒 36
4.6 圖形化控制項 37
4.7 多執行緒人機介面 42
4.7.1 指令編碼 42
4.7.2 各頁面規劃 44
第五章 實作成果 55
5.1 轉速控制實驗結果 55
5.2 位置控制實驗結果 65
5.3 轉矩控制實驗結果 67
5.4 測試模式實驗結果 69
5.5 其餘參數設定實驗結果 71
5.6 單一指令所需時間的實驗結果 72
第六章 結論與未來展望 74
6.1 結論 74
6.2 未來展望 74
參考文獻 76
參考文獻 References
[1] 郭俊宏,“PC-based 運動控制系統之研製”,國立交通大學電機與控制工程學系碩士論文,民國92年6月。
[2] 趙平峽,“以DSP為基礎具USB2.0通訊介面之多軸運動控制卡原型之研發”,國立中山大學電機工程學系碩士論文,民國91年6月。
[3] 蔡佳仁,“整合型監控系統之開發”,國立中山大學機械工程學系碩士論文,民國90年6月。
[4] 林治中,“以Java 開發自動化系統之人機介面”,國立中山大學機械與機電工程學系碩士論文,民國91年6月。
[5] 林敦頤,“強韌型積分結構控制電液壓伺服驅動器之研製”,國立中山大學電機工程學系碩士論文,民國99年9月。
[6] 廖啟仲,“自走車控制介面之研究”,國立成功大學工程科學研究所碩士論文,民國91年6月。
[7] 陳立原,“以 DSP 為基礎之永磁同步馬達驅動器設計與製作”,逢甲大學電機工程學系碩士論文,民國97年6月。
[8] 林政達,“以反電動勢零交越點為基礎之直流無刷馬達無感測控制器之設計與實現”,國立臺灣科技大學電機工程學系碩士論文,民國95年6月。
[9] 王晚成,“網路互動式線型永磁同步馬達控制系統之實現”, 國防大學中正理工學院電子工程學系碩士論文,民國95年6月。
[10] 魏漢昇,“以可程式控制器為基礎之三相感應馬達智慧型速度控制方法”, 崑山科技大學電機工程學系碩士論文,民國95年6月。
[11] 楊正富,“DSP 即時控制發展系統”,國立雲林科技大學電機工程學系碩士論文,民國95年7月。
[12] 莊哲渝,“永磁同步馬達位置追蹤向量控制”,國立雲林科技大學電機工程學系碩士論文,民國95年7月。
[13] D. Hanselman, “Electrical control,” in Brushless Permanent Magnet Motor Design, 2nd ed. Ohio: Magna Physics Publishing, pp. 183-202, 2003.
[14] LEEDAN Electric Technology, “LDSM85-C,” in Servo Motor Series, pp. 9, 2011.
[15] 孫清華譯,最新無刷直流馬達,(見城尚志和永守重信),全華科技圖書,民國90年12月
[16] P. Pillay and R. Krishnan, “Modeling of Permanent Magnet Motor Drives,” IEEE Trans. Industrial Electronics, vol. 35, no. 4, pp. 537-541, November 1988.
[17] 陳俊宇,“高效率無感測直流變頻壓縮機驅動器之研製”,國立中山大學電機工程學系碩士論文,民國98年12月。
[18] T.L. Chern, L.H. Liu, P.I. Pan, T.M. Huang, D.M. Tsay, J.H. Kuang, and L.J. Chen, “Digital signal processing-based sensor-less permanent magnet synchronous motor driver with quasi-sine pulse-width modulation for air-conditioner rotary compressor,” IET Electr. Power Appl., vol. 6, iss. 6, pp. 302–309, December 2011.
[19] 江榮琳,“以數位信號微處理器製作一個具有積分可變結構控制法則之無刷直流馬達驅動器”,國立中山大學電機工程學系碩士論文,民國83年5月。
[20] P.C. Krause and O. Wasynczuk, Electromechanical motion devices. New York: McGraw-Hill, 1989.
[21] M. Lajoie-Mazenc, C. Villanueva, and J. Hector, “Study and implementation of a hysteresis controlled inverter on a permanent magnet synchronous machine,” IEEE Trans. Industry Applications, vol. IA-21, no. 2, pp. 408-413, Mar./Apr. 1985.
[22] 田文恭,“以數位訊號處理器為基礎製作嶄新無感測控制之無刷直流馬達驅動器”,國立中山大學電機工程學系碩士論文,民國98年1月。
[23] P. Wei and D. Cheng, “DSP-controlled three-phase brushless DC motor-driven power system for electric vehicle,” in Asia-Pacific Conf. Wearable Computing Systems, pp. 16-19, 2010.
[24] 田景文,“以數位訊號處理器為基礎具 Sine PWM 之無刷直流馬達嶄新無感測驅動器”,國立中山大學電機工程學系碩士論文,民國98年1月。
[25] MITSUBISHI Semiconductor, “PS21965-T/-AT/-CT/-TW,” in Dual-In-Line Package Intelligent Power Module, March 2009.
[26] Fairchild Semiconductor, Single-channel: 6N137, HCPL-2601, HCPL-2611 High Speed-10 MBit/s Logic Gate Optocouplers, July 2005.
[27] 陳烱令,“編碼器訊號處理與電子細分割技術研究”, 明道大學光電暨能源工程學系碩士論文,民國99年1月。
[28] 陳昱廷,“旋轉編碼器設計與製作”, 明道大學光電暨能源工程學系碩士論文,民國99年1月。
[29] Texas Instrument, TMS320x2806x Piccolo Technical Reference Manual, December 2011.
[30] Texas Instrument, TMS320x2806x Piccolo Microcontrollers, May 2012.
[31] K. Astrom and T. Hagglund, PID Controllers: Theory, Design, and Tuning, 2nd ed. North Carolina: Instrument Society of America, 1995.
[32] C.C. Yu, Autotuning of PID Controllers: A Relay Feedback Approach, 2nd ed. London: Springer, 2006.
[33] Texas Instrument, Digital PID Controller with Anti-windup, July 2010.
[34] M. Gopal, Digital Control and State Variable Methods: Conventional and Neural-Fuzzy Control Systems, 2nd ed. New York: McGraw-Hill, 2004.
[35] Texas Instrument, Speed Calculator Based on Rotor Angle from QEP Sensor, July 2010.
[36] Wikipedia, (2013, June 23). C# [Online].
Available: http://zh.wikipedia.org/wiki/C_Sharp
[37] J. Axelson, Serial Port Complete: COM Ports, USB Virtual COM Ports, and Ports for Embedded Systems, 2nd ed. Madison: Lakeview Research LLC, 2007.
[38] Wikipedia, (2013, April 29). UART [Online].
Available: http://zh.wikipedia.org/wiki/UART
[39] Wikipedia, (2013, March 9). Baud [Online].
Available: http://en.wikipedia.org/wiki/Baud
[40] Wikipedia, (2013, June 15). USB [Online].
Available: http://zh.wikipedia.org/wiki/USB
[41] J. Axelson, USB Complete: The Developer’s Guide, 4th ed. Madison: Lakeview Research LLC, 2009.
[42] Texas Instrument, F2806xISO Controller Card, October 2012.
[43] Texas Instrument, F2806x USB Library: USER’S GUIDE, September 2012.
[44] Gossip, (2011, January 3). GUIDimension [Online].
Available: http://openhome.cc/Gossip/ComputerGraphics/GUIDimension.htm
[45] A. Silberschatz, P.B. Galvin, G. Gagne, Operating System Concepts, 8th ed. Hoboken: Wiley, 2008.
[46] www.lookuptables.com, (2010). ASCII Table and Description [Online].
Available: http://www.asciitable.com/
電子全文 Fulltext
本電子全文僅授權使用者為學術研究之目的,進行個人非營利性質之檢索、閱讀、列印。請遵守中華民國著作權法之相關規定,切勿任意重製、散佈、改作、轉貼、播送,以免觸法。
論文使用權限 Thesis access permission:自定論文開放時間 user define
開放時間 Available:
校內 Campus: 已公開 available
校外 Off-campus: 已公開 available


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

QR Code