CN104035062A - High-precision calibration method based on ATT7022E metering chip - Google Patents
High-precision calibration method based on ATT7022E metering chip Download PDFInfo
- Publication number
- CN104035062A CN104035062A CN201410313338.2A CN201410313338A CN104035062A CN 104035062 A CN104035062 A CN 104035062A CN 201410313338 A CN201410313338 A CN 201410313338A CN 104035062 A CN104035062 A CN 104035062A
- Authority
- CN
- China
- Prior art keywords
- value
- att7022e
- register
- microcontroller
- voltage
- 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
Links
Landscapes
- Measuring Frequencies, Analyzing Spectra (AREA)
- Measurement Of Resistance Or Impedance (AREA)
Abstract
The invention discloses a high-precision calibration method based on an ATT7022E metering chip, and relates to application of the ATT7022E metering chip, in particular to electric power measuring and metering equipment. The method can greatly improve measuring and metering precision of the equipment of the kind and substantially reduce the workload in the factory calibration stage of the equipment. According to the calibration method, based on a theoretical calculation method provided by an ATT7022E metering chip factory, a theoretical value is calculated according to design requirements of an actual product, and the error between the interval t1 of pulses captured by a micro controller (MCU) and the theoretical value t2 is kept within an acceptable small range; at the moment the MCU remembers an up-to-date value of an HFConst register, and the value is written into a high-frequency pulse literal register each time the equipment is started; therefore, the metering accuracy of the ATT7022E metering chip is improved.
Description
Technical field
A kind of high accuracy calibration method based on ATT7022E computation chip of the present invention relates to a kind of application of ATT7022E computation chip, relate to power measurement and metering outfit, a kind of measurement and measuring accuracy that can improve greatly this kind equipment, and significantly simplified apparatus in the method for calibration phase workload of dispatching from the factory.
Background technology
ATT7022E is a measurement and metrology chip with comparison excellent in performance, has at present a lot of equipment manufacturers using this chip development product both at home and abroad.Chip manufacturer provides reference design for user, especially the selection of the selection on the direct front-end sampling circuit parameter that affects measurement and measuring accuracy and related register value provides recommendation, and these values are completely calculated and got by the theoretical parameter of specified parameter of design initial stage and the peripheral electron components and parts that use.In the time that the actual parameter of components and parts and theoretical value there are differences (this is inevitable), the parameter of calculating by theoretical value will produce error, if the error producing is large, the measurement and metrology precision of measuring equipment is low, the performance of equipment is just poor, this is fatal defect in important monitoring equipment and charging metering outfit, or by the usable range of this kind equipment of limit value.
Summary of the invention
The object of the invention is provides a kind of high accuracy calibration method based on ATT7022E computation chip for above-mentioned weak point, the complexity of related link in simplified apparatus production debug process, enhance productivity, thereby reduce the error of bringing to ATT7022E computation chip because of the error between actual parameter and the theoretical parameter of components and parts, improve equipment precision.
A kind of high accuracy calibration method based on ATT7022E computation chip takes following technical scheme to realize: the high accuracy calibration method based on ATT7022E computation chip comprises the steps,
The theoretical calculation method providing based on ATT7022E computation chip producer, calculates theoretical value according to the designing requirement of actual product, specifically comprises:
1) determine the ratings of the primary side voltage and current of equipment access circuit;
2) according to voltage and current ratings definite in step 1), determine voltage transformer (VT) summation current transformer, and obtain the secondary survey way of output and the output valve of voltage transformer (VT) summation current transformer;
3) according to step 2) secondary of described voltage transformer (VT) summation current transformer surveys the way of output and output valve, determines the resistance of the front-end sampling resistance of ATT7022E computation chip;
4) determine the meter constant N of metrical pulse according to the designing requirement of product;
5) by step 1), 2), 3), 4) in the high-frequency impulse literal register value computing formula that provides of parameter substitution chip manufacturer calculate, and evaluation is write to high-frequency impulse literal register;
6) after described evaluation is write to high-frequency impulse literal register, by high precision standard source, to the ratings described in the voltage transformer (VT) summation current transformer access step 1) of equipment, (for example voltage accesses 220V, electric current access 5A), now ATT7022E computation chip is exported electrical energy pulse according to the value of step 5) medium-high frequency meter constant register from CF1 pin;
7) by the interrupt pin of the electrical energy pulse access microcontroller of the CF1 pin output described in step 6), catch this pulse train and calculate two interval t1 between pulse by microcontroller; High precision standard source provides the current actual power value of exporting to equipment, thereby calculates two correct time t2 between continuous electrical energy pulse; By the contrast of t1 and t2, obtain the electric flux of ATT7022E computation chip actual computation and the error of actual value;
8) microcontroller is by t1 described in contrast step 7), t2 value, through step 5) computing formula, adjust the value of HFConst register and write high-frequency impulse literal register, then repeating step 6), 7), 8), recapture electrical energy pulse is also compared with theoretical value, several times so repeatedly, make within error between recurrent interval t1 and theoretical value t2 that microcontroller catches remains on the minimum zone that can accept, in the time that microcontroller timer resolution is 1ms, select 1 ~ 5 timer counting as the error that can accept,
When adjustment, compare t1 and t2 by microcontroller, if t1 is greater than t2, the value of high-frequency impulse literal register is changed little, otherwise change large;
9) when enough hour of the error of recurrent interval t1 and theoretical value t2, now microcontroller was remembered the value of up-to-date HFConst register, writes high-frequency impulse literal register in the time of device start at every turn; Thereby, the measuring accuracy of raising ATT7022E computation chip.
Computing formula described in step 5) is:
HFConst=INT[2.592*10^10*G*G*Vu*Vi/ (EC*Un*Ib)], wherein Un is reference voltage, Ib is rated current, EC is meter constant, Vu is under reference voltage input, corresponding voltage on chip voltage sampling pin, corresponding voltage on chip current sampling pin when Vi is rated current input, G is constant 1.163, and described parameter is step 1), 2), 3), 4) in parameter.
Below to enough little the making explanations in step 9): should be that t1 equates with t2 in theory, but because the adjustment granularity of meter constant is definitely equal compared with realizing greatly, therefore adopt regressand value algorithm to determine most suitable error.Concrete implementation is: record in adjustment process and cause t1 to become by being greater than t2 the meter constant value that is less than t2, can judge that thus this value is the meter constant value that approaches t1==t2 most.
The present invention can improve metering based on ATT7022E computation chip exploitation and the precision of measuring equipment greatly, and the hardware that the method relies on is very simple and common, conventionally in the product of the type, all possesses these hardware resources; Secondly the calibration flow process of the method is very simple, increase production debugging cost that can't be extra in having improved performance, and in whole process, do not need manual intervention, production efficiency can be guaranteed.
Brief description of the drawings
Below with reference to accompanying drawing, the invention will be further described:
Fig. 1 is the CF1 pin part schematic diagram of ATT7022E computation chip.
Fig. 2 is microcontroller part interrupt trap schematic diagram.
Fig. 3 is the processing flow chart of the inventive method.
Embodiment
With reference to accompanying drawing 1 ~ 3, the present invention is based on the theoretical calculation method that ATT7022E computation chip producer provides, calculate theoretical value according to the designing requirement of actual product, specifically comprise:
1) determine the ratings of the primary side voltage and current of equipment access circuit;
2) according to voltage and current ratings definite in step 1), determine voltage transformer (VT) summation current transformer, and obtain the secondary survey way of output and the output valve of voltage transformer (VT) summation current transformer;
3) according to step 2) secondary of described voltage transformer (VT) summation current transformer surveys the way of output and output valve, determines the resistance of the front-end sampling resistance of ATT7022E computation chip;
4) determine the meter constant N of metrical pulse according to the designing requirement of product;
5) by step 1), 2), 3), 4) in the high-frequency impulse literal register value computing formula that provides of parameter substitution chip manufacturer calculate, and evaluation is write to high-frequency impulse literal register;
6) after described evaluation is write to high-frequency impulse literal register, by high precision standard source, to the ratings described in the voltage transformer (VT) summation current transformer access step 1) of equipment, (for example voltage accesses 220V, electric current access 5A), now ATT7022E computation chip is exported electrical energy pulse according to the value of step 5) medium-high frequency meter constant register from CF1 pin;
7) by the interrupt pin of the electrical energy pulse access microcontroller of the CF1 pin output described in step 6), catch this pulse train and calculate two interval t1 between pulse by microcontroller; High precision standard source provides the current actual power value of exporting to equipment, thereby calculates two correct time t2 between continuous electrical energy pulse; By the contrast of t1 and t2, obtain the electric flux of ATT7022E computation chip actual computation and the error of actual value;
8) microcontroller is by t1 described in contrast step 7), t2 value, through step 5) computing formula, adjust the value of HFConst register and write high-frequency impulse literal register, then repeating step 6), 7), 8), recapture electrical energy pulse is also compared with theoretical value, several times so repeatedly, make within error between recurrent interval t1 and theoretical value t2 that MCU catches remains on the minimum zone that can accept, in the time that microcontroller timer resolution is 1ms, select 1 ~ 5 timer counting as the error that can accept;
When adjustment, compare t1 and t2 by microcontroller, if t1 is greater than t2, the value of high-frequency impulse literal register is changed little, otherwise change large;
9) when enough hour of the error of recurrent interval t1 and theoretical value t2, now microcontroller was remembered the value of up-to-date HFConst register, writes high-frequency impulse literal register in the time of device start at every turn; Thereby, the measuring accuracy of raising ATT7022E computation chip.
Described method is applied in Portable electric quantity test registering instrument, and this instrument adopts ATT7022E computation chip as measuring and metering core, adopts LPC1788 as microcontroller, and data management and man-machine interaction are provided.YX1 terminal in CF1 terminal and Fig. 2 in Fig. 1 is linked together and has just been formed the loop of catching of active energy pulse by external conductor.The CF1 of ATT7022E provides meritorious electrical energy pulse by the circuit shown in Fig. 1 to user, a GPIO pin of microcontroller is inputted as remote signalling, in the time that CF1 and YX1 link together, microcontroller can capture the electrical energy pulse of CF1 output, because this pulse is square wave, therefore microcontroller adopts the mode of rising edge monitoring to calculate the time interval between adjacent pulse.Because microcontroller is operated in 120MHZ, the resolution of its internal timebase can reach microsecond rank, and this provides good time precision for detecting the recurrent interval.
By this invention, the meritorious and reactive measurement precision of this Portable electric quantity test registering instrument has been brought up to 0.5 grade and 1 grade by original 1 grade and 2 grades, and effect is fairly obvious.
Claims (2)
1. the high accuracy calibration method based on ATT7022E computation chip, is characterized in that: comprises the steps,
1) determine the ratings of the primary side voltage and current of equipment access circuit;
2) according to voltage and current ratings definite in step 1), determine voltage transformer (VT) summation current transformer, and obtain the secondary survey way of output and the output valve of voltage transformer (VT) summation current transformer;
3) according to step 2) secondary of described voltage transformer (VT) summation current transformer surveys the way of output and output valve, determines the resistance of the front-end sampling resistance of ATT7022E computation chip;
4) determine the meter constant N of metrical pulse according to the designing requirement of product;
5) by step 1), 2), 3), 4) in the high-frequency impulse literal register value computing formula that provides of parameter substitution chip manufacturer calculate, and evaluation is write to high-frequency impulse literal register;
6) after described evaluation is write to high-frequency impulse literal register, by high precision standard source, to the ratings described in the voltage transformer (VT) summation current transformer access step 1) of equipment, now ATT7022E computation chip is exported electrical energy pulse according to the value of step 5) medium-high frequency meter constant register from CF1 pin;
7) by the interrupt pin of the electrical energy pulse access microcontroller of the CF1 pin output described in step 6), catch this pulse train and calculate two interval t1 between pulse by microcontroller; High precision standard source provides the current actual power value of exporting to equipment, thereby calculates two correct time t2 between continuous electrical energy pulse; By the contrast of t1 and t2, obtain the electric flux of ATT7022E computation chip actual computation and the error of actual value;
8) microcontroller is by t1 described in contrast step 7), t2 value, through step 5) computing formula, adjust the value of HFConst register and write high-frequency impulse literal register, then repeating step 6), 7), 8), recapture electrical energy pulse is also compared with theoretical value, several times so repeatedly, make within error between recurrent interval t1 and theoretical value t2 that microcontroller catches remains on the minimum zone that can accept, in the time that microcontroller timer resolution is 1ms, select 1 ~ 5 timer counting as the error that can accept,
When adjustment, compare t1 and t2 by microcontroller, if t1 is greater than t2, the value of high-frequency impulse literal register is changed little, otherwise change large;
9) when enough hour of the error of recurrent interval t1 and theoretical value t2, now microcontroller was remembered the value of up-to-date HFConst register, writes high-frequency impulse literal register in the time of device start at every turn; Thereby, the measuring accuracy of raising ATT7022E computation chip.
2. the high accuracy calibration method based on ATT7022E computation chip according to claim 1, is characterized in that, the computing formula described in described step 5) is:
HFConst=INT[2.592*10^10*G*G*Vu*Vi/ (EC*Un*Ib)], wherein Un is reference voltage, Ib is rated current, EC is meter constant, Vu is under reference voltage input, corresponding voltage on chip voltage sampling pin, corresponding voltage on chip current sampling pin when Vi is rated current input, G is constant 1.163, and these variablees are all step 1), 2), 3), 4) in parameter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410313338.2A CN104035062B (en) | 2014-07-03 | 2014-07-03 | A kind of high accuracy calibration method based on ATT7022E computation chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410313338.2A CN104035062B (en) | 2014-07-03 | 2014-07-03 | A kind of high accuracy calibration method based on ATT7022E computation chip |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104035062A true CN104035062A (en) | 2014-09-10 |
CN104035062B CN104035062B (en) | 2016-08-24 |
Family
ID=51465900
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410313338.2A Active CN104035062B (en) | 2014-07-03 | 2014-07-03 | A kind of high accuracy calibration method based on ATT7022E computation chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104035062B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104635190A (en) * | 2014-12-31 | 2015-05-20 | 漳州科能电器有限公司 | Measuring chip anti-interference detection and error correction method and device |
CN108008341A (en) * | 2017-12-25 | 2018-05-08 | 黑龙江龙电电气有限公司 | A kind of adjusting process of electric energy meter |
CN112327239A (en) * | 2020-09-14 | 2021-02-05 | 江苏灵敏智控科技有限公司 | Automatic electric energy calibration device and method for street lamp controller |
CN112782470A (en) * | 2020-12-14 | 2021-05-11 | 浙江恒业电子有限公司 | Method and system for improving metering precision of three-phase cost control intelligent electric meter based on MCU |
CN113176531A (en) * | 2021-05-24 | 2021-07-27 | 苏州大学 | Passive calibration method of intelligent electric meter |
CN113433509A (en) * | 2021-07-02 | 2021-09-24 | 威胜集团有限公司 | Calibration method of metering ammeter, electric energy meter and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002168880A (en) * | 2000-11-29 | 2002-06-14 | Nichiho Think Tank:Kk | System for measuring electric energy |
CN101876693A (en) * | 2010-06-09 | 2010-11-03 | 合肥工业大学 | Electric energy metering chip-based terminal calibration system |
CN103163369A (en) * | 2011-12-19 | 2013-06-19 | 无锡华润矽科微电子有限公司 | Electric energy measuring circuit structure capable of achieving function of pre-calibration of measurement accuracy and method thereof |
CN103257569A (en) * | 2013-05-23 | 2013-08-21 | 龙芯中科技术有限公司 | Circuit, method and system for time measurement |
CN103869275A (en) * | 2012-12-17 | 2014-06-18 | 青岛乾程电子科技有限公司 | Measuring accuracy calibration method of intelligent single-phase watt-hour meter |
-
2014
- 2014-07-03 CN CN201410313338.2A patent/CN104035062B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002168880A (en) * | 2000-11-29 | 2002-06-14 | Nichiho Think Tank:Kk | System for measuring electric energy |
CN101876693A (en) * | 2010-06-09 | 2010-11-03 | 合肥工业大学 | Electric energy metering chip-based terminal calibration system |
CN103163369A (en) * | 2011-12-19 | 2013-06-19 | 无锡华润矽科微电子有限公司 | Electric energy measuring circuit structure capable of achieving function of pre-calibration of measurement accuracy and method thereof |
CN103869275A (en) * | 2012-12-17 | 2014-06-18 | 青岛乾程电子科技有限公司 | Measuring accuracy calibration method of intelligent single-phase watt-hour meter |
CN103257569A (en) * | 2013-05-23 | 2013-08-21 | 龙芯中科技术有限公司 | Circuit, method and system for time measurement |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104635190A (en) * | 2014-12-31 | 2015-05-20 | 漳州科能电器有限公司 | Measuring chip anti-interference detection and error correction method and device |
CN104635190B (en) * | 2014-12-31 | 2017-05-03 | 漳州科能电器有限公司 | Measuring chip anti-interference detection and error correction method and device |
CN108008341A (en) * | 2017-12-25 | 2018-05-08 | 黑龙江龙电电气有限公司 | A kind of adjusting process of electric energy meter |
CN112327239A (en) * | 2020-09-14 | 2021-02-05 | 江苏灵敏智控科技有限公司 | Automatic electric energy calibration device and method for street lamp controller |
CN112782470A (en) * | 2020-12-14 | 2021-05-11 | 浙江恒业电子有限公司 | Method and system for improving metering precision of three-phase cost control intelligent electric meter based on MCU |
CN113176531A (en) * | 2021-05-24 | 2021-07-27 | 苏州大学 | Passive calibration method of intelligent electric meter |
CN113433509A (en) * | 2021-07-02 | 2021-09-24 | 威胜集团有限公司 | Calibration method of metering ammeter, electric energy meter and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104035062B (en) | 2016-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104035062B (en) | A kind of high accuracy calibration method based on ATT7022E computation chip | |
CN102012494B (en) | Transformer calibrator and calibration method thereof | |
CN105116369A (en) | Radio frequency radiation disturbance rejection degree test apparatus and system | |
CN102928803B (en) | Electronic transformer checking device based on synchronization pulse output power supply | |
CN105319529B (en) | A kind of electric energy meter error check system and method for calibration | |
CN103901388A (en) | Parallel detection terminal device and detection method | |
CN203259610U (en) | Merging unit accurate time testing instrument based on analog signal digital transmission | |
CN105487034A (en) | 0.05-level electronic transformer verification method and system | |
CN202305785U (en) | Calibrating device based on tracing technology for 0.05-level DC electric energy meter | |
CN103513095B (en) | A kind of distribution line failure pointer detection data collector | |
CN102520385A (en) | Automatic error calibration method for single-phase electrical energy meter | |
CN104062617B (en) | Combining unit meter characteristic filed detection system and method thereof | |
CN103135650B (en) | Current/frequency conversion circuit linearity and symmetry digital compensation method | |
CN201876538U (en) | Transformer calibrator | |
CN103487778B (en) | A kind of analog quantity bearing calibration and the single CPU low-voltage protection device based on the method | |
CN101458275A (en) | High temperature resistant three phase intermediate frequency electric quantity acquisition module | |
CN103983930A (en) | Electronic transformer harmonic calibrator calibration device and method | |
CN201765317U (en) | Portable photoelectric mutual inductor check system with multiple synchronous interfaces | |
CN102866378B (en) | Voltage or current transformer on-line test device and voltage or current transformer on-line test method | |
CN202886585U (en) | On-line test device for voltage/current transformer | |
CN105866576A (en) | Simulation detection system of intelligent transformer station secondary-side electric energy metering error influence, and detection analysis method | |
CN108594158B (en) | Differential mode interference test device and method | |
CN102497199B (en) | 1/2-period frequency measuring system and method | |
CN103487650B (en) | A kind of frequency measuring device of turbine-generator units | |
CN106093837A (en) | A kind of assess digitalized electrical energy meter method of measuring accuracy under complex working condition |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB03 | Change of inventor or designer information |
Inventor after: Dai Shaoyong Inventor after: Zhang Yue Inventor after: Wang Hongyin Inventor after: Hong Ju Inventor after: Yang Wei Inventor after: Chen Qiuping Inventor after: Zhang Lei Inventor before: Dai Shaoyong Inventor before: Zhang Lei Inventor before: Zhang Shaoyun |
|
COR | Change of bibliographic data | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |