Vehicle fault detection method and device and storage medium
By determining the fault detection step size based on the vehicle parameters and fault message cycles, the fault detection cycle inaccuracy problem caused by human calibration in the prior art is solved, the flexibility and efficiency of vehicle fault detection are improved, and the overall The safety and reliability of the vehicle.
Patent Information
- Application Number
- CN202411101946.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-12
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2044-08-12
AI Technical Summary
In the prior art, the vehicle fault detection cycle of artificial calibration is lacking standardization and scientificity, which makes it difficult to verify the accuracy and feasibility of calibration results, which increases the cost of later calibration experiments and the failure response time risk during the vehicle function safety implementation. Impacts the safety and reliability of the entire vehicle.
By determining the functional safety time parameters based on the vehicle's vehicle parameters, combined with the preset fault message cycle, the target strategy is determined to determine the fault detection step length, and a more flexible, efficient and highly adaptable fault detection solution is achieved, and resource utilization is optimized. and system response capabilities to meet vehicle functional safety standards.
It realizes the accurate determination of the fault detection cycle, improves the system response capability and the safety and reliability of the entire vehicle, optimizes resource utilization, and meets the vehicle functional safety standards.
Smart Images

Figure CN119065346A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle safety, and in particular to a vehicle fault detection method, device and storage medium. Background Art
[0002] Currently, the problem of setting the fault detection cycle in the system-level functional safety development of the new energy vehicle industry is mostly done by using existing experience or brainstorming.
[0003] However, due to the lack of a standardized and systematic evaluation system, the above setting method may result in different setting results for different people, lacking scientificity and accuracy. On the other hand, it is difficult to verify the accuracy and feasibility of this method, and the final fault detection cycle is usually confirmed through later calibration, which increases the blindness of the calibration process and the implementation cost of the later calibration experiment. In addition, due to the blindness of calibration, there may be a risk of not meeting the fault-to-fault response time requirements during the implementation of vehicle functional safety, which in turn affects the safety and reliability of the vehicle. Summary of the invention
[0004] The present application provides a vehicle fault detection method, device and storage medium to solve the technical problem in the prior art that the vehicle fault detection cycle is manually calibrated, which may cause the calibration result to fail to meet safety requirements, thereby affecting the safety and reliability of the entire vehicle.
[0005] In a first aspect, the present application provides a vehicle fault detection method, the method comprising:
[0006] Determine vehicle functional safety time parameters based on vehicle parameters;
[0007] Determining a target strategy according to the vehicle functional safety time parameter and a preset fault message cycle, wherein the target strategy is used to determine a fault detection step length;
[0008] The fault detection step length is determined according to the target strategy so that the vehicle performs fault detection according to the fault detection step length.
[0009] In a possible implementation manner, the vehicle functional safety time parameters include: a fault tolerance time interval, a fault detection time interval, and a fault response time interval; determining the target strategy according to the vehicle functional safety time parameters and a preset fault message cycle includes:
[0010] Determine a first determination factor and a second determination factor according to the vehicle functional safety time parameter and a preset fault message cycle, the first determination factor being used to characterize the tolerance of the difference between the fault tolerance time interval and the fault handling time interval to the fault message cycle; the second determination factor being used to characterize the tolerance of the fault detection time interval to the fault message cycle;
[0011] A target strategy is determined according to the first determination factor and / or the second determination factor.
[0012] In a possible implementation manner, determining the first determination factor and the second determination factor according to the vehicle functional safety time parameter and a preset fault message period includes:
[0013] Determine the sum of the fault detection time interval and the fault response time interval as the fault processing time interval, and determine the difference between the fault processing time interval and the fault message period;
[0014] The ratio between the difference and the fault processing time interval is determined as a first determination factor, and the ratio between the fault message period and the fault detection time interval is determined as a second determination factor.
[0015] In a possible implementation manner, determining the target strategy according to the first determination factor and / or the second determination factor includes:
[0016] When it is determined that the first determination factor is greater than or equal to a first preset threshold, a preset first strategy is determined as a target strategy, where the first strategy is used to indicate that the value of the fault message period is determined as a fault detection step.
[0017] In a possible implementation manner, determining the target strategy according to the first determination factor and / or the second determination factor includes:
[0018] When it is determined that the first determination factor is less than a first preset threshold and the second determination factor is less than or equal to a second preset threshold, the preset second strategy is determined as the target strategy, and the second strategy is used to indicate that the product of the fault detection time interval and the preset coefficient is determined as the fault detection step.
[0019] In a possible implementation manner, the preset coefficient is calibrated in the following manner:
[0020] Obtaining a fault message cycle and a fault detection time interval of the vehicle;
[0021] The preset coefficient is determined according to a preset coefficient configuration rule, the fault message period and the fault detection time interval.
[0022] In a possible implementation manner, determining the target strategy according to the first determination factor and / or the second determination factor includes:
[0023] When it is determined that the first determination factor is less than a first preset threshold, and the second determination factor is greater than a second preset threshold and less than the first preset threshold, determining a preset third strategy as a target strategy;
[0024] Wherein, the third strategy is:
[0025]
[0026] In a possible implementation manner, the vehicle functional safety time parameters include: a fault tolerance time interval, a fault detection time interval, and a fault response time interval; determining the vehicle functional safety time parameters according to the vehicle parameters includes:
[0027] Get the vehicle parameters;
[0028] Determining the fault manifestation time of the vehicle and determining the danger manifestation time according to the vehicle parameters;
[0029] Determine a fault tolerance time interval according to the fault manifestation time and the danger manifestation time;
[0030] According to a preset allocation rule, the fault-tolerant time interval is allocated into a fault detection time interval and a fault response time interval; wherein the allocation rule includes the principle of ensuring that the vehicle control system can identify the fault in the shortest time and take measures to set the fault detection time interval, and reducing the probability of occurrence of dangerous events to set the fault response time interval;
[0031] The sum of the fault detection time interval and the fault response time interval is determined as the fault processing time interval.
[0032] In a second aspect, the present application provides a vehicle fault detection device, the device comprising:
[0033] A time parameter determination module, used to determine vehicle functional safety time parameters according to vehicle parameters;
[0034] A strategy determination module, used to determine a target strategy according to the vehicle functional safety time parameter and a preset fault message cycle, wherein the target strategy is used to determine a fault detection step length;
[0035] The fault detection step length determination module is used to determine the fault detection step length according to the target strategy, so that the vehicle performs fault detection according to the fault detection step length.
[0036] In a possible implementation manner, the vehicle functional safety time parameters include: a fault tolerance time interval, a fault detection time interval, and a fault response time interval; the strategy determination module includes:
[0037] A determination factor determination unit, configured to determine a first determination factor and a second determination factor according to the vehicle functional safety time parameter and a preset fault message cycle, respectively, wherein the first determination factor is used to characterize the tolerance of the difference between the fault tolerance time interval and the fault handling time interval to the fault message cycle; and the second determination factor is used to characterize the tolerance of the fault detection time interval to the fault message cycle;
[0038] A strategy determination unit is used to determine a target strategy according to the first determination factor and / or the second determination factor.
[0039] In a possible implementation manner, the determination factor determination unit is specifically used to:
[0040] Determine the sum of the fault detection time interval and the fault response time interval as the fault processing time interval, and determine the difference between the fault processing time interval and the fault message period;
[0041] The ratio between the difference and the fault processing time interval is determined as a first determination factor, and the ratio between the fault message period and the fault detection time interval is determined as a second determination factor.
[0042] In a possible implementation manner, the mode determination unit is specifically used to:
[0043] When it is determined that the first determination factor is greater than or equal to a first preset threshold, a preset first strategy is determined as a target strategy, where the first strategy is used to indicate that the value of the fault message period is determined as a fault detection step.
[0044] In a possible implementation manner, the vehicle functional safety time parameter includes: a fault detection time interval; the mode determination unit is specifically used to:
[0045] When it is determined that the first determination factor is less than a first preset threshold and the second determination factor is less than or equal to a second preset threshold, the preset second strategy is determined as the target strategy, and the second strategy is used to indicate that the product of the fault detection time interval and the preset coefficient is determined as the fault detection step.
[0046] In a possible implementation, the device further includes:
[0047] The coefficient calibration module is used to obtain the fault message cycle and fault detection time interval of the vehicle; and determine the preset coefficient according to the preset coefficient configuration rule, the fault message cycle and the fault detection time interval.
[0048] In a possible implementation manner, the vehicle functional safety time parameter includes: a fault detection time interval; the mode determination unit is specifically used to:
[0049] When it is determined that the first determination factor is less than a first preset threshold, and the second determination factor is greater than a second preset threshold and less than the first preset threshold, determining a preset third strategy as a target strategy;
[0050] Wherein, the third strategy is:
[0051]
[0052] In a possible implementation manner, the vehicle functional safety time parameters include: a fault tolerance time interval, a fault detection time interval, and a fault response time interval; the time parameter determination module includes:
[0053] A parameter acquisition unit, used to acquire vehicle parameters of the vehicle;
[0054] A first determining unit, configured to determine a fault manifestation time of the vehicle and a danger manifestation time according to the vehicle parameters;
[0055] A second determining unit, configured to determine a fault tolerance time interval according to the fault manifestation time and the danger manifestation time;
[0056] A third determining unit is used to allocate the fault-tolerant time interval into a fault detection time interval and a fault response time interval according to a preset allocation rule; wherein the allocation rule includes the principle of ensuring that the vehicle control system can identify the fault in the shortest time and take measures to set the fault detection time interval, and reducing the probability of occurrence of dangerous events to set the fault response time interval;
[0057] The fourth determining unit is configured to determine the sum of the fault detection time interval and the fault response time interval as the fault processing time interval.
[0058] In a third aspect, the present application provides an electronic device comprising: a processor and a memory, wherein the processor is used to execute a vehicle fault detection program stored in the memory to implement the vehicle fault detection method described in any one of the first aspects.
[0059] In a fourth aspect, the present application provides a storage medium storing one or more programs, and the one or more programs can be executed by one or more processors to implement the vehicle fault detection method described in any one of the first aspects.
[0060] The above-mentioned technical scheme provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application determines the vehicle functional safety time parameters according to the vehicle parameters, determines the target strategy according to the vehicle functional safety time parameters and the preset fault message cycle, and determines the fault detection step according to the target strategy, so that the vehicle performs fault detection according to the fault detection step, thereby providing a more flexible, efficient and adaptable solution for vehicle fault detection. This solution accurately determines the fault detection cycle according to the response and detection capabilities of the vehicle in the face of faults as reflected by the fault message cycle and the vehicle functional safety time parameters, which helps to optimize resource utilization, improve system responsiveness, meet vehicle functional safety standards, and ultimately improve the safety and reliability of the entire vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0062] In order to more clearly illustrate the embodiments of the present application 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0063] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0064] Figure 1 A flow chart of an embodiment of a vehicle fault detection method provided in an embodiment of the present application;
[0065] Figure 2 An example of the relationship between vehicle functional safety time parameters;
[0066] Figure 3 A flowchart of an embodiment of the present application for determining a target strategy and then determining a fault detection step length according to a vehicle functional safety time parameter and a preset fault message cycle;
[0067] Figure 4A block diagram of an embodiment of a vehicle fault detection device provided in an embodiment of the present application;
[0068] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0069] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0070] The disclosure below provides many different embodiments or examples to realize the different structures of the present application. In order to simplify the disclosure of the present application, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, the present application can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.
[0071] In order to solve the technical problem that the prior art adopts manual calibration of the vehicle fault detection cycle, which may cause the calibration result to fail to meet safety requirements and thus affect the safety and reliability of the entire vehicle, the present application provides a vehicle fault detection method, device and storage medium, which can provide a more flexible, efficient and adaptable solution for vehicle fault detection, help optimize resource utilization, improve system responsiveness, meet vehicle functional safety standards, and ultimately improve the safety and reliability of the entire vehicle.
[0072] Figure 1 The following is a flow chart of an embodiment of a vehicle fault detection method provided in an embodiment of the present application. Figure 1 As shown, the process includes the following steps:
[0073] Step 101: Determine vehicle functional safety time parameters according to vehicle parameters.
[0074] The above vehicle functional safety time parameters include but are not limited to: fault tolerance time interval
[0075] The fault detection time interval (Fault Detection Time Interval, referred to as FDTI), the fault response time interval (Fault Reaction Time Interval, referred to as FRTI), and the fault handling time interval (Fault Handling Time Interval, referred to as FHTI) and other time parameters.
[0076] FTTI refers to the time interval from the occurrence of a fault to the occurrence of a hazardous event, which is the limit of time that the system can tolerate a fault without causing harm or damage. For example, the time interval from the beginning of brake failure to the occurrence of a car collision.
[0077] FDTI refers to the time interval from the occurrence of a fault to its detection. FDTI is one of the key indicators for evaluating system safety and reliability. A shorter FDTI means that the system can respond to faults more quickly, which may reduce the impact of faults on the normal operation of the system and improve the safety and stability of the system. Taking the automobile braking system as an example, if a fault occurs in the braking system and causes brake failure, FDTI refers to the time interval from the occurrence of a fault in the braking system (such as a brake fluid leak) to the vehicle system (such as the electronic control unit ECU) identifying the brake fault through its fault detection mechanism.
[0078] FRTI is the time interval from the fault being recognized to the safe state or emergency operating mode, for example: the time interval from the detection of brake failure to safe parking.
[0079] FHTI is the total time from the occurrence of a fault to the time the system is able to respond and handle the fault. Usually, FHTI is the sum of FDTI and FRTI.
[0080] See also Figure 2 , is an example of the relationship between the vehicle functional safety time parameters described above. Figure 2 It can be seen that FTTI is the time limit of the effective coverage of the functional safety mechanism of the vehicle, that is, when emergency operation is not required, FHTI <FTTI。
[0081] In one embodiment, the specific implementation of determining the vehicle functional safety time parameters according to the vehicle's whole vehicle parameters includes: obtaining the vehicle's whole vehicle parameters, determining the vehicle's fault manifestation time according to the vehicle's whole vehicle parameters, determining the dangerous manifestation time, and determining the fault tolerance time interval according to the fault manifestation time and the dangerous manifestation time. Next, according to the preset allocation rules, the fault tolerance time interval is allocated into a fault detection time interval and a fault response time interval; wherein the allocation rules include the principle of ensuring that the vehicle control system can identify the fault in the shortest time and take measures to set the fault detection time interval, and reducing the probability of dangerous events to set the fault response time interval. Finally, the sum of the fault detection time interval and the fault response time interval is determined as the fault handling time interval.
[0082] Specifically, the calculation of FTTI needs to be based on multiple parameters of the vehicle, including but not limited to vehicle speed, weight, tire performance, driver reaction time, and vehicle spacing. Determining the vehicle functional safety time parameters based on the vehicle parameters generally includes the following steps:
[0083] Step 1: Identify potential dangerous events: First, you need to identify dangerous events that may occur when the vehicle is in different operating conditions, such as rear-end collision, collision, loss of control, etc.
[0084] Step 2: Analyze the fault manifestation time: The fault manifestation time is the time from the occurrence of the fault to the manifestation of the fault at the vehicle level. This depends on how the faulty component is used in the target function and can be roughly calculated through the project definition input.
[0085] Step 3: Analyze the time of hazard manifestation: The time of hazard manifestation refers to the time from the point in time when the fault behavior exists to the specific operating scenario / operation that causes the hazardous event to exist. This can be analyzed based on factors such as operating conditions, hazard type, user controllability, and exposure probability.
[0086] Step 4: The sum of the fault manifestation time and the danger manifestation time is determined as FTTI.
[0087] In addition, in practical applications, FTTI can be calculated for different types of dangerous events and fault scenarios, and the accuracy of FTTI calculation results can be verified through simulation, experiment or actual test, and adjusted as needed.
[0088] After determining the FTTI, reasonable FDTI and FRTI can be allocated according to the functional safety requirements of the system. When allocating FDTI, factors such as the system's detection capability, sensor accuracy, and response time are usually considered, and FDTI is set as short as possible so that the system can quickly identify faults and take appropriate measures. When allocating FRTI, factors such as the system's control strategy, actuator response time, and system redundant design can be considered, and FDTI is also set as short as possible to reduce the probability of dangerous events. After allocating FDTI and FRTI, the rationality of the allocated FDTI and FRTI can also be determined by verifying the sum of the two, that is, verifying whether FHTI is less than FTTI, to ensure that the allocation results meet the functional safety requirements of the vehicle.
[0089] Step 102: Determine a target strategy according to the vehicle functional safety time parameter and a preset fault message cycle.
[0090] The fault message period refers to the time interval from when the system detects a fault to when the fault information is encapsulated into a fault message and sent out through the communication network, and then the system detects again and may send the fault message again. In the embodiment of the present application, the fault message period is a preset fixed value. Factors affecting the fault message period include, but are not limited to, factors such as fault detection time interval, message preparation time, network communication delay time, system configuration, and receiving end processing time. The method / process for determining the fault message period will not be repeated here.
[0091] The fault detection step length is a time parameter that does not exist in the current vehicle functional safety time parameters. In the embodiment of the present application, the fault detection step length is the time interval for fault detection under the vehicle functional safety mechanism. For example, the fault detection step length is 10ms, which means that the system performs fault detection every 10ms.
[0092] If the fault detection time interval FTTI is used as the fault detection step for fault detection, then if a system fault occurs at some point during the fault detection cycle, and the end of the fault message cycle does not end at the beginning of the next fault detection cycle, it may not be possible to fully guarantee that FDTI < FHTI holds. This means that the time from the occurrence of a fault to the time the system detects the fault (FDTI) may exceed the total time from the occurrence of a fault to the time the system can respond and handle the fault (FHTI).
[0093] When FDTI>FRTI, if the system fault is not detected at the beginning of the fault detection cycle, the FHTI will increase accordingly due to the extension of FDTI. If FHTI exceeds FTTI, the system will not be able to complete fault detection and fault response within FTTI, thereby increasing the risk of potential damage.
[0094] In this regard, an embodiment of the present application proposes a technical solution for determining a target strategy based on a vehicle functional safety time parameter and a preset fault message cycle, and then determining a fault detection step length according to the target strategy.
[0095] Step 103: determine the fault detection step length according to the target strategy, so that the vehicle performs fault detection according to the fault detection step length.
[0096] It can be seen from the description of step 102 and step 103 that in the embodiment of the present application, the conventional fault detection time interval FDTI is not used to periodically perform fault detection, but the period of fault detection by the vehicle safety system, i.e., the fault detection step length, is determined according to the vehicle functional safety time parameter and the preset fault message period. Determining the fault detection step length in this way can more accurately control the frequency of fault detection, so that the system can respond to potential fault conditions more quickly, thereby avoiding the occurrence of potential hazards as much as possible.
[0097] The technical solution provided in the embodiment of the present application determines the vehicle functional safety time parameters according to the vehicle's overall parameters, determines the target strategy according to the vehicle functional safety time parameters and the preset fault message cycle, and determines the fault detection step according to the target strategy, so that the vehicle performs fault detection according to the fault detection step, thereby providing a more flexible, efficient and adaptable solution for vehicle fault detection. This solution accurately determines the fault detection cycle according to the vehicle's response capability and detection capability when facing a fault as reflected by the fault message cycle and the vehicle functional safety time parameters, which helps to optimize resource utilization, improve system responsiveness, meet vehicle functional safety standards, and ultimately improve the safety and reliability of the entire vehicle.
[0098] Figure 3 The present invention provides an embodiment of the present invention to provide a flow chart of an embodiment of determining a target strategy and then determining a fault detection step length according to a vehicle functional safety time parameter and a preset fault message cycle. Figure 3 As shown, the following steps are included:
[0099] Step 301, determine the first determination factor and the second determination factor respectively according to the vehicle functional safety time parameter and the preset fault message cycle, and when it is determined that the first determination factor is greater than or equal to the first preset threshold, execute step 302; when it is determined that the first determination factor is less than the first preset threshold and the second determination factor is less than or equal to the second preset threshold, execute step 304; when it is determined that the first determination factor is less than the first preset threshold, and the second determination factor is greater than the second preset threshold and less than the first preset threshold, execute step 306.
[0100] In one embodiment, the specific implementation of determining the first determination factor and the second determination factor based on the vehicle functional safety time parameter and the preset fault message cycle includes: determining the sum of the fault detection time interval and the fault response time interval as the fault processing time interval, and determining the difference between the fault processing time interval and the fault message cycle, determining the ratio between the difference and the fault processing time interval as the first determination factor, and determining the ratio between the fault message cycle and the fault detection time interval as the second determination factor.
[0101] The above implementation can be expressed as the following formula:
[0102]
[0103] In the above formula, p1 is the first determination factor, and p2 is the second determination factor.
[0104] The first determination factor calculated by the above formula is used to characterize the ratio of the fault message cycle to the difference between FTTI and FHTI, that is, to characterize the tolerance of the difference between FTTI and FHTI to the fault message cycle. The larger the ratio, that is, the larger p1, means that the tolerance of the difference between FTTI and FHTI to the fault message cycle is higher, which can better ensure that a safe state is entered within the FTTI time.
[0105] The second determination factor calculated by the above formula is used to characterize the tolerance of the fault message cycle within the FDTI time. The smaller the ratio, that is, the smaller the tolerance, the more likely it is that the fault can be detected within the FDTI time.
[0106] Step 302: determine the preset first strategy as the target strategy.
[0107] Step 303: Determine the value of the fault message period as the fault detection step length according to the first strategy.
[0108] Step 304: determine the preset second strategy as the target strategy.
[0109] Step 305: According to the second strategy, the product of the fault detection time interval and the preset coefficient is determined as the fault detection step length.
[0110] Step 306: Determine the preset third strategy as the target strategy.
[0111] Step 307: Determine the fault detection step length according to the third strategy.
[0112] For ease of understanding, a unified explanation is given below for steps 301 to 307:
[0113] In order to detect the fault and report it to the system at the end of the fault detection period when the fault occurs, FDTS should satisfy: FDTS<FDTI, where FDTS represents the fault detection step. At the same time, to avoid the situation where the fault cannot be detected, FDTS should usually be greater than the fault message period. Based on this, FDTS should also satisfy: nFDTS=FDTI. This can ensure that no matter when the fault occurs, it can be detected within the FDTI time.
[0114] Ideally, the larger the value of n, the more likely it is that the fault will be detected within the FDTI time. However, the larger the value of n, the more resources will be used and the more difficult it will be to achieve. Therefore, setting a reasonable value of n can ensure that the fault will be detected within the FDTI time without wasting too many resources. For this, the preset coefficient (i.e., the inverse of n) is calibrated in the following way:
[0115] Obtain the fault message cycle and fault detection time interval of the vehicle, and determine the preset coefficient according to the preset coefficient configuration rule, fault message cycle and fault detection time interval. The coefficient configuration rule includes the principle of setting the fault detection step length to be greater than the fault message cycle and less than the fault detection time interval, ensuring that the fault can be detected within the fault detection time interval and requiring the least fault detection resources.
[0116] Optionally, n=2, that is, the preset coefficient is 0.5, and FDTS satisfies the relationship: FDTS=0.5FDTI.
[0117] It should be noted that the above relationship is applicable to the case where the fault message period is less than 0.5FDTI. When 0.5FDTI < fault message period is less than FDTI, the above relationship becomes invalid because FDTS cannot be less than the fault message period. For this, a third strategy is designed. The third strategy is:
[0118]
[0119] The second preset threshold is, for example, 0.5.
[0120] Furthermore, considering the safety requirements of ASIL level, more stringent fault detection strategies are often required for ASIL B and above. For ASIL A level, a more relaxed fault detection strategy can be selected. Therefore, the applicable conditions of the third strategy can also include ASIL level ASIL A.
[0121] For ASIL B and above, it should be ensured that FDTS can detect faults quickly and accurately. Therefore, FDTS may need to be set to a value smaller than the fault message period, or a more complex fault prediction and detection algorithm may need to be used, which will not be described in detail here.
[0122] Based on the above description, the technical solution of the embodiment of the present application designs a fault detection step length determination method such as the above steps 301 to 307. The above steps 301 to 307 are summarized as shown in the following Table 1:
[0123] Table 1
[0124]
[0125] Figure 3 The process shown in the figure determines the first determination factor and the second determination factor respectively according to the vehicle functional safety time parameter and the preset fault message cycle. The first determination factor can characterize the ratio relationship between the fault message cycle and the difference between FTTI and FHTI, and the second determination factor can characterize the tolerance of the fault message cycle within the FDTI time. The combination of these two determination factors can comprehensively evaluate the response capability and detection capability of the system when facing faults, so as to accurately determine the fault detection step according to the response capability and detection capability of the system when facing faults, so that the system can quickly enter a safe state within the FTTI time and effectively detect faults within the FDTI time, thereby significantly improving the functional safety performance of the vehicle.
[0126] Figure 4 This is a block diagram of an embodiment of a vehicle fault detection device provided in an embodiment of the present application. Figure 4 As shown, the device comprises:
[0127] A time parameter determination module 41 is used to determine a vehicle functional safety time parameter according to a vehicle parameter;
[0128] A strategy determination module 42, used to determine a target strategy according to the vehicle functional safety time parameter and a preset fault message cycle, wherein the target strategy is used to determine a fault detection step length;
[0129] The fault detection step length determination module 43 is used to determine the fault detection step length according to the target strategy, so that the vehicle performs fault detection according to the fault detection step length.
[0130] In a possible implementation manner, the vehicle functional safety time parameters include: a fault tolerance time interval, a fault detection time interval, and a fault response time interval; the strategy determination module 42 includes:
[0131] A determination factor determination unit, configured to determine a first determination factor and a second determination factor according to the vehicle functional safety time parameter and a preset fault message cycle, respectively, wherein the first determination factor is used to characterize the tolerance of the difference between the fault tolerance time interval and the fault handling time interval to the fault message cycle; and the second determination factor is used to characterize the tolerance of the fault detection time interval to the fault message cycle;
[0132] A strategy determination unit is used to determine a target strategy according to the first determination factor and / or the second determination factor.
[0133] In a possible implementation manner, the determination factor determination unit is specifically used to:
[0134] Determine the sum of the fault detection time interval and the fault response time interval as the fault processing time interval, and determine the difference between the fault processing time interval and the fault message period;
[0135] The ratio between the difference and the fault processing time interval is determined as a first determination factor, and the ratio between the fault message period and the fault detection time interval is determined as a second determination factor.
[0136] In a possible implementation manner, the mode determination unit is specifically used to:
[0137] When it is determined that the first determination factor is greater than or equal to a first preset threshold, a preset first strategy is determined as a target strategy, where the first strategy is used to indicate that the value of the fault message period is determined as a fault detection step.
[0138] In a possible implementation manner, the vehicle functional safety time parameter includes: a fault detection time interval; the mode determination unit is specifically used to:
[0139] When it is determined that the first determination factor is less than a first preset threshold and the second determination factor is less than or equal to a second preset threshold, the preset second strategy is determined as the target strategy, and the second strategy is used to indicate that the product of the fault detection time interval and the preset coefficient is determined as the fault detection step.
[0140] In a possible implementation, the device further includes:
[0141] The coefficient calibration module is used to obtain the fault message cycle and fault detection time interval of the vehicle; and determine the preset coefficient according to the preset coefficient configuration rule, the fault message cycle and the fault detection time interval.
[0142] In a possible implementation manner, the vehicle functional safety time parameter includes: a fault detection time interval; the mode determination unit is specifically used to:
[0143] When it is determined that the first determination factor is less than a first preset threshold, and the second determination factor is greater than a second preset threshold and less than the first preset threshold, determining a preset third strategy as a target strategy;
[0144] Wherein, the third strategy is:
[0145]
[0146] In a possible implementation manner, the time parameter determination module:
[0147] In a possible implementation manner, the vehicle functional safety time parameters include: a fault tolerance time interval, a fault detection time interval, and a fault response time interval; the time parameter determination module includes:
[0148] A parameter acquisition unit, used to acquire vehicle parameters of the vehicle;
[0149] A first determining unit, configured to determine a fault manifestation time of the vehicle and a danger manifestation time according to the vehicle parameters;
[0150] A second determining unit, configured to determine a fault tolerance time interval according to the fault manifestation time and the danger manifestation time;
[0151] A third determining unit is used to allocate the fault-tolerant time interval into a fault detection time interval and a fault response time interval according to a preset allocation rule; wherein the allocation rule includes the principle of ensuring that the vehicle control system can identify the fault in the shortest time and take measures to set the fault detection time interval, and reducing the probability of occurrence of dangerous events to set the fault response time interval;
[0152] The fourth determining unit is configured to determine the sum of the fault detection time interval and the fault response time interval as the fault processing time interval.
[0153] like Figure 5 As shown, an embodiment of the present application provides an electronic device, including a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114.
[0154] Memory 113, used for storing computer programs;
[0155] In one embodiment of the present application, the processor 111 is used to execute the program stored in the memory 113 to implement the vehicle fault detection method provided by any of the above method embodiments, including:
[0156] Determine vehicle functional safety time parameters based on vehicle parameters;
[0157] Determining a target strategy according to the vehicle functional safety time parameter and a preset fault message cycle, wherein the target strategy is used to determine a fault detection step length;
[0158] The fault detection step length is determined according to the target strategy so that the vehicle performs fault detection according to the fault detection step length.
[0159] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the vehicle fault detection method provided in any of the aforementioned method embodiments are implemented.
[0160] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0161] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0162] It should be understood that the terms used herein are only for the purpose of describing specific example embodiments and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "include", "comprise", "contain", and "have" are inclusive, and therefore specify the existence of stated features, steps, operations, elements and / or parts, but do not exclude the existence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not interpreted as necessarily requiring them to be performed in the specific order described or illustrated, unless the execution order is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0163] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.
Claims
1. A vehicle fault detection method, characterized in that: The method comprises: Determine vehicle functional safety time parameters based on vehicle parameters; Determining a target strategy according to the vehicle functional safety time parameter and a preset fault message cycle, wherein the target strategy is used to determine a fault detection step length; The fault detection step length is determined according to the target strategy so that the vehicle performs fault detection according to the fault detection step length.
2. The method according to claim 1, characterized in that The vehicle functional safety time parameters include: a fault tolerance time interval, a fault detection time interval, and a fault response time interval; determining the target strategy according to the vehicle functional safety time parameters and a preset fault message cycle includes: Determine a first determination factor and a second determination factor according to the vehicle functional safety time parameter and a preset fault message cycle, the first determination factor being used to characterize the tolerance of the difference between the fault tolerance time interval and the fault handling time interval to the fault message cycle; the second determination factor being used to characterize the tolerance of the fault detection time interval to the fault message cycle; A target strategy is determined according to the first determination factor and / or the second determination factor.
3. The method according to claim 2, characterized in that The determining the first determination factor and the second determination factor according to the vehicle functional safety time parameter and a preset fault message period includes: Determine the sum of the fault detection time interval and the fault response time interval as the fault processing time interval, and determine the difference between the fault processing time interval and the fault message period; The ratio between the difference and the fault processing time interval is determined as a first determination factor, and the ratio between the fault message period and the fault detection time interval is determined as a second determination factor.
4. The method according to claim 2, characterized in that: Determining the target strategy according to the first determination factor and / or the second determination factor includes: When it is determined that the first determination factor is greater than or equal to a first preset threshold, a preset first strategy is determined as a target strategy, where the first strategy is used to indicate that the value of the fault message period is determined as a fault detection step.
5. The method according to claim 2, characterized in that: Determining the target strategy according to the first determination factor and / or the second determination factor includes: When it is determined that the first determination factor is less than a first preset threshold and the second determination factor is less than or equal to a second preset threshold, the preset second strategy is determined as the target strategy, and the second strategy is used to indicate that the product of the fault detection time interval and the preset coefficient is determined as the fault detection step.
6. The method according to claim 5, characterized in that The preset coefficient is calibrated in the following way: Obtaining a fault message cycle and a fault detection time interval of the vehicle; The preset coefficient is determined according to a preset coefficient configuration rule, the fault message period and the fault detection time interval.
7. The method according to claim 2, characterized in that Determining the target strategy according to the first determination factor and / or the second determination factor includes: When it is determined that the first determination factor is less than a first preset threshold, and the second determination factor is greater than a second preset threshold and less than the first preset threshold, determining a preset third strategy as a target strategy; Wherein, the third strategy is:
8. The method according to claim 1, characterized in that The vehicle functional safety time parameters include: fault tolerance time interval, fault detection time interval and fault response time interval; the vehicle functional safety time parameters are determined according to the vehicle parameters, including: Get the vehicle parameters; Determining the fault manifestation time of the vehicle and determining the danger manifestation time according to the vehicle parameters; Determine a fault tolerance time interval according to the fault manifestation time and the danger manifestation time; According to a preset allocation rule, the fault-tolerant time interval is allocated into a fault detection time interval and a fault response time interval; wherein the allocation rule includes the principle of ensuring that the vehicle control system can identify the fault in the shortest time and take measures to set the fault detection time interval, and reducing the probability of occurrence of dangerous events to set the fault response time interval; The sum of the fault detection time interval and the fault response time interval is determined as the fault processing time interval.
9. A vehicle fault detection device, characterized in that: The device comprises: A time parameter determination module, used to determine vehicle functional safety time parameters according to vehicle parameters; A calculation method determination module, used to determine a target strategy according to the vehicle functional safety time parameter and a preset fault message cycle, wherein the target strategy is used to determine a fault detection step length; The fault detection step length determination module is used to determine the fault detection step length according to the target strategy, so that the vehicle performs fault detection according to the fault detection step length.
10. A storage medium, characterized in that: The storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the vehicle fault detection method described in any one of claims 1-8.
Citation Information
Patent Citations
Fault test method, device and system based on simulation nodes and storage medium
CN112051832A
Method and device for determining fault tolerance time interval of vehicle
CN115158192A
Fault tolerance time interval determination method and device, vehicle and storage medium
CN115629555A
Vehicle fault detection method and electronic equipment
CN115903751A
Fault processing method and device and electronic equipment
CN116610090A
