WO2023231023A1 - Oil volume display method and control apparatus - Google Patents

Oil volume display method and control apparatus Download PDF

Info

Publication number
WO2023231023A1
WO2023231023A1 PCT/CN2022/096976 CN2022096976W WO2023231023A1 WO 2023231023 A1 WO2023231023 A1 WO 2023231023A1 CN 2022096976 W CN2022096976 W CN 2022096976W WO 2023231023 A1 WO2023231023 A1 WO 2023231023A1
Authority
WO
WIPO (PCT)
Prior art keywords
oil
fuel
remaining
fuel consumption
percentage
Prior art date
Application number
PCT/CN2022/096976
Other languages
French (fr)
Chinese (zh)
Inventor
幸云辉
于扬鑫
陈熙
Original Assignee
深圳市正浩创新科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市正浩创新科技股份有限公司 filed Critical 深圳市正浩创新科技股份有限公司
Priority to CN202280002332.6A priority Critical patent/CN115151796A/en
Priority to PCT/CN2022/096976 priority patent/WO2023231023A1/en
Publication of WO2023231023A1 publication Critical patent/WO2023231023A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F23/00Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm
    • G01F23/22Indicating or measuring liquid level or level of fluent solid material, e.g. indicating in terms of volume or indicating by means of an alarm by measuring physical variables, other than linear dimensions, pressure or weight, dependent on the level to be measured, e.g. by difference of heat transfer of steam or water
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F02COMBUSTION ENGINES; HOT-GAS OR COMBUSTION-PRODUCT ENGINE PLANTS
    • F02MSUPPLYING COMBUSTION ENGINES IN GENERAL WITH COMBUSTIBLE MIXTURES OR CONSTITUENTS THEREOF
    • F02M37/00Apparatus or systems for feeding liquid fuel from storage containers to carburettors or fuel-injection apparatus; Arrangements for purifying liquid fuel specially adapted for, or arranged on, internal-combustion engines
    • F02M37/0076Details of the fuel feeding system related to the fuel tank
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F22/00Methods or apparatus for measuring volume of fluids or fluent solid material, not otherwise provided for

Definitions

  • Oil-powered engines mainly use gasoline or diesel in the fuel tank to run, thereby providing mechanical energy to the outside.
  • an oil level sensor is usually used to collect the amount of oil in the tank.
  • the oil level sensor can only collect a few fixed amounts of oil, and the oil amount has a large jump amplitude. Therefore, the displayed remaining oil amount in the tank also has a large jump amplitude. In this way, the user cannot intuitively know the amount of oil in the tank. If the remaining oil level is too low, it is easy to cause the oil-driven engine to fail to operate due to insufficient refueling, resulting in poor user experience. Therefore, how to accurately display the remaining amount of fuel in the fuel tank is an urgent problem that needs to be solved.
  • the remaining fuel percentage displayed by the display device is updated according to the fuel consumption per unit time, the currently displayed remaining fuel percentage and the fuel consumption coefficient.
  • Figure 1 is a schematic flowchart of an oil quantity display method provided by an embodiment of the present application.
  • the fuel consumption per unit time of a petrol engine can include the fuel consumption per hour, the fuel consumption per minute or the fuel consumption every 30 seconds.
  • the fuel consumption per hour, fuel consumption per minute and fuel consumption per 30 seconds of a petrol engine can be converted to each other.
  • the total fuel consumption of the oil-driven 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 tank of the oil-driven engine.
  • the total fuel consumption of the oil-driven engine can be accurately calculated through the fuel consumption per unit time and the fuel consumption coefficient, and then through the accurate total fuel consumption, the currently displayed remaining fuel percentage and the full fuel tank of the oil-driven engine , can accurately update the remaining oil percentage displayed by the display device.
  • the third remaining oil amount collected last time can be the average of multiple remaining oil amounts collected by the oil level sensor last time.
  • the preset deviation threshold can be set based on the actual situation. This is not done in the embodiment of this application. Specific limitations. For example, the preset deviation threshold is 5ml, 15ml or 20ml, etc. When the deviation between the first remaining oil amount and the second remaining oil amount is less than the preset deviation threshold, the fuel consumption coefficient is not updated.
  • the third remaining oil volume collected by the oil level sensor is 100% of the full fuel volume of the fuel tank, that is, the third remaining oil volume is: The remaining oil volume is 3950ml.
  • Step S202 When the remaining oil amount in the fuel tank is less than the recorded value of the oil amount in the fuel tank, obtain the output power of the oil-driven engine, and determine the fuel consumption per unit time of the oil-driven engine based on the output power.
  • Embodiments of the present application also provide a storage medium for computer-readable storage.
  • the storage medium stores one or more programs.
  • the one or more programs can be executed by one or more processors to implement the following: Any of the oil quantity display methods provided in the above description of the embodiment of the present application.

Abstract

Provided in the present application is an oil volume display method, comprising: acquiring an output power of an oil-driven engine, and according to the output power, determining oil consumption per unit of time of the oil-driven engine; acquiring a remaining oil volume percentage currently displayed by a display apparatus and acquiring an oil consumption coefficient of the oil-driven engine; and according to the oil consumption per unit of time, the remaining oil volume percentage currently displayed and the oil consumption coefficient, updating the remaining oil volume percentage displayed by the display apparatus.

Description

油量显示方法及控制装置Oil quantity display method and control device 技术领域Technical field
本申请涉及油量显示的技术领域,尤其涉及一种油量显示方法及控制装置。The present application relates to the technical field of oil level display, and in particular, to an oil level display method and control device.
背景技术Background technique
这里的陈述仅提供与本申请有关的背景信息,而不必然地构成示例性技术。The statements herein merely provide background information relevant to the present application and do not necessarily constitute exemplary techniques.
油动发动机主要使用油箱中的汽油或柴油进行运转,从而给外部提供机械能。为了方便用户知晓油箱中的油量,通常采用油标传感器采集油箱中的油量。但油标传感器只能采集固定的几个油量,且油量的跳变幅度较大,因此显示的油箱中的剩余油量的跳变幅度也较大,这样使用者无法直观地知晓油箱中的剩余油量,容易出现加油不及时导致油动发动机无法运转的问题,用户体验不好。因此,如何精确地显示油箱中的剩余油量是目前亟待解决的问题。Oil-powered engines mainly use gasoline or diesel in the fuel tank to run, thereby providing mechanical energy to the outside. In order to facilitate users to know the amount of oil in the tank, an oil level sensor is usually used to collect the amount of oil in the tank. However, the oil level sensor can only collect a few fixed amounts of oil, and the oil amount has a large jump amplitude. Therefore, the displayed remaining oil amount in the tank also has a large jump amplitude. In this way, the user cannot intuitively know the amount of oil in the tank. If the remaining oil level is too low, it is easy to cause the oil-driven engine to fail to operate due to insufficient refueling, resulting in poor user experience. Therefore, how to accurately display the remaining amount of fuel in the fuel tank is an urgent problem that needs to be solved.
发明内容Contents of the invention
根据本申请的各种实施例,提供了一种油量显示方法及控制装置。According to various embodiments of the present application, an oil quantity display method and a control device are provided.
第一方面,本申请实施例提供一种油量显示方法,包括:In a first aspect, embodiments of the present application provide a method for displaying oil quantity, including:
获取油动发动机的输出功率,并根据所述输出功率,确定所述油动发动机的单位时间耗油量;Obtain the output power of the oil-driven engine, and determine the fuel consumption per unit time of the oil-driven engine based on the output power;
获取显示装置当前显示的剩余油量百分比以及获取所述油动发动机的耗油量系数;Obtain the remaining fuel percentage currently displayed by the display device and obtain the fuel consumption coefficient of the oil-driven engine;
根据所述单位时间耗油量、所述当前显示的剩余油量百分比和所述耗油量系数,更新所述显示装置显示的剩余油量百分比。The remaining fuel percentage displayed by the display device is updated according to the fuel consumption per unit time, the currently displayed remaining fuel percentage and the fuel consumption coefficient.
第二方面,本申请实施例还提供一种控制装置,所述控制装置包括处理器、存储器、存储在所述存储器上并可被所述处理器执行的计算机程序以及用于实现所述处理器和所述存储器之间的连接通信的数据总线,其中所述计算机程序被所述处理器执行时,实现如上所述的油量显示方法。In a second aspect, embodiments of the present application further provide a control device. The control device includes a processor, a memory, a computer program stored on the memory and executable by the processor, and a computer program for implementing the processor. A data bus is connected and communicated with the memory, and when the computer program is executed by the processor, the oil quantity display method as described above is implemented.
第三方面,本申请实施例还提供一种存储介质,用于计算机可读存储,所述存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如上所述的油量显示方法。In a third aspect, embodiments of the present application further provide a storage medium for computer-readable storage. The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors. , to achieve the oil quantity display method as described above.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其他特征、目的和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below. Other features, objects and advantages of the application will become apparent from the description, drawings and claims.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或示例性技术中技术方案,下面将对实施 例或示例性技术中描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他实施例的附图。In order to more clearly explain the technical solutions in the embodiments or exemplary technologies of the present application, the accompanying drawings required to be used in the description of the embodiments or exemplary technologies will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, drawings of other embodiments can be obtained based on these drawings without exerting creative efforts.
图1是本申请实施例提供的一种油量显示方法的流程示意图。Figure 1 is a schematic flowchart of an oil quantity display method provided by an embodiment of the present application.
图2是本申请实施例中更新耗油量系数的一步骤流程示意图。FIG. 2 is a schematic flowchart of a step of updating the fuel consumption coefficient in the embodiment of the present application.
图3是图2中的更新耗油量系数的一子步骤流程示意图。FIG. 3 is a schematic flowchart of a sub-step of updating the fuel consumption coefficient in FIG. 2 .
图4是图2中的更新耗油量系数的另一子步骤流程示意图。FIG. 4 is a schematic flowchart of another sub-step of updating the fuel consumption coefficient in FIG. 2 .
图5是本申请实施例提供的另一种油量显示方法的流程示意图。FIG. 5 is a schematic flowchart of another oil quantity display method provided by an embodiment of the present application.
图6为本申请实施例提供的一种控制装置的结构示意框图。Figure 6 is a schematic structural block diagram of a control device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.
附图中所示的流程图仅是示例说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解、组合或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all contents and operations/steps, nor are they necessarily performed in the order described. For example, some operations/steps can also be decomposed, combined or partially merged, so the actual order of execution may change according to actual conditions.
应当理解,在本申请说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本申请。如在本申请说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should be understood that the terminology used in the specification of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the 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 dictates otherwise.
本申请实施例提供一种油量显示方法及控制装置。该油量显示方法通过油动发动机的输出功率确定油动发动机的单位时间耗油量,并获取油动发动机的耗油量系数,最后根据单位时间耗油量、耗油量系数和显示装置当前显示的剩余油量百分比,更新显示装置显示的剩余油量百分比。这样可以对显示装置显示的剩余油量进行精确地显示,便于使用者直观地知晓油箱中的剩余油量。其中,本申请实施例提供的油量显示方法及控制装置可以应用于车载单元(On board Unit,OBU)、油动发电机设备等。Embodiments of the present application provide an oil quantity display method and a control device. This fuel quantity display method determines the fuel consumption per unit time of the oil-driven engine through the output power of the oil-driven engine, and obtains the fuel consumption coefficient of the oil-driven engine. Finally, it determines the fuel consumption per unit time, the fuel consumption coefficient, and the current status of the display device. The displayed remaining fuel percentage updates the remaining fuel percentage displayed by the display device. In this way, the remaining oil amount displayed by the display device can be accurately displayed, so that the user can intuitively know the remaining oil amount in the fuel tank. Among them, the oil quantity display method and control device provided by the embodiments of the present application can be applied to on-board units (OBU), oil-driven generator equipment, etc.
下面结合附图,对本申请的一些实施例作详细说明。在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。Some embodiments of the present application are described in detail below with reference to the accompanying drawings. The following embodiments and features in the embodiments may be combined with each other without conflict.
请参阅图1,图1是本申请实施例提供的一种油量显示方法的流程示意图。Please refer to FIG. 1 , which is a schematic flowchart of an oil quantity display method provided by an embodiment of the present application.
如图1所示,该油量显示方法包括步骤S101至步骤S103。As shown in Figure 1, the oil quantity display method includes steps S101 to S103.
步骤S101、获取油动发动机的输出功率,并根据输出功率,确定油动发动机的单位时间耗油量。Step S101: Obtain the output power of the oil-driven engine, and determine the fuel consumption per unit time of the oil-driven engine based on the output power.
油动发动机的输出功率越大,则油动发动机的单位时间耗油量越高。油动 发动机的单位时间耗油量可以包括油动发动机每小时的油耗量、每分钟的油耗量或每30秒的油耗量。油动发动机每小时的油耗量、每分钟的油耗量与每30秒的油耗量可以相互换算。The greater the output power of the oil-driven engine, the higher the fuel consumption per unit time of the oil-driven engine. The fuel consumption per unit time of a petrol engine can include the fuel consumption per hour, the fuel consumption per minute or the fuel consumption every 30 seconds. The fuel consumption per hour, fuel consumption per minute and fuel consumption per 30 seconds of a petrol engine can be converted to each other.
示例性的,预先建立油动发动机的输出功率范围与油动发动机的单位时间耗油量之间的映射关系表。确定油动发动机的输出功率所处的输出功率范围,并查询该映射关系表,得到油动发动机的输出功率所处的输出功率范围对应的单位时间耗油量。其中,通过对油动发动机的输出功率与单位时间耗油量之间的对应关系进行多次严格测试,并基于多次的测试结果建立油动发动机的输出功率所处的输出功率范围与油动发动机的单位时间耗油量之间的映射关系表。例如,该映射关系表可以如表1所示。For example, a mapping relationship table between the output power range of the oil-driven engine and the fuel consumption per unit time of the oil-driven engine is established in advance. Determine the output power range in which the output power of the oil-driven engine is located, and query the mapping relationship table to obtain the fuel consumption per unit time corresponding to the output power range in which the output power of the oil-driven engine is located. Among them, through multiple rigorous tests on the corresponding relationship between the output power of the oil-driven engine and the fuel consumption per unit time, and based on the test results, the output power range of the oil-driven engine and the relationship between the output power of the oil-driven engine and the oil-driven engine were established. Mapping relationship between engine fuel consumption per unit time. For example, the mapping relationship table can be as shown in Table 1.
表1Table 1
输出功率范围Output power range 单位时间耗油量Fuel consumption per unit time
00 300ml/H300ml/H
0<P<450W0<P<450W 476ml/H476ml/H
450<P<=900W450<P<=900W 625ml/H625ml/H
900<P<=1350W900<P<=1350W 661ml/H661ml/H
1350W<P<=1800W1350W<P<=1800W 920ml/H920ml/H
例如,当油动发动机的输出功率为1500W时,可以确定1500W处于1350W<P<=1800W这个范围内。因此,可以知道油动发动机每小时的耗油量为920ml,通过换算可以得到油动发动机每分钟的耗油量为15.3ml,油动发动机每30秒的耗油量为7.6ml。For example, when the output power of the oil-driven engine is 1500W, it can be determined that 1500W is in the range of 1350W<P<=1800W. Therefore, we can know that the fuel consumption of the oil-driven engine is 920ml per hour. Through conversion, we can get that the fuel consumption of the oil-driven engine is 15.3ml per minute, and the fuel consumption of the oil-driven engine every 30 seconds is 7.6ml.
步骤S102、获取显示装置当前显示的剩余油量百分比以及获取油动发动机的耗油量系数。Step S102: Obtain the remaining fuel percentage currently displayed by the display device and obtain the fuel consumption coefficient of the oil-driven engine.
其中,油动发动机的耗油量系数用于校正显示装置显示的剩余油量百分比,油动发动机的耗油量系数可以大于1,也可以等于1,还可以小于1,本申请实施例对此不做具体限定。在一些实施例中,该油动发动机的耗油量系数的初始值为1,该耗油量系数在实际运用过程中根据实际情况会进行更新。剩余油量百分比是指油动发动机的油箱中的剩余油量占油箱满油量的百分比,油箱满油量为油箱装满所需的汽油或柴油的油量大小。Among them, the fuel consumption coefficient of the oil-driven engine is used to correct the remaining oil percentage displayed by the display device. The fuel consumption coefficient of the oil-driven engine can be greater than 1, can be equal to 1, or can be less than 1. The embodiment of the present application is No specific restrictions are made. In some embodiments, the initial value of the fuel consumption coefficient of the oil-driven engine is 1, and the fuel consumption coefficient will be updated according to actual conditions during actual operation. The remaining fuel percentage refers to the percentage of the remaining fuel in the fuel tank of the oil-driven engine to the full fuel volume of the fuel tank. The full fuel volume of the fuel tank is the amount of gasoline or diesel required to fill the fuel tank.
在一实施例中,获取油量刷新频率,并按照该油量刷新频率获取油动发动机的输出功率,并根据输出功率,确定油动发动机的单位时间耗油量。获取显示装置当前显示的剩余油量百分比以及获取油动发动机的耗油量系数。其中,油量刷新频率是指显示装置显示的剩余油量百分比的更新频率,油量刷新频率可以按照实际情况进行设置,本申请实施例对此不做具体限定。例如,油量刷新频率为一分钟刷新一次显示装置显示的剩余油量百分比,或者30秒刷新一次显示装置显示的剩余油量百分比。In one embodiment, the oil quantity refresh frequency is obtained, the output power of the oil-driven engine is obtained according to the oil quantity refresh frequency, and the fuel consumption per unit time of the oil-driven engine is determined based on the output power. Obtain the remaining fuel percentage currently displayed by the display device and obtain the fuel consumption coefficient of the oil-driven engine. The oil amount refresh frequency refers to the update frequency of the remaining oil amount percentage displayed by the display device. The oil amount refresh frequency can be set according to the actual situation. This is not specifically limited in the embodiment of the present application. For example, the oil quantity refresh frequency is to refresh the remaining oil quantity percentage displayed by the display device once a minute, or to refresh the remaining fuel quantity percentage displayed by the display device once every 30 seconds.
示例性的,油量刷新频率为一分钟刷新一次显示装置显示的剩余油量百分比,则按照一分钟一次的频率获取油动发动机的输出功率,并根据输出功率,确定油动发动机的单位时间耗油量。获取显示装置当前显示的剩余油量百分比以及获取油动发动机的耗油量系数。For example, if the oil quantity refresh frequency is to refresh the remaining oil quantity percentage displayed by the display device once a minute, then the output power of the oil-driven engine is obtained at a frequency of once a minute, and based on the output power, the unit time consumption of the oil-driven engine is determined. Oil volume. Obtain the remaining fuel percentage currently displayed by the display device and obtain the fuel consumption coefficient of the oil-driven engine.
例如,在10点30分获取一次油动发动机的输出功率,并根据获取到的输出功率确定油动发动机的单位时间耗油量,且获取油动发动机的耗油量系数和显示装置当前显示的剩余油量百分比。经过1分钟后,即在10点31分,又再次获取油动发动机的输出功率,并根据获取到的输出功率确定油动发动机的单位时间耗油量,且获取显示装置当前显示的剩余油量百分比以及获取油动发动机的耗油量系数。For example, the output power of the oil-driven engine is obtained at 10:30, and the fuel consumption per unit time of the oil-driven engine is determined based on the obtained output power, and the fuel consumption coefficient of the oil-driven engine and the current value displayed by the display device are obtained. Remaining oil percentage. After 1 minute, that is, at 10:31, the output power of the oil-driven engine is obtained again, and the fuel consumption per unit time of the oil-driven engine is determined based on the obtained output power, and the remaining fuel volume currently displayed on the display device is obtained. percentage and obtain the fuel consumption coefficient of the oil-driven engine.
可以理解的是,油动发动机的输出功率、油动发动机的耗油量系数和显示装置当前显示的剩余油量百分比是会随着时间发生变化的,因此按照油量刷新频率获取油动发动机的输出功率,并根据输出功率,确定油动发动机的单位时间耗油量,且获取油动发动机的耗油量系数和显示装置当前显示的剩余油量百分比,可以获取到油动发动机的最新的单位时间耗油量、最新的耗油量系数和显示装置当前显示的最新的剩余油量百分比。It can be understood that the output power of the oil-driven engine, the fuel consumption coefficient of the oil-driven engine, and the remaining oil percentage currently displayed on the display device will change over time. Therefore, the oil-driven engine's information is obtained according to the oil volume refresh frequency. Output power, and based on the output power, determine the fuel consumption per unit time of the oil-driven engine, and obtain the fuel consumption coefficient of the oil-driven engine and the remaining fuel percentage currently displayed on the display device, and the latest unit of the oil-driven engine can be obtained The time fuel consumption, the latest fuel consumption coefficient and the latest remaining fuel percentage currently displayed by the display device.
其中,油动发动机的耗油量系数是根据显示装置当前显示的剩余油量百分比和油位传感器采集到的剩余油量进行更新的。通过更新耗油量系数,可以保证显示装置显示的剩余油量百分比与后台计算得到的剩余油量百分比的一致性,提高显示装置显示的剩余油量百分比的准确性。Among them, the fuel consumption coefficient of the oil-driven engine is updated based on the remaining oil percentage currently displayed by the display device and the remaining oil collected by the oil level sensor. By updating the fuel consumption coefficient, the consistency of the remaining fuel percentage displayed by the display device and the remaining fuel percentage calculated by the background can be ensured, and the accuracy of the remaining fuel percentage displayed by the display device can be improved.
可以理解的是,在执行油量显示方法时,可以先执行步骤S101,然后执行步骤S102,也可以先执行步骤S102,然后执行步骤S101,还可以同时执行步骤S101和步骤S102,本申请实施例对此不做具体限定。It can be understood that when executing the oil level display method, step S101 may be executed first, and then step S102 may be executed, or step S102 may be executed first, and then step S101 may be executed, or step S101 and step S102 may be executed at the same time. Embodiments of the present application There is no specific limit on this.
步骤S103、根据单位时间耗油量、当前显示的剩余油量百分比和耗油量系数,更新显示装置显示的剩余油量百分比。Step S103: Update the remaining fuel percentage displayed by the display device based on the fuel consumption per unit time, the currently displayed remaining fuel percentage, and the fuel consumption coefficient.
其中,通过单位时间耗油量、当前显示的剩余油量百分比和耗油量系数,可以计算得到新的剩余油量百分比,然后将显示装置显示的剩余油量百分比替换为新的剩余油量百分比,以实现显示装置显示的剩余油量百分比的更新。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 by the display device is replaced with the new remaining fuel percentage. , to update the remaining fuel percentage displayed by the display device.
在一实施例中,根据单位时间耗油量和耗油量系数,计算油动发动机的耗油总量。根据耗油总量、当前显示的剩余油量百分比和油动发动机的油箱满油量,更新显示装置显示的剩余油量百分比。通过单位时间耗油量和耗油量系数可以准确地计算出油动发动机的耗油总量,再通过准确的耗油总量、当前显示的剩余油量百分比和油动发动机的油箱满油量,可以准确地更新显示装置显示的剩余油量百分比。In one embodiment, the total fuel consumption of the oil-driven 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 tank of the oil-driven engine. The total fuel consumption of the oil-driven engine can be accurately calculated through the fuel consumption per unit time and the fuel consumption coefficient, and then through the accurate total fuel consumption, the currently displayed remaining fuel percentage and the full fuel tank of the oil-driven engine , can accurately update the remaining oil percentage displayed by the display device.
其中,油动发动机的耗油总量是指油动发动机机在一个油量刷新周期内所消耗的油量。因此,计算单位时间耗油量、油量刷新周期的持续时长与耗油量 系数的乘积,可以得到油动发动机的耗油总量。油量刷新周期是根据油量刷新频率确定的,例如,油量刷新频率为一分钟刷新一次显示装置显示的剩余油量百分比,则油量刷新周期为一分钟,又例如,油量刷新频率为30秒刷新一次显示装置显示的剩余油量百分比,则油量刷新周期为30秒。Among them, the total fuel consumption of the oil-driven engine refers to the amount of oil consumed by the oil-driven engine within an oil quantity refresh cycle. Therefore, by calculating the product of the fuel consumption per unit time, the duration of the fuel refresh cycle and the fuel consumption coefficient, the total fuel consumption of the oil-driven engine can be obtained. The oil quantity refresh period is determined based on the oil quantity refresh frequency. For example, if the oil quantity refresh frequency is to refresh the remaining oil quantity percentage displayed by the display device once a minute, then the oil quantity refresh period is one minute. For example, the oil quantity refresh frequency is The remaining fuel percentage displayed by the display device is refreshed once every 30 seconds, and the fuel refresh cycle is 30 seconds.
示例性的,根据耗油总量、当前显示的剩余油量百分比和油动发动机的油箱满油量,更新显示装置显示的剩余油量百分比的方式可以为:计算当前显示的剩余油量百分比与油箱满油量的乘积;计算该乘积与耗油总量之间的差值,并用该乘积与耗油总量之间的差值除以油箱满油量,得到新的剩余油量百分比;将显示装置显示的剩余油量百分比更新为新的剩余油量百分比。For example, based on the total fuel consumption, the currently displayed remaining fuel percentage and the full fuel tank of the oil-driven engine, the method of updating the remaining fuel percentage displayed by the display device may be: calculating the currently displayed remaining fuel percentage and The product of the full fuel capacity of the fuel tank; calculate the difference between the product and the total fuel consumption, and divide the difference between the product and the total fuel consumption by the full fuel volume of the fuel tank to obtain the new remaining fuel percentage; The remaining fuel percentage shown on the display device is updated to the new remaining fuel percentage.
例如,设油箱满油量为N,耗油量系数为α,显示装置当前显示的剩余油量百分比为β 1,单位时间耗油量为C,油量刷新周期的持续时长为T,新的剩余油量百分比为β 2,则新的剩余油量百分比:β 2=(N*β 1-α*C*T)/N,设油箱满油量N=3950ml,耗油量系数α=1,显示装置当前显示的剩余油量百分比β 1=95%,发动机的单位时间耗油量C=15ml/min,油量刷新周期为1分钟,则新的剩余油量百分比:β 2=(3950*95%-1*15*1)/3950=94%,显示精度为1%。 For example, assume that the full amount of fuel in the fuel tank is N, the fuel consumption coefficient is α, the remaining fuel percentage currently displayed by 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 The remaining oil percentage is β 2 , then the new remaining oil percentage is: β 2 =(N*β 1 -α*C*T)/N, assuming the full fuel capacity of the tank is N=3950ml, and the fuel consumption coefficient α=1 , the remaining fuel percentage currently displayed by the display device is β 1 = 95%, the engine’s fuel consumption per unit time C = 15 ml/min, and the fuel refresh cycle is 1 minute, then the new remaining fuel percentage is: β 2 = (3950 *95%-1*15*1)/3950=94%, the display accuracy is 1%.
示例性的,根据耗油总量、当前显示的剩余油量百分比和油动发动机的油箱满油量,更新显示装置显示的剩余油量百分比的方式可以为:用耗油总量除以油箱满油量,得到油耗百分比;用显示装置当前显示的剩余油量百分比减去该油耗百分比,得到新的剩余油量百分比。例如,新的剩余油量百分比:β 2=β 1-(α*C*T)/N)=95%-(1*15*1)/3950=94%。 For example, based on the total fuel consumption, the currently displayed remaining fuel percentage and the full fuel tank of the oil-driven engine, the method of updating the remaining fuel percentage displayed on the display device may be: dividing the total fuel consumption by the full fuel tank. The fuel consumption percentage is obtained by subtracting the fuel consumption percentage from the remaining fuel volume percentage currently displayed on the display device to obtain the new remaining fuel volume percentage. For example, the new remaining oil percentage: β 21 -(α*C*T)/N)=95%-(1*15*1)/3950=94%.
在一实施例中,如图2所示,油动发动机的耗油量系数的更新过程包括步骤S110至S130。In one embodiment, as shown in FIG. 2 , the updating process of the fuel consumption coefficient of the oil-driven engine includes steps S110 to S130.
步骤S110、计算显示装置当前显示的剩余油量百分比与油动发动机的油箱满油量的乘积,得到第一剩余油量。Step S110: Calculate the product of the percentage of remaining oil currently displayed on the display device and the full amount of oil in the oil tank of the oil-driven engine to obtain the first remaining oil amount.
例如,显示装置当前显示的剩余油量百分比为95%,油动发动机的油箱满油量为3950ml,则第一剩余油量为:3950*95%=3752.5ml。可以理解的是,S110步骤中的显示装置当前显示的剩余油量百分比与步骤S102中的显示装置当前显示的剩余油量百分比可以相同,也可以不相同。例如,在S110步骤与步骤S102同时执行时,这两个步骤中的剩余油量百分比相同。又例如,在S110步骤与步骤S102不同时执行时,这两个步骤中的剩余油量百分比不相同。For example, if the remaining oil percentage currently displayed by the display device is 95%, and the oil tank of the oil-driven engine is full of 3950 ml, then the first remaining oil amount is: 3950*95%=3752.5 ml. It can be understood that the percentage of remaining fuel currently displayed by the display device in step S110 and the percentage of remaining fuel currently displayed by the display device in step S102 may be the same or different. For example, when step S110 and step S102 are executed simultaneously, the remaining oil percentages in these two steps are the same. For another example, when step S110 and step S102 are not executed at the same time, the remaining oil percentages in these two steps are different.
步骤S120、获取油位传感器采集到的第二剩余油量。Step S120: Obtain the second remaining oil amount collected by the oil level sensor.
其中,油位传感器用于采集油动发动机的油箱的剩余油量,可以将油位传感器采集到的油箱的剩余油量确定为第二剩余油量,油位传感器可以包括电容式油位传感器或电子式油位传感器,电子式油位传感器可以包括电阻式油位传感器、电压式油位传感器或频率式油位传感器。Wherein, the oil level sensor is used to collect the remaining oil amount of the oil tank of the oil-driven engine. The remaining oil amount of the oil tank collected by the oil level sensor can be determined as the second remaining oil amount. The oil level sensor can include a capacitive oil level sensor or Electronic oil level sensor, electronic oil level sensor can include resistive oil level sensor, voltage oil level sensor or frequency oil level sensor.
在一实施例中,获取油位传感器采集到的多个剩余油量;根据多个剩余油 量,计算平均剩余油量,并将平均剩余油量确定为第二剩余油量。其中,油位传感器可以在一个油量。其中,油位传感器可以在预设时长内采集油箱的多个剩余油量,预设时长可以基于实际情况进行设置,本申请实施例对此不做具体限定。例如,预设时长为1秒,则油位传感器在1秒内采集油箱的多个剩余油量。通过油位传感器采集油箱的多个剩余油量,并取多个剩余油量的平均值作为第二剩余油量,可以提高剩余油量的准确性。In one embodiment, multiple remaining oil quantities collected by the oil level sensor are obtained; an average remaining oil quantity is calculated based on the multiple remaining oil quantities, and the average remaining oil quantity is determined as the second remaining oil quantity. Among them, the oil level sensor can be in an oil level. Among them, the oil level sensor can collect multiple remaining oil quantities of the fuel tank within a preset time period. The preset time period can be set based on actual conditions. This is not specifically limited in the embodiments of the present application. For example, if the preset time is 1 second, the fuel level sensor collects multiple remaining fuel levels in the fuel tank within 1 second. The accuracy of the remaining oil amount can be improved 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.
可以理解的是,在执行步骤S110与步骤S120时,可以先执行步骤S110,然后执行步骤S120,也可以先执行步骤S120,然后执行步骤S110,还可以同时执行步骤S110和步骤S120,本申请实施例对此不做具体限定。It can be understood that when executing steps S110 and S120, step S110 may be executed first, and then step S120 may be executed, or step S120 may be executed first, and then step S110 may be executed, or step S110 and step S120 may be executed at the same time. This application implements This example does not specifically limit this.
步骤S130、根据第一剩余油量和第二剩余油量,更新耗油量系数。Step S130: Update the fuel consumption coefficient based on the first remaining fuel quantity and the second remaining fuel quantity.
由于显示装置显示的剩余油量可能与油位传感器采集到的剩余油量不同,即显示装置显示的剩余油量与油箱的实际剩余油量存在偏差,而通过第一剩余油量与第二剩余油量,可以更新耗油量系数,即增大或减小耗油量系数,而更新显示装置的剩余油量百分比与耗油量系数有关,这样在更新耗油量系数后,可以基于更新的耗油量系数准确地更新显示装置显示的剩余油量百分比,从而减少显示装置显示的剩余油量与油箱的实际剩余油量之间的偏差。Since the remaining oil amount displayed by the display device may be different from the remaining oil amount collected by the oil level sensor, that is, there is a deviation between the remaining oil amount displayed by the display device and the actual remaining oil amount in the fuel tank. The fuel consumption coefficient can be updated, that is, the fuel consumption coefficient can be increased or decreased, and the remaining fuel percentage of the updated display device is related to the fuel consumption coefficient, so that after the fuel consumption coefficient is updated, the fuel consumption coefficient can be updated based on the updated fuel consumption coefficient. The fuel consumption coefficient accurately updates the remaining fuel percentage displayed by the display device, thereby reducing the deviation between the remaining fuel volume displayed by the display device and the actual remaining fuel volume in the fuel tank.
在一实施例中,如图3所示,步骤S130可以包括子步骤S131至子步骤S133。In an embodiment, as shown in Figure 3, step S130 may include sub-steps S131 to sub-step S133.
子步骤S131、在第一剩余油量不等于第二剩余油量时,计算第一剩余油量与第二剩余油量之间的差值,得到油量偏差。Sub-step S131: When the first remaining oil amount is not equal to the second remaining oil amount, calculate the difference between the first remaining oil amount and the second remaining oil amount to obtain the oil amount deviation.
子步骤S132、确定油量偏差所处的油量偏差范围,并根据油量偏差所处的油量偏差范围,确定耗油量系数的修正值。Sub-step S132: Determine the oil quantity deviation range in which the oil quantity deviation lies, and determine the correction value of the fuel consumption coefficient according to the oil quantity deviation range in which the oil quantity deviation lies.
子步骤S133、根据耗油量系数的修正值,更新耗油量系数。Sub-step S133: Update the fuel consumption coefficient according to the correction value of the fuel consumption coefficient.
通过在第一剩余油量不等于第二剩余油量,即显示装置显示的剩余油量与油箱的实际剩余油量存在偏差时,基于第一剩余油量与第二剩余油量之间的油量偏差来确定耗油量系数的修正值,再通过修正值更新耗油量系数,这样可以基于更新的耗油量系数准确地更新显示装置显示的剩余油量百分比,从而减少显示装置显示的剩余油量与油箱的实际剩余油量之间的偏差。By when the first remaining oil amount is not equal to the second remaining oil amount, that is, there is a deviation between the remaining oil amount displayed by the display device and the actual remaining oil amount in the fuel tank, based on the oil between the first remaining oil amount and the second remaining oil amount, The correction value of the fuel consumption coefficient is determined based on the quantity deviation, and then the fuel consumption coefficient is updated through the correction value. In this way, the remaining fuel percentage displayed by the display device can be accurately updated based on the updated fuel consumption coefficient, thereby reducing the remaining fuel quantity displayed by the display device. The deviation between the fuel level and the actual remaining fuel level in the tank.
示例性的,查询预先建立好的油量偏差范围与耗油量系数的修正值之间的映射关系表,获取该油量偏差所处的油量偏差范围对应的修正值。根据耗油量系数的修正值,更新耗油量系数,即将耗油量系数的修正值与当前存储的耗油量系数进行累加,得到新的耗油量系数。其中,油量偏差范围与耗油量系数的修正值之间的映射关系表可以基于多次试验建立,本申请实施例对此不做具体限定。For example, the mapping relationship table between the pre-established oil quantity deviation range and the correction value of the fuel consumption coefficient is queried to obtain the correction value corresponding to the oil quantity deviation range in which the oil quantity deviation lies. According to the correction value of the fuel consumption coefficient, the fuel consumption coefficient is updated, that is, the correction value of the fuel consumption coefficient is accumulated with the currently stored fuel consumption coefficient to obtain a new fuel consumption coefficient. The mapping relationship table between the oil quantity deviation range and the correction value of the fuel consumption coefficient can be established based on multiple tests, which is not specifically limited in the embodiment of the present application.
示例性的,根据耗油量系数的修正值,更新耗油量系数的方式可以包括:将耗油量系数的修正值与当前存储的耗油量系数进行累加,得到新的耗油量系数,并将当前存储的耗油量系数替换为新的耗油量系数,以更新耗油量系数。For example, according to the correction value of the fuel consumption coefficient, the method of updating the fuel consumption coefficient may include: accumulating the correction value of the fuel consumption coefficient and the currently stored fuel consumption coefficient to obtain a new fuel consumption coefficient, And replace the currently stored fuel consumption coefficient with the new fuel consumption coefficient to update the fuel consumption coefficient.
其中,耗油量系数的修正值包括正数修正值或负数修正值,在第一剩余油量与第二剩余油量之间的差值大于零时,耗油量系数的修正值为正数修正值,在第一剩余油量与第二剩余油量之间的差值小于零时,耗油量系数的修正值为负数修正值。例如,显示装置显示的剩余油量百分比为80%,且油箱满油量为3950ml,则可以计算得到第一剩余油量为:3950*80%=3160ml,油标传感器采集到的第二剩余油量为油箱满油量的75%,即第二剩余油量为:3950*75%=2962.5ml,通过计算得到油量偏差为:3160-2962.5=197.5ml,若油量偏差197.5ml所处的180ml至200ml这一范围对应的修正值为0.35,则可以确定耗油量系数的修正值为0.35。若当前存储的耗油量系数为1,则按照公式更新耗油量系数,即α=α+Δα,Δα为耗油量系数的修正值,可以计算得到新的耗油量系数为:α=α+Δα=1+0.35=1.35。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 quantity and the second remaining fuel quantity is greater than zero, the correction value of the fuel consumption coefficient is a positive number. Correction value, when the difference between the first remaining oil amount and the second remaining oil amount is less than zero, the correction value of the fuel consumption coefficient is a negative correction value. For example, if the percentage of remaining oil displayed by the display device is 80%, and the full oil volume of the fuel tank is 3950ml, then the first remaining oil volume can be calculated as: 3950*80%=3160ml, and the second remaining oil volume collected by the oil level sensor The amount is 75% of the full tank capacity, that is, the second remaining oil amount is: 3950*75%=2962.5ml. The oil amount deviation is calculated through calculation: 3160-2962.5=197.5ml. If the oil amount deviation is 197.5ml, The correction value corresponding to the range of 180ml to 200ml is 0.35, then it can be determined that the correction value of the fuel consumption coefficient is 0.35. If the currently stored fuel consumption coefficient is 1, update the fuel consumption coefficient 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.
又例如,显示装置显示的剩余油量百分比为72%,且油箱满油量为3950ml,则可以计算得到第一剩余油量为:3950*72%=2844ml,油标传感器采集到的第二剩余油量为油箱满油量的75%,即第二剩余油量为:3950*75%=2962.5ml,通过计算得到油量偏差为:2844-2962.5=-118.5ml,若油量偏差-118.5ml所处的-100ml至-120ml这一范围对应的修正值为-0.2,则可以确定耗油量系数的修正值为-0.2,若当前存储的耗油量系数为1,则按照公式更新耗油量系数,即α=α+Δα,Δα为耗油量系数的修正值,可以计算得到新的耗油量系数为:α=α+Δα=1-0.2=0.8。For another example, if the percentage of remaining oil displayed by the display device is 72%, and the full oil volume of the fuel tank is 3950ml, then the first remaining oil volume can be calculated as: 3950*72%=2844ml, and the second remaining oil volume collected by the oil level sensor is The oil volume is 75% of the full tank capacity, that is, the second remaining oil volume is: 3950*75%=2962.5ml. The oil volume deviation is calculated through calculation: 2844-2962.5=-118.5ml. If the oil volume deviation is -118.5ml The correction value corresponding to the range of -100ml to -120ml is -0.2, then 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 is updated according to the formula The fuel consumption coefficient 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.
在一实施例中,如图4所示,步骤S130可以包括子步骤S134至子步骤S136。In an embodiment, as shown in Figure 4, step S130 may include sub-steps S134 to sub-step S136.
子步骤S134、在第一剩余油量不等于第二剩余油量时,获取油位传感器前一次采集到的第三剩余油量。Sub-step S134: When the first remaining oil amount is not equal to the second remaining oil amount, obtain the third remaining oil amount collected previously by the oil level sensor.
子步骤S135、根据第一剩余油量、第二剩余油量和第三剩余油量,确定耗油量系数的修正值。Sub-step S135: Determine the correction value of the fuel consumption coefficient based on the first remaining oil amount, the second remaining oil amount and the third remaining oil amount.
子步骤S136、根据耗油量系数的修正值,更新耗油量系数。Sub-step S136: Update the fuel consumption coefficient according to the correction value of the fuel consumption coefficient.
通过在第一剩余油量不等于第二剩余油量,即显示装置显示的剩余油量与油箱的实际剩余油量存在偏差时,通过油箱的实际剩余油量、显示装置显示的剩余油量和油箱前次的实际剩余油量可以更加准确地确定耗油量系数的修正值,从而可以更加准确地更新耗油量系数,这样可以基于更新的耗油量系数更加准确地更新显示装置显示的剩余油量百分比,从而进一步地减少显示装置显示的剩余油量与油箱的实际剩余油量之间的偏差。When the first remaining oil amount is not equal to the second remaining oil amount, that is, there is a deviation between the remaining oil amount displayed by the display device and the actual remaining oil amount of the fuel tank, the actual remaining oil amount of the fuel tank, the remaining oil amount displayed by the display device, and The last actual remaining fuel quantity in the fuel tank can more accurately determine the correction value of the fuel consumption coefficient, so that the fuel consumption coefficient can be updated more accurately, so that the remaining fuel displayed by the display device can be updated more accurately based on the updated fuel consumption coefficient. The oil volume percentage is further reduced, thereby further reducing the deviation between the remaining oil volume displayed by the display device and the actual remaining oil volume in the fuel tank.
示例性的,在第一剩余油量与第二剩余油量之间的偏差大于预设偏差阈值时,获取油位传感器前一次采集到的第三剩余油量。根据第一剩余油量、第二剩余油量和第三剩余油量,确定耗油量系数的修正值。根据修正值,更新耗油量系数。通过在第一剩余油量与第二剩余油量之间的偏差大于预设偏差阈值时,对耗油量系数进行更新,不需要每次都更新耗油量系数,不仅可以减少耗油量系数的更新次数,节省计算资源,还可以保证显示装置显示的剩余油量与油箱 的实际剩余油量之间的偏差较小。For example, when the deviation between the first remaining oil amount and the second remaining oil amount is greater than the preset deviation threshold, the third remaining oil amount collected previously by the oil level sensor is obtained. The correction value of the fuel consumption coefficient is determined based on the first remaining oil amount, the second remaining oil amount and the third remaining oil amount. According to the correction value, the fuel consumption coefficient is updated. By updating the fuel consumption coefficient when the deviation between the first remaining fuel quantity and the second remaining fuel quantity is greater than the preset deviation threshold, there is no need to update the fuel consumption coefficient every time, which not only reduces the fuel consumption coefficient The number of updates saves computing resources and ensures that the deviation between the remaining fuel amount displayed by the display device and the actual remaining oil amount in the fuel tank is small.
其中,前一次采集到的第三剩余油量可以取油位传感器前一次采集到的多个剩余油量的平均值,预设偏差阈值可以基于实际情况进行设置,本申请实施例对此不做具体限定。例如,预设偏差阈值为5ml、15ml或20ml等。在第一剩余油量与第二剩余油量之间的偏差小于预设偏差阈值时,不更新耗油量系数。Among them, the third remaining oil amount collected last time can be the average of multiple remaining oil amounts collected by the oil level sensor last time. The preset deviation threshold can be set based on the actual situation. This is not done in the embodiment of this application. Specific limitations. For example, the preset deviation threshold is 5ml, 15ml or 20ml, etc. When the deviation between the first remaining oil amount and the second remaining oil amount is less than the preset deviation threshold, the fuel consumption coefficient is not updated.
示例性的,根据第一剩余油量、第二剩余油量和第三剩余油量,确定耗油量系数的修正值的方式可以为:计算第一剩余油量与第二剩余油量的差值,得到第一油量偏差;计算第三剩余油量与第二剩余油量的差值,得到第二油量偏差;用第一油量偏差除以第二油量偏差,得到耗油量系数的修正值。其中,耗油量系数的修正值包括正数修正值或负数修正值,第一油量偏差和第二油量偏差均为正值或负值时,耗油量系数的修正值为正数修正值,耗油量系数的修正值包括正数修正值或负数修正值,第一油量偏差和第二油量偏差一个为负值,一个为正值时,耗油量系数的修正值为负数修正值。For example, based on the first remaining oil amount, the second remaining oil amount and the third remaining oil amount, the correction value of the fuel consumption coefficient may be determined by: calculating the difference between the first remaining oil amount and the second remaining oil amount. value to obtain the first oil quantity deviation; calculate the difference between the third remaining oil quantity and the second remaining oil quantity to obtain the second oil quantity deviation; divide the first oil quantity deviation by the second oil quantity deviation to obtain the fuel consumption The correction value of the coefficient. Among them, the correction value of the fuel consumption coefficient includes a positive correction value or a negative correction value. When the first fuel quantity deviation and the second fuel quantity deviation are both positive or negative values, the correction value of the fuel consumption coefficient is a positive correction value. value, the correction value of the fuel consumption coefficient includes a positive correction value or a negative correction value. When one of the first fuel quantity deviation and the second fuel quantity deviation is a negative value and the other is a positive value, the correction value of the fuel consumption coefficient is a negative number. Correction value.
例如,显示装置显示的剩余油量百分比为80%,且油箱满油量为3950ml,则可以计算得到第一剩余油量为:3950*80%=3160ml,油标传感器采集到的第二剩余油量为油箱满油量的75%,即第二剩余油量为:3950*75%=2962.5ml,油标传感器采集到的第三剩余油量为油箱满油量的100%,即第三剩余油量为3950ml,通过计算得到第一油量偏差为:3160-2962.5=197.5ml,第二油量偏差为:3950-2962.5=987.5ml,197.5除以987.5等于0.2,因此,耗油量系数的修正值为0.2,若当前存储的耗油量系数为1,则按照公式更新耗油量系数,即:α=α+Δα,Δα为耗油量系数的修正值,可以计算得到新的耗油量系数为:α=α+Δα=1+0.2=1.2。通过在显示装置显示的剩余油量大于油箱的实际剩余油量时,增大耗油量系数,可以快速地减少显示装置显示的剩余油量与油箱的实际剩余油量之间的偏差。For example, if the percentage of remaining oil displayed by the display device is 80%, and the full oil volume of the fuel tank is 3950ml, then the first remaining oil volume can be calculated as: 3950*80%=3160ml, and the second remaining oil volume collected by the oil level sensor The amount is 75% of the full amount of the fuel tank, that is, the second remaining oil amount is: 3950*75% = 2962.5ml. The third remaining oil amount collected by the oil level sensor is 100% of the full amount of the fuel tank, that is, the third remaining amount. The oil volume is 3950ml. The first oil volume deviation is calculated through calculation: 3160-2962.5=197.5ml. The second oil volume deviation is: 3950-2962.5=987.5ml. 197.5 divided by 987.5 is equal to 0.2. Therefore, the fuel consumption coefficient The correction value is 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 can be calculated The quantity coefficient is: α=α+Δα=1+0.2=1.2. By increasing the fuel consumption coefficient when the remaining oil amount displayed by the display device is greater than the actual remaining oil amount in the fuel tank, the deviation between the remaining oil amount displayed by the display device and the actual remaining oil amount in the fuel tank can be quickly reduced.
又例如,显示装置显示的剩余油量百分比为70%,且油箱满油量为3950ml,则可以计算得到第一剩余油量为:3950*70%=2765ml,油标传感器采集到的第二剩余油量为油箱满油量的75%,即第二剩余油量为:3950*75%=2962.5ml,油标传感器采集到的第三剩余油量为油箱满油量的100%,即第三剩余油量为3950ml,通过计算得到第一油量偏差为:2962.5-3160=-197.5ml,第二油量偏差为:3950-2962.5=987.5ml,-197.5除以987.5等于-0.2,因此,耗油量系数的修正值为-0.2,若当前存储的耗油量系数为1,则按照公式更新耗油量系数,即:α=α+Δα,Δα为耗油量系数的修正值,可以计算得到新的耗油量系数为:α=α+Δα=1-0.2=0.8。通过在显示装置显示的剩余油量小于油箱的实际剩余油量时,减小耗油量系数,可以快速地减少显示装置显示的剩余油量与油箱的实际剩余油量之间的偏差。For another example, if the percentage of remaining oil displayed by the display device is 70%, and the full oil volume of the fuel tank is 3950ml, then the first remaining oil volume can be calculated as: 3950*70%=2765ml, and the second remaining oil volume collected by the oil level sensor is The oil volume is 75% of the full fuel capacity of the fuel tank, that is, the second remaining oil volume is: 3950*75%=2962.5ml. The third remaining oil volume collected by the oil level sensor is 100% of the full fuel volume of the fuel tank, that is, the third remaining oil volume is: The remaining oil volume is 3950ml. Through calculation, the first oil volume deviation is: 2962.5-3160=-197.5ml. The second oil volume deviation is: 3950-2962.5=987.5ml. -197.5 divided by 987.5 equals -0.2. Therefore, the consumption 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, that is: α = α + Δα, Δα is the correction value of the fuel consumption coefficient, which can be calculated The new fuel consumption coefficient is obtained: α=α+Δα=1-0.2=0.8. By reducing the fuel consumption coefficient when the remaining oil amount displayed by the display device is less than the actual remaining oil amount of the fuel tank, the deviation between the remaining oil amount displayed by the display device and the actual remaining oil amount of the fuel tank can be quickly reduced.
可以理解的是,步骤S110至S130可以在步骤S101、步骤S102或步骤S103之前或之后执行,也可以在步骤S102中的“获取油动发动机的耗油量系数”的这 个步骤之前执行,本申请实施对此不做具体限定。It can be understood that steps S110 to S130 can be performed before or after step S101, step S102 or step S103, or can be performed before the step of "obtaining the fuel consumption coefficient of the oil-driven engine" in step S102. This application The implementation does not impose specific restrictions on this.
示例性的,步骤S110至S130在步骤S102中的“获取油动发动机的耗油量系数”的这个步骤之前执行的方案为:获取油动发动机的输出功率,并根据输出功率,确定油动发动机的单位时间耗油量;获取显示装置当前显示的剩余油量百分比;计算显示装置当前显示的剩余油量百分比与油动发动机的油箱满油量的乘积,得到第一剩余油量;获取油位传感器采集到的第二剩余油量;根据第一剩余油量和第二剩余油量,更新耗油量系数;获取油动发动机的耗油量系数;根据单位时间耗油量、当前显示的剩余油量百分比和耗油量系数,更新显示装置显示的剩余油量百分比。Exemplarily, the solution for steps S110 to S130 to be executed before the step of "obtaining the fuel consumption coefficient of the oil-driven engine" in step S102 is to obtain the output power of the oil-driven engine, and determine the fuel consumption of the oil-driven engine based on the output power. fuel consumption per unit time; obtain the remaining fuel percentage currently displayed by the display device; calculate the product of the remaining fuel percentage currently displayed by the display device and the full fuel capacity of the oil tank of the oil-driven engine to obtain the first remaining fuel volume; obtain the oil level The second remaining oil amount collected by the sensor; update the fuel consumption coefficient according to the first remaining oil amount and the second remaining oil amount; obtain the fuel consumption coefficient of the oil-driven engine; based on the fuel consumption per unit time and the currently displayed remaining oil amount The fuel percentage and fuel consumption coefficient update the remaining fuel percentage displayed by the display device.
示例性的,步骤S110至S130在步骤S101之前执行的方案为:计算显示装置当前显示的剩余油量百分比与油动发动机的油箱满油量的乘积,得到第一剩余油量;获取油位传感器采集到的第二剩余油量;根据第一剩余油量和第二剩余油量,更新耗油量系数;获取油动发动机的输出功率,并根据输出功率,确定油动发动机的单位时间耗油量;获取显示装置当前显示的剩余油量百分比以及获取油动发动机的耗油量系数;根据单位时间耗油量、当前显示的剩余油量百分比和耗油量系数,更新显示装置显示的剩余油量百分比。Exemplarily, steps S110 to S130 are executed before step S101 as follows: calculating the product of the percentage of remaining oil currently displayed on the display device and the full amount of oil in the oil tank of the oil-driven engine to obtain the first remaining oil amount; and obtaining the oil level sensor. The collected second remaining oil amount; update the fuel consumption coefficient according to the first remaining oil amount and the second remaining oil amount; obtain the output power of the oil-driven engine, and determine the fuel consumption per unit time of the oil-driven engine based on the output power quantity; obtain the remaining fuel percentage currently displayed by the display device and obtain the fuel consumption coefficient of the oil-driven engine; update the remaining fuel displayed by the display device based on the fuel consumption per unit time, the currently displayed remaining fuel percentage, and the fuel consumption coefficient. Quantity percentage.
请参阅图5,图5是本申请实施例提供的另一种油量显示方法的流程示意图。Please refer to FIG. 5 , which is a schematic flowchart of another oil quantity display method provided by an embodiment of the present application.
如图5所示,该油量显示方法包括步骤S201至204。As shown in Figure 5, the oil quantity display method includes steps S201 to S204.
步骤S201、获取油箱油量记录值和油位传感器采集到的油箱剩余油量。Step S201: Obtain the fuel volume record value of the fuel tank and the remaining fuel volume in the fuel tank collected by the fuel level sensor.
步骤S202、在油箱剩余油量小于油箱油量记录值时,获取油动发动机的输出功率,并根据输出功率,确定油动发动机的单位时间耗油量。Step S202: When the remaining oil amount in the fuel tank is less than the recorded value of the oil amount in the fuel tank, obtain the output power of the oil-driven engine, and determine the fuel consumption per unit time of the oil-driven engine based on the output power.
步骤S203、获取显示装置当前显示的剩余油量百分比以及获取油动发动机的耗油量系数。Step S203: Obtain the remaining fuel percentage currently displayed by the display device and obtain the fuel consumption coefficient of the oil-driven engine.
步骤S204、根据单位时间耗油量、当前显示的剩余油量百分比和耗油量系数,更新显示装置显示的剩余油量百分比。Step S204: Update the remaining fuel percentage displayed by the display device based on the fuel consumption per unit time, the currently displayed remaining fuel percentage and the fuel consumption coefficient.
其中,油箱油量记录值为油箱的剩余油量的记录值。通过油箱油量记录值与油位传感器采集到的油箱剩余油量,可以知晓油箱中的油量是在增加,还是在减少,在油箱剩余油量小于油箱油量记录值时,表示油动发动机处于工作状态,正在消耗油箱中的汽油或柴油,而在油箱剩余油量大于油箱油量记录值时,表示外部正向油箱中加油。可以定时获取油箱油量记录值和油位传感器采集到的油箱剩余油量。Among them, the recorded value of the fuel quantity in the fuel tank is the recorded value of the remaining fuel quantity in the fuel tank. Through the fuel tank oil volume record value and the fuel tank remaining oil volume collected by the fuel level sensor, you can know whether the oil volume in the fuel tank is increasing or decreasing. When the fuel tank remaining oil volume is less than the fuel tank oil volume record value, it means that the oil-driven engine It is in working status and is consuming gasoline or diesel in the fuel tank. When the remaining fuel volume in the fuel tank is greater than the recorded value of the fuel volume in the fuel tank, it means that external refueling is being added to the fuel tank. 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 can be obtained regularly.
本申请实施例中,通过在油动发动机处于工作状态,正在消耗油箱中的汽油或柴油时,才开始更新显示装置显示的剩余油量百分比,这样可以节省计算资源。In the embodiment of the present application, the remaining fuel percentage displayed on the display device is updated only when the oil-driven engine is in working condition and consuming gasoline or diesel in the fuel tank, so that computing resources can be saved.
在一实施例中,在油箱剩余油量小于油箱油量记录值时,将油箱油量记录值更新为油箱剩余油量。通过在油动发动机处于工作状态,正在消耗油箱中的 汽油或柴油时,将油箱油量记录值更新为油箱剩余油量,可以保证油箱油量记录值的准确性。In one embodiment, when the remaining oil amount in the fuel tank is less than the recorded value of the fuel tank oil amount, the recorded value of the fuel tank oil amount is updated to the remaining oil amount in the fuel tank. By updating the fuel tank fuel volume record value to the remaining fuel volume in the fuel tank when the oil-driven engine is in working condition and consuming gasoline or diesel in the fuel tank, the accuracy of the fuel tank fuel volume record value can be ensured.
在一实施例中,在油箱剩余油量大于油箱记录油量时,根据油箱剩余油量,更新显示装置显示的剩余油量百分比和油箱油量记录值。即,用油箱剩余油量除以油箱满油量,得到新的剩余油量百分比,并将显示装置显示的剩余油量百分比替换为新的剩余油量百分比,同时将油箱油量记录值更新为油箱剩余油量。通过在给油箱加油时,基于油箱的实际剩余油量来更新显示装置显示的剩余油量百分比和油箱油量记录值,可以提高剩余油量百分比和油箱油量记录值的准确性。In one embodiment, when the remaining oil amount in the fuel tank is greater than the recorded oil amount in the fuel tank, the remaining oil amount percentage displayed by the display device and the recorded oil amount in the fuel tank are updated according to the remaining oil amount in the fuel tank. That is, divide the remaining fuel volume in the fuel tank by the full fuel volume in the fuel tank to obtain the new remaining fuel volume percentage, replace the remaining fuel volume percentage displayed by the display device with the new remaining fuel volume percentage, and update the fuel tank fuel volume record value to The amount of fuel remaining in the tank. By updating the remaining fuel percentage displayed by the display device and the fuel tank fuel record value based on the actual remaining fuel quantity in the fuel tank when refueling the fuel tank, the accuracy of the remaining fuel percentage and the fuel tank fuel record value can be improved.
在一些实施例中,也可以通过油动发动机的转速来确定油动发动机是否处于工作状态。例如,获取油动发动机的当前转速,在油动发动机的当前转速大于预设转速阈值时,获取油动发动机的输出功率,并根据输出功率,确定油动发动机的单位时间耗油量。获取显示装置当前显示的剩余油量百分比以及获取油动发动机的耗油量系数;根据单位时间耗油量、当前显示的剩余油量百分比和耗油量系数,更新显示装置显示的剩余油量百分比。In some embodiments, whether the oil-driven engine is in a working state can also be determined by the rotation speed of the oil-driven engine. For example, obtain the current speed of the oil-driven engine. When the current speed of the oil-driven engine is greater than the preset speed threshold, obtain the output power of the oil-driven engine, and determine the fuel consumption per unit time of the oil-driven engine based on the output power. Obtain the remaining fuel percentage currently displayed by the display device and obtain the fuel consumption coefficient of the oil-driven engine; update the remaining fuel percentage displayed by the display device based on the fuel consumption per unit time, the currently displayed remaining fuel percentage and the fuel consumption coefficient. .
请参阅图6,图6是本申请实施例提供的一种控制装置的结构示意性框图。Please refer to FIG. 6 , which is a schematic structural block diagram of a control device provided by an embodiment of the present application.
如图6所示,控制装置300包括处理器301和存储器302,处理器301和存储器302通过总线303连接,该总线比如为I2C(Inter-integrated Circuit)总线。As shown in Figure 6, the control device 300 includes a processor 301 and a memory 302. The processor 301 and the memory 302 are connected through a bus 303, which is, for example, an I2C (Inter-integrated Circuit) bus.
具体地,处理器301用于提供计算和控制能力,支撑整个控制装置的运行。处理器301可以是中央处理单元(Central Processing Unit,CPU),该处理器301还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。其中,通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。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 (Central Processing Unit, CPU). The processor 301 can also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC). ), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general processor may be a microprocessor or the processor may be any conventional processor.
具体地,存储器302可以是Flash芯片、只读存储器(ROM,Read-Only Memory)磁盘、光盘、U盘或移动硬盘等。Specifically, the memory 302 may be a Flash chip, a read-only memory (ROM, Read-Only Memory) disk, an optical disk, a U disk or a mobile hard disk, etc.
本领域技术人员可以理解,图5中示出的结构,仅仅是与本申请实施例方案相关的部分结构的框图,并不构成对本申请实施例方案所应用于其上的控制装置的限定,具体的服务器可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in Figure 5 is only a block diagram of a partial 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. Specifically The server may include more or fewer components than shown, some combinations of components, or have a different arrangement of components.
其中,所述处理器用于运行存储在存储器中的计算机程序,并在执行所述计算机程序时实现本申请实施例提供的任意一种油量显示方法。Wherein, the processor is used to run a computer program stored in the memory, and implement any of the oil quantity display methods provided by the embodiments of the present application when executing the computer program.
在一实施例中,所述处理器用于运行存储在存储器中的计算机程序,并在执行所述计算机程序时实现以下步骤:In one embodiment, the processor is configured to run a computer program stored in a memory, and perform the following steps when executing the computer program:
获取油动发动机的输出功率,并根据所述输出功率,确定所述油动发动机 的单位时间耗油量。Obtain the output power of the oil-driven engine, and determine the fuel consumption per unit time of the oil-driven engine based on the output power.
获取显示装置当前显示的剩余油量百分比以及获取所述油动发动机的耗油量系数。Obtain the remaining fuel percentage currently displayed by the display device and obtain the fuel consumption coefficient of the oil-driven engine.
根据所述单位时间耗油量、所述当前显示的剩余油量百分比和所述耗油量系数,更新所述显示装置显示的剩余油量百分比。The remaining fuel percentage displayed by the display device is updated according to the fuel consumption per unit time, the currently displayed remaining fuel percentage and the fuel consumption coefficient.
需要说明的是,所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的控制装置的具体工作过程,可以参考前述油量显示方法实施例中的对应过程,在此不再赘述。It should be noted that those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the control device described above can be referred to the corresponding process in the aforementioned oil quantity display method embodiment, and will not be described here. Again.
本申请实施例还提供一种存储介质,用于计算机可读存储,所述存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现如本申请实施例上述说明书提供的任一项油量显示方法。Embodiments of the present application also provide a storage medium for computer-readable storage. The storage medium stores one or more programs. The one or more programs can be executed by one or more processors to implement the following: Any of the oil quantity display methods provided in the above description of the embodiment of the present application.
其中,所述存储介质可以是前述实施例所述的控制装置的内部存储单元,例如所述控制装置的硬盘或内存。所述存储介质也可以是所述控制装置的外部存储设备,例如所述控制装置上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。The storage medium may be an internal storage unit of the control device described in the previous 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 memory card (Smart Media Card, SMC), or a secure digital (Secure Digital, SD) card equipped on the control device. Flash Card, etc.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施例中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。Those of ordinary skill in the art can understand that all or some steps, systems, and functional modules/units in the devices disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware embodiments, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components. Components execute cooperatively. Some or all of the 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 as hardware, or as an integrated circuit, such as an application specific integrated circuit . Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is known to those of ordinary skill in the art, the term computer storage media includes volatile and nonvolatile media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. removable, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disk (DVD) or other optical disk storage, magnetic cassettes, tapes, disk storage or other magnetic storage devices, or may Any other medium used to store the desired information and that can be accessed by a computer. Additionally, it is known to those of ordinary skill in the art that communication media typically 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 .
应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不 仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。It will be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items. It should be noted that, as used herein, the terms "include", "comprising" or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or system that includes a list of elements not only includes those elements, but It also includes other elements not expressly listed or that are inherent to the process, method, article or system. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。以上所述,仅为本申请的具体实施例,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above serial numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments. The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person familiar with the technical field can easily think of various equivalent methods within the technical scope disclosed in the present application. Modification or replacement, these modifications or replacements shall be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (10)

  1. 一种油量显示方法包括:One oil level display method includes:
    获取油动发动机的输出功率,并根据所述输出功率,确定所述油动发动机的单位时间耗油量;Obtain the output power of the oil-driven engine, and determine the fuel consumption per unit time of the oil-driven engine based on the output power;
    获取显示装置当前显示的剩余油量百分比以及获取所述油动发动机的耗油量系数;Obtain the remaining fuel percentage currently displayed by the display device and obtain the fuel consumption coefficient of the oil-driven engine;
    根据所述单位时间耗油量、所述当前显示的剩余油量百分比和所述耗油量系数,更新所述显示装置显示的剩余油量百分比。The remaining fuel percentage displayed by the display device is updated according to the fuel consumption per unit time, the currently displayed remaining fuel percentage and the fuel consumption coefficient.
  2. 根据权利要求1所述的油量显示方法,其中,所述根据所述单位时间耗油量、所述当前显示的剩余油量百分比和所述耗油量系数,更新所述显示装置显示的剩余油量百分比,包括:The fuel quantity display method according to claim 1, wherein the remaining fuel quantity displayed by the display device is updated based on the fuel consumption per unit time, the currently displayed remaining fuel quantity percentage and the fuel consumption coefficient. Oil volume percentage, including:
    根据所述单位时间耗油量和所述耗油量系数,计算所述油动发动机的耗油总量;Calculate the total fuel consumption of the oil-driven engine based on the fuel consumption per unit time and the fuel consumption coefficient;
    根据所述耗油总量、所述当前显示的剩余油量百分比和所述油动发动机的油箱满油量,更新所述显示装置显示的剩余油量百分比。The remaining fuel percentage displayed by the display device is updated according to the total fuel consumption, the currently displayed remaining fuel percentage and the full fuel tank of the oil-driven engine.
  3. 根据权利要求2所述的油量显示方法,其中,所述根据所述耗油总量、所述当前显示的剩余油量百分比和所述油动发动机的油箱满油量,更新所述显示装置显示的剩余油量百分比,包括:The fuel quantity display method according to claim 2, wherein the display device is updated according to the total fuel consumption, the currently displayed remaining fuel percentage and the full fuel tank of the oil-driven engine. Displayed remaining fuel percentage, including:
    计算所述当前显示的剩余油量百分比与所述油箱满油量的乘积;Calculate the product of the currently displayed remaining fuel percentage and the full fuel capacity of the fuel tank;
    计算所述乘积与所述耗油总量之间的差值,并用所述差值除以所述油箱满油量,得到新的剩余油量百分比;Calculate the difference between the product and the total fuel consumption, and divide the difference by the full fuel capacity of the fuel tank to obtain a new remaining fuel percentage;
    将所述显示装置显示的剩余油量百分比更新为所述新的剩余油量百分比。The remaining oil percentage displayed by the display device is updated to the new remaining oil percentage.
  4. 根据权利要求1所述的油量显示方法,其中,所述方法还包括:The oil level display method according to claim 1, wherein the method further includes:
    计算所述显示装置当前显示的剩余油量百分比与所述油动发动机的油箱满油量的乘积,得到第一剩余油量;Calculate the product of the percentage of remaining oil currently displayed by the display device and the full amount of oil in the fuel tank of the oil-driven engine to obtain the first remaining oil amount;
    获取油位传感器采集到的第二剩余油量;Obtain the second remaining oil volume collected by the oil level sensor;
    根据所述第一剩余油量和所述第二剩余油量,更新所述耗油量系数。The fuel consumption coefficient is updated based on the first remaining oil amount and the second remaining oil amount.
  5. 根据权利要求4所述的油量显示方法,其中,所述根据所述第一剩余油量和所述第二剩余油量,更新所述耗油量系数,包括:The fuel quantity display method according to claim 4, wherein updating the fuel consumption coefficient according to the first remaining fuel quantity and the second remaining fuel quantity includes:
    在所述第一剩余油量与所述第二剩余油量之间的偏差大于预设偏差阈值时,获取所述油位传感器前一次采集到的第三剩余油量;When the deviation between the first remaining oil amount and the second remaining oil amount is greater than the preset deviation threshold, obtain the third remaining oil amount previously collected by the oil level sensor;
    根据所述第一剩余油量、所述第二剩余油量和所述第三剩余油量,确定所述耗油量系数的修正值;Determine a correction value of the fuel consumption coefficient based on the first remaining oil amount, the second remaining oil amount and the third remaining oil amount;
    根据所述修正值,更新所述耗油量系数。The fuel consumption coefficient is updated based on the correction value.
  6. 根据权利要求5所述的油量显示方法,其中,所述根据所述第一剩余油 量、所述第二剩余油量和所述第三剩余油量,确定所述耗油量系数的修正值,包括:The oil quantity display method according to claim 5, wherein the correction of the fuel consumption coefficient is determined based on the first remaining oil quantity, the second remaining oil quantity and the third remaining oil quantity. Values, including:
    计算所述第一剩余油量与所述第二剩余油量的差值,得到第一油量偏差;Calculate the difference between the first remaining oil amount and the second remaining oil amount to obtain a first oil amount deviation;
    计算所述第三剩余油量与所述第二剩余油量的差值,得到第二油量偏差;Calculate the difference between the third remaining oil amount and the second remaining oil amount to obtain a second oil amount deviation;
    用所述第一油量偏差除以所述第二油量偏差,得到所述修正值。The correction value is obtained by dividing the first oil quantity deviation by the second oil quantity deviation.
  7. 根据权利要求4所述的油量显示方法,其中,所述获取油位传感器采集到的第二剩余油量,包括:The oil level display method according to claim 4, wherein said obtaining the second remaining oil amount collected by the oil level sensor includes:
    获取油位传感器采集到的多个剩余油量;Obtain multiple remaining oil quantities collected by the oil level sensor;
    根据所述多个剩余油量,计算平均剩余油量,并将所述平均剩余油量确定为所述第二剩余油量。According to the plurality of remaining oil quantities, an average remaining oil quantity is calculated, and the average remaining oil quantity is determined as the second remaining oil quantity.
  8. 根据权利要求1-7中任一项所述的油量显示方法,其中,所述获取油动发动机的输出功率,并根据所述输出功率,确定所述油动发动机的单位时间耗油量之前,还包括:The oil quantity display method according to any one of claims 1 to 7, wherein the output power of the oil-driven engine is obtained, and the fuel consumption per unit time of the oil-driven engine is determined based on the output power. ,Also includes:
    获取油箱油量记录值和油位传感器采集到的油箱剩余油量;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;
    在所述油箱剩余油量小于所述油箱油量记录值时,获取油动发动机的输出功率,并根据所述输出功率,确定所述油动发动机的单位时间耗油量。When the remaining oil amount in the fuel tank is less than the recorded oil amount in the fuel tank, the output power of the oil-driven engine is obtained, and the fuel consumption per unit time of the oil-driven engine is determined based on the output power.
  9. 根据权利要求8所述的油量显示方法,其中,所述获取油箱油量记录值和油位传感器采集到的油箱剩余油量之后,还包括:The oil level display method according to claim 8, wherein after obtaining the fuel level record value of the fuel tank and the remaining oil level in the fuel tank collected by the oil level sensor, the method further includes:
    在所述油箱剩余油量小于所述油箱油量记录值时,将所述油箱油量记录值更新为所述油箱剩余油量;When the remaining oil amount in the fuel tank is less than the recorded oil amount in the fuel tank, update the recorded oil amount in the fuel tank to the remaining oil amount in the fuel tank;
    在所述油箱剩余油量大于所述油箱记录油量时,根据所述油箱剩余油量,更新所述显示装置显示的剩余油量百分比和所述油箱油量记录值。When the remaining oil amount in the fuel tank is greater than the recorded oil amount in the fuel tank, the remaining oil amount percentage displayed by the display device and the recorded oil amount in the fuel tank are updated according to the remaining oil amount in the fuel tank.
  10. 一种控制装置,所述控制装置包括处理器、存储器、存储在所述存储器上并可被所述处理器执行的计算机程序以及用于实现所述处理器和所述存储器之间的连接通信的数据总线,其中所述计算机程序被所述处理器执行时,实现如权利要求1至9中任一项所述的油量显示方法。A control device, the control device includes a processor, a memory, a computer program stored on the memory and executable by the processor, and a device for realizing connection communication between the processor and the memory. A data bus, wherein when the computer program is executed by the processor, the oil quantity display method according to any one of claims 1 to 9 is implemented.
PCT/CN2022/096976 2022-06-02 2022-06-02 Oil volume display method and control apparatus WO2023231023A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202280002332.6A CN115151796A (en) 2022-06-02 2022-06-02 Oil quantity display method and control device
PCT/CN2022/096976 WO2023231023A1 (en) 2022-06-02 2022-06-02 Oil volume display method and control apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/096976 WO2023231023A1 (en) 2022-06-02 2022-06-02 Oil volume display method and control apparatus

Publications (1)

Publication Number Publication Date
WO2023231023A1 true WO2023231023A1 (en) 2023-12-07

Family

ID=83416658

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/096976 WO2023231023A1 (en) 2022-06-02 2022-06-02 Oil volume display method and control apparatus

Country Status (2)

Country Link
CN (1) CN115151796A (en)
WO (1) WO2023231023A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001194204A (en) * 2000-01-13 2001-07-19 Yns:Kk Display device for remaining running distance for vehicle
CN102778269A (en) * 2011-05-11 2012-11-14 成都泛华航空仪表电器有限公司 Comprehensive measuring system for directly measuring oil consumption of vehicle fuel
CN110081947A (en) * 2019-03-28 2019-08-02 中国第一汽车股份有限公司 A kind of Fuel Remained amount display control method based on road grade signal
CN112161663A (en) * 2020-09-29 2021-01-01 北京车和家信息技术有限公司 Vehicle residual oil quantity determination method, device and equipment and vehicle
CN113483850A (en) * 2021-06-28 2021-10-08 东风华神汽车有限公司 Method, device and equipment for calculating remaining oil endurance mileage and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001194204A (en) * 2000-01-13 2001-07-19 Yns:Kk Display device for remaining running distance for vehicle
CN102778269A (en) * 2011-05-11 2012-11-14 成都泛华航空仪表电器有限公司 Comprehensive measuring system for directly measuring oil consumption of vehicle fuel
CN110081947A (en) * 2019-03-28 2019-08-02 中国第一汽车股份有限公司 A kind of Fuel Remained amount display control method based on road grade signal
CN112161663A (en) * 2020-09-29 2021-01-01 北京车和家信息技术有限公司 Vehicle residual oil quantity determination method, device and equipment and vehicle
CN113483850A (en) * 2021-06-28 2021-10-08 东风华神汽车有限公司 Method, device and equipment for calculating remaining oil endurance mileage and storage medium

Also Published As

Publication number Publication date
CN115151796A (en) 2022-10-04

Similar Documents

Publication Publication Date Title
WO2020259008A1 (en) State of charge correction method, device and system for battery, and storage medium
US20190213080A1 (en) Implementing Clone Snapshots In A Distributed Storage System
CN106772091B (en) Method and device for updating battery capacity value and terminal
CN112216886B (en) Method and device for estimating battery charging time
US11309717B2 (en) Apparatus and method for battery management
US20150095698A1 (en) Information processing device, fault avoidance method, and program storage medium
WO2022156583A1 (en) Method and apparatus for predicting average energy consumption of an electric vehicle
US11699910B2 (en) Battery state estimation
CN111050455B (en) Bulb tube current automatic calibration method and device, electronic equipment and storage medium
WO2023231023A1 (en) Oil volume display method and control apparatus
WO2023044874A1 (en) Method and device for determining display state of charge, and battery management chip
JP2023101509A (en) Semiconductor device and method for detecting remaining amount of battery
WO2016041398A1 (en) Method for storing battery level information of mobile terminal and mobile terminal
CN109922212A (en) A kind of prediction technique and device of period telephone traffic accounting
EP3861456A1 (en) Upgrade determinations of devices based on telemetry data
CN116885824A (en) Charging method, device, apparatus, storage medium, and program product
JP2018009963A (en) Simulation method and simulation device
CN108228679A (en) Time series data metering method and time series data metering device
WO2023044875A1 (en) Method and device for determining display state of charge and battery management chip
WO2022183976A1 (en) Coulombmeter-based method and system for measuring remaining electric quantity of battery
US20210362615A1 (en) Method, apparatus and computer program product for monitoring energy consumption in an electric vehicle charging network
WO2023197685A1 (en) Charging method and apparatus, electronic device, and computer-readable storage medium
WO2023051582A1 (en) Virtual resource information synchronization method, orchestrator, electronic device, and readable medium
WO2024093484A1 (en) Method for estimating degree of aging of internal resistance of battery cell, and electric vehicle and storage medium
CN115314045B (en) Method, system, device and medium for adaptive calibration of finger-dialing output interval

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22944351

Country of ref document: EP

Kind code of ref document: A1