CN109655774B - Two-stage adjustment waveform playback angle difference real-time compensation method - Google Patents
Two-stage adjustment waveform playback angle difference real-time compensation method Download PDFInfo
- Publication number
- CN109655774B CN109655774B CN201811406838.5A CN201811406838A CN109655774B CN 109655774 B CN109655774 B CN 109655774B CN 201811406838 A CN201811406838 A CN 201811406838A CN 109655774 B CN109655774 B CN 109655774B
- Authority
- CN
- China
- Prior art keywords
- ofst
- compensation
- fine
- grained
- processing
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R35/00—Testing or calibrating of apparatus covered by the other groups of this subclass
- G01R35/005—Calibrating; Standards or reference devices, e.g. voltage or resistance standards, "golden" references
Abstract
The invention discloses a two-stage adjustment waveform playback angle difference real-time compensation method, which is used for calculating playback of multiphase voltage and current through input and grading of a diagonal difference compensation value and processing of an image. The method effectively solves the problem of phase angle mismatching, is flexible and variable, has high calculation efficiency and high calculation precision, can be directly used for an electric power waveform playback device, and provides support for electric power scientific research.
Description
Technical Field
The invention belongs to the field of electric power research, and particularly relates to a two-stage adjustment real-time compensation method for waveform playback angle difference.
Background
The waveform playback, namely the process of playing back the waveform file of the recorded voltage and current into analog quantity, is an important electric power science research mode. The angle difference, that is, the phase angle difference between the analog quantities of different phase sequences, is difficult to avoid in the current technology during the hardware acquisition, software generation and hardware playback of the waveform file. For playback of multi-phase voltage and current, the problem of phase angle mismatching between phases generally exists, at present, various scholars carry out a lot of effective researches and researches on compensation of angular difference, including aspects of hardware and software, wherein the compensation value of hardware compensation is fixed and is not easy to adjust; the software compensation also has complex interpolation calculation, so that the accuracy is high, the calculated amount is large, the real-time requirement cannot be met, the offset compensation accuracy is not high, and the like.
Disclosure of Invention
The invention aims to provide a waveform playback angle difference real-time compensation method based on two-stage adjustment, aiming at the problems and the defects in the prior art.
In order to achieve the purpose, the technical scheme adopted by the invention is as follows:
a waveform playback angle difference real-time compensation method based on two-stage adjustment comprises the following steps:
step 1: inputting an angular difference compensation value;
step 2: grading the angular difference compensation value input in the step 1; obtaining two stages of coarse grain treatment and fine grain treatment;
and step 3: judging whether the coarse granularity processing parameter is not 0, and if not, executing the step 4; if not, executing step 5;
and 4, step 4: performing coarse grain size compensation treatment;
and 5: judging whether the fine-grained processing parameter is not 0, and if not, executing the step 6; if not, executing step 7;
step 6: fine-grained compensation processing is carried out;
and 7: and outputting the compensated analog quantity points.
Furthermore, the two-stage processes of coarse grain size processing and fine grain size processing obtained in the step 2 are as follows:
step 2-1: dividing the input angular difference compensation value into two stages of coarse-grained processing and fine-grained processing, and calculating a compensation point parameter by using a formula:
in the above formula, OFSTcmpstRepresenting compensation point parameters, SamplecycThe sampling point number of each cycle wave is represented, and alpha represents an angular difference compensation input value;
step 2-2: taking OFSTcmpstInteger part OFSTintPerforming coarse-grained processing as coarse-grained processing parameter, and taking OFSTcmpstFractional part as fine-grained processing parameter OFSTfraAnd carrying out fine-grained treatment.
Furthermore, the step 3 comprises the following steps:
judging the coarse grain processing parameter OFSTintIf not 0, then step 4 is executed, if not 0, then step 4 is skipped, step 5 is executed,
furthermore, the coarse grain size compensation processing procedure in step 4 is as follows:
judging OFSTfraPositive and negativeIf positive, when reading waveform points of two phases, the first phase lags the second phase OFSTintDot reading, if negative, the first phase leads the second phase OFSTintAnd reading points.
Furthermore, the step 5 comprises the following steps:
judging fine-grained processing parameter OFSTfraIf not 0, the step 6 is executed, and if not 0, the step 6 is skipped and the step 7 is executed.
Further, the fine-grained compensation processing procedure in step 6 is as follows:
judging OFSTfraPositive and negative, if positive, Value (y1-y0) OFSTfra+ y 0; respectively taking a second phase current point y0 and an adjacent later point y1, and calculating a Value corresponding to the compensated second phase current point; if negative, the formula Value (y1-y0) OFST is followedfra+ y 1; and respectively taking the second current point y1 and the adjacent previous point y0 to calculate a Value corresponding to the compensated second current point.
According to the technical scheme, the invention has the beneficial effects that:
the invention relates to a waveform playback angle difference real-time compensation method based on two-stage adjustment, which is characterized in that the playback of multiphase voltage and current is calculated through the input and classification of a diagonal difference compensation value and the processing of an image.
Drawings
FIG. 1 is a phase angle difference compensation flow chart according to the present invention;
FIG. 2 is a diagram illustrating the effect of the waveform before compensation according to the present invention;
FIG. 3 is a diagram illustrating the effect of the compensated waveform according to the present invention.
Detailed Description
In order to make the technical content of the present invention more comprehensible, embodiments accompanied with figures are described below.
As shown in fig. 1, the method for compensating the waveform playback angle difference in real time with two-stage adjustment of the present invention includes the following steps:
step 1: inputting an angular difference compensation value;
step 2: grading the input angular difference compensation values;
step 2-1: dividing the input angular difference compensation value into two stages of coarse-grained processing and fine-grained processing, and calculating a compensation point parameter by using a formula:
in the above formula, OFSTcmpstRepresenting compensation point parameters, SamplecycThe sampling point number of each cycle wave is represented, and alpha represents an angular difference compensation input value;
step 2-2: taking OFSTcmpstInteger part OFSTintPerforming coarse-grained processing as coarse-grained processing parameter, and taking OFSTcmpstFractional part as fine-grained processing parameter OFSTfraAnd carrying out fine-grained treatment.
And step 3: judging the coarse grain processing parameter OFSTintIf not, executing the step 4, otherwise, skipping the step 4 and executing the step 5;
and 4, step 4: judging OFSTfraPositive and negative, if positive, the first phase lags the second phase OFST when the waveform point of two phases is readintDot reading, if negative, the first phase leads the second phase OFSTintReading points;
and 5: judging fine-grained processing parameter OFSTfraIf not, executing the step 6, otherwise, skipping the step 6 and executing the step 7;
step 6: fine-grained compensation processing is carried out; judging OFSTfraPositive and negative, if positive, Value (y1-y0) OFSTfra+ y 0; respectively taking a second phase current point y0 and an adjacent later point y1, and calculating a Value corresponding to the compensated second phase current point; if negative, the formula Value (y1-y0) OFST is followedfra+ y 1; respectively taking a second current point y1 and an adjacent previous point y0, and calculating a Value corresponding to the compensated second current point
And 7: and outputting the compensated analog quantity points.
The technical scheme of the invention will be described in detail below by combining a waveform with a voltage of 220V, a current of 30A and a frequency of 5KHz and the attached drawings.
Step 1: from the pre-compensation waveform, as shown in FIG. 2, the angular difference compensation value-4.8 is input.
Step 2: and classifying the input angular difference compensation value according to the input angular difference compensation value, wherein the classification comprises two stages of coarse grain processing and fine grain processing. The method specifically comprises the following steps:
And 2-2, taking the integral part of the compensation point parameter as a coarse-granularity processing parameter to perform coarse-granularity processing, and taking the decimal part of the compensation point parameter as a fine-granularity processing parameter to perform fine-granularity processing.
And step 3: and judging whether the coarse-grained processing parameter is 0, if so, skipping the step 4, executing the step 5, and if not, continuing the step 4.
And 4, step 4: and judging whether the fine-granularity processing parameter is positive or negative, if so, reading the waveform points of the two phases, reading the coarse-granularity processing parameter points of the first phase behind the second phase, and if not, reading the coarse-granularity processing parameter points of the second phase ahead of the first phase.
And 5: and judging whether the fine-grained processing parameter is 0, if so, skipping the step 6, executing the step 7, and if not, continuing the step 6.
Step 6: judging whether the fine-grained processing parameter is positive or negative, if so, judging whether the fine-grained processing parameter is positive or negative, and if so, judging whether the fine-grained processing parameter is positive or negative according to a formula Value (y1-y0) × OFSTfra+ y 0; respectively taking a second phase current point y0 and an adjacent later point y1, and calculating a Value corresponding to the compensated second phase current point; if negative, the formula Value (y1-y0) OFST is followedfra+ y 1; and respectively taking the second current point y1 and the adjacent previous point y0 to calculate a Value corresponding to the compensated second current point.
And 7: and correspondingly outputting the compensated two-phase analog quantity values to a playback device for playback in sequence, as shown in fig. 3.
Although the present invention has been described with reference to the preferred embodiments, it is not intended to be limited thereto. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention. Therefore, the protection scope of the present invention should be determined by the appended claims.
Claims (5)
1. A waveform playback angle difference real-time compensation method based on two-stage adjustment is characterized by comprising the following steps:
step 1: inputting an angular difference compensation value;
step 2: grading the angular difference compensation value input in the step 1, wherein the grading process comprises the following steps:
step 2-1: dividing the input angular difference compensation value into two stages of coarse-grained processing and fine-grained processing, and calculating a compensation point parameter by using a formula:
in the above formula, OFSTcmpstRepresenting compensation point parameters, SamplecycThe sampling point number of each cycle wave is represented, and alpha represents an angular difference compensation input value;
step 2-2: taking OFSTcmpstInteger part OFSTintPerforming coarse-grained processing as coarse-grained processing parameter, and taking OFSTcmpstFractional part as fine-grained processing parameter OFSTfraCarrying out fine-grained treatment;
obtaining two stages of coarse grain treatment and fine grain treatment;
and step 3: judging whether the coarse granularity processing parameter is not 0, and if not, executing the step 4; if not, executing step 5;
and 4, step 4: performing coarse grain size compensation treatment;
and 5: judging whether the fine-grained processing parameter is not 0, and if not, executing the step 6; if not, executing step 7;
step 6: fine-grained compensation processing is carried out;
and 7: and outputting the compensated analog quantity points.
2. The method for compensating the waveform playback angle difference in real time based on two-stage adjustment according to claim 1, wherein the step 3 comprises the following steps:
judging the coarse grain processing parameter OFSTintIf not 0, the step 4 is executed, if not 0, the step 4 is skipped, and the step 5 is executed.
3. The method according to claim 1, wherein the coarse grain size compensation processing in step 4 comprises:
judging OFSTfraPositive and negative, if positive, the first phase lags the second phase OFST when the waveform point of two phases is readintDot reading, if negative, the first phase leads the second phase OFSTintAnd reading points.
4. The method for compensating the waveform playback angle difference in real time based on two-stage adjustment according to claim 1, wherein the step 5 comprises the following steps:
judging fine-grained processing parameter OFSTfraIf not 0, the step 6 is executed, and if not 0, the step 6 is skipped and the step 7 is executed.
5. The method for compensating the waveform playback angle difference in real time based on two-stage adjustment according to claim 1, wherein the fine grain compensation processing procedure in step 6 is as follows:
judging OFSTfraPositive and negative, if positive, then according to formula Value=(y1-y0)*OFSTfra+ y 0; respectively taking a second current point y0 and an adjacent later point y1, and calculating a compensated second current point corresponding value Value(ii) a If it is negative, then according to formula Value=(y1-y0)*OFSTfra+ y 1; respectively taking a second current point y1 and an adjacent previous point y0, and calculating a compensated second current point corresponding valueValue。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811406838.5A CN109655774B (en) | 2018-11-23 | 2018-11-23 | Two-stage adjustment waveform playback angle difference real-time compensation method |
PCT/CN2019/113111 WO2020103639A1 (en) | 2018-11-23 | 2019-10-24 | Waveform playback angle difference real-time compensation method based on two-stage adjustment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811406838.5A CN109655774B (en) | 2018-11-23 | 2018-11-23 | Two-stage adjustment waveform playback angle difference real-time compensation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109655774A CN109655774A (en) | 2019-04-19 |
CN109655774B true CN109655774B (en) | 2020-11-13 |
Family
ID=66112179
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811406838.5A Active CN109655774B (en) | 2018-11-23 | 2018-11-23 | Two-stage adjustment waveform playback angle difference real-time compensation method |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109655774B (en) |
WO (1) | WO2020103639A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109655774B (en) * | 2018-11-23 | 2020-11-13 | 江苏智臻能源科技有限公司 | Two-stage adjustment waveform playback angle difference real-time compensation method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101865996A (en) * | 2010-05-19 | 2010-10-20 | 北京航空航天大学 | Airborne laser radar pitch angle deviation real-time compensation method and device |
CN103001181A (en) * | 2012-11-19 | 2013-03-27 | 山东电力集团公司电力科学研究院 | Method for solving false action of differential protection when power transfer of transformer |
CN103023290A (en) * | 2011-09-23 | 2013-04-03 | 台达电子企业管理(上海)有限公司 | Mid-voltage variable frequency driving system and total harmonic distortion compensation control method |
KR20140074018A (en) * | 2012-12-07 | 2014-06-17 | 충북대학교 산학협력단 | Operator standpoint-based remote operation system and method for mobile object |
CN108717142A (en) * | 2018-05-31 | 2018-10-30 | 南京协澳智能控制系统有限公司 | A kind of digital synchronous inspection relay with phase angle compensation function |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6759837B2 (en) * | 2001-08-28 | 2004-07-06 | Analog Devices, Inc. | Methods and apparatus for phase compensation in electronic energy meters |
US7940667B1 (en) * | 2006-09-13 | 2011-05-10 | Pmc-Sierra Us, Inc. | Delay measurements and calibration methods and apparatus for distributed wireless systems |
CN101217524B (en) * | 2007-12-26 | 2010-06-23 | 北京创毅视讯科技有限公司 | Channel decoding device and method |
CN101345886B (en) * | 2008-09-03 | 2011-11-02 | 华为技术有限公司 | Method and device for phase error correction |
CN102006399B (en) * | 2009-09-03 | 2013-03-27 | 华晶科技股份有限公司 | Method for eliminating image noise and device using same |
US8564345B2 (en) * | 2011-04-01 | 2013-10-22 | Intel Corporation | Digitally controlled delay lines with fine grain and coarse grain delay elements, and methods and systems to adjust in fine grain increments |
CN102231907B (en) * | 2011-06-27 | 2017-03-22 | 中兴通讯股份有限公司 | Clock synchronization method and apparatus in transmission system |
CN104360303A (en) * | 2014-11-04 | 2015-02-18 | 江阴长仪集团有限公司 | Method for verifying self-calibration error along with voltage fluctuation on basis of intelligent ammeters |
CN108169700A (en) * | 2017-12-29 | 2018-06-15 | 诺仪器(中国)有限公司 | The angular difference calibration system and method for current sensor |
CN108632963B (en) * | 2018-05-08 | 2019-04-02 | 北京理工大学 | A kind of change grain size characteristic method of sampling based on multi-media sensor |
CN109655774B (en) * | 2018-11-23 | 2020-11-13 | 江苏智臻能源科技有限公司 | Two-stage adjustment waveform playback angle difference real-time compensation method |
-
2018
- 2018-11-23 CN CN201811406838.5A patent/CN109655774B/en active Active
-
2019
- 2019-10-24 WO PCT/CN2019/113111 patent/WO2020103639A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101865996A (en) * | 2010-05-19 | 2010-10-20 | 北京航空航天大学 | Airborne laser radar pitch angle deviation real-time compensation method and device |
CN103023290A (en) * | 2011-09-23 | 2013-04-03 | 台达电子企业管理(上海)有限公司 | Mid-voltage variable frequency driving system and total harmonic distortion compensation control method |
CN103001181A (en) * | 2012-11-19 | 2013-03-27 | 山东电力集团公司电力科学研究院 | Method for solving false action of differential protection when power transfer of transformer |
KR20140074018A (en) * | 2012-12-07 | 2014-06-17 | 충북대학교 산학협력단 | Operator standpoint-based remote operation system and method for mobile object |
CN108717142A (en) * | 2018-05-31 | 2018-10-30 | 南京协澳智能控制系统有限公司 | A kind of digital synchronous inspection relay with phase angle compensation function |
Non-Patent Citations (1)
Title |
---|
一种高精度动态角差补偿算法;宋慧娜等;《电测与仪表》;20101231;第47卷(第540期);第12-15页 * |
Also Published As
Publication number | Publication date |
---|---|
WO2020103639A1 (en) | 2020-05-28 |
CN109655774A (en) | 2019-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110061615B (en) | Stator current harmonic compensation method for nonlinear characteristic of inverter | |
Silva et al. | Performance evaluation of PLL algorithms for single-phase grid-connected systems | |
CN102593851A (en) | PWM rectifier control method under unbalanced power grid voltage based on power instruction compensation | |
CN109752584B (en) | Method for measuring effective value of periodic signal | |
CN109245103B (en) | Software phase-locked loop implementation method and device based on improved sliding mean filter | |
CN109655774B (en) | Two-stage adjustment waveform playback angle difference real-time compensation method | |
CN104821601A (en) | Three-phase photovoltaic grid-connected inverter control device | |
CN110620533A (en) | Surface-mounted permanent magnet synchronous motor sensorless control method | |
CN107863774B (en) | Method, device and system for acquiring harmonic command current and readable storage medium | |
CN110068729B (en) | Signal phasor calculation method | |
Hu et al. | Predictive current control of grid-connected voltage source converters during network unbalance | |
JP2006317435A (en) | Phase/amplitude detector, and method | |
CN109038652A (en) | Multi-functional gird-connected inverter harmonic wave selectivity compensation method based on modulation sliding fourier transfonn | |
CN205004756U (en) | Control device of three -phase photovoltaic grid -connected inverter | |
CN105633964A (en) | APF current control method and system | |
CN109510548B (en) | Double-fed motor flexible power control method and device | |
JP2006296055A (en) | Control device of power converter | |
Ko et al. | A new PLL system using full order observer and PLL system modeling in a single phase grid-connected inverter | |
CN1753312A (en) | Direct digital synthesis device of pulse signal and its method | |
Song et al. | Implementation of real-time Laplacian pyramid image fusion processing based on FPGA | |
CN108879680A (en) | Multi-functional gird-connected inverter harmonic wave selectivity compensation method based on sliding fourier transfonn | |
Firouzjah et al. | A predictive current control method for shunt active filter with windowing based wavelet transform in harmonic detection | |
CN114527326A (en) | Method and device for measuring power grid impedance, related equipment and storage medium | |
CN114710139B (en) | Harmonic extraction and synthesizer of APF control system | |
CN110880881A (en) | Electric energy quality control method of four-bridge arm inverter and embedded repetitive controller thereof |
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 |