Method, device, equipment, medium and product for determining fuel remaining amount of vehicle
Patent Information
- Application Number
- CN202610975271.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-01
- Publication Date
- 2026-09-25
AI Technical Summary
在实际使用过程中,油箱内燃油会受到车辆行驶状态、道路坡度、加减速和颠簸等因素影响而产生晃动,使液位传感器输出信号出现波动
[0024]本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。
Smart Images

Figure CN122812752A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle fuel detection technology, and in particular to a method, device, equipment, medium, and product for determining the remaining fuel level in a vehicle. Background Technology
[0002] Current vehicles typically use a fuel pump level sensor to detect the fuel level in the tank and determine the remaining fuel based on the sensor's output signal. In actual use, the fuel in the tank is affected by factors such as vehicle driving conditions, road incline, acceleration, deceleration, and bumps, causing fluctuations in the level sensor's output signal. For hybrid vehicles, frequent engine start-stop cycles and discontinuous fuel consumption make the remaining fuel display more prone to instability. Therefore, existing methods for determining remaining fuel have shortcomings in terms of refueling completion judgment, fuel level calculation accuracy, and display stability, potentially affecting the user's assessment of the vehicle's fuel status. Summary of the Invention
[0003] This application aims to at least partially address one of the technical problems in the related art.
[0004] Therefore, the first objective of this application is to propose a method for determining the remaining fuel level in a vehicle, which can improve the accuracy and stability of determining the remaining fuel level, reduce fuel level display jumps caused by fuel sloshing, instantaneous fluctuations of sensors, and discrete resistance value judgments, and make the fuel level display more stable and reliable.
[0005] The second objective of this application is to provide a device for determining the remaining fuel level in a vehicle.
[0006] The third objective of this application is to propose an electronic device.
[0007] The fourth objective of this application is to provide a computer-readable storage medium.
[0008] The fifth objective of this application is to provide a computer program product.
[0009] To achieve the above objectives, the first aspect of this application proposes a method for determining the remaining fuel level of a vehicle, comprising the following steps: in response to the vehicle being in a refueling state, acquiring detection information from the vehicle's fuel pump level sensor and fuel tank status information; in response to the detection information and fuel tank status information satisfying a preset vehicle refueling end condition, determining the total remaining fuel level of the vehicle based on the detection information and a preset fuel level mapping table, wherein the fuel level mapping table is used to characterize the continuous mapping relationship between fuel level and detection information; acquiring the cumulative fuel injection quantity of the vehicle's engine, and determining the current remaining fuel level of the vehicle based on the total remaining fuel level and the cumulative fuel injection quantity; determining the current theoretical remaining fuel level of the vehicle based on the detection information and the preset fuel level mapping table; in response to the current remaining fuel level and the current theoretical remaining fuel level satisfying a preset remaining fuel level self-check condition, using the current remaining fuel level as the target remaining fuel level of the vehicle.
[0010] According to the vehicle fuel level determination method of this application embodiment, firstly, in response to the vehicle being in a refueling state, the detection information of the vehicle's fuel pump level sensor and the vehicle's fuel tank status information are acquired. Then, in response to the detection information and fuel tank status information satisfying a preset vehicle refueling end condition, the total remaining fuel level of the vehicle is determined based on the detection information and a preset fuel level mapping table. The fuel level mapping table is used to characterize the continuous mapping relationship between fuel level and detection information. Next, the cumulative fuel injection quantity of the vehicle's engine is acquired, and the current remaining fuel level of the vehicle is determined based on the total remaining fuel level and the cumulative fuel injection quantity. Then, based on the detection information and the preset fuel level mapping table, the current theoretical remaining fuel level of the vehicle is determined. Finally, in response to the current remaining fuel level and the current theoretical remaining fuel level satisfying a preset remaining fuel level self-check condition, the current remaining fuel level is taken as the vehicle's target remaining fuel level. This improves the accuracy and stability of vehicle fuel level determination, reduces fuel level display jumps caused by fuel sloshing, instantaneous sensor fluctuations, and discrete resistance value judgments, making the fuel level display more stable and reliable.
[0011] In addition, the method for determining the remaining fuel level of a vehicle according to the above embodiments of this application may also have the following additional technical features: In one embodiment of this application, the preset vehicle refueling end condition includes: the information fluctuation of the detection information within a first preset time period is less than or equal to a preset information fluctuation threshold, and the fuel tank status information includes a fuel tank cap closed signal or a fuel nozzle pulled out signal.
[0012] In one embodiment of this application, the preset remaining oil self-check condition includes: the absolute value of the difference between the current remaining oil and the current theoretical remaining oil is less than the preset self-check oil threshold.
[0013] In one embodiment of this application, in response to the vehicle not being in a refueling state, the remaining fuel level of the vehicle after the last refueling is obtained, and the remaining fuel level of the vehicle after the last refueling is used as the total remaining fuel level.
[0014] In one embodiment of this application, in response to the fact that the current remaining fuel quantity and the current theoretical remaining fuel quantity do not meet the preset remaining fuel quantity self-check conditions, the current theoretical remaining fuel quantity is taken as the target remaining fuel quantity of the vehicle.
[0015] In one embodiment of this application, in response to the target remaining fuel level being greater than or equal to a preset full-fuel threshold, the preset total driving range is taken as the vehicle's current driving range; in response to the target remaining fuel level being less than the preset full-fuel threshold, the vehicle's operating status information is obtained; the vehicle's fuel consumption rate is determined based on the operating status information and a preset fuel consumption rate mapping table; and the vehicle's current driving range is calculated based on the fuel consumption rate and the target remaining fuel level.
[0016] To achieve the above objectives, a second aspect of this application provides a device for determining the remaining fuel level of a vehicle, comprising: an acquisition module, configured to acquire detection information from the vehicle's fuel pump level sensor and fuel tank status information in response to the vehicle being in a refueling state; a first determination module, configured to determine the total remaining fuel level of the vehicle based on the detection information and a preset fuel level mapping table in response to the detection information and fuel tank status information satisfying a preset vehicle refueling end condition; a second determination module, configured to acquire the cumulative fuel injection quantity of the vehicle's engine and determine the current remaining fuel level of the vehicle based on the total remaining fuel level and the cumulative fuel injection quantity; a third determination module, configured to determine the current theoretical remaining fuel level of the vehicle based on the detection information and the preset fuel level mapping table; and a self-checking module, configured to use the current remaining fuel level as the target remaining fuel level of the vehicle in response to the current remaining fuel level and the current theoretical remaining fuel level satisfying a preset remaining fuel level self-checking condition.
[0017] In the vehicle fuel remaining quantity determination device of this application embodiment, the acquisition module first acquires the detection information of the vehicle's fuel pump level sensor and the vehicle's fuel tank status information in response to the vehicle being in a fuel refueling state. Then, the first determination module, in response to the detection information and fuel tank status information satisfying a preset vehicle refueling end condition, determines the total remaining fuel quantity of the vehicle based on the detection information and a preset fuel quantity mapping table. The fuel quantity mapping table is used to characterize the continuous mapping relationship between fuel quantity and detection information. Next, the second determination module acquires the cumulative fuel injection quantity of the vehicle's engine and determines the current remaining fuel quantity of the vehicle based on the total remaining fuel quantity and the cumulative fuel injection quantity. Then, the third determination module determines the current theoretical remaining fuel quantity of the vehicle based on the detection information and the preset fuel quantity mapping table. Finally, the self-test module, in response to the current remaining fuel quantity and the current theoretical remaining fuel quantity satisfying a preset remaining fuel quantity self-test condition, uses the current remaining fuel quantity as the target remaining fuel quantity of the vehicle. This improves the accuracy and stability of determining the vehicle's remaining fuel level, reduces fuel level display jumps caused by fuel sloshing, instantaneous sensor fluctuations, and discrete resistance judgments, and makes the fuel level display more stable and reliable.
[0018] To achieve the above objectives, a third aspect of this application provides an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements any of the above-described methods for determining the remaining fuel level of a vehicle.
[0019] The electronic device according to the embodiments of this application implements any of the above-mentioned methods for determining the remaining fuel level of a vehicle when the processor executes a computer program. This improves the accuracy and stability of determining the remaining fuel level of a vehicle, reduces fuel level display jumps caused by fuel sloshing, instantaneous fluctuations of sensors, and discrete resistance value judgments, and makes the fuel level display more stable and reliable.
[0020] To achieve the above objectives, a fourth aspect of this application provides a computer-readable storage medium having a computer program stored thereon, which is executed by a processor to implement any of the above-described methods for determining the remaining fuel level of a vehicle.
[0021] According to the embodiments of this application, a computer-readable storage medium storing a computer program thereon implements any of the above-described methods for determining vehicle fuel balance when executed by a processor. This improves the accuracy and stability of determining vehicle fuel balance, reduces fuel level display jumps caused by fuel sloshing, sensor instantaneous fluctuations, and discrete resistance value judgments, and makes fuel level display more stable and reliable.
[0022] To achieve the above objectives, a fifth aspect of this application provides a computer program product, including a computer program that, when executed by a processor, implements any of the above-described methods for determining the remaining fuel level of a vehicle.
[0023] The computer program product according to the embodiments of this application implements any of the above-mentioned methods for determining the remaining fuel level of a vehicle when the computer program is executed, thereby improving the accuracy and stability of determining the remaining fuel level of a vehicle, reducing fuel level display jumps caused by oil sloshing, instantaneous fluctuations of sensors, and discrete resistance value judgments, and making the fuel level display more stable and reliable.
[0024] Additional aspects and advantages of this application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of this application. Attached Figure Description
[0025] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein: Figure 1 This is a flowchart illustrating a method for determining the remaining fuel level of a vehicle according to some embodiments of this application; Figure 2 This is a graph showing the oil quantity resistance relationship of a liquid level sensor according to some embodiments of this application; Figure 3 This is a continuous resistance point diagram of the oil level measurement range according to some embodiments of this application; Figure 4 This is a fuel consumption diagram for different vehicle speed conditions according to some embodiments of this application; Figure 5 This is a flowchart illustrating a method for determining the remaining fuel level of a vehicle according to a specific embodiment of this application. Figure 6 A block diagram of a vehicle fuel level determination device according to some embodiments of this application; and Figure 7 This is a schematic diagram of the structure of an electronic device according to some embodiments of this application. Detailed Implementation
[0026] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.
[0027] The following describes, with reference to the accompanying drawings, a method, apparatus, electronic device, computer-readable storage medium, and computer program product for determining vehicle fuel remaining quantity according to embodiments of this application.
[0028] like Figure 1 As shown, the method for determining the remaining fuel level in a vehicle according to an embodiment of this application may include the following steps: Step S1: In response to the vehicle being in a fuel filling state, acquire the detection information of the vehicle's fuel pump level sensor and the vehicle's fuel tank status information.
[0029] Specifically, the vehicle controller monitors in real time whether the vehicle has entered the refueling state. Preferably, it can acquire at least one of the following: fuel tank cap status signal, filler neck status signal, fuel nozzle insertion detection signal, and refueling status signal. When the vehicle controller detects that the fuel tank cap is open, the filler neck is in a refueling-ready state, the fuel nozzle insertion detection signal is valid, or other signals indicating refueling are valid, the vehicle controller can determine that the vehicle is in the refueling state.
[0030] Once the vehicle is determined to be in refueling mode, the vehicle controller acquires the detection information from the fuel pump level sensor. The fuel pump level sensor is located inside the vehicle's fuel tank and is used to detect changes in the fuel level. The detected information can be the real-time resistance value output by the fuel pump level sensor, or voltage information, level information, or other signals that characterize changes in the fuel level in the tank, converted from the real-time resistance value. Changes in the fuel level cause changes in the float position, which in turn causes changes in the sensor's output resistance. By continuously acquiring the resistance information from the fuel pump level sensor, the vehicle controller obtains the changes in the fuel level in the tank during the refueling process.
[0031] The vehicle controller synchronously acquires the vehicle's fuel tank status information. This information characterizes the state of the fuel tank and its refueling components during the refueling process, and may include the open or closed status of the fuel tank cap, the status of the filler neck, the detection status of whether the fuel nozzle is inserted, and the validity of the refueling status signal. By simultaneously acquiring the detection information from the fuel pump level sensor and the fuel tank status information, the vehicle controller can correlate changes in the fuel level in the tank with the actual refueling operation status, avoiding judgments based solely on a single sensor signal.
[0032] Step S2: In response to the detection information and fuel tank status information meeting the preset vehicle refueling end conditions, the total remaining fuel level of the vehicle is determined based on the detection information and a preset fuel level mapping table. The fuel level mapping table represents the continuous mapping relationship between fuel level and detection information. The preset vehicle refueling end conditions and the preset fuel level mapping table can be calibrated according to actual conditions.
[0033] Specifically, when the vehicle is in the refueling state, the vehicle controller continuously acquires detection information from the fuel pump level sensor and fuel tank status information, and determines whether the refueling process has ended based on the detection information and fuel tank status information. The detection information may include the real-time resistance value output by the fuel pump level sensor. Preferably, the fuel pump level sensor is a float-type level sensor, such as... Figure 2As shown, when the fuel level in the tank changes, the float position changes accordingly, which in turn causes a change in the resistance output of the fuel pump level sensor. For this type of sensor, when the fuel level in the tank increases, the sensor output resistance may decrease, and when the fuel level in the tank decreases, the sensor output resistance may increase.
[0034] The vehicle controller, based on the detection information at the end of refueling, queries a pre-set fuel level mapping table to determine the total remaining fuel level after refueling. This fuel level mapping table can be pre-established through calibration tests. Specifically, for example... Figure 3 As shown, the fuel level measurement range of the vehicle's fuel tank can be selected, and multiple continuous measurement points can be set within this range. Each measurement point corresponds to a fuel level value and the detection information of the fuel pump level sensor at that fuel level value. Taking the detection information as resistance information as an example, each measurement point can include a fuel level value and a corresponding resistance value. The vehicle controller stores the data corresponding to multiple measurement points to form a fuel level mapping table between fuel level and resistance value. Further, when the vehicle controller obtains the detection information at the end of refueling, it can first determine whether the detection information is consistent with a certain calibration detection value in the fuel level mapping table. If the detection information is consistent with a certain calibration detection value in the fuel level mapping table, the vehicle controller can directly determine the fuel level value corresponding to the calibration detection value as the total remaining fuel of the vehicle. When the detection information at the end of refueling is not completely consistent with any calibration detection value in the fuel level mapping table, the vehicle controller can determine the adjacent calibration interval where the detection information is located and perform interpolation calculation based on two calibration points within the adjacent calibration interval. For example, when the current detected information is resistance value, the vehicle controller can look up the two adjacent calibrated resistance values in the fuel level mapping table, and calculate the corresponding fuel level based on the fuel level values corresponding to the two calibrated resistance values. In this way, even if the current detected information is between two calibration points, the vehicle controller can obtain a relatively accurate fuel level value based on the continuous mapping relationship.
[0035] Furthermore, the vehicle controller can pre-calibrate a preset full-tank threshold based on the vehicle's rated effective fuel tank volume, fuel tank manufacturing tolerances, and fuel level fluctuations after the fuel filler nozzle shuts off. This preset full-tank threshold is used to determine whether the vehicle's fuel tank is full or nearly full. For example, the preset full-tank threshold can be set as a preset percentage of the rated effective volume. When the total remaining fuel, determined based on detection information and a fuel level mapping table, is greater than or equal to the preset full-tank threshold, the vehicle controller can determine that the vehicle is full. By setting a preset full-tank threshold, the impact of fuel tank manufacturing tolerances, fuel filler nozzle fluctuations, and instantaneous fluctuations in the fuel level sensor on full-tank determination can be reduced, avoiding frequent fluctuations in fuel level and range display near a full tank.
[0036] Furthermore, the vehicle controller can also pre-calibrate a minimum protection fuel level. The minimum protection fuel level represents the remaining fuel that is not included in the normal range calculation to ensure the fuel pump operates normally. The minimum protection fuel level can be determined based on the dead volume of the fuel tank and a preset protection margin; for example, the minimum protection fuel level can be the sum of the dead volume of the fuel tank and the preset protection margin. Taking resistance information as an example, the minimum protection fuel level can also be set with a corresponding protection resistance threshold. When the resistance detected by the fuel pump level sensor is greater than or equal to the protection resistance threshold, it can be considered that the remaining fuel in the fuel tank has reached near the minimum protection fuel level.
[0037] In one embodiment of this application, the preset vehicle refueling end condition includes: the fluctuation of the detected information within a first preset time period is less than or equal to a preset information fluctuation threshold, and the fuel tank status information includes a fuel tank cap closed signal or a fuel nozzle pulled out signal. The first preset time and the preset information fluctuation threshold can be calibrated according to actual conditions.
[0038] Specifically, when the vehicle is refueling, the vehicle controller continuously monitors changes in the fuel pump level sensor's readings. During refueling, the fuel level in the tank rises continuously, causing noticeable changes in the sensor's readings. Once refueling stops, the fuel level gradually stabilizes, and the sensor's readings remain relatively stable for a certain period. Therefore, by observing the fluctuations in the sensor readings over a first preset time period, it can be determined whether the refueling process has nearly ended.
[0039] The first preset time can be set according to the vehicle's fuel tank structure, the response speed of the level sensor, and the fuel sloshing during refueling. For example, the first preset time can be set to 30 seconds. The vehicle controller acquires the detection values of multiple fuel pump level sensors within 30 consecutive seconds and calculates the difference between the maximum and minimum values of the detected information during this time period, or the difference between the maximum and minimum fuel quantity values converted from the detected information during this time period. When this difference is less than or equal to a preset information fluctuation threshold, the detected information can be considered to have remained stable within this time period.
[0040] The preset information fluctuation threshold can be set according to the type of detected information. When the detected information is resistance information, the preset information fluctuation threshold can be the preset resistance fluctuation threshold; when the detected information has been converted into oil volume information, the preset information fluctuation threshold can be the preset oil volume fluctuation threshold. For example, the maximum change in oil volume within a first preset time period can be less than or equal to 0.3L as a criterion for judging the stability of the detected information. If the change in oil volume corresponding to the oil pump level sensor detection information does not exceed 0.3L, it can be considered that the oil level after filling has basically stabilized.
[0041] Simultaneously, the vehicle controller also needs to combine the fuel tank status information to determine whether the refueling operation has been completed. Specifically, when the vehicle controller receives a fuel tank cap closed signal or a fuel nozzle pulled out signal, it indicates that the user has completed the refueling operation, or the fuel nozzle has left the vehicle's refueling port. At this time, if the detection information from the fuel pump level sensor also remains stable within a first preset time, the vehicle controller can determine that the detection information and the fuel tank status information meet the preset vehicle refueling completion conditions.
[0042] Step S3: Obtain the cumulative fuel injection quantity of the vehicle's engine, and determine the current remaining fuel quantity of the vehicle based on the total remaining fuel quantity and the cumulative fuel injection quantity.
[0043] Specifically, after determining the total remaining fuel level after refueling, the vehicle controller uses this total remaining fuel level as a starting point to accumulate the actual fuel consumption of the engine during subsequent vehicle operation. The total remaining fuel level is then deducted based on the accumulated fuel consumption to obtain the vehicle's current remaining fuel level. Preferably, the vehicle controller can update the engine's cumulative fuel injection amount according to a preset cycle and simultaneously update the vehicle's current remaining fuel level.
[0044] Furthermore, when determining the current remaining fuel level based on the total remaining fuel level and the cumulative fuel injection quantity, the vehicle controller can impose a lower limit on the current remaining fuel level. Specifically, when the current remaining fuel level, obtained by subtracting the cumulative fuel injection quantity from the total remaining fuel level, is less than the minimum protection fuel level, the vehicle controller can adjust the current remaining fuel level to the minimum protection fuel level.
[0045] The cumulative fuel injection quantity of the engine is used to characterize the total amount of fuel injected into the cylinders during engine operation after the total remaining fuel quantity has been determined. The vehicle controller can obtain engine injection-related parameters from the engine controller and determine the cumulative fuel injection quantity based on these parameters. Engine injection-related parameters may include at least one of the following: single injection pulse width, number of injections, injection pressure, injector flow characteristics, fuel density, or fuel consumption signal output by the engine controller.
[0046] In one alternative approach, the engine controller can calculate the single injection quantity based on the single injection pulse width and injection pressure, and accumulate the single injection quantities over multiple injection cycles to obtain the engine's cumulative injection quantity. The vehicle controller can obtain this cumulative injection quantity from the engine controller, or it can obtain the single injection quantity and perform the cumulative calculation locally. If the injection quantity output by the engine controller is in mass units, the vehicle controller can convert it to volume units based on fuel density to maintain the same unit of measurement as the total remaining fuel.
[0047] For hybrid vehicles, the engine is not always running. When the vehicle is in pure electric drive mode or the engine is off, the engine does not inject fuel, and the vehicle controller maintains a constant cumulative fuel injection quantity. When the vehicle is in fuel-driven or hybrid drive mode and the engine is engaged, the vehicle controller updates the cumulative fuel injection quantity based on the actual fuel injection situation. Therefore, the cumulative fuel injection quantity reflects the actual fuel consumption of the vehicle under different hybrid operating conditions.
[0048] Step S4: Determine the vehicle's current theoretical remaining fuel quantity based on the detection information and the preset fuel quantity mapping table.
[0049] Specifically, during vehicle operation, the vehicle controller continues to acquire detection information from the fuel pump level sensor. This detection information characterizes the sensor output state corresponding to the current fuel level in the vehicle's fuel tank. The vehicle controller can then consult a pre-defined fuel level mapping table based on the currently acquired detection information to determine the corresponding fuel level and use this value as the vehicle's current theoretical remaining fuel level.
[0050] The current theoretical remaining fuel level is calculated based on real-time data from the fuel pump level sensor. This value differs from the current remaining fuel level estimated based on the engine's cumulative fuel injection; it is a theoretical value directly derived from the current fuel level in the tank. Obtaining both values provides a data basis for subsequently determining whether there are any discrepancies in the fuel level calculation.
[0051] In one alternative approach, the detected information is the real-time resistance value output by the fuel pump level sensor. The vehicle controller can collect the current resistance value according to a preset sampling period and match the current resistance value with the calibration resistance value in the fuel quantity mapping table. The fuel quantity mapping table stores multiple consecutive calibration points, each including a fuel quantity value and the corresponding fuel pump level sensor resistance value. Since the resistance value of the fuel pump level sensor can decrease as the fuel quantity in the fuel tank increases, the vehicle controller can determine the current theoretical remaining fuel quantity based on the inverse correspondence between resistance value and fuel quantity.
[0052] When the current detection information matches a calibration detection value in the fuel level mapping table, the vehicle controller can directly read the corresponding fuel level and determine it as the vehicle's current theoretical remaining fuel level. When the current detection information does not perfectly match any calibration detection value in the fuel level mapping table, the vehicle controller can first determine the adjacent calibration interval where the current detection information is located, and then perform interpolation calculations based on two calibration points within that adjacent calibration interval. Taking resistance information as an example, the vehicle controller can determine two calibration resistance values adjacent to the current resistance value in the fuel level mapping table and obtain the fuel level values corresponding to these two calibration resistance values respectively. Subsequently, the vehicle controller calculates the fuel level value corresponding to the current resistance value based on the positional relationship between the current resistance value and these two calibration resistance values.
[0053] Furthermore, after determining the current theoretical remaining fuel level based on the detection information and the fuel level mapping table, the vehicle controller can limit the current theoretical remaining fuel level. When the current theoretical remaining fuel level is greater than or equal to the preset full fuel threshold, or when the detection information from the fuel pump level sensor reaches the full fuel detection threshold, the vehicle controller can identify the vehicle as being in a full fuel state. When the current theoretical remaining fuel level is less than the minimum protection fuel level, or when the detection information from the fuel pump level sensor reaches the protection resistance threshold, the vehicle controller can correct the current theoretical remaining fuel level to the minimum protection fuel level.
[0054] Therefore, even if the current detection information is located between two consecutive calibration points, the vehicle controller can obtain the corresponding fuel level value according to the fuel level mapping table, without simply categorizing the current detection information into a wide resistance range. This makes the calculation result of the current theoretical remaining fuel level more continuous and reduces fuel level jumps caused by segmented judgments.
[0055] Step S5: In response to the current remaining fuel level and the current theoretical remaining fuel level meeting the preset remaining fuel level self-check conditions, the current remaining fuel level is set as the target remaining fuel level for the vehicle. The preset remaining fuel level self-check conditions can be calibrated according to actual conditions.
[0056] Specifically, the vehicle controller can compare the current remaining fuel level with the current theoretical remaining fuel level to determine whether the current remaining fuel level can be used as the final fuel balance result for the vehicle.
[0057] The current remaining fuel level is calculated based on the total remaining fuel after refueling and the engine's cumulative fuel injection. This value primarily reflects the reduction in fuel volume due to actual engine fuel consumption since the end of this refueling. The current theoretical remaining fuel level is determined based on the fuel pump level sensor's detection information and a preset fuel level mapping table. This value primarily reflects the theoretical remaining fuel quantity calculated from sensor detection information under the current fuel tank level.
[0058] Due to potential issues such as fuel sloshing, vehicle attitude changes, fuel tank structure variations, and momentary fluctuations in the fuel level sensor during actual vehicle operation, relying solely on real-time information from the fuel pump level sensor may lead to short-term fluctuations in the fuel level reading. In contrast, the current remaining fuel level calculated based on the engine's cumulative injection volume decreases according to the engine's actual fuel consumption, exhibiting better continuity and stability. Therefore, when the deviation between the current remaining fuel level and the theoretical remaining fuel level is within acceptable limits, the current remaining fuel level calculated based on the cumulative injection volume can be considered normal. In this case, the vehicle controller determines that the current remaining fuel level and the theoretical remaining fuel level meet the preset remaining fuel level self-check conditions and uses the current remaining fuel level as the vehicle's target remaining fuel level. The target remaining fuel level can serve as the base fuel level value for subsequent fuel level display, fuel balance calculation, or other fuel balance-related controls.
[0059] Furthermore, after determining the target remaining fuel level, the vehicle controller can limit the target remaining fuel level based on a preset full-fuel threshold and a minimum protection fuel level. When the target remaining fuel level is greater than or equal to the preset full-fuel threshold, the vehicle controller can determine the display status corresponding to the target remaining fuel level as full fuel. When the target remaining fuel level is less than or equal to the minimum protection fuel level, the vehicle controller can limit the target remaining fuel level to the minimum protection fuel level and use this status as the basis for subsequent fuel pump protection judgments. Therefore, the target remaining fuel level can not only serve as the result of fuel level calculation, but also as a basic parameter for fuel level display, range calculation, safety alarms, and fuel pump protection control, providing a data foundation for subsequent fuel level-related control logic.
[0060] In one embodiment of this application, the preset remaining fuel level self-check condition includes: the absolute value of the difference between the current remaining fuel level and the current theoretical remaining fuel level is less than a preset self-check fuel level threshold. The preset self-check fuel level threshold can be calibrated according to actual conditions.
[0061] Specifically, after obtaining the current remaining fuel quantity and the current theoretical remaining fuel quantity, the vehicle controller can calculate the difference between the two and take the absolute value of this difference. This absolute value characterizes the degree of deviation between the current remaining fuel quantity calculated based on the cumulative fuel injection quantity and the current theoretical remaining fuel quantity calculated based on the fuel pump level sensor information. The vehicle controller can compare this difference with a preset self-check fuel quantity threshold. When the difference is less than the preset self-check fuel quantity threshold, the vehicle controller determines that the current remaining fuel quantity and the current theoretical remaining fuel quantity meet the preset remaining fuel quantity self-check conditions. At this point, the deviation between the fuel quantity results obtained from the two different calculation methods is small, and the current remaining fuel quantity calculated based on the engine's cumulative fuel injection quantity is within the allowable error range.
[0062] The preset self-check fuel level threshold can be calibrated based on the vehicle's fuel tank structure, the accuracy of the fuel pump level sensor, the accuracy of the engine's fuel injection calculation, the degree of fuel sloshing during vehicle operation, and the accuracy requirements of the vehicle's remaining fuel level display. For example, the preset self-check fuel level threshold can be set to 3L.
[0063] This embodiment first responds to the vehicle being in a refueling state by acquiring the detection information from the vehicle's fuel pump level sensor and the vehicle's fuel tank status information. Then, responding to the detection information and fuel tank status information satisfying a preset vehicle refueling end condition, the total remaining fuel level of the vehicle is determined based on the detection information and a preset fuel quantity mapping table. The fuel quantity mapping table characterizes the continuous mapping relationship between fuel quantity and detection information. Next, the cumulative fuel injection quantity of the vehicle's engine is acquired, and the current remaining fuel level of the vehicle is determined based on the total remaining fuel level and the cumulative fuel injection quantity. Then, based on the detection information and the preset fuel quantity mapping table, the current theoretical remaining fuel level of the vehicle is determined. Finally, responding to the current remaining fuel level and the current theoretical remaining fuel level satisfying a preset remaining fuel level self-check condition, the current remaining fuel level is taken as the vehicle's target remaining fuel level. This improves the accuracy and stability of vehicle fuel level determination, reduces fuel level display jumps caused by fuel sloshing, instantaneous sensor fluctuations, and discrete resistance judgments, making the fuel level display more stable and reliable.
[0064] In some embodiments of this application, in response to the vehicle not being in a refueling state, the remaining fuel level of the vehicle after the last refueling is obtained, and the remaining fuel level of the vehicle after the last refueling is used as the total remaining fuel level.
[0065] Specifically, when the vehicle controller does not detect a fuel filling status signal, or when the fuel tank status information does not indicate fuel filling operations such as the fuel tank cap being opened or the fuel nozzle being inserted, it can be determined that the vehicle is not in a fuel filling state. When the vehicle is not in a fuel filling state, there is no new fuel filling process, nor is there a need to recalculate the total remaining fuel level after refueling. In this case, the vehicle controller can retrieve the remaining fuel level that was determined and stored after the last refueling and use this remaining fuel level as the total remaining fuel level for the current fuel level calculation.
[0066] The remaining fuel level after the last refueling can be determined by the vehicle controller based on the fuel pump level sensor's detection information and a preset fuel level mapping table. This fuel level value can be stored in the vehicle controller, instrument cluster controller, hybrid power control unit, or other onboard storage modules. Before the vehicle enters the refueling state again, this fuel level value can be used as the baseline fuel level for calculating the remaining fuel.
[0067] In some embodiments of this application, in response to the current remaining fuel quantity and the current theoretical remaining fuel quantity not meeting the preset remaining fuel quantity self-check conditions, the current theoretical remaining fuel quantity is taken as the target remaining fuel quantity of the vehicle.
[0068] Specifically, after obtaining the current remaining fuel quantity and the current theoretical remaining fuel quantity, the vehicle controller can compare the two to determine whether the current remaining fuel quantity calculated based on the engine's cumulative fuel injection quantity is still within a reliable range. When the difference is greater than or equal to a preset self-check fuel quantity threshold, the vehicle controller can determine that the current remaining fuel quantity and the current theoretical remaining fuel quantity do not meet the preset remaining fuel quantity self-check conditions. In this case, it indicates that there is a significant deviation between the current remaining fuel quantity calculated from the engine's cumulative fuel injection quantity and the current theoretical remaining fuel quantity converted from the information detected by the fuel pump level sensor.
[0069] The causes of this deviation may include cumulative errors in engine fuel injection quantity, fuel density conversion errors, injector parameter deviations, amplified cumulative errors due to prolonged vehicle operation, or other factors leading to inconsistencies between the estimated fuel quantity and the actual fuel tank level. Since the current theoretical remaining fuel quantity is determined based on real-time detection information from the fuel pump level sensor and a continuous fuel quantity mapping table, it reflects the current fuel tank level. Therefore, when the current remaining fuel quantity and the current theoretical remaining fuel quantity do not meet the preset remaining fuel quantity self-check conditions, the vehicle controller will use the current theoretical remaining fuel quantity as the vehicle's target remaining fuel quantity.
[0070] In some embodiments of this application, in response to a target remaining fuel level being greater than or equal to a preset full-fuel threshold, a preset total driving range is used as the vehicle's current driving range; in response to a target remaining fuel level being less than the preset full-fuel threshold, vehicle operating status information is obtained; the vehicle's fuel consumption rate is determined based on the operating status information and a preset fuel consumption rate mapping table; and the vehicle's current driving range is calculated based on the fuel consumption rate and the target remaining fuel level. The preset full-fuel threshold, the preset total driving range, and the preset fuel consumption rate mapping table can be calibrated according to actual conditions.
[0071] Specifically, after determining the target remaining fuel level of the vehicle, the vehicle controller can determine the vehicle's current driving range based on the target remaining fuel level. The current driving range characterizes the distance the vehicle can continue to travel with the current remaining fuel.
[0072] The vehicle controller can first compare the target remaining fuel level with a preset full-fuel threshold. This preset full-fuel threshold is used to determine whether the vehicle is in a full-fuel display state. This preset full-fuel threshold can be calibrated based on the vehicle's rated effective fuel tank volume, fuel tank manufacturing tolerances, and fuel level fluctuations after the refueling nozzle clicks off. For example, the preset full-fuel threshold can be set as a certain percentage of the rated effective fuel volume.
[0073] When the target remaining fuel level is greater than or equal to the preset full-fuel threshold, the vehicle controller uses the preset total driving range as the vehicle's current driving range. The preset total driving range is calibrated based on the fuel level when the vehicle is full and the preset combined fuel consumption rate. Furthermore, the preset total driving range can be automatically adjusted based on vehicle usage time and the vehicle's engine hardware status. Vehicle usage time can include cumulative vehicle usage duration, cumulative mileage, or cumulative engine runtime. The vehicle engine hardware status can include the engine injector operating status, engine combustion efficiency, engine aging level, or engine malfunction status. The vehicle controller can correct the preset combined fuel consumption rate based on the above information and update the preset total driving range according to the corrected combined fuel consumption rate, making the current driving range displayed when the fuel is full more consistent with the actual vehicle usage. When the target remaining fuel level reaches the full-fuel threshold, the vehicle can directly display the preset total driving range, thereby avoiding frequent changes in the driving range when the fuel is full due to slight sensor fluctuations.
[0074] When the target remaining fuel level is less than a preset full-fuel threshold, the vehicle controller acquires the vehicle's operating status information. This operating status information characterizes the vehicle's current or recent operating conditions and may include at least one of the following: vehicle drive mode, vehicle speed, engine speed, remaining battery charge, and road condition information. The vehicle drive mode may include fuel mode, electric mode, and hybrid mode, and the road condition information may include information such as urban roads, highways, or congested traffic. After acquiring the operating status information, the vehicle controller can query a preset fuel consumption rate mapping table to determine the fuel consumption rate under the vehicle's current operating conditions. Figure 4 As shown, the fuel consumption rate mapping table represents the correspondence between different operating status information and fuel consumption rates. Fuel consumption rate can be the fuel consumption per unit distance, for example, in L / km. If the current operating status information falls within a preset interval, the vehicle controller can determine the fuel consumption rate corresponding to that interval as the current fuel consumption rate. If the operating status information is between two calibration intervals, the vehicle controller can also interpolate based on the fuel consumption rates corresponding to adjacent calibration intervals to obtain the fuel consumption rate under the current operating condition. When the vehicle is in pure electric mode and the current fuel consumption rate is 0, the fuel consumption rate from the most recent fuel mode or hybrid mode can be used.
[0075] After determining the fuel consumption rate, the vehicle controller can calculate the vehicle's current driving range based on the target remaining fuel and the fuel consumption rate, as shown below:
[0076] in, This indicates the vehicle's current driving range. Indicates the target remaining fuel quantity. Indicates the minimum amount of protective oil. This indicates the fuel consumption rate under the vehicle's current operating conditions. Therefore, it avoids including the amount of fuel reserved for fuel pump protection in the driving range calculation, improving the accuracy of the driving range calculation.
[0077] Furthermore, the vehicle controller can also output safety alarm information based on the target remaining fuel level and current driving range. Specifically, the vehicle controller can preset at least two safe fuel level thresholds, including an early warning threshold and an emergency warning threshold. When the target remaining fuel level is less than or equal to the early warning threshold, or the current driving range is less than or equal to the early warning mileage threshold, the vehicle controller can control the instrument panel to output a low fuel level early warning message. For example, the instrument panel can display a yellow fuel level warning icon and provide a low-frequency alert. When the target remaining fuel level is less than or equal to the emergency warning threshold, or the current driving range is less than or equal to the emergency warning mileage threshold, the vehicle controller can control the instrument panel to output a low fuel level emergency warning message. For example, the instrument panel can display a red fuel level warning icon and provide a high-frequency alert. Furthermore, the vehicle controller can also send a low fuel level alert signal to the navigation system so that the navigation system can display information about nearby gas stations. The early warning threshold, emergency warning threshold, early warning mileage threshold, and emergency warning mileage threshold can all be set according to the vehicle's fuel tank capacity, overall fuel consumption, user safety driving needs, and vehicle calibration requirements.
[0078] Furthermore, when the target remaining fuel level is less than or equal to the emergency alarm threshold, the vehicle controller can output an engine operation restriction signal to limit engine start, reduce engine fuel supply requests, or request the hybrid control unit to switch to pure electric drive mode. When the vehicle is at low speed, parked, or when overall vehicle safety conditions permit, the vehicle controller can also control the engine to shut down to reduce the risk of the fuel pump running dry in low fuel conditions. For hybrid vehicles, when the vehicle enters the engine operation restriction state due to fuel pump protection, if the remaining battery charge is sufficient for vehicle operation, the vehicle can switch to pure electric drive mode. If the remaining battery charge is below a preset minimum charge threshold, the vehicle controller can output a warning message indicating that driving cannot continue or that immediate refueling is required. Thus, both fuel pump protection and overall vehicle driving safety can be ensured when fuel levels are low.
[0079] As a specific embodiment of this application, such as Figure 5 As shown, the method for determining the remaining fuel level in a vehicle may include the following steps: S101, Obtain the basic information required to determine the vehicle's remaining fuel level.
[0080] S102, determine whether the vehicle is in the fuel filling state. If yes, proceed to step S103; if no, proceed to step S106.
[0081] S103, acquire detection information and fuel tank status information during the fuel refueling process.
[0082] S104. Determine whether the detection information and fuel tank status information meet the preset vehicle refueling end conditions. If yes, proceed to step S105; otherwise, return to step S103.
[0083] S105, determine the total remaining fuel based on the detection information and the fuel quantity mapping table, and perform initialization processing after refueling.
[0084] S106: Obtain the remaining fuel level of the vehicle after the last refueling and use it as the total remaining fuel level.
[0085] S107 determines the current remaining fuel quantity based on the total remaining fuel quantity and the cumulative fuel injection quantity of the engine, and limits the effective range.
[0086] S108, determine the current theoretical remaining oil quantity based on the detection information and the oil quantity mapping table, and limit the effective range.
[0087] S109, determine whether the current remaining fuel level and the current theoretical remaining fuel level meet the preset remaining fuel level self-check conditions. If yes, proceed to step S110; if no, proceed to step S111.
[0088] S110, use the current remaining fuel quantity as the target remaining fuel quantity.
[0089] S111, take the current theoretical remaining oil quantity as the target remaining oil quantity.
[0090] S112, determine whether the target remaining fuel level is greater than or equal to the preset full fuel threshold, and whether the detection information has reached the full fuel detection threshold. If yes, proceed to step S113; if no, proceed to step S114.
[0091] S113 sets the preset total driving range as the current driving range and controls the instrument to display a full fuel level.
[0092] S114 determines the fuel consumption rate based on vehicle operating status information and calculates the current driving range.
[0093] S115, determine whether the safety alarm condition or the oil pump protection condition is met. If the safety alarm condition is met, output the corresponding low oil level alarm information and jump to step S116; if the oil pump protection condition is met, output the oil pump protection warning information or the engine operation restriction signal and jump to step S116; if neither is met, jump to step S116.
[0094] S116 controls the instrument display based on the target remaining fuel, current driving range, alarm status, and protection status.
[0095] In summary, this embodiment first responds to the vehicle being in a refueling state by acquiring the detection information from the vehicle's fuel pump level sensor and the vehicle's fuel tank status information. Then, responding to the detection information and fuel tank status information satisfying a preset vehicle refueling end condition, the total remaining fuel quantity of the vehicle is determined based on the detection information and a preset fuel quantity mapping table. The fuel quantity mapping table characterizes the continuous mapping relationship between fuel quantity and detection information. Next, the cumulative fuel injection quantity of the vehicle's engine is acquired, and the current remaining fuel quantity of the vehicle is determined based on the total remaining fuel quantity and the cumulative fuel injection quantity. Then, based on the detection information and the preset fuel quantity mapping table, the current theoretical remaining fuel quantity of the vehicle is determined. Finally, responding to the current remaining fuel quantity and the current theoretical remaining fuel quantity satisfying a preset remaining fuel quantity self-check condition, the current remaining fuel quantity is taken as the vehicle's target remaining fuel quantity. Therefore, the accuracy and stability of vehicle fuel quantity determination can be improved, reducing fuel quantity display jumps caused by fuel sloshing, instantaneous sensor fluctuations, and discrete resistance value judgments, making the fuel quantity display more stable and reliable.
[0096] Corresponding to the above embodiments, this application also proposes a device for determining the remaining fuel level in a vehicle.
[0097] like Figure 6 As shown, the vehicle fuel remaining quantity determination device 600 of this application embodiment includes: acquisition module 610, first determination module 620, second determination module 630, third determination module 640 and self-test module 650.
[0098] The system includes the following modules: Acquisition module 610, which acquires the detection information from the vehicle's fuel pump level sensor and the vehicle's fuel tank status information in response to the vehicle being in a fuel refueling state; First determination module 620, which determines the total remaining fuel quantity of the vehicle based on the detection information and a preset fuel quantity mapping table in response to the detection information and fuel tank status information meeting preset refueling end conditions; Second determination module 630, which acquires the cumulative fuel injection quantity of the vehicle's engine and determines the current remaining fuel quantity of the vehicle based on the total remaining fuel quantity and the cumulative fuel injection quantity; Third determination module 640, which determines the current theoretical remaining fuel quantity of the vehicle based on the detection information and the preset fuel quantity mapping table; and Self-check module 650, which uses the current remaining fuel quantity as the vehicle's target remaining fuel quantity in response to the current remaining fuel quantity and the current theoretical remaining fuel quantity meeting preset remaining fuel quantity self-check conditions.
[0099] According to one embodiment of this application, the preset vehicle refueling end condition includes: the information fluctuation of the detection information within a first preset time period is less than or equal to a preset information fluctuation threshold, and the fuel tank status information includes a fuel tank cap closed signal or a fuel nozzle pulled out signal.
[0100] According to one embodiment of this application, the preset remaining fuel level self-check condition includes: the absolute value of the difference between the current remaining fuel level and the current theoretical remaining fuel level is less than the preset self-check fuel level threshold.
[0101] According to one embodiment of this application, the vehicle fuel remaining quantity determination device 600 further includes a second acquisition module, which is used to acquire the remaining fuel quantity of the vehicle after the last refueling in response to the vehicle not being in a refueling state, and to use the remaining fuel quantity of the vehicle after the last refueling as the total remaining fuel quantity.
[0102] According to one embodiment of this application, the vehicle fuel remaining quantity determination device 600 further includes a fourth acquisition module, which is used to take the current theoretical remaining quantity as the target remaining quantity of the vehicle in response to the current remaining quantity and the current theoretical remaining quantity not meeting the preset remaining quantity self-check conditions.
[0103] According to one embodiment of this application, the vehicle fuel remaining quantity determination device 600 further includes a calculation module, configured to: in response to a target remaining fuel quantity being greater than or equal to a preset full-fuel threshold, use a preset total driving range as the vehicle's current driving range; in response to a target remaining fuel quantity being less than the preset full-fuel threshold, acquire vehicle operating status information; determine the vehicle's fuel consumption rate based on the operating status information and a preset fuel consumption rate mapping table; and calculate the vehicle's current driving range based on the fuel consumption rate and the target remaining fuel quantity.
[0104] It should be noted that the above-described embodiments and explanations of the beneficial effects of the method for determining the remaining fuel level of a vehicle also apply to the vehicle fuel level determination device in the embodiments of this application. To avoid redundancy, they will not be elaborated in detail here.
[0105] In summary, the vehicle fuel remaining quantity determination device according to the embodiments of this application firstly acquires the detection information of the vehicle's fuel pump level sensor and the vehicle's fuel tank status information in response to the vehicle being in a refueling state by an acquisition module. Then, in response to the detection information and fuel tank status information satisfying a preset vehicle refueling end condition, the first determination module determines the total remaining fuel quantity of the vehicle based on the detection information and a preset fuel quantity mapping table, wherein the fuel quantity mapping table is used to characterize the continuous mapping relationship between fuel quantity and detection information. Next, the second determination module acquires the cumulative fuel injection quantity of the vehicle's engine and determines the current remaining fuel quantity of the vehicle based on the total remaining fuel quantity and the cumulative fuel injection quantity. Then, the third determination module determines the current theoretical remaining fuel quantity of the vehicle based on the detection information and the preset fuel quantity mapping table. Finally, in response to the current remaining fuel quantity and the current theoretical remaining fuel quantity satisfying a preset remaining fuel quantity self-check condition by a self-check module, the current remaining fuel quantity is taken as the target remaining fuel quantity of the vehicle. This improves the accuracy and stability of determining the vehicle's remaining fuel level, reduces fuel level display jumps caused by fuel sloshing, instantaneous sensor fluctuations, and discrete resistance judgments, and makes the fuel level display more stable and reliable.
[0106] Corresponding to the above embodiments, this application also proposes an electronic device.
[0107] like Figure 7 As shown, the electronic device 700 of this application embodiment includes a memory 710, a processor 720, and a computer program stored in the memory and executable on the processor. The processor executes the program to implement any of the above-described methods for determining the remaining fuel in a vehicle.
[0108] The electronic device according to the embodiments of this application implements any of the above-mentioned methods for determining the remaining fuel level of a vehicle when the processor executes a computer program. This improves the accuracy and stability of determining the remaining fuel level of a vehicle, reduces fuel level display jumps caused by fuel sloshing, instantaneous fluctuations of sensors, and discrete resistance value judgments, and makes the fuel level display more stable and reliable.
[0109] Corresponding to the above embodiments, this application also proposes a computer-readable storage medium.
[0110] The computer-readable storage medium of this application embodiment stores a computer program that is executed by a processor to implement any of the above-described methods for determining the remaining fuel level of a vehicle.
[0111] According to the embodiments of this application, a computer-readable storage medium storing a computer program thereon implements any of the above-described methods for determining vehicle fuel balance when executed by a processor. This improves the accuracy and stability of determining vehicle fuel balance, reduces fuel level display jumps caused by fuel sloshing, sensor instantaneous fluctuations, and discrete resistance value judgments, and makes fuel level display more stable and reliable.
[0112] Corresponding to the above embodiments, this application also proposes a computer program product.
[0113] The computer program product of this application includes a computer program that, when executed by a processor, implements any of the above-described methods for determining vehicle fuel balance.
[0114] The computer program product according to the embodiments of this application implements any of the above-mentioned methods for determining the remaining fuel level of a vehicle when the computer program is executed, thereby improving the accuracy and stability of determining the remaining fuel level of a vehicle, reducing fuel level display jumps caused by oil sloshing, instantaneous fluctuations of sensors, and discrete resistance value judgments, and making the fuel level display more stable and reliable.
[0115] Specifically, in the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this application, "multiple" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0116] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0117] Although embodiments of this application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting this application. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of this application.
Claims
1. A method for determining the remaining fuel level in a vehicle, characterized in that, include: In response to the vehicle being in a refueling state, the detection information of the vehicle's fuel pump level sensor and the vehicle's fuel tank status information are acquired. In response to the detection information and fuel tank status information satisfying the preset vehicle refueling end conditions, the total remaining fuel of the vehicle is determined based on the detection information and the preset fuel quantity mapping table, wherein the fuel quantity mapping table is used to characterize the continuous mapping relationship between fuel quantity and detection information; Obtain the cumulative fuel injection amount of the vehicle's engine, and determine the current remaining fuel amount of the vehicle based on the total remaining fuel amount and the cumulative fuel injection amount; Based on the detection information and the preset fuel quantity mapping table, determine the current theoretical remaining fuel quantity of the vehicle; In response to the current remaining fuel level and the current theoretical remaining fuel level satisfying the preset remaining fuel level self-check condition, the current remaining fuel level is taken as the target remaining fuel level of the vehicle.
2. The method for determining the remaining fuel level of a vehicle according to claim 1, characterized in that, The preset vehicle refueling termination conditions include: The fluctuation of the detected information within a first preset time period is less than or equal to a preset information fluctuation threshold, and the fuel tank status information includes a fuel tank cap closed signal or a fuel nozzle pulled out signal.
3. The method for determining the remaining fuel level of a vehicle according to claim 1, characterized in that, The preset remaining oil level self-check conditions include: The absolute value of the difference between the current remaining oil level and the current theoretical remaining oil level is less than the preset self-test oil level threshold.
4. The method for determining the remaining fuel level of a vehicle according to claim 1, characterized in that, Also includes: In response to the vehicle not being in a refueling state, the remaining fuel level of the vehicle after the last refueling is obtained, and the remaining fuel level of the vehicle after the last refueling is used as the total remaining fuel level.
5. The method for determining the remaining fuel level of a vehicle according to claim 1, characterized in that, Also includes: In response to the fact that the current remaining fuel level and the current theoretical remaining fuel level do not meet the preset remaining fuel level self-check condition, the current theoretical remaining fuel level is taken as the target remaining fuel level of the vehicle.
6. The method for determining the remaining fuel level of a vehicle according to claim 1, characterized in that, Also includes: In response to the target remaining fuel level being greater than or equal to a preset full fuel threshold, the preset total driving range is used as the vehicle's current driving range. In response to the target remaining fuel level being less than a preset full fuel threshold, the vehicle's operating status information is obtained; The vehicle's fuel consumption rate is determined based on the operating status information and a preset fuel consumption rate mapping table. The current driving range of the vehicle is calculated based on the fuel consumption rate and the target remaining fuel.
7. A device for determining the remaining fuel level in a vehicle, characterized in that, include: The acquisition module is used to acquire the detection information of the vehicle's fuel pump level sensor and the vehicle's fuel tank status information in response to the vehicle being in a fuel filling state. The first determining module is used to determine the total remaining fuel of the vehicle based on the detection information and the fuel tank status information in response to the preset vehicle refueling end condition being met. The fuel quantity mapping table is used to characterize the continuous mapping relationship between fuel quantity and detection information. The second determining module is used to obtain the cumulative fuel injection quantity of the vehicle's engine, and determine the current remaining fuel quantity of the vehicle based on the total remaining fuel quantity and the cumulative fuel injection quantity. The third determining module is used to determine the current theoretical remaining fuel of the vehicle based on the detection information and the preset fuel quantity mapping table. The self-test module is used to take the current remaining fuel as the target remaining fuel of the vehicle in response to the current remaining fuel level and the current theoretical remaining fuel level meeting the preset remaining fuel level self-test conditions.
8. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the program to implement the method for determining the remaining fuel level of a vehicle as described in any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program is executed by the processor to implement the method for determining the remaining fuel level of a vehicle as described in any one of claims 1-6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the method for determining the remaining fuel in a vehicle as described in any one of claims 1-6.