Oil level display method and display device
By using the comparison of the measured value and calculated value of the oil level sensor in the oil level display method, combined with the gradient increase and decrease of the counter value, the jump problem of the oil level display in the vehicle ramp, turn or accelerated acceleration and deceleration conditions is solved, and the accuracy and continuity of the oil level display are achieved.
Patent Information
- Application Number
- CN202210430332.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-22
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2042-04-22
AI Technical Summary
The existing oil level display method is prone to display jumps, falling too fast or abnormal rises in vehicle ramps, turns or sharp acceleration and deceleration conditions, resulting in inaccurate oil volume display.
The measured value of the oil in the oil tank is obtained through the oil quantity sensor, compared with the calculated value at the current time, and the counter value is increased or decreased according to the comparison results, and the display value is gradiently reduced in each calculation period. The fuel consumption period is set as the display period to eliminate the display jump.
The accuracy and continuity of oil level display under vehicle ramps, turns or sharp acceleration and deceleration conditions is achieved, and the rapid jump in the display value is avoided, ensuring the authenticity and accuracy of oil level display.
Smart Images

Figure CN114633617B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle control, and specifically refers to an oil level display method and a display device. Background Art
[0002] Fuel quantity display is an important part of vehicle driving. The working principle is that the resistance signal output by the fuel quantity sensor in the fuel tank is processed and displayed on the instrument.
[0003] In the fuel tank design, the sloshing of the fuel wave not only needs to consider the generated noise problem but also affects the signal transmission of the fuel quantity sensor. Adding anti-sloshing plates and other treatment methods in the fuel tank design can improve but cannot completely avoid it.
[0004] Currently, the display strategy commonly used in the domestic market corresponds to the resistance signal of the fuel quantity sensor in real time. For example, in the Chinese invention patent with the patent number "CN111238600B" named "Vehicle Remaining Fuel Quantity Detection Method, Device, Vehicle and Storage Medium", the method provided by this patent is: determining the current acceleration and current angle of the vehicle according to the current vehicle state parameters; obtaining the fuel quantity voltage values output by the fuel quantity sensor in a set time period at a preset period to obtain a first preset number of fuel quantity voltage values, and determining the current average fuel quantity voltage based on the first preset number of fuel quantity voltage values; determining whether to retain the current average fuel quantity voltage according to the current acceleration and current angle; when it is determined to retain the current average fuel quantity voltage, determining the current fuel quantity resistance value according to the current average fuel quantity voltage; determining the current average fuel quantity resistance based on the second preset number of fuel quantity resistance values sequentially determined from the current moment and the current fuel quantity resistance value; based on the pre-stored correspondence between the remaining fuel quantity in the fuel tank and the fuel quantity resistance value, determining the current remaining fuel quantity of the vehicle according to the current average fuel quantity resistance. This method actually still relies on the monitoring of the fuel quantity sensor. The advantage is that the fuel level display is refreshed in real time. In the international market, such as in Africa and the Middle East regions, there is a demand for the instrument display to be always on or for idle refueling. However, in the above-mentioned vehicles, under working conditions such as slopes, turns, or sudden acceleration and deceleration, it is relatively easy to occur situations such as display jumps, too fast drops, and abnormal rises, resulting in inaccurate fuel quantity display. Summary of the Invention
[0005] The purpose of the present invention is to solve the deficiencies of the above background art and provide an oil level display method and a display device.
[0006] The technical solution of the present invention is: an oil level display method, when the vehicle is in a driving state, and the vehicle is not in the first display cycle after startup, and the fuel quantity in the fuel tank is not at the full fuel level or the low fuel level;
[0007] In each measurement cycle, the measured value of the fuel quantity in the fuel tank is obtained through the fuel quantity sensor, and the obtained measured value is compared with the calculated value at the current moment. According to the comparison result, the value of the counter is increased or decreased.
[0008] In each calculation cycle, according to the current counter value, the calculated value of the previous calculation cycle is increased or decreased by a gradient to obtain the calculated value of this calculation cycle.
[0009] Compare the display value of the fuel gauge in the previous display cycle with the calculated value at the current moment. According to the comparison result, the display value of the previous display cycle is decreased by different gradients to obtain the display value of this display cycle.
[0010] When the vehicle is powered on at startup, the measured value is equal to the calculated value and equal to the display value.
[0011] According to an oil level display method provided by the present invention, the method of decreasing the display value of the previous display cycle by different gradients according to the comparison result to obtain the display value of this display cycle includes: if the display value of the previous display cycle is greater than the calculated value at the current moment, then the display value of the previous display cycle is decreased by the first display gradient to obtain the display value of this display cycle.
[0012] If the display value of the previous display cycle is equal to the calculated value at the current moment, then the display value of the previous display cycle is decreased by the second display gradient to obtain the display value of this display cycle.
[0013] If the display value of the previous display cycle is less than the calculated value at the current moment, then the display value of the previous display cycle is decreased by the third display gradient to obtain the display value of this display cycle.
[0014] The first display gradient is greater than the second display gradient and greater than the third display gradient.
[0015] According to an oil level display method provided by the present invention, the display cycle is the fuel consumption cycle in which the vehicle ECU calculates that the vehicle consumes 0.1L to 0.2L of fuel.
[0016] According to an oil level display method provided by the present invention, the method of increasing or decreasing the calculated value of the previous calculation cycle by a gradient according to the current counter value in each calculation cycle to obtain the calculated value of this calculation cycle includes: if the counter value is greater than 0, then the calculated value of the previous calculation cycle is increased by a set calculation gradient to obtain the calculated value of this calculation cycle.
[0017] If the counter value is equal to 0, then the calculated value of the previous calculation cycle is used as the calculated value of this calculation cycle.
[0018] If the counter value is less than 0, then the calculated value of the previous calculation cycle is decreased by a set calculation gradient to obtain the calculated value of this calculation cycle.
[0019] An oil level display method provided by the present invention, wherein the calculation period is a time period of 20 s to 25 s.
[0020] An oil level display method provided by the present invention, wherein the method for increasing or decreasing the counter value according to the comparison result includes: if the measured value is greater than the calculated value at the current moment, the value of the counter is increased by a set measurement gradient;
[0021] if the measured value is equal to the calculated value at the current moment, the value of the counter remains unchanged;
[0022] if the measured value is less than the calculated value at the current moment, the value of the counter is decreased by a set measurement gradient.
[0023] An oil level display method provided by the present invention, wherein the method for obtaining the measured value of the oil quantity in the fuel tank through the oil quantity sensor in each measurement period includes: measuring the oil quantity in the fuel tank 5 to 10 times in each measurement period, excluding the maximum value and the minimum value among them, and calculating the average value of the remaining measured values, which is the measured value of the current measurement period.
[0024] An oil level display method provided by the present invention, wherein the measurement period is a time period of 200 ms to 300 ms.
[0025] An oil level display method provided by the present invention, wherein the full oil level refers to the oil level when the oil quantity in the current fuel tank exceeds the oil quantity corresponding to the maximum value that the fuel gauge can display.
[0026] An oil level display method provided by the present invention, wherein the low oil level refers to the oil level when the current fuel tank oil quantity is less than 8 L.
[0027] An oil level display method provided by the present invention, when the vehicle is in a power-off or refueling state, the displayed value of the oil level is the measured value of the fuel tank oil quantity monitored by the oil quantity sensor.
[0028] The present invention also provides an oil level display device, including,
[0029] A driving state judgment module, configured to judge whether the vehicle is currently in a driving state;
[0030] An oil level state judgment module, configured to judge whether the fuel tank oil level is in a full oil level or a low oil level state;
[0031] A fuel tank oil quantity measurement module, configured to measure the oil quantity in the current fuel tank to obtain the measured value of the current measurement period;
[0032] A counter value acquisition module, configured to obtain the counter value of the current measurement period by increasing or decreasing the counter value of the previous measurement period according to the measurement value and the calculated value at the current moment.
[0033] A calculated value acquisition module, configured to obtain the calculated value of the current calculation period by increasing or decreasing the calculated value of the previous calculation period according to the counter value.
[0034] A display value acquisition module, configured to obtain the display value of the current display period by decreasing the display value of the previous display period according to the display value of the previous display period and the calculated value at the current moment.
[0035] According to an oil level display device provided by the present invention, the display value acquisition module includes
[0036] A display value comparison module, configured to compare the display value of the previous display period with the calculated value at the current moment.
[0037] A display value gradient reduction module, configured to, according to the comparison result of the display value comparison module, when the display value of the previous display period is greater than the calculated value at the current moment, reduce the display value of the previous display period by a first display gradient to obtain the display value of the current display period; when the display value of the previous display period is equal to the calculated value at the current moment, reduce the display value of the previous display period by a second display gradient to obtain the display value of the current display period; when the display value of the previous display period is less than the calculated value at the current moment, reduce the display value of the previous display period by a third display gradient to obtain the display value of the current display period.
[0038] The first display gradient is greater than the second display gradient and the second display gradient is greater than the third display gradient.
[0039] According to an oil level display device provided by the present invention, the calculated value acquisition module includes
[0040] A calculated value comparison module, configured to compare the counter value at the current moment with 0.
[0041] A calculated value gradient increase and decrease module, configured to, according to the comparison result of the calculated value comparison module, when the counter value is greater than 0, increase the calculated value of the previous calculation period by a set calculation gradient to obtain the calculated value of the current calculation period; when the counter value is equal to 0, use the calculated value of the previous calculation period as the calculated value of the current calculation period; when the counter value is less than 0, decrease the calculated value of the previous calculation period by a set calculation gradient to obtain the calculated value of the current calculation period.
[0042] According to an oil level display device provided by the present invention, the counter value acquisition module includes
[0043] A measurement value comparison module for comparing the magnitudes of the measurement value and the calculated value at the current moment;
[0044] A counter value gradient increase and decrease module for, based on the comparison result of the measurement value comparison module, increasing the counter value of the previous measurement period by a set measurement gradient to obtain the counter value of the current measurement period when the measurement value is greater than the calculated value at the current moment, maintaining the counter value of the previous measurement period unchanged to obtain the counter value of the current measurement period when the measurement value is equal to the calculated value at the current moment, and decreasing the counter value of the previous measurement period by a set measurement gradient to obtain the counter value of the current measurement period when the measurement value is less than the calculated value at the current moment.
[0045] The advantages of the present invention are as follows: 1. The present invention compares the relationships among the measurement value, the calculated value, and the displayed value. The displayed value may not be exactly equal to the measurement value when the vehicle is in motion. The counter is increased or decreased in gradient according to the comparison between the measurement value and the calculated value, and the calculated value of the previous calculation period is increased or decreased in gradient according to the change in the counter value to obtain the calculated value of the current calculation period. Then, the displayed value of the current display period is obtained based on the comparison result between the calculated value and the displayed value of the previous display period. This acquisition method can eliminate problems such as display jumps, excessive drops, and abnormal rises that occur under conditions such as slopes, turns, or sudden acceleration and deceleration of the vehicle, making the numerical gradient change of the displayed value not jump sharply;
[0046] 2. The present invention obtains the displayed value of the current display period by comparing the displayed value of the previous display period with the calculated value at the current moment and based on the comparison result. The obtained displayed value of the current display period is a gradient decrease based on the displayed value of the previous display period, and the change between the displayed values of the previous display period and the current display period is a gradient jump, solving the problems of excessive jump amplitude or irregular jump;
[0047] 3. The display period of the present invention is the fuel consumption period. Setting the fuel consumption period as the display period enables the display change of the fuel level to be completely based on the change in fuel consumption. Such a setting can be closer to the change in the fuel level, making the change in the fuel level more real;
[0048] 4. The method for obtaining the calculated value of the present invention is extremely simple. By comparing the value of the counter with 0, it can be determined whether the current measurement value can truly reflect the fuel level in the fuel tank. Based on such a setting, the true situation of the fuel level in the fuel tank can be obtained more accurately;
[0049] 5. The calculation period of the present invention is the time period. In each time period, the calculated value is updated accordingly, reflecting the true situation of the current fuel tank in real time, making the display of the fuel level in the fuel tank more continuous and accurate;
[0050] 6. The method of increasing or decreasing the value of the counter in the present invention is extremely simple. The increase or decrease of the counter value actually reflects whether the current measured value can truly reflect the fuel level in the fuel tank, whether it is too large or too small. By quantifying this excessive or insufficient situation through the change of the counter value, the final displayed value can be made more accurate;
[0051] 7. The way the present invention obtains the measured value is by measuring multiple times within a measurement period, then removing the maximum and minimum values, and calculating the average value of the remaining measured data. This way of obtaining can eliminate measurement errors to the greatest extent and ensure that the measured data of the measured value is accurate;
[0052] 8. The measurement period of the present invention is a time period, and the period time is very short, that is, the fuel level sensor can continuously monitor the fuel level in the fuel tank in real time, making the entire fuel level display continuous and accurate;
[0053] 9. The present invention sets the full fuel level and the low fuel level. At the full fuel level and the low fuel level, because it involves the structure of the fuel tank, in these two cases, the display of the fuel gauge is inaccurate. Therefore, the present invention sets these two cases and excludes them from the normal driving state to avoid incorrect displays;
[0054] 10. When the present invention is in a power-off or refueling state, at this time, the fuel in the fuel tank is in a static state or a state with little fluctuation, and the measurement result of the fuel level sensor can truly reflect the fuel level condition. Therefore, the measured value is selected as the displayed value, and the method is simple and accurate;
[0055] 11. The present invention also relates to a fuel level display device. Through the coordinated action of multiple modules, the displayed value of the fuel level can be accurately obtained, and the change of the displayed value is continuous and increases or decreases in a gradient manner, avoiding problems such as display jumps, too fast drops, and abnormal rises that occur under conditions such as slopes, turns, or sudden acceleration and deceleration of the vehicle, making the numerical value of the displayed value change in a gradient manner and not jump sharply.
[0056] The fuel level display method of the present invention is extremely simple, can eliminate problems such as display jumps, too fast drops, and abnormal rises that occur under conditions such as slopes, turns, or sudden acceleration and deceleration of the vehicle, making the numerical value of the displayed value change in a gradient manner, accurately and truly reflecting the fuel level in the fuel tank, and has great promotion value. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1 : Schematic diagram of the control strategy of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0058] Embodiments of the present invention will be described in detail below, where like or similar reference numerals denote like or similar elements or elements having like or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.
[0059] In the description of the present invention, it should be understood that the orientation or positional relationship indicated by the terms "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc. are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention.
[0060] In addition, the terms "first" and "second" are only used for descriptive purposes and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present invention, the meaning of "a plurality" is at least two, such as two, three, etc., unless otherwise specifically defined.
[0061] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0062] This embodiment relates to an oil level display method, which is mainly used for the oil level display method in the fuel tank of a fuel vehicle. Specifically, this embodiment mainly explores the oil level display method when the vehicle is in a driving state. When the vehicle is in a driving state and the oil quantity in the fuel tank is not at the full oil level or the low oil level, the method of this embodiment can be used for oil level display. Mainly when the oil quantity in the fuel tank of the vehicle is at the full oil level or the low oil level (the full oil level refers to the oil level corresponding to the oil quantity exceeding the maximum value that the fuel gauge can display in the current fuel tank; the low oil level refers to the oil level when the current fuel tank oil quantity is less than 8L. When the vehicle's oil level is at the low oil level, the vehicle's lights will flash to remind the driver), there are problems such as inaccurate measurement or incomplete fuel gauge display in the oil level display. Therefore, this embodiment excludes the full oil level and the low oil level to avoid the above problems.
[0063] The method for displaying the oil level in this embodiment involves three values. One is the measured value monitored by the oil quantity sensor in the fuel tank, and a measured value is obtained through the oil quantity sensor in each measurement cycle. The second is the calculated value, and a calculated value is obtained according to the value of the counter in each calculation cycle. The third is the displayed value, which is the value shown on the fuel gauge. The displayed value in each display cycle is obtained by gradually decreasing the displayed value in the previous display cycle. During driving, the oil quantity is continuously decreasing, so the displayed value in the previous display cycle is gradually decreased.
[0064] Specifically, as Figure 1 shown, the measured value of the oil quantity in the fuel tank is obtained through the oil quantity sensor in each measurement cycle. The obtained measured value is compared with the calculated value at the current moment, and the value of the counter is increased or decreased according to the comparison result. Since each measurement cycle and each calculation cycle may not be synchronized, when it is necessary to increase or decrease the value of the counter, the measured value in this measurement cycle needs to be compared with the calculated value corresponding to the current moment, and the value of the counter is increased or decreased according to the comparison result.
[0065] The calculated value of this cycle is obtained based on the value of the counter. In each calculation cycle, the calculated value of the previous calculation cycle is gradually increased or decreased according to the current counter value to obtain the calculated value of this calculation cycle. The calculated value is actually an intermediate value, which reflects the deviation tendency between the measured value and the actual oil quantity, whether it is too large or too small. Through the calculated value as an intermediate value, the displayed value is corrected accordingly.
[0066] The displayed value in the previous display cycle is compared with the calculated value at the current moment, and the displayed value in the previous display cycle is decreased by different gradients according to the comparison result to obtain the displayed value in this display cycle. Since the display cycle and the calculation cycle are actually not corresponding to each other, in this embodiment, the displayed value in the previous display cycle is compared with the calculated value at the current moment. The displayed value in this display cycle is obtained by correcting the displayed value in the previous display cycle based on the calculated value at the current moment. The displayed value obtained under the action of the calculated value eliminates the deviation between the measured value and the actual oil quantity in the fuel tank, making the displayed value more accurate. In addition, since the displayed value in this case is gradually increased or decreased based on the displayed value in the previous display cycle, the change of the displayed value is continuous and gradient, without sharp jumps.
[0067] When the vehicle is powered off, the measured value of the vehicle is equal to the calculated value which is equal to the displayed value. That is, at the moment when the vehicle starts and powers on, the measured value is equal to the calculated value which is equal to the displayed value. In the first display cycle after the vehicle starts, the displayed value of the previous display cycle called in the first display cycle is the measured value of the fuel tank oil volume measured by the oil quantity sensor at the moment when the vehicle starts and powers on. That is to say, actually, this embodiment starts at least from the second display cycle after the vehicle starts, and the displayed value of the first display cycle is the measured value measured by the oil quantity sensor. The application scenario of the above method is: the vehicle is in a driving state, and it is not in the first display cycle after the vehicle starts, and the vehicle is not at a full fuel level or a low fuel level.
[0068] In another embodiment, the method of reducing the displayed value of the previous display cycle by different gradients according to the comparison result to obtain the displayed value of the current display cycle includes: if the displayed value of the previous display cycle is greater than the calculated value at the current moment, then reducing the displayed value of the previous display cycle by the first display gradient to obtain the displayed value of the current display cycle;
[0069] if the displayed value of the previous display cycle is equal to the calculated value at the current moment, then reducing the displayed value of the previous display cycle by the second display gradient to obtain the displayed value of the current display cycle;
[0070] if the displayed value of the previous display cycle is less than the calculated value at the current moment, then reducing the displayed value of the previous display cycle by the third display gradient to obtain the displayed value of the current display cycle. And the first display gradient in this embodiment is greater than the second display gradient which is greater than the third display gradient.
[0071] Since the display value of the display cycle actually reflects the fuel level in the fuel tank, as the vehicle continues to travel, the fuel level in the fuel tank gradually decreases, and the display value also continuously decreases. If the display value of a certain display cycle is greater than the calculated value at the current moment, it proves that the deviation between the actual fuel consumption and the set fuel consumption is relatively large at this time (that is, the actual fuel consumption is greater than the set fuel consumption. The display cycle in this embodiment is the fuel consumption cycle in which the ECU obtains the fuel consumption for the set fuel consumption. If it is normal, the difference between the display value of the previous display cycle and the display value of this display cycle is the set fuel consumption, but there may be deviations in the actual application process), and a relatively large reduction needs to be made to the display value of the previous display cycle. Therefore, in this embodiment, the display value of the previous display cycle is reduced by the first display gradient; similarly, if the display value of a certain display cycle is equal to the calculated value at the current moment, it proves that the actual fuel consumption and the set fuel consumption are in line at this time, and only the display value of the previous display cycle needs to be reduced according to the actual fuel consumption, that is, the set second display gradient; if the display value of a certain display cycle is less than the calculated value at the current moment, it proves that the actual fuel consumption is less than the set fuel consumption, and a relatively small reduction needs to be made to the display value of the previous display cycle. Therefore, in this embodiment, the display value of the previous display cycle is reduced by the third display gradient.
[0072] The first display gradient in this embodiment is greater than the second display gradient and greater than the third display gradient. Specifically, the first display gradient can be 0.18L, the second display gradient can be 0.1L, and the third display gradient can be 0.07L. The display cycle is the fuel consumption cycle in which the vehicle ECU calculates that the vehicle travels and consumes 0.8L to 0.12L of fuel. The fuel consumption calculated by the ECU is obtained by measuring the amount of fuel injected by the fuel pump into the engine. The set fuel consumption of the display cycle in this embodiment is actually the second display gradient and can be 0.1L.
[0073] In another alternative embodiment, the method of obtaining the calculated value of this calculation cycle by gradient increasing and decreasing the calculated value of the previous calculation cycle according to the current counter value for each calculation cycle includes: if the counter value is greater than 0, then increase the calculated value of the previous calculation cycle by the set calculation gradient to obtain the calculated value of this calculation cycle;
[0074] if the counter value is equal to 0, then keep the calculated value of the previous calculation cycle unchanged as the calculated value of this calculation cycle;
[0075] if the counter value is less than 0, then decrease the calculated value of the previous calculation cycle by the set calculation gradient to obtain the calculated value of this calculation cycle.
[0076] The calculation cycle in this embodiment is a time cycle of 20s to 25s, and can be preferably 22s. The set calculation gradient in this embodiment can be 0.37L, or other parameters can be selected as long as the gradient increase and decrease of the calculated value in this embodiment can be satisfied.
[0077] In one embodiment, the method of increasing or decreasing the counter value according to the comparison result includes: if the measured value in this measurement period is greater than the calculated value at the current moment, the value of the counter is increased by the set measurement gradient to obtain the counter value corresponding to this measurement period;
[0078] if the measured value in this measurement period is equal to the calculated value at the current moment, the value of the counter remains unchanged and is used as the counter value corresponding to this measurement period;
[0079] if the measured value is less than the calculated value at the current moment, the value of the counter is decreased by the set measurement gradient to obtain the counter value corresponding to this measurement period.
[0080] The set measurement gradient in this embodiment is 1. In fact, other integers can also be selected as long as they can satisfy the increase and decrease of the calculator value in this embodiment.
[0081] In another embodiment, the measured value in this embodiment is obtained by directly monitoring the oil quantity in the fuel tank by an oil quantity sensor. The method of obtaining the measured value of the oil quantity in the fuel tank by the oil quantity sensor in each measurement period includes: measuring the oil quantity in the fuel tank 5 to 10 times in each measurement period, removing the maximum value and the minimum value among them, and calculating the average value of the remaining measured values, which is the measured value of the current measurement period. Through such a measurement method, the measurement error can be eliminated to the greatest extent and an accurate measured value can be obtained. The measurement period in this embodiment is a time period of 200 ms to 300 ms, and specifically it can be 250 ms.
[0082] In another alternative embodiment, when the vehicle is powered off or refueling, the displayed value of the oil level is the measured value of the oil quantity in the fuel tank monitored by the oil quantity sensor. At this time, it is considered that the vehicle is in a stationary state. Therefore, there is no influence of oil waves on the monitoring of the oil quantity in the fuel tank, and the measured value measured by the oil quantity sensor is accurate, and the measured value is equal to the calculated value and equal to the displayed value.
[0083] In one embodiment, this embodiment provides an oil level display device, specifically including a driving state judgment module for judging whether the vehicle is currently in a driving state, an oil level state judgment module for judging whether the fuel tank oil level is at a full oil level or a low oil level, a fuel tank oil quantity measurement module for measuring the oil quantity in the current fuel tank to obtain a measurement value for this measurement period, a counter value acquisition module for increasing or decreasing the counter value of the previous measurement period in a gradient manner based on the measurement value and the calculated value at the current moment to obtain the counter value for this measurement period, a calculated value acquisition module for increasing or decreasing the calculated value of the previous calculation period in a gradient manner based on the counter value to obtain the calculated value for this calculation period, and a display value acquisition module for decreasing the display value of the previous display period in a gradient manner based on the display value of the previous display period and the calculated value at the current moment to obtain the display value for this display period.
[0084] Through the mutual cooperation of the above modules, the display value of the fuel gauge can be obtained conveniently and accurately, avoiding the problem of large jumps in the display value.
[0085] In a further embodiment, this embodiment optimizes the display value acquisition module. The display value acquisition module includes a display value comparison module and a display value gradient reduction module. The display value comparison module is used to compare the display value of the previous display period with the calculated value at the current moment. The display value gradient reduction module is used to, based on the comparison result of the display value comparison module, reduce the display value of the previous display period by a first display gradient to obtain the display value for this display period when the display value of the previous display period is greater than the calculated value at the current moment, reduce the display value of the previous display period by a second display gradient to obtain the display value for this display period when the display value of the previous display period is equal to the calculated value at the current moment, and reduce the display value of the previous display period by a third display gradient to obtain the display value for this display period when the display value of the previous display period is less than the calculated value at the current moment. Among them, the first display gradient is greater than the second display gradient which is greater than the third display gradient. Specifically, the magnitudes of the first display gradient, the second display gradient, and the third display gradient in this case refer to those described above.
[0086] In another preferred embodiment, the calculated value acquisition module includes a calculated value comparison module and a calculated value gradient increase / decrease module. The calculated value comparison module is used to compare the counter value at the current moment with 0. The calculated value gradient increase / decrease module is used to, according to the comparison result of the calculated value comparison module, when the counter value is greater than 0, perform a set calculation gradient increase on the calculated value of the previous calculation period to obtain the calculated value of the current calculation period; when the counter value is equal to 0, use the calculated value of the previous calculation period as the calculated value of the current calculation period; when the counter value is less than 0, perform a set calculation gradient decrease on the calculated value of the previous calculation period to obtain the calculated value of the current calculation period. Specifically, the value of the set calculation gradient in this embodiment is set as described above.
[0087] In a further embodiment, the counter value acquisition module includes a measured value comparison module and a counter value gradient increase / decrease module. The measured value comparison module is used to compare the measured value with the calculated value at the current moment. The counter value gradient increase / decrease module is used to, according to the comparison result of the measured value comparison module, when the measured value is greater than the calculated value at the current moment, perform a set measurement gradient increase on the counter value of the previous measurement period to obtain the counter value of the current measurement period; when the measured value is equal to the calculated value at the current moment, keep the counter value of the previous measurement period unchanged to obtain the counter value of the current measurement period; when the measured value is less than the calculated value at the current moment, perform a set measurement gradient decrease on the counter value of the previous measurement period to obtain the counter value of the current measurement period. Specifically, the value of the set measurement gradient in this embodiment is taken in the manner described above.
[0088] The above has shown and described the basic principles, main features and advantages of the present invention. Those skilled in the art of this industry should understand that the present invention is not limited by the above embodiments. What is described in the above embodiments and the specification only illustrates the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention will have various changes and improvements, and these changes and improvements all fall within the scope of the present invention claimed. The scope of the present invention claimed is defined by the appended claims and their equivalents.
Claims
1. An oil level display method, characterized in that: When the vehicle is in a driving state, is not in the first display cycle after startup, and the fuel level in the fuel tank is not at the full fuel level or the low fuel level; In each measurement cycle, obtain the measured value of the fuel level in the fuel tank through the fuel level sensor, compare the obtained measured value with the calculated value at the current moment, and increase or decrease the counter value according to the comparison result; In each calculation cycle, increase or decrease the calculated value of the previous calculation cycle according to the current counter value by a gradient to obtain the calculated value of this calculation cycle; Compare the display value of the previous display cycle on the fuel gauge with the calculated value at the current moment, and decrease the display value of the previous display cycle by different gradients according to the comparison result to obtain the display value of this display cycle; At the moment when the vehicle starts and powers on, the measured value is equal to the calculated value which is equal to the display value.
2. The oil level display method according to claim 1, wherein: The method of decreasing the display value of the previous display cycle by different gradients according to the comparison result to obtain the display value of this display cycle includes: if the display value of the previous display cycle is greater than the calculated value at the current moment, then decrease the display value of the previous display cycle by the first display gradient to obtain the display value of this display cycle; If the display value of the previous display cycle is equal to the calculated value at the current moment, then decrease the display value of the previous display cycle by the second display gradient to obtain the display value of this display cycle; If the display value of the previous display cycle is less than the calculated value at the current moment, then decrease the display value of the previous display cycle by the third display gradient to obtain the display value of this display cycle; The first display gradient is greater than the second display gradient which is greater than the third display gradient.
3. The oil level display method according to claim 1, characterized in that: The method of increasing or decreasing the calculated value of the previous calculation cycle by a gradient according to the current counter value in each calculation cycle to obtain the calculated value of this calculation cycle includes: if the counter value is greater than 0, then increase the calculated value of the previous calculation cycle by the set calculation gradient to obtain the calculated value of this calculation cycle; If the counter value is equal to 0, then use the calculated value of the previous calculation cycle as the calculated value of this calculation cycle; If the counter value is less than 0, then decrease the calculated value of the previous calculation cycle by the set calculation gradient to obtain the calculated value of this calculation cycle.
4. The oil level display method according to claim 1, characterized in that: The method of increasing or decreasing the counter value according to the comparison result includes: if the measured value is greater than the calculated value at the current moment, then increase the value of the counter by the set measurement gradient; If the measured value is equal to the calculated value at the current moment, then the value of the counter remains unchanged; If the measured value is less than the calculated value at the current moment, then decrease the value of the counter by the set measurement gradient.
5. The oil level display method according to claim 1, characterized in that: The method of obtaining the measured value of the fuel level in the fuel tank through the fuel level sensor in each measurement cycle includes: in each measurement cycle, measure the fuel level in the fuel tank 5 to 10 times, eliminate the maximum and minimum values among them, and calculate the average value of the remaining measured values, which is the measured value of the current measurement cycle.
6. The oil level display method according to claim 1, characterized in that: The full fuel level refers to the fuel level when the fuel amount in the current fuel tank exceeds the fuel amount corresponding to the maximum value that the fuel gauge can display; the low fuel level refers to the fuel level when the current fuel amount in the fuel tank is less than 8L.
7. An oil level display device, characterized in that: Including, A driving state judgment module for judging whether the vehicle is currently in a driving state; The oil level status judgment module is used to judge whether the oil level in the fuel tank is at the full oil level or the low oil level; The fuel tank oil quantity measurement module is used to measure the oil quantity in the current fuel tank to obtain the measurement value of this measurement cycle; The counter value acquisition module is used to increase or decrease the counter value of the previous measurement cycle in gradient according to the measurement value and the calculated value at the current moment to obtain the counter value of this measurement cycle; The calculated value acquisition module is used to increase or decrease the calculated value of the previous calculation cycle in gradient according to the counter value to obtain the calculated value of this calculation cycle; The display value acquisition module is used to decrease the display value of the previous display cycle in gradient according to the display value of the previous display cycle and the calculated value at the current moment to obtain the display value of this display cycle.
8. The oil level display device according to claim 7, characterized in that: The display value acquisition module includes The display value comparison module is used to compare the size of the display value of the previous display cycle and the calculated value at the current moment; The display value gradient reduction module is used to, according to the comparison result of the display value comparison module, when the display value of the previous display cycle is greater than the calculated value at the current moment, reduce the display value of the previous display cycle by the first display gradient to obtain the display value of this display cycle, when the display value of the previous display cycle is equal to the calculated value at the current moment, reduce the display value of the previous display cycle by the second display gradient to obtain the display value of this display cycle, and when the display value of the previous display cycle is less than the calculated value at the current moment, reduce the display value of the previous display cycle by the third display gradient to obtain the display value of this display cycle; The first display gradient is greater than the second display gradient and the second display gradient is greater than the third display gradient.
9. The oil level display device according to claim 7, characterized in that: The calculated value acquisition module includes The calculated value comparison module is used to compare the size of the counter value at the current moment and 0; The calculated value gradient increase and decrease module is used to, according to the comparison result of the calculated value comparison module, when the counter value is greater than 0, increase the calculated value of the previous calculation cycle by the set calculation gradient to obtain the calculated value of this calculation cycle, when the counter value is equal to 0, use the calculated value of the previous calculation cycle as the calculated value of this calculation cycle, and when the counter value is less than 0, decrease the calculated value of the previous calculation cycle by the set calculation gradient to obtain the calculated value of this calculation cycle.
10. An oil level display device according to claim 7, characterized in that: The counter value acquisition module includes The measurement value comparison module is used to compare the size of the measurement value and the calculated value at the current moment; The counter value gradient increase and decrease module is used to, according to the comparison result of the measurement value comparison module, when the measurement value is greater than the calculated value at the current moment, increase the counter value of the previous measurement cycle by the set measurement gradient to obtain the counter value of this measurement cycle, when the measurement value is equal to the calculated value at the current moment, keep the counter value of the previous measurement cycle unchanged to obtain the counter value of this measurement cycle, and when the measurement value is less than the calculated value at the current moment, decrease the counter value of the previous measurement cycle by the set measurement gradient to obtain the counter value of this measurement cycle.
Citation Information
Patent Citations
Vehicle Remaining Fuel Detection Methods, Devices, Vehicles, and Storage Media
CN111238600B
Fuel tank volume detecting system based on control module
CN206633810U
Displaying method of fuel amount for vehicles
KR1020030086094A