CN117826565A - Clock adjustment method, device and system for electric energy meter - Google Patents
Clock adjustment method, device and system for electric energy meter Download PDFInfo
- Publication number
- CN117826565A CN117826565A CN202410004306.8A CN202410004306A CN117826565A CN 117826565 A CN117826565 A CN 117826565A CN 202410004306 A CN202410004306 A CN 202410004306A CN 117826565 A CN117826565 A CN 117826565A
- Authority
- CN
- China
- Prior art keywords
- electric energy
- clock
- instruction
- time
- temperature compensation
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000012937 correction Methods 0.000 claims abstract description 94
- 230000005540 biological transmission Effects 0.000 claims abstract description 76
- 238000004364 calculation method Methods 0.000 claims description 17
- 238000004891 communication Methods 0.000 claims description 3
- 239000013589 supplement Substances 0.000 claims description 3
- DMBHHRLKUKUOEG-UHFFFAOYSA-N diphenylamine Chemical compound C=1C=CC=CC=1NC1=CC=CC=C1 DMBHHRLKUKUOEG-UHFFFAOYSA-N 0.000 claims 1
- 238000004590 computer program Methods 0.000 description 6
- 239000013078 crystal Substances 0.000 description 5
- 230000005611 electricity Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 239000000047 product Substances 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Electric Clocks (AREA)
Abstract
The invention provides a clock adjustment method, device and system of an electric energy meter, and belongs to the technical field of electric automation. The method comprises the following steps: calibrating a standard clock of the adjusting device; transmitting a tuning instruction to the target tuning electric energy meter through a carrier link at a first moment, and receiving a receiving instruction returned by the target tuning electric energy meter at a second moment; determining a time delay correction value to be adjusted based on the first time, the transmission time delay of the adjustment instruction, the second time, the transmission time delay of the receiving instruction and the temperature compensation correction value; and sending the time delay correction value to the target calibration electric energy meter so as to correct the clock of the target calibration electric energy meter. The invention can improve the accuracy of clock adjustment.
Description
Technical Field
The present invention relates to the field of electrical automation technologies, and in particular, to a clock adjustment method, device and system for an electric energy meter.
Background
Along with the development of national economy and technology and the great improvement of the living standard of people, electric energy becomes one of the indispensable energy sources for people's daily life, factories, enterprises and other units.
The current electric energy charging mode of the electric power system mainly comprises non-real-time payment according to month. In the non-real-time charging system, the electric energy meter uses the time of the electric energy meter as a standard, counts the electricity consumption in a long period of time (usually in units of days and months), and then periodically reads the metering data of the electric energy meter. In this business scenario, the time error of the electric energy meter is insensitive. However, with the strategy of power utilization adjustment of 'staggering time and peak and difference electricity price', the power grid department gradually guides various types of users to use power in a time-sharing and sectional manner. One problem with this type of power usage strategy is: the clock of the consumer's electric energy meter must be accurate, and once the electric energy meter clock is inaccurate, it may result in the charge of the high electricity price that would have been actually adopted for the low electricity price.
At present, a common clock synchronization adjustment mode for the electric energy meter is that a main station communicates with a terminal through a general wireless packet service (General Packet Radio Service, GPRS), and the terminal communicates with the electric energy meter through a broadband carrier wave to complete broadcast adjustment. However, when carrier channel congestion, buried line interference, long-distance signal attenuation and other interference occur, the time alignment of the electric energy meter is easy to be unsuccessful, and the adjustment mode has no reply frame, so that whether the adjustment is successful or not cannot be determined, clock deviation can be generated by the electric energy meter, and the electric energy charging in different time periods is inaccurate.
Disclosure of Invention
The embodiment of the invention provides a clock adjustment method, device and system of an electric energy meter, which are used for solving the problem that the adjustment is unsuccessful easily caused by the existing intelligent meter adjustment method.
In a first aspect, an embodiment of the present invention provides a clock adjustment method for an electric energy meter, where a clock adjustment system includes an adjustment device, a master station, and a plurality of electric energy meters, where a controller for a real-time clock is provided in the electric energy meters, and the master station is configured to send an adjustment instruction to the adjustment device, and the adjustment device communicates with the plurality of electric energy meters after receiving the adjustment instruction; the clock adjustment method comprises the following steps:
calibrating a standard clock of the adjusting device;
transmitting a tuning instruction to the target tuning electric energy meter through a carrier link at a first moment, and receiving a receiving instruction returned by the target tuning electric energy meter at a second moment;
determining a time delay correction value to be adjusted based on the first time, the transmission time delay of the adjustment instruction, the second time, the transmission time delay of the receiving instruction and the temperature compensation correction value;
and sending the time delay correction value to the target calibration electric energy meter so as to correct the clock of the target calibration electric energy meter.
In one possible implementation, determining the delay correction value to be adjusted based on the first time, the transmission delay of the adjustment instruction, the second time, the transmission delay of the reception instruction, and the temperature compensation correction value includes:
determining the transmission delay of the tuning instruction based on the instruction length of the tuning instruction and the carrier rate of the carrier link;
determining the transmission delay of the received instruction based on the instruction length of the received instruction and the carrier rate of the carrier link;
and determining a time delay correction value to be adjusted based on the first time, the transmission time delay of the adjustment instruction, the second time, the transmission time delay of the receiving instruction and the temperature compensation correction value.
In one possible implementation, the delay correction value is equal to the second time minus a delay difference value, the delay difference value being equal to a sum of the first time, the transmission delay of the tuning instruction, the transmission delay of the receiving instruction, and the temperature compensation correction value.
In one possible implementation, the calculation formula of the transmission delay of the adjustment instruction is:
adjusting the transmission delay D of the instruction 1 Instruction length of carrier rate/adjustment instruction of carrier link;
the calculation formula of the transmission delay of the receiving instruction is as follows:
transmission delay D of received instruction 2 Instruction length of carrier rate/adjustment instruction of carrier link.
In one possible implementation, the determining of the temperature compensation correction value includes:
determining a temperature supplement coefficient corresponding to a target temperature period based on the target temperature period in which the first time and the second time are located;
determining a temperature compensation correction value based on a temperature compensation coefficient corresponding to the target temperature period and a previous temperature compensation coefficient; the previous temperature compensation coefficient is the temperature compensation coefficient of the target calibration electric energy meter during the last calibration; the target calibration electric energy meter is any one of a plurality of electric energy meters.
In one possible implementation, determining the temperature compensation correction value based on the temperature compensation coefficient corresponding to the target temperature period and the previous temperature compensation coefficient includes:
and obtaining a temperature compensation correction value based on the difference value between the temperature compensation coefficient corresponding to the target temperature period and the previous temperature compensation coefficient.
In one possible implementation, determining the temperature compensation correction value based on the temperature compensation coefficient corresponding to the target temperature period and the previous temperature compensation coefficient includes:
determining a temperature compensation weight based on a difference value between a temperature period corresponding to a previous temperature compensation coefficient and a target temperature period;
and determining a temperature compensation correction value based on the difference value between the temperature compensation coefficient corresponding to the target temperature period and the previous temperature compensation coefficient and the temperature compensation weight.
In one possible implementation, the first time and the second time are based on a time of a standard clock of the tuning device;
the standard clock of the adjusting device is adjusted, comprising:
based on a GPS module arranged in the adjusting equipment, adjusting a standard clock of the adjusting equipment; or (b)
And adjusting the standard clock of the adjusting equipment based on the Beidou module arranged in the adjusting equipment.
In a second aspect, an embodiment of the present invention provides a clock adjustment device for an electric energy meter, where the clock adjustment system includes an adjustment device, a master station, and a plurality of electric energy meters, where a controller for a real-time clock is provided in the electric energy meter, and the master station is configured to send an adjustment instruction to the adjustment device, and the adjustment device communicates with the plurality of electric energy meters after receiving the adjustment instruction; the clock adjustment device includes:
the initial adjusting module is used for adjusting the standard clock of the adjusting equipment;
the transmitting instruction module is used for transmitting a tuning instruction to the target tuning electric energy meter through the carrier link at a first moment and receiving a receiving instruction returned by the target tuning electric energy meter at a second moment;
the numerical value determining module is used for determining a time delay correction value to be adjusted based on the first moment, the transmission time delay of the adjustment instruction, the second moment, the transmission time delay of the receiving instruction and the temperature compensation correction value;
and the adjusting module is used for sending the time delay correction value to the target adjusting electric energy meter so as to correct the clock of the target adjusting electric energy meter.
In one possible implementation, the determining numerical module is configured to determine a transmission delay of the tuning instruction based on an instruction length of the tuning instruction and a carrier rate of the carrier link;
determining the transmission delay of the received instruction based on the instruction length of the received instruction and the carrier rate of the carrier link;
and determining a time delay correction value to be adjusted based on the first time, the transmission time delay of the adjustment instruction, the second time, the transmission time delay of the receiving instruction and the temperature compensation correction value.
In one possible implementation, the delay correction value is equal to the second time minus a delay difference value, the delay difference value being equal to a sum of the first time, the transmission delay of the tuning instruction, the transmission delay of the receiving instruction, and the temperature compensation correction value.
In one possible implementation, the calculation formula of the transmission delay of the adjustment instruction is:
adjusting the transmission delay D of the instruction 1 Instruction length of carrier rate/adjustment instruction of carrier link;
the calculation formula of the transmission delay of the receiving instruction is as follows:
transmission delay D of received instruction 2 Instruction length of carrier rate/adjustment instruction of carrier link.
In one possible implementation manner, the numerical value determining module is configured to determine a temperature replenishment coefficient corresponding to a target temperature period based on the target temperature periods at which the first time and the second time are located;
determining a temperature compensation correction value based on a temperature compensation coefficient corresponding to the target temperature period and a previous temperature compensation coefficient; the previous temperature compensation coefficient is the temperature compensation coefficient of the target calibration electric energy meter during the last calibration; the target calibration electric energy meter is any one of a plurality of electric energy meters.
In one possible implementation, the numerical module is configured to determine a temperature compensation correction value based on a difference between a temperature compensation coefficient corresponding to the target temperature period and a previous temperature compensation coefficient.
In one possible implementation, the determining numerical module is configured to determine a temperature compensation weight based on a difference between a temperature period corresponding to a previous temperature compensation coefficient and a target temperature period;
and determining a temperature compensation correction value based on the difference value between the temperature compensation coefficient corresponding to the target temperature period and the previous temperature compensation coefficient and the temperature compensation weight.
In one possible implementation, the first time and the second time are based on a time of a standard clock of the tuning device;
the initial adjusting module is used for adjusting the standard clock of the adjusting equipment based on the GPS module arranged in the adjusting equipment; or (b)
And adjusting the standard clock of the adjusting equipment based on the Beidou module arranged in the adjusting equipment.
In a third aspect, an embodiment of the present invention provides a clock adjustment system of an electric energy meter, including: the system comprises a calibrating device, a master station and a plurality of electric energy meters, wherein the calibrating device is connected with the plurality of electric energy meters and is communicated with the master station through a remote communication module;
the electric energy meter is internally provided with a controller of a real-time clock, the controller is used for controlling time calculation and clock correction, the master station is used for sending a calibration command to the calibration equipment, the calibration equipment is communicated with the electric energy meters after receiving the calibration command, and the electric energy meters are calibrated based on the clock calibration method of the electric energy meter of the first aspect.
The embodiment of the invention provides a clock adjustment method, a clock adjustment device and a clock adjustment system for an electric energy meter, wherein the clock adjustment method, the clock adjustment device and the clock adjustment system firstly adjust a standard clock of adjustment equipment; then, a tuning instruction is sent to the target tuning electric energy meter through a carrier link at a first moment, and a receiving instruction returned by the target tuning electric energy meter is received at a second moment; then, determining a time delay correction value to be adjusted based on the first time, the transmission time delay of the adjustment instruction, the second time, the transmission time delay of the receiving instruction and the temperature compensation correction value; and finally, sending the time delay correction value to the target calibration electric energy meter so as to correct the clock of the target calibration electric energy meter. According to the clock adjustment method, after the adjustment instruction is sent to the electric energy meter, the receiving instruction returned by the electric energy meter is received, the temperature compensation correction value is set in consideration of the influence of temperature on the real-time clock in the electric energy meter, and the final time delay correction value is set in consideration of the influence of transmission time delay on the clock, so that the clock of the electric energy meter and the standard clock of adjustment equipment can be more accurately synchronized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a clock adjustment method of an electric energy meter according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a clock calibrating device of an electric energy meter according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a clock calibration system of an electric energy meter according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the following description will be made by way of specific embodiments with reference to the accompanying drawings.
The clock adjustment system of the electric energy meter comprises adjustment equipment, a master station and a plurality of electric energy meters. The electric energy meter is internally provided with a controller of a real-time clock, which is used for calculating the time of the electric energy meter and correcting the clock, and the time requirement of the electric energy meter service is provided by the real-time clock arranged in the electric energy meter. The master station is used for sending a tuning instruction to the tuning equipment, and the tuning equipment is communicated with the plurality of electric energy meters after receiving the tuning instruction.
Fig. 1 is a flowchart of an implementation of a clock adjustment method of an electric energy meter according to an embodiment of the present invention, which is described in detail below:
step S110, the standard clock of the adjusting device is adjusted.
The time provided by the standard clock is an accurate time, and all the electric energy meters need to be calibrated according to the time of the standard clock in the calibrating equipment.
In some embodiments, the calibration of the standard clock may be based on time in the GPS system and the beidou system.
In some embodiments, the calibration of the standard clock of the calibration device may be based on a GPS module provided internally to the calibration device.
The standard clock of the adjusting device can be adjusted based on the Beidou module arranged in the adjusting device.
Step S120, a tuning instruction is sent to the target tuning electric energy meter through a carrier link at a first moment, and a receiving instruction returned by the target tuning electric energy meter is received at a second moment.
The first time and the second time are times based on a standard clock of the tuning device.
The target calibration electric energy meter is any one of a plurality of electric energy meters.
The adjusting device is connected with a plurality of electric energy meters.
The carrier wave is a radio wave of a specific frequency, in Hz, which is an electromagnetic wave modulated in frequency amplitude modulation or phase to transmit a speech music image or other signals, and the carrier frequency is a wave in which the signals are not directly transmitted but are loaded onto a fixed frequency during transmission of the signals.
Step S130, determining a time delay correction value to be adjusted based on the first time, the transmission delay of the adjustment command, the second time, the transmission delay of the receiving command, and the temperature compensation correction value.
The transmission delay refers to the transmission time of the adjustment instruction in the carrier link, and the transmission delay can be determined after the connection mode of the electric energy meter and the adjustment equipment is determined.
In some embodiments, the transmission delay of the receive instruction and the transmission delay of the calibrate instruction may be determined by:
the transmission delay of the tuning instruction may be determined based on the instruction length of the tuning instruction and the carrier rate of the carrier link.
The specific calculation mode is as follows:
adjusting the transmission delay D of the instruction 1 Instruction length of carrier rate/adjustment instruction of carrier link.
The transmission delay of the received instruction may be determined based on the instruction length of the received instruction and the carrier rate of the carrier link.
The specific calculation mode is as follows:
transmission delay d2 of the receive command = carrier rate of carrier link/command length of the calibrate command.
In some embodiments, the delay correction value to be adjusted is determined as follows:
the delay correction value is equal to the second time minus the delay difference value, and the delay difference value is equal to the sum of the first time, the transmission delay of the adjustment instruction, the transmission delay of the reception instruction, and the temperature compensation correction value.
In some embodiments, the controller of the real-time clock is arranged in the electric energy meter and is used for controlling calculation of self time and clock correction. The chip of the real-time clock mostly adopts a crystal oscillator with higher precision as a clock source. The core of any real-time clock is a crystal oscillator, and the crystal oscillator frequency is 32768Hz. It provides an accurate and low power real base signal for the divide counter. It can be used to generate information about seconds, minutes, hours, days, etc. In order to ensure the long-term accuracy of the clock, the crystal oscillator must work normally and cannot be disturbed.
However, the crystal oscillator is extremely susceptible to temperature, so that the influence of temperature on the real-time clock in the electric energy meter needs to be considered when the clocks are synchronized.
In some embodiments, the determining of the temperature compensation correction value includes:
first, based on a target temperature period in which the first time and the second time are located, a temperature supplement coefficient corresponding to the target temperature period is determined. It should be noted that the previous temperature compensation coefficient is the temperature compensation coefficient of the target calibration electric energy meter during the last calibration.
Then, a temperature compensation correction value is determined based on the temperature compensation coefficient corresponding to the target temperature period and the temperature compensation coefficient of the previous time.
In this embodiment, after the temperature compensation coefficient corresponding to the target temperature period and the temperature compensation coefficient of the previous time are obtained, the temperature compensation correction value may be determined based on the following two ways.
The temperature compensation correction value can be obtained directly based on the difference value between the temperature compensation coefficient corresponding to the target temperature period and the previous temperature compensation coefficient. The temperature compensation correction value may also be determined by:
first, the temperature compensation weight may be determined based on a difference between a temperature period corresponding to a previous temperature compensation coefficient and a target temperature period.
Then, the temperature compensation correction value may be determined based on the difference between the temperature compensation coefficient corresponding to the target temperature period and the temperature compensation coefficient of the previous time, and the temperature compensation weight.
Specifically, the temperature compensation correction value is equal to the product of the temperature compensation weight and the difference between the temperature compensation coefficient corresponding to the target temperature period and the previous temperature compensation coefficient.
And step 140, transmitting the time delay correction value to the target calibration electric energy meter so as to correct the clock of the target calibration electric energy meter.
After the time delay correction value is determined, the time delay correction value can be sent to the target calibration electric energy meter, and the clock of the target calibration electric energy meter can be corrected by the target calibration electric energy meter according to the time delay correction value.
The clock adjustment method provided by the invention comprises the steps of firstly, adjusting a standard clock of adjustment equipment; then, a tuning instruction is sent to the target tuning electric energy meter through a carrier link at a first moment, and a receiving instruction returned by the target tuning electric energy meter is received at a second moment; then, determining a time delay correction value to be adjusted based on the first time, the transmission time delay of the adjustment instruction, the second time, the transmission time delay of the receiving instruction and the temperature compensation correction value; and finally, sending the time delay correction value to the target calibration electric energy meter so as to correct the clock of the target calibration electric energy meter. According to the clock adjustment method, after the adjustment instruction is sent to the electric energy meter, the receiving instruction returned by the electric energy meter is received, the temperature compensation correction value is set in consideration of the influence of temperature on the real-time clock in the electric energy meter, and the final time delay correction value is set in consideration of the influence of transmission time delay on the clock, so that the clock of the electric energy meter and the standard clock of adjustment equipment can be more accurately synchronized.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
The following are device embodiments of the invention, for details not described in detail therein, reference may be made to the corresponding method embodiments described above.
Fig. 2 is a schematic structural diagram of a clock calibrating device of an electric energy meter according to an embodiment of the present invention, and for convenience of explanation, only a portion related to the embodiment of the present invention is shown, which is described in detail below:
as shown in fig. 2, the clock adjustment device 200 of the electric energy meter includes: the clock adjustment system comprises adjustment equipment, a master station and a plurality of electric energy meters, wherein a controller of a real-time clock is arranged in each electric energy meter and is used for controlling time calculation and clock correction, the master station is used for sending adjustment instructions to the adjustment equipment, and the adjustment equipment is communicated with the plurality of electric energy meters after receiving the adjustment instructions; the clock adjustment device 200 includes:
an initial calibration module 210, configured to calibrate a standard clock of the calibration device;
the sending instruction module 220 is configured to send a tuning instruction to the target tuning electric energy meter through the carrier link at a first moment, and receive a receiving instruction returned by the target tuning electric energy meter at a second moment;
a determining value module 230, configured to determine a delay correction value to be adjusted based on the first time, the transmission delay of the adjustment instruction, the second time, the transmission delay of the reception instruction, and the temperature compensation correction value;
the adjusting module 240 is configured to send the delay correction value to the target adjusting electric energy meter to correct the clock of the target adjusting electric energy meter.
In one possible implementation, the determining value module 230 is configured to determine a transmission delay of the tuning instruction based on the instruction length of the tuning instruction and the carrier rate of the carrier link;
determining the transmission delay of the received instruction based on the instruction length of the received instruction and the carrier rate of the carrier link;
and determining a time delay correction value to be adjusted based on the first time, the transmission time delay of the adjustment instruction, the second time, the transmission time delay of the receiving instruction and the temperature compensation correction value.
In one possible implementation, the delay correction value is equal to the second time minus a delay difference value, the delay difference value being equal to a sum of the first time, the transmission delay of the tuning instruction, the transmission delay of the receiving instruction, and the temperature compensation correction value.
In one possible implementation, the calculation formula of the transmission delay of the adjustment instruction is:
adjusting the transmission delay D of the instruction 1 Instruction length of carrier rate/adjustment instruction of carrier link;
the calculation formula of the transmission delay of the receiving instruction is as follows:
transmission delay D of received instruction 2 Instruction length of carrier rate/adjustment instruction of carrier link.
In one possible implementation, the determining value module 230 is configured to determine a temperature replenishment coefficient corresponding to a target temperature period based on the target temperature periods in which the first time and the second time are located;
determining a temperature compensation correction value based on a temperature compensation coefficient corresponding to the target temperature period and a previous temperature compensation coefficient; the previous temperature compensation coefficient is the temperature compensation coefficient of the target calibration electric energy meter during the last calibration; the target calibration electric energy meter is any one of a plurality of electric energy meters.
In one possible implementation, the determining value module 230 is configured to obtain the temperature compensation correction value based on a difference between the temperature compensation coefficient corresponding to the target temperature period and the previous temperature compensation coefficient.
In one possible implementation, the determining value module 230 is configured to determine the temperature compensation weight based on a difference between a temperature period corresponding to a previous temperature compensation coefficient and a target temperature period;
and determining a temperature compensation correction value based on the difference value between the temperature compensation coefficient corresponding to the target temperature period and the previous temperature compensation coefficient and the temperature compensation weight.
In one possible implementation, the first time and the second time are based on a time of a standard clock of the tuning device;
an initial calibration module 210, configured to calibrate a standard clock of the calibration device based on a GPS module set inside the calibration device; or (b)
And adjusting the standard clock of the adjusting equipment based on the Beidou module arranged in the adjusting equipment.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
In a third aspect, as shown in fig. 3, an embodiment of the present invention provides a clock calibration system 300 of an electric energy meter, including: the device comprises a calibrating device 310, a master station 320 and a plurality of electric energy meters 330, wherein the calibrating device 310 is connected with the plurality of electric energy meters 330, and the calibrating device 310 is communicated with the master station 320 through a remote communication module.
The electric energy meter 330 is internally provided with a real-time clock controller for controlling time calculation and clock correction, the master station 320 is used for sending a calibration command to the calibration device 310, the calibration device 310 communicates with the electric energy meters 330 after receiving the calibration command, and the electric energy meters 330 are calibrated based on the clock calibration method of the electric energy meters of the first aspect.
Those of ordinary skill in the art will appreciate that the templates, elements, and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. 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 invention.
The modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, the present invention may implement all or part of the procedures in the methods of the above embodiments, or may be implemented by instructing related hardware by a computer program, where the computer program may be stored in a computer readable storage medium, and the computer program may implement the steps of the clock adjustment method embodiments of each electric energy meter when executed by a processor. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory, a random access memory, an electrical carrier wave signal, a telecommunication signal, a software distribution medium, and so forth.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention.
Claims (10)
1. The clock adjustment method of the electric energy meter is characterized in that the clock adjustment system comprises adjustment equipment, a master station and a plurality of electric energy meters, a controller of a real-time clock is arranged in the electric energy meters and used for controlling time calculation and clock correction, the master station is used for sending adjustment instructions to the adjustment equipment, and the adjustment equipment is communicated with the plurality of electric energy meters after receiving the adjustment instructions; the clock adjustment method comprises the following steps:
calibrating a standard clock of the calibrating equipment;
transmitting a tuning instruction to a target tuning electric energy meter through a carrier link at a first moment, and receiving a receiving instruction returned by the target tuning electric energy meter at a second moment;
determining a time delay correction value to be adjusted based on the first time, the transmission time delay of the adjustment instruction, the second time, the transmission time delay of the receiving instruction and a temperature compensation correction value;
and sending the time delay correction value to the target calibration electric energy meter so as to correct the clock of the target calibration electric energy meter.
2. The method for calibrating a clock of an electric energy meter according to claim 1, wherein the determining the delay correction value to be adjusted based on the first time, the transmission delay of the calibration command, the second time, the transmission delay of the reception command, and the temperature compensation correction value includes:
determining the transmission delay of the adjustment instruction based on the instruction length of the adjustment instruction and the carrier rate of the carrier link;
determining a transmission delay of the received instruction based on the instruction length of the received instruction and the carrier rate of the carrier link;
and determining a time delay correction value to be adjusted based on the first time, the transmission time delay of the adjustment instruction, the second time, the transmission time delay of the receiving instruction and the temperature compensation correction value.
3. The clock adjustment method of an electric energy meter according to claim 1 or 2, characterized in that the delay correction value is equal to the second time minus a delay difference value, the delay difference value being equal to a sum of the first time, a transmission delay of the adjustment instruction, a transmission delay of the reception instruction, and the temperature compensation correction value.
4. The method for calibrating a clock of an electric energy meter according to claim 2, wherein a calculation formula of the transmission delay of the calibration command is:
adjusting the transmission delay D of the instruction 1 The carrier rate of the carrier link/the instruction length of the tuning instruction;
the calculation formula of the transmission delay of the receiving instruction is as follows:
transmission delay D of received instruction 2 =carrier rate of the carrier link/instruction length of the adjustment instruction.
5. The method for calibrating a clock of an electric energy meter according to claim 1, wherein the determining of the temperature compensation correction value includes:
determining a temperature supplement coefficient corresponding to a target temperature period based on the target temperature periods of the first time and the second time;
determining the temperature compensation correction value based on the temperature compensation coefficient corresponding to the target temperature period and the previous temperature compensation coefficient; the previous temperature compensation coefficient is the temperature compensation coefficient of the target calibration electric energy meter during the last calibration; the target calibration electric energy meter is any one of the plurality of electric energy meters.
6. The clock adjustment method of an electric energy meter according to claim 5, wherein the determining the temperature compensation correction value based on the temperature compensation coefficient corresponding to the target temperature period and the previous temperature compensation coefficient includes:
and obtaining the temperature compensation correction value based on the difference value of the temperature compensation coefficient corresponding to the target temperature period and the temperature compensation coefficient of the previous time.
7. The clock adjustment method of an electric energy meter according to claim 5, wherein the determining the temperature compensation correction value based on the temperature compensation coefficient corresponding to the target temperature period and the previous temperature compensation coefficient includes:
determining a temperature compensation weight based on a difference value between a temperature period corresponding to the previous temperature compensation coefficient and the target temperature period;
and determining the temperature compensation correction value based on the difference value between the temperature compensation coefficient corresponding to the target temperature period and the previous temperature compensation coefficient and the temperature compensation weight.
8. The clock adjustment method of an electric energy meter according to claim 1, characterized in that the first time and the second time are times based on a standard clock of the adjustment device;
the calibrating the standard clock of the calibrating device comprises the following steps:
based on a GPS module arranged in the calibrating equipment, calibrating a standard clock of the calibrating equipment; or (b)
Based on the big dipper module that the interior of timing equipment set up, to the standard clock of timing equipment carries out the timing.
9. The clock calibrating device of the electric energy meter is characterized in that the clock calibrating system comprises calibrating equipment, a master station and a plurality of electric energy meters, a controller of a real-time clock is arranged in the electric energy meters and used for controlling time calculation and clock correction, the master station is used for sending a calibrating instruction to the calibrating equipment, and the calibrating equipment is communicated with the plurality of electric energy meters after receiving the calibrating instruction; the clock adjustment device comprises:
the initial adjusting module is used for adjusting the standard clock of the adjusting equipment;
the transmitting instruction module is used for transmitting a tuning instruction to the target tuning electric energy meter through a carrier link at a first moment and receiving a receiving instruction returned by the target tuning electric energy meter at a second moment;
the numerical value determining module is used for determining a time delay correction value to be adjusted based on the first time, the transmission time delay of the adjustment instruction, the second time, the transmission time delay of the receiving instruction and the temperature compensation correction value;
and the adjusting module is used for sending the time delay correction value to the target adjusting electric energy meter so as to correct the clock of the target adjusting electric energy meter.
10. A clock calibration system for an electric energy meter, comprising: the system comprises a calibrating device, a master station and a plurality of electric energy meters, wherein the calibrating device is connected with the plurality of electric energy meters and is communicated with the master station through a remote communication module;
the electric energy meter is internally provided with a controller of a real-time clock, the controller is used for controlling time calculation and clock correction, the master station is used for sending a correction command to the correction device, the correction device is communicated with the plurality of electric energy meters after receiving the correction command, and the electric energy meters are corrected based on the clock correction method of the electric energy meter according to any one of claims 1-8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410004306.8A CN117826565A (en) | 2024-01-02 | 2024-01-02 | Clock adjustment method, device and system for electric energy meter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410004306.8A CN117826565A (en) | 2024-01-02 | 2024-01-02 | Clock adjustment method, device and system for electric energy meter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117826565A true CN117826565A (en) | 2024-04-05 |
Family
ID=90507599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410004306.8A Pending CN117826565A (en) | 2024-01-02 | 2024-01-02 | Clock adjustment method, device and system for electric energy meter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117826565A (en) |
-
2024
- 2024-01-02 CN CN202410004306.8A patent/CN117826565A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7343255B2 (en) | Dual source real time clock synchronization system and method | |
CN107505832B (en) | A kind of high-precision time dissemination system | |
JPH05507162A (en) | Apparatus and method for providing accurate time and/or frequency | |
CN105824232B (en) | A kind of portable self calibration time service device and time service method | |
CN102722099A (en) | Clock correction system with error computing function and correction method | |
CN202353572U (en) | Institute of Electrical and Electronic Engineers (IEEE) 1588 time synchronization system for electronic type mutual inductor merging units | |
CN103368137A (en) | Multi-terminal self-repairing data synchronization differential protection method based on network self-repairing | |
CN103220774B (en) | A kind of method and system carrying out accurate time transmission by Cellular Networks | |
CN108738127B (en) | Radio remote unit, baseband processing unit, distributed base station and synchronization method thereof | |
US5469467A (en) | Method for synchronizing the reference frequency oscillator of a metallic-based microcell to a master oscillator | |
US11846534B2 (en) | Consumption meter, a calibration system and a method of calibration | |
CN113848543B (en) | Distance measurement positioning method and system for network node, electronic equipment and storage medium | |
CN105572470A (en) | Intelligent watt-hour meter and method of using BPC low frequency timing code for automatic timing | |
CN117826565A (en) | Clock adjustment method, device and system for electric energy meter | |
CN103765915A (en) | Method for remotely reading fluid meters, and meter and server associated with said method | |
CN201732514U (en) | Networked automatic timing high-precision digital permanent calendar with mutual-assistance sharing protocol | |
CN113747338B (en) | Information reporting method, device, equipment and readable storage medium | |
CN102457956A (en) | Acquisition method and system for reference clock signal | |
CN116961786A (en) | Device and method for self-calibrating time delay of transmission channel of long-wave transmitter | |
WO2022242349A1 (en) | Time signal compensation method, wireless time signal terminal, electronic device, and storage medium | |
CN103024778A (en) | Method for improving real-time clock precision on wireless communication terminal | |
CN113259037B (en) | Time synchronization method, medium, and apparatus based on sensor time synchronization system | |
CN202282036U (en) | Radio frequency identification (RFID) system capable of calibrating time | |
CN105118184B (en) | Intelligent gas meter with ladder valuation functions | |
CN112213541A (en) | Time keeping method applied to transient recording type fault indicator |
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 |