簡易檢索 / 詳目顯示

研究生: 謝亞唐
Shieh, Ya-Tang
論文名稱: IP為基之嵌入式SoC伺服運動控制系統設計與實現
IP-Based Embedded SoC Design and Implementation for Sevo Motion Control System
指導教授: 陳響亮
Chen, Shang-Liang
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 製造工程研究所
Institute of Manufacturing Engineering
論文出版年: 2003
畢業學年度: 91
語文別: 中文
論文頁數: 93
中文關鍵詞: 系統晶片智產嵌入式系統Nois
外文關鍵詞: SoC, IP, Nios, embedded system
相關次數: 點閱:94下載:2
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 隨著積體電路技術的日益進步,大閘數的晶片開發成功以及CPLD具有可重覆設計的功能,衍生出SoC的概念,所謂的SoC就是以使用智產(IP)的型式來建構一個完整功能的系統,因為SoC具有IP可重覆使用、可從新規劃,可攜性、外型輕巧、可
    模組化、抗干擾性,重量輕等優點,因此許多學者紛紛投入研究。

    有鑑於此,本研究提出以Fuzzy PID理論為基礎之IP配合伺服馬達運動控制系統IP,最後再與NIOS嵌入式處理器整合,建立IP-Based嵌入式SoC伺服運動控制系統。因此將對控制系統的核心Nios CPU IP、使用Fuzzy控制來模仿PID控制動作的FUZZY PID IP、儲存指令所需的FIFO IP、驅動伺服馬達所使用PWM IP、量測速度所需的Velocity Measuring IP、以及光編碼盤回授所需Feedback IP做深入的探討。

    本文最後使用Altera公司所發展的軟核Embedded Processor發展板,將伺服馬達運動控制系統之各功能IP使用VHDL硬體描述語言設計電路,利用QuartusⅡ EDA tool將所設計的各功能IP進行模擬、合成與繞線,並探討各IP設計過程及模擬上的相關問題,最後將NIOS Processor與各功能IP整合,使用JTAG Port下載至Altera公司EP20K200EFC484-2X的硬體晶片,並使用C語言來撰寫程式碼,將執行檔Download到晶片,在On-Chip RAM中執行驅動NIOS Embedded Processor,最終設計出一個具有智慧型控制的IP-Based嵌入式SoC伺服馬達運動控制系統。

    A SoC system is created by integrating several IPs (Intellectual Property) to achieve some special functions. The IPs in the SoC system are reusable, reconfigurable, and portable. These characters gives the SoC system several good points. For example, time to market and cost down. Therefore, the SoC design concept attracts many researchers in the recent years.

    To design and implement an embedded IP-based SoC servo motor motion control system with intelligence is the aim of this research. There are five IPs are developed here for a servo motion control system. The intelligence is very important and essential for the practical applications of a servo motor motion control. Therefore, a fuzzy logic PID IP for a SoC servo motion control is the first IP to be designed and implemented. The IP for servo motor PWM technology is the second one. The third IP is the interface IP of the photo-encoder feedback interface circuit used in the motion control. The fourth IP is the measuring IP to measuring velocity of the sevo motor. The fifth IP is the FIFO IP. The FIFO IP is a data storage to model a queue so that the command data that comes in first will be read out first. The VHDL language is adopted to describe the hardware digital circuit of the developed IPs. The Quarters II EDA tool is used to integrate the developed IPs into a NIOS CPU. The simulation and placing & routing are also performed by using Quarters II EDA tool. The IP-based SoC servo motion control system is further download to an Altera APEX 20K200EFC484-2x chip to verify the correctness.

    第一章、緒論1 1-1 前言1 1-2 研究動機與目的1 1-3 文獻回顧2 1-3-1 智慧型控制系統設計2 1-3-2 SoC系統設計3 1-3-3 嵌入式系統設計4 1-4 研究方法5 1-5 章節瀏覽8 第二章、IP-Based嵌入式SoC伺服運動控制系統規劃10 2-1 SoC伺服運動控制系統之IP規劃設計10 2-2 SoC伺服運動控制系統IP之輸入/輸出規格設計13 2-3 IP-Based嵌入式SoC伺服運動控制系統之系統架構規劃20 第三章、運動控制系統之功能電路IP設計原理23 3-1 嵌入式處理器IP設計原理23 3-1-1 Nios嵌入式處理器23 3-1-2 Nios嵌入式處理器之參數規劃24 3-1-3 嵌入式週邊介面25 3-2 功能電路IP設計原理27 3-2-1 Feedback IP電路設計原理28 3-2-2 PWM IP電路設計原理34 3-2-3 FIFO IP電路設計原理36 3-2-4 Velocity Measuring IP設計原理38 3-2-5 FUZZY PID IP電路設計原理39 第四章、運動控制系統之功能電路IP實現51 4-1嵌入式處理器實現51 4-2 Feedback IP電路硬體電路實現52 4-3 PWM IP硬體電路實現55 4-4 FIFO IP硬體電路實現57 4-5 Velocity Measuring IP硬體電路實現59 4-6 FUZZY PID IP硬體電路實現60 4-7 伺服運動控制系統IP整合65 第五章、伺服運動控制系統之驅動程式設計71 5-1 系統軟體開發需求71 5-2 驅動介面72 5-3 PIO介面73 5-4 週邊介面之驅動流程75 第六章、系統效能評估與實驗結果分析77 6-1 IP-Based嵌入式SoC伺服運動控制系統開發環境77 6-2 系統效能評估80 6-3 直流伺服馬達實驗結果82 第七章、結論與建議87 參考文獻89

    [1] J. G. Tseng, K. H. Huang and T. C. Fan, “Design of PID controller for DC servomotor systems,” Academic Bulletin of Chinese Naval Academy. Vol. 8, pp.46-59, 1997.

    [2] J. H. Cavalcanti, “Intelligent control system using PID and neural controllers,”Proceedings on the 38th Midwest Symposium on Circuits and Systems, Vol. 1,pp. 425-428, 1996.

    [3] S. M. Baek, T. Y. Kuc, “An adaptive PID learning control of DC motors, ”IEEE International Conference on Systems, Man and Cybernetics, Vol. 3, pp. 2877-2882, 1997.

    [4] J. J. Blake, L. P. Maguire, T. M. McGinnity, and L. J. McDaid, “Using Xilinx FPGAs to implement neural network and fuzzy systems,” in Proc. IEE Colloquium on Neural and Fuzzy System: Design, Hardware and Applications, No. 133, pp. 246-249, May 1997.

    [5] D. S. Reay, T. C. Green, and B. W. Williams, “Field programmable gate array implementation of a neural network accelerator,” Colloquium on Hardware Implementation of Neural Networks and Fuzzy Logic, No.061, pp. 2/1-2/3, Mar
    1994.

    [6] M. Cirstea, A. Dinu, M. McCormick, and D. Nicula, “A VHDL success story: electric drive system using neural controller,” VHDL International Users Forum Fall Workshop, pp. 118-122. 2000.

    [7] C. P. Parris, R. L. Haggard, “An Architecture for a high speed fuzzy logic inference engine in FPGAs,” in Proc. Annual Southeastern on System Theory, pp. 179-182, March 1997.

    [8] B. G. Hu, R. G. Gosine, “A Systematic Study of Fuzzy PID Controllers- Function-Based Evaluation Approach,” IEEE transactions on fuzzy system, Vol. 9, pp. 699-712, 2001.

    [9] B. G. Hu, R. G. Gosine, “New Methodology for Analytical and Optimal Design of Fuzzy PID Controllers,” IEEE transactions on fuzzy system, Vol. 7, pp. 521-539, 1999.

    [10] J. Rozenblit, K. Buchenrieder, “Codesign : Computer-Aided Software/Hardware Engineering ,” Chapter Introduction, pp. 3-10, IEEE Press 1995.

    [11] A. M. Rincon, C. Cherichetti, J. A. Monzel, D. R. Stauffer, and M. T. Trick, “Core- Design and System-on-a-Chip Integration,” IEEE Design & Test of Computers, Vol. 14, pp. 26-35, 1997.

    [12] S. Knapp, D. Tavana, “Field Configurable System-on-Chip,” IEEE Custom Integrated Circuits Conference, pp. 155-158, 2000.

    [13] H. Kim, J. P. Hayes, “Delay Fault Testing of IP-Based Designs viaSymbolic Path Modeling,” IEEE transactions on very large scale integration (VLSI) systems, Vol. 9, pp. 661-678, 2001.

    [14] The Institution of Electrical Engineers, UK webs site, http://www.iee.org.uk

    [15] J. Taramaa, M. Khurana, P. Kuvaja, J. Lehtonen, M. Oivo, V. Seppänen,“Product-Based Software Process Improvement for Embedded Systems,” Euromicro Conference, Proceedings 24th Vol. 2, pp. 905-912, 1998.

    [16] W. H. Wolf, “Hardware-Software Co-Design of Embedded Systems,” Proceedings of the IEEE, Vol. 82, pp. 967-989, July, 1994.

    [17] “Nios 2.0 CPU,” http://www.Altera.com.

    [18] “Nios Tutorial, Nios Processor Version2.0,” http://www.Altera.com.

    [19] “Nios Embedded Processor System Builder Tutorial,” http://www.Altera.com.

    [20] “SOPC Builder Data Sheet,” http://www.Altera.com.

    [21] “nios_peripherals_reference_manual.pdf,” http://www.altera.com.

    [22] “Avalon Bus Specification Reference Manual,” http://www.Altera.com.

    [23] “Nios Soft Core Embedded Processor,” http://www.Altera.com.

    [24] “Nios Processor Software Development Reference,” http://www.Altera.com.

    [25] “Nios Processor Programmer’s Reference Manual,” http://www.Altera.com.

    [26] S. L. Jung, M. Y. Chang, and J. Y. Jyang, “Design and implementation of an FPGA-based control IC for the single-phase PWM inverter used in an UPS,” in Proc. 2nd International Conference on Power Electronics and Drive Systems, Part 1, Vol. 1, pp. 344-349, May 1997.

    [27] J. Holtz, “Pulse width Modulation –A Survey,” IEEE Trans. On Ind. Electron.,Vol. 39, pp. 410-420, 1992.

    [28] J. Holtz, “Pulse width modulation for electronic power conversion,” IEEE Proc.,Vol. 82, pp. 138-203, 1997.

    [29] L. A. Zadeh, “Fuzzy sets,” Information and control., Vol. 8, pp. 338-353, 1965.

    [30] L. A. Zadeh, “Outline of a new approach to the analysis of complex systems anddecision processes,” IEEE Tran. Syst. Man, Cybern. Vol. 3, pp. 28-44, 1973.

    [31] L. A. Zadeh, “The concept of a linguistic variable and its application to approximate reasoning,” Memorandum ERL-M 411 Berkely, October 1973.

    [32] T. Takagi, M. Sugeno, “Fuzzy identification of systems and its applications to modeling and control,” IEEE Trans. Syst., Man, Cybern., Vol. 15, pp.116–
    132,1985.

    [33] E. H. Mamdani, “Application of fuzzy logic to approximate reasoning using linguistic synthesis,” IEEE Trans.Computers, Vol.C-26, 1977.

    [34] Y. Tsukamoto, “An approach to fuzzy reasoning method, in: M. M. Gupta, R. K.Ragade and R. R. Yager eds,” Advances in Fuzzy Set Theory and Applications North-Holland, New-York, 1979.

    [35] P. M. Larsen, “Industrial applications of fuzzy logic control,” Int. J. Man, Mach,Studies, Vol. 12, pp. 3-10, 1980.

    下載圖示 校內:2005-07-28公開
    校外:2005-07-28公開
    QR CODE