CN102438032A - Road brightness wireless measuring system and road brightness wireless measuring method - Google Patents

Road brightness wireless measuring system and road brightness wireless measuring method Download PDF

Info

Publication number
CN102438032A
CN102438032A CN2011102231933A CN201110223193A CN102438032A CN 102438032 A CN102438032 A CN 102438032A CN 2011102231933 A CN2011102231933 A CN 2011102231933A CN 201110223193 A CN201110223193 A CN 201110223193A CN 102438032 A CN102438032 A CN 102438032A
Authority
CN
China
Prior art keywords
zigbee
gprs
brightness
wireless
brightness measurement
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.)
Pending
Application number
CN2011102231933A
Other languages
Chinese (zh)
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.)
Xiamen Products Quality Supervision & Inspection Institute
Original Assignee
Xiamen Products Quality Supervision & Inspection Institute
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 Xiamen Products Quality Supervision & Inspection Institute filed Critical Xiamen Products Quality Supervision & Inspection Institute
Priority to CN2011102231933A priority Critical patent/CN102438032A/en
Publication of CN102438032A publication Critical patent/CN102438032A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a road brightness wireless measuring system, which is characterized by comprising a plurality of ZigBee road brightness measuring terminals, a ZigBee-general packet radio service (GPRS) gateway, a GPRS server and a plurality of clients. The ZigBee brightness measuring terminals utilizes a brightness sensor to collect the brightness, then the brightness data areis wirelessly transmitted to the remote ZigBee-GPRS gateway through the ZigBee technology; and then the brightness data areis remotely wirelessly transmitted to the GPRS server by the remote ZigBee-GPRS gateway through the GPRS technology, so the high-performance remote transmission of the brightness data can be realized. The clients can see all brightness data collected by the ZigBee road brightness measuring terminals through the Internet.

Description

Road brightness wireless measuring system and method thereof
Technical field
The invention belongs to brightness measurement and wireless communication technique field, be specifically related to a kind of utilize sensor technology, ZigBee and GPRS wireless communication technique to road brightness gather and the system and the method thereof of wireless transmission.
Background technology
Traditional fieldbus also has application in road lighting control, but it is complicated to exist the communication interface agreement mostly, and needs to lay client cables, exists the cost height, safeguards problem such as inconvenience; The arrowband power line carrier directly utilizes power line to carry out data communication; Save the installation of private cable, made up flexibly, had characteristics such as cost performance height, upgrading is convenient, maintenance is simple; But have the shortcoming that power line interference is big, transmission rate is slow, the reliability of large-scale application is still waiting checking.Along with the communication and the development of automatic technology, wireless network makes things convenient for because of its networking, and layout is easy, safeguards simple advantage, begins progressively in the applicable industry production field.In road lighting was measured, ripe at present application was adopted conventional industrial frequency range mostly or is utilized public networks such as GSM short message or GPRS/CDMA.Adopt data radio station not only need apply for industrial frequency range, the antenna installation trouble, and also equipment price is higher; The GSM short message communication is realized simple, but real-time and amount of information can not get assurance, and GPRS/CDMA charges by flow, and more for a long time, system cost can sharply rise at the lighting number of nodes.
The ZigBee wireless communication technology has the key character and the advantage of low cost, low-power consumption, peer-to-peer communications.The straight-through ability of terminal room realizes that promptly peer-to-peer communications is the key character of short-distance wireless communication; Be different from long range wireless communication technologies; Peer-to-peer communications need not network infrastructure and carries out transfer; Interface design and upper-layer protocol are relatively simple, are more suitable for the scale node communication in the city illumination measuring system, and existing both at home and abroad many mechanisms and company begin to pay close attention to and study the networked road lighting measuring system based on wireless communication technology.
In addition; The visual field of the luminance meter of selling in the market is circle; When measuring the brightness of regulation point on the road surface according to above method; In fact be to measure road surface lastblock distortion oblong zone wide at the top and narrow at the bottom, and measuring distance is far away, the luminance meter angle of visual field is big more, oval distortion is just big more.In addition, when on adopting this type of luminance meter measurement distant place road, stipulating the brightness of point, it is very difficult aiming at each corresponding points, so has caused accuracy of measurement and consequences such as efficient is low, measurement result poor repeatability.For this reason, having designed and having measured the visual field is trapezoidal luminance meter, can realize the measurement of the road surface mean flow rate in 60m-160m highway section, the wide road of 5m dead ahead, and accuracy of measurement and efficient are all higher.
Summary of the invention
The object of the invention is to provide a kind of road brightness wireless measuring system and method thereof, has solved in the prior art problems such as road brightness measurement cost is high, efficient is low, poor accuracy, data record complicacies.
In order to solve these problems of the prior art, technical scheme provided by the invention is:
A kind of wireless brightness measurement system is characterized in that the said wireless measuring system of said system comprises: several ZigBee brightness measurement terminals, ZigBee-GPRS gateway, GPRS server and several clients.Said ZigBee brightness measurement terminal utilizes luminance sensor to gather brightness, utilizes the ZigBee technology brightness data to be wirelessly transmitted to the ZigBee-GPRS gateway of far-end then; Said gateway sends the brightness data remote-wireless to the GPRS server through the GPRS technology; Several clients can be checked the brightness data that all ZigBee brightness measurement terminals are gathered through the Internet network.
Preferably, ZigBee brightness measurement terminal comprises luminance sensor, current-voltage conversion circuit, analog to digital converter and ZigBee wireless data transmission module.Luminance sensor Measurement of Luminance scope from 0 to 20cd/m 2, the current signal of corresponding output 4 to 20mA; Through current-voltage conversion circuit, current signal is converted into the voltage signal of 0V to 5V; And then obtain the voltage signal of 0V to 3.3V through bleeder circuit; At last obtain corresponding digital signal, and send microprocessor to and carry out data processing by analog to digital converter.The ZigBee wireless data transmission module mainly is responsible for adding the ZigBee network, and the brightness data that wireless transmission collected.
Preferably, said ZigBee-GPRS gateway comprises ZigBee wireless data transmission module and GPRS wireless data transmission module.This ZigBee wireless data transmission module mainly is responsible for setting up the ZigBee network, and receives the brightness data that each measuring terminals is uploaded; Main and the GPRS network of this GPRS wireless data transmission module connects, and the information of all brightness datas and corresponding measuring terminals is handled, and finally is uploaded to the GPRS server.
Preferably, said ZigBee wireless data transmission module comprises microprocessor, RF impedance match circuit and 2.4GHz antenna.Microprocessor is used to move ZigBee wireless transmission protocol stack program, and the transceive data bag is analyzed, handled.The RF impedance match circuit is responsible for connecting the radio-frequency head and the antenna of microprocessor, and reaches the effect of 50 ohms impedance match.2.4GHz antenna can adopt plastic rod antenna, ceramic antenna or PCB antenna.
Preferably, the ZigBee wireless data transmission module is to be connected through serial ports with the GPRS wireless data transmission module in the said ZigBee-GPRS gateway.The ZigBee wireless data transmission module sends AT commands for controlling GPRS wireless data transmission module through serial ports; The GPRS wireless data transmission module feeds back to the ZigBee wireless data transmission module through serial ports.
Preferably, said GPRS wireless data transmission module comprises SIM, startup and reset key, network indicator light, 900MHz antenna.The ZigBee-GPRS gateway is set up after the ZigBee network, and through manually booting the GPRS wireless data transmission module, foundation is connected with GPRS network, and the network indicator light shows current network state.
Preferably, said ZigBee wireless data transmission module can comprise power amplifier according to the requirement of institute's transmission range, and peak power output can reach 17dBm.
As preferably, described GPRS server has public network IP address, and the GPRS server software of ICP/IP protocol is followed in operation.Server must have public network IP address, just can connect with GPRS network.The brightness data that server stores collected, record gateway information and all ZigBee brightness measurement end messages, and these information are classified and handle.
Preferably, the wireless brightness measurement client software of ICP/IP protocol is followed in said client operation, and the user can check the brightness data that all ZigBee brightness measurement terminals are gathered through access client.
Another object of the present invention is to provide a kind of wireless brightness measurement method, it is characterized in that said method comprising the steps of:
(1) carries out the software and hardware initialization after the ZigBee-GPRS gateway powers on, and then set up the ZigBee network, wait for that ZigBee brightness measurement terminal adds;
(2) manually boot the GPRS wireless data transmission module of ZigBee-GPRS gateway, connect, light GPRS network and connect indicator light with GPRS network;
(3) carry out the software and hardware initialization after ZigBee brightness measurement terminal powers on, and then add the ZigBee network automatically;
(4) ZigBee brightness measurement terminal periodic property Measurement of Luminance, and brightness data is wirelessly transmitted to the ZigBee-GPRS gateway;
(5) the ZigBee-GPRS gateway is handled the brightness data and the corresponding Z igBee brightness measurement end message that receive, uploads onto the server through GPRS network then;
(6) brightness data that collected of GPRS server stores, record gateway information and all ZigBee brightness measurement end messages, and these information are classified and handle.
(7) client is moved wireless brightness measurement client software, and the user can check the brightness data that all ZigBee brightness measurement terminals are gathered through access client.
Preferably, said wireless brightness measurement method can be carried out according to following steps:
At first, ZigBee-GPRS gateway electrifying startup, its power supply indicator is opened simultaneously, and then sets up the ZigBee network, waits for that ZigBee brightness measurement terminal adds.Then, manually boot the GPRS wireless data transmission module of ZigBee-GPRS gateway, connect, light GPRS network and connect indicator light, and on the server display interface, show current ZigBee-GPRS gateway status with GPRS network.
Then, several ZigBee brightness measurement terminals of electrifying startup, after successfully adding the ZigBee network, periodic measurement brightness, and brightness data is wirelessly transmitted to the ZigBee-GPRS gateway.Because each terminal all is to adopt powered battery, therefore in non-measuring period,, take dormancy to handle for reaching the power saving purpose.
At last, the ZigBee-GPRS gateway is handled the brightness data and the corresponding Z igBee brightness measurement end message that receive, uploads onto the server through GPRS network then; The brightness data that the GPRS server stores is collected, record gateway information and all ZigBee brightness measurement end messages, and these information are classified and handle.
In addition, client is moved wireless brightness measurement client software, and the user can check the brightness data that all ZigBee brightness measurement terminals are gathered through access client.
With respect to scheme of the prior art, advantage of the present invention is: low cost, low-power consumption, peer-to-peer communications, Interface design and upper-layer protocol are relatively simple, are more suitable in the scale of city illumination measuring system.
Description of drawings
Below in conjunction with accompanying drawing and embodiment the present invention is further described:
Fig. 1 is a road brightness wireless measuring system sketch map in the embodiments of the invention;
Fig. 2 is a ZigBee-GPRS gateway structural representation in the embodiments of the invention;
Fig. 3 is a ZigBee brightness measurement terminal structure sketch map in the embodiments of the invention;
Fig. 4 is brightness measurement Fundamentals of Sensors figure in the embodiments of the invention
Fig. 5 is current-voltage conversion circuit and a bleeder circuit structural representation in the embodiments of the invention;
Fig. 6 is the workflow diagram of ZigBee-GPRS gateway in the embodiments of the invention;
Fig. 7 is the workflow diagram at ZigBee brightness measurement terminal in the embodiments of the invention;
Fig. 8 is the workflow diagram of GPRS server software in the embodiments of the invention;
Fig. 9 is the workflow diagram of client software in the embodiments of the invention;
Embodiment
Below in conjunction with specific embodiment such scheme is further specified.Should be understood that these embodiment are used to the present invention is described and are not limited to limit scope of the present invention.The implementation condition that adopts among the embodiment can be done further adjustment according to the condition of concrete producer, and not marked implementation condition is generally the condition in the normal experiment.
The wireless brightness measurement system in embodiment somewhere
Like Fig. 1, the wireless brightness measurement system of present embodiment adopts network communicating system structure as shown in Figure 1, wherein comprises: several ZigBee brightness measurement terminals, ZigBee-GPRS gateway, GPRS server and several clients.Said ZigBee brightness measurement terminal utilizes luminance sensor to gather road brightness, utilizes the ZigBee technology brightness data to be wirelessly transmitted to the ZigBee-GPRS gateway of far-end then; Said gateway sends the brightness data remote-wireless to the GPRS server again through the GPRS technology; Several clients can be checked the brightness data that all ZigBee brightness measurement terminals are gathered through the Internet network.
The method of the wireless brightness measurement of road may further comprise the steps:
At first, ZigBee-GPRS gateway electrifying startup, its power supply indicator is opened simultaneously, and then sets up the ZigBee network, waits for that ZigBee brightness measurement terminal adds.Then, manually boot the GPRS wireless data transmission module of ZigBee-GPRS gateway, connect, light GPRS network and connect indicator light, and on the server display interface, show current ZigBee-GPRS gateway status with GPRS network.
Then, several ZigBee brightness measurement terminals of electrifying startup, after successfully adding the ZigBee network, periodic measurement brightness, and brightness data is wirelessly transmitted to the ZigBee-GPRS gateway.Because each terminal all is to adopt powered battery, therefore in non-measuring period,, take dormancy to handle for reaching the power saving purpose.
At last, the ZigBee-GPRS gateway is handled the brightness data and the corresponding Z igBee brightness measurement end message that receive, uploads onto the server through GPRS network then; The brightness data that the GPRS server stores is collected, record gateway information and all ZigBee brightness measurement end messages, and these information are classified and handle.
In addition, client is moved wireless brightness measurement client software, and the user can check the brightness data that all ZigBee brightness measurement terminals are gathered through access client.
Below wireless brightness measurement system various piece is described in detail:
The ZigBee-GPRS gateway that present embodiment adopts comprises ZigBee wireless data transmission module and GPRS wireless data transmission module.This ZigBee wireless data transmission module mainly is responsible for setting up the ZigBee network, and receives the brightness data that each measuring terminals is uploaded; Main and the GPRS network of this GPRS wireless data transmission module connects, and the information of all brightness datas and corresponding measuring terminals is handled, and finally is uploaded to the GPRS server.Its physical circuit connected mode is as shown in Figure 2.
The ZigBee wireless data transmission module is to be connected through serial ports with the GPRS wireless data transmission module in the said ZigBee-GPRS gateway.
Said ZigBee wireless data transmission module comprises microprocessor, RF impedance match circuit and 2.4GHz antenna.Microprocessor is used to move ZigBee wireless transmission protocol stack program, and the transceive data bag is analyzed, handled.The RF impedance match circuit is responsible for connecting the radio-frequency head and the antenna of microprocessor, and reaches the effect of 50 ohms impedance match.2.4GHz antenna can adopt plastic rod antenna, ceramic antenna or PCB antenna.
Said GPRS wireless data transmission module comprises SIM, startup and reset key, network indicator light, 900MHz antenna.The ZigBee-GPRS gateway is set up after the ZigBee network, and through manually booting the GPRS wireless data transmission module, foundation is connected with GPRS network, and the network indicator light shows current network state.
The SIM900A that the GPRS module of being selected for use in the present embodiment is produced for SIMCOM company.SIM900A is the wireless module of compact, high reliability, adopts the double frequency GSM/GPRS module solution of SMT encapsulation, adopts powerful processor A RM9216EJ-S kernel, can satisfy development requires low-cost, compact size.SIM900GSM/GPRS uses the industrial standard interface, makes the SIM900A that possesses GSM/GPRS 900/1800MHz function realize the high-speed transfer of voice, SMS, data and facsimile message with small size and low-power consumption.SIM900A can satisfy the nearly all application requirements of M2M, the design of especially small and exquisite, compact.Its physical size is: 24mmx24mmx3mm.Based on the technology platform of mature and reliable, and provide from Product Definition to design and the service support of producing.
The SIM900A operating voltage is 3.1V to 4.8V, and power module provides 4.2V supply voltage in the present embodiment.SIM900A and SIM adopt the SIM interface circuit of standard: " VSM " is the 1.8V SIM operating voltage of SIM900A output; " SIM_Data ", " SIM_CLK " and " SIM_RST " are respectively " SIM data ", " SIM clock " and " SIM resets ".
The SIM900A outside also is connected to " startup button " and " reset key ", and these 2 buttons all are that low level is effective; When starting SIM900A, need normal by starting button 1S more than the time; " network indicator light " can be represented current network state, equally also is that low level is effective.
The ZigBee SOC of a new generation chip CC2530 is real SOC(system on a chip) solution, supports the application of the IEEE 802.15.4 standard/ZigBee/ZigBee RF4CE and the energy.Have nearly 256 bytes of huge fast flash memory bank, CC2530 is desirable ZigBee professional application.CC2530 combined one fully-integrated, high performance RF transceiver and one 8051 microprocessor, the RAM of 8kB, 32/64/128/256KB flash memory, and other powerful support function and peripheral hardwares, CC2530F256 represent that its internal flash is 256KB.CC2530 has powerful wireless front end, its inner integrated 2.4GHzIEEE 802.15.4 standard radio frequency transceiver.Power output able to programme is+4.5dBm overall wireless connections 102dBm.
SIM900A is connected with the microprocessor CC2530 of ZigBee wireless data transmission module through serial ports, and " TXD " and " RXD " is respectively the data of serial interface and sends and the Data Receiving pin, and " GND " is the common ground end.CC2530 passes through some row AT instructions of transmission, control SIM900A, and for example: set up TCP with far-end server and be connected, transmission packet etc. all instructs through transmission AT to be accomplished.
Use the Server Transport data of TCP, at first will set up a TCP and connect to far-end.SIM900A initiates a TCP as CLIENT to long-range SERVER and connects; The IP address that successfully connect needs SERVER to hold is that the IP address of public network (can use the mode of dialing to obtain; As then connecting) in PC local area network (LAN) inside; At this moment our SERVER software of this server operation then just can be connected (AT+CIPSTART=" TCP ", " the IP address of SERVER " setting up TCP with AT commands for controlling SIM900A with SERVER; " port numbers of SERVER "), can return CONNECT OK after the successful connection.Just can send data to SERVER with AT+CIPSEND then, if SERVER has data, module receives through serial ports automatically.Close TCP and connect available AT+CIPCLOSE order.
CC2530 starts the transmission data command with the AT+CIPSEND order, returns the data that the input of ">" back is sent, and ctrl+z (Ox1a) starts transmission.Send to accomplish and return SEND OK afterwards.Be in command mode this moment, if there have the data transmission to repeat above step again to be just passable.Each data length that sends should be less than 1024bytes.The reception data are automatic reception, if then automatic reception of remote data is arranged.Can add sign automatically in the data front that receives with AT+CIPHEAD=1.
The ZigBee brightness measurement terminal that present embodiment adopts comprises: luminance sensor, current-voltage conversion circuit, bleeder circuit, analog to digital converter and ZigBee wireless data transmission module.Its physical circuit connected mode is as shown in Figure 3.
Fig. 4 is brightness measurement Fundamentals of Sensors figure, and on reflecting plate P with holes, the picture light beam of tested part arrives detector D through aperture H through V (λ) filter F to object lens O with target imaging; Produce corresponding to the object brightness light beam; After operational amplification circuit A amplification and conversion, output 4-20mA normalized current signal, wherein 4mA representes that brightness is 0; The full scale of 20mA expression signal, corresponding brightness is 20cd/m 2The effect of speculum P ' and eyepiece system E is to observe and aim at measured target.(unit: cd/m2) be L=(I-4) * 12.5, wherein I is the output current value (4~20mA) of transducer to the show value of luminance sensor.
For accurate Measurement of Luminance, matching error≤5.5% of V (λ), stability≤1.5%, nonlinearity erron ± 1.0%, the transducer error of indication is ± 5.0%.
The method of measurement of GB/T 5700-2008 " illumination measurement method " regulation road brightness is following: a) the observation station height of luminance meter apart from the road surface 1.5m; B) lengthwise position of the observation station of luminance meter should be apart from first row's measurement point 60m, and vertically measuring length is 100m.The visual field of the luminance meter of selling in the market is circle; When measuring the brightness of regulation point on the road surface according to above method; In fact be to measure road surface lastblock distortion oblong zone wide at the top and narrow at the bottom, and measuring distance is far away, the luminance meter angle of visual field is big more, oval distortion is just big more.In addition, when on adopting this type of luminance meter measurement distant place road, stipulating the brightness of point, it is very difficult aiming at each corresponding points, so has caused accuracy of measurement and consequences such as efficient is low, measurement result poor repeatability.For this reason, having designed and having measured the visual field is trapezoidal luminance meter, can realize the measurement of the road surface mean flow rate in 60m-160m highway section, the wide road of 5m dead ahead, and accuracy of measurement and efficient are all higher.
Because therefore the voltage-type analog to digital converter that ZigBee brightness measurement terminal inner microprocessor CC2530 has 8 to 14 precision can not need external analog to digital converter.But because the supply power voltage of CC2530 is 3.3V, and the internal mode number converter is voltage-type, therefore need convert 4 to 20mA current signals into 0 to 3.3V voltage signal.Present embodiment realizes that through current-voltage conversion circuit and bleeder circuit its physical circuit connected mode is as shown in Figure 5.
Get R1=25 Ω, during 4mA, its pressure drop=0.1V, the 0.1V that the in-phase end input voltage of OP07 is configured to bear, like this, the negative 0.1V of the 0.1V of input signal and this I/V configuration cancels each other just, and OP07 output will be no-voltage.Along with the increase of input current, if input current is 5mA, be 20mA if the I/V changing voltage will be the 0.125V...... input current, the I/V sampling voltage is exactly 500mV.Like this, we can obtain the output of 5V full scale to 10 times of this voltage amplifications.We can obtain 0 to 5V output voltage V out5 through this translation circuit, pass through bleeder circuit again, just obtain final 0 to 3.3V voltage signal Vout3.3.
The execution flow process of ZigBee-GPRS gateway is as shown in Figure 6 in the present embodiment.After powering on, the ZigBee-GPRS gateway at first hardware circuit and ZigBee protocol stack are carried out initialization.Set up network then, and wait for that ZigBee brightness measurement terminal adds the ZigBee network.Manually boot SIM900A then, connect with GPRS network, its network indicator light is opened, and expression connects successfully.The ZigBee-GPRS gateway is constantly monitored the ZigBee brightness measurement terminal quantity of adding, and judges whether to reach the maximum of network capacity.When ZigBee brightness measurement terminal to apply added the ZigBee network, the ZigBee-GPRS gateway was the initiate terminal distribution ZigBee network address.
Set up the ZigBee network with the ZigBee brightness measurement terminal that adds network then and be connected, poll is intercepted the brightness data bag that send at the terminal that connected in the air.If brightness data inclusion lattice, then CC2530 will be sent to SIM900A with data through serial interface.SIM900A judges the packet that receives, feedback information is sent to CC2530 through serial interface.
For improving the quality of wireless transmission, native system can also increase frequency hopping function, when the signal link quality is low, through changing wireless transmission channel, reaches higher anti-jamming capacity.If channel quality meets the demands, then need not to change channel, continue to intercept airborne packet.
The execution flow process at ZigBee brightness measurement terminal is as shown in Figure 7 in the present embodiment.Initialization is at first carried out to hardware circuit, analog to digital converter and ZigBee protocol stack in ZigBee brightness measurement terminal, sends to the ZigBee-GPRS gateway then to add network requests message, and waits for ZigBee-GPRS gateway distribution network address.After adding the ZigBee network, the network indicator light is opened, and shows successfully to add, and connects with the ZigBee-GPRS gateway.
And then, each ZigBee brightness measurement terminal sends to the ZigBee-GPRS gateway with essential information, by the ZigBee-GPRS gateway these essential informations is uploaded to the GPRS server again.Wherein, these essential informations comprise: device id number, version number, 64 IEEE addresses, 16 ZigBee network addresss, individual territories net ID number, current state.
Just can periodically from analog to digital converter, read the current brightness that collects then.If system has adopted frequency hopping function, then need inquire about current channel, then the brightness data bag is wirelessly transmitted to the ZigBee-GPRS gateway of far-end.During non-collection period, ZigBee brightness measurement terminal is in resting state.The brightness data bag not only comprises the current brightness value that collects, and also comprises: device id number, frame identification, application end period, current electric quantity, link-quality, signal strength signal intensity, number of frames, timestamp.
GPRS server software and GPRS server software all use the Labview software of NI company to write in the present embodiment.
The api function that the GPRS server software mainly uses has " TCP intercepts ", " writing tcp data ", " reading tcp data " and " closing TCP is connected ", and GPRS server software flow chart is as shown in Figure 8.Wait for when server begins that the ZigBee-GPRS gateway carries out GPRS network and connects,, then continue to wait for if do not receive connection request.If receive connection request, then set up TCP and connect.If server is received the inquiry message that other clients are sent, can respond to inquiry message.During under normal circumstances not unusual the generation, server directly reads the data that the ZigBee-GPRS gateway is uploaded, and packet is stored, analyzed and handles.If unusual generation is arranged, or do not receive packet for a long time, will inquire the response of ZigBee-GPRS gateway, and wait-for-response; Upload data as if receiving that response is then then read,, then continue inquiry ZigBee-GPRS gateway responsive state if do not receive response yet.
The api function that client software mainly uses has " opening TCP connects ", " writing tcp data ", " reading tcp data " and " closing TCP is connected ", and the client software flow chart is as shown in Figure 9.Open when client begins with the TCP of server and be connected,, then read information in the server if in the stand-by period, connect; Otherwise, overtime withdrawing from.Client can be carried out analyzing and processing to the information that reads, and is depicted as curve chart.If unusual generation is arranged, or do not receive packet for a long time, will inquire the server response, and wait-for-response; Then follow reading of data if receive response,, then continue inquiry server responsive state if do not receive response yet.
Above-mentioned instance only is explanation technical conceive of the present invention and characteristics, and its purpose is to let the people who is familiar with this technology can understand content of the present invention and enforcement according to this, can not limit protection scope of the present invention with this.All equivalent transformations that spirit is done according to the present invention or modification all should be encompassed within protection scope of the present invention.

Claims (10)

1. a brightness wireless measuring system is characterized in that said wireless measuring system comprises: several ZigBee brightness measurement terminals, ZigBee-GPRS gateway, GPRS server and several clients.Said ZigBee brightness measurement terminal utilizes luminance sensor to gather brightness, utilizes the ZigBee technology brightness data to be wirelessly transmitted to the ZigBee-GPRS gateway of far-end then; Said gateway sends the brightness data remote-wireless to the GPRS server again through the GPRS technology; Several clients can be checked the brightness data that all ZigBee brightness measurement terminals are gathered through the Internet network.
2. wireless brightness measurement system according to claim 1 is characterized in that ZigBee brightness measurement terminal comprises luminance sensor, current-voltage conversion circuit, bleeder circuit, analog to digital converter and ZigBee wireless data transmission module.
3. ZigBee brightness measurement according to claim 2 terminal, it is characterized in that luminance sensor output 4mA to 20mA current signal corresponding to 0 to 20ed/m 2Brightness.
4. wireless brightness measurement system according to claim 1 is characterized in that said ZigBee-GPRS gateway comprises ZigBee wireless data transmission module and GPRS wireless data transmission module.
5. according to claim 2 and 4 described ZigBee brightness measurement terminal and ZigBee-GPRS gateways, it is characterized in that the ZigBee wireless data transmission module comprises microprocessor, RF impedance match circuit and 2.4GHz antenna.
6. ZigBee-GPRS gateway according to claim 4 is characterized in that the GPRS wireless data transmission module comprises SIM, startup and reset key, network indicator light, 900MHz antenna.
7. ZigBee-GPRS gateway according to claim 4 is characterized in that the ZigBee wireless data transmission module is connected through serial interface with the GPRS wireless data transmission module.
8. wireless brightness measurement system according to claim 1 is characterized in that said GPRS server has public network IP address, and the GPRS server software of ICP/IP protocol is followed in operation.
9. wireless brightness measurement system according to claim 1 is characterized in that the operation of said client follows the wireless brightness measurement client software of ICP/IP protocol.
10. method of utilizing the described system of claim 1 to carry out wireless brightness measurement is characterized in that said method comprising the steps of:
(1) carries out the software and hardware initialization after the ZigBee-GPRS gateway powers on, and then set up the ZigBee network, wait for that ZigBee brightness measurement terminal adds;
(2) manually boot the GPRS wireless data transmission module of ZigBee-GPRS gateway, connect, light GPRS network and connect indicator light with GPRS network;
(3) carry out the software and hardware initialization after ZigBee brightness measurement terminal powers on, and then add the ZigBee network automatically;
(4) ZigBee brightness measurement terminal periodic property Measurement of Luminance, and brightness data is wirelessly transmitted to the ZigBee-GPRS gateway;
(5) the ZigBee-GPRS gateway is handled the brightness data and the corresponding Z igBee brightness measurement end message that receive, uploads onto the server through GPRS network then;
(6) brightness data that collected of GPRS server stores, record gateway information and all ZigBee brightness measurement end messages, and these information are classified and handle.
(7) client is moved wireless brightness measurement client software, and the user can check the brightness data that all ZigBee brightness measurement terminals are gathered through access client.
CN2011102231933A 2011-08-05 2011-08-05 Road brightness wireless measuring system and road brightness wireless measuring method Pending CN102438032A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102231933A CN102438032A (en) 2011-08-05 2011-08-05 Road brightness wireless measuring system and road brightness wireless measuring method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102231933A CN102438032A (en) 2011-08-05 2011-08-05 Road brightness wireless measuring system and road brightness wireless measuring method

Publications (1)

Publication Number Publication Date
CN102438032A true CN102438032A (en) 2012-05-02

Family

ID=45985904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102231933A Pending CN102438032A (en) 2011-08-05 2011-08-05 Road brightness wireless measuring system and road brightness wireless measuring method

Country Status (1)

Country Link
CN (1) CN102438032A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355750A (en) * 2011-08-05 2012-02-15 厦门市产品质量监督检验院 System and method for wireless measuring illumination
CN104092310A (en) * 2014-04-21 2014-10-08 北京能源通电气技术有限公司 Intelligent power distribution monitoring and energy management systematic background
CN105806478A (en) * 2014-12-31 2016-07-27 青岛中科软件股份有限公司 Wireless illumination sensor module
CN106899327A (en) * 2017-02-24 2017-06-27 华为技术有限公司 The method and apparatus of data transfer

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101162578A (en) * 2007-11-09 2008-04-16 汇众联合传媒科技有限公司 Method for regulating outdoor display screen brightness
CN201845232U (en) * 2010-11-17 2011-05-25 南京财经大学 Wireless sensor network monitoring system for grain conditions in grain depot
US20110161111A1 (en) * 2006-10-24 2011-06-30 Dicks Kent E System for facility management of medical data and patient interface

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110161111A1 (en) * 2006-10-24 2011-06-30 Dicks Kent E System for facility management of medical data and patient interface
CN101162578A (en) * 2007-11-09 2008-04-16 汇众联合传媒科技有限公司 Method for regulating outdoor display screen brightness
CN201845232U (en) * 2010-11-17 2011-05-25 南京财经大学 Wireless sensor network monitoring system for grain conditions in grain depot

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355750A (en) * 2011-08-05 2012-02-15 厦门市产品质量监督检验院 System and method for wireless measuring illumination
CN104092310A (en) * 2014-04-21 2014-10-08 北京能源通电气技术有限公司 Intelligent power distribution monitoring and energy management systematic background
CN105806478A (en) * 2014-12-31 2016-07-27 青岛中科软件股份有限公司 Wireless illumination sensor module
CN106899327A (en) * 2017-02-24 2017-06-27 华为技术有限公司 The method and apparatus of data transfer

Similar Documents

Publication Publication Date Title
CN102355750A (en) System and method for wireless measuring illumination
Satyanarayana et al. Wireless sensor based remote monitoring system for agriculture using ZigBee and GPS
CN103905558A (en) Dairy farm wireless monitoring system based on internet of things
CN209605863U (en) Agricultural Environmental Monitoring system
CN105868927A (en) Intelligent inspection system for electrical devices
CN105338489B (en) A kind of intelligent terminal and bluetooth indoor locating system for indoor positioning
CN204013611U (en) Cattle farm wireless monitor system based on Internet of Things
CN102523272B (en) Electric energy measuring, controlling and protecting system
CN104779904A (en) Solar photovoltaic monitoring system based on Internet of Things
CN107767618A (en) wireless environment monitoring system based on internet of things
CN101888408A (en) Wireless sensor network-based environment monitoring system
CN102438032A (en) Road brightness wireless measuring system and road brightness wireless measuring method
CN103488155A (en) Intelligent agriculture integration information system environment controller
CN201622685U (en) Wireless sensor network monitoring system for field atmospheric environment and hydrologic information
CN103400490A (en) Wi-Fi-based environmental monitoring system and method
CN201118562Y (en) Portable agricultural information intelligent terminal
CN104807498A (en) Farmland environment wireless monitoring system based on Zigbee and 3G technology
CN102338663A (en) Wireless color temperature measurement system and method thereof
CN202957989U (en) Crops growth environment monitoring device based on Zigbee
CN103391644A (en) Wireless sensor network gateway device and method for monitoring field crop growth information
Liu et al. Design of vegetable greenhouse monitoring system based on ZigBee and GPRS
CN102469546A (en) Combined network, method for processing reported data of WSN terminal, and WSN gateway
CN103297518A (en) System for monitoring climatic factors for forest litter decomposition
CN204291504U (en) A kind of wireless supervisory control system of monitoring of wind and light complementary road lamp
CN203337589U (en) Electronic nose system used for remotely monitoring agricultural products

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120502