A synchronous generator state estimation method capable of handling non-Gaussian noise and bad data
The state estimation method that combines unscented Kalman filtering and exponential absolute value algorithm solves the problems of non-Gaussian noise and bad data in the state estimation of synchronous generators in power systems, improves the estimation accuracy and robustness, and is suitable for power systems. Dynamic condition monitoring.
Patent Information
- Application Number
- CN202111642910.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-29
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-12-29
AI Technical Summary
The existing technology is difficult to effectively handle non-Gaussian noise and bad data in state estimation of synchronous generators in power systems, resulting in a decrease in measurement data accuracy.
The unscented Kalman filter method and an improved algorithm based on exponential absolute value are used, combined with the linear batch regression model and white noise processing, to establish a robust state estimation method, initialize the estimator parameters, and obtain an accurate synchronous generator through iterative calculations state.
It effectively suppresses the influence of bad data and non-Gaussian noise, improves the robustness and accuracy of state estimation, simplifies the algorithm process, and facilitates engineering applications.
Smart Images

Figure CN114417575B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of power system monitoring and analysis, and in particular to a synchronous generator state estimation method capable of processing non-Gaussian noise and bad data. Background Art
[0002] As synchronized phasor measurement units (PMUs) are widely used in power systems, power systems are gradually developing from static state estimation to dynamic state estimation. The so-called dynamic state estimation of power systems generally refers to the estimation of the state of synchronous generators, and the state quantity involves variables such as the angular velocity of the generator rotor. However, compared with Supervisory Control And Data Acquisition (SCADA), the accuracy of MU measurement data is improved, but it is still affected by factors such as communication noise, environmental interference, and electromagnetic field environment, resulting in the measurement data containing bad data.
[0003] Moreover, the measurement data noise no longer follows the traditionally assumed Gaussian noise distribution, but a non-Gaussian noise distribution. This conclusion can be confirmed from a research report from the Pacific Northwest National Laboratory in the United States. Summary of the invention
[0004] The present invention is based on the trend of large-scale application of PMU in power systems, and aims to provide a synchronous generator state estimation method that can handle non-Gaussian noise and bad data, and provide a more accurate synchronous generator state.
[0005] The present invention adopts the following technical solution:
[0006] A synchronous generator state estimation method capable of processing non-Gaussian noise and bad data, characterized in that it comprises the following steps:
[0007] 1) Initialize the estimator parameter values, including the initial state vector The covariance matrices of system noise and measurement noise W0 and G0, the initial state estimation covariance matrix Φ 00 ;
[0008] 2) Using the prediction step of the unscented Kalman filter method, calculate the state prediction value at time k and the state prediction error covariance matrix
[0009] 3) According to the measurement function h, calculate the measurement prediction value at time k and the measurement prediction error covariance matrix
[0010] 4) Calculate the interaction covariance matrix between the state prediction and measurement prediction at time k Combine the state prediction value and the measured value to establish a linear batch regression model and perform white noise processing;
[0011] 5) Using the improved algorithm based on exponential absolute value to solve the linear batch regression model after whitening processing to obtain the state estimation result
[0012] 6) Repeat 2)-5) until satisfied The iteration stops when is the state estimation solution for the uth iteration;
[0013] 7) Output the dynamic state estimation result and use the influence function to calculate the estimation error covariance at time k And update the error covariance.
[0014] The estimator is provided with a process model and a measurement model of the synchronous generator, which are respectively expressed as:
[0015] x k =f(x k-1 ,u k )+w k
[0016] z k =h(x k ,u k )+v k
[0017] where x k =[δωE q′ E d′ ] T They represent the state vector of the synchronous generator, δ represents the phase angle, ω represents the angular velocity, and E q′ E d′ represents the transient electromotive force of the q-axis and the d-axis, u k =[E fd T m ] T represents the control variable, E fd represents the excitation voltage, T m represents the generator mechanical torque, z k =[Vθ] T represents the measurement vector, V, θ represent the node voltage amplitude and phase angle, f and h represent the synchronous generator state equation and measurement equation respectively, k and k-1 represent the time, w k and v k They represent system noise and measurement noise respectively and are independent of each other.
[0018] Step 2) is specifically as follows:
[0019] First, according to the unscented Kalman filter method, 2n+1 sigma state sampling points are generated The calculation formula is as follows
[0020]
[0021] Where n represents the number of state variables, represents the state value at time k-1, represents the state prediction error covariance matrix, Represents the calculation method of sigma points from i=n+1 to i=2n;
[0022] Then calculate the state prediction value at time k and the state prediction error covariance matrix The calculation formula is as follows
[0023]
[0024] Among them, ω i Represents weight.
[0025] In step 3), the specific calculation method is as follows:
[0026]
[0027] in, Represents the transformed sample value obtained by the nonlinear process equation at the i-th sigma point, G k Represents the error covariance matrix of the measurement model at time k.
[0028] In step 4), the interaction covariance matrix between the state prediction and the measurement prediction at the k moment is The formula is as follows:
[0029]
[0030] In step 4), the linear batch regression model expression is as follows:
[0031]
[0032] x k Represents the state quantity of the synchronous generator, that is, the true value of the state at time k, is the measurement value of this model, is the coefficient matrix, is the error of this model.
[0033] In step 4), the linear batch regression model is subjected to white noise processing, specifically as follows:
[0034]
[0035] Wherein, νk is obtained by the error covariance matrix of the linear batch regression model through the Cholesky decomposition method;
[0036] Further sorting, expressed as
[0037] γ k =B k x k +ξ k
[0038] where γ k is the measurement value of this model, B k is the coefficient matrix, ξ k is the error of this model.
[0039] In step 5), the step uses an improved algorithm based on exponential absolute value to solve the linear batch regression model after whitening to obtain the state estimation result The details are as follows:
[0040]
[0041] in, is the state estimation solution for the u-th iteration, is the weight matrix of the u-th iteration, Q k =diag(q 1,k ,q 2,k ,…,q m,k ), where q i,k The function represented by
[0042]
[0043] Among them, r i,k represents the i-th measurement residual at time k, i = 1, ..., m, a i is the threshold value, r i is the measurement residual, σ i is the standard deviation of the noise.
[0044] In step 7), the estimated error covariance at the k moment is The calculation formula is as follows
[0045]
[0046] Among them, IF(r k ) represents the influence function of the measurement model, represent The probability density function of Represents the measurement residual.
[0047]
[0048] It can be seen from the above description of the present invention that, compared with the prior art, the present invention has the following beneficial effects:
[0049] In order to suppress the influence of bad data and non-Gaussian noise and effectively improve the robustness of the algorithm and the accuracy of state estimation, the present invention combines the exponential function and the unscented transformation, and proposes an unscented Kalman filter dynamic state estimator based on the exponential function. The present invention can effectively suppress the influence of bad data and non-Gaussian noise, and the algorithm flow is clear, the implementation is simple, and it is convenient for engineering application. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 is a flow chart of an embodiment of the present invention.
[0051] Figure 2 It is a comparison chart of dynamic state estimation results and other methods.
[0052] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. DETAILED DESCRIPTION
[0053] The present invention is further described below through specific implementation modes.
[0054] The synchronous generator state estimation method proposed by the present invention, which can process non-Gaussian noise and bad data, comprises the following steps:
[0055] 1) Initialize the estimator parameter values, including the initial state vector The covariance matrices of system noise and measurement noise W0 and G0, the initial state estimation covariance matrix Φ 00 .
[0056] Among them, the estimator is equipped with a process model and a measurement model of the synchronous generator, which are expressed as:
[0057] x k =f(x k-1 ,u k )+w k
[0058] z k =h(x k ,u k )+v k
[0059] where x k =[δωE q′ E d′ ] T They represent the state vector of the synchronous generator, δ represents the phase angle, ω represents the angular velocity, and E q′ Ed′ represents the transient electromotive force of the q-axis and the d-axis, u k =[E fd T m ] T represents the control variable, E fd represents the excitation voltage, T m represents the generator mechanical torque, z k =[Vθ] T represents the measurement vector, V, θ represent the node voltage amplitude and phase angle, f and h represent the synchronous generator state equation and measurement equation respectively, k and k-1 represent the time, w k and v k They represent system noise and measurement noise respectively and are independent of each other.
[0060] 2) Using the prediction step of the unscented Kalman filter method, calculate the state prediction value at time k and the state prediction error covariance matrix The details include:
[0061] First, according to the unscented Kalman filter method, 2n+1 sigma state sampling points are generated The calculation formula is as follows
[0062]
[0063] Where n represents the number of state variables, represents the state value at time k-1, represents the state prediction error covariance matrix, Represents the calculation method of the sigma point from i=n+1 to i=2n.
[0064] Then use the prediction step of the unscented Kalman filter method to calculate the state prediction value at time k and the state prediction error covariance matrix The calculation formula is as follows
[0065]
[0066] Among them, ω i Represents weight.
[0067] 3) According to the measurement function h, calculate the measurement prediction value at time k and the measurement prediction error covariance matrix The calculation method is as follows:
[0068]
[0069] in, Represents the transformed sample value obtained by the nonlinear process equation at the i-th sigma point, G k Represents the error covariance matrix of the measurement model at time k
[0070] 4) Calculate the interaction covariance matrix between the state prediction and measurement prediction at time k Combining the state prediction value and the measurement value, a linear batch regression model is established and whitening is performed.
[0071] Among them, the interaction covariance matrix between the state prediction and measurement prediction at time k is The formula is as follows:
[0072]
[0073] Combining the state prediction value and the measured value, a linear batch regression model is established to increase the redundancy of the state estimation. The expression can be further expressed as
[0074]
[0075] Where I is the unit matrix, x k represents the true value of the state at time k, and the expression can be further expressed as
[0076]
[0077] x k Represents the state quantity of the synchronous generator, that is, the true value of the state at time k, is the measurement value of this model, is the coefficient matrix, is the error of this model.
[0078] The covariance matrix satisfied is as follows
[0079]
[0080] where νk can be obtained by Cholesky decomposition.
[0081] 5) Using the improved algorithm based on exponential absolute value to solve the linear batch regression model after whitening processing to obtain the state estimation result
[0082] Among them, the linear batch regression model is subjected to white noise processing, as follows:
[0083]
[0084] Wherein, νk is obtained by the error covariance matrix of the linear batch regression model through the Cholesky decomposition method;
[0085] Further sorting, expressed as
[0086] γ k =B k x k +ξ k
[0087] where γ k is the measurement value of this model, B k is the coefficient matrix, ξ k is the error of this model.
[0088] The state estimation result is obtained by solving the linear batch regression model after whitening using an improved algorithm based on exponential absolute value. Among them, the robust state estimation based on the exponential function can be obtained by minimizing the objective function as follows:
[0089]
[0090] m is the number of measurements collected at the kth moment, ρ p yes
[0091]
[0092] a i is the threshold value, r i is the measurement residual, σ i is the standard deviation of the noise. Minimizing the above objective function, the state estimate can be derived as:
[0093]
[0094] in, is the state estimation solution for the u-th iteration, is the weight matrix of the u-th iteration, Q k =diag(q 1,k ,q 2,k ,…,q m,k ), where q i,k The function represented by
[0095]
[0096] Among them, r i,k represents the i-th measurement residual at time k, i = 1, ..., m, a i is the threshold value, r i is the measurement residual, σ i is the standard deviation of the noise
[0097] 6) Repeat 2)-5) until satisfied The iteration stops when is the state estimation solution for the uth iteration;
[0098] 7) Output the dynamic state estimation result and use the influence function to calculate the estimation error covariance at time k And update the error covariance, the calculation formula is as follows
[0099]
[0100] in represents the influence function of the measurement model, represent The probability density function of Represents the measurement residual.
[0101]
[0102] In summary, the present invention is fully applicable to the field of dynamic state estimation of power systems, and has the advantages of good robustness and high estimation accuracy. The present invention can provide more accurate data support for advanced applications such as economic dispatch and safety assessment in the control decision center, and has good application prospects.
[0103] The above is only a specific implementation of the present invention, but the design concept of the present invention is not limited thereto. Any non-substantial changes to the present invention using this concept shall be deemed as an infringement of the protection scope of the present invention.
Claims
1. A synchronous generator state estimation method capable of handling non-Gaussian noise and bad data, characterized in that: The steps include: 1) Initialize the estimator parameter values, including the initial state vector The covariance matrices of system noise and measurement noise W0 and G0, the initial state estimation covariance matrix Φ 00 ; 2) Using the prediction step of the unscented Kalman filter method, calculate the state prediction value at time k and the state prediction error covariance matrix 3) According to the measurement function h, calculate the measurement prediction value at time k and the measurement prediction error covariance matrix 4) Calculate the interaction covariance matrix between the state prediction and measurement prediction at time k Combining the state prediction value and the measurement value, a linear batch regression model is established and white noise processing is performed; the linear batch regression model expression is as follows: x k Represents the state quantity of the synchronous generator, that is, the true value of the state at time k, is the measurement value of this model, is the coefficient matrix, is the error of this model; The linear batch regression model is subjected to white noise processing as follows: Among them, ν k The error covariance matrix of the linear batch regression model is obtained by Cholesky decomposition method; Further sorting, expressed as c k =B k x k +ξ k where γ k is the measurement value of this model, B k is the coefficient matrix, ξ k is the error of this model; 5) Using the improved algorithm based on exponential absolute value to solve the linear batch regression model after whitening processing to obtain the state estimation result The details are as follows: in, is the state estimation solution for the u-th iteration, is the weight matrix of the u-th iteration, Q k =diag(q 1,k ,q 2,k ,…,q m,k ), where q i,k The function represented by Among them, r i,k represents the i-th measurement residual at time k, i = 1, ..., m, a i is the threshold value, r i is the measurement residual, σ i is the standard deviation of the noise; 6) Repeat 2)-5) until satisfied <10 -3 The iteration stops when is the state estimation solution for the uth iteration; 7) Output the dynamic state estimation result and use the influence function to calculate the estimation error covariance at time k And update the error covariance; the estimated error covariance at the k moment The calculation formula is as follows in represents the influence function of the measurement model, represent The probability density function of represents the measurement residual, 2. The synchronous generator state estimation method capable of processing non-Gaussian noise and bad data according to claim 1, characterized in that: The estimator is provided with a process model and a measurement model of the synchronous generator, which are respectively expressed as: x k =f(x k-1 ,u k )+w k z k =h(x k ,u k )+v k where x k =[δωE q′ E d′ ] T They represent the state vector of the synchronous generator, δ represents the phase angle, ω represents the angular velocity, and E q′ E d′ represents the transient electromotive force of the q-axis and the d-axis, u k =[E fd T m ] T represents the control variable, E fd represents the excitation voltage, T m represents the generator mechanical torque, z k =[Vθ] T represents the measurement vector, V, θ represent the node voltage amplitude and phase angle, f and h represent the synchronous generator state equation and measurement equation respectively, k and k-1 represent the time, w k and v k They represent system noise and measurement noise respectively and are independent of each other.
3. The synchronous generator state estimation method capable of processing non-Gaussian noise and bad data as claimed in claim 2, characterized in that: Step 2) is specifically as follows: First, according to the unscented Kalman filter method, 2n+1 sigma state sampling points are generated The calculation formula is as follows Where n represents the number of state variables, represents the state value at time k-1, represents the state prediction error covariance matrix, Represents the calculation method of sigma points from i=n+1 to i=2n; Then calculate the state prediction value at time k and the state prediction error covariance matrix The calculation formula is as follows Among them, ω i Represents weight.
4. The synchronous generator state estimation method capable of processing non-Gaussian noise and bad data as claimed in claim 3, characterized in that: In step 3), the specific calculation method is as follows: in, Represents the transformed sample value obtained by the nonlinear process equation at the i-th sigma point, G k Represents the error covariance matrix of the measurement model at time k.
5. The synchronous generator state estimation method capable of processing non-Gaussian noise and bad data as claimed in claim 4, characterized in that: In step 4), the interaction covariance matrix between the state prediction and the measurement prediction at the k moment is The formula is as follows:
Citation Information
Patent Citations
Distributed big data system risk predicating method based on AHP-RBF
CN104978612A
Dynamic state estimation method in consideration of network attack and parameter uncertainty
CN109218073A
