Methods, apparatus, and electronic equipment for determining battery cell inconsistencies
By acquiring real-time cell data and applying algorithms to calculate outlier rates, outlier cells in lithium-ion battery systems can be identified. This solves the problem of energy loss and power limitation caused by inconsistency in battery systems and provides a quantitative analysis method for cell inconsistency.
Patent Information
- Application Number
- CN202311203264.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-15
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2043-09-15
AI Technical Summary
In lithium-ion battery systems, the inconsistency of individual cells leads to a decrease in usable energy and a limitation in power, and existing technologies struggle to effectively identify and analyze this inconsistency.
By acquiring the voltage and current data of the battery cells in real time, it is determined whether the battery is at the end of the charging or discharging stage. The Z-score method and the local outlier factor algorithm are applied to calculate the outlier degree of the battery cells and identify the battery cells with the highest outlier degree.
It enables quantitative evaluation of battery cell inconsistencies, assists technicians in identifying the most outlier cells, and helps analyze and resolve inconsistency issues in battery systems.
Smart Images

Figure CN117214734B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of battery testing technology, and in particular to a method and apparatus for determining inconsistencies in battery cells, and electronic equipment. Background Technology
[0002] With global efforts to control greenhouse gas emissions, countries have joined the ranks of those reducing emissions, particularly in the power supply sector, where renewable energy is increasingly being used. However, most renewable energy sources, such as wind and solar power, suffer from unstable power generation, necessitating energy storage systems to reduce curtailment and stabilize the power grid. Lithium-ion batteries, due to their high charge / discharge efficiency and energy density, have seen widespread application in energy storage in recent years. To meet the voltage requirements of energy storage systems, lithium-ion battery systems typically consist of multiple individual cells connected in series. Limited by current technology and the inherent characteristics of lithium-ion batteries, individual cells often exhibit some inconsistency. This inconsistency gradually worsens over long-term use, leading to a decrease in the usable energy of the battery system and power limitations. Summary of the Invention
[0003] This invention provides a method, apparatus, and electronic device for determining battery cell inconsistency, and provides a quantitative method for evaluating the degree of outlier status of individual battery cells, identifying the most outlier cells, which facilitates the analysis of inconsistency among battery cells by technicians.
[0004] According to one aspect of the present invention, a method for determining battery cell inconsistency is provided, the battery comprising a plurality of cells connected in series; the method for determining battery cell inconsistency includes:
[0005] Real-time acquisition of data information for each of the battery cells, the data information including at least the voltage and current of the battery cells;
[0006] At any given moment, based on the data information of each of the battery cells, it is determined whether the battery is in the final stage of charging or the final stage of discharging at the current moment.
[0007] Based on the time period input by the user, at least one of the charging end stage and the discharging end stage are selected;
[0008] By setting an algorithm and selecting data information of each cell in at least one of the charging end stages, the outlier degree of each cell in at least one of the charging end stages is calculated. By setting an algorithm and selecting data information of each cell in at least one of the discharging end stages, the outlier degree of each cell in at least one of the discharging end stages is calculated.
[0009] Determine m cells with the highest outlier degree in each charging end stage according to the outlier degree of each of the cells in at least one selected charging end stage, and determine m cells with the highest outlier degree in each discharging end stage according to the outlier degree of each of the cells in at least one selected discharging end stage, where 0<m<n, n is the number of cells in the battery, and both m and n are positive integers.
[0010] Optionally, at any moment, determining whether the battery is in the charging end stage or the discharging end stage at the current moment according to the data information of each of the cells includes:
[0011] At the current moment, when the voltage of the cell with the maximum voltage is greater than the charging voltage threshold, and it is determined that the battery is in a charging state according to the current direction of the cells, it is determined that the battery is in the charging end stage at the current moment;
[0012] At the current moment, when the voltage of the cell with the minimum voltage is less than the discharging voltage threshold, and it is determined that the battery is in a discharging state according to the current direction of the cells, it is determined that the battery is in the discharging end stage at the current moment.
[0013] Optionally, at any moment, determining whether the battery is in the charging end stage or the discharging end stage at the current moment according to the data information of each of the cells includes:
[0014] According to the h-th moment and multiple moments after the h-th moment, when it is determined that the voltage of the cell with the maximum voltage at the h-th moment in the battery gradually increases, and at the h-th moment, the voltage change rate of the cell with the maximum voltage is greater than the set voltage change threshold, it is determined that the h-th moment is in the charging end stage;
[0015] According to the h-th moment and multiple moments after the h-th moment, when it is determined that the voltage of the cell with the minimum voltage at the h-th moment in the battery gradually decreases, and at the h-th moment, the voltage change rate of the cell with the minimum voltage is greater than the set voltage change threshold, it is determined that the h-th moment is in the discharging end stage.
[0016] Optionally, selecting at least one of the charging end stages and the discharging end stages according to the time period input by the user includes:
[0017] According to the time period input by the user, select at least one charging end stage and at least one discharging end stage that are closest to the end moment of the time period input by the user.
[0018] Optionally, the set algorithm at least includes: Z-score method, local outlier factor algorithm, and Pearson correlation coefficient algorithm.
[0019] Optionally, the setting algorithm is the Z-score method. The step of calculating the outlier of each cell in at least one of the selected charging terminal stages using the setting algorithm and data information of each cell in at least one of the selected charging terminal stages, and calculating the outlier of each cell in at least one of the selected discharging terminal stages using the setting algorithm and data information of each cell in at least one of the selected discharging terminal stages, includes:
[0020] Based on the voltage of each cell at time i within the selected charging end stage or discharging end stage, calculate the average voltage of the cells at time i, where i = 1, 2, ..., L, where 1 is the start time of the selected charging end stage or discharging end stage, and L is the end time of the selected charging end stage or discharging end stage.
[0021] Based on the voltage of each cell at time i, the average voltage of the cells at time i, and the standard deviation of the voltage of the cells at time i, determine the Z score of each cell at time i.
[0022] For any given cell, the average Z-score of the cell at all times during the selected end of the charging or discharging phase is calculated as the outlier of the cell.
[0023] Optionally, after determining the m cells with the highest outlier in each of the selected at least one of the charging end stages based on the outlier of each of the cells in each of the selected at least one of the charging end stages, and determining the m cells with the highest outlier in each of the selected at least one of the discharging end stages based on the outlier of each of the cells in each of the selected at least one of the discharging end stages, the method includes:
[0024] Based on the data information of the m cells with the highest outlier determined in at least one of the selected charging end stages within the user-input time period, data information curves corresponding to the m cells are generated, and the data information curves include at least voltage curves and current curves.
[0025] Based on the data information of the m cells with the highest outlier determined in at least one of the selected discharge end stages within the user-input time period, data information curves corresponding to the m cells are generated, and the data information curves include at least voltage curves and current curves.
[0026] Optionally, after determining the m cells with the highest outlier in each of the selected at least one of the charging end stages based on the outlier of each of the cells in each of the selected at least one of the charging end stages, and determining the m cells with the highest outlier in each of the selected at least one of the discharging end stages based on the outlier of each of the cells in each of the selected at least one of the discharging end stages, the method further includes:
[0027] When the outlier degree of the cell is greater than a set outlier degree threshold, the cell is determined to be an outlier cell.
[0028] According to another aspect of the present invention, an apparatus for determining inconsistency of battery cells is provided, the battery comprises a plurality of cells connected in series, and the apparatus for determining inconsistency of battery cells comprises:
[0029] An information acquisition module, configured to acquire data information of each of the cells in real time, where the data information at least includes the voltage and current of the cell;
[0030] An end determining module, configured to determine, at any moment, according to the data information of each of the cells, whether the battery is in a charge end stage or a discharge end stage at the current moment;
[0031] A selection module, configured to select at least one of the charge end stage and the discharge end stage according to a time period input by a user;
[0032] An outlier degree calculation module, configured to calculate the outlier degree of each of the cells in the selected at least one charge end stage through a set algorithm and the data information of each of the cells in the selected at least one charge end stage, and calculate the outlier degree of each of the cells in the selected at least one discharge end stage through a set algorithm and the data information of each of the cells in the selected at least one discharge end stage;
[0033] An analysis module, configured to determine m cells with the highest outlier degree in each of the charge end stages according to the outlier degree of each of the cells in the selected at least one charge end stage, and determine m cells with the highest outlier degree in each of the discharge end stages according to the outlier degree of each of the cells in the selected at least one discharge end stage, where 0<m<n, n is the number of cells in the battery, and both m and n are positive integers.
[0034] According to another aspect of the present invention, an electronic device is provided, the electronic device comprises:
[0035] At least one processor; and
[0036] A memory communicatively connected to the at least one processor; wherein,
[0037] The memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor, to enable the at least one processor to execute the method for determining inconsistency of battery cells according to any embodiment of the present invention.
[0038] The technical solution of this invention, after determining whether any moment is in the end stage of charging or discharging based on the data information of each battery cell, selects at least one end stage of charging and discharging based on the time period input by the user. In each selected end stage of charging or discharging, the outlier degree of the battery cell is calculated based on the data information of each battery cell. Thus, the outlier degree of each battery cell in each selected end stage of charging or discharging can be obtained. The outlier degrees of each battery cell in each end stage of charging or discharging are sorted to obtain the most outlier batteries, which is used to assist technicians in locating abnormal individual cells and further analysis.
[0039] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0040] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0041] Figure 1 This is a flowchart of a method for determining battery cell inconsistency provided in an embodiment of the present invention;
[0042] Figure 2 This is a flowchart of another method for determining battery cell inconsistency provided in an embodiment of the present invention;
[0043] Figure 3 This is a schematic diagram of a battery cell inconsistency determination device provided in an embodiment of the present invention;
[0044] Figure 4 This is a schematic diagram of the structure of an electronic device that implements the battery cell inconsistency determination method of the present invention. Detailed Implementation
[0045] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0046] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0047] Figure 1 This is a flowchart illustrating a method for determining battery cell inconsistency according to an embodiment of the present invention. This embodiment is applicable to analyzing situations where battery cells are inconsistent. The method can be executed by a battery cell inconsistency determination device, which can be implemented in hardware and / or software. A battery includes multiple cells connected in series, such as... Figure 1 As shown, the method includes:
[0048] S110: Real-time acquisition of data information for each battery cell, including at least the cell's voltage and current.
[0049] Each cell in the battery is connected to a Battery Management System (BMS), which obtains the voltage and current of each cell.
[0050] S120: At any given moment, based on the data information of each cell, determine whether the battery is in the final stage of charging or discharging.
[0051] Each battery cell is marked as being in the final stage of charging or discharging based on its voltage, current, and other data. Methods for determining whether a cell is in the final stage of charging or discharging include, but are not limited to, voltage threshold method, single-cell voltage difference method, and current commutation method. Specifically, the start time of the final charging stage differs from the end time of charging by a first predetermined time threshold, and the end time of the final charging stage can be considered the end time of charging. Similarly, the start time of the final discharging stage differs from the end time of discharging by a second predetermined time threshold, and the end time of the final discharging stage can be considered the end time of discharging. When the charging current is zero during battery charging, it can be considered the end time of charging; when the discharging current is zero during battery discharging, it can be considered the end time of discharging.
[0052] S130: Select at least one end-of-charge phase and end-of-discharge phase according to the time period input by the user.
[0053] The time period input by the user is set according to user requirements. For example, if the user wants to view the status of each cell in the battery from 8:00 on February 23, 2023 to 8:00 on February 25, 2023, at least one end-of-charge phase and at least one end-of-discharge phase are arbitrarily selected from the period between 8:00 on February 23, 2023 and 8:00 on February 25, 2023. For example, in this embodiment, 2 end-of-charge phases and 2 end-of-discharge phases may be selected.
[0054] S140: Calculate the outlier degree of each cell in the selected at least one end-of-charge phase through a preset algorithm and the data information of each cell in the selected at least one end-of-charge phase, and calculate the outlier degree of each cell in the selected at least one end-of-discharge phase through the preset algorithm and the data information of each cell in the selected at least one end-of-discharge phase.
[0055] Optionally, the preset algorithm at least includes: a Z-score method, a local outlier factor algorithm, and a Pearson correlation coefficient algorithm. Any of the above algorithms is used to calculate the outlier degree of each cell in each selected end-of-charge phase, as well as the outlier degree of each cell in each selected end-of-discharge phase.
[0056] S150: Determine m cells with the highest outlier degree in each end-of-charge phase according to the outlier degree of each cell in the selected at least one end-of-charge phase, and determine m cells with the highest outlier degree in each end-of-discharge phase according to the outlier degree of each cell in the selected at least one end-of-discharge phase, where 0<m<n, n is the number of cells in the battery, and both m and n are positive integers.
[0057] After the outlier degree of each cell in each selected end-of-charge phase is calculated, the outlier degrees of the cells in each selected end-of-charge phase are sorted in ascending order, and m cells with the largest outlier degree are selected therefrom. After the outlier degree of each cell in each selected end-of-discharge phase is calculated, the outlier degrees of the cells in each selected end-of-discharge phase are sorted, and m cells with the largest outlier degree are selected therefrom. Each cell in the battery is assigned a unique number, and the numbers of the cells are different. Therefore, when sorting the outlier degrees to select the m cells with the highest outlier degree, it is possible to locate which cells in the battery the m cells correspond to respectively. For example, if the battery includes 100 cells, 5 cells with the highest outlier degree in each end-of-charge phase and 5 cells with the highest outlier degree in each end-of-discharge phase can be selected for subsequent analysis and attention, so as to assist the user in subsequently locating abnormal individual cells and conducting further analysis.
[0058] The technical solution of this invention, after determining whether any moment is in the end stage of charging or discharging based on the data information of each battery cell, selects at least one end stage of charging and discharging based on the time period input by the user. In each selected end stage of charging or discharging, the outlier degree of the battery cell is calculated based on the data information of each battery cell. Thus, the outlier degree of each battery cell in each selected end stage of charging or discharging can be obtained. The outlier degrees of each battery cell in each end stage of charging or discharging are sorted to obtain the most outlier batteries, which is used to assist technicians in locating abnormal individual cells and further analysis.
[0059] Figure 2 A flowchart of another method for determining battery cell inconsistency provided in an embodiment of the present invention is shown below. Figure 2 Optionally, the method includes:
[0060] S111: Real-time acquisition of data information for each battery cell, including at least the cell's voltage and current.
[0061] S121: At any given moment, determine whether the battery is in the final stage of charging or discharging based on the data information of each cell.
[0062] Determining whether a battery is at the end of its charging or discharging phase can be done in two specific ways. Optionally, method one is as follows: At the current moment, if the voltage of the cell with the highest voltage is greater than the charging voltage threshold, and the battery is in a charging state based on the current direction of the cell, then the battery is in the end of its charging phase at the current moment. At the current moment, if the voltage of the cell with the lowest voltage is less than the discharging voltage threshold, and the battery is in a discharging state based on the current direction of the cell, then the battery is in the end of its discharging phase at the current moment.
[0063] The battery comprises multiple cells with current flowing in the same direction. As charging progresses, the cell voltage gradually increases. At the current moment, the voltage of each cell is acquired. When the voltage of the cell with the highest voltage exceeds the charging voltage threshold, and the current flows from the bidirectional inverter to the cell, the battery is determined to be in the final stage of charging. As discharging progresses, the cell voltage gradually decreases. At the current moment, the voltage of each cell is acquired. When the voltage of the cell with the lowest voltage falls below the discharging voltage threshold, and the current flows from the cell to the bidirectional inverter, the battery is determined to be in the final stage of discharging. The charging and discharging voltage thresholds can be set according to requirements. For example, the charging voltage threshold can be 3.5V, and the discharging voltage threshold can be 3.1V.
[0064] Optionally, Method 2: Based on time h and multiple times after time h, determine that the voltage of the cell with the highest voltage at time h gradually increases, and when the rate of change of the voltage of the cell with the highest voltage at time h is greater than a set voltage change threshold, then time h is determined to be in the final stage of charging; based on time h and multiple times after time h, determine that the voltage of the cell with the lowest voltage at time h gradually decreases, and when the rate of change of the voltage of the cell with the lowest voltage at time h is greater than a set voltage change threshold, then time h is determined to be in the final stage of discharging.
[0065] Batteries like lithium batteries exhibit a characteristic where, as charging or discharging progresses, the rate of voltage change in the cells increases towards the end of the charging or discharging process. If, at the current moment and several moments after it, the voltage of the cell with the highest voltage gradually increases, and the rate of voltage change exceeds a set voltage change threshold (e.g., 2mV / s), then the current moment is marked as the end of the charging phase. Conversely, if, at the current moment and several moments after it, the voltage of the cell with the lowest voltage gradually decreases, and the rate of voltage change exceeds a set voltage change threshold (e.g., 2mV / s), then the current moment is marked as the end of the discharging phase.
[0066] S131: Select at least one charging end stage and one discharging end stage based on the time period input by the user.
[0067] Optionally, based on the user-inputted time period, select at least one charging end stage and at least one discharging end stage that are closest to the end time of the user-inputted time period.
[0068] The closer the user-input time period is to its end, the more accurately it reflects the latest state of each cell in the battery. Therefore, outlier calculations are performed on at least one charging end stage and at least one discharging end stage that are closest to the end of the user-input time period. By appropriately selecting the range of data for analysis, outlier analysis can be performed, reducing the computational load.
[0069] S141: By setting an algorithm and selecting data information of each cell in at least one charging end stage, calculate the outlier degree of each cell in at least one charging end stage; by setting an algorithm and selecting data information of each cell in at least one discharging end stage, calculate the outlier degree of each cell in at least one discharging end stage.
[0070] Optionally, the set algorithm is a Z-score method. Optionally, according to the voltages of the respective cells at the i-th moment within the selected end-of-charge phase or end-of-discharge phase, the average value of the cell voltages at the i-th moment is calculated, where i=1, 2, ..., L, 1 is the start moment of the selected end-of-charge phase or end-of-discharge phase, and L is the end moment of the selected end-of-charge phase or end-of-discharge phase; the Z-score of each cell at the i-th moment is determined according to the voltage of each cell at the i-th moment, the average value of the cell voltages at the i-th moment, and the standard deviation of the cell voltages at the i-th moment; for any cell, the average value of the Z-scores of the cell at all moments within the selected end-of-charge phase or end-of-discharge phase is calculated, and taken as the outlier degree of the cell.
[0071] For each selected end-of-charge phase or end-of-discharge phase, the end-of-charge phase or end-of-discharge phase includes L sampling moments, the outlier degree of each cell at each moment is calculated, and finally the outlier degree of a certain cell in the end-of-charge phase or end-of-discharge phase is the average value of the outlier degrees of the cell at the L sampling moments. When calculating the outlier degree of any cell at any moment, the Z-score of the cell is taken as the outlier degree of the cell. The Z-score is equal to the quotient of the difference between the voltage of the cell and the average value of the voltages of all cells at that moment, divided by the standard deviation of the cell voltages at that moment. The outlier degree of each cell at any moment can be calculated according to the above specific calculation manner of the Z-score.
[0072] S151: Determine m cells with the highest outlier degree in each end-of-charge phase according to the outlier degrees of the respective cells in at least one selected end-of-charge phase, and determine m cells with the highest outlier degree in each end-of-discharge phase according to the outlier degrees of the respective cells in at least one selected end-of-discharge phase, where 0<m<n, n is the number of cells in the battery, and both m and n are positive integers.
[0073] S161: Generate data information curves corresponding to the m cells according to the data information of the m cells with the highest outlier degree determined from the at least one selected end-of-charge phase within the time period input by the user, where the data information curves at least include a voltage curve and a current curve; generate data information curves corresponding to the m cells according to the data information of the m cells with the highest outlier degree determined from the at least one selected end-of-discharge phase within the time period input by the user, where the data information curves at least include a voltage curve and a current curve.
[0074] After identifying the m cells with the highest outlier performance at each selected charging end stage, m voltage curves and m current curves corresponding to each of the m cells are generated based on the data information of the m cells within the user-input time period. Similarly, after identifying the m cells with the highest outlier performance at each selected discharging end stage, m voltage curves and m current curves corresponding to each of the m cells are generated based on the data information of the m cells within the user-input time period to assist the user in analyzing the outlier degree of the cells.
[0075] In this embodiment, based on the time period input by the user, at least one charging end stage and at least one discharging end stage that are closest to the end time of the time period input by the user are selected, making the data range selection more reasonable and reducing the amount of calculation.
[0076] Based on the above embodiments, optionally, after S150 or S151, the following further step is added:
[0077] When the outlier degree of a battery cell exceeds a set outlier threshold, the cell is identified as an outlier cell.
[0078] Regarding the method for determining battery cell inconsistency, this invention provides a specific embodiment, as shown in Table 1. In this embodiment, the battery includes n cells: cell 1, cell 2, cell 3, ..., cell n. Table 1 summarizes the voltage (in mV) and current (in A) of each cell at each sampling time during a selected end-of-discharge stage. Table 2 shows the outlier degree of each cell at each sampling time calculated after outlier analysis.
[0079] Table 1. Original Battery Data Sheet
[0080]
[0081] Table 2 Data after outlier analysis
[0082]
[0083]
[0084] Figure 3 This is a schematic diagram of a battery cell inconsistency determination device provided in an embodiment of the present invention. The battery includes multiple cells connected in series; as shown... Figure 3 As shown, the device includes:
[0085] Information acquisition module 1 is used to acquire data information of each battery cell in real time. The data information includes at least the voltage and current of the battery cell.
[0086] The end determining module 2 is configured to determine, at any moment, whether the battery is in the charging end stage or the discharging end stage at the current moment according to the data information of each cell;
[0087] The selecting module 3 is configured to select at least one charging end stage and at least one discharging end stage according to the time period input by the user;
[0088] The outlier degree calculating module 4 is configured to calculate the outlier degree of each cell in the selected at least one charging end stage through a set algorithm and the data information of each cell in the selected at least one charging end stage, and calculate the outlier degree of each cell in the selected at least one discharging end stage through the set algorithm and the data information of each cell in the selected at least one discharging end stage;
[0089] The analyzing module 5 is configured to determine m cells with the highest outlier degree in each charging end stage according to the outlier degree of each cell in the selected at least one charging end stage, and determine m cells with the highest outlier degree in each discharging end stage according to the outlier degree of each cell in the selected at least one discharging end stage, where 0<m<n, n is the number of cells in the battery, and both m and n are positive integers.
[0090] The device for determining inconsistency of battery cells provided in the embodiments of the present invention can execute the method for determining inconsistency of battery cells provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.
[0091] Optionally, the end determining module comprises:
[0092] The charging end determining unit is configured to, at the current moment, when the voltage of the cell with the maximum voltage is greater than the charging voltage threshold and it is determined that the battery is in the charging state according to the current direction of the cell, determine that the battery is in the charging end stage at the current moment;
[0093] The discharging end determining unit is configured to, at the current moment, when the voltage of the cell with the minimum voltage is less than the discharging voltage threshold and it is determined that the battery is in the discharging state according to the current direction of the cell, determine that the battery is in the discharging end stage at the current moment.
[0094] Alternatively, the end determining module comprises:
[0095] The charging end determining unit is configured to, according to the h-th moment and multiple moments after the h-th moment, when it is determined that the voltage of the cell with the maximum voltage at the h-th moment in the battery gradually increases, and the voltage change rate of the cell with the maximum voltage at the h-th moment is greater than a set voltage change threshold, determine that the h-th moment is in the charging end stage;
[0096] The discharge end stage determination unit is used to determine, based on time h and multiple times after time h, that the voltage of the cell with the lowest voltage at time h gradually decreases, and that at time h, the voltage change rate of the cell with the lowest voltage is greater than a set voltage change threshold, and that time h is in the discharge end stage.
[0097] Optionally, the selectable modules include:
[0098] The selection unit is used to select at least one charging end stage and at least one discharging end stage that are closest to the end time of the user-inputted time period, based on the time period input by the user.
[0099] Optionally, the outlier calculation module includes:
[0100] The average value calculation unit is used to calculate the average value of the cell voltage at time i based on the voltage of each cell at time i within the selected end charging stage or end discharging stage, i = 1, 2, ..., L, where 1 is the start time of the selected end charging stage or end discharging stage, and L is the end time of the selected end charging stage or end discharging stage.
[0101] The Z-score calculation unit is used to determine the Z-score of each cell at time i based on the voltage of each cell at time i, the average voltage of the cells at time i, and the standard deviation of the voltage of the cells at time i.
[0102] The outlier determination unit is used to calculate the average Z-score of any given cell at all times during a selected end-of-charge or end-of-discharge phase, and use this average as the cell's outlier.
[0103] Optionally, the battery cell inconsistency determination device also includes:
[0104] The charging curve generation unit is used to generate data information curves corresponding to the m cells based on the data information of the m cells with the highest outlier degree determined in at least one selected charging end stage within the time period input by the user. The data information curves include at least voltage curves and current curves.
[0105] The discharge curve generation unit is used to generate data information curves corresponding to the m cells based on the data information of the m cells with the highest outlier degree determined in at least one selected discharge end stage within the time period input by the user. The data information curves include at least voltage curves and current curves.
[0106] Optionally, the battery cell inconsistency determination device also includes:
[0107] The outlier cell identification module is used to identify a cell as an outlier cell when the outlier degree of the cell is greater than a set outlier degree threshold.
[0108] Figure 4 A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0109] like Figure 4 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0110] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0111] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the battery cell inconsistency determination method described above.
[0112] In some embodiments, the battery cell inconsistency determination method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the battery cell inconsistency determination method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the battery cell inconsistency determination method by any other suitable means (e.g., by means of firmware).
[0113] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0114] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0115] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0116] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0117] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0118] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0119] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0120] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for determining inconsistencies in battery cells, characterized in that, The battery includes a plurality of cells connected in series; the method for determining cell inconsistency of the battery includes: Acquire data information of each of the cells in real time, where the data information at least includes the voltage and current of the cell; At any moment, according to the data information of each of the cells, determine whether the battery is in a charging end stage or a discharging end stage at the current moment; Select at least one of the charging end stage and the discharging end stage according to a time period input by a user; Calculate the outlier degree of each cell in the selected at least one charging end stage through a preset algorithm and the data information of each cell in the selected at least one charging end stage, and calculate the outlier degree of each cell in the selected at least one discharging end stage through the preset algorithm and the data information of each cell in the selected at least one discharging end stage; Determine m cells with the highest outlier degree in each charging end stage according to the outlier degree of each cell in the selected at least one charging end stage, and determine m cells with the highest outlier degree in each discharging end stage according to the outlier degree of each cell in the selected at least one discharging end stage, where 0<m<n, n is the number of cells in the battery, and both m and n are positive integers; The step of selecting at least one of the charging end stage and the discharging end stage according to the time period input by the user includes: Select at least one charging end stage and at least one discharging end stage that are closest to the end moment of the time period input by the user according to the time period input by the user; The preset algorithm is a Z-score method, and the steps of calculating the outlier degree of each cell in the selected at least one charging end stage through the preset algorithm and the data information of each cell in the selected at least one charging end stage, and calculating the outlier degree of each cell in the selected at least one discharging end stage through the preset algorithm and the data information of each cell in the selected at least one discharging end stage include: Calculate the average value of the cell voltages at the i-th moment according to the voltage of each of the cells at the i-th moment within the selected charging end stage or discharging end stage, where i=1, 2, ..., L, 1 is the start moment of the selected charging end stage or discharging end stage, and L is the end moment of the selected charging end stage or discharging end stage; Determine the Z-score of each cell at the i-th moment according to the voltage of each of the cells at the i-th moment, the average value of the cell voltages at the i-th moment, and the standard deviation of the cell voltages at the i-th moment; For any cell, calculate the average value of the Z-scores of the cell at all moments within the selected charging end stage or discharging end stage, and take the average value as the outlier degree of the cell.
2. The method for determining battery cell inconsistency according to claim 1, characterized in that, The step of determining, at any moment according to the data information of each of the cells, whether the battery is in the charging end stage or the discharging end stage at the current moment includes: At the current moment, when the voltage of the cell with the highest voltage is greater than the charging voltage threshold, and the battery is determined to be in a charging state based on the current direction of the cell, the battery is determined to be in the final stage of charging at the current moment. At the current moment, when the voltage of the cell with the lowest voltage is less than the discharge voltage threshold, and the battery is determined to be in a discharge state based on the current direction of the cell, it is determined that the battery is in the end stage of discharge at the current moment.
3. The method for determining battery cell inconsistency according to claim 1, characterized in that, The step of determining whether the battery is in the final stage of charging or discharging at any given time, based on the data information of each of the battery cells, includes: Based on time h and multiple times after time h, it is determined that the voltage of the cell with the largest voltage at time h gradually increases, and when the rate of change of the voltage of the cell with the largest voltage at time h is greater than a set voltage change threshold, it is determined that time h is in the charging end stage. Based on time h and multiple times after time h, it is determined that the voltage of the cell with the lowest voltage at time h gradually decreases, and when the voltage change rate of the cell with the lowest voltage at time h is greater than the set voltage change threshold, it is determined that time h is in the end stage of discharge.
4. The method for determining battery cell inconsistency according to claim 1, characterized in that, After determining the m cells with the highest outlier in each of the selected at least one of the charging end stages based on the outlier of each of the cells in each of the selected at least one of the charging end stages, and determining the m cells with the highest outlier in each of the selected at least one of the discharging end stages based on the outlier of each of the cells in each of the selected at least one of the discharging end stages, the process includes: Based on the data information of the m cells with the highest outlier determined in at least one of the selected charging end stages within the user-input time period, data information curves corresponding to the m cells are generated, and the data information curves include at least voltage curves and current curves. Based on the data information of the m cells with the highest outlier determined in at least one of the selected discharge end stages within the user-input time period, data information curves corresponding to the m cells are generated, and the data information curves include at least voltage curves and current curves.
5. The method for determining battery cell inconsistency according to claim 1, characterized in that, After determining the m cells with the highest outlier in each of the selected at least one of the charging end stages based on the outlier of each of the cells in each of the selected at least one of the charging end stages, and determining the m cells with the highest outlier in each of the selected at least one of the discharging end stages based on the outlier of each of the cells in each of the selected at least one of the discharging end stages, the method further includes: When the outlier degree of the battery cell is greater than a set outlier degree threshold, the battery cell is determined to be an outlier cell.
6. A battery cell inconsistency determination apparatus employing the battery cell inconsistency determination method as described in claim 1, characterized in that, The battery includes multiple cells connected in series, and the battery cell inconsistency determination device includes: An information acquisition module is used to acquire data information of each of the battery cells in real time, and the data information includes at least the voltage and current of the battery cells; The end-of-charge determination module is used to determine, at any given time, whether the battery is in the end-of-charge or end-of-discharge stage based on the data information of each of the battery cells. a selection module, configured to select at least one of the charge end stage and the discharge end stage according to a time period input by a user; an outlier degree calculation module, configured to calculate the outlier degree of each of the cells in the selected at least one charge end stage through a preset algorithm and the data information of each of the cells in the selected at least one charge end stage, and calculate the outlier degree of each of the cells in the selected at least one discharge end stage through the preset algorithm and the data information of each of the cells in the selected at least one discharge end stage; an analysis module, configured to determine m cells with the highest outlier degree in each of the charge end stages according to the outlier degree of each of the cells in the selected at least one charge end stage, and determine m cells with the highest outlier degree in each of the discharge end stages according to the outlier degree of each of the cells in the selected at least one discharge end stage, where 0<m<n, n is the number of cells in the battery, and both m and n are positive integers.
7. An electronic device, characterized in that, The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores a computer program executable by the at least one processor, and the computer program, when executed by the at least one processor, causes the at least one processor to be capable of executing the method for determining inconsistency of battery cells according to any one of claims 1 to 5.
Citation Information
Patent Citations
Cell outlier detection method and device and electronic equipment
CN113740732A
Battery capacity consistency analysis method and device and computer equipment
CN115840151A
