- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
毕业设计(论文)
课题 基于单片机的PID温度控制器的设计
学 院 电子信息工程学院 专业(方向) 应用电子技术(通信电子) 班 级 电子104 学 号 100202427 姓 名 完成日期 2012年11月30号 指导教师 基于单片机的PID温度控制器的设计
摘 要
本文从软硬件两方面设计了一个温度自动控制器系统。本设计系统以单片机(STC89C51RC)为控制核心,主要包括按键部分、DS18B20温度采集部分、温度报警部分、1602显示部分、温度控制部分及MAX232通信接口部分等硬件部分,从而实现智能温度控制。
本系统通过按键预设加热的最终保持水温的温度并进行实时显示预设温度和当前温度,并采用PID 算法的控制输出宽度可调的PWM 波来控制双向可控硅的导通和关断用以调整输出加热功率,使之切断或接通加热器,从而控制水温稳定在预设值上。
文中还着重介绍了软件设计部分,在这里采用模块化结构,主要模块有:LCD1602显示程序、键盘扫描及按键处理程序、温度信号处理程序、温度控制程序、超温报警程序。
本系统的主要设计思想是以硬件为基础,软件和硬件相结合,最终实现各个模块的功能。
关键词:单片机;DS18B20;PID算法;PWM波;双向可控硅;
Project name
The Design of PID Temperature Control System Based on SCM
Abstract
This article from two aspects of hardware and software design of a temperature automatic controller.This design system with single chip microcomputer (STC89C51RC) as the control core, including the key part, DS18B20 temperature acquisition part, temperature alarm part, 1602 portion of the display, temperature control part and MAX232 communication interface and other hardware components, thereby realizing the intelligent temperature control.
This system through the keys to the preset heating ultimately keep water temperature and real-time display preset temperature and the temperature, and PID algorithm is used to control the output with adjustable width PWM to control thyristor turn-on and turn-off is used to adjust the output of the heating power, to cut off or switch on the heater, thereby controlling the temperature stability at a preset value.
The article also emphatically introduced the software design part, uses the modular structure in here, the main modules: LCD1602 display program, the keyboard scan and key process, temperature signal processing procedure, temperature control procedures, over-temperature alarm program.
This system main design idea is on the base of hardware, software and hardware integration, and ultimately to achieve the functions of each module.
Key words:SCM DS18B20 PID Algorithm PWM Waveform Bidirectiona
原创力文档


文档评论(0)