Driving range determination method and device, equipment and storage medium
By calculating the target residual oil volume and combining fuel consumption prediction, the cycling mileage is determined, and the problem of inaccurate cycling mileage calculation in the existing technology is solved, and the accuracy and reliability of the estimation are improved.
Patent Information
- Application Number
- CN202411570484.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-03-04
AI Technical Summary
The calculation of the driving range in the prior art is inaccurate, mainly due to the large deviation from the actual fuel consumption estimate, which leads to the inaccurate fuel mileage, which affects the prediction of users' travel mileage.
By obtaining the target injection amount and the first residual oil volume, calculate the target residual oil volume, and predict the fuel consumption and final determination of the mileage range according to the fuel consumption value and weight coefficient corresponding to the preset mileage.
It improves the accuracy of the driving range, reduces the estimated positive or negative deviation, and enhances the reliability of users' travel mileage prediction.
Smart Images

Figure CN119550986A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a method, device, equipment and storage medium for determining a driving range. Background Art
[0002] With the rapid development of science and technology and the gradual improvement of people's quality of life, more and more vehicles are entering every family and becoming the main choice for people to travel. The driving range is a prediction of the distance that the vehicle can still travel based on the current remaining energy. The driving range is a very important parameter value for the driver. It provides a reference for the driver to choose the vehicle's driving mode and the opening and closing of the electrical components in the car.
[0003] In the related art, the calculation of driving range is basically based only on the vehicle's fuel consumption value and the remaining fuel amount. However, the actual fuel consumption has a large deviation from the estimated fuel consumption due to various comprehensive factors such as road conditions, power consumption, driving conditions, etc. The remaining fuel range calculated based on this estimated fuel consumption is inaccurate, and therefore has a certain impact on the user's prediction of travel mileage. Summary of the invention
[0004] In view of this, the present application provides a method, device, equipment and storage medium for determining the driving range, so as to improve the accuracy of determining the driving range.
[0005] In a first aspect, an embodiment of the present application provides a method for determining a driving range, the method comprising:
[0006] Obtaining a target fuel injection amount and a first remaining fuel amount; the first remaining fuel amount is the target remaining fuel amount calculated last time;
[0007] obtaining a target remaining fuel amount based on the target fuel injection amount and the first remaining fuel amount;
[0008] Obtain the fuel consumption value corresponding to the preset mileage, and obtain the weight coefficient corresponding to each fuel consumption value;
[0009] Obtaining predicted fuel consumption based on the fuel consumption value and the weight coefficient;
[0010] Based on the target remaining fuel amount and the predicted fuel consumption, a driving range is obtained.
[0011] In some possible embodiments, obtaining a target remaining fuel amount based on the target fuel injection amount and the first remaining fuel amount includes:
[0012] Determine the fuel consumption value within the target time period according to the target fuel injection amount; wherein the target time period is the time period between the timestamp corresponding to the first remaining fuel amount and the current timestamp;
[0013] The difference between the first remaining fuel amount and the fuel consumption value is used as the target remaining fuel amount.
[0014] In some possible embodiments, after obtaining the weight coefficient corresponding to each fuel consumption value, the method further includes:
[0015] Obtain vehicle driving information;
[0016] Correcting the weight coefficient according to the driving information to obtain a corrected weight coefficient;
[0017] The obtaining the predicted fuel consumption based on the fuel consumption value and the weight coefficient includes:
[0018] The predicted fuel consumption is obtained based on the fuel consumption value and the corrected weight coefficient.
[0019] In some possible embodiments, the driving information includes a traffic jam event, and the correcting process of the weight coefficient according to the driving information includes:
[0020] Determining a target mileage corresponding to the traffic jam event from the preset mileage;
[0021] Determining a weight increase value according to a distance difference between a current position of the vehicle and the traffic jam event;
[0022] The weight coefficient corresponding to the target mileage is corrected according to the weight increase value.
[0023] In some possible embodiments, after obtaining the driving range, the method further includes:
[0024] Get the mileage value currently displayed on the display;
[0025] Obtaining an updated value according to the mileage value and the driving range;
[0026] Obtaining a mileage value to be displayed according to the displayed update value, the target remaining fuel volume, and the displayed mileage value;
[0027] The mileage value to be displayed is displayed on the display.
[0028] In some possible embodiments, after obtaining the target remaining oil volume, the method further includes:
[0029] Get the oil value measured by the current oil level sensor;
[0030] Performing weighted processing on the oil quantity value measured by the oil level sensor and the target remaining oil quantity to obtain a processed target remaining oil quantity;
[0031] The obtaining of the driving range based on the target remaining fuel amount and the predicted fuel consumption includes:
[0032] The driving range is obtained based on the processed target remaining fuel amount and the predicted fuel consumption.
[0033] In some possible embodiments, the method further includes:
[0034] If this is the first time to calculate the target remaining oil amount, the first remaining oil amount is the oil amount value measured by the oil level sensor.
[0035] In a second aspect, an embodiment of the present application provides a device for determining a driving range, the device comprising:
[0036] An acquisition module, used to acquire a target fuel injection amount and a first remaining fuel amount; the first remaining fuel amount is the target remaining fuel amount calculated last time;
[0037] an oil quantity determination module, configured to obtain a target remaining oil quantity based on the target injection quantity and the first remaining oil quantity;
[0038] A weight coefficient determination module is used to obtain a fuel consumption value corresponding to a preset mileage and obtain a weight coefficient corresponding to each fuel consumption value;
[0039] A fuel consumption determination module, configured to obtain predicted fuel consumption based on the fuel consumption value and the weight coefficient;
[0040] The driving range determination module is used to obtain the driving range based on the target remaining fuel volume and the predicted fuel consumption.
[0041] In some possible embodiments, the oil quantity determination module is specifically used to:
[0042] Determine the fuel consumption value within the target time period according to the target fuel injection amount; wherein the target time period is the time period between the timestamp corresponding to the first remaining fuel amount and the current timestamp;
[0043] The difference between the first remaining fuel amount and the fuel consumption value is used as the target remaining fuel amount.
[0044] In some possible embodiments, the weight coefficient determination module is further used to: obtain driving information of the vehicle;
[0045] Correcting the weight coefficient according to the driving information to obtain a corrected weight coefficient;
[0046] The fuel consumption determination module is specifically used for:
[0047] The predicted fuel consumption is obtained based on the fuel consumption value and the corrected weight coefficient.
[0048] In some possible embodiments, the driving information includes a traffic jam event, and the weight coefficient determination module is specifically used to:
[0049] Determining a target mileage corresponding to the traffic jam event from the preset mileage;
[0050] Determining a weight increase value according to a distance difference between a current position of the vehicle and the traffic jam event;
[0051] The weight coefficient corresponding to the target mileage is corrected according to the weight increase value.
[0052] In some possible embodiments, the fuel consumption determination module is further configured to:
[0053] Get the mileage value currently displayed on the display;
[0054] Obtaining an updated value according to the mileage value and the driving range;
[0055] Obtaining a mileage value to be displayed according to the displayed update value, the target remaining fuel volume, and the displayed mileage value;
[0056] The mileage value to be displayed is displayed on the display.
[0057] In some possible embodiments, the oil quantity determination module is further configured to:
[0058] Get the oil value measured by the current oil level sensor;
[0059] Performing weighted processing on the oil quantity value measured by the oil level sensor and the target remaining oil quantity to obtain a processed target remaining oil quantity;
[0060] The driving range determination module is specifically used for:
[0061] The driving range is obtained based on the processed target remaining fuel amount and the predicted fuel consumption.
[0062] In some possible embodiments, the acquisition module is further used to:
[0063] If this is the first time to calculate the target remaining oil amount, the first remaining oil amount is the oil amount value measured by the oil level sensor.
[0064] In the third aspect, another embodiment of the present application also provides an electronic device, comprising at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any method provided in the embodiment of the first aspect of the present application.
[0065] In a fourth aspect, another embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is used to enable a computer to execute any method provided in the embodiment of the first aspect of the present application.
[0066] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments 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 drawings can be obtained based on these drawings without paying creative labor.
[0068] Figure 1 A schematic diagram of an application scenario of a method for determining a driving range provided in an embodiment of the present application;
[0069] Figure 2 A schematic diagram of the overall process of a method for determining a driving range provided in an embodiment of the present application;
[0070] Figure 3 A schematic diagram of a flow chart of obtaining a target fuel injection amount in a method for determining a driving range provided in an embodiment of the present application;
[0071] Figure 4 A schematic diagram of a flow chart of correcting a target remaining fuel amount in a method for determining a driving range provided in an embodiment of the present application;
[0072] Figure 5 A schematic diagram of a flow chart of correcting a weight coefficient in a method for determining a driving range provided in an embodiment of the present application;
[0073] Figure 6 A schematic diagram of a flow chart of a method for determining a driving range according to driving information provided in an embodiment of the present application;
[0074] Figure 7 A schematic diagram of a flow chart of correcting and displaying a driving range in a driving range determination method provided in an embodiment of the present application;
[0075] Figure 8 A schematic diagram of a device for determining a driving range provided in an embodiment of the present application;
[0076] Fig. 9 A schematic diagram of an electronic device for a method for determining a driving range provided in an embodiment of the present application. DETAILED DESCRIPTION
[0077] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0078] It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present application.
[0079] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "said" and "the" used in the embodiments of the present application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0080] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0081] The inventor has found that with the rapid development of science and technology and the gradual improvement of people's quality of life, more and more vehicles have entered every family and become the main choice for people to travel. The driving range is a prediction of the distance that the vehicle can still travel based on the current remaining energy. The driving range is a very important parameter value for the driver. It provides a reference for the driver to choose the vehicle's driving mode and the opening and closing of the electrical components in the vehicle.
[0082] In the related art, the calculation of driving range is basically based only on the vehicle's fuel consumption value and the remaining fuel amount. However, the actual fuel consumption has a large deviation from the estimated fuel consumption due to various comprehensive factors such as road conditions, power consumption, driving conditions, etc. The remaining fuel range calculated based on this estimated fuel consumption is inaccurate, and therefore has a certain impact on the user's prediction of travel mileage.
[0083] In view of the above problems, the embodiments of the present application provide a method, device, equipment and storage medium for determining the driving range, which are used to solve the above problems. The inventive concept of the present application can be summarized as follows: obtaining a target fuel injection amount and a first remaining fuel amount; the first remaining fuel amount is the target remaining fuel amount calculated last time; based on the target fuel injection amount and the first remaining fuel amount, obtaining the target remaining fuel amount; obtaining the fuel consumption value corresponding to the preset mileage, and obtaining the weight coefficient corresponding to each fuel consumption value; obtaining the predicted fuel consumption based on the fuel consumption value and the weight coefficient; obtaining the driving range based on the target remaining fuel amount and the predicted fuel consumption.
[0084] In the embodiment of the present application, the vehicle controller in the vehicle serves as the executor, and calculates the remaining fuel amount by the amount of fuel injection, thereby improving the accuracy of the remaining fuel amount calculation. Secondly, the predicted fuel consumption value is calculated by the fuel consumption values of multiple preset mileages, thereby realizing the estimation of the remaining fuel mileage of the whole vehicle, improving the accuracy of the mileage estimation, and reducing the positive or negative deviation of the mileage estimation.
[0085] For ease of understanding, a method for determining a driving range provided in an embodiment of the present application is described in detail below with reference to the accompanying drawings:
[0086] like Figure 1 As shown, it is an application scenario diagram of a method for determining a driving range in an embodiment of the present application. The diagram includes: a vehicle controller 10, a display 20; wherein:
[0087] The vehicle controller 10 obtains the target fuel injection amount and the first remaining fuel amount; the first remaining fuel amount is the target remaining fuel amount calculated last time; based on the target fuel injection amount and the first remaining fuel amount, the target remaining fuel amount is obtained; the fuel consumption value corresponding to the preset mileage is obtained, and the weight coefficient corresponding to each fuel consumption value is obtained; the predicted fuel consumption is obtained based on the fuel consumption value and the weight coefficient; based on the target remaining fuel amount and the predicted fuel consumption, the cruising range is obtained, and the calculated cruising range is displayed on the display 20.
[0088] The description in this application only details a single vehicle controller 10 and a display 20, but those skilled in the art should understand that the vehicle controller 10 and the display 20 shown are intended to represent the operation of the vehicle controller 10 and the display 20 involved in the technical solution of this application. It does not imply any limitation on the number, type or location of the vehicle controller 10 and the display 20. It should be noted that if additional modules are added to the illustrated environment or individual modules are removed therefrom, the underlying concept of the example embodiment of this application will not be changed.
[0089] It should be noted that the method for determining the mileage proposed in this application is not only applicable to Figure 1 The application scenario shown is also applicable to any device that needs to determine the driving range. Figure 1The application is only described by taking the vehicle controller as the execution subject as an example, and does not limit the execution subject. For example, the application can also be executed by other components in the vehicle, and the driving range can also be calculated by the cloud and then sent to the vehicle.
[0090] like Figure 2 FIG. 1 is a flow chart of a method for determining a driving range provided in an embodiment of the present application, wherein:
[0091] In step 201: a target fuel injection amount and a first remaining fuel amount are obtained; the first remaining fuel amount is the target remaining fuel amount calculated last time.
[0092] In some possible embodiments, in order to ensure that the calculated driving range is more accurate and the calculated driving range is real-time, Figure 2 The steps shown can be performed according to a preset cycle. For example, if the cycle is set to 10 milliseconds, the steps are performed every 10 milliseconds. Figure 2 The target injection amount is the injection amount obtained and the execution Figure 2 The time difference between the start times of the steps shown has the smallest injection quantity.
[0093] For example: The injection amount acquisition cycle is once every 1 millisecond and is executed at 10:20:30 Figure 2 According to the steps shown, the fuel injection amounts before this include: the fuel injection amount I1 at 10:20:29, the fuel injection amount I2 at 10:20:28, the fuel injection amount I3 at 10:20:27, ..., then it can be determined that the fuel injection amount with the smallest time difference from 10:20:30 is I1, that is, the target fuel injection amount is I1.
[0094] It is understandable that if this is the first execution Figure 2 In the steps shown, the first remaining oil amount is the oil amount value measured by the oil level sensor.
[0095] In step 202: based on the target fuel injection amount and the first remaining fuel amount, a target remaining fuel amount is obtained.
[0096] In some possible embodiments, after obtaining the target fuel injection amount and the first remaining fuel amount, the following method can be used to obtain the target fuel injection amount and the first remaining fuel amount: Figure 3 The target injection amount is obtained by the process shown in the figure, where:
[0097] In step 301: the fuel consumption value within the target time period is determined according to the target fuel injection amount; wherein the target time period is the time period between the timestamp corresponding to the first remaining fuel amount and the current timestamp.
[0098] In the embodiment of the present application, the current timestamp is the time at which the execution starts. Figure 2 At the moment of the process shown, the timestamp corresponding to the first remaining fuel volume is the time when the last execution Figure 2 The time of the process shown, that is, the target duration is two executions Figure 2 The duration between the start times of the processes shown.
[0099] In some possible embodiments, the fuel consumption value may be obtained using Formula 1, where:
[0100]
[0101] Where, ΔF t is the fuel consumption value within the target time, I0 is the target fuel injection amount, t is the current timestamp, and t-1 is the timestamp corresponding to the first remaining fuel amount.
[0102] In the present application, the oil quantity and fuel consumption value is obtained by integrating the target fuel injection amount within the target duration. Compared with the method of directly measuring the oil quantity value using an oil level sensor, the obtained oil quantity and fuel consumption value is more accurate.
[0103] In step 302: the difference between the first remaining fuel level and the fuel consumption value is used as the target remaining fuel level.
[0104] In the embodiment of the present application, after the fuel consumption value is obtained, the remaining fuel amount in the current fuel tank, ie, the target remaining fuel amount, can be obtained by subtracting the first remaining fuel amount from the fuel consumption value.
[0105] In some other possible embodiments, in order to further improve the accuracy of the calculated target remaining fuel volume, after obtaining the target remaining fuel volume, the following steps may be performed: Figure 4 Steps shown:
[0106] In step 401: the oil level value measured by the current oil level sensor is obtained.
[0107] In step 402: weighted processing is performed on the oil level value measured by the oil level sensor and the target remaining oil level to obtain the processed target remaining oil level.
[0108] In an embodiment of the present application, weights corresponding to the oil level value measured by the oil level sensor and the target remaining oil level value can be pre-set, wherein the sum of the weights corresponding to the oil level value measured by the oil level sensor and the target remaining oil level value is 1. For example: the weight of the oil level value measured by the oil level sensor is set to 0.4, and the oil level value corresponding to the target remaining oil level is set to 0.6. Then, the processed target remaining oil level is: 0.4*oil level value measured by the oil level sensor+0.6*target remaining oil level.
[0109] It is understandable that after the implementation Figure 4 After the steps shown, continue with Figure 2When performing other steps as shown, the target remaining oil volume in other steps needs to be replaced by the target remaining oil volume after treatment.
[0110] In step 203: the fuel consumption value corresponding to the preset mileage is obtained, and the weight coefficient corresponding to each fuel consumption value is obtained.
[0111] In the embodiment of the present application, considering that the driving conditions are different during a certain driving process, the fuel consumption value of the vehicle is determined by the mileage of the vehicle and the total fuel injection amount in the mileage, which has a certain lag, resulting in the determined fuel consumption value being inaccurate. Therefore, in the embodiment of the present application, in order to ensure that the determined fuel consumption is more predictable and more reasonable, the fuel consumption values corresponding to different mileages of the vehicle during the driving process and the corresponding weight coefficients can be obtained, and the fuel consumption of the vehicle in the future period of time can be predicted based on the fuel consumption values corresponding to different mileages and the weight coefficients corresponding to each fuel consumption value.
[0112] In some possible embodiments, at least two preset mileages need to be set. Figure 2 In the steps shown, if the vehicle's driving distance has not reached the preset mileage, the fuel consumption value corresponding to each preset mileage recorded in the vehicle's historical driving process is obtained. Figure 2 When the preset mileage is reached, the fuel consumption value corresponding to the preset mileage is obtained according to the corresponding injection amount in the preset, and the calculated fuel consumption value is used to replace the fuel consumption value corresponding to the preset mileage stored in the vehicle.
[0113] For example: the preset mileage includes: 5 km, 10 km, 100 km, and the fuel consumption value corresponding to 5 km stored in the vehicle is F C1 , the fuel consumption value corresponding to 10 kilometers is F C2 , the fuel consumption value corresponding to 100 kilometers is F C3 , as the vehicle travels, if the first execution Figure 2 In the process shown, the vehicle travels 2 kilometers, and the fuel consumption value obtained is F C1 、F C2 、F C3 ; If the nth execution Figure 2 In the process shown in the figure, the vehicle travels 6 kilometers. When the vehicle mileage reaches 5 kilometers, according to the total fuel injection volume within 5 kilometers and formula 2, the fuel consumption value corresponding to 5 kilometers can be obtained as F C4 , using F C4 Replace F C1 , then the fuel consumption value obtained at this time is F C4 、F C2 、F C3 ; If the xth execution Figure 2In the process shown, the vehicle travels 12 kilometers. When the vehicle mileage reaches 10 kilometers, according to the total fuel injection volume within 6-10 kilometers and formula 2, the fuel consumption value corresponding to 5 kilometers can be obtained as F C5 , using F C5 Replace F C4 According to the total fuel injection volume within 1-10 kilometers and formula 2, the fuel consumption value corresponding to 10 kilometers can be obtained as F C6 , using F C6 Replace F C2 At this time, the fuel consumption value obtained by the vehicle is F C5 、F C6 、F C3 .
[0114] Wherein, formula 2 is as follows:
[0115]
[0116] Among them, F C is the fuel consumption per 100 kilometers, S is the mileage, and I is the total fuel injection amount within the mileage S.
[0117] In some possible embodiments, considering that different vehicle conditions and different driving conditions will affect the fuel consumption of the vehicle, some conditions will cause the fuel consumption of the vehicle to be lower than normal driving, and some conditions will cause the fuel consumption of the vehicle to be higher than normal driving. Therefore, in order to further ensure the accuracy of the predicted fuel consumption, after obtaining the weight coefficient corresponding to each fuel consumption value, the following can be implemented: Figure 5 The weight coefficients are modified by the steps shown, where:
[0118] In step 501: obtain the driving information of the vehicle.
[0119] In some possible embodiments, the vehicle's driving information includes, but is not limited to, traffic jam events, waiting for traffic lights events, uphill events, downhill events, weather conditions, etc. These information are all predictive events, for example, traffic jam information is a certain traffic jam location that the vehicle needs to pass through and has not passed through in the driving route, which is used to further obtain the mileage, distance, and time required for driving from the current location of the vehicle to the traffic jam location; other event information is similar and will not be repeated here.
[0120] Generally speaking, the above events will affect the vehicle's driving conditions and thus affect fuel consumption; the closer the time or distance is to the preset mileage segment of the above driving information event, the higher the confidence that the fuel consumption will be affected within the preset mileage segment, that is, the greater the degree to which the fuel consumption is affected, the corresponding weight should be increased accordingly; after the vehicle passes the event or location, the corresponding weight should be reduced accordingly, until the mileage traveled by the vehicle after passing is greater than the preset mileage range, and the impact of the event on the preset mileage weight becomes 0 accordingly.
[0121] For example: the preset mileage is 5 km, 10 km, and 100 km, and the initial weight coefficient is 1:2:20. Now there is a traffic jam ahead of the driving route, so the calculated weight coefficient increase value is k (the closer the vehicle is to the event, the larger the k value is, such as when the distance is 1 km, set the value to 2). The corresponding weight coefficient for 5 km is 1+k, the corresponding weight coefficient for 10 km is 2+k, and the corresponding weight coefficient for 100 km is 20+k, that is, the real-time weight coefficient becomes (1+k):(2+k):(20+k); when the vehicle passes the traffic jam 5 km away, the corresponding weight coefficient for 5 km is 1, the corresponding weight coefficient for 10 km is 2+k, and the corresponding weight coefficient for 100 km is 20+k, that is, the real-time weight coefficient becomes 1:(2+k):(20+k).
[0122] In step 502: the weight coefficient is corrected according to the driving information to obtain a corrected weight coefficient.
[0123] In some possible embodiments, after obtaining the driving information, the weight coefficient is corrected, which can be specifically implemented as follows: Figure 6 The steps shown, where:
[0124] In step 601: a target mileage corresponding to the traffic jam event is determined from the preset mileages.
[0125] In step 602: the weight increase value is determined according to the distance difference between the current position and the traffic jam event.
[0126] In step 603: the weight coefficient corresponding to the target mileage is corrected according to the weight increase value.
[0127] In the embodiment of the present application, the target mileage is the mileage that has not been passed when the traffic jam occurs. For example, if there is a traffic jam ahead on the current driving route, the calculated weight coefficient increase value is k (the closer the vehicle position is to the event, the larger the k value is, such as when the distance is 1 km, the value is set to 2). The corresponding weight coefficient for 5 kilometers is 1+k, the corresponding weight coefficient for 10 kilometers is 2+k, and the corresponding weight coefficient for 100 kilometers is 20+k. That is, the weight coefficient corresponding to the target mileage becomes (1+k):(2+k):(20+k).
[0128] It should be noted that there is a proportional relationship between the distance difference and the weight increase value. In the embodiment of the present application, the sum of the weight coefficients of all preset mileages is 1, so after correcting any of the weight coefficients, it is necessary to normalize the weight coefficients corresponding to each preset mileage to ensure that the sum of the weight coefficients of all preset mileages is 1.
[0129] It can be known that in addition to modifying the weight coefficient according to traffic jam events, the weight coefficient can also be modified according to other driving information. The specific modification process is the same as Figure 6 The same is not repeated here.
[0130] In step 204: the predicted fuel consumption is obtained based on the fuel consumption value and the weight coefficient.
[0131] In the embodiment of the present application, after obtaining the fuel consumption value and the weight coefficient, the predicted fuel consumption can be determined using Formula 3, where:
[0132] F Ct =K1*F C1 +K2*F C2 +…+K i *F Ci +…+K n *F Cn , (Formula 3)
[0133] Among them, F Ct To predict fuel consumption, F C1 is the first preset mileage, K1 is the weight coefficient corresponding to the first preset mileage, F C2 is the second preset mileage, K2 is the weight coefficient corresponding to the second preset mileage, F Ci is the i-th preset mileage, K i is the weight coefficient corresponding to the i-th preset mileage, F Cn is the nth preset mileage, K n is the weight coefficient corresponding to the nth preset mileage.
[0134] In step 205: based on the target remaining fuel volume and the predicted fuel consumption, the driving range is obtained.
[0135] In the embodiment of the present application, after obtaining the target remaining fuel volume and the predicted fuel consumption, the driving range can be determined using Formula 4, where:
[0136]
[0137] Among them, R t is the driving range, F t is the target remaining oil volume, F Ct To predict fuel consumption.
[0138] In some possible embodiments, in order to facilitate users to timely understand the vehicle's mileage, it is necessary to display the calculated mileage on the vehicle's display. In order to achieve a smooth display effect of the remaining mileage and improve the user's sensory experience, after obtaining the mileage, the following can be implemented: Figure 7 The method shown is used to correct and display the driving range, wherein:
[0139] In step 701: obtain the mileage value currently displayed on the display.
[0140] In step 702: an updated value is obtained according to the mileage value and the driving range.
[0141] In the embodiment of the present application, after obtaining the mileage value currently displayed by the display, the update value can be obtained according to Formula 5, where:
[0142] ΔD t =D t-1 -R t (Formula 5)
[0143] Where, ΔD t is the updated value, D t-1 is the mileage value currently displayed on the display, R t For driving mileage.
[0144] In step 703: the mileage value to be displayed is obtained according to the displayed update value, the target remaining fuel volume and the displayed mileage value.
[0145] In the embodiment of the present application, the mileage value to be displayed can be obtained according to Formula 6, where:
[0146] D t =D t-1 -f(ΔD t ,F t ), (Formula 6)
[0147] Among them, D t is the mileage value to be displayed, D t-1 is the mileage value currently displayed on the display, ΔD t is the updated value, F t is the target remaining oil volume, f(ΔD t ,F t ) is the display value correction factor.
[0148] Among them, the display value correction coefficient is positively correlated with the update value, that is, the greater the difference between the cruising range and the currently displayed mileage value, the larger the correction coefficient needs to be; it is negatively correlated with the target remaining fuel amount, that is, the smaller the target remaining fuel amount, the larger the correction coefficient needs to be; to ensure that the currently displayed mileage value gradually approaches the cruising range, and the specific display value correction coefficient can be set according to the display style of the display.
[0149] In step 704: the mileage value to be displayed is displayed on the display.
[0150] After the mileage value to be displayed is obtained, it can be directly displayed on the display.
[0151] In order to achieve a smooth display effect on the basis of ensuring the real-time performance of the mileage, it is not necessary to calculate the mileage every time according to the Figure 7 The steps shown are displayed, and the vehicle can be driven 1 km according to Figure 7 Follow the steps shown to update the driving range.
[0152] Based on the same inventive concept, after introducing a method for determining a driving range provided in an embodiment of the present application, as shown in FIG. Figure 8 As shown, a driving range determination device 800 provided in an embodiment of the present application is described below, and the device includes:
[0153] The acquisition module 8001 is used to acquire a target fuel injection amount and a first remaining fuel amount; the first remaining fuel amount is the target remaining fuel amount calculated last time;
[0154] The oil quantity determination module 8002 is used to obtain a target remaining oil quantity based on the target injection quantity and the first remaining oil quantity;
[0155] The weight coefficient determination module 8003 is used to obtain the fuel consumption value corresponding to the preset mileage, and obtain the weight coefficient corresponding to each fuel consumption value;
[0156] A fuel consumption determination module 8004, configured to obtain a predicted fuel consumption based on the fuel consumption value and the weight coefficient;
[0157] The driving range determination module 8005 is used to obtain the driving range based on the target remaining fuel volume and the predicted fuel consumption.
[0158] In some possible embodiments, the oil quantity determination module 8002 is specifically configured to:
[0159] Determine the fuel consumption value within the target time period according to the target fuel injection amount; wherein the target time period is the time period between the timestamp corresponding to the first remaining fuel amount and the current timestamp;
[0160] The difference between the first remaining fuel amount and the fuel consumption value is used as the target remaining fuel amount.
[0161] In some possible embodiments, the weight coefficient determination module 8003 is further used to: obtain driving information of the vehicle;
[0162] Correcting the weight coefficient according to the driving information to obtain a corrected weight coefficient;
[0163] The fuel consumption determination module 8004 is specifically used for:
[0164] The predicted fuel consumption is obtained based on the fuel consumption value and the corrected weight coefficient.
[0165] In some possible embodiments, the driving information includes a traffic jam event, and the weight coefficient determination module 8003 is specifically used to:
[0166] Determining a target mileage corresponding to the traffic jam event from the preset mileage;
[0167] Determining a weight increase value according to a distance difference between a current position of the vehicle and the traffic jam event;
[0168] The weight coefficient corresponding to the target mileage is corrected according to the weight increase value.
[0169] In some possible embodiments, the fuel consumption determination module 8004 is further configured to:
[0170] Get the mileage value currently displayed on the display;
[0171] Obtaining an updated value according to the mileage value and the driving range;
[0172] Obtaining a mileage value to be displayed according to the displayed update value, the target remaining fuel volume, and the displayed mileage value;
[0173] The mileage value to be displayed is displayed on the display.
[0174] In some possible embodiments, the oil quantity determination module 8002 is further configured to:
[0175] Get the oil value measured by the current oil level sensor;
[0176] Performing weighted processing on the oil quantity value measured by the oil level sensor and the target remaining oil quantity to obtain a processed target remaining oil quantity;
[0177] The driving range determination module 8005 is specifically used for:
[0178] The driving range is obtained based on the processed target remaining fuel amount and the predicted fuel consumption.
[0179] In some possible embodiments, the acquisition module 8001 is further used to:
[0180] If this is the first time to calculate the target remaining oil amount, the first remaining oil amount is the oil amount value measured by the oil level sensor.
[0181] Corresponding to the above embodiments, the present application also provides an electronic device. Fig. 9The electronic device 900 is a schematic diagram of a structure of an electronic device provided in an embodiment of the present invention. The electronic device 900 may include: a processor 901, a memory 902, and a communication unit 903. These components communicate through one or more buses. Those skilled in the art may understand that the structure of the electronic device shown in the figure does not constitute a limitation on the embodiment of the present invention. It may be a bus structure or a star structure, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0182] The communication unit 903 is used to establish a communication channel so that the electronic device can communicate with other devices, receive user data sent by other devices or send user data to other devices.
[0183] The processor 901 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It runs or executes software programs and / or modules stored in the memory 902, and calls data stored in the memory to perform various functions of the electronic device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of a plurality of packaged ICs with the same or different functions. For example, the processor 901 can include only a central processing unit (CPU). In an embodiment of the present invention, the CPU can be a single computing core or multiple computing cores.
[0184] Memory 902 is used to store execution instructions of processor 901. Memory 902 can be implemented by any type of volatile or non-volatile storage device or a combination of them, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0185] When the execution instructions in the memory 902 are executed by the processor 901, the electronic device 900 can execute Figure 7 Some or all of the steps in the illustrated embodiments.
[0186] In a specific implementation, the present invention further provides a computer storage medium, wherein the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the calling method provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0187] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention or certain parts of the embodiments.
[0188] In this specification, the same or similar parts between the various embodiments can be referred to each other. In particular, for the device embodiment and the terminal embodiment, since they are basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description in the method embodiment.
Claims
1. A method for determining a driving range, characterized in that: The method comprises: Obtaining a target fuel injection amount and a first remaining fuel amount; the first remaining fuel amount is the target remaining fuel amount calculated last time; obtaining a target remaining fuel amount based on the target fuel injection amount and the first remaining fuel amount; Obtain the fuel consumption value corresponding to the preset mileage, and obtain the weight coefficient corresponding to each fuel consumption value; Obtaining predicted fuel consumption based on the fuel consumption value and the weight coefficient; Based on the target remaining fuel amount and the predicted fuel consumption, a driving range is obtained.
2. The method according to claim 1, characterized in that: The step of obtaining a target remaining fuel amount based on the target fuel injection amount and the first remaining fuel amount includes: Determine the fuel consumption value within the target time period according to the target fuel injection amount; wherein the target time period is the time period between the timestamp corresponding to the first remaining fuel amount and the current timestamp; The difference between the first remaining fuel amount and the fuel consumption value is used as the target remaining fuel amount.
3. The method according to claim 1, characterized in that After obtaining the weight coefficient corresponding to each fuel consumption value, the method further includes: Obtain vehicle driving information; Correcting the weight coefficient according to the driving information to obtain a corrected weight coefficient; The obtaining the predicted fuel consumption based on the fuel consumption value and the weight coefficient includes: The predicted fuel consumption is obtained based on the fuel consumption value and the corrected weight coefficient.
4. The method according to claim 3, characterized in that The driving information includes a traffic jam event, and the modifying process of the weight coefficient according to the driving information includes: Determining a target mileage corresponding to the traffic jam event from the preset mileage; Determining a weight increase value according to a distance difference between a current position of the vehicle and the traffic jam event; The weight coefficient corresponding to the target mileage is corrected according to the weight increase value.
5. The method according to claim 1, characterized in that After obtaining the driving range, the method further includes: Get the mileage value currently displayed on the display; Obtaining an updated value according to the mileage value and the driving range; Obtaining the mileage value to be displayed according to the displayed updated value, the target remaining fuel volume and the mileage value currently being displayed; The mileage value to be displayed is displayed on the display.
6. The method according to claim 1, characterized in that After obtaining the target remaining oil volume, the method further includes: Get the oil value measured by the current oil level sensor; Performing weighted processing on the oil quantity value measured by the oil level sensor and the target remaining oil quantity to obtain a processed target remaining oil quantity; The obtaining of the driving range based on the target remaining fuel amount and the predicted fuel consumption includes: The driving range is obtained based on the processed target remaining fuel amount and the predicted fuel consumption.
7. The method according to claim 1, characterized in that The method further comprises: If this is the first time to calculate the target remaining oil amount, the first remaining oil amount is the oil amount value measured by the oil level sensor.
8. A device for determining a driving range, characterized in that: The device comprises: An acquisition module, used to acquire a target fuel injection amount and a first remaining fuel amount; the first remaining fuel amount is the target remaining fuel amount calculated last time; an oil quantity determination module, configured to obtain a target remaining oil quantity based on the target injection quantity and the first remaining oil quantity; A weight coefficient determination module is used to obtain a fuel consumption value corresponding to a preset mileage and obtain a weight coefficient corresponding to each fuel consumption value; A fuel consumption determination module, configured to obtain predicted fuel consumption based on the fuel consumption value and the weight coefficient; The driving range determination module is used to obtain the driving range based on the target remaining fuel volume and the predicted fuel consumption.
9. An electronic device, characterized in that: The device comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.