摘要
为改善步进电机堵转、失步、超步等问题,提高步进精度,使步进电机能够快速准确定位,提出基于STM32F4微控制器的步进电机控制系统设计;通过改变PWM输出定时器的预分频值控制电机转速,直线阶梯形升降速算法实现调速;采用DMA方式控制电机脉冲数量,实现位置精确控制;实验以及实际应用情况表明,阶梯形升降速算法以及DMA方式位置控制算法能够满足一般要求,系统误差为±0.0l度;系统精确度高、性能可靠、扩展性强,具有较高的应用价值。
To improve the stepper motor stall, out of step, over step and other issues, increase step accuracy, and made it be located quickly and accurately, proposed a stepping motor control system based on the STM32F4 microeontroller design. To control the motor speed can change the prescaler of timer which generated PWM, straight line stepped acceleration and deceleration algorithm speed; Using DMA mode control motor pulse number, to achieve precise position control. Experiments and practical application shows, stepped trapezoidal land ing speed algorithms and DMA mode position control algorithm can meet the general requirements, the system error is under ±0. 01 degrees. High precision, reliable per{ormance, and expandability made it has a higher value.
出处
《计算机测量与控制》
2015年第10期3370-3372,3376,共4页
Computer Measurement &Control
基金
国家自然科学基金资助项目(61063040)
广西可信软件重点实验室(桂林电子科技大学)开放课题资助项目
作者简介
李传明(1989-),男,山东潍坊人,硕士,主要从事嵌入式物联网及应用方向的研究。
崔更申(1970-),男,湖北天门人,副教授,主要从事嵌入式及应用方向的研究。