摘要
针对控制系统中步进电机在低速运转时振动较大的情况,为使步进电机在低速时平稳地运行,设计了基于STM8S903单片机控制低速步进电机的嵌入式系统。系统硬件部分根据PWM脉宽电流的细分原理,采用L6203芯片驱动步进电机,电路以LM358放大器为电流反馈元件,通过单片机A/D实时采样转换电流检测信号,并与给定的电流进行误差对比。实验结果表明:基于IAR for STM8平台设计的控制系统改善了步进电机在低速运行时的平稳性。
When stepping motors ran at low-speed and in a full step, vibration was relatively big in the control system. In order to make stepping motor run smoothly at a low-speed, an embedded system was designed based on STM8S903 to control the low-speed stepping motor. The hardware system parts using L6203 chip driver stepping motor were based on the PWM pulse width current subdivision prin- ciple. Using the LM358 amplifier as current feedback device in current signal detection circuit, the internal A/D module in the single chip real-time captures and converts the current information into digital consults, and then it was compared with the given current set by system. System software is based on the IAR for STM8 platform design of control system to improve the stepping motor running stability at the low-speed.
出处
《重庆理工大学学报(自然科学)》
CAS
2013年第8期94-96,120,共4页
Journal of Chongqing University of Technology:Natural Science
基金
福建省自然科学基金项目(2011J01350)
中央高校基本科研业务费项目(JB-ZR1107)
关键词
步进电机
嵌入式系统
细分原理
stepping motor
embedded system
segmentation principle