Ultra-high harmonic measurement device and measurement method
By designing the bandpass filter and FPGA processing, accurate ultra-high-order harmonic measurement in the 2-150KHz frequency band is achieved, which solves the problem of lack of repeatability and consistency of measurement data in the existing technology and significantly improves the measurement accuracy. , meeting the requirements of IEC 61000-4-30 (version 3.0).
Patent Information
- Application Number
- CN202110860077.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-28
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-07-28
AI Technical Summary
Existing power quality monitoring devices are unable to accurately measure and analyze high-order harmonics, especially ultra-high-order harmonic frequency bands, resulting in a lack of repeatability and consistency in measurement data and inability to meet the standards of IEC 61000-4-30 (version 3.0). Require.
An ultra-high-order harmonic measurement device is designed, which uses a parallel band-pass filter and a digital-to-analog converter, performs signal processing through FPGA, performs segmented filtering and performs DFT or FFT transformation, and combines the interpolation method to correct the filtering results to achieve Accurate measurement in the 2-150KHz frequency band, meeting the requirements of IEC 61000-4-30 (version 3.0).
It achieves the repeatability and consistency of measurement data, significantly improves the measurement accuracy of ultra-high harmonics, can accurately obtain the maximum, minimum and average values of high-order harmonics, and meets standardized data processing specifications.
Smart Images

Figure CN113552415B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a harmonic measurement device, in particular to an ultra-high harmonic measurement device, and also to a corresponding measurement method, belonging to the technical field of power quality detection. Background Art
[0002] With the large-scale access of distributed photovoltaic power generation, microgrids, electric vehicle charging piles, etc. to the distribution network, and the widespread application of high-switching frequency IGBT inverters, although the power quality of conventional harmonic pollution has been improved due to the increase in switching frequency, it has also brought about the problem of high-order harmonics.
[0003] There is no precise definition of higher harmonics. From the evolution of relevant international standards, in the IEC 61000-4-30 (version 2.0) (or IEC 61000-4-7) (version 08) standard, the definition of higher harmonics is the harmonic frequency component of the signal with a frequency of 2KHz or more to 9KHz. In IEC 61000-4-30 (version 3.0), the upper limit of the frequency of higher harmonics is extended to 150KHz. It can be seen that the coverage of higher harmonics changes with the expansion of applications. The higher and higher frequency of switching devices makes the original 9KHz frequency unable to cover the possible higher harmonic frequencies, so it is necessary to extend its upper limit. Although from the perspective of harmonic sources, the emission value of higher harmonics themselves is not high, due to reasons such as the cable distribution network and distributed capacitance, the higher harmonics will be amplified or resonated, causing the higher harmonics to affect the power quality. According to the applicant, the existing power quality monitoring devices are designed and measured according to the frequency range of harmonics (2nd to 50th order), and lack monitoring of higher-order harmonics. Therefore, it is impossible to obtain actual higher-order harmonic emission value data, which is very unfavorable for analysis, investigation and resolution of problems when they arise.
[0004] The IEC 61000-4-30 (version 3.0) officially promulgated in 2015 divides the high-order harmonic 2-150KHz frequency band into two frequency bands: 2-9KHz and 9-150KHz. The measurement of high-order harmonics of 2-9KHz still uses the calculation method recommended by IEC 61000-4-7 for measurement and calculation. However, for high-order harmonics of 9-150KHz, due to differences in implementation, different application scenarios, and the compromise between measurement accuracy and cost, no measurement method for cutting the slope is given, but only some suggestions are given. Therefore, the measurement of ultra-high-order harmonics has become an important topic of concern.
[0005] According to the search, the Chinese patent document with application number 201910458946.5 discloses a method for measuring ultra-high harmonics based on flexible atomic filtering. This method sets multiple FAFs within the ultra-high frequency band so that the filter measurement bandwidth covers the entire ultra-high frequency band without overlap. After the discrete ultra-high harmonic signal and the discretized expression of FAF are processed by inner product, the corresponding ultra-high harmonic frequency and amplitude are determined according to the calculation results. The technical solution of this patent does not comply with the measurement method clearly required in IEC61000-4-30 (version 3.0). Although it can be measured at a single point, the measurement data is not repeatable, so it is impossible to perform statistical analysis of regional data, and it is impossible to evaluate the statistical significance of high harmonics on a time scale through data analysis.
[0006] The Chinese patent document with application number 201810826416.7 discloses a super-high harmonic detection device and detection method based on compressed sensing. The sensor circuit is installed at the measurement end of the distribution network. The signal output by the sensor circuit first passes through a high-pass filter, and then is mixed with the pseudo-random sequence output by the D / A module of the multi-functional data acquisition card and sent to a low-pass filter. The signal is then sampled at low speed through the A / D module of the multi-functional data acquisition card. Finally, the signal is uploaded to the host computer through the USB bus to complete the reconstruction and display of the signal. The high-pass filter is designed to have adjustable gain. In addition to filtering out power frequency and other low-frequency signal interference, it can also realize signal conditioning. The low-pass filter is designed to have an adjustable cutoff frequency, which can realize variable compression ratio detection. The synchronous trigger module of the multi-functional data acquisition card can realize D / A and A / D synchronization, construct an observation matrix when the phase deviation is 0, and improve the reconstruction accuracy. Although the technical solution of this patent can obtain the measurement results of high-order harmonics by reducing the sampling frequency and the number of sampling points through a complex circuit structure, not only is the control strategy complicated, but the actual analysis data source is reconstructed data rather than the original signal data, and the measurement method does not meet the requirements of IEC 61000-4-30 (Version 3.0) at all.
[0007] The Chinese patent document with application number 202010395443.0 discloses a method for measuring ultra-high harmonics based on fixed-frequency asynchronous sampling. The sampling frequency of the measuring instrument is 409.6KHz. The measured voltage and current signals are filtered and frequency-divided to filter out harmonic components with frequencies lower than 1.5KHz and higher than 64KHz. 200ms is used as a basic measurement window, and 0-20ms, 80-100ms, and 160-180ms data are extracted, and discrete Fourier analysis is performed on each of them and the average is calculated as the output spectrum analysis result. The above results are aggregated with a bandwidth of 2KHz to output an aggregated spectrum signal. The aggregated spectrum signal is time-window aggregated without gaps every 3s to calculate its root mean square value, and the time-frequency domain processing result is output. Although the technical solution of this patent refers to some of the processing methods and calculation methods of 2KHz~9KHz in IEC 61000-4-30 (Version 2.0) for the measurement range and calculation methods of high-order harmonics, it does not meet the requirements of IEC 61000-4-30 (Version 3.0) at all. This is because IEC 61000-4-30 (Version 3.0) defines standardized measurement and data processing specifications. Only under this premise can the measurement results of different devices for the same measurement point be consistent, thus laying the foundation for regional statistics. Summary of the invention
[0008] The purpose of the present invention is to address the shortcomings of the above-mentioned prior art and to propose an ultra-high harmonic measurement device that not only has repeatability and consistency in measurement data but also has sufficient measurement accuracy, and to provide a corresponding measurement method, so as to effectively meet the requirements of IEC 61000-4-30 (version 3.0).
[0009] In order to achieve the above objectives, the basic technical solution of the ultra-high harmonic measurement device of the present invention is: comprising a backplane having a network interface and a network physical layer interface as well as an analog input interface and a digital output interface;
[0010] The analog input interface is connected to the corresponding input terminals of the FPGA through a group of parallel filter conversion circuits, wherein the filter conversion circuit is composed of a bandpass filter and a digital-to-analog converter;
[0011] The digital input and output interface is connected to the corresponding input end of the FPGA through the backplane network interface and the network physical layer interface;
[0012] The bandpass filter is composed of an analog front-end circuit connected in series, and a first and a second filter circuit connected in parallel;
[0013] The analog front-end circuit is composed of two follower loops that convert a single input into two original inputs, and are used to transmit 2-9KHz and 9-150KHz signals to corresponding filter circuits respectively;
[0014] The first filtering circuit is composed of a first low-pass filtering circuit and a first high-pass filtering circuit connected in series, and is used to extract signals above 9KHz and below 150KHz from the original input signal;
[0015] The second filtering circuit is composed of a second low-pass filtering circuit and a second high-pass filtering circuit connected in series, and is used to extract signals above 2KHz and below 9KHz from the original input signal;
[0016] The first filter circuit and the second filter circuit are respectively connected to the input end of the corresponding digital-to-analog converter through the corresponding signal modulation circuit, so as to amplify the filtered signal and raise it to a predetermined sampling accuracy and resolution;
[0017] The output end of the digital-to-analog converter is connected to the corresponding input port of the FPGA.
[0018] The ultra-high harmonic measurement method of the present invention is performed by FPGA according to the following steps:
[0019] The first step is to divide the predetermined number of cycle data into equally spaced time slices;
[0020] The second step is to take a predetermined number of continuous sampling values in each time slice as the calculation time window, perform DFT or FFT transformation, and obtain the required frequency resolution;
[0021] Step 3: Take a predetermined number of frequency components, and remove the lowest result and the highest result of the predetermined number respectively with the obtained frequency resolution as the interval;
[0022] Step 4: Take the maximum, minimum and average values from the retained results to obtain the maximum, minimum and average values of each high-order harmonic.
[0023] A further improvement of the present invention is: the amplitude-frequency characteristics of the first and second filter circuits of the bandpass filter at predetermined frequency points are measured in advance to obtain a segmented filter coefficient; then the amplitude-frequency characteristics obtained by the measurement are used to calculate the amplitude-frequency characteristic filter coefficient of the full frequency band of 9-150KHz by interpolation method to correct the signals after filtering by the first filter circuit and the second filter circuit.
[0024] A further improvement of the present invention is that in the second step, a predetermined number of sampling values are gradually increased according to the power of 2 to calculate the time window, and DFT or FFT transformation is performed respectively to obtain a set of frequency resolutions; the frequency resolution corresponding to the most suitable data window is determined according to the hardware computing power as the required frequency resolution.
[0025] Ordinary harmonic measurement in the prior art requires 2-50 times (100HZ—2.5KHz), and ultra-high-order harmonic measurement is divided into 2-9KHz harmonic measurement and 9-150KHz harmonic measurement. The long-standing practice is to use a first-order filter for 100Hz—2.5KHz and a second-order filter for 2-9KHz. However, to achieve sufficient filtering at 9-150Khz, an 8th-order filter is required, which becomes a difficulty. The present invention uses the actual analysis data source as the original signal data and reasonably designs a second-order filter. Compared with the prior art, it has two major characteristics: First, the prior art uses a 2KHz bandwidth for aggregation for both 2-9KHz and 9-150KHz outputs, which does not meet the requirements of IEC61000-4-30 that 2-9KHz signals are aggregated using a 200Hz bandwidth and 9-150KHz signals are aggregated using a 2KHz bandwidth; while the "algorithm" of the present invention is strictly formulated in accordance with IEC61000-4-30 (version 3.0), so they are consistent with each other and fully meet the requirements, and the results of monitoring equipment from different manufacturers / brands under the same signal source can be comparable, thereby achieving repeatability and consistency of regional monitoring. Second, the prior art requires an 8th-order hardware filter to achieve an ideal filtering effect through simulation for 9-150KHz signal filtering; while the present invention uses a 2nd-order hardware filter and a reasonable filtering process to organically combine, thereby greatly reducing hardware requirements while ensuring measurement accuracy. Therefore, the present invention can make the measurement data repeatable and consistent, and can effectively meet the requirements of IEC 61000-4-30 (version 3.0). BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The present invention will be further described below in conjunction with the accompanying drawings.
[0027] Figure 1 It is a block diagram of the device structure of an embodiment of the present invention.
[0028] Figure 2 yes Figure 1 Block diagram of the signal processing process in the embodiment.
[0029] Figure 3 yes Figure 2 The analog front-end circuit diagram in .
[0030] Figure 4 yes Figure 2 The low-pass filter circuit diagram in.
[0031] Figure 5 yes Figure 2 High-pass filter circuit diagram in .
[0032] Figure 6 yes Figure 2 The signal modulation circuit diagram in .
[0033] Figure 7 yes Figure 2 The analog-to-digital conversion circuit diagram in.
[0034] Figure 8 It is a comparison diagram of the actually measured filtering effect of the present invention. DETAILED DESCRIPTION
[0035] Embodiment 1
[0036] The ultra-high harmonic measurement device of this embodiment is constructed as follows Figure 1 As shown (see Figure 2-Figure 6 ), the backplane has a network interface and a network physical layer interface as well as an analog input interface and a digital output interface. The analog input interface is connected to the corresponding input end of the field programmable gate array (Field Programmable Gate Array) through a set of parallel filter conversion circuits, and the filter conversion circuit is composed of a bandpass filter and a digital-to-analog converter; the digital output interface is connected to the corresponding input end of the field programmable gate array through the backplane network interface and the network physical layer interface; the bandpass filter is composed of a serially connected analog front-end circuit and a first and a second parallel filter circuit.
[0037] Analog front end circuits such as Figure 3 As shown, it is composed of two follower circuits U1A and U1B that convert a single input into two original inputs, and are used to transmit 2-9KHz and 9-150KHz signals to the corresponding first and second filter circuits respectively.
[0038] like Figure 4 and Figure 5 As shown, the first filter circuit is composed of a first low-pass filter circuit U2A and a first high-pass filter circuit U3A connected in series. As long as the resistor and capacitor components with appropriate parameters are selected, the signals below 9KHz and below 150KHz in the original input signal can be extracted. The second filter circuit is composed of a second low-pass filter circuit U2B and a second high-pass filter circuit U4B connected in series. Similarly, as long as the resistor and capacitor components with appropriate parameters are selected, the signals above 2KHz and above 9KHz in the original input signal can be extracted. Since the transition band of 9KHz-150KHz is relatively narrow, the traditional bandpass filter is not used in this embodiment, but the low-pass and high-pass filter circuits are connected in series to achieve the bandpass function.
[0039] like Figure 6 As shown, the first filter circuit and the second filter circuit respectively form a corresponding signal modulation circuit through U4A and U3B to connect to the input end of the corresponding digital-to-analog converter, amplify the filtered signal and raise it to the predetermined sampling accuracy and resolution. Figure 7 The output end of the digital-to-analog converter is connected to the corresponding input port of the field programmable logic gate array.
[0040] The FPGA in the device of this embodiment implements ultra-high harmonic measurement according to the following steps:
[0041] The first step is to divide the predetermined number of cycle data into equally spaced time slices; specifically, the entire 10 cycle data is divided into equally spaced time slices, for example: 32, then the number of data points contained in each time slice is 204800 / 32=6400 points.
[0042] The second step is to take a predetermined number of continuous sampling values in each time slice as the calculation time window, perform DFT or FFT transformation, and obtain the required frequency resolution; specifically, take 512 continuous sampling values in each time slice as the calculation time window, perform DFT (Discrete Fourier Transform) or FFT (Fast Fourier Transform) calculation, then the frequency resolution at this time is (204800 / 512)*5Hz=2KHz.
[0043] The third step is to take a predetermined number of frequency components, and remove the predetermined number of lowest results and highest results at intervals of the obtained frequency resolution; specifically, after obtaining 256 frequency components, remove the lowest 4 results and the highest 181 results at intervals of 2KHz, and the remaining 71 amplitudes are the components from 8KHz to 150KHz.
[0044] Step 4: Take the maximum, minimum and average value from the retained results to obtain the maximum, minimum and average value of each high-order harmonic. Specifically, take the maximum, minimum or average value from the 32 results to obtain the maximum, minimum and average value of each high-order harmonic (8-150KHz) within a 200ms calculation time, and also output a total maximum value (all 71 values).
[0045] In the first step above, the data window of each time slice can be increased by 2 to the power of n. Every time it increases by 2 times, the frequency resolution will increase by 2 times. Finally, the most appropriate data window and frequency resolution are determined based on the computing power of the hardware. Of course, the data output will also increase exponentially, which needs to be evaluated and determined as appropriate.
[0046] In addition, the amplitude-frequency characteristics of the hardware filtering circuit, i.e., the first and second filtering circuits of the bandpass filter, at fixed frequency points (10KHz, 20KHz...150KHz with an interval of 10KHz) are measured in advance to form a segmented filtering coefficient, and then the measured amplitude-frequency characteristics are used to calculate the amplitude-frequency characteristic filtering coefficient of the full frequency band of 9-150KHz by adopting an interpolation algorithm. According to the amplitude-frequency characteristic filtering coefficient of the full frequency band, the signal collected by the hardware is software filtered, which substantially corrects the signal after filtering by the first filtering circuit and the second filtering circuit, and suppresses the frequency band leakage caused by the hardware second-order filtering, which can further improve the measurement accuracy of harmonics.
[0047] Figure 8 This is a diagram of the actual filtering effect. A harmonic signal with a frequency ranging from 9-150KHz and an amplitude of 3V is added to the device through a standard source. The blue curve with a larger curvature is the 9-150kHz amplitude-frequency characteristic obtained after only two-order hardware filtering but not software filtering. It can be seen that its filtering effect is still not ideal. The curve with a smaller curvature is the amplitude-frequency characteristic obtained after software filtering under the same conditions. It can be seen that the filtering effect is further improved.
[0048] When a continuous data window of 512 sampling values is taken in each time slice for DFT calculation, the frequency resolution of the calculation result is 2KHz. When the data window is increased to 2 times, that is, 1024 sampling values, the frequency resolution of the calculation result can reach 1KHz, but at the same time the amount of calculation will also increase by about 2 times. Therefore, the larger the data window, the smaller the frequency resolution. Ultimately, the appropriate data window is determined based on the computing power of the hardware and the DFT optimization program.
[0049] Experiments show that this embodiment uses a second-order hardware filter in combination with a reasonable filtering process, so that the measurement data can be repeatable and consistent, and the measurement accuracy of ultra-high harmonics is significantly improved.
[0050] In addition to the above embodiments, the present invention may also have other implementations. For example, FPGA may also be replaced by other intelligent devices with similar functions. Any technical solution formed by equivalent replacement or equivalent transformation falls within the protection scope required by the present invention.
Claims
1. A method for measuring ultra-high harmonics, comprising a backplane having a network interface, a network physical layer interface, an analog input interface, and a digital input and output interface; characterized in that: The analog input interface is connected to the corresponding input end of the FPGA through a group of parallel filter conversion circuits, and the filter conversion circuit is composed of a bandpass filter and a digital-to-analog converter; the digital input and output interface is connected to the corresponding input end of the FPGA through the backplane network interface and the network physical layer interface; the bandpass filter is composed of a serially connected analog front-end circuit, a first and a second parallel filter circuit; the analog front-end circuit is composed of two follower loops that convert a single input into two original inputs, which are used to transmit 2-9KHz and 9-150KHz signals to the corresponding filter circuits respectively; the first filter circuit is composed of a first low-pass filter circuit and a first high-pass filter circuit connected in series, which are used to extract signals above 9KHz and below 150KHz in the original input signal; the second filter circuit is composed of a second low-pass filter circuit and a second high-pass filter circuit connected in series, which are used to extract signals above 2KHz and below 9KHz in the original input signal; the first filter circuit and the second filter circuit are respectively connected to the input end of the corresponding digital-to-analog converter through corresponding signal modulation circuits, which are used to amplify the filtered signal and raise it to a predetermined sampling accuracy and resolution; The output end of the digital-to-analog converter is connected to the corresponding input port of the FPGA; the FPGA is performed according to the following steps: the first step is to divide the predetermined number of frequency data into equally spaced time slices; the second step is to take a predetermined number of continuous sampling values in each time slice as a calculation time window, perform DFT or FFT transformation, and obtain the required frequency resolution; Step 3: Take a predetermined number of frequency components, and remove the lowest result and the highest result of the predetermined number respectively with the obtained frequency resolution as the interval; Step 4: Take the maximum, minimum and average values from the retained results to obtain the maximum, minimum and average values of each high-order harmonic.
2. The method for measuring ultra-high harmonics according to claim 1, characterized in that: The amplitude-frequency characteristics of the first and second filter circuits of the bandpass filter at predetermined frequency points are measured in advance to obtain a segmented filter coefficient; then the amplitude-frequency characteristics obtained by the measurement are used to calculate the amplitude-frequency characteristic filter coefficient of the full frequency band of 9-150KHz by an interpolation method to correct the signals filtered by the first filter circuit and the second filter circuit.
3. The measuring method of the ultra-high harmonic measuring device according to claim 1 or 2, characterized in that: In the second step, the time window is calculated by gradually increasing the predetermined number of sampling values by the power of 2, and DFT or FFT transformation is performed respectively to obtain a set of frequency resolutions; The frequency resolution corresponding to the most suitable data window is determined according to the hardware computing capability as the required frequency resolution.
