Next Article in Journal
Experimental and Numerical Investigations on the Fluidized Heat Absorption inside Quartz Glass and Metal Tubes
Next Article in Special Issue
A Novel Control Architecture for Hybrid Power Plants to Provide Coordinated Frequency Reserves
Previous Article in Journal
Mitigation of Condensate Banking Using Thermochemical Treatment: Experimental and Analytical Study
Previous Article in Special Issue
Comparison of Intelligence Control Systems for Voltage Controlling on Small Scale Compressed Air Energy Storage
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Recursive Least Squares Method with Double-Parameter for Online Estimation of Electric Meter Errors

1
Key Laboratory of Smart Grid of Ministry of Education, Tianjin University, Tianjin 300072, China
2
Tianjin Electric Power Research Institute, State Grid Tianjin Electric Power Company, Tianjin 300384, China
*
Author to whom correspondence should be addressed.
Energies 2019, 12(5), 805; https://doi.org/10.3390/en12050805
Submission received: 30 January 2019 / Revised: 25 February 2019 / Accepted: 25 February 2019 / Published: 28 February 2019
(This article belongs to the Special Issue Intelligent Control in Energy Systems)

Abstract

:
In view of the existing verification methods of electric meters, there are problems such as high maintenance cost, poor accuracy, and difficulty in full coverage, etc. Starting from the perspective of analyzing the large-scale measured data collected by user-side electric meters, an online estimation method for the operating error of electric meters was proposed, which uses the recursive least squares (RLS) and introduces a double-parameter method with dynamic forgetting factors λa and λb to track the meter parameters changes in real time. Firstly, the obtained measured data are preprocessed, and the abnormal data such as null data and light load data are eliminated by an appropriate clustering method, so as to screen out the measured data of the similar operational states of each user. Then equations relating the head electric meter in the substation and each users’ electric meter and line loss based on the law of conservation of electric energy are established. Afterwards, the recursive least squares algorithm with double-parameter is used to estimate the parameters of line loss and the electric meter error. Finally, the effects of double dynamic forgetting factors, double constant forgetting factors and single forgetting factor on the accuracy of estimated error of electric meter are discussed. Through the program-controlled load simulation system, the proposed method is verified with higher accuracy and practicality.

1. Introduction

With the construction and development of smart grids, the power industry has entered an era of big data. Electric meter is an important part of acquiring big data which have received wide attention. According to reports [1], before and after the World Metrology Day on May 20, 2018, the State Grid Corporation of China has installed more than 457 million electric meters, covering the 99.57% of the user service area. Facing the huge amounts of electric meters with complex application sites, how to improve electric meters’ self-diagnosis and verification, and improve their status evaluation and analysis capabilities, has become the focus of power grid companies. At present, the main way for power companies to verify the accuracy of electric meters is to use professionals that regularly carry instruments and equipment to the site for periodic sampling inspection [2,3]. The existing calibration mode has some disadvantages such as high working intensity and long calibration cycle and low managed efficiency, so it is difficult to meet the requirements of the maintenance and replacement of electric meter status. The measured results are directly related to grid security and whether the trade settlement between the two parties is fair and reasonable. However, the global power industry has not found yet a practical theory and technology that can accurately measure and monitor the operating errors of electric meters in real time. Therefore, in order to realize the change of the electric meter from the periodic replacement to the state replacement and to judge the operational error’s status of electric meter, it is imperative to find an efficient and accurate method for estimating online the operational errors of electric meters.
With the development of smart grids and especially the popularization of Advanced Metering Infrastructure (AMI), power companies have acquired large-scale measured data. In recent years, some achievements have been made in the application of large-scale data measured from electric meters. In the research on anti-theft methods, the measured data of electric meters are used in gray correlation analysis [4,5], support vector machine and local anomaly factor algorithm [6] and estimated of loss in distribution line [7]. Through these methods, the identification of the substation and phase sequence, as well as the detection of the power stealing of the user substation, can effectively realize the location of abnormal power users. In addition, researchers have used measured data of electric meters to build a power consumption prediction model based on artificial neural networks, aiming at achieving accurate demand forecasting in the smart grid system as well as acquiring power consumption profiles for demand response purposes [8]. With the use of smart meters in smart cities, a data-driven probabilistic peak demand estimation framework using fine-grained smart meter data and sociodemographic data of the consumers was proposed in [9], which drives fundamental electricity consumption across different categories.
In the field of analysis of electric meter operational errors, there are relatively few studies in academic and industrial fields. In [10], Korhonen used automatic meter reading data to deduce a calculation method for the operating errors of electric meters. The applicability of the method depends on the user’s power-consumption level, the number of user’s meters and other factors and the method will not be able to accurately estimate the errors of an electric meter if the loss between the head meter and the users’ meters is large. Guo [11] proposed a method to solve the errors of electric meter by the generalized law of energy conservation, but the method of decomposing the reading matrix into the upper and lower triangular matrix is verbose and matrix is prone to failure. Due to factors such as data size and quality, data in some unit measurement periods can’t satisfy the requirements of independence and orthogonality, and the method lacks real-time performance. In [12] researchers described a method of online smart meter error calibration using meter reading data. The approach of data analysis using sum meter reading and branch meter reading in a tree topology grid was studied. An algorithm based on the combination of K-means clustering and regularization theory is proposed to evaluate smart meter errors precisely. The proposed method has a better solution, but there may still be small solution errors caused by random factors such as the inaccurate estimation of energy losses. A mathematical model of On-Off-Key (OOK) dynamic load current was built in [13], a mathematical model of dynamic load energy sequences is proposed and three dynamic load power modes are defined: transient, short-term and long-term, based on which, an algorithm for measuring the dynamic errors of electric meter was proposed. Results indicate that the dynamic errors of electric meters are closely related to the dynamic load power mode of driving and the characteristics of dynamic errors are quite different among different kinds of electric meter. In [14], an error verification device for harmonic electric meters was proposed, that can output different amplitudes, different phases, different frequencies of the voltage and current through a power source, then transform the data detected by the measured harmonic meters and from a reference standard error calculator, it can verify the metering errors of harmonic meters quickly. In [15], an estimation method for electric meter errors based on a parameter degradation model was proposed. The comprehensive influence of various error factors such as temperature, humidity and load under actual working conditions are considered, but the error parameters of electric meter can only be estimated in a short time and real-time estimated tracking can’t be achieved. In [16], the adaptive variable weight method is introduced in the fuzzy analytic hierarchy process and the state evaluation model of the meter is established to solve the problem that the weight of the index remains unchanged, which ensures the influence of each index on the measurement error of the electric meter is dynamically reflected. Aiming at solving the electric meter failure prediction problem and based on historical failure data of electric meters in some regions, a smart meter fault identification model is proposed based on a C5.0 algorithm in [17] which shows the accuracy of the failure prediction model for smart meters is higher, achieving good prediction effects. Reference [18] adopts a stratified sampling method to sample the electric meters in typical areas with high humidity and heat and severe cold that have been running for one year and a sampling life tolerance model is established. Considering the effect of temperature and humidity in errors, based on the bathtub curve, a Weibull lifetime distribution model is established. In addition, some related electric power workers have analyzed the factors affecting the accuracy of electric meter measurement from the perspectives such as communication transmission harmonic characteristics, ambient temperature, operating load size, and data sampling method [19,20,21,22].
In summary, although some research results have been obtained in the application of electric meter measured data and online estimation of operational errors, there are still some shortcomings in estimating accuracy and real-time performance. Based on the existing research, an online estimation method for solving the operational error of electric meters by using the recursive least squares algorithm with double-parameter is proposed. First, the measured data in similar operational states of each power user is selected. Then the recursive least squares algorithm with double-parameter is applied to calculate the operational error parameter of the electric meter and the line loss parameter of the low-voltage substation simultaneously. As explained throughout this paper, the key contributions of this paper can be summarized as follows:
(1)
Compared with the existing methods, the proposed method realizes online estimation of line loss parameters and electric meter error parameters simultaneously by using the double-parameter recursive least squares algorithm with double dynamic forgetting factors.
(2)
In addition, due to the introduction of double dynamic forgetting factors in the recursive least-squares algorithm, the flexible correction ability of the new data to the double-parameter estimation is ensured. The forgetting factors are adjusted according to the frequency of measured data collection system, which enhances the real-time performance and the parameter changes can be better tracked, so a large number of electric meters can be checked online.
The remainder of this paper is organized as follows: Section 2 introduces the overall estimation framework of the solution of the operational error and the method of processing the data that will be useful for obtaining the measured data to satisfy the requirements of the estimation model. Section 3 constructs the theoretical model for estimating the operational error of electric meters, and the error parameter is calculated based on the double-parameter recursive least squares algorithm. Section 4 presents the evaluation metrics and the methods to be compared in the case studies. Finally, the conclusions are presented in Section 5.

2. Acquisition and Processing of Information of Electric Meters

2.1. Implementing Scheme for Online Estimation of Electric Meter Error

The online estimated method of electric meter operational error mainly includes four steps: firstly, information, which includes profile information from power marketing information systems, (this system is composed of people, computers and computer programs, for power market decision makers to collect, select, analyze, evaluate and distribute the marketing information timely and accurately) and measured data from electric meters (user-side and substation) should be acquired. Then the acquired data is preprocessed by clustering to get rid of the abnormal measured data such as null data and light load data. Next, an online estimation model for the operational errors of electric meters is established and the electric meter errors based on the proposed double-parameter RLS algorithm are calculated. Finally, we simulate real data of electric meters by using a program-controlled load simulation system (the whole simulation system can simulate the power consumption of real substations, and support the adjustment of different power consumption conditions, different line losses and different error conditions) and using Mean Absolute Percent Error (MAPE) and Root Mean Square Error (RMSE) as the evaluation metrics for checking the accuracy of the estimated error result of the electric meter. The whole process is shown in Figure 1.

2.2. Required Electric Meter Information

The information needed for online estimation of electric meter errors is as follows:
(1)
The profile information contains five types:
  • User’s information such as user number, name, address, category of power consumption, etc.
  • Electric meter’s information such as electric meter’s number, name, type, address, current transformer (CT)/phase voltage transformer (PT) ratio, etc.
  • Metering point record information of the user information collection system: metering point identification, number, name, address, classification, nature, main purpose type, metering point side, voltage level, etc.
  • Electrical parameters of the head meter in the low-voltage substation, such as voltage, average power factor, active energies, reactive energies, etc.
  • Main electrical characteristic parameters related to the load, such as load rate, operating load type, quality and proportion of the power consumption, terminal voltage of users.
(2)
Measured data of electric meters which is collected by electric meters data acquisition system based on AMI.
Though system schemes may be slightly different for different regions, a typical scheme is shown in Figure 2. The distribution transformer station as a unit forms the acquisition system, and the concentrator is installed under the common distribution transformer, which realizes the power consumption information collection of all users under the substation with a communication system, such as power line carrier (PLC), RS485 or micro-power wireless. At the same time, it gathers calibrated meter data of the distribution transformer to realize the collection of the distribution transformer. According to the overall design scheme of the state grid corporation in China, the users’ collection structure of electricity information is a small-scale centralized collection, with a unified upload to the master station [23].

2.3. Preprocessing Data Measured by Electric Meter

The operational error of the electric meter generally refers to the relative error between the measured value and the actual value collected during the operation, which can be deduced by the following formula [24]:
ζ = z real z z ,
where ζ is the measurement error of the electric meter; z real is the actual electric energy value in the unit measured period, which can be understood as the actual electricity consumption (true value) through the electric meter; z is the increment (view value) of the electric meter reading during the unit measured period.
In order to meet the requirements of the error estimation model established and method proposed, which will be elaborated in Section 3, it is important to ensure the operational error parameters of the electric meter and line loss all be close to a certain value during the unit measurement period.
However, in reality, the difference of the load level in the user terminal will change the current on the distribution line, the voltage at the delivery end of the substation side, and the voltage on the user side of the power supply, which causes the line loss rate of the distribution area not being constant and changing as the users’ load levels fluctuate.
In addition, according to the working principle of the electric meter, on the one hand, the current and voltage fluctuation of line load will affect current and voltage of the sampling circuit of electric meters and the operation of the computing chip, such as the value of the load current and voltage cause the sampling circuit power consumption and heating changes and the harmonics of the load current and voltage affect the frequency characteristics of the sampling circuit [25]. These factors discussed above will affect the measured value of the electric meter. From this we can conclude that the errors generated by the electric meter in the work are not constant values, and the operational error of the electric meter becomes larger as the power factor decreases and increases as the relative value of the voltage and current amplitude changes. On the other hand, it is called light load when the operational load current is below 5%~10% of the rated current. The light load affects the creep performance of the electric meter and the working state of the current transformer, so that the accuracy of the electric meter is greatly affected and the measured data error is higher and it is necessary to remove the data measured under light load conditions.
Therefore, in order to reduce the influence of the fluctuation of the load rate on the measurement error of the electric meter and line loss rate, it is necessary to ensure that the meter error and the line loss rate in the unit measured period have a certain value. It is also indispensable to cluster the collected electric meter measured data for the purpose of obtaining the measured value of the electric meter in a similar operating state.
Thence, preprocessing the measured data collected by the electric meter combined with the improved fuzzy clustering algorithm [26] in the process of online estimation of operational error, in which the abnormal measured data such as null data and light load data are rejected. The clustering process for selecting the measured data in the similar operational states of each power user is shown in Figure 3.
We sort the preprocessed data in the measured chronological order to form a head meter and every user meters’ matrix of the measured data, which are used as input variable for recursive least squares with double-parameter method.

3. The Solution Method of Electric Meter Operational Error

3.1. Establishing an Estimated Model of Operational Error

The typical power distribution topology is shown in Figure 4. A head electric meter is installed under a concentrator which is connected to a common distribution transformer. In the situation shown in the figure, the number of user meters is m. We consider the fact that the head electric meter under each distribution transformer has been calibrated, so the head electric meter is assumed standard. In addition, there is line loss in the line topology of the power distribution area. Based on the law of conservation of energy, the reading of the head electric meter in the low-voltage substation is equal to the sum of the true values of the electric meters of each user plus any line loss of the power distribution area during the unit measured period (line loss refers to the loss of electric energy in the form of thermal energy in the process of transmission, substation, distribution and marketing from power plant to power user, generally referred to as active loss. The term w loss mentioned in (2) refers to the entire process of power loss from the main transformer to the user electric meter). For any unit measured period, the electric meters reading in the station have the following relationship:
y 0 ( t ) = i = 1 m y i ( t ) + w loss ( t ) ,
where y 0 ( t ) is the power supplied by the head standard meter during the tth measured period; w loss ( t ) is power loss between the head meter and each users’ meter during the tth measured period; m is total number of users’ electric meters in the substation; y i ( t ) is the real power consumption of the ith user during the tth measured period, according to Equation (1), using y i ( t ) instead of z real , the relationship between actual electricity consumption (true value) through the electric meters and the increment (view value) of the electric meter reading during the tth measured period as follows:
y i ( t ) = z i ( t ) ( 1 + ζ i ( t ) ) ,
where, z i ( t ) is power consumption of the ith user measured by electric meter during the tth measured period; ζ i ( t ) is measurement error of the ith electric meter.
The specific calculation process of w loss ( t ) is as follows [27]:
w l o s s ( t ) = E ( t ) Δ U ( t ) 100 × K p ( t ) ,
where E (MW∙h) is the active power of the head electric meter in the low-voltage substation; Δ U is the loss rate of voltage in low voltage lines (the voltage loss is the difference between the amplitude of the voltage at the beginning and the ending, and its value is approximately equal to the vertical component of the voltage drop when the voltage phase difference between the two ends is very small); Kp is the ratio of percentage of power loss to percentage of voltage loss which is related to the load power factor and the selected phase angle difference γ between current and voltage of the head electric meter.
Δ U can be defined as follows:
Δ U ( t ) = U 1 ( t ) U 2 ( t ) U 1 ( t ) × 100 % ,
where U 1 (kV) is the outlet voltage of the distribution side, usually taking the average value of three-phase electricity; U 2 (kV) is the lowest point voltage on the user-side, if the low voltage is a single phase load, several low voltage averages must be measured.
Kp can be written as follows:
K p ( t ) = 1 + ( t g γ ( t ) ) 2 1 + ( X R ( t ) ) t g γ ( t ) ,
where X / R is the ratio of wire reactance to resistance; γ is the phase angle difference between current and voltage of the head electric meter, which is the power factor angle and t g γ ( t ) can be written as follows:
t g γ ( t ) = Q ( t ) E ( t ) ,
where, Q (Mvar∙h) is reactive power of the head electric meter in the substation.

3.2. Parameter Estimation of Meter Error and Line Loss

According to Equations (2), (4) and (6), using φ ( t ) and θ ^ b ( t ) replace E ( t ) Δ U ( t ) 100 and K p ( t ) respectively, we obtain the recursive least squares with double-parameter equation as follows:
y 0 ( t ) = Z T ( t ) Θ ^ a ( t ) + φ ( t ) θ ^ b ( t ) ,
where, Z T ( t ) = [ z 1 ( t ) , z 2 ( t ) , , z m ( t ) ] is the matrix of measured data of each user meter during the tth measured period; Θ ^ a ( t ) = [ θ ^ a 1 ( t ) , θ ^ a 2 ( t ) , , θ ^ a m ( t ) ] Τ is the matrix of error parameter to be estimated in each user’s meter, and define the electric meter operational error ζ ^ i ( t ) as follows:
ζ ^ i ( t ) = θ ^ a i ( t ) 1 ,
Through direct estimation of unknown parameters Θ ^ a ( t ) = [ θ ^ a 1 ( t ) , θ ^ a 2 ( t ) , , θ ^ a m ( t ) ] Τ and θ ^ b ( t ) by recursive least squares with double-parameter algorithm. The electric meter operational error ζ ^ i ( t ) and the ratio of wire reactance to resistance X / R can be indirectly obtained.

3.3. A Recursive Least Square Scheme with Double-Parameter

When researching the measurement error of the electric meter and the loss of electric energy of the distribution line in the low-voltage distribution area, two limitations in the RLS algorithm based on a single forgetting factor are noticed [10]:
(1)
The electric meter error parameter changes with the line loss parameter at the same rate.
(2)
In the formulation of the loss-function defined in the RLS algorithm of a single forgetting factor and the resulting recursive scheme in the subsequent formula, the error due to all parameters is classified as a single scalar term.
Therefore, the algorithm has no way to realize whether the error is caused by one or more parameters. As a result, if there is drift in one of the parameters, then all parameters that cause the estimated overshoot or undershoot will be corrected in the same order. If the drift continues for a while, it may cause the overall performance of the estimate to deteriorate and may even cause the so-called estimate to be tightened or amplified, so the goal is to conceptually ‘separate’ the errors caused by each parameter and then apply a suitable forgetting factor for each parameter.
Therefore, an estimated method is proposed which is based on a double forgetting factor. The recursive least squares with double parameter which can not only use the real-time measured information to modify the estimated result repeatedly but also can adapt to the situation where the different parameters change speed in the multi-parameter estimated is different. The method can simultaneously estimate the operational error of the Electric meter and line loss. The electric meter operational error estimated model established above shows that there are two unknown parameters Θ ^ a ( t ) and θ ^ b ( t ) need to be estimated, so two forgetting factors λ a and λ b are introduced. And the residual cost function defining this estimated model is as follows:
J ( Θ ^ a ( t ) , θ ^ b ( t ) , t ) = 1 2 j = 1 t λ a t j ( y 0 ( j ) Z T ( j ) Θ ^ a ( t ) φ ( j ) θ b ( j ) ) 2 + 1 2 j = 1 t λ b t j ( y 0 ( j ) Z T ( j ) Θ a ( j ) φ ( j ) θ ^ b ( t ) ) 2
With this definition for the residual cost function, the first term on the right side of equation (10) only represents the error of the step t due to first parameter estimate, Θ ^ a ( t ) and the second term corresponds to the second parameter estimate, θ ^ b ( t ) . Now, each of these errors can be discounted by an exclusive forgetting factor. Notice that Θ a ( j ) and θ b ( j ) are unknown, and we will later replace them with their estimates Θ ^ a ( t ) and θ ^ b ( t ) . The swapping between the estimated and the actual parameters allows us to formulate the proposed modification to the classical Least Squares (LS) method with forgetting factors.
Here, λ a and λ b are forgetting factors for the first and second parameters, respectively. Incorporating multiple forgetting factors provides more degrees of freedom for tuning the estimator and, as a result, parameters with different rates of variation could possibly be tracked more accurately. The optimal estimates are those that minimize the loss function and are obtained as follows [28]:
J Θ ^ a ( t ) = 0 j = 1 t λ a t j ( Z T ( j ) ) ( y 0 ( j ) Z T ( j ) Θ ^ a ( t ) φ ( j ) θ b ( j ) ) = 0 ,
Rearranging Equation (11), Θ ^ a ( t ) is found to be:
Θ ^ a ( t ) = ( j = 1 t λ a t j Z T ( j ) Z ( j ) ) 1 ( j = 1 t λ a t j ( y 0 ( j ) φ ( j ) θ b ( j ) ) ) .
Similarly, θ ^ b ( t ) will be:
θ ^ b ( t ) = ( j = 1 t λ b t j ( φ ( j ) ) 2 ) 1 ( j = 1 t λ b t j ( y 0 ( j ) Z T ( j ) Θ a ( j ) ) ) ,
For real time estimated, a recursive form is required. Using the analogy that is available between Equations (12), (13) and the classical form (8), the recursive form can be readily deduced:
Θ ^ a ( t ) = Θ ^ a ( t 1 ) + K a ( t ) ( y 0 ( t ) Z T ( t ) Θ ^ a ( t 1 ) φ ( t ) θ b ( t ) ) ,
where:
K a ( t ) = P a ( t 1 ) Z T ( t ) ( λ a + Z ( t ) P a ( t 1 ) Z T ( t ) ) 1 ,
P a ( t ) = ( I K a ( t ) Z ( t ) ) P a ( t 1 ) 1 λ a ,
and similarly:
θ ^ b ( t ) = θ ^ b ( t 1 ) + K b ( t ) ( y 0 ( t ) Z T ( t ) Θ a ( t ) φ ( t ) θ ^ b ( t 1 ) ) ,
where:
K b ( t ) = P b ( t 1 ) φ ( t ) ( λ b + φ T ( t ) P b ( t 1 ) φ ( t ) ) 1 ,
P b ( t ) = ( I K b ( t ) φ T ( t ) ) P b ( t 1 ) 1 λ b .
In the two aforementioned equations, Θ a ( j ) and θ b ( j ) are unknown, so we replace them with their estimates, Θ ^ a ( t ) and θ ^ b ( t ) , as is customary in similar situations, such as the ‘separation principle’ in optimal control. The substitution is also justified when the actual and the estimated values are very close to each other or within the algorithm region of convergence. A convergence proof, or conditions for convergence of the algorithm under this assumption, remains open for future research. Upon substitution for Θ a ( j ) , θ b ( j ) and rearranging equations (14) and (17), we obtain:
Θ ^ a ( t ) + K a ( t ) φ ( t ) θ ^ b ( t ) = Θ ^ a ( t 1 ) + K a ( t ) ( y 0 ( t ) Z T ( t ) Θ ^ a ( t 1 ) ) ,
K b ( t ) Z T ( t ) Θ ^ a ( t ) + θ ^ b ( t ) = θ ^ b ( t 1 ) + K b ( t ) ( y 0 ( t ) φ ( t ) θ ^ b ( t 1 ) ) ,
for which the solution is:
[ Θ ^ a ( t ) θ ^ b ( t ) ] = [ 1 K a ( t ) φ ( t ) K b ( t ) Z T ( t ) 1 ] 1 [ Θ ^ a ( t 1 ) + K a ( t ) ( y 0 ( t ) Z T ( t ) Θ ^ a ( t 1 ) ) θ ^ b ( t 1 ) + K b ( t ) ( y 0 ( t ) φ ( t ) θ ^ b ( t 1 ) ) ] ,
Using the fact that P a ( t ) and P b ( t ) are always positive, it can be proved that the determinant of the matrix is always non-zero and therefore the inverse always exists. With some more mathematical manipulations, Equation (22) can be written as follows:
Θ ^ ( t ) = Θ ^ ( t 1 ) + K ( t ) ( y 0 ( t ) Φ T ( t ) Θ ^ ( t 1 ) ) ,
where, K ( t ) is defined as follows:
K ( t ) = 1 1 + P a ( t 1 ) ( Z T ( t ) ) 2 λ a + P b ( t 1 ) ( φ ( t ) ) 2 λ b [ P a ( t 1 ) Z T ( t ) λ a P b ( t 1 ) φ ( t ) λ b ] ,
where, λ a and λ b are the forgetting factors corresponding to the two parameters ξ i ( t ) and X / R to be estimated, respectively, and the value range is [0, 1]. Considering that ξ i ( t ) is a fast variable, in order to ensure that the estimated result of ξ i ( t ) has better tracking performance, it should happen that λ a > λ b .

3.4. Real-Time Adjustment of Forgetting Factors

The abovementioned parameter estimation method uses the constant forgetting factor, which can only be used in slow time-varying systems. However, in the actual problem of electric meter error estimation, the dynamic characteristics of the system do not always change according to the same law, and sometimes change rapidly. Sometimes the change is very slow, and sometimes there is a mutation. If a small forgetting factor is selected according to the fast change of the parameter, the information obtained from the data is less when the parameter changes slowly which will cause the parameter estimation error to increase exponentially, which is very sensitive to interference. If we choose a large forgetting factor based on the slow change of parameters, it can memorize data that is far away and it will be insensitive to sudden changes in the system parameters. Therefore, if a constant forgetting factor is chosen, satisfactory results cannot be obtained.
According to the characteristics of the estimation parameters required, appropriate automatic adjustment methods are selected for the forgetting factors λ a and λ b , respectively. The specific algorithm is as follows [29,30]:
Forgetting factor λ a corresponding to the electric meter operational error estimated parameter:
λ a ( t ) = 1 ( 1 Z ( t ) P a ( t 1 ) Z T ( t ) 1 + Z ( t ) P a ( t 1 ) Z T ( t ) ) e 2 ( t ) R ,
where, 0 < λ a ( t ) < 1 , R ( 0 , 1 ) is the observed noise variance, in this paper, its value is 0.5, e 2 ( t ) is the variance of the estimated value.
Forgetting factor λ b corresponding to the line loss estimated parameter:
λ b = R [ ( 1 + ( θ ^ b ( t ) θ ^ b ( t 1 ) ) ] 1 ,

4. Case Analysis

4.1. Accuracy of Error Estimated under Different λ

In order to verify the validity of the proposed method and the necessity of adopting the dynamic double forgetting factors method, we select a typical electricity low-voltage substation of urban residential users as an analysis case. The research area contains a head electric meter and three hundred user-side electric meters. The actual measured electric meter data from January 2016 to December 2018 in one substation are analyzed. The collection frequency of electricity consumption of ordinary residential users is 24 h. We eliminate abnormal data such as light load data and null data by appropriate clustering methods and obtaining the measured data preprocessed as the analysis samples. The operational error recursive estimated curves of some electric meters solved by the proposed method are shown in Figure 5. The y-axis represents the error rate of the electric meter (error rate is the percentage form of ζ ^ i ( t ) , which represents the extent that the measured value of the electric meter deviates from the true value of the electric meter; when the error rate exceeds 2%, the electric meter is defined as an error-over meter), x-axis represents the frequency of data acquisition, the output frequency of the error analysis result is as the same as the frequency of the measured data acquisition, which is generated once a day.
It can be seen from Figure 5 that the estimated consequence of the double dynamic forgetting factors recursive least squares algorithm is shown by the blue line which is closest to the real error of the electric meter, and the convergence speed of the algorithm is faster than the other two algorithms; The estimated consequence of the double constant forgetting factors algorithm is shown by the red line. The estimated accuracy is not as high as the double dynamic forgetting factors algorithm. Because different estimated parameters change at different rates, the constant forgetting factors can’t be made according to the change rule of the parameters and the adjustment also causes the convergence speed of the algorithm to be slower. The estimated effect of the single forgetting factor algorithm is shown by the black line. As can be seen from the figure, the calculation accuracy of the single forgetting factor is the lowest because the line loss rate is regarded as a certain value so that the total power consumption of each user’s electric meter in the unit measured period generates a large error, thereby causing a large interference to the estimated error of the user electric meter and resulting in greatly reduced accuracy of the estimated operational error of the electric meter. It also leads to recursive estimated curves are unstable with the circumstances of large noise.
Therefore, the forgetting factor should be automatically adjusted as the dynamic characteristics of the estimated parameters change. When the system parameter changes are abrupt, the small forgetting factor should be automatically selected to improve the sensitivity of the identification. When the system parameters change slowly, a large forgetting factor should be automatically selected in order to improve the recognition accuracy based on the memory length.

4.2. Distribution of Meter Error Rate under Different λ

In order to verify the effectiveness of the proposed method and analyze the influence of forgetting factors in different situations on the estimated value of the meter errors we use the typical urban residential station mentioned in Section 4.1 as the research object. The measurement data collected by 300 electric meters in this area are used as the input variable of the algorithm, and the simulation results are shown in the following figure.
Figure 6 shows the online estimated results of the operational errors of all the user electric meters under a station. From Figure 6, we can conclude that the estimated results based on the double dynamic forgetting factors recursive least squares algorithm have the highest accuracy, the double forgetting factors is the second, and the single forgetting factor is the worst. Therefore, the double dynamic forgetting factor are introduced by simultaneously estimating the operating error parameters of the electric meter and line loss parameters for ideal real-time online estimation of the operational error of large-scale user electric meters under a power substation can be obtained.

4.3. Estimation of Line Loss Rate

There are many factors affecting grid power loss. For distribution grids below 380/220 V, the users’ power load has a significant impact on the line loss rate of the power distribution area. The user electrical load is the most important power consumption factor of the power supply system. Therefore, the power load determines the losses of the power supply system. The numerical distribution of the load and the spatial distribution of each load point affect the loss of the multi-branch line. The load curve reflects the variation of the load within a certain time interval. It is inevitable to increase the equipment capacity to meet the safe and stable power supply if the electric load curve fluctuates greatly, which resulting in an increase in line loss.
For three types of electricity users in industrial, commercial, and urban residents, choosing their typical distribution area as the analysis object to calculate the network loss rate respectively, and still selecting the measured data of electric meter from January 2016 to December 2018 as data source.
Figure 7 shows the estimated results of the line loss rate of different type power distribution stations. The black curve represents the type of the substation occupied by industrial users. Since industrial users are in high-load power state all the year round and the load curve fluctuates greatly, the result that line loss rate of this type distribution area is the largest, which is between 3.3% and 3.8%; The blue curve represents the type of commercial-based area, the electrical load characteristics are similar to industrial stations, but the overall electricity consumption is lower than that of the industry, which is between 2.4% and 3.1%; The red curve represents the type of the power distribution stations are main occupied by ordinary residents. When compared with industrial users and commercial users, we could get the result that the residential electricity load is the lowest, but resulting in a large fluctuation in the line loss rate of the distribution area due to the influence such as season, holidays and other factors have created the large fluctuations in the power load. The line loss rate ranging from 1.5% to 2.6%.

4.4. Error Detection Rate Analysis

In order to further analyze the accuracy of the error rate of electric meters estimated by the proposed method, the actual operation state of the typical station user can be fully simulated in the laboratory environment through the programmable control load simulation system of the substation. The entire simulation system can simulate the power of the real substation and support the adjustment such as different power usage conditions, different line losses, and different electric meter error conditions. Therefore, the power consumption and line loss status of four types which include typical industrial users, commercial users, urban residents and rural residents are simulated respectively by using this simulation system and the real error of the electric meter are obtained.
In practice, the power consumption levels of different industries are quite different. The power consumption of industrial areas is the highest, followed by commercial areas. Compared with rural areas, in developed cities, residents consume more electricity. Therefore, the simulation system is used to simulate the power consumption of four type users: industrial, commercial, rural residents and urban residents. In the simulation process, it is guaranteed that all factors except the power consumption of different types of users are the same, such as the frequency of data collection and the number of users. In the simulation, set the data collect frequency to 1 h, and the number of user’s electric meters is p.
Then MAPE and RMSE are used as the index for evaluation. In the online estimation of electric meter error, the smaller MAPE and RMSE values indicate the higher accuracy of the estimated error parameters. MAPE and RMSE can be expressed as:
M A P E = 1 p i = 1 p | ζ ^ i ζ i | ζ i × 100 % ,
R M S E = 1 p i = 1 p ( ζ ^ i ζ i ) 2 ,
where, p is the total number of users in the simulation; ζ ^ i and ζ i are the estimated value and actual value of the measurement error of the ith electric meter respectively.
As shown in Figure 8, under the situation that multiple simulation experiments are performed for each type of user, the missed detection rate and over-detection rate of the error estimation method proposed in this paper are analyzed. Through statistical calculation and analysis, the missed detection rate and over-detection rate of industrial users and commercial users are lower than for ordinary residents and the overall rate of missed detection is lower than the over-detection rate. The detection rate is below 1%. It can be inferred that the proposed method is applicable to the real-time online estimation of the operational errors of electric meters with high precision, and can also realize the estimation of the operational error for large-scale electric meters.

5. Conclusions

In order to study how to estimate online the errors of electric meters, this paper proposes a double-parameter recursive least squares estimation method, and a double-varying forgetting factor strategy that is in line with the development trend of AMI. The case analysis results show that the estimated performance of the double-varying forgetting factor is better than other estimation methods, such as the double-constant forgetting factor and single constant forgetting factor, and its false detection rate is below 2%. Moreover, the proposed method can simultaneously estimate the parameters of the electric meter error and line loss, and improve the accuracy of the online estimation of electric meter errors. In addition, the estimation method proposed is based on the elimination of abnormal data such as light load data and null data, although how to reduce the above discussed effects in the process of the data processing and algorithm solving needs further study.

Author Contributions

Conceptualization, X.K. and Y.M.; methodology, Y.M.; software, Y.M.; validation, Y.M.; formal analysis, Y.M.; investigation, X.Z.; resources, X.K. and Y.L. and Y.T.; data curation, X.K. and X.Z.; writing—original draft preparation, Y.M.; writing—review and editing, X.K. and Y.M.; supervision, X.K.; project administration, X.K. and Y.L. and Y.T.

Funding

This research was funded by the National Natural Science Foundation of China under Grant. No. 51877145.

Acknowledgments

The authors would like to acknowledge the support in part by Electric Power Research Institute of Tianjin Power Grid, and the National Key Research and Development Program of China (2017YFB0902900 and 2017YFB0902902).

Conflicts of Interest

The author declares no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; and in the decision to publish the results.

Abbreviations

RLSRecursive Least Squares
AMIAdvanced Metering Infrastructure
CTCurrent Transformer
PTPhase voltage Transformers
MAPEMean Absolute Percent Error
RMSERoot Mean Square Error
PLCPower Line Carrier

References

  1. Review of the Development of the Electricity Meter Industry in 2018 and the Outlook for 2019 (1st Episode). Available online: https://www.sohu.com/a/282141253_732907 (accessed on 16 December 2018).
  2. Huang, M.; Shi, Y.; Lin, N.; Lin, Z.; Liu, Y.; He, Y. Common faults and treatment methods in the verification process of electric meter verification device. Electr. Eng. 2018, 2, 89–91. [Google Scholar]
  3. Hong, S.; Zhang, H.; Ding, Q.; Zhang, H.; Peng, H. Study on verification method during single-phase electric energy meter automatic verification system. Jilin Electr. Power. 2017, 45, 16–18. [Google Scholar]
  4. Yang, N.; Li, H.; Yuan, J.; Li, S.; Wang, X. Medium and long-term load grey prediction method considering grey correlation analysis. Electr. Power Syst. Autom. 2018, 30, 108–114. [Google Scholar]
  5. Pan, M.; Tian, S.; Wu, B.; Ye, J. Research on detection and tamper detection method based on Electric meter data. Wisdom Power 2017, 45, 80–84. [Google Scholar]
  6. Ding, L. Research on Anti-Stealing Technology Based on Data Mining in Electricity Information Collection System. Master’s Thesis, Chongqing University of Posts and Telecommunications, Chongqing, China, 2017. [Google Scholar]
  7. Nikovski, D.; Wang, Z.; Esenther, A.; Sun, H.; Sugiura, K.; Muso, T.; Tsuru, K. Smart meter data analysis for power theft detection. In Proceedings of the International Workshop on Machine Learning and Data Mining in Pattern Recognition, New York, NY, USA, 19–25 July 2013; Springer: Berlin/Heidelberg, Germany, 2013; pp. 379–389. [Google Scholar]
  8. Lee, J.; Kim, Y.C.; Park, G.L. An Analysis of Smart Meter Readings Using Artificial Neural Networks. In Proceedings of the International Conference on Hybrid Information Technology, Daejeon, Korea, 23–25 August 2012; pp. 182–188. [Google Scholar]
  9. Sun, M.; Wang, Y.; Goran, S.; Kang, C. Probabilistic Peak Load Estimation in Smart Cities Using Smart Meter Data. IEEE Trans. Ind. Electron. 2019, 66, 1608–1618. [Google Scholar] [CrossRef]
  10. Korhonen, A. Verification of Energy Meters Using Automatic Meter Reading Data. Master’s Thesis, AALTO University, Espoo, Finland, 2012; pp. 12–20. [Google Scholar]
  11. Guo, J. Line Measured Key Technology for Smart Grid AMI and User Electricity Data Mining Research. Ph.D. Thesis, Tianjin University, Tianjin, China, 2011. [Google Scholar]
  12. Liu, F.; He, Q.; Hu, S.; Wang, L.; Jia, Z. Estimation of Smart Meters Errors Using Meter Reading Data. In Proceedings of the 2018 Conference on Precision Electromagnetic Measurements (CPEM), Paris, France, 8–13 July 2018. [Google Scholar]
  13. Wang, X.; Wen, L.; Jia, X.; Wang, L.; Wang, Q.; Yuan, R.; Zhou, L. OOK-driven dynamic error measurement of smart energy meter. Electr. Power Autom. Equip. 2014, 9, 143–147. [Google Scholar]
  14. Dong, X.; Li, Z.; Dai, Y.; Wang, Q.; Zhang, Z.; Wang, P.; Chen, Z.; Wang, T.; Xu, Z. Research on error verification of harmonic smart electricity meter. In Proceedings of the 2018 3rd International Conference on Mechanical, Control and Computer Engineering (ICMCCE), Huhhot, China, 14–16 September 2018; pp. 286–290. [Google Scholar]
  15. Yang, J.; Jiang, P.; Chen, G.; Yuan, T.; Xue, F. Application of C5.0 algorithm in failure prediction of smart meters. In Proceedings of the 13th International Computer Conference on Wavelet Active Media Technology and Information Processing, Chengdu, China, 16–18 December 2016. [Google Scholar]
  16. Zhang, P.; Zhang, B.; Chen, S. Research on residual life prediction method of running intelligent electricity meters based on stratified sampling. Electr. Meas. Instrum. 2019, 32, 1–5. [Google Scholar]
  17. Zhang, Z.; Gong, H.; Li, C.; Wang, Z.; Xiang, X. Research on estimating method for the smart electric energy meter’s error based on parameter degradation model. Mater. Sci. Eng. 2018, 366, 012065. [Google Scholar] [CrossRef]
  18. Cheng, Y.; Du, J.; Zhou, F.; Xiao, J.; Yang, H. Application of variable weight fuzzy analytic hierarchy process in evaluation of electric energy meter. In Proceedings of the IEEE 2nd Advanced Information Technology, Electronic & Automation Control Conference, Chongqing, China, 25–26 March 2017. [Google Scholar]
  19. Peng, X.; Wang, L.; Jia, Z.; Wang, X. Evaluation of measurement error of digital electric energy meter based on Monte Carlo method. Electr. Meas. Instrum. 2017, 54, 100–105. [Google Scholar]
  20. Yin, X.; Liu, H.; Yin, C.; Man, J. The error model of the Electric meter under the influence of low temperature. In Proceedings of the International Conference in Communications, Signal Processing, and Systems, Harbin, China, 14–17 July 2017; pp. 1909–1915. [Google Scholar]
  21. Yip, S.C.; Wong, K.S.; Hew, W.P.; Gan, M.T.; Phan, C.W.; Tan, S.W. Detection of energy theft and defective Electric meters in smart grids using linear regression. Int. J. Electr. Power Energy Syst. 2017, 91, 230–240. [Google Scholar] [CrossRef]
  22. Yao, L.; Hu, Y.; Wu, J.; Liu, Y. Error Analysis and Compensation for Non-Integer-Period Sampling in Energy Metering of Smart Substation. Zhejiang Electr. Power 2015, 34, 1–5. [Google Scholar]
  23. Dong, Y. Design and Implementation of Power User Information Collection System for Power Users in Rong Cheng Power Supply Company. Master’s Thesis, Shandong University, Shandong, China, 2016. [Google Scholar]
  24. Calibration Specification of Digital. Available online: http://www.biaozhuns.com/archives/20180128/show-178130-86-1.html (accessed on 28 December 2018).
  25. Deng, J. Error analysis and processing of electronic energy meter. Technol. Enterp. 2013, 5, 319. [Google Scholar]
  26. Kong, X.; Hu, Q.; Dong, X.; Zeng, Y.; Wu, Z. Load data identification and repair method based on improved fuzzy C-means clustering. Autom. Electr. Power Syst. 2017, 41, 90–95. [Google Scholar]
  27. Tang, H. Research on Line Loss Analysis and Loss Reduction Measures in Low Voltage Substation. Master’s Thesis, Southeast University, Nanjin, China, 2017. [Google Scholar]
  28. Vahidi, A.; Stefanopoulou, A.; Peng, H. Recursive least squares with forgetting for online estimated of vehicle mass and road grade: Theory and experiments. Veh. Syst. Dyn. 2005, 43, 31–55. [Google Scholar] [CrossRef]
  29. Aguayo, M.; Bellido, L.; Lentisco, C.M.; Pastor, E. DASH Adaptation Algorithm based on Adaptive Forgetting Factor estimation. IEEE Trans. Multimed. 2018, 20, 1224–1232. [Google Scholar] [CrossRef]
  30. Liu, C.; Sun, X.; Li, H. A Limited Memory Identification Algorithm with Forgetting Factor. Electro-Opt. Control 2006, 13, 48–49. [Google Scholar]
Figure 1. Online estimation process of electric meter errors.
Figure 1. Online estimation process of electric meter errors.
Energies 12 00805 g001
Figure 2. Electric meter data acquisition physical architecture based on AMI.
Figure 2. Electric meter data acquisition physical architecture based on AMI.
Energies 12 00805 g002
Figure 3. Flow chart of our improved fuzzy clustering algorithm clustering for measured data.
Figure 3. Flow chart of our improved fuzzy clustering algorithm clustering for measured data.
Energies 12 00805 g003
Figure 4. Topology of typical power distribution area.
Figure 4. Topology of typical power distribution area.
Energies 12 00805 g004
Figure 5. The operational error recursive estimation curves: (a) represents the error rate recursive estimation curve of No.33 electric meter; (b) represents the error rate recursive estimation curve of No.74 electric meter; (c) represents the error rate recursive estimation curve of No.100 electric meter; (d) represents the error rate recursive estimation curve of No.180 electric meter.
Figure 5. The operational error recursive estimation curves: (a) represents the error rate recursive estimation curve of No.33 electric meter; (b) represents the error rate recursive estimation curve of No.74 electric meter; (c) represents the error rate recursive estimation curve of No.100 electric meter; (d) represents the error rate recursive estimation curve of No.180 electric meter.
Energies 12 00805 g005
Figure 6. Result of operational error of 300 meters under different states of λ.
Figure 6. Result of operational error of 300 meters under different states of λ.
Energies 12 00805 g006
Figure 7. The estimated line loss rate results.
Figure 7. The estimated line loss rate results.
Energies 12 00805 g007
Figure 8. The false detection rate of electric meter errors.
Figure 8. The false detection rate of electric meter errors.
Energies 12 00805 g008

Share and Cite

MDPI and ACS Style

Kong, X.; Ma, Y.; Zhao, X.; Li, Y.; Teng, Y. A Recursive Least Squares Method with Double-Parameter for Online Estimation of Electric Meter Errors. Energies 2019, 12, 805. https://doi.org/10.3390/en12050805

AMA Style

Kong X, Ma Y, Zhao X, Li Y, Teng Y. A Recursive Least Squares Method with Double-Parameter for Online Estimation of Electric Meter Errors. Energies. 2019; 12(5):805. https://doi.org/10.3390/en12050805

Chicago/Turabian Style

Kong, Xiangyu, Yuying Ma, Xin Zhao, Ye Li, and Yongxing Teng. 2019. "A Recursive Least Squares Method with Double-Parameter for Online Estimation of Electric Meter Errors" Energies 12, no. 5: 805. https://doi.org/10.3390/en12050805

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop