Oil quantity calibration method and device, electronic equipment, storage medium and vehicle
By detecting the fuel level change trend after the vehicle is stationary and triggering a static calibration strategy, the problem of inaccurate fuel level display caused by tank level fluctuations is solved, real-time calibration of the fuel gauge and accuracy of fuel management are achieved, and the user experience is improved.
Patent Information
- Application Number
- CN202411277620.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2044-09-12
AI Technical Summary
In traditional fuel display systems, when a vehicle goes from motion to stationary and finally refuels on a non-horizontal surface, the fuel tank level fluctuates violently due to changes in the vehicle's motion state and the slope, resulting in inaccurate fuel level display and affecting the user experience.
By detecting the oil level change trend after the vehicle comes to a standstill and using triple judgment conditions to trigger a static refueling or oil reduction calibration strategy, the influence of inertia and slope is eliminated, thus achieving real-time oil gauge calibration.
It improves the accuracy of the fuel gauge display, reduces user experience issues caused by inaccurate fuel level display, and can timely monitor fuel leaks or thefts, thereby improving the accuracy of vehicle fuel management.
Smart Images

Figure CN119223406B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of vehicle technology, and more particularly to a fuel level calibration method, device, electronic device, storage medium, and vehicle. Background Art
[0002] Most traditional automobile fuel tanks are saddle-shaped straddle-type fuel tanks. The oil float in the fuel tank can only test the oil level according to the vertical height. The mechanical structure connected to the oil float is used to adjust the resistance value. The oil float will adjust with the height of the fuel tank liquid, thereby driving the change of resistance value. Different resistance values correspond to different remaining oil amounts in the fuel tank.
[0003] However, when the vehicle goes from moving to stationary and finally refuels on a non-horizontal surface, the fuel tank level fluctuates violently due to changes in the vehicle's motion state and the slope, causing the oil float to fluctuate to varying degrees under the action of the buoyancy of the oil surface. This makes it difficult for traditional fuel resistance signal acquisition methods to accurately display the fuel level during the above process, affecting the user experience. Summary of the Invention
[0004] Embodiments of the present invention provide a fuel level calibration method, device, electronic device, storage medium, and vehicle to at least solve the technical problem of inaccurate fuel level display in existing vehicles when they transition from motion to stillness and finally refuel on a non-horizontal surface, thereby improving the accuracy of the fuel gauge display and enhancing the user experience.
[0005] In a first aspect, an embodiment of the present invention provides an oil level calibration method, comprising at least:
[0006] S1. In response to the vehicle entering a stationary state, recording a first fuel gauge display value and a first fuel level value;
[0007] S2. detecting a second fuel level value after the vehicle remains in the stationary state for a preset time;
[0008] S3. After the second oil level value detection is completed, continuously collecting a preset number of oil level resistance values to determine whether the oil level change trend corresponding to the preset number of oil level resistance values is an upward trend;
[0009] S4. When the difference between the second fuel level value and the first fuel gauge display value is not less than a first preset value, the difference between the second fuel level value and the first fuel level value is not less than a second preset value, and the fuel level change trend is an upward trend, trigger the static refueling calibration strategy to achieve real-time calibration of the fuel gauge display value in the static refueling scenario.
[0010] Optionally, after step S3, the method further includes:
[0011] S5. When the difference between the first fuel gauge display value and the second fuel level value is not less than a third preset value, the difference between the first fuel level value and the second fuel level value is not less than a fourth preset value, and the fuel level change trend after the preset time is a downward trend, the static fuel reduction calibration strategy is triggered to achieve real-time calibration of the fuel gauge display value in the static fuel reduction scenario.
[0012] Optionally, the static refueling calibration strategy in step S4 at least includes:
[0013] S41. When the static refueling calibration strategy is triggered, detecting a first remaining fuel level and calculating a first body tilt angle of the vehicle;
[0014] S42, determining a first fuel level compensation value according to the first vehicle body tilt angle;
[0015] S43: Calculate a real-time calibration value of the fuel gauge in the static refueling scenario based on the first fuel level compensation value and the first remaining fuel level value, and update the real-time calibration value of the fuel gauge in the static refueling scenario to the fuel gauge.
[0016] Optionally, the static fuel reduction calibration strategy in step S5 at least includes:
[0017] S51. When the static fuel reduction calibration strategy is triggered, detecting a second remaining fuel amount and calculating a second body tilt angle of the vehicle;
[0018] S52, determining a second fuel level compensation value according to the second vehicle body tilt angle;
[0019] S53: Calculate a real-time calibration value of the fuel gauge in the static fuel reduction scenario based on the second fuel level compensation value and the second remaining fuel level value, and update the real-time calibration value of the fuel gauge in the static fuel reduction scenario to the fuel gauge.
[0020] Optionally, after step S4, the method further includes:
[0021] S6. In response to the vehicle entering the start state, calculating a real-time calibration value of the fuel gauge after the vehicle is started based on the real-time fuel consumption value of the vehicle, the real-time dynamic adjustment coefficient, and the final fuel gauge calibration value in the static refueling scenario, and updating the real-time calibration value of the fuel gauge after the vehicle is started to the fuel gauge;
[0022] The real-time calibration value of the fuel gauge after the vehicle is started is calculated at least in the following manner:
[0023] D = D1 - αC1;
[0024] In the above formula, D represents the real-time calibration value of the fuel gauge after the vehicle is started, D1 represents the final calibration value of the fuel gauge in the static refueling scenario, α represents the real-time dynamic adjustment coefficient, and C1 represents the real-time fuel consumption value of the vehicle;
[0025] The real-time fuel consumption value of the vehicle is updated at least through the following steps:
[0026] determining an accumulation time interval for the instantaneous fuel consumption value according to the accuracy of the instantaneous fuel consumption value of the vehicle and the value type of the instantaneous fuel consumption value;
[0027] Accumulating the instantaneous fuel consumption value once every accumulation time interval to update the real-time fuel consumption value of the vehicle;
[0028] The real-time dynamic adjustment parameters are determined at least in the following ways:
[0029] When the difference between the real-time remaining fuel value and the real-time fuel compensation value subtracted from the real-time calibration value of the fuel gauge after the vehicle is started is not less than a first threshold, the real-time dynamic adjustment parameter is set to the first value;
[0030] When the difference between the real-time remaining fuel value and the real-time fuel compensation value subtracted from the real-time fuel gauge calibration value after the vehicle is started is less than the first threshold but not less than the second threshold, the real-time dynamic adjustment parameter is set to the second value;
[0031] When the difference between the real-time remaining fuel value and the real-time fuel compensation value subtracted from the real-time fuel gauge calibration value after the vehicle is started is less than the second threshold but greater than a third threshold, the real-time dynamic adjustment parameter is set to a third value;
[0032] When a difference between the sum of the real-time remaining fuel value and the real-time fuel compensation value minus the real-time fuel gauge calibration value after the vehicle is started is not less than the first threshold, the real-time dynamic adjustment parameter is set to a fourth value;
[0033] When a difference between the sum of the real-time remaining fuel value and the real-time fuel compensation value minus the real-time fuel gauge calibration value after the vehicle is started is less than the first threshold but not less than the second threshold, the real-time dynamic adjustment parameter is set to a fifth value;
[0034] When a difference obtained by subtracting the real-time calibration value of the fuel gauge after the vehicle is started from the sum of the real-time remaining fuel value and the real-time fuel compensation value is less than the second threshold but greater than the third threshold, the real-time dynamic adjustment parameter is set to a sixth value;
[0035] When the difference between the real-time remaining fuel value and the real-time fuel compensation value subtracted from the real-time calibration value of the fuel gauge after the vehicle is started is not greater than the third threshold, or the difference between the sum of the real-time remaining fuel value and the real-time fuel compensation value subtracted from the real-time calibration value of the fuel gauge after the vehicle is started is not greater than the third threshold, the real-time dynamic adjustment parameter is set to the seventh value.
[0036] Optionally, after step S4, the method further includes:
[0037] S7. In response to the vehicle entering a driving state, calculating a change in a real-time calibrated value of the fuel gauge of the vehicle and a change in a real-time fuel consumption value of the entire vehicle between adjacent detection moments, and determining that the vehicle is in a rapid fuel leakage state when a difference between the change in the real-time calibrated value of the fuel gauge of the vehicle and the change in the real-time fuel consumption value of the entire vehicle between the adjacent detection moments exceeds a first preset fuel amount abnormality and occurs a first preset number of times consecutively;
[0038] S8. In response to the vehicle entering a driving state, calculating the difference between the real-time calibrated value of the fuel gauge of the vehicle and the remaining fuel value of the vehicle at each detection moment; when an abnormal situation in which the difference between the real-time calibrated value of the fuel gauge of the vehicle and the remaining fuel value of the vehicle exceeds a second preset fuel amount and occurs a second preset number of times consecutively, and the difference between the real-time calibrated value of the fuel gauge of the vehicle and the remaining fuel value of the vehicle shows an increasing trend as the detection moment changes, it is determined that the vehicle is in a slow oil leakage state.
[0039] In a second aspect, an embodiment of the present invention further provides an oil level calibration device, comprising at least:
[0040] a recording module, configured to record a first fuel gauge display value and a first fuel level value in response to the vehicle entering a stationary state;
[0041] a detection module, configured to detect a second fuel level value at least after the vehicle remains in the stationary state for a preset time;
[0042] The collecting module is at least used to continuously collect a preset number of oil resistance values after the preset time to determine whether the oil level change trend corresponding to the preset number of oil resistance values is an upward trend;
[0043] The strategy triggering module is used to trigger the static refueling calibration strategy at least when the difference between the second fuel level value and the first fuel gauge display value is not less than a first preset value, the difference between the second fuel level value and the first fuel level value is not less than a second preset value, and the fuel level change trend after the preset time is an upward trend, so as to realize real-time calibration of the fuel gauge display value in a static refueling scenario.
[0044] In a third aspect, an embodiment of the present invention further provides an electronic device comprising a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps in the oil quantity calibration method as described in any one of the first aspects are executed.
[0045] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the oil quantity calibration method described in any one of the first aspects.
[0046] In a fifth aspect, an embodiment of the present invention further provides a vehicle that is integrated with at least the oil quantity calibration device as described in the second aspect.
[0047] An embodiment of the present invention provides a fuel level calibration method, device, electronic device, storage medium, and vehicle. First, in response to a vehicle entering a stationary state, a first fuel gauge display value and a first fuel level value are recorded; second, after the vehicle remains in the stationary state for a preset time, a second fuel level value is detected; then, after the preset time, a preset number of fuel level resistance values are continuously collected to determine whether the fuel level change trend corresponding to the preset number of fuel level resistance values is an upward trend; finally, when the difference between the second fuel level value and the first fuel gauge display value is not less than a first preset value, the difference between the second fuel level value and the first fuel level value is not less than a second preset value, and the fuel level change trend after the preset time is an upward trend, a static refueling calibration strategy is triggered to achieve real-time calibration of the fuel gauge display value in a static refueling scenario.
[0048] Therefore, in an embodiment of the present invention, when the vehicle just stops (i.e., the vehicle enters a stationary state), the oil level value displayed on the vehicle's fuel gauge (i.e., the first fuel gauge display value) and the oil level value measured by the mechanical oil level measurement sensor composed of an oil float, a mechanical structure, etc. (i.e., the first fuel level value) are respectively recorded; after the vehicle has been parked for a preset time, the oil level value measured by the mechanical oil level measurement sensor is obtained again (i.e., the second fuel level value is detected); after the second fuel level value detection is completed, a preset number of oil level resistance values generated by the mechanical structure driven by the oil float under the action of the buoyancy of the oil surface are continuously collected, and then the oil level change trend in the vehicle's fuel tank is determined based on the changes in each oil level resistance value. It can be understood that if the difference obtained by subtracting the first fuel gauge display value from the second fuel level value (i.e., the difference between the second fuel level value and the first fuel gauge display value) is less than the first preset value and / or the difference obtained by subtracting the first fuel level value from the second fuel level value (i.e., the difference between the second fuel level value and the first fuel gauge display value) is less than the second preset value, it means that the oil level in the fuel tank has risen but the increase is not large. At this time, the fuel tank level is most likely to fluctuate due to the inertia and slope of the vehicle's motion state, and it cannot be determined that the vehicle is in a refueling state; if and only if the difference obtained by subtracting the first fuel gauge display value from the second fuel level value is not less than the first preset value, the difference obtained by subtracting the first fuel level value from the second fuel level value is not less than the second preset value (such a setting can effectively eliminate the possibility of fuel tank level changes caused by the inertia and slope of the vehicle state change), and the trend of the fuel level change in the vehicle's fuel tank is an upward trend, it is determined that the vehicle is refueling, and the static refueling calibration strategy is triggered at this time to realize real-time calibration of the fuel gauge display value in the static refueling scenario.
[0049] In summary, the embodiments of the present invention can solve the technical problem that when a vehicle changes from motion to stationary and finally refuels on a non-horizontal surface, the fuel tank level fluctuates violently due to changes in the vehicle's motion state and the slope, which in turn causes the oil float to fluctuate to varying degrees under the action of the buoyancy of the oil surface, affecting the accuracy of the fuel level display. Through triple judgment (i.e., whether the difference obtained by subtracting the first fuel gauge display value from the second fuel level value is less than a first preset value, whether the difference obtained by subtracting the first fuel level value from the second fuel level value is less than a second preset value, and whether the trend of the fuel level change in the vehicle's fuel tank is an upward trend), the possibility of the vehicle's fuel tank level changing due to the inertia of its own motion state change and the slope is effectively eliminated. The static refueling calibration strategy is only triggered when it is determined that the vehicle is in the refueling state, which can achieve real-time calibration of the fuel gauge display value in a static non-horizontal surface refueling scenario, improve the accuracy of the fuel gauge display, and help enhance the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the technical solutions in the specific embodiments of the present application or the prior art, the drawings needed to be used in the specific embodiments or prior art description will be briefly introduced as follows. Obviously, the drawings described below are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort on the basis of these drawings.
[0051] Figure 1 is an oil quantity calibration method provided by an embodiment of the present application;
[0052] Figure 2 is another oil quantity calibration method provided by an embodiment of the present application;
[0053] Figure 3 is a flowchart of a static oil adding calibration strategy provided by an embodiment of the present application;
[0054] Figure 4 is a flowchart of a static oil reducing calibration strategy provided by an embodiment of the present application;
[0055] Figure 5 is a flowchart of still another oil quantity calibration method provided by an embodiment of the present application;
[0056] Figure 6 is a flowchart of still another oil quantity calibration method provided by an embodiment of the present application;
[0057] Figure 7 is a structural schematic diagram of an oil quantity calibration device provided by an embodiment of the present application;
[0058] Figure 8 is a structural schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0059] In order to make the purposes, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the drawings. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative effort fall within the scope of protection of the present application.
[0060] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to limit the present application. The singular forms "a", "an" and "the" used in the embodiments of the present application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. "Plural" generally includes at least two.
[0061] It should be understood that the term "and / or" as used herein is merely a description of the relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A exists alone, A and B exist simultaneously, or B exists alone. Furthermore, the character " / " in this document generally indicates that the associated objects are in an "or" relationship.
[0062] It should be understood that although the terms first, second, third, etc. may be used to describe in the embodiments of the present application, these descriptions should not be limited to these terms. These terms are only used to distinguish the descriptions. For example, without departing from the scope of the embodiments of the present application, the first may also be referred to as the second, and similarly, the second may also be referred to as the first.
[0063] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to the determination" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)," depending on the context.
[0064] It should also be noted that the terms "include," "comprises," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a product or device comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such product or device. In the absence of further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the product or device comprising the element.
[0065] It should be noted in particular that any symbols and / or numbers in the specification that are not marked in the accompanying drawings are not drawing marks.
[0066] The embodiment of the present invention provides a method for calibrating oil quantity. Figure 1 This is a flow chart of a fuel calibration method provided by an embodiment of the present invention. This embodiment is applicable to any scenario where a vehicle goes from motion to rest and finally refuels on a non-horizontal surface, such as a fuel motorcycle, a fuel tricycle, a fuel car, a hybrid car, etc. The fuel calibration method can be, but is not limited to, executed by the fuel calibration device in the embodiment of the present invention as the execution subject, and the execution subject can be implemented in software and / or hardware. Figure 1 As shown, the oil quantity calibration method includes at least the following steps:
[0067] S1. In response to a vehicle entering a stationary state, recording a first fuel gauge display value and a first fuel level value.
[0068] The vehicle entering the stationary state can refer to the speed of the vehicle decreasing from a non-zero value to zero, i.e., a state of just stopping. In addition, the first oil gauge display value can refer to an oil amount value displayed by an oil gauge of the vehicle when the vehicle enters the stationary state. The first oil amount value can refer to an oil amount value measured by a mechanical oil level measurement sensor composed of an oil float, a mechanical structure, and the like when the vehicle enters the stationary state.
[0069] S2, detecting a second oil amount value after the vehicle remains in the stationary state for a preset time.
[0070] The vehicle remaining in the stationary state for a preset time can refer to a time after a preset time elapses since the vehicle stops. It can be understood that the preset time is related to vehicle parameters (e.g., a shape of an oil tank, characteristic parameters of fuel in the oil tank, parameters of a braking system of the vehicle, and the like), and is mainly used to represent how long it takes for the oil level in the oil tank to stabilize after the vehicle stops. The preset time can be obtained through pre-experiment, and for example, can be 5 s. In addition, the second oil amount value and the first oil amount value are obtained in the same way. The second oil amount value can refer to an oil amount value measured by the mechanical oil level measurement sensor after the vehicle remains in the stationary state for the preset time. Both the first oil amount value and the second oil amount value can be converted from the resistance value of the mechanical oil level measurement sensor.
[0071] S3, continuously collecting a preset number of oil amount resistance values to determine whether an oil amount change trend corresponding to the preset number of oil amount resistance values is an upward trend.
[0072] The continuously collecting a preset number of oil amount resistance values can refer to continuously collecting a preset number of oil amount resistance values generated by the mechanical structure driven by the oil float under the buoyancy of the fuel in the oil tank. It can be known that different oil amount resistance values correspond to different oil amounts. In a specific embodiment, the preset number of oil amount resistance values can be converted into oil amounts first, and then the oil amount change trend is determined. The preset number can be adaptively adjusted according to the actual vehicle application requirements, and for example, can be 20.
[0073] S4, when the difference between the second oil amount value and the first oil gauge display value is not less than a first preset value, the difference between the second oil amount value and the first oil amount value is not less than a second preset value, and the oil amount change trend is an upward trend, triggering a static refueling calibration strategy to realize real-time calibration of the oil gauge display value in a static refueling scenario.
[0074] The difference between the second fuel level value and the first fuel gauge display value may be the difference obtained by subtracting the first fuel gauge display value from the second fuel level value, and the difference between the second fuel level value and the first fuel level value may be the difference obtained by subtracting the first fuel level value from the second fuel level value. The first preset value and the second preset value are related to the actual application scenario of the vehicle and can both be obtained through preliminary experiments; for example, the first preset value and the second preset value can both be set to 5L.
[0075] This embodiment provides a fuel level calibration method. First, in response to a vehicle entering a stationary state, a first fuel gauge display value and a first fuel level value are recorded. Second, after the vehicle remains stationary for a preset time, a second fuel level value is detected. Then, after the preset time, a preset number of fuel level resistance values are continuously collected to determine whether the fuel level change trend corresponding to the preset number of fuel level resistance values is an upward trend. Finally, when the difference between the second fuel level value and the first fuel gauge display value is not less than a first preset value, the difference between the second fuel level value and the first fuel level value is not less than a second preset value, and the fuel level change trend after the preset time is an upward trend, a static refueling calibration strategy is triggered to achieve real-time calibration of the fuel gauge display value in a static refueling scenario.
[0076] Therefore, this embodiment records the oil level value displayed on the vehicle's fuel gauge and the oil level value measured by the mechanical oil level measurement sensor composed of an oil float, a mechanical structure, etc. when the vehicle just stops; the oil level value measured by the mechanical oil level measurement sensor is obtained again after the vehicle has been parked for a preset time; after the second oil level value detection is completed, a preset number of oil level resistance values generated by the mechanical structure driven by the oil float under the action of the buoyancy of the oil surface are continuously collected, and then the oil level change trend in the vehicle's fuel tank is determined based on the changes in each oil level resistance value. It can be understood that if the difference obtained by subtracting the first fuel gauge display value from the second fuel level value is less than the first preset value and / or the difference obtained by subtracting the first fuel level value from the second fuel level value is less than the second preset value, it means that the oil level in the fuel tank has risen but the increase is not large. At this time, the fuel tank level is most likely to fluctuate due to the inertia of the change in the vehicle's motion state and the slope, and it cannot be determined that the vehicle is in a refueling state; if and only if the difference obtained by subtracting the first fuel gauge display value from the second fuel level value is not less than the first preset value, the difference obtained by subtracting the first fuel level value from the second fuel level value is not less than the second preset value (such a setting can effectively eliminate the possibility of changes in the fuel tank level caused by the inertia of the change in the vehicle state or the slope), and the trend of the oil level change in the vehicle's fuel tank is an upward trend, it is determined that the vehicle is refueling, and the static refueling calibration strategy is triggered at this time to realize real-time calibration of the fuel gauge display value in a static refueling scenario.
[0077] In summary, this embodiment can solve the technical problem that when a vehicle changes from motion to stationary and finally refuels on a non-horizontal surface, the fuel tank level fluctuates due to changes in the vehicle's motion state or the slope, which in turn causes the oil float to fluctuate to varying degrees under the action of the buoyancy of the oil surface, affecting the accuracy of the fuel level display. Through triple judgment (i.e., whether the difference obtained by subtracting the first fuel gauge display value from the second fuel level value is less than the first preset value, whether the difference obtained by subtracting the first fuel level value from the second fuel level value is less than the second preset value, and whether the trend of the fuel level change in the vehicle's fuel tank is an upward trend), the possibility of the vehicle being affected by the inertia of its own motion state or the slope causing the fuel tank level to change can be effectively eliminated. The static refueling calibration strategy is only triggered when it is determined that the vehicle is in the refueling state, thereby realizing real-time calibration of the fuel gauge display value in the static refueling scenario, improving the accuracy of the fuel gauge display, and promoting an enhanced user experience.
[0078] It should be noted that, in a specific embodiment, since the oil level resistance value and the oil level value are in a one-to-one correspondence, assuming that the oil level resistance value also shows an upward trend when the oil level value increases, the aforementioned step S4 can also be:
[0079] S4. When the difference between the second fuel level value and the first fuel gauge display value is not less than the first preset value, the difference between the second fuel level value and the first fuel level value is not less than the second preset value, and the change trend of the fuel level resistance value is an upward trend, the static refueling calibration strategy is triggered to achieve real-time calibration of the fuel gauge display value in the static refueling scenario.
[0080] In another specific embodiment, if the oil level resistance value shows a downward trend when the oil level value increases, the aforementioned step S4 may also be:
[0081] S4. When the difference between the second fuel level value and the first fuel gauge display value is not less than the first preset value, the difference between the second fuel level value and the first fuel level value is not less than the second preset value, and the change trend of the fuel level resistance value is a downward trend, the static refueling calibration strategy is triggered to achieve real-time calibration of the fuel gauge display value in the static refueling scenario.
[0082] In real life, when users park their vehicles on non-level surfaces such as roadsides and parking lots, there is a risk of oil leakage due to the vehicle's own faults or fuel theft. In this case, it is necessary to calibrate the fuel gauge display value in real time under the static fuel reduction scenario in order to achieve accurate and effective monitoring of the vehicle's fuel. In this way, once the vehicle detects oil leakage or fuel theft, timely countermeasures can be taken, such as notifying the owner or calling the police.
[0083] Based on the above considerations, the following describes a method for real-time calibration of the fuel level display value in a static fuel reduction scenario of a vehicle, but does not limit the present invention. In a specific embodiment, optionally, after step S3, the method further includes:
[0084] S5. When the difference between the first fuel gauge display value and the second fuel level value is not less than the third preset value, the difference between the first fuel level value and the second fuel level value is not less than the fourth preset value, and the fuel level change trend after the preset time is a downward trend, the static fuel reduction calibration strategy is triggered to achieve real-time calibration of the fuel gauge display value in the static fuel reduction scenario.
[0085] Based on the above implementation, Figure 2 This is another oil level calibration method provided by the embodiment of the present invention, see Figure 2 The oil quantity calibration method includes at least the following steps:
[0086] S1. In response to a vehicle entering a stationary state, recording a first fuel gauge display value and a first fuel level value.
[0087] S2. After the vehicle remains stationary for a preset time, detecting a second fuel level value.
[0088] S3. After the second oil level value detection is completed, a preset number of oil level resistance values are continuously collected to determine whether the oil level change trend corresponding to the preset number of oil level resistance values is an upward trend.
[0089] S4. When the difference between the second fuel level value and the first fuel gauge display value is not less than the first preset value, the difference between the second fuel level value and the first fuel level value is not less than the second preset value, and the fuel level change trend is an upward trend, the static refueling calibration strategy is triggered to achieve real-time calibration of the fuel gauge display value in the static refueling scenario.
[0090] S5. When the difference between the first fuel gauge display value and the second fuel level value is not less than the third preset value, the difference between the first fuel level value and the second fuel level value is not less than the fourth preset value, and the fuel level change trend after the preset time is a downward trend, the static fuel reduction calibration strategy is triggered to achieve real-time calibration of the fuel gauge display value in the static fuel reduction scenario.
[0091] The difference between the first fuel gauge display value and the second fuel level value may be the difference between the first fuel gauge display value and the second fuel level value, and the difference between the first fuel level value and the second fuel level value may be the difference between the first fuel level value and the second fuel level value. Similarly, the third and fourth preset values are related to the specific application scenario of the vehicle and can both be obtained through preliminary experiments; for example, the third and fourth preset values can both be set to 5L.
[0092] As can be seen, this embodiment records the oil level value displayed on the vehicle's fuel gauge and the oil level value measured by the mechanical oil level measurement sensor composed of an oil float, a mechanical structure, etc. when the vehicle just stops; the oil level value measured by the mechanical oil level measurement sensor is obtained again after the vehicle has been parked for a preset time; after the second oil level value detection is completed, a preset number of oil level resistance values generated by the mechanical structure driven by the oil float under the action of the buoyancy of the oil surface are continuously collected, and then the oil level change trend in the vehicle's fuel tank is determined based on the changes in each oil level resistance value. It is understandable that if the difference obtained by subtracting the second fuel level value from the first fuel gauge display value is less than the third preset value and / or the difference obtained by subtracting the second fuel level value from the first fuel level value is less than the fourth preset value, it means that the oil level in the fuel tank has dropped but the drop is not large. At this time, the fuel tank level is most likely fluctuating due to the inertia of the change in the vehicle's motion state and the slope, and it cannot be determined that the vehicle is in a fuel reduction state (i.e., the state in which the fuel level is decreasing corresponding to the aforementioned situations such as oil leakage or fuel theft); if and only if the difference obtained by subtracting the second fuel level value from the first fuel gauge display value is not less than the third preset value, and the difference obtained by subtracting the second fuel level value from the first fuel level value is not less than the fourth preset value (such a setting can effectively eliminate the possibility of fuel tank level changes caused by the inertia of the change in the vehicle state or the slope), and the trend of the fuel level change in the vehicle's fuel tank is a downward trend, then the vehicle's fuel level is determined to be decreasing. At this time, the static fuel reduction calibration strategy is triggered to achieve real-time calibration of the fuel gauge display value in the static fuel reduction scenario.
[0093] In summary, this embodiment can solve the technical problem that when a vehicle changes from motion to stationary and finally refuels (or defuels) on a non-horizontal surface, the fuel tank level fluctuates due to changes in the vehicle's motion state or the slope, which in turn causes the oil float to fluctuate to varying degrees under the action of the buoyancy of the oil surface, affecting the accuracy of the fuel level display. For static refueling scenarios (or static defueling scenarios), the possibility of the vehicle's fuel tank level changing due to the inertia or slope of its own motion state can be effectively eliminated through triple judgment. Only when it is determined that the vehicle is in the refueling state (or defueling state) is the static refueling calibration strategy (or static defueling calibration strategy) triggered, realizing real-time calibration of the fuel gauge display value in the static refueling scenario (or static defueling scenario), improving the accuracy of the fuel gauge display, and helping to enhance the user experience. At the same time, by improving the accuracy of fuel level detection, it helps vehicles to accurately and effectively monitor fuel. Once the vehicle detects an oil leak or fuel theft, it can take timely countermeasures, such as notifying the owner or calling the police.
[0094] Based on the above embodiments or implementations, the static refueling calibration strategy and the static oil reduction calibration strategy are described below, but this is not intended to limit the present invention. In a specific implementation, Figure 3 This is a flow chart of a static refueling calibration strategy provided by an embodiment of the present invention, see Figure 3Optionally, the static refueling calibration strategy in step S4 at least includes:
[0095] S41 : When the static refueling calibration strategy is triggered, detecting a first remaining fuel amount and calculating a first vehicle body tilt angle.
[0096] The first remaining fuel level may refer to the fuel level measured by a mechanical fuel level sensor when the static refueling calibration strategy is triggered. It is understood that because the vehicle is not level, the first remaining fuel level measured by the mechanical fuel level sensor may have a certain error due to the vehicle's tilt. Furthermore, the first vehicle body tilt angle may be calculated by an angle sensor such as a gyroscope, for example.
[0097] S42: Determine a first fuel quantity compensation value according to a first vehicle body tilt angle.
[0098] The first fuel level compensation value can be used to reduce the impact of the first vehicle body tilt angle on the fuel level displayed on the fuel gauge, and can be a positive number, 0, or a negative number. It is understood that determining the first fuel level compensation value based on the first vehicle body tilt angle can be specifically implemented by looking up the first fuel level compensation value in a preset table based on the first vehicle body tilt angle. The preset table can be obtained through preliminary experiments.
[0099] Illustratively, Table 1 is a tabular form of a preset table provided by an embodiment of the present invention.
[0100] Table 1
[0101]
[0102] S43: Calculate a real-time calibration value of the fuel gauge in a static refueling scenario based on the first fuel level compensation value and the first remaining fuel level value, and update the real-time calibration value of the fuel gauge in the static refueling scenario to the fuel gauge.
[0103] The real-time calibration value of the fuel gauge may be the sum of the first fuel level compensation value and the first remaining fuel level value.
[0104] Based on this, when the vehicle is in the refueling state and the static refueling calibration strategy is triggered, this embodiment can realize real-time calibration of the fuel gauge display value in the static refueling scenario, thereby improving the accuracy of the fuel gauge display and improving the user experience.
[0105] In another specific embodiment, Figure 4 This is a flow chart of a static oil reduction calibration strategy provided by an embodiment of the present invention. Figure 4 As shown, optionally, the static fuel reduction calibration strategy in step S5 at least includes:
[0106] S51 : When the static fuel reduction calibration strategy is triggered, detect a second remaining fuel amount and calculate a second vehicle body tilt angle.
[0107] The second remaining fuel level may refer to the fuel level measured by the mechanical fuel level sensor when the static fuel reduction calibration strategy is triggered. It is understood that since the vehicle is not level, the second remaining fuel level measured by the mechanical fuel level sensor may be affected by vehicle tilt and may have a certain degree of error. Furthermore, the second vehicle body tilt angle may also be calculated using any angle sensor.
[0108] S52: Determine a second fuel quantity compensation value according to a second vehicle body tilt angle.
[0109] The second fuel level compensation value can be used to reduce the impact of the second vehicle body tilt angle on the fuel level displayed on the fuel gauge, and can be a positive number, 0, or a negative number. It is understood that determining the second fuel level compensation value based on the second vehicle body tilt angle can be specifically implemented by looking up the second fuel level compensation value in a preset table based on the second vehicle body tilt angle. The preset table can be obtained through preliminary experiments.
[0110] S53: Calculate a real-time calibration value of the fuel gauge in a static fuel reduction scenario based on the second fuel level compensation value and the second remaining fuel level value, and update the real-time calibration value of the fuel gauge in the static fuel reduction scenario to the fuel gauge.
[0111] The real-time calibration value of the fuel gauge may be the sum of the second fuel level compensation value and the second remaining fuel level value.
[0112] Therefore, when the vehicle is in a fuel reduction state and triggers the static fuel reduction calibration strategy, this embodiment can realize real-time calibration of the fuel gauge display value in a static fuel reduction scenario, thereby improving the accuracy of the fuel gauge display and improving the user experience.
[0113] In addition to the above solutions, the inventors discovered through careful research that the fuel float can also experience significant fluctuations during vehicle operation due to road slope and acceleration / deceleration. This can cause the fuel resistance to rise and fall significantly, leading to unstable resistance output from the fuel sensor, even if the remaining fuel level remains unchanged. Consequently, due to float jitter and resistance fluctuation, existing methods that directly convert resistance to fuel level measurement struggle to properly display the current remaining fuel level in the fuel tank. Directly mapping the remaining fuel level using a resistance-to-fuel level relationship table can cause the fuel level bar on the instrument panel to rise and fall rapidly while the vehicle is driving or traveling up or down hills. This can not only cause vehicle anomalies such as fuel level fluctuations, frequent flashing of the fuel gauge warning light, and inaccurate fuel level display values, but can also lead to the vehicle stalling due to sudden fuel depletion, potentially causing accidents and causing psychological panic and unnecessary losses to the driver and passengers.
[0114] In view of this, the following at least describes the calibration strategy of the fuel gauge display value during vehicle driving, but does not limit the present invention. In a specific embodiment, optionally, after step S4, the following further includes:
[0115] S6. In response to the vehicle entering the start state, a real-time fuel gauge calibration value after the vehicle is started is calculated based on the real-time fuel consumption value of the entire vehicle, the real-time dynamic adjustment coefficient, and the final fuel gauge calibration value in the static refueling scenario, and the real-time fuel gauge calibration value after the vehicle is started is updated to the fuel gauge.
[0116] Based on the above implementation, Figure 5 This is a flow chart of another oil quantity calibration method provided by an embodiment of the present invention, see Figure 5 The oil quantity calibration method comprises at least the following steps:
[0117] S1. In response to a vehicle entering a stationary state, recording a first fuel gauge display value and a first fuel level value.
[0118] S2. After the vehicle remains stationary for a preset time, detecting a second fuel level value.
[0119] S3. After the second oil level value detection is completed, a preset number of oil level resistance values are continuously collected to determine whether the oil level change trend corresponding to the preset number of oil level resistance values is an upward trend.
[0120] S4. When the difference between the second fuel level value and the first fuel gauge display value is not less than the first preset value, the difference between the second fuel level value and the first fuel level value is not less than the second preset value, and the fuel level change trend is an upward trend, the static refueling calibration strategy is triggered to achieve real-time calibration of the fuel gauge display value in the static refueling scenario.
[0121] S6. In response to the vehicle entering the start state, a real-time fuel gauge calibration value after the vehicle is started is calculated based on the real-time fuel consumption value of the entire vehicle, the real-time dynamic adjustment coefficient, and the final fuel gauge calibration value in the static refueling scenario, and the real-time fuel gauge calibration value after the vehicle is started is updated to the fuel gauge.
[0122] The vehicle entering the start state may refer to the state in which the vehicle is in motion and then stationary, and then starts the engine and drives after refueling on a non-level surface. Accordingly, the final fuel gauge calibration value in the static refueling scenario may refer to the fuel gauge display value after the vehicle is in motion and then stationary, and then refueling on a non-level surface, using the static refueling calibration strategy.
[0123] In a specific embodiment, optionally, the real-time calibration value of the fuel gauge after the vehicle is started is calculated at least in the following manner:
[0124] D = D1 - αC1;
[0125] In the above formula, D represents the real-time fuel gauge calibration value after the vehicle is started (for example, it can refer to the real-time fuel level displayed on the fuel gauge during vehicle driving), D1 represents the final fuel gauge calibration value in the static refueling scenario, α represents the real-time dynamic adjustment coefficient, and C1 represents the real-time fuel consumption value of the entire vehicle.
[0126] In another specific embodiment, optionally, the real-time fuel consumption value of the vehicle is updated by at least the following steps:
[0127] (1) Determine the accumulation time interval of the instantaneous fuel consumption value based on the accuracy of the vehicle's instantaneous fuel consumption value and the value type of the instantaneous fuel consumption value.
[0128] (2) The instantaneous fuel consumption value is accumulated every accumulation time interval to update the real-time fuel consumption value of the entire vehicle.
[0129] The real-time fuel consumption value of the vehicle in this embodiment is calculated based on the instantaneous fuel consumption value of the vehicle.
[0130] Specifically, assuming the accuracy of the instantaneous fuel consumption value is 0.0000596mL / 100ms, in order to improve the calculation accuracy of the vehicle's real-time fuel consumption value, this embodiment no longer converts the CAN value of the instantaneous fuel consumption into a physical value (such as a voltage or current signal). Instead, the CAN value of the instantaneous fuel consumption (i.e., the numerical type of the aforementioned instantaneous fuel consumption value) is directly accumulated. For example, the CAN value is accumulated once every 100ms (i.e., the aforementioned accumulation time interval). When the accumulation magnitude reaches or exceeds 1e7, the instantaneous fuel consumption value increases by a total of 596ml, at which point the vehicle's real-time fuel consumption value is updated. It can be understood that setting the vehicle's real-time fuel consumption value in this way has higher accuracy and helps ensure the accuracy of the fuel gauge's real-time calibration value.
[0131] In another specific embodiment, optionally, the real-time dynamic adjustment parameter is determined at least in the following manner:
[0132] When the difference between the real-time remaining fuel value and the real-time fuel compensation value subtracted from the real-time fuel gauge calibration value after the vehicle is started is not less than a first threshold, the real-time dynamic adjustment parameter is set to the first value;
[0133] When the difference between the real-time remaining fuel value and the real-time fuel compensation value subtracted from the real-time fuel gauge calibration value after the vehicle is started is less than the first threshold but not less than the second threshold, the real-time dynamic adjustment parameter is set to the second value;
[0134] When the difference between the real-time remaining fuel value and the real-time fuel compensation value subtracted from the real-time calibration value of the fuel gauge after the vehicle is started is less than the second threshold but greater than the third threshold, the real-time dynamic adjustment parameter is set to the third value;
[0135] When the difference between the sum of the real-time remaining fuel value and the real-time fuel compensation value minus the real-time fuel gauge calibration value after the vehicle is started is not less than the first threshold, the real-time dynamic adjustment parameter is set to a fourth value;
[0136] When the difference between the sum of the real-time remaining fuel value and the real-time fuel compensation value minus the real-time fuel gauge calibration value after the vehicle is started is less than the first threshold but not less than the second threshold, the real-time dynamic adjustment parameter is set to a fifth value;
[0137] When the difference between the sum of the real-time remaining fuel value and the real-time fuel compensation value minus the real-time fuel gauge calibration value after the vehicle is started is less than the second threshold but greater than the third threshold, the real-time dynamic adjustment parameter is set to a sixth value;
[0138] When the difference between the real-time calibration value of the fuel gauge after the vehicle is started and the real-time remaining fuel value minus the real-time fuel compensation value is not greater than the third threshold, or the difference between the sum of the real-time remaining fuel value and the real-time fuel compensation value minus the real-time calibration value of the fuel gauge after the vehicle is started is not greater than the third threshold, the real-time dynamic adjustment parameter is set to the seventh value.
[0139] Among them, the setting of real-time dynamic adjustment parameters is essentially to reduce the potential error of the real-time fuel consumption value of the whole vehicle, in order to further improve the accuracy of the real-time fuel consumption value of the whole vehicle.
[0140] For example, assuming that the first threshold value may be 5, the second threshold value may be 1, and the third threshold value may be 0, the first value may be 1.6, the second value may be 1.3, the third value may be 1.1, the fourth value may be 0.4, the fifth value may be 0.7, the sixth value may be 0.9, and the seventh value may be 1, X represents the real-time calibration value of the fuel gauge after the vehicle is started, Y represents the real-time remaining fuel value, and Z represents the real-time fuel compensation value, the real-time dynamic adjustment coefficient α can be calculated according to the following formula:
[0141] (1) When X-(Y+Z)≥5: α=1.6. This state indicates that the oil amount displayed on the fuel gauge is greater than the oil amount measured by the oil level measurement sensor. It is necessary to adaptively increase the real-time dynamic adjustment coefficient to speed up the decrease of the oil amount on the fuel gauge. At this time, the calculation formula of the real-time calibration value of the fuel gauge after the vehicle is started is: D=D1-1.6C1.
[0142] (2) When 5>X-(Y+Z)≥1: α=1.3. This state indicates that the oil amount displayed on the fuel gauge is greater than the oil amount measured by the oil level measurement sensor. It is necessary to appropriately increase the real-time dynamic adjustment coefficient to speed up the decrease of the oil amount on the fuel gauge. At this time, the calculation formula for the real-time calibration value of the fuel gauge after the vehicle is started is: D=D1-1.3C1.
[0143] (3) When 1>X-(Y+Z)>0: α=1.1. This state indicates that the oil amount displayed on the fuel gauge is greater than the oil amount measured by the oil level measurement sensor. It is necessary to appropriately increase the real-time dynamic adjustment coefficient to speed up the decrease of the oil amount on the fuel gauge. At this time, the calculation formula for the real-time calibration value of the fuel gauge after the vehicle is started is: D=D1-1.1C1.
[0144] (4) (Y+Z)-X≥5: α=0.4. This state indicates that the oil amount measured by the oil level measurement sensor is greater than the oil amount displayed on the fuel gauge. It is necessary to appropriately reduce the real-time dynamic adjustment coefficient to slow down the rate of decrease of the oil amount on the fuel gauge. At this time, the calculation formula for the real-time calibration value of the fuel gauge after the vehicle is started is: D=D1-0.4C1.
[0145] (5) When 5>(Y+Z)-X≥1: α=0.7. This state indicates that the oil amount measured by the oil level measurement sensor is greater than the oil amount displayed on the fuel gauge. It is necessary to appropriately reduce the real-time dynamic adjustment coefficient to slow down the rate of decrease of the oil amount on the fuel gauge. At this time, the calculation formula for the real-time calibration value of the fuel gauge after the vehicle is started is: D=D1-0.7C1.
[0146] (6) When 1>(Y+Z)-X>0: α=0.9. This state indicates that the oil amount measured by the oil level measurement sensor is greater than the oil amount displayed on the fuel gauge. It is necessary to adaptively reduce the real-time dynamic adjustment coefficient to slow down the rate of decrease of the oil amount on the fuel gauge. At this time, the calculation formula for the real-time calibration value of the fuel gauge after the vehicle is started is: D=D1-0.9C1.
[0147] (7) In other cases, α is 1.
[0148] In summary, this embodiment can, on the one hand, solve the technical problem that when a vehicle transitions from motion to stationary and finally refuels on a non-horizontal surface, the fuel tank level fluctuates due to changes in the vehicle's motion state or the slope, which in turn causes the oil float to fluctuate to varying degrees under the buoyancy of the oil surface, affecting the accuracy of the fuel level display. The triple determination effectively eliminates the possibility of the fuel tank level changing due to the inertia of the vehicle's own motion state or the slope. The static refueling calibration strategy is only triggered when it is determined that the vehicle is in the refueling state, achieving real-time calibration of the fuel gauge display value in the static refueling scenario, improving the accuracy of the fuel gauge display and enhancing the user experience. Furthermore, this embodiment calculates the real-time fuel gauge calibration value after the vehicle is started using the vehicle's real-time fuel consumption value, the real-time dynamic adjustment coefficient, and the final fuel gauge calibration value in the static refueling scenario, thus implementing a calibration process for the fuel gauge display value while the vehicle is in motion. Furthermore, compared to the prior art, the calculation method for the vehicle's real-time fuel consumption value and real-time dynamic adjustment parameter provided by this embodiment is more accurate, further ensuring the accuracy of the fuel gauge display value during vehicle driving and enhancing the user experience.
[0149] Based on the above embodiments or implementations, the following describes a vehicle oil leakage detection strategy in a driving state, but does not limit the present invention. In a specific implementation, optionally, after step S4, the following further includes:
[0150] S7. In response to the vehicle entering a driving state, calculating a change in a real-time calibrated value of the vehicle's fuel gauge and a change in the vehicle's real-time fuel consumption between adjacent detection moments, and determining that the vehicle is in a rapid fuel leakage state when a difference between the change in the real-time calibrated value of the vehicle's fuel gauge and the change in the vehicle's real-time fuel consumption between adjacent detection moments exceeds a first preset fuel amount abnormality for a first preset number of consecutive occurrences;
[0151] S8. In response to the vehicle entering a driving state, the difference between the real-time calibrated value of the vehicle's fuel gauge and the remaining fuel value of the vehicle at each detection moment is calculated. When an abnormal situation in which the difference between the real-time calibrated value of the vehicle's fuel gauge and the remaining fuel value of the vehicle exceeds a second preset fuel amount and occurs a second preset number of times consecutively, and the difference between the real-time calibrated value of the vehicle's fuel gauge and the remaining fuel value of the vehicle shows an increasing trend as the detection time changes, it is determined that the vehicle is in a slow oil leakage state.
[0152] Based on the above implementation, Figure 6 This is a flow chart of another oil quantity calibration method provided by an embodiment of the present invention, see Figure 6 The oil quantity calibration method comprises at least the following steps:
[0153] S1. In response to a vehicle entering a stationary state, recording a first fuel gauge display value and a first fuel level value.
[0154] S2. After the vehicle remains stationary for a preset time, detecting a second fuel level value.
[0155] S3. After the second oil level value detection is completed, a preset number of oil level resistance values are continuously collected to determine whether the oil level change trend corresponding to the preset number of oil level resistance values is an upward trend.
[0156] S4. When the difference between the second fuel level value and the first fuel gauge display value is not less than the first preset value, the difference between the second fuel level value and the first fuel level value is not less than the second preset value, and the fuel level change trend is an upward trend, the static refueling calibration strategy is triggered to achieve real-time calibration of the fuel gauge display value in the static refueling scenario.
[0157] S7. In response to the vehicle entering a driving state, a change in the real-time calibration value of the vehicle's fuel gauge and a change in the real-time fuel consumption value of the entire vehicle between adjacent detection moments are calculated. When the difference between the change in the real-time calibration value of the vehicle's fuel gauge and the change in the real-time fuel consumption value of the entire vehicle between adjacent detection moments exceeds a first preset oil amount and an abnormal situation occurs a first preset number of times consecutively, it is determined that the vehicle is in a rapid oil leakage state.
[0158] Among them, assuming that the detection cycle (i.e., the interval between adjacent detection moments) is 5000ms, that is, the vehicle is detected every 5s to see if it is in a rapid oil leakage state, then step S7 can specifically refer to calculating the difference between the change value of the real-time calibration value of the fuel gauge and the change value of the real-time fuel consumption value of the vehicle every 5s interval to determine whether the vehicle has a rapid oil leakage. If the above difference exceeds 5L (i.e., the first preset number of times, equivalent to continuous judgment for 500s) after 100 consecutive detections (i.e., the first preset oil volume), the rapid oil leakage judgment is established.
[0159] S8. In response to the vehicle entering a driving state, the difference between the real-time calibrated value of the vehicle's fuel gauge and the remaining fuel value of the vehicle at each detection moment is calculated. When an abnormal situation in which the difference between the real-time calibrated value of the vehicle's fuel gauge and the remaining fuel value of the vehicle exceeds a second preset fuel amount and occurs a second preset number of times consecutively, and the difference between the real-time calibrated value of the vehicle's fuel gauge and the remaining fuel value of the vehicle shows an increasing trend as the detection time changes, it is determined that the vehicle is in a slow oil leakage state.
[0160] Among them, assuming that the detection cycle (i.e., the interval between adjacent detection moments) is still 5000ms, step S8 can specifically refer to calculating the difference between the real-time calibration value of the vehicle's fuel gauge and the vehicle's remaining fuel value (the vehicle's remaining fuel value can be obtained by the oil level measurement sensor through oil resistance value conversion) every 5s interval to determine whether the vehicle has a slow oil leak. If the above difference is detected for 100 consecutive times (i.e., the second preset number of times, equivalent to continuous judgment for 500s) and exceeds 5L (i.e., the second preset oil volume), and the above difference gradually increases with time, then the slow oil leak judgment is established.
[0161] Therefore, this embodiment can, on the one hand, solve the technical problem that when a vehicle transitions from motion to stationary and finally refuels on a non-horizontal surface, the fuel tank level fluctuates due to changes in the vehicle's motion state or the slope, causing the oil float to fluctuate to varying degrees under the buoyancy of the oil surface, thus affecting the accuracy of the fuel level display. This triple determination effectively eliminates the possibility of the fuel tank level changing due to the inertia of the vehicle's own motion state or the slope. The static refueling calibration strategy is only triggered when the vehicle is confirmed to be in the refueling state, enabling real-time calibration of the fuel gauge display in static refueling scenarios. This improves the accuracy of the fuel gauge display and enhances the user experience. On the other hand, this embodiment can also monitor the vehicle from both rapid and slow oil leaks while it is in motion, which helps improve the user experience and ensures driving safety.
[0162] The embodiment of the present invention further provides an oil quantity calibration device, Figure 7This is a schematic diagram of the structure of a fuel level calibration device provided by an embodiment of the present invention. This embodiment is applicable to any scenario where a vehicle goes from motion to rest and finally refuels on a non-horizontal surface, such as fuel motorcycles, fuel tricycles, fuel cars, hybrid cars, etc. The fuel level calibration device can be implemented in software and / or hardware. Figure 7 As shown, the oil level calibration device provided in this embodiment includes at least:
[0163] The recording module 110 is at least configured to record a first fuel gauge display value and a first fuel level value in response to the vehicle entering a stationary state;
[0164] The detection module 120 is at least configured to detect a second fuel level value after the vehicle remains stationary for a predetermined period of time;
[0165] The acquisition module 130 is at least configured to continuously acquire a preset number of oil level resistance values after a preset time period to determine whether the oil level change trend corresponding to the preset number of oil level resistance values is an upward trend;
[0166] The strategy trigger module 140 is at least used to trigger the static refueling calibration strategy when the difference between the second fuel level value and the first fuel gauge display value is not less than a first preset value, the difference between the second fuel level value and the first fuel level value is not less than a second preset value, and the fuel level change trend after the preset time is an upward trend, so as to realize real-time calibration of the fuel gauge display value in the static refueling scenario.
[0167] Optionally, it also includes:
[0168] The fuel reduction strategy module 150 is at least used to trigger the static fuel reduction calibration strategy when the difference between the first fuel gauge display value and the second fuel level value is not less than the third preset value, the difference between the first fuel level value and the second fuel level value is not less than the fourth preset value, and the fuel level change trend after the preset time is a downward trend, so as to realize real-time calibration of the fuel gauge display value in the static fuel reduction scenario.
[0169] Optionally, the strategy triggering module 140 is at least specifically used to detect a first remaining fuel amount and calculate a first body tilt angle of the vehicle when the static refueling calibration strategy is triggered; and, determine a first fuel amount compensation value based on the first body tilt angle; and, calculate a real-time calibration value of the fuel gauge in a static refueling scenario based on the first fuel amount compensation value and the first remaining fuel amount value, and update the real-time calibration value of the fuel gauge in the static refueling scenario to the fuel gauge.
[0170] Optionally, the fuel reduction strategy module 150 is at least specifically used to detect the second remaining fuel amount and calculate the second body tilt angle of the vehicle when the static fuel reduction calibration strategy is triggered; and, determine the second fuel amount compensation value according to the second body tilt angle; and, calculate the real-time calibration value of the fuel gauge in the static fuel reduction scenario based on the second fuel amount compensation value and the second remaining fuel amount value, and update the real-time calibration value of the fuel gauge in the static fuel reduction scenario to the fuel gauge.
[0171] Optionally, it also includes:
[0172] a startup calibration module 160, configured to calculate, in response to the vehicle entering a startup state, a real-time fuel gauge calibration value after the vehicle is started based on the vehicle's real-time fuel consumption value, the real-time dynamic adjustment coefficient, and the final fuel gauge calibration value in a static refueling scenario, and to update the real-time fuel gauge calibration value after the vehicle is started to the fuel gauge;
[0173] The real-time calibration value of the fuel gauge after the vehicle is started is calculated at least in the following ways:
[0174] D = D1 - αC1;
[0175] In the above formula, D represents the real-time fuel gauge calibration value after the vehicle is started, D1 represents the final fuel gauge calibration value in the static refueling scenario, α represents the real-time dynamic adjustment coefficient, and C1 represents the real-time fuel consumption value of the vehicle;
[0176] The real-time fuel consumption value of the vehicle is updated through at least the following steps:
[0177] Determining a time interval for accumulating the instantaneous fuel consumption value according to the accuracy of the instantaneous fuel consumption value of the vehicle and the value type of the instantaneous fuel consumption value;
[0178] The instantaneous fuel consumption value is accumulated every accumulation time interval to update the real-time fuel consumption value of the vehicle;
[0179] The real-time dynamic adjustment parameters are determined at least in the following ways:
[0180] When the difference between the real-time remaining fuel value and the real-time fuel compensation value subtracted from the real-time fuel gauge calibration value after the vehicle is started is not less than a first threshold, the real-time dynamic adjustment parameter is set to the first value;
[0181] When the difference between the real-time remaining fuel value and the real-time fuel compensation value subtracted from the real-time fuel gauge calibration value after the vehicle is started is less than the first threshold but not less than the second threshold, the real-time dynamic adjustment parameter is set to the second value;
[0182] When the difference between the real-time remaining fuel value and the real-time fuel compensation value subtracted from the real-time calibration value of the fuel gauge after the vehicle is started is less than the second threshold but greater than the third threshold, the real-time dynamic adjustment parameter is set to the third value;
[0183] When the difference between the sum of the real-time remaining fuel value and the real-time fuel compensation value minus the real-time fuel gauge calibration value after the vehicle is started is not less than the first threshold, the real-time dynamic adjustment parameter is set to a fourth value;
[0184] When the difference between the sum of the real-time remaining fuel value and the real-time fuel compensation value minus the real-time fuel gauge calibration value after the vehicle is started is less than the first threshold but not less than the second threshold, the real-time dynamic adjustment parameter is set to a fifth value;
[0185] When the difference between the sum of the real-time remaining fuel value and the real-time fuel compensation value minus the real-time fuel gauge calibration value after the vehicle is started is less than the second threshold but greater than the third threshold, the real-time dynamic adjustment parameter is set to a sixth value;
[0186] When the difference between the real-time calibration value of the fuel gauge after the vehicle is started and the real-time remaining fuel value minus the real-time fuel compensation value is not greater than the third threshold, or the difference between the sum of the real-time remaining fuel value and the real-time fuel compensation value minus the real-time calibration value of the fuel gauge after the vehicle is started is not greater than the third threshold, the real-time dynamic adjustment parameter is set to the seventh value.
[0187] Optionally, it also includes:
[0188] The rapid oil leakage determination module 170 is configured to calculate, in response to the vehicle entering a driving state, a change in a real-time calibrated value of the vehicle's fuel gauge and a change in a real-time fuel consumption value of the entire vehicle between adjacent detection moments, and determine that the vehicle is in a rapid oil leakage state when the difference between the change in the real-time calibrated value of the vehicle's fuel gauge and the change in the real-time fuel consumption value of the entire vehicle between adjacent detection moments exceeds a first preset oil amount and a first preset number of consecutive abnormalities occurs;
[0189] The slow leak determination module 180 is at least used to calculate the difference between the real-time calibration value of the vehicle's fuel gauge and the remaining fuel value of the vehicle at each detection moment in response to the vehicle entering a driving state. When the abnormal situation in which the difference between the real-time calibration value of the vehicle's fuel gauge and the remaining fuel value of the vehicle exceeds a second preset fuel amount and occurs a second preset number of times in succession, and the difference between the real-time calibration value of the vehicle's fuel gauge and the remaining fuel value of the vehicle shows an upward trend as the detection time changes, it is determined that the vehicle is in a slow oil leakage state.
[0190] The embodiment provides an oil amount calibration device. First, in response to the vehicle entering a static state, a recording module records a first oil gauge display value and a first oil amount value; second, after the vehicle remains in the static state for a preset time, a detection module detects a second oil amount value; then, after the preset time, a collection module continuously collects a preset number of oil amount resistance values to determine whether an oil amount change trend corresponding to the preset number of oil amount resistance values is an upward trend; finally, when a difference between the second oil amount value and the first oil gauge display value is not less than a first preset value, a difference between the second oil amount value and the first oil amount value is not less than a second preset value, and the oil amount change trend after the preset time is an upward trend, a strategy triggering module triggers a static refueling calibration strategy to realize real-time calibration of the oil gauge display value in a static refueling scenario.
[0191] Therefore, in the embodiment, when the vehicle just stops running (i.e., the vehicle enters a static state), a recording module records an oil amount value displayed by a vehicle oil gauge (i.e., a first oil gauge display value) and an oil amount value measured by a mechanical oil level measurement sensor composed of an oil float and a mechanical structure (i.e., a first oil amount value); after the vehicle is parked for a preset time, a detection module obtains the oil amount value measured by the mechanical oil level measurement sensor again (i.e., detects a second oil amount value); after the second oil amount value is detected, a collection module continuously collects a preset number of oil amount resistance values generated by the mechanical structure driven by the oil float under the action of oil surface buoyancy, and then determines an oil amount change trend in the vehicle tank according to the change of each oil amount resistance value. It can be understood that if the difference between the second oil amount value and the first oil gauge display value (i.e., the difference between the second oil amount value and the first oil gauge display value) is less than the first preset value and / or the difference between the second oil amount value and the first oil amount value (i.e., the difference between the second oil amount value and the first oil gauge display value) is less than the second preset value, it indicates that the oil surface in the tank rises but the rising amplitude is not large, at this time, the tank liquid level is most likely to fluctuate due to the inertia of the change of the vehicle state and the slope, and the vehicle cannot be determined to be in a refueling state; only when the difference between the second oil amount value and the first oil gauge display value is not less than the first preset value, the difference between the second oil amount value and the first oil amount value is not less than the second preset value (such setting can effectively exclude the possibility of the change of the tank liquid level due to the inertia of the change of the vehicle state and the slope), and the oil amount change trend in the vehicle tank is an upward trend, a strategy triggering module determines that the vehicle is being refueled, at this time, a static refueling calibration strategy is triggered to realize real-time calibration of the oil gauge display value in a static refueling scenario.
[0192] In summary, the embodiment can solve the technical problem that the oil level in the tank is affected by the change of the motion state of the vehicle and the slope and fluctuates sharply in the scenario of the vehicle moving to static and finally being refueled on a non-horizontal surface, and the oil float fluctuates to different degrees under the action of the oil surface buoyancy, thereby affecting the accuracy of the oil display. Through the triple determination (i.e., whether the difference between the second oil value and the first oil display value is less than the first preset value, whether the difference between the second oil value and the first oil value is less than the second preset value, and whether the oil change trend in the tank of the vehicle is an upward trend), the possibility of the change of the oil level in the tank due to the inertia of the change of the motion state of the vehicle and the slope is effectively excluded. Only when the vehicle is in the refueling state, the static refueling calibration strategy is triggered, the real-time calibration of the oil display value in the static non-horizontal refueling scenario can be realized, the accuracy of the oil display is improved, and the user experience is improved.
[0193] The embodiment of the present application also provides an electronic device, Figure 8 It is a structural schematic diagram of an electronic device provided by the embodiment of the present application, referring to Figure 8 The electronic device 1000 includes a processor 1001 and a memory 1002, and the memory 1002 stores computer readable instructions. When the computer readable instructions are executed by the processor 1001, the steps in any one of the oil calibration methods described above are executed. Through the above technical solution, the processor 1001 and the memory 1002 are interconnected and communicate with each other through a communication bus and / or other forms of connection mechanism (not marked). The memory 1002 stores a computer program executable by the processor, and when the electronic device 1000 is running, the processor 1001 executes the computer program to execute the oil calibration method in any optional implementation manner of the above embodiment to realize the following functions: in response to the vehicle entering a static state, recording a first oil display value and a first oil value; after the vehicle remains in the static state for a preset time, detecting a second oil value; after the detection of the second oil value is completed, a preset number of oil resistance values are continuously collected to determine whether the oil change trend corresponding to the preset number of oil resistance values is an upward trend; when the difference between the second oil value and the first oil display value is not less than the first preset value, the difference between the second oil value and the first oil value is not less than the second preset value, and the oil change trend is an upward trend, a static refueling calibration strategy is triggered to realize the real-time calibration of the oil display value in the static refueling scenario.
[0194] An embodiment of the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the fuel quantity calibration method provided in all embodiments of the present application: in response to the vehicle entering a stationary state, recording a first fuel gauge display value and a first fuel quantity value; after the vehicle remains in a stationary state for a preset time, detecting a second fuel quantity value; after the second fuel quantity value detection is completed, continuously collecting a preset number of fuel quantity resistance values to determine whether the fuel quantity change trend corresponding to the preset number of fuel quantity resistance values is an upward trend; when the difference between the second fuel quantity value and the first fuel gauge display value is not less than the first preset value, the difference between the second fuel quantity value and the first fuel quantity value is not less than the second preset value, and the fuel quantity change trend is an upward trend, triggering a static refueling calibration strategy to achieve real-time calibration of the fuel gauge display value in a static refueling scenario.
[0195] Any combination of one or more computer-readable media can be used. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or device.
[0196] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0197] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0198] Computer program code for performing the operations of the present invention may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0199] An embodiment of the present invention further provides a vehicle, which is integrated with the oil level calibration device provided in all the embodiments of this application.
[0200] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for oil quantity calibration, characterized in that: At least: S1. In response to the vehicle entering a stationary state, recording a first fuel gauge display value and detecting a first fuel level value; S2. detecting a second fuel level value after the vehicle remains in the stationary state for a preset time; S3. After the second oil level value detection is completed, continuously collecting a preset number of oil level resistance values to determine whether the oil level change trend corresponding to the preset number of oil level resistance values is an upward trend; S4. When the difference between the second fuel level value and the first fuel gauge display value is not less than a first preset value, the difference between the second fuel level value and the first fuel level value is not less than a second preset value, and the fuel level change trend is an upward trend, trigger the static refueling calibration strategy to achieve real-time calibration of the fuel gauge display value in the static refueling scenario.
2. The oil quantity calibration method according to claim 1, characterized in that: After step S3, the method further includes: S5. When the difference between the first fuel gauge display value and the second fuel level value is not less than a third preset value, the difference between the first fuel level value and the second fuel level value is not less than a fourth preset value, and the fuel level change trend after the preset time is a downward trend, the static fuel reduction calibration strategy is triggered to achieve real-time calibration of the fuel gauge display value in the static fuel reduction scenario.
3. The oil quantity calibration method according to claim 1 or 2, characterized in that: The static refueling calibration strategy in step S4 at least includes: S41. When the static refueling calibration strategy is triggered, detecting a first remaining fuel level and calculating a first body tilt angle of the vehicle; S42, determining a first fuel level compensation value according to the first vehicle body tilt angle; S43: Calculate a real-time calibration value of the fuel gauge in the static refueling scenario based on the first fuel level compensation value and the first remaining fuel level value, and update the real-time calibration value of the fuel gauge in the static refueling scenario to the fuel gauge.
4. The oil quantity calibration method according to claim 2, characterized in that: The static fuel reduction calibration strategy in step S5 at least includes: S51. When the static fuel reduction calibration strategy is triggered, detecting a second remaining fuel amount and calculating a second body tilt angle of the vehicle; S52, determining a second fuel level compensation value according to the second vehicle body tilt angle; S53: Calculate a real-time calibration value of the fuel gauge in the static fuel reduction scenario based on the second fuel level compensation value and the second remaining fuel level value, and update the real-time calibration value of the fuel gauge in the static fuel reduction scenario to the fuel gauge.
5. The oil quantity calibration method according to claim 1, characterized in that: After step S4, the method further includes: S6. In response to the vehicle entering the start state, calculating a real-time calibration value of the fuel gauge after the vehicle is started based on the real-time fuel consumption value of the vehicle, the real-time dynamic adjustment coefficient, and the final fuel gauge calibration value in the static refueling scenario, and updating the real-time calibration value of the fuel gauge after the vehicle is started to the fuel gauge; The real-time calibration value of the fuel gauge after the vehicle is started is calculated at least in the following manner: D=D1-αC1; In the above formula, D represents the real-time calibration value of the fuel gauge after the vehicle is started, D1 represents the final calibration value of the fuel gauge in the static refueling scenario, α represents the real-time dynamic adjustment coefficient, and C1 represents the real-time fuel consumption value of the vehicle; The real-time fuel consumption value of the vehicle is updated at least through the following steps: determining an accumulation time interval for the instantaneous fuel consumption value according to the accuracy of the instantaneous fuel consumption value of the vehicle and the value type of the instantaneous fuel consumption value; Accumulating the instantaneous fuel consumption value once every accumulation time interval to update the real-time fuel consumption value of the vehicle; The real-time dynamic adjustment parameters are determined at least in the following ways: When the difference between the real-time remaining fuel value and the real-time fuel compensation value subtracted from the real-time calibration value of the fuel gauge after the vehicle is started is not less than a first threshold, the real-time dynamic adjustment parameter is set to the first value; When the difference between the real-time remaining fuel value and the real-time fuel compensation value subtracted from the real-time fuel gauge calibration value after the vehicle is started is less than the first threshold but not less than the second threshold, the real-time dynamic adjustment parameter is set to the second value; When the difference between the real-time remaining fuel value and the real-time fuel compensation value subtracted from the real-time fuel gauge calibration value after the vehicle is started is less than the second threshold but greater than a third threshold, the real-time dynamic adjustment parameter is set to a third value; When a difference between the sum of the real-time remaining fuel value and the real-time fuel compensation value minus the real-time fuel gauge calibration value after the vehicle is started is not less than the first threshold, the real-time dynamic adjustment parameter is set to a fourth value; When a difference between the sum of the real-time remaining fuel value and the real-time fuel compensation value minus the real-time fuel gauge calibration value after the vehicle is started is less than the first threshold but not less than the second threshold, the real-time dynamic adjustment parameter is set to a fifth value; When a difference obtained by subtracting the real-time calibration value of the fuel gauge after the vehicle is started from the sum of the real-time remaining fuel value and the real-time fuel compensation value is less than the second threshold but greater than the third threshold, the real-time dynamic adjustment parameter is set to a sixth value; When the difference between the real-time remaining fuel value and the real-time fuel compensation value subtracted from the real-time calibration value of the fuel gauge after the vehicle is started is not greater than the third threshold, or the difference between the sum of the real-time remaining fuel value and the real-time fuel compensation value subtracted from the real-time calibration value of the fuel gauge after the vehicle is started is not greater than the third threshold, the real-time dynamic adjustment parameter is set to the seventh value.
6. The oil quantity calibration method according to claim 1, characterized in that: After step S4, the method further includes: S7. In response to the vehicle entering a driving state, calculating a change in a real-time calibrated value of the fuel gauge of the vehicle and a change in a real-time fuel consumption value of the entire vehicle between adjacent detection moments, and determining that the vehicle is in a rapid fuel leakage state when a difference between the change in the real-time calibrated value of the fuel gauge of the vehicle and the change in the real-time fuel consumption value of the entire vehicle between the adjacent detection moments exceeds a first preset fuel amount abnormality and occurs a first preset number of times consecutively; S8. In response to the vehicle entering a driving state, calculating the difference between the real-time calibrated value of the fuel gauge of the vehicle and the remaining fuel value of the vehicle at each detection moment; when an abnormal situation in which the difference between the real-time calibrated value of the fuel gauge of the vehicle and the remaining fuel value of the vehicle exceeds a second preset fuel amount and occurs a second preset number of times consecutively, and the difference between the real-time calibrated value of the fuel gauge of the vehicle and the remaining fuel value of the vehicle shows an increasing trend as the detection moment changes, it is determined that the vehicle is in a slow oil leakage state.
7. An oil quantity calibration device, characterized in that: At least: a recording module, configured to record a first fuel gauge display value and detect a first fuel level value in response to the vehicle entering a stationary state; a detection module, configured to detect a second fuel level value at least after the vehicle remains in the stationary state for a preset time; The collecting module is at least used to continuously collect a preset number of oil resistance values after the preset time to determine whether the oil level change trend corresponding to the preset number of oil resistance values is an upward trend; The strategy triggering module is used to trigger the static refueling calibration strategy at least when the difference between the second fuel level value and the first fuel gauge display value is not less than a first preset value, the difference between the second fuel level value and the first fuel level value is not less than a second preset value, and the fuel level change trend after the preset time is an upward trend, so as to realize real-time calibration of the fuel gauge display value in a static refueling scenario.
8. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps in the oil quantity calibration method according to any one of claims 1 to 6 are executed.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the oil quantity calibration method according to any one of claims 1 to 6 is implemented.
10. A vehicle, characterized in that: At least the oil quantity calibration device according to claim 7 is integrated.
Citation Information
Patent Citations
Oil tank remaining oil volume detection method, device and vehicle
CN106556451A
Method for detecting fueling state of gasoline engine vehicle
CN109630267A