1、 单片机原理及系统单片机原理及系统课程设计课程设计 专专 业:业: 电气工程及其自动化 班班 级:级: 姓姓 名:名: 学学 号:号: 指导教师:指导教师: 2013 2013 年年 3 3 月月 1414 日日 评语: 考勤(10) 守纪(10) 过程(40) 设计报告(30) 答辩(10) 总成绩(100) 基于单片机的步进电机的设计基于单片机的步进电机的设计 摘摘 要要 本文所阐述的是步进电机的基本工作原理及其简单控制。 它是多种技术知识 的结合,不仅涉及到软件的设计,而且还将应用电子技术与单片机的应用技术有 机结合起来,具有较强的综合性和系统性。电路板的设计技术和机械加工工艺的 巧妙结
2、合,使其具备了显示直观、简单易懂的特点。在该设计中主要模拟步进电 机实现正反转的控制。 步进电机是一种将电脉冲转变为角位移的执行机构。 当步进驱动器接收到一 个脉冲信号,它就驱动步进电机按设定的方向转动一个固定的角度。可通过控制 脉冲数来控制角位移量,来达到准确的定位目的,也可通过控制脉冲的频率来控 制电机的转速和加速度,从而达到调速的目的。 关键词关键词:软件设计软件设计; ;电路板电路板; ;单片机单片机; ;步进电机步进电机 The Design of Stepper Motor Based On Single Chip Microcomputer Abstract As set out
3、 in this article is a basic principle and simple stepper motor control. It is the combination of a variety of technical knowledge, referring not only to software design, but also in applied electronic technology and single-chip computer applied technology integrated, with a strong integrated and sys
4、tematic. Circuit board design techniques and unique combination of mechanical processing technology, so that it appears with an intuitive, simple and easy to understand features. control the movement of stepper motor, making it efficient and reliable is very important aspect of the work. Main simula
5、tion in the design of the stepper motor positive inversion of control. Stepper motor is an implementing agency for the electrical impulses into an angular displacement. When stepper drives receive a pulse signal, it is driving stepping motor by turning it in the direction set by a fixed angle. By co
6、ntrolling the number of pulses to control the amount of angular displacement, for accurate position ends, or by control pulse frequency control of motor speed and Acceleration, so as to achieve the purpose of speed. Keywords:Software design, circuit board, MCU, stepper motor 1 引言引言 步进电机是一种感应电机, 它的工作原理是利用电子电路将直流电变成分时 供电的,多相时序控制电流,用这种电流为步进电机供电,步进电机才能正常工 作,步进电机的驱动器就是为步进电机分时供电的。 虽然步进电机已被广泛地应用,但步进电机并不能像普通的直流电机, 交流 电机在常规下使用。它必须由双环形脉冲信