1、基于基于 MCSMCS- -5151 单片机的步进电机系统单片机的步进电机系统 1 基于基于 MCSMCS- -5151 单片机单片机的的 步进电机系统步进电机系统 摘摘 要要 本文通过 MCS-C51 单片机对步进电机进行控制, 主要介绍了步进电机控制系 统,驱动电路和 LED 显示电路的设计,包括硬件系统设计和系统软件设计,来实 现步进电机的控制,系统为一自动控制系统,通过按键向单片机输送控制信号, 控制步进电机的转速和正反转,在步进电机控制系统的设计中,重点阐述了脉冲 产生电路以及对速度的控制, 该系统具有成本低, 控制方便的特点。 采用 MCS-C51 单片机指令系统进行编程来实现软件
2、部分测试,系统能实现上述功能。 关键词:关键词:MCS-C51 步进电机 控制系统 AbstractAbstract In this paper, MCS-51 microcontroller to control the stepper motor, stepper motor control are introduced system, drive circuit and LED display circuit design, including hardware, system design and system software design, to achieve the stepp
3、er motor control system an automatic control system, key to the microcontroller through the delivery control signal to control the stepper motor speed and reversing, the stepper motor control system design, focuses on the pulse generator circuit and the speed control, the system is low cost and conv
4、enient control features. With MCS-C51 microcontroller instruction to implement software programming some of the test, the system can achieve these functions. Keywords:Keywords: MCS-51 Stepping Motor Control system 基于基于 MCSMCS- -5151 单片机的步进电机系统单片机的步进电机系统 2 目目 录录 摘要-1 Abstract-1 目录-2 前言-4 1 单片机发展概述 1.1 单片机的基本概念-4 1.2MS-51 单片机内部结构-4 1.3MS-51 单片机引脚及功能-5 2 步进电机发展概述 2.1 步进电机简介-6 2.2 步进电机分类-6 2.2 反应式步进电机原理及结构 2.2.1 步进电机基本原理-7 2.2.2 步进电机转速控制原理-8 2.3 步进电机驱动控制系统-8 3 硬件电路设计 3.1 单片机外围电路-9 3.2 步进电机及驱动电路-9 3