基于DS18B20的PID控制.pdfVIP

  • 48
  • 0
  • 约9.03千字
  • 约 7页
  • 2017-11-27 发布于江苏
  • 举报
基于DS18B20的PID控制

电子发烧友 电子技术论坛 * 基于单片机的温湿度检测与控制系统研究 李俊 张晓东 (西南石油大学机电工程学院四川成都 610500 ) 来源:微计算机信息 摘要:单片机在检测和控制系统中得到广泛的应用,温、湿度则是系统常需要测量、控制和 保持的量。文中介绍了一种基于 ATA9C51 的单片机的温度和湿度检测与控制的方案,针对被 测对象的温度与湿度在不同变化范围需要不同的 PID 参数的特点,根据检测温度和湿度自动 选择合适的一组 PID 参数进行控制的方案,整个设计简明、清晰。 关键词:单片机 AT89C51; DS18B20 温度传感器; 检测与控制; PID; 看门狗 中图分类号TP273 文献标识码:B Research On The Measure And Control System Of The Temperature And Humidity Based On Single Chip Microcomputer LI Jun ZHANG Xiao Dong (School of Mechatronical Engineering,Southwest Petroleum University,Chengdu Sichuan 610500) Abstract: The singlechip microcomputer is required extensively in measurement and control systems and the temperature and humidity need to be surveyed, controlled and maintained by a system frequently. The schemes of the measure and control of the temperature and humidity based on single chip microcomputer AT89C51 is introduced in this paper. In view of the characteristics of the different PID parameters with the different temperature and humidity, selects appropriate PID parameters to control on the basis of the measured temperature and humidity, and the whole design is very clear and concise. Key words: single chip microcomputerAT89C51; DS18B20 temperature sensor; measure and control; PID; watchdog 引言 温、湿度是工业生产中常见的被控参数,温度和湿度己不再是相互独立的量,而应在系 统集成中综合考虑。利用单片机对温、湿度控制,具有控温、湿精度高、功能强、体积小、 电子发烧友 电子技术论坛 价格低,简单灵活等优点,很好的满足了工艺要求。本文介绍了利用 AT89C51 单片机进行温 度和湿度的检测及其控制的智能化方法。 1 系统的硬件结构及工作原理 工业中很多装置温度和湿度需要保持在一个既定的温度和湿度值上,本文针对实际需 要,设计了一套温度、湿度闭环检测与控制系统,系统整个硬件结构如图 1: 图 1 系统硬件结构图 系统的工作

文档评论(0)

1亿VIP精品文档

相关文档