基于DSP+CPLD的多轴运动控制器平台设计及单轴伺服运动控制算法研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着运动控制系统的发展,运动控制器作为运动控制系统的核心,在现代工业控制中的作用越来越大,其性能直接影响被控对象的工作性能和工作效率。本课题建立在实验室现有平台——六自由度焊接机器人之上,旨在设计一款具有通用特性的多轴运动控制器,以实现焊接机器人焊接过程中实时的轨迹规划及六个关节的协调动作。此外,该运动控制器可应用于一般多轴运动系统的控制。
     在充分调研控制器国内外发展的前提下,确定PC机+控制器的总体设计方案。控制器以DSP作为主控单元,辅以CPLD最终完成多轴协调运动。控制过程中,依靠DSP强大的数据处理能力进行电机控制,CPLD进行相关的逻辑控制和I/O扩展,并采用PCI总线与PC机进行通讯,以满足数据传输的速度和稳定性等要求。
     CPLD作为系统主控芯片的扩展,完成了众多逻辑控制和I/O扩展的任务。作为本设计的重点,将其按功能进行分类设计。另外,原理图设计成功后的硬件调试也是本论文所作的工作之一,硬件调试步骤、调试内容及调试过程中的常见问题均在论文中得以体现。
     伺服电机控制方面,论文在对伺服电机的控制模式做了简单介绍后,确定控制器采用速度控制模式,并对该模式下各个参数的调整、计算给出相关依据。对于电机控制策略,从简单PID入手逐步深入,结合实验结果分析得到驱动器特性曲线,并针对伺服电机控制中存在的死区、零点校正等问题提出解决方案。在电机控制的稳定性方面,结合先进控制算法——模糊控制对电机的PID参数进行在线整定,形成了带死区及速度前馈的模糊PID控制算法。在伺服电机复杂轨迹跟踪过程中,提出五次多项式插补运算,并对其进行改进应用,最终实现控制器运动的精度和速度。
     软件上,完成对运动控制器控制功能的实现,包括单电机控制算法以及多电机控制程序总成。论文给出整体算法程序设计流程图,并对关键设计思想进行了详细阐述。
With the development of the motion control system, motion controller, as the core role of the motion control system, has an increasingly effect on the modern industry. Its capability has a direct impact on the controlled object's work performance and work efficiency. The issue is established on the existing laboratory platform - 6 DOF welding robot, and its aim is to design an open, multi-axis motion controller to achieve welding robot's real-time trajectory planning and coordination of the action of the six joints in the welding process. Apart from this, the controller should have properties such as good openness and scalability.
     In the full research of motion controllers' development at home and abroad, it is ultimately determined to adopt the PC+controller control program as the overall design of the controller. The controller's main part choose DSP+CPLD as the major control unit, with the powerful data-processing capabilities of DSP to control the motor, programmable logic of CPLD to conduct associated logical control, its cost-effective general-purpose I/O to expand the I/O of DSP, PCI bus to communicate with PC so as to meet the requirements of stability and speed of data transfer.
     The application of the programmable logic technology in the process of hardware design and the extension of CPLD chip as a system master have completed a number of logic controls and I/O port expansions. As the focus of this program, this component was classified according to the functions during the designing. In addition, the hardware debugging after the success of the schematic design is one of the main tasks of this thesis. The hardware debugging steps, the debug content and the common problems in the process of debugging are all discussed in the paper.
     As for the control algorithm of servo motor, this paper introduces the control mode of servo motor briefly, and adopts the speed control mode in this program in the end, giving the basis to calculate and adjust the various parameters in this mode. As for the motor control strategy, taking simple PID as the starting point, this paper steps down gradually, drawing characteristic curve of the drive with the help of analysis of experimental results, finding the dead zone of servo motor control, zero correction and some other problems, and putting forward a solution to these problems. As for the stability of motor control, this program tries to adjust PID parameters on line through fuzzy control of the motor combined with advanced control algorithms. Eventually it will work out fuzzy PID control algorithms with dead-zone and high-speed feedforward. In the process of tracking the complex trail of servo motors this program proposes cubic polynomial interpolation operations and improvements to its application, and ultimately achieves the movement accuracy and speed of the controller.
     As for the software, to complete the motion controller's function and to implement algorithms of single motor and multi-motors on the DSP, this thesis has offered a flow chart of program design of the overall algorithm, and a detailed explanation about the key design concepts.
引文
[1]郗志刚,周宏甫.运动控制器的发展与现状[J].电气传动自动,2005(27)10-14
    [2]吴宏,蒋仕龙,龚小云等.运动控制器的现状与发展[J].CMES2003年会专辑,24-27
    [3]蒋仕龙,吴宏,吕恕,龚晓云.通用运动控制器技术现状、发展及其应用[J].电工文摘/综述,2009(1)7-11
    [4]张富元,方江龙,汤季安.对我国数控技术发展的思考[J].中国机械工程,1999.10 1100-1102
    [5]叶培华.数字控制技术[M].北京:清华大学出版社,2002.5
    [6]刘洪泳.四轴伺服运动控制卡的研制[D].南京航空航天大学硕士学位论文2004.3
    [7]OMAC Architecture Working Group.OMAC Baseline Architecture Functional Requiremems Version 1.0[J].2002(01):1-20
    [8]OSACA Work Group.Open System Architecture for Controls within Aulomation System[J],EP6375&EP9115.OSACAⅠ&ⅡFinal Report.1996:1-10
    [9]OSACA Work GROUP.OSACA Handbook Part Ⅱ:How to Develop OSACA application[J].1996:15-20
    [10]朱显新.基于DSP高速高精运动控制器研究[D].武汉理工大学硕士学位论文2005.7
    [11]孔慧勇.基于运动控制卡的全闭环控制系统研究[D].四川大学硕士学位论文2003.5
    [12]陈鹏.基于DSP的运动控制器开发及其运动控制算法研究[D].吉林大学硕士毕业论文2007.6
    [13]李可.基于DSP的四轴运动控制卡硬件设计[D].天津大学硕士毕业论文2005.1
    [14]余昌盛.基于PCI总线数据采集与运动控制系统研究[D].浙江大学硕士毕 业论文2005.2
    [15]邹继荣.基于DSP运动控制卡的研究与开发[D].南京航空航天大学硕士毕业论文2006.2
    [16]Matsui N.DSO-based intelligent motor/motion control[C].IEEE Proceedings of the 1995 American Control Conference-ACC'95.1995:490-494
    [17]Ford W E.What is an Open Architecture Robot Controller[C].IEEE International Symposium on Intelligent Control,1994,16-18:27-32
    [18]Yoram koren,Zbigniegs J.Pasek,A.Galip Ulsoy,Uri Benchetrit.Real-Time Open Control Architecture and System performance[C].Annals of the CIRP.1996(1):377-380
    [19]李宏宇.基于PCI总线的多轴运动控制器的研究与开发[D].吉林大学硕士毕业论文2005.8
    [20]曹遂军,王会良.国内外开放式数控系统的研究与现状[J].机电工程技术2003(32-5)20-22
    [21]陶尚华.浅谈数控技术发展趋势[J].机械与电子2009(19)92
    [22]Pritshow G.Open System Controllers-a Chanllenge for the Future of the Machine Tool Industry[C].Annals of the CIRP.1993,42(1):449-452
    [23]聂素华,余芸珍.运动控制器的概述及应用[J].科技信息,2006.5:196-198
    [24]罗利佳.基于PCI总线的焊接机器人多轴运动控制器设计[D].浙江大学硕士毕业论文2008.6
    [25]TPS75733 DATA SHEET,Texas Instruments,2002.5
    [26]TMS320F2812 Digital Signal Processor Data Manual,Texas Instruments,2005.10
    [27]www.altera.com.cn
    [28]尹勇,李宇PCI总线设备开发宝典[M].北京:北京航空航天大学出版社,2005.2
    [29]朱惠静.PCI9054及其在高速数据采集系统中的应用应用天地[J].27(2)2008.2
    [30]丁亮.基于PCI和USB总线的开放式运动控制器开发[D].哈尔滨理工大学硕士毕业论文2006.2
    [31]苟煜林,曹荣,徐俊起.双端口RAM在双DSP数据通讯中的应用[J].通讯技术与设备,2003.4(29):9-10
    [32]∑-Ⅱ系列SGM□H/SGDM用户手册,安川电机株式会社,2004.1
    [33]杨全胜,胡友彬等.现代微机原理与接口技术[M].北京:电子工业出版社,2002.3
    [34]Chris Cant著,孙义,马莉波,国雪飞等译.Windows WDM设备驱动程序开发指南[M].北京:机械工业出版社,2000.1
    [35]武安河,周利莉.Windows设备驱动程序(Vxd与WDM)开发实务[M].北京:电子工业出版社,2001.9
    [36]张惠娟,周利华,翟鸿鸣.Windows环境下的设备驱动程序设计[M].西安:西安电子科技大学出版社,2002.5
    [37]武安河.Windows 2000/XP WDM设备驱动程序开发[M].北京:电子工业出版社,2005.5
    [38]张新成,赵玉刚,周海安.Windows 2000/XP下PCI总线WDM设备驱动程序的开发[J].山东理工大学学报(自然科学版),2006.7(20)
    [39]徐从起.基于PCI总线的旋转轴系运动控制器的研究[D].国防科学技术大学硕士论文,2004.11
    [40]Ian Grout,基于FPGA和CPLD的数字系统设计[M].北京:电子工业出版社,2009.2
    [41]郑亚民,董晓舟.可编程逻辑器件开发软件Quartus Ⅱ[M].北京:国防工业出版社2006.9
    [42]李洪伟,袁斯华.基于Quartus Ⅱ的FPGA\CPLD设计[M].北京:电子工业出版社2006.4
    [43]周润景,图雅,张丽敏.基于Quartus Ⅱ的FPGA/CPLD数字系统设计实例[M].北京:电子工业出版社2007.8
    [44]Sjoholm Stefan,Lindh Lennart,(边计年,薛宏熙)VHDL for designers[M]清 华大学出版社,北京2000.5
    [45]王道宪.CPLD/FPGA可编程逻辑器件应用开发[M].国防工业出版社北京2004.1
    [46]辛春艳.VHDL硬件描述语言[M].北京:国防工业出版社2002.1
    [47]Kevin Skahill(朱明程 孙普)VHDL for PROGRAMMABLE LOGIC[M].南京:东南大学出版社1998.9
    [48]陈耀和.VHDL语言设计技术[M].北京:电子工业出版社2005.1
    [49]TMS320F28x DSP Event Manager(EV)Reference Guide Texas Instruments,2003.6
    [50]PCI9054RDK-LITE Hardware Reference Manual,PLX Technology,Inc,Versionl.3,2006.1
    [51]尹勇,欧光军,关荣锋.DSP集成开发环境CCS开发指南[M].北京:北京航空航天大学出版社2004.7
    [52]仇慎谦.PID调节规律和过程控制[M].南京:江苏科学技术出版社1987
    [53]刘金琨.先进PID控制及其MA7LAB仿真[M].北京:电子工业出版社2003
    [54]王会方.伺服电机运动控制实验报告
    [55]Zadeh,L.A.(1965).Fuzzy Sets.Inf.And control.8,338-353.
    [56]张文修,梁广锡.模糊控制与系统[M].西安:西安交通大学出版社1998.3
    [57]张卫国,杨向忠.模糊控制理论与应用[M].西安:西北工业大学出版社1999
    [58]Zhu Jing.Fuzzy Control Theroy and Applications[M].Beijing:Machinery Industry Press,1995
    [59]石辛民,郝整清.模糊控制及其MATLABA仿真[M].北京:清华大学出版社北京交通大学出版社,2008.3
    [60]Zadeh,L.A.(1975).The concept of a linguistic Variable and its application to approximate reaoning[J].Inf.Sci.8,199-249;301-357;9,43-80.
    [61]曾光奇,胡均安,王东,刘春玲.模糊控制理论与工程应用[M].武汉:华中科技大学出版社2006.1
    [62]赵巍.数控系统的插补算法及加减速控制方法研究[D].天津大学博士学位 论文2004.12
    [63]穆记锁.高性能插补算法的研究与运动控制程序库的实现[D].暨南大学硕士学位论文2006.6
    [64]刘新山,贾庆祥,袁修华.NURBS曲线插补算法及加减速控制研究[J].组合机床与自动化加工技术,2007.5:60-64
    [65]刘锦玲.基于PCI总线的开放式运动控制卡的设计[D].广东工业大学硕士学位论文,2006.5

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700