Fault detection method and system based on modal adaptive adjustment and dimensionality reduction
The local sparse adaptive generalized orthogonal linear embedding algorithm is used to reconstruct the nearest neighbor point weight matrix and adaptively select the nearest neighbor points, which solves the computational complexity and noise sensitivity problems in the dimensionality reduction of multi-modal equipment fault data, and improves the fault detection accuracy. .
Patent Information
- Application Number
- CN202210674448.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-15
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2042-06-15
AI Technical Summary
Existing data dimensionality reduction algorithms have high computational complexity, noise sensitivity, inability to effectively handle multi-modal data and singular value problems when processing multi-modal equipment fault data, resulting in low fault detection accuracy.
The local sparse adaptive generalized orthogonal linear embedding algorithm is used to reconstruct the weight matrix of neighboring points to avoid inverse operations, adaptively select neighboring points, optimize the neighborhood size, retain local structure information, and improve the effectiveness of multi-modal data dimensionality reduction. sex.
It improves the multi-modal data dimensionality reduction effect and fault monitoring accuracy during equipment operation, solves singular problems in the process of solving the weight matrix, and enhances the accuracy of fault detection.
Smart Images

Figure CN114969648B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of fault detection, and in particular to a fault detection method and system based on modal adaptive adjustment and dimensionality reduction. Background Art
[0002] The statements in this section merely provide background information related to the present invention and do not necessarily constitute prior art.
[0003] With the rapid development of technologies such as big data and artificial intelligence, as well as the high integration of informatization and automation, industrial processes are becoming increasingly complex, large-scale and integrated, and the probability of failures is increasing. The various links of complex systems are often closely connected, and even a small failure may bring a series of hazards. Therefore, timely and effective detection of the occurrence of failures is of great significance to ensuring the safe production of enterprises and the personal safety of the people. In actual industrial processes, enterprises often need to switch between multiple operating modes according to market demand to obtain maximum benefits. Industrial processes need to switch between multiple working modes, and data often presents multi-modal complex distribution characteristics. Research on multi-modal fault detection technology is of great significance to ensuring the safe operation of industrial processes.
[0004] Due to the different characteristics of each modal data in multimodal process data, the sample neighborhood composed of sample neighbors can better describe the characteristic information of the sample itself compared to the global sample. The standardization of multimodal data is achieved by using local nearest neighbor standardization. Compared with global standardization, local nearest neighbor standardization can effectively eliminate multimodal characteristics. In actual industrial processes, fault information will also be reflected in the changing trend of sample data. Generally speaking, normal samples change randomly in a certain area, the direction of change is disordered, and the degree of uncertainty is high. When a fault occurs, some variables that are greatly affected by the fault will show a certain trend of change, and the degree of uncertainty changes, so measuring the uncertainty of the direction of sample change can also reflect whether the sample is normal or not.
[0005] Principal Component Analysis (PCA), Linear Discriminant Analysis (LDA) and nonlinear dimensionality reduction algorithms (Multiple Dimensional Scaling (MDS) algorithm, Isometric Mapping (ISOMAP), Locally Linear Embedding (Locally Data dimensionality reduction algorithms such as Linear Embedding (LLE) algorithm are often used in the dimensionality reduction of equipment failure data, but they have their own advantages and disadvantages: the PCA algorithm is an unsupervised learning method with a simple algorithm and advantages such as linear error, but it has a large storage space and high computational complexity. The linear mapping used in the algorithm also affects the final effect. The size of the covariance matrix is proportional to the dimension of the data points, which makes it impossible to calculate the eigenvector of high-dimensional equipment failure data; the LDA algorithm is a supervised learning method that can be used for classification, but it is very sensitive to the singular value problem where the sample dimension is greater than the sample number, and it is also unable to find the local popular structure, which means that it may not be able to handle multimodal data such as equipment failure data; the ISOMAP algorithm has the limitations of topological instability, high computational complexity, and sensitivity to noise. Summary of the invention
[0006] In order to solve the technical problems existing in the above-mentioned background technology, the present invention provides a fault detection method and system based on modal adaptive adjustment of dimensionality reduction, which reconstructs the weight matrix of neighbor points according to sample points and neighbor matrices, avoids the inverse operation of the weight matrix, improves the effectiveness of dimensionality reduction of multimodal data of equipment operation, realizes adaptive selection of neighbor points, optimizes the neighborhood size, retains more local structural information in the equipment operation data, and improves the accuracy of fault monitoring.
[0007] In order to achieve the above object, the present invention adopts the following technical solution:
[0008] A first aspect of the present invention provides a fault detection method based on modal adaptive adjustment and dimensionality reduction, which comprises:
[0009] Get the data set of the equipment operation;
[0010] The local sparse adaptive generalized orthogonal linear embedding algorithm is used to reduce the dimension of the data set;
[0011] Based on the reduced-dimensional data set, outliers in the data set are detected to obtain the equipment failure occurrence point;
[0012] Among them, the local sparse adaptive generalized orthogonal linear embedding algorithm selects several neighboring points closest to the residual in the neighbor matrix to reconstruct the support set in each iteration, and uses the residual reconstructed based on the support set to adaptively select the number of neighboring points. Finally, according to the set of neighboring points selected by the support set, the weight vector used for low-dimensional mapping is calculated.
[0013] Furthermore, before performing data dimensionality reduction on the data set, local nearest neighbor normalization is used to achieve normalization of multimodal data in the training set.
[0014] Furthermore, the specific steps of the local sparse adaptive generalized orthogonal linear embedding algorithm are:
[0015] Step 201, using Euclidean distance to find k nearest neighbors of each sample point in the data set to form a nearest neighbor matrix;
[0016] Step 202, calculating the weight vector of k neighboring points of each sample point;
[0017] Step 203: for each sample point, let the observation matrix be the neighbor matrix, the observation vector be the sample point, the sparse vector be the weight vector, the initial residual be the sample point, and the support set be the empty set, and initialize the number of iterations and the segment subscript;
[0018] Step 204, select a number of neighboring points whose neighbor matrix is closest to the residual, and reconstruct the support set by combining the segment subscript and the number of elements in the support set;
[0019] Step 205: reconstruct the residual based on the support set;
[0020] Step 206: Based on the residual, determine whether to execute step 207 or return to step 204, and update the number of iterations and the segment index;
[0021] Step 207, reconstructing the weight vector according to the set of neighboring points selected from the support set;
[0022] Step 208: All reconstructed weight vectors are combined into a weight matrix to calculate the data set after dimensionality reduction.
[0023] Furthermore, the reconstruction weight vector is specifically:
[0024]
[0025] in, is the support set F a Corresponding observation matrix The column vector set, x i is the i-th sample point in the data set, and a is the number of iterations.
[0026] Furthermore, the residual is specifically:
[0027]
[0028] in, is the support set F a Corresponding observation matrix The column vector set, x i is the i-th sample point in the data set, and a is the number of iterations.
[0029] Furthermore, the reconstructed support set is specifically:
[0030] The subscripts of several neighboring points closest to the residual in the neighbor matrix form a pre-selected set;
[0031] Merge the pre-selected set and the support set into the candidate set;
[0032] Based on the candidate set, reconstruct the support set.
[0033] Furthermore, the support set is specifically:
[0034]
[0035] in, Represents the candidate set C a Corresponding observation matrix The column vector set, x i is the i-th sample point in the data set, e = t×s, t is the segment subscript, s is the number of elements in the support set, and a is the number of iterations.
[0036] A second aspect of the present invention provides a fault detection system based on modal adaptive adjustment and dimensionality reduction, comprising:
[0037] A data acquisition module is configured to: acquire a data set of device operation;
[0038] A dimension reduction module is configured to: perform data dimension reduction on a data set by using a local sparse adaptive generalized orthogonal linear embedding algorithm;
[0039] A detection module is configured to: detect outliers in the data set based on the reduced-dimensional data set, and obtain the equipment failure occurrence point;
[0040] Among them, the local sparse adaptive generalized orthogonal linear embedding algorithm selects several neighboring points closest to the residual in the neighbor matrix to reconstruct the support set in each iteration, and uses the residual reconstructed based on the support set to adaptively select the number of neighboring points. Finally, according to the set of neighboring points selected by the support set, the weight vector used for low-dimensional mapping is calculated.
[0041] A third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the fault detection method based on modal adaptive adjustment and dimensionality reduction as described above.
[0042] The fourth aspect of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the fault detection method based on modal adaptive adjustment and dimensionality reduction as described above are implemented.
[0043] Compared with the prior art, the present invention has the following beneficial effects:
[0044] The present invention provides a fault detection method based on modal adaptive adjustment of dimensionality reduction, which adopts a sparse adaptive generalized orthogonal matching pursuit algorithm in compressed sensing to solve the neighbor weight coefficients of sample points and obtain a locally linearly embedded weight matrix. The weights of the neighbor points are iterated using the residual of matching pursuit to solve the singularity problem that occurs in the process of solving the weight matrix, and the effective neighbor points are adaptively selected to avoid the inversion of the weight matrix, thereby improving the effectiveness of multi-modal data dimensionality reduction of equipment operation and improving the accuracy of fault monitoring.
[0045] The present invention provides a fault detection method based on modal adaptive adjustment of dimensionality reduction, which utilizes the size of the residual reconstructed by the sample point to adaptively select the appropriate number of neighboring points, and automatically performs secondary selection of neighboring points for each sample point according to different data distributions, thereby avoiding selecting noise as a neighboring point, optimizing the neighborhood size, retaining more sample structure information in the equipment operation data, and thereby improving the fault detection accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0047] Figure 1 Schematic diagram of neighbor point selection of the local sparse adaptive generalized orthogonal linear embedding algorithm according to the first embodiment of the present invention;
[0048] Figure 2 Schematic diagram of neighbor point selection of the local linear embedding algorithm according to the first embodiment of the present invention. DETAILED DESCRIPTION
[0049] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0050] It should be noted that the following detailed descriptions are all illustrative and intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present invention belongs.
[0051] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.
[0052] Embodiment 1
[0053] This embodiment provides a fault detection method based on modal adaptive adjustment and dimensionality reduction, which specifically includes the following steps:
[0054] Step 1: Obtain and standardize the data set of equipment operation.
[0055] Specifically, when the device is running (during this process, the device is in a normal state or a faulty state), at n consecutive time points, data of the device in several working modes are collected respectively to obtain multimodal data to form a data set. A sample in the data set is the multimodal data of the device at a time point. The data set can be expressed as:
[0056]
[0057] Among them, the sample point x i is the multimodal data of the device at the i-th time point, that is, the i-th sample in the data set, and D is the sample point x i The dimension of n is the total number of samples in the data set, that is, the number of time points.
[0058] Normalization of multimodal data in the training set using local nearest neighbor normalization.
[0059] Step 2: For the standardized sample data The local sparse adaptive generalized orthogonal linear embedding algorithm is used for data dimension reduction and feature extraction. In each iteration, the local sparse adaptive generalized orthogonal linear embedding algorithm selects several neighboring points closest to the residual in the neighbor matrix to reconstruct the support set, and uses the residual reconstructed based on the support set to adaptively select the number of neighboring points. Finally, according to the set of neighboring points selected by the support set, the weight vector for low-dimensional mapping is calculated. The specific steps of the local sparse adaptive generalized orthogonal linear embedding algorithm are:
[0060] Step 201: Use Euclidean distance to find each sample point x in the data seti The k nearest neighbors of x i The neighboring points of
[0061] Step 202: Calculate each sample point x i The weight vector w of the k nearest neighbors i :
[0062] Specifically, the weight matrix of neighboring points is obtained according to the sparsity-adaptive generalized orthogonal matching pursuit method:
[0063] min||w i ||0
[0064] The constraints are ω ij Represents the sample point x i and its jth nearest neighbor x ij The weight between .
[0065] Step 203: Neighbor Matrix As the observation matrix, the observation vector is c i , the sparse vector is w i ; Set the initial residual r0 = x i , the support set F0 is an empty set, s is the number of elements in the support set F0, the number of initialization iterations is a, the initialization segment subscript t = 1; e = t×s.
[0066] Step 204: Select neighbor matrix With r a-1 The closest e neighboring points, their subscripts form a pre-selected set
[0067]
[0068] max{|x|,e} is used to return a subscript set consisting of the subscripts corresponding to the first e maximum values of vector x. * indicates conjugate transpose.
[0069] The pre-selected set S a With the support set F a-1 Merge into candidate sets, i.e.
[0070] C a =F a-1 ∪S a
[0071] Support set
[0072]
[0073] in, Represents the candidate set C a correspond The set of column vectors of , where “1” represents the pseudo-inverse;
[0074] Update the support set F a The number of elements in is s.
[0075] Step 205: Calculate residual
[0076]
[0077] in, For the support set F a correspond A collection of column vectors of .
[0078] Step 206: If ||r||2 is less than a predetermined threshold, then the iteration is stopped and step 207 is executed directly; if ||r||2<||r a-1 ||2, then r a =r, enter the next iteration, a=a+1, return to step 204; otherwise t=t+1, update e=t×s, return to step 204.
[0079] Step 207: According to the support set F a The selected neighbor point set Reconstructing the weight vector
[0080] Step 208: All reconstruction weight vectors w′ i Composed weight matrix W, to obtain low-dimensional mapping (i.e., the reduced-dimensional data set) Among them, the dimension of the low-dimensional space is d, D>d, and the dimensionality reduction is completed.
[0081] Specifically, let M = (IW) T (IW), calculate the smallest d+1 eigenvalues in the matrix M, and sort them in ascending order, calculate the eigenvectors corresponding to the d+1 eigenvalues, and the matrix composed of the second eigenvector to the d+1th eigenvector is the low-dimensional mapping Y.
[0082] Step 3: Based on the data set after dimensionality reduction, outliers in the data set are detected. The outliers are the points where equipment failures occur.
[0083] Specifically, a density-based outlier detection algorithm is adopted, and the local outlier factor of the sample is used to measure the outlier degree of the sample itself, so as to establish a monitoring statistic.
[0084] The present invention is based on local linear embedding in manifold learning, and utilizes the proposed local sparse adaptive generalized orthogonal linear embedding method to perform multimodal data dimensionality reduction. The method adopts the sparsity adaptive generalized orthogonal matching pursuit algorithm in compressed sensing to solve the neighbor weight coefficients of the sample points, and obtains the weight matrix of the local linear embedding. The weights of the neighbor points are iterated using the residual of matching pursuit, and the singularity problem that occurs in the process of solving the weight matrix is solved. The effective neighbor points are adaptively selected to avoid the inversion of the weight matrix. The appropriate number of neighbor points is adaptively selected using the size of the residual reconstructed by the sample points. According to different data distributions, the neighbor points are automatically selected for each sample point for a second time to avoid selecting noise as the neighbor point, retain more sample structure information, and thus improve the fault detection accuracy.
[0085] The principle of the local sparse adaptive generalized orthogonal linear embedding algorithm is as follows:
[0086] Based on the idea of manifold hypothesis, the Locally Linear Embedding (LLE) algorithm uses local linearity to approximate global nonlinearity, and obtains overall information by keeping the local geometric structure unchanged before and after dimensionality reduction and superimposing local information. That is, the LLE algorithm believes that every point in any local neighborhood on the manifold can be linearly represented by other points in the neighborhood; at the same time, adjacent points in high-dimensional space should also be adjacent after being mapped to low-dimensional space.
[0087] Find x i The corresponding low-dimensional representation y i The process is as follows:
[0088] In the local space, the data sample point x i (i=1, 2, ..., n) can be represented by the k nearest sample points x i1 , x i2 , ..., x ik The linear representation is:
[0089] x i =ω i1 x i1 +ω i2 x i2 +…ω ik x ik (1)
[0090] where ω i1 ,ω i2 , ..., ω ik is the weight coefficient; after using LLE dimensionality reduction technology, x i The low-dimensional image x′ i , then x i1 , x i2, ..., x ik The corresponding x′ i1 , x′ i2 , ..., x′ ik Like linear representation:
[0091] x′ i =ω i1 x′ i1 +ω i2 x′ i2 +…+ω ik x′ ik (2)
[0092] Weight coefficient ω of the linear relationship before and after mapping i1 ,ω i2 , ..., ω ik Remain unchanged.
[0093] Obviously, we only need to obtain k nearest neighbor points x i1 , x i2 , ..., x ik The weight coefficient of can reduce the dimension, without global participation in the operation, which can reduce the amount of calculation and improve the efficiency of operation. Therefore, the LLE algorithm must first solve the weight coefficient of the linear representation of each sample point in the original space, and then use the weight coefficient of the sample point in the original space to find its image in a low-dimensional space.
[0094] Given a data set {x1, x2, ..., x n}, Determine the sample point x i The k nearest neighbors of i The linear relationship between the k nearest neighbor points, that is, to find the weight coefficient of the linear relationship, satisfies:
[0095]
[0096] The constraints are x ij For x i The jth nearest neighbor of ij For x ij The weight coefficient of .
[0097] Using the least squares method, we can find x i The weight vector of all neighboring points is:
[0098]
[0099] in, 1 k is a k-dimensional column vector whose elements are all 1; if there is a singularity in equation (4), a perturbation term needs to be added
[0100]
[0101] In the formula, α is a very small constant value, I is a d×d unit matrix, tr(Z i ) represents Z i Trace of.
[0102] The parameter-free and non-iterative characteristics make LLE computationally small and easy to implement, but it is necessary to find Z when solving the weight matrix. i The inverse of Z i singular, then the solution of formula (4) does not exist; adding the perturbation term (5), the solution of formula (4) can be obtained, but the dimension reduction effect is affected; at the same time, LLE selects neighboring points using the Euclidean distance criterion, which easily selects points that are not in the same linear space as neighboring points in high-dimensional space, affecting the effectiveness of data dimension reduction, such as Figure 2 shown.
[0103] Using the weight vector w i Reduce the dimension of the data; assume that the D-dimensional sample set {x1, x2, ..., x n}, The corresponding projection in the low-dimensional space d is {y1, y2, ..., y n}, Keeping the same linear relationship, the low-dimensional mapping satisfies:
[0104]
[0105] in, y i For x i Sample points after dimensionality reduction, y j for y i The nearest neighbor points of , I is the identity matrix.
[0106] The objective function matrix in equation (6) is:
[0107] J(y)=tr[Y T (IW) T (IW)Y] (7)
[0108] Where Y = (y1, y2, ..., y n ), W=(w1,w2,...,w n ), let M = (IW) T (IW), then formula (7) can be expressed as
[0109] J(y)=tr(Y T MY) (8)
[0110] By using the Lagrange multiplier method, we can differentiate Y and set it to 0, and get MYT =λY T ; The solution of formula (8) is equivalent to finding the eigenvector corresponding to the eigenvalue of M; In order to minimize formula (6), select the eigenvector corresponding to the smallest d eigenvalues in M; Since the smallest eigenvalue is infinitely close to 0, the eigenvectors corresponding to the second to d+1th eigenvalues should be taken to form a low-dimensional mapping Y.
[0111] In the local sparse adaptive generalized orthogonal linear embedding method, the sparsity adaptive generalized orthogonal matching pursuit algorithm is used to find the weight matrix of the neighboring points. Each iteration can find the neighboring point closest to the residual of the current sample point from the neighboring point matrix, and select the neighboring points in turn to reconstruct the sample point. That is, v and u closest to x are selected first. When the residual is 0, x is reconstructed and the farthest y will not be selected. Figure 1 shown.
[0112] Most signals in reality are often not sparse, so they need to be sparsely represented on a corresponding sparse basis; assuming that the original signal L can be sparsely represented under a fixed overcomplete dictionary D, that is, the signal X can be represented as:
[0113] L=Dv (9)
[0114] Where v is the sparse representation of the original signal L under the sparse basis D; the measurement value y can be obtained through the measurement matrix φ that is unrelated to the sparse basis D, that is:
[0115] u=φL=φDv=Av (10)
[0116] Among them, A becomes the perception matrix, and the compressed sensing reconstruction algorithm is the process of solving the above formula to obtain θ when the measurement value u and the perception matrix A are known, and then using L = Dv to obtain the original signal; this type of problem can also be solved by solving the l0 norm, that is:
[0117] min||v||0 (11)
[0118] The constraint condition is u=Av; to solve this problem, the sparsity-adaptive generalized orthogonal matching pursuit algorithm used is to approximate the sparsity of the original signal with a variable step size, and in each iteration process, multiple atoms are selected at one time, so the reconstruction algorithm can achieve accurate reconstruction of blind sparse images.
[0119] The sparsity-adaptive generalized orthogonal matching pursuit algorithm is used to solve the weight matrix of LLE, and the reconstructed residuals of the sample points are used to dynamically select valid neighboring points; the optimization problem of the sparsity-adaptive generalized orthogonal matching pursuit is:
[0120] min||v||0 (12)
[0121] The constraint condition is u=Av, where v is a sparse vector, u is an observation vector, A is a sparse matrix, and ||·||0 means solving the zero norm. The sparsity-adaptive generalized orthogonal matching pursuit algorithm uses the observation vector u and the residual r as references, selects the column vector closest to the residual of the current sample point from the matrix A, reconstructs the sparse vector v, obtains the reconstructed vector v′, and judges the reconstruction of v′ based on the residual.
[0122] In the sparsity-adaptive generalized orthogonal matching pursuit algorithm, the observation matrix A is selected to match the current residual r a-1 The subscripts of the closest e column vectors are stored in the pre-selected set S a In the example, a is the number of iterations, and the corresponding column vector set in the observation matrix A is Support set F a Stores the column vector subscripts used to reconstruct v, which is an empty set for the first iteration; through the residual r a-1 Select the set of column vectors in A Reconstruct v and put its subscript in the support set F a Middle; Combined pre-selected set S a With the support set F a-1 Get candidate set C a , the corresponding column vector set is Will The inner product of the elements in and u is used to find the subscripts of the e column vectors closest to v and put them into the support set F a middle.
[0123] By F a Update residuals:
[0124]
[0125] And with r a-1 For comparison; if ||r||2<||r a-1 ||2, then r a = r, enter the next iteration; otherwise, increase the number of e and reselect the pre-selected set; the iterative method of this method achieves the convergence of the residual r, and uses the final support set F a The selected column vector set Get the reconstruction vector The "one" here represents pseudo-inverse.
[0126] It can be seen that the sparse adaptive generalized orthogonal matching pursuit algorithm passes the candidate set C a The backtracking method selects the newly added column vector from the selected column vector to achieve the global optimal selection.
[0127] Use Euclidean distance to find sample point x i The k nearest neighbors of the sample point x are obtained. iThe neighboring points of According to the sparsity-adaptive generalized orthogonal matching pursuit method, the weight matrix of the neighboring points is obtained, and equation (3) is converted into:
[0128] min||w i ||0 (14)
[0129] The constraints are The introduction of zero-norm regularization in formula (13) can sparse w i , and then solve the equation (8) to obtain the low-dimensional mapping Y.
[0130] Due to the different characteristics of each modal data in multimodal process data, the sample neighborhood composed of sample neighbors can better describe the characteristic information of the sample itself than the global sample. The standardization of multimodal data is achieved by using local nearest neighbor standardization. Compared with global standardization, local nearest neighbor standardization can effectively eliminate multimodal characteristics. In actual industrial processes, fault information will also be reflected in the change trend of sample data. Generally speaking, normal samples change randomly in a certain area, the direction of change is disordered, and the degree of uncertainty is high. When a fault occurs, some variables that are greatly affected by the fault will show a certain trend of change, and the degree of uncertainty changes. Therefore, measuring the uncertainty of the direction of sample change can also reflect whether the sample is normal or not. Considering the complexity of multimodal data and making it easier to identify faulty samples, the local sparse adaptive generalized orthogonal linear embedding method is used to achieve data dimensionality reduction. The weight matrix of neighbor points is reconstructed according to the sample points and the neighbor matrix, which avoids the inverse operation of the weight matrix and improves the effectiveness of multimodal data dimensionality reduction; this method adaptively selects neighbor points, optimizes the neighborhood size, and retains more local structural information; this method can solve the neighbor weight coefficients of the sample points, and automatically selects neighbor points for the sample points according to the different distribution of multimodal data, which can effectively extract the characteristics of the data change direction, thereby improving the fault detection accuracy.
[0131] Embodiment 2
[0132] This embodiment provides a fault detection system based on modal adaptive adjustment and dimensionality reduction, which specifically includes the following modules:
[0133] A data acquisition module is configured to: acquire a data set of device operation;
[0134] A dimension reduction module is configured to: perform data dimension reduction on a data set by using a local sparse adaptive generalized orthogonal linear embedding algorithm;
[0135] A detection module is configured to: detect outliers in the data set based on the reduced-dimensional data set, and obtain the equipment failure occurrence point;
[0136] Among them, the local sparse adaptive generalized orthogonal linear embedding algorithm selects several neighboring points closest to the residual in the neighbor matrix to reconstruct the support set in each iteration, and uses the residual reconstructed based on the support set to adaptively select the number of neighboring points. Finally, according to the set of neighboring points selected by the support set, the weight vector used for low-dimensional mapping is calculated.
[0137] It should be noted here that each module in this embodiment corresponds to each step in Example 1 one by one, and the specific implementation process is the same, which will not be repeated here.
[0138] Embodiment 3
[0139] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps in the fault detection method based on modal adaptive adjustment and dimensionality reduction as described in the first embodiment above are implemented.
[0140] Embodiment 4
[0141] This embodiment provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the fault detection method based on modal adaptive adjustment and dimensionality reduction as described in the first embodiment above are implemented.
[0142] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0143] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0144] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0145] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0146] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0147] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A fault detection method based on modal adaptive adjustment and dimensionality reduction, characterized in that: include: Get the data set of the equipment operation; The local sparse adaptive generalized orthogonal linear embedding algorithm is used to reduce the dimension of the data set; Based on the reduced-dimensional data set, outliers in the data set are detected to obtain the equipment failure occurrence point; Among them, the local sparse adaptive generalized orthogonal linear embedding algorithm selects several neighboring points closest to the residual in the neighbor matrix in each iteration to reconstruct the support set, and uses the residual reconstructed based on the support set to adaptively select the number of neighboring points. Finally, according to the set of neighboring points selected by the support set, the weight vector for low-dimensional mapping is calculated; The specific steps of the local sparse adaptive generalized orthogonal linear embedding algorithm are: Step 201, using Euclidean distance to find k nearest neighbors of each sample point in the data set to form a nearest neighbor matrix; Step 202, calculating the weight vector of k neighboring points of each sample point; Step 203: for each sample point, let the observation matrix be the neighbor matrix, the observation vector be the sample point, the sparse vector be the weight vector, the initial residual be the sample point, and the support set be the empty set, and initialize the number of iterations and the segment subscript; Step 204, select a number of neighboring points whose neighbor matrix is closest to the residual, and reconstruct the support set by combining the segment subscript and the number of elements in the support set; Step 205: reconstruct the residual based on the support set; Step 206: Based on the residual, determine whether to execute step 207 or return to step 204, and update the number of iterations and the segment index. If ||r||2 is less than the predetermined threshold, stop the iteration and directly execute step 207; if ||r||2<||r a-1 ||2, then r a = r, the number of iterations a = a + 1, return to step 204; otherwise, the segment index t = t + 1, update e = t × s, and return to step 204; Step 207, reconstructing the weight vector according to the set of neighboring points selected from the support set; Step 208: All reconstructed weight vectors are combined into a weight matrix to calculate the data set after dimensionality reduction; The reconstruction weight vector is specifically: in, is the support set F a Corresponding observation matrix The column vector set, x i is the i-th sample point in the data set, a is the number of iterations, and - represents pseudo-inverse; The residual is specifically: in, is the support set F a Corresponding observation matrix The column vector set, x i is the i-th sample point in the data set, and a is the number of iterations; The reconstructed support set is specifically: The subscripts of several neighboring points closest to the residual in the neighbor matrix form a pre-selected set; Merge the pre-selected set and the support set into the candidate set; Based on the candidate set, reconstruct the support set; The support set is specifically: in, Represents the candidate set C a Corresponding observation matrix The column vector set, x i is the i-th sample point in the data set, e = t×s, t is the segment subscript, s is the number of elements in the support set, and a is the number of iterations.
2. The fault detection method based on modal adaptive adjustment and dimensionality reduction as claimed in claim 1, characterized in that: Before performing data dimensionality reduction on the data set, local nearest neighbor normalization is used to achieve normalization of multimodal data in the training set.
3. A fault detection system based on modal adaptive adjustment and dimensionality reduction, characterized in that: include: A data acquisition module is configured to: acquire a data set of device operation; A dimension reduction module is configured to: perform data dimension reduction on a data set by using a local sparse adaptive generalized orthogonal linear embedding algorithm; A detection module is configured to: detect outliers in the data set based on the reduced-dimensional data set, and obtain the equipment failure occurrence point; Among them, the local sparse adaptive generalized orthogonal linear embedding algorithm selects several neighboring points closest to the residual in the neighbor matrix in each iteration to reconstruct the support set, and uses the residual reconstructed based on the support set to adaptively select the number of neighboring points. Finally, according to the set of neighboring points selected by the support set, the weight vector for low-dimensional mapping is calculated; The specific steps of the local sparse adaptive generalized orthogonal linear embedding algorithm are: Step 201, using Euclidean distance to find k nearest neighbors of each sample point in the data set to form a nearest neighbor matrix; Step 202, calculating the weight vector of k neighboring points of each sample point; Step 203: for each sample point, let the observation matrix be the neighbor matrix, the observation vector be the sample point, the sparse vector be the weight vector, the initial residual be the sample point, and the support set be the empty set, and initialize the number of iterations and the segment subscript; Step 204, select a number of neighboring points whose neighbor matrix is closest to the residual, and reconstruct the support set by combining the segment subscript and the number of elements in the support set; Step 205: reconstruct the residual based on the support set; Step 206: Based on the residual, determine whether to execute step 207 or return to step 204, and update the number of iterations and the segment index. If ||r||2 is less than the predetermined threshold, stop the iteration and directly execute step 207; if ||r||2<||r a-1 ||2, then r a = r, the number of iterations a = a + 1, return to step 204; otherwise, the segment index t = t + 1, update e = t × s, and return to step 204; Step 207, reconstructing the weight vector according to the set of neighboring points selected from the support set; Step 208: All reconstructed weight vectors are combined into a weight matrix to calculate the data set after dimensionality reduction; The reconstruction weight vector is specifically: in, is the support set F a Corresponding observation matrix The column vector set, x i is the i-th sample point in the data set, a is the number of iterations, and - represents pseudo-inverse; The residual is specifically: in, is the support set F a Corresponding observation matrix The column vector set, x i is the i-th sample point in the data set, and a is the number of iterations; The reconstructed support set is specifically: The subscripts of several neighboring points closest to the residual in the neighbor matrix form a pre-selected set; Merge the pre-selected set and the support set into the candidate set; Based on the candidate set, reconstruct the support set; The support set is specifically: in, Represents the candidate set C a Corresponding observation matrix The column vector set, x i is the i-th sample point in the data set, e = t×s, t is the segment subscript, s is the number of elements in the support set, and a is the number of iterations.
4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps in the fault detection method based on modal adaptive adjustment and dimensionality reduction as described in any one of claims 1 to 2 are implemented.
5. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps in the fault detection method based on modal adaptive adjustment and dimensionality reduction as described in any one of claims 1-2 are implemented.
Citation Information
Patent Citations
Fault detection method and system based on global preserving unsupervised kernel extreme learning machine
CN110362063A
Multi-modal chemical process fault detection method based on improved t-SNE
CN113741364A
