1、New Environment Parameters Monitoring And Control System For Greenhouse Based On Master-slave Distributed Abstract-According to the actual need of monitoring and control of greenhouse environment parameters in rural areas,a master-slave distributed measurement and control system is designed,in which
2、 PC is taken as the host. The system consists of PC ,soil moisture measurement and control module,temperature and humidity, and CO2 monitoring and control module. In the system,PC has large amount of data storage which is easy to make use of fuzzy control expert system,configuration software-KingVie
3、w is used to develop software for PC,by which the development cycle is shorten and a friendly human-computer interaction is provided.Each monitoring and control module consists of STC12 series of microcontrollers,sensors,relays etc.Different modules are select based on the need if system to achieve
4、control greenhouse in partition and block. I. INTRODUCTION To modern indoor agriculture, the automatic measurement and control of environment parameters is the key to achieve crop yield and quality of greenhouse.In recent years,facilities agriculture develops vigorously in our country,matched with i
5、t,the monitoring and control instrument of greenhouse have also made certain development.After nearly 10 years of unremitting hard work,our research team of measurement and control system of agriculture environment parameters,designed an intelligent measurement and control system of distribution com
6、bined of greenhouse which can be popularized in the vast rural areas.This system is mainly control of temperature,humidity,CO2 concentration,soil moisture and illumination of greenhouse.OF SCM,as the data storage is small,display interface is single,amount of information is limited,but its capabilit
7、y price ratio is high,so it is used as a front unit of data acquisition and control;and of PC,it has a large amount of data storage,rich software,convenient human-computer interaction,and so on.If we use outdated and low-priced PC,taking the PC as the upper machine,taking the different function cont
8、rol modules composed of multiple microcomputers as the lower machines,then a master-slave distributed and intelligent control system bases on microcomputer is made up,by which both better monitoring and control,display and data collection or management are achieved,but also lower cost of system is g
9、et according to the actual need. II SYSTEM STRUCTURE AND PRINCIPLE The most marked feature of the distribution combined and intelligent control system greenhouse is that of incorporating with data acquisition, control and management as a whole,module combination, simple structure,convenient human-co
10、mputer interaction,and using technology of intelligent expert fuzzy control,which can adapt to a variety of crop management control in greenhouse.The basic structure of the system is shown in Fig.1. The structure of the distributed system is composed of two layers:the upper and lower.In the top-pric
11、e PC is taken as the host to make system management and experts fuzzy operation in intelligent,and to provide a friendly human-computer interface,and to realize the united monitoring and management of greenhouse; the lower is composed of a series of modules of different function,and in each module,a
12、 single chip of AT89C is adopted as the lower machine,RS485 is used to communicate PC with all AT89C,and then the collection,processing and control of the greenhouse parameters is achieved.Each function module is completely isolated in electrical,any failure on the nodule does not produce any effect
13、 on other modules.The system collects separately ways of environment information through each monitoring and control module,and sends it to host PC through the RS485 interface.And in the PC configuration control system,the acquired parameters are compared with the values of setting,then according to
14、 a variety of expert intelligent fuzzy control system of crops at different growth stages,the fuzzy control instructions on the environment temperature,humidity,CO2 concentration,soil water content and the corresponding operation instructions or alarm are given. The system is applied in rural greenh
15、ouses in Qinhuangdao.Usually at 1/4 near East and West end in a greenhouse,and at the height of 1.5m from the ground in the middle in the northern half (near the wet curtain) and the southern half (near the fan ),a module of air temperature and humidity ,CO2 concentration and a module of soil moistu
16、re content are set;a module of soil moisture content will be added in the middle of the greenhouse according to the actual condition;at the height of 1.5m in the main entrance,a water tank is set,of which the solenoid of drip tube should be set based on the need and controlled by module of soil mois
17、ture content;and the PC is placed in the main entrance to the greenhouse. III . HARDWARE DESIGN A. The CP and communication system In the distributed system of data acquisition and control,as the micro control unit is limited in data storage and slow in calculating of complex functions,so PC is used
18、 and the master-slave 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,communication is the key to it.Generally,the serial port of PC is standard RS232,of which transmission distance is shor
19、ter.But in agriculture control system.its communication distance is of tens of meters or several kilometers, so RS232/RS485 converter is used to achieve communication between the PC and SCM.To reduce investment,both considering the user convenience and friendly human-computer interaction,low-price P
20、C of above 486 and below PIV is adopted;and considering the operation of configuration software,it is required that memory is 64M or above and hard disk is 10Gb or above. B. The control modules of temperature and humidity,illuminance and CO2 concentration Each control unit consists of SCM,sensors,si
21、gnal processing circuit,RS485 interface and output circuit.The hardware structure of module of temperature and humidity,CO2 concentration is shown in Fig.2. CO2 concentration is measured by sensor based on NDIR technology,measurement is of 02 103mol.Through the sensor,control system,by software of d
22、igital filter,linear interpolation and temperature compensation,the CO2 concentration is output as digital adhered to UART protocol,and then is input directly to the SCM. The new intelligent sensor of SHT11 based on CMOSens technology is chosen in the measurement of temperature and humidity.In SHT11
23、,the temperature and humidity sensors,signal amplification,A/D,I2C bus are all integrated in a chip;it has full-scale calibration,second-line digital output,and humidity measuring range of 0100% RH,temperature measurement range of -40 +123.8 ,humidity measurement accuracy of 3.0% RH,temperature meas
24、urement accuracy of 0.4 ,the response time of 4s. The illuminance sensor of JY1-TBQ-6 of silicon photovoltaic detection is used Light measuring.Its measurement range is 0200,000 Lux;spectral range is 400700(nm) visible light;measurement error is less than 2%; output is 420mA or 020mV;output signal can be