A broadband measurement method suitable for static and dynamic scenes
Through adaptive threshold blind source separation and eigenvalue method combined with dynamic fitting method, the problem of inaccurate dynamic power signal measurement in the existing technology is solved, high-precision broadband signal measurement is achieved, and static and dynamic testing needs are met.
Patent Information
- Application Number
- CN202210777091.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-04
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-07-04
AI Technical Summary
Existing broadband measurement algorithms have inaccurate measurement results under dynamic conditions and cannot achieve high-precision static and dynamic power signal measurements.
Using adaptive threshold blind source separation and eigenvalue method combined with dynamic fitting method, by constructing Hank matrix and operation matrix, the signal components are extracted and a broadband signal model is established, and iteratively solved to obtain the frequency, amplitude and phase angle of the power signal.
It achieves high-precision measurement under complex power signals with multiple frequency components. The measurement error is one order of magnitude lower than the existing standard, meeting static and dynamic test conditions.
Smart Images

Figure CN115097206B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of broadband wide-area synchronous measurement, and in particular to a broadband measurement method suitable for static and dynamic scenes. Background Art
[0002] With the massive access of renewable energy and power electronic equipment, a large number of harmonic and interharmonic components have been introduced into the power grid. The synchronous phasor measurement unit (PMU) can only measure the fundamental wave of the power system. Although the existing broadband measurement scheme can measure broadband harmonics and interharmonics, its measurement results are not accurate under dynamic conditions. Therefore, it is necessary to study a broadband measurement algorithm suitable for dynamic scenarios to ensure the authenticity of the measurement data of the broadband device.
[0003] Existing broadband measurement algorithms are mainly divided into two categories. One is the frequency domain processing method represented by the fast Fourier transform (DFT), but its resolution is directly related to the window length. Although increasing the window length improves the resolution, it still cannot guarantee accurate tracking of the amplitude of the time-varying dynamic signal; the other is the time domain processing method, which mainly includes digital filter algorithms and modern spectrum estimation algorithms. The digital filter algorithm mainly approximates the phasor in the time window with a function, which is mainly used in harmonic measurement. When interharmonics exist, the anti-interference ability is poor; while the modern spectrum estimation algorithm has a higher frequency resolution for signals of limited duration, but the signal needs to be ordered. It can be seen that the methods of the prior art have certain problems, and no algorithm can complete high-precision measurement of static and dynamic conditions. Summary of the invention
[0004] The purpose of the present invention is to provide a broadband measurement method suitable for static and dynamic scenarios. By using this method, in the case of complex power signals containing multiple frequency components, measurement results that are more than an order of magnitude higher than the existing standards can be obtained, high-precision measurements can be achieved, and static and dynamic test conditions can be met.
[0005] The objective of the present invention is achieved through the following technical solutions:
[0006] A broadband measurement method applicable to static and dynamic scenes, the method comprising:
[0007] Step 1: extract data with a time window length of T from the power signal to be processed;
[0008] Step 2: construct a Hank matrix based on the obtained data, extract the signal components using adaptive threshold blind source separation and construct an operation matrix;
[0009] Step 3: Based on the number of extracted signal components and the calculation results of the operation matrix, the eigenvalue method is used to obtain the initial value of the frequency of the power signal, and then the number of iterations and the error limit are set as subsequent termination conditions;
[0010] Step 4: Establish a broadband signal model according to the determined broadband measurement requirements, and solve the model by a dynamic fitting method;
[0011] Step 5: Determine whether the error or the number of iterations meets the termination condition. If not, the frequency value is corrected and the iterative solution is continued; if it is satisfied, the amplitude, phase angle, and frequency results of each component of the final power signal are obtained.
[0012] It can be seen from the technical solution provided by the present invention that the above method can be used to obtain measurement results that are more than an order of magnitude higher than the existing standards in the case of complex power signals containing multiple frequency components, thereby achieving high-precision measurement, and improving the accuracy of the measurement results by adjusting the time window length and fitting order according to actual needs to meet static and dynamic test conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0014] Figure 1 A schematic flow chart of a broadband measurement method applicable to static and dynamic scenes provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0015] The following is a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments, which does not constitute a limitation of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0016] like Figure 1 FIG. 1 is a flow chart of a broadband measurement method applicable to static and dynamic scenes provided by an embodiment of the present invention, wherein the method comprises:
[0017] Step 1: extract data with a time window length of T from the power signal to be processed;
[0018] In this step, after sampling the power signal to be processed, a matrix with a time length of T is extracted, which is expressed as follows:
[0019]
[0020] In the formula, f s is the signal sampling rate; t is the time in the time window; M is the data length corresponding to the window length T / 2, M is an integer, and the window length is T cal =(2M+1) / f s ; The matrix X is a vector consisting of 2M+1 consecutive sampling points in the window.
[0021] Step 2: construct a Hank matrix based on the obtained data, extract the signal components using adaptive threshold blind source separation and construct an operation matrix;
[0022] In this step, the data obtained in step 1 is rearranged into a K×P Hank matrix, where K is the number of rows of the matrix and P is the number of columns of the matrix. The length is generally within the data length corresponding to the window length T / 2 to create sufficient conditions for the next step of singular value acquisition, which is expressed as:
[0023]
[0024] Then perform singular value decomposition on the Hank matrix. Most general source estimation algorithms directly select a fixed small value as a parameter. Generally, the signal component of the singular value ratio is quickly obtained, which is usually inaccurate at high signal-to-noise ratios. Therefore, the dynamic threshold ξ is set as:
[0025]
[0026] Four parameters are used as the basis in the formula, μ is the mean of the singular values obtained by singular value decomposition of the X matrix; δ 2 To decompose the X matrix into singular values, we get the variance of the singular values; k α Represents the proportional coefficient, which is used to adjust the size of the dynamic threshold. Under the premise that K and P are constant, the maximum threshold value is k α (K+P)μ, at this time δ 2 = 0, corresponding to the case of large noise; as the signal-to-noise ratio increases, the mean μ decreases and the variance δ 2 Increases, the dynamic threshold ξ decreases, and the condition that the threshold ξ is a small value when the signal-to-noise ratio is high is met;
[0027] After extracting the number of signal components p, the operation matrix is constructed as:
[0028]
[0029] Among them, a1, a2...a p is the parameter to be solved. Since the traditional Prony algorithm constraint is to minimize the sum of squared errors, the essence is to solve each coefficient a by constructing a constant coefficient linear difference equation i(i=1,…,p), which can be directly obtained by least squares to construct the characteristic polynomial in the next step; N is the number of time window sampling points in step 1.
[0030] Step 3: Based on the number of extracted signal components and the calculation results of the operation matrix, the eigenvalue method is used to obtain the initial value of the frequency of the power signal, and then the number of iterations and the error limit are set as subsequent termination conditions;
[0031] In this step, the coefficient a to be solved is obtained based on the calculation result of the operation matrix, and the characteristic polynomial is constructed based on it and expressed as:
[0032]
[0033] Solving it, there are p different roots. After z is found, z represents the extreme point corresponding to Prony. In the Prony exponential fitting model, z i Contains frequency information, based on which the initial frequency value f of the power signal can be obtained k It is expressed as:
[0034] f k =arctan[Im(z k ) / Re(z k )] / 2πT s
[0035] Where k = 1, 2…p; T s =1 / f s Represents the time interval corresponding to each sampling, the initial value of the frequency f k Represents the rough calculation results of each component assuming that it remains unchanged within the window;
[0036] In the dynamic fitting solution process, iterative calculations and error limits are involved, so the number of iterations and the error limit are set as subsequent termination conditions. The upper limit of the iteration is set to 10 times, and the maximum error limit is 0.001 Hz.
[0037] Step 4: Establish a broadband signal model according to the determined broadband measurement requirements, and solve the model by a dynamic fitting method;
[0038] In this step, according to the determined broadband measurement requirements, the time-varying broadband components are firstly uniformly characterized as the following model:
[0039]
[0040] In the formula, A k (t) reflects the dynamic change of amplitude; θ k (t) represents the time-varying behavior of the phase angle; f k Indicates the initial value of the frequency of the power signal;
[0041] Expanding the above model yields:
[0042]
[0043] (B k0 +B k1 t+…+B kn t n )sin(2πf k t))
[0044] In the formula, each A k (t)cosθ i (t), A k (t)sinθ k (t) are fitted with time polynomials. Considering the speed of change of the actual broadband signal and the amount of calculation, the second-order expansion term is used, and the corresponding coefficients are A k0 , A k1 …A kn and B k0 , B k1 …B kn , after discretization, it is written in matrix form as follows:
[0045] X=V cal *C cal
[0046] V cal =[V1,…,V k …,V p ]
[0047] C cal =[C1,…,C k …,C p ] T
[0048] Among them, V cal The components in contain frequency and time sine and cosine product combinations, which can be represented by a diagonal matrix:
[0049] V k =diag(cos2πf k T)*τ+diag(-sin2πf k T)*τ
[0050]
[0051] Where T is the data with a window length of T; the matrix τ represents the time coefficient corresponding to the second-order expansion; C cal Including all the parameters to be solved, taking the second-order fitting as an example, we can get:
[0052] C k=[A k0 ,A k1 ,A k2 ,B k0 ,B k1 ,B k2 ]
[0053] In step 3, the initial value of the power signal frequency f is calculated. k Based on V cal Known, the problem is transformed into a least squares solution, that is:
[0054] C cal =(V cal T V cal ) -1 V cal T X
[0055] Then the true frequency of the power signal is:
[0056]
[0057] In the formula, θ k '(t) represents the derivative of the phase angle with respect to time, which is used to update the precise value of the frequency;
[0058] For each component:
[0059] A k (0) = A k0 2 +B k0 2
[0060] The derivative of the phase angle with respect to time cannot be obtained directly, so for A k (t)cosθ(t),A k Taking the derivative of (t)sinθ(t), and substituting t=0, we get:
[0061] [A k (0)cosθ k (0)]'=A k1
[0062] [A k (0)sinθ k (0)]'=B k1
[0063] Calculate and eliminate A′ k (0), we can get:
[0064]
[0065] In the formula, the obtained θ k'(0) represents the time derivative of the moment in the phase angle window. Dividing it by 2π, we get:
[0066]
[0067] Then Δf k This is the frequency update amount in this algorithm.
[0068] Step 5: Determine whether the error or the number of iterations meets the termination condition. If not, the frequency value is corrected and the iterative solution is continued; if it is satisfied, the amplitude, phase angle, and frequency results of each component of the final power signal are obtained.
[0069] In this step, the amplitude, phase angle, and frequency results of each component of the final power signal are obtained according to the fitting solution results, which are specifically expressed as:
[0070]
[0071] f k (t) = f k +Δf k
[0072] Based on the set number of iterations and error limit, if the error does not meet the requirements or the number of iterations is less than the set value, the frequency update value Δf is calculated. k , reconstruct V cal Matrix, continue to iterate until the error is less than the set value or the number of iterations exceeds the limit.
[0073] It is worth noting that the contents not described in detail in the embodiments of the present invention belong to the prior art known to professional and technical personnel in the field.
[0074] In order to more clearly demonstrate the technical solution and the technical effects provided by the present invention, the method described in the embodiment of the present invention is described in detail with a simulation test example. This example verifies the effectiveness of the proposed broadband signal measurement method with a simulation test, including a steady-state test and a dynamic test, which may specifically include the following contents:
[0075] 1. Steady-state test
[0076] First, define the steady-state test signal parameters as shown in Table 1. When performing simulation test, take f s =10kHz, time window length T=0.25s, fitting order is 2. In order to reflect the actual situation, 60dB noise is added to the signal.
[0077] Table 1 Steady-state test signal parameters
[0078]
[0079] When the signal is as shown in Table 1, the measurement method based on dynamic fitting is used to measure the broadband signal with a window length of 0.25s. The measurement error is shown in Table 2:
[0080] Table 2 Steady-state signal measurement error
[0081]
[0082]
[0083] In Table 2, the existing national standard does not have any requirements for the frequency error and phase angle error of interharmonics, and only stipulates a 5% amplitude error. In this test result, the frequency error is within 10 -5 More than ten orders of magnitude, the amplitude error is less than 0.05%, and the phase angle error is less than 0.001°. It can be seen that the method of the present invention has good accuracy in static testing.
[0084] 2. Dynamic testing
[0085] In actual complex power signals, dynamic changes may occur, and it is necessary to conduct dynamic testing of broadband signals. In the dynamic testing of the reference fundamental phasor, amplitude modulation, phase angle modulation and frequency ramp testing need to be considered. Similarly, broadband signals are tested.
[0086] A dynamic change process is added to the signal in the static test, and the broadband signal is measured using a broadband measurement method based on dynamic fitting. Similarly, the signal contains 60dB noise, and the measurement error is shown in Table 3:
[0087] Table 3 Dynamic test measurement error
[0088]
[0089] In Table 3, the error standard of the fundamental phasor dynamic test is taken as the error standard of the harmonic interharmonic. It can be seen from the error results that the measurement accuracy of the dynamic signal of the method described in the embodiment of the present invention can still meet an order of magnitude higher than the fundamental frequency standard.
[0090] In summary, the method provided by the present invention can obtain measurement results that are more than an order of magnitude higher than the existing standards in the case of complex power signals containing multiple frequency components, thereby achieving high-precision measurement, and can improve the accuracy of the measurement results by adjusting the time window length and fitting order according to actual needs to meet static and dynamic test conditions.
[0091] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with the technical field within the technical scope disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims. The information disclosed in the background technology section of this article is only intended to deepen the understanding of the overall background technology of the present invention, and should not be regarded as an admission or in any form that the information constitutes prior art known to those skilled in the art.
Claims
1. A broadband measurement method suitable for static and dynamic scenes, characterized in that: The method comprises: Step 1: extract data with a time window length of T from the power signal to be processed; Step 2: construct a Hank matrix based on the obtained data, extract the signal components using adaptive threshold blind source separation and construct an operation matrix; The process of step 2 is specifically as follows: Rearrange the data obtained in step 1 into a K×P Hank matrix, where K is the number of rows and P is the number of columns, expressed as: Then perform singular value decomposition on the Hank matrix and set the dynamic threshold ξ to: Four parameters are used as the basis in the formula, μ is the mean of the singular values obtained by singular value decomposition of the X matrix; δ 2 To decompose the X matrix into singular values, we get the variance of the singular values; k α Represents the proportional coefficient, which is used to adjust the size of the dynamic threshold. Under the premise that K and P are constant, the maximum threshold value is k α (K+P)μ, at this time δ 2 = 0, corresponding to the case of large noise; as the signal-to-noise ratio increases, the mean μ decreases and the variance δ 2 Increases, the dynamic threshold ξ decreases, and the threshold meets the high signal-to-noise ratio The condition that ξ is a small value; After extracting the number of signal components p, the operation matrix is constructed as: Among them, a1, a2...a p is the parameter to be solved, which is directly obtained by the least squares algorithm so as to construct the characteristic polynomial in the next step; N is the number of sampling points in the time window in step 1; Step 3: Based on the number of extracted signal components and the calculation results of the operation matrix, the eigenvalue method is used to obtain the initial value of the frequency of the power signal, and then the number of iterations and the error limit are set as subsequent termination conditions; Step 4: Establish a broadband signal model according to the determined broadband measurement requirements, and solve the model by a dynamic fitting method; In step 4, according to the determined broadband measurement requirements, the time-varying broadband components are firstly uniformly represented as the following model x(t): In the formula, A k (t) reflects the dynamic change of amplitude; θ k (t) represents the time-varying behavior of the phase angle; f k Indicates the initial value of the frequency of the power signal; Expanding the above model yields: (B k0 +B k1 t+…+B kn t n )sin(2πf k t)) In the formula, each A k (t)cosθ i (t), A k (t)sinθ k (t) are fitted with time polynomials. Considering the speed of change of the actual broadband signal and the amount of calculation, the second-order expansion term is used, and the corresponding coefficients are A k0 , A k1 …A kn and B k0 , B k1 …B kn , after discretization, written in matrix form X, as follows: X=V cal *C cal V cal =[V1,…,V k …,V p ] C cal =[C1,…,C k …,C p ] T Among them, V cal The components in contain frequency and time sine and cosine product combinations, which can be represented by a diagonal matrix: V k =diag(cos2πf k T)*τ+diag(-sin2πf k T**t Where T is the data with a window length of T; the matrix τ represents the time coefficient corresponding to the second-order expansion; C cal Including all the parameters to be solved, it is expanded in a second-order fitting way to obtain: C k =[A k0 ,A k1 ,A k2 ,B k0 ,B k1 ,B k2 ] In step 3, the initial value of the power signal frequency f is calculated. k Based on V cal Known, the problem is transformed into a least squares solution, that is: C cal =(V cal T V cal ) -1 V cal T X Then the true frequency of the power signal is: In the formula, θ k '(t) represents the derivative of the phase angle with respect to time, which is used to update the precise value of the frequency; For each component: A k (0)=A k0 2 +B k0 2 The derivative of the phase angle with respect to time cannot be obtained directly, so for A k (t)cosθ(t),A k Taking the derivative of (t)sinθ(t), and substituting t=0, we get: [A k (0)cosθ k (0)]'=A k1 [A k (0)sinθ k (0)]'=B k1 Calculate and eliminate A′ k (0), we can get: In the formula, the obtained θ k '(0) represents the derivative of the time in the phase angle window. Dividing it by 2π, we get: Then Δf k That is the frequency update amount in this algorithm; Step 5: Determine whether the error or the number of iterations meets the termination condition. If not, the frequency value is corrected and the iterative solution is continued; if it is satisfied, the amplitude, phase angle, and frequency results of each component of the final power signal are obtained.
2. The broadband measurement method applicable to static and dynamic scenes according to claim 1, characterized in that: In step 1, after sampling the power signal to be processed, a matrix with a time length of T is extracted, which is expressed as follows: In the formula, f s is the signal sampling rate; t is the time in the time window; M is the data length corresponding to the window length T / 2, M is an integer, and the window length is T cal =(2M+1) / f s ; The matrix X(t) is a vector consisting of 2M+1 consecutive sampling points in the window.
3. The broadband measurement method applicable to static and dynamic scenes according to claim 1, characterized in that: In step 3, the coefficient a to be solved is obtained based on the calculation result of the operation matrix, and the characteristic polynomial is constructed based on it It is expressed as: Solving it, there are p different roots. After z is found, z represents the extreme point corresponding to Prony. In the Prony exponential fitting model, z i Contains frequency information, based on which the initial value of the frequency of the power signal can be obtained as: f k =arctan[Im(z k ) / Re(z k )] / 2πT s Where k = 1, 2…p; T s =1 / f s Represents the time interval corresponding to each sampling, the initial value of the frequency f k Represents the rough calculation results of each component assuming that it remains unchanged within the window; In the dynamic fitting solution process, iterative calculations and error limits are involved, so the number of iterations and the error limit are set as subsequent termination conditions. The upper limit of the iteration is set to 10 times, and the maximum error limit is 0.001 Hz.
4. The broadband measurement method applicable to static and dynamic scenes according to claim 1, characterized in that: In step 5, the amplitude, phase angle, and frequency results of each component of the final power signal are obtained according to the fitting solution results, which are specifically expressed as: f k (t)=f k +Δf k Based on the set number of iterations and error limit, if the error does not meet the requirements or the number of iterations is less than the set value, the frequency update value Δf is calculated. k , reconstruct V cal Matrix, continue to iterate until the error is less than the set value or the number of iterations exceeds the limit.
