文档详情

基于单片机控制的直流电机调速系统设计.doc

发布:2017-12-09约1.45万字共30页下载文档
文本预览下载声明
苏州市职业大学 毕业设计(论文)说明书 设计(论文)题目 基于单片机控制的直流电机调速系统设计 系 电子信息工程系 专业班级 09电气自动化技术2班 姓 名 石 贵 江 学 号 097301226 指导教师 淮 文 军 2012年5月19 摘要 主要通过PWM信号对直流电转速进行控制。首先预设电机转速,单片机将此转速按照固定的比例转化为一定占空比的脉冲信号输出到直流电机驱动模块。与直流电机同轴的光电旋转编码器采集脉冲信号,将此脉冲信号输入到单片机,单片机对脉冲信号分析处理得到电机实时转速,将此转速与预设转速进行比较得出差值。将差值转化为一定占空比,此占空比与预设转速占空比的和的脉冲继续输出到直流电机驱动模块,循环次过程。 该系统用STC 89C52RC型号单片机为主控芯片,L298N芯片为直流电机驱动,LCD1602液晶显示屏显示实时转速。本系统硬件电路设计可靠,抗干扰能力强,调速快、波动范围1%。 关键词:单片机,电机驱动,液晶显示,转速设定 ABSTRACT The speed of DC motors is mainly controlled by PWM signals in my Graduation project. First a preset speed will be transferred to single-chip computer. Then the speed will be fixed into a certain proportion of the duty cycle of the pulse signal by single-chip computer. The signal is transferred to DC motor driver module. Axis photoelectric rotary encoder with DC motors collection pulse, the pulse input signal to a single-chip, chip for pulse signal analysis and processing to be motor speed in real time, compare this speed with the preset speed on business value. Turning difference into certain duty cycle, this duty with preset speed duty cycle and the pulse continues to output to DC motor driving module, cyclic process. The STC 89C52RC SCM for system control chip, L298N IC for DC motor drive, LCD1602 LCD screen display speed in real time. This reliable system hardware circuit design, strong anti-jamming ability, fast speed, less volatile. Keyword: SCM, motors, LCD display, set speed 目录 第一章 绪论 1 1.1 设计背景 1 1.2 设计要求 1 1.3 设计内容 2 第二章 基于单片机控制的直流电机调速系统方案的比较择 3 2.1 调速方案一 3 2.2 调速方案二 4 2.3 方案选择 4 第三章 基于单片机的直流电机调速系统设计 5 3.1 总体设计 5 3.2 元件简介 6 3.2.1 STC89C52RC单片机 6 3.2.2 L298N芯片 7 3.2.3 S38-J3V100光电旋转编码器 8 3.2.4 LCD1602液晶显示屏 8 3.2.5 直流电机 9 3.4 电路设计 9 3.4.1 CPU单元原理图 9 3.4.2 按键单元原理图 10 3.4.3 L298N驱动部分原理图 10 3.4.4 液晶接口电路 11 3.5 电路板焊接 12 3.6 单片机程序编写及烧录 12 3.6.1 程序设计软件简介 12 3.6.2基于单片机控制的直流调速系统程序设计 13 3.6.3 单片机程序烧录 14 第四章 基于单片机控制的直流电机调速系统性能测试 16 4
显示全部
相似文档