A temperature sampling filtering method and device of a battery management system, equipment and medium
Patent Information
- Application Number
- CN202510150379.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-11
- Publication Date
- 2026-08-18
AI Technical Summary
目前BMS行业温度采样普遍存在无法准确滤除由光电干扰、温度采样回路虚焊或损坏失效,所导致的温度采样信号出现尖峰、毛刺和异常采样值的问题
[0041] This application provides a temperature sampling and filtering method, apparatus, device, and medium for a battery management system. The temperature sampling and filtering method includes: acquiring the current temperature sampling value of each cell in the battery management system during the temperature sampling period; detecting whether the current temperature sampling value of the cell triggers a temperature sampling jump; if the temperature sampling jump is not triggered, outputting the current temperature sampling value of the cell; if the temperature sampling jump is triggered, detecting whether the cell triggers a first-level temperature anomaly filter after the temperature sampling jump; if the first-level temperature anomaly filter is triggered, detecting whether the number of times the cell triggers the first-level temperature anomaly filter is greater than a preset number; if it is greater than the preset number, the cell triggers a second-level temperature anomaly filter. When a disturbance occurs in the temperature sampling signal, the abnormal cell can be immediately identified after the detection of temperature sampling jump, first-level temperature anomaly filter, and second-level temperature anomaly filter, without needing to filter the validity of the temperature sampling value again, thus improving the response rate of the battery management system's temperature processing.
Smart Images

Figure CN122592235A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of battery performance technology, and in particular to a temperature sampling and filtering method, apparatus, device and medium for a battery management system. Background Technology
[0002] In the pure electric vehicle field, battery temperature has a direct impact on battery performance and is one of the important input parameters for BMS (Battery Management System) algorithms, thermal management strategies, and safety protection actions. A single battery pack typically contains around 10 to 20 batteries. Currently, the BMS industry commonly suffers from problems with temperature sampling, including the inability to accurately filter out spikes, glitches, and abnormal sampling values caused by photoelectric interference, faulty soldering or damage to the temperature sampling circuit. The industry typically uses a moving average method to filter sampling spikes and glitches to some extent. However, when faced with persistent abnormal sampling values caused by hardware failures, the moving average method can only delay the impact of abnormal sampling values on the entire system, but it cannot truly filter them out. Inaccurate filtering of abnormal sampling values may lead to frequent temperature sampling fault reports, increase after-sales maintenance costs, and negatively impact the user experience. Therefore, how to filter the temperature sampling of the battery management system has become a significant technical problem. Summary of the Invention
[0003] In view of this, the purpose of this application is to provide a temperature sampling and filtering method, device, equipment and medium for a battery management system. When a disturbance occurs in the temperature sampling signal, the abnormal cell can be immediately identified through temperature sampling jump, temperature first-level anomaly filtering and temperature first-level anomaly filtering detection, without the need to filter the validity of the temperature sampling value, thereby improving the response rate of the temperature processing of the battery management system.
[0004] This application provides a temperature sampling and filtering method for a battery management system, the temperature sampling and filtering method comprising:
[0005] The current temperature sampling value of each cell in the battery management system is collected during the temperature sampling period of the battery management system.
[0006] Detect whether the current temperature sample value of the battery cell triggers a temperature sampling jump;
[0007] If the temperature sampling jump is not triggered, the current temperature sampling value of the battery cell is output.
[0008] If the temperature sampling jump is triggered, it is detected whether the cell triggers the first-level temperature anomaly filter after the temperature sampling jump. If the first-level temperature anomaly filter is triggered, it is detected whether the number of times the cell triggers the first-level temperature anomaly filter is greater than the preset number.
[0009] If the number of cycles exceeds the preset limit, the cell will trigger a secondary abnormal temperature filter.
[0010] In one possible implementation, the following steps are used to determine whether the current temperature sample value of the battery cell triggers a temperature sampling jump:
[0011] Detect whether the difference between the current temperature sample value of the battery cell and the previous temperature sample value of the battery cell is greater than the temperature sampling jump threshold;
[0012] If so, the current temperature sampling value of the battery cell is determined to trigger the temperature sampling jump, and the battery cell's flag is updated to the temperature sampling jump flag and the temperature sampling jump time of the battery cell is recorded.
[0013] If not, it is determined that the current temperature sampling value of the battery cell has not triggered the temperature sampling jump, and the temperature sampling of the battery cell is normal.
[0014] In one possible implementation, the following steps are used to determine whether the battery cell triggers a first-level temperature anomaly filter after the temperature sampling jump:
[0015] Detect whether the first difference between the temperature sampling jump time of the battery cell and the temperature jump start timing of the battery cell is greater than or equal to a first time threshold.
[0016] If so, the cell that triggered the first-level abnormal temperature filtering after the temperature sampling jump is identified, the cell's flag is updated to the first-level fault flag, and the current temperature sampling value of the cell is processed for fault reporting.
[0017] If not, it is determined that the cell did not trigger the first-level temperature anomaly filter after the temperature sampling jump.
[0018] In one possible implementation, after the cell does not trigger the first-level temperature anomaly filter following the temperature sampling jump, the temperature sampling filtering method further includes:
[0019] Detect whether the second difference between the current temperature sample value of the battery cell and the previous temperature sample value of the battery cell is within the temperature range;
[0020] If so, then the temperature sampling recovery of the battery cell is determined;
[0021] If not, then continue to determine whether the difference between the temperature sampling jump time of the battery cell and the start time of the temperature jump of the battery cell is greater than the first time threshold.
[0022] In one possible implementation, the temperature range is determined by the following steps:
[0023] Determine the average current temperature sample value of the remaining cells;
[0024] Determine the third difference between the average current temperature sample value and the temperature sample value of the battery cell;
[0025] The first value is determined by adding the third difference to the first time threshold and the sampling error value;
[0026] The second value is determined by subtracting the third difference from the first time threshold and the sampling error value;
[0027] The temperature range is constructed based on the first and second values.
[0028] In one possible implementation, after detecting whether the cell triggers a first-level temperature anomaly filter after a temperature sampling jump, the temperature sampling filtering method further includes:
[0029] If the first-level temperature anomaly filter is triggered, it is detected whether the duration of the first-level temperature anomaly filter of the battery cell is greater than or equal to the second time threshold.
[0030] If so, the cell triggers a secondary abnormal temperature filter, updates the cell's flag to a secondary fault flag, and processes the cell's temperature sampling value for fault reporting.
[0031] This application embodiment also provides a temperature sampling and filtering device for a battery management system, the temperature sampling and filtering device comprising:
[0032] The sampling module is used to collect the current temperature sampling value of each cell of the battery management system during the temperature sampling period of the battery management system.
[0033] The temperature sampling jump module is used to detect whether the current temperature sampling value of the battery cell triggers a temperature sampling jump. If the temperature sampling jump is not triggered, the current temperature sampling value of the battery cell is output.
[0034] The temperature anomaly filtering module is used to detect whether the battery cell triggers a first-level temperature anomaly filter after the temperature sampling jump if the temperature sampling jump is triggered. If the first-level temperature anomaly filter is triggered, the module detects whether the number of times the battery cell triggers the first-level temperature anomaly filter is greater than a preset number. If the number of times is greater than the preset number, the battery cell triggers a second-level temperature anomaly filter.
[0035] In one possible implementation, the temperature sampling transition module determines whether the current temperature sample value of the battery cell triggers a temperature sampling transition by following these steps:
[0036] Detect whether the difference between the current temperature sample value of the battery cell and the previous temperature sample value of the battery cell is greater than the temperature sampling jump threshold;
[0037] If so, the current temperature sampling value of the battery cell is determined to trigger the temperature sampling jump, and the battery cell's flag is updated to the temperature sampling jump flag and the temperature sampling jump time of the battery cell is recorded.
[0038] If not, it is determined that the current temperature sampling value of the battery cell has not triggered the temperature sampling jump, and the temperature sampling of the battery cell is normal.
[0039] This application embodiment also provides an electronic device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, the steps of the temperature sampling and filtering method of the battery management system described above are performed.
[0040] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, performs the steps of the temperature sampling and filtering method for the battery management system described above.
[0041] This application provides a temperature sampling and filtering method, apparatus, device, and medium for a battery management system. The temperature sampling and filtering method includes: acquiring the current temperature sampling value of each cell in the battery management system during the temperature sampling period; detecting whether the current temperature sampling value of the cell triggers a temperature sampling jump; if the temperature sampling jump is not triggered, outputting the current temperature sampling value of the cell; if the temperature sampling jump is triggered, detecting whether the cell triggers a first-level temperature anomaly filter after the temperature sampling jump; if the first-level temperature anomaly filter is triggered, detecting whether the number of times the cell triggers the first-level temperature anomaly filter is greater than a preset number; if it is greater than the preset number, the cell triggers a second-level temperature anomaly filter. When a disturbance occurs in the temperature sampling signal, the abnormal cell can be immediately identified after the detection of temperature sampling jump, first-level temperature anomaly filter, and second-level temperature anomaly filter, without needing to filter the validity of the temperature sampling value again, thus improving the response rate of the battery management system's temperature processing.
[0042] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0043] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0044] Figure 1 A flowchart illustrating a temperature sampling and filtering method for a battery management system provided in this application embodiment;
[0045] Figure 2 A schematic diagram of a temperature sampling and filtering method for a battery management system provided in an embodiment of this application;
[0046] Figure 3 This is a schematic diagram of the structure of a temperature sampling and filtering device for a battery management system provided in an embodiment of this application;
[0047] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0048] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of this application. Based on the embodiments of this application, every other embodiment obtained by those skilled in the art without inventive effort falls within the scope of protection of this application.
[0049] First, the applicable scenarios for this application will be introduced. This application can be applied to the field of battery performance technology.
[0050] Research has revealed that in the pure electric vehicle field, battery temperature has a direct impact on battery performance and is one of the key input parameters for BMS (Battery Management System) algorithms, thermal management strategies, and safety protection actions. A single battery pack typically contains 10 to 20 batteries. Currently, the BMS industry commonly suffers from problems with temperature sampling, including the inability to accurately filter out spikes, glitches, and abnormal sampling values caused by photoelectric interference, faulty soldering or damage to the temperature sampling circuit. The industry typically uses a moving average method to filter sampling spikes and glitches to some extent. However, when faced with persistent abnormal sampling values caused by hardware failures, the moving average method can only delay the impact of abnormal sampling values on the entire system, but it cannot truly filter them out. Inaccurate filtering of abnormal sampling values may lead to frequent temperature sampling fault reports, increase after-sales maintenance costs, and negatively impact the user experience. Therefore, how to filter the temperature sampling of the battery management system has become a significant technical challenge.
[0051] Based on this, this application provides a temperature sampling and filtering method for a battery management system. When a disturbance occurs in the temperature sampling signal, the abnormal cell can be immediately identified through temperature sampling jump, temperature level one anomaly filtering and temperature level one anomaly filtering detection, without the need to filter the validity of the temperature sampling value, thereby improving the response rate of the temperature processing of the battery management system.
[0052] Please see Figure 1 , Figure 1 This is a flowchart illustrating a temperature sampling and filtering method for a battery management system provided in an embodiment of this application. Figure 1 As shown in the embodiments of this application, the temperature sampling and filtering method includes:
[0053] S101: Collect the current temperature sampling value of each cell of the battery management system during the temperature sampling period of the battery management system.
[0054] In this step, the current temperature sampling value of each cell in the battery management system is collected within the temperature sampling period of the battery management system.
[0055] Here, the temperature sampling period is preset.
[0056] S102: Detect whether the current temperature sampling value of the battery cell triggers a temperature sampling jump.
[0057] In this step, the current temperature sampling value of the battery cell is detected to trigger a temperature sampling jump.
[0058] Specifically, when the temperature sampling jumps to a value greater than the temperature sampling jump threshold, the current temperature sampling value of the cell is considered to be in a temperature sampling jump state.
[0059] In one possible implementation, the following steps are used to determine whether the current temperature sample value of the battery cell triggers a temperature sampling jump:
[0060] A: Detect whether the difference between the current temperature sample value of the battery cell and the previous temperature sample value of the battery cell is greater than the temperature sampling jump threshold.
[0061] Here, the current temperature sampling value T of the battery cell is detected. i Compared with the previous temperature sampling value T of the battery cell i-1 Is the difference between them greater than the temperature sampling jump threshold T? Jump .
[0062] Among them, the temperature sampling jump threshold T Jump The settings are based on a comprehensive consideration of actual sampling errors and system temperature characteristics.
[0063] B: If so, the current temperature sampling value of the battery cell is determined to trigger the temperature sampling jump, and the battery cell's flag is updated to the temperature sampling jump flag and the temperature sampling jump time of the battery cell is recorded.
[0064] If so, the current temperature sampling value of the cell is determined to trigger a temperature sampling jump, and the cell's flag is updated to the temperature sampling jump flag, and the temperature sampling jump time of the cell is recorded.
[0065] C: If not, it is determined that the current temperature sampling value of the battery cell has not triggered the temperature sampling jump, and the temperature sampling of the battery cell is normal.
[0066] If not, it is determined that the current temperature sampling value of the battery cell has not triggered a temperature sampling jump, the temperature sampling of the battery cell is normal, and the current temperature sampling value is output.
[0067] In a specific embodiment, when the BMS (Battery Management System) detects that the sampled temperature value meets the following condition: |T i -T i-1 |>T Jump If the sampled value changes abruptly, whether fault handling is required depends on continuous monitoring of the cell to determine if it meets subsequent judgment criteria. At this point, T... i Since the sampled value is no longer reliable, the sampling module outputs the previous sampled value to the software application layer to ensure that the upper layer functions normally. That is, the sampling module outputs T. y =T i-1Simultaneously, the software marks the sampling transition of the battery cell and records the time t0 when the transition occurs. When |T i -T i-1 |≤T Jump If the current temperature sample value of the battery cell does not trigger a temperature sampling jump, then the sampling module outputs T. y =T i .
[0068] S103: If the temperature sampling jump is not triggered, the current temperature sampling value of the battery cell is output.
[0069] If the temperature sampling jump is not triggered in this step, the current temperature sampling value of the battery cell is output.
[0070] S104: If the temperature sampling jump is triggered, then detect whether the cell triggers the first-level temperature anomaly filter after the temperature sampling jump. If the first-level temperature anomaly filter is triggered, then detect whether the number of times the cell triggers the first-level temperature anomaly filter is greater than a preset number.
[0071] In this step, if a temperature sampling jump is triggered, it is checked whether the cell triggers the first-level temperature anomaly filter after the temperature sampling jump. If the first-level temperature anomaly filter is triggered, it is checked whether the number of times the cell triggers the first-level temperature anomaly filter is greater than the preset number.
[0072] Among them, the first-level temperature anomaly filtering is for cells that experience temperature jumps, and a software-set timer t is used. i Start the jump timer, that is, when t... i -t0≥t jump If this occurs, it means that the sampling jump is not a spike disturbance, triggering the first-level temperature anomaly filter.
[0073] In one possible implementation, the following steps are used to determine whether the battery cell triggers a first-level temperature anomaly filter after the temperature sampling jump:
[0074] a: Detect whether the first difference between the temperature sampling jump time of the battery cell and the start time of the temperature jump of the battery cell is greater than or equal to the first time threshold.
[0075] Here, the temperature sampling transition time t0 of the battery cell is detected, and the time t is the start of the temperature transition of the battery cell. i Is the first difference between them greater than or equal to the first time threshold t? jump .
[0076] b: If yes, then it is determined that the cell triggered the first-level temperature anomaly filter after the temperature sampling jump, the cell's flag is updated to the first-level fault flag, and the current temperature sampling value of the cell is reported as a fault; if no, then it is determined that the cell did not trigger the first-level temperature anomaly filter after the temperature sampling jump.
[0077] If yes, then it is determined that the cell after the temperature sampling jump has triggered the first-level temperature anomaly filter, the cell's flag is updated to the first-level fault flag, and the current temperature sampling value of the cell is reported as a fault. If no, then it is determined that the cell after the temperature sampling jump has not triggered the first-level temperature anomaly filter.
[0078] In one possible implementation, after the cell does not trigger the first-level temperature anomaly filter following the temperature sampling jump, the temperature sampling filtering method further includes:
[0079] (1): Detect whether the second difference between the current temperature sample value of the battery cell and the previous temperature sample value of the battery cell is within the temperature range.
[0080] Here, the second difference between the current temperature sample value of the battery cell and the previous temperature sample value is checked to see if it falls within the temperature range.
[0081] (2) If yes, then determine that the temperature sampling of the battery cell has recovered; if no, then continue to determine whether the difference between the temperature sampling jump time of the battery cell and the temperature jump start time of the battery cell is greater than the first time threshold.
[0082] Here, if yes, then the temperature sampling recovery of the battery cell is determined; if not, then it is further determined whether the difference between the temperature sampling jump time of the battery cell and the start time of the temperature jump of the battery cell is greater than the first time threshold.
[0083] In one possible implementation, the temperature range is determined by the following steps:
[0084] I: Determine the average current temperature sample value of the remaining cells.
[0085] Here, the average current temperature sample value of the remaining cells is determined.
[0086] II: Determine the third difference between the average current temperature sample value and the temperature sample value of the battery cell.
[0087] Here, the third difference between the average current temperature sample value and the cell temperature sample value is determined.
[0088] III: Add the third difference to the first time threshold and the sampling error value to determine the first value.
[0089] Here, the first value is determined by adding the third difference to the first time threshold and the sampling error value.
[0090] IV: Subtract the third difference from the first time threshold and the sampling error value to determine the second value.
[0091] Here, the second value is determined by subtracting the third difference from the first time threshold and the sampling error value.
[0092] V: The temperature range is constructed based on the first value and the second value.
[0093] Here, the temperature range is T. Jump ±△T±T s △T is the third difference between the average current temperature sample value and the temperature sample value of the battery cell. s This represents the sampling error value.
[0094] Wherein, ΔT is the system temperature change during the filtering period. For systems with multiple cells, the changes of other cells can be referenced. For systems with a single cell, the maximum possible temperature change of that single cell during the filtering period is used. In practical applications, ΔT is usually ≤1℃, or even negligible.
[0095] In a specific embodiment, for battery cells exhibiting temperature fluctuations, a timer t is set by the software. i Start the jump timer, that is, when t... i -t0≥t jump If this occurs, it means that the sampling jump is not a spike disturbance, triggering the first-level temperature anomaly filter. At this point, the system has experienced a period of time lasting t. i The actual sampled value at time -t0 is unknown, requiring fault handling based on system characteristics. Therefore, the current temperature sampled value needs to be passed to the application layer, i.e., T. y =T i If at t i -t0 <t jump During the timing period, the current temperature sample value satisfies |T i -T i-1 |≤|T Jump ±△T±T s When |T| indicates that the impact of this sampling jump is very brief and recoverable, no action is needed. At this point, the cell affected by the temperature sampling jump is considered to have returned to normal. i -T i-1 |>|T Jump ±△T±T s Then, it is determined whether the difference between the temperature sampling jump time of the battery cell and the start time of the temperature jump of the battery cell is greater than the first time threshold.
[0096] In this solution, when a disturbance occurs in the temperature sampling signal, the abnormal cell can be immediately identified, ensuring that the sampling module outputs a normal and reasonable sampling value T. i-1 Based on this filtering software application layer strategy, there is no need to filter the validity of the temperature sampled values. The temperature values transmitted by the sampling module can be calculated and processed in real time. The entire system's response based on temperature values has no additional periodic lag, improving the response rate of the BMS's temperature processing. At the same time, by ensuring the validity of the temperature from the sampling source, the temperature-related processing module of the software application layer no longer needs to judge the validity of the input temperature, which also means that the strategy design of the software application layer is greatly simplified, making the system more concise and effective.
[0097] In one possible implementation, after detecting whether the cell triggers a first-level temperature anomaly filter after a temperature sampling jump, the temperature sampling filtering method further includes:
[0098] i: If the first-level temperature anomaly filter is triggered, then check whether the duration of the first-level temperature anomaly filter of the battery cell is greater than or equal to the second time threshold.
[0099] Here, if the first-level temperature anomaly filter is triggered, the duration of the first-level temperature anomaly filter for the battery cell is checked to see if it is greater than or equal to the second time threshold.
[0100] II: If so, the cell triggers a secondary abnormal temperature filter, updates the cell's flag to a secondary fault flag, and processes the cell's temperature sampling value for fault reporting.
[0101] If so, the cell triggers a secondary abnormal temperature filter, updates the cell's flag to a secondary fault flag, and processes the cell's temperature sampling value for fault reporting.
[0102] In a specific implementation, the number of times m the system triggers the first-level temperature anomaly filter is recorded. i When either of the following two conditions is met, the second-level temperature anomaly filter is considered triggered. In this case, the temperature sampling is considered to have failed and is irrecoverable, requiring the most severe fault handling. ① When within the time window t w m within a time i If the time threshold is ≥M, then the second-level temperature anomaly filtering is considered triggered. ② If the duration t of the first-level temperature anomaly filtering is greater than or equal to the second time threshold, then the second-level temperature anomaly filtering is considered triggered.
[0103] In this scheme, the secondary temperature anomaly filtering is a further filtering after a disturbance in the sampled signal occurs. The time-based judgment method is used to determine whether the disturbance is recovered instantly or not for a long time.
[0104] For further details, please refer to Figure 2 , Figure 2 This is a schematic diagram of a temperature sampling and filtering method for a battery management system provided in an embodiment of this application. Figure 2 As shown, the current temperature sampling value of the battery cell is detected to determine whether it triggers a temperature sampling jump. If so, the battery cell after the temperature sampling jump is detected to determine whether it triggers a first-level temperature anomaly filter. If so, the battery cell is detected to determine whether it triggers a second-level temperature anomaly filter. If not, the process ends.
[0105] This application provides a temperature sampling and filtering method for a battery management system. The method includes: acquiring the current temperature sampling value of each cell in the battery management system during a temperature sampling period; detecting whether the current temperature sampling value of the cell triggers a temperature sampling jump; if the temperature sampling jump is not triggered, outputting the current temperature sampling value of the cell; if the temperature sampling jump is triggered, detecting whether the cell triggers a first-level temperature anomaly filter after the temperature sampling jump; if the first-level temperature anomaly filter is triggered, detecting whether the number of times the cell triggers the first-level temperature anomaly filter is greater than a preset number; if it is greater than the preset number, the cell triggers a second-level temperature anomaly filter. When a disturbance occurs in the temperature sampling signal, the abnormal cell can be immediately identified after the detection of temperature sampling jump, first-level temperature anomaly filter, and second-level temperature anomaly filter, eliminating the need for further filtering of the validity of the temperature sampling value and improving the response rate of the battery management system's temperature processing.
[0106] Please see Figure 3 , Figure 3 This is a schematic diagram of the structure of a temperature sampling and filtering device for a battery management system provided in an embodiment of this application. Figure 3 As shown, the temperature sampling filter device 300 includes:
[0107] The sampling module 310 is used to collect the current temperature sampling value of each cell of the battery management system during the temperature sampling period of the battery management system.
[0108] The temperature sampling jump module 320 is used to detect whether the current temperature sampling value of the battery cell triggers a temperature sampling jump. If the temperature sampling jump is not triggered, the current temperature sampling value of the battery cell is output.
[0109] The temperature anomaly filtering module 330 is used to detect whether the battery cell triggers a first-level temperature anomaly filter after the temperature sampling jump is triggered if the temperature sampling jump is triggered. If the first-level temperature anomaly filter is triggered, the module detects whether the number of times the battery cell triggers the first-level temperature anomaly filter is greater than a preset number. If the number of times is greater than the preset number, the battery cell triggers a second-level temperature anomaly filter.
[0110] Furthermore, the temperature sampling transition module 310 determines whether the current temperature sampling value of the battery cell triggers a temperature sampling transition through the following steps:
[0111] Detect whether the difference between the current temperature sample value of the battery cell and the previous temperature sample value of the battery cell is greater than the temperature sampling jump threshold;
[0112] If so, the current temperature sampling value of the battery cell is determined to trigger the temperature sampling jump, and the battery cell's flag is updated to the temperature sampling jump flag and the temperature sampling jump time of the battery cell is recorded.
[0113] If not, it is determined that the current temperature sampling value of the battery cell has not triggered the temperature sampling jump, and the temperature sampling of the battery cell is normal.
[0114] Furthermore, the temperature anomaly filtering module 330 determines whether the cell triggers the first-level temperature anomaly filtering after the temperature sampling jump through the following steps:
[0115] Detect whether the first difference between the temperature sampling jump time of the battery cell and the temperature jump start timing of the battery cell is greater than or equal to a first time threshold.
[0116] If so, the cell that triggered the first-level abnormal temperature filtering after the temperature sampling jump is identified, the cell's flag is updated to the first-level fault flag, and the current temperature sampling value of the cell is processed for fault reporting.
[0117] If not, it is determined that the cell did not trigger the first-level temperature anomaly filter after the temperature sampling jump.
[0118] Furthermore, the temperature anomaly filtering module 330 is also used for:
[0119] Detect whether the second difference between the current temperature sample value of the battery cell and the previous temperature sample value of the battery cell is within the temperature range;
[0120] If so, then the temperature sampling recovery of the battery cell is determined;
[0121] If not, then continue to determine whether the difference between the temperature sampling jump time of the battery cell and the start time of the temperature jump of the battery cell is greater than the first time threshold.
[0122] Furthermore, the temperature anomaly filtering module 330 determines the temperature range through the following steps:
[0123] Determine the average current temperature sample value of the remaining cells;
[0124] Determine the third difference between the average current temperature sample value and the temperature sample value of the battery cell;
[0125] The first value is determined by adding the third difference to the first time threshold and the sampling error value;
[0126] The second value is determined by subtracting the third difference from the first time threshold and the sampling error value;
[0127] The temperature range is constructed based on the first and second values.
[0128] Furthermore, the temperature anomaly filtering module 330 is also used for:
[0129] If the first-level temperature anomaly filter is triggered, it is detected whether the duration of the first-level temperature anomaly filter of the battery cell is greater than or equal to the second time threshold.
[0130] If so, the cell triggers a secondary abnormal temperature filter, updates the cell's flag to a secondary fault flag, and processes the cell's temperature sampling value for fault reporting.
[0131] This application provides a temperature sampling and filtering device for a battery management system. The device includes: a sampling module for acquiring the current temperature sampling value of each cell in the battery management system during the temperature sampling period; a temperature sampling jump module for detecting whether the current temperature sampling value of the cell triggers a temperature sampling jump; if the temperature sampling jump is not triggered, the current temperature sampling value of the cell is output; and a temperature anomaly filtering module for detecting whether the cell triggers a first-level temperature anomaly filter after the temperature sampling jump, and if the first-level temperature anomaly filter is triggered, detecting whether the number of times the cell triggers the first-level temperature anomaly filter is greater than a preset number; if it is greater than the preset number, the cell triggers a second-level temperature anomaly filter. When a disturbance occurs in the temperature sampling signal, the abnormal cell can be immediately identified through the detection of temperature sampling jump, first-level temperature anomaly filter, and second-level temperature anomaly filter, eliminating the need for further filtering of the validity of the temperature sampling value and improving the response rate of the battery management system's temperature processing.
[0132] Please see Figure 4 , Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 4 As shown, the electronic device 400 includes a processor 410, a memory 420, and a bus 430.
[0133] The memory 420 stores machine-readable instructions executable by the processor 410. When the electronic device 400 is running, the processor 410 communicates with the memory 420 via the bus 430. When the machine-readable instructions are executed by the processor 410, they can perform the operations described above. Figure 1 as well as Figure 2 The specific implementation of the temperature sampling and filtering method of the battery management system in the method embodiment shown can be found in the method embodiment, and will not be repeated here.
[0134] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, can perform the above-described actions. Figure 1 as well as Figure 2 The specific implementation of the temperature sampling and filtering method of the battery management system in the method embodiment shown can be found in the method embodiment, and will not be repeated here.
[0135] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0136] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the shown or discussed mutual couplings, direct couplings, or communication connections may be through some communication interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.
[0137] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0138] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0139] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0140] Finally, it should be noted that the above-described embodiments are merely specific implementations of this application, used to illustrate the technical solutions of this application, and not to limit them. The scope of protection of this application is not limited thereto. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this application. Such modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be covered within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A temperature sampling filtering method of a battery management system, characterized in that, The temperature sampling and filtering method includes: The current temperature sampling value of each cell in the battery management system is collected during the temperature sampling period of the battery management system. Detect whether the current temperature sampling value of the battery cell triggers a temperature sampling jump; If the temperature sampling jump is not triggered, the current temperature sampling value of the battery cell is output. If the temperature sampling jump is triggered, it is detected whether the cell triggers the first-level temperature anomaly filter after the temperature sampling jump. If the first-level temperature anomaly filter is triggered, it is detected whether the number of times the cell triggers the first-level temperature anomaly filter is greater than the preset number. If the number of cycles exceeds the preset limit, the cell will trigger a secondary abnormal temperature filter.
2. The temperature sampling filtering method of claim 1, wherein, The following steps determine whether the current temperature sample value of the battery cell triggers a temperature sampling jump: Detect whether the difference between the current temperature sample value of the battery cell and the previous temperature sample value of the battery cell is greater than the temperature sampling jump threshold; If so, the current temperature sampling value of the battery cell is determined to trigger the temperature sampling jump, and the battery cell's flag is updated to the temperature sampling jump flag and the temperature sampling jump time of the battery cell is recorded. If not, it is determined that the current temperature sampling value of the battery cell has not triggered the temperature sampling jump, and the temperature sampling of the battery cell is normal.
3. The temperature sampling filtering method of claim 1, wherein, The following steps are used to determine whether the battery cell triggers the first-level temperature anomaly filter after the temperature sampling jump: Detect whether the first difference between the temperature sampling jump time of the battery cell and the temperature jump start timing of the battery cell is greater than or equal to a first time threshold. If so, the cell that triggered the first-level abnormal temperature filtering after the temperature sampling jump is identified, the cell's flag is updated to the first-level fault flag, and the current temperature sampling value of the cell is processed for fault reporting. If not, it is determined that the cell did not trigger the first-level temperature anomaly filter after the temperature sampling jump.
4. The temperature sampling filtering method of claim 3, wherein, After the cell does not trigger the first-level temperature anomaly filter following the temperature sampling jump, the temperature sampling filtering method further includes: Detect whether the second difference between the current temperature sample value of the battery cell and the previous temperature sample value of the battery cell is within the temperature range; If so, then the temperature sampling recovery of the battery cell is determined; If not, then continue to determine whether the difference between the temperature sampling jump time of the battery cell and the start time of the temperature jump of the battery cell is greater than the first time threshold.
5. The temperature sampling filtering method of claim 4, wherein, The temperature range is determined by the following steps: Determine the average current temperature sample value of the remaining cells; Determine the third difference between the average current temperature sample value and the temperature sample value of the battery cell; The first value is determined by adding the third difference to the first time threshold and the sampling error value; The second value is determined by subtracting the third difference from the first time threshold and the sampling error value; The temperature range is constructed based on the first and second values.
6. The temperature sampling filtering method of claim 1, wherein, After detecting whether the cell triggers the first-level temperature anomaly filter after a temperature sampling jump, the temperature sampling filtering method further includes: If the first-level temperature anomaly filter is triggered, it is detected whether the duration of the first-level temperature anomaly filter of the battery cell is greater than or equal to the second time threshold. If so, the cell triggers a secondary abnormal temperature filter, updates the cell's flag to a secondary fault flag, and processes the cell's temperature sampling value for fault reporting.
7. A temperature sampling filter device of a battery management system, characterized by, The temperature sampling and filtering device includes: The sampling module is used to collect the current temperature sampling value of each cell of the battery management system during the temperature sampling period of the battery management system. The temperature sampling jump module is used to detect whether the current temperature sampling value of the battery cell triggers a temperature sampling jump. If the temperature sampling jump is not triggered, the current temperature sampling value of the battery cell is output. The temperature anomaly filtering module is used to detect whether the battery cell triggers a first-level temperature anomaly filter after the temperature sampling jump if the temperature sampling jump is triggered. If the first-level temperature anomaly filter is triggered, the module detects whether the number of times the battery cell triggers the first-level temperature anomaly filter is greater than a preset number. If the number of times is greater than the preset number, the battery cell triggers a second-level temperature anomaly filter.
8. The temperature sampling filter device of claim 7, wherein, The temperature sampling transition module determines whether the current temperature sampling value of the battery cell triggers a temperature sampling transition through the following steps: Detect whether the difference between the current temperature sample value of the battery cell and the previous temperature sample value of the battery cell is greater than the temperature sampling jump threshold; If so, the current temperature sampling value of the battery cell is determined to trigger the temperature sampling jump, and the battery cell's flag is updated to the temperature sampling jump flag and the temperature sampling jump time of the battery cell is recorded. If not, it is determined that the current temperature sampling value of the battery cell has not triggered the temperature sampling jump, and the temperature sampling of the battery cell is normal.
9. An electronic device, comprising: include: The device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. The machine-readable instructions are executed by the processor to perform the steps of the temperature sampling and filtering method of the battery management system as described in any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the temperature sampling and filtering method for the battery management system as described in any one of claims 1 to 6.