A control method and related device for energy storage thermal management system
By improving genetic algorithms to optimize chromosomes to control the thermal management unit in the energy storage thermal management system, the problems of high energy consumption and inflexible control of the energy storage thermal management system in the prior art are solved, and more efficient energy management and more precise control are achieved.
Patent Information
- Application Number
- CN202411826498.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-12
- Publication Date
- 2025-04-08
AI Technical Summary
The existing energy storage thermal management system has shortcomings in the overall high energy consumption and inflexible control, which cannot effectively reduce the temperature difference between energy storage batteries, and at the same time, it is also impossible to independently and accurately control each energy storage container.
The improved genetic algorithm is used to iteratively optimize the randomly generated chromosomes to obtain the optimal chromosome. The gene values of this chromosome correspond one by one to the working mode of the thermal management unit, thereby controlling the thermal management unit in the energy storage thermal management system.
While reducing the energy consumption of the energy storage thermal management system, it improves the intelligence, robustness and adaptability of control, effectively reduces the temperature difference between energy storage batteries, and independently and accurately controls each energy storage container.
Smart Images

Figure CN119786829A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power batteries, and in particular to a control method and related devices for an energy storage thermal management system. Background Art
[0002] With the rapid development of energy storage battery systems, energy storage has more and more application scenarios and is becoming more and more popular. Among them, the energy storage thermal management system is an important part of energy storage. At present, there are two forms of energy storage thermal management systems. One is a distributed system, that is, each energy storage container is equipped with a set of thermal management units, and each set of thermal management units is independently controlled and operated; the other is a centralized system, that is, all energy storage containers share a set of thermal management units, and all energy storage containers are thermally managed and controlled through this set of thermal management units.
[0003] Distributed systems only control the thermal management of a single energy storage container. The thermal management of each container is not related and cannot be coordinated. There is a lack of global control over the entire energy storage system, which can easily cause large temperature differences among the energy storage batteries. Although centralized systems take into account the status of the entire energy storage system, they cannot control the thermal management of each energy storage container separately, resulting in high overall energy consumption of thermal management and inflexible control.
[0004] How to provide a method that can control the thermal management system in combination with the status of the entire energy storage system to reduce the temperature difference between the energy storage batteries, and independently control the thermal management of each energy storage container to achieve precise control has become an urgent problem to be solved. Summary of the invention
[0005] In view of the defects in the prior art, the present invention provides a control method and related devices for an energy storage thermal management system to reduce the energy consumption of the entire energy storage thermal management system and improve the intelligence, robustness and adaptability of the control of the entire energy storage thermal management system.
[0006] A control method for an energy storage thermal management system, comprising:
[0007] According to the improved genetic algorithm, the randomly generated k first chromosomes are iteratively optimized to obtain the optimal chromosome, the first chromosome includes n genes, and the values of the n genes correspond to the working modes of the n thermal management units one by one;
[0008] The control method corresponding to the optimal chromosome is used to control the n thermal management units in the energy storage thermal management system.
[0009] Furthermore, the k randomly generated first chromosomes are iteratively optimized according to the improved genetic algorithm to obtain the optimal chromosome, including:
[0010] Perform crossover and mutation operations on the randomly generated k first chromosomes to obtain m second chromosomes, where m>k;
[0011] Calculate the fitness of each second chromosome and obtain the fitness of m second chromosomes;
[0012] If the fitness of the second chromosome with the smallest fitness is less than the output condition threshold, the second chromosome with the smallest fitness is determined as the optimal chromosome;
[0013] If the fitness of the second chromosome with the smallest fitness is greater than the output condition threshold, the m second chromosomes are sorted in ascending order according to their fitness to obtain a chromosome sequence;
[0014] The first k second chromosomes are selected as the first chromosomes for iterative optimization until the fitness of the second chromosome with the smallest fitness is less than the output condition threshold, and the optimal chromosome is obtained.
[0015] Furthermore, a crossover operation and a mutation operation are performed on the randomly generated k first chromosomes to obtain m second chromosomes, including:
[0016] Determine the randomly generated k first chromosomes as k second chromosomes in one-to-one correspondence;
[0017] Select at least one pair of second chromosomes from the k second chromosomes to perform a crossover operation to obtain o second chromosomes;
[0018] Select at least one second chromosome from the k second chromosomes to perform a mutation operation, and obtain p second chromosomes;
[0019] Adding together the o second chromosomes, the p second chromosomes, and the k second chromosomes, we get m second chromosomes.
[0020] Further, at least one pair of second chromosomes is selected from the k second chromosomes to perform a crossover operation to obtain o second chromosomes, including:
[0021] Randomly intercept a fixed-length continuous gene sequence at the same position of each pair of second chromosomes, perform gene exchange, and obtain o second chromosomes.
[0022] Further, at least one second chromosome is selected from the k second chromosomes for mutation operation to obtain p second chromosomes, including:
[0023] A position is randomly selected on each selected second chromosome for mutation operation to obtain p second chromosomes.
[0024] Furthermore, the working modes of the thermal management unit include shut down, self-circulation, cooling and heating.
[0025] A control device for an energy storage thermal management system comprises an optimization unit and a control unit, wherein:
[0026] An optimization unit, used for iteratively optimizing the randomly generated k first chromosomes according to an improved genetic algorithm to obtain an optimal chromosome, wherein the first chromosome includes n genes, and the values of the n genes correspond one to one to the working modes of the n thermal management units;
[0027] A control unit is used to control n thermal management units in the energy storage thermal management system using a control method corresponding to the optimal chromosome.
[0028] A terminal, characterized in that it includes a processor, an input device, an output device and a memory, wherein the processor, the input device, the output device and the memory are interconnected, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute any of the above-mentioned control methods for the energy storage thermal management system.
[0029] A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes any of the above-mentioned control methods for the energy storage thermal management system. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the specific embodiments of the present invention, the following will briefly introduce the drawings required for the specific embodiments or the prior art description. In all the drawings, each element or part is not necessarily drawn according to the actual scale.
[0031] Figure 1 A flow chart of a control method for an energy storage thermal management system provided by one embodiment of the present invention;
[0032] Figure 2 A layout diagram of an energy storage thermal management system provided by one embodiment of the present invention;
[0033] Figure 3 A schematic structural diagram of a control device for an energy storage thermal management system provided by one embodiment of the present invention;
[0034] In the accompanying drawings, 100 represents a battery management system; 101 represents a thermal management unit 1; 102 represents an energy storage container 1; 103 represents a communication circuit between the battery management system and the thermal management unit; 104 represents a communication circuit between the battery management system and the energy storage container; 105 is a water inlet pipeline of the energy storage container 1; 106 is a water outlet pipeline of the energy storage container 1. DETAILED DESCRIPTION
[0035] The following embodiments of the technical solution of the present invention are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and are therefore only used as examples, and cannot be used to limit the protection scope of the present invention.
[0036] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by those skilled in the art to which the present invention belongs.
[0037] In one embodiment, if Figure 1-Figure 2 As shown, a control method for an energy storage thermal management system is provided, comprising:
[0038] 1. According to the improved genetic algorithm, the randomly generated k first chromosomes are iteratively optimized to obtain the optimal chromosome. The first chromosome includes n genes, and the values of the n genes correspond to the working modes of the n thermal management units one by one;
[0039] like Figure 2 As shown in the figure, the energy storage thermal management system consists of n thermal management units and n energy storage containers, and there are independent water inlet and outlet pipelines between each thermal management unit and the energy storage container. When the thermal management unit is working, the antifreeze flows out of the thermal management unit through the water inlet pipeline of the energy storage container and flows into the energy storage container, and then flows out to the thermal management unit through the water outlet pipeline of the energy storage container.
[0040] Each first chromosome includes n genes, the value of each gene represents the working mode of a thermal management unit, the n gene values represent the working modes of n thermal management units, and the n gene values correspond one-to-one to the working modes of the n thermal management units.
[0041] Preferably, the working modes of the thermal management unit include off, self-circulation, cooling and heating. Specifically, a gene value of 0 can be used to indicate that the working mode of the thermal management unit is off, a gene value of 1 can be used to indicate that the working mode of the thermal management unit is self-circulation, a gene value of 2 can be used to indicate that the working mode of the thermal management unit is cooling, and a gene value of 3 can be used to indicate that the working mode of the thermal management unit is heating;
[0042] For example, if k=5 and n=8, it means that 5 first chromosomes are randomly generated, each of which includes 8 genes. Correspondingly, the 8 gene values correspond one-to-one to the working modes of the 8 thermal management units.
[0043] Specifically, the gene sequences of the five first chromosomes are listed as follows:
[0044] The first chromosome 1 [1 0 2 0 3 0 1 1], the first chromosome 2 [0 2 1 3 0 1 0 1], the first chromosome 3 [1 1 0 1 3 1 2 1], the first chromosome 4 [1 1 3 0 0 1 2 1], the first chromosome 5 [00 3 1 3 0 2 1];
[0045] Preferably, the k randomly generated first chromosomes are iteratively optimized according to an improved genetic algorithm to obtain an optimal chromosome, including:
[0046] (1) Perform crossover and mutation operations on the randomly generated k first chromosomes to obtain m second chromosomes, where m>k;
[0047] Preferably, performing a crossover operation and a mutation operation on the randomly generated k first chromosomes to obtain m second chromosomes comprises:
[0048] ① Determine the randomly generated k first chromosomes as one-to-one corresponding k second chromosomes;
[0049] Continuing with the aforementioned example of the gene sequences of the five first chromosomes, the five first chromosomes are here determined to be five corresponding second chromosomes.
[0050] ② Select at least one pair of second chromosomes from the k second chromosomes for crossover operation to obtain o second chromosomes;
[0051] Preferably, selecting at least one pair of second chromosomes from the k second chromosomes to perform a crossover operation to obtain o second chromosomes comprises:
[0052] Randomly intercept a fixed-length continuous gene sequence at the same position of the two second chromosomes in each pair of second chromosomes, perform gene exchange, and obtain o second chromosomes.
[0053] Continuing with the previous example of the gene sequence of 5 second chromosomes, here we can randomly select two pairs of second chromosomes from the 5 second chromosomes, each pair of second chromosomes includes two second chromosomes, and randomly intercept the continuous gene sequence of a fixed length (such as 3) at the same position of the two second chromosomes for gene exchange. After the two pairs of second chromosomes are exchanged respectively, 4 (4 is the value of o mentioned above) second chromosomes can be obtained.
[0054] Assume that the second chromosome 1 and the second chromosome 2, the second chromosome 4 and the second chromosome 5 are randomly selected, and the second chromosome 1 and the second chromosome 2 randomly select a continuous gene sequence of a fixed length at the same position as the last three gene values, and then perform gene exchange. After the exchange, the second chromosome 6 [10 2 3 0 1 0 1] and the second chromosome 7 [0 2 10 3 0 0 1] are obtained, and the second chromosome 4 and the second chromosome 5 randomly select a continuous gene sequence of a fixed length at the same position as the last five gene values, and then after the exchange, the second chromosome 8 [1 1 3 1 3 0 2 1] and the second chromosome 9 [0 0 3 0 0 12 1] are obtained;
[0055] ③ Select at least one second chromosome from the randomly generated k first chromosomes for mutation operation to obtain p second chromosomes;
[0056] Preferably, selecting at least one second chromosome from the k second chromosomes for mutation operation to obtain p second chromosomes comprises:
[0057] A position is randomly selected on each selected second chromosome for mutation operation to obtain p second chromosomes.
[0058] Continuing with the previous example of the gene sequences of five second chromosomes, here one second chromosome can be randomly selected from the five second chromosomes, and a position on the selected second chromosome can be randomly selected to perform a gene mutation operation.
[0059] Optionally, the gene value 0 on each second chromosome can be randomly changed to a gene value 1, 2, 3, the gene value 1 can be randomly changed to a gene value 0, 2, 3, the gene value 2 can be randomly changed to a gene value 0, 1, 3, and the gene value 3 can be randomly changed to a gene value 0, 1, 2, thereby generating a new second chromosome.
[0060] Assume that the second chromosome 2 is randomly selected and the mutation position is 5, then after mutation the second chromosome 10[0 2 1 3 0 2 0 1] is obtained;
[0061] ④ Add up the k second chromosomes, o second chromosomes and p second chromosomes to get m second chromosomes.
[0062] Continuing with the previous example, here m=k+o+p=5+4+1=10, resulting in 10 second chromosomes.
[0063] (2) Calculate the fitness of each second chromosome to obtain the fitness of m second chromosomes;
[0064] The m second chromosomes are mapped into one-dimensional vectors in sequence, and the n thermal management units of the energy storage thermal management system are controlled according to the working modes of the n thermal management units corresponding to the n gene values. The battery management system in the energy storage thermal management system can obtain the temperature, voltage, current, etc. of each energy storage container battery in real time. The main purpose of the present invention is to control the thermal management unit by a control method corresponding to the optimal chromosome obtained by an improved genetic algorithm, and then control the temperature of the energy storage container battery so that the temperature of the energy storage container battery reaches the desired temperature (such as 20°C), thereby improving the operating efficiency.
[0065] Set the control mode corresponding to each second chromosome to control the working mode of n thermal management units to maintain t seconds (such as 20s), and then control the maximum temperature Tmax of each thermal management unit in the n thermal management units collected by the battery management system after t seconds. i and temperature minimum Tmin i , calculate the fitness of each second chromosome.
[0066] Preferably, the fitness of each second chromosome is calculated using the method shown in the following formula:
[0067] F i =w1|Tmax i -T0|+w2|Tmax i -T0|+w3|Tmax i -Tmin i |
[0068] In the formula, F i represents the fitness of the i-th second chromosome among m second chromosomes, Tmin i It represents the minimum temperature of the m thermal management units collected by the battery management system after the control of the i-th second chromosome, Tmax i represents the maximum temperature of the m thermal management units collected by the battery management system after the control of the i-th second chromosome, T0 represents the expected temperature, w1, w2, and w3 represent the corresponding weights respectively, and preferably, the values of w1, w2, and w3 are 0.2, 0.2, and 0.6 respectively.
[0069] (3) If the fitness of the second chromosome with the smallest fitness is less than the output condition threshold, the second chromosome with the smallest fitness is determined as the optimal chromosome;
[0070] Preferably, the output condition threshold can be set to 10°C.
[0071] (4) If the fitness of the second chromosome with the smallest fitness is greater than the output condition threshold, the m second chromosomes are sorted in ascending order according to their fitness to obtain a chromosome sequence;
[0072] (5) The first k second chromosomes are selected as the first chromosomes for iterative optimization until the fitness of the second chromosome with the smallest fitness is less than the output condition threshold, and the optimal chromosome is obtained.
[0073] 2. Use the control method corresponding to the optimal chromosome to control the n thermal management units in the energy storage thermal management system.
[0074] The present invention can control the energy storage thermal management system in combination with the state of the entire energy storage thermal management system, which can not only reduce the temperature difference between the energy storage batteries, but also independently control the thermal management of each energy storage container to achieve more precise control. The energy consumption of the entire energy storage thermal management system is reduced, and the intelligence, robustness and adaptability of the entire energy storage thermal management system control are enhanced.
[0075] In one embodiment, if Figure 3 As shown, a control device for an energy storage thermal management system is also provided, including an optimization unit and a control unit, wherein:
[0076] An optimization unit, used for iteratively optimizing the randomly generated k first chromosomes according to an improved genetic algorithm to obtain an optimal chromosome, wherein the first chromosome includes n genes, and the values of the n genes correspond one to one to the working modes of the n thermal management units;
[0077] A control unit is used to control n thermal management units in the energy storage thermal management system using a control method corresponding to the optimal chromosome.
[0078] A terminal, characterized in that it includes a processor, an input device, an output device and a memory, wherein the processor, the input device, the output device and the memory are interconnected, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute any of the above-mentioned control methods for an energy storage thermal management system.
[0079] A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes any one of the above-mentioned control methods for an energy storage thermal management system.
[0080] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0081] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.
Claims
1. A control method for an energy storage thermal management system, characterized in that: include: Iteratively optimizing the randomly generated k first chromosomes according to the improved genetic algorithm to obtain an optimal chromosome, wherein the first chromosome includes n genes, and the values of the n genes correspond one-to-one to the working modes of the n thermal management units; The control method corresponding to the optimal chromosome is used to control the n thermal management units in the energy storage thermal management system.
2. A control method for an energy storage thermal management system according to claim 1, characterized in that: The step of iteratively optimizing the randomly generated k first chromosomes according to the improved genetic algorithm to obtain the optimal chromosome comprises: Perform crossover and mutation operations on the randomly generated k first chromosomes to obtain m second chromosomes, where m>k; Calculate the fitness of each second chromosome and obtain the fitness of m second chromosomes; If the fitness of the second chromosome with the smallest fitness is less than the output condition threshold, the second chromosome with the smallest fitness is determined as the optimal chromosome; If the fitness of the second chromosome with the smallest fitness is greater than the output condition threshold, the m second chromosomes are sorted in ascending order according to their fitness to obtain a chromosome sequence; The first k second chromosomes are selected as the first chromosomes for iterative optimization until the fitness of the second chromosome with the smallest fitness is less than the output condition threshold, and the optimal chromosome is obtained.
3. A control method for an energy storage thermal management system according to claim 2, characterized in that: The step of performing a crossover operation and a mutation operation on the randomly generated k first chromosomes to obtain m second chromosomes includes: Determine the randomly generated k first chromosomes as k second chromosomes in one-to-one correspondence; Select at least one pair of second chromosomes from the k second chromosomes to perform a crossover operation to obtain o second chromosomes; Select at least one second chromosome from the k second chromosomes to perform a mutation operation, and obtain p second chromosomes; Adding together the o second chromosomes, the p second chromosomes, and the k second chromosomes, we get m second chromosomes.
4. A control method for an energy storage thermal management system according to claim 3, characterized in that: The step of selecting at least one pair of second chromosomes from the k second chromosomes to perform a crossover operation to obtain o second chromosomes comprises: Randomly intercept a fixed-length continuous gene sequence at the same position of the two second chromosomes in each pair of second chromosomes, perform gene exchange, and obtain o second chromosomes.
5. The control method of the energy storage thermal management system according to claim 3, characterized in that: The step of selecting at least one second chromosome from the k second chromosomes for mutation operation to obtain p second chromosomes includes: A position is randomly selected on each selected second chromosome for mutation operation to obtain p second chromosomes.
6. A control method for an energy storage thermal management system according to any one of claims 1 to 5, characterized in that: The working modes of the thermal management unit include shut down, self-circulation, cooling and heating.
7. A control device for an energy storage thermal management system, characterized in that: It includes an optimization unit and a control unit, wherein: The optimization unit is used to iteratively optimize the randomly generated k first chromosomes according to the improved genetic algorithm to obtain the optimal chromosome, wherein the first chromosome includes n genes, and the values of the n genes correspond one-to-one to the working modes of the n thermal management units; The control unit is used to control the n thermal management units in the energy storage thermal management system using the control method corresponding to the optimal chromosome.
8. A terminal, characterized in that: The method comprises a processor, an input device, an output device and a memory, wherein the processor, the input device, the output device and the memory are interconnected, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 6.