设计了一种基于DSP TMS320F2812的测试系统用无刷直流电机控制器,研究了控制器的CAN总线通信和智能化控制技术.控制器通过CAN总线实现与上位机的高速通信,可实时接收控制命令,实现对多种机构在多种运行模式下的高精度控制,并将测得的速度、位置、电压、电流等数据传递给上位机.驱动、逆变电路使用主、备份设计,可靠性高.设计了旋转变压器的解算电路,控制器同时具有处理霍尔和旋变两种信号的能力.试验结果表明,该控制器设计合理,完成了与上位机的高速通信和对电机的智能控制,达到了设计要求.%A design of brushless DC controller used for test based on DSP TMS320F2812 is discussed with the realization of the CAN communication and the intelligent control. CAN is used to accomplish the real time communication between the controller and the host computer. Through CAN the controller can receive the control order from the upper computer, and send speed, position, voltage, and current data to the upper cemputer. Three kinds of mechanisms can work in four patterns operated by the controller. Dual-redundancy of the drive and inverter circuits are implemented to achieve high reliability. The resolver decoding circuit is also designed, so the controller can process signals from both Hall sensors and resolver. The result of practical test shows that the controller is well designed and can fulfill the task of the test system in high quality.
展开▼