Method for checking validity of sensor on basis of pressure signal, and vehicle

By filtering the engine speed and estimating the pressure value, the sensor effectiveness is judged in real time, and the problem of low sensor detection efficiency in the prior art is solved, and the effectiveness verification is realized in the working state is achieved, ensuring the accuracy of engine performance evaluation.

CN119124244AActive Publication Date: 2024-12-13DONGFENG MOTOR GRP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411159588.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-12-13
Estimated Expiration
2044-08-22

AI Technical Summary

Technical Problem

The existing sensor effectiveness detection technology is inefficient and can only be performed in non-operating states, so it is impossible to verify the effectiveness of the sensor in the working state in real time.

Method used

By obtaining the actual engine speed, determining the number of pressure signal sampling times after filtering, and determining whether the sensor is valid based on the actual and estimated pressure values ​​within the preset period, recording the cumulative number of times, and finally determining the effectiveness of the sensor.

Benefits of technology

It improves the efficiency of sensor effectiveness verification, can detect its effectiveness in real time in the working state of the sensor, ensuring accurate evaluation of engine performance and power output.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119124244A_ABST
    Figure CN119124244A_ABST
Patent Text Reader

Abstract

The invention discloses a method for checking the effectiveness of a sensor based on a pressure signal and a vehicle, and the method for checking the effectiveness of the sensor comprises the steps: obtaining the actual rotating speed of an engine; filtering the actual rotating speed of the engine to obtain a filtered engine rotating speed; obtaining an actual pressure value in a preset period, and estimating an estimated pressure value in each period in the preset period according to the actual pressure value in the preset period; according to the actual engine rotating speed and the filtered engine rotating speed, pressure signal sampling times are determined; according to the pressure signal sampling times, the estimated pressure value and the actual pressure value, whether the sensor is preliminarily invalid or not is determined, and the accumulated preliminary valid times and the accumulated preliminary invalid times are recorded; executing the step of acquiring the actual rotating speed of the engine, and determining whether the sensor is invalid or not according to the accumulated preliminary effective times and the accumulated preliminary invalid times. Whether the sensor is invalid or not is determined according to the actual pressure value and the estimated pressure value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of sensor validity verification, and in particular to a method and a vehicle for verifying sensor validity based on a pressure signal. Background Art

[0002] Sensors are used to detect corresponding physical quantities. Whether the sensor is effective is directly related to whether the output physical quantity signal is effective. However, most existing detection technologies use methods to check the physical components of the sensor to detect whether the sensor is effective; this is inefficient and can only be performed when the sensor is not in operation. Summary of the invention

[0003] The main purpose of the present invention is to provide a method and a vehicle for verifying the effectiveness of a sensor based on a pressure signal, aiming to improve the efficiency of verifying the sensor.

[0004] To achieve the above object, the present invention proposes a method for verifying the effectiveness of a sensor based on a pressure signal, the method for verifying the effectiveness of a sensor comprising:

[0005] Get the actual engine speed;

[0006] Filtering the actual engine speed to obtain a filtered engine speed;

[0007] Obtaining an actual pressure value within a preset period, and estimating an estimated pressure value within each period of the preset period according to the actual pressure value within the preset period;

[0008] Determining the number of pressure signal sampling times according to the actual engine speed and the filtered engine speed;

[0009] Determine whether the sensor is preliminarily invalid according to the pressure signal sampling times, the estimated pressure value and the actual pressure value, and record the cumulative preliminarily valid times and the cumulative preliminarily invalid times;

[0010] The step of obtaining the actual engine speed is performed, and whether the sensor is invalid is determined according to the accumulated preliminary valid times and the accumulated preliminary invalid times.

[0011] In one embodiment, the step of estimating the estimated pressure value in each period of the preset period according to the actual pressure value in the preset period specifically includes:

[0012] Get the sampling period interval and pressure estimation filter duration;

[0013] Determine the pressure change rate of the current cycle according to the actual pressure value of the current cycle, the sampling cycle interval length and the actual pressure value of the next cycle;

[0014] The estimated pressure value of the next cycle is obtained according to the actual pressure value of the current cycle, the actual pressure value of the previous cycle, the sampling cycle interval, the pressure estimation filter duration and the pressure change rate of the current cycle;

[0015] The target parameter of the current cycle is used as the initial parameter of the next cycle, and the above-mentioned process of determining the estimated pressure value of the current cycle according to the actual pressure value of the current cycle and the actual pressure value of the next cycle is performed until the estimated pressure value in each cycle of the preset cycle is obtained.

[0016] In one embodiment, the step of filtering the actual engine speed to obtain the filtered engine speed specifically includes:

[0017] Calculate filtered engine speed according to the actual engine speed and the first formula;

[0018] The step of determining the estimated pressure value of the current cycle according to the actual pressure value of the current cycle and the actual pressure value of the next cycle specifically includes:

[0019] Calculate the pressure change rate of the current cycle according to the actual pressure value of the current cycle, the sampling cycle interval length and the actual pressure value of the next cycle and the second formula;

[0020] The step of obtaining the estimated pressure value of the next cycle according to the actual pressure value of the current cycle, the actual pressure value of the previous cycle, the sampling cycle interval, the pressure estimation filter duration and the pressure change rate of the current cycle specifically includes:

[0021] The estimated pressure value of the next cycle is obtained according to the actual pressure value of the current cycle, the actual pressure value of the previous cycle, the sampling cycle interval, the pressure estimation filter duration, the pressure change rate of the current cycle and the third formula.

[0022] In one embodiment, the step of determining the number of pressure signal sampling times according to the actual engine speed and the filtered engine speed specifically includes:

[0023] Find the difference between the filtered engine speed and the actual engine speed;

[0024] Calculating the ratio of the difference to the actual speed of the engine;

[0025] finding the absolute value of the ratio;

[0026] The pressure signal sampling times are determined according to the absolute value and a preset mapping comparison table.

[0027] In one embodiment, the step of determining the number of pressure signal sampling times according to the absolute value and the preset mapping comparison table specifically includes:

[0028] If the absolute value is between two adjacent values ​​corresponding to the preset mapping table, the larger value of the pressure signal sampling times corresponding to the two values ​​is taken as the pressure signal sampling times corresponding to the absolute value.

[0029] In one embodiment, the step of determining whether the sensor is preliminarily invalid according to the pressure signal sampling times, the estimated pressure value, and the actual pressure value, and recording the cumulative preliminarily valid times and the cumulative preliminarily invalid times specifically includes:

[0030] Starting from the current cycle, obtaining the estimated pressure value and the actual pressure value corresponding to the number of pressure signal sampling times;

[0031] Subtracting the estimated pressure value and the actual pressure value corresponding to the number of pressure signal sampling times to obtain the corresponding number of pressure difference values;

[0032] comparing the corresponding number of pressure difference values ​​with a preset value, and determining whether the sensor is preliminarily invalid based on the comparison result;

[0033] If the sensor is initially invalid, the cumulative number of initial invalid times is increased by one;

[0034] If the sensor is initially valid, the accumulated initial valid times is incremented by one.

[0035] In one embodiment, the step of comparing the corresponding number of pressure difference values ​​with a preset value and determining whether the sensor is preliminarily invalid according to the comparison result specifically includes:

[0036] If the corresponding number of pressure difference values ​​are all greater than the preset value, it is determined that the sensor is initially invalid;

[0037] Otherwise, the sensor is determined to be preliminarily effective;

[0038] The preset value is determined according to the fourth formula and the correction coefficient.

[0039] In one embodiment, if the sensor is initially valid, after the step of increasing the cumulative number of initial valid times by one, the method further includes:

[0040] Adjust the correction factor according to the cumulative number of preliminary effective times and the cumulative number of preliminary ineffective times;

[0041] Wherein, when the cumulative preliminary valid times is greater than or equal to the first set value, and the cumulative preliminary invalid times is less than or equal to the second set value, the correction coefficient is reduced by 0.005, and the reduced value is used as the new correction coefficient;

[0042] When the accumulated preliminary valid times is less than or equal to the second set value, and the accumulated preliminary invalid times is greater than or equal to the first set value, the correction coefficient is increased by 0.012, and the increased value is used as the new correction coefficient.

[0043] In one embodiment, the step of determining whether the sensor is invalid according to the accumulated preliminary valid times and the accumulated preliminary invalid times specifically includes:

[0044] Calculate the sum of the cumulative preliminary valid times and the cumulative preliminary invalid times;

[0045] Calculate the ratio of the cumulative initial effective times to the sum value;

[0046] If the accumulated preliminary valid times are greater than or equal to the third set value, the sum is greater than the fourth set value, and the ratio is greater than the fifth set value, it is determined that the sensor is invalid;

[0047] Otherwise, determine that the sensor is valid.

[0048] The present invention also provides a vehicle, the vehicle comprising a storage medium and a processor;

[0049] The storage medium stores a program for verifying the effectiveness of a sensor based on a pressure signal, and when the program for verifying the effectiveness of a sensor based on a pressure signal is executed by a processor, the steps of the method for verifying the effectiveness of a sensor based on a pressure signal are implemented.

[0050] The present invention discloses a method and a vehicle for checking the effectiveness of a sensor based on a pressure signal, wherein the method for checking the effectiveness of the sensor includes: obtaining the actual engine speed; filtering the actual engine speed to obtain the filtered engine speed; obtaining the actual pressure value within a preset period, and estimating the estimated pressure value within each period of the preset period according to the actual pressure value within the preset period; determining the number of pressure signal samplings according to the actual engine speed and the filtered engine speed; determining whether the sensor is initially invalid according to the number of pressure signal samplings, the estimated pressure value, and the actual pressure value, and recording the cumulative initial valid number and the cumulative initial invalid number; executing the step of obtaining the actual engine speed, and determining whether the sensor is invalid according to the cumulative initial valid number and the cumulative initial invalid number. The present invention determines whether the sensor is initially invalid according to the actual pressure value and the estimated pressure value within the preset period, thereby obtaining whether the sensor is invalid. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0052] Figure 1 A schematic diagram of a flow chart of an embodiment of a method for verifying the effectiveness of a sensor based on a pressure signal provided by the present invention;

[0053] Figure 2 A schematic flow chart of another embodiment of the method for verifying the effectiveness of a sensor based on a pressure signal provided by the present invention;

[0054] Figure 3 A schematic flow chart of another embodiment of the method for verifying the effectiveness of a sensor based on a pressure signal provided by the present invention.

[0055] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0056] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0057] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components in a certain specific posture. If the specific posture changes, the directional indication will also change accordingly.

[0058] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present invention, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features limited to "first" and "second" may explicitly or implicitly include at least one of the features. In addition, if "and / or" or "and / or" appears in the full text, its meaning includes three parallel solutions. Taking "A and / or B" as an example, it includes solution A, solution B, or solutions that satisfy both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0059] The pressure signal is an important parameter of the intake system. During the operation of the engine, the pressure signal is continuously detected to determine whether the sensor is effective.

[0060] The present invention proposes a method for verifying the effectiveness of a sensor based on a pressure signal, the method for verifying the effectiveness of the sensor comprising:

[0061] Step S10, obtaining the actual engine speed;

[0062] Step S20, filtering the actual engine speed to obtain a filtered engine speed;

[0063] Step S30, obtaining an actual pressure value within a preset period, and estimating an estimated pressure value within each period of the preset period according to the actual pressure value within the preset period;

[0064] Step S40, determining the number of pressure signal sampling times according to the actual engine speed and the filtered engine speed;

[0065] Step S50, determining whether the sensor is preliminarily invalid according to the pressure signal sampling times, the estimated pressure value and the actual pressure value, and recording the cumulative preliminarily valid times and the cumulative preliminarily invalid times;

[0066] Step S60, executing the step of obtaining the actual engine speed, and determining whether the sensor is invalid according to the accumulated preliminary valid times and the accumulated preliminary invalid times.

[0067] It is easy to understand that the sensor in this solution is a pressure sensor, and the application scenario of the pressure sensor is the engine; therefore, the sensor is checked to see if it is effective based on the pressure signal. The main function of the intake system is to provide enough air to the engine so that the fuel can burn in it and generate power. The pressure of the intake system is closely related to the engine speed. Changes in the engine speed will affect the pressure fluctuations of the intake system, which in turn affects the engine's charging efficiency and power output.

[0068] It should be understood that the engine speed signal is often accompanied by noise, which may be caused by mechanical vibration, electromagnetic interference and other factors. In order to remove these noises and obtain a more accurate speed signal, it is necessary to filter the actual engine speed obtained to obtain a filtered engine speed that can better reflect the actual speed. The actual engine speed can be obtained through a speed sensor. Specifically, an electromagnetic induction speed sensor, a photoelectric speed sensor or a Hall effect speed sensor can be used to obtain the actual engine speed.

[0069] Since the sensor is a pressure sensor, when checking whether the sensor is effective, it is necessary to use the pressure signal for verification. The processing of the pressure signal generally includes steps such as filtering, sampling and noise reduction. Filtering can remove noise and interference in the signal, sampling converts the continuous signal into a discrete signal, and noise reduction further reduces the interference caused by the sensor itself or the external environment, thereby improving the accuracy and reliability of the signal. Since the intake system pressure signal is closely related to the engine speed, it is easy to understand that the engine speed is an important factor affecting the intake system. As the speed increases, the intake flow and pressure will change. Therefore, the number of pressure signal samplings at different speeds should be able to reflect these changes to ensure that the engine performance can be accurately evaluated. The actual engine speed is positively correlated with the filtered engine speed. When the actual engine speed and / or the filtered engine speed changes, the number of pressure signal samplings also needs to change accordingly. The number of pressure signal samplings is generally associated with the engine speed. For example, a shorter sampling interval can be used at low engine speeds to capture the transient response of the intake system; while at high engine speeds, the number of samplings may need to be increased to track rapidly changing intake conditions.

[0070] The preset period is the first preset value sampling period, and the actual pressure within the preset period is the throttle inlet pressure of the intake system. After obtaining the actual pressure value within the preset period through the pressure sensor; in order to determine whether the actual pressure value is valid, it is necessary to first estimate the estimated pressure value within each period of the preset period based on the actual pressure value within the preset period, for example: if the throttle inlet pressure within seven sampling periods is obtained, the throttle inlet pressure within the seven sampling periods can be numbered first to obtain the throttle inlet pressures of the first to seventh periods; then, based on the throttle inlet pressures of the first to seventh periods, the estimated throttle inlet pressure value within each period is estimated, that is, the estimated throttle inlet pressure value of the first to seventh periods.

[0071] When the engine is running at high speed, more air is needed to maintain combustion. Therefore, the throttle opening will increase with the increase of speed to ensure sufficient air supply. In addition, as the speed increases, the pressure generated in the cylinder will also increase, which requires a greater intake pressure to balance, otherwise it will cause engine knock. Therefore, the throttle pressure value is related to the engine speed in combination with the engine speed. Since the engine speed changes continuously, the throttle pressure value changes continuously accordingly; the estimated pressure value in this cycle can be estimated based on the actual pressure values ​​of other cycles in the preset cycle. Changing the specific sampling period corresponding to this cycle can obtain the estimated pressure value in each cycle in the preset cycle.

[0072] Determine whether the sensor is initially invalid based on the pressure signal sampling times, the estimated pressure value and the actual pressure value. The estimated pressure value and the actual pressure value of the corresponding period can be selected based on the pressure signal sampling times; the difference between the estimated pressure value and the actual pressure value in the same period of a normal sensor is within a set range; if the difference between the estimated pressure value and the actual pressure value in the corresponding period is not within the set range, the sensor is determined to be initially invalid; otherwise, the sensor is determined to be initially valid.

[0073] It is easy to understand that in order to ensure the accuracy of the estimated pressure value, the number of sampling cycles corresponding to the preset period is greater than seven. After determining whether the sensor is initially invalid based on the estimated pressure value and the actual pressure value within the preset period, record the cumulative initial valid times and the cumulative initial invalid times. And re-acquire the actual engine speed step, accumulate more samples and the cumulative initial valid times and the cumulative initial invalid times, and determine whether the sensor is invalid based on the cumulative preliminary valid times and the cumulative preliminary invalid times. When the sensor is confirmed to be invalid or valid, clear the cumulative preliminary valid times and the cumulative preliminary invalid times.

[0074] The present invention discloses a method for verifying the effectiveness of a sensor based on a pressure signal, the method for verifying the effectiveness of the sensor comprising: obtaining the actual engine speed; filtering the actual engine speed to obtain the filtered engine speed; obtaining the actual pressure value within a preset period, and estimating the estimated pressure value within each period of the preset period according to the actual pressure value within the preset period; determining the number of pressure signal samplings according to the actual engine speed and the filtered engine speed; determining whether the sensor is initially invalid according to the number of pressure signal samplings, the estimated pressure value, and the actual pressure value, and recording the cumulative initial valid number and the cumulative initial invalid number; executing the step of obtaining the actual engine speed, and determining whether the sensor is invalid according to the cumulative initial valid number and the cumulative initial invalid number. The present invention determines whether the sensor is initially invalid according to the actual pressure value and the estimated pressure value within the preset period, thereby obtaining whether the sensor is invalid.

[0075] In an embodiment of the present invention, the step of estimating the estimated pressure value in each period of the preset period according to the actual pressure value in the preset period specifically includes:

[0076] Step S310, obtaining the sampling period interval and the pressure estimation filtering time;

[0077] Step S320, determining the pressure change rate of the current cycle according to the actual pressure value of the current cycle, the sampling cycle interval length and the actual pressure value of the next cycle;

[0078] Step S330, obtaining an estimated pressure value for the next cycle according to the actual pressure value of the current cycle, the actual pressure value of the previous cycle, the sampling cycle interval, the pressure estimation filter duration, and the pressure change rate of the current cycle;

[0079] Step S340: Use the target parameter of the current cycle as the initial parameter of the next cycle, and perform the above-mentioned determination of the estimated pressure value of the current cycle based on the actual pressure value of the current cycle and the actual pressure value of the next cycle, until the estimated pressure value in each cycle of the preset cycle is obtained.

[0080] In this embodiment, the sampling period interval is the interval between two sampling periods, the sampling period interval may be 10 ms, and the pressure estimation filtering time may be 30 ms.

[0081] The step of filtering the actual engine speed to obtain the filtered engine speed specifically includes:

[0082] The filtered engine speed is calculated according to the actual engine speed and the first formula.

[0083] Among them, the first formula is:

[0084] n Filt (m+1)=k×n Raw (m+1)+(1-k)×n Filt (m),

[0085] In the formula, the n Filt (m+1) is the filtered engine speed of the m+1th cycle, Raw (m+1) is the actual engine speed in the m+1th cycle, k is the filter coefficient, n Filt (m) is the filtered engine speed of the mth cycle. Where m = 0, 1, 2, ..., in particular n Filt (0) is set to 0. The filter coefficient k is set to 0.2 in this example.

[0086] The step of determining the estimated pressure value of the current cycle according to the actual pressure value of the current cycle and the actual pressure value of the next cycle specifically includes:

[0087] The pressure change rate of the current cycle is calculated according to the actual pressure value of the current cycle, the sampling cycle interval length and the actual pressure value of the next cycle and the second formula.

[0088] Wherein, the second formula is:

[0089]

[0090] In the formula, Δp ThrBfAct (k) is the pressure change rate of the current cycle, p ThrBfAct (k) is the actual pressure value of the current cycle, p ThrBfAct (k-1) is the actual pressure value of the next cycle, and Δt is the duration of the sampling cycle interval. In particular, when k=0, Δp ThrBfAct (k) = Δp ThrBfAct (0) = 0 (kPa / s).

[0091] The step of obtaining the estimated pressure value of the next cycle according to the actual pressure value of the current cycle, the actual pressure value of the previous cycle, the sampling cycle interval, the pressure estimation filter duration and the pressure change rate of the current cycle specifically includes:

[0092] The estimated pressure value of the next cycle is obtained according to the actual pressure value of the current cycle, the actual pressure value of the previous cycle, the sampling cycle interval, the pressure estimation filter duration, the pressure change rate of the current cycle and the third formula.

[0093] Wherein, the third formula is:

[0094]

[0095] In the formula, p PREP(k-1) is the estimated pressure value of the next cycle, p ThrBfAct (k) is the actual pressure value of the current cycle, Δp ThrBfAct (k) is the pressure change rate of the current cycle, p ThrBfAct (k+1) is the actual pressure value of the previous cycle, Δt is the sampling cycle interval, t c is the pressure estimation filtering time. In particular, when k = 0, p PREP (k+1)=0(kPa / s).

[0096] The target parameters of the current cycle are used as the initial parameters of the next cycle, and the above-mentioned estimated pressure value of the current cycle is determined according to the actual pressure value of the current cycle and the actual pressure value of the next cycle, until the estimated pressure value in each cycle of the preset cycle is obtained. The estimated pressure value of the subsequent cycle can be obtained by changing the K value.

[0097] In an embodiment of the present invention, the step of determining the number of pressure signal sampling times according to the actual engine speed and the filtered engine speed specifically includes:

[0098] Find the difference between the filtered engine speed and the actual engine speed;

[0099] Calculating the ratio of the difference to the actual speed of the engine;

[0100] finding the absolute value of the ratio;

[0101] The pressure signal sampling times are determined according to the absolute value and a preset mapping comparison table.

[0102] In this embodiment, the preset mapping comparison table is:

[0103]

[0104] In the table, n Filt is the filtered engine speed, n Raw is the actual engine speed, is the absolute value. The larger the value is, the greater the engine speed fluctuation is, and more pressure signals with more sampling times are needed to determine whether the throttle inlet pressure signal is faulty.

[0105] In an embodiment of the present invention, the step of determining the number of pressure signal sampling times according to the absolute value and the preset mapping comparison table specifically includes:

[0106] If the absolute value is between two adjacent values ​​corresponding to the preset mapping table, the larger value of the pressure signal sampling times corresponding to the two values ​​is taken as the pressure signal sampling times corresponding to the absolute value.

[0107] In this embodiment, if If V is between two numbers in the table, the sampling frequency with the larger number is used.

[0108] It is easy to understand that in order to improve the accuracy of diagnosis, effectiveness diagnosis can only be made under certain conditions.

[0109] 1. The actual intake density of the engine entering the cylinder can fluctuate greatly but not too much. Excessive fluctuations will lead to greater pressure fluctuations and reduce the detection accuracy. Through testing and verification, the actual intake density of the engine does not exceed ±50mg / l / 10ms;

[0110] 2. The throttle opening can fluctuate greatly but not too much. Excessive fluctuation will lead to greater pressure fluctuation and reduce the detection accuracy. Through testing and verification, the throttle opening does not exceed ±5% / 10ms;

[0111] 3. The engine running time exceeds the preset time. In this example, the preset time is 30 minutes.

[0112] Validity judgment can only be made after the above conditions are met simultaneously.

[0113] In an embodiment of the present invention, the step of determining whether the sensor is preliminarily invalid according to the pressure signal sampling times, the estimated pressure value and the actual pressure value, and recording the cumulative preliminarily valid times and the cumulative preliminarily invalid times specifically includes:

[0114] Step S510: starting from the current cycle, obtaining the estimated pressure value and the actual pressure value corresponding to the number of pressure signal sampling times;

[0115] Step S520, subtracting the estimated pressure value and the actual pressure value corresponding to the number of pressure signal sampling times to obtain the corresponding number of pressure difference values;

[0116] Step S530, comparing the corresponding number of pressure difference values ​​with a preset value, and determining whether the sensor is preliminarily invalid according to the comparison result;

[0117] Step S540: If the sensor is initially invalid, the accumulated number of initial invalid times is increased by one;

[0118] Step S550: If the sensor is initially valid, the accumulated initial valid times is incremented by one.

[0119] In this embodiment, the V value is described as an example.

[0120] 1) If V = 1, the difference between the next estimated value of the throttle inlet pressure signal of the previous sampling cycle (i.e., the estimated throttle inlet pressure in the current sampling cycle) and the actual throttle inlet pressure read by the sensor in the current sampling cycle, i.e., p PREP (0)-p ThrBfAct (0).

[0121] If p PREP (0)-p ThrBfAct (0)|greater than the preset value C1, C1=5×(1+r Lrn ), the sensor verification based on the estimated pressure signal is considered to be initially invalid. Otherwise, the sensor verification based on the estimated pressure signal is initially valid. Lrn It is the self-learning correction coefficient of C1, and its default value is 0. It can be saved after the vehicle is powered off.

[0122] 2) When V = 2, p is compared at the same time PREP (0)-p ThrBfAct (0) and p PERP (1)-p ThrBfAct (1)

[0123] If p PREP (0)-p ThrBfAct (0) and p PERP (1)-p ThrBfAct (1) If the pressure is greater than the preset value C1, which is 5 kPa in this example, the sensor is considered to be invalid based on the estimated pressure signal. Otherwise, the sensor is considered to be valid based on the estimated pressure signal.

[0124] In this way, it is determined whether the sensor is initially effective based on the estimated pressure signal.

[0125] If the sensor is initially invalid, the cumulative number of initial invalid times is increased by one;

[0126] If the sensor is initially valid, the accumulated initial valid times is incremented by one.

[0127] In an embodiment of the present invention, the step of comparing the corresponding number of pressure difference values ​​with a preset value and determining whether the sensor is preliminarily invalid according to the comparison result specifically includes:

[0128] If the corresponding number of pressure difference values ​​are all greater than the preset value, it is determined that the sensor is initially invalid;

[0129] Otherwise, the sensor is determined to be preliminarily effective;

[0130] The preset value is determined according to the fourth formula and the correction coefficient.

[0131] In this embodiment, the fourth formula is:

[0132] C1=5×(1+r Lrn ),

[0133] Wherein, C1 is the preset value, r Lrn is the correction factor.

[0134] In the embodiment of the present invention, after the step of increasing the cumulative number of preliminary effective times by one if the sensor is initially effective, the following step further includes:

[0135] Adjust the correction factor according to the cumulative number of preliminary effective times and the cumulative number of preliminary ineffective times;

[0136] Wherein, when the cumulative preliminary valid times is greater than or equal to the first set value, and the cumulative preliminary invalid times is less than or equal to the second set value, the correction coefficient is reduced by 0.005, and the reduced value is used as the new correction coefficient;

[0137] When the accumulated preliminary valid times is less than or equal to the second set value, and the accumulated preliminary invalid times is greater than or equal to the first set value, the correction coefficient is increased by 0.012, and the increased value is used as the new correction coefficient.

[0138] In this embodiment, the self-learning correction coefficient r of C1 is Lrn The updating method is determined by separately recording the cumulative preliminary valid times CNT1 and the cumulative preliminary invalid times CNT2 under different sampling times V.

[0139] 1) If CNT1 ≥ 160, and CNT2 ≤ 10, then r Lrn =r Lrn (z)-0.005

[0140] 2) If CNT1≤10, and CNT2≥160, then r Lrn =r Lrn (z)+0.012

[0141] 3) In other cases, r Lrn =r Lrn (z)

[0142] where r Lrn =r Lrn (z) is the correction factor of the last update.

[0143] In this embodiment, the first setting value is 160 and the second setting value is 10.

[0144] In an embodiment of the present invention, the step of determining whether the sensor is invalid according to the accumulated preliminary valid times and the accumulated preliminary invalid times specifically includes:

[0145] Calculate the sum of the cumulative preliminary valid times and the cumulative preliminary invalid times;

[0146] Calculate the ratio of the cumulative initial effective times to the sum value;

[0147] If the accumulated preliminary valid times are greater than or equal to the third set value, the sum is greater than the fourth set value, and the ratio is greater than the fifth set value, it is determined that the sensor is invalid;

[0148] Otherwise, determine that the sensor is valid.

[0149] In this embodiment, once the sum of CNT1 and CNT2 exceeds 200, and CNT1 ≥ 180, Then it is finally determined that the estimated pressure signal is invalid. Otherwise, it is not considered invalid. After determining whether it is valid or invalid, CNT1 and CNT2 are both cleared. Among them, the third setting value is 180, the fourth setting value is 200, and the fifth setting value is 0.9.

[0150] It should be noted that the specific values ​​of the first setting value to the fifth setting value are determined by R&D personnel, and the specific values ​​of the first setting value to the fifth setting value in the above embodiment are optional values ​​and do not represent unique values.

[0151] The present invention also provides a vehicle, the vehicle comprising a storage medium and a processor;

[0152] The storage medium stores a program for verifying the effectiveness of a sensor based on a pressure signal, and when the program for verifying the effectiveness of a sensor based on a pressure signal is executed by a processor, the steps of the method for verifying the effectiveness of a sensor based on a pressure signal are implemented.

[0153] The specific steps of the method for verifying the effectiveness of the sensor based on the pressure signal refer to the above-mentioned embodiments. Since this vehicle adopts all the technical solutions of all the above-mentioned embodiments, it has at least all the beneficial effects brought by the technical solutions of the above-mentioned embodiments, which will not be described one by one here.

[0154] The above description is only an exemplary embodiment of the present invention, and does not limit the patent scope of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the technical concept of the present invention, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present invention.

Claims

1. A method for verifying the effectiveness of a sensor based on a pressure signal, characterized in that: The method for verifying the effectiveness of the sensor includes: Get the actual engine speed; Filtering the actual engine speed to obtain a filtered engine speed; Obtaining an actual pressure value within a preset period, and estimating an estimated pressure value within each period of the preset period according to the actual pressure value within the preset period; Determining the number of pressure signal sampling times according to the actual engine speed and the filtered engine speed; Determine whether the sensor is preliminarily invalid according to the pressure signal sampling times, the estimated pressure value and the actual pressure value, and record the cumulative preliminarily valid times and the cumulative preliminarily invalid times; The step of obtaining the actual engine speed is performed, and whether the sensor is invalid is determined according to the accumulated preliminary valid times and the accumulated preliminary invalid times.

2. The method for verifying the effectiveness of a sensor based on a pressure signal as claimed in claim 1, characterized in that: The step of estimating the estimated pressure value in each period of the preset period according to the actual pressure value in the preset period specifically includes: Get the sampling period interval and pressure estimation filter duration; Determine the pressure change rate of the current cycle according to the actual pressure value of the current cycle, the sampling cycle interval length and the actual pressure value of the next cycle; The estimated pressure value of the next cycle is obtained according to the actual pressure value of the current cycle, the actual pressure value of the previous cycle, the sampling cycle interval, the pressure estimation filter duration and the pressure change rate of the current cycle; The target parameter of the current cycle is used as the initial parameter of the next cycle, and the above-mentioned process of determining the estimated pressure value of the current cycle according to the actual pressure value of the current cycle and the actual pressure value of the next cycle is performed until the estimated pressure value in each cycle of the preset cycle is obtained.

3. The method for verifying the effectiveness of a sensor based on a pressure signal as claimed in claim 2, characterized in that: The step of filtering the actual engine speed to obtain the filtered engine speed specifically includes: Calculate filtered engine speed according to the actual engine speed and the first formula; The step of determining the estimated pressure value of the current cycle according to the actual pressure value of the current cycle and the actual pressure value of the next cycle specifically includes: Calculate the pressure change rate of the current cycle according to the actual pressure value of the current cycle, the sampling cycle interval length and the actual pressure value of the next cycle and the second formula; The step of obtaining the estimated pressure value of the next cycle according to the actual pressure value of the current cycle, the actual pressure value of the previous cycle, the sampling cycle interval, the pressure estimation filter duration and the pressure change rate of the current cycle specifically includes: The estimated pressure value of the next cycle is obtained according to the actual pressure value of the current cycle, the actual pressure value of the previous cycle, the sampling cycle interval, the pressure estimation filter duration, the pressure change rate of the current cycle and the third formula.

4. The method for verifying the effectiveness of a sensor based on a pressure signal according to any one of claims 1 to 3, characterized in that: The step of determining the number of pressure signal sampling times according to the actual engine speed and the filtered engine speed specifically includes: Find the difference between the filtered engine speed and the actual engine speed; Calculating the ratio of the difference to the actual speed of the engine; finding the absolute value of the ratio; The pressure signal sampling times are determined according to the absolute value and a preset mapping comparison table.

5. The method for verifying the effectiveness of a sensor based on a pressure signal as claimed in claim 4, characterized in that: The step of determining the number of pressure signal sampling times according to the absolute value and the preset mapping comparison table specifically includes: If the absolute value is between two adjacent values ​​corresponding to the preset mapping table, the larger value of the pressure signal sampling times corresponding to the two values ​​is taken as the pressure signal sampling times corresponding to the absolute value.

6. The method for verifying the effectiveness of a sensor based on a pressure signal as claimed in claim 4, characterized in that: The step of determining whether the sensor is preliminarily invalid according to the pressure signal sampling times, the estimated pressure value and the actual pressure value, and recording the cumulative preliminarily valid times and the cumulative preliminarily invalid times specifically includes: Starting from the current cycle, obtaining the estimated pressure value and the actual pressure value corresponding to the number of pressure signal sampling times; Subtracting the estimated pressure value and the actual pressure value corresponding to the number of pressure signal sampling times to obtain the corresponding number of pressure difference values; comparing the corresponding number of pressure difference values ​​with a preset value, and determining whether the sensor is preliminarily invalid based on the comparison result; If the sensor is initially invalid, the cumulative number of initial invalid times is increased by one; If the sensor is initially valid, the accumulated initial valid times is incremented by one.

7. The method for verifying the effectiveness of a sensor based on a pressure signal as claimed in claim 6, characterized in that: The step of comparing the corresponding number of pressure difference values ​​with a preset value and determining whether the sensor is preliminarily invalid according to the comparison result specifically includes: If the corresponding number of pressure difference values ​​are all greater than the preset value, it is determined that the sensor is initially invalid; Otherwise, the sensor is determined to be preliminarily effective; The preset value is determined according to the fourth formula and the correction coefficient.

8. The method for verifying the effectiveness of a sensor based on a pressure signal as claimed in claim 7, characterized in that: After the step of adding one to the cumulative number of preliminary valid times if the sensor is initially valid, the method further includes: Adjust the correction factor according to the cumulative number of preliminary effective times and the cumulative number of preliminary ineffective times; Wherein, when the cumulative preliminary valid times is greater than or equal to the first set value, and the cumulative preliminary invalid times is less than or equal to the second set value, the correction coefficient is reduced by 0.005, and the reduced value is used as the new correction coefficient; When the accumulated preliminary valid times is less than or equal to the second set value, and the accumulated preliminary invalid times is greater than or equal to the first set value, the correction coefficient is increased by 0.012, and the increased value is used as the new correction coefficient.

9. The method for verifying the effectiveness of a sensor based on a pressure signal according to any one of claims 5 to 8, characterized in that: The step of determining whether the sensor is invalid according to the accumulated preliminary valid times and the accumulated preliminary invalid times specifically includes: Calculate the sum of the cumulative preliminary valid times and the cumulative preliminary invalid times; Calculate the ratio of the cumulative initial effective times to the sum value; If the accumulated preliminary valid times are greater than or equal to the third set value, the sum is greater than the fourth set value, and the ratio is greater than the fifth set value, it is determined that the sensor is invalid; Otherwise, determine that the sensor is valid.

10. A vehicle, characterized in that: The vehicle includes a storage medium and a processor; The storage medium stores a program for verifying the effectiveness of a sensor based on a pressure signal, and when the program for verifying the effectiveness of a sensor based on a pressure signal is executed by a processor, the steps of the method for verifying the effectiveness of a sensor based on a pressure signal as described in any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Failure early warning method and device for temperature and pressure sensor

    CN118226163A

  • Failure diagnostic method and apparatus for manifold pressure sensors

    US20060184308A1

  • Sensor abnormality detection apparatus and sensor abnormality detection method

    US20090193904A1

  • Fuel injection control system for an automotive engine

    US4959789A

  • Correction of pressure measurement of a cylinder pressure sensor

    WO2020182808A1