CN105865565B - Method and device for displaying automobile residual fuel - Google Patents

Method and device for displaying automobile residual fuel Download PDF

Info

Publication number
CN105865565B
CN105865565B CN201510032172.1A CN201510032172A CN105865565B CN 105865565 B CN105865565 B CN 105865565B CN 201510032172 A CN201510032172 A CN 201510032172A CN 105865565 B CN105865565 B CN 105865565B
Authority
CN
China
Prior art keywords
value
fuel
automobile
fuel value
difference
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201510032172.1A
Other languages
Chinese (zh)
Other versions
CN105865565A (en
Inventor
王雨
熊立军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lifan Technology Group Co Ltd
Original Assignee
Lifan Industry Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lifan Industry Group Co Ltd filed Critical Lifan Industry Group Co Ltd
Priority to CN201510032172.1A priority Critical patent/CN105865565B/en
Publication of CN105865565A publication Critical patent/CN105865565A/en
Application granted granted Critical
Publication of CN105865565B publication Critical patent/CN105865565B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Levels Of Liquids Or Fluent Solid Materials (AREA)
  • Cooling, Air Intake And Gas Exhaust, And Fuel Tank Arrangements In Propulsion Units (AREA)

Abstract

The invention discloses a method for displaying the remaining fuel of an automobile, which comprises the following steps: the IGN is powered on the automobile; acquiring a fuel value in a fuel tank; calling out the fuel value obtained before the last parking power failure and the fuel value displayed by the display instrument from the storage area, and taking the absolute value of a first difference between the fuel value and the fuel value; judging whether the absolute value of the first difference is smaller than a first preset value; if the absolute value of the first difference is smaller than the first preset value, the absolute value of a second difference between the fuel value acquired this time and the fuel value acquired before the last parking outage is taken; judging whether the absolute value of the second difference value is smaller than or equal to a second preset value; if the absolute value of the second difference is smaller than or equal to a second preset value, the acquired fuel value is regarded as a real fuel value; and displaying the acquired fuel value. The invention also discloses a device for displaying the residual fuel of the automobile.

Description

Method and device for displaying automobile residual fuel
Technical Field
The invention relates to a display method and a display device, in particular to a method and a device for displaying remaining fuel of an automobile.
Background
The instrument panel of the automobile has the function of displaying the residual fuel of the automobile, and the common technology is that a sensor is arranged in a fuel tank, the sensor is used for collecting the residual fuel in the fuel tank of the automobile at regular time, and then the residual fuel is displayed in front of a driver through a display instrument. In this way, the fuel condition in the automobile cannot be truly reflected, for example, when the automobile encounters a bumpy road with a larger or smaller size, the fuel in the fuel tank will inevitably fall and fluctuate along with the bumping of the automobile, and then the collected fuel will be either greatly lower than the real fuel or greatly higher than the real fuel; for example, on steep or gentle slope surfaces, the fuel in the tank must have a gradient corresponding to the slope surface or will have a small sloshing, so that the fuel collected at this time is likewise not able to represent the actual value in the tank. Thus, the existing means do not enable the display meter to display the actual fuel or a more actual fuel in the fuel tank.
Disclosure of Invention
Aiming at the defects of the prior art, the technical problems to be solved by the invention are as follows: a method and apparatus are provided for enabling a true or relatively true display of fuel in a fuel tank of a vehicle.
In order to solve the technical problems, the invention adopts a technical scheme that: the method for displaying the residual fuel of the automobile comprises the following steps:
the IGN is powered on the automobile;
acquiring a fuel value in a fuel tank;
calling out the fuel value obtained before the last parking power failure and the fuel value displayed by the display instrument from the storage area, and taking the absolute value of a first difference between the fuel value and the fuel value;
judging whether the absolute value of the first difference is smaller than a first preset value;
if the absolute value of the first difference is smaller than the first preset value, the absolute value of a second difference between the fuel value acquired this time and the fuel value acquired before the last parking outage is taken;
judging whether the absolute value of the second difference value is smaller than or equal to a second preset value;
if the absolute value of the second difference is smaller than or equal to a second preset value, the acquired fuel value is regarded as a real fuel value;
and displaying the acquired fuel value.
Wherein, in the step of judging whether the absolute value of the first difference is smaller than a first preset value, the method further comprises:
if the absolute value of the first difference is judged to be larger than or equal to the first preset value, the fuel value acquired this time is regarded as an unreal fuel value;
and displaying the fuel value displayed by the display instrument before the power failure of the last parking.
Wherein, in the step of judging whether the absolute value of the second difference is less than or equal to the second preset value, the method further comprises:
if the absolute value of the second difference is larger than the second preset value, the acquired fuel value is regarded as the fuel value acquired after the automobile is refueled;
and displaying the fuel value after the fuel is obtained.
Further, the method for displaying the remaining fuel of the automobile further comprises the following steps:
judging whether the automobile is in a driving mode or not;
if the automobile is judged to be in the driving mode, acquiring a fuel value of an oil tank;
comparing the fuel value obtained this time with the fuel value displayed last time;
if the fuel value acquired this time is smaller than the fuel value displayed last time and the absolute value of the third difference value is smaller than a third preset value, the acquired fuel value at this time is regarded as the real fuel value in the driving mode;
and displaying the acquired fuel value.
Wherein, in the step of comparing the fuel value obtained this time with the fuel value displayed last time, the method further comprises the following steps:
if the absolute value of a third difference value between the acquired fuel value and the fuel value displayed last time is larger than or equal to the third preset value, the acquired fuel value is regarded as an unreal fuel value;
the fuel value acquired this time is not displayed.
Wherein, in the step of judging whether the car is in driving mode, still include:
if the automobile is judged to be in the non-driving mode, judging whether the automobile is in an idling mode;
if the automobile is judged to be in the idling mode, calculating the remaining fuel value every other preset time;
the remaining fuel value for each calculation is displayed.
Wherein, if the step of calculating the remaining fuel value every a predetermined time when the automobile is in the idle mode is judged, the method comprises the following steps:
acquiring a pulse signal which is sent by an engine ECU at each time and represents oil consumption in each preset time period;
analyzing the number of single pulses and the oil injection quantity of each pulse in the pulse signal in each period of time according to the pulse signal sent by the ECU in each period of time;
obtaining accumulated oil consumption according to the number of the analyzed pulses and the oil injection quantity of each pulse, wherein the accumulated oil consumption is equal to the number of the total pulses acquired in the preset time multiplied by the oil injection quantity of the unit pulse;
and obtaining a residual fuel value according to the accumulated fuel consumption, wherein the residual fuel value is equal to the fuel value displayed at the previous time minus the accumulated fuel consumption.
Wherein, in the step of judging whether the vehicle is in the idle mode, the method further comprises: if the automobile is judged to be in the non-idle mode, judging whether the automobile is in a parking mode or not;
and if the automobile is judged to be in the parking mode, storing the fuel value displayed last time when the automobile is in the parking mode and the fuel value collected last time.
In order to solve the technical problem, the invention adopts another technical scheme that: there is provided an apparatus for displaying remaining fuel of an automobile, comprising:
the automobile power-on module is used for enabling the automobile to be powered on to the IGN;
the first acquisition module is used for acquiring a fuel value in a fuel tank after the IGN is powered on the automobile;
the first value taking module is used for calling out the fuel value acquired before the power failure of the last parking and the fuel value displayed by the display instrument from the storage area and taking the absolute value of a first difference value between the fuel value acquired before the power failure of the last parking and the fuel value displayed by the display instrument;
the first judgment module is used for judging whether the absolute value of the first difference value is smaller than a first preset value or not;
the second value taking module is used for taking the absolute value of a second difference value between the fuel value obtained this time and the fuel value obtained before the last parking outage when the first judgment module judges that the absolute value of the first difference value is smaller than the first preset value;
the second judgment module is used for judging whether the absolute value of the second difference value is smaller than or equal to a second preset value;
the real fuel value determining module is used for determining that the absolute value of the second difference obtained by the second determining module is smaller than or equal to a second preset value, and then considering the obtained fuel value as a real fuel value;
and the display module is used for displaying the acquired fuel value.
Further, the real fuel value determining module is further configured to, when the first determining module determines that the absolute value of the first difference is greater than or equal to the first preset value, regard the fuel value obtained this time as an unreal fuel value;
the display module is also used for displaying the fuel value displayed by the display instrument before the power failure of the last parking;
the real fuel value determining module is further configured to determine that the fuel value obtained this time is the fuel value obtained after the vehicle is refueled when the second determining module determines that the absolute value of the second difference is greater than a second preset value;
and the display module is also used for displaying the acquired fuel value after refueling.
Compared with the prior art, the method and the device for displaying the automobile residual fuel can ensure that the automobile can display real or relatively real fuel values in the modes of parking, idling, running and refueling, and have the advantages that: the method and the device for displaying the remaining fuel of the automobile enable the displayed fuel to be closer to the real fuel in the fuel tank.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a first embodiment of a method of displaying vehicle remaining fuel in accordance with the present invention.
FIG. 2 is a flow chart of a second embodiment of a method of displaying vehicle remaining fuel in accordance with the present invention.
FIG. 3 is a flow chart of a second embodiment of a method of calculating a remaining fuel value for a vehicle according to the present invention.
FIG. 4 is a schematic diagram showing the structure of a pulse signal in a second embodiment of the method for indicating remaining fuel in a vehicle according to the present invention.
Fig. 5 is a block diagram of an embodiment of the apparatus for displaying remaining fuel of an automobile according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
First, before describing embodiments, it is necessary to explain some terms appearing herein. For example:
the terms "first," "second," and the like, if any, are used herein to describe various elements, but these elements should not be limited by these terms. These terms are only used to distinguish one element from another. Thus, a "first" element may also be referred to as a "second" element without departing from the teachings of the present invention.
In addition, it will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. In contrast, when an element is referred to as being "directly connected" or "directly coupled" to another element, there are no intervening elements present.
The various terms appearing herein are used for the purpose of describing particular embodiments only and are not intended as limitations of the invention. The singular is intended to include the plural as well, unless the context clearly indicates otherwise.
When the terms "comprises" and/or "comprising" are used in this specification, these terms are intended to specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence and/or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
With respect to the examples:
referring to fig. 1, fig. 1 is a flow chart illustrating a first embodiment of a method for displaying remaining fuel in a vehicle according to the present invention. The method for displaying the automobile residual fuel comprises the following steps:
s101, electrifying an IGN (integrated gate network) on an automobile;
s102, acquiring a fuel value in a fuel tank;
in the step, a value in an oil tank is collected through a fuel sensor arranged in the oil tank of the automobile, and the fuel value is obtained after processing.
S103, calling the fuel value acquired before the power failure of the last parking and the fuel value displayed by the display instrument from the storage area, and taking the absolute value of a first difference value between the fuel value acquired before the power failure of the last parking and the fuel value displayed by the display instrument;
in this embodiment, the storage area may refer to memory of a fuel value displayed by a last display instrument in an internal memory of the automobile, and a fuel value collected by the sensor but not yet displayed, or a fuel value collected but not displayed because the fuel value does not belong to a real fuel value.
In this step, the first difference Δ L = fuel value L2 displayed by the display instrument — fuel value L1 acquired before the last power failure; or the first difference value Δ L = fuel value L1 acquired before last power failure — fuel value L2 displayed by the display meter.
S104, judging whether the absolute value of the first difference value is smaller than a first preset value or not; if the absolute value of the first difference is smaller than the first preset value, the step S105 is executed; if the absolute value of the first difference is judged to be greater than or equal to the first preset value, the step S109 is executed;
the first preset value is P% of the total fuel volume L. In this embodiment, the total volume L × 8% of the oil tank is used as the first preset value. In the step, judging whether the delta L is smaller than the total volume L of the oil tank by 8 percent;
s105, taking the absolute value of a second difference value between the fuel value obtained this time and the fuel value obtained before the last parking power failure;
in this step, the second difference Δ L1= the fuel value L3-the fuel value L1 acquired before the last power failure, or the second difference Δ L1= the fuel value L1-the fuel value L3 acquired before the last power failure.
S106, judging whether the absolute value of the second difference value is smaller than or equal to a second preset value; if the second difference value is smaller than or equal to the second preset value, the step S107 is executed; if the second difference value is larger than the second preset value, turning to the step S111;
in this embodiment, the second preset value and the first preset value may take the same value. For example, each taking 8% of the total volume L of the tank;
in this step, it is determined whether Δ L1 is less than or equal to the total volume L × 8% of the fuel tank.
S107, if the absolute value of the second difference is judged to be smaller than or equal to a second preset value, the acquired fuel value is regarded as a real fuel value;
the real fuel value is the fuel value collected by the fuel sensor when the automobile is positioned on a horizontal road surface or approaches to the horizontal road surface.
S108, displaying the acquired fuel value;
in the step, when the difference between the fuel value L2 displayed by the display instrument before the last power failure and the fuel value L1 collected before the last power failure is smaller, the fuel value collected last time is considered to be collected when the automobile is on the horizontal plane or approaches to the horizontal plane; in this case, the fuel value L3 acquired after the power-on is compared with the fuel value L1 acquired before the power-off last time, and when the difference is small, the fuel value L3 acquired after the power-on is considered to be acquired when the automobile is at the horizontal plane or approaches the horizontal plane; then, if the fuel value L3 acquired after the current power-on is determined to be the real fuel value, the real fuel value acquired at the current time is displayed through the display instrument.
S109, regarding the acquired fuel value as an unreal fuel value;
in this step, when the absolute value of a first difference between the fuel value L2 displayed by the display instrument before the last power failure and the fuel value L1 collected by the fuel sensor before the last power failure is greater than or equal to the total volume of the fuel tank by 8%, the automobile is considered to be on a slope road surface when the automobile is parked at the last time; then, the first collection after power-on is also regarded as collection on the slope road surface of the automobile, and therefore, the fuel value collected for the first time after the power-on is regarded as an unreal fuel value.
S110, displaying the fuel value displayed by the display instrument before the power failure of the previous parking;
and when the first acquisition after power-on is an unreal fuel value, the acquired fuel value is not displayed, and the fuel value displayed by the display instrument before the last power-off is continuously displayed.
S111, regarding the acquired fuel value as the fuel value acquired after the automobile is refueled;
in this step, when the absolute value of the first difference Δ L between the fuel value L2 displayed by the display instrument before the power failure of the last stop and the fuel value L1 collected by the fuel sensor before the power failure of the last stop is smaller than the total fuel tank volume L × 8% of the automobile, and when this condition is satisfied, the second difference Δ L1 between the fuel value L3 collected after the power on and the fuel value L1 collected before the power failure of the last stop is greater than the total fuel tank volume L × 8% of the automobile, it is determined that the automobile is located on a horizontal road surface or approaches to the horizontal road surface when the power off of the last stop is performed, and the fuel in the fuel tank of the automobile is increased after the power failure of the last stop and the power on of the automobile after refueling, and the fuel value obtained at this time is determined as the fuel value after refueling and is determined as a relatively true fuel value.
And S112, displaying the acquired fuel value after refueling.
According to the embodiment of the invention, the fuel value L1 acquired before the power failure of the last parking, the fuel value L2 displayed by the display instrument and the fuel value L3 acquired after power-on are calculated and judged, so that whether the automobile parks on a horizontal road or approaches to the horizontal road or parks on a steep slope road when the power failure of the last parking is judged; and if the vehicle is temporarily refueled and flameout for refueling, the obtained refueled fuel is displayed through a display instrument. Through the steps, the automobile can display a real or relatively real fuel value in the automobile fuel tank, so that the fuel in the fuel tank can be displayed really or relatively really conveniently if the automobile enters an idle mode or a driving mode and other different modes after being powered on; therefore, the vehicle owner can make accurate judgment and follow-up actions of the vehicle owner conveniently.
Referring to fig. 2, fig. 2 is a flow chart showing a second embodiment of the method for remaining fuel in a vehicle according to the present invention. The method for displaying the remaining fuel of the automobile of the embodiment comprises the following steps besides all the steps in the first embodiment:
s201, judging whether the automobile is in a driving mode or not; if the automobile is judged to be in the driving mode, the step S202 is carried out; if the automobile is judged not to be in the driving mode, the step S208 is carried out;
in this step, the driving mode is that the vehicle is in a driving state, that is, the vehicle power is IGN, the vehicle speed is greater than zero, and the rotation speed is greater than zero. In the embodiment, the fuel value of the fuel tank is obtained when the automobile is judged to be in the state.
S202, acquiring a fuel value of a fuel tank;
s203, comparing the acquired fuel value with the fuel value displayed last time; if the obtained fuel value is smaller than the fuel value displayed last time and the absolute value of a third difference between the obtained fuel value and the previous fuel value is smaller than a third preset value, the step S204 is executed; if the absolute value of the third difference between the fuel value obtained this time and the fuel value displayed last time is greater than or equal to the third preset value, the step S206 is executed;
in this step, the fuel value displayed last time is the real fuel value displayed last time by the display instrument before the fuel sensor collects the fuel value of the fuel tank this time, and the fuel value is used as a judgment standard. The real fuel value is the fuel value collected by the fuel sensor when the automobile runs on a plane or approaches a plane road section; when the automobile is on a bumpy road or a slope road in the driving process, the fuel in the automobile fuel tank is in a non-horizontal state, and the fuel collected by the fuel sensor on the road is regarded as an unreal fuel value.
The third preset value may be the same as the first and second preset values, i.e. the total volume L x 8% of the vehicle tank. It is understood that, in different embodiments, the first preset value, the second preset value and the third preset value may be changed differently according to different vehicle types, urban road conditions or other conditions. In this step, when the fuel value acquired this time is smaller than the fuel value displayed by the display instrument and the difference between them is smaller than 8% of the total volume L of the fuel tank, it is determined that the road surface on which the vehicle is running is a normal road surface, i.e., a horizontal road surface or a road surface approaching horizontal, and then it is determined that the fuel value acquired this time is a true fuel value.
S204, regarding the acquired fuel value as a real or relatively real fuel value in the driving mode;
and S205, displaying the acquired fuel value.
S206, if the absolute value of a third difference value between the acquired fuel value and the fuel value displayed last time is larger than or equal to the third preset value, the acquired fuel value is regarded as an unreal fuel value;
in this step, when the fuel value obtained this time is greater than or equal to the fuel value displayed by the display instrument and the absolute value of the third difference between the fuel values is greater than or equal to 8% of the total volume L of the fuel tank, it is determined that the road on which the vehicle is traveling is an abnormal road, i.e., a bumpy road or an inclined road, and when the vehicle is traveling on a bumpy road or a road with a large inclination, the fuel in the fuel tank is bumpy or inclined, and if the fuel obtained this time is compared with the fuel value displayed last time, if the absolute value of the third difference between the fuel values is greater than or equal to 8% of the total volume L of the fuel tank, it is determined that the fuel in the fuel tank is in a bumpy or inclined state, and further, the fuel value obtained this time is determined as an unreal fuel value.
S207, not displaying the acquired fuel value;
s208, judging whether the automobile is in an idle mode or not; if the automobile is judged to be in the idle mode, the step S209 is carried out; if the automobile is judged not to be in the idle mode, the step S211 is carried out;
in this step, the idle mode is a state where the vehicle power is IGN, the vehicle speed is zero, and the rotation speed is not zero.
S209, calculating the remaining fuel value every other preset time;
the setting can be carried out when the automobile leaves a factory every other preset time, and the setting can be carried out according to the preference by a driver. For example, in this embodiment, every predetermined time may be set to calculate the remaining fuel value every 60s, and specifically, referring to fig. 3, this step includes the following sub-steps:
s2091, collecting pulse signals which are sent by the ECU at each time and represent the oil consumption in each preset time period;
in this step, each period of time of the ECU refers to a frequency at which the ECU sends out the pulse signal, for example, in this step, the frequency is set to be every 100ms, that is, the ECU sends out the pulse signal indicating the fuel consumption once every 100ms, and then in the above 60s period of time, the ECU sends out the pulse signal indicating the fuel consumption 600 times.
S2092, analyzing the number of single pulses and the oil injection quantity of each pulse in the pulse signal in each period of time according to the pulse signal sent out by the ECU in each period of time;
referring to fig. 4, for example: in the pulse signals sent by the ECU in the first 100ms time period, the single pulse period is 2ms, the duty ratio is 50%, 4 pulse numbers are provided, each pulse represents the fuel injection quantity of 36uL, and then in the first 100ms time period, the fuel injection quantity of the first pulse signal is as follows: 36 × 4=144 uL;
in the pulse signals sent by the ECU in the second 100ms time period, the single pulse period is 2ms, 6 pulse numbers are provided, and then the fuel injection quantity of the second pulse signal in the second 100ms time period is 36 × 6=216 uL;
and repeating the steps until the oil injection quantity of the ECU within the 100ms time period is counted for 600 times within the 60s time period.
S2093, obtaining accumulated oil consumption according to the analyzed number of the pulses and the oil injection quantity of each pulse, wherein the accumulated oil consumption is equal to the number of the total pulses acquired in the preset time and the oil injection quantity of the unit pulse;
in this step, after the statistics of the fuel injection amount of the 600 times ECU in the 100ms time period is completed in the above 60s time period, the total accumulated fuel consumption of the 600 times ECU in the 100ms time period is counted:
the accumulated oil consumption (uL) = oil injection amount in the first 100ms + oil injection amount in the second 100ms + … … + oil injection amount in the 600 th 100ms = (the number of first 100ms pulses + the number of second 100ms pulses + … … + the number of nth 100ms pulses) = 36 uL.
S2094, obtaining a residual fuel value according to the accumulated fuel consumption, wherein the residual fuel value is equal to the fuel value displayed last time minus the accumulated fuel consumption;
the remaining fuel value (L) = the fuel value displayed by the previous display meter — the accumulated fuel consumption.
In this way, the fuel consumed and the remaining fuel level in the tank can be calculated every 60s period.
S210, displaying the calculated residual fuel value of each time;
s211, judging whether the automobile is in a parking mode; if the automobile is judged to be in the parking mode, the step S212 is carried out; if the automobile is judged not to be in the parking mode, the step S201 is carried out;
the parking mode is a state in which the vehicle is stationary, the vehicle power is OFF or ACC, the vehicle speed is zero, and the vehicle speed is zero.
And S212, storing the fuel value displayed last time when the automobile is in the parking mode and the fuel value collected last time.
The fuel value acquired last time in the parking mode refers to the fact that the fuel value is acquired by the fuel sensor and cannot reach the fuel value displayed by the display instrument, or the fact that the fuel value is acquired by the fuel sensor and is unreal. The collected fuel value is stored into memory, so that the stored fuel value is called conveniently when the automobile is electrified next time, the stored fuel value is used for being compared with the fuel value displayed by the display instrument before the automobile is in a parking mode after the automobile is electrified next time, and the fuel value collected by the sensor next time after the automobile is electrified next time, so that whether the fuel value collected after the automobile is electrified next time is in a preset range is judged, if the fuel value is in the preset range, the automobile is judged to be parked on a horizontal road surface or approach to the horizontal road surface last time, if the fuel value is not in the preset range, the automobile is judged to be parked on a non-horizontal road surface, and the fuel value collected after the automobile is electrified next time is regarded as non-real fuel and is not used for displaying.
According to the embodiment of the invention, when the automobile is judged to be in a running mode state, the fuel value in the oil tank of the automobile is obtained through the fuel sensor, then the obtained fuel value is compared with the fuel value displayed by the display instrument, if the obtained fuel value is in a preset range, the obtained fuel value is considered to be obtained on a normal road surface, namely not obtained when the automobile is bumpy or inclined, and then the display instrument is used for displaying the obtained fuel value; if the fuel value is not within the preset range, the fuel value acquired this time is considered to be acquired on an abnormal road surface, that is, acquired when the vehicle is bumpy or inclined, and the fuel value acquired this time is not displayed. When the automobile is judged to be in the idle mode state, the remaining oil consumption value is displayed according to the mode in the idle mode state in the embodiment, and when the automobile is not in the idle mode state or the running mode state, the automobile is considered to be in the parking mode state, and corresponding processing is performed on the oil consumption value according to different states. The display automobile fuel oil can display the fuel oil in the oil tank of the automobile in different mode states of the automobile, so that the automobile owner can conveniently master the real fuel oil of the automobile in real time in different modes of the automobile, and the automobile owner can conveniently perform subsequent actions.
Referring to fig. 5, fig. 5 is a block diagram of an embodiment of an apparatus for displaying remaining fuel of an automobile according to the present invention. The device for displaying the residual fuel of the automobile comprises the following components:
an automobile power-on module 101, configured to power on an IGN for an automobile;
the first obtaining module 102 is configured to obtain a fuel value in a fuel tank after the IGN is powered on the vehicle;
the first value taking module 103 is used for calling out the fuel value acquired before the parking power failure last time and the fuel value displayed by the display instrument from the storage area, and taking the absolute value of a first difference value between the fuel value acquired before the parking power failure last time and the fuel value displayed by the display instrument;
a first determining module 104, configured to determine whether an absolute value of the first difference is smaller than a first preset value;
a second value taking module 105, configured to, when the first determining module 104 determines that the absolute value of the first difference is smaller than the first preset value, take the absolute value of a second difference between the fuel value obtained this time and the fuel value obtained before the power failure occurred during the previous parking;
a second determining module 106, configured to determine whether an absolute value of the second difference is smaller than or equal to a second preset value;
a real fuel value determining module 107, configured to determine that the absolute value of the second difference obtained by the second determining module 106 is smaller than or equal to a second preset value, and regard the fuel value obtained this time as a real fuel value;
and a display module 108, configured to display the acquired fuel value when the real fuel determination module 107 determines that the acquired fuel value is a real fuel value.
In this embodiment, the real fuel value determining module 107 is further configured to regard the fuel value obtained this time as an unreal fuel value when the first determining module 104 determines that the absolute value of the first difference is greater than or equal to the first preset value;
the display module 108 is further configured to display the fuel value displayed by the display instrument before the power failure of the last parking;
the real fuel value determining module 107 is further configured to determine that the fuel value obtained this time is the fuel value obtained after the vehicle is refueled, when the absolute value of the second difference obtained by the second determining module 106 is greater than a second preset value;
the display module 108 is further configured to display the obtained fuel value after refueling.
According to the embodiment of the invention, the owner can conveniently know the real or more real residual fuel oil of the fuel tank of the automobile through the functional modules, and the owner can judge whether to perform the next action according to the displayed real fuel oil.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A method for displaying the residual fuel of an automobile comprises the following steps:
the IGN is powered on the automobile;
acquiring a fuel value in a fuel tank;
calling out the fuel value obtained before the last parking power failure and the fuel value displayed by the display instrument from the storage area, and taking the absolute value of a first difference between the fuel value and the fuel value; the storage area refers to the memory of the fuel value displayed by the last display instrument in the memory of the automobile, the fuel value collected by the sensor but not displayed yet or the fuel value collected but not displayed because the fuel value does not belong to the real fuel value;
judging whether the absolute value of the first difference is smaller than a first preset value;
if the absolute value of the first difference is smaller than the first preset value, the absolute value of a second difference between the fuel value acquired this time and the fuel value acquired before the last parking outage is taken;
judging whether the absolute value of the second difference value is smaller than or equal to a second preset value;
if the absolute value of the second difference is smaller than or equal to a second preset value, the acquired fuel value is regarded as a real fuel value;
displaying the acquired fuel value;
judging whether the automobile is in a driving mode or not;
if the automobile is judged to be in the driving mode, acquiring a fuel value of an oil tank;
comparing the fuel value obtained this time with the fuel value displayed last time;
if the fuel value acquired this time is smaller than the fuel value displayed last time and the absolute value of the third difference value is smaller than a third preset value, the acquired fuel value at this time is regarded as the real fuel value in the driving mode;
and displaying the acquired fuel value.
2. The method for displaying remaining fuel of an automobile as set forth in claim 1, wherein in the step of determining whether the absolute value of the first difference is smaller than a first preset value, the method further comprises:
if the absolute value of the first difference is judged to be larger than or equal to the first preset value, the fuel value acquired this time is regarded as an unreal fuel value;
and displaying the fuel value displayed by the display instrument before the power failure of the last parking.
3. The method for displaying remaining fuel of an automobile according to claim 2, wherein in the step of determining whether the absolute value of the second difference is less than or equal to the second preset value, further comprising:
if the absolute value of the second difference is larger than the second preset value, the acquired fuel value is regarded as the fuel value acquired after the automobile is refueled;
and displaying the fuel value after the fuel is obtained.
4. The method for displaying the remaining fuel of the automobile according to claim 1, wherein in the step of comparing the fuel value acquired this time with the fuel value displayed last time, further comprising:
if the absolute value of a third difference value between the acquired fuel value and the fuel value displayed last time is larger than or equal to the third preset value, the acquired fuel value is regarded as an unreal fuel value;
the fuel value acquired this time is not displayed.
5. The method for displaying the remaining fuel of the vehicle as set forth in claim 4, wherein in the step of determining whether the vehicle is in the driving mode, further comprising:
if the automobile is judged to be in the non-driving mode, judging whether the automobile is in an idling mode;
if the automobile is judged to be in the idling mode, calculating the remaining fuel value every other preset time;
the remaining fuel value for each calculation is displayed.
6. The method for displaying remaining fuel of an automobile as set forth in claim 5, wherein the step of calculating the remaining fuel value every predetermined time if it is judged that the automobile is in the idle mode comprises:
acquiring a pulse signal which is sent by an engine ECU at each time and represents oil consumption in each preset time period;
analyzing the number of single pulses and the oil injection quantity of each pulse in the pulse signal in each period of time according to the pulse signal sent by the ECU in each period of time;
obtaining accumulated oil consumption according to the number of the analyzed pulses and the oil injection quantity of each pulse, wherein the accumulated oil consumption is equal to the number of the total pulses acquired in the preset time multiplied by the oil injection quantity of the unit pulse;
and obtaining a residual fuel value according to the accumulated fuel consumption, wherein the residual fuel value is equal to the fuel value displayed at the previous time minus the accumulated fuel consumption.
7. The method for displaying remaining fuel of an automobile as set forth in claim 6, wherein in the step of determining whether the automobile is in the idle mode, further comprising: if the automobile is judged to be in the non-idle mode, judging whether the automobile is in a parking mode or not;
and if the automobile is judged to be in the parking mode, storing the fuel value displayed last time when the automobile is in the parking mode and the fuel value collected last time.
8. An apparatus for displaying remaining fuel of an automobile, comprising:
the automobile power-on module is used for enabling the automobile to be powered on to the IGN;
the first acquisition module is used for acquiring a fuel value in a fuel tank after the IGN is powered on the automobile;
the first value taking module is used for calling out the fuel value acquired before the power failure of the last parking and the fuel value displayed by the display instrument from the storage area and taking the absolute value of a first difference value between the fuel value acquired before the power failure of the last parking and the fuel value displayed by the display instrument;
the first judgment module is used for judging whether the absolute value of the first difference value is smaller than a first preset value or not;
the second value taking module is used for taking the absolute value of a second difference value between the fuel value obtained this time and the fuel value obtained before the last parking outage when the first judgment module judges that the absolute value of the first difference value is smaller than the first preset value;
the second judgment module is used for judging whether the absolute value of the second difference value is smaller than or equal to a second preset value;
the real fuel value determining module is used for determining that the absolute value of the second difference obtained by the second determining module is smaller than or equal to a second preset value, and then considering the obtained fuel value as a real fuel value;
and the display module is used for displaying the acquired fuel value.
9. The apparatus for displaying remaining fuel of an automobile according to claim 8, wherein:
the real fuel value determining module is further configured to regard the fuel value obtained this time as an unreal fuel value when the first determining module determines that the absolute value of the first difference is greater than or equal to the first preset value;
the display module is also used for displaying the fuel value displayed by the display instrument before the power failure of the last parking;
the real fuel value determining module is further configured to determine that the fuel value obtained this time is the fuel value obtained after the vehicle is refueled when the second determining module determines that the absolute value of the second difference is greater than a second preset value;
and the display module is also used for displaying the acquired fuel value after refueling.
CN201510032172.1A 2015-01-22 2015-01-22 Method and device for displaying automobile residual fuel Expired - Fee Related CN105865565B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510032172.1A CN105865565B (en) 2015-01-22 2015-01-22 Method and device for displaying automobile residual fuel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510032172.1A CN105865565B (en) 2015-01-22 2015-01-22 Method and device for displaying automobile residual fuel

Publications (2)

Publication Number Publication Date
CN105865565A CN105865565A (en) 2016-08-17
CN105865565B true CN105865565B (en) 2020-08-21

Family

ID=56623519

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510032172.1A Expired - Fee Related CN105865565B (en) 2015-01-22 2015-01-22 Method and device for displaying automobile residual fuel

Country Status (1)

Country Link
CN (1) CN105865565B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108120486B (en) * 2016-11-30 2020-03-31 比亚迪股份有限公司 Fuel quantity display method and device and vehicle
CN106908115B (en) * 2017-02-24 2019-11-26 北京中位科技有限公司 Vehicle fuel tank fuel quantity scaling method and system
CN109556675A (en) * 2017-09-27 2019-04-02 比亚迪股份有限公司 Display control program, method and the device of a kind of vehicle and its vehicle oil meter
CN110614918B (en) * 2019-09-24 2022-02-01 奇瑞汽车股份有限公司 Method for judging slope parking and refueling of automobile fuel system
CN111660961A (en) * 2020-06-22 2020-09-15 浙江吉利新能源商用车集团有限公司 Vehicle fuel consumption calculation method and vehicle
CN112027923B (en) * 2020-09-16 2022-08-02 湖南三一中型起重机械有限公司 Oil consumption alarm method and device and crane
CN112161663B (en) * 2020-09-29 2024-04-26 北京车和家信息技术有限公司 Vehicle residual oil amount determining method, device, equipment and vehicle
CN114034362B (en) * 2021-11-09 2022-11-25 安徽江淮汽车集团股份有限公司 Control method and device for fuel gauge of vehicle

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101660923A (en) * 2009-09-08 2010-03-03 重庆长安汽车股份有限公司 Remaining driving mileage processing method of automobile combination meter
CN101738233B (en) * 2010-01-15 2011-10-26 延锋伟世通怡东汽车仪表有限公司 Method for calculating average fuel consumption, remaining fuel and driving range
CN103528643A (en) * 2012-07-03 2014-01-22 重庆长安汽车股份有限公司 Fuel oil signal processing method
CN102980624A (en) * 2012-11-19 2013-03-20 奇瑞汽车股份有限公司 Automobile fuel quantity signal indicating system and fuel quantity computing method

Also Published As

Publication number Publication date
CN105865565A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN105865565B (en) Method and device for displaying automobile residual fuel
CN105865566B (en) Method and device for displaying automobile fuel
US8521409B2 (en) Continuous driving mileage calculation control system and calculation control method
US7999664B2 (en) Behavior-based low fuel warning system
CN102538890B (en) Method and device for obtaining course continuation mileage of motor vehicle
CN101738233B (en) Method for calculating average fuel consumption, remaining fuel and driving range
CN102393733B (en) Failure diagnosis method, fault diagnosis instrument and system thereof, new energy automobile
CN101291080B (en) Power management device
CN106556449B (en) Method and device for detecting residual oil quantity of oil tank and vehicle
CN107478289B (en) The method and apparatus for obtaining average fuel consumption
US20090056436A1 (en) System and process for monitoring vehicle fuel level
CN106556451B (en) Method and device for detecting residual oil quantity of oil tank and vehicle
KR101518918B1 (en) Apparatus and method for displaying available driving distance of vehicle
CN106556441A (en) The detection method of remaining fuel of fuel tank, device and vehicle
CN102980624A (en) Automobile fuel quantity signal indicating system and fuel quantity computing method
US20200158786A1 (en) System and method for determining a status of a vehicle battery
CN111422070A (en) Method and device for detecting endurance mileage and new energy vehicle
CN101619993A (en) Method for measuring automotive average fuel consumption
CN113124953A (en) Metering method and device for displaying oil amount in automobile fuel gauge and related equipment
CN111255542A (en) Device and method for detecting dilution rate of engine oil
CN113682137A (en) Vehicle instrument endurance mileage display method and device and readable storage medium
CN113276683B (en) Electric vehicle power consumption calculation method and system
CN110017884B (en) Vehicle fault detection method and system, vehicle cloud platform and vehicle
CN214471100U (en) Heavy truck mechanical pump engine oil consumption data acquisition device
CN102795111B (en) Oil consumption monitoring system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200821

Termination date: 20210122