Fault detection method for closed-loop control system of water jet propulsion device based on CAE and SVDD
By combining the CAE and SVDD models and using the particle swarm optimization algorithm, a hypersphere is constructed for fault detection, which solves the problem of high false detection rate in the closed-loop control system of the water jet propulsion device and improves detection accuracy and efficiency.
Patent Information
- Application Number
- CN202210616668.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-01
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-06-01
AI Technical Summary
In the existing technology, the fault detection method of the closed-loop control system of the water jet propulsion device has a high false detection rate, which affects the combat effectiveness of the equipment.
A fault detection method based on CAE and SVDD is adopted, feature extraction and normalization are performed on the data through the CAE model, the SVDD model is trained to construct a hypersphere, and the particle swarm optimization algorithm is used to find the optimal hyperparameters and reduce the false detection rate.
It improves the accuracy and efficiency of fault detection, reduces the false detection rate, retains the essential information of the system to the maximum extent, and avoids the interference of redundant information.
Smart Images

Figure CN114895653B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of fault diagnosis, and in particular to a fault detection method for a closed-loop control system of a water jet propulsion device based on CAE and SVDD. Background Art
[0002] The steering and forward and reverse navigation of large ships all rely on the closed-loop control system of the water jet propulsion device, which controls the rotation angle of the steering and reverse navigation mechanism. In actual work, electric hydraulic control is generally used. The composition of the closed-loop control system of the water jet propulsion device is as follows: Figure 1 As shown, it mainly includes a hydraulic control unit, a control object unit and an output feedback unit. After the controller receives the control signal sent by the control console, it is processed by the control circuit and sent to the proportional reversing valve. The proportional reversing valve opens the valve according to the received voltage signal, and the hydraulic oil flows from the hydraulic pump into the hydraulic cylinder, thereby pushing the piston rod to move, thereby driving the associated rudder or inverted bucket to rotate. At the same time, the output feedback mechanism feeds the rotation angle of the rudder or inverted bucket to the controller in real time, thereby completing the closed-loop control of the water jet propulsion device. With the gradual increase in the frequency of equipment use, the water jet propulsion device is usually required to operate at high load and for a long time, and the working environment is harsh and the working conditions are complex and changeable. This makes the closed-loop control system of the water jet propulsion device expose a series of reliability problems, and the fault detection method for the closed-loop control system of the water jet propulsion device in the prior art has a high false detection rate, which seriously affects the performance of the equipment's combat effectiveness. Summary of the invention
[0003] The purpose of the present invention is to propose a fault detection method for a closed-loop control system of a water jet propulsion device based on CAE and SVDD in order to solve the problem of high false detection rate of the fault detection method for the closed-loop control system of a water jet propulsion device in the prior art.
[0004] The technical solution adopted by the present invention to solve the above technical problems is:
[0005] The fault detection method of the closed-loop control system of a water jet propulsion device based on CAE and SVDD includes the following steps:
[0006] Step 1: Acquire the closed-loop control system data of the water jet propulsion device, and use the normal data in the closed-loop control system data of the water jet propulsion device as training samples;
[0007] Step 2: normalize the training samples, and use the normalized training samples to train the CAE model to obtain the trained CAE model and the implicit features output by the trained CAE model;
[0008] Step 3: Use the implicit features output by the trained CAE model to construct and train the SVDD model, and obtain the trained SVDD model and the radius of the hypersphere output by the trained SVDD model;
[0009] Step 4: Obtain the data to be detected and normalize the data to be detected;
[0010] Step 5: Input the normalized data to be detected into the trained CAE model to obtain the latent features to be detected;
[0011] Step 6: Input the hidden features to be detected into the trained SVDD model to obtain the distance from the center of the hypersphere;
[0012] Step 7: Determine whether the radius of the hypersphere is greater than the distance from the center of the hypersphere. If so, it is determined to be normal; if not, it is determined to be a fault.
[0013] Furthermore, the specific steps of training the CAE model in step 2 are:
[0014] Step 21: Initialize CAE model parameters;
[0015] Step 22: Obtain the loss function using the CAE model initialized with parameters and the training samples;
[0016] Step 2 and 3: Use the back-propagation algorithm to calculate the gradient of the loss function relative to the CAE model parameters, and then use the stochastic gradient descent algorithm to update the weight parameters of the CAE model;
[0017] Step 24: Use the updated CAE model and training samples to calculate the loss function, repeat steps 22 to 24 for iteration, and stop when the number of iterations is reached to obtain the trained CAE model and the implicit features output by the trained CAE model.
[0018] Furthermore, the CAE model includes a hidden layer and a reconstruction layer, the hidden layer is used for encoding, and the reconstruction layer is used for decoding;
[0019] The hidden layer includes a convolution layer, an activation layer and a downsampling layer;
[0020] The reconstruction layer includes an upsampling layer, a deconvolution layer and an activation layer.
[0021] Furthermore, the encoded features are expressed as:
[0022] h k =σ(x*W k +b k )
[0023] Among them, x represents input data, σ represents activation function, W represents weight parameter, b represents bias parameter, h k represents the kth latent feature.
[0024] Furthermore, the decoded reconstructed data is expressed as:
[0025]
[0026] in, represents the weight parameter of the decoding operation, c represents the bias parameter, and H represents the hidden layer.
[0027] Furthermore, the loss function of the CAE model is the mean square error between the input data and the reconstructed data, expressed as:
[0028]
[0029] Among them, n represents the number of samples, m represents the dimensions of input data and reconstructed data, and x i represents the test sample, i represents the sample number, y i Represents the reconstructed data of the test sample.
[0030] Furthermore, the gradient of the loss function in steps 2 and 3 relative to the CAE model parameters is expressed as:
[0031]
[0032] Among them, δh and δy represent the changes of implicit features and reconstructed representations respectively. represents the reconstruction coefficient, represents partial derivative.
[0033] Furthermore, the steps of constructing and training the SVDD model in step 3 are specifically as follows:
[0034] Step 31: Use the implicit features output by the trained CAE model to build an SVDD fault detection model. The specific steps are as follows:
[0035] Step 3: Use the implicit features output by the trained CAE model as training samples, project the training samples into the high-dimensional feature space F through nonlinear mapping, and find the minimum hypersphere in the high-dimensional feature space F. The center of the minimum hypersphere is a and the radius is R.
[0036] Step 3-2: Establish a quadratic programming problem based on the center a and radius R. The quadratic programming problem is expressed as:
[0037]
[0038] st||x i -a||2 ≤R 2 +ξ i ,i=1,...n,ξ i ≥0
[0039] The Lagrangian operator method is used to solve the above optimization problem and obtain the values of the sphere center a and radius R, i.e., the radius of the hypersphere;
[0040] Among them, ξ i represents the slack variable, C represents the penalty parameter;
[0041] Step 313: Select Gaussian radial basis kernel function as the kernel function of SVDD model and build SVDD model.
[0042] Step 32: Select the false positive rate of the training sample as the fitness, and use the particle swarm optimization algorithm to find the optimal penalty parameter and kernel parameter of the SVDD model. The specific steps are:
[0043] Step 321: Initialize the particle algorithm parameters, including the particle group size, particle position and speed, and maximum number of iterations;
[0044] Step 322: Calculate the fitness value corresponding to each particle position;
[0045] Step 323: Use particles to search for the best position and the global optimal position Optimize the current position and current speed of the particle. The optimization formula is:
[0046]
[0047]
[0048] Where i = 1, 2, ..., n, c1 and c2 represent acceleration factors, c1 = c2 = 2, r1 and r2 represent random numbers distributed in [0, 1], s represents the current number of iterations, Respectively represent the speed and position of the particle in the next iteration, Indicates the current particle speed, represents the current particle position, represents the global optimal position of the particle;
[0049] Step 324: The inertia factor ω is introduced and expressed as:
[0050]
[0051] For ω, a linear decreasing inertia weighting strategy is used to balance the performance of global search and local search, which is expressed as:
[0052] ω s =(ω start -ω end )(s max -s) / s max +ω end
[0053] Among them, ω start represents the initial inertia weight, ω end Indicates the inertia weight at the maximum number of iterations, s max Indicates the maximum number of iterations;
[0054] Step 325: Repeat steps 322 to 324 until the number of iterations is reached;
[0055] Step 326: Select the penalty parameter and kernel parameter corresponding to the particle position with the largest fitness value;
[0056] Step 33: Apply the penalty parameter and kernel parameter to the SVDD model, and calculate the hypersphere radius of the SVDD based on the training samples.
[0057] Furthermore, the discriminant function for judging whether the radius of the hypersphere is greater than the distance from the center of the hypersphere is:
[0058] f(x)=sgn(R 2 -||xa|| 2 )=sgn(R 2 -d 2 (x)
[0059] If f(x)>0, it means that the radius of the hypersphere is greater than the distance from the center of the hypersphere. Otherwise, it means that the radius of the hypersphere is not greater than the distance from the center of the hypersphere. d represents the characteristic dimension.
[0060] The beneficial effects of the present invention are:
[0061] (1) This application uses a CAE model to extract features from closed-loop control system sample data, compressing data dimensions while retaining the essential information of the system to the maximum extent, and eliminating the interference of redundant information;
[0062] (2) This application introduces PSO to optimize the penalty parameters and kernel parameters of SVDD to avoid falling into local optimality and repeated oscillation during the parameter optimization process. The optimal hyperparameters found are applied to the SVDD fault detection model, thereby improving the fault detection efficiency and reducing the false detection rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Figure 1 It is the overall structure diagram of the closed-loop control system of the water jet propulsion device;
[0064] Figure 2This is the fault detection flow chart for this application;
[0065] Figure 3 This is a schematic diagram of the AMESim water jet propulsion device closed-loop simulation model;
[0066] Figure 4 This is the network structure diagram of CAE. DETAILED DESCRIPTION
[0067] It should be particularly noted that, in the absence of conflict, the various embodiments disclosed in this application can be combined with each other.
[0068] Specific implementation method 1: refer to Figure 1 Specifically describing this embodiment, the fault detection method of the closed-loop control system of a water jet propulsion device based on CAE and SVDD described in this embodiment includes two parts: offline modeling and detection, and mainly includes the following steps:
[0069] (1) Offline Modeling
[0070] a. Use normalized training samples to train CAE, and map the training samples to the feature space through the encoding structure to obtain training features.
[0071] b. PSO is used to find the optimal hyperparameters of the SVDD model.
[0072] c. Use the Gaussian kernel function to map the training features to the Hilbert space, calculate the radius of the hypersphere of the SVDD model, and set it as the fault detection threshold.
[0073] (2) Online detection
[0074] a. Use the CAE model trained in offline modeling to map the normalized test samples to the feature space to obtain the test features.
[0075] b. Use the PSO-SVDD model to calculate the distance from the test feature to the center of the hypersphere in the feature space. If it exceeds the fault detection threshold, it is judged as a fault, otherwise it is normal.
[0076] This application selects the closed-loop control system of the water jet propulsion device as the research object, which controls the rotation angle of the steering and reverse navigation mechanism. In actual work, electric hydraulic control is generally used.
[0077] Autoencoder (CAE) is a three-layer neural network for unsupervised learning. Using neural networks to build an autoencoder can achieve dimensionality reduction and compression of input data. As a novel dimensionality reduction method in deep learning, the autoencoder can find the best low-dimensional data subspace and capture the nonlinear correlation between features, and has received widespread attention and research.
[0078] Support Vector Domain Description (SVDD) is a description method based on boundary data. The main idea is to map the training sample points of nonlinear mapping to a high-dimensional inner product space to form a hypersphere containing all training data. This feature makes SVDD widely used in the field of fault detection. However, when using SVDD for boundary calculation, the optimization of hyperparameters is particularly critical. Reasonable parameters can greatly improve the detection capability, simplify the calculation complexity, and thus increase the detection speed.
[0079] This application uses CAE models to extract features from data and compress data dimensions while retaining the original information to the maximum extent. PSO is used to find the optimal hyperparameters of the SVDD model, and the optimized SVDD model is combined with test data to complete the fault detection of the closed-loop control system. This application has a good effect on improving the detection accuracy and reducing the false detection rate of faults, and provides a better solution for the fault detection of the closed-loop control system of the water jet propulsion device.
[0080] Specifically, this application can be implemented through the following solutions:
[0081] For the detection example of the closed-loop control system of the water jet propulsion device, the specific steps of this application are as follows:
[0082] (1-1) AMESim software was used to simulate the faults of the closed-loop control system of the water jet propulsion device, and the mild fault modes in each type of fault were selected for experimental verification, including hydraulic pump leakage, pipeline leakage, pump failure, overflow valve failure, pipeline blockage, hydraulic cylinder leakage, hydraulic cylinder leakage, air mixed in the oil and normal.
[0083] (1-2) The closed-loop control system simulation model of the entire water jet propulsion device is as follows Figure 3 shown.
[0084] In "Sub-model Mode", select appropriate sub-models and corresponding mathematical models for each module of the system. The proportional reversing valve uses the system model HSV34_01, the overflow valve uses the system model RV010, and the rest uses the system default model through "Premier Mode". And set the main component parameters according to the actual situation in "Parameter Mode", as shown in Table 1.
[0085] Table 1 Parameters of main components of closed-loop control system of water jet propulsion device
[0086]
[0087] (1-3) According to the constructed closed-loop control system simulation model, 81 data samples were simulated for each fault, totaling 729 data samples. 54 data samples under normal conditions were randomly selected to form a training set, and the remaining 675 data samples formed a test set for subsequent feature extraction and fault detection;
[0088] (1-4) Using false acceptance rate (FAR) and false detection rate (FDR) as performance evaluation indicators, the specific formula is:
[0089]
[0090]
[0091] Among them, FP is the number of normal samples that are falsely reported as faults, TN is the number of normal samples that are correctly detected, TP is the number of faulty samples that are correctly detected, and FN is the number of faulty samples that are misjudged.
[0092] (2) The CAE model is trained using the data samples in the normal state in the training set. Its network structure is as follows: Figure 4 shown.
[0093] (2-1) Perform the encoding operation of the hidden layer, which consists of alternating convolutional layers, activation operations, and downsampling. Assuming that the input data of the training set is x, the kth hidden feature of the CAE model is represented as:
[0094] h k =σ(x*W k +b k ) (3)
[0095] Among them, σ is the activation function, W represents the weight parameter of the encoding operation, and b represents the bias parameter. In order to enable each layer of the CAE model to map different input features, a separate bias is constructed for the mapping of each implicit feature.
[0096] (2-2) Perform the decoding operation of the reconstruction layer, which consists of alternating upsampling, deconvolution and activation operations. The reconstructed data is represented as:
[0097]
[0098] in, represents the weight parameter of the decoding operation, and c represents the bias parameter.
[0099] (2-3) Update the weight parameters of the CAE model. The loss function of CAE is expressed as the mean squared error (MSE) between the input data and the reconstructed data:
[0100]
[0101] Where m represents the dimension of input data and reconstructed data.
[0102] The back propagation algorithm is used to calculate the gradient of the loss function relative to the CAE model parameters. The calculation process is as follows:
[0103]
[0104] Among them, δh and δy are the changes of latent features and reconstructed representations respectively. Then, the stochastic gradient descent algorithm is used to update the weight parameters of the CAE model.
[0105] (3) The implicit features of the training set extracted by the CAE model are used to calculate the fault detection threshold of the SVDD model, that is, the radius of the constructed hypersphere.
[0106] (3-1) Construct the SVDD fault detection model using the implicit features of the training set.
[0107] (3-1-1) Assume that the implicit features of the training set samples are {h i |h i ∈R d ,i=1,2,3...n}, d represents the feature dimension, n represents the number of samples, the training samples are projected into the high-dimensional feature space F through nonlinear mapping, and a minimum hypersphere with center a and radius R is found in F to include most of the training samples as much as possible.
[0108] (3-1-2) In addition, a slack variable ξ is constructed i To reduce the impact of outliers on the hypersphere structure, a penalty parameter C is introduced to balance the hypersphere boundary and the false detection rate of the model. According to convex quadratic programming, the optimization objective of the SVDD model is expressed as follows:
[0109]
[0110] The Lagrangian operator method is used to solve the above optimization problem, where x i Represents a test sample.
[0111] (3-1-3) The Gaussian radial basis function is selected as the kernel function of the SVDD model, and β represents the width factor of the Gaussian kernel function.
[0112] (3-2) The false positive rate of the data samples in the training set is selected as the fitness, and PSO is used to find the optimal penalty parameter and kernel parameter of the SVDD model. The specific optimization process is described as follows:
[0113] (3-2-1) Initialize the algorithm parameters such as particle group size, particle position and speed, and maximum number of iterations, and randomly generate the positions of X particles. The parameters to be optimized are mapped to the D-dimensional position of each particle;
[0114] (3-2-2) Calculate the fitness value corresponding to each particle position;
[0115] (3-2-3) Particles in space use their search optimal position p i and the global optimal position p g To optimize their current position and current speed, the optimization formula is:
[0116]
[0117]
[0118] Where i = 1, 2, ..., n, c1 and c2 represent acceleration factors, c1 = c2 = 2, r1 and r2 represent random numbers distributed in [0, 1], s represents the current number of iterations, Respectively represent the speed and position of the particle in the next iteration, Indicates the current particle speed, represents the current particle position, represents the global optimal position of the particle;
[0119] (3-2-4) In order to make the particles have better optimization performance, the inertia factor ω is introduced into the algorithm. The inertia factor can determine the degree to which the particle inherits the velocity before iteration, so as to balance the detection ability of the particle. After the inertia factor ω is introduced, formula (7) becomes:
[0120]
[0121] The larger the ω, the faster the PSO converges, but it is difficult to get an exact solution; the smaller the ω, the slower the PSO converges and the easier it is to fall into a local optimal state. For ω, a linear decreasing inertia weighting strategy is generally used to balance the performance of global search and local search, expressed as:
[0122] ω k =(ω start -ω end )(k max -k) / k max +ω end (11)
[0123] Among them, ω start is the initial inertia weight, ω end is the inertia weight at the maximum number of iterations, k max is the maximum number of iterations.
[0124] (3-2-5) Repeat (3-2-2)-(3-2-4) until the termination condition is met;
[0125] (3-2-6) Output the penalty parameters and kernel parameters corresponding to the optimal particle position;
[0126] (3-3) The optimal penalty parameter and kernel parameter are applied to the SVDD model, and the hypersphere radius of the SVDD is calculated based on the training set data samples, and the discriminant function is obtained as follows:
[0127]
[0128] Where d(x) represents the distance from the sample feature h to the center of the SVDD hypersphere. If f(x)>0, it means that the test sample point is inside the hypersphere; otherwise, it means that it is outside the hypersphere.
[0129] (4) In the online detection stage, the trained CAE model and the constructed SVDD model are used to monitor the state of the test set data samples and obtain the fault detection rate and false detection rate of the closed-loop control system.
[0130] It should be noted that the specific implementation is only an explanation and description of the technical solution of the present invention, and cannot be used to limit the scope of protection of the rights. Any partial changes made according to the claims and description of the present invention should still fall within the scope of protection of the present invention.
Claims
1. A fault detection method for a closed-loop control system of a water jet propulsion device based on CAE and SVDD, characterized in that The following steps are involved: Step 1: Acquire the closed-loop control system data of the water jet propulsion device, and use the normal data in the closed-loop control system data of the water jet propulsion device as training samples; Step 2: normalize the training samples, and use the normalized training samples to train the CAE model to obtain the trained CAE model and the implicit features output by the trained CAE model; Step 3: Use the implicit features output by the trained CAE model to construct and train the SVDD model, and obtain the trained SVDD model and the radius of the hypersphere output by the trained SVDD model; Step 4: Obtain the data to be detected and normalize the data to be detected; Step 5: Input the normalized data to be detected into the trained CAE model to obtain the latent features to be detected; Step 6: Input the hidden features to be detected into the trained SVDD model to obtain the distance from the center of the hypersphere; Step 7: Determine whether the radius of the hypersphere is greater than the distance from the center of the hypersphere. If so, it is determined to be normal; if not, it is determined to be a fault.
2. The method for detecting faults in a closed-loop control system of a water jet propulsion device based on CAE and SVDD according to claim 1 is characterized in that The specific steps of training the CAE model in step 2 are: Step 21: Initialize CAE model parameters; Step 22: Obtain the loss function using the CAE model initialized with parameters and the training samples; Step 2 and 3: Use the back-propagation algorithm to calculate the gradient of the loss function relative to the CAE model parameters, and then use the stochastic gradient descent algorithm to update the weight parameters of the CAE model; Step 24: Use the updated CAE model and training samples to calculate the loss function, repeat steps 22 to 24 for iteration, and stop when the number of iterations is reached to obtain the trained CAE model and the implicit features output by the trained CAE model.
3. The method for detecting faults in a closed-loop control system of a water jet propulsion device based on CAE and SVDD according to claim 2 is characterized in that The CAE model includes a hidden layer and a reconstruction layer, the hidden layer is used for encoding, and the reconstruction layer is used for decoding; The hidden layer includes a convolution layer, an activation layer and a downsampling layer; The reconstruction layer includes an upsampling layer, a deconvolution layer and an activation layer.
4. The method for detecting faults in a closed-loop control system of a water jet propulsion device based on CAE and SVDD according to claim 3 is characterized in that The encoded feature is expressed as: h k =σ(x*W k +b k ) Among them, x represents input data, σ represents activation function, W represents weight parameter, b represents bias parameter, h k represents the kth latent feature.
5. The method for fault detection of a closed-loop control system of a water jet propulsion device based on CAE and SVDD according to claim 4 is characterized in that The decoded reconstructed data is expressed as: in, represents the weight parameter of the decoding operation, c represents the bias parameter, and H represents the hidden layer.
6. The method for detecting faults in a closed-loop control system of a water jet propulsion device based on CAE and SVDD according to claim 5 is characterized in that The loss function of the CAE model is the mean square error between the input data and the reconstructed data, expressed as: Among them, n represents the number of samples, m represents the dimensions of input data and reconstructed data, and x i represents the test sample, i represents the sample number, y i Represents the reconstructed data of the test sample.
7. The method for fault detection of a closed-loop control system of a water jet propulsion device based on CAE and SVDD according to claim 6 is characterized in that The gradient of the loss function in steps 2 and 3 relative to the CAE model parameters is expressed as: Among them, δh and δy represent the changes of implicit features and reconstructed representations respectively. represents the reconstruction coefficient, represents partial derivative.
8. The method for detecting faults in a closed-loop control system of a water jet propulsion device based on CAE and SVDD according to claim 7, characterized in that The steps of constructing and training the SVDD model in step 3 are specifically as follows: Step 31: Use the implicit features output by the trained CAE model to build an SVDD fault detection model. The specific steps are as follows: Step 3: Use the implicit features output by the trained CAE model as training samples, project the training samples into the high-dimensional feature space F through nonlinear mapping, and find the minimum hypersphere in the high-dimensional feature space F. The center of the minimum hypersphere is a and the radius is R. Step 3-2: Establish a quadratic programming problem based on the center a and radius R. The quadratic programming problem is expressed as: st||x i -a|| 2 ≤R 2 +ξ i ,i=1,...n,ξ i ≥0 The Lagrangian operator method is used to solve the above optimization problem and obtain the values of the sphere center a and radius R, i.e., the radius of the hypersphere; Among them, ξ i represents the slack variable, C represents the penalty parameter; Step 313: Select Gaussian radial basis kernel function as the kernel function of SVDD model and build SVDD model. Step 32: Select the false positive rate of the training sample as the fitness, and use the particle swarm optimization algorithm to find the optimal penalty parameter and kernel parameter of the SVDD model. The specific steps are: Step 321: Initialize the particle algorithm parameters, including the particle group size, particle position and speed, and maximum number of iterations; Step 322: Calculate the fitness value corresponding to each particle position; Step 323: Use particles to search for the best position and the global optimal position Optimize the current position and current speed of the particle. The optimization formula is: Where i = 1, 2, ..., n, c1 and c2 represent acceleration factors, c1 = c2 = 2, r1 and r2 represent random numbers distributed in [0, 1], s represents the current number of iterations, Respectively represent the speed and position of the particle in the next iteration, Indicates the current particle speed, represents the current particle position, represents the global optimal position of the particle; Step 324: The inertia factor ω is introduced and expressed as: For ω, a linear decreasing inertia weighting strategy is used to balance the performance of global search and local search, which is expressed as: oh s =(ω start -oh end )(s max -s) / s max +oh end Among them, ω start represents the initial inertia weight, ω end Indicates the inertia weight at the maximum number of iterations, s max Indicates the maximum number of iterations; Step 325: Repeat steps 322 to 324 until the number of iterations is reached; Step 326: Select the penalty parameter and kernel parameter corresponding to the particle position with the largest fitness value; Step 33: Apply the penalty parameter and kernel parameter to the SVDD model, and calculate the hypersphere radius of the SVDD based on the training samples.
9. The method for fault detection of a closed-loop control system of a water jet propulsion device based on CAE and SVDD according to claim 8, characterized in that The discriminant function for judging whether the radius of the hypersphere is greater than the distance from the center of the hypersphere is: f(x)=sgn(R 2 -||x-a|| 2 )=sgn(R 2 -d 2 (x)) If f(x)>0, it means that the radius of the hypersphere is greater than the distance from the center of the hypersphere. Otherwise, it means that the radius of the hypersphere is not greater than the distance from the center of the hypersphere. d represents the characteristic dimension.
