基于动态规划的对焦步进电机控制

Control of Focusing System of Stepper Motor Based on Dynamic Programming

  • 摘要: 为了解决STM(stepper motor)镜头中步进电机低频对焦慢、高频失步跑焦的问题,通过分析对焦过程中电机的加减速动作,结合步进电机加减速曲线,设计了一种适用于STM镜头驱动的步进电机开环控制算法。算法根据步进电机速度在单位控制周期内不变,把步进电机位置控制问题转换为单位控制周期内脉冲输出问题,实现了速度控制与位置控制的巧妙结合。设计并搭建了STM镜头对焦电机控制电路,工程实验结果表明:该算法提高了步进电机开环控制的精度,有效地减小了由于步进电机过冲和失步带来的跑焦问题。

     

    Abstract: To solve the problems of slow focusing in a stepper motor lens, caused by a stepper motor used for low-frequency driving, and the lack of focus, caused by an out-of-step stepper motor used for high-frequency driving, the open-loop control algorithm of a stepper motor for an STM lens is designed by analyzing the motor's acceleration and deceleration action and its acceleration-deceleration curves during the focusing process. Based on the constant speed of the motor during the unit control period, the algorithm transforms the position control problem of the stepper motor into a pulse output problem in the unit control cycle, which realizes a skillful combination of speed control and position control. The control circuits are built for the STM lens focusing motor. The experimental results show that this algorithm can improve the open-loop control precision of the stepper motor, effectively suppressing the out-of-focus problem caused by overshoot and out-of-step stepper motors.

     

/

返回文章
返回