A distributed system security control method and system under deception attack

By designing distributed state observers and actor-critic networks based on neural networks in cyber-physical systems, the problem of system instability caused by data injection attacks is solved, and system stability and performance under complex and intelligent attacks are achieved. promote.

CN118377232BActive Publication Date: 2024-10-29NANJING UNIV OF SCI & TECH
View PDF 6 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

When cyber-physical systems (CPSs) face network attacks, existing technologies cannot effectively mitigate the impact of data injection attacks on system performance, resulting in system instability and a lack of security control methods for complex and intelligent attacks.

Method used

A security control method for distributed systems under deception attacks is designed. By establishing a mathematical model, a distributed state observer based on neural networks and an actor-critic network, an optimal control strategy is obtained to resist false data injection attacks and ensure that the system Stablize.

Benefits of technology

This method can effectively constrain the estimation error, ensure the stable operation of the system when attacked, and obtain security control strategies through the reinforcement learning framework to ensure the performance and resilience of the system under complex and intelligent attacks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118377232B_ABST
    Figure CN118377232B_ABST
Patent Text Reader

Abstract

The present application provides a method and system for secure control of a distributed system under a deception attack, the method comprising: establishing a mathematical model of a distributed system under a deception attack; designing a distributed state observer based on a neural network according to the system model; obtaining the learning rate of the neural network update and the gain of the state observer respectively by solving two sets of linear matrix inequalities; obtaining an estimate of the system state according to the output of the state observer of each node of the system; establishing an actor-critic network and training the network based on the system state estimation data to obtain an optimal control strategy. The control method proposed in the present application can effectively mitigate the impact of the attack on the system performance when the communication network from the controller to the actuator is under a deception attack, and ultimately stabilize the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a security control design method, and in particular to a distributed system security control method and system under deception attacks. Background Art

[0002] Cyber-physical systems (CPSs) are a type of intelligent system that integrates computing, control, and communication networks, realizing the integration of physical processes and network systems. At present, CPSs have been applied to various fields of modern society and play an important role in modern industry. However, due to the close integration of communication networks and physical devices, CPSs are vulnerable to interference from cyber attacks, leading to potential security issues. Cyber ​​attacks may seriously damage the performance of CPSs and cause huge economic losses. Therefore, studying how to mitigate the impact of cyber attacks on CPSs will help improve the stability and security of the system.

[0003] At present, security state estimation and security control are effective means to deal with various security issues of CPSs. The main goal is to ensure that CPSs can still operate within an acceptable range under attack by adopting different security strategies, including attack detection, isolation, attenuation and compensation. When CPSs are attacked, the security estimation and control technologies deployed in the system have a certain ability to mitigate or offset the impact of the attack, or prevent serious performance degradation and equipment failure of CPSs, and allow managers to correct or restore the system. Unlike various network-induced phenomena (such as data packet loss and channel attenuation), the statistical characteristics and structure of network attacks may be unknown, or even have a certain degree of intelligence. Therefore, some existing analysis and design methods for network control systems need to be redesigned in CPSs. In addition, it is necessary to continuously research and develop new security estimation and control technologies to cope with the ever-changing and upgraded attack methods, and ensure that CPSs have better performance and resilience in the face of network attacks.

[0004] As an important branch of data-driven technology, reinforcement learning can obtain the optimal strategy when the model is inaccurate due to its powerful learning ability. It has been widely used in robot control, autonomous driving, finance and other fields. At present, research on solving CPSs security issues based on data-driven technology has achieved certain results. However, research on distributed system security control based on reinforcement learning under network attacks is still relatively lacking. Therefore, in order to better meet the security needs of increasingly complex and intelligent CPSs, it is necessary to further explore and develop security control technology that combines control theory and reinforcement learning. Summary of the invention

[0005] The present application provides a distributed system security control method under deception attack, which aims to solve the problem that the communication network from the controller to the actuator in the sensor network system is attacked by data injection, resulting in system instability. When the actuator is attacked by data injection, the method effectively alleviates the impact of the attack on system performance and ultimately stabilizes the system.

[0006] In order to achieve the above object, the present invention adopts the following technical solution:

[0007] A distributed system security control method under deception attack, the method comprising:

[0008] Step 1: Establish a mathematical model of the distributed system that is subject to a deception attack;

[0009] Step 2: Design a distributed state observer based on a neural network according to the mathematical model of the distributed system;

[0010] Step 3, by solving two sets of linear matrix inequalities, the learning rate of the neural network update and the gain of the distributed state observer are obtained respectively;

[0011] Step 4: Obtain an estimate of the state of the distributed system based on the output of the distributed state observer of each node;

[0012] Step 5: Establish an actor-critic network and train the neural network based on the estimated data of the distributed system state to obtain the optimal control strategy.

[0013] A distributed system safety control system under deception attack, characterized by comprising a distributed system model building unit, a distributed state observer design unit, a solution unit, a distributed system state estimation unit and an optimal control strategy output unit, wherein:

[0014] The distributed system model building unit is used to build a mathematical model of the distributed system that is subject to a deception attack;

[0015] The distributed state observer design unit designs a distributed state observer based on a neural network according to a mathematical model of the distributed system;

[0016] The solving unit obtains the learning rate of the neural network update and the gain of the distributed state observer respectively by solving two sets of linear matrix inequalities;

[0017] The optimal control strategy output unit establishes an actor-critic network and trains a neural network based on the estimated data of the distributed system state to obtain the optimal control strategy.

[0018] Compared with the prior art, the beneficial effects of the present invention are as follows: the information-physical system studied in the present application is a distributed system based on a sensor network and is described by a general discrete time-varying nonlinear equation; in order to observe an unknown distributed system, the present application designs a distributed state observer based on a neural network, derives the observer gain matrix, and ensures that the estimation error is constrained within an ellipsoid; in order to resist the false data injection attack on the communication network from the controller to the actuator, the present application introduces the framework of reinforcement learning, designs an actor-critic network, and obtains a security control strategy through training; finally, the present application derives that the system state and the weight matrix in the actor-critic network are consistent and ultimately bounded, proving that the proposed security control method can ensure the stability of the system under attack. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 It is a flow chart of the method provided by this application.

[0020] Figure 2 This is a block diagram of a distributed system provided by this application.

[0021] Figure 3 is the weight matrix of the critic network provided in the embodiment of the present application Update trajectory diagram.

[0022] Figure 4 is the weight matrix of the defender network provided in the embodiment of the present application Update trajectory diagram.

[0023] Figure 5 is the weight matrix of the attacker network provided in the embodiment of the present application Update trajectory diagram.

[0024] Figure 6 is the system status provided by the embodiment of the present application and 's trajectory diagram.

[0025] Figure 7 is the system status provided by the embodiment of the present application and 's trajectory diagram. DETAILED DESCRIPTION

[0026] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0027] Combination Figure 1 , this application provides a distributed system security control method under deception attack, the specific implementation method is:

[0028] Step 1: Establish a mathematical model of the distributed system that is attacked by deception. The system block diagram is as follows: Figure 2 shown.

[0029] Specifically, a mathematical model of a distributed system attacked by false data injection is established:

[0030] (1)

[0031] in, , Represents the state of the system and the output of the i-th node; , , , is a known matrix of suitable dimension and satisfies ; is an unknown nonlinear function that satisfies ; , , They represent the control signal under spoofing attack, the original control signal and the attack signal injected by the attacker respectively. represents a random variable that satisfies the Bernoulli distribution, satisfying: , is the attack probability. and They represent unknown but bounded noise sequences that satisfy the following constraints:

[0032] (2)

[0033] in, and is a known symmetric positive definite matrix.

[0034] Step 2: Design a distributed state observer based on a neural network according to the system model;

[0035] By choosing a suitable matrix A, the nonlinear system represented by formula (1) can be transformed into the following form:

[0036] ;

[0037] in, is an unknown nonlinear function. Use a neural network to approximate the unknown linear function Therefore, the nonlinear system can be reconstructed as follows:

[0038] ;

[0039] in, is the weight matrix of the neural network, satisfying ; and denote the bounded approximation error and the nonlinear activation function, respectively.

[0040] According to the system equations and sensor outputs, the following neural network-based state observer is constructed:

[0041] (3)

[0042] in, is the output of the state observer of node i; is the weight matrix of the neural network; is a nonlinear activation function; is the value of the i-th row and j-th column of the adjacency matrix; is the set of adjacent nodes of a node; is the observer gain.

[0043] Furthermore, according to the cost function , estimation of the neural network weight matrix The update law is designed as:

[0044] (4)

[0045] in, and is the learning rate to be solved, For neural networks k The weight matrix at the +1 moment.

[0046] Step 3, by solving two sets of linear matrix inequalities, the learning rate of the neural network update and the gain of the state observer are obtained respectively;

[0047] The filter satisfies two lemmas and one assumption, including:

[0048] Lemma 1: There exists a constant matrix , and ,satisfy and , if and only if:

[0049] ;

[0050] inequality Established.

[0051] Lemma 2: Let , , ..., For variables The quadratic form of: ,in, If it exists , so that , then there are the following conclusions:

[0052] ;

[0053] Assumption 1: In hour, and satisfy:

[0054] tr[ W ̃ f ,0 T P 1,0 -1 W ̃ f ,0 ]≤1, e 0 T P 2,0 -1 e 0 ≤1. ;

[0055] Specifically, according to the update formula (4) that defines the neural network weight, the approximate error of the neural network weight matrix can be obtained:

[0056] ;

[0057] Theorem 1 is obtained by reasoning. Considering the nonlinear system expressed by formula (1), the observer's neural network weight matrix update law is formula (4), the weight update error is, and the initial weight matrix satisfies assumption 1. If there is a positive scalar sequence and learning rate The following linear matrix inequality is satisfied:

[0058] ;

[0059] in, , is a positive definite matrix and ;

[0060] ;

[0061] ;

[0062] .

[0063] Then in k ∈[0, T ] The following inequality holds true:

[0064] tr[ W ̃ fi , k T P 1i, k -1 W ̃ fi , k ]≤1 ;

[0065] Theorem 1 is proved as follows:

[0066] This theorem will be proved by mathematical induction.

[0067] First, according to hypothesis 1, When tr[ W ̃ fi ,0 T P 1i,0 -1 W ̃ fi ,0 ]≤1 Second, we assume that When tr[ W ̃ fi , k T P 1i, k -1 W ̃ fi , k ]≤1 Then we only need to prove that When tr[ W ̃ fi , k +1 T P 1i, k +1 -1 W ̃ fi , k +1 ]≤1 This also holds true, so we can derive Theorem 1.

[0068] Define the matrix straightening operator as:

[0069] ;

[0070] in, Representation Matrix No. OK. Therefore, tr[ W ̃ fi , k T P 1i, k -1 W ̃ fi , k ]≤1 can be equivalently transformed into

[0071] ;

[0072] in, .

[0073] consider , can be obtained

[0074] ;

[0075] Among them, the vector ,satisfy .

[0076] By using the matrix straightening operator and the neural network to update the error, we can get

[0077] ;

[0078] in, .

[0079] Transform the above formula into the following equivalent form:

[0080] ;

[0081] in,

[0082] ;

[0083] consider , can be obtained

[0084] ;

[0085] pass , can be obtained

[0086] ;

[0087] If you want to prove tr[ W ̃ fi , k +1 T P 1i, k +1 -1 W ̃ fi , k +1 ]≤1 , which is equivalent to proving that the following inequality holds:

[0088] ;

[0089] From the above formula, we can get

[0090] ;

[0091] Lemma 2 shows that if there exists a positive scalar sequence , So that the following inequality holds:

[0092] ;

[0093] Finally, Lemma 1 can be used to derive the linear matrix inequality in Theorem 1. The proof is complete.

[0094] According to the distributed observer model, the state estimation error for

[0095] ;

[0096] in, , it is obvious There is an upper bound ,in is a known constant.

[0097] Theorem 2 is derived by considering the update law of the neural network weight matrix estimation, the weight update error and the state estimation error, and setting the initial neural network weights to satisfy Assumption 1. If there is a positive scalar sequence and filter gain The following linear matrix inequality is satisfied:

[0098] ;

[0099] in, is the weight matrix;

[0100] ;

[0101] Θ k ≜[0 ,Φ f,k F ¯ 1, k , A ¯ - L k C k F 2, k , D ¯ k ,- L k E k , I ] ; ;

[0102] ; ; ; ;

[0103] ; ; ; ;

[0104] .

[0105] Respectively, vector , , The dimension of

[0106] Then in k ∈[0, T ] The following inequality holds true:

[0107] ;

[0108] Theorem 2 is proved as follows:

[0109] The following will prove this theorem by mathematical induction. First, according to hypothesis 1, When Second, we assume that Time, inequality Then we only need to prove that hour, The inequality also holds, so we can infer that Theorem 2 holds.

[0110] By consulting the literature, we can find

[0111] ;

[0112] in, .

[0113] It is not difficult to obtain by matrix straightening operation

[0114] ;

[0115] in, .

[0116] Transform the above formula into the following form

[0117] ;

[0118] in, ;

[0119] pass and Available

[0120] ;

[0121] ;

[0122] The inference is:

[0123] ;

[0124] ;

[0125] According to Assumptions 1 and 2, we can get

[0126] ;

[0127] ;

[0128] According to the inequality , can be obtained

[0129] ;

[0130] To prove the inequality It is equivalent to proving that the following inequality holds:

[0131] ;

[0132] According to Lemma 2, if there exists a positive scalar This makes the following inequality true:

[0133] ;

[0134] Then the inequality Finally, according to Lemma 1, we can infer that Theorem 2 is true. The proof is complete.

[0135] Step 4: Obtain an estimate of the system state based on the output of the state observer of each node;

[0136] The specific method is:

[0137] ;

[0138] in, is the estimated value of the system state; represents the weight of node i; is the total number of nodes in the sensor network; is the output of the state observer of node i.

[0139] Step 5: Establish an actor-critic network and train the network based on the system state estimation data to obtain the optimal control strategy.

[0140] Unknown value function It can be approximated by a critic network:

[0141] ;

[0142] in, is the input of the critic network; is the weight matrix between the input layer and the hidden layer; is the ideal weight matrix between the hidden layer and the output layer, and there is an upper bound ; is a nonlinear activation function that satisfies ; is the approximation error of the neural network, satisfying .

[0143] Because the ideal weight matrix Unknown, estimated replace. The estimate can be expressed as follows:

[0144] ;

[0145] The estimated error of the value function is defined as:

[0146] ;

[0147] in, and .

[0148] The loss function of the critic network is defined as

[0149] ;

[0150] Use gradient descent to adjust To minimize the loss function

[0151] ;

[0152] in, is the learning rate.

[0153] Then we can get the weight of the critic network The expression of the estimation error is:

[0154] ;

[0155] Control strategy It can be approximated by an actor network, defined as a defender network:

[0156] ;

[0157] in, is the input of the critic network; is the weight matrix between the input layer and the hidden layer; is the ideal weight matrix between the hidden layer and the output layer, and there is an upper bound ; is a nonlinear activation function that satisfies ; is the approximation error of the neural network, satisfying .

[0158] Because the ideal weight matrix Unknown, estimated replace. The estimate can be expressed as follows:

[0159] ;

[0160] The target input can be defined as follows:

[0161] ;

[0162] The estimation error of is defined as:

[0163] ;

[0164] The loss function of the defender network is defined as

[0165] ;

[0166] Use gradient descent to adjust To minimize the loss function

[0167] ;

[0168] in, is the learning rate.

[0169] The estimated error of the weight matrix in the defender network is defined as

[0170] ;

[0171] Attack Signal It can be approximated by an actor network, defined as the attacker network:

[0172] ;

[0173] in, is the input of the critic network; is the weight matrix between the input layer and the hidden layer; is the ideal weight matrix between the hidden layer and the output layer, and there is an upper bound ; is a nonlinear activation function that satisfies ; is the approximation error of the neural network, satisfying .

[0174] Because the ideal weight matrix Unknown, estimated replace. The estimate can be expressed as follows:

[0175] ;

[0176] The target input can be defined as follows:

[0177] ;

[0178] The estimation error of is defined as:

[0179] ;

[0180] The loss function of the attacker network is defined as

[0181] ;

[0182] Use gradient descent to adjust To minimize the loss function

[0183] ;

[0184] in, is the learning rate.

[0185] Define the estimation error of the weight matrix in the attacker network as

[0186] .

[0187] In summary, by updating the weights of the neural network, the weights of all networks will eventually converge and the system will become stable; the convergence proof is as follows:

[0188] Assumption 2: Some vectors are bounded, satisfying: ; ; ; ; .

[0189] Consider the Lyapunov function:

[0190] ;

[0191] in,

[0192] ;

[0193] ;

[0194] ;

[0195] Through the Lyapunov function, we can get The first difference of :

[0196] ;

[0197] First, calculate The first difference of :

[0198] ;

[0199] Next, calculate The first difference of :

[0200] ;

[0201] in, .

[0202] Next, calculate The first difference of :

[0203] ;

[0204] in, .

[0205] Using the Cauchy–Schwarz inequality, we have

[0206] ;

[0207] in, .

[0208] Arranging the above formulas, we can get

[0209] ;

[0210] in,

[0211] ;

[0212] ;

[0213] When the following inequality is satisfied, Less than 0:

[0214] ;

[0215] ;

[0216] ;

[0217] ;

[0218] Among them, the parameters satisfy , , The estimated errors of the system state and the weight matrices of the critic network, defender network, and attacker network are ultimately bounded.

[0219] Example 1

[0220] The present invention is further described below in conjunction with specific examples.

[0221] Consider a nonlinear system with the following parameters:

[0222] ;

[0223] Select other parameters as follows:

[0224] ;

[0225] Set the adjacency matrix as follows:

[0226] ;

[0227] Assume that the initial system state, control input, attack signal and other matrices are as follows:

[0228] & x 0 =[0.5,-0.5 ] T , x ̂ 1,0 =[-0.2,0.3 ] T , x ̂ 2,0 =[-0.2,0.3 ] T , x ̂ 3,0 =[-0.2,0.3 ] T & W ̂ f1 ,0 = W ̂ f2 ,0 = W ̂ f3 ,0 = I , P 1i,0 =100 I , P 2i,0 =100 I ,, u 0 =0.1, μ 0 =0, & W ̂ do 0 =[0.0,0.1,0.2,0.3,0.4,0.5 ] T & W ̂ ao 0 =[0.0,0.1,0.2,0.3,0.4,0.5 ] T & W ̂ co 0 =[-0.1,-0.2,0.0,0.1,0.2,0.3,0.4,0.5 ] T ;

[0229] The structures of the critic network, defender network, and attacker network are set to 2-8-1, 2-6-1, and 2-6-1, respectively, where the numbers represent the number of neurons in each hidden layer and output layer. After training, about 50 steps, the weights of the neural network converge to a constant value, and the weight matrix of the critic network is The update trajectory is as follows Figure 3~Figure 5 As shown, each curve in the figure represents the weight matrix A component of , k represents the simulation sampling time, and at the same time, the control input converges to 0. The state observer can effectively observe the system state, and the system state also converges to 0, and the system tends to be stable, such as Figure 6 , 7 As shown, Figure 3-Figure 7 The coordinate axis units are dimensionless units.

[0230] The information-physical system studied in this application is a distributed system based on a sensor network and is described by a general discrete time-varying nonlinear equation. In order to observe an unknown distributed system, this application designs a distributed state observer based on a neural network, derives the observer gain matrix, and ensures that the estimation error is constrained within an ellipsoid. In order to resist the false data injection attack on the communication network from the controller to the actuator, this application introduces the framework of reinforcement learning, designs an actor-critic network, and obtains a security control strategy through training. Finally, this application derives that the system state and the weight matrix in the actor-critic network are consistent and ultimately bounded, proving that the proposed security control method can ensure the stability of the system under attack.

[0231] The description of the above preferred embodiments enables those skilled in the art to make or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be applied to other embodiments without using creative capabilities. Therefore, the present invention is not limited to the embodiments shown herein, but conforms to the broadest scope consistent with the principles and novel features disclosed herein.

Claims

1. A distributed system security control method under deception attack, characterized in that: The method comprises: Step 1: Establish a mathematical model of the distributed system that is subject to a deception attack; Step 2: Design a distributed state observer based on a neural network according to the mathematical model of the distributed system; Step 3, by solving two sets of linear matrix inequalities, the learning rate of the neural network update and the gain of the distributed state observer are obtained respectively; Step 4: Obtain an estimate of the state of the distributed system based on the output of the distributed state observer of each node; Step 5: Establish an actor-critic network and train the neural network based on the estimated data of the distributed system state to obtain the optimal control strategy; The mathematical model of the distributed system is: ; in, , Represent the state of the system and the output of the i-th node respectively; , , , is a known matrix; is an unknown nonlinear function that satisfies ; , , They represent the control signal attacked by deception, the original control signal and the attack signal injected by the attacker respectively. represents a random variable that satisfies the Bernoulli distribution, satisfying: , is the attack probability, {·} represents the probability of an event occurring, and represents an unknown but bounded noise sequence, , , Represents dimension; The distributed state observer model in step 2 is: ; in, is the output of the state observer of node i at time k+1, k, is the weight matrix of the neural network, is the activation function, is the value of the i-th row and j-th column of the adjacency matrix, is the set of adjacent nodes of a node, is the observer gain, is the coefficient matrix, For the j The output of the node, For mathematical models The corresponding known matrix is, For Node j exist k The output of the state observer at time t; The learning rate of the neural network update is obtained by solving the linear matrix inequality, which is: ; The parameters in the matrix are: ; ; ; ; in, is a positive definite matrix, For the matrix The decomposition matrix of is a positive scalar sequence, is a normal number, is the identity matrix; The gain of the distributed state observer is obtained by solving the linear matrix inequality, which is: ; The parameters in the matrix are: ; ; ; ; ; ; ; ; ; ; ; ; in, is the weight matrix, is a positive scalar sequence, is the identity matrix, Respectively, vector , , The dimension of the vector , satisfy , ,vector satisfy , is the state estimation error; The state of the distributed system is estimated as: ; in, represents the weight of node i; is the total number of nodes in the sensor network; is the output of the state observer of node i; The critic network in the actor-critic network is: ; in, is the input of the critic network; is the weight matrix between the input layer and the hidden layer; is the weight matrix between the hidden layer and the output layer; is a nonlinear activation function, n , N c Represents dimension; The actor network in the actor-critic network is: ; in, is the weight matrix between the input layer and the hidden layer; is the weight matrix between the hidden layer and the output layer; is a non-linear activation function.

2. The distributed system security control method according to claim 1, characterized in that: Noise sequence and The following constraints are met: ; in, and is the set to which the noise sequence belongs; and is a known positive definite matrix of suitable dimension.

3. The distributed system security control method according to claim 1, characterized in that: The weight matrix of the neural network The update law is: ; in, and is the learning rate, For neural networks k The weight matrix at the +1 moment.

4. A distributed system security control system that implements the distributed system security control method under deception attack as described in any one of claims 1 to 3, characterized in that: It includes a distributed system model building unit, a distributed state observer design unit, a solution unit, a distributed system state estimation unit and an optimal control strategy output unit, wherein: The distributed system model building unit is used to build a mathematical model of the distributed system that is subject to a deception attack; The distributed state observer design unit designs a distributed state observer based on a neural network according to a mathematical model of the distributed system; The solving unit obtains the learning rate of the neural network update and the gain of the distributed state observer respectively by solving two sets of linear matrix inequalities; The optimal control strategy output unit establishes an actor-critic network and trains a neural network based on the estimated data of the distributed system state to obtain the optimal control strategy.

Citation Information

Patent Citations

  • Actor-critic algorithm-based distributed traffic signal lamp joint control method

    CN111785045A

  • Distributed security event driver and SDOFD controller collaborative design method

    CN112859607A

  • Self-adaptive cooperative security control method for cluster unmanned system under spoofing attack

    CN116736696A

  • Power distribution system voltage control method based on self-organizing mapping neural network deep reinforcement learning

    CN117200213A

  • Security control method based on reinforcement learning and zero-sum game under spoofing attack

    CN118054936A