基于FPGA的高频疲劳试验机控制器的研制
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
高频疲劳试验机属于金属材料试验机,是一种主要用于测定金属及其合金材料在室温状态下的拉伸、压缩或拉、压交变负荷的疲劳性能试验的机器。而高频疲劳试验机控制器则是用来控制试验机按用户意图进行工作,充当了用户与试验机之间的桥梁。本论文即是以高频疲劳试验机为对象,利用现代控制理论、微机技术以及以FPGA为代表的微电子技术对目前的试验机控制器进行了改进。FPGA,即现场可编程门阵列,是一种近期出现的可编程ASIC器件。由于FPGA可以现场可编程,可以实现专用集成电路,能满足片上系统设计(SOC)的要求,使其日益成为系统的关键部件。本论文对FPGA在本系统控制器中的应用进行了研究,并研制了一种全新的基于FPGA技术之上的控制器。
     第一章阐述了高频疲劳试验机及其控制器国内外发展概况,并简述了论文的选题意义以及研究内容。
     第二章首先介绍了系统控制器主要硬件电路设计所采用的方法,即利用HDL(硬件描述语言)的硬件设计方法,其最大的特征是电路设计采用自上至下(Top Down)的设计方法。该方法能最大程度的提高设计效率,降低设计成本。本论文中的FPGA芯片即是以此作为设计方法的。
     第三章首先介绍了模糊控制理论及技术,并分析了模糊控制技术以及常规PID的优缺点。在此基础上提出了本论文所采用的控制算法,即模糊自整定PID参数控制算法。该算法综合了上述两种方法的优点。该章最后具体设计了采用该算法的控制器,并提出了实现方案。该方案使系统实时性以及资源占用得到最大平衡。
     第四章具体设计了控制算法中的PID参数模糊推理器。该模糊推理器利用FPGA来实现。用户只需通过总线传送数据至推理器,就能实时得到适合于该时的PID参数,很好的提高了控制效果。该章最后给出了模糊推理器的仿真结果。
     第五章详细设计了正弦波发生器及波形幅值调节电路。本论文将正弦波发生器以及波形幅值调节的实现用一片FPGA来实现,减少了控制器体积,同时也提高了控制精度。该章最后部分给出了以上电路的仿真结果,验证了电路功能以及时序的正确性。
     第六章设计了除以上电路之外的其它电路,包括各种检测电路、电机调速电路、FPGA配置电路以及主控制器电路。这些电路也是整个控制器正常工作所必需的。该章的最后部分给出了控制器的软件框图。
     第七章对本论文所作的研究工作进行了简要的总结。
One of metal material testers is highfrequency fatigue tester, which tests the fatigue performance of drawing , compressing of metal material and its alloy in room temperature condition .The controller of highfrequency fatigue is used to control the highfrequency fatigue tester according to the intention of users, and it acts as a link of tester and user. In this thesis , a new control has been developed based on microelectronics technology of the age ,by improving on existent controllers using modern controlling theories, microcomputer technology , microelectronics technology ,and the object of this controller is highfrequency fatigue tester.
    In chapter 1 , highfreqency fatigue tester , and a survey of progressing of its controller home and abroad , has been discussed firstly. Then the subject and the contents of the thesis are put forward.
    In chapter 2 , the method of designing hardware circuits of system controller, a method of designing circuits using HDL( Hardware Description Language ) , has been presented . The main characteristic of this method is to design circuits in the form of top to down , which can improve the designing efficiency to a great extent, and which can decrease the cost of designing . Based on this , the realization of system circuits has been discussed in the thesis .
    In chapter 3 , theories and technologies of fuzzy logic control have been presented firstly , and then the merits and shortcomings of fuzzy logic control and common PID control . Based on these , the method of control used in the thesis , a method of reasoning parameters PID fuzzily, has been introduced . The method possesses the merits of ones above. In the end , the controller has been designed in great detail using the method , and the scheme of hardware realization ,which can balance real time and resource consuming to the greatest extent, has been presented .
    In chapter 4 , a sine wave generator and modulating circuits of wave magnitude have been designed in great detail , which are realized using FPGA technology . In the end , the simulation result of circuits as above , which is to check the functions and time of circuits , is showed .
    In chapter 5 , a controller of reasoning parameter PID fuzzily has been designed using FPGA technology . User can achieve parameters PID in real time by transmitting data to the machine through bus , and get a good result of control. In the end, the simulation result is provided .
    In chapter 6 , the rest of circuits of controller have been designed , including
    
    
    
    various measuring circuits , speed regulating circuits , FPGA configuring circuits , microcontroller circuits . These circuits above are essential for the entire controller to work smoothly . In the end of this chapter, program flow diagram of the controller is provided.
    In chapter 7 , a brief summary on the contents above is provided .
引文
[1] PLG—10型高频疲劳试验机技术讲座讲义,天水:天水红山试验机厂,1982
    [2] PLG—10型高频疲劳试验机使用说明书.天水:天水红山试验机厂,1982
    [3] 机械工程师手册编辑委员会.机械工程师手册(下册).北京:机械工业出版杜,1992
    [4] 曹志清,张雅琴,赵惠清,林培峰.材料力学万能试验机研究.北京化工大学学报,2000年,第27卷第3期
    [5] 伊雁,邱阿瑞,孙旭东.电子万能材料试验机的微机控制.机械工程师,2000年第6期
    [6] 钟旭,李白新,李飞燕.液压脉动疲劳试验机监测与控制系统.控制系统
    [7] 李广均,孟宪元.可编程ASIC设计及应用.成都:电子科技大学出版社,2000
    [8] 曾繁泰,陈美金.VHDL程序设计.北京:清华大学出版社,2000
    [9] 曾繁泰,侯亚宁,崔元明.可编程器件应用导论,北京:清华大学出版社,2001
    [10] 侯伯亨,顾新.VHDL硬件描述语言与数字逻辑电路设计.西安:西安科技大学出版社,1999
    [11] IEEE model standards group. Std_logic_1164 Multi_value Logic System Draft Standard Version 4.2, 1992
    [12] IEEE Standard VHDL Language Reference Manual. New York: IEEE Press, 1987
    [13] Http://vhdl.org
    [14] Http://www.e2w3.com/vi/
    [15] Http://www.vhdluk.org
    [16] Zainalabedin Navabi. VHDL: Analysis and Modeling of Digital System. 1998
    [17] 刘明业等.专用集成电路高级综合理论.北京:北京理工大学出版社,2000
    [18] 王志华,邓仰东.数字集成系统的结构化设计高层次综合.北京:清华大学出版社,2000
    [19] Altera. The Programmable Logic Data Book. California: Altera Corporation, 2000
    [20] Xilinx .The Programmable Logic Data Book. 2000
    [21] 刘丽华等.专用集成电路设计方法.北京:北京邮电大学出版社,2000
    [22] Pran. Kurup. Logic Synthesis Using Synopsys. Boston: Kluwer Academic, 1996
    [23] AItera. Using Programmable Logic for Gate Array Designs Application Note 51, January 1996, Ver.1
    [24] Jesse H. Jenkins. Designing with FPGA and CPLD. NJ: Prentice Hall, 1995.
    [25] Stefan Sjoholm, Lennart Lindh.用VHDL设计电子线路.北京:清华大学出版社,2000
    [26] Kevin Skahill. VHDL for Programmable Logic. Addison-Wesley, 1998
    [27] Andrew Rushton. VHDL for Logic Synthesis. 1998
    [28] Http://www.altera.com
    [29] AItera. Component Selector Guide. October 2000
    [30] Altera. Benefits of Embedded RAM in FLEX 10K Devices. Product Information Bulletin 20, January 1996, ver.1
    [31] Altera. Implementing Logic with the Embedded Array In FLEX 10K Devices. Product Information Bulletin 21, October 2000, ver.2
    [32] Http://www.fpga.com.cn
    [33] 雷宇,林争辉.使用Active-hdl进行数字系统的模块化设计,电讯技术,1999年第6期
    [34] 石峰,刘明业.多级流水线结构高层次VHDL语言行为模型的研究.计算机辅助设计与图形学学报,1999年7月第11卷第4期
    
    
    [35] 张奎刚,徐连海,张华.Altera FPGA简介及其在LED显示屏控制中的应用.微处理机,2000年5月第2期
    [36] 张凌.应用EDA技术设计数字系统.现代电子技术,1999年第10期
    [37] 夏凌,胡杰.数字滤波器的FPGA实现,四川工业学院学报,1999年7月
    [38] 常春馨.现代控制理论概论.北京:机械工业出版社,1982
    [39] 胡寿松.自动控制原理(修订版)上、下册.北京:国防工业出版社,1984
    [40] 李友善,李军.模糊控制理论及其在过程控制中的应用.北京:国防工业出版社,1993
    [41] 王学慧,田成方.微机模糊控制理论及其应用.北京:电子工业出版社,1987
    [42] 余永权,曾碧.单片机模糊逻辑控制.北京:北京航空航天大学出版社,1995
    [43] 苏薇.模糊PID的研究.工业仪表与自动化装置,2001年第2期
    [44] 李平,王慧等.精确.模糊混合控制系统,控制理论与应用,1994年4月第2期
    [45] 何平,王洪绪.模糊控制器的设计及应用,北京:科学出版社,1997
    [46] 钱妍.单片机在模糊逻辑控制中的应用,黑龙江大学自然科学出版社,2000年6月第17卷第2期
    [47] 鲁周迅.模糊自寻优算法及实现.陕西工学院学报,1997年第13卷第3期
    [48] 谢振华,程江涛,耿昌茂.自适应模糊控制几个基本问题的研究进展.电光与控制,2002年第2期
    [49] 仇慎谦.PID调节规律和过程控制.南京:江苏科学技术出版社,1987
    [50] Intersil. ICL8038 Data Sheet. September, 1998
    [51] Dallas. DS1867 Dual Digital Potentiometer with EEPROM. Http://www.dalsemi.com
    [52] Intersil. AD7520, AD7521, AD7530, AD7531 10-BIT, 12-BIT, Multiplying D/A Conveners. August,1997
    [53] Altera. FLEX 10K Embedded Programmable Logic Family Data Sheet. June 1999. Ver.4.01
    [54] Altera. LPM Quick Reference Guide. December 1996
    [55] Altera. Improving Performance in FLEX 10K Devices with the Synplify Software. Application Note 101. October 1998, Ver. 1.0
    [56] Altera. State Machine Encoding Application Note 131. May 1994, Ver.1
    [57] PETER ALFKE AND BERNIE NEW. Implementing State Machines in FPGA Devices. Application Note XAPP 027.001
    [58] Treseler. Designing State Machine Controllers Using Programmable Logic. 1994
    [59] Altera. Understanding FLEX 10K Timing Application Note 91. May 1999, Ver.2
    [60] BERNIE NEW. Loadable Binary Counters. Application Note XAPP 004.002
    [61] BERNIE NEW. Complex Digital Waveform Generator. Application Note XAPP 008.002
    [62] Altera. Metastbility in Altera Devices. Application Note 42, May 1999, ver 4
    [63] 卢毅,赖杰.VHDL与数字电路设计.北京:科学出版社,2001
    [64] 石峰,刘明业.多级流水线结构高层次VHDL语言行为模型的研究,计算机辅助设计与图形学学报,1999年7月,第11卷第4期
    [65] 王福瑞等.单片微机测控系统设计大全.北京:北京航空航天大学出版社,1999
    [66] 张毅刚,彭喜源,谭晓昀,曲春波.Mcs-51单片机应用设计.哈尔滨:哈尔滨工业大学出版社,1997
    [67] 李华,孙晓民等.MCS-51系列单片机实用接口技术,北京:北京航空航天大学出版社,1993
    
    
    [68] 刘永善,叶济忠,叶永坚.微型计算机接口技术原理及应用.武汉:华中理工大学出版社,1996
    [69] 金萍,WE系列液压万能材料试验机的微机控制.机电工程,1999年第5期
    [70] 阎石,数字电子技术基础.北京:高等教育出版社,1988
    [71] 《中国集成电路大全》编写委员会.中国集成电路大全TTL集成电路.北京:国防工业出版社,1985
    [72] 《中国集成电路大全》编写委员会.中国集成电路大全集成运算放大器,北京:国防工业出版社,1985
    [73] 《中国集成电路大全》编写委员会.中国集成电路大全CMOS集成电路,北京:国防工业出版社,1985
    [74] 王秀玲,赵雁南,刘植桢.微型计算机A/D D/A转换接口技术及数字采集系统设计.北京:清华大学出版社,1984
    [75] 郑汗馨,郑家龙.模拟集成电子技术教程.北京:高等教育出版社,1994
    [76] 姜国强,王景华,刘跃敏.数字滤波方法的改进及实现,洛阳工学院学报,1999年9月第16卷第3期
    [77] 孙涵芳.Intel 16位单片机.北京:北京航空航天大学出版社,1995
    [78] 赵秀菊,刘江桁.单片微机8XC196原理及应用.南京:东南大学出版社,1994,12
    [79] 王幸之,王雷等.单片机应用系统抗干扰技术.北京:北京航空航天大学出版社,1995
    [80] 余永权,李小青,陈林康,单片机应用系统的功率接口技术.北京:北京航空航天大学出版社,1994
    [81] 杨惠珍,张宇波.数字滤波方式在监控系统中的应用.洛阳工学院学报,1999年9月,第20卷第3期
    [82] 金德鹏,沙燕萍等.Altera FPGA在数字通信系统设计中的应用.电子技术应用1999年第4期
    [83] 尤一鸣,傅景义,王俊省,单片机总线扩展技术.北京:北京航空航天大学出版社,1993
    [84] Analog Devices. AD623 Single Supply, Rail-to-Rail, Low Cost Instrumentation Amplifier, 1997
    [85] Texas Instruments. ULN2001A, ULN2002A, ULN2003A, ULN2004A DARLIN-TON TRANSISTOR ARRAYS, DECEMBER 1976
    [86] National Semiconductor. LM158, LM258, LM358, LM2904 Low Power Dual Operational Amplifiers, May 1999
    [87] Maxim. +3v Voltage Monitoring, Low Cost, uPSupervisory Circuits, September 1995. Rev 2
    [88] Altera. Configuring APEX 20K, FLEX 10K & FLEX6000 Devices Application Note 116, May 2000, Ver.1.03
    [89] Altera. ByteBlaster Parallel Port Download Cable Data Sheet. February 1998, Ver2.01
    [90] Altera. Max+plus Ⅱ 10.0 Handbook. Altera Corporation, 2000.09
    [91] 周航慈.单片机应用程序设计技术.北京:北京航空航天大学出版社,1991