A fuel tank fuel level detection method, device, fuel level display method and fuel tank
By using a linear interpolation algorithm to process the fuel quantity parameters of the main and auxiliary fuel tanks in the saddle-shaped fuel tank, the problem of fluctuation in fuel quantity detection in the saddle-shaped fuel tank was solved, and more accurate fuel quantity monitoring and management were achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUIZHOU DESAY SV AUTOMOTIVE
- Filing Date
- 2023-08-28
- Publication Date
- 2026-04-28
AI Technical Summary
The saddle-shaped fuel tank exhibits issues with fluctuations and inaccurate data collection during fuel level detection at the saddle line, resulting in inaccurate fuel level display.
The fuel quantity parameters of the main fuel tank and the auxiliary fuel tank are obtained by linear interpolation algorithm. The fuel quantity is calibrated by nonlinear relationship. The fuel quantity calibration point of the main fuel tank is corrected by linear interpolation algorithm, and the total fuel quantity is calculated.
This effectively solves the problem of fluctuations in the fuel level acquisition process of the saddle-shaped fuel tank, reduces errors, and improves the accuracy and stability of fuel level monitoring.
Smart Images

Figure CN117109687B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of fuel tank technology, and in particular to a fuel tank fuel level detection method, equipment, fuel level display method, and fuel tank. Background Technology
[0002] The fuel gauge reads the resistance of the fuel pump and displays the fuel level based on the relationship between resistance and liters. The calculation of a car's average fuel consumption and driving range are closely related to the fuel level. Inaccurate fuel level readings will lead to inaccurate average fuel consumption and driving range, "misleading" the driver in judging the amount and time to refuel. In severe cases, it can cause the vehicle to break down due to low fuel, causing inconvenience and complaints from customers. Therefore, fuel level is a very important value for a vehicle.
[0003] In current automobiles, fuel tanks are generally classified into three types: single fuel tank, dual fuel tank, and saddle-shaped fuel tank. A single fuel tank typically uses a single fuel sensor to measure fuel level (V) by mapping the resistance value to the fuel volume in liters. A dual fuel tank typically uses two fuel sensors. The resistance value of fuel tank 1 is mapped to the fuel volume in liters to obtain V1, and the resistance value of fuel tank 2 is mapped to the fuel volume in liters to obtain V2. The final fuel level V = V1 + V2. A saddle-shaped fuel tank acts like a communicating vessel. When the fuel level is below the saddle line, if there is only one fuel sensor, due to its special structure, it can only detect the fuel level on one side of the saddle-shaped tank, leading to inaccurate fuel level readings. If there are two fuel sensors, one on each side below the saddle line, when the fuel level is above the saddle line, they cannot accurately reflect the fuel level, resulting in inaccurate fuel level readings. Summary of the Invention
[0004] This application aims to provide a method, device, method and tank for detecting fuel level in a fuel tank, which solves the problem of fluctuating fuel level when the fuel level is at the saddle line in a saddle-shaped fuel tank, and the problem of errors in fuel level acquisition in a saddle-shaped fuel tank.
[0005] This application provides a method for detecting the fuel level in a fuel tank, wherein the fuel tank is a saddle-shaped fuel tank, and the saddle-shaped fuel tank includes a main fuel tank and an auxiliary fuel tank; characterized in that the fuel level detection method includes:
[0006] S1: Obtain the first fuel quantity parameter and the second fuel quantity parameter of the main fuel tank and the auxiliary fuel tank respectively.
[0007] Preferably, the oil quantity parameter typically includes a target resistance value output by a sliding rheostat linked to the oil level sensor. The sliding rheostat is commonly used to measure the oil level in the tank; based on changes in the oil level, the rheostat outputs a corresponding resistance value. By monitoring the resistance value of the rheostat, the system can determine the oil quantity in the tank. The target resistance value is a pre-set resistance value corresponding to a specific oil quantity in a saddle-shaped oil tank. By comparing the output of the sliding rheostat with the target resistance value, the system can accurately determine the oil quantity.
[0008] S2: Calculate the first oil quantity of the main oil tank according to the first calibration relationship corresponding to the first oil quantity parameter; calculate the second oil quantity of the auxiliary oil tank according to the second calibration relationship corresponding to the second oil quantity parameter.
[0009] Preferably, the first calibration relationship is a first nonlinear relationship between the first oil quantity parameter calibration point and the first oil quantity;
[0010] The second calibration relationship is the second nonlinear relationship between the second oil quantity parameter calibration point and the second oil quantity.
[0011] Wherein, the first fuel quantity parameter calibration point N at the saddle line of the main fuel tank is greater than the second fuel quantity parameter calibration point M at the saddle line of the auxiliary fuel tank, and the second fuel quantity parameter calibration point M corresponds to the calibrated fuel quantity endpoint of the auxiliary fuel tank.
[0012] Preferably, the first nonlinear relationship and the second nonlinear relationship are factory calibration relationships based on the configuration of the saddle-shaped fuel tank of different models.
[0013] S3: Based on the first and second oil quantities, a linear interpolation algorithm is used to correct the oil quantity calibration point of the main oil tank and obtain the calibrated oil quantity of the main oil tank.
[0014] Preferably, step S3 specifically comprises:
[0015] S301: Obtain the first fuel quantity value Yi = (y_i) corresponding to the first fuel quantity parameter after the critical point of the main fuel tank saddle line. (N) y (N+1) , ..., y (N+n) ), i∈(1,n);
[0016] Used to collect the first oil quantity values corresponding to a series of first oil quantity parameters after the critical point of the main oil tank saddle line.
[0017] S302: Obtain the second fuel quantity value Y corresponding to the second fuel quantity parameter of the auxiliary fuel tank at the critical point of the saddle line. M ;
[0018] S303: Based on the first oil quantity value Yi and the second oil quantity value Y MThe calibrated fuel volume Y1 after the critical point of the main fuel tank saddle line is calculated; the calibrated fuel volume Y1 of the main fuel tank = (y (N) -Y M y (N+1) -Y M , ..., y (N+n) -Y M );
[0019] S304: The calibrated oil quantity of the main oil tank is Y = (Y2, Y1); Y2 is the first oil quantity corresponding to the first oil quantity parameter before the critical point of the main oil tank saddle line.
[0020] S4: Obtain the total oil volume in the tank based on the calibrated oil volume and the second oil volume.
[0021] Preferably, the total oil volume is equal to the rated oil volume Y of the main oil tank plus the second oil volume.
[0022] The calibrated oil quantity Y is the first oil quantity in the main oil tank, Y1 is the calibrated oil quantity after the saddle line critical point, and Y2 is the first oil quantity corresponding to the first oil quantity parameter before the saddle line critical point. The calibrated oil quantity Y is equal to the first oil quantity Y2 corresponding to the first oil quantity parameter before the saddle line critical point plus the calibrated oil quantity Y1 after the saddle line critical point. By adding the calibrated oil quantity Y of the main oil tank to the second oil tank, the total oil quantity of the oil tanks in the entire system is obtained. This can be used to accurately calculate the total oil quantity in the system, so as to accurately monitor and manage the oil quantity in the tanks.
[0023] Since the fuel level of a saddle-shaped fuel tank usually jumps at the saddle line during fuel level detection, the first and second fuel level parameters of the main and auxiliary fuel tanks in the saddle-shaped fuel tank are obtained separately. The fuel levels of the main and auxiliary fuel tanks are obtained according to the calibration relationship. The fuel level calibration point of the main fuel tank is corrected by a linear interpolation algorithm to obtain the calibrated fuel level of the main fuel tank. Finally, the total fuel level of the saddle-shaped fuel tank is obtained.
[0024] By employing a linear interpolation algorithm, no additional components or costs are required for the saddle-shaped fuel tank. Compared to existing technologies, the total fuel volume of the saddle-shaped fuel tank before the critical point of the saddle line is equal to the sum of the fuel volume of the main fuel tank and the fuel volume of the auxiliary fuel tank. The total fuel volume of the saddle-shaped fuel tank obtained at the sampling points at and after the critical point of the saddle line is equal to the fuel volume of the main fuel tank. The total fuel volume of the saddle-shaped fuel tank described in this invention is equivalent to the fuel volume of the dual fuel tanks. The total fuel volume of the fuel tank can be obtained by adding the two fuel level sensors of the main fuel tank and the auxiliary fuel tank of the saddle-shaped fuel tank.
[0025] This application also provides a fuel tank fuel level detection device, the device comprising:
[0026] The data acquisition module is used to acquire the first oil level parameter and the second oil level parameter corresponding to the first oil level sensor of the main oil tank and the second oil level sensor of the auxiliary oil tank, respectively.
[0027] The processing module uses a linear interpolation algorithm to process the fuel level in the main fuel tank to obtain the calibrated fuel level in the main fuel tank, and then uses the calibrated fuel level in the main fuel tank and the fuel level in the auxiliary fuel tank to obtain the total fuel level in the fuel tank.
[0028] The processing module further includes:
[0029] The first processing module is used to calculate the first oil quantity of the main oil tank according to the first calibration relationship corresponding to the first oil quantity parameter;
[0030] And a second processing module, used to calculate the second oil quantity of the auxiliary oil tank according to the second calibration relationship corresponding to the second oil quantity parameter.
[0031] This application also provides a fuel level display unit, which is communicatively connected to a fuel tank level detection device. The fuel tank level detection device obtains the total fuel level in the fuel tank using a fuel tank level detection method as described above, and updates the fuel level display unit at time intervals.
[0032] This application also provides a fuel tank, characterized in that the fuel tank is the same as the fuel tank used in the fuel tank level detection method described above.
[0033] This application also provides a computer-readable storage medium, characterized in that it stores a computer program, which, when executed by a processor, implements a fuel tank level detection method as described above.
[0034] In summary, this application provides a fuel tank level detection method, apparatus, fuel level display unit, and fuel tank. The method acquires a first fuel level parameter and a second fuel level parameter for the main fuel tank and the auxiliary fuel tank, respectively. Based on a first calibration relationship corresponding to the first fuel level parameter, the method calculates the first fuel level of the main fuel tank. Based on a second calibration relationship corresponding to the second fuel level parameter, the method calculates the second fuel level of the auxiliary fuel tank. Based on the first and second fuel levels, a linear interpolation algorithm is used to correct the fuel level calibration point of the main fuel tank, obtaining the calibrated fuel level of the main fuel tank. Based on the calibrated fuel level of the main fuel tank and the fuel level of the auxiliary fuel tank, the method obtains the total fuel level of the fuel tank.
[0035] Compared with the prior art, this application has at least the following beneficial effects:
[0036] In the process of displaying the fuel level in a saddle-shaped fuel tank, the calibration fuel level at the critical point of the saddle line of the main fuel tank is adjusted by adding a linear interpolation algorithm. This effectively solves the problem of fuel level fluctuations that occur during the fuel level acquisition process in the saddle-shaped fuel tank. In addition, the reasonable distribution of the main and auxiliary fuel tank sensors in the fuel tank can reduce the fuel level acquisition error, provide more reliable data for fuel level monitoring and management, and improve the accuracy and stability of the system in terms of fuel level status. Attached Figure Description
[0037] Figure 1 This is a flowchart of a fuel tank fuel level detection method as described in this application.
[0038] Figure 2 This application describes a saddle-shaped dual independent fuel tank.
[0039] Figure 3 shows the calibration points and calibration curves of the main fuel tank and auxiliary fuel tank according to an embodiment of this application.
[0040] Figure 4 The calibration points and calibration curves for the adjusted main oil tank as described in one embodiment of this application.
[0041] Figure 5 shows the adjusted calibration points and calibration curves of the main and auxiliary fuel tanks according to an embodiment of this application.
[0042] Figure 6 This is a flowchart of a fuel tank oil level detection device as described in this application. Detailed Implementation
[0043] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0044] Example 1:
[0045] like Figure 1 As shown, this application provides a method for detecting the fuel level in a fuel tank, wherein the fuel tank is a saddle-shaped fuel tank, and the saddle-shaped fuel tank includes a main fuel tank and an auxiliary fuel tank; characterized in that the fuel level detection method includes:
[0046] S1: Obtain the first fuel quantity parameter and the second fuel quantity parameter of the main fuel tank and the auxiliary fuel tank respectively.
[0047] Preferably, the first oil level parameter and the second oil level parameter are obtained by the first oil level sensor of the main oil tank and the second oil level sensor of the auxiliary oil tank, respectively.
[0048] Preferably, the oil level sensor can be an oil float.
[0049] Preferably, the oil quantity parameter typically includes a target resistance value output by a sliding rheostat linked to the oil level sensor. The sliding rheostat is commonly used to measure the oil level in the tank; based on changes in the oil level, the rheostat outputs a corresponding resistance value. By monitoring the resistance value of the rheostat, the system can determine the oil quantity in the tank. The target resistance value is a pre-set resistance value corresponding to a specific oil quantity in a saddle-shaped oil tank. By comparing the output of the sliding rheostat with the target resistance value, the system can accurately determine the oil quantity.
[0050] like Figure 2 As shown, in one embodiment, oil floats are correctly installed in a saddle-shaped oil tank. The first oil float is positioned above the main oil tank level when the oil level is below the saddle line, used to monitor the main oil tank level. The second oil float is positioned above the auxiliary oil tank level when the oil level is below the saddle line, used to monitor the auxiliary oil tank level, ensuring that the oil floats can accurately measure changes in oil level. Simultaneously, the oil floats are connected to a sliding rheostat, which is then connected to the circuit. Typically, the sliding rheostat has two fixed terminals and one sliding terminal. The resistance value of the sliding rheostat is read using a ohmmeter or analog input pin. This resistance value changes with the position of the sliding terminal, allowing monitoring of changes in the oil level. Furthermore, before use, the system can be calibrated to ensure an accurate correspondence between the resistance value and the oil level. This can be achieved by measuring the resistance values at different oil levels and establishing the relationship between oil level and resistance value.
[0051] In another embodiment, S101: Use an oil float as an oil level sensor; select a suitable oil float sensor and install it in the main oil tank and the auxiliary oil tank;
[0052] S102: Connect the sliding rheostat; connect the oil float sensor to the sliding rheostat. The position of the oil float sensor changes with the oil level, thereby adjusting the output resistance value of the sliding rheostat;
[0053] S103: Set target resistance value; Based on the size and design requirements of the oil tank, pre-set the target resistance value corresponding to a specific oil volume in the main oil tank and auxiliary oil tank; The target resistance value can be determined through experimentation or calculation.
[0054] S104: Monitor the output value of the sliding rheostat; connect to the output terminal of the sliding rheostat through the circuits and electronic devices in the system to monitor the change in the output resistance value in real time.
[0055] S105: Oil quantity parameter calculation; using the algorithm and logic in the system, the first oil quantity parameter of the main oil tank and the second oil quantity parameter of the auxiliary oil tank are calculated based on the output resistance value of the sliding rheostat and the set target resistance value.
[0056] S2: Calculate the first oil quantity of the main oil tank according to the first calibration relationship corresponding to the first oil quantity parameter; calculate the second oil quantity of the auxiliary oil tank according to the second calibration relationship corresponding to the second oil quantity parameter.
[0057] Preferably, the first calibration relationship is a first nonlinear relationship between the first oil quantity parameter calibration point and the first oil quantity;
[0058] The second calibration relationship is the second nonlinear relationship between the second oil quantity parameter calibration point and the second oil quantity.
[0059] Wherein, the first fuel quantity parameter calibration point N at the saddle line of the main fuel tank is greater than the second fuel quantity parameter calibration point M at the saddle line of the auxiliary fuel tank, and the second fuel quantity parameter calibration point M corresponds to the calibrated fuel quantity endpoint of the auxiliary fuel tank.
[0060] Preferably, the first nonlinear relationship and the second nonlinear relationship are factory calibration relationships based on the configuration of the saddle-shaped fuel tank of different models.
[0061] In one embodiment, as shown in Figure 3, before using the oil level sensor, the calibration points and calibration curves of the main oil tank and the auxiliary oil tank are obtained. These calibration points and curves can be provided by the oil tank supplier or measured independently. Based on the calibration points and curves of the main and auxiliary oil tanks, as shown in Figure 3(a), the first oil quantity parameter N, i.e., the calibrated oil quantity at the saddle line of the main oil tank, is 20.4L, corresponding to a sliding resistor resistance value of 96 ohms. As shown in Figure 3(b), the second oil quantity parameter M, i.e., the calibrated oil quantity at the saddle line of the auxiliary oil tank, is 24.6L, corresponding to a sliding resistor resistance value of 40 ohms. When the oil quantity in the saddle-shaped oil tank is below the saddle line, the total oil quantity is equal to the oil quantity in the main oil tank plus the oil quantity in the auxiliary oil tank.
[0062] In one embodiment, an optimal calibration point is selected to accurately estimate the first oil quantity parameter.
[0063] S201: Collect data; collect a series of initial oil quantity parameter values and corresponding initial oil quantity values. These data should cover measurement results under various ranges and conditions;
[0064] S202: Determine calibration points; select a set of calibration points from the collected data. Prioritize data points that are evenly distributed within the parameter range to ensure the accuracy of the calibration model;
[0065] S203: Establish a nonlinear model; use the selected calibration point to establish a nonlinear model between the first oil quantity parameter and the first oil quantity; different function forms, such as polynomial, exponential, logarithmic functions, etc., can be tried to find the model that best suits the data;
[0066] S204: Fitting the Model; Using a fitting algorithm, such as least squares, fit the model to the calibration point data. This will determine the parameters of the model so that it can most accurately describe the nonlinear relationships of the calibration point data;
[0067] S205: Validate the model; validate the accuracy and predictive ability of the established model using test data that were not involved in the fitting; compare the model's predicted first oil quantity with the actual measured value to evaluate the model's performance;
[0068] S206: Model Adjustment; Adjust and improve the model based on the validation results to enhance its accuracy and robustness. This may require trying different model structures, parameter configurations, or adjusting algorithms.
[0069] S3: Based on the first and second oil quantities, a linear interpolation algorithm is used to correct the oil quantity calibration point of the main oil tank and obtain the calibrated oil quantity of the main oil tank.
[0070] Preferably, step S3 specifically comprises:
[0071] S301: Obtain the first fuel quantity value Yi = (y_i) corresponding to the first fuel quantity parameter after the critical point of the main fuel tank saddle line. (N) y (N+1) , ..., y (N+n) ), i∈(1,n);
[0072] Used to collect the first oil quantity values corresponding to a series of first oil quantity parameters after the critical point of the main oil tank saddle line.
[0073] S302: Obtain the second fuel quantity value Y corresponding to the second fuel quantity parameter of the auxiliary fuel tank at the critical point of the saddle line. M ;
[0074] S303: Based on the first oil quantity value Yi and the second oil quantity value Y M The calibrated fuel volume Y1 after the critical point of the main fuel tank saddle line is calculated; the calibrated fuel volume Y1 of the main fuel tank = (y (N) -Y M y (N+1) -Y M , ..., y (N+n) -Y M );
[0075] S304: The calibrated oil quantity of the main oil tank is Y = (Y2, Y1); Y2 is the first oil quantity corresponding to the first oil quantity parameter before the critical point of the main oil tank saddle line.
[0076] In one embodiment, assume that the two calibration points before and after the critical point of the main fuel tank saddle line are A and B, respectively, and the critical point of the auxiliary fuel tank saddle line is C; the fuel quantity corresponding to point A is Y1, the fuel quantity corresponding to point B is Y2, and the fuel quantity corresponding to point C is Y3. Using a linear interpolation algorithm, the fuel quantity Y2' corresponding to the calibration point B after the critical point of the main fuel tank saddle line is calculated as Y2' = Y2 - Y3. It should be noted that the calibration fuel quantity of the main fuel tank is calculated by subtracting the second fuel quantity corresponding to the second fuel quantity parameter of the auxiliary fuel tank at the critical point of the saddle line from the calibrated fuel quantity of the main fuel tank starting from the critical point of the saddle line.
[0077] In one embodiment, such as Figure 4 As shown, Figure 4 The calibration points and calibration curves for the adjusted main fuel tank are shown. Series 1 corresponds to the original calibration curve of the main fuel tank in the saddle-shaped fuel tank, while Series 2 corresponds to the adjusted calibration curve of the main fuel tank in the saddle-shaped fuel tank. In the fuel quantity measurement of the saddle-shaped fuel tank, a linear interpolation algorithm is used. The calibration point of the main fuel tank in Series 1 starts from the critical point of the saddle line, and the corresponding fuel quantity changes at this calibration point, resulting in the calibration curve for Series 2.
[0078] S4: Obtain the total oil volume in the tank based on the calibrated oil volume and the second oil volume.
[0079] Preferably, the total oil volume is equal to the rated oil volume Y of the main oil tank plus the second oil volume.
[0080] The calibrated oil quantity Y is the first oil quantity in the main oil tank, Y1 is the calibrated oil quantity after the saddle line critical point, and Y2 is the first oil quantity corresponding to the first oil quantity parameter before the saddle line critical point. The calibrated oil quantity Y is equal to the first oil quantity Y2 corresponding to the first oil quantity parameter before the saddle line critical point plus the calibrated oil quantity Y1 after the saddle line critical point. By adding the calibrated oil quantity Y of the main oil tank to the second oil tank, the total oil quantity of the oil tanks in the entire system is obtained. This can be used to accurately calculate the total oil quantity in the system, so as to accurately monitor and manage the oil quantity in the tanks.
[0081] In one embodiment, as shown in Figure 5, Figures 5(a) and 5(b) show the adjusted calibration points and calibration curves for the main and auxiliary fuel tanks, respectively. In the fuel quantity acquisition of a saddle-shaped fuel tank, compared to existing technologies, the total fuel quantity of the saddle-shaped fuel tank before the saddle line calibration point is equal to the sum of the fuel quantity corresponding to the main fuel tank at that calibration point and the fuel quantity corresponding to the auxiliary fuel tank at that calibration point. The total fuel quantity at calibration points on and after the saddle line is equal to the fuel quantity corresponding to the main fuel tank at that calibration point. The saddle-shaped fuel tank of this invention has a total fuel quantity at each calibration point equal to the sum of the fuel quantity corresponding to the main fuel tank at that calibration point and the fuel quantity corresponding to the auxiliary fuel tank at the next calibration point, thus avoiding the problem of fuel quantity fluctuations on the saddle line and making data acquisition simple and convenient.
[0082] Example 2:
[0083] like Figure 6 As shown, this application also provides a fuel tank level detection device, the device comprising:
[0084] The data acquisition module is used to acquire the first oil level parameter and the second oil level parameter corresponding to the first oil level sensor of the main oil tank and the second oil level sensor of the auxiliary oil tank, respectively.
[0085] The processing module uses a linear interpolation algorithm to process the fuel level in the main fuel tank to obtain the calibrated fuel level in the main fuel tank, and then uses the calibrated fuel level in the main fuel tank and the fuel level in the auxiliary fuel tank to obtain the total fuel level in the fuel tank.
[0086] The processing module further includes:
[0087] The first processing module is used to calculate the first oil quantity of the main oil tank according to the first calibration relationship corresponding to the first oil quantity parameter;
[0088] And a second processing module, used to calculate the second oil quantity of the auxiliary oil tank according to the second calibration relationship corresponding to the second oil quantity parameter.
[0089] Example 3:
[0090] This application also provides a fuel level display unit, which is communicatively connected to a fuel tank level detection device. The fuel tank level detection device obtains the total fuel level in the fuel tank using a fuel tank level detection method as described above, and updates the fuel level display unit at time intervals.
[0091] In one embodiment, the fuel level in the fuel tank is measured using a fuel level sensor and a sliding rheostat, and converted into a resistance value. The fuel level sensor monitors changes in the fuel level in the tank in real time, while the sliding rheostat outputs a corresponding resistance value. The output data from the fuel level sensor and the sliding rheostat are collected by a data acquisition module, which is connected to a processing module to output the collected data. The processing module can be the vehicle's electronic control unit (ECU) or other designated controller. The processing module receives the resistance value from the sliding rheostat and compares and calculates it against a pre-set target resistance value to determine the actual fuel level. The processing module stores the actual fuel level in the tank in its internal memory and updates it at regular intervals. The user interface of the vehicle's dashboard displays the actual fuel level through a user interface that communicates with the processing module. The processing module periodically reads the actual fuel level value from its internal memory and sends it to the vehicle's dashboard for display. The vehicle's dashboard displays the current fuel level on the instrument panel based on the received actual fuel level value. The display can take the form of a number, a progress bar, or a fuel level icon; when the fuel level changes, the processing module updates the actual fuel level value in the internal memory and sends it to the vehicle's dashboard display for real-time updates.
[0092] Example 4:
[0093] This application also provides a fuel tank, which is the fuel tank used in the fuel tank level detection method described above.
[0094] In one embodiment, an oil float sensor and a sliding rheostat are installed in the oil tank to ensure their normal operation and interconnection; then, a target resistance value is set; according to the size and design requirements of the oil tank, a target resistance value corresponding to a specific oil level in the tank is preset; finally, oil level detection is performed: the oil float sensor outputs a resistance value based on the change in oil level; the resistance value output by the sliding rheostat is compared with the target resistance value to determine the oil level in the tank.
[0095] Example 5:
[0096] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the fuel level detection method for a fuel tank as described above.
[0097] In summary, this application provides a fuel tank level detection method, apparatus, fuel level display unit, and fuel tank. The method acquires first and second fuel level parameters for the main fuel tank and the auxiliary fuel tank, respectively. Based on a first calibration relationship corresponding to the first fuel level parameter, the first fuel level of the main fuel tank is calculated. Based on a second calibration relationship corresponding to the second fuel level parameter, the second fuel level of the auxiliary fuel tank is calculated. Based on the first and second fuel levels, a linear interpolation algorithm is used to correct the fuel level calibration point of the main fuel tank, obtaining the calibrated fuel level of the main fuel tank. Based on the calibrated fuel level of the main fuel tank and the fuel level of the auxiliary fuel tank, the total fuel level of the fuel tank is obtained. This effectively solves the fuel level fluctuation problem that occurs during the fuel level acquisition process of saddle-shaped fuel tanks, reduces fuel level acquisition errors, provides more reliable data for fuel level monitoring and management, and improves the accuracy and stability of the system's fuel level status.
[0098] Although exemplary embodiments have been described herein with reference to the accompanying drawings, it should be understood that the above exemplary embodiments are merely illustrative and are not intended to limit the scope of this application. Various changes and modifications can be made therein by those skilled in the art without departing from the scope and spirit of this application. All such changes and modifications are intended to be included within the scope of this application as claimed in the appended claims.
[0099] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0100] In the several embodiments provided in this application, it should be understood that the disclosed circuits can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed.
[0101] The various component embodiments of this application can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some modules according to the embodiments of this application. This application can also be implemented as an apparatus program (e.g., a computer program and computer program product) for performing part or all of the methods described herein. Such an implementation of this application can be stored on a computer-readable medium, or can be in the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
[0102] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0103] Although the description of this application has been made in conjunction with the specific embodiments described above, it will be apparent to those skilled in the art that many substitutions, modifications, and variations can be made based on the foregoing. Therefore, all such substitutions, modifications, and variations are included within the spirit and scope of the appended claims.
Claims
1. A method for detecting fuel level in a fuel tank, wherein the fuel tank is a saddle-shaped fuel tank, the saddle-shaped fuel tank comprising a main fuel tank and an auxiliary fuel tank; characterized in that, The oil quantity detection method includes: S1: Obtain the first fuel quantity parameter and the second fuel quantity parameter of the main fuel tank and the auxiliary fuel tank respectively; S2: Calculate the first oil quantity of the main oil tank according to the first calibration relationship corresponding to the first oil quantity parameter; calculate the second oil quantity of the auxiliary oil tank according to the second calibration relationship corresponding to the second oil quantity parameter; S3: Based on the first and second oil quantities, a linear interpolation algorithm is used to correct the oil quantity calibration point of the main oil tank and obtain the calibrated oil quantity of the main oil tank. S4: Obtain the total oil volume in the tank based on the calibrated oil volume and the second oil volume; Specifically, step S3 is as follows: S301: Obtain the first fuel quantity value Yi = (y_i) corresponding to the first fuel quantity parameter after the critical point of the main fuel tank saddle line. (N) y (N+1) , ..., y (N+n) ), i∈(1,n); S302: Obtain the second fuel quantity value Y corresponding to the second fuel quantity parameter of the auxiliary fuel tank at the critical point of the saddle line. M ; S303: Based on the first oil quantity value Y i Second oil quantity value Y M The calibrated fuel volume Y1 after the critical point of the main fuel tank saddle line is calculated; the calibrated fuel volume Y1 after the critical point of the main fuel tank saddle line = (y (N) -Y M y (N+1) -Y M , ..., y (N+n) -Y M ); S304: The calibrated oil quantity of the main oil tank is Y = (Y2, Y1); Y2 is the first oil quantity corresponding to the first oil quantity parameter before the critical point of the main oil tank saddle line.
2. The method for detecting fuel level in a fuel tank according to claim 1, characterized in that, Step S2 includes: The first calibration relationship is the first nonlinear relationship between the first oil quantity parameter calibration point and the first oil quantity; The second calibration relationship is the second nonlinear relationship between the second oil quantity parameter calibration point and the second oil quantity. Wherein, the first fuel quantity parameter calibration point N at the saddle line of the main fuel tank is greater than the second fuel quantity parameter calibration point M at the saddle line of the auxiliary fuel tank, and the second fuel quantity parameter calibration point M corresponds to the calibrated fuel quantity endpoint of the auxiliary fuel tank.
3. The method for detecting fuel level in a fuel tank according to claim 2, characterized in that, Step S2 includes: The first nonlinear relationship and the second nonlinear relationship are factory calibration relationships based on the configuration of the saddle-shaped fuel tank of different models.
4. The method for detecting fuel level in a fuel tank according to claim 3, characterized in that, Step S4 specifically includes: The total oil volume is equal to the rated oil volume Y of the main oil tank plus the second oil volume.
5. An apparatus employing the fuel tank level detection method according to any one of claims 1-4, characterized in that, The device includes: The data acquisition module is used to acquire the first oil level parameter and the second oil level parameter corresponding to the first oil level sensor of the main oil tank and the second oil level sensor of the auxiliary oil tank, respectively. The processing module is used to process the fuel level in the main fuel tank to obtain the calibrated fuel level in the main fuel tank, and to obtain the total fuel level in the fuel tank by combining the calibrated fuel level in the main fuel tank and the fuel level in the auxiliary fuel tank.
6. The apparatus according to claim 5, characterized in that, The processing module further includes: The first processing module is used to calculate the first oil quantity of the main oil tank according to the first calibration relationship corresponding to the first oil quantity parameter; And a second processing module, used to calculate the second oil quantity of the auxiliary oil tank according to the second calibration relationship corresponding to the second oil quantity parameter.
7. A fuel level display unit, characterized in that, The fuel level display unit is communicatively connected to the fuel tank level detection device. The fuel tank level detection device uses the total fuel level in the fuel tank obtained by the fuel tank level detection method as described in any one of claims 1-4, and updates the fuel level display unit at a time interval.
8. A fuel tank, characterized in that, The fuel tank is the same as the fuel tank used in the fuel tank level detection method as described in any one of claims 1-4.
9. A computer-readable storage medium, characterized in that, It stores a computer program, which, when executed by a processor, implements a fuel tank level detection method as described in any one of claims 1-4.
Citation Information
Patent Citations
Oil circuit control system of saddle-shaped diesel oil tank
CN102758767A
Method and device for detecting oil mass display abnormity
CN107490420A