CN112946549A - Method for correcting direct current component in alternating current system - Google Patents

Method for correcting direct current component in alternating current system Download PDF

Info

Publication number
CN112946549A
CN112946549A CN202110119157.6A CN202110119157A CN112946549A CN 112946549 A CN112946549 A CN 112946549A CN 202110119157 A CN202110119157 A CN 202110119157A CN 112946549 A CN112946549 A CN 112946549A
Authority
CN
China
Prior art keywords
value
direct current
current
dcos
gain
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.)
Granted
Application number
CN202110119157.6A
Other languages
Chinese (zh)
Other versions
CN112946549B (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.)
Hangzhou Xili Intelligent Technology Co ltd
Original Assignee
Hangzhou Xili Intelligent Technology 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 Hangzhou Xili Intelligent Technology Co ltd filed Critical Hangzhou Xili Intelligent Technology Co ltd
Priority to CN202110119157.6A priority Critical patent/CN112946549B/en
Priority claimed from CN202110119157.6A external-priority patent/CN112946549B/en
Publication of CN112946549A publication Critical patent/CN112946549A/en
Application granted granted Critical
Publication of CN112946549B publication Critical patent/CN112946549B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/005Calibrating; Standards or reference devices, e.g. voltage or resistance standards, "golden" references
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/04Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

The invention discloses a method for correcting direct current component in an alternating current system, which comprises the following steps: step S1, after the ammeter calibration is completed, under the no-load condition of the table body, the signal acquisition device measures a group of DC offset correction values; and step S2, in the normal metering stage of the electric meter, the signal acquisition device remeasures a group of DC offset correction values, and step S3 calculates the external input direct current value according to the formula T. In step S1, after the meter calibration is completed, the platform body does not output current, and the metering chip is ensured to be in an EMM mode at present; the following steps are carried out: step S11, turn off the high pass of NVM 1; step S12, configuring the waveform buffer as a 128-point synchronous sampling mode: step S13, starting the automatic DC offset correction function; in step S14, after t1 seconds, the DCOS _ Ix register value is read and saved in the EEPROM, which is recorded as DCOS _ Iref. Through DCoffset function, test direct current to through the compensation coefficient, realize exchanging the high accuracy measurement of error.

Description

Method for correcting direct current component in alternating current system
Technical Field
The invention relates to the technical field of power detection, in particular to a method for correcting a direct current component in an alternating current system.
Background
With the rapid development of the smart grid technology, the power load structure in the power grid is greatly changed, and the nonlinear loads are increasing day by day, for example, a large number of applications of various frequency conversion devices, half-bridge or full-bridge rectification equipment, electric arc furnaces, rolling mills and electric railways, and these nonlinear loads generate a large number of non-sinusoidal waves to be injected into the power grid, which causes the voltage and current waveforms of the power system to be distorted, and causes various damages to various electrical equipment devices such as generators, relay protection devices, communication equipment and automatic control devices, and further affects the metering accuracy.
The direct current magnetic bias or the direct current interference in the alternating current generally exists in various application systems of a power transmission network and terminals thereof, the direct current interference not only exists in an alternating current power grid and a power generation inverter system, but also has the same problem of direct current component interference in a plurality of high-power systems, particularly in the fields of variable frequency control, switching power amplifiers, uninterruptible power supplies, alternating current stabilized power supplies and the like, and therefore how to detect the direct current voltage and current and correct the direct current voltage and current in an appropriate mode is the technical key of magnetic bias suppression.
Disclosure of Invention
The invention aims to solve the problem of difficult detection and correction of direct current components in an alternating current system, and provides a method for correcting the direct current components in the alternating current system.
In order to achieve the above technical object, a technical solution provided by the present invention is a method for correcting a dc component in an ac system, comprising the steps of:
step S1, after the ammeter calibration is completed, under the no-load condition of the table body, the signal acquisition device measures a group of DC offset correction values;
step S2, in the normal metering phase of the electric meter, the signal acquisition device re-measures a set of DC offset correction values,
and step S3, calculating the external input direct current value according to the formula T.
In step S1, after the meter calibration is completed, the platform body does not output current, and the metering chip is ensured to be in an EMM mode at present; the following steps are carried out:
step S11, turn off the high pass of NVM 1; configuring HPFOFF (bit1 bit) of NVM1_ CFG (0x80) to be 1;
step S12, configuring the waveform buffer as a 128-point synchronous sampling mode: bit7:6 of WSAVECON (0x63) is configured to be 0x 2;
step S13, starting the automatic DC offset correction function; AUTODC _ EN (0x91) is configured to be 0x 0095; that is, NVM1_ DC _ DIS (bit7) is 1, i.e., the DC offset auto-correction result does not affect the metrology channel parameter calculation;
ix _ DC _ EN (Bit0/Bit2/Bit4) is 1, i.e., IA/IB/IC automatic offset correction is enabled.
In step S14, after t1 is 2.56 seconds, the register value of DCOS _ Ix (0x1d/0x1e/0x1f) is read and stored in the EEPROM as DCOS _ Ief.
In step S2, in the normal metering phase of the electric meter, the electric meter is currently in the EMM mode:
step S21, turn off the high pass of NVM 1;
step S22, configuring the waveform buffer as a 128-point synchronous sampling mode:
step S23, starting the automatic DC offset correction function;
in step S24, after t2 is 2.56 seconds, the DCOS _ Ix register value is read and saved in the EEPROM as DCOS _ Ix, where t1 is equal to t 2.
The formula T is calculated as follows:
IA1=(DCOS_Ix-DCOS_Iref)*0.512*(2^12)*KI2/(1+Gain);
wherein, IA1Inputting a direct current value for the outside; KI2The current register value is multiplied by the conversion coefficient to obtain the actual current value; the AC conversion coefficient is obtained by calculation in a meter calibration link; gain is a normalized value of channel Gain.
Gain is calculated from the channel Gain register value and, if RegGain > (2^15),
then Gain ═ i (RegGain-2^16)/(2^ 15); otherwise, Gain is RegGain/(2^ 15).
The derivation of equation T is as follows:
according to the definition of the effective value of the current, respectively passing a direct current and an alternating current through resistors with the same resistance value, and if the heat generated by the two currents passing through the resistors in the same time is the same, the current value of the direct current is the current value of the alternating current;
according to the current effective value definition, the metering chip loads alternating current and direct current with the same effective value under the condition that channel gain correction is not carried out, and the measured values of the current effective value register are the same;
the definition is as follows:
IA2is the effective value of the alternating current,
IA1the effective value of direct current; the effective value of the direct current is an external input direct current value;
KI2the current register value is multiplied by the conversion coefficient to obtain the actual current value; the coefficient can be obtained by calculation in a meter calibration link;
KI1the direct current conversion coefficient is the conversion coefficient of a direct current effective value and a current register value;
applying an alternating current and a direct current of the same effective value, IA1=IA2
And due to IA2=KI2*REGIA2,IA1=KI1*REGIA1
KI2*REGIA2=IA1=KI1*REGIA1
When the channel gain correction value is 0, REGIA2=REGIA1,KI2=KI1
When the channel gain correction value is not 0, as can be seen from the gain correction relationship,
REGIA2/(1+Gain)=REGIA1,KI1=KI2/(1+Gain);
therefore, the conversion method between the dc offset correction value and the dc effective value is as follows:
IA1=(DCOS_Ix-DCOS_Iref)*0.512*(2^12)*KI1
=(DCOS_Ix-DCOS_Iref)*0.512*(2^12)*KI2/(1+Gain);
wherein the content of the first and second substances,
DCOS _ Ix is a correction value obtained under the condition that the direct current offset automatic correction function is enabled under the normal metering operation of the electric meter;
DCOS _ Iref is a correction value enabling the dc offset automatic correction function under no load, i.e., when no dc signal is applied.
The invention has the beneficial effects that: according to the invention, through the metering chip, after the DC offset is automatically corrected in an EMM mode, the principle of the amplitude of the direct current signal can be reversely deduced according to the correction value, and the measured direct current signal comprises channel noise and an externally input direct current signal. The channel noise can be obtained by correcting the DC offset under the current no-load condition; namely, the externally input direct current semaphore can be obtained by subtracting channel noise from the measured direct current signal, namely the externally input direct current semaphore, and the high-precision measurement of the alternating current error can be realized.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments, it should be understood that the specific embodiment described herein is only a preferred embodiment of the present invention, and is only used for explaining the present invention, and does not limit the scope of the present invention, and all other embodiments obtained by a person of ordinary skill in the art without making creative efforts shall fall within the scope of the present invention.
Example (b): a method of correcting a dc component in an ac system, comprising the steps of:
step S1, after the ammeter calibration is completed, under the no-load condition of the table body, the signal acquisition device measures a group of DC offset correction values;
in step S1, after the meter calibration is completed, the platform body does not output current, and the metering chip is ensured to be in an EMM mode at present; the following steps are carried out:
step S11, turn off the high pass of NVM 1; configuring HPFOFF (bit1 bit) of NVM1_ CFG (0x80) to be 1;
step S12, configuring the waveform buffer as a 128-point synchronous sampling mode: bit7:6 of WSAVECON (0x63) is configured to be 0x 2;
step S13, starting the automatic DC offset correction function; AUTODC _ EN (0x91) is configured to be 0x 0095; that is, NVM1_ DC _ DIS (bit7) is 1, i.e., the DC offset auto-correction result does not affect the metrology channel parameter calculation;
ix _ DC _ EN (Bit0/Bit2/Bit4) is 1, i.e. IA/IB/IC automatic offset correction is started;
in step S14, after t1 is 2.56 seconds, the register value of DCOS _ Ix (0x1d/0x1e/0x1f) is read and stored in the EEPROM as DCOS _ Ief.
Step S2, in the normal metering stage of the electric meter, the signal acquisition device re-measures a set of DC offset correction values, and in the normal metering stage of the electric meter, the electric meter is currently in the EMM mode:
step S21, turn off the high pass of NVM 1;
step S22, configuring the waveform buffer as a 128-point synchronous sampling mode:
step S23, starting the automatic DC offset correction function;
in step S24, after t2 is 2.56 seconds, the DCOS _ Ix register value is read and saved in the EEPROM as DCOS _ Ix, where t1 is equal to t 2.
And step S3, calculating the external input direct current value according to the formula T.
The formula T is calculated as follows:
IA1=(DCOS_Ix-DCOS_Iref)*0.512*(2^12)*KI2/(1+Gain);
wherein, IA1Inputting a direct current value for the outside; KI2The current register value is multiplied by the conversion coefficient to obtain the actual current value; the AC conversion coefficient is obtained by calculation in a meter calibration link; gain is a normalized value of channel Gain.
Gain is calculated from the channel Gain register value and, if RegGain > (2^15),
then Gain ═ i (RegGain-2^16)/(2^ 15); otherwise, Gain is RegGain/(2^ 15).
The derivation of equation T is as follows:
according to the definition of the effective value of the current, respectively passing a direct current and an alternating current through resistors with the same resistance value, and if the heat generated by the two currents passing through the resistors in the same time is the same, the current value of the direct current is the current value of the alternating current;
according to the current effective value definition, the metering chip loads alternating current and direct current with the same effective value under the condition that channel gain correction is not carried out, and the measured values of the current effective value register are the same;
the definition is as follows:
IA2is the effective value of the alternating current,
IA1the effective value of direct current;
KI2the current register value is multiplied by the conversion coefficient to obtain the actual current value; the coefficient can be obtained by calculation in a meter calibration link;
KI1the direct current conversion coefficient is the conversion coefficient of a direct current effective value and a current register value;
applying an alternating current and a direct current of the same effective value, IA1=IA2
And due to IA2=KI2*REGIA2,IA1=KI1*REGIA1
KI2*REGIA2=IA1=KI1*REGIA1
When the channel gain correction value is 0, REGIA2=REGIA1,KI2=KI1
When the channel gain correction value is not 0, as can be seen from the gain correction relationship,
REGIA2/(1+Gain)=REGIA1,KI1=KI2/(1+Gain);
therefore, the conversion method between the dc offset correction value and the dc effective value is as follows:
KI1=(DCOS_Ix-DCOS_Iref)*0.512*(2^12)*KI1
=(DCOS_Ix-DCOS_Iref)*0.512*(2^12)*KI2/(1+Gain);
wherein the content of the first and second substances,
DCOS _ Ix is a correction value obtained under the condition that the direct current offset automatic correction function is enabled under the normal metering operation of the electric meter;
DCOS _ Iref is a correction value enabling the dc offset automatic correction function under no load, i.e., when no dc signal is applied.
The above-mentioned embodiments are preferred embodiments of the method for correcting dc component in ac system according to the present invention, and the scope of the present invention is not limited thereto, and all equivalent changes in shape and structure according to the present invention are within the protection scope of the present invention.

Claims (6)

1. A method of correcting a dc component in an ac system, comprising:
the method comprises the following steps:
step S1, after the ammeter calibration is completed, under the no-load condition of the table body, the signal acquisition device measures a group of DC offset correction values;
step S2, in the normal metering phase of the electric meter, the signal acquisition device re-measures a set of DC offset correction values,
and step S3, calculating the external input direct current value according to the formula T.
2. The method according to claim 1, wherein the method further comprises:
in step S1, after the meter calibration is completed, the platform body does not output current, and the metering chip is ensured to be in an EMM mode at present; the following steps are carried out:
step S11, turn off the high pass of NVM 1;
step S12, configuring the waveform buffer as a 128-point synchronous sampling mode:
step S13, starting the automatic DC offset correction function;
in step S14, after t1 seconds, the DCOS _ Ix register value is read and saved in EEPROM,
denoted DCOS _ Iref.
3. A method of correcting a dc component in an ac system according to claim 1 or 2, wherein:
in step S2, in the normal metering phase of the electric meter, the electric meter is currently in the EMM mode:
step S21, turn off the high pass of NVM 1;
step S22, configuring the waveform buffer as a 128-point synchronous sampling mode:
step S23, starting the automatic DC offset correction function;
after step S24 and t2, the DCOS _ Ix register value is read and saved in the EEPROM, which is denoted as DCOS _ Ix, where t1 is equal to t 2.
4. The method according to claim 1, wherein the method further comprises:
the formula T is calculated as follows:
IA1=(DCOS_Ix-DCOS_Iref)*0.512*(2^12)*KI2/(1+Gain);
wherein, IA1Inputting a direct current value for the outside; KI2The current register value is multiplied by the conversion coefficient to obtain the actual current value; the AC conversion coefficient is obtained by calculation in a meter calibration link; gain is a normalized value of channel Gain.
5. The method according to claim 4, wherein the method further comprises:
gain is calculated from the channel Gain register value and, if RegGain > (2^15),
then Gain ═ i (RegGain-2^16)/(2^ 15); otherwise, Gain is RegGain/(2^ 15).
6. The method for correcting a direct current component in an alternating current system according to claim 1 or 4, wherein:
the derivation of equation T is as follows:
according to the definition of the effective value of the current, respectively passing a direct current and an alternating current through resistors with the same resistance value, and if the heat generated by the two currents passing through the resistors in the same time is the same, the current value of the direct current is the current value of the alternating current;
according to the current effective value definition, the metering chip loads alternating current and direct current with the same effective value under the condition that channel gain correction is not carried out, and the measured values of the current effective value register are the same;
the definition is as follows:
IA2is the effective value of the alternating current,
IA1the effective value of direct current; the effective value of the direct current is an external input direct current value;
KI2the current register value is multiplied by the conversion coefficient to obtain the actual current value; the coefficient can be obtained by calculation in a meter calibration link;
KI1the direct current conversion coefficient is the conversion coefficient of a direct current effective value and a current register value;
applying an alternating current and a direct current of the same effective value, IA1=IA2
And due to IA2=KI2*REGIA2,IA1=KI1*REGIA1
KI2*REGIA2=IA1=KI1*REGIA1
When the channel gain correction value is 0, REGIA2=REGIA1,KI2=KI1
When the channel gain correction value is not 0, as can be seen from the gain correction relationship,
REGIA2/(1+Gain)=REGIA1,KI1=KI2/(1+Gain);
therefore, the conversion method between the dc offset correction value and the dc effective value is as follows:
IA1=(DCOS_Ix-DCOS_Iref)*0.512*(2^12)*KI1
=(DCOS_Ix-DCOS_Iref)*0.512*(2^12)*KI2/(1+Gain);
wherein the content of the first and second substances,
DCOS _ Ix is a correction value obtained under the condition that the direct current offset automatic correction function is enabled under the normal metering operation of the electric meter;
DCOS _ Iref is a correction value enabling the dc offset automatic correction function under no load, i.e., when no dc signal is applied.
CN202110119157.6A 2021-01-28 Method for correcting direct current component in alternating current system Active CN112946549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110119157.6A CN112946549B (en) 2021-01-28 Method for correcting direct current component in alternating current system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110119157.6A CN112946549B (en) 2021-01-28 Method for correcting direct current component in alternating current system

Publications (2)

Publication Number Publication Date
CN112946549A true CN112946549A (en) 2021-06-11
CN112946549B CN112946549B (en) 2024-07-05

Family

ID=

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000295305A (en) * 1999-03-11 2000-10-20 Intersil Corp Successive approximate correction for dc offset on filter buffer base band path of wireless data receiver
JP2001078494A (en) * 1999-09-06 2001-03-23 Yaskawa Electric Corp Method of correcting dc offset of ac motor driver
CN1881788A (en) * 2005-06-15 2006-12-20 恩益禧电子股份有限公司 Variable gain amplifier circuit and DC offset correction method and radio receiving device
CN101937017A (en) * 2010-08-10 2011-01-05 珠海中慧微电子有限公司 Dynamic direct-current removing method for intelligent electric meter during alternating-current sampling
CN102435810A (en) * 2011-09-14 2012-05-02 北京国基科技股份有限公司 Method and device for detecting direct-current component in alternating current
CN102707821A (en) * 2011-03-28 2012-10-03 深圳市汇顶科技有限公司 Method and system for de-noising touch detection device
CN104811404A (en) * 2015-04-14 2015-07-29 华南理工大学 DC deviation correcting method and device
CN106452139A (en) * 2016-10-31 2017-02-22 上海新时达电气股份有限公司 Circuit for testing DC component in AC voltage and device for eliminating DC component
CN107767722A (en) * 2017-11-14 2018-03-06 国网浙江省电力公司培训中心 A kind of multifunctional digital electric energy metering Training Simulation System
CN209182489U (en) * 2018-11-16 2019-07-30 怀化建南机器厂有限公司 A kind of direct current energy meter current channel conditioning circuit
CN209690401U (en) * 2019-01-11 2019-11-26 西安铁路职业技术学院 A kind of alternating voltage DC component detection circuit
CN112098712A (en) * 2020-07-28 2020-12-18 宁波三星医疗电气股份有限公司 Electricity larceny prevention method

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000295305A (en) * 1999-03-11 2000-10-20 Intersil Corp Successive approximate correction for dc offset on filter buffer base band path of wireless data receiver
JP2001078494A (en) * 1999-09-06 2001-03-23 Yaskawa Electric Corp Method of correcting dc offset of ac motor driver
CN1881788A (en) * 2005-06-15 2006-12-20 恩益禧电子股份有限公司 Variable gain amplifier circuit and DC offset correction method and radio receiving device
CN101937017A (en) * 2010-08-10 2011-01-05 珠海中慧微电子有限公司 Dynamic direct-current removing method for intelligent electric meter during alternating-current sampling
CN102707821A (en) * 2011-03-28 2012-10-03 深圳市汇顶科技有限公司 Method and system for de-noising touch detection device
CN102435810A (en) * 2011-09-14 2012-05-02 北京国基科技股份有限公司 Method and device for detecting direct-current component in alternating current
CN104811404A (en) * 2015-04-14 2015-07-29 华南理工大学 DC deviation correcting method and device
CN106452139A (en) * 2016-10-31 2017-02-22 上海新时达电气股份有限公司 Circuit for testing DC component in AC voltage and device for eliminating DC component
CN107767722A (en) * 2017-11-14 2018-03-06 国网浙江省电力公司培训中心 A kind of multifunctional digital electric energy metering Training Simulation System
CN209182489U (en) * 2018-11-16 2019-07-30 怀化建南机器厂有限公司 A kind of direct current energy meter current channel conditioning circuit
CN209690401U (en) * 2019-01-11 2019-11-26 西安铁路职业技术学院 A kind of alternating voltage DC component detection circuit
CN112098712A (en) * 2020-07-28 2020-12-18 宁波三星医疗电气股份有限公司 Electricity larceny prevention method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘建等: "直流磁场和静电对智能电表的影响仿真分析", 电测与仪表, vol. 51, no. 16, pages 88 - 93 *

Similar Documents

Publication Publication Date Title
Li et al. A robust control scheme for medium-voltage-level DVR implementation
CN103443646B (en) Intelligent electronic device and calibration steps thereof and apparatus of electrical monitoring equipment
US20110267032A1 (en) Three-phase electric energy measurement apparatus
CN110297203A (en) A kind of system and method for DC voltage transformer progress wideband verification
CN109507459A (en) Standard electric signal creating method, device and accuracy checking method of one or two fusion switchgears and system
CN109655776A (en) The broadband properties test macro and method of ground electrode circuit DC current transformer
CN109212293B (en) Power supply type voltage transformer with voltage metering function and use method
CN105610145B (en) Power feedback active full-harmonic arc extinction control method and system
US20240036080A1 (en) Analog quantity acquisition method and apparatus
CN112946549A (en) Method for correcting direct current component in alternating current system
CN112946549B (en) Method for correcting direct current component in alternating current system
Kon et al. Expansion of the impedance and frequency measurement ranges of AC shunt resistors
Svensson et al. Improved model and phase-angle verification of current shunts for AC and power measurements
Vukosavic et al. Non-intrusive estimation of single-port Thevenin equivalents in AC grids
CN211653119U (en) System for carrying out broadband verification on all-fiber current transformer
Cataliotti et al. Characterization of current transformers in the presence of harmonic distortion
CN210038140U (en) Full-range self-calibration device for mutual inductor
CN109617017B (en) Generator stator grounding protection system, method and device
KR101447703B1 (en) Broadband passive harmonic filter Reduced Harmonic of Three-phase six-pulse.
Crotti et al. Characterization of Voltage Transformers for MV Applications Up to 150 kHz-A Preliminary Study
CN207937587U (en) A kind of detection device and detecting system of electric mutual inductor
CN110471017A (en) Power standard source, metering chip and metering device
Giordano et al. Setup for the calibration of current measuring systems under DC signals affected by ripple
CN110907729A (en) Power equipment testing method based on active compensation mutual inductor and three-phase source
Djokic et al. A synchronized current-comparator-based power bridge for calibrating analog merging units

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