Disclosure of Invention
In view of the above, the present invention provides a fuel quality detection method, a fuel quality detection device, a readable storage medium, and an electronic control unit, which are intended to detect substandard fuel to remind a user.
In order to achieve the above object, the following solutions are proposed:
in a first aspect, a fuel quality detection method is provided, including:
calculating to obtain the fuel oil filling amount;
judging whether the fuel oil filling amount is larger than a preset filling amount threshold value or not, if so, judging whether the vehicle meets a preset detection trigger condition, wherein the detection trigger condition comprises that the difference between the average value of the actual SCR (Selective catalytic reduction) conversion efficiency before the fuel oil is filled and the ideal SCR conversion efficiency value is smaller than a preset difference threshold value;
when the detection triggering condition is met, calculating to obtain the current actual SCR conversion efficiency value;
and determining whether the quality of the injected fuel oil reaches the standard or not according to the relation between the current actual SCR conversion efficiency value and the average value of the actual SCR conversion efficiency before the fuel oil is injected.
Optionally, the calculating the fuel filling amount includes:
when the electronic control unit is powered off, the liquid level of the oil tank is stored;
and after the electronic control unit is powered on, calculating to obtain the fuel oil filling amount according to the current fuel tank liquid level and the fuel tank liquid level during power-off.
Optionally, the determining whether the quality of the injected fuel oil reaches the standard according to the relationship between the current actual SCR conversion efficiency value and the average value of the actual SCR conversion efficiency before the fuel oil injection includes:
and after the difference value between the current actual SCR conversion efficiency value obtained by multiple times of calculation and the average value of the actual SCR conversion efficiency before fuel oil filling is larger than a preset difference threshold value, determining that the quality of the filled fuel oil does not reach the standard.
Optionally, the detecting the trigger condition further includes:
the rotating speed of the engine is in a preset rotating speed range;
the fuel injection quantity is in a preset injection quantity range;
the exhaust gas mass flow is within a preset mass flow range:
the ammonia injection amount is within a preset injection amount range; and the number of the first and second groups,
the average temperature of the SCR is within a preset temperature range.
In a second aspect, a fuel quality detection device is provided, including:
the fuel filling calculation unit is used for calculating to obtain the fuel filling amount;
the fuel oil filling judging unit is used for judging whether the fuel oil filling amount is larger than a preset filling amount threshold value or not, and if so, the detection triggering judging unit is executed;
the detection trigger judging unit is used for judging whether the vehicle meets a preset detection trigger condition, the detection trigger condition comprises that the difference between the actual SCR conversion efficiency average value before fuel oil is filled and the ideal SCR conversion efficiency value is smaller than a preset difference threshold value, and if yes, the conversion efficiency calculating unit is executed;
the conversion efficiency calculation unit is used for calculating to obtain a current actual SCR conversion efficiency value;
and the fuel quality analysis unit is used for determining whether the quality of the injected fuel reaches the standard or not according to the relation between the current actual SCR conversion efficiency value and the average value of the actual SCR conversion efficiency before the fuel is injected.
Optionally, the fuel filling calculation unit is specifically configured to store a fuel tank liquid level when the electronic control unit is powered off, and calculate the fuel filling amount according to a current fuel tank liquid level and the fuel tank liquid level when the electronic control unit is powered on.
Optionally, the fuel quality analysis unit is configured to determine that the quality of the injected fuel does not reach the standard after the difference between the current actual SCR conversion efficiency value obtained through multiple calculations and the average value of the actual SCR conversion efficiency before the fuel is injected is greater than a preset difference threshold.
Optionally, the detecting the trigger condition further includes:
the rotating speed of the engine is in a preset rotating speed range;
the fuel injection quantity is in a preset injection quantity range;
the exhaust gas mass flow is within a preset mass flow range:
the ammonia injection amount is within a preset injection amount range; and the number of the first and second groups,
the average temperature of the SCR is within a preset temperature range.
In a third aspect, a readable storage medium is provided, which stores a program that, when executed by a processor, implements the steps of the fuel quality detection method according to any one of the first aspect.
In a fourth aspect, there is provided an electronic control unit comprising: a memory and a processor;
the memory is used for storing programs;
the processor is configured to execute the program to implement the steps of any one of the fuel quality detection methods according to the first aspect.
Compared with the prior art, the technical scheme of the invention has the following advantages:
the technical scheme provides a fuel quality detection method, a device, a readable storage medium and an electronic control unit, the method comprises the steps of firstly calculating to obtain fuel filling quantity, when the fuel filling quantity is larger than a preset filling quantity threshold value and a vehicle meets a preset trigger condition, namely the difference between the actual SCR conversion efficiency average value before fuel filling and an ideal SCR conversion efficiency value is smaller than a preset difference threshold value, judging the relation between the current actual SCR conversion efficiency value and the actual SCR conversion efficiency average value before fuel filling, and determining whether the quality of the filled fuel reaches the standard or not. The quality of the fuel oil to be filled can not reach the standard, and a user can be reminded in a preset mode so as to reduce further damage to the aftertreatment system. And the next fuel quality judgment is carried out only when the fact that the fuel is injected and the average value of the actual SCR conversion efficiency before the fuel is injected meets the preset condition is detected, so that the detection error caused by SCR aging is effectively avoided, and the reliability of the detection result is improved.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The present embodiment provides a fuel quality detection method, referring to fig. 1, the fuel quality detection method includes the steps of:
s11: and calculating to obtain the fuel filling quantity.
The manner in which the fuel charge is calculated may be various. One is the oil tank liquid level detected by a liquid level sensor, and the fuel oil filling amount is calculated according to the oil tank liquid level variable quantity; the other is that the liquid level of the fuel tank is identified through an image shot by a visual sensor, and then the fuel filling amount is calculated according to the liquid level variation of the fuel tank; in another method, the fuel filling amount is calculated from the change in the oil pressure by detecting the bottom oil pressure of the tank using a pressure sensor.
In one or more specific embodiments, the fuel tank liquid level is detected by a liquid level sensor, and when an electronic control unit (namely ECU) is powered down, the fuel tank liquid level when the ECU is powered down is stored; and after the electronic control unit is powered on, calculating to obtain the fuel oil filling amount according to the current fuel tank liquid level and the fuel tank liquid level during power off. The shape parameters of the oil tank can be stored in advance, and then the fuel filling amount can be calculated according to the liquid level variation of the oil tank. The liquid level of the oil tank is detected by the liquid level sensor when the electronic control unit is powered down.
In one or more specific embodiments, the liquid level of the oil tank is detected in real time through a liquid level sensor, after the liquid level of the oil tank is detected to be continuously increased, the initial liquid level of the oil tank and the final liquid level of the oil tank in the continuous increasing process are recorded, and then the fuel filling amount is calculated according to the variation between the initial liquid level of the oil tank and the final liquid level of the oil tank.
S12: and judging whether the fuel filling amount is larger than a preset filling amount threshold value, and if so, executing step S13.
S13: and judging whether the vehicle meets a preset detection triggering condition, and if so, executing the step S14.
The detection triggering condition comprises that the difference between the actual SCR conversion efficiency average value before fuel oil filling and the ideal SCR conversion efficiency value is smaller than a preset difference threshold value. The ideal SCR conversion efficiency refers to a conversion efficiency value at which the SCR is not aged, and in one or more implementations the ideal SCR conversion efficiency may be 100%. The average value of the actual SCR conversion efficiency before fuel oil is filled can be an average value of a plurality of actual SCR conversion efficiency values calculated in a period of time before fuel oil is filled, or an average value of the actual SCR conversion efficiency values calculated in the last times before fuel oil is filled; the average value of the actual SCR conversion efficiency before fuel filling represents the conversion efficiency of the SCR when the fuel quality reaches the standard. By setting the filling amount threshold value and the detection triggering condition, the detection error caused by SCR aging or other reasons is effectively avoided, and the reliability of the detection result is improved.
S14: and calculating to obtain the current actual SCR conversion efficiency value.
S15: and determining whether the quality of the injected fuel oil reaches the standard or not according to the relation between the current actual SCR conversion efficiency value obtained by calculation and the average value of the actual SCR conversion efficiency before the fuel oil is injected.
When the quality of the fuel oil to be filled does not reach the standard, the information that the quality of the fuel oil does not reach the standard can be reported to remind a user. The specific reminding manner is not limited in the invention. The fuel quality of the user can be reminded to be not up to the standard in a mode of displaying characters on the display; the user can be reminded that the fuel quality does not reach the standard in a loudspeaker broadcasting mode; corresponding light-emitting diodes can be arranged, and whether the fuel quality reaches the standard or not can be indicated through the light-emitting diodes.
According to the fuel quality detection method provided by the embodiment, the fuel filling amount is obtained through calculation, when the fuel filling amount is larger than the preset filling amount threshold value and a vehicle meets the preset triggering condition, the relation between the current actual SCR conversion efficiency value and the average value of the actual SCR conversion efficiency before fuel filling is judged, and whether the filled fuel quality reaches the standard is determined. The quality of the fuel oil to be filled can not reach the standard, and a user can be reminded in a preset mode so as to reduce further damage to the aftertreatment system.
As shown in fig. 2, if the SCR conversion efficiency value is significantly reduced after the fuel is filled, it can be determined that the quality of the filled fuel does not reach the standard. The ordinate in the figure is the SCR conversion efficiency value.
In one or more specific embodiments, the step of determining whether the quality of the injected fuel reaches the standard according to the relationship between the calculated current actual SCR conversion efficiency value and the average value of the actual SCR conversion efficiency before fuel injection may specifically include: and after the difference value between the current actual SCR conversion efficiency value obtained by multiple times of calculation and the average value of the actual SCR conversion efficiency before fuel oil filling is larger than a preset difference threshold value, determining that the quality of the filled fuel oil does not reach the standard. As shown in fig. 3, whether the difference between the current actual SCR conversion efficiency value obtained by continuous multiple calculations and the actual SCR conversion efficiency average value before fuel injection is greater than the preset difference threshold, or whether the number of times that the difference between the current actual SCR conversion efficiency value and the actual SCR conversion efficiency average value before fuel injection is greater than the preset difference threshold in the preset number of times is greater than the preset difference threshold is greater than the preset number threshold, it is determined that the quality of the injected fuel does not reach the standard.
In one or more specific embodiments, detecting the trigger condition further comprises: the rotating speed of the engine is in a preset rotating speed range; the fuel injection quantity is in a preset injection quantity range; the mass flow of the waste gas is in a preset mass flow range; the ammonia injection amount is within a preset injection amount range; and the average temperature of the SCR is within a preset temperature range.
The SCR average temperature is an average value of temperatures detected at a plurality of positions of the SCR. For example, the temperatures detected by the SCR upstream temperature sensor and the SCR downstream temperature sensor are averaged to obtain the SCR average temperature.
In one or more specific embodiments, detecting the trigger condition may further include: the ambient temperature is within a preset ambient temperature range; the temperature of the cooling liquid is within a preset cooling liquid temperature range; the environmental pressure is greater than a preset pressure threshold; the SCR upstream NOx concentration is within a predetermined concentration range. For example: the detection trigger conditions include the following 10 conditions:
1. the environment temperature is-7 ℃ to 60 ℃;
2. the temperature of the cooling liquid is within 60-110 ℃;
3. the ambient pressure is more than 800 hPa;
4. the rotating speed of the engine is 950-1600 rpm;
5. the fuel injection amount is 40-300 mg/hub;
6. the mass flow of the waste gas is within 300-;
7. the ammonia injection amount is within 10-500 mg/s;
8. the average temperature of the SCR is 200-450 ℃;
9. the NOx concentration upstream of the SCR is within 50-2000 ppm;
10. the difference between the average value of the actual SCR conversion efficiency before filling fuel oil and the ideal SCR conversion efficiency value (namely 100%) is less than 10%.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present invention is not limited by the illustrated ordering of acts, as some steps may occur in other orders or concurrently with other steps in accordance with the invention.
The following are embodiments of the apparatus of the present invention that may be used to perform embodiments of the method of the present invention. For details which are not disclosed in the embodiments of the apparatus of the present invention, reference is made to the embodiments of the method of the present invention.
An embodiment of the present invention provides a fuel quality detection apparatus, and referring to fig. 4, the fuel quality detection apparatus may include: a fuel filling calculation unit 41, a fuel filling judgment unit 42, a detection trigger judgment unit 43, a conversion efficiency calculation unit 44, and a fuel quality analysis unit 45.
And a fuel filling calculation unit 41 for calculating the fuel filling amount.
And a fuel filling judging unit 42, configured to judge whether the fuel filling amount is greater than a preset filling amount threshold, and if so, execute the detection trigger judging unit 43.
The detection trigger determining unit 43 is configured to determine whether the vehicle meets a preset detection trigger condition, where the detection trigger condition includes that a difference between an actual SCR conversion efficiency average value before fuel injection and an ideal SCR conversion efficiency value is smaller than a preset difference threshold, and if so, the conversion efficiency calculating unit 44 is executed.
And the conversion efficiency calculating unit 44 is used for calculating to obtain the current actual SCR conversion efficiency value.
And the fuel quality analysis unit 45 is used for determining whether the quality of the injected fuel reaches the standard or not according to the relation between the current actual SCR conversion efficiency value and the average value of the actual SCR conversion efficiency before the fuel is injected.
The above-mentioned fuel quality detection device that this embodiment provided includes: a fuel filling calculation unit 41, a fuel filling judgment unit 42, a detection trigger judgment unit 43, a conversion efficiency calculation unit 44, and a fuel quality analysis unit 45; and when the fuel oil filling amount is larger than a preset filling amount threshold value and the vehicle meets a preset triggering condition, the fuel oil quality analysis unit 45 judges the relation between the current actual SCR conversion efficiency value and the average value of the actual SCR conversion efficiency before fuel oil filling, and determines whether the quality of the filled fuel oil reaches the standard. The quality of the fuel oil to be filled can not reach the standard, and a user can be reminded in a preset mode so as to reduce further damage to the aftertreatment system. And the next fuel quality judgment is carried out only when the fact that the fuel is injected and the average value of the actual SCR conversion efficiency before the fuel is injected meets the preset condition is detected, so that the detection error caused by SCR aging is effectively avoided, and the reliability of the detection result is improved.
And the fuel filling calculation unit 41 is specifically configured to store the fuel tank liquid level when the electronic control unit is powered off, and calculate the fuel filling amount according to the current fuel tank liquid level and the fuel tank liquid level when the electronic control unit is powered on.
And the fuel quality analysis unit 45 is used for determining that the quality of the injected fuel does not reach the standard after the difference values between the current actual SCR conversion efficiency value obtained through multiple calculations and the average value of the actual SCR conversion efficiency before the fuel is injected are all larger than a preset difference value threshold.
Detecting the trigger condition further includes:
the rotating speed of the engine is in a preset rotating speed range;
the fuel injection quantity is in a preset injection quantity range;
the mass flow of the waste gas is in a preset mass flow range;
the ammonia injection amount is within a preset injection amount range; and the number of the first and second groups,
the average temperature of the SCR is within a preset temperature range.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
The electronic control unit provided by the embodiment of the invention can be a vehicle ECU. Fig. 5 is a schematic diagram of an electronic control unit according to a preferred embodiment of the present invention. The hardware structure of the electronic control unit may include: at least one processor 51, at least one communication interface 52, at least one memory 53 and at least one communication bus 54; and the processor 51, the communication interface 52 and the memory 53 complete communication with each other through the communication bus 54.
The processor 51 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), one or more Integrated circuits configured to implement embodiments of the present invention, or the like in some embodiments.
The communication interface 52 may include a standard wired interface, a wireless interface (e.g., WI-FI interface). Are commonly used to establish communication connections between electronic control units and other electronic devices or systems.
The memory 53 includes at least one type of readable storage medium. The readable storage medium may be an NVM (non-volatile memory) such as flash memory, hard disk, multimedia card, card-type memory, etc. The readable storage medium may also be a high-speed RAM (random access memory) memory. The readable storage medium may in some embodiments be an internal storage unit of the electronic control unit, for example a hard disk of the electronic control unit. In other embodiments, the readable storage medium may also be an external storage device of the electronic control unit, such as a plug-in hard disk, SMC (Smart Media Card), SD (Secure Digital) Card, Flash memory Card (Flash Card), etc. provided on the electronic control unit.
Wherein the memory 53 stores a computer program and the processor 51 may invoke the computer program stored in the memory 53 for:
calculating to obtain the fuel oil filling amount;
judging whether the fuel oil filling amount is larger than a preset filling amount threshold value or not, if so, judging whether the vehicle meets a preset detection trigger condition, wherein the detection trigger condition comprises that the difference between the actual SCR conversion efficiency average value before the fuel oil is filled and the ideal SCR conversion efficiency value is smaller than a preset difference threshold value;
when the detection triggering condition is met, calculating to obtain the current actual SCR conversion efficiency value;
and determining whether the quality of the injected fuel oil reaches the standard or not according to the relation between the current actual SCR conversion efficiency value and the average value of the actual SCR conversion efficiency before the fuel oil is injected.
The refinement function and the extension function of the program may be referred to as described above.
FIG. 5 shows only an electronic control unit having components 51-54, but it is to be understood that not all of the shown components are required and that more or fewer components may alternatively be implemented.
An embodiment of the present invention further provides a readable storage medium, where the readable storage medium may store a program adapted to be executed by a processor, where the program is configured to:
calculating to obtain the fuel oil filling amount;
judging whether the fuel oil filling amount is larger than a preset filling amount threshold value or not, if so, judging whether the vehicle meets a preset detection trigger condition, wherein the detection trigger condition comprises that the difference between the actual SCR conversion efficiency average value before the fuel oil is filled and the ideal SCR conversion efficiency value is smaller than a preset difference threshold value;
when the detection triggering condition is met, calculating to obtain the current actual SCR conversion efficiency value;
and determining whether the quality of the injected fuel oil reaches the standard or not according to the relation between the current actual SCR conversion efficiency value and the average value of the actual SCR conversion efficiency before the fuel oil is injected.
The refinement function and the extension function of the program may be referred to as described above.
In the context of this disclosure, a readable storage medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The readable storage medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
In the present disclosure, a readable storage medium may include a propagated data signal with computer-readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. The readable storage medium may be contained in the electronic control unit; or may be separate and not incorporated into the electronic control unit.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means, or installed from a storage means, or installed from a ROM. The computer program, when executed by a processing device, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
The above-described apparatus embodiments are merely illustrative, in which the units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
In this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
In the present specification, the emphasis points of the embodiments are different from those of the other embodiments, and the same and similar parts among the embodiments may be referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.