WO2013173975A1 - Harmonic detection method and relevant device - Google Patents

Harmonic detection method and relevant device Download PDF

Info

Publication number
WO2013173975A1
WO2013173975A1 PCT/CN2012/075884 CN2012075884W WO2013173975A1 WO 2013173975 A1 WO2013173975 A1 WO 2013173975A1 CN 2012075884 W CN2012075884 W CN 2012075884W WO 2013173975 A1 WO2013173975 A1 WO 2013173975A1
Authority
WO
WIPO (PCT)
Prior art keywords
complex
sequence
harmonic
real
complex sequence
Prior art date
Application number
PCT/CN2012/075884
Other languages
French (fr)
Chinese (zh)
Inventor
刘海威
Original Assignee
深圳市英威腾电气股份有限公司
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 深圳市英威腾电气股份有限公司 filed Critical 深圳市英威腾电气股份有限公司
Priority to CN201280003068.4A priority Critical patent/CN103547328B/en
Priority to PCT/CN2012/075884 priority patent/WO2013173975A1/en
Publication of WO2013173975A1 publication Critical patent/WO2013173975A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • G01R19/25Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques
    • G01R19/2513Arrangements for monitoring electric power systems, e.g. power lines or loads; Logging

Definitions

  • the invention relates to the field of electronic technology, and in particular to a harmonic detection method and related device. Background technique
  • Harmonics not only pose a threat to the safe operation of the power system itself, but also may have a great impact and harm to the surrounding electrical environment.
  • Active Power Filter is a power electronic device used to dynamically suppress harmonics and compensate reactive power.
  • Static Var Generator is one of the main devices in the Flexible AC Transmission System (FACTS).
  • APF can compensate for harmonics and varying reactive powers that vary in size and frequency.
  • APF's detection of harmonic signals is the key to ensuring its compensation performance.
  • SVG can dynamically compensate for reactive power and compensate harmonics.
  • SVG represents a new development direction of power system reactive power compensation technology. The same harmonic signal detection is the key to ensure SVG harmonic compensation performance.
  • Harmonic signals in power systems are usually referred to as current harmonics and voltage harmonics.
  • current harmonics when APF/SVG is deployed in parallel mode, current harmonics are usually detected and governed; when APF/SVG is deployed in series, voltage harmonics are usually detected and governed.
  • Existing harmonic detection techniques are difficult to balance storage space and computing time. Summary of the invention
  • the embodiment of the invention provides a harmonic detection method and related device, so that the harmonic detection can take into account the storage space and the calculation time.
  • An embodiment of the present invention provides a harmonic detection method, including: sampling an electrical signal from a power line to obtain an electrical signal sequence of an N point; performing a real fast Fourier transform RFFT of the N point electrical signal sequence at an N point Computing to obtain a first complex sequence; performing harmonic extraction processing on the first complex sequence to obtain a second complex sequence; performing a virtual-real combination process on the second complex sequence to obtain a third complex sequence; Performing a real fast Fourier transform RFFT operation to obtain a fourth complex sequence; and performing a virtual real combining process on the fourth complex sequence to obtain an N point harmonic sequence.
  • the step of sampling the electrical signal from the power line to obtain the electrical signal sequence of the defect includes: sampling the electrical signal from the power line at intervals in a signal fundamental period to obtain the electrical signal sequence of the defect .
  • the step of performing harmonic extraction processing on the first complex sequence to obtain the second complex sequence includes: removing a fundamental component in the first complex sequence to obtain the second complex sequence; or
  • the harmonic component of the first complex sequence is zeroed to obtain a fifth complex sequence, and then the fifth complex sequence is subtracted from the first complex sequence to obtain the second complex sequence.
  • the step of performing a virtual real combining process on the second complex sequence includes: dividing, in the second complex sequence including the plurality of second complex numbers, a DC component and a Nyquist frequency point a second complex number corresponding to each of the second complex numbers is generated by each of the second complex numbers except the data, wherein the real part of the third complex number is equal to the imaginary part coefficient corresponding to the second complex number And the sum of the real parts, the imaginary part coefficient of the third complex number is equal to the difference between the real part and the imaginary part coefficient corresponding to the second complex number.
  • the step of performing the virtual real combining process on the fourth complex sequence includes: selecting, in addition to the direct current component and the Nyquist frequency point, in the fourth complex sequence including the plurality of fourth complex numbers
  • Each fourth complex number other than the data generates a sixth complex number corresponding to each of the fourth complex numbers by a combination of the virtual and real processes, wherein the real part of the sixth complex number is equal to the imaginary part coefficient corresponding to the fourth complex number And the sum of the real part, the imaginary part coefficient of the sixth complex number is equal to the difference between the real part and the imaginary part coefficient corresponding to the fourth complex number.
  • the step of performing a real fast Fourier transform RFFT operation on the electrical signal sequence of the defect to obtain the first complex sequence comprises: dividing the electrical signal sequence of the defect by the ⁇ , Performing an RFFT operation of the defect to obtain a first complex sequence;
  • the step of performing harmonic extraction processing on the first complex sequence to obtain a second complex sequence includes: performing harmonic extraction processing on the first complex sequence by dividing the first complex sequence to obtain a second complex sequence;
  • the step of performing a virtual-real combination process on the second complex sequence to obtain a third complex sequence includes: after dividing the second complex sequence by the N, performing a virtual-real combination process to obtain a third complex sequence;
  • the step of performing an RFFT operation on the third complex sequence to obtain a fourth complex sequence includes: performing an RFFT operation on the third complex sequence by dividing the N to obtain a fourth complex sequence ⁇ ' J;
  • the step of performing the virtual and real combination processing on the fourth complex sequence to obtain the N-point harmonic sequence includes: after dividing the fourth complex sequence by the N, performing a virtual-solid combination process to obtain an N-point harmonic Sequence
  • the harmonic detecting method further includes: dividing the obtained N-point harmonic sequence by the
  • a harmonic detecting apparatus which may include: a sampling unit, configured to sample an electrical signal from a power line to obtain an electrical signal sequence of an N point; and a first RFFT operation unit for The N-point electrical signal sequence obtained by the sampling unit performs a real-time fast Fourier transform (RFFT) operation of the N-point to obtain a first complex sequence; a harmonic extraction unit is configured to harmonize the first complex sequence obtained by the first RFFT operation unit The wave extraction process obtains a second complex sequence; the virtual real combining processing unit is configured to perform a virtual real combination process on the second complex sequence obtained by the harmonic extraction unit to obtain a third complex sequence; and a second RFFT operation unit, The third complex sequence obtained by the virtual and real processing unit performs an RFFT operation to obtain a fourth complex sequence; and the virtual real processing unit is further configured to perform a virtual real combination process on the fourth complex sequence obtained by the second RFFT operation unit.
  • a sequence of N points of harmonics is obtained.
  • the virtual and real combination processing unit is specifically configured to: in the second complex sequence including the plurality of second complex numbers obtained by the harmonic extraction unit, corresponding to a DC component and a Nyquist frequency point For each second complex number other than the data, a third complex number corresponding to each of the second complex numbers is generated by a combination of the virtual and real processes, wherein the real part of the third complex number is equal to the imaginary part corresponding to the second complex number The sum of the coefficient and the real part, the imaginary part coefficient of the third complex number is equal to the difference between the real part and the imaginary part coefficient corresponding to the second complex number, to obtain a third complex sequence including a plurality of third complex numbers.
  • the virtual and real combination processing unit is further configured to: in the fourth complex sequence including the plurality of fourth complex numbers obtained by the second RFFT operation unit, corresponding to the DC component and the Nyquist frequency point For each fourth complex number other than the data, a sixth complex number corresponding to each of the fourth complex numbers is generated by a combination of the virtual and real processes, wherein the real part of the sixth complex number is equal to the imaginary part corresponding to the fourth complex number The sum of the coefficient and the real part, the imaginary part coefficient of the sixth complex number is equal to the difference between the real part and the imaginary part coefficient corresponding to the fourth complex number, to obtain an N-point harmonic sequence including a plurality of sixth complex numbers.
  • the first RFFT operation unit is specifically configured to: after dividing the electrical signal sequence of the N points obtained by the sampling unit by the N, perform an RFFT operation of an N point to obtain a first complex sequence; or
  • the harmonic extraction unit is specifically configured to: after the first complex sequence obtained by performing an RFFT operation on the first RFFT operation unit is divided by the N, perform harmonic extraction processing to obtain a second complex sequence ⁇ ' J ;
  • the virtual and real combination processing unit is specifically configured to: after dividing the second complex sequence obtained by the harmonic extraction unit by the N, perform a virtual real combination process to obtain a third complex sequence;
  • the second RFFT operation unit is specifically configured to: after dividing the third complex sequence obtained by the virtual and real combination processing unit by the N, perform an RFFT operation to obtain a fourth complex sequence;
  • the virtual real processing unit is further configured to: after dividing the fourth complex sequence obtained by the second RFFT operation unit by the N, perform a virtual real combining process to obtain an N point harmonic sequence;
  • the virtual real processing unit is further configured to perform a virtual real combining process on the fourth complex sequence obtained by the second RFFT operation unit to obtain an N point harmonic sequence, and divide the N point harmonic sequence by the Output after N.
  • a still further aspect of the present invention provides a harmonic elimination device, including:
  • a harmonic detecting device configured to sample an electrical signal from a power line to obtain an electrical signal sequence of an N point; and perform a real fast Fourier transform RFFT operation of the N point electrical signal sequence to obtain a first a complex sequence; performing harmonic extraction processing on the first complex sequence to obtain a second complex sequence; performing a virtual-real combination process on the second complex sequence to obtain a third complex sequence; and performing an RFFT operation on the third complex sequence a fourth complex sequence; and performing a virtual-solid combination process on the fourth complex sequence to obtain an N-point harmonic sequence and outputting;
  • An electric signal feedback device configured to generate a compensation electric signal based on the N-point harmonic sequence output by the harmonic detecting device, and feed back the generated compensation electric signal to the power line to eliminate generation in the power line Harmonics.
  • Another aspect of the present invention further provides a computer storage medium storing a program, where the program includes some or all of the steps of the method embodiment.
  • the electrical signal is sampled from the power line to obtain the electrical signal sequence of the N point, and the R complex operation of the N point is performed to obtain the first complex sequence; and the first complex sequence is subjected to harmonic extraction.
  • the technical solution does not need to perform the conjugate operation before and after the RFFT, and does not need the data extraction operation, and only needs to perform the virtual and real combination processing operations twice, that is, the addition and subtraction operation of the single-single, so the calculation is relatively saved compared with the prior art. Time, and because the RFFT code can be fully utilized for operation, it also saves code space.
  • FIG. 1 is a schematic flow chart of a harmonic detecting method according to an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of storage of calculation data provided by an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a harmonic detecting apparatus according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a harmonic elimination device according to an embodiment of the present invention
  • FIG. 5a is a schematic structural diagram of applying a harmonic elimination device to a power grid according to an embodiment of the present invention
  • FIG. 5a is a schematic structural diagram of applying a harmonic elimination device to a power grid according to an embodiment of the present invention
  • FIG. 5b is a schematic diagram of another architecture for applying a harmonic elimination device to a power grid according to an embodiment of the present invention.
  • FIG. 5c is a schematic diagram of another architecture for applying a harmonic elimination device to a power grid according to an embodiment of the present invention. detailed description
  • the embodiment of the invention provides a harmonic detection method and related device, so that the harmonic detection can take into account the storage space and the calculation time.
  • the harmonic signal detection range of the present invention includes detection of harmonic voltages and/or harmonic currents.
  • the main methods of harmonic signal detection are: analog band-pass filter detection method, detection method based on instantaneous reactive power theory, fast Fourier transform (FFT) detection method and so on.
  • the detection method based on the analog fusion filter can only detect harmonics in a fixed frequency range, can not compensate the changed harmonics in real time, and easily cause resonance; fast Fourier transform method and based on instantaneous reactive power
  • the power theory detection method can detect harmonics in a wide frequency range and, therefore, is widely used in power systems.
  • the detection method based on instantaneous reactive power has unique advantages in the overall compensation and fast response of reactive power and harmonics, and the FFT detection method is irreplaceable in the detailed analysis of the signal spectrum and data display, especially in the harmonics.
  • the FFT calculation is used to obtain the harmonic sequence. Although the forward and reverse transforms can share the same FFT block, the cost is reduced by the positive transform efficiency, and the storage space is increased by one time. For the inverse transform method, additional conjugate is needed (or Sort) operations and data extraction operations.
  • An embodiment of the harmonic detecting method of the present invention may include: sampling an electrical signal from a power line to obtain an electrical signal sequence of an N point; performing an N-point real-time fast Fourier transform RFFT operation on the N-point electrical signal sequence a complex sequence; performing harmonic extraction processing on the first complex sequence to obtain a second complex sequence; performing a virtual real combination process on the second complex sequence to obtain a third complex sequence; performing an RFFT operation on the third complex sequence to obtain a fourth complex sequence; Combining the fourth complex sequence with virtual and real To get the N point harmonic sequence.
  • FIG. 1 is a schematic diagram of a harmonic detection method according to an embodiment of the present invention, which may include the following contents:
  • Step 101 Sample an electrical signal from the power line to obtain an electrical signal sequence of the N point.
  • electrical signals may be sampled at equal or unequal intervals from the power line during a signal fundamental period to obtain an electrical signal sequence at point N.
  • a three-phase current signal (or a three-phase voltage signal) at equal intervals or unequal intervals in a signal fundamental period can be extracted from a three-phase power line to obtain an N-point current signal corresponding to each phase current.
  • Sequence (or N-point voltage signal sequence).
  • Step 102 Perform an RFFT operation of the N point electrical signal sequence to obtain a first complex sequence.
  • the first complex sequence includes a plurality of first complex numbers.
  • FIG. 2 is a schematic diagram of storage of computing data according to an embodiment of the present invention.
  • the sequence of electrical signals at point N is expressed as ! ⁇ ! ⁇ , suppose that N memory cells are used to store the N-point electrical signal sequence (R. ⁇ R N 4 ), and the N-point electrical signal sequence (R. ⁇ R N4 ) is subjected to the N-point RFFT operation.
  • a complex sequence storing data corresponding to a direct current component and a Nyquist frequency point in the first complex sequence (eg, R 0 and R N/2 ) in two memory locations, and may also retain the remaining N in the first complex sequence -
  • the real part of (N-2)/2 complex numbers ( ⁇ ⁇ /2 4 ) in 2 complex numbers is stored in (N-2)/2 memory cells, and the (N-2)
  • the imaginary part of the /2 complex number is stored in (N-2)/2 memory cells because the data corresponding to the DC component and the Nyquist frequency point are removed in the first complex sequence (such as R. and R N/2).
  • the real and imaginary coefficients of the two partial complex numbers ( ⁇ 11 ⁇ 2 /2-1 ) and (R N /2 + 1 ⁇ RN-1 ) have conjugate symmetry, so the stored complex number is used (R ⁇ Rn ), the complex number that is not stored in the first complex sequence can be recovered, which can save a large storage space.
  • the (R N/2+1 ⁇ R N4 ) part in the first complex sequence can also be stored, and the first part is not stored.
  • the ( ) part can also be recovered. It will be appreciated that complex numbers having conjugate symmetry in other complex sequences may also be stored in this manner.
  • step 103 performing harmonic extraction processing on the first complex sequence to obtain a second complex sequence.
  • performing harmonic extraction processing on the first complex sequence to obtain a second complex number may include: removing a fundamental component in the first complex sequence to obtain a second complex sequence (of course, harmonic components of an unnecessary number of times may also be removed, that is, only one or several set times may be extracted Harmonic component), for example, may make the fundamental component in the first complex sequence zero to obtain the second complex sequence; or, the harmonic component in the first complex sequence may be zero to obtain the first
  • the fifth complex sequence is then subtracted from the first complex sequence by the first complex sequence to obtain a second complex sequence.
  • the second complex sequence includes a plurality of second complex numbers.
  • Step 104 Perform a virtual and real combination process on the second complex sequence to obtain a third complex sequence.
  • each second complex number other than the data corresponding to the direct current component and the Nyquist frequency point is combined by virtual and real a processing manner of generating a third complex number corresponding to each of the second complex numbers, and wherein a real part of the third complex number is equal to a sum of an imaginary part coefficient and a real part of the corresponding second complex number, the third complex number
  • the imaginary part coefficient is equal to the difference between the real part and the imaginary part coefficient corresponding to the second complex number, such that each second of the second complex sequence except the data corresponding to the direct current component and the Nyquist frequency point is second
  • the complex complex processing as described above can obtain the third complex sequence of N points, that is, the third complex sequence includes a plurality of third complex numbers, wherein the third complex sequence of the N points includes the second complex sequence
  • the data corresponding to the direct current component and the Nyquist frequency point further includes, for the second complex number, each second complex number other than
  • Step 105 Perform an RFFT operation on the third complex sequence to obtain a fourth complex sequence.
  • the fourth complex sequence includes a plurality of fourth complex numbers.
  • Step 106 Perform a virtual-solid combination process on the fourth complex sequence to obtain an N-point harmonic sequence.
  • each fourth complex number other than the data corresponding to the direct current component and the Nyquist frequency point is passed through the virtual reality
  • the combined processing manner generates a sixth complex number corresponding to each of the fourth complex numbers, the real part of the sixth complex number is equal to the sum of the imaginary part coefficient and the real part of the corresponding fourth complex number, and the virtual number of the sixth complex number
  • the coefficient of the part is equal to the difference between the real part and the imaginary part coefficient of the fourth complex number corresponding thereto, so that each of the fourth complex sequence is subjected to the virtual and real combination processing as described above to obtain a plurality of sixth complex numbers.
  • An N-point harmonic sequence wherein the N-point harmonic sequence includes a DC component and a Nyquist in the fourth complex sequence
  • the data corresponding to the frequency point further includes, for the fourth complex sequence in the fourth complex sequence, each fourth complex number except the data corresponding to the direct current component and the Nyquist frequency point, generated by the combination of the virtual and real processing The sixth complex number corresponding to each fourth complex number.
  • the two real and virtual combined processing methods are the same, which can realize code multiplexing, which is beneficial to save code storage space.
  • the conjugate operation is not required, and only the addition and subtraction operations of the data are performed, and the harmonic calculation of the multiplexed RFFT code can be realized with less computational complexity and without adding additional storage units.
  • the output result does not need operations such as data extraction sorting, and can completely correspond to the original real sequence, which is beneficial to save computation time and does not add extra code space and storage space. If you need to calculate harmonic amplitude, phase, total harmonic distortion (THD), etc., you can also fully reuse the code to reduce the program memory space.
  • TDD total harmonic distortion
  • N in the embodiment of the present invention refers to the number of points of the inverse Fourier transform, that is, the length of the harmonic sequence output.
  • the amplitude can also be restored, i.e., subjected to a "divide by N" operation (which may be referred to as a 1/N operation in the embodiment of the present invention).
  • performing the RFFT operation of the N-point electrical signal sequence in step 102 to obtain the first complex sequence may include the following specific steps: dividing the electrical signal sequence of the N point After N, an N-point RFFT operation is performed to obtain a first complex sequence.
  • performing harmonic extraction processing on the first complex sequence in step 103 to obtain the second complex sequence may include the following specific steps: performing harmonics after dividing the first complex sequence by N The wave extraction process results in a second complex sequence.
  • performing the virtual real combining process on the second complex sequence in step 104 to obtain the third complex sequence may include the following specific steps: after dividing the second complex sequence by N, The virtual and real combination processing is performed to obtain a third complex sequence.
  • performing an RFFT operation on the third complex sequence in step 105 to obtain the fourth complex sequence may include the following specific steps: performing an RFFT operation after dividing the third complex sequence by N The fourth plural sequence.
  • performing the virtual real combining process on the fourth complex sequence to obtain the N point harmonic sequence in step 106 includes the following specific steps: dividing the fourth complex sequence After N, the virtual and real combination processing is performed to obtain an N-point harmonic sequence.
  • the obtained N-point harmonic sequence may be divided by N and output.
  • the basis of the method provided by the embodiments of the present invention will be analyzed.
  • the real part is a cosine component, which is a real even sequence
  • the imaginary part is a sinusoidal component, which is a real odd sequence.
  • ⁇ ( ⁇ ) can also be implemented by the above method, and will not be described here.
  • the electrical signal is sampled from the power line to obtain an electrical signal sequence of N points, and the R complex operation of the N point is performed to obtain the first complex sequence; the second complex sequence is obtained by performing harmonic extraction processing on the first complex sequence.
  • an embodiment of the present invention further provides a harmonic detecting apparatus 300, which may include: a sampling unit 301, a first RFFT operation unit 302, a harmonic extraction unit 303, a virtual real processing unit 304, and a second RFFT operation unit. 305.
  • the sampling unit 301 is configured to sample an electrical signal from the power line to obtain an electrical signal sequence of the N point.
  • the sampling unit 301 can sample electrical signals from the power line at intervals or unequal intervals within a signal fundamental period to obtain an electrical signal sequence at point N.
  • the sampling unit 301 can extract a three-phase current signal (or a three-phase voltage signal) at equal intervals or unequal intervals in a signal fundamental period from a three-phase power line to obtain a sequence of N-point current signals of each phase current ( Or N point voltage signal sequence).
  • the first RFFT operation unit 302 is configured to perform an N-point real-time fast Fourier transform RFFT operation on the N-point electrical signal sequence obtained by the sampling unit 301 to obtain a first complex sequence.
  • the first complex sequence includes a plurality of first complex numbers.
  • the harmonic extraction unit 303 is configured to perform harmonic extraction processing on the first complex sequence obtained by the first RFFT operation unit 302 to obtain a second complex sequence.
  • the second complex sequence includes a plurality of second complex numbers.
  • the virtual and real combination processing unit 304 is configured to perform a virtual and real combination process on the second complex sequence obtained by the harmonic extraction unit 303 to obtain a third complex sequence.
  • the third complex sequence includes a plurality of third complex numbers.
  • the second RFFT operation unit 305 is configured to perform an RFFT operation on the third complex sequence obtained by the virtual real combining processing unit 304 to obtain a fourth complex sequence.
  • the fourth complex sequence includes a plurality of fourth complex numbers.
  • the virtual real processing unit 303 is further configured to perform a virtual real combining process on the fourth complex sequence obtained by the second RFFT operation unit 305 to obtain an N point harmonic sequence.
  • the virtual real processing unit 304 may be specifically configured to: in addition to the direct current component and the Nyquist frequency point, in the second complex sequence including the plurality of second complex numbers obtained by the harmonic extracting unit 303 a second complex number corresponding to each of the second complex numbers is generated by each of the second complex numbers except the corresponding data, and the real part of the third complex number is equal to the second complex number corresponding thereto
  • the sum of the imaginary part coefficient and the real part, the imaginary part coefficient of the third complex number is equal to the difference between the real part and the imaginary part coefficient corresponding to the second complex number, and the second and second complex numbers are combined by the virtual and real parts to obtain the first Three complex sequences.
  • the virtual real processing unit 304 is further configured to: in addition to the DC component and the Nyquist frequency point, the fourth complex sequence including the plurality of fourth complex numbers obtained by the second RFFT operation unit 305 a fourth complex number corresponding to each of the fourth complex numbers is generated by each of the fourth complex numbers other than the corresponding data, and the real part of the sixth complex number is equal to the fourth complex number corresponding thereto
  • the sum of the imaginary part coefficient and the real part, the imaginary part coefficient of the sixth complex number is equal to the difference between the real part and the imaginary part coefficient of the corresponding fourth complex number, and each of the fourth complex numbers is subjected to a combination of virtual and real processing to obtain A plurality of sixth complex N-point harmonic sequences are included.
  • the third complex sequence obtained by the virtual reality combining processing unit 304 includes the DC component in the second complex sequence and the data corresponding to the Nyquist frequency point, and further includes a DC component and a Nyquivalent component in the second complex sequence.
  • Each second complex number other than the data corresponding to the sterling frequency point is a third complex number corresponding to each of the second complex numbers generated by the combination of the virtual and real processing.
  • the N-point harmonic sequence obtained by the virtual-real combination processing unit 304 includes data corresponding to the DC component and the Nyquist frequency point in the fourth complex sequence, and further includes a DC component and a Nyquivalent component in the fourth complex sequence.
  • Each fourth complex number other than the data corresponding to the zucchini frequency point is a sixth complex number corresponding to each of the fourth complex numbers generated by the combination of the virtual and real processing.
  • N in the embodiment of the present invention refers to the number of points of the inverse Fourier transform, that is, the length of the harmonic sequence output.
  • the amplitude can also be restored, i.e., subjected to a "divide by N" operation (which may be referred to as a 1/N operation in the embodiment of the present invention).
  • the harmonic extraction unit 303 is specifically configured to remove the fundamental component in the first complex sequence to obtain a second complex sequence.
  • the first RFFT operation unit 302 may be specifically configured to divide the electrical signal sequence of the N point obtained by the sampling unit 301 by N, and then perform an RFFT operation of the N point to obtain the first complex sequence.
  • the harmonic extraction unit 303 is specifically configured to perform a second complex sequence after the first complex sequence obtained by performing the RFFT operation on the first RFFT operation unit 302 is divided by N.
  • the virtual and real combination processing unit 304 is specifically configured to perform a virtual real combining process on the second complex sequence obtained by the harmonic extracting unit 303 by dividing N to obtain a third complex sequence.
  • the second RFFT operation unit 305 is specifically configured to perform a RFFT operation on the third complex sequence obtained by dividing the third complex sequence obtained by the virtual and real combination processing unit 304 by N to obtain a fourth complex sequence.
  • the virtual real processing unit 304 is further configured to divide the fourth complex sequence obtained by the second RFFT operation unit 305 by N, and then perform a virtual real combining process to obtain an N point harmonic sequence.
  • the virtual real processing unit 304 is further configured to perform a virtual real combining process on the fourth complex sequence obtained by the second RFFT operation unit 305 to obtain an N point harmonic sequence, and output the N point harmonic sequence by N and output.
  • the harmonic detecting device 300 of the present embodiment can be deployed in the APF/SVG as a means for performing harmonic detection in the APF/S VG.
  • an embodiment of the present invention further provides a harmonic elimination device 400, which may include: a harmonic detection device 410 and an electrical signal feedback device 420.
  • the harmonic detecting device 410 is configured to sample an electrical signal from the power line to obtain an electrical signal sequence of the N point; perform an RFFT operation of the N point electrical signal sequence to obtain a first complex sequence; The sequence is subjected to harmonic extraction processing to obtain a second complex sequence; the second complex sequence is subjected to virtual and real combination processing to obtain a third complex sequence; the third complex sequence is subjected to RFFT operation to obtain a fourth complex sequence; and the fourth complex sequence is subjected to virtual and real combination. Process to obtain an N-point harmonic sequence and output.
  • the electrical signal feedback device 420 is configured to generate a compensated electrical signal based on the N-point harmonic sequence output by the harmonic detecting device 410, and feed the generated compensated electrical signal to the power line to eliminate harmonics generated in the power line.
  • the harmonic detecting means 410 may sample the electrical signals from the power line at intervals or unequal intervals within a signal fundamental period to obtain an electrical signal sequence of N points.
  • the harmonic detecting device 410 can extract, for example, three-phase current signals (or three-phase voltage signals) at equal intervals or unequal intervals in a signal fundamental period from the three-phase power line to obtain N points of each phase current.
  • Current signal sequence (or N-point voltage signal sequence).
  • the harmonic detecting device 410 may employ, for example, a data storage method as shown in FIG. 2 for data storage.
  • the sequence of electrical signals at point N is expressed as! ⁇ ! ⁇ , suppose that N memory cells are used to store the N-point electrical signal sequence (R ⁇ R ⁇ ), and the N-point electrical signal sequence (R ⁇ R ⁇ ) is subjected to the N-point RFFT operation to obtain the first complex sequence. And storing the data corresponding to the direct current component and the Nyquist frequency point in the first complex sequence (such as R.
  • the real and imaginary coefficients of the complex numbers (R RN/W ) and (R N /2 + 1 ⁇ RN-1 ) have conjugate symmetry, so the first complex (R ⁇ RN ⁇ ) can be used to recover the first
  • the complex sequence is not stored in a complex number, which can save a large storage space.
  • the harmonic detecting device 410 can also store the (R N/2+1 ⁇ R N4 ) portion in the first complex sequence, and does not store the first complex sequence.
  • the (R Canton R N / 24), and (R N / 2 + 1 ⁇ RN-1) can recover (R ⁇ RN / W) section. It will be appreciated that complex numbers having conjugate symmetry in other complex sequences may also be stored in this manner.
  • the harmonic detecting apparatus 410 performs harmonic extraction processing on the first complex sequence to obtain the second complex sequence, for example, including: removing the fundamental component in the first complex sequence to obtain the second complex sequence (of course It is also possible to remove unwanted harmonic components, that is, to extract only one or several set times of harmonic components, for example, for example, the fundamental component in the first complex sequence can be zero. Obtaining a second complex sequence; or alternatively, the harmonic components in the first complex sequence are zero to obtain a fifth complex sequence, and then subtracting the fifth complex sequence from the first complex sequence to obtain a second complex sequence.
  • the second complex sequence includes a plurality of second complex numbers.
  • the harmonic detecting device 410 performs a virtual real combining process on the second complex sequence to obtain a third complex sequence.
  • the method may include: excluding a DC component in the second complex sequence including the plurality of second complex numbers And each second complex number other than the data corresponding to the Nyquist frequency point, the third complex number corresponding to each of the second complex numbers is generated by a combination of the virtual and real processing, and The real part of the third complex number is equal to the sum of the imaginary part coefficient and the real part of the second complex number, and the imaginary part coefficient of the third complex number is equal to the difference between the real part and the imaginary part coefficient corresponding to the second complex number, so that a second complex sequence of N points, that is, a second complex sequence of the second complex number in the second complex sequence except for the data corresponding to the direct current component and the Nyquist frequency point is processed as described above.
  • the triple complex sequence includes a plurality of third complex numbers, wherein the third complex sequence of the N points includes data corresponding to the direct current component and the Nyquist frequency point in the second complex sequence, and is further included in the second complex sequence.
  • the third complex sequence of the N points includes data corresponding to the direct current component and the Nyquist frequency point in the second complex sequence, and is further included in the second complex sequence
  • the harmonic detecting device 410 performs a virtual-real combining process on the fourth complex sequence to obtain an N-point harmonic sequence, for example, may include a DC component in a fourth complex sequence including a plurality of fourth complex numbers.
  • a sixth complex number corresponding to each of the fourth complex numbers is generated by a combination of the virtual and real processing, and the real part of the sixth complex number is equal to Corresponding to the sum of the imaginary part coefficient and the real part of the fourth complex number, the imaginary part coefficient of the sixth complex number is equal to the difference between the real part and the imaginary part coefficient corresponding to the fourth complex number, so that the fourth complex sequence is
  • Each of the complex numbers performs the virtual-real combination processing as described above to obtain an N-point harmonic sequence including a plurality of sixth complex numbers, wherein the N-point harmonic sequence includes the DC component and the Nyquist in the fourth complex sequence.
  • the data corresponding to the frequency point further includes each fourth complex number except the data corresponding to the direct current component and the Nyquist frequency point in the fourth complex sequence, through the virtual solid node The sixth complex number corresponding to each of the fourth complex numbers generated by the combined processing manner.
  • the two real and virtual combined processing methods are the same, which can realize code multiplexing, which is beneficial to save code storage space.
  • the conjugate operation is not required, and only the addition and subtraction operations of the data are performed, and the harmonic calculation of the multiplexed RFFT code can be realized with less computational complexity and without adding additional storage units.
  • the output result does not need operations such as data extraction sorting, and can completely correspond to the original real sequence, which is beneficial to save computation time and does not add extra code space and storage space. If you need to calculate harmonic amplitude, phase, total harmonic distortion (THD), etc., you can also fully reuse the code to reduce the program memory space.
  • TDD total harmonic distortion
  • the harmonic detecting device 410 can also restore the amplitude, that is, after a "divide by N" operation (in the embodiment of the present invention Called 1/N operation).
  • the harmonic detecting means 410 may perform the RFFT operation of the N point to obtain the first complex sequence after dividing the signal sequence of the N point by N.
  • the harmonic detecting means 410 may perform harmonic extraction processing after dividing the first complex sequence by N to obtain a second complex sequence.
  • the harmonic detecting means 410 may perform a virtual real combining process after dividing the second complex sequence by N to obtain a third complex sequence.
  • the harmonic detecting means 410 may perform an RFFT operation after dividing the third complex sequence by N to obtain a fourth complex sequence.
  • the harmonic detecting means 410 may perform a virtual real combining process after dividing the fourth complex sequence by N to obtain an N point harmonic sequence.
  • the harmonic detecting means 410 may also output the obtained N-point harmonic sequence by N.
  • harmonic detection device 410 such as harmonic detection device 300, may have some or all of the functionality of harmonic detection device 300.
  • the functions of the harmonic detecting device 410 can be specifically implemented according to the method in the foregoing method embodiments. For the specific implementation process, refer to the related description in the foregoing method embodiments, and details are not described herein again.
  • harmonic detection device 410 and electrical signal feedback device 420 in harmonic cancellation device 400 may be deployed, for example, in each of the power grid topologies shown in Figures 5a-5c to eliminate Harmonics.
  • the harmonic elimination device 400 uses the harmonic elimination device 400 as the APF/SVG as an example, combined with the parallel compensation harmonic current APF/SVG. It is to be noted that those skilled in the art will appreciate that the principles of the present invention for harmonic compensation in series or hybrid mode are equally applicable and are within the scope of the present invention.
  • Figure 5b is a schematic diagram of the parallel connection of APF/SVG compensation for reactive power and harmonic compensation.
  • the nonlinear load is running in the grid, APF/SVG is connected in parallel to the grid, and the harmonics of the nonlinear load are applied.
  • reactive compensation is the supply current
  • load voltage 1 ⁇ is the electrical signal feedback Device The compensation current generated by 420.
  • the APF/SVG can detect harmonic components in the load current through the harmonic detecting means 410 therein.
  • the harmonic detecting device 410 outputs a harmonic current sequence
  • the reactive power detecting device 430 can calculate the load current fundamental wave reactive power by using the classical instantaneous reactive power theory calculation, output the reactive current sequence, and add the reactive current sequence and the harmonic current sequence. , get the reactive current sequence and harmonic current sequence to be compensated.
  • the 5c includes: a current controller 421, a DC voltage controller 422, and a power device 423 (such as an Insulated Gate Bipolar Transistor (IGBT)), wherein the current controller 421 and The harmonic detecting device 410, the reactive power detecting device 430, the DC voltage controller 422, and the power device 423 are connected, and the DC voltage controller 422 is also connected to the power device 423.
  • the DC voltage controller 422 is mainly used to output a DC voltage adjustment signal.
  • the current controller 421 is mainly configured to generate a pulse width modulation (PWM) signal output according to the reactive current sequence, the harmonic current sequence, and the DC voltage adjustment signal output by the DC voltage controller 422.
  • PWM pulse width modulation
  • the power device 423 is mainly used to generate a current signal output for compensating for harmonics and reactive power according to the PWM signal outputted by the current controller 421 to compensate the reactive and harmonic currents of the load.
  • the compensation current i M generated by the power device 423 (including i Ma , i Mb , i Mc in the figure) can be equal to and equal to the harmonic component in the load current, so that the two can cancel each other, so that the power supply current only contains Basic active component.
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of the data processing method described in the foregoing method embodiments.
  • the computer storage medium can store a program
  • the program includes some or all of the steps of the data processing method described in the foregoing method embodiments.
  • an electrical signal is sampled from a power line to obtain an N-point electrical signal sequence, and an N-point RFFT operation is performed to obtain a first complex sequence;
  • the column performs harmonic extraction processing to obtain a second complex sequence;
  • the second complex sequence is subjected to virtual and real combination processing to obtain a third complex sequence;
  • the third complex sequence is subjected to RFFT operation to obtain a fourth complex sequence;
  • the fourth complex sequence is subjected to virtual and real combination Processing to obtain the N-point harmonic sequence
  • the scheme does not need to perform the conjugate operation before and after the FFT, and does not need the data extraction operation, but only needs to perform the virtual and real combination operations twice, that is, the addition and subtraction operation of the cartridge, so compared with the existing In terms of technology, the calculation time is saved, and the code space can be saved because the RFFT code can be fully utilized for calculation.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Read-only memory, random access memory, disk or optical disk, etc.

Abstract

A harmonic detection method and a relevant device. A harmonic detection method comprises: sampling an electrical signal from a power line to obtain an N-point electrical signal sequence; performing N-point real fast Fourier transform (RFFT) computation on the N-point electrical signal sequence to obtain a first complex sequence; performing harmonic extraction processing on the first complex sequence to obtain a second complex sequence; performing virtual-real combination processing on the second complex sequence to obtain a third complex sequence; performing RFFT computation on the third complex sequence to obtain a fourth complex sequence; and performing virtual-real combination processing on the fourth complex sequence to obtain an N-point harmonic sequence. The harmonic detection method and relevant device are favourable to taking both storage space and computation time into account during harmonic detection.

Description

b波检测方法及相关装置 b wave detection method and related device
技术领域 Technical field
本发明涉及电子技术领域, 具体涉及谐波检测方法及相关装置。 背景技术  The invention relates to the field of electronic technology, and in particular to a harmonic detection method and related device. Background technique
目前,在电力系统中广泛应用各种电力电子装置和非线性负载,使得产生 了大量谐波。谐波不仅会对电力系统本身的安全运行构成威胁,还可能给周围 的电气环境带来极大的影响和危害。  At present, various power electronic devices and non-linear loads are widely used in power systems, resulting in a large number of harmonics. Harmonics not only pose a threat to the safe operation of the power system itself, but also may have a great impact and harm to the surrounding electrical environment.
有源电力滤波器( APF , Active Power Filter )是一种用于动态抑制谐波和 补偿无功的电力电子装置。 静止无功发生器(SVG, Static Var Generator )是 柔性交流输电系统(FACTS, Flexible AC Transmission System ) 中的主要装置 之一。 APF能够对大小和频率都变化的谐波及变化的无功进行补偿, APF对谐 波信号的检测是保证其补偿性能的关键。 SVG既能动态补偿无功,也能够补偿 谐波, SVG代表着电力系统无功补偿技术新的发展方向, 同样谐波信号的检测 是保证 SVG谐波补偿性能的关键。  Active Power Filter (APF) is a power electronic device used to dynamically suppress harmonics and compensate reactive power. Static Var Generator (SVG) is one of the main devices in the Flexible AC Transmission System (FACTS). APF can compensate for harmonics and varying reactive powers that vary in size and frequency. APF's detection of harmonic signals is the key to ensuring its compensation performance. SVG can dynamically compensate for reactive power and compensate harmonics. SVG represents a new development direction of power system reactive power compensation technology. The same harmonic signal detection is the key to ensure SVG harmonic compensation performance.
电力系统中的谐波信号通常是指电流谐波和电压谐波。其中, 当 APF/SVG 采用并联方式部署时,通常检测并治理电流谐波; 当 APF/SVG采用串联方式部 署时,通常检测并治理电压谐波。现有谐波检测技术难以兼顾存储空间和计算 时间等。 发明内容  Harmonic signals in power systems are usually referred to as current harmonics and voltage harmonics. Among them, when APF/SVG is deployed in parallel mode, current harmonics are usually detected and governed; when APF/SVG is deployed in series, voltage harmonics are usually detected and governed. Existing harmonic detection techniques are difficult to balance storage space and computing time. Summary of the invention
本发明实施例提供一种谐波检测方法及相关装置,以期谐波检测能兼顾存 储空间和计算时间。  The embodiment of the invention provides a harmonic detection method and related device, so that the harmonic detection can take into account the storage space and the calculation time.
本发明实施例一方面提供一种谐波检测方法, 包括: 从电力线路中采样电 信号以得到 N点的电信号序列; 将所述 N点的电信号序列进行 N点的实数快速 傅立叶变换 RFFT运算得到第一复数序列; 对所述第一复数序列进行谐波提取 处理得到第二复数序列;对所述第二复数序列进行虚实结合处理以得到第三复 数序列; 对所述第三复数序列进行实数快速傅立叶变换 RFFT运算得到第四复 数序列; 以及将所述第四复数序列进行虚实结合处理以得到 N点谐波序列。 可选的, 所述从电力线路中采样电信号以得到 Ν点的电信号序列的步骤包 括: 在一个信号基波周期内, 从电力线路中等间隔的采样电信号以得到 Ν点的 电信号序列。 An embodiment of the present invention provides a harmonic detection method, including: sampling an electrical signal from a power line to obtain an electrical signal sequence of an N point; performing a real fast Fourier transform RFFT of the N point electrical signal sequence at an N point Computing to obtain a first complex sequence; performing harmonic extraction processing on the first complex sequence to obtain a second complex sequence; performing a virtual-real combination process on the second complex sequence to obtain a third complex sequence; Performing a real fast Fourier transform RFFT operation to obtain a fourth complex sequence; and performing a virtual real combining process on the fourth complex sequence to obtain an N point harmonic sequence. Optionally, the step of sampling the electrical signal from the power line to obtain the electrical signal sequence of the defect includes: sampling the electrical signal from the power line at intervals in a signal fundamental period to obtain the electrical signal sequence of the defect .
可选的,所述对所述第一复数序列进行谐波提取处理得到第二复数序列的 步骤包括: 去除所述第一复数序列中的基波分量以得到所述第二复数序列; 或者,  Optionally, the step of performing harmonic extraction processing on the first complex sequence to obtain the second complex sequence includes: removing a fundamental component in the first complex sequence to obtain the second complex sequence; or
令所述第一复数序列中的谐波分量为零以得到第五复数序列,而后再用所 述第一复数序列减去所述第五复数序列以得到所述第二复数序列。  The harmonic component of the first complex sequence is zeroed to obtain a fifth complex sequence, and then the fifth complex sequence is subtracted from the first complex sequence to obtain the second complex sequence.
可选的, 所述对所述第二复数序列进行虚实结合处理的步骤包括: 在包括 多个第二复数的所述第二复数序列中,除直流分量和奈奎斯特频率点所对应的 数据之外的每一个第二复数,通过虚实结合的处理方式生成与所述每一个第二 复数对应的第三复数, 其中, 所述第三复数的实部等于对应第二复数的虚部系 数和实部之和,所述第三复数的虚部系数等于对应第二复数的实部与虚部系数 之差。  Optionally, the step of performing a virtual real combining process on the second complex sequence includes: dividing, in the second complex sequence including the plurality of second complex numbers, a DC component and a Nyquist frequency point a second complex number corresponding to each of the second complex numbers is generated by each of the second complex numbers except the data, wherein the real part of the third complex number is equal to the imaginary part coefficient corresponding to the second complex number And the sum of the real parts, the imaginary part coefficient of the third complex number is equal to the difference between the real part and the imaginary part coefficient corresponding to the second complex number.
可选的, 所述将所述第四复数序列进行虚实结合处理的步骤包括: 在包括 多个第四复数的所述第四复数序列中,除直流分量和奈奎斯特频率点所对应的 数据之外的每一个第四复数,通过虚实结合的处理方式生成与所述每一个第四 复数对应的第六复数, 其中, 所述第六复数的实部等于对应第四复数的虚部系 数和实部之和,所述第六复数的虚部系数等于对应第四复数的实部与虚部系数 之差。  Optionally, the step of performing the virtual real combining process on the fourth complex sequence includes: selecting, in addition to the direct current component and the Nyquist frequency point, in the fourth complex sequence including the plurality of fourth complex numbers Each fourth complex number other than the data generates a sixth complex number corresponding to each of the fourth complex numbers by a combination of the virtual and real processes, wherein the real part of the sixth complex number is equal to the imaginary part coefficient corresponding to the fourth complex number And the sum of the real part, the imaginary part coefficient of the sixth complex number is equal to the difference between the real part and the imaginary part coefficient corresponding to the fourth complex number.
可选的, 所述将所述 Ν点的电信号序列进行 Ν点的实数快速傅立叶变换 RFFT运算得到第一复数序列的步骤包括: 将所述 Ν点的电信号序列除以所述 Ν 之后, 再进行 Ν点的 RFFT运算得到第一复数序列;  Optionally, the step of performing a real fast Fourier transform RFFT operation on the electrical signal sequence of the defect to obtain the first complex sequence comprises: dividing the electrical signal sequence of the defect by the Ν, Performing an RFFT operation of the defect to obtain a first complex sequence;
或者,  Or,
所述对所述第一复数序列进行谐波提取处理得到第二复数序列的步骤包 括: 在对所述第一复数序列除以所述 Ν之后再进行谐波提取处理得到第二复数 序列;  The step of performing harmonic extraction processing on the first complex sequence to obtain a second complex sequence includes: performing harmonic extraction processing on the first complex sequence by dividing the first complex sequence to obtain a second complex sequence;
或者, 所述对所述第二复数序列进行虚实结合处理以得到第三复数序列的步骤 包括: 在对所述第二复数序列除以所述 N之后, 再进行虚实结合处理以得到第 三复数序列; or, The step of performing a virtual-real combination process on the second complex sequence to obtain a third complex sequence includes: after dividing the second complex sequence by the N, performing a virtual-real combination process to obtain a third complex sequence;
或者, 所述对所述第三复数序列进行 RFFT运算得到第四复数序列的步骤 包括:在对所述第三复数序列除以所述 N之后再进行 RFFT运算得到第四复数序 歹' J ;  Or the step of performing an RFFT operation on the third complex sequence to obtain a fourth complex sequence includes: performing an RFFT operation on the third complex sequence by dividing the N to obtain a fourth complex sequence 歹' J;
或者,  Or,
所述将所述第四复数序列进行虚实结合处理以得到 N点谐波序列的步骤 包括: 在将所述第四复数序列除以所述 N之后, 再进行虚实结合处理以得到 N 点谐波序列;  The step of performing the virtual and real combination processing on the fourth complex sequence to obtain the N-point harmonic sequence includes: after dividing the fourth complex sequence by the N, performing a virtual-solid combination process to obtain an N-point harmonic Sequence
或者,  Or,
所述谐波检测方法还包括: 将得到的所述 N点谐波序列除以所述  The harmonic detecting method further includes: dividing the obtained N-point harmonic sequence by the
本发明实施例另一方面还提供一种谐波检测装置, 可包括: 采样单元, 用 于从电力线路中采样电信号以得到 N点的电信号序列; 第一 RFFT运算单元,用 于将所述采样单元得到的 N点的电信号序列进行 N点的实数快速傅立叶变换 RFFT运算得到第一复数序列; 谐波提取单元, 用于对所述第一 RFFT运算单元 得到的第一复数序列进行谐波提取处理得到第二复数序列; 虚实结合处理单 元,用于对所述谐波提取单元得到的第二复数序列进行虚实结合处理以得到第 三复数序列; 第二 RFFT运算单元, 用于对所述虚实结合处理单元得到的第三 复数序列进行 RFFT运算得到第四复数序列; 以及所述虚实结合处理单元还用 于,将所述第二 RFFT运算单元得到的第四复数序列进行虚实结合处理以得到 N 点谐波序列。  Another aspect of the present invention provides a harmonic detecting apparatus, which may include: a sampling unit, configured to sample an electrical signal from a power line to obtain an electrical signal sequence of an N point; and a first RFFT operation unit for The N-point electrical signal sequence obtained by the sampling unit performs a real-time fast Fourier transform (RFFT) operation of the N-point to obtain a first complex sequence; a harmonic extraction unit is configured to harmonize the first complex sequence obtained by the first RFFT operation unit The wave extraction process obtains a second complex sequence; the virtual real combining processing unit is configured to perform a virtual real combination process on the second complex sequence obtained by the harmonic extraction unit to obtain a third complex sequence; and a second RFFT operation unit, The third complex sequence obtained by the virtual and real processing unit performs an RFFT operation to obtain a fourth complex sequence; and the virtual real processing unit is further configured to perform a virtual real combination process on the fourth complex sequence obtained by the second RFFT operation unit. A sequence of N points of harmonics is obtained.
可选的, 所述虚实结合处理单元具体用于,在所述谐波提取单元得到的包 括多个第二复数的所述第二复数序列中,除直流分量和奈奎斯特频率点所对应 的数据之外的每一个第二复数,通过虚实结合的处理方式生成与所述每一个第 二复数对应的第三复数, 其中, 所述第三复数的实部等于对应第二复数的虚部 系数和实部之和,所述第三复数的虚部系数等于对应第二复数的实部与虚部系 数之差, 以得到包括多个第三复数的第三复数序列。 可选的, 所述虚实结合处理单元还具体用于, 在所述第二 RFFT运算单元 得到的包括多个第四复数的第四复数序列中,除直流分量和奈奎斯特频率点所 对应的数据之外的每一个第四复数,通过虚实结合的处理方式生成与所述每一 个第四复数对应的第六复数, 其中, 所述第六复数的实部等于对应第四复数的 虚部系数和实部之和,所述第六复数的虚部系数等于对应第四复数的实部与虚 部系数之差, 以得到包括多个第六复数的 N点谐波序列。 Optionally, the virtual and real combination processing unit is specifically configured to: in the second complex sequence including the plurality of second complex numbers obtained by the harmonic extraction unit, corresponding to a DC component and a Nyquist frequency point For each second complex number other than the data, a third complex number corresponding to each of the second complex numbers is generated by a combination of the virtual and real processes, wherein the real part of the third complex number is equal to the imaginary part corresponding to the second complex number The sum of the coefficient and the real part, the imaginary part coefficient of the third complex number is equal to the difference between the real part and the imaginary part coefficient corresponding to the second complex number, to obtain a third complex sequence including a plurality of third complex numbers. Optionally, the virtual and real combination processing unit is further configured to: in the fourth complex sequence including the plurality of fourth complex numbers obtained by the second RFFT operation unit, corresponding to the DC component and the Nyquist frequency point For each fourth complex number other than the data, a sixth complex number corresponding to each of the fourth complex numbers is generated by a combination of the virtual and real processes, wherein the real part of the sixth complex number is equal to the imaginary part corresponding to the fourth complex number The sum of the coefficient and the real part, the imaginary part coefficient of the sixth complex number is equal to the difference between the real part and the imaginary part coefficient corresponding to the fourth complex number, to obtain an N-point harmonic sequence including a plurality of sixth complex numbers.
可选的,所述第一 RFFT运算单元具体用于,将所述采样单元得到的 N点的 电信号序列除以所述 N之后, 再进行 N点的 RFFT运算得到第一复数序列; 或者,  Optionally, the first RFFT operation unit is specifically configured to: after dividing the electrical signal sequence of the N points obtained by the sampling unit by the N, perform an RFFT operation of an N point to obtain a first complex sequence; or
所述谐波提取单元具体用于, 对所述第一 RFFT运算单元进行 RFFT运算得 到的所述第一复数序列除以所述 N之后, 再进行谐波提取处理得到第二复数序 歹' J ;  The harmonic extraction unit is specifically configured to: after the first complex sequence obtained by performing an RFFT operation on the first RFFT operation unit is divided by the N, perform harmonic extraction processing to obtain a second complex sequence 歹' J ;
或者,  Or,
所述虚实结合处理单元具体用于,对所述谐波提取单元得到的所述第二复 数序列除以所述 N之后, 再进行虚实结合处理以得到第三复数序列;  The virtual and real combination processing unit is specifically configured to: after dividing the second complex sequence obtained by the harmonic extraction unit by the N, perform a virtual real combination process to obtain a third complex sequence;
或者,  Or,
所述第二 RFFT运算单元具体用于, 对所述虚实结合处理单元得到的第三 复数序列除以所述 N之后, 再进行 RFFT运算得到第四复数序列;  The second RFFT operation unit is specifically configured to: after dividing the third complex sequence obtained by the virtual and real combination processing unit by the N, perform an RFFT operation to obtain a fourth complex sequence;
或者,  Or,
所述虚实结合处理单元还用于, 将所述第二 RFFT运算单元得到的所述第 四复数序列除以所述 N之后, 再进行虚实结合处理以得到 N点谐波序列;  The virtual real processing unit is further configured to: after dividing the fourth complex sequence obtained by the second RFFT operation unit by the N, perform a virtual real combining process to obtain an N point harmonic sequence;
或者,  Or,
所述虚实结合处理单元还用于, 将所述第二 RFFT运算单元得到的所述第 四复数序列进行虚实结合处理以得到 N点谐波序列, 将所述 N点谐波序列除以 所述 N之后输出。  The virtual real processing unit is further configured to perform a virtual real combining process on the fourth complex sequence obtained by the second RFFT operation unit to obtain an N point harmonic sequence, and divide the N point harmonic sequence by the Output after N.
本发明实施例又一方面还提供一种谐波消除设备, 包括:  A still further aspect of the present invention provides a harmonic elimination device, including:
谐波检测装置, 用于从电力线路中采样电信号以得到 N点的电信号序列; 将所述 N点的电信号序列进行 N点的实数快速傅立叶变换 RFFT运算得到第一 复数序列; 对所述第一复数序列进行谐波提取处理得到第二复数序列; 对所述 第二复数序列进行虚实结合处理以得到第三复数序列;对所述第三复数序列进 行 RFFT运算得到第四复数序列; 以及将所述第四复数序列进行虚实结合处理 以得到 N点谐波序列并输出; a harmonic detecting device, configured to sample an electrical signal from a power line to obtain an electrical signal sequence of an N point; and perform a real fast Fourier transform RFFT operation of the N point electrical signal sequence to obtain a first a complex sequence; performing harmonic extraction processing on the first complex sequence to obtain a second complex sequence; performing a virtual-real combination process on the second complex sequence to obtain a third complex sequence; and performing an RFFT operation on the third complex sequence a fourth complex sequence; and performing a virtual-solid combination process on the fourth complex sequence to obtain an N-point harmonic sequence and outputting;
电信号反馈装置, 用于基于所述谐波检测装置输出的所述 N点谐波序列生 成补偿电信号,将生成的所述补偿电信号反馈至所述电力线路以消除所述电力 线路中产生的谐波。  An electric signal feedback device, configured to generate a compensation electric signal based on the N-point harmonic sequence output by the harmonic detecting device, and feed back the generated compensation electric signal to the power line to eliminate generation in the power line Harmonics.
本发明实施例另一方面还提供一种计算机存储介质,所述计算机存储介质 存储有程序, 所述程序执行时包括如上述方法实施例的部分或全部步骤。  Another aspect of the present invention further provides a computer storage medium storing a program, where the program includes some or all of the steps of the method embodiment.
由上可见, 本发明实施例提供的技术方案中,从电力线路中采样电信号以 得到 N点的电信号序列进行 N点的 RFFT运算得到第一复数序列;对第一复数序 列进行谐波提取处理得到第二复数序列;对第二复数序列进行虚实结合处理以 得到第三复数序列; 对第三复数序列进行 RFFT运算得到第四复数序列; 将第 四复数序列进行虚实结合处理以得到 N点谐波序列。 本技术方案无需在 RFFT 前后进行共轭操作,也无需数据提取操作,而只需进行两次虚实结合处理操作, 即进行筒单的加减操作, 所以相对于现有技术而言, 较为节省计算时间, 且由 于可以充分利用 RFFT代码进行运算, 所以也可节省代码空间。  As can be seen from the above, in the technical solution provided by the embodiment of the present invention, the electrical signal is sampled from the power line to obtain the electrical signal sequence of the N point, and the R complex operation of the N point is performed to obtain the first complex sequence; and the first complex sequence is subjected to harmonic extraction. Processing to obtain a second complex sequence; performing a virtual-real combination process on the second complex sequence to obtain a third complex sequence; performing an RFFT operation on the third complex sequence to obtain a fourth complex sequence; and performing a virtual-solid combination process on the fourth complex sequence to obtain an N-point Harmonic sequence. The technical solution does not need to perform the conjugate operation before and after the RFFT, and does not need the data extraction operation, and only needs to perform the virtual and real combination processing operations twice, that is, the addition and subtraction operation of the single-single, so the calculation is relatively saved compared with the prior art. Time, and because the RFFT code can be fully utilized for operation, it also saves code space.
进一步的, 不需增加额外存储空间, 可以实现代码空间、 存储单元数量和 计算时间综合优化。 附图说明  Further, no additional storage space is required, and the code space, the number of storage units, and the calculation time can be comprehensively optimized. DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述所需要 使用的附图作筒单地介绍,显而易见地, 下面描述中的附图仅仅是本发明的一 些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的前提下, 还 可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings to be used in the following description of the embodiments will be briefly described. It is obvious that the drawings in the following description are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图 1是本发明实施例提供的一种谐波检测方法的流程示意图;  1 is a schematic flow chart of a harmonic detecting method according to an embodiment of the present invention;
图 2是本发明实施例提供的计算数据的存储示意图;  2 is a schematic diagram of storage of calculation data provided by an embodiment of the present invention;
图 3是本发明实施例提供的一种谐波检测装置的示意图;  3 is a schematic diagram of a harmonic detecting apparatus according to an embodiment of the present invention;
图 4是本发明实施例提供的一种谐波消除设备的示意图; 图 5a是本发明实施例提供的一种将谐波消除设备应用到电网中的架构示 意图; 4 is a schematic diagram of a harmonic elimination device according to an embodiment of the present invention; FIG. 5a is a schematic structural diagram of applying a harmonic elimination device to a power grid according to an embodiment of the present invention; FIG.
图 5b是本发明实施例提供的又一种将谐波消除设备应用到电网中的架构 示意图;  FIG. 5b is a schematic diagram of another architecture for applying a harmonic elimination device to a power grid according to an embodiment of the present invention; FIG.
图 5c是本发明实施例提供的另一种将谐波消除设备应用到电网中的架构 示意图。 具体实施方式  FIG. 5c is a schematic diagram of another architecture for applying a harmonic elimination device to a power grid according to an embodiment of the present invention. detailed description
本发明实施例提供一种谐波检测方法及相关装置,以期谐波检测能兼顾存 储空间和计算时间。  The embodiment of the invention provides a harmonic detection method and related device, so that the harmonic detection can take into account the storage space and the calculation time.
下面通过具体实施例, 分别进行详细的说明。  The detailed description will be respectively made below through specific embodiments.
为使得本发明的发明目的、 特征、 优点能够更加的明显和易懂, 下面将结 合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 下面所描述的实施例仅仅是本发明一部分实施例, 而非全部的实施 例。基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提 下所获得的所有其它实施例, 都属于本发明保护的范围。  In order to make the object, the features and the advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. The described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语 "第一"、 "第二"、 "第 三" "第四" 等(如果存在)是用于区别类似的对象, 而不必用于描述特定的 顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换, 以便这里 描述的本发明的实施例例如能够以除了在这里图示或描述的那些以外的顺序 实施。 此外, 术语 "包括" 和 "具有" 以及他们的任何变形, 意图在于覆盖不 排他的包含, 例如, 包含了一系列步骤或单元的过程、 方法、 系统、 产品或设 备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对 于这些过程、 方法、 产品或设备固有的其它步骤或单元。  The terms "first", "second", "third", "fourth", etc. (if present) in the specification and claims of the present invention and the above figures are used to distinguish similar objects without being used for Describe a specific order or order. It is to be understood that the data so used may be interchanged as appropriate, so that the embodiments of the invention described herein can be implemented, for example, in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "comprises" and "includes" or "includes" or "comprises" or "comprises" or "comprises" Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
本发明的谐波信号检测范围包括对谐波电压和 /或谐波电流的检测。  The harmonic signal detection range of the present invention includes detection of harmonic voltages and/or harmonic currents.
谐波信号检测方法主要有: 模拟带通滤波器检测法、基于瞬时无功功率理 论的检测法、 快速傅立叶变换 ( FFT, Fast Fourier Transformation )检测法等 等。基于模拟融通滤波器的检测法只能检测固定频率范围内的谐波, 无法对变 化的谐波进行实时补偿,且容易引起谐振; 快速傅立叶变换法和基于瞬时无功 功率理论的检测方法能检测宽广频域范围内的谐波, 因此,在电力系统中应用 广泛。基于瞬时无功的检测方法在无功与谐波整体补偿和快速响应方面具有独 到的优势, 而 FFT检测方法在进行信号频谱详细分析和数据显示方面, 则是前 者无法替代的, 尤其在谐波含量分析和对个别频谱进行单独补偿方面优势明 显。 考虑到 FFT和 IFFT的对偶性, 对那些已经用到 FFT检测方法进行谐波含量 分析并显示的装置中 (如部分 APF和 SVG ), 能直接调用现有代码进行逆变换 得到谐波指令, 使得 FFT在这些场合的应用更有优势。 基于 FFT的谐波提取方 法的诟病在于计算比较复杂、 实时性较差、 计算时占用内存较多。 The main methods of harmonic signal detection are: analog band-pass filter detection method, detection method based on instantaneous reactive power theory, fast Fourier transform (FFT) detection method and so on. The detection method based on the analog fusion filter can only detect harmonics in a fixed frequency range, can not compensate the changed harmonics in real time, and easily cause resonance; fast Fourier transform method and based on instantaneous reactive power The power theory detection method can detect harmonics in a wide frequency range and, therefore, is widely used in power systems. The detection method based on instantaneous reactive power has unique advantages in the overall compensation and fast response of reactive power and harmonics, and the FFT detection method is irreplaceable in the detailed analysis of the signal spectrum and data display, especially in the harmonics. The advantages of content analysis and individual compensation for individual spectrum are obvious. Considering the duality of FFT and IFFT, for those devices that have used the FFT detection method for harmonic content analysis and display (such as partial APF and SVG), it is possible to directly call the existing code for inverse transformation to obtain harmonic instructions. The application of FFT in these applications is more advantageous. The FFT-based harmonic extraction method is more complicated in calculation, less real-time, and more memory in calculation.
当 APF/SVG中需要对一个或同时对几个特定次谐波进行补偿时, FFT计算 必不可少, 基于 FFT逆变换原理的谐波信号提取因为占用内存较多、 程序运算 时间较长, 在大规模实时处理中应用受阻。  When APF/SVG needs to compensate for one or several specific subharmonics at the same time, the FFT calculation is indispensable. The harmonic signal extraction based on the FFT inverse transform principle takes more memory and the program operation time is longer. Applications are blocked in large-scale real-time processing.
一些基于 FFT的改进型谐波检测方法分析如下:  Some improved FFT-based harmonic detection methods are as follows:
( 1 )采用 FFT计算得到谐波序列, 虽然正反变换可共用同一 FFT程序段, 代价是降低了正变换效率, 增加了 1倍存储空间, 对逆变换方法, 还需要额外 的共轭(或排序 )操作和数据提取操作。  (1) The FFT calculation is used to obtain the harmonic sequence. Although the forward and reverse transforms can share the same FFT block, the cost is reduced by the positive transform efficiency, and the storage space is increased by one time. For the inverse transform method, additional conjugate is needed (or Sort) operations and data extraction operations.
( 2 )采用实数和复数 FFT结合计算得到谐波序列, 正变换运算时间和存 储空间可得到最优, 虽然较前一种方法提高了正变换的效率,但这类方法牺牲 了代码共用, 增加了程序的复杂性。  (2) The real-time and complex FFT are combined to calculate the harmonic sequence. The forward transform operation time and storage space can be optimized. Although the former method improves the efficiency of forward transform, this method sacrifices code sharing and increases. The complexity of the program.
( 3 )采用实数快速傅立叶变换( RFFT, Real number FFT )计算得到谐波 序列, 这种方法虽能够代码复用, 但额外增加 1倍存储空间, 需要两次实虚分 离操作, 运算量也大大增加, 影响了处理器的运算速度。 可见上述几种方法各 有优缺点, 没有一种能兼顾代码复用、 存储空间和计算时间的综合性能。 本发明谐波检测方法的一个实施例, 可包括: 从电力线路中采样电信号以 得到 N点的电信号序列; 将该 N点的电信号序列进行 N点的实数快速傅立叶变 换 RFFT运算得到第一复数序列; 对第一复数序列进行谐波提取处理得到第二 复数序列; 对第二复数序列进行虚实结合处理以得到第三复数序列; 对第三复 数序列进行 RFFT运算得到第四复数序列; 将第四复数序列进行虚实结合处理 以得到 N点谐波序列。 (3) The real-time fast Fourier transform (RFFT, Real number FFT) is used to calculate the harmonic sequence. Although this method can be code-multiplexed, it additionally increases the storage space by one time, and requires two real virtual separation operations. Increased, affecting the computing speed of the processor. It can be seen that each of the above methods has advantages and disadvantages, and there is no comprehensive performance that can balance code reuse, storage space and calculation time. An embodiment of the harmonic detecting method of the present invention may include: sampling an electrical signal from a power line to obtain an electrical signal sequence of an N point; performing an N-point real-time fast Fourier transform RFFT operation on the N-point electrical signal sequence a complex sequence; performing harmonic extraction processing on the first complex sequence to obtain a second complex sequence; performing a virtual real combination process on the second complex sequence to obtain a third complex sequence; performing an RFFT operation on the third complex sequence to obtain a fourth complex sequence; Combining the fourth complex sequence with virtual and real To get the N point harmonic sequence.
请参见图 1 , 图 1所示为本发明实施例提供的一种谐波检测方法, 可包括以 下内容:  Referring to FIG. 1, FIG. 1 is a schematic diagram of a harmonic detection method according to an embodiment of the present invention, which may include the following contents:
步骤 101、 从电力线路中采样电信号以得到 N点的电信号序列。  Step 101: Sample an electrical signal from the power line to obtain an electrical signal sequence of the N point.
在本发明一些实施例中, 可在一个信号基波周期内,从电力线路中等间隔 或不等间隔的采样电信号以得到 N点的电信号序列。 举例来说, 例如可从三相 电力线路中,抽取一个信号基波周期内等间隔或不等间隔的三相电流信号(或 三相电压信号), 以得到每相电流对应的 N点电流信号序列(或 N点电压信号序 列)。  In some embodiments of the invention, electrical signals may be sampled at equal or unequal intervals from the power line during a signal fundamental period to obtain an electrical signal sequence at point N. For example, a three-phase current signal (or a three-phase voltage signal) at equal intervals or unequal intervals in a signal fundamental period can be extracted from a three-phase power line to obtain an N-point current signal corresponding to each phase current. Sequence (or N-point voltage signal sequence).
步骤 102、 将 N点的电信号序列进行 N点的 RFFT运算得到第一复数序列。 其中, 第一复数序列包括多个第一复数。  Step 102: Perform an RFFT operation of the N point electrical signal sequence to obtain a first complex sequence. The first complex sequence includes a plurality of first complex numbers.
请参见图 2, 图 2所示为本发明实施例提供的计算数据的存储示意图。如图 2所示, N点的电信号序列表示为!^〜!^^, 假设用 N个存储单元存储 N点的电信 号序列 (R。~RN4 ) , 将 N点的电信号序列 (R。~RN4 )进行 N点的 RFFT运算得到 第一复数序列,将第一复数序列中直流分量和奈奎斯特频率点对应的数据 (如 R0和 RN/2 )存储在 2个存储单元, 还可将第一复数序列中剩余的 N-2个复数中的 其中 (N-2 ) /2个复数(Ι^~Ι Ν/24 ) 的实部存储在(N-2 ) /2个存储单元, 并将 该(N-2 ) /2个复数的虚部系数存储在(N-2 ) /2个存储单元, 因为在第一复数 序列中除直流分量和奈奎斯特频率点对应的数据(如 R。和 RN/2 )之外的两部分 复数( ~1½/2-1 )和( R N/2+1~RN-1 ) 的实部和虚部系数具有共轭对称性, 因此 利用存储的复数(R^Rn ) 即可恢复出第一复数序列未存储的复数, 这样可 较大省存储空间, 当然, 也可存储第一复数序列中的 (RN/2+1~RN4 )部分, 不 存储第一复数序列中的(
Figure imgf000010_0001
),而据( RN/2+1~RN-1 )亦可恢复出( ) 部分。可以理解, 其它复数序列中具有共轭对称性的复数亦可按照这种方式进 行存储。
Referring to FIG. 2, FIG. 2 is a schematic diagram of storage of computing data according to an embodiment of the present invention. As shown in Figure 2, the sequence of electrical signals at point N is expressed as ! ^~!^^, suppose that N memory cells are used to store the N-point electrical signal sequence (R.~R N 4 ), and the N-point electrical signal sequence (R.~R N4 ) is subjected to the N-point RFFT operation. a complex sequence storing data corresponding to a direct current component and a Nyquist frequency point in the first complex sequence (eg, R 0 and R N/2 ) in two memory locations, and may also retain the remaining N in the first complex sequence - The real part of (N-2)/2 complex numbers (Ι^~Ι Ν/2 4 ) in 2 complex numbers is stored in (N-2)/2 memory cells, and the (N-2) The imaginary part of the /2 complex number is stored in (N-2)/2 memory cells because the data corresponding to the DC component and the Nyquist frequency point are removed in the first complex sequence (such as R. and R N/2). The real and imaginary coefficients of the two partial complex numbers (~11⁄2 /2-1 ) and (R N /2 + 1~RN-1 ) have conjugate symmetry, so the stored complex number is used (R^Rn ), the complex number that is not stored in the first complex sequence can be recovered, which can save a large storage space. Of course, the (R N/2+1 ~R N4 ) part in the first complex sequence can also be stored, and the first part is not stored. In a complex sequence
Figure imgf000010_0001
), and according to (R N /2 + 1~RN-1), the ( ) part can also be recovered. It will be appreciated that complex numbers having conjugate symmetry in other complex sequences may also be stored in this manner.
请继续参见图 1 , 步骤 103、对第一复数序列进行谐波提取处理得到第二复 数序列。  Referring to FIG. 1, step 103, performing harmonic extraction processing on the first complex sequence to obtain a second complex sequence.
在本发明一些实施例中,对第一复数序列进行谐波提取处理得到第二复数 序列的步骤可包括: 去除第一复数序列中的基波分量以得到第二复数序列(当 然, 也还可去除不需要次数的谐波分量, 即, 可以只提取一个或几个所设定次 数的谐波分量), 举例来说, 例如可令第一复数序列中的基波分量为零以得到 第二复数序列; 或者,也可令第一复数序列中的谐波分量为零以得到第五复数 序列, 而后再用第一复数序列减去第五复数序列以得到第二复数序列。 In some embodiments of the present invention, performing harmonic extraction processing on the first complex sequence to obtain a second complex number The sequence of steps may include: removing a fundamental component in the first complex sequence to obtain a second complex sequence (of course, harmonic components of an unnecessary number of times may also be removed, that is, only one or several set times may be extracted Harmonic component), for example, may make the fundamental component in the first complex sequence zero to obtain the second complex sequence; or, the harmonic component in the first complex sequence may be zero to obtain the first The fifth complex sequence is then subtracted from the first complex sequence by the first complex sequence to obtain a second complex sequence.
其中, 第二复数序列包括多个第二复数。  The second complex sequence includes a plurality of second complex numbers.
步骤 104、 对第二复数序列进行虚实结合处理以得到第三复数序列。  Step 104: Perform a virtual and real combination process on the second complex sequence to obtain a third complex sequence.
在本发明的一些实施例中, 例如在包括多个第二复数的第二复数序列中, 除直流分量和奈奎斯特频率点所对应的数据之外的每一个第二复数,通过虚实 结合的处理方式生成与所述每一个第二复数对应的第三复数, 而且, 所述第三 复数的实部等于与其对应第二复数的虚部系数和实部之和,所述第三复数的虚 部系数等于与其对应第二复数的实部与虚部系数之差, 这样一来,将第二复数 序列中除直流分量和奈奎斯特频率点所对应的数据之外的每一个第二复数做 如上所述的虚实结合处理就可得到 N点的第三复数序列, 即第三复数序列包括 多个第三复数, 其中, 该 N点的第三复数序列中包括第二复数序列中的直流分 量和奈奎斯特频率点所对应的数据,还包括针对第二复数序列中, 除直流分量 和奈奎斯特频率点所对应的数据之外的每一个第二复数,通过虚实结合的处理 方式生成的与所述每一个第二复数对应的第三复数。  In some embodiments of the present invention, for example, in a second complex sequence including a plurality of second complex numbers, each second complex number other than the data corresponding to the direct current component and the Nyquist frequency point is combined by virtual and real a processing manner of generating a third complex number corresponding to each of the second complex numbers, and wherein a real part of the third complex number is equal to a sum of an imaginary part coefficient and a real part of the corresponding second complex number, the third complex number The imaginary part coefficient is equal to the difference between the real part and the imaginary part coefficient corresponding to the second complex number, such that each second of the second complex sequence except the data corresponding to the direct current component and the Nyquist frequency point is second The complex complex processing as described above can obtain the third complex sequence of N points, that is, the third complex sequence includes a plurality of third complex numbers, wherein the third complex sequence of the N points includes the second complex sequence The data corresponding to the direct current component and the Nyquist frequency point further includes, for the second complex number, each second complex number other than the data corresponding to the direct current component and the Nyquist frequency point, Virtual and treatment had generated a third plurality and said second plurality each corresponding.
步骤 105、 对第三复数序列进行 RFFT运算得到第四复数序列。  Step 105: Perform an RFFT operation on the third complex sequence to obtain a fourth complex sequence.
其中, 第四复数序列包括多个第四复数。  The fourth complex sequence includes a plurality of fourth complex numbers.
步骤 106、 将第四复数序列进行虚实结合处理以得到 N点谐波序列。  Step 106: Perform a virtual-solid combination process on the fourth complex sequence to obtain an N-point harmonic sequence.
在本发明的一些实施例中,例如,在包括多个第四复数的第四复数序列中, 除直流分量和奈奎斯特频率点所对应的数据外的每一第四个复数,通过虚实结 合的处理方式生成与所述每一个第四复数对应的第六复数,所述第六复数的实 部等于与其对应第四复数的虚部系数和实部之和,所述第六复数的虚部系数等 于与其对应第四复数的实部与虚部系数之差, 这样一来,将第四复数序列中的 每一个复数做如上所述的虚实结合处理就可得到包含多个第六复数的 N点谐 波序列, 其中, 该 N点谐波序列包括上述第四复数序列中直流分量和奈奎斯特 频率点所对应的数据,还包括针对上述第四复数序列中, 除直流分量和奈奎斯 特频率点所对应的数据之外的每一个第四复数,通过虚实结合的处理方式生成 的与所述每一个第四复数对应的第六复数。 In some embodiments of the present invention, for example, in a fourth complex sequence including a plurality of fourth complex numbers, each fourth complex number other than the data corresponding to the direct current component and the Nyquist frequency point is passed through the virtual reality The combined processing manner generates a sixth complex number corresponding to each of the fourth complex numbers, the real part of the sixth complex number is equal to the sum of the imaginary part coefficient and the real part of the corresponding fourth complex number, and the virtual number of the sixth complex number The coefficient of the part is equal to the difference between the real part and the imaginary part coefficient of the fourth complex number corresponding thereto, so that each of the fourth complex sequence is subjected to the virtual and real combination processing as described above to obtain a plurality of sixth complex numbers. An N-point harmonic sequence, wherein the N-point harmonic sequence includes a DC component and a Nyquist in the fourth complex sequence The data corresponding to the frequency point further includes, for the fourth complex sequence in the fourth complex sequence, each fourth complex number except the data corresponding to the direct current component and the Nyquist frequency point, generated by the combination of the virtual and real processing The sixth complex number corresponding to each fourth complex number.
其中, 两次实虚结合处理的方式相同, 可实现代码复用, 进而有利于节省 代码存储空间。本实施例方案无需进行共轭操作, 而只需对数据进行筒单的加 减操作, 就可在较少运算量和不增加额外存储单元的前提下, 实现复用 RFFT 代码完成谐波计算,且输出结果也可不需要数据提取排序等操作, 完全可对应 最初的实数序列,有利于节省计算时间,也不会增加额外的代码空间和存储空 间。 如需计算谐波幅值、 相位、 总谐波失真 (THD, total harmonic distortion) 等场合, 还能够充分复用代码减少程序存储空间。  Among them, the two real and virtual combined processing methods are the same, which can realize code multiplexing, which is beneficial to save code storage space. In this embodiment, the conjugate operation is not required, and only the addition and subtraction operations of the data are performed, and the harmonic calculation of the multiplexed RFFT code can be realized with less computational complexity and without adding additional storage units. And the output result does not need operations such as data extraction sorting, and can completely correspond to the original real sequence, which is beneficial to save computation time and does not add extra code space and storage space. If you need to calculate harmonic amplitude, phase, total harmonic distortion (THD), etc., you can also fully reuse the code to reduce the program memory space.
需要说明的是, 本发明实施例中的 N, 指的是傅里叶逆变换的点数, 即输 出的谐波序列长度。  It should be noted that N in the embodiment of the present invention refers to the number of points of the inverse Fourier transform, that is, the length of the harmonic sequence output.
此外, 为了得到真实的幅值, 还可以对幅值进行还原, 即经过一个 "除以 N" 的运算(在本发明实施例中可称为 1/N操作)。  Furthermore, in order to obtain a true amplitude, the amplitude can also be restored, i.e., subjected to a "divide by N" operation (which may be referred to as a 1/N operation in the embodiment of the present invention).
举例来说, 在本发明的一实施例中, 步骤 102中的将 N点的电信号序列进 行 N点的 RFFT运算得到第一复数序列可包括以下具体步骤: 在将 N点的电信号 序列除以 N之后, 再进行 N点的 RFFT运算得到第一复数序列。  For example, in an embodiment of the present invention, performing the RFFT operation of the N-point electrical signal sequence in step 102 to obtain the first complex sequence may include the following specific steps: dividing the electrical signal sequence of the N point After N, an N-point RFFT operation is performed to obtain a first complex sequence.
或者, 在本发明的另一实施例中, 步骤 103中的对第一复数序列进行谐波 提取处理得到第二复数序列可包括以下具体步骤: 在对第一复数序列除以 N之 后再进行谐波提取处理得到第二复数序列。  Alternatively, in another embodiment of the present invention, performing harmonic extraction processing on the first complex sequence in step 103 to obtain the second complex sequence may include the following specific steps: performing harmonics after dividing the first complex sequence by N The wave extraction process results in a second complex sequence.
或者, 在本发明的另一实施例中, 步骤 104中的对第二复数序列进行虚实 结合处理以得到第三复数序列可包括以下具体步骤: 在对第二复数序列除以 N 之后, 再进行虚实结合处理以得到第三复数序列。  Alternatively, in another embodiment of the present invention, performing the virtual real combining process on the second complex sequence in step 104 to obtain the third complex sequence may include the following specific steps: after dividing the second complex sequence by N, The virtual and real combination processing is performed to obtain a third complex sequence.
或者, 在本发明的另一实施例中, 步骤 105中的对第三复数序列进行 RFFT 运算得到第四复数序列可包括以下具体步骤: 在对第三复数序列除以 N之后再 进行 RFFT运算得到第四复数序列。  Alternatively, in another embodiment of the present invention, performing an RFFT operation on the third complex sequence in step 105 to obtain the fourth complex sequence may include the following specific steps: performing an RFFT operation after dividing the third complex sequence by N The fourth plural sequence.
或者, 在本发明的另一实施例中, 步骤 106中的将对得到第四复数序列进 行虚实结合处理以得到 N点谐波序列包括以下具体步骤: 在对第四复数序列除 以 N之后, 再进行虚实结合处理以得到 N点谐波序列。 Alternatively, in another embodiment of the present invention, performing the virtual real combining process on the fourth complex sequence to obtain the N point harmonic sequence in step 106 includes the following specific steps: dividing the fourth complex sequence After N, the virtual and real combination processing is performed to obtain an N-point harmonic sequence.
或者, 在本发明的另一实施例中, 也可将得到的 N点谐波序列除以 N之后 再输出。 为了便于更好的理解本发明实施例,以下将对本发明实施例所提供的方法 的依据作一定分析。  Alternatively, in another embodiment of the present invention, the obtained N-point harmonic sequence may be divided by N and output. In order to facilitate a better understanding of the embodiments of the present invention, the basis of the method provided by the embodiments of the present invention will be analyzed.
对于 RFFT来说, 采样的电信号序列可表示为: x(n) = xR (n) , 0<n<N-l 由于采样电信号序列的虚部为 0, 所以 ^据 DFT定义和性质可以得出: For RFFT, the sampled electrical signal sequence can be expressed as: x(n) = x R (n) , 0<n<Nl Since the imaginary part of the sampled electrical signal sequence is 0, the DFT definition and properties can be obtained. Out:
N—1 N—l  N-1 N-l
2πΙσι 2πΙσι
DFT: XR(k) =∑ xR (n) cos h Xj (n) sin - n=0 N N N DFT: X R (k) =∑ x R (n) cos h Xj (n) sin - n=0 NNN
2nkn
Figure imgf000013_0001
Ν 即, RFFT之后, 实部为余弦分量, 是实偶序列, 虚部为正弦分量, 是实 奇序列。
2nkn
Figure imgf000013_0001
Ν That is, after RFFT, the real part is a cosine component, which is a real even sequence, and the imaginary part is a sinusoidal component, which is a real odd sequence.
对于傅立叶逆变换来说, 输入序列是:  For the inverse Fourier transform, the input sequence is:
X(k) = XR(k) + jXI ) , 0≤k≤N_l 其逆变换结果为 χ(η), 根据傅里叶逆变换的性质可得: X(k) = X R (k) + jX I ) , 0 ≤ k ≤ N_l The inverse transformation result is χ(η), which is obtained according to the properties of the inverse Fourier transform:
x(n) = IFFT(X(k))  x(n) = IFFT(X(k))
= IFFT(XR(k)+jXI = IFFT(XR(k))+ j^IFFTiX^k)) = conj(FFT(XR(k))) + j^conj(FFT(X = FFT(XR(k))+ j^(-l)^(FFT(XI 即可得到: x(n) = FFT(XR(k))-jHFFT(X] 其中, 0≤k≤N-l. 需要说明的是, 上式中省略了 1/N操作, 考虑到 1/N只影响最终幅值, 所以 在此处不进行分析, 可以理解的是, 若需得到真实的幅值, 可对结果进行 1/N 操作。 由 (n) = FFT(XR (k)) - j * (FFT(XI (k))可以看出,该结 果中仍含有两个 FFT变换, 且每个变换需要 N个数据, 因此, 还需要对该式 x(n) = FFT(XR (k)) - j * (FFT(XI (k)) = IFFT(X R (k)+jX I = IFFT(X R (k))+ j^IFFTiX^k)) = conj(FFT(X R (k))) + j^conj(FFT(X = FFT (X R (k)) + j^(-l)^(FFT(X I It can be obtained: x(n) = FFT(X R (k)) - jHFFT(X ] where 0 ≤ k ≤ Nl. It should be noted that the 1/N operation is omitted in the above formula, considering 1/N It only affects the final amplitude, so no analysis is done here. It is understandable that if you need to get the true amplitude, you can perform 1/N operation on the result. By (n) = FFT(X R (k)) - j * (FFT(X I (k))) It can be seen that there are still two FFT transforms in the result, and each transform requires N data. Therefore, the equation x(n) = FFT (X R ) is also needed. (k)) - j * (FFT(X I (k))
作进行进一步分析,如 下: 令 s(o = ^ +x, 然后在 ^?0 = +x ) 的两边求 FFT, 得到:  For further analysis, let's find the FFT on both sides of s(o = ^ +x, then ^?0 = +x ) to get:
S(K) = XR(k) + XI(k) · 其中, FFT (XR (k))是纯实数, 而 FFT (X: (k))是纯虚数。 S(K) = X R (k) + X I (k) · where FFT (X R (k)) is a pure real number and FFT (X: (k)) is a pure imaginary number.
因此, 可以得到:  Therefore, you can get:
s = FFT(XR(k)) + FFTiX^k) )=sR+j*Sl 其中, 0≤ k≤ N_l; 其中, s = FFTiX^ + FFTiX^k) )=sR+j 所以, 公 二 FFT - j FFT 環 可以 化筒为: (n) = sR + Sj 其中 Q≤ k≤ N一 γ. 由公式 需要构建 S (K)并对其进行 FFT, 就 能通过公式
Figure imgf000015_0001
还原最初的实数序列 x(n)。 实际上对于存储单 x(n) = sR+s
s = FFT(X R (k)) + FFTiX^k) )=s R+ j* Sl where 0 ≤ k ≤ N _ l; where s = FFTiX^ + FFTiX^k) )=s R +j The second FFT-j FFT ring can be transformed into: (n) = s R + Sj where Q ≤ k ≤ N γ. By formulating S (K) and FFTing it, you can pass the formula
Figure imgf000015_0001
Restore the original real sequence x(n). Actually for the storage list x(n) = s R +s
元数量一致的情况下, 需要构建 S (K)和公式 是完全相同 的表达式, 所以可以共用一个程序段。 从图 2可以看出, 典型的 N点实数序列经过 RFFT变换后, 可以利用其共轭 对称性只存储了一半的数据 (即频谱值), 所以如果要计算 N个点, 还需要还 原另一半的数据, 因为另一半数据与保存的数据共轭对称, 因此 S (K) 的构 建方式可分解为: xRm, 其中, =ο In the case where the number of elements is the same, it is necessary to construct an expression in which S (K) and the formula are exactly the same, so that one block can be shared. It can be seen from Fig. 2 that after a typical N-point real number sequence is RFFT-transformed, only half of the data (ie, the spectral value) can be stored by its conjugate symmetry, so if N points are to be calculated, the other half needs to be restored. The data, because the other half of the data is conjugate symmetric with the saved data, so the construction of S (K) can be decomposed into: x R m, where, =ο
XR(K) + X!(K) ,其中, 0≤ ≤ /2- 1 X R (K) + X!(K) , where 0 ≤ ≤ /2- 1
XR(N 12) ,其中, = /2 X R (N 12) , where = /2
X N-K)-XAN-K) ,实 ,Ν ί2≤Κ≤Ν 显然, χ (η) 同样可以采用上述方法来实现, 在此不再赘述。  X N-K)-XAN-K) , real , Ν ί2 ≤ Κ ≤ Ν Obviously, χ (η) can also be implemented by the above method, and will not be described here.
由上可知, 本实施例将从电力线路中采样电信号以得到 N点的电信号序列 进行 N点的 RFFT运算得到第一复数序列;对第一复数序列进行谐波提取处理得 到第二复数序列; 对第二复数序列进行虚实结合处理以得到第三复数序列; 对 第三复数序列进行 RFFT运算得到第四复数序列; 将第四复数序列进行虚实结 合处理以得到 N点谐波序列,本方案无需在 RFFT前后进行共轭操作,也无需数 据提取操作, 而只需进行两次虚实结合操作, 即进行筒单的加减操作, 所以相 对于现有技术而言, 较为节省计算时间, 且由于可以充分利用 RFFT代码进行 运算, 所以也可节省代码空间。 进一步的, 不需增加额外存储空间, 可以实现 代码空间、 存储单元数量和计算时间综合优化。 为便于更好的理解和实施本发明实施例上述方案,下面还提供用于实施上 述方案的相关装置。 请参见图 3, 本发明实施例还提供一种谐波检测装置 300, 可包括: 采样单 元 301、 第一 RFFT运算单元 302、 谐波提取单元 303、 虚实结合处理单元 304和 第二 RFFT运算单元 305。 As can be seen from the above, in this embodiment, the electrical signal is sampled from the power line to obtain an electrical signal sequence of N points, and the R complex operation of the N point is performed to obtain the first complex sequence; the second complex sequence is obtained by performing harmonic extraction processing on the first complex sequence. Performing a virtual-real combination process on the second complex sequence to obtain a third complex sequence; performing an RFFT operation on the third complex sequence to obtain a fourth complex sequence; and performing a virtual-solid combination process on the fourth complex sequence to obtain an N-point harmonic sequence, the solution There is no need to perform a conjugate operation before and after the RFFT, and no data extraction operation is required, and only two virtual and real combining operations are performed, that is, the addition and subtraction operations of the cartridge are performed, so that the calculation time is saved compared with the prior art, and You can take full advantage of the RFFT code for calculations, so you can save code space. Further, without additional storage space, the code space, the number of storage units, and the calculation time can be comprehensively optimized. In order to facilitate a better understanding and implementation of the above described embodiments of the embodiments of the present invention, related apparatus for implementing the above aspects are also provided below. Referring to FIG. 3, an embodiment of the present invention further provides a harmonic detecting apparatus 300, which may include: a sampling unit 301, a first RFFT operation unit 302, a harmonic extraction unit 303, a virtual real processing unit 304, and a second RFFT operation unit. 305.
其中, 采样单元 301 , 用于从电力线路中采样电信号以得到 N点的电信号 序列。  The sampling unit 301 is configured to sample an electrical signal from the power line to obtain an electrical signal sequence of the N point.
在本发明一些实施例中, 采样单元 301可在一个信号基波周期内, 从电力 线路中等间隔或不等间隔的采样电信号以得到 N点的电信号序列。 例如采样单 元 301可从三相电力线路中, 抽取一个信号基波周期内等间隔或不等间隔的三 相电流信号(或三相电压信号), 以得到每相电流的 N点电流信号序列(或 N点 电压信号序列)。  In some embodiments of the present invention, the sampling unit 301 can sample electrical signals from the power line at intervals or unequal intervals within a signal fundamental period to obtain an electrical signal sequence at point N. For example, the sampling unit 301 can extract a three-phase current signal (or a three-phase voltage signal) at equal intervals or unequal intervals in a signal fundamental period from a three-phase power line to obtain a sequence of N-point current signals of each phase current ( Or N point voltage signal sequence).
第一 RFFT运算单元 302,用于将采样单元 301得到的 N点的电信号序列进行 N点的实数快速傅立叶变换 RFFT运算得到第一复数序列。其中,第一复数序列 包括多个第一复数。  The first RFFT operation unit 302 is configured to perform an N-point real-time fast Fourier transform RFFT operation on the N-point electrical signal sequence obtained by the sampling unit 301 to obtain a first complex sequence. The first complex sequence includes a plurality of first complex numbers.
谐波提取单元 303 , 用于对第一 RFFT运算单元 302得到的第一复数序列进 行谐波提取处理得到第二复数序列。 其中, 第二复数序列包括多个第二复数。  The harmonic extraction unit 303 is configured to perform harmonic extraction processing on the first complex sequence obtained by the first RFFT operation unit 302 to obtain a second complex sequence. The second complex sequence includes a plurality of second complex numbers.
虚实结合处理单元 304,用于对谐波提取单元 303得到的第二复数序列进行 虚实结合处理以得到第三复数序列。 其中, 第三复数序列包括多个第三复数。  The virtual and real combination processing unit 304 is configured to perform a virtual and real combination process on the second complex sequence obtained by the harmonic extraction unit 303 to obtain a third complex sequence. The third complex sequence includes a plurality of third complex numbers.
第二 RFFT运算单元 305, 用于对虚实结合处理单元 304得到的第三复数序 列进行 RFFT运算得到第四复数序列。 其中, 第四复数序列包括多个第四复数。  The second RFFT operation unit 305 is configured to perform an RFFT operation on the third complex sequence obtained by the virtual real combining processing unit 304 to obtain a fourth complex sequence. The fourth complex sequence includes a plurality of fourth complex numbers.
虚实结合处理单元 303还用于将第二 RFFT运算单元 305得到的第四复数序 列进行虚实结合处理以得到 N点谐波序列。  The virtual real processing unit 303 is further configured to perform a virtual real combining process on the fourth complex sequence obtained by the second RFFT operation unit 305 to obtain an N point harmonic sequence.
在本发明一些实施例中, 虚实结合处理单元 304可具体用于, 在谐波提取 单元 303得到的包括多个第二复数的第二复数序列中, 除直流分量和奈奎斯特 频率点所对应的数据之外的每一个第二复数,通过虚实结合的处理方式生成与 所述每一个第二复数对应的第三复数, 而且, 所述第三复数的实部等于与其对 应的第二复数的虚部系数和实部之和,所述第三复数的虚部系数等于与其对应 第二复数的实部与虚部系数之差,通过将每一个第二复数进行虚实结合的处理 以得到第三复数序列。 在本发明一些实施例中, 虚实结合处理单元 304还具体用于, 针对第二 RFFT运算单元 305得到的包括多个第四复数的第四复数序列中,除直流分量和 奈奎斯特频率点所对应的数据之外的每一个第四复数,通过虚实结合的处理方 式生成与所述每一个第四复数对应的第六复数, 而且, 所述第六复数的实部等 于与其对应第四复数的虚部系数和实部之和,所述第六复数的虚部系数等于与 其对应第四复复数的实部与虚部系数之差,通过将每一个第四复数进行虚实结 合的处理以得到包括多个第六复数的 N点谐波序列。 In some embodiments of the present invention, the virtual real processing unit 304 may be specifically configured to: in addition to the direct current component and the Nyquist frequency point, in the second complex sequence including the plurality of second complex numbers obtained by the harmonic extracting unit 303 a second complex number corresponding to each of the second complex numbers is generated by each of the second complex numbers except the corresponding data, and the real part of the third complex number is equal to the second complex number corresponding thereto The sum of the imaginary part coefficient and the real part, the imaginary part coefficient of the third complex number is equal to the difference between the real part and the imaginary part coefficient corresponding to the second complex number, and the second and second complex numbers are combined by the virtual and real parts to obtain the first Three complex sequences. In some embodiments of the present invention, the virtual real processing unit 304 is further configured to: in addition to the DC component and the Nyquist frequency point, the fourth complex sequence including the plurality of fourth complex numbers obtained by the second RFFT operation unit 305 a fourth complex number corresponding to each of the fourth complex numbers is generated by each of the fourth complex numbers other than the corresponding data, and the real part of the sixth complex number is equal to the fourth complex number corresponding thereto The sum of the imaginary part coefficient and the real part, the imaginary part coefficient of the sixth complex number is equal to the difference between the real part and the imaginary part coefficient of the corresponding fourth complex number, and each of the fourth complex numbers is subjected to a combination of virtual and real processing to obtain A plurality of sixth complex N-point harmonic sequences are included.
可以理解, 虚实结合处理单元 304得到的第三复数序列中包括第二复数序 列中的直流分量和奈奎斯特频率点所对应的数据,还包括针对第二复数序列中 除直流分量和奈奎斯特频率点所对应的数据之外的每一个第二复数,通过虚实 结合的处理方式生成的与所述每一个第二复数对应的第三复数。虚实结合处理 单元 304得到的 N点谐波序列中包括上述第四复数序列中的直流分量和奈奎斯 特频率点所对应的数据,还包括针对上述第四复数序列中除直流分量和奈奎斯 特频率点所对应的数据之外的每一个第四复数,通过虚实结合的处理方式生成 的与所述每一个第四复数对应的第六复数。  It can be understood that the third complex sequence obtained by the virtual reality combining processing unit 304 includes the DC component in the second complex sequence and the data corresponding to the Nyquist frequency point, and further includes a DC component and a Nyquivalent component in the second complex sequence. Each second complex number other than the data corresponding to the sterling frequency point is a third complex number corresponding to each of the second complex numbers generated by the combination of the virtual and real processing. The N-point harmonic sequence obtained by the virtual-real combination processing unit 304 includes data corresponding to the DC component and the Nyquist frequency point in the fourth complex sequence, and further includes a DC component and a Nyquivalent component in the fourth complex sequence. Each fourth complex number other than the data corresponding to the sterling frequency point is a sixth complex number corresponding to each of the fourth complex numbers generated by the combination of the virtual and real processing.
需要说明的是, 本发明实施例中的 N, 指的是傅里叶逆变换的点数, 即输 出的谐波序列长度。  It should be noted that N in the embodiment of the present invention refers to the number of points of the inverse Fourier transform, that is, the length of the harmonic sequence output.
此外, 为了得到真实的幅值, 还可以对幅值进行还原, 即经过一个 "除以 N" 的运算(在本发明实施例中可称为 1/N操作)。  Furthermore, in order to obtain a true amplitude, the amplitude can also be restored, i.e., subjected to a "divide by N" operation (which may be referred to as a 1/N operation in the embodiment of the present invention).
在本发明的一些实施例中, 谐波提取单元 303具体用于, 去除第一复数序 列中的基波分量以得到第二复数序列。  In some embodiments of the present invention, the harmonic extraction unit 303 is specifically configured to remove the fundamental component in the first complex sequence to obtain a second complex sequence.
在本发明的一些实施例中, 第一 RFFT运算单元 302可具体用于, 将采样单 元 301得到的 N点的电信号序列除以 N之后,再进行 N点的 RFFT运算得到第一复 数序列。  In some embodiments of the present invention, the first RFFT operation unit 302 may be specifically configured to divide the electrical signal sequence of the N point obtained by the sampling unit 301 by N, and then perform an RFFT operation of the N point to obtain the first complex sequence.
或者,  Or,
谐波提取单元 303可具体用于, 对第一 RFFT运算单元 302进行 RFFT运算得 到的第一复数序列除以 N之后, 再进行谐波提取处理得到第二复数序列。  The harmonic extraction unit 303 is specifically configured to perform a second complex sequence after the first complex sequence obtained by performing the RFFT operation on the first RFFT operation unit 302 is divided by N.
或者, 虚实结合处理单元 304具体用于,对谐波提取单元 303得到的第二复数序列 除以 N之后, 再进行虚实结合处理以得到第三复数序列。 or, The virtual and real combination processing unit 304 is specifically configured to perform a virtual real combining process on the second complex sequence obtained by the harmonic extracting unit 303 by dividing N to obtain a third complex sequence.
或者,  Or,
第二 RFFT运算单元 305具体用于, 对虚实结合处理单元 304得到的第三复 数序列除以 N之后, 再进行 RFFT运算得到第四复数序列。  The second RFFT operation unit 305 is specifically configured to perform a RFFT operation on the third complex sequence obtained by dividing the third complex sequence obtained by the virtual and real combination processing unit 304 by N to obtain a fourth complex sequence.
或者,  Or,
虚实结合处理单元 304还用于, 将第二 RFFT运算单元 305得到的第四复数 序列除以 N之后, 再进行虚实结合处理以得到 N点谐波序列。  The virtual real processing unit 304 is further configured to divide the fourth complex sequence obtained by the second RFFT operation unit 305 by N, and then perform a virtual real combining process to obtain an N point harmonic sequence.
或者,  Or,
虚实结合处理单元 304还用于, 将第二 RFFT运算单元 305得到的第四复数 序列进行虚实结合处理以得到 N点谐波序列, 将该 N点谐波序列除以 N之后输 出。  The virtual real processing unit 304 is further configured to perform a virtual real combining process on the fourth complex sequence obtained by the second RFFT operation unit 305 to obtain an N point harmonic sequence, and output the N point harmonic sequence by N and output.
可以理解, 本实施例的谐波检测装置 300的各功能模块的功能可根据上述 方法实施例中的方法具体实现,其具体实施过程可参见上述方法实施例中的相 关描述, 此处不再赘述。 本实施例谐波检测装置 300可部署在 APF/SVG中, 以 作为 APF/S VG中进行谐波检测的装置。 请参见图 4, 本发明实施例还提供一种谐波消除设备 400, 可包括: 谐波检 测装置 410和电信号反馈装置 420。  It is to be understood that the functions of the functional modules of the harmonic detecting apparatus 300 of the present embodiment may be specifically implemented according to the method in the foregoing method embodiments. For the specific implementation process, refer to the related description in the foregoing method embodiments, and details are not described herein again. . The harmonic detecting device 300 of the present embodiment can be deployed in the APF/SVG as a means for performing harmonic detection in the APF/S VG. Referring to FIG. 4, an embodiment of the present invention further provides a harmonic elimination device 400, which may include: a harmonic detection device 410 and an electrical signal feedback device 420.
其中, 谐波检测装置 410, 用于从电力线路中采样电信号以得到 N点的电 信号序列; 将该 N点的电信号序列进行 N点的 RFFT运算得到第一复数序列; 对 第一复数序列进行谐波提取处理得到第二复数序列;对第二复数序列进行虚实 结合处理以得到第三复数序列; 对第三复数序列进行 RFFT运算得到第四复数 序列; 将第四复数序列进行虚实结合处理以得到 N点谐波序列并输出。  The harmonic detecting device 410 is configured to sample an electrical signal from the power line to obtain an electrical signal sequence of the N point; perform an RFFT operation of the N point electrical signal sequence to obtain a first complex sequence; The sequence is subjected to harmonic extraction processing to obtain a second complex sequence; the second complex sequence is subjected to virtual and real combination processing to obtain a third complex sequence; the third complex sequence is subjected to RFFT operation to obtain a fourth complex sequence; and the fourth complex sequence is subjected to virtual and real combination. Process to obtain an N-point harmonic sequence and output.
电信号反馈装置 420, 用于基于谐波检测装置 410输出的 N点谐波序列生成 补偿电信号,将生成的该补偿电信号反馈至该电力线路以消除该电力线路中产 生的谐波。  The electrical signal feedback device 420 is configured to generate a compensated electrical signal based on the N-point harmonic sequence output by the harmonic detecting device 410, and feed the generated compensated electrical signal to the power line to eliminate harmonics generated in the power line.
在本发明一些实施例中, 谐波检测装置 410可在一个信号基波周期内, 从 电力线路中等间隔或不等间隔的采样电信号以得到 N点的电信号序列。 举例来 说, 谐波检测装置 410例如可从三相电力线路中, 抽取一个信号基波周期内等 间隔或不等间隔的三相电流信号 (或三相电压信号), 以得到每相电流的 N点 电流信号序列 (或 N点电压信号序列)。 In some embodiments of the present invention, the harmonic detecting means 410 may sample the electrical signals from the power line at intervals or unequal intervals within a signal fundamental period to obtain an electrical signal sequence of N points. For example The harmonic detecting device 410 can extract, for example, three-phase current signals (or three-phase voltage signals) at equal intervals or unequal intervals in a signal fundamental period from the three-phase power line to obtain N points of each phase current. Current signal sequence (or N-point voltage signal sequence).
在本发明一些实施例中,谐波检测装置 410例如可采用如图 2所示数据存储 方式进行数据存储。 例如 N点的电信号序列表示为!^〜!^^, 假设用 N个存储单 元存储 N点的电信号序列 (R^R^ ), 将 N点的电信号序列 (R^R^ )进行 N 点的 RFFT运算得到第一复数序列, 将第一复数序列中直流分量和奈奎斯特频 率点对应的数据 (如 R。和 RN/2 )存储在 2个存储单元, 还可将第一复数序列中 剩余的 N-2个复数中的其中 (N-2 ) /2个复数(R^RN/W ) 的实部存储在(N-2 ) /2个存储单元, 并将该(N-2 ) /2个复数的虚部系数存储在 (N-2 ) /2个存储单 元, 因为在第一复数序列中除直流分量和奈奎斯特频率点对应的数据 (如 R。 和 RN/2 )之外的两部分复数(R RN/W )和(RN/2+1~RN-1 )的实部和虚部系数具 有共轭对称性, 因此利用存储的复数(R^RN^ ) 即可恢复出第一复数序列未 存储的复数, 这样可较大省存储空间, 当然, 谐波检测装置 410也可存储第一 复数序列中的 (RN/2+1~RN4 )部分, 不存储第一复数序列中的 (R广 RN/24 ) , 而 据 ( RN/2+1~RN-1 ) 亦可恢复出 (R^RN/W )部分。 可以理解, 其它复数序列中 具有共轭对称性的复数亦可按照这种方式进行存储。 In some embodiments of the present invention, the harmonic detecting device 410 may employ, for example, a data storage method as shown in FIG. 2 for data storage. For example, the sequence of electrical signals at point N is expressed as! ^~!^^, suppose that N memory cells are used to store the N-point electrical signal sequence (R^R^), and the N-point electrical signal sequence (R^R^) is subjected to the N-point RFFT operation to obtain the first complex sequence. And storing the data corresponding to the direct current component and the Nyquist frequency point in the first complex sequence (such as R. and R N/2 ) in two storage units, and further remaining N-2 in the first complex sequence The real part of (N-2)/2 complex numbers (R^RN/W) in the complex number is stored in (N-2)/2 memory cells, and the (N-2)/2 complex virtual The partial coefficients are stored in (N-2) /2 memory locations because of the two parts of the first complex sequence except for the DC component and the Nyquist frequency point corresponding to the data (such as R. and R N/2 ). The real and imaginary coefficients of the complex numbers (R RN/W ) and (R N /2 + 1~RN-1 ) have conjugate symmetry, so the first complex (R^RN^ ) can be used to recover the first The complex sequence is not stored in a complex number, which can save a large storage space. Of course, the harmonic detecting device 410 can also store the (R N/2+1 ~R N4 ) portion in the first complex sequence, and does not store the first complex sequence. the (R Canton R N / 24), and (R N / 2 + 1 ~ RN-1) can recover (R ^ RN / W) section. It will be appreciated that complex numbers having conjugate symmetry in other complex sequences may also be stored in this manner.
在本发明一些实施例中, 谐波检测装置 410对第一复数序列进行谐波提取 处理得到第二复数序列例如可包括:去除第一复数序列中的基波分量以得到第 二复数序列(当然也还可去除不需要次数的谐波分量, 即, 可以只提取一个或 几个所设定次数的谐波分量), 举例来说, 例如可令第一复数序列中的基波分 量为零以得到第二复数序列; 或者,也可令第一复数序列中的谐波分量为零以 得到第五复数序列,而后再用第一复数序列减去第五复数序列以得到第二复数 序列。 其中, 第二复数序列包括多个第二复数。  In some embodiments of the present invention, the harmonic detecting apparatus 410 performs harmonic extraction processing on the first complex sequence to obtain the second complex sequence, for example, including: removing the fundamental component in the first complex sequence to obtain the second complex sequence (of course It is also possible to remove unwanted harmonic components, that is, to extract only one or several set times of harmonic components, for example, for example, the fundamental component in the first complex sequence can be zero. Obtaining a second complex sequence; or alternatively, the harmonic components in the first complex sequence are zero to obtain a fifth complex sequence, and then subtracting the fifth complex sequence from the first complex sequence to obtain a second complex sequence. The second complex sequence includes a plurality of second complex numbers.
在本发明一些实施例中, 谐波检测装置 410对第二复数序列进行虚实结合 处理以得到第三复数序列, 例如可包括: 在包括多个第二复数的第二复数序列 中, 除直流分量和奈奎斯特频率点所对应的数据之外的每一个第二复数,通过 虚实结合的处理方式生成与所述每一个第二复数对应的第三复数, 而且, 所述 第三复数的实部等于与其对应第二复数的虚部系数和实部之和,所述第三复数 的虚部系数等于与其对应第二复数的实部与虚部系数之差, 这样一来,将第二 复数序列中除直流分量和奈奎斯特频率点所对应的数据之外的每一个第二复 数做如上所述的虚实结合处理就可得到 N点的第三复数序列, 即第三复数序列 包括多个第三复数, 其中, 该 N点的第三复数序列中包括第二复数序列中的直 流分量和奈奎斯特频率点所对应的数据,还包括针对第二复数序列中除直流分 量和奈奎斯特频率点所对应的数据之外的每一个第二复数,通过虚实结合的处 理方式生成的与所述每一个第二复数对应的第三复数。 In some embodiments of the present invention, the harmonic detecting device 410 performs a virtual real combining process on the second complex sequence to obtain a third complex sequence. For example, the method may include: excluding a DC component in the second complex sequence including the plurality of second complex numbers And each second complex number other than the data corresponding to the Nyquist frequency point, the third complex number corresponding to each of the second complex numbers is generated by a combination of the virtual and real processing, and The real part of the third complex number is equal to the sum of the imaginary part coefficient and the real part of the second complex number, and the imaginary part coefficient of the third complex number is equal to the difference between the real part and the imaginary part coefficient corresponding to the second complex number, so that a second complex sequence of N points, that is, a second complex sequence of the second complex number in the second complex sequence except for the data corresponding to the direct current component and the Nyquist frequency point is processed as described above. The triple complex sequence includes a plurality of third complex numbers, wherein the third complex sequence of the N points includes data corresponding to the direct current component and the Nyquist frequency point in the second complex sequence, and is further included in the second complex sequence Each of the second complex numbers other than the data corresponding to the DC component and the Nyquist frequency point, the third complex number corresponding to each of the second complex numbers generated by the combination of the virtual and real processes.
在本发明一些实施例中, 谐波检测装置 410将第四复数序列进行虚实结合 处理以得到 N点谐波序列, 例如可包括针对包括多个第四复数的第四复数序列 中, 除直流分量和奈奎斯特频率点所对应的数据外的每一第四个复数,通过虚 实结合的处理方式生成与所述每一个第四复数对应的第六复数,所述第六复数 的实部等于与其对应第四复数的虚部系数和实部之和,所述第六复数的虚部系 数等于与其对应第四复数的实部与虚部系数之差, 这样一来,将第四复数序列 中的每一个复数做如上所述的虚实结合处理就可得到包含多个第六复数的 N 点谐波序列, 其中, 该 N点谐波序列包括上述第四复数序列中直流分量和奈奎 斯特频率点所对应的数据,还包括针对上述第四复数序列中除直流分量和奈奎 斯特频率点所对应的数据之外的每一个第四复数,通过虚实结合的处理方式生 成的与所述每一个第四复数对应的第六复数。  In some embodiments of the present invention, the harmonic detecting device 410 performs a virtual-real combining process on the fourth complex sequence to obtain an N-point harmonic sequence, for example, may include a DC component in a fourth complex sequence including a plurality of fourth complex numbers. And each fourth complex number other than the data corresponding to the Nyquist frequency point, a sixth complex number corresponding to each of the fourth complex numbers is generated by a combination of the virtual and real processing, and the real part of the sixth complex number is equal to Corresponding to the sum of the imaginary part coefficient and the real part of the fourth complex number, the imaginary part coefficient of the sixth complex number is equal to the difference between the real part and the imaginary part coefficient corresponding to the fourth complex number, so that the fourth complex sequence is Each of the complex numbers performs the virtual-real combination processing as described above to obtain an N-point harmonic sequence including a plurality of sixth complex numbers, wherein the N-point harmonic sequence includes the DC component and the Nyquist in the fourth complex sequence. The data corresponding to the frequency point further includes each fourth complex number except the data corresponding to the direct current component and the Nyquist frequency point in the fourth complex sequence, through the virtual solid node The sixth complex number corresponding to each of the fourth complex numbers generated by the combined processing manner.
其中, 两次实虚结合处理的方式相同, 可实现代码复用, 进而有利于节省 代码存储空间。本实施例方案无需进行共轭操作, 而只需对数据进行筒单的加 减操作, 就可在较少运算量和不增加额外存储单元的前提下, 实现复用 RFFT 代码完成谐波计算,且输出结果也可不需要数据提取排序等操作, 完全可对应 最初的实数序列,有利于节省计算时间,也不会增加额外的代码空间和存储空 间。 如需计算谐波幅值、 相位、 总谐波失真(THD )等场合, 还能够充分复用 代码减少程序存储空间。  Among them, the two real and virtual combined processing methods are the same, which can realize code multiplexing, which is beneficial to save code storage space. In this embodiment, the conjugate operation is not required, and only the addition and subtraction operations of the data are performed, and the harmonic calculation of the multiplexed RFFT code can be realized with less computational complexity and without adding additional storage units. And the output result does not need operations such as data extraction sorting, and can completely correspond to the original real sequence, which is beneficial to save computation time and does not add extra code space and storage space. If you need to calculate harmonic amplitude, phase, total harmonic distortion (THD), etc., you can also fully reuse the code to reduce the program memory space.
此外, 为了得到真实的幅值, 在本发明一些实施例中, 谐波检测装置 410 还可以对幅值进行还原, 即经过一个 "除以 N" 的运算(在本发明实施例中可 称为 1/N操作)。 In addition, in order to obtain a true amplitude, in some embodiments of the present invention, the harmonic detecting device 410 can also restore the amplitude, that is, after a "divide by N" operation (in the embodiment of the present invention Called 1/N operation).
举例来说, 在本发明的一实施例中, 谐波检测装置 410可在将 N点的电信 号序列除以 N之后, 再进行 N点的 RFFT运算得到第一复数序列。  For example, in an embodiment of the present invention, the harmonic detecting means 410 may perform the RFFT operation of the N point to obtain the first complex sequence after dividing the signal sequence of the N point by N.
或者, 在本发明的另一实施例中, 谐波检测装置 410可在对第一复数序列 除以 N之后再进行谐波提取处理得到第二复数序列。  Alternatively, in another embodiment of the present invention, the harmonic detecting means 410 may perform harmonic extraction processing after dividing the first complex sequence by N to obtain a second complex sequence.
或者, 在本发明的另一实施例中, 谐波检测装置 410可在对第二复数序列 除以 N之后, 再进行虚实结合处理以得到第三复数序列。  Alternatively, in another embodiment of the present invention, the harmonic detecting means 410 may perform a virtual real combining process after dividing the second complex sequence by N to obtain a third complex sequence.
或者, 在本发明的另一实施例中, 谐波检测装置 410可在对第三复数序列 除以 N之后再进行 RFFT运算得到第四复数序列。  Alternatively, in another embodiment of the present invention, the harmonic detecting means 410 may perform an RFFT operation after dividing the third complex sequence by N to obtain a fourth complex sequence.
或者, 在本发明的另一实施例中, 谐波检测装置 410可在对第四复数序列 除以 N之后, 再进行虚实结合处理以得到 N点谐波序列。  Alternatively, in another embodiment of the present invention, the harmonic detecting means 410 may perform a virtual real combining process after dividing the fourth complex sequence by N to obtain an N point harmonic sequence.
或者, 在本发明的另一实施例中, 谐波检测装置 410可也可将得到的 N点 谐波序列除以 N之后再输出。  Alternatively, in another embodiment of the present invention, the harmonic detecting means 410 may also output the obtained N-point harmonic sequence by N.
可以理解的是,谐波检测装置 410可如谐波检测装置 300, 可具有谐波检测 装置 300的部分或全部功能。谐波检测装置 410的各功能可根据上述方法实施例 中的方法具体实现, 其具体实施过程可参见上述方法实施例中的相关描述, 此 处不再赘述。  It will be appreciated that harmonic detection device 410, such as harmonic detection device 300, may have some or all of the functionality of harmonic detection device 300. The functions of the harmonic detecting device 410 can be specifically implemented according to the method in the foregoing method embodiments. For the specific implementation process, refer to the related description in the foregoing method embodiments, and details are not described herein again.
在本发明的一些实施例中,谐波消除设备 400中的谐波检测装置 410和电信 号反馈装置 420例如可部署在如图 5a— 5c所示的每一个电网拓朴中, 以消除电 网中的谐波。  In some embodiments of the present invention, harmonic detection device 410 and electrical signal feedback device 420 in harmonic cancellation device 400 may be deployed, for example, in each of the power grid topologies shown in Figures 5a-5c to eliminate Harmonics.
为进一步说明本发明谐波消除设备 400的拓朴位置和作用, 下面以谐波消 除设备 400为 APF/SVG为例, 结合并联型补偿谐波电流 APF/SVG进行说明。 值 得指出的是, 本领域的技术人员须知, 对于串联或混联方式的谐波补偿本发明 的原理是同样适用的, 也在本发明的保护范围之内。  To further illustrate the topology position and function of the harmonic elimination device 400 of the present invention, the following description uses the harmonic elimination device 400 as the APF/SVG as an example, combined with the parallel compensation harmonic current APF/SVG. It is to be noted that those skilled in the art will appreciate that the principles of the present invention for harmonic compensation in series or hybrid mode are equally applicable and are within the scope of the present invention.
参见图 5b ,图 5b为并联式接入 APF/SVG补偿无功功率和谐波的补偿的架构 示意图, 非线性负载在电网中运行, APF/SVG并联接入电网, 对非线性负载的 谐波和无功进行补偿。 其中 is (图中包括 iSa、 isb、 iSc )为电源电流, (图中包 括 iLa、 iLb、 ίΐ ) 为负载电 Ί 1Μ (图中包括 i]Ma、 、 IMC ) 为电信号反馈装置 420产生的补偿电流。 See Figure 5b, Figure 5b is a schematic diagram of the parallel connection of APF/SVG compensation for reactive power and harmonic compensation. The nonlinear load is running in the grid, APF/SVG is connected in parallel to the grid, and the harmonics of the nonlinear load are applied. And reactive compensation. Where i s (including i Sa , i sb , i Sc ) is the supply current, (including iLa, iLb, ίΐ in the figure) is the load voltage 1Μ (including i]Ma, IMC) is the electrical signal feedback Device The compensation current generated by 420.
参见图 5c, APF/SVG可通过其中的谐波检测装置 410检测负载电流中的谐 波分量。谐波检测装置 410输出谐波电流序列, 无功检测装置 430可采用经典的 瞬时无功理论计算获得负载电流基波无功,输出无功电流序列, 无功电流序列 与谐波电流序列相加, 得到需要补偿的无功电流序列和谐波电流序列。 图 5c 中的电信号反馈装置 420包括: 电流控制器 421、 直流电压控制器 422和功率器 件 423 (如绝缘栅双极型晶体管 (IGBT, Insulated Gate Bipolar Transistor ) ), 其中, 电流控制器 421和谐波检测装置 410、 无功检测装置 430、 直流电压控制 器 422和功率器件 423连接, 直流电压控制器 422还和功率器件 423连接。 直流电 压控制器 422主要用于输出直流电压调节信号。电流控制器 421主要用于根据无 功电流序列、 谐波电流序列和直流电压控制器 422输出的直流电压调节信号生 成脉沖宽度调制 (PWM, Pulse Width Modulation )信号输出。 功率器件 423主 要用于根据电流控制器 421输出的 PWM信号产生用于补偿谐波和无功的电流 信号输出, 以对负载的无功和谐波电流进行补偿。 功率器件 423产生的补偿电 流 iM (图中包括 iMa、 iMb、 iMc )可与负载电流中的谐波分量大小相等、 方向相 反, 因而二者可互相抵消, 使得电源电流中只含基本有功分量。 Referring to Figure 5c, the APF/SVG can detect harmonic components in the load current through the harmonic detecting means 410 therein. The harmonic detecting device 410 outputs a harmonic current sequence, and the reactive power detecting device 430 can calculate the load current fundamental wave reactive power by using the classical instantaneous reactive power theory calculation, output the reactive current sequence, and add the reactive current sequence and the harmonic current sequence. , get the reactive current sequence and harmonic current sequence to be compensated. The electrical signal feedback device 420 in FIG. 5c includes: a current controller 421, a DC voltage controller 422, and a power device 423 (such as an Insulated Gate Bipolar Transistor (IGBT)), wherein the current controller 421 and The harmonic detecting device 410, the reactive power detecting device 430, the DC voltage controller 422, and the power device 423 are connected, and the DC voltage controller 422 is also connected to the power device 423. The DC voltage controller 422 is mainly used to output a DC voltage adjustment signal. The current controller 421 is mainly configured to generate a pulse width modulation (PWM) signal output according to the reactive current sequence, the harmonic current sequence, and the DC voltage adjustment signal output by the DC voltage controller 422. The power device 423 is mainly used to generate a current signal output for compensating for harmonics and reactive power according to the PWM signal outputted by the current controller 421 to compensate the reactive and harmonic currents of the load. The compensation current i M generated by the power device 423 (including i Ma , i Mb , i Mc in the figure) can be equal to and equal to the harmonic component in the load current, so that the two can cancel each other, so that the power supply current only contains Basic active component.
本发明实施例还提供一种计算机存储介质, 其中, 该计算机存储介质可存 储有程序,该程序执行时包括上述方法实施例中记载的数据处理方法的部分或 全部步骤。 需要说明的是, 对于前述的各方法实施例, 为了筒单描述, 故将其都表述 为一系列的动作组合,但是本领域技术人员应该知悉, 本发明实施例并不受所 描述的动作顺序的限制, 因为依据本发明实施例, 某些步骤可以采用其他顺序 或者同时进行。 其次, 本领域技术人员也应该知悉, 说明书中所描述的实施例 均属于优选实施例, 所涉及的动作和模块并不一定是本发明所必须的。  The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of the data processing method described in the foregoing method embodiments. It should be noted that, for each of the foregoing method embodiments, for the description of the package, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiments of the present invention are not subject to the described action sequence. Limitations, as certain steps may be performed in other orders or concurrently in accordance with embodiments of the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中, 对各个实施例的描述都各有侧重, 某个实施例中没 有详述的部分, 可以参见其他实施例的相关描述。  In the above embodiments, the descriptions of the various embodiments are different, and the details are not described in detail in an embodiment, and the related descriptions of other embodiments can be referred to.
综上, 本发明实施例提供的技术方案中, 将从电力线路中采样电信号以 得到 N点的电信号序列进行 N点的 RFFT运算得到第一复数序列;对第一复数序 列进行谐波提取处理得到第二复数序列;对第二复数序列进行虚实结合处理以 得到第三复数序列; 对第三复数序列进行 RFFT运算得到第四复数序列; 将第 四复数序列进行虚实结合处理以得到 N点谐波序列, 本方案无需在 FFT前后进 行共轭操作, 也无需数据提取操作, 而只需进行两次虚实结合操作, 即进行筒 单的加减操作, 所以相对于现有技术而言, 较为节省计算时间, 且由于可以充 分利用 RFFT代码进行运算, 所以也可节省代码空间。 In summary, in the technical solution provided by the embodiment of the present invention, an electrical signal is sampled from a power line to obtain an N-point electrical signal sequence, and an N-point RFFT operation is performed to obtain a first complex sequence; The column performs harmonic extraction processing to obtain a second complex sequence; the second complex sequence is subjected to virtual and real combination processing to obtain a third complex sequence; the third complex sequence is subjected to RFFT operation to obtain a fourth complex sequence; and the fourth complex sequence is subjected to virtual and real combination Processing to obtain the N-point harmonic sequence, the scheme does not need to perform the conjugate operation before and after the FFT, and does not need the data extraction operation, but only needs to perform the virtual and real combination operations twice, that is, the addition and subtraction operation of the cartridge, so compared with the existing In terms of technology, the calculation time is saved, and the code space can be saved because the RFFT code can be fully utilized for calculation.
进一步的, 不需增加额外存储空间, 可以实现代码空间、 存储单元数量和 计算时间综合优化。  Further, no additional storage space is required, and the code space, the number of storage units, and the calculation time can be comprehensively optimized.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读 存储介质中, 存储介质可以包括: 只读存储器、 随机存储器、 磁盘或光盘等。  A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be completed by a program instructing related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Read-only memory, random access memory, disk or optical disk, etc.
以上对本发明实施例所提供的一种谐波检测方法及相关装置进行了详细 施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时,对于本领域 的一般技术人员,依据本发明的思想, 在具体实施方式及应用范围上均会有改 变之处, 综上, 本说明书内容不应理解为对本发明的限制。  The foregoing detailed description of a method for detecting harmonics and related devices provided by the embodiments of the present invention is only for helping to understand the method and core idea of the present invention. Meanwhile, for those skilled in the art, The present invention is not limited by the scope of the present invention.

Claims

权 利 要 求 Rights request
1、 一种谐波检测方法, 其特征在于, 包括:  A harmonic detection method, characterized in that it comprises:
从电力线路中采样电信号以得到 N点的电信号序列;  Sampling an electrical signal from a power line to obtain an electrical signal sequence at point N;
将所述 N点的电信号序列进行 N点的实数快速傅立叶变换 RFFT运算得到 第一复数序列;  Performing a real-time fast Fourier transform of the N-point electrical signal sequence by an N-point RFFT operation to obtain a first complex sequence;
对所述第一复数序列进行谐波提取处理得到第二复数序列;  Performing harmonic extraction processing on the first complex sequence to obtain a second complex sequence;
对所述第二复数序列进行虚实结合处理以得到第三复数序列;  Performing a virtual real combination process on the second complex sequence to obtain a third complex sequence;
对所述第三复数序列进行实数快速傅立叶变换 RFFT运算得到第四复数序 歹 ij ; 以及  Performing a real fast Fourier transform RFFT operation on the third complex sequence to obtain a fourth complex order 歹 ij ;
将所述第四复数序列进行虚实结合处理以得到 N点谐波序列。  The fourth complex sequence is subjected to a virtual real combining process to obtain an N point harmonic sequence.
2、根据权利要求 1所述的谐波检测方法, 其特征在于, 所述从电力线路中 采样电信号以得到 N点的电信号序列的步骤包括:  The harmonic detecting method according to claim 1, wherein the step of sampling the electrical signal from the power line to obtain the electrical signal sequence of the N point comprises:
在一个信号基波周期内, 从电力线路中等间隔的采样电信号以得到 N点的 电信号序列。  During a signal fundamental period, electrical signals are sampled at equal intervals from the power line to obtain an electrical signal sequence at point N.
3、根据权利要求 1所述的谐波检测方法, 其特征在于, 所述对所述第一复 数序列进行谐波提取处理得到第二复数序列的步骤包括:  The harmonic detecting method according to claim 1, wherein the step of performing harmonic extraction processing on the first complex sequence to obtain a second complex sequence comprises:
去除所述第一复数序列中的基波分量以得到所述第二复数序列; 或者,  Removing a fundamental component in the first complex sequence to obtain the second complex sequence; or
令所述第一复数序列中的谐波分量为零以得到第五复数序列,而后再用所 述第一复数序列减去所述第五复数序列以得到所述第二复数序列。  The harmonic component of the first complex sequence is zeroed to obtain a fifth complex sequence, and then the fifth complex sequence is subtracted from the first complex sequence to obtain the second complex sequence.
4、根据权利要求 1所述的谐波检测方法, 其特征在于, 所述对所述第二复 数序列进行虚实结合处理的步骤包括:  The method of detecting harmonics according to claim 1, wherein the step of performing a virtual-solid combination process on the second plurality of sequences comprises:
在包括多个第二复数的所述第二复数序列中,除直流分量和奈奎斯特频率 点所对应的数据之外的每一个第二复数,通过虚实结合的处理方式生成与所述 每一个第二复数对应的第三复数, 其中, 所述第三复数的实部等于对应第二复 数的虚部系数和实部之和,所述第三复数的虚部系数等于对应第二复数的实部 与虚部系数之差。  In the second complex sequence including the plurality of second complex numbers, each second complex number other than the data corresponding to the direct current component and the Nyquist frequency point is generated by the combination of the virtual and real processes a second complex number corresponding to the second complex number, wherein the real part of the third complex number is equal to the sum of the imaginary part coefficient and the real part corresponding to the second complex number, and the imaginary part coefficient of the third complex number is equal to the corresponding second complex number The difference between the real part and the imaginary part coefficient.
5、根据权利要求 1所述的谐波检测方法, 其特征在于, 所述将所述第四复 数序列进行虚实结合处理的步骤包括: The method of detecting harmonics according to claim 1, wherein said said fourth complex The steps of performing the virtual and real combination processing on the sequence of numbers include:
在包括多个第四复数的所述第四复数序列中,除直流分量和奈奎斯特频率 点所对应的数据之外的每一个第四复数,通过虚实结合的处理方式生成与所述 每一个第四复数对应的第六复数, 其中, 所述第六复数的实部等于对应第四复 数的虚部系数和实部之和,所述第六复数的虚部系数等于对应第四复数的实部 与虚部系数之差。  In the fourth complex sequence including a plurality of fourth complex numbers, each fourth complex number other than the data corresponding to the direct current component and the Nyquist frequency point is generated by the combination of the virtual and real processing a sixth complex number corresponding to the fourth complex number, wherein the real part of the sixth complex number is equal to the sum of the imaginary part coefficient and the real part of the corresponding fourth complex number, and the imaginary part coefficient of the sixth complex number is equal to the corresponding fourth complex number The difference between the real part and the imaginary part coefficient.
6、 根据权利要求 1至 5任一项所述的谐波检测方法, 其特征在于, 所述将 所述 N点的电信号序列进行 N点的实数快速傅立叶变换 RFFT运算得到第一复 数序列的步骤包括: 将所述 N点的电信号序列除以所述 N之后, 再进行 N点的 RFFT运算得到第一复数序列;  The harmonic detecting method according to any one of claims 1 to 5, wherein the electric signal sequence of the N point is subjected to a real fast Fourier transform (RFFT) operation of N points to obtain a first complex sequence. The step includes: dividing the electrical signal sequence of the N point by the N, and performing an RFFT operation of the N point to obtain a first complex sequence;
或者,  Or,
所述对所述第一复数序列进行谐波提取处理得到第二复数序列的步骤包 括: 在对所述第一复数序列除以所述 N之后再进行谐波提取处理得到第二复数 序列;  The step of performing harmonic extraction processing on the first complex sequence to obtain the second complex sequence includes: performing harmonic extraction processing on the first complex sequence by dividing the N to obtain a second complex sequence;
或者,  Or,
所述对所述第二复数序列进行虚实结合处理以得到第三复数序列的步骤 包括: 在对所述第二复数序列除以所述 N之后, 再进行虚实结合处理以得到第 三复数序列;  The step of performing a virtual-real combination process on the second complex sequence to obtain a third complex sequence includes: after dividing the second complex sequence by the N, performing a virtual-real combination process to obtain a third complex sequence;
或者, 所述对所述第三复数序列进行 RFFT运算得到第四复数序列的步骤 包括:在对所述第三复数序列除以所述 N之后再进行 RFFT运算得到第四复数序 歹' J ;  Or the step of performing an RFFT operation on the third complex sequence to obtain a fourth complex sequence includes: performing an RFFT operation on the third complex sequence by dividing the N to obtain a fourth complex sequence 歹' J;
或者,  Or,
所述将所述第四复数序列进行虚实结合处理以得到 N点谐波序列的步骤 包括: 在将所述第四复数序列除以所述 N之后, 再进行虚实结合处理以得到 N 点谐波序列;  The step of performing the virtual and real combination processing on the fourth complex sequence to obtain the N-point harmonic sequence includes: after dividing the fourth complex sequence by the N, performing a virtual-solid combination process to obtain an N-point harmonic Sequence
或者,  Or,
所述谐波检测方法还包括:  The harmonic detection method further includes:
将得到的所述 N点谐波序列除以所述 Dividing the obtained N-point harmonic sequence by the stated
7、 一种谐波检测装置, 其特征在于, 包括: 7. A harmonic detecting device, comprising:
采样单元, 用于从电力线路中采样电信号以得到 N点的电信号序列; 第一 RFFT运算单元,用于将所述采样单元得到的 N点的电信号序列进行 N 点的实数快速傅立叶变换 RFFT运算得到第一复数序列;  a sampling unit, configured to sample an electrical signal from the power line to obtain an electrical signal sequence of N points; a first RFFT operation unit, configured to perform an N-point real fast Fourier transform of the electrical signal sequence of the N point obtained by the sampling unit The RFFT operation obtains the first complex sequence;
谐波提取单元, 用于对所述第一 RFFT运算单元得到的第一复数序列进行 谐波提取处理得到第二复数序列;  And a harmonic extraction unit, configured to perform harmonic extraction processing on the first complex sequence obtained by the first RFFT operation unit to obtain a second complex sequence;
虚实结合处理单元,用于对所述谐波提取单元得到的第二复数序列进行虚 实结合处理以得到第三复数序列;  a virtual and real combination processing unit, configured to perform a virtual combination process on the second complex sequence obtained by the harmonic extraction unit to obtain a third complex sequence;
第二 RFFT运算单元, 用于对所述虚实结合处理单元得到的第三复数序列 进行 RFFT运算得到第四复数序列; 以及  a second RFFT operation unit, configured to perform an RFFT operation on the third complex sequence obtained by the virtual real processing unit to obtain a fourth complex sequence;
所述虚实结合处理单元还用于, 将所述第二 RFFT运算单元得到的第四复 数序列进行虚实结合处理以得到 N点谐波序列。  The virtual real processing unit is further configured to perform a virtual real combining process on the fourth complex sequence obtained by the second RFFT operation unit to obtain an N point harmonic sequence.
8、 根据权利要求 7所述的谐波检测装置, 其特征在于,  8. The harmonic detecting apparatus according to claim 7, wherein:
所述虚实结合处理单元具体用于,在所述谐波提取单元得到的包括多个第 二复数的所述第二复数序列中,除直流分量和奈奎斯特频率点所对应的数据之 外的每一个第二复数,通过虚实结合的处理方式生成与所述每一个第二复数对 应的第三复数, 其中, 所述第三复数的实部等于对应第二复数的虚部系数和实 部之和, 所述第三复数的虚部系数等于对应第二复数的实部与虚部系数之差, 以得到包括多个第三复数的第三复数序列。  The virtual-real combination processing unit is specifically configured to: in the second complex sequence including the plurality of second complex numbers obtained by the harmonic extraction unit, except for the data corresponding to the direct current component and the Nyquist frequency point Each second complex number generates a third complex number corresponding to each of the second complex numbers by a combination of the virtual and real processes, wherein the real part of the third complex number is equal to the imaginary part coefficient and the real part corresponding to the second complex number And a sum of the imaginary part of the third complex number is equal to a difference between the real part and the imaginary part coefficient corresponding to the second complex number to obtain a third complex sequence including a plurality of third complex numbers.
9、 根据权利要求 7所述的谐波检测装置, 其特征在于, 所述虚实结合处理 单元还具体用于, 在所述第二 RFFT运算单元得到的包括多个第四复数的第四 复数序列中,除直流分量和奈奎斯特频率点所对应的数据之外的每一个第四复 数,通过虚实结合的处理方式生成与所述每一个第四复数对应的第六复数, 其 中, 所述第六复数的实部等于对应第四复数的虚部系数和实部之和, 所述第六 复数的虚部系数等于对应第四复数的实部与虚部系数之差,以得到包括多个第 六复数的 N点谐波序列。  The harmonic detecting apparatus according to claim 7, wherein the virtual real processing unit is further configured to: use, in the second RFFT operation unit, a fourth complex sequence including a plurality of fourth complex numbers a fourth complex number corresponding to each of the fourth complex numbers, wherein each of the fourth complex numbers other than the data corresponding to the direct current component and the Nyquist frequency point is generated by a combination of the virtual and real processes, wherein The real part of the sixth complex number is equal to the sum of the imaginary part coefficient and the real part corresponding to the fourth complex number, and the imaginary part coefficient of the sixth complex number is equal to the difference between the real part and the imaginary part coefficient corresponding to the fourth complex number to obtain a plurality of The sixth complex N-point harmonic sequence.
10、 根据权利要求 7至 9任一项所述的谐波检测装置, 其特征在于, 所述第一 RFFT运算单元具体用于,将所述采样单元得到的 N点的电信号序 列除以所述 N之后, 再进行 N点的 RFFT运算得到第一复数序列; The harmonic detecting apparatus according to any one of claims 7 to 9, wherein the first RFFT operation unit is specifically configured to: the electric signal sequence of the N point obtained by the sampling unit After dividing the column by the N, performing an RFFT operation of N points to obtain a first complex sequence;
或者,  Or,
所述谐波提取单元具体用于, 对所述第一 RFFT运算单元进行 RFFT运算得 到的所述第一复数序列除以所述 N之后, 再进行谐波提取处理得到第二复数序 列;  The harmonic extraction unit is specifically configured to: after the first complex sequence obtained by performing an RFFT operation on the first RFFT operation unit is divided by the N, perform harmonic extraction processing to obtain a second complex sequence;
或者,  Or,
所述虚实结合处理单元具体用于,对所述谐波提取单元得到的所述第二复 数序列除以所述 N之后, 再进行虚实结合处理以得到第三复数序列;  The virtual and real combination processing unit is specifically configured to: after dividing the second complex sequence obtained by the harmonic extraction unit by the N, perform a virtual real combination process to obtain a third complex sequence;
或者,  Or,
所述第二 RFFT运算单元具体用于, 对所述虚实结合处理单元得到的第三 复数序列除以所述 N之后, 再进行 RFFT运算得到第四复数序列;  The second RFFT operation unit is specifically configured to: after dividing the third complex sequence obtained by the virtual and real combination processing unit by the N, perform an RFFT operation to obtain a fourth complex sequence;
或者,  Or,
所述虚实结合处理单元还用于, 将所述第二 RFFT运算单元得到的所述第 四复数序列除以所述 N之后, 再进行虚实结合处理以得到 N点谐波序列;  The virtual real processing unit is further configured to: after dividing the fourth complex sequence obtained by the second RFFT operation unit by the N, perform a virtual real combining process to obtain an N point harmonic sequence;
或者,  Or,
所述虚实结合处理单元还用于, 将所述第二 RFFT运算单元得到的所述第 四复数序列进行虚实结合处理以得到 N点谐波序列, 将所述 N点谐波序列除以 所述 N之后输出。  The virtual real processing unit is further configured to perform a virtual real combining process on the fourth complex sequence obtained by the second RFFT operation unit to obtain an N point harmonic sequence, and divide the N point harmonic sequence by the Output after N.
11、 一种谐波消除设备, 其特征在于, 包括:  11. A harmonic elimination device, comprising:
谐波检测装置, 用于从电力线路中采样电信号以得到 N点的电信号序列; 将所述 N点的电信号序列进行 N点的实数快速傅立叶变换 RFFT运算得到第一 复数序列; 对所述第一复数序列进行谐波提取处理得到第二复数序列; 对所述 第二复数序列进行虚实结合处理以得到第三复数序列;对所述第三复数序列进 行 RFFT运算得到第四复数序列; 将所述第四复数序列进行虚实结合处理以得 到 N点谐波序列并输出;  a harmonic detecting device, configured to sample an electrical signal from a power line to obtain an electrical signal sequence of N points; and perform a real-time fast Fourier transform RFFT operation of the N-point electrical signal sequence to obtain a first complex sequence; The first complex sequence is subjected to harmonic extraction processing to obtain a second complex sequence; the second complex sequence is subjected to a virtual real combination process to obtain a third complex sequence; and the third complex sequence is subjected to an RFFT operation to obtain a fourth complex sequence; Performing a virtual-solid combination process on the fourth complex sequence to obtain an N-point harmonic sequence and outputting;
电信号反馈装置, 用于基于所述谐波检测装置输出的所述 N点谐波序列生 成补偿电信号,将生成的所述补偿电信号反馈至所述电力线路以消除所述电力 线路中产生的谐波。 An electric signal feedback device, configured to generate a compensation electric signal based on the N-point harmonic sequence output by the harmonic detecting device, and feed back the generated compensation electric signal to the power line to eliminate generation in the power line Harmonics.
12、 一种计算机存储介质, 其特征在于, 12. A computer storage medium, characterized in that
所述计算机存储介质存储有程序, 所述程序执行时包括如权利要求 1至 6 一项所述的步骤。  The computer storage medium stores a program, and the program execution includes the steps of one of claims 1 to 6.
PCT/CN2012/075884 2012-05-22 2012-05-22 Harmonic detection method and relevant device WO2013173975A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201280003068.4A CN103547328B (en) 2012-05-22 2012-05-22 Harmonic detecting method and relevant apparatus
PCT/CN2012/075884 WO2013173975A1 (en) 2012-05-22 2012-05-22 Harmonic detection method and relevant device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/075884 WO2013173975A1 (en) 2012-05-22 2012-05-22 Harmonic detection method and relevant device

Publications (1)

Publication Number Publication Date
WO2013173975A1 true WO2013173975A1 (en) 2013-11-28

Family

ID=49623001

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/075884 WO2013173975A1 (en) 2012-05-22 2012-05-22 Harmonic detection method and relevant device

Country Status (2)

Country Link
CN (1) CN103547328B (en)
WO (1) WO2013173975A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105137176A (en) * 2015-08-12 2015-12-09 吕锦柏 Signal harmonic analysis method for using fast triangular-form Fourier transform

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104535836B (en) * 2014-12-29 2017-05-10 广东电网有限责任公司电力科学研究院 Electric signal fundamental frequency measuring method and system
CN105116218B (en) * 2015-07-15 2018-11-02 厦门大学 Power circuit current harmonics detection method based on input Observer Theory
CN105067881A (en) * 2015-07-24 2015-11-18 淄博格瑞恩电气科技有限公司 Harmonic detection-based electrical safety monitoring method
CN105911350B (en) * 2016-04-05 2018-11-02 苏州大学 The adaptive recurrence SVFT harmonic waves order components real-time detection method of frequency and system
CN109358223A (en) * 2018-09-29 2019-02-19 海特尔机电工程技术(马鞍山)有限公司 A kind of sliding window DFT harmonic current detecting method and device, storage medium
CN117074778B (en) * 2023-10-16 2024-01-19 南方电网科学研究院有限责任公司 Harmonic extraction method and device based on load scene and computer equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4937457A (en) * 1989-02-10 1990-06-26 Slm Instruments, Inc. Picosecond multi-harmonic fourier fluorometer
EP1098206A2 (en) * 1999-11-02 2001-05-09 Mitsubishi Denki Kabushiki Kaisha Radar system and coherent integrating method therefor
CN101113995A (en) * 2007-08-29 2008-01-30 湖南大学 Base wave and harmonic detecting method based on Nuttall window double peak interpolation FFT
CN101403774A (en) * 2008-11-07 2009-04-08 扬州中凌高科技发展有限公司 Harmonic wave analysis method based on non-synchronous sampling
CN101701982A (en) * 2009-11-16 2010-05-05 浙江大学 Method for detecting harmonic waves of electric system based on window and interpolated FFT
EP2278354A2 (en) * 2009-07-20 2011-01-26 Rohde & Schwarz GmbH & Co. KG Method and device for determining periodic signal sections

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6229315B1 (en) * 1995-05-25 2001-05-08 Stephen J. Briggs Hand-held harmonics detector
JP2006266684A (en) * 2005-03-22 2006-10-05 Meidensha Corp Higher harmonic detection apparatus
CN101261292A (en) * 2008-04-14 2008-09-10 湖南大学 Base wave and harmonic detection method based on fiver item Rife-Vincent(1)window double spectral line interpolation FFT
CN101587146B (en) * 2009-06-10 2011-04-27 湖南大学 Parameter detection method for harmonic wave and indirect harmonic wave
CN102338827B (en) * 2011-06-10 2013-04-24 中国矿业大学 Method for analyzing electric network waveform distortions and automatically monitoring electric power harmonic parameters

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4937457A (en) * 1989-02-10 1990-06-26 Slm Instruments, Inc. Picosecond multi-harmonic fourier fluorometer
EP1098206A2 (en) * 1999-11-02 2001-05-09 Mitsubishi Denki Kabushiki Kaisha Radar system and coherent integrating method therefor
CN101113995A (en) * 2007-08-29 2008-01-30 湖南大学 Base wave and harmonic detecting method based on Nuttall window double peak interpolation FFT
CN101403774A (en) * 2008-11-07 2009-04-08 扬州中凌高科技发展有限公司 Harmonic wave analysis method based on non-synchronous sampling
EP2278354A2 (en) * 2009-07-20 2011-01-26 Rohde & Schwarz GmbH & Co. KG Method and device for determining periodic signal sections
CN101701982A (en) * 2009-11-16 2010-05-05 浙江大学 Method for detecting harmonic waves of electric system based on window and interpolated FFT

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105137176A (en) * 2015-08-12 2015-12-09 吕锦柏 Signal harmonic analysis method for using fast triangular-form Fourier transform

Also Published As

Publication number Publication date
CN103547328B (en) 2015-12-23
CN103547328A (en) 2014-01-29

Similar Documents

Publication Publication Date Title
WO2013173975A1 (en) Harmonic detection method and relevant device
Krishnanand et al. A new real-time fast discrete S-transform for cross-differential protection of shunt-compensated power systems
Li et al. On the spin separation of algebraic two-component relativistic Hamiltonians: Molecular properties
Panda et al. Novel schemes used for estimation of power system harmonics and their elimination in a three-phase distribution system
Panda et al. Analysis of cascaded multilevel inverters for active harmonic filtering in distribution networks
Elrayyah et al. Robust phase locked‐loop algorithm for single‐phase utility‐interactive inverters
Cherif et al. Dispersion field analysis using discrete wavelet transform for inter-turn stator fault detection in induction motors
Zhong et al. Harmonic analysis model for voltage source converter under unbalanced conditions
Panigrahi et al. A robust extended complex kalman filter and sliding-mode control based shunt active power filter
Guo et al. Simple synchronisation technique for three‐phase grid‐connected distributed generation systems
Milošević et al. A Taylor polynomial approach in approximations of solution to pantograph stochastic differential equations with Markovian switching
Ngo et al. A self-tuning grid synchronization method for active power filters
Cardenas et al. Real-time evaluation of power quality using FPGA based measurement system
CN103324864A (en) Method for solving specific harmonic cancellation pulse width modulation inverter switching angle
CN103262067A (en) Data processing method, data processing device and communication system
Srivastava et al. A certain class of rapidly convergent series representations for ζ (2n+ 1)
Patel et al. Implementation of FFT algorithm using DSP TMS320F28335 for shunt active power filter
Chittora et al. Design, analysis, and implementation of proportional‐resonant filters for shunt compensation
JP2013078180A (en) Signal processor and signal processing method
Subroto et al. Modeling of a multilevel voltage source converter using the fast time-domain method
Cariñena et al. Star-product in the presence of a monopole
Yepes et al. Current harmonic compensation in symmetrical multiphase machines by resonant controllers in synchronous reference frames—Part 2: Computational load
Zhang et al. A generalized harmonic extraction algorithm based on multi-window average filter under synchronous rotating frame
Ouari et al. High selectivity filter based reference current generation method for three-level shunt active power filters under adverse source voltage conditions
Kujan et al. Complete fast analytical solution of the optimal odd single-phase multilevel problem

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12877256

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12877256

Country of ref document: EP

Kind code of ref document: A1