CN110569476A - Method for estimating harmonic parameters of power system - Google Patents
Method for estimating harmonic parameters of power system Download PDFInfo
- Publication number
- CN110569476A CN110569476A CN201910735904.1A CN201910735904A CN110569476A CN 110569476 A CN110569476 A CN 110569476A CN 201910735904 A CN201910735904 A CN 201910735904A CN 110569476 A CN110569476 A CN 110569476A
- Authority
- CN
- China
- Prior art keywords
- harmonic
- signal
- power system
- vector
- estimating
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R23/00—Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
- G01R23/16—Spectrum analysis; Fourier analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Mathematical Physics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Theoretical Computer Science (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Algebra (AREA)
- Pure & Applied Mathematics (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Supply And Distribution Of Alternating Current (AREA)
- Emergency Protection Circuit Devices (AREA)
Abstract
the invention discloses a method for estimating harmonic parameters of an electric power system, which comprises the following steps: acquiring a current signal d (t) with noise in a power system, wherein t represents time; discretizing the current signal d (t) into a converted current signal d (n) and using d (n) as a desired signal in an adaptive filter; establishing an adaptive filter model according to a harmonic signal y (n) in the power system, and determining an input vector X (n) and a weight vector W in the adaptive filter modelm(n) and output vectorAdopting minimum logarithm absolute deviation algorithm to pair weight vector W in modelmand (n) estimating to obtain the amplitude and the phase angle of the harmonic signal.
Description
Technical Field
The invention belongs to the technical field of parameter estimation methods, and relates to an estimation method of harmonic parameters of an electric power system.
Background
with the development of scientific technology in the present generation, a large amount of harmonics are generated in a power system due to the use of more and more power electronic devices and nonlinear loads, so that the harmonic problem in the power system becomes a more serious problem at present. The quality of electric energy is concerned with the production efficiency and the electricity utilization safety in daily life, and along with the introduction of a large amount of harmonic pollution, the quality of electric energy not only influences the efficiency of electric energy production, transmission and use, but also aggravates the aging of electric appliances, influences communication and seriously leads to the damage of devices. Therefore, the solution of harmonic pollution becomes urgent. The prerequisite for solving the problem of harmonic pollution is to find a harmonic source and know the parameters and the positions of the harmonics.
The traditional adaptive filtering method only considers the gaussian noise of the system when estimating the harmonic parameters of the power system, such as the least mean square error-based adaptive filtering algorithm (LMS) and the recursive least square estimation algorithm (RLS), and the method has larger deviation on the estimation accuracy of the amplitude and the phase angle in the non-gaussian noise interference environment. In an actual power system, non-gaussian noise often exists, so that the research on a robust power system harmonic parameter estimation method has important practical significance.
Disclosure of Invention
the invention aims to provide an estimation method of harmonic parameters of a power system, which can effectively reduce the influence of non-Gaussian noise on the estimation of the harmonic parameters.
The technical scheme adopted by the invention is that the method for estimating the harmonic parameters of the power system comprises the following steps:
Step 1, collecting a current signal d (t) with noise in a power system, wherein t represents time;
step 2, discretizing the current signal d (t) into a converted current signal d (n), and taking d (n) as an expected signal in the adaptive filter;
Step 3, establishing an adaptive filter model according to a harmonic signal y (n) in the power system, and determining an input vector X (n) and a weight vector W in the adaptive filter modelm(n) and output vector
Step 4, adopting a minimum logarithm absolute deviation algorithm to carry out comparison on weight vector W in the modelm(n) estimating to obtain the amplitude and phase of the harmonic signalAnd (4) an angle.
The invention is also characterized in that:
the current signal d (t) in step 1 is:
In the above formula, vdcIs a direct current component; a. thekIs the amplitude of the kth harmonic, fkAt the frequency of the k-th harmonic,Is the phase of the kth harmonic, M is the highest harmonic order, n0(t) is the noise in the true harmonic signal, n0(t)=n1(t)+n2(t),n1(t) is Gaussian noise; n is2(t) is non-Gaussian noise.
the discretized transition current signal d (n) of the step 2 is:
in the above formula, Ts=1/fs,fsis the sampling frequency, TsIs the sampling period and n is the number of iterations.
the step 3 specifically comprises the following steps:
Step 3.1, analyzing the harmonic signal to be estimated, and establishing an adaptive filter model:
step 3.2, determining input vectors X (n) and W by formula (5)m(n) and output vector
inputting a vector:
X(n)=[vdc,x1,x2,…,x2M-1,x2M]T (5);
=[1,cos(ω1n),sin(ω1n)…,cos(ωMn),sin(ωMn)]T
In the above formula, ωkBeing angular frequency, omega, of the signalk=2πfk;
weight vector:
Wm(n)=[wdc,w1,w2,…,w2M-1,w2M]T
=[d0,a1,b1,…,aM,bM]T (6);
whereink takes the value 1, 2 … … M; m is the weight vector length;
Based on input vectors X (n), Wm(n) calculating to obtain an output vector
the step 4 specifically comprises the following steps:
Step 4.1, according to the output vectorAnd the desired signal d (n) to obtain an error signal e (n):
Step 4.2, the error signal e (n) is substituted into the cost function, and the expression of the cost function is as follows:
In the above formula, a is a design parameter of the cost function;
and 4.3, constructing a weight vector iterative formula by adopting a gradient method according to the cost function:
in the above formula, mu is a step length parameter;
step 4.4, carrying out iterative calculation on the formula (12) until the error signal e (n) is converged and approaches zero, and processing the weight vector to obtain the amplitude A of the harmonic signalkangle of sum
the invention has the beneficial effects that: according to the estimation method, the self-adaptive filter constructed by the method can effectively reduce the influence of non-Gaussian noise (especially impact noise) on harmonic parameter estimation, and ensure the effectiveness of parameter estimation precision; the algorithm is stable, the calculation complexity is low, and the steady state convergence accuracy under the non-Gaussian noise condition is higher than that of other similar traditional algorithms.
Drawings
FIG. 1 is a schematic diagram of a method for estimating harmonic parameters of an electrical power system according to the present invention;
FIG. 2 is a comparison graph of step size parameters versus mean square error of performance of estimated values for the method of estimating harmonic parameters of an electrical power system according to the present invention;
FIG. 3 is a comparison graph of step size parameter versus amplitude of 5 th harmonic in the method for estimating harmonic parameters of an electric power system according to the present invention;
FIG. 4 is a comparison graph of step size parameter versus phase angle of 5 harmonics for a method of estimating harmonic parameters of an electrical power system in accordance with the present invention;
FIG. 5 is a comparison graph of mean square error of parameter a versus estimated value performance for an estimation method of harmonic parameters of an electric power system according to the present invention;
FIG. 6 is a comparison graph of parameter a versus 5 th harmonic amplitude for a method of estimating harmonic parameters of an electrical power system according to the present invention;
FIG. 7 is a comparison of parameter a versus phase angle of 5 th harmonic for a method of estimating harmonic parameters of an electrical power system according to the present invention;
FIG. 8 is a diagram showing a comparison of mean square error between LLAD algorithm under Gaussian noise and LMS and RLS algorithm according to the estimation method of harmonic parameters of the power system;
FIG. 9 is a comparison graph of the amplitude of 5 th harmonic of the LLAD, LMS, RLS algorithms under the condition of mixed noise according to the estimation method of the harmonic parameters of the power system of the present invention;
FIG. 10 is a phase angle comparison diagram of 5 harmonics of LLAD, LMS, RLS algorithms under the condition of mixed noise according to the estimation method of harmonic parameters of the power system of the present invention;
fig. 11 is a tracking diagram of the dynamic signal by the LLAD algorithm under the condition of mixed noise according to the method for estimating harmonic parameters of the power system of the present invention.
Detailed Description
The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
A method for estimating harmonic parameters of an electric power system, as shown in fig. 1, includes the following steps:
Step 1, collecting a current signal d (t) with noise in a power system, wherein t represents time;
d(t)=y(t)+n0(t) (1);
Wherein n is0(t) is a noise signal, y (t) is a harmonic signal without noise, then:
In the above formula, vdcis a direct current component; a. thekIs the amplitude of the kth harmonic, fkAt the frequency of the k-th harmonic,is the phase of the kth harmonic, M is the highest harmonic order, n0(t) is the noise in the true harmonic signal, n0(t)=n1(t)+n2(t),n1(t) is Gaussian noise; n is2(t) is non-Gaussian noise.
Step 2, discretizing the current signal d (t) into a converted current signal d (N), and taking d (N) as a desired signal in an adaptive filter, wherein N is 0, 1, 2 … … N-1, and N is the maximum iteration number;
in the above formula, Tsis the sampling period, Ts=1/fs,fsIs the sampling frequency and n is the number of iterations.
step 3, establishing an adaptive filter model according to a harmonic signal y (n) in the power system, and determining an input vector X (n) and a weight vector W in the adaptive filter modelm(n) and output vector
Step 3.1, analyzing the harmonic signal y (n) in the power system, and establishing an adaptive filter model:
Step 3.2, determining input vectors X (n) and W by formula (5)m(n) and output vector
inputting a vector:
X(n)=[vdc,x1,x2,…,x2M-1,x2M]T
=[1,cos(ω1nTs),sin(ω1nTs)…,cos(ωMnTs),sin(ωMnTs)]T (5);
in the above formula, ωkBeing angular frequency, omega, of the signalk=2πfk;
Weight vector:
Wm(n)=[wdc,w1,w2,…,w2M-1,w2M]T
=[d0,a1,b1,…,aM,bM]T (6);
Whereink takes the value 1, 2 … … M; m is the weight vector length;
Based on input vectors X (n), Wm(n) calculating to obtain an output vector
Step 4, adopting a least-logarithm absolute deviation algorithm (LLAD) to carry out weighting on a weight vector W in the modelmAnd (n) estimating to obtain the amplitude and the phase angle of the harmonic signal.
step 4.1, according to the output vectorAnd the desired signal d (n) to obtain an error signal e (n):
Step 4.2, the invention adopts the cost function of the minimum logarithm absolute deviation algorithm, and the error signal e (n) is brought into the cost function, and the expression of the cost function is as follows:
In the above formula, a is a design parameter of the cost function, affects the performance of the algorithm, and determines the constraint range of the error;
And 4.3, constructing a weight vector iterative formula by adopting a gradient method according to the cost function:
Formula (9) is first substituted into formula (10), which is then derived to obtain the gradient update:
The updated weight vector is:
In the above formula, mu is a step length parameter, and determines the performance of the algorithm;
Step 4.4, carrying out iterative calculation on the formula (12) until the error signal e (n) is converged and approaches zero, and processing the weight vector to obtain the amplitude A of the harmonic signalkangle of sumThe method comprises the following specific steps:
According to the constitution of the weight vector:
Wm(n)=[wdc,w1,w2,…,w2M-1,w2M]T
=[d0,a1,b1,…,aM,bM]T (6);
Then:
Through the mode, the self-adaptive filter constructed by the estimation method can effectively reduce the influence of non-Gaussian noise (especially impact noise) on the harmonic parameter estimation, and ensure the effectiveness of the parameter estimation precision; the algorithm is stable, the calculation complexity is low, and the steady state convergence accuracy under the non-Gaussian noise condition is higher than that of other similar traditional algorithms.
The performance of the algorithm of the invention is tested, and the results are as follows:
Before the experiment, the harmonic signal y (n) was defined as:
y(n)=50*cos(2*pi*f*t-pi/6)+25*cos(2*pi*f*3*t-pi/3)
+10*cos(2*pi*f*5*t-pi/4)+5*cos(2*pi*f*9*t
-pi/3)+8;
the signal duration is 0.3s, the sampling frequency is 10KHz, the fundamental wave frequency f is 50Hz, and the signal contains fundamental wave, 3-order harmonic wave, 5-order harmonic wave, 9-order harmonic wave and direct current component; the mean value of Gaussian noise is 0, the variance is 1, and the signal-to-noise ratio is 30 dB.
the following simulations all use the magnitude and phase angle of the fifth harmonic as a performance reference.
example 1
The harmonic signal definition performs performance analysis on the design parameters of the LLAD algorithm under the condition that only Gaussian noise exists in the signal, as shown in FIGS. 2, 3 and 4, the parameter a is fixed, the step length is changed to probe the step length parameter, and the convergence speed is higher when the step length is larger, but the steady-state precision is lower and the steady-state fluctuation amplitude is larger; fig. 5, 6, and 7, the step size parameter is fixed, and the performance of the parameter a is explored, it can be seen that the parameter a has a characteristic similar to the step size, and the larger the parameter a is, the faster the convergence speed is, and the lower the accuracy is.
Example 2
When the harmonic noise is gaussian noise, as shown in fig. 8, the LLAD algorithm of the present invention is compared with the LMS and RLS algorithms, and it can be seen that the LLAD algorithm has no advantages in the gaussian noise environment, the performance of the algorithm is similar to that of the LMS, but the convergence rate is lower than that of the RLS; table 1 shows that the LLAD, LMS and RLS algorithms are compared by 20 monte carlo experiments, and it is verified that the LLAD algorithm has robustness under gaussian noise condition and has very high accuracy.
example 3
when the harmonic noise is a mixed noise environment of the impulse noise and the gaussian noise, as shown in fig. 9 and 10, comparing the LLAD with the LMS and RLS algorithms, it can be seen that the LLAD algorithm can obviously inhibit the abrupt non-gaussian noise in the non-gaussian noise environment, and the accuracy is higher than that of the traditional algorithm; as shown in fig. 11, under the condition of non-gaussian noise, the dynamic signal tracking performance of the algorithm can obtain a good tracking performance of the LLAD algorithm, and the harmonic signal can be well fitted during the pulse spike; table 2 shows that the LLAD, LMS and RLS algorithms are compared by 20 monte carlo experiments, and it is verified that the LLAD algorithm has robustness under the non-gaussian noise condition and has higher accuracy, while the traditional algorithm has larger deviation.
TABLE 1
TABLE 2
Claims (5)
1. a method for estimating harmonic parameters of an electric power system is characterized by comprising the following steps:
step 1, collecting a current signal d (t) with noise in a power system, wherein t represents time;
Step 2, discretizing the current signal d (t) into a converted current signal d (n), and taking d (n) as an expected signal in an adaptive filter;
step 3, establishing an adaptive filter model according to a harmonic signal y (n) in the power system, and determining an input vector X (n) and a weight vector W in the adaptive filter modelm(n) and output vector
Step 4, adopting a minimum logarithm absolute deviation algorithm to carry out comparison on weight vector W in the modelmAnd (n) estimating to obtain the amplitude and the phase angle of the harmonic signal.
2. The method for estimating harmonic parameters of an electric power system according to claim 1, wherein the current signal d (t) in step 1 is:
in the above formula, vdcIs a direct current component; a. thekis the amplitude of the kth harmonic, fkAt the frequency of the k-th harmonic,Is the phase of the kth harmonic, M is the highest harmonic order, n0(t) is the noise in the true harmonic signal, n0(t)=n1(t)+n2(t),n1(t) is Gaussian noise; n is2(t) is non-Gaussian noise.
3. the method according to claim 2, wherein the discretized transition current signal d (n) in step 2 is:
In the above formula, Ts=1/fs,fsIs the sampling frequency, TsIs the sampling period and n is the number of iterations.
4. the method for estimating harmonic parameters of an electric power system according to claim 1, wherein step 3 specifically comprises:
Step 3.1, analyzing the harmonic signal to be estimated, and establishing an adaptive filter model:
Step 3.2, determining input vectors X (n) and W by formula (5)m(n) and output vector
inputting a vector:
X(n)=[vdc,x1,x2,…,x2M-1,x2M]T
=[1,cos(ω1n),sin(ω1n)…,cos(ωMn),sin(ωMn)]T (5);
In the above formula, ωkBeing angular frequency, omega, of the signalk=2πfk;
weight vector:
Wm(n)=[wdc,w1,w2,…,w2M-1,w2M]T
=[d0,a1,b1,…,aM,bM]T (6);
whereink takes the value 1, 2 … … M; m is the weight vector length;
Based on input vectors X (n), Wm(n) calculating to obtain an output vector
5. The method for estimating harmonic parameters of an electric power system according to claim 1, wherein step 4 specifically comprises:
step 4.1, according to the output vectorand the desired signal d (n) to obtain an error signal e (n):
Step 4.2, the error signal e (n) is substituted into the cost function, and the expression of the cost function is as follows:
In the above formula, a is a design parameter of the cost function;
and 4.3, constructing a weight vector iterative formula by adopting a gradient method according to the cost function:
in the above formula, mu is a step length parameter;
step 4.4, carrying out iterative calculation on the formula (12) until the error signal e (n) is converged and approaches zero, and processing the weight vector to obtain the amplitude A of the harmonic signalkAngle of sum
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910735904.1A CN110569476B (en) | 2019-08-09 | 2019-08-09 | Method for estimating harmonic parameters of power system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910735904.1A CN110569476B (en) | 2019-08-09 | 2019-08-09 | Method for estimating harmonic parameters of power system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110569476A true CN110569476A (en) | 2019-12-13 |
CN110569476B CN110569476B (en) | 2022-09-23 |
Family
ID=68775078
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910735904.1A Active CN110569476B (en) | 2019-08-09 | 2019-08-09 | Method for estimating harmonic parameters of power system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110569476B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111443241A (en) * | 2020-04-27 | 2020-07-24 | 南京工程学院 | Harmonic detection method for high-voltage shore power system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130173189A1 (en) * | 2011-12-29 | 2013-07-04 | University of Connecticut, a public institution of higher education | Robust high resolution spectrum estimation method for accurate phasor, harmonic and interharmonic measurement in power systems |
CN109061686A (en) * | 2018-07-09 | 2018-12-21 | 太原理工大学 | Adaptive multipath estimation method based on recurrence broad sense maximum cross-entropy |
CN109212309A (en) * | 2018-08-09 | 2019-01-15 | 西安理工大学 | A kind of three-phase electrical power system frequency estimating methods |
-
2019
- 2019-08-09 CN CN201910735904.1A patent/CN110569476B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130173189A1 (en) * | 2011-12-29 | 2013-07-04 | University of Connecticut, a public institution of higher education | Robust high resolution spectrum estimation method for accurate phasor, harmonic and interharmonic measurement in power systems |
CN109061686A (en) * | 2018-07-09 | 2018-12-21 | 太原理工大学 | Adaptive multipath estimation method based on recurrence broad sense maximum cross-entropy |
CN109212309A (en) * | 2018-08-09 | 2019-01-15 | 西安理工大学 | A kind of three-phase electrical power system frequency estimating methods |
Non-Patent Citations (2)
Title |
---|
白迪: "基于RLS的自适应滤波算法研究", 《现代电力》 * |
黄华: "基于自适应变步长最小均方的谐波检测算法的研究", 《电工电气》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111443241A (en) * | 2020-04-27 | 2020-07-24 | 南京工程学院 | Harmonic detection method for high-voltage shore power system |
Also Published As
Publication number | Publication date |
---|---|
CN110569476B (en) | 2022-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Chen et al. | An adaptive TLS-ESPRIT algorithm based on an SG filter for analysis of low frequency oscillation in wide area measurement systems | |
CN105811408B (en) | Towards the harmonic energy transfer function modeling method of MMC current conversion stations | |
CN103308747B (en) | A kind of weighting LMS harmonic current detecting method | |
CN110726875A (en) | New energy flexible direct-current grid-connected transient harmonic detection method and system | |
CN107863774B (en) | Method, device and system for acquiring harmonic command current and readable storage medium | |
CN110569476B (en) | Method for estimating harmonic parameters of power system | |
Zhang et al. | A non-intrusive identification method of harmonic source loads for industrial users | |
Islam et al. | Accurate estimation of phase angle for three-phase systems in presence of unbalances and distortions | |
CN112255457B (en) | Phase angle difference measuring method suitable for automatic quasi-synchronization device | |
Borisov et al. | A computationally efficient RDFT-based reference signal generator for active compensators | |
Nayak et al. | A robust extended Kalman filter for the estimation of time varying power system harmonics in noise | |
CN115343570B (en) | Online identification method and device for power grid impedance | |
CN112485522B (en) | Electric energy data perception-based flat-top window function synchronous phasor measurement method and device | |
CN115441441A (en) | Subsynchronous/supersynchronous oscillation detection method based on oscillation component elliptical track | |
CN110095654B (en) | Power grid inductance detection method | |
CN108445288B (en) | Electric energy metering method suitable for half-cycle distortion condition | |
Zhao et al. | An improved variable step size LMS harmonic current detection method for active power filter | |
CN109980634B (en) | Harmonic transfer function matrix-based DC/DC converter stability analysis method | |
CN213367745U (en) | Fundamental wave synchronous measurement circuit | |
CN112631147B (en) | Intelligent power grid frequency estimation method and system oriented to impulse noise environment | |
Chen et al. | A algorithm of VMD for the detection of APF harmonics | |
Zhang et al. | Householder-based Prony Method for Identification of Low-frequency Oscillation in Power System | |
Sun et al. | A Novel All-phase Fast Fourier Transform-based Parameters Identification of High Frequency Oscillations | |
Geng et al. | Modeling and analysis of AC side equivalent harmonic impedance of HVDC converter | |
CN115097204A (en) | Photovoltaic power generation harmonic detection method and system based on neural network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230613 Address after: 518083 101, No.16 Tianxi Road, Xinhe Community, Fucheng Street, Longhua District, Shenzhen City, Guangdong Province Patentee after: Shenzhen Kangwei Vision Technology Co.,Ltd. Address before: 710048 Shaanxi province Xi'an Beilin District Jinhua Road No. 5 Patentee before: XI'AN University OF TECHNOLOGY |
|
TR01 | Transfer of patent right |