CN117330834A - Dual-sampling-based power grid harmonic content testing method and system - Google Patents

Dual-sampling-based power grid harmonic content testing method and system Download PDF

Info

Publication number
CN117330834A
CN117330834A CN202311296703.9A CN202311296703A CN117330834A CN 117330834 A CN117330834 A CN 117330834A CN 202311296703 A CN202311296703 A CN 202311296703A CN 117330834 A CN117330834 A CN 117330834A
Authority
CN
China
Prior art keywords
data
module
power grid
harmonic
frequency
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311296703.9A
Other languages
Chinese (zh)
Inventor
于维杰
李本卿
解昌顺
蒋云凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongying Power Supply Co of State Grid Shandong Electric Power Co Ltd
Original Assignee
Dongying Power Supply Co of State Grid Shandong Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongying Power Supply Co of State Grid Shandong Electric Power Co Ltd filed Critical Dongying Power Supply Co of State Grid Shandong Electric Power Co Ltd
Priority to CN202311296703.9A priority Critical patent/CN117330834A/en
Publication of CN117330834A publication Critical patent/CN117330834A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R23/00Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
    • G01R23/16Spectrum analysis; Fourier analysis
    • G01R23/163Spectrum analysis; Fourier analysis adapted for measuring in circuits having distributed constants
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R23/00Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
    • G01R23/02Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage
    • G01R23/06Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage by converting frequency into an amplitude of current or voltage
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R23/00Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
    • G01R23/16Spectrum analysis; Fourier analysis

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)

Abstract

The invention relates to a method and a system for testing harmonic content of a power grid based on double sampling, wherein the method comprises the following steps: setting the fixed sampling frequency as Z kHz, and carrying out first resampling and obtaining first resampled data; the first resampled data is subjected to autocorrelation calculation, and the alternating current signal is converted into a pure sinusoidal signal; acquiring the period and the frequency of a pure sinusoidal signal, and performing second resampling on the alternating current signal according to the fixed sampling frequency and the fundamental frequency of the power grid to acquire second resampling data; and carrying out FFT calculation by adopting the second resampling data to obtain the contents of fundamental waves and harmonic waves. The system comprises a battery module, an electric parameter acquisition module, a data processing module, a display module and a data storage module. The invention solves the problems of large calculation amount required by the harmonic testing method and the problem of cost improvement caused by the enlarged volume of the testing device in the prior art, and can improve the calculation efficiency and miniaturize the testing device.

Description

Dual-sampling-based power grid harmonic content testing method and system
Technical Field
The invention belongs to the technical field of power grid electric energy metering, and particularly relates to a power grid harmonic content testing method and system based on double sampling.
Background
At present, a plurality of photovoltaic power generation devices are distributed in a power supply district in a part of areas, and after the photovoltaic power generation devices are integrated into a power grid, the power quality output by a photovoltaic inverter, particularly the harmonic content of the alternating current side of the inverter, needs to be tested.
In the prior art, common methods for harmonic analysis include a frequency scanning method, a wavelet analysis method, a mutation theory method and an FFT (fast Fourier transform) method, and the FFT method is currently more common. When the FFT method is used for sampling the electric signal, if the sampling frequency is fixed, the tiny change of the sampled signal frequency can lead to the fact that the data window can not record an integer number of periods, and then frequency spectrum leakage and errors of harmonic analysis data occur. In order to solve the above problems, a method is often adopted, in which a window function is adjusted, the length of a fourier time window is lengthened, or a frequency adaptive algorithm is adopted, but the calculation amount is increased in the above method, so that the requirement on the hardware level is increased, and the volume and the cost of the testing device are further increased.
Disclosure of Invention
The invention provides a double sampling-based power grid harmonic content testing method and system, which solve the problems of large calculated amount required by a harmonic testing method in the prior art and cost improvement caused by the large size of a testing device.
A method for testing harmonic content of a power grid based on double sampling comprises the following steps:
setting the fixed sampling frequency as Z kHz; performing first resampling on the alternating current signal at the fixed sampling frequency and obtaining first resampled data;
performing autocorrelation calculation on the first resampled data to convert the alternating current signal into a pure sinusoidal signal;
acquiring the period and the frequency of the pure sinusoidal signal, and respectively recording the period and the frequency as the period of the fundamental wave of the power gridT 0 And the fundamental frequency of the power gridf 0
The alternating current signal is subjected to second resampling according to the fixed sampling frequency and the fundamental frequency of the power grid to obtain second resampled data
And carrying out FFT calculation by adopting the second resampling data to obtain the contents of fundamental waves and harmonic waves.
Further, the calculation formula of the first resampled data is:
wherein,s(n) For the first resampled data the second data,x(n) As the fundamental component of the wave,h(n) Is a harmonic component.
Further, the first resampled data hasNA sampling period, the fundamental component is a periodic signal, and hasMA sampling period, and
further, the autocorrelation function calculation formula of the first resampled data is:
wherein,r(m) Is the pure sinusoidal signal.
A system for implementing the method of claim 1, the system comprising a battery module, an electrical parameter acquisition module, a data processing module, a display module, and a data storage module.
Further, the power module adopts a lithium battery to supply power for the electric parameter acquisition module, the data processing module, the display module and the data storage module.
Further, the electrical parameter acquisition module is used for converting an output signal of the current transformer into a voltage signal, performing amplitude limiting processing on the voltage signal and then transmitting the voltage signal to the data processing module.
Further, the data processing module is configured to receive an output signal of the electrical parameter acquisition module, and perform analog-to-digital conversion on the output signal to obtain digital quantity signals corresponding to voltages and currents in the first resampled data and the second resampled data; the data processing module can carry out harmonic analysis through the digital quantity signal by utilizing an FFT method, and transmits a harmonic analysis result to the display module and the data storage module.
Further, the display module is used for displaying the harmonic analysis result of the data processing module and setting parameters of the system.
Further, the data storage module is used for storing harmonic analysis results.
Due to the adoption of the technical scheme, the invention has the beneficial effects that:
1. compared with the traditional FFT harmonic measurement method, the harmonic measurement method has higher precision and smaller calculated quantity compared with the improved FFT harmonic measurement method in the prior art.
2. The system can realize an accurate harmonic measurement method with smaller calculated amount based on double sampling without upgrading the system, is beneficial to miniaturization of measurement equipment and contributes to saving equipment transformation cost.
Drawings
FIG. 1 is a flow chart of a method for testing harmonic content of a power grid based on double sampling;
fig. 2 is a system frame diagram of the power grid harmonic content test for double sampling provided in the present application.
Detailed Description
As shown in fig. 1, a method for testing harmonic content of a power grid based on double sampling comprises the following steps:
setting the fixed sampling frequency as 12.8kHz, carrying out first resampling on the alternating current signal at the fixed sampling frequency and obtaining first resampled data, and recording the first resampled data ass(n)(n0 to 12799),s(n) Comprising a fundamental componentx(n) Harmonic componenth(n) The method comprises the steps of carrying out a first treatment on the surface of the That is to say,
periodic signal of power gridIs about 50Hz, the sampling frequency is 12.8kHz, so each sampling frequency comprises about 256 sampling periods, so the fundamental component hasMA number of sampling periods of time,Mis 256. Continuous sampling 1sThereafter, shareNA sampling period, thusThe first resampled data can be subjected to autocorrelation calculation to determine the fundamental frequency of the acquired voltage signal or current signal, wherein the fundamental frequency is the real frequency of the power grid;
after the alternating current signal is converted into the pure sinusoidal signal through autocorrelation calculation, the period and the frequency of the pure sinusoidal signal are obtained, and the period and the frequency are respectively recorded as the period of the fundamental wave of the power gridT 0 And the fundamental frequency of the power gridf 0 The method comprises the steps of carrying out a first treatment on the surface of the At 128×f 0 Performing second resampling on the alternating current signal for the sampling frequency according to the specified sampling frequency and the fundamental frequency of the power grid to obtain second resampling data, and continuously sampling 128 points at the sampling rate;
and carrying out FFT calculation by adopting the second resampled data, and calculating a direct current component, a fundamental wave and 2-63 times of harmonic waves.
As shown in fig. 2, the system for testing the harmonic content of the power grid based on double sampling comprises a battery module, an electric parameter acquisition module, a data processing module, a display module and a data storage module.
The power module adopts a lithium battery to supply power for the electric parameter acquisition module, the data processing module, the display module and the data storage module.
The electric parameter acquisition module is used for converting the output signal of the current transformer into a voltage signal, carrying out amplitude limiting processing on the voltage signal and then transmitting the voltage signal to the data processing module.
The data processing module is used for receiving the output signal of the electric parameter acquisition module and carrying out analog-to-digital conversion on the output signal so as to acquire digital quantity signals corresponding to the voltage and the current in the first resampling data and the second resampling data; the data processing module can carry out harmonic analysis through the digital quantity signal by utilizing an FFT method, and transmits a result of the harmonic analysis to the display module and the data storage module.
The display module is used for displaying the harmonic analysis result of the data processing module and setting parameters of the system.
The data storage module is used for storing harmonic analysis results.
The foregoing description is only of the basic principles and preferred embodiments of the present invention, and modifications and alternatives thereto will occur to those skilled in the art to which the present invention pertains, as defined by the appended claims.

Claims (10)

1. The method for testing the harmonic content of the power grid based on double sampling is characterized by comprising the following steps of:
setting the fixed sampling frequency as Z kHz; performing first resampling on the alternating current signal at the fixed sampling frequency and obtaining first resampled data;
performing autocorrelation calculation on the first resampled data to convert the alternating current signal into a pure sinusoidal signal;
acquiring the period and the frequency of the pure sinusoidal signal, and respectively recording the period and the frequency as the period of the fundamental wave of the power gridT 0 And the fundamental frequency of the power gridf 0
Carrying out second resampling on the alternating current signal according to the fixed sampling frequency and the fundamental frequency of the power grid to obtain second resampling data;
and carrying out FFT calculation by adopting the second resampling data to obtain the contents of fundamental waves and harmonic waves.
2. The method for testing harmonic content of a power grid based on double sampling according to claim 1, wherein,
the calculation formula of the first resampled data is as follows:
wherein,s(n) For the first resampled data the second data,x(n) As the fundamental component of the wave,h(n) Is a harmonic component.
3. A method for testing harmonic content of a power grid based on double sampling as recited in claim 2, wherein,
the first resampled data hasNA sampling period, the fundamental component is a periodic signal, and hasMA sampling period, and
4. a method for testing harmonic content of a power grid based on double sampling as claimed in claim 3, wherein,
the autocorrelation function calculation formula of the first resampled data is as follows:
wherein,r(m) Is the pure sinusoidal signal.
5. A system for implementing the method of claim 1,
the system comprises a battery module, an electric parameter acquisition module, a data processing module, a display module and a data storage module.
6. The system of claim 5, wherein the system further comprises a controller configured to control the controller,
the power module adopts a lithium battery to supply power for the electric parameter acquisition module, the data processing module, the display module and the data storage module.
7. The system of claim 5, wherein the system further comprises a controller configured to control the controller,
the electric parameter acquisition module is used for converting the output signal of the current transformer into a voltage signal, carrying out amplitude limiting processing on the voltage signal and then transmitting the voltage signal to the data processing module.
8. The system of claim 5, wherein the system further comprises a controller configured to control the controller,
the data processing module is used for receiving the output signal of the electric parameter acquisition module and performing analog-to-digital conversion on the output signal so as to acquire digital quantity signals corresponding to voltage and current in the first resampled data and the second resampled data; the data processing module can carry out harmonic analysis through the digital quantity signal by utilizing an FFT method, and transmits a harmonic analysis result to the display module and the data storage module.
9. The system of claim 8, wherein the system further comprises a controller configured to control the controller,
the display module is used for displaying the harmonic analysis result of the data processing module and setting parameters of the system.
10. The system of claim 9, wherein the system further comprises a controller configured to control the controller,
the data storage module is used for storing harmonic analysis results.
CN202311296703.9A 2023-10-09 2023-10-09 Dual-sampling-based power grid harmonic content testing method and system Pending CN117330834A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311296703.9A CN117330834A (en) 2023-10-09 2023-10-09 Dual-sampling-based power grid harmonic content testing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311296703.9A CN117330834A (en) 2023-10-09 2023-10-09 Dual-sampling-based power grid harmonic content testing method and system

Publications (1)

Publication Number Publication Date
CN117330834A true CN117330834A (en) 2024-01-02

Family

ID=89276834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311296703.9A Pending CN117330834A (en) 2023-10-09 2023-10-09 Dual-sampling-based power grid harmonic content testing method and system

Country Status (1)

Country Link
CN (1) CN117330834A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101957400A (en) * 2009-07-13 2011-01-26 厦门电力成套设备有限公司 Distribution electric energy quality analysis meter and analyzing method
CN202256496U (en) * 2011-10-11 2012-05-30 深圳市亚特尔科技有限公司 Power harmonic analysis apparatus based on FFT (fast Fourier transform)
CN103983849A (en) * 2014-05-07 2014-08-13 江苏天浩达科技有限公司 Real-time high-accuracy power harmonic analysis method
CN106338650A (en) * 2016-10-21 2017-01-18 国网安徽省电力公司培训中心 Harmonic wave measurement circuit
CN206401896U (en) * 2017-01-16 2017-08-11 中冶华天南京电气工程技术有限公司 A kind of parallel power wave filter monitoring and protecting device based on multi-channel sampling
CN107064634A (en) * 2017-04-18 2017-08-18 辽宁大学 The detection method of Harmonious Waves in Power Systems
CN107228684A (en) * 2017-06-20 2017-10-03 长春理工大学 PSD output useful signal extracting methods based on autocorrelation filter technology
CN108957132A (en) * 2018-08-31 2018-12-07 国网江苏省电力有限公司徐州供电分公司 A kind of Measurement of Harmonics in Power System device and its detection method based on synchronized sampling complete cycle
CN111323794A (en) * 2020-03-21 2020-06-23 哈尔滨工程大学 Periodic frequency modulation interference elimination method based on periodic resampling

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101957400A (en) * 2009-07-13 2011-01-26 厦门电力成套设备有限公司 Distribution electric energy quality analysis meter and analyzing method
CN202256496U (en) * 2011-10-11 2012-05-30 深圳市亚特尔科技有限公司 Power harmonic analysis apparatus based on FFT (fast Fourier transform)
CN103983849A (en) * 2014-05-07 2014-08-13 江苏天浩达科技有限公司 Real-time high-accuracy power harmonic analysis method
CN106338650A (en) * 2016-10-21 2017-01-18 国网安徽省电力公司培训中心 Harmonic wave measurement circuit
CN206401896U (en) * 2017-01-16 2017-08-11 中冶华天南京电气工程技术有限公司 A kind of parallel power wave filter monitoring and protecting device based on multi-channel sampling
CN107064634A (en) * 2017-04-18 2017-08-18 辽宁大学 The detection method of Harmonious Waves in Power Systems
CN107228684A (en) * 2017-06-20 2017-10-03 长春理工大学 PSD output useful signal extracting methods based on autocorrelation filter technology
CN108957132A (en) * 2018-08-31 2018-12-07 国网江苏省电力有限公司徐州供电分公司 A kind of Measurement of Harmonics in Power System device and its detection method based on synchronized sampling complete cycle
CN111323794A (en) * 2020-03-21 2020-06-23 哈尔滨工程大学 Periodic frequency modulation interference elimination method based on periodic resampling

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
姚陈果 等: "变压器空载电流谐波低频测量方法", 电工技术学报, vol. 32, no. 22, 30 November 2017 (2017-11-30), pages 115 - 122 *
李芬华 等: "自相关法在测量电力信号基波频率中的应用", 电力自动化设备, vol. 23, no. 10, 31 October 2003 (2003-10-31), pages 31 - 33 *
马令坤 等: "基于FPGA 的电力谐波分析方法", 电源技术, vol. 37, no. 5, 31 May 2013 (2013-05-31), pages 825 - 827 *

Similar Documents

Publication Publication Date Title
CN109459465B (en) Rapid electrochemical impedance spectrum measurement method based on current pulse injection
CN101419247B (en) Ground ion flow density measurement system for AC/DC parallel powerline and measurement method thereof
CN109387804B (en) Flexible direct system statistical method and metering device precision detection method and system
CN112415457A (en) Method and system for realizing alternating current acquisition and calibration of electric power comprehensive tester
CN105467351B (en) A kind of electronic mutual inductor frequency response test method and system
CN117330834A (en) Dual-sampling-based power grid harmonic content testing method and system
CN114016041A (en) Oil-gas pipeline potential detection method and device for cathodic protection
CN109581045A (en) A kind of m-Acetyl chlorophosphonazo power measurement method meeting IEC standard frame
De Capua et al. Measurement station performance optimization for testing of high efficiency variable speed drives
CN110780251B (en) Power waveform comparison system and method based on point-by-point calculation of DELTA
CN105137241A (en) Electric energy quality data acquisition method and apparatus adaptive to power grid frequency
CN110007166B (en) Method for rapidly measuring energy efficiency of frequency converter
CN107991563B (en) Wind-solar complementary simulation experiment device for power supply and distribution and grid-connected experiment and working method
CN115290919A (en) Unconventional method for measuring rotating speed of steam turbine
CN114910787A (en) Method for converting time domain frequency dynamic curve of power grid into alternating current voltage waveform
Alao Online impedance estimation of sealed lead acid & lithium nickel-cobalt-manganese oxide batteries using a rapid excitation signal
Artale et al. Power Quality Assessment with Commercial Microcontroller Devices. Repeatability Measurements of On-Board Harmonic Analysis
Gherasim et al. Development of a flickermeter for grid-connected wind turbines using a DSP-based prototyping system
CN113687135A (en) Ultralow-frequency voltage alternating current-direct current conversion verification system and method based on quantum technology
CN102103163A (en) Method for measuring arbitrary waveform estimated based on synchronous lock phase and half-wave
CN117169590B (en) Power harmonic analysis method and device based on software variable sampling rate
CN110988469B (en) Rapid harmonic detection method
CN106708781A (en) Method and apparatus for measuring flicker severity of photovoltaic power station
CN200972497Y (en) Automatic monitoring device for ship electric station test
CN113447717A (en) Method for obtaining power frequency coupling impedance and admittance model of converter equipment and test platform

Legal Events

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