步进电机的单片机控制的设计(含程序,电路图)
步进电机的单片机控制的设计(含程序,电路图)(含任务书,外文翻译,毕业论文12000字)
摘 要
步进电机是将电脉冲信号转变为角位移或线位移的开环控制元件。在非超载的情况下,电机的转速、停止的位置只取决于脉冲信号的频率和脉冲数,而不受负载变化的影响,即给电机加一个脉冲信号,电机则转过一个步距角。这一线性关系的存在,加上步进电机只有周期性的误差而无累积误差等特点。使得在速度、位置等控制领域用步进电机来控制变的非常的简单。步进电机的调速一般是改变输入步进电机的脉冲的频率来实现步进电机的调速,因为步进电机每给一个脉冲就转动一个固定的角度,这样就可以通过控制步进电机的一个脉冲到下一个脉冲的时间间隔来改变脉冲的频率,延时的长短来具体控制步进角来改变电机的转速,从而实现步进电机的调速。在本设计方案中采用AT89C51型单片机内部的定时器改变CP脉冲的频率从而实现对步进电机的转速进行控制,实现电机调速与正反转的功能。
关键词: 步进电机,单片机 ,调速系统
The stepper motor control of SCM
ABSTRACT
Stepper motor is the electric pulse into angular displacement or displacement of the open-loop control devices. In the case of non-overloading, motor speed, and stop only depends on the location of the signal pulse frequency and pulses, without the impact of changes in load, that is to add an electrical pulse, the electrical, passed a step angle. The existence of this linear relationship, coupled with the cyclical stepper motor only accumulated error without error and so on. Makes the speed, location and other areas controlled by stepper motor control to change the very simple. Stepping Motor governor general is to change the input of the stepper motor pulse frequency to achieve the stepper motor speed, because every step motor to a pulse on a fixed rotation angle, so you can control the stepper motor A pulse to a pulse of the interval to change the frequency pulse, the length of delay to control specific step to change the angle of the motor speed, thus realizing the stepper motor speed. In this design used in the AT89C51-Microcontroller internal timer to change the frequency of CP to achieve the speed of the stepper motor control, and motor speed and positive and function.
[来源:http://www.doc163.com]
KEY WORDS: stepper motor, SCM, speed control system