Charging control method and device, charging equipment and storage medium
By dividing the charging process of new energy vehicles into multiple stages and using the ant colony algorithm to select the optimal charging current value, the problem of battery degradation caused by increased charging current is solved, achieving efficient charging and improved safety of the battery.
Patent Information
- Application Number
- CN202310667515.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-06
- Publication Date
- 2026-02-24
- Estimated Expiration
- 2043-06-06
AI Technical Summary
Increasing the charging current during the charging process of new energy vehicles leads to faster battery degradation and poses safety hazards.
The charging process is divided into multiple stages according to the state of charge. The optimal charging current value is selected by ant colony algorithm, and the target charging path is calculated and screened to achieve optimal charging in different charging stages.
By optimizing the charging path using the Antminer algorithm, the current value of the battery at different charging stages is reduced, the battery degradation rate is slowed down, and charging safety is improved.
Smart Images

Figure CN119078584B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of new energy vehicle technology, and in particular to a charging control method, device, charging equipment, and storage medium. Background Technology
[0002] With the rapid development of new energy technologies, new energy vehicles have also entered a period of rapid development. How to achieve fast charging for new energy vehicles has always been a hot topic in the automotive industry.
[0003] Currently, the main method for achieving fast charging of new energy vehicles is by increasing the charging current. However, lithium plating can occur in the later stages of a single charge in new energy vehicle batteries. Furthermore, as the batteries age, their internal resistance increases, leading to more heat generation during charging and posing safety hazards. Therefore, simply increasing the charging current of new energy vehicles will significantly accelerate battery degradation. Summary of the Invention
[0004] This invention provides a charging control method, device, charging equipment, and storage medium to solve the problem that increasing the charging current during the charging of new energy vehicles leads to a significantly faster rate of battery degradation.
[0005] A charging control method, the method comprising:
[0006] The charging process of the target battery is divided into multiple charging stages according to its state of charge.
[0007] Multiple charging current values for each charging stage are obtained respectively;
[0008] Based on the ant colony algorithm, multiple alternative charging paths are obtained, and each alternative charging path includes a charging current value for each charging stage.
[0009] The target probability value for each alternative charging path is calculated.
[0010] Based on the target probability value, a target charging path is selected from the candidate charging paths.
[0011] Optionally, in the above method, obtaining multiple alternative charging paths based on the ant colony algorithm includes:
[0012] Based on the ant algorithm, a preset number of ants are released, and the following pathfinding logic is executed for each ant:
[0013] A charging current value is selected from multiple charging current values for each charging stage according to the probability average value, and is used as a candidate charging current value.
[0014] Based on the alternative charging current values, the first charging temperature of the target battery during the charging phase is calculated.
[0015] Determine whether the alternative charging current value is less than or equal to the maximum allowable charging current value at the first charging temperature;
[0016] If the candidate charging current value is less than or equal to the maximum charging current value, the candidate current value is determined to be the target charging current value.
[0017] If the candidate charging current value is greater than the maximum charging current value, a new charging current value is selected from the multiple charging currents in each charging stage as a candidate charging current value and the target step is executed. The target step is: to calculate the first charging temperature of the target battery in the charging stage based on the candidate charging current value.
[0018] Based on the target charging current value for each charging stage, the alternative charging paths found by each ant are obtained.
[0019] Optionally, in the above method, calculating the first charging temperature of the target battery during the charging phase based on the alternative charging current value includes:
[0020] The charging duration of the alternative charging current value during the charging phase is calculated.
[0021] The temperature rise of the target battery during the charging phase is calculated based on the charging time and the cooling rate of the target battery cooling system.
[0022] The first charging temperature of the target battery is calculated based on the temperature rise and the initial cell temperature of the target battery.
[0023] Optionally, in the above method, the calculation of the target probability value for each candidate charging path includes:
[0024] The total charging time of the alternative charging path is calculated based on the charging time of each charging stage.
[0025] Based on the total charging time, the target pheromone concentration and heuristic value of the alternative charging path are calculated.
[0026] Based on the target pheromone concentration and heuristic value, the temporary probability value of the alternative charging path is calculated;
[0027] Based on the temporary probability values of the alternative charging paths, iterative calculations are performed using the ant colony algorithm.
[0028] During the iterative calculation process, the temporary probability value of the alternative charging path is continuously updated;
[0029] When the preset number of iterations is reached, the target probability value of each of the alternative charging paths is obtained.
[0030] Optionally, in the above method, calculating the pheromone concentration and heuristic value for each of the candidate charging paths based on the total charging time includes:
[0031] Based on the original pheromone concentration of the candidate charging path and the total charging time, the first pheromone concentration of the candidate charging path is calculated. The first pheromone concentration includes the original pheromone concentration of the candidate charging path and the corresponding pheromone concentration left by the ant.
[0032] The second pheromone concentration of the alternative charging path is calculated, and the second pheromone concentration is the pheromone concentration left by other ants on the alternative charging path;
[0033] The target pheromone concentration for each of the candidate charging paths is obtained based on the first pheromone concentration and the second pheromone concentration.
[0034] Based on the total charging time, a heuristic value is calculated for each of the alternative charging paths.
[0035] Optionally, in the above method, the charging process of the target battery is divided into multiple charging stages according to the state of charge, including:
[0036] The initial state of charge and the target state of charge of the target battery are obtained, wherein the target state of charge is the charging device of the target battery or the maximum state of charge calibrated by the target battery.
[0037] Based on the initial state of charge and the target state of charge, the charging process of the target battery is divided into multiple charging stages.
[0038] Optionally, in the above method, obtaining multiple charging current values for each charging stage includes:
[0039] Based on the state of charge corresponding to each charging stage, a preset charging current table is consulted to obtain the minimum and maximum allowable charging current values for each charging stage at different temperatures.
[0040] Obtain the maximum rated charging current value of the charging device;
[0041] Determine whether the maximum calibrated charging current value is less than the maximum charging current value;
[0042] If the maximum calibrated charging current value is less than the maximum allowable charging current value, multiple charging current values for each charging stage are obtained based on the maximum calibrated charging current value and the minimum charging current value.
[0043] If the maximum calibrated charging current value is greater than or equal to the maximum allowable charging current value, multiple charging current values for each charging stage are obtained based on the maximum allowable charging current value and the minimum allowable charging current value.
[0044] A charging control device, comprising:
[0045] The charging stage division unit is used to divide the charging process of the target battery into multiple charging stages according to the state of charge.
[0046] A charging current acquisition unit is used to acquire multiple charging current values for each of the charging stages.
[0047] The charging path acquisition unit is used to acquire multiple alternative charging paths based on the ant colony algorithm, wherein the alternative charging paths include a charging current value for each charging stage;
[0048] The target probability value calculation unit is used to calculate the target probability value for each alternative charging path;
[0049] The charging path filtering unit is used to filter out the target charging path from the candidate charging paths based on the target probability value.
[0050] A charging device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a charging control method as described above.
[0051] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the charging control method described above.
[0052] The aforementioned charging control method, device, charging equipment, and storage medium divide the charging process of the target battery into multiple charging stages according to its state of charge, and obtain multiple charging current values for each charging stage. Then, using an ant colony algorithm, a charging current value is selected from each charging stage to obtain a candidate charging path. Multiple candidate charging paths are obtained accordingly. A target probability value is calculated for each candidate charging path, and based on the target probability value, a target charging path is selected from the candidate charging paths. The target charging path is then used to charge the target battery at different charging stages according to the specified charging current value. Therefore, this invention, by obtaining the target charging path through the ant colony algorithm, enables the target battery to be charged at different charging stages with different charging current values, ensuring that the target battery is charged with the optimal charging current value at each charging stage, thereby reducing the rate of battery degradation. Attached Figure Description
[0053] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0054] Figure 1 This is a schematic flowchart of a charging control method disclosed in Embodiment 1 of the present invention;
[0055] Figure 2 This is a partial flowchart of a charging control method disclosed in Embodiment 1 of the present invention;
[0056] Figure 3 This is a partial flowchart of a charging control method disclosed in Embodiment 1 of the present invention;
[0057] Figure 4 This is a partial flowchart of a charging control method disclosed in Embodiment 1 of the present invention;
[0058] Figure 5 This is a partial flowchart of a charging control method disclosed in Embodiment 1 of the present invention;
[0059] Figure 6 This is a partial flowchart of a charging control method disclosed in Embodiment 1 of the present invention;
[0060] Figure 7 This is a partial flowchart of a charging control method disclosed in Embodiment 1 of the present invention;
[0061] Figure 8This is a schematic diagram of the structure of a charging control device disclosed in Embodiment 2 of the present invention;
[0062] Figure 9 This is a schematic diagram of the structure of a charging device disclosed in Embodiment 3 of the present invention. Detailed Implementation
[0063] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0064] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0065] It should also be understood that the term “and / or” as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0066] As used in this specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if [described condition or event] is detected" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once [described condition or event] is detected," or "in response to detection of [described condition or event]."
[0067] Furthermore, in the description of this invention and the appended claims, the terms "first," "second," "third," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance.
[0068] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of the invention include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0069] This invention discloses a charging control method, apparatus, charging device, and storage medium. The method divides the charging process of a target battery into multiple charging stages according to its state of charge, and obtains multiple charging current values for each stage. Then, using an ant colony algorithm, a charging current value is selected from each charging stage to obtain a candidate charging path. Multiple candidate charging paths are obtained, and a target probability value is calculated for each path. Based on the target probability value, a target charging path is selected from the candidate paths. The target charging path is then used to charge the target battery at different charging stages according to the specified charging current value. Therefore, this invention, through the target charging path obtained by the ant colony algorithm, enables the target battery to be charged with different charging current values at different charging stages, ensuring that the target battery is charged with the optimal charging current value at each stage, thereby reducing the rate of battery degradation.
[0070] It should be understood that in this invention, an ant colony algorithm is used to select a charging current value for each charging stage of the target battery. The charging current value corresponding to each charging stage is the candidate charging path. By analogy, multiple candidate charging paths can be obtained. The target probability value is calculated for these candidate charging paths to obtain the target probability value of each candidate charging path. The candidate charging path with the largest target probability value is the target charging path.
[0071] Example 1
[0072] like Figure 1 The diagram shown is a flowchart illustrating a charging control method disclosed in Embodiment 1 of the present invention. This method is applicable to the charging control of new energy batteries, devices equipped with new energy batteries, or charging equipment, such as the battery management system of a new energy vehicle, or the control system of a smart charging pile. The specific steps are as follows:
[0073] S101: Divide the charging process of the target battery into multiple charging stages according to the state of charge.
[0074] According to a preset charging stage division method, the charging process of the target battery is divided into multiple charging stages based on the state of charge. The charging stage division method can include the following:
[0075] Firstly, the charging process of the target battery is divided into charging stages according to the state of charge ratio.
[0076] For example, taking a state of charge (SOC) ratio of 1 / 5 as an example, the battery's SOC is 50% before charging. To charge the battery to 100%, the difference in SOC is 50%. Therefore, based on the SOC ratio of 1 / 5, the difference in SOC at each stage is 10%. Based on this, the first charging stage is the charging stage from 50% to 60% of the battery's SOC, the second charging stage is the charging stage from 60% to 70% of the battery's SOC, and so on, resulting in five charging stages.
[0077] Secondly, the charging process of the target battery is divided into charging stages according to the change in state of charge.
[0078] For example, taking a change in state of charge of 5% as an example, if the battery's state of charge is 60% before charging, then, based on a change in state of charge of 5%, the first charging stage is the charging stage from 60% to 65% of the state of charge, the second charging stage is the charging stage from 65% to 70% of the state of charge, and so on, resulting in eight charging stages.
[0079] Thirdly, when the state of charge is less than 60%, the charging stage is divided according to a change in state of charge of 20%, and when the state of charge is greater than or equal to 60%, the charging stage is divided according to a change in state of charge of 10%.
[0080] For example, if the battery's state of charge (SOC) before charging is 20%, then if we divide the charging stages according to the change in SOC of 20% when the SOC is less than 60%, then the first charging stage is from 20% to 40% SOC; the second charging stage is from 40% to 60% SOC; and if we divide the charging stages according to the change in SOC of 10% when the SOC is greater than or equal to 60%, then the third charging stage is from 60% to 70% SOC; the fourth charging stage is from 70% to 80% SOC; the fifth charging stage is from 80% to 90% SOC; and the sixth charging stage is from 90% to 100% SOC, resulting in six charging stages.
[0081] It should be understood that the above three methods of dividing charging stages are only some of the methods of dividing charging stages in this embodiment, and this embodiment does not limit the method of dividing the charging stages of the target battery.
[0082] S102: Obtain multiple charging current values for each charging stage.
[0083] It should be understood that the allowable charging current value of the target battery is different when it is charged at different charging stages, and the heat generated during the charging process is also different, which in turn leads to the temperature of the target battery being different at different charging stages. Therefore, the allowable charging current of the target battery is also different at different charging stages.
[0084] In this specific implementation, a preset charging current table can be consulted to obtain the allowable charging current values of the target battery at different charging stages, thereby obtaining the maximum and minimum charging current values for different charging stages. Based on the maximum and minimum charging current values, multiple charging current values for each charging stage are obtained. The charging current table records the calibrated charging current values of the target battery at different charging stages and at different temperatures.
[0085] According to the preset charging current division method, multiple charging current values are divided according to the maximum charging current value and the minimum charging current value.
[0086] For example, taking the maximum charging current value of 200A and the minimum charging current value of 100A in the first charging stage as an example, the maximum and minimum charging current values are divided into 10 charging current values, namely 100A, 110A, 120A, 130A, 140A, 150A, 160A, 170A, 180A, 190A, 200A, and so on, to obtain multiple charging current values corresponding to each charging stage.
[0087] S103: Based on the ant colony algorithm, multiple alternative charging paths are obtained.
[0088] The alternative charging path includes a charging current value for each charging stage.
[0089] In this implementation, multiple ants can be released using the ant colony algorithm. Each ant randomly selects a charging current value in each charging stage, thus providing each ant with an alternative charging path. For example, with three charging stages, for each ant, a charging current value is randomly selected in the first charging stage, the second charging stage, and the third charging stage, thereby obtaining an alternative charging path.
[0090] S104: Calculate the target probability value for each alternative charging path.
[0091] In a specific implementation, this embodiment can calculate the pheromone concentration left by the ant on each charging path and the heuristic value of each alternative charging path, and then calculate the target probability value of each alternative charging path based on the pheromone concentration and the heuristic value.
[0092] It should be understood that this embodiment can perform iterative calculations on the process of obtaining alternative charging paths according to the ant colony algorithm to increase the pheromone concentration of alternative charging paths and continuously update the target probability value of each alternative charging path. When the preset number of iterations is reached, the target probability value of the optimal alternative charging path can be made to be significantly different from the probability values of other alternative charging paths.
[0093] S105: Select the target charging path from the candidate charging paths based on the target probability value.
[0094] In a specific implementation, this embodiment can filter out the target charging path from these candidate charging paths by the magnitude of the target probability value of each candidate charging path. In other words, the candidate charging path with the larger target probability value is the target charging path.
[0095] It should be understood that after obtaining the target charging path, the target battery can be charged according to the specified charging current value at different charging stages indicated by the target charging path.
[0096] For example, in the first charging stage (50%-60%) of the target battery, the target battery is charged at a charging current of 160A as specified in the first charging stage. When the state of charge of the target battery reaches 60%, the target battery is then charged in the second charging stage (60%-70%) at a charging current of 140A as specified in the second charging stage. And so on, the target battery is charged according to the charging current value specified in each charging stage of the target battery.
[0097] It's important to note that before each charging cycle, the target battery needs to use the ant colony algorithm to find a target charging path. After obtaining the target charging path, the target battery is charged according to the charging current value of each charging stage indicated by the target charging path. Alternatively, the target battery can query historical charging records each time it is charged, matching recent similar target charging paths. When a similar target charging path exists, the target battery is charged according to the matched path; otherwise, the ant colony algorithm is used again to find a target charging path.
[0098] In summary, Embodiment 1 of this invention discloses a charging control method. This method divides the charging process of the target battery into multiple charging stages according to its state of charge, obtains multiple charging current values for each stage, and then uses an ant colony algorithm to select a charging current value from each stage to obtain a candidate charging path. Multiple candidate charging paths are obtained accordingly. A target probability value is calculated for each candidate charging path, and based on the target probability value, a target charging path is selected from the candidate paths. The target charging path is then used to charge the target battery at different charging stages according to the specified charging current value. Therefore, this invention, by using the target charging path obtained through the ant colony algorithm, enables the target battery to be charged at different charging stages with different charging current values, ensuring that the target battery is charged with the optimal charging current value at each stage, thereby reducing the rate of battery degradation.
[0099] based on Figure 1 In its specific implementation, step S103 can be achieved through the following steps, such as... Figure 2 As shown:
[0100] Based on the ant colony algorithm, a predetermined number of ants are released, and the following pathfinding logic is executed for each ant:
[0101] S201: Select a charging current value from multiple charging current values for each charging stage according to the probability average value, and use it as a candidate charging current value.
[0102] In this specific implementation, a preset charging current table can be consulted to obtain the allowable charging current values of the target battery at different charging stages, thereby obtaining the maximum and minimum charging current values for different charging stages. Based on the maximum and minimum charging current values, multiple charging current values for each charging stage are obtained. The charging current table records the calibrated charging current values of the target battery at different charging stages and at different temperatures.
[0103] According to the Antminer algorithm, when selecting a charging current value for the first time in each charging stage, the probability of selecting each charging current value is the same, that is, the average probability is taken. For example, when there are five charging current values in a charging stage, the probability of selecting each charging current value is 20%. Based on this, one charging current value is selected from each charging stage as the candidate key current value.
[0104] S202: Calculate the first charging temperature of the target battery during the charging phase based on the alternative charging current value.
[0105] In this specific implementation, the temperature rise of the target battery in the current charging stage can be calculated based on the alternative charging current value. Then, combined with the cell temperature value of the target battery before charging, the first charging temperature of that charging stage can be calculated, that is, the cell temperature of the target battery when the charging stage is completed. This process is repeated to calculate the first charging temperature for each charging stage.
[0106] It should be understood that when the temperature rise value of the target battery in the first charging stage is obtained, the first charging temperature of the first charging stage is the sum of the temperature rise value of the first charging stage and the cell temperature value. When the temperature rise value of the target battery in the second charging stage is obtained, the first temperature value of the second charging stage is the sum of the temperature rise value of the first charging stage, the temperature rise value of the second stage, and the cell temperature value, and so on, to obtain the first temperature value of each charging stage.
[0107] S203: Determine whether the alternative charging current value is less than or equal to the maximum allowable charging current value at the first charging temperature.
[0108] If the alternative charging current value is less than or equal to the maximum allowable charging current value under the first charging temperature, proceed to step S204, that is, determine the alternative current value as the target charging current value; if the alternative charging current value is greater than the maximum allowable charging current value under the first charging temperature, proceed to step S205, that is, reselect a charging current value from the multiple charging currents of each charging stage as the alternative charging current value.
[0109] Based on the state of charge (SOC) of the target battery at different charging stages, a preset charging current table is consulted to obtain the maximum allowable charging current value of the target battery at different charging stages and at a first charging temperature. Then, it is determined whether the selected alternative charging current values for different charging stages are less than or equal to the maximum allowable current value at the first target temperature. If the alternative charging current value is less than or equal to the maximum allowable charging current value at the first charging temperature, the alternative current value is determined as the target charging current value. If the alternative charging current value is greater than the maximum allowable charging current value at the first charging temperature, a new charging current value is selected from multiple charging currents for each charging stage as the alternative charging current value.
[0110] For example, in the first charging stage of the target battery (50%-60% state of charge), the calculated first temperature is 42℃. Based on the 60% state of charge, the charging current table is consulted to obtain the maximum allowable charging current value at the first charging temperature. Then, it is determined whether the alternative current value for the first charging stage is greater than or less than the maximum charging current value. Similarly, the maximum allowable charging current value at the first charging temperature is obtained for each charging stage, and then it is determined whether the alternative current value for each charging stage is less than or equal to the maximum charging current value.
[0111] S204: Determine the alternative current value as the target charging current value.
[0112] S205: Select a new charging current value from the multiple charging currents in the charging stage as a candidate charging current value, and return to step S202, that is, calculate the first charging temperature of the target battery in the charging stage based on the candidate charging current value.
[0113] In other words, when the alternative charging current value is greater than the maximum allowable charging current value under the first charging temperature, it is necessary to reselect a charging current value from the multiple charging currents in the charging stage as the alternative charging current value, and then re-determine whether the alternative charging current value is less than or equal to the maximum allowable charging current value under the first charging temperature.
[0114] According to the ant colony algorithm, when the candidate charging current value is greater than the maximum allowable charging current value at the first charging temperature, the pheromone of the candidate charging current can be updated to 0. This prevents other ants from selecting this candidate charging current during the ant colony algorithm iteration.
[0115] S206: Based on the target charging current value for each charging stage, obtain the alternative charging paths found by each ant.
[0116] For a single ant, when selecting the target charging current for each charging stage, an alternative charging path is obtained. This process is repeated to obtain the alternative charging paths found by each ant.
[0117] As can be seen, the ant colony algorithm in this embodiment can obtain multiple feasible alternative charging paths, thereby providing a variety of optional charging strategies for new energy batteries. By selecting the best alternative charging path from these alternative charging paths through the ant colony algorithm, the battery degradation rate can be reduced to the maximum extent while meeting the requirements for fast charging of new energy batteries.
[0118] based on Figure 2 In its specific implementation, step S202 can be achieved through the following steps, such as... Figure 3 As shown:
[0119] S301: Calculate the charging time of the alternative charging current value during the charging phase.
[0120] In a specific implementation, this embodiment can calculate the charging duration of the alternative charging current value in each charging stage based on the state of charge of each charging stage and the selected alternative charging current.
[0121] Based on the state of charge (SOC) of each charging stage, the change in SOC of each charging stage is calculated. Then, combined with the alternative charging current value selected for each stage, the charging duration of each charging stage is calculated.
[0122] Specifically, the formula for calculating the charging time in this embodiment can be as follows:
[0123]
[0124] Among them, SOC i State of Charge (SOC) represents the final state of charge during the current charging phase. j Indicates the initial state of charge during the current charging phase, I ij t represents the alternative charging current for the current charging phase, t represents the charging duration for the current charging phase, and Vol represents the target battery capacity.
[0125] For example, if the state of charge of a charging stage is 50% to 60%, then 50% is the initial state of charge and 60% is the final state of charge.
[0126] S302: Calculate the temperature rise of the target battery during the charging phase based on the charging time and the cooling rate of the target battery cooling system.
[0127] The cooling rate of the target battery cooling system can be the cooling system of the entire vehicle or the cooling system of the target battery itself. The charging time of the current charging stage and the cooling rate of the target battery cooling system are input into the temperature rise calculation formula to obtain the temperature rise value of the current charging stage.
[0128] Specifically, the formula for calculating temperature rise can be shown below:
[0129]
[0130] Among them, HS(TT) env This indicates the heat exchange between the target battery and the environment. The heat generated by the battery's internal resistance is represented by H, which represents the convection coefficient, and C is the heat generated by the battery's internal resistance. P The battery's specific heat capacity is represented by S, the battery's surface area by k, the vehicle's cooling system's cooling rate by k, the charging duration of the current charging phase by t, and the target battery's average surface temperature by T. env It represents the average ambient radiant temperature.
[0131] It is understood that the cooling rate of the vehicle cooling system in this embodiment of the invention can be constant or variable, and this embodiment does not impose any limitation.
[0132] S303: Calculate the first charging temperature of the target battery based on the temperature rise and the initial cell temperature of the target battery.
[0133] In this specific implementation, the temperature rise of the target battery in the current charging stage can be calculated based on the alternative charging current value. Then, combined with the cell temperature value of the target battery before charging, the first charging temperature of that charging stage can be calculated, that is, the cell temperature of the target battery when the charging stage is completed. This process is repeated to calculate the first charging temperature for each charging stage.
[0134] It should be understood that when the temperature rise value of the target battery in the first charging stage is obtained, the first charging temperature of the first charging stage is the sum of the temperature rise value of the first charging stage and the cell temperature value. When the temperature rise value of the target battery in the second charging stage is obtained, the first temperature value of the second charging stage is the sum of the temperature rise value of the first charging stage, the temperature rise value of the second stage, and the cell temperature value. And so on, the first temperature value of the target battery in each charging stage is obtained.
[0135] In summary, this embodiment takes into account the cooling rate of the vehicle's cooling system when calculating the first charging temperature for each charging stage, which can further improve the accuracy of the calculated first charging temperature.
[0136] based on Figure 1 In its specific implementation, step S104 can be achieved through the following steps, such as... Figure 4 As shown:
[0137] S401: Calculate the total charging time of the alternative charging path based on the charging time of each charging stage.
[0138] In a specific implementation, this embodiment can calculate the charging time of the alternative charging path in each charging stage, and then add up the charging time of each charging stage to obtain the total charging time of the alternative charging path.
[0139] The formula for calculating the total charging time is as follows:
[0140]
[0141] Among them, t n N represents the charging time of each charging stage, N represents the number of charging stages, and L represents the total charging time of the alternative charging paths.
[0142] It should be understood that, for each alternative charging path, the charging time of each stage of the alternative charging path is calculated separately, and then summed to obtain the total charging time of the alternative charging path. This process is repeated to calculate the total charging time of each alternative charging path.
[0143] S402: Based on the total charging time, calculate the target pheromone concentration and heuristic value of the alternative charging paths.
[0144] According to the ant colony algorithm, each ant leaves pheromones on the path it travels, calculates the target pheromone concentration for each candidate charging path, and calculates the heuristic value for each candidate charging path. Based on the calculated target pheromone concentration and heuristic value, the subsequent steps of the charging control method are executed.
[0145] S403: Calculate the temporary probability value of the alternative charging path based on the target pheromone concentration and the heuristic value.
[0146] In this specific implementation, the calculated target pheromone concentration and heuristic value are input into the probability calculation formula to calculate the temporary probability value of each alternative charging path.
[0147] Specifically, the probability calculation formula can be shown below:
[0148]
[0149] Where, τ a η represents the target pheromone concentration of the alternative charging path. a Let α represent the heuristic value of the alternative charging path, β represent the pheromone factor, β represent the heuristic function factor, and P represent the temporary probability value.
[0150] It should be understood that the numerator in the above probability calculation formula is the product of the target pheromone concentration and the heuristic value for a single alternative charging path, and the denominator is the sum of the products of the target pheromone concentration and the heuristic value for all alternative charging paths. The resulting ratio is the temporary probability value.
[0151] S404: Based on the temporary probability values of the alternative charging paths, perform iterative calculations using the ant colony algorithm.
[0152] In the specific implementation, when candidate charging paths are obtained according to the ant colony algorithm based on the probability average, and a temporary probability value is calculated for each candidate charging path, one iteration is completed. After that, candidate charging paths are obtained again according to the obtained temporary probability value using the ant colony algorithm, and the temporary probability value for each candidate charging path is calculated again. In this way, in the second iteration, the ants released according to the ant colony algorithm will choose the charging path with a larger temporary probability value. The more ants choose a certain candidate charging path, the higher the pheromone concentration of that candidate charging path will be, the greater the heuristic value will be, and the greater the probability when updating the temporary probability value each time.
[0153] For example, if the probability of selecting a charging current value in each charging stage is 10%, when the temporary probability of the alternative charging path is calculated to be 20%, then the probability of this alternative charging path selecting the charging current in each charging path will become 20%. Therefore, in the second iteration, more ants will choose the charging current with a probability of 20%.
[0154] It should be understood that new alternative charging paths will be generated during the iterative calculation process. These new alternative charging paths will also participate in the calculation of the temporary probability value. If the charging time of the new alternative charging path is shorter, then the target pheromone concentration and heuristic value of the new alternative charging path will increase rapidly during the iteration process.
[0155] S405: During the iterative calculation, the temporary probability value of the alternative charging path is continuously updated.
[0156] During the iterative calculation, based on the temporary probability value calculated from the previous iteration, more ants will choose the alternative charging path with a higher temporary probability value. As a result, the concentration of target pheromones on this alternative charging path will be higher, and consequently, the temporary probability value of this alternative charging path will also be greater.
[0157] S406: When the preset number of iterations is reached, the target probability value of each alternative charging path is obtained.
[0158] When the preset number of iterations is reached, the temporary probability value of each candidate charging path is no longer updated. At this point, the temporary probability value of each candidate charging path becomes the target probability value, and the subsequent steps of the charging control method are executed based on the target probability value.
[0159] In summary, this invention calculates the target pheromone concentration and heuristic value for each candidate charging path based on the total charging time of the candidate charging paths, and then calculates a temporary probability value accordingly. The larger the temporary probability value of a candidate charging path, the more ants will choose this candidate charging path during the iterative calculation process, and the higher the target pheromone concentration of this candidate charging path will be, which in turn will result in a larger updated temporary probability value. This virtuous cycle can quickly enable the ant colony algorithm model to converge and obtain the target probability value for each candidate charging path.
[0160] based on Figure 4 In its specific implementation, step S402 can be achieved through the following steps, such as... Figure 5 As shown:
[0161] S501: Calculate the first pheromone concentration of the candidate charging path based on the original pheromone concentration and the total charging time.
[0162] The first pheromone concentration includes the original pheromone concentration of the alternative charging path and the corresponding pheromone concentration left by the ants.
[0163] Input the total charging time into the formula for calculating the first pheromone concentration to obtain the first pheromone concentration.
[0164] Specifically, the formula for calculating the concentration of the first pheromone can be shown below:
[0165]
[0166] Where, τ ini τ1 represents the initial pheromone concentration of the candidate charging path, L represents the total charging time of the candidate charging path, and τ1 represents the first pheromone concentration of the candidate charging path.
[0167] It should be understood that the original pheromone concentration of the alternative charging path remains unchanged. The longer the total charging time, the smaller the value of the first pheromone concentration. The shorter the total charging time, the larger the first pheromone concentration. The first pheromone concentration decreases as the total charging time increases.
[0168] S502: Calculate the second pheromone concentration of the alternative charging path.
[0169] The second pheromone concentration is the pheromone concentration left by other ants on the alternative charging path.
[0170] In one iteration of the ant colony algorithm, a preset number of ants are released to obtain alternative charging paths. When two alternative charging paths overlap, different ants will leave pheromones on the other alternative charging paths. In other words, when calculating the target pheromone concentration of an alternative charging path, it is necessary to calculate the pheromone concentration left by all ants that pass through this alternative charging path, which is the second pheromone concentration.
[0171] For example, taking the first alternative charging path as an example, if the charging current selected by the first alternative charging path in the first charging stage is the same as the charging current selected by the second alternative charging path in the first charging stage, then when calculating the target pheromone concentration of the first alternative charging path, it is necessary to calculate the sum of the pheromone concentrations of twice the alternative charging paths.
[0172] S503: Based on the first pheromone concentration and the second pheromone concentration, obtain the target pheromone concentration for each candidate charging path.
[0173] In the specific implementation, the first pheromone concentration and the second pheromone concentration are input into the target pheromone concentration calculation formula to obtain the target pheromone concentration for each alternative charging path.
[0174] Specifically, the formula for calculating the target pheromone concentration can be shown below:
[0175]
[0176] Where ρ represents the pheromone evaporation factor, τ ini L represents the original pheromone concentration. a The total charging time for the alternative charging paths is represented by A, and the number of ants is represented by τ. a This indicates the target pheromone concentration of the alternative charging path.
[0177] It should be understood that after all ants have completed path finding, the pheromone concentration of each candidate charging path is calculated. When other candidate charging paths intersect with the currently calculated candidate charging path, the sum of the pheromone concentrations of all intersecting candidate charging paths is calculated, i.e., the above. Considering the volatilization of the original pheromone concentration, the original pheromone concentration is (1-ρ)τ as described above. ini This allows us to obtain the pheromone concentration τ of the currently calculated alternative charging paths. Additionally, The calculation involves the pheromone concentration of all candidate charging paths. If there is no intersection between other candidate charging paths and the currently calculated candidate charging path, then the pheromone concentration of that candidate charging path is 0.
[0178] S504: Calculate the heuristic value for each alternative charging path based on the total charging time.
[0179] In the specific implementation, the total charging time is input into the heuristic value calculation formula to obtain the heuristic value for each alternative charging path.
[0180] Specifically, the formula for calculating the heuristic value can be as follows:
[0181]
[0182] Among them, L a The total charging time for the alternative charging paths is represented by A, and the number of ants is represented by η. a This represents the heuristic value for alternative charging paths.
[0183] It should be understood that the heuristic value of the alternative charging path is the reciprocal of the total charging time; the shorter the total charging time, the larger the heuristic value.
[0184] In summary, this invention calculates the target pheromone concentration and heuristic value for each candidate charging path based on the total charging time of the candidate charging paths, and then calculates a temporary probability value accordingly. The larger the temporary probability value of a candidate charging path, the more ants will choose this candidate charging path during the iterative calculation process, and the higher the target pheromone concentration of this candidate charging path will be, which in turn will result in a larger updated temporary probability value. This virtuous cycle can quickly enable the ant colony algorithm model to converge and obtain the target probability value for each candidate charging path.
[0185] based on Figure 1 In its specific implementation, step S101 can be achieved through the following steps, such as... Figure 6 As shown:
[0186] S601: Obtain the initial state of charge and target state of charge of the target battery.
[0187] The target state of charge is the charging device for the target battery or the maximum state of charge calibrated by the target battery.
[0188] In this specific implementation, the maximum state of charge (SOC) calibrated by the target battery's battery management system can be read, or the maximum SOC of the charging device (such as a smart charging pile) can be obtained through message interaction. This obtained maximum SOC is then used as the target SOC. The initial SOC is the SOC when the target battery begins charging. For example, if the charging gun is connected to the charging interface of a new energy vehicle, and the remaining battery power of the new energy vehicle is 50%, then the initial SOC of the new energy vehicle is 50%.
[0189] S602: Based on the initial state of charge and the target state of charge, the charging process of the target battery is divided into multiple charging stages.
[0190] According to a preset charging stage division method, the charging process of the target battery is divided into multiple charging stages based on the state of charge. The charging stage division method can include the following:
[0191] Firstly, the charging process of the target battery is divided into charging stages according to the state of charge ratio.
[0192] For example, taking a state of charge (SOC) ratio of 1 / 5 as an example, the battery's initial SOC is 50%. When the battery is charged to the target SOC of 100%, the difference in SOC is 50%. Based on the SOC ratio of 1 / 5, that is, the difference in SOC at each stage is 10%. Therefore, the first charging stage is the charging stage from 50% to 60% of the battery's SOC, the second charging stage is the charging stage from 60% to 70% of the battery's SOC, and so on, resulting in five charging stages.
[0193] Secondly, the charging process of the target battery is divided into charging stages according to the change in state of charge.
[0194] For example, if the change in state of charge is 5%, and the initial state of charge of the battery is 60%, then according to the change in state of charge of 5%, the first charging stage is the charging stage from 60% to 65% of the state of charge, the second charging stage is the charging stage from 65% to 70% of the state of charge, and so on, resulting in eight charging stages.
[0195] In summary, this embodiment divides the charging process of the target battery into multiple charging stages, and then selects different charging current values for each charging stage. By flexibly adjusting the charging current values of different charging stages, the degradation rate of the target battery can be slowed down.
[0196] based on Figure 1 In its specific implementation, step S102 can be achieved through the following steps, such as... Figure 7 As shown:
[0197] S701: Based on the state of charge corresponding to each charging stage, query the preset charging current table to obtain the minimum and maximum allowable charging current values for each charging stage at different temperatures.
[0198] The charging current meter specifies the allowable charging current values for the target battery under different states of charge and at different temperatures. Based on the target battery's state of charge at the current charging stage, the minimum and maximum allowable charging current values for the target battery at different temperatures are obtained by consulting the preset charging current meter.
[0199] S702: Obtain the maximum rated charging current value of the charging device.
[0200] In this specific implementation, the maximum edge charging current value of the charging device can be obtained through message interaction.
[0201] S703: Determine whether the maximum calibrated charging current value is less than the maximum charging current value.
[0202] If the maximum calibrated charging current value is less than the maximum charging current value, proceed to step S704, that is, obtain multiple charging current values for each charging stage based on the maximum calibrated charging current value and the minimum charging current value; if the maximum calibrated charging current value is greater than or equal to the maximum charging current value, proceed to step S705, that is, obtain multiple charging current values for each charging stage based on the maximum allowable charging current value and the minimum allowable charging current value.
[0203] It should be understood that when the maximum rated charging current is less than the maximum charging current, the charging device cannot provide a sufficiently large charging current to the target battery. Therefore, multiple charging current values for each charging stage are obtained based on the maximum rated charging current and the minimum charging current of the charging device. When the maximum rated charging current is greater than or equal to the maximum charging current, the charging device can provide a sufficiently large charging current to the target battery. Therefore, multiple charging current values for each charging stage are obtained based on the maximum allowable charging current and the minimum allowable charging current.
[0204] S704: Based on the maximum and minimum calibrated charging current values, obtain multiple charging current values for each charging stage.
[0205] In the specific implementation, according to the preset charging current division method, multiple charging current values are divided according to the maximum calibrated charging current value and the minimum charging current value.
[0206] For example, taking the maximum rated charging current value of 200A and the minimum charging current value of 100A in the first charging stage as an example, the maximum rated charging current value and the minimum charging current value are divided into 10 charging current values, namely 100A, 110A, 120A, 130A, 140A, 150A, 160A, 170A, 180A, 190A, 200A, and so on, to obtain multiple charging current values corresponding to each charging stage.
[0207] S705: Based on the maximum and minimum allowable charging current values, obtain multiple charging current values for each charging stage.
[0208] In the specific implementation, according to the preset charging current division method, multiple charging current values are divided according to the maximum calibrated charging current value and the minimum charging current value.
[0209] For example, taking the maximum allowable charging current value of 200A and the minimum allowable charging current value of 100A in the first charging stage as an example, the maximum and minimum allowable charging current values are divided into 5 charging current values, namely 100A, 120A, 140A, 160A, 180A, and 200A, and so on, to obtain multiple charging current values corresponding to each charging stage.
[0210] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0211] Example 2
[0212] like Figure 8 The diagram shown is a structural schematic of a charging control device disclosed in Embodiment 2 of the present invention, as detailed below:
[0213] In a specific implementation, the charging control device in this embodiment may include the following units:
[0214] The charging stage division unit 801 is used to divide the charging process of the target battery into multiple charging stages according to the state of charge.
[0215] The charging current acquisition unit 802 is used to acquire multiple charging current values for each charging stage.
[0216] The charging path acquisition unit 803 is used to acquire multiple alternative charging paths based on the ant colony algorithm. The alternative charging paths include a charging current value for each charging stage.
[0217] The target probability value calculation unit 804 is used to calculate the target probability value for each alternative charging path;
[0218] The charging path filtering unit 805 is used to filter the target charging path from the candidate charging paths according to the target probability value.
[0219] In summary, Embodiment 2 of this invention discloses a charging control device. It divides the charging process of the target battery into multiple charging stages according to its state of charge, and obtains multiple charging current values for each charging stage. Then, using an ant colony algorithm, it selects a charging current value from each charging stage to obtain a candidate charging path, thereby obtaining multiple candidate charging paths. It calculates a target probability value for each candidate charging path and, based on the target probability value, selects the target charging path from the candidate charging paths. The target charging path is then used to charge the target battery at different charging stages according to the specified charging current value. Therefore, this invention, by obtaining the target charging path through the ant colony algorithm, enables the target battery to be charged at different charging stages with different charging current values, ensuring that the target battery is charged with the optimal charging current value at each charging stage, thus reducing the rate of battery degradation.
[0220] In one implementation, the charging path acquisition unit 803 can be used for:
[0221] Based on the ant colony algorithm, a predetermined number of ants are released, and the following pathfinding logic is executed for each ant:
[0222] Select a charging current value from multiple charging current values for each charging stage according to the probability average value, and use it as the alternative charging current value.
[0223] Based on the alternative charging current values, the first charging temperature of the target battery during the charging phase is calculated.
[0224] Determine whether the alternative charging current value is less than or equal to the maximum allowable charging current value at the first charging temperature;
[0225] If the alternative charging current value is less than or equal to the maximum charging current value, the alternative current value is determined to be the target charging current value.
[0226] If the candidate charging current value is greater than the maximum charging current value, select a new charging current value from the multiple charging currents in each charging stage as the candidate charging current value and execute the target step. The target step is: calculate the first charging temperature of the target battery in the charging stage based on the candidate charging current value.
[0227] Based on the target charging current value for each charging stage, the alternative charging paths found by each ant are obtained.
[0228] In one implementation, the charging path acquisition unit 803 can be used for:
[0229] The charging time of the alternative charging current value during the charging phase is calculated.
[0230] The temperature rise of the target battery during the charging phase is calculated based on the charging time and the cooling rate of the target battery cooling system.
[0231] The first charging temperature of the target battery is calculated based on the temperature rise and the initial cell temperature of the target battery.
[0232] In one implementation, the target probability value calculation unit 804 can be used for:
[0233] The total charging time of the alternative charging paths is calculated based on the charging time of each charging stage.
[0234] Based on the total charging time, the target pheromone concentration and heuristic value of the alternative charging paths are calculated.
[0235] Based on the target pheromone concentration and heuristic value, the temporary probability value of the alternative charging path is calculated;
[0236] Based on the temporary probability values of the alternative charging paths, iterative calculations are performed using the ant colony algorithm.
[0237] During the iterative calculation, the temporary probability values of the alternative charging paths are continuously updated;
[0238] When the preset number of iterations is reached, the target probability value of each alternative charging path is obtained.
[0239] In one implementation, the target probability value calculation unit 804 can also be used for:
[0240] Based on the original pheromone concentration of the candidate charging path and the total charging time, the first pheromone concentration of the candidate charging path is calculated. The first pheromone concentration includes the original pheromone concentration of the candidate charging path and the pheromone concentration left by the ants.
[0241] The second pheromone concentration of the candidate charging path is calculated. The second pheromone concentration is the pheromone concentration left by other ants on the candidate charging path.
[0242] The target pheromone concentration for each candidate charging path is obtained based on the first pheromone concentration and the second pheromone concentration.
[0243] Based on the total charging time, the heuristic value for each alternative charging path is calculated.
[0244] In one implementation, the charging phase division unit 801 can be used for:
[0245] Obtain the initial state of charge and target state of charge of the target battery. The target state of charge is the charging device of the target battery or the maximum state of charge calibrated by the target battery.
[0246] Based on the initial state of charge and the target state of charge, the charging process of the target battery is divided into multiple charging stages.
[0247] In one implementation, the charging current acquisition unit 802 can be used for:
[0248] Based on the state of charge corresponding to each charging stage, the preset charging current table is consulted to obtain the minimum and maximum allowable charging current values for each charging stage at different temperatures.
[0249] Obtain the maximum rated charging current value of the charging device;
[0250] Determine whether the maximum calibrated charging current value is less than the maximum charging current value;
[0251] If the maximum calibrated charging current value is less than the maximum allowable charging current value, multiple charging current values for each charging stage are obtained based on the maximum calibrated charging current value and the minimum charging current value.
[0252] If the maximum calibrated charging current value is greater than or equal to the maximum allowable charging current value, multiple charging current values for each charging stage are obtained based on the maximum allowable charging current value and the minimum allowable charging current value.
[0253] For specific limitations regarding the charging control device, please refer to the limitations regarding the charging control method mentioned above, which will not be repeated here. Each module in the aforementioned charging control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware or independently of the processor in the charging device, or stored in software in the memory of the charging device, so that the processor can call and execute the operations corresponding to each module.
[0254] Example 3
[0255] Embodiment 3 of this application discloses a charging device, which can be a server, and its internal structure diagram is as follows: Figure 9 As shown, the charging device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements a charging control method.
[0256] In one embodiment, a charging 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 computer program to perform the following steps:
[0257] The charging process of the target battery is divided into multiple charging stages according to its state of charge.
[0258] Multiple charging current values for each charging stage are obtained.
[0259] Based on the ant colony algorithm, multiple alternative charging paths are obtained, each of which includes a charging current value for each charging stage.
[0260] The target probability value for each alternative charging path is calculated.
[0261] Based on the target probability value, the target charging path is selected from the candidate charging paths.
[0262] Example 4
[0263] Embodiment 4 of this application discloses a computer-readable storage medium that, when executed by a processor in a charging device, enables the charging device to perform the steps of any embodiment of a charging control method disclosed in this invention. The computer-readable storage medium may be non-volatile or volatile.
[0264] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0265] The charging process of the target battery is divided into multiple charging stages according to its state of charge.
[0266] Multiple charging current values for each charging stage are obtained.
[0267] Based on the ant colony algorithm, multiple alternative charging paths are obtained, each of which includes a charging current value for each charging stage.
[0268] The target probability value for each alternative charging path is calculated.
[0269] Based on the target probability value, the target charging path is selected from the candidate charging paths.
[0270] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. This computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0271] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0272] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included within the protection scope of the present invention.
Claims
1. A charging control method, characterized in that, The method includes: The charging process of the target battery is divided into multiple charging stages according to its state of charge. Multiple charging current values for each charging stage are obtained respectively; Based on the ant colony algorithm, multiple alternative charging paths are obtained, and each alternative charging path includes a charging current value for each charging stage. The target probability value for each alternative charging path is calculated. Based on the target probability value, a target charging path is selected from the candidate charging paths; The ant colony algorithm yielded multiple alternative charging paths, including: Based on the ant algorithm, a preset number of ants are released, and the following pathfinding logic is executed for each ant: A charging current value is selected from multiple charging current values for each charging stage according to the probability average value, and is used as a candidate charging current value. Based on the alternative charging current values, the first charging temperature of the target battery during the charging phase is calculated. Determine whether the alternative charging current value is less than or equal to the maximum allowable charging current value at the first charging temperature; If the candidate charging current value is less than or equal to the maximum charging current value, the candidate charging current value is determined to be the target charging current value. Based on the target charging current value for each charging stage, the alternative charging paths found by each ant are obtained.
2. The charging control method as described in claim 1, characterized in that, The method of obtaining multiple alternative charging paths based on the ant colony algorithm also includes: If the candidate charging current value is greater than the maximum charging current value, a new charging current value is selected from the multiple charging currents in each charging stage as the candidate charging current value and the target step is executed. The target step is to calculate the first charging temperature of the target battery in the charging stage based on the candidate charging current value.
3. The charging control method as described in claim 2, characterized in that, The step of calculating the first charging temperature of the target battery during the charging phase based on the alternative charging current value includes: The charging duration of the alternative charging current value during the charging phase is calculated. The temperature rise of the target battery during the charging phase is calculated based on the charging time and the cooling rate of the target battery cooling system. The first charging temperature of the target battery is calculated based on the temperature rise and the initial cell temperature of the target battery.
4. The charging control method as described in claim 1, characterized in that, The calculation yields the target probability value for each candidate charging path, including: The total charging time of the alternative charging path is calculated based on the charging time of each charging stage. Based on the total charging time, the target pheromone concentration and heuristic value of the alternative charging path are calculated. Based on the target pheromone concentration and heuristic value, the temporary probability value of the alternative charging path is calculated; Based on the temporary probability values of the alternative charging paths, iterative calculations are performed using the ant colony algorithm. During the iterative calculation process, the temporary probability value of the alternative charging path is continuously updated; When the preset number of iterations is reached, the target probability value of each of the alternative charging paths is obtained.
5. The charging control method as described in claim 4, characterized in that, The calculation of the pheromone concentration and heuristic value for each candidate charging path based on the total charging time includes: Based on the original pheromone concentration of the candidate charging path and the total charging time, the first pheromone concentration of the candidate charging path is calculated. The first pheromone concentration includes the original pheromone concentration of the candidate charging path and the corresponding pheromone concentration left by the ant. The second pheromone concentration of the alternative charging path is calculated, and the second pheromone concentration is the pheromone concentration left by other ants on the alternative charging path; The target pheromone concentration for each of the candidate charging paths is obtained based on the first pheromone concentration and the second pheromone concentration. Based on the total charging time, a heuristic value is calculated for each of the alternative charging paths.
6. The charging control method as described in claim 1, characterized in that, The charging process of the target battery is divided into multiple charging stages according to the state of charge, including: The initial state of charge and the target state of charge of the target battery are obtained, wherein the target state of charge is the charging device of the target battery or the maximum state of charge calibrated by the target battery. Based on the initial state of charge and the target state of charge, the charging process of the target battery is divided into multiple charging stages.
7. The charging control method as described in claim 1, characterized in that, The acquisition of multiple charging current values for each charging stage includes: Based on the state of charge corresponding to each charging stage, a preset charging current table is consulted to obtain the minimum and maximum allowable charging current values for each charging stage at different temperatures. Obtain the maximum rated charging current value of the charging device; Determine whether the maximum calibrated charging current value is less than the maximum allowable charging current value; If the maximum calibrated charging current value is less than the maximum allowable charging current value, multiple charging current values for each charging stage are obtained based on the maximum calibrated charging current value and the minimum allowable charging current value. If the maximum calibrated charging current value is greater than or equal to the maximum allowable charging current value, multiple charging current values for each charging stage are obtained based on the maximum allowable charging current value and the minimum allowable charging current value.
8. A charging control device, characterized in that, include: The charging stage division unit is used to divide the charging process of the target battery into multiple charging stages according to the state of charge. A charging current acquisition unit is used to acquire multiple charging current values for each of the charging stages. The charging path acquisition unit is used to acquire multiple alternative charging paths based on the ant colony algorithm, wherein the alternative charging paths include a charging current value for each charging stage; The target probability value calculation unit is used to calculate the target probability value for each alternative charging path; A charging path filtering unit is used to filter out a target charging path from the candidate charging paths based on the target probability value. The ant colony algorithm yielded multiple alternative charging paths, including: Based on the ant algorithm, a preset number of ants are released, and the following pathfinding logic is executed for each ant: A charging current value is selected from multiple charging current values for each charging stage according to the probability average value, and is used as a candidate charging current value. Based on the alternative charging current values, the first charging temperature of the target battery during the charging phase is calculated. Determine whether the alternative charging current value is less than or equal to the maximum allowable charging current value at the first charging temperature; If the candidate charging current value is less than or equal to the maximum charging current value, the candidate charging current value is determined to be the target charging current value. Based on the target charging current value for each charging stage, the alternative charging paths found by each ant are obtained.
9. A charging device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the charging control method as described in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the charging control method as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Apparatus and method for searching optimum charging curve of battery
CN1567646A
Multistage fixed-current charging method capable of shortening charging time setting four target remaining capacities between an initial remaining capacity and a 100% capacity of a battery to define six remaining capacity values
TW202248873A