Calculation method, device and equipment of battery discharge service power and medium
By acquiring the health status parameters of lithium batteries, determining the degree of aging, and calculating the discharge power, the problem of lag caused by overclocking after battery aging is solved, thus improving the stability and efficiency of the equipment.
Patent Information
- Application Number
- CN202511127131.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-12
- Publication Date
- 2025-11-14
AI Technical Summary
Existing lithium battery pack discharge algorithms cannot accurately calculate the maximum discharge power of the battery when dealing with aging issues, leading to device lag or sudden shutdown, which affects the user experience.
By acquiring the battery's health status parameters, determining the degree of aging, and identifying the target impedance compensation coefficient from the preset impedance compensation coefficient table, the internal resistance and discharge voltage are corrected, and the battery's discharge power is calculated.
It improves the stability of the battery after aging, reduces device lag, and enhances the efficiency of the battery pack and the user experience.
Smart Images

Figure CN120950795A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of battery technology, and in particular to a method, apparatus, device and medium for calculating the power used in battery discharge. Background Technology
[0002] With the continuous advancement of lithium battery technology, its application in consumer electronics products such as laptops and smartphones is becoming increasingly widespread. Lithium batteries, due to their high energy density, long cycle life, and low self-discharge rate, have become the preferred power source for portable electronic devices. However, as users' demands for device battery life and battery durability continue to increase, performance and aging issues of lithium batteries are gradually becoming more prominent.
[0003] Lithium-ion battery charge and discharge management primarily relies on the Battery Management System (BMS). This system monitors parameters such as battery voltage, current, and temperature to optimize the charging and discharging process, extending battery life and ensuring safe use. However, existing lithium-ion battery pack discharge algorithms have shortcomings in handling battery aging issues. As batteries age, their internal chemical and physical properties change, such as electrolyte decomposition and electrode material degradation. These changes lead to increased internal resistance and decreased capacity. When batteries age, existing algorithms cannot accurately calculate the maximum discharge power required at that time, resulting in over-discharge and causing device lag or even sudden shutdowns, severely impacting user experience. Summary of the Invention
[0004] In view of this, the purpose of this application is to provide a method, device, equipment and medium for calculating the power of battery discharge, which automatically calls the corresponding compensation coefficient according to the battery of different degrees of aging, thereby calculating the maximum discharge power that the target device can support. This solves the problem that the battery is prone to lag or even shutdown when overclocking after aging, reduces the lag phenomenon of the device, improves the efficiency of the battery pack, and enhances the user's performance experience in the later use of the product.
[0005] In a first aspect, embodiments of this application provide a method for calculating the power used in battery discharge, the calculation method comprising: Obtain the health status parameters of the battery in the target device, and determine whether the battery has reached the battery aging judgment standard based on the health status parameters; If so, then determine the target aging degree parameter of the battery, and determine the target impedance compensation coefficient corresponding to the target aging degree parameter from the preset impedance compensation coefficient table; The current operating parameters of the battery are determined, and the discharge power of the battery is calculated based on the target impedance compensation coefficient and the current operating parameters, so that the battery outputs power at the discharge power.
[0006] Furthermore, the current operating parameters include the battery's current internal resistance and current discharge voltage. The calculation of the battery's discharge power based on the target impedance compensation coefficient and the battery's current operating parameters includes: The current internal resistance of the battery is corrected using the target impedance compensation coefficient to obtain the compensated internal resistance. Based on the compensated internal resistance and the current discharge voltage, calculate the corrected discharge current of the battery; The corrected discharge current, the current discharge voltage, and the minimum terminal voltage of the target device are substituted into a pre-constructed power calculation formula to calculate the discharge power of the battery.
[0007] Furthermore, the power calculation formula is expressed by the following formula:
[0008] in, This indicates the power used for the discharge. This indicates the current discharge voltage. This represents the minimum terminal voltage. This indicates the corrected discharge current.
[0009] Furthermore, the health status parameters include the total operating time and number of charge cycles of the battery. The step of determining whether the battery has reached the battery aging criteria based on the health status parameters includes: Determine whether the total running time is greater than or equal to a preset running time threshold, and whether the number of cycle charging is greater than or equal to a preset number of charging threshold; If the total running time is greater than or equal to a preset running time threshold, and / or the number of charge cycles is greater than or equal to a preset number of charge cycles threshold, then the battery is considered to have reached the battery aging judgment standard.
[0010] Furthermore, the preset impedance compensation coefficient table is constructed through the following steps: For each sample battery with different aging levels, obtain the aging level sample parameters and the impedance compensation sample coefficient of the sample battery. Plot the compensation coefficient variation curve based on the aging degree, sample parameters, and impedance compensation sample coefficients of each sample battery; The preset impedance compensation coefficient table is constructed based on the compensation coefficient variation curve.
[0011] Furthermore, if the compensation coefficient variation curve contains discrete points where there is no preset impedance compensation coefficient, the calculation method further includes the following after plotting the compensation coefficient variation curve: The preset impedance compensation coefficient corresponding to the discrete point is calculated by interpolation, so that the curve of the compensation coefficient change can be redrawn.
[0012] Furthermore, the target aging parameter for the battery is determined as follows: Determine the current state parameters of the battery; The first impedance change parameter corresponding to the current state parameter is determined from the first impedance change trend table, and the aging degree parameter corresponding to the first impedance change parameter is used as the target aging degree parameter. or, The second impedance change parameter corresponding to the number of battery charge cycles is determined from the second impedance change trend table, and the aging degree parameter corresponding to the second impedance change parameter is used as the target aging degree parameter.
[0013] Secondly, embodiments of this application also provide a device for calculating the power used in battery discharge, the device comprising: The judgment module is used to obtain the health status parameters of the battery in the target device, and to determine whether the battery has reached the battery aging judgment standard based on the health status parameters. The impedance compensation coefficient determination module is used to determine the target aging degree parameter of the battery if the condition is met, and to determine the target impedance compensation coefficient corresponding to the target aging degree parameter from a preset impedance compensation coefficient table. The discharge power calculation module is used to determine the current operating parameters of the battery, and calculate the discharge power of the battery based on the target impedance compensation coefficient and the current operating parameters, so that the battery outputs power at the discharge power.
[0014] Thirdly, embodiments of this application also provide an electronic device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, the steps of the battery discharge power calculation method described above are performed.
[0015] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the method for calculating the power used by battery discharge as described above.
[0016] This application provides a method, apparatus, device, and medium for calculating the discharge power of a battery. First, the health status parameters of the battery in the target device are obtained, and it is determined whether the battery has reached the battery aging judgment standard based on the health status parameters. If so, the target aging degree parameter of the battery is determined, and the target impedance compensation coefficient corresponding to the target aging degree parameter is determined from a preset impedance compensation coefficient table. The current operating parameters of the battery are determined, and the discharge power of the battery is calculated based on the target impedance compensation coefficient and the current operating parameters, so that the battery outputs power at the discharge power.
[0017] This application determines the corresponding impedance compensation coefficient by analyzing the aging parameters of the battery cell impedance as it changes over time. Based on this coefficient, it automatically calculates the discharge power that the target device can support. The battery then outputs power at this discharge power to ensure the normal operation of the target device. In this way, by automatically applying the corresponding compensation coefficient according to the battery's different degrees of aging, the maximum discharge power that the target device can support is calculated. This solves the problem of lag or even shutdown when overclocking after battery aging, reducing device lag and improving battery pack efficiency, while also enhancing the user's performance experience in the long run. Furthermore, the impedance compensation coefficient also improves the accuracy of the device's adaptive discharge.
[0018] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0019] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 A flowchart illustrating a method for calculating battery discharge power provided in an embodiment of this application; Figure 2 This is one of the structural schematic diagrams of a battery discharge power calculation device provided in an embodiment of this application; Figure 3 A second schematic diagram of a battery discharge power calculation device provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0021] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of this application. Based on the embodiments of this application, every other embodiment obtained by those skilled in the art without inventive effort falls within the scope of protection of this application.
[0022] First, the applicable scenarios for this application will be introduced. This application can be applied to the field of battery technology.
[0023] With the continuous advancement of lithium battery technology, its application in consumer electronics products such as laptops and smartphones is becoming increasingly widespread. Lithium batteries, due to their high energy density, long cycle life, and low self-discharge rate, have become the preferred power source for portable electronic devices. However, as users' demands for device battery life and battery durability continue to increase, performance and aging issues of lithium batteries are gradually becoming more prominent.
[0024] Research has found that lithium battery charge and discharge management primarily relies on the Battery Management System (BMS). This system monitors parameters such as battery voltage, current, and temperature to optimize the charging and discharging process, thereby extending battery life and ensuring safe use. However, existing lithium battery pack discharge algorithms have shortcomings in handling battery aging issues. As battery usage time increases, the internal chemical and physical properties of the battery change, such as electrolyte decomposition and electrode material degradation. These changes lead to increased internal resistance and decreased capacity. When the battery ages, existing algorithms cannot accurately calculate the maximum discharge power of the battery at that time, resulting in over-exploitation and causing device lag or even sudden shutdown, severely impacting the user experience.
[0025] Based on this, the embodiments of this application provide a method for calculating the power used by battery discharge, which solves the problem that batteries are prone to lag or even shutdown when overclocked after aging, reduces the lag phenomenon of the device, improves the efficiency of battery pack use, and enhances the user's performance experience when using the product in the later stages.
[0026] Please see Figure 1 , Figure 1 This is a flowchart illustrating a method for calculating the power used in battery discharge, as provided in an embodiment of this application. Figure 1 As shown in the embodiments of this application, the calculation method includes: S101, obtain the health status parameters of the battery in the target device, and determine whether the battery has reached the battery aging judgment standard based on the health status parameters.
[0027] Here, the target device can be an electronic device that requires lithium battery power, such as a laptop or tablet, and this application does not specifically limit it.
[0028] Regarding step S101 above, in specific implementation, the health status parameters of the battery in the target device are obtained, and the battery is judged to have reached the battery aging judgment standard based on the battery health status parameters.
[0029] As an optional embodiment, the health status parameters include the battery's total operating time and the number of charge cycles. Specifically, regarding step S101 above, determining whether the battery has reached the battery aging judgment standard based on the health status parameters includes: Step 1011: Determine whether the total running time is greater than or equal to a preset running time threshold, and whether the number of cycle charging is greater than or equal to a preset number of charging threshold.
[0030] Step 1012: If the total running time is greater than or equal to a preset running time threshold, and / or the number of charge cycles is greater than or equal to a preset number of charge cycles threshold, then the battery is considered to have reached the battery aging judgment standard.
[0031] Regarding steps 1011-1012 above, in specific implementation, it is determined whether the total operating time of the battery is greater than or equal to a preset operating time threshold, and whether the number of battery charge cycles is greater than or equal to a preset charge cycle threshold. If either of the above two conditions is met, that is, if the total operating time is greater than or equal to the preset operating time threshold, and / or the number of charge cycles is greater than or equal to the preset charge cycle threshold, then the battery is considered to have reached the battery aging judgment standard.
[0032] S102, if so, then determine the target aging degree parameter of the battery, and determine the target impedance compensation coefficient corresponding to the target aging degree parameter from the preset impedance compensation coefficient table.
[0033] Here, the battery aging parameter is a core indicator for assessing battery health. As an optional implementation, it can be determined comprehensively through methods such as capacity testing, internal resistance measurement, and cycle life analysis. The preset impedance compensation coefficient table is a pre-built mapping table between the aging parameter and the impedance compensation coefficient. The impedance compensation coefficient is a parameter used in battery management systems or power control to correct the impact of battery internal resistance on discharge power. Its core purpose is to optimize the estimation accuracy of the battery's actual usable power by adjusting the weight of internal resistance in power calculation, thereby improving system efficiency or extending battery life.
[0034] Regarding step S102 above, in specific implementation, the aging degree parameters of the battery are first determined. This can be obtained using methods for determining battery aging degree parameters in existing technologies. Then, based on the determined aging degree parameters, the target impedance compensation coefficient corresponding to the aging degree parameters is determined from a pre-built preset impedance compensation coefficient table. In this way, the corresponding compensation coefficient can be automatically called according to the current aging state of the battery.
[0035] As an optional embodiment, the target aging parameter of the battery can also be determined in the following two ways: Method 1: Determine the current state parameters of the battery; determine the first impedance change parameter corresponding to the current state parameters from the first impedance change trend table, and use the aging degree parameter corresponding to the first impedance change parameter as the target aging degree parameter.
[0036] Here, the first impedance change trend table is a pre-built mapping table between the battery's state parameters and impedance change parameters.
[0037] Regarding Method 1 above, in specific implementation, the current state parameters of the battery are first obtained. Here, as an example, the current state parameters of the battery can be the battery's voltage and temperature, or other common battery state parameters in the prior art; this application does not specifically limit this. Then, the first impedance change parameter corresponding to the current state parameter is determined from a pre-constructed first impedance change trend table. Based on a pre-defined mapping relationship between the impedance change parameter and the aging degree parameter, the aging degree parameter corresponding to the first impedance change parameter is determined as the target aging degree parameter.
[0038] Method 2: Determine the second impedance change parameter corresponding to the number of battery charge cycles from the second impedance change trend table, and use the aging degree parameter corresponding to the second impedance change parameter as the target aging degree parameter.
[0039] Here, the second impedance change trend table is a pre-built mapping table between the number of battery charge cycles and impedance change parameters.
[0040] Regarding Method 2 above, in specific implementation, firstly, the number of battery charge cycles is obtained, and then the second impedance change parameter corresponding to the number of charge cycles is determined from a pre-constructed second impedance change trend table. Then, based on a pre-defined mapping relationship between the impedance change parameter and the aging degree parameter, the aging degree parameter corresponding to the second impedance change parameter is determined, and used as the target aging degree parameter.
[0041] Since the impedance change parameter of a battery is a key window for understanding the internal electrochemical processes, assessing its health, power performance, and safety, and this parameter changes with the battery's aging process, the aging degree parameter of the battery can be further determined by determining the impedance change parameter, based on the two methods mentioned above for determining the target aging degree parameter.
[0042] Specifically, according to the calculation method provided in the embodiments of this application, the preset impedance compensation coefficient table is constructed through the following steps: A: For each sample battery with different aging levels, obtain the aging level sample parameters and the impedance compensation sample coefficient of the sample battery.
[0043] B: Plot the compensation coefficient variation curve based on the aging degree, sample parameters, and impedance compensation sample coefficient of each sample battery.
[0044] Regarding steps A-B above, in practice, for each sample battery with different aging levels, the aging level sample parameters and the impedance compensation sample coefficient are obtained. Here, both the aging level sample parameters and the impedance compensation sample coefficient are pre-set parameters, and these two parameters can be directly obtained for different sample batteries. Then, a compensation coefficient variation curve is plotted based on the aging level sample parameters and impedance compensation sample coefficient for each sample battery. In this way, by pre-collecting impedance measurements from batteries with different aging levels and calculating the corresponding compensation coefficients, subsequent steps can automatically call upon these parameters for appropriate compensation.
[0045] Here, as an optional embodiment, if the compensation coefficient variation curve contains discrete points where there is no preset impedance compensation coefficient, the calculation method further includes the following after plotting the compensation coefficient variation curve: The preset impedance compensation coefficient corresponding to the discrete point is calculated by interpolation, so that the curve of the compensation coefficient change can be redrawn.
[0046] Regarding the above steps, in practice, the plotted compensation coefficient variation curve may contain discrete points where no preset impedance compensation coefficient exists. In this case, the preset impedance compensation coefficient corresponding to the discrete points without a preset impedance compensation coefficient is calculated using interpolation, and the compensation coefficient variation curve is redrawn based on the calculated preset impedance compensation coefficient. In this way, the compensation coefficient corresponding to an unknown point in the compensation coefficient variation curve is estimated using interpolation, thereby improving the accuracy of the determined compensation coefficient.
[0047] C: Construct the preset impedance compensation coefficient table based on the compensation coefficient variation curve.
[0048] Regarding step C above, in specific implementation, after plotting the compensation coefficient change curve, a preset impedance compensation coefficient table is constructed based on the compensation coefficient change curve.
[0049] S103, determine the current operating parameters of the battery, and calculate the discharge power of the battery based on the target impedance compensation coefficient and the current operating parameters, so that the battery outputs power at the discharge power.
[0050] Here, the discharge power refers to the actual power output during the battery discharge process.
[0051] Regarding step S103 above, in specific implementation, after determining the target impedance compensation coefficient corresponding to the battery aging degree parameter in step S102, the current operating parameters of the battery are determined. Based on the target impedance compensation coefficient and the current operating parameters of the battery, the discharge power used by the battery is calculated. In this way, the battery outputs power according to the calculated discharge power, ensuring the normal operation of the target device.
[0052] As an optional embodiment, the current operating parameters of the battery include the battery's current internal resistance and current discharge voltage. Specifically, regarding step S103 above, calculating the battery's discharge power based on the target impedance compensation coefficient and the battery's current operating parameters includes: Step 1031: Correct the current internal resistance of the battery using the target impedance compensation coefficient to obtain the compensated internal resistance.
[0053] Here, since battery aging leads to an increase in internal resistance, a target impedance compensation coefficient needs to be introduced to correct the battery's current internal resistance. Regarding step 1031 above, in practical implementation, the determined target impedance compensation coefficient is used to correct the battery's current internal resistance to obtain the compensated internal resistance.
[0054] Step 1032: Calculate the corrected discharge current of the battery based on the compensated internal resistance and the current discharge voltage.
[0055] Regarding step 1032 above, in specific implementation, based on Ohm's law, the corrected discharge current of the battery is calculated based on the compensated internal resistance and the current discharge voltage of the battery.
[0056] Step 1033: Substitute the corrected discharge current, the current discharge voltage, and the minimum terminal voltage of the target device into the pre-constructed power calculation formula to calculate the discharge power of the battery.
[0057] Here, the minimum terminal voltage of the target device refers to the shutdown voltage of the target device, which is usually fixed and depends on the device design.
[0058] In specific implementation of step 1033, the corrected discharge current, the current discharge voltage of the battery, and the minimum terminal voltage of the target device calculated in step 1032 are substituted into the pre-constructed power calculation formula to calculate the discharge power of the battery.
[0059] Specifically, the power calculation formula is expressed by the following formula:
[0060] in, This indicates the battery's discharge power. This indicates the current discharge voltage of the battery. This indicates the minimum terminal voltage of the battery. This indicates the corrected discharge current of the battery.
[0061] The method for calculating battery discharge power provided in this application embodiment first obtains the health status parameters of the battery in the target device, and determines whether the battery has reached the battery aging judgment standard based on the health status parameters; if so, it determines the target aging degree parameter of the battery, and determines the target impedance compensation coefficient corresponding to the target aging degree parameter from a preset impedance compensation coefficient table; it determines the current operating parameters of the battery, and calculates the discharge power of the battery based on the target impedance compensation coefficient and the current operating parameters, so that the battery outputs power at the discharge power.
[0062] This application determines the corresponding impedance compensation coefficient by analyzing the aging parameters of the battery cell impedance as it changes over time. Based on this coefficient, it automatically calculates the discharge power that the target device can support. The battery then outputs power at this discharge power to ensure the normal operation of the target device. In this way, by automatically applying the corresponding compensation coefficient according to the battery's different degrees of aging, the maximum discharge power that the target device can support is calculated. This solves the problem of lag or even shutdown when overclocking after battery aging, reducing device lag and improving battery pack efficiency, while also enhancing the user's performance experience in the long run. Furthermore, the impedance compensation coefficient also improves the accuracy of the device's adaptive discharge.
[0063] Please see Figure 2 , Figure 3 , Figure 2 This is one of the structural schematic diagrams of a battery discharge power calculation device provided in an embodiment of this application. Figure 3 This is a second schematic diagram of a battery discharge power calculation device provided in an embodiment of this application. Figure 2 As shown, the computing device 200 includes: The judgment module 201 is used to obtain the health status parameters of the battery in the target device, and judge whether the battery has reached the battery aging judgment standard based on the health status parameters. The impedance compensation coefficient determination module 202 is used to determine the target aging degree parameter of the battery if the condition is met, and to determine the target impedance compensation coefficient corresponding to the target aging degree parameter from the preset impedance compensation coefficient table. The discharge power calculation module 203 is used to determine the current operating parameters of the battery, and calculate the discharge power of the battery based on the target impedance compensation coefficient and the current operating parameters, so that the battery outputs power at the discharge power.
[0064] Furthermore, the current operating parameters include the current internal resistance and current discharge voltage of the battery. When calculating the discharge power usage of the battery based on the target impedance compensation coefficient and the current operating parameters of the battery, the discharge power usage calculation module 203 is also used for: The current internal resistance of the battery is corrected using the target impedance compensation coefficient to obtain the compensated internal resistance. Based on the compensated internal resistance and the current discharge voltage, calculate the corrected discharge current of the battery; The corrected discharge current, the current discharge voltage, and the minimum terminal voltage of the target device are substituted into a pre-constructed power calculation formula to calculate the discharge power of the battery.
[0065] Furthermore, the power calculation formula is expressed by the following formula:
[0066] in, This indicates the power used for the discharge. This indicates the current discharge voltage. This represents the minimum terminal voltage. This indicates the corrected discharge current.
[0067] Furthermore, the health status parameters include the total operating time and number of charge cycles of the battery. When the judgment module 201 is used to determine whether the battery has reached the battery aging judgment standard based on the health status parameters, the judgment module 201 is also used to: Determine whether the total running time is greater than or equal to a preset running time threshold, and whether the number of cycle charging is greater than or equal to a preset number of charging threshold; If the total running time is greater than or equal to a preset running time threshold, and / or the number of charge cycles is greater than or equal to a preset number of charge cycles threshold, then the battery is considered to have reached the battery aging judgment standard.
[0068] For further details, please refer to Figure 3 The computing device 200 further includes a compensation coefficient table construction module 204, which is used to construct the preset impedance compensation coefficient table through the following steps: For each sample battery with different aging levels, obtain the aging level sample parameters and the impedance compensation sample coefficient of the sample battery. Plot the compensation coefficient variation curve based on the aging degree, sample parameters, and impedance compensation sample coefficients of each sample battery; The preset impedance compensation coefficient table is constructed based on the compensation coefficient variation curve.
[0069] Furthermore, if the compensation coefficient variation curve contains discrete points where no preset impedance compensation coefficient exists, after plotting the compensation coefficient variation curve, the compensation coefficient table construction module 204 is further configured to: The preset impedance compensation coefficient corresponding to the discrete point is calculated by interpolation, so that the curve of the compensation coefficient change can be redrawn.
[0070] Furthermore, when determining the target aging parameter of the battery, the impedance compensation coefficient determination module 202 is also used to: Determine the current state parameters of the battery; The first impedance change parameter corresponding to the current state parameter is determined from the first impedance change trend table, and the aging degree parameter corresponding to the first impedance change parameter is used as the target aging degree parameter. or, The second impedance change parameter corresponding to the number of battery charge cycles is determined from the second impedance change trend table, and the aging degree parameter corresponding to the second impedance change parameter is used as the target aging degree parameter.
[0071] Please see Figure 4 , Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 4 As shown, the electronic device 400 includes a processor 410, a memory 420, and a bus 430.
[0072] The memory 420 stores machine-readable instructions executable by the processor 410. When the electronic device 400 is running, the processor 410 communicates with the memory 420 via the bus 430. When the machine-readable instructions are executed by the processor 410, they can perform the operations described above. Figure 1 The steps of the method for calculating the power used for battery discharge in the illustrated method embodiment can be found in the method embodiment for specific implementation, and will not be repeated here.
[0073] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, can perform the above-described actions. Figure 1 The steps of the method for calculating the power used for battery discharge in the illustrated method embodiment can be found in the method embodiment for specific implementation, and will not be repeated here.
[0074] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0075] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the shown or discussed mutual couplings, direct couplings, or communication connections may be through some communication interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.
[0076] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0077] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0078] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0079] Finally, it should be noted that the above-described embodiments are merely specific implementations of this application, used to illustrate the technical solutions of this application, and not to limit them. The scope of protection of this application is not limited thereto. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this application. Such modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for calculating the power used during battery discharge, characterized in that, The calculation method includes: Obtain the health status parameters of the battery in the target device, and determine whether the battery has reached the battery aging judgment standard based on the health status parameters; If so, then determine the target aging degree parameter of the battery, and determine the target impedance compensation coefficient corresponding to the target aging degree parameter from the preset impedance compensation coefficient table; The current operating parameters of the battery are determined, and the discharge power of the battery is calculated based on the target impedance compensation coefficient and the current operating parameters, so that the battery outputs power at the discharge power.
2. The calculation method according to claim 1, characterized in that, The current operating parameters include the battery's current internal resistance and current discharge voltage. The calculation of the battery's discharge power based on the target impedance compensation coefficient and the battery's current operating parameters includes: The current internal resistance of the battery is corrected using the target impedance compensation coefficient to obtain the compensated internal resistance. Based on the compensated internal resistance and the current discharge voltage, calculate the corrected discharge current of the battery; The corrected discharge current, the current discharge voltage, and the minimum terminal voltage of the target device are substituted into a pre-constructed power calculation formula to calculate the discharge power of the battery.
3. The calculation method according to claim 2, characterized in that, The power calculation formula is expressed by the following formula: in, This indicates the power used for the discharge. This indicates the current discharge voltage. This represents the minimum terminal voltage. This indicates the corrected discharge current.
4. The calculation method according to claim 1, characterized in that, The health status parameters include the total operating time and number of charge cycles of the battery. The step of determining whether the battery has reached the battery aging criteria based on the health status parameters includes: Determine whether the total running time is greater than or equal to a preset running time threshold, and whether the number of cycle charging is greater than or equal to a preset number of charging threshold; If the total running time is greater than or equal to a preset running time threshold, and / or the number of charge cycles is greater than or equal to a preset number of charge cycles threshold, then the battery is considered to have reached the battery aging judgment standard.
5. The calculation method according to claim 1, characterized in that, The preset impedance compensation coefficient table is constructed using the following steps: For each sample battery with different aging levels, obtain the aging level sample parameters and the impedance compensation sample coefficient of the sample battery. Plot the compensation coefficient variation curve based on the aging degree, sample parameters, and impedance compensation sample coefficients of each sample battery; The preset impedance compensation coefficient table is constructed based on the compensation coefficient variation curve.
6. The calculation method according to claim 5, characterized in that, If the compensation coefficient variation curve contains discrete points where there is no preset impedance compensation coefficient, the calculation method further includes the following after plotting the compensation coefficient variation curve: The preset impedance compensation coefficient corresponding to the discrete point is calculated by interpolation, so that the curve of the compensation coefficient change can be redrawn.
7. The calculation method according to claim 1, characterized in that, The target aging parameter of the battery is obtained as follows: Determine the current state parameters of the battery; The first impedance change parameter corresponding to the current state parameter is determined from the first impedance change trend table, and the aging degree parameter corresponding to the first impedance change parameter is used as the target aging degree parameter. or, The second impedance change parameter corresponding to the number of battery charge cycles is determined from the second impedance change trend table, and the aging degree parameter corresponding to the second impedance change parameter is used as the target aging degree parameter.
8. A device for calculating the power used in battery discharge, characterized in that, The computing device includes: The judgment module is used to obtain the health status parameters of the battery in the target device, and to determine whether the battery has reached the battery aging judgment standard based on the health status parameters. The impedance compensation coefficient determination module is used to determine the target aging degree parameter of the battery if the condition is met, and to determine the target impedance compensation coefficient corresponding to the target aging degree parameter from a preset impedance compensation coefficient table. The discharge power calculation module is used to determine the current operating parameters of the battery, and calculate the discharge power of the battery based on the target impedance compensation coefficient and the current operating parameters, so that the battery outputs power at the discharge power.
9. An electronic device, characterized in that, include: The device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. The machine-readable instructions are executed by the processor to perform the steps of the method for calculating the power used by battery discharge as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the method for calculating the power used by battery discharge as described in any one of claims 1 to 7.