针对多电机速度伺服系统的需求,以及现有驱动控制器的不足,设计一种基于数字信号处理器(DSP)和现场可编程门阵列(FPGA)的驱动控制平台。采用浮点DSP作为主控制器,完成控制算法计算、接收控制指令、处理电机速度同步等功能;采用低成本FPGA作为从控制器,实现双口RAM、PWM发生、A/D采样控制和速度检测等功能。采用自顶至下的模块化设计方法,实现了DSP的程序设计和FPGA的功能设计。以2台无刷直流电动机(BLDCM)为控制对象,对驱动控制平台进行了功能验证。仿真和实验结果表明,该平台能够有效地同时完成对2台电机的速度伺服控制功能,并且该平台结构简单,具有良好的功能扩展性。
A drive control platform based on digital signal processor(DSP) and field programmable gate array(FPGA) is designed to meet the need of multi motors speed-servo system and to make up the shortages of the existing drive controllers.A floating-point DSP was used as primary controller to perform the functions such as computing control algorithm,receiving control instructions and synchronizing motor speed.A low-cost FPGA was used as secondary controller to achieve the functions such as dual-port RAM,PWM generation,A/D sampling control and speed acquisition.Programming design of DSP and functional design of FPGA were accomplished using top-down modularized method.Two brushless DC motors(BLDCM) were used to test the control function of the drive control platform.The simulation and experiment results verify the validity of the control platform.And the proposed control platform has simple structure and excellent expandability.