Endurance mileage prediction method and device, electronic equipment and vehicle
By combining the current operating condition information and historical data of electric vehicles and using the pre-trained mileage prediction model, the problem of large errors in electric vehicle range prediction is solved and higher-precision range prediction is achieved.
Patent Information
- Application Number
- CN202310198783.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-08-27
AI Technical Summary
There is a large error in the prediction of electric vehicle cruising range in the existing technology, and it cannot accurately reflect the actual cruising range during driving.
By obtaining the current working condition information of the vehicle and the remaining battery power percentage, input it into the pre-trained mileage prediction model, combine it with historical data to learn, determine the corresponding relationship between the power percentage and the cruising range, and integrate current and historical data for prediction.
The accuracy of cruising range prediction is improved, taking into account factors such as driving environment and battery performance, making it more accurate than prediction based solely on battery percentage.
Smart Images

Figure CN118544822A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of new energy vehicles, and in particular to a method, device, electronic equipment and vehicle for predicting a cruising range. Background Art
[0002] The cruising range is an important information of electric vehicles during driving, and users need to plan their trips according to the cruising range. Usually, electric vehicles determine the cruising range based on the SOC (remaining power percentage) of the power battery. The cruising range reference value of different SOCs can be determined by counting the actual driving mileage corresponding to different SOCs in the historical driving data. During the driving of the vehicle, the corresponding cruising range reference value is displayed according to the current SOC. However, in the actual driving process, the driving environment of the vehicle, the driver's habits, the power battery performance, etc. will affect the cruising range. Therefore, the cruising range obtained only based on historical data statistics in the prior art has a certain error. Summary of the invention
[0003] The purpose of the present application is to provide a range prediction method, device, electronic device and vehicle to solve the technical problem of large error in the range prediction of electric vehicles in the prior art.
[0004] In a first aspect, the technical solution of the present application provides a method for predicting a cruising range, comprising:
[0005] Get the vehicle's current operating condition information and the current battery remaining power percentage;
[0006] Input any remaining power percentage segmentation information and the current operating condition information into a mileage prediction model, and use the output result of the mileage prediction model as the segmented cruising range prediction value of any remaining power percentage segmentation information; the mileage prediction model is obtained by training a learning model using historical segmentation information of the remaining power percentage of the vehicle battery, historical operating condition information corresponding to the historical segmentation information, and historical cruising range;
[0007] Determine the current remaining battery percentage segment information corresponding to the current remaining battery percentage, and a correspondence model between the battery remaining battery percentage and the remaining cruising range value in the current remaining battery percentage segment information, input the current remaining battery percentage into the correspondence model, and obtain the remaining cruising range value in the current segment corresponding to the current remaining battery percentage;
[0008] The remaining cruising range value in the current segment is combined with the remaining segment cruising range prediction value to obtain the cruising range prediction value of the vehicle.
[0009] In some embodiments of the method for predicting the range of a vehicle, the operating condition information includes at least one of an ambient temperature value, an energy consumption value per 100 kilometers, an average energy consumption value, and an average value of the remaining battery power; and obtaining the current operating condition information of the vehicle includes:
[0010] Obtaining a calculated value of the energy consumption per 100 kilometers of the vehicle under the current travel, and using the calculated value of the energy consumption per 100 kilometers as the energy consumption per 100 kilometers value; and / or,
[0011] Obtaining a calculated average energy consumption value of the vehicle in a first set period of time, and using the calculated average energy consumption value as the average energy consumption value; and / or,
[0012] The average value calculated value of the remaining battery power of the vehicle in the second set time period is obtained, and the average value calculated value of the remaining battery power is used as the average value of the remaining battery power.
[0013] In some embodiments, the method for predicting the cruising range described in the embodiment of the present invention, wherein the remaining cruising range value in the current segment is combined with the remaining segment cruising range prediction value to obtain the predicted cruising range value of the vehicle, comprises:
[0014] Adding the remaining cruising range value in the current segment to the remaining segment cruising range prediction value to obtain an initial mileage prediction value;
[0015] Obtaining a change between the initial mileage prediction value and the previous endurance mileage prediction value as a first change;
[0016] Obtaining a change between the current remaining battery power percentage and the previous remaining battery power percentage as a second change;
[0017] If the variation pattern of the first variation matches that of the second variation, the initial mileage prediction value is used as the cruising range prediction value.
[0018] The method for predicting the cruising range described in some solutions, after obtaining the change between the current remaining battery percentage and the previous remaining battery percentage as the second change, further includes:
[0019] If the variation rules of the first variation amount and the second variation amount do not match, the difference between the previous predicted cruising range value and the preset standard variation amount is used as the predicted cruising range value.
[0020] In some embodiments, the method for predicting the cruising range of a vehicle comprises fusing the remaining cruising range value in the current segment with the remaining segmented cruising range prediction value to obtain the predicted cruising range value of the vehicle, and further comprises:
[0021] If the second change is less than a preset value, the previous range prediction value is used as the range prediction value.
[0022] The range prediction method described in some solutions also includes:
[0023] Get the previous range prediction value;
[0024] If the difference between the predicted cruising range value and the previous predicted cruising range value is less than a difference threshold, the predicted cruising range value is used as the actual cruising range value.
[0025] The range prediction method described in some solutions also includes:
[0026] If the difference between the predicted cruising range and the previous predicted cruising range is greater than or equal to the difference threshold, the actual cruising range is obtained by the following formula:
[0027] If the difference is greater than the set value, then: actual cruising range value = previous cruising range prediction value + difference threshold + correction coefficient × (difference - difference threshold);
[0028] If the difference is less than or equal to the set value, then: actual cruising range value = previous cruising range prediction value - difference threshold + correction coefficient × (difference + difference threshold);
[0029] Wherein, the correction coefficient is less than one.
[0030] The range prediction method described in some solutions,
[0031] The current remaining power percentage segment information corresponding to the current remaining battery power percentage is determined, and a corresponding relationship model between the battery remaining power percentage and the remaining cruising range value in the current remaining power percentage segment information is determined, and the corresponding relationship model is:
[0032] Sr=Sa×[(Si-Smin) / (Smax-Smin)];
[0033] In the above formula, Si represents any battery remaining power percentage in the current remaining power percentage segmented information, Smin represents the minimum battery remaining power percentage in the current remaining power percentage segmented information, and Smax represents the maximum battery remaining power percentage in the current remaining power percentage segmented information; Sa represents the segmented cruising range prediction value corresponding to the current remaining power percentage segmented information, and Sr represents the remaining cruising range value corresponding to Si.
[0034] In a second aspect, the technical solution of the present application provides a cruising range prediction device, comprising:
[0035] An information acquisition module is configured to acquire current operating condition information of the vehicle and current remaining battery power percentage;
[0036] The segmented data calculation module is configured to input any remaining power percentage segmented information and the current operating condition information into a mileage prediction model, and use the output result of the mileage prediction model as the segmented cruising range prediction value of any remaining power percentage segmented information; the mileage prediction model is obtained by training a learning model using historical segmented information of the remaining power percentage of the vehicle battery, historical operating condition information corresponding to the historical segmented information, and historical cruising range;
[0037] a current segment information calculation module, configured to determine the current remaining battery percentage segment information corresponding to the current remaining battery percentage, and a corresponding relationship model between the battery remaining battery percentage and the remaining cruising range value in the current remaining battery percentage segment information, input the current remaining battery percentage into the corresponding relationship model, and obtain the remaining cruising range value in the current segment corresponding to the current remaining battery percentage;
[0038] The prediction value calculation module is configured to merge the remaining cruising range value in the current segment with the remaining segment cruising range prediction value to obtain the cruising range prediction value of the vehicle.
[0039] In a third aspect, the technical solution of the present application provides a storage medium, in which program information is stored. After a computer reads the program information, it executes the range prediction method described in any one of the first aspects.
[0040] In a fourth aspect, the technical solution of the present application provides an electronic device, comprising at least one processor and at least one memory, wherein at least one of the memories stores program information, and after reading the program information, at least one of the processors executes the range prediction method described in any one of the first aspects.
[0041] In a fifth aspect, the technical solution of the present application provides a vehicle, which is equipped with the cruising range prediction device provided by the second aspect or the storage medium provided by the third aspect or the electronic device provided by the fourth aspect.
[0042] The above technical solution has the following beneficial effects:
[0043] The method, device, electronic device and vehicle for predicting the range provided by the present application obtain the current working condition information during the driving process of the vehicle, and use the current working condition information and the segmented information of the remaining power percentage to input into the pre-trained mileage prediction model, so as to predict the segmented range prediction value corresponding to each segmented information of the remaining power percentage. By using the corresponding relationship model between the battery remaining power percentage and the remaining range value in the segmented information of the current remaining power percentage and the current battery remaining power percentage, the remaining range value in the current segment corresponding to the current battery remaining power percentage can be obtained. The vehicle's range prediction value can be obtained by fusing the remaining range value in the current segment with the remaining segmented range prediction value. Since the mileage prediction model takes into account the influence of the working condition information of the current trip on the range, the accuracy of the segmented range prediction value corresponding to each segmented information of the remaining power percentage can be improved by using the model in combination with the current working condition information and the segmented information. Compared with the scheme in the prior art that predicts the range only based on the battery remaining power percentage, the prediction result of this scheme has higher accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 This is a flow chart of a method for predicting a cruising range in one embodiment of the present application;
[0045] Figure 2 This is a flow chart of a constraint strategy for the change rule of the predicted cruising range value according to an embodiment of the present application;
[0046] Figure 3 This is a flow chart of a method for predicting a cruising range according to another embodiment of the present application;
[0047] Figure 4 This is a structural block diagram of a cruising range prediction device according to an embodiment of the present application;
[0048] Figure 5 A schematic diagram of the hardware connection relationship of an electronic device for executing a cruising range prediction method according to an embodiment of the present application. DETAILED DESCRIPTION
[0049] The specific implementation of the present application is further described below with reference to the accompanying drawings.
[0050] It is easy to understand that according to the technical solution of the present application, without changing the essential spirit of the present application, a variety of structural modes and implementation modes that can be replaced by those skilled in the art can be replaced with each other. Therefore, the following specific implementation modes and drawings are only exemplary descriptions of the technical solution of the present application, and should not be regarded as the entirety of the present application or as a limitation or restriction on the technical solution of the application.
[0051] The directional terms such as up, down, left, right, front, back, front, back, top, bottom, etc. mentioned or may be mentioned in this specification are defined relative to the structures shown in the drawings. They are relative concepts and may change accordingly according to different positions and different usage conditions. Therefore, these or other directional terms should not be interpreted as restrictive terms.
[0052] The present application provides a method for predicting a cruising range, which can be applied to a vehicle controller of an electric vehicle or other electronic control unit with processing functions in the vehicle, such as Figure 1 As shown, the method includes:
[0053] S10: Obtain the current operating condition information of the vehicle and the current remaining battery power percentage.
[0054] During vehicle driving, the operating condition information has a critical impact on the percentage of remaining battery power. Operating condition information can include driving speed, ambient temperature, road condition information, etc. Other factors that affect the performance of the power battery can also be included in the operating condition information. The current percentage of remaining battery power is the SOC value, which can be directly obtained using the battery management system. By collecting the current operating condition information, the energy consumption characteristics of this trip can be truly reflected. The so-called current trip refers to the trip from the start of this vehicle to the current time point.
[0055] S20: Input any remaining power percentage segmentation information and the current operating condition information into a mileage prediction model, and use the output result of the mileage prediction model as the segmented cruising range prediction value of any remaining power percentage segmentation information; the mileage prediction model is obtained by training a learning model using historical segmentation information of the remaining power percentage of the vehicle battery, historical operating condition information corresponding to the historical segmentation information, and historical cruising range.
[0056] The remaining power percentage segmentation information is data pre-stored in the vehicle controller. During driving, the vehicle will collect and store driving data in real time. The mileage prediction model can be obtained by training the learning model based on the historically stored driving data. The mileage prediction model can be pre-stored in the vehicle controller. In some schemes, the SOC value can be divided into multiple segments, and the ranges covered by different segments can be the same or different. For ease of description, this scheme takes the same range covered by different segments as an example, and divides the SOC value evenly into 10 segments as shown in Table 1.
[0057] Table 1 Segment information
[0058]
[0059] In the above, each value corresponds to a percentage result, that is, 10 corresponds to the case where the SOC value is 10%. The remaining power percentage segmentation information and historical segmentation information can be determined according to Table 1. The historical operating condition information and historical cruising range corresponding to the historical segmentation information can be obtained through the historically stored driving data or calibration tests. Let the vehicle drive under different operating conditions. The mileage recorded in each SOC segment during each driving process is the historical cruising range. The historical operating condition information and historical cruising range are used as a set of associated data with the corresponding historical segmentation information. The historical operating condition information and historical cruising range are used as input samples, and the corresponding historical cruising range is used as an output sample to train the existing learning algorithm. It can be understood that the larger the sample size, the higher the accuracy of the training result. The average value of the remaining battery power can be calculated as follows: During the driving process of the vehicle, the various parameters of the power battery will be collected according to a certain period, including the remaining battery power. In each segment, the remaining power of multiple batteries will be collected, and the average value of the remaining battery power can be directly obtained using the calculation formula for obtaining the average value. Environmental information such as ambient temperature values can be directly detected using sensors installed on the vehicle. The vehicle controller is connected to the sensor for communication, so that the information detected by the sensor can be easily obtained.
[0060] Because the mileage values corresponding to different remaining power percentage segments need to be predicted, it is essentially a regression problem. The model can be trained using machine learning algorithms for regression problems, such as SVM or XGboost ensemble learning algorithms. Through the training method provided by this solution, the segmented mileage prediction value corresponding to each remaining power percentage segment can be accurately predicted. The prediction result takes into account the energy consumption of the current trip, the energy consumption of the historical trip, and the impact of the ambient temperature on the mileage value.
[0061] In the actual driving process, the current operating condition information and segment information actually obtained are used as input to predict the corresponding segment range in each segment, as shown in Table 2, where the unit of the predicted value is kilometers.
[0062] Table 2 Predicted range of each segment corresponding to each segment information
[0063]
[0064] S30: Determine the current remaining battery percentage segmentation information corresponding to the current remaining battery percentage, and the correspondence model between the remaining battery percentage and the remaining cruising range value in the current remaining battery percentage segmentation information, input the current remaining battery percentage into the correspondence model, and obtain the remaining cruising range value in the current segment corresponding to the current remaining battery percentage.
[0065] For example, if the current battery remaining power percentage is 76%, then the current remaining power percentage segment information corresponding to the current battery remaining power percentage corresponds to [70, 80). The segmented range prediction value corresponding to the current remaining power percentage segment information corresponding to the current battery remaining power percentage is 15 kilometers. Assuming that there is a linear relationship between the remaining power percentage and the remaining range value, the corresponding relationship model that can be obtained is a linear function. At this time, the current battery remaining power percentage is substituted into the linear function for calculation, and the result is: 15×(76-70) / 10=9, which means that the remaining range value in the current segment is 9 kilometers.
[0066] S40: The remaining cruising range value in the current segment is combined with the remaining segment cruising range prediction value to obtain the cruising range prediction value of the vehicle.
[0067] Combined with Table 2, the mileage corresponding to all segments is accumulated to obtain the total mileage prediction value, that is, mileage prediction value = 13 + 15 + 15 + 14 + 16 + 14 + 15 + 9 = 104 kilometers. The fusion method of this solution can also include weighted summation, etc., and the fusion method can be selected according to the actual vehicle condition.
[0068] The above scheme provided by the present application obtains the current working condition information during the driving process of the vehicle, and uses the current working condition information and the remaining power percentage segmentation information to input into the pre-trained mileage prediction model, so as to predict the segmented cruising range prediction value corresponding to each remaining power percentage segmentation information. By using the corresponding relationship model between the battery remaining power percentage and the remaining cruising range value in the current remaining power percentage segmentation information and the current battery remaining power percentage, the remaining cruising range value in the current segment corresponding to the current battery remaining power percentage can be obtained. The remaining cruising range value in the current segment is merged with the remaining segmented cruising range prediction value to obtain the vehicle's cruising range prediction value. Since the mileage prediction model takes into account the impact of the working condition information of the current trip on the cruising range, the accuracy of the segmented cruising range prediction value corresponding to each remaining power percentage segmentation information can be improved by using the model in combination with the current working condition information and the segmentation information. Compared with the scheme in the prior art that predicts the cruising range only based on the battery remaining power percentage, the prediction result of this scheme has higher accuracy.
[0069] When the method is specifically applied, the corresponding relationship model between the battery remaining power percentage and the remaining cruising range value in the current remaining power percentage segment information is:
[0070] Sr=Sa×[(Si-Smin) / (Smax-Smin)];
[0071] In the above formula, Si represents any battery remaining power percentage in the current remaining power percentage segment information, Smin represents the minimum battery remaining power percentage in the current remaining power percentage segment information, and Smax represents the maximum battery remaining power percentage in the current remaining power percentage segment information; Sa represents the segmented range prediction value corresponding to the current remaining power percentage segment information, and Sr represents the remaining range value corresponding to Si. . In this scheme, it is determined according to the linear relationship between the change in mileage and the change in battery remaining power percentage within the remaining power percentage segment, and the above formula can simplify the amount of calculation. In actual application, the relationship between the battery remaining power percentage and the range change in each remaining power percentage segment can also be calibrated according to the actual situation of the battery, and then the remaining mileage calculation formula within the segment is obtained.
[0072] In some preferred solutions, in step S10, the operating condition information includes at least one of the ambient temperature value, the energy consumption value per 100 kilometers, the average energy consumption value, and the average value of the remaining battery power; the current operating condition information of the vehicle is obtained because the factors affecting energy consumption include the vehicle's own factors during driving and the external factors of the vehicle's environment. The own factors include the energy consumption value per 100 kilometers, the average energy consumption value, and the average value of the remaining battery power, etc. Among the environmental factors, the ambient temperature value has a greater impact on the power battery. The step S10 includes: obtaining the calculated value of the energy consumption per 100 kilometers of the vehicle under the current journey, and using the calculated value of the energy consumption per 100 kilometers as the energy consumption value per 100 kilometers; and / or, obtaining the calculated value of the average energy consumption of the vehicle in a first set time period, and using the calculated value of the average energy consumption as the average energy consumption value; and / or, obtaining the calculated value of the average remaining battery power of the vehicle in a second set time period, and using the calculated value of the average remaining battery power as the average remaining battery power.
[0073] During the actual driving of the vehicle, the ambient temperature value can be collected in real time, and the average energy consumption value is calculated based on the driving data in the historical time period and stored in the vehicle controller. The energy consumption value per 100 kilometers and the average value of the remaining battery power in each segment need to be obtained after the driving data in each segment is calculated, which will cause information delay. Therefore, in this solution, the calculated value of the energy consumption per 100 kilometers of the vehicle under the current journey is selected as the energy consumption value per 100 kilometers, and the calculated value of the average value of the remaining battery power of the vehicle in the second set period is selected as the average value of the remaining battery power. The average energy consumption value can also be selected from the average energy consumption calculated value in the first set period. In specific applications, the length of the first set period and the second set period can be determined according to the actual situation of the vehicle. For example, the first set period can be selected as one month, and the second set period can be selected as half a year, so as to ensure that the calculation results meet the accuracy requirements and the real-time nature of the prediction results can be guaranteed.
[0074] In some schemes, such as Figure 2 As shown, the step S40 may include:
[0075] S401: Add the remaining cruising range value in the current segment to the remaining segment cruising range prediction value to obtain an initial mileage prediction value.
[0076] As in the aforementioned embodiment, when the remaining battery power percentage is 76%, the initial mileage prediction value obtained by directly adding the segmented cruising range prediction value in each segment recorded in Table 2 to the remaining cruising range value in the current segment is 104 kilometers.
[0077] S402: Obtain a change between the initial mileage prediction value and the previous endurance mileage prediction value as a first change; obtain a change between the current remaining battery percentage and the previous remaining battery percentage as a second change.
[0078] Because the prediction of the cruising range is carried out according to a specific cycle, that is, a cruising range prediction value can be obtained every cycle. The initial mileage prediction value in the current cycle is obtained in step S401, and the cruising range prediction value obtained in the previous cycle is the previous cruising range prediction value. Subtracting the two can get the first change. Similarly, the battery remaining power percentage obtained in the previous cycle is the previous battery remaining power percentage, and the battery remaining power percentage obtained in step S10 is the battery remaining power percentage collected in the current cycle. Subtracting the two can get the second change.
[0079] S403: Determine whether the variation rules of the first variation and the second variation match each other. If yes, execute step S404. If no, execute step S405.
[0080] Whether the change rules match can be determined by whether both are increasing or decreasing, because when the remaining battery power percentage decreases, the cruising range must decrease. If the first change amount and the second change amount are both increasing or both decreasing, the judgment result is yes, and if the first change amount is increasing and the second change amount is decreasing or unchanged, the judgment result is no.
[0081] S404: Using the initial mileage prediction value as the cruising range prediction value.
[0082] When the variation rules of the first variation match those of the second variation, it can be determined that the prediction of the current initial mileage prediction value is accurate, and the initial mileage prediction value is directly used as the cruising range prediction value.
[0083] S405: Taking the difference between the previous cruising range prediction value and the preset standard change amount as the cruising range prediction value.
[0084] When the variation rules of the first variation and the second variation do not match, the initial mileage prediction value is not used as the cruising range prediction value, but the previous cruising range prediction value is combined with the theoretical variation to calculate the cruising range prediction value. Specifically, it may include:
[0085] If the second change indicates that the percentage of remaining battery power increases, then: the predicted cruising range = the previous predicted cruising range + the standard change, where the standard change can be selected according to the actual situation of the vehicle, for example, 0.5 kilometers. If the second change indicates that the percentage of remaining battery power decreases, then: the predicted cruising range = the previous predicted cruising range - the standard change.
[0086] S406: If the second change is less than the preset value, the previous range prediction value is used as the range prediction value. For example, if the second change is 0-0.005, it means that the battery remaining power percentage has not changed or the change is negligible, and the range prediction value can be determined to be unchanged, so the previous range prediction value is directly used as the range prediction value.
[0087] The above scheme takes into account the strict requirements for the mileage displayed on the user's dashboard during actual operation. If the SOC decreases but the predicted mileage value increases, it may cause trouble to the user. Therefore, this scheme adds a judgment strategy that the SOC change law and the mileage prediction value change law need to be consistent, so as to improve the accuracy of the mileage prediction value.
[0088] Preferably, in the above scheme, Figure 3As shown, the following steps may also be included:
[0089] S50: Obtain the previous cruising range prediction value.
[0090] Because the prediction of the cruising range is carried out according to a specific cycle, that is, a cruising range prediction value can be obtained every cycle. The cruising range prediction value obtained in step S40 is the cruising range prediction value in the current cycle, and the cruising range prediction value obtained in the previous cycle is the previous cruising range prediction value.
[0091] S60: Determine whether the difference between the predicted cruising range value and the previous predicted cruising range value is less than a difference threshold, if so, execute step S70, if not, execute step S80.
[0092] The difference threshold can be selected according to the actual situation of the vehicle, and the range jump value will not be too high to cause discomfort to the user. Usually 2 kilometers can be selected.
[0093] S70: Using the predicted cruising range value as the actual cruising range value.
[0094] If there is no large jump in the difference between the predicted cruising range values of two adjacent cycles, it is confirmed that the predicted cruising range value is accurate and can be used as the actual cruising range value.
[0095] S80: The actual cruising range is obtained by the following formula:
[0096] If the difference is greater than the set value, then: actual cruising range value = previous cruising range prediction value + difference threshold + correction coefficient × (difference - difference threshold); if the difference is less than or equal to the set value, then: actual cruising range value = previous cruising range prediction value - difference threshold + correction coefficient × (difference + difference threshold), where the correction coefficient is less than one.
[0097] If there is a large jump in the predicted mileage between two adjacent cycles, the difference needs to be corrected to avoid the user's concern caused by the item variable being too high. For example, the mileage displayed a moment ago was 100 kilometers, and now it has become 90 kilometers, a difference of 10 kilometers, which will cause users to worry about mileage. Therefore, this solution constrains the situation where the jump value is too high. For the part that exceeds the difference threshold, it is multiplied by a correction coefficient less than one. The correction coefficient can be a smaller value, such as between 0.1-0.2. For example, when the difference threshold is 2 kilometers, if the change in the predicted mileage reaches 10 kilometers, the change can be adjusted to 2+(10-2)×0.1=2.8 kilometers according to the above formula. When the mileage is displayed, it changes from 100 kilometers to 97.2 kilometers, which can well alleviate the user's mileage anxiety and improve the user's driving experience.
[0098] The present application also provides a device for predicting the range of a vehicle. Figure 4 As shown, including:
[0099] The information acquisition module 10 is configured to acquire the current working condition information of the vehicle and the current remaining battery power percentage. The current remaining battery power percentage is the SOC value, which can be directly obtained using the battery management system. In this solution, by collecting the current working condition information, the energy consumption characteristics of this trip can be truly reflected. The so-called current trip refers to the trip from the start of the vehicle to the current time point.
[0100] The segmented data calculation module 20 is configured to input any remaining power percentage segmented information and the current working condition information into the mileage prediction model, and use the output result of the mileage prediction model as the segmented cruising range prediction value of any remaining power percentage segmented information; the mileage prediction model is obtained by training the learning model using the historical segmented information of the remaining power percentage of the vehicle battery, the historical working condition information corresponding to the historical segmented information, and the historical cruising range. During the driving process, the vehicle will collect and store the driving data in real time, and the mileage prediction model can be obtained by training the learning model according to the historically stored driving data. The mileage prediction model can be pre-stored in the vehicle controller. Because the cruising range value in different segments is to be predicted, it essentially belongs to the category of regression problems, and the machine learning algorithm of the regression problem can be used for model training, such as SVM or XGboost and other integrated learning algorithms. Through the training method provided by this solution, the cruising range value in the segment corresponding to each segmented information can be accurately predicted, and the prediction result takes into account the energy consumption of the current trip, the energy consumption of the historical trip, and the influence of the ambient temperature value on the cruising range value. During actual driving, the current operating condition information and segment information obtained are used as input to predict the corresponding segment range in each segment.
[0101] The current segment information calculation module 30 is configured to determine the current remaining battery percentage segment information corresponding to the current remaining battery percentage, and a correspondence model between the remaining battery percentage and the remaining cruising range value in the current remaining battery percentage segment information, input the current remaining battery percentage into the correspondence model, and obtain the remaining cruising range value in the current segment corresponding to the current remaining battery percentage.
[0102] The prediction value calculation module 40 is configured to merge the remaining cruising range value in the current segment with the remaining segment cruising range prediction value to obtain the vehicle's cruising range prediction value. The fusion method can be selected according to the actual vehicle condition.
[0103] The above scheme provided by the present application utilizes the current operating condition information and the remaining power percentage segmentation information to be input into a pre-trained mileage prediction model, and can predict the segmented cruising range prediction value corresponding to each remaining power percentage segmentation information. Using the correspondence model between the battery remaining power percentage and the remaining cruising range value in the current remaining power percentage segmentation information and the current battery remaining power percentage, the remaining cruising range value in the current segment corresponding to the current battery remaining power percentage can be obtained. The remaining cruising range value in the current segment is merged with the remaining segmented cruising range prediction value to obtain the vehicle's cruising range prediction value. Since the mileage prediction model takes into account the impact of the current trip's operating condition information on the cruising range, the use of this model in combination with the current operating condition information and segmentation information can improve the accuracy of the segmented cruising range prediction value corresponding to each remaining power percentage segmentation information. Compared with the prior art scheme that predicts the cruising range based only on the battery remaining power percentage, the prediction result of this scheme has higher accuracy.
[0104] In some embodiments, the current segment information calculation module 30,
[0105] The corresponding relationship model between the battery remaining power percentage and the remaining cruising range value in the current remaining power percentage segment information is:
[0106] Sr=Sa×[(Si-Smin) / (Smax-Smin)];
[0107] In the above formula, Si represents any battery remaining power percentage in the current remaining power percentage segment information, Smin represents the minimum battery remaining power percentage in the current remaining power percentage segment information, and Smax represents the maximum battery remaining power percentage in the current remaining power percentage segment information; Sa represents the segmented range prediction value corresponding to the current remaining power percentage segment information, and Sr represents the remaining range value corresponding to Si. . In this scheme, it is determined according to the linear relationship between the change in mileage and the change in battery remaining power percentage within the remaining power percentage segment, and the above formula can simplify the amount of calculation. In actual application, the relationship between the battery remaining power percentage and the range change in each remaining power percentage segment can also be calibrated according to the actual situation of the battery, and then the remaining mileage calculation formula within the segment is obtained.
[0108] In some schemes, the information acquisition module 10, the operating condition information includes at least one of the ambient temperature value, the energy consumption value per 100 kilometers, the average energy consumption value and the average value of the remaining battery power, obtains the calculated value of the energy consumption per 100 kilometers of the vehicle under the current journey, and uses the calculated value of the energy consumption per 100 kilometers as the energy consumption value per 100 kilometers; and / or, obtains the calculated value of the average energy consumption of the vehicle in the first set time period, and uses the calculated value of the average energy consumption as the average energy consumption value; and / or, obtains the calculated value of the average value of the remaining battery power of the vehicle in the second set time period, and uses the calculated value of the average value of the remaining battery power as the average value of the remaining battery power. During the actual driving of the vehicle, the ambient temperature value can be collected in real time, and the average energy consumption value is calculated based on the driving data in the historical time period and stored in the vehicle controller. The energy consumption value per 100 kilometers and the average value of the remaining battery power require the driving data in each segment to be obtained before the energy consumption value per 100 kilometers and the average value of the remaining battery power in the segment can be calculated, which will cause information delay. Therefore, in this solution, the calculated value of the vehicle's energy consumption per 100 kilometers under the current journey is selected as the energy consumption per 100 kilometers, the average value of the vehicle's battery remaining power in the second set period is selected as the average value of the battery remaining power, and the average energy consumption value can also be the average energy consumption calculated value in the first set period. In specific applications, the first set period can be selected as one month, and the second set period can be selected as half a year, so that the calculation results can meet the accuracy requirements and the real-time nature of the prediction results can be guaranteed.
[0109] In some schemes, the prediction value calculation module 40 adds the remaining cruising range value in the current segment to the remaining segment cruising range prediction value to obtain the initial mileage prediction value. The change between the initial mileage prediction value and the previous cruising range prediction value is obtained as the first change; the change between the current remaining power percentage and the previous battery remaining power percentage is obtained as the second change. If the first change matches the change rule of the second change, the initial mileage prediction value is used as the cruising range prediction value. If the first change does not match the change rule of the second change, the difference between the previous cruising range prediction value and the preset standard change is used as the cruising range prediction value. If the second change is less than the preset value, the previous cruising range prediction value is used as the cruising range prediction value. For example, if the second change is 0-0.005, it means that the battery remaining power percentage has not changed or the change can be ignored, then the cruising range prediction value can be determined to be unchanged, so the previous cruising range prediction value is directly used as the cruising range prediction value. The above scheme takes into account the strict requirements for the mileage displayed on the user's dashboard during actual operation. If the SOC decreases but the predicted mileage value increases, it may cause trouble to the user. Therefore, this scheme adds a judgment strategy that the SOC change law and the mileage prediction value change law need to be consistent, so as to improve the accuracy of the mileage prediction value.
[0110] Some schemes also include a correction module to obtain the previous range prediction value; if the difference between the range prediction value and the previous range prediction value is less than the variable threshold, the range prediction value is used as the actual range value. If the difference between the range prediction value and the previous range prediction value is greater than or equal to the variable threshold, the actual range value is obtained by the following formula: If the difference is greater than the set value, then: actual range value = previous range prediction value + variable threshold + correction coefficient × (difference - variable threshold); If the difference is less than or equal to the set value, then: actual range value = previous range prediction value - variable threshold + correction coefficient × (difference + variable threshold); wherein the correction coefficient is less than one. In some preferred schemes, the set value can be zero. In this scheme, the situation where the jump value is too high is constrained. For the part exceeding the variable threshold, it is multiplied by a correction coefficient less than one. The correction coefficient can be selected as a smaller value. When displaying the range, it can well alleviate the user's mileage anxiety and improve the user's driving experience.
[0111] In some embodiments of the present application, a storage medium is further provided, wherein program information is stored in the storage medium, and after a computer reads the program information, the cruising range prediction method described in any one of the above method embodiments is executed.
[0112] The present application also provides an electronic device, such as Figure 5 As shown, the electronic device includes at least one processor 51 and at least one memory 52, at least one of the memories 52 stores program information, and at least one of the processors 51 reads the program information and executes the cruising range prediction method described in any of the above method embodiments. The device may also include: an input device 53 and an output device 54. The processor 51, the memory 52, the input device 53 and the output device 54 can be connected in communication. The memory 52, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The processor 51 executes various functional applications and data processing by running the non-volatile software programs, instructions and modules stored in the memory 52, that is, realizing the cruising range prediction method provided by any of the above schemes. The memory 52 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required by at least one function; the data storage area may store data created according to the use of the cruising range prediction method, etc. In addition, the memory 52 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 52 may optionally include a memory remotely arranged relative to the processor 51, and these remote memories may be connected to the device for executing the range prediction method via a network. Examples of the above-mentioned network include but are not limited to the Internet, corporate intranet, local area network, mobile communication network and a combination thereof. The input device 53 may receive input user clicks, and generate signal inputs related to user settings and function controls of the range prediction method. The output device 54 may include a display device such as a display screen. When the one or more modules are stored in the memory 52, when they are executed by the one or more processors 51, the range prediction method in any of the above-mentioned method embodiments is executed.
[0113] Some embodiments of the present application also provide a vehicle, including the cruising range prediction device or storage medium or electronic device described in the above scheme.
[0114] As needed, the above technical solutions can be combined to achieve the best technical effect.
[0115] The above are only the principles and preferred embodiments of the present application. It should be noted that, for ordinary technicians in this field, on the basis of the principles of the present application, several other modifications can be made, which should also be considered as the protection scope of the present application.
Claims
1. A method for predicting a cruising range, characterized in that: include: Get the vehicle's current operating condition information and the current battery remaining power percentage; Input any remaining power percentage segmentation information and the current operating condition information into a mileage prediction model, and use the output result of the mileage prediction model as the segmented cruising range prediction value of any remaining power percentage segmentation information; the mileage prediction model is obtained by training a learning model using historical segmentation information of the remaining power percentage of the vehicle battery, historical operating condition information corresponding to the historical segmentation information, and historical cruising range; Determine the current remaining battery percentage segment information corresponding to the current remaining battery percentage, and a correspondence model between the battery remaining battery percentage and the remaining cruising range value in the current remaining battery percentage segment information, input the current remaining battery percentage into the correspondence model, and obtain the remaining cruising range value in the current segment corresponding to the current remaining battery percentage; The remaining cruising range value in the current segment is combined with the remaining segment cruising range prediction value to obtain the cruising range prediction value of the vehicle.
2. The method for predicting the cruising range according to claim 1, characterized in that: The operating condition information includes at least one of an ambient temperature value, an energy consumption value per 100 kilometers, an average energy consumption value, and an average value of the remaining battery power; the obtaining of the current operating condition information of the vehicle includes: Obtaining a calculated value of the energy consumption per 100 kilometers of the vehicle under the current travel, and using the calculated value of the energy consumption per 100 kilometers as the energy consumption per 100 kilometers value; and / or, Obtaining a calculated average energy consumption value of the vehicle in a first set period of time, and using the calculated average energy consumption value as the average energy consumption value; and / or, The average value calculated value of the remaining battery power of the vehicle in the second set time period is obtained, and the average value calculated value of the remaining battery power is used as the average value of the remaining battery power.
3. The method for predicting the cruising range according to claim 1, characterized in that: The step of fusing the remaining cruising range value in the current segment with the remaining segment cruising range prediction value to obtain the vehicle cruising range prediction value includes: Adding the remaining cruising range value in the current segment to the remaining segment cruising range prediction value to obtain an initial mileage prediction value; Obtaining a change between the initial mileage prediction value and the previous endurance mileage prediction value as a first change; Obtaining a change between the current remaining battery power percentage and the previous remaining battery power percentage as a second change; If the variation pattern of the first variation matches that of the second variation, the initial mileage prediction value is used as the cruising range prediction value.
4. The method for predicting the cruising range according to claim 3, characterized in that: After obtaining the change between the current remaining battery percentage and the previous remaining battery percentage as the second change, the method further includes: If the variation rules of the first variation amount and the second variation amount do not match, the difference between the previous predicted cruising range value and the preset standard variation amount is used as the predicted cruising range value.
5. The method for predicting the cruising range according to claim 3, characterized in that: The step of fusing the remaining cruising range value in the current segment with the remaining segment cruising range prediction value to obtain the vehicle cruising range prediction value further includes: If the second change is less than a preset value, the previous range prediction value is used as the range prediction value.
6. The method for predicting the range of a vehicle according to any one of claims 3 to 5, characterized in that: Also includes: Get the previous range prediction value; If the difference between the predicted cruising range value and the previous predicted cruising range value is less than a difference threshold, the predicted cruising range value is used as the actual cruising range value.
7. The method for predicting the cruising range according to claim 6, characterized in that: Also includes: If the difference between the predicted cruising range and the previous predicted cruising range is greater than or equal to the difference threshold, the actual cruising range is obtained by the following formula: If the difference is greater than the set value, then: actual cruising range value = previous cruising range prediction value + difference threshold + correction coefficient × (difference - difference threshold); If the difference is less than or equal to the set value, then: actual cruising range value = previous cruising range prediction value - difference threshold + correction coefficient × (difference + difference threshold); Wherein, the correction coefficient is less than one.
8. The method for predicting the cruising range according to claim 1, characterized in that: The determining of the current remaining power percentage segment information corresponding to the current remaining battery power percentage, and determining a corresponding relationship model between the battery remaining power percentage and the remaining cruising range value in the current remaining power percentage segment information, wherein the corresponding relationship model is: Sr=Sa×[(Si-Smin) / (Smax-Smin)]; In the above formula, Si represents any battery remaining power percentage in the current remaining power percentage segmented information, Smin represents the minimum battery remaining power percentage in the current remaining power percentage segmented information, and Smax represents the maximum battery remaining power percentage in the current remaining power percentage segmented information; Sa represents the segmented cruising range prediction value corresponding to the current remaining power percentage segmented information, and Sr represents the remaining cruising range value corresponding to Si.
9. A cruising range prediction device, characterized in that: include: An information acquisition module is configured to acquire current operating condition information of the vehicle and current remaining battery power percentage; The segmented data calculation module is configured to input any remaining power percentage segmented information and the current operating condition information into a mileage prediction model, and use the output result of the mileage prediction model as the segmented cruising range prediction value of any remaining power percentage segmented information; the mileage prediction model is obtained by training a learning model using historical segmented information of the remaining power percentage of the vehicle battery, historical operating condition information corresponding to the historical segmented information, and historical cruising range; a current segment information calculation module, configured to determine the current remaining battery percentage segment information corresponding to the current remaining battery percentage, and a corresponding relationship model between the battery remaining battery percentage and the remaining cruising range value in the current remaining battery percentage segment information, input the current remaining battery percentage into the corresponding relationship model, and obtain the remaining cruising range value in the current segment corresponding to the current remaining battery percentage; The prediction value calculation module is configured to merge the remaining cruising range value in the current segment with the remaining segment cruising range prediction value to obtain the cruising range prediction value of the vehicle.
10. A storage medium, characterized in that: The storage medium stores program information, and the computer reads the program information and executes the range prediction method according to any one of claims 1 to 8.
11. An electronic device, characterized in that: The electronic device includes at least one processor and at least one memory, at least one of the memories stores program information, and at least one of the processors reads the program information and executes the range prediction method according to any one of claims 1 to 8.
12. A vehicle, characterized in that: The vehicle is equipped with the cruising range prediction device according to claim 9 or the storage medium according to claim 10 or the electronic device according to claim 11.
