Specific embodiment
The invention will be further described with the following Examples.
Referring to Fig. 1, Fig. 2, the electric energy meter wireless kilowatt meter reading-out system of the present embodiment, including ammeter data acquisition system 1 and concentration
Device 2, encrypting module 3 is arranged in the ammeter data acquisition system 1, and ammeter data acquisition system 1 passes through wireless network connection collection
Deciphering module 4 is arranged on the concentrator 2 for middle device 2;The ammeter data acquisition system 1 is used to acquire electric supply meter data, and
Ammeter data is sent to concentrator 2 after the encryption of encrypting module 3.
Preferably, wireless repeater 5 is set between the concentrator 2 and the encrypting module 3.
Preferably, the wireless repeater 5 includes amplifying circuit and filter circuit.
Encrypting module 3 is arranged in the above embodiment of the present invention, prevents from invading described in illegal user's interception of the wireless network
Electric supply meter data ensure that the safe operation of power grid to ensure that meter reading work safety and accurately carry out.
Preferably, the ammeter data acquisition system 1 includes that data acquisition unit 11, data processing unit 12 and data pass
Defeated unit 13;The data acquisition unit 11, which is used to cooperate by the sensor node constructed by each sensor, carries out user
The acquisition of ammeter data, and export the electric supply meter data of each sensor node acquisition;The data processing unit 12 for pair
The electric supply meter data of each sensor node acquisition are pre-processed, to obtain effective electric supply meter data;The data pass
Defeated unit 13 is used to carry out the transmission of electric supply meter data using preset data transmission mechanism.
Preferably, the data acquisition unit 11 includes sensor locator unit and data revise subelemen;The biography
For carrying out sensor node localization, the progress sensor node localization specifically includes sensor locator unit:
(1) by small part sensor node deployment on known position coordinates, as beaconing nodes, according to beaconing nodes
The local coordinate system for meeting domestic environment is established in position;
(2) coordinate for assuming unknown node is (x, y), and the beaconing nodes coordinate that can be in communication with is respectively (x1,
y1), (x2, y2) ..., (xn, yn), it is the center of circle that unknown node, which is located at each beaconing nodes, and communication radius is the intersection of the circle of radius
Domain takes the region any point as the pre- reconnaissance of unknown node coordinate, the difference letter of the pre- reconnaissance of unknown node coordinate to beaconing nodes
Number are as follows:
In formula, riFor the pre- reconnaissance of unknown node coordinate to (xi, yi) distance, i=1,2 ..., n utilize maximal possibility estimation
Method seeks the minimum value of the formula, as unknown node coordinate position;
The data correction subelement is for being modified monitoring data of the sensor under non-standard environmental, modifying factor
Sub- σ are as follows:
In formula, T0For the normal temperature that sensor uses, T is environment temperature when sensor uses.
This preferred embodiment realizes the accurate measurement of sensor positioning and data.
Preferably, the data processing unit 12 includes data filtering module and Supplementing Data module, the data filtering
Module is used for the electric supply meter data by intelligent gateway filter false, and the Supplementing Data module is used to fill up the user of loss
Ammeter data;
The electric supply meter data by intelligent gateway filter false, comprising:
(1) removal does not fall within the electric supply meter data in the effective range of sensor reading;
(2) processing is filtered to remaining electric supply meter data, specifically:
1) assume that the sensing frequency of all the sensors is consistent and sliding window size is A, utilize Jaccard similarity function
Calculate two sensor SI、SJSimilarity Sim (the x of reading behaviorI(t), xJ(t)), wherein xI(t) sensor S is indicatedIWhen
Between t when level readings, xJ(t) sensor S is indicatedJLevel readings in time t;
2) sensor S is definedI、SJInitial interim similarity are as follows:
The interim similarity at K+1 moment are as follows:
In formula, xI(A+t) sensor S is indicatedIInitial reading behavior, μ are adjustable variable of setting, the value model of μ
It encloses for [- 1,1];
3) shared M sensor is set, sensor S is come fromIAn event query q, frequently inquired in the past by sensor
Data than those seldom by sensor SIThe data and sensor S of readingIWith more correlation, sensor S is calculatedISequence
Grade point QL(q, SI), calculation formula are as follows:
In formula, n (q, SI) it is in past sensor SIEvent query number for inquiry q to some themes, N (q, SI)
Indicate sensor SIFor the event query sum of inquiry q, B is smoothing factor;
4) sensor S is judged using ballot methodIIt is current reading whether be false readings, set discriminant function are as follows:
In formula, net (I) indicates sensor SINeighbours' set of sensors, VDecisionj(I) neighbours' sensor S is indicatedJ
To sensor SIMake and choosing in a vote, chosen two classes in a vote, one kind be it is positive, it is another kind of be it is passive, choose in a vote for
When positive, VDecisionj(I)=1 when, choosing in a vote as passiveness, VDecisionj(I)=0;PIWhen > 0, sensor S is indicatedI
Current reading be normal reading, PIWhen < 0, sensor S is indicatedIIt is current reading be false readings.
The electric supply meter data for filling up loss, comprising:
(1) clustering processing of electric supply meter data is carried out using K-means clustering method;
(2) to the missing values in same class carry out be data filling.
When the electric supply meter data of this preferred embodiment filter false, it is contemplated that sensor and neighbor node and environment it
Between relevance, be that each sensor distributes a weight appropriate the importance that reflects sensor by sort algorithm, into
And the collected data of sensor are accepted or rejected with abnormal number caused by filter wrong data and environment in collection process
According to improving the precision of filtering;Using first cluster fill up missing values afterwards by the way of fill up the electric supply meter data of loss, can be compared with
The local characteristics of good consideration data, improve the precision of data filling.
In one embodiment, the preset data transmission mechanism includes:
(1) collected data are transferred to affiliated cluster within the period respectively distributed by member in a manner of single-hop in cluster
Leader cluster node Ci, leader cluster node CiIntegration processing is carried out to the electric supply meter data being collected into;
(2) leader cluster node CiOther leader cluster nodes are selected according to the following formula, to determine that it routes candidate cluster head node set CN:
In formula, diBIndicate leader cluster node CiTo the distance of base station, djBIndicate leader cluster node CjTo the distance of base station, dijIt indicates
Leader cluster node CiTo leader cluster node CjDistance, NSiIndicate leader cluster node CiDump energy rank, NSjIndicate leader cluster node Cj
Dump energy rank;
(3) if routing candidate cluster head node set CN is sky, leader cluster node CiDirectly electric supply meter data are sent to
Base station, and jump to (6);
(4) if only existing one than leader cluster node C in routing candidate cluster head node setiIt is closer or remaining apart from base station
Higher other leader cluster nodes C of energy rankj, then leader cluster node C is selectedjAs next-hop routing node, and by electric supply meter number
According to being transmitted to leader cluster node Cj, make leader cluster node CjAs new leader cluster node Ci, and jump back to (2);
(5) if there are multiple than leader cluster node C in routing candidate cluster head node setiApart from base station is closer or residual energy
Not higher other leader cluster nodes C of magnitudej, then selection is so that the forwarding the smallest leader cluster node C of electric supply meter data communication expensej
Leader cluster node C is given as next-hop routing node, and by electric supply meter data forwardingj, make leader cluster node CjAs new cluster head section
Point Ci, and jump back to (2);
(6) base station receives leader cluster node CiThe electric supply meter data of transmission.
This preferred embodiment carries out the transmission of electric supply meter data using preset data transmission mechanism, makes cluster head section
The dump energy distribution of point is more balanced, efficiently solve apart from base station compared with it is close or apart from the farther away node energy in base station it is too early
The problem of ruing out of, to extend the life cycle of entire data transmission network.
In another embodiment, the preset data transmission mechanism includes:
Different transmission modes is used for different transmission size of data and transmission range, defines transfer function Tr:
In formula, S is transmission size of data, S0For data transfer size cut off value, S0=1MB, D are transmission range, D0To pass
Defeated distance cut off value, D0=10m;
If D < D0, then data communication is carried out using bluetooth,
If D >=D0And S≤S0, then data communication is carried out using zigbee network,
If D >=D0And S > S0, then communicated using WIFI.
This preferred embodiment is being realized to the low energy consumption of electric supply meter data, the communication of high-speed.
Finally it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than the present invention is protected
The limitation of range is protected, although explaining in detail referring to preferred embodiment to the present invention, those skilled in the art are answered
Work as understanding, it can be with modification or equivalent replacement of the technical solution of the present invention are made, without departing from the reality of technical solution of the present invention
Matter and range.