Charging protection method, device and storage medium in fast charging mode
By analyzing the charging current data and fast charging mode during the battery fast charging process, determining the probability of abnormality and adjusting the charging power, the problem of difficulty in determining the abnormal state during the battery fast charging process is solved, and charging safety is improved.
Patent Information
- Application Number
- CN202410978718.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2044-07-22
AI Technical Summary
During the fast charging of the battery, it is difficult to determine whether the battery is in an abnormal state, resulting in a reduction in charging safety.
By analyzing the charging current data of the battery and its fast charging mode, the abnormality probability of the battery is determined, and the charging power of the charging device is adjusted according to this probability to avoid overcharging and overheating of the battery.
Improves the safety of fast charging of the battery and prevents the risk of overcharging and overheating of the battery.
Smart Images

Figure CN118920635B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery charging technology, and in particular to a charging protection method, device and storage medium in a fast charging mode. Background Art
[0002] Currently, battery fast charging is very popular. Fast charging has short charging time and high efficiency, and is favored by the public. However, fast charging also has some problems. During the fast charging process, the charging current is generally large. In addition, when the battery is abnormal, there will be excessive current, which makes it difficult to judge whether it is in a fast charging state or an abnormal state, thereby reducing the safety of battery fast charging. Therefore, the problem of how to improve the safety of battery fast charging needs to be solved urgently. Summary of the invention
[0003] The embodiments of the present application provide a charging protection method, device and storage medium in a fast charging mode, which determines the abnormal probability of the battery by analyzing the charging current data of the battery and the fast charging mode it is in, and then adjusts the charging power of the charging device according to the abnormal probability to avoid overcharging and overheating of the battery, thereby improving the safety of battery fast charging.
[0004] In a first aspect, an embodiment of the present application provides a charging protection method in a fast charging mode, which is applied to a charging device, and the method includes:
[0005] Get the initial power of the target battery;
[0006] When the initial power level is lower than a preset power level, determining a target fast charging mode corresponding to the target battery, the target fast charging mode corresponding to the initial fast charging power;
[0007] Performing fast charging of the target battery with the initial fast charging power by the charging device in the target fast charging mode;
[0008] During the fast charging process, acquiring charging current data of the target battery within a preset time period to obtain target charging current data;
[0009] Determine a maximum current value in the target charging current data to obtain a first current value;
[0010] When the first current value is not within a first preset current range, determining a target abnormal probability of the target battery according to the target fast charging mode and the target charging current data;
[0011] Adjust the initial fast charging power according to the target abnormal probability to obtain a target fast charging power;
[0012] The charging device is controlled to fast charge the target battery with the target fast charging power so that the target battery reaches a fully charged state to protect the charging safety of the target battery.
[0013] In a second aspect, an embodiment of the present application provides a charging protection device in a fast charging mode, which is applied to a charging device. The device includes: an acquisition unit, a control unit, and a charging unit, wherein:
[0014] The acquisition unit is used to acquire the initial power of the target battery;
[0015] The control unit is used to determine a target fast charging mode corresponding to the target battery when the initial power is lower than a preset power, and the target fast charging mode corresponds to an initial fast charging power;
[0016] The charging unit is used to fast charge the target battery with the initial fast charging power through the charging device in the target fast charging mode;
[0017] The control unit is further used to obtain the charging current data of the target battery within a preset time period during the fast charging process to obtain the target charging current data; determine the maximum current value in the target charging current data to obtain a first current value; when the first current value is not within a first preset current range, determine the target abnormality probability of the target battery according to the target fast charging mode and the target charging current data; adjust the initial fast charging power according to the target abnormality probability to obtain the target fast charging power;
[0018] The charging unit is further used to control the charging device to fast charge the target battery with the target fast charging power so that the target battery reaches a fully charged state to protect the charging safety of the target battery.
[0019] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program enables a computer to execute the method described in the first aspect.
[0020] In a fourth aspect, an embodiment of the present application provides a charging device, comprising a processor, a memory, a communication interface, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the method described in the first aspect when executing the computer program.
[0021] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the embodiment of the present application. The computer program product may be a software installation package.
[0022] The implementation of the embodiments of the present application has the following beneficial effects:
[0023] It can be seen that the charging protection method in the fast charging mode described in the embodiment of the present application is applied to a charging device, and the method includes: obtaining an initial power of a target battery; when the initial power is lower than a preset power, determining a target fast charging mode corresponding to the target battery, the target fast charging mode corresponding to the initial fast charging power; fast charging the target battery with the initial fast charging power in the target fast charging mode by the charging device; during the fast charging process, obtaining charging current data of the target battery in a preset time period to obtain target charging current data; determining a maximum current value in the target charging current data to obtain a first current value; and when the first current value is not within the first preset When the current range is set, the target abnormality probability of the target battery is determined according to the target fast charging mode and the target charging current data; the initial fast charging power is adjusted according to the target abnormality probability to obtain the target fast charging power; the charging device is controlled to fast charge the target battery with the target fast charging power to make the target battery reach a fully charged state to protect the charging safety of the target battery. In this way, the target abnormality probability of the target battery is determined according to the charging current data of the target battery and the target fast charging mode it is in, and then the charging power of the charging device is adjusted according to the target abnormality probability to avoid overcharging of the target battery, thereby improving the safety of battery fast charging. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background technology, the drawings required for use in the embodiments of the present application or the background technology will be described below.
[0025] Figure 1 It is a flow chart of a charging protection method in a fast charging mode provided by an embodiment of the present application;
[0026] Figure 2 is a schematic diagram of a method for obtaining a partial current curve provided in an embodiment of the present application;
[0027] Figure 3 This is a block diagram of the functional units of a charging protection device in a fast charging mode provided by an embodiment of the present application;
[0028] Figure 4 It is a structural schematic diagram of a charging device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0030] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0031] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0032] The following is an explanation of some professional terms involved in this application:
[0033] Battery fast charging: It is a battery charging technology that charges a large amount of energy into the battery in a short time. This technology is particularly important for applications such as electric vehicles and mobile devices that require frequent charging, because it can greatly reduce the time users have to wait for the battery to be fully charged. The key to battery fast charging technology is that it can achieve high current and high voltage charging while maintaining high energy conversion efficiency and battery life.
[0034] Fast charging mode: It is the charging mode that an electronic device is in when it enters the battery fast charging mode. Fast charging is classified according to the principle of fast charging. Fast charging modes can be divided into three types: voltage fast charging, current fast charging, and power fast charging.
[0035] See also Figure 1 , Figure 1 : is a flowchart of a charging protection method in a fast charging mode provided by an embodiment of the present application. The method can be applied to a charging device, and the method includes but is not limited to the following steps:
[0036] S101: Obtain the initial power of the target battery.
[0037] In the embodiment of the present application, the initial power refers to the remaining charge of the target battery at the moment before the target battery is charged, which reflects the power state of the target battery before the charging behavior begins.
[0038] In a specific embodiment, a battery management system can be installed in the charging device, and the battery management system can be used to monitor and control the charging device and / or the target battery. Specifically, the battery management system can monitor the power of the target battery in real time, thereby obtaining the remaining power of the target battery before charging the target battery, that is, the initial power.
[0039] S102. When the initial power level is lower than a preset power level, determine a target fast charging mode corresponding to the target battery, wherein the target fast charging mode corresponds to an initial fast charging power.
[0040] In the embodiment of the present application, the preset power level may be preset in advance or default; the preset power level is used to determine whether the target battery needs to be charged.
[0041] In a specific embodiment, the initial power level can be compared with the preset power level. If the initial power level is higher than or equal to the preset power level, it means that the target battery has sufficient power and does not need to be charged temporarily. Conversely, if the initial power level is lower than the preset power level, it means that the target battery has insufficient power and needs to be charged. In order to shorten the battery charging time, the target battery can be charged in fast charging mode. Then, the target fast charging mode corresponding to the target battery can be determined. Specifically, the target attribute information of the target battery can be obtained through the battery management system first, and then, a mapping relationship between the preset attribute information and the fast charging mode can be pre-stored, and the target fast charging mode corresponding to the target attribute information is determined based on the mapping relationship. The target attribute information may include at least one of the following: battery model, battery material, battery capacity, battery manufacturer, etc., which are not limited here. In addition, the target fast charging mode also corresponds to an initial fast charging power. For example, a mapping relationship between a preset fast charging mode and the fast charging power can be pre-stored, and the initial fast charging power corresponding to the target fast charging mode is determined based on the mapping relationship.
[0042] S103, using the charging device in the target fast charging mode, to fast charge the target battery with the initial fast charging power.
[0043] In an embodiment of the present application, the charging device can be controlled to enter a target fast charging mode. In this target fast charging mode, the charging device fast charges the target battery with an initial fast charging power.
[0044] S104: During the fast charging process, the charging current data of the target battery within a preset time period is acquired to obtain target charging current data.
[0045] In the embodiment of the present application, the preset time period may be preset in advance or default.
[0046] In a specific embodiment, when the charging device is fast charging the target battery, the charging current data of the target battery within a preset time period can be acquired in real time through the battery management system to obtain the target charging current data. Specifically, a corresponding sensor (for example, a current sensor) can be installed inside or outside the target battery, and the battery management system can be connected to the sensor to record the charging current data at certain time intervals (for example, 1 millisecond) through the sensor, thereby obtaining the target charging current data.
[0047] S105: Determine a maximum current value in the target charging current data to obtain a first current value.
[0048] In the embodiment of the present application, the target charging current data is data for a period of time, and the first current value can be obtained by searching the maximum current value of the target charging current data through the battery management system.
[0049] S106. When the first current value is not within a first preset current range, determine a target abnormal probability of the target battery according to the target fast charging mode and the target charging current data.
[0050] In an embodiment of the present application, a first preset current range can be preset or defaulted in advance, and the first preset current range refers to the normal fluctuation range of the charging current when the target battery is normally fast charged; the target abnormality probability is a probability value indicating that an abnormality occurs in the target battery, and the higher the target abnormality probability, the greater the probability of an abnormality occurring in the target battery.
[0051] In a specific embodiment, it is possible to first determine whether the first current value is within a first preset current range. If so, it indicates that the target battery is charged normally and there is no need to determine the target abnormality probability. Conversely, if not, it indicates that a charging current that is not within the normal fluctuation range has appeared, and the target battery may have a charging abnormality. It is necessary to determine the target abnormality probability of the target battery based on the target fast charging mode and the target charging current data.
[0052] It should be explained that during the fast charging process, the charging anomaly that may occur in the target battery may include at least one of the following: excessive current anomaly, excessive current anomaly, overvoltage anomaly, etc., which are not limited here.
[0053] Optionally, step S106, determining the target abnormality probability of the target battery according to the target fast charging mode and the target charging current data, may include the following steps:
[0054] A1. Determine a first current threshold and a second current threshold corresponding to the target battery according to the target fast charging mode; the first current threshold is greater than the second current threshold;
[0055] A2. Sampling the target charging current data to obtain a plurality of sample charging current data; each sample charging current data corresponds to a sampling time;
[0056] A3. Perform curve fitting according to the plurality of sample charging current data and their corresponding sampling times to obtain a target current curve, wherein the horizontal axis of the target current curve is time and the vertical axis is charging current;
[0057] A4. Determine, according to the first current threshold and the second current threshold, the partial current curve in the target current curve where there is an abnormality, to obtain a first partial current curve and a second partial current curve;
[0058] A5. Determine the target abnormality probability according to the first partial current curve and the second partial current curve.
[0059] In the embodiment of the present application, the first current threshold represents the upper limit of the charging current of the target battery in the target fast charging mode, that is, the maximum charging current; the second current threshold represents the lower limit of the charging current of the target battery in the target fast charging mode, that is, the minimum charging current.
[0060] In a specific embodiment, the first current threshold and the second current threshold corresponding to the target battery can be determined according to the target fast charging mode. Specifically, the maximum output power, voltage range, current range and other information of the target fast charging mode can be determined by the battery management system. Then, the upper and lower limits of the current range of the target fast charging mode, that is, the first current threshold and the second current threshold, can be determined.
[0061] Next, the target charging current data can be sampled to obtain multiple sample charging current data. Specifically, the target charging current data can be sampled by an equidistant sampling method, and the sampling interval can be a fixed interval (for example, 1 millisecond) to obtain multiple sample charging current data; then, a curve fitting can be performed based on the multiple sample charging current data and their corresponding sampling times to obtain a target current curve. Specifically, the multiple sample charging current data and their corresponding sampling times can be combined into coordinate points to obtain multiple coordinate points. Then, a curve fitting method (for example, a polynomial fitting method, a spline method, etc.) can be used to fit these multiple coordinate points to obtain a target fitting curve. Furthermore, the partial current curve with abnormalities in the target current curve can be determined according to the first current threshold and the second current threshold, respectively, to obtain the first partial current curve and the second partial current curve; finally, the target abnormal probability can be determined according to the first partial current curve and the second partial current curve.
[0062] In this way, the first current threshold and the second current threshold corresponding to the target battery are determined according to the target fast charging mode; the first current threshold is greater than the second current threshold; the target charging current data is sampled to obtain multiple sample charging current data; curve fitting is performed based on the multiple sample charging current data and their corresponding sampling times to obtain the target current curve; the partial current curve in which abnormalities exist in the target current curve is determined according to the first current threshold and the second current threshold, to obtain the first partial current curve and the second partial current curve; the target abnormality probability is determined according to the first partial current curve and the second partial current curve. On the one hand, by determining two current thresholds specifically for the target fast charging mode, it can better fit the charging characteristics of the battery under the target fast charging mode, thereby accurately identifying the parts that may have abnormalities. On the other hand, by distinguishing the first partial current curve and the second partial current curve, different abnormal situations can be considered separately to achieve a more comprehensive analysis.
[0063] Optionally, step A4, determining the partial current curve having abnormalities in the target current curve according to the first current threshold and the second current threshold to obtain the first partial current curve and the second partial current curve, may include the following steps:
[0064] B1, intercepting a portion of the target current curve that is greater than the first current threshold, to obtain n segments of the first partial curve, where n is a natural number;
[0065] B2. determining the duration corresponding to each first partial curve in the n first partial curves to obtain n first durations;
[0066] B3. Select the n first durations that are greater than the first preset duration to obtain m first durations, where m is a natural number less than or equal to n;
[0067] B4, splicing the m first partial curves corresponding to the m first durations in chronological order to obtain the first partial current curve;
[0068] B5. Determine a portion of the target current curve that is less than the second current threshold value to obtain the second portion of the current curve.
[0069] In the embodiment of the present application, the method for splicing curves may include at least one of the following: direct connection method, linear interpolation method, polynomial interpolation method, etc., which are not limited here.
[0070] In a specific embodiment, a portion of the target current curve that is greater than the first current threshold can be intercepted to obtain n segments of the first partial curve. Specifically, a first straight line parallel to the x-axis can be drawn according to the first current threshold, and the first straight line and the target current curve are placed in the same coordinate system. The target current curve is cut by the first straight line. The first straight line divides the target current curve into two parts, the upper part and the lower part. The part above the first straight line is the portion of the curve that is greater than the first current threshold, that is, the n segments of the first partial curve.
[0071] It should be explained that the method of obtaining n segments of the first partial curve through the first straight line is only a feasible method. In practical applications, it is also possible to traverse each charging current value on the target current curve from the starting point to the end point, and for each charging current value, determine whether it is equal to the first current threshold. If the condition is met, the charging current value and its corresponding time point are recorded, and multiple recording points can be obtained. According to these multiple recording points, the part of the target current curve that is greater than the first current threshold is intercepted to obtain n segments of the first partial curve.
[0072] Next, the duration corresponding to each first partial curve in the n segments of the first partial curve can be determined to obtain n first durations. Specifically, the starting point and the ending point of the n segments of the first partial curve can be determined respectively to obtain n starting points and n ending points. Then, the time difference between each starting point and the corresponding ending point in the n starting points can be calculated respectively to obtain n time differences, that is, n first durations; then, n first durations greater than the first preset duration can be selected to obtain m first durations; the m segments of the first partial curves corresponding to the m first durations are spliced in time sequence to obtain the first partial current curve. Specifically, the curves corresponding to the m first durations in the n segments of the first partial curve can be determined first to obtain m segments of the first partial curve, and then, the m segments of the first partial curves can be spliced in the order of occurrence time using a straight line connection method to obtain the first partial current curve.
[0073] Finally, a portion of the target current curve that is less than the second current threshold value may be determined to obtain a second portion of the current curve. Specifically, the second portion of the current curve may be determined in the same manner as the first portion of the current curve described above.
[0074] For an example, see Figure 2 , Figure 2 is a schematic diagram of a method for obtaining a partial current curve provided in an embodiment of the present application; Figure 2 As shown, L is the target current curve, straight line A is a first straight line parallel to the x-axis drawn according to the first current threshold, straight line B is a second straight line parallel to the x-axis drawn according to the second current threshold, L1 and L2 are respectively a curve in the n-segment first part curve, and K1 is a part of the second part current curve, because K1 is below straight line B, that is, K1 is a curve less than the second current threshold.
[0075] The target current curve L can be intercepted through this straight line A, and curve L1 and curve L2 can be easily obtained. Then, the duration of curve L1 and curve L2 can be obtained. Assuming that the duration corresponding to curve L1 is 5 seconds, the duration corresponding to curve L2 is 1 second, and the first preset duration is 3 seconds, then curve L2 can be removed and ignored, then only curve L1 is left, that is, curve L1 is the first part of the current curve. If there is more than one curve left, all the remaining curves need to be spliced in chronological order to obtain the first part of the current curve.
[0076] Of course, you can also refer to Figure 2 The target current curve L is processed by the straight line A in the same way as the target current curve L is processed by the straight line B to obtain the second part of the current curve.
[0077] In this way, by intercepting the partial curve of the target current curve that is greater than the first current threshold, n segments of the first partial curve are obtained; the duration corresponding to each first partial curve in the n segments of the first partial curve is determined to obtain n first durations; n first durations greater than the first preset duration are selected to obtain m first durations; the m segments of the first partial curve corresponding to the m first durations are spliced in chronological order to obtain the first partial current curve, and by setting the first current threshold, the portion above a specific current intensity can be accurately screened out, focusing on the analysis of the key interval, avoiding excessive processing of irrelevant or unimportant current portions, and improving the efficiency of data processing and analysis.
[0078] Optionally, step A5, determining the target abnormality probability according to the first partial current curve and the second partial current curve, may include the following steps:
[0079] C1. Fitting the first current curve and the second current curve to obtain a first current straight line and a second current straight line;
[0080] C2. determining a first slope corresponding to the first portion of the current straight line;
[0081] C3. Determine the sample charging current data corresponding to the first part of the current straight line in the plurality of sample charging current data, and obtain at least one sample charging current data;
[0082] C4. determining a first mean square error based on the at least one sample charging current data;
[0083] C5. determining a deviation between the first slope and a preset slope to obtain a first deviation;
[0084] C6. determining a first reference abnormality probability according to the first deviation;
[0085] C7. Determine a first influencing factor corresponding to the first mean square error; determine a second influencing factor corresponding to the target fast charging mode;
[0086] C8. Determine a first abnormality probability according to the first reference abnormality probability, the first influencing factor and the first influencing factor;
[0087] C9. Determine a second abnormal probability corresponding to the second portion of the current straight line;
[0088] C10. Determine the target abnormality probability according to the first abnormality probability and the second abnormality probability.
[0089] In the embodiment of the present application, the preset slope may be preset or defaulted, and the preset slope is used to calculate the deviation of the first slope of the first part of the current straight line; the first slope is a value reflecting the charging current change trend of the target battery.
[0090] In a specific embodiment, the first current curve and the second current curve can be fitted to obtain a first current straight line and a second current straight line; then, the first slope corresponding to the first current straight line can be determined. Specifically, the linear equation y=ax+b of the first current straight line can be obtained first, wherein y is the charging current value, x is the time point, a is the first slope, and b is the intercept. The first slope can be obtained according to the linear equation; then, the sample charging current data corresponding to the first current straight line in multiple sample charging current data can be determined to obtain at least one sample charging current data. Specifically, the m segments of the first curve corresponding to the first current straight line can be reversed, and the start time and the end time of the m segments of the first curve can be obtained first to obtain m start times and m end times. Then, the m duration periods corresponding to the m segments of the first curve can be determined according to the m start times and the m end times. Then, the sample charging current data whose sampling time is in the m duration periods can be found from the multiple sample charging current data to obtain at least one sample charging current data.
[0091] Next, a first mean square error may be determined based on at least one sample charging current data. Specifically, the first mean square error of the at least one sample charging current data may be calculated using a mean square error formula. Then, a deviation between the first slope and a preset slope may be determined to obtain a first deviation, which is specifically as follows:
[0092] First deviation = |preset slope-first slope| / first slope;
[0093] Furthermore, a first reference abnormal probability can be determined based on the first deviation. Specifically, a mapping relationship between a preset deviation and a reference abnormal probability can be pre-stored, and the first reference abnormal probability corresponding to the first deviation can be determined based on the mapping relationship. Then, a first influencing factor corresponding to the first mean square error can be determined. A mapping relationship between a preset mean square error and an influencing factor can be pre-stored, and the first influencing factor corresponding to the first deviation can be determined based on the mapping relationship. Similarly, a mapping relationship between a preset fast charging mode and an influencing factor can be pre-stored, and the second influencing factor corresponding to the target fast charging mode can be determined based on the mapping relationship.
[0094] Next, the first abnormality probability may be determined according to the first reference abnormality probability, the first influencing factor, and the second influencing factor, as follows:
[0095] First abnormal probability = first reference abnormal probability × (1 + first impact factor) × (1 + second impact factor);
[0096] Next, the second abnormal probability corresponding to the second part of the current straight line can be determined. Specifically, the method for obtaining the second abnormal probability can be the same as the method for obtaining the first abnormal probability. Finally, the target abnormal probability can be determined based on the first abnormal probability and the second abnormal probability.
[0097] In this way, first, the first part of the current straight line is obtained by fitting the first part of the current curve; secondly, the first slope corresponding to the first part of the current straight line is determined, and at least one sample charging current data corresponding to the first part of the current straight line in multiple sample charging current data is determined; again, the first mean square error is determined based on at least one sample charging current data, and the deviation between the first slope and the preset slope is determined to obtain the first deviation; the first reference abnormal probability is determined according to the first deviation; the first influencing factor corresponding to the first mean square error is determined; the second influencing factor corresponding to the target fast charging mode is determined; finally, the first abnormal probability is determined according to the first reference abnormal probability, the first influencing factor and the second influencing factor. On the one hand, clarifying indicators such as slope and mean square error is helpful to evaluate the stability and quality of the charging process of the target battery. On the other hand, by combining the two influencing factors of the first mean square error and the target fast charging mode, the first reference abnormal probability can be adjusted and optimized in a targeted manner, so that the final first abnormal probability can be more accurate.
[0098] Optionally, step C1, fitting the first current curve and the second current curve to obtain a first current straight line and a second current straight line, may include the following steps:
[0099] D1. Sampling the first part of the current curve at a first preset time interval to obtain a plurality of first sampling points and a plurality of first sampling times;
[0100] D2. Combining the plurality of first sampling points and the plurality of first sampling times to obtain a plurality of first coordinate points;
[0101] D3. Perform straight line fitting according to the plurality of first coordinate points to obtain the first part of the current straight line;
[0102] D4, sampling the second portion of the current curve at a second preset time interval to obtain a plurality of second sampling points and a plurality of second sampling times;
[0103] D5. Combining the plurality of second sampling points and the plurality of second sampling times to obtain a plurality of second coordinate points;
[0104] D6. Perform straight line fitting according to the plurality of second coordinate points to obtain the second part current straight line.
[0105] In an embodiment of the present application, the first preset time interval and the second preset time interval may both be preset in advance or default; wherein, the first preset time interval and the second preset time interval may be equal or unequal; the method for fitting the curve segment may include at least one of the following: least squares method, linear regression, etc., which are not limited here.
[0106] In a specific embodiment, the first portion of the current curve can be sampled equidistantly at a first preset time interval, and the sample is sampled once every first preset time interval to obtain a plurality of first sampling points and a plurality of first sampling times; then, the plurality of first sampling points and the corresponding first sampling times in the plurality of first sampling times can be combined to obtain a plurality of first coordinate points; the least squares method can be used to perform straight line fitting on the plurality of first coordinate points to obtain the first portion of the current straight line; similarly, the second portion of the current curve can be sampled at a second preset time interval, and the sample is sampled once every second preset time interval to obtain a plurality of second sampling points and a plurality of second sampling times; the plurality of second sampling points and the plurality of second sampling times are combined to obtain a plurality of second coordinate points; the least squares method can also be used to perform straight line fitting on the plurality of second coordinate points to obtain the second portion of the current straight line.
[0107] Optionally, step C10, determining the target abnormality probability according to the first abnormality probability and the second abnormality probability, may include the following steps:
[0108] E1. Obtain the duration of the first part of the current straight line to obtain a first target duration;
[0109] E2. Obtain the duration of the second portion of the current straight line to obtain a second target duration;
[0110] E3. Determine a ratio between the first target duration and the second target duration to obtain a target ratio;
[0111] E4. Determine a first weight corresponding to the first abnormal probability and a second weight corresponding to the second abnormal probability according to the target ratio;
[0112] E5. Determine the target abnormality probability according to the first abnormality probability, the second abnormality probability, the first weight, and the second weight.
[0113] In the embodiment of the present application, the duration of the first part of the current straight line can be obtained to obtain the first target duration. Specifically, the start time and the end time of the first part of the current straight line can be determined first, and the first target duration can be obtained by subtracting the two. Then, the duration of the second part of the current straight line can be obtained by the same method to obtain the second target duration. Then, the ratio between the first target duration and the second target duration can be determined to obtain the target ratio, which is as follows:
[0114] Target ratio = first target duration / second target duration;
[0115] Furthermore, the first weight corresponding to the first abnormal probability and the second weight corresponding to the second abnormal probability can be determined according to the target ratio. Specifically, the target ratio can be used as the ratio between the first weight and the second weight. Since the sum of the first weight and the second weight is equal to 1, the first weight and the second weight satisfy the following conditions:
[0116] Target ratio = first weight / second weight; first weight + second weight = 1;
[0117] According to the above two equations, the first weight and the second weight can be calculated; finally, the target abnormal probability can be determined according to the first abnormal probability, the second abnormal probability, the first weight and the second weight, as follows:
[0118] Target abnormal probability = first abnormal probability × first weight + second abnormal probability × second weight;
[0119] According to this formula, the target abnormal probability can be calculated.
[0120] In this way, the first target duration is obtained by obtaining the duration of the first part of the current straight line; the second target duration is obtained by obtaining the duration of the second part of the current straight line; the ratio between the first target duration and the second target duration is determined to obtain the target ratio; the first weight corresponding to the first abnormal probability and the second weight corresponding to the second abnormal probability are determined according to the target ratio; the target abnormal probability is determined according to the first abnormal probability, the second abnormal probability, the first weight and the second weight. On the one hand, by respectively obtaining the first target duration and the second target duration, the change of the charging current during the charging process can be understood, at which time the charging current is greater than the first current threshold, and at which time the charging current is less than the second current threshold, thereby enabling a more comprehensive understanding of the charging status of the target battery. On the other hand, the first weight corresponding to the first abnormal probability and the second weight corresponding to the second abnormal probability are determined according to the target ratio, taking into account the impact of the charging current duration on the target battery. The longer the abnormal current duration, the greater the probability of an abnormality in the target battery. Thus, the probability of an abnormality in the target battery can be more accurately evaluated.
[0121] S107: Adjust the initial fast charging power according to the target abnormal probability to obtain a target fast charging power.
[0122] In the embodiment of the present application, the initial fast charging power of the charging device can be appropriately adjusted according to the target abnormality probability, and the initial fast charging power can be increased or decreased, so as to obtain the target fast charging power.
[0123] Optionally, step S107, adjusting the initial fast charging power according to the target abnormal probability to obtain a target fast charging power, may include the following steps:
[0124] 71. When the target abnormal probability is less than or equal to a first preset abnormal probability, obtaining a target current mean value corresponding to the target charging current data;
[0125] 72. Determine the difference between the target current average and the preset current average to obtain a target difference;
[0126] 73. Determine the fast charging power that needs to be adjusted for the charging device according to the target difference, and obtain a reference fast charging power to be adjusted;
[0127] 74. Obtain the current value corresponding to the target battery at the current moment to obtain a second current value;
[0128] 75. Determine the optimization factor corresponding to the second current value to obtain a target optimization factor;
[0129] 76. Optimize the reference fast charging power to be adjusted according to the target optimization factor to obtain a target fast charging power to be adjusted;
[0130] 77. Adjust the initial fast charging power according to the target fast charging power to be adjusted to obtain the target fast charging power.
[0131] In the embodiment of the present application, the first preset abnormal probability and the preset current mean value can both be preset in advance or default.
[0132] In a specific embodiment, when the target abnormal probability is less than or equal to the first preset abnormal probability, it means that the probability of the target battery being abnormal is present, but not high. Adjustment can be attempted to reduce the probability of the target battery being abnormal. Specifically, the current average value corresponding to the target charging current data, that is, the target current mean value, can be calculated first. Then, the difference between the target current mean value and the preset current mean value can be determined to obtain the target difference value, which is as follows:
[0133] Target difference = target current average - preset current average;
[0134] Then, the fast charging power that needs to be adjusted by the charging device can be determined according to the target difference to obtain the reference fast charging power to be adjusted. Specifically, if the target difference is a positive value, it means that the charging current of the target battery is too large and the fast charging power of the charging device needs to be lowered, and vice versa. Then, the mapping relationship between the preset difference and the fast charging power to be adjusted can be pre-stored, and the reference fast charging power to be adjusted corresponding to the target difference can be determined based on the mapping relationship. Then, the current value corresponding to the target battery at the current moment can be obtained to obtain the second current value. Specifically, the target battery can be detected by the battery management system to obtain the second current value; further, the optimization factor corresponding to the second current value is determined to obtain the target optimization factor. The mapping relationship between the preset current value and the optimization factor can be pre-stored, and the target optimization factor corresponding to the second current value can be determined based on the mapping relationship. Then, the reference fast charging power to be adjusted can be optimized according to the target optimization factor to obtain the target fast charging power to be adjusted, as follows:
[0135] Target fast charging power to be adjusted = reference fast charging power to be adjusted × (1 + target optimization factor);
[0136] Finally, the initial fast charging power can be adjusted according to the target fast charging power to be adjusted to obtain the target fast charging power, as follows:
[0137] Target fast charging power = initial fast charging power + target fast charging power to be adjusted;
[0138] It needs to be explained that the target fast charging power to be adjusted can be a positive value or a negative value.
[0139] In addition, when the target abnormality probability is greater than the first preset abnormality probability, it means that the probability of the target battery abnormality is too high, and the charging abnormality may have occurred for some time. There is no need to try to adjust it. The charging device can be turned off directly to stop charging the target battery. Alternatively, the charging device can be controlled to only stop the fast charging process and instead perform normal charging for the target battery to repair the charging abnormality of the target battery and return the target battery to normal state.
[0140] In this way, when the target abnormal probability is less than or equal to the first preset abnormal probability, the target current mean corresponding to the target charging current data is obtained; the difference between the target current mean and the preset current mean is determined to obtain the target difference; the fast charging power that needs to be adjusted by the charging device is determined according to the target difference to obtain the reference fast charging power to be adjusted; the current value corresponding to the target battery at the current moment is obtained to obtain the second current value; the optimization factor corresponding to the second current value is determined to obtain the target optimization factor; the reference fast charging power to be adjusted is optimized according to the target optimization factor to obtain the target fast charging power to be adjusted; the initial fast charging power is adjusted according to the target fast charging power to be adjusted to obtain the target fast charging power. On the one hand, by calculating the difference between the target current mean and the preset current mean, the degree of current deviation can be obtained. This difference can reflect the difference between the battery charging state and the expected state, and provide a basis for subsequent power adjustment. On the other hand, a target optimization factor can be determined according to the size of the second current value to adjust the reference fast charging power to be adjusted, so as to obtain a target fast charging power to be adjusted that better matches the current state of the target battery.
[0141] S108, controlling the charging device to fast charge the target battery with the target fast charging power, so that the target battery reaches a fully charged state, so as to protect the charging safety of the target battery.
[0142] In an embodiment of the present application, the charging device can be controlled to operate at a target fast charging power to fast charge the target battery until the target battery is fully charged and reaches a fully charged state (i.e., the battery is fully charged), thereby protecting the charging safety of the target battery.
[0143] Optionally, the method further includes:
[0144] 81. Obtain the power of the target battery at a preset time to obtain a target power; the preset time is later than the end time of the preset time period;
[0145] 82. When the target power is greater than or equal to the preset power, control the charging device to stop fast charging;
[0146] 83. When the target power is less than the preset power, control the charging device to continue fast charging the target battery at the target fast charging power.
[0147] In the embodiment of the present application, the preset time may be preset in advance or default.
[0148] In a specific embodiment, the power of the target battery at a preset moment can be obtained to obtain the target power. Specifically, the power of the target battery can be detected by the battery management system at the preset moment to obtain the target power. When the target power is greater than or equal to the preset power, it means that the power of the target battery is sufficient or full, and no further charging is needed. The charging device can be controlled to stop fast charging and no longer charge the target battery. When the target power is less than the preset power, it means that the power of the target battery is not full yet and needs to continue charging. The charging device can be controlled to continue fast charging the target battery at the target fast charging power. Alternatively, the charging device can be controlled to perform normal charging for the target battery instead of fast charging.
[0149] It needs to be explained that the charging protection method in the fast charging mode described in the above embodiment can also be applied to the normal charging process of the battery. Specifically, the above-mentioned first preset current range, the first current threshold and the second current threshold can be adjusted accordingly to adapt to the normal charging process of the battery, and then the initial power of the battery can be obtained; when the battery is not in a fully charged state, the battery is charged normally through the charging device, and the charging current data of the battery in the normal charging process can also be obtained, and the abnormal probability of the battery is determined according to the charging current data; and, the charging power of the battery is adjusted according to the abnormal probability. If the abnormal probability is too large, the charging is stopped, and if the abnormal probability is small, the charging power is appropriately reduced to reduce the abnormal probability; the charging device is controlled to continue charging the battery with the adjusted charging power until the battery reaches a fully charged state.
[0150] In this way, the charging protection method in the fast charging mode provided in this application can also determine the abnormal probability of the battery during the normal charging process. When the abnormal probability is high, the charging power can be reduced or the charging process can be stopped to prevent the battery from overcharging, thereby protecting the battery charging safety.
[0151] The implementation of the embodiments of the present application has the following beneficial effects:
[0152] It can be seen that the charging protection method in the fast charging mode described in the embodiment of the present application is applied to a charging device, and the method includes: obtaining an initial power of a target battery; when the initial power is lower than a preset power, determining a target fast charging mode corresponding to the target battery, the target fast charging mode corresponding to the initial fast charging power; fast charging the target battery with the initial fast charging power in the target fast charging mode by the charging device; during the fast charging process, obtaining charging current data of the target battery in a preset time period to obtain target charging current data; determining a maximum current value in the target charging current data to obtain a first current value; and when the first current value is not within the first preset When the current range is set, the target abnormality probability of the target battery is determined according to the target fast charging mode and the target charging current data; the initial fast charging power is adjusted according to the target abnormality probability to obtain the target fast charging power; the charging device is controlled to fast charge the target battery with the target fast charging power to make the target battery reach a fully charged state to protect the charging safety of the target battery. In this way, the target abnormality probability of the target battery is determined according to the charging current data of the target battery and the target fast charging mode it is in, and then the charging power of the charging device is adjusted according to the target abnormality probability to avoid overcharging of the target battery, thereby improving the safety of battery fast charging.
[0153] See also Figure 3 , Figure 3 : is a functional unit composition block diagram of a charging protection device 300 in a fast charging mode provided in an embodiment of the present application, which is applied to a charging device. The charging protection device 300 in the fast charging mode includes: an acquisition unit 301, a control unit 302, and a charging unit 303, wherein:
[0154] The acquisition unit 301 is used to acquire the initial power of the target battery;
[0155] The control unit 302 is configured to determine a target fast charging mode corresponding to the target battery when the initial power level is lower than a preset power level, wherein the target fast charging mode corresponds to an initial fast charging power;
[0156] The charging unit 303 is used to fast charge the target battery with the initial fast charging power through the charging device in the target fast charging mode;
[0157] The control unit 302 is also used to obtain the charging current data of the target battery within a preset time period during the fast charging process to obtain the target charging current data; determine the maximum current value in the target charging current data to obtain a first current value; when the first current value is not within a first preset current range, determine the target abnormality probability of the target battery according to the target fast charging mode and the target charging current data; adjust the initial fast charging power according to the target abnormality probability to obtain the target fast charging power;
[0158] The charging unit 303 is further used to control the charging device to fast charge the target battery with the target fast charging power so that the target battery reaches a fully charged state to protect the charging safety of the target battery.
[0159] Optionally, in determining the target abnormality probability of the target battery according to the target fast charging mode and the target charging current data, the control unit 302 is specifically configured to:
[0160] Determine a first current threshold and a second current threshold corresponding to the target battery according to the target fast charging mode; the first current threshold is greater than the second current threshold;
[0161] Sampling the target charging current data to obtain a plurality of sample charging current data; each sample charging current data corresponds to a sampling time;
[0162] Performing curve fitting according to the plurality of sample charging current data and their corresponding sampling times to obtain a target current curve, wherein the horizontal axis of the target current curve is time and the vertical axis is charging current;
[0163] According to the first current threshold and the second current threshold, respectively determine a portion of the current curve where an abnormality exists in the target current curve to obtain a first portion of the current curve and a second portion of the current curve;
[0164] The target abnormality probability is determined according to the first partial current curve and the second partial current curve.
[0165] Optionally, in the aspect of respectively determining the partial current curve having an abnormality in the target current curve according to the first current threshold and the second current threshold to obtain the first partial current curve and the second partial current curve, the control unit 302 is specifically used to:
[0166] intercepting a portion of the target current curve that is greater than the first current threshold value to obtain n segments of the first partial curve, where n is a natural number;
[0167] Determine the duration corresponding to each first partial curve in the n first partial curves to obtain n first durations;
[0168] Select the n first durations that are greater than the first preset duration to obtain m first durations, where m is a natural number less than or equal to n;
[0169] splicing the m first partial curves corresponding to the m first durations in chronological order to obtain the first partial current curve;
[0170] A portion of the target current curve that is less than the second current threshold is determined to obtain the second portion of the current curve.
[0171] Optionally, in determining the target abnormality probability according to the first partial current curve and the second partial current curve, the control unit 302 is specifically configured to:
[0172] Fitting the first portion of the current curve and the second portion of the current curve to obtain a first portion of the current straight line and a second portion of the current straight line;
[0173] Determining a first slope corresponding to the first portion of the current straight line;
[0174] Determine the sample charging current data corresponding to the first part of the current straight line among the plurality of sample charging current data, and obtain at least one sample charging current data;
[0175] determining a first mean square error based on the at least one sample charging current data;
[0176] Determining a deviation between the first slope and a preset slope to obtain a first deviation;
[0177] Determining a first reference abnormality probability according to the first deviation;
[0178] Determine a first influencing factor corresponding to the first mean square error; determine a second influencing factor corresponding to the target fast charging mode;
[0179] Determine a first abnormality probability according to the first reference abnormality probability, the first influencing factor, and the second influencing factor;
[0180] Determine a second abnormal probability corresponding to the second portion of the current straight line;
[0181] The target abnormality probability is determined according to the first abnormality probability and the second abnormality probability.
[0182] Optionally, in the aspect of fitting the first partial current curve and the second partial current curve to obtain the first partial current straight line and the second partial current straight line, the control unit 302 is specifically configured to:
[0183] Sampling the first portion of the current curve at a first preset time interval to obtain a plurality of first sampling points and a plurality of first sampling times;
[0184] Combining the plurality of first sampling points and the plurality of first sampling times to obtain a plurality of first coordinate points;
[0185] Perform straight line fitting according to the plurality of first coordinate points to obtain the first part of the current straight line;
[0186] Sampling the second portion of the current curve at a second preset time interval to obtain a plurality of second sampling points and a plurality of second sampling times;
[0187] Combining the plurality of second sampling points and the plurality of second sampling times to obtain a plurality of second coordinate points;
[0188] The second portion of the current straight line is obtained by performing straight line fitting according to the plurality of second coordinate points.
[0189] Optionally, in determining the target abnormality probability according to the first abnormality probability and the second abnormality probability, the control unit 302 is specifically configured to:
[0190] Obtaining the duration of the first portion of the current straight line to obtain a first target duration;
[0191] Obtaining the duration of the second portion of the current straight line to obtain a second target duration;
[0192] determining a ratio between the first target duration and the second target duration to obtain a target ratio;
[0193] Determine a first weight corresponding to the first abnormal probability and a second weight corresponding to the second abnormal probability according to the target ratio;
[0194] The target abnormality probability is determined according to the first abnormality probability, the second abnormality probability, the first weight, and the second weight.
[0195] Optionally, in adjusting the initial fast charging power according to the target abnormality probability to obtain the target fast charging power, the control unit 302 is specifically configured to:
[0196] When the target abnormal probability is less than or equal to a first preset abnormal probability, obtaining a target current mean value corresponding to the target charging current data;
[0197] Determine a difference between the target current mean and a preset current mean to obtain a target difference;
[0198] Determine the fast charging power that needs to be adjusted for the charging device according to the target difference, and obtain a reference fast charging power to be adjusted;
[0199] Obtaining a current value corresponding to the target battery at the current moment to obtain a second current value;
[0200] Determine an optimization factor corresponding to the second current value to obtain a target optimization factor;
[0201] Optimizing the reference fast charging power to be adjusted according to the target optimization factor to obtain a target fast charging power to be adjusted;
[0202] The initial fast charging power is adjusted according to the target fast charging power to be adjusted to obtain the target fast charging power.
[0203] Optionally, the charging protection device 300 in the fast charging mode is further specifically used for:
[0204] Obtaining the power of the target battery at a preset time to obtain a target power; the preset time is later than the end time of the preset time period;
[0205] When the target power is greater than or equal to the preset power, controlling the charging device to stop fast charging;
[0206] When the target power is less than the preset power, the charging device is controlled to continue fast charging the target battery at the target fast charging power.
[0207] It can be understood that the functions of each unit module of the charging protection device 300 in the fast charging mode of this embodiment can be specifically implemented according to the method in the above method embodiment, and its specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.
[0208] See also Figure 4 , Figure 4 is a schematic diagram of the structure of a charging device provided in an embodiment of the present application, such as Figure 4 As shown, the charging device includes a processor, a memory, a communication interface, and one or more programs. The one or more programs are stored in the memory and are configured to be executed by the processor. In the embodiment of the present application, the program includes instructions for executing the following steps:
[0209] Get the initial power of the target battery;
[0210] When the initial power level is lower than a preset power level, determining a target fast charging mode corresponding to the target battery, the target fast charging mode corresponding to the initial fast charging power;
[0211] Performing fast charging of the target battery with the initial fast charging power by the charging device in the target fast charging mode;
[0212] During the fast charging process, acquiring charging current data of the target battery within a preset time period to obtain target charging current data;
[0213] Determine a maximum current value in the target charging current data to obtain a first current value;
[0214] When the first current value is not within a first preset current range, determining a target abnormal probability of the target battery according to the target fast charging mode and the target charging current data;
[0215] Adjust the initial fast charging power according to the target abnormal probability to obtain a target fast charging power;
[0216] The charging device is controlled to fast charge the target battery with the target fast charging power so that the target battery reaches a fully charged state to protect the charging safety of the target battery.
[0217] Optionally, in determining the target abnormality probability of the target battery according to the target fast charging mode and the target charging current data, the program further includes instructions for executing the following steps:
[0218] Determine a first current threshold and a second current threshold corresponding to the target battery according to the target fast charging mode; the first current threshold is greater than the second current threshold;
[0219] Sampling the target charging current data to obtain a plurality of sample charging current data; each sample charging current data corresponds to a sampling time;
[0220] Performing curve fitting according to the plurality of sample charging current data and their corresponding sampling times to obtain a target current curve, wherein the horizontal axis of the target current curve is time and the vertical axis is charging current;
[0221] According to the first current threshold and the second current threshold, respectively determine a portion of the current curve where an abnormality exists in the target current curve to obtain a first portion of the current curve and a second portion of the current curve;
[0222] The target abnormality probability is determined according to the first partial current curve and the second partial current curve.
[0223] Optionally, in the aspect of respectively determining the partial current curve having an abnormality in the target current curve according to the first current threshold and the second current threshold to obtain the first partial current curve and the second partial current curve, the program further includes instructions for executing the following steps:
[0224] intercepting a portion of the target current curve that is greater than the first current threshold value to obtain n segments of the first partial curve, where n is a natural number;
[0225] Determine the duration corresponding to each first partial curve in the n first partial curves to obtain n first durations;
[0226] Select the n first durations that are greater than the first preset duration to obtain m first durations, where m is a natural number less than or equal to n;
[0227] splicing the m first partial curves corresponding to the m first durations in chronological order to obtain the first partial current curve;
[0228] A portion of the target current curve that is less than the second current threshold is determined to obtain the second portion of the current curve.
[0229] Optionally, in determining the target abnormality probability according to the first partial current curve and the second partial current curve, the program further includes instructions for executing the following steps:
[0230] Fitting the first portion of the current curve and the second portion of the current curve to obtain a first portion of the current straight line and a second portion of the current straight line;
[0231] Determining a first slope corresponding to the first portion of the current straight line;
[0232] Determine the sample charging current data corresponding to the first part of the current straight line among the plurality of sample charging current data, and obtain at least one sample charging current data;
[0233] determining a first mean square error based on the at least one sample charging current data;
[0234] Determining a deviation between the first slope and a preset slope to obtain a first deviation;
[0235] Determining a first reference abnormality probability according to the first deviation;
[0236] Determine a first influencing factor corresponding to the first mean square error; determine a second influencing factor corresponding to the target fast charging mode;
[0237] Determine a first abnormality probability according to the first reference abnormality probability, the first influencing factor, and the second influencing factor;
[0238] Determine a second abnormal probability corresponding to the second portion of the current straight line;
[0239] The target abnormality probability is determined according to the first abnormality probability and the second abnormality probability.
[0240] Optionally, in the aspect of fitting the first partial current curve and the second partial current curve to obtain a first partial current straight line and a second partial current straight line, the program further includes instructions for executing the following steps:
[0241] Sampling the first portion of the current curve at a first preset time interval to obtain a plurality of first sampling points and a plurality of first sampling times;
[0242] Combining the plurality of first sampling points and the plurality of first sampling times to obtain a plurality of first coordinate points;
[0243] Perform straight line fitting according to the plurality of first coordinate points to obtain the first part of the current straight line;
[0244] Sampling the second portion of the current curve at a second preset time interval to obtain a plurality of second sampling points and a plurality of second sampling times;
[0245] Combining the plurality of second sampling points and the plurality of second sampling times to obtain a plurality of second coordinate points;
[0246] The second portion of the current straight line is obtained by performing straight line fitting according to the plurality of second coordinate points.
[0247] Optionally, in determining the target abnormality probability according to the first abnormality probability and the second abnormality probability, the program further includes instructions for executing the following steps:
[0248] Obtaining the duration of the first portion of the current straight line to obtain a first target duration;
[0249] Obtaining the duration of the second portion of the current straight line to obtain a second target duration;
[0250] determining a ratio between the first target duration and the second target duration to obtain a target ratio;
[0251] Determine a first weight corresponding to the first abnormal probability and a second weight corresponding to the second abnormal probability according to the target ratio;
[0252] The target abnormality probability is determined according to the first abnormality probability, the second abnormality probability, the first weight, and the second weight.
[0253] Optionally, in terms of adjusting the initial fast charging power according to the target abnormal probability to obtain a target fast charging power, the program further includes instructions for executing the following steps:
[0254] When the target abnormal probability is less than or equal to a first preset abnormal probability, obtaining a target current mean value corresponding to the target charging current data;
[0255] Determine a difference between the target current mean and a preset current mean to obtain a target difference;
[0256] Determine the fast charging power that needs to be adjusted for the charging device according to the target difference, and obtain a reference fast charging power to be adjusted;
[0257] Obtaining a current value corresponding to the target battery at the current moment to obtain a second current value;
[0258] Determine an optimization factor corresponding to the second current value to obtain a target optimization factor;
[0259] Optimizing the reference fast charging power to be adjusted according to the target optimization factor to obtain a target fast charging power to be adjusted;
[0260] The initial fast charging power is adjusted according to the target fast charging power to be adjusted to obtain the target fast charging power.
[0261] Optionally, the program further includes instructions for executing the following steps:
[0262] Obtaining the power of the target battery at a preset time to obtain a target power; the preset time is later than the end time of the preset time period;
[0263] When the target power is greater than or equal to the preset power, controlling the charging device to stop fast charging;
[0264] When the target power is less than the preset power, the charging device is controlled to continue fast charging the target battery at the target fast charging power.
[0265] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps of any method described in the above method embodiments, and the above computer includes a charging device.
[0266] The embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program is operable to cause a computer to execute some or all of the steps of any method described in the above method embodiment. The computer program product can be a software installation package, and the computer includes a charging device.
[0267] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0268] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0269] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the above-mentioned units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0270] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0271] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0272] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or CD-ROM and other media that can store program codes.
[0273] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A charging protection method in fast charging mode, characterized in that: Applied to a charging device, the method comprises: Get the initial power of the target battery; When the initial power level is lower than a preset power level, determining a target fast charging mode corresponding to the target battery, the target fast charging mode corresponding to the initial fast charging power; Performing fast charging of the target battery with the initial fast charging power by the charging device in the target fast charging mode; During the fast charging process, acquiring charging current data of the target battery within a preset time period to obtain target charging current data; Determine a maximum current value in the target charging current data to obtain a first current value; When the first current value is not within a first preset current range, determining a target abnormal probability of the target battery according to the target fast charging mode and the target charging current data; Adjust the initial fast charging power according to the target abnormal probability to obtain a target fast charging power; Controlling the charging device to fast charge the target battery at the target fast charging power so that the target battery reaches a fully charged state to protect the charging safety of the target battery; Wherein, determining the target abnormal probability of the target battery according to the target fast charging mode and the target charging current data includes: Determine a first current threshold and a second current threshold corresponding to the target battery according to the target fast charging mode; the first current threshold is greater than the second current threshold; Sampling the target charging current data to obtain a plurality of sample charging current data; each sample charging current data corresponds to a sampling time; Performing curve fitting according to the plurality of sample charging current data and their corresponding sampling times to obtain a target current curve, wherein the horizontal axis of the target current curve is time and the vertical axis is charging current; According to the first current threshold and the second current threshold, respectively determine a portion of the current curve where an abnormality exists in the target current curve to obtain a first portion of the current curve and a second portion of the current curve; The target abnormality probability is determined according to the first partial current curve and the second partial current curve.
2. The method according to claim 1, characterized in that The step of respectively determining a portion of the target current curve where an abnormality exists according to the first current threshold and the second current threshold to obtain a first portion of the current curve and a second portion of the current curve includes: intercepting a portion of the target current curve that is greater than the first current threshold value to obtain n segments of the first partial curve, where n is a natural number; Determine the duration corresponding to each first partial curve in the n first partial curves to obtain n first durations; Select the n first durations that are greater than the first preset duration to obtain m first durations, where m is a natural number less than or equal to n; splicing the m first partial curves corresponding to the m first durations in chronological order to obtain the first partial current curve; A portion of the target current curve that is less than the second current threshold is determined to obtain the second portion of the current curve.
3. The method according to claim 1, characterized in that The determining the target abnormality probability according to the first partial current curve and the second partial current curve includes: Fitting the first portion of the current curve and the second portion of the current curve to obtain a first portion of the current straight line and a second portion of the current straight line; Determining a first slope corresponding to the first portion of the current straight line; Determine the sample charging current data corresponding to the first part of the current straight line among the plurality of sample charging current data, and obtain at least one sample charging current data; determining a first mean square error based on the at least one sample charging current data; Determining a deviation between the first slope and a preset slope to obtain a first deviation; Determining a first reference abnormality probability according to the first deviation; Determine a first influencing factor corresponding to the first mean square error; determine a second influencing factor corresponding to the target fast charging mode; Determine a first abnormality probability according to the first reference abnormality probability, the first influencing factor, and the second influencing factor; Determine a second abnormal probability corresponding to the second portion of the current straight line; The target abnormality probability is determined according to the first abnormality probability and the second abnormality probability.
4. The method according to claim 3, characterized in that The fitting of the first current curve and the second current curve to obtain a first current straight line and a second current straight line comprises: Sampling the first portion of the current curve at a first preset time interval to obtain a plurality of first sampling points and a plurality of first sampling times; Combining the plurality of first sampling points and the plurality of first sampling times to obtain a plurality of first coordinate points; Perform straight line fitting according to the plurality of first coordinate points to obtain the first part of the current straight line; Sampling the second portion of the current curve at a second preset time interval to obtain a plurality of second sampling points and a plurality of second sampling times; Combining the plurality of second sampling points and the plurality of second sampling times to obtain a plurality of second coordinate points; The second portion of the current straight line is obtained by performing straight line fitting according to the plurality of second coordinate points.
5. The method according to claim 3, characterized in that The determining the target abnormality probability according to the first abnormality probability and the second abnormality probability includes: Obtaining the duration of the first portion of the current straight line to obtain a first target duration; Obtaining the duration of the second portion of the current straight line to obtain a second target duration; determining a ratio between the first target duration and the second target duration to obtain a target ratio; Determine a first weight corresponding to the first abnormal probability and a second weight corresponding to the second abnormal probability according to the target ratio; The target abnormality probability is determined according to the first abnormality probability, the second abnormality probability, the first weight, and the second weight.
6. The method according to any one of claims 1 to 5, characterized in that: The adjusting the initial fast charging power according to the target abnormal probability to obtain a target fast charging power includes: When the target abnormal probability is less than or equal to a first preset abnormal probability, obtaining a target current mean value corresponding to the target charging current data; Determine a difference between the target current mean and a preset current mean to obtain a target difference; Determine the fast charging power that needs to be adjusted for the charging device according to the target difference, and obtain a reference fast charging power to be adjusted; Obtaining a current value corresponding to the target battery at the current moment to obtain a second current value; Determine an optimization factor corresponding to the second current value to obtain a target optimization factor; Optimizing the reference fast charging power to be adjusted according to the target optimization factor to obtain a target fast charging power to be adjusted; The initial fast charging power is adjusted according to the target fast charging power to be adjusted to obtain the target fast charging power.
7. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Obtaining the power of the target battery at a preset time to obtain a target power; the preset time is later than the end time of the preset time period; When the target power is greater than or equal to the preset power, controlling the charging device to stop fast charging; When the target power is less than the preset power, the charging device is controlled to continue fast charging the target battery at the target fast charging power.
8. A charging protection device in fast charging mode, characterized in that: Applied to charging equipment, the device comprises: an acquisition unit, a control unit, and a charging unit, wherein: The acquisition unit is used to acquire the initial power of the target battery; The control unit is used to determine a target fast charging mode corresponding to the target battery when the initial power is lower than a preset power, and the target fast charging mode corresponds to an initial fast charging power; The charging unit is used to fast charge the target battery with the initial fast charging power through the charging device in the target fast charging mode; The control unit is further used to obtain the charging current data of the target battery within a preset time period during the fast charging process to obtain the target charging current data; determine the maximum current value in the target charging current data to obtain a first current value; when the first current value is not within a first preset current range, determine the target abnormality probability of the target battery according to the target fast charging mode and the target charging current data; adjust the initial fast charging power according to the target abnormality probability to obtain the target fast charging power; The charging unit is further used to control the charging device to fast charge the target battery with the target fast charging power so that the target battery reaches a fully charged state to protect the charging safety of the target battery; Wherein, in determining the target abnormal probability of the target battery according to the target fast charging mode and the target charging current data, the control unit is specifically used to: Determine a first current threshold and a second current threshold corresponding to the target battery according to the target fast charging mode; the first current threshold is greater than the second current threshold; Sampling the target charging current data to obtain a plurality of sample charging current data; each sample charging current data corresponds to a sampling time; Performing curve fitting according to the plurality of sample charging current data and their corresponding sampling times to obtain a target current curve, wherein the horizontal axis of the target current curve is time and the vertical axis is charging current; According to the first current threshold and the second current threshold, respectively determine a portion of the current curve where an abnormality exists in the target current curve to obtain a first portion of the current curve and a second portion of the current curve; The target abnormality probability is determined according to the first partial current curve and the second partial current curve.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Charging device and method supporting multi-port PD fast charging power dynamic adjustment
CN116131414A
Charging power self-adaptive adjustment method for intelligent equipment
CN117543780A