Method for improving acquisition success rate of power acquisition terminal and power acquisition terminal

文档序号:138684 发布日期:2021-10-22 浏览:28次 中文

阅读说明:本技术 一种提高电力采集终端采集成功率的方法及电力采集终端 (Method for improving acquisition success rate of power acquisition terminal and power acquisition terminal ) 是由 王培慧 苟孟生 冯丹荣 于 2021-05-31 设计创作,主要内容包括:本发明涉及一种提高电力采集终端采集成功率的方法及电力采集终端,包括以下步骤:从历史数据中提炼出导致电力采集终端采集失败的N个特征;根据每个特征的属性,得到每个特征划分后所对应的取值或取值范围;并从电力采集终端采集的历史数据中随机构建样本集,之后计算样本集中所有电能表数据成功和失败的概率,以及样本集中每个电能表数据时所使用的各个特征对应的概率;最后,获取某一电力采集终端待采集某个电能表时使用的N个特征对应的取值,并计算数据采集成功和失败的概率和比较大小,得到预测结果。本发明优点在于:通过对预测结果可能采集失败的电能表,人为预先采取一些必要的措施,以防止采集失败,提高了电力采集终端采集成功率。(The invention relates to a method for improving the acquisition success rate of a power acquisition terminal and the power acquisition terminal, which comprises the following steps: extracting N characteristics which cause the acquisition failure of the power acquisition terminal from historical data; obtaining a value or a value range corresponding to each divided feature according to the attribute of each feature; randomly constructing a sample set from historical data acquired by the power acquisition terminal, and then calculating the success and failure probabilities of all the electric energy meter data in the sample set and the probabilities corresponding to all the characteristics used by each electric energy meter data in the sample set; and finally, obtaining values corresponding to N characteristics used by a certain electric energy acquisition terminal when a certain electric energy meter is to be acquired, and calculating the probability and comparison size of success and failure of data acquisition to obtain a prediction result. The invention has the advantages that: the electric energy meter with the prediction result possibly failed to be collected is manually and preliminarily taken with some necessary measures, so that the collection failure is prevented, and the collection success rate of the electric power collection terminal is improved.)

1. A method for improving the acquisition success rate of a power acquisition terminal is characterized in that: the method comprises the following steps:

step 1, acquiring historical data of Q electric energy meters in a certain area acquired by an electric power acquisition terminal, and extracting N characteristics causing acquisition failure of the electric power acquisition terminal from the historical data, wherein the N characteristics are first characteristics a which are mutually independent1A second characteristic2… N feature aN(ii) a N is a positive integer;

step 2, dividing the values or value ranges of the N characteristics according to the attributes of the characteristics in the step 1 to obtain the values or value ranges corresponding to the characteristics;

a1={a1(1)、a1(2)…a1(i)};a2={a2(1)、a2(2)…a2(j)};aN={aN(1)、aN(2)…aN(k)};

wherein, a1(1)、a1(2)…a1(i)Are respectively a first characteristic a1The divided 1 st, 2 nd and ith values or value ranges, wherein i is a first characteristic a1The total number of the divided values or value ranges; a is2(1)、a2(2)…a2(j)Respectively is the second characteristic a2The divided 1 st, 2 nd and jth values or value ranges, wherein j is a second characteristic a2The total number of the divided values or value ranges; a isN(1)、aN(2)…aN(k)Respectively is the Nth feature aNThe divided 1 st, 2 nd and k th values or value ranges, wherein k is the Nth characteristic aNThe total number of the divided values or value ranges;

step 3, randomly selecting M electric energy meters from the historical data collected by the electric power collection terminal in the step 1 as a sample set; m is a positive integer and M is less than or equal to Q; recording Z as 1 when the power acquisition terminal successfully acquires certain electric energy meter data, and recording Z as 0 when the power acquisition terminal fails to acquire certain electric energy meter data;

step 4, calculating the probability P (Z is 1) of success and the probability P (Z is 0) of failure of data acquisition of all electric energy meters in the electric power acquisition terminal acquisition sample set; wherein P (Z ═ 1) + P (Z ═ 0) ═ 1;

step 5, calculating the probability of the value or the value range corresponding to each characteristic in the step 2 used when the power acquisition terminal acquires the data of each electric energy meter in the sample set in the step 3;

P(a1(1)|Z=1)、P(a1(2)|Z=1)…P(a1(i)|Z=1);

P(a1(1)|Z=0)、P(a1(2)|Z=0)、…P(a1(i)|Z=0);

wherein, P (a)1(1)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successful1(1)The probability of occurrence; p (a)1(2)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successful1(2)The probability of occurrence; p (a)1(i)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successful1(i)The probability of occurrence; p (a)1(1)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal fails1(1)The probability of occurrence; p (a)1(2)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal fails1(2)The probability of occurrence; p (a)1(i)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal fails1(i)The probability of occurrence;

P(a2(1)|Z=1)、P(a2(2)|Z=1)、…P(a2(j)|Z=1);

P(a2(1)|Z=0)、P(a2(2)|Z=0)、…P(a2(j)|Z=0);

wherein, P (a)2(1)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successful2(1)The probability of occurrence; p (a)2(2)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successful2(2)The probability of occurrence; p (a)2(j)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successful2(j)The probability of occurrence; p (a)2(1)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal fails2(1)The probability of occurrence; p (a)2(2)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal fails2(2)The probability of occurrence;P(a2(j)z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal fails2(j)The probability of occurrence;

wherein, P (a)N(1)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successfulN(1)The probability of occurrence; p (a)N(2)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successfulN(2)The probability of occurrence; p (a)N(k)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successfulN(k)The probability of occurrence; p (a)N(1)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal failsN(1)The probability of occurrence; p (a)N(2)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal failsN(2)The probability of occurrence; p (a)N(k)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal failsN(k)The probability of occurrence;

step 6, obtaining values or value ranges corresponding to the N characteristics in step 2, which are used when a certain electric energy meter is to be collected by a certain electric power collection terminal, wherein the values or value ranges are respectively as follows: a is1(m)、a2(n)、aN(q)(ii) a Wherein m ∈ {1, 2, … i }; n ∈ {1, 2, … j }; q ∈ {1, 2, … k };

7, calculating the probability P1 that the electric energy meter data to be acquired are successfully acquired and the probability P2 that the electric energy meter data are failed to be acquired by the electric power acquisition terminal in the step 6;

P1=P(Z=1)*P(a1(m)|Z=1)*P(a2(n)|Z=1)*…P(aN(q)|Z=1);

P2=P(Z=0)*P(a1(m)|Z=0)*P(a2(n)|Z=0)*…P(aN(q)|Z=0);

step 8, comparing the sizes of P1 and P2 to obtain a prediction result;

if P1> P2, the probability of successful acquisition is high, and the prediction result is successful acquisition; if P1 is less than P2, the probability of acquisition failure is high, and the prediction result is acquisition failure;

9, when the prediction result is that the collection is successful, the electric power collection terminal directly collects the electric energy meter to be collected; and when the prediction result is that the collection fails, the power collection terminal actively reports.

2. The method for improving the acquisition success rate of the power acquisition terminal according to claim 1, characterized in that: the characteristics of the failure in the step 2 caused by the acquisition of the power acquisition terminal are one or more of low version of the carrier module, weak signal of the carrier module, damaged carrier module, unmatched version of the carrier module, incorrect file of the electric energy meter, low version of the software of the electric energy meter, damaged meter, incorrect parameter of the electric energy meter, wrong address of the power acquisition terminal or/and clock error between the power acquisition terminal and the electric energy meter.

3. The method for improving the acquisition success rate of the power acquisition terminal according to claim 2, characterized in that: the characteristics extracted in the step 1 are 5, which are respectively as follows: whether the parameters of the electric energy meter are correct, whether the clock difference between the electric power acquisition terminal and the electric energy meter is correct, whether the versions of the carrier modules are matched, whether the electric power acquisition terminal is upgraded and whether the files of the electric energy meter are correct.

4. The method for improving the acquisition success rate of the power acquisition terminal according to claim 3, wherein the method comprises the following steps: the value or value range corresponding to each feature in the step 2 is as follows:

a1={a1(1)=0、a1(2)=1};a1(1)the parameter of the electric energy meter is correct when being equal to 0; a is1(1)1 represents that the parameters of the electric energy meter are incorrect;

a2={a2(1)<1 hour, 1 hour<a2(2)<2 days, a2(3)> 2 days }; a is2(1)<1 hour represents that the clock difference between the power acquisition terminal and the electric energy meter is less than 1 hour; 1 hour<a2(2)<2 days means that the clock difference between the power acquisition terminal and the electric energy meter is more than 1 hour and less than2 days; a is2(3)The clock difference between the power acquisition terminal and the electric energy meter is more than 2 days when the time is more than 2 days;

a3={a3(1)=0、a3(2)=1};a3(1)0 represents carrier module version mismatch; a is3(2)1 represents carrier module version matching;

a4={a4(1)=0、a4(2)=1};a4(1)0 means that the power acquisition terminal has not been upgraded, a4(2)1 represents that the power acquisition terminal is upgraded;

a5={a5(1)=0、a5(2)=1};a5(1)0 represents that the electric energy meter file is incorrect; a is5(2)1 indicates that the electric energy meter file is correct.

5. The method for improving the acquisition success rate of the power acquisition terminal according to claim 1, characterized in that: the power acquisition terminal is a concentrator.

6. The method for improving the acquisition success rate of the power acquisition terminal according to claim 1, characterized in that: in the step 4:

p (Z is 1) is the number of electric energy meters/M with successful data acquisition;

p (Z is 0) is the number/M of electric energy meters with failed data acquisition;

and the number of electric energy meters with successful data acquisition plus the number of electric energy meters with failed data acquisition is M.

7. The method for improving the acquisition success rate of the power acquisition terminal according to claim 1, characterized in that: and the electric energy meter to be collected in the step 6 and the electric energy meter with the concentrated sample in the step 3 belong to the same region.

8. Electric power acquisition terminal, its characterized in that: the method for improving the acquisition success rate of the power acquisition terminal according to any one of claims 1 to 7.

9. The power harvesting terminal of claim 8, wherein: and the power acquisition terminal is also in communication connection with the master station.

10. The power harvesting terminal of claim 9, wherein: and the power acquisition terminal is in communication connection with the master station in a wireless mode.

Technical Field

The invention relates to the field of power acquisition, in particular to a method for improving acquisition success rate of a power acquisition terminal and the power acquisition terminal.

Background

In the power acquisition system, the situation that data of individual electric energy meters cannot be acquired by a concentrator is a ubiquitous phenomenon, and as a maintenance person of the power system, the electric energy meters which possibly cause data acquisition failure can be expected to be judged in advance, so that necessary measures are taken in advance, the acquisition success rate of the whole distribution area is improved, and the knowledge and supervision of the power acquisition system can be enhanced.

The results of collecting all the electric energy meters in the electric power collection system are divided into two categories of collection success and collection failure, and the factors causing the electric power collection terminal to collect the electric energy meter data failure are many:

firstly, carrier module reasons; the carrier module version is low, the carrier signal is weak, the carrier module is in fault, and the carrier module between the power acquisition terminal and the electric energy meter is not matched;

secondly, the meter reading of the power acquisition terminal is slow; the electric power acquisition terminal is unstable in meter reading, low in software version and faulty in meter reading;

secondly, parameters of the power acquisition terminal are disordered; after the power acquisition terminal is upgraded, parameters are lost, and the address of the power acquisition terminal is wrong;

and fourthly, clock difference exists between the electric power acquisition terminal and the electric energy meter.

If the electric energy meter data is detected through pure manual detection before the electric energy meter data is collected at the electric power collection terminal, factors which can cause the collection failure of the electric power collection terminal need to be eliminated one by one, a large amount of manpower needs to be consumed, and the efficiency is very low. Further improvements are therefore desirable.

Disclosure of Invention

The first technical problem to be solved by the invention is to provide a method for improving the acquisition success rate of the power acquisition terminal, which is simple and realizes artificial early interference by acquiring a predicted acquisition result, aiming at the current situation of the prior art.

The second technical problem to be solved by the present invention is to provide an electric power collecting terminal applying the method for improving the collecting success rate of the electric power collecting terminal, aiming at the current situation of the prior art.

The technical scheme adopted by the invention for solving the first technical problem is as follows: a method for improving the acquisition success rate of a power acquisition terminal is characterized in that: the method comprises the following steps:

step 1, acquiring historical data of Q electric energy meters in a certain area acquired by an electric power acquisition terminal, and extracting N characteristics causing acquisition failure of the electric power acquisition terminal from the historical data, wherein the N characteristics are first characteristics a which are mutually independent1A second characteristic2N characteristics aN(ii) a N is a positive integer;

step 2, dividing the values or value ranges of the N characteristics according to the attributes of the characteristics in the step 1 to obtain the values or value ranges corresponding to the characteristics;

a1={a1(1)、a1(2)...a1(i)};a2={a2(1)、a2(2)...a2(j)};aN={aN(1)、aN(2)...aN(k)};

wherein, a1(1)、a1(2)...a1(i)Are respectively a first characteristic a1The divided 1 st, 2 nd and ith values or value ranges, wherein i is a first characteristic a1The total number of the divided values or value ranges; a is2(1)、a2(2)...a2(j)Respectively is the second characteristic a2The divided 1 st, 2 nd and jth values or value ranges, wherein j is a second characteristic a2The total number of the divided values or value ranges; a isN(1)、aN(2)...aN(k)Respectively is the Nth feature aNThe divided 1 st, 2 nd and k th values or value ranges, wherein k is the Nth characteristic aNThe total number of the divided values or value ranges;

step 3, randomly selecting M electric energy meters from the historical data collected by the electric power collection terminal in the step 1 as a sample set; m is a positive integer and M is less than or equal to Q; recording Z as 1 when the power acquisition terminal successfully acquires certain electric energy meter data, and recording Z as 0 when the power acquisition terminal fails to acquire certain electric energy meter data;

step 4, calculating the probability P (Z is 1) of success and the probability P (Z is 0) of failure of data acquisition of all electric energy meters in the electric power acquisition terminal acquisition sample set; wherein P (Z ═ 1) + P (Z ═ 0) ═ 1;

step 5, calculating the probability of the value or the value range corresponding to each characteristic in the step 2 used when the power acquisition terminal acquires the data of each electric energy meter in the sample set in the step 3;

P(a1(1)|Z=1)、P(a1(2)|Z=1)...P(a1(i)|Z=1);

P(a1(1)|Z=0)、P(a1(2)|Z=0)、...P(a1(i)|Z=0);

wherein, P (a)1(1)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successful1(1)The probability of occurrence; p (a)1(2)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successful1(2)The probability of occurrence; p (a)1(i)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successful1(i)The probability of occurrence; p (a)1(1)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal fails1(1)The probability of occurrence; p (a)1(2)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal fails1(2)The probability of occurrence; p (a)1(i)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal fails1(i)The probability of occurrence;

P(a2(1)|Z=1)、P(a2(2)|Z=1)、...P(a2(j)|Z=1);

P(a2(1)|Z=0)、P(a2(2)|Z=0)、...P(a2(j)|Z=0);

wherein, P (a)2(1)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successful2(1)The probability of occurrence; p (a)2(2)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successful2(2)The probability of occurrence; p (a)2(j)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successful2(j)The probability of occurrence; p (a)2(1)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal fails2(1)The probability of occurrence; p (a)2(2)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal fails2(2)The probability of occurrence; p (a)2(j)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal fails2(j)The probability of occurrence;

... ... ...

P(aN(1)|Z=1)、P(aN(2)|Z=1)、...P(aN(k)|Z=1);

P(aN(1)|Z=0)、P(aN(2)|Z=0)、...P(aN(k)|Z=0);

wherein, P (a)N(1)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successfulN(1)The probability of occurrence; p (a)N(2)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successfulN(2)The probability of occurrence; p (a)N(k)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successfulN(k)The probability of occurrence; p (a)N(1)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal failsN(1)The probability of occurrence; p (a)N(2)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal failsN(2)The probability of occurrence; p (a)N(k)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal failsN(k)The probability of occurrence;

step 6, obtaining values or value ranges corresponding to the N characteristics in step 2, which are used when a certain electric energy meter is to be collected by a certain electric power collection terminal, wherein the values or value ranges are respectively as follows: a is1(m)、a2(n)、aN(q)(ii) a Wherein m belongs to {1, 2,. i }; n belongs to {1, 2,. j }; q ∈ {1, 2,. k };

7, calculating the probability P1 that the electric energy meter data to be acquired are successfully acquired and the probability P2 that the electric energy meter data are failed to be acquired by the electric power acquisition terminal in the step 6;

P1=P(Z=1)*P(a1(m)|Z=1)*P(a2(n)|Z=1)*...P(aN(q)|Z=1);

P2=P(Z=0)*P(a1(m)|Z=0)*P(a2(n)|Z=0)*...P(aN(q)|Z=0);

step 8, comparing the sizes of P1 and P2 to obtain a prediction result;

if P1 is greater than P2, the probability of successful acquisition is high, and the prediction result is successful acquisition; if P1 is less than P2, the probability of acquisition failure is high, and the prediction result is acquisition failure;

9, when the prediction result is that the collection is successful, the electric power collection terminal directly collects the electric energy meter to be collected; and when the prediction result is that the collection fails, the power collection terminal actively reports.

Preferably, the characteristics of the failure in the power acquisition terminal acquisition in step 1 are one or more of low version of the carrier module, weak signal of the carrier module, damaged carrier module, unmatched version of the carrier module, incorrect file of the electric energy meter, low version of software of the electric energy meter, damaged meter, incorrect parameter of the electric energy meter, wrong address of the power acquisition terminal, and/or clock error between the power acquisition terminal and the electric energy meter.

Preferably, the number of the features extracted in the step 1 is 5, and the features are respectively as follows: whether the parameters of the electric energy meter are correct, whether the clock difference between the electric power acquisition terminal and the electric energy meter is correct, whether the versions of the carrier modules are matched, whether the electric power acquisition terminal is upgraded and whether the files of the electric energy meter are correct.

Further, the value or value range corresponding to each feature in the step 2 is as follows:

a1={a1(1)=0、a1(2)=1};a1(1)the parameter of the electric energy meter is correct when being equal to 0; a is1(1)1 represents that the parameters of the electric energy meter are incorrect;

a2={a2(1)< 1 hour, 1 hour < a2(2)< 2 days, a2(3)> 2 days }; a is2(1)The time difference between the electric power acquisition terminal and the electric energy meter is less than 1 hour when the time difference is less than 1 hour; 1 hour < a2(2)The time difference between the electric power acquisition terminal and the electric energy meter is more than 1 hour and less than 2 days when the time is less than 2 days; a is2(3)>2The day represents that the clock difference between the electric power acquisition terminal and the electric energy meter is more than 2 days;

a3={a3(1)=0、a3(2)=1};a3(1)0 represents carrier module version mismatch; a is3(2)1 represents carrier module version matching;

a4={a4(1)=0、a4(2)=1};a4(1)0 means that the power acquisition terminal has not been upgraded, a4(2)1 represents that the power acquisition terminal is upgraded;

a5={a5(1)=0、a5(2)=1};a5(1)0 represents that the electric energy meter file is incorrect; a is5(2)1 indicates that the electric energy meter file is correct.

In the scheme, the electric power acquisition terminal is a concentrator.

Specifically, in the step 4:

p (Z is 1) is the number of electric energy meters/M with successful data acquisition;

p (Z is 0) is the number/M of electric energy meters with failed data acquisition;

and the number of electric energy meters with successful data acquisition plus the number of electric energy meters with failed data acquisition is M.

In order to improve the collection success rate of the electric power collection terminal, the electric energy meter to be collected in the step 6 and the electric energy meter with the concentrated sample in the step 3 belong to the same region.

The technical scheme adopted by the invention for solving the second technical problem is as follows: electric power acquisition terminal, its characterized in that: and collecting according to the method for improving the collection success rate of the power collection terminal.

In order to realize data reading of the power data, the power acquisition terminal is also in communication connection with the master station.

Preferably, the power acquisition terminal is in communication connection with the master station in a wireless manner.

Compared with the prior art, the invention has the advantages that: before the electric energy meter of a certain distribution area is collected by the electric power collection terminal, historical collection data of the distribution area are obtained, a plurality of characteristics which cause collection failure of the electric power collection terminal are extracted, the judgment conditions of collection success or failure are predicted through characteristic analysis, and the probability between the collection success or failure and the characteristic parameters used by the collection success or failure is obtained through the historical data, so that the collection result of the electric energy meter to be collected is judged in advance. Aiming at the electric energy meter with the prediction result of possible acquisition failure, some necessary measures are manually taken in advance to prevent the acquisition failure, so that the acquisition success rate of the electric power acquisition terminal is improved, and the acquisition success rate of the whole distribution room is improved.

Drawings

Fig. 1 is a flowchart of a method for increasing a collection success rate of a power collection terminal in an embodiment of the present invention.

Detailed Description

The invention is described in further detail below with reference to the accompanying examples.

As shown in fig. 1, the method for improving the acquisition success rate of the power acquisition terminal in this embodiment includes the following steps:

step 1, acquiring historical data of Q electric energy meters in a certain area acquired by an electric power acquisition terminal, and extracting N characteristics causing acquisition failure of the electric power acquisition terminal from the historical data, wherein the N characteristics are first characteristics a which are mutually independent1A second characteristic2N characteristics aN(ii) a N is a positive integer;

the power acquisition terminal is characterized by one or more of low version of a carrier module, weak signal of the carrier module, damaged carrier module, unmatched version of the carrier module, incorrect file of an electric energy meter, low version of software of the electric energy meter, damaged meter, incorrect parameter of the electric energy meter, wrong address of the power acquisition terminal or/and clock error between the power acquisition terminal and the electric energy meter;

the characteristics influencing the failure of data acquisition need to be mutually independent and not interfered with each other, and have no causal relationship;

step 2, dividing the values or value ranges of the N characteristics according to the attributes of the characteristics in the step 1 to obtain the values or value ranges corresponding to the characteristics;

a1={a1(1)、a1(2)...a1(i)};a2={a2(1)、a2(2)...a2(j)};aN={aN(1)、aN(2)...aN(k)};

wherein, a1(1)、a1(2)...a1(i)Are respectively a first characteristic a1The divided 1 st, 2 nd and ith values or value ranges, wherein i is a first characteristic a1The total number of the divided values or value ranges; a is2(1)、a2(2)...a2(j)Respectively is the second characteristic a2The divided 1 st, 2 nd and jth values or value ranges, wherein j is a second characteristic a2The total number of the divided values or value ranges; a isN(1)、aN(2)...aN(k)Respectively is the Nth feature aNThe divided 1 st, 2 nd and k th values or value ranges, wherein k is the Nth characteristic aNThe total number of the divided values or value ranges;

step 3, randomly selecting M electric energy meters from the historical data collected by the electric power collection terminal in the step 1 as a sample set; m is a positive integer and M is less than or equal to Q; recording Z as 1 when the power acquisition terminal successfully acquires certain electric energy meter data, and recording Z as 0 when the power acquisition terminal fails to acquire certain electric energy meter data;

step 4, calculating the probability P (Z is 1) of success and the probability P (Z is 0) of failure of data acquisition of all electric energy meters in the electric power acquisition terminal acquisition sample set; wherein P (Z ═ 1) + P (Z ═ 0) ═ 1;

wherein, P (Z is 1) is the number of electric energy meters/M with successful data acquisition;

p (Z is 0) is the number/M of electric energy meters with failed data acquisition;

the number of electric energy meters with successful data acquisition plus the number of electric energy meters with failed data acquisition is M;

step 5, calculating the probability of the value or the value range corresponding to each characteristic in the step 2 used when the power acquisition terminal acquires the data of each electric energy meter in the sample set in the step 3;

P(a1(1)|Z=1)、P(a1(2)|Z=1)...P(a1(i)|Z=1);

P(a1(1)|Z=0)、P(a1(2)|Z=0)、...P(a1(i)|Z=0);

wherein, P (a)1(1)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successful1(1)The probability of occurrence; p (a)1(2)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successful1(2)The probability of occurrence; p (a)1(i)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successful1(i)The probability of occurrence; p (a)1(1)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal fails1(1)The probability of occurrence; p (a)1(2)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal fails1(2)The probability of occurrence; p (a)1(i)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal fails1(i)The probability of occurrence;

P(a2(1)|Z=1)、P(a2(2)|Z=1)、...P(a2(j)|Z=1);

P(a2(1)|Z=0)、P(a2(2)|Z=0)、...P(a2(j)|Z=0);

wherein, P (a)2(1)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successful2(1)The probability of occurrence; p (a)2(2)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successful2(2)The probability of occurrence; p (a)2(j)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successful2(j)The probability of occurrence; p (a)2(1)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal fails2(1)The probability of occurrence; p (a)2(2)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal fails2(2)The probability of occurrence; p (a)2(j)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal fails2(j)The probability of occurrence;

... ... ...

P(aN(1)|Z=1)、P(aN(2)|Z=1)、...P(aN(k)|Z=1);

P(aN(1)|Z=0)、P(aN(2)|Z=0)、...P(aN(k)|Z=0);

wherein, P (a)N(1)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successfulN(1)The probability of occurrence; p (a)N(2)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successfulN(2)The probability of occurrence; p (a)N(k)1) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal is successfulN(k)The probability of occurrence; p (a)N(1)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal failsN(1)The probability of occurrence; p (a)N(2)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal failsN(2)The probability of occurrence; p (a)N(k)Z ═ 0) is a under the condition that the electric energy meter data acquisition of the electric power acquisition terminal failsN(k)The probability of occurrence;

step 6, obtaining values or value ranges corresponding to the N characteristics in step 2, which are used when a certain electric energy meter is to be collected by a certain electric power collection terminal, wherein the values or value ranges are respectively as follows: a is1(m)、a2(n)、aN(q)(ii) a Wherein m belongs to {1, 2,. i }; n belongs to {1, 2,. j }; q ∈ {1, 2,. k };

because the environmental factors of each distribution area are different, in order to improve the acquisition success rate of the power acquisition terminal as much as possible, in this embodiment, the electric energy meter to be acquired and the electric energy meter with the concentrated samples in the step 3 belong to the same distribution area;

7, calculating the probability P1 that the electric energy meter data to be acquired are successfully acquired and the probability P2 that the electric energy meter data are failed to be acquired by the electric power acquisition terminal in the step 6;

P1=P(Z=1)*P(a1(m)|Z=1)*P(a2(n)|Z=1)*...P(aN(q)|Z=1);

P2=P(Z=0)*P(a1(m)|Z=0)*P(a2(n)|Z=0)*...P(aN(q)|Z=0);

step 8, comparing the sizes of P1 and P2 to obtain a prediction result;

if P1 is greater than P2, the probability of successful acquisition is high, and the prediction result is successful acquisition; if P1 is less than P2, the probability of acquisition failure is high, and the prediction result is acquisition failure;

9, when the prediction result is that the collection is successful, the electric power collection terminal directly collects the electric energy meter to be collected; and when the prediction result is that the collection fails, the power collection terminal actively reports.

The prediction method is essentially Bayesian theory, the prediction judgment basis not only considers the probability of the total occurrence of various references, but also considers the loss caused by misjudgment, and the judgment capability is strong.

In this embodiment, the power collection terminal is a concentrator.

The method is described in the following specific examples, in this example, 5 features are extracted according to the actual collection result, and are respectively: whether the parameters of the electric energy meter are correct, whether the clock difference between the electric power acquisition terminal and the electric energy meter is matched, whether the version of the carrier module is matched, whether the electric power acquisition terminal is upgraded and whether the file of the electric energy meter is correct;

the values or value ranges obtained after the 5 features are divided in the step 2 are as follows:

a1={a1(1)=0、a1(2)=1};a1(1)the parameter of the electric energy meter is correct when being equal to 0; a is1(1)1 represents that the parameters of the electric energy meter are incorrect;

a2={a2(1)< 1 hour, 1 hour < a2(2)< 2 days, a2(3)> 2 days }; a is2(1)The time difference between the electric power acquisition terminal and the electric energy meter is less than 1 hour when the time difference is less than 1 hour; 1 hour < a2(2)The time difference between the electric power acquisition terminal and the electric energy meter is more than 1 hour and less than 2 days when the time is less than 2 days; a is2(3)The clock difference between the power acquisition terminal and the electric energy meter is more than 2 days when the time is more than 2 days;

a3={a3(1)=0、a3(2)=1};a3(1)0 represents carrier module version mismatch; a is3(2)1 represents carrier module version matching;

a4={a4(1)=0、a4(2)=1};a4(1)0 means that the power acquisition terminal has not been upgraded, a4(2)1 represents that the power acquisition terminal is upgraded;

a5={a5(1)=0、a5(2)=1};a5(1)0 represents that the electric energy meter file is incorrect; a is5(2)1 represents that the electric energy meter file is correct;

assuming that the number of the electric energy meters with successful data acquisition in the step 3 is b, the number of the electric energy meters with failed data acquisition is M-b;

in the electric energy meter with successful data acquisition: the number of correct parameters of the electric energy meter is c1, and the number of incorrect parameters of the electric energy meter is: b-c 1; the number of clock differences between the power acquisition terminal and the electric energy meter which are smaller than 1 hour is c2, the number of clock differences between the power acquisition terminal and the electric energy meter which are larger than 1 hour and smaller than 2 days is c3, and the number of clock differences between the power acquisition terminal and the electric energy meter which are larger than 2 days is b-c2-c 3; the number of unmatched carrier module versions is c4, and the number of matched carrier module versions is b-c 4; the number of the power acquisition terminals which are not upgraded is c5, and the number of the power acquisition terminals which are not upgraded is b-c 5; the incorrect number of the electric energy meter files is c6, and the correct number of the electric energy meter files is b-c 6;

in the electric energy meter with failed data acquisition: the number of correct parameters of the electric energy meter is d1, and the number of incorrect parameters of the electric energy meter is: m-b-d 1; the number of clock differences between the power acquisition terminal and the electric energy meter which are smaller than 1 hour is d2, the number of clock differences between the power acquisition terminal and the electric energy meter which are larger than 1 hour and smaller than 2 days is d3, and the number of clock differences between the power acquisition terminal and the electric energy meter which are larger than 2 days is M-b-d2-d 3; the number of unmatched carrier module versions is d4, and the number of matched carrier module versions is M-b-d 4; the number of the power acquisition terminals which are not upgraded is d5, and the number of the power acquisition terminals which are not upgraded is M-b-d 5; the incorrect number of the electric energy meter files is d6, and the correct number of the electric energy meter files is M-b-d 6;

then in a step 4 it is determined that,

suppose that: in the step 6, the values or value ranges corresponding to the 5 characteristics used by the electric energy meter to be collected are respectively as follows: a is1(1)、a2(1)、a3(1)、a4(2)And a5(2)And then:

the sizes of P1 and P2 can be compared to obtain the prediction result.

Before the electric energy meter of a certain station area is collected, the electric power collection terminal acquires historical collection data of the station area, extracts a plurality of characteristics causing collection failure of the electric power collection terminal, and then acquires the probability of the value or the value range corresponding to each characteristic under the condition that the electric power collection terminal successfully or unsuccessfully collects the electric energy meter data in the historical collection data, so that the electric power collection terminal can calculate the probability of successful or failed collection of the electric power collection terminal according to the value or the value range of the characteristics used by the electric energy meter to be collected, and a prediction result of successful or failed collection is obtained. Aiming at the ammeter with the prediction result possibly causing data acquisition failure, some necessary measures are manually taken in advance to prevent acquisition failure, so that the acquisition success rate of the power acquisition terminal is improved, and the acquisition success rate of the whole distribution room is improved.

A power acquisition terminal acquires according to the method for improving the acquisition success rate of the power acquisition terminal.

The power acquisition terminal is also in communication connection with the master station. In general, the power acquisition terminal is in communication connection with the master station in a wireless manner.

The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the technical principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:低压集抄系统RS485总线通信故障仿真系统和方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!