Power frequency phase extraction method and system of new energy power generation system

By adopting the improved NSGA-II optimization algorithm and full-wave Fourier filtering technology in the new energy power generation system, the problem of power frequency phasor protection performance degradation is solved, high-accuracy power frequency phase extraction is achieved, and the new energy generation system is enhanced. Access system protection performance.

CN118604448APending Publication Date: 2024-09-06STATE GRID HUNAN ELECTRIC POWER COMPANY LIMITED +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410648124.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The performance of power frequency phasor protection in new energy power generation systems has deteriorated, and it is difficult for existing technology to effectively overcome the problem of power frequency phasor protection failure.

Method used

A power frequency phase extraction method is used to obtain the voltage and current data of the AC line of the power grid, which is divided into three time windows for signal processing. The improved NSGA-II optimization algorithm is used to eliminate non-periodic components and calculate process parameters and compensation coefficients. , improve the accuracy of power frequency phase extraction.

Benefits of technology

It improves the accuracy and reliability of power frequency phase extraction, reduces the amount of calculation, simplifies the algorithm, achieves high-precision compensation of non-periodic components in the signal, and enhances the protection performance of the new energy access system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118604448A
    Figure CN118604448A
Patent Text Reader

Abstract

The invention discloses a power frequency phase extraction method and system for a new energy power generation system, and the method comprises the steps: 1, obtaining the voltage and current data of a single end of an AC line of a power grid, and carrying out the judgment of a fault starting criterion according to the voltage and current; step 2, taking the data in the step 1 as a reference, intercepting data of a cycle wave with 0, delta T and 2 delta T as signals of a data window I, a data window II and a data window III; 3, filtering the signals of the data window I, the data window II and the data window III, deriving a process parameter expression for describing data characteristics based on the filtered signals, and calculating a relation between process parameters and compensation coefficients; and step 4, carrying out optimization solution on the compensation coefficient by using an improved NSGA-II optimization algorithm so as to eliminate the influence of the non-periodic component. The method has the advantages of simplicity and convenience in operation, high solving speed, high accuracy and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention mainly relates to the technical field of renewable energy power generation systems, and in particular to a method and system for extracting power frequency phase of renewable energy power generation systems. Background Art

[0002] Since the transient fault characteristics of renewable energy power generation systems are quite different from those of traditional synchronous power supplies, the performance of power frequency phasor distance protection in renewable energy access systems is seriously degraded. In order to improve the performance of distance protection in renewable energy access systems, some scholars have proposed distance protection schemes based on differential equation solving algorithms. However, the fault current characteristics of renewable energy power sources are complex and have high harmonic content, making it difficult to extract characteristic quantities.

[0003] Some scholars have achieved a series of results in the study of the impact mechanism of large-scale renewable energy access on traditional directional elements. Li Qinhao et al. analyzed the action characteristics of the phase-comparison directional element based on voltage polarization in the doubly-fed wind power access system, and pointed out that the traditional voltage polarization directional element may malfunction or refuse to operate in the doubly-fed wind power access system; Huang Tao et al. analyzed the action characteristics of the power frequency variable directional element in the doubly-fed wind power access system, and pointed out that the instability of the equivalent positive-sequence impedance and negative-sequence impedance of the doubly-fed wind power system may cause the power frequency variable directional element to malfunction or refuse to operate. Li Yanbin et al. pointed out that the change of the equivalent positive-sequence impedance and negative-sequence impedance of the inverter-type power supply will reduce the sensitivity of the power frequency variable directional element and the negative-sequence directional element, and the performance of the zero-sequence directional element in the inverter-type power supply access system is basically unaffected.

[0004] At present, although many useful conclusions have been obtained in the adaptability analysis of traditional power frequency quantity protection in the new energy access system, there is still a lack of sufficient and in-depth research on how to overcome the failure of power frequency quantity protection. Therefore, it is urgent to carry out research on new principles of power frequency quantity protection for AC lines with new energy access, and further improve the protection scheme of new energy access system. Summary of the invention

[0005] The technical problem to be solved by the present invention is: in view of the technical problems existing in the prior art, the present invention provides a method and system for extracting the power frequency phase of a new energy power generation system with high accuracy.

[0006] In order to solve the above technical problems, the technical solution proposed by the present invention is:

[0007] A method for extracting power frequency phase of a new energy power generation system, comprising the steps of:

[0008] Step 1: Obtain voltage and current data of a single end of the AC line of the power grid, and determine the fault initiation criterion based on the voltage and current;

[0009] Step 2, taking the data in step 1 as the reference, taking the time when the start criterion is established, and intercepting one cycle of data at 0, ΔT and 2ΔT as the signals of data window I, data window II and data window III;

[0010] Step 3, filtering the signals of data window I, data window II and data window III, deriving a process parameter expression describing the data characteristics based on the filtered signals, and calculating the relationship between the process parameter and the compensation coefficient;

[0011] Step 4: Use the improved NSGA-II optimization algorithm to optimize the compensation coefficient to eliminate the influence of the non-periodic component.

[0012] Preferably, in step 1, the fault start criterion is as follows:

[0013]

[0014] Where, I is the measured current value; I set1 Take 0.1I N ;I N is the rated current of the line, U set1 Take 10U N ; U set2 Take 100U N , U N is the rated voltage of the line.

[0015] Preferably, the specific process of step 2 is:

[0016] Assume the input signal is:

[0017]

[0018] Where A is the amplitude of the decaying non-periodic component, e -qt is the attenuation coefficient, M is the highest harmonic order, I m (n) are the amplitude and initial phase of the nth harmonic respectively; according to the full-wave Fourier algorithm, the real modulus value I of the nth harmonic component re (n) and the imaginary part modulus I im The time domain expressions of (n) are:

[0019]

[0020] Where: T, ω are the period and angular frequency of the fundamental frequency component (ω=2πT);

[0021] Substituting formula (1) into formula (2), we get:

[0022]

[0023] make

[0024] Take the data window I, t∈[0,T], and according to formula (4), we get:

[0025]

[0026] Delay ΔT, take data window II, t∈[ΔT,T+ΔT], and get:

[0027]

[0028] Where ΔT = p·T S (p=1,2,3…), T S is the sampling period;

[0029] make Then we have:

[0030]

[0031] Delay 2ΔT, take data window III, t∈[2ΔT,T+2ΔT], and get:

[0032]

[0033] Preferably, the specific process of step 3 is:

[0034] Let the process parameters P, B, C, and D be as shown in formula (9), and the process parameters are solved according to the filtered signal;

[0035]

[0036] Substituting equations (5), (7) and (8) into the process parameter calculation formula (9), we get the process parameter expression:

[0037]

[0038] Preferably, in step 3, Fourier filtering is performed on the data in each window to obtain a filtered signal.

[0039] Preferably, in step 4, the objective function is constructed with the minimum power frequency amplitude variance

[0040] Among them, h is the number of power frequency amplitude values ​​calculated, I m(n) (k) is the power frequency amplitude corresponding to time k, is the average value of h power frequency amplitudes;

[0041] The arithmetic crossover operator is used to replace the simulated binary crossover operator, and then the compensation coefficient ΔK is realized by using the improved NSGA-II optimization algorithm. C , ΔKS Please solve.

[0042] Preferably, in step 4, according to the required compensation parameters, the real part and imaginary part of the improved fundamental wave component are respectively:

[0043]

[0044] The improved power frequency phasor extraction formula is:

[0045]

[0046] Where α is the phase angle of the power frequency electrical quantity to be extracted, and arctan represents the tangent inverse transformation calculation.

[0047] Preferably, in step 4, the arithmetic crossover operator of the improved NSGA-II optimization algorithm is:

[0048]

[0049] are the i-th individual and the j-th individual in the t+1th generation respectively; are the i-th individual and the j-th individual in the t-th generation respectively; a is a random number between [0,1].

[0050] The present invention also discloses a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described above are executed.

[0051] The present invention further discloses an industrial frequency phase extraction system for a new energy power generation system, comprising a memory and a processor connected to each other, wherein a computer program is stored on the memory, and when the computer program is run by the processor, the steps of the method described above are executed.

[0052] Compared with the prior art, the advantages of the present invention are:

[0053] The power frequency phase extraction method of the present invention divides the power grid AC line related data into appropriate time windows, and reduces the influence of non-periodic components through signal filtering, and helps to understand the relationship between process parameters and compensation coefficients through parameter derivation and relationship calculation. Finally, the optimization solution uses the NSGA-II algorithm to optimize the compensation coefficient to improve the accuracy of power frequency phase extraction.

[0054] The power frequency phase extraction method of the improved Fourier filter based on fast NSGA-II compensation parameter optimization of the present invention is different from the traditional Fourier filtering algorithm. It eliminates the influence of the attenuated non-periodic component from the non-recursive Fourier algorithm of different data windows to realize the calculation of the compensation coefficient of the non-periodic component in the signal; the improved full-wave Fourier algorithm is completely unaffected by the attenuated DC component, and the extracted power frequency component has higher accuracy.

[0055] The power frequency phase extraction method of the improved Fourier filter based on fast NSGA-II compensation parameter optimization of the present invention can accurately eliminate the influence of the attenuated non-periodic component according to the non-recursive Fourier algorithm of different data windows; only three data windows need to be designed, the algorithm is simple, the amount of calculation is reduced, and the feasibility is high; the improved NSGA-II optimization algorithm is used to optimize and solve the compensation coefficient, thereby improving the solution speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 This is a topological diagram of the high-proportion new energy power system in the present invention.

[0057] Figure 2 The figure is a flow chart of an embodiment of the power frequency phase extraction method of the present invention.

[0058] Figure 3 It is a schematic diagram of transient voltage and current felt by the measuring device when a midpoint fault occurs in zone 1 of the line of the present invention.

[0059] Figure 4 This is a comparison simulation result diagram of different algorithms in the present invention. DETAILED DESCRIPTION

[0060] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments.

[0061] like Figure 2 As shown, the power frequency phase extraction method of the improved Fourier filter based on fast NSGA-II compensation parameter optimization provided by the embodiment of the present invention is specifically implemented by the following steps:

[0062] Step 1: Obtain voltage and current data of a single end of an AC line of a power grid containing a high proportion of new energy, and determine a fault initiation criterion based on the voltage and current;

[0063] Step 2, taking the data in step 1 as the reference, taking the time when the start criterion is established, and intercepting one cycle of data at 0, ΔT and 2ΔT as the signals of data window I, data window II and data window III;

[0064] Step 3: Perform Fourier filtering on the signals of data windows I, II, and III to reduce the influence of non-periodic components and obtain filtered signals; this step helps to extract the characteristics of the power frequency signal and eliminate noise and other interference;

[0065] Based on the filtered signal, the process parameter expression describing the data characteristics is derived; then, the relationship between the process parameter and the compensation coefficient is calculated; this step helps to understand the relationship between the process parameter and the compensation coefficient for subsequent optimization solutions;

[0066] Step 4: Use the improved NSGA-II optimization algorithm to optimize and solve the compensation coefficient; this step is to eliminate the influence of non-periodic components and improve the accuracy and reliability of power frequency phase extraction.

[0067] The power frequency phase extraction method of the present invention divides the power grid AC line related data into appropriate time windows, and reduces the influence of non-periodic components through signal filtering, and helps to understand the relationship between process parameters and compensation coefficients through parameter derivation and relationship calculation. Finally, the optimization solution uses the NSGA-II algorithm to optimize the compensation coefficient to improve the accuracy of power frequency phase extraction.

[0068] In a specific embodiment, the specific process of step 1 is:

[0069] Determine the forward fault based on the voltage change rate and current polarity, and calibrate the fault moment;

[0070] The voltage change rate is expressed by the differential method, that is, dU = ΔU / Δt;

[0071] Where dU is the voltage change rate, ΔU = U(k)-U(k-1), where k represents the time;

[0072] When the voltage change rate dU is greater than the threshold value at three consecutive sampling points, it is judged that a fault has occurred. At the same time, the fault direction must be determined based on the detected current polarity to eliminate the back-side fault;

[0073] If a forward fault occurs, the first point is taken as the moment of fault occurrence; for the special case of a proximal fault, the voltage sensed by the protection drops to zero quickly, and there are no three consecutive sampling points where the voltage change rate is greater than the threshold value, then a supplementary criterion needs to be added, that is, when the voltage change rate dU is greater than 100 times the line rated voltage U N When the fault occurs, it is also judged that a fault occurs.

[0074] In summary, the fault start criteria are as follows:

[0075] or

[0076] Where, I is the measured current value; I set1 Take 0.1I N , I N is the rated current of the line, U set1 Take 10U N ; U set2 Take 100U N ;

[0077] When the above formula is established, all the start criteria are activated.

[0078] In a specific embodiment, the specific process of step 2 includes:

[0079] Assume the input signal is:

[0080]

[0081] Where A is the amplitude of the decaying non-periodic component, e -qt is the attenuation coefficient, M is the highest harmonic order, I m (n) are the amplitude and initial phase of the nth harmonic respectively. According to the full-wave Fourier algorithm, the real modulus value of the nth harmonic component I re (n) and the imaginary part modulus I im The time domain expressions of (n) are:

[0082]

[0083] Where: T, ω are the period and angular frequency of the fundamental frequency component respectively (ω=2πT).

[0084] The full-wave Fourier algorithm represented by AC sampling values ​​is:

[0085]

[0086] N is the number of sampling times in one cycle.

[0087] Substituting formula (1) into formula (2), we get:

[0088]

[0089] make

[0090] It can be seen from the above formula that when the input signal contains a decaying non-periodic component, A≠0, resulting in ΔK C ≠0,ΔK S ≠0, which will bring great errors to the extraction of power frequency components. In the most serious case, the calculation error caused by the decaying non-periodic component to the Fourier algorithm may exceed 10%, so it must be improved.

[0091] Take the data window I, t∈[0,T], and according to formula (4), we get:

[0092]

[0093] Delay ΔT, take data window II, t∈[ΔT,T+ΔT], and get:

[0094]

[0095] Where ΔT = p·T S (p=1,2,3…), T S is the sampling period;

[0096] In order to improve the response speed of the algorithm, ΔT = T S ;

[0097]

[0098] Then we have:

[0099]

[0100] Delay 2ΔT, take data window III, t∈[2ΔT,T+2ΔT], and get:

[0101]

[0102] In a specific embodiment, the specific process of step 3 includes:

[0103] Let the process parameters P, B, C, and D be as shown in formula (9). The process parameters can be solved according to the filtered values ​​of data windows I, II, and III;

[0104]

[0105] Substituting equations (5), (7) and (8) into the process parameter calculation formula (9), we get the process parameter expression:

[0106]

[0107] In a specific embodiment, step 4 specifically includes:

[0108] The objective function is constructed by minimizing the variance of the power frequency amplitude

[0109] Among them, h is the number of power frequency amplitude values ​​calculated, I m(n) (k) is the power frequency amplitude corresponding to time k, is the average value of h power frequency amplitudes;

[0110] The arithmetic crossover operator is used to replace the simulated binary crossover operator to improve the optimization solution speed, and then the improved NSGA-II optimization algorithm is used to achieve ΔK C , ΔK S Please solve.

[0111] Among them, 1) the arithmetic crossover operator of the improved NSGA-II optimization algorithm is

[0112] are the i-th individual and the j-th individual in the t+1th generation respectively; are the i-th individual and the j-th individual in the t-th generation respectively; a is a random number between [0,1];

[0113] 2) The optimal initial value is given as follows:

[0114]

[0115] According to the required compensation parameters, the real and imaginary parts of the improved fundamental wave components are:

[0116]

[0117] The improved power frequency phasor extraction formula is:

[0118]

[0119] Where α is the phase angle of the power frequency electrical quantity to be extracted, and arctan represents the tangent inverse transformation calculation.

[0120] The power frequency phase extraction method of the improved Fourier filter based on fast NSGA-II compensation parameter optimization of the present invention is different from the traditional Fourier filtering algorithm. It eliminates the influence of the attenuated non-periodic component from the non-recursive Fourier algorithm of different data windows to realize the calculation of the compensation coefficient of the non-periodic component in the signal; the improved full-wave Fourier algorithm is completely unaffected by the attenuated DC component, and the extracted power frequency component has higher accuracy.

[0121] The power frequency phase extraction method of the improved Fourier filter based on fast NSGA-II compensation parameter optimization of the present invention can accurately eliminate the influence of the attenuated non-periodic component according to the non-recursive Fourier algorithm of different data windows; only three data windows need to be designed, the algorithm is simple, the amount of calculation is reduced, and the feasibility is high; the improved NSGA-II optimization algorithm is used to optimize and solve the compensation coefficient, thereby improving the solution speed.

[0122] In specific applications, build the following in PSCAD / EMTDC Figure 1 In the high-proportion renewable energy power system model shown in FIG, the sampling frequency of the measuring device is set to 10 kHz, and the sampling period TS =0.1ms, ΔT=T S .

[0123] The wind power generation system uses a double-fed variable-speed wind turbine generator set (18kW), which is rectified to obtain DC and then inverted to AC. After obtaining stable AC, it is connected to the distribution network; the photovoltaic power generation system (30kW) obtains AC through a DC / AC power module and is then connected to the distribution network. L1 and L2 are filter inductors, and their values ​​are both 3e -3 H; C1 and C2 are filter capacitors, both of which have a value of 250e -6 uF, Load1 (10kVA) and Load2 (8kVA) are power loads, r = 0.125Ω / km, x = 0.072Ω / km are line resistance and reactance respectively. The total length of each power line is 5km.

[0124] A phase A metallic ground fault is set at a typical position at the midpoint of the line connected to Load 1, and the voltage and current data are captured 20ms before and after the fault.

[0125] Figure 3 (a) and Figure 3 (b) is the simulated waveform of the voltage and current of phase A before and after the fault, where the fault time is 5ms. It can be seen that the voltage of phase A before the fault presents a standard sinusoidal waveform. The voltage amplitude drops greatly after the fault, but does not drop to zero. This is because the low-through control of the wind turbine is activated, allowing the wind farm to temporarily increase the reactive output to raise the system voltage. Compared with the load current before the fault, the transient fault current amplitude after the fault increases several times, which is because the impedance of the grounding loop is very small. The above simulated voltage and current transient waveforms are consistent with the actual situation, so it is effective to verify the fault distance algorithm based on the simulation model.

[0126] In order to verify the correctness and accuracy of the proposed improved method, a transient signal is constructed as input, the algorithm is simulated and compared with the unimproved algorithm. The expression of the transient signal is:

[0127]

[0128] Among them, τ is the attenuation coefficient, ω0 represents the signal angular velocity, and here ω0=2π×50.

[0129] After filtering by different algorithms, the results are as follows Figure 4 As shown. Figure 4 It can be seen that the improved full-wave Fourier algorithm is completely unaffected by the attenuated DC component and has a higher accuracy in extracting the power frequency component.

[0130] The present invention also discloses a computer-readable storage medium, on which a computer program is stored, and the computer program executes the steps of the above method when it is run by a processor. The present invention further discloses a power frequency phase extraction system for a new energy power generation system, including a memory and a processor connected to each other, and the memory stores a computer program, and the computer program executes the steps of the above method when it is run by the processor. The medium and system of the present invention correspond to the above method and also have the advantages of the above method.

[0131] The present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by hardware related to computer program instructions. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned method embodiment when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. Computer-readable storage media include: any entity or device that can carry computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. The memory is used to store computer programs and / or modules, and the processor implements various functions by running or executing computer programs and / or modules stored in the memory, and calling data stored in the memory. The memory may include high-speed random access memory and may also include non-volatile memory, such as a hard disk, an internal memory, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0132] The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.

Claims

1. A method for extracting power frequency phase of a new energy power generation system, characterized in that: Includes steps: Step 1: Obtain voltage and current data of a single end of the AC line of the power grid, and determine the fault initiation criterion based on the voltage and current; Step 2, taking the data in step 1 as the reference, taking the time when the start criterion is established, and intercepting one cycle of data at 0, ΔT and 2ΔT as the signals of data window I, data window II and data window III; Step 3, filtering the signals of data window I, data window II and data window III, deriving a process parameter expression describing the data characteristics based on the filtered signals, and calculating the relationship between the process parameter and the compensation coefficient; Step 4: Use the improved NSGA-II optimization algorithm to optimize the compensation coefficient to eliminate the influence of the non-periodic component.

2. The method for extracting the power frequency phase of a new energy power generation system according to claim 1, characterized in that: In step 1, the fault initiation criteria are as follows: Where, I is the measured current value; I set1 Take 0.1I N ;I N is the rated current of the line, U set1 Take 10U N ; U set2 Take 100U N , U N is the rated voltage of the line.

3. The method for extracting the power frequency phase of a new energy power generation system according to claim 2, characterized in that: The specific process of step 2 is: Assume the input signal is: Where A is the amplitude of the decaying non-periodic component, e -qt is the attenuation coefficient, M is the highest harmonic order, I m (n) are the amplitude and initial phase of the nth harmonic respectively; according to the full-wave Fourier algorithm, the real modulus value I of the nth harmonic component re (n) and the imaginary part modulus I im The time domain expressions of (n) are: Where: T, ω are the period and angular frequency of the fundamental frequency component respectively (ω=2π / T); Substituting formula (1) into formula (2), we get: make Take the data window I, t∈[0,T], and according to formula (4), we get: Delay ΔT, take data window II, t∈[ΔT,T+ΔT], and get: Where ΔT = p·T S (p=1,2,3…), T S is the sampling period; make Then we have: Delay 2ΔT, take data window III, t∈[2ΔT,T+2ΔT], and get:

4. The method for extracting the power frequency phase of the new energy power generation system according to claim 3 is characterized in that: The specific process of step 3 is: Let the process parameters P, B, C, and D be as shown in formula (9), and the process parameters are solved according to the filtered signal; Substituting equations (5), (7) and (8) into the process parameter calculation formula (9), we get the process parameter expression:

5. The method for extracting the power frequency phase of a new energy power generation system according to claim 3, characterized in that: In step 3, Fourier filtering is performed on the data in each window to obtain a filtered signal.

6. The method for extracting the power frequency phase of a new energy power generation system according to claim 4, characterized in that: In step 4, the objective function is constructed with the minimum variance of the power frequency amplitude Among them, h is the number of power frequency amplitude values ​​calculated, I m(n) (k) is the power frequency amplitude corresponding to time k, is the average value of h power frequency amplitudes; The arithmetic crossover operator is used to replace the simulated binary crossover operator, and then the compensation coefficient ΔK is realized by using the improved NSGA-II optimization algorithm. C , ΔK S Please solve.

7. The method for extracting the power frequency phase of a new energy power generation system according to claim 6, characterized in that: In step 4, according to the required compensation parameters, the real part and imaginary part of the improved fundamental component are: The improved power frequency phasor extraction formula is: Where α is the phase angle of the power frequency electrical quantity to be extracted, and arctan represents the tangent inverse transformation calculation.

8. The method for extracting the power frequency phase of a new energy power generation system according to claim 6, characterized in that: In step 4, the arithmetic crossover operator of the improved NSGA-II optimization algorithm is are the i-th individual and the j-th individual in the t+1th generation respectively; are the i-th individual and the j-th individual in the t-th generation respectively; a is a random number between [0,1].

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the computer program performs the steps of the method according to any one of claims 1 to 8.

10. A power frequency phase extraction system for a new energy power generation system, comprising a memory and a processor connected to each other, wherein a computer program is stored in the memory, characterized in that: When the computer program is executed by a processor, the computer program performs the steps of the method according to any one of claims 1 to 8.