Determination method for displaying oil quantity and related device
By switching the oil volume resistance treatment method under different operating conditions and combining fuel injection calibration, the problem of inaccurate oil volume caused by floating fuel oil liquid surface is solved, and the accuracy and real-time performance of oil volume display is achieved.
Patent Information
- Application Number
- CN202480005541.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2025-08-12
AI Technical Summary
In the prior art, the floating change of the fuel oil level under the condition of vehicle jitter causes the oil volume sensor to measure the resistance value inaccurately, resulting in insufficient determination of the residual oil volume, and prone to unexpected jumps.
By determining the operating status based on the vehicle driving data, using different oil volume resistance processing methods, switching logic in different states, combining the current displayed oil volume and fuel injection calibration, the target displayed oil volume is finally determined.
It improves the accuracy and real-time performance of oil quantity display, reduces the probability of misjudgment, and prevents unexpected fluctuations in oil quantity.
Smart Images

Figure CN120476293A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent automobile technology, and in particular to a method for determining the amount of oil to be displayed and a related device. Background Art
[0002] To help drivers plan their trips and avoid the inconvenience of running out of fuel, cars often feature a fuel gauge to display the vehicle's remaining fuel level. The remaining fuel level indicated by the fuel gauge is primarily determined by the resistance value measured by the fuel level sensor in the fuel tank. Because fuel exists in liquid form, the fuel level fluctuates when the vehicle shakes, causing significant fluctuations in the resistance value measured by the fuel level sensor. For example, the accuracy of this resistance value can be affected by repeated uphill and downhill driving, bumpy roads, and parking on slopes. This ultimately leads to inaccurate determination of the remaining fuel level and can easily cause unexpected fluctuations in the displayed fuel level.
[0003] How to accurately determine the expected displayed oil volume is a technical problem that people in this field urgently need to solve. Summary of the Invention
[0004] The present application provides a method for determining the displayed oil level and a related device, which can improve the accuracy of the displayed oil level calculation.
[0005] In the first aspect, the present application provides a method for determining the displayed oil amount, the method comprising: determining the operating state of the vehicle based on the vehicle's driving data; obtaining the oil amount resistance value of the vehicle in the operating state, the oil amount resistance value being used to indicate the measured oil amount of the vehicle; if the operating state is a first state, determining the target displayed oil amount of the vehicle based on the current displayed oil amount, the oil amount resistance value and the first fuel injection amount, the first state being used to indicate the vehicle during the operation of the engine, and the first fuel injection amount being the fuel injection amount collected during the operation of the vehicle's engine.
[0006] For example, the operating state includes a fixed oil quantity state and a variable oil quantity state. In the fixed oil quantity state, the oil quantity resistance value does not change, while in the variable oil quantity state, the oil quantity resistance value changes.
[0007] In the above scheme, the fuel level resistance value is determined differently under different operating states. Based on this, the embodiment of the present application can ensure the uniqueness of the fuel level resistance value in a certain operating state through the switching logic of the vehicle's operating state, thereby reducing the probability of misjudgment and improving the accuracy of the fuel level resistance value. In addition, when the operating state is the first state, the final displayed fuel level is not directly determined by the measured fuel level (i.e., the fuel level mapped according to the vehicle's real-time fuel level resistance value), but also requires a joint calibration based on the current displayed fuel level and the first injection amount. This not only improves the real-time performance of the fuel level display, but also improves the accuracy of the displayed fuel level calculation.
[0008] In one possible implementation, the driving data includes at least one of an identifier, a vehicle speed, or a wake-up time, where the identifier is a first identifier or a second identifier, the first identifier is used to indicate the operating status of the vehicle's engine, and the second identifier is used to indicate the refueling status of the vehicle.
[0009] Exemplarily, the driving data may include a separate identification, a separate vehicle speed, a separate wake-up time, a combination of identification and vehicle speed, a combination of identification and wake-up time, a combination of vehicle speed and wake-up time, and a combination of identification, vehicle speed and wake-up time, which will not be limited here.
[0010] In the above scheme, when determining the operating status of the vehicle, the embodiment of the present application does not need to obtain various judgment points or parameters to determine the operating condition of the vehicle because the identifier in the driving data is used to indicate the operating condition of the vehicle (for example, the operating condition of the vehicle engine, the refueling condition of the vehicle, etc.). Instead, the operating status of the vehicle can be quickly determined directly based on the identifier, which not only saves its computing resources, but also facilitates the subsequent improvement of the efficiency of the fuel quantity calculation.
[0011] In one possible implementation, the operating state of the vehicle is determined based on the vehicle's driving data, including: if the driving data indicates that the vehicle meets the conditions for entering a variable oil quantity state, the operating state of the vehicle is switched from a fixed oil quantity state to a variable oil quantity state, and the oil quantity resistance value corresponding to the fixed oil quantity state does not change; if the driving data indicates that the vehicle meets the conditions for exiting a variable oil quantity state, the operating state of the vehicle is switched from a variable oil quantity state to a fixed oil quantity state.
[0012] In the above scheme, the switching logic of the operating state can not only include switching from a fixed oil state to a variable oil state, but also from a variable oil state to a fixed oil state. In this way, the switching logic of the operating state can be used to ensure when to determine the oil resistance value and what kind of oil resistance value is used for subsequent calculations, thereby improving the accuracy of the determination of the oil resistance value. The oil resistance value will change according to a certain rule in a certain operating state, and there will be no oil resistance jitter. For example, when the operating state is the second state (that is, the vehicle is in the state of refueling), the oil resistance value will not increase, that is, the displayed oil level will not decrease. In other words, the present application can effectively reduce situations that do not meet user expectations through the switching logic of the operating state, such as the situation where the oil level increases after using the oil without refueling, or the situation where the oil level does not decrease for a long time after the vehicle is fully refueled.
[0013] In one possible implementation, the variable fuel state includes a first state; if the driving data indicates that the vehicle meets the conditions for entering the variable fuel state, the vehicle's operating state is switched from the fixed fuel state to the variable fuel state, including: if the driving data indicates that the vehicle meets the first condition, the vehicle's operating state is switched from the fixed fuel state to the first state, and the first condition includes that the engine is running.
[0014] In the above scheme, the embodiment of the present application can switch the vehicle's operating state from a fixed oil level state to a first state, thereby ensuring the uniqueness of the oil level resistance value during engine operation, thereby improving the real-time and accuracy of the oil level display.
[0015] In one possible implementation, the variable fuel level state includes a second state, which is used to indicate that the vehicle is in normal fuel usage; the method also includes: if the driving data indicates that the vehicle meets the second condition, the vehicle's operating state is switched from the fixed fuel level state to the second state, and the second condition includes that the vehicle meets the fuel usage condition and the vehicle speed is less than or equal to the first speed threshold.
[0016] In the above scheme, the embodiment of the present application can switch the vehicle's operating state from a fixed fuel level state to a second state, thereby ensuring the uniqueness of the fuel level resistance value during the vehicle refueling process, thereby improving the accuracy of the fuel level display.
[0017] In one possible implementation, the variable fuel level state includes a third state, which is used to indicate that the vehicle is in an abnormal fuel addition or reduction process; the method also includes: if the driving data indicates that the vehicle meets the third condition, the vehicle's operating state is switched from the fixed fuel level state to the third state, and the third condition includes the vehicle speed being a second speed threshold and the vehicle's wake-up time not reaching the time threshold.
[0018] In the above scheme, the embodiment of the present application can switch the vehicle's operating state from a fixed oil level state to a third state, thereby ensuring the uniqueness of the oil level resistance value during abnormal oil addition or reduction of the vehicle (for example, unexpected oil addition or reduction), thereby improving the accuracy of the oil level display.
[0019] In one possible implementation, the method further includes: if the operating state is the second state or the third state, determining the measured oil level as the target displayed oil level of the vehicle; the second state is used to indicate that the vehicle is in a normal refueling process, and the third state is used to indicate that the vehicle is in an abnormal refueling process.
[0020] In the above scheme, when the vehicle is in the second state or the third state, the position of the vehicle generally does not change, and the liquid level of the fuel in the fuel tank does not fluctuate abnormally, that is, the oil resistance value does not fluctuate abnormally in the second state or the third state. Therefore, the embodiment of the present application can directly determine the measured oil volume as the target displayed oil volume, thereby realizing the real-time, follow-up and anti-jump performance of the displayed oil volume calculation.
[0021] In one possible implementation, a target displayed fuel amount of the vehicle is determined based on the current displayed fuel amount, the fuel amount resistance value, and the first fuel injection amount, including: determining a weight assigned to the first fuel injection amount based on the current displayed fuel amount and the fuel amount resistance value, the weight being used to adjust the decreasing speed of the displayed fuel amount; determining a second fuel injection amount based on the first fuel injection amount and the weight; and using the difference between the current displayed fuel amount and the second fuel injection amount as the target displayed fuel amount of the vehicle.
[0022] In the above scheme, by assigning a weight to the first fuel injection amount, it is possible to adjust the decreasing speed of the displayed fuel amount under various different situations (for example, a full fuel scenario, the measured fuel amount decreasing too quickly or too slowly compared to the actual fuel amount, etc.). In other words, by assigning a weight to the first fuel injection amount, the second fuel injection amount can better represent the actual fuel usage in the first state, and thus the final target displayed fuel amount is closer to the actual remaining fuel amount, thereby improving the relative accuracy of the fuel amount display.
[0023] In one possible implementation, the currently displayed fuel quantity is the fuel quantity C0 displayed before the engine is running; based on the currently displayed fuel quantity and the fuel quantity resistance value, a weight assigned to the first fuel injection quantity is determined, including: determining the first fuel injection quantity collected at the i-th collection time during the operation of the engine as the fuel injection quantity A i , the oil resistance value obtained at the i-th collection time is determined as the resistance value R i , i is a positive integer less than or equal to N, N is the total number of times collected during the operation of the engine; based on the resistance value R i , determine the oil volume V i ; Based on the oil volume C0, determine the oil volume C i-1 , oil volume C i-1 The displayed oil volume calculated at the (i-1)th acquisition time; based on the oil volume C i-1 and oil volume V i , determine the injection amount A i The corresponding weight K i , until the weights corresponding to the N first injection quantities are obtained.
[0024] In the above solution, when the vehicle's operating state is determined to be the first state, it means that the engine is running at this time. In order to improve the real-time performance of the fuel level display, the embodiment of the present application can collect the first fuel injection amount multiple times during the engine operation. Taking the i-th collection time as an example, the embodiment of the present application does not directly map the real-time fuel level resistance value to the fuel level (i.e., the fuel level V i ) is determined as the target displayed oil volume, but the displayed oil volume (i.e. oil volume C) is calculated based on the oil volume mapped by the real-time oil volume resistance value and the displayed oil volume calculated at the last acquisition time. i-1 ) and give the injection amount A according to the comparison result. i The weight of is used to slow down the decreasing speed of the displayed oil volume, thereby effectively shortening the gap between the displayed oil volume and the actual oil volume, making the displayed oil volume closer to the actual oil volume, and thus improving the accuracy of the displayed oil volume corresponding to each collection time.
[0025] In one possible implementation, based on the resistance R i , determine the oil volume V i , including: based on M mapping relationships, find the resistance value R i The oil volume resistance range is a mapping relationship used to indicate that an oil volume resistance range corresponds to an oil volume, and M is a positive integer; the oil volume corresponding to the oil volume resistance range found is determined as the oil volume V i .
[0026] In the above scheme, when determining the measured oil volume corresponding to the i-th collection time (i.e., the oil volume V i ), the embodiment of the present application can quickly find the oil resistance value (ie, resistance R) obtained at the i-th collection time based on M mapping relationships. i ), the establishment of M mapping relationships can effectively improve the efficiency of determining the measured oil volume.
[0027] In a possible implementation, based on the oil volume C i-1 and oil volume V i , determine the injection amount A i The corresponding weight K i , including: If the oil volume C i-1 Less than oil volume V i , then the first weight is determined as the injection amount A i The corresponding weight K i , the first weight is a value greater than 0 and less than 1.
[0028] In the above scheme, when the oil volume C i-1 Less than oil volume V i , it means that the measured oil amount corresponding to the i-th acquisition time (for example, the measured oil amount in the full oil scenario) is too large. In this embodiment of the application, the injection amount A iAssign a weight less than 1 so that the injection amount after the weight is assigned is greater than the injection amount A i This can slow down the rate of decrease of the displayed oil level, thereby improving the real-time performance of the oil level display.
[0029] In a possible implementation, the method further includes: if the oil volume C i-1 Greater than oil volume V i , then the second weight is determined as the injection amount A i The corresponding weight K i , the second weight is a value greater than 1.
[0030] In the above scheme, when the oil volume C i-1 Greater than oil volume V i , it means that the measured oil volume corresponding to the i-th acquisition time is too small. In this embodiment, the fuel injection volume A i Assign a weight greater than 1 so that the fuel injection amount after the weight is assigned is greater than the fuel injection amount A i This can speed up the rate of decrease of the displayed oil level, thereby improving the real-time performance of the oil level display.
[0031] In a possible implementation, the method further includes: if the oil volume C i-1 Equal to oil volume V i , then the third weight is determined as the injection amount A i Corresponding weights, the third weight is the first weight, the second weight or 1.
[0032] In the above scheme, when the oil volume C i-1 Equal to oil volume V i , which means that the measured oil corresponding to the i-th acquisition time is equal to the displayed oil amount. In the embodiment of the present application, a weight can be flexibly selected from the first weight, the second weight or 1 as the injection amount A i The weight assigned is used to improve the real-time performance of oil quantity display.
[0033] In one possible implementation, the method further includes: waking up and initializing the vehicle, obtaining an initial resistance value and an initial displayed fuel level of the vehicle in a fixed fuel level state; switching the vehicle's operating state from the fixed fuel level state to a third state, determining an updated resistance value of the vehicle in the third state and an updated fuel level corresponding to the updated resistance value; and when leaving the third state, updating the initial resistance value based on the updated resistance value, and updating the initial displayed fuel level based on the updated fuel level.
[0034] In the above scheme, after the vehicle is awakened and initialized, the operating state of the vehicle can be switched to the third state. This means that the embodiment of the present application can refresh the vehicle for unexpected addition or subtraction of fuel after the vehicle is awakened and initialized, that is, update the initial resistance value to the updated resistance value, and update the initial displayed fuel level to the updated fuel level, thereby improving the accuracy of the currently displayed fuel level and the fuel level resistance value of the vehicle in the operating state, making the subsequently determined target displayed fuel level more accurate.
[0035] In the second aspect, the present application provides a processing device, including: a processing unit for determining the operating status of a vehicle based on the vehicle's driving data; an acquisition unit for acquiring the oil resistance value of the vehicle in the operating status, the oil resistance value being used to indicate the measured oil quantity of the vehicle; the processing unit is also used to determine the target displayed oil quantity of the vehicle based on the currently displayed oil quantity, the oil resistance value and the first injection quantity if the operating status is a first state, the first state being used to indicate the vehicle during the operation of the engine, and the first injection quantity being the injection quantity collected during the operation of the vehicle's engine.
[0036] In one possible implementation, the driving data includes at least one of an identifier, a vehicle speed, or a wake-up time, where the identifier is a first identifier or a second identifier, the first identifier is used to indicate the operating status of the vehicle's engine, and the second identifier is used to indicate the refueling status of the vehicle.
[0037] In one possible implementation, the processing unit is used to: if the driving data indicates that the vehicle meets the conditions for entering the variable fuel state, then switch the vehicle's operating state from the fixed fuel state to the variable fuel state, and the fuel resistance value corresponding to the fixed fuel state does not change; if the driving data indicates that the vehicle meets the conditions for exiting the variable fuel state, then switch the vehicle's operating state from the variable fuel state to the fixed fuel state.
[0038] In one possible implementation, the variable fuel level state includes a first state; the processing unit is used to: if the driving data indicates that the vehicle meets a first condition, switch the vehicle's operating state from a fixed fuel level state to the first state, and the first condition includes the engine being running.
[0039] In one possible implementation, the variable fuel level state includes a second state, which is used to indicate that the vehicle is in normal fuel usage; the processing unit is also used to: if the driving data indicates that the vehicle meets the second condition, then switch the vehicle's operating state from the fixed fuel level state to the second state, the second condition includes that the vehicle meets the fuel usage condition and the vehicle speed is less than or equal to the first speed threshold.
[0040] In one possible implementation, the variable fuel level state includes a third state, which is used to indicate that the vehicle is in an abnormal fuel addition or reduction process; the processing unit is further used to: if the driving data indicates that the vehicle meets the third condition, then switch the vehicle's operating state from the fixed fuel level state to the third state, the third condition including the vehicle speed being the second speed threshold and the vehicle's wake-up time not reaching the time threshold.
[0041] In one possible implementation, the processing unit is further used to: if the operating state is the second state or the third state, determine the measured oil volume as the target displayed oil volume of the vehicle; the second state is used to indicate that the vehicle is in a normal refueling process, and the third state is used to indicate that the vehicle is in an abnormal refueling process.
[0042] In one possible implementation, the processing unit is used to: determine a weight assigned to a first fuel injection amount based on a currently displayed fuel amount and a fuel resistance value, the weight being used to adjust a decreasing speed of the displayed fuel amount; determine a second fuel injection amount based on the first fuel injection amount and the weight; and use a difference between the currently displayed fuel amount and the second fuel injection amount as a target displayed fuel amount for the vehicle.
[0043] In a possible implementation, the currently displayed fuel quantity is the fuel quantity C0 displayed before the engine is running; the processing unit is used to: determine the first fuel injection quantity collected at the i-th collection time during the operation of the engine as the fuel injection quantity A i , the oil resistance value obtained at the i-th collection time is determined as the resistance value R i , i is a positive integer less than or equal to N, N is the total number of times collected during the operation of the engine; based on the resistance value R i , determine the oil volume V i ; Based on the oil volume C0, determine the oil volume C i-1 , oil volume C i-1 The displayed oil volume calculated at the (i-1)th acquisition time; based on the oil volume C i-1 and oil volume V i , determine the injection amount A i The corresponding weight K i , until the weights corresponding to the N first injection quantities are obtained.
[0044] In a possible implementation, the processing unit is configured to: search for the resistance value R based on the M mapping relationships. i The oil volume resistance range is a mapping relationship used to indicate that an oil volume resistance range corresponds to an oil volume, and M is a positive integer; the oil volume corresponding to the oil volume resistance range found is determined as the oil volume V i .
[0045] In a possible implementation, the processing unit is configured to: if the oil volume C i-1 Less than oil volume V i, then the first weight is determined as the injection amount A i The corresponding weight K i , the first weight is a value greater than 0 and less than 1.
[0046] In a possible implementation, the processing unit is further configured to: if the oil volume C i-1 Greater than oil volume V i , then the second weight is determined as the injection amount A i The corresponding weight K i , the second weight is a value greater than 1.
[0047] In a possible implementation, the processing unit is further configured to: if the oil volume C i-1 Equal to oil volume V i , then the third weight is determined as the injection amount A i Corresponding weights, the third weight is the first weight, the second weight or 1.
[0048] In one possible implementation, the processing unit is further used to: wake up and initialize the vehicle, and obtain the initial resistance value and the initial displayed fuel level of the vehicle in the fixed fuel level state; switch the vehicle's operating state from the fixed fuel level state to a third state, and determine the updated resistance value of the vehicle in the third state and the updated fuel level corresponding to the updated resistance value; when leaving the third state, update the initial resistance value based on the updated resistance value, and update the initial displayed fuel level based on the updated fuel level.
[0049] In a third aspect, the present application provides a computing device comprising a processor and a memory. The memory is coupled to the processor, and when the processor executes a computer program or computer instructions stored in the memory, the method described in any one of the first aspects above can be implemented. The computing device may also include a communication interface for communicating between the computing device and other computing devices. Exemplarily, the communication interface may be a transceiver, circuit, bus, module, or other type of communication interface.
[0050] In one possible implementation, the computing device may include:
[0051] Memory for storing computer programs or computer instructions;
[0052] The processor is configured to: determine the operating state of the vehicle based on the vehicle's driving data; obtain an oil quantity resistance value of the vehicle in the operating state, the oil quantity resistance value being used to indicate the measured oil quantity of the vehicle; and determine a target displayed oil quantity of the vehicle based on the currently displayed oil quantity, the oil quantity resistance value, and a first fuel injection quantity if the operating state is a first state, the first state being used to indicate the vehicle during engine operation, the first fuel injection quantity being the fuel injection quantity collected during engine operation of the vehicle.
[0053] It should be noted that the computer programs or computer instructions in the memory of this application may be pre-stored or downloaded from the Internet using the computing device and then stored. This application does not specifically limit the source of the computer programs or computer instructions in the memory. The coupling in the embodiments of this application is an indirect coupling or connection between devices, units, or modules, which may be electrical, mechanical, or other forms, and is used for information exchange between devices, units, or modules.
[0054] In a fourth aspect, the present application provides a vehicle comprising a fuel tank, an engine, a fuel level sensor and a computing device, wherein the fuel level sensor is used to collect the measured resistance value of the fuel level, the measured resistance value is used to determine the fuel level resistance value, and the computing device is used to execute any one of the methods of the above-mentioned first aspect.
[0055] For example, the vehicle also includes a generator, which can form an auxiliary power generation unit (range extender system, referred to as the range extender) with the above-mentioned engine. The main function of the range extender is to use fuel (e.g., gasoline) to provide additional electrical energy to the vehicle, that is, by charging the battery, extending the battery-powered vehicle time, thereby increasing the driving range. The main function of the engine is to use fuel to provide power to the vehicle.
[0056] In a fifth aspect, the present application provides a computer-readable storage medium, which stores a computer program or computer instructions, and the aforementioned computer program or computer instructions are executed by a processor to implement any method of the above-mentioned first aspect.
[0057] In a sixth aspect, the present application provides a computer program product. When the computer program product is executed by a processor, any method of the above-mentioned first aspect will be implemented.
[0058] The solutions provided in the second to sixth aspects are used to implement or cooperate with the methods provided in the first aspect, and therefore can achieve the same or corresponding beneficial effects as the methods corresponding to the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 is a schematic diagram of an oil level detection system provided in an embodiment of the present application;
[0060] Figure 2 This is a schematic diagram of a method for determining and displaying oil level provided in an embodiment of the present application. Figure 1 ;
[0061] Figure 3 This is a schematic diagram of an architecture for calculating and storing oil resistance values provided by an embodiment of the present application;
[0062] Figure 4A schematic diagram showing the relationship between the actual oil level, displayed oil level, and measured oil level provided in an embodiment of the present application;
[0063] Figure 5 This is a schematic diagram of a method for determining and displaying oil level provided in an embodiment of the present application. Figure 2 ;
[0064] Figure 6 This is a schematic diagram of an architecture for calculating, storing and displaying fuel levels provided by an embodiment of the present application;
[0065] Figure 7 This is a schematic diagram of a method for determining and displaying oil level provided in an embodiment of the present application. Figure 3 ;
[0066] Figure 8 This is a virtual structural diagram of a processing device provided in an embodiment of the present application;
[0067] Figure 9 It is a structural diagram of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0068] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application. Among them, in order to facilitate the clear description of the technical solutions in the embodiments of the present application, in the embodiments of the present application, "and / or" is used to describe the association relationship of the associated objects, indicating three relationships that can exist independently. For example, A and / or B can represent: A exists alone, B exists alone, or A and B exist at the same time. The description methods such as "at least one of a1, a2, ... and an" used in the embodiments of the present application include the situation where any one of a1, a2, ... and an exists alone, and also include any combination of any multiple of a1, a2, ... and an, each of which can exist alone; for example, the description method of "at least one of a, b and c" includes the situation where a is alone, b is alone, c is alone, a and b are combined, a and c are combined, b and c are combined, or abc are combined.
[0069] In this application, the terms "first," "second," and the like are used to distinguish between identical or similar items having substantially the same function or effect. It should be understood that "first," "second," and "nth" do not have a logical or temporal dependency, nor do they limit the quantity or order of execution. It should also be understood that although the following description uses the terms "first," "second," and the like to describe various elements, these elements should not be limited by these terms. These terms are simply used to distinguish one element from another.
[0070] At the same time, in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner to facilitate understanding.
[0071] In the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between the various embodiments are consistent and can be referenced by each other. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.
[0072] This application aims to improve the accuracy of the displayed fuel level calculation. Before introducing the specific implementation of this application, we will first introduce the fuel level detection system in the vehicle involved in the embodiment of this application. Figure 1 , Figure 1 Schematic diagram of an oil level detection system provided by an embodiment of the present application. The oil level detection system 100 may include an engine a, an oil level sensor b, and a computing device c.
[0073] For example, if the vehicle is a range-extended vehicle, then the engine a may be a range extender for generating electricity or may be an engine (ENG) in the range extender. If the above-mentioned vehicle is a hybrid vehicle, etc., then the above-mentioned engine a may be an engine for driving the vehicle. It will be understood that the introduction of the engine a in the vehicle here is only an example and does not constitute a limitation on the embodiments of the present application. In a specific implementation, the engine a may be any engine in the vehicle, and the embodiments of the present application do not limit this.
[0074] The fuel level sensor b can be used to collect a measured resistance value corresponding to the remaining fuel level in the vehicle's fuel tank. In this embodiment of the application, the resistance value uploaded by the fuel level sensor may be referred to as a measured resistance value, which can be used to determine the fuel level resistance value. The fuel level resistance value here refers to the resistance value obtained after processing (e.g., filtering) the measured resistance value.
[0075] The computing device c can be used to monitor the vehicle's operating status, determine the calculation method for the vehicle's displayed fuel level, and determine the final displayed fuel level. For example, the computing device c can be a vehicle domain controller (VDC) in the vehicle, or other controller in the vehicle, such as an engine controller specifically used to manage the engine a. Of course, when the vehicle is a range-extended vehicle, it can also be a range extender controller. Of course, the computing device c can also be a combination of multiple controllers in the vehicle, etc. This embodiment of the present application is not limited to this.
[0076] The vehicle's operating state may include a fixed oil level state and a variable oil level state. The fixed oil level state corresponds to a constant oil level, while the variable oil level state corresponds to a constant oil level. The variable oil level state in this application may include multiple states, for example, specifically a first state, a second state, and a third state. The first state is used to indicate that the vehicle is in the process of engine a operation; the second state is used to indicate that the vehicle is in the process of normal oil use; and the third state is used to indicate that the vehicle is in the process of abnormal oil addition or reduction (for example, unexpected oil addition or reduction). Unexpected oil addition or reduction here refers to forced oiling, oil extraction, or oil leakage when the vehicle's controller is unplugged or powered off.
[0077] It should be understood that when the operating state includes four states, namely, the fixed oil level state, the first state, the second state, and the third state, the vehicle can activate one of the four states at the same time, and the oil level resistance value corresponds to a value in the operating state. This can effectively ensure that when the oil level resistance value is used by the computing device c, a unique measured oil level can be determined, thereby reducing the probability of misjudgment.
[0078] It is understandable that the above Figure 1 The structure of the oil level detection system shown is merely an illustration and does not constitute a limitation to the embodiments of the present application.
[0079] In scenarios involving repeated uphill and downhill driving, bumpy roads, or parking on a slope after filling up and using the fuel tank, relying solely on fuel level resistance calibration can often result in unexpected fluctuations and increases and decreases in the fuel level. To address this, the present invention proposes a method and related device for determining the displayed fuel level, which effectively ensures the real-time, followable, and anti-jump performance of the displayed fuel level calculation, thereby improving the accuracy of the displayed fuel level calculation. The following is an exemplary introduction.
[0080] See Figure 2 , Figure 2 This is a schematic diagram of a method for determining and displaying oil level provided in an embodiment of the present application. Figure 1 .like Figure 2 As shown, the method can be executed by a computing device, which can be the above-mentioned Figure 1 The computing device c shown. The method may at least include steps S201 to S203:
[0081] Step S201: determining the running state of the vehicle based on the driving data of the vehicle.
[0082] For example, the driving data here may include at least one of an identifier, a vehicle speed, or a wake-up time. The identifier is a first identifier or a second identifier, the first identifier may be used to indicate the operating status of the vehicle's engine, and the second identifier may be used to indicate the refueling status of the vehicle.
[0083] If the driving data indicates that the vehicle meets the conditions for entering the fuel level variable state, the computing device may switch the operating state of the vehicle from the fuel level fixed state to the fuel level variable state.
[0084] For example, if the driving data indicates that the vehicle meets a first condition, the computing device may switch the operating state of the vehicle from a fixed fuel state to a first state, where the first condition may include the engine being running.
[0085] In other words, if the first identifier in the driving data is a signal indicating that the engine is running, the computing device may determine that the vehicle meets the first condition and switch the operating state of the vehicle to the first state.
[0086] For example, if the driving data indicates that the vehicle meets the second condition, the computing device may switch the vehicle's operating state from a fixed fuel level state to a second state, where the second condition includes that the vehicle meets the fuel usage condition and the vehicle speed is less than or equal to a first speed threshold (e.g., 1 km / h). The fuel usage condition may be: [the fuel level corresponding to the resistance value of the first judgment point (R0 point) - the fuel level corresponding to the resistance value of the second judgment point (R pressure relief point) > H1 | the fuel level corresponding to the resistance value of the first judgment point (R0 point) - the fuel level corresponding to the resistance value of the third judgment point (R stop point) > H1] && [the pressure relief valve is detected to be open | the fuel filler cap is open]. The first fuel level threshold H1 may be a threshold determined based on actual business conditions, for example, 5L.
[0087] The following describes the fuel usage judgment points based on the fuel usage conditions. The computing device needs to collect and record special sampling points. For example, when the vehicle speed is <= the first speed threshold, it is valid and participates in the refueling status judgment; when the vehicle speed is greater than the first speed threshold, the value is set to invalid and does not participate in the refueling status judgment; all fuel usage judgment points cannot be used to assign R.
[0088] 1) R0 (zero speed point): If the vehicle speed is less than or equal to the first speed threshold, R0 = R3; if the vehicle speed is greater than the first speed threshold, R0 is an invalid value; A(R0) refers to the oil volume corresponding to the zero speed point resistance value;
[0089] 2) R Stop: If the vehicle speed is less than or equal to the first speed threshold and the parking time reaches the parking time threshold (e.g., 8 seconds), R Stop = R1 at the 8th second; if the vehicle speed is greater than or equal to the first speed threshold and the parking time does not meet the parking time threshold, R Stop is invalid.
[0090] 3) R pressure relief: the value from the time the pressure relief valve closes to the time the pressure relief valve opens; if the vehicle speed is greater than the first vehicle speed threshold || the pressure relief valve is open, R pressure relief is an invalid value.
[0091] In other words, if the second identifier in the driving data is a signal indicating that the vehicle is refueling, and the vehicle speed is less than or equal to the first vehicle speed threshold, the computing device can determine that the vehicle meets the second condition and switch the vehicle's operating state to the second state.
[0092] For example, if the driving data indicates that the vehicle meets a third condition, the computing device may switch the vehicle's operating state from the fixed fuel level state to the third state. The third condition includes the vehicle's speed being at a second speed threshold (e.g., 0) and the vehicle's wake-up time not reaching a time threshold (e.g., 2.5 seconds). In other words, if the vehicle speed in the driving data is 0 and the wake-up time in the driving data is less than or equal to 2.5 seconds, the computing device determines that the vehicle meets the third condition and switches the vehicle's operating state to the third state.
[0093] If the driving data indicates that the vehicle meets the conditions for exiting the variable fuel level state, the computing device may switch the operating state of the vehicle from the variable fuel level state to the fixed fuel level state.
[0094] For example, if the driving data indicates that the vehicle meets the conditions for exiting the first state (i.e., the fourth condition), the computing device may switch the vehicle's operating state from the first state to the fixed fuel level state. The fourth condition may include the engine being stopped. In other words, if the first indicator in the driving data is a signal indicating that the engine has been stopped, the computing device may determine that the vehicle meets the conditions for exiting the first state and switch the vehicle's operating state to the fixed fuel level state.
[0095] For example, if the driving data indicates that the vehicle meets the conditions for exiting the second state (i.e., the fifth condition), the computing device may switch the vehicle's operating state from the second state to the fixed fuel level state. The fifth condition here may include the vehicle meeting the end-of-fuel condition or the vehicle's speed exceeding the first speed threshold. The end-of-fuel condition is: [pressure relief valve closed detected | fuel filler cap closed]. In other words, if the second indicator in the driving data is a signal indicating the end of refueling, or the vehicle's speed in the driving data exceeds the first speed threshold, the computing device may determine that the vehicle meets the conditions for exiting the second state and switch the vehicle's operating state to the fixed fuel level state.
[0096] For example, if the driving data indicates that the vehicle meets the conditions for exiting the third state (i.e., the sixth condition), the computing device may switch the vehicle's operating state from the third state to the fixed fuel level state. The sixth condition here may include the vehicle's speed not being equal to a second speed threshold (e.g., 0) or the vehicle's wake-up time reaching a time threshold (e.g., 2.5 seconds). In other words, if the vehicle speed in the driving data is not equal to 0, or the wake-up time in the driving data is greater than 2.5 seconds, the computing device may determine that the vehicle meets the conditions for exiting the third state and switch the vehicle's operating state to the fixed fuel level state.
[0097] Step S202: Obtain the oil resistance value of the vehicle in the running state.
[0098] The oil level resistance value can be used to indicate the measured oil level of the vehicle.
[0099] It is understood that the oil resistance value in different operating states is processed in different ways. In order to further understand how the computing device obtains the oil resistance value of the vehicle in each operating state, it can be exemplified by referring to Figure 3 , Figure 3 This is a schematic diagram of an architecture for calculating and storing oil resistance values provided by an embodiment of the present application. Figure 3 As shown, the embodiment of the present application includes four states, specifically including the oil level fixed state, the first state, the second state and the third state. Among them, the storage point refers to the resistance Rn and R 静存 Inconsistent time points, R 静存 It refers to the oil level resistance value stored in the memory (e.g., ROM), which is used to assign a value to R after waking up the vehicle; Rn refers to the resistance value determined when leaving the oil level variable state.
[0100] When the vehicle's operating state switches from a variable fuel state (first state, second state, or third state) to a fixed fuel state, the resistance value Rn will be reassigned by the resistance value R corresponding to the variable fuel state, and the assigned resistance value Rn will be stored in the memory.
[0101] Different fuel level variable states utilize different filtering methods. For example, in the present embodiment, the filtering method employed in the first state may be referred to as the first filtering method, the filtering method employed in the second state may be referred to as the second filtering method, and the filtering method employed in the third state may be referred to as the third filtering method. When the vehicle's operating state switches from a fixed fuel level state to a variable fuel level state, the fuel level resistance value is determined based on the filtering method corresponding to the state.
[0102] If the vehicle's operating state is the third state, the computing device may employ a third filtering method to obtain a resistance value R1. For example, the computing device may average 10 resistance values collected within one second to obtain a single resistance value R1 within one second. If the resistance value R1 satisfies the assignment condition corresponding to the third state, the computing device may determine the resistance value R1 as the fuel level resistance value of the vehicle in the third state.
[0103] The assignment condition here may be: V(R1)-V(Rn)>H2‖V(R1)-V(Rn)<-H2‖Rn is invalid. In other words, if the absolute value between the fuel level corresponding to resistance value R1 and the fuel level corresponding to resistance value Rn before entering the third state reaches the second fuel level threshold H2, or if resistance value Rn is invalid, the computing device may determine resistance value R1 as the fuel level resistance value of the vehicle in the third state. The second fuel level threshold H2 may be another threshold determined based on actual business conditions, for example, 15L.
[0104] If the vehicle's operating state is the second state, the computing device may use a second filtering method (for example, performing real-time sliding window filtering on the resistance value R1 within 3 seconds) to obtain the resistance value R3, and determine the resistance value R3 as the oil resistance value in the second state.
[0105] If the vehicle's operating state is the first state, the computing device may employ a first filtering method (e.g., performing a real-time sliding window filter on the resistance value R1 within 120 seconds) to obtain a resistance value R120, and determine the resistance value R120 as the fuel level resistance value in the first state. When switching from the fixed fuel level state to the first state, the embodiment of the present application further sets a slope threshold (e.g., 1Ω / min) to effectively prevent sudden changes in the displayed fuel level. In other words, the filter slope of the fuel level resistance change in the first state must be less than or equal to the slope threshold.
[0106] To ensure the implementation of the solution, the embodiment of the present application defaults the oil resistance value determined by the computing device in step S202 to be a valid value.
[0107] Step S203: If the operating state is the first state, a target displayed fuel level of the vehicle is determined based on the current displayed fuel level, the fuel level resistance value, and the first fuel injection level.
[0108] For example, if the operating state is the first state, the computing device may determine a weight for a first fuel injection amount based on the current displayed fuel amount and the fuel resistance value. The current displayed fuel amount here refers to the displayed fuel amount before the engine is running (e.g., 65L). The weight here can be used to adjust the rate at which the displayed fuel amount decreases. The computing device may then determine a second fuel injection amount based on the first fuel injection amount and the weight, and use the difference between the current displayed fuel amount and the second fuel injection amount as the target displayed fuel amount for the vehicle.
[0109] It is understandable that the embodiment of the present application can collect the fuel injection amount once during the operation of the engine, or can collect the fuel injection amount multiple times at a certain frequency (for example, 100 milliseconds) during the operation of the engine to improve the real-time performance of the fuel amount display. For ease of explanation, the embodiment of the present application can record the current displayed fuel amount as fuel amount C0, and determine the first fuel injection amount collected at the i-th collection time during the operation of the engine as fuel injection amount A. i , the oil resistance value obtained at the i-th collection time is determined as the resistance value R i , the measured oil volume determined at the i-th acquisition time is determined as the oil volume V i , the displayed oil volume calculated at the i-th collection time is determined as the oil volume C i , i is a positive integer less than or equal to N, and N is the total number of times collected during the operation of the engine.
[0110] In the embodiment of the present application, the computing device can be based on the resistance R i , determine the oil volume V i For example, the computing device may search for the resistance value R based on M mapping relationships. i The oil volume resistance range is the oil volume V i Wherein, a mapping relationship is used to indicate that an oil resistance range corresponds to an oil volume, and M is a positive integer.
[0111] For ease of understanding, please refer to Table 1, which is a resistance-fuel mapping table provided in an embodiment of the present application. Here, 10 mapping relationships can be used as an example, specifically including mapping relationship 1, mapping relationship 2, ..., mapping relationship 10. In this embodiment of the present application, the rated capacity of the vehicle fuel tank can be 52L, and the base oil can be 3L, as shown in Table 1:
[0112] Table 1
[0113]
[0114]
[0115] For example, if the resistance R i If the resistance value is 72Ω, the computing device can find the resistance value R from the 10 mapping relationships shown in Table 1. i The oil volume resistance range (for example, [70±2]) in which the oil volume is located can be determined as the oil volume V i .
[0116] It can be understood that in the first state, the oil volume V iIt does not directly affect the calculation of the displayed fuel volume, but compares the fuel volume mapped by the vehicle's real-time fuel resistance value with the current displayed fuel volume to continuously calibrate the gap between the displayed fuel volume and the actual fuel volume, that is, the injection volume A is calculated based on the comparison result. i Assign the corresponding weight to slow down the decline of the displayed oil volume. In other words, the weight K i The value is based on the oil volume C i-1 and oil volume V i Determined by the difference in oil volume between them.
[0117] Specifically, when the vehicle's operating state is the first state, the method for the computing device to determine the target displayed fuel level can refer to the following formulas (1)-(3):
[0118] C i =C0-E i (1)
[0119] E i =E i-1 +K i A i (2)
[0120]
[0121] Among them, C0 refers to the oil volume displayed before the engine is running; E i (i.e., the second injection amount) refers to the cumulative injection amount determined by the computing device at the i-th collection time, E0=0; the value range of e1 is (0,1), for example, 2 / 3; e2 can be a value greater than 1, for example, 3 / 2; here e3 can be e1, e2, or 1, and will not be limited here.
[0122] According to the above formula (3), if the oil volume C i-1 Less than oil volume V i , the computing device may determine the first weight (eg, e1) as the injection amount A i The corresponding weight K i , so that the oil volume calculated by the i-th collection time decreases more slowly; similarly, if the oil volume C i-1 Greater than oil volume V i , the computing device may determine the second weight (eg, e2) as the injection amount A i The corresponding weight K i , so that the oil volume calculated by the i-th collection time decreases faster. It is worth noting that if the oil volume C i-1 Equal to oil volume V i , the computing device may determine the third weight (eg, e3) as the injection amount A iThe corresponding weights. The third weight here can be the first weight, the second weight or 1.
[0123] When the third weight is the first weight, the above formula (3) can be simplified as follows:
[0124]
[0125] When the third weight is the second weight, the above formula (3) can be simplified to:
[0126]
[0127] In a possible implementation, in order to reduce the difference between the displayed oil level and the actual oil level more quickly, the oil level C i-1 Less than oil volume V i In the embodiment of the present application, it can also be divided into more detailed situations. Similarly, in the case of oil volume C i-1 Greater than oil volume V i The embodiment of the present application can also be divided into more detailed situations. For the convenience of explanation, the embodiment of the present application can use the five constants L1, L2, L3, L4 and L5 to calculate the oil volume C i-1 and oil volume V i The difference is divided into 5 intervals, which can be found in the following formula (6):
[0128]
[0129] Among them, f1 can be a weight greater than 0 and less than 1, f2 is equal to 1; the values of f3 and f4 are both greater than 1, and f3 is less than f4.
[0130] For example, L1 can be -100, L2 can be 0, L3 can be -1, L4 can be 5, and L5 can be 100. For details, please refer to Table 2, which is a schematic table of weight values provided in an embodiment of the present application. As shown in Table 2:
[0131] Table 2
[0132] <![CDATA[C i-1 -V i ]]> Range 1: [-100, 0] Range 2: (0,1] Range 3: (1,5] Range 4: (5,100] <![CDATA[K i ]]> <![CDATA[f1 (for example, 2 / 3)]]> <![CDATA[f2 (e.g., 1)]]> <![CDATA[f3 (e.g., 3 / 2)]]> <![CDATA[f4 (e.g., 3)]]>
[0133] According to the above description, the weight assigned to the first injection amount is used to slow down the decrease of the displayed fuel amount, so that the final calculated target displayed fuel amount is as close as possible to the actual fuel amount, thereby improving the real-time performance of the displayed fuel amount. Figure 4 , exemplarily describing the calculation process of weights, Figure 4 This is a schematic diagram of the relationship between the actual oil level, displayed oil level and measured oil level provided in the embodiment of the present application. Figure 4As shown, the oil level sensor can be a float type structure, that is, it is composed of a float w that automatically moves with the displacement of the liquid level, driving a mechanism with a built-in sliding resistor d. When the liquid level in the oil tank fluctuates, the position of the float w will change, and different resistance values will be output on the sliding resistor d. This resistance value can be used to indicate the measured oil level.
[0134] In the full fuel scenario, the actual fuel volume (denoted as V 实际 ) Take 69L as an example to display the oil volume (recorded as V 显 ) Take 67L as an example, Figure 4 The resistance value of the oil sensor shown in the figure also indicates the measured oil volume is 67L. 使用 ) is 6L, to achieve the actual oil volume being equal to the displayed oil volume, the following formula (1) can be referred to and the weight (denoted as K) is determined to be 2 / 3.
[0135] V 实际 -V 使用 =V 显 -V 使用 *K (7)
[0136] When the actual oil level is equal to the displayed oil level (or the difference is 1), a weight of 1 can be used to make the actual oil level and the displayed oil level decrease synchronously;
[0137] If the fuel injection signal plate value is too low for a long period of time during the adjustment using a weight of 1, resulting in a small fuel injection amount, the displayed fuel amount will decrease too slowly. In this case, it is necessary to speed up the displayed decrease. For example, if the actual fuel amount is 50L and the displayed fuel amount is 55L, then in order to achieve the actual fuel amount and the displayed fuel amount being equal when the user uses 10L of fuel, refer to the above formula (7) and determine the weight at this time to be 3 / 2.
[0138] If the difference between the displayed fuel level and the actual fuel level is too large (for example, greater than 5 L), the embodiment of the present application may also use a larger weight (for example, 3) to make the displayed fuel level drop faster.
[0139] In the embodiment of the present application, the method of determining the oil resistance value is different under different operating states. Therefore, the computing device can ensure the uniqueness of the oil resistance value under a certain operating state through the switching logic of the vehicle's operating state, reduce the probability of misjudgment, and improve the accuracy of the oil resistance value. In addition, when the operating state is the first state, the final displayed oil volume is not directly determined by the measured oil volume (i.e., the oil volume mapped out according to the real-time oil resistance value of the vehicle), but it is also necessary to adjust the downward trend of the injection volume based on the comparison between the measured oil volume determined in real time and the displayed oil volume, thereby effectively ensuring the real-time, followability, and anti-jumping properties of the displayed oil volume calculation. The embodiment of the present application can accurately display the usage that meets the user's expectations, and has a good display effect in up and down slopes, full oil scenes, etc.
[0140] Further, see Figure 5 , Figure 5 This is a schematic diagram of a method for determining and displaying oil level provided in an embodiment of the present application. Figure 2 .like Figure 5 As shown, the method can be executed by a computing device, which can be the above-mentioned Figure 1 The computing device c shown. The method may at least include steps S501 to S505:
[0141] Step S501: determining the running state of the vehicle based on the driving data of the vehicle.
[0142] It is understood that the target fuel level calculation strategy used varies depending on the vehicle's operating state. Therefore, after executing step S501, the computing device needs to determine the target fuel level calculation strategy based on the vehicle's operating state.
[0143] For example, if the operating state of the vehicle is the first state, the computing device, after executing step S501, continues to execute steps S502 to S503:
[0144] Step S502: Obtain the fuel resistance value of the vehicle in the first state.
[0145] Step S503 : determining a target displayed fuel level of the vehicle based on the current displayed fuel level, the fuel level resistance value, and the first fuel injection level.
[0146] The specific implementation of steps S501 to S503 can be found in the above Figure 2 The description of steps S201-S203 in the corresponding embodiment will not be repeated here.
[0147] For example, if the operating state of the vehicle is the second state or the third state, the computing device, after executing step S501, proceeds to execute steps S504-S505:
[0148] Step S504: Obtain the fuel resistance value of the vehicle in the second state or the third state.
[0149] The calculation device obtains the oil resistance value of the vehicle in the second state or the third state, which can be referred to above. Figure 3 The description in the corresponding embodiment will not be repeated here.
[0150] Step S505 : determining the measured oil level indicated by the oil level resistance value as the target displayed oil level of the vehicle.
[0151] In this embodiment of the present application, the measured oil volume indicated by the oil volume resistance value in the second state or the third state can be recorded as V(R). Specifically, when the operating state is the second state or the third state, the computing device determines the target displayed oil volume (recorded as V 显 ) can be found in the following formula (8):
[0152] V 显 =V(R) (8)
[0153] Among them, V 显 One-way or two-way filtering can be used to ensure that the oil volume changes meet the expectations of oil addition or reduction.
[0154] Generally speaking, the target displayed fuel level determined by the computing device is the fuel volume. When the vehicle's fuel gauge displays the fuel level in percentage, the computing device needs to convert the target displayed fuel level and then output it to a display device (e.g., a display screen) for display, so that the driver can more accurately determine the mileage and refueling time. Specifically, the method for converting the target displayed fuel level by the computing device can be referred to the following formula (9):
[0155]
[0156] Among them, the base oil is generally the amount of oil corresponding to the maximum resistance value, which is generally not less than 3L.
[0157] In this embodiment of the present application, the computing device uses the vehicle's operating state switching logic to ensure the uniqueness of the fuel level resistance value under different operating states, reducing the probability of misjudgment and improving the accuracy of the fuel level resistance value. Furthermore, the computing device can flexibly select a method for determining the target displayed fuel level based on the vehicle's operating state, thereby improving the accuracy of the target displayed fuel level under various operating states.
[0158] Further, see Figure 6 , Figure 6 This is a schematic diagram of an architecture for calculating, storing and displaying oil volume provided by an embodiment of the present application. Figure 6As shown, the embodiment of the present application includes four states, specifically including the oil level fixed state, the first state, the second state and the third state. Among them, the storage point indicates that V 显 With V 静存 Inconsistent time points, V 静存 Refers to the fuel level stored in the memory (e.g., ROM) and is used to supply V after waking up the vehicle. 显 Assignment.
[0159] When the first state is not activated (i.e. before the engine is running), V(old) is first assigned the value of the currently displayed fuel volume (i.e. C0 in the above formula (1)), and V 显 During this process, the measured oil quantity V(R) cannot be assigned a value; after activating the first state (i.e., during engine operation), the injection quantity is initially set to 0 (i.e., E0 = 0), and then, according to the above formula (3), the V corresponding to different acquisition times is updated in real time. 显 . Among them, the embodiment of the present application can be based on V 显 The changing rules of V 显 Every time 1L changes, it is assigned to V 静存 .
[0160] Among them, in the power generation scenario corresponding to the first state, V 显 The calculation result can only be reduced but not increased, V 显 The rate of change of V 显 The change pattern of needs to meet certain thresholds, for example:
[0161] 1) Driving power generation: When the power generation level is greater than or equal to 2, V 显 The rate of change does not exceed 0.3L / min;
[0162] 2) On-site power generation: V 显 The rate of change does not exceed 0.08L / min;
[0163] 3) Fuel replenishment: V 显 The rate of change does not exceed 0.08L / min;
[0164] 4) Discharge and recharge: V 显 The rate of change does not exceed 0.08L / min.
[0165] For example, when the running state of the vehicle is the second state, the target displayed oil level is the measured oil level V(R) indicated by the oil level resistance value.
[0166] In the second state, V 显 The change pattern of also needs to meet certain thresholds, for example:
[0167] 1) When the refueling condition starts, V显 The change rate does not exceed 60L / min; (refer to the fastest refueling speed of the refueling gun when the fuel tank is from empty to full)
[0168] 2) In the refueling scenario, V 显 The calculation result can only increase but not decrease, V 显 The rate of change of is non-negative.
[0169] For example, when the running state of the vehicle is the third state, the target displayed oil level may be the measured oil level V(R) indicated by the oil level resistance value.
[0170] Among them, in the third state, V 显 The change rule of V also needs to conform to certain rules. For example, when the unexpected oil addition and reduction condition begins, it is generally set to V 显 The rate of change does not exceed 20L / s, V 显 The rate of change can be positive or negative.
[0171] In order to effectively improve the accuracy of the displayed fuel level calculation, the embodiment of the present application can switch the vehicle's operating state from the fixed fuel level state to the third state when waking up and initializing the vehicle, and refresh the value stored in the memory. For easier understanding of this process, please refer to Figure 7 , Figure 7 This is a schematic diagram of a method for determining and displaying oil level provided in an embodiment of the present application. Figure 3 .like Figure 7 As shown, the method can be executed by a computing device, which can be the above-mentioned Figure 1 The computing device c shown. The method may at least include steps S701 to S703:
[0172] Step S701 , waking up and initializing the vehicle, and obtaining the initial resistance value and the initial displayed fuel level of the vehicle when the fuel level is fixed.
[0173] Step S702 : Switching the running state of the vehicle from the fixed fuel level state to the third state, determining the updated resistance value of the vehicle in the third state and the updated fuel level corresponding to the updated resistance value.
[0174] Step S703 , when leaving the third state, updating the initial resistance value based on the updated resistance value, and updating the initially displayed oil level based on the updated oil level.
[0175] See above Figure 3 and Figure 6After the computing device wakes up and initializes the vehicle, it can switch the vehicle's operating state to a fixed fuel level state. At this time, the computing device can determine the vehicle's resistance value in the fixed fuel level state as the initial resistance value (for example, 60Ω), and determine the displayed fuel level of the vehicle in the fixed fuel level state as the initial displayed fuel level (for example, 51L). Then, the computing device can refresh the vehicle's unexpected fuel addition or reduction, that is, switch the vehicle's operating state from the fixed fuel level state to the third state, and use the above-mentioned third filtering method to re-determine the vehicle's resistance value. If the re-determined resistance value meets the aforementioned assignment conditions, the re-determined resistance value can be used as the updated resistance value (for example, 123Ω). Based on the updated resistance value, the fuel level found in the M mapping relationships shown in Table 1 above can be determined as the updated fuel level corresponding to the updated resistance value (for example, 45L). Then, when leaving the third state, the computing device needs to store the updated resistance value and the updated fuel level in the memory together.
[0176] After the computing device completes step S703, it can continue to execute the above Figure 2 Step S201 in or Figure 5 In step S501, this means that the oil resistance value determined by the computing device in the running state is not determined based on the initial resistance value, but is determined based on the resistance value obtained after the initial resistance value is updated (i.e., the updated resistance value). Similarly, the currently displayed oil amount is also not determined based on the initial oil amount, but is determined based on the resistance value obtained after the initial oil amount is updated (i.e., the updated resistance value). This can effectively improve the accuracy of the currently displayed oil amount and the oil resistance value, making the subsequently determined target displayed oil amount more accurate.
[0177] The above mainly introduces the method for determining the amount of oil displayed provided in the embodiment of the present application. It can be understood that, in order to realize the corresponding functions mentioned above, each processing device or equipment includes a hardware structure and / or software module corresponding to the execution of each function. In combination with the units and steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0178] The embodiment of the present application can divide the processing device or equipment into functional modules according to the above method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0179] In the case of dividing each functional module according to each function, an embodiment of the present application also provides a processing device for implementing any of the above methods. For example, a processing device is provided including units (or means) for implementing each step in any of the above methods.
[0180] For example, see Figure 8 , Figure 8 This is a virtual structural diagram of a processing device provided in an embodiment of the present application. Figure 8 The processing device 800 shown may be a processing device for implementing any of the above-mentioned methods for determining the amount of oil to be displayed (e.g., Figure 1 The computing device c shown in FIG. 8 ) The processing device 800 may include a processing unit 801 and an acquisition unit 802.
[0181] The processing unit 801 is used to determine the operating status of the vehicle based on the vehicle's driving data; the acquisition unit 802 is used to obtain the oil resistance value of the vehicle in the operating status, and the oil resistance value is used to indicate the measured oil quantity of the vehicle; the processing unit 801 is also used to determine the target displayed oil quantity of the vehicle based on the currently displayed oil quantity, the oil resistance value and the first injection quantity if the operating status is the first status, the first status is used to indicate the vehicle during the operation of the engine, and the first injection quantity is the injection quantity collected during the operation of the vehicle's engine.
[0182] In one possible implementation, the driving data includes at least one of an identifier, a vehicle speed, or a wake-up time, where the identifier is a first identifier or a second identifier, the first identifier is used to indicate the operating status of the vehicle's engine, and the second identifier is used to indicate the refueling status of the vehicle.
[0183] In one possible implementation, the processing unit 801 is used to: if the driving data indicates that the vehicle meets the conditions for entering the variable fuel state, then the vehicle's operating state is switched from the fixed fuel state to the variable fuel state, and the fuel resistance value corresponding to the fixed fuel state does not change; if the driving data indicates that the vehicle meets the conditions for exiting the variable fuel state, then the vehicle's operating state is switched from the variable fuel state to the fixed fuel state.
[0184] In one possible implementation, the variable fuel level state includes a first state; the processing unit 801 is used to: if the driving data indicates that the vehicle meets the first condition, switch the vehicle's operating state from the fixed fuel level state to the first state, and the first condition includes that the engine is running.
[0185] In one possible implementation, the variable fuel level state includes a second state, which is used to indicate that the vehicle is in normal fuel usage; the processing unit 801 is also used to: if the driving data indicates that the vehicle meets the second condition, then switch the vehicle's operating state from the fixed fuel level state to the second state, the second condition includes that the vehicle meets the fuel usage condition and the vehicle speed is less than or equal to the first speed threshold.
[0186] In one possible implementation, the variable fuel level state includes a third state, which is used to indicate that the vehicle is in an abnormal fuel addition or reduction process; the processing unit 801 is also used to: if the driving data indicates that the vehicle meets the third condition, then switch the vehicle's operating state from the fixed fuel level state to the third state, the third condition includes the vehicle speed being the second speed threshold and the vehicle's wake-up time not reaching the time threshold.
[0187] In one possible implementation, the processing unit 801 is further used to: if the operating state is the second state or the third state, determine the measured oil level as the target displayed oil level of the vehicle; the second state is used to indicate that the vehicle is in a normal refueling process, and the third state is used to indicate that the vehicle is in an abnormal refueling process.
[0188] In one possible implementation, the processing unit 801 is used to: determine a weight assigned to a first fuel injection amount based on a currently displayed fuel amount and a fuel resistance value, the weight being used to adjust a decreasing speed of the displayed fuel amount; determine a second fuel injection amount based on the first fuel injection amount and the weight; and use the difference between the currently displayed fuel amount and the second fuel injection amount as a target displayed fuel amount for the vehicle.
[0189] In one possible implementation, the currently displayed fuel volume is the fuel volume C0 displayed before the engine is running; the processing unit 801 is used to: determine the first fuel injection volume collected at the i-th collection time during the operation of the engine as the fuel injection volume A i , the oil resistance value obtained at the i-th collection time is determined as the resistance value R i , i is a positive integer less than or equal to N, N is the total number of times collected during the operation of the engine; based on the resistance value R i , determine the oil volume V i ; Based on the oil volume C0, determine the oil volume C i-1 , oil volume C i-1 The displayed oil volume calculated at the (i-1)th acquisition time; based on the oil volume C i-1 and oil volume V i, determine the injection amount A i The corresponding weight K i , until the weights corresponding to the N first injection quantities are obtained.
[0190] In a possible implementation, the processing unit 801 is configured to: search for the resistance value R based on the M mapping relationships. i The oil volume resistance range is a mapping relationship used to indicate that an oil volume resistance range corresponds to an oil volume, and M is a positive integer; the oil volume corresponding to the oil volume resistance range found is determined as the oil volume V i .
[0191] In a possible implementation, the processing unit 801 is configured to: if the oil volume C i-1 Less than oil volume V i , then the first weight is determined as the injection amount A i The corresponding weight K i , the first weight is a value greater than 0 and less than 1.
[0192] In a possible implementation, the processing unit 801 is further configured to: if the oil volume C i-1 Greater than oil volume V i , then the second weight is determined as the injection amount A i The corresponding weight K i , the second weight is a value greater than 1.
[0193] In a possible implementation, the processing unit 801 is further configured to: if the oil volume C i-1 Equal to oil volume V i , then the third weight is determined as the injection amount A i Corresponding weights, the third weight is the first weight, the second weight or 1.
[0194] In one possible implementation, the processing unit 801 is further used to: wake up and initialize the vehicle, and obtain the initial resistance value and the initial displayed fuel level of the vehicle in the fixed fuel level state; switch the vehicle's operating state from the fixed fuel level state to a third state, and determine the updated resistance value of the vehicle in the third state and the updated fuel level corresponding to the updated resistance value; when leaving the third state, update the initial resistance value based on the updated resistance value, and update the initial displayed fuel level based on the updated fuel level.
[0195] Figure 8 The specific operations and beneficial effects of each unit in the processing device 800 can be found in the above Figure 2 The corresponding descriptions in possible embodiments thereof will not be repeated here.
[0196] Further, see Figure 9 , Figure 99 is a schematic diagram of the structure of a computing device provided in an embodiment of the present application. This computing device can be a computing device implementing the method of the above embodiment. The computing device 900 includes a processor 901, a memory 902, and a communication interface 903. The processor 901, the communication interface 903, and the memory 902 can be interconnected or connected via a bus 904.
[0197] Exemplarily, the memory 902 is used to store computer programs and data of the computing device 900. The memory 902 may include, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or portable read-only memory (CD-ROM).
[0198] The software or program codes required for the functions of all or part of the units of the terminal device in the above method embodiment are stored in the memory 902 .
[0199] In one possible implementation, if the software or program code required for the functions of some units is stored in the memory 902, the processor 901, in addition to calling the program code in the memory 902 to implement some functions, can also cooperate with other components (such as the communication interface 903) to jointly complete other functions described in the method embodiment (such as the function of receiving or sending data).
[0200] There may be multiple communication interfaces 903 for supporting the computing device 900 to communicate, such as receiving or sending data or signals.
[0201] Exemplarily, the processor 901 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. The processor 901 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a digital signal processor and a microprocessor, etc. The processor 901 may be used to read the program stored in the memory 902 and execute the above Figure 2 Operations performed by a computing device in a method of possible embodiments thereof.
[0202] Figure 9 The specific operations and beneficial effects of each unit in the computing device 900 shown can be found in the corresponding description in the above method embodiment, which will not be repeated here.
[0203] The present application also provides a vehicle, which includes a fuel tank, an engine, a fuel level sensor and a computing device. The fuel tank can be used to store fuel (for example, gasoline), and the engine can be the above-mentioned Figure 1 The engine a shown in the figure, the oil level sensor can be the above Figure 1 The oil level sensor b shown in the figure, the computing device can be the above Figure 1 A computing device c, which is used to execute the above Figure 2 and methods in possible embodiments thereof.
[0204] The present invention also provides a computer-readable storage medium that stores a computer program or computer instructions, which are executed by a processor to implement the above Figure 2 and methods implemented by a computing device in possible embodiments thereof.
[0205] For example, the computer-readable storage medium may include, but is not limited to, various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. It should be understood that the description of the computer-readable storage medium herein is merely illustrative and does not constitute a limitation on the embodiments of the present application.
[0206] The present application also provides a computer program product. When the computer program product is read and executed by a computer, the above Figure 2 In possible embodiments thereof, a method implemented by a computing device will be executed.
[0207] Illustratively, the computer program product includes, but is not limited to, a computer program, code, or electronic (digital) signal for transmitting computer program instruction code that can implement the method when executed on a computer. It should be understood that the description of the computer program product herein is merely illustrative and does not constitute a limitation on the embodiments of the present application.
[0208] In summary, in this solution, the embodiments of the present application can ensure the uniqueness of the fuel level resistance value in a certain operating state through the switching logic of the vehicle's operating state, thereby reducing the probability of misjudgment and improving the accuracy of the fuel level resistance value. In addition, when the operating state is the first state, the final displayed fuel level is not directly determined by the measured fuel level (i.e., the fuel level mapped according to the vehicle's real-time fuel level resistance value), but also requires a joint calibration based on the current displayed fuel level and the first injection amount. This not only improves the real-time performance of the fuel level display, but also improves the accuracy of the displayed fuel level calculation.
[0209] It should be understood that in the various embodiments of the present application, the size of the serial number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0210] It will also be understood that the term “comprise” (also known as “includes,” “including,” “comprises,” and / or “comprising”) when used in this specification specifies the presence of stated features, integers, steps, operations, elements, and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0211] It should also be understood that references throughout this specification to "one embodiment," "an embodiment," or "one possible implementation" mean that specific features, structures, or characteristics associated with that embodiment or implementation are included in at least one embodiment of the present application. Therefore, the appearance of "in one embodiment," "in an embodiment," or "one possible implementation" throughout this specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0212] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for determining the amount of oil displayed, characterized in that: include: Determining an operating state of the vehicle based on the vehicle's driving data; Obtaining an oil level resistance value of the vehicle in the running state, wherein the oil level resistance value is used to indicate a measured oil level of the vehicle; If the operating state is the first state, the target displayed oil amount of the vehicle is determined based on the currently displayed oil amount, the oil amount resistance value and the first oil injection amount. The first state is used to indicate the vehicle during the operation of the engine. The first oil injection amount is the oil injection amount collected during the operation of the engine of the vehicle.
2. The method according to claim 1, characterized in that The driving data includes at least one of an identifier, a vehicle speed, or a wake-up time. The identifier is a first identifier or a second identifier. The first identifier is used to indicate the operating status of the vehicle's engine, and the second identifier is used to indicate the refueling status of the vehicle.
3. The method according to claim 1 or 2, characterized in that The determining of the operating state of the vehicle based on the driving data of the vehicle includes: If the driving data indicates that the vehicle meets the conditions for entering the variable fuel state, the operating state of the vehicle is switched from the fixed fuel state to the variable fuel state, and the fuel resistance value corresponding to the fixed fuel state does not change; If the driving data indicates that the vehicle meets the condition for exiting the variable fuel state, the operating state of the vehicle is switched from the variable fuel state to the fixed fuel state.
4. The method according to claim 3, characterized in that The variable oil quantity state includes a first state; If the driving data indicates that the vehicle meets the condition for entering the fuel quantity variable state, switching the operating state of the vehicle from the fuel quantity fixed state to the fuel quantity variable state includes: If the driving data indicates that the vehicle meets a first condition, the operating state of the vehicle is switched from a fixed fuel level state to the first state, wherein the first condition includes that the engine is running.
5. The method according to claim 4, characterized in that The variable fuel level state includes a second state, wherein the second state is used to indicate that the vehicle is in a normal fuel consumption process; The method further comprises: If the driving data indicates that the vehicle meets a second condition, the operating state of the vehicle is switched from a fixed fuel state to the second state, where the second condition includes that the vehicle meets a fuel usage condition and the vehicle speed is less than or equal to a first speed threshold.
6. The method according to claim 4 or 5, characterized in that The variable fuel level state includes a third state, and the third state is used to indicate that the vehicle is in an abnormal fuel addition or reduction process; The method further comprises: If the driving data indicates that the vehicle satisfies a third condition, the operating state of the vehicle is switched from the fixed fuel state to the third state, wherein the third condition includes that the vehicle speed is a second speed threshold and the wake-up time of the vehicle does not reach a time threshold.
7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: If the operating state is the second state or the third state, the measured oil level is determined as the target displayed oil level of the vehicle; the second state is used to indicate that the vehicle is in a normal refueling process, and the third state is used to indicate that the vehicle is in an abnormal refueling process.
8. The method according to any one of claims 1 to 7, characterized in that The step of determining a target displayed fuel level of the vehicle based on the current displayed fuel level, the fuel level resistance value, and the first fuel injection level includes: determining a weight assigned to the first fuel injection amount based on the current displayed fuel amount and the fuel amount resistance value, wherein the weight is used to adjust a decreasing speed of the displayed fuel amount; determining a second fuel injection amount based on the first fuel injection amount and the weight; The difference between the current displayed fuel amount and the second fuel injection amount is used as the target displayed fuel amount of the vehicle.
9. The method according to claim 8, characterized in that The currently displayed oil level is the oil level C0 displayed before the engine is running; The determining of a weight assigned to the first fuel injection amount based on the currently displayed fuel amount and the fuel amount resistance value includes: The first fuel injection amount collected at the i-th collection time during the operation of the engine is determined as the fuel injection amount A i The oil resistance value obtained at the i-th collection time is determined as the resistance value R i , i is a positive integer less than or equal to N, N is the total number of times collected during the operation of the engine; Based on the resistance R i , determine the oil volume V i ; Based on the oil volume C0, determine the oil volume C i-1 , the oil volume C i-1 is the displayed oil volume calculated at the (i-1)th acquisition time; Based on the oil volume C i-1 With the oil volume V i , determine the injection amount A i The corresponding weight K i , until the weights corresponding to the N first injection quantities are obtained.
10. The method according to claim 9, characterized in that Based on the resistance R i , determine the oil volume V i ,include: Based on M mapping relationships, find the resistance value R i The oil resistance range in which it is located. A mapping relationship is used to indicate that an oil resistance range corresponds to an oil volume, and M is a positive integer; The oil volume corresponding to the oil resistance range found is determined as the oil volume V i .
11. The method according to claim 9 or 10, characterized in that Based on the oil amount C i-1 With the oil volume V i , determine the injection amount A i The corresponding weight K i ,include: If the oil volume C i-1 Less than the oil volume V i , then the first weight is determined as the injection amount A i The corresponding weight K i , the first weight is a value greater than 0 and less than 1.
12. The method according to claim 11, characterized in that The method further comprises: If the oil volume C i-1 Greater than the oil volume V i , then the second weight is determined as the injection amount A i The corresponding weight K i , the second weight is a value greater than 1.
13. The method according to claim 11 or 12, characterized in that The method further comprises: If the oil volume C i-1 Equal to the oil volume V i , then the third weight is determined as the injection amount A i Corresponding weights, the third weight is the first weight, the second weight or 1.
14. The method according to any one of claims 1 to 13, characterized in that The method further comprises: Performing wake-up initialization on the vehicle, and respectively obtaining an initial resistance value and an initial displayed fuel level of the vehicle when the fuel level is fixed; Switching the operating state of the vehicle from the fixed fuel level state to a third state, and determining an updated resistance value of the vehicle in the third state and an updated fuel level corresponding to the updated resistance value; When leaving the third state, the initial resistance value is updated based on the updated resistance value, and the initially displayed oil level is updated based on the updated oil level.
15. A processing device, characterized in that: include: a processing unit, configured to determine an operating state of the vehicle based on the driving data of the vehicle; an acquiring unit, configured to acquire an oil level resistance value of the vehicle in the running state, wherein the oil level resistance value is used to indicate a measured oil level of the vehicle; The processing unit is further configured to determine, if the operating state is a first state, a target displayed oil level of the vehicle based on the currently displayed oil level, the oil level resistance value, and a first oil injection level, wherein the first state is configured to indicate that the vehicle is in the process of engine operation, and the first oil injection level is the oil injection level collected during the operation of the vehicle's engine.
16. The processing device according to claim 15, characterized in that The driving data includes at least one of an identifier, a vehicle speed, or a wake-up time. The identifier is a first identifier or a second identifier. The first identifier is used to indicate the operating status of the vehicle's engine, and the second identifier is used to indicate the refueling status of the vehicle.
17. The processing device according to claim 15 or 16, characterized in that The processing unit is configured to: If the driving data indicates that the vehicle meets the conditions for entering the variable fuel state, the operating state of the vehicle is switched from the fixed fuel state to the variable fuel state, and the fuel resistance value corresponding to the fixed fuel state does not change; If the driving data indicates that the vehicle meets the condition for exiting the variable fuel state, the operating state of the vehicle is switched from the variable fuel state to the fixed fuel state.
18. The processing device according to claim 17, characterized in that The variable oil quantity state includes a first state; The processing unit is configured to: If the driving data indicates that the vehicle meets a first condition, the operating state of the vehicle is switched from a fixed fuel level state to the first state, wherein the first condition includes that the engine is running.
19. The processing device according to claim 18, characterized in that The variable fuel level state includes a second state, wherein the second state is used to indicate that the vehicle is in a normal fuel consumption process; The processing unit is further configured to: If the driving data indicates that the vehicle meets a second condition, the operating state of the vehicle is switched from a fixed fuel state to the second state, where the second condition includes that the vehicle meets a fuel usage condition and the vehicle speed is less than or equal to a first speed threshold.
20. The processing device according to claim 18 or 19, characterized in that The variable fuel level state includes a third state, and the third state is used to indicate that the vehicle is in an abnormal fuel addition or reduction process; The processing unit is further configured to: If the driving data indicates that the vehicle satisfies a third condition, the operating state of the vehicle is switched from the fixed fuel state to the third state, wherein the third condition includes that the vehicle speed is a second speed threshold and the wake-up time of the vehicle does not reach a time threshold.
21. The processing device according to any one of claims 15 to 20, characterized in that The processing unit is further configured to: If the operating state is the second state or the third state, the measured oil level is determined as the target displayed oil level of the vehicle; the second state is used to indicate that the vehicle is in a normal refueling process, and the third state is used to indicate that the vehicle is in an abnormal refueling process.
22. The processing device according to any one of claims 15 to 21, characterized in that The processing unit is configured to: determining a weight assigned to the first fuel injection amount based on the current displayed fuel amount and the fuel amount resistance value, wherein the weight is used to adjust a decreasing speed of the displayed fuel amount; determining a second fuel injection amount based on the first fuel injection amount and the weight; The difference between the current displayed fuel amount and the second fuel injection amount is used as the target displayed fuel amount of the vehicle.
23. The processing device according to claim 22, characterized in that The currently displayed oil level is the oil level C0 displayed before the engine is running; The processing unit is configured to: The first fuel injection amount collected at the i-th collection time during the operation of the engine is determined as the fuel injection amount A i The oil resistance value obtained at the i-th collection time is determined as the resistance value R i , i is a positive integer less than or equal to N, N is the total number of times collected during the operation of the engine; Based on the resistance R i , determine the oil volume V i ; Based on the oil volume C0, determine the oil volume C i-1 , the oil volume C i-1 is the displayed oil volume calculated at the (i-1)th acquisition time; Based on the oil volume C i-1 With the oil volume V i , determine the injection amount A i The corresponding weight K i , until the weights corresponding to the N first injection quantities are obtained.
24. The processing device according to claim 23, characterized in that The processing unit is configured to: Based on M mapping relationships, find the resistance value R i The oil resistance range in which it is located. A mapping relationship is used to indicate that an oil resistance range corresponds to an oil volume, and M is a positive integer; The oil volume corresponding to the oil resistance range found is determined as the oil volume V i .
25. The processing device according to claim 22 or 23, characterized in that The processing unit is configured to: If the oil volume C i-1 Less than the oil volume V i , then the first weight is determined as the injection amount A i The corresponding weight K i , the first weight is a value greater than 0 and less than 1.
26. The processing device according to claim 25, characterized in that The processing unit is further configured to: If the oil volume C i-1 Greater than the oil volume V i , then the second weight is determined as the injection amount A i The corresponding weight K i , the second weight is a value greater than 1.
27. The processing device according to claim 25 or 26, characterized in that The processing unit is further configured to: If the oil volume C i-1 Equal to the oil volume V i , then the third weight is determined as the injection amount A i Corresponding weights, the third weight is the first weight, the second weight or 1.
28. The processing device according to any one of claims 15 to 27, characterized in that The processing unit is further configured to: Performing wake-up initialization on the vehicle, and respectively obtaining an initial resistance value and an initial displayed fuel level of the vehicle when the fuel level is fixed; Switching the operating state of the vehicle from the fixed fuel level state to a third state, and determining an updated resistance value of the vehicle in the third state and an updated fuel level corresponding to the updated resistance value; When leaving the third state, the initial resistance value is updated based on the updated resistance value, and the initially displayed oil level is updated based on the updated oil level.
29. A computing device, characterized in that The computer comprises a processor and a memory, wherein the memory is used to store computer programs or computer instructions, and the processor is used to execute the computer programs or computer instructions stored in the memory, so that the computing device executes the method according to any one of claims 1 to 14.
30. A vehicle, characterized in that: The vehicle comprises a fuel tank, an engine, a fuel level sensor, and the computing device of claim 29, wherein: The oil level sensor is used to collect the measured resistance value of the oil level, and the measured resistance value is used to determine the oil level resistance value; The computing device is configured to execute the method according to any one of claims 1 to 14.
31. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program or computer instructions, and the computer program or computer instructions are executed by a processor to implement the method according to any one of claims 1 to 14.
32. A computer program product, characterized in that When the computer program product is executed by a processor, the method according to any one of claims 1 to 14 will be implemented.
Citation Information
Cited By
Oil quantity display method
CN121655643A