A kind of wireless environment monitoring device that is used for warmhouse booth
Technical field
The utility model patent is a kind of ZigBee of application wireless data transmission technology is carried out environmental monitoring to warmhouse booth a device.Its major technique comprises the global design of the realization of multisensor interface, multiple power supply mode compatibility, low-power dissipation system structure, ZigBee wireless transmission, button and pilot lamp design and monitoring device structure.
Background technology
At present; In the warmhouse booth in the vast rural area of China; The plantation householder will rely on devices such as traditional thermometer, hygrometer, relies on the artificial mode that reads to obtain environmental information on the spot, and the environmental parameter of monitoring is few; The quantity of information that obtains is little, and the backwardness of measurement mechanism makes that with the artificial error that reads the accuracy of information that obtains is poor.This becomes the key factor of restriction chamber crop quality and output.In addition, in the crop cultivating process of the plantation of the specialties of fruit tree flowers, agriculture demonstration garden and scientific research institutions, strong and urgent demand is arranged especially for the precision collection of multiple necessary environmental information.
Current in the information-based field of agricultural, be many for the theoretical research of warmhouse booth environmental monitoring, but real realize commercialization and come into the market very few and and incomplete.According to investigation, the warmhouse booth environmental monitoring scheme on the market mainly contains three kinds.First kind: settle a locking terminal equipment in the greenhouse, this terminal is image data in real time, peasant household's copy data of regularly coming.This product can't be realized the long range acquisition of data, and copy data trouble and real-time are poor, only is adapted at R&D institution's use that experimentizes.Second kind: humiture collection equipment links to each other with near computer through wired solution, through the cable transmission data, and realizes Long-distance Control.The shortcoming of this product is that wiring cost is high, and equipment can't move after settling, and a lot of booth is located in remotely, drops into huge in the local construction Surveillance center of adjacent booth.The third: the remote transmission that realizes data by the GPRS/3G network.This is a kind of comparatively desirable remote transmission scheme, but the monitoring requirements that distributes for concentrated type among a small circle, and the obvious cost of this scheme is too high.Therefore, urgent need is a kind of on the market can consider warmhouse booth environmental monitoring demand comprehensively, can adapt to the particular surroundings in greenhouse, complete function, practical environmental monitoring product.
Summary of the invention
In order to advance the IT application process of agricultural; Environmental monitoring to warmhouse booth; The utility model provides a kind of warmhouse booth environment monitoring device based on the ZigBee Radio Transmission Technology, and this device can be gathered aerial temperature and humidity, the soil moisture, soil moisture, the CO of warmhouse booth
2Information such as concentration, intensity of illumination, and with the data that collect through being wirelessly transmitted to the base station.
In order to gather the environmental information in the warmhouse booth, in view of sensor has two kinds of simulating signal and digital signals, we on hardware, have designed No. 4 analog sensors inputs (5V power supply) and 5 way word sensors are imported (3V power supply) comprehensively.Wherein get into single-chip microcomputer after the mode step-down of simulating signal employing electric resistance partial pressure, digital signal is connected with single-chip microcomputer through iic bus or 1-wire bus protocol.Each signal input part all has corresponding protection circuit.This utility model has articulated No. 5 sensors at present, is respectively aerial temperature and humidity, the soil moisture, soil moisture, CO
2With the intensity of illumination sensor.Also have 4 tunnel input channels vacant, convenient other sensors of expansion later on.
Wireless data transmission adopts the ZigBee technology of widespread use in the world, and its packet affirmation mechanism and retransmission mechanism can guarantee reliability of data transmission, its low-power consumption and cheaply characteristics can reduce system power dissipation and cost.This kind wireless sensor network can pass through in the networking, to add transfer route implementing infinite expanding, thereby reaches the purpose of short range and remote monitoring.
Consider that power distribution is different in the dissimilar warmhouse booths, we have designed three kinds of power supply modes for the utility model, are respectively: external direct current power supply, inner disposable dry cell, inner rechargeable battery (external solar panel).In order to save power consumption and to prolong in the working time that does not have under the external power source situation; We have carried out low power dissipation design to system; Comprise the dormancy of cpu cycle property, CPU frequency reducing, three kinds of methods of designing power supply control circuit; Make this device can continuous working under external direct current power supply and inner rechargeable battery pattern and power consumption few, under the disposable dry cell power supply pattern in inside, can work more than 3 years.
Carry out certain test and configuration operation for the duty of indicating this device and to device, we have designed pilot lamp and function button to the utility model.Can know clearly whether operate as normal and be operated in which kind of pattern of current wireless network and total system through pilot lamp.Being provided with of function button can make things convenient for the technician that system is carried out warm reset and device is carried out functional test, and key combination can realize the function of wireless modification node self ID numbering and node type simultaneously, and the flexibility ratio that makes device use increases.
The ambient humidity of warmhouse booth is big especially, and we have considered waterproof, antirust design in the design of this apparatus structure.The input end of sensor is through waterproof aviation plug access to plant, and the fastening screw of shell is selected stainless steel high-quality screw rod for use, prevents to get rusty.In addition, consider the hardware environment in greenhouse, in plastic greenhouse, but have only the ceiling suspension equipment, and the floor height of some glasshouse is very high, is not easy to the test of soil environment, so we have installed the tripod of fixed equipment additional with fastening.
The beneficial effect of the utility model is that cultivating for becoming more meticulous of crop in the warmhouse booth provides environmental information comprehensively and accurately, helps scientific research personnel or common plantation family to make a policy to improve quality and the output of crop thereby be of value to.The structure of low-power dissipation system, the design of pilot lamp and button and make this device that very strong specific aim and practicality arranged to the powering mode of warmhouse booth environment and contour structures design specially.
Description of drawings
Below in conjunction with accompanying drawing and embodiment the utility model is further specified.
Fig. 1 is the utility model circuit theory diagrams;
Fig. 2 is the utility model signal input port schematic diagram;
Fig. 3 is three kinds of powering mode schematic diagrams of the utility model;
Fig. 4 is the power supply control chart of each module in the circuit;
Embodiment
As shown in Figure 1, we have carried out modular design to the utility model circuit part.Power module has three kinds of patterns to select, and looks concrete the environmental selection one of which of warmhouse booth.Wherein, nucleus module MCU, wireless module and sensor are respectively independently-powered, and this is in order to satisfy the low-power consumption demand of system, when a certain module is not worked, can power down to reduce energy consumption.
The sensor input end we adopt four terminals to prevent anti-inserted contact pin, and as shown in Figure 2, the digital sensor supply voltage is 3V, and through iic bus or 1-wire bus protocol and single chip communication, and input end has the protection diode, prevents that static from damaging circuit.Unsettled for preventing input end, digital signal input end has pull-up resistor.The analog sensor supply voltage is 5V; Get into single-chip microcomputer after the mode step-down of its input signal employing electric resistance partial pressure; Analog input end has the antistatic protection diode equally; For to prevent that analog input voltage from exceeding the voltage tolerance range of single-chip microcomputer, we have also added voltage protection chip 1 in circuit simultaneously, with the voltage limit that gets into single-chip microcomputer between 0V-3V.
The compatible three kinds of power supply modes of the utility model, be respectively: external direct current power supply, inner disposable dry cell, inner rechargeable battery (external solar panel), its schematic diagram is as shown in Figure 3.Switch simple between the different powering modes:
1. external direct current power supply: voltage request is 5V, gets final product with 2, the 3 port short circuits of wire jumper with contact pin.
2. inner disposable dry cell: adopt the 3.6V high-capacity lithium battery, be installed in the battery case,, and break off solar charging circuit with 1, the 2 port short circuits of wire jumper with contact pin.
3. inner rechargeable battery: adopt the 3.6V chargeable lithium cell, be installed in the battery case,, connect solar charging circuit with 1, the 2 port short circuits of wire jumper with contact pin.The core of solar charging circuit is the solar charging electrical chip; This chip internal has the over-charging of battery holding circuit, and simultaneously we are provided with battery and cross and put protection in software, and cell voltage is carried out the AD sampling; When cell voltage during less than threshold value, the shearing device power supply.These two kinds of measures can be protected chargeable lithium cell as much as possible.
In order to reduce power consumption, the working time of extension fixture, we have carried out strict low power dissipation design.What this device needed completion is the process that the collection of one-period property is sent, and device is idle in the most of the time.When not working, get into park mode at device, whenever woke up once, whenever wake ten seconds of one action, the collection and the transmission of completion data in ten seconds up at a distance from ten minutes through software setting CPU.Simultaneously, when the CPU dormancy, cut off the power supply of ZigBee wireless module and sensor, reduce device electric quantity consumption on one's own time.Its principle is as shown in Figure 4, and the voltage that power module provides is supplied with MCU, wireless module and sensor respectively through the LDO chip.Because MCU is the control core of total system, its power supply can not turn-off.And it is the Enable Pin that wireless module and sensor provide the LDO chip of voltage that MCU is controlling, and after system accomplished the collection of data and sends, MCU broke off enabling of LDO chip, makes wireless module and sensor power down, and CPU gets into park mode then.At last, because this device workload and not quite, the frequency that we have lowered CPU is further saved electric weight.
The ZigBee technology that the utility model adopts is a kind of the short distance wireless communication technology, in the installation process of reality, considers that the distance of measuring point to be checked and base station is different can adopt the different schemes of layouting.If point to be monitored and base station distance in effective propagation path, then can directly be transferred to the base station with signal; If point to be monitored and base station distance exceed the effective propagation path of ZigBee signal; Then need in the networking, install route additional; The information that perhaps each node in the certain limit is collected sends to the GPRS gateway, through the GPRS gateway information is sent to the Internet, realizes remote monitoring.
The utility model is a kind of environment monitoring device of developing to the environmental information demand of warmhouse booth; It makes the user can be through the wireless various environmental informations of obtaining warmhouse booth comprehensively and accurately; Its mentality of designing accordings to the particular surroundings of warmhouse booth fully; Application purpose is to realize the fine-grained management of agricultural, for the IT application process of agricultural with significant.