摘要
介绍了一种基于FPGA的多轴控制器,控制器主要由ARM7(LPC2214)和FPGA(EP2C5T144C8)及其外围电路组成,用于同时控制多路电机的运动。利用Verilog HDL硬件描述语言在FPGA中实现了电机控制逻辑,主要包括脉冲控制信号产生、加减速控制、编码器反馈信号的辨向和细分、绝对位移记录、限位信号保护逻辑等。论文中给出了FPGA内部一些核心逻辑单元的实现,并利用QuartusⅡ、Modelsim SE软件对关键逻辑及时序进行了仿真。实际使用表明该控制器可以很好控制多轴电机的运动,并且能够实现高精度地位置控制。
A design for Multi-axis motor controller based on FPGA is discussed, it mainly consists of ARM 7 (LPC2214) and hardware (EP2C5T144C8) and its peripheral circuit, and is used to control multi_motor at the same time.The controller's control logic is realized via programing FPGA with verilog HDL, and it consists of several parts, such as generating control signal, acceleration and deceleration, direction discrimination and subdivision circuit of encoder's feedback signal, absolute displacement record, handling limit switches etc.Implementations of these control logic are detailed and their timing analysis are given through simulations by Quartus II and Modesim SE. The practical application shows that the controller can control the multiaxis movement of the motor, and can realize high precision position control.
出处
《电子设计工程》
2013年第6期148-151,共4页
Electronic Design Engineering