Electricity calculation method, device, network system, electric equipment and storage medium
By combining the current temperature of the battery and the pre-stored temperature correspondence, the remaining dischargeable capacity of the battery is accurately calculated, which solves the problem of inaccurate calculation in the existing technology and improves the accuracy of battery power calculation.
Patent Information
- Application Number
- CN202011037672.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-28
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2040-09-28
AI Technical Summary
The prior art is difficult to accurately measure the remaining dischargeable amount of a battery, especially when temperature changes, resulting in inaccurate calculation results.
By obtaining the current temperature of the target battery and calculating the remaining dischargeable capacity of the target battery based on the corresponding relationship between the pre-stored temperature and the total discharge capacity of the battery.
The calculation accuracy of the remaining dischargeable battery capacity is improved and inaccurate estimation caused by ignoring the influence of temperature is avoided.
Smart Images

Figure CN114336796B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery technology, and more specifically, to a method and device for calculating power, a network system, power-consuming equipment, and a storage medium. Background Art
[0002] With the continuous development of science and technology, there are more and more electrical devices, such as smart cat eyes, doorbells, portable cameras, smoke sensors, door and window sensors, infrared human body sensors, etc. These electrical devices are usually powered by batteries, such as the common 18650 lithium batteries, AA dry batteries, CR series button batteries, etc. For batteries, how to accurately measure the remaining discharge capacity of the battery so that users can take corresponding measures in time (for example, when the remaining discharge capacity is low, users can replace the battery in time) is a technical problem that needs to be solved urgently. Summary of the invention
[0003] In view of this, the purpose of the present application is to provide a method, device, electrical equipment and storage medium for determining a landing point, which can accurately calculate the remaining discharge capacity of a battery.
[0004] The embodiments of the present application can be implemented as follows:
[0005] In a first aspect, an embodiment of the present application provides a method for calculating power, including:
[0006] Get the current temperature of the target battery;
[0007] Obtaining a target total battery discharge capacity corresponding to the current temperature according to a pre-stored correspondence between the temperature and the total battery discharge capacity;
[0008] Calculating the consumed power of the target battery;
[0009] The remaining discharge capacity of the target battery is calculated according to the total discharge capacity of the target battery and the consumed power of the target battery.
[0010] The power calculation method provided in the embodiment of the present application obtains the target battery total discharge capacity corresponding to the current temperature according to the pre-stored correspondence between the temperature and the total battery discharge capacity and the current temperature of the target battery, and then calculates the remaining discharge capacity of the target battery according to the target battery total discharge capacity and the calculated consumed power of the target battery. Thus, by calculating the remaining discharge capacity of the battery in combination with the effect of temperature on the total battery discharge capacity, the problem of low accuracy of the remaining discharge capacity estimation caused by ignoring the effect of temperature can be avoided, thereby improving the accuracy of the calculated remaining discharge capacity.
[0011] In a second aspect, an embodiment of the present application provides an electric quantity calculation device, comprising:
[0012] A temperature acquisition module is used to obtain the current temperature of the target battery;
[0013] a total discharge capacity determination module, configured to obtain a target total battery discharge capacity corresponding to the current temperature according to a pre-stored correspondence between the temperature and the total battery discharge capacity;
[0014] A first calculation module, used for calculating the consumed power of the target battery;
[0015] The second calculation module is used to calculate the remaining discharge capacity of the target battery according to the total discharge capacity of the target battery and the consumed power of the target battery.
[0016] In a third aspect, an embodiment of the present application provides a network system, including a power-consuming device and a gateway in communication connection, wherein the power-consuming device is powered by a target battery,
[0017] The power-consuming device is used to obtain the current temperature of the target battery; obtain the total discharge capacity of the target battery corresponding to the current temperature according to the correspondence between the temperature and the total discharge capacity of the battery stored in advance; calculate the consumed power of the target battery; calculate the remaining discharge capacity of the target battery according to the total discharge capacity of the target battery and the consumed power of the target battery; and send power prompt information to the gateway according to the remaining discharge capacity;
[0018] The gateway is used to display or play the power prompt information.
[0019] In the network system provided in the embodiment of the present application, the power-consuming device accurately calculates the remaining discharge capacity of the target battery based on the current temperature and consumed power of the target battery, as well as the pre-stored correspondence between the temperature and the total discharge capacity of the battery, and sends power prompt information to the gateway based on this; the gateway displays or plays the received power prompt information. In this way, the remaining discharge capacity of the target battery can be accurately calculated, and by having the gateway play or display the power prompt information corresponding to the remaining discharge capacity, the user can timely and accurately understand the power status of the target battery, thereby facilitating the user to take corresponding measures in a timely manner when the power of the target battery is insufficient.
[0020] In a fourth aspect, an embodiment of the present application provides a network system, including a power-consuming device, a gateway, and a terminal device connected in communication, wherein the power-consuming device is powered by a target battery,
[0021] The power-consuming device is used to obtain the current temperature of the target battery; obtain the total discharge capacity of the target battery corresponding to the current temperature according to the correspondence between the temperature and the total discharge capacity of the battery stored in advance; calculate the consumed power of the target battery; calculate the remaining discharge capacity of the target battery according to the total discharge capacity of the target battery and the consumed power of the target battery; and send power prompt information to the gateway according to the remaining discharge capacity;
[0022] The gateway is used to send the received power prompt information to the terminal device;
[0023] The terminal device is used to display or play the power prompt information.
[0024] In the network system provided in the embodiment of the present application, the power-consuming device calculates the remaining discharge capacity of the target battery according to the pre-stored correspondence between the temperature and the total discharge capacity of the battery, the current temperature of the target battery, and the consumed power, and sends the power prompt information corresponding to the remaining discharge capacity to the terminal device via the gateway, and the terminal device displays or plays the received power prompt information. Thus, the terminal device can obtain the power prompt information corresponding to the accurate remaining discharge capacity, and by displaying or playing the power prompt information, the user carrying the terminal device can quickly and accurately understand the power status of the target battery of the user device, so that the user can take corresponding measures in time when the power of the target battery is insufficient.
[0025] In a fifth aspect, an embodiment of the present application provides an electrical device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method for calculating electrical power as described in the foregoing embodiment.
[0026] In a sixth aspect, an embodiment of the present application provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the power calculation method as described in the aforementioned embodiment are implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0028] Figure 1 A schematic diagram of an application environment provided for an embodiment of the present application;
[0029] Figure 2This is a flow chart of a method for calculating power provided in an embodiment of the present application;
[0030] Figure 3 A schematic diagram of a curve diagram provided for an embodiment of the present application;
[0031] Figure 4 A schematic diagram of a fitting curve provided in an embodiment of the present application;
[0032] Figure 5 The second flowchart of the power calculation method provided in the embodiment of the present application;
[0033] Figure 6 One of the structural schematic diagrams of the electrical equipment provided in the embodiment of the present application;
[0034] Figure 7 One of the block diagrams of the power calculation device provided in the embodiment of the present application;
[0035] Figure 8 The second block of the power calculation device provided in the embodiment of the present application;
[0036] Fig. 9 The second structural diagram of the electrical equipment provided in the embodiment of the present application.
[0037] Icons: 10-network system; 100-electrical equipment; 101-target battery; 110-main control chip; 120-external functional module; 130-external auxiliary circuit; 170-processor; 180-memory; 200-gateway; 300-router; 400-server; 500-terminal device; 600-power calculation device; 610-temperature acquisition module; 620-total discharge determination module; 630-first calculation module; 640-second calculation module; 650-prompt module. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations.
[0039] Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the present application for which protection is sought, but merely represents selected embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0040] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined or explained in subsequent drawings. In addition, the terms "first", "second", etc., if used, are only used to distinguish the description and cannot be understood as indicating or implying relative importance. It should be noted that the features in the embodiments of the present application can be combined with each other without conflict.
[0041] With the continuous development of science and technology, more and more electric devices are powered by batteries. In order to help users understand the battery status of electric devices, the remaining discharge capacity of the battery is generally calculated and displayed.
[0042] Usually, the working current (I) and working time (T) of the power-consuming device (i.e., the device where the battery is located) under various working conditions are directly calculated or counted, and then the battery power Q consumed by the power-consuming device is obtained (Q = I × T). In addition, the total discharge capacity of the battery is set to a constant value (i.e., the nominal battery capacity). The difference between the constant value and the consumed battery power Q is used as the remaining discharge capacity of the battery in the power-consuming device.
[0043] Alternatively, the relationship between the battery voltage and the remaining discharge capacity of the battery is obtained through comparative tests, and then the total discharge capacity of the battery is determined based on the relationship, and then the difference between the total discharge capacity of the battery and the consumed battery power Q (Q=I×T) is used as the remaining discharge capacity of the battery.
[0044] However, due to some reasons, the remaining discharge capacity obtained by the above method is not accurate. For example, the actual total discharge capacity of the battery will be affected by the external environment. When the temperature becomes low (for example, below -10°C), the actual total discharge capacity of the battery becomes smaller; when the temperature becomes high (for example, below 40°C), the actual total discharge capacity of the battery becomes larger. Since method 1 ignores the temperature effect when calculating the remaining discharge capacity of the battery and uses an inaccurate total discharge capacity of the battery, the calculated remaining discharge capacity will be too large or too small. Therefore, the remaining discharge capacity calculated by method 1 is inaccurate.
[0045] In the second method, the influence of temperature is not considered when obtaining the relationship between the battery voltage and the remaining discharge capacity, and the actual operating temperature environment of the battery is different from the temperature during the experiment, which leads to a large deviation between the remaining discharge capacity measured in the experiment and the actual remaining discharge capacity. In addition, when the remaining discharge capacity of the battery is 60% to 85%, the voltage is almost unchanged, which will result in the inability to accurately obtain the remaining discharge capacity based on the voltage. Finally, when measuring the battery voltage, the current is too large, which will cause the measured voltage to be too low, and the degree of lowness is proportional to the amount of remaining discharge capacity. If the voltage is too low, it will inevitably lead to inaccurate calculation of the remaining discharge capacity.
[0046] Therefore, the inventors proposed a power calculation method in an embodiment of the present application, which calculates the remaining discharge capacity of the target battery based on the current temperature of the target battery, the correspondence between the temperature and the total discharge capacity of the battery, and the consumed power of the target battery, so that the calculated remaining discharge capacity has the characteristic of high accuracy.
[0047] The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0048] Please refer to Figure 1 , Figure 1 The power calculation method provided in the embodiment of the present application can be applied to the following: Figure 1 In the network system 10 shown. The network system 10 may include: an electric device 100 and a gateway 200. Among them, the electric device 100 may be any battery-powered device, such as a smart sensor, a remote control, etc. The electric device 100 may be connected to the gateway 200 through WiFi, ZigBee or Bluetooth, so as to exchange data with the gateway 200. For example, after obtaining the remaining dischargeable capacity of its own battery, the electric device 100 sends a power prompt information to the gateway 200 according to the remaining dischargeable capacity; the gateway 200 may display the power prompt information, or make a voice broadcast according to the power prompt information, so as to inform the user of the battery status of the electric device 100.
[0049] Optionally, in this embodiment, the network system 10 may further include a terminal device 500. The terminal device 500 may be a mobile phone, a tablet computer, a PC (Personal Computer), a laptop computer, etc. The terminal device 500 may be connected to the gateway 200 for data exchange. For example, after receiving the power prompt information, the gateway 200 may send the power prompt information to the terminal device 500; the terminal device 500 informs the user of the battery status of the power-consuming device 100 through vibration, display, voice broadcast, etc., so that the user can understand the battery status in time, and thus replace the battery in the power-consuming device 100 in time when the remaining discharge capacity of the battery is low.
[0050] Optionally, the terminal device 500 may be directly connected to the gateway 200 for communication, or may be connected to the gateway 200 for communication via other intermediate devices. Figure 1 As shown, the network system 10 may further include a router 300. The router 300 is connected to the gateway 200 through WiFi and is connected to the terminal device 500 through WiFi.
[0051] Optionally, the network system may further include a server 400. The server 400 may be a local server or a cloud server. The server 400 may establish a communication connection with the router 300 via Ethernet. The server 400 may also be connected to the terminal device 500 via 2G, 3G, 4G or 5G. Thus, the gateway 200 may also perform data exchange with the terminal device 500 via the router 300 and the server 400.
[0052] Please refer to Figure 2 , Figure 2 This is one of the flow charts of the power calculation method provided in the embodiment of the present application. The method can be applied to the above-mentioned power-consuming device 100. The specific flow of the power calculation method is explained in detail below.
[0053] Step S110, obtaining the current temperature of the target battery.
[0054] In this embodiment, the target battery is a battery installed and used by the power-consuming device 100, and the battery supplies power to the power-consuming device 100. When it is necessary to calculate the remaining discharge capacity, the current temperature of the target battery can be obtained in any manner. The remaining discharge capacity refers to the total amount of electricity that the target battery can discharge after the current moment.
[0055] When obtaining the current temperature, a temperature detection device may be arranged around the target battery, and the current temperature of the target battery may be determined according to the temperature obtained by the temperature detection device; or the current temperature of the target battery may be obtained by other means.
[0056] Optionally, when the remaining discharge capacity needs to be calculated, the temperature obtained at this time can be used as the current temperature of the target battery; or the average value of multiple temperatures obtained in a time period starting from the start of the discharge of the target battery and ending at this time can be used as the current temperature of the target battery. Of course, it can be understood that the above method is only an example, and the current temperature of the target battery can also be determined based on other methods.
[0057] Step S120, obtaining a target total battery discharge capacity corresponding to the current temperature according to a pre-stored correspondence between the temperature and the total battery discharge capacity.
[0058] The electrical device 100 may pre-store a correspondence between temperature and total battery discharge capacity. When calculating the remaining discharge capacity, the target battery total discharge capacity of the target battery at the current temperature may be obtained based on the correspondence between temperature and total battery discharge capacity and the current temperature. The target battery total discharge capacity indicates the total discharge capacity that can be discharged when the target battery is discharged at the current temperature; that is, the total discharge capacity indicates the total available power when the battery is fully charged at the current temperature. The target battery total discharge capacity is not necessarily equal to the battery capacity set for the target battery when it leaves the factory.
[0059] Optionally, the above correspondence may be stored in the form of tables, graphs, relational expressions, etc. Among them, the specific storage location of the above correspondence may be set according to actual needs. For example, the above correspondence is stored in the memory of the power-consuming device 100 itself, or in the server 400, or in the terminal device 500. When the above correspondence is stored in the power-consuming device 100, it can be quickly called and responded to quickly, and the calculation speed of the remaining dischargeable capacity of the target battery can be accelerated. When the above correspondence is stored in the server 400 and / or the terminal device 500, data loss can be avoided. When the power-consuming device 100 is replaced, there is no need to reconfigure the correspondence, and it can be directly called from the server 400 and / or the terminal device 500, saving the time of reconfiguration.
[0060] Correspondingly, if a table is used to store the correspondence between temperature and total battery discharge capacity, the total battery discharge capacity corresponding to the current temperature can be found from the table, and the found total battery discharge capacity is used as the target total battery discharge capacity corresponding to the current temperature.
[0061] If a curve chart is used to store the corresponding relationship between temperature and total battery discharge capacity, the total battery discharge capacity corresponding to the current temperature can be found from the curve chart, and the found total battery discharge capacity can be used as the target total battery discharge capacity corresponding to the current temperature.
[0062] If the corresponding relationship between temperature and total battery discharge capacity is stored using a relational expression, the total battery discharge capacity can be calculated according to the current temperature and the relational expression between temperature and total battery discharge capacity, and the calculated total battery discharge capacity is used as the target total battery discharge capacity corresponding to the current temperature.
[0063] Step S130, calculating the consumed power of the target battery.
[0064] In this embodiment, when the remaining discharge capacity needs to be calculated, the consumed power of the target battery can be calculated according to the power consumption of the target battery, wherein the consumed power represents the power consumed since the target battery was fully charged to the present.
[0065] Step S140, calculating the remaining discharge capacity of the target battery according to the total discharge capacity of the target battery and the consumed power of the target battery.
[0066] After obtaining the total discharge capacity of the target battery and the consumed power of the target battery, the remaining discharge capacity of the target battery can be calculated according to a preset calculation method, wherein the preset calculation method can be set according to actual needs.
[0067] For example, if the preset calculation method is to use the difference between the total discharge capacity of the target battery and the consumed power of the target battery as the remaining discharge capacity, after obtaining the total discharge capacity of the target battery and the consumed power of the target battery, the consumed power of the target battery is subtracted from the total discharge capacity of the target battery, and the result is used as the remaining discharge capacity.
[0068] If the preset calculation method is to use the product of the preset ratio and the difference between the total discharge capacity of the target battery and the consumed power of the target battery as the remaining dischargeable capacity, after obtaining the total discharge capacity of the target battery and the consumed power of the target battery, the consumed power of the target battery is subtracted from the total discharge capacity of the target battery, and the result is multiplied by the preset ratio, and the obtained product is then used as the remaining dischargeable capacity.
[0069] If the target battery is a rechargeable battery, the preset calculation method is to use the difference between the total discharge capacity of the target battery and the consumed power and charging loss of the target battery as the remaining discharge capacity, and after obtaining the total discharge capacity of the target battery and the consumed power of the target battery, also obtain the charging loss, and then subtract the consumed power and charging loss of the target battery from the total discharge capacity of the target battery, and use the result as the remaining discharge capacity. Among them, charging loss refers to the capacity loss caused by the battery during the charging and discharging process.
[0070] The power calculation method provided in the embodiment of the present application calculates the remaining discharge capacity of the target battery based on the current temperature of the target battery, the corresponding relationship between the temperature and the total discharge capacity of the battery, and the consumed power of the target battery. The above method can avoid the inaccurate calculation of the remaining discharge capacity due to ignoring the temperature, the measured voltage being too low, etc., and improve the accuracy of the calculated remaining discharge capacity.
[0071] When the electric device 100 leaves the factory for the first time, the remaining discharge capacity of the target battery that supplies power to the electric device 100 can be calculated by the above power calculation method. If the target battery is a rechargeable battery, when the original power of the target battery is consumed and fully charged for use, the remaining discharge capacity of the target battery can continue to be obtained by the above power calculation method.
[0072] As an optional implementation, the correspondence between the pre-stored temperature and the total battery discharge capacity can be obtained in the following manner: the total battery discharge capacity corresponding to the target battery at different temperatures is obtained in advance; the different temperatures obtained and the total battery discharge capacity at the different temperatures are fitted to obtain the correspondence between the temperature and the total battery discharge capacity. Among them, the above correspondence can be obtained in advance by the electrical device 100 where the target battery is located, or it can be obtained in advance by other computing devices (for example, computing devices of the manufacturer that manufactures the target battery) and stored in the electrical device 100. Fitting refers to the fact that several discrete function values {f1, f2, ..., fn} of a certain function are known, and by adjusting several undetermined coefficients f (λ1, λ2, ..., λn) in the function, the difference between the function and the known point set (in the least squares sense) is minimized. Therefore, the correspondence between the temperature and the total battery discharge capacity can be obtained without performing discharge tests at all temperatures.
[0073] Optionally, the total battery discharge capacity corresponding to the target battery at different temperatures can be obtained in any manner. The total battery discharge capacity refers to the total amount of electricity discharged from the start of discharge to the end of discharge after a battery is fully charged, that is, the total amount of electricity discharged in a complete discharge process after a battery is fully charged. Then, through fitting, based on different temperatures and the total battery discharge capacity at the different temperatures, the corresponding relationship between the temperature and the total battery discharge capacity is obtained.
[0074] As an optional implementation, in order to obtain the total battery discharge capacity corresponding to the target battery at different temperatures, the same type of batteries of the target battery can be subjected to discharge tests at different temperatures to obtain the total battery discharge capacity corresponding to the target battery at different temperatures. In this way, the accuracy of the total battery discharge capacity obtained at different temperatures can be guaranteed. The same type of batteries of the target battery are the same batteries as the target battery. For example, if the target battery is a CR2032 button battery, multiple discharge tests are performed using multiple CR2032 button batteries to obtain the total battery discharge capacity corresponding to the CR2032 button batteries at different temperatures.
[0075] Among them, during a discharge test of the battery, the discharge test can be performed according to the preset discharge current value, and then the discharge time is counted, and the discharge time is the discharge cycle of the battery. Then, the product of the preset discharge current value and the discharge cycle of the battery during the discharge test is calculated, and the product is used as the total discharge amount of the battery during the discharge test. Optionally, in all discharge tests, the preset discharge current value used in each discharge test can be the same or different, and can be set according to actual needs.
[0076] As another optional implementation, a curve graph corresponding to the target battery may be obtained and saved in advance. The curve graph corresponding to the target battery is a discharge curve graph corresponding to the target battery type. The discharge curve graph includes multiple discharge curves corresponding to different temperatures, and each discharge curve includes a corresponding relationship between a voltage value and a discharge cycle. Among them, the coordinates of a point on a discharge curve of a battery include the operating voltage of the battery (wherein the voltage value corresponding to the point is the operating voltage) and the discharge cycle for discharging at the operating voltage. The preset discharge current value corresponding to each discharge curve may be the same or different.
[0077] The electric device 100 may store only the curve graph corresponding to the target battery, or may store the curve graphs corresponding to various types of batteries. When the curve graphs corresponding to various types of batteries are stored, the electric device 100 may use the battery currently installed in itself as the target battery, and determine the curve graph corresponding to the target battery from the stored curve graphs corresponding to various types of batteries.
[0078] From the curve graph corresponding to the target battery, the target discharge cycle corresponding to the preset voltage value under different temperatures and preset discharge current values is obtained, that is, the target discharge cycle corresponding to the preset voltage value on each discharge curve in the curve graph is obtained. Then, according to the target discharge cycle at different temperatures and the preset discharge current values corresponding to the target discharge cycle at different temperatures, the total battery discharge capacity corresponding to the target battery at different temperatures is calculated. Thus, the total battery discharge capacity corresponding to the target battery at different temperatures can be quickly obtained through the curve graph without spending time on a separate discharge test. Among them, the preset voltage value can be set according to actual needs.
[0079] When the battery is used in a product, the working voltage of the product is generally higher than the battery's discharge cut-off voltage (generally defined as 2.0V). At this time, the battery power that the product can use (that is, the total battery discharge) is less than the nominal battery power. Therefore, in order to avoid the unreasonable setting of the preset voltage value, which leads to the difference between the total battery discharge obtained through the curve and the total battery discharge at the actual working voltage, and then causes the correspondence between the temperature and the total battery discharge to be different from the correspondence between the temperature and the total battery discharge at the actual working voltage, the preset voltage value can be set according to the minimum working voltage of the electrical device 100 where the battery is located. The electrical device 100 where the battery is located refers to the device powered by the battery. The minimum working voltage is determined by the electrical device 100, and the minimum working voltage is the minimum voltage that can be used to put the electrical device 100 in a working state.
[0080] Optionally, the minimum operating voltage of the power-consuming device 100 where the target battery is located can be directly set to the preset voltage value, that is, the minimum operating voltage of the power-consuming device 100 powered by the target battery is used as the preset voltage value, so as to obtain the maximum amount of electricity that can be discharged by the target battery when the power-consuming device 100 can work. For example, if the minimum operating voltage of the power-consuming device 100 is ≥2.75V, the target discharge cycle corresponding to 2.75V is obtained from the curve chart, and then the total discharge capacity of the battery at different temperatures is calculated in combination with the preset discharge current value.
[0081] A temperature and the total battery discharge at the temperature are taken as a set of data, and the number of sets of data required to be obtained can be determined by actual needs. For example, if the corresponding relationship between temperature and total battery discharge is considered to be a linear relationship, only two sets of data can be obtained. Of course, it can be understood that the more data, the more accurate the corresponding relationship between the obtained temperature and the total battery discharge. Optionally, linear fitting or curve fitting can be used during fitting.
[0082] Please refer to Figure 3 and Figure 4 , Figure 3 A schematic diagram of a curve diagram provided in an embodiment of the present application, Figure 4 This is a schematic diagram of the fitting curve provided in the embodiment of the present application. Figure 3 and Figure 4 , the process of obtaining the corresponding relationship between the temperature and the total discharge capacity of the battery is illustrated by an example. Figure 3 The load in: 15kΩ(190uA), indicating Figure 3 The load corresponding to each discharge curve is 15kΩ, and the preset discharge current value is 190uA; the unit of discharge cycle is hour h.
[0083] The button battery CR2032 is a lithium dioxide button battery. The total discharge capacity of the button battery CR2032 varies with temperature. The corresponding curve of the button battery CR2032 is as follows: Figure 3 shown. Figure 3 There are 3 discharge curves, the temperature corresponding to the first discharge curve is -10°C, the temperature corresponding to the second discharge curve is 20°C, and the temperature corresponding to the third discharge curve is 60°C. The preset discharge current values corresponding to the above 3 discharge curves are all 190uA.
[0084] If the minimum working voltage of the electrical equipment 100 where the button battery CR2032 is located is ≥2.75V, 2.75V is used as the preset voltage value. From the curve graph, find the intersection points of the three curves with the straight line V=2.75V. The intersection point of the first discharge curve with the straight line V=2.75V is (880h, 2.75V), the intersection point of the second discharge curve with the straight line V=2.75V is (980h, 2.75V), and the intersection point of the third discharge curve with the straight line V=2.75V is (1020h, 2.75V); that is, the temperature and discharge cycle corresponding to the above intersection points are: (-10℃, 880h), (20℃, 980h), (60℃, 1020h). The product of the discharge cycle and the preset discharge current value 190uA is the power, and the temperature and total battery discharge capacity corresponding to each intersection can be obtained as follows: (-10℃, 167.2mAh), (20℃, 186.2mAh), (60℃, 193.8mAh).
[0085] After obtaining the total discharge capacity corresponding to -10℃, 20℃, and 60℃, the Figure 4 The curve shown is used to fit the change of total battery discharge capacity with temperature. Figure 4 The horizontal axis is the temperature in °C, and the vertical axis is the total discharge capacity of the battery in mAh. The expression of the curve of total discharge capacity changing with temperature obtained by three-point fitting is:
[0086] C=-0.00633333*T0 2 +0.69666667*T0+174.8;-20℃≤T0≤60℃
[0087] Wherein, C represents the total discharge capacity of the battery, and -20°C≤T0≤60°C represents that the normal operating temperature range of the battery is between -20°C and 60°C. The above expression is a relational expression for representing the corresponding relationship between temperature and the total discharge capacity of the battery.
[0088] Optionally, in order to avoid inaccurate calculation of the remaining discharge capacity due to ignoring the self-discharge of the battery, the consumed power of the target battery can be calculated in the following manner: according to the self-discharge duration, self-discharge rate and total discharge capacity of the target battery, the first power consumed by the target battery due to self-discharge is calculated; the second power consumed by the target battery due to power supply is calculated. The consumed power includes the first power and the second power. Battery self-discharge refers to the phenomenon that the battery loses power when it is idle and not in use. The main reason for self-discharge is the irreversible reaction inside the battery, which causes the loss of power. Taking lithium iron phosphate battery as an example, its normal self-discharge rate is 1% / month.
[0089] Optionally, the power-consuming device 100 may pre-store a self-discharge rate corresponding to the target battery. When calculating the consumed power of the target battery, the self-discharge duration of the target battery obtained by statistics may be obtained, and then the product of the self-discharge duration, the self-discharge rate and the total discharge amount of the target battery may be calculated, and the obtained product may be used as the first power consumed by the target battery due to self-discharge. The self-discharge duration indicates the duration of self-discharge of the target battery in a time period starting from the start of this discharge and ending at this time. For example, if the target battery is a rechargeable battery, the self-discharge duration indicates the duration of self-discharge in the time period from the start of discharge to this time after the target battery is fully charged.
[0090] If the corresponding self-discharge rates are different at different temperatures, the self-discharge rate corresponding to the current temperature may be obtained, and the first power may be obtained according to the self-discharge duration, the self-discharge rate and the target total discharge capacity of the battery.
[0091] The following takes the target battery being a Panasonic button battery CR2032 as an example to illustrate the calculation process of the first power.
[0092] The annual self-discharge loss rate of Panasonic button battery CR2032 is β, β is about 1%, T1 represents the self-discharge time (in days), and the first power can be calculated by the following formula:
[0093]
[0094] Among them, C β represents the first charge, C 总 Indicates the total discharge capacity of the target battery.
[0095] Optionally, if during a complete discharge process of the target battery, the self-discharge of the target battery is performed in cycles, the first electric quantity may be calculated in the following manner:
[0096]
[0097] Among them, C β represents the first charge, C 总 represents the total discharge capacity of the target battery, T2 represents the self-discharge cycle (in days), and N2 represents the number of self-discharge cycles up to this point in a complete discharge process.
[0098] When calculating the second amount of electricity consumed by the target battery due to supplying power to the power-consuming device 100, the operating current and operating time of the power-consuming device 100 in various operating states can be obtained, thereby obtaining the second amount of electricity consumed by the power-consuming device 100. The operating current and operating time in various operating states can be data stored in the power-consuming device 100, and can be directly obtained when calculating the remaining dischargeable capacity.
[0099] Optionally, the working current and working time of the electric device 100 in various working states can be divided into the working current and total working time corresponding to various events. The total working time indicates the total time that the same event occurs during a complete discharge process of the target battery, from the start of the target battery discharge to this time. For example, random event 1 occurs 2 times from the start of the target battery discharge to this time, and each time the duration is t, then the total working time of random event 1 is 2t.
[0100] Optionally, the above-mentioned events can be classified into: random events, periodic attribute events, and sleep events. Random events are random in time, and random events can be, but are not limited to, human body trigger signals, temperature exceeding threshold signals, etc. Periodic attribute events are events that occur periodically, and periodic attribute events can be, but are not limited to, heartbeat signals, periodic sampling signals, etc. Sleep events refer to electrical equipment entering a sleep state.
[0101] The working current and the total working time corresponding to the various events can be obtained by measuring the working current under various events and counting the total working time of various events. Then, the product of the working current and the total working time corresponding to the various events is used as the energy consumption of the various events, and the sum of the energy consumption of the various events is used as the second electric quantity.
[0102] If the energy consumption of the above-mentioned various events is certain, for example, although random event 1 is random in time, the energy consumed after random event 1 occurs is certain, then the second power amount can be calculated based on the number of occurrences of various events and the single energy consumption.
[0103] The electrical device 100 can obtain the single energy consumption of each random event by pre-measurement and save it for use in calculating the remaining discharge amount. The single energy consumption of each random event can also be measured on a special test fixture and saved in the electrical device 100.
[0104] The power-consuming device 100 can obtain the total number of occurrences of each random event by accumulating and storing the data in the internal register, and then calculate the total energy consumption of the random event. For example, the single energy consumption of random event 1 is c e1 , accumulated and saved by the internal register, the total number of occurrences of random event 1 is ne1 ; Similarly, the energy consumption for obtaining random event 2 is c e2 , the total number of occurrences is n e2 ,…, then the total energy consumption of random events is n e1 *c e1 +n e2 *c e2 +....
[0105] Similarly, the energy consumption of a single periodic event c status The acquisition method can be the same as the single energy consumption acquisition method of random events. Optionally, when obtaining the single energy consumption of periodic attribute events, it can be obtained by actual measurement using a power consumption meter. The period T of periodic attribute events 周 It can be set by the electrical device 100 before leaving the factory, and can be modified manually or automatically later. By accumulating and saving in the internal register, the number of cycles (i.e., the total number of occurrences) of the periodic attribute event can be obtained as N3, and the total energy consumption of the periodic attribute event is N3*c status .
[0106] The average bottom current (sleep current, or quiescent current) I of the electrical device 100 may be measured in advance in a laboratory. 睡 When the duration of each sleep event is fixed, that is, the duration of each sleep event is fixed to T 睡 If you need to calculate the energy consumption of sleep events, you can accumulate and save it through the internal register to get the number of sleep event cycles N 睡 (i.e. the total number of occurrences), and the total energy consumption of the sleep event is calculated to be N 睡 *T 睡 *I 睡 .
[0107] By adding up the total energy consumption of the above three categories of events, we can get the second amount of electricity: ∑(N 睡 *T 睡 *I 睡 +N3*c status +n e1 *c e1 +n e2 *c e2 +...).
[0108] Of course, it is understandable that if the duration of a sleep event is not fixed, when calculating the total energy consumption of the sleep event, the total working time of the sleep event can be directly counted, and then combined with the working current of the sleep event to calculate the total energy consumption of the sleep event.
[0109] After obtaining the first and second electric quantities, the remaining dischargeable capacity can be calculated as: C 总 -C β -∑(N睡 *T 睡 *I 睡 +N3*c status +n e1 *c e1 +n e2 *c e2 +...).
[0110] In order to facilitate users to timely understand the power status of electrical equipment, please refer to Figure 5 , Figure 5 This is a second flow chart of the power calculation method provided in the embodiment of the present application. After step S140, the method may further include step S150.
[0111] Step S150: sending power prompt information according to the remaining dischargeable power.
[0112] Optionally, in this embodiment, when the power-consuming device 100 includes a device (e.g., a display screen, a remaining dischargeable amount indicator light, a player) that can be used to display or play the power prompt information, the power prompt information can be directly displayed or played. In order to further ensure that the user can understand the power status in a timely manner, the power prompt information can also be sent to other devices (e.g., a gateway 200, a terminal device 500, etc.) that are communicatively connected to the power-consuming device 100 for display or playback. Optionally, the power prompt information can include the remaining dischargeable amount.
[0113] In order to facilitate the user to intuitively understand the power status, the remaining discharge capacity ratio can be calculated according to the remaining discharge capacity and the target battery total discharge capacity, that is, the ratio of the remaining discharge capacity to the target battery total discharge capacity is calculated; and the power prompt information is sent according to the remaining discharge capacity ratio. Among them, the remaining discharge capacity ratio can be expressed as:
[0114] Optionally, the above-mentioned electric device 100 may be a smart home device, such as a smart sensor, a remote control, etc. When the electric device 100 is a smart sensor, it may be, but not limited to, a smart cat eye, a doorbell, a portable camera, a smoke sensor, a door and window sensor, an infrared human body sensor, etc. When the electric device 100 is a smart sensor, the hardware block diagram of the electric device 100 may be as follows: Figure 6As shown, the power-consuming device 100 is powered by the target battery 101, and the specific type of the target battery 101 can be determined by the power-consuming device 100. The power-consuming device 100 may include a main control chip 110, which may be a Zigbee chip (e.g., JN5189, JN5169, etc.), which is used to measure the temperature of the target battery 101 itself and the remaining discharge capacity of the target battery 101. The main control chip 110 may have its own radio frequency antenna for communicating with other devices (e.g., gateway 200, terminal device 500, etc.). The entire measurement process of the remaining discharge capacity of the target battery 101 can be completed by the internal main control chip 110 on the power-consuming device 100.
[0115] The electric device 100 may further include an external functional module 120. For example, for a door and window sensor, the external functional module may include a Hall sensor. The electric device 100 may further include an external auxiliary circuit 130, such as a button, an indicator light, and the like.
[0116] In order to execute the corresponding steps in the above embodiments and various possible methods, an implementation method of the power calculation device 600 is given below. Figure 7 , Figure 7 This is one of the block diagrams of the power calculation device 600 provided in the embodiment of the present application. It should be noted that the basic principle and technical effects of the power calculation device 600 provided in this embodiment are the same as those of the above embodiments. For the sake of brief description, for parts not mentioned in this embodiment, reference can be made to the corresponding contents in the above embodiments. The power calculation device 600 may include a temperature acquisition module 610, a total discharge capacity determination module 620, a first calculation module 630, and a second calculation module 640.
[0117] The temperature obtaining module 610 is used to obtain the current temperature of the target battery.
[0118] The total discharge capacity determination module 620 is used to obtain a target total battery discharge capacity corresponding to the current temperature according to a pre-stored correspondence between temperature and total battery discharge capacity.
[0119] The first calculation module 630 is used to calculate the consumed power of the target battery.
[0120] The second calculation module 640 is used to calculate the remaining discharge capacity of the target battery according to the total discharge capacity of the target battery and the consumed power of the target battery.
[0121] Optionally, in this embodiment, the correspondence between the pre-stored temperature and the total battery discharge capacity is obtained by: pre-obtaining the total battery discharge capacity corresponding to the target battery at different temperatures; and fitting the obtained different temperatures and the total battery discharge capacity at the different temperatures to obtain the correspondence between the temperature and the total battery discharge capacity.
[0122] Optionally, in the present embodiment, the pre-obtaining the total battery discharge capacity corresponding to the target battery at different temperatures includes: obtaining, from a curve graph corresponding to the target battery, a target discharge cycle corresponding to a preset voltage value at different temperatures and a preset discharge current value, wherein the curve graph corresponding to the target battery is a pre-stored discharge curve graph corresponding to the target battery type, including multiple discharge curves corresponding to different temperatures, each of the discharge curves including a correspondence between a voltage value and a discharge cycle; and calculating the total battery discharge capacity corresponding to the target battery at different temperatures according to the target discharge cycle at different temperatures and the preset discharge current value.
[0123] Optionally, in this embodiment, the preset voltage value is the minimum operating voltage of the electrical device where the target battery is located.
[0124] Optionally, in this embodiment, the first calculation module 630 is specifically used to: calculate a first amount of electricity consumed by the target battery due to self-discharge based on the self-discharge duration, the self-discharge rate and the total discharge amount of the target battery; calculate a second amount of electricity consumed by the target battery due to power supply, wherein the consumed electricity includes the first amount of electricity and the second amount of electricity.
[0125] Please refer to Figure 8 , Figure 8 This is the second block of the power calculation device provided in the embodiment of the present application. In this embodiment, the power calculation device 600 may further include a prompt module 650 .
[0126] The prompt module 650 is used to send power prompt information according to the remaining dischargeable power.
[0127] Optionally, in this embodiment, the prompt module 650 is specifically used to: calculate a remaining discharge capacity ratio according to the remaining discharge capacity and the target total discharge capacity of the battery; and send the power prompt information according to the remaining discharge capacity ratio.
[0128] Please refer to Fig. 9 , Fig. 9 The second structural diagram of the electric device 100 provided in the embodiment of the present application. The embodiment of the present application also provides an electric device 100. Fig. 9As shown, the power-consuming device 100 may include one or more of the following components: a processor 170, a memory 180, and one or more applications, wherein the one or more applications may be stored in the memory 180 and configured to be executed by one or more processors 170, and the one or more programs are configured to execute the power calculation method as described in the aforementioned method embodiment.
[0129] The processor 170 may include one or more processing cores. The processor 170 uses various interfaces and lines to connect the various parts of the entire power-consuming device 100, and executes various functions and processes data of the power-consuming device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 180, and calling data stored in the memory 180. Optionally, the processor 170 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 170 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 170, but may be implemented separately through a communication chip.
[0130] The memory 180 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). The memory 180 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 180 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the electrical device 100 during use, etc. A person of ordinary skill in the art will appreciate that Fig. 9 The structure shown is only for illustration and does not limit the structure of the above-mentioned electric device 100. For example, the electric device 100 may also include Fig. 9 More or fewer components as shown, or with Fig. 9 Different configurations shown.
[0131] An embodiment of the present application also provides a storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the power calculation method are implemented.
[0132] In summary, the embodiments of the present application provide a method, device, network system, power consumption equipment and storage medium for calculating power. After obtaining the current temperature of the target battery, the total discharge capacity of the target battery corresponding to the current temperature is obtained according to the pre-stored correspondence between the temperature and the total discharge capacity of the battery. Then, the remaining discharge capacity of the target battery is calculated according to the total discharge capacity of the target battery and the consumed power of the target battery. Thus, by calculating the remaining discharge capacity of the battery in combination with the effect of temperature on the total discharge capacity of the battery, the problem of low accuracy of the remaining discharge capacity estimation caused by ignoring the effect of temperature can be avoided, thereby improving the accuracy of the calculated remaining discharge capacity.
[0133] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0134] In addition, the functional modules in the various embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0135] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0136] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for calculating electric quantity, characterized in that: include: Get the current temperature of the target battery; Obtaining a target total battery discharge capacity corresponding to the current temperature according to a pre-stored correspondence between the temperature and the total battery discharge capacity; Calculating the consumed power of the target battery; Calculating the remaining discharge capacity of the target battery according to the total discharge capacity of the target battery and the consumed power of the target battery; The correspondence between the pre-stored temperature and the total discharge capacity of the battery is obtained in the following manner: From the curve graph corresponding to the target battery, a target discharge cycle corresponding to the preset voltage value under different temperatures and preset discharge current values is obtained, wherein the curve graph corresponding to the target battery is a pre-stored discharge curve graph corresponding to the target battery type, including multiple discharge curves corresponding to different temperatures, each of the discharge curves including a corresponding relationship between a voltage value and a discharge cycle; the preset voltage value is the minimum operating voltage of the electrical equipment where the target battery is located; According to the target discharge cycle at different temperatures and the preset discharge current value, the total battery discharge capacity corresponding to the target battery at different temperatures is calculated; The obtained different temperatures and the total discharge capacity of the battery at the different temperatures are fitted to obtain the corresponding relationship between the temperature and the total discharge capacity of the battery.
2. The method according to claim 1, characterized in that The calculating the consumed power of the target battery includes: Calculating a first amount of electricity consumed by the target battery due to self-discharge according to the self-discharge time, the self-discharge rate and the total discharge amount of the target battery; A second amount of electricity consumed by the target battery due to power supply is calculated, wherein the consumed electricity includes the first amount of electricity and the second amount of electricity.
3. The method according to claim 1, characterized in that After calculating the remaining discharge capacity of the target battery according to the total discharge capacity of the target battery and the consumed power of the target battery, the method further includes: A power prompt message is sent according to the remaining dischargeable power.
4. The method according to claim 3, characterized in that The sending of power prompt information according to the remaining dischargeable power includes: Calculating a remaining discharge capacity ratio according to the remaining discharge capacity and the target total discharge capacity of the battery; The power prompt information is sent according to the remaining dischargeable power ratio.
5. A power calculation device, characterized in that: include: A temperature acquisition module is used to obtain the current temperature of the target battery; a total discharge capacity determination module, configured to obtain a target total battery discharge capacity corresponding to the current temperature according to a pre-stored correspondence between the temperature and the total battery discharge capacity; A first calculation module, used for calculating the consumed power of the target battery; A second calculation module, used for calculating the remaining discharge capacity of the target battery according to the total discharge capacity of the target battery and the consumed power of the target battery; The correspondence between the pre-stored temperature and the total discharge capacity of the battery is obtained in the following manner: From the curve graph corresponding to the target battery, a target discharge cycle corresponding to the preset voltage value under different temperatures and preset discharge current values is obtained, wherein the curve graph corresponding to the target battery is a pre-stored discharge curve graph corresponding to the target battery type, including multiple discharge curves corresponding to different temperatures, each of the discharge curves including a corresponding relationship between a voltage value and a discharge cycle; the preset voltage value is the minimum operating voltage of the electrical equipment where the target battery is located; According to the target discharge cycle at different temperatures and the preset discharge current value, the total battery discharge capacity corresponding to the target battery at different temperatures is calculated; The obtained different temperatures and the total discharge capacity of the battery at the different temperatures are fitted to obtain the corresponding relationship between the temperature and the total discharge capacity of the battery.
6. A network system, characterized in that: The invention comprises a power-consuming device and a gateway in communication connection, wherein the power-consuming device is powered by a target battery, The power-consuming device is used to obtain the current temperature of the target battery; obtain the total discharge capacity of the target battery corresponding to the current temperature according to the correspondence between the temperature and the total discharge capacity of the battery stored in advance; calculate the consumed power of the target battery; calculate the remaining discharge capacity of the target battery according to the total discharge capacity of the target battery and the consumed power of the target battery; and send power prompt information to the gateway according to the remaining discharge capacity; The gateway is used to display or play the power prompt information; The correspondence between the pre-stored temperature and the total discharge capacity of the battery is obtained in the following manner: From the curve graph corresponding to the target battery, a target discharge cycle corresponding to the preset voltage value under different temperatures and preset discharge current values is obtained, wherein the curve graph corresponding to the target battery is a pre-stored discharge curve graph corresponding to the target battery type, including multiple discharge curves corresponding to different temperatures, each of the discharge curves including a corresponding relationship between a voltage value and a discharge cycle; the preset voltage value is the minimum operating voltage of the electrical equipment where the target battery is located; According to the target discharge cycle at different temperatures and the preset discharge current value, the total battery discharge capacity corresponding to the target battery at different temperatures is calculated; The obtained different temperatures and the total discharge capacity of the battery at the different temperatures are fitted to obtain the corresponding relationship between the temperature and the total discharge capacity of the battery.
7. A network system, characterized in that: The device comprises a power-consuming device, a gateway and a terminal device connected in communication, wherein the power-consuming device is powered by a target battery. The power-consuming device is used to obtain the current temperature of the target battery; obtain the total discharge capacity of the target battery corresponding to the current temperature according to the correspondence between the temperature and the total discharge capacity of the battery stored in advance; calculate the consumed power of the target battery; calculate the remaining discharge capacity of the target battery according to the total discharge capacity of the target battery and the consumed power of the target battery; and send power prompt information to the gateway according to the remaining discharge capacity; The gateway is used to send the received power prompt information to the terminal device; The terminal device is used to display or play the power prompt information; The correspondence between the pre-stored temperature and the total discharge capacity of the battery is obtained in the following manner: From the curve graph corresponding to the target battery, a target discharge cycle corresponding to the preset voltage value under different temperatures and preset discharge current values is obtained, wherein the curve graph corresponding to the target battery is a pre-stored discharge curve graph corresponding to the target battery type, including multiple discharge curves corresponding to different temperatures, each of the discharge curves including a corresponding relationship between a voltage value and a discharge cycle; the preset voltage value is the minimum operating voltage of the electrical equipment where the target battery is located; According to the target discharge cycle at different temperatures and the preset discharge current value, the total battery discharge capacity corresponding to the target battery at different temperatures is calculated; The obtained different temperatures and the total discharge capacity of the battery at the different temperatures are fitted to obtain the corresponding relationship between the temperature and the total discharge capacity of the battery.
8. An electrical device, characterized in that: The method comprises a processor, a memory and a computer program stored in the memory and executable on the processor, wherein the computer program implements the steps of the power calculation method according to any one of claims 1 to 4 when executed by the processor.
9. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the power calculation method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Monitoring system for electric quantity of lithium battery
CN102147450A
Cell electric quantity displaying method and device and mobile terminal
CN104391249A
Display method for terminal battery capacity, terminal and computer readable storage medium
CN107517494A
Battery life diagnosis device
JP2006053026A