CN117054737B - Method and device for calculating power supply frequency through autocorrelation filtering - Google Patents

Method and device for calculating power supply frequency through autocorrelation filtering Download PDF

Info

Publication number
CN117054737B
CN117054737B CN202311026967.2A CN202311026967A CN117054737B CN 117054737 B CN117054737 B CN 117054737B CN 202311026967 A CN202311026967 A CN 202311026967A CN 117054737 B CN117054737 B CN 117054737B
Authority
CN
China
Prior art keywords
frequency
filtering
period
voltage
voltage signal
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.)
Active
Application number
CN202311026967.2A
Other languages
Chinese (zh)
Other versions
CN117054737A (en
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.)
Jiaxing Kexun Electron Co ltd
Original Assignee
Jiaxing Kexun Electron 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 Jiaxing Kexun Electron Co ltd filed Critical Jiaxing Kexun Electron Co ltd
Priority to CN202311026967.2A priority Critical patent/CN117054737B/en
Publication of CN117054737A publication Critical patent/CN117054737A/en
Application granted granted Critical
Publication of CN117054737B publication Critical patent/CN117054737B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • 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/2503Arrangements for measuring currents or voltages or for indicating presence or sign thereof using digital measurement techniques for measuring voltage only, e.g. digital volt meters (DVM's)
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E40/00Technologies for an efficient electrical power generation, transmission or distribution
    • Y02E40/40Arrangements for reducing harmonics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Algebra (AREA)
  • Measuring Frequencies, Analyzing Spectra (AREA)

Abstract

The invention provides a method and a device for calculating power supply frequency by autocorrelation filtering, which belong to automatic monitoring methods for various power quality detection equipment and power wave recording devices. Firstly, filtering an AD sampled voltage signal, multiplying the AD sampled voltage signal by signals with time delays of m and 2m respectively, and obtaining a current instantaneous frequency value according to a formula after the multiplied data passes through a low-pass filter. The instantaneous frequency values of a plurality of power frequency periods are averaged to obtain the accurate value of the frequency. The invention has the advantages that the delay is much smaller than that of the conventional method, the calculation accuracy is high, and the invention is suitable for various computers, DSPs or FPGAs.

Description

Method and device for calculating power supply frequency through autocorrelation filtering
Technical Field
The invention relates to the technical field of power systems, in particular to a method and a device for calculating power supply frequency by autocorrelation filtering, which are used for frequency measurement of power quality detection equipment.
Background
With the development of power electronics technology, power quality monitoring is increasingly used in power systems, and frequency measurement is an important component of power quality. High-precision measurement of power frequency is the basis for measurement of many other parameters of power quality.
Common frequency measurement methods include a gate method, a period method, and an equal accuracy method. However, these methods have the following disadvantages: 1. the voltage needs to be converted into a square wave using a regulating circuit, and then the frequency is calculated using a timer/counter; 2. frequency information point by point with the AD sampling rate cannot be provided; 3. sufficient accuracy can be obtained by measuring a plurality of power frequency periods, and the resolution and accuracy of instantaneous measurement are not ideal.
With the development of computer hardware level, the limitation of the calculation complexity on the algorithm is smaller, so that the use of a more complex algorithm can be considered to calculate the numerical value after the AD conversion into frequency information.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a method and a device for calculating power supply frequency by autocorrelation filtering, which are used for various power quality detection equipment and power wave recording devices.
The technical scheme adopted by the invention for achieving the purpose is as follows: a method of calculating a power supply frequency by autocorrelation filtering, comprising the steps of:
sampling the analyzed voltage signal with a sampling period Ts to obtain V (n);
filtering harmonic waves and direct current components of V (n) to obtain V' (n);
multiplying V '(n) by V' (n) after delaying mTs and 2mTs respectively, wherein m is a shaping constant;
filtering high-frequency components in the multiplication result;
obtaining instantaneous frequency according to the multiplication result of the filtered high-frequency components;
the voltage frequency over a period of time is obtained from the instantaneous frequency.
The V 'n is multiplied by V' n after being respectively delayed by mTs and 2mTs, and the method specifically comprises the following steps: the multiplication S1 (n) and S2 (n) results are expressed as:
S1(n)=V`(n)V`(n+m)
S2(n)=V`(n)V`(n+2m)
the voltage signal V (n) is represented as follows:
V(n)=Ucos(2π×n×Ts×f(n))
wherein U is fundamental voltage, and f (n) is instantaneous frequency;
substituting V (n) into S1 (n) and S2 (n) and performing triangular decomposition to obtain:
where ρ=2pi×ts×f (n).
The multiplication result of the filtered high-frequency components is as follows:
the instantaneous frequency is:
the voltage frequency over the period of time is:
wherein N is the number of sampling points corresponding to the time period.
An apparatus for calculating a power supply frequency by autocorrelation filtering, comprising:
a sampling module for sampling the analyzed voltage signal V (n) with a sampling period Ts; the band-pass filter is used for filtering harmonic waves and direct current components of V (n) to obtain V' (n);
the delay module is used for respectively delaying V' (n) to mTs and 2mTs, wherein m is a shaping constant;
the multiplication module is used for multiplying the delayed result with V' (n);
a low-pass filter for filtering out high-frequency components in the multiplication result;
the processing module is used for obtaining the instantaneous frequency according to the multiplication result of the filtered high-frequency components;
the determining module is used for obtaining the voltage frequency in a period of time according to the instantaneous frequency.
The invention has the following advantages and beneficial effects:
1. the time delay of the frequency calculation of the invention depends on the AD sampling period and the order of the filter, and generally, high precision can be obtained in 1 to 2 power frequency periods, and the time delay of the calculation is greatly smaller than that of the conventional method.
2. The calculation accuracy is high.
3. Is suitable for various computer, DSP or FPGA.
Drawings
FIG. 1 is a flow chart of a method according to an embodiment of the present invention;
FIG. 2 is a block diagram of the computational principle of an embodiment of the present invention;
fig. 3 is a block diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
As shown in fig. 1 and 2, a method for calculating an electric power supply frequency by autocorrelation filtering includes the following steps:
and a step a, sampling the analyzed voltage signal by taking a sampling period as Ts to obtain V (n), wherein n is a voltage sampling sequence number, directly obtaining the voltage signal of the power grid by using a voltage divider or from the PT secondary side of the voltage transformer, and sending the voltage signal to an AD sampling position through an anti-aliasing filter. Filtering harmonic wave and direct current component by using a band-pass filter to obtain V ' (n), and then multiplying the V ' (n) by mTs and 2mTs respectively to obtain the V ' (n):
S1(n)=V (n)V (n+m)
S2(n)=V (n)V (n+2m) (1)
where m is a shaping constant, generally 2mTS corresponds to about 1/8 cycle, and in practice the m > =1 algorithm is true. The voltage signal V (n) may be expressed as follows:
V(n)=Ucos(2π×n×Ts×f(n)) (2)
wherein U is fundamental voltage, f (n) is instantaneous frequency, and the fundamental voltage is substituted into formula (1) and subjected to triangular decomposition to obtain:
where ρ=2pi×ts×f (n).
Step b, filtering high-frequency components of S1 (n) and S2 (n) by a low-pass filter to obtain:
step c, solving the equation to obtain
When the delay is less than pi/2, the plus sign is established, and then the instantaneous value of the frequency can be obtained:
where f (n) is the instantaneous frequency.
The arithmetic average of the instantaneous frequency over a period of time is the exact value of the frequency. Averaging the instantaneous frequency over a period of time, yielding an accurate value f of frequency:
wherein N is the number of sampling points corresponding to the period of time, and n=0 to N-1.
As shown in fig. 3, an apparatus for calculating an electric power supply frequency by autocorrelation filtering includes:
a sampling module for sampling the analyzed voltage signal V (n) with a sampling period Ts;
the band-pass filter is used for filtering harmonic waves and direct current components of V (n) to obtain V' (n), and the cut-off frequency of the band-pass filter is 90Hz;
the delay module is used for respectively delaying V' (n) to mTs and 2mTs, wherein m is a shaping constant;
the multiplication module is used for multiplying the delayed result with V' (n);
a low-pass filter for filtering out high-frequency components in the multiplication result, the cut-off frequency of the low-pass filter being 45Hz;
the processing module is used for obtaining the instantaneous frequency according to the multiplication result of the filtered high-frequency components;
the determining module is used for obtaining the voltage frequency in a period of time according to the instantaneous frequency.

Claims (2)

1. A method of calculating an electrical power supply frequency by autocorrelation filtering, comprising the steps of:
sampling the analyzed voltage signal with a sampling period Ts to obtain V (n);
filtering harmonic waves and direct current components of V (n) to obtain V' (n);
multiplying V '(n) by V' (n) after delaying mTs and 2mTs respectively, wherein m is a shaping constant;
filtering high-frequency components in the multiplication result;
obtaining instantaneous frequency according to the multiplication result of the filtered high-frequency components;
obtaining a voltage frequency within a period of time according to the instantaneous frequency;
the V 'n is multiplied by V' n after being respectively delayed by mTs and 2mTs, and the method specifically comprises the following steps:
the multiplication S1 (n) and S2 (n) results are expressed as:
S1(n)=V`(n)V`(n+m)
S2(n)=V`(n)V`(n+2m)
the voltage signal V (n) is represented as follows:
V(n)=Ucos(2π×n×Ts×f(n))
wherein U is fundamental voltage, and f (n) is instantaneous frequency;
substituting V (n) into S1 (n) and S2 (n) and performing triangular decomposition to obtain:
wherein ρ=2pi×ts×f (n);
the multiplication result of the filtered high-frequency components is as follows:
the instantaneous frequency is:
2. the method of claim 1, wherein the voltage frequency over the period of time is:
wherein N is the number of sampling points corresponding to the time period.
CN202311026967.2A 2023-08-15 2023-08-15 Method and device for calculating power supply frequency through autocorrelation filtering Active CN117054737B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311026967.2A CN117054737B (en) 2023-08-15 2023-08-15 Method and device for calculating power supply frequency through autocorrelation filtering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311026967.2A CN117054737B (en) 2023-08-15 2023-08-15 Method and device for calculating power supply frequency through autocorrelation filtering

Publications (2)

Publication Number Publication Date
CN117054737A CN117054737A (en) 2023-11-14
CN117054737B true CN117054737B (en) 2024-03-29

Family

ID=88668728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311026967.2A Active CN117054737B (en) 2023-08-15 2023-08-15 Method and device for calculating power supply frequency through autocorrelation filtering

Country Status (1)

Country Link
CN (1) CN117054737B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4433422A (en) * 1982-03-29 1984-02-21 Sperry Corporation Frequency measuring system for alternating frequency signals
US5471133A (en) * 1992-04-06 1995-11-28 Siemens Aktiengesellschaft Digital device for measuring the frequency of an electrical signal
JPH09119947A (en) * 1995-10-26 1997-05-06 Railway Technical Res Inst Method and device for predicting specific frequency component signal and digital control system of active filter
US5812737A (en) * 1995-01-09 1998-09-22 The Board Of Trustees Of The Leland Stanford Junior University Harmonic and frequency-locked loop pitch tracker and sound separation system
CN102075269A (en) * 2010-12-24 2011-05-25 北京航空航天大学 Method for measuring hopping speed and frequency conversion time of high-speed frequency-hopping signals
CN102347926A (en) * 2011-09-26 2012-02-08 豪威科技(上海)有限公司 Carrier frequency capturing method and device
JP2012163543A (en) * 2010-09-30 2012-08-30 Daihen Corp Frequency detector
CN102983829A (en) * 2012-11-02 2013-03-20 南昌航空大学 Laser device frequency difference locking method based on electric delay autocorrelation
CN105044456A (en) * 2015-07-21 2015-11-11 电子科技大学 Power grid instantaneous frequency measuring and tracking method based on orthogonal sub-band

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8138969B2 (en) * 2008-10-22 2012-03-20 Bae Systems Information And Electronic Systems Integration Inc. Monobit based low cost high performance radar warning receiver
US9553620B2 (en) * 2014-07-16 2017-01-24 Raytheon Company Signal detection and characterization

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4433422A (en) * 1982-03-29 1984-02-21 Sperry Corporation Frequency measuring system for alternating frequency signals
US5471133A (en) * 1992-04-06 1995-11-28 Siemens Aktiengesellschaft Digital device for measuring the frequency of an electrical signal
US5812737A (en) * 1995-01-09 1998-09-22 The Board Of Trustees Of The Leland Stanford Junior University Harmonic and frequency-locked loop pitch tracker and sound separation system
JPH09119947A (en) * 1995-10-26 1997-05-06 Railway Technical Res Inst Method and device for predicting specific frequency component signal and digital control system of active filter
JP2012163543A (en) * 2010-09-30 2012-08-30 Daihen Corp Frequency detector
CN102075269A (en) * 2010-12-24 2011-05-25 北京航空航天大学 Method for measuring hopping speed and frequency conversion time of high-speed frequency-hopping signals
CN102347926A (en) * 2011-09-26 2012-02-08 豪威科技(上海)有限公司 Carrier frequency capturing method and device
CN102983829A (en) * 2012-11-02 2013-03-20 南昌航空大学 Laser device frequency difference locking method based on electric delay autocorrelation
CN105044456A (en) * 2015-07-21 2015-11-11 电子科技大学 Power grid instantaneous frequency measuring and tracking method based on orthogonal sub-band

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Transmission Gates Combined With Level-Restoring CMOS Gates Reduce Glitches in Low-Power Low-Frequency Multipliers;Flavio Carbognani, et al.;IEEE Transactions on Very Large Scale Integration (VLSI) Systems;20080731;第16卷(第7期);第830-836页 *
一种新的载波频率估计方法;钟志 等;哈尔滨商业大学学报(自然科学版);20070615;第23卷(第03期);第340-342页 *
两种简单实用的电网频率实时测量方法;林的方 等;电网与清洁能源;20090425;第25卷(第04期);第37-39页 *

Also Published As

Publication number Publication date
CN117054737A (en) 2023-11-14

Similar Documents

Publication Publication Date Title
CN102116798A (en) Power grid frequency measurement method and device
Zygarlicki et al. A reduced Prony's method in power-quality analysis—parameters selection
CN103941088A (en) Method for quickly measuring frequency of electric power system based on three-phase signals
CN109633257B (en) Active power measuring method with accurate measurement
CN104122444A (en) All-digital intermediate frequency spectrum analyzer and spectrum analyzing method
CN109061345B (en) Effective value measuring method and system suitable for power system
CN103983849A (en) Real-time high-accuracy power harmonic analysis method
CN105699738A (en) PWM-based AC signal effective value measurement method
CN102495250A (en) Quasi-synchronous wideband reactive energy meter based on Hilbert algorithm and sampling method thereof
CN110837000B (en) Frequency measurement system based on FPGA
CN104181391A (en) Harmonic detection method of digital power meter
CN114252837B (en) High-precision equal sampling system and method for harmonic measurement of digital power meter
RU2406094C2 (en) Method for instant determination of distortion coefficient of signals in alternating current electrical network and corresponding device
CN103969508A (en) Real-time high-precision power harmonic analysis method and device
CN117169590B (en) Power harmonic analysis method and device based on software variable sampling rate
CN106154034A (en) The harmonic measuring device of a kind of power model and method
Tiwari et al. Measurement of instantaneous power quality parameters using UWPT and Hilbert transform and its FPGA implementation
CN117054737B (en) Method and device for calculating power supply frequency through autocorrelation filtering
CN104330644B (en) The method and system of sine wave signal amplitude in detection power system
Valenzuela et al. Real-time interharmonics detection and measurement based on FFT algorithm
CN112557781A (en) Wide frequency domain signal measuring method suitable for calibrator
US8433743B2 (en) Root mean square (RMS) metering devices and methods for generating RMS current level to both high or low frequency within signal
CN107515332B (en) Direct current electric energy metering device and method based on frequency spectrum analysis and synchronous sampling
CN112444673A (en) Frequency measurement method applied to standard meter of electric energy meter calibrating device
CN109975598B (en) Periodic signal effective value measuring circuit

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
GR01 Patent grant
GR01 Patent grant