Vehicle fuel endurance mileage estimation method, device, equipment and medium
By combining fuel level sensor and vehicle speed data with a smoothing algorithm, the fuel tank volume is dynamically estimated and an emergency mode is switched, solving the accuracy and safety issues of fuel range estimation for commercial vehicles and achieving high-precision range prediction.
Patent Information
- Application Number
- CN202511124460.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-12
- Publication Date
- 2025-10-17
AI Technical Summary
Existing technologies struggle to accurately estimate fuel range in commercial vehicles, especially in situations with variable dual fuel tank capacities and harsh operating conditions. This leads to estimation errors and high costs, failing to meet the demands for high precision and low cost.
By acquiring parameters such as fuel percentage, instantaneous fuel consumption, and real-time vehicle speed measured by the fuel level sensor, and combining them with a smoothing algorithm, the effective volume of the fuel tank is dynamically estimated. Preset calibration parameters are used to determine the volume error, and the system switches to emergency mode to deal with anomalies. The average fuel consumption calculation logic is dynamically adjusted to ensure the accuracy and safety of the estimation.
It achieves high-precision estimation of fuel range under complex operating conditions, avoids driving risks caused by sensor failure, provides reliable refueling planning reference, and improves the reliability and stability of range prediction.
Smart Images

Figure CN120792831A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automotive engineering technology, and in particular to a vehicle fuel mileage estimation method, device, equipment and medium. Background Art
[0002] In the commercial vehicle sector, fuel range is a core metric used by drivers to assess their vehicle's endurance, directly impacting their refueling route planning and operating cost management. Accurate range values allow drivers to optimally select refueling stations, avoid trip delays caused by insufficient fuel, and optimize fuel procurement strategies to reduce operating costs. Therefore, developing more accurate and reliable fuel range estimation algorithms has become a key technical direction for enhancing the competitiveness of commercial vehicle products.
[0003] Existing fuel range estimation technologies have numerous limitations. For one thing, some solutions are primarily designed for hybrid vehicles, calculating range through oil-to-electric conversion or the coordinated use of multiple power sources, making them difficult to directly apply to purely fuel-powered commercial vehicles. Furthermore, some technologies rely on numerous sensors to collect parameters such as slope and driving mode to correct fuel consumption, significantly increasing system complexity and leading to high practical costs. Furthermore, most existing technologies fail to fully consider the dynamic characteristics of fuel tank levels and lack effective correction mechanisms for key parameters such as tank capacity and average fuel consumption. This makes estimation errors prone to occur under complex operating conditions, making it difficult to meet the actual demand for high-precision, low-cost range estimation for commercial vehicles. Summary of the Invention
[0004] Based on this, the present invention provides a vehicle fuel range estimation method, device, equipment and medium to solve the problems of variable capacity of dual fuel tanks of commercial vehicles, fragility of the fuel supply system under harsh working conditions, and difficulty in accurately estimating the range with existing technologies.
[0005] In a first aspect, an embodiment of the present invention provides a method for estimating a vehicle fuel range, the method comprising:
[0006] When the vehicle is started, the timing parameters and preset calibration parameters of the vehicle fuel system operation are automatically obtained; wherein, the timing parameters include: the fuel level percentage measured by the fuel level sensor, instantaneous fuel consumption, real-time vehicle speed, and the status of the main and auxiliary fuel tank switching valves; the threshold calibration parameters include: the standard volume of the main fuel tank, the standard volume of the auxiliary fuel tank, the volume error threshold, and the fuel consumption benchmark value per 100 kilometers;
[0007] determining a target fuel tank for current fuel supply based on the current fuel switching valve state, estimating an effective volume of the target fuel tank based on the current fuel level percentage and instantaneous fuel consumption measured by the fuel level sensor, and obtaining an estimated target volume of the target fuel tank by smoothing multiple consecutively estimated effective volumes;
[0008] obtaining a target standard volume value corresponding to the target tank and a target volume error threshold based on the preset calibration parameters, and determining whether the absolute value of the difference between the target volume estimation value and the target standard volume value exceeds the target volume error threshold;
[0009] If not, accumulating all instantaneous fuel consumption values within the current starting duration, multiplying the corresponding coefficients in the preset adjustment coefficient table to obtain the remaining fuel quantity, dynamically calculating the average fuel consumption according to the instantaneous fuel consumption and the vehicle speed, and calculating the endurance mileage based on the average fuel consumption and the remaining fuel quantity.
[0010] If yes, marking the abnormality of the oil tank fuel supply state, and switching the fuel supply state from the normal mode to the emergency mode, and recalculating the remaining fuel quantity and the endurance mileage in the emergency mode.
[0011] In a second aspect, the embodiments of the present application provide a vehicle fuel endurance mileage estimation device, which comprises:
[0012] A vehicle operating parameter acquisition module is configured to automatically acquire time sequence parameters and preset calibration parameters of a vehicle fuel system when the vehicle starts. The time sequence parameters include the oil quantity percentage measured by a fuel level sensor, instantaneous fuel consumption, real-time vehicle speed, and the state of a main and auxiliary tank switching valve. The threshold calibration parameters include the standard volume of the main tank, the standard volume of the auxiliary tank, the volume error threshold, and the baseline value of the fuel consumption per 100 kilometers.
[0013] A volume estimation value calculation module is configured to determine the target tank for current fuel supply according to the current fuel switching valve state, estimate the effective volume of the target tank based on the current oil quantity percentage and the instantaneous fuel consumption measured by the fuel level sensor, and obtain the target volume estimation value of the target tank by smoothing a plurality of effective volumes estimated continuously.
[0014] A fuel supply state determination module is configured to preset the target standard volume value corresponding to the target tank and the target volume error threshold based on the calibration parameters, and determine whether the absolute value of the difference between the target volume estimation value and the target standard volume value exceeds the target volume error threshold.
[0015] A normal mode endurance mileage estimation module is configured to, if not, accumulate all instantaneous fuel consumption values within the current starting duration, multiply the corresponding coefficients in the preset adjustment coefficient table to obtain the remaining fuel quantity, dynamically calculate the average fuel consumption according to the instantaneous fuel consumption and the vehicle speed, and calculate the endurance mileage based on the average fuel consumption and the remaining fuel quantity.
[0016] An emergency mode endurance mileage estimation module is configured to, if yes, mark the abnormality of the oil tank fuel supply state, switch the fuel supply state from the normal mode to the emergency mode, and recalculate the remaining fuel quantity and the endurance mileage in the emergency mode.
[0017] In a third aspect, an electronic device is provided, and the electronic device comprises:
[0018] at least one processor; and
[0019] a memory in communication with the at least one processor; wherein
[0020] the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the vehicle fuel range estimation method according to any one of the embodiments of the present application.
[0021] In a fourth aspect, a computer readable storage medium is provided, and the computer readable storage medium stores computer instructions for causing a processor to perform the vehicle fuel range estimation method according to any one of the embodiments of the present application when executed.
[0022] The technical scheme of the embodiments of the present application integrates multiple source data such as fuel level, instantaneous fuel consumption, and vehicle speed, combines a smoothing processing algorithm, dynamically estimates the effective volume of the fuel tank, ensures the high precision and real-time performance of the remaining fuel quantity and the range calculation, compares the volume estimation value with the standard value, automatically judges the abnormal fuel supply of the fuel tank, timely triggers the alarm and emergency mode switching, avoids the driving risk caused by sensor failure and fuel quantity misjudgment, realizes fine calculation based on comprehensive parameters in the normal mode, relies on the conservative algorithm and sensor direct reading data in the emergency mode, takes into account the accuracy and safety, ensures that the range information is not invalid in extreme working conditions, dynamically adjusts the average fuel consumption calculation logic according to the vehicle speed, and flexibly adapts to different working conditions through the preset coefficient table, thereby improving the reliability and stability of the range prediction in complex driving scenarios.
[0023] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0025] Figure 1 is a flowchart of a vehicle fuel range estimation method according to an embodiment of the present application;
[0026] Figure 2is a flow chart of another vehicle fuel endurance estimation method according to the second embodiment of the present application;
[0027] Figure 3 is a structural schematic diagram of a vehicle fuel endurance estimation device according to the third embodiment of the present application;
[0028] Figure 4 is a structural schematic diagram of an electronic device of a vehicle fuel endurance estimation method according to the fourth embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to make the personnel in the art better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor should belong to the scope of protection of the present application.
[0030] It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] Embodiment one
[0032] Figure 1 is a flow chart of a vehicle fuel endurance estimation method according to the first embodiment of the present application. The present embodiment can be applicable to the case of estimating the fuel endurance of a commercial vehicle with a double-tank design in a full life cycle running scenario. The method can be executed by a vehicle fuel endurance estimation device, which can be realized in the form of hardware and / or software, and can be configured in the electronic control unit of the vehicle. As shown in the figure, the method comprises: Figure 1
[0033] S110, when the vehicle starts, automatically acquire the timing parameters of the vehicle fuel system operation and the preset calibration parameters; wherein, the timing parameters include: the oil percentage measured by the fuel level sensor, the instantaneous fuel consumption, the real-time vehicle speed and the main and auxiliary fuel tank switching valve state; the threshold calibration parameters include: the main tank standard volume, the auxiliary tank standard volume, the volume error threshold and the 100 km fuel consumption reference value.
[0034] In this embodiment, the timing parameters are dynamic data, the oil percentage measured by the fuel level sensor refers to the remaining oil percentage obtained by the liquid level sensor in the main / auxiliary fuel tank, which is a key indicator directly reflecting the state of the fuel tank. The instantaneous fuel consumption refers to the real-time fuel injection amount of the engine, reflecting the fuel consumption rate under the current working condition. The real-time vehicle speed combined with the instantaneous fuel consumption can calculate the unit mileage fuel consumption, which is used to dynamically adjust the average fuel consumption model. The main and auxiliary fuel tank switching valve state directly determines the current fuel supply source and affects the calculation of the total capacity of the fuel tank.
[0035] The threshold calibration parameters are static data, the main / auxiliary fuel tank standard volume is the tank capacity calibrated when the vehicle is shipped, which is the reference value for calculating the remaining oil. The volume error threshold is used to judge the critical value of the abnormal state of the fuel tank. This threshold needs to balance the false alarm rate and the fault detection sensitivity. If it is too high, it will miss the fault, and if it is too low, it will easily trigger frequent alarms. The 100 km fuel consumption reference value refers to the theoretical fuel consumption obtained by real vehicle calibration during the vehicle design stage, which is used as the initial reference value. In actual operation, it needs to be dynamically adjusted according to the real-time road conditions and driving habits to avoid cumulative estimation errors caused by reference value deviation. Through the cooperation of the two types of parameters, data basis is provided for subsequent range calculation, fuel supply state recognition and abnormal warning, which is the data initialization link when the whole scheme starts.
[0036] S120, according to the current fuel switching valve state, determine the target tank of the current fuel supply, and estimate the effective volume of the target tank based on the current oil percentage measured by the fuel level sensor and the instantaneous fuel consumption. Through smoothing processing of multiple effective volumes estimated continuously, the target volume estimation value of the target tank is obtained.
[0037] After the vehicle starts, the real-time state of the fuel switching valve is first read. The valve controls the fuel supply path of the main and auxiliary fuel tanks. By judging the opening and closing combination of the valve, the target tank currently participating in fuel consumption is accurately positioned. Avoids the confusion of volume estimation objects in the double tank structure, for example, when the valve state shows that only the main tank supplies fuel, the system will automatically shield the auxiliary tank data and focus on the main tank for volume analysis. Breakthrough the traditional single dependence on liquid level sensor mode, this embodiment cross verifies two types of data, the fuel level sensor data is used to provide the percentage of the remaining oil in the tank, and the instantaneous fuel consumption data is used to record the engine fuel injection amount in real time, reflecting the actual fuel consumption rate. Through the fusion of the two, the actual effective volume of the tank can be deduced.
[0038] To eliminate occasional interference, the effective volume estimation results of continuous multiple times are subjected to moving average filtering processing. For example, when the liquid level sensor jumps instantaneously due to vehicle passing through a deceleration belt, the smoothing processing weakens the abnormal value, ensures the stability of the estimation result, and provides reliable data support for subsequent range calculation and abnormal fuel supply detection.
[0039] Optionally, the effective volume of the target fuel tank is estimated based on the current fuel quantity percentage measured by the fuel liquid level sensor and the instantaneous fuel consumption, and the target volume estimation value of the target fuel tank is obtained by smoothing a plurality of effective volumes estimated continuously, which can include:
[0040] A fixed time interval is taken as a sampling period, and all instantaneous fuel consumption values in the current period are accumulated to obtain a period fuel consumption ΔF; eff
[0041] The initial fuel quantity percentage P1 at the start of sampling and the end fuel quantity percentage P2 at the end are recorded, and the difference between the initial fuel quantity percentage and the end fuel quantity percentage is calculated to obtain a fuel quantity percentage change value ΔP;
[0042] The effective volume V eff of a single sampling period is calculated by the formula V eff =ΔF / ΔP.
[0043] The effective volume V eff obtained in the fixed sampling period is subjected to moving average filtering, and the effective volume estimation value V est of the target fuel tank is output.
[0044] Time is divided into fixed length sampling periods, and the instantaneous fuel consumption value is integrated in each period. ΔF represents the total fuel consumption in the period, and the continuous fuel consumption data is converted into calculable period consumption through discrete sampling, reducing the calculation amount and smoothing the data fluctuation. P1 and P2 are the fuel quantity percentages measured by the fuel tank liquid level sensor at the beginning and end of the period respectively, and ΔP=P1-P2 represents the reduction of the fuel quantity percentage in the period, which quantifies the oil consumption proportion in the period through the relative change of the liquid level sensor. V eff represents the effective volume of the fuel tank estimated in a single sampling period. If ΔF=0.2L and ΔP=2%, then V eff =10L, which means that the fuel tank consumes 10L of fuel for every 1% of fuel, so the total effective volume of the fuel tank is about 10L / 1%=1000L. Moving average filtering means that the V eff values of the last N sampling periods are weighted and averaged, eliminating the estimation error caused by sensor noise or instantaneous fuel consumption fluctuation, so that the effective volume estimation value V est changes slowly and is closer to the real effective volume of the fuel tank.
[0045] S130, obtain a target standard volume value corresponding to the target tank and a target volume error threshold based on preset calibration parameters, and determine whether the absolute value of the difference between the target volume estimation value and the target standard volume value exceeds the target volume error threshold.
[0046] Firstly, the calibration parameter database preset in the electronic control unit before the vehicle leaves the factory is called, which stores standard parameters corresponding to different types of tanks, wherein the target standard volume value is the theoretical maximum volume when the tank is designed, and the target volume error threshold is the reasonable deviation range allowed. The target volume estimation value obtained by dynamic estimation is subtracted from the standard volume value, and the absolute value is compared with the error threshold. If the absolute value of the difference exceeds the threshold, it is determined that the current volume estimation result is abnormal, which may be caused by factors such as fuel level sensor failure, tank switching valve leakage, or instantaneous fuel consumption data fluctuation. Otherwise, if the difference is within the threshold range, it is considered that the estimation result is reliable.
[0047] S140, if not, accumulate all instantaneous fuel consumption values within the current start-up time, multiply the residual fuel quantity by the corresponding coefficient in the preset adjustment coefficient table, dynamically calculate the average fuel consumption based on the instantaneous fuel consumption and the vehicle speed, and calculate the driving range based on the average fuel consumption and the residual fuel quantity.
[0048] If not, it means that the deviation between the target volume estimation value and the standard value does not exceed the threshold, and it is determined that the tank state is normal. At this time, the dynamic fuel consumption accumulation and driving range calculation mechanism is started: from the vehicle start time, real-time acquisition of engine instantaneous fuel consumption data is carried out and accumulation is carried out, forming the total consumption of fuel after this start, then the preset adjustment coefficient table is called to multiply the cumulative fuel consumption by the corresponding coefficient, and the fuel consumption value closer to the real consumption is obtained through the hardware error compensation mechanism, and then the residual fuel quantity is calculated by subtracting the value from the standard volume.
[0049] In the average fuel consumption calculation link, the instantaneous fuel consumption is deeply coupled with the real-time vehicle speed, breaking through the limitation of traditional constant speed average. For example, when driving at high speed, the wind resistance increases, causing the same fuel consumption to correspond to a shorter distance. The system will automatically enlarge the proportion of fuel consumption in this working condition through the speed weight, so that the average fuel consumption is more in line with the actual driving scene. Finally, based on the corrected residual fuel quantity and dynamic average fuel consumption, the drivable distance is calculated through the engineering formula, which implicitly designs the safety redundancy for typical working conditions of commercial vehicles such as high speed and heavy load, avoids the misjudgment of driving range caused by theoretical value deviation, and provides more reliable refueling planning basis for the driver.
[0050] S150, if yes, mark the tank fuel supply state as abnormal, and switch the fuel supply state from normal mode to emergency mode, and recalculate the residual fuel quantity and the driving range in the emergency mode.
[0051] If so, that is, the absolute value of the difference between the target volume estimate value and the standard value exceeds the error threshold, indicating that the oil tank fuel supply state is abnormal, and the fuel supply state abnormality can be indicated to the driver through a fault code or an instrument panel indicator light, and at the same time, fault information is recorded in the engine control unit for subsequent diagnosis. The normal mode of the fuel supply state refers to that the fuel system operates based on preset calibration parameters, and the remaining fuel quantity and the range are accurately calculated through multi-sensor fusion, and the emergency mode refers to that when the fuel supply abnormality is detected, the backup logic is automatically switched to, the dependence on fault sensor data is abandoned, and a simplified algorithm or a preset safety value is used to maintain the basic function, so as to avoid the misjudgment of the range caused by the distorted data.
[0052] Further, the method can further include:
[0053] When it is detected that the range is lower than a preset kilometer threshold, a map API interface is called by a vehicle-mounted controller to send a query request containing the current position coordinates;
[0054] A list of gas stations within a preset distance of kilometers returned by the API is received, the gas station list is sorted according to the spatial distance, and a low fuel quantity early warning service is generated for the driver.
[0055] The preset kilometer threshold generally refers to a safety range threshold defined by the vehicle manufacturer or the user, and when the system calculated range is not more than the threshold, the early warning process is automatically activated. The vehicle-mounted controller polls the range calculation result at a fixed frequency, and as soon as it is detected that the value drops below the threshold, the map service calling process is started immediately to ensure the timeliness of the early warning response. The vehicle-mounted controller, as the hub of the vehicle electronic system, is responsible for integrating the range data and external service calling, and it obtains the current position coordinates (provided by the vehicle-mounted GPS module) through the CAN bus and encapsulates them into request parameters (such as JSON format) conforming to the map API specification.
[0056] The technical scheme of the embodiment of the application integrates multiple source data such as fuel level, instantaneous fuel consumption, vehicle speed, and uses a smoothing processing algorithm to dynamically estimate the effective volume of the fuel tank, ensuring the high accuracy and real-time performance of the remaining fuel quantity and range calculation; by comparing the volume estimate value with the standard value, the fuel tank fuel supply abnormality is automatically judged, and the alarm and emergency mode switching are triggered in time to avoid the driving risks caused by sensor failure and fuel quantity misjudgment; in the normal mode, fine calculation is realized based on comprehensive parameters, and in the emergency mode, the conservative algorithm and sensor direct reading data are relied on to ensure the basic function, taking into account the accuracy and safety to ensure that the range information is not invalid in extreme working conditions; the average fuel consumption calculation logic is dynamically adjusted according to the vehicle speed, and a preset coefficient table is used to flexibly adapt to different working conditions, improving the reliability and stability of the range prediction in complex driving scenarios.
[0057] Embodiment two
[0058] Figure 2The flowchart of another vehicle fuel endurance estimation method provided for the second embodiment of the present application is refined based on the above-mentioned embodiment. As shown in Figure 2 , the method comprises:
[0059] S210, when the vehicle starts, automatically acquire the timing parameters of the vehicle fuel system and the preset calibration parameters; wherein the timing parameters include: the oil percentage measured by the fuel level sensor, the instantaneous fuel consumption, the real-time vehicle speed and the main and auxiliary tank switching valve state; the threshold calibration parameters include: the standard volume of the main tank, the standard volume of the auxiliary tank, the volume error threshold and the baseline value of the fuel consumption per 100 kilometers.
[0060] S220, based on the current oil percentage measured by the fuel level sensor and the instantaneous fuel consumption, estimate the effective volume of the target tank, and by smoothing the multiple effective volumes estimated continuously, obtain the target volume estimation value of the target tank.
[0061] S230, based on the preset calibration parameters, obtain the target standard volume value corresponding to the target tank and the target volume error threshold, and judge whether the absolute value of the difference between the target volume estimation value and the target standard volume value exceeds the target volume error threshold.
[0062] S240, if it is judged that the absolute value of the difference between the target volume estimation value and the target standard volume value does not exceed the target volume error threshold, the oil tank fuel supply state is kept in normal mode.
[0063] When the deviation between the tank effective volume estimation value and the tank standard volume is within the allowable range, it is considered that the tank state is normal, the current metering algorithm is maintained, and it is ensured that the subsequent calculation is based on reliable tank parameters, so as to avoid the estimation deviation caused by sensor failure or tank abnormality.
[0064] S250, collect the instantaneous fuel consumption value F i at a fixed time interval Δt, calculate the cumulative fuel consumption from the sampling time to the current time by the formula Σ(F i × Δt), and according to the type of the target tank, query the corresponding target adjustment coefficient k i from the preset adjustment coefficient table; wherein the target adjustment coefficient k i is calibrated according to different tank types and fuel characteristics.
[0065] The instantaneous fuel consumption data of the engine is continuously collected at fixed time intervals, reflecting the fuel consumption rate of the vehicle under the current working condition. By multiplying the instantaneous fuel consumption value collected each time by the sampling time interval, the total fuel consumption since the start time or the last mode switching is gradually accumulated. The adjustment coefficient is a correction parameter pre-calibrated according to the tank type and fuel characteristics. Different fuel tanks may have different measurement accuracy of the liquid level sensor due to structural differences. According to the target tank type currently supplied with fuel, the corresponding correction coefficient is queried from the preset adjustment coefficient table. This correction mechanism ensures that the calculation of cumulative fuel consumption is closer to the actual consumption under different fuel supply conditions.
[0066] S260, the remaining fuel amount O r is calculated in the normal mode by the formula O S = V i -∑(F i ×Δt×k r ), and the driving process is divided into multiple consecutive fixed-length mileage windows L. In each mileage window L, the window average fuel consumption O i is calculated by∑(F a ×Δt×v) / L; wherein V S is the standard volume of the target tank, and v is the real-time vehicle speed.
[0067] V S is the theoretical capacity of the tank designed as a calculation reference. The instantaneous fuel consumption F i is collected every Δt, converted into single consumption, multiplied by the adjustment coefficient k i , and then accumulated to obtain the total corrected consumption. As the driving time increases, the cumulative consumption continuously grows, and the remaining fuel amount O r continuously decreases. The driving process is divided into fixed-length mileage windows, and the average fuel consumption in each window is dynamically calculated. Specifically, the continuous driving distance is cut into multiple intervals with a length of L, F i ×Δt is the fuel consumption in Δt, multiplied by the real-time vehicle speed v to obtain the mileage fuel consumption in that period. The vehicle refreshes the average fuel consumption once every time it drives through a window, reflecting the latest driving habits and road conditions.
[0068] S270, based on the current remaining fuel amount O r and the average fuel consumption O a , the theoretical range R c is calculated by the formula R r = O a / (O c / 100), and the theoretical range is corrected by applying a safety factor k s .
[0069] The formula R c = O r / (O a / 100) is the core meaning of converting the remaining oil amount into the driving range at the current average fuel consumption rate, (O a / 100) converts the average fuel consumption into the fuel consumption per kilometer, O r / (O a / 100) is the driving range obtained by dividing the remaining oil amount by the fuel consumption per kilometer. To cope with fuel consumption fluctuations, sensor errors or environmental influences that may occur in actual driving, the system will use a safety factor k s multiplied by R c The theoretical driving range is corrected, and the final driving range displayed is R
[0070] S280, if yes, mark the oil tank fuel supply state as abnormal, and switch the fuel supply state from normal mode to emergency mode, and recalculate the remaining oil amount and the driving range in the emergency mode.
[0071] Optionally, if yes, mark the oil tank fuel supply state as abnormal, and switch the fuel supply state from normal mode to emergency mode, and recalculate the remaining oil amount and the driving range in the emergency mode, which can include:
[0072] If the absolute value of the difference between the target volume estimate value and the target standard volume value exceeds the target volume error threshold, an abnormal fuel supply state identification field is added to the state parameter table of the vehicle control system, and the field state is set to True;
[0073] When the state is True, the system log recording function is triggered, and the time of abnormal occurrence, the target volume estimate value, the target standard volume value and the error value are written in the on-board diagnostic system;
[0074] After completing the abnormal writing, the fuel supply metering system is switched to an emergency mode that only calculates the remaining oil amount according to the fuel level sensor measurement value.
[0075] When the deviation between the oil tank volume estimate value and the target standard volume value is detected to exceed the threshold, the fuel supply abnormal state is recorded in the vehicle control system, and the fault signal is explicitly indicated through a Boolean value field (such as "abnormal identification = True"), prompting that the oil tank may have sensor failure, structural abnormalities and other problems. The on-board diagnostic system automatically enters the time of abnormal occurrence, the estimated volume, the standard volume and the error value (for example: 2024-03-0410:30, estimated 45L / standard 50L, error 10%), providing data support for maintenance. The fuel supply metering system is switched to an emergency mode, and the remaining oil amount is directly calculated by "standard volume x liquid level sensor percentage", bypassing the complex dynamic fuel consumption algorithm, to ensure that basic oil amount data can still be output in abnormal conditions, maintaining driving safety reference.
[0076] Further, the recalculation of the remaining fuel amount and the range in the emergency mode can include:
[0077] In the emergency mode, the target tank remaining fuel amount is recalculated based on the product of the fuel level sensor measured fuel amount percentage and the target standard volume value;
[0078] A preset conservative fuel consumption correction coefficient is activated, and the fuel consumption benchmark value is multiplied by the correction coefficient as the fuel consumption calculation parameter in the current emergency mode;
[0079] According to the recalculated remaining fuel amount and the emergency fuel consumption parameter, the updated range is calculated by calculating the ratio of the remaining fuel amount to the emergency fuel consumption parameter, and is displayed in real time on the instrument panel.
[0080] The emergency mode refers to abandoning the dynamic fuel consumption integration and correction algorithm of the normal mode, and only relying on the fuel level sensor data and the conservative parameter to calculate the range, to ensure the bottom line function in abnormal conditions. The fuel level sensor directly serves as the only data source for calculating the remaining fuel amount, and the conservative fuel consumption correction coefficient is a preset coefficient greater than 1, which is used to forcibly increase the fuel consumption calculation value in the emergency mode, to make the range display more conservative by overestimating the fuel consumption, and to reserve a safety margin; the fuel consumption benchmark value refers to the reference value of the vehicle's fuel consumption per 100 kilometers under standard working conditions, which is multiplied by the conservative correction coefficient to generate the emergency fuel consumption parameter. The calculation result will be updated in real time to the instrument panel, so that the driver can see more conservative range values and plan refueling in time.
[0081] The core of the emergency mode is to ensure that the range information does not fail in system abnormalities by "simplified calculation + conservative parameters", to calculate the remaining fuel amount by directly reading the sensor data, and to calculate a shorter range by overestimating the fuel consumption, to force the driver to refuel in advance and avoid the risk of breaking down, which is essentially a bottom line design between safety and function.
[0082] Optionally, after recalculating the remaining fuel amount and the range in the emergency mode, the following can also be included:
[0083] The vehicle terminal sends an alarm information of the fuel supply system abnormality to the user;
[0084] When it is detected that the vehicle has stopped running for more than a preset time, or the user manually triggers the system reset operation, the emergency mode is actively exited and the range estimation process in the normal mode is restarted.
[0085] After the emergency mode is activated, the vehicle terminal (such as the instrument panel and the central control screen) sends an alarm information to the user, and clearly prompts "fuel supply system is abnormal, and has switched to emergency mode", to ensure that the user can master the vehicle state in time. The alarm form can include the instrument panel yellow fault lamp (such as the refueling machine icon) and the central control screen display text alarm; the alarm information elements can include the abnormal type (fuel supply system), the current mode (emergency mode) and the recommended operation (refueling / repair as soon as possible), for example: "warning: fuel supply system detects abnormal, current emergency mode, and the endurance display has been conservatively calculated, please go to the gas station as soon as possible."
[0086] When the vehicle stops running for more than a preset time, the system automatically re-detects the fuel supply system data, and if the volume estimation and other key parameters return to normal, the emergency mode will be automatically exited and switched back to the normal endurance estimation process. This embodiment supports the user to manually trigger the emergency mode exit through long-pressing the instrument panel reset key, the central control system menu operation or the diagnostic instrument instruction, and the system restarts the normal mode as soon as the system verification is passed. Whether it is automatic or manual exit, the system needs to complete multiple verifications such as volume deviation and fuel consumption data to ensure that the key parameters meet the standards, and if the verification fails, the emergency mode will be continued and the alarm prompt will be strengthened to prevent risks caused by false mode switching in abnormal state.
[0087] The technical scheme of the embodiment of the present application mainly describes how to calculate the remaining fuel quantity and the endurance mileage in the normal mode and the determination and switching process of the abnormal mode through the refinement of the overall scheme. Specifically, based on real-time instantaneous fuel consumption, vehicle speed and other parameters, combined with the dual calculation logic of fixed time interval collection and mileage window division, and with the preset adjustment coefficient and safety coefficient correction, the endurance estimation is ensured to have high precision and dynamic adaptability under standard working conditions, and reliable driving reference information is provided for the user; when the tank volume deviation is detected to be over the threshold, the abnormal flag and log are automatically triggered and stored, and the emergency mode is switched to rely on the liquid level sensor only, the endurance is recalculated by the conservative fuel consumption coefficient and displayed in real time, and the alarm prompt and intelligent exit mechanism are provided, to ensure the reliability and safety of the endurance information under abnormal working conditions, and to provide fault warning and emergency protection for the user.
[0088] Embodiment three
[0089] Figure 3 A structural schematic diagram of a vehicle fuel endurance mileage estimation device provided for the third embodiment of the present application is shown in FIG. 3. Figure 3 As shown in the figure, the device comprises:
[0090] The vehicle operating parameter acquisition module 310 is configured to automatically acquire time sequence parameters and preset calibration parameters of the fuel system of the vehicle when the vehicle is started, wherein the time sequence parameters include fuel level percentage measured by the fuel level sensor, instantaneous fuel consumption, real-time vehicle speed, and state of the main and auxiliary fuel tank switching valve, and the threshold calibration parameters include standard volume of the main fuel tank, standard volume of the auxiliary fuel tank, volume error threshold, and baseline value of fuel consumption per 100 kilometers.
[0091] The volume estimation value calculation module 320 is configured to determine a target fuel tank for current fuel supply according to the current fuel switching valve state, estimate effective volume of the target fuel tank based on the current fuel level percentage and the instantaneous fuel consumption measured by the fuel level sensor, and obtain a target volume estimation value of the target fuel tank by smoothing a plurality of effective volumes estimated continuously.
[0092] The fuel supply state determination module 330 is configured to acquire a target standard volume value corresponding to the target fuel tank and a target volume error threshold based on the preset calibration parameters, and determine whether an absolute value of a difference between the target volume estimation value and the target standard volume value exceeds the target volume error threshold.
[0093] The normal mode endurance mileage estimation module 340 is configured to, if no, multiply all instantaneous fuel consumption values within a current starting duration to obtain residual fuel quantity by multiplying with a corresponding coefficient in a preset adjustment coefficient table, dynamically calculate average fuel consumption according to the instantaneous fuel consumption and the vehicle speed, and calculate endurance mileage based on the average fuel consumption and the residual fuel quantity.
[0094] The emergency mode endurance mileage estimation module 350 is configured to, if yes, mark that the fuel tank fuel supply state is abnormal, and switch the fuel supply state from the normal mode to the emergency mode, and recalculate the residual fuel quantity and the endurance mileage in the emergency mode.
[0095] The technical scheme of the embodiment of the application integrates multiple source data such as fuel level, instantaneous fuel consumption, and vehicle speed, combines a smoothing processing algorithm, dynamically estimates effective volume of the fuel tank, and ensures high precision and real-time performance of residual fuel quantity and endurance mileage calculation; compares the volume estimation value with the standard value, automatically determines fuel tank fuel supply abnormality, timely triggers an alarm and switches to an emergency mode, avoids driving risks caused by sensor failure and fuel quantity misjudgment; realizes fine calculation based on comprehensive parameters in the normal mode, and relies on a conservative algorithm and sensor direct reading data in the emergency mode to ensure accuracy and safety, and ensures that endurance information is not invalid in extreme working conditions; dynamically adjusts average fuel consumption calculation logic according to the vehicle speed, and flexibly adapts to different working conditions through a preset coefficient table, thereby improving reliability and stability of endurance prediction in complex driving scenarios.
[0096] Optionally, on the basis of each of the above embodiments, the volume estimation value calculation module 320 can include:
[0097] The periodic fuel consumption calculation unit is used to accumulate all instantaneous fuel consumption values in the current period to obtain the periodic fuel consumption ΔF with a fixed time interval as the sampling period;
[0098] The oil volume percentage change value calculation unit is used to record the initial oil volume percentage P1 at the start time of sampling and the ending oil volume percentage P2 at the end time, and calculate the difference between the initial oil volume percentage and the ending oil volume percentage to obtain the oil volume percentage change value ΔP;
[0099] The effective volume calculation unit is used to calculate the effective volume through the formula V eff =ΔF / ΔP to calculate the effective volume V of a single sampling cycle eff ;
[0100] The volume estimation value calculation unit is used to calculate the effective volume V obtained within a fixed sampling period. eff Perform sliding average filtering and output the estimated effective volume V of the target fuel tank est .
[0101] Optionally, based on the above embodiments, the normal mode cruising range estimation module 340 may include:
[0102] a normal mode maintaining unit, configured to maintain the fuel tank fuel supply state in the normal mode if it is determined that the absolute value of the difference between the target volume estimate value and the target standard volume value does not exceed the target volume error threshold;
[0103] The cumulative fuel consumption calculation unit is used to collect the instantaneous fuel consumption value F at a fixed time interval Δt i , through the formula ∑(F i ×Δt) calculates the cumulative fuel consumption from the sampling moment to the current moment, and queries the corresponding target adjustment coefficient k from the preset adjustment coefficient table according to the target tank type i ; Among them, the target adjustment coefficient k i Calibrated according to different fuel tank types and fuel characteristics;
[0104] Average fuel consumption calculation unit, used to use formula O r =V S -∑(F i ×Δt×k i ) Calculate the remaining oil volume in normal mode r , and divide the driving process into multiple continuous fixed-length mileage windows L. In each mileage window L, through ∑(F i ×Δt×v) / LCalculation window average fuel consumption O a ; Among them, V S is the target fuel tank standard volume, v is the real-time vehicle speed;
[0105] The cruising range calculation unit is used to calculate the current remaining fuel volume.r and average fuel consumption O a , through the formula R c =O r / (O a / 100) Calculate theoretical cruising range R c , and apply the safety factor k s Corrected theoretical range.
[0106] Optionally, based on the above embodiments, the emergency mode cruising range estimation module 350 may include:
[0107] a state abnormality identification unit, configured to add a fuel supply state abnormality identification field to a state parameter table of a vehicle control system and set the state of the field to True if it is determined that the absolute value of the difference between the target volume estimate value and the target standard volume value exceeds a target volume error threshold;
[0108] an abnormality writing unit, configured to trigger a system log recording function when the state is True, and write the time when the abnormality occurred, the target volume estimate value, the target standard volume value, and the error value into the on-board diagnostic system;
[0109] The emergency mode switching unit is used to switch the fuel supply metering system to an emergency mode in which the remaining fuel amount is calculated only based on the measurement value of the fuel level sensor after the abnormality writing is completed.
[0110] Optionally, based on the above embodiments, the emergency mode switching unit may be further configured to, in the emergency mode, recalculate the target remaining fuel tank amount based on the product of the fuel level percentage measured by the fuel level sensor and the target standard volume value;
[0111] Activate the preset conservative fuel consumption correction factor and multiply the baseline fuel consumption per 100 kilometers by the correction factor as the fuel consumption calculation parameter in the current emergency mode;
[0112] Based on the recalculated remaining fuel volume and emergency fuel consumption parameters, the updated cruising range is calculated by calculating the ratio of the remaining fuel volume to the emergency fuel consumption parameters, and is displayed in real time on the instrument panel.
[0113] Optionally, based on the above embodiments, the vehicle may further include: an emergency mode exit unit configured to recalculate the remaining fuel volume and the cruising range in the emergency mode and then send an alarm message of fuel supply system abnormality to the user via the vehicle terminal;
[0114] When it is detected that the vehicle has stopped running for more than a preset time, or the user manually triggers a system reset operation, the emergency mode is automatically exited and the range estimation process in normal mode is restarted.
[0115] Optionally, on the basis of each of the above embodiments, a low-oil amount early warning service unit can also be included, configured to, when detecting that the cruising range is lower than a preset kilometer threshold, invoke a map API interface through a vehicle-mounted controller to send a query request containing a current position coordinate.
[0116] The low-oil amount early warning service is generated for the driver by receiving a list of gas stations within a preset distance of kilometers returned by the API and sorting the gas station list according to spatial distance.
[0117] The vehicle fuel cruising range estimation device provided by the embodiments of the present application can execute the vehicle fuel cruising range estimation method provided by any of the embodiments of the present application, and has the corresponding function modules and beneficial effects of the execution method.
[0118] Embodiment Four
[0119] Figure 4 A structural schematic diagram of an electronic device 10 that can be used to implement embodiments of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices (e.g., headsets, glasses, watches, etc.), and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not intended to limit the implementations of the present application described and / or claimed in this document.
[0120] As shown in Figure 4 The electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which are communicatively connected to the at least one processor 11, wherein the memory stores a computer program that can be executed by the at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0121] A plurality of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.
[0122] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs various methods and processes described above, such as a vehicle fuel endurance estimation method.
[0123] That is, when the vehicle starts, the timing parameters of the vehicle fuel system and the preset calibration parameters are automatically obtained; wherein the timing parameters include: the oil percentage measured by the fuel level sensor, the instantaneous fuel consumption, the real-time vehicle speed, and the state of the main and auxiliary fuel tank switching valve; the threshold calibration parameters include: the standard volume of the main fuel tank, the standard volume of the auxiliary fuel tank, the volume error threshold, and the baseline value of the fuel consumption per 100 kilometers;
[0124] According to the current fuel switching valve state, the target tank for current fuel supply is determined, and the effective volume of the target tank is estimated based on the current oil percentage measured by the fuel level sensor and the instantaneous fuel consumption. By smoothing a plurality of continuously estimated effective volumes, a target volume estimation value of the target tank is obtained;
[0125] Based on the calibration parameters, a target standard volume value corresponding to the target tank and a target volume error threshold are obtained, and it is judged whether the absolute value of the difference between the target volume estimation value and the target standard volume value exceeds the target volume error threshold;
[0126] If not, all instantaneous fuel consumption values within the current start time are accumulated, multiplied by the corresponding coefficient in the preset adjustment coefficient table to obtain the remaining oil quantity, and the average fuel consumption is dynamically calculated according to the instantaneous fuel consumption and the vehicle speed. The endurance is calculated based on the average fuel consumption and the remaining oil quantity;
[0127] If yes, the oil tank fuel supply state is marked as abnormal, and the fuel supply state is switched from normal mode to emergency mode. In the emergency mode, the remaining oil quantity and the endurance are recalculated.
[0128] In some embodiments, a vehicle fuel range estimation method can be implemented as a computer program tangibly embodied in a computer readable storage medium, e.g., storage unit 18. In some embodiments, parts or all of the computer program can be loaded and / or installed onto electronic device 10 via, e.g., ROM 12 and / or communication unit 19. When the computer program is loaded onto RAM 13 and executed by processor 11, one or more steps of a vehicle fuel range estimation method as described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform a vehicle fuel range estimation method by other means, e.g., with the aid of firmware.
[0129] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, specially designed application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0130] Computer programs used to implement the methods of the application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the computer program, when executed by the processor of the machine, implements the functions / acts specified in the flowcharts and / or block diagrams. The computer program can be executed entirely on a machine, partially on a machine, partially on a machine and partially on a remote machine or entirely on a remote machine or server.
[0131] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store computer programs for use by or in connection with an instruction execution system, apparatus, or device. Computer-readable storage media can include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0132] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0133] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0134] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS service.
[0135] It should be understood that the various forms of flow shown above can be reordered, added to, or have steps deleted. For example, the steps described in the present application can be performed in parallel, in series, or in a different order, as long as the desired results of the technical solutions of the present application can be achieved, and this is not limited herein.
[0136] The above detailed description does not constitute a limitation on the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for estimating vehicle fuel mileage, characterized in that: The method comprises: When the vehicle is started, the timing parameters and preset calibration parameters of the vehicle fuel system operation are automatically obtained; wherein, the timing parameters include: the fuel level percentage measured by the fuel level sensor, instantaneous fuel consumption, real-time vehicle speed, and the status of the main and auxiliary fuel tank switching valves; the threshold calibration parameters include: the standard volume of the main fuel tank, the standard volume of the auxiliary fuel tank, the volume error threshold, and the fuel consumption benchmark value per 100 kilometers; determining a target fuel tank for current fuel supply based on the current fuel switching valve state, estimating an effective volume of the target fuel tank based on the current fuel level percentage and instantaneous fuel consumption measured by the fuel level sensor, and obtaining an estimated target volume of the target fuel tank by smoothing multiple consecutively estimated effective volumes; obtaining a target standard volume value and a target volume error threshold corresponding to a target fuel tank based on preset calibration parameters, and determining whether an absolute value of a difference between the target volume estimate and the target standard volume value exceeds the target volume error threshold; If not, then all instantaneous fuel consumption values during this startup are accumulated, multiplied by the corresponding coefficient in the preset adjustment coefficient table to obtain the remaining fuel, and the average fuel consumption is dynamically calculated based on the instantaneous fuel consumption and vehicle speed, and the cruising range is calculated based on the average fuel consumption and the remaining fuel; If so, the fuel supply state of the fuel tank is marked as abnormal, and the fuel supply state is switched from normal mode to emergency mode, and the remaining fuel volume and cruising range are recalculated in the emergency mode.
2. The method according to claim 1, characterized in that The method includes estimating the effective volume of the target fuel tank based on the current fuel volume percentage and the instantaneous fuel consumption measured by the fuel level sensor, and obtaining a target volume estimation value of the target fuel tank by smoothing a plurality of continuously estimated effective volumes, including: Taking a fixed time interval as the sampling period, all instantaneous fuel consumption values in the current period are accumulated to obtain the period fuel consumption ΔF; Record the initial oil volume percentage P1 at the start of sampling and the final oil volume percentage P2 at the end of sampling, and calculate the difference between the initial oil volume percentage and the final oil volume percentage to obtain the oil volume percentage change value ΔP; By formula V eff =ΔF / ΔP to calculate the effective volume V of a single sampling cycle eff ; The effective volume V obtained within a fixed sampling period eff Perform sliding average filtering and output the estimated effective volume V of the target fuel tank est .
3. The method according to claim 1, characterized in that If not, then all instantaneous fuel consumption values during this startup are accumulated and multiplied by the corresponding coefficient in the preset adjustment coefficient table to obtain the remaining fuel. The average fuel consumption is dynamically calculated based on the instantaneous fuel consumption and vehicle speed. The cruising range is calculated based on the average fuel consumption and the remaining fuel, including: If it is determined that the absolute value of the difference between the target volume estimate value and the target standard volume value does not exceed the target volume error threshold, the fuel tank fuel supply state is maintained in the normal mode; Collect instantaneous fuel consumption value F at fixed time interval Δt i , through formula F c =∑(F i ×Δt) calculates the cumulative fuel consumption from the sampling moment to the current moment, and queries the corresponding target adjustment coefficient k from the preset adjustment coefficient table according to the target tank type i ; Among them, the target adjustment coefficient k i Calibrated according to different fuel tank types and fuel characteristics; Using formula O r =V S -∑(F i ×Δt×k i ) Calculate the remaining oil volume in normal mode r , and divide the driving process into multiple continuous fixed-length mileage windows L. In each mileage window L, through ∑(F i ×Δt×v) / LCalculation window average fuel consumption O a ; Among them, V S is the target fuel tank standard volume, v is the real-time vehicle speed; Based on the current remaining oil volume O r and average fuel consumption O a , through the formula: R c =O r / (O a / 100) Calculate theoretical cruising range R c , and apply the safety factor k s Corrected theoretical range.
4. The method according to claim 1, wherein If so, the fuel tank fuel supply status is marked as abnormal, and the fuel supply metering system is switched to emergency mode, including: If the absolute value of the difference between the target volume estimate and the target standard volume exceeds the target volume error threshold, a fuel supply status abnormality flag field is added to the vehicle control system status parameter table and the field status is set to True; When the state is True, the system log recording function is triggered, and the time when the abnormality occurs, the target volume estimate value, the target standard volume value and the error value are written into the vehicle diagnostic system; After the abnormality is written, the fuel supply metering system is switched to an emergency mode in which the remaining fuel amount is calculated based only on the measurement value of the fuel level sensor.
5. The method according to claim 4, characterized in that Recalculate remaining fuel and range in emergency mode, including: In emergency mode, the target remaining fuel volume in the fuel tank is recalculated based on the product of the fuel volume percentage measured by the fuel level sensor and the target standard volume value; Activate the preset conservative fuel consumption correction factor and multiply the baseline fuel consumption per 100 kilometers by the correction factor as the fuel consumption calculation parameter in the current emergency mode; Based on the recalculated remaining fuel volume and emergency fuel consumption parameters, the updated cruising range is calculated by calculating the ratio of the remaining fuel volume to the emergency fuel consumption parameters, and is displayed in real time on the instrument panel.
6. The method according to claim 5, characterized in that After recalculating the remaining fuel and range in emergency mode, it also includes: Send alarm information of fuel supply system abnormality to users through the vehicle terminal; When it is detected that the vehicle has stopped running for more than a preset time, or the user manually triggers a system reset operation, the emergency mode is automatically exited and the range estimation process in normal mode is restarted.
7. The method according to any one of claims 1 to 6, characterized in that include: When it is detected that the cruising range is lower than the preset kilometer threshold, the map API interface is called through the vehicle controller to send a query request containing the current location coordinates; Receive the list of gas stations within a preset distance from the API, sort the list by spatial distance, and generate a low fuel warning service for the driver.
8. A vehicle fuel mileage estimation device, characterized in that: include: A vehicle operating parameter acquisition module is configured to automatically acquire the timing parameters and preset calibration parameters of the vehicle fuel system when the vehicle is started. The timing parameters include: the fuel level percentage measured by the fuel level sensor, instantaneous fuel consumption, real-time vehicle speed, and the status of the main and auxiliary fuel tank switching valves; the threshold calibration parameters include: the standard volume of the main fuel tank, the standard volume of the auxiliary fuel tank, the volume error threshold, and the fuel consumption per 100 kilometers benchmark value; a volume estimation value calculation module, configured to determine a target fuel tank for current fuel supply based on the current fuel switching valve state, estimate the effective volume of the target fuel tank based on the current fuel volume percentage and instantaneous fuel consumption measured by the fuel level sensor, and obtain a target volume estimation value of the target fuel tank by smoothing multiple consecutively estimated effective volumes; a fuel supply status determination module, configured to obtain a target standard volume value and a target volume error threshold value corresponding to a target fuel tank based on preset calibration parameters, and determine whether an absolute value of a difference between the target volume estimate value and the target standard volume value exceeds the target volume error threshold value; a normal mode cruising range estimation module, configured to, if not, accumulate all instantaneous fuel consumption values during the current startup time, multiply the accumulated values by the corresponding coefficient in the preset adjustment coefficient table to obtain the remaining fuel, dynamically calculate the average fuel consumption based on the instantaneous fuel consumption and vehicle speed, and calculate the cruising range based on the average fuel consumption and the remaining fuel; The emergency mode cruising range estimation module is used to, if yes, mark the fuel tank fuel supply state as abnormal, and switch the fuel supply state from normal mode to emergency mode, and recalculate the remaining fuel and cruising range in the emergency mode.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so as to enable the at least one processor to execute a vehicle fuel range estimation method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement a vehicle fuel range estimation method according to any one of claims 1 to 7 when executed.
Citation Information
Patent Citations
Method for displaying motor vehicle instrument system, and instrument system
CN110126620A
Calculation method of oil remaining amount endurance mileage reminding function
CN113830090A
Sliding window oil consumption-based endurance mileage algorithm and display system
CN114577228A
Fuel endurance mileage display method and device, electronic equipment and storage medium
CN116788254A
Display method of fuel display system
JP1992191128A