摘 要:为降低直线电机驱动电路的成本,该文利用8位的AVR单片机实现了直线电机的位置控制,控制精度达到了0.05 mm。文中设计了直线电机的驱动电路,合理地简化了电压空间矢量的合成算法,提出了从霍尔反馈中快速获取电机推杆位置的方法,开发了限幅比例增量式控制律,进行了直线电机的位置控制硬件实验,实验结果证明本设计方案满足了实时性和精度要求。 关键词:单片机;直线电机;霍尔反馈;电压空间矢量控制
Abstract: Position control of a linear motor, with the control precision of 0.05mm, is implemented by using an 8-bit AVR microcontroller (MCU) to reduce the cost of the driving circuit. The linear motor driving circuit is designed and the composition algorithm of voltage space vectors is simplified reasonably. A fast and simple method to obtain the motor rod position from the hall feedbacks is developed. A proportional and incremental control law with amplitude limit is proposed. The position control hardware test for the linear motor is implemented. The test results show that this design scheme satisfies the real-time and precision requirements. Key words: MCU; linear motor; hall feedback; voltage space vector control |