CN117405970A - Accurate metering method and device for electric energy meter and electric energy meter - Google Patents

Accurate metering method and device for electric energy meter and electric energy meter Download PDF

Info

Publication number
CN117405970A
CN117405970A CN202311724927.5A CN202311724927A CN117405970A CN 117405970 A CN117405970 A CN 117405970A CN 202311724927 A CN202311724927 A CN 202311724927A CN 117405970 A CN117405970 A CN 117405970A
Authority
CN
China
Prior art keywords
metering
energy meter
electric energy
register
electric quantity
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
Application number
CN202311724927.5A
Other languages
Chinese (zh)
Inventor
李伟
张权
刘海涛
李峥
李科
白明
李建华
刘狄
张辉
石伟超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shijiazhuang Kelin Electric Co Ltd
Original Assignee
Shijiazhuang Kelin Electric Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shijiazhuang Kelin Electric Co Ltd filed Critical Shijiazhuang Kelin Electric Co Ltd
Priority to CN202311724927.5A priority Critical patent/CN117405970A/en
Publication of CN117405970A publication Critical patent/CN117405970A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R22/00Arrangements for measuring time integral of electric power or current, e.g. electricity meters
    • G01R22/06Arrangements for measuring time integral of electric power or current, e.g. electricity meters by electronic methods
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R22/00Arrangements for measuring time integral of electric power or current, e.g. electricity meters
    • G01R22/06Arrangements for measuring time integral of electric power or current, e.g. electricity meters by electronic methods
    • G01R22/061Details of electronic electricity meters
    • G01R22/063Details of electronic electricity meters related to remote communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

The invention provides an accurate metering method and device of an electric energy meter and the electric energy meter, and relates to the technical field of electric power grids. The high-frequency pulse constant is amplified by N times and then sent to the metering unit, and the metering unit meters based on the amplified pulse constant, so that the unit electric quantity metered by the metering unit each time is reduced; the loss of the electric quantity when the load is powered down and the load current changes is reduced. On this basis, through setting up first register and second register in the controller, the accumulation electric quantity of first register storage increment register, the high-order electric quantity of second register storage electric energy meter measurement, so, avoided the electric quantity loss when load power failure and load current change, improved the measurement accuracy of electric energy meter.

Description

Accurate metering method and device for electric energy meter and electric energy meter
Technical Field
The invention relates to the technical field of power grids, in particular to an accurate metering method and device of an electric energy meter and the electric energy meter.
Background
The electric energy meter is used as the final device of the power system and is positioned at the boundary between the power consumer and the power company, the electricity consumption condition of the consumer equipment is measured, and the measurement accuracy is related to the benefits of the power company and the consumer.
The basic structure of the current electric energy meter is MCU+metering chip. In the metering process of the electric energy meter, the metering chip of the electric energy meter is calibrated according to specified voltage, current specification and pulse constant, and then electric energy metering is carried out according to calibrated parameters.
The electric energy increment register of the metering chip of the electric energy meter carries out energy accumulation according to the pulse constant (imp) written in during calibration, the value of the increment register is increased by 1, the metered electric energy is increased by one-half of the pulse constant, namely 1/imp, and a pulse signal is output outwards. The pulse signal is used for accuracy verification.
At present, the electric energy metering of the electric energy meter directly outputs the pulse signal, so that the minimum granularity of energy accumulation of the electric energy meter is one-half of a pulse constant, namely 1/imp. When the load metered by the electric energy meter is powered down, the electric quantity can lose one half of the pulse constant at most, namely (1/imp) kWh. In addition, when the load current direction changes, because the electric energy increment register in the electric energy meter measuring chip is accumulated according to the signed number, the load current direction changes, and the electric energy increment register reduces the electric quantity corresponding to the two pulse signals, namely the electric quantity can lose at most 2 times of the pulse constant half electric quantity. Whether the load is powered down or the load current changes, the metering mode of the current electric energy meter can possibly cause electric quantity loss, metering misalignment and influence the metering accuracy of the electric energy meter.
Disclosure of Invention
The embodiment of the invention provides an accurate metering method and device for an electric energy meter and the electric energy meter, which can reduce the loss electric quantity metered by the electric energy meter and improve the metering accuracy of the electric energy meter.
In a first aspect, an embodiment of the present invention provides an accurate metering method for an electric energy meter, which is applied to a controller of the electric energy meter, where the controller is provided with a first register and a second register, and the method includes: acquiring a high-frequency pulse constant after the electric energy meter is calibrated, and transmitting the amplified pulse constant after the high-frequency pulse constant is amplified by N times to a metering unit for metering the electric quantity; wherein N is an integer greater than 1; in the metering process, acquiring data of an increment register in a metering unit; the data of the increment register is the pulse number sent by the metering unit after the electric quantity metering is carried out based on the amplified pulse constant; based on the data of the increment register, accumulating and updating the data of the first register in the electric energy meter to obtain updated data of the first register; performing high-order residual operation on the data updated by the first register to obtain high-order electric quantity; storing the high-order electric quantity into a second register; monitoring meter reading instructions of meter reading equipment; and if the meter reading instruction is monitored, transmitting the high-bit electric quantity stored in the second register to meter reading equipment.
In one possible implementation, the electric energy meter further comprises a memory; the method further comprises the steps of: receiving a pulse signal sent by the metering unit after one-time metering, wherein the electric quantity and the amplified pulse constant of each metering of the metering unit are reciprocal; recording the number of pulse signals, and outputting metering pulses to a memory if the number of pulse signals reaches N; the electric quantity corresponding to the metering pulse and the high-frequency pulse constant are reciprocal; the metering pulse is used for instructing the memory to accumulate the electric energy.
In one possible implementation, the electric energy meter comprises a timer; accordingly, outputting a metering pulse to the memory, comprising: determining the total electric quantity of N pulse signals based on the number of the pulse signals and the electric quantity corresponding to each pulse signal; determining the duration of the metering pulse based on the total electric quantity of the N pulse signals; based on the timer, the metering pulse is sent with the duration of the metering pulse.
In one possible implementation, the method further includes: monitoring whether the electric energy meter is powered down; if the electric energy meter supplies power normally, the metering unit and the controller are kept to meter normally; if the electric energy meter is powered down, acquiring data of an increment register in the metering unit; accumulating the data of the first register based on the data of the increment register in the metering unit to obtain accumulated electric quantity; and storing the high-order electric quantity in the second register and the accumulated electric quantity in the first register into a memory.
In one possible implementation, the storing the high bit power in the second register and the accumulated power in the first register into the memory further includes: detecting a power-on recovery instruction of the electric energy meter; if the power-on recovery instruction is detected, the accumulated electric quantity is obtained from the memory, stored in the first register and cleared to the second register.
In one possible implementation, the method further includes: monitoring a load current identified by a metering unit of the electric energy meter; if the direction of the load current is changed, accumulating and updating the data of the first register based on the data of the increment register to obtain updated data of the first register; and resetting the increment register, and measuring the load current after the direction change.
In one possible implementation manner, before obtaining the high-frequency pulse constant after the adjustment of the electric energy meter, the method further includes: the electric energy meter is connected in parallel with the standard electric energy meter, and the same load is measured; the standard electric energy meter is an electric energy meter with a known high-frequency pulse constant; acquiring metering data obtained after the electric energy meter and the standard electric energy meter the same load; and determining the high-frequency pulse constant of the electric energy meter based on the metering data of the electric energy meter, the metering data of the standard electric energy meter and the high-frequency pulse constant of the standard electric energy meter.
In one possible implementation, the method further includes: acquiring a first metering electric quantity and a second metering electric quantity metered by an electric energy meter in each unit time period in a historical time period; the first metering electric quantity is calculated by the electric energy meter based on the data of the increment register, and the second metering electric quantity is calculated by the electric energy meter based on the pulse signal sent by the metering unit; calculating a difference between the first measured electric quantity and the second measured electric quantity, and determining the difference as a lost electric quantity; counting the number of unit time periods when the lost electric quantity is larger than an electric quantity threshold value; if the number of the unit time periods of which the lost electric quantity is larger than the electric quantity threshold value is larger than the preset number, determining that the electric energy meter has metering faults.
In a second aspect, an embodiment of the present invention provides an accurate metering device for an electric energy meter, which is applied to a controller of the electric energy meter, where the controller is provided with a first register and a second register, and the device includes: the communication module is used for acquiring the high-frequency pulse constant after the electric energy meter is calibrated, and transmitting the amplified pulse constant after the high-frequency pulse constant is amplified by N times to the metering unit for metering the electric quantity; wherein N is an integer greater than 1; the communication module is also used for acquiring the data of the increment register in the metering unit in the metering process; the data of the increment register is the pulse number sent by the metering unit after the electric quantity metering is carried out based on the amplified pulse constant; the processing module is used for accumulating and updating the data of the first register in the electric energy meter based on the data of the increment register to obtain the updated data of the first register; performing high-order residual operation on the data updated by the first register to obtain high-order electric quantity; storing the high-order electric quantity into a second register; the communication module is also used for monitoring meter reading instructions of meter reading equipment; and if the meter reading instruction is monitored, transmitting the high-bit electric quantity stored in the second register to meter reading equipment.
In one possible implementation, the electric energy meter further comprises a memory; the communication module is also used for receiving pulse signals sent by the metering unit after one-time metering, and the electric quantity and the amplified pulse constant of each metering of the metering unit are reciprocal; the processing module is also used for recording the number of pulse signals; the communication module is also used for outputting metering pulses to the memory if the number of the pulse signals reaches N; the electric quantity corresponding to the metering pulse and the high-frequency pulse constant are reciprocal; the metering pulse is used for instructing the memory to accumulate the electric energy.
In one possible implementation, the electric energy meter comprises a timer; correspondingly, the processing module is specifically configured to determine total electric quantity of the N pulse signals based on the number of pulse signals and electric quantity corresponding to each pulse signal; determining the duration of the metering pulse based on the total electric quantity of the N pulse signals; the communication module is specifically used for sending the metering pulse according to the time length of the metering pulse based on the timer.
In one possible implementation, the communication module is further configured to monitor whether the electric energy meter is powered down; the processing module is also used for keeping the metering unit and the controller to meter normally if the electric energy meter supplies power normally; if the electric energy meter is powered down, acquiring data of an increment register in the metering unit; accumulating the data of the first register based on the data of the increment register in the metering unit to obtain accumulated electric quantity; and storing the high-order electric quantity in the second register and the accumulated electric quantity in the first register into a memory.
In one possible implementation manner, the communication module is further used for detecting a power-on recovery instruction of the electric energy meter; and the processing module is also used for acquiring accumulated electric quantity from the memory if the power-on recovery instruction is detected, storing the accumulated electric quantity into the first register and resetting the second register.
In one possible implementation, the communication module is further configured to monitor a load current identified by the metering unit of the electric energy meter; the processing module is further used for accumulating and updating the data of the first register based on the data of the increment register if the direction of the load current is changed, so as to obtain the updated data of the first register; and resetting the increment register, and measuring the load current after the direction change.
In one possible implementation, the communication module is further configured to connect the electric energy meter in parallel with a standard electric energy meter, and meter the same load; the standard electric energy meter is an electric energy meter with a known high-frequency pulse constant; acquiring metering data obtained after the electric energy meter and the standard electric energy meter the same load; the processing module is also used for determining the high-frequency pulse constant of the electric energy meter based on the metering data of the electric energy meter, the metering data of the standard electric energy meter and the high-frequency pulse constant of the standard electric energy meter.
In one possible implementation manner, the communication module is further configured to obtain a first measured electric quantity and a second measured electric quantity measured by the electric energy meter in each unit time period in the historical time period; the first metering electric quantity is calculated by the electric energy meter based on the data of the increment register, and the second metering electric quantity is calculated by the electric energy meter based on the pulse signal sent by the metering unit; the processing module is also used for calculating the difference value between the first metering electric quantity and the second metering electric quantity and determining the difference value as the lost electric quantity; counting the number of unit time periods when the lost electric quantity is larger than an electric quantity threshold value; if the number of the unit time periods of which the lost electric quantity is larger than the electric quantity threshold value is larger than the preset number, determining that the electric energy meter has metering faults.
In a third aspect, an embodiment of the present invention provides an electric energy meter, including a controller and a metering unit; the controller comprises a memory storing a computer program and a processor for invoking and running the computer program stored in the memory to perform the steps of the method as described in the first aspect and any possible implementation of the first aspect.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to the first aspect and any one of the possible implementations of the first aspect.
The embodiment of the invention provides an accurate metering method and device of an electric energy meter and the electric energy meter, wherein the high-frequency pulse constant is amplified by N times and then sent to a metering unit, and the metering unit meters based on the amplified pulse constant, so that the unit electric quantity metered by the metering unit each time is reduced; the loss of the electric quantity when the load is powered down and the load current changes is reduced. On this basis, through setting up first register and second register in the controller, the accumulation electric quantity of first register storage increment register, the high-order electric quantity of second register storage electric energy meter measurement, so, avoided the electric quantity loss when load power failure and load current change, improved the measurement accuracy of electric energy meter.
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 described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a conventional electric energy meter;
Fig. 2 is a schematic structural diagram of an electric energy meter according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of an accurate metering method for an electric energy meter according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an accurate metering device of an electric energy meter according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a controller 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.
In the description of the present invention, "/" means "or" unless otherwise indicated, for example, A/B may mean A or B. "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. Further, "at least one", "a plurality" means two or more. The terms "first," "second," and the like do not limit the number and order of execution, and the terms "first," "second," and the like do not necessarily differ.
In the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion that may be readily understood.
Furthermore, references to the terms "comprising" and "having" and any variations thereof in the description of the present application are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules but may, alternatively, include other steps or modules not listed or inherent to such process, method, article, or apparatus.
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the following description will be made with reference to the accompanying drawings of the present invention by way of specific embodiments.
As shown in fig. 1, the electric energy meter includes an MCU and a metering chip. In the metering process of the electric energy meter, the metering chip of the electric energy meter is calibrated according to the specified voltage, current specification and pulse constant, then the MCU sends the calibrated calibration parameters to the metering chip, and the metering chip meters the electric energy according to the calibrated calibration parameters.
Wherein the calibration parameter may be a high frequency pulse constant. And the increment register of the metering chip performs electric quantity accumulation according to the high-frequency pulse constant. The metering chip performs one-time metering, the data value of the increment register is increased by 1, correspondingly, the metering electric quantity of the metering chip is increased by one-half of a high-frequency pulse constant, namely 1/imp, and a pulse signal is output outwards, namely a pulse output is sent. The pulse signal is used for accuracy verification.
When the load is powered down, the data value of the increment register is easy to lose, and the granularity of the lost electric quantity is (1/imp) kWh. When the load current direction changes, if the data value of the increment register is not processed, the power of (2/imp) kWh may be lost, and the granularity of the lost power is (2/imp) kWh. Therefore, the metering mode of the current electric energy meter has the technical problems that the electric quantity is easy to lose and the metering accuracy is not high.
In order to solve the technical problem, as shown in fig. 2, the embodiment of the invention provides an accurate metering system of an electric energy meter. The system includes a controller and a metering chip. The controller comprises a first register and a second register.
According to the electric energy meter accurate metering system provided by the invention, the high-frequency pulse constant is multiplied through the controller, the granularity of the calculated electric quantity is reduced, the metering precision is increased, in addition, the pulse output mode is changed, the pulse precision is improved, and the meter checking precision is further improved.
The active pulse output end and the reactive pulse output end of the metering chip are connected to a port of the controller with an interrupt triggering function, and when pulse input exists, the interrupt is triggered to be received; when the number of pulses is increased to a prescribed number, the pulses are output at an output port newly defined by the controller.
For example, when the high frequency pulse constant is amplified ten times, the pulse output port of the controller outputs one metering pulse when the number of pulses is added up to 10.
As shown in fig. 3, the embodiment of the invention provides an accurate metering method of an electric energy meter. The controller applied to the electric energy meter shown in fig. 2 is provided with a first register and a second register, and the accurate metering method comprises steps S101-S105.
S101, acquiring a high-frequency pulse constant after the electric energy meter is calibrated, and transmitting an amplified pulse constant obtained by amplifying the high-frequency pulse constant by N times to a metering unit for metering the electric quantity.
Wherein N is an integer greater than 1.
For example, first, after the electric energy meter is calibrated, when the pulse constant is calculated, the high-frequency pulse constant after the calibration is doubled, that is, the high-frequency pulse constant after the calibration is doubled on the basis of the high-frequency pulse constant, and the high-frequency pulse constant is doubled by amplifying the pulse constant. The electric energy meter measures with an amplified pulse constant.
Taking an active pulse constant as an example, for example, the external active pulse constant specified by the electric energy meter is 1000imp/kWh, and the calculation accuracy of the electric energy is one thousandth. After the high-frequency pulse constant is amplified, the active pulse constant of the metering chip is 10000imp/kWh, so that the metering precision of the electric energy meter is improved to ten times, and the precision is improved by ten times. Correspondingly, other metering parameters of the electric energy meter are also calculated according to 10000 imp/kWh. The overall metering accuracy of the electric energy meter is improved.
S102, in the metering process, acquiring data of an increment register in a metering unit.
In this embodiment of the present application, the data of the increment register is the number of pulses sent by the metering unit after the electric quantity is metered based on the amplified pulse constant.
It should be noted that, every time the metering chip measures, the data value in the increment register is increased by 1, and the metering electric quantity of the corresponding metering chip increases by one-half of the amplified pulse constant. The data of the increment register in the metering unit may represent the amount of power currently metered by the metering unit.
And S103, based on the data of the increment register, accumulating and updating the data of the first register in the electric energy meter to obtain updated data of the first register.
When the electric energy meter periodically processes the measured electric energy, firstly, the data of the increment register of the measuring chip is read through step S102, and then the data of the increment register is added to the first register.
In some embodiments, the number of bits of the first register and the second register may be the same, and may be different. Illustratively, the first register may be a 4-bit register and the second register may be a 2-bit register. The second register stores the high-order power of the first register, such as the power of the first two bits of the first register.
S104, performing high-order residual operation on the data updated by the first register to obtain high-order electric quantity; and storing the high power to the second register.
By way of example, the embodiment of the invention can perform the high-order remainder operation on the data of the first register to obtain the high-order electric quantity in the first register. For example, the data in the first register may be a remainder of 100, the quotient is stored as a high power in the second register, the remainder is stored in the first register, and the remainder is accumulated in the next power accumulation period.
S105, monitoring meter reading instructions of meter reading equipment; and if the meter reading instruction is monitored, transmitting the high-bit electric quantity stored in the second register to meter reading equipment.
In some embodiments, the meter reading device may be a concentrator or an upper computer within the bay.
And the electric energy meter receives the meter reading instruction, and sends the high-order electric quantity in the second register to meter reading equipment to complete the return of the metering data of the electric energy meter.
The embodiment of the invention provides an accurate metering method of an electric energy meter, which is characterized in that a high-frequency pulse constant is amplified by N times and then sent to a metering unit, and the metering unit meters based on the amplified pulse constant, so that the unit electric quantity metered by the metering unit each time is reduced; the loss of the electric quantity when the load is powered down and the load current changes is reduced. On this basis, through setting up first register and second register in the controller, the accumulation electric quantity of first register storage increment register, the high-order electric quantity of second register storage electric energy meter measurement, so, avoided the electric quantity loss when load power failure and load current change, improved the measurement accuracy of electric energy meter.
In addition, the embodiment of the invention does not need to increase hardware cost, effectively improves the electric energy metering accuracy, meets the requirements of different electric energy digits, has flexible configuration, can reduce the loss of an electric power company by precise metering, enables a user to more intuitively observe the power consumption condition of the user, and improves the user experience.
Optionally, the electric energy meter provided by the embodiment of the invention further comprises a memory, wherein the memory is used for storing metering data of the electric energy meter. Correspondingly, in the metering process of the electric energy meter, the metering unit can send pulse signals to the controller after one metering is completed, and the controller performs electric energy accumulation based on the pulse signals. For example, steps S201-S202.
S201, receiving pulse signals sent by the metering unit after one-time metering.
In some embodiments, the power and the amplified pulse constant of each metering by the metering unit are reciprocal.
S202, recording the number of pulse signals.
And S203, outputting metering pulses to the memory when the number of pulse signals reaches N.
In some embodiments, the amount of power corresponding to the metering pulse and the high frequency pulse constant are reciprocal.
In some embodiments, metering pulses are used to instruct the memory to perform power accumulation.
The electric energy meter provided by the embodiment of the invention further comprises a timer.
Accordingly, as one possible implementation, step S203 may be specifically implemented as steps S2031-S2033.
S2031, determining total electric quantity of N pulse signals based on the number of the pulse signals and electric quantity corresponding to each pulse signal;
s2032, determining the duration of the metering pulse based on the total electric quantity of the N pulse signals;
s2033, based on the timer, transmits the metering pulse with the duration of the metering pulse.
Therefore, the embodiment of the invention can not only measure the electric quantity through the increment register of the measuring chip, but also measure the electric quantity through the pulse signal sent by the measuring chip, thereby realizing double measurement of the electric quantity by the electric energy meter.
It should be noted that, the embodiment of the invention can also monitor whether the electric energy meter is powered down, and when the electric energy meter is powered down, the metering data of the electric energy meter is stored, so that the metering data is not lost.
The accurate metering method of the electric energy meter provided by the embodiment of the invention further comprises the steps S301-S305.
S301, monitoring whether the electric energy meter is powered down.
S302, if the electric energy meter supplies power normally, the metering unit and the controller are kept to meter normally.
And S303, if the electric energy meter is powered down, acquiring data of an increment register in the metering unit.
S304, accumulating the data of the first register based on the data of the increment register in the metering unit to obtain accumulated electric quantity.
S305, storing the high-order electric quantity in the second register and the accumulated electric quantity in the first register into a memory.
Therefore, the embodiment of the invention can save the metering data in time when the electric energy meter is powered down, avoid the loss of the metering data and improve the metering accuracy of the electric energy meter.
After the electric energy meter is electrified, the accurate metering method of the electric energy meter can also restore data, ensure normal metering of the electric energy meter and avoid metering data loss after power failure. Such as steps S306-S307.
S306, detecting a power-on recovery instruction of the electric energy meter.
S307, if the power-on recovery instruction is detected, the accumulated electric quantity is acquired from the memory, stored in the first register and cleared to the second register.
Therefore, when the electric energy meter is powered on and recovered, the embodiment of the invention can recover the metering data to the first register and the second register to continuously meter the electric quantity, avoid the loss of the electric quantity and improve the metering accuracy of the electric energy meter.
It should be noted that, the accurate metering method of the electric energy meter provided by the embodiment of the invention can also detect the current direction of the load, and when the direction of the load current changes, the data of the increment register is cleared in time, so that the accurate metering of the electric energy meter is ensured. For example, steps S401-S402.
S401, monitoring load current identified by a metering unit of the electric energy meter;
s402, if the direction of the load current is changed, accumulating and updating the data of the first register based on the data of the increment register to obtain updated data of the first register; and resetting the increment register, and measuring the load current after the direction change.
Therefore, the embodiment of the invention can monitor the direction change of the load current, empty the increment register in time, avoid electric quantity loss caused by the direction change of the load current, and improve the metering accuracy of the electric energy meter.
Optionally, in step S101, the embodiment of the present invention may further utilize a standard electric energy meter to calibrate the electric energy meter, so as to obtain a high-frequency pulse constant. For example, steps S501-S503.
S501, connecting the electric energy meter with a standard electric energy meter in parallel, and metering the same load.
In some embodiments, the standard electric energy meter is an electric energy meter of known high frequency pulse constant;
s502, acquiring metering data obtained after the electric energy meter and the standard electric energy meter the same load.
S503, determining the high-frequency pulse constant of the electric energy meter based on the metering data of the electric energy meter, the metering data of the standard electric energy meter and the high-frequency pulse constant of the standard electric energy meter.
Therefore, the embodiment of the invention can calibrate the electric energy meter through the standard electric energy meter, determine the high-frequency pulse constant and provide support for accurate measurement of the electric energy meter.
Optionally, the accurate metering method of the electric energy meter provided by the embodiment of the invention can further judge the working state of the electric energy meter based on the metering data of the electric energy meter, and determine whether the electric energy meter has metering faults or not. Such as steps S601-S604.
S601, acquiring first metering electric quantity and second metering electric quantity metered by the electric energy meter in each unit time period in a historical period.
In some embodiments, the first metered amount of power is calculated by the power meter based on the data of the increment register.
In some embodiments, the second metered amount of power is calculated by the electric energy meter based on a pulse signal emitted by the metering unit.
S602, calculating a difference value between the first metering electric quantity and the second metering electric quantity, and determining the difference value as a lost electric quantity.
S603, counting the number of unit time periods when the lost electric quantity is larger than an electric quantity threshold value.
S604, if the number of unit time periods of which the lost electric quantity is larger than the electric quantity threshold value is larger than the preset number, determining that the electric energy meter has metering faults.
Therefore, the embodiment of the invention can realize fault detection of the electric energy meter by the double metering mode of the increment register and the pulse signal, and improves the safety performance of the electric energy meter.
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. 4 shows a schematic structural diagram of an accurate metering device of an electric energy meter according to an embodiment of the present invention. The controller is applied to the electric energy meter and is provided with a first register and a second register. The apparatus 700 includes a communication module 701 and a processing module 702.
The communication module 701 is configured to obtain a high-frequency pulse constant after the electric energy meter is calibrated, and send an amplified pulse constant obtained by amplifying the high-frequency pulse constant by N times to the metering unit for metering electric quantity; wherein N is an integer greater than 1;
the communication module 701 is further configured to obtain data of an increment register in the metering unit during the metering process; the data of the increment register is the pulse number sent by the metering unit after the electric quantity metering is carried out based on the amplified pulse constant;
the processing module 702 is configured to perform accumulation update on data of a first register in the electric energy meter based on data of the increment register, to obtain updated data of the first register; performing high-order residual operation on the data updated by the first register to obtain high-order electric quantity; storing the high-order electric quantity into a second register;
the communication module 701 is further configured to monitor a meter reading instruction of the meter reading device; and if the meter reading instruction is monitored, transmitting the high-bit electric quantity stored in the second register to meter reading equipment.
In one possible implementation, the electric energy meter further comprises a memory; the communication module 701 is further configured to receive a pulse signal sent by the metering unit after one metering, where the electric quantity and the amplified pulse constant of each metering of the metering unit are reciprocal; the processing module 702 is further configured to record the number of pulse signals; the communication module 701 is further configured to output a metering pulse to the memory if the number of pulse signals reaches N; the electric quantity corresponding to the metering pulse and the high-frequency pulse constant are reciprocal; the metering pulse is used for instructing the memory to accumulate the electric energy.
In one possible implementation, the electric energy meter comprises a timer; correspondingly, the processing module 702 is specifically configured to determine a total electric quantity of the N pulse signals based on the number of pulse signals and an electric quantity corresponding to each pulse signal; determining the duration of the metering pulse based on the total electric quantity of the N pulse signals; the communication module 701 is specifically configured to send the metering pulse with a duration of the metering pulse based on the timer.
In one possible implementation, the communication module 701 is further configured to monitor whether the electric energy meter is powered down; the processing module 702 is further configured to keep the metering unit and the controller metering normally if the electric energy meter supplies power normally; if the electric energy meter is powered down, acquiring data of an increment register in the metering unit; accumulating the data of the first register based on the data of the increment register in the metering unit to obtain accumulated electric quantity; and storing the high-order electric quantity in the second register and the accumulated electric quantity in the first register into a memory.
In one possible implementation, the communication module 701 is further configured to detect a power-on recovery instruction of the electric energy meter; the processing module 702 is further configured to, if a power-on recovery instruction is detected, obtain an accumulated electric quantity from the memory, store the accumulated electric quantity in the first register, and clear the second register.
In one possible implementation, the communication module 701 is further configured to monitor a load current identified by a metering unit of the electric energy meter; the processing module 702 is further configured to, if the direction of the load current changes, perform accumulation update on the data of the first register based on the data of the increment register, to obtain updated data of the first register; and resetting the increment register, and measuring the load current after the direction change.
In one possible implementation, the communication module 701 is further configured to connect the electric energy meter in parallel with a standard electric energy meter, and meter the same load; the standard electric energy meter is an electric energy meter with a known high-frequency pulse constant; acquiring metering data obtained after the electric energy meter and the standard electric energy meter the same load; the processing module 702 is further configured to determine a high-frequency pulse constant of the electric energy meter based on the measurement data of the electric energy meter, the measurement data of the standard electric energy meter, and the high-frequency pulse constant of the standard electric energy meter.
In a possible implementation manner, the communication module 701 is further configured to obtain a first measured power and a second measured power measured by the electric energy meter in each unit period in the historical period; the first metering electric quantity is calculated by the electric energy meter based on the data of the increment register, and the second metering electric quantity is calculated by the electric energy meter based on the pulse signal sent by the metering unit; the processing module 702 is further configured to calculate a difference between the first measured power and the second measured power, and determine that the power is lost; counting the number of unit time periods when the lost electric quantity is larger than an electric quantity threshold value; if the number of the unit time periods of which the lost electric quantity is larger than the electric quantity threshold value is larger than the preset number, determining that the electric energy meter has metering faults.
Fig. 5 is a schematic structural diagram of a controller of an electric energy meter according to an embodiment of the present invention. As shown in fig. 5, the controller 800 of this embodiment includes: a processor 801, a memory 802, and a computer program 803 stored in the memory 802 and executable on the processor 801. The processor 801, when executing the computer program 803, implements the steps of the method embodiments described above, such as steps S101-S105 shown in fig. 3. Alternatively, the processor 801 may implement the functions of the modules/units in the above-described device embodiments when executing the computer program 803, for example, the functions of the communication module 701 and the processing module 702 shown in fig. 4.
Illustratively, the computer program 803 may be partitioned into one or more modules/units that are stored in the memory 802 and executed by the processor 801 to accomplish the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program 803 in the controller 800. For example, the computer program 803 may be divided into a communication module 701 and a processing module 702 as shown in fig. 4.
The processor 801 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 802 may be an internal storage unit of the controller 800, such as a hard disk or a memory of the controller 800. The memory 802 may also be an external storage device of the controller 800, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the controller 800. Further, the memory 802 may also include both internal storage units and external storage devices of the controller 800. The memory 802 is used to store the computer program and other programs and data required by the terminal. The memory 802 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
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.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may 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.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal and method may be implemented in other manners. For example, the apparatus/terminal embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. 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 U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier signal, a telecommunications 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. An accurate metering method for an electric energy meter, characterized by being applied to a controller of the electric energy meter, the controller being provided with a first register and a second register, the method comprising:
acquiring a high-frequency pulse constant after the electric energy meter is calibrated, and transmitting the amplified pulse constant after the high-frequency pulse constant is amplified by N times to a metering unit for metering the electric quantity; wherein N is an integer greater than 1;
in the metering process, acquiring data of an increment register in the metering unit; the data of the increment register is the pulse times sent by the metering unit after the electric quantity metering is carried out based on the amplified pulse constant;
Based on the data of the increment register, accumulating and updating the data of a first register in the electric energy meter to obtain updated data of the first register;
performing high-order residual operation on the data updated by the first register to obtain high-order electric quantity; storing the high-order electric quantity into a second register;
monitoring meter reading instructions of meter reading equipment; and if the meter reading instruction is monitored, transmitting the high-bit electric quantity stored in the second register to the meter reading equipment.
2. The method of accurate metering of an electrical energy meter according to claim 1, wherein the electrical energy meter further comprises a memory; the method further comprises the steps of:
receiving a pulse signal sent by the metering unit after one metering, wherein the electric quantity metered by the metering unit each time and the amplified pulse constant are reciprocal;
recording the number of the pulse signals, and outputting metering pulses to a memory if the number of the pulse signals reaches N; the electric quantity corresponding to the metering pulse and the high-frequency pulse constant are reciprocal; the metering pulse is used for indicating the memory to accumulate the electric energy.
3. The method for accurate metering of an electric energy meter according to claim 2, characterized in that said electric energy meter comprises a timer;
Accordingly, the outputting of the metering pulse to the memory includes:
determining the total electric quantity of N pulse signals based on the number of the pulse signals and the electric quantity corresponding to each pulse signal;
determining the duration of the metering pulse based on the total electric quantity of the N pulse signals;
based on the timer, the metering pulse is sent with the duration of the metering pulse.
4. The method for accurate metering of an electrical energy meter of claim 1 further comprising:
monitoring whether the electric energy meter is powered down;
if the electric energy meter supplies power normally, the metering unit and the controller are kept to meter normally;
if the electric energy meter is powered down, acquiring data of an increment register in the metering unit;
accumulating the data of the first register based on the data of the increment register in the metering unit to obtain accumulated electric quantity;
and storing the high-order electric quantity in the second register and the accumulated electric quantity in the first register into a memory.
5. The method of claim 4, wherein the storing the high power in the second register and the accumulated power in the first register into the memory further comprises:
Detecting a power-on recovery instruction of the electric energy meter;
and if the power-on recovery instruction is detected, acquiring the accumulated electric quantity from a memory, storing the accumulated electric quantity into the first register, and resetting the second register.
6. The method for accurate metering of an electrical energy meter of claim 1 further comprising:
monitoring a load current identified by a metering unit of the electric energy meter;
if the direction of the load current is changed, accumulating and updating the data of the first register based on the data of the increment register to obtain updated data of the first register; and resetting the increment register, and measuring the load current after the direction change.
7. The method for precisely measuring the electric energy meter according to claim 1, wherein before the step of obtaining the high-frequency pulse constant after the adjustment of the electric energy meter, the method further comprises:
the electric energy meter is connected with a standard electric energy meter in parallel, and the same load is measured; the standard electric energy meter is an electric energy meter with a known high-frequency pulse constant;
acquiring metering data obtained after the electric energy meter and the standard electric energy meter the same load;
and determining the high-frequency pulse constant of the electric energy meter based on the metering data of the electric energy meter, the metering data of the standard electric energy meter and the high-frequency pulse constant of the standard electric energy meter.
8. The method for accurate metering of an electric energy meter according to any of claims 1 to 7, characterized in that it further comprises:
acquiring a first metering electric quantity and a second metering electric quantity metered by an electric energy meter in each unit time period in a historical time period; the first metering electric quantity is calculated by the electric energy meter based on the data of the increment register, and the second metering electric quantity is calculated by the electric energy meter based on the pulse signal sent by the metering unit;
calculating the difference between the first metering electric quantity and the second metering electric quantity, and determining the difference as a lost electric quantity;
counting the number of unit time periods when the lost electric quantity is larger than an electric quantity threshold value;
if the number of the unit time periods of which the lost electric quantity is larger than the electric quantity threshold value is larger than the preset number, determining that the electric energy meter has metering faults.
9. An accurate metering device for an electric energy meter, characterized by a controller applied to the electric energy meter, the controller being provided with a first register and a second register, the device comprising:
the communication module is used for acquiring the high-frequency pulse constant after the electric energy meter is calibrated, and transmitting the amplified pulse constant after the high-frequency pulse constant is amplified by N times to the metering unit for metering the electric quantity; wherein N is an integer greater than 1;
The communication module is also used for acquiring the data of the increment register in the metering unit in the metering process; the data of the increment register is the pulse times sent by the metering unit after the electric quantity metering is carried out based on the amplified pulse constant;
the processing module is used for accumulating and updating the data of the first register in the electric energy meter based on the data of the increment register to obtain the updated data of the first register; performing high-order residual operation on the data updated by the first register to obtain high-order electric quantity; storing the high-order electric quantity into a second register;
the communication module is also used for monitoring meter reading instructions of meter reading equipment; and if the meter reading instruction is monitored, transmitting the high-bit electric quantity stored in the second register to the meter reading equipment.
10. An electric energy meter is characterized by comprising a controller and a metering unit; the controller comprising a memory storing a computer program and a processor for performing the steps of the method according to any one of claims 1 to 8 when the computer program stored in the memory is invoked and run.
CN202311724927.5A 2023-12-15 2023-12-15 Accurate metering method and device for electric energy meter and electric energy meter Pending CN117405970A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311724927.5A CN117405970A (en) 2023-12-15 2023-12-15 Accurate metering method and device for electric energy meter and electric energy meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311724927.5A CN117405970A (en) 2023-12-15 2023-12-15 Accurate metering method and device for electric energy meter and electric energy meter

Publications (1)

Publication Number Publication Date
CN117405970A true CN117405970A (en) 2024-01-16

Family

ID=89498407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311724927.5A Pending CN117405970A (en) 2023-12-15 2023-12-15 Accurate metering method and device for electric energy meter and electric energy meter

Country Status (1)

Country Link
CN (1) CN117405970A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103675752A (en) * 2012-11-30 2014-03-26 国网电力科学研究院 Electric energy meter rapid detection device and method thereof
CN103926553A (en) * 2014-04-24 2014-07-16 国家电网公司 Self-service single-phase electric energy meter error calibration device and method
CN112748271A (en) * 2020-12-01 2021-05-04 宁波三星医疗电气股份有限公司 Electric energy meter and electric quantity metering method thereof
CN112782470A (en) * 2020-12-14 2021-05-11 浙江恒业电子有限公司 Method and system for improving metering precision of three-phase cost control intelligent electric meter based on MCU
CN114047380A (en) * 2022-01-12 2022-02-15 华立科技股份有限公司 Electric energy metering method and device and electric energy meter
CN116243234A (en) * 2023-05-11 2023-06-09 石家庄科林电气股份有限公司 Power failure detection method and system of multimode assembled electric energy meter and electric energy meter

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103675752A (en) * 2012-11-30 2014-03-26 国网电力科学研究院 Electric energy meter rapid detection device and method thereof
CN103926553A (en) * 2014-04-24 2014-07-16 国家电网公司 Self-service single-phase electric energy meter error calibration device and method
CN112748271A (en) * 2020-12-01 2021-05-04 宁波三星医疗电气股份有限公司 Electric energy meter and electric quantity metering method thereof
CN112782470A (en) * 2020-12-14 2021-05-11 浙江恒业电子有限公司 Method and system for improving metering precision of three-phase cost control intelligent electric meter based on MCU
CN114047380A (en) * 2022-01-12 2022-02-15 华立科技股份有限公司 Electric energy metering method and device and electric energy meter
CN116243234A (en) * 2023-05-11 2023-06-09 石家庄科林电气股份有限公司 Power failure detection method and system of multimode assembled electric energy meter and electric energy meter

Similar Documents

Publication Publication Date Title
US6218809B1 (en) Method for monitoring operating parameters of a rechargeable power supply
JP2714091B2 (en) Field instrument
CN102411090A (en) Self-checking electronic energy meter and self-checking method thereof
CN103293356B (en) Voltage monitoring device and voltage monitoring method
CN116243234B (en) Power failure detection method and system of multimode assembled electric energy meter and electric energy meter
US6137264A (en) Battery pack
CN102282769B (en) Delta-sigma ad converter circuit and battery pack
KR102167912B1 (en) Metering Data Collection Unit with Battery Energy Calculator and Ultrasonic Meter and Remote Data Collectioin System Having the Same
EP2857805B1 (en) Field device
CN111044120A (en) Battery-operated fill level measuring device with residual life determining device
CN117405970A (en) Accurate metering method and device for electric energy meter and electric energy meter
CN112557913A (en) Current detection method and system for battery pack and storage medium
CN115060966B (en) Electric quantity metering method and device and electric energy meter
KR101323356B1 (en) Dc digital watt-hour meter and remote meter reading system using the same
CN115623464B (en) Fault processing method and device for Bluetooth module of electric energy meter and electric energy meter
CN202421328U (en) Self-testing electronic electricity meter
CN111007709A (en) Method, device and system for detecting daily timing error of electric energy meter
JP7075984B2 (en) Smart battery device
KR100894228B1 (en) Electronic type watt hour meter using NAND flash memory and method for saving wave data thereof
US11442087B2 (en) Adaptive power measurement accumulator with a changing sampling frequency
JP7091156B2 (en) Pulse generator
KR100566981B1 (en) A method for displaying usable time of mobile phone
JP2008304335A (en) Measurement control system and measuring quantity receiver
US20100286935A1 (en) Methods for Extrapolating an Energy Measurement
CN216053011U (en) Detection circuit, MCU automation equipment and BMS automation equipment

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