Oil quantity display method and control device

By obtaining the output power and fuel consumption coefficient of the gasoline engine and updating the fuel level display method, the problem of inaccurate fuel level display in the fuel tank is solved, and accurate fuel level display and improved user experience are achieved.

CN115151796BActive Publication Date: 2025-09-12ECOFLOW INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202280002332.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-02
Publication Date
2025-09-12
Estimated Expiration
2042-06-02

AI Technical Summary

Technical Problem

The oil level display in the existing gasoline-powered engine tank is inaccurate, resulting in users being unable to intuitively know the remaining oil level, which easily leads to the problem of delayed refueling.

Method used

By obtaining the output power of the gasoline engine, the fuel consumption per unit time is determined, and the remaining fuel percentage of the display device is updated by combining the fuel consumption coefficient and the currently displayed remaining fuel percentage. The display deviation is corrected using the oil level sensor to improve the accuracy of the fuel display.

Benefits of technology

The system realizes accurate display of the remaining fuel amount in the fuel tank, so users can know the changes in fuel amount more intuitively, reduce the situation of untimely refueling, and improve user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115151796B_ABST
    Figure CN115151796B_ABST
Patent Text Reader

Abstract

The present application provides a fuel level display method including: obtaining the output power of a gasoline-powered engine, and determining the fuel consumption per unit time of the gasoline-powered engine based on the output power; obtaining the percentage of remaining fuel currently displayed on a display device and obtaining a fuel consumption coefficient of the gasoline-powered engine; and updating the percentage of remaining fuel displayed on the display device based on the fuel consumption per unit time, the currently displayed percentage of remaining fuel, and the fuel consumption coefficient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of oil level display, and in particular to an oil level display method and a control device. Background Art

[0002] The statements herein merely provide background information related to the present application and do not necessarily constitute exemplary techniques.

[0003] A gasoline-powered engine primarily uses gasoline or diesel in its fuel tank to operate, providing mechanical energy to the outside world. To facilitate user monitoring of the fuel tank's fuel level, an oil level sensor is typically used to measure the fuel level. However, this sensor can only measure a few fixed fuel levels, and the fuel level fluctuates widely. Consequently, the displayed remaining fuel level in the tank also fluctuates widely, making it difficult for users to intuitively determine the remaining fuel level. This can lead to problems such as delayed refueling, which can cause the gasoline-powered engine to malfunction and create a poor user experience. Therefore, accurately displaying the remaining fuel level in the tank is a pressing issue. Summary of the Invention

[0004] According to various embodiments of the present application, a fuel level display method and a control device are provided.

[0005] In a first aspect, an embodiment of the present application provides a fuel level display method, comprising:

[0006] Obtaining the output power of the oil-powered engine, and determining the oil consumption per unit time of the oil-powered engine based on the output power;

[0007] Obtaining the percentage of remaining fuel currently displayed on the display device and obtaining the fuel consumption coefficient of the gasoline-powered engine;

[0008] The remaining fuel percentage displayed on the display device is updated according to the fuel consumption per unit time, the currently displayed remaining fuel percentage, and the fuel consumption coefficient.

[0009] In a second aspect, an embodiment of the present application also provides a control device, which includes a processor, a memory, a computer program stored on the memory and executable by the processor, and a data bus for realizing connection and communication between the processor and the memory, wherein when the computer program is executed by the processor, the oil quantity display method as described above is realized.

[0010] In a third aspect, an embodiment of the present application further provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the oil level display method as described above.

[0011] The details of one or more embodiments of the present application are set forth in the following drawings and description. Other features, objects, and advantages of the present application will become apparent from the description, drawings, and claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] To more clearly illustrate the technical solutions in the embodiments or exemplary technologies of this application, the following briefly introduces the drawings required for use in the description of the embodiments or exemplary technologies. Obviously, the drawings described below are only some embodiments of this application. Those skilled in the art can also derive drawings for other embodiments based on these drawings without inventive effort.

[0013] Figure 1 This is a flow chart of a method for displaying fuel quantity provided in an embodiment of the present application.

[0014] Figure 2 This is a schematic diagram of a step flow chart for updating the fuel consumption coefficient in an embodiment of the present application.

[0015] Figure 3 yes Figure 2 Schematic diagram of a sub-step flow chart for updating the fuel consumption coefficient in FIG.

[0016] Figure 4 yes Figure 2 Schematic diagram of another sub-step flow chart of updating the fuel consumption coefficient in .

[0017] Figure 5 This is a flow chart of another oil level display method provided in an embodiment of the present application.

[0018] Figure 6 A schematic block diagram of the structure of a control device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0019] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0020] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, combined, or partially merged, so the actual execution order may vary depending on the actual situation.

[0021] It should be understood that the terms used in this specification are only for the purpose of describing specific embodiments and are not intended to limit this application. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms unless the context clearly indicates otherwise.

[0022] An embodiment of the present application provides a fuel level display method and control device. This fuel level display method determines the fuel consumption per unit time of a gasoline-powered engine based on the engine's output power, obtains the fuel consumption coefficient of the gasoline-powered engine, and finally updates the remaining fuel percentage displayed on the display device based on the fuel consumption per unit time, the fuel consumption coefficient, and the remaining fuel percentage currently displayed on the display device. This allows the remaining fuel level displayed on the display device to be accurately displayed, allowing the user to intuitively know the remaining fuel level in the tank. The fuel level display method and control device provided in the embodiment of the present application can be applied to on-board units (OBUs), gasoline-powered generator equipment, and the like.

[0023] The following embodiments of the present application are described in detail with reference to the accompanying drawings. In the absence of conflict, the following embodiments and features therein may be combined with each other.

[0024] See also Figure 1 , Figure 1 This is a flow chart of a method for displaying fuel quantity provided in an embodiment of the present application.

[0025] like Figure 1 As shown, the oil level display method includes steps S101 to S103.

[0026] Step S101: Obtain the output power of the gasoline engine, and determine the fuel consumption per unit time of the gasoline engine according to the output power.

[0027] The greater the output power of a gasoline engine, the higher its fuel consumption per unit time. The fuel consumption per unit time of a gasoline engine can include the engine's fuel consumption per hour, per minute, or per 30 seconds. The hourly, minute, and 30-second fuel consumptions of a gasoline engine can be converted to each other.

[0028] Exemplarily, a mapping relationship table is pre-established between the output power range of the gasoline engine and the fuel consumption per unit time of the gasoline engine. Determine the output power range in which the output power of the gasoline engine is located, and query this mapping relationship table to obtain the fuel consumption per unit time corresponding to the output power range in which the output power of the gasoline engine is located. Among them, the mapping relationship table between the output power range in which the output power of the gasoline engine is located and the fuel consumption per unit time of the gasoline engine is established based on multiple strict tests on the corresponding relationship between the output power of the gasoline engine and the fuel consumption per unit time and based on the test results of multiple times. For example, this mapping relationship table can be as shown in Table 1.

[0029] Table 1

[0030] Output power range Fuel consumption per unit time 0 300ml / H 0<P<450W 476ml / H 450<P<=900W 625ml / H 900<P<=1350W 661ml / H 1350W<P<=1800W 920ml / H

[0031] For example, when the output power of the gasoline engine is 1500W, it can be determined that 1500W is within the range of 1350W < P <= 1800W. Therefore, it can be known that the fuel consumption per hour of the gasoline engine is 920ml. Through conversion, the fuel consumption per minute of the gasoline engine can be obtained as 15.3ml, and the fuel consumption per 30 seconds of the gasoline engine is 7.6ml.

[0032] Step S102: Obtain the remaining fuel percentage currently displayed by the display device and obtain the fuel consumption coefficient of the gasoline engine.

[0033] Among them, the fuel consumption coefficient of the gasoline engine is used to correct the remaining fuel percentage displayed by the display device. The fuel consumption coefficient of the gasoline engine can be greater than 1, equal to 1, or less than 1. The embodiments of the present application do not make specific limitations on this. In some embodiments, the initial value of the fuel consumption coefficient of this gasoline engine is 1, and this fuel consumption coefficient will be updated according to the actual situation during actual operation. The remaining fuel percentage refers to the percentage of the remaining fuel in the fuel tank of the gasoline engine in the full fuel volume of the fuel tank, and the full fuel volume of the fuel tank is the amount of gasoline or diesel required to fill the fuel tank.

[0034] In one embodiment, obtain the fuel quantity refresh frequency, obtain the output power of the gasoline engine according to this fuel quantity refresh frequency, and determine the fuel consumption per unit time of the gasoline engine according to the output power. Obtain the remaining fuel percentage currently displayed by the display device and obtain the fuel consumption coefficient of the gasoline engine. Among them, the fuel quantity refresh frequency refers to the update frequency of the remaining fuel percentage displayed by the display device, and the fuel quantity refresh frequency can be set according to the actual situation. The embodiments of the present application do not make specific limitations on this. For example, the fuel quantity refresh frequency is to refresh the remaining fuel percentage displayed by the display device once a minute, or refresh the remaining fuel percentage displayed by the display device once every 30 seconds.

[0035] For example, if the fuel level refresh frequency is one minute, the remaining fuel percentage displayed on the display device is refreshed once. The output power of the gasoline-powered engine is obtained at a frequency of one minute, and the fuel consumption per unit time of the gasoline-powered engine is determined based on the output power. The remaining fuel percentage currently displayed on the display device is obtained, as well as the fuel consumption coefficient of the gasoline-powered engine.

[0036] For example, at 10:30 a.m., the output power of the gasoline engine is obtained, and the fuel consumption per unit time of the gasoline engine is determined based on the obtained output power. The fuel consumption coefficient of the gasoline engine and the percentage of remaining fuel currently displayed on the display device are also obtained. One minute later, at 10:31 a.m., the output power of the gasoline engine is obtained again, and the fuel consumption per unit time of the gasoline engine is determined based on the obtained output power. The percentage of remaining fuel currently displayed on the display device is also obtained, as well as the fuel consumption coefficient of the gasoline engine.

[0037] It is understandable that the output power of the oil-powered engine, the fuel consumption coefficient of the oil-powered engine and the percentage of remaining fuel currently displayed on the display device will change over time. Therefore, the output power of the oil-powered engine is obtained according to the fuel refresh frequency, and the fuel consumption per unit time of the oil-powered engine is determined based on the output power. By obtaining the fuel consumption coefficient of the oil-powered engine and the percentage of remaining fuel currently displayed on the display device, the latest fuel consumption per unit time of the oil-powered engine, the latest fuel consumption coefficient and the latest percentage of remaining fuel currently displayed on the display device can be obtained.

[0038] The fuel consumption coefficient for gasoline-powered engines is updated based on the remaining fuel percentage currently displayed on the display and the remaining fuel level recorded by the fuel level sensor. This updating of the fuel consumption coefficient ensures consistency between the remaining fuel percentage shown on the display and the remaining fuel percentage calculated in the backend, improving the accuracy of the remaining fuel percentage displayed on the display.

[0039] It is understandable that when executing the oil level display method, step S101 can be executed first and then step S102, or step S102 can be executed first and then step S101, or step S101 and step S102 can be executed at the same time. The embodiment of the present application does not make specific limitations on this.

[0040] Step S103: updating the remaining fuel percentage displayed on the display device according to the fuel consumption per unit time, the currently displayed remaining fuel percentage, and the fuel consumption coefficient.

[0041] Among them, the new remaining fuel percentage can be calculated through the fuel consumption per unit time, the currently displayed remaining fuel percentage and the fuel consumption coefficient, and then the remaining fuel percentage displayed on the display device is replaced with the new remaining fuel percentage to achieve the update of the remaining fuel percentage displayed on the display device.

[0042] In one embodiment, the total fuel consumption of the gasoline-powered engine is calculated based on the fuel consumption per unit time and the fuel consumption coefficient. The remaining fuel percentage displayed on the display device is updated based on the total fuel consumption, the currently displayed remaining fuel percentage, and the full fuel level of the gasoline-powered engine's fuel tank. The total fuel consumption of the gasoline-powered engine can be accurately calculated based on the fuel consumption per unit time and the fuel consumption coefficient. The remaining fuel percentage displayed on the display device can then be accurately updated based on the accurate total fuel consumption, the currently displayed remaining fuel percentage, and the full fuel level of the gasoline-powered engine's fuel tank.

[0043] The total fuel consumption of a gasoline-powered engine refers to the amount of fuel consumed by the engine during one fuel refresh cycle. Therefore, the total fuel consumption of a gasoline-powered engine can be calculated by multiplying the fuel consumption per unit time, the duration of the fuel refresh cycle, and the fuel consumption coefficient. The fuel refresh cycle is determined by the fuel refresh frequency. For example, if the fuel refresh frequency is one minute, the remaining fuel percentage displayed on the display device is refreshed, and the fuel refresh cycle is one minute. For another example, if the fuel refresh frequency is 30 seconds, the remaining fuel percentage displayed on the display device is refreshed, and the fuel refresh cycle is 30 seconds.

[0044] Exemplarily, based on the total fuel consumption, the currently displayed remaining fuel percentage and the full fuel level of the fuel tank of the gasoline-powered engine, the method for updating the remaining fuel percentage displayed on the display device can be: calculating the product of the currently displayed remaining fuel percentage and the full fuel level of the fuel tank; calculating the difference between the product and the total fuel consumption, and dividing the difference between the product and the total fuel consumption by the full fuel level of the fuel tank to obtain a new remaining fuel percentage; and updating the remaining fuel percentage displayed on the display device to the new remaining fuel percentage.

[0045] For example, suppose the full fuel volume of the fuel tank is N, the fuel consumption coefficient is α, the percentage of remaining fuel currently displayed on the display device is β1, the fuel consumption per unit time is C, the duration of the fuel refresh cycle is T, and the new percentage of remaining fuel is β2. Then the new percentage of remaining fuel is: β2 = (N*β1-α*C*T) / N. Suppose the full fuel volume of the fuel tank is N = 3950 ml, the fuel consumption coefficient α = 1, the percentage of remaining fuel currently displayed on the display device is β1 = 95%, the fuel consumption per unit time of the engine is C = 15 ml / min, and the fuel refresh cycle is 1 minute. Then the new percentage of remaining fuel is: β2 = (3950*95%-1*15*1) / 3950 = 94%, and the display accuracy is 1%.

[0046] For example, based on the total fuel consumption, the currently displayed remaining fuel percentage, and the fuel tank full level of a gasoline-powered engine, the remaining fuel percentage displayed on the display device can be updated by dividing the total fuel consumption by the fuel tank full level to obtain the fuel consumption percentage; and then subtracting the fuel consumption percentage from the currently displayed remaining fuel percentage to obtain the new remaining fuel percentage. For example, the new remaining fuel percentage is: β2 = β1 - (α*C*T) / N) = 95% - (1*15*1) / 3950 = 94%.

[0047] In one embodiment, if Figure 2 As shown, the process of updating the fuel consumption coefficient of the gasoline engine includes steps S110 to S130.

[0048] Step S110: Calculate the product of the percentage of the remaining fuel level currently displayed on the display device and the full fuel level of the fuel tank of the gasoline-powered engine to obtain a first remaining fuel level.

[0049] For example, if the remaining fuel percentage currently displayed on the display device is 95%, and the full fuel volume of the fuel tank of the oil-powered engine is 3950 ml, then the first remaining fuel volume is: 3950 * 95% = 3752.5 ml. It is understandable that the remaining fuel percentage currently displayed on the display device in step S110 may be the same as or different from the remaining fuel percentage currently displayed on the display device in step S102. For example, when step S110 and step S102 are executed simultaneously, the remaining fuel percentages in these two steps are the same. For another example, when step S110 and step S102 are not executed simultaneously, the remaining fuel percentages in these two steps are different.

[0050] Step S120: Acquire a second remaining oil amount collected by the oil level sensor.

[0051] Among them, the oil level sensor is used to collect the remaining oil amount in the oil tank of the oil-powered engine. The remaining oil amount in the oil tank collected by the oil level sensor can be determined as the second remaining oil amount. The oil level sensor may include a capacitive oil level sensor or an electronic oil level sensor. The electronic oil level sensor may include a resistive oil level sensor, a voltage oil level sensor or a frequency oil level sensor.

[0052] In one embodiment, multiple remaining oil amounts collected by the oil level sensor are obtained; based on the multiple remaining oil amounts, the average remaining oil amount is calculated, and the average remaining oil amount is determined as the second remaining oil amount. The oil level sensor can collect multiple remaining oil amounts in the fuel tank within a preset time length. The preset time length can be set based on actual conditions, and the embodiment of the present application does not specifically limit this. For example, if the preset time length is 1 second, the oil level sensor collects multiple remaining oil amounts in the fuel tank within 1 second. By collecting multiple remaining oil amounts in the fuel tank through the oil level sensor and taking the average of the multiple remaining oil amounts as the second remaining oil amount, the accuracy of the remaining oil amount can be improved.

[0053] It is understandable that when executing step S110 and step S120, step S110 can be executed first and then step S120, or step S120 can be executed first and then step S110, or step S110 and step S120 can be executed at the same time. The embodiments of the present application do not make specific limitations on this.

[0054] Step S130: Update the fuel consumption coefficient according to the first remaining fuel amount and the second remaining fuel amount.

[0055] Since the remaining fuel amount shown on the display device may be different from the remaining fuel amount collected by the fuel level sensor, that is, there is a deviation between the remaining fuel amount shown on the display device and the actual remaining fuel amount in the fuel tank, and the first remaining fuel amount and the second remaining fuel amount can be used to update the fuel consumption coefficient, that is, increase or decrease the fuel consumption coefficient, and updating the remaining fuel percentage of the display device is related to the fuel consumption coefficient. In this way, after updating the fuel consumption coefficient, the remaining fuel percentage displayed on the display device can be accurately updated based on the updated fuel consumption coefficient, thereby reducing the deviation between the remaining fuel amount shown on the display device and the actual remaining fuel amount in the fuel tank.

[0056] In one embodiment, if Figure 3 As shown, step S130 may include sub-steps S131 to S133.

[0057] Sub-step S131 : When the first remaining fuel level is not equal to the second remaining fuel level, calculating the difference between the first remaining fuel level and the second remaining fuel level to obtain a fuel level deviation.

[0058] Sub-step S132: determining the fuel quantity deviation range within which the fuel quantity deviation lies, and determining a correction value of the fuel consumption coefficient based on the fuel quantity deviation range within which the fuel quantity deviation lies.

[0059] Sub-step S133: updating the fuel consumption coefficient according to the corrected value of the fuel consumption coefficient.

[0060] By determining a correction value of the fuel consumption coefficient based on the fuel deviation between the first remaining fuel amount and the second remaining fuel amount when the first remaining fuel amount is not equal to the second remaining fuel amount, that is, when there is a deviation between the remaining fuel amount displayed by the display device and the actual remaining fuel amount in the fuel tank, and then updating the fuel consumption coefficient using the correction value, the remaining fuel percentage displayed by the display device can be accurately updated based on the updated fuel consumption coefficient, thereby reducing the deviation between the remaining fuel amount displayed by the display device and the actual remaining fuel amount in the fuel tank.

[0061] For example, a pre-established mapping table between fuel quantity deviation ranges and corrected fuel consumption coefficient values ​​is queried to obtain the corrected value corresponding to the fuel quantity deviation range within which the fuel quantity deviation falls. Based on the corrected fuel consumption coefficient value, the fuel consumption coefficient is updated by adding the corrected fuel consumption coefficient value to the currently stored fuel consumption coefficient to obtain a new fuel consumption coefficient. The mapping table between fuel quantity deviation ranges and corrected fuel consumption coefficient values ​​can be established based on multiple experiments and is not specifically limited in this embodiment of the present application.

[0062] Exemplarily, based on the correction value of the fuel consumption coefficient, the method of updating the fuel consumption coefficient may include: adding the correction value of the fuel consumption coefficient to the currently stored fuel consumption coefficient to obtain a new fuel consumption coefficient, and replacing the currently stored fuel consumption coefficient with the new fuel consumption coefficient to update the fuel consumption coefficient.

[0063] The correction value of the fuel consumption coefficient includes a positive correction value or a negative correction value. When the difference between the first remaining fuel level and the second remaining fuel level is greater than zero, the correction value of the fuel consumption coefficient is a positive correction value. When the difference between the first remaining fuel level and the second remaining fuel level is less than zero, the correction value of the fuel consumption coefficient is a negative correction value. For example, if the remaining fuel level displayed on the display device is 80% and the fuel tank is 3950 ml full, the first remaining fuel level can be calculated as: 3950 * 80% = 3160 ml. The second remaining fuel level detected by the oil level sensor is 75% of the full tank level, that is, the second remaining fuel level is: 3950 * 75% = 2962.5 ml. The calculated fuel level deviation is: 3160 - 2962.5 = 197.5 ml. If the correction value corresponding to the range of 180 ml to 200 ml for the fuel level deviation of 197.5 ml is 0.35, then the correction value of the fuel consumption coefficient can be determined to be 0.35. If the currently stored fuel consumption coefficient is 1, the fuel consumption coefficient is updated according to the formula, that is, α=α+Δα, Δα is the correction value of the fuel consumption coefficient, and the new fuel consumption coefficient can be calculated as: α=α+Δα=1+0.35=1.35.

[0064] For another example, if the remaining fuel percentage displayed on the display device is 72%, and the full fuel volume of the fuel tank is 3950 ml, the first remaining fuel volume can be calculated as: 3950*72%=2844 ml, and the second remaining fuel volume collected by the oil level sensor is 75% of the full fuel volume of the fuel tank, that is, the second remaining fuel volume is: 3950*75%=2962.5 ml. The fuel volume deviation is calculated as: 2844-2962.5=-118.5 ml. If the correction value corresponding to the range of -100 ml to -120 ml where the fuel volume deviation is -118.5 ml is -0.2, the correction value of the fuel consumption coefficient can be determined to be -0.2. If the currently stored fuel consumption coefficient is 1, the fuel consumption coefficient is updated according to the formula, that is, α=α+Δα, Δα is the correction value of the fuel consumption coefficient, and the new fuel consumption coefficient can be calculated as: α=α+Δα=1-0.2=0.8.

[0065] In one embodiment, if Figure 4 As shown, step S130 may include sub-steps S134 to S136.

[0066] Sub-step S134: when the first remaining oil amount is not equal to the second remaining oil amount, obtaining a third remaining oil amount previously collected by the oil level sensor.

[0067] Sub-step S135: determining a correction value of the fuel consumption coefficient according to the first remaining fuel amount, the second remaining fuel amount, and the third remaining fuel amount.

[0068] Sub-step S136: updating the fuel consumption coefficient according to the corrected value of the fuel consumption coefficient.

[0069] By more accurately determining the corrected value of the fuel consumption coefficient based on the actual remaining fuel amount in the fuel tank, the fuel consumption coefficient can be updated more accurately when the first remaining fuel amount is not equal to the second remaining fuel amount, that is, when there is a deviation between the remaining fuel amount displayed on the display device and the actual remaining fuel amount in the fuel tank, the corrected value of the fuel consumption coefficient can be more accurately determined based on the actual remaining fuel amount in the fuel tank, thereby more accurately updating the remaining fuel percentage displayed on the display device based on the updated fuel consumption coefficient, thereby further reducing the deviation between the remaining fuel amount displayed on the display device and the actual remaining fuel amount in the fuel tank.

[0070] For example, when the deviation between the first and second remaining fuel levels exceeds a preset deviation threshold, the third remaining fuel level previously recorded by the fuel level sensor is obtained. A correction value for the fuel consumption coefficient is determined based on the first, second, and third remaining fuel levels. The fuel consumption coefficient is then updated based on the correction value. By updating the fuel consumption coefficient when the deviation between the first and second remaining fuel levels exceeds the preset deviation threshold, the fuel consumption coefficient does not need to be updated every time. This not only reduces the number of fuel consumption coefficient updates, conserving computing resources, but also ensures that the deviation between the remaining fuel level displayed on the display device and the actual remaining fuel level in the fuel tank is small.

[0071] The third remaining fuel amount previously collected can be the average of multiple remaining fuel amounts previously collected by the fuel level sensor. The preset deviation threshold can be set based on actual conditions and is not specifically limited in this embodiment of the present application. For example, the preset deviation threshold is 5 ml, 15 ml, or 20 ml. If the deviation between the first remaining fuel amount and the second remaining fuel amount is less than the preset deviation threshold, the fuel consumption coefficient is not updated.

[0072] For example, the correction value of the fuel consumption coefficient may be determined based on the first remaining fuel amount, the second remaining fuel amount, and the third remaining fuel amount by: calculating the difference between the first remaining fuel amount and the second remaining fuel amount to obtain a first fuel amount deviation; calculating the difference between the third remaining fuel amount and the second remaining fuel amount to obtain a second fuel amount deviation; and dividing the first fuel amount deviation by the second fuel amount deviation to obtain a correction value for the fuel consumption coefficient. The correction value for the fuel consumption coefficient may include a positive correction value or a negative correction value. When both the first fuel amount deviation and the second fuel amount deviation are positive or negative, the correction value for the fuel consumption coefficient is a positive correction value. The correction value for the fuel consumption coefficient may include a positive correction value or a negative correction value. When one of the first fuel amount deviation and the second fuel amount deviation is negative and the other is positive, the correction value for the fuel consumption coefficient is a negative correction value.

[0073] For example, if the remaining oil percentage displayed on the display device is 80%, and the full oil volume of the fuel tank is 3950 ml, the first remaining oil volume can be calculated as: 3950*80%=3160 ml, the second remaining oil volume collected by the oil level sensor is 75% of the full oil volume of the fuel tank, that is, the second remaining oil volume is: 3950*75%=2962.5 ml, and the third remaining oil volume collected by the oil level sensor is 100% of the full oil volume of the fuel tank, that is, the third remaining oil volume is 3950 ml. By calculating the first The fuel level deviation is: 3160 - 2962.5 = 197.5 ml, and the second fuel level deviation is: 3950 - 2962.5 = 987.5 ml. 197.5 divided by 987.5 equals 0.2. Therefore, the correction value of the fuel consumption coefficient is 0.2. If the currently stored fuel consumption coefficient is 1, the fuel consumption coefficient is updated according to the formula: α = α + Δα, where Δα is the correction value of the fuel consumption coefficient. The new fuel consumption coefficient can be calculated as: α = α + Δα = 1 + 0.2 = 1.2. By increasing the fuel consumption coefficient when the remaining fuel level displayed on the display device is greater than the actual remaining fuel level in the fuel tank, the deviation between the remaining fuel level displayed on the display device and the actual remaining fuel level in the fuel tank can be quickly reduced.

[0074] For another example, if the remaining oil percentage displayed on the display device is 70%, and the full oil volume of the fuel tank is 3950 ml, then the first remaining oil volume can be calculated as: 3950*70%=2765 ml, the second remaining oil volume collected by the oil level sensor is 75% of the full oil volume of the fuel tank, that is, the second remaining oil volume is: 3950*75%=2962.5 ml, and the third remaining oil volume collected by the oil level sensor is 100% of the full oil volume of the fuel tank, that is, the third remaining oil volume is 3950 ml. By calculating the first remaining oil volume, The fuel consumption deviation is: 2962.5 - 3160 = -197.5 ml, and the second fuel consumption deviation is: 3950 - 2962.5 = 987.5 ml. -197.5 divided by 987.5 equals -0.2. Therefore, the correction value of the fuel consumption coefficient is -0.2. If the currently stored fuel consumption coefficient is 1, the fuel consumption coefficient is updated according to the formula: α = α + Δα, where Δα is the correction value of the fuel consumption coefficient. The new fuel consumption coefficient can be calculated as: α = α + Δα = 1 - 0.2 = 0.8. By reducing the fuel consumption coefficient when the remaining fuel amount displayed on the display device is less than the actual remaining fuel amount in the fuel tank, the deviation between the remaining fuel amount displayed on the display device and the actual remaining fuel amount in the fuel tank can be quickly reduced.

[0075] It is understandable that steps S110 to S130 may be executed before or after step S101, step S102 or step S103, or may be executed before the step of "obtaining the fuel consumption coefficient of the gasoline engine" in step S102. The implementation of this application does not impose any specific limitation on this.

[0076] Exemplarily, steps S110 to S130 are executed before the step of "obtaining the fuel consumption coefficient of the oil-powered engine" in step S102 as follows: obtaining the output power of the oil-powered engine, and determining the fuel consumption per unit time of the oil-powered engine based on the output power; obtaining the percentage of remaining fuel currently displayed on the display device; calculating the product of the percentage of remaining fuel currently displayed on the display device and the full fuel volume of the oil-powered engine's fuel tank to obtain a first remaining fuel volume; obtaining the second remaining fuel volume collected by the oil level sensor; updating the fuel consumption coefficient based on the first remaining fuel volume and the second remaining fuel volume; obtaining the fuel consumption coefficient of the oil-powered engine; updating the percentage of remaining fuel displayed on the display device based on the fuel consumption per unit time, the currently displayed percentage of remaining fuel, and the fuel consumption coefficient.

[0077] Exemplarily, steps S110 to S130 are executed before step S101 as follows: calculate the product of the percentage of remaining fuel currently displayed on the display device and the full fuel volume of the fuel tank of the oil-powered engine to obtain a first remaining fuel volume; obtain the second remaining fuel volume collected by the oil level sensor; update the fuel consumption coefficient based on the first remaining fuel volume and the second remaining fuel volume; obtain the output power of the oil-powered engine, and determine the fuel consumption per unit time of the oil-powered engine based on the output power; obtain the percentage of remaining fuel currently displayed on the display device and obtain the fuel consumption coefficient of the oil-powered engine; update the percentage of remaining fuel displayed on the display device based on the fuel consumption per unit time, the currently displayed percentage of remaining fuel and the fuel consumption coefficient.

[0078] See also Figure 5 , Figure 5 This is a flow chart of another oil level display method provided in an embodiment of the present application.

[0079] like Figure 5 As shown, the oil level display method includes steps S201 to S204.

[0080] Step S201: Obtain the recorded value of the fuel level in the fuel tank and the remaining fuel level in the fuel tank collected by the fuel level sensor.

[0081] Step S202: When the remaining fuel level in the fuel tank is less than the recorded fuel level value, the output power of the gasoline engine is obtained, and the fuel consumption per unit time of the gasoline engine is determined based on the output power.

[0082] Step S203: obtaining the percentage of remaining fuel currently displayed on the display device and obtaining the fuel consumption coefficient of the gasoline engine.

[0083] Step S204: updating the remaining fuel percentage displayed on the display device according to the fuel consumption per unit time, the currently displayed remaining fuel percentage, and the fuel consumption coefficient.

[0084] The fuel tank level record value is the record value of the remaining fuel in the tank. By combining this value with the remaining fuel in the tank as measured by the fuel level sensor, we can determine whether the fuel level in the tank is increasing or decreasing. When the remaining fuel level in the tank is less than the recorded value, it indicates that the gasoline engine is operating and consuming gasoline or diesel in the tank. When the remaining fuel level in the tank is greater than the recorded value, it indicates that external refueling is occurring. The recorded value and the remaining fuel level in the tank as measured by the fuel level sensor can be obtained periodically.

[0085] In the embodiment of the present application, computing resources can be saved by updating the remaining fuel percentage displayed on the display device only when the gasoline-powered engine is in operation and is consuming gasoline or diesel in the fuel tank.

[0086] In one embodiment, when the remaining fuel level in the fuel tank is less than the recorded fuel level value, the recorded fuel level value is updated to the remaining fuel level in the fuel tank. By updating the recorded fuel level value to the remaining fuel level in the fuel tank while the gasoline-powered engine is operating and consuming gasoline or diesel in the fuel tank, the accuracy of the recorded fuel level value can be ensured.

[0087] In one embodiment, when the remaining fuel level in the fuel tank is greater than the recorded fuel level in the fuel tank, the remaining fuel level percentage and the recorded fuel level value displayed on the display device are updated based on the remaining fuel level in the fuel tank. Specifically, the remaining fuel level in the fuel tank is divided by the full fuel level in the fuel tank to obtain a new remaining fuel level percentage. The remaining fuel level percentage displayed on the display device is then replaced with the new remaining fuel level percentage, and the recorded fuel level value in the fuel tank is simultaneously updated to the remaining fuel level in the fuel tank. By updating the remaining fuel level percentage and the recorded fuel level value displayed on the display device based on the actual remaining fuel level in the fuel tank during refueling, the accuracy of the remaining fuel level percentage and the recorded fuel level value in the fuel tank can be improved.

[0088] In some embodiments, the oil-powered engine's speed can also be used to determine whether the oil-powered engine is in operation. For example, the current speed of the oil-powered engine is obtained. When the current speed of the oil-powered engine is greater than a preset speed threshold, the output power of the oil-powered engine is obtained, and the oil-powered engine's fuel consumption per unit time is determined based on the output power. The remaining fuel percentage currently displayed on the display device and the fuel consumption coefficient of the oil-powered engine are obtained; and the remaining fuel percentage displayed on the display device is updated based on the fuel consumption per unit time, the currently displayed remaining fuel percentage, and the fuel consumption coefficient.

[0089] See also Figure 6 , Figure 6 This is a schematic block diagram of the structure of a control device provided in an embodiment of the present application.

[0090] like Figure 6As shown, the control device 300 includes a processor 301 and a memory 302 , and the processor 301 and the memory 302 are connected via a bus 303 , such as an I 2 C (Inter-integrated Circuit) bus.

[0091] Specifically, the processor 301 is used to provide computing and control capabilities to support the operation of the entire control device. The processor 301 can be a central processing unit (CPU), and the processor 301 can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0092] Specifically, the memory 302 may be a Flash chip, a read-only memory (ROM) disk, an optical disk, a USB flash drive, or a mobile hard disk.

[0093] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the embodiment of the present application, and does not constitute a limitation on the control device to which the embodiment of the present application is applied. The specific server may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0094] The processor is configured to run a computer program stored in the memory, and implement any one of the fuel level display methods provided in the embodiments of the present application when executing the computer program.

[0095] In one embodiment, the processor is configured to run a computer program stored in the memory, and implement the following steps when executing the computer program:

[0096] The output power of the oil-powered engine is obtained, and the oil consumption per unit time of the oil-powered engine is determined according to the output power.

[0097] The remaining fuel percentage currently displayed on the display device is obtained, and the fuel consumption coefficient of the gasoline engine is obtained.

[0098] The remaining fuel percentage displayed on the display device is updated according to the fuel consumption per unit time, the currently displayed remaining fuel percentage, and the fuel consumption coefficient.

[0099] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the control device described above can refer to the corresponding process in the aforementioned oil level display method embodiment, and will not be repeated here.

[0100] An embodiment of the present application also provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement any of the oil level display methods provided in the above description of the embodiment of the present application.

[0101] The storage medium may be an internal storage unit of the control device described in the aforementioned embodiment, such as a hard disk or memory of the control device. The storage medium may also be an external storage device of the control device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., equipped on the control device.

[0102] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In a hardware embodiment, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As is well known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable, and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media generally embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0103] It should be understood that the term "and / or" used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations. It should be noted that, in this article, the terms "include", "comprise" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system that includes a series of elements includes not only those elements, but also includes other elements that are not explicitly listed, or also includes elements that are inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "including a..." does not exclude the presence of other identical elements in the process, method, article or system that includes the element.

[0104] The serial numbers of the embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments. The above are only specific embodiments of the present application, but the scope of protection of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection of the claims.

Claims

1. A method for displaying fuel level, comprising: Obtaining the output power of the oil-powered engine, and determining the oil consumption per unit time of the oil-powered engine based on the output power; Obtaining the percentage of remaining fuel currently displayed on the display device and obtaining the fuel consumption coefficient of the gasoline-powered engine; updating the remaining fuel percentage displayed on the display device according to the fuel consumption per unit time, the currently displayed remaining fuel percentage, and the fuel consumption coefficient; The method further comprises: Calculating the product of the remaining fuel percentage currently displayed on the display device and the full fuel level of the fuel tank of the gasoline-powered engine to obtain a first remaining fuel level; Obtaining a second remaining oil amount collected by the oil level sensor; When a deviation between the first remaining oil amount and the second remaining oil amount is greater than a preset deviation threshold, obtaining a third remaining oil amount previously collected by the oil level sensor; determining a correction value of the fuel consumption coefficient according to the first remaining fuel amount, the second remaining fuel amount, and the third remaining fuel amount; The correction value is accumulated with the currently stored fuel consumption coefficient to obtain a new fuel consumption coefficient, and the currently stored fuel consumption coefficient is replaced by the new fuel consumption coefficient.

2. The fuel level display method according to claim 1, wherein: The updating of the remaining fuel percentage displayed on the display device according to the fuel consumption per unit time, the currently displayed remaining fuel percentage, and the fuel consumption coefficient includes: Calculating the total fuel consumption of the gasoline engine according to the fuel consumption per unit time and the fuel consumption coefficient; The remaining fuel percentage displayed on the display device is updated according to the total fuel consumption, the currently displayed remaining fuel percentage and the full fuel level of the fuel tank of the gasoline-powered engine.

3. The fuel level display method according to claim 2, wherein: The updating of the remaining fuel percentage displayed on the display device according to the total fuel consumption, the currently displayed remaining fuel percentage, and the full fuel level of the fuel tank of the gasoline-powered engine includes: Calculating the product of the currently displayed remaining fuel percentage and the full fuel amount of the fuel tank; Calculating the difference between the product and the total fuel consumption, and dividing the difference by the full fuel volume of the fuel tank to obtain a new remaining fuel volume percentage; The remaining fuel percentage displayed on the display device is updated to the new remaining fuel percentage.

4. The fuel level display method according to claim 1, wherein: The determining the correction value of the fuel consumption coefficient according to the first remaining fuel amount, the second remaining fuel amount, and the third remaining fuel amount includes: Calculating a difference between the first remaining fuel level and the second remaining fuel level to obtain a first fuel level deviation; calculating a difference between the third remaining fuel level and the second remaining fuel level to obtain a second fuel level deviation; The correction value is obtained by dividing the first oil amount deviation by the second oil amount deviation.

5. The fuel level display method according to claim 1, wherein: The obtaining of the second remaining oil amount collected by the oil level sensor includes: Obtain multiple remaining oil amounts collected by the oil level sensor; An average remaining oil level is calculated based on the multiple remaining oil levels, and the average remaining oil level is determined as the second remaining oil level.

6. The fuel level display method according to any one of claims 1 to 5, wherein: Before obtaining the output power of the oil-powered engine and determining the oil consumption per unit time of the oil-powered engine according to the output power, the method further includes: Obtain the fuel tank oil level record value and the remaining fuel tank oil level collected by the fuel level sensor; When the remaining oil level in the oil tank is less than the recorded oil level value in the oil tank, the output power of the oil-driven engine is obtained, and the oil consumption per unit time of the oil-driven engine is determined according to the output power.

7. The fuel level display method according to claim 6, wherein: After obtaining the recorded value of the fuel tank fuel level and the remaining fuel level in the fuel tank collected by the fuel level sensor, the method further includes: When the remaining fuel level in the fuel tank is less than the recorded fuel level value in the fuel tank, updating the recorded fuel level value in the fuel tank to the remaining fuel level in the fuel tank; When the remaining fuel level in the fuel tank is greater than the recorded fuel level in the fuel tank, the remaining fuel level percentage and the recorded value of the fuel level in the fuel tank displayed on the display device are updated according to the remaining fuel level in the fuel tank.

8. A control device, comprising a processor, a memory, a computer program stored in the memory and executable by the processor, and a data bus for realizing connection and communication between the processor and the memory, wherein when the computer program is executed by the processor, the fuel level display method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Vehicle remaining oil quantity determining method, device and equipment, and vehicle

    CN112161663A

  • Vehicle fuel calculation method and system, electronic equipment and storage medium

    CN114441008A