CN115825557A - Generalized harmonic analysis method, device and medium based on harmonic component zero setting - Google Patents

Generalized harmonic analysis method, device and medium based on harmonic component zero setting Download PDF

Info

Publication number
CN115825557A
CN115825557A CN202211497342.XA CN202211497342A CN115825557A CN 115825557 A CN115825557 A CN 115825557A CN 202211497342 A CN202211497342 A CN 202211497342A CN 115825557 A CN115825557 A CN 115825557A
Authority
CN
China
Prior art keywords
harmonic
signal
spectral
module
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211497342.XA
Other languages
Chinese (zh)
Inventor
唐健
马元江
洪亮
白欢
何军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yingxiuwan Hydroelectric Power General Plant Of State Grid Sichuan Electric Power Co
Electric Power Research Institute of State Grid Sichuan Electric Power Co Ltd
Original Assignee
Yingxiuwan Hydroelectric Power General Plant Of State Grid Sichuan Electric Power Co
Electric Power Research Institute of State Grid Sichuan Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yingxiuwan Hydroelectric Power General Plant Of State Grid Sichuan Electric Power Co, Electric Power Research Institute of State Grid Sichuan Electric Power Co Ltd filed Critical Yingxiuwan Hydroelectric Power General Plant Of State Grid Sichuan Electric Power Co
Priority to CN202211497342.XA priority Critical patent/CN115825557A/en
Publication of CN115825557A publication Critical patent/CN115825557A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E40/00Technologies for an efficient electrical power generation, transmission or distribution
    • Y02E40/40Arrangements for reducing harmonics

Landscapes

  • Complex Calculations (AREA)

Abstract

The invention discloses a generalized harmonic analysis method, a generalized harmonic analysis device and a generalized harmonic analysis medium based on harmonic component zeroing, wherein the generalized harmonic analysis method, the generalized harmonic analysis device and the generalized harmonic analysis medium comprise the steps of obtaining a discrete power grid signal; windowing the power grid signal, and obtaining a windowed signal; carrying out FFT (fast Fourier transform) on the windowed signal, and analyzing m-order harmonic waves; determining three maximum spectral lines, determining the amplitudes of the three spectral lines, and determining a three-spectral-line correction formula; obtaining a fitting signal through the parameters subjected to the three-spectral-line interpolation; judging whether the new signal is smaller than a signal amplitude threshold value or not; carrying out error analysis; according to the invention, the harmonic parameters at the position are calculated by utilizing the maximum three spectral lines as an interpolation algorithm during each time of scanning the frequency spectrum, then, the signals of the calculation points are constructed, the signals are subtracted from the signals before the interpolation of the three spectral lines to obtain new signals, the new signals are subjected to the three spectral line calculation again, and the calculation is finished until the signal values are all smaller than the set threshold value, so that the analysis method has higher accuracy, and the high-precision measurement of the generalized harmonic is realized.

Description

Generalized harmonic analysis method, device and medium based on harmonic component zero setting
Technical Field
The invention relates to the field of harmonic analysis, in particular to a generalized harmonic analysis method, device and medium based on harmonic component zeroing.
Background
Accurate analysis of harmonic waves/inter-harmonic waves in the power grid is the primary condition for effectively governing generalized harmonic waves. The harmonic/inter-harmonic analysis method mostly adopts a windowing interpolation algorithm based on Fourier transform. In the current research on windowing interpolation algorithm, the fundamental wave is usually found in the 45-55Hz frequency band, and then each subharmonic/interharmonic is found according to the integral multiple or fractional multiple of the fundamental wave. In this way, inter-harmonic frequency points may be missed, and only frequency characteristics at the points are analyzed, not necessarily real frequency spectrums. For example, analysis at a half fundamental frequency can only yield inter-harmonic characteristics with a resolution of 25Hz at a 50Hz fundamental frequency. For another example, when the fundamental frequency is 50.1Hz, the frequency at the third harmonic found by the frequency doubling method is 150.3Hz, while in an actual power grid, the frequency at the third harmonic may not be 150.3Hz.
Disclosure of Invention
The invention aims to solve the technical problem that incomplete and inaccurate results from possible harmonic missing, and aims to provide a generalized harmonic analysis method, device and medium based on harmonic component zeroing, which can accurately search each harmonic and meet the integrity of power grid harmonic analysis.
The invention is realized by the following technical scheme:
a generalized harmonic analysis method based on harmonic component zeroing comprises the following steps:
s1, obtaining a discrete power grid signal x (n),
Figure BDA0003964790830000011
where m is the harmonic order, H is the highest harmonic order, A m Is the amplitude of the m-th harmonic,
Figure BDA0003964790830000012
is the phase of the m-th harmonic, f 0 Is the fundamental frequency, f s Is the sampling frequency, n is the nth sampling point;
windowing w (n) processing is carried out on the power grid signal x (n), and a windowed signal x after windowing is obtained w (n),
Figure BDA0003964790830000021
Wherein N is the number of sampling points;
for the windowed signal x w (n) performing FFT conversion, analyzing m-th harmonic wave to obtain a signal X (k delta f),
Figure BDA0003964790830000022
wherein Δ f = f s where/N is the frequency resolution, W (-) is the spectral function of a given window function,
Figure BDA0003964790830000023
is the window function width, j is the imaginary part, k is the harmonic times; (ii) a
S2, setting a signal amplitude threshold value;
s3, determining three maximum spectral lines on the signal X (k delta f), determining the amplitudes of the three spectral lines, and sequentially naming the three spectral lines as y 1 ,y 2 ,y 3 And determining the variables
Figure BDA0003964790830000024
And determining a three spectral line correction formula
Figure BDA0003964790830000025
Obtaining parameters after three spectral line interpolation through a correction formula, wherein the parameters comprise frequency, amplitude and phase,
Figure BDA0003964790830000026
s4, obtaining a fitting signal through the parameters subjected to the three-spectral-line interpolation,
Figure BDA0003964790830000027
calculating to obtain a new signal x' m (n),x' m (n)=x(n)-x m (n);
S5, judging a new signal x' m (n) is smaller than the signal amplitude threshold value, if not, x (n) = x' m (n), and repeating steps S1-S4; if yes, x 'is output' m (n);
S6, new signal x' m (n) error analysis was performed.
Optionally, the power grid harmonic signal is sampled by a front-end transformer and a sampling circuit to obtain a discrete power grid signal, where the power grid harmonic signal is
Figure BDA0003964790830000028
And t is time, and the power grid harmonic signals comprise voltage signals and current signals.
Optionally, a specific method for obtaining the signal X (k Δ f) is:
for the windowed signal x w (n) performing an FFT transform to obtain a windowed FFT spectrum:
Figure BDA0003964790830000031
ignoring the spectrum peak of the negative frequency point, and analyzing the m-th harmonic wave to obtain
Figure BDA0003964790830000032
Optionally, the signal amplitude threshold is a harmonic amplitude that can be resolved by the minimum system energy set according to the system requirements.
Optionally, a specific method of the three-spectral-line interpolation includes:
setting k m Is the spectral line at the target frequency point, k 1 Is the spectral line with the maximum amplitude near the target frequency point, k 2 And k 3 Are each k 1 The left and right spectral lines have k in the three spectral line interpolation algorithm 1 ≠k m ,k 1 =k 2 +1=k 3 -1;
Obtaining the amplitude, y, of the spectral line 1 =|x(k 1 Δf)|,y 2 =|x(k 2 Δf)|,y 3 =|x( k 3Δf)|;
Set variable α = k m -k 2 If-0.5. Ltoreq. Alpha. Is not less than 0.5, there is a variable
Figure BDA0003964790830000033
Determining a frequency correction formula: f. of m =k m Δf=(k 1 +α)Δf;
Determining an amplitude correction formula:
Figure BDA0003964790830000034
determining a phase correction formula:
Figure BDA0003964790830000035
optionally, performing the error analysis further comprises: and acquiring the precision of the conventional window function interpolation algorithm and comparing the precision with the error obtained in the step S6.
A generalized harmonic analysis apparatus based on harmonic component zeroing, comprising:
an acquisition module for acquiring a discrete grid signal x (n),
Figure BDA0003964790830000041
where m is the harmonic order, H is the highest harmonic order, A m Is the amplitude of the m-th harmonic,
Figure BDA0003964790830000042
is the phase of the m-th harmonic, f 0 Is the fundamental frequency, f s Is the sampling frequency, n is the nth sampling point;
a windowing processing module for performing windowing w (n) processing on the power grid signal x (n) and obtaining a windowed signal x w (n),
Figure BDA0003964790830000043
Wherein N is the number of sampling points;
FFT analysis module for windowing a windowed signal x w (n) performing FFT conversion, analyzing m-th harmonic wave to obtain a signal X (k delta f),
Figure BDA0003964790830000044
wherein Δ f = f s N is the frequency resolution, W (-) is the spectral function of a given window function,
Figure BDA0003964790830000045
is the window function width, j is the imaginary part, k is the harmonic times;
an input module for setting a signal amplitude threshold;
a three-spectral-line correction module for determining the three largest spectral lines on the signal X (k Δ f) and determining the amplitudes of the three spectral lines, in turn named y 1 ,y 2 ,y 3 And determining the variables
Figure BDA0003964790830000046
And determining a three spectral line correction formula
Figure BDA0003964790830000047
A calculation module for obtaining parameters after the three spectral line interpolation by a correction formula, including frequency, amplitude and phase,
Figure BDA0003964790830000048
a fitting calculation module for obtaining a fitting signal through the parameters after the three-spectral-line interpolation,
Figure BDA0003964790830000049
and calculating to obtain a new signal x' m (n),x' m (n)=x(n)-x m (n);
A judging module for judging the new signal x' m (n) is smaller than the signal amplitude threshold value, if not, x (n) = x' m (n), and iterating until the iteration is input into a three-spectral-line correction module, a calculation module and a fitting calculation module; if isIf yes, then x 'is output' m (n);
An error analysis module for comparing the new signal x' m (n) error analysis was performed.
Optionally, the FFT analysis module includes:
FFT module for windowing a windowed signal x w (n) performing an FFT transform to obtain a windowed FFT spectrum:
Figure BDA0003964790830000051
an analysis module for neglecting the negative frequency point spectrum peak and obtaining the m-th harmonic wave by analysis
Figure BDA0003964790830000052
Optionally, the three spectral line modification module includes:
a first setting module for setting k m Is the spectral line at the target frequency point, k 1 Is the spectral line with the maximum amplitude near the target frequency point, k 2 And k 3 Are each k 1 The left and right spectral lines have k in the three spectral line interpolation algorithm 1 ≠k m ,k 1 =k 2 +1=k 3 -1;
A spectral line amplitude calculation module for obtaining the amplitude, y, of the spectral line 1 =|x(k 1 Δf)|,y 2 =|x(k 2 Δf)|,y 3 =|x(k 3 Δf)|;
A second setting module for setting the variable α = k m -k 2 Then-0.5. Ltoreq. Alpha. Ltoreq.0.5 with the variables
Figure BDA0003964790830000053
A first correction module to determine a frequency correction formula: f. of m =k m Δf=(k 1 +α)Δf;
A second correction module for determining an amplitude correction formula:
Figure BDA0003964790830000061
a third correction module for determining a phase correction equation:
Figure BDA0003964790830000062
a computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of a method for generalized harmonic analysis based on harmonic component nulling as described above.
Compared with the prior art, the invention has the following advantages and beneficial effects:
according to the invention, the harmonic parameters at the position are calculated by utilizing the maximum three spectral lines as an interpolation algorithm during scanning the frequency spectrum each time, then, the signals of the calculation points are constructed, the signals are subtracted from the signals before the interpolation of the three spectral lines to obtain new signals, the new signals are repeatedly calculated by the three spectral lines again, and the calculation is finished until the signal values are all smaller than the set threshold value, so that the analysis method has higher accuracy, the high-precision measurement of the generalized harmonic is realized, and the method has higher practical value.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate exemplary embodiments of the invention and together with the description serve to explain the principles of the invention.
Fig. 1 is a schematic flow chart of a generalized harmonic analysis method based on harmonic component nulling according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail with reference to the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are for purposes of illustration only and are not to be construed as limitations of the invention.
It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
In the present invention, the embodiments and features of the embodiments may be combined with each other without conflict. The present invention will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Example one
A generalized harmonic analysis method based on harmonic component zeroing comprises the following steps:
in the first step, the harmonic signal of the power grid is assumed to be
Figure BDA0003964790830000071
Wherein m is not necessarily an integer but may be a decimal. Wherein t is time, and the power grid harmonic signals comprise voltage signals and current signals.
Sampling by a front-end mutual inductor and a sampling circuit to obtain a discrete power grid signal x (n),
Figure BDA0003964790830000072
where m is the harmonic order, H is the highest harmonic order, A m Is the amplitude of the m-th harmonic,
Figure BDA0003964790830000073
is the phase of the m-th harmonic, f 0 Is the fundamental frequency, f s N is the nth sample point for the sampling frequency.
And provides a specific signal model with signal parameters as shown in table 1 below.
TABLE 1 Signal parameters
Figure BDA0003964790830000074
Figure BDA0003964790830000081
Secondly, performing tuning windowing w (n) processing on the power grid signal x (n) and obtaining windowed additionWindow signal x w (n),
Figure BDA0003964790830000082
Wherein N is the number of sampling points; w (n) is a windowing function.
Third, the windowed signal x is filtered w (n) performing an FFT transform to obtain a windowed FFT spectrum:
Figure BDA0003964790830000083
ignoring the spectrum peak of the negative frequency point, analyzing the m-th harmonic to obtain X (k delta f),
Figure BDA0003964790830000084
wherein Δ f = f s where/N is the frequency resolution, W (-) is the spectral function of a given window function,
Figure BDA0003964790830000085
is the window function width, j is the imaginary part, k is the harmonic number;
fourthly, setting a signal amplitude threshold value; the signal amplitude threshold is the harmonic amplitude which can be resolved by the minimum energy of the system and is set according to the requirements of the system. The simulation sets the amplitude threshold to 0.001.
A fifth step of determining the three maximum spectral lines on the signal X (k Δ f) by setting k m Is the spectral line at the target frequency point, k 1 Is the spectral line with the maximum amplitude near the target frequency point, k 2 And k 3 Are each k 1 The left and right spectral lines have k in the three spectral line interpolation algorithm 1 ≠k m ,k 1 =k 2 +1=k 3 -1;
Sixthly, determining the amplitudes of the three spectral lines, and sequentially naming the three spectral lines as y 1 ,y 2 ,y 3 ,y 1 =|x(k 1 Δf)|,y 2 =|x(k 2 Δf)|,y 3 =|x(k 3 Δf)|。
Step seven, setting variable alpha = k m -k 2 Alpha is more than or equal to-0.5 and less than or equal to 0.5, and a variable beta is present,
Figure BDA0003964790830000091
when N is larger, the formula f m =k m Δf=(k 1 + α) Δ f is denoted β = g (α), the inverse of which is α = g -1 (beta). Thus determining the correction formula of the frequency as f m =k m Δf=(k 1 +α)Δf。
Eighthly, determining an amplitude correction formula:
Figure BDA0003964790830000092
when N is larger, the formula amplitude correction formula can be expressed as A m =N -1 (y 2 +2y 1 +y 3 )h(α);
Wherein h (α) is a polynomial approximation and has:
Figure BDA0003964790830000093
determining a phase correction formula:
Figure BDA0003964790830000094
ninth, finally obtaining parameters after three spectral line interpolation through a correction formula, wherein the parameters comprise frequency, amplitude and phase,
Figure BDA0003964790830000095
step ten, obtaining fitting signals through the parameters after the three spectral line interpolation,
Figure BDA0003964790830000096
obtaining a new signal x 'by fitting a signal calculation' m (n),x' m (n)=x(n)-x m (n);
The tenth step is to judge a new signal x' m (n) is less than a signal amplitude threshold.
If not, let x (n) = x' m (n), to x' m And (n) performing iteration in a mode of repeating the second step and the tenth step.
If yes, outputting x' m (n);
S6, new signal x' m (n) error analysis was performed. And acquiring the precision of the conventional window function interpolation algorithm and comparing the precision with the error obtained in the step S6.
The results of comparing the error analysis of the simulation are shown in tables 2 to 4, wherein D is fi Representing the relative error of the frequency measurement; d Ai Representing the relative error of the amplitude measurement;
Figure BDA0003964790830000101
indicating the relative error of the initial phase measurement.
TABLE 2 frequency relative error between conventional and harmonic component nulling
Figure BDA0003964790830000102
TABLE 3 amplitude relative error for conventional and harmonic component nulling methods
Figure BDA0003964790830000103
Figure BDA0003964790830000111
TABLE 4 phase relative error between conventional and harmonic component nulling
Figure BDA0003964790830000112
Figure BDA0003964790830000121
Therefore, when inter-harmonics occur, the result is wrong because the common interpolation algorithm can only analyze an integer number of harmonics, and the windowed interpolation based on the harmonic component zeroing can also keep high-precision analysis. The amplitude precision of the windowing interpolation based on harmonic component zero setting is improved by 2-3 orders of magnitude in the analysis of even harmonic and weak signals, and is improved by 3-4 orders of magnitude in the phase analysis. As can be seen from the simulation results in tables 2-4, the calculation results are generally better than the conventional window function spectral line interpolation algorithm.
Example two
The generalized harmonic analysis device based on harmonic component zeroing comprises an acquisition module, a windowing processing module, an FFT analysis module, an input module, a three-spectral-line correction module, a calculation module, a fitting calculation module, a judgment module and an error analysis module.
It should be noted that the modules in this embodiment may be a plurality of independent processing chips, or may be a plurality of processing modules in the same processing chip, and the following functions are implemented by the preloaded programs.
The acquisition module is used for acquiring a discrete grid signal x (n),
Figure BDA0003964790830000122
where m is the harmonic order, H is the highest harmonic order, A m Is the amplitude of the m-th harmonic,
Figure BDA0003964790830000123
is the phase of the m-th harmonic, f 0 Is the fundamental frequency, f s Is the sampling frequency, n is the nth sampling point;
the windowing processing module is used for carrying out windowing w (n) processing on the power grid signal x (n) and obtaining a windowed signal x w (n),
Figure BDA0003964790830000124
Wherein N is the number of sampling points;
FFT analysis module for windowing signal x w (n) performing FFT transformation, analyzing the m-th harmonic,a signal X (k deltaf) is obtained,
Figure BDA0003964790830000131
wherein Δ f = f s N is the frequency resolution, W (-) is the spectral function of a given window function,
Figure BDA0003964790830000132
is the window function width, j is the imaginary part, k is the harmonic number;
the input module is used for setting a signal amplitude threshold value;
the three-spectral-line correction module is used for determining three maximum spectral lines on the signal X (k delta f) and determining the amplitudes of the three spectral lines, which are named as y in sequence 1 ,y 2 ,y 3 And determining the variables
Figure BDA0003964790830000133
And determining a three spectral line correction formula
Figure BDA0003964790830000134
The calculation module is used for obtaining parameters after the three spectral line interpolation through a correction formula, wherein the parameters comprise frequency, amplitude and phase,
Figure BDA0003964790830000135
the fitting calculation module is used for obtaining fitting signals through the parameters after the three-spectral-line interpolation,
Figure BDA0003964790830000136
and calculating to obtain a new signal x' m (n),x' m (n)=x(n)-x m (n);
The judging module is used for judging a new signal x' m (n) is smaller than the signal amplitude threshold value, if not, x (n) = x' m (n), and iterating until the iteration is input into a three-spectral-line correction module, a calculation module and a fitting calculation module; if yes, outputting x' m (n);
The error analysis module is used for comparing the new signal x' m (n) performing error analysis.
And signal transmission is realized among the modules through an inter-chip circuit or an intra-chip circuit.
The FFT analysis module comprises an FFT module and an analysis module.
FFT module for windowing signal x w (n) performing an FFT transform to obtain a windowed FFT spectrum:
Figure BDA0003964790830000137
the analysis module is used for neglecting the negative frequency point spectrum peak and analyzing and obtaining the m-th harmonic wave
Figure BDA0003964790830000141
The three spectral line correction modules comprise a first setting module, a second setting module, a first correction module, a second correction module, a third correction module and a spectral line amplitude calculation module.
The first setting module is used for setting k m Is the spectral line at the target frequency point, k 1 Is the spectral line with the maximum amplitude near the target frequency point, k 2 And k 3 Are each k 1 The left and right spectral lines have k in the three spectral line interpolation algorithm 1 ≠k m ,k 1 =k 2 +1=k 3 -1;
The spectral line amplitude calculation module is used for obtaining the amplitude of the spectral line y 1 =|x(k 1 Δf)|,y 2 =|x(k 2 Δf)|,y 3 =|x(k 3 Δf)|;
The second setting module is used for setting the variable alpha = k m -k 2 Then-0.5. Ltoreq. Alpha. Ltoreq.0.5 with the variables
Figure BDA0003964790830000142
The first correction module is configured to determine a frequency correction formula: f. of m =k m Δf=(k 1 +α)Δf;
The second correction module is configured to determine an amplitude correction formula:
Figure BDA0003964790830000143
the third correction module is configured to determine a phase correction formula:
Figure BDA0003964790830000144
EXAMPLE III
A generalized harmonic analysis terminal based on harmonic component zeroing comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the generalized harmonic analysis method based on harmonic component zeroing.
The memory may be used to store software programs and modules, and the processor may execute various functional applications of the terminal and data processing by operating the software programs and modules stored in the memory. The memory may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an execution program required for at least one function, and the like.
The storage data area may store data created according to the use of the terminal, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
A computer-readable storage medium, in which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of a generalized harmonic analysis method based on harmonic component zeroing as described above.
Without loss of generality, computer readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instruction data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media is not limited to the foregoing. The system memory and mass storage devices described above may be collectively referred to as memory.
In the description herein, reference to the description of the terms "one embodiment/mode," "some embodiments/modes," "example," "specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment/mode or example is included in at least one embodiment/mode or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to be the same embodiment/mode or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments/modes or examples. Furthermore, the various embodiments/aspects or examples and features of the various embodiments/aspects or examples described in this specification can be combined and combined by one skilled in the art without conflicting therewith.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless explicitly specified otherwise.
It will be understood by those skilled in the art that the foregoing embodiments are merely for clarity of description and are not intended to limit the scope of the invention. Other variations or modifications may occur to those skilled in the art, which are based on the above-described invention, and which are still within the scope of the invention.

Claims (10)

1. A generalized harmonic analysis method based on harmonic component zeroing is characterized by comprising the following steps:
s1, obtaining a discrete power grid signal x (n),
Figure FDA0003964790820000011
where m is the harmonic order, H is the highest harmonic order, A m Is the amplitude of the m-th harmonic,
Figure FDA0003964790820000012
is the phase of the m-th harmonic, f 0 Is the fundamental frequency, f s Is the sampling frequency, n is the nth sampling point;
windowing w (n) processing is carried out on the power grid signal x (n), and a windowed signal x after windowing is obtained w (n),
Figure FDA0003964790820000013
Wherein N is the number of sampling points;
for the windowed signal x w (n) performing FFT transformation and analyzing the m-th harmonic to obtain a signal X (k delta f),
Figure FDA0003964790820000014
wherein Δ f = f s where/N is the frequency resolution, W (-) is the spectral function of a given window function,
Figure FDA0003964790820000015
is the window function width, j is the imaginary part, k is the harmonic number;
s2, setting a signal amplitude threshold value;
s3, determining three maximum spectral lines on the signal X (k delta f), determining the amplitudes of the three spectral lines, and sequentially naming the three spectral lines as y 1 ,y 2 ,y 3 And determining the variables
Figure FDA0003964790820000016
And determining a three spectral line correction formula
Figure FDA0003964790820000017
Obtaining parameters after three spectral line interpolation through a correction formula, wherein the parameters comprise frequency, amplitude and phase,
Figure FDA0003964790820000018
s4, obtaining a fitting signal through the parameters subjected to the three-spectral-line interpolation,
Figure FDA0003964790820000019
calculating to obtain a new signal x' m (n),x' m (n)=x(n)-x m (n);
S5, judging a new signal x' m (n) is smaller than the signal amplitude threshold value, if not, x (n) = x' m (n), and repeating steps S1-S4; if yes, outputting x' m (n);
S6, for new signal x' m (n) error analysis was performed.
2. The generalized harmonic analysis method based on harmonic component nulling of claim 1, wherein the grid harmonic signal is sampled by a front-end transformer and a sampling circuit to obtain a discrete grid signal, the grid harmonic signal being
Figure FDA0003964790820000021
And t is time, and the power grid harmonic signals comprise voltage signals and current signals.
3. The generalized harmonic analysis method based on harmonic component nulling according to claim 1, wherein the specific method for obtaining the signal X (k Δ f) is:
for the windowed signal x w (n) performing FFT to obtain a windowed FFT spectrum:
Figure FDA0003964790820000022
ignoring the spectrum peak of the negative frequency point, and obtaining the m-th harmonic analysis
Figure FDA0003964790820000023
4. The generalized harmonic analysis method based on harmonic component nulling of claim 1, wherein the signal amplitude threshold is a system minimum-energy-resolved harmonic amplitude set according to system requirements.
5. The generalized harmonic analysis method based on harmonic component nulling according to claim 1, wherein the specific method of the three-line interpolation comprises:
setting k m Is the spectral line at the target frequency point, k 1 Is the spectral line with the maximum amplitude near the target frequency point, k 2 And k 3 Are each k 1 The left and right spectral lines have k in the three spectral line interpolation algorithm 1 ≠k m ,k 1 =k 2 +1=k 3 -1;
Obtaining the amplitude, y, of the spectral line 1 =|x(k 1 Δf)|,y 2 =|x(k 2 Δf)|,y 3 =|x(k 3 Δf)|;
Set variable α = k m -k 2 If-0.5. Ltoreq. Alpha. Is not less than 0.5, there is a variable
Figure FDA0003964790820000031
Determining a frequency correction formula: f. of m =k m Δf=(k 1 +α)Δf;
Determining an amplitude correction formula:
Figure FDA0003964790820000032
determining a phase correction formula:
Figure FDA0003964790820000033
6. the generalized harmonic analysis method based on harmonic component nulling of claim 1, wherein performing error analysis further comprises: and acquiring the precision of the conventional window function interpolation algorithm and comparing the precision with the error obtained in the step S6.
7. A generalized harmonic analysis apparatus based on harmonic component nulling, comprising:
an acquisition module for acquiring a discrete grid signal x (n),
Figure FDA0003964790820000034
where m is the harmonic order, H is the highest harmonic order, A m Is the amplitude of the m-th harmonic,
Figure FDA0003964790820000035
is the phase of the m-th harmonic, f 0 Is the fundamental frequency, f s Is the sampling frequency, n is the nth sampling point;
a windowing processing module for performing windowing w (n) processing on the power grid signal x (n) and obtaining a windowed signal x w (n),
Figure FDA0003964790820000036
Wherein N is the number of sampling points;
FFT analysis module for windowing a windowed signal x w (n) performing FFT transformation and analyzing the m-th harmonic to obtain a signal X (k delta f),
Figure FDA0003964790820000037
wherein Δ f = f s where/N is the frequency resolution, W (-) is the spectral function of a given window function,
Figure FDA0003964790820000038
is the window function width, j is the imaginary part, k is the harmonic number;
an input module for setting a signal amplitude threshold;
a three-spectral-line correction module for determining the three largest spectral lines on the signal X (k Δ f) and determining the amplitudes of the three spectral lines, in turn named y 1 ,y 2 ,y 3 And determining the variables
Figure FDA0003964790820000041
And determining a three spectral line correction formula
Figure FDA0003964790820000042
A calculation module for obtaining parameters including frequency, amplitude and phase after the three spectral line interpolation through a correction formula,
Figure FDA0003964790820000043
a fitting calculation module for obtaining a fitting signal through the parameters after the three-spectral-line interpolation,
Figure FDA0003964790820000044
and calculating to obtain a new signal x' m (n),x' m (n)=x(n)-x m (n);
A judging module for judging the new signal x' m If the (n) is smaller than the signal amplitude threshold value, if not, making x (n) = x' m (n), and iterating until the iteration is input into a three-spectral-line correction module, a calculation module and a fitting calculation module; if yes, outputting x' m (n);
An error analysis module for comparing the new signal x' m (n) performing error analysis.
8. The generalized harmonic analysis apparatus according to claim 7, wherein the FFT analysis module comprises:
FFT module for windowingSignal x w (n) performing FFT to obtain a windowed FFT spectrum:
Figure FDA0003964790820000045
an analysis module for neglecting the negative frequency point spectrum peak and obtaining the m-th harmonic wave by analysis
Figure FDA0003964790820000046
9. The generalized harmonic analysis apparatus according to claim 7, wherein the three-spectral-line modification module comprises:
a first setting module for setting k m Is the spectral line at the target frequency point, k 1 Is the spectral line with the maximum amplitude near the target frequency point, k 2 And k 3 Are each k 1 The left and right spectral lines have k in the three spectral line interpolation algorithm 1 ≠k m ,k 1 =k 2 +1=k 3 -1;
A spectral line amplitude calculation module for obtaining the amplitude, y, of the spectral line 1 =|x(k 1 Δf)|,y 2 =|x(k 2 Δf)|,y 3 =|x(k 3 Δf)|;
A second setting module for setting the variable α = k m -k 2 Then-0.5. Ltoreq. Alpha. Ltoreq.0.5 with the variables
Figure FDA0003964790820000051
A first correction module to determine a frequency correction formula: f. of m =k m Δf=(k 1 +α)Δf;
A second correction module for determining an amplitude correction formula:
Figure FDA0003964790820000052
a third correction module for determining a phase correction equation:
Figure FDA0003964790820000053
10. a computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of a method for generalized harmonic analysis based on harmonic component nulling as defined in any one of claims 1 to 6.
CN202211497342.XA 2022-11-25 2022-11-25 Generalized harmonic analysis method, device and medium based on harmonic component zero setting Pending CN115825557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211497342.XA CN115825557A (en) 2022-11-25 2022-11-25 Generalized harmonic analysis method, device and medium based on harmonic component zero setting

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211497342.XA CN115825557A (en) 2022-11-25 2022-11-25 Generalized harmonic analysis method, device and medium based on harmonic component zero setting

Publications (1)

Publication Number Publication Date
CN115825557A true CN115825557A (en) 2023-03-21

Family

ID=85531952

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211497342.XA Pending CN115825557A (en) 2022-11-25 2022-11-25 Generalized harmonic analysis method, device and medium based on harmonic component zero setting

Country Status (1)

Country Link
CN (1) CN115825557A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399204A (en) * 2013-07-31 2013-11-20 武汉大学 Rife-Vincent (II) window interpolation FFT (Fast Fourier Transform)-based harmonic and inter-harmonic detection method
CN103441762A (en) * 2013-09-09 2013-12-11 江南大学 ADC dynamic parameter testing method based on Blackman window three-spectrum-line interpolation
CN104062500A (en) * 2014-07-04 2014-09-24 武汉大学 Signal harmonic analysis method and system based on Hamming product window
CN104062528A (en) * 2014-07-04 2014-09-24 武汉大学 Signal harmonic analysis method and system based on Hanning product window
CN104897960A (en) * 2015-06-15 2015-09-09 中南民族大学 Harmonic rapid analysis method and system based on windowing four-spectral-line interpolation FFT
CN104897961A (en) * 2015-06-17 2015-09-09 中南民族大学 Three spectral line interpolation FFT harmonic wave analysis method and system based on multiplication window function
CN105486921A (en) * 2016-01-22 2016-04-13 武汉大学 Kaiser third-order mutual convolution window triple-spectrum-line interpolation harmonic wave and inter-harmonic wave detection method
CN107179439A (en) * 2017-06-26 2017-09-19 贵州电网有限责任公司贵阳供电局 Electric energy gauging method based on five peak interpolations of Cosine Window FFT tri-
CN107643446A (en) * 2017-08-11 2018-01-30 中南民族大学 A kind of multiline interpolation harmonic analysis method and system based on main lobe width
CN109030941A (en) * 2018-05-30 2018-12-18 上海电机学院 Tri- spectral line interpolation harmonic analysis method of Hanning involution convolution window FFT
CN109782063A (en) * 2018-10-23 2019-05-21 国网安徽省电力有限公司芜湖供电公司 A kind of dynamic m-Acetyl chlorophosphonazo analysis method based on three spectral line interpolation FFT of Nuttall self-convolution window
CN113032716A (en) * 2019-12-24 2021-06-25 南京理工大学 Harmonic and inter-harmonic analysis method based on windowed interpolation and Prony algorithm

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399204A (en) * 2013-07-31 2013-11-20 武汉大学 Rife-Vincent (II) window interpolation FFT (Fast Fourier Transform)-based harmonic and inter-harmonic detection method
CN103441762A (en) * 2013-09-09 2013-12-11 江南大学 ADC dynamic parameter testing method based on Blackman window three-spectrum-line interpolation
CN104062500A (en) * 2014-07-04 2014-09-24 武汉大学 Signal harmonic analysis method and system based on Hamming product window
CN104062528A (en) * 2014-07-04 2014-09-24 武汉大学 Signal harmonic analysis method and system based on Hanning product window
CN104897960A (en) * 2015-06-15 2015-09-09 中南民族大学 Harmonic rapid analysis method and system based on windowing four-spectral-line interpolation FFT
CN104897961A (en) * 2015-06-17 2015-09-09 中南民族大学 Three spectral line interpolation FFT harmonic wave analysis method and system based on multiplication window function
CN105486921A (en) * 2016-01-22 2016-04-13 武汉大学 Kaiser third-order mutual convolution window triple-spectrum-line interpolation harmonic wave and inter-harmonic wave detection method
CN107179439A (en) * 2017-06-26 2017-09-19 贵州电网有限责任公司贵阳供电局 Electric energy gauging method based on five peak interpolations of Cosine Window FFT tri-
CN107643446A (en) * 2017-08-11 2018-01-30 中南民族大学 A kind of multiline interpolation harmonic analysis method and system based on main lobe width
CN109030941A (en) * 2018-05-30 2018-12-18 上海电机学院 Tri- spectral line interpolation harmonic analysis method of Hanning involution convolution window FFT
CN109782063A (en) * 2018-10-23 2019-05-21 国网安徽省电力有限公司芜湖供电公司 A kind of dynamic m-Acetyl chlorophosphonazo analysis method based on three spectral line interpolation FFT of Nuttall self-convolution window
CN113032716A (en) * 2019-12-24 2021-06-25 南京理工大学 Harmonic and inter-harmonic analysis method based on windowed interpolation and Prony algorithm

Similar Documents

Publication Publication Date Title
CN101701984B (en) Fundamental wave and harmonic wave detecting method based on three-coefficient Nuttall windowed interpolation FFT
CN101603985B (en) Method for measuring sine signal with high accuracy
CN104897960B (en) Harmonic wave rapid analysis method and system based on the spectral line interpolation FFT of adding window four
US20210141854A1 (en) Fourier Analysis Method with Variable Sampling Frequency
CN108037475B (en) Harmonic transfer characteristic test system for capacitor voltage transformer
CN109521275B (en) Synchronous phasor determination method, system, device and readable storage medium
CN108776263B (en) Harmonic detection method based on high-order Hanning self-convolution window and improved interpolation algorithm
CN110954746A (en) Six-interpolation FFT algorithm based on four-term Nuttall cosine window
CN106501616A (en) The multifrequency sine voltage drive waveform parameter optimization method of fast frequency-domain dielectric response test
Tarasiuk Comparative study of various methods of DFT calculation in the wake of IEC Standard 61000-4-7
CN101718816B (en) Fundamental wave and harmonic wave detection method based on four-item coefficient Nuttall window interpolation FFT
CN109300484B (en) Audio alignment method and device, computer equipment and readable storage medium
CN113985116A (en) Full-phase FFT time-shifting phase difference correction method for leakage current of zinc oxide lightning arrester
CN115825557A (en) Generalized harmonic analysis method, device and medium based on harmonic component zero setting
CN116626575B (en) Fitting correction method and device for data acquisition equipment
CN112798861A (en) Voltage flicker parameter identification method and device, computer equipment and storage medium
CN110780251B (en) Power waveform comparison system and method based on point-by-point calculation of DELTA
CN117234176A (en) Control loop frequency domain identification method based on sweep test
CN108572277B (en) Multi-frequency signal measuring method and system
CN112946374B (en) Three-phase unbalance detection method and device based on convolution window function
Xu et al. Harmonic parameter online estimation in power system based on Hann self-convolving window and equidistant two-point interpolated DFT
CN115494303A (en) EMI receiver signal conversion method, device and storage medium
CN111579868B (en) Method and device for measuring higher harmonics
RU2363005C1 (en) Method of spectral analysis of polyharmonic signals and device to this end
CN114184838A (en) Power system harmonic detection method, system and medium based on SN mutual convolution window

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination