CN115728642A - Method and device for determining percentage of electric quantity of battery, electric energy meter and storage medium - Google Patents

Method and device for determining percentage of electric quantity of battery, electric energy meter and storage medium Download PDF

Info

Publication number
CN115728642A
CN115728642A CN202211418983.1A CN202211418983A CN115728642A CN 115728642 A CN115728642 A CN 115728642A CN 202211418983 A CN202211418983 A CN 202211418983A CN 115728642 A CN115728642 A CN 115728642A
Authority
CN
China
Prior art keywords
battery
energy meter
electric energy
electric quantity
preset
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
CN202211418983.1A
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.)
Ningbo Sanxing Medical and Electric Co Ltd
Original Assignee
Ningbo Sanxing Medical and 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 Ningbo Sanxing Medical and Electric Co Ltd filed Critical Ningbo Sanxing Medical and Electric Co Ltd
Priority to CN202211418983.1A priority Critical patent/CN115728642A/en
Publication of CN115728642A publication Critical patent/CN115728642A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Secondary Cells (AREA)

Abstract

The embodiment of the invention provides a method and a device for determining the percentage of electric quantity of a battery, an electric energy meter and a storage medium, which relate to the technical field of electric energy meters, wherein the method is applied to the electric energy meter and comprises the following steps: and acquiring the running time of the battery of the electric energy meter, wherein the running time comprises the first commercial power supply running time and the battery power supply running time. And determining the theoretical operation time of the battery of the electric energy meter according to the first commercial power supply operation time and the battery power supply operation time. And determining a target metering interval of the electric energy meter battery from an electric quantity metering interval according to the theoretical operation duration, wherein the electric quantity metering interval is the stage of the service life of the electric energy meter battery. And calculating the electric quantity percentage of the battery of the electric energy meter based on an electric quantity calculation formula corresponding to the target metering interval. The method can improve the accuracy of the electric quantity percentage calculation of the electric energy meter battery.

Description

Method and device for determining battery power percentage, electric energy meter and storage medium
Technical Field
The invention relates to the technical field of electric energy meters, in particular to a method and a device for determining the percentage of electric quantity of a battery, an electric energy meter and a storage medium.
Background
The lithium battery has the advantages of high specific energy, low carbon, environmental protection, strong environmental adaptation, long service life (more than 10 years) and the like, so the lithium battery is widely used as a standby battery in the electric energy meter.
The electric energy meter has strict requirements on the accuracy of a clock, the wrong time can cause the problems of wrong charge rate switching, time error of frozen electric quantity transfer and the like, if the electric energy meter can accurately know the electric quantity of the battery, the battery can be well protected, the harm caused by over discharge of the battery can be prevented, and meanwhile, a user can accurately know the residual electric quantity so as to estimate the time of the battery of the electric energy meter and replace the battery in time.
The existing method for estimating the electric quantity of the battery of the electric energy meter generally adopts a dynamic voltage test method, namely, the terminal voltage of the battery is monitored, and then the residual electric quantity of the battery is displayed according to the voltage change. However, since the change of the battery charge and the voltage is not a regular linear relationship, the accuracy of the battery charge measured in this way is not high.
Disclosure of Invention
The present invention provides a method, an apparatus, an electric energy meter and a storage medium for determining percentage of charge of a battery, which can solve at least some of the above technical problems.
Embodiments of the invention may be implemented as follows:
in a first aspect, an embodiment of the present invention provides a method for determining a battery power percentage, which is applied to an electric energy meter, and the method includes:
acquiring the running time of a battery of the electric energy meter, wherein the running time comprises first mains supply running time and battery supply running time;
determining the theoretical operation time of the battery of the electric energy meter according to the first commercial power supply operation time and the battery power supply operation time;
determining a target metering interval of the electric energy meter battery from an electric quantity metering interval according to the theoretical operation duration, wherein the electric quantity metering interval is a stage of the service life of the electric energy meter battery;
and calculating the electric quantity percentage of the battery of the electric energy meter based on an electric quantity calculation formula corresponding to the target metering interval.
Optionally, the determining the theoretical operating time of the electric energy meter battery according to the first commercial power supply operating time and the battery power supply operating time includes:
converting the battery power supply operation time into a second commercial power supply operation time based on a preset conversion rule;
and determining the theoretical operation time according to the first commercial power supply operation time and the second commercial power supply operation time.
Optionally, the determining, according to the theoretical operating duration, a target metering interval of the electric energy meter battery from the electric energy metering interval includes:
if the theoretical operation time length is less than or equal to a first preset time length, determining the first electric quantity metering interval as the target metering interval;
if the theoretical operation time length is longer than the first preset time length and is shorter than or equal to a second preset time length, determining the second electric quantity metering interval as the target metering interval;
and if the theoretical operation time length is longer than the second preset time length and is less than or equal to a third preset time length, determining that the third electric quantity metering interval is the target metering interval.
Optionally, after the determining that the first electric quantity metering interval is the target metering interval, the method further includes:
monitoring the voltage of the electric energy meter battery;
and if the voltage of the battery of the electric energy meter is detected to be lower than the first preset voltage and lasts for a fourth preset time, determining that the target metering interval is the third electric quantity metering interval.
Optionally, the calculating, based on the electric quantity calculation formula corresponding to the target metering interval, the electric quantity percentage of the electric energy meter battery includes:
if the target metering interval is determined to be the first electric quantity metering interval or the second electric quantity metering interval, calculating the electric quantity percentage according to the preset total operation time length of the electric energy meter battery and the theoretical operation time length on the basis of a first electric quantity calculation formula;
the first electric quantity calculation formula is as follows:
Q=(T general (1) -T Theory of the invention )/T General assembly ×100%
Wherein Q is the percentage of electricity, T General assembly For the preset total operating time, T Theory of the invention The theoretical operating time is the theoretical operating time.
Optionally, the calculating, based on the electric quantity calculation formula corresponding to the target metering interval, an electric quantity percentage of the battery of the electric energy meter further includes:
if the target metering interval is determined to be the third electric quantity metering interval, acquiring the current voltage of the electric energy meter battery;
calculating the electric quantity percentage according to a first preset voltage, a second preset voltage, the current voltage, the second preset time and a preset total operation time of the electric energy meter battery on the basis of a second electric quantity calculation formula, wherein the first preset voltage is a preset highest voltage threshold value of the electric energy meter battery, and the second preset voltage is a preset lowest voltage threshold value of the electric energy meter battery;
the second electric quantity calculation formula is as follows:
Q=[1-(V 1 -V now that )/(V 1 -V 2 )]×(T General assembly -T 2 )/T General assembly
Wherein Q is the percentage of electricity, T General (1) For the preset total operating time, T 2 For the second preset duration, V 1 Is the first predetermined voltage, V 2 For the second predetermined voltage, V Now that Is the present voltage.
Optionally, the method further comprises:
monitoring a voltage at the electric energy meter battery;
if the voltage at the battery of the electric energy meter is detected to be lower than a third preset voltage and lasts for a fifth preset time period under the condition of mains supply, and after the fifth preset time period, the voltage at the battery of the electric energy meter is detected to be higher than a fourth preset voltage and lasts for a sixth preset time period, the running time period of the battery of the electric energy meter is initialized.
In a second aspect, an embodiment of the present invention provides a battery power percentage determination apparatus, which is applied to an electric energy meter, where the battery power percentage determination apparatus includes:
the running time acquiring unit is used for acquiring the running time of the battery of the electric energy meter, and the running time comprises a first commercial power supply running time and a battery power supply running time;
the theoretical operation duration determining unit is used for determining the theoretical operation duration of the electric energy meter battery according to the first mains supply power supply operation duration and the battery power supply operation duration;
the target metering interval determining unit is used for determining a target metering interval of the electric energy meter battery from electric quantity metering intervals according to the theoretical running time length, wherein the electric quantity metering interval is the stage of the service life of the electric energy meter battery;
and the electric quantity percentage calculation unit is used for calculating the electric quantity percentage of the electric energy meter battery based on an electric quantity calculation formula corresponding to the target metering interval.
In a third aspect, an embodiment of the present invention provides an electric energy meter, where the electric energy meter is capable of implementing any one of the steps of the method when operating.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium includes a computer program, and the computer program controls a server where the computer-readable storage medium is located to implement the steps of any one of the methods described above when the computer program runs.
The beneficial effects of the embodiment of the invention include, for example:
the theoretical operation time length of the battery of the electric energy meter is determined by obtaining the operation time length of the battery of the electric energy meter, the target metering interval is determined according to the theoretical operation time length, and the electric quantity percentage of the battery of the electric energy meter is calculated by an electric quantity calculation formula corresponding to the target metering interval, so that the electric quantity display of the battery of the electric energy meter is more accurate.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a typical discharge curve diagram of a lithium battery provided in an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a method for determining battery power percentage according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an electric quantity measuring interval according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electric energy meter according to an embodiment of the present invention;
fig. 5 is a diagram illustrating an architecture of a device for determining percentage of battery charge according to an embodiment of the present invention.
Icon: 300-battery charge percentage determination means; 301-running duration obtaining unit; 302-theoretical run-time determination unit; 303-target metering interval determination unit; 304-percentage of charge calculation unit.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Furthermore, the appearances of the terms "first," "second," and the like, if any, are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
It should be noted that the features of the embodiments of the present invention may be combined with each other without conflict.
Fig. 1 shows a typical discharge curve of a lithium battery at 20 c. As can be seen, the discharge of the lithium battery is divided into three stages, which are:
in the first stage, the voltage of the battery is rapidly reduced in the initial stage, and the larger the discharge current is, the faster the voltage is reduced; in the second stage, the voltage of the battery enters a stage of slow change, the stage is called as a platform area of the battery, the smaller the discharge current is, the longer the duration time of the platform area is, the higher the platform voltage is, and the slower the voltage drop is; in the third stage, when the battery capacity is close to the end of discharge, the battery voltage starts to drop sharply until reaching the discharge cut-off voltage.
Therefore, if the battery is discharged in the third stage according to the conventional battery level detection method, it is likely that the battery is dead but the remaining battery level is still detected.
Based on the above situation, embodiments of the present specification provide a method and an apparatus for determining battery power percentage, an electric energy meter, and a storage medium, which can effectively alleviate the above technical problems.
The embodiment of the invention provides a method for determining the percentage of electric quantity of a battery, which is applied to an electric energy meter and comprises the following steps as shown in figure 2:
step S110: acquiring the running time of a battery of the electric energy meter, wherein the running time comprises a first commercial power supply running time and a battery power supply running time;
step S120: determining the theoretical operation time of the battery of the electric energy meter according to the first commercial power supply operation time and the battery power supply operation time;
step S130: determining a target metering interval of the electric energy meter battery from an electric quantity metering interval according to the theoretical operation duration, wherein the electric quantity metering interval is a stage of the service life of the electric energy meter battery;
step S140: and calculating the electric quantity percentage of the battery of the electric energy meter based on an electric quantity calculation formula corresponding to the target metering interval.
In step S110, an operation duration of the battery of the electric energy meter is obtained, where the operation duration includes a first mains supply operation duration and a battery supply operation duration.
When the electric energy meter runs, the battery of the electric energy meter (namely a standby battery) has two discharge forms, wherein one discharge form is the discharge form of the battery of the electric energy meter when the electric energy meter is supplied by commercial power and the service life of the battery of the electric energy meter is consumed; the other type is a discharging form when the battery of the electric energy meter supplies power to the electric energy meter when the commercial power is not supplied, such as power failure, maintenance and the like.
When the electric quantity percentage of the battery of the electric energy meter is obtained, the operation time of the battery of the electric energy meter can be obtained firstly, and the operation time comprises the first commercial power supply operation time and the battery power supply operation time. The first mains supply operation time length represents the operation time length of a battery of the electric energy meter under the condition that the electric energy meter is powered by mains supply, and the battery power supply operation time length represents the operation time length of the electric energy meter when the electric energy meter is powered by the battery of the electric energy meter.
And step S120 is executed, and the theoretical operation time of the electric energy meter battery is determined according to the first mains supply power supply operation time and the battery power supply operation time.
The theoretical operation duration can be the service life designed by a developer and converted from the actual operation duration of the battery, and the operation duration can be under the condition of no interference of other factors.
Under the condition of mains supply, the running state of the battery of the electric energy meter can be approximately considered as the running duration under the condition without interference of other factors, and under the condition of battery supply, the running duration needs to be converted into the running duration under the condition without interference of other factors through the functional relation between the theoretical life and the actual life. And adding the operation time under the two conditions to obtain the theoretical operation time of the battery.
Optionally, the determining the theoretical operating time of the battery of the electric energy meter according to the first commercial power supply operating time and the battery power supply operating time includes:
and converting the battery power supply operation time into a second commercial power supply operation time based on a preset conversion rule.
And determining the theoretical operation time according to the first commercial power supply operation time and the second commercial power supply operation time.
The predetermined conversion rule may be a function of the theoretical life and the actual life, for example, one in which the theoretical life of the battery is 15 years and the actual life (life under load) is 1200mAH 1000/40uA/24/365 ≈ 3.42 years. Then the scaled scaling factor can be calculated to be 15/3.42 ≈ 4. The battery operates for 1 day with battery power equivalent to 4 days with mains power.
For example, if the first mains supply operation time of one electric energy meter battery is 30 days, and the battery power supply operation time is 20 days, the battery power supply operation time is converted into the second mains supply operation time according to the proportionality coefficient of 4, and is 80 days, and the theoretical operation time is 80+30=110 days.
And after the theoretical operation time length is obtained, executing step S130, and determining a target metering interval of the electric energy meter battery from an electric quantity metering interval according to the theoretical operation time length, wherein the electric quantity metering interval is a stage of the service life of the electric energy meter battery.
The electric quantity metering interval can be a time interval preset by a developer according to each stage of the service life of the battery, and different electric quantity calculation modes are set for each electric quantity metering interval according to the discharge characteristic of the battery.
After the theoretical operation time length is obtained, the electric quantity metering interval in which the current state of the battery is located can be determined according to the theoretical operation time length, and the electric quantity metering interval is determined as a target metering interval. For example, there are four electricity metering intervals A, B, C and D, which respectively represent the theoretical operation time of the battery for 0-100 days, 101-200 days, 201-300 days and 301-350 days. And converting to obtain the theoretical operation time of the battery of 85 days, and determining the target metering interval as an electric quantity metering interval A.
Optionally, the determining, according to the theoretical operating duration, a target metering interval of the electric energy meter battery from the electric energy metering interval includes:
and if the theoretical operation time length is less than or equal to a first preset time length, determining the first electric quantity metering interval as the target metering interval.
And if the theoretical operation time length is longer than the first preset time length and is less than or equal to a second preset time length, determining that the second electric quantity metering interval is the target metering interval.
And if the theoretical operation time length is longer than the second preset time length and is shorter than or equal to a third preset time length, determining that the third electric quantity metering interval is the target metering interval.
As shown in fig. 3, the life of the battery is divided into a first electricity metering interval, a second electricity metering interval and a third electricity metering interval according to the relationship between the voltage of the battery and the time. Wherein, the first electric quantity metering interval is an interval in which the theoretical operation duration is less than or equal to a first preset duration, namely a diagram [0, T1]; the second electric quantity metering interval is an interval in which the theoretical operation time length is longer than the first preset time length and is less than or equal to a second preset time length, namely a graph [ T1, T2]; the third electric quantity metering interval is an interval with the theoretical operation time length being greater than the second preset time length and less than or equal to a third preset time length, namely a diagram [ T2, T3]. The battery voltage drops sharply after T3, and therefore, T3 indicates that the battery life has been exhausted.
Optionally, after the determining that the first air-fuel metering interval is the target metering interval, the method further includes:
and monitoring the voltage of the electric energy meter battery. And if the voltage of the battery of the electric energy meter is detected to be lower than the first preset voltage and lasts for a fourth preset time, determining that the target metering interval is the third electric quantity metering interval.
The first electric quantity metering interval can be set as a stage when the electric energy meter is transported and stored, and after the target interval is determined to be the first electric quantity metering interval, the voltage of the battery of the electric energy meter is generally not lower than a certain limit value (a first preset voltage), and even if the voltage is occasionally lower than the limit value, the voltage does not last for a long time.
Therefore, the voltage of the battery of the electric energy meter in the first electric quantity metering interval is lower than the first preset voltage and lasts for the fourth preset time as the judgment basis for judging whether the battery is a new battery or not, if the voltage of the battery of the electric energy meter is detected to be lower than the first preset voltage and lasts for the fourth preset time during the first electric quantity metering interval, the battery is considered to be an old battery, the target metering interval is determined to be the third electric quantity metering interval, and the electric quantity percentage of the battery is calculated according to the rule corresponding to the third electric quantity metering interval.
For example, the first preset voltage is 3.5V, and the fourth preset time period is 10s. And after the first electric quantity metering interval is determined to be the target metering interval, if the voltage of the battery is detected to be lower than 3.5V and lasts for 10s or more, re-determining the target metering interval of the battery to be the third electric quantity metering interval.
And step S140 is executed, and the electric quantity percentage of the battery of the electric energy meter is calculated based on the electric quantity calculation formula corresponding to the target metering interval.
After the target metering interval is determined, the electric quantity percentage of the battery of the electric energy meter can be calculated according to electric quantity calculation formulas corresponding to different electric quantity metering intervals, and the different electric quantity calculation formulas can be calculation formulas which are summarized by developers according to the prediction modeling of the service life of the battery by the aid of a battery discharge curve.
Optionally, the calculating, based on the electric quantity calculation formula corresponding to the target metering interval, the electric quantity percentage of the electric energy meter battery includes:
and if the target metering interval is determined to be the first electric quantity metering interval or the second electric quantity metering interval, calculating the electric quantity percentage according to the preset total operation time length of the electric energy meter battery and the theoretical operation time length on the basis of a first electric quantity calculation formula.
The first electric quantity calculation formula is as follows:
Q=(T general assembly -T Theory of the invention )/T General (1) ×100%
Wherein Q is the percentage of electricity, T General (1) For the preset total running time, T Theory of the invention The theoretical operating time is the theoretical operating time.
Taking fig. 3 as an example, when the battery is in the first electricity metering interval or the second electricity metering interval, the voltage of the battery is substantially unchanged, and the electricity calculation formulas thereof may both adopt the first electricity calculation formula, that is:
Q=(T general assembly -T Theory of the invention )/T General assembly ×100%
For example, if the service life (i.e., the preset total operation time) of the battery is 15 years, and the theoretical operation time of the battery obtained by conversion is 365 days, the percentage of charge of the battery is 93%.
As an optional embodiment, in order to protect benefits of a bureau, the percentage of the electric quantity of the battery is only displayed on the display interface of the electric energy meter to be 100% in the first electric quantity metering interval, and the percentage of the electric quantity calculated by the first electric quantity calculation formula is displayed in the second electric quantity metering interval.
Optionally, the calculating, based on the electric quantity calculation formula corresponding to the target metering interval, the electric quantity percentage of the electric energy meter battery further includes:
and if the target metering interval is determined to be the third electric quantity metering interval, acquiring the current voltage of the electric energy meter battery.
Calculating the electric quantity percentage according to a first preset voltage, a second preset voltage, the current voltage, the second preset time and a preset total running time of the electric energy meter battery on the basis of a second electric quantity calculation formula, wherein the first preset voltage is a preset highest voltage threshold value of the electric energy meter battery, and the second preset voltage is a preset lowest voltage threshold value of the electric energy meter battery;
the second electric quantity calculation formula is as follows:
Q=[1-(V 1 -V now that )/(V 1 -V 2 )]×(T General (1) -T 2 )/T General (1)
Wherein Q is the percentage of electricity, T General assembly For the preset total operating time, T 2 For the second preset duration, V 1 Is the first predetermined voltage, V 2 For the second predetermined voltage, V Now that Is the present voltage.
Still taking fig. 3 as an example, when the theoretical operation time of the battery is in the third electric quantity metering interval, the voltage of the battery decreases linearly with time, so that the electric quantity percentage of the battery needs to be calculated by using the second electric quantity calculation formula.
For example, if T General assembly =15 years, T 2 =10 years, V 1 =3.58V,V 2 =2.8V,V Now that If 3V, then according to Q = [1- (V) 1 -V Now that )/(V 1 -V 2 )]×(T General assembly -T 2 )/T General (1) The percentage of charge of the resulting cell was 8.5%.
Optionally, the method further comprises:
monitoring a voltage at the electric energy meter battery. If the voltage at the battery of the electric energy meter is detected to be lower than a third preset voltage for a fifth preset time period and after the fifth preset time period, the voltage at the battery of the electric energy meter is detected to be higher than a fourth preset voltage for a sixth preset time period, and the running time of the battery of the electric energy meter is initialized.
In the running process of the electric energy meter battery, except the condition that an old battery is installed, a scene that the electric energy meter battery is replaced also exists.
Therefore, the voltage at the battery of the electric energy meter can be monitored in real time, and if the voltage at the position of the battery of the electric energy meter is detected to be lower than a certain preset voltage value (third preset voltage) for a period of time (fifth preset time) under the condition that the electric energy meter is powered by mains supply, and then the voltage at the position of the battery of the electric energy meter is detected to be higher than the certain preset voltage value (fourth preset voltage) for a period of time (sixth preset time), the electric energy meter is judged to be replaced by a new battery. The running time, capacity, etc. data of the electric energy meter battery can be reset and the capacity percentage determination of the new battery can be restarted.
For example, the fifth preset time period is 60s, the sixth preset time period is 40s, the third preset voltage is 3.3V, and the fourth preset voltage is 3.6V, when the electric energy meter is powered by the mains supply, if it is detected that the voltage of the position where the battery of the electric energy meter is located is continuously 60s lower than 3.3V, and then it is detected that the voltage of the position where the battery of the electric energy meter is located is continuously 40s higher than 3.3V, the data of the running time period, the electric quantity and the like of the battery of the electric energy meter are reset, and the determination of the electric quantity percentage of a new battery is restarted.
It should be noted that the first preset time, the second preset time, the third preset time, the fourth preset time, the fifth preset time, the sixth preset time, the first preset voltage, the second preset voltage, the third preset voltage, and the fourth preset voltage are all values set by a developer, and may be set according to different actual situations, which is not specifically limited in the embodiment of the present specification.
Optionally, the electric energy meter includes a first interactive button, a second interactive button, a display interface, and an alarm device, and the method further includes:
and receiving an electric quantity viewing signal sent by a user through the first interactive button, and controlling the display interface to display the current electric quantity percentage of the electric energy meter battery.
And receiving a reset signal sent by a user through the second interactive button, and initializing the running time of the battery of the electric energy meter according to the reset signal.
And when the electric quantity percentage of the electric energy meter battery is lower than an alarm threshold value, controlling the alarm device to alarm.
As shown in fig. 4, a controller may be disposed inside the electric energy meter, and the controller is in communication connection with the first interactive button, the second interactive button, the display interface, and the alarm device.
The first interactive button can be a button used by a user to check the percentage of the remaining electric quantity of the battery of the electric energy meter, and the display interface can be a display screen installed on the electric energy meter. The user sends out an electric quantity viewing signal by pressing the interactive button so that the controller controls the display interface to display the current electric quantity percentage of the electric energy meter battery.
As an alternative embodiment, the user may also check the predicted replacement time of the battery of the electric energy meter through the first interactive button, and the predicted replacement time of the battery of the electric energy meter may be determined according to a difference between the preset total operation time and the theoretical operation time of the electric energy meter. For example: the user presses the first interactive button once, the display interface displays the current electric quantity percentage of the electric energy meter battery, and then presses the first interactive button once again, the display interface displays the predicted replacement time of the electric energy meter battery.
The second interactive button may be a reset button, and when the electric energy meter leaves a factory, and the processor in the electric energy meter is in error, the user may initialize the operation duration of the battery of the electric energy meter by pressing the second interactive button.
The alarm device can be an alarm indicator light, a liquid crystal display screen, a buzzer, a nonvolatile memory and the like, and when the electric quantity percentage of the battery of the electric energy meter is lower than an alarm threshold value, the controller controls the alarm device to alarm. Such as changing the color of the alarm indicator, flashing, beeping, etc.
Based on the same inventive concept, as shown in fig. 5, an embodiment of the present disclosure provides a battery percentage of charge determining apparatus 300, which is applied to an electric energy meter, where the battery percentage of charge determining apparatus 300 includes:
an operation duration obtaining unit 301, configured to obtain an operation duration of a battery of the electric energy meter, where the operation duration includes a first mains supply operation duration and a battery supply operation duration;
a theoretical operation duration determining unit 302, configured to determine a theoretical operation duration of the battery of the electric energy meter according to the first commercial power supply operation duration and the battery power supply operation duration;
a target metering interval determining unit 303, configured to determine a target metering interval of the electric energy meter battery from an electric quantity metering interval according to the theoretical operating duration, where the electric quantity metering interval is a period of a service life of the electric energy meter battery;
and the electric quantity percentage calculation unit 304 is configured to calculate an electric quantity percentage of the electric energy meter battery based on an electric quantity calculation formula corresponding to the target metering interval.
With regard to the above-mentioned battery power percentage determination apparatus 300, the specific functions of each unit have been described in detail in the embodiments of the battery power percentage determination method provided in the present specification, and will not be described in detail here.
Based on the same inventive concept, the embodiments of the present specification provide an electric energy meter, which can implement the steps of any one of the foregoing battery power percentage determination methods when the electric energy meter is in operation.
Based on the same inventive concept, the present specification provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor, implements the steps of any of the foregoing battery charge percentage determination methods.
The invention at least comprises the following beneficial effects:
the theoretical operation time length of the battery of the electric energy meter is determined by obtaining the operation time length of the battery of the electric energy meter, the target metering interval is determined according to the theoretical operation time length, and the electric quantity percentage of the battery of the electric energy meter is calculated by an electric quantity calculation formula corresponding to the target metering interval, so that the electric quantity display of the battery of the electric energy meter is more accurate.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative and, for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist alone, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
The above description is only for the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A battery power percentage determination method is applied to an electric energy meter, and comprises the following steps:
acquiring the running time of a battery of the electric energy meter, wherein the running time comprises a first commercial power supply running time and a battery power supply running time;
determining the theoretical operation time of the electric energy meter battery according to the first mains supply operation time and the battery power supply operation time;
determining a target metering interval of the electric energy meter battery from an electric quantity metering interval according to the theoretical operation duration, wherein the electric quantity metering interval is a stage of the service life of the electric energy meter battery;
and calculating the electric quantity percentage of the battery of the electric energy meter based on an electric quantity calculation formula corresponding to the target metering interval.
2. The method for determining percentage of battery charge according to claim 1, wherein said determining a theoretical operating time of said electric energy meter battery based on said first utility power operating time and said battery power operating time comprises:
converting the battery power supply operation time into a second commercial power supply operation time based on a preset conversion rule;
and determining the theoretical operation duration according to the first commercial power supply operation duration and the second commercial power supply operation duration.
3. The method for determining percentage of battery charge as claimed in claim 1, wherein the charge measurement intervals include a first charge measurement interval, a second charge measurement interval, and a third charge measurement interval, and wherein determining the target measurement interval for the electric energy meter battery from the charge measurement intervals based on the theoretical operating duration comprises:
if the theoretical operation time length is less than or equal to a first preset time length, determining the first electric quantity metering interval as the target metering interval;
if the theoretical operation time length is longer than the first preset time length and is less than or equal to a second preset time length, determining that the second electric quantity metering interval is the target metering interval;
and if the theoretical operation time length is longer than the second preset time length and is less than or equal to a third preset time length, determining that the third electric quantity metering interval is the target metering interval.
4. The battery charge percentage determination method of claim 3, wherein after the determining that the first charge metering interval is the target metering interval, the method further comprises:
monitoring the voltage of the electric energy meter battery;
and if the voltage of the battery of the electric energy meter is detected to be lower than the first preset voltage and lasts for a fourth preset time, determining that the target metering interval is the third electric quantity metering interval.
5. The method for determining percentage of battery charge according to claim 3, wherein the calculating the percentage of charge of the battery of the electric energy meter based on the charge calculation formula corresponding to the target metering interval comprises:
if the target metering interval is determined to be the first electric quantity metering interval or the second electric quantity metering interval, calculating the electric quantity percentage according to the preset total operation time length of the electric energy meter battery and the theoretical operation time length on the basis of a first electric quantity calculation formula;
the first electric quantity calculation formula is as follows:
Q=(T general assembly -T Theory of the invention )/T General assembly ×100%
Wherein Q is the percentage of electricity, T General assembly For the preset total operating time, T Theory of the invention Is the theoretical run length.
6. The method for determining percentage of charge of battery according to claim 4, wherein calculating percentage of charge of battery of the electric energy meter based on charge calculation formula corresponding to the target metering interval further comprises:
if the target metering interval is determined to be the third electric quantity metering interval, acquiring the current voltage of the battery of the electric energy meter;
calculating the electric quantity percentage according to a first preset voltage, a second preset voltage, the current voltage, the second preset time and a preset total operation time of the electric energy meter battery on the basis of a second electric quantity calculation formula, wherein the first preset voltage is a preset highest voltage threshold value of the electric energy meter battery, and the second preset voltage is a preset lowest voltage threshold value of the electric energy meter battery;
the second electric quantity calculation formula is as follows:
Q=[1-(V 1 -V now that )/(V 1 -V 2 )]×(T General assembly -T 2 )/T General assembly
Wherein Q is the percentage of electricity, T General assembly For the preset total operating time, T 2 For the second preset duration, V 1 Is the first predetermined voltage, V 2 For the second predetermined voltage, V Now that Is the present voltage.
7. The battery charge percentage determination method of claim 1, further comprising:
monitoring a voltage at the electric energy meter battery;
if the voltage at the battery of the electric energy meter is detected to be lower than a third preset voltage for a fifth preset time period and after the fifth preset time period, the voltage at the battery of the electric energy meter is detected to be higher than a fourth preset voltage for a sixth preset time period, and the running time of the battery of the electric energy meter is initialized.
8. A battery percentage determination apparatus, for use with an electric energy meter, the battery percentage determination apparatus comprising:
the running time acquiring unit is used for acquiring the running time of the battery of the electric energy meter, and the running time comprises a first commercial power supply running time and a battery power supply running time;
the theoretical operation duration determining unit is used for determining the theoretical operation duration of the battery of the electric energy meter according to the first commercial power supply operation duration and the battery power supply operation duration;
the target metering interval determining unit is used for determining a target metering interval of the electric energy meter battery from an electric quantity metering interval according to the theoretical operation duration, wherein the electric quantity metering interval is a stage of the service life of the electric energy meter battery;
and the electric quantity percentage calculation unit is used for calculating the electric quantity percentage of the battery of the electric energy meter based on the electric quantity calculation formula corresponding to the target metering interval.
9. An electric energy meter, characterized in that it is capable of performing the steps of the method according to any one of claims 1 to 7 when in operation.
10. A computer-readable storage medium, comprising a computer program which, when executed, controls a server on which the computer-readable storage medium is located to implement the steps of the method of any one of claims 1 to 7.
CN202211418983.1A 2022-11-14 2022-11-14 Method and device for determining percentage of electric quantity of battery, electric energy meter and storage medium Pending CN115728642A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211418983.1A CN115728642A (en) 2022-11-14 2022-11-14 Method and device for determining percentage of electric quantity of battery, electric energy meter and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211418983.1A CN115728642A (en) 2022-11-14 2022-11-14 Method and device for determining percentage of electric quantity of battery, electric energy meter and storage medium

Publications (1)

Publication Number Publication Date
CN115728642A true CN115728642A (en) 2023-03-03

Family

ID=85295429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211418983.1A Pending CN115728642A (en) 2022-11-14 2022-11-14 Method and device for determining percentage of electric quantity of battery, electric energy meter and storage medium

Country Status (1)

Country Link
CN (1) CN115728642A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117872027A (en) * 2024-03-13 2024-04-12 国网山西省电力公司营销服务中心 Power distribution network state sensing method for photovoltaic connection

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117872027A (en) * 2024-03-13 2024-04-12 国网山西省电力公司营销服务中心 Power distribution network state sensing method for photovoltaic connection

Similar Documents

Publication Publication Date Title
US7199557B2 (en) Apparatus, methods and computer program products for estimation of battery reserve life using adaptively modified state of health indicator-based reserve life models
EP2098878B1 (en) Battery service life estimation using a regression model and state estimation
US6515454B2 (en) Method and system for determining the capacity of a battery
US7573237B2 (en) System and method for monitoring battery state
US6870349B2 (en) Battery life estimator
EP2023154A2 (en) Battery status detecting method, battery status detecting apparatus, and expression deriving method
US7081761B2 (en) Ultracapacitor useful life prediction
CN111983495A (en) Battery pack health degree determination method and related device
JP5535968B2 (en) CHARGE RATE ESTIMATION DEVICE, CHARGE RATE ESTIMATION METHOD, AND PROGRAM
JPH03122581A (en) Method and apparatus for predicting bat- tery discharge holding time
JP2012205392A (en) Inverter device and method for estimating lifetime of electrolytic capacitor
EP2887085B1 (en) Method and apparatus for indicating a low battery level
JP2009236919A (en) Method for estimating charge amount of motor vehicle battery
KR101602848B1 (en) Method for predicting lifetime of battery
CN115728642A (en) Method and device for determining percentage of electric quantity of battery, electric energy meter and storage medium
JP3007952B2 (en) Storage battery life diagnosis method and life diagnosis device
JP5158872B2 (en) Battery state detection method, state detection device, and battery power supply system
US7466105B2 (en) Autonomic battery reconditioning
JP5031231B2 (en) Discharge time calculation device and discharge time calculation method
CN110780217B (en) Semiconductor device and method for detecting remaining battery level
JP3136981B2 (en) Storage battery life prediction method and life prediction device
EP2937962A1 (en) Supply and demand control device and supply and demand control method
CN111273181A (en) Battery backup unit monitoring method and device, server and readable storage medium
JP2002334725A (en) Method for monitoring condition of lead-acid battery
CN118112440A (en) Electronic device and battery capacity reporting method

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