Detection method and device, electronic equipment and readable storage medium
By comparing the deviation of battery charge in real time in the battery management system and judging the abnormality level based on the preset interval, the problem of battery state of charge estimation error is solved, and the accuracy and safety of the estimation are improved.
Patent Information
- Application Number
- CN202510299233.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-13
- Publication Date
- 2025-06-20
AI Technical Summary
The battery management system may have large errors when estimating the battery state of charge. If the estimation error of the SOC is not detected in time, it may increase the risk of electronic equipment failure during operation.
By determining the first charge amount of the battery pack at the current detection time and the second charge amount of the adjacent previous detection time, and calculating the deviation between the two, it is determined whether the deviation is in the preset deviation range. If so, the estimated abnormality level of the charge amount of the battery pack is determined based on the estimated abnormality level corresponding to the interval in which the deviation is located.
Real-time detection of charge estimation errors is achieved, the accuracy of charge estimation is improved, errors are discovered in a timely manner, errors are avoided, and error accumulation is reduced, and the risk of failures during the operation of electronic equipment is reduced.
Smart Images

Figure CN120178071A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and more specifically, to a detection method, apparatus, electronic device, and readable storage medium in the field of computer technology. Background Art
[0002] The Battery Management System (BMS) plays a crucial role in many fields of electronic devices. One of its core functions is to estimate the State of Charge (SOC) of the battery in the electronic device.
[0003] However, due to factors such as the complex electrochemical characteristics inside the battery and external environmental factors, there may be a large error in the BMS when estimating the SOC. If the electronic device fails to detect the estimation error of the SOC in time, it may increase the risk of failures during the operation of the electronic device. Therefore, there is an urgent need for a detection method that can detect whether the estimation of the battery charge of the electronic device is abnormal. Summary of the Invention
[0004] This application provides a detection method, apparatus, electronic device, and readable storage medium, and this method can improve the safety of heavy vehicle braking.
[0005] In a first aspect, a detection method is provided, and the method includes:
[0006] Determine the first charge amount of the battery pack at the current detection moment and the second charge amount at the adjacent previous detection moment; the time interval between the previous detection moment and the current detection moment is less than the first preset time length;
[0007] Determine the deviation between the first charge amount and the second charge amount;
[0008] Determine whether the deviation is within one of at least one preset deviation interval;
[0009] If so, determine the estimation abnormal level of the charge amount of the battery pack according to the estimation abnormal level corresponding to the first pre-deviation interval where the deviation is located.
[0010] In the embodiments of the present application, by determining the first state of charge of the battery pack at the current detection moment and the second state of charge at the previous adjacent detection moment, and calculating the deviation therebetween, the state of charge estimation error can be determined in real time, effectively improving the accuracy of the state of charge estimation. Further, the time interval between the previous detection moment and the current detection moment is less than the first preset time length, which is beneficial to ensuring the timeliness of detection, and the error can be detected in time at the early stage of error generation, avoiding error accumulation. In addition, by determining whether the deviation is within a preset deviation interval and determining the corresponding estimation anomaly level, it is beneficial to make a more accurate and detailed judgment on the state of charge estimation anomaly, thereby reducing the risk of failure during the operation of the electronic device.
[0011] In combination with the first aspect, in some possible implementation manners, the battery pack includes a plurality of single cells. Determining the first state of charge of the battery pack at the current detection moment and the second state of charge at the previous adjacent detection moment includes:
[0012] Determine a target single cell from the plurality of single cells; the target single cell is the single cell with the largest state of charge among the plurality of single cells at the current detection moment;
[0013] Determine the first state of charge of the target single cell at the current detection moment and the second state of charge of the target single cell at the previous detection moment.
[0014] In the embodiments of the present application, the single cell with the largest state of charge is selected as the target single cell. To a certain extent, the single cell with the largest state of charge can more representatively reflect the change trend of the overall power of the battery pack. Without affecting the detection accuracy, the data processing amount is greatly reduced, the detection efficiency is improved, and then the abnormal situation of the battery pack power can be monitored and analyzed more efficiently and accurately.
[0015] In combination with the first aspect, in some possible implementation manners, before determining whether the deviation is within one of at least one preset deviation interval, the method further includes:
[0016] Obtain the ambient temperature of the battery pack;
[0017] If the temperature deviation between the ambient temperature and the preset temperature is greater than the preset deviation, correct the upper limit and / or the lower limit of the second preset deviation interval; wherein, the second preset deviation interval is the preset deviation interval corresponding to the preset temperature among the at least one preset deviation interval.
[0018] In the embodiments of the present application, under extreme temperature conditions, the performance of the battery may significantly decline. The battery management system can better predict the state of charge of the battery under different temperature environmental conditions and more accurately estimate the state of charge of the battery by obtaining the ambient temperature in real time and adjusting the preset deviation range according to the deviation between the ambient temperature and the preset temperature, thereby improving the estimation accuracy of the battery management system.
[0019] In combination with the first aspect, in some possible implementation manners, correcting the upper limit and / or the lower limit of the second preset deviation range includes:
[0020] Determining a correction coefficient corresponding to the temperature deviation;
[0021] Based on the correction coefficient, correcting the upper limit and / or the lower limit of the second preset deviation range.
[0022] In the embodiments of the present application, by dynamically adjusting the deviation range according to the temperature deviation and the correction coefficient, the corrected deviation range can provide more accurate power warning information for users, can better adapt to the battery performance changes under different ambient temperatures, is beneficial for users to plan the battery usage time, and avoids sudden shutdown or abnormal use of the device caused by power exhaustion.
[0023] In combination with the first aspect, in some possible implementation manners, before determining the first state of charge of the battery pack at the current detection moment and the second state of charge of the adjacent previous detection moment, the method further includes:
[0024] Determining the load of the battery pack at the current detection moment, and / or determining the charge and discharge frequency of the battery pack within a second preset duration before the current detection moment;
[0025] Determining a first preset duration according to the load and / or the charge and discharge frequency.
[0026] In the embodiments of the present application, by considering the load and the charge and discharge frequency, the battery management system can adjust the frequency of state of charge detection. When the load is high or the charge and discharge are frequent, shortening the first preset duration can ensure more timely acquisition of battery state information and avoid sudden shutdown of the device caused by sudden power drop. When the load is low or the charge and discharge are not frequent, extending the first preset duration can reduce unnecessary detection operations, save system resources and power. By dynamically adjusting the detection interval, the battery management system can ensure accurate estimation of the battery state of charge in various environments and improve the adaptability and stability of the system.
[0027] In combination with the first aspect, in some possible implementation manners, determining the first preset duration according to the load and / or the charge and discharge frequency includes:
[0028] When the load is greater than the first preset load, determining whether the charge and discharge frequency is greater than the first preset frequency;
[0029] If the charge and discharge frequency is greater than the first preset frequency, reduce the initial preset duration by the first amplitude to obtain the first preset duration.
[0030] In the embodiments of the present application, by monitoring the load and charge and discharge frequency of the battery pack in real time, and reducing the initial preset duration when the load is greater than the first preset load and the charge and discharge frequency is greater than the first preset frequency, by reducing the initial preset duration by the first amplitude, the state of charge of the battery can be detected more frequently, quickly capturing the rapid change of the battery power, avoiding the accumulation of estimation errors caused by too long detection intervals, and thus making the state of charge estimation more accurate.
[0031] In combination with the first aspect, in some possible implementation manners, determining the first preset duration according to the load and / or charge and discharge frequency includes:
[0032] When the load is less than the second preset load, determine whether the charge and discharge frequency is less than the second preset frequency;
[0033] If the charge and discharge frequency is less than the second preset frequency, increase the initial preset duration by the second amplitude to obtain the first preset duration.
[0034] In the embodiments of the present application, by monitoring the load and charge and discharge frequency of the battery pack in real time, and when the load is less than the second preset load and the charge and discharge frequency is less than the second preset frequency, it indicates that the load and charge and discharge frequency are relatively low, the state of the battery is relatively stable, and the battery power changes relatively slowly. By increasing the initial preset duration, the number of times the battery management system performs state of charge detection can be reduced, thereby reducing the computational load of the battery management system, reducing unnecessary detection operations, and thus saving system resources and battery power.
[0035] In combination with the first aspect, in some possible implementation manners, before determining whether the deviation is within one of at least one preset deviation interval, the method further includes:
[0036] Determine a set of at least one preset deviation interval corresponding to the battery type of the battery pack from multiple sets of at least one preset deviation interval.
[0037] In the embodiments of the present application, considering that different types of batteries have different requirements for charge and discharge depth, charging rate, etc. After the battery management system selects a suitable preset deviation interval according to the battery type, it can more accurately determine whether there is an abnormality in the state of charge estimation of the battery.
[0038] In a second aspect, a detection device is provided, and the device includes:
[0039] The first determination module is configured to determine the first state of charge of the battery pack at the current detection moment and the second state of charge at the previous adjacent detection moment; the time interval between the previous detection moment and the current detection moment is less than the first preset time duration;
[0040] The second determination module is configured to determine the deviation between the first state of charge and the second state of charge;
[0041] The third determination module is configured to determine whether the deviation is within one of at least one preset deviation interval;
[0042] The fourth determination module is configured to, if so, determine the estimation anomaly level of the state of charge of the battery pack according to the estimation anomaly level corresponding to the first pre-deviation interval in which the deviation is located.
[0043] In a third aspect, an electronic device is provided, including a memory for storing executable program code;
[0044] A processor is configured to call and run the executable program code from the memory, so that the electronic device executes the method in any possible implementation manner of the first aspect above.
[0045] In a fourth aspect, an executable program code product is provided, which includes: executable program code, when the executable program code runs on an electronic device, the electronic device is caused to execute the method in any possible implementation manner of the first aspect above.
[0046] In a fifth aspect, a readable storage medium is provided, which stores executable program code, and when the executable program code runs on an electronic device, the electronic device is caused to execute the method in any possible implementation manner of the first aspect above. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 is a flowchart of the steps of a detection method provided by an embodiment of the present application;
[0048] Figure 2 is a flowchart of the steps of a detection method provided by an embodiment of the present application;
[0049] Figure 3 is a schematic structural diagram of a detection device provided by an embodiment of the present application;
[0050] Figure 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0051] The technical solutions in the present application will be clearly and elaborately described below in conjunction with the accompanying drawings. Among them, in the description of the embodiments of the present application, unless otherwise specified, " / " means "or". For example, A / B may mean A or B. The "and / or" in the text is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two.
[0052] Hereinafter, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as implying or suggesting relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features.
[0053] The Battery Management System (BMS) plays a crucial role in many fields of electronic devices. One of its core functions is to estimate the State of Charge (SOC) of the battery in the electronic device.
[0054] However, due to factors such as the complex electrochemical characteristics inside the battery and external environmental factors, there may be significant errors in the BMS when estimating the SOC. If the electronic device fails to detect the estimation error of the SOC in a timely manner, it may increase the risk of failures occurring during the operation of the electronic device.
[0055] Taking an electric vehicle as an example, accurately estimating the state of charge of the battery is very important for the safe and stable operation of the electric vehicle, efficient energy management, and effective extension of the battery life. However, during the actual operation of the electric vehicle, due to the extremely complex electrochemical characteristics inside the battery and the comprehensive influence of many external environmental factors such as large fluctuations in temperature and uncertain changes in humidity, it is often inevitable that there are significant errors in the BMS's estimation of the SOC. If the BMS fails to detect the error of the SOC in a timely manner, it may cause the battery pack to continue working in a low battery state without the driver's knowledge. This will not only greatly increase the risk of the vehicle suddenly losing power and breaking down during driving, seriously endangering driving safety, but also may cause congestion on the traffic road due to the sudden stop of the vehicle, interfering with the normal traffic order.
[0056] In addition, unreasonable charging and discharging in a low battery state for a long time will accelerate the aging process of the battery, significantly shorten the overall service life of the battery, and thus greatly increase the user's usage cost. Moreover, for a battery pack composed of multiple battery cells, once a single battery has a power failure and is not detected and processed in time, its adverse effects will gradually spread to the entire battery pack, resulting in poor consistency of the battery pack and ultimately seriously damaging the overall performance of the electric vehicle.
[0057] To solve the above technical problems, an embodiment of the present application provides a detection method. This method can be applied to an electronic device equipped with a battery management system and can be executed by the Battery Management System (BMS) in the electronic device. In this method, the battery management system determines the first state of charge of the battery pack at the current detection moment and the second state of charge at the adjacent previous detection moment; and determines the deviation between the first state of charge and the second state of charge; determines whether the deviation is within one of at least one preset deviation interval; if the deviation is within one of at least one preset deviation interval, then the battery management system determines the estimated abnormal level of the state of charge of the battery pack according to the estimated abnormal level corresponding to the first preset deviation interval where the deviation is located. In this way, by determining the first state of charge of the battery pack at the current detection moment and the second state of charge at the adjacent previous detection moment and calculating the deviation between the two, the estimated error of the state of charge can be determined in real time, effectively improving the accuracy of the state of charge estimation.
[0058] Furthermore, the interval duration between the previous detection moment and the current detection moment is less than the first preset duration, which is beneficial to ensuring the timeliness of detection, can be detected in time at the early stage of error generation, and avoid error accumulation. In addition, by judging whether the deviation is within the preset deviation interval and determining the corresponding estimated abnormal level, it is beneficial to make the judgment of the estimated abnormal state of charge more accurate and detailed, thereby reducing the risk of failure during the operation of the electronic device.
[0059] See Figure 1 , Figure 1 is a step flowchart of a detection method provided by an embodiment of the present application. The execution subject of this method can be the battery management system in the electronic device. As Figure 1 shown, this method may include the following steps.
[0060] Step 101, determine the first state of charge of the battery pack at the current detection moment and the second state of charge at the adjacent previous detection moment.
[0061] Among them, the time interval between the previous detection moment and the current detection moment is less than the first preset duration; specifically, in order to ensure that the battery management system can reflect the state of charge of the battery in real time or near real time, the first preset duration can be set to a relatively short time interval to update the state of charge data frequently. Further, the first preset duration is related to factors such as the battery type, battery capacity, and battery temperature of the battery pack, that is, the first preset duration can be adjusted according to factors such as the type and capacity of the battery to ensure that the estimated state of charge is consistent with the actual state of the battery, and no limitation is made thereto.
[0062] A battery pack refers to a power supply system that combines multiple single cells in series or parallel to form a power supply system that can provide greater electrical energy or voltage. In fields such as electric vehicles and energy storage systems, the battery pack is one of the core components and is responsible for storing and providing energy.
[0063] The state of charge can also be referred to as the remaining charge or charge state of the battery, which is the ability of the battery to store energy, usually expressed as a percentage, and reflects the proportion of the battery's charge level relative to its total capacity. The magnitude of the state of charge determines the time for which the battery can provide power and the stability of the power output, and also directly affects the service life and performance of the battery.
[0064] The state of charge can be estimated through the battery management system. Exemplarily, the estimation methods of the state of charge can include but are not limited to the open circuit voltage method, Coulomb counting method, and dynamic voltage algorithm, etc. In the battery management system, multiple methods are usually combined to estimate the state of charge to improve the accuracy and reliability of the estimation. For example, the open circuit voltage method can be first used for preliminary estimation, and then the Coulomb counting method can be used for real-time update and correction. At the same time, a model-based method can also be introduced to conduct a more in-depth analysis and prediction of the internal state of the battery to improve the accuracy and reliability of the estimation.
[0065] In this embodiment, during the operation of the electronic device, the battery management system can estimate the charge amount at each moment through the open circuit voltage method and record the charge amount and the time stamp corresponding to the charge amount in the server. After the battery management system determines the first state of charge of the battery pack at the current detection moment, it determines the adjacent previous detection moment according to the first preset duration, and obtains the second state of charge from the server according to the previous detection moment.
[0066] Exemplarily, taking an electric vehicle as an example, during the operation of the vehicle, the battery management system measures the open-circuit voltage of the battery pack every 10 minutes (i.e., the time interval is 10 minutes), determines the state of charge of the battery pack at each moment according to the mapping table of the open-circuit voltage and the state of charge, and records the state of charge and the corresponding timestamp in the server. For example, timestamp: 10:00, state of charge: 80%; timestamp: 10:10, state of charge: 78%; timestamp: 10:20, state of charge: 74%. After that, assuming the current detection moment is 10:30 and the first preset duration is set to 10 minutes. The battery management system determines that the first state of charge at the current moment 10:30 is 72% by the open-circuit voltage method. According to the first preset duration of 10 minutes, the adjacent previous detection moment is determined to be 10:20, and the second state of charge corresponding to the timestamp at the previous detection moment 10:20 is obtained from the server as 74%.
[0067] Step 102, determine the deviation between the first state of charge and the second state of charge.
[0068] Step 103, determine whether the deviation is within one of at least one preset deviation interval.
[0069] Step 104, if so, determine the estimated anomaly level of the state of charge of the battery pack according to the estimated anomaly level corresponding to the first preset deviation interval where the deviation is located.
[0070] Among them, the preset deviation interval can be at least one preset deviation interval pre-set by R & D personnel during the R & D stage. Exemplarily, the preset deviation interval can be expressed in percentage. For example, the total state of charge of the battery pack is 6000 milliampere-hours (mAh), and the preset deviation interval is 0% - 1%, which means the state of charge deviation interval corresponding to the preset deviation interval is 0 mAh - 60 mAh. Another exemplarily, the preset deviation interval can be directly expressed by the state of charge deviation interval. For example, the first preset deviation interval is 0 mAh - 60 mAh, the second preset deviation interval is 61 mAh - 300 mAh, and the third preset deviation interval is 301 mAh - 500 mAh. Further, each preset deviation interval corresponds to a different estimated anomaly level. The first preset deviation interval corresponds to the first anomaly level (mild anomaly); the second preset deviation interval corresponds to the second anomaly level (moderate anomaly); the third preset deviation interval corresponds to the third anomaly level (severe anomaly).
[0071] Exemplarily, for different abnormal levels, different countermeasures can indeed be set to optimize the performance and safety of the battery management system. For the first abnormal level, the battery management system can record this mild abnormal event and continuously monitor the performance of the battery pack to observe whether there is a deteriorating trend. Further, the battery management system can issue a mild warning to the user through the interface of the electronic device, indicating that there may be a slight fluctuation in the battery performance, and analyze the log file to find the possible causes of the mild abnormality, such as slight environmental temperature changes or signs of battery aging.
[0072] For the second abnormal level, the battery management system can increase the monitoring frequency of the battery pack, pay attention to the deviation of the state-of-charge estimation in real time, and can adaptively adjust the charging current or voltage to slow down the battery aging speed or optimize the charging efficiency, and issue a more obvious warning to the user, indicating that the battery performance may be affected, and it is recommended to check or maintain the battery as soon as possible. Restrict the use of the electronic device under specific conditions (such as high temperature or low temperature environment) to protect the battery from further damage.
[0073] For the third abnormal level, the battery management system controls the battery pack to enter the emergency protection state, and the emergency protection state can include but is not limited to stopping power supply to non-critical electrical devices, reducing the charge and discharge rate of the battery pack, and sending an abnormal power alarm to the remote monitoring system. Exemplarily, the battery management system can issue an emergency warning to the user through the interface and sound of the electronic device, indicating that the battery performance is severely damaged and there may be a safety hazard. It is recommended that the user immediately stop using the electronic device and seek professional repair services. If there are serious safety hazards in the battery pack, such as overheating, swelling, etc., the battery pack should be immediately removed from the electronic device and placed in a safe place.
[0074] The estimation abnormal level refers to a level division used to evaluate the degree to which the state-of-charge estimation result of the battery pack deviates from the normal or expected range. Each preset deviation interval corresponds to an estimation abnormal level, that is, according to the size of the deviation, the deviation can be divided into different levels. For example, if the preset deviation interval is 0% - 5%, the estimation abnormal level is no abnormality; if the preset deviation interval is 5% - 10%, the estimation abnormal level is mild abnormality; if the preset deviation interval is 10% - 20%, the estimation abnormal level is moderate abnormality; if the preset deviation interval is above 20%, the estimation abnormal level is severe abnormality.
[0075] In this embodiment, during the operation of the electronic device, after the battery management system determines the first state of charge of the battery pack at the current detection moment and the second state of charge at the adjacent previous detection moment, it can calculate the absolute value of the difference between the first state of charge and the second state of charge, and determine whether the absolute value of the difference is within one of at least one preset deviation interval. If the deviation is within the first preset deviation interval, the estimation anomaly level of the state of charge of the battery pack is determined according to the estimation anomaly level corresponding to the first preset deviation interval where the deviation is located.
[0076] Exemplarily, taking an electric vehicle as an example, developers have pre-set three preset deviation intervals. The first preset deviation interval is 0% - 5%, the second preset deviation interval is 5% - 10%, and the third preset deviation interval is more than 20%. Further, each preset deviation interval corresponds to a different estimation anomaly level. The first preset deviation interval corresponds to the first anomaly level (mild anomaly); the second preset deviation interval corresponds to the second anomaly level (moderate anomaly); the third preset deviation interval corresponds to the third anomaly level (severe anomaly). During the operation of the electric vehicle, after the battery management system estimates that the first state of charge of the battery pack at the current detection moment is 72% and the second state of charge at the adjacent previous detection moment is 80% through the open-circuit voltage method, it calculates that the absolute value of the difference between the first state of charge and the second state of charge is 8%, and determines that the absolute value of the difference between the first state of charge and the second state of charge is within the first preset deviation interval. After that, the battery management system can determine that the estimation anomaly level of the state of charge of the battery pack is the first anomaly level (mild anomaly) according to the first preset deviation interval.
[0077] In the embodiment of the present application, the battery management system determines the first state of charge of the battery pack at the current detection moment and the second state of charge at the adjacent previous detection moment; and determines whether the deviation between the first state of charge and the second state of charge is within one of at least one preset deviation interval; if so, the estimation anomaly level of the state of charge of the battery pack is determined according to the estimation anomaly level corresponding to the first preset deviation interval where the deviation is located. In this way, by determining the first state of charge of the battery pack at the current detection moment and the second state of charge at the adjacent previous detection moment, and calculating the deviation between the two, the present application can determine the state of charge estimation error in real time, effectively improving the accuracy of the state of charge estimation.
[0078] Further, the time interval between the previous detection moment and the current detection moment is less than the first preset time length, which is beneficial to ensuring the timeliness of detection, and can be detected in time at the early stage of error generation to avoid error accumulation. In addition, by determining whether the deviation is within the preset deviation interval and determining the corresponding estimation anomaly level, it is beneficial to make the judgment of the state of charge estimation anomaly more accurate and detailed, thereby reducing the risk of failures during the operation of the electronic device.
[0079] Optionally, the battery pack includes a plurality of single cells. Determining the first state of charge of the battery pack at the current detection moment and the second state of charge at the adjacent previous detection moment includes:
[0080] Determine a target single cell from the plurality of single cells; the target single cell is the single cell with the largest state of charge among the plurality of single cells at the current detection moment;
[0081] Determine the first state of charge of the target single cell at the current detection moment and the second state of charge of the target single cell at the previous detection moment.
[0082] Wherein, a single cell is the basic unit constituting the battery pack, and each single cell can independently store and release electrical energy.
[0083] In this embodiment, the battery management system can estimate the charge amount of each single cell in the battery pack at each moment by the open circuit voltage method, and record the charge amount of each single cell and the time stamp corresponding to the charge amount in the server. After the battery management system determines the state of charge of each single cell in the battery pack at the current detection moment, it determines the single cell with the largest state of charge at the current detection moment as the target single cell from the plurality of single cells, and determines the state of charge of the target single cell as the first state of charge. Then, the battery management system can determine the adjacent previous detection moment according to the first preset duration, and obtain the second state of charge corresponding to the target single cell from the server according to the previous detection moment.
[0084] Exemplarily, taking an electric vehicle as an example, during the running of the vehicle, the battery management system measures the open circuit voltage of each single cell in the battery pack every 10 minutes (i.e., the time interval is 10 minutes), and determines the charge amount of each single cell at each moment according to the mapping table of the open circuit voltage and the state of charge, and records the charge amount and the corresponding time stamp in the server. For example, the battery pack includes single cell A, single cell B, single cell C, and single cell D. At the detection moment with the time stamp of 10:00, the battery management system estimates that the state of charge of single cell A is 80%; the state of charge of single cell B is 75%; the state of charge of single cell C is 82%; the state of charge of single cell D is 78%. Then, the battery management system determines that single cell C with the largest state of charge at the current detection moment is the target single cell, and marks the charge amount 82% of single cell C as the first state of charge. The first preset duration is set to 10 minutes. The battery management system determines the adjacent previous detection moment as 10:20 according to the first preset duration of 10 minutes, and obtains the second state of charge of single cell C corresponding to the time stamp from the server according to the time stamp of the previous detection moment of 10:20 as 88%.
[0085] In the embodiments of the present application, a battery pack includes a plurality of single cells, and the battery management system can determine a target single cell from the plurality of single cells. The target single cell is the single cell with the largest charge amount among the plurality of single cells at the current detection moment. Then, the first charge amount of the target single cell at the current detection moment and the second charge amount of the target single cell at the previous detection moment are determined. In the present application, the single cell with the largest charge amount is selected as the target single cell. To a certain extent, the single cell with the largest charge amount can more representatively reflect the change trend of the overall power of the battery pack. Without affecting the detection accuracy, the amount of data processing is greatly reduced, the detection efficiency is improved, and thus the abnormal power situation of the battery pack can be monitored and analyzed more efficiently and accurately.
[0086] Optionally, before determining whether the deviation is within one of at least one preset deviation interval, the method further includes:
[0087] Obtain the ambient temperature of the battery pack;
[0088] If the temperature deviation between the ambient temperature and the preset temperature is greater than the preset deviation, correct the upper limit and / or the lower limit of the second preset deviation interval; wherein, the second preset deviation interval is the preset deviation interval corresponding to the preset temperature among the at least one preset deviation interval.
[0089] Wherein, the ambient temperature of the battery pack refers to the actual temperature of the environment around the battery pack.
[0090] For multiple preset deviation intervals, each deviation interval corresponds to a preset temperature. For example, when the preset temperature is 0 - 20 °C, the preset deviation interval is 5% - 10%; when the preset temperature is 20 - 40 °C, the preset deviation interval is 10% - 20%; when the preset temperature is 40 °C, the preset deviation interval is more than 20%.
[0091] In one implementation, during the operation of the electronic device, the battery management system can determine the second preset deviation interval from at least one preset deviation interval according to the preset temperature, obtain the actual ambient temperature of the battery pack in the electronic device through a temperature sensor, calculate the temperature deviation between the actual ambient temperature and the preset temperature, and compare the temperature deviation with the preset deviation. If the temperature deviation is greater than the preset deviation, obtain the preset correction coefficient, and multiply both the upper limit and the lower limit of the second preset deviation interval by the preset correction coefficient to obtain the corrected second preset deviation interval.
[0092] It should be noted that the preset correction coefficient can be different correction coefficients pre-set by developers according to different temperature deviations, and this is not limited herein.
[0093] Exemplarily, taking an electric vehicle as an example, assume that the preset temperature is 30°C and the preset deviation is 5°C. The battery management system can determine, according to the preset temperature, that the second preset deviation interval corresponding to the deviation interval of 10% - 20% is from at least one preset deviation interval. Then, the actual ambient temperature at which the battery pack in the electronic device is located is obtained through a temperature sensor as 50°C, and the temperature deviation between the actual ambient temperature of 50°C and the preset temperature of 30°C is calculated as 20°C. By comparing the temperature deviation of 20°C with the preset deviation of 5°C, it is determined that the temperature deviation is greater than the preset deviation. Then, according to the mapping relationship between the temperature deviation of 20°C and the preset correction coefficient, the preset correction coefficient is determined to be 1.2. Both the upper and lower limits of the second preset deviation interval are multiplied by the preset correction coefficient of 1.2, and the corrected second preset deviation interval is obtained as 12% - 24%.
[0094] In another implementation manner, during the operation of the electronic device, the battery management system can obtain the actual ambient temperature at which the battery pack in the electronic device is located through a temperature sensor, calculate the temperature deviation between the actual ambient temperature and the preset temperature, and compare the temperature deviation with the preset deviation. If the temperature deviation is greater than the preset deviation, the preset correction coefficient corresponding to the temperature deviation is determined, and both the upper and lower limits of each preset deviation interval among multiple preset deviation intervals are multiplied by the preset correction coefficient to obtain the corrected multiple preset deviation intervals.
[0095] Exemplarily, taking an electric vehicle as an example, assume that the preset temperature is 30°C and the preset deviation is 5°C. The battery management system can obtain the actual ambient temperature at which the battery pack in the electronic device is located through a temperature sensor as 50°C, and calculate the temperature deviation between the actual ambient temperature of 50°C and the preset temperature of 30°C as 20°C. By comparing the temperature deviation of 20°C with the preset deviation of 5°C, it is determined that the temperature deviation is greater than the preset deviation. Then, according to the mapping relationship between the temperature deviation of 20°C and the preset correction coefficient, the preset correction coefficient is determined to be 1.2. Both the upper and lower limits of the first preset deviation interval of 5% - 10% are multiplied by the preset correction coefficient of 1.2, and the corrected first preset deviation interval is obtained as 6% - 12%; both the upper and lower limits of the second preset deviation interval of 10% - 20% are multiplied by the preset correction coefficient of 1.2, and the corrected second preset deviation interval is obtained as 12% - 24%; and both the upper and lower limits of the third preset deviation interval of 20% - 30% are multiplied by the preset correction coefficient of 1.2, and the corrected third preset deviation interval is obtained as 24% - 36%.
[0096] In the embodiments of the present application, the ambient temperature of the battery pack is obtained; if the temperature deviation between the ambient temperature and the preset temperature is greater than the preset deviation, the upper limit and / or the lower limit of the second preset deviation interval are corrected; wherein, the second preset deviation interval is the preset deviation interval corresponding to the preset temperature among at least one preset deviation interval. Under extreme temperature conditions, the performance of the battery may significantly decline. By obtaining the ambient temperature in real time and adjusting the preset deviation interval according to the deviation between the ambient temperature and the preset temperature, the battery management system can better predict the state of charge of the battery under different temperature environmental conditions, more accurately estimate the state of charge of the battery, and thus improve the estimation accuracy of the battery management system.
[0097] Optionally, correcting the upper limit and / or the lower limit of the second preset deviation interval includes:
[0098] Determining a correction coefficient corresponding to the temperature deviation;
[0099] Correcting the upper limit and / or the lower limit of the second preset deviation interval based on the correction coefficient.
[0100] Wherein, the correction coefficient refers to the coefficient for correcting the upper limit and / or the lower limit of the second preset deviation interval. The correction coefficient can be determined based on the temperature deviation between the ambient temperature and the preset temperature.
[0101] In this embodiment, after the battery management system determines the temperature deviation between the ambient temperature and the preset temperature, it can determine the correction coefficient corresponding to the temperature deviation through a mapping relation table or a functional relation, and multiply both the upper limit and the lower limit of the second preset deviation interval by the preset correction coefficient to obtain the corrected second preset deviation interval.
[0102] Exemplarily, assume that the preset temperature is 30 °C and the preset deviation is 5 °C. The battery management system can determine the second preset deviation interval as the deviation interval corresponding to 10% - 20% from at least one preset deviation interval according to the preset temperature. Then, the actual ambient temperature of the battery pack in the electronic device is obtained through a temperature sensor as 50 °C, and the temperature deviation between the actual ambient temperature of 50 °C and the preset temperature of 30 °C is calculated as 20 °C. By comparing the temperature deviation of 20 °C with the preset deviation of 5 °C, it is determined that the temperature deviation is greater than the preset deviation. Then, according to the mapping relation between the temperature deviation of 20 °C and the preset correction coefficient, the preset correction coefficient is determined as 1.2. Both the upper limit and the lower limit of the second preset deviation interval are multiplied by the preset correction coefficient of 1.2 to obtain the corrected second preset deviation interval of 12% - 24%.
[0103] In the embodiments of the present application, the battery management system may determine a correction factor corresponding to the temperature deviation; and correct the upper limit and / or the lower limit of the second preset deviation range based on the correction factor. In this way, by dynamically adjusting the deviation range according to the temperature deviation and the correction factor, the corrected deviation range can provide more accurate power warning information for the user, better adapt to the battery performance changes under different ambient temperatures, facilitate the user to plan the battery usage time, and avoid sudden shutdown or abnormal use of the device caused by power exhaustion.
[0104] Optionally, before determining the first state of charge of the battery pack at the current detection moment and the second state of charge of the adjacent previous detection moment, the method further includes:
[0105] Determining the load of the battery pack at the current detection moment, and / or determining the charge and discharge frequency of the battery pack within a second preset duration before the current detection moment;
[0106] Determining a first preset duration according to the load and / or the charge and discharge frequency.
[0107] Wherein, the load at the current detection moment refers to the real-time output power or current value of the battery pack at the current detection moment, which reflects the power demand situation of the device or system that the battery pack is supplying power to at the current detection moment; for example, if the battery pack is powering a high-power-consuming device, its load will be relatively high; on the contrary, if the device is in standby or low-power state, the load of the battery pack will be relatively low.
[0108] The charge and discharge frequency refers to the number of charge and discharge operations of the battery pack within a certain time range (such as within the second preset duration). This frequency reflects the usage frequency and activity of the battery pack. For example, if the battery pack performs charge and discharge operations frequently within a short period of time, its charge and discharge frequency will be relatively high; on the contrary, if the battery pack is in a static state for a long time, its charge and discharge frequency will be relatively low.
[0109] The first preset duration refers to the interval duration between the current detection moment and the previous detection moment.
[0110] It should be noted that the load is inversely proportional to the first preset duration; the charge and discharge frequency is inversely proportional to the first preset duration.
[0111] In this embodiment, during the operation of the electronic device, before the battery management system determines the first state of charge of the battery pack at the current detection moment and the second state of charge of the adjacent previous detection moment, it may determine the load of the battery pack at the current detection moment and the charge and discharge frequency of the battery pack within the second preset duration before the current detection moment. Then, the battery management system determines the first preset duration between the current detection moment and the previous detection moment according to the load and the charge and discharge frequency.
[0112] Exemplarily, taking an electric vehicle as an example, during the operation of the electric vehicle, the battery management system continuously monitors various state parameters of the battery pack. For example, the current detection time is 14:00. Before determining the state of charge of the battery pack at the current detection time, first obtain that the load of the battery pack at the current detection time is 80 kilowatts (kW). At the same time, obtain the number of charge and discharge cycles of the battery pack within the second preset duration (assumed to be 1 hour), that is, between 13:00 and 14:00. Assume that the battery pack has 2 charging and 3 discharging processes between 13:00 and 14:00, that is, the charge and discharge frequency is 5 times per hour. The battery management system can preset rules for the first preset duration corresponding to different loads and charge and discharge frequencies. For example, when the load is between 0 kW and 60 kW and the charge and discharge frequency is between 0 and 3 times per hour, the corresponding first preset duration is 5 minutes; when the load is between 60 kW and 100 kW and the charge and discharge frequency is between 4 and 6 times per hour, the corresponding first preset duration is 2 minutes; when the load is between 100 kW and 150 kW and the charge and discharge frequency is between 7 and 10 times per hour, the corresponding first preset duration is 1 minute. The battery management system determines that the first preset duration between the current detection time and the previous detection time is 2 minutes according to the load and the charge and discharge frequency. Subsequently, the battery management system obtains that the first state of charge of the battery pack at the current detection time is 60% and the second state of charge of the battery pack at the previous detection time (2 minutes ago) is 62% according to the 2-minute interval.
[0113] In the embodiment of the present application, before determining the first state of charge of the battery pack at the current detection time and the second state of charge of the adjacent previous detection time, the battery management system determines the load of the battery pack at the current detection time and / or determines the charge and discharge frequency of the battery pack within the second preset duration before the current detection time, and determines the first preset duration according to the load and / or the charge and discharge frequency. By considering the load and the charge and discharge frequency, the battery management system can adjust the frequency of state of charge detection. When the load is high or the charge and discharge are frequent, shortening the first preset duration can ensure that the battery state information is obtained more timely and avoid sudden shutdown of the device caused by a sudden drop in power. When the load is low or the charge and discharge are not frequent, extending the first preset duration can reduce unnecessary detection operations and save system resources and power. By dynamically adjusting the detection interval, the battery management system can ensure that the state of charge of the battery can be accurately estimated in various environments, improving the adaptability and stability of the system.
[0114] Optionally, determining the first preset duration according to the load and / or the charge and discharge frequency includes:
[0115] In the case where the load is greater than the first preset load, determine whether the charge and discharge frequency is greater than the first preset frequency;
[0116] If the charge-discharge frequency is greater than the first preset frequency, reduce the initial preset duration by a first amplitude to obtain the first preset duration.
[0117] The initial preset duration refers to the interval duration between the previous detection moment and the current detection moment pre-set by the developer.
[0118] The first amplitude refers to the preset duration amount reduced from the initial preset duration, which can be pre-set by the developer or determined according to the deviation between the charge-discharge frequency and the first preset frequency, and there is no limitation on this.
[0119] In this embodiment, during the operation of the electronic device, after the battery management system determines the load and charge-discharge frequency of the battery pack, it compares the load with the first preset load. When the load is greater than the first preset load, it compares the charge-discharge frequency with the first preset frequency to determine whether the charge-discharge frequency is greater than the first preset frequency; if the charge-discharge frequency is greater than the first preset frequency, reduce the initial preset duration by a first amplitude to obtain the first preset duration.
[0120] Exemplarily, assume that the initial preset duration pre-set by the developer is 10 minutes, that is, the original interval duration between the previous detection moment and the current detection moment is 10 minutes. At the same time, the first preset load is pre-set to 5 kW and the first preset frequency is 3 times per hour. During the operation of the electronic device, the battery management system monitors the state parameters of the battery pack. For example, at the current detection moment of 14:00, the battery management system detects that the load of the battery pack at 14:00 is 7 kW, which is greater than the first preset load of 5 kW. Then the battery management system further obtains the charge-discharge frequency within a period of time before the current detection moment. It is determined that within one hour before the current detection moment, the charge-discharge frequency of the battery pack is 4 times per hour, which is greater than the first preset frequency of 3 times per hour. Since the load is greater than the first preset load and the charge-discharge frequency is also greater than the first preset frequency, the battery management system needs to adjust the initial preset duration. Assume that the first amplitude pre-set by the developer is 3 minutes, then the system reduces the initial preset duration of 10 minutes by 3 minutes to obtain the adjusted first preset duration of 7 minutes. Thereafter, the battery management system will determine the previous detection moment and the current detection moment at 7-minute intervals to obtain the state of charge information of the battery pack more timely, so as to manage and monitor the battery state more accurately.
[0121] In an embodiment of the present application, when the load is greater than a first preset load, the battery management system determines whether the charge-discharge frequency is greater than a first preset frequency; if the charge-discharge frequency is greater than the first preset frequency, the initial preset duration is reduced by a first amplitude to obtain a first preset duration. The battery management system monitors the load and charge-discharge frequency of the battery pack in real time, and reduces the initial preset duration when the load is greater than the first preset load and the charge-discharge frequency is greater than the first preset frequency. By reducing the initial preset duration by the first amplitude, the state of charge of the battery can be detected more frequently, and the rapid change of the battery power can be captured in time, avoiding the accumulation of estimation errors caused by too long detection intervals, so as to make the state of charge estimation more accurate.
[0122] Optionally, determining the first preset duration according to the load and / or the charge-discharge frequency includes:
[0123] When the load is less than a second preset load, determine whether the charge-discharge frequency is less than a second preset frequency;
[0124] If the charge-discharge frequency is less than the second preset frequency, increase the initial preset duration by a second amplitude to obtain a first preset duration.
[0125] The second amplitude refers to the preset duration amount increased on the basis of the initial preset duration, which can be pre-set by developers or determined according to the deviation between the charge-discharge frequency and the second preset frequency, and is not limited thereto.
[0126] In this embodiment, during the operation of the electronic device, after the battery management system determines the load and charge-discharge frequency of the battery pack, it compares the load with the second preset load. When the load is less than the second preset load, it compares the charge-discharge frequency with the second preset frequency to determine whether the charge-discharge frequency is less than the second preset frequency; if the charge-discharge frequency is less than the second preset frequency, increase the initial preset duration by a second amplitude to obtain a first preset duration.
[0127] Exemplarily, assume that the initially preset duration set by the developer in advance is 10 minutes, that is, the original interval duration between the previous detection moment and the current detection moment is 10 minutes. At the same time, the second preset load is preset to be 3 kW in advance, and the first preset frequency is 2 times per hour. During the operation of the electronic device, the battery management system monitors the state parameters of the battery pack. For example, the current detection moment is 14:00, and the battery management system detects that the load of the battery pack at 14:00 is 1 kW, which is less than the second preset load of 3 kW. Then the battery management system further obtains the charge and discharge frequency within a period of time before the current detection moment. It is determined that within one hour before the current detection moment, the charge and discharge frequency of the battery pack is 1 time per hour, which is less than the second preset frequency of 2 times per hour. Since the load is less than the second preset load and the charge and discharge frequency is also less than the second preset frequency, the battery management system needs to adjust the initially preset duration. Assume that the second amplitude set by the developer in advance is 5 minutes, then the system increases the initially preset duration of 10 minutes by 5 minutes to obtain the adjusted first preset duration of 15 minutes. Thereafter, the battery management system will determine the previous detection moment and the current detection moment at an interval of 15 minutes to obtain the state of charge information of the battery pack more timely, so as to manage and monitor the battery state more accurately.
[0128] In the embodiment of the present application, when the load is less than the second preset load, the battery management system determines whether the charge and discharge frequency is less than the second preset frequency; if the charge and discharge frequency is less than the second preset frequency, the initially preset duration is increased by the second amplitude to obtain the first preset duration. By monitoring the load and charge and discharge frequency of the battery pack in real time, and when the load is less than the second preset load and the charge and discharge frequency is less than the second preset frequency, it indicates that the load and charge and discharge frequency are relatively low, the state of the battery is relatively stable, and the power change is relatively slow. By increasing the initially preset duration, the number of times of state of charge detection by the battery management system can be reduced, thereby reducing the computational amount of the battery management system, reducing unnecessary detection operations, and thus saving system resources and power.
[0129] Optionally, before determining whether the deviation is within one of at least one preset deviation interval, the method further includes:
[0130] Determine a set of at least one preset deviation interval corresponding to the battery type of the battery pack from multiple sets of at least one preset deviation interval.
[0131] Among them, the battery type of the battery pack may include, but is not limited to, lithium iron phosphate batteries, ternary material batteries, and lithium manganate batteries.
[0132] R & D personnel can preset different sets of preset deviation intervals for different battery types. Exemplarily, if each set of preset deviation intervals includes a first preset deviation interval, a second preset deviation interval, and a third preset deviation interval. For lithium iron phosphate batteries, the first preset deviation interval is (5%, 6%], that is, the absolute value of the difference between the first state of charge and the second state of charge is greater than 5% and less than or equal to 6%; the second preset deviation interval is (6%, 8%], that is, the absolute value of the difference between the first state of charge and the second state of charge is greater than 6% and less than or equal to 8%; the third preset deviation interval is (8%, 100%], that is, the absolute value of the difference between the first state of charge and the second state of charge is greater than 8% and less than or equal to 100%. For ternary material batteries, the first preset deviation interval is (3%, 4%], that is, the absolute value of the difference between the first state of charge and the second state of charge is greater than 3% and less than or equal to 4%; the second preset deviation interval is (4%, 6%], that is, the absolute value of the difference between the first state of charge and the second state of charge is greater than 4% and less than or equal to 6%; the third preset deviation interval is (6%, 100%], that is, the absolute value of the difference between the first state of charge and the second state of charge is greater than 6% and less than or equal to 100%.
[0133] In this embodiment, before determining whether the deviation is within one of at least one preset deviation interval, the battery management system can determine the battery type of the battery pack by analyzing various parameters and characteristics of the battery pack. Then, according to the battery type, a set of at least one preset deviation interval corresponding to the battery type of the battery pack is determined from multiple sets of at least one preset deviation interval.
[0134] In the embodiments of the present application, the battery management system can determine a set of at least one preset deviation interval corresponding to the battery type of the battery pack from multiple sets of at least one preset deviation interval. Considering that different types of batteries have different requirements for charge and discharge depth, charging rate, etc. After the battery management system selects a suitable preset deviation interval according to the battery type, it can more accurately determine whether there is an abnormality in the estimation of the battery power.
[0135] Optionally, after determining the estimation abnormality level of the state of charge of the battery pack, the method further includes:
[0136] The battery management system obtains the unique identification code of the electronic device and the current detection time of the estimation abnormality of the electronic device; and sends the unique identification code, the estimation abnormality level, and the time stamp corresponding to the current detection time to the server.
[0137] Among them, the unique identification code refers to a code or number that can uniquely identify a certain electronic device in the entire system or network environment, ensuring that each device has its unique identifier for differentiation and identification in various operation and management processes.
[0138] In this embodiment, after determining the estimation anomaly level of the state of charge of the battery pack, the battery management system can obtain the unique identification code of the electronic device and the current detection moment of the estimation anomaly of the electronic device, and convert the unique identification code, the estimation anomaly level, and the time stamp corresponding to the current detection moment into a data packet in a unified format, and send the data packet to the server or to the back-end technical personnel through a secure communication protocol. Further, the server can optimize the BMS algorithm according to the unique identification code, the estimation anomaly level, and the time stamp corresponding to the current detection moment to improve the accuracy of the state of charge estimation of the electronic device.
[0139] Exemplarily, after receiving the unique identification code, the estimation anomaly level, and the time stamp corresponding to the current detection moment, the server can timely discover the problems in the state of charge estimation according to the estimation anomaly level and the time stamp, and take corresponding optimization measures. When an anomaly occurs, the server can quickly adjust the algorithm parameters or models to make the state of charge estimation more accurate. With the accumulation of data, the server can continuously learn and improve the BMS algorithm, so that its accuracy in the state of charge estimation can be continuously improved during long-term operation.
[0140] See Figure 2 , Figure 2 is a flowchart of the steps of a detection method provided by an embodiment of the present application. As Figure 2 shown, the method may include the following steps.
[0141] Step 201, determine a target single battery from multiple single batteries.
[0142] Among them, the target single battery is the single battery with the largest state of charge at the current detection moment among the multiple single batteries.
[0143] Step 202, determine the first state of charge of the target single battery at the current detection moment, and the second state of charge of the target single battery at the previous detection moment.
[0144] Among them, the interval duration between the previous detection moment and the current detection moment is less than the first preset duration.
[0145] Step 203, determine the deviation between the first state of charge and the second state of charge.
[0146] Step 204, determine a group of at least one preset deviation interval corresponding to the battery type of the battery pack from multiple groups of at least one preset deviation interval.
[0147] Step 205, obtain the ambient temperature where the battery pack is located.
[0148] Step 206, determine whether the temperature deviation between the ambient temperature and the preset temperature is greater than the preset deviation. If so, execute step 207; otherwise, execute step 208.
[0149] Step 207, correct the upper limit and / or the lower limit of the second preset deviation range.
[0150] Wherein, the second preset deviation range is the preset deviation corresponding to the preset temperature in at least one preset deviation range.
[0151] Step 208, determine whether the deviation is within one of at least one preset deviation range; if so, execute Step 209; otherwise, execute Step 210.
[0152] Step 209, determine the estimated abnormal level of the charge of the battery pack according to the estimated abnormal level corresponding to the first preset deviation range where the deviation is located.
[0153] Step 210, determine that there is no abnormality in the estimation of the charge of the battery pack.
[0154] The detection method provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be elaborated here.
[0155] See Figure 3 , Figure 3 is a schematic structural diagram of a detection device provided in an embodiment of the present application. The detection device can be arranged in a battery management system and can include: a first determination module 301, a second determination module 302, a third determination module 303, and a fourth determination module 304.
[0156] The first determination module 301 is used to determine the first charge of the battery pack at the current detection moment and the second charge of the previous adjacent detection moment; the interval duration between the previous detection moment and the current detection moment is less than the first preset duration;
[0157] The second determination module 302 is used to determine the deviation between the first charge and the second charge;
[0158] The third determination module 303 is used to determine whether the deviation is within one of at least one preset deviation range;
[0159] The fourth determination module 304 is used to, if so, determine the estimated abnormal level of the charge of the battery pack according to the estimated abnormal level corresponding to the first preset deviation range where the deviation is located.
[0160] Optionally, the battery pack includes a plurality of single cells. The first determination module 301 is specifically used to determine a target single cell from the plurality of single cells; the target single cell is the single cell with the largest charge at the current detection moment among the plurality of single cells; determine the first charge of the target single cell at the current detection moment and the second charge of the target single cell at the previous detection moment.
[0161] Optionally, before the third determination module 303, the above device further includes: an acquisition module and a correction module;
[0162] The acquisition module is configured to acquire the ambient temperature of the battery pack;
[0163] The correction module is configured to correct the upper limit and / or the lower limit of the second preset deviation interval if the temperature deviation between the ambient temperature and the preset temperature is greater than the preset deviation; wherein, the second preset deviation interval is the preset deviation interval corresponding to the preset temperature among at least one preset deviation interval.
[0164] Optionally, the correction module is specifically configured to determine a correction coefficient corresponding to the temperature deviation; and correct the upper limit and / or the lower limit of the second preset deviation interval based on the correction coefficient.
[0165] Optionally, before the first determination module 301, the above device further includes: a fifth determination module and a sixth determination module;
[0166] The fifth determination module is configured to determine the load of the battery pack at the current detection moment, and / or determine the charge and discharge frequency of the battery pack within a second preset duration before the current detection moment;
[0167] The sixth determination module is configured to determine a first preset duration according to the load and / or the charge and discharge frequency.
[0168] Optionally, the sixth determination module is specifically configured to, when the load is greater than a first preset load, determine whether the charge and discharge frequency is greater than a first preset frequency; if the charge and discharge frequency is greater than the first preset frequency, reduce the initial preset duration by a first amplitude to obtain the first preset duration.
[0169] Optionally, the sixth determination module is specifically configured to, when the load is less than a second preset load, determine whether the charge and discharge frequency is less than a second preset frequency; if the charge and discharge frequency is less than the second preset frequency, increase the initial preset duration by a second amplitude to obtain the first preset duration.
[0170] Optionally, before the third determination module 303, the above device further includes a seventh determination module;
[0171] The seventh determination module is configured to determine a group of at least one preset deviation interval corresponding to the battery type of the battery pack from multiple groups of at least one preset deviation interval.
[0172] The detection device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be elaborated here.
[0173] See Figure 4 , Figure 4It is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
[0174] Exemplarily, as Figure 4 shown, the electronic device 400 includes: a memory 401 and a processor 402. Among them, an executable program code 4011 is stored in the memory 401, and the processor 402 is used to call and execute the executable program code 4011 to execute a detection method.
[0175] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor. Among them, an executable program code is stored in the memory, and the processor is used to call and execute the executable program code to execute a detection method provided by an embodiment of the present application.
[0176] In this embodiment, the device can be divided into functional modules according to the above method example. For example, it can correspond to each functional module, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative, only a logical function division, and there may be other division methods in actual implementation.
[0177] In the case of dividing each functional module corresponding to each function, the device may further include a verification module, a processing module, a sending module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be cited in the function description of the corresponding functional module, and will not be repeated here.
[0178] It should be understood that the device provided in this embodiment is used to execute the above detection method, so the same effect as the above implementation method can be achieved.
[0179] In the case of adopting an integrated unit, the device may include a processing module and a storage module. Among them, when the device is applied to an electronic device, the processing module can be used to control and manage the actions of the electronic device. The storage module can be used to support the electronic device to execute relevant program codes, etc.
[0180] Among them, the processing module can be a processor or a controller, which can implement or execute various exemplary logical blocks, modules and circuits described in combination with the disclosure of the present application. The processor can also be a combination of computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module can be a memory.
[0181] In addition, the device provided by the embodiments of the present application may specifically be a chip, a component or a module. The chip may include a connected processor and a memory. The memory is used to store instructions. When the processor calls and executes the instructions, the chip can execute a detection method provided by the above embodiments.
[0182] This embodiment also provides a readable storage medium, in which executable program code is stored. When the executable program code runs on a computer, the computer is caused to execute the above related method steps to implement a detection method provided by the above embodiments.
[0183] Among them, the computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical discs, digital versatile discs (DVDs), compact disc read-only memories (CD-ROMs), microdrives, and magneto-optical discs, read-only memories (ROMs), random access memories (RAMs), erasable programmable read-only memories (EPROMs), electrically erasable programmable read-only memories (EEPROMs), dynamic random access memories (DRAMs), video random access memories (VRAMs), flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.
[0184] This embodiment also provides an executable program code product. When the executable program code product runs on a computer, the computer is caused to execute the above related steps to implement a detection method provided by the above embodiments.
[0185] Among them, the device, readable storage medium, executable program code product or chip provided by this embodiment are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be elaborated here.
[0186] Through the description of the above embodiments, those skilled in the art can understand that for the convenience and conciseness of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0187] In the embodiments provided in the present application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.
[0188] The above content is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present application can easily think of changes or substitutions, which should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A detection method, characterized in that: The method comprises: Determine a first charge of the battery pack at a current detection moment and a second charge at an adjacent previous detection moment; the interval between the previous detection moment and the current detection moment is less than a first preset time length; determining a deviation between the first charge and the second charge; determining whether the deviation is within one of at least one predetermined deviation interval; If so, the estimated abnormal level of the charge of the battery pack is determined according to the estimated abnormal level corresponding to the first preset deviation interval in which the deviation is located.
2. The method according to claim 1, characterized in that The battery pack includes a plurality of single cells, and determining a first charge of the battery pack at a current detection moment and a second charge at an adjacent previous detection moment includes: Determine a target single cell from the plurality of single cells; the target single cell is a single cell with the largest charge at the current detection moment among the plurality of single cells; The first charge amount of the target single cell at the current detection time and the second charge amount of the target single cell at the previous detection time are determined.
3. The method according to claim 1, characterized in that Before determining whether the deviation is within one of at least one preset deviation interval, the method further includes: Acquiring the ambient temperature of the battery pack; If the temperature deviation between the ambient temperature and the preset temperature is greater than the preset deviation, the upper limit and / or lower limit of the second preset deviation interval is corrected; wherein the second preset deviation interval is a preset deviation interval in the at least one preset deviation interval corresponding to the preset temperature.
4. The method according to claim 3, characterized in that The modifying of the upper limit and / or the lower limit of the second preset deviation interval includes: determining a correction factor corresponding to the temperature deviation; The upper limit and / or the lower limit of the second preset deviation interval is corrected based on the correction coefficient.
5. The method according to claim 1, characterized in that Before determining the first charge of the battery pack at the current detection moment and the second charge at the adjacent previous detection moment, the method further includes: Determine the load of the battery pack at the current detection moment, and / or determine the charge and discharge frequency of the battery pack within a second preset time period before the current detection moment; The first preset time duration is determined according to the load and / or the charge and discharge frequency.
6. The method according to claim 5, characterized in that The determining the first preset duration according to the load and / or the charge and discharge frequency includes: When the load is greater than a first preset load, determining whether the charge and discharge frequency is greater than a first preset frequency; If the charge and discharge frequency is greater than the first preset frequency, the initial preset time length is reduced by a first amplitude to obtain the first preset time length.
7. The method according to claim 5, characterized in that The determining the first preset duration according to the load and / or the charge and discharge frequency includes: When the load is less than a second preset load, determining whether the charge and discharge frequency is less than a second preset frequency; If the charge and discharge frequency is less than the second preset frequency, the initial preset time length is increased by a second amplitude to obtain the first preset time length.
8. The method according to claim 1, characterized in that Before determining whether the deviation is within one of at least one preset deviation interval, the method further includes: A group of the at least one preset deviation interval corresponding to the battery type of the battery group is determined from the multiple groups of the at least one preset deviation interval.
9. A detection device, characterized in that: The device comprises: A first determination module is used to determine a first charge of the battery pack at a current detection moment and a second charge at an adjacent previous detection moment; the interval between the previous detection moment and the current detection moment is less than a first preset time length; A second determination module, configured to determine a deviation between the first charge amount and the second charge amount; a third determination module, configured to determine whether the deviation is within one of at least one preset deviation interval; The fourth determination module is configured to determine the estimated abnormal level of the charge of the battery pack according to the estimated abnormal level corresponding to the first pre-deviation interval in which the deviation is located.
10. An electronic device, characterized in that: The electronic device comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the electronic device executes the method according to any one of claims 1 to 8.