CN102915018B - distributed environment monitoring system based on WIFI - Google Patents

distributed environment monitoring system based on WIFI Download PDF

Info

Publication number
CN102915018B
CN102915018B CN201210429143.5A CN201210429143A CN102915018B CN 102915018 B CN102915018 B CN 102915018B CN 201210429143 A CN201210429143 A CN 201210429143A CN 102915018 B CN102915018 B CN 102915018B
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.)
Expired - Fee Related
Application number
CN201210429143.5A
Other languages
Chinese (zh)
Other versions
CN102915018A (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

Based on the Distributed Environmental Monitoring System of WIFI
Technical field
The present invention relates to a kind of Distributed Environmental Monitoring System based on WIFI, belong to embedded radio monitoring technical field.
Background technology
Along with the continuous progress of world today's science and technology industrial technology, its problem of environmental pollution bringing seemed more and more for outstanding, and the monitoring of therefore strengthening the factors such as temperature, humidity, illumination and environmental air pollution to surrounding air has become a current day by day urgent task with controlling.And the geographical environment complexity of common each environmental monitoring sites, position are too disperseed and unmanned, therefore manually copy get the data of each monitoring point can be very inconvenient, execution efficiency is low, 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 people's applications such as lake, a kind of environment monitoring device based on RS-485 bus has been described, by the environment parameter of collection is input to simulating signal input port, in process, simulating signal is carried out to pretreated signal Processing Interface, arrive arm processor, then the RS-485 PORT COM that the parameter collecting is uploaded in real time to Surveillance center, transfers 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 is following defect 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 wiring, and when carrying out environmental monitoring in areas such as geographical environment complexity, inclement conditions, take wired acquisition mode conventionally to have that input cost is excessive, wiring is complicated, transmission range is limited and be difficult to the shortcomings such as maintenance, and cannot 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 geographical conditions complexity, is science not, does not advocate.Take 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.
The demand of the wireless environment monitoring terminal of therefore stronger, the environmental protection and energy saving of people's, extensibility higher for a kind of integrated level, reliable and stable, convenient applicable environmental monitoring feature 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 WIFI technology has been proposed, native system adopts solar maximum power point tracking technique to power to terminal, adopts the WIFI communication technology to carry out long-distance transmissions to data.
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, WIFI communication module, power supply unit, LCD display, wherein Temperature Humidity Sensor is connected to embedded core board RS485 bus interface, illuminance sensor is turned 0-3.3V circuit and is connected to the A/D translation interface of embedded core board by 4-20mA, WIFI communication module is connected to the USB interface of embedded core board, LCD display is connected with embedded core board,
Described 4-20mA turns the circuit that 0-3.3V circuit is made up 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 middle 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;
Environmental monitoring center comprises wireless router and remote server, wireless router is connected with remote server, wherein in remote server, software program comprises Socket server end, oracle database and Tomcat server, Socket server end is used for receiving XML data stream, and data stream is carried out to dissection process; Oracle database is for preserving data; Tomcat server is used to JSP web displaying that environment is provided; Wireless monitoring terminal and environmental monitoring center are to carry out 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.
In the wireless monitoring terminal of monitoring system of the present invention, solar panel is placed on the place that is easy to receive illumination, controller for solar utilizes MPPT maximum power point tracking technology, obtain the peak power of solar panel, for accumulator charges, thereby ensure 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 sensor collection is carried out corresponding analysis processing, then sends to remote server by WIFI module with the form of XML data stream.Pass through wireless router, in remote server, Socket server end carries out dissection process to the XML data stream receiving, the environmental data such as humiture, illumination parsing is deposited in oracle database, and reply terminal and receive successfully, then present in real time keeper by JSP dynamic web page under Tomcat server.
Temperature Humidity Sensor adopts standard Modbus RTU communications protocol, carries out data communication by RS485 bus and the embedded core board of half-duplex, long-distance transmissions, by ARM9 processor, the integer data of receive 16 16 systems 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.
WIFI communication module is connected by USB interface with described embedded core board, communicates by stream socket Socket and remote server, and communication meets IEEE802.11b/g standard.
Environmental monitoring terminal software of the present invention is divided into two parts: on embedded Linux system framework basis, drive design and application layer software design.
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 memory headroom mapping, and boot parameter is passed to kernel, starts kernel.In the cutting and configuration of kernel, first to ensure the basic function of system, then ensure that 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 the special embedded file system for NAND Flash reservoir designs, is applicable to jumbo memory device.
For realizing the function such as collection, processing and transmission of the data such as humiture, illumination, the driver that needs under terminal linux system to load has WIFI module drive, A/D to drive, button drives, touch-screen drives and serial port drive etc.First WIFI drives is provided by Viatech Technologies, only need to revise translation and compiling environment is that cross compilation environment and amendment kernel path are the path at Linux2.6.28 place, need in addition to configure WIFI and drive the information such as wireless network card device number in 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 applicable to the A/D driving of native system, it need take a road A/D analog input channel, in the time that the simulating signal amount conversion digital signal amount gathering completes, need to apply for that IRQ_ADC interrupts, and touch-screen driving has taken all 8 road A/D analog input channels, in the time that touch-screen is pressed, also need to apply for that this interrupts, now both will produce phase mutual interference.For making both share this interruption, when application is interrupted, need be IRQF_SHARED by interrupting processing setup of attribute simultaneously, and need be by function DECLARE_MUTEX (ADC_LOCK) in touch-screen drives, statement initializing signal amount ADC_LOCK is 1, in the time that touch-screen is pressed, call function down_trylock (& ADC_LOCK) has this semaphore, now forbid other thread accesses, in the time that touch screen operation finishes, call up (& ADC_LOCK) and discharge this semaphore.Also call signal amount ADC_LOCK in the same way in another driver, so just can ensure ADC resource A/D drive and touch-screen driving in carry out exclusive reference.Design in addition button and drive to realize button interruption exit function.Other drivers provide by linux kernel.
Under built-in Linux, carry out the design of native system application layer software, after terminal powers on, enter self-starting pattern, successively comprise startup (SuSE) Linux OS, load each driver module and the operations such as serial communication attribute are set.Then first terminal detects and has or not archive data before, has and sends, 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 RS485 bus, Modbus communication protocol is a kind of industrial circle standard for serial communication, in transmission mode, can select the ModbusRTU with binary representation data mode, therefore need to carry out the conversion on data layout by gathering the data of coming up; And illuminance data acquisition is the current analog amount of 4-20mA, need first be converted into 0-3.3V voltage analog by hardware circuit, be then converted to digital quantity by A/D, after data are further processed, obtain concrete illumination value.The humiture that this moment is gathered up, the XML data stream of photometric data composition set form, carry out Internet Transmission by stream socket Socket.If because network condition is undesirable or server such as does not open at the reason, cause data not send successfully or server return information is not received, will be to the data processing of filing, and detect and have or not archive data at set intervals, have and send.Whether system should detect in addition has button to press, if having, should realize the functions such as free system resources normally exits.For sending real time data, sending archive data and judge that button can adopt the mode of multithreading by inferior operation, and introduce mutual exclusion mechanism and conduct interviews.
A method of work for wireless monitoring terminal in 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 the remote server of archive data to environmental monitoring center, if wireless monitoring terminal is received remote server return information and is deleted the archive data that it sends, proceed to next step, otherwise wireless monitoring terminal enters the real-time data acquisition stage;
(3). wireless monitoring terminal gathers real time data, and gathered real time data is analyzed, processed and files;
(4). wireless monitoring terminal sends the remote server of real time data to environmental monitoring center, if wireless monitoring terminal is received remote server return information and is deleted the real time data that it sends, proceed to next step, otherwise do not carry out real time data deletion, proceed to next step;
(5). wireless monitoring terminal has judged whether archive data every one section of timing, if do not have, proceeds to step (7), otherwise proceeds to next step;
(6). wireless monitoring terminal sends the remote server of archive data to environmental monitoring center, deletes the archive data that it sends, otherwise skip deletion archive data if wireless monitoring terminal is received remote server return information, proceeds to next step;
(7). wireless monitoring terminal has judged whether that button presses, if without pressing, return to step (3), otherwise normally exit.
Same (SuSE) Linux OS, the kernel version Linux2.6.18 of adopting of system remote server software design of the present invention.After server electrifying startup, can first create socket and bind listening port.Utilize afterwards JDK class libraries to create ExecutorService thread pool, be pre-created a few thing thread in thread pool, they are extraction task from work queue constantly, then carries out this task.In the time having data arrival task, call ExecutorService.execute () method, the thread of giving in ExecutorService thread pool with the task of terminal communication is carried out.Now enter thread process function, first thread can receive XML data stream, and create network connection daily record and open oracle database, to receive afterwards XML data stream scans by SAX resolver, when scanning the beginning of element, the content of element, when the end of element, can enter respectively corresponding callback method startElement (), characters () and endElement () processes, then the data of having resolved are deposited in the oracle database that loads and register JDBC driver, now can reply terminal and show that data receiver is normal, finally discharge this connection resource and close database.Server end can carry out representing in real time of data by JSP dynamic web page technique under Tomcat, can be set as the T time to refresh once, and T should be less than Real-time Collection interval.
A method of work for remote server in the heart in 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 JDK class libraries to create thread pool;
Whether c. remote server is monitored has XML data stream to arrive, if had, gives thread pool thread communication task and carries out, otherwise monitor always;
D. in the time having communication task to give thread pool thread, enter thread process function, receive XML data stream;
E. remote server creates and connects daily record, connects oracle database;
F. remote server utilizes SAX resolver to resolve XML data stream, deposits the sensing data of having resolved in database;
G. remote server is replied the success of wireless monitoring terminal data receiver;
H. close database, discharge this connection resource, return to step c and continue to monitor.
Now the JSP webpage under Tomcat can extract data and carries out web displaying from the tables of data of database.
Above-mentioned WiFi is a kind of based on IEEE802.11 standard, by WLAN (wireless local area network) by the terminal 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 without wiring, is applicable 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 in the time that task completes, this thread can not be destroyed, and can continue to take out next task and carry out from work queue.So just avoid the expense of thread creation, when having when thread occurs frequently, performance has been had to 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, cost-saving, solve the difficulties such as the large and transmission range of the difficult wiring, the input cost that occur in cable environment observation process is limited, can also change flexibly node location, brought great convenience to the layout of monitoring system.
2, solar powered mode, economical and practical, environmental protection and energy saving, solve because the powerup issue that monitoring place complicated condition brings, adopt current state-of-the-art MPPT maximum power point tracking technology simultaneously, guarantee 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 the S3C2440A of Samsung based on ARM920T kernel that system data is analyzed, processed, and resource in its abundant sheet, with features 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 data distant-range high-precision transmit.And adopt the electric current of the 4-20mA of two-wire system to export, there is error little, long transmission distance, and the impact that is not subject to 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 the life cycle overhead issues and the not enough problem of system resource that produce of destroying, prevent from causing system crash because consume excessive system resource, and will greatly improve the concurrency performance of server.
Brief description of the 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, WIFI communication module, 5, power supply unit, 6, LCD display, 7, wireless router, 8, remote server.
Fig. 2 is the structural representation of power supply unit in the present invention.Wherein: 9, MPPT controller for solar, 10, solar panel, 11, accumulator.
Fig. 3 is that in the present invention, 4-20mA turns 0-3.3V change-over circuit.
Embodiment
Below in conjunction with drawings and Examples, the present invention is further illustrated, but be not limited to this.
Embodiment 1:
The embodiment of the present 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 6, wherein Temperature Humidity Sensor 3 is connected to the RS485 bus interface of embedded core board 1, illuminance sensor 2 is turned 0-3.3V circuit and is connected to the A/D translation interface of embedded core board 1 by 4-20mA, WIFI communication module 4 is connected to the USB interface of embedded core board 1, LCD display 6 is connected with embedded core board 1,
Described 4-20mA turns the circuit that 0-3.3V circuit is made up 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 middle 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 of this operational amplifier LM324N composition, use operational amplifier can be more easily to processing zero point.Be on the inverting input of operational amplifier, to add an adjustment voltage to the processing at zero point, its size is offset the pressure drop in resistance R 6 in the time that input current is 4mA just, and wherein V0 is 0-3.3V voltage output end.
Environmental monitoring center comprises wireless router 7 and remote server 8, wireless router 7 is connected with remote server 8, wherein in remote server 8, software program comprises Socket server end, oracle database and Tomcat server, Socket server end is used for receiving XML data stream, and data stream is carried out to dissection process; Oracle database is for preserving data; Tomcat server is used to 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 powered for embedded core board 1, illuminance sensor 2, Temperature Humidity Sensor 3 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 in plate, hardware resource comprises microprocessor S3C2440A, 64M byte SDRAM, 128M byte N AND FLASH, 4M byte N OR FLASH, 12MHz system external clock reference, the RTC clock source of 32.768KHz.
In described embedded core board 1, microprocessor S3C2440A dominant frequency reaches as high as 400MHz, resource comprises instruction and the 16KB data buffer storage of 16KB, MMU administrative unit, lcd controller, USB controller, 3 road UART, 2 road SPI, 4 tunnels have the dma controller of external interrupt request pin, 8 10, tunnel ADC and touch screen interfaces, 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, RS232 interface, RS485 interface, AD interface, 4-20mA turns 0-3.3V translation interface etc.
The features such as illuminance sensor 2 of the present invention adopts the sensitive detector with higher sensitivity, coordinates high-precision linear amplifying circuit, has measurement data stable, 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, has error little, long transmission distance, and the impact that is not subject to parasitic heat galvanic couple, floats along wire resistance pressure drop, magnetic Field Coupling and temperature.
Temperature Humidity Sensor 3 of the present invention adopts advanced digital sensor technology, overcome the error that traditional analog formula temperature sensor brings large, unstable, be easily disturbed, need the wretched insufficiencies such as periodic calibration.This module adopts 12V power supply, and measurement range is (20~+ 85) DEG C, 0~100%RH, precision Gao Da≤± 0.5 DEG C ,≤± 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 transmitting 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, supports USB1.1/2.0 interface, supports WAP and WAP2.0, and built-in 64 and 128 WEP encryptions, to meet 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 provides safeguard the high-speed radio access of the transmission for realizing HD digital media content, multi-user's mobile office.The features such as in addition, it is little that module also has volume, lightweight, low in energy consumption.
Power supply unit 5 of the present invention adopts MPPT controller for solar 9, and it is to utilize MPPT maximum power point tracking technology, obtains the peak power of solar panel 10, for accumulator 11 charges, thereby ensure accumulator 11 can be continual and steady power to the load.In the time that extraneous Intensity of the sunlight changes, array maximum power point can change thereupon, now MPPT controller for solar 9 tracking array maximum power point completely automatically, guarantee 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, 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:
A method of work for monitoring terminal in 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 the remote server of archive data to environmental monitoring center, if wireless monitoring terminal is received remote server return information and is deleted the archive data that it sends, proceed to next step, otherwise wireless monitoring terminal enters the real-time data acquisition stage;
(3). wireless monitoring terminal gathers real time data, and gathered real time data is analyzed, processed and files;
(4). wireless monitoring terminal sends the remote server of real time data to environmental monitoring center, if wireless monitoring terminal is received remote server return information and is deleted the real time data that it sends, proceed to next step, otherwise do not carry out real time data deletion, proceed to next step;
(5). wireless monitoring terminal has judged whether archive data every one section of timing, if do not have, proceeds to step (7), otherwise proceeds to next step;
(6). wireless monitoring terminal sends the remote server of archive data to environmental monitoring center, deletes the archive data that it sends, otherwise skip deletion archive data if wireless monitoring terminal is received remote server return information, proceeds to next step;
(7). wireless monitoring terminal has judged whether that button presses, if without pressing, return to step (3), otherwise normally exit.
A method of work for remote server in the heart in 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 JDK class libraries to create thread pool;
Whether c. remote server is monitored has XML data stream to arrive, if had, gives thread pool thread communication task and carries out, otherwise monitor always;
D. in the time having communication task to give thread pool thread, enter thread process function, receive XML data stream;
E. remote server creates and connects daily record, connects oracle database;
F. remote server utilizes SAX resolver to resolve XML data stream, deposits the sensing data of having resolved in database;
G. remote server is replied the success of wireless monitoring terminal data receiver;
H. close database, discharge this connection resource, return to step c and continue to monitor.
Now the JSP webpage under Tomcat can extract data and carries out web displaying from the tables of data of database.

Claims (4)

1. the 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, WIFI communication module, power supply unit, LCD display, wherein Temperature Humidity Sensor is connected to embedded core board RS485 bus interface, illuminance sensor is turned 0-3.3V circuit and is connected to the A/D translation interface of embedded core board by 4-20mA, WIFI communication module is connected to the USB interface of embedded core board, LCD display is connected with embedded core board,
Described 4-20mA turns the circuit that 0-3.3V circuit is made up 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 middle 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;
Environmental monitoring center comprises wireless router and remote server, wireless router is connected with remote server, wherein in remote server, software program comprises Socket server end, oracle database and Tomcat server, Socket server end is used for receiving XML data stream, and data stream is carried out to dissection process; Oracle database is for preserving data; Tomcat server is used to JSP web displaying that environment is provided; Wireless monitoring terminal and environmental monitoring center are to carry out 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 MPPT maximum power point tracking controller for solar.
3. a method of work of utilizing wireless monitoring terminal in the environmental monitoring system described in claim 1, step is as follows:
(1). the self-starting that powers on, intiating radio monitoring terminal;
(2). wireless monitoring terminal sends the remote server of archive data to environmental monitoring center, if wireless monitoring terminal is received remote server return information and is deleted the archive data that it sends, proceed to next step, otherwise wireless monitoring terminal proceeds to next step;
(3). wireless monitoring terminal gathers real time data, and gathered real time data is analyzed, processed and files;
(4). wireless monitoring terminal sends the remote server of real time data to environmental monitoring center, if wireless monitoring terminal is received remote server return information and is deleted the real time data that it sends, proceed to next step, otherwise do not carry out real time data deletion, proceed to next step;
(5). wireless monitoring terminal has judged whether archive data every one section of timing, if do not have, proceeds to step (7), otherwise proceeds to next step;
(6). wireless monitoring terminal sends the remote server of archive data to environmental monitoring center, deletes the archive data that it sends, otherwise skip deletion archive data if wireless monitoring terminal is received remote server return information, proceeds to next step;
(7). wireless monitoring terminal has judged whether that button presses, if without pressing, return to step (3), otherwise normally exit.
4. a method of work of utilizing described in claim 1 in environmental monitoring system in 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 JDK class libraries to create thread pool;
Whether c. remote server is monitored has XML data stream to arrive, if had, gives thread pool thread communication task and carries out, otherwise monitor always;
D. in the time having communication task to give thread pool thread, enter thread process function, receive XML data stream;
E. remote server creates and connects daily record, connects oracle database;
F. remote server utilizes SAX resolver to resolve XML data stream, deposits the sensing data of having resolved in database;
G. remote server is replied the success of wireless monitoring terminal data receiver;
H. close database, discharge this connection resource, return to 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 CN102915018A (en) 2013-02-06
CN102915018B true 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)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN103196489A (en) * 2013-03-15 2013-07-10 成都中远信电子科技有限公司 Grain bin humiture data acquisition system based on WiFi
CN103763401A (en) * 2014-02-20 2014-04-30 北京七星华创电子股份有限公司 Distributed management system of devices in semiconductor plant
CN104482958A (en) * 2014-10-20 2015-04-01 天津大学 Building physical environment multi-parameter automatic detection system
CN104330109A (en) * 2014-10-20 2015-02-04 天津大学 Method of automatically detecting multiple parameters of architectural physical environment
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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003079254A (en) * 2001-07-05 2003-03-18 Ccs Inc Plant cultivator and control system therefor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 (2)

* Cited by examiner, † Cited by third party
Title
基于WiFi的环境监测系统设计;李山等;《软件》(第01期);42-45 *
李山等.基于WiFi的环境监测系统设计.《软件》.(第01期),

Also Published As

Publication number Publication date
CN102915018A (en) 2013-02-06

Similar Documents

Publication Publication Date Title
CN102915018B (en) distributed environment monitoring system based on WIFI
CN201215495Y (en) Economic multifunctional agricultural environmental information collecting device
CN102331485B (en) Portable water quality monitor
CN202975000U (en) Sewage monitoring equipment based on ARM (Advanced Reduced Instruction Set Computing Machine) platform
CN101968921A (en) Side slope inclination monitoring method based on internet of things technology
CN103077594A (en) ZigBee-based wind power plant wireless data acquisition system
CN202957989U (en) Crops growth environment monitoring device based on Zigbee
CN202119386U (en) Intelligent top plate displacement transducer
CN202799180U (en) Wireless acquisition terminal for agricultural environmental information
CN202373127U (en) Wireless gas meter reading management system
CN105528883A (en) Wind velocity and direction wireless acquisition system and method thereof
CN205104017U (en) System of checking meter is concentrated to intelligence
CN201707061U (en) Short message telemetering multiparameter recorder
CN201985858U (en) Data transmission module for power collector
CN201508356U (en) Soil moisture concentration sensing node used for orchard-planting wireless monitoring system
CN203192220U (en) Intelligent meter reading concentrator
CN203519174U (en) Remote temperature detection and alarm system
CN104952014A (en) IoT (Internet of Things) experimental building management system
CN204993248U (en) Multichannel DC voltage electric current collector based on photovoltaic power plant information system
CN205373763U (en) But area plug storage device's greenhouse environmental data collection system
CN205091902U (en) Energy supervision data collection station
CN202395820U (en) Adapter of USB interface based on Zigbee
CN211373697U (en) Wisdom pasture colony house environment detection device
CN202331756U (en) Greenhouse environment parameter transmitter
CN203217748U (en) Geotechnical engineering real-time monitoring system/device

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
C14 Grant of patent or utility model
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