A method and system for locating a communication fault on a vehicle bus
By synchronously acquiring voltage differential signals and current signals on the vehicle bus and combining them with the topological impedance matrix for blind source separation, the problem of difficulty in separating multiple fault sources in the existing technology is solved, and the accurate location and robustness improvement of vehicle bus faults are achieved.
Patent Information
- Application Number
- CN202611629244.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-21
- Publication Date
- 2026-11-20
AI Technical Summary
Existing vehicle bus fault location technologies struggle to achieve accurate location in scenarios with multiple concurrent faults, especially in the inability to separate and independently locate multiple fault sources. This results in insufficient location accuracy and robustness, and misjudgment and repeated repairs are prone to occur under complex operating conditions.
By synchronously acquiring bus voltage differential signals and bus current signals at at least two observation points on the vehicle bus, a multi-channel observation signal set is constructed, and a high-dimensional observation trajectory tensor is generated by phase space reconstruction. A topological impedance matrix is constructed by combining the network topology of the vehicle bus and the equivalent impedance parameters of the nodes. Blind source separation is performed using a topological constraint unmixing network, and independent fault source signals and their node attribution probability distributions are output. Fault location is achieved through multi-domain feature coding.
It significantly improves the accuracy and robustness of fault location under complex vehicle operating conditions, can independently locate multiple fault sources, reduce the false judgment rate, and improve the accuracy and reliability of fault location.
Smart Images

Figure CN123145149A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle communication technology, and in particular to a method and system for locating vehicle bus communication faults. Background Technology
[0002] The vehicle bus is the communication core of the vehicle's electronic and electrical architecture, and the accurate location of its communication faults is a key support for vehicle functional safety and after-sales maintenance. Existing vehicle bus fault location technologies are mainly divided into two categories: one is the traditional engineering method based on fault codes, topology reasoning, and physical layer measurements, which relies on manual node-by-node troubleshooting; the other is the intelligent diagnostic method based on message characteristics and machine learning, which can only achieve a coarse classification of fault types.
[0003] Existing technologies generally suffer from insufficient granularity in fault location and weak root cause tracing capabilities. Most solutions can only locate faults at the bus domain or vehicle domain level, and cannot accurately locate specific ECU nodes, wiring harness branches, or connectors. Furthermore, vehicle bus faults have cascading propagation characteristics, and a single root cause fault can easily trigger secondary communication anomalies in multiple nodes. Existing methods cannot distinguish between root cause faults and secondary faults, which can easily lead to misdiagnosis and repeated repairs.
[0004] Meanwhile, existing technologies lack decoupling capabilities in scenarios with multiple concurrent faults. When multiple faults such as physical layer interference, node transceiver failure, and protocol layer scheduling anomalies occur simultaneously, the fault characteristics are coupled with each other, making it difficult for existing methods to separate and independently locate multiple fault sources. Furthermore, most solutions do not integrate fault propagation mechanisms and multi-source heterogeneous data, making it difficult to meet the requirements of complex automotive operating conditions in terms of positioning accuracy and robustness. Summary of the Invention
[0005] Based on this, the purpose of the present invention is to provide a method and system for locating faults in vehicle bus communication, so as to solve the problem that the existing technology is difficult to separate and independently locate multiple fault sources, resulting in the location accuracy and robustness being unable to meet the requirements of complex vehicle operating conditions.
[0006] The first aspect of the present invention proposes: A method for locating faults in vehicle bus communication, wherein the method includes: Simultaneously acquire bus voltage differential signal and bus current signal at at least two observation points on the vehicle bus to construct a multi-channel observation signal set; Phase space reconstruction is performed on the multi-channel observation signal set to generate a high-dimensional observation trajectory tensor, and a topological impedance matrix is constructed based on the network topology of the vehicle bus and the equivalent impedance parameters of each node. The high-dimensional observation trajectory tensor is input into a pre-defined topological constraint unmixing network, and the mixed fault signals are separated by the topological impedance matrix to output several independent fault source signals and the node affiliation probability distribution of each independent fault source signal. Each independent fault source signal is encoded using multi-domain features to generate a fault characterization vector. The fault characterization vector is then mapped to the corresponding bus node based on the node affiliation probability distribution to complete fault location.
[0007] The beneficial effects of this invention are as follows: This solution constructs a multi-channel observation signal set by simultaneously acquiring bus voltage differential signals and bus current signals at at least two observation points on the vehicle bus; a high-dimensional observation trajectory tensor is generated through phase space reconstruction, and a topological impedance matrix is constructed by combining the vehicle bus network topology and the equivalent impedance parameters of each node; a topologically constrained demixing network is used to perform blind source separation of mixed fault signals, effectively overcoming the bottleneck of existing technologies that are difficult to separate multiple fault sources; and based on the node affiliation probability distribution, the fault representation vector generated by multi-domain feature encoding is mapped to the corresponding bus node, realizing independent location of multiple fault sources, which significantly improves the accuracy and robustness of fault location under complex vehicle operating conditions.
[0008] Furthermore, the step of inputting the high-dimensional observation trajectory tensor into a preset topological constraint unmixing network and combining it with the topological impedance matrix to perform blind source separation of the mixed fault signal includes: The high-dimensional observation trajectory tensor is centered and whitened to obtain a decorrelated observation tensor; The topological impedance matrix is decomposed into a node self-impedance diagonal matrix and a node mutual impedance correlation matrix, and the mutual impedance correlation matrix is introduced as a regularization term into the loss function of the unmixed network. By iteratively updating the demixing matrix, the mutual information between the output independent fault source signals is minimized, while simultaneously satisfying the node coupling constraints imposed by the topological impedance matrix. When the iteration converges or reaches the preset number of iterations, output the independent fault source signals of each path in the current unmixing matrix.
[0009] Furthermore, the step of reconstructing the phase space of the multi-channel observation signal set to generate a high-dimensional observation trajectory tensor includes: The optimal delay time of the observed signals for each channel is determined by mutual information method, and the optimal embedding dimension is determined by pseudo-nearest neighbor method. Based on the optimal delay time and the optimal embedding dimension, delay embedding is performed on the observation signal of each channel to generate a phase space trajectory matrix; The phase space trajectory matrices of each channel are concatenated along the channel dimension to generate the high-dimensional observation trajectory tensor.
[0010] Furthermore, the step of outputting several independent fault source signals and the node affiliation probability distribution of each independent fault source signal includes: Calculate the correlation coefficient between each independent fault source signal and the equivalent impedance response template of each node; The correlation coefficients are normalized to generate the initial attribution probability of each node corresponding to the independent fault source signal of the path. By combining the coupling strength between nodes in the topological impedance matrix, the initial affiliation probability is smoothed in a neighborhood to obtain the final node affiliation probability distribution.
[0011] Furthermore, the step of performing multi-domain feature encoding on each independent fault source signal to generate a fault representation vector includes: Extract the time-domain features of the independent fault source signal, including peak factor, kurtosis index and impulse factor; Extract the frequency domain features of the independent fault source signal, including center frequency, frequency band energy ratio, and spectral entropy; Extract the time-frequency domain features of the independent fault source signals, including wavelet packet energy entropy and Hilbert-Huang transform marginal spectrum features; The time-domain features, the frequency-domain features, and the time-frequency-domain features are concatenated into a fault characterization vector of fixed length.
[0012] Furthermore, the step of mapping the fault characterization vector to the corresponding bus node based on the node affiliation probability distribution to complete the fault location includes: Input the fault characterization vector into a preset fault classifier and output the fault type label of the independent fault source signal. Based on the node affiliation probability distribution, a preset number of nodes with the highest probability values are selected as candidate fault nodes. The fault type label is associated with the node affiliation probability of each candidate fault node and stored to generate a fault location result that includes the fault node, fault type, and affiliation confidence.
[0013] Furthermore, the method also includes: Based on the fault location results, a controlled sleep command is sent to the corresponding candidate fault node, causing the node to temporarily exit bus communication. During the sleep period of the candidate fault node, the bus signal is reacquired and the blind source separation step is performed to compare the changes in the independent fault source signals before and after the sleep period. When the change exceeds a preset change threshold, the candidate fault node is confirmed as an actual fault node; when the change does not exceed the preset change threshold, the candidate fault node is removed from the fault location results.
[0014] The second aspect of the present invention proposes: A vehicle-mounted bus communication fault location system, wherein the system comprises: The acquisition module is used to simultaneously acquire the bus voltage differential signal and bus current signal at at least two observation points on the vehicle bus to construct a multi-channel observation signal set; The reconstruction module is used to reconstruct the phase space of the multi-channel observation signal set, generate a high-dimensional observation trajectory tensor, and construct a topological impedance matrix based on the network topology of the vehicle bus and the equivalent impedance parameters of each node. The demixing module is used to input the high-dimensional observation trajectory tensor into a preset topological constraint demixing network, combine the topological impedance matrix to perform blind source separation of the mixed fault signals, and output several independent fault source signals and the node affiliation probability distribution of each independent fault source signal. The positioning module is used to perform multi-domain feature encoding on each of the independent fault source signals, generate a fault characterization vector, and map the fault characterization vector to the corresponding bus node based on the node affiliation probability distribution to complete the fault positioning.
[0015] Furthermore, the step of inputting the high-dimensional observation trajectory tensor into a preset topological constraint unmixing network and combining it with the topological impedance matrix to perform blind source separation of the mixed fault signal includes: The high-dimensional observation trajectory tensor is centered and whitened to obtain a decorrelated observation tensor; The topological impedance matrix is decomposed into a node self-impedance diagonal matrix and a node mutual impedance correlation matrix, and the mutual impedance correlation matrix is introduced as a regularization term into the loss function of the unmixed network. By iteratively updating the demixing matrix, the mutual information between the output independent fault source signals is minimized, while simultaneously satisfying the node coupling constraints imposed by the topological impedance matrix. When the iteration converges or reaches the preset number of iterations, output the independent fault source signals of each path in the current unmixing matrix.
[0016] Furthermore, the step of reconstructing the phase space of the multi-channel observation signal set to generate a high-dimensional observation trajectory tensor includes: The optimal delay time of the observed signals for each channel is determined by mutual information method, and the optimal embedding dimension is determined by pseudo-nearest neighbor method. Based on the optimal delay time and the optimal embedding dimension, delay embedding is performed on the observation signal of each channel to generate a phase space trajectory matrix; The phase space trajectory matrices of each channel are concatenated along the channel dimension to generate the high-dimensional observation trajectory tensor.
[0017] Furthermore, the step of outputting several independent fault source signals and the node affiliation probability distribution of each independent fault source signal includes: Calculate the correlation coefficient between each independent fault source signal and the equivalent impedance response template of each node; The correlation coefficients are normalized to generate the initial attribution probability of each node corresponding to the independent fault source signal of the path. By combining the coupling strength between nodes in the topological impedance matrix, the initial affiliation probability is smoothed in a neighborhood to obtain the final node affiliation probability distribution.
[0018] Furthermore, the step of performing multi-domain feature encoding on each independent fault source signal to generate a fault representation vector includes: Extract the time-domain features of the independent fault source signal, including peak factor, kurtosis index and impulse factor; Extract the frequency domain features of the independent fault source signal, including center frequency, frequency band energy ratio, and spectral entropy; Extract the time-frequency domain features of the independent fault source signals, including wavelet packet energy entropy and Hilbert-Huang transform marginal spectrum features; The time-domain features, the frequency-domain features, and the time-frequency-domain features are concatenated into a fault characterization vector of fixed length.
[0019] Furthermore, the step of mapping the fault characterization vector to the corresponding bus node based on the node affiliation probability distribution to complete the fault location includes: Input the fault characterization vector into a preset fault classifier and output the fault type label of the independent fault source signal. Based on the node affiliation probability distribution, a preset number of nodes with the highest probability values are selected as candidate fault nodes. The fault type label is associated with the node affiliation probability of each candidate fault node and stored to generate a fault location result that includes the fault node, fault type, and affiliation confidence.
[0020] Furthermore, the method also includes: Based on the fault location results, a controlled sleep command is sent to the corresponding candidate fault node, causing the node to temporarily exit bus communication. During the sleep period of the candidate fault node, the bus signal is reacquired and the blind source separation step is performed to compare the changes in the independent fault source signals before and after the sleep period. When the change exceeds a preset change threshold, the candidate fault node is confirmed as an actual fault node; when the change does not exceed the preset change threshold, the candidate fault node is removed from the fault location results.
[0021] The third aspect of the present invention proposes: A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the vehicle bus communication fault location method as described above.
[0022] The fourth aspect of the present invention proposes: A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the vehicle bus communication fault location method as described above.
[0023] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0024] Figure 1 A flowchart of the vehicle bus communication fault location method provided in the first embodiment of the present invention; Figure 2 A flowchart of the vehicle bus communication fault location method provided in the second embodiment of the present invention; Figure 3 This is a structural block diagram of the vehicle bus communication fault location system provided in the third embodiment of the present invention.
[0025] The following detailed description, in conjunction with the accompanying drawings, will further illustrate the present invention. Detailed Implementation
[0026] To facilitate understanding of the present invention, a more complete description will be given below with reference to the accompanying drawings. Several embodiments of the invention are illustrated in the drawings. However, the invention can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
[0027] It should be noted that when a component is said to be "fixed to" another component, it can be directly on the other component or there may be an intervening component. When a component is said to be "connected to" another component, it can be directly connected to the other component or there may be an intervening component. The terms "vertical," "horizontal," "left," "right," and similar expressions used in this document are for illustrative purposes only.
[0028] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0029] Please see Figure 1The figure shows the vehicle bus communication fault location method provided in the first embodiment of the present invention. The vehicle bus communication fault location method provided in this embodiment can map the fault representation vector generated by multi-domain feature encoding to the corresponding bus node based on the node affiliation probability distribution, realize the independent location of multiple fault sources, and significantly improve the accuracy and robustness of fault location under complex vehicle working conditions.
[0030] Specifically, this embodiment provides: A method for locating faults in vehicle bus communication, wherein the method includes: Step S10: Simultaneously acquire the bus voltage differential signal and bus current signal at at least two observation points on the vehicle bus to construct a multi-channel observation signal set; It should be noted that at least two observation points on the vehicle bus are used to simultaneously acquire the bus voltage differential signal and the bus current signal to construct a multi-channel observation signal set. Multi-observation point acquisition is the foundation of blind source separation. Traditional single-point observation can only obtain one mixed signal and cannot distinguish multiple fault sources. By placing observation points at both ends of the bus trunk, key branch nodes, and near ECUs with high fault incidence, multiple fault signals with different mixing ratios can be obtained, providing multiple inputs for subsequent blind source separation, which is a prerequisite for achieving multi-fault separation.
[0031] Taking the CANFD bus in the power domain as an example, considering the bus topology, fault probability, and signal characteristics, a total of 4 observation points were set up: Observation point 1: Located at the VCU terminal of the bus backbone, close to the main bus terminating resistor, to monitor the differential voltage and bus current near the main backbone; Observation point 2: Located at the MCU end of the bus backbone, close to the terminating resistor at the other end, to monitor the differential voltage and bus current at the far end of the backbone; Observation point 3: Located at the BMS branch node, monitoring the differential voltage of the branch bus; Observation point 4: Located at the OBC branch node, it monitors the differential voltage and current of the high-voltage charging related branches.
[0032] Each observation point simultaneously acquires two types of signals: the differential voltage of CAN_H and CAN_L, and the total bus current, totaling eight acquisition channels. The sampling rate is set to 20MHz, which is 40 times the bus baud rate, ensuring complete capture of transient spikes and high-frequency characteristics of the fault. All observation points are synchronized via an onboard PTP precise clock, with a time synchronization error of less than 1μs, ensuring phase consistency of the multi-channel signals and avoiding reconstruction errors caused by phase differences. The acquired signals include normal communication signals, fault transient signals, and noise interference signals, providing complete raw data for subsequent analysis.
[0033] Step S20: Reconstruct the phase space of the multi-channel observation signal set to generate a high-dimensional observation trajectory tensor, and construct a topological impedance matrix based on the network topology of the vehicle bus and the equivalent impedance parameters of each node. It should be noted that phase space reconstruction is performed on the multi-channel observation signal set to generate a high-dimensional observation trajectory tensor, and a topological impedance matrix is constructed based on the network topology of the vehicle bus and the equivalent impedance parameters of each node. The core function of phase space reconstruction is to map the one-dimensional time series to a high-dimensional phase space, allowing the fault trajectories that originally overlapped in one dimension to be fully unfolded in the high-dimensional space, improving the separability of different fault sources. The topological impedance matrix describes the self-impedance of each node in the bus and the mutual impedance between nodes, reflecting the electrical coupling characteristics of the bus, and serves as a physical prior constraint for subsequent blind source separation.
[0034] Step S30: Input the high-dimensional observation trajectory tensor into the preset topological constraint unmixing network, combine the topological impedance matrix to perform blind source separation of the mixed fault signal, and output several independent fault source signals and the node affiliation probability distribution of each independent fault source signal. It should be noted that the high-dimensional observation trajectory tensor is input into a pre-defined topologically constrained unmixing network. Combined with the topological impedance matrix, blind source separation of the mixed fault signals is performed, outputting several independent fault source signals and the node affiliation probability distribution of each independent fault source signal. This step is the core of the method, overcoming the limitation of traditional unsupervised blind source separation methods such as Independent Component Analysis (ICA) which lack physical constraints. By introducing bus topological impedance as a regularization term into the loss function, it guides the unmixing matrix to converge in a direction consistent with actual electrical characteristics, significantly improving the separation accuracy of multiple fault sources and solving the "source aliasing" problem of traditional methods.
[0035] Step S40: Multi-domain feature encoding is performed on each independent fault source signal to generate a fault characterization vector. The fault characterization vector is then mapped to the corresponding bus node based on the node affiliation probability distribution to complete the fault location.
[0036] It should be noted that multi-domain feature encoding is performed on each independent fault source signal to generate a fault representation vector. This vector is then mapped to the corresponding bus node based on the node affiliation probability distribution, thus completing fault location. Through multi-dimensional feature encoding in the time, frequency, and time-frequency domains, the signal characteristics of the fault are comprehensively characterized. Combined with the node affiliation probability, the mapping from "fault source signal" to "fault node" is achieved, while simultaneously outputting the fault type and confidence level. Subsequent closed-loop verification using node dormancy further reduces the false positive rate and ensures the reliability of the location results.
[0037] Please see Figure 2 The second embodiment of the present invention provides: Furthermore, the step of inputting the high-dimensional observation trajectory tensor into a preset topological constraint unmixing network and combining it with the topological impedance matrix to perform blind source separation of the mixed fault signal includes: Step S101: The high-dimensional observation trajectory tensor is centered and whitened to obtain a decorrelated observation tensor; Step S102: Decompose the topological impedance matrix into a node self-impedance diagonal matrix and a node mutual impedance correlation matrix, and introduce the mutual impedance correlation matrix as a regularization term into the loss function of the unmixed network. Step S103: By iteratively updating the demixing matrix, the mutual information between the output independent fault source signals is minimized, while satisfying the node coupling constraints imposed by the topological impedance matrix; when the iteration converges or reaches the preset number of iterations, the independent fault source signals of the current demixing matrix are output.
[0038] It's important to note that centering involves subtracting the time mean from each channel signal to eliminate DC components, baseline drift, and sensor zero-point offset, ensuring the signal distribution around the origin. Whitening eliminates correlation between signal channels through linear transformation, transforming the signal covariance matrix into an identity matrix. This normalizes the variance of each channel signal and minimizes linear correlation, providing standardized input for subsequent blind source separation. Whitening is a standard preprocessing step in blind source separation, effectively reducing linear correlation between signals and improving the separability of independent components.
[0039] In the specific calculation, the mean vector of the observed signal is calculated first. Centering is achieved by subtracting the corresponding mean from each channel; then the covariance matrix is calculated. Eigenvalue decomposition of the covariance matrix The whitening matrix is The signal after whitening is After whitening, the covariance matrix of the signal becomes an identity matrix, and the cross-correlation coefficients between channels are significantly reduced.
[0040] In this example, the average cross-correlation coefficient between the 8 channels of the original observation signal was 0.85, with some channels exhibiting a correlation coefficient as high as 0.92, indicating severe signal overlap. After whitening processing, the cross-correlation coefficient between the channels decreased to below 0.1, demonstrating a significant decorrelation effect. The characteristic differences between different fault sources were amplified, creating favorable conditions for subsequent unmixing. Without whitening processing, direct blind source separation would result in a separation rate reduction of over 40%, and the signal is prone to convergence to a local optimum.
[0041] The topology impedance matrix is constructed based on the actual bus topology and electrical parameters, and is a... A square matrix (N is the number of nodes), with diagonal elements The equivalent self-impedance for each node, including the node transceiver output impedance, terminating resistance, node input impedance, and connector contact resistance; off-diagonal elements. The mutual impedance between node i and node j is determined by the line impedance, distributed capacitance, and electromagnetic coupling impedance of the bus conductors. It is positively correlated with the distance between the nodes and reflects the electrical coupling strength between the nodes.
[0042] Traditional blind source separation algorithms (such as FastICA) separate signals solely by maximizing the non-Gaussianity of the output signal, without considering the physical constraints of the network. The separated sources may not conform to the impedance characteristics of the actual bus, and "source aliasing" is prone to occur in multi-fault scenarios. Specifically, a fault source may be split into two or two fault sources may be merged into one, resulting in a separation result lacking physical meaning. Using the cross-impedance correlation matrix as a regularization term is equivalent to adding the physical prior of "inter-node coupling conforming to impedance distribution" to the loss function, guiding the unmixing matrix to converge in a direction that conforms to the actual electrical characteristics, significantly improving the physical rationality and accuracy of the separation results.
[0043] The specific form of the loss function is:
[0044] in, This is the mutual information loss term in traditional ICA, and the goal is to minimize the mutual information between output sources and improve independence; W is the normalized inter-node mutual impedance correlation matrix; W is the unmixing matrix. This is the regularization coefficient, used to balance the weights of separation degree and topology constraints. It is usually set to 0.1-0.3 and can be adjusted according to the complexity of the bus topology. It is the Frobenius norm.
[0045] In this example, the topological impedance matrix is a 12×12 matrix. The diagonal elements represent the equivalent impedance of each node, ranging from 40-120Ω, while the off-diagonal elements represent the mutual impedance between nodes, ranging from 0.5-15Ω, which is positively correlated with the node distance. The regularization coefficient is set to 0.2 to balance separation and physical constraints. Tests show that after adding topological constraints, the normalized mutual information of the dual fault sources decreases from 0.35 to 0.09, improving separation by 74% and effectively solving the source aliasing problem of traditional ICA. Simultaneously, the correlation coefficient between the separated signal waveform and the actual fault source increases from 0.72 to 0.94, significantly improving waveform fidelity.
[0046] The iterative approach employs adaptive gradient descent. At each step, the gradient of the loss function with respect to the unmixing matrix is calculated, and the unmixing matrix is updated with an adaptive step size. Simultaneously, orthogonal constraints are applied to the unmixing matrix to prevent degeneracy. During the iteration process, minimizing mutual information ensures that each output source is independent, while topological constraints guarantee that the separation results conform to physical laws. The combination of these two approaches achieves accurate blind source separation.
[0047] The iteration process employs a dual convergence criterion: first, the change in the loss function over 10 consecutive iterations is less than... The convergence is considered achieved through two methods: first, it is considered complete after approximately 320 iterations; second, it is forcibly stopped after reaching the maximum number of iterations (1000). In this example, under a typical dual-fault scenario, convergence occurs after approximately 320 iterations, which is about 25% faster than unconstrained ICA, and the physical consistency of the separation results is significantly improved. The "source ordering uncertainty" problem often encountered in traditional ICA is also alleviated through topological constraints. Specifically, the order of output sources corresponds to the node impedance characteristics, and the physical meaning of the sources can be determined through impedance matching.
[0048] The number of independent fault source signals output is consistent with the number of fault sources. Each signal corresponds to an independent fault excitation, and the signal waveform is consistent with the original fault source waveform, with a constant amplitude ratio and time synchronization. The number of output signals is automatically determined by the demixing network, or it can be set according to the preset number of faults, usually set to 1-3, covering most vehicle bus fault scenarios.
[0049] Taking a dual-fault scenario as an example: MCU node transceiver failure + OBC branch short circuit to ground. The mutual information of the two signals separated by traditional ICA is 0.32, with obvious aliasing. The short-circuit signal is mixed with the pulse characteristics of the transceiver failure. After adding topology constraints, the mutual information of the two signals drops to 0.08, the waveforms are clearly separated, and the matching degree with the fault templates of the two nodes reaches 0.93 and 0.91 respectively, which verifies the separation effect.
[0050] Furthermore, the step of reconstructing the phase space of the multi-channel observation signal set to generate a high-dimensional observation trajectory tensor includes: The optimal delay time of the observed signals for each channel is determined by mutual information method, and the optimal embedding dimension is determined by pseudo-nearest neighbor method. Based on the optimal delay time and the optimal embedding dimension, delay embedding is performed on the observation signal of each channel to generate a phase space trajectory matrix; The phase space trajectory matrices of each channel are concatenated along the channel dimension to generate the high-dimensional observation trajectory tensor.
[0051] It should be noted that the core theoretical foundation of phase space reconstruction is Takens' embedding theorem: for a d-dimensional dynamical system, by delaying and embedding a one-dimensional observation signal, when the embedding dimension... When the system's phase space trajectory is reconstructed, it is topologically equivalent to the attractor of the original system. In other words, a one-dimensional time series is a projection of a high-dimensional dynamic system into a one-dimensional space. By delaying embedding, the high-dimensional trajectory of the system can be restored. The originally overlapping fault trajectories will be fully unfolded in the high-dimensional space, and the differences in the attractor morphology of different faults will be amplified, making it easier to separate blind sources.
[0052] Optimal delay time The selection adopts the self-mutual information method: calculate the signal Delay of itself The signal after The mutual information is considered, and the delay corresponding to the first minimum value of the mutual information is the optimal delay. At this point, the correlation of the reconstructed phase space coordinates is the lowest, which can maximize the unfolding of the trajectory and avoid coordinate redundancy. If the delay is too small, the coordinate correlation is high, and the trajectory folds; if the delay is too large, the trajectory breaks, both of which are detrimental to reconstruction.
[0053] The optimal embedding dimension *m* is determined using the pseudo-nearest neighbor (FNN) method: the embedding dimension is gradually increased, and the proportion of pseudo-nearest neighbors for each point in the phase space is calculated. When the proportion no longer decreases significantly, the corresponding dimension is the optimal embedding dimension. At this point, the reconstructed trajectory does not self-cross, can fully reflect the dynamic characteristics of the system, and avoids introducing noise and increasing computational load due to excessively high dimensionality.
[0054] In this example, the optimal delay time for the CANFD bus voltage signal is one sampling period (50ns, corresponding to a 20MHz sampling rate), and the optimal embedding dimension is 6. At this depth, the reconstructed phase space trajectory can be fully expanded, and the separation of trajectories from different fault sources in 6-dimensional space is significantly improved. If the embedding dimension is 3, the trajectory folding is severe, and the overlap of attractors from different faults reaches 60%. When the embedding dimension is increased to 6, the overlap drops to below 15%, providing high-quality input for subsequent blind source separation. Further increasing to 8 dimensions improves the separation by less than 5%, but increases the computational load by approximately 78%. Therefore, 6 dimensions represent the optimal balance between accuracy and efficiency.
[0055] Different fault types exhibit completely different attractor morphologies in phase space: Bus short circuit fault: The trace shrinks to the low voltage region, showing a stable limit loop shape, with the period corresponding to the bus baud rate; Node transceiver failure: The trajectory exhibits a periodic pulse pattern, accompanied by transient spikes, and the attractor dimension is higher; Poor connector contact: The trajectory exhibits intermittent jumps, displaying chaotic attractor characteristics and a higher fractal dimension; External electromagnetic interference: The trajectory exhibits a random distribution, with no obvious attractor structure and high entropy.
[0056] These morphological differences are difficult to distinguish in one-dimensional time series, but their characteristics are significant in high-dimensional phase space, providing a natural characteristic basis for subsequent blind source separation.
[0057] Based on the optimal delay time and optimal embedding dimension, delay embedding is performed on the observed signal of each channel to generate a phase space trajectory matrix. For a one-dimensional time series... The delay time is If the embedding dimension is m, then the reconstructed phase space vector at time t is:
[0058] Each moment corresponds to a point in phase space, and all points constitute... The phase space trajectory matrix, where N is the number of time points.
[0059] In this example, the one-dimensional time series of each channel has a length of 10,000 points, an embedding dimension of 6, and a delay time of 1 point. After reconstruction, a 6×9995 phase space trajectory matrix is obtained. After reconstruction, the fault signals that originally overlapped in one dimension exhibit different trajectory distributions in 6-dimensional space. Even weak faults with amplitudes only 10% of normal signals can be distinguished in the high-dimensional space, significantly improving the detection capability of weak faults.
[0060] After being stitched together along the channel dimension, the phase space trajectories of multiple channels form a three-dimensional tensor of "number of channels × embedding dimension × time", which serves as the input to the blind source separation network. The fusion of multi-channel phase space features amplifies the fault differences at different observation points in a high-dimensional space, improving the separation accuracy by more than 40% compared to using the original signal directly.
[0061] In this example, eight channels, each with a 6-dimensional embedding, are stitched together to obtain a 48-dimensional high-dimensional observation trajectory with a time length of 9995 points. The 48-dimensional high-dimensional features effectively amplify the dynamic differences between different fault sources. Even faults with very small amplitudes can be distinguished in the high-dimensional space, improving the detection rate of weak faults by 37%.
[0062] Furthermore, the step of outputting several independent fault source signals and the node affiliation probability distribution of each independent fault source signal includes: Calculate the correlation coefficient between each independent fault source signal and the equivalent impedance response template of each node; The correlation coefficients are normalized to generate the initial attribution probability of each node corresponding to the independent fault source signal of the path. By combining the coupling strength between nodes in the topological impedance matrix, the initial affiliation probability is smoothed in a neighborhood to obtain the final node affiliation probability distribution.
[0063] It should be noted that the equivalent impedance response template is a standard feature library obtained in advance through modeling, simulation, and actual vehicle calibration: the voltage and current response waveforms generated at each observation point when different types of faults occur at each node are equivalent to the "electrical fingerprint" of each node fault. The separated fault source signal is cross-correlated with the template of each node. The higher the correlation coefficient, the higher the matching degree between the fault source and the node, and the greater the probability that it belongs to the node.
[0064] The template library was constructed through a combination of CANoe / Sabre bus simulation and real-vehicle calibration. For each node, five typical faults—short circuit, short circuit to ground, open circuit, transceiver failure, and terminating resistor failure—were simulated. Response waveforms at each observation point were collected, features were extracted, and stored in the template library. Simultaneously, real-vehicle faults were injected into the test calibration to correct the templates, ensuring a high degree of matching between the templates and actual faults. In this example, 12 nodes × 5 fault types were used, resulting in 60 standard templates. Each template contains the voltage and current response characteristics of each observation point, with a duration of 10ms, matching the sampling rate.
[0065] The isolated fault source signal was compared with each of the 60 templates using Pearson correlation coefficients. The node with the highest correlation coefficient and the fault type were selected as candidate matching results. For example, a fault source had a correlation coefficient of 0.91 with the "transceiver fault" template of the MCU node, 0.62 with the "transceiver fault" template of the BMS node, and 0.38 with the "short circuit" template, indicating that the fault was more likely a transceiver fault of the MCU node.
[0066] Normalization uses the Softmax function to convert the correlation coefficient into a probability value between 0 and 1. The sum of the probabilities of all nodes is 1, which intuitively reflects the probability that the fault source belongs to each node. The Softmax function amplifies the differences in correlation coefficients, with higher probabilities being higher and lower probabilities being lower, making it easier to distinguish between primary and secondary fault nodes.
[0067] In this example, after Softmax normalization, the correlation coefficients between a certain fault source and 12 nodes show the following probabilities: 0.78 for the MCU node, 0.11 for the BMS node, 0.04 for the OBC node, and all other nodes below 0.02. This initially indicates that the fault most likely occurred on the MCU node, with the BMS node being a secondary candidate. The probability distribution clearly reflects the possible sources of the fault, providing a priority for subsequent troubleshooting.
[0068] Because of the electrical coupling between bus nodes due to conductor impedance and distributed capacitance, the impedance responses of adjacent nodes are similar, and faults may simultaneously affect adjacent nodes. Therefore, the probability distribution of faults is not abrupt but gradually changes along adjacent nodes. By using neighborhood smoothing, which considers the coupling strength between nodes, the initial probability is corrected to make the result more consistent with actual electrical characteristics, while also reducing probability jumps caused by single-point noise.
[0069] Smoothing employs a weighted average method, where the final probability of each node is the weighted sum of its initial probability and the probabilities of its neighboring nodes. The weights are the normalized values of the mutual impedance between nodes, with stronger coupling resulting in higher weights. In this example, the initial probability of the MCU node is 0.78, and the initial probability of the adjacent sensor node is 0.08. Considering a coupling strength of 0.15, the final probability of the MCU node is 0.75, and that of the adjacent nodes is 0.10. This results in a smoother probability distribution that better reflects actual coupling characteristics. Neighborhood smoothing improves the robustness of the probability distribution, avoiding abrupt probability changes caused by local noise.
[0070] Furthermore, the step of performing multi-domain feature encoding on each independent fault source signal to generate a fault representation vector includes: Extract the time-domain features of the independent fault source signal, including peak factor, kurtosis index and impulse factor; Extract the frequency domain features of the independent fault source signal, including center frequency, frequency band energy ratio, and spectral entropy; Extract the time-frequency domain features of the independent fault source signals, including wavelet packet energy entropy and Hilbert-Huang transform marginal spectrum features; The time-domain features, the frequency-domain features, and the time-frequency-domain features are concatenated into a fault characterization vector of fixed length.
[0071] It should be noted that the time-domain features of independent fault source signals are extracted, including peak factor, kurtosis index, and impulse factor. These time-domain features reflect the temporal morphology of the fault, and the time-domain features of different faults differ significantly. Crest factor: The ratio of the signal peak value to the RMS value, reflecting the impact intensity of the fault. The crest factor of a bus short-circuit fault is much higher than that of a normal signal, while the crest factor of a poor contact fault fluctuates over time.
[0072] Kurtosis index: The ratio of the fourth moment of a signal to the square of its variance, reflecting the sharpness of the signal. The kurtosis of faults such as poor contact and loose connectors is much higher than that of a steady signal. The kurtosis of a normal communication signal is close to 3, while the kurtosis of a pulse fault can reach more than 10.
[0073] Pulse factor: The number of pulses exceeding a threshold per unit time, reflecting the intermittency of the fault. Poor connector contact and loose terminating resistor connections result in a high pulse factor, while short-circuit faults have a low pulse factor.
[0074] In this example, the time-domain characteristic values of different faults differ significantly: Bus short-circuit fault: peak factor 4.2, kurtosis 12.5, pulse factor 2 times / second; Node transceiver failure: peak factor 2.8, kurtosis 5.6, pulse factor 6 Hz; Connector contact failure: peak factor 3.5, kurtosis 15.2, pulse factor 12 Hz; Normal communication signal: peak factor 1.8, kurtosis 3.2, pulse factor 0.3 Hz; Power supply electromagnetic interference: peak factor 2.1, kurtosis 4.8, pulse factor 25 times / second.
[0075] The characteristics are significantly different, which can effectively distinguish different types of faults.
[0076] Extract the frequency domain features of independent fault source signals, including center frequency, band energy proportion, and spectral entropy. Frequency domain features reflect the spectral distribution of the fault; different faults have different generation mechanisms, resulting in significant differences in their spectral features. Center frequency: The frequency point with the highest energy. The characteristic frequency of bus faults is related to the bus baud rate and transceiver characteristics, while the center frequency of electromagnetic interference is consistent with the interference source.
[0077] Frequency band energy proportion: The proportion of energy in the fault characteristic frequency band to the total energy, reflecting the degree of concentration of fault energy. Deterministic faults have concentrated energy and a high proportion; random interference has dispersed energy and a low proportion.
[0078] Spectral entropy: The information entropy of the frequency spectrum distribution, reflecting the degree of disorder in the frequency distribution. The spectral entropy of electromagnetic interference is much higher than that of deterministic faults, while the spectral entropy of periodic faults is low.
[0079] In this example, the center frequency of the normal CANFD bus signal is 250kHz, with a spectral entropy of 6.2; the center frequency of the transceiver fault is 125kHz, with a bandwidth energy ratio of 0.72; the center frequency of the power supply interference is 50Hz, with a spectral entropy of 4.8; and the poor contact fault has a wide spectral distribution and a spectral entropy of 7.5. The frequency domain characteristics of different faults are highly distinguishable, complementing their time domain characteristics.
[0080] Time-frequency domain features reflect the time-varying characteristics of faults and are suitable for transient and time-varying faults, such as intermittent poor contact and pulse interference. These types of faults are difficult to describe separately in the time and frequency domains, and time-frequency domain features are more distinguishable.
[0081] Wavelet packet energy entropy: The energy distribution of eight time-frequency bands is obtained through three-level wavelet packet decomposition. The information entropy is calculated to reflect the uniformity of energy distribution in the time-frequency plane. Intermittent faults have high energy entropy, while steady-state faults have low energy entropy.
[0082] Hilbert-Huang transform marginal spectrum: The intrinsic mode function is obtained through empirical mode decomposition (EMD), and then the marginal spectrum is obtained by Hilbert transform. It reflects the instantaneous frequency change and is suitable for nonlinear and non-stationary fault signals. It can effectively identify contact failure faults with instantaneous jumps.
[0083] In this example, the wavelet packet energy entropy of the intermittent poor contact fault is 5.8, and there is a significant instantaneous frequency jump in the marginal spectrum; while the wavelet packet energy entropy of the steady-state short-circuit fault is 3.2, and the marginal spectrum is stable. The difference in characteristics is significant, which can effectively identify intermittent faults.
[0084] The time-domain features, frequency-domain features, and time-frequency-domain features are concatenated into a fixed-length fault representation vector. This example extracts a total of 16 dimensions of features, including 3-dimensional time-domain, 5-dimensional frequency-domain, and 8-dimensional time-frequency-domain features. The feature vector length is fixed, and after standardization, it can be directly input into the classifier for fault type identification. Multi-domain features integrate fault information from different dimensions, improving classification accuracy by more than 25% compared to single-dimensional time-domain or frequency-domain features. In the feature selection stage, mutual information is used to filter and remove redundant features, ensuring that the discriminant of each feature is greater than 0.3, thus reducing feature dimensionality while maintaining classification accuracy.
[0085] Furthermore, the step of mapping the fault characterization vector to the corresponding bus node based on the node affiliation probability distribution to complete the fault location includes: Input the fault characterization vector into a preset fault classifier and output the fault type label of the independent fault source signal. Based on the node affiliation probability distribution, a preset number of nodes with the highest probability values are selected as candidate fault nodes. The fault type label is associated with the node affiliation probability of each candidate fault node and stored to generate a fault location result that includes the fault node, fault type, and affiliation confidence.
[0086] It should be noted that the fault classifier uses a random forest model, trained with 10,000 labeled samples, including 70% simulation data and 30% real vehicle calibration data. It supports the identification of six typical fault types: bus short circuit, short circuit to ground, node open circuit, transceiver failure, terminating resistor failure, and electromagnetic interference. The classifier also outputs the confidence level of the fault type to facilitate subsequent decision-making.
[0087] In this example, the classifier's five-fold cross-validation accuracy reached 95.2%, with bus short circuit identification accuracy at 98.5%, transceiver fault at 96.3%, poor contact at 91.7%, and electromagnetic interference at 94.8%. The identification accuracy for different fault types was at a high level. For example, after inputting a fault representation vector, the output fault type label was "MCU node transceiver fault" with a confidence level of 0.92.
[0088] Typically, the top 2-3 nodes with the highest probabilities are selected as candidates. This ensures positioning accuracy while providing alternatives for subsequent verification, avoiding misjudgment based on a single node. The node with the highest probability is the most likely faulty node, while the others are alternatives, facilitating sequential verification according to priority during subsequent troubleshooting.
[0089] In this example, the probability of an MCU node being assigned to a fault is 0.75, that of an adjacent sensor node is 0.10, and that of a BMS node is 0.06. The first two are selected as candidate fault nodes, with the MCU as the first candidate and the sensor node as the second candidate. The candidate nodes are sorted by probability, allowing maintenance personnel to prioritize checking the nodes with the highest probabilities, significantly improving troubleshooting efficiency.
[0090] The fault type label is associated with the node affiliation probability of each candidate fault node and stored to generate a fault location result containing the fault node, fault type, and affiliation confidence level. The result is structured data, including fault source number, fault type, first candidate node, confidence level, alternative nodes, and suggested measures. It can be directly connected to the vehicle fault diagnosis system to output fault codes conforming to the UDS protocol, and simultaneously push them to the instrument panel and vehicle infotainment system to alert the driver and maintenance personnel.
[0091] In this example, the final location result is: Fault Source ID: F001 Fault Type: Node Transceiver Fault First Candidate Node: MCU (Confidence 0.75) Alternative Node: Forward Sensor Node (Confidence 0.10) Recommended Actions: First check the MCU node's CAN transceiver, then check the sensor node's connector. The results can be directly pushed to the vehicle diagnostic system, automatically generating repair work orders and greatly improving after-sales repair efficiency.
[0092] Furthermore, the method also includes: Based on the fault location results, a controlled sleep command is sent to the corresponding candidate fault node, causing the node to temporarily exit bus communication. During the sleep period of the candidate fault node, the bus signal is reacquired and the blind source separation step is performed to compare the changes in the independent fault source signals before and after the sleep period. When the change exceeds a preset change threshold, the candidate fault node is confirmed as an actual fault node; when the change does not exceed the preset change threshold, the candidate fault node is removed from the fault location results.
[0093] It should be noted that controlled hibernation is implemented through the $3E service of the UDS diagnostic service. A hibernation command is sent to the candidate node, causing the node to shut down its CAN transceiver, enter a low-power hibernation state, and exit bus communication. This does not affect the normal communication of other nodes. The hibernation operation can verify whether a fault is caused by this node and is a core method for distinguishing between node faults and bus interference.
[0094] The hibernation operation follows the principle of minimum impact: only candidate nodes are hibernated, other nodes maintain normal communication, and the bus function is basically unaffected; if the fault disappears after hibernation, it means that the fault was caused by that node; if the fault persists, it means that the fault is not in that node, or it is a bus-level fault or external interference.
[0095] In this example, a controlled sleep command is sent to the MCU node, which shuts down the CAN transceiver and enters sleep mode, while maintaining normal communication with other nodes. The bus load decreases only slightly and does not affect the basic functions of the power domain.
[0096] If the fault is caused by the node, the fault source signal will be significantly weakened or even disappear after hibernation; if it is bus common-mode interference or external electromagnetic interference, the fault signal will not change significantly after hibernation. This can be used to distinguish between node faults and external interference.
[0097] The change is calculated by comprehensively considering the characteristics of the fault source signal, such as energy, peak value, and kurtosis. If the fault signal energy decreases by more than 70% after hibernation, it indicates that the fault is strongly correlated with the node. If the decrease is less than 30%, it indicates that the fault is not caused by the node, but may be due to interference or faults in other nodes.
[0098] In this example, after the MCU node went into sleep mode, the energy of the corresponding fault source signal decreased by 82%, exceeding the 70% threshold, verifying that the fault was indeed caused by the MCU node. If the energy only decreased by 15% after sleep mode, it would indicate external electromagnetic interference, and the node could be eliminated. In a real-world fault case, electromagnetic interference from the motor controller was mistakenly identified as a node fault. This was resolved through sleep mode verification, avoiding unnecessary component replacement and validating the value of closed-loop verification.
[0099] When the change exceeds a preset change threshold, the candidate fault node is confirmed as an actual fault node; when the change does not exceed the preset change threshold, the candidate node is removed from the fault location results, and the next candidate node is verified. Sleep verification effectively reduces the false positive rate, especially in scenarios where electromagnetic interference and bus common-mode noise are easily misjudged as node faults.
[0100] If the first candidate node is excluded, the same sleep verification process is automatically performed on the second candidate node until the fault source is found or determined to be a bus-level fault / external interference. After all verifications are completed, the final fault location result is output, and the verification data is added to the template library to iteratively optimize the classifier and templates.
[0101] In this example, after sleep verification, the MCU node was confirmed as the actual faulty node, and the location result was retained. If the change after verification was insufficient, the candidate node was removed, and the sensor node was verified again. Through closed-loop verification, the overall false positive rate was reduced from 18.7% to 5.7%, and the positioning reliability was significantly improved.
[0102] Please see Figure 3 The third embodiment of the present invention provides: A vehicle-mounted bus communication fault location system, wherein the system comprises: The acquisition module is used to simultaneously acquire the bus voltage differential signal and bus current signal at at least two observation points on the vehicle bus to construct a multi-channel observation signal set; The reconstruction module is used to reconstruct the phase space of the multi-channel observation signal set, generate a high-dimensional observation trajectory tensor, and construct a topological impedance matrix based on the network topology of the vehicle bus and the equivalent impedance parameters of each node. The demixing module is used to input the high-dimensional observation trajectory tensor into a preset topological constraint demixing network, combine the topological impedance matrix to perform blind source separation of the mixed fault signals, and output several independent fault source signals and the node affiliation probability distribution of each independent fault source signal. The positioning module is used to perform multi-domain feature encoding on each of the independent fault source signals, generate a fault characterization vector, and map the fault characterization vector to the corresponding bus node based on the node affiliation probability distribution to complete the fault positioning.
[0103] Furthermore, the step of inputting the high-dimensional observation trajectory tensor into a preset topological constraint unmixing network and combining it with the topological impedance matrix to perform blind source separation of the mixed fault signal includes: The high-dimensional observation trajectory tensor is centered and whitened to obtain a decorrelated observation tensor; The topological impedance matrix is decomposed into a node self-impedance diagonal matrix and a node mutual impedance correlation matrix, and the mutual impedance correlation matrix is introduced as a regularization term into the loss function of the unmixed network. By iteratively updating the demixing matrix, the mutual information between the output independent fault source signals is minimized, while simultaneously satisfying the node coupling constraints imposed by the topological impedance matrix. When the iteration converges or reaches the preset number of iterations, output the independent fault source signals of each path in the current unmixing matrix.
[0104] Furthermore, the step of reconstructing the phase space of the multi-channel observation signal set to generate a high-dimensional observation trajectory tensor includes: The optimal delay time of the observed signals for each channel is determined by mutual information method, and the optimal embedding dimension is determined by pseudo-nearest neighbor method. Based on the optimal delay time and the optimal embedding dimension, delay embedding is performed on the observation signal of each channel to generate a phase space trajectory matrix; The phase space trajectory matrices of each channel are concatenated along the channel dimension to generate the high-dimensional observation trajectory tensor.
[0105] Furthermore, the step of outputting several independent fault source signals and the node affiliation probability distribution of each independent fault source signal includes: Calculate the correlation coefficient between each independent fault source signal and the equivalent impedance response template of each node; The correlation coefficients are normalized to generate the initial attribution probability of each node corresponding to the independent fault source signal of the path. By combining the coupling strength between nodes in the topological impedance matrix, the initial affiliation probability is smoothed in a neighborhood to obtain the final node affiliation probability distribution.
[0106] Furthermore, the step of performing multi-domain feature encoding on each independent fault source signal to generate a fault representation vector includes: Extract the time-domain features of the independent fault source signal, including peak factor, kurtosis index and impulse factor; Extract the frequency domain features of the independent fault source signal, including center frequency, frequency band energy ratio, and spectral entropy; Extract the time-frequency domain features of the independent fault source signals, including wavelet packet energy entropy and Hilbert-Huang transform marginal spectrum features; The time-domain features, the frequency-domain features, and the time-frequency-domain features are concatenated into a fault characterization vector of fixed length.
[0107] Furthermore, the step of mapping the fault characterization vector to the corresponding bus node based on the node affiliation probability distribution to complete the fault location includes: Input the fault characterization vector into a preset fault classifier and output the fault type label of the independent fault source signal. Based on the node affiliation probability distribution, a preset number of nodes with the highest probability values are selected as candidate fault nodes. The fault type label is associated with the node affiliation probability of each candidate fault node and stored to generate a fault location result that includes the fault node, fault type, and affiliation confidence.
[0108] Furthermore, the method also includes: Based on the fault location results, a controlled sleep command is sent to the corresponding candidate fault node, causing the node to temporarily exit bus communication. During the sleep period of the candidate fault node, the bus signal is reacquired and the blind source separation step is performed to compare the changes in the independent fault source signals before and after the sleep period. When the change exceeds a preset change threshold, the candidate fault node is confirmed as an actual fault node; when the change does not exceed the preset change threshold, the candidate fault node is removed from the fault location results.
[0109] The fourth embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the vehicle bus communication fault location method as described above.
[0110] The fifth embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the vehicle bus communication fault location method as described above.
[0111] In summary, the above embodiments of the present invention can map the fault representation vector generated by multi-domain feature encoding to the corresponding bus node based on the node affiliation probability distribution, thereby realizing the independent location of multiple fault sources and significantly improving the accuracy and robustness of fault location under complex vehicle operating conditions.
[0112] It should be noted that the above modules can be functional modules or program modules, and can be implemented through software or hardware. For modules implemented through hardware, the above modules can reside in the same processor; or the above modules can be located in different processors in any combination.
[0113] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-including system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device.
[0114] More specific examples of computer-readable media (a non-exhaustive list) include: electrical connections (electronic devices) having one or more wires, portable computer disk drives (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which the program can be printed, because the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.
[0115] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0116] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0117] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the appended claims.
Claims
1. A method for locating faults in vehicle-mounted bus communication, characterized in that, The method includes: Simultaneously acquire bus voltage differential signal and bus current signal at at least two observation points on the vehicle bus to construct a multi-channel observation signal set; Phase space reconstruction is performed on the multi-channel observation signal set to generate a high-dimensional observation trajectory tensor, and a topological impedance matrix is constructed based on the network topology of the vehicle bus and the equivalent impedance parameters of each node. The high-dimensional observation trajectory tensor is input into a pre-defined topological constraint unmixing network, and the mixed fault signals are separated by the topological impedance matrix to output several independent fault source signals and the node affiliation probability distribution of each independent fault source signal. Each independent fault source signal is encoded using multi-domain features to generate a fault characterization vector. The fault characterization vector is then mapped to the corresponding bus node based on the node affiliation probability distribution to complete fault location.
2. The method for locating vehicle bus communication faults according to claim 1, characterized in that, The step of inputting the high-dimensional observation trajectory tensor into a preset topological constraint demixing network and combining it with the topological impedance matrix to perform blind source separation of the mixed fault signal includes: The high-dimensional observation trajectory tensor is centered and whitened to obtain a decorrelated observation tensor; The topological impedance matrix is decomposed into a node self-impedance diagonal matrix and a node mutual impedance correlation matrix, and the mutual impedance correlation matrix is introduced as a regularization term into the loss function of the unmixed network. By iteratively updating the demixing matrix, the mutual information between the output independent fault source signals is minimized, while simultaneously satisfying the node coupling constraints imposed by the topological impedance matrix. When the iteration converges or reaches the preset number of iterations, output the independent fault source signals of each path in the current unmixing matrix.
3. The method for locating vehicle bus communication faults according to claim 1, characterized in that, The step of reconstructing the phase space of the multi-channel observation signal set to generate a high-dimensional observation trajectory tensor includes: The optimal delay time of the observed signals for each channel is determined by mutual information method, and the optimal embedding dimension is determined by pseudo-nearest neighbor method. Based on the optimal delay time and the optimal embedding dimension, delay embedding is performed on the observation signal of each channel to generate a phase space trajectory matrix; The phase space trajectory matrices of each channel are concatenated along the channel dimension to generate the high-dimensional observation trajectory tensor.
4. The method for locating vehicle bus communication faults according to claim 1, characterized in that, The steps of outputting several independent fault source signals and the node affiliation probability distribution of each independent fault source signal include: Calculate the correlation coefficient between each independent fault source signal and the equivalent impedance response template of each node; The correlation coefficients are normalized to generate the initial attribution probability of each node corresponding to the independent fault source signal of the path. By combining the coupling strength between nodes in the topological impedance matrix, the initial affiliation probability is smoothed in a neighborhood to obtain the final node affiliation probability distribution.
5. The method for locating vehicle bus communication faults according to claim 1, characterized in that, The step of performing multi-domain feature encoding on each independent fault source signal to generate a fault representation vector includes: Extract the time-domain features of the independent fault source signal, including peak factor, kurtosis index and impulse factor; Extract the frequency domain features of the independent fault source signal, including center frequency, frequency band energy ratio, and spectral entropy; Extract the time-frequency domain features of the independent fault source signals, including wavelet packet energy entropy and Hilbert-Huang transform marginal spectrum features; The time-domain features, the frequency-domain features, and the time-frequency-domain features are concatenated into a fault characterization vector of fixed length.
6. The method for locating vehicle bus communication faults according to claim 1, characterized in that, The step of mapping the fault characterization vector to the corresponding bus node based on the node affiliation probability distribution to complete the fault location includes: Input the fault characterization vector into a preset fault classifier and output the fault type label of the independent fault source signal. Based on the node affiliation probability distribution, a preset number of nodes with the highest probability values are selected as candidate fault nodes. The fault type label is associated with the node affiliation probability of each candidate fault node and stored to generate a fault location result that includes the fault node, fault type, and affiliation confidence.
7. The method for locating vehicle bus communication faults according to claim 1, characterized in that, The method further includes: Based on the fault location results, a controlled sleep command is sent to the corresponding candidate fault node, causing the node to temporarily exit bus communication. During the sleep period of the candidate fault node, the bus signal is reacquired and the blind source separation step is performed to compare the changes in the independent fault source signals before and after the sleep period. When the change exceeds a preset change threshold, the candidate fault node is confirmed as an actual fault node; when the change does not exceed the preset change threshold, the candidate fault node is removed from the fault location results.
8. A vehicle-mounted bus communication fault location system, characterized in that, The system includes: The acquisition module is used to simultaneously acquire the bus voltage differential signal and bus current signal at at least two observation points on the vehicle bus to construct a multi-channel observation signal set; The reconstruction module is used to reconstruct the phase space of the multi-channel observation signal set, generate a high-dimensional observation trajectory tensor, and construct a topological impedance matrix based on the network topology of the vehicle bus and the equivalent impedance parameters of each node. The demixing module is used to input the high-dimensional observation trajectory tensor into a preset topological constraint demixing network, combine the topological impedance matrix to perform blind source separation of the mixed fault signals, and output several independent fault source signals and the node affiliation probability distribution of each independent fault source signal. The positioning module is used to perform multi-domain feature encoding on each of the independent fault source signals, generate a fault characterization vector, and map the fault characterization vector to the corresponding bus node based on the node affiliation probability distribution to complete the fault positioning.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the vehicle bus communication fault location method as described in any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the vehicle bus communication fault location method as described in any one of claims 1 to 7.
