pid设计设计报告1 - 图文

更新时间:2023-09-30 07:46:01 阅读量: 综合文库 文档下载

说明:文章内容仅供预览,部分内容可能不全。下载后的文档,内容与下面显示的完全一致。下载之前请确认下面内容是否您想要的,是否完整无缺。

本科生毕业设计

题 目 基于PID控制的智能风扇的设计 作 者 姓 名 刘俊秀 指 导 教 师 梁达平 提 交 日 期

原创性说明

本人郑重声明:本人所交的论文是在指导教师的指导下独立进行研究所取得的成果。学位论文中凡是引用他人已经发表或未经发表的成果、数据、观点等均已明确注明出处。除文中已经引用的内容外,不包含任何其他个人或集体已经发表或撰写过的科研成果。

本声明的法律责任由本人承担。论文作者签名: 年 月 论文指导教师签名:

基 于PID 控 制 的 智 能 风 扇 的 设 计

刘俊秀

(天水师范学院电信学院 甘肃 刘俊秀 741000)

摘要:在现代化工业生产中,随着各种生产规模的不断壮大,人们对产品质量的要求日益有了普遍性提高,同时也使工业过程控制系统已成为生产中必不可少的设备。随着发展的不段创新,PID控制逐渐演变成两人最实用化的控制方式,它指的是一项流行的线性控制策略,是对偏差信号e(t)进行比例、积分、微分运算变换后形成的一种控制规律,基本思想是“利用偏差、消除偏差”。PID控制被证明是一种非常好的控制模式。用它生产的产品已经在工程实际中得到了广泛的应用,很多大公司都开发了具有PID参数自整定功能的智能控制器。本文设计了基于PID控制的温控风扇系统,采用单片机作为控制器,利用温度传感器DS19B20作为温度采集元件,并根据采集到的温度,通过一个达林顿反向驱动器ULN2003A驱动风扇电机。根据测到的温度与系统温的比较实现风扇电机的自动启动和停止,采用PID算法来控制风扇的转速,能根据温度的变化自动改变风扇的转速,同时用LCD1602显示检测到的温度与设定温度。

关键词:80C4片机; PID参数;达林顿反向驱动器ULN2003A

PID control of the smart fan design is based on

Liu Junxiu

(Gansu Tianshui Normal University Institute of telecommunications Liu Junxiu 741,000)

Abstract: Modern industrial production, along with the growing scale of production, quality of people's increasing demand for the product, as well as the complexity of the modern environment, industrial process control systems have become an essential production equipment. PID control is the most practical way of control, referring to a popular linear control strategy, which is a control law after the error signal e (t)

proportional, integral, differential operation transformation form, the basic idea is %use deviation, to eliminate bias. \PID control has been proven to be a very good control mode. Its products have been widely used in engineering practice, many large companies have developed an intelligent controller with PID parameters self-tuning feature. This article is designed based on temperature-controlled fan system with PID control, using SCM as the controller, use the fan motor temperature sensor DS19B20 as temperature gathering element, and according to temperature collected by a Darlington reverse drive ULN2003A drive. According to the comparison of the measured temperature and the system temperature to achieve the fan motor automatically starts and stops, use PID algorithm to control fan speed, can automatically change the fan speed based on temperature changes, while LCD1602 display with the detected temperature and the set temperature.

Keywords: 80C4 machine; PID parameters; Darlington reverse drive ULN2003A

目 录

1 绪论 ........................................................ 1.1 概述.................................................... 1.2 论文研究的内容和结构安排.................................

2 PID控制....................................................... 2.1 PID控制的特点...................................... 2.2 PID的优缺点............................................... 3 系统的整体设计方案............................................ 3.1 系统整体方案............................................. 3.2 主控模块................................................. 3.2.1 单片机的定义....................................... 3.2.2 89C51单片机内部结构................................ 3.2.3 单片机的引脚介绍................................... 3.2.4 89C51单片机的工作原理.............................. 4 电路设计................................... ................. 4.1 电源电路设计.......................................... 4.2 按键电路设计............................................ 4.3 显示电路设计............................................ 4.4 定时电路设计............................................ 4.5 温度显示电路............................................ 4.6 电机驱动电路............................................ 5 程序设计..................................................... 5.1 protues简介............................................

5.2用Keil uVision4编写程序................................... 5.3 用Protues进行仿真...................................... 6 结束语.......................................................

本文来源:https://www.bwwdw.com/article/4udd.html

Top