Vehicle anomaly detection method and device, processor and electronic equipment

By dynamically adjusting the safety boundary and fault tolerance time, the problem of low accuracy in vehicle anomaly detection was solved, and accurate torque anomaly detection under different operating conditions was achieved.

CN121492947APending Publication Date: 2026-02-10GUANGZHOU XIAOPENG MOTORS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511906419.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-16
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

Existing vehicle anomaly detection methods, due to their use of fixed safety boundaries and fixed tolerance times, result in low accuracy in detecting vehicle anomalies under different operating conditions.

Method used

By acquiring the current torque information of the vehicle's power system, detecting based on the target torque information, determining the actual duration of the current torque, and dynamically adjusting the safety boundary and fault tolerance time in combination with the target duration, the safety boundary and fault tolerance time are dynamically changed.

Benefits of technology

It improves the accuracy of vehicle anomaly detection and enables precise torque anomaly detection under different operating conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121492947A_ABST
    Figure CN121492947A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle anomaly detection method and device, a processor and electronic equipment, and the method comprises the steps that current torque information of a power system of a vehicle is obtained, and the current torque information is used for representing the current torque output by the power system at the current moment; based on target torque information of the power system, the current torque information is detected, an initial detection result is obtained, and the target torque information is used for representing the torque allowed to be output by the power system at the current moment; under the condition that the initial detection result is that the current torque belongs to the abnormal torque of the over-limit type, the actual duration of the current torque is determined; and detecting the current torque information based on the actual duration and the target duration to obtain a target detection result. The technical problem that the accuracy of vehicle anomaly detection is low is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicles, and more specifically, to a method, apparatus, processor, and electronic device for detecting anomalies in a vehicle. Background Technology

[0002] Currently, existing vehicle anomaly detection methods typically employ fixed safety boundaries and fixed tolerance times to detect abnormal torque. In other words, regardless of the vehicle's operating conditions (e.g., high speed, low speed, high torque acceleration, stable driving), if the difference between the actual output torque and the safe operating torque exceeds the fixed safety boundary, the actual output torque is determined to be abnormal, and corresponding protective measures are taken for the vehicle's powertrain within a fixed timeframe.

[0003] However, the above-mentioned abnormal vehicle detection methods use fixed safety boundaries to detect the actual output torque for vehicles under different operating conditions, which leads to the technical problem of low accuracy in vehicle abnormal detection.

[0004] There is currently no effective solution to the technical problem of low accuracy in detecting anomalies in the aforementioned vehicles. Summary of the Invention

[0005] This application provides a method, apparatus, processor, and electronic device for detecting vehicle anomalies, which at least partially solves the technical problem of low accuracy in detecting vehicle anomalies.

[0006] According to one aspect of the embodiments of this application, a method for detecting anomalies in a vehicle is provided. The method includes: acquiring current torque information of the vehicle's powertrain system, wherein the current torque information represents the current torque output by the powertrain system at the current moment; detecting the current torque information based on target torque information of the powertrain system to obtain an initial detection result, wherein the target torque information represents the torque allowed to be output by the powertrain system at the current moment; determining the actual duration of the current torque if the initial detection result indicates that the current torque is an abnormal torque of the over-limit type; and detecting the current torque information based on the actual duration and the target duration to obtain a target detection result, wherein the target duration represents the duration during which the powertrain system is allowed to maintain the output of the current torque, and the target detection result represents the relationship between the current torque and the abnormal torque of the over-limit type.

[0007] Optionally, based on the target torque information of the power system, the current torque information is detected to obtain an initial detection result, including: determining the torque difference between the current torque represented by the current torque information and the torque represented by the target torque information; and detecting the current torque information based on the torque difference and the torque difference threshold to obtain the initial detection result.

[0008] Optionally, the method further includes: acquiring the vehicle's current driving information and the vehicle's current operation information, wherein the current driving information is used to represent the vehicle's driving state at the current moment, and the current operation information is used to represent the operation behavior performed by the driver on the vehicle; determining a torque difference threshold based on the current vehicle speed information in the current driving information, and determining target torque information based on the current driving information and the current operation information, wherein the current vehicle speed information is used to represent the vehicle's driving speed at the current moment.

[0009] Optionally, based on the torque difference and the torque difference threshold, the current torque information is detected to obtain an initial detection result, including: if the torque difference is greater than the torque difference threshold, the current torque information is detected to obtain an initial detection result that the current torque belongs to the abnormal torque of the over-limit type; if the torque difference is less than or equal to the torque difference threshold, the current torque information is detected to obtain an initial detection result that the current torque does not belong to the abnormal torque of the over-limit type.

[0010] Optionally, the method further includes: if the initial detection result is that the current torque is an abnormal torque of the over-limit type, determining the target duration based on the vehicle's current driving information and torque difference, wherein the current driving information is used to represent the vehicle's driving state at the current moment.

[0011] Optionally, based on the actual duration and the target duration, the current torque information is detected to obtain a target detection result, including: when the actual duration is longer than the target duration, the current torque information is detected to obtain a target detection result that the current torque is an abnormal torque of the timeout type; when the actual duration is less than or equal to the target duration, the current torque information is detected to obtain a target detection result that the current torque is an abnormal torque of the timeout type.

[0012] Optionally, the method further includes: if the target detection result is that the current torque is an abnormal torque of the timeout type, controlling the power system to adjust the current torque information to the target torque information; or, if the target detection result is that the current torque is an abnormal torque of the timeout type, controlling the power system to stop outputting the current torque.

[0013] According to another aspect of the embodiments of this application, a vehicle anomaly detection device is also provided. The device includes: a first acquisition unit, configured to acquire current torque information of the vehicle's power system, wherein the current torque information represents the current torque output by the power system at the current moment; a first detection unit, configured to detect the current torque information based on target torque information of the power system to obtain an initial detection result, wherein the target torque information represents the torque allowed to be output by the power system at the current moment; a first determination unit, configured to determine the actual duration of the current torque if the initial detection result indicates that the current torque belongs to the abnormal torque of the over-limit type; and a second detection unit, configured to detect the current torque information based on the actual duration and the target duration to obtain a target detection result, wherein the target duration represents the duration for which the power system is allowed to maintain the output of the current torque, and the target detection result represents the relationship between the current torque and the abnormal torque of the over-limit type.

[0014] According to another aspect of the embodiments of this application, a processor is also provided, which is used to run a program, wherein the program is executed by the processor to perform any of the methods described above.

[0015] According to another aspect of the embodiments of this application, an electronic device is also provided, including: a memory storing an executable program; and a processor for running the program, wherein the program executes the method described above when it runs.

[0016] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored executable program, wherein, when the executable program is running, the device where the storage medium is located executes any of the above methods.

[0017] According to another aspect of the embodiments of this application, a computer program product is also provided, the computer program product including a computer program, wherein the computer program, when executed by a processor, implements the method of any one of the above.

[0018] According to another aspect of the embodiments of this application, a vehicle is also provided, including the electronic devices described in the embodiments of this application.

[0019] In this embodiment, when anomaly detection is performed on a vehicle, the current torque information of the vehicle's powertrain is acquired; based on the target torque information of the powertrain, the current torque information is detected to obtain an initial detection result; if the initial detection result indicates that the current torque is an abnormal torque of the over-limit type, the actual duration of the current torque is determined; based on the actual duration and the target duration, the current torque information is detected to obtain a target detection result. In this embodiment, based on the acquired current torque information and the target torque information of the powertrain, an over-limit anomaly detection is performed on the current torque information, which determines the relationship between the current torque and the abnormal torque of the over-limit type. If the current torque is an abnormal torque of the over-limit type, the actual duration of the current torque is determined. Based on the determined actual duration and combined with the target duration, an over-time anomaly detection is performed on the current torque information, which determines the relationship between the current torque and the abnormal torque of the over-time type. This achieves the goal of dynamically changing the safety boundary and fault tolerance time, thereby solving the technical problem of low accuracy in vehicle anomaly detection and achieving the technical effect of improving the accuracy of vehicle anomaly detection. Attached Figure Description

[0020] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0021] Figure 1(a) is a schematic diagram of an application scenario of a vehicle anomaly detection method according to an embodiment of this application;

[0022] Figure 1(b) is a flowchart of a vehicle anomaly detection method according to an embodiment of this application;

[0023] Figure 2 This is a flowchart of a torque monitoring method for an electric vehicle according to an embodiment of this application;

[0024] Figure 3 This is a structural block diagram of a vehicle anomaly detection device according to an embodiment of this application;

[0025] Figure 4 This is a structural block diagram of an electronic device according to an embodiment of this application. Detailed Implementation

[0026] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0027] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0028] According to an embodiment of this application, a method for detecting vehicle anomalies is provided.

[0029] As an optional implementation, the above-described vehicle anomaly detection method can be applied, but is not limited to, the application scenario shown in Figure 1(a). Figure 1(a) is a schematic diagram of an application scenario of a vehicle anomaly detection method according to an embodiment of this application. As shown in Figure 1(a), in the application scenario, the mobile terminal 10 can communicate with the server 13 via the network 11, but is not limited to. The server 13 can perform operations on the database, such as writing or reading data. The mobile terminal 10 can be a terminal device, which may include, but is not limited to, a human-computer interaction screen, a processor, and a memory.

[0030] The aforementioned human-computer interaction screen can be used, but is not limited to, to display virtual machines on the mobile terminal 10. The vehicle 12 can be used, but is not limited to, to respond to the aforementioned human-computer interaction operations, execute corresponding operations, or generate corresponding instructions and send the generated instructions to the server 13. It should be noted that the steps shown in the flowchart in the attached figure can be executed in a computer system such as a set of computer-executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than that shown here: Step S102, obtaining the current torque information of the vehicle's power system; Step S104, detecting the current torque information based on the target torque information of the power system to obtain an initial detection result; Step S106, if the initial detection result is that the current torque belongs to the abnormal torque of the over-limit type, determining the actual duration of the current torque; and Step S108, detecting the current torque information based on the actual duration and the target duration to obtain a target detection result.

[0031] Figure 1(b) is a flowchart of a vehicle anomaly detection method according to an embodiment of this application. As shown in Figure 1(b), the method may include the following steps:

[0032] Step S112: Obtain the current torque information of the vehicle's power system, wherein the current torque information is used to represent the current torque output by the power system at the current moment.

[0033] In the technical solution provided in step S112 of this application, the aforementioned current torque information can be used to represent the current torque output by the power system at the current moment. For example, the aforementioned current torque can be represented by T_actual.

[0034] In this embodiment, the current torque information of the vehicle's powertrain system is obtained. Optionally, this embodiment can read the current torque information of the powertrain system by accessing the vehicle's electronic control unit, or it can obtain the current torque information of the powertrain system by measuring the output torque of the powertrain system in real time using a torque measuring device installed at the powertrain system. For example, the torque measuring device can be a torque sensor.

[0035] Optionally, this embodiment can extract the powertrain log file from the log files of different systems in the vehicle. Then, from the extracted powertrain log file, the current torque information of the powertrain can be extracted, thereby achieving the purpose of obtaining the current torque output by the powertrain at the current moment.

[0036] Step S114: Based on the target torque information of the power system, the current torque information is detected to obtain an initial detection result, wherein the target torque information is used to represent the torque that the power system is allowed to output at the current moment.

[0037] In the technical solution provided in step S114 of this application, the target torque information can be used to represent the torque that the power system is allowed to output at the current moment. For example, the torque that the power system is allowed to output can also be called the safety allowable torque (T_safetydemand).

[0038] In this embodiment, the initial detection result can be used to represent the relationship between the current torque and the abnormal torque of the over-limit type. For example, the initial detection result can be the abnormal torque of the current torque belonging to the over-limit type, or the initial detection result can be the abnormal torque of the current torque not belonging to the over-limit type. This is only an example and is not specifically limited.

[0039] In this embodiment, after acquiring the current torque information of the vehicle's powertrain, the current torque information is detected based on the target torque information of the powertrain to obtain an initial detection result. Optionally, based on the acquired current torque information, this embodiment first determines the target torque information of the powertrain according to the vehicle's current driving information, where the current driving information can be used to represent the vehicle's driving state at the current moment. Then, based on the determined target torque information, an over-limit detection is performed on the current torque information to obtain an initial detection result, thereby achieving the purpose of determining the relationship between the current torque and the abnormal torque of the over-limit type.

[0040] Optionally, comparing the target torque information with the current torque information yields a comparison result, which can be used to represent the relationship between the target torque information and the current torque information. If the comparison result indicates that the target torque information and the current torque information are the same, then detecting the current torque information yields an initial detection result indicating that the current torque belongs to the abnormal torque type of exceeding the limit. If the comparison result indicates that the target torque information and the current torque information are different, then based on the target torque information, exceeding the limit detection is performed on the current torque information to obtain an initial detection result. This achieves the purpose of determining the relationship between the current torque and the abnormal torque of the exceeding limit type.

[0041] Step S116: If the initial detection result indicates that the current torque is an abnormal torque of the over-limit type, determine the actual duration of the current torque.

[0042] In the technical solution provided by step S116 of this application, the actual duration can be used to represent the actual duration for which the power system maintains the output of the current torque. For example, the actual duration can be represented by t_fault.

[0043] In this embodiment, after detecting the current torque information based on the target torque information of the power system and obtaining an initial detection result, if the initial detection result indicates that the current torque is an abnormal torque of the over-limit type, the actual duration of the current torque is determined. Optionally, based on the initial detection result, if the initial detection result indicates that the current torque is an abnormal torque of the over-limit type, this embodiment triggers a torque over-limit timing mechanism to time the current torque, thereby obtaining the actual duration of the current torque and achieving the purpose of determining the actual duration for which the power system maintains the output of the current torque.

[0044] It should be noted that the above method for determining the actual duration of the current torque is merely an illustrative example and is not intended to impose specific limitations. Any process or method that can determine the actual duration of the current torque when the initial detection result indicates that the current torque is an abnormal torque exceeding the limit is within the protection scope of the embodiments of this application, and will not be described in detail here.

[0045] Step S118: Based on the actual duration and the target duration, detect the current torque information to obtain the target detection result. The target duration is used to represent the duration during which the power system is allowed to maintain the output of the current torque, and the target detection result is used to represent the relationship between the current torque and the abnormal torque of the timeout type.

[0046] In the technical solution provided by step S118 of this application, the target duration can be used to represent the duration during which the power system is allowed to maintain the current torque output. For example, the target duration can be represented by t_tolerance.

[0047] In this embodiment, the target detection result can be used to represent the relationship between the current torque and the abnormal torque of the timeout type. For example, the target detection result can be the current torque belonging to the abnormal torque of the timeout type, or the target detection result can be the current torque not belonging to the abnormal torque of the timeout type. This is only an example and is not specifically limited.

[0048] In this embodiment, if the initial detection result indicates that the current torque is an abnormal torque of the over-limit type, after determining the actual duration of the current torque, the current torque information is detected based on the actual duration and the target duration to obtain the target detection result. Optionally, this embodiment, based on determining the actual duration, determines the duration relationship between the actual duration and the target duration, and then detects the current torque information according to the aforementioned duration relationship to obtain the target detection result. This achieves the purpose of determining the relationship between the current torque and the abnormal torque of the over-limit type.

[0049] In steps S112 to S118 of this application, when performing anomaly detection on a vehicle, the current torque information of the vehicle's power system is obtained; based on the target torque information of the power system, the current torque information is detected to obtain an initial detection result; if the initial detection result indicates that the current torque belongs to the abnormal torque of the over-limit type, the actual duration of the current torque is determined; based on the actual duration and the target duration, the current torque information is detected to obtain a target detection result. In this embodiment, based on the obtained current torque information and the target torque information of the power system, an over-limit anomaly detection is performed on the current torque information, which can determine the relationship between the current torque and the abnormal torque of the over-limit type. If the current torque belongs to the abnormal torque of the over-limit type, the actual duration of the current torque is determined. Based on the determined actual duration and combined with the target duration, an over-time anomaly detection is performed on the current torque information, which can determine the relationship between the current torque and the abnormal torque of the over-time type. This achieves the goal of dynamically changing the safety boundary and fault tolerance time, thereby solving the technical problem of low accuracy in vehicle anomaly detection and achieving the technical effect of improving the accuracy of vehicle anomaly detection.

[0050] The method described in this embodiment will be further described below.

[0051] As an optional embodiment, step S114 involves detecting the current torque information based on the target torque information of the power system to obtain an initial detection result, including: determining the torque difference between the current torque represented by the current torque information and the torque represented by the target torque information; and detecting the current torque information based on the torque difference and a torque difference threshold to obtain an initial detection result.

[0052] In this embodiment, the aforementioned torque difference can be represented by ΔT = T_actual - T_safetydemand.

[0053] In this embodiment, after obtaining the current torque information of the vehicle's powertrain, the torque difference between the current torque represented by the current torque information and the torque represented by the target torque information is determined. Optionally, based on the obtained current torque information, this embodiment first determines the target torque information of the powertrain according to the vehicle's current driving information, and then calculates the difference between the current torque represented by the current torque information and the torque represented by the target torque information to obtain the torque difference between them.

[0054] In this embodiment, after determining the torque difference between the current torque represented by the current torque information and the torque represented by the target torque information, the current torque information is detected based on the torque difference and a torque difference threshold to obtain an initial detection result. Optionally, this embodiment, based on determining the torque difference, determines the relationship between the aforementioned torque difference and the torque difference threshold, and detects the current torque information according to the relationship between the aforementioned torque difference and the torque difference threshold to obtain an initial detection result. This achieves the goal of determining the relationship between the current torque and the abnormal torque of the over-limit type, thereby achieving the technical effect of improving the accuracy of the initial detection result.

[0055] The anomaly detection method for the vehicle described in this embodiment will be further explained below.

[0056] As an optional embodiment, the method further includes: acquiring the vehicle's current driving information and the current operation information of the vehicle's driver, wherein the current driving information represents the vehicle's driving state at the current moment, and the current operation information represents the operation behavior performed by the driver on the vehicle; determining a torque difference threshold based on the current vehicle speed information in the current driving information, and determining target torque information based on the current driving information and the current operation information, wherein the current vehicle speed information represents the vehicle's speed at the current moment.

[0057] In this embodiment, the aforementioned current driving information can be used to represent the vehicle's driving state at the current moment. This current driving information may include: current vehicle speed information, current acceleration information, and current angular velocity information, etc. The current vehicle speed information can be used to represent the vehicle's speed at the current moment, the current acceleration information can be used to represent the vehicle's acceleration at the current moment, and the current angular velocity information can be used to represent the vehicle's angular velocity at the current moment.

[0058] In this embodiment, the aforementioned current operation information can be used to represent the operational behavior of the driving object towards the vehicle. The driving object can be a driver of any of the following different driving styles: aggressive driving style, smooth driving style, and random driving style, etc., and the operational behavior can be any of the following different driving behaviors or any combination thereof: acceleration behavior, deceleration behavior, and hill climbing behavior, etc.

[0059] In this embodiment, the aforementioned current vehicle speed information can be used to represent the vehicle's speed at the current moment. For example, the aforementioned speed can be represented by v.

[0060] In this embodiment, the aforementioned torque difference threshold can be represented by T_tolerance. For example, T_tolerance = f(v).

[0061] In this embodiment, after obtaining the vehicle's current driving information and the current operation information of the vehicle's driver, the torque difference threshold is determined based on the current vehicle speed information in the current driving information. Optionally, based on the obtained current driving information, this embodiment can extract the current vehicle speed information from the current driving information, and calculate the torque difference threshold using the extracted current vehicle speed information.

[0062] Optionally, the extracted current vehicle speed information can be input into the over-limit threshold prediction model for threshold prediction to obtain the torque difference threshold. The aforementioned over-limit threshold prediction model can be constructed based on current vehicle speed samples and torque difference threshold samples.

[0063] In this embodiment, after acquiring the vehicle's current driving information and the current operation information of the driver, the target torque information is determined based on the current driving information and the current operation information. Optionally, this embodiment, based on the acquired current driving information and current operation information, performs torque calculation on the current driving information according to the aforementioned current operation information to obtain the target torque information. This achieves the goal of determining the torque that the power system is allowed to output at the current moment, thereby improving the accuracy of the target torque information.

[0064] The following section further explains the steps of detecting the current torque information based on the torque difference and torque difference threshold to obtain the initial detection result in this embodiment.

[0065] As an optional implementation method, the current torque information is detected based on the torque difference and the torque difference threshold to obtain an initial detection result, including: if the torque difference is greater than the torque difference threshold, the current torque information is detected to obtain an initial detection result that the current torque belongs to the abnormal torque of the over-limit type; if the torque difference is less than or equal to the torque difference threshold, the current torque information is detected to obtain an initial detection result that the current torque does not belong to the abnormal torque of the over-limit type.

[0066] In this embodiment, after determining the torque difference between the current torque represented by the current torque information and the torque represented by the target torque information, if the torque difference is greater than a torque difference threshold, the current torque information is detected, and the initial detection result is that the current torque belongs to the abnormal torque of the over-limit type. Optionally, based on determining the torque difference, this embodiment determines the relationship between the torque difference and the torque difference threshold. If the relationship is that the torque difference is greater than the torque difference threshold, then the current torque information is detected, and the initial detection result can be obtained as the abnormal torque of the over-limit type. This achieves the purpose of determining the relationship between the current torque and the abnormal torque of the over-limit type, thereby achieving the technical effect of improving the accuracy of the initial detection result.

[0067] In this embodiment, after determining the torque difference between the current torque represented by the current torque information and the torque represented by the target torque information, if the torque difference is less than or equal to a torque difference threshold, the current torque information is detected, and the initial detection result is that the current torque is not an abnormal torque belonging to the over-limit type. Optionally, this embodiment, based on determining the torque difference, determines the relationship between the aforementioned torque difference and the torque difference threshold. If the relationship is that the torque difference is less than or equal to the torque difference threshold, then detecting the current torque information can yield an initial detection result that the current torque is not an abnormal torque belonging to the over-limit type. This achieves the goal of determining the relationship between the current torque and the abnormal torque of the over-limit type, thereby improving the technical effect of improving the accuracy of the initial detection result.

[0068] The anomaly detection method for the vehicle described in this embodiment will be further explained below.

[0069] As an optional embodiment, the method further includes: if the initial detection result is that the current torque is an abnormal torque of the over-limit type, determining the target duration based on the vehicle's current driving information and torque difference, wherein the current driving information is used to represent the vehicle's driving state at the current moment.

[0070] In this embodiment, the aforementioned current driving information can be used to represent the vehicle's driving status at the current moment.

[0071] In this embodiment, if the initial detection result indicates that the current torque is an abnormal torque exceeding the limit, the target duration is determined based on the vehicle's current driving information and the torque difference. Optionally, this embodiment calculates the target duration by analyzing the current driving information and the torque difference when the initial detection result indicates that the current torque is an abnormal torque exceeding the limit. This achieves the goal of determining the duration during which the powertrain is allowed to maintain the current torque output, thereby improving the accuracy of the target duration.

[0072] Optionally, in this embodiment, if the initial detection result is that the current torque is an abnormal torque of the over-limit type, the current driving information and torque difference are input into the duration prediction model to predict the duration, and the target duration can be obtained. The duration prediction model can be constructed based on the current driving sample, torque difference sample and duration sample. For example, the duration prediction model can be represented by t_tolerance=f(v, ΔT).

[0073] The following section further explains the steps of detecting the current torque information based on the actual duration and the target duration in this embodiment to obtain the target detection result.

[0074] As an optional implementation method, the current torque information is detected based on the actual duration and the target duration to obtain a target detection result, including: when the actual duration is longer than the target duration, the current torque information is detected and the target detection result is that the current torque is an abnormal torque of the timeout type; when the actual duration is less than or equal to the target duration, the current torque information is detected and the target detection result is that the current torque is an abnormal torque of the timeout type.

[0075] In this embodiment, if the initial detection result is that the current torque is an abnormal torque of the over-limit type, after determining the actual duration of the current torque, if the actual duration is longer than the target duration, the current torque information is detected to obtain the target detection result that the current torque is an abnormal torque of the timeout type.

[0076] Optionally, this embodiment determines the duration relationship between the actual duration and the target duration based on the actual duration. If the actual duration is longer than the target duration, the current torque information is detected, and the target detection result is that the current torque belongs to the abnormal torque of the timeout type. This achieves the purpose of determining the relationship between the current torque and the abnormal torque of the timeout type, thereby achieving the technical effect of improving the accuracy of the target detection result.

[0077] In this embodiment, if the initial detection result is that the current torque is an abnormal torque of the over-limit type, after determining the actual duration of the current torque, if the actual duration is less than or equal to the target duration, the current torque information is detected to obtain the target detection result that the current torque is an abnormal torque of the over-time type.

[0078] Optionally, this embodiment determines the duration relationship between the actual duration and the target duration based on the actual duration. If the actual duration is less than or equal to the target duration, the current torque information is detected, and the target detection result is that the current torque is not an abnormal torque of the timeout type. This achieves the purpose of determining the relationship between the current torque and the abnormal torque of the timeout type, thereby achieving the technical effect of improving the accuracy of the target detection result.

[0079] The anomaly detection method for the vehicle described in this embodiment will be further explained below.

[0080] As an optional embodiment, the method further includes: if the target detection result indicates that the current torque is an abnormal torque of the timeout type, controlling the power system to adjust the current torque information to the target torque information; or, if the target detection result indicates that the current torque is an abnormal torque of the timeout type, controlling the power system to stop outputting the current torque.

[0081] In this embodiment, if the target detection result indicates that the current torque is an abnormal torque of the timeout type, the control power system adjusts the current torque information to the target torque information.

[0082] Optionally, based on the target detection result, if the target detection result indicates that the current torque is an abnormal torque of the timeout type, the power system is controlled to adjust the current torque information to the target torque information, thereby achieving the purpose of controlling the power system to output normal torque, and thus realizing the technical effect of improving the control efficiency of the vehicle.

[0083] In this embodiment, if the target detection result indicates that the current torque is an abnormal torque of the timeout type, the power system is controlled to stop outputting the current torque.

[0084] Optionally, based on the target detection result, if the target detection result indicates that the current torque is an abnormal torque of the timeout type and the power system cannot be controlled to adjust the current torque information to the target torque information, then the power system is controlled to stop outputting the current torque, thereby achieving the technical effect of improving the control efficiency of the vehicle.

[0085] Optionally, after the control power system stops outputting the current torque, the target detection result is reported to the cloud to prompt maintenance personnel to handle the current torque in an abnormal state.

[0086] In this embodiment, when anomaly detection is performed on a vehicle, the current torque information of the vehicle's powertrain is acquired; based on the target torque information of the powertrain, the current torque information is detected to obtain an initial detection result; if the initial detection result indicates that the current torque is an abnormal torque of the over-limit type, the actual duration of the current torque is determined; based on the actual duration and the target duration, the current torque information is detected to obtain a target detection result. In this embodiment, based on the acquired current torque information and the target torque information of the powertrain, an over-limit anomaly detection is performed on the current torque information, which determines the relationship between the current torque and the abnormal torque of the over-limit type. If the current torque is an abnormal torque of the over-limit type, the actual duration of the current torque is determined. Based on the determined actual duration and combined with the target duration, an over-time anomaly detection is performed on the current torque information, which determines the relationship between the current torque and the abnormal torque of the over-time type. This achieves the goal of dynamically changing the safety boundary and fault tolerance time, thereby solving the technical problem of low accuracy in vehicle anomaly detection and achieving the technical effect of improving the accuracy of vehicle anomaly detection.

[0087] The technical solutions of the embodiments of this application will be illustrated below with reference to preferred embodiments.

[0088] Currently, existing vehicle anomaly detection methods typically employ fixed safety boundaries and fixed tolerance times to detect abnormal torque. In other words, regardless of the vehicle's operating conditions (e.g., high speed, low speed, high torque acceleration, stable driving), if the difference between the actual output torque and the safe operating torque exceeds the fixed safety boundary, the actual output torque is determined to be abnormal, and corresponding protective measures are taken for the vehicle's powertrain within a fixed timeframe.

[0089] However, the above-mentioned abnormal vehicle detection methods use fixed safety boundaries to detect the actual output torque for vehicles under different operating conditions, which leads to the technical problem of low accuracy in vehicle abnormal detection.

[0090] However, this application proposes a vehicle anomaly detection method. Based on the current torque information, and based on the target torque information of the power system, the method performs over-limit anomaly detection on the current torque information. This determines the relationship between the current torque and the over-limit type of abnormal torque. If the current torque is an over-limit type of abnormal torque, the actual duration of the current torque is determined. Based on the actual duration, and combined with the target duration, the method performs timeout anomaly detection on the current torque information. This determines the relationship between the current torque and the timeout type of abnormal torque. This achieves the goal of dynamically changing the safety boundary and fault tolerance time, thereby solving the technical problem of low accuracy in vehicle anomaly detection and thus achieving the technical effect of improving the accuracy of vehicle anomaly detection.

[0091] In this embodiment, by executing a torque monitoring method for electric vehicles, the relationship between the current torque and abnormal torque of the timeout type can be determined. For example, Figure 2 This is a flowchart of a torque monitoring method for an electric vehicle according to an embodiment of this application, such as... Figure 2 As shown, the method may include the following steps:

[0092] Step S201: Obtain vehicle speed.

[0093] After obtaining the vehicle speed, step S202 is executed to calculate the allowable torque deviation threshold.

[0094] In the technical solution provided in step S202 of this application, the allowable torque deviation threshold is calculated. That is, by using T_tolerance=f(v), the threshold T_tolerance for tolerable over-limit can be calculated based on the vehicle speed v at the time of the fault.

[0095] When the vehicle speed is obtained, steps S203 and S204 are executed to obtain the actual output torque of the vehicle and calculate the safe allowable torque of the vehicle.

[0096] After obtaining the vehicle's actual output torque and calculating the vehicle's safe allowable torque, step S205 is executed to calculate the actual torque excess.

[0097] In the technical solution provided in step S205 of this application, the excess amount of actual torque is calculated, that is, the excess amount of actual torque ΔT = T_actual - T_safetydemand is calculated.

[0098] After calculating the allowable torque deviation threshold and the actual torque excess, step S206 is executed to determine whether the actual torque excess is greater than the torque deviation threshold.

[0099] If the actual torque exceeds the torque deviation threshold, steps S207 and S208 are executed to calculate the tolerable time interval for torque overshoot based on the vehicle speed and the actual torque overshoot, and to trigger the torque overshoot timing. If the actual torque exceeds the torque deviation threshold, the execution process of the torque monitoring method for electric vehicles ends.

[0100] In the technical solution provided in step S207 of this application, the tolerance time t_tolerance can be calculated based on the vehicle speed v and the torque over-limit ΔT at the time of the fault occurrence by using t_tolerance=f(v, ΔT).

[0101] After triggering the torque over-limit timing, step S209 is executed to determine whether the fault timing is greater than the tolerable time interval.

[0102] If the fault timer is determined to be greater than the tolerable time interval, step S210 is executed to confirm that a current torque fault has occurred. If the fault timer is determined to be less than or equal to the tolerable time interval, the execution process of the torque monitoring method for electric vehicles is terminated.

[0103] In the technical solution provided in step S210 of this application, if it is determined that t_fault > t_tolerance, then a torque abnormality fault is confirmed to have occurred. Afterwards, torque safety processing operations are performed on the vehicle, such as controlling the powertrain to limit torque output, or controlling the powertrain to stop torque output, etc.

[0104] In this embodiment, when performing anomaly detection on a vehicle, the current torque information of the vehicle's powertrain is acquired. Based on the target torque information of the powertrain, the current torque information is detected to obtain an initial detection result. If the initial detection result indicates that the current torque is an abnormal torque of the over-limit type, the actual duration of the current torque is determined. Based on the actual duration and the target duration, the current torque information is detected to obtain a target detection result. By performing over-limit anomaly detection on the current torque information based on the target torque information of the powertrain, the relationship between the current torque and abnormal torques of the over-limit type can be determined. If the current torque is an abnormal torque of the over-limit type, the actual duration of the current torque is determined. Based on the determined actual duration and combined with the target duration, timeout anomaly detection is performed on the current torque information to determine the relationship between the current torque and abnormal torques of the timeout type. This achieves the goal of dynamically changing the safety boundary and fault tolerance time, thereby solving the technical problem of low accuracy in vehicle anomaly detection and ultimately improving the accuracy of vehicle anomaly detection.

[0105] According to another aspect of the embodiments of this application, a processor is also provided, which is used to run a program, wherein the program is executed by the processor to perform any of the methods described above.

[0106] According to another aspect of the embodiments of this application, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored executable program, wherein, when the executable program is running, the device where the storage medium is located executes any of the above methods.

[0107] According to another aspect of the embodiments of this application, a computer program product is also provided, the computer program product including a computer program, wherein the computer program, when executed by a processor, implements the method of any one of the above.

[0108] According to another aspect of the embodiments of this application, an electronic device is also provided, including: a memory storing an executable program; and a processor running the program, wherein the program performs the method of any one of the above when it is executed.

[0109] Figure 3 This is a structural block diagram of a vehicle anomaly detection device according to an embodiment of this application, such as... Figure 3 As shown, the vehicle anomaly detection device 300 may include: a first acquisition unit 301, a first detection unit 302, a first determination unit 303, and a second detection unit 304.

[0110] The first acquisition unit 301 is used to acquire the current torque information of the vehicle's power system, wherein the current torque information is used to represent the current torque output by the power system at the current moment.

[0111] The first detection unit 302 is used to detect the current torque information based on the target torque information of the power system to obtain an initial detection result, wherein the target torque information is used to represent the torque that the power system is allowed to output at the current moment.

[0112] The first determining unit 303 is used to determine the actual duration of the current torque when the initial detection result is that the current torque belongs to the abnormal torque of the over-limit type.

[0113] The second detection unit 304 is used to detect the current torque information based on the actual duration and the target duration to obtain the target detection result. The target duration is used to represent the duration during which the power system is allowed to maintain the output of the current torque, and the target detection result is used to represent the relationship between the current torque and the abnormal torque of the timeout type.

[0114] Optionally, the first detection unit 302 may include: a determination module, used to determine the torque difference between the current torque represented by the current torque information and the torque represented by the target torque information; and a first detection module, used to detect the current torque information based on the torque difference and a torque difference threshold to obtain an initial detection result.

[0115] Optionally, the vehicle anomaly detection device 300 may further include: a second acquisition unit, configured to acquire the vehicle's current driving information and the current operation information of the vehicle's driver, wherein the current driving information represents the vehicle's driving state at the current moment, and the current operation information represents the operation behavior performed by the driver on the vehicle; and a second determination unit, configured to determine a torque difference threshold based on the current vehicle speed information in the current driving information, and to determine a target torque information based on the current driving information and the current operation information, wherein the current vehicle speed information represents the vehicle's driving speed at the current moment.

[0116] Optionally, the first detection module may include: a first detection submodule, used to detect the current torque information when the torque difference is greater than the torque difference threshold, and obtain an initial detection result that the current torque belongs to the abnormal torque of the over-limit type; and a second detection submodule, used to detect the current torque information when the torque difference is less than or equal to the torque difference threshold, and obtain an initial detection result that the current torque does not belong to the abnormal torque of the over-limit type.

[0117] Optionally, the vehicle's anomaly detection device 300 may further include: a third determining unit, used to determine the target duration based on the vehicle's current driving information and torque difference when the initial detection result is that the current torque is an abnormal torque of the over-limit type, wherein the current driving information is used to represent the vehicle's driving state at the current moment.

[0118] Optionally, the second detection unit 304 may include: a third detection module, used to detect the current torque information when the actual duration is longer than the target duration, and obtain the target detection result as the current torque being an abnormal torque of the timeout type; and a fourth detection module, used to detect the current torque information when the actual duration is less than or equal to the target duration, and obtain the target detection result as the current torque being an abnormal torque of the timeout type.

[0119] Optionally, the vehicle's anomaly detection device 300 may further include: a control unit, used to control the power system to adjust the current torque information to the target torque information when the target detection result indicates that the current torque is an abnormal torque of the timeout type; or, to control the power system to stop outputting the current torque when the target detection result indicates that the current torque is an abnormal torque of the timeout type.

[0120] In this embodiment, a vehicle anomaly detection device is provided. The device includes: a first acquisition unit for acquiring current torque information of the vehicle's powertrain, wherein the current torque information represents the current torque output by the powertrain at the current moment; a first detection unit for detecting the current torque information based on target torque information of the powertrain to obtain an initial detection result, wherein the target torque information represents the torque allowed to be output by the powertrain at the current moment; a first determination unit for determining the actual duration of the current torque if the initial detection result indicates that the current torque is an abnormal torque of the over-limit type; and a second detection unit for detecting the current torque information based on the actual duration and the target duration to obtain a target detection result, wherein the target duration represents the duration for which the powertrain is allowed to maintain the current torque output, and the target detection result represents the relationship between the current torque and the abnormal torque of the over-limit type. This achieves the goal of dynamically changing safety boundaries and fault tolerance time, thereby solving the technical problem of low accuracy in vehicle anomaly detection and achieving the technical effect of improving the accuracy of vehicle anomaly detection.

[0121] Figure 4 This is a structural block diagram of an electronic device according to an embodiment of this application, such as... Figure 4 As shown, the components of the electronic device 400 include, but are not limited to, a memory 410 and a processor 420. The processor 420 is connected to the memory 410 via a bus 430, and the database 450 is used to store data.

[0122] The electronic device 400 may also include an access device 440, which enables the electronic device 400 to communicate via one or more networks 460. Examples of these networks include Public Switched Telephone Network (PSTN), Local Area Network (LAN), Wide Area Network (WAN), Personal Area Network (PAN), or combinations of communication networks such as the Internet. The access device 440 may include one or more of any type of wired or wireless network interface (e.g., a network interface controller (NIC)), such as an IEEE 802.11 Wireless Local Area Network (WLAN) interface, a Worldwide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, a Near Field Communication (NFC) interface, and so on.

[0123] In one embodiment of this disclosure, the aforementioned components of the electronic device 400 and Figure 4 Other components, not shown, can also be connected to each other, for example, via a bus. It should be understood that... Figure 4 The illustrated electronic device block diagram is for illustrative purposes only and is not intended to limit the scope of this disclosure. Those skilled in the art can add or replace other components as needed.

[0124] It should be noted that the sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0125] In the above embodiments of this application, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0126] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between units or modules may be electrical or other forms.

[0127] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0128] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0129] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.

[0130] The above are merely preferred embodiments of this application. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of this application, and these improvements and modifications should also be considered within the scope of protection of this application.

Claims

1. A method for detecting anomalies in a vehicle, characterized in that, include: Obtain the current torque information of the vehicle's powertrain system, wherein the current torque information is used to represent the current torque output by the powertrain system at the current moment; Based on the target torque information of the power system, the current torque information is detected to obtain an initial detection result, wherein the target torque information is used to represent the torque that the power system is allowed to output at the current moment; If the initial detection result indicates that the current torque is an abnormal torque of the over-limit type, determine the actual duration of the current torque; Based on the actual duration and the target duration, the current torque information is detected to obtain a target detection result. The target duration is used to represent the duration during which the power system is allowed to maintain the output of the current torque, and the target detection result is used to represent the relationship between the current torque and the abnormal torque of the timeout type.

2. The method according to claim 1, characterized in that, Based on the target torque information of the power system, the current torque information is detected to obtain an initial detection result, including: Determine the torque difference between the current torque represented by the current torque information and the torque represented by the target torque information; Based on the torque difference and torque difference threshold, the current torque information is detected to obtain the initial detection result.

3. The method according to claim 2, characterized in that, The method further includes: The current driving information of the vehicle and the current operation information of the driver of the vehicle are obtained, wherein the current driving information is used to indicate the driving state of the vehicle at the current moment, and the current operation information is used to indicate the operation behavior of the driver on the vehicle; Based on the current vehicle speed information in the current driving information, the torque difference threshold is determined, and based on the current driving information and the current operation information, the target torque information is determined, wherein the current vehicle speed information is used to represent the vehicle's speed at the current moment.

4. The method according to claim 2, characterized in that, Based on the torque difference and torque difference threshold, the current torque information is detected to obtain the initial detection result, including: If the torque difference is greater than the torque difference threshold, the current torque information is detected, and the initial detection result is that the current torque belongs to the abnormal torque of the over-limit type. If the torque difference is less than or equal to the torque difference threshold, the current torque information is detected, and the initial detection result is that the current torque does not belong to the abnormal torque of the over-limit type.

5. The method according to claim 2, characterized in that, The method further includes: If the initial detection result indicates that the current torque belongs to the abnormal torque of the over-limit type, the duration of the target is determined based on the current driving information of the vehicle and the torque difference, wherein the current driving information is used to represent the driving state of the vehicle at the current moment.

6. The method according to claim 1, characterized in that, Based on the actual duration and the target duration, the current torque information is detected to obtain the target detection result, including: If the actual duration is longer than the target duration, the current torque information is detected, and the target detection result is that the current torque belongs to the abnormal torque of the timeout type. If the actual duration is less than or equal to the target duration, the current torque information is detected, and the target detection result is that the current torque does not belong to the abnormal torque of the timeout type.

7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: If the target detection result indicates that the current torque belongs to the abnormal torque of the timeout type, the power system is controlled to adjust the current torque information to the target torque information; or... If the target detection result indicates that the current torque belongs to the abnormal torque of the timeout type, the power system is controlled to stop outputting the current torque.

8. A vehicle anomaly detection device, characterized in that, include: The first acquisition unit is used to acquire the current torque information of the power system of the vehicle, wherein the current torque information is used to represent the current torque output by the power system at the current moment; The first detection unit is used to detect the current torque information based on the target torque information of the power system to obtain an initial detection result, wherein the target torque information is used to represent the torque that the power system is allowed to output at the current moment; The first determining unit is configured to determine the actual duration of the current torque when the initial detection result indicates that the current torque is an abnormal torque of the over-limit type. The second detection unit is used to detect the current torque information based on the actual duration and the target duration to obtain a target detection result. The target duration is used to represent the duration during which the power system is allowed to maintain the output of the current torque, and the target detection result is used to represent the relationship between the current torque and the abnormal torque of the timeout type.

9. A processor, characterized in that, The processor is used to run a program, wherein the program is executed by the processor to perform the method according to any one of claims 1 to 7.

10. An electronic device, characterized in that, include: Memory, which stores executable programs; A processor for running the program, wherein the program, when running, performs the method according to any one of claims 1 to 7.