Method, device and system for detecting integral error of electric energy metering device
Technical Field
The invention belongs to the field of electric energy metering, and particularly relates to a method, a device and a system for detecting the integral error of an electric energy metering device.
Background
It is difficult for the electric energy metering device in use to determine whether the metering error is out of tolerance. Mainly because: firstly, an electric energy metering device is generally formed by three components, namely a current transformer, a voltage transformer and an electric energy meter. The error of the device is a comprehensive error calculated by the measuring accuracy of the three components. The comprehensive error has the use defects that: it is not, but not directly measurable. More seriously, the real overall error of the electric energy metering device is likely to be larger than the comprehensive error of the electric energy metering device and is not easy to measure. And secondly, the field calibration of errors of the current transformer and the voltage transformer must be carried out by power failure, so that inconvenience is brought to users, and power supply loss is caused. And thirdly, the error field calibration of the three components of the electric energy metering device consumes working hours, and because hundreds of millions of electric energy metering devices are installed in China, the field calibration work of the errors of all the metering devices cannot be completed according to the regulations by manpower and material resources of each power supply company.
At present, the remote automatic meter reading technology of the intelligent electric meter is mature and is popularized and opened worldwide. If the method can get rid of the dependence on the use of external standard instruments, only reads the electric energy data of the cluster electric energy meters, performs calculation and analysis, and calculates the overall error of each electric energy metering device, the real error of the electric energy metering device can be correctly judged, the operation and maintenance cost of the electric energy meters in use can be reduced, and the legal interests of both electric energy suppliers and consumers can be protected.
In the article "autonomous error algorithm of smart meter cluster" of 9 th month and 5 th month in the journal of metrology 2011, a method for extracting a relative error of each electric energy meter by analyzing and mining only a reading database of the electric energy meter cluster is mentioned. However, the method of the paper is based on the analysis conclusion made under the assumed application environment, which only discusses the problem of average error of the low-voltage electric energy meter, and cannot be applied to the overall error self-check of the real electric energy metering device. The statistical value of the electric energy meter is calculated comprehensively, only the average error value of the electric energy meter can be obtained, the average error value has no any significance in the technical and practical application values, and the method even can cause that the quality of the electric energy meter is judged by mistake. In fact, it is not practical to merely correct the measurement error of the electric energy meter, because it is not the error of the electric energy meter but the overall error of the electric energy metering device that determines whether the electric energy metering is accurate.
Disclosure of Invention
The embodiment of the invention aims to solve the problems that the integral error can not be detected, the errors of a current transformer and a voltage transformer of a metering device can be detected on site only by carrying out power failure treatment on each electric energy metering device, and the conventional detection cannot be carried out by law when the number of the metering devices is too large in the prior art. And improves the usability and accuracy of the overall error detection value.
The invention is realized by the following steps:
in a first aspect, the present invention provides a method for detecting an overall error of an electric energy metering device, where a system to be tested includes a plurality of electric energy metering devices, and each of the metering devices is configured to meter electric energy input and electric energy output in the system to be tested, and the system to be tested is a non-energy-consuming system, specifically:
the method comprises the following steps that a preset integral error value is given to at least one electric energy metering device in a system to be tested and serves as an error standard, and each electric energy metering device in the system to be tested measures electric energy data of a line where the electric energy metering device is located and uploads the electric energy data to an electric energy data computing system; the electric energy data uploaded to the electric energy data computing system comprise electric energy data collected by an electric energy metering device serving as an error standard;
the electric energy data calculation system calculates and obtains initial values of overall errors of all the electric energy metering devices except the error standard device according to the obtained electric energy data;
and obtaining a final value of the integral error of the error standard device according to the error standard device, and calculating to obtain the final value of the integral error of each electric energy metering device except the error standard device by combining the preset integral error value and the initial value of the integral error of each electric energy metering device.
Preferably, the system under test is a non-energy-consumption system, and specifically includes:
and the sum of the electric energy flowing through the incoming line electric energy metering device in the system to be tested is equal to the sum of the electric energy flowing through the outgoing line electric energy metering device in the system to be tested.
Preferably, the final value of the overall error is a real error of the electric energy metering device in the operating state, and specifically includes:
the method comprises the steps of calculating the error sum caused by the self-metering accuracy of an electric energy metering chip and a circuit thereof, a current transformer and a voltage transformer, and the error sum caused by other influencing factors;
wherein, the sum of errors caused by other influencing factors comprises: the error caused by the influence of the electromagnetic environment of the three parts on the self and the error caused by the mutual interference of the three parts.
Preferably, after each electric energy metering device in the system to be tested measures electric energy data of a line where the electric energy metering device is located and uploads the electric energy data to the electric energy data computing system, the method further includes:
the electric energy data computing system receives electric energy and related current data from each electric energy metering device, and determines and classifies a load current segment to which the electric energy data belongs according to the current data;
and storing the electric energy data processed according to the load current section classification for calculating the initial value of the overall error of the subsequent electric energy metering device.
Preferably, the obtaining a final value of the overall error of the electric energy metering device according to the error standard, and calculating to obtain a final value of the overall error of each electric energy metering device except the error standard by combining the preset overall error value and the initial value of the overall error of each electric energy metering device specifically includes:
calculating a difference value between the final value of the overall error of the error standard device and a preset overall error value corresponding to the error standard device by detecting the final value of the overall error of the error standard device;
and calculating the distance between the initial value of the overall error of each electric energy metering device and the difference value to obtain the final value of the overall error of each electric energy metering device.
Preferably, the electric energy data calculation system calculates an initial value of an overall error of each electric energy metering device except the error standard according to the acquired electric energy data, and specifically includes
According to the fact that electric energy data recorded by an incoming line electric energy metering device and an outgoing line electric energy metering device in the system to be tested meet an electric energy conservation principle, the electric energy data recorded by the incoming line electric energy metering device and the electric energy data recorded by the outgoing line electric energy metering device in a specified time are combined with error value variables of the incoming line electric energy metering device and the outgoing line electric energy metering device under the load current segmentation respectively to construct an energy balance equation, and N equations can be formed and form an equation set by reading the electric energy data of the system to be tested for N times, wherein N is a natural number; the energy balance equation set comprises error value variables of each electric energy metering device in each load current segment;
the error calculator acquires the stored electric energy data of each electric energy metering device in the corresponding load current section;
and the electric energy data is segmented according to the corresponding load current, substituted into an energy balance equation set to serve as a coefficient of a corresponding error value variable, and the energy balance equation set is solved by using the known error of an error standard device to obtain the error value of each electric energy metering device in each load current segment.
Preferably, the method further comprises:
setting each electric energy metering device in the system to be tested to segment according to the designated time and the load current, measuring and recording respective electric energy data, classifying, distinguishing, storing and reporting to an electric energy data computing system according to the load current segments; or,
and setting each electric energy metering device in the system to be tested to measure and record respective electric energy data and current data according to the designated time, and reporting the electric energy data and the current data to the electric energy data computing system.
In a second aspect, the present invention further provides a device for detecting an overall error of an electric energy metering device, where the device includes a data transceiver unit, a storage unit, and a processing module, and specifically includes:
the data receiving and sending unit is used for receiving the electric energy data uploaded by each electric energy metering device in the system to be tested;
the storage unit is used for storing electric energy data of each electric energy metering device;
the processing module is used for analyzing the electric energy data uploaded by each electric energy metering device, determining the load current segment to which the electric energy data belongs, and storing the electric energy data into the storage unit according to the corresponding relation among the electric energy metering device identification or the error standard device identification, the load current segment and the electric energy data; the processing module is further used for calculating the overall error of each electric energy metering device according to the electric energy data.
Preferably, the processor is further configured to:
according to the fact that electric energy data recorded by an incoming line electric energy metering device and an outgoing line electric energy metering device in the system to be tested meet an electric energy conservation principle, the electric energy data recorded by the incoming line electric energy metering device and the electric energy data recorded by the outgoing line electric energy metering device in a specified time are combined with error value variables of the incoming line electric energy metering device and the outgoing line electric energy metering device under the load current segmentation respectively to construct an energy balance equation, and N equations can be formed and form an equation set by reading the electric energy data of the system to be tested for N times, wherein N is a natural number; the energy balance equation set comprises error value variables of each electric energy metering device in each load current segment;
the error calculator acquires the stored electric energy data of each electric energy metering device in the corresponding load current section;
and the electric energy data is segmented according to the corresponding load current, substituted into an energy balance equation set to serve as a coefficient of a corresponding error value variable, and the energy balance equation set is solved by using the known error of an error standard device to obtain the error value of each electric energy metering device in each load current segment.
In a third aspect, the invention further provides a system for detecting the overall error of the electric energy metering device, wherein the system to be detected comprises a plurality of electric energy metering devices, and each metering device is used for metering the electric energy input and the electric energy output in the system to be detected; giving a preset integral error value to at least one electric energy metering device in a system to be tested and using the integral error value as an error standard device; each electric energy metering device measures the electric energy data of the line where the electric energy metering device is located and reports the electric energy data to the electric energy data computing system to compute the error of each electric energy metering device;
the system to be tested is a non-energy-consumption system, and the sum of electric energy flowing through the incoming electric energy metering devices in the system to be tested is equal to the sum of electric energy flowing through the outgoing electric energy metering devices in the system to be tested;
in the system to be tested, each electric energy metering device measures the electric energy data of the line in which each electric energy metering device is positioned according to a preset mode and reports the electric energy data to the electric energy data computing system for data processing and final value computation of the whole error;
the electric energy data calculation system performs data processing and final value calculation of an overall error, and specifically comprises the following steps:
the electric energy data calculation system calculates and obtains initial values of overall errors of all the electric energy metering devices except the error standard device according to the obtained electric energy data;
and obtaining a final value of the integral error of the error standard device according to the error standard device, and calculating to obtain the final value of the integral error of each electric energy metering device except the error standard device by combining the preset integral error value and the initial value of the integral error of each electric energy metering device.
The method and the device for detecting the integral error of the electric energy metering device have the advantages that: the self-checking method and the self-checking device realize the self-checking of the whole error of the electric energy metering device, and solve the problems that the whole error in the prior art can not be detected, the errors of the current transformer and the voltage transformer of the metering device can be detected on site only by power failure, and the metering device is too large in number to be detected according to rules. In addition, in the preferred scheme, the error of the electric energy metering device has a certain relation with the load size of the electric energy metering device, electric energy data meeting conditions are extracted according to different loads of a line where the metering device is located, and the overall error value of the metering device is calculated in a segmented mode according to the load size. The reliability of the overall error detection value is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the embodiments or the description of the prior art will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic flow chart of a method for detecting an overall error of an electric energy metering device according to an embodiment of the present invention;
FIG. 2 is a block diagram of a system under test including an electric energy metering device according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of power data preprocessing according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an electrical energy data storage relationship provided by an embodiment of the present invention;
FIG. 5 is a schematic diagram of an electrical energy data storage relationship provided by an embodiment of the present invention;
FIG. 6 is a schematic diagram of an electrical energy data storage relationship provided by an embodiment of the present invention;
FIG. 7 is a schematic diagram of a calculation process for detecting an overall error of an electric energy metering device according to an embodiment of the present invention;
fig. 8 is a schematic flow chart of power data preprocessing according to an embodiment of the present invention;
FIG. 9 is a schematic structural diagram of an apparatus for detecting an overall error of an electric energy metering apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electric energy metering device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
In the embodiments of the present invention, for example, the electric energy metering device a and the electric energy metering device B are presented, where the letter A, B is merely for convenience of description, and no particular limitation is imposed on the function thereof. In the embodiment of the present invention, the electric energy metering device a may be any one of the electric energy metering devices in the system under test.
Example 1:
the embodiment of the invention provides a method for detecting the integral error of an electric energy metering device, a system to be detected comprises a plurality of electric energy metering devices, each metering device is used for metering the electric energy input and the electric energy output in the system to be detected, and the system to be detected is a non-energy consumption system, as shown in figure 1, the method comprises the following steps:
in step 201, a preset overall error value is given to at least one electric energy metering device in a system to be tested and is used as an error standard, and each electric energy metering device in the system to be tested measures electric energy data of a line where the electric energy metering device is located and uploads the electric energy data to an electric energy data calculation system.
The electric energy data uploaded to the electric energy data calculation system comprises electric energy data collected by an electric energy metering device serving as an error standard device.
Preferably, the electric energy metering device can be realized by adopting the following structure, including an electric energy metering chip and a circuit thereof, a voltage sensor and a current sensor; the electric energy metering chip and the circuit thereof, the voltage sensor and the current sensor are shielded so as to reduce the influence of electromagnetic interference to be within a preset threshold value. The preset threshold value ensures that its electromagnetic interference has a sufficiently small influence on the metering error, for example: the threshold is one in ten thousandth. The electric energy metering chip and the circuit thereof can be an electronic circuit board for electric energy metering and can also be an electric energy meter, and similarly, the current transformer can also be realized by a current sensor, and the voltage transformer can be realized by a voltage sensor. Besides, the electric energy metering device may also adopt a common digital electric meter with a data reporting function, wherein the structure of the preferred electric energy metering device proposed by the embodiment of the present invention can simplify the complexity of the energy equation for calculating each electric energy metering device to a certain extent, because the preferred electric energy cascading device can simplify the interference factor variable parameters in some energy equations through its own electromagnetic shielding property.
Wherein the overall error specifically includes: errors caused by the self metering accuracy of the electric energy metering chip and the circuit thereof, the current transformer and the voltage transformer also comprise errors caused by influence factors; wherein, the error caused by the influence factor comprises: the error caused by the influence of the environment where the three parts are located and the error caused by the mutual interference of the three parts. Theoretically, the total error of the electric energy metering device is a value which includes the real total error of the whole electric energy metering device after the influence of all known and unknown influencing factors. The whole error can only be measured actually in the prior art and cannot be calculated from errors of the electric energy meter and the sensor, and the invention provides a calculation method.
In step 202, the electric energy data calculation system calculates an initial value of the overall error of each electric energy metering device except the error standard device according to the acquired electric energy data
Each electric energy metering device comprises an incoming line electric energy metering device and an outgoing line electric energy metering device, electric energy is metered by the incoming line electric energy metering device and is transmitted to the outgoing line electric energy metering device for metering, and the total amount of the inflow electric energy metered by the incoming line electric energy metering device is equal to the total amount of the outflow electric energy metered by the outgoing line electric energy metering device. For example, M shown in FIG. 20I.e. the incoming electric energy metering device, and M1,M2,…,Mn-1Then is an outlet electric energy metering device, wherein MXIn order to assign a preset integral error value as an error standard in step 201, the electric energy metering devices described in the following are all included in the electric energy metering devices as the error standard unless otherwise specified. The power data may include a current data value, a voltage data value, and/or a power value calculated from the current data value and the voltage data value.
In step 203, a final value of the overall error of the error standard is obtained according to the error standard, and the final value of the overall error of each electric energy metering device except the error standard is obtained through calculation by combining the preset overall error value and the initial value of the overall error of each electric energy metering device.
According to the fact that the electric energy data recorded by the incoming line electric energy metering device and the outgoing line electric energy metering device in the system to be tested meet the electric energy conservation principle, the electric energy data recorded by the incoming line electric energy metering device and the electric energy data recorded by the outgoing line electric energy metering device in the specified time are combined with error value variables of the electric energy data and the electric energy data under the load current section respectively to construct an energy balance equation, and N equations can be formed by reading the electric energy data of the system to be tested for N times to form an equation set; the energy balance equation set comprises error value variables of each electric energy metering device under each load current section.
The embodiment of the invention realizes the calculation of the integral error of the electric energy metering device, and overcomes the low checking efficiency caused by the special setting of the testing environment and the arrangement of a specific testing instrument in the prior art. In addition, the problem that the average error result of the electric energy meter calculated in the prior art cannot be used in industrial error value evaluation is solved, and the accuracy of overall error calculation is improved.
In this embodiment, the giving a preset overall error value to at least one electric energy metering device and serving as an error standard specifically includes:
as shown in fig. 2, Mx (metering by the outgoing electric energy metering device) may be selected as the electric energy metering device to which a preset integral error value is given, as the error standard. The preset integral error value is selected and set by experience, the value of the preset integral error value is counted in a plurality of test experiments, and the difference between the preset integral error value and the final value of the integral error of each electric energy metering device is not too large. In addition, M0 (incoming electric power meter) can be selected as the electric power meter giving a preset integral error value as the error standard. All of the above-described methods may be used to perform the methods described in the embodiments of the present invention.
With reference to the embodiment of the present invention, each electric energy metering device in the system to be tested measures electric energy data of a line in which the electric energy metering device is located and uploads the electric energy data to the electric energy data computing system, and the electric energy data can be uploaded according to a preset mode, where the preset mode specifically includes: setting each electric energy metering device in the system to be tested to record respective electric energy data according to a specified time interval, and reporting the electric energy data to an electric energy data computing system; or setting each electric energy metering device in the system to be tested to record respective electric energy data according to a specified time interval, and reporting the electric energy data to the electric energy data computing system after receiving the data reporting request message.
In the embodiment of the invention, the parameter with the designated time and period is involved, and the parameter value can be set by a worker. This example presents a preferred parameter scheme, specifically: the specified time is specifically 30 days; the time interval is in particular 30 minutes.
With reference to the embodiment of the present invention, preferably, before the executing the electric energy data calculation system to obtain and store the electric energy data of each electric energy metering device in the system under test within the specified time, the method further includes:
receiving an error value analysis instruction; the error value analysis instruction is sent by an operator, or the error value analysis instruction is preset by the operator and triggered periodically, so that the required error value calculated by the electric energy data calculation system is obtained.
Example 2:
in embodiment 1, a method for calculating an overall error of each electric energy metering device according to an error standard device connected to at least one known overall error value and further by combining electric energy data recorded and uploaded by each electric energy metering device in a system to be measured in a preset manner is described. To further enable those skilled in the art to understand how to calculate the overall error of each energy metering device according to the received energy data, the present embodiment provides a method of segment preprocessing according to load current, as shown in fig. 3, including:
in step 301, the electric energy data calculation system receives electric energy data sent by an electric energy metering device a, performs screening according to the electric energy data, and determines a load current segment to which the electric energy data belongs.
In the first mode, the load current segment where the electric energy data is located may be calibrated by the electric energy metering device a when recording the electric energy data of itself. And when the electric energy data is sent to the electric energy data computing system, the sent message carries the load current segmentation information of the electric energy data.
In another mode, the message sent by the electric energy metering device a does not carry load current segment information, that is, the electric energy metering device a only sends the electric energy data to the electric energy data computing system, and the electric energy data computing system analyzes the load current segment where the electric energy data uploaded by the electric energy metering device is located according to the corresponding electric energy metering device.
In step 302, the power data is stored in a storage area identified by power metering device a corresponding to the load current segment.
The corresponding electric energy metering device, the load current segments and the corresponding electric energy data in the electric energy data computing system are stored in a manner shown in fig. 4, wherein the electric energy data stored in each load current segment respectively stores the relevant information of the recording time (the electric energy data is depicted as a whole block in fig. 4, and the corresponding relationship between the electric energy data and the time is not shown). Fig. 5 shows a format manner of combining reporting time and electric energy data storage in the load current segment 1. An example of storing data in a table form is also given in the present embodiment, as shown in fig. 6. The data structure relationships shown in fig. 4, fig. 5 and fig. 6 in embodiment 2 of the present invention are only examples, and the protection scope of the embodiment of the present invention also includes other forms of storage modes related to the load current segment, the recording time and the power data.
Example 3:
in embodiment 3, how the electric energy data calculation system stores the electric energy data uploaded by the electric energy metering devices according to the relationship between the load current segments and the electric energy data is given, and next, embodiment 4 will focus on a specific implementation manner for the electric energy data calculation system in embodiment 1 to calculate the initial value of the overall error of each electric energy metering device according to the received electric energy data. As shown in fig. 7, the method comprises the following steps:
in step 401, electric energy data recorded by an incoming electric energy metering device and an outgoing electric energy metering device in the system to be tested conforms to an electric energy conservation principle, and an energy balance equation set is constructed by combining the electric energy data recorded by the incoming electric energy metering device and the electric energy data recorded by the outgoing electric energy metering device within a specified time with respective error value variables under the load current segment; the energy balance equation set comprises error value variables of each electric energy metering device in each load current segment. The error value of the electric energy metering device serving as the error standard adopts the integral error value preset in the embodiment 1, and the integral error value is used as the solution of the known quantity participation equation.
As shown in FIG. 2, assume that the power reading during the measurement period Ti flowing through the i-th power metering device is Wij(i is 1,2, …, n-1 is serial number of electric energy metering device; j is 1,2, …, m is j-th load current segment), xijFor the ith electric energy metering deviceThe overall error in the jth current segment is then satisfied by the following equation according to the law of conservation of energy:
wherein x isxjThe error of the error standard, which is a known error, in the j-th current segment is a known constant.
In step 402, the electric energy data calculation system obtains the stored electric energy data W of each electric energy metering device in the corresponding load current sectionij. When the number of batches is equal to k m, the number of equations in the equation set is equal to the number of integral errors after the electric energy metering device is segmented, and the equation set has a unique solution. The overall error data for each current segment of the respective electric energy metering device can be measured. And the electric energy data calculation system can refer to the mode shown in fig. 5 when storing the data, so that the electric energy data stored in the corresponding load current segment by each electric energy metering device in the specified time can be obtained, and the electric energy conforms to the energy conservation stated in the formula (1).
In step 403, the electric energy data is substituted into an energy balance equation set as a coefficient of a corresponding error value variable according to the corresponding load current segment, and the energy balance equation set is solved to obtain an error value of each electric energy metering device in each load current segment (i.e., an initial value of the overall error of each electric energy metering device described in embodiment 1).
In connection with the present embodiment, assuming that the load current segment includes 1,2 and 3 levels in the present embodiment, i.e. m is 3, the error value x isijWill also appear as three values:
wherein x isi,1Is MiVariation of error value in 1 st load current segmentAn amount; x is the number ofi,2And xi,3Are respectively MiAn error value variable at the 2 nd load current segment and the 3 rd load current segment. Because the electric energy data uploaded by each electric energy metering device at the same time may include one or more of the above-mentioned 3 load current segments. This situation is caused by the fact that each electric energy metering device records its own electric energy data frequency and the frequency of each electric energy metering device reporting the electric energy data to the electric energy data computing system, for example: each electric energy metering device records the electric energy data once every 10 minutes, and the frequency of reporting the electric energy data is once every 30 minutes, when the electric energy data computing system receives the electric energy data uploaded by one electric energy metering device once, the electric energy data comprises 3 recorded electric energy values, and the 3 recorded electric energy values are likely to correspond to more than one load current segment.
Therefore, the power data calculation system needs to do a round of blocking before applying the stored power data to equations 1) and 2). The step of selecting the plug specifically comprises the steps of analyzing the recording times p contained in the stored electric energy data reported by each electric energy metering device at present; determining the number n of variables of an equation set formed by the error value variables of each electric energy metering device, and equally dividing the recording times into 3 x n groups of parameter values, wherein each group of parameter values comprises p/(3 x n) times of recording values; the p/(3 x n) times of recorded values in each group are accumulated corresponding to the load current which the recorded values belong to in a segmented manner, and the accumulated parameter values are substituted into an equation set to obtain the following equation set
Constructing k sets of parameter values from the electrical energy data selected by the plug, wherein each set of parameter values includes parameter values corresponding to three load current segments, e.g., [ (z)0,1,1,z0,2,1,z0,3,1),(z0,1,2,z0,2,2,z0,3,2),…,(z0,2,k-1,z0,2,k-1,z0,3,k-1)]Belonging to one of the k sets of parameter values. After substituting into the 1 st order k-dimensional equation set, the following:
wherein z is0,1,1、z0,2,1And z0,3,1Separate electric energy meter M1The accumulated sum of the power data in the 1 st load current segment, the accumulated sum of the power data in the 2 nd load current segment, and the accumulated sum of the power data in the 3 rd load current segment, of the power data recorded every p/(3 × n) times.
In embodiment 1, it is mentioned that the number of the error standard devices may be multiple, and in the case of introducing multiple error standard devices into the test system, the acquisition of the collected data may be reduced in the specific calculation process, thereby improving the calculation efficiency. The connection method is usually to connect an error standard in series in each of the plurality of measurement lines, and the principle thereof is not described herein.
In the specific calculation process, each unknown number in the equation can not be solved by directly introducing the electric energy data, and the calculation and the solution can be performed by adopting a linear regression mode. Specifically, the direct parameter value solution by adopting the formula is determined according to the interference shielding capacity of the electric energy metering device adopted in the actual environment and the quality of the line environment in the system by utilizing a linear regression mode according to the formula and the formula.
Example 4:
embodiment 3 provides a manner in which the electric energy data calculation system obtains the electric energy data stored by each electric energy metering device in the corresponding load current segment, and substitutes the electric energy data into the formula 1) and 2) to calculate the error value of each energy metering device in each load current segment after the accumulation is completed. As shown in fig. 8, the present embodiment will be described in conjunction with specific electrical characteristics to how to complete the accumulation process, and in the present embodiment, it is the current value recorded by the electric energy metering device that is used for determining the load current segment.
In step 501, register M is seti(i ═ 1,2,3), electric energy for segmenting 3 load currentsStoring the accumulated value of (a); a. thei(i ═ 1,2,3) in which A is1=(1-10%)In,A2=(10-30%)In,A3=(30-120%)InIn which InIs a rated value for the operation of the electric energy metering device. Measuring a time period TiDivided into a number of sampling time intervals △ ti。
In step 502, at each time interval △ tiAt the end, the effective value of the current I is recorded simultaneouslyjiAnd electric energy meter data △ Wji。
In step 503, the current I is determinedjiTo which a belongsiInterval of (2), power data WjiAnd a corresponding register MiThe value of (A) is accumulated and stored in a corresponding register Mi。
In step 504, TiAt the end, the accumulated data W is obtained in each registerjiThe jth electric energy metering device at T can be obtainediPower data of the device
Correspondingly, the electric energy flowing on the jth line can be expressed as
Wherein xjiAnd the integral error of the jth electric energy metering device under the ith load current segment is shown.
In step 505, using the formula
The electric energy metering error of the system with n electric energy metering devices can be calculated, and all that is needed is to complete the collection of 3 x n groups of data.
This embodiment is more efficient as an alternative to calculating the parameter set in embodiment 3. However, in this embodiment, the received power data needs to be accumulated in real time. Therefore, the period of recording the electric energy data, the period of reporting the electric energy data, and the period of calculating the overall error value of each electric energy metering device need to be clearly defined by the electric energy data calculating system, so as to effectively distinguish which electric energy data can be accumulated as one set of parameters and which data can be accumulated as another set of parameters (for example, one set described in embodiment 3 is divided into p/(3 × n) times of recording values).
Example 5:
embodiment 5 of the present invention provides a device for detecting an overall error of an electric energy metering device, as shown in fig. 7, the device includes a data transceiver unit 10, a storage unit 11, and a processing module 12, specifically:
the data transceiver unit 10 is configured to receive the electric energy data uploaded by each electric energy metering device in the system to be tested.
The storage unit 11 is configured to store electric energy data of each electric energy metering device. In a specific implementation process, the storage unit 11 stores the electric energy data of each electric energy metering device, and also stores identification information, current values and the like of the electric energy metering devices corresponding to the corresponding electric energy data in a matched manner, so as to complete positioning and addressing during calculation.
The processing unit 12 is configured to analyze the electric energy data uploaded by each electric energy metering device, determine a load current segment to which the electric energy data belongs, and store the electric energy data in the storage unit 11 according to a correspondence relationship between an electric energy metering device identifier or an error standard device identifier, the load current segment, and the electric energy data; the processing module 12 is further configured to calculate an overall error of each electric energy metering device according to the electric energy data.
To further illustrate how the processing unit 12 in this embodiment calculates the initial value of the overall error of each energy metering device according to the energy data, an implementation manner is provided in connection with this embodiment, wherein the processing unit 12 is further configured to,
according to the fact that electric energy data recorded by an incoming line electric energy metering device and an outgoing line electric energy metering device in the system to be tested meet an electric energy conservation principle, the electric energy data recorded by the incoming line electric energy metering device and the electric energy data recorded by the outgoing line electric energy metering device in a specified time are combined with error value variables of the incoming line electric energy metering device and the outgoing line electric energy metering device under the load current segmentation respectively to construct an energy balance equation, and N equations can be formed and form an equation set by reading the electric energy data of the system to be tested for N times, wherein N is a natural number; the energy balance equation set comprises error value variables of each electric energy metering device in each load current segment; the error calculator acquires the stored electric energy data of each electric energy metering device in the corresponding load current section; and the electric energy data is segmented according to the corresponding load current, substituted into an energy balance equation set to serve as a coefficient of a corresponding error value variable, and the energy balance equation set is solved by using the known error of an error standard device to obtain the error value of each electric energy metering device in each load current segment. The calculation process of the overall initial error value may refer to the content described in embodiment 3, and is not described herein again.
The embodiment of the invention realizes the self-checking of the error of the electric energy metering device, and overcomes the defect that the prior art needs to specially set a test environment and is underground with checking efficiency caused by the arrangement of a specific test instrument. And aiming at the fact that errors of the electric energy metering device have certain difference in different load current sections, electric energy data meeting calculation conditions are extracted on the basis of the load current sections, and the accuracy of calculation of the final error value is improved.
The device for detecting the overall error of the electric energy metering device provided by the present embodiment is further used for implementing the methods described in embodiments 1 to 3, and is not repeated herein for the sake of simplifying the requirements of the specification of the application document.
Example 6:
embodiment 5 shows how the method described in embodiment 1 of the present invention is implemented by the processing unit 12, the data-transceiving unit 10, and the storage device 11. In order to further explain another device to be protected by the present invention in terms of physical products, i.e. an electric energy metering device with a known overall error, next, an embodiment of the device based on a specific product structure will be given in this embodiment 6. As shown in fig. 10, the device comprises a current sensor, a voltage sensor, a metering chip, a microcontroller, an infrared communication module, an RS485 communication module, a working power supply, a memory and a liquid crystal display.
And the current sensor and the voltage sensor are used for converting the current and the voltage which are higher than those of the electric energy metering device into the current and the voltage which can be recorded by the metering circuit board and the circuit thereof. The metering circuit board and the circuit thereof are used for receiving current and voltage signals transmitted by the current sensor and the voltage sensor and converting the current and voltage signals into current data and voltage data which can be processed by a microcontroller.
And the microcontroller is used for connecting the metering circuit board and the circuit thereof, acquiring a current value and a voltage value in the circuit which is responsible for monitoring from the metering circuit board and the circuit thereof, and calculating to obtain electric energy data. The microcontroller is also connected with an infrared communication module, a wireless transceiving module and an RS485 communication module, wherein the infrared communication module is used for completing message transceiving with the terminal equipment and transmitting a data acquisition instruction of the terminal equipment to the microcontroller or transmitting data to the terminal equipment. The wireless transceiving module is used for sending the electric energy data to an electric energy data computing system in the network to be tested; and the RS485 communication module is used for completing software upgrading or error detection of the electric energy metering device. The storage unit is used for storing the current value and the voltage value acquired by the metering chip, and can also store corresponding electric energy data, load current segment related information and the like. The liquid crystal display is used for presenting the current power utilization condition, the working state of the electric energy metering device and the like.
It will be further understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by relevant hardware instructed by a program, and the program may be stored in a computer-readable storage medium, including ROM/RAM, magnetic disk, optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.