Research Article
Fault Detection Filter Design and Optimization for Switched Systems with All Modes Unstable
Algorithm 1
Intelligent optimization algorithm for fault detection filters design.
(1) | Construct the fault detection filters for switched systems | (2) | Set the variation range of fault detection filters | (3) | Stability analysis and calculate the MDADT based on Eq. (15) | (4) | Design the fault detection filters based on Theorem 3 | (5) | Randomly generate the initial weights of the actor network and critic network | (6) | Initialize the critic target network and actor target network | (7) | Initialize the Replay buffer and define episode = 0 | (8) | for episode = 1 to M do | (9) | Initialize a random noise process to improve the robustness | (10) | Initialize a random state vector s1, then the initial observation can be obtained | (11) | for t = 1 to K do | (12) | Chose action based on the current state and noise in the environment | (13) | Calculate the reward function and state | (14) | Store the transition pair in the Replay buffer R | (15) | Sample a random minibatch of N transitions from the Replay buffer | (16) | Set | (17) | Update the critic network, actor network and target networks | (18) | end for | (19) | end for |
|