国产精品婷婷久久久久久,国产精品美女久久久浪潮av,草草国产,人妻精品久久无码专区精东影业

單片機(jī)在自動(dòng)微灌溉控制器中的應(yīng)用設(shè)計(jì).doc

約46頁DOC格式手機(jī)打開展開

單片機(jī)在自動(dòng)微灌溉控制器中的應(yīng)用設(shè)計(jì),全文46頁 約21000字論述詳細(xì)摘 要本論文詳細(xì)地論述了由單片機(jī)為處理器的自動(dòng)微灌溉控制器的硬件、軟件設(shè)計(jì)、系統(tǒng)編程和抗干擾設(shè)計(jì)等方面的問題。本控制器以atmel公司的at89c51單片機(jī)為核心,由傳感器,信號(hào)處理電路,鍵盤、顯示電路,輸出控制電路,故障報(bào)警電路等構(gòu)成。它能實(shí)現(xiàn)多路...
編號(hào):10-22686大小:888.50K
分類: 論文>計(jì)算機(jī)論文

內(nèi)容介紹

此文檔由會(huì)員 花季永駐 發(fā)布

單片機(jī)在自動(dòng)微灌溉控制器中的應(yīng)用設(shè)計(jì)

全文46頁 約21000字 論述詳細(xì)

摘 要

本論文詳細(xì)地論述了由單片機(jī)為處理器的自動(dòng)微灌溉控制器的硬件、軟件設(shè)計(jì)、系統(tǒng)編程和抗干擾設(shè)計(jì)等方面的問題。本控制器以ATMEL公司的AT89C51單片機(jī)為核心,由傳感器,信號(hào)處理電路,鍵盤、顯示電路,輸出控制電路,故障報(bào)警電路等構(gòu)成。它能實(shí)現(xiàn)多路數(shù)據(jù)采集、多路控制信號(hào)輸出,通過傳感器自動(dòng)檢測(cè)土壤水分實(shí)現(xiàn)自動(dòng)閉環(huán)控制和預(yù)編定時(shí)程序的時(shí)間控制等多種自動(dòng)灌溉控制方式,并具有土壤水分超出設(shè)定范圍自動(dòng)報(bào)警功能。
硬件方面,土壤含水量的測(cè)量采用先進(jìn)的HM1500電容式水分傳感器;A/D轉(zhuǎn)換采用了ADC0809芯片;鍵盤、顯示分別采用了獨(dú)立式按鍵和LED顯示塊;故障報(bào)警選用了壓電式蜂鳴器;輸出控制電路由三極管、光電耦合器、繼電器、電磁閥等組成。軟件設(shè)計(jì)采取了流行的模塊化編程方法,軟件程序的開發(fā)全部采用了C51高級(jí)語言。主要包含的程序有:主程序;鍵盤掃描子程序;A/D采樣子程序;定時(shí)設(shè)定子程序等。同時(shí),在軟、硬件設(shè)計(jì)時(shí)均采取了有效的抗干擾措施。
經(jīng)過實(shí)驗(yàn)室的連續(xù)調(diào)試實(shí)驗(yàn)證明:該控制器具有可靠性高、功能強(qiáng)等特點(diǎn),有著廣闊的開發(fā)應(yīng)用前景。另外,本文對(duì)整個(gè)自動(dòng)灌溉控制系統(tǒng)今后的進(jìn)一步發(fā)展和完善提出了幾點(diǎn)建議。

關(guān)鍵詞:單片機(jī);微灌;自動(dòng)控制

The design and application of single chip microprocessor in automatic microirrigation controller

Abstract

The hardware layout and software development for single chip microprocessor automatic micro-irrigation controller and system programming were presented in detail in this paper. Based on the AT89C51 single chip microprocessor, the whole system consists of soil moisture sensors, signal transfer circuit, keyboard and monitor display circuit, out port control circuit, malfunction alarm circuit as well as system software. This controller could control multi-input and multi-output. It could work in several ways such as closed loop control with sensors, opened loop control based on the preset timing program. In addition, it had automatic alarm function when the soil moisture exceeded the preset range.
As far as the hardware design was concerned, here chose the HM1500 capacitive moisture sensor as the soil moisture sensor, ADC0809 as the A/D conversion, independent key as the keyboard, LED display unit as the monitor display and chose the simple piezoelectric buzzer as the malfunction alarm device. The out port control circuit was composed of AT89C51,triode, photoelectric coupler, relay, electromagnetic valve and so on. The software designing adopted the popular modularized structure. The development of software programs applied C51 language entirely. The primary programs were main program, keyboard scanning subroutine, A/D sampling subroutine, timer presetting subroutine. Meanwhile, the efficient anti-interference measures were adopted during the design of the hardware and software.
The successive debug experiments proved that controller was characterized by high reliability, capable control function. The system had a bright prospect for development and application. In addition, suggestions about further development and improvement of the irrigation controller were made in this paper.
Key words: single chip microprocessor;micro-irrigation;automatic control


目 錄
摘要
Abstract
1 緒論 1
1.1 研究背景 1
1.1.1 水資源的流失 1
1.1.2 節(jié)水灌溉的必然趨勢(shì) 1
1.2 微灌技術(shù)國內(nèi)外發(fā)展趨勢(shì) 1
1.2.1 微灌技術(shù)的發(fā)展及應(yīng)用 1
1.2.2 微灌自動(dòng)化技術(shù)國內(nèi)外對(duì)比 2
1.3 研究目的和意義 2
1.4 設(shè)計(jì)的任務(wù)和要求 3
2 微灌系統(tǒng)總體設(shè)計(jì) 4
2.1 傳統(tǒng)微灌系統(tǒng)的介紹 4
2.2 自動(dòng)化微灌系統(tǒng)的介紹 4
2.3 微灌灌水技術(shù)的簡介 4
2.3.1 微灌灌溉制度的選定 5
2.3.2 微灌水量分布均勻性分析 5
3 系統(tǒng)硬件設(shè)計(jì) 7
3.1 傳感器的選用 7
3.1.1 土壤水分傳感器的確定 7
3.1.2 HM1500的性能參數(shù)介紹 7
3.1.4 HM1500在田間的位置確定 8
3.2 單片機(jī)的選用 8
3.2.1 單片機(jī)的概況 8
3.2.2 AT89C51單片機(jī)性能介紹 9
3.3 系統(tǒng)的電路設(shè)計(jì) 13
3.3.1 電路設(shè)計(jì)的總體方案 13
3.3.2 A/D轉(zhuǎn)換器的介紹 13
3.3.3 顯示電路的介紹 15
3.3.4 輸出控制電路設(shè)計(jì) 16
3.3.5 故障報(bào)警電路設(shè)計(jì) 18
3.3.6 鍵盤接口電路設(shè)計(jì) 18
4 數(shù)據(jù)處理 22
4.1 數(shù)學(xué)模型與標(biāo)定 22
4.2 數(shù)字濾波算法 22
5 系統(tǒng)軟件設(shè)計(jì) 24
5.1 主程序設(shè)計(jì) 24
5.2 鍵盤掃描子程序設(shè)計(jì) 24
5.3 實(shí)時(shí)時(shí)鐘中斷與控制功能的完成 24
5.3.1 傳感器自動(dòng)閉環(huán)控制功能的實(shí)現(xiàn) 29
5.3.2 時(shí)間灌溉控制功能的實(shí)現(xiàn) 29
6 結(jié)論 32
參考文獻(xiàn)
附錄
致謝

部分參考文獻(xiàn)

[17] 雷廷武,許一飛等.自動(dòng)灌溉控制器及其應(yīng)用.果樹調(diào)虧灌溉密植節(jié)水增產(chǎn)技術(shù)指南.北京:北京農(nóng)業(yè)大學(xué)出版社,1994
[18] 柯南.非常電路圖設(shè)計(jì).北京:中國鐵道出版社,2000
[19] 馬志勇.常用自動(dòng)化控制器件手冊(cè).北京:機(jī)械工業(yè)出版社,1996
[20] 余永權(quán),李小高等.單片機(jī)應(yīng)用系統(tǒng)的功率接口技術(shù).北京:北京航空航天大學(xué)出版社,1992
[21] 王彤.PC機(jī)在測(cè)量和控制中的應(yīng)用.哈爾濱:哈爾濱工業(yè)大學(xué)出版社,1995