Diagnostic method, device, equipment and storage medium for electric power steering system

By establishing a communication relationship in the electric power steering system, obtaining component data in real time and using the bonding graph model and spatio-temporal graph convolutional neural network for diagnosis, the problem of being unable to accurately locate faulty components in the existing technology is solved, and faults are improved. Identification and system reliability.

CN117909903BActive Publication Date: 2024-10-01SHENZHEN SILICON MOUNTAIN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410113691.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-26
Publication Date
2024-10-01
Estimated Expiration
2044-01-26

AI Technical Summary

Technical Problem

Existing electric power steering system diagnosis methods cannot accurately locate the specific components of the fault, especially the diagnosis of hidden faults is limited.

Method used

By controlling the communication relationship between the diagnostic program and the electric power steering system, the data of each component is obtained in real time, and abnormal diagnosis is performed based on the bonding graph model and the spatio-temporal graph convolutional neural network, and the abnormal labels of the components are identified and classified to determine Faulty components.

Benefits of technology

It achieves rapid and accurate identification and location of component faults, improving system reliability and diagnostic accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117909903B_ABST
    Figure CN117909903B_ABST
Patent Text Reader

Abstract

The present invention provides a diagnostic method, device, equipment and storage medium for an electric power steering system, the method comprising: controlling a diagnostic program to communicate with the electric power steering system; obtaining real-time component data of each component in the electric power steering system based on the communication relationship; controlling the diagnostic program to generate a bond graph model based on the real-time component data and a preset bond graph model between each component; inputting the bond graph model into a preset spatiotemporal graph convolutional neural network, performing abnormality diagnosis based on the bond graph model through the spatiotemporal graph convolutional neural network, and obtaining abnormal labels corresponding to each component in the electric power steering system; and performing abnormality classification to obtain a diagnostic result. The method acquires the data of each component in the electric power steering system in real time by establishing a communication relationship, performs abnormality diagnosis based on the bond graph model and the spatiotemporal graph convolutional neural network, quickly and accurately identifies and locates component failures, and improves the reliability of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automobile diagnosis, and in particular to a diagnosis method, device, equipment and storage medium for an electric power steering system. Background Art

[0002] At present, electric power steering systems are widely used in the automotive industry. With the rise of electric vehicles and consumers' increasing requirements for safety performance, electric power steering systems are widely adopted as an advanced technology. It provides drivers with a lighter and more precise way of control through the cooperation of motors and sensors. The diagnostic method for electric power steering systems has become one of the key technologies. During the diagnosis process, by monitoring and analyzing the various key parameters of the electric power steering system, it is possible to detect and determine in real time whether the system is abnormal. When a system fails, the diagnostic method can quickly locate the problem and provide a corresponding repair plan. Existing diagnostic methods often use fault code diagnosis, which is a common diagnostic method that determines whether the system is faulty by reading the fault code information in the system. However, relying solely on fault code information often cannot accurately locate the specific components of the fault, and the diagnostic effect of hidden faults is limited. Summary of the invention

[0003] The main purpose of the present invention is to solve the technical problem that the existing diagnostic method of the electric power steering system cannot accurately locate the specific components of the fault.

[0004] A first aspect of the present invention provides a method for diagnosing an electric power steering system, the method comprising:

[0005] Controlling a preset diagnostic program to send a handshake request to the electric power steering system via a CAN bus, so as to establish a communication relationship between the diagnostic program and the electric power steering system;

[0006] Based on the communication relationship, the electric power steering system is controlled to send real-time component data of each component in the electric power steering system to the diagnostic program in real time;

[0007] Controlling the diagnostic program to generate a bonding graph model according to the real-time component data and the preset bonding graph model between the components;

[0008] Inputting the bond graph model into a preset spatiotemporal graph convolutional neural network, performing abnormality diagnosis according to the bond graph model through the spatiotemporal graph convolutional neural network, and obtaining abnormal labels corresponding to various components in the electric power steering system, wherein the abnormal labels include abnormal components and non-abnormal components;

[0009] Identify components in the electric power steering system with abnormal labels as abnormal components as target components;

[0010] Anomalies are classified according to the real-time component data of the target component to obtain corresponding anomaly categories, and the anomaly categories of the target component are used as diagnosis results.

[0011] Optionally, in a first implementation of the first aspect of the present invention, the controlling preset diagnostic program sends a handshake request to the electric power steering system via a CAN bus, and establishing a communication relationship between the diagnostic program and the electric power steering system includes:

[0012] Controlling a preset diagnostic program to send a handshake request to the electric power steering system through a CAN bus, wherein the handshake request includes first identity information of the diagnostic program;

[0013] When the electric power steering system receives the handshake request, controlling the electric power steering system to generate a reply message according to a preset communication protocol, wherein the reply message includes the first identity information and the second identity information of the electric power steering system;

[0014] When the diagnostic program receives the reply message, a communication relationship between the diagnostic program and the electric power steering system is established.

[0015] Optionally, in a second implementation of the first aspect of the present invention, controlling the electric power steering system to send real-time component data of each component in the electric power steering system to the diagnostic program in real time based on the communication relationship comprises:

[0016] Controlling the electric power steering system to obtain real-time component data of each component in real time, and converting the real-time component data into multi-frame data information based on the communication relationship;

[0017] When the current frame data information in the multiple frames of data information is sent, determining whether the CAN bus is idle;

[0018] If idle, sending the current frame data information to the diagnostic program via the CAN bus;

[0019] If it is not idle, the electric power steering system is controlled to perform normal steering work until the CAN bus is idle, the current frame data information is sent to the diagnostic program through the CAN bus, and the process returns to the step of determining whether the CAN bus is idle when the current frame data information in the multiple frames of data information is sent, until all the multiple frames of data information are sent to the diagnostic program;

[0020] The diagnostic program is controlled to convert the multiple frames of data information into real-time component data based on the communication relationship.

[0021] Optionally, in a third implementation manner of the first aspect of the present invention, before controlling the diagnostic program to generate a bonding graph model according to the real-time component data and the preset bonding graph model between the components, the method further includes:

[0022] Dividing the electric power steering system into multiple subsystems, and determining components corresponding to each subsystem;

[0023] Determine the physical power flow relationship between the components in each subsystem, and generate a corresponding sub-bond graph according to the physical power flow relationship;

[0024] The sub-bond graphs corresponding to the subsystems are coupled to obtain a bond graph model between the components.

[0025] Optionally, in a fourth implementation of the first aspect of the present invention, the inputting the bond graph model into a preset spatiotemporal graph convolutional neural network, performing abnormality diagnosis according to the bond graph model by the spatiotemporal graph convolutional neural network, and obtaining abnormal labels corresponding to each component in the electric power steering system includes:

[0026] Preprocessing the bond graph model, and calculating the adjacency matrix corresponding to each component according to the preprocessed bond graph model;

[0027] Inputting the bond graph model into a preset spatiotemporal graph convolutional neural network, wherein the spatiotemporal graph convolutional neural network includes a feature extraction part and an abnormality diagnosis part;

[0028] The feature extraction part extracts the adjacency matrix corresponding to each component to perform spatial feature extraction to obtain spatial feature information, and performs feature extraction on the real-time component data corresponding to each component to obtain multiple data feature information;

[0029] Input the spatial feature information into the gated recurrent unit of the abnormal diagnosis part to obtain an output result, and calculate the attention weight vectors corresponding to the multiple data feature information through a preset attention mechanism;

[0030] A plurality of data feature information and the output result are weightedly fused according to the attention weight vector to obtain a fused feature vector, and the fused feature vector is input into a classification layer to obtain abnormal labels corresponding to each component in the electric power steering system.

[0031] Optionally, in a fifth implementation of the first aspect of the present invention, the weighted fusion of the multiple data feature information and the output result is performed according to the attention weight vector to obtain a fused feature vector, and the fused feature vector is input into the classification layer to obtain the abnormal labels corresponding to each component in the electric power steering system, including:

[0032] Mapping the fused feature vector linearly to a high-dimensional feature space through the classification layer to obtain a linear transformation result;

[0033] Performing a nonlinear transformation on the linear transformation result through a preset activation function to obtain a nonlinear transformation result;

[0034] The probability of each component corresponding to each abnormal label is calculated according to the nonlinear transformation result through the fully connected layer in the classification layer, and the abnormal label with the highest probability is used as the abnormal label of the corresponding component.

[0035] Optionally, in a sixth implementation of the first aspect of the present invention, the abnormality categories include trigger components and faulty components;

[0036] The performing abnormal classification according to the real-time component data of the target component to obtain a corresponding abnormal category, and using the abnormal category of the target component as a diagnosis result includes:

[0037] Determine the actual distance between components according to the component positions in the real-time component data;

[0038] Determine the adjacent components corresponding to the target component according to the actual distance, and divide the real-time component data of each target component and the corresponding adjacent components into time windows to obtain multiple time series data;

[0039] Calculating the data correlation between the time series data of the target component and the time series data of the corresponding adjacent components according to a preset correlation algorithm;

[0040] Extracting data correlation features from the data correlation to obtain correlation features, and determining whether there is a correlation relationship between the target components according to the correlation features;

[0041] The target components with the correlation are identified as trigger components, and the target components without the correlation are identified as faulty components, and the abnormality categories of the target components are used as the diagnosis results.

[0042] A second aspect of the present invention provides a diagnostic device for an electric power steering system, the diagnostic device for an electric power steering system comprising:

[0043] A communication establishing module, used for controlling a preset diagnostic program to send a handshake request to the electric power steering system via a CAN bus, so as to establish a communication relationship between the diagnostic program and the electric power steering system;

[0044] A communication interaction module, used for controlling the electric power steering system to send real-time component data of each component in the electric power steering system to the diagnostic program in real time based on the communication relationship;

[0045] A bonding graph generation module, used for controlling the diagnostic program to generate a bonding graph model according to the real-time component data and the preset bonding graph model between the components;

[0046] an abnormality diagnosis module, used for inputting the bond graph model into a preset spatiotemporal graph convolutional neural network, performing abnormality diagnosis according to the bond graph model through the spatiotemporal graph convolutional neural network, and obtaining abnormal labels corresponding to various components in the electric power steering system, wherein the abnormal labels include abnormal components and non-abnormal components;

[0047] An identification module, used for identifying components in the electric power steering system with abnormal labels as abnormal components as target components;

[0048] The classification module is used to perform abnormal classification according to the real-time component data of the target component, obtain the corresponding abnormal category, and use the abnormal category of the target component as the diagnosis result.

[0049] A third aspect of the present invention provides a diagnostic device for an electric power steering system, comprising: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected via lines; the at least one processor calls the instructions in the memory so that the diagnostic device of the electric power steering system executes the steps of the above-mentioned diagnostic method for the electric power steering system.

[0050] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the steps of the above-mentioned diagnostic method for an electric power steering system.

[0051] The above-mentioned diagnostic method, device, equipment and storage medium of the electric power steering system control the communication relationship between the diagnostic program and the electric power steering system; obtain the real-time component data of each component in the electric power steering system based on the communication relationship; control the diagnostic program to generate a bond graph model according to the real-time component data and the preset bond graph model between each component; input the bond graph model into the preset spatiotemporal graph convolutional neural network, perform abnormal diagnosis according to the bond graph model through the spatiotemporal graph convolutional neural network, and obtain the abnormal labels corresponding to each component in the electric power steering system; and perform abnormal classification to obtain the diagnostic result. This method obtains the data of each component in the electric power steering system in real time by establishing a communication relationship, and performs abnormal diagnosis based on the bond graph model and the spatiotemporal graph convolutional neural network, which can quickly and accurately identify and locate component failures and improve the reliability of the system.

[0052] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0053] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 A schematic diagram of an embodiment of a diagnostic method for an electric power steering system in an embodiment of the present invention;

[0055] Figure 2 A schematic diagram of an embodiment of a diagnostic device for an electric power steering system according to an embodiment of the present invention;

[0056] Figure 3 Schematic diagram of an embodiment of a diagnostic device for an electric power steering system in an embodiment of the present invention. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0058] The terms "including" and "having" and any variations thereof mentioned in the embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0059] To facilitate understanding of this embodiment, a diagnostic method for an electric power steering system disclosed in an embodiment of the present invention is first described in detail. Figure 1 As shown, the method for diagnosing the electric power steering system comprises the following steps:

[0060] 101. Control the preset diagnostic program to send a handshake request to the electric power steering system through the CAN bus to establish a communication relationship between the diagnostic program and the electric power steering system;

[0061] In one embodiment of the invention, the preset diagnostic program is controlled to send a handshake request to the electric power steering system through the CAN bus, and establishing a communication relationship between the diagnostic program and the electric power steering system includes: controlling the preset diagnostic program to send a handshake request to the electric power steering system through the CAN bus, wherein the handshake request includes the first identity information of the diagnostic program; when the electric power steering system receives the handshake request, controlling the electric power steering system to generate a reply message according to a preset communication protocol, wherein the reply message includes the first identity information and the second identity information of the electric power steering system; when the diagnostic program receives the reply message, establishing a communication relationship between the diagnostic program and the electric power steering system.

[0062] Specifically, when the diagnostic program and the electric resistance steering system are connected through the CAN bus, the two parties have not communicated and have not yet recognized each other's identities. The diagnostic program will first send a message to the CAN bus, which contains its own identity information. After receiving the message, the electric resistance steering system on the bus knows that the diagnostic program is requesting communication, so the program will reply according to the internal communication protocol. The reply contains its own identity information and the identity information of the receiver (diagnostic program) (because there may be more than just these two devices on the bus, there may be other devices, and the identity information of the receiver in the message can prevent other unrelated devices from receiving the information on the bus). After receiving the reply, the diagnostic program knows which ECU is communicating with itself now. So the two parties completed the identity recognition in order to carry out subsequent data exchange. Since the data sent by both parties contains their own identity information and the identity information of the receiving target, the two parties have established a one-to-one communication without affecting other devices on the bus.

[0063] Specifically, there are multiple different ECUs on the vehicle for communication. For example, the VCU (Vehicle Control Unit) and the diagnostic program are connected to the electric resistance steering system at the same time. To communicate with the electric resistance steering system, the electric resistance steering system must be able to communicate with them at the same time, and the data sent by the electric resistance steering system to them and the data they request from the electric resistance steering system are also different, that is, the electric resistance steering system needs to communicate with them independently instead of sending the same information to them at the same time. Therefore, the diagnostic program and VCU send their respective identity information to the electric resistance steering system. At this time, the electric resistance steering system establishes a one-to-one communication between the electric resistance steering system and the one-to-one communication between the electric resistance steering system and the VCU. These two parts are independent of each other and send the data they need to request. Of course, the program of a single-core chip cannot perform two tasks at the same time, so there is a sequence, and it will be sent according to its own priority, and in this cycle, it is actually staggered. Generally speaking, the real-time performance is guaranteed without affecting the efficiency of the program.

[0064] 102. Control the electric power steering system to send real-time component data of each component in the electric power steering system to the diagnostic program in real time based on the communication relationship;

[0065] In one embodiment of the invention, the step of controlling the electric power steering system to send the real-time component data of each component in the electric power steering system to the diagnostic program in real time based on the communication relationship includes: controlling the electric power steering system to obtain the real-time component data of each component in real time, and converting the real-time component data into multiple frames of data information based on the communication relationship; judging whether the CAN bus is idle when the current frame data information in the multiple frames of data information is sent; if it is idle, sending the current frame data information to the diagnostic program through the CAN bus; if it is not idle, controlling the electric power steering system to perform normal steering work until the CAN bus is idle, sending the current frame data information to the diagnostic program through the CAN bus, and returning to the step of judging whether the CAN bus is idle when the current frame data information in the multiple frames of data information is sent, until all the multiple frames of data information are sent to the diagnostic program; controlling the diagnostic program to convert the multiple frames of data information into real-time component data based on the communication relationship.

[0066] Specifically, the PC diagnostic program will display and update certain data in real time, such as three-phase voltage, current, motor speed, temperature, etc. These data are stored in EPS. EPS continuously sends information to PC devices through the CAN bus to achieve the purpose of real-time data update. Because the data that can be sent in one frame of CAN is limited, in most cases, one frame cannot complete the transmission of the required data, so multiple frames are required. When multiple frames are sent, the program will detect whether the previous frame of information on the bus has been sent before each frame is sent. The next frame of information will be sent only when the bus is idle. If the program is in a state of waiting to send a message at this time, it will cause the program to be blocked when the bus is idle before sending the next frame and running subsequent programs. During the program blockage, other programs cannot be run, and other data cannot be processed or responded to. EPS is the power steering system on the car. The consequences of not being able to respond to data in time are very serious, and the efficiency of the program will become particularly poor, so this kind of program blockage must never happen. Therefore, after the program sends the previous frame of information, it will not block the bus, but detect whether the bus is idle. If it detects that the bus is idle, it will send the next frame. If it detects that the bus is busy, it will skip sending and process and respond to other data. When the program runs to the sending point in the next cycle, it will detect the bus status. If it is idle, it will send it. If it is still busy, it will skip it again. This is repeated. In this way, the program will not cause blockage, and can process and respond to data from other modules in a timely manner, and can also ensure that the information of the CAN bus that needs to be sent continuously in real time is sent completely.

[0067] It should be noted that after the PC diagnostic program successfully communicates with the EPS, it can send commands to the EPS to control the start and stop of the steering motor, change the speed, and other operations, debug the program, and diagnose the problem. However, if the communication is accidentally disconnected when the EPS is working, the PC diagnostic program cannot send the command to enable the work to the EPS, and the steering motor will continue to work, which is a potential risk. At the same time, because the EPS continues to send data information to the PC diagnostic program to achieve the purpose of real-time monitoring of data. If the PC device is suddenly disconnected and does not send a command to the EPS to stop sending data, the EPS will continue to send data to the bus, which is undoubtedly a waste of resources. Therefore, after the PC diagnostic program successfully communicates with the EPS, the PC diagnostic program will periodically send a "heartbeat packet" to the EPS, and the EPS will reply after receiving it, thereby confirming that both parties are still online. If the EPS does not receive a "heartbeat packet" for a period of time after connecting to the PC diagnostic program, it means that the communication is disconnected, and the EPS program will automatically stop the steering motor and interrupt the continuous sending of real-time data.

[0068] 103. The control diagnosis program generates a bonding graph model according to the real-time component data and the preset bonding graph model between the components;

[0069] In one embodiment of the invention, before generating a bonding graph model based on the real-time component data and the preset bonding graph model between the components, the control of the diagnostic program also includes: dividing the electric power steering system into multiple subsystems, and determining the components corresponding to each subsystem; determining the physical power flow relationship between the components in each subsystem, and generating a corresponding sub-bonding graph based on the physical power flow relationship; coupling the sub-bonding graphs corresponding to each subsystem to obtain a bonding graph model between the components.

[0070] Specifically, the EPS system behavior model is divided into the motor and driver subsystem, the deceleration mechanism subsystem, the steering wheel and steering shaft subsystem, the torque sensor subsystem, the gear rack and road input subsystem and the power-assistance characteristic subsystem. Then, according to the structural characteristics of the system, the subsystems are coupled to form a complete EPS system bond graph model. For the selected subsystem, it is necessary to clarify the various physical quantities involved in the system and the power flow relationship between them. Physical quantities can be power, current, voltage, force, speed, etc., and power represents the conversion and flow of energy. For each bond, it is necessary to determine the flow variables and potential variables on it. The flow variable represents the power flowing through the bond, such as current, liquid flow, etc.; while the potential variable represents the potential energy existing on the bond, such as voltage, displacement, etc. Based on the above determined information, the bond graph can be drawn. The bond graph graphically represents the connection relationship and energy flow path of the physical system. Appropriate symbols and marks can be used to represent different types of bonds, ports, flow variables and potential variables. Finally, the symbols or marks of components can be introduced on the basis of the bond graph to further describe the specific components and components in the system in detail. In this way, the bond graph can be combined with components to more comprehensively describe the structure and function of the system. The motor and driver subsystems, steering wheel and steering shaft, rack and pinion mechanism and sensor subsystem are coupled, and each bond is numbered and then assigned according to the causal relationship of the bond graph to obtain a bond graph model of the electric power steering system with causal relationship.

[0071] 104. Input the bond graph model into a preset spatiotemporal graph convolutional neural network, perform abnormality diagnosis according to the bond graph model through the spatiotemporal graph convolutional neural network, and obtain abnormal labels corresponding to various components in the electric power steering system, wherein the abnormal labels include abnormal components and non-abnormal components;

[0072] In one embodiment of the invention, the step of inputting the bond graph model into a preset spatiotemporal graph convolutional neural network, performing abnormal diagnosis according to the bond graph model through the spatiotemporal graph convolutional neural network, and obtaining abnormal labels corresponding to each component in the electric power steering system includes: preprocessing the bond graph model, and calculating the adjacency matrix corresponding to each component according to the preprocessed bond graph model; inputting the bond graph model into a preset spatiotemporal graph convolutional neural network, wherein the spatiotemporal graph convolutional neural network includes a feature extraction part and an abnormal diagnosis part; extracting the adjacency matrix corresponding to each component through the feature extraction part to perform spatial feature extraction to obtain spatial feature information, and performing feature extraction on the real-time component data corresponding to each component to obtain multiple data feature information; inputting the spatial feature information into the gated recurrent unit of the abnormal diagnosis part to obtain an output result, and calculating the attention weight vectors corresponding to the multiple data feature information through a preset attention mechanism; weighted fusion of multiple data feature information and the output result according to the attention weight vector to obtain a fused feature vector, and inputting the fused feature vector into the classification layer to obtain abnormal labels corresponding to each component in the electric power steering system.

[0073] Specifically, in order to reasonably represent the spatial relationship between various components, various components in the electric power steering system are used as components in the bond graph model, and an adjacency matrix is ​​generated according to the bond graph. In the adjacency matrix, corresponding values ​​are set according to whether there is an adjacency relationship between the components. For example, if two components are adjacent, the corresponding adjacency matrix element is set to 1, otherwise it is 0, and the first adjacency matrix is ​​obtained. In addition, when generating the first adjacency matrix, the power flow relationship between the two components can also be considered. For example, if two adjacent components have a power flow relationship called component spacing, the larger the component spacing between the two components, the smaller the degree of mutual influence; vice versa, so that a graph adjacency matrix integrating the power flow relationship can be generated, that is, the second adjacency matrix. The generation process of this new adjacency matrix is ​​as follows:

[0074]

[0075] Among them, i represents the spatial dimension, j represents the time dimension, is the adjustment coefficient, which defines the weight ratio of the adjacent components relative to the self components; Indicates the distance between components; Represents the maximum value of the inverse of the distance among all components connected to the component, and normalizes it by dividing it. Set the main diagonal of the adjacency matrix to 1 to ensure that the self-component has the largest weight, and obtain the updated adjacency matrix; and according to the number of adjacent components of each component. It should be noted that in the multi-scale spatiotemporal graph convolutional network, there may be graphs of multiple scales, so it is necessary to construct corresponding multiple adjacency matrices to represent bond graph models of different scales. These adjacency matrices can be used as one of the inputs of the graph convolutional network to transmit the connection information and topological structure between components, so as to perform effective feature extraction and spatiotemporal information fusion.

[0076] Specifically, the preprocessing process includes data outlier processing, data dimension conversion, matrix generation, sequence transformation and other processing processes to convert it into the data format required by the network model. In the spatial feature extraction process, in the deep network model, the adjacency matrix is ​​combined with the deep neural network. For each hidden layer, the adjacency matrix is ​​combined with the matrix multiplication, and the weight matrix is ​​combined to perform a linear transformation of the weight multiplication. The nonlinear change is performed through the activation function to obtain the input of the next hidden layer.

[0077] Specifically, the abnormal diagnosis part is designed based on GRU. Its input includes the current input and the hidden state passed down from the previous node, including the relevant information of the previous node. GRU will get the output of the current hidden node and the hidden state passed to the next node. GRU contains two important gating mechanisms: reset gate and update gate. The two gate states are obtained through the last transmitted state and the input of the current node. Through the spatial graph convolution part of the previous layer, the model can obtain the spatial feature information in the road network. The spatial feature information and the output of the previous hidden layer are used as the input of the time series prediction part.

[0078] Specifically, in this embodiment, the attention fusion model is mainly used, which uses the attention mechanism to weightedly fuse different types of features. Among them, for real-time component data, the real-time component data can be used as the neurons of the input layer, and feature extraction and conversion are performed through some fully connected layers to obtain a numerical feature vector with a dimension of d. The self-attention mechanism can be used to calculate the importance weight of each feature, and then the different numerical feature vectors are weightedly fused according to the attention weight to obtain the final fused feature vector, and finally the fused feature vector is input into the fully connected layer for classification prediction. This layer can include multiple fully connected layers, activation functions, and loss functions for model training and optimization.

[0079] Furthermore, the weighted fusion of multiple data feature information and the output result is performed according to the attention weight vector to obtain a fused feature vector, and the fused feature vector is input into the classification layer to obtain abnormal labels corresponding to each component in the electric power steering system, including: linearly transforming the fused feature vector to a high-dimensional feature space through the classification layer to obtain a linear transformation result; performing a nonlinear transformation on the linear transformation result through a preset activation function to obtain a nonlinear transformation result; calculating the probability of each component corresponding to each abnormal label according to the nonlinear transformation result through the fully connected layer in the classification layer, and taking the abnormal label with the highest probability as the abnormal label of the corresponding component.

[0080] Specifically, the obtained fused feature vector is used as the input of the fully connected layer, and the fused feature vector is mapped to a higher-dimensional feature space through a linear transformation. This linear transformation is usually a fully connected layer, which contains multiple neurons (nodes), each of which is connected to each element of the fused feature vector. The result of the linear transformation is transformed nonlinearly, and nonlinear relationships are introduced to increase the expressive power of the model. Common activation functions include ReLU, sigmoid, tanh, etc. The choice of activation function depends on the specific task and model design. Depending on the task, the design of the output layer will also vary. For example, for a binary classification task, a neuron can be used and a sigmoid activation function can be applied to output a probability value between 0 and 1. The final classification prediction can be made based on a predefined threshold or by selecting the classification result with the highest probability.

[0081] 105. Identify components in the electric power steering system that have abnormal labels as abnormal components as target components;

[0082] In one embodiment of the invention, in an electric power steering system, if there are components marked as abnormal, the target components need to identify these components as target components. This process involves detecting and analyzing the components in the system to determine which components are abnormal, and marking and identifying them. Once an abnormal component is found, the target component marks it as a target component for further analysis and processing. This can be achieved by attaching a label to the component or recording the abnormal information. At the same time, the target component can also extract the relevant parameters and features of the abnormal component for subsequent fault diagnosis and repair work.

[0083] 106. Perform abnormality classification according to the real-time component data of the target component to obtain a corresponding abnormality category, and use the abnormality category of the target component as a diagnosis result.

[0084] In one embodiment of the present invention, the abnormality category includes trigger components and faulty components; the abnormality classification based on the real-time component data of the target component to obtain the corresponding abnormality category, and taking the abnormality category of the target component as the diagnosis result includes: determining the actual distance between each component based on the component position in the real-time component data; determining the neighboring components corresponding to the target component based on the actual distance, and dividing the real-time component data of each target component and the corresponding neighboring component into time windows to obtain multiple time series data; calculating the data correlation between the time series data of the target component and the time series data of the corresponding neighboring component according to a preset correlation algorithm; extracting data correlation features from the data correlation to obtain correlation features, and determining whether there is a correlation between each of the target components based on the correlation features; identifying the target component with a correlation as a trigger component, and identifying the target component with no correlation as a faulty component, and taking the abnormality category of the target component as the diagnosis result.

[0085] Specifically, since the components in the electric resistance steering system are densely deployed on the electric resistance steering system, there is spatial correlation between the components, that is, the observation values ​​of adjacent components have a high correlation. Spatial correlation can be used to collaboratively perceive event information and determine the type of target components. In terms of event monitoring, the occurrence area of ​​the event can be verified by analyzing the observation values ​​of adjacent components; in terms of equipment status judgment, spatial correlation can be used to identify the type of target components. Target components with high spatial correlation belong to event components, while target components that do not have spatial correlation with adjacent components belong to faulty components.

[0086] Specifically, the components can be arranged in space and their physical distances can be recorded. Then, the components closest to the target components are found and their respective observed time series data are obtained. In order to calculate the mutual correlation coefficient between components, a mutual correlation operation method based on a sliding time window can be used. First, a suitable time window size is selected, such as 10 seconds or 1 minute, as the length of the sliding window. Then, the time window is slid to each time point in turn to obtain the observed data in the corresponding time window. For the observed time series data of two components, the mutual correlation coefficient between them can be calculated using a mutual correlation function. The mutual correlation coefficient can reflect the degree of correlation between the two time series data, and the value is between -1 and 1. The correlation characteristics are mainly the peak and valley values ​​of the degree of correlation between the two time series data in different time windows. The correlation characteristics can be input into the fuzzy logic system structure. By introducing the fuzzy logic method, a spatial correlation index is defined to describe the spatial correlation of components, and the strength of the spatial correlation of components is represented by the size of the index. Finally, the fuzzy logic system structure based on spatiotemporal correlation is used to analyze the spatial correlation characteristics of components, and the spatial phase index of each abnormal component is calculated to evaluate the spatiotemporal correlation level of the components, thereby identifying the source of the abnormal components.

[0087] In this embodiment, the communication relationship between the control diagnostic program and the electric power steering system is established; based on the communication relationship, the real-time component data of each component in the electric power steering system is obtained; the control diagnostic program generates a bond graph model according to the real-time component data and the preset bond graph model between each component; the bond graph model is input into the preset spatiotemporal graph convolutional neural network, and the spatiotemporal graph convolutional neural network is used to perform abnormal diagnosis according to the bond graph model to obtain the abnormal labels corresponding to each component in the electric power steering system; and abnormal classification is performed to obtain the diagnosis result. This method establishes a communication relationship, obtains the data of each component in the electric power steering system in real time, and performs abnormal diagnosis based on the bond graph model and the spatiotemporal graph convolutional neural network, which can quickly and accurately identify and locate component failures and improve the reliability of the system.

[0088] The above describes the diagnostic method of the electric power steering system in the embodiment of the present invention. The following describes the diagnostic device of the electric power steering system in the embodiment of the present invention. Figure 2 , an embodiment of the diagnostic device of the electric power steering system in the embodiment of the present invention comprises:

[0089] A communication establishing module 201, used to control a preset diagnostic program to send a handshake request to the electric power steering system via a CAN bus, so as to establish a communication relationship between the diagnostic program and the electric power steering system;

[0090] A communication interaction module 202, configured to control the electric power steering system to send real-time component data of each component in the electric power steering system to the diagnostic program in real time based on the communication relationship;

[0091] A bonding graph generation module 203, used to control the diagnostic program to generate a bonding graph model according to the real-time component data and the preset bonding graph model between the components;

[0092] The abnormality diagnosis module 204 is used to input the bond graph model into a preset spatiotemporal graph convolutional neural network, perform abnormality diagnosis according to the bond graph model through the spatiotemporal graph convolutional neural network, and obtain abnormal labels corresponding to various components in the electric power steering system, wherein the abnormal labels include abnormal components and non-abnormal components;

[0093] An identification module 205 is used to identify components with abnormal labels as abnormal components in the electric power steering system as target components;

[0094] The classification module 206 is used to perform abnormality classification according to the real-time component data of the target component, obtain a corresponding abnormality category, and use the abnormality category of the target component as a diagnosis result.

[0095] In an embodiment of the present invention, the diagnostic device of the electric power steering system runs the above-mentioned diagnostic method of the electric power steering system, and the diagnostic device of the electric power steering system obtains the real-time component data of each component in the electric power steering system based on the communication relationship through the control diagnostic program; the control diagnostic program generates a bond graph model according to the real-time component data and the preset bond graph model between each component; the bond graph model is input into the preset spatiotemporal graph convolutional neural network, and the spatiotemporal graph convolutional neural network is used to perform abnormal diagnosis according to the bond graph model to obtain the abnormal labels corresponding to each component in the electric power steering system; and the abnormal classification is performed to obtain the diagnostic result. This method obtains the data of each component in the electric power steering system in real time by establishing a communication relationship, and performs abnormal diagnosis based on the bond graph model and the spatiotemporal graph convolutional neural network, which can quickly and accurately identify and locate component failures and improve the reliability of the system.

[0096] above Figure 2 The diagnostic device of the electric power steering system in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The diagnostic device of the electric power steering system in the embodiment of the present invention is described in detail from the perspective of hardware processing.

[0097] Figure 33 is a schematic diagram of the structure of a diagnostic device for an electric power steering system provided by an embodiment of the present invention. The diagnostic device 300 for the electric power steering system may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 310 (for example, one or more processors) and a memory 320, and one or more storage media 330 (for example, one or more mass storage devices) storing application programs 333 or data 332. Among them, the memory 320 and the storage medium 330 may be temporary storage or permanent storage. The program stored in the storage medium 330 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the diagnostic device 300 for the electric power steering system. Furthermore, the processor 310 may be configured to communicate with the storage medium 330, and execute a series of instruction operations in the storage medium 330 on the diagnostic device 300 for the electric power steering system to implement the steps of the diagnostic method for the electric power steering system.

[0098] The diagnostic device 300 of the electric power steering system may further include one or more power supplies 340, one or more wired or wireless network interfaces 350, one or more input and output interfaces 360, and / or one or more operating systems 331, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 3 The illustrated structure of the diagnostic device for the electric power steering system does not constitute a limitation on the diagnostic device for the electric power steering system provided by the present invention, and may include more or fewer components than illustrated, or a combination of certain components, or a different arrangement of components.

[0099] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the diagnostic method for the electric power steering system.

[0100] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device, or unit can refer to the corresponding process in the aforementioned method embodiment and will not be repeated here.

[0101] 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 computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0102] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A diagnostic method for an electric power steering system, It is characterized in that The diagnostic method of the electric power steering system comprises: Controlling a preset diagnostic program to send a handshake request to the electric power steering system via a CAN bus, so as to establish a communication relationship between the diagnostic program and the electric power steering system; Based on the communication relationship, the electric power steering system is controlled to send real-time component data of each component in the electric power steering system to the diagnostic program in real time; Controlling the diagnostic program to generate a bonding graph model according to the real-time component data and the preset bonding graph model between the components; Inputting the bond graph model into a preset space-time graph convolutional neural network, performing abnormality diagnosis according to the bond graph model through the space-time graph convolutional neural network, and obtaining abnormal labels corresponding to each component in the electric power steering system, wherein the abnormal labels include abnormal components and non-abnormal components; inputting the bond graph model into a preset space-time graph convolutional neural network, performing abnormality diagnosis according to the bond graph model through the space-time graph convolutional neural network, and obtaining abnormal labels corresponding to each component in the electric power steering system includes: preprocessing the bond graph model, and calculating the adjacency matrix corresponding to each component according to the preprocessed bond graph model; inputting the bond graph model into a preset space-time graph convolutional neural network, wherein The spatiotemporal graph convolutional neural network includes a feature extraction part and an abnormality diagnosis part; the feature extraction part extracts the adjacency matrix corresponding to each component to perform spatial feature extraction to obtain spatial feature information, and performs feature extraction on the real-time component data corresponding to each component to obtain multiple data feature information; the spatial feature information is input into the gated recurrent unit of the abnormality diagnosis part to obtain an output result, and the attention weight vector corresponding to the multiple data feature information is calculated through a preset attention mechanism; the multiple data feature information and the output result are weightedly fused according to the attention weight vector to obtain a fused feature vector, and the fused feature vector is input into the classification layer to obtain the abnormal labels corresponding to each component in the electric power steering system; Identify components in the electric power steering system with abnormal labels as abnormal components as target components; According to the real-time component data of the target component, abnormal classification is performed to obtain a corresponding abnormal category, and the abnormal category of the target component is used as a diagnosis result; the abnormal category includes a trigger component and a faulty component; the abnormal classification is performed according to the real-time component data of the target component to obtain a corresponding abnormal category, and the abnormal category of the target component is used as a diagnosis result, including: determining the actual distance between each component according to the component position in the real-time component data; determining the neighboring components corresponding to the target component according to the actual distance, and dividing the real-time component data of each target component and the corresponding neighboring component into time windows to obtain a plurality of time series data; according to a preset correlation algorithm, calculating the data correlation between the time series data of the target component and the time series data of the corresponding neighboring component; extracting data correlation features from the data correlation to obtain correlation features, and determining whether there is a correlation between each of the target components according to the correlation features; identifying the target component with a correlation as a trigger component, and identifying the target component without a correlation as a faulty component, and using the abnormal category of the target component as a diagnosis result.

2. The diagnostic method of the electric power steering system according to claim 1, It is characterized in that The control preset diagnostic program sends a handshake request to the electric power steering system through the CAN bus, and the establishment of a communication relationship between the diagnostic program and the electric power steering system includes: Controlling a preset diagnostic program to send a handshake request to the electric power steering system through a CAN bus, wherein the handshake request includes first identity information of the diagnostic program; When the electric power steering system receives the handshake request, controlling the electric power steering system to generate a reply message according to a preset communication protocol, wherein the reply message includes the first identity information and the second identity information of the electric power steering system; When the diagnostic program receives the reply message, a communication relationship between the diagnostic program and the electric power steering system is established.

3. The diagnostic method of the electric power steering system according to claim 1, It is characterized in that The controlling the electric power steering system to send the real-time component data of each component in the electric power steering system to the diagnostic program in real time based on the communication relationship comprises: Controlling the electric power steering system to obtain real-time component data of each component in real time, and converting the real-time component data into multi-frame data information based on the communication relationship; When the current frame data information in the multiple frames of data information is sent, determining whether the CAN bus is idle; If idle, sending the current frame data information to the diagnostic program via the CAN bus; If it is not idle, the electric power steering system is controlled to perform normal steering work until the CAN bus is idle, the current frame data information is sent to the diagnostic program through the CAN bus, and the process returns to the step of determining whether the CAN bus is idle when the current frame data information in the multiple frames of data information is sent, until all the multiple frames of data information are sent to the diagnostic program; The diagnostic program is controlled to convert the multiple frames of data information into real-time component data based on the communication relationship.

4. The diagnostic method of the electric power steering system according to claim 1, It is characterized in that Before the controlling the diagnostic program to generate a bonding graph model according to the real-time component data and the preset bonding graph model between the components, the method further includes: Dividing the electric power steering system into multiple subsystems, and determining components corresponding to each subsystem; Determine the physical power flow relationship between the components in each subsystem, and generate a corresponding sub-bond graph according to the physical power flow relationship; The sub-bond graphs corresponding to the subsystems are coupled to obtain a bond graph model between the components.

5. The diagnostic method of the electric power steering system according to claim 1, It is characterized in that The weighted fusion of the plurality of data feature information and the output result according to the attention weight vector to obtain a fused feature vector, and the fused feature vector is input into the classification layer to obtain the abnormal labels corresponding to the components in the electric power steering system, including: Mapping the fused feature vector linearly to a high-dimensional feature space through the classification layer to obtain a linear transformation result; Performing a nonlinear transformation on the linear transformation result through a preset activation function to obtain a nonlinear transformation result; The probability of each component corresponding to each abnormal label is calculated according to the nonlinear transformation result through the fully connected layer in the classification layer, and the abnormal label with the highest probability is used as the abnormal label of the corresponding component.

6. A diagnostic device for an electric power steering system, It is characterized in that The diagnostic device of the electric power steering system comprises: A communication establishment module, used for controlling a preset diagnostic program to send a handshake request to the electric power steering system via a CAN bus, so as to establish a communication relationship between the diagnostic program and the electric power steering system; A communication interaction module, used for controlling the electric power steering system to send real-time component data of each component in the electric power steering system to the diagnostic program in real time based on the communication relationship; A bonding graph generation module, used for controlling the diagnostic program to generate a bonding graph model according to the real-time component data and the preset bonding graph model between the components; An abnormality diagnosis module is used to input the bond graph model into a preset space-time graph convolutional neural network, perform abnormality diagnosis according to the bond graph model through the space-time graph convolutional neural network, and obtain abnormal labels corresponding to each component in the electric power steering system, wherein the abnormal labels include abnormal components and non-abnormal components; the step of inputting the bond graph model into a preset space-time graph convolutional neural network, performing abnormality diagnosis according to the bond graph model through the space-time graph convolutional neural network, and obtaining abnormal labels corresponding to each component in the electric power steering system includes: preprocessing the bond graph model, and calculating the adjacency matrix corresponding to each component according to the preprocessed bond graph model; inputting the bond graph model into a preset space-time graph convolutional neural network In the embodiment, the spatiotemporal graph convolutional neural network includes a feature extraction part and an abnormality diagnosis part; the feature extraction part extracts the adjacency matrix corresponding to each component to perform spatial feature extraction to obtain spatial feature information, and performs feature extraction on the real-time component data corresponding to each component to obtain multiple data feature information; the spatial feature information is input into the gated recurrent unit of the abnormality diagnosis part to obtain an output result, and the attention weight vector corresponding to the multiple data feature information is calculated through a preset attention mechanism; the multiple data feature information and the output result are weightedly fused according to the attention weight vector to obtain a fused feature vector, and the fused feature vector is input into the classification layer to obtain the abnormal labels corresponding to each component in the electric power steering system; An identification module, used for identifying components in the electric power steering system with abnormal labels as abnormal components as target components; A classification module is used to perform abnormal classification according to the real-time component data of the target component to obtain a corresponding abnormal category, and use the abnormal category of the target component as a diagnosis result; the abnormal category includes a trigger component and a faulty component; the abnormal classification according to the real-time component data of the target component to obtain a corresponding abnormal category, and use the abnormal category of the target component as a diagnosis result includes: determining the actual distance between each component according to the component position in the real-time component data; determining the neighboring components corresponding to the target component according to the actual distance, and dividing the real-time component data of each target component and the corresponding neighboring component into time windows to obtain a plurality of time series data; calculating the data correlation between the time series data of the target component and the time series data of the corresponding neighboring component according to a preset correlation algorithm; extracting data correlation features from the data correlation to obtain correlation features, and determining whether there is a correlation between each of the target components according to the correlation features; identifying the target component with a correlation as a trigger component, and identifying the target component without a correlation as a faulty component, and using the abnormal category of the target component as a diagnosis result.

7. A diagnostic device for an electric power steering system, It is characterized in that The diagnostic device of the electric power steering system comprises: a memory and at least one processor, wherein the memory stores instructions; The at least one processor calls the instructions in the memory to enable the diagnostic device of the electric power steering system to perform the steps of the diagnostic method of the electric power steering system as described in any one of claims 1-5.

8. A computer-readable storage medium having instructions stored thereon, It is characterized in that When the instructions are executed by the processor, the steps of the diagnostic method for the electric power steering system as claimed in any one of claims 1 to 5 are implemented.