Phase angle measurement method, system, device and medium based on constructing virtual phasor
By constructing a synthetic phasor calculation function for virtual phasors, the dynamic error of phase angle is reduced, and the phase angle measurement error caused by power grid fundamental frequency offset and harmonic interference is solved, thus achieving higher precision phase angle measurement.
Patent Information
- Application Number
- CN202411490485.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-24
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2044-10-24
AI Technical Summary
In existing technologies, the phase angle measurement error caused by power grid fundamental frequency offset and harmonic interference is relatively large, which cannot meet the development requirements of modern power grids.
By constructing virtual phasors and using the composite phasor calculation function of actual and virtual phasors, the phase angle dynamic error reduction coefficient is extracted, thereby reducing the phase angle dynamic error and improving measurement accuracy.
It significantly suppresses power grid fundamental frequency offset and harmonic interference, and improves the accuracy of phase angle measurement results and the ability to resist harmonic interference.
Smart Images

Figure CN119493936B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of signal measurement technology, and in particular to a phase angle measurement method, system, device and medium based on constructing virtual phasors. Background Technology
[0002] Phase angle is a core parameter for power system regulation, state estimation, and monitoring. Accurate phase angle information allows grid dispatchers to obtain real-time and precise parameters such as generator power angle, voltage phase angle differences between important buses, and power factor angles of important nodes, enabling them to issue correct dispatch commands to maintain the safe and stable operation of the power grid. Using the phase angle information of monitored important nodes for power flow calculations in power system state estimation also significantly improves the speed and accuracy of state estimation. Furthermore, the accuracy of real-time phase angle measurements in the power grid directly affects the performance of other advanced applications such as online grid identification and relay protection operation.
[0003] Therefore, achieving accurate measurement of synchronization phasors to prepare for subsequent power grid control and online parameter identification has become an important research direction. Existing synchronization phasor measurement algorithms mainly include: Kalman filtering-based methods, wavelet transform methods, Taylor model methods, least squares methods, and Discrete Fourier transform (DFT) methods.
[0004] Among the aforementioned synchronous phasor measurement algorithms, the DFT algorithm is characterized by its simple principle, fast calculation speed, and strong harmonic suppression capability, making it the most widely used synchronous phasor measurement method currently. However, it also has certain problems, including the possibility that sudden load changes and nonlinear loads may cause the power grid's fundamental frequency to shift and harmonic interference to lead to asynchronous signal sampling. This, in turn, can cause phenomena such as spectral leakage and the picket fence effect in the DFT algorithm, exacerbating phase angle measurement errors. Traditional synchronous phasor measurement methods can no longer adequately meet the development requirements of modern new power grids. Summary of the Invention
[0005] Purpose of the invention: This invention provides a phase angle measurement method, system, device, and medium based on the construction of virtual phasors, aiming to solve the technical problem of large phase angle measurement errors caused by factors such as power grid fundamental frequency offset and harmonic interference in the prior art.
[0006] Technical Solution: This invention provides a phase angle measurement method based on constructing a virtual phasor, comprising: acquiring the actual phasor of the current sampled data of a signal; shifting the phase angle of the actual phasor to the left and right by the same offset phase angle, and calculating the sampled data window of the shifted virtual phasor by combining the power frequency and frequency offset of the signal, thereby obtaining the corresponding virtual phasor; synthesizing the actual phasor and the virtual phasor to obtain a synthesized phasor calculation function, and extracting the corresponding phase angle dynamic error reduction coefficient from the synthesized phasor calculation function; calculating the phase angle dynamic error reduction coefficient by offsetting the phase angle; substituting the calculated phase angle dynamic error reduction coefficient into the synthesized phasor calculation function to obtain the corresponding synthesized phasor calculation result, and obtaining the corresponding phase angle measurement result through the synthesized phasor calculation result.
[0007] Specifically, the phase angles of the actual phasors are shifted to the left by π / 3 and 2π / 3, and to the right by π / 3 and 2π / 3.
[0008] Specifically, the phase difference between the sampling data window of the current sampling data and the sampling data window of the virtual phasor is:
[0009] α(1+△f / f0) and β(1+△f / f0),
[0010] Where α and β represent the phase offset angles, which are π / 3 and 2π / 3 respectively, f0 represents the power frequency, and Δf represents the frequency offset.
[0011] Specifically, the actual phasor and the four virtual phasors are combined to obtain the following composite phasor calculation function:
[0012]
[0013] in, This represents the result of the composite phasor calculation, where A and B represent the first and second leakage amounts in the fundamental signal due to frequency shift, respectively, and X and... The amplitude and initial phase angle of the subharmonic of the signal are represented by k1' and k'2, respectively, where k1' and k'2 represent the first and second synthesis coefficients, λ = Δf / f0, and j represents the imaginary unit.
[0014] Specifically, in the synthetic phasor calculation function, extract The coefficient is used as the phase angle dynamic error reduction coefficient.
[0015] Specifically, the phase angle dynamic error reduction coefficient is (πλ). 2 / 27.
[0016] Specifically, the phase angle measurement results are as follows:
[0017]
[0018] This invention also provides a phase angle measurement system based on constructing virtual phasors, comprising: a sampling unit, a virtual phasor construction unit, a synthesis unit, an error reduction coefficient calculation unit, and a measurement unit, wherein: the sampling unit is used to acquire the actual phasor of the current sampled data of the signal; the virtual phasor construction unit is used to shift the phase angle of the actual phasor to the left and right by the same offset phase angle, and calculate the sampling data window of the shifted virtual phasor by combining the power frequency and frequency offset of the signal, thereby obtaining the corresponding virtual phasor; the synthesis unit is used to synthesize the actual phasor and the virtual phasor to obtain a synthesized phasor calculation function, and extract the corresponding phase angle dynamic error reduction coefficient from the synthesized phasor calculation function; the error reduction coefficient calculation unit is used to calculate the phase angle dynamic error reduction coefficient by offsetting the phase angle; the measurement unit is used to substitute the calculated phase angle dynamic error reduction coefficient into the synthesized phasor calculation function to obtain the corresponding synthesized phasor calculation result, and obtain the corresponding phase angle measurement result through the synthesized phasor calculation result.
[0019] The present invention also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be executed by the processor, and when the computer program is executed by the processor, it performs the phase angle measurement method based on constructing virtual phasors provided by any one of the present invention.
[0020] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the phase angle measurement method based on constructing virtual phasors provided by any of the present invention.
[0021] Beneficial effects: Compared with the prior art, the present invention has the following significant advantages: the phase angle measurement results are more accurate, and it can effectively suppress the shift of the power grid fundamental frequency and harmonic interference. Attached Figure Description
[0022] Figure 1 This is a schematic diagram of DFT data window truncation signal during synchronous sampling provided by the present invention;
[0023] Figure 2 This is a schematic diagram of DFT data window truncation signal during asynchronous sampling provided by the present invention;
[0024] Figure 3 The dynamic error phasor diagram provided by this invention;
[0025] Figure 4 The total phase angle error curve provided for this invention;
[0026] Figure 5 The phase angle error diagram of the four virtual phasor algorithm for fundamental frequency offset provided by this invention;
[0027] Figure 6 The phase angle error diagram of the four virtual phasor algorithm under harmonic interference provided by this invention;
[0028] Figure 7 The schematic diagram of the response process of the four virtual phasor algorithm under step signal provided by the present invention. Detailed Implementation
[0029] The technical solution of the present invention will be further described below with reference to the accompanying drawings.
[0030] In practical implementation, a single-phase signal x(t) in the power grid can be expressed as:
[0031]
[0032] Where X represents the effective value of the signal, ω = 2π(f0 + Δf), ω represents the angular frequency of the signal, f0 represents the power frequency, and Δf represents the frequency offset. This represents the initial phase angle of the signal.
[0033] Sampling rate f s It can be represented as:
[0034] f s =Nf0, formula (2),
[0035] Where N represents the number of sampling points in each period.
[0036] By sampling the signal at equal intervals, we can obtain the discrete form x(n) of the sampled signal:
[0037]
[0038] Where n represents a specific sampling point in the sequence of periodic sampling points N, that is, the nth sampling point.
[0039] In traditional DFT signal processing, the signal needs to be truncated using a window function of length N. When the frequency shifts, asynchronous sampling occurs because it is difficult to truncate the measured signal by an integer period using a rectangular window, resulting in reduced accuracy of synchronous phasor calculation. The effects of DFT data window truncation on synchronous and asynchronous sampling are shown in [the original text]. Figure 1 and Figure 2 .
[0040] According to Euler's formula, the discrete sampled signal can be expressed as:
[0041]
[0042] Where j represents the imaginary unit and e represents the natural logarithm.
[0043] The DFT of the rectangular window function d(n) can be expressed as:
[0044]
[0045] in,
[0046] The signal is truncated by a rectangular window d(n), then a DFT transformation is performed, and equation (5) is substituted into equation (7) to obtain the actual phasor of the current sampled data of the signal.
[0047]
[0048] Where A and B represent the first and second leakage amounts in the fundamental frequency of the signal due to frequency shift, respectively. Specifically:
[0049]
[0050]
[0051] To facilitate the analysis of phase angle error, formula (7) can be written as:
[0052]
[0053] In formula (10), sin(πΔf / f0) / Nsin(πΔf / Nf0) is a phasor The amplitude attenuation factor only affects the amplitude of the phasor and not the phase angle. The exponential term (N-1)πΔf / Nf0 in the equation represents the static error of the phase angle.
[0054] Because of formula (7) The existence of the term means that the third term in formula (10) is not 1, which means that the dynamic error of the phase angle is due to... This item caused, therefore, reduction This is equivalent to reducing the dynamic error of the phase angle.
[0055] To further seek To determine the phasor relationships, construct a phasor diagram, such as... Figure 3 As shown.
[0056] exist Figure 3 middle, Then we have:
[0057]
[0058] It can be considered a phasor From unit phasor and in unit phasor Small amplitude phasor of end rotation Together they form a whole; if we want to find the phasor... The phase angle is obtained, which gives the dynamic error of the phase angle.
[0059] From the trigonometric function relations, we can obtain:
[0060]
[0061] because We can obtain the following by equivalent infinitesimal substitution:
[0062]
[0063] The phase angle error of the DFT algorithm under asynchronous sampling is:
[0064]
[0065] Phase angle dynamic error and frequency offset Δf and initial phase angle Related to the initial phase angle The relationship is approximately sinusoidal, and the phase angle error curve is as follows: Figure 4 As shown.
[0066] Then the phase angle error can be written as:
[0067]
[0068] in, Indicates the total phase angle error. This represents the static phase angle error, which is only related to the frequency offset Δf. This represents the dynamic error of the phase angle, related to the frequency offset Δf and the initial phase angle. related.
[0069] The phase angle dynamic error relative to the initial phase angle of the signal Since the phase angle is approximately sinusoidal, it is not easy to correct it in real time through frequency tracking. Therefore, this invention constructs a virtual phasor and calculates the composite phasor value using the virtual phasor and the original phasor. During the calculation process, the balance relationship between the phasors is used to reduce the dynamic error of the phase angle, thereby achieving high-precision measurement of the phase angle.
[0070] In this embodiment of the invention, the phase angle of the actual phasor is shifted to the left and right by the same offset phase angle, and the sampling data window of the shifted virtual phasor is calculated by combining the power frequency and frequency offset of the signal, so as to obtain the corresponding virtual phasor.
[0071] In this embodiment of the invention, the phase angle of the actual phasor is shifted to the left by π / 3 and 2π / 3, and the phase angle of the actual phasor is shifted to the right by π / 3 and 2π / 3.
[0072] By constructing virtual phasor groups with phase differences of ±π / 3 and 2π / 3 from the current phasor, the dynamic error of the sinusoidal method is reduced by utilizing the balance relationship between phasors to improve the phase angle measurement accuracy. At the same time, the amplitude of the third harmonic is reduced to improve the method's resistance to harmonic interference.
[0073] The virtual phasor method is a method of constructing a virtual phasor that differs from the current phasor by a certain angle, and using the measurement results of the virtual phasor and the original phasor to calculate the phasor result of the current data window. The reduction of the term is equivalent to the reduction of the phase angle dynamic error. Under the power frequency of 50Hz, constructing a virtual phasor that differs from the current phasor by positive and negative α and positive and negative β respectively means shifting the current sampled data to the left and right by αN / (2π) and βN / (2π) points respectively.
[0074] In this embodiment of the invention, under actual operating conditions, when a frequency shift occurs, the current sampling data window is shifted left and right by αN / (2π) and βN / (2π) points respectively. The phase difference between the current sampling data window and the virtual phasor sampling data window is:
[0075] α(1+Δf / f0) and β(1+Δf / f0), where f0 represents the power frequency and Δf represents the frequency offset, can be expressed as follows:
[0076]
[0077] Where λ=△f / f0, since the frequency offset is very small compared to the power frequency, λ can be approximated as an infinitesimal quantity. α and β represent the angle difference between the virtual phasor and the current phasor, respectively. In the derivation and solution of α and β, we assume α<β.
[0078] In this embodiment of the invention, the actual phasor and the virtual phasor are synthesized to obtain the synthesized phasor calculation function, and the corresponding phase angle dynamic error reduction coefficient is extracted from the synthesized phasor calculation function.
[0079] The composite phasor of the five phasors in formula (17) is constructed as follows:
[0080]
[0081] In engineering, coefficients k1 to k5 should be integers or rational numbers to avoid errors caused by rounding. Considering the symmetry of the positive and negative α and positive and negative β virtual phasors with respect to the current actual phasor, we have k2 = k3 and k4 = k5. At the same time, for ease of calculation, we take k1' = k1 / k4 and k'2 = k2 / k4. Then formula (18) can be further expressed as:
[0082]
[0083] In formula (19), cos(αλ) and cos(βλ) are approximately 1, and can be written as:
[0084]
[0085] In this embodiment of the invention, the synthetic phasor calculation function is extracted The coefficient is used as the phase angle dynamic error reduction coefficient.
[0086] From formula (20), it can be seen that reducing The term, that is, it can be multiplied by a coefficient that is as small as possible using the virtual phasor method, so that in equation (20) Expanding the coefficients of the term yields:
[0087]
[0088] Among them, the The reduction of the term is equivalent to the reduction of the phase angle dynamic error. If the γ coefficient is less than 1, it indicates that the method provided by this patent is effective in reducing the phase angle dynamic error. The reduction of the term is effective, that is, effective in reducing the dynamic phase error. The magnitude of γ characterizes the ability of the method provided in this patent to reduce the dynamic phase error.
[0089] The denominator in formula (21) is a constant determined by k1' and k'2, and its numerator can be Taylorized to a second-order infinitesimal with respect to λ. To improve the measurement accuracy of the method provided in this patent, i.e., to make γ sufficiently small, the following constraints can be obtained:
[0090] (1) The absolute values of the constant term of the γ numerator and the first and second order infinitesimal terms should be as small as possible.
[0091] The constant term is k1'+2k2'cos(2α)+2cos(2β);
[0092] The first-order infinitesimal term is -2k2'sin(2α)×(αλ)-2sin(2β)×(βλ);
[0093] The second-order infinitesimal term is -k'2cos(2α)×(αλ). 2 -cos(2β)×(βλ) 2 .
[0094] (2) The absolute value of the denominator term k1'+2k'2+2 should be as large as possible, that is, k1' and k'2 should be as positive as possible.
[0095] To minimize γ, the primary consideration is to maximize the infinitesimal order of its numerator term. By setting its constant term and first-order infinitesimal term to 0, we obtain:
[0096]
[0097] When the second-order infinitesimal term is set to 0, the value of k'2 conflicts with formula (22), so the infinitesimal order of γ can be at most second-order. After determining the values of α and β, the values of k1' and k'2 are determined according to formula (22), thus γ can be determined as a second-order infinitesimal of λ.
[0098] The values of α and β are such that, since the virtual phasors are symmetrical about the original phasors and appear in pairs, α < π and β < π. Based on this, according to formula (16), if k'2 is to be positive, the numerator and denominator must have opposite signs, i.e., β > π / 2 and α < π / 2.
[0099] To ensure that k'2 is a rational number, the expressions for the sine values of α and β must not be too complex. Recommended values for α and β include: π / 6, π / 4, π / 3, π / 2, 2π / 3, and 5π / 6.
[0100] α and β are the phase angle difference between the virtual phasor and the current phasor. If the value of β is too large, the equivalent time window required by the method provided by this patent will be larger, and the delay time of the method provided by this patent under the step signal condition will be longer. At the same time, based on the consideration of making β > π / 2 as much as possible, the reference value of β is β = 2π / 3.
[0101] Considering the superior performance of the partial π / 3 method in resisting third harmonic interference, as well as its good measurement accuracy and the fact that the value of α does not affect the window length, the value of α is considered to be α = π / 3.
[0102] In this embodiment of the invention, the phase angle dynamic error reduction coefficient is (πλ). 2 / 27.
[0103] In summary, based on the values of α and β, the values of k1' and k'2 are determined to be: k1' = 3 and k'2 = 2.
[0104] Four virtual phasors with phase angles differing from the current phasor by ±π / 3 and ±2π / 3 are constructed. The construction of the virtual phasors is achieved by shifting the current sampled data window to the left and right by N / 6 and N / 3 points respectively. The DFT calculation is performed on the sampled data to obtain the composite phasor, and finally the DFT dynamic error is corrected.
[0105] The calculated synthetic phasor result obtained using the method described in this patent is as follows:
[0106]
[0107] The phase angle error result is:
[0108]
[0109] After correction using the four virtual phasor method proposed in this patent, the dynamic error of the phase angle is given a reduction coefficient (πλ). 2 / 27 significantly reduces dynamic phase angle error and improves measurement accuracy. The phase angle error diagram of the four virtual phasor algorithm when the fundamental frequency is offset is shown in the figure. Figure 5 As shown.
[0110] In practical implementation, a model for harmonic interference reduction under the virtual phasor method is constructed based on the method provided by this invention.
[0111] In actual power grids, the presence of nonlinear loads inevitably introduces third harmonics, which greatly affects the phase angle measurement accuracy of the DFT algorithm. The method provided by the patent is also very effective in resisting harmonic interference, which includes the reduction of each harmonic interference.
[0112] Let the input signal be:
[0113]
[0114] In the formula: X m3 The amplitude of the third harmonic; The initial phase angle of the third harmonic component.
[0115] Due to the linear nature of the DFT algorithm, the fundamental and harmonic components can be calculated separately. This section focuses on analyzing the anti-harmonic interference performance of the four virtual phasor methods of this patent.
[0116] The third harmonic component of the signal can be written as:
[0117]
[0118] Similar to the fundamental signal, the third harmonic signal, after being sampled at a constant sampling rate, substituted with Euler's formula, truncated by a rectangular window, and subjected to DFT transformation, yields the DFT transformation result:
[0119]
[0120]
[0121] In practice, due to the shift in the fundamental frequency of the input signal, the current sampling data window is shifted by N / 6 points and N / 3 points respectively. The corresponding phase shifts of the third harmonic should be π(1+λ) and 2π(1+λ). At this time, the four virtual phasors of the third harmonic are as follows:
[0122]
[0123] The synthesized phasor after correction of the third harmonic by the method provided in this patent for:
[0124]
[0125] As can be seen from formula (31), the method of this patent can effectively reduce the third harmonic interference in the power grid, reducing the third harmonic to (πλ) of the traditional DFT algorithm. 2 / 3. Compared to traditional DFT, the method provided in this patent has a better reduction effect on third harmonic interference, significantly improving the measurement accuracy under third harmonic interference. The phase angle error diagram of the four virtual phasor algorithm under harmonic interference is shown in the figure below. Figure 6 As shown.
[0126] Apart from the third harmonic, the a-th harmonic component of the signal can be written as:
[0127]
[0128] In the formula: X ma For harmonic amplitude, This is the initial phase angle of the harmonic.
[0129] Similar to the third harmonic, the a-th harmonic signal, after being sampled at a constant sampling rate, substituted with Euler's formula, truncated by a rectangular window, and transformed by DFT, yields the following result:
[0130]
[0131] The corresponding virtual phasor and the corrected composite phasor They are respectively:
[0132]
[0133] Substituting the value of the harmonic order 'a', and simplifying the coefficients containing trigonometric functions using the sum-angle formula and Taylor formula, we can obtain the reduction result of the method provided in this patent for that harmonic. Specifically, the reduction results for the fifth and seventh harmonics are as follows:
[0134]
[0135] Under the aforementioned harmonic condition, the harmonic synthesis phasor corrected by the method provided in this patent... for:
[0136]
[0137] In the formula, A ma and B ma X represents the leakage caused by frequency deviation in the corresponding subharmonic. ma and This represents the amplitude and initial phase angle of the corresponding harmonic.
[0138] In practical implementation, based on the method provided in this patent, a four-virtual phasor DFT phase angle measurement model based on offset π / 3 and 2π / 3 is constructed.
[0139] The specific implementation method for accurately measuring the phase angle of the synchronization phasor is given by the following expression for the currently sampled phasor:
[0140]
[0141] The constructed virtual phasor expression is as follows:
[0142]
[0143] The method for calculating the synthetic phasor is as follows:
[0144]
[0145] The schematic diagram of the response process of the four virtual phasor algorithm under step signal provided by this invention is as follows: Figure 7 As shown, the phasor results obtained by this patented method when the fundamental signal frequency shifts are as follows:
[0146]
[0147] Frequency leakage term in the synthesized phasor results It was significantly suppressed.
[0148] The suppression result of this patented algorithm for the a-th harmonic is as follows:
[0149]
[0150] The results of suppressing the third, fifth, and seventh harmonics can be expressed as follows:
[0151]
[0152] The results of formulas (44) to (48) show that the method proposed in this patent not only has good measurement accuracy, but also suppresses each harmonic to a certain extent, and has good measurement performance.
[0153] This invention also provides a phase angle measurement system based on constructing virtual phasors, comprising: a sampling unit, a virtual phasor construction unit, a synthesis unit, an error reduction coefficient calculation unit, and a measurement unit, wherein: the sampling unit is used to acquire the actual phasor of the current sampled data of the signal; the virtual phasor construction unit is used to shift the phase angle of the actual phasor to the left and right by the same offset phase angle, and calculate the sampling data window of the shifted virtual phasor by combining the power frequency and frequency offset of the signal, thereby obtaining the corresponding virtual phasor; the synthesis unit is used to synthesize the actual phasor and the virtual phasor to obtain a synthesized phasor calculation function, and extract the corresponding phase angle dynamic error reduction coefficient from the synthesized phasor calculation function; the error reduction coefficient calculation unit is used to calculate the phase angle dynamic error reduction coefficient by offsetting the phase angle; the measurement unit is used to substitute the calculated phase angle dynamic error reduction coefficient into the synthesized phasor calculation function to obtain the corresponding synthesized phasor calculation result, and obtain the corresponding phase angle measurement result through the synthesized phasor calculation result.
[0154] In specific implementation, the phase angle measurement system based on the construction of virtual phasors includes a BeiDou / GPS receiver, a phase-locked oscillator, a signal converter, a low-pass filter, a digital-to-analog converter, and a phasor calculation microprocessor, which is used to execute the phase angle measurement method provided by the present invention.
[0155] The present invention also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be executed by the processor, and when the computer program is executed by the processor, it performs the phase angle measurement method based on constructing virtual phasors provided by any one of the present invention.
[0156] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the phase angle measurement method based on constructing virtual phasors provided by any of the present invention.
Claims
1. A phase angle measurement method based on constructing virtual phasors, characterized in that, include: Obtain the actual phasor of the currently sampled data of the signal; The phase angles of the actual phasors are shifted to the left by π / 3 and 2π / 3, and the phase angles of the actual phasors are shifted to the right by π / 3 and 2π / 3. Combined with the power frequency and frequency offset of the signal, the sampling data window of the shifted virtual phasors is calculated to obtain the corresponding virtual phasors. The actual phasor and the virtual phasor are combined to obtain the composite phasor calculation function. The corresponding phase angle dynamic error reduction coefficient is extracted from the composite phasor calculation function. The actual phasor and four virtual phasors are combined to obtain the following composite phasor calculation function: , in, The result represents the composite phasor calculation. A and B represent the first and second leakage amounts in the fundamental signal due to frequency shift, respectively. X and φ represent the amplitude and initial phase angle of the signal's second harmonics. and Let represent the first and second composite coefficients respectively, α and β represent different offset phase angles, which are π / 3 and 2π / 3 respectively, λ=△f / f0, f0 represents the power frequency, △f represents the frequency offset, j represents the imaginary unit, and e represents the natural logarithm; The phase angle dynamic error reduction coefficient is calculated by shifting the phase angle, and the phase angle dynamic error reduction coefficient is (πλ). 2 / 27; Substitute the calculated phase angle dynamic error reduction coefficient into the synthetic phasor calculation function to obtain the corresponding synthetic phasor calculation result. Then, obtain the corresponding phase angle measurement result from the synthetic phasor calculation result. The phase angle measurement result is as follows: 。 2. The phase angle measurement method based on constructing virtual phasors according to claim 1, characterized in that, The process involves combining the signal's power frequency and frequency offset to calculate the sampling data window of the shifted virtual phasor, thereby obtaining the corresponding virtual phasor, including: The phase difference between the sampling data window of the current sampling data and the sampling data window of the virtual phasor is: α(1+Δf / f0) and β(1+Δf / f0).
3. The phase angle measurement method based on constructing virtual phasors according to claim 2, characterized in that, The extraction of the corresponding phase angle dynamic error reduction coefficient from the synthetic phasor calculation function includes: Extracting BXe from the synthetic phasor calculation function -jφ The coefficient is used as the phase angle dynamic error reduction coefficient.
4. A phase angle measurement system based on constructing virtual phasors, characterized in that, For implementing the phase angle measurement method based on constructing virtual phasors as described in any one of claims 1 to 3, the phase angle measurement system comprises: a sampling unit, a virtual phasor construction unit, a synthesis unit, an error reduction coefficient calculation unit, and a measurement unit, wherein: The sampling unit is used to acquire the actual phasor of the current sampled data of the signal; The virtual phasor construction unit is used to shift the phase angle of the actual phasor to the left by π / 3 and 2π / 3, shift the phase angle of the actual phasor to the right by π / 3 and 2π / 3, and calculate the sampling data window of the shifted virtual phasor by combining the power frequency and frequency offset of the signal, and obtain the corresponding virtual phasor. The synthesis unit is used to synthesize the actual phasor and the virtual phasor to obtain the synthesized phasor calculation function, and to extract the corresponding phase angle dynamic error reduction coefficient from the synthesized phasor calculation function. The error reduction coefficient calculation unit is used to calculate the phase angle dynamic error reduction coefficient by offsetting the phase angle; The measurement unit is used to substitute the calculated phase angle dynamic error reduction coefficient into the synthetic phasor calculation function to obtain the corresponding synthetic phasor calculation result, and obtain the corresponding phase angle measurement result through the synthetic phasor calculation result.
5. An electronic device, characterized in that, The device includes a memory and a processor, wherein the memory stores a computer program that can be executed by the processor, and when the computer program is executed by the processor, it performs the phase angle measurement method based on constructing virtual phasors as described in any one of claims 1 to 3.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the phase angle measurement method based on constructing virtual phasors as described in any one of claims 1 to 3.
