Automobile fuel tank low liquid level alarm method, system, electronic device and storage medium
By obtaining the resistance value of the fuel tank level sensor and the vehicle inclination angle, combined with the number of engine restarts, the false alarm problem caused by the tilt of the fuel tank in traditional methods is solved, and accurate oil quantity judgment and alarm under different working conditions are achieved.
Patent Information
- Application Number
- CN202310088990.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-03
- Publication Date
- 2025-07-25
- Estimated Expiration
- 2043-02-03
AI Technical Summary
When judging the cause of the vehicle engine stall, traditional methods are prone to falsely report the engine abnormality due to the tilt of the fuel tank, and it is impossible to accurately distinguish whether it is insufficient fuel or the reduction in the amount of fuel caused by the tilt of the vehicle.
By obtaining the real-time resistance value of the fuel tank level sensor, combining the vehicle tilt angle and the number of engine restarts, we can judge the real reason for the engine's shutdown and issue accurate alarm information.
Accurately judge the fuel level of the fuel tank under different working conditions, avoid false alarms of engine abnormalities, and provide accurate warnings of insufficient oil volume or faults.
Smart Images

Figure CN116080397B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of vehicle alarm, and particularly relates to a method, a system, an electronic device and a storage medium for low fuel level alarm of a vehicle fuel tank. Background Art
[0002] For plug-in hybrid vehicles, there is a situation where the fuel runs out during in-situ operation. In this case, the engine cannot be started. For in-situ operation and engine shutdown, in addition to being possibly caused by fuel exhaustion, it may also be caused by engine failure. To prompt the user of the real reason for the engine shutdown, the traditional method is to set a fuel quantity reference value, and judge and prompt whether the engine start is abnormal through this fuel quantity reference value. The specific method is as follows: If the detected fuel quantity value is above the fuel quantity reference value, it means that the current fuel quantity is sufficient. If the fuel quantity is sufficient but the engine cannot be started normally, the user interface will prompt an engine abnormality alarm to remind the user that the engine needs to be repaired; if the detected fuel quantity value is below the fuel quantity reference value, it means that there is no fuel or the fuel quantity is too low, resulting in the engine not being able to start normally, then the user interface will not issue an alarm prompt for engine abnormality, but only issue an alarm prompt for low fuel level. Through the above method, false prompts for engine abnormality alarms are avoided.
[0003] The traditional method for judging the real reason for engine shutdown only judges based on the detected fuel quantity value. This method can make normal judgments and prompts on a horizontal road surface. However, on slopes in different directions, the fuel tank may tilt, and the liquid level of the fuel inside the fuel tank will also tilt accordingly. When calculating and displaying the fuel quantity value, only the fuel quantity in the non-tilted working condition (i.e., flat road working condition) of the vehicle is calculated and displayed. When the vehicle enters the slope working condition, its current fuel quantity value is still the value in the flat road working condition. This results in a situation where although the current fuel quantity value is above the fuel quantity reference value, there may be a situation where the engine suction pipe cannot suck up fuel due to the tilt of the fuel liquid level inside the fuel tank. At this time, the engine cannot be started normally. In this case, the alarm prompt issued by the user interface is engine abnormality. In fact, the engine is not abnormal. The engine cannot be started normally because the available fuel quantity in the fuel tank decreases due to vehicle tilt. This shows that the traditional method of only judging the real reason for engine shutdown based on the fuel quantity value has false prompts for engine abnormality alarms, which affects the user's use. Therefore, this application proposes a method, a system, an electronic device and a storage medium for low fuel level alarm of a vehicle fuel tank. Summary of the Invention
[0004] The purpose of this application is to provide a method, a system, an electronic device and a storage medium for low fuel level alarm of a vehicle fuel tank for the above problems.
[0005] In a first aspect, the present application provides a method for low fuel level alarm of an automobile fuel tank, and the method includes the following steps:
[0006] When it is detected that the engine is turned off, obtain the real-time resistance value of the fuel tank level sensor;
[0007] When it is determined that the real-time resistance value is less than or equal to a first preset threshold, drive the engine to restart a first preset number of times; each time the engine starts, a first counter is incremented by 1 to obtain a first cumulative number of times;
[0008] When it is determined that the first cumulative number of times is equal to the first preset number of times and the engine fails to start successfully, send a first alarm message to the display device; the first alarm message is used to prompt an engine fault.
[0009] According to the technical solution provided by some embodiments of the present application, after detecting that the engine is turned off and obtaining the real-time resistance value of the fuel tank level sensor, the following steps are further included:
[0010] When it is determined that the real-time resistance value is greater than the first preset threshold, drive the engine to restart a second preset number of times; each time the engine starts, a second counter is incremented by 1 to obtain a second cumulative number of times;
[0011] When it is determined that the second cumulative number of times is equal to the second preset number of times and the engine fails to start successfully, send a second alarm message to the display device; the second alarm message is used to prompt insufficient fuel.
[0012] According to the technical solution provided by some embodiments of the present application, after detecting that the engine is turned off and obtaining the real-time resistance value of the fuel tank level sensor, and before determining that the real-time resistance value is less than or equal to the first preset threshold, the following steps are further included:
[0013] Obtain the vehicle tilt angle;
[0014] When it is determined that the vehicle tilt angle is greater than or equal to a second preset threshold, query a first database to obtain the first preset threshold; the first database includes: multiple different tilt angle ranges and the first preset thresholds corresponding to each tilt angle range.
[0015] According to the technical solution provided by some embodiments of the present application, after determining that the vehicle tilt angle is greater than or equal to the second preset threshold, and before determining that the real-time resistance value is less than or equal to the first preset threshold, the following steps are further included:
[0016] Obtain a first moment, where the first moment is the moment when the vehicle stops;
[0017] Obtain a second moment, where the second moment is the moment when the engine is turned off;
[0018] Calculate the parking duration according to the second moment and the first moment;
[0019] Determine that the parking duration is less than or equal to a third preset threshold, obtain a preset correction ratio, and correct the real-time resistance value according to the correction ratio to correct the real-time resistance value measured when the liquid level in the fuel tank is in an unstable state of shaking.
[0020] According to the technical solution provided by some embodiments of the present application, the step of obtaining the preset correction ratio includes:
[0021] According to the vehicle tilt angle, call a second database to obtain the correction ratio of the first preset threshold;
[0022] The second database includes: a plurality of different tilt angle ranges and correction ratios corresponding to each tilt angle range.
[0023] According to the technical solution provided by some embodiments of the present application, the step of constructing the first database includes:
[0024] Set a total range of tilt angle tests and divide the total range of tilt angle tests into a plurality of tilt angle ranges;
[0025] Select at least three tilt angle values in each of the tilt angle ranges, and respectively test the critical resistance values of the fuel tank liquid level sensor when the vehicle is at different tilt angle values, obtain a set of critical resistance values corresponding to each tilt angle range, and form a critical resistance value sequence;
[0026] Traverse the critical resistance value sequence, calculate the average value of all the critical resistance values in the critical resistance value sequence, and obtain the first preset threshold corresponding to the tilt angle range.
[0027] According to the technical solution provided by some embodiments of the present application, when testing the critical resistance value of the fuel tank liquid level sensor when the vehicle is at different tilt angle values, the specific steps include:
[0028] Tilt the test vehicle to the left to the tilt angle value, detect the critical resistance value of the fuel tank liquid level sensor that can start the engine, and detect at least twice to obtain at least two critical resistance values, and form a first resistance value set by at least two critical resistance values;
[0029] Tilt the test vehicle to the right to the tilt angle value, detect the critical resistance value of the fuel tank liquid level sensor that can start the engine, and detect at least twice to obtain at least two critical resistance values, and form a second resistance value set by at least two critical resistance values;
[0030] From the union of the first resistance value set and the second resistance value set, screen out the critical resistance value with the largest numerical value as the critical resistance value of the fuel tank level sensor for engine starting when the vehicle is at the current tilt angle value.
[0031] Second, the present application provides an automotive fuel tank low-level alarm system, including:
[0032] An acquisition module configured to obtain the real-time resistance value of the fuel tank level sensor when it is detected that the engine is turned off.
[0033] A first control module configured to drive the engine to restart a first preset number of times when it is determined that the real-time resistance value is less than or equal to a first preset threshold; the first control module is further configured to control a first counter to increment by 1 each time the engine starts and obtain a first cumulative count.
[0034] A first alarm module configured to send a first alarm message to a display device when it is determined that the first cumulative count is equal to the first preset number of times and the engine fails to start successfully; the first alarm message is used to prompt an engine fault.
[0035] A second control module configured to drive the engine to restart a first preset number of times when it is determined that the real-time resistance value is greater than the first preset threshold; the second control module is further configured to control a second counter to increment by 1 each time the engine starts and obtain a second cumulative count.
[0036] A second alarm module configured to send a second alarm message to the display device when it is determined that the second cumulative count is equal to a second preset number of times and the engine fails to start successfully; the second alarm message is used to prompt insufficient fuel.
[0037] Third, the present application provides an electronic device, which includes:
[0038] A memory, a processor, and a computer program stored on the memory and executable on the processor.
[0039] When the computer program is executed by the processor, the steps of the above-mentioned automotive fuel tank low-level alarm method are implemented.
[0040] Fourth, the present application provides a computer-readable storage medium, on which an automotive fuel tank low-level alarm program is stored. When the automotive fuel tank low-level alarm program is executed by a processor, the steps of the above-mentioned automotive fuel tank low-level alarm method are implemented.
[0041] Compared with the prior art, the beneficial effects of the present application are as follows: The low fuel level alarm method for an automobile fuel tank provided by the present application is applicable to both flat road conditions and ramp conditions. It judges and issues corresponding alarm prompts based on the real-time resistance value obtained from the fuel tank level sensor. The real-time resistance value of the fuel tank level sensor is obtained in real time, and it will not stop obtaining due to different vehicle operating conditions. However, the magnitude of the real-time resistance value will change in real time due to different vehicle operating conditions, and it can relatively truly reflect the real situation of the lowest position of the fuel level inside the fuel tank under the current operating condition. The present application obtains the real-time resistance value of the level sensor, compares it with the first preset threshold, and determines the real cause of the engine shutdown by restarting the engine a certain preset number of times, so as to output accurate alarm information and avoid sending false prompts for abnormal engine alarms. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 is a flowchart of the low fuel level alarm method for an automobile fuel tank provided in Embodiment 1 of the present application;
[0043] Figure 2 is a schematic structural diagram of the server provided in Embodiment 7 of the present application.
[0044] The text annotations in the figure are indicated as:
[0045] 400. Server; 401. Central processing unit (CPU); 402. Read-only memory (ROM); 403. Random access memory (RAM); 404. Bus; 405. Input / output (I / O) interface; 406. Input part; 407. Output part; 408. Storage part; 409. Communication part; 410. Driver; 411. Removable medium. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0046] In order to enable those skilled in the art to better understand the technical solution of the present application, the present application will be described in detail below with reference to the accompanying drawings. The description of this part is only exemplary and explanatory, and should not have any restrictive effect on the protection scope of the present application.
[0047] It should be noted that: Similar reference numerals and letters denote similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.
[0048] Embodiment 1
[0049] This embodiment provides a low fuel level alarm method for an automobile fuel tank. The flowchart of the method is as Figure 1 shown, and the method includes the following steps:
[0050] S10. When it is detected that the engine shuts down, obtain the real-time resistance value of the fuel tank level sensor.
[0051] Vehicle user interfaces generally have the function of displaying the current fuel level. For the detection of the current fuel level, a liquid level sensor is usually set in the fuel tank, and most of them are float-type liquid level sensors, which can detect the fuel quantity value inside the fuel tank in real time.
[0052] During the actual use of the vehicle, the user may temporarily park the vehicle by the roadside for reasons such as waiting for someone or answering a call. When parked, the vehicle is running in place, that is, the engine is in the idle condition. During this process, the engine may stall. When it is detected that the engine stalls, first, the real-time resistance value of the fuel tank liquid level sensor needs to be obtained. The size of the resistance value of the liquid level sensor can represent the fuel quantity in the fuel tank. The larger the resistance value of the liquid level sensor, the lower the fuel quantity in the fuel tank. On the contrary, the smaller the resistance value of the liquid level sensor, the higher the fuel quantity in the fuel tank.
[0053] S20. When it is determined that the real-time resistance value is less than or equal to the first preset threshold, drive the engine to restart for the first preset number of times; each time the engine starts, the first counter accumulates by 1 to obtain the first accumulated number of times.
[0054] The first preset threshold is set in advance and is the reference value for judgment, which is obtained during the test drive. Optionally, the first preset threshold is the critical resistance value of the liquid level sensor that can start the engine measured when the vehicle is at the preset maximum tilt angle. Among them, the preset maximum tilt angle is set according to the actual vehicle use situation and the installation position of the conventional fuel tank. The value range of the preset maximum tilt angle is generally 10-15°. If the fuel tank is installed on the left or right side of the vehicle, the value of the maximum tilt angle can be slightly larger. If the fuel tank is installed in the middle part of the vehicle, the value of the maximum tilt angle can be slightly smaller.
[0055] It should be noted that the "tilt" in this embodiment refers to the left-right tilt of the vehicle, rather than the front-back tilt. This is because when designing the fuel tank, in order to avoid chassis components or due to other space limitations, the fuel tank is designed to be long and flat, and it is mostly installed horizontally during installation. The shape and installation method of the above fuel tank determine that the front-back tilt of the vehicle has little impact on the fuel suction of the engine's suction pipe, which can be almost ignored, while the left-right tilt of the vehicle has a greater impact on the fuel suction of the engine's suction pipe. Therefore, this embodiment considers the situation of the vehicle's left-right tilt. For the case where the long and flat fuel tank is installed longitudinally, the front-back tilt of the vehicle needs to be considered. In this case, the tilt of the vehicle refers to the front-back tilt of the vehicle.
[0056] Next, taking a certain vehicle model as an example, the method for obtaining the first preset threshold is described. The specific obtaining method includes the following steps:
[0057] Step 1: Select the maximum tilt angle A, for example 12°, and build a test bench that can tilt the vehicle to the maximum tilt angle A.
[0058] Step 2: Drive the test vehicle onto the test bench and tilt it by angle A to one side (for example, to the left), and evacuate the fuel in the fuel tank of the test vehicle.
[0059] Step 3: Inject fuel into the fuel tank of the test vehicle in small amounts and multiple times, and obtain the resistance value of the liquid level sensor in real time. Each time fuel is added, control the engine to start once. If the start fails this time, continue to add fuel. If the start is successful this time, record the resistance value of the liquid level sensor obtained currently. To improve the accuracy, multiple repeated tests can be carried out to obtain multiple (for example, 5) resistance values of the liquid level sensor.
[0060] Step 4: Drive the test vehicle onto the test bench and tilt it by angle A to the other side (for example, to the right), and evacuate the fuel in the fuel tank of the test vehicle.
[0061] Step 5: Inject fuel into the fuel tank of the test vehicle in small amounts and multiple times, and obtain the resistance value of the liquid level sensor in real time. Each time fuel is added, control the engine to start once. If the start fails this time, continue to add fuel. If the start is successful this time, record the resistance value of the liquid level sensor obtained currently. To improve the accuracy, multiple repeated tests can be carried out to obtain multiple (for example, 5) resistance values of the liquid level sensor.
[0062] Step 6: Sort the resistance values of the liquid level sensor recorded in Step 3 and the resistance values of the liquid level sensor recorded in Step 5, and select the minimum resistance value of the liquid level sensor as the critical resistance value that can start the engine normally, that is, the first preset threshold. In this embodiment, the size of the first preset threshold is 300Ω.
[0063] When it is judged that the real-time resistance value is less than or equal to the first preset threshold, it can be preliminarily predicted that the fuel quantity in the current fuel tank is relatively sufficient. At this time, drive the engine to restart the first preset number of times. The first preset number of times is also stored in advance, and its value is generally 3 times. Each time the engine restarts, control the first counter to increment by 1, and use the current value of the first counter as the first cumulative number of times, where the initial value of the first counter is 0. If the engine restart is successful, the restart command will no longer be executed and no prompt will be issued, and at the same time, the first counter needs to be reset.
[0064] S30: When it is judged that the first cumulative number of times is equal to the first preset number of times and the engine has not started successfully, send a first alarm message to the display device; the first alarm message is used to prompt an engine failure.
[0065] When the first cumulative count is equal to the first preset count, that is, when the engine has been restarted up to the first preset count, if the engine still fails to restart successfully at this time, it is determined that the engine has a fault. At this time, a first alarm message will be sent to the vehicle display device, which refers to the instrument display screen in front of the driver. When it receives the first alarm message, the engine fault alarm light will turn on to prompt the driver that the engine has a fault.
[0066] Further, after step s10, the following steps are further included:
[0067] s40. When it is determined that the real-time resistance value is greater than the first preset threshold, drive the engine to restart for a second preset number of times; each time the engine starts, the second counter is incremented by 1 to obtain the second cumulative count.
[0068] When it is determined that the real-time resistance value is greater than the first preset threshold, it can be preliminarily predicted that the fuel quantity in the current fuel tank is relatively insufficient. At this time, drive the engine to restart for a second preset number of times, and the second preset number of times is also stored in advance, and its value is generally 2 times; each time the engine is restarted, control the second counter to be incremented by 1, and use the current value of the second counter as the second cumulative count, where the initial value of the second counter is 0; if the engine restarts successfully, the restart command will no longer be executed and no prompt will be issued, and at the same time, the second counter needs to be reset.
[0069] s50. When it is determined that the second cumulative count is equal to the second preset count and the engine fails to start successfully, send a second alarm message to the display device; the second alarm message is used to prompt that the fuel quantity is insufficient.
[0070] When the second cumulative count is equal to the second preset count, that is, when the engine has been restarted up to the second preset count, if the engine still fails to restart successfully at this time, it is determined that the fuel level is low. At this time, a second alarm message will be sent to the vehicle display device. When it receives the second alarm message, the low fuel level alarm light will turn on to prompt the driver to refuel in time.
[0071] The method for alarming low liquid level of the automobile fuel tank provided by this embodiment makes a judgment based on the real-time resistance value of the fuel tank liquid level sensor obtained. The real-time resistance value of the fuel tank liquid level sensor is obtained in real time, and it will not stop obtaining due to different working conditions of the vehicle, and the size of the real-time resistance value will change in real time due to different working conditions of the vehicle. It can relatively truly reflect the real situation of the lowest position of the fuel liquid level inside the fuel tank under the current working condition. By comparing it with the first preset threshold determined during the test drive stage and restarting the engine a certain preset number of times, the real cause of the engine stalling can be accurately judged, so as to output accurate alarm information and avoid sending false prompts for abnormal engine alarms.
[0072] Embodiment 2
[0073] This embodiment provides a method for low fuel level alarm of an automobile fuel tank. This alarm method is a further improvement based on Embodiment 1. The same parts of this application and Embodiment 1 will not be repeated. The differences are as follows: Between step s10 and step s20, the following steps are further included:
[0074] s11. Obtain the vehicle tilt angle.
[0075] Generally, a gyroscope sensor is configured in the vehicle, and the vehicle tilt angle can be obtained through the gyroscope sensor. Here, the tilt angle refers to the tilt angle of the vehicle to the left / right.
[0076] s12. When it is determined that the vehicle tilt angle is greater than or equal to a second preset threshold, query the first database to obtain the first preset threshold; the first database includes: multiple different tilt angle ranges and the first preset thresholds corresponding to each tilt angle range.
[0077] The second preset threshold is set in advance. When the tilt angle of the vehicle is small, its influence on the fuel suction of the engine suction pipe is not significant. Therefore, the second preset threshold is generally set to 5°. If the current vehicle tilt angle is greater than or equal to the second preset threshold, that is, greater than or equal to 5°, call the first database, and traverse the first database with the current vehicle tilt angle to obtain the tilt angle range corresponding to the current vehicle tilt angle, and obtain the corresponding first preset threshold therefrom.
[0078] The first database is obtained by testing the test vehicle at different tilt angles during the test drive stage. It contains multiple different tilt angle ranges and the first preset thresholds corresponding to each tilt angle range; the specific construction method of the first database includes the following steps:
[0079] s01. Set the total tilt angle test range and divide the total tilt angle test range into multiple tilt angle ranges.
[0080] The total tilt angle test range is artificially set according to the actual vehicle use situation and the installation position of the conventional fuel tank, and is generally set to 5 - 12°; for the division of the total tilt angle test range, the more groups are divided, the more accurate the result of the low fuel level alarm of the automobile fuel tank. In this embodiment, a total of 7 tilt angle ranges are divided, and the difference between the maximum value and the minimum value of each tilt angle range is 1°.
[0081] s02. Select at least three tilt angle values in each tilt angle range, and respectively test the critical resistance values of the fuel tank level sensor when the vehicle is at different tilt angle values, to obtain a set of critical resistance values corresponding to each tilt angle range, forming a critical resistance value sequence.
[0082] When selecting the inclination angle values, try to select them evenly, and the number of selected values should be at least three. For example, for the inclination angle range of 5 - 6°, 5°, 5.5°, and 6° can be selected for testing. When the test vehicle is at different said inclination angle values, the critical resistance value of the fuel tank level sensor for engine startup includes the following steps:
[0083] S021: Tilt the test vehicle to the left to the said inclination angle value, detect the critical resistance value of the fuel tank level sensor that can enable the engine to start, and detect it at least twice to obtain at least two critical resistance values, which form the first resistance value set.
[0084] S022: Tilt the test vehicle to the right to the said inclination angle value, detect the critical resistance value of the fuel tank level sensor that can enable the engine to start, and detect it at least twice to obtain at least two critical resistance values, which form the second resistance value set.
[0085] S023: From the union of the first resistance value set and the second resistance value set, screen out the critical resistance value with the largest numerical value as the critical resistance value of the fuel tank level sensor for engine startup when the vehicle is at the current said inclination angle value.
[0086] For any inclination angle value, it is necessary to test the vehicle's left and right tilts separately. Each side is tested at least twice, and two sets are obtained from the two-sided tests, namely the first resistance value set and the second resistance value set. Each set contains at least two critical resistance values of the fuel tank level sensor corresponding to the current inclination angle value that can enable the engine to start. Compare all the critical resistance values in the two sets, and screen out the critical resistance value with the largest numerical value as the critical resistance value of the fuel tank level sensor for engine startup when the vehicle is at the current said inclination angle value. The critical resistance values corresponding to each inclination angle value within a set of inclination angle ranges form a critical resistance value sequence.
[0087] S03: Traverse the critical resistance value sequence, calculate the average value of all the critical resistance values in the critical resistance value sequence to obtain the first preset threshold corresponding to the said inclination angle range.
[0088] The number of critical resistance values in the obtained critical resistance value sequence is the same as the number of inclination angle values selected for testing within a set of inclination angle ranges. Calculate the average value of all the critical resistance values, and the obtained result is the first preset threshold corresponding to the current inclination angle range.
[0089] Adopt the same test method for each group of inclination angle ranges. After the test is completed, the first database is obtained. The data stored in the first database is shown in Table 1.
[0090] Table 1
[0091]
[0092]
[0093] The method for low fuel level alarm of an automobile fuel tank provided in this embodiment obtains a corresponding first preset threshold from a first database according to the tilt angle of the current vehicle condition, and uses it as a benchmark for judging the true cause of engine shutdown. Among them, the data in the first database is obtained by testing ramps at different angles in different directions during the test drive stage. The alarm method of this embodiment can accurately judge the true cause of engine shutdown, and thus can accurately output corresponding alarm information.
[0094] Embodiment 3
[0095] This application provides a method for low fuel level alarm of an automobile fuel tank. This alarm method is a further improvement based on Embodiment 2. The same parts of this application and Embodiment 2 will not be elaborated, and the differences are as follows: The following steps are further included between step s10 and step s20:
[0096] s13. Obtain a first moment, where the first moment is the moment when the vehicle stops.
[0097] The first moment is the moment when the vehicle has just stopped and the vehicle speed is zero.
[0098] s14. Obtain a second moment, where the second moment is the moment when the engine shuts down.
[0099] The second moment is the moment when the engine shuts down under the idle condition of the vehicle. During the period from the first moment to the second moment, the vehicle speed of the vehicle has always been zero, and the engine has always been in a working state.
[0100] s15. Calculate the parking duration according to the second moment and the first moment.
[0101] The parking duration is the engine idle duration, which is equal to the difference between the second moment and the first moment.
[0102] s16. Judge that the parking duration is less than or equal to a third preset threshold, obtain a preset correction ratio, and correct the real-time resistance value according to the correction ratio to correct the real-time resistance value measured when the liquid level in the fuel tank is in a shaking and unstable state.
[0103] The third preset threshold is set in advance, and its value is generally 0.5 to 1 minute. When the vehicle has just stopped, although the vehicle speed has dropped to 0, the liquid level in the fuel tank is still in a shaking and unstable state. Therefore, the real-time resistance value measured by the liquid level sensor may not be very accurate. Therefore, it is necessary to use the preset correction ratio to correct it.
[0104] Among them, the step of obtaining the preset correction ratio includes: according to the vehicle tilt angle, calling the second database to obtain the correction ratio of the real-time resistance value; the second database includes: multiple different tilt angle ranges and the correction ratios corresponding to each tilt angle range.
[0105] The second database is established based on experience. The correction ratio is greater than 0.9 and less than 1. To correct the real-time resistance value, multiply the real-time resistance value by the correction ratio; because the vehicle engine shuts down in a very short time just after parking, it is less likely to be fuel shortage and more likely to be engine failure. Therefore, use the correction ratio to correct it to make the correction relatively smaller, with the aim of driving the engine to restart the first preset number of times as much as possible to further confirm whether it is an engine failure; in addition, the smaller the tilt angle of the vehicle, the closer the real-time resistance value detected by the liquid level sensor is to the true value, and the larger the tilt angle of the vehicle, the less close the real-time resistance value detected by the liquid level sensor is to the true value. Therefore, the setting principle of the correction ratio is: the smaller the tilt angle, the larger the correction ratio; the larger the tilt angle, the smaller the correction ratio; the second database contains multiple different tilt angle ranges and the correction ratios corresponding to each tilt angle range; the data stored in the second database is shown in Table 2.
[0106] Table 2
[0107]
[0108] The method for low liquid level alarm of an automobile fuel tank provided in this embodiment takes into account the problem that the real-time resistance value of the liquid level sensor is inaccurate due to the unstable shaking of the liquid level in the fuel tank when the parking duration is short. When the parking duration is short, according to the tilt angle of the current working condition of the vehicle, obtain the corresponding correction ratio from the second database, and use the correction ratio to correct the real-time resistance value of the liquid level sensor, which can more accurately judge the real reason for the engine shutdown, and thus can more accurately output the corresponding alarm information.
[0109] Embodiment 4
[0110] The embodiment of the present application provides an automobile fuel tank low liquid level alarm system, which includes: a collection module, a first control module, a first alarm module, a second control module, and a second alarm module.
[0111] The acquisition module is configured to obtain the real-time resistance value of the fuel tank level sensor when it detects that the engine has stalled.
[0112] The first control module is configured to drive the engine to restart a first preset number of times when it determines that the real-time resistance value is less than or equal to a first preset threshold; the first control module is also configured to control a first counter to increment by 1 each time the engine starts and obtain a first cumulative count.
[0113] The first alarm module is configured to send a first alarm message to the display device when it determines that the first cumulative count is equal to the first preset number of times and the engine fails to start successfully; the first alarm message is used to indicate an engine fault.
[0114] The second control module is configured to drive the engine to restart a first preset number of times when it determines that the real-time resistance value is greater than the first preset threshold; the second control module is also configured to control a second counter to increment by 1 each time the engine starts and obtain a second cumulative count.
[0115] The second alarm module is configured to send a second alarm message to the display device when it determines that the second cumulative count is equal to a second preset number of times and the engine fails to start successfully; the second alarm message is used to indicate insufficient fuel.
[0116] The automobile fuel tank low-level alarm system provided in this embodiment adopts the automobile fuel tank low-level alarm method described in Embodiment 1. For the specific alarm method, refer to the description of Embodiment 1, and details are not repeated in this embodiment.
[0117] Embodiment 5
[0118] This embodiment provides an electronic device, which includes:
[0119] A memory, a processor, and a computer program stored on the memory and executable on the processor;
[0120] When the computer program is executed by the processor, it implements the steps of the automobile fuel tank low-level alarm method described in any one of Embodiments 1 to 3.
[0121] Embodiment 6
[0122] This embodiment provides a computer-readable storage medium, on which an automobile fuel tank low-level alarm program is stored. When the automobile fuel tank low-level alarm program is executed by a processor, it implements the steps of the automobile fuel tank low-level alarm method described in any one of Embodiments 1 to 3.
[0123] Embodiment 7
[0124] This embodiment provides a server 400, as Figure 2 shown, the server 400 includes a central processing unit (CPU) 401, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 402 or the program loaded from the storage part into the random access memory (RAM) 403. In the RAM 403, various programs and data required for system operation are also stored. The CPU 401, ROM 402, and RAM 403 are connected to each other through a bus 404. The input / output (I / O) interface 405 is also connected to the bus 404.
[0125] The following components are connected to the I / O interface 405: an input part 406 including a keyboard, a mouse, etc.; an output part 407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc. and a speaker, etc.; a storage part 408 including a hard disk, etc.; and a communication part 409 including a network interface card such as a LAN card, a modem, etc. The communication part 409 performs communication processing via a network such as the Internet. A drive is also connected to the I / O interface 405 as needed. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as needed, so that a computer program read from it can be installed into the storage part 408 as needed.
[0126] Specifically, according to the embodiments of the present invention, the processes described in any one of the above embodiments 1 to 3 can be implemented as a computer software program. For example, the embodiments of the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program codes for performing the methods described in any one of the embodiments 1 to 3. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 409, and / or installed from the removable medium 411.
[0127] It should be noted that the computer-readable medium shown in the present invention can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of a computer-readable storage medium can include, but are not limited to: 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 of the above. In the present invention, a computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system, apparatus, or device. In the present invention, a computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, and this computer-readable medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on a computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0128] In this article, specific examples are used to elaborate on the principles and implementation manners of the present application. The description of the above embodiments is only for helping to understand the method and its core idea of the present application. The above are only the preferred implementation manners of the present application. It should be noted that due to the limited nature of written expression and the objectively infinite specific structures, for those of ordinary skill in the art in this technical field, without departing from the principles of the present invention, several improvements, refinements, or changes can be made, or the above technical features can be combined in an appropriate manner; these improvements, refinements, changes, or combinations, or directly applying the concept and technical solution of the invention to other occasions without improvement, should all be regarded as the protection scope of the present application.
Claims
1. A method for low fuel level alarm of an automobile fuel tank, characterized in that, The method includes the following steps: When it is detected that the engine stalls, obtain the real-time resistance value of the fuel tank level sensor; Obtain a first moment, where the first moment is the moment when the vehicle stops; Obtain a second moment, where the second moment is the moment when the engine stalls; Calculate the parking duration according to the second moment and the first moment; Judge that the parking duration is less than or equal to a third preset threshold, obtain a preset correction ratio, and correct the real-time resistance value according to the correction ratio to correct the real-time resistance value measured when the liquid level in the fuel tank is in a shaking and unstable state; When it is judged that the real-time resistance value is less than or equal to a first preset threshold, drive the engine to restart a first preset number of times; Each time the engine starts, a first counter accumulatively adds 1 to obtain a first accumulated number; When it is judged that the first accumulated number is equal to the first preset number and the engine fails to start successfully, send a first alarm message to the display device; The first alarm message is used to prompt an engine fault; The step of obtaining the preset correction ratio includes: According to the vehicle tilt angle, call a second database to obtain the correction ratio of the first preset threshold; the second database includes: a plurality of different tilt angle ranges and correction ratios corresponding to each tilt angle range.
2. The method for low liquid level alarm of an automobile fuel tank according to claim 1, wherein, After it is detected that the engine stalls and the real-time resistance value of the fuel tank level sensor is obtained, the following steps are further included: When it is judged that the real-time resistance value is greater than the first preset threshold, drive the engine to restart a second preset number of times; each time the engine starts, a second counter accumulatively adds 1 to obtain a second accumulated number; When it is judged that the second accumulated number is equal to the second preset number and the engine fails to start successfully, send a second alarm message to the display device; The second alarm message is used to prompt insufficient fuel.
3. The method for low fuel level alarm of an automobile fuel tank according to claim 1 or 2, characterized in that, After it is detected that the engine stalls and the real-time resistance value of the fuel tank level sensor is obtained, and before it is judged that the real-time resistance value is less than or equal to the first preset threshold, the following steps are further included: Obtain the vehicle tilt angle; When it is judged that the vehicle tilt angle is greater than or equal to a second preset threshold, query a first database to obtain the first preset threshold; the first database includes: a plurality of different tilt angle ranges and first preset thresholds corresponding to each tilt angle range.
4. The method for low liquid level alarm of an automobile fuel tank according to claim 3, characterized in that, The step of constructing the first database includes: Set the total tilt angle test range and divide the total tilt angle test range into a plurality of tilt angle ranges; Select at least three tilt angle values in each of the tilt angle ranges, and respectively test the critical resistance values of the fuel tank level sensor when the vehicle is at different tilt angle values, obtain a set of critical resistance values corresponding to each tilt angle range, and form a critical resistance value sequence; Traverse the critical resistance value sequence, calculate the mean value of all the critical resistance values in the critical resistance value sequence, and obtain the first preset threshold corresponding to the tilt angle range.
5. The method for low liquid level alarm of an automobile fuel tank according to claim 4, characterized in that, The step of specifically testing the critical resistance value of the fuel tank level sensor when the vehicle is at different tilt angle values includes the following steps: Tilt the test vehicle to the left to the tilt angle value, detect the critical resistance value of the fuel tank level sensor that can start the engine, and detect it at least twice to obtain at least two critical resistance values, and form a first resistance value set from the at least two critical resistance values; Tilt the test vehicle to the right to the tilt angle value, detect the critical resistance value of the fuel tank level sensor that can start the engine, and detect it at least twice to obtain at least two critical resistance values, and form a second resistance value set from the at least two critical resistance values; Select the critical resistance value with the largest numerical value from the union of the first resistance value set and the second resistance value set as the critical resistance value of the fuel tank level sensor for engine start when the vehicle is at the current tilt angle value.
6. An automotive fuel tank low-level alarm system, characterized in that, For implementing the automobile fuel tank low liquid level alarm method according to any one of claims 1 to 5, the system includes: An acquisition module configured to obtain the real-time resistance value of the fuel tank level sensor when it is detected that the engine stalls; A first control module configured to drive the engine to restart a first preset number of times when it is determined that the real-time resistance value is less than or equal to a first preset threshold; the first control module is further configured to control a first counter to increment by 1 each time the engine starts and obtain a first cumulative number of times; A first alarm module configured to send a first alarm message to a display device when it is determined that the first cumulative number of times is equal to the first preset number of times and the engine fails to start successfully; the first alarm message is used to prompt an engine failure; A second control module configured to drive the engine to restart a first preset number of times when it is determined that the real-time resistance value is greater than the first preset threshold; the second control module is further configured to control a second counter to increment by 1 each time the engine starts and obtain a second cumulative number of times; A second alarm module configured to send a second alarm message to a display device when it is determined that the second cumulative number of times is equal to a second preset number of times and the engine fails to start successfully; the second alarm message is used to prompt insufficient fuel.
7. An electronic device, characterized in that, The electronic device includes: A memory, a processor, and a computer program stored on the memory and executable on the processor; When the computer program is executed by the processor, the steps of the automobile fuel tank low liquid level alarm method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium, characterized in that, An automobile fuel tank low liquid level alarm program is stored on the computer-readable storage medium, and when the automobile fuel tank low liquid level alarm program is executed by the processor, the steps of the automobile fuel tank low liquid level alarm method according to any one of claims 1 - 5 are implemented.
Citation Information
Patent Citations
Slope-based range extender control method and system
CN115923768A