《其余单片机步进电机转速控制器》由会员分享,可在线阅读,更多相关《其余单片机步进电机转速控制器(84页珍藏版)》请在金锄头文库上搜索。
1、山东科技大学学士学位论文摘摘 要要步进电机是将电脉冲信号转变为角位移或线位移的开环控制元件。在非超载的情况下,电机的转速、停止的位置只取决于脉冲信号的频率和脉冲数,而不受负载变化的影响,即给电机加一个脉冲信号,电机则转过一个步距角。这一线性关系的存在,加上步进电机只有周期性的误差而无累积误差等特点。使得在速度、位置等控制领域用步进电机来控制变的非常的简单。步进电机的调速一般是改变输入步进电机的脉冲的频率来实现步进电机的调速,因为步进电机每给一个脉冲就转动一个固定的角度,这样就可以通过控制步进电机的一个脉冲到下一个脉冲的时间间隔来改变脉冲的频率,延时的长短来具体控制步进角来改变电机的转速,从而实
2、现步进电机的调速。在本设计方案中采用 AT89C51 型单片机内部的定时器改变 CP脉冲的频率从而实现对步进电机的转速进行控制,实现电机调速与正反转的功能。关键词:关键词: 步进电机;单片机;调速系统山东科技大学学士学位论文ABSTRACTIt is changing the electric impulse signal to the open loop control component of angular motion or thread displacement that step advances the electrical machinery. The rotational s
3、peed of electrical machinery and the seat that stops only to depend on frequency and the pulse of the pulse signal number under the circumstances of non- overload, and with namelying because of the influence of load change, but the electrical machinery turned one step apart from the horn. The existe
4、nce of this linear relation, again step advancing the electrical machinery only error of periodicity and does not have the accumulated error etc characteristics. Makes in speed and seat etc the control domains with step advances the electrical machinery to come control what becomes very simply. Step
5、 advancing the velocity modulation of electrical machinery generally to be the frequency that the pulse of electrical machinery step is advanced in the change input is realized that the step advances the velocity modulation of electrical machinery, and advances the electrical machinery and whenever
6、moves a built-in angle tos a pulse because of step, delay-Doppler mapping the length comes that the concrete control step advances the rotational speed that the horn comes to change the electrical machinery, thus realizes that the step advances the velocity modulation of electrical machinery. Thus t
7、he frequency that the timer which adopted inside AT89C51s mould list piece machine in this design proposal changes pulse of CPs is realized that advancing the rotational speed of electrical machinery to step control, and realizes electrical machinery velocity modulation and function reversing.Keywor
8、ds: stepper motor; MCU; speed control systerm山东科技大学学士学位论文目目 录录前前 言言.11 1 步进电机概述步进电机概述.21.1 步进电机的特点.2 1.2 步进电机的工作原理.2 1.3 步进电机的技术参数.3 1.3.1 步进电机的基本参数.3 1.3.2 步进电机动态指标及术语.4 1.4 步进电机的分类.5 1.4.1 步进电机分为三大类.5 1.4.2 步进电机的内外结构.6 1.5 步进电机详细调速原理.7 1.6 本次设计的基本要求.82 2 方案的论证方案的论证.82.1 控制方式的确定.8 2.2 驱动方式的确定.11 2.3 驱动电路的选择.12 2.4 基本方案的确定.133 3 硬件电路的设计硬件电路的设计.133.1 单片机的选择.13 3.1.1 单片机的引脚功能.14 3.1.2 主要特性.14 3.2 步进电机的选择.15 3.2.1 三相单三拍通电方式.16 3.2.2 三相双三拍通电方式.17 3.3 驱动电路的选择.22 3.4 显示电路与键盘的选择.24 3.5 反