基于AT89S52单片机的智能温室大棚湿度测控系统设计.docVIP

  • 216
  • 0
  • 约1.63万字
  • 约 30页
  • 2017-09-27 发布于陕西
  • 举报

基于AT89S52单片机的智能温室大棚湿度测控系统设计.doc

基于AT89S52单片机的智能温室大棚湿度测控系统设计.doc

学科门类: 单位代码 : 毕业设计说明书(论文) 基于AT89S52单片机的智能温室大棚湿度测控系统设计 学生姓名 所学专业 班 级 学 号 指导教师 XXXXXXXXX系 二○**年XX月 摘 要 温室是设施农业的重要组成部分,温室大棚测控系统是实现温室生产管理自动化、科学化的基本保证。通过对监测数据的分析,结合作物生长规律,控制环境条件,使作物在不适宜生长的反季节中,可获得比室外生长更优的环境条件,从而使作物达到优质、高产、高效的栽培目的。 本课题主要针对温室内湿度,研制了以Pc机为上位计算机,单片机为下位机的温室大棚测控系统的软硬件设计。综合考虑系统的精度、效率以及经济性要求这三个方面之后,最终确定下位机以AT89S52单片机为控制核心,选用性价比比较高的传感器,并通过最小二乘法对测量结果进行非线性补偿,减少由于传感器的非线性而带来的误差,实现了对湿度的精确测量与准确控制。 关键词:温室大棚,湿度,测控,单片机 ABSTRACT Greenhouse is an important component of protected agriculture.Measuring and controlling system is the basis of the management automation in the greenhouse.With the growth rules analyzing measurement data and controlling circumstance condition , it makes greenhouse better condition than outdoor in the unfit season,and more productive and high quality. This thesis presents the measuring and controlling system about ,humidity and in the greenhouse,composed of host PC and secondary MCU.Considering the accuracy and economical,this thesis design AT89S52 as the core control apparatus,and choose the sensors with high ration between performance and cost.After theonlinear is compensated with least square method to measuring result ,it has reduced the nonlinear error of sensor and achieved accurate measurement and accuracy control. Key word: Greenhouse 89C52 Temperature and humidity Real-time monitoring control 目 录 引 言 5 1 绪 论 6 1.1 选题背景 6 1.2 湿度的基本概念 7 2 系统总体结构设计 7 2.1总体结构 7 2.2 湿度的调节与控制 8 2.2.1湿度传感器的选择 9 2.2.2湿度信号的温度补偿 10 3 系统的硬件设计 12 3.1 微控制器概述 12 3.1.1 AT89852单片机的特点 12 3..2湿度测量电路 12 3.3 A/D转换器及其接口电路 14 3.3.1 IeL7135的主要性能及管脚 14 3.3.2 ICL7135的串行工作方式 15 3.3.3 ICL7135与单片机系统的串行连接 16 3.4 显示电路设计 18 3.5 报警电路 19 3.5.1 蜂鸣器简介 19 3.5.2 报警电路 20 3.6 执行机构电路 20 3.6.1 固态继电器简介 20 3.6.2 执行机构电路 21 3.7电气控制设计 22 4 控制系统的软件结构和程序框图 23 4.1主程序模块 24 4.2系统各程序模块 24 5 系统硬件抗干扰设计 26 5.1 滤波技术 26 5.2 去耦电路 26 5.3 屏蔽技术 26 5.

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档