用户名: 密码: 验证码:
基于ARM的运动控制器研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
基于SERCOS现场总线的开放式数控系统是当今数控技术发展的重要方向之一。根据我国数控技术现有的发展水平,研究基于SERCOS现场总线的运动控制器,具有重要的现实意义。
     通过对开放式数控系统和运动控制器的深入研究,选择ARM、CPLD以及SERCOS总线接口为核心来构建其硬件平台,运用嵌入式实时操作系统VxWorks作为软件设计平台进行任务调度,并采用前馈-PD控制算法进行位置反馈控制,实现高速高精的实时运动控制目的,通过实验验证,取得了很好的效果。针对运动控制器的关键技术和主要问题,本文在以下几个方面进行了详细的研究和探讨:
     在分析了现有数控技术和运动控制技术的发展现状和发展趋势之后,根据SERCOS现场总线结构特点,按照运动控制器的性能要求,提出了基于ARM的运动控制器总体方案设计。
     设计了两轴运动控制器,实现了电机控制接口和常用模拟数字信号接口。该运动控制器以高性能低价位的32位微处理器S3C44BOX作为主运动控制芯片,以CPLD芯片EPM7128作为协处理器,辅助主控制器进行运动控制,使用SERCON816作为SERCOS总线接口,与上位机进行数据交换。同时运动控制器中采用了大量最新的集成电路芯片,从而使电路大大简化,并提高了系统可靠性。
     软件设计采用模块化设计思想,并使用VxWorks作为嵌入式实时操作系统进行任务调度,极大的提高了系统的实时性、稳定性和抗干扰能力。
     系统采用离线插补实时控制的方式对数控机床进行控制。上位机先对运动轨迹进行粗插补运算并将数据放于插补数据存储区,当要进行加工控制时,系统再将粗插补数据在SERCOS同步周期的控制下发送给运动控制器,由运动控制器来完成精插补。运动控制器采用前馈-PD位置控制算法对粗插补数据进行处理,并在实际应用中调节位置控制参数,实现了稳定可靠的高速高精位置控制目的。
     通过系统集成实验证明本运动控制器的性能能够满足设计要求,并通过调节位置控制算法参数,使系统的性能进一步提高。实验结果表明,本运动控制器是一个高性能低价位的开放式运动控制器。
Open numerical control (ONC)system based on SERCOS fieldbus is one of the most important development trend of the numerical control technique.Basis the development of NC technology in our country, researching the motion Controller based on the SERCOS Fieldbus has important practical significance.
     Through the depth research of the ONC and motion controller, choosing ARM、CPLD and SERCOS Fieldbus interface as the core to create a controller hardware platform,using VxWorks RTOS as a software design platform for task scheduling.Using feedforward-PD( Proportional Differential) control algorithm as its position feedback control ,the system achieves high speed and high precision real-time motion control, and experiments show that achieved good results.The paper researches and discusses on follow aspects,considering with the key techniques and main problems in the motion controller:
     After the analysis of the development status and trends of the CNC technology and the motion control technology, According to SERCOS Fieldbus structure, in accordance with the performance requirements of Motion Controller, the overall program design of ARM-based controller is brought up.
     A two-axis motion controller is Designed, which realizes motor control interfaces and common simulation and digital signal interfaces.The motion controller uses a 32-bit high performance and low price as the microprocessor S3C44B0X as the control chip , and used CPLD chip EPM7128 as the coprocessor to support the chief controller for the motion control, and use the SERCON816 as the SERCOS Fieldbus interface to exchange the data with PC. The motion controller uses a lot of the latest IC chip , thereby greatly simplified the circuit and increased the system's reliability and performance.
     Software is designed with the idea of modular, and uses VxWorks embedded real-time operating system for the task scheduling, which greatly improves the system's real-time performance, stability and anti-jamming capability.
     The CNC machine is controlled by the method of Off-line interpolation real-time control. PC deals the trajectory with rough interpolation and brings the data into the storage area. When need control for the processing, the system will send rough interpolation data to the motion controller by the control of SERCOS synchronous cycle strictly, and interpolator is completed by the motion controller. Motion Controller deals with the rough interpolation data by the feedforward -PD algorithm position control, and adjusts the position control parameters in the practical application. The purpose of stable and reliable high-speed and high-precision position control is achieved.
     The performance of Motion Controller is satisfied for the design through the integration experiment, and the capability is enhanced by adjusting the position control parameters. The experimental results show that the controller is a high-performance low-price open motion controller.
引文
[1] 李恩林.数控技术原理及应用.北京:国防工业出版社,2006,1-3
    [2] 吕红霞.数控技术的发展趋势与途径.机械制造与自动化,2005,1:8-10
    [3] 汪木兰,王令其.开放式数控系统实用平台的构造,机床与液压.2003,5:120-122
    [4] 戴晓华,王文,王威等.开放式数控系统研究综述.组合机床与自动化加工技术,2000,11:5-7
    [5] 宋钢.基于DSP和CPLD的运动控制器的设计与研究:[硕士学位论文].成都:电子科技大学,2004
    [6] 王爱玲,张吉堂,吴雁.现代数控原理及控制系统.北京:国防工业出版社,2002,68-73,216-230
    [7] 国内外开放式数控系统的研究现状.http://info.mt.hc360.com/2006/08/04085922854.shtml,2006-08-04
    [8] 李佳特.NC技术发展的历史回顾与展望.世界制造技术与装备市场,2000,2,29-34
    [9] 程涛,吴波,杨叔子等.支持分布式网络化制造的智能数控系统的研究.中国机械工程,2004,15(8):688-693
    [10] 何勇.基于PC1104的嵌入式运动控制系统的研究:[硕士学位论文].成都:四川大学,2005
    [11] 罗炳军,陈健,樊亚妮.基于运动控制器的开放式运动控制系统研究与应用.工业仪表和自动化装置,2006,3:10-12
    [12] 刘洪泳.四轴伺服运动控制卡的研制:[硕士学位论文].南京:南京航空航天大学,2004
    [13] 杨恒.ARM嵌入式系统设计及实践.西安:西安电子科技大学出版社,2005,1-3
    [14] 陈赜,刘振兴,李宗福,刘朴辉.ARM嵌入式技术实践教程.北京:北京航空航天大学出版社,2005:9-11
    [15] 于敦山,盛世敏.ARM SOC体系结构.北京:北京航空航天大学出版社,2002,210-217
    [16] 黄安成.基于ARM和CPLD的电脑绣花机控制器的设计:[硕士学位论文].杭州:浙江大学,2006
    [17] 周立功.ARM嵌入式系统试验教程(一).北京:北京航空航天大学出版社,2004:5-30
    [18] IEEE Standard 1149.1 Test Access Port and Boundary-Scan Architecture.http://bombojing. Bokee. com/3867870.html
    [19] 李现勇.Visual C++串口通讯技术与工程实践.北京:人民邮电出版社,2003,15-28
    [20] Anon. Sercos standard up for revision. Machine Design, v75, n13, Jul 10, 2003: 84-87
    [21] Hibbard, Scot. SERCOS interface standard. Gear Technology, v13, n1, Jan-Feb, 1996: 29-32
    [22] Schemm, Eberhard. SERCOS to link with Ethernet for its third generation. IEE Computing and Control Engineering, v15, n2, April/May, 2004: 30-33
    [23] 陈卫福,杨建武.开放式数控系统及SERCOS接口应用技术.北京:北京航空航天大学出版社,2003,1-40
    [24] Sprovieri, John. New network combines best of Ethernet—SERCOS. Assembly, v48, n11, October, 2005: 8-11
    [25] 余义,杨建武,崔凯.SERCON816型SERCOS总线控制器及其应用.国外电子元器件.2005年,10:38-41
    [26] 陈云洽,保延翔.CPLD应用技术与数字系统设计.北京:电子工业出版社,2003,1-3
    [27] 李辉.PLD与数字系统设计.西安:西安电子科技大学出版社,2005,1-4
    [28] 黄正谨,徐坚,章小丽,熊明珍.CPLD系统设计技术入门与应用.北京:电子工业出版社,2002,12-15
    [29] 邱柯妮.基于“单片机+CPLD/FPGA体系结构”的程控交换机系统集成化设计:[硕士学位论文].北京:中国科学院研究生院,2004
    [30] 于枫,张丽英,廖宗建.ALTERA可编程逻辑器件应用技术.北京:科学出版社,2004,32-36
    [31] 王冠,黄熙,王鹰.Verilog HDL与数字电路设计.北京:机械工业出版社,2005,1-3
    [32] 戴蓓蒲,钱志远.线性电子线路.合肥:中国科学技术大学出版社,1994,45-47
    [33] 蔡尚锋.自动控制原理.北京:机械工业出版社,1980,15-27
    [34] 罗国庆.VxWorks与嵌入式软件开发.北京:机械工业出版社,2004,11-15
    [35] 程敬原.VxWorks软件开发项目实例完全解析.北京:中国电力出版社,2005:1-6
    [36] 唐寅.实时操作系统应用开发指南.北京:中国电力出版社,2002,135-200
    [37] Nucleus应用简介.http://blog.csdn.net/cnliou/articles/403182.aspx,2005-06-25
    [38] 周毓林,宁杨,陆贵强,付林林.Windows CE.net内核定制及应用开发.北京:电子工业出版社,2005,1-24
    [39] Labrosse, Jean J. wC/OS-Ⅱ The Real-Time Kemel. Lawrence, R&D. Publications, ISBNO-87930-444-8, 1992: 16-18
    [40] 李岩.基于S3C44B0X嵌入式μCLinux系统原理及应用.北京:清华大学出版社,2005, 15-31
    [41] 嵌入式操作统LEOS.http://www.lenovo.com.cn/product/Product_Softservice/qianru3989.Shtml,2006-05-08
    [42] 周启平,张杨.VxWorks下设备驱动程序及BSP开发指南.北京:中国电力出版社,2004,5-10
    [43] 王金刚,宫霄霖,杨锡励,苏淇,丁大尉,姜平.基于VxWorks的嵌入式实时系统设计.北京:清华大学出版社,2004,128-138
    [44] 郇极,尹旭峰.数字伺服通讯协议SERCOS驱动程序设计及应用.北京:航空航空航天出版社,2005,19-38
    [45] S3C44BOX RISC Microprocessor Datash-et.Samsung Ltd., 2001, 45-55
    [46] 陈蔚芳.机床数控技术及应用.北京:科学出版社,2005,45-55
    [47] 黄大贵.微机数控系统.成都:电子科技大学出版社,1996,176-217
    [48] 廖效果,朱启逑.数字控制机床.武汉:华中理工大学出版社,1991,87
    [49] 何航.Windows下开放式数控系统软件设计与研究:[硕士学位论文].成都:电子科技大学,2004
    [50] 吴海,李鹤九,黄胜,朱国力.五轴联动激光切割机数控软件的研究.设计与研究,1999,3:17-18
    [51] 黄艳,李家霁,于东.CNC系统S型曲线加减速算法的设计与实行.制造技术与机床,2005,3:55-58
    [52] 李再银.基于Windows的车床开放式数控系统研究与设计:[硕士学位论文].成都:电子科技大学,2005
    [53] Proctor, George. Managing servo control system installations. Electronic Engineering Times, 2005, 1356(31): 44-47.
    [54] 胡科峰.高速高精运动控制系统的软件技术研究:[硕士学位论文].武汉:华中科技大学,2004

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

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

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