無線溫濕度監(jiān)測系統(tǒng)英文參考文獻_第1頁
無線溫濕度監(jiān)測系統(tǒng)英文參考文獻_第2頁
無線溫濕度監(jiān)測系統(tǒng)英文參考文獻_第3頁
無線溫濕度監(jiān)測系統(tǒng)英文參考文獻_第4頁
無線溫濕度監(jiān)測系統(tǒng)英文參考文獻_第5頁
已閱讀5頁,還剩9頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)

文檔簡介

漢長春理工大學(xué)光電信息學(xué)院漢長春理工大學(xué)光電信息學(xué)院CollegeOfOpticalAndElectronicalInformation

ChangchunUniversityOfScienceAndTechnology英文文獻翻譯學(xué)生姓名朱澤龍專業(yè)電氣工程及其自動化學(xué)號1134155分院電子工程分院2015年7月基于主從散布式新的溫室環(huán)境參數(shù)監(jiān)測和控制系統(tǒng)按如實際在農(nóng)村地域的溫室環(huán)境參數(shù)的監(jiān)測和控制,主從散布式測量和控制系統(tǒng)的設(shè)計需要,以其中一臺運算機作為主機,該系統(tǒng)由PC、土壤水分測量和控制模塊,溫度、濕度、CO2監(jiān)測和控制模塊組成。在該系統(tǒng)中,電腦有大量的數(shù)據(jù)存儲的功能,它很容易利用模糊控制專家,配置組態(tài)軟件組態(tài)王用來開發(fā)PC軟件,具有開發(fā)周期縮短和友好的人機交互的優(yōu)勢。每一個監(jiān)測和控制模塊包括STC12系列的微控制器、傳感器、繼電器等等。若是系統(tǒng)實現(xiàn)控制溫室在分區(qū)和塊,需要選擇不同的模塊。一,簡介現(xiàn)代化農(nóng)業(yè)的室內(nèi),環(huán)境參數(shù)的自動測量和控制是實現(xiàn)作物產(chǎn)量和品質(zhì)的關(guān)鍵。在最近幾年來,設(shè)施農(nóng)業(yè)在我國蓬勃進展,與之匹配的,具有監(jiān)測和控制儀器的溫室也有取得了必然的進展。近10年的不懈盡力,咱們的研究團隊在農(nóng)業(yè)環(huán)境參數(shù)的測量和控制系統(tǒng)上,設(shè)計了一個智能測量和控制系統(tǒng)相散布結(jié)合的溫室,能夠在廣大農(nóng)村地域適用。那個系統(tǒng)主如果控制溫度、濕度、二氧化碳濃度、土壤水分和照明溫室。單片機,作為數(shù)據(jù)存儲空間較小,單一的顯示接口,有限的信息容量,但其有較高的性價比,因此它作為前端的數(shù)據(jù)收集和控制單元為PC利用,它有大量的數(shù)據(jù)存儲,豐碩的軟件,方便的人機交互等長處。若是咱們利用過時的和低價的電腦,以PC機作為上位機,以不同的功能控制模塊和多個微型運算機作為降低機械,然后組成一個基于微機的主從散布式和智能化控制系統(tǒng),既更好的監(jiān)視和控制、顯示和數(shù)據(jù)搜集或管理的實現(xiàn),而且費用低,系統(tǒng)會按如實際的需要選擇。二,系統(tǒng)結(jié)構(gòu)及原理最顯著的特點是分派和智能控制系統(tǒng)溫室相結(jié)合,這將作為一個整體,模塊組合結(jié)構(gòu)簡單,方便的人機交互與數(shù)據(jù)收集,控制和管理,并采用模糊控制技術(shù)的智能專家,能夠組成適應(yīng)多種作物管理控制的溫室。其大體結(jié)構(gòu)系統(tǒng)是圖1所示。散布式系統(tǒng)的結(jié)構(gòu)是由兩層組成:上部和下部。由最佳價錢PC被取為主機,使其能夠智能系統(tǒng)管理和專家模糊運算,并提供一個友好的人機界面,并實現(xiàn)統(tǒng)一的監(jiān)控和管理的溫室;下部是由一系列不同功能的模塊,而且在每一個模塊中,一個單一的芯片作為下位機采用AT89C52,RS485則用于與所有AT89C52PC進行通信,然后實現(xiàn)搜集,處置和控制的溫室參數(shù)。每一個功能模塊是完全地電氣隔離,任何失敗的結(jié)節(jié)不會對其他模塊產(chǎn)生任何影響。系統(tǒng)通過別離搜集環(huán)境信息的方式,每一個監(jiān)控和控制模塊,并通過RS485接口將其發(fā)送到主機PC。而且由PC配置控制系統(tǒng),額定參數(shù)的設(shè)定值進行比較,然后按照專家智能模糊控制系統(tǒng)測量作物在不同生長階段的各類環(huán)境的溫度,濕度,CO2濃度,土壤含水量進行相應(yīng)的操作指令或報警,模糊控制指令。在秦皇島農(nóng)村大棚。通常在一個溫室的近東和西區(qū)的1/4區(qū)域,距離地面為米的中間北部的一半(近濕簾)和南部的一半(風(fēng)扇周圍的),設(shè)置一個模塊檢測空氣溫度、濕度、二氧化碳濃度和土壤水分含量,按如實際情形,將土壤含水量模塊添加在溫室的中間;在高度為米的主入口,設(shè)置一個水箱,其中的電磁閥滴水管應(yīng)按照土壤水分含量的需要設(shè)置和控制,而且將電腦放置在主入口的溫室內(nèi)。三,硬件設(shè)計和通信系統(tǒng)散布式系統(tǒng)中的數(shù)據(jù)收集和控制:由于微型控制單元局限于在數(shù)據(jù)存儲和計算復(fù)雜,所以電腦所的利用和主從模塊系統(tǒng)所采用的,這是一個系統(tǒng),以PC機作為主機,以單片機作為子機。在這種散布式系統(tǒng)中,通信是關(guān)鍵。通常,PC機的串行端口是標(biāo)準(zhǔn)的RS232,傳輸距離較短??墒窃谵r(nóng)業(yè)控制系統(tǒng),其通信距離的數(shù)十公尺或幾千米,所以RS232/RS485轉(zhuǎn)換器通過PC機與單片機之間的通信來實現(xiàn)。減少投資,既考慮用戶方便和友好的人機交互,低價電腦的上面和下面采用PIV486,并考慮組態(tài)軟件的操作,內(nèi)存是必需是64M以上,硬盤是10GB以上。B.控制模塊的溫度和濕度,照明度和CO2濃度2每一個控制單元包括供給鏈管理(SCM),傳感器,信號處置電路,RS485接口和輸出環(huán)節(jié)。此模塊的溫度和濕度,二氧化碳濃度的硬件結(jié)構(gòu)示于圖2?;贜DIR技術(shù)測量CO2濃度的傳感器,測量范圍是0s2X103摩爾。通過傳感器,控制系統(tǒng),利用軟件數(shù)字濾波、線性插值和溫度補償,取得二氧化碳的濃度,依附數(shù)字UART協(xié)議,然后直接輸入單片機。新的智能傳感器SHT11基于選擇CMOSens技術(shù)測量溫度和濕度。在SHT11,溫度和濕度傳感器、信號放大,A/D,I2C總線全數(shù)集成在一個芯片上,它有滿刻度校準(zhǔn),第二行數(shù)字輸出而且濕度測量范圍為0s100%RH,溫度測量范圍為-40℃~+123。8℃,濕度測量精度為土3。0%口氏溫度測量精度為土0。4℃,響應(yīng)<4的時刻。JY1-TBQ-6的照度傳感器的硅光伏檢測是利用光測量。它的測量范圍為0s200000勒克斯;光譜范圍為400s700(nm)的可見光;測量誤差是小于2%,輸出為4?20mA或0s20mV,輸出信號能夠直接傳送到A/D的單片機放大后,大小為0s4V。模塊同意指令形成上層,輸出通過輸出電路。輸出電路包括光學(xué)隔離、信號驅(qū)動,輸出繼電器。C.土壤水分的測量和控制模塊水是一種極性介質(zhì),土壤的介電常數(shù)包括水,主如果由水決定,當(dāng)水含量是不同的,波阻抗不同。在那個系統(tǒng)中,土壤水分測量是通過駐波無線電的方式?;诠こ屉姶艌隼碚摚袚p介質(zhì),如下的電磁波阻抗:Z0=JH/£(1+j入/(3£))其中,口是介質(zhì)滲透性,土壤和口是口心口0是真空磁導(dǎo)率;£是介質(zhì)的介電常數(shù),入是介質(zhì)電導(dǎo)率;3是電磁波頻。在超級低的音頻(<2000hz),損耗角正切的干土介質(zhì)是人/3£'0。07,若是你選擇的信號源的頻率高于20兆赫茲。然后,£心£8,虛部的土壤波阻抗輕忽,只有真正的一部份,這相當(dāng)于一個純電阻。土壤水分傳感器由100MHz信號源,同軸傳輸線和插件不銹鋼探針組成。電磁波信號沿著線傳輸?shù)教筋^。由于探針阻抗和線路阻抗不同,入射波和反射波的疊加形成駐波。以同軸傳輸線作為無損耗均勻線,波阻抗為Z0,ZL是負(fù)載阻抗。然后,在探針的電壓波的反射系數(shù)是:「二(Zl-Z0)%+4)選擇傳輸線的長度為『人/4時,該行的兩頭的最大和最小Umax和Umin時,然后駐波無線電行中,能夠表示為:S=Umax/Umin=(1-'r')/(1+'r')依照這種方式,土壤水分無線電能夠通過測量傳輸線的駐波率取得。如圖3所示。土壤水分模塊包括傳感器和控制器,傳感器服從控制器,控制器能夠被省略,而不需要澆灌溫室。在那個系統(tǒng)中,分區(qū)節(jié)點為了簡化控制、澆灌技術(shù),采用控制土壤水分技術(shù)。在必然的程度上,那個參數(shù)的上部和下部地面可采用該技術(shù)解耦。四,控制系統(tǒng)編程該PC軟甲的開發(fā)由北京組態(tài)王6。51控制。那個配置軟件具有靠得住性高,開發(fā)周期短,完美的圖形界面生成能力,和友好的人機交互,能夠依照創(chuàng)建動態(tài)圖像和圖表能夠直觀地顯示設(shè)備的布局場景中的參數(shù),控制狀態(tài)的轉(zhuǎn)變,并能發(fā)出報警信號,當(dāng)超過額定值,能夠?qū)崿F(xiàn)模糊控制的溫室參數(shù)利用的特定數(shù)據(jù)庫中存儲的歷史環(huán)境參數(shù)曲線并采用農(nóng)業(yè)專家系統(tǒng)。軟件配置管理是由C51單片機實現(xiàn)實時解答搜集、處置、上傳的參數(shù)和同意模糊控制指令從主機運算機和完整的局部控制的裝置。A,控制模塊的程序設(shè)計子機的軟件的土壤濕度模塊的主要功能包括數(shù)據(jù)收集和處置子程序,中斷處置和通信等,通過并行數(shù)據(jù)接口取得駐波電壓的數(shù)值而且由函數(shù)計算取得土壤含水量。軟件的子機主要與下位機完成對土壤水分檢測和控制的數(shù)據(jù)通信,測量數(shù)據(jù)和電流控制上傳狀態(tài)到主機電腦,同意模糊控制指令從主機運算機輸出執(zhí)行指令。子機的溫度、濕度和二氧化碳的硬件模塊主如果完成讀取I2C濃度的二氧化碳濃度、溫度和濕度,測量數(shù)據(jù)和電流控制上傳狀態(tài)到主機電腦,同意模糊控制指令從主機輸出執(zhí)行指令。那個主程序和中斷子程序的溫度和濕度的模塊的結(jié)構(gòu)如圖4所示。串行中斷模式3采用所有從機與主機通信,傳輸數(shù)字化收集和接收指令。和模糊控制系統(tǒng)的程序設(shè)計1)組態(tài)王的通信設(shè)置:為了確保通信的正確性,上下必需遵循相同的通信協(xié)議,通信參數(shù)。通常在通信,采用主從方式在風(fēng)格和應(yīng)答器是采用的進程。換言之,第一主發(fā)命令給子機,然后等子機接到指令后給出答案,通信成立。在組態(tài)王,一個預(yù)定的輪詢方式被用來做閱讀和寫作的低機械電腦之間。在項目閱讀器中,第一,單擊設(shè)備一COM1;在設(shè)備配置向?qū)е?,選擇“智能模塊”一單片機fSCM的HEX一串行端口,然后服務(wù)主機的通信參數(shù)。2)組態(tài)王和數(shù)據(jù)庫的連接數(shù)據(jù)庫的核心是軟件,不僅包括了概念的變量,實時參數(shù)和歷史參數(shù),可是還需要在參數(shù)報警、模糊計算、報告和顯示。ACCESS2003的桌面數(shù)據(jù)庫是用來記錄數(shù)據(jù)庫的系統(tǒng),并通過利用SQL,由組態(tài)王通過開放式數(shù)據(jù)庫連接性實現(xiàn)的。那個進程是:在組態(tài)王來創(chuàng)建數(shù)據(jù)變量創(chuàng)建一個身體的記錄成立數(shù)據(jù)源的ODBC來創(chuàng)建查詢屏幕和使屏幕連接。到與微軟Access2003,功能SQLSelect,SQLConnect(),SQLLastSQLFist,SQLNext(),QSLPrew(),SQLInsrt,SQLPrew()等等,實現(xiàn)的命令語言,然后實時存儲和查詢的數(shù)據(jù)完成。3)PC軟件設(shè)計:溫室控制系統(tǒng),數(shù)據(jù)存儲容量的PC是無窮的,因此,若是現(xiàn)有的成熟的軟件模塊到系統(tǒng),它都能夠輕松提高系統(tǒng)的靠得住性。軟件,軟件由控制模塊和管理模塊。4)軟件系統(tǒng)的主控制界面,輔助數(shù)據(jù)庫等。典型的監(jiān)測和控制的PC的主界面如圖5所示。五,結(jié)論按照經(jīng)濟經(jīng)受能力,農(nóng)人在秦皇島,與現(xiàn)有技術(shù)的溫室環(huán)境參數(shù)的監(jiān)測和控制,主從散布式溫室環(huán)境自動控制系統(tǒng)在其中一臺運算機作為主機系統(tǒng),研制了具有以下特點:1)憑借其大容量的數(shù)據(jù)存儲,PC,模糊控制專家系統(tǒng)的數(shù)據(jù)存儲,修改和系統(tǒng)升級是很容易的。2)利用組態(tài)王軟件開發(fā)的PC,提高了系統(tǒng)的靠得住性,縮短開發(fā)周期,并取得一個友好的人機界面。系統(tǒng)中利用的一個散布式,模塊化結(jié)構(gòu),它使系統(tǒng)保護加倍容易,而且適應(yīng)生產(chǎn)需要。的從屬的監(jiān)測和控制模塊連接到主機上,然后按照需要通過RS485總線控制溫室中分區(qū)或塊能夠?qū)崿F(xiàn)的。致謝這項工作是支持的農(nóng)業(yè)科技功效轉(zhuǎn)化基金項目。NewEnvironmentParametersMonitoringAndControl

SystemForGreenhouseBasedOnMaster-slaveDistributedAbstract--Accordingtotheactualneedofmonitoringandcontrolofgreenhouseenvironmentparametersinruralareas,amaster-slavedistributedmeasurementandcontrolsystemisdesigned,inwhichPCistakenasthehost.ThesystemconsistsofPC,soilmoisturemeasurementandcontrolmodule,temperatureandhumidity,andCO2monitoringandcontrolmodule.Inthesystem,PChaslargeamountofdatastoragewhichiseasytomakeuseoffuzzycontrolexpertsystem,configurationsoftware-KingViewisusedtodevelopsoftwareforPC,bywhichthedevelopmentcycleisshortenandafriendlyhuman-computerinteractionismonitoringandcontrolmoduleconsistsofSTC12seriesofmicrocontrollers,sensors,relaysmodulesareselectbasedontheneedifsystemtoachievecontrolgreenhouseinpartitionandblock.INTRODUCTIONTomodernindooragriculture,theautomaticmeasurementandcontrolofenvironmentparametersisthekeytoachievecropyieldandqualityofrecentyears,facilitiesagriculturedevelopsvigorouslyinourcountry,matchedwithit,themonitoringandcontrolinstrumentofgreenhousehavealsomadecertainnearly10yearsofunremittinghardwork,ourresearchteamofmeasurementandcontrolsystemofagricultureenvironmentparameters,designedanintelligentmeasurementandcontrolsystemofdistributioncombinedofgreenhousewhichcanbepopularizedinthevastruralsystemismainlycontroloftemperature,humidity,CO2concentration,soilmoistureandilluminationofSCM,asthedatastorageissmall,displayinterfaceissingle,amountofinformationislimited,butitscapabilitypriceratioishigh,soitisusedasafrontunitofdataacquisitionandcontrol;andofPC,ithasalargeamountofdatastorage,richsoftware,convenienthuman-computerinteraction,andsoweuseoutdatedandlow-pricedPC,takingthePCastheuppermachine,takingthedifferentfunctioncontrolmodulescomposedofmultiplemicrocomputersasthelowermachines,thenamaster-slavedistributedandintelligentcontrolsystembasesonmicrocomputerismadeup,bywhichbothbettermonitoringandcontrol,displayanddatacollectionormanagementareachieved,butalsolowercostofsystemisgetaccordingtotheactualneed.SYSTEMSTRUCTUREANDPRINCIPLEThemostmarkedfeatureofthedistributioncombinedandintelligentcontrolsystemgreenhouseisthatofincorporatingwithdataacquisition,controlandmanagementasawhole,modulecombination,simplestructure,convenienthuman-computerinteraction,andusingtechnologyofintelligentexpertfuzzycontrol,whichcanadapttoavarietyofcropmanagementcontrolinbasicstructureofthesystemisshownin.Thestructureofthedistributedsystemiscomposedoftwolayers:theupperandthetop-pricePCistakenasthehosttomakesystemmanagementandexpertsfuzzyoperationinintelligent,andtoprovideafriendlyhuman-computerinterface,andtorealizetheunitedmonitoringandmanagementofgreenhouse;theloweriscomposedofaseriesofmodulesofdifferentfunction,andineachmodule,asinglechipofAT89Cisadoptedasthelowermachine,RS485isusedtocommunicatePCwithallAT89C,andthenthecollection,processingandcontrolofthegreenhouseparametersisfunctionmoduleiscompletelyisolatedinelectrical,anyfailureonthenoduledoesnotproduceanyeffectonothersystemcollectsseparatelywaysofenvironmentinformationthrougheachmonitoringandcontrolmodule,andsendsittohostPCthroughtheRS485inthePCconfigurationcontrolsystem,theacquiredparametersarecomparedwiththevaluesofsetting,thenaccordingtoavarietyofexpertintelligentfuzzycontrolsystemofcropsatdifferentgrowthstages,thefuzzycontrolinstructionsontheenvironmenttemperature,humidity,CO2concentration,soilwatercontentandthecorrespondingoperationinstructionsoralarmaregiven.Thesystemisappliedinruralgreenhousesinat1/4nearEastandWestendinagreenhouse,andattheheightoffromthegroundinthemiddleinthenorthernhalf(nearthewetcurtain)andthesouthernhalf(nearthefan),amoduleofairtemperatureandhumidity,CO2concentrationandamoduleofsoilmoisturecontentareset;amoduleofsoilmoisturecontentwillbeaddedinthemiddleofthegreenhouseaccordingtotheactualcondition;attheheightofinthemainentrance,awatertankisset,ofwhichthesolenoidofdriptubeshouldbesetbasedontheneedandcontrolledbymoduleofsoilmoisturecontent;andthePCisplacedinthemainentrancetothegreenhouse..HARDWAREDESIGNCPandcommunicationsystemInthedistributedsystemofdataacquisitionandcontrol,asthemicrocontrolunitislimitedindatastorageandslowincalculatingofcomplexfunctions,soPCisusedandthemaster-slavemoduleisadoptedinthesystem,thatisasystemof,takingPCasthehostandtakingtheSCMsystemslocatedinthesceneasslave.Inthisdistributedsystem,communicationisthekeyto,theserialportofPCisstandardRS232,ofwhichtransmissiondistanceisinagriculturecontrolcommunicationdistanceisoftensofmetersorseveralkilometers,soRS232/RS485converterisusedtoachievecommunicationbetweenthePCandreduceinvestment,bothconsideringtheuserconvenienceandfriendlyhuman-computerinteraction,low-pricePCofabove486andbelowPIVisadopted;andconsideringtheoperationofconfigurationsoftware,itisrequiredthatmemoryis64Moraboveandharddiskis10Gborabove.controlmodulesoftemperatureandhumidity,illuminanceandCO2concentrationEachcontrolunitconsistsofSCM,sensors,signalprocessingcircuit,RS485interfaceandoutputhardwarestructureofmoduleoftemperatureandhumidity,CO2concentrationisshownin.CO2 concentrationismeasuredbysensorbasedonNDIRtechnology,measurementisof0~2xthesensor,controlsystem,bysoftwareofdigitalfilter,linearinterpolationandtemperaturecompensation,theCO2concentrationisoutputasdigitaladheredtoUARTprotocol,andthenisinputdirectlytotheSCM.ThenewintelligentsensorofSHT11basedonCMOSenstechnologyischoseninthemeasurementoftemperatureandSHT11,thetemperatureandhumiditysensors,signalamplification,A/D,l2Cbusareallintegratedinachip;ithasfull-scalecalibration,second-linedigitaloutput,andhumiditymeasuringrangeof0~100%RH,temperaturemeasurementrangeof-40°C?+°C,humiditymeasurementaccuracyof±%RH,temperaturemeasurementaccuracyof±℃,theresponsetimeof<4s.TheilluminancesensorofJY1-TBQ-6ofsiliconphotovoltaicdetectionisusedLightmeasurementrangeis0-200,000Lux;spectralrangeis400-700(nm)visiblelight;measurementerrorislessthan2%;outputis4-20mAor0-20mV;outputsignalcanbedirectlysendtotheA/DoftheSCMafterbeingamplifiedto0?4VModulesaccepttheinstructionsformthetheUpper,andoutputviatheoutputcircuit.Theoutputcircuitconsistsofopticalisolation,thesignaldriverandtheoutputrelays.measurementandcontrolmodulesofsoilmoistureWaterisapolarmedium,thedielectricconstantofthesoilcontainingwaterismainlydeterminedbythewater,whenwatercontentisdifferent,thewaveimpedanceissoilmoistureismeasuredbystandingwaveradiomethodinthissystem.BasedonthetheoryofEngineeringElectromagneticField,forlossymedium,theelectromagneticwaveimpedanceasfollows:Z0=?/g(1+j九/(3£))Where四ismediumpermeability,and四ofsoilis^-^0isthevacuumpermeability;^ismediumdielectricconstant;九ismediumconductivity;?iselectromagneticwavefrequency.Intheverylowaudio(<2000Hz),thelosstangentofdrysoildielectricisX/ros-,ifyouchoosethefrequencyofthesignalsourceatabove,£-£ro,theimaginarypartofthesoilwaveimpedanceisneglect,onlytherealpart,whichamountstoapureresistance.Soilmoisturesensorconsistsof100MHzsignalsource,acoaxialtransmissionlineanda4-pinstainlesselectromagneticwavesofsignaltransmittotheprobealongthetheprobeimpedanceandlineimpedancearedifferent,thesuperimpositionofincidentwavesandreflectedwavesformsastandingwaves.Takingthecoaxialtransmissionlineasalosslessuniformline,waveimpedanceisZ0,Zlistheloadimpedance.Thenthereflectedcoefficientofvoltagewaveattheprobeis:r=(ZL-Z0)/(Zl+Z0)Choosingthelengthoftransmissionlineisl=X/4,themaximumandminimumofbothendsofthelineareUmaxandUmin,Thenthestandingwaveradiointhelinecanbeexpressedas:S=Umax/Umin=(1-|r|)/(1+|r|)Intheway,thesoilmoistureradiocanbemeasuredbymeasuringthestandingwaverateoftransmissionline.Asshownin.,soilmoisturemoduleconsistsofsensorsandcontrollers,thesensorsaresubordinatedtocontrollers,controllerscanbeomittedwithouttheneedofirrigationingreenhouse.Tosimplifythecontrol,irrigationtechnologyofnode-typeinpartitionisadoptedinthecontrolsoilmoistureinthisacertainextent,theparametersofupperandlowerthegroundcanbedecoupledbyadoptingthistechnology.CONTROLSYSTEMPROGRAMMINGThesoftwareofPCisdevelopedbyKingViewofBeijing-controlledconfigurationsoftwarehashighreliability,shorterdevelopmentcycle,perfectcapabilityofgraphicalinterfacegeneration,andfriendlyhuman-computerinteraction;andcancreatedynamicimagesandchartsinaccordancewiththelayoutofequipmentinthescene;canvisuallydisplaythechangesofparameters,controlstatus,andcangiveanalarmwhenover-limited;andcanachievefuzzycontrolofgreenhouseparametersbyusingthehistorycurveofenvironmentparametersstoredinthespecificdatabaseandadoptingtheagriculturalexpertsystem.ThesoftwareofSCMoftheslaveisdevelopedbyKeilC51toachievereal-timecollecting,processing,uploadingoftheparametersandacceptthefuzzycontrolinstructionsfromthehostcomputerandcompletelocalcontrolofthedevice.ProgramdesignofthecontrolmoduleThesoftwareofthesub-slavemachineofsoilmoisturemodule,thatincludethemainfunction,subroutinesofdataacquisitionandprocessing,interrupthandlingandcommunicatingetc,readthevalueofstandingwavevoltagethroughtheparalleldataportandobtainedthevalueofsoilmoisturecontentbyfunctioncalculating.Thesoftwareoftheslavemachineofmonitoringandcontrolofsoilmoisturemainlycompletedatacommunicationwiththesub-slavemachine,uploadingmeasurementdataandcurrentcontrolstatetothehostcomputer,acceptingthefuzzycontrolinstructionsfromthehostcomputerandoutputtheimplementationinstructions.Thesoftwareoftheslavemachineoftemperatureandhumidity,andCO2mainlycompletereadingdataofCO2concentrationsandtemperatureandhumiditythroughtheI2Cconcentration,uploadingmeasurementdataandcurrentcontrolstatetothehostcomputer,acceptingthefuzzycontrolinstructionsfromthehostcomputerandoutputtheimplementationstructureofthemainprogramandinterruptsubroutineoftemperatureandhumiditymoduleareshownin.Theserialinterruptmode3isadoptedbyallslavestocommunicatewiththehost,transmitthedigitalcollectingandreceiveinstructions.ProgramdesignofPCandfuzzycontrolsystemThecommunicationsettingsofKingView:Inordertoensurethecorrectnessofcommunication,theupperandlowermustfollowthesamecommunicationprotocol,setthecommunicationincommunication,master-slavemodeisadoptedinstyleandresponderisadoptedintheis,themastersentacommandtotheslavefirst,thenetslavegiveananswerafterreceivingthecommand,thusoncecommunicationisKingView,ascheduledpollingmethodisadoptedtodoreadingandwritingbetweenthelowermachinebytheprojectbrowserofKingView,first,clickdevice—COM1;inthewizardofdeviceconfiguration,selectintelligentmodules—SCM—currentSCMofHEX—serialport,andthenserparametersforthehostcomputer,scommunication.TheconnectionofKingViewanddatabase:Databaseisthecoreofthesoftware,thatnotonlycontainsthedefinitionofvariables,real-timeparametersandthehistoricalparameters,butalsoisneededbyparametersalarming,fuzzycalculating,reporting,anddesktopdatabaseisusedasrecordsdatabaseofthesystem,andbyusingSQL,itisoperatedbyKingViewviaprocedureis:tocreatedatavariablesinKingViewtocreateabodyofrecordstoestablishadatasourceofODBCtocreatequeryscreensandmakethescreenconnectedwithMicrosoftAccess2003,the functions ofSQLConnect(),SQLSelect(),SQLLast(),SQLNext(),SQLFist(),SQLPrew(),SQLInsrt(),andsoon,shouldbeimplementedinthecommandlanguage,andthenreal-timestorageandinquiryofdataarecompleted.SoftwaredesignofPC:Forthecontrolsystemofgreenhouse,datastoragecapacityofthePCisunlimited,soiftheexistingmaturesoftwaremodulesareincludeintothesystem,itbothberelaxedandcanimprovethesystemsoftwareofsoftwareconsistsofcontrolmoduleandmanagementmodule.Softwareofthesystemconsistsofthemaincontrolinterface,auxiliary,databases,typicalmaininterfaceofmonitoringandcontrolofPCisshownin.V.CONCLUSIONAccordingtothe

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論