Charging control method, charging control device, electronic device, and storage medium

By acquiring and utilizing the fastest charging data for battery charging control, combined with thermal management strategies, the problem of slow charging speed in new energy electric vehicles has been solved, achieving a safe and efficient charging process.

CN117501578BActive Publication Date: 2026-08-04CONTEMPORARY AMPEREX TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CONTEMPORARY AMPEREX TECHNOLOGY CO LTD
Filing Date
2022-05-31
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

There is a lack of effective methods in the current technology to improve the charging speed of new energy electric vehicles, especially when the battery is low during long-distance driving, the slow charging speed causes anxiety for car owners.

Method used

By acquiring the fastest charging data and controlling the battery charging accordingly, combined with battery temperature management strategies, we ensure safety and efficiency during the charging process, including thermal management control and data update mechanisms, to optimize the charging process.

Benefits of technology

It effectively improves charging speed, making the charging time close to or equal to the shortest charging time in the history of charging processes, ensuring that the battery temperature is within a safe range, avoiding potential safety hazards, and improving the safety and efficiency of the charging process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117501578B_ABST
    Figure CN117501578B_ABST
Patent Text Reader

Abstract

This application provides a charging control method, a charging control device, an electronic device, and a storage medium. The charging control method includes: acquiring fastest charging data, wherein the charging time of the fastest charging data is less than or equal to the shortest charging time within the same state of charge (SOC) increment range during historical charging processes; and controlling the charging of the battery based on the fastest charging data. The charging control method provided in this application, by acquiring fastest charging data and controlling the battery charging based on that data, ensures that the charging time is close to or equal to the shortest charging time in historical charging processes, thereby effectively improving the charging speed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of battery technology, and in particular to a charging control method, a charging control device, an electronic device, and a storage medium. Background Technology

[0002] New energy electric vehicles use power batteries as their power source. Power batteries have advantages such as high energy density, rechargeability, safety, and environmental friendliness, leading to an increasing market share for new energy electric vehicles. When purchasing a new energy electric vehicle, charging speed is one of the most important performance indicators for many consumers, especially during long-distance driving. A faster charging speed can save charging time and alleviate the anxiety of car owners when the battery is low. However, current technology lacks solutions for improving charging speed by controlling the power battery charging process. Summary of the Invention

[0003] This application provides a charging control method, a charging control device, an electronic device, and a storage medium, which can improve the charging speed by controlling the charging process of a power battery.

[0004] Firstly, a charging control method is provided, including:

[0005] Obtain the fastest charging data, wherein the charging time of the fastest charging data is less than or equal to the shortest charging time in the same state of charge (SOC) increment range during historical charging processes.

[0006] Based on the fastest charging data, the battery charging is controlled.

[0007] The charging control method of this application embodiment obtains the fastest charging data and controls the battery charging based on the fastest charging data, which can ensure that the charging time is close to or equal to the shortest charging time in the historical charging process, thereby effectively improving the charging speed.

[0008] In one implementation, the fastest charging data includes at least one SOC increment range and the maximum battery temperature corresponding to each SOC increment range.

[0009] The step of controlling battery charging based on the fastest charging data includes:

[0010] By performing thermal management control on the battery based on the current battery temperature and the maximum battery temperature corresponding to the current SOC increment range, efficient and accurate thermal management control of the battery can be ensured, avoiding safety hazards caused by the battery temperature exceeding the safe range during charging.

[0011] In one implementation, the thermal management control of the battery based on the current battery temperature and the maximum battery temperature corresponding to the current SOC increment range includes:

[0012] Determine the SOC increment range to which the real-time SOC value belongs;

[0013] Obtain the maximum battery temperature corresponding to the determined SOC increment range from the fastest charging data;

[0014] Based on the real-time battery temperature and the obtained maximum battery temperature, the corresponding battery thermal management strategy is controlled and executed, which can achieve accurate and efficient thermal management of the battery charging process and avoid safety hazards caused by the battery temperature exceeding the safe range during charging.

[0015] In one implementation, the thermal management control of the battery based on the current battery temperature and the maximum battery temperature corresponding to the current SOC increment range includes:

[0016] Determine the SOC increment range to which the real-time SOC value belongs;

[0017] Obtain the maximum battery temperature corresponding to the determined SOC increment range from the fastest charging data;

[0018] Based on the real-time battery temperature and the acquired maximum battery temperature, the corresponding battery thermal management strategy is controlled and executed, enabling accurate and efficient thermal management of the battery charging process.

[0019] In one implementation, controlling the execution of a corresponding battery thermal management strategy based on the real-time battery temperature and the acquired maximum battery temperature includes:

[0020] Determine the target temperature range corresponding to the obtained maximum battery temperature;

[0021] If the real-time battery temperature is greater than the upper limit of the target temperature range, the battery is cooled until the real-time battery temperature is less than or equal to the upper limit.

[0022] If the real-time battery temperature is less than or equal to the lower limit of the target temperature range, the battery is heated until the real-time battery temperature exceeds the lower limit. This battery thermal management strategy ensures that during battery charging, when the real-time battery temperature is outside the target temperature range, it is promptly adjusted to fall within the target temperature range, thereby achieving effective and precise control of the battery temperature.

[0023] In one implementation, the method further includes:

[0024] After the current charging process ends, determine whether the charging data of the current charging process meets the preset fast charging conditions;

[0025] If so, the fastest charging data is updated based on the charging data of the current charging process. Updating the fastest charging data ensures that it remains at its historical best, thereby facilitating further improvements in battery charging speed.

[0026] In one implementation, the fastest charging data includes at least one SOC increment interval and the charging time corresponding to each SOC increment interval; determining whether the charging data of the current charging process meets the preset fast charging conditions includes:

[0027] Determine the maximum temperature of the battery during the current charging process;

[0028] Determine the SOC increment range that overlaps between the current charging process and the fastest charging data;

[0029] The first charging time and the second charging time corresponding to the overlapping SOC increment intervals in the current charging process and the fastest charging data are determined respectively.

[0030] If the maximum temperature is less than or equal to a preset threshold, and the first charging time is less than the second charging time, then it is determined that the charging data corresponding to the first charging time in the current charging process meets the preset fast charging conditions, thereby accurately finding the charging data that meets the preset fast charging conditions in the current charging process.

[0031] In one implementation, updating the fastest charging data based on the charging data of the current charging process includes:

[0032] Based on the SOC increment interval corresponding to the first charging time during the current charging process, determine the overlapping SOC increment interval in the fastest charging data;

[0033] The charging data of the corresponding overlapping SOC increment range in the fastest charging data is replaced with part of the charging data corresponding to the first charging time in the current charging process, thereby ensuring that the fastest charging data remains at the optimal value.

[0034] In one implementation, determining whether the charging data of the current charging process meets preset fast charging conditions includes:

[0035] If the maximum temperature of the battery during the current charging process is less than or equal to a preset threshold, then the cumulative number of safe charging times will be incremented by one.

[0036] If the number of safe charging cycles reaches the preset number after adding one, then it is determined that the charging data of the current charging process meets the preset fast charging conditions.

[0037] If the number of safe charging attempts after incrementing by one is less than the preset number, the charging data for the current charging process is cached. Reaching the preset number of safe charging attempts serves as a preset fast charging condition, ensuring that the obtained charging data is safe charging data. This facilitates the selection of data from this safe charging data to update the fastest charging data, ensuring the safety of the fastest charging data and thus guaranteeing the safety of the battery charging process when implementing battery charging thermal management strategies based on this fastest charging data.

[0038] In one implementation, updating the fastest charging data based on the charging data of the current charging process includes:

[0039] Determine the SOC repetition interval and non-repetition interval between the preset number of charging data in the cache; the SOC repetition interval is the SOC increment interval shared by at least two charging data.

[0040] Based on the charging data of the preset number of times, the shortest charging time for each SOC repeat interval and each non-repeat interval is determined respectively;

[0041] The fastest charging data is updated based on the shortest charging time for each SOC repeat interval and each non-repeat interval, thereby ensuring that the fastest charging data remains at the optimal value.

[0042] In one implementation, determining the shortest charging time for each SOC repetition interval and each non-repetition interval based on the charging data from the preset number of times includes:

[0043] From multiple charging data points that share a first SOC repetition interval, determine the shortest charging time corresponding to the first SOC repetition interval; the first SOC repetition interval is any SOC repetition interval among all SOC repetition intervals.

[0044] The charging time corresponding to the non-repeating interval in the charging data is determined as the shortest charging time for that non-repeating interval. This allows for accurate identification of the shortest charging time for each repeating interval and each non-repeating interval, facilitating subsequent updates to the fastest charging data.

[0045] In one implementation, updating the fastest charging data based on the shortest charging time for each SOC repeat interval and each non-repeat interval includes:

[0046] Determine whether the shortest charging time in the first interval is less than the charging time corresponding to the same interval in the fastest charging data. The first interval is any interval among the repeated intervals and non-repeated intervals of each SOC.

[0047] If so, the charging data corresponding to the same interval in the fastest charging data is replaced with a portion of the charging data corresponding to the first interval. By updating the fastest charging data, it can be ensured that the fastest charging data maintains the optimal value of the historical charging process.

[0048] In one implementation, updating the fastest charging data based on the charging data of the current charging process includes:

[0049] Randomly select a charging data point from the preset number of charging data points in the cache;

[0050] Determine the SOC increment interval that overlaps between the selected charging data and the fastest charging data, and determine the first charging time and the second charging time corresponding to the overlapping SOC increment interval in the selected charging data and the fastest charging data;

[0051] If the first charging time is less than the second charging time, then the charging data of the overlapping SOC increment interval in the fastest charging data is replaced with the part of the charging data corresponding to the first charging time in the selected charging data.

[0052] From the remaining charging data, another charging data point is randomly selected. The step of determining the SOC increment interval that overlaps between the selected charging data and the fastest charging data is repeated until the fastest charging data is updated using each charging data point from the preset number of charging data points. By updating the fastest charging data, it is ensured that the fastest charging data maintains the optimal value from the historical charging process.

[0053] Secondly, a charging control device is provided, comprising:

[0054] The acquisition module is used to acquire the fastest charging data, wherein the charging time of the fastest charging data is less than or equal to the shortest charging time in the same state of charge (SOC) increment range during historical charging processes.

[0055] The control module is used to control the execution of the corresponding battery thermal management strategy based on the fastest charging data and the real-time charging data of the current charging process.

[0056] This charging control device can acquire the fastest charging data and control the battery charging accordingly, thereby improving the charging speed and ensuring that the charging time is close to or equal to the shortest charging time in the historical charging process.

[0057] Thirdly, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the charging control method described in any of the preceding claims. This electronic device achieves the same beneficial technical effects as the charging control method of the first aspect.

[0058] Fourthly, a computer-readable storage medium is provided, having a computer program stored thereon, which is executed by a processor to implement the charging control method described in any of the preceding claims. This computer-readable storage medium achieves the same beneficial technical effects as the charging control method of the first aspect.

[0059] Fifthly, a power device is provided, comprising a power battery and the electronic equipment described in the third aspect, wherein the power battery is used to provide electrical energy, and the electronic equipment is used to perform the charging control method described in any of the preceding claims on the power battery. This power device can achieve the same beneficial technical effects as the charging control method of the first aspect. Attached Figure Description

[0060] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on the drawings without creative effort.

[0061] Figure 1 This is a flowchart of a charging control method provided in some embodiments of this application.

[0062] Figure 2 A schematic diagram of charging data for four historical charging processes is shown in a specific example.

[0063] Figure 3 This is a flowchart of a charging control method provided in other embodiments of this application.

[0064] Figure 4 This is a flowchart illustrating how the fastest charging data is updated based on the charging data of the current charging process in some embodiments of this application.

[0065] Figure 5 This is a schematic block diagram of a charging control device provided in some embodiments of this application.

[0066] Figure 6 This is a schematic block diagram of a charging control device provided in other embodiments of this application.

[0067] Figure 7This is a structural block diagram of an electronic device provided in some embodiments of this application.

[0068] Figure 8 This is a schematic diagram of a computer-readable storage medium provided in some embodiments of this application. Detailed Implementation

[0069] The embodiments of this application will be described in further detail below with reference to the accompanying drawings and examples. The detailed description of the following embodiments and the accompanying drawings are used to illustrate the principles of this application by way of example, but should not be used to limit the scope of this application, that is, this application is not limited to the described embodiments.

[0070] In the description of this application, it should be noted that, unless otherwise stated, "a plurality of" means two or more; the terms "upper," "lower," "left," "right," "inner," and "outer," etc., indicating orientation or positional relationships, are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation on this application. Furthermore, the terms "first," "second," and "third," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. "Vertical" is not vertical in the strict sense, but within the allowable tolerance range. "Parallel" is not parallel in the strict sense, but within the allowable tolerance range.

[0071] The directional terms used in the following description refer to the directions shown in the figures and are not intended to limit the specific structure of this application. It should also be noted in the description of this application that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "joining" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a direct connection or an indirect connection through an intermediate medium. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0072] With the development of science and technology and the progress of the times, new energy vehicles have become increasingly popular due to their advantages such as good environmental performance, low noise, and low operating costs. They can effectively promote energy conservation and emission reduction, meet environmental protection requirements, and contribute to the sustainable development of society and the economy.

[0073] New energy vehicles use power batteries as their power source, with lithium-ion batteries being the most commonly used. The inventors of this application have discovered that, due to the chemical characteristics of power batteries such as lithium-ion batteries, temperature has the greatest impact on battery charging speed among all environmental factors; the higher the temperature, the more vigorous the molecular motion. The electrochemical reactions and chemical activity within the power battery are affected by temperature, and increasing the cell temperature can significantly improve the cell's charging speed. However, during electric vehicle charging, continuously controlling and increasing the battery pack temperature during charging will lead to excessively high battery system temperatures, exceeding the upper limit of the battery system's temperature. This can cause instability in the internal chemical properties of the battery, resulting in safety hazards. Using relevant control strategies and algorithms in the battery management system (BMS) of electric vehicles to balance charging speed is one of the effective methods to improve charging safety and charging speed.

[0074] The power battery involved in this application embodiment can be a lithium-ion battery, lithium metal battery, lead-acid battery, nickel-metal hydride battery, lithium-sulfur battery, lithium-air battery, or sodium-ion battery, etc., and is not limited thereto. In terms of scale, the battery in this application embodiment can be a single cell, a battery module, or a battery pack, and is not limited thereto. In terms of application scenarios, the battery can be used in power devices such as automobiles and ships. For example, it can be used in electric vehicles to power the motor of the electric vehicle, serving as the power source for electric vehicles. The battery can also power other electrical components in electric vehicles, such as the in-vehicle air conditioner and in-vehicle media player.

[0075] For ease of description, the following will use the application of power batteries in new energy vehicles (electric vehicles) as an example. When the vehicle enters fast charging mode with high voltage, the charging gun is inserted for charging. The charging pile and the vehicle complete information exchange, and the vehicle completes internal communication with the battery management system (BMS). The battery management system (BMS) calculates the acceptable charging capacity of the current battery cell based on information such as the current voltage, temperature, and SOC, and sends this information to the vehicle system and the charging pile. When the charging pile receives the charging request current information from the BMS, it responds promptly and outputs the relevant requested charging current. During the charging process, increasing the charging temperature can improve the charging speed of lithium-ion batteries, but the thermal safety of the charging process must also be considered. The charging control method provided in this application embodiment controls the battery charging based on the fastest charging data, wherein the charging time of the fastest charging data is less than or equal to the shortest charging time in the same SOC increment range during historical charging processes. This ensures that the charging time is close to or equal to the shortest charging time in historical charging processes, thereby effectively improving the charging speed.

[0076] One embodiment of this application provides a charging control method, such as... Figure 1As shown, in some embodiments, the method includes steps S10 to S20:

[0077] S10. Obtain the fastest charging data. The charging time of the fastest charging data is less than or equal to the shortest charging time in the same state of charge (SOC) increment range during historical charging processes.

[0078] Obtaining the fastest charging data may include: retrieving the currently stored fastest charging data from a preset storage space, where the fastest charging data is determined based on historical charging data during the battery's historical charging process. The preset storage space may, for example, be storage space within nonvolatile memory (NVM).

[0079] The currently stored fastest charging data can include at least one SOC increment interval, the maximum battery temperature corresponding to each SOC increment interval, and the charging time corresponding to each SOC increment interval. For example, the total SOC interval included in the fastest charging data can be [17%, 96%], which can be divided into 20 SOC increment intervals, each corresponding to a charging time. Alternatively, the total SOC interval included in the fastest charging data can be [0%, 100%], which can be divided into 50 SOC increment intervals, each corresponding to a charging time, as shown in Table 1. The size of each SOC increment interval can be the same or different, and can be set according to actual needs.

[0080] Table 1

[0081] [0%,2%] 35 10 (2%,4%] 38 14 (4%,6%] 42 19 …… …… …… (96%,98%] 45 26 (98%,100%] 53 32

[0082] like Figure 2 The image shows historical charging data for four charging cycles in a specific example, with SOC increments divided in 10% increments, meaning each SOC increment interval is 10% in length. Specifically, the first charging cycle charged the battery from 0% to 100% SOC, the second from 20% to 80%, the third from 30% to 70%, and the fourth from 60% to 100%. The image also shows the charging time for each SOC increment interval and the battery's highest temperature during each charging cycle. Figure 2 The highest battery temperature (not shown) was recorded and saved.

[0083] In some implementations, determining the fastest charging data based on historical charging data during the battery's historical charging process may include:

[0084] The maximum SOC range [0, 100%] is divided into 50 SOC ranges in increments of 2%. The maximum temperature value and corresponding charging time for each SOC range in the historical charging data are stored in nonvolatile memory (NVM).

[0085] When an electric vehicle enters charging mode, the calendar time of entering charging mode and the initial State of Charge (SOC) are recorded. During charging, based on the real-time SOC, the current maximum battery temperature and charging duration are temporarily stored in segmented SOC intervals. The maximum battery temperature and charging duration are stored every time the SOC increases by 2%. When the charging ends, the calendar time of the end of charging mode and the SOC at the end of charging are recorded, and the total duration of the charging process is calculated.

[0086] Based on the initial SOC value and the final SOC value, the corresponding charging time stored in the NVM is calculated. If the total charging time is less than the charging time stored in the NVM and the maximum temperature during the charging process does not exceed the maximum safe temperature limit of the battery system, then the maximum temperature value and the charging time value corresponding to the segmented SOC interval stored in the NVM are cleared and updated to the maximum temperature and the charging time corresponding to the segmented SOC interval during the current charging process.

[0087] S20. Control the battery charging based on the fastest charging data.

[0088] In some implementations, the fastest charging data includes at least one SOC increment range and the maximum battery temperature corresponding to each SOC increment range. Step S20 may include: performing thermal management control on the battery based on the current battery temperature and the maximum battery temperature corresponding to the current SOC increment range, which can ensure efficient and accurate thermal management control of the battery and avoid safety hazards caused by the battery temperature exceeding the safe range during charging.

[0089] The number of SOC increment intervals included in the fastest charging data can be set according to actual needs, for example, it can be divided into units of 2%, 3%, 5%, or 10%. The total SOC increment interval of the fastest charging data can be, for example, [0, 100%], [20%, 90%], [10%, 98%], etc., which can be set according to actual needs.

[0090] In a specific example, the fastest charging data could include 50 equal-sized SOC increment intervals, where each 2% increment divides the SOC (0-100%) into intervals of [0, 2%), [2%, 4%), [4%, 6%), ..., [98%, 100%). Each SOC increment interval corresponds to a maximum battery temperature, and the 50 SOC increment intervals correspond to 50 maximum battery temperatures.

[0091] In some implementations, thermal management control of the battery is performed based on the current battery temperature and the maximum battery temperature corresponding to the current SOC increment range. This may include: determining the SOC increment range to which the real-time SOC value belongs; obtaining the maximum battery temperature corresponding to the determined SOC increment range from the fastest charging data; and controlling the execution of the corresponding battery thermal management strategy based on the real-time battery temperature and the obtained maximum battery temperature. This enables accurate and efficient thermal management of the battery charging process, preventing the battery temperature from exceeding the safe range and causing safety hazards during charging.

[0092] For example, if the detected real-time SOC value is 51%, then the real-time SOC value of 51% falls within the SOC increment range [51%, 52%] in the specific example above. The maximum battery temperature corresponding to the SOC increment range [51%, 52%] in the specific example above is 58℃. Based on the detected real-time battery temperature and the maximum battery temperature of 58℃ corresponding to the SOC increment range [51%, 52%), the corresponding battery thermal management strategy is executed.

[0093] In some implementations, step S203 includes: determining the target temperature range corresponding to the acquired maximum battery temperature; if the real-time battery temperature is greater than the upper limit of the target temperature range, cooling the battery until the real-time battery temperature is less than or equal to the upper limit; if the real-time battery temperature is less than or equal to the lower limit of the target temperature range, heating the battery until the real-time battery temperature is greater than the lower limit. This battery thermal management strategy ensures that during battery charging, when the real-time battery temperature is not within the target temperature range, it is promptly adjusted to fall within the target temperature range, thereby achieving effective and precise control of the battery temperature.

[0094] For example, the target temperature range corresponding to the maximum battery temperature of 58℃ is [56℃, 60℃]. The upper limit of the target temperature range [56℃, 60℃] is 60℃, and the lower limit is 56℃. When the real-time battery temperature is greater than 60℃, the battery is cooled until the real-time battery temperature is less than or equal to 60℃; when the real-time battery temperature is less than or equal to 56℃, the battery is heated until the real-time battery temperature is greater than 56℃. The difference between the current initial SOC temperature and the target temperature will affect the final charging time. The larger the difference, the greater the impact on the final charging time. Coefficients can be adjusted during the charging process using methods such as coefficient correction.

[0095] In some implementations, such as Figure 3 As shown, the charging control method further includes steps S30 to S40:

[0096] S30. After the current charging process ends, determine whether the charging data of the current charging process meets the preset fast charging conditions.

[0097] In some implementations, the fastest charging data includes at least one SOC increment interval and the charging time corresponding to each SOC increment interval. That is, the fastest charging data records the charging time for each SOC interval separately, thus facilitating accurate determination of the shortest charging time when the initial SOC is uncertain for each charge. Even if the initial SOC is uncertain during a particular charge, the shortest charging time for that corresponding SOC increment interval can be determined based on the current SOC value and the corresponding SOC increment interval in the fastest charging data.

[0098] In a specific example, the fastest charging data can include 50 equal-sized SOC increment intervals. These 50 SOC increment intervals are formed by dividing the SOC (0-100%) into 2% increments, namely [0, 2%), [2%, 4%), [4%, 6%), ..., [98%, 100%). Each SOC increment interval corresponds to one charging time, and the 50 SOC increment intervals correspond to 50 charging times.

[0099] In some implementations, determining whether the charging data of the current charging process meets the preset fast charging conditions may include: determining the maximum temperature of the battery during the current charging process; determining the overlapping SOC increment interval between the current charging process and the fastest charging data; determining the first charging time and the second charging time corresponding to the overlapping SOC increment interval in the current charging process and the fastest charging data, respectively; if the maximum temperature is less than or equal to a preset threshold and the first charging time is less than the second charging time, then it is determined that the charging data corresponding to the first charging time in the current charging process meets the preset fast charging conditions, thereby accurately finding the charging data that meets the preset fast charging conditions during the current charging process.

[0100] For example, suppose the maximum battery temperature during the current charging process is 62℃. The SOC increment range during the current charging process is [50%, 100%], meaning the SOC increases from 50% to 100% during the current charging process. Then, the overlapping SOC increment range between the current charging process and the fastest charging data is [50%, 100%]. For example, the first charging time corresponding to the current charging process is 15 minutes, and the second charging time corresponding to the SOC increment range [50%, 100%] in the fastest charging data is 18 minutes, meaning the first charging time is less than the second charging time. Assuming the preset threshold is 70℃, and the maximum temperature of 62℃ is less than 70℃, then in this example, the charging data corresponding to the first charging time during the current charging process meets the preset fast charging conditions.

[0101] In some implementations, determining whether the charging data of the current charging process meets the preset fast charging conditions includes: if the maximum battery temperature during the current charging process is less than or equal to a preset threshold, then incrementing the accumulated safe charging count by one; if the safe charging count after incrementing reaches a preset number, then determining that the charging data of the current charging process meets the preset fast charging conditions; if the safe charging count after incrementing is less than the preset number, then caching the charging data of the current charging process; if the maximum battery temperature during the current charging process is less than or equal to the preset threshold, then this charging process is a safe charging process, therefore the accumulated safe charging count is incremented by one; when the accumulated safe charging count reaches the preset number, it can be determined that the charging data of the current charging process meets the preset fast charging conditions. Using the preset number of safe charging counts as the preset fast charging condition ensures that the obtained charging data is safe charging data, so that when subsequently selecting data from this safe charging data to update the fastest charging data, the safety of the fastest charging data is ensured, thereby ensuring the safety of the battery charging process when executing the battery charging thermal management strategy based on the fastest charging data.

[0102] S40. If yes, update the fastest charging data based on the current charging data; otherwise, do not update. Updating the fastest charging data ensures that the fastest charging data remains at its historical best, thus facilitating further improvement in battery charging speed.

[0103] In some implementations, the fastest charging data is updated based on the charging data of the current charging process, including: determining the overlapping SOC increment interval in the fastest charging data based on the SOC increment interval corresponding to the first charging time in the current charging process; replacing the charging data of the overlapping SOC increment interval in the fastest charging data with a portion of the charging data corresponding to the first charging time in the current charging process, thereby ensuring that the fastest charging data remains the optimal value of the historical charging process.

[0104] For example, the SOC increment interval corresponding to the first charging time in the current charging process is [50%, 100%], and the corresponding overlapping SOC increment interval in the fastest charging data is also [50%, 100%]. Replace the charging data in the fastest charging data corresponding to the first charging time with the charging data in the overlapping SOC increment interval [50%, 100%] of the current charging process.

[0105] In some implementations, such as Figure 4 As shown, based on the charging data of the current charging process, the fastest charging data is updated, including steps S401 to S403:

[0106] S401. Determine the SOC repetition interval and non-repetition interval between the preset number of charging data in the cache; the SOC repetition interval is the SOC increment interval shared by at least two charging data.

[0107] S402. Based on the charging data of a preset number of times, determine the shortest charging time for each SOC repeat interval and each non-repeat interval.

[0108] For example, with a preset number of 5 charging cycles, the SOC increment intervals corresponding to each charging cycle are: [45%, 98%], [90%, 100%], [22%, 98%], [78%, 96%], and [67%, 96%]. Non-repeating intervals within these 5 charging cycles include [22%, 45%] and (98%, 100%), while repeating intervals include [90%, 98%], [78%, 96%], and [67%, 96%].

[0109] Step S402 may include: determining the shortest charging time corresponding to the first SOC repeating interval from multiple charging data sets that share the first SOC repeating interval; the first SOC repeating interval is any SOC repeating interval within each SOC repeating interval; and determining the charging time corresponding to the non-repeating interval in the charging data to which the non-repeating interval belongs as the shortest charging time corresponding to the non-repeating interval. Step S402 can accurately find the shortest charging time for each repeating interval and each non-repeating interval, so as to facilitate subsequent updates of the fastest charging data.

[0110] For example, the repeated interval [90%, 98%] is shared by three charging data points: [45%, 98%], [90%, 100%], and [22%, 98%]. Assuming the charging times corresponding to [90%, 98%] in these three data points are T1, T2, and T3, the shortest time among T1, T2, and T3 is selected as the shortest charging time corresponding to the repeated interval [90%, 98%]. Then, the charging time corresponding to the non-repeating interval [22%, 45%] within the charging data points belonging to the non-repeating interval [22%, 45%] is determined as the shortest charging time corresponding to the non-repeating interval [22%, 45%]. Similarly, the charging time corresponding to the non-repeating interval (98%, 100%) within the charging data points belonging to the non-repeating interval (98%, 100%) is determined as the shortest charging time corresponding to the non-repeating interval (98%, 100%).

[0111] S403. Update the fastest charging data based on the shortest charging time for each SOC repeat interval and each non-repeat interval, thereby ensuring that the fastest charging data remains at the optimal value.

[0112] In some implementations, S403 may include: determining whether the shortest charging time in the first interval is less than the charging time corresponding to the same interval in the fastest charging data, wherein the first interval is any interval in each SOC repeating interval and each non-repeating interval; if so, replacing the charging data corresponding to the same interval in the fastest charging data with a portion of the charging data corresponding to the first interval; otherwise, not replacing. By updating the fastest charging data, it can be ensured that the fastest charging data maintains the optimal value of the historical charging process. Through this step, any segment of data in the fastest charging data can be updated.

[0113] For example, determine whether the shortest charging time corresponding to the repeated interval [90%, 98%) is less than the charging time corresponding to the interval [90%, 98%) in the fastest charging data, and determine whether the shortest charging time corresponding to the non-repeating interval [22%, 45%) is less than the charging time corresponding to the interval [22%, 45%) in the fastest charging data, and so on. If the shortest charging time corresponding to the repeated interval [90%, 98%) is less than the charging time corresponding to the interval [90%, 98%) in the fastest charging data, then replace the charging data corresponding to the interval [90%, 98%) in the fastest charging data with a portion of the charging data corresponding to the repeated interval [90%, 98%). If the shortest charging time corresponding to the non-repeating interval [22%, 45%) is less than the charging time corresponding to the interval [22%, 45%) in the fastest charging data, then replace the charging data corresponding to the interval [22%, 45%) in the fastest charging data with a portion of the charging data corresponding to the interval [22%, 45%).

[0114] In some implementations, the fastest charging data is updated based on the charging data of the current charging process, including steps 1) to 4):

[0115] Step 1) Randomly select a charging data from the preset number of charging data in the cache.

[0116] Step 2) Determine the overlapping SOC increment interval between the selected charging data and the fastest charging data, and determine the first charging time and the second charging time corresponding to the overlapping SOC increment interval between the selected charging data and the fastest charging data.

[0117] Step 3) If the first charging time is less than the second charging time, then replace the charging data in the overlapping SOC increment range in the fastest charging data with the part of the charging data corresponding to the first charging time in the selected charging data.

[0118] Step 4) Randomly select another charging data point from the remaining charging data, and repeat the process of determining the SOC increment interval that overlaps between the selected charging data and the fastest charging data until the fastest charging data is updated using each charging data point from a preset number of charging data points. By updating the fastest charging data, it is ensured that the fastest charging data maintains the optimal value from the historical charging process.

[0119] In this example, charging data corresponding to [22%, 98%] was randomly selected from the charging data corresponding to the SOC increment intervals [45%, 98%], [90%, 100%], [22%, 98%], [78%, 96%], and [67%, 96%] of the five cached charging processes. The overlapping SOC increment interval [22%, 98%] between the selected charging data and the fastest charging data was determined. The first charging time corresponding to the selected charging data and the second charging time corresponding to the overlapping SOC increment interval [22%, 98%] in the fastest charging data were also determined. If the first charging time is less than the second charging time, the charging data in the overlapping SOC increment interval [22%, 98%] in the fastest charging data was replaced with a portion of the charging data corresponding to the first charging time in the selected charging data. This continues until each charging data point in the SOC increment intervals [45%, 98%], [90%, 100%], [22%, 98%], [78%, 96%], and [67%, 96%] of the five cached charging processes has been selected once.

[0120] The charging control method of this application improves the charging speed by acquiring the fastest charging data and controlling the battery charging based on the fastest charging data, ensuring that the charging time is close to or equal to the shortest charging time in the historical charging process.

[0121] Another embodiment of this application provides a charging control device, such as... Figure 5 As shown, in some embodiments, the device includes:

[0122] The acquisition module is used to acquire the fastest charging data. The charging time of the fastest charging data is less than or equal to the shortest charging time in the same state of charge (SOC) increment range during the historical charging process.

[0123] The control module is used to control the battery charging based on the fastest charging data.

[0124] In some implementations, the fastest charging data includes at least one SOC increment range and the maximum battery temperature corresponding to each SOC increment range; the control module is further specifically used to: perform thermal management control on the battery based on the current battery temperature and the maximum battery temperature corresponding to the current SOC increment range.

[0125] In some implementations, the control module includes:

[0126] The SOC increment interval determination unit is used to determine the SOC increment interval to which the real-time SOC value belongs.

[0127] The maximum battery temperature determination unit is used to obtain the maximum battery temperature corresponding to the determined SOC increment range from the fastest charging data.

[0128] The battery thermal management strategy control execution unit is used to control and execute the corresponding battery thermal management strategy based on the real-time battery temperature and the acquired maximum battery temperature.

[0129] In some implementations, the battery thermal management strategy control execution unit includes:

[0130] The target temperature range determination subunit is used to determine the target temperature range corresponding to the maximum battery temperature obtained.

[0131] The cooling control subunit is used to cool the battery if the real-time battery temperature is greater than the upper limit of the target temperature range, until the real-time battery temperature is less than or equal to the upper limit.

[0132] The heating control subunit is used to heat the battery if the real-time battery temperature is less than or equal to the lower limit of the target temperature range, until the real-time battery temperature is greater than the lower limit.

[0133] like Figure 6 As shown, in some embodiments, the charging control device further includes:

[0134] The determination module is used to determine whether the charging data of the current charging process meets the preset fast charging conditions after the current charging process ends.

[0135] The update module is used to update the fastest charging data based on the charging data of the current charging process, if applicable.

[0136] In some implementations, the fastest charging data includes at least one SOC increment interval and the charging time corresponding to each SOC increment interval; the determining module includes a submodule for determining whether the charging data of the current charging process meets the preset fast charging conditions, the submodule including:

[0137] The first determining unit is used to determine the maximum temperature of the battery during the current charging process;

[0138] The second determining unit is used to determine the SOC increment range that overlaps between the current charging process and the fastest charging data;

[0139] The third determining unit is used to determine the first charging time and the second charging time corresponding to the overlapping SOC increment interval in the current charging process and the fastest charging data, respectively.

[0140] The fourth determining unit is used to determine that if the maximum temperature is less than or equal to a preset threshold and the first charging time is less than the second charging time, the charging data corresponding to the first charging time in the current charging process meets the preset fast charging conditions.

[0141] In some implementations, the updating module updates the fastest charging data based on the charging data of the current charging process, including: determining the overlapping SOC increment interval in the fastest charging data based on the SOC increment interval corresponding to the first charging time in the current charging process; and replacing the charging data of the overlapping SOC increment interval in the fastest charging data with a portion of the charging data corresponding to the first charging time in the current charging process.

[0142] In some implementations, determining whether the charging data of the current charging process meets the preset fast charging conditions includes: if the maximum temperature of the battery during the current charging process is less than or equal to a preset threshold, then incrementing the accumulated safe charging count by one; if the safe charging count after incrementing by one reaches a preset number, then determining that the charging data of the current charging process meets the preset fast charging conditions; if the safe charging count after incrementing by one is less than the preset number, then caching the charging data of the current charging process.

[0143] In some implementations, updating the fastest charging data based on the charging data of the current charging process includes: determining the SOC repetition interval and non-repetition interval between a preset number of cached charging data; the SOC repetition interval is a SOC increment interval shared by at least two charging data; determining the shortest charging time for each SOC repetition interval and each non-repetition interval based on the preset number of charging data; and updating the fastest charging data based on the shortest charging time for each SOC repetition interval and each non-repetition interval.

[0144] In some implementations, the shortest charging time for each SOC repeat interval and each non-repeating interval is determined based on a preset number of charging data, including: determining the shortest charging time corresponding to the first SOC repeat interval from multiple charging data that share the first SOC repeat interval; the first SOC repeat interval is any SOC repeat interval in each SOC repeat interval; and determining the charging time corresponding to the non-repeating interval in the charging data to which the non-repeating interval belongs as the shortest charging time corresponding to the non-repeating interval.

[0145] In some implementations, updating the fastest charging data based on the shortest charging time for each SOC repeating interval and each non-repeating interval includes: determining whether the shortest charging time for a first interval is less than the charging time corresponding to the same interval in the fastest charging data, wherein the first interval is any interval in each SOC repeating interval and each non-repeating interval; if so, replacing the charging data corresponding to the same interval in the fastest charging data with a portion of the charging data corresponding to the first interval.

[0146] In some implementations, updating the fastest charging data based on the charging data of the current charging process includes: randomly selecting a charging data from a cached preset number of charging data; determining the SOC increment interval that overlaps between the selected charging data and the fastest charging data, and determining the first charging time and the second charging time corresponding to the overlapping SOC increment interval between the selected charging data and the fastest charging data; if the first charging time is less than the second charging time, replacing the charging data in the overlapping SOC increment interval of the fastest charging data with a portion of the charging data corresponding to the first charging time in the selected charging data; randomly selecting another charging data from the remaining charging data, and returning to the step of determining the overlapping SOC increment interval between the selected charging data and the fastest charging data, repeating this process until the fastest charging data is updated using each charging data from the preset number of charging data.

[0147] Another embodiment of this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor executes the program to implement the charging control method of any of the above embodiments.

[0148] like Figure 7 As shown, the electronic device 10 may include: a processor 100, a memory 101, a bus 102 and a communication interface 103. The processor 100, the communication interface 103 and the memory 101 are connected through the bus 102. The memory 101 stores a computer program that can run on the processor 100. When the processor 100 runs the computer program, it executes the method provided in any of the foregoing embodiments of this application.

[0149] The memory 101 may include high-speed random access memory (RAM), and may also include non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 103 (which can be wired or wireless), such as the Internet, wide area network, local area network, metropolitan area network, etc.

[0150] Bus 102 can be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into address bus, data bus, control bus, etc. Memory 101 is used to store programs. After receiving an execution instruction, processor 100 executes the program. The methods disclosed in any of the foregoing embodiments of this application can be applied to processor 100, or implemented by processor 100.

[0151] Processor 100 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 100 or by instructions in software form. The processor 100 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), an Off-the-shelf Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules may reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 101. The processor 100 reads the information in memory 101 and, in conjunction with its hardware, completes the steps of the above method.

[0152] The electronic devices and methods provided in the embodiments of this application are based on the same inventive concept and have the same beneficial effects as the methods they employ, operate, or implement.

[0153] Another embodiment of this application provides a computer-readable storage medium having a computer program stored thereon, which is executed by a processor to implement the charging control method of any of the above embodiments.

[0154] This application also provides a computer-readable storage medium corresponding to the method provided in the foregoing embodiments, see reference. Figure 8 As shown, the computer-readable storage medium is an optical disc 20, on which a computer program (i.e., a program product) is stored. When the computer program is run by a processor, it executes the methods provided in any of the aforementioned embodiments.

[0155] It should be noted that examples of computer-readable storage media may also include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical and magnetic storage media, which will not be elaborated here.

[0156] The computer-readable storage medium provided in the above embodiments of this application and the method provided in the embodiments of this application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the applications stored therein.

[0157] Another embodiment of this application provides a power device, including a power battery and an electronic device according to any of the above embodiments. The power battery is used to provide electrical energy, and the electronic device is used to execute the charging control method of any of the above embodiments on the power battery. This power device can be, for example, an electric vehicle or other electric transportation tool.

[0158] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0159] 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.

[0160] 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. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0161] 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.

[0162] 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.

[0163] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a 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 part of the technical solution, can be embodied in the form of a software product. The 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 of 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.

[0164] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included 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 charge control method characterized by, include: Obtain the fastest charging data, wherein the charging time of the fastest charging data is less than or equal to the shortest charging time in the same state of charge (SOC) increment range during historical charging processes. Based on the fastest charging data, the battery charging is controlled. After the current charging process ends, determine whether the charging data of the current charging process meets the preset fast charging conditions; If so, then update the fastest charging data based on the charging data of the current charging process; Determining whether the charging data of the current charging process meets the preset fast charging conditions includes: If the maximum temperature of the battery during the current charging process is less than or equal to a preset threshold, then the cumulative number of safe charging times will be incremented by one. If the number of safe charging cycles reaches the preset number after adding one, then it is determined that the charging data of the current charging process meets the preset fast charging conditions. If the number of safe charging attempts after adding one is less than the preset number, then the charging data of the current charging process is cached.

2. The method according to claim 1, characterized in that, The fastest charging data includes at least one SOC increment range and the maximum battery temperature corresponding to each SOC increment range. The step of controlling battery charging based on the fastest charging data includes: Thermal management control of the battery is performed based on the current battery temperature and the maximum battery temperature corresponding to the current SOC increment range.

3. The method according to claim 2, characterized in that, The thermal management control of the battery based on the current battery temperature and the maximum battery temperature corresponding to the current SOC increment range includes: Determine the SOC increment range to which the real-time SOC value belongs; Obtain the maximum battery temperature corresponding to the determined SOC increment range from the fastest charging data; Based on the real-time battery temperature and the acquired maximum battery temperature, the corresponding battery thermal management strategy is controlled and executed.

4. The method according to claim 3, characterized in that, The step of controlling the execution of a corresponding battery thermal management strategy based on the real-time battery temperature and the acquired maximum battery temperature includes: Determine the target temperature range corresponding to the obtained maximum battery temperature; If the real-time battery temperature is greater than the upper limit of the target temperature range, the battery is cooled until the real-time battery temperature is less than or equal to the upper limit. If the real-time battery temperature is less than or equal to the lower limit of the target temperature range, the battery is heated until the real-time battery temperature is greater than the lower limit.

5. The method according to claim 1, characterized in that, The fastest charging data includes at least one SOC increment interval and the charging time corresponding to each SOC increment interval; determining whether the charging data of the current charging process meets the preset fast charging conditions includes: Determine the maximum temperature of the battery during the current charging process; Determine the SOC increment range that overlaps between the current charging process and the fastest charging data; The first charging time and the second charging time corresponding to the overlapping SOC increment intervals in the current charging process and the fastest charging data are determined respectively. If the maximum temperature is less than or equal to a preset threshold, and the first charging time is less than the second charging time, then it is determined that the charging data corresponding to the first charging time in the current charging process meets the preset fast charging conditions.

6. The method according to claim 5, characterized in that, The step of updating the fastest charging data based on the charging data of the current charging process includes: Based on the SOC increment interval corresponding to the first charging time during the current charging process, determine the overlapping SOC increment interval in the fastest charging data; Replace the charging data of the corresponding overlapping SOC increment range in the fastest charging data with a portion of the charging data corresponding to the first charging time during the current charging process.

7. The method according to claim 1, characterized in that, The step of updating the fastest charging data based on the charging data of the current charging process includes: Determine the SOC repetition interval and non-repetition interval between the preset number of charging data in the cache; the SOC repetition interval is the SOC increment interval shared by at least two charging data. Based on the charging data of the preset number of times, the shortest charging time for each SOC repeat interval and each non-repeat interval is determined respectively; The fastest charging data is updated based on the shortest charging time for each SOC repeat interval and each non-repeat interval.

8. The method according to claim 7, characterized in that, The step of determining the shortest charging time for each SOC repetition interval and each non-repetition interval based on the charging data of the preset number of times includes: From multiple charging data points that share a first SOC repetition interval, determine the shortest charging time corresponding to the first SOC repetition interval; the first SOC repetition interval is any SOC repetition interval among all SOC repetition intervals. The charging time corresponding to the non-repeating interval in the charging data to which the non-repeating interval belongs is determined as the shortest charging time corresponding to the non-repeating interval.

9. The method according to claim 8, characterized in that, The step of updating the fastest charging data based on the shortest charging time for each SOC repeat interval and each non-repeat interval includes: Determine whether the shortest charging time in the first interval is less than the charging time corresponding to the same interval in the fastest charging data. The first interval is any interval among the repeated intervals and non-repeated intervals of each SOC. If so, the charging data corresponding to the same interval in the fastest charging data will be replaced with the partial charging data corresponding to the first interval.

10. The method according to claim 1, characterized in that, The step of updating the fastest charging data based on the charging data of the current charging process includes: Randomly select a charging data point from the preset number of charging data points in the cache; Determine the SOC increment interval that overlaps between the selected charging data and the fastest charging data, and determine the first charging time and the second charging time corresponding to the overlapping SOC increment interval in the selected charging data and the fastest charging data; If the first charging time is less than the second charging time, then the charging data of the overlapping SOC increment interval in the fastest charging data is replaced with the part of the charging data corresponding to the first charging time in the selected charging data. The process of randomly selecting another charging data point from the remaining charging data and returning to the step of determining the SOC increment interval that overlaps between the selected charging data and the fastest charging data is repeated until the fastest charging data is updated using each charging data point from the preset number of charging data points.

11. A charging control device, characterized in that, include: The acquisition module is used to acquire the fastest charging data, wherein the charging time of the fastest charging data is less than or equal to the shortest charging time in the same state of charge (SOC) increment range during historical charging processes. The control module is used to control the charging of the battery based on the fastest charging data. After the current charging process ends, determine whether the charging data of the current charging process meets the preset fast charging conditions; If so, then update the fastest charging data based on the charging data of the current charging process; Determining whether the charging data of the current charging process meets the preset fast charging conditions includes: If the maximum temperature of the battery during the current charging process is less than or equal to a preset threshold, then the cumulative number of safe charging times will be incremented by one. If the number of safe charging cycles reaches the preset number after adding one, then it is determined that the charging data of the current charging process meets the preset fast charging conditions. If the number of safe charging attempts after adding one is less than the preset number, then the charging data of the current charging process is cached.

12. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the method as described in any one of claims 1-10.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the method as described in any one of claims 1-10.

14. A power unit, characterized in that, It includes a power battery and an electronic device as described in claim 12, wherein the power battery is used to provide electrical energy and the electronic device is used to perform the method as described in any one of claims 1-10 on the power battery.