CN104749435A - DFT harmonic detection method without accumulated error sliding window - Google Patents
DFT harmonic detection method without accumulated error sliding window Download PDFInfo
- Publication number
- CN104749435A CN104749435A CN201510151756.0A CN201510151756A CN104749435A CN 104749435 A CN104749435 A CN 104749435A CN 201510151756 A CN201510151756 A CN 201510151756A CN 104749435 A CN104749435 A CN 104749435A
- Authority
- CN
- China
- Prior art keywords
- centerdot
- cos
- dft
- signal
- harmonic
- 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
Links
Landscapes
- Supply And Distribution Of Alternating Current (AREA)
Abstract
The invention discloses a DFT harmonic detection method without an accumulated error sliding window. The DFT harmonic detection method includes: collecting voltage signals of a power grid, and utilizing digital phase-locked loop technology to enable voltage of the power grid to be synchronous; performing DFT forward transformation on collected load current signals x(t) through a sliding window iteration method to respectively acquire x-axis and y-axis components; determining instruction signals of hth harmonic waves, and utilizing DFT reverse transformation to extract each harmonic instruction. By the DFT harmonic detection method, the problem of extraction of realtime harmonic instructions of an active power filter is solved, and each harmonic component can be detected accurately and quickly to guarantee realtime compensation effect of the active power filter.
Description
Technical field
The invention belongs to digital signal processing technique field, more specifically say, relate to a kind of DFT harmonic detecting method without the sliding window of cumulative errors.
Background technology
Along with the development of electric system, nonlinear load is applied on a large scale, and they inject a large amount of harmonic wave to electrical network, power system voltage current waveform is distorted more and more serious, has had a strong impact on the quality of power supply and Electrical Safety.Therefore, harmonic detecting and suppression have great reality and economic implications.
At present, the detection method based on frequency domain and the large class of the detection method based on time domain two can be substantially divided into about Harmonic in Power System detection method.Based on the detection method of frequency domain based on Fourier transform, comprise Fast Fourier Transform (FFT) method (FFT), discrete Fourier transformation method (DFT) and iterative Fourier transform method (RDFT).Harmonic detecting method based on Fourier transform can realize harmonic wave gradation and detect, easy to use, but there is the inherent delay of one-period, and real-time is poor; Iterative Fourier transform method, dynamic responding speed aspect is then better than fourier transform method, but needs for it additionally increases 2N variable storage space for the detection of every order harmonic components.Based on time harmonic detection method, comprise based on time domain instantaneous reactive power theory (p-q) detection method, based on first-harmonic synchronous rotation transformation (d-q) detection method, based on harmonic synchronous rotational transform detection method.Harmonic detecting method based on time domain belongs to real-time detection method, common dynamic fast response time, but there is the contradiction that subharmonic detects and calculated amount is large.
Summary of the invention
The object of the invention is to overcome the deficiencies in the prior art, a kind of DFT harmonic detecting method without the sliding window of cumulative errors is provided, solve Active Power Filter-APF (APF) to a difficult problem for real-time harmonic instruction fetch, each harmonic component can also be detected accurately and rapidly, to ensure the real-Time Compensation effect of APF simultaneously.
For achieving the above object, a kind of DFT harmonic detecting method without the sliding window of cumulative errors of the present invention, is characterized in that, comprise the following steps:
(1), mains voltage signal is gathered, by Digital Phase-Locked Loop Technology, synchronised grids voltage-phase and frequency;
(2), gather load current signal x (t), then by sliding window alternative manner, DFT direct transform is carried out to load current signal x (t), obtain x-axis component A respectively
hx(k) and y-axis component A
hy(k);
Wherein, x (n) is the sampled signal of signal x (t) containing harmonic wave, and n is sampled point number, and N is sampled point number in the primitive period;
(3) the signal x of h subharmonic command signal when kth is clapped, is determined
h(n)
(4) signal x when, the described kth of step (3) being clapped
hn () carries out inverse transformation
Further, in described step (2), sliding window alternative manner to the method that load current signal x (t) carries out DFT direct transform is:
(2.1) in load current, arrange three sizes is the array of N, i.e. x [N], sin_table [N], cos_table [N], stores the amplitude x (n) of iterative window internal burden current signal sampled value, the sine value of corresponding phase and cosine value respectively;
(2.2), A is calculated according to formula (1)
hx(k)
(2.2.1), calculate and skid off the data of window, be i.e. most legacy data
Most legacy data=x [k] × cos_table [k], then with this most legacy data divided by N obtain the cycle average after most old value;
(2.2.2), the data slipping into window are calculated, i.e. latest data
Upgrade x [k], cos_table [k] by the sampled value of current flow signal, obtain x [k] ', cos_table [k] '
Latest data=x [k] × cos_table [k] ', then with this latest data divided by N obtain the cycle average after last look;
(2.2.3), calculate kth and clap x-axis component A
hx(k), kth bat value=kth-1 bat value-most old value+last look;
(2.3), according to formula (2), calculate kth by the method for step (2.2.1) ~ (2.2.3) and clap y-axis component A
hyk (), wherein, replaces cos_table [k] when concrete calculating with sin_table [k].
Goal of the invention of the present invention is achieved in that
The invention discloses a kind of DFT harmonic detecting method without the sliding window of cumulative errors, first gather mains voltage signal, recycling Digital Phase-Locked Loop Technology makes line voltage synchronous; By sliding window process of iteration, DFT direct transform is carried out to load current signal x (t) gathered, obtain x-axis and y-axis component respectively; Finally determine the command signal of h subharmonic, recycling DFT inverse transformation extracts each harmonic instruction.The invention solves a difficult problem for Active Power Filter-APF real-time harmonic instruction fetch, each harmonic component can also be detected accurately and rapidly, to ensure the real-Time Compensation effect of active power filter simultaneously.
Meanwhile, a kind of DFT harmonic detecting method without the sliding window of cumulative errors of the present invention also has following beneficial effect:
(1), for the error accumulation that sliding window process occurs, the method that the present invention proposes is: the amplitude x (n) of sampled value and sine value, the cosine value of respective phase that store current signal in a window, and utilize the data source window stored, avoid error accumulation;
(2), the present invention conveniently can realize the extract real-time of subharmonic instruction;
(3), adopt look-up table to calculate sine and cosine value, save controller operation time;
(4), with C language programming, dsp chip realizes, implements simple and easy.
Accompanying drawing explanation
Fig. 1 is the testing process block diagram of h subharmonic;
Fig. 2 is sliding-window iterative algorithm schematic diagram;
Fig. 3 is the 3 subharmonic test experience figure not adopting this algorithm;
Fig. 4 is 3 subharmonic test experience figure after adopting this algorithm.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described, so that those skilled in the art understands the present invention better.Requiring particular attention is that, in the following description, when perhaps the detailed description of known function and design can desalinate main contents of the present invention, these are described in and will be left in the basket here.
Embodiment
Fig. 1 is the testing process block diagram of h subharmonic.
For ease of describing, the present embodiment, for single-phase load currents, describes the concrete grammar of 3,5,7, the 11 subharmonic instructions of extracting single-phase load currents x (t).
In the present embodiment, as shown in Figure 1, extract the instruction of h subharmonic, comprise the following steps:
(1), create sine table, 0 ~ 2 π is divided into 200 (supposing that in the primitive period, sampling number is 200) equal portions, calculate the sine value of respective angles, and set up the sine table of 200 points accordingly;
(2), sampling mains voltage signal, by Digital Phase-Locked Loop Technology, synchronised grids voltage-phase θ;
(3), sampling single-phase load currents signal x (t), then by sliding window alternative manner, DFT direct transform is carried out to single-phase load currents signal x (t), obtains x-axis component A respectively
hx(k) and y-axis component A
hy(k);
Wherein, x (n) is the sampled signal of signal x (t) containing harmonic wave, and n is sampled point number, and N is sampled point number in the primitive period, i.e. N=200, k ∈ [1, n];
In the present embodiment, as shown in Figure 2, sliding window process of iteration to the concrete steps that single-phase load currents signal x (t) carries out DFT direct transform is:
(3.1) in load current x (t), arrange three length is the array of 200, i.e. x [200], sin_table [200], cos_table [200], stores the amplitude x (n) of iterative window internal burden current signal sampled value, the sine value of corresponding phase and cosine value respectively;
(3.2), A is calculated according to formula (1)
hx(k)
(3.2.1), calculate and skid off the data of window, be i.e. most legacy data
Most legacy data=x [k] × cos_table [k], then with this most legacy data divided by 200 obtain the cycle average after most old value;
(3.2.2), the data slipping into window are calculated, i.e. latest data
X [k], cos_table [k] is upgraded by the sampled value of current flow signal, obtain x [k] ', cos_table [k] ', latest data=x [k] × cos_table [k] ', then with this latest data divided by 200 obtain the cycle average after last look;
(3.2.3), calculate kth and clap x-axis component A
hx(k), kth bat value=kth-1 bat value-most old value+last look;
(3.3), according to formula (2), calculate kth by the method for step (3.2.1) ~ (3.2.3) and clap y-axis component A
hy(k), wherein, replace cos_table [k] when concrete calculating with sin_table [k], its concrete calculation process does not repeat them here;
(4) the signal x of h subharmonic command signal when kth is clapped, is determined
h(n)
In the present embodiment, h value is 3,5,7,11;
(5) signal x when, the described kth of step (4) being clapped
hn () carries out inverse transformation
In the present embodiment, gradation is extracted 3,5,7,11 subharmonic instructions of single-phase load currents signal x (t), then total harmonic wave instruction is x (n)=x
3(n)+x
5(n)+x
7(n)+x
11(n).
The harmonic wave that the present invention is applicable to threephase load electric current too extracts, and in threephase load electric current, extracts respectively according to the method described above, do not repeat them here a, b, c three-phase.
Fig. 3 is the 3 subharmonic test experience figure not adopting this algorithm;
Fig. 4 is 3 subharmonic test experience figure after adopting this algorithm.
Fig. 3 and Fig. 4 represents respectively and does not adopt and adopt patent load current 3 subharmonic test experience oscillogram of the present invention.In the present embodiment, input signal is peak-to-peak value is 2V, frequency is the square wave of 50Hz, when to identical load current, when not adopting the inventive method, because error can be accumulated in time, cause harmonic wave forms to be dispersed, can not accurately detect 3 subharmonic, as shown in Figure 3, the amplitude of harmonic wave is bigger than normal, is just embodying harmonic wave forms and is dispersing.As shown in Figure 4, after adopting method of the present invention, do not have error accumulation, harmonic wave forms is stable, and therefore the present invention can extract harmonic wave instruction quickly and accurately.
Although be described the illustrative embodiment of the present invention above; so that those skilled in the art understand the present invention; but should be clear; the invention is not restricted to the scope of embodiment; to those skilled in the art; as long as various change to limit and in the spirit and scope of the present invention determined, these changes are apparent, and all innovation and creation utilizing the present invention to conceive are all at the row of protection in appended claim.
Claims (2)
1., without a DFT harmonic detecting method for the sliding window of cumulative errors, it is characterized in that, comprise the following steps:
(1), mains voltage signal is gathered, by Digital Phase-Locked Loop Technology, synchronised grids voltage-phase and frequency;
(2), gather load current signal x (t), then by sliding window alternative manner, DFT direct transform is carried out to load current signal x (t), obtain x-axis component A respectively
hx(k) and y-axis component A
hy(k);
Wherein, x (n) is the sampled signal of signal x (t) containing harmonic wave, and n is for adopting sampled point number, and N is sampled point number in the primitive period, k ∈ [1, n];
(3) the signal x of h subharmonic command signal when kth is clapped, is determined
h(n)
(4) signal x when, the described kth of step (3) being clapped
hn () carries out inverse transformation
2. a kind of DFT harmonic detecting method without the sliding window of cumulative errors according to claim 1, is characterized in that, in described step (2), sliding window alternative manner to the method that load current signal x (t) carries out DFT direct transform is:
(2.1), in every phase current of load current, arranging three sizes is the array of N, i.e. x [N], sin_table [N], cos_table [N], stores the amplitude x (n) of iterative window internal burden current signal sampled value, the sine value of corresponding phase and cosine value respectively;
(2.2), A is calculated according to formula (1)
hx(k)
(2.2.1), calculate and skid off the data of window, be i.e. most legacy data
Most legacy data=x [k] × cos_table [k], then with this most legacy data divided by N obtain the cycle average after most old value;
(2.2.2), the data slipping into window are calculated, i.e. latest data
Upgrade x [k], cos_table [k] by the sampled value of current flow signal, obtain x [k] ', cos_table [k] '
Latest data=x [k] × cos_table [k] ', then with this latest data divided by N obtain the cycle average after last look;
(2.2.3), calculate kth and clap x-axis component A
hx(k), kth bat value=kth bat value-most old value+last look;
(2.3), according to formula (2), calculate kth by the method for step (2.2.1) ~ (2.2.3) and clap y-axis component A
hyk (), wherein, replaces cos_table [k] when concrete calculating with sin_table [k].
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510151756.0A CN104749435A (en) | 2015-04-01 | 2015-04-01 | DFT harmonic detection method without accumulated error sliding window |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510151756.0A CN104749435A (en) | 2015-04-01 | 2015-04-01 | DFT harmonic detection method without accumulated error sliding window |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104749435A true CN104749435A (en) | 2015-07-01 |
Family
ID=53589417
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510151756.0A Pending CN104749435A (en) | 2015-04-01 | 2015-04-01 | DFT harmonic detection method without accumulated error sliding window |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104749435A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106324342A (en) * | 2016-08-22 | 2017-01-11 | 江苏南自通华电力自动化股份有限公司 | Harmonic wave detecting method based on table look-up |
CN106501602A (en) * | 2016-09-28 | 2017-03-15 | 西南交通大学 | One kind is based on the detached fundamental wave measurement method of parameters of sliding window frequency spectrum |
CN107144828A (en) * | 2017-06-20 | 2017-09-08 | 成都信息工程大学 | A kind of sliding window DFT is used for coherent laser windfinding radar spectral analysis method |
CN107632200A (en) * | 2017-08-31 | 2018-01-26 | 成都四威功率电子科技有限公司 | Harmonic detecting method based on discrete Fourier transform |
CN107765074A (en) * | 2017-09-25 | 2018-03-06 | 宁波中车时代传感技术有限公司 | The detection method and detecting system of traction convertor harmonic current signal intensity |
CN107844768A (en) * | 2017-10-30 | 2018-03-27 | 常熟理工学院 | One-dimensional signal morphologic filtering method based on sliding window iteration theorem |
CN109358223A (en) * | 2018-09-29 | 2019-02-19 | 海特尔机电工程技术(马鞍山)有限公司 | A kind of sliding window DFT harmonic current detecting method and device, storage medium |
CN110401195A (en) * | 2019-06-13 | 2019-11-01 | 上海交通大学 | Closed loop compensation method, system and medium based on DFT rotation transformation |
CN111077370A (en) * | 2020-01-02 | 2020-04-28 | 哈尔滨理工大学 | Improved recursive discrete Fourier transform detection method |
CN112510712A (en) * | 2020-11-25 | 2021-03-16 | 武汉理工大学 | Inductance current proportion feedforward control hybrid filtering system based on RDFT |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102401858A (en) * | 2011-08-22 | 2012-04-04 | 哈尔滨工业大学 | Method for detecting fundamental component and harmonic component of voltage of power grid |
CN104113052A (en) * | 2014-06-30 | 2014-10-22 | 浙江大学 | Method for protecting active power filter (APF) |
-
2015
- 2015-04-01 CN CN201510151756.0A patent/CN104749435A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102401858A (en) * | 2011-08-22 | 2012-04-04 | 哈尔滨工业大学 | Method for detecting fundamental component and harmonic component of voltage of power grid |
CN104113052A (en) * | 2014-06-30 | 2014-10-22 | 浙江大学 | Method for protecting active power filter (APF) |
Non-Patent Citations (8)
Title |
---|
周柯 等: "基于滑窗迭代DFT的电力谐波检测", 《华北电力大学学报》 * |
成剑 等: "一种简化DFT的滑窗迭代算法在电力谐波检测中的应用", 《计算机测量与控制》 * |
戚鸿飞 等: "滑窗迭代DFT算法在电力谐波检测中的仿真研究", 《煤矿机电》 * |
林洁 等: "一种基于锁相同步与滑窗迭代DFT的电力有源滤波器的设计与实现", 《电气自动化》 * |
谢川: "数字控制大容量并联型APF关键技术研究", 《中国博士学位论文全文数据库 工程科技Ⅱ辑》 * |
赵文忠 等: "基于滑窗迭代DFT的谐波参考电流控制信号快速检测方法", 《自动化与仪器仪表》 * |
郁祎琳 等: "滑窗迭代DFT的谐波电流检测方法", 《电力系统保护与控制》 * |
陆秀令 等: "电力谐波滑窗迭代DFT检测算法的研究与仿真", 《系统仿真学报》 * |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106324342A (en) * | 2016-08-22 | 2017-01-11 | 江苏南自通华电力自动化股份有限公司 | Harmonic wave detecting method based on table look-up |
CN106501602A (en) * | 2016-09-28 | 2017-03-15 | 西南交通大学 | One kind is based on the detached fundamental wave measurement method of parameters of sliding window frequency spectrum |
CN106501602B (en) * | 2016-09-28 | 2018-10-30 | 西南交通大学 | A kind of fundamental wave measurement method of parameters based on the separation of sliding window frequency spectrum |
CN107144828B (en) * | 2017-06-20 | 2018-06-29 | 成都信息工程大学 | A kind of sliding window DFT is used for coherent laser windfinding radar spectral analysis method |
CN107144828A (en) * | 2017-06-20 | 2017-09-08 | 成都信息工程大学 | A kind of sliding window DFT is used for coherent laser windfinding radar spectral analysis method |
CN107632200A (en) * | 2017-08-31 | 2018-01-26 | 成都四威功率电子科技有限公司 | Harmonic detecting method based on discrete Fourier transform |
CN107632200B (en) * | 2017-08-31 | 2020-05-08 | 成都四威功率电子科技有限公司 | Harmonic detection method based on discrete Fourier transform |
CN107765074A (en) * | 2017-09-25 | 2018-03-06 | 宁波中车时代传感技术有限公司 | The detection method and detecting system of traction convertor harmonic current signal intensity |
CN107844768A (en) * | 2017-10-30 | 2018-03-27 | 常熟理工学院 | One-dimensional signal morphologic filtering method based on sliding window iteration theorem |
CN109358223A (en) * | 2018-09-29 | 2019-02-19 | 海特尔机电工程技术(马鞍山)有限公司 | A kind of sliding window DFT harmonic current detecting method and device, storage medium |
CN110401195A (en) * | 2019-06-13 | 2019-11-01 | 上海交通大学 | Closed loop compensation method, system and medium based on DFT rotation transformation |
CN111077370A (en) * | 2020-01-02 | 2020-04-28 | 哈尔滨理工大学 | Improved recursive discrete Fourier transform detection method |
CN112510712A (en) * | 2020-11-25 | 2021-03-16 | 武汉理工大学 | Inductance current proportion feedforward control hybrid filtering system based on RDFT |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104749435A (en) | DFT harmonic detection method without accumulated error sliding window | |
CN103487652B (en) | Frequency self-adaptive real-time fractional harmonic wave detection method | |
CN101493482B (en) | Single-phase harmonic current detecting method | |
CN104833853B (en) | A kind of adaptive sliding window DFT harmonic detecting methods of frequency | |
CN107632200B (en) | Harmonic detection method based on discrete Fourier transform | |
CN109358223A (en) | A kind of sliding window DFT harmonic current detecting method and device, storage medium | |
CN104459354B (en) | A kind of three-phase alternating current power network phase sequence detecting method and device | |
CN104020351A (en) | Subharmonic detection method suitable for APF (Active Power Filter) under load unbalance system | |
CN104133130A (en) | Transformer direct-current magnetic bias current calculation method and system based on fault recording data | |
CN108761222A (en) | It is a kind of imbalance operating mode under network voltage order components quick extraction system and method | |
CN105021872A (en) | Active and passive component detection method for different current components in distorted and asymmetric voltage state of electrical network | |
CN108627731A (en) | A kind of rapid detection method of single-phase power-off | |
CN102508022B (en) | Method for detecting power grid frequency by using optimal multiplier Newton algorithm | |
CN104065070B (en) | A kind of digital monocyclic phase method based on compensation of delay controls Active Power Filter-APF | |
Jia et al. | Residual current compensation for single-phase grounding fault in coal mine power network | |
CN107703358B (en) | A kind of phase locked algorithm based on improvement Second Order Generalized Integrator | |
CN110596455B (en) | Power frequency electrical parameter extraction method, system and computer readable storage medium | |
CN103176030B (en) | The harmonic detection method of distribution system | |
CN104820129B (en) | A kind of detection method of fundamental positive sequence active current | |
CN102243277A (en) | Method for detecting positive sequence quantity and negative sequence quantity of rotor voltage of double-feed wind power generator under double synchronous reference frames (SRF) | |
CN106771507B (en) | Reactive current rapid detection method based on voltage reference split-phase synchronization | |
Zhou et al. | Study on the improved harmonic detection algorithm based on FBD theory | |
Cheng et al. | Application of Short-time Fourier Transform in Feeder Fault Detection of Flexible Multi-state Switch | |
CN106253776B (en) | Generator power pick-up device and delivering method based on comprehensive harmonic failure identification | |
Yuan et al. | Improved fbd reactive power and harmonic current detecting method based on voltage sequence decomposition |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20150701 |
|
RJ01 | Rejection of invention patent application after publication |