CN114879127A - Metering self-calibration method, device and equipment for RTC of electric energy meter and storage medium - Google Patents
Metering self-calibration method, device and equipment for RTC of electric energy meter and storage medium Download PDFInfo
- Publication number
- CN114879127A CN114879127A CN202210700890.1A CN202210700890A CN114879127A CN 114879127 A CN114879127 A CN 114879127A CN 202210700890 A CN202210700890 A CN 202210700890A CN 114879127 A CN114879127 A CN 114879127A
- Authority
- CN
- China
- Prior art keywords
- electric energy
- calibration
- calibrated
- meter
- energy meter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000004364 calculation method Methods 0.000 claims abstract description 27
- 238000004590 computer program Methods 0.000 claims description 10
- 230000001360 synchronised effect Effects 0.000 claims description 4
- 230000000694 effects Effects 0.000 abstract description 2
- 238000012937 correction Methods 0.000 description 6
- 238000005259 measurement Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R35/00—Testing or calibrating of apparatus covered by the other groups of this subclass
- G01R35/04—Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Testing Or Calibration Of Command Recording Devices (AREA)
Abstract
On one hand, the serial number of a calibration point and the output parameters of a platform body are simultaneously sent to all electric energy meters to be calibrated in a broadcasting mode, and the meter calibration process is completed by an automatic meter calibration program in the meters, so that each electric energy meter to be calibrated can be calibrated simultaneously, the time consumed by meter position switching is saved, and the meter calibration efficiency is improved. On the other hand, the calculation of the metering error and the compensation value of the register corresponding to the metering chip is automatically completed by the ammeter to be calibrated, so that the functional requirement of the meter calibration table body is reduced, and the stability and the reliability of the meter calibration table body are improved. In addition, the application also provides a metering self-calibration device, equipment and a readable storage medium based on the RTC of the electric energy meter, and the effect is as above.
Description
Technical Field
The application relates to the field of intelligent electric meters, in particular to a metering self-calibration method, device and equipment based on an RTC (real time clock) of an electric energy meter and a storage medium
Background
With the rapid development of national economy, electricity has become the most important energy source in the country. For civil electric power, along with the abundance of the living standard of people's materials, the use demand of electric power is larger and larger, the use demand of electric energy meters is increased, and the production efficiency of electric meter enterprises is improved accordingly.
At present, the electric energy meter needs to calibrate the electric energy metering error before leaving the factory, and the mainstream meter calibrating method is to connect a pulse signal line of a meter calibrating table body with an electric energy meter pulse port, detect the output pulse interval of the electric energy meter by the meter calibrating table body, calculate a power error according to the detected pulse interval, calculate a compensation value after reading the error by a meter calibrating system, and send the compensation value to a corresponding electric meter to finish error calibration.
The meter calibration method has 3 problems: 1. after the compensation value is calculated, the meter calibration system needs to send the compensation value to the corresponding electric energy meter, then the next meter position is switched to carry out calculation and calibration, and simultaneous calibration of a plurality of meter positions cannot be realized, so that the meter calibration efficiency is low. 2. The meter calibrating table body needs to have a function of detecting each epitope electric energy pulse, and an error value is calculated, so that the meter calibrating table body is complex in function and high in requirement. 3. The power pulse signal line needs to be connected for error detection, and if the connection is wrong or the contact is poor, the problem is checked, so that the efficiency is reduced.
Disclosure of Invention
The application provides a metering self-calibration method, a metering self-calibration device, metering self-calibration equipment and a storage medium for an RTC (real time clock) of an electric energy meter, and solves the problems that in the prior art, the traditional meter calibration method is low in meter calibration efficiency and high in meter calibration platform body requirement.
In order to solve the technical problem, the application provides a metering self-calibration method based on an RTC of an electric energy meter, which comprises the following steps:
sending a calibration starting command in a broadcasting mode, and controlling the electric energy meter to be calibrated to enter a calibration mode;
controlling a counter of the RTC and a timer of the synchronous MCU of the electric energy meter to be calibrated, and calculating an increment value of the counter in the interruption of adjacent seconds of the RTC to obtain the time used by a single count value of the counter;
reading the table body output parameters and sending the table body output parameters and the serial number of the current calibration point to the electric energy meter to be calibrated in a broadcasting mode;
controlling the electric energy meter to be calibrated to measure the pulse interval of the electric energy pulse, starting a counter after the electric energy pulse is detected, stopping counting until the next electric energy pulse is detected, and calculating the pulse interval time according to the added value and the time used by a single counting value of the counter;
controlling the electric energy meter to be calibrated to calculate the current power value according to a meter constant and the pulse interval time;
controlling the electric energy meter to be calibrated to calculate a metering error according to the current power value and the table body output parameter;
controlling the electric energy meter to be calibrated to judge whether the metering error belongs to a preset range;
if not, controlling the electric energy meter to be calibrated to calculate a compensation value corresponding to a register according to the metering error and a metering chip register and write the compensation value into the metering chip, reading the table body output parameters and sending the table body output parameters and the serial number of the current calibration point to the electric energy meter to be calibrated in a broadcasting mode;
if so, the current calibration point is determined to be complete.
As a preferred embodiment, after completing the current point calibration, the method further includes:
judging whether the current calibration point and all the calibration points are calibrated or not;
if not, returning the table body output parameters according to the current calibration point parameters and sending the table body output parameters and the current calibration point serial number to the electric energy meter to be calibrated in a broadcasting mode;
if so, broadcasting and sending a calibration completion command to enable the electric energy meter to be calibrated to exit the calibration mode, and completing calibration.
As a preferred embodiment, after the broadcasting and sending a calibration completion command to enable the electric energy meter to be calibrated to exit from the calibration mode and complete calibration, the method further includes:
polling the current calibration states of all the electric energy meters to be calibrated, and judging whether all the electric energy meters to be calibrated are in a calibration completion state;
if so, returning to the step of judging whether the current calibration point and all calibration points are calibrated or not;
and if not, returning to the step of reading the table body output parameters and sending the table body output parameters and the serial number of the current calibration point to the electric energy meter to be calibrated in a broadcasting mode.
In a preferred embodiment, the stage output parameters include active power, voltage, current, and power factor.
In order to solve the above technical problem, the present application further provides a metering self-calibration apparatus based on an RTC of an electric energy meter, corresponding to the metering self-calibration method based on the RTC of the electric energy meter, including:
the sending module is used for sending a calibration starting command in a broadcasting mode and controlling the electric energy meter to be calibrated to enter a calibration mode;
the first control calculation module is used for controlling the RTC of the electric energy meter to be calibrated to synchronize with the counter of the timer, and calculating the added value of the counter in the interruption of adjacent seconds of the RTC so as to obtain the time used by a single count value of the counter;
the reading module is used for reading the table body output parameters and sending the table body output parameters and the serial number of the current calibration point to the electric energy meter to be calibrated in a broadcasting mode;
the second control calculation module is used for controlling the electric energy meter to be calibrated to measure the pulse interval of the electric energy pulse, starting a counter after the electric energy pulse is detected, stopping counting until the next electric energy pulse is detected, and calculating the pulse interval time according to the increment value and the time used by the single counting value of the counter;
the third control calculation module is used for controlling the electric energy meter to be calibrated to calculate the current power value according to the meter constant and the pulse interval time;
the fourth control calculation module is used for controlling the electric energy meter to be calibrated to calculate a metering error according to the current power value and the table body output parameter;
the control judgment module is used for controlling the electric energy meter to be calibrated to judge whether the metering error belongs to a preset range or not;
if not, triggering a fifth control calculation module and starting the reading module, and if so, triggering a determination module;
the fifth control calculation module is used for controlling the electric energy meter to be calibrated to calculate a compensation value corresponding to the register according to the metering error and the metering chip register and write the compensation value into the metering chip;
the determination module is used for determining that the current calibration point is finished.
In order to solve the above technical problem, the present application further provides a metering self-calibration device based on an RTC of an electric energy meter, corresponding to the metering self-calibration method based on the RTC of the electric energy meter, including:
a memory for storing a computer program;
a processor for executing the computer program to implement the steps of any of the above-mentioned methods for meter self-calibration based on the power meter RTC.
To solve the above technical problem, the present application further provides a computer-readable storage medium, having a computer program stored thereon, where the computer program is executed by a processor to implement any one of the steps of the method for metering self-calibration based on a power meter RTC.
According to the technical scheme, on one hand, the metering self-calibration method based on the RTC of the electric energy meter sends the serial number of the calibration point and the output parameters of the platform body to all the electric energy meters to be calibrated simultaneously in a broadcasting mode, and the meter calibration process is completed by an automatic meter calibration program in the meter, so that each electric energy meter to be calibrated can be calibrated simultaneously, the time consumed by meter position switching is saved, and the meter calibration efficiency is improved. On the other hand, the calculation of the metering error and the compensation value of the register corresponding to the metering chip is automatically completed by the ammeter to be calibrated, so that the functional requirement of the meter calibration table body is reduced, and the stability and the reliability of the meter calibration table body are improved. In addition, the application also provides a metering self-calibration device, equipment and a readable storage medium based on the RTC of the electric energy meter, and the effect is as above.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments are briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without making any inventive changes.
Fig. 1 is a flowchart of a metering self-calibration method based on an RTC of an electric energy meter according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for metering self-calibration based on an RTC of a power meter according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a metering self-calibration apparatus based on an RTC of an electric energy meter according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a metering self-calibration device based on an RTC of an electric energy meter according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the accompanying drawings.
The core of the application is to provide a metering self-calibration method, a metering self-calibration device, metering self-calibration equipment and a storage medium for an RTC of an electric energy meter, and the problems that in the prior art, a traditional meter calibration method is low in meter calibration efficiency and high in meter calibration platform body requirement can be solved.
Fig. 1 is a flowchart of a metering self-calibration method based on an RTC of a power meter according to an embodiment of the present invention, and fig. 2 is a flowchart of another metering self-calibration method based on an RTC of a power meter according to an embodiment of the present invention, as shown in fig. 1 to fig. 2, the method includes the following steps:
s101: and sending a calibration starting command in a broadcasting mode, and controlling the electric energy meter to be calibrated to enter a calibration mode.
When calibration is started, the meter calibration system sends a calibration starting command to all the electric energy meters to be calibrated on the bus through the RS485 bus in a broadcasting mode, so that all the electric energy meters to be calibrated enter a calibration mode.
S102: and controlling a counter of the RTC and the timer of the synchronous MCU of the electric energy meter to be calibrated, and calculating an increment value of the counter in the interruption of adjacent seconds of the RTC to obtain the time taken by a single count value of the counter.
Synchronizing RTC of MCU with counter of timer, enabling counter to start counting from 0 when RTC second signal is detected, stopping counting when next RTC second signal is detected, and during this period, if counter overflows, then overflow frequency you n 1 Adding one, and recording the value of the counter as CNT after stopping counting 1 The value of the period register is PRD, and the reference time T of the unit count value is calculated by using the following formula 1 。
Z1=CNT 1 +(PRD×n 1 )
S103: reading the output parameters of the table body and sending the output parameters of the table body and the serial number of the current calibration point to the electric energy meter to be calibrated in a broadcasting mode;
specifically, table body output parameters (active power P, voltage U, current I and power factor PF) are read, and the table body output parameters and the serial numbers of the calibration points are sent to each electric energy meter to be calibrated in a broadcasting mode.
S104: and controlling the electric energy meter to be calibrated to measure the pulse interval of the electric energy pulse, starting a counter after the electric energy pulse is detected, stopping counting until the next electric energy pulse is detected, and calculating the pulse interval time according to the increment value and the time used by a single counting value of the counter.
Measuring pulse interval of electric energy pulse, enabling a counter of a timer after detecting an electric energy pulse signal, stopping counting after detecting the next electric energy pulse signal, and if the counter overflows during the period, the overflow times n 2 Adding one, recording the value of the counter as CNT after stopping counting 2 The value of the period register is denoted PRD and the pulse interval time T is calculated using the following formula 2 。
Z 2 =CNT 2 +(PRD×n 2 )
T 2 =Z 2 ×T 1 。
S105: and controlling the electric energy meter to be calibrated to calculate the current power value according to the meter constant and the pulse interval time.
The power value P is calculated according to the following formula 1 In the formula, EC is the constant of the electric meter, T 2 Is the S4 pulse interval time.
S106: and controlling the electric energy meter to be calibrated to calculate the metering error according to the current power value and the table body output parameter.
S107: controlling the electric energy meter to be calibrated to judge whether the metering error belongs to a preset range;
if not, the step S108 is carried out, and if yes, the step S109 is carried out;
s108: controlling the electric energy meter to be calibrated to calculate a compensation value corresponding to the register according to the metering error and the metering chip register, writing the compensation value into the metering chip, and returning to S103;
s109: the current calibration point is determined to be complete.
According to S105 power value P 1 And the table body output power P calculates the measurement error using the following equation. If the metering error is in the required range, the register value corresponding to the current calibration point is saved and the calibration completion state is positioned, so that the calibration of the current calibration point is completed.
If the measurement error is not within the preset range, the measurement chip ATT7122 is used for interpretation, the step calculates and writes the compensation value of the corresponding calibration register of the measurement chip according to the calibration point S103 and the measurement error S108, and the step shifts to execute S103 after calculating and writing the compensation value of the register value, and the calculation method of the register compensation value is as follows. In the embodiment of the present application, the calibration points at least include two calibration points, i.e., a first calibration point Un/Ib/1.0L and a second calibration point Un/Ib/0.5L, and the gain correction and the phase correction are performed respectively, or other calibration points may be added according to the requirement of accuracy to perform small signal offset correction and reactive calibration.
When the calibration point is the first calibration point Un/Ib/1.0L, the compensation value written into the GP1 power gain register is calculated according to the following formula, Pgain represents the power gain, and is used for storing the calibration table parameters in the metering chip.
GP1=Pgain×2 15 。
When the calibration point is a second calibration point Un/Ib/0.5L, a compensation value of the PHS phase correction register is calculated and written according to the following formula, and theta represents a phase error angle.
PHS=θ×2 15 。
As a preferred embodiment, after determining that the current point calibration is completed, the method further includes:
s110: judging whether the current calibration point and all the calibration points are calibrated or not;
if not, returning to S103 according to the current calibration point parameters;
if yes, go to step S111;
s111: and broadcasting a calibration completion command to enable the electric energy meter to be calibrated to exit the calibration mode, so as to complete calibration.
Specifically, a calibration point decision is made, in this embodiment, two calibration points, i.e., a first calibration point Un/Ib/1.0L and a second calibration point Un/Ib/0.5L, are used for explanation, after the calibration of the calibration points of the electric energy meter to be calibrated is completed, the meter calibration system starts to execute from the first calibration point, sequentially performs calibration of subsequent calibration points in sequence, and determines whether all calibration points are completed, if the calibration of all calibration points is not completed, the execution is shifted to S103, and if the calibration is completed, the execution is shifted to S111.
As a preferred embodiment, after S111, the method further includes:
s112: polling the current calibration states of all the electric energy meters to be calibrated, and judging whether all the electric energy meters to be calibrated are in a calibration completion state;
if yes, go to step S110; if not, the process proceeds to step S103.
When the meter calibrating system executes S101 in this embodiment, the communication mode between the meter calibrating system and the electric energy meter to be calibrated may use bluetooth or infrared for data communication for the electric energy meter to be calibrated with bluetooth or infrared function, in addition to the RS485 bus. In addition, the number of the calibration points is not limited, and the calibration points can be self-defined according to the precision requirement to carry out small-signal and reactive power correction. The method synchronizes a single chip counter with an RTC clock, reduces errors caused by crystal oscillator precision, enables the accuracy of the counter to meet the requirement of metering errors, then measures the interval time of electric energy pulses by using the counter, calculates the electric energy metering errors and the corresponding register correction value, and finishes the calibration of the electric meter.
Fig. 3 is a schematic structural diagram of a metering self-calibration apparatus based on an RTC of an electric energy meter according to an embodiment of the present invention, including: the device comprises a sending module 201, a first control calculation module 202, a reading module 203, a second control calculation module 204, a third control calculation module 205, a fourth control calculation module 206, a control judgment module 207, a fifth control calculation module 208 and a determination module 209.
The sending module 201 is configured to send a calibration start command in a broadcast manner, and control the electric energy meter to be calibrated to enter a calibration mode;
the first control calculation module 202 is used for controlling the RTC of the synchronous MCU of the electric energy meter to be calibrated and a counter of the timer, and calculating an added value of the counter in the interruption of adjacent seconds of the RTC to obtain the time used by a single count value of the counter;
the reading module 203 is used for reading the table body output parameters and sending the table body output parameters and the serial number of the current calibration point to the electric energy meter to be calibrated in a broadcasting mode;
the second control calculation module 204 is used for controlling the electric energy meter to be calibrated to measure the pulse interval of the electric energy pulse, starting the counter after the electric energy pulse is detected, stopping counting until the next electric energy pulse is detected, and calculating the pulse interval time according to the added value and the time used by a single counting value of the counter;
a third control calculation module 205, configured to control the electric energy meter to be calibrated to calculate a current power value according to the meter constant and the pulse interval time;
the fourth control calculation module 206 is configured to control the electric energy meter to be calibrated to calculate a metering error according to the current power value and the table body output parameter;
the control judgment module 207 is used for controlling the electric energy meter to be calibrated to judge whether the metering error belongs to a preset range;
if so, triggering the fifth control calculation module 208, if not, triggering the determination module 209;
the fifth control calculation module 208 is configured to control the electric energy meter to be calibrated to calculate a compensation value corresponding to the register according to the metering error and the metering chip register, write the compensation value into the metering chip, and calibrate the current calibration point;
a determination module 209 for determining that the current calibration point is complete.
Fig. 4 is a schematic structural diagram of a metering self-calibration device based on an electric energy meter RTC according to an embodiment of the present invention, including a memory 301 and a processor 302, where the memory 301 is used for storing a computer program; a processor 302 for executing a computer program to implement the steps of the method for meter self-calibration based on the RTC of the power meter according to any of the above embodiments.
A computer readable storage medium having stored thereon a computer program for execution by a processor to perform the steps of the method for meter self-calibration based on a power meter RTC as provided in any one of the above embodiments.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice in the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope of the disclosure being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The above-described embodiments of the present application do not limit the scope of the present application.
Claims (7)
1. A metering self-calibration method based on an RTC (real time clock) of a power meter is characterized by comprising the following steps:
sending a calibration starting command in a broadcasting mode, and controlling the electric energy meter to be calibrated to enter a calibration mode;
controlling a counter of the RTC and a timer of the synchronous MCU of the electric energy meter to be calibrated, and calculating an increment value of the counter in the interruption of adjacent seconds of the RTC to obtain the time used by a single count value of the counter;
reading the table body output parameters and sending the table body output parameters and the serial number of the current calibration point to the electric energy meter to be calibrated in a broadcasting mode;
controlling the electric energy meter to be calibrated to measure the pulse interval of the electric energy pulse, starting a counter after the electric energy pulse is detected, stopping counting until the next electric energy pulse is detected, and calculating the pulse interval time according to the added value and the time used by a single counting value of the counter;
controlling the electric energy meter to be calibrated to calculate the current power value according to a meter constant and the pulse interval time;
controlling the electric energy meter to be calibrated to calculate a metering error according to the current power value and the table body output parameter;
controlling the electric energy meter to be calibrated to judge whether the metering error belongs to a preset range;
if not, controlling the electric energy meter to be calibrated to calculate a compensation value corresponding to a register according to the metering error and a metering chip register and write the compensation value into the metering chip, reading the table body output parameters and sending the table body output parameters and the serial number of the current calibration point to the electric energy meter to be calibrated in a broadcasting mode;
if so, the current calibration point is determined to be complete.
2. The method for self-calibration of a meter based on a power meter RTC according to claim 1, further comprising, after completing the current point calibration:
judging whether the current calibration point and all the calibration points are calibrated or not;
if not, returning the table body output parameters according to the current calibration point parameters and sending the table body output parameters and the current calibration point serial number to the electric energy meter to be calibrated in a broadcasting mode;
if so, broadcasting and sending a calibration completion command to enable the electric energy meter to be calibrated to exit the calibration mode, and completing calibration.
3. The method for self-calibration of a power meter RTC-based metering of claim 2, wherein after the broadcasting sends a calibration completion command to make the power meter to be calibrated exit from the calibration mode and complete the calibration, the method further comprises:
polling the current calibration states of all the electric energy meters to be calibrated, and judging whether all the electric energy meters to be calibrated are in a calibration completion state;
if yes, returning to the step of judging whether the current calibration point and all calibration points finish calibration;
and if not, returning to the step of reading the table body output parameters and sending the table body output parameters and the serial number of the current calibration point to the electric energy meter to be calibrated in a broadcasting mode.
4. The method for the self-calibration of the metering of the RTC based on the electric energy meter as claimed in claim 1, wherein the table output parameters comprise active power, voltage, current and power factor.
5. A metering self-calibration device based on a RTC (real time clock) of a power meter is characterized by comprising:
the sending module is used for sending a calibration starting command in a broadcasting mode and controlling the electric energy meter to be calibrated to enter a calibration mode;
the first control calculation module is used for controlling the RTC of the electric energy meter to be calibrated to synchronize with the counter of the timer, and calculating the added value of the counter in the interruption of adjacent seconds of the RTC so as to obtain the time used by a single count value of the counter;
the reading module is used for reading the table body output parameters and sending the table body output parameters and the serial number of the current calibration point to the electric energy meter to be calibrated in a broadcasting mode;
the second control calculation module is used for controlling the electric energy meter to be calibrated to measure the pulse interval of the electric energy pulse, starting a counter after the electric energy pulse is detected, stopping counting until the next electric energy pulse is detected, and calculating the pulse interval time according to the increment value and the time used by the single counting value of the counter;
the third control calculation module is used for controlling the electric energy meter to be calibrated to calculate the current power value according to the meter constant and the pulse interval time;
the fourth control calculation module is used for controlling the electric energy meter to be calibrated to calculate a metering error according to the current power value and the table body output parameter;
the control judgment module is used for controlling the electric energy meter to be calibrated to judge whether the metering error belongs to a preset range or not;
if not, triggering a fifth control calculation module and starting the reading module, and if so, triggering a determination module;
the fifth control calculation module is used for controlling the electric energy meter to be calibrated to calculate a compensation value corresponding to the register according to the metering error and the metering chip register and write the compensation value into the metering chip;
the determination module is used for determining that the current calibration point is finished.
6. A metering self-calibration device based on a power meter RTC, characterized by comprising:
a memory for storing a computer program;
a processor for executing said computer program to implement the steps of the method for meter self-calibration based on an electric energy meter, RTC, according to any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that it has stored thereon a computer program which is executable by a processor for implementing the steps of the method for meter self-calibration based on a power meter RTC according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210700890.1A CN114879127B (en) | 2022-06-20 | 2022-06-20 | Metering self-calibration method, device, equipment and storage medium of RTC (real time clock) of electric energy meter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210700890.1A CN114879127B (en) | 2022-06-20 | 2022-06-20 | Metering self-calibration method, device, equipment and storage medium of RTC (real time clock) of electric energy meter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114879127A true CN114879127A (en) | 2022-08-09 |
CN114879127B CN114879127B (en) | 2024-06-25 |
Family
ID=82681138
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210700890.1A Active CN114879127B (en) | 2022-06-20 | 2022-06-20 | Metering self-calibration method, device, equipment and storage medium of RTC (real time clock) of electric energy meter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114879127B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117907924A (en) * | 2024-01-24 | 2024-04-19 | 国网山西省电力公司阳泉供电公司 | Wide area metering device with self-calibration function and measurement method thereof |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1369067A (en) * | 1999-06-18 | 2002-09-11 | 艾利森电话股份有限公司 | Method and apparatus for real time clock frequency error correction |
CN101799526A (en) * | 2009-02-06 | 2010-08-11 | 杭州中科微电子有限公司 | Method for calibrating high-precision RTC circuit in GPS receiver and module thereof |
US20100295623A1 (en) * | 2009-05-22 | 2010-11-25 | Sirf Technology, Inc. | Systems and methods for calibrating real time clock |
CN202256438U (en) * | 2011-08-02 | 2012-05-30 | 珠海中慧微电子有限公司 | Hardware real time clock (RTC) error compensation system of intelligent electric energy meter |
JP2012103073A (en) * | 2010-11-09 | 2012-05-31 | Yokogawa Electric Corp | Electric energy measurement device and calibration method of watt-hour meter using the same |
CN102590784A (en) * | 2012-03-14 | 2012-07-18 | 沈阳时尚实业有限公司 | Single-phase intelligent energy meter distributed correction method |
CN109738849A (en) * | 2019-03-08 | 2019-05-10 | 威胜集团有限公司 | The general quick correction method of single-phase electric energy meter |
CN113346881A (en) * | 2021-05-27 | 2021-09-03 | 珠海东之尼电子科技有限公司 | Digital clock calibration method, wireless remote controller and storage medium |
-
2022
- 2022-06-20 CN CN202210700890.1A patent/CN114879127B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1369067A (en) * | 1999-06-18 | 2002-09-11 | 艾利森电话股份有限公司 | Method and apparatus for real time clock frequency error correction |
CN101799526A (en) * | 2009-02-06 | 2010-08-11 | 杭州中科微电子有限公司 | Method for calibrating high-precision RTC circuit in GPS receiver and module thereof |
US20100295623A1 (en) * | 2009-05-22 | 2010-11-25 | Sirf Technology, Inc. | Systems and methods for calibrating real time clock |
JP2012103073A (en) * | 2010-11-09 | 2012-05-31 | Yokogawa Electric Corp | Electric energy measurement device and calibration method of watt-hour meter using the same |
CN202256438U (en) * | 2011-08-02 | 2012-05-30 | 珠海中慧微电子有限公司 | Hardware real time clock (RTC) error compensation system of intelligent electric energy meter |
CN102590784A (en) * | 2012-03-14 | 2012-07-18 | 沈阳时尚实业有限公司 | Single-phase intelligent energy meter distributed correction method |
CN109738849A (en) * | 2019-03-08 | 2019-05-10 | 威胜集团有限公司 | The general quick correction method of single-phase electric energy meter |
CN113346881A (en) * | 2021-05-27 | 2021-09-03 | 珠海东之尼电子科技有限公司 | Digital clock calibration method, wireless remote controller and storage medium |
Non-Patent Citations (2)
Title |
---|
张应斌 等: "单板机控制电度表校验装置", 吉林大学学报(信息科学版), no. 01, 30 March 1986 (1986-03-30), pages 95 - 102 * |
邱召霞 等: "电子式多功能电能表的校验及应用", 《供用电》, vol. 23, no. 06, 17 December 2006 (2006-12-17), pages 62 - 64 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117907924A (en) * | 2024-01-24 | 2024-04-19 | 国网山西省电力公司阳泉供电公司 | Wide area metering device with self-calibration function and measurement method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN114879127B (en) | 2024-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102590784B (en) | Single-phase intelligent energy meter distributed correction method | |
CN105388445B (en) | A kind of auto-adjustment method of single-phase electric energy meter | |
CN100575965C (en) | A kind of method of measuring frequency of single-chip | |
CN101799526B (en) | Method for calibrating high-precision RTC circuit in GPS receiver and module thereof | |
WO2021258657A1 (en) | Method and apparatus for acquiring state of health of battery, and storage medium | |
WO2019140956A1 (en) | Electricity quantity metering accuracy detection method, device and computer storage medium | |
CN113064114B (en) | High-precision quick meter calibration method for multi-core electric energy meter | |
CN110515822A (en) | Interrupt response time test method, device, equipment and storage medium | |
CN114879127B (en) | Metering self-calibration method, device, equipment and storage medium of RTC (real time clock) of electric energy meter | |
CN101995816A (en) | Automatic clock calibration method and automatic clock calibration device | |
CN103869096B (en) | Ultrasonic anemoscope range broadening method | |
CN111090034B (en) | PCBA capacitance test system and method | |
CN101252357A (en) | Method and system for correcting parameter | |
CN201247292Y (en) | Portable time synchronization tester | |
CN101136627B (en) | Method for automatically setting high-stability constant temperature crystal oscillator parameter | |
CN114499501A (en) | Frequency source dynamic control method, control device and system | |
CN111638750A (en) | Writer and RTC correcting method | |
CN109100931B (en) | Method for accurately correcting user ASF calculation by using differential data | |
CN110333387A (en) | A kind of electric quantity metering method of electric energy meter | |
CN201091067Y (en) | Parameter correcting system | |
CN113934257B (en) | System time calculation method, device, equipment and storage medium | |
CN110687773A (en) | Method, device and system for measuring time service precision of time unification system | |
CN105589328A (en) | Time synchronization test method and apparatus, and time synchronization testing precision determination method and apparatus | |
CN114280910B (en) | Test method and system capable of reading time of power meter with high precision | |
CN213876355U (en) | External time synchronization device of electric energy collector |
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 |