Vehicle oil quantity detection method and device
By obtaining the car controller status and vehicle speed in real time, filtering and updating the fuel quantity data, the problem of fuel quantity detection accuracy under adverse driving conditions is solved, and a more accurate fuel quantity display is achieved.
Patent Information
- Application Number
- CN202410752718.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-10-11
AI Technical Summary
With existing vehicle fuel level detection methods, under adverse driving conditions, the measured value of the fuel level sensor cannot accurately reflect the true fuel level, affecting detection accuracy.
By obtaining the working status and vehicle speed of the car controller in real time, the original fuel volume data is collected and filtered to determine the fuel volume status, update the reference and display the fuel volume until it reaches the normal state, and ensure the accuracy of the final fuel volume display.
It improves the accuracy of vehicle oil level detection, solves the problem that sensor measurement values cannot represent the true oil level under poor driving conditions, and ensures the accuracy of the displayed oil level.
Smart Images

Figure CN118758392A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of detection technology, and in particular, relates to a vehicle fuel level detection method and device. Background Art
[0002] The fuel level of a car refers to the level or amount of the remaining fuel in the car's fuel tank, which is used to indicate how much mileage the car can still travel. At present, the fuel level of a vehicle is usually measured by a fuel level sensor, and the measurement result is directly displayed as a numerical value of the remaining fuel. However, due to the complex working conditions of fuel vehicles, the fuel level of the car will change accordingly. For example, when the vehicle is driving on a bumpy road or accelerating or decelerating, the fuel in the tank will shake, which may cause the sensor's measurement value to not accurately reflect the actual fuel level, affecting the accuracy of the vehicle's fuel level detection. Summary of the invention
[0003] The embodiments of the present application provide a vehicle fuel level detection method and device, which can improve the accuracy of vehicle fuel level detection.
[0004] In a first aspect, an embodiment of the present application provides a vehicle fuel level detection method, the method comprising:
[0005] Real-time acquisition of the working status of the vehicle controller, the vehicle speed, and the original fuel volume data collected by the fuel volume sensor;
[0006] Filtering the original oil quantity data according to a filtering method matching the working state to determine filtered oil quantity data;
[0007] Determining an initial value of a reference oil quantity and an initial value of a displayed oil quantity according to the filtered oil quantity data;
[0008] Determining the fuel level status of the vehicle according to the filtered fuel level data, the vehicle speed and the reference fuel level;
[0009] In the case where the fuel level state of the vehicle is not in a normal fuel level state, the initial value of the reference fuel level and the initial value of the displayed fuel level are updated according to the fuel level state of the vehicle to obtain an updated reference fuel level and an updated displayed fuel level, and the step of determining the fuel level state of the vehicle according to the filtered fuel level data, the vehicle speed and the reference fuel level is returned until the fuel level state of the vehicle is in a normal fuel level state;
[0010] The updated displayed oil level is determined as the final displayed oil level.
[0011] In a second aspect, an embodiment of the present application provides a vehicle fuel level detection device, the device comprising:
[0012] The acquisition module is used to obtain the working status of the vehicle controller, the vehicle speed and the original fuel quantity data of the vehicle collected by the fuel quantity sensor in real time;
[0013] A filtering module, used for filtering the original oil quantity data according to a filtering method matching the working state, and determining filtered oil quantity data;
[0014] An initial module, used for determining an initial value of a reference oil quantity and an initial value of a displayed oil quantity according to the filtered oil quantity data;
[0015] A judgment module, used for judging the fuel level status of the vehicle according to the filtered fuel level data, the vehicle speed and the reference fuel level;
[0016] an updating module, configured to update the initial value of the reference oil level and the initial value of the displayed oil level according to the oil level status of the vehicle, obtain an updated reference oil level and an updated displayed oil level, and return to the step of determining the oil level status of the vehicle according to the filtered oil level data, the vehicle speed and the reference oil level, until the oil level status of the vehicle is in a normal state;
[0017] A determination module is used to determine the updated displayed oil level as the final displayed oil level.
[0018] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the steps of the vehicle fuel level detection method as described in any one of the embodiments of the first aspect are implemented.
[0019] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the steps of the vehicle fuel level detection method as described in any one of the embodiments of the first aspect are implemented.
[0020] In a fifth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the steps of the vehicle fuel level detection method provided in the first aspect of the embodiment of the present application.
[0021] The vehicle oil level detection method and device of the embodiment of the present application filter the original oil level data of the vehicle collected by the fuel oil level sensor, and judge the oil level status of the vehicle according to the filtered oil level data, the vehicle speed and the reference oil level, so as to update the initial values of the reference oil level and the displayed oil level according to the oil level status of the vehicle, so that the updated reference oil level satisfies the condition that the oil level status of the vehicle is a normal oil level status, and determines the final displayed oil level; because it involves the judgment of the oil level status of the vehicle and the updating of the displayed oil level when the oil level status of the vehicle is not a normal oil level status, it can improve the accuracy of vehicle oil level detection, and solve the problem that the oil level measurement value of the sensor under adverse driving conditions cannot represent the actual oil level. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0023] Figure 1 It is a flow chart of a vehicle fuel level detection method provided in an embodiment of the present application;
[0024] Figure 2 is a schematic diagram of an exemplary update of an initial oil quantity array provided in an embodiment of the present application;
[0025] Figure 3 It is a schematic diagram of a process for initializing a reference oil level, a displayed oil level and a reference point array provided in an embodiment of the present application;
[0026] Figure 4 It is a structural schematic diagram of a vehicle oil level detection device provided in an embodiment of the present application;
[0027] Figure 5 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0029] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0030] The fuel level of a car refers to the level or amount of the remaining fuel in the car's fuel tank, which is used to indicate how much mileage the car can still travel. At present, the fuel level of a vehicle is usually measured by a fuel level sensor, and the measurement result is directly displayed as a numerical value of the remaining fuel. However, due to the complex working conditions of fuel vehicles, the fuel level of the car will change accordingly. For example, when the vehicle is driving on a bumpy road or accelerating or decelerating, the fuel in the tank will shake, which may cause the sensor's measurement value to not accurately reflect the actual fuel level, affecting the accuracy of the vehicle's fuel level detection.
[0031] In order to solve the problems of the related art, the embodiments of the present application provide a vehicle fuel level detection method and device.
[0032] The vehicle fuel level detection method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0033] Figure 1 FIG. 1 is a flow chart of a vehicle fuel level detection method 100 according to an embodiment of the present application. Figure 1 As shown, the vehicle oil level detection method 100 may specifically include the following steps:
[0034] S101, acquiring in real time the working state of the vehicle controller, the vehicle speed, and the original fuel quantity data of the vehicle collected by the fuel quantity sensor;
[0035] S102, filtering the original oil quantity data according to a filtering method matching the working state, and determining the filtered oil quantity data;
[0036] S103, determining an initial value of a reference oil level and an initial value of a displayed oil level according to the filtered oil level data;
[0037] S104, judging the fuel level status of the vehicle according to the filtered fuel level data, the vehicle speed and the reference fuel level;
[0038] S105, when the fuel level state of the vehicle is not in the normal fuel level state, the initial value of the reference fuel level and the initial value of the displayed fuel level are updated according to the fuel level state of the vehicle to obtain an updated reference fuel level and an updated displayed fuel level, and the process returns to the step of determining the fuel level state of the vehicle according to the filtered fuel level data, the vehicle speed and the reference fuel level until the fuel level state of the vehicle is in the normal fuel level state;
[0039] S106: Determine the updated displayed oil level as the final displayed oil level.
[0040] Therefore, the original fuel level data of the vehicle collected by the fuel level sensor is filtered, and the fuel level status of the vehicle is judged according to the filtered fuel level data, the vehicle speed and the reference fuel level, so that the reference fuel level and the initial value of the displayed fuel level are updated according to the fuel level status of the vehicle, so that the updated reference fuel level meets the condition that the fuel level status of the vehicle is a normal fuel level status, and the final displayed fuel level is determined; since it involves the judgment of the fuel level status of the vehicle and the updating of the displayed fuel level when the fuel level status of the vehicle is not a normal fuel level status, the accuracy of vehicle fuel level detection can be improved, and the problem that the fuel level measurement value of the sensor under adverse driving conditions cannot represent the actual fuel level is solved.
[0041] The specific implementation methods of the above steps are introduced below.
[0042] In some embodiments, in S101, a communication connection is established with a fuel level sensor to obtain a collection signal of the sensor. Specifically, the scheduling time frequency may be 50 ms, that is, the original fuel level data of the vehicle collected by the sensor in real time is obtained once every 50 ms. In addition, the fuel level data of the vehicle collected by the sensor may be a fuel level AD value, that is, a conversion value from an analog signal to a digital signal.
[0043] In some embodiments, the working states of the automobile controller include: an initialization state StInit, a preparation state StReady and a running state StRun. The switching of each working state specifically includes: after the vehicle controller is powered on, its system state SysSt is the initialization state StInit; in the initialization state StInit, the fuel amount array will be initialized to obtain the initial fuel amount array, and the initial state count FDlyCnt will increase by itself. When the initial state count FdlyCnt is greater than or equal to the array size of the initial fuel amount array (that is, the initial fuel amount array includes a number of elements), for example, FdlyCnt≥20, the system state SysSt jumps to the ready state StReady; in the ready state StReady, the reference fuel amount, the displayed fuel amount and the reference point array will be initialized to obtain the initial value of the reference fuel amount, the initial value of the displayed fuel amount and the initial reference point array, and the ready state count SdlyCnt will increase by itself. When the ready state count SDlyCnt is greater than or equal to the array size of the initial reference point array (that is, the initial reference point array includes a number of elements), for example, SDlyCnt≥10, the system state SysSt switches to the running state StRun.
[0044] In some embodiments, in S102, when the working state of the automobile controller is the ready state, the original oil quantity data is filled into the initial oil quantity array to obtain an updated oil quantity array, and the updated oil quantity array includes several elements; the average value of all elements in the updated oil quantity array is determined, and the average value is determined as the filtered oil quantity data.
[0045] In some embodiments, the updating of the initial oil quantity array can be achieved by first shifting the data in the initial oil quantity array to the left, and then placing the newly collected original oil quantity data to the rightmost side of the oil quantity array to obtain an updated oil quantity array. Figure 2 , is a schematic diagram of an exemplary update of the initial oil quantity array. Figure 2 As shown, taking the array size of the initial oil quantity array as 20, that is, the initial oil quantity array includes 20 elements from "Oil quantity array [0]" to "Oil quantity array
[19] ", for example, in the process of updating the oil quantity array, the element "Oil quantity array [0]" is removed from the array, and the original oil quantity data is added to the array to obtain an updated oil quantity array.
[0046] In another embodiment, when the working state of the automobile controller is the running state, the standard deviation of the original oil quantity data and the initial oil quantity array is determined according to the original oil quantity data and the initial oil quantity array.
[0047] Furthermore, when the standard deviation is less than the first preset threshold, the original oil quantity data is filled into the initial oil quantity array to obtain an updated oil quantity array; the average value of all elements in the updated oil quantity array is determined, and the average value is determined as the filtered oil quantity data. When the standard deviation is greater than or equal to the first preset threshold, the average value of all elements in the initial oil quantity array is determined, and the average value is determined as the filtered oil quantity data.
[0048] In this way, by calculating the standard deviation and comparing it with the first preset threshold, that is, performing a standard deviation check on the newly collected original fuel quantity data and the entire initial fuel quantity array, if the standard deviation is less than the set threshold, it means that the fuel quantity changes smoothly, and the initial fuel quantity array can be updated based on the original fuel quantity data collected this time; if the standard deviation exceeds the set threshold, it means that the fuel quantity changes abnormally, that is, the original fuel quantity data collected this time is abnormal (too large or too small), and is inaccurate, and the abnormal value needs to be discarded, that is, the initial fuel quantity array will not be updated to avoid the impact of abnormal vehicle shaking causing a sudden increase or decrease in fuel quantity data.
[0049] In addition, it should be understood that since the original oil quantity data is obtained in real time, the filtering process of the original oil quantity data is also performed in real time, that is, after each acquisition of the original oil quantity data of the vehicle collected by the fuel quantity sensor, the original oil quantity data needs to be filtered to obtain the filtered oil quantity data. Thus, by executing the filtering strategy that matches the current working state of the vehicle controller, the filtered oil quantity data is obtained to filter out the abnormal values in the obtained original oil quantity data, thereby reducing the data interference caused by fuel sloshing, etc., and further reducing the problem of fluctuations in the subsequent displayed oil quantity.
[0050] Furthermore, in S103, an initial value of the reference oil volume, an initial value of the displayed oil volume, and an initial reference point array are determined according to the filtered oil volume data. Figure 3 A schematic diagram of the process of initializing the reference oil level, displayed oil level, and reference point array is shown.
[0051] like Figure 3 As shown, S103 can be implemented through the following steps S301 to S303: S301, fill a number of filtered oil quantity data into the reference point array to obtain an initial reference point array; S302, determine the average value of all elements in the initial reference point array, and determine the average value as the initial value of the reference oil quantity; S303, determine the initial value of the reference oil quantity as the initial value of the displayed oil quantity.
[0052] Specifically, the process of initializing the reference oil level, the displayed oil level, and the reference point array is performed when the vehicle controller is in the ready state StReady. When the system state SysSt corresponding to the vehicle controller jumps from the initialization state StInit to the ready state StReady, the ready state count SdlyCnt is cleared, and then the initial reference point array is set equal to a number of filtered oil level data. When the ready state count SdlyCnt ≥ 10, the reference oil level is initialized according to the average value of all elements in the initial reference point array, and after the reference oil level is initialized, the initial value of the reference oil level is immediately assigned to the displayed oil level to complete the initialization of the displayed oil level.
[0053] In some embodiments, in S104, it can be understood that when the vehicle speed is zero, the vehicle fuel level state may be normal (normal fuel level state, normal increase in fuel level, normal decrease in fuel level state) or abnormal (abnormal increase in fuel level, abnormal decrease in fuel level) due to the possibility of normal power consumption, fuel refueling, oil leakage and other working conditions. Therefore, it is necessary to judge the vehicle fuel level state based on the filtered fuel level data and the reference fuel level.
[0054] Specifically, according to the acquired real-time vehicle speed, when the vehicle speed is zero: in response to the difference between the filtered oil quantity data and the initial value of the reference oil quantity being greater than or equal to the second preset threshold, the vehicle oil quantity state is determined to be an abnormal oil quantity increase state; in response to the difference between the filtered oil quantity data and the initial value of the reference oil quantity being less than the second preset threshold and greater than or equal to the third preset threshold, the vehicle oil quantity state is determined to be a normal oil quantity increase state; in response to the absolute value of the difference between the filtered oil quantity data and the initial value of the reference oil quantity being less than the third preset threshold, the vehicle oil quantity state is determined to be a normal oil quantity state; in response to the difference between the initial value of the reference oil quantity and the filtered oil quantity data being less than the fourth preset threshold and greater than or equal to the third preset threshold, the vehicle oil quantity state is determined to be a normal oil quantity decrease state; in response to the difference between the initial value of the reference oil quantity and the filtered oil quantity data being greater than or equal to the fourth preset threshold, the vehicle oil quantity state is determined to be an abnormal oil quantity decrease state.
[0055] Further, in some embodiments, in S105, according to the vehicle fuel level status, a first increment or a first decrement matching the vehicle fuel level status is determined; the first count value is updated so that the first count value increases by a preset value; when the first count value reaches a fifth preset threshold, the initial value of the displayed fuel level is increased by the first increment or decreased by the first decrement to obtain an updated displayed fuel level, and the initial value of the first count value is zero; the initial value of the reference fuel level is updated according to the updated displayed fuel level to determine an updated reference fuel level; and the first count value is cleared.
[0056] That is to say, when the vehicle speed is zero, S104 and S105 may include the following five specific implementation manners:
[0057] If the difference between the filtered fuel quantity data FuelFilterAD and the initial value of the reference fuel quantity RefFule is greater than or equal to a second preset threshold, and the second preset threshold may be an increase threshold AddVal (i.e., FuelFilterAD – RefFule ≥ AddVal), the fuel quantity state of the vehicle is set to an abnormal fuel quantity increase state FuleAddAbNorma. Moreover, the first count value (abnormal fuel quantity increase count AddAbNormCnt) is incremented by one, and other counts are decremented by one, such that the abnormal fuel quantity increase count increases by a preset value, for example, incremented by 1. When the abnormal fuel quantity increase count AddAbNormCnt accumulates to a fifth preset threshold (abnormal increase threshold AbNormLtd), the displayed fuel quantity is incremented by a first increment (increment threshold 2AddLvl2) to obtain an updated displayed fuel quantity. Then, an updated reference fuel quantity is obtained based on the updated displayed fuel quantity, and the abnormal fuel quantity increase count AddAbNormCnt is cleared to zero.
[0058] If the difference between the filtered fuel quantity data FuelFilterAD and the initial value of the reference fuel quantity RefFule is less than the second preset threshold and greater than or equal to a third preset threshold, the second preset threshold may be an increase threshold AddVal, and the third preset threshold may be a normal threshold NorVal (i.e., FuelFilterAD – RefFule < AddVal and ≥ NorVal), the fuel quantity state of the vehicle is set to a normal fuel quantity increase state FuleAddNorm. Moreover, the fuel quantity increase count AddNormCnt is incremented by one, and other counts are decremented by one. When the fuel quantity increase count AddNormCnt accumulates to an increase threshold AddNormLtd, the displayed fuel quantity FuelVol is incremented by an increment threshold 1AddLvl1 to obtain an updated displayed fuel quantity. Then, an updated reference fuel quantity is obtained based on the updated displayed fuel quantity, and the fuel quantity increase count AddNormCnt is cleared to zero.
[0059] If the absolute value of the difference between the filtered fuel quantity data FuelFilterAD and the initial value of the reference fuel quantity RefFule is less than the third preset threshold (|FuelFilterAD – RefFule| < NorVal), the fuel quantity state of the vehicle is a normal fuel quantity state FuleNormal. Moreover, the normal fuel quantity count NormCnt is incremented by one, and other counts are decremented by one. When the normal fuel quantity count NormCnt accumulates to a normal threshold NormLtd, RefFule is assigned to FuelVol, an updated RefFule is obtained based on FuelVol, and the normal fuel quantity count NormCnt is cleared to zero.
[0060] If the difference between the initial value of the reference fuel quantity and the filtered fuel quantity data is less than the fourth preset threshold and greater than or equal to the third preset threshold, where the fourth preset threshold can be the reduction threshold DecVal (i.e., RefFule–FuelFilterAD < DecVal and ≥ NorVal), the fuel quantity state of the vehicle is set to the normal fuel quantity reduction state FuleDecNorm. Also, the fuel quantity reduction count DecNormCnt is incremented by one, and other counts are decremented. When the cumulative value reaches the reduction threshold DecNormLtd, the corresponding reduction threshold 1DecLvl1 is obtained according to the engine speed, and FuelVol is decremented by DecLvl1 to obtain the updated displayed fuel quantity. Then, the updated reference fuel quantity is obtained based on the updated displayed fuel quantity, and the fuel quantity reduction count DecNormCnt is cleared to zero.
[0061] If the difference between the initial value of the reference fuel quantity and the filtered fuel quantity data is greater than or equal to the fourth preset threshold (RefFule–FuelFilterAD ≥ DecVal), the fuel quantity state of the vehicle is set to the abnormal fuel quantity reduction state FuleDecAbNormal. Also, the abnormal fuel quantity reduction count DecAbNormCnt is incremented by one, and other counts are decremented. When DecAbNormCnt accumulates to reach the abnormal reduction threshold DecAbNormLtd, FuelVol is decremented by the reduction threshold 2DecLvl2 to obtain the updated displayed fuel quantity. Then, the updated reference fuel quantity is obtained based on the updated displayed fuel quantity, and the abnormal fuel quantity reduction count DecAbNormCnt is cleared to zero.
[0062] Furthermore, in some embodiments, after obtaining the updated reference fuel quantity and the updated displayed fuel quantity, the process returns to the step of determining the fuel quantity state of the vehicle based on the filtered fuel quantity data, the vehicle speed, and the reference fuel quantity until the fuel quantity state of the vehicle is the normal fuel quantity state, that is, the absolute value of the difference between the filtered fuel quantity data and the initial value of the reference fuel quantity is less than the third preset threshold, and the iteration stops. At this time, the updated displayed fuel quantity is basically the same as the actual fuel quantity, so that the displayed fuel quantity can accurately reflect the actual fuel quantity remaining in the vehicle fuel tank.
[0063] In another embodiment, when the vehicle speed is not zero, since there may be operating conditions such as normal power consumption fuel consumption and oil leakage, that is, the vehicle fuel quantity will only decrease and there will be no refueling operating conditions, resulting in the fuel quantity state of the vehicle being the normal fuel quantity state, the normal fuel quantity reduction state, and the abnormal fuel quantity reduction state. Therefore, it is necessary to determine the fuel quantity state of the vehicle based on the filtered fuel quantity data and the reference fuel quantity.
[0064] Specifically, when the vehicle speed is not zero: in response to the difference between the filtered oil level data and the initial value of the reference oil level being greater than or equal to the sixth preset threshold, the vehicle oil level state is determined to be a normal oil level state; in response to the difference between the initial value of the reference oil level and the filtered oil level data being greater than the sixth preset threshold and less than the seventh preset threshold, the vehicle oil level state is determined to be a normal oil level reduction state; in response to the difference between the initial value of the reference oil level and the filtered oil level data being greater than or equal to the seventh preset threshold, the vehicle oil level state is determined to be an abnormal oil level reduction state.
[0065] Furthermore, when the vehicle's fuel level status is a normal fuel level reduction status or an abnormal fuel level reduction status, the vehicle's unit fuel consumption time and engine speed are obtained; the second decrement is determined based on the engine speed and the unit fuel consumption time; the second count value is updated so that the second count value increases by a preset value; when the second count value reaches an eighth preset threshold, the initial value of the displayed fuel level is reduced by the second decrement to obtain an updated displayed fuel level, and the initial value of the second count value is zero; the initial value of the reference fuel level is updated based on the updated displayed fuel level to determine an updated reference fuel level; and the second count value is cleared.
[0066] It should be understood that when the vehicle speed is zero and when the vehicle speed is not zero, the amount of fuel consumed per unit time in each case is different, so the threshold values set are also different. In addition, the setting of each threshold value can be determined based on the actual calibration result of the vehicle fuel tank.
[0067] That is to say, when the speed of the vehicle is not zero, S104 and S105 may include the following three specific implementations:
[0068] If the difference between the filtered fuel volume data and the initial value of the reference fuel volume is greater than or equal to the sixth preset threshold, the sixth preset threshold may be RunNormalVal (i.e., FuelFilterAD–RefFule≥–RunNormalVal), the fuel volume state of the vehicle is determined to be the normal fuel volume state RunNormalVal; the second count (normal fuel volume count NormCnt) is incremented, and the other counts are decremented. When NormCnt reaches the eighth preset threshold NormLtd, RefFule is assigned to FuelVol to obtain an updated displayed fuel volume. Then, an updated reference fuel volume is obtained based on the updated displayed fuel volume, and NormCnt is cleared.
[0069] If the difference between the initial value of the reference fuel quantity and the filtered fuel quantity data is greater than the sixth preset threshold and less than the seventh preset threshold, where the seventh preset threshold can be the leakage threshold RunLeakVal (i.e., RefFule–FuelFilterAD>RunNormVal and <RunLeakVal), determine that the vehicle fuel quantity state is the normal fuel quantity reduction state FuleDecNorm. Increment the DecNormCnt count and decrement other counts. If AvgFule (fuel consumption per unit time)>0, when DecNormCnt≥AvgFule threshold, decrement FuelVol by the second decrement RunDecLvl, and obtain a new RefFule based on FuelFilterAD and FuelVol. If AvgFule = 0, when DecNormCnt>DecNormLtd threshold, obtain the corresponding DecLvl1 decrement according to the engine speed, decrement FuelVol by DecLvl1, obtain a new RefFule based on FuelVol, and clear the DecNormCnt count.
[0070] If the difference between the initial value of the reference fuel quantity and the filtered fuel quantity data is greater than or equal to the seventh preset threshold (RefFule–FuelFilterAD≥RunLeakVal), determine that the vehicle fuel quantity state is the abnormal fuel quantity reduction state FuleDecAbNorm. Increment the DecAbNormCnt count and decrement other counts. If the fuel consumption per unit time AvgFule>0, when DecAbNormCnt>=AvgFule threshold, decrement FuelVol by the RunDecLv2 decrement, and obtain a new RefFule based on FuelFilterAD and FuelVol. If AverageFule = 0, when the FuleDecAbNormalCnt count>DecAbNormalLimited threshold, obtain the corresponding DecLevel1 decrement according to the engine speed, decrement FuelVol by DecLevel1, obtain a new RefFule based on FuelVol, and clear the FuleDecNormalCnt count.
[0071] In addition, in some embodiments, the reference fuel quantity can be updated in the following manner: obtain the standard fuel quantity value range interval corresponding to the vehicle fuel tank; determine whether the updated displayed fuel quantity is within the interval range; and when the updated displayed fuel quantity is within the interval range, determine the lower limit value of the interval range as the updated reference fuel quantity.
[0072] For example, a standard array AdStd
[25] is established based on the actual calibration results of the automobile fuel tank. The standard array includes several standard fuel volume value range intervals. Determine whether the displayed fuel volume is within the intervals of AdStd[0]-StdDiff and AdStd[1]-StdDiff. If so, set the reference fuel volume equal to AdStd[0]. If not, determine whether the displayed fuel volume is within the intervals of AdStd[1]-StdDiff and AdStd[2]-StdDiff. And so on until the displayed fuel volume is within the intervals of AdStd[i]-StdDiff and AdStd[i+1]-StdDiff, set the reference flow equal to AdStd[i]. If the displayed fuel volume is abnormal, that is, it is not within the range of the entire array AdStd
[25] , it means that it exceeds the actual full fuel volume, and the updated reference fuel volume is determined to be the default value (for example, 0).
[0073] In addition, in some embodiments, the process of obtaining the unit fuel consumption time AvgFule of the automobile includes: when the vehicle speed is not 0, when the fuel state of the automobile changes to FuleNorm, TmrNorm (normal fuel timer) is incremented by 1. If ChgFlag (fuel state change flag) is 0, ChgFlag is set to 1, and the current reference fuel volume FuelVolOld=FuelVol and the current fuel volume reduction timer TmrDecOld=TmrDec (normal fuel volume reduction timer) are recorded. When the fuel state changes to FuleDecNorm, if FuleChgFlag==1, the fuel change FuleDiff=FuelVolOld-FuelFilterAD is calculated, and the time difference TimeDiff=TmrDecOld+TmrNorm is calculated, then AvgFule=K*TimeDiff / FuleDiff is obtained, where K represents the proportionality coefficient.
[0074] In some embodiments, the process of obtaining the increment (or decrement) corresponding to the displayed fuel quantity at different engine speeds includes: when the engine speed (in rpm) is less than 1000, the increment (or decrement) DecLevel1 is equal to 1; when the engine speed is in the interval of (1000, 2000], DecLevel1 is equal to 2; when the engine speed is in the interval of (2000, 3000], DecLevel1 is equal to 3; when the engine speed is greater than 3000, DecLevel1 is equal to 4. Among them, the engine speed threshold and the increment value can be adjusted according to actual conditions. In this way, the influence of different vehicle speeds and speeds on the fuel change state and fuel update rate of the vehicle is taken into account, and the influence on the displayed fuel quantity under adverse driving conditions can be reduced.
[0075] In addition, in some embodiments, in S106, the updated displayed fuel volume is determined as the final displayed fuel volume, and the final displayed fuel volume is converted into a percentage to obtain a fuel volume percentage, and the fuel volume percentage is sent to the vehicle meter to display the fuel volume percentage through the meter.
[0076] In specific implementation, the fuel volume value of the fuel sensor at each percentage is obtained according to the actual calibration result, and the fuel volume percentage array PctArr
[101] is constructed. The variables LVar (for example, 0%) and HVar (for example, 100%) are initialized, and the median MVar (for example, 50%) of the two is taken to determine whether the final displayed fuel volume is within the interval between PctArr[Mvar] and PctArr[Mvar+1]. If it is within the interval, the current fuel volume percentage is Mvar; if the final displayed fuel volume is greater than or equal to PctArr[Mvar+1], Lvar is incremented; if the final displayed fuel volume is less than PctArr[Mvar], Hvar is decremented, and then the adjusted median Mvar is calculated, and the final displayed fuel volume is re-judged until it is within the interval between PctArr[Mvar] and PctArr[Mvar+1] to determine the fuel volume percentage used for the automobile instrument display.
[0077] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0078] Based on the same technical concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a vehicle oil level detection device 400.
[0079] like Figure 4 As shown, the vehicle oil level detection device 400 may include:
[0080] The acquisition module 401 is used to acquire the working state of the vehicle controller, the vehicle speed and the original fuel quantity data of the vehicle collected by the fuel quantity sensor in real time;
[0081] A filtering module 402, for filtering the original oil quantity data according to a filtering method matching the working state, and determining filtered oil quantity data;
[0082] An initial module 403, for determining an initial value of a reference oil quantity and an initial value of a displayed oil quantity according to the filtered oil quantity data;
[0083] The judging module 404 is used to judge the fuel level status of the vehicle according to the filtered fuel level data, the vehicle speed and the reference fuel level;
[0084] The updating module 405 is used for updating the initial value of the reference fuel level and the initial value of the displayed fuel level according to the fuel level status of the vehicle when the fuel level status of the vehicle is not in the normal fuel level status, obtaining an updated reference fuel level and an updated displayed fuel level, and returning to the step of determining the fuel level status of the vehicle according to the filtered fuel level data, the vehicle speed and the reference fuel level until the fuel level status of the vehicle is in the normal fuel level status;
[0085] The determination module 406 is configured to determine the updated displayed oil level as the final displayed oil level.
[0086] In some embodiments, the filtering module 402 is specifically used to fill the original oil quantity data into the initial oil quantity array when the working state is the ready state, to obtain an updated oil quantity array, the updated oil quantity array including a number of elements; determine the average value of all elements in the updated oil quantity array, and determine the average value as the filtered oil quantity data.
[0087] In some embodiments, the filtering module 402 is also specifically used to determine the standard deviation of the original oil quantity data and the initial oil quantity array based on the original oil quantity data and the initial oil quantity array when the working state is the running state; when the standard deviation is less than a first preset threshold, fill the original oil quantity data into the initial oil quantity array to obtain an updated oil quantity array; determine the average value of all elements in the updated oil quantity array, and determine the average value as the filtered oil quantity data; when the standard deviation is greater than or equal to the first preset threshold, determine the average value of all elements in the initial oil quantity array, and determine the average value as the filtered oil quantity data.
[0088] In some embodiments, the initial module 403 is specifically used to fill a number of filtered oil quantity data into a reference point array to obtain an initial reference point array; determine the average value of all elements in the initial reference point array, and determine the average value as the initial value of the reference oil quantity; determine the initial value of the reference oil quantity as the initial value of the displayed oil quantity.
[0089] In some embodiments, the judgment module 404 is specifically used for, when the vehicle speed is zero: in response to the difference between the filtered oil quantity data and the initial value of the reference oil quantity being greater than or equal to the second preset threshold, determining that the oil quantity state of the vehicle is an abnormal oil quantity increase state; in response to the difference between the filtered oil quantity data and the initial value of the reference oil quantity being less than the second preset threshold and greater than or equal to the third preset threshold, determining that the oil quantity state of the vehicle is a normal oil quantity increase state; in response to the absolute value of the difference between the filtered oil quantity data and the initial value of the reference oil quantity being less than the third preset threshold, determining that the oil quantity state of the vehicle is a normal oil quantity state; in response to the difference between the initial value of the reference oil quantity and the filtered oil quantity data being less than the fourth preset threshold and greater than or equal to the third preset threshold, determining that the oil quantity state of the vehicle is a normal oil quantity decrease state; in response to the difference between the initial value of the reference oil quantity and the filtered oil quantity data being greater than or equal to the fourth preset threshold, determining that the oil quantity state of the vehicle is an abnormal oil quantity decrease state.
[0090] In some embodiments, the judgment module 404 is also specifically used for, when the vehicle speed is not zero: in response to the difference between the filtered oil level data and the initial value of the reference oil level being greater than or equal to a sixth preset threshold, determining that the vehicle oil level state is a normal oil level state; in response to the difference between the initial value of the reference oil level and the filtered oil level data being greater than the sixth preset threshold and less than the seventh preset threshold, determining that the vehicle oil level state is a normal oil level reduction state; in response to the difference between the initial value of the reference oil level and the filtered oil level data being greater than or equal to the seventh preset threshold, determining that the vehicle oil level state is an abnormal oil level reduction state.
[0091] In some embodiments, the update module 405 is specifically used to determine a first increment or a first decrement that matches the fuel level status of the vehicle according to the fuel level status of the vehicle; update the first count value to increase the first count value by a preset value; when the first count value reaches a fifth preset threshold, increase the initial value of the displayed fuel level by the first increment or decrease the initial value by the first decrement to obtain an updated displayed fuel level, and the initial value of the first count value is zero; update the initial value of the reference fuel level according to the updated displayed fuel level to determine an updated reference fuel level; and clear the first count value.
[0092] In some embodiments, the update module 405 is also specifically used to obtain the unit fuel consumption time and engine speed of the vehicle when the fuel level status of the vehicle is a normal fuel reduction state or an abnormal fuel reduction state; determine the second decrement based on the engine speed and the unit fuel consumption time; update the second count value to increase the second count value by a preset value; when the second count value reaches an eighth preset threshold, reduce the initial value of the displayed fuel level by the second decrement to obtain an updated displayed fuel level, and the initial value of the second count value is zero; update the initial value of the reference fuel level according to the updated displayed fuel level to determine an updated reference fuel level; and clear the second count value.
[0093] In some embodiments, the update module 405 is also specifically used to obtain a standard fuel quantity value range interval corresponding to a car tank; determine whether the updated displayed fuel quantity is within the range; if the updated displayed fuel quantity is within the range, determine the lower limit value of the range as the updated reference fuel quantity.
[0094] Therefore, the vehicle oil level detection device 400 is used to filter the original oil level data of the vehicle collected by the fuel oil level sensor, and the oil level status of the vehicle is determined based on the filtered oil level data, the vehicle speed and the reference oil level, so that the initial values of the reference oil level and the displayed oil level are updated according to the oil level status of the vehicle, so that the updated reference oil level satisfies the condition that the oil level status of the vehicle is a normal oil level status, and the final displayed oil level is determined; since it involves the judgment of the oil level status of the vehicle and the updating of the displayed oil level when the oil level status of the vehicle is not a normal oil level status, the accuracy of the vehicle oil level detection can be improved, and the problem that the oil level measurement value of the sensor under adverse driving conditions cannot represent the actual oil level is solved.
[0095] It should be noted that, for the convenience of description, the above device is described in various modules according to their functions. Of course, when implementing this application, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0096] The device of the above embodiment is used to implement the corresponding vehicle oil level detection method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0097] Based on the same technical concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides an electronic device.
[0098] Figure 5 A more specific schematic diagram of the hardware structure of an electronic device provided by this embodiment is shown.
[0099] The electronic device 500 may include a processor 501 and a memory 502 storing computer program instructions.
[0100] Specifically, the processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0101] The memory 502 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 502 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 502 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 502 is a non-volatile solid-state memory.
[0102] In certain embodiments, the memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present application.
[0103] The processor 501 implements any one of the vehicle oil level detection methods in the above embodiments by reading and executing computer program instructions stored in the memory 502 .
[0104] In some examples, the electronic device 500 may further include a communication interface 503 and a bus 510. Figure 5 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 510 and communicate with each other.
[0105] The communication interface 503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0106] Bus 510 includes hardware, software or both, and the parts of online data flow billing equipment are coupled to each other. For example, but not limitation, bus 510 may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-end bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 510 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.
[0107] Exemplarily, the electronic device 500 may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA).
[0108] Based on the same technical concept, corresponding to any of the above-mentioned embodiments, the present application also provides a non-transitory computer-readable storage medium. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any of the vehicle oil level detection methods in the above-mentioned embodiments is implemented. Examples of computer-readable storage media include non-transitory computer-readable storage media, such as portable disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, etc.
[0109] Based on the same technical concept, corresponding to any of the above-mentioned embodiments, the present application also provides a computer program product, which includes computer program instructions. In some embodiments, the computer program instructions can be executed by one or more processors of a computer so that the computer and / or the processor execute the vehicle oil level detection method. Corresponding to the execution subject corresponding to each step in each embodiment of the vehicle oil level detection method, the processor that executes the corresponding step can belong to the corresponding execution subject.
[0110] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0111] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0112] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0113] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram described various aspects of the present application.It should be understood that each square box in the flow chart and / or the block diagram and the combination of each square box in the flow chart and / or the block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in one or more square boxes of the flow chart and / or the block diagram.Such a processor can be but is not limited to a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit.It can also be understood that each square box in the block diagram and / or the flow chart and the combination of the square boxes in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.
[0114] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A vehicle oil level detection method, It is characterized in that include: Real-time acquisition of the working status of the vehicle controller, the vehicle speed, and the original fuel volume data collected by the fuel volume sensor; Filtering the original oil quantity data according to a filtering method matching the working state to determine filtered oil quantity data; Determining an initial value of a reference oil quantity and an initial value of a displayed oil quantity according to the filtered oil quantity data; Determining the fuel level status of the vehicle according to the filtered fuel level data, the vehicle speed and the reference fuel level; In the case where the fuel level state of the vehicle is not in a normal fuel level state, the initial value of the reference fuel level and the initial value of the displayed fuel level are updated according to the fuel level state of the vehicle to obtain an updated reference fuel level and an updated displayed fuel level, and the step of determining the fuel level state of the vehicle according to the filtered fuel level data, the vehicle speed and the reference fuel level is returned until the fuel level state of the vehicle is in a normal fuel level state; The updated displayed oil level is determined as the final displayed oil level.
2. The method according to claim 1, It is characterized in that The filtering of the original oil quantity data according to a filtering method matching the working state to determine the filtered oil quantity data includes: When the working state is the ready state, the original oil quantity data is filled into the initial oil quantity array to obtain an updated oil quantity array, wherein the updated oil quantity array includes a plurality of elements; An average value of all elements in the updated oil quantity array is determined, and the average value is determined as the filtered oil quantity data.
3. The method according to claim 2, It is characterized in that The filtering of the original oil quantity data according to the filtering method matching the working state to determine the filtered oil quantity data also includes: In the case where the working state is the running state, determining the standard deviation between the original oil quantity data and the initial oil quantity array according to the original oil quantity data and the initial oil quantity array; In the case where the standard deviation is less than a first preset threshold, filling the original oil quantity data into the initial oil quantity array to obtain an updated oil quantity array; determining an average value of all elements in the updated oil quantity array, and determining the average value as the filtered oil quantity data; In the case that the standard deviation is greater than or equal to the first preset threshold, an average value of all elements in the initial oil quantity array is determined, and the average value is determined as the filtered oil quantity data.
4. The method according to claim 1, It is characterized in that The step of determining the initial value of the reference oil quantity and the initial value of the displayed oil quantity according to the filtered oil quantity data comprises: Filling a plurality of the filtered oil volume data into a reference point array to obtain an initial reference point array; Determining an average value of all elements in the initial reference point array, and determining the average value as an initial value of the reference oil amount; The initial value of the reference oil amount is determined as the initial value of the displayed oil amount.
5. The method according to claim 1, It is characterized in that The step of judging the fuel level status of the vehicle according to the filtered fuel level data, the vehicle speed and the reference fuel level includes: When the speed of the vehicle is zero: In response to the difference between the filtered oil quantity data and the initial value of the reference oil quantity being greater than or equal to a second preset threshold, determining that the oil quantity state of the vehicle is an abnormally increased oil quantity state; In response to the difference between the filtered oil quantity data and the initial value of the reference oil quantity being less than a second preset threshold and greater than or equal to a third preset threshold, determining that the oil quantity state of the vehicle is a normal oil quantity increase state; In response to the absolute value of the difference between the filtered oil quantity data and the initial value of the reference oil quantity being less than a third preset threshold, determining that the oil quantity state of the vehicle is a normal oil quantity state; In response to the difference between the initial value of the reference oil volume and the filtered oil volume data being less than a fourth preset threshold and greater than or equal to a third preset threshold, determining that the oil volume state of the vehicle is a normal oil volume reduction state; In response to the difference between the initial value of the reference oil volume and the filtered oil volume data being greater than or equal to a fourth preset threshold, it is determined that the oil volume state of the vehicle is in an abnormally reduced oil volume state.
6. The method according to claim 5, It is characterized in that The initial value of the reference oil level and the initial value of the displayed oil level are updated according to the oil level status of the vehicle to obtain an updated reference oil level and an updated displayed oil level, including: According to the fuel level state of the vehicle, determining a first increment or a first decrement matching the fuel level state of the vehicle; Updating the first count value so that the first count value increases by a preset value; When the first count value reaches a fifth preset threshold, the initial value of the displayed oil level is increased by the first increment or decreased by the first decrement to obtain an updated displayed oil level, and the initial value of the first count value is zero; updating the initial value of the reference oil amount according to the updated displayed oil amount to determine an updated reference oil amount; The first count value is cleared to zero.
7. The method according to claim 1, It is characterized in that The step of judging the fuel level status of the vehicle according to the filtered fuel level data, the vehicle speed and the reference fuel level also includes: In the case where the speed of the vehicle is not zero: In response to the difference between the filtered oil quantity data and the initial value of the reference oil quantity being greater than or equal to a sixth preset threshold, determining that the oil quantity state of the vehicle is a normal oil quantity state; In response to the difference between the initial value of the reference oil volume and the filtered oil volume data being greater than a sixth preset threshold and less than a seventh preset threshold, determining that the oil volume state of the vehicle is a normal oil volume reduction state; In response to the difference between the initial value of the reference oil volume and the filtered oil volume data being greater than or equal to a seventh preset threshold, it is determined that the oil volume state of the vehicle is in an abnormally reduced oil volume state.
8. The method according to claim 7, It is characterized in that The method of updating the initial value of the reference oil level and the initial value of the displayed oil level according to the oil level status of the vehicle to obtain an updated reference oil level and an updated displayed oil level also includes: When the fuel level of the vehicle is in a normal fuel level reduction state or an abnormal fuel level reduction state, obtaining the unit fuel consumption time and engine speed of the vehicle; determining a second decrement according to the engine speed and the unit fuel consumption time; Updating the second count value so that the second count value increases by a preset value; When the second count value reaches an eighth preset threshold, the initial value of the displayed oil level is reduced by the second decrement to obtain an updated displayed oil level, and the initial value of the second count value is zero; updating the initial value of the reference oil amount according to the updated displayed oil amount to determine an updated reference oil amount; The second count value is cleared to zero.
9. The method according to claim 6 or 8, It is characterized in that The updating of the initial value of the reference oil amount according to the updated displayed oil amount to determine the updated reference oil amount includes: Get the standard fuel volume value range corresponding to the automobile fuel tank; Determining whether the updated displayed oil volume is within a range; When the updated displayed oil level is within the interval range, a lower limit value of the interval range is determined as the updated reference oil level.
10. A vehicle oil level detection device, It is characterized in that The device comprises: The acquisition module is used to obtain the working status of the vehicle controller, the vehicle speed and the original fuel quantity data of the vehicle collected by the fuel quantity sensor in real time; A filtering module, used for filtering the original oil quantity data according to a filtering method matching the working state, and determining filtered oil quantity data; An initial module, used for determining an initial value of a reference oil quantity and an initial value of a displayed oil quantity according to the filtered oil quantity data; A judgment module, used for judging the fuel level status of the vehicle according to the filtered fuel level data, the vehicle speed and the reference fuel level; an updating module, for updating the initial value of the reference oil level and the initial value of the displayed oil level according to the oil level status of the vehicle, when the oil level status of the vehicle is not in the normal oil level status, to obtain an updated reference oil level and an updated displayed oil level, and returning to the step of determining the oil level status of the vehicle according to the filtered oil level data, the vehicle speed and the reference oil level, until the oil level status of the vehicle is in the normal oil level status; A determination module is used to determine the updated displayed oil level as the final displayed oil level.
