Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art. Therefore, a first object of the present invention is to provide a method for controlling temperature of battery cells in a battery compartment, which can accurately control temperature of the battery cells, reduce temperature difference between the battery cells in the battery compartment, and reduce operation energy consumption of an air conditioner.
Two objectives of the present invention are to provide a computer readable storage medium.
Three objects of the present invention are to provide a battery management system.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides a method for controlling temperature of a cell in a battery compartment, where the method includes the following steps: acquiring a refrigeration set temperature and a heating set temperature of an air conditioner in a battery compartment, and calculating a reference temperature according to the refrigeration set temperature and the heating set temperature; acquiring the real-time temperature of each battery cell, determining the maximum battery cell temperature and the minimum battery cell temperature according to the real-time temperature of each battery cell, and calculating the comprehensive temperature of the battery cell according to the maximum battery cell temperature, the minimum battery cell temperature and the reference temperature; and controlling each air conditioner in the battery cabin according to the comprehensive temperature of the battery core.
The temperature control method of the embodiment of the invention firstly obtains the refrigeration set temperature and the heating set temperature of the air conditioner in the battery compartment, and then calculates the reference temperature according to the obtained refrigeration set temperature and the heating set temperature; and then acquiring the real-time temperature of each battery cell, determining the maximum battery cell temperature and the minimum battery cell temperature according to the real-time temperature of each battery cell, calculating the comprehensive temperature of the battery cell according to the maximum battery cell temperature, the minimum battery cell temperature and the reference temperature, and controlling each air conditioner in the battery cabin by using the calculated comprehensive temperature of the battery cell. Therefore, the temperature control method can accurately control the temperature of the battery cells, reduce the temperature difference among the battery cells in the battery cabin and reduce energy consumption.
In some examples of the present invention, calculating a cell integrated temperature from the heating setting temperature, the maximum cell temperature, the minimum cell temperature, and the reference temperature includes: calculating a weight value according to the maximum cell temperature, the heating set temperature and the reference temperature; and calculating the comprehensive temperature of the battery cell according to the maximum battery cell temperature, the minimum battery cell temperature and the weighted value.
In some examples of the invention, the reference temperature is calculated according to the following formula: t0 ═ Tsc-Tsh)/2 + Tsh, where T0 is the reference temperature, Tsc is the cooling set temperature, and Tsh is the heating set temperature; the weight value is calculated according to the following formula: q is (Tmax-T0)/(T0-Tsh), where q is the weight value and Tmax is the maximum cell temperature; the integrated temperature is calculated according to the following formula: t ═ Tmax q + Tmin × (1-q), where T is the integrated temperature and Tmin is the minimum cell temperature.
In some examples of the present invention, controlling each air conditioner in the battery compartment according to the cell integrated temperature includes: when the comprehensive temperature is determined to be higher than the refrigeration set temperature, controlling each air conditioner to perform refrigeration operation; and in the process of refrigerating operation of each air conditioner, when the comprehensive temperature falls back to the difference between the refrigerating set temperature and the preset refrigerating temperature return difference value, controlling each air conditioner to stop refrigerating.
In some examples of the present invention, controlling each air conditioner in the battery compartment according to the cell integrated temperature includes: when the comprehensive temperature is determined to be lower than the heating set temperature, controlling each air conditioner to perform heating operation; and in the process of heating operation of each air conditioner, when the comprehensive temperature is determined to rise to the sum of the heating set temperature and the preset heating temperature return difference value, controlling each air conditioner to stop heating.
In some examples of the invention, a plurality of clusters of batteries are arranged in the battery cabin, wherein the intra-cluster temperature difference of each cluster of batteries is calculated according to the maximum cell temperature and the minimum cell temperature of each cluster of batteries, and the maximum intra-cluster temperature difference is determined according to the intra-cluster temperature difference of each cluster of batteries; and determining whether the battery is in a standing state at present, and controlling the fan of each air conditioner according to the maximum in-cluster temperature difference when the battery is in the standing state at present.
In some examples of the present invention, controlling the fan of each air conditioner according to the maximum intra-cluster temperature difference includes: judging whether the maximum cluster internal temperature difference is larger than a preset maximum temperature difference or not, and controlling a fan of each air conditioner to be started when the maximum cluster internal temperature difference is larger than the preset maximum temperature difference; and in the running process of the fan of each air conditioner, when the temperature difference in the maximum cluster falls to the difference between the preset maximum temperature difference and the set temperature difference value, controlling the fan of each air conditioner to be closed.
In some examples of the present invention, the method for controlling temperature of the battery cells in the battery compartment further includes: acquiring humidity values of a plurality of environmental humidity acquisition points in the battery compartment, and calculating the average humidity of the humidity values; judging whether the average humidity is greater than a set humidity or not, and controlling the dehumidification operation of each air conditioner when the average humidity is determined to be greater than the set humidity; and in the process of dehumidifying operation of each air conditioner, when the average humidity falls to the difference between the set humidity and the preset humidity return difference value, controlling each air conditioner to stop dehumidifying.
In order to achieve the above object, a second aspect of the present invention provides a computer-readable storage medium, on which a battery compartment cell temperature control program is stored, where the battery compartment cell temperature control program, when executed by a processor, implements the battery compartment cell temperature control method according to the above embodiment.
According to the computer-readable storage medium of the embodiment of the present invention, when the processor executes the temperature control program of the battery cells in the battery compartment stored in the storage medium, the temperature control method of the battery cells in the battery compartment in the above-described embodiment is implemented, so that the temperature of the battery cells can be accurately controlled, the temperature difference between the battery cells in the battery compartment can be reduced, and the energy consumption can be reduced at the same time.
In order to achieve the above object, a battery management system according to a third aspect of the present invention is provided, where the system includes a memory, a processor, and a battery compartment cell temperature control program stored in the memory and executable on the processor, and when the processor executes the battery compartment cell temperature control program, the battery compartment cell temperature control method according to the above embodiment is implemented.
According to the battery management system provided by the embodiment of the invention, when the processor executes the battery cell temperature control program stored in the memory, the battery cell temperature control method in the battery cabin is realized, so that the temperature of the battery cell can be accurately controlled, the temperature difference between the battery cells in the battery cabin is reduced, and the energy consumption can be reduced.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A method for controlling temperature of a battery cell in a battery compartment, a storage medium, and a battery management system according to embodiments of the present invention are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for controlling temperature of battery cells in a battery compartment according to an embodiment of the present invention.
As shown in fig. 1, the method for controlling the temperature of the battery cells in the battery compartment includes the following steps:
and S10, acquiring the cooling set temperature and the heating set temperature of the air conditioner in the battery compartment, and calculating the reference temperature according to the cooling set temperature and the heating set temperature.
It should be noted that the battery compartment may include a plurality of battery cells, and each battery cell may be temperature-conditioned and humidity-conditioned by a corresponding air conditioner. In this embodiment, a refrigeration set temperature and a heating set temperature of an air conditioner in a battery compartment are first obtained, and it can be understood that the refrigeration set temperature of the air conditioner indicates that the air conditioner needs to be controlled to perform refrigeration when the temperature of a battery cell reaches the refrigeration set temperature; similarly, the heating set temperature of the air conditioner means that when the temperature of the battery cell reaches the heating set temperature, the air conditioner needs to be controlled to perform heating. It should be noted that the refrigeration set temperature and the heating set temperature of the air conditioner can be obtained by analyzing the multiple working data of the battery cell in the battery compartment.
After the cooling set temperature and the heating set temperature of the air conditioner are obtained, the reference temperature is calculated according to the cooling set temperature and the heating set temperature.
Specifically, in some embodiments, the reference temperature is calculated as T0 ═ (Tsc-Tsh)/2 + Tsh, where T0 is the reference temperature, Tsc is the cooling set temperature, and Tsh is the heating set temperature;
for example, if the cooling set temperature Tsc is 25 ℃ and the heating set temperature Tsh is 15 ℃, the reference temperature T0 is 20 ℃ calculated according to the above formula.
And S20, acquiring the real-time temperature of each battery cell, determining the maximum battery cell temperature and the minimum battery cell temperature according to the real-time temperature of each battery cell, and calculating the comprehensive battery cell temperature according to the maximum battery cell temperature, the minimum battery cell temperature and the reference temperature.
And S30, controlling each air conditioner in the battery compartment according to the comprehensive temperature of the battery cell.
Specifically, after the reference temperature is obtained through calculation, the real-time temperature of each battery cell is obtained, and then a maximum battery cell temperature and a minimum battery cell temperature are determined from the real-time temperatures of the battery cells. It should be noted that the heat generated by each battery cell in the battery compartment during the operation process is not consistent, so the real-time temperatures of the battery cells are different, and a maximum battery cell temperature and a minimum battery cell temperature can be obtained. After the maximum cell temperature and the minimum cell temperature are obtained, the cell comprehensive temperature can be calculated according to the maximum cell temperature, the minimum cell temperature and the calculated reference temperature, and then the air-conditioning is controlled according to the calculated cell comprehensive temperature.
In some embodiments, calculating the integrated cell temperature according to the heating set temperature, the maximum cell temperature, the minimum cell temperature, and the reference temperature includes: calculating a weight value according to the maximum cell temperature, the heating set temperature and the reference temperature; and calculating the comprehensive temperature of the battery cell according to the maximum battery cell temperature, the minimum battery cell temperature and the weighted value.
Specifically, in this embodiment, the weight value may be calculated according to the maximum cell temperature, the heating setting temperature, and the reference temperature, and more specifically, the weight value may be calculated according to the following formula: and q is (Tmax-T0)/(T0-Tsh), where q is a weight value, Tmax is a maximum cell temperature, T0 is a reference temperature, and Tsh is a heating set temperature. After the weighted value is obtained through calculation, the comprehensive temperature of the battery cell may be further calculated according to the weighted value, the maximum battery cell temperature, and the minimum battery cell temperature, specifically, the comprehensive temperature of the battery cell may be calculated according to the following formula: t ═ Tmax × q + Tmin × (1-q), where T is the integrated cell temperature, Tmax is the maximum cell temperature, Tmin is the minimum cell temperature, and q is the weight value.
In some embodiments of the present invention, as shown in fig. 2, when the integrated temperature is greater than the preset cooling temperature, controlling each air conditioner in the battery compartment according to the integrated cell temperature includes: s101, controlling each air conditioner to perform refrigeration operation when the comprehensive temperature is determined to be higher than the refrigeration set temperature; and S102, in the process of refrigerating operation of each air conditioner, when the comprehensive temperature falls back to the difference between the refrigerating set temperature and the preset refrigerating temperature return difference value, controlling each air conditioner to stop refrigerating.
Specifically, after the comprehensive temperature of the battery cell is obtained through the calculation formula of the above embodiment, the comprehensive temperature is compared with the refrigeration set temperature, and when the comprehensive temperature is greater than the refrigeration set temperature, each air conditioner is controlled to perform refrigeration operation. According to the comprehensive temperature calculation formula T ═ Tmax × + Tmin × (1-q), during the cooling operation of each air conditioner, the maximum cell temperature Tmax and the weight value q both gradually decrease, so the comprehensive temperature decreases. In this embodiment, when the air conditioner operates in the cooling mode, the integrated temperature of the battery core may be detected in real time and determined, and optionally, the integrated temperature may be determined once every preset time, where the preset time may be set by a user, for example, 5 seconds. And when the difference between the comprehensive temperature falling to the refrigeration set temperature and the preset refrigeration temperature returning value is obtained through judgment, controlling each air conditioner to stop refrigeration. It should be noted that the preset cooling temperature return difference value may be set by a user, and it can be understood that the operation of the air conditioner can be more accurately controlled by the preset cooling temperature return difference value.
In some embodiments of the present invention, as shown in fig. 3, when the integrated temperature is less than the preset heating temperature, controlling each air conditioner in the battery compartment according to the integrated cell temperature includes: s201, when the comprehensive temperature is determined to be lower than the heating set temperature, controlling each air conditioner to perform heating operation; s202, in the process of heating operation of each air conditioner, when the integrated temperature is determined to rise to the sum of the heating set temperature and the preset heating temperature return difference value, each air conditioner is controlled to stop heating.
Specifically, after the comprehensive temperature of the battery cell is obtained through the calculation formula of the above embodiment, the comprehensive temperature is compared with the heating set temperature, and when the comprehensive temperature is less than the heating set temperature, the heating operation of each air conditioner is controlled. More specifically, as can be seen from the integrated temperature calculation formula T ═ Tmax + Tmin × (1-q), during each air conditioner heating operation, since the maximum cell temperature Tmax and the weight value q both gradually increase, the integrated temperature increases. In this embodiment, when the air conditioner operates in the heating mode, the integrated temperature of the battery core may be detected in real time to determine the integrated temperature, and optionally, the integrated temperature may be determined once every preset time, where the preset time may be set by a user, for example, 5 seconds. And when the comprehensive temperature is judged to be increased to the sum of the heating set temperature and the preset heating temperature return difference value, controlling each air conditioner to stop heating. It should be noted that the preset heating temperature return difference value may be set by a person, and it can be understood that the operation of the air conditioner can be more accurately controlled by the preset heating temperature return difference value.
In some embodiments of the present invention, as shown in fig. 4, the controller dehumidifying the battery compartment includes the steps of: s301, acquiring humidity values of a plurality of environment humidity acquisition points in the battery compartment, and calculating the average humidity of the humidity values; s302, judging whether the average humidity is greater than the set humidity or not, and controlling the dehumidification operation of each air conditioner when the average humidity is determined to be greater than the set humidity; and S303, controlling each air conditioner to stop dehumidifying when the average humidity falls to the difference between the set humidity and the preset humidity return difference value in the dehumidifying operation process of each air conditioner.
Specifically, in this embodiment, the air conditioner may also handle humidity within the battery compartment. As shown in fig. 4, first acquiring humidity values of a plurality of ambient humidity collection points in the battery compartment and calculating an average humidity of the plurality of humidity values, it can be understood that the ambient humidity collection points can be uniformly distributed in the battery compartment. After the average humidity of a plurality of humidity values is calculated, the average humidity is judged, and when the average humidity is greater than the set humidity, the dehumidification operation of each air conditioner is controlled. In this embodiment, when the air conditioner operates in the dehumidification mode, the average humidity in the battery compartment may be detected in real time and determined, and optionally, the average humidity may be determined once every preset time, where the preset time may be set by a person, for example, 5 seconds. And when the average humidity is judged to be reduced to the difference between the set humidity and the preset humidity return difference value, controlling each air conditioner to stop dehumidifying. It should be noted that the preset humidity return difference value may be set by a person, and it can be understood that the operation of the air conditioner can be more accurately controlled by the preset humidity return difference value.
In some embodiments of the present invention, a plurality of clusters of batteries are disposed in the battery compartment, wherein, as shown in fig. 5, the fan control of the air conditioner comprises the following steps: s401, calculating the intra-cluster temperature difference of each cluster of batteries according to the maximum cell temperature and the minimum cell temperature of each cluster of batteries, and determining the maximum intra-cluster temperature difference according to the intra-cluster temperature difference of each cluster of batteries; s402, determining whether the battery is in a standing state at present, and controlling the fan of each air conditioner according to the maximum temperature difference in the cluster when the battery is in the standing state at present.
Specifically, the battery compartment is generally configured with a plurality of clusters of batteries, and it can be understood that the temperature of each cluster of batteries is not completely consistent in the working process, that is, a temperature difference exists in each cluster of batteries. It will be appreciated that the battery has three states of charge, discharge and rest, and in this embodiment, the fan of each air conditioner is controlled according to the maximum in-cluster temperature difference when the battery is currently in the rest state.
In this embodiment, as shown in fig. 6, controlling the fan of each air conditioner according to the maximum intra-cluster temperature difference includes: s403, judging whether the maximum cluster internal temperature difference is larger than a preset maximum temperature difference or not, and controlling the fan of each air conditioner to be started when the maximum cluster internal temperature difference is larger than the preset maximum temperature difference; s404, in the running process of the fan of each air conditioner, when the maximum temperature difference in the cluster falls to the difference between the preset maximum temperature difference and the set temperature difference value, the fan of each air conditioner is controlled to be turned off.
Specifically, when the battery is in a standing state, the maximum in-cluster temperature difference and a preset maximum difference value can be judged, and when the maximum in-cluster temperature difference is larger than the preset maximum temperature difference, the fan of each air conditioner is controlled to be turned on. In this embodiment, when the air conditioner starts the fan to operate, the maximum intra-cluster temperature difference can be detected in real time and judged, and optionally, the maximum intra-cluster temperature difference is judged once every preset time, where the preset time can be set by a user, such as 5 seconds. And when the maximum cluster internal temperature difference is judged to fall back to the difference between the preset maximum temperature difference and the set temperature difference value, controlling the fan of each air conditioner to be turned off. It should be noted that the set temperature difference value may be set by a user, and it can be understood that the operation of the fan of the air conditioner can be more accurately controlled by the set temperature difference value.
It should be noted that, the preset value and the set value in the above embodiments may be set by people, and optionally, people may obtain the preset value and the set value through multiple tests or simulation tests.
In summary, the temperature control method for the battery cells in the battery compartment in the embodiment of the invention can accurately control the temperature of the battery cells, reduce the temperature difference between the battery cells in the battery compartment, and reduce energy consumption.
Further, the present invention provides a computer-readable storage medium, on which a battery compartment cell temperature control program is stored, where the battery compartment cell temperature control program, when executed by a processor, implements the battery compartment cell temperature control method in the above embodiments.
When the battery compartment electric core temperature control program corresponding to the battery compartment electric core temperature control method stored in the computer readable storage medium of the embodiment of the invention is executed, the temperature of the electric core can be accurately controlled, the temperature difference between the electric cores in the battery compartment can be reduced, and the energy consumption can be reduced.
Further, the present invention provides a battery management system, which includes a memory, a processor, and a battery compartment cell temperature control program stored in the memory and executable on the processor, where when the processor executes the battery compartment cell temperature control program, the battery compartment cell temperature control method in the foregoing embodiment is implemented.
The battery management system of the embodiment of the invention can accurately control the temperature of the battery cell, reduce the temperature difference between the battery cells in the battery compartment and simultaneously reduce the energy consumption when the battery cell temperature control program in the battery compartment, which is stored in the memory and corresponds to the battery cell temperature control method in the battery compartment, is executed.
It should be noted that the logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the invention and to simplify the description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting of the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.