A method for predicting the residual service life of a dynamic system based on adaptive small-world sensor association graph construction and topology multiplexing
By constructing a static sparse sensor association graph with a small-world network topology, the problems of excessive edge number and high computational overhead in the sensor association graph of the dynamic system are solved, achieving efficient information propagation and stable prediction of remaining lifetime.
Patent Information
- Application Number
- CN202611354947.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-03
- Publication Date
- 2026-11-24
AI Technical Summary
In existing predictions of the remaining service life of power systems, the sensor-related graph has too many edges, resulting in high computational overhead, long local information propagation paths, and graph structure that is prone to drift with operating conditions, affecting the accuracy and stability of the model.
A static sparse sensor association graph is constructed using a small-world network topology. The small-world sensor association graph is formed by using a ring-shaped regular lattice and probabilistic random reconnection. It is then embedded in a graph neural network to generate a fixed adjacency structure for information propagation, thereby reducing the number of edges and maintaining stability.
It realizes a sensor association graph with controllable edge count, low computational overhead, and efficient information propagation, which improves the stability of cross-sensor information propagation and the generalization ability of the model, and reduces computational and storage overhead.
Smart Images

Figure CN123159407A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of power system remaining service life prediction, condition monitoring, multi-sensor time-series modeling, and graph neural network technology. Specifically, it relates to a method for predicting the remaining service life of power systems based on a static small-world sensor association graph and a graph neural network based on information propagation theory. This method is designed for complex power systems such as aero-engines, gas turbines, and wind turbines. It constructs multi-sensor time-series channels as a static, sparse, and connected small-world sensor association graph, and uses this graph as the adjacency structure of a graph convolutional network to improve the efficiency of cross-sensor spatial coupling feature extraction and cross-operating condition generalization ability in power system remaining service life prediction. Background Technology
[0002] Power systems such as aircraft engines, gas turbines, and wind turbines typically consist of multiple coupled components that continuously generate multi-source sensor signals, including those related to temperature, pressure, speed, vibration, and flow rate, during long-term operation. These sensor signals can reflect the operating conditions, performance degradation status, and coupling relationships between components of the power system from different perspectives, providing a crucial data foundation for predicting remaining service life.
[0003] Due to the complexity of the power system structure and the variability of operating conditions, the degradation processes of different components typically exhibit nonlinearity, time-varying characteristics, and mutual coupling. Different sensor signals are not independent but may be correlated through component connections, airflow relationships, energy transfer relationships, or shared operating conditions. Relying solely on a single sensor signal, or only modeling the changes of each sensor signal along the time dimension, makes it difficult to fully utilize the degradation correlation information contained between different sensors, thus limiting the accuracy and stability of remaining service life prediction.
[0004] Graph neural networks (GNNs) can represent multiple sensor channels as graph nodes, the relationships between sensors as edges in the graph, and aggregate features of adjacent nodes according to preset adjacency relationships. Therefore, they can be used to extract spatial coupling features between multiple sensors. In the sensor association graph, the graph structure determines which sensor nodes can directly exchange information, further influencing the propagation range and path of node information, as well as the computational cost of the GNN. Therefore, the construction method of the sensor association graph is a crucial factor affecting the remaining lifetime prediction performance of the GNN.
[0005] The sensor correlation graphs used in the prediction of the remaining service life of existing power systems are mainly constructed using fully connected graphs, dynamic graphs based on data correlation, and local graphs based on nearest neighbor relationships.
[0006] The first approach uses a fully connected graph, where every two sensor nodes are connected. For an undirected fully connected graph with n sensor nodes, the number of edges is n(n-1) / 2, which increases proportionally with the number of sensor nodes by O(n^2). 2 The computational and storage overhead of fully connected graphs increases as the number of sensor nodes increases. This is because graph convolution requires feature transfer and neighborhood aggregation along the connected edges in the graph, which is not conducive to the lightweight deployment of remaining lifetime prediction models.
[0007] Furthermore, fully connected graphs assume a direct information exchange relationship between any two sensors, which can easily introduce a large number of redundant connections with low correlation or lack of practical significance. The propagation of irrelevant node information in the graph may interfere with effective degradation features and cause the features of different nodes to become similar after multi-layer aggregation, thereby reducing the model's ability to identify different degradation states.
[0008] The second approach is to dynamically construct a sensor map based on the correlation of input data. This involves calculating the correlation coefficients, distances, or similarities between different sensor channels based on the current input samples, and determining the connections between nodes accordingly. This method typically requires repeatedly calculating pairwise relationships between sensor channels during model training or inference, adding extra mapping overhead and inference latency.
[0009] Meanwhile, the graph structure generated based on the current input samples is highly dependent on the data distribution of the samples. When the speed, load, environmental conditions, or operating stage of the power system changes, the correlations calculated between different sensors may change accordingly, thus altering the graph structure corresponding to different samples. Frequent changes in the dynamic graph structure can easily lead to instability in the sensor information propagation path and may cause the model to become overly reliant on local correlations under specific operating conditions in the training data, affecting the model's generalization ability under different operating conditions and different degradation stages.
[0010] Furthermore, dynamic graphing methods may generate different adjacency structures during the training and inference phases. The neighboring nodes and information sources corresponding to the same sensor node may change in different samples, which is not conducive to maintaining the consistency of the propagation relationship of degraded information from multiple sensors, and also increases the difficulty of model deployment and result reproduction.
[0011] The third approach is to use a k-nearest neighbor-based local graph construction method, which selects the k nearest neighbors for each sensor node based on a preset distance metric. While this method can reduce the number of connected edges in the graph, it usually requires manually setting the number of nearest neighbors k, and the graph construction result is easily affected by feature dimensions, noise levels, data normalization methods, and distance metric methods.
[0012] For different types of sensors, such as temperature, pressure, rotational speed, vibration, and flow rate, their physical meanings, data ranges, and variation characteristics differ. If nearest neighbor relationships are determined directly based on numerical distance or statistical similarity, the resulting local connections may not stably reflect the actual degradation correlations between sensors.
[0013] Meanwhile, traditional nearest-neighbor graphs primarily emphasize local connections between nodes, easily forming several local clusters, while different local regions may lack direct information exchange channels. Sensor nodes in different regions often need to go through multiple intermediate nodes to complete information exchange, resulting in a long propagation path for degraded information across regions. To expand the information acquisition range of nodes, it is usually necessary to increase the number of graph convolutional layers. However, increasing the number of graph convolutional layers leads to higher computational costs and may cause problems such as excessive smoothing of node features.
[0014] In addition to the methods mentioned above, some sensor maps are constructed based on prior physical connections or human experience. While these methods can reflect the structural relationships between components to some extent, they typically rely on expertise in specific power systems. Furthermore, different power systems differ in structural composition, sensor configuration, and measurement point arrangement, making it difficult to directly transfer manually constructed map structures to other devices or other sensor configurations.
[0015] It is evident that existing sensor correlation graph construction methods typically suffer from the following shortcomings: fully connected graphs have a large number of edges, resulting in a significant computational burden; dynamic correlation graphs require repeated graph construction, and their structure is prone to changes with samples and operating conditions; nearest neighbor graphs emphasize local connectivity, leading to longer information propagation paths between sensors across regions; and manually constructed prior graphs rely on specific equipment structures and professional experience, limiting their applicability.
[0016] In the process of predicting the remaining service life of a power system, the sensor association graph not only needs to control the number of connecting edges and the computational overhead of the graph, but also needs to ensure effective information transmission channels between different sensor nodes, while taking into account both local sensor relationships and cross-regional sensor information interaction. At the same time, the graph structure should remain stable during the training and inference phases to avoid adjacency drift caused by changes in input samples or operating conditions.
[0017] Therefore, how to construct a sensor association graph with controllable edge count, low computational overhead, stable structure, and high information propagation efficiency, while preserving local sensor associations and shortening the information propagation path between cross-regional nodes, and ensuring that a consistent graph structure is used in the training and inference phases, is an urgent technical problem to be solved in predicting the remaining service life of multiple sensors in dynamic systems. Summary of the Invention
[0018] This invention aims to address the problems of excessive sensor graph edges, high dynamic graph construction overhead, long local graph information propagation paths, and graph structure drift with operating conditions in existing power system remaining service life prediction methods. It provides a remaining service life prediction method that embeds small-world network topology and information propagation theory into a graph neural network prediction process. This technique represents the degradation coupling relationship between sensor channels as a static, sparse, and connected small-world sensor association graph, and embeds this association graph into a joint prediction process of a graph neural network and a temporal regression network. This allows the topological characteristics of small-world networks—"high clustering coefficients and short average path lengths"—to directly serve cross-sensor degradation information propagation and remaining service life regression prediction.
[0019] The technical problem to be solved by the present invention is achieved through the following technical solution.
[0020] A method for predicting the remaining useful life of a dynamic system based on adaptive small-world sensor correlation graph construction and topology reuse, using a multi-sensor operating state sequence within a preset time window. As input, B represents the batch size, n represents the number of sensor channels, and L represents the time window length; the n sensor channels are used as n graph nodes to form a node set. The method includes steps S1 to S8. This graph neural network is mainly divided into: The single-graph bidirectional edge index generation process in steps S1 to S4 and step S5 is executed once during the model initialization phase; the batch graph edge index generation process in step S5 and steps S6 to S8 are executed for each batch of input. The generated bidirectional edge indexes are registered in the model as a fixed adjacency structure and reused in subsequent training and inference processes. Step S3 truly forms the initial small-world sensor association graph through probabilistic random reconnection; step S4 improves its connectivity to obtain the final connected small-world sensor association graph; step S5 generates the bidirectional edge indexes of this small-world network and registers them as a fixed buffer for the model, which is reused in subsequent training and inference processes; steps S6 to S8 are executed for each batch of input to extract the graph-level spatial coupling features, temporal degradation features, and statistical features of the small-world network, and output the predicted value of the remaining service life of the dynamic system. The outputs of each step constitute the explicit inputs of the next step.
[0021] S1. Node modeling and target degree determination based on information propagation theory.
[0022] Given the number of sensor channels n and a fixed channel order in the input power system, a node set V is established. The information propagation design objective is to reduce the number of propagation hops required to form a large receptive field while maintaining graph sparsity. The target degree k and half-degree m are adaptively determined based on the number of nodes n.
[0023] Step S1.1: Calculate the basic degree k0 according to formula (1): (1) In equation (1), This indicates the number of sensor channels participating in the remaining useful life prediction, and also the number of nodes in the sensor correlation graph. ; This represents the base degree calculated from the number of nodes; Represents the natural logarithm; Indicates rounding down; This indicates that the maximum value within the parentheses is taken to ensure that the base degree is not less than 2; This indicates taking the minimum value within the parentheses, used to ensure that the base degree does not exceed the maximum number of other nodes that a single node in a graph without self-loops can connect to. The calculation order of equation (1) is as follows: first calculate... Round down to the nearest integer and then restrict it to... Within the scope. With As a degree benchmark, keep the target edge count at 100%. The order of magnitude is used to preserve margins for graph connectivity and cross-node propagation. Specifically, the number of undirected edges in a ring-shaped regular lattice before probabilistic reconnection is... ;when Pick At the order of magnitude, the number of undirected edges is In contrast, in a fully connected undirected graph without self-loops, each node is connected to the other n-1 nodes, and each undirected edge is counted twice by its two endpoints; therefore, the number of undirected edges is 1 / n. Therefore, as the number of nodes increases, the target degree determined in this step can keep the connection scale sparse and avoid directly connecting all node pairs.
[0024] Step S1.2: Fine-tune the basic degree according to the node size, as shown in equation (2): (2) In equation (2), This indicates the base degree based on the node size. The candidate degrees obtained after fine-tuning; Indicates in Increase the base degree by 1, but not exceeding 1. ; Indicates in The seasonal candidate degree must be at least 3; "Other" indicates ,at this time This segmentation process is used to avoid insufficient connectivity in small-scale graphs while preserving basic local propagation capabilities for larger-scale graphs.
[0025] Step S1.3: To construct a left-right symmetrical ring-shaped regular lattice, the target degree k should be an even number and must not exceed the maximum degree allowed without a self-loop diagram. The maximum even degree is determined according to equation (3). Target degree k and half degree m: (3) In equation (3), This indicates that under conditions without self-loops, it does not exceed The formula for calculating the maximum even degree is: It is guaranteed to be an even number; The candidate degree is obtained by expression (2); This indicates that candidate degrees will be prioritized and adjusted upwards to even numbers; Used to restrict the evenness result to within; This represents the final target degree, which is the number of neighbors of each node in the ring-shaped lattice before reconnection; Indicates half a degree. That is, the number of nearest neighbors connected to each node along one direction of the ring; This indicates rounding up. By using the maximum even degree constraint, we can avoid exceeding the limit after evenening the degree of candidate candidates. Step S1 outputs the node set. Target degree and half degree and will , , As input for step S2.
[0026] S2, Ring-shaped regular lattice construction.
[0027] Based on the node set V, target degree k, and half degree m output in step S1, n sensor nodes are arranged sequentially on the ring according to a fixed channel order, so that each node is connected to the m nearest neighbor nodes on the left and right sides of the ring, resulting in the initial edge set E0, as shown in equation (4): (4) In equation (4), Represents the initial set of undirected edges of a toroidal lattice; Represents a set of sensor nodes; Indicates the current sensor node number; This represents the node position offset along the positive direction of the ring, and ; The half degree is obtained from equation (3); Indicates to Execution Module Operations that cause the number to exceed The process restarts from 0, thus achieving a closed loop; the vertical bar "|" represents a set composed of elements that satisfy the conditions following it. Since each node is only explicitly connected in the positive direction... Each node can be used to form the left and right edges simultaneously using undirected edges. Each edge is a nearest neighbor. Each edge is normalized to a unique undirected edge according to equation (5): (5) In equation (5), Represents a node With nodes The normalized undirected edges between them; and These are the two endpoints of the edge; Indicates the smaller value among the two endpoint numbers; This represents the larger value among the two endpoint numbers. By fixing the smaller number in the first position and the larger number in the second position, we can... and They share the same storage format, thus avoiding duplicate edges and preventing the omission of connections at annular joints. The initial number of undirected edges is shown in equation (6): (6) In equation (6), Represents the initial edge set The number of undirected edges contained therein; Indicates the number of nodes; This represents the number of nearest neighbors connected to each node along one side of the ring; This represents the target degree of each node in a toroidal lattice, and Each node has There are 3 adjacency relationships, and the sum of the degrees of all nodes is 1. Since each undirected edge is counted by both endpoints, the number of undirected edges is . ,that is .
[0028] Ring-shaped regular lattices have high clustering properties, allowing adjacent or functionally related sensor nodes to share local neighborhoods, thus preserving local degenerate coupling relationships; however, their drawback is the long paths between distant nodes. Step S2 outputs the initial edge set E0, and uses E0 as the edge set to be reconnected in step S3.
[0029] The fixed channel sequence can be determined based on the physical installation location of the sensor, the direction of the air path or energy flow, and the functional relationship of the components. When the physical relationship is not available, a channel sequence that is fixed in the data can be used, but it must be consistent during the training and inference phases.
[0030] S3. Construction of small-world networks based on probabilistic random reconnection.
[0031] Based on the initial edge set E0 of the ring regular lattice output in step S2, and by reading the preset reconnection probability p and random seed seed, probability determination is performed on each edge in E0. When the random number r satisfies Equation (7) and r<p, random reconnection is performed on the current edge; otherwise, the original edge is retained: (7) In Equation (7), represents the random determination value generated for the current undirected edge to be processed; represents the interval continuous uniform distribution on the interval; the symbol " " indicates that the random variable follows the aforementioned distribution; represents the preset reconnection probability, and . When reconnection is triggered, and when the original edge is retained. The random seed is used to initialize the pseudo-random number generator, so that a reproducible determination sequence can be obtained under the same parameter conditions.
[0032] During reconnection, one endpoint u of the original edge is retained, and the other endpoint is reconnected to the candidate node w; the candidate node must satisfy Equation (8) to avoid self-loops and duplicate edges: (8) In Equation (8), represents the unchanged endpoint in the original edge; represents the set of nodes randomly selected candidate reconnection node; represents the set of all sensor nodes; represents the set of normalized undirected edges that currently exist; used to avoid self-loops; used to normalize the candidate connection into a unique undirected edge; the symbol " " indicates that the candidate edge does not yet exist in the current edge set , which is used to avoid duplicate edges. For each edge that triggers reconnection, it is preferable to try at most x times (preferably 20 times) to select a legal candidate node; if all attempts fail, the original edge is restored. The probability reconnection stage keeps the total number of undirected edges unchanged; only when the graph is disconnected, the connectivity repair stage supplements the minimum number of edges. the ring regular lattice is maintained, approaching 1 tends to be a random graph; preferably is , this embodiment takes . Fixed enables consistent static topology for training, validation, and deployment.
[0033] This step is crucial for the true formation of the small-world network graph structure and represents the core application of information propagation theory in graph structure design: by shortening the shortest paths between distant nodes using a few cross-regional shortcuts, a shorter average path length is obtained while maintaining relatively high local clustering characteristics, thus forming the initial small-world sensor association graph. ,in This is the initial small-world edge set after probabilistic random reconnection.
[0034] Optionally, after obtaining the final connected small-world sensor association graph in step S4, the average clustering coefficient C is calculated to evaluate the degree of preservation of local coupling relationships offline, as shown in equation (9): (9) Optionally, after obtaining the final connected small-world sensor association graph in step S4, the average path length is calculated to evaluate the average propagation distance of cross-sensor information offline. As shown in equation (10): (10) In equation (9), The average clustering coefficient of the sensor correlation graph Represents a node The local clustering coefficient; Represents a node The degree, that is, the degree with the node The number of directly connected neighbor nodes; Represents a node of The actual number of undirected edges between neighboring nodes; Represents a set of nodes Summing all nodes in the array. When At that time, node There are no two neighbors that can form a triangular relationship, so let .because At most, there can be a maximum of [number] neighbors. The edge is undirected, therefore This represents the ratio of the actual number of neighboring edges to the maximum possible number of neighboring edges.
[0035] In equation (10), Sensor correlation diagram The average path length; This represents the final small-world sensor correlation graph obtained after step S3 is formed and connectivity is ensured in step S4. ; and This represents two distinct nodes; This means that each unordered node pair is counted only once; Represents a node To the node The number of edges contained in the shortest path, i.e. the number of hops in the shortest path; Indicates all Sum of the shortest paths for unordered node pairs; coefficients Used to calculate the average value.
[0036] A larger C value indicates a tighter local connection. The smaller the value, the fewer hops are needed on average to reach the cross-node information. C. The information propagation efficiency η, described later, can be used during the design phase to select p or verify the implementation, but is not required to be calculated online for each training batch or each inference. Step S3 outputs the initial small-world sensor correlation graph. And use it as the input for step S4 connectivity detection and repair.
[0037] S4. Connectivity detection and minimum edge replacement for small-world networks.
[0038] Based on the initial small-world sensor correlation graph formed in step S3 A breadth-first search is used to check if the initial small-world sensor graph is connected. If the number of visited nodes equals n, it is directly identified as the final connected small-world sensor graph. If the graph contains c connected components, then a disjoint-set data structure is used to obtain each connected component, and representative nodes in adjacent connected components are connected sequentially, adding a total of c-1 undirected edges to obtain the final connected small-world edge set. and the final connected small world sensor association diagram .
[0039] This step uses global reachability as a hard constraint: the average path length is only meaningful for reachable node pairs; if the graph is not connected, at least one sensor channel cannot receive degraded information from other components. Using c-1 additional edges is the minimum number of edges required to ensure full graph connectivity when connecting c components, guaranteeing information propagation to all nodes without significantly compromising sparsity. Step S4 does not reconstruct another type of graph, but instead ensures global information reachability based on the small-world network formed in step S3; its output is the final connected small-world sensor association graph. And pass it to step S5.
[0040] S5, Small-world network fixed bidirectional edge index and batch graph adjacency structure generation.
[0041] Based on the final connected small-world sensor association graph output in step S4 , gather the small world Each undirected edge in Expand as and Two directed edges, joined together, result in the shape of Single graph bidirectional edge index matrix The aforementioned The edge index matrix is generated in the network and stored as a fixed edge index data. It is not used as a trainable parameter in gradient updates, nor is it recalculated based on the current sample. Instead of performing fixed registration, a fixed bidirectional edge index matrix of the single graph is used during each forward propagation, based on the current batch size B. The node number offset is applied and then temporarily generated after splicing.
[0042] (11) In equation (11), This represents the bidirectional edge index matrix of the single graph used by the graph convolutional layer. This represents the set of undirected edges in the final connected small-world network output from step S4; Indicates from node Pointing to node The directed edges; This represents a directed edge in the opposite direction; and The two endpoints of an undirected edge; the vertical bar "|" represents the two endpoints of an undirected edge. Each undirected edge in the array undergoes bidirectional expansion. If Let be the number of undirected edges in the final small-world graph. Include There are 1 directed edge, and the matrix shape is . .
[0043] For an input with batch size B, apply a node number offset to the single graph edge index of the b-th sample. And by splicing along the edge dimensions, we obtain the edge index matrix of the batch graph. : (12) In equation (12), This represents the bidirectional edge index matrix of the batch graph; This represents the sample number in the batch, with a value of [value]. ; Indicates the first The offset of the node number of each sample image relative to the 0th sample image; This indicates that the node numbers in the single graph edge index will be incremented simultaneously. ; This indicates concatenation along the column direction of the edge index. The above offset makes... Each sample graph is computed in parallel without crosstalk during a single graph convolution, and each sample reuses the same final small-world topology obtained in step S4. Step S5 saves the fixed single-graph bidirectional edge index matrix generated during the initialization phase. And generate a batch graph edge index matrix for the current input batch. The current batch This serves as the adjacent input for propagating graph convolution information in step S6.
[0044] S6, Node Feature Encoding and Spatial Information Propagation Based on Final Small-World Networks.
[0045] Based on the multi-sensor operating state sequence X and the small-world network batch graph edge index matrix output from step S5 For the sequence of the i-th sensor channel within the time window A multilayer perceptron encoder shared by all sensors is used to map them to a unified dimension. And superimpose the identity embedding of the i-th sensor The initial features of the nodes are obtained: (13) In equation (13), Indicates the first Each sensor has a length of The original sequence within the time window; Indicates the sensor node number; This represents the multilayer perceptron coding function shared by all sensors; This indicates the result of unified dimension encoding; Indicates the first Learnable identity embedding for each sensor; Indicates the dimension of the unified node encoding; This indicates the first convolutional layer of the input graph before the first layer convolution. Initial features of each node. Addition requirements. and Dimensional consistency is used to inject sensor identity information while sharing coding parameters.
[0046] Furthermore, the shared multilayer perceptron encoder sequentially includes: Fully connected layers, batch normalization layers, ReLU activation layers, Dropout layers with a dropout rate of 0.1, and A fully connected layer. Sensor identity embedding is used to preserve the identity differences between different channels while sharing parameter encoding.
[0047] The initial features of the nodes and the representation of the final small-world sensor association graph are used to connect the nodes. Small World Network Batch Graph Edge Index Matrix The input feature matrices are used to form the first layer of graph convolution. Adjacency Matrix of Batch Graph and will and The propagation rule of the input two-layer graph convolutional network is shown in equation (14): (14) In equation (14), This indicates that the initial features of each node are stacked according to the order of nodes within the batch to form an initial node feature matrix. ; This indicates the edge index matrix of the small-world network. Construct the corresponding batch graph adjacency matrix; Indicates the graph convolutional layer index; Indicates the first The layer input consists of a spatially coupled feature matrix of all sensor nodes, with rows corresponding to nodes and columns corresponding to feature dimensions. Indicates the first Layer outputs node-level spatial coupling feature matrix; The adjacency matrix is defined by the small-world sensor association graph; the batch graph adjacency matrix Small-world network edge index matrix Obtained by construction; Indicates and Identity matrices of the same order; This represents the adjacency matrix after adding a node's self-loop, allowing the node to retain its own characteristics when aggregating neighbor information; express The corresponding degree matrix, its first degree The diagonal elements are No. The sum of the elements in the row; Represents the inverse square root of the degree matrix; Represents a symmetric normalized adjacency matrix; Indicates the first Learnable weight matrix for layer graph convolution; This represents the non-linear activation function applied to the aggregation result. After the first layer of graph convolution, batch normalization, ReLU, and Dropout are performed sequentially; after the second layer of graph convolution, batch normalization and ReLU are performed.
[0048] Spatial information propagation in this step is implemented as a computable hop-by-hop aggregation mechanism: one layer of graph convolution corresponds to one hop of neighborhood information propagation, and q layers of graph convolution cover the q-hop neighborhood. Under ideal, non-repeating diffusion conditions, the number of nodes reachable from any node via h hops is calculated as follows: The estimated number of hops required to grow and form the global receptive field is shown in equation (15): (15) In equation (15), This represents a theoretical estimate of the number of propagation hops required to form a global receptive field from any source node under ideal, non-repeating propagation conditions; this formula is derived from the ideal conditions. It can be deduced that each hop in the propagation can reach approximately The number of new nodes is multiples of the original number. Equation (15) is not equivalent to the actual diameter of the diagram, nor does it guarantee that the new nodes will pass through the original diameter. Skip to strictly cover all nodes because actual neighborhoods may overlap, and the degrees of nodes after random reconnection may not be exactly the same. The shortcut introduced in step S3 is used to shorten the actual shortest path, allowing shallower graph convolutions to achieve a larger effective coverage. Define information propagation efficiency. The reciprocal of the average path length is shown in equation (16): (16) In equation (16), This indicates the information propagation efficiency of the sensor correlation diagram; The average path length is calculated using expression (10). and Inversely proportional, The smaller The larger the value, the fewer hops the information between any two sensor nodes needs to travel on average. This is one of the normalized descriptions of the ease of topological propagation; it does not represent the actual propagation speed of physical signals, nor does it require online computation during each forward propagation of the model. The node-level spatial coupling feature matrix is obtained after two layers of graph convolution. The small-world spatial coupling characteristics are obtained by taking the arithmetic mean along the second dimension containing the n sensor nodes for each sample. : (17) In equation (17), This represents the graph-level spatial coupling features of the small-world network obtained after performing two layers of graph convolution on the final small-world sensor association graph; This represents the node-level spatial coupling feature of the i-th node after two layers of graph convolution; This represents the mean pooling coefficient for each node. Mean pooling eliminates the node dimension and yields a fixed-dimensional full graph representation for each sample. Step S6 outputs the small-world network graph-level spatial coupling features. This feature serves as the direct carrier for subsequent steps to utilize small-world network information. On the one hand, it is directly passed to step S8 to participate in the final fusion, and on the other hand, it serves as spatial enhancement information for the time branch of step S7.
[0049] S7. Parallel extraction of temporal degradation features and statistical features based on graph-level spatial coupling features.
[0050] Based on the original multi-sensor operating state sequence X and the small-world network graph-level spatial coupling characteristics output from step S6 .according to Figure 1 As shown, this step sets up a time degradation feature branch (S7-A) and a statistical feature branch (S7-B), which are executed in parallel for the same batch of inputs. S7-A simultaneously receives the original multi-sensor time-series input and graph-level spatial coupling features to extract time degradation features enhanced by cross-sensor spatial information. S7-B directly receives the original multi-sensor time-series input and extracts the overall level and fluctuation features of each sensor within the current time window. Step S7 outputs the time degradation feature T and the statistical feature S, and passes them to step S8. The graph-level spatial coupling features output in step S6 are also retained and bypassed from the feature mapping process in step S7, being directly passed to step S8.
[0051] S7-A, temporal degradation feature extraction enhanced by graph-level spatial coupling features.
[0052] First, the multi-sensor operating state sequence X is adjusted from an arrangement with sensor channels as the second dimension to a time-series arrangement based on time steps, so that each time step corresponds to a feature vector composed of the current observations of all sensors. For an input with batch size B, number of sensor channels n, and time window length L, the adjusted time-series data maintains the original sample correspondence, sensor order, and time sequence unchanged, only changing the arrangement of tensor dimensions to meet the input requirements of the bidirectional long short-term memory network for processing data step by step.
[0053] Subsequently, the graph-level spatial coupling features obtained in step S6 are... The process extends along the time dimension to the same L time steps as the original multi-sensor operating state sequence X, ensuring that each time step of the same sample includes a global spatial context obtained through fixed small-world sensor association graph propagation and node pooling. This extension only applies the same graph-level features to each time step of the sample, without re-performing small-world graph construction, changing the fixed bidirectional edge index generated in step S5, or adding new graph structure parameters. The original multi-sensor operating state sequence X of each time step is concatenated with the corresponding graph-level spatial coupling features along the feature dimension to form a temporal input with enhanced spatial information. Thus, each time step retains both the original multi-sensor observation information at that moment and the graph-level association information formed by cross-sensor information propagation under the fixed small-world topology.
[0054] The spatially enhanced temporal input is fed into a single-layer bidirectional long short-term memory (LSTM) network. The LSM network processes the entire time window along both the forward and reverse temporal directions, merging the hidden states in both directions at each time step to extract the bidirectional dependency of sensor state evolution over time. Based on the aforementioned spatially enhanced temporal input structure, the input dimension of the bidirectional LSM network is determined by the number of sensor channels and the dimension of the graph-level spatial coupling features. The hidden dimension in each direction is R (preferably 25), thus each time step outputs a 2R-dimensional bidirectional temporal representation.
[0055] The outputs of the bidirectional Long Short-Term Memory (LSTM) network at all time steps are subjected to mean pooling along the time dimension, converging the temporal representations of length L into a window-level temporal representation corresponding to each sample. This temporal mean pooling is a deterministic operation and does not calculate learnable attention weights; therefore, deterministic temporal mean pooling is used in this step. The pooled 2R-dimensional features are then passed sequentially through a first fully connected layer, a ReLU activation layer, a Dropout layer with a dropout rate of 0.2, a second fully connected layer, and another ReLU activation layer. The first fully connected layer maintains the 2R-dimensional representation, while the second fully connected layer maps it to... dimensional time degradation feature T, where This represents the dimension of time-degradation features; in this embodiment, R=25. =10. The time degradation feature is output as S7-A and passed to step S8.
[0056] S7-B, Statistical feature extraction based on the mean and standard deviation of the time window.
[0057] The statistical feature branch directly receives the original multi-sensor operating state sequence X, without using the graph-level spatial coupling features output in step S6, nor passing through the graph convolutional network and bidirectional long short-term memory network. For each sample, the mean and standard deviation of each sensor channel are calculated along the time window dimension, where the mean reflects the overall state level of the sensor within the current time window, and the standard deviation reflects the degree of fluctuation of the sensor within the current time window. After calculation, the mean features and standard deviation features of all sensor channels are concatenated along the feature dimension to obtain a statistical feature vector that simultaneously contains window level information and fluctuation information.
[0058] The statistical feature vector is input into a statistical feature mapping network, passing sequentially through a fully connected layer, a ReLU activation layer, and a Dropout layer with a dropout rate of 0.2, thus mapping the feature vector composed of the mean and standard deviation of each sensor to... Dimensional statistical characteristics S, where This represents the statistical feature dimension; in this embodiment... =10. This statistical feature is used to supplement the window distribution information that may be weakened during graph convolution propagation and time series modeling, and is passed to step S8 as the output of S7-B. Thus, step S7 takes the original multi-sensor time series input and the graph-level spatial coupling feature from step S6 as input, and outputs the temporal degradation feature T and the statistical feature S in parallel.
[0059] S8, fusion of graph-level spatial coupling features, temporal degradation features and statistical features, and output of remaining lifetime.
[0060] Receive the temporal degradation feature T output from step S7-A, the statistical feature S output from step S7-B, and the small-world network graph-level spatial coupling feature directly passed from step S6. The three types of features are arranged in the order of the same batch of samples, with each row corresponding to a time window sample of the same dynamic system. They are classified according to time degradation feature T, statistical feature S, and graph-level spatial coupling feature. The data is then spliced along the feature dimension to form a unified and fused feature; during the splicing process, only the feature dimension of the same sample is expanded, and data is not exchanged or mixed between different samples.
[0061] Among them, temporal degradation features are used to characterize the bidirectional temporal dependence and degradation evolution law after graph-level spatial information enhancement; statistical features are used to characterize the average state and fluctuation degree of each sensor signal within the current time window; and graph-level spatial coupling features are used to characterize the cross-sensor correlation information formed by each sensor node after two layers of graph convolution propagation on a fixed small-world topology. The combined use of these three types of features ensures that the final regression input simultaneously includes information from three aspects: spatial coupling, temporal evolution, and window statistical distribution.
[0062] In a preferred embodiment, the temporal degradation feature and statistical feature are both 10-dimensional, and the graph-level spatial coupling feature is 8-dimensional. These three are concatenated to form a 28-dimensional fusion feature. This fusion feature is input into a single-layer fully connected regression layer, which directly maps the fusion feature of each sample to a remaining useful life scalar. No ReLU, Sigmoid, or other nonlinear activation functions are applied after the regression layer. The final output shape is the batch size multiplied by 1, and each output value corresponds to the predicted remaining useful life of the dynamic system for one input time window sample.
[0063] During the training phase, the predicted results output from this step are compared with the corresponding true remaining useful life labels, and an error signal is generated by the regression loss function set externally to the model. Backpropagation updates the learnable parameters in the shared encoder, sensor identity embedding, graph convolutional layer, bidirectional long short-term memory network, temporal feature mapping network, statistical feature mapping network, and fully connected regression layer. The bidirectional edge index of the fixed small-world network generated and registered in step S5 is only used to determine the information propagation relationship between nodes and does not participate in gradient updates as learnable parameters. During the inference phase, the multi-sensor operating state sequence of the dynamic system to be predicted at the most recent L time points is input. The fixed small-world graph, spatial information propagation, temporal and statistical feature extraction, and the feature fusion and regression output process from this step are reused sequentially to obtain the predicted remaining useful life of the dynamic system at the current time.
[0064] The beneficial effects of this invention are as follows.
[0065] (1) Lightweight sensor graph construction for predicting the remaining service life of the power system: This invention replaces the fully connected graph with a sparse small-world graph. The fully connected graph has n(n-1) / 2 edges, which is O(n^2) / 2. 2 The number of edges in this invention is on the order of O(nlnn), while the number of edges in this invention is approximately nk / 2 ≈ nlnn, which is on the order of O(nlnn). The number of edges is significantly compressed as the size of the sensor nodes increases, and the number of connections that the model depends on is greatly reduced. More importantly, the graph structure of this invention is generated by the graph construction algorithm in steps S1 to S5 based on the number of sensor nodes n, the pre-determined sensor node order, the reconnection probability p, and the random seed, without introducing learnable parameters. The resulting bidirectional edge indices are registered in the model in the form of a fixed buffer and do not participate in gradient updates and backpropagation. Compared with schemes based on attention or learnable adjacency matrices that require additional training parameters for the graph structure itself, this invention provides high-quality sparse topology without increasing the number of model parameters or training burden, and is more convenient for lightweight deployment.
[0066] (2) Graph computation efficiency and one-time construction, full reuse: The computational cost of graph convolution is proportional to the number of edges. The computational cost of the sparse aggregation term in Equation (14) is reduced from O(n) for fully connected graphs. 2The feature dimension is reduced to O(|E|·F) = O(nlnn·F) in the small-world model, where F is the feature dimension. Unlike dynamic graphs based on data correlation, which require recalculating the adjacency matrix for each sample during each forward propagation, the small-world graph of this invention is constructed all at once during the initialization phase of the remaining lifetime prediction model and reused throughout the entire training and inference process in the form of a fixed buffer. This eliminates the need to rebuild the graph batch by batch and sample by sample, thus avoiding the need to recalculate the sample-related adjacency structure during each forward propagation. In training with batch dimensions, multiple samples can be processed in parallel using the same topology simply by applying sensor node offsets to the edge indices of the same single graph, further improving training efficiency. Furthermore, this invention compresses the average path length to the order of magnitude by using a small number of reconnection shortcuts, significantly improving the efficiency of information propagation on the graph. This allows the model to achieve near-global feature aggregation with only a few graph convolutional layers, without needing to deepen the network to expand the receptive field, thereby simultaneously reducing computational and storage overhead in terms of connection number, network layer number, and graph building frequency.
[0067] (3) Cross-condition generalization ability: The small-world structure has both a high clustering coefficient (preserving strong local coupling) and a short average path length (efficiently reaching global information). The shortcuts introduced by random reconnection break the fixed pattern of the ring-shaped regular lattice, injecting appropriate structural diversity into the graph structure and reducing the dependence on the correlation of specific channels; moreover, the graph structure of this invention is independent of the specific sample data distribution and does not drift with the operating conditions, thus having stronger cross-condition predictive ability in cross-condition and cross-data distribution scenarios.
[0068] (4) Accuracy and stability of remaining useful life prediction: This invention replaces the dynamic correlation graph with a static small-world graph. The graph structure is repeatedly reused after being constructed once during the training and inference stages, and does not drift with samples and operating conditions, thus avoiding structural jitter caused by distribution changes in the dynamic graph. Sparse edges can limit the propagation range of cross-sensor information, which is beneficial to reduce redundant information interaction between unrelated channels. The cross-regional connection formed by reconnection shortcuts can provide a shorter propagation path for information aggregation between distant sensor nodes, and is beneficial to reduce the model's dependence on local fixed connection patterns. As shown in the comparative experiments in the specific implementation below, the dynamic system remaining useful life prediction model using the small-world sensor correlation graph of this invention achieves the lowest score function value on subsets with multiple operating conditions and variable distributions, and maintains a stable and leading root mean square error on all subsets, verifying the above-mentioned beneficial effects in terms of accuracy and stability.
[0069] (5) Efficient Information Propagation for Cross-Sensor Degenerate Feature Aggregation: This invention designs a graph structure guided by information propagation theory, with the optimization objective of "achieving efficient information propagation in the sensor association graph with fewer connections". As shown in Equation (15), under ideal non-repeating diffusion conditions, the theoretical estimate of the number of propagation hops required to form an approximate global receptive field varies logarithmically with the number of sensor nodes. This invention introduces cross-regional shortcuts through step S3, shortening the shortest path between some distant sensor nodes and improving the information propagation efficiency represented by Equation (16). Based on the correspondence between the number of graph convolutional layers and the hop-by-hop neighborhood aggregation range, this embodiment uses two layers of graph convolution to enable approximately 97.8% of sensor node pairs to interact, thereby obtaining an approximate global feature aggregation range without significantly increasing the network depth. This graph structure, guided by information propagation efficiency, is designed in conjunction with the number of graph convolutional layers, enabling limited sparse connections to serve cross-sensor degenerate feature aggregation and reducing the need to expand the receptive field by deepening the network. Attached Figure Description
[0070] Figure 1 This is an overall flowchart of the remaining lifetime prediction method for the small-world graph neural network of the power system of the present invention; Figure 2 This is a schematic diagram of the ring-shaped regular lattice constructed when n=14 and k=6 in an embodiment of the present invention (before reconnection). Figure 3 This is a schematic diagram of a small-world network obtained after random reconnection in an embodiment of the present invention, wherein the bolded lines represent the 7 newly added shortcuts relative to the initial ring-shaped regular lattice; Figure 4 This is a schematic diagram of the initial construction, fixed reuse, and feature extraction and fusion structure of the small-world sensor association graph of the present invention in the prediction model of the remaining service life of the power system. Detailed Implementation
[0071] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. This embodiment uses multi-sensor remaining service life prediction for aero-engines as an application scenario, with the number of sensors n=14 and the timing window length L=50 for each sensor. The overall process of the present invention is as follows: Figure 1As shown: First, the operating status sequence of multiple sensors of the aero-engine within a preset time window is obtained, and 14 sensor channels are used as graph nodes. Then, a static small-world sensor association graph is constructed all at once during the model initialization phase, generating bidirectional edge indices and registering them as fixed buffers, which are reused during the training and inference phases. These edge indices are then used in graph convolution branches to extract spatial coupling features, as well as temporal degradation and statistical features. Finally, various features are fused, and the predicted remaining service life of the aero-engine is output. The focus of this invention is not solely on protecting the small-world network principle, but rather on using the small-world sensor association graph as the adjacency structure and spatial information propagation carrier in the power system life prediction model.
[0072] Step 1 (corresponding to S1): Determine the adaptive degree. Substitute n=14, calculate 2ln14≈5.28 from equation (1), round down to 5, so k0=max(2,min(13,5))=5. Since 14 is neither less than or equal to 10 nor greater than or equal to 30, take k′=5 according to equation (2); 5 is an odd number, make it even according to equation (3) to get k=6, half degree m=3.
[0073] Step 2 (corresponding to S2): Construction of the ring-shaped regular lattice. Arrange 14 sensor nodes (numbered 0-13) on the ring, with each sensor node connected to its three nearest neighbors on each side. From equation (6), the initial number of edges is |E0| = 14 × 3 = 42. The resulting ring-shaped regular lattice is as follows: Figure 2 As shown, this structure exhibits high clustering but has relatively long paths between remote sensor nodes.
[0074] Step 3 (corresponding to S3): Probabilistic random reconnection. The reconnection probability is set to p=0.2, and the random seed is fixed at 42 to ensure reproducibility. Each edge is judged according to equation (7) and reconnected according to the constraints of equation (8). In this embodiment, a total of 10 reconnection judgments are triggered, deleting 7 original edges and adding 7 shortcuts. After reconnection, the total number of edges remains 42. The several shortcuts generated by the reconnection connect sensor nodes that are far apart on the ring, resulting in a small-world network as follows: Figure 3 As shown, the bolded lines represent reconnection shortcuts.
[0075] Step 4 (corresponding to S4): Connectivity Guarantee. Figure 3 Perform a breadth-first search traversal. The number of sensor nodes visited is 14, which equals n. Therefore, the nodes are considered connected and no edge patching is needed.
[0076] Step 5 (corresponding to S5): Adjacency structure generation. Each of the 42 undirected edges is expanded into two directed edges, resulting in a 2×84 bidirectional edge index matrix, which serves as the adjacency structure for subsequent graph convolutional layers.
[0077] Information dissemination efficiency verification: Based on information dissemination theory, the small-world graph constructed in this embodiment ( , Topological metrics were performed, with an average clustering coefficient of approximately 0.46 and an average path length of [missing information]. The information propagation efficiency η is approximately 0.64, derived from equation (16). In contrast, the average path length of the ring-shaped regular lattice before reconnection is approximately 1.62. For... For small-scale sensor maps, a few reconnection shortcuts have already further shortened the average path length while maintaining high clustering; for dynamic systems with a larger number of sensors, cross-regional shortcuts have a more significant effect on compressing the average path length and reducing the number of propagation hops in graph convolution. The theoretical estimate of the number of propagation hops required to form an approximate global receptive field is calculated by equation (15). Jump. Further, shortest path statistics are performed on the sensor association graph finally generated in this embodiment, and the diameter of the sensor association graph is... That is, the shortest path length between any two sensor nodes does not exceed 3 hops. In all Of the unordered sensor node pairs, 42 pairs have a shortest path length of 1 hop, 47 pairs have a shortest path length of 2 hops, and 2 pairs have a shortest path length of 3 hops. Therefore, the number of node pairs reachable within a two-hop range is 89, and the two-hop node pair coverage is... When the propagation hop count increases to 3 hops, the node pair coverage reaches 100%. The above results show that when using two-layer graph convolution in this embodiment, it is possible to cover approximately 97.8% of the sensor node pairs while maintaining a low network depth, thus obtaining an approximately global receptive field. However, this does not mean that two-layer graph convolution can strictly cover all node pairs.
[0078] Comparison of lightweight graph structure and computational efficiency: In this embodiment, when n=14, the number of edges in the fully connected graph is 14×13 / 2=91, while the small-world graph of this invention has only 42 edges, accounting for approximately 46.2% of the edge count of the fully connected graph, which is more than half. The table below shows a comparison of the number of edges between this invention and the fully connected graph under different sensor sizes. It can be seen that as the sensor node size increases, the edge reduction advantage of this invention becomes more and more significant.
[0079] Table 1. Comparison of the number of edges between the present invention and the fully connected graph under different sensor scales.
[0080] In Table 1, "Edge Ratio" refers to the ratio of the number of edges in this invention to the number of edges in a fully connected graph of the same size; the smaller the ratio, the more significant the compression. It can be seen that when n increases from 10 to 50, the ratio monotonically decreases from 66.7% to 16.3%, which is consistent with the beneficial effect (1) where O(nlnn) is the ratio of O(n)lnn to O(n)lnn. 2 The asymptotic compression conclusion is consistent with that of ).
[0081] Application and implementation methods: such as Figure 4As shown, in the initialization phase of the power system remaining service life prediction model, steps S1 to S5 are executed according to the number of sensor nodes n, the pre-determined sensor node order, the reconnection probability p, and the random seed to construct a static small-world sensor association graph in one go. The obtained bidirectional edge index is registered as a fixed buffer for the model and reused in the training and inference phases. For the input multi-sensor time series, the time series segments of each sensor channel are mapped to channel features of a unified dimension by a shared multilayer perceptron encoder, and the corresponding sensor identity embedding is superimposed to obtain the initial node features. The initial node features and the fixed bidirectional edge index are input into two graph convolutional layers, and node-level spatial coupling features are obtained through spatial neighborhood aggregation. The node-level spatial coupling features are averaged along the node dimension to obtain graph-level spatial coupling features. The graph-level spatial coupling features are extended along the time dimension and concatenated with the original multi-sensor time series features organized by time steps to obtain enhanced time series features. The enhanced time series features are input into a bidirectional long short-term memory network, and its output is averaged along the time dimension, and then passed through a fully connected layer to obtain time degradation features. Simultaneously, the mean and standard deviation of each sensor channel within the time window are calculated separately. The mean and standard deviation are then concatenated and passed through a fully connected layer to obtain statistical features. Finally, the graph-level spatial coupling features, temporal degradation features, and statistical features are concatenated and fused, and the fused features are input into a fully connected regression layer to output the predicted remaining service life of the power system.
[0082] During the training phase, the full life cycle or degradation test data of each power system can be divided into training samples according to a sliding time window of length L. The remaining cycle number, remaining running time, or remaining lifespan after upper limit truncation after each time window is used as supervision labels. After standardizing the multi-sensor inputs, the model parameters are trained using mean squared error loss, Huber loss, or other regression losses. During the inference phase, the multi-sensor operating state sequence of the power system to be predicted at the most recent L time points is input, and the predicted remaining lifespan of the power system at the current moment can be output.
[0083] based on Figure 4 The model structure for predicting the remaining service life of the power system is shown. Comparative experiments were conducted on four subsets of the C-MAPSS turbofan engine degradation dataset, FD001-FD004. The results are shown in Tables 2 and 3.
[0084] Table 2 Comparison of Root Mean Square Error (RMSE) of each method on the four subsets
[0085] Table 3. Comparison of scoring functions (Score) for each method across the four subsets.
[0086] In the comparative experiments above, FD001 and FD003 are single-condition subsets, while FD002 and FD004 are multi-condition subsets containing six conditions; FD003 and FD004 further include two fault modes. The multi-condition subsets cause significant drift in sensor data distribution due to condition switching, which is a key scenario for verifying the model's cross-condition generalization ability and robustness.
[0087] As can be seen from the comparison of root mean square error (RMSE) in Table 2, the RMSE of the model using the small-world graph structure of this invention on the four subsets are 12.52, 14.07, 11.17 and 15.17, respectively, which are at the best or near-best level among the comparison methods (the best value in the table is bolded, and the second best is underlined). This invention achieves the lowest RMSE in the entire table on the two subsets FD003 and FD004: 11.17 on the FD003 subset with a single operating condition and dual failure mode, which is about 7.7% lower than the second best method GA+RBM+LSTM's 12.10; and 15.17 on the most challenging FD004 subset, which has multiple operating conditions and dual failure modes, which is about 1.4% lower than the second best method ST-Conv's 15.39. On subsets FD001 and FD002, the RMSE values are suboptimal, with the present invention achieving 12.52 and 14.07 respectively, only slightly higher than their respective best values (12.42 for AGCNN and 13.90 for ST-Conv) by 0.10 and 0.17, respectively, with relative differences within 2%. Compared to similar graph neural network methods like STAGNN, the RMSE of the present invention is reduced by approximately 1.3%, 12.5%, 12.4%, and 9.9% on the four subsets, respectively. These results demonstrate that the present invention maintains highly consistent prediction accuracy across different subsets even with a fixed and sparse graph structure, without experiencing a decrease in accuracy due to the fixed graph structure.
[0088] As can be seen from the score comparison in Table 3, the scores of this invention on the four subsets are 232.54, 926.47, 171.97, and 1090.08, respectively. Among them, this invention achieves the lowest score in the entire table on the subsets FD002 and FD003: 926.47 on the multi-condition, variable-distribution FD002 subset, which is about 16.1% lower than the 1104.80 of the suboptimal method ST-Conv; and 171.97 on the FD003 subset containing dual-fault modes, which is about 24.3% lower than the 227.09 of the suboptimal method AGCNN. On the FD004 subset, which combines multiple operating conditions and dual fault modes, the score of this invention is 1090.08, which is the second-best value. It is only about 1.1% different from the lowest score in the entire table, ST-Conv (1078.24), ranking second in the entire table. On the FD001 subset, the score is 232.54, which is about 3.1% different from the best value (225.51 of AGCNN). The score function applies a heavier asymmetric penalty to the case where the predicted remaining lifetime is greater than the actual remaining lifetime (i.e., overestimation, corresponding to a lag in fault warning), which is closer to the "better early than late" safety requirement in engineering. Compared with the similar graph neural network method STAGNN, the score of this invention is reduced by about 24.6%, 41.6%, and 37.7% on FD002, FD003, and FD004, respectively, indicating that this invention can still stably output conservative and accurate predictions under operating condition drift and multiple fault modes, with a lower risk of overprediction.
[0089] As can be seen from Tables 2 and 3, firstly, the present invention has outstanding advantages in the most challenging multi-condition and variable distribution subsets: it achieves the lowest score in the entire table for FD002 and the lowest RMSE in the entire table for FD004. Moreover, another indicator for the two subsets is also among the top in the entire table (the RMSE of FD002 is the second highest in the entire table, and the score of FD004 is only about 1.1% different from the lowest value in the entire table). The above results demonstrate that the complete prediction model using the static sparse small-world graph and its supporting feature extraction and fusion structure of this invention exhibits good prediction accuracy, cross-condition adaptability, and robustness on the FD002 and FD004 multi-condition subsets. Secondly, on the FD003 subset containing dual-fault modes, the RMSE and Score of this invention are both the lowest in the entire table, reflecting the prediction advantage under complex degradation modes. Thirdly, the RMSE of this invention fluctuates little across the four subsets and ranks among the top overall, reflecting stable and consistent prediction accuracy. Fourthly, the above performance is achieved under the condition that the number of edges is much less than that of a fully connected graph (e.g., only 46.2% of that of a fully connected graph when n=14) and the graph structure itself does not contain any learnable parameters. This indicates that this invention maintains good prediction accuracy while reducing the number of graph edges and graph structure parameters, and also takes into account the lightweight graph structure, graph computation efficiency, and cross-condition prediction performance.
[0090] In this embodiment, the small-world graph of the present invention is constructed all at once before training begins. It contains no learnable parameters and is reused in the training and inference phases in a fixed buffer form, eliminating the need to rebuild the graph sample by sample or batch by batch, thus reducing redundant computations required for dynamic graph construction. Sparse edges reduce the number of adjacency relationships during graph convolution, and cross-regional shortcuts shorten the information propagation path between some distant sensor nodes. The experimental results in Tables 2 and 3 show that the complete prediction model using the aforementioned small-world graph and its accompanying feature extraction and fusion structure maintains good prediction performance on data subsets with different operating conditions and fault modes.
[0091] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. The number of sensors n, reconnection probability p, target degree k, random seed, number of graph convolutional layers, and the encoder, temporal network, and fusion layer parameters in the prediction model can all be adjusted according to the specific power system type, sensor configuration, and remaining lifetime prediction task. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for predicting the remaining useful life of a dynamic system based on adaptive small-world sensor association graph construction and topology multiplexing, characterized in that, The steps are as follows: S1. Node modeling and determination of target degree based on information propagation theory; S2. Construction of a regular ring lattice; S3. Construction of a small-world network based on probabilistic random rewiring; S4. Connectivity detection of the small-world network and minimum edge completion; S5. Indexing of fixed bidirectional edges in the small-world network and generation of batch graph adjacency structures; S6. Node feature encoding and spatial information propagation based on the final small-world network; S7. Parallel extraction of temporal degradation features and statistical features based on graph-level spatial coupling features; S8. Fusion of graph-level spatial coupling features, temporal degradation features, and statistical features, and output of remaining useful life.
2. The method according to claim 1, wherein, The specific implementation of step S1 is as follows: Multi-sensor running state sequence in a preset time window As input, where B represents batch size, n represents the number of sensor channels, and L represents the length of the time window; the n sensor channels are constructed as n graph nodes to form a node set The method comprises steps S1 to S8; the graph neural network mainly comprises: Input the number of sensor channels n of the dynamic system and the fixed channel order, and establish a node set V; with the design objective of reducing the number of propagation hops required to form a large-scale receptive field while maintaining graph sparsity, adaptively determine the target degree k and half-degree m according to the number of nodes n; Step S1.1: Calculate the base degree k0 according to Equation (1): (1) In formula (1), represents the number of sensor channels participating in the remaining useful life prediction, and also represents the number of nodes of the sensor correlation graph, and ; represents the base degree calculated from the number of nodes; represents the floor function; represents the maximum value of the values in the parentheses; represents the minimum value of the values in the parentheses; Step S1.2: Fine-tune the base degree according to the node scale, as shown in Equation (2): (2) In equation (2), This indicates the base degree based on the node size. The candidate degrees obtained after fine-tuning; Step S1.3: To construct a left-right symmetrical ring-shaped regular lattice, the target degree k should be an even number and should not exceed the maximum degree allowed without a self-loop diagram; determine the maximum even degree according to formula (3). Target degree k and half degree m: (3) In equation (3), This indicates that under conditions without self-loops, it does not exceed The maximum even degree; This indicates rounding up to the nearest integer.
3. The method for predicting the remaining service life of a dynamic system based on adaptive small-world sensor association graph construction and topology reuse according to claim 1, characterized in that, The specific implementation of step S2 is as follows: Based on the node set V, target degree k, and half-degree m output in step S1, arrange n sensor nodes sequentially on a ring according to the fixed channel order, such that each node is connected to its m nearest neighbors on the left and right sides of the ring, to obtain an initial edge set E0, as shown in Equation (4): (4) In equation (4), Represents the initial set of undirected edges of a toroidal lattice; Indicates the current sensor node number; This represents the offset of the node position along the positive direction of the ring; Indicates to Execution Module Operations that cause the number to exceed It restarts from 0, thus achieving a closed loop; since each node is only explicitly connected in the positive direction... Each node can be used to form the left and right edges simultaneously using undirected edges. Each edge has one nearest neighbor; each edge is normalized to a unique undirected edge according to equation (5): (5) In equation (5), Represents a node With nodes The normalized undirected edges between them; and These are the two endpoints of the edge; Indicates the smaller value among the two endpoint numbers; The larger value among the two endpoint numbers is represented; the initial number of undirected edges is shown in equation (6): (6) In equation (6), Represents the initial edge set The number of undirected edges contained; each node has There are 3 adjacency relationships, and the sum of the degrees of all nodes is 1. Since each undirected edge is counted by both endpoints, the number of undirected edges is . ,that is .
4. The method for predicting the remaining service life of a dynamic system based on adaptive small-world sensor association graph construction and topology reuse according to claim 1, characterized in that, The specific implementation of step S3 is as follows: Based on the initial edge set E0 of the regular ring lattice output in step S2, and reading the preset rewiring probability p and random seed seed, perform probability judgment on each edge in E0; when the random number r satisfies Equation (7) and r < p, perform random rewiring on the current edge; otherwise, retain the original edge: (7) In equation (7), This represents a random decision value generated for the currently undirected edge to be processed; Representing an interval A continuous and uniform distribution on; This represents the preset reconnection probability, and ;when Reconnection is triggered when Preserve original edges; use random seed. Used to initialize the pseudo-random number generator so that a reproducible decision sequence can be obtained under the same parameter conditions; During rewiring, retain one endpoint u of the original edge, and reconnect the other endpoint to a candidate node w; The candidate node must satisfy Equation (8) to avoid self-loops and duplicate edges: (8) In equation (8), Indicates the endpoints in the original edge that remain unchanged; Represents the set of nodes Randomly selected candidate reconnection nodes; This represents the set of existing normalized undirected edges; To avoid self-loops; for each edge that triggers reconnection, it is preferable to try selecting a valid candidate node at most x times; if all attempts fail, the original edge is restored; the total number of undirected edges remains unchanged during the probabilistic reconnection phase; only when the graph is not connected, the minimum number of edges are added during the connectivity repair phase. Forming an initial small-world sensor correlation graph ,in This is the initial small-world edge set after probabilistic random reconnection; Optionally, after obtaining the final connected small-world sensor association graph in step S4, to evaluate the preservation degree of local coupling relationships offline, calculate the average clustering coefficient C, as shown in Equation (9): (9) Optionally, after obtaining the final connected small-world sensor association graph in step S4, the average path length is calculated to evaluate the average propagation distance of cross-sensor information offline. As shown in equation (10): (10) In equation (9), The average clustering coefficient of the sensor correlation graph Represents a node The local clustering coefficient; Represents a node The degree, that is, the degree with the node The number of directly connected neighbor nodes; Represents a node of The actual number of undirected edges between neighboring nodes; In equation (10), Sensor correlation diagram The average path length; This represents the final small-world sensor correlation graph obtained after step S3 is formed and connectivity is ensured in step S4. ; Represents a node To the node The number of edges contained in the shortest path, i.e. the number of hops in the shortest path; A larger C value indicates a tighter local connection. The smaller the value, the fewer hops are needed on average to reach the cross-node information.
5. The method for predicting the remaining service life of a dynamic system based on adaptive small-world sensor association graph construction and topology reuse according to claim 1, characterized in that, The specific implementation of step S4 is as follows: Based on the initial small-world sensor correlation graph formed in step S3 A breadth-first search is used to check whether the initial small-world sensor graph is connected; if the number of visited nodes is equal to n, it is directly determined as the final connected small-world sensor graph. If the graph contains c connected components, then a disjoint-set data structure is used to obtain each connected component, and representative nodes in adjacent connected components are connected sequentially, adding a total of c-1 undirected edges to obtain the final connected small-world edge set. and the final connected small world sensor association diagram .
6. The method for predicting the remaining service life of a dynamic system based on adaptive small-world sensor association graph construction and topology reuse according to claim 1, characterized in that, The specific implementation of step S5 is as follows: Based on the final connected small-world sensor association graph output in step S4 , gather the small world Each undirected edge in Expand as and Two directed edges, joined together, result in the shape of Single graph bidirectional edge index matrix The The edge index matrix is generated in the network and stored as a fixed edge index data. It is not used as a trainable parameter in gradient updates, nor is it recalculated based on the current sample; Instead of performing fixed registration, a fixed bidirectional edge index matrix of the single graph is used during each forward propagation, based on the current batch size B. The node number offset is applied and then temporarily generated after splicing; (11) In equation (11), This represents the bidirectional edge index matrix of the single graph used by the graph convolutional layer. Indicates from node Pointing to node The directed edges; Indicates a directed edge in the opposite direction; if Let be the number of undirected edges in the final small-world graph. Include There are 1 directed edge, and the matrix shape is . ; For an input with batch size B, apply a node number offset to the single graph edge index of the b-th sample. And by splicing along the edge dimensions, we obtain the edge index matrix of the batch graph. : (12) In equation (12), This represents the bidirectional edge index matrix of the batch graph; This represents the sample number in the batch, with a value of [value]. ; This indicates that the concatenation is performed along the column direction of the edge index.
7. The method for predicting the remaining service life of a dynamic system based on adaptive small-world sensor association graph construction and topology reuse according to claim 1, characterized in that, The specific implementation of step S6 is as follows: Based on the multi-sensor operating state sequence X and the small-world network batch graph edge index matrix output from step S5 ; For the sequence of the i-th sensor channel within the time window A multilayer perceptron encoder shared by all sensors is used to map them to a unified dimension. And superimpose the identity embedding of the i-th sensor The initial features of the nodes are obtained: (13) In equation (13), This represents the multilayer perceptron coding function shared by all sensors; This indicates the result of unified dimension encoding; Indicates the first Learnable identity embedding for each sensor; Indicates the dimension of the unified node encoding; This indicates the first convolutional layer of the input graph before the first layer convolution. Initial features of each node; Furthermore, the shared multilayer perceptron encoder sequentially includes: Fully connected layers, batch normalization layers, ReLU activation layers, Dropout layers, and A fully connected layer; The initial features of the nodes and the representation of the final small-world sensor association graph are used to connect the nodes. Small World Network Batch Graph Edge Index Matrix The input feature matrices are used to form the first layer of graph convolution. Adjacency Matrix of Batch Graph and will and The propagation rule of the input two-layer graph convolutional network is shown in equation (14): (14) In equation (14), This indicates that the initial features of each node are stacked according to the order of nodes within the batch to form an initial node feature matrix. ; This indicates the edge index matrix of the small-world network. Construct the corresponding batch graph adjacency matrix; Indicates the graph convolutional layer index; Indicates the first The layer input consists of a spatially coupled feature matrix of all sensor nodes, with rows corresponding to nodes and columns corresponding to feature dimensions. Indicates the first Layer outputs node-level spatial coupling feature matrix; The adjacency matrix is defined by the small-world sensor association graph; the batch graph adjacency matrix Small-world network edge index matrix Obtained by construction; Indicates and Identity matrices of the same order; This represents the adjacency matrix after adding a node's self-loop, allowing the node to retain its own characteristics when aggregating neighbor information; express The corresponding degree matrix, its first degree The diagonal elements are No. The sum of the elements in the row; Represents the inverse square root of the degree matrix; Represents a symmetric normalized adjacency matrix; Indicates the first Learnable weight matrix for layer graph convolution; This represents the non-linear activation function applied to the aggregation result; after the first layer of graph convolution, batch normalization, ReLU, and Dropout are applied sequentially, and after the second layer of graph convolution, batch normalization and ReLU are applied. Spatial information propagation in this step is implemented as a computable hop-by-hop aggregation mechanism: one layer of graph convolution corresponds to one hop of neighborhood information propagation, and q layers of graph convolution cover q hops of neighborhood; under ideal non-repeating diffusion conditions, the number of nodes reachable from any node via h hops is calculated as follows: The estimated number of hops required to grow and form the global receptive field is shown in equation (15): (15) In equation (15), This represents a theoretical estimate of the number of propagation hops required to form a global receptive field from any source node under ideal, non-repeating propagation conditions; this formula is derived from the ideal conditions. It can be deduced that each hop in the propagation can reach approximately A multiple of new nodes; defining information propagation efficiency The reciprocal of the average path length is shown in equation (16): (16) In equation (16), This indicates the information propagation efficiency of the sensor correlation diagram; The average path length is calculated using expression (10); and Inversely proportional, The smaller The larger the value, the fewer the average number of hops required for information to travel between any two sensor nodes; the node-level spatial coupling feature matrix is obtained after two layers of graph convolution. The small-world spatial coupling characteristics are obtained by taking the arithmetic mean along the second dimension containing the n sensor nodes for each sample. : (17) In equation (17), This represents the graph-level spatial coupling features of the small-world network obtained after performing two layers of graph convolution on the final small-world sensor association graph; This represents the node-level spatial coupling feature of the i-th node after two layers of graph convolution; This represents the average pooling coefficient of the nodes.
8. The method for predicting the remaining service life of a dynamic system based on adaptive small-world sensor association graph construction and topology reuse according to claim 1, characterized in that, The specific implementation of step S7 is as follows: Based on the original multi-sensor operating state sequence X and the small-world network graph-level spatial coupling characteristics output from step S6 This step sets up an S7-A time degradation feature branch and an S7-B statistical feature branch, which are executed in parallel for the same batch of inputs. S7-A simultaneously receives the original multi-sensor time-series input and graph-level spatial coupling features to extract time degradation features enhanced by cross-sensor spatial information. S7-B directly receives the original multi-sensor time-series input to extract the overall level and fluctuation features of each sensor within the current time window. S7-A. Temporal degradation feature extraction enhanced by graph-level spatial coupling features; First, adjust the multi-sensor operating state sequence X from the arrangement form with sensor channels as the second dimension to the time step-aligned sequential form, such that each time step corresponds to a feature vector composed of current observation values from all sensors; for an input with a batch size of B, sensor channel count of n, and time window length of L, the adjusted sequential data retains the original sample correspondence, sensor order, and temporal sequence, only changing the tensor dimension arrangement to meet the input requirements of the bidirectional long short-term memory network for processing data by time steps; Subsequently, the graph-level spatial coupling features obtained in step S6 are... The process extends along the time dimension to the same L time steps as the original multi-sensor operating state sequence X, so that each time step of the same sample is accompanied by a global spatial context obtained by the propagation of the fixed small-world sensor association graph and node pooling. The extension only uses the same graph-level features for each time step of the sample, without re-performing the small-world graph construction, changing the fixed bidirectional edge index generated in step S5, or adding new graph structure parameters. The original multi-sensor operating state sequence X of each time step is concatenated with the corresponding graph-level spatial coupling features along the feature dimension to form a temporal input with enhanced spatial information. Thus, each time step retains both the original multi-sensor observation information at that moment and the graph-level association information formed by the propagation of cross-sensor information under the fixed small-world topology. The spatially enhanced temporal input is fed into a single-layer bidirectional long short-term memory network. The single-layer bidirectional long short-term memory network processes the entire time window along the forward and backward time directions respectively, and merges the hidden states in both directions at each time step to extract the bidirectional dependency relationship of the sensor state evolution over time. According to the above spatially enhanced temporal input structure, the input dimension of the bidirectional long short-term memory network is jointly determined by the number of sensor channels and the dimension of graph-level spatial coupling features. The outputs of the bidirectional long short-term memory network at all time steps are subjected to mean pooling along the time dimension, converging the time-series representations of length L into a window-level time representation corresponding to each sample. The pooled 2R-dimensional features are then passed sequentially through a first fully connected layer, a ReLU activation layer, a Dropout layer, a second fully connected layer, and another ReLU activation layer. The first fully connected layer maintains the 2R-dimensional representation, while the second fully connected layer maps it to... dimensional time degradation feature T, where Indicates the dimension of time-degradation features; S7-B, Statistical feature extraction based on the mean and standard deviation of the time window; The statistical feature branch directly receives the original multi-sensor operating state sequence X, without using the graph-level spatial coupling features output in step S6, nor passing through the graph convolutional network and the bidirectional long short-term memory network. For each sample, the mean and standard deviation of each sensor channel are calculated along the time window dimension, where the mean reflects the overall state level of the sensor within the current time window, and the standard deviation reflects the degree of fluctuation of the sensor within the current time window. After the calculation is completed, the mean features and standard deviation features of all sensor channels are concatenated along the feature dimension to obtain a statistical feature vector that simultaneously contains window level information and fluctuation information. The statistical feature vector is input into a statistical feature mapping network, passing sequentially through a fully connected layer, a ReLU activation layer, and a Dropout layer, mapping the feature vector composed of the mean and standard deviation of each sensor to... Dimensional statistical characteristics S, where This indicates the dimension of the statistical feature.
9. The method for predicting the remaining useful life of a dynamic system based on adaptive small-world sensor association graph construction and topology reuse according to claim 1, characterized in that, The specific steps of S8 are as follows: Receive the temporal degradation feature T output from step S7-A, the statistical feature S output from step S7-B, and the small-world network graph-level spatial coupling feature directly passed from step S6. The three types of features are arranged in the order of the same batch of samples, with each row corresponding to a time window sample of the same dynamic system; they are arranged according to the time degradation feature T, the statistical feature S, and the graph-level spatial coupling feature. And splice them along the feature dimension to form a unified and fused feature; During the stitching process, only the feature dimensions of the same sample are expanded, and data is not exchanged or mixed between different samples; Among them, the temporal degradation feature is used to characterize the bidirectional temporal dependence and degradation evolution law after the enhancement of graph-level spatial information; Statistical features are used to characterize the average state and fluctuation of each sensor signal within the current time window; graph-level spatial coupling features are used to characterize the cross-sensor association information formed by each sensor node after two layers of graph convolution propagation on a fixed small-world topology; the combined use of the three types of features enables the final regression input to simultaneously contain information on spatial coupling, temporal evolution, and window statistical distribution.
