Method and vehicle for verifying sensor validity based on pressure signal

By acquiring the engine speed and pressure signals, estimating the pressure value after filtering, and judging whether the sensor is invalid, the problem of low sensor detection efficiency is solved and effectiveness detection is achieved in the working state.

CN119124244BActive Publication Date: 2025-09-23DONGFENG MOTOR GRP
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing sensor effectiveness detection methods are inefficient and can only be performed when the sensor is in a non-working state, and cannot effectively detect the effectiveness of the sensor in a working state.

Method used

By obtaining the actual engine speed, filtering it to obtain the filtered engine speed, estimating the pressure value within a preset period, determining the number of pressure signal sampling times, and judging whether the sensor is preliminarily invalid based on the pressure signal sampling times, the estimated pressure value, and the actual pressure value, the cumulative valid and invalid times are recorded to finally determine whether the sensor is invalid.

Benefits of technology

The efficiency of sensor effectiveness detection is improved, and the effectiveness of the sensor can be accurately judged when the sensor is in working condition, reducing misjudgment and missed judgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119124244B_ABST
    Figure CN119124244B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and vehicle for verifying the effectiveness of a sensor based on a pressure signal, wherein the method for verifying 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 based on the actual pressure value within the preset period; determining the number of pressure signal samplings based on the actual engine speed and the filtered engine speed; determining whether the sensor is preliminarily invalid based on the number of pressure signal samplings, the estimated pressure value, and the actual pressure value, and recording the cumulative number of preliminarily valid times and the cumulative number of preliminarily invalid times; executing the step of obtaining the actual engine speed, and determining whether the sensor is invalid based on the cumulative number of preliminarily valid times and the cumulative number of preliminarily invalid times. The present invention determines whether the sensor is preliminarily invalid based on the actual pressure value and the estimated pressure value, thereby determining whether the sensor is invalid.
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 physical quantities. The effectiveness of a sensor is directly related to the validity of the output signal. However, existing detection technologies often rely on verifying the sensor's physical components to determine if the sensor is functioning properly. This is inefficient and can only be performed when the sensor is not operating. 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-mentioned object, the present invention proposes a method for verifying the effectiveness of a sensor based on a pressure signal, the method 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 based on the actual pressure value within the preset period;

[0008] determining a pressure signal sampling number according to the actual engine speed and the filtered engine speed;

[0009] determining whether the sensor is preliminarily invalid based on the pressure signal sampling times, the estimated pressure value, and the actual pressure value, and recording a cumulative preliminarily valid number of times and a cumulative preliminarily invalid number of 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 of the preset periods based on the actual pressure value in the preset period specifically includes:

[0012] Get the sampling period interval and pressure estimation filtering time;

[0013] Determine the pressure change rate of the current cycle based on the actual pressure value of the current cycle, the sampling period interval and the actual pressure value of the next cycle;

[0014] The estimated pressure value for the next cycle is obtained based on 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 parameters of the current cycle are used as the initial parameters of the next cycle, and the above-mentioned process of determining 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 is performed until the estimated pressure value of each cycle in 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] Calculating filtered engine speed based on actual engine speed and a first formula;

[0018] The step of determining 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 specifically includes:

[0019] Calculate the pressure change rate of the current cycle based on 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 based on the actual pressure value of the current cycle, the actual pressure value of the previous cycle, the sampling period interval, the pressure estimation filtering period, 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 filtering time, 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 based on 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 a ratio of the difference to the actual engine speed;

[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 a preset mapping 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 based on the number of pressure signal sampling times, the estimated pressure value, and the actual pressure value, and recording the cumulative number of preliminarily valid times and the cumulative number of preliminarily invalid times, specifically includes:

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

[0031] Subtracting the estimated pressure values ​​and the actual pressure values ​​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 number of initial valid times is increased 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 based on 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 preliminarily 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, after the step of incrementing the cumulative number of preliminary valid times by one if the sensor is preliminarily valid, the method further includes:

[0040] Adjust the correction coefficient according to the cumulative number of preliminary valid times and the cumulative number of preliminary invalid 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 cumulative preliminary valid times is less than or equal to the second set value, and the cumulative 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 based on the accumulated preliminary valid times and the accumulated preliminary invalid times specifically includes:

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

[0045] Calculate the ratio of the cumulative preliminary 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, the sensor is determined to be invalid;

[0047] Otherwise, the sensor is determined to be valid.

[0048] The present invention also provides a 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. 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 vehicle for verifying the validity of a sensor based on a pressure signal, wherein the method for verifying the validity of the sensor includes: obtaining an 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 based on the actual pressure value within the preset period; determining the number of pressure signal sampling times based on the actual engine speed and the filtered engine speed; determining whether the sensor is preliminarily invalid based on the number of pressure signal sampling times, the estimated pressure value, and the actual pressure value, and recording the cumulative number of preliminarily valid times and the cumulative number of preliminarily invalid times; executing the step of obtaining the actual engine speed, and determining whether the sensor is invalid based on the cumulative number of preliminarily valid times and the cumulative number of preliminarily invalid times. The present invention determines whether the sensor is preliminarily invalid based on the actual pressure value and the estimated pressure value within the preset period, thereby determining 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 following briefly introduces the drawings required for use in the embodiments or the description of the prior art. 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 any creative work.

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

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

[0054] Figure 3 This is a 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 purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION

[0056] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. 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 making any creative efforts shall fall 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 under a certain specific posture. If the specific posture changes, the directional indications 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 for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features limited to "first" and "second" may explicitly or implicitly include at least one of such 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 mutually contradictory or cannot be implemented, it should be deemed that such a 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 effectiveness of the sensor is determined by continuously detecting the pressure signal.

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

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

[0062] Step S20: Filter 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 based on 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 based on 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: Execute the step of obtaining the actual engine speed, and determine whether the sensor is invalid based on the accumulated preliminary valid times and the accumulated preliminary invalid times.

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

[0068] It's important to understand that engine speed signals are often accompanied by noise, which can be caused by factors such as mechanical vibration and electromagnetic interference. To remove this noise and obtain a more accurate speed signal, the actual engine speed must be filtered to obtain a filtered engine speed that better reflects the true speed. The actual engine speed can be obtained using a speed sensor, specifically an electromagnetic induction speed sensor, a photoelectric speed sensor, or a Hall effect speed sensor.

[0069] Since the sensor is a pressure sensor, verifying its effectiveness requires using the pressure signal. Pressure signal processing typically includes filtering, sampling, and noise reduction. Filtering removes noise and interference from the signal, sampling converts the continuous signal into a discrete one, and noise reduction further reduces interference caused by the sensor itself or the external environment, thereby improving signal accuracy and reliability. Since the intake system pressure signal is closely related to engine speed, it's easy to understand that engine speed is a significant factor affecting the intake system. As engine speed increases, intake flow and pressure change. Therefore, the pressure signal sampling frequency at different speeds should reflect these changes to ensure accurate assessment of engine performance. The actual engine speed and the filtered engine speed are positively correlated. When the actual engine speed and / or the filtered engine speed change, the pressure signal sampling frequency must also change accordingly. The pressure signal sampling frequency is typically correlated with engine speed. For example, a shorter sampling interval can be used at low engine speeds to capture transient responses in the intake system; at high engine speeds, a higher sampling frequency may be required to track rapidly changing intake conditions.

[0070] The preset period is a first preset number of sampling periods, 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 via 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 of the preset periods 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 pressures within these seven sampling periods can be numbered to obtain the throttle inlet pressures for the first to seventh periods. Then, based on the throttle inlet pressures for the first to seventh periods, the estimated throttle inlet pressure value within each period can be estimated, i.e., the estimated throttle inlet pressure values ​​for the first to seventh periods.

[0071] When the engine is running at high speed, it requires more air to sustain combustion. Therefore, the throttle opening increases with speed to ensure an adequate air supply. Furthermore, as speed increases, the pressure generated within the cylinder also increases, requiring greater intake pressure to balance the pressure, otherwise it can cause engine knock. Therefore, the throttle pressure value is considered in conjunction with engine speed. As engine speed continuously changes, the throttle pressure value also continuously changes. The estimated pressure value for the current cycle can be estimated based on the actual pressure values ​​of other cycles within a preset period. By changing the specific sampling period corresponding to the current cycle, the estimated pressure value for each cycle within the preset period can be obtained.

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

[0073] It is easy to understand that 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, the cumulative number of initial valid times and the cumulative number of initial invalid times are recorded. The actual engine speed is then re-acquired, and a larger number of samples, as well as the cumulative number of initial valid times and the cumulative number of initial invalid times, are accumulated. The sensor is then determined to be invalid based on the cumulative number of initial valid times and the cumulative number of initial invalid times. Once the sensor is confirmed to be invalid or valid, the cumulative number of initial valid times and the cumulative number of initial invalid times are cleared.

[0074] The present invention discloses a method for verifying the effectiveness of a sensor based on a pressure signal. The method comprises the following steps: obtaining an 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 based on the actual pressure value within the preset period; determining the number of pressure signal samplings based on the actual engine speed and the filtered engine speed; determining whether the sensor is preliminarily invalid based on the number of pressure signal samplings, the estimated pressure value, and the actual pressure value, and recording the cumulative number of preliminarily valid times and the cumulative number of preliminarily invalid times; executing the step of obtaining the actual engine speed, and determining whether the sensor is invalid based on the cumulative number of preliminarily valid times and the cumulative number of preliminarily invalid times. The present invention determines whether the sensor is preliminarily invalid based on the actual pressure value and the estimated pressure value within the preset period, thereby determining 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 based on the actual pressure value in the preset period specifically includes:

[0076] Step S310: Obtain 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 period interval and the actual pressure value of the next cycle;

[0078] Step S330: Obtain an estimated pressure value for the next cycle based on the actual pressure value of the current cycle, the actual pressure value of the previous cycle, the sampling period, the pressure estimation filter period, and the pressure change rate of the current cycle;

[0079] Step S340: Use the target parameters of the current cycle as the initial parameters 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 of each cycle in 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 period 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, and the n 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 based on 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] Where Δ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 sampling period 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 based on the actual pressure value of the current cycle, the actual pressure value of the previous cycle, the sampling period interval, the pressure estimation filtering period, 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 filtering time, the pressure change rate of the current cycle and the third formula.

[0093] Wherein, the third formula is:

[0094]

[0095] Where 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 period interval, t c is the pressure estimation filtering time. In particular, when k = 0, p PREP (k+1)=0(kPa / s).

[0096] Using the target parameters of the current cycle as the initial parameters for the next cycle, the above process is repeated to determine the estimated pressure value for 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 for each cycle in the preset period is obtained. The estimated pressure value for subsequent cycles can be calculated 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 a ratio of the difference to the actual engine speed;

[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 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 a 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, effective diagnosis can only be made under certain conditions.

[0109] 1. The actual intake air density of the engine entering the cylinder can fluctuate greatly but not too much. Excessive fluctuation will lead to large pressure fluctuations and reduce the detection accuracy. Through testing and verification, the actual intake air 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 large pressure fluctuation and reduce the detection accuracy. Through testing and verification, the throttle opening does not exceed ±5% / 10ms;

[0111] 3. The engine's current 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 at the same time.

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

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

[0115] Step S520: Subtract 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 based on 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 number of initial valid times is increased 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)| is greater than the preset value C1, C1=5×(1+r Lrn ), the sensor verification based on the estimated pressure signal is considered to be preliminarily invalid. Otherwise, the sensor verification based on the estimated pressure signal is preliminarily valid. Lrn It is the self-learning correction coefficient of C1. Its default value is 0. It can be saved after the vehicle is powered off.

[0122] 2) When V=2, then compare p 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 both are greater than a preset value C1 (5 kPa in this example), the sensor is considered to be invalid based on the estimated pressure signal verification. Otherwise, the sensor is considered to be valid based on the estimated pressure signal verification.

[0124] In this way, it is determined whether the sensor is preliminarily 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 number of initial valid times is increased 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 based on 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 preliminarily 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 coefficient.

[0134] In an embodiment of the present invention, after the step of incrementing the cumulative number of preliminary valid times by one if the sensor is preliminarily valid, the following steps are further included:

[0135] Adjust the correction coefficient according to the cumulative number of preliminary valid times and the cumulative number of preliminary invalid 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 cumulative preliminary valid times is less than or equal to the second set value, and the cumulative 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 coefficient 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 based on the accumulated preliminary valid times and the accumulated preliminary invalid times specifically includes:

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

[0146] Calculate the ratio of the cumulative preliminary 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, the sensor is determined to be invalid;

[0148] Otherwise, the sensor is determined to be valid.

[0149] In this embodiment, once the sum of CNT1 and CNT2 exceeds 200, and CNT1 ≥ 180, The estimated pressure signal is then ultimately determined to be invalid. Otherwise, it is not considered invalid. After determining whether it is ultimately valid or invalid, both CNT1 and CNT2 are reset to zero. The third set value is 180, the fourth set value is 200, and the fifth set value is 0.9.

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

[0151] The present invention also provides a 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. 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 embodiments. Since this vehicle adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought by the technical solutions of the above embodiments, which will not be repeated here.

[0154] The above description is merely an exemplary embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural transformation made by utilizing the contents of the present invention's description and drawings under the technical concept of the present invention, or directly / indirectly applied in other related technical fields, is 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 based on the actual pressure value within the preset period; determining a pressure signal sampling number according to the actual engine speed and the filtered engine speed; determining whether the sensor is preliminarily invalid based on the pressure signal sampling times, the estimated pressure value, and the actual pressure value, and recording a cumulative preliminarily valid number of times and a cumulative preliminarily invalid number of 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 according to claim 1, wherein: The step of estimating the estimated pressure value in each period of the preset period based on the actual pressure value in the preset period specifically includes: Get the sampling period interval and pressure estimation filtering time; Determine the pressure change rate of the current cycle based on the actual pressure value of the current cycle, the sampling period interval and the actual pressure value of the next cycle; The estimated pressure value for the next cycle is obtained based on 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 parameters of the current cycle are used as the initial parameters of the next cycle, and the above-mentioned process of determining 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 is performed until the estimated pressure value of each cycle in the preset cycle is obtained.

3. The method for verifying the effectiveness of a sensor based on a pressure signal according to claim 2, wherein: The step of filtering the actual engine speed to obtain the filtered engine speed specifically includes: Calculating filtered engine speed based on actual engine speed and a first formula; The step of determining 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 specifically includes: Calculate the pressure change rate of the current cycle based on 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 based on the actual pressure value of the current cycle, the actual pressure value of the previous cycle, the sampling period interval, the pressure estimation filtering period, 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 filtering time, 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, wherein: 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 a ratio of the difference to the actual engine speed; 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 according to claim 4, wherein: 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 according to claim 4, wherein: The step of determining whether the sensor is preliminarily invalid based on 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 values ​​and actual pressure values ​​corresponding to the number of pressure signal sampling times; Subtracting the estimated pressure values ​​and the actual pressure values ​​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 number of initial valid times is increased by one.

7. The method for verifying the effectiveness of a sensor based on a pressure signal according to claim 6, wherein: The step of 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 specifically includes: If the corresponding number of pressure difference values ​​are all greater than the preset value, it is determined that the sensor is preliminarily 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 according to claim 7, wherein: After the step of incrementing the cumulative number of preliminary valid times by one if the sensor is preliminarily valid, the method further includes: Adjust the correction coefficient according to the cumulative number of preliminary valid times and the cumulative number of preliminary invalid 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 cumulative preliminary valid times is less than or equal to the second set value, and the cumulative 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, wherein: The step of determining whether the sensor is invalid based on the accumulated preliminary valid times and the accumulated preliminary invalid times specifically includes: Calculating the sum of the cumulative preliminary valid times and the cumulative preliminary invalid times; Calculate the ratio of the cumulative preliminary 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, the sensor is determined to be invalid; Otherwise, the sensor is determined to be 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. 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