Battery charging method, device, electronic device and storage medium

During the battery charging process, the battery is heated in the highest power mode using a heat pump and air conditioner and switched to the high-efficiency mode when the SOC switching threshold is reached, the problem of waste of energy consumption by fast charging of the battery is solved and the energy consumption optimization is achieved.

CN116552271BActive Publication Date: 2025-08-26BEIJING ELECTRIC VEHICLE
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310735726.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-20
Publication Date
2025-08-26
Estimated Expiration
2043-06-20

AI Technical Summary

Technical Problem

In the prior art, high-end pure electric vehicles use the highest power to heat the battery during fast charging heating, resulting in waste of energy consumption.

Method used

At the start of battery charging, the heat pump air conditioner heats the battery in the highest power mode, obtains the starting state of charge SOC and the starting battery temperature, determines the target SOC switching threshold, and switches to the efficient operation mode to heat at non-highest power when the SOC reaches the target SOC switching threshold.

Benefits of technology

While keeping the fastest charging time unchanged, the energy consumption of heat pump and air conditioners is reduced and energy consumption waste is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116552271B_ABST
    Figure CN116552271B_ABST
Patent Text Reader

Abstract

The present invention provides a battery charging method, device, electronic device, and storage medium. The method includes: when charging a battery, controlling a heat pump air conditioner to heat the battery, wherein the heat pump air conditioner is in a maximum power mode and, in the maximum power mode, uses the maximum power to heat the battery; obtaining the battery's initial SOC and initial battery temperature; determining a target SOC switching threshold corresponding to the battery's initial SOC and initial battery temperature; and when the battery's current SOC reaches the sum of the initial SOC and the target SOC switching threshold, controlling the heat pump air conditioner to switch from the maximum power mode to a high-efficiency operating mode, wherein the heat pump air conditioner uses a non-maximum power to heat the battery. This allows the heat pump air conditioner to be controlled to switch from the maximum power mode to the high-efficiency operating mode, thereby reducing its energy consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of charging management, and in particular to a battery charging method, device, electronic device and storage medium. Background Art

[0002] With the development of new energy vehicles, the energy consumption of batteries during fast charging and heating has also received considerable attention. Currently, high-end pure electric vehicles utilize heat pump air conditioning for fast charging and heating of batteries. However, typical fast charging and heating solutions utilize the highest power to heat the battery in order to achieve the fastest charging time, which results in a certain amount of energy waste. Summary of the Invention

[0003] In order to solve the above technical problems, the present invention provides a battery charging method, device, electronic device and storage medium, which solve the problem of energy waste caused by using the highest power to heat the battery.

[0004] In a first aspect, the present invention provides a method for charging a battery, comprising:

[0005] When charging the battery begins, controlling the heat pump air conditioner to heat the battery, wherein the heat pump air conditioner is in a maximum power mode, in which the heat pump air conditioner uses the maximum power to heat the battery;

[0006] Obtaining an initial state of charge (SOC) and an initial battery temperature of the battery;

[0007] determining a target SOC switching threshold corresponding to a starting SOC and a starting battery temperature of the battery;

[0008] When the current SOC of the battery reaches the sum of the starting SOC and the target SOC switching threshold, the heat pump air conditioner is controlled to switch from the maximum power mode to the high-efficiency working mode. In the high-efficiency working mode, the heat pump air conditioner uses non-maximum power to heat the battery.

[0009] Optionally, determining the target SOC switching threshold includes:

[0010] Obtain multiple self-learning SOC switching thresholds;

[0011] The target SOC switching threshold is determined according to an average value of a plurality of the self-learning SOC switching thresholds.

[0012] Optionally, obtaining multiple self-learning SOC switching thresholds includes:

[0013] Establish multiple two-dimensional arrays; the rows of the two-dimensional arrays represent the starting SOC, and the multiple starting SOCs are divided into multiple SOC intervals; the columns of the two-dimensional arrays represent the starting battery temperature, and the multiple starting battery temperatures are divided into multiple battery temperature intervals; the two-dimensional arrays are used to store self-learning SOC switching thresholds at different starting SOCs and starting battery temperatures;

[0014] Obtaining an actual value of the time taken for the battery to be charged to SOC 80% using the target SOC switching threshold as the SOC switching threshold;

[0015] Obtaining a time-consuming calibration value for charging the battery to SOC 80%;

[0016] Comparing the actual time consumption value with the calibrated time consumption value;

[0017] According to the comparison result, adjusting the SOC switching threshold to the right of the battery temperature range where the target SOC switching threshold is located;

[0018] Determine the current self-learning SOC switching threshold according to the SOC switching threshold on the right side of the battery temperature range where the adjusted target SOC switching threshold is located;

[0019] The self-learning SOC switching threshold in the last two-dimensional array is cleared, and the self-learning SOC switching thresholds in the remaining two-dimensional arrays are shifted back in sequence. The first two-dimensional array stores the current self-learning SOC switching threshold.

[0020] Optionally, adjusting the SOC switching threshold on the right side of the battery temperature interval where the target SOC switching threshold is located includes:

[0021] When the actual time consumption value is greater than the calibrated time consumption value, the SOC switching threshold on the right side of the battery temperature range where the target SOC switching threshold is located is set to -1.

[0022] Optionally, adjusting the SOC switching threshold on the right side of the battery temperature interval where the target SOC switching threshold is located further includes:

[0023] When the actual time consumption value is equal to the calibrated time consumption value, the SOC switching threshold on the right side of the battery temperature range where the target SOC switching threshold is located remains unchanged.

[0024] Optionally, adjusting the SOC switching threshold on the right side of the battery temperature interval where the target SOC switching threshold is located further includes:

[0025] When the actual time consumption value is less than the calibrated time consumption value, the SOC switching threshold to the right of the battery temperature range where the target SOC switching threshold is located is increased by 1.

[0026] In a second aspect, the present invention provides a battery charging device, comprising:

[0027] a control module, configured to control the heat pump air conditioner to heat the battery when charging of the battery begins, wherein the heat pump air conditioner is in a maximum power mode, in which the heat pump air conditioner uses the maximum power to heat the battery;

[0028] A first acquisition module is used to obtain the initial state of charge (SOC) and initial battery temperature of the battery;

[0029] a determination module, configured to determine a target SOC switching threshold corresponding to a starting SOC and a starting battery temperature of the battery;

[0030] A switching module is used to control the heat pump air conditioner to switch from the maximum power mode to the high-efficiency working mode when the current SOC of the battery reaches the sum of the starting SOC and the target SOC switching threshold. In the high-efficiency working mode, the heat pump air conditioner uses non-maximum power to heat the battery.

[0031] Optionally, the determining module includes:

[0032] An acquisition submodule, used to obtain multiple self-learning SOC switching thresholds;

[0033] The averaging submodule is configured to determine the target SOC switching threshold by averaging a plurality of the self-learning SOC switching thresholds.

[0034] In a third aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the battery charging method as described in the first aspect is implemented.

[0035] In a fourth aspect, the present invention provides an electronic device comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the battery charging method as described in the first aspect.

[0036] The beneficial effects of the embodiments of the present invention are:

[0037] In the above scheme, when charging of the battery begins, the heat pump air conditioner is controlled to heat the battery. The heat pump air conditioner is in a maximum power mode, in which it uses maximum power to heat the battery. The battery's initial state of charge (SOC) and initial battery temperature are obtained. A target SOC switching threshold corresponding to the battery's initial SOC and initial battery temperature is determined. When the battery's current SOC reaches the sum of the initial SOC and the target SOC switching threshold, the heat pump air conditioner is controlled to switch from the maximum power mode to a high-efficiency operating mode. In this high-efficiency operating mode, the heat pump air conditioner uses a lower power level to heat the battery. Thus, by controlling the heat pump air conditioner to switch from the maximum power mode to the high-efficiency mode, the heat pump air conditioner's energy consumption is reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 Schematic diagram of the process of the battery charging method provided by the embodiment of the present invention Figure 1 ;

[0039] Figure 2 Schematic diagram of the process of the battery charging method provided by the embodiment of the present invention Figure 2 ;

[0040] Figure 3 A schematic structural diagram of a battery charging device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0041] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0042] The terms "first," "second," and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of the present invention can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects. For example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0043] like Figure 1 As shown, an embodiment of the present invention provides a battery charging method, the method comprising:

[0044] Step 101: When charging the battery, control the heat pump air conditioner to heat the battery, wherein the heat pump air conditioner is in a maximum power mode, in which the heat pump air conditioner uses the highest power to heat the battery;

[0045] Step 102, obtaining the initial state of charge (SOC) and initial battery temperature of the battery;

[0046] Step 103 , determining a target SOC switching threshold corresponding to the starting SOC and starting battery temperature of the battery;

[0047] Step 104 : When the current SOC of the battery reaches the sum of the starting SOC and the target SOC switching threshold, the heat pump air conditioner is controlled to switch from the maximum power mode to the high-efficiency working mode. In the high-efficiency working mode, the heat pump air conditioner uses non-maximum power to heat the battery.

[0048] In the embodiment of the present invention, in order to ensure that the fastest charging time (the time for charging the SOC to 80%) remains unchanged, the energy consumption of the heat pump air conditioner during the fast charging process can be reduced. 总时间 Divided into the time t for fast charging and heating at the highest power 最高功率 and the time t for fast charging and heating at non-maximum power 非最高功率 Two intervals. The total fast charge time can be calculated as: t 总时间 =t 最高功率 +t 非最高功率 When charging the battery begins, the heat pump air conditioner is controlled to heat the battery, wherein the heat pump air conditioner is in a maximum power mode, in which the heat pump air conditioner uses the maximum power to heat the battery; the battery's initial state of charge (SOC) and initial battery temperature are obtained; a target SOC switching threshold corresponding to the battery's initial SOC and initial battery temperature is determined; when the battery's current SOC reaches the sum of the initial SOC and the target SOC switching threshold, the heat pump air conditioner is controlled to switch from the maximum power mode to a high-efficiency operating mode, in which the heat pump air conditioner uses a non-maximum power to heat the battery. In this way, by controlling the heat pump air conditioner to switch from the maximum power mode to the high-efficiency operating mode while maintaining the fastest charging time, the heat pump air conditioner's energy consumption can be reduced, thereby eliminating subsequent battery cooling steps.

[0049] In an optional embodiment of the present invention, step 103 includes:

[0050] Step 103a1, obtaining multiple self-learning SOC switching thresholds;

[0051] Step 103a2: determining the target SOC switching threshold according to an average value of a plurality of the self-learning SOC switching thresholds.

[0052] In an embodiment of the present invention, in order to determine the target SOC switching threshold corresponding to the starting SOC and starting battery temperature of the battery, a plurality of self-learning SOC switching thresholds are first obtained, and then the target SOC switching threshold is determined based on the average value of the plurality of self-learning SOC switching thresholds. The target SOC switching threshold may be calculated as follows: target SOC switching threshold = sum of the plurality of self-learning SOC switching thresholds / number of the plurality of self-learning SOC switching thresholds. The preferred number of self-learning SOC switching thresholds is 5, which is used to avoid a high mislearning rate. For example, when the number of self-learning SOC switching thresholds is equal to 5, once a mislearning occurs in a certain self-learning, the mislearning rate is 20%, which has little effect on the calculation of the target SOC switching threshold.

[0053] In an optional embodiment of the present invention, step 103a1 includes:

[0054] Step 103a11: Establish multiple two-dimensional arrays; the rows of the two-dimensional arrays represent the starting SOCs, and multiple starting SOCs are used to divide multiple SOC intervals; the columns of the two-dimensional arrays represent the starting battery temperatures, and multiple starting battery temperatures are used to divide multiple battery temperature intervals; the two-dimensional arrays are used to store self-learned SOC switching thresholds at different starting SOCs and starting battery temperatures;

[0055] Step 103a12, obtaining an actual time taken for the battery to be charged to SOC 80% using the target SOC switching threshold as the SOC switching threshold;

[0056] Step 103a13, obtaining a calibration value of the time taken to charge the battery to SOC 80%;

[0057] Step 103a14, comparing the actual time consumption value with the calibrated time consumption value;

[0058] Step 103a15: adjusting the SOC switching threshold on the right side of the battery temperature range where the target SOC switching threshold is located according to the comparison result;

[0059] Step 103a16, determining the current self-learning SOC switching threshold according to the SOC switching threshold on the right side of the battery temperature range where the adjusted target SOC switching threshold is located;

[0060] Step 103a17, clearing the self-learning SOC switching threshold in the last two-dimensional array, and shifting the self-learning SOC switching thresholds in the remaining two-dimensional arrays in sequence. The first two-dimensional array stores the current self-learning SOC switching threshold.

[0061] In an embodiment of the present invention, in order to obtain multiple self-learning SOC switching thresholds, it is necessary to establish multiple two-dimensional arrays, wherein the rows of the two-dimensional array represent the starting SOC, and multiple starting SOCs are divided into multiple SOC intervals; the columns of the two-dimensional array represent the starting battery temperature, and multiple starting battery temperatures are divided into multiple battery temperature intervals; the two-dimensional array is used to store the self-learning SOC switching thresholds at different starting SOCs and starting battery temperatures. Among them, considering that the starting SOC when the user actually starts charging the vehicle is usually lower than 60%, the preferred value range of the starting SOC is [0,60], and it is preferably divided into 60 SOC intervals on average; considering that in the usual heating strategy, the battery temperature needs to reach between 25°C and 30°C when the battery charging is completed, if the starting temperature of charging is lower than 25°C, it is necessary to start the heat pump air conditioner to heat the battery, and when the battery temperature reaches 20°C, the battery temperature can quickly reach 25°C through self-heating, and even if the heat pump air conditioner is not started, it will not have a significant impact. The preferred value range of the starting battery temperature is [-20,20], and it is preferably divided into 5 battery temperature intervals on average; the preferred number of two-dimensional arrays is 5, which can meet both a small mislearning rate and a sufficient but not large amount of data.

[0062] Obtaining an actual value of the time taken to charge the battery to 80% SOC using the target SOC switching threshold as the SOC switching threshold; obtaining a calibrated value of the time taken to charge the battery to 80% SOC; comparing the actual time taken with the calibrated time taken; and adjusting the SOC switching threshold to the right of the battery temperature range within which the target SOC switching threshold is located based on the comparison result. The comparison of the actual time taken with the calibrated time taken is divided into the following three situations:

[0063] When the actual time consumption value is greater than the time consumption calibration value, the SOC switching threshold on the right side of the battery temperature range where the target SOC switching threshold is located is -1; when the actual time consumption value is equal to the time consumption calibration value, the SOC switching threshold on the right side of the battery temperature range where the target SOC switching threshold is located remains unchanged; when the actual time consumption value is less than the time consumption calibration value, the SOC switching threshold on the right side of the battery temperature range where the target SOC switching threshold is located is increased by 1.

[0064] The current self-learning SOC switching threshold is determined based on the SOC switching threshold on the right side of the battery temperature range where the adjusted target SOC switching threshold is located. The self-learning SOC switching threshold can be calculated as follows: self-learning SOC switching threshold = DeltaSOC 左 -(TT 左 )*(DeltaSOC 左 -DeltaSOC右 ) / 10. In the formula, T is the battery temperature at the start of charging, T 左 The battery temperature value on the left side of the battery temperature range where the target SOC switching threshold is located, DeltaSOC 左 The SOC switching threshold is on the left side of the battery temperature range where the target SOC switching threshold is located, DeltaSOC 右 It is the SOC switching threshold on the right side of the battery temperature range where the target SOC switching threshold is located.

[0065] The self-learning SOC switching threshold in the last two-dimensional array is cleared, and the self-learning SOC switching thresholds in the remaining two-dimensional arrays are shifted back in sequence. The first two-dimensional array stores the current self-learning SOC switching threshold. The values ​​initially stored in each two-dimensional array are empirical values, which can be the same or different. These empirical values ​​are not used in the calculation of the self-learning SOC switching threshold or the target SOC switching threshold.

[0066] For a better understanding of the present invention, please refer to Figure 2 , Figure 2 Schematic diagram of the process of the battery charging method provided by the embodiment of the present invention Figure 2 .

[0067] like Figure 2 As shown, first, when the battery starts to be charged, the heat pump air conditioner is controlled to heat the battery, wherein the heat pump air conditioner is in the highest power mode, in which the heat pump air conditioner uses the highest power to heat the battery;

[0068] Then, the initial state of charge SOC and the initial battery temperature of the battery are obtained; a target SOC switching threshold corresponding to the initial SOC and the initial battery temperature of the battery is determined; an actual value of the time taken to charge the battery to 80% of the SOC using the target SOC switching threshold as the SOC switching threshold is obtained; if the actual value of the time taken is greater than the calibrated value of the time taken to charge the battery to 80% of the SOC, the heat pump air conditioner is controlled to switch from the maximum power mode to the high-efficiency working mode, and in the high-efficiency working mode, the heat pump air conditioner uses non-maximum power to heat the battery; if the actual value of the time taken is not greater than the calibrated value of the time taken to charge the battery to 80% of the SOC, the heat pump air conditioner is controlled to heat the battery in the maximum power mode, and a self-learning SOC switching threshold is calculated, and a self-learning database is used to store the self-learning SOC switching threshold.

[0069] like Figure 3 As shown, an embodiment of the present invention provides a battery charging device 300, the device 300 comprising:

[0070] a control module 301 for controlling the heat pump air conditioner to heat the battery when charging of the battery begins, wherein the heat pump air conditioner is in a maximum power mode, in which the heat pump air conditioner uses the maximum power to heat the battery;

[0071] A first acquisition module 302 is configured to acquire an initial state of charge (SOC) and an initial battery temperature of the battery;

[0072] A determination module 303 is configured to determine a target SOC switching threshold corresponding to a starting SOC and a starting battery temperature of the battery;

[0073] The switching module 304 is used to control the heat pump air conditioner to switch from the maximum power mode to the high-efficiency working mode when the current SOC of the battery reaches the sum of the starting SOC and the target SOC switching threshold. In the high-efficiency working mode, the heat pump air conditioner uses non-maximum power to heat the battery.

[0074] In an optional embodiment of the present invention, the determining module 303 includes:

[0075] An acquisition submodule, used to obtain multiple self-learning SOC switching thresholds;

[0076] The averaging submodule is configured to determine the target SOC switching threshold by averaging a plurality of the self-learning SOC switching thresholds.

[0077] In an optional embodiment of the present invention, the acquisition submodule is configured to establish multiple two-dimensional arrays; the rows of the two-dimensional arrays represent starting SOCs, and multiple starting SOCs are used to divide multiple SOC intervals; the columns of the two-dimensional array represent starting battery temperatures, and multiple starting battery temperatures are used to divide multiple battery temperature intervals; the two-dimensional arrays are configured to store self-learned SOC switching thresholds at different starting SOCs and starting battery temperatures; obtain an actual value of the time taken to charge the battery to 80% of the SOC using the target SOC switching threshold as the SOC switching threshold; obtain a calibrated value of the time taken to charge the battery to 80% of the SOC; compare the actual time taken with the calibrated time taken; adjust the SOC switching threshold to the right of the battery temperature interval where the target SOC switching threshold is located based on the comparison result; determine the current self-learned SOC switching threshold based on the SOC switching threshold to the right of the battery temperature interval where the adjusted target SOC switching threshold is located; clear the self-learned SOC switching threshold in the last two-dimensional array, and shift the self-learned SOC switching thresholds in the remaining two-dimensional arrays back in sequence, with the first two-dimensional array storing the current self-learned SOC switching threshold.

[0078] In an optional embodiment of the present invention, the acquisition submodule is configured to adjust the SOC switching threshold to the right of the battery temperature range where the target SOC switching threshold is located, including:

[0079] When the actual time consumption value is greater than the calibrated time consumption value, the SOC switching threshold on the right side of the battery temperature range where the target SOC switching threshold is located is set to -1.

[0080] In an optional embodiment of the present invention, the acquisition submodule is configured to adjust the SOC switching threshold to the right of the battery temperature range where the target SOC switching threshold is located, further comprising:

[0081] When the actual time consumption value is equal to the calibrated time consumption value, the SOC switching threshold on the right side of the battery temperature range where the target SOC switching threshold is located remains unchanged.

[0082] In an optional embodiment of the present invention, the acquisition submodule for adjusting the SOC switching threshold to the right of the battery temperature range where the target SOC switching threshold is located further includes:

[0083] When the actual time consumption value is less than the calibrated time consumption value, the SOC switching threshold to the right of the battery temperature range where the target SOC switching threshold is located is increased by 1.

[0084] The battery charging device provided by the embodiment of the present invention can realize Figure 1 To avoid repetition, the various processes implemented by the battery charging method in the method embodiment are not described here.

[0085] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned battery charging method are implemented and the same technical effects can be achieved. To avoid repetition, they will not be described here.

[0086] An embodiment of the present invention also provides an electronic device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor. When the program is executed by the processor, the steps of the battery charging method described above are implemented, and the same technical effects can be achieved. To avoid repetition, details will not be given here.

[0087] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary personnel in this technical field, several improvements and modifications can be made without departing from the principles described in the present invention. These improvements and modifications are also within the scope of protection of the present invention.

Claims

1. A method for charging a battery, characterized in that: include: When charging the battery begins, controlling the heat pump air conditioner to heat the battery, wherein the heat pump air conditioner is in a maximum power mode, in which the heat pump air conditioner uses the maximum power to heat the battery; Obtaining an initial state of charge (SOC) and an initial battery temperature of the battery; determining a target SOC switching threshold corresponding to a starting SOC and a starting battery temperature of the battery; When the current SOC of the battery reaches the sum of the starting SOC and the target SOC switching threshold, controlling the heat pump air conditioner to switch from the maximum power mode to a high-efficiency working mode, in which the heat pump air conditioner uses a non-maximum power to heat the battery; Determining the target SOC switching threshold includes: Obtain multiple self-learning SOC switching thresholds; determining the target SOC switching threshold according to an average value of a plurality of the self-learning SOC switching thresholds; Obtaining multiple self-learning SOC switching thresholds includes: Establish multiple two-dimensional arrays; the rows of the two-dimensional arrays represent the starting SOC, and the multiple starting SOCs are divided into multiple SOC intervals; the columns of the two-dimensional arrays represent the starting battery temperature, and the multiple starting battery temperatures are divided into multiple battery temperature intervals; the two-dimensional arrays are used to store self-learning SOC switching thresholds at different starting SOCs and starting battery temperatures; Obtaining an actual value of the time taken for the battery to be charged to SOC 80% using the target SOC switching threshold as the SOC switching threshold; Obtaining a time-consuming calibration value for charging the battery to SOC 80%; Comparing the actual time consumption value with the calibrated time consumption value; According to the comparison result, adjusting the SOC switching threshold to the right of the battery temperature range where the target SOC switching threshold is located; Determine the current self-learning SOC switching threshold according to the SOC switching threshold on the right side of the battery temperature range where the adjusted target SOC switching threshold is located; The self-learning SOC switching threshold in the last two-dimensional array is cleared, and the self-learning SOC switching thresholds in the remaining two-dimensional arrays are shifted back in sequence. The first two-dimensional array stores the current self-learning SOC switching threshold.

2. The battery charging method according to claim 1, wherein: Adjusting the SOC switching threshold to the right of the battery temperature range where the target SOC switching threshold is located includes: When the actual time consumption value is greater than the calibrated time consumption value, the SOC switching threshold on the right side of the battery temperature range where the target SOC switching threshold is located is set to -1.

3. The battery charging method according to claim 1, wherein: Adjusting the SOC switching threshold to the right of the battery temperature range where the target SOC switching threshold is located further includes: When the actual time consumption value is equal to the calibrated time consumption value, the SOC switching threshold on the right side of the battery temperature range where the target SOC switching threshold is located remains unchanged.

4. The battery charging method according to claim 1, wherein: Adjusting the SOC switching threshold to the right of the battery temperature range where the target SOC switching threshold is located further includes: When the actual time consumption value is less than the calibrated time consumption value, the SOC switching threshold to the right of the battery temperature range where the target SOC switching threshold is located is increased by 1.

5. A battery charging device, characterized in that: include: a control module, configured to control the heat pump air conditioner to heat the battery when charging of the battery begins, wherein the heat pump air conditioner is in a maximum power mode, in which the heat pump air conditioner uses the maximum power to heat the battery; A first acquisition module is used to obtain the initial state of charge (SOC) and initial battery temperature of the battery; a determination module, configured to determine a target SOC switching threshold corresponding to a starting SOC and a starting battery temperature of the battery; a switching module, configured to control the heat pump air conditioner to switch from the maximum power mode to a high-efficiency operating mode when the current SOC of the battery reaches the sum of the starting SOC and the target SOC switching threshold, wherein the heat pump air conditioner uses a non-maximum power to heat the battery in the high-efficiency operating mode; The determination module includes: An acquisition submodule, used to obtain multiple self-learning SOC switching thresholds; an averaging submodule, configured to determine the target SOC switching threshold by averaging a plurality of the self-learning SOC switching thresholds; The acquisition submodule is used to establish multiple two-dimensional arrays; the rows of the two-dimensional array represent the starting SOC, and multiple starting SOCs are used to divide multiple SOC intervals; the columns of the two-dimensional array represent the starting battery temperature, and multiple starting battery temperatures are used to divide multiple battery temperature intervals; the two-dimensional array is used to store self-learning SOC switching thresholds at different starting SOCs and starting battery temperatures; obtain an actual value of the time consumed for charging the battery to 80% of the SOC using the target SOC switching threshold as the SOC switching threshold; obtain a calibrated value of the time consumed for charging the battery to 80% of the SOC; compare the actual time consumed with the calibrated time consumed; adjust the SOC switching threshold to the right of the battery temperature interval where the target SOC switching threshold is located based on the comparison result; determine the current self-learning SOC switching threshold based on the SOC switching threshold to the right of the battery temperature interval where the adjusted target SOC switching threshold is located; clear the self-learning SOC switching threshold in the last two-dimensional array, and shift the self-learning SOC switching thresholds in the remaining two-dimensional arrays back in sequence, with the first two-dimensional array storing the current self-learning SOC switching threshold.

6. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the battery charging method according to any one of claims 1 to 4.

7. An electronic device, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the battery charging method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Battery heating control method and device, storage medium and equipment

    CN115101854A

  • Battery charging duration prediction method and device, electronic equipment and storage medium

    CN115946569A