CN104965186A - Calibration method for automatically compensating electric energy metering error of electric energy meter according to temperature - Google Patents
Calibration method for automatically compensating electric energy metering error of electric energy meter according to temperature Download PDFInfo
- Publication number
- CN104965186A CN104965186A CN201510263178.XA CN201510263178A CN104965186A CN 104965186 A CN104965186 A CN 104965186A CN 201510263178 A CN201510263178 A CN 201510263178A CN 104965186 A CN104965186 A CN 104965186A
- Authority
- CN
- China
- Prior art keywords
- electric energy
- resistance
- temperature
- computation chip
- nodes
- 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
- Measurement Of Current Or Voltage (AREA)
Abstract
The invention discloses a calibration method for automatically compensating an electric energy metering error of an electric energy meter according to temperature. The calibration method may timely compute a new power gain correcting register calibration value according to environment temperature and replaces an original power gain correcting register calibration value in a power gain correcting register so as to enable a low difference between the actual electric energy consumption of a user and the electric energy metering of the electric energy meter. A calibration device and a calibration method adaptive to the same are included. The calibration device comprises a temperature detecting sensor, a memory, a current signal sampling circuit, a voltage signal sampling circuit, a microprocessor, and an electric energy metering chip with a built-in power gain correcting register. The electric energy metering chip, the temperature detecting sensor, and the memory are connected with the microprocessor. The current signal sampling circuit and the voltage signal sampling circuit are connected with the electric energy metering chip. The calibration method is mainly used in electric energy meter automatic compensation calibration technology according to temperature variation.
Description
Technical field
The present invention relates to electric energy meter electric energy metering error compensation technique field, be specifically related to a kind of calibration steps according to temperature, electric energy meter electric energy metering error being carried out to auto-compensation.
Background technology
Electric energy meter is used to the instrument of power consumption in metering circuit.When producing electric energy meter, the electric energy metrical accuracy of electric energy meter is all be calibration under the normal temperature working environment of 20 DEG C, inspection according to electric energy meter reference temperature when dispatching from the factory, and the electric energy metrical accuracy of electric energy meter is relevant with environment temperature.Due to the impact of practical service environment temperature variation, the electric energy metrical accuracy of electric energy meter can produce a relatively large deviation, thus makes electric energy meter accurately can not accomplish the justice of the electric energy metrical of power consumption.Therefore, design a kind of environmentally temperature variation automatically to carry out automatic calibration correcting method to the electric energy metrical precision of electric energy meter and seem extremely important.
Summary of the invention
The present invention is that the electric energy metrical accuracy in order to solve existing electric energy meter is larger by the impact of variation of ambient temperature, when causing using electric energy meter in the environment that temperature variation is larger, occur that the power consumption data of electric energy measurement data and the user's actual power consumption obtained exists relatively large deviation, affect the deficiency of electric energy metrical justice, there is provided a kind of can in time environmentally the power that makes new advances of temperature computation increase the correcting register calibration value that overflows and remove to replace power in electric energy computation chip and increase original power in the correcting register that overflows and increase the correcting register calibration value (calibration value when dispatching from the factory under reference temperature) that overflows, then electric energy computation chip gathers voltage signal and current signal, then electric energy computation chip increases with this new power the conversion that voltage signal that the correcting register calibration value that overflows collects electric energy computation chip and current signal carry out electric power signal, microcontroller acquires electric power signal carries out electric quantity accumulation, make the actual power consumption of user and the less calibration steps according to temperature, electric energy meter electric energy metering error being carried out to auto-compensation of electric energy meter electric energy measurement deviation.
Above technical matters is solved by following technical proposal:
According to temperature, electric energy meter electric energy metering error is carried out to the calibration steps of auto-compensation, comprise calibrating installation; Calibrating installation comprises: temperature detection sensor, storer, current signal sample circuit, voltage signal sampling circuit, be provided with in inside timer microprocessor and be provided with power in inside and increase the electric energy computation chip of correcting register of overflowing, wherein, electric energy computation chip, temperature detection sensor are connected with microprocessor respectively with storer, and current signal sample circuit is connected with electric energy computation chip respectively with voltage signal sampling circuit;
The calibration steps adapted with described calibrating installation is as follows:
(1-1) pre-set temperature detection interval time in the timer of microprocessor, when temperature detection interval time then, microprocessor sends temperature detection instruction to temperature detection sensor immediately, temperature detection sensor detects the temperature in electric energy meter immediately, and the temperature signal detected is uploaded to microprocessor;
(1-2) then, microprocessor reads the excessive correcting register calibration value (calibration value when dispatching from the factory under reference temperature) of original power increasing in storer immediately;
(1-3) temperature signal that transmits according to temperature detection sensor of microprocessor and original power increase the correcting register calibration value that overflows, and the power needing to re-write electric energy computation chip under calculating this temperature signal condition increases the new power overflow in correcting register and increases the correcting register calibration value that overflows;
(1-4) computation process that new power increases the correcting register calibration value that overflows is as follows:
If electric energy meter is at reference temperature T
0it is Z that power at DEG C increases the correcting register calibration value that overflows
0, then the error precision err that needs are revised when different temperatures T DEG C is:
err=(T-T
0)K (1);
If electric energy meter carries out error benefit correction variable when temperature is T is Pgain, then
The new power that then electric energy meter obtains after carrying out error compensation correction when temperature is T increases the correcting register calibration value Z that overflows
1for:
If Z
0the highest significant position bitf=1 of bit, then Z
1=int (Z
0+ Pgain × 2
15) (3);
If Z
0the highest significant position bitf=0 of bit, and Z
0+ Pgain × 2
15when>=0,
Then Z
1=int (Z
0+ Pgain × 2
15) (4);
If Z
0the highest significant position bitf=0 of bit, and Z
0+ Pgain × 2
15during < 0,
Then Z
1=int (2
16+ Z
0+ Pgain × 2
15) (5);
Wherein: int () is bracket function, K is the average temperature coefficient needing to carry out negative temperature compensation, and T is the actual temperature in the electric energy meter that detects of temperature detection sensor;
(1-5) software for calculation in microprocessor calculates according to above-mentioned formula (1), (2), (3), (4), (5) the new excessive correcting register calibration value of power increasing that power increases the correcting register that overflows; If temperature detection sensor detects that the actual temperature T in electric energy meter there occurs change, the new power of the excessive correcting register of power increasing that so above-mentioned formula (1), (2), (3), (4), (5) are calculated increases the correcting register calibration value that overflows also can be different; So actual temperature T changes, the new excessive correcting register calibration value of power increasing that power will be made to increase excessive correcting register also ensues change, therefore, the new power calculated by the actual temperature T in electric energy meter that temperature detection sensor is detected is increased power that the correcting register calibration value that overflows removes to replace electric energy computation chip and increases the original power overflow in correcting register and increase the correcting register calibration value that overflows and can carry out auto-compensation calibration to the electric energy metering error of electric energy meter;
(1-6) after the excessive correcting register calibration value of original power increasing increased in excessive correcting register when power is increased by new power correcting register calibration value replacement of overflowing, electric energy computation chip sampled current signals and voltage signal being converted to electric power signal through integration in electric energy computation chip after power increases correcting register calibration of overflowing, and electric power signal is passed to microprocessor, carried out adding up and storing in memory to the electric power signal transmitted at every turn by microprocessor, thus achieve electric energy meter and according to actual temperature, the auto-compensation of electric energy meter electric energy metering error is calibrated.
This programme can in time environmentally temperature computation new power out increase the correcting register calibration value that overflows and remove to replace power and increase original power in the correcting register that overflows and increase the correcting register calibration value that overflows, then electric energy computation chip increases with this new power the correcting register calibration value that overflows and carries out the conversion of electric flux signal, and microcontroller acquires electric power signal carries out electric quantity accumulation.This programme can environmentally the change of temperature increase to the power in electric energy meter electric energy computation chip the calibration value of correcting register of overflowing in time and upgrades, thus the electric energy metrical that electric energy meter is obtained and actual power consumption deviation little, improve the fairness of electricity consumption.
As preferably, described current signal sample circuit comprises: node, No. two nodes, copper-manganese resistance, public negative pole end VSS, earth terminal, resistance R73, resistance R74, electric capacity C27 and electric capacity C28, one end of resistance R73 is connected with No. 1 current signal sample port of copper-manganese resistance, and the other end of resistance R73 is connected with a node; One end of resistance R74 is connected with No. 2 current signal sample port of copper-manganese resistance, and the other end of resistance R74 is connected with No. two nodes; One end of electric capacity C27 is connected with No. two nodes, and the other end of electric capacity C27 is connected with earth terminal; One end of electric capacity C28 is connected with a node, and the other end of electric capacity C28 is connected with earth terminal; The current channel of electric energy computation chip is just being simulated input pin and is being connected with No. two nodes, and the current channel negative analog input pin of electric energy computation chip is connected with a node, and No. 3 current signal sample port of copper-manganese resistance are connected with public negative pole end VSS;
Described voltage signal sampling circuit comprises: live wire end N1, No. three nodes, No. four nodes, resistance RA3, resistance RA4, resistance RA5, resistance RA6, resistance RA7, resistance RA8, resistance R112, resistance R115, electric capacity C39 and electric capacity C40, one end of resistance RA3 is connected with live wire end N1, the other end of resistance RA3 is connected with one end of resistance RA4, the other end of resistance RA4 is connected with one end of resistance RA5, the other end of resistance RA5 is connected with one end of resistance RA6, the other end of resistance RA6 is connected with one end of resistance RA7, the other end of resistance RA7 is connected with one end of resistance RA8, the other end of resistance RA8 is connected with No. three nodes, one end of resistance R112 is connected with No. three nodes, and the other end of resistance R112 is connected with earth terminal, one end of electric capacity C39 is connected with No. three nodes, and the other end of electric capacity C39 is connected with earth terminal, resistance R115 one end is connected with No. four nodes, and the other end of resistance R115 is connected with earth terminal, one end of electric capacity C40 is connected with No. four nodes, and the other end of electric capacity C40 is connected with earth terminal, the voltage channel of electric energy computation chip is just being simulated input pin and is being connected with No. three nodes, and the voltage channel negative analog input pin of electric energy computation chip is connected with No. four nodes,
Suppose resistance RA3=resistance RA4=resistance RA5=resistance RA6=resistance RA7=resistance RA8=150K Ω, resistance R112=resistance R115=1K Ω, electric capacity C39=electric capacity C40=33nF, power supply voltage is 220V, then the voltage sampling signal of electric energy computation chip is:
Because in formula (6), the denominator of electric resistance partial pressure is larger than molecule many, therefore only consider the temperature coefficient of resistance R112, the temperature coefficient of resistance RA3-RA8 is then ignored;
Because in resistance R112, copper-manganese resistance and electric energy computation chip, the temperature coefficient of these three devices of analog to digital converter reference source is all positive temperature coefficient (PTC)s, if set the average temperature coefficient of resistance R112 as K
1, set the average temperature coefficient of copper-manganese resistance as K
2if the average temperature coefficient of analog to digital converter reference source is K in electric energy computation chip
3, then the progressive mean temperature coefficient K of resistance R112, copper-manganese resistance and analog to digital converter reference source
0=K
1+ K
2+ K
3,
After then revising, the average temperature coefficient of table meter measuring error temperature impact is: k=K
0;
Therefore at reference temperature T
0when=20 DEG C, if actual temperature is T, then need adjust table meter measuring error be: err=(T-T
0) K=(T-20) K
0;
Then electric energy meter carries out the correction variable of error benefit when temperature is T, and to be Pgain be:
If original register calibration theoretical value of electric energy meter meter measuring error is Z
0,
Then need when actual temperature T changes to carry out table measurement amount error compensation respectively to the different Actual-Temperature-Points of electric energy meter, if set the table of electric energy meter to measure the revised new power of amount error compensation increase the correcting register calibration value that overflows as Z
1, then have:
If Z
0the highest significant position bitf=1 of bit, then Z
1=int (Z
0+ Pgain × 2
15);
If Z
0the highest significant position bitf=0 of bit, while Z
0+ Pgain × 2
15>=0,
Then Z
1=int (Z
0+ Pgain × 2
15);
If Z
0the highest significant position bitf=0 of bit, and Z
0+ Pgain × 2
15< 0,
Then Z
1=int (2
16+ Z
0+ Pgain × 2
15).
As preferably, calibrating installation also comprises: No. five nodes, No. six nodes, feeder ear VCC, resistance R119, resistance R142 and resistance R143; The multiplexing pins of electric energy computation chip is connected with No. five nodes; One end of resistance R119 is connected with feeder ear VCC, the other end of resistance R119 is connected with No. five nodes, one end of resistance R142 is connected with No. five nodes, the other end of resistance R142 is connected with No. six nodes, one end of resistance R143 is connected with No. six nodes, and the other end of resistance R143 is connected with earth terminal; Microprocessor is connected with No. six nodes.
As preferably, electric energy computation chip adopts single-phase electric energy computation chip RN8209, and microprocessor adopts mixed signal microprocessor MSP430F449, and the current channel that No. 4 pins of single-phase electric energy computation chip RN8209 are single-phase electric energy computation chip RN8209 just simulates input pin, No. 5 pins of single-phase electric energy computation chip RN8209 are the current channel negative analog input pin of single-phase electric energy computation chip RN8209, No. 8 pins of single-phase electric energy computation chip RN8209 are that the voltage channel of single-phase electric energy computation chip RN8209 just simulates input pin, No. 9 pins of single-phase electric energy computation chip RN8209 are the voltage channel negative analog input pin of single-phase electric energy computation chip RN8209, 13 pins of single-phase electric energy computation chip RN8209 are the multiplexing pins of single-phase electric energy computation chip RN8209.
The present invention can reach following effect:
The present invention can in time environmentally temperature computation new power out increase the correcting register calibration value that overflows and remove to replace power and increase the original power overflow in correcting register and increase the correcting register calibration value that overflows, then electric energy computation chip increases with this new power the correcting register calibration value that overflows and carries out the conversion of electric flux signal, and microcontroller acquires electric power signal carries out electric quantity accumulation.The present invention can environmentally the change of temperature increase to the power in electric energy meter electric energy computation chip the calibration value of correcting register of overflowing in time and carries out with new, thus the electric energy metrical that electric energy meter is obtained and actual power consumption deviation little, improve the fairness of electricity consumption, reliability is high.
Accompanying drawing explanation
Fig. 1 is a kind of circuit theory syndeton schematic diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment, the present invention is further illustrated.
Embodiment, carries out the calibration steps of auto-compensation to electric energy meter electric energy metering error according to temperature, shown in Figure 1.Comprise calibrating installation; Calibrating installation comprises: temperature detection sensor S11, storer S12, current signal sample circuit S14, voltage signal sampling circuit S15, be provided with in inside timer S10 microprocessor S9 and be provided with power in inside and increase the electric energy computation chip S7 of correcting register S8 of overflowing, wherein, electric energy computation chip, temperature detection sensor are connected with microprocessor respectively with storer, and current signal sample circuit is connected with electric energy computation chip respectively with voltage signal sampling circuit;
The calibration steps adapted with described calibrating installation is as follows:
(1-1) pre-set temperature detection interval time in the timer of microprocessor, when temperature detection interval time then, microprocessor sends temperature detection instruction to temperature detection sensor immediately, temperature detection sensor detects the temperature in electric energy meter immediately, and the temperature signal detected is uploaded to microprocessor;
(1-2) then, microprocessor reads the excessive correcting register calibration value (calibration value when dispatching from the factory under reference temperature) of original power increasing in storer immediately;
(1-3) temperature signal that transmits according to temperature detection sensor of microprocessor and original power increase the correcting register calibration value that overflows, and the power needing to re-write electric energy computation chip under calculating this temperature signal condition increases the new power overflow in correcting register and increases the correcting register calibration value that overflows;
(1-4) computation process that new power increases the correcting register calibration value that overflows is as follows:
If electric energy meter is at reference temperature T
0it is Z that power at DEG C increases the correcting register calibration value that overflows
0, then the error precision err that needs are revised when different temperatures T DEG C is:
err=(T-T
0)K (1);
If electric energy meter carries out error benefit correction variable when temperature is T is Pgain, then
The new power that then electric energy meter obtains after carrying out error compensation correction when temperature is T increases the correcting register calibration value Z that overflows
1for:
If Z
0the highest significant position bitf=1 of bit, then Z
1=int (Z
0+ Pgain × 2
15) (3);
If Z
0the highest significant position bitf=0 of bit, and Z
0+ Pgain × 2
15when>=0,
Then Z
1=int (Z
0+ Pgain × 2
15) (4);
If Z
0the highest significant position bitf=0 of bit, and Z
0+ Pgain × 2
15during < 0,
Then Z
1=int (2
16+ Z
0+ Pgain × 2
15) (5);
Wherein: int () is bracket function, K is the average temperature coefficient needing to carry out negative temperature compensation, and T is the actual temperature in the electric energy meter that detects of temperature detection sensor;
(1-5) software for calculation in microprocessor calculates according to above-mentioned formula (1), (2), (3), (4), (5) the new excessive correcting register calibration value of power increasing that power increases the correcting register that overflows; If temperature detection sensor detects that the actual temperature T in electric energy meter there occurs change, the new power of the excessive correcting register of power increasing that so above-mentioned formula (1), (2), (3), (4), (5) are calculated increases the correcting register calibration value that overflows also can be different; So actual temperature T changes, the new excessive correcting register calibration value of power increasing that power will be made to increase excessive correcting register also ensues change, therefore, the new power calculated by the actual temperature T in electric energy meter that temperature detection sensor is detected is increased power that the correcting register calibration value that overflows removes to replace electric energy computation chip and increases the original power overflow in correcting register and increase the correcting register calibration value that overflows and can carry out auto-compensation calibration to the electric energy metering error of electric energy meter;
(1-6) after the excessive correcting register calibration value of original power increasing increased in excessive correcting register when power is increased by new power correcting register calibration value replacement of overflowing, electric energy computation chip sampled current signals and voltage signal being converted to electric power signal through integration in electric energy computation chip after power increases correcting register calibration of overflowing, and electric power signal is passed to microprocessor, carried out adding up and storing in memory to the electric power signal transmitted at every turn by microprocessor, thus achieve electric energy meter and according to actual temperature, the auto-compensation of electric energy meter electric energy metering error is calibrated.
Described current signal sample circuit comprises: node S1, No. two node S2, copper-manganese resistance S13, public negative pole end VSS, earth terminal S16, resistance R73, resistance R74, electric capacity C27 and electric capacity C28, one end of resistance R73 is connected with No. 1 current signal sample port of copper-manganese resistance, and the other end of resistance R73 is connected with a node; One end of resistance R74 is connected with No. 2 current signal sample port of copper-manganese resistance, and the other end of resistance R74 is connected with No. two nodes; One end of electric capacity C27 is connected with No. two nodes, and the other end of electric capacity C27 is connected with earth terminal; One end of electric capacity C28 is connected with a node, and the other end of electric capacity C28 is connected with earth terminal; The current channel of electric energy computation chip is just being simulated input pin and is being connected with No. two nodes, and the current channel negative analog input pin of electric energy computation chip is connected with a node, and No. 3 current signal sample port of copper-manganese resistance are connected with public negative pole end VSS;
Described voltage signal sampling circuit comprises: live wire end N1, No. three node S3, No. four node S4, resistance RA3, resistance RA4, resistance RA5, resistance RA6, resistance RA7, resistance RA8, resistance R112, resistance R115, electric capacity C39 and electric capacity C40, one end of resistance RA3 is connected with live wire end N1, the other end of resistance RA3 is connected with one end of resistance RA4, the other end of resistance RA4 is connected with one end of resistance RA5, the other end of resistance RA5 is connected with one end of resistance RA6, the other end of resistance RA6 is connected with one end of resistance RA7, the other end of resistance RA7 is connected with one end of resistance RA8, the other end of resistance RA8 is connected with No. three nodes, one end of resistance R112 is connected with No. three nodes, and the other end of resistance R112 is connected with earth terminal, one end of electric capacity C39 is connected with No. three nodes, and the other end of electric capacity C39 is connected with earth terminal, resistance R115 one end is connected with No. four nodes, and the other end of resistance R115 is connected with earth terminal, one end of electric capacity C40 is connected with No. four nodes, and the other end of electric capacity C40 is connected with earth terminal, the voltage channel of electric energy computation chip is just being simulated input pin and is being connected with No. three nodes, and the voltage channel negative analog input pin of electric energy computation chip is connected with No. four nodes,
Suppose resistance RA3=resistance RA4=resistance RA5=resistance RA6=resistance RA7=resistance RA8=150K Ω, resistance R112=resistance R115=1K Ω, electric capacity C39=electric capacity C40=33nF, power supply voltage is 220V, then the voltage sampling signal of electric energy computation chip is:
Because in formula (6), the denominator of electric resistance partial pressure is larger than molecule many, therefore only consider the temperature coefficient of resistance R112, the temperature coefficient of resistance RA3-RA8 is then ignored;
Because in resistance R112, copper-manganese resistance and electric energy computation chip, the temperature coefficient of these three devices of analog to digital converter reference source is all positive temperature coefficient (PTC)s, if set the average temperature coefficient of resistance R112 as K
1, set the average temperature coefficient of copper-manganese resistance as K
2if the average temperature coefficient of analog to digital converter reference source is K in electric energy computation chip
3, then the progressive mean temperature coefficient K of resistance R112, copper-manganese resistance and analog to digital converter reference source
0=K
1+ K
2+ K
3,
After then revising, the average temperature coefficient of table meter measuring error temperature impact is: k=K
0;
Therefore at reference temperature T
0when=20 DEG C, if actual temperature is T, then need adjust table meter measuring error be: err=(T-T
0) K=(T-20) K
0;
Then electric energy meter carries out the correction variable of error benefit when temperature is T, and to be Pgain be:
If original register calibration theoretical value of electric energy meter meter measuring error is Z
0,
Then need when actual temperature T changes to carry out table measurement amount error compensation respectively to the different Actual-Temperature-Points of electric energy meter, if set the table of electric energy meter to measure the revised new power of amount error compensation increase the correcting register calibration value that overflows as Z
1, then have:
If Z
0the highest significant position bitf=1 of bit, then Z
1=int (Z
0+ Pgain × 2
15);
If Z
0the highest significant position bitf=0 of bit, while Z
0+ Pgain × 2
15>=0,
Then Z
1=int (Z
0+ Pgain × 2
15);
If Z
0the highest significant position bitf=0 of bit, and Z
0+ Pgain × 2
15< 0,
Then Z
1=int (2
16+ Z
0+ Pgain × 2
15).
Calibrating installation also comprises: No. five node S5, No. six node S6, feeder ear VCC, resistance R119, resistance R142 and resistance R143; The multiplexing pins of electric energy computation chip is connected with No. five nodes; One end of resistance R119 is connected with feeder ear VCC, the other end of resistance R119 is connected with No. five nodes, one end of resistance R142 is connected with No. five nodes, the other end of resistance R142 is connected with No. six nodes, one end of resistance R143 is connected with No. six nodes, and the other end of resistance R143 is connected with earth terminal; Microprocessor is connected with No. six nodes.
The electric energy computation chip of this example adopts single-phase electric energy computation chip RN8209, and microprocessor adopts mixed signal microprocessor MSP430F449, and the current channel that No. 4 pins of single-phase electric energy computation chip RN8209 are single-phase electric energy computation chip RN8209 just simulates input pin, No. 5 pins of single-phase electric energy computation chip RN8209 are the current channel negative analog input pin of single-phase electric energy computation chip RN8209, No. 8 pins of single-phase electric energy computation chip RN8209 are that the voltage channel of single-phase electric energy computation chip RN8209 just simulates input pin, No. 9 pins of single-phase electric energy computation chip RN8209 are the voltage channel negative analog input pin of single-phase electric energy computation chip RN8209, 13 pins of single-phase electric energy computation chip RN8209 are the multiplexing pins of single-phase electric energy computation chip RN8209.
The present embodiment can in time environmentally temperature computation new power out increase the correcting register calibration value that overflows and remove to replace power and increase original power in the correcting register that overflows and increase the correcting register calibration value that overflows, then electric energy computation chip increases with this new power the correcting register calibration value that overflows and carries out the conversion of electric flux signal, and microcontroller acquires electric power signal carries out electric quantity accumulation.The present embodiment can environmentally the change of temperature increase to the power in electric energy meter electric energy computation chip the calibration value of correcting register of overflowing in time and upgrades, thus the electric energy metrical that electric energy meter is obtained and actual power consumption deviation little, improve the fairness of electricity consumption.
Describe embodiments of the present invention by reference to the accompanying drawings above, but do not limit by above-described embodiment when realizing, those of ordinary skill in the art can make a variety of changes within the scope of the appended claims or revise.
Claims (4)
1. according to temperature, electric energy meter electric energy metering error is carried out to a calibration steps for auto-compensation, it is characterized in that, comprise calibrating installation; Calibrating installation comprises: temperature detection sensor (S11), storer (S12), current signal sample circuit (S14), voltage signal sampling circuit (S15), be provided with in inside timer (S10) microprocessor (S9) and be provided with power in inside and increase the electric energy computation chip (S7) of correcting register (S8) of overflowing, wherein, electric energy computation chip, temperature detection sensor are connected with microprocessor respectively with storer, and current signal sample circuit is connected with electric energy computation chip respectively with voltage signal sampling circuit;
The calibration steps adapted with described calibrating installation is as follows:
(1-1) pre-set temperature detection interval time in the timer of microprocessor, when temperature detection interval time then, microprocessor sends temperature detection instruction to temperature detection sensor immediately, temperature detection sensor detects the temperature in electric energy meter immediately, and the temperature signal detected is uploaded to microprocessor;
(1-2) then, microprocessor reads the excessive correcting register calibration value of original power increasing in storer immediately;
(1-3) temperature signal that transmits according to temperature detection sensor of microprocessor and original power increase the correcting register calibration value that overflows, and the power needing to re-write electric energy computation chip under calculating this temperature signal condition increases the new power overflow in correcting register and increases the correcting register calibration value that overflows;
(1-4) computation process that new power increases the correcting register calibration value that overflows is as follows:
If electric energy meter is at reference temperature T
0it is Z that power at DEG C increases the correcting register calibration value that overflows
0, then the error precision err that needs are revised when different temperatures T DEG C is:
err=(T-T
0)K (1);
If electric energy meter carries out error benefit correction variable when temperature is T is Pgain, then
The new power that then electric energy meter obtains after carrying out error compensation correction when temperature is T increases the correcting register calibration value Z that overflows
1for:
If Z
0the highest significant position bitf=1 of bit, then Z
1=int (Z
0+ Pgain × 2
15) (3);
If Z
0the highest significant position bitf=0 of bit, and Z
0+ Pgain × 2
15when>=0,
Then Z
1=int (Z
0+ Pgain × 2
15) (4);
If Z
0the highest significant position bitf=0 of bit, and Z
0+ Pgain × 2
15during < 0,
Then Z
1=int (2
16+ Z
0+ Pgain × 2
15) (5);
Wherein: int () is bracket function, K is the average temperature coefficient needing to carry out negative temperature compensation, and T is the actual temperature in the electric energy meter that detects of temperature detection sensor;
(1-5) software for calculation in microprocessor calculates according to above-mentioned formula (1), (2), (3), (4), (5) the new excessive correcting register calibration value of power increasing that power increases the correcting register that overflows; If temperature detection sensor detects that the actual temperature T in electric energy meter there occurs change, the new power of the excessive correcting register of power increasing that so above-mentioned formula (1), (2), (3), (4), (5) are calculated increases the correcting register calibration value that overflows also can be different; So actual temperature T changes, the new excessive correcting register calibration value of power increasing that power will be made to increase excessive correcting register also ensues change, therefore, the new power calculated by the actual temperature T in electric energy meter that temperature detection sensor is detected is increased power that the correcting register calibration value that overflows removes to replace electric energy computation chip and increases the original power overflow in correcting register and increase the correcting register calibration value that overflows and can carry out auto-compensation calibration to the electric energy metering error of electric energy meter;
(1-6) after the excessive correcting register calibration value of original power increasing increased in excessive correcting register when power is increased by new power correcting register calibration value replacement of overflowing, electric energy computation chip sampled current signals and voltage signal being converted to electric power signal through integration in electric energy computation chip after power increases correcting register calibration of overflowing, and electric power signal is passed to microprocessor, carried out adding up and storing in memory to the electric power signal transmitted at every turn by microprocessor, thus achieve electric energy meter and according to actual temperature, the auto-compensation of electric energy meter electric energy metering error is calibrated.
2. the calibration steps according to temperature, electric energy meter electric energy metering error being carried out to auto-compensation according to claim 1, it is characterized in that, described current signal sample circuit comprises: node (S1), No. two nodes (S2), copper-manganese resistance (S13), public negative pole end VSS, earth terminal (S16), resistance R73, resistance R74, electric capacity C27 and electric capacity C28, one end of resistance R73 is connected with No. 1 current signal sample port of copper-manganese resistance, and the other end of resistance R73 is connected with a node; One end of resistance R74 is connected with No. 2 current signal sample port of copper-manganese resistance, and the other end of resistance R74 is connected with No. two nodes; One end of electric capacity C27 is connected with No. two nodes, and the other end of electric capacity C27 is connected with earth terminal; One end of electric capacity C28 is connected with a node, and the other end of electric capacity C28 is connected with earth terminal; The current channel of electric energy computation chip is just being simulated input pin and is being connected with No. two nodes, and the current channel negative analog input pin of electric energy computation chip is connected with a node, and No. 3 current signal sample port of copper-manganese resistance are connected with public negative pole end VSS;
Described voltage signal sampling circuit comprises: live wire end N1, No. three nodes (S3), No. four nodes (S4), resistance RA3, resistance RA4, resistance RA5, resistance RA6, resistance RA7, resistance RA8, resistance R112, resistance R115, electric capacity C39 and electric capacity C40, one end of resistance RA3 is connected with live wire end N1, the other end of resistance RA3 is connected with one end of resistance RA4, the other end of resistance RA4 is connected with one end of resistance RA5, the other end of resistance RA5 is connected with one end of resistance RA6, the other end of resistance RA6 is connected with one end of resistance RA7, the other end of resistance RA7 is connected with one end of resistance RA8, the other end of resistance RA8 is connected with No. three nodes, one end of resistance R112 is connected with No. three nodes, and the other end of resistance R112 is connected with earth terminal, one end of electric capacity C39 is connected with No. three nodes, and the other end of electric capacity C39 is connected with earth terminal, resistance R115 one end is connected with No. four nodes, and the other end of resistance R115 is connected with earth terminal, one end of electric capacity C40 is connected with No. four nodes, and the other end of electric capacity C40 is connected with earth terminal, the voltage channel of electric energy computation chip is just being simulated input pin and is being connected with No. three nodes, and the voltage channel negative analog input pin of electric energy computation chip is connected with No. four nodes,
Suppose resistance RA3=resistance RA4=resistance RA5=resistance RA6=resistance RA7=resistance RA8=150K Ω, resistance R112=resistance R115=1K Ω, electric capacity C39=electric capacity C40=33nF, power supply voltage is 220V, then the voltage sampling signal of electric energy computation chip is:
Because in formula (6), the denominator of electric resistance partial pressure is larger than molecule many, therefore only consider the temperature coefficient of resistance R112, the temperature coefficient of resistance RA3-RA8 is then ignored;
Because in resistance R112, copper-manganese resistance and electric energy computation chip, the temperature coefficient of these three devices of analog to digital converter reference source is all positive temperature coefficient (PTC)s, if set the average temperature coefficient of resistance R112 as K
1, set the average temperature coefficient of copper-manganese resistance as K
2if the average temperature coefficient of analog to digital converter reference source is K in electric energy computation chip
3, then the progressive mean temperature coefficient K of resistance R112, copper-manganese resistance and analog to digital converter reference source
0=K
1+ K
2+ K
3,
After then revising, the average temperature coefficient of table meter measuring error temperature impact is: k=K
0;
Therefore at reference temperature T
0when=20 DEG C, if actual temperature is T, then need adjust table meter measuring error be: err=(T-T
0) K=(T-20) K
0;
Then electric energy meter carries out the correction variable of error benefit when temperature is T, and to be Pgain be:
If original register calibration theoretical value of electric energy meter meter measuring error is Z
0,
Then need when actual temperature T changes to carry out table measurement amount error compensation respectively to the different Actual-Temperature-Points of electric energy meter, if set the table of electric energy meter to measure the revised new power of amount error compensation increase the correcting register calibration value that overflows as Z
1, then have:
If Z
0the highest significant position bitf=1 of bit, then Z
1=int (Z
0+ Pgain × 2
15);
If Z
0the highest significant position bitf=0 of bit, while Z
0+ Pgain × 2
15>=0,
Then Z
1=int (Z
0+ Pgain × 2
15);
If Z
0the highest significant position bitf=0 of bit, and Z
0+ Pgain × 2
15< 0,
Then Z
1=int (2
16+ Z
0+ Pgain × 2
15).
3. the calibration steps according to temperature, electric energy meter electric energy metering error being carried out to auto-compensation according to claim 1, it is characterized in that, calibrating installation also comprises: No. five nodes (S5), No. six nodes (S6), feeder ear VCC, resistance R119, resistance R142 and resistance R143; The multiplexing pins of electric energy computation chip is connected with No. five nodes; One end of resistance R119 is connected with feeder ear VCC, the other end of resistance R119 is connected with No. five nodes, one end of resistance R142 is connected with No. five nodes, the other end of resistance R142 is connected with No. six nodes, one end of resistance R143 is connected with No. six nodes, and the other end of resistance R143 is connected with earth terminal; Microprocessor is connected with No. six nodes.
4. the calibration steps according to temperature, electric energy meter electric energy metering error being carried out to auto-compensation according to claim 1, it is characterized in that, electric energy computation chip adopts single-phase electric energy computation chip RN8209, and microprocessor adopts mixed signal microprocessor MSP430F449, and the current channel that No. 4 pins of single-phase electric energy computation chip RN8209 are single-phase electric energy computation chip RN8209 just simulates input pin, No. 5 pins of single-phase electric energy computation chip RN8209 are the current channel negative analog input pin of single-phase electric energy computation chip RN8209, No. 8 pins of single-phase electric energy computation chip RN8209 are that the voltage channel of single-phase electric energy computation chip RN8209 just simulates input pin, No. 9 pins of single-phase electric energy computation chip RN8209 are the voltage channel negative analog input pin of single-phase electric energy computation chip RN8209, 13 pins of single-phase electric energy computation chip RN8209 are the multiplexing pins of single-phase electric energy computation chip RN8209.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510263178.XA CN104965186B (en) | 2015-05-21 | 2015-05-21 | The calibration method compensated automatically electric energy meter electric energy metering error according to temperature |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510263178.XA CN104965186B (en) | 2015-05-21 | 2015-05-21 | The calibration method compensated automatically electric energy meter electric energy metering error according to temperature |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104965186A true CN104965186A (en) | 2015-10-07 |
CN104965186B CN104965186B (en) | 2017-08-04 |
Family
ID=54219227
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510263178.XA Active CN104965186B (en) | 2015-05-21 | 2015-05-21 | The calibration method compensated automatically electric energy meter electric energy metering error according to temperature |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104965186B (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105334384A (en) * | 2015-10-22 | 2016-02-17 | 宁波三星医疗电气股份有限公司 | Method for selecting sampling resistor for three phase meter |
CN105652056A (en) * | 2015-12-30 | 2016-06-08 | 宁波三星医疗电气股份有限公司 | Self-adaptive compensation method of single-phase electric energy meter voltage change influence quantity |
CN105676163A (en) * | 2016-03-07 | 2016-06-15 | 宁波迦南电子有限公司 | Electric energy meter self-heating influence error compensation method |
CN107782938A (en) * | 2017-09-14 | 2018-03-09 | 宁波三星医疗电气股份有限公司 | The error compensating method of electric energy meter self-heating |
CN108761161A (en) * | 2018-04-09 | 2018-11-06 | 南方电网科学研究院有限责任公司 | A kind of power meter temperature influences error compensating method and device |
CN109073683A (en) * | 2016-04-25 | 2018-12-21 | 大陆汽车有限公司 | For determining the method and battery sensor of load current |
CN110763823A (en) * | 2019-11-22 | 2020-02-07 | 威海精讯畅通电子科技有限公司 | Handheld rapid soil detector and detection method |
CN110780099A (en) * | 2018-07-31 | 2020-02-11 | 杭州海兴电力科技股份有限公司 | Method for improving influence of self-heating of electric energy meter on performance of mutual inductor and electric energy meter |
CN110927657A (en) * | 2019-12-20 | 2020-03-27 | 深圳供电局有限公司 | Electric energy meter error correction method, device and equipment |
CN112083242A (en) * | 2020-08-25 | 2020-12-15 | 中国电力科学研究院有限公司 | On-site calibrating device and method for alternating current charging pile |
CN112327239A (en) * | 2020-09-14 | 2021-02-05 | 江苏灵敏智控科技有限公司 | Automatic electric energy calibration device and method for street lamp controller |
CN112363001A (en) * | 2020-11-24 | 2021-02-12 | 科大智能电气技术有限公司 | High-precision metering method and system for platform area intelligent fusion terminal |
CN112614323A (en) * | 2020-11-30 | 2021-04-06 | 国网山东省电力公司滨州供电公司 | Electric energy meter with intranet switches function |
CN112731815A (en) * | 2020-12-16 | 2021-04-30 | 中国航空工业集团公司西安航空计算技术研究所 | Method for improving analog quantity acquisition precision |
CN113138362A (en) * | 2021-05-11 | 2021-07-20 | 深圳市先行电气技术有限公司 | Calibration method for automatically compensating electric energy metering error of electric energy meter |
CN113156329A (en) * | 2021-03-11 | 2021-07-23 | 深圳市计量质量检测研究院(国家高新技术计量站、国家数字电子产品质量监督检验中心) | Alternating current charging pile calibrating device |
CN114994590A (en) * | 2022-06-13 | 2022-09-02 | 宁夏隆基宁光仪表股份有限公司 | Electric energy meter with metering self-checking function and self-checking method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6735535B1 (en) * | 2000-05-05 | 2004-05-11 | Electro Industries/Gauge Tech. | Power meter having an auto-calibration feature and data acquisition capabilities |
CN101988960A (en) * | 2009-08-07 | 2011-03-23 | 铨盛电子股份有限公司 | Digital electric meter capable of dynamically compensating and correcting reading |
CN102053181A (en) * | 2009-10-31 | 2011-05-11 | 西北电网有限公司 | On-site standard electric energy meter |
CN102435975A (en) * | 2011-11-07 | 2012-05-02 | 中国电力科学研究院 | Intelligent cost control electric energy meter and clock calibration method |
-
2015
- 2015-05-21 CN CN201510263178.XA patent/CN104965186B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6735535B1 (en) * | 2000-05-05 | 2004-05-11 | Electro Industries/Gauge Tech. | Power meter having an auto-calibration feature and data acquisition capabilities |
CN101988960A (en) * | 2009-08-07 | 2011-03-23 | 铨盛电子股份有限公司 | Digital electric meter capable of dynamically compensating and correcting reading |
CN102053181A (en) * | 2009-10-31 | 2011-05-11 | 西北电网有限公司 | On-site standard electric energy meter |
CN102435975A (en) * | 2011-11-07 | 2012-05-02 | 中国电力科学研究院 | Intelligent cost control electric energy meter and clock calibration method |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105334384A (en) * | 2015-10-22 | 2016-02-17 | 宁波三星医疗电气股份有限公司 | Method for selecting sampling resistor for three phase meter |
CN105652056A (en) * | 2015-12-30 | 2016-06-08 | 宁波三星医疗电气股份有限公司 | Self-adaptive compensation method of single-phase electric energy meter voltage change influence quantity |
CN105652056B (en) * | 2015-12-30 | 2018-10-02 | 宁波三星医疗电气股份有限公司 | Single-phase electric energy meter voltage changes the self-adapting compensation method of influence amount |
CN105676163A (en) * | 2016-03-07 | 2016-06-15 | 宁波迦南电子有限公司 | Electric energy meter self-heating influence error compensation method |
CN105676163B (en) * | 2016-03-07 | 2018-08-21 | 宁波迦南智能电气股份有限公司 | A kind of electric energy meter is from heat affecting error compensating method |
CN109073683A (en) * | 2016-04-25 | 2018-12-21 | 大陆汽车有限公司 | For determining the method and battery sensor of load current |
CN107782938A (en) * | 2017-09-14 | 2018-03-09 | 宁波三星医疗电气股份有限公司 | The error compensating method of electric energy meter self-heating |
CN108761161B (en) * | 2018-04-09 | 2020-03-10 | 南方电网科学研究院有限责任公司 | Method and device for compensating temperature influence errors of electric energy meter |
CN108761161A (en) * | 2018-04-09 | 2018-11-06 | 南方电网科学研究院有限责任公司 | A kind of power meter temperature influences error compensating method and device |
CN110780099B (en) * | 2018-07-31 | 2021-11-12 | 杭州海兴电力科技股份有限公司 | Method for improving influence of self-heating of electric energy meter on performance of mutual inductor and electric energy meter |
CN110780099A (en) * | 2018-07-31 | 2020-02-11 | 杭州海兴电力科技股份有限公司 | Method for improving influence of self-heating of electric energy meter on performance of mutual inductor and electric energy meter |
CN110763823A (en) * | 2019-11-22 | 2020-02-07 | 威海精讯畅通电子科技有限公司 | Handheld rapid soil detector and detection method |
CN110763823B (en) * | 2019-11-22 | 2022-04-12 | 威海精讯畅通电子科技有限公司 | Handheld rapid soil detector and detection method |
CN110927657A (en) * | 2019-12-20 | 2020-03-27 | 深圳供电局有限公司 | Electric energy meter error correction method, device and equipment |
CN112083242A (en) * | 2020-08-25 | 2020-12-15 | 中国电力科学研究院有限公司 | On-site calibrating device and method for alternating current charging pile |
CN112327239A (en) * | 2020-09-14 | 2021-02-05 | 江苏灵敏智控科技有限公司 | Automatic electric energy calibration device and method for street lamp controller |
CN112363001A (en) * | 2020-11-24 | 2021-02-12 | 科大智能电气技术有限公司 | High-precision metering method and system for platform area intelligent fusion terminal |
CN112614323A (en) * | 2020-11-30 | 2021-04-06 | 国网山东省电力公司滨州供电公司 | Electric energy meter with intranet switches function |
CN112731815A (en) * | 2020-12-16 | 2021-04-30 | 中国航空工业集团公司西安航空计算技术研究所 | Method for improving analog quantity acquisition precision |
CN113156329A (en) * | 2021-03-11 | 2021-07-23 | 深圳市计量质量检测研究院(国家高新技术计量站、国家数字电子产品质量监督检验中心) | Alternating current charging pile calibrating device |
CN113138362A (en) * | 2021-05-11 | 2021-07-20 | 深圳市先行电气技术有限公司 | Calibration method for automatically compensating electric energy metering error of electric energy meter |
CN114994590A (en) * | 2022-06-13 | 2022-09-02 | 宁夏隆基宁光仪表股份有限公司 | Electric energy meter with metering self-checking function and self-checking method |
Also Published As
Publication number | Publication date |
---|---|
CN104965186B (en) | 2017-08-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104965186A (en) | Calibration method for automatically compensating electric energy metering error of electric energy meter according to temperature | |
CN102262216B (en) | Electric quantity detection method for chargeable battery and apparatus thereof | |
US20210325466A1 (en) | Method, device, system for estimating remaining charging time and storage medium | |
CN102435975B (en) | Clock calibration method of intelligent cost control electric energy meter | |
CN104880673A (en) | Method for measuring battery electric quantity and mobile terminal | |
CN103383435A (en) | System and method for on-line dynamic measurement of electric quantity of lithium ion batteries | |
BR102013007928A2 (en) | Time Diverse Packet Protocol | |
CN203216630U (en) | Automatic temperature detection system | |
CN105573106A (en) | Smart meter RTC timing precision correction circuit and method thereof | |
CN104180929A (en) | Calibration method of thermal resistance type hot-fluid sensor | |
CN101738593B (en) | Standard energy meter and correcting method of sampled signals thereof | |
CN104035062B (en) | A kind of high accuracy calibration method based on ATT7022E computation chip | |
CN204649835U (en) | According to temperature, electric energy meter electric energy metering error is carried out to the calibrating installation of auto-compensation | |
CN107870187A (en) | The drinking water conductivity measuring method and measuring circuit of a kind of low-cost and high-precision | |
CN203587780U (en) | Battery power detecting device | |
WO2014169642A1 (en) | Device and method for detecting battery capacity, and battery | |
CN109061498B (en) | Battery residual electric quantity metering chip and metering method | |
CN103091550A (en) | Synchronous isolation sampling direct-current power meter of wide voltage and large current | |
CN102768078B (en) | Automatic resistance compensation method for temperature-measuring conductors for two-wire thermal resistor | |
CN102435334A (en) | Method for measuring temperature of transformer winding | |
CN112198442A (en) | Battery electric quantity detection method and detection system | |
CN204854855U (en) | Air mass flow meter foil gage temperature compensation circuit of adjustable sampled value | |
CN204274423U (en) | Clinical thermometer auto-calibration circuits | |
CN104678216A (en) | Method and device for testing energy or power conversion efficiency of circuit board of mobile power supply | |
CN104065335A (en) | Photovoltaic concentration device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Hangzhou City, Zhejiang province Xihu District 310024 Tong Street No. 173 Fu Lu Liang Patentee after: Hangzhou Xili intelligent Polytron Technologies Inc Address before: 310014 Zhejiang, Xihu District Tong Tong Street turn to science and technology economic block block No. 11 Patentee before: HANGZHOU XILI WATT-HOUR METER MANUFACTURE CO., LTD. |