Method and device for determining power supply duration of battery and vehicle
By obtaining the difference between the current state of charge (SOC) value of the battery and a preset limit value, it is determined whether the battery should stop supplying power, and the rate of change of SOC is calculated. This solves the problem that users cannot accurately plan their power consumption and enables accurate determination of the battery's power supply duration.
Patent Information
- Application Number
- CN202311101400.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-29
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2043-08-29
AI Technical Summary
Users cannot intuitively understand how long the available power of a new energy vehicle's battery can support the current load, leading to inaccurate power planning.
By obtaining the difference between the current state of charge (SOC) value of the battery and a preset threshold value, it is determined whether the battery should stop supplying power. When the battery is fully charged, the rate of change of SOC is calculated based on the SOC value over a past period to determine the duration of the battery's external power supply.
It enables accurate calculation of the battery's external power supply duration, simplifies data processing, reduces data jumps, and provides accurate power planning data.
Smart Images

Figure CN116901784B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of battery, in particular to a method for determining the duration of battery external power supply, a device for determining the duration of battery external power supply, an electronic device, a machine readable storage medium and a vehicle. BACKGROUND
[0002] The current new energy vehicle is developing rapidly, and the penetration rate of new energy vehicles is also increasing year by year. New energy vehicles have large-capacity battery packs, which have natural advantages in external power supply. Compared with the cigarette lighter power supply provided by traditional fuel vehicles, new energy vehicles can provide 220V-50Hz household alternating current power supply, meeting the needs of users for outdoor power supply, such as power supply for Pad, computer, induction cooker, coffee machine and other vehicles.
[0003] When the new energy vehicle supplies power externally, the power of the power battery pack will be consumed, which will reduce the cruising range of the vehicle. At present, most new energy vehicles support setting a discharge limit when discharging, that is, when the external power supply decreases to the discharge limit, the external power supply will be stopped to solve the problem of reserved power returning. SUMMARY
[0004] One of the purposes of the present application is to provide a method for determining the duration of battery external power supply to solve the problem that users cannot intuitively understand how long the available power of the vehicle battery can support the current load when using new energy vehicles for external power supply, and cannot accurately plan power consumption.
[0005] In order to achieve the above purpose, the technical scheme adopted by the present application is as follows:
[0006] A method for determining the duration of battery external power supply, the method comprising:
[0007] During the process of battery external power supply, the current state of charge value of the battery is obtained;
[0008] If the current state of charge value is less than or equal to the preset limit value, the battery is controlled to stop external power supply, and if the current state of charge value is greater than the preset limit value, the available state of charge value is determined based on the current state of charge value and the preset limit value;
[0009] A plurality of state of charge values of the battery in a past time period are obtained;
[0010] determine a state of charge change rate based on a plurality of state of charge values in a past time period;
[0011] determine an external power supply duration of the battery based on the state of charge change rate and the available state of charge value.
[0012] According to the above technical means, in the process of using the vehicle and the battery to supply power externally, the current state of charge value of the battery is obtained, the discharge control is performed according to the difference between the current state of charge value of the battery and the preset limit value, if the current state of charge value is less than or equal to the preset limit value, it means that the power in the battery is low, and the battery is controlled to stop supplying power externally to protect the battery; if the current state of charge value is greater than the preset limit value, it means that the power in the battery is high, the total available state of charge value in the battery is calculated, and the state of charge change rate is determined based on a plurality of state of charge values in a past time period, and the external power supply duration of the battery is finally accurately determined based on the state of charge change rate and the available state of charge value.
[0013] Further, the method further comprises:
[0014] displaying the external power supply duration.
[0015] According to the above technical means, after the external power supply duration of the battery is accurately determined by the above method, the external power supply duration of the battery is displayed, so that the user can timely know the relevant information and plan the power consumption to ensure the endurance of the vehicle.
[0016] Further, determining the available state of charge value based on the current state of charge value and the preset limit value comprises:
[0017] taking the difference between the current state of charge value and the preset limit value as the available state of charge value.
[0018] According to the above technical means, the difference between the current state of charge value and the preset limit value is taken as the available state of charge value, which is simple to calculate and can realize fast and accurate calculation.
[0019] Further, obtaining a plurality of state of charge values of the battery in a past time period comprises:
[0020] taking the current time as a starting point, obtaining a plurality of state of charge values in a past preset time period.
[0021] According to the above technical means, the plurality of state of charge values of the battery in a past time period are taken, and the current time is taken as a starting point, which can ensure that the data obtained is more accurate, so that the external power supply duration of the battery is finally calculated more accurately.
[0022] Further, based on a plurality of state of charge values in a past time period, determining a state of charge change rate, comprising:
[0023] In order of sampling time, calculating the change rate absolute value of the state of charge value at different sampling times in the past preset time period;
[0024] Judging whether the change rate absolute value of the state of charge value in the past preset time period gradually decreases;
[0025] If gradually decreasing, taking the minimum change rate absolute value of the state of charge value as the state of charge change rate, if not gradually decreasing, judging whether the change rate absolute value of the state of charge value in the past preset time period gradually increases;
[0026] If gradually increasing, taking the maximum change rate absolute value of the state of charge value as the state of charge change rate, if not gradually increasing, judging whether the change rate absolute value of the state of charge value at at least consecutive preset sampling times starting from the current time in the reverse order of sampling time is the same;
[0027] If the same, taking the same change rate absolute value of the state of charge value as the state of charge change rate, if different, judging whether the difference between the maximum value and the minimum value of the change rate absolute value of the state of charge value in the past preset time period is greater than or equal to a preset difference value;
[0028] If greater than or equal to the preset difference value, after eliminating the maximum value and the minimum value, taking the average value of the remaining change rate absolute value of the state of charge value as the state of charge change rate, if less than the preset difference value, taking the average value of all change rate absolute values of the state of charge value in the past preset time period as the state of charge change rate.
[0029] According to the above technical means, the state of charge change rate used for calculating the external power supply time of the battery is calculated through the change trend of the change rate absolute value of the state of charge value at different sampling times in the preset time period, and the corresponding calculation is performed according to the actual change, which can ensure that the calculated state of charge change rate is closer to the actual situation, reduces the jump, ensures that the calculated external power supply time of the battery is more accurate, and reduces the jump of data.
[0030] Further, based on the state of charge change rate and the available state of charge value, determining the external power supply time of the battery, comprising:
[0031] Taking the ratio of the available state of charge value and the state of charge change rate as the external power supply time.
[0032] According to the above technical means, the ratio of the available state of charge value and the state of charge change rate is taken as the external power supply time of the battery, the calculation method is simple, and the calculated external power supply time is accurate.
[0033] A device for determining the duration of external power supply of a battery, the device comprising:
[0034] a first data acquisition module configured to acquire a current state of charge value of the battery;
[0035] a determination module configured to, if the current state of charge value is less than or equal to a preset limit value, control the battery to stop supplying power externally, and if the current state of charge value is greater than the preset limit value, determine an available state of charge value based on the current state of charge value and the preset limit value;
[0036] a second data acquisition module configured to acquire a plurality of state of charge values of the battery in a past time period;
[0037] a rate determination module configured to determine a state of charge change rate based on the plurality of state of charge values in the past time period;
[0038] a duration determination module configured to determine the duration of external power supply of the battery based on the state of charge change rate and the available state of charge value.
[0039] An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for determining the duration of external power supply of a battery when executing the computer program.
[0040] A machine-readable storage medium having instructions stored thereon for causing a machine to perform the above-mentioned method for determining the duration of external power supply of a battery.
[0041] A vehicle comprising the above-mentioned device for determining the duration of external power supply of a battery.
[0042] Advantages of the present application:
[0043] (1) The present application determines the difference between the current state of charge value and the preset limit value, and controls the battery to stop supplying power externally when the current state of charge value is less than or equal to the preset limit value, thereby protecting the battery.
[0044] (2) The present application determines the available state of charge value based on the current state of charge value and the preset limit value when the current state of charge value is greater than the preset limit value, acquires a plurality of state of charge values of the battery in a past time period, determines the state of charge change rate, and then determines the duration of external power supply of the battery based on the state of charge change rate and the available state of charge value, thereby having the advantages of simple calculation method, less data jump, accurate calculated duration of external power supply, and providing accurate power planning data for users. BRIEF DESCRIPTION OF DRAWINGS
[0045] Figure 1 The flow chart of the first method for determining the duration of the battery supplying power to the outside provided by the present application is shown in the figure;
[0046] Figure 2 The flow chart of the second method for determining the duration of the battery supplying power to the outside provided by the present application is shown in the figure;
[0047] Figure 3 The flow chart of the method for determining the state of charge change rate provided by the present application is shown in the figure;
[0048] Figure 4 The structural schematic diagram of the device for determining the duration of the battery supplying power to the outside provided by the present application is shown in the figure.
[0049] In the figure, 10 is the first data acquisition module; 20 is the judgment output module; 30 is the second data acquisition module;
[0050] 40 is the change rate determination module; 50 is the duration determination module. DETAILED DESCRIPTION
[0051] The embodiments of the present application will be described below with reference to the accompanying drawings and preferred embodiments, and other advantages and effects of the present application can be easily understood by those skilled in the art from the disclosure herein. The present application can also be implemented or applied in other different specific embodiments, and various modifications or changes can be made to the details herein based on different views and applications without departing from the spirit of the present application. It should be understood that the preferred embodiments are only for illustrating the present application, and are not intended to limit the protection scope of the present application.
[0052] It should be noted that the diagrams provided in the following embodiments only illustrate the basic concept of the present application in a schematic manner, and only the components related to the present application are shown in the diagrams, not the number, shape and size of the components when actually implemented. The actual implementation of each component may be a random change in shape, number and proportion, and the layout pattern of the components may also be more complex.
[0053] Figure 1 The flow chart of the first method for determining the duration of the battery supplying power to the outside provided by the present application is shown in the figure; Figure 2 The flow chart of the second method for determining the duration of the battery supplying power to the outside provided by the present application is shown in the figure; Figure 3 The flow chart of the method for determining the state of charge change rate provided by the present application is shown in the figure; Figure 4 The structural schematic diagram of the device for determining the duration of the battery supplying power to the outside provided by the present application is shown in the figure.
[0054] The present embodiment provides a method for determining the duration of the battery supplying power to the outside, as shown in the figure, the method comprises: Figure 1
[0055] Step 101, in the process of supplying power to the outside by the battery, a current state of charge value of the battery is acquired;
[0056] Step 102, if the current state of charge value is less than or equal to a preset limit value, the battery is controlled to stop supplying power to the outside, and if the current state of charge value is greater than the preset limit value, an available state of charge value is determined based on the current state of charge value and the preset limit value;
[0057] Step 103, a plurality of state of charge values of the battery in a past time period are acquired;
[0058] Step 104, a state of charge change rate is determined based on the plurality of state of charge values in the past time period;
[0059] Step 105, a time length of supplying power to the outside of the battery is determined based on the state of charge change rate and the available state of charge value.
[0060] Specifically, if the current state of charge value is less than or equal to the preset limit value, it means that the battery has low power, and the battery is controlled to stop supplying power to the outside to protect the battery, and no subsequent data acquisition and related calculation steps are performed; when the current state of charge value is greater than the preset limit value, the available state of charge value is determined based on the current state of charge value and the preset limit value, the plurality of state of charge values of the battery in the past time period are acquired, the state of charge change rate is determined based on the plurality of state of charge values in the past time period, and the time length of supplying power to the outside of the battery is determined based on the state of charge change rate and the available state of charge value, so as to reduce the amount of data processing, reduce the working time of the equipment, and improve the service life.
[0061] In the embodiment, the state of charge value (SOC, State Of Charge) of the battery is defined as the ratio of the remaining power of the battery to the rated capacity under the same condition at a certain discharge rate. There are four aspects of significance in its estimation: to maintain the uniformity of battery performance and ultimately achieve the purpose of prolonging the service life of the battery; to avoid over-discharge and over-charge of the battery; to reasonably allocate energy and more effectively utilize limited energy; to predict the remaining driving range of the vehicle.
[0062] Among them, the factors affecting the state of charge of the battery mainly include: charge and discharge rate, charge and discharge times, temperature, self-discharge, battery aging, etc. The state of charge estimation problem of the power battery belongs to a nonlinear estimation problem with high precision requirement, which brings great difficulty to real-time online estimation. The following methods are usually used to acquire the state of charge value (SOC) of the battery:
[0063] 1. Discharge experiment method
[0064] Discharge experiment method is the most reliable estimation method, using constant current for continuous discharge, the product of discharge current and time is the residual capacity; the disadvantage is that it needs a lot of time, the work of the battery is forced to be interrupted. Discharge experiment method is not suitable for electric vehicles in driving, can be used for the maintenance of electric vehicle battery.
[0065] 2. Ampere-hour counting method
[0066] Ampere-hour counting method is the most commonly used estimation method. It simply calculates the energy output from the battery or the energy input into the battery in ampere-hours.
[0067] 3. Open circuit voltage method
[0068] The open circuit voltage of the battery is close in value to the electromotive force of the battery. The linearity of the open circuit voltage of lithium ion battery is not as good as that of lead-acid battery, but its corresponding relationship can also be estimated, especially at the beginning and end of charging, and is often used in combination with ampere-hour counting method; the disadvantage is that it needs long time to stand still to achieve voltage stability; how to determine the standing time is also a problem, so this method is only suitable for electric vehicles in parking state.
[0069] 4. Linear model method.
[0070] Based on the state of charge change, current, voltage and the state of charge at the last time point, a linear equation is established.
[0071] 5. Internal resistance method
[0072] Battery internal resistance has alternating current impedance and direct current internal resistance, which are closely related to the state of charge. The alternating current impedance is greatly affected by temperature, and there is controversy about whether to measure the alternating current impedance after the battery is at rest or in the process of charging and discharging, so it is rarely used in real vehicles. The direct current internal resistance represents the resistance of the battery to direct current, which is equal to the ratio of the change of battery voltage to the change of current in the same short period of time; the disadvantage is that it is difficult to accurately measure the internal resistance of the battery monomer. Internal resistance method is suitable for the estimation of the battery in the later stage of discharge, and can be used in combination with ampere-hour counting method.
[0073] 6. Kalman filter method
[0074] The state of the power system is optimally estimated in the sense of minimum variance, which is applied to the estimation of the state of charge of the battery. The battery is regarded as a power system, and the state of charge is an internal state of the system.
[0075] 7. Neural network method
[0076] Because the battery is a highly nonlinear system, it is difficult to establish an accurate mathematical model for its charging and discharging process. The neural network method has the basic characteristics of nonlinearity, parallel structure and learning ability, and can give the corresponding output for external excitation, so it can simulate the dynamic characteristics of the battery to estimate the state of charge. The neural network method is suitable for various batteries.
[0077] In another embodiment, the method further comprises: displaying the duration of external power supply.
[0078] Specifically, after obtaining the duration of external power supply of the battery by the above technical solution, the duration of external power supply of the battery is displayed, so that the user can further use electricity according to the displayed duration of external power supply of the battery, thereby avoiding the problem of excessive use of electricity when the power cannot be conveniently supplemented, resulting in reduced vehicle endurance. The duration of external power supply of the battery is displayed by using a vehicle-mounted sound playing device and / or an image display device. The above method is mainly used to visually display the duration of external power supply of the battery obtained by the foregoing method, and one or more devices can be used or combined according to actual conditions. In addition, the method further comprises: after a predetermined period of time, the duration of external power supply is announced by voice to remind the user.
[0079] More specifically, in the present embodiment, the sound device and / or light device and / or display device can at least include: an automobile instrument panel, a central control display screen, a mobile terminal in communication connection with the vehicle, and a server end in communication connection with the vehicle.
[0080] In another embodiment, the method further comprises: when the available state of charge value is displayed, the display method is the same as the method of displaying the duration of external power supply described above. The method further comprises: after a predetermined period of time, the available state of charge value is announced by voice to remind the user.
[0081] In another embodiment, as shown in Figure 2 the method for estimating the external power supply time of a new energy vehicle comprises:
[0082] Step S1, according to the current SOC value of the automobile and the discharge limit SOC value set in the vehicle, the available SOC value of the new energy vehicle for external power supply is calculated;
[0083] Step S2, according to the change value of the SOC of the automobile in a certain period of time in the past, the SOC change slope during external power supply is calculated;
[0084] Step S3, according to the available SOC value for power supply and the SOC change slope, the estimated time for external power supply is calculated;
[0085] Step S4, after obtaining the external power supply duration of the battery, display it in the format of "xx hours xx minutes", and increase the blur or filtering strategy during the display process to prevent the problem of repeated jumping of numerical values.
[0086] Further, determining the available state of charge value based on the current state of charge value and the preset limit value comprises:
[0087] Taking the difference between the current state of charge value and the preset limit value as the available state of charge value.
[0088] Specifically, in the embodiment, the available state of charge value is calculated by the following formula:
[0089] SOC 可用 = SOC 当前 - SOC 界限
[0090] Wherein, SOC 可用 is the available state of charge value; SOC 当前 is the current state of charge value; and SOC 界限 is the preset limit value.
[0091] Further, obtaining a plurality of state of charge values in a past time period of the battery comprises:
[0092] Taking the current time as the starting point, obtaining a plurality of state of charge values in a preset time period in the past.
[0093] Further, as shown in Figure 3 , determining the state of charge change rate based on the plurality of state of charge values in the past time period comprises:
[0094] According to the order of sampling time, calculating the change rate absolute value of the state of charge value at different sampling time in the past preset time period;
[0095] Judging whether the change rate absolute value of the state of charge value in the past preset time period gradually decreases;
[0096] If it gradually decreases, the minimum change rate absolute value of the state of charge value is taken as the state of charge change rate, if it is not gradually decreased, judging whether the change rate absolute value of the state of charge value in the past preset time period gradually increases;
[0097] If it gradually increases, the maximum change rate absolute value of the state of charge value is taken as the state of charge change rate, if it is not gradually increased, judging whether the change rate absolute value of the state of charge value at at least a continuous preset sampling time in reverse order of sampling time is the same;
[0098] If the same, the same state of charge value rate absolute value as the state of charge rate, if different, to determine the past pre-set period of state of charge value rate absolute value of the maximum and minimum difference is greater than or equal to the preset difference value;
[0099] If greater than or equal to the preset difference value, the maximum and minimum after the remaining state of charge value rate absolute value of the average as the state of charge rate, if less than the preset difference value, the past pre-set period of all state of charge value rate absolute value of the average as the state of charge rate.
[0100] Specifically, in the present embodiment, the following formula is used to calculate the rate of change of state of charge value absolute value:
[0101]
[0102] Wherein, k i is the rate of change of state of charge value absolute value; SOC i is the state of charge value at the i sampling moment; SOC i-1 is the state of charge value at the i-1 sampling moment; Δt is the sampling time interval.
[0103] Specifically, in a specific example, such as sampling interval is 1 minute, and with the current sampling time to the past 5 minutes within this period of 5 state of charge value (SOC value), in order of sampling time is 85.8, 85.4, 85.1, 84.9, 84.8, then calculate the past pre-set period of different sampling time of state of charge value rate absolute value is: 0.4, 0.3, 0.2 and 0.1, the past pre-set period of state of charge value rate absolute value gradually decreases, therefore, 0.1 as the state of charge rate.
[0104] Specifically, in a specific example, such as sampling interval is 1 minute, and with the current sampling time to the past 5 minutes within this period of 5 state of charge value (SOC value), in order of sampling time is 85.8, 85.7, 85.5, 85.2, 84.8, then calculate the past pre-set period of different sampling time of state of charge value rate absolute value is: 0.1, 0.2, 0.3 and 0.4, the past pre-set period of state of charge value rate absolute value gradually increases, therefore, 0.4 as the state of charge rate.
[0105] Specifically, in a specific embodiment, if the sampling interval is 1 minute, and the 5 state of charge values (SOC values) within the past 5 minutes from the current sampling time are 85.8, 85.6, 85.5, 85.4, and 85.3 in sequence according to the sampling time, then the absolute values of the state of charge change rates of different sampling times within the past preset time period are 0.3, 0.1, 0.1, and 0.1 in sequence, and the absolute values of the state of charge change rates of at least two consecutive sampling times in reverse order are the same, so 0.1 is taken as the state of charge change rate.
[0106] Specifically, in a specific embodiment, if the sampling interval is 1 minute, and the 5 state of charge values (SOC values) within the past 5 minutes from the current sampling time are 85.8, 85.7, 85.5, 85.1, and 84.8 in sequence according to the sampling time, then the absolute values of the state of charge change rates of different sampling times within the past preset time period are 0.1, 0.2, 0.4, and 0.3 in sequence, and the difference between the maximum and minimum of the absolute values of the state of charge change rates within the past preset time period is greater than or equal to the preset difference value 0.3, so the average value 0.25 of 0.2 and 0.3 is taken as the state of charge change rate.
[0107] Specifically, in a specific embodiment, if the sampling interval is 1 minute, and the 5 state of charge values (SOC values) within the past 5 minutes from the current sampling time are 85.8, 85.7, 85.5, 85.4, and 85.2 in sequence according to the sampling time, then the absolute values of the state of charge change rates of different sampling times within the past preset time period are 0.1, 0.2, 0.1, and 0.2 in sequence, and the difference between the maximum and minimum of the absolute values of the state of charge change rates within the past preset time period is greater than or equal to the preset difference value 0.3, so the average value 0.15 of 0.1, 0.2, 0.1, and 0.2 is taken as the state of charge change rate.
[0108] More specifically, in general cases, the value of k is greater than zero, and if k is equal to zero, it indicates that the vehicle (battery) is not supplying power to the outside. If the calculated state of charge change rate is zero, the display of the power supply duration to the outside is not performed at this time.
[0109] Further, based on the state of charge change rate and the available state of charge value, the power supply duration of the battery to the outside is determined, including:
[0110] The ratio of the available state of charge value to the state of charge change rate is taken as the power supply duration to the outside.
[0111] Specifically, in the present embodiment, the power supply duration of the battery to the outside is calculated by the following calculation formula:
[0112]
[0113] wherein, T is the external power supply duration of the battery; SOC 可用 is the available state of charge value; k is the state of charge change rate.
[0114] The embodiment provides a device for determining the external power supply duration of a battery, as shown in the figure, the device comprises: Figure 4
[0115] A first data acquisition module 10 is configured to acquire a current state of charge value of the battery.
[0116] A judgment output module 20 is configured to control the battery to stop external power supply when the current state of charge value is less than or equal to a preset limit value, and determine an available state of charge value based on the current state of charge value and the preset limit value when the current state of charge value is greater than the preset limit value.
[0117] A second data acquisition module 30 is configured to acquire a plurality of state of charge values of the battery in a past time period.
[0118] A change rate determination module 40 is configured to determine a state of charge change rate based on the plurality of state of charge values in the past time period.
[0119] A duration determination module 50 is configured to determine the external power supply duration of the battery based on the state of charge change rate and the available state of charge value.
[0120] The embodiment provides an electronic device, which comprises a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the processor implements the above-mentioned method for determining the external power supply duration of a battery when executing the computer program.
[0121] The embodiment provides a machine readable storage medium, which stores instructions for causing a machine to execute the above-mentioned method for determining the external power supply duration of a battery.
[0122] The embodiment provides a vehicle, which comprises the above-mentioned device for determining the external power supply duration of a battery.
[0123] The above-mentioned embodiments are only preferred embodiments for fully illustrating the present application, and the protection scope of the present application is not limited thereto. Any equivalent substitution or transformation of the present application made by those skilled in the art based on the present application is within the protection scope of the present application.
[0124] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above-mentioned division of each functional unit and module is exemplified, and in actual application, the above-mentioned functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit. In addition, the specific names of each functional unit and module are only for mutual distinction, and do not limit the protection scope of the present application.
Claims
1. A method for determining the duration of battery power supply, characterized in that, The method includes: During the process of the battery supplying power to the outside world, the current state of charge value of the battery is obtained; If the current state of charge value is less than or equal to a preset limit value, the battery is controlled to stop supplying power. If the current state of charge value is greater than the preset limit value, the available state of charge value is determined based on the current state of charge value and the preset limit value. Obtain multiple state-of-charge values of the battery over a past time period, including: Starting from the current moment, obtain multiple state of charge values within a preset time period in the past; Based on multiple state-of-charge values over a past time period, determine the rate of change of state of charge, including: Calculate the absolute value of the rate of change of the state of charge value at different sampling times within a preset time period, according to the order of sampling times. Determine whether the absolute value of the rate of change of the state of charge value has gradually decreased over a preset time period. If it gradually decreases, the absolute value of the rate of change of the minimum state of charge value is taken as the rate of change of state of charge; if it does not gradually decrease, it is determined whether the absolute value of the rate of change of state of charge value in the past preset time period gradually increases. If it gradually increases, the absolute value of the rate of change of the largest state of charge value is taken as the rate of change of the state of charge. If it does not gradually increase, it is determined whether the absolute values of the rate of change of the state of charge value are the same for at least a preset number of consecutive sampling times, starting from the current time and following the reverse order of the sampling times. If they are the same, then the absolute value of the rate of change of the same state of charge value is taken as the rate of change of state of charge; if they are different, then it is determined whether the difference between the maximum and minimum values of the absolute values of the rate of change of state of charge values in the past preset time period is greater than or equal to a preset difference. If the difference is greater than or equal to the preset difference, the average of the absolute values of the remaining rates of change of the state of charge values is taken as the rate of change of the state of charge after removing the maximum and minimum values. If the difference is less than the preset difference, the average of the absolute values of the rates of change of the state of charge values in the past preset time period is taken as the rate of change of the state of charge. Based on the rate of change of state of charge and the available state of charge value, the battery's external power supply duration is determined.
2. The method for determining the battery's external power supply duration according to claim 1, characterized in that, The method further includes: The duration of external power supply is displayed.
3. The method for determining the battery's external power supply duration according to claim 1, characterized in that, Determining the available state of charge value based on the current state of charge value and the preset threshold value includes: The difference between the current state of charge value and the preset limit value is used as the available state of charge value.
4. The method for determining the battery's external power supply duration according to claim 1, characterized in that, Based on the rate of change of state of charge and the available state of charge value, the duration of external power supply of the battery is determined, including: The ratio of the available state of charge value to the rate of change of state of charge is used as the duration of external power supply.
5. A device for determining the duration of battery power supply, used to execute the method for determining the duration of battery power supply according to any one of claims 1-4, characterized in that, The device includes: The first data acquisition module is used to acquire the current state of charge value of the battery; The judgment output module is used to control the battery to stop supplying power when the current state of charge value is less than or equal to a preset limit value, and to determine the available state of charge value based on the current state of charge value and the preset limit value when the current state of charge value is greater than the preset limit value. The second data acquisition module is used to acquire multiple state of charge values of the battery over a past time period. The rate of change determination module is used to determine the rate of change of state of charge based on multiple state of charge values over a past time period. The duration determination module is used to determine the battery's external power supply duration based on the rate of change of state of charge and the available state of charge value.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method for determining the battery power supply duration as described in any one of claims 1-4.
7. A machine-readable storage medium, characterized in that, The machine-readable storage medium stores instructions for causing the machine to perform the method for determining the duration of battery power supply as described in any one of claims 1-4.
8. A vehicle, characterized in that, The device for determining the duration of battery power supply as described in claim 5.
Citation Information
Patent Citations
Method and device for estimating available time for battery
CN103328996A