基于ARM+FPGA的嵌入式数控装置研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
嵌入式系统的主要特点是具有高可靠性和实时性。嵌入式系统指采用嵌入式计算机技术,软件和硬件可裁减,对功能、可靠性、功耗、体积和成本等有严格要求的专用计算机系统。传统的硬件数控装置或计算机数控装置(CNC)难以满足现代数控系统对数控装置实时性、灵活性和功能重构等方面的要求。基于ARM+FPGA的嵌入式数控装置利用ARM控制器丰富的软硬件资源,运行速度快,计算精度高和FPGA内部逻辑具有在线可重构等特点。可满足现代数控系统对数控装置实时性,灵活性和功能重构等方面的要求。
     基于ARM+FPGA的嵌入式数控装置与传统硬件数控装置和CNC相比,在采用技术和软硬件结构上有明显进步。由高性能ARM控制器代替CNC中的计算机系统,简化了数控装置结构并降低了硬件成本;采用Linux嵌入式操作系统为数控装置的实时性提供了保证;由FPGA实现传统硬件数控装置或CNC的硬件电路功能,简化了硬件电路结构,提高了硬件电路灵活性,通过对FPGA的动态配置可实现不同的电路功能。
     本文通过对CNC体系结构和嵌入式数控装置开发方案的研究,提出了一种基于ARM和FPGA的嵌入式数控装置设计方案;研究了Linux嵌入式操作系统的移植过程,介绍了在S3C2440硬件平台上的剪裁和移植方法;研究了ARM对FPGA的配置方法;完成了TQ2440开发板与Mars-XC3S400-F-Core开发板配置总线和通信接口的设计;采用Xilinx公司的EDA软件ISE7.1i,完成了基于XC3S400芯片的进给电机控制器设计,并进行了仿真验证和硬件实现。
The high reliability and real-time are the main characteristics of embedded systems. Embedded system refers to the use of embedded computer technology that software and hardware can be cut and it is also a dedicated computer system that has strict requirement to function, reliability, power consumption, size and cost. It is difficult to meet the modern numerical control system's requirement of real-time, flexibility and function reconstruction with traditional hardware numerical control device or computer numerical control device. This embedded device based on ARM and FPGA combines both characteristics together: ARM has rich resources of hardware and software, fast running speed and high precision to manipulate data; FPGA internal logic has the characteristic of reconfigurable online. This design could meet real-time, flexibility and functionality which modern numerical control system requires.
     Compare the embedded numerical control device based on ARM and FPGA to traditional hardware numerical control device, the technology and the structure of hardware and software have processed significantly. In this design, high-performance ARM controller instead of computer system in CNC simplifies the structure of CNC device, reduces the cost of hardware and provides guarantee of real-time with Linux embedded operation system on numerical control device. Implement the function of traditional hardware device or hardware circuit function in CNC device through FPGA. It reduces the structure of hardware circuit, increases the flexibility of the hardware circuit, and realizes the different circuit function though dynamic configuration the FPGA.
     This paper proposes a design of embedded numerical control device based on ARM and FPGA through research on CNC architecture and embedded device development program of CNC. This paper researches the transplant process of Linux embedded operating system, introduces the cut and transplantation in S3C2440 hardware platform, analyzes the method that ARM configurates the FPGA, completes the configuration bus and communication interface design between the TQ2440 and Mars-XC3S400-F-Core development board, uses EDA software ISE7.1i from Xilinx to complete the feed motor controller design based on XC3S400 and simulation successes.
引文
[1]朱晓洁,舒志兵.基于AARM+FPGA的嵌入式数控系统.机床与液压,2008,36(7):311-313
    [2]葛立明,范多旺,陈光武.基于ARM的FPGA加载配置实现.微计算机信息,2007,23(1):244,[3] NC:http://baike.baidu.com/view/87747/[4]冉龙明.基于ARM和FPGA的数控系统研究及实现:硕士学位论文.电子科技大学.2008
    [5]王润孝,秦现生.机床数控原理与系统.西安:西北工业大学出版社,2004
    [6]http://www.cnctechnet.com/post/1770.html
    [7]徐元昌.数控技术.北京:中国轻工业出版社,2004
    [8]曹甜东.数控技术.湖北:华中科技大学出版社,2005
    [9]Application Notes:S3C2440A 32-bit RISC microprocessor application notes v0.191, Sumsung,2004
    [10]罗朝霞,高书莉.CPLD/FPGA设计及应用.北京:人民邮电出版社,2007
    [11]武文权,杨根庆.基于ARM微控制器配置FPGA的实现.计算机应用,2004,24(8):156-157
    [12]姜丹丹,李成贵.基于ARM与FPGA的主飞行仪显示系统的设计.计量与测试技术,2009,36(1):50-51
    [13]廖义奎.ARM与FPGA综合设计及应用.北京:中国电力出版社,2008
    [14]朱晓鹏,肖铁军,赵蕙.ARM+FPGA的实时数据采集系统设计.2009,30(13):3088-3090
    [15]三恒星科技.ARM9原理与应用设计.北京:电子工业出版社,2008.
    [16]用户手册:TQ2440开发板使用手册,天嵌科技,2010
    [17]胡成.基于ARM和FPGA的嵌入式数控系统研究:硕士学位论文.南京理工大学.2007
    [18]User Guide:Spartan-3 Generation Configuration User Guide. Xilinx.2009..
    [19]用户手册:Mars-XC3S400-F-Core核心板用户手册,扬创科技,2006
    [20]吴晓陆.基于FPGA的USB通信系统的设计:硕士学位论文.大连交通大学.2009
    [21]IEEE Std 1149.1, Spec:IEEE Standard Test Access Port and Boundary-Scan Architecture,2001
    [22]李莉,吴星明,陈伟海.基于ARM和FPGA的机器人运动控制器的实现.计算机测量与控制,2007,15(9):1172-1174
    [23]王荣,张少坤.基于ARM9微处理器的实时Linux嵌入式数控系统的设计.电工电气,2009(1):11-14
    [24]何云霞.嵌入式Linux系统移植与实现:硕十学位论文.电子科技大学.2009
    [25]王广丰.基于ARM微处理器的嵌入式数控系统的设计与实现:硕士学位论文.南京航空航天大学.2006
    [26]技术手册:基于天嵌科技的SKY2440/TQ2440的Linux系统移植手册,天嵌科技,2009
    [27]赵拯宇.基于Qt/Embedded和Qtopia的嵌入式GUI研究与实现:硕士学位论文.太原理工大学.2009
    [28]张亚军,孔帅.基于Qt/Embedded和Qtopia的嵌入式GUI移植开发.天津职业大学学报,2010(1):80-84
    [29]技术手册:基于SKY2440/TQ2440的QT/Embeded应用程序开发完全手册,天嵌科技,2009
    [30]田家林,陈利学,寇向辉.基于ARM与FPGA的嵌入式数控系统设计.机床与液压,2007, 35(2):93-95
    [31]田耕,徐文波. Xilinx FPGA开发实用教程.北京:清华大学出版社,2008
    [32]Application Note 502:Using a Microprocessor to Configure Xilinx FPGAs via Slave Serial or SelectMAP Mode.. Xilinx,2009.
    [33]Application Note 058:Xilinx In-System Programming Using an Embedded Microcontroller. Xilinx, 2009
    [34]Application Note 503:SVF and XSVF File Formats for Xilinx Devices. Xilinx,2007
    [35]夏宇闻.Verilog数字系统设计教程(第二版).北京:北京航空航天大学出版社,2008
    [36]陈汝倬.基于FPGA的步进电机控制器设计.科技信息,2009(8):85-86,
    [37]张延伟,杨金岩,葛爱学等.Verilog HDL程序设计实例详解.北京:人民邮电出版社,2008
    [38]唐晓燕,梁光胜,王玮.用Verilog实现基于FPGA的通用分频器.电子与电脑,2006(5):126-128
    [39]刘锦波,张承慧等.电机与拖动.北京:清华大学出版社,2006
NGLC 2004-2010.National Geological Library of China All Rights Reserved.
Add:29 Xueyuan Rd,Haidian District,Beijing,PRC. Mail Add: 8324 mailbox 100083
For exchange or info please contact us via email.