RTC regulating apparatus of electrical energy meter and RTC automatic compensation correcting method

23-06-2010 дата публикации
Номер:
CN0101303401B
Принадлежит: Wasion Group Co Ltd
Контакты:
Номер заявки: 03-10-20081638
Дата заявки: 01-07-2008

[1]

Technical Field

[2]

The invention relates to a kind of electric energy meter and regulating device for the RTC RTC compensation correction method.

[3]

Background technology

[4]

Existing electronic electric energy meter generally comprises RTC, temperature tester, MCU, non-volatile memory and a communication interface, wherein the RTC clock accuracy in charging, the electric energy meter plays a vital role. Since the electric energy meter the clock RTC the existence of the inherent error component, when this kind of error accumulation output of the device when the RTC offsetting. In order to present commonly used 32.768kHz clock element, for example, in a period about 20 PPM left and right error, along with the temperature change at the same time will also be changed. Therefore, the electric energy meter is of the timing accuracy of the RTC.

[5]

The content of the invention

[6]

The purpose of this invention is to provide a electric energy meter can measure the clock RTC inherent error of the component and improve the electric energy of the timing precision of the RTC RTC RTC table place and adjusting device for automatic compensation correction method.

[7]

The present invention provides this kind of electric energy meter adjusting device for the RTC, including clock tester, arithmetic unit, a communication interface, which are connected in sequence between them, wherein the clock detector adopts wireless sensing mode to test the RTC output signal, communication between the communication interface and the communication interface is connected with the electric energy meter, by the arithmetic unit and the communication interface of the electric energy meter clock element inherent error stored in the memory of the meter.

[8]

The present invention provides automatic compensation for RTC of electric energy meter correction method comprises the following steps:

[9]

1). The electric energy meter in the calibration temperature environment, to be the same when the clock element can work stably, denote electricity to the communication interface of the correction device for electric energy meter communication interface is connected with, and make the electric energy in the table denote pad clock correction device for the inductive area tester, RTC measure the electric energy meter the inherent error;

[10]

2). The step 1 of the inherent error RTC in a memory of stored in the electric energy meter;

[11]

3) measure the temperature .MCU the temperature data of the device for measuring the relative error into the RTC;

[12]

4) the. MCU added to the above-mentioned two kinds of error data, to obtain the instantaneous error of the moment of compensation; the instant error multiplied by the adjacent two compensating moment compensation for the time difference of the two time between the instant of the absolute error of the RTC;

[13]

5). The step 4 for the absolute error of the RTC accumulated, when the accumulated data reaches a minimum unit electric energy meter when the RTC, the RTC correction for compensating MCU.

[14]

The invention relates to an electric energy meter adjusting device for RTC RTC table electric energy to measure the inherent error, and the error is transmitted to the electric energy meter for storage, this work can be of the electric energy meter is completed by the manufacturer before leaving the factory, the electric energy meter can when in use in accordance with the present invention the method of the invention automatically to the RTC the inherent error and the temperature drift deviation compensation correction at the same time. Very good solves the problem that the electric energy meter for the problem of the timing accuracy of the RTC.

[15]

Figure description

[16]

Figure 1 is a structure diagram of the invention.

[17]

Specific embodiments

[18]

In Figure 1 we can see that the invention of the electric energy meter adjusting device for RTC, including clock tester 1, arithmetic unit 2, communication interface 3, in this embodiment clock tester 1 by Guangzhou can ruey electronic technology limited production RT-3000-shaped clock tester, communication interface 3 adopts the RS485 Serial interface or contact type infrared interface or a modulated infrared light interface. Clock tester 1 through the signal output end of the of the RS232 interface is connected to the arithmetic unit, the adjustment of the electric energy meter, electric energy meter should be 4 is put into the tester 2 the induction area, the communications interface 3 and electric energy meter communication interface 7 is connected with the, clock tester wireless sensing mode to test the RTC6 output signal, the clock RTC element to measure the inherent error, arithmetic unit 2 the clock tester 1 through the tester output interface of the data after the conversion, the error data the MCU8 is transmitted to the electric energy meter, electric energy meter and written to non-volatile memory 9 to store.

[19]

The invention electric energy meter automatic compensation correction of the RTC, the RTC adjusting device of the above-mentioned electric energy meter to measure the inherent error RTC, then the electric energy meter automatic correction for compensating, specific method comprises the following steps:

[20]

1). The electric energy meter 4 is placed in the calibration temperature (the temperature by the clock element manufacturing method determined, is usually 25 ± 5 the [...]) environment, the work can be stabilized when the clock element, with the communication interface 3 and electric energy meter communication interface 7 is connected, and the electric energy meter 4 denote a correction device for the pad clock tester 1 the inductive area, RTC6 measure the electric energy meter the inherent error;

[21]

2). Step 1 the measured RTC6 the inherent error is stored in the electric energy meter non-volatile memory 9 in;

[22]

3). The electric energy meter 4 device for measuring the temperature in the 5 measured electric energy meter reading the temperature data of the MCU   8 in the RAM, clock data according to the temperature characteristic curve of the component into the temperature drift error;

[23]

4). MCU of the electric energy meter   8 the non-volatile memory 9 the inherent error data taken in, and the inherent error of the temperature drift can be obtained by adding the instantaneous error error data;

[24]

5). The calculated compensating time to carry out the implementation of the difference of the moment of compensation;

[25]

6). The step 5 of the step difference 4 is multiplied by the instantaneous error, two compensating moment is obtained between the absolute error generated by the clock element;

[26]

7). Step 6 the RTC   6 to be accumulated for the absolute error, if RTC data accumulating electric energy table   6 the minimum unit (generally 1 seconds) time, at the same time modifying the accumulated data and update the RTC   6, otherwise keep the accumulated value, the compensation process is completed.



[1]

The invention discloses an RTC adjusting and calibrating device of an energy meter and a method for RTC automatic compensation and calibration. The device comprises a clock tester, a computing device and a communication interface, which are connected in sequence, wherein, the clock tester adopts a wireless sensing way to measure the output signal output by RTC, and the communication interface is connected with the communication interface of the energy meter; the inherent error of clock components of the energy meter through the computing device and the communication interface is stored into the memory of the energy meter. The method measures and stores the RTC inherent error in the energy meter, at the same time, the temperature data measured by temperature measuring equipment is transmitted into the relative error of RTC; the two error data are added up and aggregated by an MCU; and when the aggregated data reaches a minimum unit of RTC in the energy meter, the MCU carries out compensation and calibration on RTC. The invention can well solve the timing precision problem of the RTC device of the energy meter.



1. An adjusting device for the RTC, which is characterized in that the apparatus includes a clock measuring instrument (1), the arithmetic unit (2), a communication interface (3), are connected between them, wherein the clock detector (1) adopts a wireless induction of RTC mode to test the electric energy meter (6) of the output signal, measure the RTC (6) the inherent error of the clock element, a communication interface (3) and electric energy meter communication interface (7) which is connected with, through the arithmetic unit (2) and a communication interface (3) the RTC (6) clock element inherent error memory to non-volatile memory of the electric energy meter (9) in.

2. A watt-RTC automatic compensation correction method, which is characterized by comprising the following steps:

1). The electric energy meter in the calibration temperature environment, the work can be stabilized when the clock element, correction device for electricity to denote the communication interface (3) and electric energy meter communication interface (7) is connected, and the electric energy meter (4) is in the pad for denote the clock correction device for (1) the inductive area, RTC measure the electric energy meter (6) the inherent error;

2). Step 1 the measured RTC (6) the inherent error is stored in the non-volatile memory of the electric energy meter (9) in;

3) .MCU (8) the temperature measuring device (5) is converted into the temperature data of the RTC is measured (6) the relative error;

4) .MCU (8) will be added to the above-mentioned two kinds of error data, to obtain the instantaneous error of the moment of compensation; the immediate adjacent two compensation obtained by multiplying the error time difference of the moment between the two compensation time RTC (6) absolute error;

5). The step 4 for the absolute error of the RTC accumulated, when the accumulated data reaches a minimum unit electric energy meter when the RTC, MCU (8) to the RTC (6) for compensation correction.