介绍了一种基于STM32F103ZET6单片机的交流伺服电机位置、速度和转矩控制方案,完成了控制系统软硬件设计、电机调试参数设置和伺服电机控制结构图等方面的工作。人机接口(HMI)采用Lab VIEW图形化编程语言设计,交互性强,界面友好。与传统的单片机控制方案相比,该控制系统具有经济性好,处理速度快,实时性好,集成度高和抗干扰性强等优点,能较好地实现交流伺服电机的精确位置定位及匀速运转控制。
The paper introduces a position, speed and torque control scheme of the ac servo motor based on the STM32F103ZET6 micro-controller. Software and hardware design of the control system, settings of debug parameters and control charts of the servo motor are completed. Human-machine interface (HMI) is designed by the LabVIEW graphical programming language. It has a friendly interface and strong interactions. Compared with the control schemes of traditional single chip microcomputer, the control system has advantages of good economy, fast processing speed, good real-timing, high integration and strong anti-interference performance etc. It can realize the accurate location and speed control of the ac servo motor well.