## 基于AT89C52单片机的PID直流电机控制系统仿真
本文所介绍的基于AT89C52单片机的PID直流电机控制系统设计过程主要分为MATLAB建模、Proteus硬件电路的设计以及基于C51语法的单片机程序开发编写。本系统性质为单闭环控制,即通过转速对电机进行调速;将采用增量式编码器进行电机转速的测量,并设定PWM波形生成的开关频率为7KHz,速度回路的采样周期为14ms。
### 1. 所需仿真平台
单片机部分代码主要利用`Keil uVision5`平台进行编译,工具链采用**C51**。仿真电路搭建平台为`Proteus 8 Professional`。
### 2. Release版本
编译后的运行环境为`Atmel AT89C52`单片机平台。
### 3. 运行
1. 将已发布的**HEX**文件放入Proteus 8 Professional仿真平台或以上版本内运行即可;
2. 可通过修改Proteus仿真文件方波的频率(开关频率)来改变PWM相应的频率;
3. 若需要修改源代码可**Clone**软件代码进行修改,注释已在代码中标出。
### 4. 更多
可以进入我的个人博客[Jimmy's TechBlog](https://jimmyliang-lzm.github.io)进行查看。
## PID DC motor control system simulation based on AT89C52 single chip microcomputer
The design process of PID DC motor control system based on AT89C52 single-chip microcomputer introduced in this paper is mainly divided into MATLAB modeling, Proteus hardware circuit design, and single-chip program development and writing based on C51 syntax. The nature of this system is single closed-loop control, that is, the motor speed is adjusted by the speed; an incremental encoder will be used to measure the motor speed, and the switching frequency generated by the PWM waveform is set to 7KHz, and the sampling period of the speed loop is 14ms.
### 1. Required simulation platform
Part of the code of the single-chip microcomputer is mainly compiled using the `Keil uVision5` platform, and the tool chain uses **C51**. The simulation circuit building platform is `Proteus 8 Professional`.
### 2. Release version
The compiled operating environment is the `Atmel AT89C52` microcontroller platform.
### 3. Run
1. Put the released **HEX** file into the Proteus 8 Professional simulation platform or above to run;
2. The corresponding frequency of PWM can be changed by modifying the frequency (switching frequency) of the square wave of the Proteus simulation file;
3. If you need to modify the source code, you can modify the **Clone** software code, and the comments have been marked in the code.
### 4. More
You can enter my personal blog [Jimmy's TechBlog](https://jimmyliang-lzm.github.io) to view it.
没有合适的资源?快使用搜索试试~ 我知道了~
C语言《基于AT89C52单片机搭建的PID直流电机控制程序,主要用于Proteus电路仿真》+源代码
共17个文件
c:3个
h:2个
json:2个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 46 浏览量
2024-03-29
13:03:49
上传
评论
收藏 60KB ZIP 举报
温馨提示
<项目介绍> - 本文所介绍的基于AT89C52单片机的PID直流电机控制系统设计过程主要分为MATLAB建模、Proteus硬件电路的设计以及基于C51语法的单片机程序开发编写。本系统性质为单闭环控制,即通过转速对电机进行调速;将采用增量式编码器进行电机转速的测量,并设定PWM波形生成的开关频率为7KHz,速度回路的采样周期为14ms - 不懂运行,下载完可以私聊问,可远程教学 该资源内项目源码是个人的毕设,代码都测试ok,都是运行成功后才上传资源,答辩评审平均分达到96分,放心下载使用! 1、该资源内项目代码都经过测试运行成功,功能ok的情况下才上传的,请放心下载使用! 2、本项目适合计算机相关专业(如计科、人工智能、通信工程、自动化、电子信息等)的在校学生、老师或者企业员工下载学习,也适合小白学习进阶,当然也可作为毕设项目、课程设计、作业、项目初期立项演示等。 3、如果基础还行,也可在此代码基础上进行修改,以实现其他功能,也可用于毕设、课设、作业等。 下载后请首先打开README.md文件(如有),仅供学习参考, 切勿用于商业用途。 --------
资源推荐
资源详情
资源评论
收起资源包目录
基于AT89C52单片机搭建的PID直流电机控制程序.zip (17个子文件)
基于AT89C52单片机搭建的PID直流电机控制程序
.vscode
keil-assistant.log 434B
c_cpp_properties.json 940B
settings.json 60B
uv4.log.lock 0B
pid.h 86B
LICENSE 1KB
MotorControl.uvgui.Jimmys' Device 70KB
STARTUP.A51 6KB
sysinit.c 1KB
MotorControl.uvproj 12KB
Proteus_8_pro_Simulate
New Project.pdsprj 31KB
MotorControl.uvopt 6KB
sysinit.h 500B
MotorControl 13KB
pid.c 788B
main.c 4KB
README.md 3KB
共 17 条
- 1
资源评论
mldxxxxll5
- 粉丝: 3287
- 资源: 762
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功