CN109959819B - Wide-frequency reactive error compensation algorithm for intelligent meter and intelligent meter thereof - Google Patents
Wide-frequency reactive error compensation algorithm for intelligent meter and intelligent meter thereof Download PDFInfo
- Publication number
- CN109959819B CN109959819B CN201711433963.0A CN201711433963A CN109959819B CN 109959819 B CN109959819 B CN 109959819B CN 201711433963 A CN201711433963 A CN 201711433963A CN 109959819 B CN109959819 B CN 109959819B
- Authority
- CN
- China
- Prior art keywords
- frequency
- frequency band
- reactive
- error compensation
- center point
- 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
- G01R21/00—Arrangements for measuring electric power or power factor
- G01R21/133—Arrangements for measuring electric power or power factor by using digital technique
- G01R21/1331—Measuring real or reactive component, measuring apparent energy
Abstract
A reactive error compensation algorithm for wide frequency of a smart meter comprises the following steps: dividing a wide frequency range of a nominal frequency of a smart meter into a plurality of frequenciesSegment x, obtaining the center point frequency f of each frequency bandx(ii) a Aiming at the sample tables of the same batch, randomly extracting n samples as experimental objects, and obtaining the center point frequency f of each frequency band under the rated voltage and the rated currentxA corresponding register value; detecting the frequency through a metering chip to obtain a sampling frequency value f; judging the frequency f is in which frequency band, if the frequency band x changes, the register value R corresponding to the frequency band xxWriting the data into a fundamental wave reactive power phase correction register, recalculating the calibration parameters, checking and storing the recalculated calibration parameters, and realizing dynamic reactive power error compensation. The invention also discloses an intelligent meter adopting the algorithm. The method is simple and convenient to operate, and can realize dynamic compensation of reactive errors; meanwhile, the value of a metering chip register cannot be continuously modified due to frequency micro fluctuation, and the stability and the reliability of metering are ensured.
Description
Technical Field
The invention belongs to the technical field of intelligent meters, and particularly relates to a wide-frequency reactive error compensation algorithm for an intelligent meter.
Background
The rated operating frequency of a common intelligent meter is 50Hz, but the rated frequency of a power grid is not always stabilized around 50Hz due to various reasons. In practical application, the intelligent meter can cause reactive error to reach +/-1.5% due to frequency change, and metering error is large and inaccurate due to large error. Therefore, the generated reactive error needs to be compensated to ensure the metering accuracy of the intelligent meter.
Although chinese patent with patent application number CN201710437642.1 discloses a frequency error compensation method for measuring reactive power by digital phase shift method under fixed frequency sampling, which includes establishing an angular difference compensation parameter table and a specific difference compensation parameter table; calculating the number of translation points corresponding to the digital phase shift according to the actual frequency measurement value, and index values of the angular difference and the specific difference to be compensated in a compensation parameter table respectively; and obtaining a compensation value in the parameter table according to the index value, and calculating the reactive power by combining the translation point number, thereby completing the measurement and compensation of the reactive power. The invention can ensure that the digital phase shift reaches accurate 90 degrees constantly even under the conditions of fixed frequency sampling and frequency change by adding the real-time correction of the angular difference and the specific difference on the basis of the conventional digital phase shift method, thereby realizing the high-accuracy measurement of the reactive power; the method effectively solves the problem of large frequency influence quantity error of the conventional digital phase-shifting method for measuring the reactive power under fixed-frequency sampling, has high reactive power measurement precision and is not influenced by frequency fluctuation.
However, at present, no report is found for the intelligent meter wide-frequency reactive error compensation algorithm.
Disclosure of Invention
The invention aims to solve the technical primary problem of providing a wide-frequency reactive error compensation algorithm for an intelligent meter, which has the characteristics of simple operation and ideal effect, and can compensate the reactive error of the intelligent meter in a wide frequency range, so that the metering is more accurate.
Another problem to be solved by the present invention is to provide an intelligent meter using the above-mentioned correlation algorithm.
The technical scheme adopted by the invention for solving the above-mentioned primary technical problems is as follows: a wide-frequency reactive error compensation algorithm for a smart meter is characterized by comprising the following steps:
1) dividing the rated working frequency of the intelligent meter into a plurality of frequency bands x within a wide frequency range to obtain the central point frequency f of each frequency bandx;
2) Randomly extracting n sample tables for the same batch of sample tables to obtain the center point frequency f of each frequency band as an experimental object under the rated voltage and the rated currentxA corresponding register value;
3) detecting the frequency through a metering chip to obtain a sampling frequency value f;
4) judging the frequency band within which the frequency f is positioned, and obtaining a frequency band x;
5) if the frequency band x changes, the register value R corresponding to the frequency band x is usedxWriting the data into a fundamental wave reactive power phase correction register, recalculating the calibration parameters, checking and storing the recalculated calibration parameters, and realizing dynamic reactive power error compensation;
if the frequency band x is not changed, the operation is ended.
Preferably, the rated working frequency of the step 1) is 50 Hz.
Preferably, the wide frequency range is 45-55 Hz.
Preferably, the number of the frequency bands divided in the wide frequency range is 5, and the center point frequency f of each frequency bandx46, 48, 50, 52, 54Hz, respectively.
Preferably, the number n of the random sampling tables in the step 2) is not less than 10.
As an improvement, the output frequency is set to be the center point frequency f of one frequency band under the rated voltage and the rated currentxSimultaneously, the value of the fundamental wave reactive phase correction register of the metering chip is modified to lead the error of the intelligent meter to approach 0.00 percent, and the frequency f of the central point of the frequency band is respectively recordedxCorresponding register value RxRepeating the above steps for all sample tables to obtain n sample data, and registering the value R of the n sample dataxAveraging to obtain the frequency f of the center point of the frequency bandxA corresponding register value; and respectively setting the output frequency as the center point frequency f of other frequency bandsxRepeating the above steps to obtain the central point frequency f of each frequency bandxCorresponding register value Rx。
And finally, the initial value of the frequency band in the step 4) is the frequency band where the rated working power is located.
The technical scheme adopted by the invention for solving the other technical problem is as follows: an intelligent meter is characterized in that any one algorithm in the algorithms is adopted.
Compared with the prior art, the invention has the advantages that: the method is simple and convenient to operate, can realize dynamic compensation of reactive errors, and can keep the reactive errors below +/-0.4% under rated voltage and rated current within the frequency range of 45-55 Hz; meanwhile, the value of the register of the metering chip can not be continuously modified due to the tiny fluctuation of the frequency, the stability and the reliability of metering are ensured, and the operability is high. The algorithm of the invention needs repeated experiments to obtain sample data aiming at different phenotypes, but can more pertinently compensate the reactive error, so that the error is more ideal.
Drawings
Fig. 1 is a flow chart of the intelligent meter wide frequency reactive error compensation algorithm provided by the invention.
Detailed Description
The invention is described in further detail below with reference to the accompanying examples.
As shown in fig. 1, a smart meter wide frequency reactive error compensation algorithm includes the following steps:
1) the wide frequency range of the rated working frequency of the intelligent meter, namely 50Hz, is divided into 5 frequency bands on average within the range of 45-55 Hz, and the frequency f of each frequency band is 45<f≤47Hz、47<f≤49Hz、49<f≤51Hz、51<f≤53Hz、53<f is less than or equal to 55Hz, and the center point frequency f of each frequency bandx46Hz, 48Hz, 50Hz, 52Hz and 54Hz, respectively.
2) Aiming at sample tables of the same batch, randomly extracting n (n is more than or equal to 10) sample tables as experimental objects;
3) setting the output frequency as the center point frequency f of a frequency band under the rated voltage and the rated currentxSimultaneously, the value of the fundamental wave reactive phase correction register of the metering chip is modified to lead the error of the intelligent meter to approach 0.00 percent, and the frequency f of the center point of the frequency band is recordedxCorresponding register value Rx;
4) Repeating the step 3) for all sample tables to obtain n sample data; for the n sample data register values RxAveraging to obtain the frequency f of the center point of the frequency bandxCorresponding register value Rx;
5) Respectively setting the output frequency in the step 3) as the center point frequency of other frequency bands in the step 1), and repeating the step 3) and the step 4) to obtain the center point frequency f of 5 frequency bandsxCorresponding register value Rx;
6) Detecting the frequency through a metering chip to obtain a sampling frequency value f;
7) judging the frequency band in which the frequency f is positioned, and obtaining a frequency band x (the initial value of the frequency band is the frequency band in which the rated working power is positioned);
8) if the frequency band x changes, the register value R corresponding to the frequency band x obtained in the step 5) is usedxWriting the data into a fundamental wave reactive power phase correction register, recalculating the calibration parameters, checking and storing the recalculated calibration parameters, and realizing dynamic reactive power error compensation;
if the frequency band x is not changed, the operation is ended.
The intelligent meter adopts the intelligent meter wide-frequency reactive error compensation algorithm.
Table 1 shows a comparison of the compensation algorithm of the present invention with the original design:
TABLE 1
This can result in: the compensation algorithm of the invention can realize dynamic compensation of reactive errors and is easy to realize. Meanwhile, the value of a metering chip register can not be continuously modified due to the tiny fluctuation of the frequency, the stability and the reliability of metering are ensured, and the operability is high.
The difficulty of the algorithm is that different phenotypes need repeated experiments to obtain sample data, but the reactive error can be compensated more pertinently due to the experiment, so that the reactive error can be kept in an ideal range.
Claims (7)
1. The utility model provides a wide frequency reactive error compensation algorithm of smart meter which characterized in that: the method comprises the following steps:
1) dividing the rated working frequency of the intelligent meter into a plurality of frequency bands x within a wide frequency range to obtain the central point frequency of each frequency band;
2) Randomly extracting n sample tables for the same batch of sample tables to obtain the center point frequency of each frequency band as an experimental object under the rated voltage and the rated currentA corresponding register value;
the specific process is as follows: setting the output frequency of a sample table as the center point frequency of one frequency band in the step (1) under the rated voltage and the rated currentSimultaneously, the value of the fundamental wave reactive phase correction register of the metering chip in the sample meter is modified to make the reactive error of the intelligent meter approach to 0.00 percent, and the frequency of the center point of the frequency band is recordedCorresponding register valueRepeating the above steps for all sample tables to obtain n sample data, and registering values of the n sample dataAveraging, and using the average as the center point frequency of the frequency bandCorresponding register value(ii) a And respectively setting the output frequencies of all the sample tables as the center point frequencies of other frequency bands in the step (1)Repeating the above steps to obtain the center point frequency of each frequency bandCorresponding register value;
3) Detecting the frequency through a metering chip to obtain a sampling frequency value f;
4) judging the frequency band within which the frequency f is positioned, and obtaining a frequency band x;
5) if the frequency band x changes, the register value corresponding to the frequency band x is usedWriting the data into a fundamental wave reactive power phase correction register, recalculating the calibration parameters, checking and storing the recalculated calibration parameters, and realizing dynamic reactive power error compensation;
if the frequency band x is not changed, the operation is ended.
2. The smart meter wide frequency reactive error compensation algorithm of claim 1, wherein: the rated working frequency of the step 1) is 50 Hz.
3. The smart meter wide frequency reactive error compensation algorithm of claim 1, wherein: the wide frequency range is 45-55 Hz.
5. The smart meter wide frequency reactive error compensation algorithm of claim 1, wherein: the number n of the random sampling tables in the step 2) is not less than 10.
6. The smart meter wide frequency reactive error compensation algorithm of claim 1, wherein: the initial value of the frequency band in the step 4) is the frequency band where the rated working power is located.
7. A smart watch characterised by using the algorithm of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711433963.0A CN109959819B (en) | 2017-12-26 | 2017-12-26 | Wide-frequency reactive error compensation algorithm for intelligent meter and intelligent meter thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711433963.0A CN109959819B (en) | 2017-12-26 | 2017-12-26 | Wide-frequency reactive error compensation algorithm for intelligent meter and intelligent meter thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109959819A CN109959819A (en) | 2019-07-02 |
CN109959819B true CN109959819B (en) | 2021-08-31 |
Family
ID=67022099
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711433963.0A Active CN109959819B (en) | 2017-12-26 | 2017-12-26 | Wide-frequency reactive error compensation algorithm for intelligent meter and intelligent meter thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109959819B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113311377A (en) * | 2021-05-18 | 2021-08-27 | 河南许继仪表有限公司 | Current frequency compensation method and system for electric energy meter |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002088761A2 (en) * | 2001-04-26 | 2002-11-07 | Analog Devices, Inc. | Apparatus and system for electrical power metering using digital integration |
CN104155517A (en) * | 2014-09-03 | 2014-11-19 | 国家电网公司 | Error compensation method and system for non-full period sampling of digital electric energy meter |
CN104483524A (en) * | 2014-12-26 | 2015-04-01 | 中颖电子股份有限公司 | Reactive power metering system in electric energy meter |
CN107238753A (en) * | 2017-06-12 | 2017-10-10 | 威胜集团有限公司 | Digital phase shift measures the frequency error compensation method of reactive power under fixed frequency sampling |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101256227A (en) * | 2007-03-02 | 2008-09-03 | 上海力和电子科技有限公司 | Method for correcting electric energy meter |
CN101900755B (en) * | 2010-07-30 | 2012-08-29 | 珠海中慧微电子有限公司 | Phase automatic compensating system and method of current and voltage synchronous sampling |
WO2011131155A2 (en) * | 2011-06-09 | 2011-10-27 | 华为技术有限公司 | Method and device for compensating power according to frequency |
CN102608559B (en) * | 2012-03-19 | 2014-07-30 | 钜泉光电科技(上海)股份有限公司 | Method for collecting electric energy errors of electric energy meter and device thereof |
CN103513218A (en) * | 2012-06-27 | 2014-01-15 | 苏州工业园区新宏博通讯科技有限公司 | Calibration method for multi-path alternating-current ammeter |
CN105093160B (en) * | 2015-07-28 | 2018-03-20 | 宁波三星医疗电气股份有限公司 | A kind of electric energy meter error segmented compensation method |
CN105223416B (en) * | 2015-09-17 | 2018-05-15 | 杭州海兴电力科技股份有限公司 | A kind of method for improving intelligent electric meter measuring accuracy |
CN106405227B (en) * | 2016-08-31 | 2019-02-22 | 浙江恒业电子有限公司 | A kind of intelligent electric meter system carrying out real-time error compensation based on scale modeling |
CN106771578A (en) * | 2017-03-22 | 2017-05-31 | 国网辽宁省电力有限公司大连供电公司 | The non-integer-period sampled method of the electric power signal of electric energy meter |
-
2017
- 2017-12-26 CN CN201711433963.0A patent/CN109959819B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002088761A2 (en) * | 2001-04-26 | 2002-11-07 | Analog Devices, Inc. | Apparatus and system for electrical power metering using digital integration |
CN104155517A (en) * | 2014-09-03 | 2014-11-19 | 国家电网公司 | Error compensation method and system for non-full period sampling of digital electric energy meter |
CN104483524A (en) * | 2014-12-26 | 2015-04-01 | 中颖电子股份有限公司 | Reactive power metering system in electric energy meter |
CN107238753A (en) * | 2017-06-12 | 2017-10-10 | 威胜集团有限公司 | Digital phase shift measures the frequency error compensation method of reactive power under fixed frequency sampling |
Also Published As
Publication number | Publication date |
---|---|
CN109959819A (en) | 2019-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103176400B (en) | Intelligent ammeter clock calibration method | |
CN103424728A (en) | Method for performing single point correction on electric energy meter gain errors and phase errors | |
CN103941622B (en) | Occur frequently again the method for sampling pulse based on the high accuracy pulse per second (PPS) of FPGA | |
CN109061543B (en) | Self-adaptive dynamically-adjusted intelligent electric energy meter metering precision calibration method | |
CN103475369B (en) | The high-precision ADC test of identification is disposably calibrated based on signal source error | |
CN109959819B (en) | Wide-frequency reactive error compensation algorithm for intelligent meter and intelligent meter thereof | |
CN110967658B (en) | Analog input merging unit calibrator tracing method based on digital differential method | |
CN105223416B (en) | A kind of method for improving intelligent electric meter measuring accuracy | |
CN104849547B (en) | A kind of calibration method and calibration system improving the preset accuracy of YTO | |
CN109298236B (en) | Measuring method of microwave power measurement linear bias meter | |
CN103457608B (en) | For operating the system and method for analog-digital converter | |
CN109655775A (en) | A kind of multiple dimensioned calibration method of arbitrary waveform generator amplitude frequency sweep and device | |
CN105319434B (en) | A kind of method and device of electric energy meter measurement electric current | |
CN113504401A (en) | Method, device and system for compensating time error of electric energy meter diary | |
Cataliotti et al. | A DAQ-based sampling wattmeter for IEEE Std. 1459-2010 powers measurements. Uncertainty evaluation in nonsinusoidal conditions | |
CN102928660A (en) | Reactive power measurement method based on finite impulse response (FIR) digital filter | |
CN203658566U (en) | Novel microwave small-power calibration system based on SYSTEM II | |
AU2020100892A4 (en) | A Measuring Method For Ne Isotope | |
CN115754886A (en) | Electric energy meter metering compensation method, storage medium and electric energy meter | |
CN105577185B (en) | OSC frequency automatic calibrations circuit and automatic calibrating method | |
CN116087861A (en) | Method and device for compensating calibration error of direct-current high-voltage divider | |
CN108572345A (en) | Oscillograph, based on lack sampling to the corrected method of frequency accuracy, system | |
CN113093089B (en) | Low-voltage power terminal temperature-based meter calibration method | |
CN106525180B (en) | Method of Calculating Compressibility Factors of Natural Gas | |
CN105337913B (en) | A kind of orthogonal phaselocked loop direct current biasing self-adapting regulation method |
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 |