本文所介绍的基于AT89C52单片机的PID直流电机控制系统设计过程主要分为MATLAB建模、Proteus硬件电路的设计以及基于C51语法的单片机程序开发编写。本系统性质为单闭环控制,即通过转速对电机进行调速;将采用增量式编码器进行电机转速的测量,并设定PWM波形生成的开关频率为7KHz,速度回路的采样周期为14ms。
单片机部分代码主要利用Keil uVision5
平台进行编译,工具链采用C51。仿真电路搭建平台为Proteus 8 Professional
。
编译后的运行环境为Atmel AT89C52
单片机平台。
可以进入我的个人博客Jimmy's TechBlog进行查看。
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.
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
.
The compiled operating environment is the Atmel AT89C52
microcontroller platform.
You can enter my personal blog Jimmy's TechBlog to view it.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。