Battery pack voltage sampling detection method and device, vehicle and storage medium
By calculating the voltage deviation value of the single battery in the battery pack and judging the voltage sampling failure, the problem of insufficient judgment of the battery cell voltage difference in the prior art is solved, and timely warning and fault prevention of the battery pack sampling failure is achieved.
Patent Information
- Application Number
- CN202211045370.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-30
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2042-08-30
AI Technical Summary
In the prior art, the determination of the voltage difference of the battery pack of the electric vehicle mainly depends on the set threshold value, and the alarm is only called when the battery cell is subject to major sampling failure, resulting in the inability to detect the battery cell in time, affecting the normal use of the vehicle.
By calculating the voltage deviation value of the single battery in the battery pack, if the deviation value is greater than the preset threshold, it is judged that the voltage sampling failure is invalid and warning in advance to prevent major sampling failures.
It realizes the timely and accurate judgment of the battery cell sampling failure risk when the battery pack pressure difference jumps, prevents major sampling failure of the battery pack, and ensures the normal operation of the vehicle.
Smart Images

Figure CN115453185B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a method for sampling and detecting a voltage of a battery pack, a device for sampling and detecting a voltage of a battery pack, a computer-readable storage medium and a vehicle. Background Art
[0002] In the related art, most of the voltage difference judgments between the battery cells connected in series in the battery pack of electric vehicles are made by simply selecting a larger fault value. However, if the judgment is made according to this set threshold, measures will only be taken and an alarm will be sounded when a major sampling failure occurs in the battery pack. However, at this time, the battery cells are already in a state that cannot be repaired and need to be replaced, which has affected the normal use of the vehicle. Summary of the invention
[0003] The present invention aims to solve one of the technical problems in the related art to at least a certain extent. To this end, the first purpose of the present invention is to propose a voltage sampling detection method for a battery pack, which can calculate the voltage deviation value of a single cell when the voltage difference of the battery pack jumps, and determine whether the voltage sampling of the single cell fails according to the deviation value, so as to timely and accurately judge the sampling failure risk of the battery pack and issue an early warning to prevent major sampling failure of the battery pack.
[0004] A second objective of the present invention is to provide a voltage sampling and detection device for a battery pack.
[0005] A third object of the present invention is to provide a computer-readable storage medium.
[0006] A fourth object of the present invention is to provide a vehicle.
[0007] To achieve the above-mentioned purpose, an embodiment of the first aspect of the present invention proposes a voltage sampling and detection method for a battery pack, wherein the battery pack includes multiple single cells, and the method includes: when the voltage difference between the highest battery voltage and the lowest battery voltage among the multiple single cells meets a preset condition, obtaining the first-order differential value of the voltage of each single cell within a preset time; if there is a single cell whose first-order differential value of the voltage is greater than a preset threshold, obtaining the deviation value of the first-order differential value of the voltage of the single cell at the corresponding sampling moment, wherein the deviation value refers to the deviation of the first-order differential value of the voltage at the current sampling moment relative to the first-order differential values of the voltage of all single cells at the current sampling moment; when the deviation value is greater than or equal to the preset deviation threshold, determining that the voltage sampling is failed.
[0008] According to the voltage sampling detection method of the battery pack of the embodiment of the present invention, when the voltage difference between the highest battery voltage and the lowest battery voltage among multiple single cells meets the preset condition, the voltage first-order difference value of each single cell within the preset time is obtained. If there is a single cell whose voltage first-order difference value is greater than the preset threshold, the deviation value of the voltage first-order difference value of the single cell at the corresponding sampling moment is obtained, and when the deviation value is greater than or equal to the preset deviation threshold, it is determined that the voltage sampling is invalid. Therefore, the method can calculate the voltage deviation value of the single cell when the voltage difference of the battery pack jumps, and determine whether the voltage sampling of the single cell fails according to the deviation value, so as to timely and accurately judge the sampling failure risk of the battery pack and issue an early warning to prevent major sampling failure of the battery pack.
[0009] In addition, the voltage sampling and detection method of the battery pack according to the above embodiment of the present invention may also have the following additional technical features:
[0010] According to one embodiment of the present invention, the deviation value of the first-order difference value of the voltage of the single cell corresponding to the sampling moment is determined in the following manner:
[0011]
[0012] Among them, Devi ij Indicates the deviation value of the first-order difference value of the voltage of the single cell corresponding to the sampling time, CellVolt ij Indicates the first-order difference value of the voltage of the jth single cell at the i-th moment within the preset time, Avgvolt i Stdvolt represents the average value of the first-order difference of the voltage of all single cells at the i-th moment within the preset time. i It represents the standard deviation of the first-order difference values of the voltage of all single cells at the i-th moment within the preset time.
[0013] According to one embodiment of the present invention, the voltage difference between the highest battery voltage and the lowest battery voltage in a plurality of single battery cells satisfies a preset condition, including: obtaining the voltage difference between the highest battery voltage and the lowest battery voltage; when the voltage difference is greater than or equal to a first voltage threshold, obtaining the voltage difference within a first preset time; if the voltage difference within the first preset time is less than the first voltage threshold, determining that the voltage difference satisfies the preset condition.
[0014] According to one embodiment of the present invention, obtaining the first-order voltage difference of each single cell within a preset time includes: respectively obtaining the voltage value of each single cell within a second preset time before and after the moment corresponding to the first voltage threshold when the voltage difference is greater than or equal to the first voltage threshold, wherein the preset time is twice the second preset time; performing data cleaning on the voltage value of each single cell within the preset time; and calculating the first-order voltage difference based on the voltage value of each single cell after cleaning, wherein the first-order voltage difference is the voltage difference between the single cells at adjacent moments.
[0015] According to one embodiment of the present invention, data cleaning is performed on the voltage value of each single cell within a preset time, including: obtaining the voltage average value of all single cells at the same time; obtaining the difference between the voltage value of each single cell and the voltage average value; and deleting the voltage value of the single cell whose difference is greater than the voltage value corresponding to the second voltage threshold.
[0016] According to another embodiment of the present invention, data cleaning is performed on the voltage value of each single cell within a preset time, including: deleting the voltage values of the single cells corresponding to the voltage differences at adjacent moments being greater than the third voltage threshold.
[0017] According to an embodiment of the present invention, if there is no single cell whose voltage first-order difference value is greater than a preset threshold, or whose deviation value is less than a preset deviation threshold, it is determined that the voltage sampling is normal.
[0018] To achieve the above-mentioned purpose, a second aspect of the present invention proposes a voltage sampling and detection device for a battery pack, wherein the battery pack includes multiple single cells, and the device includes: a collection unit, which is used to obtain the first-order differential value of the voltage of each single cell within a preset time when the voltage difference between the highest battery voltage and the lowest battery voltage among the multiple single cells meets a preset condition; a calculation unit, which is used to obtain the deviation value of the first-order differential value of the voltage of the single cell at the corresponding sampling moment when there is a single cell whose first-order differential value of the voltage is greater than a preset threshold, wherein the deviation value refers to the deviation of the first-order differential value of the voltage at the current sampling moment relative to the first-order differential values of the voltage of all single cells at the current sampling moment; a controller, which is used to determine that the voltage sampling has failed when the deviation value is greater than or equal to a preset deviation threshold.
[0019] According to the voltage sampling and detection device of the battery pack of the embodiment of the present invention, the acquisition unit obtains the first-order difference value of the voltage of each single cell within the preset time when the voltage difference between the highest battery voltage and the lowest battery voltage among multiple single cells meets the preset condition; the calculation unit obtains the deviation value of the first-order difference value of the voltage of the single cell corresponding to the sampling moment when the first-order difference value of the voltage of the single cell is greater than the preset threshold value, and the controller determines that the voltage sampling is invalid when the deviation value is greater than or equal to the preset deviation threshold value. As a result, the device can calculate the voltage deviation value of the single cell when the voltage difference of the battery pack jumps, and determine whether the voltage sampling of the single cell fails according to the deviation value, so as to timely and accurately judge the sampling failure risk of the battery pack and issue an early warning to prevent major sampling failure of the battery pack.
[0020] To achieve the above objectives, a third aspect of the present invention proposes a computer-readable storage medium on which a battery pack voltage sampling and detection program is stored. When the battery pack voltage sampling and detection program is executed by a processor, the above-mentioned battery pack voltage sampling and detection method is implemented.
[0021] According to the computer-readable storage medium of the embodiment of the present invention, by executing the above-mentioned voltage sampling detection method, it is possible to timely and accurately determine the sampling failure risk of the battery pack and issue an early warning to prevent major sampling failure of the battery pack.
[0022] To achieve the above objectives, four aspects of the embodiments of the present invention propose a vehicle, including a memory, a processor, and a battery pack voltage sampling and detection program stored in the memory and executable on the processor. When the processor executes the battery pack voltage sampling and detection program, the above-mentioned battery pack voltage sampling and detection method is implemented.
[0023] According to the vehicle of the embodiment of the present invention, by executing the above-mentioned voltage sampling detection method, it is possible to timely and accurately determine the sampling failure risk of the battery pack and issue an early warning to prevent major sampling failure of the battery pack.
[0024] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 is a flow chart of a voltage sampling and detection method for a battery pack according to an embodiment of the present invention;
[0026] Figure 2 is a flow chart of a voltage sampling and detection method for a battery pack according to an embodiment of the present invention;
[0027] Figure 3 It is a block diagram of a voltage sampling and detection device for a battery pack according to an embodiment of the present invention;
[0028] Figure 4 FIG. 4 is a block diagram of a vehicle according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0030] The following describes a method for sampling and detecting a voltage of a battery pack, a device for sampling and detecting a voltage of a battery pack, a computer-readable storage medium, and a vehicle according to embodiments of the present invention with reference to the accompanying drawings.
[0031] Figure 1 Flow chart of a voltage sampling and detection method for a battery pack according to an embodiment of the present invention.
[0032] In some embodiments of the present invention, the battery pack includes a plurality of single cells, and the battery pack is used in a vehicle. The battery management system of the vehicle can collect information such as the voltage of each single cell in the battery pack in real time, and send the information such as the battery voltage to a cloud server for storage, and the cloud computing module can monitor the voltage difference between each single cell in the battery pack in real time based on the voltage of each single cell in the battery pack.
[0033] like Figure 1 As shown, the voltage sampling and detection method of the battery pack according to the embodiment of the present invention may include the following steps:
[0034] S1, when the voltage difference between the highest battery voltage and the lowest battery voltage among multiple single batteries meets a preset condition, obtain the first-order difference value of the voltage of each single battery within a preset time. The preset time can be selected according to sampling needs, for example, the preset time can be 5 minutes.
[0035] Specifically, the cloud computing module subtracts the highest single cell voltage (the highest battery voltage among multiple single cells) and the lowest single cell voltage (the lowest battery voltage among multiple single cells). The difference is the voltage difference between the highest battery voltage and the lowest battery voltage in the battery pack. When the voltage difference meets the preset conditions, it can be judged that the single cells in the battery pack may have a voltage jump phenomenon and the single cells are at risk of failure. The cloud computing module can obtain the first-order difference value of the voltage of each single cell in the battery pack separately. The first-order difference value of the voltage of a single cell is the difference between the voltage value at the next moment and the voltage value at the previous moment.
[0036] S2, if there is a single cell whose voltage first-order difference value is greater than a preset threshold, then obtain the deviation value of the voltage first-order difference value of the single cell at the corresponding sampling moment, wherein the deviation value refers to the deviation of the voltage first-order difference value at the current sampling moment relative to the voltage first-order difference values of all single cells at the current sampling moment. The preset threshold value can be calibrated according to the sampling needs, for example, the preset threshold value can be any value between 5-20mv.
[0037] According to one embodiment of the present invention, the deviation value of the first-order difference value of the voltage of the single cell corresponding to the sampling moment is determined in the following manner:
[0038]
[0039] Among them, Devi ij Indicates the deviation value of the first-order difference value of the voltage of the single cell corresponding to the sampling time, CellVolt ij Indicates the first-order difference value of the voltage of the jth single cell at the i-th moment within the preset time, Avgvolt iStdvolt represents the average value of the first-order difference of the voltage of all single cells at the i-th moment within the preset time. i It represents the standard deviation of the first-order difference values of the voltage of all single cells at the i-th moment within the preset time.
[0040] Specifically, when the voltage first-order difference value of a single cell is greater than 10mv (preset threshold), the cloud computing module obtains the voltage first-order difference values of all single cells at that moment, and calculates the average value Avgvolt of the voltage first-order difference values of all single cells based on the voltage first-order difference values of all single cells. i The standard deviation of the first-order difference of the voltage of all single cells is Stdvolt i , and the first-order difference value of the voltage of the single cell CellVolt ij Substituting the above formula, we can get the deviation value Devi of the first-order difference value of the voltage of the single cell at this time. ij According to the size of the deviation value, the degree of deviation of the voltage value of the single cell relative to the overall voltage level in the battery pack can be determined. The larger the deviation value, the greater the degree of deviation.
[0041] S3, when the deviation value is greater than or equal to a preset deviation threshold, determine that the voltage sampling is invalid. The preset deviation threshold can be calibrated according to sampling requirements, for example, the preset deviation threshold can be any value between 1.5-10.
[0042] Specifically, when the voltage first-order difference value of a single cell is greater than a preset threshold, after obtaining the deviation value of the voltage first-order difference value of the single cell at this time, it can be determined whether the deviation value of the single cell is greater than or equal to the preset deviation threshold. If it is greater than or equal to the preset deviation threshold, it means that the voltage value of the single cell is more deviated from the overall voltage level in the battery pack, and it can be determined that the voltage sampling of the single cell has failed and the single cell has a fault. The cloud server can issue a warning message to remind the user that the single cell has a fault.
[0043] Therefore, the method of the embodiment of the present invention can calculate the voltage deviation value of the single cell when the voltage difference of the battery pack jumps, and determine whether the voltage sampling of the single cell fails based on the deviation value, so as to timely and accurately judge the sampling failure risk of the battery pack and issue an early warning to prevent major sampling failure of the battery pack.
[0044] According to an embodiment of the present invention, the voltage difference between the highest battery voltage and the lowest battery voltage in a plurality of single batteries meets a preset condition, including: obtaining the voltage difference between the highest battery voltage and the lowest battery voltage; when the voltage difference is greater than or equal to a first voltage threshold, obtaining the voltage difference within a first preset time; if the voltage difference within the first preset time is less than the first voltage threshold, determining that the voltage difference meets the preset condition. The first voltage threshold and the first preset time can be calibrated according to sampling needs, for example, the first voltage threshold can be 20mv, and the first preset time can be any value from 30 to 200s.
[0045] Specifically, the cloud computing module subtracts the highest battery voltage and the lowest battery voltage among multiple single cells, and the difference is the voltage difference between the highest battery voltage and the lowest battery voltage. When the voltage difference is greater than or equal to 20mv (the first voltage threshold), the cloud computing module continues to monitor the voltage difference within the first preset time. If the voltage difference is less than 20mv within the first preset time, it can be determined that there is a jump phenomenon in the voltage of the single cell in the battery pack, and there is a risk of failure. It can be determined that the voltage difference meets the preset conditions.
[0046] According to one embodiment of the present invention, obtaining the first-order voltage difference of each single cell within a preset time includes: respectively obtaining the voltage value of each single cell within a second preset time before and after the moment corresponding to the first voltage threshold when the voltage difference is greater than or equal to the first voltage threshold, wherein the preset time is twice the second preset time; performing data cleaning on the voltage value of each single cell within the preset time; and calculating the first-order voltage difference based on the voltage value of each single cell after cleaning, wherein the first-order voltage difference is the voltage difference between the single cells at adjacent moments.
[0047] Specifically, when the voltage difference between the highest battery voltage and the lowest battery voltage among multiple single cells meets the preset conditions, the cloud computing module obtains the voltage value of each single cell within the second preset time before and after that moment, and performs data cleaning on the obtained voltage values to remove erroneous, null and deviation voltage values. Then, based on the voltage value of each single cell after cleaning, the voltage value of each single cell at the next moment is subtracted from the voltage value at the previous moment to obtain the first-order voltage difference value of all single cells at that moment.
[0048] According to an embodiment of the present invention, data cleaning is performed on the voltage value of each single cell within a preset time, including: obtaining the voltage average value of all single cells at the same time; obtaining the difference between the voltage value of each single cell and the voltage average value; and deleting the voltage value of the single cell corresponding to the difference greater than the second voltage threshold. The second voltage threshold can be calibrated according to sampling needs.
[0049] Specifically, the cloud computing module can obtain the voltage values of all cells in the battery pack at the same time through the cloud server, and divide the sum of the voltage values of all cells by the number of cells to obtain the average voltage value of all cells. The voltage value of each cell is subtracted from the average voltage value to obtain the difference between the voltage value of each cell and the average voltage value, and these differences are compared with the second voltage threshold. The voltage value of the cell corresponding to the difference greater than the second voltage threshold is the voltage value of the error, null value and deviation, and the data cleaning of the voltage value of each cell within the preset time is completed by deleting it.
[0050] It should be noted that, when the difference between the voltage value of the single battery and the voltage average value is a negative value, the absolute value of the difference may be compared with the second voltage threshold.
[0051] According to another embodiment of the present invention, data cleaning of the voltage value of each single cell within a preset time includes: deleting the voltage values of the single cells corresponding to the voltage difference at adjacent moments greater than the third voltage threshold, wherein the third voltage threshold can be calibrated according to sampling needs.
[0052] Specifically, when the first-order voltage difference value of a single cell is greater than the third voltage threshold, the voltage value of the corresponding single cell is an erroneous, null and deviated voltage value, and deleting it completes data cleaning of the voltage value of each single cell within a preset time.
[0053] It should be noted that when the first-order difference value of the voltage of the single battery is a negative value, the absolute value of the first-order difference value may be compared with the preset threshold value and the third voltage threshold value.
[0054] According to an embodiment of the present invention, if there is no single cell whose voltage first-order difference value is greater than a preset threshold, or whose deviation value is less than a preset deviation threshold, it is determined that the voltage sampling is normal.
[0055] Specifically, when the first-order difference values of the voltages of all the single cells in the battery pack are not greater than the preset threshold, it can be determined that the voltage sampling is normal and the single cells in the battery pack are not faulty; or when the first-order difference value of the voltage of a single cell in the battery pack is greater than the preset threshold, but the deviation value of the single cell is less than the preset deviation threshold, it can also be determined that the voltage sampling is normal and the single cells in the battery pack are not faulty.
[0056] In one embodiment of the present invention, when the voltage difference between the highest battery voltage and the lowest battery voltage of the battery pack is less than a first voltage threshold, it can be determined that the voltage sampling is normal.
[0057] As a specific example, Figure 2As shown, the voltage sampling and detection method of the battery pack may include the following steps:
[0058] Step S101 , obtaining a voltage difference between a highest battery voltage and a lowest battery voltage among a plurality of single batteries.
[0059] Step S102, determine whether the voltage difference is greater than or equal to a first voltage threshold. If yes, execute step S103; if no, execute step S113.
[0060] Step S103, obtaining a voltage difference within a first preset time.
[0061] Step S104, determining whether the voltage difference is less than a first voltage threshold within a first preset time. If yes, executing step S105; if no, executing step S113.
[0062] Step S105 , respectively obtaining the voltage value of each single battery within a second preset time before and after the moment corresponding to the first voltage threshold when the voltage difference is greater than or equal to the first voltage threshold.
[0063] Step S106, cleaning the voltage value of each single cell within a preset time.
[0064] Step S107, calculating the first-order voltage difference according to the voltage value of each single battery after cleaning.
[0065] Step S108, determining whether there is a single cell whose voltage first-order difference value is greater than a preset threshold. If yes, executing step S109; if not, executing step S113.
[0066] Step S109, obtaining the deviation value of the first-order difference value of the voltage of the single cell at the corresponding sampling moment.
[0067] Step S110, determining whether the deviation value is greater than or equal to a preset deviation threshold value. If yes, executing step S111; if not, executing step S113.
[0068] Step S111, determining that voltage sampling fails.
[0069] Step S112, outputting the single cell information of failed voltage sampling to remind the user.
[0070] Step S113, determining that the voltage sampling is normal.
[0071] In summary, according to the voltage sampling and detection method of the battery pack of the embodiment of the present invention, when the voltage difference between the highest battery voltage and the lowest battery voltage among multiple single cells meets the preset condition, the voltage first-order difference value of each single cell within the preset time is obtained. If there is a single cell whose voltage first-order difference value is greater than the preset threshold, the deviation value of the voltage first-order difference value of the single cell corresponding to the sampling moment is obtained, and when the deviation value is greater than or equal to the preset deviation threshold, it is determined that the voltage sampling is invalid. Therefore, the method can calculate the voltage deviation value of the single cell when the voltage difference of the battery pack jumps, and determine whether the voltage sampling of the single cell fails according to the deviation value, so as to timely and accurately judge the sampling failure risk of the battery pack and issue an early warning to prevent major sampling failure of the battery pack.
[0072] Corresponding to the above-mentioned embodiment, the present invention proposes a voltage sampling and detection device for a battery pack.
[0073] Figure 3 4 is a block diagram of a voltage sampling and detecting device for a battery pack according to an embodiment of the present invention.
[0074] like Figure 3 As shown, a voltage sampling and detection device 100 for a battery pack according to an embodiment of the present invention includes a plurality of single cells. The device 100 may include: a collection unit 110 , a calculation unit 120 and a controller 130 .
[0075] The acquisition unit 110 is used to obtain the first-order differential voltage value of each single cell within a preset time when the voltage difference between the highest battery voltage and the lowest battery voltage among multiple single cells meets the preset condition. The calculation unit 120 is used to obtain the deviation value of the first-order differential voltage value of the single cell at the corresponding sampling moment when the first-order differential voltage value of the single cell is greater than the preset threshold, wherein the deviation value refers to the deviation of the first-order differential voltage value at the current sampling moment relative to the first-order differential voltage values of all single cells at the current sampling moment. The controller 130 is used to determine that the voltage sampling is invalid when the deviation value is greater than or equal to the preset deviation threshold.
[0076] According to an embodiment of the present invention, the calculation unit 120 determines the deviation value of the first-order difference value of the voltage of the single cell at the corresponding sampling moment in the following manner:
[0077]
[0078] Among them, Devi ij Indicates the deviation value of the first-order difference value of the voltage of the single cell corresponding to the sampling time, CellVolt ij Indicates the first-order difference value of the voltage of the jth single cell at the i-th moment within the preset time, Avgvolt iStdvolt represents the average value of the first-order difference of the voltage of all single cells at the i-th moment within the preset time. i It represents the standard deviation of the first-order difference values of the voltage of all single cells at the i-th moment within the preset time.
[0079] According to one embodiment of the present invention, the voltage difference between the highest battery voltage and the lowest battery voltage among the multiple single battery cells of the acquisition unit 110 meets the preset conditions, and is specifically used to obtain the voltage difference between the highest battery voltage and the lowest battery voltage; when the voltage difference is greater than or equal to a first voltage threshold, obtain the voltage difference within a first preset time; if the voltage difference within the first preset time is less than the first voltage threshold, determine that the voltage difference meets the preset conditions.
[0080] According to one embodiment of the present invention, the acquisition unit 110 obtains the first-order voltage difference of each single cell within a preset time, including: respectively obtaining the voltage value of each single cell within a second preset time before and after the moment corresponding to the first voltage threshold when the voltage difference is greater than or equal to the first voltage threshold, wherein the preset time is twice the second preset time; performing data cleaning on the voltage value of each single cell within the preset time; and calculating the first-order voltage difference based on the voltage value of each single cell after cleaning, wherein the first-order voltage difference is the voltage difference between the single cells at adjacent moments.
[0081] According to one embodiment of the present invention, the acquisition unit 110 performs data cleaning on the voltage value of each single cell within a preset time, including: obtaining the voltage average value of all single cells at the same time; obtaining the difference between the voltage value of each single cell and the voltage average value; and deleting the voltage value of the single cell corresponding to the difference greater than the second voltage threshold.
[0082] According to another embodiment of the present invention, the acquisition unit 110 performs data cleaning on the voltage value of each single cell within a preset time, including: deleting the voltage values of the single cells whose voltage differences at adjacent moments are greater than the third voltage threshold.
[0083] According to an embodiment of the present invention, if there is no single cell whose voltage first-order difference value is greater than a preset threshold, or whose deviation value is less than a preset deviation threshold, the controller 130 determines that the voltage sampling is normal.
[0084] It should be noted that for details not disclosed in the voltage sampling and detection device for a battery pack in an embodiment of the present invention, please refer to the details disclosed in the voltage sampling and detection method for a battery pack in an embodiment of the present invention, and the details will not be repeated here.
[0085] According to the voltage sampling and detection device of the battery pack of the embodiment of the present invention, the acquisition unit obtains the first-order difference value of the voltage of each single cell within the preset time when the voltage difference between the highest battery voltage and the lowest battery voltage among multiple single cells meets the preset condition; the calculation unit obtains the deviation value of the first-order difference value of the voltage of the single cell corresponding to the sampling moment when the first-order difference value of the voltage of the single cell is greater than the preset threshold value, and the controller determines that the voltage sampling is invalid when the deviation value is greater than or equal to the preset deviation threshold value. As a result, the device can calculate the voltage deviation value of the single cell when the voltage difference of the battery pack jumps, and determine whether the voltage sampling of the single cell fails according to the deviation value, so as to timely and accurately judge the sampling failure risk of the battery pack and issue an early warning to prevent major sampling failure of the battery pack.
[0086] Corresponding to the above embodiment, the present invention also proposes a computer-readable storage medium.
[0087] The computer-readable storage medium of the embodiment of the present invention stores a voltage sampling and detection program for a battery pack, and the voltage sampling and detection program for the battery pack implements the above-mentioned voltage sampling and detection method for the battery pack when executed by a processor.
[0088] According to the computer-readable storage medium of the embodiment of the present invention, by executing the above-mentioned voltage sampling detection method, it is possible to timely and accurately determine the sampling failure risk of the battery pack and issue an early warning to prevent major sampling failure of the battery pack.
[0089] Corresponding to the above embodiment, the present invention also provides a vehicle.
[0090] Figure 4 FIG. 4 is a block diagram of a vehicle according to an embodiment of the present invention.
[0091] like Figure 4 As shown, the vehicle 200 of the embodiment of the present invention includes a memory 210, a processor 220, and a battery pack voltage sampling and detection program stored in the memory 210 and executable on the processor 220. When the processor 220 executes the battery pack voltage sampling and detection program, the above-mentioned battery pack voltage sampling and detection method is implemented.
[0092] According to the vehicle of the embodiment of the present invention, by executing the above-mentioned voltage sampling detection method, it is possible to timely and accurately determine the sampling failure risk of the battery pack and issue an early warning to prevent major sampling failure of the battery pack.
[0093] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0094] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0095] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" 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 representation of the above terms does 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.
[0096] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0097] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0098] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A method for sampling and detecting a voltage of a battery pack, characterized in that: The battery pack includes a plurality of single cells, and the method includes: When the voltage difference between the highest battery voltage and the lowest battery voltage among the multiple single batteries meets a preset condition, obtaining the first-order voltage difference value of each single battery within a preset time, wherein the first-order voltage difference is the voltage difference value of the single battery at adjacent moments; If there is a single cell whose voltage first-order difference value is greater than a preset threshold, then obtain a deviation value of the voltage first-order difference value of the single cell at the corresponding sampling moment, wherein the deviation value refers to the deviation of the voltage first-order difference value at the current sampling moment relative to the voltage first-order difference values of all single cells at the current sampling moment; When the deviation value is greater than or equal to a preset deviation threshold, determining that the voltage sampling is failed; The voltage difference between the highest battery voltage and the lowest battery voltage among the plurality of single batteries satisfies a preset condition, including: Obtaining a voltage difference between the highest battery voltage and the lowest battery voltage; When the voltage difference is greater than or equal to a first voltage threshold, obtaining the voltage difference within a first preset time; If the voltage difference within the first preset time is less than the first voltage threshold, determining that the voltage difference meets a preset condition; The deviation value of the first-order difference value of the voltage of the single cell corresponding to the sampling time is determined by the following method: Among them, Devi ij Indicates the deviation value of the first-order difference value of the voltage of the single cell corresponding to the sampling time, CellVolt ij Avgvolt represents the first-order difference value of the voltage of the jth single cell at the i-th moment within the preset time. i Stdvolt represents the average value of the first-order difference of the voltage of all single cells at the i-th moment within the preset time. i It represents the standard deviation of the first-order difference values of the voltages of all single cells at the i-th moment within the preset time.
2. The voltage sampling and detection method of the battery pack according to claim 1, characterized in that: The step of obtaining the first-order difference of the voltage of each of the single cells within a preset time period includes: Respectively obtaining the voltage value of each of the single cells within a second preset time before and after the moment corresponding to the voltage difference being greater than or equal to the first voltage threshold, wherein the preset time is twice the second preset time; Performing data cleaning on the voltage value of each of the single cells within the preset time; The voltage first-order difference is calculated according to the voltage value of each of the single cells after cleaning.
3. The voltage sampling and detection method of the battery pack according to claim 2, characterized in that: The voltage value of each of the single cells within the preset time is cleaned, including: Get the average voltage of all single cells at the same time; Obtaining the difference between the voltage value of each of the single cells and the voltage average value; The voltage value of the single battery corresponding to the difference being greater than the second voltage threshold is deleted.
4. The voltage sampling and detection method of the battery pack according to claim 2, characterized in that: The voltage value of each of the single cells within the preset time is cleaned, including: The voltage values of the single cells corresponding to the voltage differences at adjacent moments being greater than the third voltage threshold are deleted.
5. The voltage sampling and detection method of a battery pack according to claim 1, characterized in that: If there is no single cell whose voltage first-order difference value is greater than the preset threshold, or the deviation value is less than the preset deviation threshold, it is determined that the voltage sampling is normal.
6. A voltage sampling and detection device for a battery pack, characterized in that: The battery pack includes a plurality of single cells, and the device includes: A collection unit, configured to obtain a voltage first-order difference value of each single cell within a preset time when a voltage difference between a highest cell voltage and a lowest cell voltage among the plurality of single cells meets a preset condition, wherein the voltage first-order difference is a voltage difference value of the single cell at adjacent moments; A calculation unit, configured to obtain a deviation value of the first-order difference value of the voltage of the single cell at a corresponding sampling moment when the first-order difference value of the voltage of the single cell is greater than a preset threshold, wherein the deviation value refers to the deviation of the first-order difference value of the voltage at the current sampling moment relative to the first-order difference values of the voltage of all single cells at the current sampling moment; A controller, configured to determine that voltage sampling is failed when the deviation value is greater than or equal to a preset deviation threshold; The acquisition unit is specifically used for: Get the voltage difference between the highest battery voltage and the lowest battery voltage; When the voltage difference is greater than or equal to a first voltage threshold, obtaining the voltage difference within a first preset time; If the voltage difference within the first preset time is less than the first voltage threshold, determining that the voltage difference meets the preset condition; The calculation unit determines the deviation value of the first-order difference value of the voltage of the single cell at the corresponding sampling moment in the following manner: Among them, Devi ij Indicates the deviation value of the first-order difference value of the voltage of the single cell corresponding to the sampling time, CellVolt ij Avgvolt represents the first-order difference value of the voltage of the jth single cell at the i-th moment within the preset time. i Stdvolt represents the average value of the first-order difference of the voltage of all single cells at the i-th moment within the preset time. i It represents the standard deviation of the first-order difference values of the voltages of all single cells at the i-th moment within the preset time.
7. A computer-readable storage medium, characterized in that: A voltage sampling and detection program of a battery pack is stored thereon, and when the voltage sampling and detection program of the battery pack is executed by a processor, a voltage sampling and detection method of a battery pack according to any one of claims 1-5 is implemented.
8. A vehicle, characterized in that: The invention comprises a memory, a processor and a voltage sampling and detection program of a battery pack which is stored in the memory and can be run on the processor. When the processor executes the voltage sampling and detection program of the battery pack, the voltage sampling and detection method of the battery pack according to any one of claims 1 to 5 is implemented.