你好,欢迎来到经管之家 [登录] [注册]

设为首页 | 经管之家首页 | 收藏本站

智能微量灌溉系统设计(软件部分设计)_自动化专业论文

发布时间:2015-01-23 来源:人大经济论坛
自动化专业论文范文 目录 摘要I AbstractII 第1章 绪论1 1.1 微灌概述1 1.2 研究现状1 1.2.1 研究背景1 1.2.2 国内外的发展情况2 1.2.3 研究的意义和目的3 1.3 课题指导思想4 1.4 课题设计任务和要求4 1.5 论文结构4 第2章 微灌自动化技术5 2.1 自动化灌溉概述5 2.2 微灌自动化控制的发展现状5 2.3 微灌自动化控制的新技术7 2.4 现代微灌自动化的发展方向8 2.5 本章小节8 第3章 系统设计思想及主要应用器件9 3.1 系统设计的总体思想9 3.2 系统硬件简介10 3.2.1 硬件设计思想10 3.2.2 硬件构成10 3.3 系统主要器件11 3.3.1 核心控制器件AT89S5111 3.3.2 S302H5V5湿度模块12 3.3.3 ADC080912 3.3.4 串行通信13 3.3.5 E2PROM16 3.3.6 LCD17 3.4 本章小结18 第4章 系统软件设计19 4.1 系统软件设计要解决的问题19 4.2 系统软件模块20 4.2.1 A/D转换模块21 4.2.2 LCD显示23 4.2.3 湿度算法26 4.2.4 键盘扫描29 4.2.5 E2PROM读写32 4.2.6 串行通信37 4.3 本章小节39 结论40 谢辞42 参考文献43 附录1 软件程序44 摘要 本论文主要阐述了以单片机为处理器的智能微灌系统的硬件、软件设计、系统编程等方面的问题。本微灌系统采用ATMEL公司的AT89S51单片机作为核心处理器控制整个系统的工作,系统由湿度传感器,信号采集电路、键盘、显示电路、输出控制电路、串行通信电路、E2PROM读写电路、灌溉设备等构成。本系统可以实现自动检测土壤周围空气湿度,自动控制微灌设备;同时,系统的参考湿度值可修改,并有断电保存功能;采集到的湿度值和参考湿度值可以通过串行通信电路传给上位机,上位机可以通过串行通信去修改微灌系统的参考湿度值,从而实现对整个系统的管理。 硬件方面,土壤周围湿度的测量采用先进的S302H5V5电容式湿度传感器,信号采集的A/D转换模块采用了ADC0809芯片;键盘、显示分别采用了点触式按键和LCD显示;输出控制电路由三极管、或非门、继电器、发光二极管等组成。软件设计采取了流行的模块化编程方法和模块调试,软件程序的开发全部采用了汇编语言。其主要包含的程序有:主程序、键盘扫描子程序、A/D采样子程序、串行接收和发送子程序、LCD显示子程序等。 经过实验室的连续调试证明:该控制器具有可靠性高、功能强、自动化控制、操作简单等特点。另外,本文对整个智能微灌控制系统今后的进一步发展和完善提出了几点建议。 关键词:智能,微灌,单片机 Abstract The hardware layout and software development for single chip microprocessor intelligent micro-irrigation system and system programming are presented in detail in this paper. Based on the AT89S51 single chip microcomputer, the micro-irrigation system consists of humidity moisture sensors, signal gathering circuit, keyboard and monitor display circuit, out port control circuit, serial communication circuit,E2PROM reading-writing circuit and irrigating equipments and so on. The system is able to automatically detect the humidity of environment and control the irrigating equipment. Thus, the setting humidity can be modified. The humidity modified will be saved to prevent from that the data is lost when the power is cut off .Then, the gathering humidity of environment and setting humidity will be sent serially to the computer . On the other hand, the computer can modify the setting humidity of the micro-irrigation system by the serial communication. So we can use the computer to manage the micro-irrigation system. As far as the design of the hardware is concerned, here chose the S302H5V5 capacitive humidity sensor as the humidity sensor, ADC0809 as the A/D conversion, the touching style key as the keyboard, LCD as the monitor display. The out port circuit is consists of triode, NOR gate, relay, light-emitting diode and so on. The development of software adopts the popular modularized structure and the modularized debug facilities. The design of software adopts assembly language entirely. The primary program is composed of main program, keyboard scanning subroutine, A/D sampling subroutine, serial transmit and receive subroutine, displaying subroutine of LCD and so on. The successive debug experiments prove that the system is characterized by high reliability, capable control function, controlling by automation and simple operations. In addition, there are some suggestions about the further development and improvement of the micro-irrigation system in this paper. Key words: intelligence, micro-irrigation, single chip microcomputer
经管之家“学道会”小程序
  • 扫码加入“考研学习笔记群”
推荐阅读
经济学相关文章
标签云
经管之家精彩文章推荐