A method and device for displaying vehicle fuel level

By dividing the working process of the fuel tank into multiple stages and introducing estimated fuel quantity and filtering strategies in each stage, the problem of inaccurate fuel quantity display caused by fluctuations in the fuel float is solved, and the accuracy of displaying the fuel quantity is improved.

CN116659606BActive Publication Date: 2026-06-30CHINA FAW CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA FAW CO LTD
Filing Date
2023-04-27
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

When a vehicle is in motion, the fuel float may fluctuate significantly due to road incline or acceleration/deceleration, resulting in inaccurate fuel level display and causing the driver to feel unsafe.

Method used

The working process of the fuel tank is divided into multiple stages, and an estimated fuel level is introduced in each stage. By comparing the instantaneous fuel consumption with the remaining fuel level, different filtering strategies are used to adjust the displayed value to avoid misjudgment caused by relying solely on the remaining fuel level.

Benefits of technology

It improves the accuracy of the fuel gauge under special conditions, avoids drastic changes in fuel level, and enhances the accuracy of the displayed fuel level.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116659606B_ABST
    Figure CN116659606B_ABST
Patent Text Reader

Abstract

This application provides a method and device for displaying vehicle fuel level. The application divides the fuel tank's operation into multiple stages, each containing multiple sub-stages, and introduces an estimated fuel level value. Different actions and filtering strategies are implemented in each sub-stage. When the vehicle's fuel tank is in the engine operating sub-stage, the stationary sub-stage, or the driving sub-stage, the estimated fuel level value generated by statistically analyzing the vehicle's instantaneous fuel consumption is compared with the remaining fuel level value. This avoids misjudgments caused by relying solely on the remaining fuel level value, avoids resistance fluctuations caused by slopes and bumpy roads, and allows the fuel level display instrument to more closely approximate the actual fuel level in the tank under special circumstances, improving the accuracy of the displayed fuel level and preventing drastic changes in the displayed fuel level value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle detection technology, and more specifically, to a method, device, medium, and electronic device for displaying vehicle fuel level. Background Technology

[0002] The fuel float in a car's fuel tank can only measure the fuel level when it is vertical. The mechanical structure connected to the fuel float is used to adjust the resistance. The fuel float will adjust with the fuel level in the tank to cause changes in the resistance. Different resistance values ​​correspond to different amounts of fuel remaining in the tank.

[0003] However, during vehicle operation, road gradients or acceleration / deceleration can cause significant fluctuations in the fuel float, resulting in drastic changes in resistance. This leads to inaccurate remaining fuel levels displayed on the instrument panel, potentially causing driver unease while driving.

[0004] Therefore, this application provides a method for displaying the fuel level of a vehicle to solve one of the aforementioned technical problems. Summary of the Invention

[0005] The purpose of this application is to provide a method, device, medium, and electronic device for displaying vehicle fuel level, which can solve at least one of the aforementioned technical problems. The specific solution is as follows:

[0006] According to a specific embodiment of this application, in a first aspect, this application provides a method for displaying the fuel level of a vehicle, comprising:

[0007] When the vehicle's fuel tank is in the engine operating sub-stage, the stationary sub-stage, or the driving sub-stage, the remaining fuel value and the estimated fuel value are obtained. The remaining fuel value is the amount of fuel remaining in the fuel tank collected by the fuel level sensor, and the estimated fuel value is the amount of fuel remaining in the fuel tank estimated based on the instantaneous fuel consumption of the vehicle's engine. The driving sub-stage corresponds to the vehicle's driving process.

[0008] When the difference between the remaining oil value and the estimated oil value is greater than a preset first threshold, a filtering coefficient is determined from a preset first coefficient range;

[0009] When the difference between the remaining oil value and the estimated oil value is less than a preset second threshold, the filtering coefficient is determined from a preset second coefficient range, wherein the preset first threshold is greater than or equal to the preset second threshold, the filtering coefficients in the preset first coefficient range are all less than the preset conventional filtering coefficients, and the filtering coefficients in the preset second coefficient range are all greater than the preset first conventional filtering coefficients.

[0010] Based on the filtering coefficient, the fuel level value is sent to the display instrument as an estimated fuel level value for display.

[0011] According to a specific embodiment of this application, in a second aspect, this application provides a vehicle fuel level display device, comprising:

[0012] The first obtaining unit is used to obtain the remaining fuel level and the estimated fuel level when the vehicle's fuel tank is in the engine working sub-stage, the stationary calm sub-stage, or the driving sub-stage. The remaining fuel level is obtained by collecting the amount of fuel remaining in the fuel tank through a fuel level sensor. The estimated fuel level is estimated based on the instantaneous fuel consumption of the vehicle's engine. The driving sub-stage corresponds to the driving process of the vehicle.

[0013] The first determining unit is used to determine a filtering coefficient from a preset first coefficient range when the difference between the remaining oil value and the estimated oil value is greater than a preset first threshold.

[0014] The second determining unit is used to determine the filtering coefficient from a preset second coefficient range when the difference between the remaining oil value and the estimated oil value is less than a preset second threshold, wherein the preset first threshold is greater than or equal to the preset second threshold, the filtering coefficients in the preset first coefficient range are all less than the preset conventional filtering coefficients, and the filtering coefficients in the preset second range are all greater than the preset first conventional filtering coefficients.

[0015] The sending unit is used to send the fuel quantity value for display to the display instrument based on the filtering coefficient, which is an estimated fuel quantity value.

[0016] According to a specific embodiment of this application, in a third aspect, this application provides a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method for displaying vehicle fuel level as described in any of the preceding claims.

[0017] According to a specific embodiment of this application, in a fourth aspect, this application provides an electronic device, including: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, cause the one or more processors to implement the vehicle fuel level display method as described in any of the preceding claims.

[0018] Compared with the prior art, the above-described solutions of this application have at least the following beneficial effects:

[0019] This application provides a method, device, medium, and electronic device for displaying vehicle fuel level. The application divides the fuel tank's operation into multiple stages, each containing multiple sub-stages, and introduces an estimated fuel level value. Different actions and filtering strategies are implemented in each sub-stage. When the vehicle's fuel tank is in the engine operating sub-stage, the stationary sub-stage, or the driving sub-stage, the estimated fuel level value generated by statistically analyzing the vehicle's instantaneous fuel consumption is compared with the remaining fuel level value. This avoids misjudgments caused by relying solely on the remaining fuel level value, avoids resistance fluctuations caused by slopes and bumpy roads, and allows the fuel level display instrument to more closely approximate the actual fuel level in the tank under special circumstances, improving the accuracy of the displayed fuel level and preventing drastic changes in the displayed fuel level value. Attached Figure Description

[0020] Figure 1 A flowchart is shown below illustrating a method for displaying vehicle fuel level according to an embodiment of this application;

[0021] Figure 2 A timing diagram of the fuel tank in standby mode according to an embodiment of this application is shown;

[0022] Figure 3 A timing diagram of the fuel tank in a stationary phase according to an embodiment of this application is shown;

[0023] Figure 4 A unit block diagram of a vehicle fuel level display device according to an embodiment of this application is shown. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0025] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the application. The singular forms “a,” “said,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms, and “multiple” generally includes at least two unless the context clearly indicates otherwise.

[0026] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.

[0027] It should be understood that although the terms first, second, third, etc., may be used in the embodiments of this application, these descriptions should not be limited to these terms. These terms are only used to distinguish the descriptions. For example, first may also be referred to as second without departing from the scope of the embodiments of this application, and similarly, second may also be referred to as first.

[0028] Depending on the context, the words “if” or “suppose” as used here can be interpreted as “when” or “in response to determination” or “in response to detection.” Similarly, depending on the context, the phrases “if determination” or “if detection (of the stated condition or event)” can be interpreted as “when determination” or “in response to determination” or “when detection (of the stated condition or event)” or “in response to detection (of the stated condition or event).”

[0029] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that an article or device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such an article or device. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the article or device that includes said element.

[0030] It should be noted that any symbols and / or numbers present in the specification that are not marked in the accompanying drawings are not reference numerals.

[0031] The optional embodiments of this application are described in detail below with reference to the accompanying drawings.

[0032] The embodiments provided in this application are embodiments of a method for displaying vehicle fuel level.

[0033] The embodiments of this application apply to the processor of the fuel tank, which will be described below in conjunction with... Figure 1 The embodiments of this application will be described in detail.

[0034] Step S101: When the vehicle's fuel tank is in the engine working sub-stage, the stationary calm sub-stage, or the driving sub-stage, obtain the remaining fuel value and the estimated fuel value.

[0035] In this embodiment of the application, the working process of the fuel tank is divided into several stages: standby stage, stationary stage and driving stage.

[0036] like Figure 2As shown, the standby phase includes: a standby unstable sub-phase (also known as a Shaking sub-phase), a standby calming sub-phase (also known as a Calming sub-phase), and a standby oil addition / refilling sub-phase (also known as an IGOffRefilling sub-phase).

[0037] like Figure 3 As shown, the static phase includes: the Static Shaking sub-phase, the Engine Working sub-phase, the Static Calming sub-phase, and the Static Refiling sub-phase.

[0038] The driving phase includes a driving sub-phase (also called the sStatic sub-phase). The driving sub-phase corresponds to the vehicle's driving process; it can be understood that when the vehicle is in motion, the fuel tank is also in the driving sub-phase.

[0039] The remaining fuel level is determined by a fuel level sensor that detects the amount of fuel remaining in the tank. A float is installed in the tank, floating on the gasoline. The fuel level is measured vertically. A mechanical structure connected to the float adjusts its resistance. The tank's processor acquires the instantaneous resistance value and converts it into the remaining fuel level.

[0040] The estimated fuel level is calculated based on the instantaneous fuel consumption of the vehicle's engine, estimating the remaining fuel in the fuel tank. When the vehicle's power switch is turned on, the remaining fuel level in the fuel tank is obtained as the total fuel level. The instantaneous fuel consumption of the vehicle's engine is periodically acquired at various stages of the fuel tank's operation. The instantaneous estimated fuel level is obtained by comparing the total fuel level with the real-time accumulated instantaneous fuel consumption.

[0041] Step S102: When the difference between the remaining oil quantity value and the estimated oil quantity value is greater than a preset first threshold, a filter coefficient is determined from a preset first coefficient range.

[0042] The filtering coefficient refers to the number of times the oil quantity value is transmitted to the display instrument per unit time, and is used to control the rate of change of the displayed value.

[0043] For example, the first threshold is preset to 2L, and the first coefficient range is preset to 0.01 to 0.05; when the remaining fuel in the tank exceeds the estimated fuel level of 2L, the filter coefficient is reduced to slow down the rate at which the fuel level on the display instrument drops.

[0044] Step S103: When the difference between the remaining oil value and the estimated oil value is less than a preset second threshold, the filter coefficient is determined from a preset second coefficient range.

[0045] Among them, the preset first threshold is greater than or equal to the preset second threshold, the filter coefficients in the preset first coefficient range are all less than the preset conventional filter coefficients, and the filter coefficients in the preset second coefficient range are all greater than the preset first conventional filter coefficients.

[0046] For example, the preset second threshold is 2L, and the preset second coefficient range is 1 to 3; when the remaining fuel in the tank is less than 2L of fuel as displayed, the filter coefficient is increased to accelerate the rate at which the fuel display instrument drops.

[0047] Step S104: Based on the filtering coefficient, send the fuel quantity value for display to the display instrument as an estimated fuel quantity value.

[0048] In this embodiment of the application, when the vehicle's fuel tank is in the engine working sub-stage, the stationary sub-stage, or the driving sub-stage, the estimated fuel quantity value generated by statistically analyzing the vehicle's instantaneous fuel consumption is compared with the remaining fuel quantity value. This avoids misjudgments of refueling and defueling caused by engine start-up vibration, and enables the fuel display instrument to be closer to the actual fuel quantity in the fuel tank under special circumstances, thereby improving the accuracy of the displayed fuel quantity.

[0049] In some specific embodiments, the method further includes the following steps:

[0050] Step S111: In response to the ignition switch of the vehicle being turned on, it is determined that the fuel tank of the vehicle has entered a static and unstable sub-stage.

[0051] The static unstable sub-stage is an intermediate stage in which the remaining fuel level is unstable. Therefore, fuel addition / reduction detection and filter coefficient determination are not performed on the vehicle during the static unstable sub-stage.

[0052] Step S112: When the duration of the vehicle's fuel tank being in a static and unstable sub-stage is less than or equal to a preset static and unstable duration, in response to starting the engine, it is determined that the vehicle's fuel tank has entered the engine operating sub-stage.

[0053] For example, such as Figure 3 As shown, the preset static instability duration is 400ms.

[0054] Step S113: When the duration of the vehicle's fuel tank in the static unstable sub-stage is greater than the preset static unstable duration, it is determined that the vehicle's fuel tank has entered the static calm sub-stage.

[0055] Step S114: In response to determining that the vehicle's fuel tank has entered the engine operating sub-stage or the stationary calm sub-stage, the filter coefficient is determined to be a preset first conventional filter coefficient.

[0056] For example, the first conventional filter coefficient is preset to 0.2.

[0057] Step S115: Based on the filtering coefficient, send the fuel quantity value for display to the display instrument as an estimated fuel quantity value.

[0058] In some specific embodiments, the method further includes the following steps:

[0059] Step S121: When the duration of the vehicle's fuel tank in the engine operating sub-stage is longer than the preset engine operating duration, it is determined that the vehicle's fuel tank has entered the static calm sub-stage.

[0060] For example, such as Figure 3 As shown, the preset engine operating time is 400ms.

[0061] In some specific embodiments, the method further includes the following steps:

[0062] Step S131: In response to turning on the power switch of the vehicle, it is determined that the fuel tank of the vehicle has entered the standby unstable sub-stage.

[0063] Step S132: When the duration of the vehicle's fuel tank in the standby unstable sub-stage is longer than the preset standby unstable duration, it is determined that the vehicle's fuel tank has entered the standby calm sub-stage, and the filter coefficient is determined to be the second conventional filter coefficient.

[0064] For example, such as Figure 2 As shown, the preset standby instability duration is 500ms, and the second normal filter coefficient is 0.5.

[0065] Step S133: Based on the filtering coefficient, send the fuel quantity value for display to the display instrument as an estimated fuel quantity value.

[0066] In some specific embodiments, the method further includes the following steps:

[0067] Step S141: When the vehicle's fuel tank is in the standby calm sub-stage, obtain the remaining fuel value and the estimated fuel value.

[0068] Step S142: When the difference between the remaining fuel value and the estimated fuel value is greater than a preset third threshold, it is determined that the fuel tank in the standby calm sub-stage is being refueled or defueled.

[0069] For example, the preset third threshold is 5L.

[0070] Step S143: When it is determined that the fuel tank in the standby calm sub-stage is being refueled or defueled, the fuel tank of the vehicle is determined to enter the standby refueling / defueling sub-stage.

[0071] For example, when you add fuel to a tank, it means the tank is being filled; when you siphon fuel from a tank, it means the tank is being depleted.

[0072] Step S144: When the duration of the vehicle's power switch being turned on is within a preset first duration, and the difference between the remaining fuel value and the estimated fuel value is always less than or equal to a preset third threshold, it is determined that the vehicle's fuel tank has entered a static and unstable sub-stage.

[0073] For example, such as Figure 2 As shown, the preset first duration is 1 second, and the preset third threshold is 5L.

[0074] In some specific embodiments, the method further includes the following steps:

[0075] Step S151: When the signal of the initial power-on of the display instrument is obtained and the fuel level sensor is in normal state, or when the fuel tank of the vehicle is in the standby calm sub-stage and the signal of the fuel level sensor returning to normal is obtained, it is determined that the fuel tank of the vehicle has entered the standby fuel addition / reduction sub-stage, and the filter coefficient is determined to be the preset first conventional filter coefficient.

[0076] For example, the first conventional filter coefficient is preset to 0.2.

[0077] Step S152: When the vehicle's fuel tank is in the standby refueling / recharging stage, the remaining fuel level is obtained, and the remaining fuel level is sent to the display instrument based on the filtering coefficient.

[0078] Since it is impossible to estimate the fuel level through fuel consumption calculation during the standby refueling / refueling phase, the total fuel level in the tank is corrected based on the remaining fuel level.

[0079] For example, the first conventional filter coefficient is preset to 0.2, and the fuel level value for display is sent to the display instrument based on the filter coefficient of 0.2 to indicate the remaining fuel level.

[0080] Step S153: When the vehicle's fuel tank is in the standby fuel filling / reducing sub-stage, and the duration of the vehicle's power switch being on exceeds a preset first duration, it is determined that the vehicle's fuel tank has entered the static unstable sub-stage.

[0081] For example, such as Figure 2 As shown, the preset first duration is 1 second.

[0082] In some specific embodiments, the method further includes the following steps:

[0083] Step S161: When the vehicle's fuel tank is in a static calm sub-stage, obtain the remaining fuel value and the estimated fuel value.

[0084] Step S162: When the difference between the remaining fuel value and the estimated fuel value is greater than a preset third threshold, it is determined that the fuel tank in the static calm sub-stage is being refueled or defueled.

[0085] For example, the preset third threshold is 5L.

[0086] Step S163: When it is determined that the fuel tank in the static calm sub-stage is being refueled or defueled, the fuel tank of the vehicle is determined to enter the static refueling / defueling sub-stage.

[0087] Step S164: When it is determined that the fuel tank in the static calm sub-stage is being refueled or defueled, or a fault signal of the engine fuel injector is obtained, or a signal of engine fuel consumption fault is obtained, or when the fuel tank of the vehicle is in the static calm sub-stage and a signal of the fuel quantity sensor returning to normal is obtained, it is determined that the fuel tank of the vehicle has entered the static refueling / defueling sub-stage, and the filter coefficient is determined to be the preset first conventional filter coefficient.

[0088] For example, the first conventional filter coefficient is preset to 0.2.

[0089] Step S165: When the vehicle's fuel tank is in a stationary fuel filling / refilling stage, the remaining fuel level is obtained, and the remaining fuel level is sent to the display instrument based on the filter coefficient.

[0090] Since it is impossible to estimate the fuel level through fuel consumption calculation during the standby refueling / refueling phase, the total fuel level in the tank is corrected based on the remaining fuel level.

[0091] For example, the first conventional filter coefficient is preset to 0.2, and the fuel level value for display is sent to the display instrument based on the filter coefficient of 0.2 to indicate the remaining fuel level.

[0092] In some specific embodiments, the method further includes the following steps:

[0093] Step S171: When the vehicle's fuel tank enters the driving sub-stage, the filter coefficient is determined to be a preset first conventional filter coefficient.

[0094] This can be understood as follows: when the vehicle's fuel tank first enters the driving sub-phase, the filtering coefficient is set to a preset first normal filtering coefficient. For example, the preset first normal filtering coefficient is 0.2. However, during the driving sub-phase, when the difference between the remaining fuel value and the estimated fuel value is greater than a preset first threshold (for example, the preset first threshold is 2L), or when the difference between the remaining fuel value and the estimated fuel value is less than a preset second threshold (for example, the preset second threshold is 2L), the filtering coefficient will be adjusted as described above so that the fuel value displayed on the instrument panel is closer to the actual fuel value.

[0095] In some specific embodiments, the method further includes the following steps:

[0096] Step S181: When the vehicle's fuel tank is in the standby calm sub-stage, standby fuel addition / reduction sub-stage, engine operating sub-stage, stationary calm sub-stage, stationary fuel addition / reduction sub-stage, or driving sub-stage, the resistance value collected by the fuel level sensor is obtained.

[0097] That is, the standby unstable sub-stage and the static unstable sub-stage are not included in the various sub-stages listed in step S181.

[0098] Step S182: When the resistance value is not within the preset normal resistance value range, the oil level sensor is determined to enter a pending abnormal state.

[0099] Step S183: When the fuel level sensor is in a pending abnormal state, the fuel level value sent to the display instrument is the most recent normal fuel level value.

[0100] The fuel level value sent to the display instrument is the most recent normal fuel level value, to ensure that the display instrument can display a valid fuel level value.

[0101] The normal oil quantity value refers to the oil quantity value calculated from the resistance value within the preset normal resistance value range.

[0102] Step S184: When the duration of the oil level sensor in the pending abnormal state is greater than the preset second duration, it is determined that the oil level sensor has entered a sensor abnormal state, and the oil level value sent to the display instrument is zero.

[0103] This specific embodiment filters out interference from individual abnormal values ​​on the sensor's abnormal state judgment by setting a second duration. For example, the preset second duration is 2 minutes.

[0104] When the fuel level sensor is determined to be in an abnormal state, the fuel level displayed on the instrument panel will be set to zero to alert the user that the fuel level sensor is malfunctioning.

[0105] This application's embodiments divide the fuel tank's operation process into multiple stages, each of which contains multiple sub-stages, and introduce an estimated fuel level. Different actions and filtering strategies are implemented in each sub-stage. When the vehicle's fuel tank is in the engine operating sub-stage, the stationary sub-stage, or the driving sub-stage, the estimated fuel level generated by statistically analyzing the vehicle's instantaneous fuel consumption is compared with the remaining fuel level. This avoids misjudgments caused by relying solely on the remaining fuel level, and avoids resistance fluctuations caused by slopes and bumpy roads. This allows the fuel gauge to more closely approximate the actual fuel level in the tank under special circumstances, improving the accuracy of the displayed fuel level and preventing drastic changes in the displayed fuel level.

[0106] Furthermore, in this embodiment, the detection of refueling or defueling is only triggered when the fuel tank is in a standby calm sub-stage, a standby refueling / de-fueling sub-stage, a static calm sub-stage, or a static refueling / de-fueling sub-stage. Only then can the displayed fuel level be significantly increased or decreased.

[0107] This application embodiment also provides a pending abnormal state and a sensor abnormal state for the fuel level sensor. When it is determined that the fuel level sensor has entered a pending abnormal state, the display value of the instrument remains at the most recent normal fuel level value. Only when the duration of the pending abnormal state of the fuel level sensor exceeds a preset second duration is it determined that the fuel level sensor has entered a sensor abnormal state, and the fuel level value sent to the display instrument is zero to prompt the user that the fuel level sensor is abnormal.

[0108] This application also provides apparatus embodiments that follow the above embodiments, for implementing the method steps described in the above embodiments. The interpretation of the same names is the same as that in the above embodiments, and they have the same technical effects as those in the above embodiments, so they will not be repeated here.

[0109] like Figure 4 As shown, this application provides a vehicle fuel level display device 400, comprising:

[0110] The first obtaining unit 401 is used to obtain the remaining fuel value and the estimated fuel value when the vehicle's fuel tank is in the engine working sub-stage, the stationary calm sub-stage, or the driving sub-stage. The remaining fuel value is obtained by collecting the amount of fuel remaining in the fuel tank through a fuel level sensor, and the estimated fuel value is estimated based on the instantaneous fuel consumption of the vehicle's engine. The driving sub-stage corresponds to the driving process of the vehicle.

[0111] The first determining unit 402 is used to determine a filtering coefficient from a preset first coefficient range when the difference between the remaining oil value and the estimated oil value is greater than a preset first threshold.

[0112] The second determining unit 403 is used to determine the filtering coefficient from a preset second coefficient range when the difference between the remaining oil value and the estimated oil value is less than a preset second threshold, wherein the preset first threshold is greater than or equal to the preset second threshold, the filtering coefficients in the preset first coefficient range are all less than the preset conventional filtering coefficients, and the filtering coefficients in the preset second range are all greater than the preset first conventional filtering coefficients.

[0113] The first transmitting unit 404 is used to transmit the fuel quantity value for display to the display instrument based on the filtering coefficient as an estimated fuel quantity value.

[0114] Optionally, the device further includes:

[0115] The third determining unit is used to determine that the vehicle's fuel tank has entered a static unstable sub-stage in response to the vehicle's ignition switch being turned on.

[0116] The fourth determining unit is used to determine that the vehicle's fuel tank has entered the engine operating sub-stage in response to starting the engine when the duration of the vehicle's fuel tank being in a static and unstable sub-stage is less than or equal to a preset static and unstable duration.

[0117] The fifth determining unit is used to determine that the vehicle's fuel tank has entered the static calm sub-stage when the duration of the static unstable sub-stage of the vehicle's fuel tank is greater than the preset static unstable duration.

[0118] The sixth determining unit is configured to determine the filtering coefficient as a preset first conventional filtering coefficient in response to determining that the vehicle's fuel tank has entered the engine operating sub-stage or the stationary calm sub-stage;

[0119] The second sending unit is used to send the fuel quantity value for display to the display instrument based on the filtering coefficient, which is an estimated fuel quantity value.

[0120] Optionally, the device further includes:

[0121] The seventh determining unit is used to determine that the vehicle's fuel tank has entered the static calming sub-stage when the duration of the engine working sub-stage of the vehicle's fuel tank is greater than the preset engine working duration.

[0122] Optionally, the device further includes:

[0123] The eighth determining unit is used to determine, in response to turning on the power switch of the vehicle, that the vehicle's fuel tank has entered a standby unstable sub-stage;

[0124] The ninth determining unit is used to determine that the vehicle's fuel tank has entered a standby calm sub-stage when the duration of the standby unstable sub-stage of the vehicle's fuel tank is greater than a preset standby unstable duration, and to determine that the filtering coefficient is a second conventional filtering coefficient.

[0125] The third sending unit is used to send the fuel quantity value for display to the display instrument based on the filtering coefficient, which is an estimated fuel quantity value.

[0126] Optionally, the device further includes:

[0127] The second obtaining unit is used to obtain the remaining fuel level and the estimated fuel level when the vehicle's fuel tank is in the standby calm sub-stage.

[0128] The tenth determining unit is used to determine whether the fuel tank in the standby calm sub-stage is being refueled or defueled when the difference between the remaining fuel value and the estimated fuel value is greater than a preset third threshold.

[0129] The eleventh determining unit is used to determine that the vehicle's fuel tank has entered the standby refueling / recharging sub-stage when it is determined that the fuel tank in the standby calm sub-stage is being refueled or defueled.

[0130] The twelfth determining unit is used to determine that the vehicle's fuel tank has entered a static and unstable sub-stage when the duration of the vehicle's power switch being turned on is within a preset first duration and the difference between the remaining fuel value and the estimated fuel value is always less than or equal to a preset third threshold.

[0131] Optionally, the device further includes:

[0132] The thirteenth determining unit is used to determine that the vehicle's fuel tank has entered the standby refueling / recharging stage when the display instrument is powered on for the first time and the fuel level sensor is in normal state, or when the vehicle's fuel tank is in the standby calm sub-stage and the fuel level sensor is restored to normal state, and to determine that the filtering coefficient is a preset first conventional filtering coefficient.

[0133] The fourth sending unit is used to obtain the remaining fuel level value when the vehicle's fuel tank is in the standby refueling / recharging sub-stage, and send the fuel level value for display to the display instrument based on the filtering coefficient.

[0134] The fourteenth determining unit is used to determine that the vehicle's fuel tank has entered a static and unstable sub-stage when the vehicle's fuel tank is in a standby fuel adding / reducing sub-stage and the duration of the vehicle's power switch being on exceeds a preset first duration.

[0135] Optionally, the device further includes:

[0136] The third obtaining unit is used to obtain the remaining fuel value and the estimated fuel value when the vehicle's fuel tank is in a static calm sub-stage.

[0137] The fifteenth determining unit is used to determine whether the fuel tank in the static calm sub-stage is being refueled or defueled when the difference between the remaining fuel value and the estimated fuel value is greater than a preset third threshold.

[0138] The sixteenth determining unit is used to determine that the vehicle's fuel tank has entered the static refueling / refueling sub-stage when it is determined that the fuel tank in the static calm sub-stage is being refueled or defueled.

[0139] The seventeenth determining unit is used to determine that the vehicle's fuel tank has entered the static refueling / reducing sub-stage when it is determined that the fuel tank is being refueled or defueled in the static calm sub-stage, or when a fault signal is obtained from the engine fuel injector, or when a signal of engine fuel consumption fault is obtained, or when the vehicle's fuel tank is in the static calm sub-stage and a signal of the fuel quantity sensor returning to normal is obtained, and to determine that the filtering coefficient is a preset first conventional filtering coefficient.

[0140] The fifth sending unit is used to obtain the remaining fuel level when the vehicle's fuel tank is in a stationary fuel filling / refilling stage, and to send the fuel level value for display to the display instrument based on the filtering coefficient.

[0141] Optionally, the device further includes:

[0142] The eighteenth determining unit is used to determine the filtering coefficient as a preset first conventional filtering coefficient when the vehicle's fuel tank enters the driving sub-stage.

[0143] Optionally, the device further includes:

[0144] The fourth obtaining unit is used to obtain the resistance value collected by the fuel level sensor when the vehicle's fuel tank is in the standby calm sub-stage, standby fuel addition / reduction sub-stage, engine working sub-stage, stationary calm sub-stage, stationary fuel addition / reduction sub-stage, or driving sub-stage.

[0145] The nineteenth determining unit is used to determine that the oil level sensor has entered a pending abnormal state when the resistance value is not within the preset normal resistance value range.

[0146] The sixth transmitting unit is used to send the most recent normal fuel level value to the display instrument when the fuel level sensor is in a pending abnormal state. The normal fuel level value refers to the fuel level value converted from the resistance value within a preset normal resistance range.

[0147] The twentieth determining unit is used to determine that the fuel level sensor has entered a sensor abnormal state when the duration of the fuel level sensor entering the pending abnormal state is greater than a preset second duration, and to send a fuel level value of zero to the display instrument.

[0148] This application's embodiments divide the fuel tank's operation process into multiple stages, each of which contains multiple sub-stages, and introduce an estimated fuel level. Different actions and filtering strategies are implemented in each sub-stage. When the vehicle's fuel tank is in the engine operating sub-stage, the stationary sub-stage, or the driving sub-stage, the estimated fuel level generated by statistically analyzing the vehicle's instantaneous fuel consumption is compared with the remaining fuel level. This avoids misjudgments caused by relying solely on the remaining fuel level, and avoids resistance fluctuations caused by slopes and bumpy roads. This allows the fuel gauge to more closely approximate the actual fuel level in the tank under special circumstances, improving the accuracy of the displayed fuel level and preventing drastic changes in the displayed fuel level.

[0149] Furthermore, in this embodiment, the detection of refueling or defueling is only triggered when the fuel tank is in a standby calm sub-stage, a standby refueling / de-fueling sub-stage, a static calm sub-stage, or a static refueling / de-fueling sub-stage. Only then can the displayed fuel level be significantly increased or decreased.

[0150] This application embodiment also provides a pending abnormal state and a sensor abnormal state for the fuel level sensor. When it is determined that the fuel level sensor has entered a pending abnormal state, the display value of the instrument remains at the most recent normal fuel level value. Only when the duration of the pending abnormal state of the fuel level sensor exceeds a preset second duration is it determined that the fuel level sensor has entered a sensor abnormal state, and the fuel level value sent to the display instrument is zero to prompt the user that the fuel level sensor is abnormal.

[0151] This embodiment 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, the instructions being executed by the at least one processor to enable the at least one processor to perform the method steps described in the above embodiment.

[0152] This application provides a non-volatile computer storage medium storing computer-executable instructions that can perform the steps described in the above embodiments.

[0153] Finally, it should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the systems or apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple, and relevant parts can be referred to the method section.

[0154] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A method for displaying vehicle fuel level, characterized in that, include: When the vehicle's fuel tank is in the engine operating sub-stage, the stationary sub-stage, or the driving sub-stage, the remaining fuel value and the estimated fuel value are obtained. The remaining fuel value is the amount of fuel remaining in the fuel tank collected by the fuel level sensor, and the estimated fuel value is the amount of fuel remaining in the fuel tank estimated based on the instantaneous fuel consumption of the vehicle's engine. The driving sub-stage corresponds to the vehicle's driving process. When the difference between the remaining oil value and the estimated oil value is greater than a preset first threshold, a filtering coefficient is determined from a preset first coefficient range; When the difference between the remaining oil value and the estimated oil value is less than a preset second threshold, the filtering coefficient is determined from a preset second coefficient range, wherein the preset first threshold is greater than or equal to the preset second threshold, the filtering coefficients in the preset first coefficient range are all less than the preset conventional filtering coefficients, and the filtering coefficients in the preset second coefficient range are all greater than the preset first conventional filtering coefficients. Based on the filtering coefficients, the fuel level value for display is sent to the display instrument as an estimated fuel level value; The filter coefficient refers to the number of times the oil quantity value is transmitted to the display instrument per unit time, which is used to control the rate of change of the displayed value.

2. The method according to claim 1, characterized in that, The method further includes: In response to the ignition switch of the vehicle being turned on, it is determined that the vehicle's fuel tank has entered a static and unstable sub-stage; When the duration of the vehicle's fuel tank being in a static and unstable sub-phase is less than or equal to a preset static and unstable duration, in response to starting the engine, it is determined that the vehicle's fuel tank has entered the engine operating sub-phase. When the duration of the vehicle's fuel tank in the static and unstable sub-phase is longer than the preset static and unstable duration, it is determined that the vehicle's fuel tank has entered the static and calm sub-phase. In response to determining that the vehicle's fuel tank has entered the engine operating sub-stage or the stationary calm sub-stage, the filter coefficient is determined to be a preset first conventional filter coefficient; Based on the filtering coefficient, the fuel level value is sent to the display instrument as an estimated fuel level value for display.

3. The method according to claim 1, characterized in that, The method further includes: When the duration of the vehicle's fuel tank in the engine operating sub-phase exceeds the preset engine operating duration, it is determined that the vehicle's fuel tank has entered the static calm sub-phase.

4. The method according to claim 1, characterized in that, The method further includes: In response to turning on the power switch of the vehicle, it is determined that the vehicle's fuel tank has entered a standby unstable sub-stage; When the duration of the vehicle's fuel tank in the standby unstable sub-stage is longer than the preset standby unstable duration, it is determined that the vehicle's fuel tank has entered the standby calm sub-stage, and the filter coefficient is determined to be the second conventional filter coefficient. Based on the filtering coefficient, the fuel level value is sent to the display instrument as an estimated fuel level value for display.

5. The method according to claim 1, characterized in that, The method further includes: When the vehicle's fuel tank is in the standby calm sub-stage, the remaining fuel level and the estimated fuel level are obtained; When the difference between the remaining fuel value and the estimated fuel value is greater than a preset third threshold, it is determined that the fuel tank in the standby calm sub-stage is being refilled or defilled. When it is determined that the fuel tank in the standby calm sub-stage is being filled or defilled, the fuel tank of the vehicle is determined to enter the standby filling / defilling sub-stage. When the vehicle's power switch is on for a duration within a preset first duration, and the difference between the remaining fuel level and the estimated fuel level is always less than or equal to a preset third threshold, it is determined that the vehicle's fuel tank has entered a static and unstable sub-stage.

6. The method according to claim 1, characterized in that, The method further includes: When the initial power-on signal of the display instrument is received and the fuel level sensor is in normal state, or when the vehicle's fuel tank is in the standby calm sub-stage and the fuel level sensor is received to return to normal, it is determined that the vehicle's fuel tank has entered the standby fuel addition / reduction sub-stage, and the filter coefficient is determined to be the preset first conventional filter coefficient. When the vehicle's fuel tank is in the standby refueling / recharging stage, the remaining fuel level is obtained, and the remaining fuel level is sent to the display instrument based on the filtering coefficient. When the vehicle's fuel tank is in the standby refueling / recharging sub-stage, and the duration of the vehicle's power switch being on exceeds a preset first duration, it is determined that the vehicle's fuel tank has entered the static and unstable sub-stage.

7. The method according to claim 1, characterized in that, The method further includes: When the vehicle's fuel tank is in a static calm sub-phase, the remaining fuel level and the estimated fuel level are obtained. When the difference between the remaining fuel value and the estimated fuel value is greater than a preset third threshold, it is determined that the fuel tank in the static calm sub-stage is being refueled or defueled. When it is determined that the fuel tank in the static calm sub-stage is being filled or defilled, the fuel tank of the vehicle is determined to enter the static filling / defilling sub-stage. When it is determined that the fuel tank is being refueled or defueled in the static calm sub-stage, or a fault signal is received from the engine fuel injector, or a signal of engine fuel consumption failure is received, or when the vehicle's fuel tank is in the static calm sub-stage and a signal of the fuel level sensor returning to normal is received, it is determined that the vehicle's fuel tank has entered the static refueling / defueling sub-stage, and the filter coefficient is determined to be a preset first conventional filter coefficient. When the vehicle's fuel tank is in a stationary fuel filling / refilling phase, the remaining fuel level is obtained, and the remaining fuel level is sent to the display instrument based on the filtering coefficient.

8. The method according to claim 1, characterized in that, The method further includes: When the vehicle's fuel tank enters the driving sub-stage, the filter coefficient is determined to be a preset first conventional filter coefficient.

9. The method according to any one of claims 1-8, characterized in that, The method further includes: When the vehicle's fuel tank is in the standby calm sub-stage, standby fuel addition / reduction sub-stage, engine operating sub-stage, stationary calm sub-stage, stationary fuel addition / reduction sub-stage, or driving sub-stage, the resistance value collected by the fuel level sensor is obtained. When the resistance value is not within the preset normal resistance value range, the oil level sensor is determined to enter a pending abnormal state. When the fuel level sensor is in an undetermined abnormal state, the fuel level value sent to the display instrument is the most recent normal fuel level value, wherein the normal fuel level value refers to the fuel level value converted from the resistance value within the preset normal resistance value range. When the duration of the oil level sensor in the pending abnormal state exceeds a preset second duration, it is determined that the oil level sensor has entered an abnormal state, and the oil level value sent to the display instrument is zero.

10. A vehicle fuel level display device, characterized in that, include: The first obtaining unit is used to obtain the remaining fuel value and the estimated fuel value when the vehicle's fuel tank is in the engine working sub-stage, the stationary calm sub-stage, or the driving sub-stage. The remaining fuel value is obtained by collecting the amount of fuel remaining in the fuel tank through a fuel level sensor, and the estimated fuel value is estimated based on the instantaneous fuel consumption of the vehicle's engine. The driving sub-stage corresponds to the driving process of the vehicle. The first determining unit is used to determine a filtering coefficient from a preset first coefficient range when the difference between the remaining oil value and the estimated oil value is greater than a preset first threshold. The second determining unit is used to determine the filtering coefficient from a preset second coefficient range when the difference between the remaining oil value and the estimated oil value is less than a preset second threshold, wherein the preset first threshold is greater than or equal to the preset second threshold, the filtering coefficients in the preset first coefficient range are all less than the preset conventional filtering coefficients, and the filtering coefficients in the preset second range are all greater than the preset first conventional filtering coefficients. The sending unit is used to send the fuel quantity value for display to the display instrument based on the filtering coefficient, which is an estimated fuel quantity value; The filter coefficient refers to the number of times the oil quantity value is transmitted to the display instrument per unit time, which is used to control the rate of change of the displayed value.