CN115577251A - Method, system and terminal for detecting non-stationary subsynchronous oscillation signal - Google Patents
Method, system and terminal for detecting non-stationary subsynchronous oscillation signal Download PDFInfo
- Publication number
- CN115577251A CN115577251A CN202211271848.9A CN202211271848A CN115577251A CN 115577251 A CN115577251 A CN 115577251A CN 202211271848 A CN202211271848 A CN 202211271848A CN 115577251 A CN115577251 A CN 115577251A
- Authority
- CN
- China
- Prior art keywords
- signal
- ratio
- sso
- reset
- ekf
- 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.)
- Pending
Links
Images
Classifications
-
- 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
- G06F17/16—Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
-
- 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
- G06F17/18—Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- Computational Mathematics (AREA)
- Mathematical Optimization (AREA)
- Theoretical Computer Science (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Analysis (AREA)
- Algebra (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Operations Research (AREA)
- Probability & Statistics with Applications (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Evolutionary Biology (AREA)
- Computing Systems (AREA)
- Measurement Of Mechanical Vibrations Or Ultrasonic Waves (AREA)
Abstract
The invention discloses a method, a system and a terminal for detecting a non-stationary subsynchronous oscillation signal, which belong to the field of oscillation detection of electric power systems 2 M 4 The self-adaptive reset threshold value adjusting method of the estimator is used for self-adaptively adjusting the reset threshold value under different noise environments. When the self-reset criterion is effective, the EKF parameters are initialized and the signals are continuously detected, so that the real-time monitoring of the noise-containing non-stationary SSO signals is realized. Finally, the effectiveness of the proposed method is verified through simulation analysis.
Description
Technical Field
The invention relates to the field of oscillation detection of power systems, in particular to a method, a system and a terminal for detecting non-stationary subsynchronous oscillation signals.
Background
The new energy grid-connected power system SSO has the non-stationary characteristic of time-varying frequency and amplitude, and SSO signals in an actual system usually contain a large amount of noise, so that online identification is difficult. Currently, the conventional SSO identification methods can be roughly classified into two types: synchrophasor-based methods and waveform-based methods. The synchrophasor-based method measures the SSO parameters through the spectral leakage component of the synchrophasor, and a complex algorithm is required to eliminate the influence of the fundamental frequency signal on the SSO component measurement. In addition, the method requires an observation window length of more than 2 seconds, and cannot capture the mode of rapid change of the SSO. Waveform-based methods, on the other hand, are mainly based on DFT and Prony. Classical DFT suffers from the problems of the fence effect and spectral leakage and relies on a long observation window to improve resolution. Prony is a high-precision SSO identification method, but it lacks time-varying tracking ability. In addition, when the SSO signal is disturbed by noise, the accuracy of Prony identification is greatly affected.
Kalman Filtering (KF) has been widely used for on-line synchrophasor estimation, which can accurately estimate the amplitude, phase, and frequency of a signal under noise in a recursive manner. Recently, KF has also been applied to SSO detection. However, KF will face filter divergence problems when SSO frequencies are mutated. Furthermore, KF-based methods require the frequency of the SSO to be acquired in advance. There is a method to combine KF with a reset criterion to solve the above problem, but this method does not provide a threshold selection criterion in the reset criterion, and in the case of different signal to noise ratios of the detected signals, the reset threshold cannot be adaptively selected for different noise environments, so that the detection performance of the algorithm will be affected, and the adaptivity is not high.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a non-stationary subsynchronous oscillation signal detection method, aiming at accurately detecting non-stationary SSO information generated in a system under the Gaussian noise interference.
The purpose of the invention can be realized by the following technical scheme:
a non-stationary subsynchronous oscillation signal detection method comprises the following steps:
preprocessing signal data, calculating signal parameters of the preprocessed signal data through four-state EKF (extended Kalman Filter) and reconstructing the signal to obtain an SSO (Single side offset) signal fitting at the current moment, and calculating a residual ratio e rati o:In the formula e k Is kT s The residual error of the time of day,is an estimate of the SSO signal;
by using M 2 M 4 The estimator calculates the signal-to-noise ratio of the signal and establishes an adaptive reset threshold r e :
Wherein SNR is signal-to-noise ratio;
when satisfying the condition e ratio Greater than r e Then the error covariance matrix P in the four-state EKF is calculated k Reset to nI 4×4 And updates the initial frequency value.
Further, the residual ratio e ratio Based on residual error e k And (3) calculating:
kT s residual error e of time k Is represented as follows:
wherein, y k Is a quantity measurement; e.g. of a cylinder k The variance of (c) can be approximated by:
wherein m is the window length, and k is greater than or equal to 1<m, then m is replaced by k; SSO signal estimationThe variance of (c) can be calculated by:
further, the adoption of M 2 M 4 The estimator calculates the signal-to-noise ratio of the signal and establishes an adaptive reset threshold r e The method specifically comprises the following steps:
after four-state EKF calculation, if the formulas (9) to (12) are satisfied, e ratio Can be approximated by formula (13):
then the value y is measured k SNR of (d) can be calculated by:
according to formula (13) and formula (14), e ratio Can be further expressed as:
when the filter diverges, the fitted SSO signal will deviate significantly from the true value and satisfyThen, the following inequality holds:
e k >v k (17)
according to e ratio Greater than r e The following inequalities hold true for the conditions of (1), (15), (16), and (18):
combining equation (15) and equation (19), the threshold can be calculated by:
then according to equation (20) y can be measured k Determining the threshold r at SNR of e 。
Further, with M 2 M 4 The estimator calculates the signal-to-noise ratio of the signal and establishes an adaptive reset threshold comprising the steps of:
let M 2 Denotes y k Second order moment of (c):
let M 4 Denotes y k Fourth order moment of (d):
defining the signal power as S and the noise power as N; m 2 Can be moved from belowThe formula is given as:
M 2 =S+N (23)
and, M 4 Can be given by:
M 4 =k x S 2 +6SN+k v N 2 (24)
wherein k is x And k v Signal kurtosis and noise kurtosis, respectively;
solving equations (23) and (24) for S and N yields:
form (a) aAndthe estimated amount of the ratio of (A)/(B) is expressed as M 2 M 4 Estimating quantity; for zero mean sinusoidal signals, k x =1.5, for noise, k v =3, therefore:
the second and fourth moments are estimated from the time average of the measured signal, satisfying equations (28) and (29):
measured signaly k The estimated SNR of (d) is:
in view of the SNR estimation bias, an additional term Δ is introduced in equation (20), as shown below, to make the threshold adjustment more reliable:
as mentioned above, the threshold r e The adaptive adjustment can be performed by using the equations (27) to (31).
Further, if e is satisfied ratio Greater than r e And the time interval between resets is greater than time interval T Δ Is reset, the error covariance matrix P in the four state EKF is obtained k Reset to nI 4×4 Updating the initial frequency value, re-initializing the initialized signal data, calculating signal parameters through four-state EKF (extended Kalman filter) and reconstructing the signal to obtain an SSO (Single satellite) signal fitting at the current moment;
otherwise, the initialized signal data is directly reinitialized, signal parameters are calculated through the four-state EKF, signal reconstruction is carried out, and the SSO signal fitting at the current moment is obtained.
Further, the additional term Δ is set to 2.5.
Further, it is characterized in that the SSO signal and each parameter of the SSO signal can be obtained by the equations (1) to (4):
f S (kT s )=f S0 +x 3 (k) (3)
α S (kT s )=-x 4 (k) (4)
in the formulaIs an SSO signal that the EKF fits with a state vector,is an estimate of the SSO signal, x 1 (k)、x 2 (k)、x 3 (k) And x 4 (k) Four state variables of EKF; f. of S0 Is the initial value of the frequency.
In a second aspect, the present invention further provides a system for detecting a non-stationary subsynchronous oscillation signal, including:
the signal preprocessing module: preprocessing the signal data, and inputting the preprocessed signal data into a fitting module;
a fitting module: performing signal parameter calculation on the initialized signal data through the four-state EKF, performing signal reconstruction, and outputting an SSO signal fitted at the current moment;
a calculation module: for calculating the residual ratio e ratio And by M 2 M 4 The estimator calculates the signal-to-noise ratio of the signal and establishes an adaptive reset threshold r e ;
The self-reset judging module: based on e ratio And r e Determining whether to reset the error covariance matrix P k And an initial value of frequency;
when satisfying the condition e ratio Greater than r e And the time interval between resets is greater than time interval T Δ Then reset is performed to set the error covariance matrix P in the four state EKF k Reset to nI 4×4 Updating the initial frequency value, and inputting the initialized signal data into the signal processing module again for processing; otherwise, the initialized signal data is directly input into the signal processing module for processing.
In a third aspect, the present invention further provides a terminal device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the memory stores the computer program capable of running on the processor, and when the processor loads and executes the computer program, the method for detecting a non-stationary subsynchronous oscillation signal according to any of the foregoing methods is used.
In a fourth aspect, the present invention further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is loaded and executed by a processor, the method for detecting a non-stationary subsynchronous oscillation signal is adopted.
The invention has the beneficial effects that:
put forward a method based on M 2 M 4 The threshold adjusting method of the estimator can automatically determine the threshold of the reset criterion in the environments with different signal-to-noise ratios, ensure the effectiveness of the reset criterion in different scenes and enable the self-reset EKF method to be more adaptive.
Drawings
The invention will be further described with reference to the accompanying drawings.
FIG. 1 is a flow diagram illustrating a method according to an embodiment of the present invention;
FIG. 2 is a signal plot of scene 1 under test;
fig. 3 is a diagram of self-reset EKF reconstructed SSO results for scenario 1;
FIG. 4 is a diagram of SSO parameter identification results of scenario 1;
FIG. 5 is a signal plot of scene 2 under test;
FIG. 6 is a graph of SSO results from self-resetting EKF reconstruction for scenario 2;
FIG. 7 is a diagram of SSO parameter identification results of scenario 2.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The specific embodiment discloses a method for detecting a non-stationary subsynchronous oscillation signal by improving adaptive resetting of an EKF, and a specific flow chart of the method is shown in FIG. 1, and the method comprises the following steps:
s1: carrying out initialization setting on the parameters;
s2: obtaining a three-phase measured value, carrying out DQ conversion and removing a direct current component;
s3: if the discrete time k is smaller than the ratio T between the reset time interval and the sampling time interval Δ /T s Step S4 is entered; otherwise, the process proceeds to step S5.
S4: obtaining the most suitable initial frequency value f by using parallel EKF S0 Then adding 1 to the discrete time and returning to the step S2;
s5: calculating signal parameters by utilizing the four-state EKF and reconstructing signals;
s6: calculating a residual ratio e ratio ;
S7: by means of M 2 M 4 The estimator calculates the signal-to-noise ratio of the signal and calculates the adaptive reset threshold r based thereon e ;
S8: if e ratio Greater than r e And the time interval between resets is greater than T Δ The process advances to step S9; otherwise, go to step S10;
s9: the error covariance matrix P k Reset to nI 4×4 And updating the initial frequency value;
s10: outputting a calculation result of the k moment obtained in the step S5, and then adding 1 to the discrete moment;
s11: if the signal detection is finished, the process is finished; otherwise, the process goes to step S2.
In said step S1, the following parameters are initialized:
in the formula (I), the compound is shown in the specification,is the initial value of the state vector; p 1 Is P k Represents a covariance matrix of state vector estimation errors. I is 4×4 Is a 4 x 4 identity matrix, n is a large integer, and n is set to 100 in the present invention. Q and R are respectively the covariance matrix of the process noise equation and the noise covariance of the measurement equation, and the two values are kept unchanged in the invention. m is the window length, which should be at least larger than the corresponding number of oscillation periods. For example, if the sampling interval T s Is 0.001s, then m should be greater than 1/(f) Smin T s ) =200, wherein f Smin Is the minimum SSO frequency, f Smin =5Hz。T Δ The minimum time interval between two resets is used for preventing unnecessary resets in the iteration convergence of the extended Kalman filter.
In step S2, the signal obtained by converting the three-phase measurement signal into DQ is represented by the transient signal x in the DQ axis dq (t) consists of fundamental and time-varying SSO components, which can be modeled as:
in the formula (I), the compound is shown in the specification,andthe fundamental component and the SSO component, respectively. It is noted thatBelow the DQ axis is a dc bias. The SSO component is focused on in the invention, so that the DC bias needs to be removed firstlyThe time-varying SSO component in equation (2) can be expressed as:
in the formula, A S (t)、f S (t) and phi S Respectively, a time-varying amplitude, a time-varying frequency, and an initial phase of the SSO component. Alpha is alpha S Is the damping factor for SSO.
In said step S4, the invention applies a set of EKFs (without adaptive reset) to obtain a relatively accurate initial frequency value f S0 . Since the SSO frequency range is typically 5Hz to 45Hz (sync frequency 50 Hz) or 55Hz (sync frequency 60 Hz), the initial frequencies of the EKFs are set to 5Hz, 10Hz, 15Hz, \ 8230;, 45Hz (or 55 Hz), respectively. Wherein all EKFs can be run in parallel, which does not increase the computational burden. Parallel EKF selection-to-residual ratio expectation E (E) ratio ) The smallest corresponding frequency is the most suitable frequency. The adaptive reset method and the most appropriate initial frequency are then applied to the EKF.
In said step S5, at a fixed sampling interval T s Measuring the signal, the continuous-time model at the kth sampling point in (3) can be expressed as:
at 2 pi f S (k) For rotating the reference frame, the above signals can be rewritten as:
andin-phase component and quadrature component, respectively, from a state variable x 1 And x 2 And (4) showing. The subsynchronous frequency offset is determined by a third state variable x 3 And (4) showing. Negative number-alpha of damping factor S By a fourth state variable x 4 And (4) showing. Then, the formula (5) mayTo write the following four-state signal model:
the SSO signal is calculated with the following formula:
in the formula (I), the compound is shown in the specification,is an SSO signal that the EKF fits with a state vector,is an estimate of the SSO signal. The amplitude, frequency and damping factor of the SSO signal are calculated from the state estimate using the following equation:
f S (kT s )=f S0 +x 3 (k) (9)
α S (kT s )=-x 4 (k) (10)
in the formula, x 1 (k)、x 2 (k)、x 3 (k) And x 4 (k) Four state variables for EKF; f. of S0 Is the initial value of the frequency.
In step S6, kT is determined for EKF with Gaussian process s Residual error e of time k Is represented as follows:
wherein, y k Is a measurement of quantity. e.g. of the type k The variance of (d) can be approximated by:
wherein m is the window length, and k is greater than or equal to 1<m, then m is replaced by k. SSO signal estimationThe variance of (c) can be calculated by:
the self-reset criterion is defined as follows:
in the formula, r e Is a self-resetting threshold. e.g. of a cylinder ratio The error between the estimated value and the true value is reflected as a residual ratio.
In step S7, the four-state EKF is calculated as follows:
wherein v is k Representing the noise in the EKF measurement equation.
Thus, e ratio Can approximateComprises the following steps:
note the measured value y k Signal-to-noise ratio (SNR) of (d) can be calculated by:
according to formulae (19) and (20), e ratio Can be expressed as:
according to equation (21), e is the estimated SSO signal exactly matches the true value ratio Size and y of k Is directly related. When the filter diverges, the estimated SSO signal will deviate significantly from the true value, and usually haveThen, the following inequality holds:
e k >v k (23)
from equations (14), (21), (22), and (24), it is apparent that the following inequalities hold:
in consideration of equation (21) and equation (25), the threshold value may be calculated by the following equation:
according to equation (26), y can be measured in the estimation k Determining the threshold r at SNR of e . Then, M is added 2 M 4 The estimator is applied to SNR estimation.
Let M 2 Denotes y k Second order moment of (c):
let M be 4 Denotes y k Fourth order moment of (d):
the signal power is defined as S and the noise power as N. Thus, M 2 Can be given by:
M 2 =S+N (29)
and, M 4 Can be given by:
M 4 =k x S 2 +6SN+k v N 2 (30)
wherein k is x And k v Signal kurtosis and noise kurtosis, respectively.
Solving equations (29) and (30) for S and N yields:
form (a) aAndthe estimated quantity of the ratio of (A) to (B) is denoted as M 2 M 4 And (5) estimating the quantity. For zero mean sinusoidal signals, k x =1.5, for noise, k v =3, therefore:
in practical applications, the second and fourth moments are estimated from the time average of the measured signals:
measured signal y k The estimated SNR of (d) is:
an additional term Δ is introduced in equation (26) to make the threshold adjustment more reliable, taking into account the SNR estimation bias, as follows:
as mentioned above, the threshold r e The adaptive adjustment can be performed by using the expressions (33) to (37). In equation (37), the present invention sets the additional term Δ to 2.5 through experimental tests.
In step S8, since the EKF is an iterative algorithm, the deviation between the estimated value and the true value may be relatively large during the convergence process, and equation (8) may be satisfied and result in a continuous reset. To be made intoAvoiding unnecessary resets, each reset requiring a time interval T Δ Waiting for the algorithm to converge before allowing the next reset.
In step S9, it is considered that the SSO component undergoes a nonlinear change such as a frequency change, and the EKF loses its traceability. At this time, the error covariance matrix P k Needs to be reset to nI 4×4 (n = 100), and the initial value f of the frequency in the EKF S0 Needs to be updated to the time (k-1) T s The estimated frequency.
Fig. 2 to 4 and fig. 5 to 7 show examples in two scenarios to prove the effectiveness and accuracy of the process proposed by the present invention. An artificially constructed non-stationary SSO signal, expressed as formula (32):
in the formula, n (t) is white noise. The whole simulation time length is 20s and is divided into four time periods. In period 1 (0-5 s), the signal frequency is 10Hz, the amplitude is 10, and the attenuation coefficient is-0.05. In period 2 (5-10 s), the frequency became 15Hz and the amplitude was constant at 12.8. In periods 3 (10-15 s) and 4 (15-20 s), the frequency becomes 20Hz and 15Hz, respectively, keeping the amplitude constant at 12.8.
In scenario 1, the signal to noise ratio is set to 30dB, the sampling frequency is 1000Hz Δ The window length m was set to 300 at 0.3s, and the results of the simulation using 100 monte carlo method are shown in fig. 2 to 4.
In scenario 2, the signal to noise ratio is set to 10dB, the sampling frequency is 1000Hz Δ The window length m was set to 300 at 0.3s, and the results of the simulation using 100 monte carlo method are shown in fig. 5 to 7.
It can be seen that the method used in the present invention can effectively detect noisy non-stationary SSO signals.
The embodiment of the application discloses a non-stationary subsynchronous oscillation signal detection system, which comprises the following modules:
the signal processing module: initializing the signal data, and inputting the initialized signal data into a fitting module;
a fitting module: performing signal parameter calculation and signal reconstruction on the initialized signal data through the four-state EKF, and outputting an SSO signal fitted at the current moment;
a calculation module: for calculating the residual ratio e ratio And by M 2 M 4 The estimator calculates the signal-to-noise ratio of the signal and establishes an adaptive reset threshold r e ;
The self-reset judging module: based on e ratio And r e Determining whether to reset the error covariance matrix P k And a frequency threshold;
when satisfying the condition e ratio Greater than r e And the time interval between resets is greater than time interval T Δ Then reset is performed to set the error covariance matrix P in the four state EKF k Reset to nI 4×4 Updating the initial frequency value, and inputting the initialized signal data into the signal processing module again for processing; otherwise, the initialized signal data is directly input into the signal processing module for processing.
The embodiment of the application also discloses a terminal device, which comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor, wherein when the processor executes the computer program, any one of the non-stationary subsynchronous oscillation signal detection methods in the embodiments is adopted.
The terminal device may adopt a computer device such as a desktop computer, a notebook computer, or a cloud server, and includes but is not limited to a processor and a memory, for example, the terminal device may further include an input/output device, a network access device, a bus, and the like.
The processor may be a Central Processing Unit (CPU), and of course, according to an actual use situation, other general processors, digital Signal Processors (DSPs), application specific integrated circuits (AS ics), ready-made programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like may also be used, and the general processor may be a microprocessor or any conventional processor, and the application is not limited thereto.
The memory may be an internal storage unit of the terminal device, for example, a hard disk or a memory of the terminal device, or an external storage device of the terminal device, for example, a plug-in hard disk, a smart card memory (SMC), a secure digital card (SD) or a flash memory card (FC) equipped on the terminal device, and the memory may also be a combination of the internal storage unit of the terminal device and the external storage device, and the memory is used for storing a computer program and other programs and data required by the terminal device, and the memory may also be used for temporarily storing data that has been output or will be output, which is not limited in this application.
According to the terminal device, any one of the X in the above embodiments is stored in a memory of the terminal device, and is loaded and executed on a processor of the terminal device, so that the terminal device is convenient to use.
The embodiment of the application further discloses a computer readable storage medium, and the computer readable storage medium stores a computer program, wherein when the computer program is executed by a processor, any one of the non-stationary subsynchronous oscillation signal detection methods in the embodiments is adopted.
The computer program may be stored in a computer readable medium, the computer program includes computer program code, the computer program code may be in a source code form, an object code form, an executable file or some intermediate form, and the like, the computer readable medium includes any entity or device capable of carrying the computer program code, a recording medium, a usb disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a Read Only Memory (ROM), a Random Access Memory (RAM), an electrical carrier signal, a telecommunication signal, a software distribution medium, and the like, and the computer readable medium includes but is not limited to the above components.
The method for detecting a non-stationary subsynchronous oscillation signal in any of the above embodiments is stored in a computer-readable storage medium through the computer-readable storage medium, and is loaded and executed on a processor, so as to facilitate storage and application of the method.
The foregoing shows and describes the general principles, essential features, and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, which are described in the specification and illustrated only to illustrate the principle of the present invention, but that various changes and modifications may be made therein without departing from the spirit and scope of the present invention, which fall within the scope of the invention as claimed.
Claims (10)
1. A method for detecting a non-stationary subsynchronous oscillation signal, comprising:
preprocessing signal data, calculating signal parameters of the preprocessed signal data through four-state EKF (extended Kalman Filter) and reconstructing the signal to obtain an SSO (Single Strand offset) signal fitted at the current moment, and calculating a residual ratio e ratio :In the formula e k Is kT s The residual error of the time of day,is an estimate of the SSO signal;
by using M 2 M 4 The estimator calculates the signal-to-noise ratio of the signal and establishes an adaptive reset threshold r e :
Wherein SNR is signal-to-noise ratio;
when satisfying if e ratio Greater than r e Then the error covariance matrix P in the four-state EKF is determined k Reset to nI 4×4 And updates the initial frequency value.
2. Non-stationary subsynchronous oscillation signal detection as in claim 1Method, characterized by a residual ratio e ratio Based on residual error e k And (3) calculating:
kT s residual error e of time k Is represented as follows:
wherein, y k Is a quantity measurement; e.g. of the type k The variance of (c) can be approximated by:
wherein m is the window length, and k is greater than or equal to 1<m, then m is replaced by k; SSO signal estimationThe variance of (d) can be calculated by:
3. the method of claim 2, wherein said employing M is performed by a computer system 2 M 4 The estimator calculates the signal-to-noise ratio of the signal and establishes an adaptive reset threshold r e The method specifically comprises the following steps:
after four-state EKF calculation, if the formulas (9) to (12) are satisfied, e ratio Can be approximated by formula (13):
then the value y is measured k SNR of (d) can be calculated by:
according to formula (13) and formula (14), e ratio Can be further expressed as:
when the filter diverges, the fitted SSO signal will deviate significantly from the true value and satisfyThen, the following inequality holds:
e k >v k (17)
according to e ratio Greater than r e The following inequalities hold true for the conditions of (1), (15), (16), and (18):
combining equation (15) and equation (19), the threshold can be calculated by:
then according to equation (20) y can be measured k Determining the threshold r at SNR of e 。
4. The method of claim 3, wherein M is used 2 M 4 The estimator calculates the signal-to-noise ratio of the signal and establishes an adaptive reset threshold comprising the steps of:
let M 2 Denotes y k Second order moment of (c):
let M 4 Denotes y k Fourth order moment of (d):
the signal power is defined as S, and the noise power is defined as N; m 2 Can be given by:
M 2 =S+N (23)
and, M 4 Can be given by:
M 4 =k x S 2 +6SN+k v N 2 (24)
wherein k is x And k v Signal kurtosis and noise kurtosis, respectively;
solving equations (23) and (24) for S and N yields:
form aAnd withThe estimated quantity of the ratio of (A) to (B) is denoted as M 2 M 4 Estimating quantity; for zero mean sinusoidal signals, k x =1.5, for noise, k v =3, therefore:
the second and fourth moments are estimated from the time average of the measured signal, satisfying equations (28) and (29):
measured signal y k The estimated SNR of (d) is:
in view of the SNR estimation bias, an additional term Δ is introduced in equation (20), as shown below, to make the threshold adjustment more reliable:
as mentioned above, the threshold r e The adaptive adjustment can be performed by using the equations (27) to (31).
5. The method as claimed in claim 1, wherein if e is satisfied ratio Greater than r e And the time interval between resets is greater than time interval T Δ Is reset, the error covariance matrix P in the four state EKF is formed k Reset to nI 4×4 Updating the initial frequency value, re-initializing the initialized signal data, calculating signal parameters through four-state EKF, and reconstructing signals to obtain SSO signals fitted at the current moment;
otherwise, the initialized signal data is directly reinitialized, signal parameters are calculated through the four-state EKF, signal reconstruction is carried out, and the SSO signal fitting at the current moment is obtained.
6. The method of claim 4, wherein the addition term Δ is set to 2.5.
7. The method for detecting a non-stationary subsynchronous oscillation signal according to claim 1, wherein the parameters of the SSO signal and the SSO signal are obtained by equations (1) to (4):
f S (kT s )=f S0 +x 3 (k) (3)
α S (kT s )=-x 4 (k) (4)
8. A non-stationary subsynchronous oscillation signal detection system, comprising:
the signal preprocessing module: preprocessing the signal data, and inputting the preprocessed signal data into a fitting module;
a fitting module: performing signal parameter calculation on the initialized signal data through the four-state EKF, performing signal reconstruction, and outputting an SSO signal fitted at the current moment;
a calculation module: for calculating the residual ratio e ratio And by M 2 M 4 The estimator calculates the signal-to-noise ratio of the signal and establishes an adaptive reset threshold r e ;
The self-reset judging module: based on e ratio And r e Determining whether to reset the error covariance matrix P k And a frequency threshold;
when satisfying the condition e ratio Greater than r e And the time interval between resets is greater than time interval T Δ Then reset is performed to set the error covariance matrix P in the four state EKF k Reset to nI 4×4 Updating the initial frequency value, and inputting the initialized signal data into the signal processing module again for processing; otherwise, the initialized signal data is directly input into the signal processing module for processing.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the memory stores the computer program capable of running on the processor, and the processor loads and executes the computer program, and the method for detecting a non-stationary subsynchronous oscillation signal according to any one of claims 1 to 7 is used.
10. A computer-readable storage medium, in which a computer program is stored, which, when loaded and executed by a processor, implements a method for non-stationary subsynchronous oscillation signal detection according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211271848.9A CN115577251A (en) | 2022-10-18 | 2022-10-18 | Method, system and terminal for detecting non-stationary subsynchronous oscillation signal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211271848.9A CN115577251A (en) | 2022-10-18 | 2022-10-18 | Method, system and terminal for detecting non-stationary subsynchronous oscillation signal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115577251A true CN115577251A (en) | 2023-01-06 |
Family
ID=84585013
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211271848.9A Pending CN115577251A (en) | 2022-10-18 | 2022-10-18 | Method, system and terminal for detecting non-stationary subsynchronous oscillation signal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115577251A (en) |
-
2022
- 2022-10-18 CN CN202211271848.9A patent/CN115577251A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Moghaddamjoo et al. | Robust adaptive Kalman filtering with unknown inputs | |
CN114124033A (en) | Kalman filter implementation method, device, storage medium and equipment | |
CN111984920B (en) | Subsynchronous/supersynchronous harmonic parameter identification method, subsynchronous/supersynchronous harmonic parameter identification device, subsynchronous/supersynchronous harmonic parameter identification equipment and medium | |
CN105043384A (en) | Modeling method of gyroscopic random noise ARMA model based on robust Kalman wave filtering | |
CN108120452B (en) | Filtering method for dynamic data of MEMS gyroscope | |
CN108469609B (en) | Detection information filtering method for radar target tracking | |
Karimov et al. | Adaptive explicit-implicit switching solver for stiff ODEs | |
CN115577251A (en) | Method, system and terminal for detecting non-stationary subsynchronous oscillation signal | |
CN106153046B (en) | Gyro random noise AR modeling method based on self-adaptive Kalman filtering | |
CN104539265A (en) | Self-adaptive UKF (Unscented Kalman Filter) algorithm | |
CN114614797B (en) | Adaptive filtering method and system based on generalized maximum asymmetric correlation entropy criterion | |
CN108050997B (en) | Fiber-optic gyroscope filtering method based on volume Kalman | |
CN115047400A (en) | Method and system for checking accuracy of three-phase electric energy meter, terminal equipment and medium | |
Dosiek et al. | Model order sensitivity in ARMA-based electromechanical mode estimation algorithms under ambient power system conditions | |
CN111865267B (en) | Temperature measurement data prediction method and device | |
CN114676732A (en) | Chromatographic peak filtering method and system based on improved Kalman filtering algorithm | |
Hasan et al. | Identification of noisy AR systems using damped sinusoidal model of autocorrelation function | |
CN114514525B (en) | Method for estimating carrier frequency, initial phase and phase noise and related equipment | |
CN113358926B (en) | Signal frequency measuring method and device suitable for chip relay protection | |
CN113640115B (en) | Optimization method and system suitable for solving inverse problem of quasi-isentropic compression experimental data | |
CN113076826B (en) | Filtering method and device of sensor | |
CN111929585B (en) | Battery charge state calculating device, method, server and medium | |
CN116223956A (en) | Method, system and equipment for identifying subsynchronous oscillation mode of environmental excitation | |
US20210231716A1 (en) | Apparatus, methods and computer-readable medium for efficient electrical grid measurements | |
Hwang et al. | Computation of weighted moments of discrete-time systems using experimental data |
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 |