【正文】
ND PRINCIPLEThe most marked feature of the distribution bined and intelligent control system greenhouse is that of incorporating with data acquisition, control and management as a whole,module bination, simple structure,convenient humanputer interaction,and using technology of intelligent expert fuzzy control,which can adapt to a variety of crop management control in basic structure of the system is shown in .The structure of the distributed system is posed of two layers:the upper and the topprice PC is taken as the host to make system management and experts fuzzy operation in intelligent,and to provide a friendly humanputer interface,and to realize the united monitoring and management of greenhouse。and the PC is placed in the main entrance to the greenhouse.III . HARDWARE DESIGNA. The CP and munication systemIn the distributed system of data acquisition and control,as the micro control unit is limited in data storage and slow in calculating of plex functions,so PC is used and the masterslave module is adopted in the system,that is a system of,taking PC as the host and taking the SCM systems located in the scene as slave.In this distributed system,munication is the key to ,the serial port of PC is standard RS232,of which transmission distance is in agriculture control munication distance is of tens of meters or several kilometers, so RS232/RS485 converter is used to achieve munication between the PC and reduce investment,both considering the user convenience and friendly humanputer interaction,lowprice PC of above 486 and below PIV is adopted?!?the response time of 4s.The illuminance sensor of JY1TBQ6 of silicon photovoltaic detection is used Light measurement range is 0~200,000 Lux。output signal can be directly send to the A/D of the SCM after being amplified to 0~4V.Modules accept the instructions form the the Upper,and output via the output circuit .The output circuit consists of optical isolation,the signal driver and the output relays.C. The measurement and control modules of soil moistureWater is a polar medium, the dielectric constant of the soil containing water is mainly determined by the water,when water content is different,the wave impedance is soil moisture is measured by standing wave radio method in this system.Based on the theory of Engineering Electromagnetic Field,for lossy medium,the electromagnetic wave impedance as follows: Z0=√μ/ε(1+jλ/(ωε))Where μ is medium permeability,and μ of soil is μ≈μ0 is the vacuum permeability。and can create dynamic images and charts in accordance with the layout of equipment in the scene。在該系統(tǒng)中,電腦有大量的數(shù)據(jù)存儲(chǔ)的功能,它很容易利用模糊控制專家,配置組態(tài)軟件組態(tài)王用來(lái)開發(fā)PC軟件,具有開發(fā)周期縮短和友好的人機(jī)交互的優(yōu)勢(shì)。在近年來(lái),設(shè)施農(nóng)業(yè)在我國(guó)蓬勃發(fā)展,與之匹配的,具有監(jiān)測(cè)和控制儀器的溫室也有取得了一定的發(fā)展。 如果我們使用過(guò)時(shí)的和低價(jià)的電腦,以PC機(jī)作為上位機(jī),以不同的功能控制模塊和多個(gè)微型計(jì)算機(jī)作為降低機(jī)器,然后組成一個(gè)基于微機(jī)的主從分布式和智能化控制系統(tǒng),既更好的監(jiān)視和控制、顯示和數(shù)據(jù)收集或管理的實(shí)現(xiàn),而且費(fèi)用低,系統(tǒng)會(huì)根據(jù)實(shí)際的需要選擇。由最佳價(jià)格PC被取為主機(jī),使其能夠智能系統(tǒng)管理和專家模糊運(yùn)算,并提供一個(gè)友好的人機(jī)界面,并實(shí)現(xiàn)統(tǒng)一的監(jiān)控和管理的溫室。并且由PC配置控制系統(tǒng),額定參數(shù)的設(shè)定值進(jìn)行比較,然后根據(jù)專家智能模糊控制系統(tǒng)測(cè)量作物在不同生長(zhǎng)階段的各種環(huán)境的溫度,濕度,CO2濃度,土壤含水量進(jìn)行相應(yīng)的操作指令或報(bào)警,模糊控制指令。三,硬件設(shè)計(jì)分布式系統(tǒng)中的數(shù)據(jù)采集和控制:由于微型控制單元局限于在數(shù)據(jù)存儲(chǔ)和計(jì)算復(fù)雜,所以電腦所的使用和主從模塊系統(tǒng)所采用的,這是一個(gè)系統(tǒng),以PC機(jī)作為主機(jī),以單片機(jī)作為子機(jī)。減少投資,既考慮用戶方便和友好的人機(jī)交互,低價(jià)電腦的上面和下面采用PIV 486,并考慮組態(tài)軟件的操作,內(nèi)存是必須是64M以上,硬盤是10GB以上。通過(guò)傳感器,控制系統(tǒng),利用軟件數(shù)字濾波、線性插值和溫度補(bǔ)償,得到二氧化碳的濃度,依附數(shù)字UART協(xié)議,然后直接輸入單片機(jī)。3。JY1TBQ6的照度傳感器的硅光伏檢測(cè)是使用光測(cè)量。模塊接受指令形成上層,輸出通過(guò)輸出電路?;诠こ屉姶艌?chǎng)理論,有損介質(zhì),如下的電磁波阻抗: Z0=√μ/ε(1+jλ/(ωε))其中,μ是介質(zhì)滲透性,土壤和μ是μ≈μ0是真空磁導(dǎo)率。07,如果你選擇的信號(hào)源的頻率高于20兆赫茲。由于探針阻抗和線路阻抗不同,入射波和反射波的疊加形成駐波。土壤水分模塊包括傳感器和控制器,傳感器服從控制器,控制器可以被省略,而不需要灌溉溫室。51控制。軟件的子機(jī)主要與下位機(jī)完成對(duì)土壤水分檢測(cè)和控制的數(shù)據(jù)通信,測(cè)量數(shù)據(jù)和電流控制上傳狀態(tài)到主機(jī)電腦,接受模糊控制指令從主機(jī)計(jì)算機(jī)輸出執(zhí)行指令。1) :為了確保通信的正確性,上下必須遵循相同的通信協(xié)議,通信參數(shù)。在項(xiàng)目瀏覽器中,第一,單擊設(shè)備→COM1。這個(gè)過(guò)程是:在組態(tài)王來(lái)創(chuàng)建數(shù)據(jù)變量創(chuàng)建一個(gè)身體的記錄建立數(shù)據(jù)源的ODBC來(lái)創(chuàng)建查詢屏幕和使屏幕連接。4) 軟件系統(tǒng)的主控制界面,輔助數(shù)據(jù)庫(kù)等。3) 系統(tǒng)中使用的一個(gè)分布式,模塊化結(jié)構(gòu),它使系統(tǒng)維護(hù)更加容易,并且適應(yīng)生產(chǎn)需