Vehicle fault diagnosis method and device, electronic equipment and storage medium

By using the diagnostic model constructed by using the influencing factors of electrical parameters and Taylor series in vehicle fault diagnosis, the problem of low fault diagnosis effectiveness in the existing technology is solved, and more accurate fault location and efficient maintenance are achieved.

CN118859907APending Publication Date: 2024-10-29CHONGQING CHANGAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411007737.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

Existing vehicle fault diagnosis methods rely on the experience of maintenance personnel and cannot cover all faults, resulting in low diagnostic effectiveness.

Method used

A target fault diagnosis model based on multiple electrical parameter values ​​and their influencing factors is used to build a diagnostic model through Taylor series to predict vehicle failure probability, determine the presence of vehicle failure above the failure probability threshold, and quickly locate abnormal electrical parameters.

Benefits of technology

It improves the accuracy of fault diagnosis and maintenance efficiency, enhances the interpretability of the model and the accuracy of fault prediction, and reduces the computational complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118859907A_ABST
    Figure CN118859907A_ABST
Patent Text Reader

Abstract

The invention relates to a vehicle fault diagnosis method and device, electronic equipment and a storage medium, and relates to the technical field of vehicles. The method comprises the following steps: inputting a plurality of electrical parameter values of a vehicle into a target fault diagnosis model to obtain a fault probability of the vehicle; the target fault diagnosis model is used for predicting the fault probability of the vehicle based on a plurality of electrical parameter values and an influence factor of each electrical parameter, and the influence factors of the electrical parameters are used for representing correlation between the electrical parameters and vehicle faults; and under the condition that the fault probability is greater than a fault probability threshold value, determining that the vehicle has a fault. Therefore, the accuracy of vehicle fault diagnosis can be improved, and the technical problem that the effectiveness of fault diagnosis is low due to the fact that a fault diagnosis standard made based on maintenance personnel may not cover all faults is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle fault diagnosis method, device, electronic device and storage medium. Background Art

[0002] At present, it is possible to develop vehicle fault diagnosis standards based on the maintenance experience of maintenance personnel, and then diagnose whether the vehicle has a fault based on the standards.

[0003] However, in the above methods, the causes of vehicle failures are varied, and the technologies used in vehicles are also being updated day by day. The fault diagnosis standards formulated by maintenance personnel may not cover all faults, resulting in low effectiveness of fault diagnosis. Summary of the invention

[0004] The present application provides a vehicle fault diagnosis method, device, electronic device and storage medium to at least solve the technical problem in the related art that the fault diagnosis criteria formulated by maintenance personnel may not cover all faults, resulting in low effectiveness of fault diagnosis. The technical solution of the present application is as follows:

[0005] According to the first aspect of the present application, a vehicle fault diagnosis method is provided, comprising: inputting multiple electrical parameter values ​​of the vehicle into a target fault diagnosis model to obtain the fault probability of the vehicle; the target fault diagnosis model is used to predict the fault probability of the vehicle based on multiple electrical parameter values ​​and an influencing factor of each electrical parameter, the influencing factor of the electrical parameter being used to characterize the correlation between the electrical parameter and the vehicle fault; when the fault probability is greater than a fault probability threshold, determining that the vehicle has a fault.

[0006] According to the above technical means, since the influencing factors of electrical parameters are used to characterize the correlation between electrical parameters and vehicle faults, the influencing factors of the multiple electrical parameters can be used as diagnostic criteria, and the multiple electrical parameter values ​​of the vehicle can be input into the target fault diagnosis model. Based on the degree of influence of each electrical parameter on the vehicle fault, the probability of the vehicle fault is determined. When the probability of vehicle failure is high, it is determined that the vehicle has a fault, and the vehicle fault can be accurately diagnosed.

[0007] In a possible implementation, the target fault diagnosis model can also output the abnormal probability of each electrical parameter, and the abnormal probability of the electrical parameter is used to determine the fault probability of the vehicle; the vehicle fault diagnosis method also includes: when it is determined that the vehicle has a fault, determining the electrical parameters among the multiple electrical parameters whose abnormal probabilities meet preset conditions as abnormal electrical parameters.

[0008] According to the above technical means, the present application can determine several abnormal electrical parameters that are most correlated with the occurrence of a vehicle failure, and can quickly locate the fault, thereby improving the accuracy of fault determination and maintenance efficiency.

[0009] In a possible implementation, the vehicle fault diagnosis method further includes: constructing the target fault diagnosis model based on the Taylor series and the fault influencing factor of each electrical parameter.

[0010] According to the above technical means, the present application can construct a target fault diagnosis model based on the Taylor series and the fault influencing factor of each electrical parameter, which has strong interpretability and can accurately obtain the abnormal probability of each electrical parameter and the failure probability of the vehicle.

[0011] In a possible implementation, the target fault diagnosis model is constructed based on the Taylor series and the fault influence factor of each electrical parameter, specifically including: determining a preset order; determining the fault influence factor of each electrical parameter corresponding to the preset order; constructing an initial fault diagnosis model based on the Taylor series of the preset order and the fault influence factor of each electrical parameter corresponding to the preset order; and when the fault diagnosis accuracy of the current fault diagnosis model is greater than the accuracy threshold, determining the current fault diagnosis model as the target fault diagnosis model.

[0012] According to the above-mentioned technical means, the present application can determine that the training of the current fault diagnosis model is completed when the fault diagnosis accuracy of the current fault diagnosis model constructed based on the preset order is high, determine the current fault diagnosis model as the target fault diagnosis model, and then perform fault prediction on the target fault diagnosis model, which can improve the accuracy of fault prediction.

[0013] In a possible implementation, the vehicle fault diagnosis method also includes: when the fault diagnosis accuracy of the current fault diagnosis model is less than or equal to the accuracy threshold, iteratively executing the following steps until the fault diagnosis accuracy of the current fault diagnosis model is greater than the accuracy threshold: increasing the preset order; determining the fault influencing factor of each electrical parameter corresponding to the increased preset order; and updating the current fault diagnosis model based on the Taylor series of the increased preset order and the fault influencing factor of each electrical parameter corresponding to the increased preset order.

[0014] According to the above-mentioned technical means, since the higher the order of the Taylor series, the higher the accuracy of the Taylor model, therefore, when the current fault diagnosis model does not meet the preset conditions, the preset order is continuously increased, and a target fault diagnosis model that meets the requirements and has a higher fault diagnosis accuracy can be gradually obtained through iteration.

[0015] In a possible implementation, the above-mentioned initial fault diagnosis model is constructed based on the Taylor series of the preset order and the fault influence factor of each electrical parameter corresponding to the preset order, specifically including: constructing a first function based on multiple influence functions and the failure probability of the vehicle, an influence function is a function between an electrical parameter, the fault influence factor of the electrical parameter and the abnormal probability of the electrical parameter; expanding the first function based on the Taylor series of the preset order to obtain a second function; and constructing the initial fault diagnosis model based on the second function.

[0016] According to the above-mentioned technical means, the present application can construct a first function based on multiple influencing functions and the failure probability of the vehicle, and then expand the second function based on a Taylor series of a preset order, thereby reducing the computational complexity in the model calculation and training process while being able to predict the abnormal probability of each electrical parameter.

[0017] In a possible implementation, the above-mentioned determination of the fault influence factor of each electrical parameter corresponding to the preset order includes: obtaining multiple groups of historical electrical parameter values ​​and the fault status corresponding to each group of historical electrical parameter values; training an influence factor generation model based on the preset order, the multiple groups of historical electrical parameter values, the fault status corresponding to each group of historical electrical parameters, and the loss function; when the loss function of the influence factor generation model is less than a preset value, obtaining the fault influence factor of each electrical parameter corresponding to the preset order based on the influence factor generation model, and the influence factor generation model is used to output the fault influence factor of a group of electrical parameters.

[0018] According to the above technical means, since the target fault diagnosis model is a Taylor model and cannot be trained, by training the influence factor generation model, the high precision of deep learning can be used to obtain more accurate fault influence factors of electrical parameters.

[0019] According to a second aspect provided by the present application, a vehicle fault diagnosis device is provided, including a processing unit and a determination unit; the processing unit is used to input multiple electrical parameter values ​​of the vehicle into a target fault diagnosis model to obtain a failure probability of the vehicle; the target fault diagnosis model is used to predict the failure probability of the vehicle based on multiple electrical parameter values ​​and an influencing factor of each electrical parameter, and the influencing factor of the electrical parameter is used to characterize the correlation between the electrical parameter and the vehicle failure; the determination unit is used to determine that the vehicle has a fault when the failure probability is greater than a failure probability threshold.

[0020] In a possible implementation, the target fault diagnosis model can also output the abnormal probability of each electrical parameter, and the abnormal probability of the electrical parameter is used to determine the failure probability of the vehicle; the determination unit is also used to determine that the electrical parameters among the multiple electrical parameters whose abnormal probabilities meet preset conditions are abnormal electrical parameters when it is determined that the vehicle has a fault.

[0021] In a possible implementation manner, the processing unit is further configured to construct the target fault diagnosis model based on the Taylor series and the fault influencing factor of each electrical parameter.

[0022] In one possible implementation, the determination unit is specifically used to determine a preset order; the determination unit is also specifically used to determine the fault influence factor of each electrical parameter corresponding to the preset order; the processing unit is specifically used to construct an initial fault diagnosis model based on the Taylor series of the preset order and the fault influence factor of each electrical parameter corresponding to the preset order; the determination unit is also specifically used to determine the current fault diagnosis model as the target fault diagnosis model when the fault diagnosis accuracy of the current fault diagnosis model is greater than the accuracy threshold.

[0023] In a possible implementation, the processing unit is further specifically used to iteratively execute the following steps when the fault diagnosis accuracy of the current fault diagnosis model is less than or equal to the accuracy threshold until the fault diagnosis accuracy of the current fault diagnosis model is greater than the accuracy threshold: increase the preset order; determine the fault influence factor of each electrical parameter corresponding to the increased preset order; and update the current fault diagnosis model based on the Taylor series of the increased preset order and the fault influence factor of each electrical parameter corresponding to the increased preset order.

[0024] In a possible implementation, the processing unit is further specifically used to construct a first function based on multiple influence functions and the failure probability of the vehicle, wherein an influence function is a function between an electrical parameter, a fault influence factor of the electrical parameter, and an abnormal probability of the electrical parameter; the processing unit is further specifically used to expand the first function based on a Taylor series of a preset order to obtain a second function; the processing unit is further specifically used to construct the initial fault diagnosis model based on the second function.

[0025] In a possible implementation, the vehicle fault diagnosis device further includes an acquisition unit, which is used to acquire multiple groups of historical electrical parameter values ​​and the fault status corresponding to each group of historical electrical parameter values; the processing unit is also specifically used to train the influence factor generation model based on the preset order, the multiple groups of historical electrical parameter values, the fault status corresponding to each group of historical electrical parameters, and the loss function; the processing unit is also specifically used to obtain the fault influence factor of each electrical parameter corresponding to the preset order based on the influence factor generation model when the loss function of the influence factor generation model is less than a preset value, and the influence factor generation model is used to output the fault influence factor of a group of electrical parameters.

[0026] According to the third aspect provided by the present application, an electronic device is provided, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to execute instructions to implement the method of the above-mentioned first aspect and any possible implementation manner thereof.

[0027] According to the fourth aspect provided by the present application, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method in the above-mentioned first aspect and any possible implementation method thereof.

[0028] According to the fifth aspect provided by the present application, a computer program product is provided, the computer program product comprising computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the method of the above-mentioned first aspect and any possible implementation manner thereof.

[0029] According to a sixth aspect provided by the present application, a vehicle is provided, comprising the electronic device of the third aspect mentioned above.

[0030] Therefore, the above technical features of the present application have the following beneficial effects:

[0031] (1) Since the influencing factors of electrical parameters are used to characterize the correlation between electrical parameters and vehicle faults, the influencing factors of multiple electrical parameters can be used as diagnostic criteria, and multiple electrical parameter values ​​of the vehicle can be input into the target fault diagnosis model. Based on the degree of influence of each electrical parameter on the vehicle fault, the probability of the vehicle fault is determined. When the probability of vehicle failure is high, it is determined that the vehicle has a fault, and the fault diagnosis of the vehicle can be accurately performed.

[0032] (2) In the event of a vehicle failure, the several abnormal electrical parameters that are most correlated with the cause of the failure can be identified, which can quickly locate the fault and improve the accuracy of fault determination and maintenance efficiency.

[0033] (3) Based on the Taylor series and the fault influencing factor of each electrical parameter, the target fault diagnosis model is constructed. It has strong interpretability and can accurately obtain the abnormal probability of each electrical parameter and the failure probability of the vehicle.

[0034] (4) When the fault diagnosis accuracy of the current fault diagnosis model constructed based on the preset order is high, it is determined that the training of the current fault diagnosis model is completed, and the current fault diagnosis model is determined as the target fault diagnosis model, and then the target fault diagnosis model is used for fault prediction, which can improve the accuracy of fault prediction.

[0035] (5) Since the higher the order of the Taylor series, the higher the accuracy of the Taylor model, therefore, when the current fault diagnosis model does not meet the preset conditions, by continuously increasing the preset order, a target fault diagnosis model that meets the requirements and has a higher fault diagnosis accuracy can be gradually obtained through iteration.

[0036] (6) Based on multiple influencing functions and the failure probability of the vehicle, a first function is constructed, and then a second function is obtained by expanding it based on a Taylor series of a preset order. This reduces the computational complexity in the model calculation and training process while being able to predict the abnormal probability of each electrical parameter.

[0037] (7) Since the target fault diagnosis model is a Taylor model and cannot be trained, by training the influencing factor generation model, the high precision of deep learning can be used to obtain more accurate fault influencing factors of electrical parameters.

[0038] It should be noted that the technical effects brought about by any implementation method in the second to sixth aspects can refer to the technical effects brought about by the corresponding implementation method in the first aspect, and will not be repeated here.

[0039] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.

[0041] Figure 1 is a flow chart of a vehicle fault diagnosis method according to an exemplary embodiment;

[0042] Figure 2 is a flow chart of another vehicle fault diagnosis method according to an exemplary embodiment;

[0043] Figure 3is a flow chart of another vehicle fault diagnosis method according to an exemplary embodiment;

[0044] Figure 4 is a flow chart of another vehicle fault diagnosis method according to an exemplary embodiment;

[0045] Figure 5 is a flow chart of data collection according to an exemplary embodiment;

[0046] Figure 6 is a schematic diagram showing data expansion based on a generative adversarial network according to an exemplary embodiment;

[0047] Figure 7 is a block diagram of a vehicle fault diagnosis device according to an exemplary embodiment;

[0048] Figure 8 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0049] In order to enable ordinary persons in the art to better understand the technical solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0050] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.

[0051] Automobile fault diagnosis technology is a key technology that involves the safety, reliability and maintenance cost of automobiles. With the development of automobile technology, fault diagnosis technology is also constantly improving to adapt to the increasingly complex vehicle systems. Traditional automobile fault diagnosis relies on manual experience and expertise, while modern technology increasingly uses electronic equipment, such as automobile oscilloscopes, on-board automatic diagnostic systems OBD, wireless remote diagnostic systems, etc. And with the rapid development of artificial intelligence, big data and machine learning technologies, these AI technologies are also gradually used in automobile fault diagnosis systems, by collecting various parameters and data during the operation of the car, and then using algorithms for analysis and processing to identify the type and cause of the fault.

[0052] In addition, with the development of new energy vehicles, automobile fault diagnosis technology is also facing new challenges and opportunities. The braking system, electronic control system, etc. of new energy vehicles are significantly different from those of traditional fuel vehicles, which requires fault diagnosis technology to adapt to these changes and develop new diagnostic methods and tools to meet the maintenance needs of new energy vehicles. Current automobile fault diagnosis mainly relies on a variety of external diagnostic tools, which limits the vehicle's self-detection capabilities, resulting in the inability to monitor the vehicle status in real time, and thus unable to prevent potential accident risks in a timely manner. Future development trends should include the integration of more advanced on-board self-diagnosis systems to achieve continuous monitoring of the vehicle's health status, thereby improving driving safety.

[0053] In related technologies, the OBD interface can be used to obtain the vehicle's electronic control characteristic data, and the mechanical characteristics of manual detection can be integrated and uploaded to the server, and then the intelligent recommendation items can be output through big data calculation and manual recommendation. This technology uses big data mining technology to learn the fault diagnosis mechanism, and then predicts new vehicle characteristic data based on the diagnosis mechanism. However, this predictive analysis will only produce one result, that is, whether the vehicle has a fault, but it cannot locate the fault point, which is not conducive to troubleshooting.

[0054] Also, in the related technology, historical fault diagnosis data can be classified and cleaned to generate data to be sampled. Through data processing tools, the data to be sampled is sampled and information is extracted to generate benchmark diagnostic data. Then, the association logic that is conducive to analyzing the corresponding between different fault phenomenon scenarios and fault causes is extracted from the complex information in the historical fault diagnosis big data. The sorted association logic is used as historical maintenance experience for maintenance technicians to refer to and learn from when diagnosing and repairing, thereby achieving the function of vehicle fault diagnosis. However, this method still requires maintenance technicians to analyze. This diagnostic method does not belong to the fully automatic diagnosis mode, and the diagnostic efficiency also depends on the skills of the maintenance technicians. Therefore, this fault diagnosis efficiency is low.

[0055] In addition, among other technologies, it is also possible to obtain the historical status parameters of the electric drive module of the relevant vehicle, combine data preprocessing and deep learning technology, and design a new architecture of long-short memory stacked autoencoder neural network to model the vehicle fault diagnosis model, and select the optimal model through the corresponding model evaluation algorithm. However, the fault cannot be located and needs to be manually located and repaired.

[0056] It should be understood that the electronic device that executes the vehicle fault diagnosis method provided in the present application can be a server or a smart device on the vehicle.

[0057] For ease of understanding, the vehicle fault diagnosis method provided by the present application is specifically introduced below with reference to the accompanying drawings.

[0058] Figure 1 is a flow chart of a vehicle fault diagnosis method according to an exemplary embodiment. Figure 1 As shown, the vehicle fault diagnosis method includes S101-S102.

[0059] S101. Input multiple electrical parameter values ​​of a vehicle into a target fault diagnosis model to obtain a fault probability of the vehicle.

[0060] Among them, the target fault diagnosis model is used to predict the failure probability of the vehicle based on multiple electrical parameter values ​​and the influencing factor of each electrical parameter. The influencing factor of the electrical parameter is used to characterize the correlation between the electrical parameter and the vehicle fault.

[0061] It can be understood that electrical parameters are parameters of the electrical characteristics of the vehicle. Vehicle failure will cause changes in electrical parameters, and changes in electrical parameters will also affect the probability of failure. Based on the changes in electrical parameters, it can be predicted whether the vehicle will fail.

[0062] It should be understood that the correlation between an electrical parameter and the probability of vehicle failure is a nonlinear relationship, which may be affected by other electrical parameters. In the embodiment of the present application, it is assumed that there is no cross-influence between the electrical parameters, and the failure probability of the vehicle is determined based on the influence of the value of each electrical parameter on the vehicle failure.

[0063] In the embodiment of the present application, the influencing factors of the multiple electrical parameters can be understood as diagnostic criteria. As long as the electrical parameters that affect the vehicle failure and the influence of each electrical parameter on the vehicle failure are accurately determined, the vehicle failure can be accurately diagnosed based on the diagnostic criteria.

[0064] Exemplarily, the multiple electrical parameters may include the vehicle's battery status data, such as battery voltage, current, temperature, charging power and charging speed; they may also include the temperature and control signals of the motor and motor controller; they may also include environmental parameters, such as external temperature and humidity.

[0065] Optionally, the multiple electrical parameters may be acquired by automatically reading based on an electronic control device inside the vehicle body.

[0066] S102: When the failure probability is greater than the failure probability threshold, determine that the vehicle has a failure.

[0067] It should be understood that when the failure probability is greater than the failure probability threshold, it means that the electrical parameters of the vehicle are highly abnormal and the probability of the vehicle failure is high. At this time, it can be determined that the vehicle has a fault.

[0068] In an optional implementation, the target fault diagnosis model can be deployed on a smart device of the vehicle, and then the vehicle can perform real-time diagnosis of the electrical parameters of the vehicle based on the target fault diagnosis model.

[0069] Optionally, the vehicle may issue a fault prompt when the fault probability is greater than a fault probability threshold.

[0070] In the embodiment of the present application, since the influencing factors of electrical parameters are used to characterize the correlation between electrical parameters and vehicle faults, the influencing factors of the multiple electrical parameters can be used as diagnostic criteria, and the multiple electrical parameter values ​​of the vehicle can be input into the target fault diagnosis model. Based on the degree of influence of each electrical parameter on the vehicle fault, the probability of the vehicle fault is determined. When the probability of vehicle failure is high, it is determined that the vehicle has a fault, and the vehicle fault can be accurately diagnosed.

[0071] Combination Figure 1 ,like Figure 2 As shown, in one implementation of the embodiment of the present application, the target fault diagnosis model can also output the abnormal probability of each electrical parameter, and the abnormal probability of the electrical parameter is used to determine the fault probability of the vehicle; the vehicle fault diagnosis method also includes S201.

[0072] S201. When it is determined that a vehicle fault exists, determine, among a plurality of electrical parameters, an electrical parameter whose abnormal probability satisfies a preset condition as an abnormal electrical parameter.

[0073] It should be understood that the target fault diagnosis model can determine the abnormal probability of each electrical parameter based on the correlation between the electrical parameter and the vehicle fault. The abnormal probability of the electrical parameter can also be understood as the degree of influence of the electrical parameter on the vehicle fault.

[0074] In an optional implementation, the target fault diagnosis model may determine the sum of the abnormal probabilities of each electrical parameter as the fault probability of the vehicle.

[0075] It should be understood that when the abnormal probability meets the preset conditions, it means that the abnormal probability of the electrical parameter is high, and it is very likely that the abnormality of the electrical parameter causes the vehicle failure. At this time, the electrical parameter can be determined as an abnormal electrical parameter.

[0076] In an optional implementation, the preset condition is used to characterize that the abnormality probability is greater than an abnormality probability threshold.

[0077] In another optional implementation, the preset condition is also used to characterize the top 3 abnormality probabilities sorted from large to small.

[0078] In an optional implementation, the electronic equipment on the vehicle can display the abnormal electrical parameters, and the fault point can be quickly located based on the abnormal electrical parameters, so that the driver (or other relevant personnel) can check and repair the vehicle fault based on the abnormal electrical parameters without the need for professional repair personnel.

[0079] In the embodiment of the present application, in the event of a vehicle failure, several abnormal electrical parameters that are most correlated with the occurrence of the failure are determined, so that the failure can be quickly located, thereby improving the accuracy of fault determination and maintenance efficiency.

[0080] In one implementation of an embodiment of the present application, before implementing the above S101-S102 and S201, the server (or the vehicle's electronic device) can generate the target fault diagnosis model. Specifically, the target fault diagnosis model can be constructed based on the Taylor series and the fault influencing factor of each electrical parameter.

[0081] In the embodiment of the present application, the target fault diagnosis model is a mathematical model, specifically a Taylor model.

[0082] In combination with the description of the above embodiments, the relationship between an electrical parameter and a vehicle fault is a nonlinear relationship. It can be understood that an electrical parameter, a fault influencing factor of the electrical parameter, and an abnormal probability of the electrical parameter can be understood as a function, and the relationship between the multiple electrical parameters and the vehicle fault can be understood as the relationship between multiple functions.

[0083] It should be understood that the Taylor series has the functional characteristics of fitting any high-order function, so the relationship between the above-mentioned multiple functions can be characterized based on the Taylor series.

[0084] It should be understood that the Taylor series is mainly used to make up for the shortcomings of deep learning. The interpretability of deep learning models is usually not as good as that of traditional machine models, which may lead to the opacity and difficulty of trusting the models. Therefore, using the Taylor series to build the target fault diagnosis model can make up for the shortcomings of the model's uninterpretability.

[0085] It can be understood that the target fault diagnosis model constructed based on the Taylor series and the fault influencing factor of each electrical parameter has strong interpretability and can accurately obtain the abnormal probability of each electrical parameter and the failure probability of the vehicle.

[0086] In one implementation of the embodiment of the present application, in combination Figure 1 ,like Figure 3 As shown, the target fault diagnosis model is constructed based on the Taylor series and the fault influencing factor of each electrical parameter, which may specifically include S301-S304.

[0087] S301: Determine a preset order.

[0088] It should be understood that the Taylor series expansion has too many parameters and the calculation is relatively complicated. If a certain loss can be accepted, a Taylor series of a certain order can be taken for expansion to reduce the complexity of the model.

[0089] Optionally, the preset order may be an arbitrarily selected order.

[0090] S302: Determine a fault influencing factor of each electrical parameter corresponding to a preset order.

[0091] It should be understood that the fault influence factor of each electrical parameter corresponding to different orders is different, and the fault influence factor of each electrical parameter corresponding to a preset order can be determined.

[0092] S303: construct an initial fault diagnosis model based on the Taylor series of a preset order and the fault influencing factor of each electrical parameter corresponding to the preset order.

[0093] S304: When the fault diagnosis accuracy of the current fault diagnosis model is greater than the accuracy threshold, the current fault diagnosis model is determined as the target fault diagnosis model.

[0094] It should be understood that after constructing the initial fault diagnosis model based on the Taylor series of the preset order and the fault influencing factor of each electrical parameter corresponding to the preset order, the currently constructed model (i.e., the initial fault diagnosis model) can be verified. When the fault diagnosis accuracy of the current fault diagnosis model is greater than the accuracy threshold, it means that the preset order can accurately predict the fault probability. The current fault diagnosis model is successfully verified, and the current fault diagnosis model can be determined as the target fault diagnosis model, and the preset order can be determined as the target order.

[0095] In an embodiment of the present application, when the fault diagnosis accuracy rate of the current fault diagnosis model constructed based on the preset order is high, it is determined that the training of the current fault diagnosis model is completed, and the current fault diagnosis model is determined as the target fault diagnosis model, and then the target fault diagnosis model is used for fault prediction, which can improve the accuracy of fault prediction.

[0096] In one implementation of the embodiment of the present application, the initial fault diagnosis model is constructed based on the Taylor series of the preset order and the fault influencing factor of each electrical parameter corresponding to the preset order, which may specifically include steps A to C.

[0097] Step A: construct a first function based on multiple influence functions and the failure probability of the vehicle.

[0098] Wherein, an influence function is a function of an electrical parameter, a fault influence factor of the electrical parameter, and an abnormal probability of the electrical parameter.

[0099] It should be understood that the first function can be expressed as:

[0100] Y=f1(x)+f2(y)+…+f l (l) First function

[0101] Where, l represents the number of electrical parameters, f1(x) represents the influence function of electrical parameter x, f2(y) represents the influence function of electrical parameter y, and f l (l) represents the influence function of electrical parameter l.

[0102] Step B: Expand the first function based on a Taylor series of a preset order to obtain a second function.

[0103] Exemplarily, assuming that the preset order is the first 3 orders, the first function is expanded based on the Taylor series of the first 3 orders, and the obtained second function can be expressed as:

[0104] Y=a1x+a2x 2 +a3x 3 +b1y+b2y 2 +b3y 3 +…+g1l+g2l 2 +g3l 3 Second function

[0105] It should be understood that the constant term in the second function can be understood as a fault influencing factor of multiple electrical parameters, and only the constant term needs to be determined to accurately predict the fault probability of the vehicle.

[0106] Step C: constructing the initial fault diagnosis model based on the second function.

[0107] It should be understood that after the fault influence factor of each electrical parameter corresponding to the preset order is determined, the fault influence factor of each electrical parameter is substituted into the second function to obtain the initial fault diagnosis model.

[0108] It should be understood that a first function is constructed based on multiple influencing functions and the failure probability of the vehicle, and a second function is obtained by expanding it based on a Taylor series of a preset order. This reduces the computational complexity in the model calculation and training process while being able to predict the abnormal probability of each electrical parameter.

[0109] In one implementation of the embodiment of the present application, in combination Figure 3 ,like Figure 4 As shown, when the fault diagnosis accuracy of the current fault diagnosis model is less than or equal to the accuracy threshold, the following S401-S403 may be iteratively executed until the fault diagnosis accuracy of the current fault diagnosis model is greater than the accuracy threshold.

[0110] S401, increasing the preset order.

[0111] It should be understood that the larger the order of the Taylor series, the closer the function obtained by expanding the Taylor series based on the order is to the original function. Therefore, when the diagnostic accuracy of the initial fault diagnosis model constructed with the original preset order is low, the preset order can be increased.

[0112] S402: Determine the fault influence factor of each electrical parameter corresponding to the increased preset order.

[0113] S403 , updating the current fault diagnosis model based on the increased Taylor series of the preset order and the fault influencing factor of each electrical parameter corresponding to the increased preset order.

[0114] It should be understood that since the higher the order of the Taylor series, the higher the accuracy of the Taylor model, therefore, when the current fault diagnosis model does not meet the preset conditions, by continuously increasing the preset order, a target fault diagnosis model that meets the requirements and has a higher fault diagnosis accuracy can be gradually obtained through iteration.

[0115] In an implementation manner of the embodiment of the present application, the above-mentioned determination of the fault influence factor of each electrical parameter corresponding to the preset order may specifically include steps D to F.

[0116] Step D: obtaining multiple groups of historical electrical parameter values ​​and the fault status corresponding to each group of historical electrical parameter values.

[0117] It should be understood that the fault state corresponding to each set of historical electrical parameter values ​​is the actual fault state corresponding to each set of historical electrical parameter values.

[0118] It can be understood that the multiple groups of historical electrical parameter values ​​may be historical electrical parameter values ​​acquired from multiple vehicles.

[0119] It should be understood that the process of obtaining multiple sets of historical electrical parameter values ​​and the fault status corresponding to each set of historical electrical parameter values ​​is actually a data collection process, such as Figure 5 As shown, the data collection process may include S501 - S509 .

[0120] S501. Collect fault electrical parameters.

[0121] Specifically, the electrical parameters of real vehicles are collected.

[0122] S502: Data cleaning and standardization.

[0123] Specifically, there may be some non-numerical parameters in the multiple sets of historical electrical parameter values, such as the communication status of the car, motor control signals and other parameters, and the dimensions of the electrical parameters of different vehicles are not at the same level. If the dimensionality level between the electrical parameters is not processed, the large-dimensional electrical parameters will weaken the effect of the small-dimensional parameters when training the model. Therefore, after obtaining multiple sets of historical electrical parameter values, the multiple sets of historical electrical parameter values ​​can be cleaned and standardized.

[0124] In the embodiment of the present application, a mean normalization function can be used to clean and standardize the multiple groups of historical electrical parameter values.

[0125] Optionally, the mean normalization function expression is as follows:

[0126]

[0127] Among them, x represents the mean, x represents the value of any element in a set of eigenvalues, and x max Represents the maximum value of a set of parameters, x p Indicates the normalized value.

[0128] S503: Data expansion.

[0129] It should be understood that the number of historical electrical parameter values ​​obtained from the vehicle may be small, or the data collection process may be complex and take a long time, so the obtained data may also be expanded.

[0130] Specifically, simulated electrical parameter values ​​can be generated based on a generative adversarial network.

[0131] Specifically, Figure 6 As shown, the process of performing data expansion based on a generative adversarial network may include S601-S602.

[0132] S601, inputting the original data into the discriminant model.

[0133] It should be understood that the discriminant model is used to determine the truth or falsity of input data.

[0134] First, build two sub-network models of the generative adversarial network, namely the generation model and the discrimination model.

[0135] It should be understood that the input layer of the generative model is a 10-dimensional random noise, and the dimension of the output layer is the same as the dimension of the processed vehicle fault data. The input layer of the discriminant model has the same dimension as the output layer of the generative model, and the output data of the discriminant model is a scalar from 0 to 1. Therefore, the loss function of the output layer of the discriminant model is set to the normalized exponential function softmax.

[0136] Specifically, multiple sets of historical electrical parameter values ​​and the fault states corresponding to each set of historical electrical parameter values ​​are obtained and input into the generation model, and converted into vectors to form input data. The discriminator can then determine whether the data is true or false, and initialize the hyperparameters, the learning rates of the discriminant model and the generation model, and the batch size.

[0137] Then, initialize the weights of the network neurons, calculate the loss function, and reduce the loss and the gap between input and output through back propagation and gradient descent algorithms. Save the trained generative model and discriminative model.

[0138] S602: Input the noise data into the generation model.

[0139] Specifically, a 10-dimensional random noise is input into the generative model to obtain a piece of generated data, which is then input into the discriminative model. If the output of the discriminative model is greater than the set critical value, the generated data is deemed to be sufficiently realistic, and the data is retained. This cycle is repeated to obtain enough expanded data.

[0140] In one implementation, after the data is expanded based on the generative adversarial network, S504 may be further performed.

[0141] S504: Use an autoencoder network to extract two-dimensional feature distributions of the expanded data set and the original data set.

[0142] Build an autoencoder network and use it to encode the data. The hidden layer of the network is set to 2 neurons. The advantage of setting 2 neurons is that it is convenient to extract the two-dimensional features of the data, which can be displayed in the form of distribution. Use this method to extract features from the original data set and the expanded data set.

[0143] S505: Determine feature distribution differences.

[0144] Specifically, the wasserstein distance is used to determine the difference between the feature distribution of the original dataset and the feature distribution of the augmented dataset.

[0145] S506: Extracting correlation information between the expanded data set and the original data set.

[0146] Build a 6- to 10-layer fully connected network, separate the features and labels of the expanded data set, use the expanded data set to train the model and save the trained model, record the indicator result as mse1, use the original data for testing, and get the indicator result mse2.

[0147] S507: Determine whether the associated information is consistent.

[0148] Specifically, the Euclidean distance between mse1 and mse2 is calculated to quantify the difference in association information.

[0149] S508: When the feature distribution and the associated information are similar, retain the expanded data set.

[0150] S509: When the feature distributions are not similar and / or the associated information is not similar, the expanded data set is discarded.

[0151] After the above step D, perform step E.

[0152] Step E: training the influencing factor generation model based on a preset order, multiple groups of historical electrical parameter values, the fault state corresponding to each group of historical electrical parameters, and the loss function.

[0153] In an embodiment of the present application, the impact factor generation model is constructed based on a fully connected network, the number of neurons in the input layer of the fully connected network is the number of dimensions of the feature variables, the number of neurons in the output layer is the number of constant terms of the Taylor model, and the impact factor generation model is trained based on deep learning.

[0154] It should be understood that the purpose of the fully connected network is to train a set of constant terms of the Taylor model so that the Taylor model can fit the fault response value well. The objective function of the influencing factor generation model is:

[0155] objective=L(D*F(X),Y)

[0156] Among them, D represents the target order, Y represents the label, F(X) represents the impact factor generation model, and L represents the loss function.

[0157] In the embodiment of the present application, the fully connected network is built with an 8-layer structure, and the number of neurons in each layer from the input layer to the output layer is 17, 64, 64, 128, 128, 128, 128, and 51 respectively.

[0158] Optionally, the initial default order may be 3, and the number of neurons in the last layer is three times that of the neurons in the input layer.

[0159] Optionally, the activation function of the impact factor generation model may be Relu, the learning rate may be 0.0002, and the loss function may be L1loss.

[0160] Optionally, the specific structure of the fully connected network may be determined based on the number of electrical parameters and the number of multiple groups of historical electrical parameter values.

[0161] Based on the above impact factor generation model, the weight of the impact factor generation model is initialized, and the multiple groups of data in the above step A are divided into a training set, a validation set, and a test set. At the same time, the learning rate and number of iterations of the impact factor generation model, as well as the loss function and the gradient optimization algorithm are initialized.

[0162] First, train the influence factor generation model based on the training set. Call the matplot function to draw a graph to show the relationship between the number of iterations and its loss function, and observe whether the loss function decreases with the increase in the number of iterations. If not, you need to adjust the learning rate and other hyperparameters and retrain.

[0163] Secondly, the trained influencing factor generation model is verified based on the test set to prevent overfitting during the model training process. If the indicator does not meet expectations, the model needs to be retrained until it meets expectations.

[0164] Finally, the model is tested based on the test set, and the result will become the final evaluation criterion of the model.

[0165] Step F: when the loss function of the impact factor generation model is less than a preset value, the fault impact factor of each electrical parameter corresponding to a preset order is obtained based on the impact factor generation model.

[0166] The impact factor generation model is used to output a set of fault impact factors of electrical parameters.

[0167] It should be understood that when the loss function of the influencing factor generation model is less than the preset value, it means that the error of the model is small. At this time, the output of the influencing factor generation model can be determined as the fault influencing factor of each electrical parameter corresponding to the preset order.

[0168] In the embodiment of the present application, since the target fault diagnosis model is a Taylor model and cannot be trained, by training the influence factor generation model, the high precision of deep learning can be utilized to obtain a more accurate fault influence factor of the electrical parameter.

[0169] It should be understood that the Taylor series is selected mainly to make up for the shortcomings of deep learning. The interpretability of deep learning models is usually not as good as that of traditional machine models, which may lead to the opacity and difficulty of trust of the models. Therefore, the present invention uses the Taylor series to build a fault diagnosis model for automobiles and uses deep learning to train the Taylor model. In this way, the high-precision characteristics of deep learning can be utilized, and the shortcomings of the model's uninterpretability can also be compensated.

[0170] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to achieve the above functions, the vehicle fault diagnosis device or electronic device includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0171] The embodiments of the present application can exemplarily divide the functional modules of the vehicle fault diagnosis device or electronic device according to the above method. For example, the vehicle fault diagnosis device or electronic device can include various functional modules corresponding to the various functional divisions, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.

[0172] Figure 7 FIG. 1 is a block diagram of a vehicle fault diagnosis device according to an exemplary embodiment. Figure 7 The vehicle fault diagnosis device 70 includes: a processing unit 701 and a determination unit 702.

[0173] Processing unit 701 is used to input multiple electrical parameter values ​​of the vehicle into a target fault diagnosis model to obtain the fault probability of the vehicle; the target fault diagnosis model is used to predict the fault probability of the vehicle based on multiple electrical parameter values ​​and the influencing factor of each electrical parameter, and the influencing factor of the electrical parameter is used to characterize the correlation between the electrical parameter and the vehicle fault.

[0174] The determination unit 702 is used to determine that the vehicle has a fault when the fault probability is greater than a fault probability threshold.

[0175] In some embodiments, the target fault diagnosis model may also output an abnormal probability of each electrical parameter, and the abnormal probability of the electrical parameter is used to determine the fault probability of the vehicle.

[0176] The determination unit 702 is further configured to, when it is determined that the vehicle has a fault, determine an electrical parameter whose abnormal probability satisfies a preset condition among the multiple electrical parameters as an abnormal electrical parameter.

[0177] In some embodiments, the processing unit 701 is further configured to construct the target fault diagnosis model based on the Taylor series and the fault influencing factor of each electrical parameter.

[0178] In some embodiments, the determination unit 702 is specifically configured to determine a preset order.

[0179] The determination unit 702 is further specifically configured to determine the fault impact factor of each electrical parameter corresponding to the preset order.

[0180] The processing unit 701 is specifically configured to construct an initial fault diagnosis model based on the Taylor series of the preset order and the fault influencing factor of each electrical parameter corresponding to the preset order.

[0181] The determination unit 702 is further specifically configured to determine the current fault diagnosis model as the target fault diagnosis model when the fault diagnosis accuracy of the current fault diagnosis model is greater than an accuracy threshold.

[0182] In some embodiments, the processing unit 701 is also specifically used to iteratively perform the following steps when the fault diagnosis accuracy of the current fault diagnosis model is less than or equal to the accuracy threshold until the fault diagnosis accuracy of the current fault diagnosis model is greater than the accuracy threshold: increase the preset order; determine the fault influence factor of each electrical parameter corresponding to the increased preset order; update the current fault diagnosis model based on the Taylor series of the increased preset order and the fault influence factor of each electrical parameter corresponding to the increased preset order.

[0183] In some embodiments, the processing unit 701 is further specifically used to construct a first function based on multiple influence functions and the failure probability of the vehicle, where an influence function is a function between an electrical parameter, a failure influence factor of the electrical parameter, and an abnormal probability of the electrical parameter.

[0184] The processing unit 701 is further specifically configured to expand the first function based on a Taylor series of a preset order to obtain a second function.

[0185] The processing unit 701 is further specifically configured to construct the initial fault diagnosis model based on the second function.

[0186] In some embodiments, the vehicle fault diagnosis device further includes an acquisition unit 703 .

[0187] The acquisition unit 703 is used to acquire multiple groups of historical electrical parameter values ​​and the fault state corresponding to each group of historical electrical parameter values.

[0188] The processing unit 701 is further specifically used to train the influencing factor generation model based on the preset order, the multiple groups of historical electrical parameter values, the fault state corresponding to each group of historical electrical parameters, and the loss function.

[0189] The processing unit 701 is also specifically used to obtain the fault influence factor of each electrical parameter corresponding to the preset order based on the influence factor generation model when the loss function of the influence factor generation model is less than a preset value. The influence factor generation model is used to output the fault influence factors of a set of electrical parameters.

[0190] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0191] Figure 8 FIG. 1 is a block diagram of an electronic device according to an exemplary embodiment. Figure 8 As shown, the electronic device 80 includes but is not limited to: a processor 801 and a memory 802 .

[0192] The memory 802 is used to store executable instructions of the processor 801. It can be understood that the processor 801 is configured to execute instructions to implement the vehicle fault diagnosis method in the above embodiment.

[0193] It should be noted that those skilled in the art can understand that Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include Figure 8 More or fewer components may be shown, or certain components may be combined, or the components may be arranged differently.

[0194] The processor 801 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 802, and calling data stored in the memory 802, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 801 may include one or more processing units. Optionally, the processor 801 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 801.

[0195] The memory 802 may be used to store software programs and various data. The memory 802 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one functional module (such as a determination unit, a processing unit, etc.), etc. In addition, the memory 802 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0196] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory 802 including instructions. The above instructions can be executed by the processor 801 of the electronic device 800 to implement the method in the above embodiment.

[0197] In actual implementation, Figure 7 The functions of the processing unit 701, the determining unit 702, and the obtaining unit 703 in the embodiment can be realized by Figure 8 The processor 801 in the embodiment calls the computer program stored in the memory 802. The specific execution process can refer to the description of the method part in the above embodiment, which will not be repeated here.

[0198] Optionally, the computer-readable storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0199] In an exemplary embodiment, the present application also provides a vehicle, which may include the above-mentioned Figure 8 Electronic devices in.

[0200] In an exemplary embodiment, the present application also provides a computer program product including one or more instructions, and the one or more instructions can be executed by the processor 801 of the electronic device to complete the method in the above embodiment.

[0201] It should be noted that when the instructions in the above-mentioned computer-readable storage medium or one or more instructions in the computer program product are executed by the processor of the electronic device, the various processes of the above-mentioned method embodiment are implemented, and the same technical effect as the above-mentioned method can be achieved. To avoid repetition, they will not be repeated here.

[0202] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0203] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0204] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0205] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0206] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the full classification part or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute the full classification part or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, ROM, RAM, disk or CD and other media that can store program code.

[0207] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A vehicle fault diagnosis method, characterized in that: include: Inputting multiple electrical parameter values ​​of the vehicle into a target fault diagnosis model to obtain a fault probability of the vehicle; The target fault diagnosis model is used to predict the fault probability of the vehicle based on multiple electrical parameter values ​​and an influencing factor of each electrical parameter, wherein the influencing factor of the electrical parameter is used to characterize the correlation between the electrical parameter and the vehicle fault; When the failure probability is greater than a failure probability threshold, it is determined that a failure exists in the vehicle.

2. The method according to claim 1, characterized in that The target fault diagnosis model may also output an abnormal probability of each electrical parameter, and the abnormal probability of the electrical parameter is used to determine the fault probability of the vehicle; the method further includes: In the case where it is determined that the vehicle has a fault, an electrical parameter whose abnormal probability meets a preset condition among the multiple electrical parameters is determined as an abnormal electrical parameter.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: The target fault diagnosis model is constructed based on the Taylor series and the fault influencing factor of each electrical parameter.

4. The method according to claim 3, characterized in that: The target fault diagnosis model is constructed based on the Taylor series and the fault influencing factor of each electrical parameter, including: Determine the preset order; Determining a fault impact factor of each electrical parameter corresponding to the preset order; Constructing an initial fault diagnosis model based on the Taylor series of the preset order and the fault influencing factor of each electrical parameter corresponding to the preset order; When the fault diagnosis accuracy of the current fault diagnosis model is greater than the accuracy threshold, the current fault diagnosis model is determined as the target fault diagnosis model.

5. The method according to claim 4, characterized in that The method further comprises: When the fault diagnosis accuracy of the current fault diagnosis model is less than or equal to the accuracy threshold, iteratively perform the following steps until the fault diagnosis accuracy of the current fault diagnosis model is greater than the accuracy threshold: Increasing the preset order; Determine the fault influence factor of each electrical parameter corresponding to the increased preset order; The current fault diagnosis model is updated based on the Taylor series of the increased preset order and the fault influencing factor of each electrical parameter corresponding to the increased preset order.

6. The method according to claim 4, characterized in that The constructing of an initial fault diagnosis model based on the Taylor series of the preset order and the fault influencing factor of each electrical parameter corresponding to the preset order comprises: Based on a plurality of influence functions and a failure probability of the vehicle, constructing a first function, wherein an influence function is a function between an electrical parameter, a failure influence factor of the electrical parameter, and an abnormal probability of the electrical parameter; Expand the first function based on a Taylor series of a preset order to obtain a second function; The initial fault diagnosis model is constructed based on the second function.

7. The method according to claim 4, characterized in that The determining of the fault impact factor of each electrical parameter corresponding to the preset order includes: Obtain multiple groups of historical electrical parameter values ​​and the fault status corresponding to each group of historical electrical parameter values; Training an influencing factor generation model based on the preset order, the multiple groups of historical electrical parameter values, the fault state corresponding to each group of historical electrical parameters, and a loss function; When the loss function of the impact factor generation model is less than a preset value, the fault impact factor of each electrical parameter corresponding to the preset order is obtained based on the impact factor generation model, and the impact factor generation model is used to output a set of fault impact factors of electrical parameters.

8. A vehicle fault diagnosis device, characterized in that: comprising a processing unit and a determining unit; The processing unit is used to input multiple electrical parameter values ​​of the vehicle into a target fault diagnosis model to obtain a fault probability of the vehicle; the target fault diagnosis model is used to predict the fault probability of the vehicle based on the multiple electrical parameter values ​​and an influencing factor of each electrical parameter, and the influencing factor of the electrical parameter is used to characterize the correlation between the electrical parameter and the vehicle fault; The determination unit is used to determine that a fault exists in the vehicle when the fault probability is greater than a fault probability threshold.

9. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: When the computer-executable instructions stored in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is capable of performing the method as claimed in any one of claims 1 to 7.

11. A vehicle, characterized in that: Comprising the electronic device as claimed in claim 9.