没有合适的资源?快使用搜索试试~ 我知道了~
基于STM32的直流电机PID调速系统设计
需积分: 49 109 下载量 122 浏览量
2018-03-12
11:35:49
上传
评论 14
收藏 2.03MB DOC 举报
温馨提示
试读
25页
直流电机调速,采用stm32实现直流电机调速,调速策略采用pid控制方法实现
资源推荐
资源详情
资源评论
基于 STM32 的直流电机 PID 调速系统设计
《计算机控制技术课程设计》
题 目: 基于
STM32
的直流电机
PID
调速
学院: 计算机与电子信息学院
专业: 电气工程及其自动化
班级: 电气
12-5
学号: 12034320515
姓名:
任课教师:
完成时间: 2015.11.18——2015.12.30
基于 STM32 的直流电机 PID 调速系统设计
基于 STM32 的直流电机 PID 调速
摘要
电机转速控制在运动控制系统中占有至关重要的地位,本设计将电机转速控制
作为研究对象;以 PID 为基本控制算法,STM32F103 单片机为控制核心,产生受
PID 算法控制的 PWM 脉冲实现对直流电机转速的控制。同时利用光电传感器将电
机速度转换成脉冲频率反馈到单片机中,实现转速闭环控制,达到转速无静差调节
的目的。在系统中采 320×240TFTLCD 显示器作为显示部件,通过 4 个按键通过
界面切换方式设置 P、I、D、V 四个参数和正反转控制,启动后可以通过显示部件
了解电机当前的运行状态和系统的 CPU 温度。该系统控制精度高,具有很强的抗干
扰能力。
关键词:PID 直流电机 反馈 调节
基于 STM32 的直流电机 PID 调速系统设计
基于 STM32 的直流电机 PID 调速系统设计
Based on the STM32 PID speed control of dc motor
Abstract
Motor speed control occupies a crucial position in the motion control system,
the design of the motor speed control for the study; in the basic PID control
algorithm, STM32F103 microcontroller core, by the PID control algorithm generates
a PWM pulse to achieve DC speed control. At the same time the use of photoelectric
sensors to convert the motor speed to pulse frequency feedback to the microcontroller
to achieve closed-loop speed control, to speed static error adjustment purposes.
Mining 320 × 240TFTLCD monitor as a display unit in the system, through four key
settings P, I, D, V four parameters and reversing control through the interface
switching mode, start to understand the current state of the motor and the system
through the display unit CPU temperature. The system control and high precision,
has a strong anti-jamming capability.
Keywords: PID DC motor feedback regulation
基于 STM32 的直流电机 PID 调速系统设计
目录
1. 绪论...................................................................................................................1
1.1 研究背景与意义...............................................................................................................................1
1.2 本文主要研究方法..........................................................................................................................1
2. 设计方案与论证.............................................................................................2
2.1 系统设计方案.....................................................................................................................................2
2.2 控制器模块设计方案....................................................................................................................2
3. 系统硬件电路设计.........................................................................................3
3.1 整体电路设计.....................................................................................................................................3
3.1.1 整体理论..................................................................................................................... ..................3
3.1.2 整体简单结构图和资源分配图............................................................................. ........3
3.2 最小单片机系统设计....................................................................................................................4
3.2.1 STM32F103 复位电路....................................................................................................6
3.2.2 电源电路..................................................................................................................... ..................6
3.3 电机驱动电路设计..........................................................................................................................7
3.4 光电码盘编码器电路设计.........................................................................................................7
3.5 显示电路设计.....................................................................................................................................8
3.6 按键电路设计...................................................................................................................................10
4. 系统软件设计................................................................................................10
4.1 PID 算法..............................................................................................................................................10
4.2 PID 参数整定方法........................................................................................................................11
4.3 电机速度采集算法.......................................................................................................................12
剩余24页未读,继续阅读
资源评论
qq_39092240
- 粉丝: 3
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功