Multi-axis DC motor controller for phased array antenna applications implemented on FPGA
-
摘要: 为了实现机械相控阵列天线的波束扫描,采用微型直流电机驱动螺旋天线单元转动来达到预定的辐射相位,研究了一种基于单片FPGA的多轴直流电机控制系统。采用IP设计思想,直流电机的位置控制用纯硬件逻辑电路的形式(直流电机控制IP核)实现,总线通信及轨迹计算由同一芯片上的微处理器(Nios II软核)软件实现,从而容易构建多轴直流电机控制的片上系统。利用Verilog硬件描述语言,设计了一种高性能直流电机控制IP核,并进行了仿真验证。为了验证该IP核的复用性,构建了一个56轴直流电机控制的片上系统。实验结果表明,此系统可对各个直流电机实现快速精确控制,每轴的运动相互独立,并且控制参数在线可编程,控制一致性满足系统设计要求。基于这种方式构建的系统,扩展方便、可移植性高、具有较好的适用性,已在某相控阵列天线中得到了应用。Abstract: In order to achieve beam steering of mechanical phased array antenna, the brushed direct current motor(BDCM) is adopted to drive a helical antenna element to rotate to a predetermined radiation. The design and implementation of a multi-axis BDCM controller using a field programmable gate array (FPGA) is studied. Based on IP core design methodology, the flexibility of the system on a Programmable Chip(SoPC) in multiple-axis BDCM controller enables the processing of the most position servo control operations by hardware(BDCM controller IP core) and the trajectory computation and communication operations by software (Nios II microprocessor) in the same device. A high performance BDCM controller IP core described in Verilog HDL is designed, and simulation is fulfilled. The reusability of the IP core is demonstrated with the design of a 56 axis SoPC system. The experimental results show that the system can realize high precision control of the 56 axis BDCM, each axis is independent of the others, all parameters are programmable online, and consistency meets the system requirement. The built-up system based on this mode has many advantages, such as easy expansion, high portability and broad applicability. It has been applied to a phased array antenna.
-
Key words:
- phased array antenna /
- brushed DC motor /
- motor controller IP core /
- multi-axis motion
-
表 1 寄存器和接口映像
Table 1. Registers and interface image
register offset width bits description register offset width bits description [0] reset para_reg1 0×03 32 [15∶0] kp of PID control_reg 0×00 32 [1] enable para_reg2 0×04 32 [15∶0] ki of PID [2] brake para_reg3 0×05 32 [15∶0] kd of PID data_reg1 0×01 32 [15∶0] set position para_reg4 0×06 32 [15∶0] limit of integration data_reg2 0×02 32 [15∶0] actual position para_reg5 0×07 32 [15∶0] limit of output 表 2 56轴直流电机控制的SoPC系统执行结果
Table 2. Implementation results of 56-axis direct current motor controller SoPC system
hardware resource logic resource (in ALMs) DSP modules M10K RAM block PLL clock frequency usage amount 45 011/56 480 116/156 4 185/6 860 1/7 123 MHz usage rate 80% 72% 61% 14% - -
[1] Kraus J D, Marhefka R J. 天线[M]. 3版. 北京: 电子工业出版社, 2004: 255.Kraus J D, Marhefka R J. Antennas: For all application. 3rd ed. Beijing: Publishing House of Electronics Industry, 2004: 255 [2] 王邦继, 刘庆想, 张政权, 等. 机械相控阵列天线的电机控制系统设计[J]. 强激光与粒子束, 2011, 23(11): 3123-3126. http://www.hplpb.com.cn/article/id/5511Wang Bangji, Liu Qingxiang, Zhang Zhengquan, et al. Design of motor control system for mechanical phased array antenna. High Power Laser and Particle Beams, 2011, 23(11): 3123-3126 http://www.hplpb.com.cn/article/id/5511 [3] 周磊, 刘庆想, 李相强, 等. 用于阵列天线连续跟踪的步进电机控制器IP核设计[J]. 强激光与粒子束, 2011, 23(11): 3099-3102. http://www.hplpb.com.cn/article/id/5501Zhou Lei, Liu Qingxiang, Li Xiangqiang, et al. Design of stepping motor control IP core for array antenna successive scanning. High Power Laser and Particle Beams, 2011, 23(11): 3099-3102 http://www.hplpb.com.cn/article/id/5501 [4] 周一飞, 刘庆想, 李相强, 等. 螺旋天线步进电机控制系统仿真及运行曲线优化[J]. 强激光与粒子束, 2014, 26: 063020. doi: 10.11884/HPLPB201426.063020Zhou Yifei, Liu Qingxiang, Li Xiangqiang, et al. Simulation of helical antenna stepper motor control system and optimization of running curve. High Power Laser and Particle Beams, 2014, 26: 063020 doi: 10.11884/HPLPB201426.063020 [5] 万荣鑫, 李相强, 刘庆想, 等. 基于FPGA的微型直流电机控制器IP核设计[J]. 强激光与粒子束, 2016, 28: 033011. doi: 10.11884/HPLPB201628.033011Wan Rongxin, Li Xiangqiang, Liu Qingxiang, et al. Design of IP core for DC micromotor controller based on FPGA. High Power Laser and Particle Beams, 2016, 28: 033011 doi: 10.11884/HPLPB201628.033011 [6] Monmasson E, Idkhajine L, Cirstea M N, et al. FPGAs in industrial control applications[J]. IEEE Trans Ind Inform, 2011, 7(2): 224-243. doi: 10.1109/TII.2011.2123908 [7] Bahri I, Idkhajine L, Monmasson E, et al. Hardware/software codesign guidelines for system on chip FPGA-based sensorless AC drive applications[J]. IEEE Trans Ind Inform, 2013, 9(4): 2165-2176. doi: 10.1109/TII.2013.2245908 [8] Rodriguez-Andina J J, Valdes-Pena M D, Moure M J. Advanced features and industrial applications of FPGAs—A review[J]. IEEE Trans Ind Inform, 2015, 11(4): 853-864. doi: 10.1109/TII.2015.2431223 [9] Armando A, Jesus L, Unai B, et al. FPGA technology for multi-axis control system[J]. Mechatronics, 2009, 19: 258-268. doi: 10.1016/j.mechatronics.2008.09.001 [10] 王邦继, 刘庆想, 周磊, 等. FPGA在多轴步进电机控制器中的应用[J]. 电机与控制学报. 2012, 16(3): 78-82. doi: 10.3969/j.issn.1007-449X.2012.03.013Wang Bangji, Liu Qingxiang, Zhou Lei, et al. FPGA-based multiple-axis stepper motor controller. Electric Machines and Control, 2012, 16(3): 78-82 doi: 10.3969/j.issn.1007-449X.2012.03.013 [11] 刘亚静, 范瑜, 李铁才. 四轴电机伺服控制ASIC芯片[J]. 电机与控制学报, 2014, 18(6): 29-35. https://www.cnki.com.cn/Article/CJFDTOTAL-DJKZ201406006.htmLiu Yajing, Fan Yu, Li Tiecai. Application specific integrated circuits of multi-axis motor servo controller. Electric Machines and Control, 2014, 18(6): 29-35 https://www.cnki.com.cn/Article/CJFDTOTAL-DJKZ201406006.htm [12] Amornwongpeeti S, Ekpanyapong M, Chayopitak N, et al. A single chip FPGA-based solution for controlling of multi-unit PMSM motor with time-division multiplexing scheme[J]. Microprocessors and Microsystems, 2015, 39: 621-633. doi: 10.1016/j.micpro.2015.08.011 [13] Choi J W, Lee S C. Antiwindup strategy for PI-type speed controller[J]. IEEE Trans Ind Electron, 2009, 56(6): 2039-2046. doi: 10.1109/TIE.2009.2016514 [14] Muresan C I, Folea S, Mois G, et al. Development and implementation of an FPGA based fractional order controller for a DC motor[J]. Mechatronics, 2013, 23: 798-804. doi: 10.1016/j.mechatronics.2013.04.001 [15] 王邦继, 刘庆想, 周磊, 等. 相控阵天线内部通信的CAN控制器IP核设计[J]. 强激光与粒子束, 2017, 29: 093003. doi: 10.11884/HPLPB201729.170090Wang Bangji, Liu Qingxiang, Zhou Lei, et al. Design of CAN controller IP core for intercom of phased array antenna. High Power Laser and Particle Beams, 2017, 29: 093003 doi: 10.11884/HPLPB201729.170090