Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for detecting the reliability of the air inlet pressure of an engine, which are used for solving the problems that in the prior art, when the reliability of the air inlet pressure of the engine is detected by using atmospheric pressure, the reliability of the air inlet pressure of the engine is judged by using the atmospheric pressure, and an atmospheric pressure sensor fails; or the air inlet pressure sensor has dynamic faults due to no static faults, so that the judgment result is wrong.
The embodiment of the invention provides a method for detecting the reliability of the air inlet pressure of an engine, which comprises the following steps:
acquiring the rotation speed of an engine and the opening degree of a throttle valve;
when the rotating speed of the engine is zero, respectively acquiring a front side air pressure value at the front side of a throttle valve and a rear side air pressure value at the rear side of the throttle valve, and determining whether the air inlet pressure of the engine is credible or not according to a difference value between the front side air pressure value and the rear side air pressure value and a preset static error threshold value;
and when the rotating speed of the engine is non-zero, determining a dynamic error threshold value corresponding to the opening range of the current throttle valve according to the dynamic error threshold values corresponding to different opening ranges of the throttle valve, and determining whether the intake pressure of the engine is credible according to the difference value between the front side air pressure value and the rear side air pressure value at the rear side of the throttle valve and the corresponding dynamic error threshold value.
Optionally, determining whether the engine intake pressure is reliable according to a difference between the front side air pressure value and the rear side air pressure value and a preset static error threshold value, includes:
and determining that the air inlet pressure of the engine is not credible according to the fact that the difference value between the front side air pressure value and the rear side air pressure value is larger than or equal to a preset static error threshold value.
Optionally, determining whether the engine intake pressure is reliable according to the difference between the front side air pressure value and the rear side air pressure value and the corresponding dynamic error threshold value, includes:
and determining that the air inlet pressure of the engine is not credible according to the condition that the difference value between the front side air pressure value and the rear side air pressure value is greater than or equal to the corresponding dynamic error threshold value.
Optionally, the preset opening value and the preset dynamic error threshold value are multiple and in one-to-one correspondence; the larger the preset opening value is, the smaller the corresponding preset dynamic error threshold value is.
Optionally, the preset opening value and the corresponding preset dynamic error threshold are determined by the engine speed and the engine charge.
Based on the same inventive concept, the embodiment of the invention also provides an engine intake pressure credibility detection device, which comprises:
the engine state detection module is used for acquiring the rotating speed of the engine and the opening degree of a throttle valve;
the static fault determination module is used for respectively acquiring a front side air pressure value at the front side of a throttle valve and a rear side air pressure value at the rear side of the throttle valve when the rotating speed of the engine is zero, and determining whether the air inlet pressure of the engine is credible according to whether the difference value of the front side air pressure value and the rear side air pressure value is smaller than a preset static error threshold value;
and the dynamic fault determination module is used for determining a dynamic error threshold corresponding to the opening range of the current throttle valve according to dynamic error thresholds corresponding to different opening ranges of the throttle valve when the rotating speed of the engine is nonzero, and determining whether the air inlet pressure of the engine is credible according to whether the difference value between the front side air pressure value and the rear side air pressure value is smaller than the corresponding dynamic error threshold.
Optionally, the preset opening value and the preset dynamic error threshold value are multiple and in one-to-one correspondence; the larger the preset opening value is, the smaller the corresponding preset dynamic error threshold value is.
Optionally, the preset opening value and the corresponding preset dynamic error threshold are determined by the engine speed and the engine charge.
Based on the same inventive concept, the embodiment of the invention also provides engine intake pressure credibility detection equipment, which comprises: a processor and a memory for storing processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the engine intake pressure reliability detection method.
Based on the same inventive concept, the embodiment of the invention also provides a storage medium, wherein the storage medium stores a computer program, and the computer program is used for realizing the engine intake pressure credibility detection method.
The invention has the following beneficial effects:
according to the method, the device and the equipment for detecting the reliability of the air inlet pressure of the engine and the method and the equipment for storing the medium, provided by the embodiment of the invention, whether the air inlet pressure of the engine is reliable or not is judged by judging whether the difference value of the air pressure values before and after the throttle valve is overlarge or not, so that the problem that an atmospheric pressure sensor fails when the atmospheric pressure is used for judging the reliability of the air inlet pressure of the engine in the prior art is avoided; or the air inlet pressure sensor has dynamic faults due to no static faults, so that the judgment result is wrong.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, the present invention is further described with reference to the accompanying drawings and examples. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar structures, and thus their repetitive description will be omitted. The words expressing the position and direction described in the present invention are illustrated in the accompanying drawings, but may be changed as required and still be within the scope of the present invention. The drawings of the present invention are for illustrative purposes only and do not represent true scale.
It should be noted that in the following description, specific details are set forth in order to provide a thorough understanding of the present invention. The invention can be implemented in a number of ways different from those described herein and similar generalizations can be made by those skilled in the art without departing from the spirit of the invention. Therefore, the present invention is not limited to the specific embodiments disclosed below. The description which follows is a preferred embodiment of the present application, but is made for the purpose of illustrating the general principles of the application and not for the purpose of limiting the scope of the application. The protection scope of the present application shall be subject to the definitions of the appended claims.
The following describes an engine intake pressure reliability detection method, apparatus, device, and storage medium according to an embodiment of the present invention with reference to the accompanying drawings.
The embodiment of the invention provides a method for detecting the reliability of the intake pressure of an engine, which comprises the following steps of:
s100, judging whether the air pressure sensor can collect an air pressure value or not;
if yes, S101, obtaining the rotation speed of the engine and the opening degree of a throttle valve;
s102, judging whether the rotating speed of the engine is zero or not;
s103, when the rotating speed of the engine is zero, respectively acquiring a front side air pressure value of the front side of the throttle valve and a rear side air pressure value of the rear side of the throttle valve;
determining whether the air inlet pressure of the engine is credible or not according to the difference value between the front side air pressure value and the rear side air pressure value and a preset static error threshold value;
as an alternative embodiment, determining whether the engine intake pressure is authentic based on a difference between the front side air pressure value and the rear side air pressure value on the rear side of the throttle valve and a preset static error threshold value includes:
and S104, judging whether the difference value of the front side air pressure value and the rear side air pressure value is smaller than a preset static error threshold value or not, and judging whether the air inlet pressure of the engine is credible or not.
If the judgment result in the step S102 is negative, S105, when the rotating speed of the engine is non-zero, determining a dynamic error threshold value corresponding to the opening range where the current throttle valve opening is located according to the dynamic error threshold values corresponding to different opening ranges of the throttle valve;
and determining whether the air inlet pressure of the engine is credible or not according to the difference value between the front side air pressure value and the rear side air pressure value at the rear side of the throttle valve and the corresponding dynamic error threshold value.
As an alternative embodiment, determining whether the engine intake pressure is authentic based on the difference between the front side air pressure value and the rear side air pressure value on the rear side of the throttle valve and the corresponding dynamic error threshold value includes:
s106, judging whether the difference value between the front side air pressure value and the rear side air pressure value at the rear side of the throttle valve is smaller than the corresponding dynamic error threshold value or not to judge whether the air inlet pressure of the engine is credible or not;
if the judgment result in the step S100, the step S104 or the step S106 is negative, S107, determining that the engine intake pressure is not credible;
and if the judgment result in the step S106 is yes, S108, determining that the engine intake pressure is credible.
In a specific implementation process, the step S100 is to determine whether an air pressure sensor can collect an air pressure value, where the air pressure sensor includes a front side air pressure sensor installed at a position before a throttle valve and a truck air pressure sensor installed at a position after the throttle valve. The front side air pressure sensor is used for detecting the front side air pressure value, and the rear side air pressure sensor is used for detecting the rear side air pressure value. The judgment condition in step S100 may specifically be that the air pressure sensor can be normally connected to a circuit, is in a non-open state, and uploads the collected air pressure value. The air pressure sensor can also collect a relatively normal air pressure value, and when the collected air pressure value is far smaller than the atmospheric pressure, the air pressure sensor is judged not to be capable of collecting the air pressure value. The conditions may be other conditions for deducing whether the air pressure sensor can collect the air pressure value in a reasonable way, and are not limited herein.
In the implementation process, the method for detecting the engine intake pressure credibility may be applied to engines of fuel engines, natural gas engines and other types, and is not limited herein.
For the engine, when the engine speed is zero, the front and rear intake pressure values of the throttle valve should be theoretically equal, and the difference should be zero. However, in practical implementation, the difference between the front side air pressure value and the rear side air pressure value should be a value close to zero due to the influence of sensor measurement errors and the like. If the difference value is too large, it can be determined that at least one of the air pressure sensor for measuring the front side air pressure value and the air pressure sensor for measuring the rear side air pressure value has a fault, and the air inlet pressure of the engine is not credible at the moment. Meanwhile, the air pressure sensor may have a normal working state when the engine rotation speed is zero and no static fault, but when the engine is running, the air pressure sensor has a dynamic fault due to factors such as temperature rise and air pressure increase, so that when the throttle valve is at different opening degrees, the difference value between the front side air pressure value and the rear side air pressure value is detected and compared with a dynamic error threshold corresponding to the sensor without fault, and it can be determined that the air pressure sensor measuring the front side air pressure value or the air pressure sensor measuring the rear side air pressure value has at least one dynamic fault, which causes the engine intake pressure to be unreliable.
Therefore, the air inlet pressure of the engine is judged to be unreliable through the front side air pressure value and the rear side air pressure value, and the problem that an atmospheric pressure sensor fails when the atmospheric pressure is used for judging the reliability of the air inlet pressure of the engine in the prior art is avoided; or the air inlet pressure sensor has dynamic faults due to no static faults, so that the judgment result is wrong.
Optionally, the preset opening value and the preset dynamic error threshold value are multiple and in one-to-one correspondence;
the larger the preset opening value is, the smaller the corresponding preset dynamic error threshold value is.
In the specific implementation process, under different working conditions of the engine, the opening degree of the throttle valve in the non-throttle area is different, and the magnitude of the intake pressure is different. Theoretically, when the throttle opening degree is sufficiently large (larger than a certain preset opening degree value), the air pressure values before and after the throttle should be equal at that time. The preset opening value and the preset dynamic error threshold value can be determined as the same preset dynamic error for the preset opening value in a certain range through a preset corresponding relation table, and the preset opening value and the preset dynamic error threshold value are determined in a table look-up mode during detection. Or fitting a function curve of the preset opening value and the preset dynamic error through a corresponding relation between a plurality of preset opening values and the preset dynamic error, and determining the preset dynamic error corresponding to the current throttle opening through the function curve. And is not limited herein.
In this way, by setting a plurality of preset opening values and preset dynamic error thresholds, the reliability of the intake pressure of the engine under different working conditions can be detected.
Optionally, the preset opening value and the corresponding preset dynamic error threshold are determined by the engine speed and the engine charge.
In particular implementations, the opening value of the engine may be determined by a calculation of the engine speed and the engine charge, and the preset opening value may then be directly represented by the corresponding engine speed and the engine charge without calculating a specific value for the preset opening value. Correspondingly, the preset dynamic error threshold value and the preset opening value are in a one-to-one correspondence relationship, so that the preset dynamic error threshold value can be directly determined according to the rotating speed of the engine and the engine charge without calculating a specific numerical value of the preset opening value.
In this way, the preset opening value and the corresponding preset dynamic error threshold value are directly determined through the engine speed and the engine charge, a specific numerical value of the preset opening value does not need to be calculated, and the calculation amount of a software program for realizing the engine intake pressure credibility detection method is reduced.
Based on the same inventive concept, an embodiment of the present invention further provides an engine intake pressure reliability detection apparatus, as shown in fig. 2, including:
the engine state detection module M1 is used for acquiring the engine speed and the throttle opening;
the static fault determination module M2 is used for respectively acquiring a front side air pressure value at the front side of the throttle valve and a rear side air pressure value at the rear side of the throttle valve when the rotating speed of the engine is zero, and determining whether the air inlet pressure of the engine is credible according to whether the difference value between the front side air pressure value and the rear side air pressure value at the rear side of the throttle valve is smaller than a preset static error threshold value;
and the dynamic fault determination module M3 is used for determining a dynamic error threshold corresponding to the opening range where the current throttle opening is located according to dynamic error thresholds corresponding to different throttle opening ranges when the engine rotating speed is nonzero, and determining whether the engine intake pressure is credible according to whether the difference value between the front side air pressure value and the rear side air pressure value at the rear side of the throttle is smaller than the corresponding dynamic error threshold.
Optionally, the preset opening value and the preset dynamic error threshold value are multiple and in one-to-one correspondence; the larger the preset opening value is, the smaller the corresponding preset dynamic error threshold value is.
Optionally, the preset opening value and the corresponding preset dynamic error threshold are determined by the engine speed and the engine charge.
In a specific implementation process, a specific working principle of the engine intake pressure reliability detection device is substantially consistent with a specific working principle of the engine intake pressure reliability detection method, and the specific implementation process can participate in the implementation process of the engine intake pressure reliability detection method, so that details are not repeated.
Based on the same inventive concept, an embodiment of the present invention further provides an engine intake pressure reliability detection apparatus, as shown in fig. 3, including: the method comprises the following steps: a processor 110 and a memory 120 for storing instructions executable by the processor 110; wherein the processor 110 is configured to execute the instructions to implement the engine intake pressure reliability detection method.
In particular implementations, the apparatus may vary widely depending on configuration or performance, and may include one or more processors 110 and memory 120, one or more storage media 130 storing applications 131 or data 132. Memory 120 and storage medium 130 may be, among other things, transient or persistent storage. The application 131 stored in the storage medium 130 may include one or more units (not shown in fig. 3) described above, and each module may include a series of instruction operations in the information processing apparatus. Further, the processor 110 may be configured to communicate with the storage medium 130 to execute a series of instruction operations in the storage medium 130 on the device. The apparatus may also include one or more power supplies (not shown in FIG. 3); one or more transceivers 140, the transceivers 140 comprising a wired or wireless network interface 141, one or more input-output interfaces 142; and/or one or more operating systems 133, such as Windows, Mac OS, Linux, IOS, Android, Unix, FreeBSD, etc.
Based on the same inventive concept, the embodiment of the invention also provides a storage medium, wherein the storage medium stores a computer program, and the computer program is used for realizing the engine intake pressure credibility detection method.
According to the method, the device and the equipment for detecting the reliability of the air inlet pressure of the engine and the method and the equipment for storing the medium, provided by the embodiment of the invention, whether the air inlet pressure of the engine is reliable or not is judged by judging whether the difference value of the air pressure values before and after the throttle valve is overlarge or not, so that the problem that an atmospheric pressure sensor fails when the atmospheric pressure is used for judging the reliability of the air inlet pressure of the engine in the prior art is avoided; or the air inlet pressure sensor has dynamic faults due to no static faults, so that the judgment result is wrong.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.