Oil quantity correction method, device, electronic equipment and storage medium
By using the oil quantity correction model in the vehicle, and correcting the current oil quantity of the vehicle in combination with slope and vehicle speed conditions, the problem of inaccurate detection of the oil quantity sensor when the vehicle is tilted or shaking is solved, and the accuracy of the oil quantity calculation is improved. Avoid jump in oil volume.
Patent Information
- Application Number
- CN202210513918.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-11
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2042-05-11
AI Technical Summary
The existing vehicle oil volume calculation method causes inaccurate detection of the oil volume sensor when the vehicle is tilted or shaken, resulting in inaccurate calculation results, and the oil volume value may jump.
By obtaining the current detected oil quantity value of the vehicle, slope information and the oil quantity value at the end of the last trip, combining the slope conditions and vehicle speed conditions, the current oil quantity correction model is used to correct the current oil quantity of the vehicle to determine the corrected oil quantity value.
It effectively avoids the inaccurate detection problem of the oil volume sensor when the vehicle is tilted or shaking, improves the accuracy of the oil volume calculation, and avoids the jump in the oil volume value.
Smart Images

Figure CN115435876B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile technology, and in particular to an oil quantity correction method, device, electronic equipment and storage medium. Background Art
[0002] The current method for calculating the fuel level of a vehicle is mainly based on the resistance value collected by the fuel level sensor. When the vehicle is in motion or parked on a slope, the fuel level in the fuel tank will change due to the shaking of the vehicle or the tilt of the vehicle, causing the detection resistance value (float height) of the fuel level sensor to change, and the calculation result of the vehicle's current fuel level is inaccurate. If the slope is too large, the fuel level value displayed on the vehicle dashboard may jump. Even if the fuel level resistance value is filtered, the above effects cannot be completely eliminated. Therefore, a more accurate method for calculating the current fuel level of a vehicle is urgently needed to avoid the above problems. Summary of the invention
[0003] In view of this, the purpose of the present application is to provide an oil quantity calibration method, device, electronic device and storage medium.
[0004] Based on the above purpose, the first aspect of the present application provides an oil quantity correction method, comprising:
[0005] In response to the vehicle being started, obtaining a fuel level value currently detected by the vehicle;
[0006] Determine the fuel level of the vehicle based on the current slope information of the vehicle, the fuel level of the vehicle currently detected, and the fuel level of the vehicle at the end of the last trip;
[0007] In response to the vehicle satisfying a preset slope condition, a preset vehicle speed condition and a preset fuel quantity difference threshold, the current fuel quantity of the vehicle is corrected through a fuel quantity correction model based on the fuel quantity value of the vehicle and the cumulative fuel consumption value of the vehicle's engine to obtain the corrected fuel quantity value of the vehicle.
[0008] Optionally, determining the fuel level of the vehicle based on the current slope information of the vehicle, the fuel level currently detected by the vehicle, and the fuel level at the end of the last trip of the vehicle includes:
[0009] In response to the slope information satisfying the slope condition, and the difference between the fuel level value currently detected by the vehicle and the fuel level value at the end of the last trip of the vehicle is less than a preset difference, the fuel level value at the end of the last trip of the vehicle is used as the fuel level value of the vehicle;
[0010] In response to the slope information satisfying the slope condition, and the difference between the fuel level value currently detected by the vehicle and the fuel level value at the end of the last trip of the vehicle is greater than or equal to the preset difference, the fuel level value currently detected by the vehicle is used as the fuel level value of the vehicle;
[0011] In response to the slope information not satisfying the slope condition, the fuel level value at the end of the last trip of the vehicle is used as the fuel level value of the vehicle.
[0012] Optionally, the determining the fuel level of the vehicle further includes:
[0013] In response to the absence of the fuel level value at the end of the last trip of the vehicle, the fuel level value currently detected by the vehicle is used as the fuel level value of the vehicle.
[0014] Optionally, in response to the vehicle satisfying a preset slope condition, a preset vehicle speed condition and a preset fuel quantity difference threshold, the fuel quantity value of the vehicle is corrected by using a fuel quantity correction model based on the pre-correction fuel quantity value and the cumulative fuel quantity consumed by the engine of the vehicle to obtain the corrected fuel quantity value of the vehicle, including:
[0015] In response to the vehicle satisfying the slope condition and the vehicle speed condition, and the difference between the fuel level value of the vehicle and the fuel level value currently detected by the vehicle exceeds the fuel level difference threshold, and the fuel level value currently detected by the vehicle is higher than the standard fuel remaining value, the fuel level correction model is
[0016] Corrected oil level value = oil level value of the vehicle - α * accumulated oil consumption of the engine, α is a preset first correction coefficient, α>1;
[0017] In response to the vehicle satisfying the slope condition and the vehicle speed condition, and the difference between the fuel level value of the vehicle and the fuel level value currently detected by the vehicle exceeds the fuel level difference threshold, and the fuel level value currently detected by the vehicle is lower than the standard fuel level remaining value, the fuel level correction model is
[0018] Corrected oil level value = oil level value of the vehicle - β * accumulated oil consumption of the engine, β is a preset second correction coefficient, β < 1, wherein,
[0019] The accumulation start time of the cumulative fuel consumption of the engine is the correction start time, and the standard fuel remaining value=the fuel value of the vehicle-the cumulative fuel consumption of the engine.
[0020] Optionally, before correcting the current fuel level of the vehicle, the method further includes:
[0021] In response to the vehicle not satisfying a preset fuel level cutoff condition or not reaching a preset correction number, the fuel level value of the vehicle is corrected.
[0022] Optionally, the vehicle speed condition includes:
[0023] The vehicle speed changes from zero to greater than zero, and then changes from greater than zero to zero.
[0024] Optionally, the slope condition includes:
[0025] The current lateral acceleration or longitudinal acceleration of the vehicle is less than or equal to a preset acceleration threshold.
[0026] A second aspect of the present application provides an oil quantity correction device, comprising:
[0027] The detection module is configured to obtain a fuel quantity value currently detected by the vehicle in response to the vehicle starting;
[0028] a determination module configured to determine the fuel level of the vehicle based on the current slope information of the vehicle, the fuel level currently detected by the vehicle, and the fuel level at the end of the last trip of the vehicle;
[0029] The correction module is configured to correct the current fuel level of the vehicle through a fuel level correction model based on the fuel level value of the vehicle and the cumulative fuel consumption value of the engine of the vehicle in response to the vehicle satisfying a preset slope condition, a preset vehicle speed condition and a preset fuel level difference threshold, so as to obtain the corrected fuel level value of the vehicle.
[0030] The third aspect of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, wherein the processor implements the method as described above when executing the computer program.
[0031] The fourth aspect of the present application also provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a computer to execute the method as described above.
[0032] From the above, it can be seen that the oil quantity correction method, device, electronic device and storage medium provided by the present application first obtain the oil quantity value currently detected by the vehicle after the vehicle is started, and then determine the oil quantity value of the vehicle by comparing it with the oil quantity value at the end of the vehicle's last trip, which can ensure that the current oil quantity value of the vehicle is estimated more accurately after the vehicle is started. After the oil quantity value of the vehicle is determined, the oil quantity correction equation is introduced to correct the current oil quantity of the vehicle based on the oil quantity value of the vehicle and the cumulative oil consumption value of the engine through the preset slope conditions and speed conditions, and the corrected oil quantity value is obtained. The oil quantity correction method of the present application corrects the oil quantity of the vehicle by introducing the slope conditions and the speed conditions, which effectively avoids the problem of inaccurate oil quantity value detection by the oil quantity sensor when the vehicle is tilted or the vehicle is shaking, improves the accuracy of the oil quantity calculation, and avoids the vehicle's oil quantity value from jumping. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0034] Figure 1 A schematic diagram of a flow chart of an oil quantity calibration method according to an embodiment of the present application;
[0035] Figure 2 A schematic diagram of a process for determining the fuel level of a vehicle according to an embodiment of the present application;
[0036] Figure 3 A schematic diagram of a process for determining a corrected oil quantity value according to an embodiment of the present application;
[0037] Figure 4 This is a schematic structural diagram of an oil quantity correction device according to an embodiment of the present application;
[0038] Figure 5 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0039] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the scheme of the present application will be further described below. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0040] In the following description, many specific details are set forth to facilitate a full understanding of the present application, but the present application may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only part of the embodiments of the present application, rather than all of the embodiments.
[0041] As described in the background technology, in the related art, the calculation of the vehicle oil level value depends on the oil level value detected by the oil level sensor. However, when the vehicle is tilted or shaken, the oil level height in the fuel tank detected by the float of the oil level sensor will deviate, which will lead to inaccurate oil level detection and fail to truly reflect the current oil level of the vehicle. Therefore, this application proposes an oil level correction method, which introduces slope conditions and vehicle speed conditions to correct the vehicle's oil level value to avoid the problem of inaccurate vehicle oil level detection.
[0042] The embodiments of the present application are described in detail below with reference to the accompanying drawings.
[0043] The present application provides an oil quantity correction method. Figure 1 An oil quantity calibration method 100 according to an embodiment of the present application is shown, and the oil quantity calibration method 100 comprises the following steps:
[0044] Step 102: In response to the vehicle starting, obtain the fuel level value currently detected by the vehicle.
[0045] Specifically, the vehicle in this embodiment is provided with a vehicle controller VCU, an airbag controller ACU, a fuel level sensor, an engine controller ECU, a body electronic stability system ESP, and a body controller BCM. The vehicle controller VCU is responsible for calculating and storing the fuel level, and controls the fuel level sensor to collect signals; the airbag controller ACU is used to report the lateral acceleration and longitudinal acceleration of the current vehicle; the fuel level sensor is used to detect the current fuel level in the fuel tank; the engine controller ECU is used to report the engine injection amount; the body electronic stability system ESP is used to provide the current vehicle speed; and the body controller BCM is used to provide the fuel cap status. When the vehicle is started, the fuel level value currently detected by the vehicle is obtained through the fuel level sensor, so that the fuel level value of the vehicle can be corrected later.
[0046] Step 104 : Determine the fuel level of the vehicle based on the current slope information of the vehicle, the currently detected fuel level of the vehicle, and the fuel level at the end of the last trip of the vehicle.
[0047] Specifically, before the vehicle performs oil level correction, it is necessary to determine the vehicle's oil level value, and use the vehicle's oil level value as the basic value to correct the vehicle's oil level value. The determination of the vehicle's oil level value first needs to consider the vehicle's current slope information, and the size of the slope will have a certain impact on the vehicle's oil level value. For different slopes, different calculation methods will be used to determine the vehicle's oil level value. Secondly, the determination of the vehicle's oil level value also needs to refer to the vehicle's oil level value at the end of the last trip, and at the same time determine the vehicle's oil level value in combination with the vehicle's currently detected oil level value.
[0048] Step 106: In response to the vehicle satisfying a preset slope condition, a preset vehicle speed condition, and a preset fuel level difference threshold, the fuel level value of the vehicle is corrected through a fuel level correction model based on the fuel level value of the vehicle and the cumulative fuel consumption value of the engine of the vehicle to obtain a corrected fuel level value of the vehicle.
[0049] Specifically, usually, when the vehicle is started for a period of time, some oil consumption will be generated. In theory, the current oil value detected by the oil sensor displayed on the vehicle dashboard should be equal to the oil value of the vehicle before the correction starts minus the cumulative oil consumption value of the engine. However, in the actual process, the oil value detected by the oil sensor often deviates from the difference between the oil value before the correction starts and the cumulative oil consumption value of the vehicle. This is because the vehicle produces a certain amount of shaking during driving, which causes the current oil value detected by the oil sensor to be higher or lower. When the deviation is large and exceeds the oil difference threshold, the oil value of the vehicle needs to be corrected. When correcting the oil value of the vehicle, the slope condition and the vehicle speed condition are introduced, and the oil correction model is used to correct the oil value of the vehicle. The oil correction model can comprehensively consider multiple constraints such as slope conditions, vehicle speed, and whether the oil difference threshold is exceeded to correct the oil value of the vehicle. The cumulative oil consumption value of the engine is the actual oil consumption value of the vehicle, which is obtained through the engine controller ECU. After the calibration is completed, a calibrated fuel level value of the vehicle is obtained, and the calibrated fuel level value is closer to the actual current fuel level value of the vehicle than the detected fuel level value detected by the fuel level sensor.
[0050] Through the above steps 102 to 104, the slope condition and the vehicle speed condition are introduced to correct the vehicle's fuel level value, which effectively avoids the problem of the fuel level sensor detecting the fuel level value inaccurately when the vehicle is tilted or shaken, improves the accuracy of the fuel level calculation, and avoids the vehicle's fuel level value from jumping.
[0051] In some embodiments, the fuel level of the vehicle is determined based on the current slope information of the vehicle, the fuel level value currently detected by the vehicle, and the fuel level value at the end of the last trip of the vehicle, referring to Figure 2 ,include:
[0052] In response to the slope information satisfying the slope condition, and the difference between the fuel level value currently detected by the vehicle and the fuel level value at the end of the last trip of the vehicle is less than a preset difference, the fuel level value at the end of the last trip of the vehicle is used as the fuel level value of the vehicle;
[0053] In response to the slope information satisfying the slope condition, and the difference between the fuel level value currently detected by the vehicle and the fuel level value at the end of the last trip of the vehicle is greater than or equal to the preset difference, the fuel level value currently detected by the vehicle is used as the fuel level value of the vehicle;
[0054] In response to the slope information not satisfying the slope condition, the fuel level value at the end of the last trip of the vehicle is used as the fuel level value of the vehicle.
[0055] Specifically, each time the vehicle ends a trip, the current fuel level value will be stored as the fuel level value for the next startup. The slope information in this embodiment satisfies the slope condition, which means that the slope of the vehicle has little effect on the fuel level detected by the fuel level sensor, which is equivalent to the vehicle being on a relatively flat or gently sloping road. Under the premise of satisfying the slope condition, the fuel level value currently detected by the vehicle is obtained through the fuel level sensor. On the one hand, if the difference between the current detected fuel level value and the fuel level value when the vehicle last ended a trip is less than the preset difference, the fuel level value when the vehicle last ended a trip is directly used as the fuel level value of the vehicle; on the other hand, if the difference between the current detected fuel level value and the fuel level value when the vehicle last ended a trip is greater than or equal to the preset difference, it means that the fuel level value when the vehicle last ended a trip was inaccurate, or there was a certain amount of fuel consumption before the vehicle was started. Therefore, the current detected fuel level value needs to be used as the fuel level value of the vehicle. If the slope information does not meet the slope condition, it means that the vehicle is currently on a large slope, which has a greater impact on the detection resistance of the oil level sensor. The current detected oil level value is not accurate. At this time, the oil level value when the vehicle last ended the trip needs to be used as the oil level value before correction.
[0056] It should be noted that the preset difference in this embodiment can be set accordingly according to different vehicle models. In different vehicle models, the volume and shape of the fuel tank are different, and the impact on the detection resistance of the fuel level sensor at the same slope is also different. The value of the preset difference is not specifically limited here.
[0057] In some embodiments, reference Figure 2 , the determining the fuel level of the vehicle further includes:
[0058] In response to the absence of the fuel level value at the end of the last trip of the vehicle, the fuel level value currently detected by the vehicle is used as the fuel level value of the vehicle.
[0059] Specifically, in some cases, the fuel level value at the end of the last trip of the vehicle does not exist, such as the first start of the vehicle, or the fuel level value at the end of the last trip is lost, etc. In this case, the fuel level value currently detected by the fuel level sensor is used as the fuel level value of the vehicle.
[0060] In some embodiments, reference Figure 3, in response to the vehicle satisfying a preset slope condition, a preset vehicle speed condition, and a preset fuel quantity difference threshold, correcting the current fuel quantity value of the vehicle through a fuel quantity correction model based on the fuel quantity value of the vehicle and the cumulative fuel quantity consumed by the engine of the vehicle to obtain the corrected fuel quantity value of the vehicle, including:
[0061] In response to the vehicle satisfying the slope condition and the vehicle speed condition, and the difference between the fuel level value of the vehicle and the fuel level value currently detected by the vehicle exceeds the fuel level difference threshold, and the fuel level value currently detected by the vehicle is higher than the standard fuel level remaining value, the fuel level correction model is:
[0062] Corrected oil level value = oil level value of the vehicle - α * accumulated oil consumption of the engine, α is a preset first correction coefficient, α>1;
[0063] In response to the vehicle satisfying the slope condition and the vehicle speed condition, and the difference between the fuel level value of the vehicle and the fuel level value currently detected by the vehicle exceeds the fuel level difference threshold, and the fuel level value currently detected by the vehicle is lower than the standard fuel level remaining value, the fuel level correction model is:
[0064] Corrected oil level value = oil level value of the vehicle - β * accumulated oil consumption of the engine, β is a preset second correction coefficient, β < 1, wherein,
[0065] The accumulation start time of the cumulative fuel consumption of the engine is the correction start time, and the standard fuel remaining value=the fuel value of the vehicle-the cumulative fuel consumption of the engine.
[0066] It should be noted that the fuel level difference threshold in this embodiment is set according to the accuracy of the fuel level sensor, and different fuel level sensors can be set with different fuel level difference thresholds. When collecting data through the fuel level sensor, it is necessary to wait for the fuel tank liquid level to stabilize before collecting data. Usually, after waiting for a certain period of time, it is assumed that the fuel tank liquid level has stabilized. If the difference between the fuel level value of the vehicle before the correction begins and the fuel level value currently detected by the vehicle does not exceed the fuel level difference threshold, it means that the vehicle consumes less fuel within the reasonable error range of the fuel level sensor, for example, the vehicle stops immediately after starting, and then there is no need to calibrate the current fuel level value of the vehicle.
[0067] If, under the premise that the vehicle meets the slope condition and the vehicle speed condition, the difference between the fuel level value of the vehicle before the correction starts and the fuel level value currently detected by the vehicle exceeds the fuel level difference threshold, two cases are described. The first case is that the fuel level value currently detected by the vehicle is lower than the standard remaining fuel level value, where the standard remaining fuel level value = the fuel level value of the vehicle - the accumulated fuel consumption of the engine, and the standard remaining fuel level value indicates the theoretical remaining fuel level after the vehicle stops after driving for a period of time. Therefore, in order to make the vehicle's currently detected fuel value close to the standard remaining fuel value during the calibration process, the fuel correction equation is: Corrected fuel value = the vehicle's fuel value - α * the engine's cumulative fuel consumption, the specific value of the preset first correction coefficient α is set to be greater than 1, and the corrected fuel value is made as close to the standard remaining fuel value as possible while ensuring that the fuel value displayed to the user does not jump. In this embodiment, the preset first correction coefficient α is set to 1.1; the second situation is specifically that the vehicle's currently detected fuel value is higher than the standard remaining fuel value. Therefore, in order to make the vehicle's currently detected fuel value close to the standard remaining fuel value during the calibration process, the fuel correction equation is: Corrected fuel value = the vehicle's fuel value - β * the engine's cumulative fuel consumption, the specific value of the second correction coefficient β is set to be less than 1, and the corrected fuel value is made as close to the standard remaining fuel value as possible while ensuring that the fuel value displayed to the user does not jump. In this embodiment, the preset second correction coefficient β is set to 1.1.
[0068] In some embodiments, before correcting the current fuel volume of the vehicle, the method further includes:
[0069] In response to the vehicle not satisfying a preset fuel level cutoff condition or not reaching a preset correction number, the current fuel level value of the vehicle is corrected.
[0070] Specifically, before correcting the fuel level of the vehicle, it is also necessary to determine whether the current fuel level of the vehicle needs to be corrected based on the fuel level cutoff condition and the preset number of corrections. For example, after the vehicle is started, it has been running smoothly, and the oil tank liquid level shakes slightly, which meets the fuel level cutoff condition, where the fuel level cutoff condition = the fuel level of the vehicle - the cumulative fuel consumption of the engine, that is, the current fuel level of the vehicle detected by the fuel level sensor is close to the standard remaining fuel level. At this time, the current fuel level of the vehicle does not need to be corrected; but if the driving section after the vehicle is started is not smooth or the vehicle speed is fast, causing the tank liquid level to shake greatly, and the fuel level cutoff condition is not met, then the current fuel level of the vehicle needs to be corrected. This process may require multiple fuel level corrections. After each correction, there is no need to reset the cumulative fuel consumption of the engine, and the corrected fuel level value obtained from the last correction is used as the current fuel level for correction again.
[0071] In addition, a preset number of corrections is set based on a large amount of historical vehicle driving data. When the number of corrections for the vehicle reaches the preset number of corrections, it is considered that the current fuel level value of the vehicle is relatively accurate. In this embodiment, the preset number of corrections is 1, that is, a single correction of the current fuel level value of the vehicle can meet the correction requirement, and the vehicle's fuel level value can be prevented from jumping.
[0072] In addition, it should be noted that when the vehicle is in a state of being turned off or refueling, the oil level correction cannot be performed, and the oil level correction is stopped.
[0073] In some embodiments, the vehicle speed condition includes: the vehicle speed changes from a vehicle speed equal to zero to a vehicle speed greater than zero, and then changes from a vehicle speed greater than zero to a vehicle speed equal to zero.
[0074] Specifically, the vehicle speed condition is that the vehicle changes from the parking state to the driving state after starting, and then changes from the driving state to the parking state. After parking, the current fuel level of the vehicle is calibrated. During the driving process of the vehicle, due to the certain degree of shaking of the vehicle, the detection resistance of the fuel level sensor is affected to a certain extent, so the correction coefficient cannot be accurately selected. Therefore, the vehicle is selected to be stationary and the fuel tank liquid level is stable before the vehicle is calibrated to ensure the accuracy of the correction.
[0075] In some embodiments, the slope condition includes:
[0076] The current lateral acceleration or longitudinal acceleration of the vehicle is less than or equal to a preset acceleration threshold.
[0077] Specifically, the lateral acceleration and longitudinal acceleration obtained are used to determine whether the vehicle meets the slope condition. When the vehicle is stationary on a slope, there is a corresponding relationship between the angle of the slope and the component of the acceleration of the vehicle in the vertical direction. Those skilled in the art can calculate the slope angle based on the acceleration of the vehicle, which will not be repeated here. At this time, the vehicle is stationary, and the values of the lateral acceleration and longitudinal acceleration of the vehicle will not be affected by the vehicle's driving, but only depend on the slope of the vehicle. The acceleration threshold in this embodiment is set to 0.05g (g represents the acceleration of gravity). When the lateral acceleration or longitudinal acceleration is less than or equal to 0.05g, it is considered that the vehicle is on a slope with a relatively gentle slope or on a flat road, and the slope condition is met. When the lateral acceleration or longitudinal acceleration is greater than 0.05g, it is considered that the vehicle is on a slope with a large slope and does not meet the slope condition. The setting of the acceleration threshold can be adjusted according to the actual vehicle condition. The acceleration threshold of 0.05g in this embodiment is only used as an exemplary description.
[0078] In some embodiments, the vehicle still consumes fuel even when the vehicle speed condition is not met. For example, the vehicle engine is in the started state, but the vehicle speed remains at zero. Some fuel consumption is generated due to the air conditioner being turned on in the vehicle. At this time, the correction of the vehicle's fuel value is the same as the above-mentioned fuel correction method, which will not be repeated here.
[0079] In some embodiments, if the vehicle controller VCU set in the vehicle is upgraded online OTA, the vehicle controller VCU stores the current fuel level for the fuel level value when the vehicle is started next time.
[0080] In some embodiments, when it is detected that the vehicle is stationary (vehicle speed = 0), and the fuel cap of the fuel tank is in the open state through the BCM feedback, if the resistance value of the fuel sensor changes by more than a certain value, it is judged that the vehicle is refueling at this time. The fixed value needs to be set according to the capacity of the fuel tank. If the fuel tank capacity is large, the fixed value can be set to a smaller value. If the fuel tank capacity is small, the fixed value can be set to a larger value. In response to detecting that the fuel tank cap is closed, the vehicle is running (vehicle speed>0) or the oil level sensor is stable (the detection resistance value changes by no more than ±2 ohms) and lasts for a period of time, the VCU exits the refueling state and can continue to calibrate the vehicle's fuel volume according to the fuel volume calibration method in the above embodiment. In order to avoid the failure of the fuel tank cap to identify refueling, when the fuel tank cap fails, the fuel tank cap is defaulted to the open state.
[0081] In some embodiments, during vehicle driving, the oil level value detected by the oil level sensor is filtered by the VCU to detect whether there is an oil leakage. If the difference between the oil level value detected after filtering and the oil level value detected before filtering exceeds a certain range, for example: 10L, it means that the vehicle has an oil leakage fault at this time, and the current oil level value displayed on the vehicle instrument panel is changed to the detected oil level value after filtering. The filtering method in this embodiment can adopt the conventional filtering method in the field, which will not be repeated here.
[0082] In some embodiments, if an oil level sensor failure occurs, the user is prompted that the oil level sensor failure occurs, and before the failure is restored, the correction coefficient is set to 1.0, that is, the corrected oil level value = the oil level value of the vehicle - the accumulated oil consumption of the engine.
[0083] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.
[0084] 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.
[0085] In a second aspect of the present application, corresponding to any of the above-mentioned embodiments and methods, the present application also provides an oil quantity correction device.
[0086] Figure 4 The structure diagram of an oil quantity correction device 400 according to an embodiment of the present application is shown. The oil quantity correction device 400 comprises:
[0087] The detection module 402 is configured to obtain a fuel level value currently detected by the vehicle in response to the vehicle starting;
[0088] The determination module 404 is configured to determine the fuel level of the vehicle based on the current slope information of the vehicle, the fuel level of the vehicle currently detected, and the fuel level of the vehicle at the end of the last trip;
[0089] The correction module 406 is configured to correct the current fuel level of the vehicle based on the fuel level value of the vehicle and the cumulative fuel consumption value of the engine of the vehicle through a fuel level correction model in response to the vehicle satisfying a preset slope condition, a preset vehicle speed condition and a preset fuel level difference threshold, so as to obtain the corrected fuel level value of the vehicle.
[0090] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0091] The device of the above embodiment is used to implement the corresponding oil quantity correction method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0092] In the third aspect of the present application, corresponding to any of the above-mentioned embodiments, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the oil quantity correction method described in any of the above embodiments is implemented.
[0093] Figure 5A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0094] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0095] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0096] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0097] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0098] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0099] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0100] The electronic device of the above embodiment is used to implement the corresponding oil quantity correction method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0101] In the fourth aspect of the present application, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the oil quantity correction method described in any of the above embodiments.
[0102] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0103] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the oil quantity correction method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0104] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0105] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.
[0106] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0107] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.
[0108] It should be noted that, in this article, relational terms such as "first" and "second" 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 term "comprises" or any other variant thereof is 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 sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
Claims
1. A method for oil quantity correction, characterized in that: include: In response to the vehicle being started, obtaining a fuel level value currently detected by the vehicle; Determine the fuel level of the vehicle based on the current slope information of the vehicle, the fuel level of the vehicle currently detected, and the fuel level of the vehicle at the end of the last trip; In response to the vehicle satisfying a preset slope condition, a preset vehicle speed condition and a preset fuel quantity difference threshold, the current fuel quantity of the vehicle is corrected by a fuel quantity correction model based on the fuel quantity value of the vehicle and the cumulative fuel quantity consumed by the engine of the vehicle to obtain a corrected fuel quantity value of the vehicle; In the oil quantity correction model, the corrected oil quantity value is equal to the difference between the oil quantity value of the vehicle and the corrected cumulative oil consumption of the engine, wherein the corrected cumulative oil consumption of the engine is determined based on a preset correction coefficient and the cumulative oil consumption of the engine.
2. The method according to claim 1, characterized in that The determining of the fuel level of the vehicle based on the current slope information of the vehicle, the fuel level currently detected by the vehicle, and the fuel level at the end of the last trip of the vehicle comprises: In response to the slope information satisfying the slope condition, and the difference between the fuel level value currently detected by the vehicle and the fuel level value at the end of the last trip of the vehicle is less than a preset difference, the fuel level value at the end of the last trip of the vehicle is used as the fuel level value of the vehicle; In response to the slope information satisfying the slope condition, and the difference between the fuel level value currently detected by the vehicle and the fuel level value at the end of the last trip of the vehicle is greater than or equal to the preset difference, the fuel level value currently detected by the vehicle is used as the fuel level value of the vehicle; In response to the slope information not satisfying the slope condition, the fuel level value at the end of the last trip of the vehicle is used as the fuel level value of the vehicle.
3. The method according to claim 1, characterized in that: The determining of the fuel level of the vehicle further includes: In response to the absence of the fuel level value at the end of the last trip of the vehicle, the fuel level value currently detected by the vehicle is used as the fuel level value of the vehicle.
4. The method according to claim 1, characterized in that: In response to the vehicle satisfying the preset slope condition, the preset vehicle speed condition and the preset fuel quantity difference threshold, the current fuel quantity value of the vehicle is corrected by a fuel quantity correction model based on the fuel quantity value of the vehicle and the cumulative fuel quantity consumed by the engine of the vehicle to obtain the corrected fuel quantity value of the vehicle, including: In response to the vehicle satisfying the slope condition and the vehicle speed condition, and the difference between the fuel level value of the vehicle and the fuel level value currently detected by the vehicle exceeds the fuel level difference threshold, and the fuel level value currently detected by the vehicle is higher than the standard fuel remaining value, the fuel level correction model is Corrected oil level value = oil level value of the vehicle - α * accumulated oil consumption of the engine, α is a preset first correction coefficient, α>1; In response to the vehicle satisfying the slope condition and the vehicle speed condition, and the difference between the fuel level value of the vehicle and the fuel level value currently detected by the vehicle exceeds the fuel level difference threshold, and the fuel level value currently detected by the vehicle is lower than the standard fuel level remaining value, the fuel level correction model is Corrected oil level value = oil level value of the vehicle - β * accumulated oil consumption of the engine, β is a preset second correction coefficient, β < 1, wherein, The accumulation start time of the cumulative fuel consumption of the engine is the correction start time, and the standard fuel remaining value=the fuel value of the vehicle-the cumulative fuel consumption of the engine.
5. The method according to any one of claims 1 to 4, characterized in that: Before correcting the current oil volume of the vehicle, the method further includes: In response to the vehicle not satisfying a preset fuel level cutoff condition or not reaching a preset correction number, the current fuel level value of the vehicle is corrected.
6. The method according to any one of claims 1 to 4, characterized in that: The vehicle speed conditions include: The vehicle speed changes from zero to greater than zero, and then changes from greater than zero to zero.
7. The method according to claim 6, characterized in that The slope conditions include: The current lateral acceleration or longitudinal acceleration of the vehicle is less than or equal to a preset acceleration threshold.
8. An oil quantity correction device, characterized in that: include: The detection module is configured to obtain a fuel quantity value currently detected by the vehicle in response to the vehicle starting; a determination module configured to determine the fuel level of the vehicle based on the current slope information of the vehicle, the fuel level currently detected by the vehicle, and the fuel level at the end of the last trip of the vehicle; a correction module, configured to correct the current fuel level of the vehicle by using a fuel level correction model based on the fuel level value of the vehicle and the cumulative fuel level consumed by the engine of the vehicle in response to the vehicle satisfying a preset slope condition, a preset vehicle speed condition and a preset fuel level difference threshold, so as to obtain a corrected fuel level value of the vehicle; In the oil quantity correction model, the corrected oil quantity value is equal to the difference between the oil quantity value of the vehicle and the corrected cumulative oil consumption of the engine, wherein the corrected cumulative oil consumption of the engine is determined based on a preset correction coefficient and the cumulative oil consumption of the engine.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 7.
