Battery endurance mileage prediction method and device, computer equipment and storage medium
By dynamically adjusting the power consumption coefficient, considering driving speed changes and driving habits, and calculating the battery range in real time, the problem of inflated results of traditional methods is solved, and a more accurate and close to actual range prediction is achieved.
Patent Information
- Application Number
- CN202411744920.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-29
- Publication Date
- 2025-02-28
AI Technical Summary
The traditional battery range prediction method is static and fails to consider factors such as driving speed changes and driving habits, resulting in the predicted results that may be inflated.
By obtaining the vehicle's calibration power consumption coefficient and current travel distance, dynamically adjusting the power consumption coefficient, considering driving speed changes and driving habits, and calculating the vehicle's cruising range in real time.
It realizes more accurate range prediction, reduces inflated conditions, provides instant range information, adapts to different driving conditions and user habits, and helps users plan their itinerary and charging time reasonably.
Smart Images

Figure CN119535229A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of battery power testing, and in particular to a battery life prediction method, device, computer equipment, computer-readable storage medium, and computer program product. Background Art
[0002] As the popularity of electric vehicles increases, the number of scenarios for driving electric vehicles for long distances increases. The accuracy of vehicle power battery range prediction has become a major concern for electric vehicle users. In traditional battery range prediction methods, vehicle manufacturers generally use calibration test methods to use test data to calculate the ratio of vehicle mileage to power consumption, i.e., the power consumption coefficient per 100 kilometers. The range is calculated from the remaining power and the power consumption coefficient per 100 kilometers.
[0003] However, the current method of calculating the range has certain limitations. The method of calculating the range is static and is always calculated according to the power consumption coefficient per 100 kilometers calibrated by the vehicle manufacturer. It does not consider the impact of factors such as the user's actual usage scenarios, changes in driving speed, and different personal driving habits on the vehicle's power consumption coefficient per 100 kilometers. The range calculated by the traditional method may appear inflated.
[0004] Therefore, there is a need for a battery range prediction method, apparatus, computer device, computer-readable storage medium and computer program product that can more accurately calculate the vehicle battery range in real time. Summary of the invention
[0005] Based on this, it is necessary to provide a battery range prediction method, device, computer equipment, computer-readable storage medium and computer program product that can more accurately calculate the vehicle battery range in real time to address the above technical problems.
[0006] In a first aspect, the present application provides a method for predicting battery life, comprising:
[0007] Get the vehicle's calibrated power consumption coefficient and current travel distance;
[0008] Determining a correction index of the calibrated power consumption coefficient according to the current travel distance and a preset travel distance interval;
[0009] According to the correction index, obtaining the current power consumption coefficient of the vehicle;
[0010] The current battery life of the vehicle is obtained according to the current power consumption coefficient.
[0011] In one of the embodiments, the current travel distance, the current power consumption coefficient and the current battery life are displayed on the vehicle system.
[0012] In one embodiment, determining the correction index of the calibrated power consumption coefficient according to the current travel distance and the preset travel distance interval includes:
[0013] When the current travel distance is not greater than the preset travel distance interval, the correction index of the calibrated power consumption coefficient is 0.
[0014] In one embodiment, determining the correction index of the calibrated power consumption coefficient according to the current travel distance and the preset travel distance interval includes:
[0015] In the case where the current travel distance is greater than the preset travel distance interval, dividing the current travel distance according to the preset travel distance interval to obtain at least one travel sub-distance;
[0016] Obtaining the driving period, remaining battery power and vehicle mileage of at least one sub-distance of the trip respectively;
[0017] A correction index of the calibrated power consumption coefficient is determined according to a driving period of at least one travel sub-distance, a remaining battery charge, and a vehicle mileage.
[0018] In one embodiment, determining the correction index of the calibrated power consumption coefficient according to the driving period of at least one travel sub-distance, the remaining battery power and the vehicle mileage includes:
[0019] According to the travel time periods and vehicle mileage of any two adjacent travel sub-distances, the average speed of the i-th travel sub-distance is calculated;
[0020] According to the remaining battery power and vehicle mileage of any two adjacent travel sub-distances, the power consumption coefficient of the i-th travel sub-distance is calculated;
[0021] According to the average speed and power consumption coefficient of the i-th travel sub-distance, as well as the preset vehicle calibrated speed and the calibrated power consumption coefficient, a correction index of the calibrated power consumption coefficient is calculated.
[0022] In one embodiment, the average speed of the i-th travel distance is calculated as follows:
[0023] ;
[0024] The calculation formula of the power consumption coefficient of the i-th travel distance is:
[0025] ;
[0026] The calculation formula of the correction index of the calibrated power consumption coefficient is:
[0027] ;
[0028] Among them, V i is the average speed of the ith segment of the trip; M i is the vehicle mileage of the i-th trip sub-distance; M i-1 is the vehicle mileage of the i-1th trip sub-distance; T i is the travel period of the ith trip sub-distance; T i-1 D is the travel period of the i-1th sub-distance; i is the power consumption coefficient of the i-th travel distance; E i E is the remaining battery power for the i-th trip distance; i-1 D is the remaining battery power for the i-1th segment of the trip; Δ D is the correction index of the calibrated power consumption coefficient; b is the calibrated power consumption coefficient; V d A speed is calibrated for the vehicle.
[0029] In a second aspect, the present application also provides a battery life prediction device, comprising:
[0030] An acquisition module is used to obtain the calibrated power consumption coefficient and current travel distance of the vehicle;
[0031] A calculation module, used for determining a correction index of the calibrated power consumption coefficient according to the current travel distance and a preset travel distance interval;
[0032] The calculation module is further used to obtain the current power consumption coefficient of the vehicle according to the correction index;
[0033] The calculation module is also used to obtain the current battery life of the vehicle based on the current power consumption coefficient.
[0034] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0035] Get the vehicle's calibrated power consumption coefficient and current travel distance;
[0036] Determining a correction index of the calibrated power consumption coefficient according to the current travel distance and a preset travel distance interval;
[0037] According to the correction index, obtaining the current power consumption coefficient of the vehicle;
[0038] The current battery life of the vehicle is obtained according to the current power consumption coefficient.
[0039] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0040] Get the vehicle's calibrated power consumption coefficient and current travel distance;
[0041] Determining a correction index of the calibrated power consumption coefficient according to the current travel distance and a preset travel distance interval;
[0042] According to the correction index, obtaining the current power consumption coefficient of the vehicle;
[0043] The current battery life of the vehicle is obtained according to the current power consumption coefficient.
[0044] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0045] Get the vehicle's calibrated power consumption coefficient and current travel distance;
[0046] Determining a correction index of the calibrated power consumption coefficient according to the current travel distance and a preset travel distance interval;
[0047] According to the correction index, obtaining the current power consumption coefficient of the vehicle;
[0048] The current battery life of the vehicle is obtained according to the current power consumption coefficient.
[0049] The above-mentioned battery range prediction method, device, computer equipment, computer-readable storage medium and computer program product, by dynamically adjusting the power consumption coefficient, take into account factors such as driving speed changes and personal driving habits in actual use scenarios, so that the prediction of range is closer to reality and the situation of false high can be reduced. The current travel distance and power consumption coefficient of the vehicle can be obtained in real time, so as to update the predicted value of the range in real time and provide the driver with instant range information. Since the method can dynamically adjust the power consumption coefficient according to the actual use of the vehicle, it has strong adaptability and can adapt to different driving conditions and user habits. Accurate range prediction helps users plan their travel and charging time more reasonably, and reduce energy waste caused by overcharging or frequent charging. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0051] FIG1 is a diagram showing an application environment of a method for predicting battery life in one embodiment;
[0052] FIG2 is a schematic diagram of a flow chart of a method for predicting battery life in one embodiment;
[0053] FIG3 is a schematic diagram of a flow chart of a method for predicting battery life in another embodiment;
[0054] FIG4 is a structural block diagram of a battery cruising range prediction device in one embodiment;
[0055] FIG. 5 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0056] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0057] The battery life prediction method provided in the embodiment of the present application can be applied in the application environment shown in FIG1 . The terminal 102 communicates with the server 104 via a network. The data storage system can store data that the server 104 needs to process. The data storage system can be integrated on the server 104, or placed on the cloud or other network servers.
[0058] Server 104 obtains the calibrated power consumption coefficient and current travel distance of the vehicle; determines a correction index of the calibrated power consumption coefficient based on the current travel distance and a preset travel distance interval; obtains the current power consumption coefficient of the vehicle based on the correction index; obtains the current battery life of the vehicle based on the current power consumption coefficient.
[0059] The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices may be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The server 104 may be an independent physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides cloud computing services.
[0060] In an exemplary embodiment, as shown in FIG2 , a battery life prediction method is provided, which is described by taking the method applied to the server in FIG1 as an example, and includes the following steps S202 to S208 . Among them:
[0061] Step S202, obtaining the calibrated power consumption coefficient and current travel distance of the vehicle.
[0062] Specifically, the calibrated power consumption coefficient is a benchmark value calibrated by the vehicle manufacturer (OEM), which indicates the amount of electricity required for a vehicle to travel 100 kilometers under specific test conditions, usually in kilowatt-hours (kWh) / 100 kilometers. This coefficient is obtained by the manufacturer in a standardized test environment and may not fully reflect the power consumption under actual driving conditions.
[0063] The current trip distance refers to the distance the vehicle has traveled since the vehicle was started or the last mileage was calculated. This data changes dynamically and will be updated as the vehicle travels.
[0064] The system first needs to obtain these two key parameters because they are the basis for calculating battery life.
[0065] Step S204, determining a correction index of the calibrated power consumption coefficient according to the current travel distance and the preset travel distance interval.
[0066] Specifically, the preset travel distance interval is a fixed distance value used to divide the entire journey into multiple small intervals. In the present invention, the preset travel distance interval can be set to 5 kilometers. The current travel distance is the actual distance that the vehicle has traveled since the vehicle was started or the power consumption coefficient was last adjusted. The correction index of the calibrated power consumption coefficient is a value calculated based on actual driving conditions and is used to adjust the calibrated power consumption coefficient to make it more accurately reflect the current driving conditions.
[0067] The system can dynamically adjust the calibrated power consumption coefficient according to actual driving conditions, thereby providing a more accurate range prediction. This dynamic adjustment mechanism makes the range prediction more realistic and improves the reliability and practicality of the prediction.
[0068] Step S206, obtaining the current power consumption coefficient of the vehicle according to the correction index.
[0069] Specifically, the correction index is calculated based on the current travel distance and the preset travel distance interval. This correction index reflects the adjustment range from the calibrated power consumption coefficient to the current power consumption coefficient. The system uses this correction index to adjust the calibrated power consumption coefficient to obtain a more accurate current power consumption coefficient. Current power consumption coefficient D n The calculation process is usually as follows: n =D b +D Δ Among them, D Δ D is the correction index of the calibrated power consumption coefficient; b is the calibrated power consumption coefficient.
[0070] The calibrated power consumption factor is corrected by real-time or periodic calculation to adapt to changing driving conditions. By using the adjusted current power consumption factor to calculate the range, it can more accurately reflect the battery consumption of the vehicle under actual driving conditions, thereby providing a more reliable range prediction.
[0071] Step S208, obtaining the current battery life of the vehicle according to the current power consumption coefficient.
[0072] Specifically, the current power consumption coefficient is the power consumption coefficient per 100 kilometers obtained after adjustment based on the actual driving conditions of the vehicle and the calibrated power consumption coefficient. It reflects the amount of electricity required for the vehicle to travel 100 kilometers under current conditions.
[0073] Get the remaining battery power in real time (E n ): The vehicle system monitors and obtains the remaining battery power in real time through the battery management system (BMS), usually in kilowatt-hours (kWh).
[0074] Calculate the cruising range (S): Using the current power consumption coefficient and the remaining battery power, the system can calculate the theoretical maximum cruising range of the vehicle under current conditions. The calculation formula is usually as follows: S=E n / D n .
[0075] In the above-mentioned battery range prediction method, by dynamically adjusting the power consumption coefficient, factors such as driving speed changes and personal driving habits in actual usage scenarios are taken into account, making the prediction of the range closer to reality and reducing the situation of false highs. The current travel distance and power consumption coefficient of the vehicle can be obtained in real time, so as to update the predicted value of the range in real time and provide the driver with instant range information. Since this method can dynamically adjust the power consumption coefficient according to the actual use of the vehicle, it has strong adaptability and can adapt to different driving conditions and user habits. Accurate range prediction helps users plan their travel and charging time more reasonably, and reduce energy waste caused by overcharging or frequent charging.
[0076] In an exemplary embodiment, the current travel distance, the current power consumption factor and the current battery life are displayed on the vehicle system.
[0077] Specifically, the vehicle system (in-vehicle infotainment system) is the main interface for the driver to interact with the vehicle. Displaying this key information on the vehicle system allows the driver to understand the vehicle's energy usage and remaining driving capacity in real time. Displays the distance the vehicle has traveled since it was started or last reset. This information helps the driver understand the journey that has been completed and compare it with the total cruising range. Displays the current power consumption factor adjusted according to real-time driving conditions, reflecting the vehicle's current energy efficiency. The cruising range calculated based on the current power consumption factor and the remaining battery power shows the distance the vehicle can theoretically continue to travel under current conditions. This information can help drivers better plan their journeys, including deciding when and where to stop to charge, thereby avoiding the inconvenience caused by running out of power.
[0078] In this embodiment, accurate range display can reduce the driver's range anxiety and increase confidence in the performance of the electric vehicle. By understanding the current power consumption coefficient, the driver can adjust his driving habits, such as reducing sudden acceleration or deceleration, to reduce energy consumption and extend the range. The intuitive user interface and real-time updated information enhance the user experience and make driving easier and more enjoyable. Ensuring that the driver has a clear understanding of the vehicle's energy status helps avoid potential safety risks caused by insufficient power.
[0079] In an exemplary embodiment, determining a correction index of a calibrated power consumption coefficient according to a current travel distance and a preset travel distance interval includes:
[0080] When the current travel distance is not greater than the preset travel distance interval, the correction index of the calibrated power consumption coefficient is 0.
[0081] Specifically, at the beginning of a trip, when the vehicle has not yet reached a preset trip distance interval (e.g., 5 kilometers), the system defaults to using the power consumption coefficient calibrated by the vehicle manufacturer without any dynamic adjustment. In the early stages of a trip, the system may not have collected enough real-time driving data (such as speed, acceleration, etc.) to accurately and dynamically adjust the power consumption coefficient. At the beginning of a trip, setting the correction index to 0 can simplify the calculation process and avoid making potentially inaccurate adjustments when there is insufficient data. Using the unadjusted calibrated power consumption coefficient provides a conservative range estimate, which helps ensure that the predicted range is not too optimistic at the beginning of a trip. When the trip distance is short, the vehicle may not have entered a stable driving state, and adjusting the power consumption coefficient at this time may introduce errors. Therefore, waiting until the trip distance reaches a certain interval before making adjustments can improve the accuracy of the adjustment. Keeping the power consumption coefficient unchanged in the early stages of a trip helps maintain consistency in vehicle performance until there is enough data to support adjustments. This approach helps manage user expectations and ensures that users do not make unrealistic trip plans at the beginning of a trip due to overly optimistic range predictions. Even if the correction index is 0 at the beginning of the journey, the system can still start collecting data and make necessary adjustments to the power consumption coefficient in subsequent journeys when the vehicle travels a distance that exceeds the preset journey distance interval.
[0082] In this embodiment, setting the correction index to 0 until the vehicle travels a preset trip distance interval is a cautious strategy designed to ensure that no adjustments that may be based on incomplete information are made before sufficient data support is obtained, which helps to provide a stable and conservative range prediction at the beginning of the trip and provide a reliable reference for the driver.
[0083] In an exemplary embodiment, as shown in FIG3 , determining a correction index of the calibrated power consumption coefficient according to the current travel distance and the preset travel distance interval includes:
[0084] Step S302, when the current travel distance is greater than the preset travel distance interval, the current travel distance is divided according to the preset travel distance interval to obtain at least one travel sub-distance;
[0085] Step S304, respectively obtaining the driving time period, the remaining battery power and the vehicle mileage of at least one travel sub-distance;
[0086] Step S306, determining a correction index for the calibrated power consumption coefficient according to the driving period of at least one travel sub-distance, the remaining battery power and the vehicle mileage.
[0087] Specifically, when the vehicle's current travel distance exceeds the preset travel distance interval, the system divides the total travel distance into one or more travel sub-distances according to the preset interval. For example, if the preset travel distance interval is 5 kilometers, and the vehicle has traveled 20 kilometers, the system divides the 20-kilometer journey into four 5-kilometer travel sub-distances. For each travel sub-distance, the system collects relevant driving data, including:
[0088] Travel period: The start and end time of each trip sub-distance.
[0089] Remaining battery power: The battery power at the beginning and end of each trip sub-distance.
[0090] Vehicle mileage: The actual mileage of each trip sub-distance.
[0091] Calculate correction index: Using the collected data, the system will calculate the power consumption of each sub-distance of the trip and then determine the correction index of the calibrated power consumption coefficient. This correction index reflects the difference between the actual power consumption and the calibrated power consumption coefficient and is used to adjust the power consumption coefficient to more accurately predict the range. In this way, the system can dynamically adjust the power consumption coefficient according to the actual power consumption of the vehicle at different sub-distances of the trip to adapt to different driving conditions and habits.
[0092] In this embodiment, by dynamically adjusting the power consumption coefficient, the system can provide a more accurate range prediction to help the driver better plan the trip and charging strategy. The calculated correction index will be used to update the vehicle's power consumption coefficient in real time and reflected in the range display of the vehicle system. The vehicle's battery management system can more accurately reflect the vehicle's energy consumption under different conditions, provide the driver with more reliable range information, and enhance the practicality and user satisfaction of electric vehicles.
[0093] In an exemplary embodiment, determining a correction index of the calibrated power consumption coefficient according to a driving period of at least one travel sub-distance, a remaining battery charge, and a vehicle mileage includes:
[0094] According to the travel time periods and vehicle mileage of any two adjacent travel sub-distances, the average speed of the i-th travel sub-distance is calculated;
[0095] According to the remaining battery power and vehicle mileage of any two adjacent travel sub-distances, the power consumption coefficient of the i-th travel sub-distance is calculated;
[0096] According to the average speed and power consumption coefficient of the i-th travel sub-distance, as well as the preset vehicle calibrated speed and calibrated power consumption coefficient, a correction index of the calibrated power consumption coefficient is calculated.
[0097] Specifically, the average speed reflects how fast a vehicle travels within a specific travel sub-distance, which may be affected by factors such as traffic conditions and road type.
[0098] The power consumption factor reflects the energy efficiency of the vehicle over a specific travel sub-distance, which may be affected by factors such as driving behavior, vehicle load, and climate conditions.
[0099] The correction index combines information about average speed and power consumption coefficient and is used to dynamically adjust the calibrated power consumption coefficient to provide a more accurate range prediction.
[0100] In this embodiment, through this method, the vehicle's battery management system can dynamically adjust the power consumption coefficient according to real-time data, thereby more accurately predicting the range under different driving conditions. This helps drivers better plan their trips and charging strategies, and improves the convenience and reliability of electric vehicles.
[0101] In an exemplary embodiment, the average speed of the i-th travel distance is calculated as follows:
[0102] ;
[0103] The calculation formula for the power consumption coefficient of the i-th travel distance is:
[0104] ;
[0105] The calculation formula for the correction index of the calibrated power consumption coefficient is:
[0106] ;
[0107] Among them, V i is the average speed of the ith segment of the trip; M i is the vehicle mileage of the i-th trip sub-distance; M i-1 is the vehicle mileage of the i-1th trip sub-distance; T i is the travel period of the ith trip sub-distance; T i-1 D is the travel period of the i-1th sub-distance; i is the power consumption coefficient of the i-th travel distance; E i E is the remaining battery power for the i-th trip distance; i-1 D is the remaining battery power for the i-1th segment of the trip; Δ D is the correction index for calibrating the power consumption coefficient; b is the calibration power consumption coefficient; V d Calibrate the speed for the vehicle.
[0108] Specifically, exemplarily, the vehicle calibrated power consumption coefficient (Db): 15 kWh / 100km;
[0109] Vehicle rated speed (V d ): 60 km / h;
[0110] Distance of the first trip (M1): 45 km;
[0111] The second trip sub-distance (M2): data after driving 5 kilometers;
[0112] End time of the first trip sub-distance (T1): 10:00 AM;
[0113] End time of the second trip sub-distance (T2): 10:35 AM;
[0114] Remaining battery capacity for the first trip (E1): 50 kWh;
[0115] Remaining battery capacity for the second trip (E2): 48 kWh;
[0116] According to the above formula, the correction index is calculated as D Δ ≈−0.8817. This correction index is a negative number, which means that the power consumption coefficient needs to be adjusted downward according to the actual driving conditions.
[0117] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0118] Based on the same inventive concept, the embodiment of the present application also provides a battery range prediction device for implementing the battery range prediction method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more battery range prediction device embodiments provided below can refer to the limitations of the battery range prediction method above, and will not be repeated here.
[0119] In an exemplary embodiment, as shown in FIG4 , a battery range prediction device is provided, comprising:
[0120] The acquisition module 402 is used to acquire the calibrated power consumption coefficient and the current travel distance of the vehicle;
[0121] A calculation module 404, for determining a correction index of a calibration power consumption coefficient according to a current travel distance and a preset travel distance interval;
[0122] The calculation module 404 is also used to obtain the current battery life of the vehicle according to the current power consumption coefficient.
[0123] In one embodiment, the display module 406 is used to display the current travel distance, the current power consumption coefficient and the current battery life on the vehicle system.
[0124] In one embodiment, the calculation module 404 is further configured to calibrate the correction index of the power consumption coefficient to 0 when the current travel distance is not greater than a preset travel distance interval.
[0125] In one embodiment, the calculation module 404 is further configured to divide the current travel distance into at least one travel sub-distance according to the preset travel distance interval when the current travel distance is greater than the preset travel distance interval;
[0126] The acquisition module 402 is further used to respectively acquire the travel period, the remaining battery power and the vehicle mileage of at least one travel sub-distance;
[0127] The calculation module 404 is further used to determine a correction index of the calibrated power consumption coefficient according to the driving period of at least one travel sub-distance, the remaining battery power and the vehicle mileage.
[0128] In one embodiment, the calculation module 404 is further used to calculate the average speed of the i-th travel sub-distance according to the driving time periods and vehicle mileage of any two adjacent travel sub-distances; calculate the power consumption coefficient of the i-th travel sub-distance according to the remaining battery power and vehicle mileage of any two adjacent travel sub-distances; calculate the correction index of the calibrated power consumption coefficient according to the average speed and power consumption coefficient of the i-th travel sub-distance, as well as the preset vehicle calibrated speed and calibrated power consumption coefficient.
[0129] In one embodiment, the average speed of the i-th travel distance is calculated as:
[0130] ;
[0131] The calculation formula for the power consumption coefficient of the i-th travel distance is:
[0132] ;
[0133] The calculation formula for the correction index of the calibrated power consumption coefficient is:
[0134] ;
[0135] Among them, V i is the average speed of the ith segment of the trip; M i is the vehicle mileage of the i-th trip sub-distance; M i-1 is the vehicle mileage of the i-1th trip sub-distance; T i is the travel period of the ith trip sub-distance; T i-1 D is the travel period of the i-1th sub-distance; i is the power consumption coefficient of the i-th travel distance; E i E is the remaining battery power for the i-th trip distance; i-1 D is the remaining battery power for the i-1th segment of the trip; Δ D is the correction index for calibrating the power consumption coefficient; b is the calibration power consumption coefficient; V d Calibrate the speed for the vehicle.
[0136] Each module in the above battery range prediction device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.
[0137] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG5. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store the calibrated power consumption coefficient and the current travel distance data of the vehicle. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a battery life prediction method is implemented.
[0138] Those skilled in the art will understand that the structure shown in FIG. 5 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0139] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0140] Get the vehicle's calibrated power consumption coefficient and current travel distance;
[0141] Determine a correction index of the calibrated power consumption coefficient according to the current travel distance and the preset travel distance interval;
[0142] According to the correction index, the current power consumption coefficient of the vehicle is obtained;
[0143] Get the current battery life of the vehicle based on the current power consumption coefficient.
[0144] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0145] The current trip distance, current power consumption coefficient and current battery life are displayed on the vehicle system.
[0146] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0147] When the current travel distance is not greater than the preset travel distance interval, the correction index of the calibrated power consumption coefficient is 0.
[0148] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0149] When the current travel distance is greater than the preset travel distance interval, the current travel distance is divided into at least one travel sub-distance according to the preset travel distance interval;
[0150] Obtaining the driving period, remaining battery power and vehicle mileage of at least one sub-distance of the trip respectively;
[0151] A correction index for the calibrated power consumption coefficient is determined based on a driving period of at least one travel sub-distance, a remaining battery charge, and a vehicle mileage.
[0152] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0153] According to the travel time periods and vehicle mileage of any two adjacent travel sub-distances, the average speed of the i-th travel sub-distance is calculated;
[0154] According to the remaining battery power and vehicle mileage of any two adjacent travel sub-distances, the power consumption coefficient of the i-th travel sub-distance is calculated;
[0155] According to the average speed and power consumption coefficient of the i-th travel sub-distance, as well as the preset vehicle calibrated speed and calibrated power consumption coefficient, a correction index of the calibrated power consumption coefficient is calculated.
[0156] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0157] The calculation formula for the average speed of the i-th segment is:
[0158] ;
[0159] The calculation formula for the power consumption coefficient of the i-th travel distance is:
[0160] ;
[0161] The calculation formula for the correction index of the calibrated power consumption coefficient is:
[0162] ;
[0163] Among them, V i is the average speed of the ith segment of the trip; M i is the vehicle mileage of the i-th trip sub-distance; M i-1 is the vehicle mileage of the i-1th trip sub-distance; T i is the travel period of the ith trip sub-distance; T i-1 D is the travel period of the i-1th sub-distance; i is the power consumption coefficient of the i-th travel distance; E i E is the remaining battery power for the i-th trip distance; i-1 D is the remaining battery power for the i-1th segment of the trip; Δ D is the correction index for calibrating the power consumption coefficient; b is the calibration power consumption coefficient; V d Calibrate the speed for the vehicle.
[0164] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0165] Get the vehicle's calibrated power consumption coefficient and current travel distance;
[0166] Determine a correction index of the calibrated power consumption coefficient according to the current travel distance and the preset travel distance interval;
[0167] According to the correction index, the current power consumption coefficient of the vehicle is obtained;
[0168] Get the current battery life of the vehicle based on the current power consumption coefficient.
[0169] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0170] The current trip distance, current power consumption coefficient and current battery life are displayed on the vehicle system.
[0171] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0172] When the current travel distance is not greater than the preset travel distance interval, the correction index of the calibrated power consumption coefficient is 0.
[0173] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0174] When the current travel distance is greater than the preset travel distance interval, the current travel distance is divided into at least one travel sub-distance according to the preset travel distance interval;
[0175] Obtaining the driving period, remaining battery power and vehicle mileage of at least one sub-distance of the trip respectively;
[0176] A correction index for the calibrated power consumption coefficient is determined based on a driving period of at least one travel sub-distance, a remaining battery charge, and a vehicle mileage.
[0177] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0178] According to the travel time periods and vehicle mileage of any two adjacent travel sub-distances, the average speed of the i-th travel sub-distance is calculated;
[0179] According to the remaining battery power and vehicle mileage of any two adjacent travel sub-distances, the power consumption coefficient of the i-th travel sub-distance is calculated;
[0180] According to the average speed and power consumption coefficient of the i-th travel sub-distance, as well as the preset vehicle calibrated speed and calibrated power consumption coefficient, a correction index of the calibrated power consumption coefficient is calculated.
[0181] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0182] The calculation formula for the average speed of the i-th segment is:
[0183] ;
[0184] The calculation formula for the power consumption coefficient of the i-th travel distance is:
[0185] ;
[0186] The calculation formula for the correction index of the calibrated power consumption coefficient is:
[0187] ;
[0188] Among them, V i is the average speed of the ith segment of the trip; M i is the vehicle mileage of the i-th trip sub-distance; M i-1 is the vehicle mileage of the i-1th trip sub-distance; T i is the travel period of the ith trip sub-distance; T i-1 D is the travel period of the i-1th sub-distance; i is the power consumption coefficient of the i-th travel distance; E i E is the remaining battery power for the i-th trip distance; i-1 D is the remaining battery power for the i-1th segment of the trip; Δ D is the correction index for calibrating the power consumption coefficient; b is the calibration power consumption coefficient; V d Calibrate the speed for the vehicle.
[0189] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0190] Get the vehicle's calibrated power consumption coefficient and current travel distance;
[0191] Determine a correction index of the calibrated power consumption coefficient according to the current travel distance and the preset travel distance interval;
[0192] According to the correction index, the current power consumption coefficient of the vehicle is obtained;
[0193] Get the current battery life of the vehicle based on the current power consumption coefficient.
[0194] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0195] The current trip distance, current power consumption coefficient and current battery life are displayed on the vehicle system.
[0196] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0197] When the current travel distance is not greater than the preset travel distance interval, the correction index of the calibrated power consumption coefficient is 0.
[0198] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0199] When the current travel distance is greater than the preset travel distance interval, the current travel distance is divided into at least one travel sub-distance according to the preset travel distance interval;
[0200] Obtaining the driving period, remaining battery power and vehicle mileage of at least one sub-distance of the trip respectively;
[0201] A correction index for the calibrated power consumption coefficient is determined based on a driving period of at least one travel sub-distance, a remaining battery charge, and a vehicle mileage.
[0202] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0203] According to the travel time periods and vehicle mileage of any two adjacent travel sub-distances, the average speed of the i-th travel sub-distance is calculated;
[0204] According to the remaining battery power and vehicle mileage of any two adjacent travel sub-distances, the power consumption coefficient of the i-th travel sub-distance is calculated;
[0205] According to the average speed and power consumption coefficient of the i-th travel sub-distance, as well as the preset vehicle calibrated speed and calibrated power consumption coefficient, a correction index of the calibrated power consumption coefficient is calculated.
[0206] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0207] The calculation formula for the average speed of the i-th segment is:
[0208] ;
[0209] The calculation formula for the power consumption coefficient of the i-th travel distance is:
[0210] ;
[0211] The calculation formula for the correction index of the calibrated power consumption coefficient is:
[0212] ;
[0213] Among them, V i is the average speed of the ith segment of the trip; M i is the vehicle mileage of the i-th trip sub-distance; Mi-1 is the vehicle mileage of the i-1th trip sub-distance; T i is the travel period of the ith trip sub-distance; T i-1 D is the travel period of the i-1th sub-distance; i is the power consumption coefficient of the i-th travel distance; E i E is the remaining battery power for the i-th trip distance; i-1 D is the remaining battery power for the i-1th segment of the trip; Δ D is the correction index for calibrating the power consumption coefficient; b is the calibration power consumption coefficient; V d Calibrate the speed for the vehicle.
[0214] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0215] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0216] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0217] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for predicting battery life, characterized in that: The method comprises: Get the vehicle's calibrated power consumption coefficient and current travel distance; Determining a correction index of the calibrated power consumption coefficient according to the current travel distance and a preset travel distance interval; According to the correction index, obtaining the current power consumption coefficient of the vehicle; The current battery life of the vehicle is obtained according to the current power consumption coefficient.
2. The method according to claim 1, characterized in that: The method further comprises: The current travel distance, the current power consumption coefficient and the current battery life are displayed on the vehicle system.
3. The method according to claim 1, characterized in that The step of determining the correction index of the calibrated power consumption coefficient according to the current travel distance and the preset travel distance interval includes: When the current travel distance is not greater than the preset travel distance interval, the correction index of the calibrated power consumption coefficient is 0.
4. The method according to claim 1, characterized in that: The step of determining the correction index of the calibrated power consumption coefficient according to the current travel distance and the preset travel distance interval includes: In the case where the current travel distance is greater than the preset travel distance interval, dividing the current travel distance according to the preset travel distance interval to obtain at least one travel sub-distance; Obtaining the driving period, remaining battery power and vehicle mileage of at least one sub-distance of the trip respectively; A correction index of the calibrated power consumption coefficient is determined according to a driving period of at least one travel sub-distance, a remaining battery charge, and a vehicle mileage.
5. The method according to claim 4, characterized in that The step of determining the correction index of the calibrated power consumption coefficient according to the driving period of at least one travel sub-distance, the remaining battery power and the vehicle mileage includes: According to the travel time periods and vehicle mileage of any two adjacent travel sub-distances, the average speed of the i-th travel sub-distance is calculated; According to the remaining battery power and vehicle mileage of any two adjacent travel sub-distances, the power consumption coefficient of the i-th travel sub-distance is calculated; According to the average speed and power consumption coefficient of the i-th travel sub-distance, as well as the preset vehicle calibrated speed and the calibrated power consumption coefficient, a correction index of the calibrated power consumption coefficient is calculated.
6. The method according to claim 5, characterized in that The calculation formula for the average speed of the i-th segment travel distance is: ; The calculation formula of the power consumption coefficient of the i-th travel distance is: ; The calculation formula of the correction index of the calibrated power consumption coefficient is: ; Among them, V i is the average speed of the ith segment of the trip; M i is the vehicle mileage of the i-th trip sub-distance; M i-1 is the vehicle mileage of the i-1th trip sub-distance; T i is the travel period of the ith trip sub-distance; T i-1 D is the travel period of the i-1th sub-distance; i is the power consumption coefficient of the i-th travel distance; E i E is the remaining battery power for the i-th trip distance; i-1 D is the remaining battery power for the i-1th segment of the trip; Δ D is the correction index of the calibrated power consumption coefficient; b is the calibrated power consumption coefficient; V d A speed is calibrated for the vehicle.
7. A battery life prediction device, characterized in that: The device comprises: An acquisition module is used to obtain the calibrated power consumption coefficient and current travel distance of the vehicle; A calculation module, used for determining a correction index of the calibrated power consumption coefficient according to the current travel distance and a preset travel distance interval; The calculation module is further used to obtain the current power consumption coefficient of the vehicle according to the correction index; The calculation module is also used to obtain the current battery life of the vehicle based on the current power consumption coefficient.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.