Current transformer error verification method and device, terminal and medium
Through bispectral line interpolation FFT processing of noise filtering and convolution window function, the harmonic components of the standard and tested current transformers are compared, which solves the problem of current transformer error calibration accuracy in the wide range and AC and DC mixed environment of the existing technology. Solve the problem of deficiencies and achieve high-precision error detection of current transformers.
Patent Information
- Application Number
- CN202410723419.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing current transformer calibration methods have insufficient measurement accuracy in wide-range, AC-DC hybrid and power system environments containing high-order harmonics, and cannot effectively calibrate the errors of current transformers, affecting the fairness of electric energy measurement.
The secondary current data is obtained based on the standard current transformer and the measured current transformer. After noise filtering preprocessing, bispectral line interpolation FFT correction processing based on the convolution window function is used to calculate the harmonics of the standard and measured current data. components and compare the results to determine the current transformer error calibration results.
It can detect the fundamental wave and harmonic transmission errors of current transformers with high precision under complex working conditions. It is suitable for wide variation ranges and half-wave signals, and has stronger engineering applicability.
Smart Images

Figure CN118731818A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of transformer testing, and in particular to a current transformer error calibration method, device, terminal and medium. Background Art
[0002] In recent years, the development of the power industry has shown a trend of green, low-carbon, clean and efficient. The installed capacity of new energy has increased significantly. The large-scale grid connection of new energy has also brought many new challenges to electrical measurement technology, which are mainly reflected in three aspects: 1) The large-scale use of new energy will introduce many power electronic equipment, which will increase the harmonic content at the grid connection point of new energy; 2) New energy power generation methods such as wind power and solar power generation show great seasonality and timeliness, and the power generation shows great volatility; 3) The probability of DC components invading the AC system through the neutral point grounding transformer increases, making the primary circuit of the power system present AC and DC mixing. It can be seen that the new power system presents complex characteristics of wide range, AC and DC mixing and containing high-order harmonics. The complex characteristics of the current power system will cause the measurement error of the current transformer used for metering to increase, which seriously affects the fairness of electric energy metering. Therefore, verifying the measurement accuracy of the current transformer under complex characteristic signals is of great practical significance to the construction of the new power system.
[0003] At present, there are two methods for verifying current transformers: analog comparison method and digital comparison method. In the analog comparison method, the current transformer to be tested and the standard current transformer are directly connected in series in the primary circuit. This method is only applicable when the primary circuit is pure AC. The key to the current transformer verification device of the conventional digital comparison method lies in the algorithm design in the error calculation unit, which is often affected by the sampling frequency and frequency fluctuations. However, both verification methods have limitations and are no longer suitable for the current wide-range, AC / DC mixed and high-order harmonic power system environment. Therefore, providing a current transformer verification method that can be applied to the current power system environment has become a technical problem that technicians in this field need to solve urgently. Summary of the invention
[0004] The present application provides a current transformer error calibration method, device, terminal and medium, which are used to achieve the invention purpose of providing a current transformer calibration method suitable for the current wide-range, AC / DC mixed and high-order harmonic power system environment.
[0005] In order to solve the above technical problems, the first aspect of the present application provides a current transformer error calibration method, comprising:
[0006] Based on the standard current transformer and the current transformer under test, secondary current data of the standard current transformer and the current transformer under test are respectively obtained to serve as standard current data and measured current data respectively;
[0007] Performing noise filtering preprocessing on the standard current data and the measured current data respectively to obtain processed standard current data and processed measured current data;
[0008] Based on the processed standard current data, a standard harmonic component of a preset order of the standard current data is calculated through a double-spectrum interpolation FFT correction process based on a convolution window function, and then a target harmonic order and a standard target harmonic component are determined according to the harmonic amplitude in the standard harmonic component, wherein the standard target harmonic component is a harmonic component in the standard harmonic component corresponding to the target harmonic order;
[0009] Based on the processed measured current data, determining the measured target harmonic component corresponding to the target harmonic order through double-spectrum interpolation FFT correction processing based on a convolution window function;
[0010] The current transformer error verification result is determined according to the comparison result between the measured target harmonic component and the standard target harmonic component.
[0011] Preferably, the convolution window function is specifically a four-term third-order self-scaling-convolution Nutall window.
[0012] Preferably, the expression of the four-term third-order self-scaling-convolution Nutall window is specifically:
[0013] w Nutsmc (n) = w Nutsm (m)*w Nutsm (m)
[0014]
[0015] In the formula, w Nutsmc (n) represents the four-term third-order self-scaling-convolution Nutall window, w Nutsm (m) represents the self-product window of the 1st-order quartic third-order Nutall window, n and m represent the length of the window function, a0, a1, a2, a3, a4, a5, and a6 are the window function coefficients of the self-product window of the 1st-order quartic third-order Nutall window, and N is the number of sampling points.
[0016] Preferably, determining the target harmonic order according to the harmonic amplitude in the standard harmonic component specifically includes:
[0017] According to the harmonic amplitudes of the respective standard harmonic components, a target harmonic order corresponding to the maximum harmonic amplitude is determined.
[0018] Preferably, determining the current transformer error verification result according to the comparison result of the measured target harmonic component and the standard target harmonic component specifically includes:
[0019] According to the amplitude and phase of the measured target harmonic component and the standard target harmonic component, the ratio difference and the angle difference between the measured target harmonic component and the standard target harmonic component are calculated to determine the current transformer error verification result according to the ratio difference and the angle difference.
[0020] Preferably, performing noise filtering preprocessing on the standard current data and the measured current data respectively to obtain the processed standard current data and the processed measured current data specifically comprises:
[0021] By means of VMD signal decomposition and reconstruction, the standard current data and the measured current data are respectively decomposed, the noise signal obtained by decomposition is filtered, and the processed standard current data and the processed measured current data are reconstructed.
[0022] Preferably, performing noise filtering preprocessing on the standard current data and the measured current data respectively to obtain the processed standard current data and the processed measured current data specifically comprises:
[0023] The standard current data and the measured current data are respectively subjected to high-frequency filtering processing by a preset high-frequency filter to obtain processed standard current data and processed measured current data.
[0024] At the same time, the second aspect of the present application provides a current transformer error checking device, comprising:
[0025] A current data acquisition unit, used for acquiring secondary current data of the standard current transformer and the current transformer under test respectively based on the standard current transformer and the current transformer under test, so as to serve as the standard current data and the current data under test respectively;
[0026] A data preprocessing unit, used for performing noise filtering preprocessing on the standard current data and the measured current data respectively, to obtain processed standard current data and processed measured current data;
[0027] A target harmonic order determination unit is used to calculate the standard harmonic components of the preset order of the standard current data based on the processed standard current data through double-spectrum interpolation FFT correction processing based on the convolution window function, and then determine the target harmonic order and the standard target harmonic component according to the harmonic amplitude in the standard harmonic component, wherein the standard target harmonic component is the harmonic component in the standard harmonic component corresponding to the target harmonic order;
[0028] A measured target parameter acquisition unit, used to determine the measured target harmonic component corresponding to the target harmonic order based on the processed measured current data through double-spectrum interpolation FFT correction processing based on a convolution window function;
[0029] The error checking unit is used to determine the error checking result of the current transformer according to the comparison result of the measured target harmonic component and the standard target harmonic component.
[0030] A third aspect of the present application provides a current transformer error checking terminal, comprising: a memory and a processor;
[0031] The memory is used to store a program code corresponding to the current transformer error checking method provided in the first aspect of the present application;
[0032] The processor is configured to execute the program code.
[0033] A fourth aspect of the present application provides a computer-readable storage medium, in which a program code corresponding to the current transformer error checking method provided in the first aspect of the present application is stored.
[0034] It can be seen from the above technical solutions that this application has the following advantages:
[0035] The technical solution provided by the present application is first based on the current data of the standard current transformer and the current transformer under test, and the transmission performance of the current transformer under different working conditions is detected through double-spectrum interpolation FFT correction processing based on the convolution window function, so that the fundamental component and harmonic component of the preset order of the standard current data can be obtained, and then the target harmonic order is determined by comparing the amplitudes of the harmonic components of different orders, and then the same double-spectrum interpolation FFT correction processing is performed on the measured current data to obtain the harmonic component of the measured current data at the target harmonic order, and the current transformer error verification result is determined according to the comparison result of the measured target harmonic component and the standard target harmonic component. The verification method provided by the present application can detect the transmission error of the current transformer for the fundamental wave in a wide variation range and half-wave signal, and can detect the transmission error within the harmonic of the current transformer under the harmonic signal, and can be used for calculation under various complex working conditions, and has stronger engineering applicability. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0037] Figure 1 A schematic diagram of a flow chart of an embodiment of a current transformer error calibration method provided by the present application;
[0038] Figure 2A schematic diagram of the overall process of an embodiment of a current transformer error calibration method provided by the present application;
[0039] Figure 3 A flow chart of a VMD algorithm in a current transformer error calibration method provided in this application;
[0040] Figure 4 This is a comparison diagram of the VMD decomposition effect of the secondary side current under noise conditions;
[0041] Figure 5 This is a comparison diagram of the VMD reconstruction effect of the secondary side current under harmonic conditions;
[0042] Figure 6 This is a schematic diagram of the principle of the decomposition process of the fast Fourier transform operation unit;
[0043] Figure 7 This is a comparison chart of the sine wave signal spectrum before and after truncation;
[0044] Figure 8 It is a schematic diagram of the spectrum of the signal during synchronous sampling and the signal during asynchronous sampling;
[0045] Fig. 9 It is a schematic diagram of the distribution of harmonic spectrum line groups;
[0046] Fig.10 A schematic structural diagram of an embodiment of a current transformer error calibration device provided by the present application;
[0047] Fig.11 A schematic structural diagram of a current transformer error checking terminal embodiment provided in the present application. DETAILED DESCRIPTION
[0048] The existing current transformer calibration methods include: analog comparison method and digital comparison method. Among them, the representatives of the analog comparison method are mainly: magnetic potential comparison type and AC bridge type transformer calibration instrument. This type of current transformer calibration method directly connects the current transformer to be tested and the standard current transformer in series in the primary circuit. This method is only applicable when the primary circuit is pure AC, when the primary circuit contains DC components and harmonic components. The bias flux generated by the DC component will not only generate bias flux on the core of the current transformer to be tested, but also greatly affect the working performance of the standard current transformer, causing its measurement to be inaccurate. The key to the current transformer calibration device of the digital comparison method lies in the algorithm design in the error calculation unit. The currently commonly used fast Fourier transform algorithm is often affected by the sampling frequency and frequency fluctuation in the actual current transformer calibration application. Therefore, it is necessary to provide a high-precision transformer calibration algorithm that can detect the transmission error of the current transformer to the fundamental wave in a wide variation range and half-wave signal, and detect the transmission error of the current transformer within a certain harmonic under the harmonic signal. This is necessary for the current wide-range, AC / DC mixed and high-order harmonic power system.
[0049] The present application provides a current transformer error calibration method, device, terminal and medium, which are used to achieve the invention purpose of providing a current transformer calibration method suitable for the current wide-range, AC / DC mixed and high-order harmonic power system environment.
[0050] In order to make the purpose, features, and advantages of the invention of this application more obvious and easy to understand, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the embodiments described below are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0051] First, a detailed description of an embodiment of a current transformer error calibration method provided by the present application is as follows:
[0052] See also Figure 1 and Figure 2 , the present application provides a current transformer error calibration method embodiment, comprising:
[0053] Step 101: Based on a standard current transformer and a current transformer under test, secondary current data of the standard current transformer and the current transformer under test are respectively obtained to serve as standard current data and measured current data, respectively.
[0054] It should be noted that first, based on the current transformer under test that needs to be calibrated and the standard current transformer serving as a calibration reference, secondary current data of the standard current transformer and the current transformer under test are respectively obtained to serve as standard current data and measured current data, respectively.
[0055] Step 102 : performing noise filtering preprocessing on the standard current data and the measured current data respectively to obtain processed standard current data and processed measured current data.
[0056] It should be noted that, in order to further improve the accuracy of error checking, after step 101 , the standard current data and the measured current data may be further subjected to noise filtering preprocessing to improve the data processing effect of subsequent steps.
[0057] The specific implementation methods of preprocessing provided in this embodiment include: VMD signal decomposition and reconstruction method and filter filtering method. The specific examples are described as follows:
[0058] Through the VMD signal decomposition and reconstruction method, the standard current data and the measured current data are respectively decomposed, the noise signal obtained by the decomposition is filtered, and the processed standard current data and the processed measured current data are reconstructed.
[0059] It should be noted that the VMD algorithm is a signal decomposition algorithm based on overall optimization. It determines the frequency band distribution of each sub-signal through constrained iterative optimization, and estimates each sub-signal in parallel, allowing reverse error correction, which well balances the error of the decomposed signal. The goal of VMD decomposition is to decompose the input real signal into several fixed sub-signals.
[0060] When the signal to be decomposed is a real signal that is sparse in the spectrum, and each signal is compact at its own frequency center after decomposition, that is, the sub-signal is a narrowband signal, the optimal decomposition can be performed by constraining the bandwidth of each sub-signal and minimizing it. The bandwidth calculation method of each sub-signal is solved by the following method:
[0061] (1) Convert each sub-signal into a complex signal through Hilbert transform, that is, convert the double-sided spectrum into a single-sided spectrum;
[0062] (2) Perform a mixing operation to convert the center frequency of each sub-signal to zero frequency, in preparation for the next step of calculating the bandwidth;
[0063] (3) Estimate the signal bandwidth by calculating the square of the 2-norm of the first-order difference of the baseband signal.
[0064] The decomposition problem of the original signal is finally constrained to the following problem:
[0065]
[0066] Where f(t) is the signal before decomposition, u k (t) is the kth word signal after decomposition, ω k is the center frequency of the kth channel, is the gradient operator, δ(t) is the unit impulse function, is the Hilbert transform operator and * is the convolution operator.
[0067] Finally, the above problem is summarized as adjusting the center frequency of each sub-signal and the composition of the sub-signal to minimize the sum of the bandwidths of each sub-signal, while the sum of each sub-signal is the original signal. This constrained problem can be converted into an unconstrained problem for solution by using the Lagrangian operator method λ(t) and the quadratic penalty factor a, where the quadratic penalty factor is to ensure that the sum of the decomposed signal is the original signal, that is, the quadratic penalty factor ensures the fidelity of the decomposed signal. The Lagrangian operator is one of the common methods for transforming constrained problems into solvable problems. The use of the two operators not only ensures the fidelity of the decomposed signal but also strictly enforces the constraints. Therefore, the above constraint problem is converted to:
[0068]
[0069] Where <,> is the inner product operation.
[0070] The saddle point of formula (3-2) is obtained by the alternating direction multiplier algorithm. The result is the optimal solution of the constrained variational model. The original signal will be decomposed into K IMF components. The specific steps of the solution are as follows:
[0071] (1) Solving the universal function u k The minimum value of :
[0072]
[0073] In the formula, Indicates the result after FFT.
[0074] (2) Solving the functional ω k The minimum value of :
[0075]
[0076] (3) Iteration constraints:
[0077]
[0078] See also Figure 3 , the following is the specific implementation process of the VMD algorithm:
[0079] (1) Initialization n=0;
[0080] (2) Let n = n + 1, for all ω ≥ 0 such that
[0081]
[0082] (3) For all ω ≥ 0 such that:
[0083]
[0084] Where γ is the noise margin.
[0085] (4) Repeat steps (2) and (3) until the iteration constraint is satisfied.
[0086]
[0087] Overall, in the process of iteratively solving the variational model, the frequency center and bandwidth of each IMF component are continuously updated, and when the iteration termination condition is met, the entire cycle ends. Finally, K IMF components are obtained according to the frequency domain characteristics of the actual signal. This method completes the adaptive segmentation of the signal frequency band and effectively avoids the modal aliasing phenomenon.
[0088] In view of the fact that the high-frequency noise signal in the actual sampling system will interfere with the accuracy of extracting the harmonic parameters of each frequency signal from the signal in the FFT analysis of the detected and standard channels, this embodiment preferably uses VMD sextuple decomposition to reconstruct the signal to solve the problem, and decomposes it successively from high frequency to low frequency according to the center frequency. Figure 4 It can be seen that the low-amplitude high-frequency signal in the first decomposition of VMD corresponds to the high-frequency harmonic signal in the secondary current signal. Therefore, after removing modal component 1, the reconstructed signal is obtained by superimposing the 2nd-6th modal components. The signal waveforms of the secondary current and the converted primary current under harmonic conditions are compared with the signal waveforms after VMD decomposition and reconstruction. Figure 5 As shown in the figure, it can be seen that the secondary current signal after VMD decomposition and reconstruction is highly similar to the secondary current signal without harmonics. The mean square error and relative error of the two signals are 0.0036 and 0.0814 respectively.
[0089] In addition to the above-mentioned preferred VMD signal decomposition and reconstruction method to reduce the influence of noise signals on the detection accuracy of the verification algorithm, the use of a high-frequency signal filter to filter the secondary side current signal under harmonic conditions can also achieve similar technical effects.
[0090] Step 103: Based on the processed standard current data, calculate the standard harmonic components of the preset order of the standard current data through double-spectrum interpolation FFT correction processing based on the convolution window function, and then determine the target harmonic order and the standard target harmonic component according to the harmonic amplitude in the standard harmonic component;
[0091] The standard target harmonic component is the harmonic component corresponding to the target harmonic order in the standard harmonic component.
[0092] It should be noted that based on the standard current data obtained in the previous step, the standard harmonic components of the standard current data are calculated through the double-spectrum interpolation FFT correction processing based on the convolution window function to obtain the standard harmonic components s of the preset order. i , i represents the i-th harmonic. According to the standard harmonic components of each order and the magnitude of the harmonic amplitude, the target harmonic order j is determined, where the target harmonic order j generally corresponds to the harmonic with the largest amplitude.
[0093] More specifically, the current signals of the standard channel and the tested channel are converted into voltage signals through sampling resistors and then passed through signal processing circuits and sampled and converted by ADC. The host computer needs to analyze and process the conversion data of ADC, extract the primary and secondary fundamental signals under wide range and value stream mixing conditions, extract the specified harmonic signals under harmonic conditions, and calculate the ratio difference and angular difference of the primary and secondary current signals on the host computer software. Therefore, the calibration system algorithm needs to use Fast Fourier Transform (FFT).
[0094] Fourier transform converts a periodic signal into the sum of a DC component and a sine component based on a sine function. Simply put, it decomposes a signal into sine waves of different amplitudes, frequencies, and initial phases. The superposition of all of them is approximately equal to the original waveform. Assuming that the function f(t) satisfies Dirichlet and is absolutely integrable, its Fourier transform is:
[0095]
[0096] In practice, computers process discrete signals, which involves the discretization of continuous signals. The Fourier transform (DFT) of discrete signals is equivalent to using a rectangular window to truncate the signal and then extend it periodically into an infinitely long sequence when sampling. It can be expressed as:
[0097]
[0098] In the formula, m=0,1,...,N-1.
[0099] In DFT operation, when the number of sampling points is N, N 2 There are N(N-1) multiplication operations and N(N-1) addition operations. Obviously, when N takes a large value, it is also very complicated for computer calculations. The fast Fourier transform is a simplified algorithm of the discrete Fourier transform, which can greatly improve the calculation speed of the discrete Fourier transform.
[0100] Take N points of a discrete sequence x(n) and perform DFT, let N=2M (M is a positive integer), and then divide it into two different odd and even series, which can be expressed as a(k)=f(2k) and b(k)=f(2k+1) respectively, and the length of the two series is the same, both M.
[0101] Then x(n) performs DFT operation:
[0102]
[0103] In the formula, It is reducible, that is Therefore, formula (3-8) can be expressed as:
[0104]
[0105] In the formula, A(m)=DFT{a(k)}, B(m)=DFT{b(k)}.
[0106] Since the period of A(m), B(m) is N / 2, then:
[0107] A(m)=A(m+N / 2)
[0108] B(m)=B(m+N / 2) (3-10)
[0109] Also because So we can get:
[0110]
[0111] Substituting formula (3-11) into formula (3-10) yields:
[0112]
[0113] In summary:
[0114]
[0115] Based on this principle, a discrete signal of length N can be converted into N / 2 2-point operations until two N / 2 combinations. The process can be expressed as Figure 6 shown.
[0116] From the calculation process in the figure, we can see that the FFT algorithm simplifies a lot of calculation processes based on DFT, which also makes FFT widely used. However, the FFT algorithm also has shortcomings. For example, when analyzing discrete sequences, it has strict requirements on the number of processed data, which leads to limitations in its use. When applied to harmonic detection, firstly, the truncation of the sampled signal will lead to spectrum leakage and fence effect, and also the calculation of useless spectrum points and values will lead to waste of resources.
[0117] It should be noted that regarding the explanation of spectrum leakage, a time domain continuous signal is sampled to obtain a discrete digital signal, and then DFT is performed on the discrete samples. Assuming the sampling frequency is f s , the number of sampling points is N, then in the frequency domain we can get f s / N is a spectrum sequence with frequency resolution. When using FFT to analyze the spectrum of discrete sequences, the original signal must be truncated at a finite point. The essence of truncation is to multiply the time domain signal with a window function so that the time domain signal can better meet the periodicity requirements of FFT processing. This is equivalent to performing discrete Fourier transform on the window function and the sampled discrete sequence and then performing convolution operation in the frequency domain, that is, translating the spectrum function of the window function to kf s / N. In an ideal situation, i.e. synchronous sampling, the spectrum energy is concentrated at the frequency point, and the energy at the non-frequency point is zero. However, this is difficult to meet in practical applications.
[0118] The load fluctuation and the automatic frequency adjustment of the power system make the signal frequency constantly changing when the power grid is actually running, so it is difficult to achieve full cycle sampling. Therefore, when the sampling signal is extended periodically, there will be sampling discontinuity, resulting in the spectrum energy not being able to be fully concentrated at the frequency point, but dispersing to the entire frequency domain. This is the so-called spectrum leakage phenomenon.
[0119] Assume an infinitely long single frequency sinusoidal signal:
[0120]
[0121] In the formula, A, ω0 and are the amplitude, angular frequency and initial phase of the sinusoidal signal respectively.
[0122] Performing a continuous Fourier transform on the signal gives:
[0123]
[0124] From formula (3-15), we can see that the ideal spectrum of the sinusoidal signal has only two discrete spectral lines at ±ω0. Figure 7 As shown in part (a) of .
[0125] However, in actual signal acquisition and processing, the computer can only perform discrete Fourier transform on a finite length sequence, so the infinite length original signal needs to be truncated in the time domain. The essence of traditional truncation is to use a finite length rectangular window function w R (t) is multiplied by the time domain signal x(t). That is:
[0126] x R (t) = x(t)w R (t) (3-16)
[0127] According to the properties of Fourier transform and combined with the convolution theorem, the spectrum of the signal x(t) after being truncated by the rectangular window can be expressed as:
[0128]
[0129] Where W R (ω) is the spectrum function of the rectangular window.
[0130] It can be seen from formula (3-17) that after the sinusoidal signal is truncated with a rectangular window, its spectrum changes from the original two discrete spectral lines to a continuous spectrum spread around ±ω0, as shown in Figure 7 As shown in part (b) of .
[0131] In the case of synchronous sampling, that is, when the signal is truncated by an integer period using a rectangular window function, the spectrum components obtained by discrete Fourier transform are concentrated at the corresponding frequency point, while the spectrum at other positions is zero. At this time, there will be no detection error or spectrum leakage. However, in practice, asynchronous sampling is mostly used. At this time, the energy of the signal cannot be fully concentrated at the theoretical frequency point, but leaks to the entire frequency domain with the theoretical frequency point as the center, making the spectrum component that was originally zero no longer zero. This is the spectrum leakage phenomenon.
[0132] Regarding the fence effect, when performing DFT analysis on a signal with a sampling frequency of fs and a sampling point number of N, the signal is discretized at equal intervals in the frequency domain, and N discrete spectrum lines with intervals of fs / N are obtained, that is, only the spectrum information at the discrete frequency sampling points can be obtained, and the information between two discrete frequency points will be ignored. This process of discrete sampling of the continuous spectrum of the signal is like looking at the information of the original signal through a fence. Only the local discrete spectrum lines corresponding to the gaps in the fence can be observed, and the rest are blocked by the fence. This phenomenon is called the "fence effect."
[0133] In the case of synchronous sampling, the frequency of the harmonics is exactly an integer multiple of the DFT frequency resolution, and the frequency of each component in the signal also falls exactly at the discrete frequency sampling point, so the detection result of the harmonics is not affected by the fence effect. Figure 8As shown in part (a) of the figure. However, in practice, synchronous sampling is difficult to achieve due to the limitation that the number of sampling points must be an integer power of 2 and the fluctuation of the fundamental frequency of the power grid. Under asynchronous sampling conditions, the fence effect causes the frequency of each component in the signal to fall between two discrete frequency points. At this time, only the spectral lines near the true spectral line can be observed, and the true spectrum of the harmonic and interharmonic signals cannot be obtained. It can only be approximated by the values of the nearby discrete spectral lines, which causes certain errors, such as Figure 8 As shown in part (b) of .
[0134] In the case of asynchronous sampling or non-integer cycle truncation, the spectrum leakage problem in the fast Fourier transform process can be effectively suppressed by using a window function with excellent performance to perform windowing on the signal. Commonly used window functions include rectangular window, Hanning window, Henning window, Blackman window, Nutall window, etc. Among them, the convolution window function mentioned in this embodiment is specifically a four-term third-order self-scaling-convolution Nutall window.
[0135] Different l and a m Different window function types are determined, and the coefficient table of commonly used window functions is shown in Table 3-1.
[0136]
[0137] Table 3-1 Common window functions and their coefficients The time domain function expression of the four-term third-order Nutall window is:
[0138]
[0139] By windowing the signal in the time domain, the influence of spectrum leakage can be effectively suppressed. A suitable window function usually requires that its sidelobe peak is as low as possible and decays quickly, while its main lobe width is as narrow as possible. The four-term third-order Nutall window has a sidelobe peak level of -82.6dB and a sidelobe decay rate of 30dB / oct, which has excellent spectrum attenuation characteristics. In order to further reduce the sidelobe peak and improve the detection accuracy, this patent proposes a self-scaling-convolution window based on the Nutall window, which is expressed as:
[0140] w Nutsmc (n) = w Nutsm (m)*w Nutsm (m) (3-19)
[0141] Where: n = 0, 1, 2, ... M-1, M is the length of the Nutsmc window; w Nutsm (m) represents the self-product window of the 1st-order quartic third-order Nutall window, which is defined as:
[0142] w Nutsm (m) = w Nut (m)×wNut (m) (3-20)
[0143] Where: w Nutsm (m) is determined by formula (3-18), and it is not difficult to obtain by substituting it into formula (3-20):
[0144]
[0145] Wherein, the reference values of each window function coefficient include: a0=0.2611; a1=-0.4238; a2=-0.2649; a3=-0.0747; a4=0.0146; a5=-0.0015; a6=5.94e-5.
[0146] According to the convolution theorem, the convolution of a function in the time domain is equal to the product in the frequency domain. A second-order four-term three-order Nutall window with a length of N' is self-convolved to obtain a new sequence with a length of 2N'-1. Zeros are added to the end of the sequence to obtain a four-term three-order Nutall self-convolution window with a length of N = 2N'. The window function is transformed by DTFT to obtain the spectrum function:
[0147]
[0148] For the fence effect, the interpolation algorithm can be used to reduce the error caused by it to a certain extent. The interpolation algorithm is to select the frequency point or multiple spectrum lines close to the peak after the signal is FFTed, so as to obtain the actual spectrum components. Theoretical analysis is carried out by taking double spectrum line interpolation as an example.
[0149] For a general harmonic signal, its expression in the time domain is:
[0150]
[0151] Where m is the harmonic order; H is the total harmonic order; f0 is the fundamental frequency; A m and are the amplitude and initial phase of the harmonics respectively.
[0152] (3-23) is sampled at a frequency of f s Discretized N-point sampling of:
[0153]
[0154] After adding window to the discrete signal in the time domain, we can get:
[0155]
[0156] Ignore the influence of the negative frequency spectrum peak, and take the mth harmonic as an example for analysis, we get:
[0157]
[0158] Let \(f = k\Delta f=kf\) s Substituting it into Equation (3 - 26), we can get:
[0159]
[0160] where \(\Delta f\) is the spectral resolution, and \(\Delta f=f\) s / N; \(W(\omega)\) is the spectral function of the cosine window.
[0161] When performing asynchronous sampling on the signal, the spectral peak frequency \(f\) m \(=k\) m \(\Delta f\) generally does not lie on the discrete spectral line frequencies. Suppose the spectral line numbers with the largest and the second largest amplitudes near the target frequency point are \(k_1\) and \(k_2\) respectively. In the double - spectral - line interpolation algorithm, \(k_1 < k\) m \(< k_2=k_1 + 1\). The amplitudes of these two spectral lines are \(y_1 = |X(k_1\Delta f)|\) and \(y_2 = |X(k_2\Delta f)|\) respectively. Introducing the variable and \(a=(k\) m \(-k_1 - 0.5)\in(-0.5,0.5)\), then from Equation (3 - 28), we can get:
[0162]
[0163] From the relationship between \(\alpha\) and \(\beta\) in the above formula, the target frequency \(f\) m .
[0164] For the cosine - window spectral function \(W(\omega)\), let \(\omega = 2\pi k / N\), we can get:
[0165]
[0166] Substitute \(k =-\alpha\pm0.5\) into (3 - 29) and simplify to get:
[0167]
[0168] And by using the polynomial curve - fitting function, we can get \(\alpha = g(\beta)\), thus obtaining the frequency correction formula:
[0169] \(f\) m \(=(\alpha + k_1+0.5)\Delta f\ (3 - 31)\)
[0170] In the windowed spectrum, there is generally no discrete spectral line at the target frequency point. According to the distribution of the spectral lines at the target frequency point, the spectral line with the largest amplitude and the spectral line with the second - largest amplitude, there are two typical spectral - line group distribution cases, as Fig. 9 shown.
[0171] By weighting the two spectral lines k1 and k2, the amplitude correction formula can be obtained as:
[0172]
[0173] In the formula, h(α) can also be obtained by polynomial curve fitting. The correction formula of the double spectrum interpolation method based on the second-order four-term third-order Nutall self-scaling-convolution window is:
[0174]
[0175] The phase correction formula is:
[0176]
[0177] Step 104 : Based on the processed measured current data, determine the measured target harmonic component corresponding to the target harmonic order through double-spectrum interpolation FFT correction processing based on the convolution window function.
[0178] It should be noted that, according to the processing process of step 103, the measured current data is subjected to the same current signal processing. The difference is that after obtaining the measured harmonic components of several orders through the double-spectrum interpolation FFT correction processing based on the convolution window function, the harmonic component T of the corresponding order can be directly determined according to the target harmonic order j determined in step 103. j .
[0179] Step 105: Determine a current transformer error calibration result according to a comparison result between the measured target harmonic component and the standard target harmonic component.
[0180] It should be noted that the harmonic parameters of the measured target harmonic component and the standard target harmonic component are compared, and whether the current transformer error calibration result is qualified is determined according to the comparison result.
[0181] More specifically, based on the parameters of the measured target harmonic component and the standard target harmonic component, including: the amplitude T_a(j) and phase T_p(j) of the measured target harmonic component, and the amplitude s_a(j) and phase s_p(i) of the standard target harmonic component, the corresponding ratio difference and angle difference are calculated as the comparison results between the measured target harmonic component and the standard target harmonic component, so as to determine whether the current transformer error verification result is qualified.
[0182] In order to analyze the tester's detection effect on CT transmission performance under AC working conditions, five groups of working points were set at 10% IN, 50% IN, 100% IN, 150% IN and 200% IN when the fundamental frequency was 49.8HZ; the half-wave signal detection and calibration instrument was used to detect the CT transmission performance under AC and DC coexistence conditions, and the half-wave amplitude was set to 10% IN, 50% IN and 100% IN; under harmonic conditions, according to the "JJG1176-2021 Harmonic Current Transformer Verification Procedure", simulation analysis was performed for 47th to 50th harmonics with 2nd to 5th harmonic contents of 10%, 20% IN and 10% IN. The verification results are shown in Tables 3-2 to 3-4:
[0183] AC component size Ratio difference / (%) <![CDATA[ Angular Difference / (′)]]> 10% IN 0.0539% 1.90 50% IN 0.0533% 1.89 100% IN -0.1184% 4.15 150% IN -0.2238% 6.915 200% IN -1.2426% 40.2137
[0184] Table 3-2 Analysis of the transmission performance of CT under various working conditions under a wide range by the verification algorithm
[0185]
[0186] Table 3-3 Analysis of the transmission performance of CT under half-wave signal under verification algorithm
[0187]
[0188] Table 3-4 Analysis of the transmission performance of CT under harmonic conditions by the verification algorithm
[0189] The above is a detailed description of an embodiment of a current transformer error calibration method provided by the present application. The following is a detailed description of an embodiment of a current transformer error calibration device provided by the present application.
[0190] See also Fig.10 In a second aspect, the present application provides a current transformer error checking device, comprising:
[0191] The current data acquisition unit 201 is used to acquire the secondary current data of the standard current transformer and the current transformer under test respectively based on the standard current transformer and the current transformer under test, so as to serve as the standard current data and the current data under test respectively;
[0192] The data preprocessing unit 202 is used to perform noise filtering preprocessing on the standard current data and the measured current data respectively to obtain processed standard current data and processed measured current data;
[0193] The target harmonic order determination unit 203 is used to calculate the standard harmonic components of the preset order of the standard current data based on the processed standard current data through double-spectrum interpolation FFT correction processing based on the convolution window function, and then determine the target harmonic order according to the harmonic amplitude in the standard harmonic component;
[0194] The measured target parameter acquisition unit 204 is used to determine the measured target harmonic component corresponding to the target harmonic order based on the processed measured current data through double spectrum interpolation FFT correction processing based on the convolution window function;
[0195] The error checking unit 205 is used to determine the current transformer error checking result according to the comparison result between the measured target harmonic component and the standard target harmonic component, wherein the standard target harmonic component is the harmonic component corresponding to the target harmonic order in the standard harmonic component.
[0196] In addition to the current transformer error checking device embodiment provided above, the present application further provides a detailed description of a current transformer error checking terminal embodiment and a computer-readable storage medium embodiment.
[0197] See also Fig.11 , the present application provides an embodiment of a current transformer error check terminal, the types of the terminal include but are not limited to: a personal computer, an industrial computer, a server and an embedded intelligent device, the terminal mainly includes: a memory 33 and a processor 31, the memory 33 and the processor 31 can be connected via a communication bus 34;
[0198] The memory 33 is used to store program codes corresponding to the current transformer error checking method provided in the first aspect of the present application;
[0199] The processor 31 is used to execute program codes.
[0200] The fourth aspect of the present application provides a computer-readable storage medium, in which a program code corresponding to the current transformer error checking method provided in the first aspect of the present application is stored.
[0201] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the terminals, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0202] In the several embodiments provided in the present application, it should be understood that the disclosed terminals, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0203] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can, for example, be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0204] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0205] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0206] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0207] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0208] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A current transformer error calibration method, characterized in that: include: Based on the standard current transformer and the current transformer under test, secondary current data of the standard current transformer and the current transformer under test are respectively obtained to serve as standard current data and measured current data; performing noise filtering preprocessing on the standard current data and the measured current data respectively to obtain processed standard current data and processed measured current data; Based on the processed standard current data, a standard harmonic component of a preset order of the standard current data is calculated through a dual-spectrum interpolation FFT correction process based on a convolution window function, and then a target harmonic order and a standard target harmonic component are determined according to the harmonic amplitude in the standard harmonic component, wherein the standard target harmonic component is a harmonic component in the standard harmonic component corresponding to the target harmonic order; Based on the processed measured current data, determining the measured target harmonic component corresponding to the target harmonic order through a double-spectrum interpolation FFT correction process based on a convolution window function; A current transformer error calibration result is determined based on a comparison result between the measured target harmonic component and the standard target harmonic component.
2. A current transformer error calibration method according to claim 1, characterized in that: The convolution window function is specifically a four-term third-order self-scaling-convolution Nutall window.
3. A current transformer error calibration method according to claim 2, characterized in that: The expression of the four-term third-order self-multiplication-convolution Nutall window is specifically: w Nutsmc (n)=w Nutsm (m)*w Nutsm (m) Where w Nutsmc (n) represents the four-term third-order self-scaling-convolution Nutall window, w Nutsm (m) represents a 1st-order quartic third-order Nutall window self-product window, n and m represent the lengths of the window function, a0, a1, a2, a3, a4, a5, and a6 are the window coefficients of a 1st-order quartic third-order Nutall window self-product window, and N is the number of sampling points.
4. A current transformer error calibration method according to claim 1, characterized in that: Determining the target harmonic order according to the harmonic amplitude in the standard harmonic component specifically includes: According to the harmonic amplitudes of the respective standard harmonic components, the target harmonic order corresponding to the maximum harmonic amplitude is determined by sorting.
5. A current transformer error calibration method according to claim 1, characterized in that: Determining the current transformer error calibration result according to the comparison result of the measured target harmonic component and the standard target harmonic component specifically includes: According to the amplitude and phase of the measured target harmonic component and the standard target harmonic component, the ratio difference and the angle difference between the measured target harmonic component and the standard target harmonic component are calculated to determine the current transformer error verification result according to the ratio difference and the angle difference.
6. A current transformer error calibration method according to claim 1, characterized in that: Performing noise filtering preprocessing on the standard current data and the measured current data to obtain processed standard current data and processed measured current data specifically includes: The standard current data and the measured current data are respectively decomposed by VMD signal decomposition and reconstruction, the noise signals obtained by decomposition are filtered, and the processed standard current data and the processed measured current data are reconstructed.
7. A current transformer error calibration method according to claim 1, characterized in that: Performing noise filtering preprocessing on the standard current data and the measured current data to obtain processed standard current data and processed measured current data specifically includes: The standard current data and the measured current data are respectively subjected to high-frequency filtering processing by a preset high-frequency filter to obtain processed standard current data and processed measured current data.
8. A current transformer error calibration device, characterized in that: include: a current data acquisition unit, configured to acquire, based on the standard current transformer and the current transformer under test, the secondary current data of the standard current transformer and the current transformer under test, respectively, to serve as the standard current data and the current data under test, respectively; a data preprocessing unit, configured to perform noise filtering preprocessing on the standard current data and the measured current data, respectively, to obtain processed standard current data and processed measured current data; a target harmonic order determination unit, configured to calculate, based on the processed standard current data, a standard harmonic component of a preset order of the standard current data by performing a bispectral interpolation FFT correction process based on a convolution window function, and then determine a target harmonic order and a standard target harmonic component according to the harmonic amplitude in the standard harmonic component, wherein the standard target harmonic component is a harmonic component in the standard harmonic component corresponding to the target harmonic order; A measured target parameter acquisition unit is used to determine the measured target harmonic component corresponding to the target harmonic order based on the processed measured current data through a double spectrum interpolation FFT correction process based on a convolution window function; The error checking unit is used to determine the error checking result of the current transformer according to the comparison result of the measured target harmonic component and the standard target harmonic component.
9. A current transformer error checking terminal, characterized in that: include: memory and processor; The memory is used to store a program code corresponding to the current transformer error checking method according to any one of claims 1 to 7; The processor is configured to execute the program code.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores program codes corresponding to the current transformer error checking method according to any one of claims 1 to 7.
Citation Information
Patent Citations
On-line verifying system and algorithm for electronic current transformer based on virtual instrument technology
CN105353330A
Overall detection method and apparatus for harmonic accuracy of electronic current transformer
CN106405470A
Distribution network CT verification method
CN111766556A
Pulse harmonic signal direct current transformer error detection device and calibration method thereof
CN113552526A
Universal mutual inductor verification equipment and mutual inductor verification method
CN113820645A
Cited By
Low-voltage intelligent broadband harmonic detection method and detection device
CN120121893A
Broadband current transformer test method, device, equipment and medium
CN120652381A
Data processing method for current transformer test
CN120820904A
Method and system for detecting precision of voltage sensor and storage medium
CN121069290A
Method, system and storage medium for detecting voltage sensor accuracy
CN121069290B
