CN102915018A - Distributed environment monitoring system based on WIFI - Google Patents

Distributed environment monitoring system based on WIFI Download PDF

Info

Publication number
CN102915018A
CN102915018A CN2012104291435A CN201210429143A CN102915018A CN 102915018 A CN102915018 A CN 102915018A CN 2012104291435 A CN2012104291435 A CN 2012104291435A CN 201210429143 A CN201210429143 A CN 201210429143A CN 102915018 A CN102915018 A CN 102915018A
Authority
CN
China
Prior art keywords
remote server
wireless
monitoring terminal
data
solar
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012104291435A
Other languages
Chinese (zh)
Other versions
CN102915018B (en
Inventor
郑来波
刘旭
郑方方
杨红光
曹琦
英宁
张国伟
陈磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong University
Original Assignee
Shandong University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong University filed Critical Shandong University
Priority to CN201210429143.5A priority Critical patent/CN102915018B/en
Publication of CN102915018A publication Critical patent/CN102915018A/en
Application granted granted Critical
Publication of CN102915018B publication Critical patent/CN102915018B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention relates to a distributed environment monitoring system based on WIFI (Wireless Fidelity) and belongs to the technical field of embedded wireless monitoring. The system comprises a wireless monitoring terminal. The system acquires parameters of the ambient environment by technologies of RS485 bus, analog/digital (A/D) conversion and the like, transmits data to a remote server by a WIFI technology with high transmission speed and strong anti-jamming ability and acquires the maximum energy of a solar battery panel by a maximum power point tracking technology to supply power for the system. The received data stream of extensive makeup language (XML) is analyzed by an environment monitoring center server, stored in a database and presented to an administrator clearly and quickly by a Java sever page (JSP), so that the administrator can control the change condition of the environment factor in real time. The system effectively solve the problems of wiring difficulty, high cost, short transmission distance and manual monitoring insufficiency in the environment monitoring process, obviously improves the operation efficiency of the system, facilitates maintenance of the system, and provides a stable high-efficiency operating platform for the environment monitoring work with widely distributed nodes and complex geographical environment.

Description

Distributed Environmental Monitoring System based on WIFI
Technical field
The present invention relates to a kind of Distributed Environmental Monitoring System based on WIFI, belong to the embedded radio monitoring technical field.
Background technology
Continuous progress along with world today's science and technology industrial technology, its problem of environmental pollution that brings seemed more and more for outstanding, and therefore strengthening has become a current day by day urgent task to the monitoring of the factors such as temperature, humidity, illumination and environmental air pollution of surrounding air and control.And the geographical environment of each environmental monitoring sites complexity, position too disperse and unmanned usually, therefore manually copying the data of getting each monitoring point can be very inconvenient, it is low to carry out efficient, and it is also more thorny to power, and by wired mode gather that the input cost of each data of monitoring point is excessive, wiring is complicated, be difficult to safeguard and transmission range limited.
Come application number 201110394803.6 Peng in the patent of invention of " based on the environment monitoring device of RS-485 bus " of the people such as lake application, a kind of environment monitoring device based on the RS-485 bus has been described, be input to the simulating signal input port by the environment parameter that will gather, in process simulating signal is carried out pretreated signal Processing Interface, arrive arm processor, then the parameter that collects is uploaded in real time the RS-485 PORT COM of Surveillance center, transfer to Surveillance center.Although this invention provides a kind of and can automatically gather, recorded, reduces labour intensity, the good environment monitoring device of real-time, there are following defective and deficiency:
1, this device takes the wired mode of RS485 bus and environmental monitoring center to carry out data transmission, to cause environmental monitoring sites to be confined to the area that geographical environment is better, be easy to connect up, and when carrying out environmental monitoring in areas such as geographical environment complexity, inclement conditions, take wired acquisition mode to have usually that input cost is excessive, wiring is complicated, transmission range is limited and be difficult to the shortcoming such as maintenance, and can't change flexibly node location.
2, this device is taked the mode of common power circuit supply, and neither the factors such as energy-conservation are not considered in environmental protection yet, and environmental monitoring is carried out in this place in the geographical conditions complexity, is science not, does not advocate.Take the common mode power supply not only to increase the cost of power supply, also increased the difficulty of power supply, and needed managerial personnel regularly to go to change battery or safeguard supply line.
Therefore people are higher for a kind of integrated level, extensibility is stronger, the demand of the wireless environment monitoring terminal of environmental protection and energy saving, reliable and stable, convenient suitable environmental monitoring characteristics of settling has just increased greatly.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of embedded radio environmental monitoring system based on the WIFI technology has been proposed, native system adopts the solar maximum power point tracking technique that terminal is powered, and adopts the WIFI communication technology that data are carried out long-distance transmissions.
The technical solution adopted in the present invention is as follows:
A kind of wireless environment monitoring system based on WIFI, comprise wireless monitoring terminal and environmental monitoring center, it is characterized in that wireless monitoring terminal comprises embedded core board, Temperature Humidity Sensor, illuminance sensor, the WIFI communication module, power supply unit, the LCD display module, humiture wherein, Temperature Humidity Sensor in the illuminance sensor module is connected to embedded core board RS485 bus interface, illuminance sensor turns the A/D translation interface that the 0-3.3V circuit is connected to embedded core board by 4-20mA, the WIFI communication module is connected to the USB interface of embedded core board, and LCD display links to each other with embedded core board;
Described 4-20mA turns the circuit that the 0-3.3V circuit is comprised of operational amplifier, resistance R 1-R6 and variable resistor R7, and wherein R1 and R4 are in series, and the R1 other end is connected on the output terminal of operational amplifier, and the R4 other end is connected on centre one end of R7; The two ends of R7 connect respectively R2 and R3, R2 other end ground connection, another termination of R3 12V power supply; Its tie point ground connection after R5 and R6 are in series, the R6 other end is connected on the positive input terminal of operational amplifier, and the R5 other end is connected on the tie point place of negative input end and R1 and the R4 of operational amplifier simultaneously;
The environmental monitoring center comprises wireless router and remote server, wireless router is connected with remote server, wherein software program comprises Socket server end, oracle database and Tomcat server in the remote server, the Socket server end is used for receiving the XML data stream, and data stream is carried out dissection process; Oracle database is used for data are preserved; The Tomcat server is used to the JSP web displaying that environment is provided; Wireless monitoring terminal and environmental monitoring center are to come transmission of signal by wireless transmission;
Power supply unit comprises solar panel, controller for solar and accumulator, and wherein solar panel is fixed on the place that is easy to receive illumination, and solar panel is connected with controller for solar; Accumulator is connected with controller for solar; Embedded core board, Temperature Humidity Sensor, illuminance sensor are connected with controller for solar respectively; Accumulator is embedded core board, Temperature Humidity Sensor, illuminance sensor power supply by controller for solar.
Described controller for solar is MPPT maximum power point tracking (MPPT) controller for solar.
Described embedded core board model is for flying to insult embedded OK2440 core board.
Solar panel is placed on the place that is easy to receive illumination in the wireless monitoring terminal of monitoring system of the present invention, controller for solar utilizes the MPPT maximum power point tracking technology, obtain the peak power of solar panel, for accumulator charges, thereby guarantee that accumulator can be by continual and steady the powering to the load of controller for solar, load comprises humiture illuminance sensor, embedded core board.
The various types of signal that the embedded core board of the present invention comes the sensor collection is carried out corresponding analysis and is processed, and then sends to remote server by the WIFI module with the form of XML data stream.Pass through wireless router, the Socket server end carries out dissection process to the XML data stream that receives in the remote server, the environmental datas such as the humiture that parses, illumination are deposited in the oracle database, and reply terminal and receive successfully, then present in real time the keeper by JSP dynamic web page under the Tomcat server.
Temperature Humidity Sensor adopts standard Modbus RTU communications protocol, and RS485 bus and embedded core board by half-duplex, long-distance transmissions carry out data communication, by the ARM9 processor integer data of 16 16 systems receiving is processed.
Illuminance sensor adopts the 4-20mA electric current way of output of two wires, and the 4-20mA electric current of output need to change into 0-3.3V voltage, could access the A/D translation interface of embedded core board.
The WIFI communication module links to each other by USB interface with described embedded core board, communicates by stream socket Socket and remote server, and communication meets the IEEE802.11b/g standard.
Environmental monitoring terminal software of the present invention is divided into two parts: drive design and application layer software design on the embedded Linux system framework basis.
Terminal system selects built-in Linux 2.6.28 as operating system, and its transplanting comprises cutting, configuration and compiling, the root file system transplanting of bootstrap loader Bootloader, kernel.BootLoader is exactly a bit of program that will move before operating system nucleus operation, is used for initiating hardware equipment, sets up the memory headroom mapping, and boot parameter is passed to kernel, starts kernel.In the cutting and configuration of kernel, at first to guarantee the basic function of system, guarantee that then each hardware circuit can normally move, comprise I/O mouth, serial ports, button, USB and WIFI driving etc.The root file system that native system is transplanted is yaffs2, and it is special embedded file system for NAND Flash reservoir designs, is applicable to jumbo memory device.
For realizing the functions such as data acquisition, processing and transmission such as humiture, illumination, the driver that needs under the terminal linux system to load has WIFI module drive, A/D driving, button driving, touch-screen driving and serial port drive etc.At first WIFI drives is provided by Viatech Technologies, only needing to revise translation and compiling environment is that cross compilation environment and modification kernel path are the path at Linux2.6.28 place, need in addition to dispose WIFI and drive the information such as wireless network card device number in the script file, wireless network card IP address, wireless connections title DESIRED_SSID, BSSTYPE, channel number, wep encryption key, ensure that monitoring terminal and remote server carry out reliablely and stablely wireless connections.Then design is fit to the A/D driving of native system, it need take one road A/D analog input channel, when the simulating signal amount conversion digital signal amount that gathers is finished, need application IRQ_ADC to interrupt, and the touch-screen driving has taken all 8 road A/D analog input channels, when touch-screen is pressed, also need to apply for this interruption, both will produce the phase mutual interference this moment.For making both share this interruption, needing when application is interrupted will interrupt simultaneously processing setup of attribute is IRQF_SHARED, and need in touch-screen drives by function DECLARE_MUTEX (ADC_LOCK), statement initializing signal amount ADC_LOCK is 1, when touch-screen is pressed, call function down_trylock (﹠amp; ADC_LOCK) have this semaphore, forbid other thread accesses this moment, when touch screen operation finishes, calls up (﹠amp; ADC_LOCK) discharge this semaphore.Also call signal amount ADC_LOCK in the same way in another driver, so just can guarantee the ADC resource A/D drive and the touch-screen driving in carry out exclusive reference.Design in addition button and drive to realize that button interrupts exit function.Other drivers provide by linux kernel.
Under built-in Linux, carry out native system application layer software design, enter the self-starting pattern after terminal powers on, successively comprise starting (SuSE) Linux OS, load each driver module and the operation such as serial communication attribute being set.Then archive data before terminal at first detects and has or not has namely to send, and processes the sensing data stage otherwise directly enter Real-time Collection, successively gathers the information such as humiture, illumination.Humiture is to adopt the collection of Modbus RTU communication mode by the RS485 bus, Modbus communication protocol is a kind of industrial circle standard for serial communication, on transmission mode, can select the ModbusRTU with the binary representation data mode, therefore the data that collection comes up need to be carried out the conversion on the data layout; And the illuminance data acquisition is the current analog amount of 4-20mA, needs be converted into the 0-3.3V voltage analog by hardware circuit first, then is converted to digital quantity by A/D, after data are further processed, obtains concrete illumination value.With the XML data stream of this humiture that constantly gathers up, photometric data composition set form, carry out Internet Transmission by stream socket Socket.If undesirable or server such as does not open at the reason owing to network condition, cause data not send successfully or the server return information is not received, then will be to the data processing of filing, and detect at set intervals and have or not archive data, have namely to send.Whether system should detect in addition has button to press, if having, then should realize the functions such as free system resources normally withdraws from.For sending real time data, send archive data and judge that button can adopt the mode of multithreading by inferior operation, and introduce mutual exclusion mechanism and conduct interviews.
The method of work of wireless monitoring terminal in a kind of above-mentioned environmental monitoring system, step is as follows:
(1). the self-starting that powers on, intiating radio monitoring terminal;
(2). wireless monitoring terminal sends archive data to the remote server at environmental monitoring center, then delete the archive data that it sends if wireless monitoring terminal is received the remote server return information, otherwise wireless monitoring terminal enters the real-time data acquisition stage;
(3). wireless monitoring terminal gathers real time data, and the real time data that gathers is analyzed, processed and files;
(4). wireless monitoring terminal sends real time data to the remote server at environmental monitoring center, then deletes the real time data that it sends if wireless monitoring terminal is received the remote server return information, otherwise does not carry out the real time data deletion, changes next step over to;
(5). wireless monitoring terminal has judged whether archive data every one section timing, if do not have, then changes step (7) over to, otherwise changes next step over to;
(6). wireless monitoring terminal sends archive data to the remote server at environmental monitoring center, then deletes the archive data that it sends if wireless monitoring terminal is received the remote server return information, otherwise skips the deletion archive data, changes next step over to;
(7). wireless monitoring terminal has judged whether that button presses, if without pressing, then return step (3), otherwise normally withdraw from.
Same (SuSE) Linux OS, the kernel version Linux2.6.18 of adopting of system remote server software design of the present invention.Behind the server electrifying startup, can at first create socket and bind listening port.Utilize afterwards the JDK class libraries to create the ExecutorService thread pool, be pre-created a few thing thread in the thread pool, they are extraction task from work queue constantly, then carries out this task.When data arrival task is arranged, call ExecutorService.execute () method, the thread of giving in the ExecutorService thread pool with the task of terminal communication is carried out.Enter the thread process function this moment, thread at first can receive the XML data stream, and create the network connection daily record and open oracle database, to receive afterwards the XML data stream scans by the SAX resolver, when the beginning that scans element, the content of element, during the end of element, then can enter respectively corresponding callback method startElement (), characters () and endElement () processes, then will resolve good data deposits in and loads and registration has in the oracle database of JDBC driver, can reply terminal and show that data receiver is normal this moment, discharges at last this connection resource and close database.Server end can carry out representing in real time of data by the JSP dynamic web page technique under Tomcat, can be set as the T time to refresh once, and T should be less than the Real-time Collection interval.
In the heart the method for work of remote server in a kind of above-mentioned environmental monitoring, step is as follows:
A. the self-starting that powers on creates socket and also binds listening port;
B. remote server utilizes the JDK class libraries to create thread pool;
Whether c. remote server is monitored has the XML data stream to arrive, if having, then gives the thread pool thread communication task and carries out, otherwise monitor always;
D. when having communication task to give the thread pool thread, enter the thread process function, receive the XML data stream;
E. remote server creates and connects daily record, connects oracle database;
F. remote server utilizes the SAX resolver that the XML data stream is resolved, and deposits database in resolving good sensing data;
G. remote server is replied the success of wireless monitoring terminal data receiver;
H. close database, discharge this connection resource, return step c and continue to monitor.
The JSP webpage under the Tomcat can extract data and carried out web displaying from the tables of data of database this moment.
Above-mentioned WiFi is a kind of based on the IEEE802.11 standard, by WLAN (wireless local area network) with terminals such as handheld device, PC with the interconnected adopting wireless fidelity technology of wireless mode.Its advantage is that transmission speed is very fast, can reach 54Mbps, and need not wiring, is fit to very much mobile office user's needs, meets the demand of social informatization.
Above-mentioned thread pool is to create in advance n thread, and they are taking-up task from work queue constantly, then carries out this task, and when task was finished, this thread can not destroyed, and can continue to take out next task and carry out from work queue.So just avoid the expense of thread creation, when frequently thread appearance is arranged, performance has been had larger benefit, be convenient to management.
Beneficial effect of the present invention is mainly manifested in:
1, the mode of wireless monitor is easy-to-use flexibly, save cost, solved the difficulties such as the large and transmission range of the difficult wiring, the input cost that occur in the cable environment observation process is limited, can also change flexibly node location, brought great convenience for the layout of monitoring system.
2, solar powered mode, economical and practical, environmental protection and energy saving, solved because the powerup issue that monitoring place complicated condition brings, adopt simultaneously current state-of-the-art MPPT maximum power point tracking technology, guaranteed that equipment can obtain the ceiling capacity in the unit interval from solar array, thereby significantly improved the capacity usage ratio of system, farthest rationally utilized sun power.
3, microprocessor adopts Samsung based on the S3C2440A of ARM920T kernel system data to be analyzed, processed, and resource in its abundant sheet with characteristics such as low-power consumption, low cost, high-performance, has been widely used in all kinds of terminal devices.
4, sensor adopts the Modbus RTU communications protocol of industrial standard level, carries out data communication by semiduplex RS485 bus and embedded core board, can realize the distant-range high-precision ground transmission of data.And adopt the electric current output of the 4-20mA of two-wire system, it is little to have error, long transmission distance, and the impact that is not subject to the parasitic heat galvanic couple, floats along wire resistance pressure drop, magnetic Field Coupling and temperature.
5, remote server adopts the treatment mechanism of thread pool, to effectively solve thread because creating life cycle overhead issues and the not enough problem of system resource that produces of destroying, prevent from causing system crash because consume excessive system resource, and will greatly improve the concurrency performance of server.
Description of drawings
Fig. 1 is the structural representation block diagram of system of the present invention.
Wherein: 1, embedded core board, 2, illuminance sensor, 3, Temperature Humidity Sensor, 4, the WIFI communication module, 5, power supply unit, 6, the LCD display module, 7, wireless router, 8, remote server.
Fig. 2 is the structural representation of power supply unit among the present invention.Wherein: 9, MPPT controller for solar, 10, solar panel, 11, accumulator.
Fig. 3 is that 4-20mA turns the 0-3.3V change-over circuit among the present invention.
Embodiment
The present invention is further illustrated below in conjunction with drawings and Examples, but be not limited to this.
Embodiment 1:
The embodiment of the invention 1 as Figure 1-3, a kind of wireless environment monitoring system based on WIFI, comprise wireless monitoring terminal and environmental monitoring center, it is characterized in that wireless monitoring terminal comprises embedded core board 1, illuminance sensor 2, Temperature Humidity Sensor 3, WIFI communication module 4, power supply unit 5, LCD display module 6, humiture wherein, Temperature Humidity Sensor 3 in the illuminance sensor module is connected to the RS485 bus interface of embedded core board 1, illuminance sensor 2 turns the A/D translation interface that the 0-3.3V circuit is connected to embedded core board 1 by 4-20mA, WIFI communication module 4 is connected to the USB interface of embedded core board 1, and LCD display 6 links to each other with embedded core board 1;
Described 4-20mA turns the circuit that the 0-3.3V circuit is comprised of operational amplifier, resistance R 1-R6 and variable resistor R7, and wherein R1 and R4 are in series, and the R1 other end is connected on the output terminal of operational amplifier, and the R4 other end is connected on centre one end of R7; The two ends of R7 connect respectively R2 and R3, R2 other end ground connection, another termination of R3 12V power supply; Its tie point ground connection after R5 and R6 are in series, the R6 other end is connected on the positive input terminal of operational amplifier, and the R5 other end is connected on the tie point place of negative input end and R1 and the R4 of operational amplifier simultaneously; The model that described 4-20mA turns the operational amplifier of 0-3.3V circuit employing is LM324N, and its pin 4,11 connects respectively VDD-to-VSS.The buffered circuit that this operational amplifier LM324N forms, the use operational amplifier can be more easily to processing zero point.Processing to zero point is to adjust voltage in the inverting input adding one of operational amplifier, and its size is offset pressure drop on resistance R 6 when input current is 4mA just, and wherein V0 is the 0-3.3V voltage output end.
The environmental monitoring center comprises wireless router 7 and remote server 8, wireless router 7 is connected with remote server 8, wherein software program comprises Socket server end, oracle database and Tomcat server in the remote server 8, the Socket server end is used for receiving the XML data stream, and data stream is carried out dissection process; Oracle database is used for data are preserved; The Tomcat server is used to the JSP web displaying that environment is provided;
Power supply unit 5 comprises solar panel 10, controller for solar 9 and 12V accumulator 11, and wherein solar panel 10,12V accumulator 11, embedded core board 1, illuminance sensor 2, Temperature Humidity Sensor 3 are connected with controller for solar 9 respectively; 12V accumulator 11 is embedded core board 1, illuminance sensor 2, Temperature Humidity Sensor 3 power supplies by controller for solar 9.
Described controller for solar 9 is MPPT maximum power point tracking (MPPT) controller for solar.
Embedded core board 1 model of the present invention is for flying to insult embedded OK2440 core board, this plate adopts six laminate techniques, by long-term strong electromagnetic environmental test, stable performance, and hardware resource comprises microprocessor S3C2440A, 64M byte SDRAM in the plate, 128M byte N AND FLASH, 4M byte N OR FLASH, 12MHz system external clock reference, the RTC clock source of 32.768KHz.
Microprocessor S3C2440A dominant frequency reaches as high as 400MHz in the described embedded core board 1, resource comprises instruction and the 16KB data buffer storage of 16KB, MMU administrative unit, lcd controller, the USB controller, 3 road UART, 2 road SPI, the 4 tunnel have the dma controller of external interrupt request pin, 8 tunnel 10 ADC and touch screen interfaces, the iic bus interface, IIS bus interface, 130 I/O ports and 24 exterior interrupt etc.In addition, core board also provides a series of peripheral interfaces, comprises USB host interface, USB device interface, and touch screen interface, the RS232 interface, the RS485 interface, AD interface, 4-20mA turn 0-3.3V translation interface etc.
The characteristics such as illuminance sensor 2 of the present invention adopts the sensitive detector with higher sensitivity, cooperates the high-precision linear amplifying circuit, and it is stable to have measurement data, and precision is high, and antijamming capability is strong.This module adopts 12V power supply equally, measurement range 0 ~ 200000Lux, and resolution is up to ± 1Lux.This module adopts the electric current output of the 4-20mA of two-wire system, i.e. the required operating voltage of transmitter and signal transmission shares two wires, and it is little to have error, long transmission distance, and the impact that is not subject to the parasitic heat galvanic couple, floats along wire resistance pressure drop, magnetic Field Coupling and temperature.
Temperature Humidity Sensor of the present invention 3 adopts advanced digital sensor technology, overcome the error that traditional analog formula temperature sensor brings large, unstable, easily be disturbed, need the wretched insufficiency such as periodic calibration.This module adopts the 12V power supply, and measurement range is (20~+ 85) ℃, 0~100%RH, precision Gao Da<=± 0.5 ℃,<=± 3%RH.This module adopts standard ModbusRTU communications protocol, carries out data communication by the RS485 bus of half-duplex, long-distance transmissions, and wherein the transmission of data is 16 of integers.
What WIFI communication module 4 of the present invention adopted is the VT6656 of Viatech Technologies wireless network control chip.The complete compatible IEEE802.11b/g standard of this control chip is supported the USB1.1/2.0 interface, supports WAP and WAP2.0, and built-in 64 and 128 WEP encryptions, to satisfy the network security demand of user's higher level.And this control chip is supported variable message transmission rate, highest communication speed can reach 54Mbps, the CSMA/CA of acknowledgement frame ACK is carried in support, and higher bandwidth will provide safeguard for the transmission that realizes the HD digital media content, the high-speed radio access of multi-user's mobile office.In addition, it is little, lightweight that module also has a volume, the characteristics such as low in energy consumption.
Power supply unit of the present invention 5 adopts MPPT controller for solar 9, and it is to utilize the MPPT maximum power point tracking technology, obtains the peak power of solar panel 10, for accumulator 11 charges, thus powering to the load of guaranteeing that accumulator 11 can be continual and steady.When extraneous Intensity of the sunlight changes, the array maximum power point can change thereupon, the fully automatic tracking array maximum power point of MPPT controller for solar 9 this moment, guaranteed that equipment can obtain the ceiling capacity in the unit interval from solar array, thereby can significantly improve the capacity usage ratio of system.In addition, its low pressure disconnects defencive function, can be used for preventing that accumulator 11 from causing unnecessary damage because of over-discharge can.Therefore, the terminal power supply will provide continual and steady power supply by MPPT controller for solar 9 for various kinds of sensors, embedded core board by 12V accumulator 11.
Embodiment 2:
The method of work of monitoring terminal in a kind of above-mentioned environmental monitoring system, step is as follows:
(1). the self-starting that powers on, intiating radio monitoring terminal;
(2). wireless monitoring terminal sends archive data to the remote server at environmental monitoring center, then delete the archive data that it sends if wireless monitoring terminal is received the remote server return information, otherwise wireless monitoring terminal enters the real-time data acquisition stage;
(3). wireless monitoring terminal gathers real time data, and the real time data that gathers is analyzed, processed and files;
(4). wireless monitoring terminal sends real time data to the remote server at environmental monitoring center, then deletes the real time data that it sends if wireless monitoring terminal is received the remote server return information, otherwise does not carry out the real time data deletion, changes next step over to;
(5). wireless monitoring terminal has judged whether archive data every one section timing, if do not have, then changes step (7) over to, otherwise changes next step over to;
(6). wireless monitoring terminal sends archive data to the remote server at environmental monitoring center, then deletes the archive data that it sends if wireless monitoring terminal is received the remote server return information, otherwise skips the deletion archive data, changes next step over to;
(7). wireless monitoring terminal has judged whether that button presses, if without pressing, then return step (3), otherwise normally withdraw from.
In the heart the method for work of remote server in a kind of above-mentioned environmental monitoring, step is as follows:
A. the self-starting that powers on creates socket and also binds listening port;
B. remote server utilizes the JDK class libraries to create thread pool;
Whether c. remote server is monitored has the XML data stream to arrive, if having, then gives the thread pool thread communication task and carries out, otherwise monitor always;
D. when having communication task to give the thread pool thread, enter the thread process function, receive the XML data stream;
E. remote server creates and connects daily record, connects oracle database;
F. remote server utilizes the SAX resolver that the XML data stream is resolved, and deposits database in resolving good sensing data;
G. remote server is replied the success of wireless monitoring terminal data receiver;
H. close database, discharge this connection resource, return step c and continue to monitor.
The JSP webpage under the Tomcat can extract data and carried out web displaying from the tables of data of database this moment.

Claims (4)

1. wireless environment monitoring system based on WIFI, comprise wireless monitoring terminal and environmental monitoring center, it is characterized in that wireless monitoring terminal comprises embedded core board, Temperature Humidity Sensor, illuminance sensor, the WIFI communication module, power supply unit, the LCD display module, humiture wherein, Temperature Humidity Sensor in the illuminance sensor module is connected to embedded core board RS485 bus interface, illuminance sensor turns the A/D translation interface that the 0-3.3V circuit is connected to embedded core board by 4-20mA, the WIFI communication module is connected to the USB interface of embedded core board, and LCD display links to each other with embedded core board;
Described 4-20mA turns the circuit that the 0-3.3V circuit is comprised of operational amplifier, resistance R 1-R6 and variable resistor R7, and wherein R1 and R4 are in series, and the R1 other end is connected on the output terminal of operational amplifier, and the R4 other end is connected on centre one end of R7; The two ends of R7 connect respectively R2 and R3, R2 other end ground connection, another termination of R3 12V power supply; Its tie point ground connection after R5 and R6 are in series, the R6 other end is connected on the positive input terminal of operational amplifier, and the R5 other end is connected on the tie point place of negative input end and R1 and the R4 of operational amplifier simultaneously;
The environmental monitoring center comprises wireless router and remote server, wireless router is connected with remote server, wherein software program comprises Socket server end, oracle database and Tomcat server in the remote server, the Socket server end is used for receiving the XML data stream, and data stream is carried out dissection process; Oracle database is used for data are preserved; The Tomcat server is used to the JSP web displaying that environment is provided; Wireless monitoring terminal and environmental monitoring center are to come transmission of signal by wireless transmission;
Power supply unit comprises solar panel, controller for solar and accumulator, and wherein solar panel is fixed on the place that is easy to receive illumination, and solar panel is connected with controller for solar; Accumulator is connected with controller for solar; Embedded core board, Temperature Humidity Sensor, illuminance sensor are connected with controller for solar respectively; Accumulator is embedded core board, Temperature Humidity Sensor, illuminance sensor power supply by controller for solar.
2. a kind of wireless environment monitoring system based on WIFI as claimed in claim 1 is characterized in that described controller for solar is the MPPT maximum power point tracking controller for solar.
3. method of work of utilizing wireless monitoring terminal in the environmental monitoring system claimed in claim 1, step is as follows:
(1). the self-starting that powers on, intiating radio monitoring terminal;
(2). wireless monitoring terminal sends archive data to the remote server at environmental monitoring center, then delete the archive data that it sends if wireless monitoring terminal is received the remote server return information, otherwise wireless monitoring terminal enters the real-time data acquisition stage;
(3). wireless monitoring terminal gathers real time data, and the real time data that gathers is analyzed, processed and files;
(4). wireless monitoring terminal sends real time data to the remote server at environmental monitoring center, then deletes the real time data that it sends if wireless monitoring terminal is received the remote server return information, otherwise does not carry out the real time data deletion, changes next step over to;
(5). wireless monitoring terminal has judged whether archive data every one section timing, if do not have, then changes step (7) over to, otherwise changes next step over to;
(6). wireless monitoring terminal sends archive data to the remote server at environmental monitoring center, then deletes the archive data that it sends if wireless monitoring terminal is received the remote server return information, otherwise skips the deletion archive data, changes next step over to;
(7). wireless monitoring terminal has judged whether that button presses, if without pressing, then return step (3), otherwise normally withdraw from.
4. method of work of utilizing in the described environmental monitoring system of claim 1 in the environmental monitoring remote server in the heart, step is as follows:
A. the self-starting that powers on creates socket and also binds listening port;
B. remote server utilizes the JDK class libraries to create thread pool;
Whether c. remote server is monitored has the XML data stream to arrive, if having, then gives the thread pool thread communication task and carries out, otherwise monitor always;
D. when having communication task to give the thread pool thread, enter the thread process function, receive the XML data stream;
E. remote server creates and connects daily record, connects oracle database;
F. remote server utilizes the SAX resolver that the XML data stream is resolved, and deposits database in resolving good sensing data;
G. remote server is replied the success of wireless monitoring terminal data receiver;
H. close database, discharge this connection resource, return step c and continue to monitor.
CN201210429143.5A 2012-11-01 2012-11-01 distributed environment monitoring system based on WIFI Expired - Fee Related CN102915018B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210429143.5A CN102915018B (en) 2012-11-01 2012-11-01 distributed environment monitoring system based on WIFI

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210429143.5A CN102915018B (en) 2012-11-01 2012-11-01 distributed environment monitoring system based on WIFI

Publications (2)

Publication Number Publication Date
CN102915018A true CN102915018A (en) 2013-02-06
CN102915018B CN102915018B (en) 2014-10-08

Family

ID=47613424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210429143.5A Expired - Fee Related CN102915018B (en) 2012-11-01 2012-11-01 distributed environment monitoring system based on WIFI

Country Status (1)

Country Link
CN (1) CN102915018B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103196489A (en) * 2013-03-15 2013-07-10 成都中远信电子科技有限公司 Grain bin humiture data acquisition system based on WiFi
CN103208174A (en) * 2013-03-15 2013-07-17 成都中远信电子科技有限公司 WIFI-based (wide fidelity-based) remote meter-reading data acquisition system
CN103218904A (en) * 2013-03-15 2013-07-24 成都中远信电子科技有限公司 Hydrology data acquisition system base on WiFi
CN103763401A (en) * 2014-02-20 2014-04-30 北京七星华创电子股份有限公司 Distributed management system of devices in semiconductor plant
CN104330109A (en) * 2014-10-20 2015-02-04 天津大学 Method of automatically detecting multiple parameters of architectural physical environment
CN104482958A (en) * 2014-10-20 2015-04-01 天津大学 Building physical environment multi-parameter automatic detection system
CN106448111A (en) * 2016-10-28 2017-02-22 贵州电网有限责任公司贵阳供电局 Socket-based electric energy collection and environmental sensing node system
CN106706687A (en) * 2016-12-15 2017-05-24 中国地质大学(武汉) Distributed type X-ray diffraction measurement system
CN111006782A (en) * 2019-11-11 2020-04-14 东北大学 Wireless real-time high-mining milling temperature monitoring system and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030005626A1 (en) * 2001-07-05 2003-01-09 Ccs Inc. Plant cultivator and control system therefor
CN101303245A (en) * 2008-07-02 2008-11-12 湖南大学 System and method for monitoring greenhouse fine crops growing environment based on wireless sensor network
CN201897728U (en) * 2010-01-13 2011-07-13 厦门敏讯信息技术股份有限公司 Intelligent monitoring system
CN102411329A (en) * 2011-12-02 2012-04-11 浙江理工大学 Environment monitoring device based on RS-485 bus
CN202275506U (en) * 2011-10-26 2012-06-13 中南民族大学 Automatic environment monitoring device with multiple parameters and functions as well as low power consumption
CN202472333U (en) * 2011-12-02 2012-10-03 浙江理工大学 Environment monitoring device based on RS-485 bus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030005626A1 (en) * 2001-07-05 2003-01-09 Ccs Inc. Plant cultivator and control system therefor
CN101303245A (en) * 2008-07-02 2008-11-12 湖南大学 System and method for monitoring greenhouse fine crops growing environment based on wireless sensor network
CN201897728U (en) * 2010-01-13 2011-07-13 厦门敏讯信息技术股份有限公司 Intelligent monitoring system
CN202275506U (en) * 2011-10-26 2012-06-13 中南民族大学 Automatic environment monitoring device with multiple parameters and functions as well as low power consumption
CN102411329A (en) * 2011-12-02 2012-04-11 浙江理工大学 Environment monitoring device based on RS-485 bus
CN202472333U (en) * 2011-12-02 2012-10-03 浙江理工大学 Environment monitoring device based on RS-485 bus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李山等: "基于WiFi的环境监测系统设计", 《软件》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103196489A (en) * 2013-03-15 2013-07-10 成都中远信电子科技有限公司 Grain bin humiture data acquisition system based on WiFi
CN103208174A (en) * 2013-03-15 2013-07-17 成都中远信电子科技有限公司 WIFI-based (wide fidelity-based) remote meter-reading data acquisition system
CN103218904A (en) * 2013-03-15 2013-07-24 成都中远信电子科技有限公司 Hydrology data acquisition system base on WiFi
CN103763401A (en) * 2014-02-20 2014-04-30 北京七星华创电子股份有限公司 Distributed management system of devices in semiconductor plant
CN104330109A (en) * 2014-10-20 2015-02-04 天津大学 Method of automatically detecting multiple parameters of architectural physical environment
CN104482958A (en) * 2014-10-20 2015-04-01 天津大学 Building physical environment multi-parameter automatic detection system
CN106448111A (en) * 2016-10-28 2017-02-22 贵州电网有限责任公司贵阳供电局 Socket-based electric energy collection and environmental sensing node system
CN106706687A (en) * 2016-12-15 2017-05-24 中国地质大学(武汉) Distributed type X-ray diffraction measurement system
CN111006782A (en) * 2019-11-11 2020-04-14 东北大学 Wireless real-time high-mining milling temperature monitoring system and method

Also Published As

Publication number Publication date
CN102915018B (en) 2014-10-08

Similar Documents

Publication Publication Date Title
CN102915018B (en) distributed environment monitoring system based on WIFI
CN104507148B (en) A kind of low-consumption wireless Sensor Network
CN201215495Y (en) Economic multifunctional agricultural environmental information collecting device
CN102331485B (en) Portable water quality monitor
CN204350048U (en) A kind of wired home management of power use device towards cloud service
CN202975000U (en) Sewage monitoring equipment based on ARM (Advanced Reduced Instruction Set Computing Machine) platform
CN103077594A (en) ZigBee-based wind power plant wireless data acquisition system
CN103400490A (en) Wi-Fi-based environmental monitoring system and method
CN202957989U (en) Crops growth environment monitoring device based on Zigbee
CN202799180U (en) Wireless acquisition terminal for agricultural environmental information
CN201413345Y (en) Digital electric energy meter collector based on low-power-consumption short-distance wireless transmission
CN205104017U (en) System of checking meter is concentrated to intelligence
CN203193910U (en) Ad-Hoc network wireless communication terminal and system based on ZigBee protocol and 3G communication technology
CN201985858U (en) Data transmission module for power collector
CN204993248U (en) Multichannel DC voltage electric current collector based on photovoltaic power plant information system
CN201707061U (en) Short message telemetering multiparameter recorder
CN201508356U (en) Soil moisture concentration sensing node used for orchard-planting wireless monitoring system
Alippi et al. Netbrick: A high-performance, low-power hardware platform for wireless and hybrid sensor networks
CN110351338A (en) A kind of low power dissipation temperature-humidity sensor based on NB-IoT technology
CN203192220U (en) Intelligent meter reading concentrator
CN204559893U (en) Wireless communication device, table meter inquiry unit and table meter inquiry system
CN202331758U (en) Voice data collection and transmission system based on GPRS (General Packet Radio Service) wireless network
CN104501869A (en) Aquaculture water quality monitoring system
CN205373763U (en) But area plug storage device's greenhouse environmental data collection system
CN204496718U (en) New city bus dynamic monitoring system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20141008

Termination date: 20151101

EXPY Termination of patent right or utility model