The utility model content
The technical problems to be solved in the utility model provides a kind of signal collecting device, need not destroy equipment internal structure external structure in the system under test (SUT), can not disturb the work of system under test (SUT) in actual environment with regard to realizing the wireless sensor network environment monitoring system to be tested, and can satisfy actual application environment test needs.
In order to address the above problem, the utility model provides a kind of signal collecting device, and described signal collecting device comprises:
Gather the sensor assembly of environmental information;
The environmental information of the analog form that described sensor assembly is sent is converted to the A/D modular converter of the environmental information of digital form;
Control described sensor assembly and gather described environmental information, control described network communication module and upload information, and store the processor module of the environmental information of described sensor assembly collection; And
The environmental information of digital form is uploaded to the network communication module of Surveillance center according to the control of described processor module.
Alternatively, described signal collecting device also is included as the power module that coupled module provides power supply.
Alternatively, described sensor assembly comprises polytype transducer, is arranged to: gather polytype environmental information as required.
Alternatively, described network communication module is arranged to according to WiFi, Ethernet, 3G or the communication of GPRS network communication mode.
Alternatively, described signal collecting device comprises that also the signal to described sensor assembly output carries out the signal processing module of noise reduction process, and it is connected between described sensor assembly and the described A/D modular converter, also links to each other with described power module.
Alternatively, described noise reduction process comprises amplification, isolation and filtering processing.
Technique scheme need not destroyed equipment internal structure external structure in the system under test (SUT), can not disturb the work of system under test (SUT) in actual environment with regard to realizing the wireless sensor network environment monitoring system to be tested, and can satisfy actual application environment test needs.
Embodiment
Below in conjunction with drawings and Examples the technical solution of the utility model is described in detail.
Need to prove that if do not conflict, each feature among the utility model embodiment and the embodiment can mutually combine, all within protection range of the present utility model.In addition, though there is shown logical order in flow process, in some cases, can carry out step shown or that describe with the order that is different from herein.
The utility model embodiment discloses a kind of signal collecting device, as shown in Figure 1, this signal collecting device comprises sensor assembly 101, A/D modular converter 102, processor module 103, network communication module 104 and power module 105, sensor assembly 101 links to each other with A/D modular converter 102, processor module 103 all links to each other with sensor assembly 101, A/D modular converter 102, network communication module 104 and power module 105, power module 105 also links to each other with sensor assembly 101, A/D modular converter 102 and network communication module 104, wherein:
Described sensor assembly 101 is made of polytype transducer, is arranged to: gather polytype environmental information as required.
Sensor assembly 101 included sensor types come to determine as required, as when needing temperature, humidity, gas concentration etc. in the measurement environment, described sensor assembly need comprise the transducer of types such as temperature sensor, humidity sensor, gas concentration sensor.
A/D modular converter 102 is arranged to: the environmental information of the analog form that sensor assembly 101 is sent is converted to the environmental information of digital form.
Processor module 103 is arranged to: control sensor assembly 101 is gathered described environmental information, and control described network communication module 104 and upload information or reception information, and the information of the environmental information of storage sensor module 101 collections and network communication module 104 receptions.
Network communication module 104 is arranged to: the environmental information of digital form is uploaded to Surveillance center, and receives the information from Surveillance center.
Network communication module 104 is arranged to according to WiFi, Ethernet, 3G or the communication of GPRS network communication mode.
Power module 105 is arranged to: for coupled module provides power supply.
Alternatively, above-mentioned signal collecting device also comprises signal processing module 106, it is connected between sensor assembly 101 and the A/D modular converter 102, also link to each other with power module 105, be arranged to: the signal that the needs of sensor assembly 101 outputs are handled carries out noise reduction process, so that the data that finally obtain are more accurate.
Alternatively, described noise reduction process comprises processing such as amplification, isolation, filtering.
The utility model embodiment also discloses a kind of system that the wireless sensor network environment monitoring system is tested, in subsequent descriptions, for convenience of explanation, abbreviate tested wireless sensor network environment monitoring system as system under test (SUT), as shown in Figure 2, this system comprises: signal collecting device, system under test (SUT) and Surveillance center, a plurality of signal collecting devices and system under test (SUT) all place test environment, signal collecting device is positioned near the wireless sensor network environment detection node (detection node that is called for short system under test (SUT)) of tested wireless sensor network environment monitoring system, wherein:
Signal collecting device can be aforesaid signal collecting device, also can be that existing other can be used for signal collecting device of the present utility model.
Tested wireless sensor network environment monitoring system comprises wireless sensor network environment detection node (detection node), relaying and gateway, wherein:
Described detection node is arranged to: gather environmental information, the environmental information of gathering is transferred to relaying and gateway, finally transfer to described Surveillance center by gateway by Ethernet.
Described Surveillance center is arranged to: receive and storage from the environmental information of system under test (SUT) and a plurality of signal collecting devices, serve as with reference to the system under test (SUT) environmental information being carried out data analysis and test control obtains test result with the environmental information of signal collecting device.
Alternatively, adopt the communication of ZigBee protocol networking between described detection node, relaying and the gateway, described gateway carries out network service by Ethernet and Surveillance center.
Alternatively, Surveillance center comprises server and monitor terminal, moves testing software at server.Testing software mainly comprises: 1) environmental information test module: mainly comprise tests such as data class, accuracy and measuring range; 2) network posture test module: comprise packet loss, network node scale etc.
The using method of test macro of the present utility model comprises the steps:
Step 1, system under test (SUT) and a plurality of signal collecting device are placed test environment.
System under test (SUT) is used for gathering environmental information and transfer of data to Surveillance center is tested, and a plurality of signal collecting devices are used for estimating the accuracy of system under test (SUT) as reference.
Step 2, system under test (SUT) and a plurality of signal collecting device report the environmental information of gathering separately to monitoring center.
Alternatively, system under test (SUT) is realized the environmental information collection by its detection node, and system under test (SUT) carries detection node ID when reporting environmental information.
Alternatively, this step comprises: each detection node of system under test (SUT) adopts ZigBee agreement communication with the environmental information of gathering, and transfers to relaying and gateway, and final gateway transfers to Surveillance center by Ethernet.
Step 3, Surveillance center receive and storage from the environmental information of system under test (SUT) and a plurality of signal collecting devices, serve as with reference to the system under test (SUT) environmental information being carried out data analysis and test control obtains test result with the environmental information of signal collecting device.
For example, be with reference to testing authentication system under test (SUT) Monitoring Data with the data of signal collecting device, comprise data class, accuracy and measuring range etc.The system under test (SUT) packet of Surveillance center by collecting analyzed the node ID that obtains system under test (SUT), and statistics obtains network size.Surveillance center is the testing time section with the time of a segment length, add up the actual system under test (SUT) number of data packets of receiving in this time period, sampling period according to system under test (SUT) calculates this section number of data packets that theory is uploaded in the time, the packet loss of system under test (SUT)=(gross data bag number-actual data packet number)/gross data bag number.
Signal collecting device in the utility model is realized by autonomous device, need not destroy equipment internal structure external structure in the system under test (SUT), is applicable to the actual application environment test; Adopt the network communication mode of WiFi, Ethernet, 3G or GPRS, and can not disturb the radio communication of tested wireless sensor network system; Each signal collecting device can connect multiple sensors, has versatility, satisfies the multiple environmental information monitoring requirements in the environmental monitoring application; Realize Long-distance Control and test analysis by Surveillance center.Therefore, native system can satisfy the demand of system testing in the actual application environment.
Using example with one of the present utility model below further is illustrated.
This application example is that example describes with the test of agricultural greenhouse environmental monitoring system:
System under test (SUT) is the agricultural greenhouse environmental monitoring system, comprise wireless sensor network environment monitoring node, relaying and gateway, the environmental information of wireless sensor network environment monitoring node monitoring comprises the soil moisture, soil moisture, air themperature, air humidity, gas concentration lwevel, illuminance etc.
Signal collecting device is made up of sensor assembly, signal processing module, A/D modular converter, processor module, network communication module, power module.Sensor assembly connects six type sensors, comprises soil moisture transducer, soil humidity sensor, air temperature sensor, air humidity sensor, gas concentration lwevel transducer, illuminance sensor.Processor module adopts the MSP430F149 of TI company.MSP430F149 is 16 super low-power consumption microcontrollers, and its CPU adopts 16 RISC frameworks, inner integrated 60KB flash memory, 2KB RAM.Network communication module adopts ethernet module.Adopt external power source, it is the entire equipment power supply that power module is converted into 12V with outside 220V power supply.
Surveillance center comprises server and monitor terminal, moves testing software at server.Testing software mainly comprises: 1) environmental information test module: mainly comprise data class, accuracy and measuring range test; 2) network posture test module: comprise packet loss, network node scale.
Test process:
A plurality of signal collecting devices and system under test (SUT) place the agricultural greenhouse environment, are used for gathering environmental information.A plurality of signal collecting devices by Ethernet with transfer of data to Surveillance center.Detection node, relaying and gateway are formed self-organizing network, and detection node is encapsulated as packet with the environmental information of gathering, and to gateway, gateway transfers to Surveillance center with packet by Ethernet through relay transmission.
The packet of Surveillance center's analytic signal collecting device and system under test (SUT), obtain the environmental information that signal collecting device and system under test (SUT) are monitored separately, data with signal collecting device are with reference to testing authentication system under test (SUT) Monitoring Data, comprise data class, accuracy and measuring range.The system under test (SUT) packet of Surveillance center by collecting analyzed the node ID that obtains system under test (SUT), and statistics obtains network size.Surveillance center can arrange the testing time section, be example with 24 hours, add up the actual system under test (SUT) number of data packets of receiving in this time period, sampling period according to system under test (SUT) calculates this section number of data packets that theory is uploaded in the time, gross data bag number=24 hours/sampling period, the packet loss of system under test (SUT) node=(gross data bag number-actual data packet number)/gross data bag number.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to finish by program, described program can be stored in the computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can use one or more integrated circuits to realize.Correspondingly, each the module/unit in above-described embodiment can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The utility model is not restricted to the combination of the hardware and software of any particular form.
Certainly; the utility model also can have other various embodiments; under the situation that does not deviate from the utility model spirit and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the utility model, but these corresponding changes and distortion all should belong to the protection range of claim of the present utility model.