CN110308644B - Smart electric meter clock timing precision compensation method, device and equipment - Google Patents
Smart electric meter clock timing precision compensation method, device and equipment Download PDFInfo
- Publication number
- CN110308644B CN110308644B CN201910711940.4A CN201910711940A CN110308644B CN 110308644 B CN110308644 B CN 110308644B CN 201910711940 A CN201910711940 A CN 201910711940A CN 110308644 B CN110308644 B CN 110308644B
- Authority
- CN
- China
- Prior art keywords
- clock
- temperature
- determining
- difference value
- error data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000004590 computer program Methods 0.000 claims description 12
- 238000000605 extraction Methods 0.000 claims 2
- 230000006870 function Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000005611 electricity Effects 0.000 description 3
- 230000002457 bidirectional effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000002265 prevention Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G3/00—Producing timing pulses
- G04G3/04—Temperature-compensating arrangements
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G5/00—Setting, i.e. correcting or changing, the time-indication
- G04G5/02—Setting, i.e. correcting or changing, the time-indication by temporarily changing the number of pulses per unit time, e.g. quick-feed method
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Electric Clocks (AREA)
Abstract
The application discloses a clock timing precision compensation method for an intelligent ammeter, which comprises the steps of obtaining current temperature and second signal data of a clock to be compensated; determining a difference value proportion coefficient according to the current temperature; determining current day timing error data of the clock to be compensated according to the difference value proportion coefficient and the current temperature; determining a current ultrahigh frequency clock pulse difference value corresponding to the current time counting error data according to the relation between the preset time counting error data and the ultrahigh frequency clock pulse difference value; determining clock signal data of the current ultrahigh frequency clock pulse difference value in a clock source signal; and compensating the second signal data according to the relation between the clock signal data and zero. Therefore, the precision compensation method realizes the compensation of the clock to be compensated and ensures the timing precision of the clock to be compensated. In addition, the application also provides a device, equipment and a computer readable storage medium with the advantages.
Description
Technical Field
The application relates to the technical field of daily timing and metering of an intelligent electric energy meter clock, in particular to a method, a device and equipment for compensating the timing precision of the intelligent electric energy meter clock and a computer readable storage medium.
Background
The intelligent electric meter has the functions of metering basic electricity consumption of the traditional electric meter, and also has the intelligent functions of bidirectional multi-rate metering, user side control, bidirectional data communication in multiple data transmission modes, electricity larceny prevention and the like, and represents the development direction of the intelligent terminal of the end user of the future energy-saving intelligent power grid.
The daily timing of the intelligent electric meter is an important parameter of multiple important functions in the whole electricity consumption metering field, such as: important service functions such as remote charge control function timeliness, rate electric energy accuracy, monthly settlement accuracy, synchronization line loss and the like are all required to be based on accurate daily timing data. Under the condition of such a huge number of running conditions and the running of the intelligent ammeter in the years and in the months, how to ensure the daily timing precision is a technical problem which must be mainly solved by the intelligent ammeter.
Therefore, how to compensate for the accuracy of the clock of the smart meter is a major concern for those skilled in the art.
Disclosure of Invention
The application aims to provide a method, a device and equipment for compensating the timing precision of a clock of a smart electric meter and a computer readable storage medium, so as to compensate the timing precision of the clock of the smart electric meter.
In order to solve the technical problem, the application provides a method for compensating the clock timing precision of an intelligent electric meter, which comprises the following steps:
acquiring current temperature and second signal data of a clock to be compensated;
determining a difference value proportion coefficient according to the current temperature;
determining current day timing error data of the clock to be compensated according to the difference value proportion coefficient and the current temperature;
determining a current ultrahigh frequency clock pulse difference value corresponding to the current time counting error data according to the relation between the preset time counting error data and the ultrahigh frequency clock pulse difference value;
determining clock signal data of the current ultrahigh frequency clock pulse difference value in a clock source signal;
and compensating the second signal data according to the relation between the clock signal data and zero.
Optionally, the compensating the second signal data according to the relationship between the clock signal data and zero includes:
when the clock signal data is larger than zero, the second signal data is added with the clock signal data to compensate the second signal data;
and when the clock signal data is less than zero, reducing the second signal data by the clock signal data, and compensating the second signal data.
Optionally, the determining a difference scaling factor according to the current temperature includes:
extracting a first temperature and a second temperature adjacent to the current temperature from a preset temperature characteristic relation, wherein the preset temperature characteristic relation is a relation between the plurality of preset temperatures and daily timing error data corresponding to the preset temperatures;
acquiring first daily timing error data and second daily timing error data corresponding to the first temperature and the second temperature according to the preset temperature characteristic relation;
determining a temperature difference value between the first temperature and the second temperature and an error difference value between the first daily timing error data and the second daily timing error data respectively;
and determining the difference proportionality coefficient according to the temperature difference and the error difference.
Optionally, before the obtaining of the current temperature and second signal data of the clock to be compensated, the method further includes:
acquiring the daily timing error data of the clock to be compensated at a plurality of preset temperatures;
determining the ultrahigh frequency clock pulse difference value corresponding to the time of day error data;
and determining the relation between the preset time-of-day error data and the difference value of the ultrahigh frequency clock pulse according to the time-of-day error data and the difference value of the ultrahigh frequency clock pulse.
Optionally, the obtaining the current temperature of the clock to be compensated includes:
repeatedly acquiring the temperature of the clock to be compensated;
determining the average of the temperatures as the current temperature.
The application still provides a smart electric meter clock timing precision compensation arrangement, includes:
the first acquisition module is used for acquiring the current temperature and second signal data of the clock to be compensated;
the first determining module is used for determining a difference value proportion coefficient according to the current temperature;
the second determining module is used for determining the current daily timing error data of the clock to be compensated according to the difference value proportionality coefficient and the current temperature;
the third determining module is used for determining a current ultrahigh frequency clock pulse difference value corresponding to the current time counting error data according to the relation between the preset time counting error data and the ultrahigh frequency clock pulse difference value;
the fourth determining module is used for determining the clock signal data of the current ultrahigh frequency clock pulse difference value in the clock source signal;
and the compensation module is used for compensating the second signal data according to the relation between the clock signal data and zero.
Optionally, the first determining module includes:
an extracting unit, configured to extract a first temperature and a second temperature adjacent to the current temperature from a preset temperature characteristic relationship, where the preset temperature characteristic relationship is a relationship between a plurality of preset temperatures corresponding to the preset temperature and the daily timing error data;
the acquisition unit is used for acquiring first daily timing error data and second daily timing error data corresponding to the first temperature and the second temperature according to the preset temperature characteristic relation;
a first determination unit configured to determine a temperature difference between the first temperature and the second temperature, and an error difference between the first daily timing error data and the second daily timing error data, respectively;
and the second determining unit is used for determining the difference proportionality coefficient according to the temperature difference value and the error difference value.
Optionally, the method further includes:
the second acquisition module is used for acquiring the daily timing error data of the clock to be compensated at the plurality of preset temperatures;
a fifth determining module, configured to determine the difference between the ultrahigh frequency clock pulses corresponding to the time-of-day error data;
and the sixth determining module is used for determining the relation between the preset time-of-day timing error data and the ultrahigh frequency clock pulse difference value according to the time-of-day timing error data and the ultrahigh frequency clock pulse difference value.
The application also provides a smart electric meter clock timing precision compensation equipment, includes:
a memory for storing a computer program;
and the processor is used for realizing the steps of any one of the intelligent electric meter clock timing precision compensation methods when the computer program is executed.
The application also provides a computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, and when being executed by a processor, the computer program realizes the steps of any one of the methods for compensating the clock timing precision of the smart meter.
The method for compensating the timing precision of the intelligent ammeter clock comprises the steps of obtaining current temperature and second signal data of a clock to be compensated; determining a difference value proportion coefficient according to the current temperature; determining current day timing error data of the clock to be compensated according to the difference value proportion coefficient and the current temperature; determining a current ultrahigh frequency clock pulse difference value corresponding to the current time counting error data according to the relation between the preset time counting error data and the ultrahigh frequency clock pulse difference value; determining clock signal data of the current ultrahigh frequency clock pulse difference value in a clock source signal; and compensating the second signal data according to the relation between the clock signal data and zero.
Therefore, the clock timing precision compensation method of the application can be used for obtaining the current temperature of the clock to be compensated, obtaining the difference value proportionality coefficient according to the current temperature, further determining the current daily timing error data of the clock to be compensated according to the difference value proportionality coefficient, determining the current ultrahigh frequency clock pulse difference value of the clock to be compensated according to the relation between the preset daily timing error data and the ultrahigh frequency clock pulse difference value, compensating the second signal data of the clock to be compensated according to the relation between the current ultrahigh frequency clock pulse difference value and zero, and ensuring the timing precision of the clock to be compensated. In addition, the application also provides a device, equipment and a computer readable storage medium with the advantages.
Drawings
For a clearer explanation of the embodiments or technical solutions of the prior art of the present application, the drawings needed for the description of the embodiments or prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a method for compensating timing accuracy of a clock of an intelligent electric meter according to an embodiment of the present application;
fig. 2 is a flowchart of another method for compensating timing accuracy of a smart meter clock according to an embodiment of the present disclosure;
fig. 3 is a block diagram of a clock timing precision compensation apparatus according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a clock timing precision compensation device according to an embodiment of the present application.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, but the present invention may be practiced in other ways than those specifically described and will be readily apparent to those of ordinary skill in the art without departing from the spirit of the present invention, and therefore the present invention is not limited to the specific embodiments disclosed below.
Referring to fig. 1, fig. 1 is a flowchart of a method for compensating clock timing accuracy of an intelligent electric meter according to an embodiment of the present application, where the method includes:
step S101: acquiring current temperature and second signal data of a clock to be compensated;
specifically, the current temperature of the smart meter, that is, the current temperature of the clock to be compensated, is acquired by using a program compensation algorithm.
Step S102: determining a difference value proportion coefficient according to the current temperature;
specifically, determining the difference scaling factor according to the current temperature includes:
step S1021: extracting a first temperature and a second temperature adjacent to the current temperature from a preset temperature characteristic relation, wherein the preset temperature characteristic relation is a relation between the plurality of preset temperatures and daily timing error data corresponding to the preset temperatures;
specifically, the intelligent electric meter with the clock to be compensated is placed in a large-space step-in type thermostat, the temperature is kept constant and stable for one hour at each preset temperature, and the daily timing error data are obtained by a method of collecting the pulse per second of the intelligent electric meter through a standard frequency meter.
It should be noted that, in this embodiment, the number of the preset temperatures is not specifically limited, and may be set by itself. Preferably, the difference between any two adjacent temperatures in the plurality of preset temperatures is equal, and the difference may be 5 ℃.
It should be noted that, in this embodiment, the form of the preset temperature characteristic relationship is not particularly limited, and may be a table or a curve.
Step S1022: acquiring first daily timing error data and second daily timing error data corresponding to the first temperature and the second temperature according to the preset temperature characteristic relation;
step S1023: determining a temperature difference value between the first temperature and the second temperature and an error difference value between the first daily timing error data and the second daily timing error data respectively;
step S1024: and determining the difference proportionality coefficient according to the temperature difference and the error difference.
Specifically, the difference scaling factor is a ratio of the temperature difference to the error difference.
Step S103: determining current day timing error data of the clock to be compensated according to the difference value proportion coefficient and the current temperature;
specifically, the current daily timing error data is a product of the difference scaling factor and the current temperature.
Further, after the preset temperature and daily timing error data are obtained, the preset temperature and daily timing error data are written into a compensation algorithm data address space in the intelligent electric meter.
Step S104: determining a current ultrahigh frequency clock pulse difference value corresponding to the current time counting error data according to the relation between the preset time counting error data and the ultrahigh frequency clock pulse difference value;
specifically, after acquiring the daily timing error data of the preset temperature, calculating the ratio of the daily timing error data to the time of the clock high-frequency signal, namely the ultrahigh frequency clock pulse difference.
Further, after the difference value relationship between the preset daily timing error data and the ultrahigh frequency clock pulse is obtained, the difference value relationship between the preset daily timing error data and the ultrahigh frequency clock pulse is solidified into a program space.
Step S105: determining clock signal data of the current ultrahigh frequency clock pulse difference value in a clock source signal;
specifically, the clock signal data of the current difference value of the ultrahigh frequency clock pulses in the clock source signal is determined by using a table look-up method, wherein the clock signal data is data with a positive and negative fraction, and the clock source signal is usually 32768 Hz. The specific processes are well known to those skilled in the art and will not be described in detail herein.
Step S106: and compensating the second signal data according to the relation between the clock signal data and zero.
Specifically, when the clock signal data is greater than zero, the second signal data is added with the clock signal data to compensate the second signal data;
and when the clock signal data is less than zero, reducing the second signal data by the clock signal data, and compensating the second signal data.
The clock timing precision compensation method of the embodiment acquires the current temperature of the clock to be compensated, acquires the difference proportionality coefficient according to the current temperature, determines the current day timing error data of the clock to be compensated according to the difference proportionality coefficient, determines the current ultrahigh frequency clock pulse difference value of the clock to be compensated according to the relation between the preset day timing error data and the ultrahigh frequency clock pulse difference value, compensates the second signal data of the clock to be compensated according to the relation between the current ultrahigh frequency clock pulse difference value and zero, and ensures the timing precision of the clock to be compensated.
Referring to fig. 2, fig. 2 is a flowchart of another method for compensating timing accuracy of a smart meter clock according to an embodiment of the present application, where the method includes:
step S201: acquiring the daily timing error data of the clock to be compensated at a plurality of preset temperatures;
specifically, the intelligent electric meter with the clock to be compensated is placed in a large-space step-in type thermostat, the temperature is kept constant and stable for one hour at each preset temperature, and the daily timing error data are obtained by a method of collecting the pulse per second of the intelligent electric meter through a standard frequency meter.
Step S202: determining the ultrahigh frequency clock pulse difference value corresponding to the time of day error data;
specifically, after acquiring the daily timing error data of the preset temperature, calculating the ratio of the daily timing error data to the time of the clock high-frequency signal, namely the ultrahigh frequency clock pulse difference.
Step S203: determining the relation between the preset time counting error data and the difference value of the ultrahigh frequency clock pulse according to the time counting error data and the difference value of the ultrahigh frequency clock pulse;
it should be noted that, in this embodiment, the form of the relationship between the preset time error data and the difference between the uhf clock pulses is not specifically limited, and may be a table or a curve.
Step S204: acquiring current temperature and second signal data of a clock to be compensated;
step S205: determining a difference value proportion coefficient according to the current temperature;
step S206: determining current day timing error data of the clock to be compensated according to the difference value proportion coefficient and the current temperature;
step S207: determining a current ultrahigh frequency clock pulse difference value corresponding to the current time counting error data according to the relation between the preset time counting error data and the ultrahigh frequency clock pulse difference value;
step S208: determining clock signal data of the current ultrahigh frequency clock pulse difference value in a clock source signal;
step S209: and compensating the second signal data according to the relation between the clock signal data and zero.
On the basis of any of the foregoing embodiments, in an embodiment of the present application, the acquiring a current temperature of the clock to be compensated includes:
repeatedly acquiring the temperature of the clock to be compensated;
determining the average of the temperatures as the current temperature.
The average value of the repeatedly acquired temperature is used as the current temperature, so that the subsequent current day timing error data is more accurate, and the compensation of the precision is more accurate.
It should be noted that the number of times of repeated acquisition is not specifically limited in this embodiment, and may be, for example, 3 times, or 5 times, as the case may be.
The following describes a clock timing precision compensation apparatus provided in an embodiment of the present application, and the clock timing precision compensation apparatus described below and the clock timing precision compensation method described above may be referred to correspondingly.
Fig. 3 is a block diagram of a clock timing precision compensation apparatus according to an embodiment of the present application, where the clock timing precision compensation apparatus according to fig. 3 may include:
the first obtaining module 100 is configured to obtain current temperature and second signal data of a clock to be compensated;
a first determining module 200, configured to determine a difference scaling factor according to the current temperature;
a second determining module 300, configured to determine current daily timing error data of the clock to be compensated according to the difference proportionality coefficient and the current temperature;
a third determining module 400, configured to determine, according to a relationship between preset time counting error data and an ultrahigh frequency clock difference, a current ultrahigh frequency clock difference corresponding to the current time counting error data;
a fourth determining module 500, configured to determine clock signal data of the current ultrahigh frequency clock pulse difference in the clock source signal;
and a compensation module 600, configured to compensate the second signal data according to a relationship between the clock signal data and zero.
The clock timing precision compensation apparatus of this embodiment is used to implement the clock timing precision compensation method, and therefore specific implementations of the clock timing precision compensation apparatus can be seen in the above embodiments of the clock timing precision compensation method, for example, the first obtaining module 100, the first determining module 200, the second determining module 300, the third determining module 400, the fourth determining module 500, and the compensation module 600 are respectively used to implement steps S101, S102, S103, S104, S105, and S106 in the clock timing precision compensation method, so specific implementations thereof may refer to descriptions of corresponding partial embodiments, and are not repeated herein.
In one embodiment of the present application, the first determining module 200 includes:
an extracting unit, configured to extract a first temperature and a second temperature adjacent to the current temperature from a preset temperature characteristic relationship, where the preset temperature characteristic relationship is a relationship between a plurality of preset temperatures corresponding to the preset temperature and the daily timing error data;
the acquisition unit is used for acquiring first daily timing error data and second daily timing error data corresponding to the first temperature and the second temperature according to the preset temperature characteristic relation;
a first determination unit configured to determine a temperature difference between the first temperature and the second temperature, and an error difference between the first daily timing error data and the second daily timing error data, respectively;
and the second determining unit is used for determining the difference proportionality coefficient according to the temperature difference value and the error difference value.
The clock timing precision compensation device of the embodiment acquires the current temperature of the clock to be compensated, acquires the difference proportionality coefficient according to the current temperature, determines the current day timing error data of the clock to be compensated according to the difference proportionality coefficient, determines the current ultrahigh frequency clock pulse difference value of the clock to be compensated according to the relation between the preset day timing error data and the ultrahigh frequency clock pulse difference value, compensates the second signal data of the clock to be compensated according to the relation between the current ultrahigh frequency clock pulse difference value and zero, and ensures the timing precision of the clock to be compensated.
Optionally, in an embodiment of the present application, the clock timing precision compensation apparatus further includes:
the second acquisition module is used for acquiring the daily timing error data of the clock to be compensated at the plurality of preset temperatures;
a fifth determining module, configured to determine the difference between the ultrahigh frequency clock pulses corresponding to the time-of-day error data;
and the sixth determining module is used for determining the relation between the preset time-of-day timing error data and the ultrahigh frequency clock pulse difference value according to the time-of-day timing error data and the ultrahigh frequency clock pulse difference value.
The following introduces a clock timing precision compensation device provided in an embodiment of the present application, and the clock timing precision compensation device described below and the clock timing precision compensation method described above may be referred to correspondingly.
Fig. 4 is a schematic structural diagram of a clock timing precision compensation device provided in an embodiment of the present application, where the device includes:
a memory 11 for storing a computer program;
a processor 12, configured to implement the steps of any of the clock timing accuracy compensation methods disclosed above when executing the computer program.
The clock timing precision compensation device of the embodiment acquires the current temperature of the clock to be compensated, acquires the difference proportionality coefficient according to the current temperature, determines the current day timing error data of the clock to be compensated according to the difference proportionality coefficient, determines the current ultrahigh frequency clock pulse difference value of the clock to be compensated according to the relation between the preset day timing error data and the ultrahigh frequency clock pulse difference value, compensates the second signal data of the clock to be compensated according to the relation between the current ultrahigh frequency clock pulse difference value and zero, and ensures the timing precision of the clock to be compensated.
The following describes a computer-readable storage medium provided in an embodiment of the present application, and the computer-readable storage medium described below and the clock timing precision compensation method described above may be referred to in correspondence.
The present application further provides a computer-readable storage medium, having a computer program stored thereon, where the computer program, when executed by a processor, implements the steps of any of the clock timing accuracy compensation methods disclosed above.
The computer-readable storage medium of this embodiment obtains the current temperature of the clock to be compensated, obtains the difference proportionality coefficient from the current temperature, determines the current daily timing error data of the clock to be compensated according to the difference proportionality coefficient, determines the current ultra-high frequency clock pulse difference of the clock to be compensated according to the relationship between the preset daily timing error data and the ultra-high frequency clock pulse difference, and compensates the second signal data of the clock to be compensated according to the relationship between the current ultra-high frequency clock pulse difference and zero, thereby ensuring the timing precision of the clock to be compensated.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The clock timing precision compensation method, device, equipment and computer readable storage medium provided by the present application are described in detail above. The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
Claims (7)
1. A method for compensating timing precision of a smart meter clock is characterized by comprising the following steps:
acquiring current temperature and second signal data of a clock to be compensated;
determining a difference value proportion coefficient according to the current temperature;
determining current day timing error data of the clock to be compensated according to the difference value proportion coefficient and the current temperature;
determining a current ultrahigh frequency clock pulse difference value corresponding to the current time counting error data according to the relation between the preset time counting error data and the ultrahigh frequency clock pulse difference value;
determining clock signal data of the current ultrahigh frequency clock pulse difference value in a clock source signal;
compensating the second signal data according to the relation between the clock signal data and zero;
wherein the compensating the second signal data according to the relationship between the clock signal data and zero comprises:
when the clock signal data is larger than zero, the second signal data is added with the clock signal data to compensate the second signal data;
when the clock signal data is less than zero, reducing the second signal data by the clock signal data, and compensating the second signal data;
the determining a difference scaling factor based on the current temperature comprises:
extracting a first temperature and a second temperature adjacent to the current temperature from a preset temperature characteristic relation, wherein the preset temperature characteristic relation is a relation between a plurality of preset temperatures and daily timing error data corresponding to the preset temperatures;
acquiring first daily timing error data and second daily timing error data corresponding to the first temperature and the second temperature according to the preset temperature characteristic relation;
determining a temperature difference value between the first temperature and the second temperature and an error difference value between the first daily timing error data and the second daily timing error data respectively;
and determining the difference proportionality coefficient according to the temperature difference and the error difference.
2. The method for compensating the timing accuracy of the clock of the smart meter according to claim 1, before the obtaining the current temperature and second signal data of the clock to be compensated, further comprising:
acquiring the daily timing error data of the clock to be compensated at a plurality of preset temperatures;
determining the ultrahigh frequency clock pulse difference value corresponding to the time of day error data;
and determining the relation between the preset time-of-day error data and the difference value of the ultrahigh frequency clock pulse according to the time-of-day error data and the difference value of the ultrahigh frequency clock pulse.
3. The method for compensating the timing accuracy of the smart meter clock according to any one of claims 1 to 2, wherein the obtaining the current temperature of the clock to be compensated comprises:
repeatedly acquiring the temperature of the clock to be compensated;
determining the average of the temperatures as the current temperature.
4. A smart meter clock timing accuracy compensation apparatus for implementing the smart meter clock timing accuracy compensation method according to claim 1, comprising:
the first acquisition module is used for acquiring the current temperature and second signal data of the clock to be compensated;
the first determining module is used for determining a difference value proportion coefficient according to the current temperature;
the second determining module is used for determining the current daily timing error data of the clock to be compensated according to the difference value proportionality coefficient and the current temperature;
the third determining module is used for determining a current ultrahigh frequency clock pulse difference value corresponding to the current time counting error data according to the relation between the preset time counting error data and the ultrahigh frequency clock pulse difference value;
the fourth determining module is used for determining the clock signal data of the current ultrahigh frequency clock pulse difference value in the clock source signal;
the compensation module is used for compensating the second signal data according to the relation between the clock signal data and zero;
wherein the first determining module comprises:
the device comprises an extraction unit, a comparison unit and a comparison unit, wherein the extraction unit is used for extracting a first temperature and a second temperature which are adjacent to the current temperature from a preset temperature characteristic relation, and the preset temperature characteristic relation is a relation between a plurality of preset temperatures and daily timing error data corresponding to the preset temperatures;
the acquisition unit is used for acquiring first daily timing error data and second daily timing error data corresponding to the first temperature and the second temperature according to the preset temperature characteristic relation;
a first determination unit configured to determine a temperature difference between the first temperature and the second temperature, and an error difference between the first daily timing error data and the second daily timing error data, respectively;
and the second determining unit is used for determining the difference proportionality coefficient according to the temperature difference value and the error difference value.
5. The apparatus for compensating for the timing accuracy of a smart meter clock according to claim 4, further comprising:
the second acquisition module is used for acquiring the daily timing error data of the clock to be compensated at the plurality of preset temperatures;
a fifth determining module, configured to determine the difference between the ultrahigh frequency clock pulses corresponding to the time-of-day error data;
and the sixth determining module is used for determining the relation between the preset time-of-day timing error data and the ultrahigh frequency clock pulse difference value according to the time-of-day timing error data and the ultrahigh frequency clock pulse difference value.
6. The utility model provides a smart electric meter clock timing precision compensation equipment which characterized in that includes:
a memory for storing a computer program;
a processor for implementing the steps of the method for compensating the timing accuracy of the smart meter clock according to any one of claims 1 to 3 when executing the computer program.
7. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the method for compensating the timing accuracy of the smart meter clock according to any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910711940.4A CN110308644B (en) | 2019-08-02 | 2019-08-02 | Smart electric meter clock timing precision compensation method, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910711940.4A CN110308644B (en) | 2019-08-02 | 2019-08-02 | Smart electric meter clock timing precision compensation method, device and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110308644A CN110308644A (en) | 2019-10-08 |
CN110308644B true CN110308644B (en) | 2021-04-02 |
Family
ID=68082884
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910711940.4A Active CN110308644B (en) | 2019-08-02 | 2019-08-02 | Smart electric meter clock timing precision compensation method, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110308644B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113504401B (en) * | 2021-06-08 | 2024-02-13 | 深圳市科陆电子科技股份有限公司 | Method, device and system for compensating diary time error of electric energy meter |
CN113654627B (en) * | 2021-09-16 | 2024-08-23 | 江花集团有限公司 | Method and device for water meter metering compensation and cloud server |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3978650A (en) * | 1973-10-24 | 1976-09-07 | Citizen Watch Co., Ltd. | Electric timepiece |
WO2000063750A1 (en) * | 1999-04-19 | 2000-10-26 | Seiko Instruments Inc. | Sensor clock, data input system of sensor clock, data input method of sensor clock and computer-readable recording medium in which program for making computer execute the method is recorded |
CN202256438U (en) * | 2011-08-02 | 2012-05-30 | 珠海中慧微电子有限公司 | Hardware real time clock (RTC) error compensation system of intelligent electric energy meter |
CN103176400A (en) * | 2013-01-14 | 2013-06-26 | 杭州海兴电力科技股份有限公司 | Intelligent ammeter clock calibration method |
CN105573106A (en) * | 2014-10-08 | 2016-05-11 | 无锡华润矽科微电子有限公司 | Smart meter RTC timing precision correction circuit and method thereof |
CN106556724A (en) * | 2015-09-28 | 2017-04-05 | 华立科技股份有限公司 | Ammeter and its clock correcting method |
CN108020808A (en) * | 2017-11-21 | 2018-05-11 | 浙江晨泰科技股份有限公司 | A kind of highly reliable high-precision electric energy meter real-time clock design method |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2132875B1 (en) * | 2007-04-11 | 2018-08-22 | Microdul AG | Method for temperature compensation of a time basis |
JP2012047705A (en) * | 2010-08-30 | 2012-03-08 | Nec Computertechno Ltd | Time correction device and control method |
CN201796428U (en) * | 2010-09-28 | 2011-04-13 | 武汉盛帆电子股份有限公司 | Single-phase cost control intelligent electric energy meter with temperature compensation clock module |
CN102163040B (en) * | 2011-01-25 | 2013-01-30 | 武汉盛帆电子股份有限公司 | Built-in hardware clock module with temperature compensation function |
-
2019
- 2019-08-02 CN CN201910711940.4A patent/CN110308644B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3978650A (en) * | 1973-10-24 | 1976-09-07 | Citizen Watch Co., Ltd. | Electric timepiece |
WO2000063750A1 (en) * | 1999-04-19 | 2000-10-26 | Seiko Instruments Inc. | Sensor clock, data input system of sensor clock, data input method of sensor clock and computer-readable recording medium in which program for making computer execute the method is recorded |
CN202256438U (en) * | 2011-08-02 | 2012-05-30 | 珠海中慧微电子有限公司 | Hardware real time clock (RTC) error compensation system of intelligent electric energy meter |
CN103176400A (en) * | 2013-01-14 | 2013-06-26 | 杭州海兴电力科技股份有限公司 | Intelligent ammeter clock calibration method |
CN105573106A (en) * | 2014-10-08 | 2016-05-11 | 无锡华润矽科微电子有限公司 | Smart meter RTC timing precision correction circuit and method thereof |
CN106556724A (en) * | 2015-09-28 | 2017-04-05 | 华立科技股份有限公司 | Ammeter and its clock correcting method |
CN108020808A (en) * | 2017-11-21 | 2018-05-11 | 浙江晨泰科技股份有限公司 | A kind of highly reliable high-precision electric energy meter real-time clock design method |
Non-Patent Citations (1)
Title |
---|
基于71M6542F的高精度智能电表的设计;唐文亮;《电子技术应用》;20111206;第37卷(第12期);第60-62,65页 * |
Also Published As
Publication number | Publication date |
---|---|
CN110308644A (en) | 2019-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10312681B2 (en) | Automatic network device electrical phase identification | |
CN110308644B (en) | Smart electric meter clock timing precision compensation method, device and equipment | |
CN109342989B (en) | Error analysis method and device for electric energy meter | |
CN110198302B (en) | Privacy protection method and system for data release of intelligent electric meter | |
CA2685205A1 (en) | Reduced cost automatic meter reading system and method using locally communicating utility meters | |
CN110705107B (en) | Power distribution network voltage evaluation method, system, equipment and storage medium | |
CN114646829A (en) | Electrical topology identification method of low-voltage transformer area, system and terminal thereof | |
CN110930034B (en) | Electric power spot market settlement metering data verification method, device and medium | |
CN111711192B (en) | Real-time line loss analysis method and system for lean management of line loss of support station area | |
CN110333404B (en) | Non-invasive load monitoring method, device, equipment and storage medium | |
CN111141951B (en) | Power terminal data acquisition method and device and electronic equipment | |
CN104407189A (en) | Electricity stealing prevention system and method for distribution transformer | |
CN108206721B (en) | Automatic meter reading system and time correction method thereof | |
CN109470918A (en) | The electricity data processing method and IR46 electric energy meter of IR46 electric energy meter | |
US20150088441A1 (en) | Energy usage estimation device and energy usage estimation method | |
CN115374818A (en) | Topological structure identification method and device of power grid structure and processing equipment | |
CN115236392A (en) | Multi-characteristic-quantity electric energy metering method and device, terminal and storage medium | |
CN113899963B (en) | Method and device for detecting interference electricity of alternating current system and terminal equipment | |
EP3048566A1 (en) | Information processing device and information processing method | |
CN111025068A (en) | Method and device for reading load curve data of electric meter and electronic equipment | |
US9019122B2 (en) | Information retrieval for boundary reading processing | |
CN116756528B (en) | Method, device, equipment and medium for complementing electricity load data | |
AU2020103561A4 (en) | Method and apparatus for predicting influence of trade disputes on total electricity consumption | |
CN109541346A (en) | A kind of non-intrusion type electrical load under steady state condition identifies method for improving | |
CN112034247A (en) | Fault recording method of electric energy meter and electric energy meter thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |