A privacy security distributed interconnection system fault diagnosis method

By constructing a local state-space model and designing target parity vectors, sensitive detection of local faults and robustness to neighbor faults are achieved in interconnected dynamic systems. This solves the problems of high computational pressure and insecurity of privacy data, and reduces communication burden and the risk of data leakage.

CN123178187APending Publication Date: 2026-11-27HARBIN INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611419049.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-14
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing distributed fault diagnosis methods in interconnected dynamic systems suffer from high computational pressure, insecure privacy data, and poor robustness to neighbor faults. Furthermore, traditional methods rely on actual measurement outputs from neighboring subsystems, increasing the risk of data leakage.

Method used

A local state-space model is constructed in the offline design phase to determine the target parity vector. Based on the hierarchical performance criterion of minimizing local fault sensitivity and neighbor influence, a local diagnostic observer and a residual generator are designed. Interconnection and coupling compensation are performed through the state interaction of neighbor diagnostic observers to generate local diagnostic residual signals.

Benefits of technology

Without directly obtaining real neighbor data, it achieves sensitive detection of local faults and robustness against neighbor faults, reduces communication burden and central computing pressure, protects privacy data, and reduces false alarms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178187A_ABST
    Figure CN123178187A_ABST
Patent Text Reader

Abstract

The application discloses a privacy security distributed interconnection system fault diagnosis method and relates to an interconnection system fault diagnosis method. In order to solve the problems of great calculation pressure and unsafe privacy data in the interconnection system fault diagnosis, in the offline design stage, the application determines the interconnection coupling relationship and the privacy protection information interaction mode, constructs a parity subspace, determines a target parity vector based on a layered performance criterion of local fault sensitivity preservation and neighbor influence minimization, and further determines the parameters of a local diagnosis observer and a residual generator; the interconnection coupling compensation term is constructed based on the diagnosis observer state of the neighbor, the local diagnosis residual signal is generated, the detection statistics and the fault detection threshold are determined; in the online deployment stage, the local measurement output and the local control input are collected, the local diagnosis observer state is updated, the local diagnosis observer state sequence is sent to the neighbor subsystem, the interconnection coupling compensation term is calculated, the diagnosis residual signal is generated, the detection statistics are calculated, and the threshold is discriminated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of interdisciplinary technology of industrial intelligent monitoring, networked control systems and data privacy and security, and specifically relates to a fault diagnosis method for a privacy-secure distributed interconnected system. Background Technology

[0002] With the rapid development of industrial automation, networked control, and intelligent sensing technologies, modern industrial systems are gradually evolving from isolated equipment or single processes to large-scale interconnected dynamic systems. Traditional fault diagnosis methods often employ a centralized design approach; however, such methods typically require the transmission of large amounts of real-time operational data, easily leading to problems such as heavy communication burdens, large transmission delays, and high central computing pressure. Furthermore, in actual industrial settings, different subsystems may be managed by different controllers, equipment manufacturers, operating areas, or management entities, making the uploading and centralized processing of all operational data challenging in terms of engineering deployment and management authority.

[0003] Distributed fault diagnosis typically configures a local diagnostic tool for each subsystem, enabling it to perform fault detection and diagnostic decisions based on local measurement data and limited neighbor information. Compared to centralized methods, distributed methods can offload computational tasks to local or edge-side locations, reducing communication resource consumption and central computing pressure, while improving the scalability and real-time performance of the diagnostic system. However, existing distributed fault diagnosis methods often still rely on the transmission of actual measurement outputs, control inputs, or status information from neighboring subsystems. In practical applications, this information may contain sensitive data such as local operating conditions, control strategies, equipment performance, load characteristics, operating efficiency, and asset status. Direct sharing increases the risk of data leakage and malicious attacks, and is also detrimental to engineering deployments across regions, entities, or equipment vendors.

[0004] Furthermore, in interconnected dynamic systems, local residual signals are affected not only by local faults but also by the dynamic changes or faults of neighboring subsystems. Improper residual generator design can lead to: 1) insufficient response to small-amplitude local faults resulting in missed detections; and 2) false alarms caused by neighboring faults leading to abnormal local residuals. Existing residual generator design methods based on parity typically first determine feasible vectors that satisfy normal dynamic elimination conditions, and then construct residual generator parameters accordingly. The design focus is primarily on the feasibility of the residual generator. However, different parity vectors exhibit different response characteristics to local faults and neighboring interconnections. Without a parity vector selection mechanism oriented towards diagnostic performance, it is difficult to balance the sensitivity of local fault detection with the robustness to neighboring fault impacts. Therefore, how to meet privacy requirements while simultaneously considering both types of diagnostic performance is a problem that needs to be solved in distributed fault diagnosis of interconnected dynamic systems. To address these issues, a new privacy-preserving distributed fault diagnosis scheme needs to be designed to achieve accurate monitoring of interconnected systems. Summary of the Invention

[0005] To address the problem that existing fault diagnosis methods for interconnected systems require uploading various types of real information from all subsystems to a central diagnostic unit, which results in high computational burden and data insecurity, this invention aims to solve these issues.

[0006] A method for fault diagnosis of a privacy-secure distributed interconnection system includes:

[0007] Offline design phase:

[0008] Step 1: Treat each local system as a subsystem, establish a local state space model for each subsystem, and determine the interconnection and coupling relationships and privacy-preserving information exchange methods;

[0009] Step 2: Construct the parity subspace and determine the target parity vector based on the hierarchical performance criterion of preserving local fault sensitivity and minimizing neighbor influence;

[0010] Step 3: Determine the parameters of the local diagnostic observer and residual generator based on the target parity vector;

[0011] Step 4: Construct interconnected coupling compensation terms based on the state of the neighbor's diagnostic observer, generate local diagnostic residual signals, and determine the detection statistics and fault detection thresholds.

[0012] Online deployment phase:

[0013] Step 5: Collect local measurement outputs and local control inputs online, update the status of the local diagnostic observer, and send the local diagnostic observer status sequence to the neighboring subsystem;

[0014] Step 6: Receive the diagnostic observer state sequence sent by the neighboring subsystem, calculate the interconnect coupling compensation term, and generate the local diagnostic residual signal;

[0015] Step 7: Calculate the detection statistics and perform threshold discrimination to output the local fault diagnosis results.

[0016] Furthermore, the specific steps for establishing local state-space models of each subsystem and determining the interconnection and coupling relationships and privacy-preserving information exchange methods include:

[0017] Step A1: For the first Subsystem , Let its state variable be . The control input is The measurement output is ,in For discrete sampling times, the dimensions of the state, control input, and measurement output are respectively... , and ;

[0018] Step A2: Construct an interconnected topology by treating each subsystem as a node and the dynamic influences between subsystems as edges. The set of its neighbors is denoted as ;

[0019] Step A3: Based on the interconnection relationships in the interconnection topology, establish a local state-space model that includes local dynamics and the coupling effects of neighbor interconnections; for Its model is represented as: , ,in , , , express The local system matrix, input matrix, output matrix, and direct transfer matrix. Representing the neighbor subsystem Acting on the local subsystem The state coupling matrix, Zero-mean measurement noise;

[0020] Step A4: Connect the neighboring subsystem corresponding , and Set as protected information, set Local Time Subsystem Available diagnostic information is as follows: ,in This is the state sequence of the diagnostic observer to be designed.

[0021] Furthermore, the specific steps for determining the target parity vector based on the hierarchical performance criterion of preserving local fault sensitivity and minimizing neighbor influence include:

[0022] For each local subsystem The local system matrix, input matrix, output matrix, and direct transfer matrix are extracted from the local state-space model to construct a local equivalent model for offline parameter design. , ,in , and These represent the state, input, and output of the equivalent model, respectively; the fault-free local input and output data generated based on the local equivalent model constitute the local output stacking vector. and local input stacked vectors And construct the local input-output stacking relationship. ,in The order of the parity relation is denoted by . To expand the observation matrix, For the corresponding input transfer matrix; for the extended observation matrix Perform a complete QR decomposition with column pivoting and find the condition that satisfies... basis matrices of odd and even subspaces Test disturbances of a preset ratio are applied to the measurement output channel and control channel of the local equivalent model, and the changes in each channel are combined column-wise to obtain the local fault feature matrix. For any neighboring subsystem According to the local system matrix Output matrix Coupled with known state matrix Constructed in The influence matrix of propagation from the local output within each state transition process Combine the influence matrices of all neighbors into a neighbor influence feature matrix. ;

[0023] Map the local fault feature matrix and the neighbor influence feature matrix to the odd / even subspace, and calculate them respectively. , and construct , ,right Perform eigenvalue decomposition and sort the eigenvalues ​​in descending order: ,Pick As the maximum local fault sensitivity index within the current odd / even subspace; some eigenvalues ​​and their corresponding eigenvectors are retained in descending order, and then the high local fault sensitivity parameter subspace basis matrix is ​​formed by column. ; Neighbor Influence Performance Matrix Limited to the aforementioned high local fault sensitivity parameter subspace: Seeking The unit eigenvector corresponding to the smallest eigenvalue ,calculate and according to Obtain the target parity vector, and finally... Perform unit norm normalization.

[0024] Furthermore, the extended observation matrix 'col' indicates that the items within the parentheses are stacked vertically in order, corresponding to the input transfer matrix. .

[0025] Furthermore, in The influence matrix of propagation from the local output within each state transition process .

[0026] Furthermore, the process of determining the parameters of the local diagnostic observer and residual generator based on the target parity vector includes:

[0027] target parity vector Divided according to the time order in the parity relationship ,in , For each subsystem, a local diagnostic observer is constructed based on the local equivalent model, and a set... , and These are the diagnostic observer state matrix, input matrix, and output injection matrix, respectively; simultaneously, the transformation matrix from the local system state to the diagnostic observer state is determined. and observation error The equation representing the relationship between local diagnostic observer observations and states; designed based on odd / even vector partitioning. , , and ;

[0028] Check the state transformation matrix Does the full column rank condition apply? Equal to the state dimension of the subsystem At that time, calculate and store its generalized inverse. Based on the diagnostic observer, construct a local basic residual generator: ,in for Local base residual signals for which neighbor coupling compensation has not yet been performed. , and These are the parameters for the residual generator.

[0029] Furthermore, the residual generator parameters , After being divided according to time sequence Elements in; , Pick The Okay, among them This refers to the order of the diagnostic observer.

[0030] Furthermore, the process of constructing interconnected coupling compensation terms based on the diagnostic observer states of neighbors, generating local diagnostic residual signals, and determining detection statistics and fault detection thresholds includes:

[0031] Collect the diagnostic observer state sequence within a finite time window of the neighboring subsystem; for any neighboring subsystem , Using the order of parity relation The corresponding interconnect coupling compensation time window is used to extract the most recent one. Neighbor diagnostic observer state at each sampling time According to the state coupling matrix Local diagnostic observer parameters State transition matrix Residual generator parameters and the generalized inverse of the state transformation matrix of the neighboring subsystem Construct the interconnection coupling compensation matrix of the neighboring subsystem to the local subsystem. ,in Include indivual ; Calculate and save the corresponding values ​​for each of the neighbors separately. ;according to and Calculate the interconnection coupling compensation of all neighboring subsystems Summing the interconnection coupling compensation terms of all neighboring subsystems yields the total interconnection coupling compensation term. And calculate the local diagnostic residual signal: ; Calculate the corresponding residual sequence using the fault-free operation data of each subsystem, and calculate the corresponding detection statistics for each subsystem; For The detection statistic is calculated as follows: , The covariance matrix is ​​estimated from the fault-free residual samples; for each subsystem, the kernel density estimation method is used to estimate the fault-free detection statistic. The distribution is estimated, and based on a given confidence level. Determine the detection threshold Depending on the specific application requirements, the detection threshold can also be obtained using empirical quantiles, chi-square approximation, or other statistical threshold determination methods.

[0032] Furthermore, the process of receiving the diagnostic observer state sequence sent by the neighboring subsystem, calculating the interconnect coupling compensation term, and generating the local diagnostic residual signal includes:

[0033] At the current sampling time Each subsystem Receive from each neighboring subsystem Transmitted finite-time window diagnostic observer state sequence The elements therein are the local diagnostic observer state values. The time window length for interconnect coupling compensation is given; the interconnect coupling compensation term for each neighbor is calculated. And sum to obtain the total interconnect coupling compensation term. ;

[0034] Based on local online measurement output Control input and diagnostic observer status Calculate the local basic residual signal and utilize Compensate the local baseline residual signal to generate an online diagnostic residual signal. .

[0035] Furthermore, the process of calculating detection statistics and performing threshold discrimination to output local fault diagnosis results includes:

[0036] Based on residual signal and the covariance matrix determined offline in step four. Calculate the online detection statistics at the current sampling time. ;Will With detection threshold Compare; if Then determine A local fault occurs, and a fault alarm signal is output; if Then determine It is in a fault-free state.

[0037] This invention enables online detection of local subsystem faults by designing a local residual generator and interconnecting and compensating with neighboring subsystems, without directly acquiring the actual measurement output, actual control input, and actual state information of neighboring subsystems.

[0038] 1. Compared with traditional centralized fault diagnosis methods, this invention does not require uploading the real measurement outputs, real control inputs and real status information of all subsystems to the central diagnostic unit. Instead, it completes the diagnostic observer update, residual generation and fault identification locally in each subsystem, which can reduce the communication burden and central computing pressure, and reduce the impact of central node failure on the overall diagnostic system.

[0039] 2. Compared with traditional distributed fault diagnosis methods, this invention uses the diagnostic observer status within a finite time window of the neighboring subsystem as the interaction information between subsystems. It does not directly transmit the real measurement output, real control input and real status of the neighboring subsystem, which can reduce the risk of leakage of operating conditions, control strategy and malicious attack caused by exposure of real operating data.

[0040] 3. To address the problem of significant differences in diagnostic performance among different parity vectors, this invention constructs local fault features and neighbor influence features without obtaining real operational data from neighbors, and maps them to the parity subspace. While maintaining high local fault sensitivity, it further selects the target parity vector with the smallest neighbor influence, and constructs a local diagnostic observer and residual generator accordingly, thereby improving the sensitivity of small-amplitude local fault detection and enhancing robustness to the influence of neighbor faults.

[0041] 4. This invention integrates the target parity vector obtained through performance optimization with privacy-preserving interconnect coupling compensation in a unified design. The target parity vector is used to construct the local diagnostic observer and the basic residual generator. During the online phase, the observer state is only interacted with within a finite time window from the neighbor. An interconnect coupling compensation term is formed through a pre-determined state transformation relationship and interconnect coupling matrix. This generates the local diagnostic residual signal without directly transmitting the neighbor's real state, real measurement output, and real control input, thus balancing local fault detection sensitivity, neighbor fault robustness, and protection of real operational data.

[0042] 5. Compared with deep learning-based fault diagnosis methods, this invention has a clear residual generation relationship and threshold discrimination mechanism, which does not require complex network training, and has high computational efficiency, good interpretability and engineering deployability. Attached Figure Description

[0043] Figure 1 This is a flowchart of the method described in this invention;

[0044] Figure 2 This is an interconnection topology diagram of 5 subsystems in the embodiment;

[0045] Figure 3 This is a diagram showing the diagnostic results of the local subsystem DGU5 when a minor sensor failure occurs.

[0046] Figure 4 Diagnostic results for DGU5 when a minor actuator failure occurs in the local subsystem DGU5;

[0047] Figure 5 Diagnostic results for DGU5 when a significant sensor failure occurs in neighboring subsystem DGU3;

[0048] Figure 6 Diagram showing the diagnostic results for DGU5 when a significant actuator failure occurs in the neighboring subsystem DGU4. Detailed Implementation

[0049] This invention aims to provide a privacy-preserving distributed interconnection system fault diagnosis method. This method enables local diagnostic nodes to perform interconnection coupling compensation through the state sequences of diagnostic observers within a finite time window of neighboring subsystems, without directly acquiring the actual measurement outputs, control inputs, and state information of neighboring subsystems. This generates effective local diagnostic residual signals, achieving effective detection of local faults and suppression of false alarms from neighboring faults. Specifically, addressing the problems of centralized fault diagnosis methods (high communication burden, high central computational pressure, and single-point failure risk) and traditional distributed fault diagnosis methods (reliance on raw operating data from neighboring subsystems, leading to leakage of local operating conditions and control strategies), this invention proposes a privacy-preserving distributed diagnostic method based on diagnostic observer state interaction and local residual generation. A local diagnostic observer is constructed for each subsystem, interacting only with the state information generated by the observer within a finite time window. The relevant parameters of the diagnostic observer and residual generator are determined using a target parity vector obtained through performance optimization. This achieves distributed fault diagnosis of the interconnected system while protecting sensitive operating data. This invention unifies privacy-preserving information interaction, interconnection coupling compensation, parity vector-driven residual generator parameter design, local residual generation, and threshold discrimination into a single technical framework. While protecting privacy, it ensures the sensitivity of detecting small-amplitude local faults and reduces the false alarm rate of local fault diagnosis induced by faults in neighboring subsystems.

[0050] The following description, in conjunction with specific implementation methods, provides an explanation. Specific implementation method one:

[0052] This invention provides a privacy-secure distributed interconnected system fault diagnosis method, which can be deployed in local diagnostic nodes corresponding to each subsystem. The subsystem is a local dynamic unit constituting the interconnected dynamic system, corresponding to an independent device, equipment, control area, or functional unit in an industrial process. It has its own state variables, control inputs, and measurement outputs, and can form interconnected relationships with other subsystems through physical connections or dynamic actions. Each local diagnostic node includes a local data acquisition module, a diagnostic observer update module, an observer state communication module, an interconnection coupling compensation module, a residual generation module, a threshold determination module, and a fault discrimination module.

[0053] The system comprises the following modules: a local data acquisition module for acquiring measurement outputs and control inputs of the local subsystem; a diagnostic observer update module for updating the local diagnostic observer status in real time based on local measurement outputs and local control inputs; an observer status communication module for sending local diagnostic observer status sequences to neighboring subsystems and receiving diagnostic observer status sequences sent by neighboring subsystems; an interconnect coupling compensation module for constructing interconnect coupling compensation terms based on neighboring diagnostic observer status sequences; a residual generation module for generating local diagnostic residual signals based on local data, local diagnostic observer status, and interconnect coupling compensation terms; a threshold determination module for determining diagnostic thresholds using fault-free operating data; and a fault discrimination module for outputting fault diagnosis conclusions based on the comparison between residual statistics and diagnostic thresholds.

[0054] This implementation includes an offline design phase (steps one to four) and an online deployment phase (steps five to seven), such as Figure 1 As shown in this embodiment, a method for fault diagnosis of a privacy-secure distributed interconnection system includes:

[0055] Offline design phase:

[0056] Step 1: Establish local state-space models for each subsystem, and determine the interconnection and coupling relationships and privacy-preserving information exchange methods. Specific steps include:

[0057] Step A1: Treat each local system as a subsystem, for systems composed of... For an interconnected dynamic system consisting of several subsystems, the state variables, control inputs, and measurement outputs of each subsystem are first determined. For the first subsystem... Subsystem , Let its state variable be . The control input is The measurement output is ,in For discrete sampling times, , and These represent the dimensions of the state, control input, and measurement output, respectively.

[0058] Step A2: Represent the interconnection topology as a directed graph ,in It is a set of nodes, with each node corresponding to a subsystem; Let be the set of edges, representing the influence relationships between subsystems. If the subsystems... Subsystem If there is a direct dynamic impact, then .for The set of its neighbors is denoted as The neighbor set is used to determine the relationship with the subsystem. The neighboring subsystems with direct coupling relationships are identified, and the scope of subsequent privacy protection and interconnection coupling compensation is determined accordingly.

[0059] Step A3: Based on the dynamic characteristics of each subsystem and the interconnection relationships determined in Step A2, establish a local state-space model that includes local dynamics and neighbor interconnection coupling. For Its model is represented as:

[0060]

[0061]

[0062] in, , , , express The local system matrix, input matrix, output matrix, and direct transfer matrix. Representing the neighbor subsystem Acting on the local subsystem The state coupling matrix, The measurement noise is zero-mean. for Interconnection coupling terms that need to be processed during subsequent local residual generation. For each neighbor Save its corresponding state coupling matrix This is used to construct subsequent interconnect coupling compensation terms caused by this neighbor.

[0063] Step A4: Set privacy protection information interaction constraints. This involves the neighbor subsystem. The real state Actual measurement output and real control input Set as protected information It is not transmitted directly between subsystems. Under the above constraints, set... Local Time Subsystem Available diagnostic information is as follows: ,in This is the state sequence of the diagnostic observer to be designed.

[0064] Step 2: Construct the parity subspace and determine the target parity vector based on the hierarchical performance criterion of preserving local fault sensitivity and minimizing neighbor influence. Specific steps include:

[0065] Step B1: For each local subsystem Extract from local state-space model , , , Construct a local equivalent model for offline parameter design:

[0066]

[0067]

[0068] in, , and These represent the state, input, and output of the equivalent model, respectively. This model is used to generate local input-output data and serves as the basis for solving the parity vector problem.

[0069] Step B2: Based on the fault-free local input and output data generated by the local equivalent model, construct the local output stacking vector. and local input stacked vectors And construct the local input-output stacking relationship:

[0070]

[0071] Where col indicates that the items within the parentheses are stacked vertically in order. The order of the parity relation is denoted by . To expand the observation matrix,

[0072] This is the corresponding input transfer matrix.

[0073] Step B3: For the extended observation matrix Perform a complete QR decomposition with column pivoting to obtain an orthogonal matrix. and upper triangular matrix .Pick The row whose middle element is all 0 elements column vectors as A set of orthogonal basis vectors in the left null space, and then find the vectors that satisfy... basis matrices of odd and even subspaces ,in Let be the dimension of the parity space. for The Middle basis vectors The candidate parity vector is represented as... , ,in, Let be the parity subspace parameter vectors to be optimized, and let each candidate parity basis vector satisfy . , .

[0074] Step B4: Apply test disturbances set according to a preset ratio to the measurement output channel and control channel of the local equivalent model described in B1. For example, for the first... One measurement output channel is used to construct a disturbance vector. The corresponding change in parity is obtained. For the first Each control channel maintains control commands. Under the condition that remains unchanged, apply a perturbation to the actual input of the local equivalent model. The corresponding change was obtained. ,in, To preset the test perturbation ratio, and These are the rated values ​​or normal operating baseline values ​​for the corresponding channels. The changes in each channel are combined column-wise to obtain the local fault characteristic matrix. .

[0075] Step B5: For any neighboring subsystem According to the local system matrix , Coupled with known state matrix Constructed in The influence matrix of the propagation from the local output within each state transition process:

[0076]

[0077] Combine the influence matrices of all neighbors into a neighbor influence feature matrix. ,in The number of neighbors is used to characterize the direction of propagation of neighbor state changes to the local measurement output via the interconnection channel, while meeting privacy protection requirements.

[0078] Step B6: Map the local fault feature matrix and the neighbor influence feature matrix to the odd / even subspace, and calculate them respectively. , and construct , ,right Perform eigenvalue decomposition and sort the eigenvalues ​​in descending order: ,Pick This serves as the maximum local fault sensitivity index within the current odd / even subspace. It retains the condition that... eigenvectors, Used to represent eigenvalues ​​arranged in descending order, and arranged column-wise to form a basis matrix for the high local fault sensitivity parameter subspace. ,in The local fault sensitivity retention coefficient is preferably set to 0.7~0.9.

[0079] Step B7: Calculate the neighbor influence performance matrix Limited to the aforementioned high local fault sensitivity parameter subspace: Seeking The unit eigenvector corresponding to the smallest eigenvalue ,calculate and according to Obtain the target parity vector, and finally... Unit norm normalization is performed. The resulting target parity vector satisfies the local fault sensitivity preservation condition and minimizes the neighbor influence sensitivity index within the corresponding parameter subspace. This eliminates the need to obtain the actual operating data of the neighbor subsystems, thus directly incorporating the neighbor interconnection impact into the performance design of the parity vector.

[0080] Step 3: Determine the parameters of the local diagnostic observer and residual generator based on the target parity vector. Specific steps include:

[0081] Step C1: The target parity vector obtained in step two... Based on the time order in the parity relation, it is divided into:

[0082]

[0083] in, , .

[0084] Step C2: For each subsystem, construct a local diagnostic observer for the local equivalent model of B1:

[0085]

[0086] Simultaneously determine the relationship between local diagnostic observer observations and the status:

[0087]

[0088] in, for exist The status of the local diagnostic observer at any given time. , and These are the diagnostic observer state matrix, input matrix, and output injection matrix, respectively. This is the transformation matrix from the local system state to the diagnostic observer state. This represents the corresponding observation error. Based on the even / odd vector partitioning method described in C1, , , and The value of is designed as follows:

[0089] , and Take the matrix respectively and The former OK, , To diagnose the observer order, .

[0090] Step C3: Check the state transition matrix Does the full column rank condition hold? At that time, calculate and store its generalized inverse. If not satisfied Then according to Select the remaining unit eigenvectors in ascending order of their eigenvalues ​​and recalculate. , and Continue until the full column rank condition is met.

[0091] Step C4: Based on the diagnostic observer, construct a local basic residual generator:

[0092]

[0093] in, for Local base residual signals for which neighbor coupling compensation has not yet been performed. , and The parameters for the residual generator are designed as follows:

[0094] , , Pick The OK.

[0095] Based on the target parity vector The parameter design allows the nominal effects of local normal state dynamics and known local control inputs on the residuals to be matched and canceled out, thus forming a local diagnostic observer and basic residual generator that can be recursively implemented online.

[0096] Step 4: Construct interconnect coupling compensation terms based on the diagnostic observer states of neighbors, generate local diagnostic residual signals, and determine detection statistics and fault detection thresholds. Specific steps include:

[0097] Step D1: Collect the diagnostic observer state sequence within a finite time window of the neighboring subsystems. For any neighboring subsystem , Using the order of parity relation The corresponding interconnect coupling compensation time window is used to extract the most recent one. Neighbor diagnostic observer state at each sampling time .

[0098] Step D2: Based on the state coupling matrix Local diagnostic observer parameters State transition matrix Residual generator parameters and the generalized inverse of the state transformation matrix of the neighboring subsystem Construct the interconnection coupling compensation matrix of the neighboring subsystem to the local subsystem:

[0099]

[0100] in, Include indivual .

[0101] Calculate and save the corresponding values ​​for each of the neighbors separately. .

[0102] Step D3: Diagnose the observer state sequence based on the neighbor diagnosis from step D1. and the interconnection coupling compensation matrix in step D2 Calculate the interconnection coupling compensation of all neighboring subsystems Summing the interconnection coupling compensation terms of all neighboring subsystems yields the total interconnection coupling compensation term. And calculate the local diagnostic residual signal:

[0103]

[0104] The aforementioned residual signals are used for subsequent fault decisions. The local diagnostic residual signal calculation process strictly adheres to the privacy protection constraints in step A4, requiring only interaction with the neighbor diagnostic observer state sequence, without directly interacting with the real state, real measurement output, and real control input of the neighbor subsystem.

[0105] Step D4: Calculate the corresponding residual sequence using the fault-free operation data of each subsystem, and calculate the corresponding detection statistics for each subsystem. For The detection statistic is calculated as follows: ,in, The covariance matrix is ​​obtained by estimating the fault-free residual samples.

[0106] Step D5: For each subsystem, use the kernel density estimation method to calculate the fault-free detection statistics. The distribution is estimated, and based on a given confidence level. Determine the detection threshold Depending on the specific application requirements, the detection threshold can also be obtained using empirical quantiles, chi-square approximation, or other statistical threshold determination methods.

[0107] Online deployment phase:

[0108] Step 5: Online acquisition of local measurement output and local control input, updating of the local diagnostic observer status, and sending of the local diagnostic observer status sequence to neighboring subsystems. Specific steps include:

[0109] Step E1: At the current sampling time Collect local control inputs from each subsystem and local measurement output .

[0110] Step E2: Based on the local diagnostic observer parameters obtained in Step 3, recursively update the local diagnostic observer state. .

[0111] Step E3: According to the interconnect coupling compensation time window length Extract the most recent Online diagnostic observer status at each sampling time and will Send to the neighboring subsystem.

[0112] Step Six: Receive the diagnostic observer state sequence sent by the neighboring subsystem, calculate the interconnect coupling compensation term, and generate the local diagnostic residual signal. Specific steps include:

[0113] Step F1: At the current sampling time Each subsystem Receive from each neighboring subsystem Transmitted finite-time window diagnostic observer state sequence .

[0114] Step F2: Calculate the interconnection coupling compensation term for each neighbor. And sum to obtain the total interconnect coupling compensation term. .

[0115] Step F3: Output based on local online measurements Control input and diagnostic observer status Calculate the local basic residual signal and utilize Compensate the local baseline residual signal to generate an online diagnostic residual signal. .

[0116] Step 7: Calculate the detection statistics and perform threshold discrimination to output the local fault diagnosis results. Specific steps include:

[0117] Step G1: Based on the residual signal and the covariance matrix determined offline in step four. Calculate the online detection statistics at the current sampling time. .

[0118] Step G2: With detection threshold Compare. If Then determine A local fault occurs, and a fault alarm signal is output; if Then determine It is in a fault-free state.

[0119] Step G3: Repeat steps five through seven for subsequent sampling times to achieve online privacy protection and distributed fault diagnosis of the interconnected dynamic system.

[0120] Example

[0121] like Figure 2 As shown, the DC microgrid in this embodiment consists of five Distributed Generation Units (DGUs), each corresponding to a local subsystem. The DGUs are electrically interconnected through line resistances, forming a typical interconnected dynamic system in energy interconnection systems and networked control systems. In this embodiment, DGU5 is selected as the local subsystem, and DGU1, DGU3, and DGU4 are neighboring subsystems. The state variable is the output voltage at the common coupling point. and filter inductor current , recorded as The control input is the control signal of the power converter. , recorded as The system output is recorded as . No. The continuous-time interconnection dynamic model of a DGU can be expressed as:

[0122]

[0123] in,

[0124] , , , ,

[0125] During the sampling period The continuous-time model described above is then subjected to zero-order preserved discretization to obtain a discrete-time interconnect dynamic model for diagnostic device design:

[0126]

[0127] The discretization matrix is ​​given by matrix exponential integral:

[0128]

[0129] In this embodiment, the main physical parameters of the DGU are set as follows: filter capacitor. , , , , ; Filter inductor , , , , Parasitic resistance of filter inductor , , , , The line resistance between each DGU is set as follows: , , , , , The sampling period is set to In this embodiment, the closed-loop controller parameters are set as follows: , , The reference deviation signal adopts a multi-sine form and is used to excite the operation of the closed-loop system.

[0130] During the online deployment phase, 25 seconds of test data were generated, resulting in approximately 25,000 sampling points. Fault injection timing was set during the test. Therefore, 0s to 12s is the fault-free operation phase, and 12s to 25s is the fault operation phase. To simulate the actual measurement environment, zero-mean Gaussian measurement noise is added to each measurement output, and the noise standard deviation is set to 1% of the standard deviation of the corresponding fault-free output signal.

[0131] In this embodiment, DGU5 is used as the local subsystem, and four fault modes are set. FS-a and FS-b are local sensor and actuator faults of the monitored subsystem DGU5, which are used to verify the detection sensitivity of the method of the present invention for local faults. FS-c and FS-d are sensor and actuator faults of neighboring subsystems DGU3 and DGU4, respectively, which are used to verify the robustness of the method of the present invention to the impact of neighboring faults.

[0132] Offline design phase

[0133] Step 1: Construct a DC microgrid interconnection system model and a privacy-preserving information exchange structure. Specific steps include:

[0134] Step A1: Determine that the DC microgrid consists of 5 DGUs, each DGU corresponding to a subsystem. For DGU5, the state variables are: The control input is The measurement output is .

[0135] Step A2: Determine the neighbor set of each DGU based on the line connection relationship. , , , , .

[0136] Step A3: Based on the electrical parameters and sampling period of the DGU, establish a local discrete-time state-space model for each DGU to obtain the local matrix. , , , and interconnection matrix .

[0137] Step A4: Set privacy protection constraints. For neighbor DGUj, its protected real information is the output voltage of the common coupling point. Filter inductor current and the control signals of the power converter .

[0138] Step 2: Construct the parity subspace and determine the target parity vector based on the hierarchical performance criterion of preserving local fault sensitivity and minimizing neighbor influence. Taking DGU5 as an example, other subsystems are similar. Specific steps include:

[0139] Step B1: Build a local equivalent model for offline design:

[0140]

[0141]

[0142] Step B2: Set the order of parity relation Construct local output stacked vectors and local input stacked vectors And construct the local input-output stacking relationship. .

[0143] Step B3: For Perform a complete QR decomposition with column pivoting to obtain an orthogonal matrix. and upper triangular matrix .Pick The row corresponding to zero column vectors as basis matrices of odd and even subspaces of the left null space .

[0144] Step B4: Apply scaling to the measurement output channel and control channel of the local equivalent model. =1% small test perturbation:

[0145]

[0146]

[0147]

[0148] Construct the local fault feature matrix: .

[0149] Step B5: Construct and combine the influence matrix: .

[0150] Step B6: Construction and ,right Perform eigenvalue decomposition, arrange the eigenvalues ​​in descending order, and take... Filter to meet The eigenvectors corresponding to the eigenvalues ​​are arranged in columns to form the basis matrix of the local fault-sensitive subspace. .

[0151] Step B7: Calculation Seeking The unit eigenvector corresponding to the smallest eigenvalue ,calculate And obtain the target parity vector. Then, normalization is performed. Step two is executed on all subsystems to obtain the target parity vector for each subsystem:

[0152] ;

[0153] ;

[0154] ;

[0155] ;

[0156] .

[0157] Step 3: Determine the parameters of the local diagnostic observer and residual generator based on the target parity vector. Taking DGU5 as an example, the process is similar for other subsystems. Specific steps include:

[0158] Step C1: Convert the target parity vector Divided according to the time order in the parity relationship.

[0159] Step C2: Construct a local diagnostic observer (order) ):

[0160]

[0161]

[0162] in:

[0163] , , , .

[0164] Step C3: Determine To achieve full column rank, calculate and preserve its generalized inverse. .

[0165] Step C4: Construct a local basic residual generator:

[0166]

[0167] in: , , .

[0168] Step 4: Construct interconnected coupling compensation terms based on the neighbor diagnostic observer states, generate local diagnostic residual signals, and determine detection statistics and fault detection thresholds. Taking DGU5 as an example, other subsystems are similar. Specific steps include:

[0169] Step D1: Receive the diagnostic observer state sequence from the neighboring subsystem. .

[0170] Step D2: Construct the interconnection coupling compensation matrix of the neighboring subsystem to the local subsystem DGU5:

[0171] .

[0172] Step D3: Calculate total interconnect coupling compensation And calculate the local diagnostic residual signal. .

[0173] Step D4: Calculate the statistic .

[0174] Step D5: Set the confidence level for kernel density estimation To obtain the threshold .

[0175] Online deployment phase

[0176] Step 5: Online acquisition of local measurement output and local control input, updating of the local diagnostic observer status, and sending of the local diagnostic observer status sequence to neighboring subsystems. Specific steps include:

[0177] Step E1: At the current sampling time Collect local measurement output and control input .

[0178] Step E2: According to and Update local diagnostic observer status .

[0179] Step E3: Set the DGU5 diagnostic observer state sequence Send it to its neighboring subsystem.

[0180] Step Six: Receive the diagnostic observer state sequence sent by the neighboring subsystem, calculate the interconnect coupling compensation term, and generate the local diagnostic residual signal. Specific steps include:

[0181] Step F1: Receive the neighbor diagnostic observer state sequence , .

[0182] Step F2: Calculate the interconnect coupling compensation term And sum to get .

[0183] Step F3: Calculate the local baseline residual signal And generate online diagnostic residual signals. .

[0184] Step 7: Calculate the detection statistics and perform threshold discrimination to output the local fault diagnosis results. Specific steps include:

[0185] Step G1: Based on the residual signal Calculate the detection statistic .

[0186] Step G2: If If so, a local fault is determined to have occurred in DGU5, and a fault alarm signal is output; if If so, then DGU5 is determined to be in a fault-free state.

[0187] Step G3: Repeat steps five through seven for subsequent sampling times to achieve online privacy-preserving distributed fault diagnosis of DGU5.

[0188] Diagnostic results as follows Figures 3 to 6 As shown. The detection statistics of DGU5 in the two local fault scenarios, FS-a and FS-b. The rapid exceedance of the detection threshold after fault injection demonstrates that the method of this invention can effectively detect local sensor and local actuator faults. In the FS-c and FS-d neighbor fault scenarios, although neighbor subsystems DGU3 and DGU4 experience significant faults, the detection statistics for DGU5... The system is generally able to stay below the threshold and does not generate continuous over-threshold alarms, indicating that the method of the present invention can effectively suppress false alarms caused by neighbor faults to the local diagnostic device.

[0189] The above implementation examples demonstrate that the method of this invention can complete interconnect coupling compensation and local fault diagnosis solely through the state sequence of the interactive neighbor diagnostic observer, without directly acquiring the actual measurement output, actual control input, and actual state of neighboring DGUs. Compared to traditional distributed fault diagnosis methods that require direct sharing of actual neighboring operational data, this invention reduces the risk of operational data exposure while ensuring the detection sensitivity of local faults and effectively suppressing false alarms caused by neighboring faults, thus verifying the effectiveness and deployability of the method of this invention.

[0190] The above examples of the present invention are merely illustrative of the computational model and process of the present invention, and are not intended to limit the implementation of the present invention. Those skilled in the art will recognize that other variations or modifications can be made based on the above description. It is impossible to exhaustively list all possible implementations here. Any obvious variations or modifications derived from the technical solutions of the present invention are still within the scope of protection of the present invention.

Claims

1. A method for fault diagnosis in a privacy-secure distributed interconnection system, characterized in that, include: Offline design phase: Step 1: Treat each local system as a subsystem, establish a local state space model for each subsystem, and determine the interconnection and coupling relationships and privacy-preserving information exchange methods; Step 2: Construct the parity subspace and determine the target parity vector based on the hierarchical performance criterion of preserving local fault sensitivity and minimizing neighbor influence; Step 3: Determine the parameters of the local diagnostic observer and residual generator based on the target parity vector; Step 4: Construct interconnected coupling compensation terms based on the state of the neighbor's diagnostic observer, generate local diagnostic residual signals, and determine the detection statistics and fault detection thresholds. Online deployment phase: Step 5: Collect local measurement outputs and local control inputs online, update the status of the local diagnostic observer, and send the local diagnostic observer status sequence to the neighboring subsystem; Step 6: Receive the diagnostic observer state sequence sent by the neighboring subsystem, calculate the interconnect coupling compensation term, and generate the local diagnostic residual signal; Step 7: Calculate the detection statistics and perform threshold discrimination to output the local fault diagnosis results.

2. The method for fault diagnosis of a privacy-secure distributed interconnection system according to claim 1, characterized in that, The specific steps for establishing local state-space models of each subsystem and determining interconnection and coupling relationships and privacy-preserving information exchange methods include: Step A1: For the first Subsystem , Let its state variable be . The control input is The measurement output is ,in For discrete sampling times, the dimensions of the state, control input, and measurement output are respectively... , and ; Step A2: Construct an interconnected topology by treating each subsystem as a node and the dynamic influences between subsystems as edges. The set of its neighbors is denoted as ; Step A3: Based on the interconnection relationships in the interconnection topology, establish a local state-space model that includes local dynamics and the coupling effects of neighbor interconnections; for Its model is represented as: , ,in , , , express The local system matrix, input matrix, output matrix, and direct transfer matrix. Representing the neighbor subsystem Acting on the local subsystem The state coupling matrix, Zero-mean measurement noise; Step A4: Connect the neighboring subsystem corresponding , and Set as protected information, set Local Time Subsystem Available diagnostic information is as follows: ,in This is the state sequence of the diagnostic observer to be designed.

3. The method for fault diagnosis of a privacy-secure distributed interconnection system according to claim 2, characterized in that, The specific steps for determining the target parity vector based on the hierarchical performance criterion of preserving local fault sensitivity and minimizing neighbor influence include: For each local subsystem The local system matrix, input matrix, output matrix, and direct transfer matrix are extracted from the local state-space model to construct a local equivalent model for offline parameter design. , ,in , and These represent the state, input, and output of the equivalent model, respectively; the fault-free local input and output data generated based on the local equivalent model constitute the local output stacking vector. and local input stacked vectors And construct the local input-output stacking relationship. ,in The order of the parity relation is denoted by . To expand the observation matrix, For the corresponding input transfer matrix; for the extended observation matrix Perform a complete QR decomposition with column pivoting and find the condition that satisfies... basis matrices of odd and even subspaces Test disturbances of a preset ratio are applied to the measurement output channel and control channel of the local equivalent model, and the changes in each channel are combined column-wise to obtain the local fault feature matrix. For any neighboring subsystem According to the local system matrix Output matrix Coupled with known state matrix Constructed in The influence matrix of propagation from the local output within each state transition process Combine the influence matrices of all neighbors into a neighbor influence feature matrix. ; Map the local fault feature matrix and the neighbor influence feature matrix to the odd / even subspace, and calculate them respectively. , and construct , ,right Perform eigenvalue decomposition and sort the eigenvalues ​​in descending order: ,Pick As the maximum local fault sensitivity index within the current odd / even subspace; some eigenvalues ​​and their corresponding eigenvectors are retained in descending order, and then the high local fault sensitivity parameter subspace basis matrix is ​​formed by column. ; Neighbor Influence Performance Matrix Limited to the aforementioned high local fault sensitivity parameter subspace: Seeking The unit eigenvector corresponding to the smallest eigenvalue ,calculate and according to Obtain the target parity vector, and finally... Perform unit norm normalization.

4. The method for fault diagnosis of a privacy-secure distributed interconnection system according to claim 3, characterized in that, The extended observation matrix 'col' indicates that the items within the parentheses are stacked vertically in order, corresponding to the input transfer matrix. .

5. The method for fault diagnosis of a privacy-secure distributed interconnection system according to claim 4, characterized in that, exist The influence matrix of propagation from the local output within each state transition process .

6. A method for fault diagnosis of a privacy-secure distributed interconnection system according to any one of claims 3 to 5, characterized in that, The process of determining the parameters of the local diagnostic observer and residual generator based on the target parity vector includes: target parity vector Divided according to the time order in the parity relationship ,in , For each subsystem, a local diagnostic observer is constructed based on the local equivalent model, and a set... , and These are the diagnostic observer state matrix, input matrix, and output injection matrix, respectively; simultaneously, the transformation matrix from the local system state to the diagnostic observer state is determined. and observation error The equation representing the relationship between local diagnostic observer observations and states; designed based on odd / even vector partitioning. , , and ; Check the state transformation matrix Does the full column rank condition apply? Equal to the state dimension of the subsystem At that time, calculate and store its generalized inverse. Based on the diagnostic observer, construct a local basic residual generator: ,in for Local base residual signals for which neighbor coupling compensation has not yet been performed. , and These are the parameters for the residual generator.

7. The method for fault diagnosis of a privacy-secure distributed interconnection system according to claim 6, characterized in that, The residual generator parameters , After being divided according to time sequence Elements in; , Pick The Okay, among them This refers to the order of the diagnostic observer.

8. The method for fault diagnosis of a privacy-secure distributed interconnection system according to claim 7, characterized in that, The process of constructing interconnected coupling compensation terms based on the neighbor's diagnostic observer state, generating local diagnostic residual signals, and determining detection statistics and fault detection thresholds includes: Collect the diagnostic observer state sequence within a finite time window of the neighboring subsystem; for any neighboring subsystem , Using the order of parity relation The corresponding interconnect coupling compensation time window is used to extract the most recent one. Neighbor diagnostic observer state at each sampling time According to the state coupling matrix Local diagnostic observer parameters State transition matrix Residual generator parameters and the generalized inverse of the state transformation matrix of the neighboring subsystem Construct the interconnection coupling compensation matrix of the neighboring subsystem to the local subsystem. ,in Include indivual ; Calculate and save the corresponding values ​​for each of the neighbors separately. ;according to and Calculate the interconnection coupling compensation of all neighboring subsystems Summing the interconnection coupling compensation terms of all neighboring subsystems yields the total interconnection coupling compensation term. And calculate the local diagnostic residual signal: ; Calculate the corresponding residual sequence using the fault-free operation data of each subsystem, and calculate the corresponding detection statistics for each subsystem; For The detection statistic is calculated as follows: , The covariance matrix is ​​estimated from the fault-free residual samples; for each subsystem, the kernel density estimation method is used to estimate the fault-free detection statistic. The distribution is estimated, and based on a given confidence level. Determine the detection threshold Depending on the specific application requirements, the detection threshold can also be obtained using empirical quantiles, chi-square approximation, or other statistical threshold determination methods.

9. The method for fault diagnosis of a privacy-secure distributed interconnection system according to claim 8, characterized in that, The process of receiving the diagnostic observer state sequence sent by the neighboring subsystem, calculating the interconnect coupling compensation term, and generating the local diagnostic residual signal includes: At the current sampling time Each subsystem Receive from each neighboring subsystem Transmitted finite-time window diagnostic observer state sequence The elements therein are the local diagnostic observer state values. The time window length for interconnect coupling compensation is given; the interconnect coupling compensation term for each neighbor is calculated. And sum to obtain the total interconnect coupling compensation term. ; Based on local online measurement output Control input and diagnostic observer status Calculate the local basic residual signal and utilize Compensate the local baseline residual signal to generate an online diagnostic residual signal. .

10. A method for fault diagnosis of a privacy-secure distributed interconnection system according to claim 8, characterized in that, The process of calculating detection statistics and performing threshold discrimination to output local fault diagnosis results includes: Based on residual signal and the covariance matrix determined offline in step four. Calculate the online detection statistics at the current sampling time. ;Will With detection threshold Compare; if Then determine A local fault occurs, and a fault alarm signal is output; if Then determine It is in a fault-free state.