Reactor fault detection method based on auto-encoder

By using hierarchical autoencoder neural network and unsupervised learning in reactor fault detection, combined with the spatiotemporal correlation of multi-channel sensor data, the problem of imbalance in the distribution of training samples and insufficient utilization of spatiotemporal correlation in the prior art is solved. Achieve higher fault detection accuracy.

CN118884073APending Publication Date: 2024-11-01STATE GRID NINGXIA ELECTRIC POWER CO LTD UHV CO +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410901762.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

The existing reactor fault detection methods have problems with imbalance in the distribution of training samples, resulting in low recognition accuracy and insufficient utilization of the spatiotemporal correlation of data collected by multi-channel sensors.

Method used

Using the reactor fault detection method based on the autoencoder, a layered autoencoder neural network is built by laying multiple vibration sensors and sound sensors around the reactor, and training normal sample data is used using unsupervised learning method. Leaf transform processes data, sets feature extraction layer and fault detection layer, uses the timing correlation sublayer and spatial correlation sublayer to learn the spatiotemporal correlation of multi-channel data, and selects the maximum reconstruction error value as the fault detection threshold.

Benefits of technology

It improves the accuracy of reactor fault detection, makes full use of the space-time correlation of multi-channel data, and ensures sensitivity and accurate detection of reactor faults.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure BDA0004930667180000101
    Figure BDA0004930667180000101
  • Figure BDA0004930667180000102
    Figure BDA0004930667180000102
  • Figure BDA0004930667180000103
    Figure BDA0004930667180000103
Patent Text Reader

Abstract

The invention discloses a reactor fault detection method based on an auto-encoder, and the method comprises the steps: training a hierarchical auto-encoder neural network through employing the sample data during the normal operation of a reactor, and carrying out the training of the hierarchical auto-encoder neural network without the abnormal sample data of the reactor; a plurality of vibration sensors and sound sensors are arranged on the periphery of a reactor, a specific neural network structure is set to learn the spatial-temporal correlation of data collected by the multi-channel vibration sound sensors, and the maximum value in reconstruction errors corresponding to sample data in neural network fault detection layer training is selected as a fault detection threshold value. Continuously acquiring vibration sound data of the electric reactor, and providing the continuously acquired vibration sound data of the electric reactor for the trained hierarchical auto-encoder neural network for processing so as to obtain a current reconstruction error corresponding to sample data in training of a fault detection layer of the trained neural network; and the current reconstruction error is compared with the fault detection threshold, so that the fault detection accuracy is higher.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of power detection, and in particular relates to a reactor fault detection method based on an autoencoder. Background Art

[0002] Reactors are important and indispensable power equipment in power transmission systems. Reactors can compensate for charging currents on transmission lines, weaken capacitor effects, limit system power frequency voltage increases and operational overvoltages, and eliminate self-excitation phenomena when synchronous generators are unloaded. The reliable operation of reactors directly affects the stability of the power grid. During operation, reactors are affected by factors such as equipment manufacturing processes, insulation and waterproof materials, operating conditions, harmonic content, and voltage fluctuations, which may lead to insulation material degradation, electrical tree discharge, and other faults. Therefore, sensors are often deployed around the reactor to collect data from the reactor during operation, and the reactor working data is processed using neural networks, statistical analysis, intelligent algorithms, and other means to detect reactor faults. However, existing reactor fault detection methods have the following shortcomings:

[0003] (1) When the reactor is normal, the amount of data collected by the sensor is large, and when the reactor is abnormal, the amount of data collected by the sensor is small. In actual situations, there is even no abnormal data of the reactor. As a result, when using supervised learning methods to detect reactor faults, there is an imbalance in the distribution of training samples, which leads to low recognition accuracy.

[0004] (2) The data collected by multiple sensors arranged around the reactor have temporal and spatial correlation. However, most existing reactor fault detection methods only model and analyze the data collected by a single sensor, and do not fully utilize the temporal and spatial correlation of the data collected by multi-channel sensors. Summary of the invention

[0005] In view of this, it is necessary to provide a reactor fault detection method based on an autoencoder.

[0006] A reactor fault detection method based on an autoencoder, comprising:

[0007] Step 1: Arrange multiple vibration sensors and sound sensors around the reactor to collect vibration data and sound data of the reactor, and perform fast Fourier transform processing on the collected vibration data and sound data of the reactor;

[0008] Step 2: construct a hierarchical autoencoder neural network, wherein the hierarchical autoencoder neural network includes a neural network feature extraction layer and a neural network fault detection layer;

[0009] Step 3: Using the collected reactor vibration data and sound data processed by fast Fourier transform as samples to train the neural network feature extraction layer;

[0010] Step 4: Use the collected reactor vibration data and sound data processed by fast Fourier transform as samples to train the neural network fault detection layer;

[0011] Step 5: Select the maximum value of the reconstruction error corresponding to the sample data in the training of the neural network fault detection layer as the fault detection threshold;

[0012] Step 6: Continuously collect reactor vibration data and sound data and perform fast Fourier transform processing, and provide the continuously collected reactor vibration data and sound data that have been processed by fast Fourier transform to the trained hierarchical neural network for processing, so as to obtain the current reconstruction error corresponding to the sample data in the training of the trained neural network fault detection layer, and compare the current reconstruction error with the fault detection threshold to realize reactor fault detection.

[0013] In the above-mentioned reactor fault detection method based on autoencoder, the layered autoencoder neural network is trained in an unsupervised learning manner, that is, the layered autoencoder neural network is trained using sample data when the reactor is working normally. No abnormal sample data of the reactor is required when training the layered autoencoder neural network, which is more in line with the actual working scenario requirements of the reactor; multiple vibration sensors and sound sensors are arranged around the reactor, and a specific neural network structure is set to learn the spatiotemporal correlation of data collected by the multi-channel vibration and sound sensors, and the maximum value of the reconstruction error corresponding to the sample data in the training of the neural network fault detection layer is selected as the fault detection threshold, and then the reactor vibration and sound data are continuously collected, and the continuously collected reactor vibration and sound data are provided to the trained layered autoencoder neural network for processing to obtain the current reconstruction error corresponding to the sample data in the training of the trained neural network fault detection layer, and the current reconstruction error is compared with the fault detection threshold, so as to make the fault detection accuracy higher. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is a flow chart of the reactor fault detection method based on the autoencoder according to the present invention;

[0015] Figure 2 It is a structural schematic diagram of a layered autoencoder neural network of the reactor fault detection method based on the autoencoder of the present invention;

[0016] Figure 3 A schematic diagram of the structure of a vibration convolution autoencoder of a layered autoencoder neural network of the reactor fault detection method based on an autoencoder according to the present invention;

[0017] Figure 4 A schematic diagram of the structure of a sound convolutional autoencoder of a layered autoencoder neural network of the reactor fault detection method based on an autoencoder according to the present invention;

[0018] Figure 5 A schematic diagram of the structure of a memory-enhanced autoencoder of a timing-correlated sublayer of a layered autoencoder neural network of the autoencoder-based reactor fault detection method of the present invention;

[0019] Figure 6 A schematic diagram of the memory enhanced autoencoder structure of the spatial correlation sublayer of the layered autoencoder neural network of the autoencoder-based reactor fault detection method described in the present invention. DETAILED DESCRIPTION

[0020] First, the main idea of ​​the reactor fault detection method based on the autoencoder described in the present invention is summarized. In view of the actual situation that there are few or even no abnormal samples when detecting reactor faults, the neural network is trained in an unsupervised learning manner. The training samples of the neural network are normal samples when the reactor works normally. A hierarchical autoencoder neural network is built, and the neural network is trained to learn the distribution of normal samples. A feature extraction layer is set in the hierarchical autoencoder neural network to extract and reduce the vibration features and sound features, thereby reducing the amount of calculation. Multiple sound sensors and vibration sensors are arranged around the reactor to collect multi-channel data of the reactor. A time-series correlation sublayer and a space-related sublayer are set in the hierarchical autoencoder neural network to better learn the spatiotemporal correlation of multi-channel data. A memory-enhanced autoencoder is used to build a fault detection layer, which can generate a smaller reconstruction error for normal samples and a larger reconstruction error for abnormal samples, so that the reconstruction errors of normal samples and abnormal samples have a more obvious distinction boundary, making fault detection more sensitive and accurate. The present invention uses the maximum value of the reconstruction error of normal samples as the threshold for reactor fault detection, and samples whose reconstruction error exceeds this threshold are abnormal samples.

[0021] The reactor fault detection method based on the autoencoder of the present invention is further described below in conjunction with the accompanying drawings, but the embodiments of the present invention are not limited thereto.

[0022] Figure 1 Flow chart of the reactor fault detection method based on the autoencoder of the present invention, as shown in Figure 1 As shown, the reactor fault detection method based on the autoencoder of the present invention comprises the following steps:

[0023] Step 1: Arrange multiple vibration sensors and sound sensors around the reactor to collect vibration data and sound data of the reactor, and perform fast Fourier transform processing on the collected vibration data and sound data of the reactor; Step 2: Construct a hierarchical autoencoder neural network, where the hierarchical autoencoder neural network includes a neural network feature extraction layer and a neural network fault detection layer; Step 3: Use the collected and fast Fourier transform processed vibration data and sound data of the reactor as samples to train the neural network feature extraction layer; Step 4: Use the collected and fast Fourier transform processed vibration data and sound data of the reactor as samples to train the neural network fault detection layer; Step 5: Select the maximum value among the reconstruction errors corresponding to the sample data in the training of the neural network fault detection layer as the fault detection threshold; Step 6: Continuously collect vibration data and sound data of the reactor and perform fast Fourier transform processing, and provide the continuously collected and fast Fourier transform processed vibration data and sound data of the reactor to the trained hierarchical neural network for processing to obtain the current reconstruction error corresponding to the sample data in the training of the trained neural network fault detection layer, and compare the current reconstruction error with the fault detection threshold to achieve reactor fault detection.

[0024] The following details the specific implementation process of the above-mentioned reactor fault detection method based on the autoencoder:

[0025] Step 1: Collect vibration data and sound data of the reactor.

[0026] When the reactor is operating normally, arrange A magnetic vibration sensors and B magnetic sound sensors around the reactor for which fault detection is to be performed. A is an integer and 1 < A < 16, and B is an integer and 1 < B < 16. The magnetic vibration sensors and magnetic sound sensors are both adsorbed on the reactor. The magnetic vibration sensors collect the time-domain vibration signals of the reactor in the X-axis, Y-axis, and Z-axis directions. The magnetic sound sensors collect the time-domain sound signals of the reactor, including the left channel and the right channel. Subsequent reactor fault detection is performed based on the vibration data of A channels and the sound data of B channels.

[0027] In the present invention, the time domain data includes the time domain vibration data of the X-axis, Y-axis, and Z-axis collected by each magnetic vibration sensor and the time domain sound data of the left channel and the right channel collected by each magnetic sound sensor. The time domain data is equally divided into sub-blocks with a time length of Δt. Each sub-block includes the time domain vibration data of the X-axis, Y-axis, and Z-axis collected by A magnetic vibration sensors within a time Δt and the time domain sound data of the left channel and the right channel collected by B magnetic vibration sensors within a time Δt. The time domain vibration data and the time domain sound data in the same sub-block are collected within the same time period Δt. The time domain vibration data and the time domain sound data in each sub-block are processed by FFT (Fast Fourier Transform), and the FFT result is used as the representation of the vibration signal and the sound signal in the frequency domain.

[0028] Through the analysis of the FFT results of the vibration signal and the sound signal, it is found that the frequency domain energy of the vibration signal is mainly concentrated in the part not exceeding 1000Hz, and the frequency domain energy of the sound signal is mainly concentrated in the part not exceeding 20000Hz. Only the frequency domain energy concentration part of the vibration signal and the sound signal is analyzed. A simple and feasible way is to set the sampling frequency of the magnetic vibration sensor and the magnetic sound sensor to 48KHz, and set the time length Δt corresponding to the FFT to 0.2 seconds. Therefore, the frequency domain resolution of the FFT is df=48000 / 9600=5Hz. Therefore, the frequency domain part of the first 200 components corresponding to the frequency domain part not exceeding 1000Hz is intercepted in the FFT result of the vibration signal. Thus, the vibration sample corresponding to the time length Δt of the vibration sensor is obtained, and a single vibration sample is a one-dimensional matrix with a length of 200. In the FFT result of the sound signal, the frequency domain part corresponding to the first 4000 components not exceeding 20000 Hz is intercepted, thereby obtaining the sound sample corresponding to the time length Δt of the sound sensor, and a single sound sample is a one-dimensional matrix with a length of 4000.

[0029] By executing step 1, a large number of vibration samples and sound samples when the reactor is working normally can be obtained. The vibration samples and sound samples obtained in step 1 are all normal samples. In the subsequent steps, the distribution of normal samples is learned by building a hierarchical autoencoder neural network.

[0030] Step 2: Build a hierarchical autoencoder neural network.

[0031] The hierarchical autoencoder neural network includes a feature extraction layer and a fault detection layer. The feature extraction layer is provided with a vibration feature coarse extraction module and a vibration convolutional autoencoder to extract vibration features. The feature extraction layer is provided with one vibration feature coarse extraction module and one vibration convolutional autoencoder for each vibration sensor. The feature extraction layer is provided with a sound feature coarse extraction module and a sound convolutional autoencoder to extract sound features. The feature extraction layer is provided with one sound feature coarse extraction module and one sound convolutional autoencoder for each sound sensor. The fault detection layer includes a timing correlation sublayer and a spatial correlation sublayer. The timing correlation sublayer is provided with a memory enhanced autoencoder for each vibration sensor. The timing correlation sublayer is provided with a memory enhanced autoencoder for each sound sensor. The multiple memory enhanced autoencoders within the timing correlation sublayer have the same structure. The outputs of the multiple memory enhanced autoencoders within the timing correlation sublayer are used as the inputs of the memory enhanced autoencoders of the spatial correlation sublayer. Figure 2 As shown, taking the arrangement of two vibration sensors and two sound sensors around the reactor as an example, the process of constructing a hierarchical autoencoder neural network is described in detail, but the embodiments of the present invention are not limited to this.

[0032] Step 21: Build the vibration feature extraction branch.

[0033] like Figure 2 As shown, a vibration feature extraction branch is built for each vibration sensor, and the vibration feature extraction branch includes a vibration feature coarse extraction module and a vibration convolutional autoencoder. Figure 2 The vibration feature rough extraction module 101 and the vibration feature rough extraction module 201 have the same structure. Figure 2 The structure of the vibrating convolutional autoencoder 102 is the same as that of the vibrating convolutional autoencoder 202.

[0034] Build a vibration feature rough extraction module. Set a vibration sliding window, set the length of the vibration sliding window to 2, set the sliding step of the vibration sliding window to 2, and select the maximum value of the two elements in the vibration sliding window as the output of the vibration sliding window. Use the vibration sliding window to slide the vibration sample. As described in the previous step 1, a single vibration sample is a one-dimensional matrix with a length of 200. After the single vibration sample is processed by the vibration sliding window, the sliding processing result of the single vibration sample is obtained, and the sliding processing result of the single vibration sample is a one-dimensional matrix with a length of 100. As described in the previous step 1, there are three vibration samples corresponding to a single vibration sensor within the time Δt, which are the vibration samples of the X-axis, Y-axis, and Z-axis, respectively. Then, the sliding processing results of the three vibration samples are three one-dimensional matrices with a length of 100. The sliding processing results of the three vibration samples are vertically spliced ​​to obtain a two-dimensional matrix with 3 rows and 100 columns. The two-dimensional matrix with 3 rows and 100 columns is the rough extraction result of the vibration feature, and the rough extraction result of the vibration feature is used as the input of the vibration convolutional autoencoder. By building a vibration feature rough extraction module, K vibration feature rough extraction results of each vibration sensor can be obtained.

[0035] Build a vibration convolutional autoencoder. The vibration convolutional autoencoder takes the coarse extraction result of the vibration feature output by the vibration feature coarse extraction module as input. By building a vibration convolutional autoencoder, the vibration feature is further extracted and reduced in dimension to obtain refined vibration features. Figure 2 The vibration convolution autoencoder 102 has the same structure as the vibration convolution autoencoder 202, and the structure of the vibration convolution autoencoder is explained by taking the vibration convolution autoencoder 102 as an example. Figure 3 The structure diagram of the vibration convolution autoencoder of the layered autoencoder neural network of the reactor fault detection method based on the autoencoder of the present invention is shown in FIG. Figure 3 As shown, the vibrating convolutional autoencoder 102 includes a convolutional layer 1021, a fully connected layer 1022, a fully connected layer 1023, a fully connected layer 1024 and a deconvolutional layer 1025.

[0036] The convolution kernel size of the convolution layer 1021 is 3×3, the number of channels is 1, and the step size is 1. The input of the convolution layer 1021 is the rough extraction result of the vibration feature, which is a two-dimensional matrix of 3 rows and 100 columns. The output of the convolution layer 1021 after convolution processing of a single rough extraction result of the vibration feature is a one-dimensional matrix of length 98. The number of neurons in the fully connected layer 1022, the fully connected layer 1023, and the fully connected layer 1024 are 70, 50, and 70, respectively. The convolution kernel size of the deconvolution layer 1025 is 3×3, the number of channels is 1, and the step size is 1. The output of the fully connected layer 1023 is the refined vibration feature. The number of neurons in the fully connected layer 1023 is 50, and accordingly, the refined vibration feature is a one-dimensional matrix of length 50.

[0037] Step 22: Build the sound feature extraction branch.

[0038] like Figure 2 As shown, a sound feature extraction branch is built for each sound sensor, and the sound feature extraction branch includes a sound feature coarse extraction module and a sound convolutional autoencoder. Figure 2 The sound feature rough extraction module 301 and the sound feature rough extraction module 401 have the same structure. Figure 2 The sound convolutional autoencoder 302 and the sound convolutional autoencoder 402 have the same structure.

[0039] Build a sound feature rough extraction module. Set a sound sliding window, set the length of the sound sliding window to 5, set the sliding step of the sound sliding window to 5, and select the maximum and sub-maximum values ​​of the 5 elements in the sound sliding window as the output of the sound sliding window. Use the sound sliding window to slide the sound sample. As described in step 1 above, a single sound sample is a one-dimensional matrix with a length of 4000. After a single sound sample is processed by the sound sliding window, a sliding processing result of a single sound sample is obtained, and the sliding processing result of a single sound sample is a one-dimensional matrix with a length of 1600. As described in step 1 above, there are two sound samples corresponding to a single sound sensor within a time Δt, which are the sound samples of the left channel and the right channel, respectively. Then, the sliding processing results of the two sound samples are two one-dimensional matrices with a length of 1600. The sliding processing results of the two vibration samples are vertically spliced ​​to obtain a two-dimensional matrix with 2 rows and 1600 columns. The two-dimensional matrix with 2 rows and 1600 columns is the rough extraction result of the sound feature, and the rough extraction result of the sound feature is used as the input of the sound convolutional autoencoder. By building a sound feature rough extraction module, K sound feature rough extraction results of each sound sensor can be obtained.

[0040] Build a sound convolutional autoencoder. The sound convolutional autoencoder takes the sound feature coarse extraction result output by the sound feature coarse extraction module as input. By building a sound convolutional autoencoder, the sound features can be further extracted and reduced in dimension to obtain refined sound features. Figure 2 The sound convolutional autoencoder 302 and the sound convolutional autoencoder 402 have the same structure, and the sound convolutional autoencoder 302 is taken as an example to illustrate the structure of the sound convolutional autoencoder. Figure 4 The structure diagram of the sound convolution autoencoder of the layered autoencoder neural network of the reactor fault detection method based on the autoencoder of the present invention is shown in FIG. Figure 4 As shown, the sound convolutional autoencoder 302 includes a convolutional layer 3021, a fully connected layer 3022, a fully connected layer 3023, a fully connected layer 3024, a fully connected layer 3025, a fully connected layer 3026 and a deconvolutional layer 3027.

[0041] The convolution kernel size of the convolution layer 3021 is 2×5, the number of channels is 1, and the step size is 5. The input of the convolution layer 3021 is the rough extraction result of the sound feature, which is a two-dimensional matrix of 2 rows and 1600 columns. The output of the convolution layer after convolution processing of a single rough extraction result of the sound feature is a one-dimensional matrix of length 320. The number of neurons of the fully connected layer 3022, the fully connected layer 3023, the fully connected layer 3024, the fully connected layer 3025, and the fully connected layer 3026 are 180, 90, 50, 90, and 180, respectively. The convolution kernel size of the deconvolution layer 3027 is 2×5, the number of channels is 1, and the step size is 5. The output of the fully connected layer 3024 is the refined sound feature. The number of neurons of the fully connected layer 3024 is 50, and accordingly, the refined sound feature is a one-dimensional matrix of length 50.

[0042] Step 23: Build the timing-related sublayer.

[0043] Compared with normal data, the autoencoder produces a higher reconstruction error for abnormal inputs, and the present invention uses a higher reconstruction error as a criterion for fault detection. However, due to data pattern problems, traditional autoencoders are often able to reconstruct anomalies better, that is, they produce a smaller reconstruction error for abnormal inputs, which leads to missed fault detection. The memory-enhanced autoencoder has a small reconstruction error for normal inputs and a large reconstruction error for abnormal inputs. Therefore, the present invention uses a memory-enhanced autoencoder to build a fault detection layer.

[0044] Figure 5 Schematic diagram of the memory enhanced autoencoder structure of the timing correlation sublayer of the layered autoencoder neural network of the reactor fault detection method based on the autoencoder of the present invention, as shown in Figure 5 As shown, the memory-enhanced autoencoder of the timing-related sublayer includes an input layer 1031, an encoder 1032, a memory management module 1033, a decoder 1034, and an output layer 1035. The traditional autoencoder includes an input layer, a hidden layer, and an output layer. The processing process of the encoder 1032 in the memory-enhanced autoencoder corresponds to the processing process from the input layer to the hidden layer in the traditional autoencoder, and the decoder 1034 in the memory-enhanced autoencoder corresponds to the processing process from the hidden layer to the output layer in the traditional autoencoder. Figure 5 It can be seen that the memory enhanced autoencoder adds a memory management module 1033 on the basis of the traditional autoencoder.

[0045] Build a timing correlation sublayer to learn the timing correlation of each channel itself. Specifically, in this step, build multiple Figure 5 The memory-enhanced autoencoder shown is used to construct the time-series related sublayer. A memory-enhanced autoencoder is built for each vibration sensor, and a memory-enhanced autoencoder is built for each sound sensor. The memory-enhanced autoencoders corresponding to the vibration sensor and the sound sensor have the same structure. Figure 2 The memory-augmented autoencoders 103, 203, 303, and 403 in Figure 5 have the structures shown.

[0046] In the time-series related sublayer, the input to the input layer 1031 of the memory-augmented autoencoder is the refined vibration feature or the refined sound feature. By performing the aforementioned steps 21 and 22, both the refined vibration feature and the refined sound feature are one-dimensional matrices of length 50. Therefore, the number of neurons in the input layer 1031 of the memory-augmented autoencoder in the time-series related sublayer is set to 50, the number of neurons in the output layer 1035 of the memory-augmented autoencoder in the time-series related sublayer is set to 50, and the output of the output layer 1035 is a one-dimensional matrix of length 50. The number of neurons in the encoder 1032 and the decoder 1034 of the memory-augmented autoencoder in the time-series related sublayer is the same, and let the number of neurons in both the encoder 1032 and the decoder 1034 be C, where the value range of C is 10 < C < 40, and C is a positive integer. Preferably, C is set to 30. The output of the encoder 1032 is a one-dimensional matrix of length C, and the input to the decoder 1034 is a one-dimensional matrix of length C. By performing the aforementioned steps 21 and 22, the number of rough extraction results of vibration features or sound features obtained by each sensor is K. Also, since the vibration convolutional autoencoder and the sound convolutional autoencoder generate one refined feature for one rough extraction result, the number of refined vibration features or refined sound features obtained by each sensor is K. When building the memory-augmented autoencoder in this step, the memory management module 1033 creates a storage space in the memory, and this storage space is used to store a two-dimensional matrix of N rows and C columns, where the value range of N is K×0.05 < N < K×0.15, and both K and N are positive integers.

[0047] Step 24: Build the space-related sublayer.

[0048] Build the space-related sublayer to learn the spatial correlation between multiple channels. Specifically, build 1 memory-augmented autoencoder in the space-related sublayer. Figure 6 is a schematic diagram of the structure of the memory-augmented autoencoder in the space-related sublayer of the hierarchical autoencoder neural network for the reactor fault detection method based on autoencoder according to the present invention, as Figure 6 shown. The memory-augmented autoencoder in the space-related sublayer includes an input layer 5001, an encoder 5002, a memory management module 5003, a decoder 5004, and an output layer 5005. Combining Figure 5 and Figure 6 it can be seen that both the memory-augmented autoencoder in the time-series related sublayer and the memory-augmented autoencoder in the space-related sublayer are specific applications of the memory-augmented autoencoder.

[0049] By performing the aforementioned step 23, the output of each memory-augmented autoencoder in the timing-related sublayer is a one-dimensional matrix with a length of 50. As described in the previous step 1, A vibration sensors and B sound sensors are arranged around the reactor. Therefore, the memory-augmented autoencoders in the timing-related sublayer altogether output (A + B) one-dimensional matrices with a length of 50. By horizontally splicing these (A + B) one-dimensional matrices with a length of 50, a one-dimensional matrix with a length of (A + B) × 50 can be obtained. This one-dimensional matrix with a length of (A + B) × 50 is the input of the memory-augmented autoencoder 500 in the spatial-related sublayer. Correspondingly, the number of neurons in the input layer 5001 of the memory-augmented autoencoder 500 is (A + B) × 50, the number of neurons in the output layer 5005 of the memory-augmented autoencoder 500 is (A + B) × 50, and the output of the output layer 5005 is a one-dimensional matrix with a length of (A + B) × 50. The number of neurons in the encoder 5002 of the memory-augmented autoencoder 500 in the spatial-related sublayer is the same as the number of neurons in the decoder 5004. Denote the number of neurons in both the encoder 5002 and the decoder 5004 as D. The value range of D is (A + B) × 10 << D << (A + B) × 40, and D is a positive integer. Preferably, D is set to (A + B) × 30. The output of the encoder 5002 is a one-dimensional matrix with a length of D, and the input of the encoder 5004 is a one-dimensional matrix with a length of D. As mentioned above, the number of refined vibration features or refined sound features obtained by each sensor is K. Since A vibration sensors and B sound sensors are arranged around the reactor, when building the memory-augmented autoencoder in this step, the memory management module 5003 creates a storage space in the memory. This storage space is used to store a two-dimensional matrix with M rows and D columns, where K × 0.05 << M << K × 0.15, and A, B, K, and M are all positive integers.

[0050] Step 3: Training of the neural network feature extraction layer.

[0051] The training of the neural network feature extraction layer in Step 3 includes Step 31: Training of the vibration convolutional autoencoder and Step 32: Training of the sound convolutional autoencoder.

[0052] Step 31: Training of the vibration convolutional autoencoder.

[0053] As Figure 2As shown, the feature extraction layer of the hierarchical autoencoder neural network constructed in step 2 includes multiple vibration convolution autoencoders. The training methods of multiple vibration convolution autoencoders are the same, and the training method of the vibration convolution autoencoder is illustrated by taking the vibration convolution autoencoder 102 as an example. By executing the aforementioned step 21, the vibration convolution autoencoder 102 can obtain K vibration feature rough extraction results, and the K vibration feature rough extraction results are the training data of the vibration convolution autoencoder 102. Taking the reconstruction error as the objective function, the vibration convolution autoencoder 102 is iteratively trained using gradient descent to minimize the objective function until the number of iterative training reaches the set value.

[0054] Step 32: Sound convolutional autoencoder training.

[0055] like Figure 2 As shown, the feature extraction layer of the hierarchical autoencoder neural network constructed in step 2 includes multiple sound convolution autoencoders. The training methods of multiple sound convolution autoencoders are the same, and the training method of the sound convolution autoencoder is illustrated by taking the sound convolution autoencoder 302 as an example. By executing the aforementioned step 22, the sound convolution autoencoder 302 can obtain K sound feature rough extraction results, and the K sound feature rough extraction results are the training data of the sound convolution autoencoder 302. Taking the reconstruction error as the objective function, the sound convolution autoencoder 302 is iteratively trained using gradient descent to minimize the objective function until the number of iterative training reaches the set value.

[0056] Step 4: Neural network fault detection layer training.

[0057] Step 4: Neural network fault detection layer training includes step 41: temporal correlation sublayer training and step 42: spatial correlation sublayer training. Step 41 and step 42 both include substeps, which are described in detail below.

[0058] Step 41: training the timing-related sub-layer.

[0059] The time-series related sublayer includes multiple memory-enhanced autoencoders. The training process of the memory-enhanced autoencoders of this layer is the same. Taking the memory-enhanced autoencoder 103 as an example, the training process of the memory-enhanced autoencoder of the time-series related sublayer is described. Step 41 The time-series related sublayer training includes step 411 determining the training sample, step 412 initializing the memory management module, and step 413 determining the target function for iterative training.

[0060] Step 411: Determine training samples.

[0061] The refined vibration features or refined sound features obtained by each sensor are used as training samples for the memory-enhanced autoencoder corresponding to the sensor. Figure 2The memory-enhanced autoencoder corresponding to the vibration sensor 1 is the memory-enhanced autoencoder 103 , and the training samples of the memory-enhanced autoencoder 103 are the refined vibration features obtained by the vibration sensor 1 .

[0062] Step 412: Initialize the memory management module.

[0063] The memory-enhanced autoencoder of the timing-related sublayer adds a memory management module on the basis of the traditional autoencoder. Taking the memory-enhanced autoencoder 103 of the timing-related sublayer as an example, the memory-enhanced autoencoder 103 adds a memory management module 1033 on the basis of the traditional autoencoder. In the initialization of the memory management module in step 412, the memory management module 1033 does not perform encoding mapping, that is, the memory management module 1033 directly uses the output of the encoder 1032 as the input of the decoder 1034.

[0064] As described in the previous step 23, the number of refined vibration features or refined sound features obtained by each sensor is K, and the two-dimensional matrix stored in the memory management module 1033 is N rows and C columns. The memory-enhanced autoencoder 103 randomly selects N refined features from the K refined vibration features, and uses the N refined features to train the memory-enhanced autoencoder 103. During training, the traditional autoencoder uses the reconstruction error as the objective function and uses the gradient descent to minimize the objective function for training. When the memory-enhanced autoencoder 103 is trained using the N refined vibration features, the memory management module 1033 does not perform encoding mapping, and the memory-enhanced autoencoder 103 uses the reconstruction error as the objective function and uses the gradient descent to minimize the objective function for training. After one round of training of the memory-enhanced autoencoder 103 using the N refined vibration features, the training is stopped, that is, when the refined vibration feature encoder 1032 generates an output for each of the N refined vibration features, the training is stopped. As described in step 23 above, the output of the encoder 1032 is a one-dimensional matrix of length C, and the output of the encoder 1032 is used as a row of the N-row C-column two-dimensional matrix stored in the memory management module 1033. Through the above operation, each row of the N-row C-column two-dimensional matrix stored in the memory management module 1033 has elements, and the initialization process of the memory management module 1033 is completed.

[0065] Step 413: Determine the target function and perform iterative training.

[0066] During the iterative training process of determining the objective function, the encoding mapping process involving the memory management module is involved. First, taking the memory management module 1033 as an example, the encoding mapping process is illustrated. By executing the aforementioned step 412, each row of the N×C two-dimensional matrix stored in the memory management module 1033 has elements. The encoding mapping process is to obtain the output of the encoder 1032, encode the output of the encoder 1032 based on the similarity between the obtained output of the encoder 1032 and each row matrix in the N×C two-dimensional matrix, use the encoded representation result as the input of the decoder 1034, and update the N×C matrix. As mentioned before, through the limited storage space occupied by the N×C two-dimensional matrix and the encoding mapping process, the memory enhanced autoencoder can better learn the distribution of normal samples, generate a smaller reconstruction error for normal samples, and a larger reconstruction error for abnormal samples, making the reconstruction error between normal samples and abnormal samples have a more obvious distinction boundary, thus making the fault detection of the reactor more sensitive and accurate.

[0067] Let m i be the i-th row in the N×C two-dimensional matrix stored in the memory management module 1033, where i is a positive integer and 1 < i < N, E is the output of the encoder 1032, E′ is the encoded representation result, and g i is the similarity weight, and g′ i is the sparse similarity weight. For the output E of the encoder 1032, the similarity weight g is calculated according to the following formula (1). i .

[0068]

[0069] In the above formula (1), d is the cosine similarity function, and j is a positive integer and 1 < j < N. Through the above formula (1), the similarity between the output E of the encoder 1032 and each row matrix in the N×C two-dimensional matrix can be obtained. In order to make the encoded representation result E′ only related to a small number of row matrices in the N×C two-dimensional matrix to reduce the complexity of the encoding mapping algorithm, an encoding mapping threshold h is set to sparsify g i using the following formula (2) to obtain the sparse similarity weight g′ i . In the following formula (2), preferably, the encoding mapping threshold h takes a value of 0.003.

[0070]

[0071] After obtaining the sparse similarity weight g′ i , the encoded representation result E′ is calculated using the following formula (3).

[0072]

[0073] By sparsifying gi Perform sparsification processing, and the encoded representation result E′ is only related to a small number of row matrices in the two-dimensional matrix of N rows and C columns. After obtaining the encoded representation result E′, update the two-dimensional matrix of N rows and C columns, and obtain the similarity weight g of each row matrix in the two-dimensional matrix of N rows and C columns through Equation (1). i , 1 << i << N, denote the maximum value in g i as g p , that is, the row matrix corresponding to the p-th row in the two-dimensional matrix of N rows and C columns has the greatest similarity to the output E of the encoder 1032. Then, update the p-th row in the two-dimensional matrix of N rows and C columns according to the following Equation (4). Denote the p-th row before update as m p , and the p-th row after update as m′ p . In the following Equation (4), preferably, α takes a value of 0.001.

[0074] m′ p = (1 - g p × α) × m p + E × g p × α (4)

[0075] Through the foregoing encoding and mapping processing process, the memory management module 1033 encodes and maps each output E of the encoder 1032 to obtain the encoded representation result E′, and the memory management module 1033 outputs the encoded representation result E′ to the decoder 1034, that is, the encoded representation result E′ is the input of the decoder 1034.

[0076] In order to further enhance the sparsity of the encoding and mapping process, the information entropy Entropy(g′ i ) of the sparse similarity weight g′ i is introduced into the objective function of the memory-enhanced autoencoder iterative training. Entropy is the information entropy calculation function. The following Equation (5) is the objective function for training the memory-enhanced autoencoder. This objective function comprehensively considers the reconstruction error and the sparse similarity weight. K is the number of training samples of the memory-enhanced autoencoder 103 of the time series-related sublayer. L is the value of the objective function, r ∈ {1, 2, 3,.., K}. x r is the r-th sample in the training samples, and x r is the input of the input layer 1031 of the memory-enhanced autoencoder 103. x r is a one-dimensional matrix with a length of 50. After using x r as the input of the input layer 1031, the output layer 1035 outputs y r . y r is a one-dimensional matrix with a length of 50. is the two-norm function. is to use x rAfter being used as the input of the input layer 1031, the sparse similarity weight g′ calculated by the memory management module 1033 during the encoding mapping process r , x r The corresponding sparse similarity weight g′ r Recorded as β is a hyperparameter and 0<β<0.1. Preferably, β is 0.015.

[0077]

[0078] The training samples determined in step 411 are used as the training samples of the memory-enhanced autoencoder, and the above formula (5) is used as the objective function. The gradient descent is used to minimize the objective function for iterative training until the number of iterative training reaches the set value. During the iterative training process, the memory management module 1033 of the memory-enhanced autoencoder 103 performs encoding mapping processing on each output of the encoder 1032 to obtain an encoding representation result, and uses the encoding representation result as the input of the decoder 1034, and updates the N-row C-column two-dimensional matrix stored in the memory management module 1033.

[0079] Step 42: Spatial correlation sub-layer training.

[0080] The spatial correlation sublayer includes a memory-enhanced autoencoder 500, and the structure of the memory-enhanced autoencoder 500 is as follows: Figure 6 Step 42 of spatial correlation sub-layer training includes step 421 of determining training samples, step 422 of initializing a memory management module, and step 423 of determining an objective function for iterative training.

[0081] Step 421: Determine training samples.

[0082] As mentioned above, the number of refined vibration features or refined sound features obtained by each sensor is K. By executing the timing-related sublayer training in step 41 above, each memory-enhanced autoencoder of the timing-related sublayer has completed iterative training. After the timing-related sublayer training in step 41 is completed, the K refined vibration features or refined sound features obtained by each sensor are input into the input layer of the memory-enhanced autoencoder of the timing-related sublayer corresponding to the sensor, and the output layer of the memory-enhanced autoencoder of each timing-related sublayer has K outputs. For example, the K refined vibration features of the vibration sensor 1 are input into the input layer 1031 of the memory-enhanced autoencoder 103, and the output layer 1035 of the memory-enhanced autoencoder 103 has K outputs.

[0083] As mentioned above, each output of each memory-enhanced autoencoder of the timing-related sublayer is a one-dimensional matrix of length 50, and A vibration sensors and B sound sensors are arranged around the reactor. The outputs of these (A+B) memory-enhanced autoencoders are horizontally spliced ​​to obtain a one-dimensional matrix of length (A+B)×50. As mentioned above, each memory-enhanced autoencoder of the timing-related sublayer has K outputs, and by executing the horizontal splicing process, K one-dimensional matrices of length (A+B)×50 can be obtained. The K one-dimensional matrices of length (A+B)×50 are the training samples of the memory-enhanced autoencoder 500, and the number of training samples of the memory-enhanced autoencoder 500 is K.

[0084] Step 422: Initialize the memory management module.

[0085] The memory-enhanced autoencoder 500 of the spatial correlation sublayer is based on the traditional autoencoder and has a memory management module 5003 added thereto. In the initialization of the memory management module in step 422, the memory management module 5003 does not perform encoding mapping, that is, the memory management module 5003 directly uses the output of the encoder 5002 as the input of the decoder 5004.

[0086] By executing the aforementioned step 412 to determine the training samples, the memory-enhanced autoencoder 500 can obtain K training samples. In the initialization of the memory management module in step 422, M samples are randomly selected from the K training samples of the memory-enhanced autoencoder 500, and the memory-enhanced autoencoder 500 is trained using the M samples. The traditional autoencoder uses the reconstruction error as the objective function during training, and uses the gradient descent to minimize the objective function for training. When the memory-enhanced autoencoder 500 is trained using the M samples, the memory management module 5003 does not perform encoding mapping, and the memory-enhanced autoencoder 500 uses the reconstruction error as the objective function and uses the gradient descent to minimize the objective function for training. The training is stopped after one round of training of the memory-enhanced autoencoder 500 using the M samples, that is, when the encoder 5002 generates an output for each of the M samples, the training is stopped. As described in the previous step 24, the output of the encoder 5002 is a one-dimensional matrix of length D, and the output of the encoder 5002 is used as a row of a two-dimensional matrix of M rows and D columns stored by the memory management module 5003. Through the above operations, each row of the two-dimensional matrix of M rows and D columns stored in the memory management module 5003 has an element, and the initialization process of the memory management module 5003 is completed.

[0087] Step 423: Determine the target function and perform iterative training.

[0088] By executing the aforementioned step 422, each row of the two-dimensional matrix of M rows and D columns stored in the memory management module 5003 has an element. In executing this step 423, the encoding mapping process of the memory management module 5003 is involved. The encoding mapping process of the memory management module 5003 is the same as the encoding mapping process of the memory management module 1033, both of which obtain the output of the encoder, and based on the similarity between the output of the encoder and each row matrix in the stored two-dimensional matrix, encode the output of the encoder, use the representation result as the input of the decoder, and update the stored two-dimensional matrix. As mentioned above, through the limited storage space occupied by the two-dimensional matrix of M rows and D columns, combined with the encoding mapping process, the memory enhanced self-encoder 500 can better learn the distribution of normal samples, generate a smaller reconstruction error for normal samples, and generate a larger reconstruction error for abnormal samples, so that the reconstruction errors of normal samples and abnormal samples have a more obvious distinction boundary, thereby making the fault detection of the reactor more sensitive and accurate.

[0089] The objective function of the iterative training of the memory-enhanced autoencoder 500 is the same as the iterative training objective function of the memory-enhanced autoencoder of the time-series related sublayer, which is to comprehensively consider the reconstruction error and the sparse similarity weight. The K training samples determined in step 421 are used as the training samples of the memory-enhanced autoencoder 500. The objective function comprehensively considers the reconstruction error and the sparse similarity weight, and iterative training is performed by minimizing the objective function using gradient descent until the number of iterative training reaches the set value.

[0090] Step 5: Determine the fault detection threshold.

[0091] By executing step 4, the memory-enhanced autoencoder 500 of the spatial correlation sublayer completes the iterative training. As described in step 42, the number of training samples of the memory-enhanced autoencoder 500 is K. After the memory-enhanced autoencoder 500 completes the iterative training, the K training samples are input into the input layer 5001 of the memory-enhanced autoencoder 500, and the output layer 5005 of the memory-enhanced autoencoder 500 will have K outputs. i Represents the i-th (i∈{1,2,3,...,K}) training sample among the K training samples of the memory-enhanced autoencoder 500, with check' i Indicates that the i-th training sample is checked i The output of the output layer 5005 after inputting the input layer 5001. The reconstruction error is calculated for the K training samples in turn. is a two-norm function, then K reconstruction errors can be obtained. The maximum value among the K reconstruction errors is selected and the maximum value among the K reconstruction errors is recorded as Check max , Check max This is the fault detection threshold.

[0092] Step 6: Perform reactor fault detection.

[0093] As described in step 1 above, A magnetic vibration sensors and B magnetic sound sensors are arranged around the reactor for fault detection. In step 6, A magnetic vibration sensors and B magnetic sound sensors are used to continuously collect new time-domain vibration data and time-domain sound data. Every time the time-domain vibration data and time-domain sound data of a time length Δt are collected, the time-domain vibration data and the time-domain sound data are subjected to FFT processing using the method in step 1 to obtain vibration samples and sound samples.

[0094] After FFT processing, A×3 vibration samples and B×2 sound samples can be obtained for each time length Δt. A×3 vibration samples and B×2 sound samples are input into the hierarchical autoencoder neural network. After being processed by the feature extraction layer and the time series correlation sublayer of the hierarchical autoencoder, the input Chec ki of the memory enhanced autoencoder 500 can be obtained. n , and then processed by the memory-enhanced self-encoder 500, the output Check of the memory-enhanced self-encoder 500 can be obtained. out . Afterwards, the reconstruction error is calculated like It is determined that the reactor has a fault within the time length Δt. It is determined that the reactor works normally within the time length Δt. By continuously collecting the vibration data and sound data of the reactor, the reactor fault detection can be continuously performed.

[0095] Through the aforementioned step 1, the collection of normal samples of the reactor is realized. Through the aforementioned step 2, the construction of the hierarchical autoencoder neural network is completed. Through the aforementioned steps 3 and 4, the training of the hierarchical autoencoder neural network is completed, so that the hierarchical autoencoder neural network can better learn the spatiotemporal correlation of multi-channel data and the distribution of normal samples, and has a more obvious distinction between normal samples and abnormal samples. Through the aforementioned step 5, the threshold for reactor fault detection is determined. Through the aforementioned step 6, new vibration samples and sound samples are continuously collected, and the newly collected vibration samples and sound samples are processed by the hierarchical autoencoder neural network to obtain the reconstruction error of the new sample. If the reconstruction error of the new sample exceeds the reactor fault detection threshold, the reactor is judged to be faulty, otherwise, the reactor is judged to be normal. In step 6, by continuously collecting new samples and processing them by the hierarchical autoencoder neural network, continuous detection of reactor faults can be achieved. It can be seen that the technical scheme of the present invention can produce the following technical effects:

[0096] (1) An unsupervised learning method is used to train the neural network using sample data from the normal operation of the reactor. No abnormal sample data from the reactor is required when training the neural network, which is more in line with the actual working scenario requirements of the reactor.

[0097] (2) Multiple vibration sensors and sound sensors are arranged around the reactor, and a specific neural network structure is set up to learn the spatiotemporal correlation of the data collected by the multi-channel vibration and sound sensors, so as to make full use of the spatiotemporal correlation of the multi-channel data, thereby making the fault detection more accurate.

[0098] (3) Using a convolutional autoencoder for feature extraction and dimensionality reduction, the extracted refined features are more representative, thereby enabling the hierarchical autoencoder neural network proposed in the present invention to better learn the distribution of normal samples of the reactor.

[0099] (4) Using memory-enhanced autoencoders for fault detection, the fault detection layer can produce a smaller reconstruction error for normal samples and a larger reconstruction error for abnormal samples, so that the reconstruction errors of normal samples and abnormal samples have a more obvious distinction boundary, thereby making the fault detection of the reactor more sensitive and accurate.

[0100] The above is only a description of the preferred implementation mode of the present invention, and the technical solution of the present invention is not limited thereto. Any known deformation made by personnel in this field on the basis of the main technical concept of the present invention belongs to the technical scope to be protected by the present invention. The specific scope of protection of the present invention shall be subject to the records of the claims.

Claims

1. A reactor fault detection method based on an autoencoder, characterized in that: The following steps are involved: Step 1: Arrange multiple vibration sensors and sound sensors around the reactor to collect vibration data and sound data of the reactor, and perform fast Fourier transform processing on the collected vibration data and sound data of the reactor; Step 2: construct a hierarchical autoencoder neural network, wherein the hierarchical autoencoder neural network includes a neural network feature extraction layer and a neural network fault detection layer; Step 3: Using the collected reactor vibration data and sound data processed by fast Fourier transform as samples to train the neural network feature extraction layer; Step 4: Use the collected reactor vibration data and sound data processed by fast Fourier transform as samples to train the neural network fault detection layer; Step 5: Select the maximum value of the reconstruction error corresponding to the sample data in the training of the neural network fault detection layer as the fault detection threshold; Step 6: Continuously collect reactor vibration data and sound data and perform fast Fourier transform processing, and provide the continuously collected reactor vibration data and sound data that have been processed by fast Fourier transform to the trained hierarchical neural network for processing, so as to obtain the current reconstruction error corresponding to the sample data in the training of the trained neural network fault detection layer, and compare the current reconstruction error with the fault detection threshold to realize reactor fault detection.

2. The reactor fault detection method based on autoencoder according to claim 1, characterized in that: The neural network feature extraction layer sets a vibration wavelet feature rough extraction module and a vibration convolution autoencoder to extract vibration features. The neural network feature extraction layer sets one vibration wavelet feature rough extraction module and one vibration convolution autoencoder for each vibration sensor; the feature extraction layer sets a sound wavelet feature rough extraction module and a sound convolution autoencoder to extract sound features. The feature extraction layer sets one sound wavelet feature rough extraction module and one sound convolution autoencoder for each sound sensor; the fault detection layer includes a time-series correlation sublayer and a space-series correlation sublayer. The time-series correlation sublayer sets one memory-enhanced autoencoder for each vibration sensor. The time-series correlation sublayer sets one memory-enhanced autoencoder for each sound sensor. The memory-enhanced autoencoder structure inside the time-series correlation sublayer is the same; The outputs of multiple memory-enhanced autoencoders within the temporal correlation sub-layer serve as the input of the memory-enhanced autoencoder in the spatial correlation sub-layer.

3. The reactor fault detection method based on autoencoder according to claim 2, characterized in that: The training of the neural network feature extraction layer in step 3 includes vibration convolution autoencoder training and sound convolution autoencoder training.

4. The reactor fault detection method based on autoencoder according to claim 2, characterized in that: In step 4, the neural network fault detection layer training includes the time series correlation sublayer training and the space correlation sublayer training.

5. The reactor fault detection method based on autoencoder according to claim 4, characterized in that: The training of the timing-related sublayer includes the following steps: determining the training samples; initializing the memory management module; and determining the target function for iterative training.

6. The reactor fault detection method based on autoencoder according to claim 4, characterized in that: The spatial correlation sublayer training includes the following steps: determining the training samples; initializing the memory management module; and determining the target function for iterative training.

7. The reactor fault detection method based on autoencoder according to claim 6, characterized in that: Step 5 is as follows: Among them, the number of training samples of the memory-enhanced autoencoder is K. After the memory-enhanced autoencoder completes iterative training, these K training samples are input into the input layer of the memory-enhanced autoencoder, and the output layer of the memory-enhanced autoencoder will have K outputs; Use check i Represents the i-th (i∈{1,2,3,...,K}) training sample among the K training samples of the memory-enhanced autoencoder, with check' i Indicates that the i-th training sample is checked i The output of the output layer after the input layer; Calculate the reconstruction error for K training samples in turn is a two-norm function, then K reconstruction errors can be obtained; Select the maximum value among the K reconstruction errors and record the maximum value among the K reconstruction errors as Check max , Check max is the fault detection threshold, and K is a positive integer.

8. The reactor fault detection method based on autoencoder according to claim 7, characterized in that: A magnetic vibration sensors and B magnetic sound sensors are arranged around the reactor for fault detection, where A and B are positive integers; step 6 is specifically as follows: A magnetic vibration sensor and B magnetic sound sensor are used to continuously collect new time-domain vibration data and time-domain sound data; each time the time-domain vibration data and time-domain sound data of a time length Δt are collected, the time-domain vibration data and the time-domain sound data are processed by fast Fourier transform to obtain vibration samples and sound samples, wherein after the fast Fourier transform processing, A×3 vibration samples and B×2 sound samples can be obtained for each time length Δt; Input A×3 vibration samples and B×2 sound samples into the hierarchical autoencoder neural network. After being processed by the feature extraction layer and the time series correlation sublayer of the hierarchical autoencoder, the input Check in , and then processed by the memory-enhanced autoencoder, the output Check of the memory-enhanced autoencoder can be obtained out ; Calculate the reconstruction error like It is determined that the reactor fails within the time length Δt; if It is determined that the reactor works normally within the time length Δt.