1、 1 单片机课程设计单片机课程设计 题目:步进电机控制系统的设计题目:步进电机控制系统的设计 编编 号号: 学生姓名:学生姓名: 同同 组组 者:者: 指导教师:指导教师: 2010 年年 11 月月 18 日日 2 目录目录 摘要摘要 4 第一章第一章 绪论绪论5 1.1 关于步进电机5 1.2 选题的目的和意义6 第二章第二章 元器件的介绍元器件的介绍8 2.1 步进电机8 2.2 89C519 第三章第三章 步进电机控制系统硬件电路设计步进电机控制系统硬件电路设计11 3.1 控制电路10 3.2 最小系统12 3.3 驱动电路13 3.4 显示电路14 3.5 总体电路14 第四章第四
2、章 软件的设计软件的设计16 4.1 方案论证16 4.2 主程序设计17 4.3 定时中断设计18 4.4 外部中断设计19 第五章第五章 仿真与调试仿真与调试25 5.1 Proteus软件介绍25 5.2 keil软件介绍25 3 5.3 仿真过程25 心得体会心得体会27 附录附录 PCB 板图及其三视图板图及其三视图28 4 摘摘 要要 能够实现步进电机控制的方式有多种,可以采用前期的模拟电路、 数字电路或 模拟与数字电路相结合的方式。近年来随着科技的飞速发展,单片机的应用正在不断 深入,同时带动传统控制检测日新月异更新。本文介绍一种用 AT89C51 作为核心部 件进行逻辑控制及信
3、号产生的单片机技术和汇编语言编程设计的步进电机控制系 统,步进电机背景与现状、硬件设计、软件设计及其仿真都做了详细的介绍,使我 们不仅对步进电机的原理有了深入的了解,也对单片机的设计研发过程有了更加深 刻的体会。 本控制系统采用单片机控制,通过人为按动开关实现步进电机的开关,复位。 该系统还增加了步进电机的加速及减速功能。具有灵活方便、适用范围广的特点, 基本能够满足实践需求。 关键字:步进电机 单片机 AbstractAbstract Stepper motor control can be achieved in different ways, can be used early anal
4、og circuits, digital circuits or a combination of analog and digital circuit means. With the rapid development of science and technology in recent years, the application of SCM is a growing, while traditional control test drive rapid updates. This paper describes a core component of the AT89C51, as
5、the signal generated by logic control and microcontroller technology and assembly language programming designed stepper motor control system, stepping motor background and present, hardware design, software design and simulation have made a detailed introduction, so we not only have a stepper motor-