Sparse sensor arrangement method, device and equipment embedded with physical information
By obtaining the prior information and adaptive basis matrix of the target structure, and using the compressed sensing method to determine the optimal sparse measurement matrix, the problem of optimization falling into local optimality and slow convergence speed in the sensor placement method is solved, and a more efficient sensor placement is achieved. and structural health monitoring.
Patent Information
- Application Number
- CN202410756556.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-13
AI Technical Summary
The existing technology has problems such as the optimization falling into local optimality, slow convergence speed, and difficulty in parameter setting in the sensor optimization layout method, making it difficult to effectively monitor and evaluate the health of urban transportation infrastructure.
By obtaining the prior information of the target structure, extracting the adaptive basis matrix, and constructing the optimal sparse measurement matrix problem based on the compressed sensing method, determine the sensor placement strategy, and use partial pivot element LU decomposition or singular value decomposition to solve the optimal sparse measurement problem. matrix to determine sensor location.
It improves the accuracy of the sensor placement strategy, avoids information redundancy and resource waste, reduces the number of sensors required for monitoring, reduces the total system cost, and improves the efficiency and accuracy of structural health monitoring.
Smart Images

Figure CN118333348B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of structural health monitoring, and in particular to a sparse sensor arrangement method, device, equipment and storage medium embedded with physical information. Background Art
[0002] With the acceleration of urbanization, urban transportation infrastructure is increasing. How to accurately and effectively monitor and evaluate the health of transportation infrastructure is an important issue to ensure the safety and smoothness of urban traffic. Structural health monitoring is a field that uses various sensors and data analysis methods to monitor and evaluate the performance and safety status of engineering structures in real time, dynamically, comprehensively and accurately.
[0003] Building an efficient and reasonable sensor network is the first step in structural health monitoring. The monitoring system observes the changes in the structural system over time by regularly collecting and analyzing the dynamic response data of the sensor array with optimized structural layout, extracts damage-sensitive eigenvalues, and determines the structural state through data analysis. Due to the large number of degrees of freedom and complex dynamic characteristics of large structures, and the limitations of actual engineering monitoring conditions and monitoring costs, sensors can only be arranged in very limited locations. Reasonable arrangement of sensor locations can enhance the reliability and credibility of data collected from urban transportation infrastructure, provide effective support for the structural design, structural maintenance, structural operation, etc. of urban transportation infrastructure, improve the structural performance and safety of urban transportation infrastructure, and optimize the structural management and services of urban transportation infrastructure.
[0004] Sensor optimization layout methods can be divided into single-objective optimization methods, multi-objective optimization methods, and optimization methods using genetic algorithms. Among them, single-objective optimization methods generally have defects such as mutual inability to meet requirements, optimization falling into local optimality, and low optimization efficiency. Multi-objective optimization methods generally transform multi-objective optimization problems into single-objective optimization problems through simple mathematical operations, ignoring the magnitude differences of each single objective, making it difficult to ensure the accuracy and convergence of the optimization algorithm. The optimization method using genetic algorithms has problems such as slow convergence, easy to fall into local optimality, and difficulty in parameter setting.
[0005] Therefore the prior art still needs to be improved and enhanced. Summary of the invention
[0006] The technical problem to be solved by the present application is to provide a sparse sensor arrangement method, device, equipment and storage medium for embedding physical information in view of the deficiencies in the prior art.
[0007] In order to solve the above technical problems, the first aspect of the present application provides a sparse sensor arrangement method embedded with physical information, wherein the sparse sensor arrangement method embedded with physical information specifically includes:
[0008] Acquiring prior information of a target structure and extracting an adaptive basis matrix of the prior information;
[0009] Based on the adaptive basis matrix, an optimal sparse measurement matrix problem is constructed by a compressed sensing method, and the optimal sparse measurement matrix problem is solved to obtain the optimal sparse measurement matrix;
[0010] A sensor placement strategy corresponding to the target structure is determined based on the optimal sparse measurement matrix, and sensors are placed for the target structure according to the sensor placement strategy.
[0011] The sparse sensor arrangement method embedded with physical information, wherein the adaptive basis matrix for extracting the prior information specifically includes:
[0012] A machine learning method is used to extract features from the prior information to obtain an adaptive basis matrix of the prior information.
[0013] The sparse sensor arrangement method embedded with physical information, wherein the adaptive basis matrix for extracting the prior information specifically includes:
[0014] Mapping the prior information to a high-dimensional feature space through a number of kernel functions to obtain a number of high-dimensional feature matrices;
[0015] Perform singular value decomposition on the high-dimensional feature matrix corresponding to each kernel function through the kernel matrix of each kernel function to obtain a number of singular value matrices, wherein the singular value matrices each include singular vectors corresponding to a preset number of maximum singular values;
[0016] A plurality of singular value matrices are concatenated into a concatenated singular value matrix, and singular value decomposition is performed on the concatenated singular value matrix to obtain an adaptive basis matrix of the prior information.
[0017] The sparse sensor arrangement method embedded with physical information, wherein the optimal sparse measurement matrix problem is:
[0018] ;
[0019] , ;
[0020] in, represents the measurement state vector collected by the arranged sensors, represents the sparse measurement matrix, represents the adaptive basis matrix, represents the matrix product of the sparse measurement matrix and the adaptive basis matrix, Represents a sparse vector.
[0021] The sparse sensor arrangement method embedded with physical information, wherein the solving the optimal sparse measurement matrix problem to obtain the optimal sparse measurement matrix specifically includes:
[0022] Acquiring the number of sensors to be arranged on the target structure;
[0023] When the number of sensors is equal to the number of rows of the adaptive basis matrix, the optimal sparse measurement matrix problem is solved by using a partial principal element LU decomposition method to obtain the optimal sparse measurement matrix;
[0024] When the number of sensors is less than the number of rows of the adaptive basis matrix, the optimal sparse measurement matrix problem is solved by using a singular value decomposition method to obtain the optimal sparse measurement matrix.
[0025] The sparse sensor arrangement method embedded with physical information, wherein the method of solving the optimal sparse measurement matrix problem by partial principal component decomposition to obtain the optimal sparse measurement matrix specifically includes:
[0026] H10, take the adaptive basis matrix as the current matrix and the first column as the current column;
[0027] H20, select a pivot for the current column, move the pivot to the target position of the current column through a row swap operation, and record the row swap operation to obtain a permutation matrix , where the pivot element is the element with the largest absolute value among the elements whose number of rows is greater than or equal to the number of columns;
[0028] H30, through the elimination operation, change the elements below the pivot of the current column after the move to 0 to obtain the eliminated matrix , and record the elimination operation to get the elimination matrix ;
[0029] H40, the matrix to be eliminated As the current matrix, take the second column as the current column, and re-execute steps H10-H30 to obtain the permutation matrix , the eliminated matrix And the elimination matrix , and so on, until the last column, to get the permutation matrix , the eliminated matrix And the elimination matrix ,in, Represents the number of columns of the adaptive basis matrix;
[0030] H50, based on the obtained elimination matrix To the elimination matrix Determine the lower triangular matrix , based on the eliminated matrix Determine the upper triangular matrix , and based on the obtained permutation matrix To the permutation matrix Determine the permutation matrix , where the upper triangular matrix and the lower triangular matrix The product is equal to the permutation matrix With adaptive basis matrix The product of
[0031] H60, select the permutation matrix The first preset number of rows of is used to obtain the optimal sparse measurement matrix.
[0032] The sparse sensor arrangement method embedded with physical information, wherein the method of solving the optimal sparse measurement matrix problem based on singular value decomposition to obtain the optimal sparse measurement matrix specifically includes:
[0033] Performing singular value decomposition on the transposed matrix of the adaptive basis matrix to obtain a left singular vector matrix;
[0034] The singular vector that is ranked first in the left singular vector matrix according to the order of singular values is used as the target singular vector, and the transposed matrix of the adaptive basis matrix is used as the target transposed matrix;
[0035] Projecting each column vector of the target transposed matrix onto the singular vectors in the left singular vector matrix to obtain a coefficient component set corresponding to each column vector;
[0036] Determine the closest column vector to the target singular vector according to the coefficient component set corresponding to each column vector, and remove the element closest to the column vector in the target transposed matrix to obtain an intermediate matrix;
[0037] According to the singular value sorting, the next singular vector after the target singular vector is used as the target singular vector, and the intermediate matrix is used as the target transposed matrix. The step of projecting each column vector of the target transposed matrix onto the singular vector in the left singular vector matrix is re-executed until the last singular vector is determined to obtain the optimal sparse measurement matrix.
[0038] A second aspect of the present application provides a sparse sensor arrangement device embedded with physical information, wherein the sparse sensor arrangement device embedded with physical information specifically includes:
[0039] An extraction module, used to obtain prior information of the target structure and extract an adaptive basis matrix of the prior information;
[0040] A solving module, used for constructing an optimal sparse measurement matrix problem through a compressed sensing method based on the adaptive basis matrix, and solving the optimal sparse measurement matrix problem to obtain the optimal sparse measurement matrix;
[0041] A determination module is used to determine a sensor arrangement strategy corresponding to the target structure based on the optimal sparse measurement matrix, so as to arrange sensors for the target structure according to the sensor arrangement strategy.
[0042] A third aspect of the present application provides a computer-readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in any of the sparse sensor arrangement methods for embedding physical information as described above.
[0043] A fourth aspect of the present application provides a terminal device, comprising: a processor and a memory;
[0044] The memory stores a computer-readable program executable by the processor;
[0045] When the processor executes the computer-readable program, the processor implements the steps in any of the above-mentioned sparse sensor arrangement methods for embedding physical information.
[0046] Beneficial effects: Compared with the prior art, the present application provides a method, device and equipment for arranging sparse sensors embedded with physical information. The method obtains prior information of the target structure and extracts an adaptive basis matrix of the prior information; constructs an optimal sparse measurement matrix problem through a compressed sensing method based on the adaptive basis matrix, and solves the optimal sparse measurement matrix problem to obtain an optimal sparse measurement matrix; determines the sensor arrangement strategy corresponding to the target structure based on the optimal sparse measurement matrix, and arranges sensors for the target structure according to the sensor arrangement strategy. The embodiment of the present application can determine the optimal sparse measurement matrix through a compressed sensing method, so that the data collected by each sensor has the greatest relevance for solving a specific problem, improves the accuracy of the sensor arrangement strategy, avoids information redundancy and resource waste, more efficiently utilizes limited sensor resources, and reduces the number of sensors required for monitoring the target structure, thereby reducing the total cost of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0048] Figure 1 A flowchart of a sparse sensor arrangement method for embedding physical information provided in an embodiment of the present application.
[0049] Figure 2 A technical roadmap for a sparse sensor arrangement method for embedding physical information provided in an embodiment of the present application.
[0050] Figure 3 A schematic diagram of the technical route flow of a sparse sensor arrangement method embedded with physical information provided in an embodiment of the present application.
[0051] Figure 4 Schematic diagram of SVD decomposition.
[0052] Figure 5 A solution framework for compressed sensing.
[0053] Figure 6 Schematic diagram of an example of reconstructing a one-dimensional signal using compressed sensing.
[0054] Figure 7 Schematic diagram of an example of compressed sensing to reconstruct a two-dimensional image.
[0055] Figure 8 Schematic diagram of determining the optimal sparse measurement matrix based on the SVD solution.
[0056] Fig. 9 A schematic diagram of the structure of a sparse sensor arrangement with embedded physical information provided in an embodiment of the present application.
[0057] Fig.10 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] The embodiments of the present application provide a sparse sensor arrangement method, device, equipment and storage medium for embedding physical information. In order to make the purpose, technical solution and effect of the present application clearer and more specific, the present application is further described in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application and are not used to limit the present application.
[0059] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.
[0060] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art to which this application belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with those in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as here.
[0061] It should be understood that the sequence numbers and sizes of the steps in this embodiment do not mean the order of execution. The execution order of each process is determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0062] The application content is further explained below through the description of embodiments in conjunction with the accompanying drawings.
[0063] An embodiment of the present application provides a sparse sensor arrangement method embedded with physical information, which can be applied to many fields such as fluid mechanics, control, aerospace, civil engineering, etc., and is used to arrange sensor systems for target structures in the above fields, or to optimize sensor systems that have been arranged in the target structure.
[0064] like Figure 1 , Figure 2 and Figure 3 As shown, the sparse sensor arrangement method for embedding physical information provided by the embodiment of the present application specifically includes:
[0065] Step S10: Acquire prior information of the target structure, and extract an adaptive basis matrix of the prior information.
[0066] Specifically, the target structure may be a structure where sensors are to be arranged, such as a bridge, a house, a large machine, etc. The prior information is the dynamic response data of the target structure, such as acceleration data, impact load data, etc. In addition, the prior information may include a plurality of known dynamic response data, and the plurality of known dynamic response data may cover different working conditions of the target structure, such as bearing different impact loads, having different degrees of loss, etc.
[0067] Prior information can be obtained through historical data of the target structure or through finite element simulation. In an embodiment of the present application, the prior information is obtained through a finite element model, that is, a finite element model of the structure will be established for the target structure, and the dynamic response data of the target structure will be collected using finite element software, and the collected dynamic response data will be used as prior information. For example, assuming that the target structure is a bridge, the dynamic response data of the bridge is acceleration data, and the acceleration data reflects the response of the bridge to external excitations such as traffic loads and environmental factors at various positions. Then, a finite element model of the bridge will be established first, and then the acceleration data of the bridge will be collected using finite element software to obtain prior information.
[0068] In addition, in order to ensure the data quality of the prior information, after the prior information is collected, the prior information can be preprocessed, wherein the preprocessing can include denoising, normalization, and outlier processing, etc. Denoising is used to remove background noise, normalization is used to make the data scale uniform, and outlier processing is used to eliminate abnormal points in the data.
[0069] The adaptive basis matrix is used to reflect the potential structure and internal changes of the prior information, which can be determined according to the information structure or sparsity characteristics of the prior information to improve the acquisition efficiency and reconstruction accuracy. Among them, the adaptive basis matrix can be a machine learning algorithm (for example, Autoencoder, PCA, etc.) to reduce the dimension of the prior information, retain only important information to extract the low-dimensional features of the prior information, and use the extracted low-dimensional features as the adaptive basis matrix. In other words, the adaptive basis matrix for extracting the prior information can specifically use a machine learning method to extract features from the prior information to obtain the adaptive basis matrix of the prior information. Among them, machine learning is based on a data-driven low-dimensional representation method to extract features and reduce the dimension of patterns and structures in the data, and project high-dimensional data into a low-dimensional space. Thereby effectively simplifying the data, reducing the computational complexity, improving the efficiency of data analysis, and revealing the inherent mechanism of the system.
[0070] In a specific implementation, kernel singular value decomposition (Kernel-SVD) is used to determine an adaptive basis matrix for prior information. Kernel singular value decomposition is a method of dimensionality reduction on high-dimensional data. The prior information is mapped to a higher-dimensional or infinite-dimensional feature space through the kernel trick, and then singular value decomposition SVD is performed in the feature space to achieve data dimensionality reduction and feature extraction, while retaining the nonlinear structure of the prior information. Based on this, the adaptive basis matrix for extracting the prior information specifically includes:
[0071] S11, mapping the prior information to a high-dimensional feature space through a plurality of kernel functions to obtain a plurality of high-dimensional feature matrices;
[0072] S12, performing singular value decomposition on the corresponding high-dimensional feature matrix through the kernel matrix of each kernel function to obtain a plurality of singular value matrices, wherein the singular value matrices each include singular vectors corresponding to a preset number of maximum singular values;
[0073] S13, concatenating a plurality of singular value matrices into a concatenated singular value matrix, and performing singular value decomposition on the concatenated singular value matrix to obtain an adaptive basis matrix of the prior information.
[0074] Specifically, the prior information may include several dynamic response data, each of which includes several features. Accordingly, the prior information may be represented as a data matrix , Indicates the amount of data for dynamic response data, Indicates the amount of data of the features included in the dynamic response data. Each of the kernel functions is pre-set and is used to map each dynamic response data in the prior information to a high-dimensional feature space to obtain a high-dimensional feature matrix corresponding to the prior information, and each kernel function may be different. It can be regarded as a nonlinear mapping The implicit representation of , Represents the dimension of the high-dimensional feature space. This application implicitly represents the nonlinear mapping by using a kernel function , which can avoid the "dimensionality curse" of calculation in high-dimensional feature space. In addition, the kernel function can be set according to actual needs, for example, using a Gaussian kernel.
[0075] Therefore, by presetting the kernel function and data matrix A high-dimensional feature matrix in a high-dimensional feature space can be obtained ,in, It can be expressed as:
[0076] ;
[0077] in, , represents the dimension of the high-dimensional feature space, Indicates the amount of dynamic response data.
[0078] The preset kernel matrix may be pre-set or determined based on a preset kernel function. In an embodiment of the present application, the preset kernel matrix is determined based on a preset kernel function and may be expressed as:
[0079] , ;
[0080] in, represents the preset kernel matrix, Represents the data matrix The Dynamic response data, Represents the data matrix The Dynamic response data.
[0081] In addition, it should be noted that since the adaptive basis matrix is about the dynamic response data The adaptive basis of the kernel function implies for 's mapping.
[0082] After obtaining the high-dimensional feature matrix, such as Figure 4 As shown, the preset kernel matrix can be used The eigenvalues and eigenvectors of the high-dimensional feature matrix Decomposed into the product of three matrices, including the left singular matrix , singular value matrix and the right singular matrix , Then, by sorting the singular values, the preset number of The largest singular values and corresponding singular vectors are used to obtain the singular value matrix, thereby achieving data dimensionality reduction and feature extraction.
[0083] Preset quantity The number of singular values to be retained can be selected based on the cumulative energy ratio of the singular values from a preset number of singular vectors that can be pre-set or obtained. ,in, The determination method can be:
[0084] ;
[0085] in, Indicates 1 to A positive integer in Indicates singular values, Indicates a preset percentage, for example, =95%, etc.
[0086] Correspondingly, the high-dimensional feature matrix It can be approximately expressed as ,Right now , , , for , , Before A matrix of singular vectors.
[0087] Furthermore, after obtaining several singular value matrices, the several singular value matrices can be concatenated into a concatenated singular value matrix, and then the concatenated singular value matrices are sequentially SVD-expanded, and the front of the left singular value matrix is selected. The column vector is the adaptive basis matrix, and the adaptive basis matrix is recorded as Of course, in practical applications, a preset percentage of variance can be selected from the preset number of singular vectors obtained as the number of singular values to be retained, and then the adaptive basis matrix is updated.
[0088] In addition, it should be noted that in other implementations, the plurality of kernel functions may include only one kernel function. Then, after the singular value matrix is determined based on the kernel function, the adaptive basis matrix may be determined based on the singular value matrix.
[0089] Step S20: constructing an optimal sparse measurement matrix problem based on the adaptive basis matrix through a compressed sensing method, and solving the optimal sparse measurement matrix problem to obtain the optimal sparse measurement matrix.
[0090] Specifically, the compressed sensing method is a method of reconstructing the original data using sparse signal sampling technology, which assumes that the signal can be represented as a sparse vector in a certain transform domain. The state vector In a general adaptive basis matrix (such as Fourier or Wavelet basis) may have a sparse representation:
[0091] (1);
[0092] in, is a sparse vector that expresses Depend on Which column vectors are in ?
[0093] The sparse measurement matrix is used to reconstruct the state vector , that is, the state vector The sparse measurement matrix Rebuilt:
[0094] (2);
[0095] in, Represents the state vector obtained from the complex dynamic system using sensor monitoring. Sparse measurement matrix It is determined according to the arranged sensor positions, that is, by determining the sparse measurement matrix The optimal placement of the sensor can be determined.
[0096] Further, if Figure 5 As shown, combining (1) and (2) yields:
[0097] (3);
[0098] in, The solution framework of compressed sensing can be seen Figure 1 .
[0099] when When , (3) is an underdetermined equation with infinite sets of solutions. However, since the signal collected by the sensor is assumed to be sparse, we can find the sparsest To satisfy:
[0100] (4);
[0101] So we can solve equation (3), where represent The key to the success of compressed sensing is that it theoretically proves that if the measurement matrix If certain constraints are met, then the The norm non-convex optimization problem can be relaxed to be expressed as norm convex optimization problem, thus greatly speeding up the problem solving process:
[0102] (5);
[0103] in, .
[0104] According to the theory of compressed sensing, in order to make the linear equations expressed by equation (3) use The norm is solved to obtain a sparse vector , thereby reconstructing the complete system state vector . The matrix satisfies the restricted isometry property (RIP):
[0105] (6);
[0106] in, To satisfy the above inequality for all sparse vectors The minimum value that holds true. When it is very small, the matrix In sparse vector The performance is close to isometry (near-3isometry), satisfying the RIP condition means that the sparse vector The geometry of the matrix Specifically, for all sparse vectors , the sparse measurement matrix The requirements to satisfy the RIP conditions are:
[0107] 1) Sparse measurement matrix With adaptive basis matrix This uncorrelation means that the sparse measurement matrix The row vector and adaptive basis matrix The columns are not related.
[0108] 2) Number of measurements is large enough, of the order of magnitude ,constant depending on and The degree of non-correlation, depending on The sparsity of .
[0109] The above two conditions ensure that the matrix For sparse vectors It acts as a nearly unitary transformation, preserving the relative distances between vectors, thus ensuring that it is almost always possible to use The signal is reconstructed using the norm convex optimization algorithm. Figure 6 An example of using compressed sensing to reconstruct a one-dimensional signal is shown in Figure 7 An example of using compressed sensing to reconstruct a two-dimensional image is shown.
[0110] In the embodiment of the present application, since the prior information is known, that is, the state vector of the nonlinear dynamic system corresponding to the target structure is known, and the adaptive basis matrix of the state vector is obtained, the sparse measurement matrix can be obtained by reversely solving the theoretical framework of compressed sensing. Therefore, the optimal sparse measurement matrix problem can be constructed based on the compressed sensing method, where the optimal sparse measurement matrix problem can be expressed as:
[0111] ;
[0112] , ;
[0113] in, represents the measurement state vector collected by the arranged sensors, represents the sparse measurement matrix, represents the adaptive basis matrix, represents the matrix product of the sparse measurement matrix and the adaptive basis matrix, Represents a sparse vector.
[0114] The optimal sparse measurement matrix is used to determine the optimal placement of sensors to minimize information redundancy, and to achieve high-quality signal reconstruction by utilizing the sparsity and structure of the signal in the adaptive basis matrix, thereby improving the efficiency of signal recovery. Figure 6 As shown in the figure, the optimal sparse measurement matrix solution problem is how to select The row vector of When selecting singular vectors, so is a rank Therefore, we can choose middle Linearly independent row vectors (corresponding to The key measurement values) are substituted into the optimal sparse measurement matrix problem to approximately obtain the state If you select The row vectors in , then the selected row vector groups must be linearly related, resulting in information redundancy. When the actual conditions allow the number of sensors to be deployed When the optimal sparse measurement matrix is determined The problem is equivalent to choosing middle Linearly independent row vectors.
[0115] Furthermore, when solving the optimal sparse measurement matrix, the adaptive basis matrix can be arbitrarily selected. Linearly independent row vectors are used as the optimal sparse measurement matrix. The optimal sparse measurement matrix can also be determined by partial principal element LU decomposition, or by singular value decomposition. The optimal sparse measurement matrix can also be determined according to the number of sensors allowed to be arranged under real conditions. In an embodiment of the present application, the solution to the optimal sparse measurement matrix is determined according to the number of sensors allowed to be arranged under real conditions. Specifically, the solution to the optimal sparse measurement matrix problem to obtain the optimal sparse measurement matrix specifically includes:
[0116] Acquiring the number of sensors to be arranged on the target structure;
[0117] When the number of sensors is equal to the number of rows of the adaptive basis matrix, the optimal sparse measurement matrix problem is solved by using a partial principal component decomposition method to obtain the optimal sparse measurement matrix;
[0118] When the number of sensors is less than the number of rows of the adaptive basis matrix, the optimal sparse measurement matrix problem is solved by using a singular value decomposition method to obtain the optimal sparse measurement matrix.
[0119] Specifically, the number of sensors used to be arranged on the target structure refers to the number of sensors allowed to be arranged on the target structure, that is, the number of sensors required to be arranged on the target structure. When the number of sensors is equal to the number of columns of the adaptive basis matrix, since the computational complexity of the partial principal component decomposition method is small, the partial principal component decomposition method can be used to solve the optimal sparse measurement matrix problem and obtain the optimal sparse measurement matrix. When the number of sensors is less than the number of columns of the adaptive basis matrix, since the optimal sparse measurement matrix solution problem is a problem of solving an under-equation, the accuracy of the singular value decomposition method can be improved, so the optimal sparse measurement matrix problem can be solved based on the singular value decomposition method to obtain the optimal sparse measurement matrix. Of course, in practical applications, when the number of sensors is equal to the number of columns of the adaptive basis matrix, the optimal sparse measurement matrix problem can also be solved based on the singular value decomposition method to obtain the optimal sparse measurement matrix.
[0120] In one implementation, the adopting of a partial pivot LU decomposition method to solve the optimal sparse measurement matrix problem to obtain the optimal sparse measurement matrix specifically includes:
[0121] H10, take the adaptive basis matrix as the current matrix and the first column as the current column;
[0122] H20, select a pivot for the current column, move the pivot to the target position of the current column through a row swap operation, and record the row swap operation to obtain a permutation matrix , where the pivot element is the element with the largest absolute value among the elements whose number of rows is greater than or equal to the number of columns;
[0123] H30, through the elimination operation, change the elements below the pivot of the current column after the move to 0 to obtain the eliminated matrix , and record the elimination operation to get the elimination matrix ;
[0124] H40, the matrix to be eliminated As the current matrix, take the second column as the current column, and re-execute steps H10-H30 to obtain the permutation matrix , the eliminated matrix And the elimination matrix , and so on, until the last column, to get the permutation matrix , the eliminated matrix And the elimination matrix ,in, Represents the number of columns of the adaptive basis matrix;
[0125] H50, based on the obtained elimination matrix To the elimination matrix Determine the lower triangular matrix , based on the eliminated matrix Determine the upper triangular matrix , and based on the obtained permutation matrix To the permutation matrix Determine the permutation matrix , where the upper triangular matrix and the lower triangular matrix The product is equal to the permutation matrix With adaptive basis matrix The product of
[0126] H60, select the permutation matrix The first preset number of rows of is used to obtain the optimal sparse measurement matrix.
[0127] Specifically, the partial pivot LU decomposition is used to split the adaptive basis matrix into an upper triangular matrix (UpperTriangular), a lower triangular matrix (Lower Triangular) and a transposed matrix (PermutationMatrix), so that The partial pivot LU decomposition includes the selection of pivots and row swapping operations. In each step, the element with the largest absolute value in the current column is selected as the pivot, ensuring that the selected pivot has sufficient numerical size to reduce the error caused by too small values during the calculation process. Finally, the matrix with potential numerical stability problems is effectively processed.
[0128] Furthermore, the pivot is the element with the largest absolute value among the elements in the current column that meets the preset condition. The preset condition is that the number of rows in which the element is located is greater than or the number of columns in which the element is located. In other words, the pivot is the element set The row swap operation is used to move the row where the pivot element is located to the target row, where the number of rows in the target row is equal to the number of columns in the current column. In other words, move the pivot element to The elimination operation is used to change all elements below the pivot in the current column to 0. As a result, in the eliminated matrix, the pivot is located at the target position with the same number of rows as the number of columns, and all elements below the target position in the current column are 0.
[0129] After obtaining the eliminated matrix After that, the matrix will be eliminated As the target matrix, take the second column as the current column, and re-execute steps H10-H30, and so on, until the last column to obtain the elimination matrix To the elimination matrix , the eliminated matrix To the eliminated matrix , and the permutation matrix To the permutation matrix Then we can determine the upper triangular matrix , lower triangular matrix and the permutation matrix , and satisfy the upper triangular matrix and the lower triangular matrix The product is equal to the permutation matrix With adaptive basis matrix Finally, take the transposed matrix The front The submatrix composed of rows is the optimal sparse measurement matrix.
[0130] In another implementation, the method of solving the optimal sparse measurement matrix problem based on singular value decomposition to obtain the optimal sparse measurement matrix specifically includes:
[0131] Performing singular value decomposition on the transposed matrix of the adaptive basis matrix to obtain a left singular vector matrix;
[0132] The singular vector that is ranked first in the left singular vector matrix according to the order of singular values is used as the target singular vector, and the transposed matrix of the adaptive basis matrix is used as the target transposed matrix;
[0133] Projecting each column vector of the target transposed matrix onto the singular vectors in the left singular vector matrix to obtain a coefficient component set corresponding to each column vector;
[0134] Determine the closest column vector to the target singular vector according to the coefficient component set corresponding to each column vector, and remove the element closest to the column vector in the target transposed matrix to obtain an intermediate matrix;
[0135] According to the singular value sorting, the next singular vector after the target singular vector is used as the target singular vector, and the intermediate matrix is used as the target transposed matrix. The step of projecting each column vector of the target transposed matrix onto the singular vector in the left singular vector matrix is re-executed until the last singular vector is determined to obtain the optimal sparse measurement matrix.
[0136] Specifically, performing singular value decomposition on the transposed matrix of the adaptive basis matrix refers to performing singular value decomposition on the transposed matrix of the adaptive basis matrix. Perform SVD to expand the left singular vector matrix, where the left singular vector matrix constitutes Column vector ( row vectors).
[0137] Further, in Before projecting the column vectors of to the singular vectors in the left singular vector matrix, The column vector of The norm is normalized and then projected to the singular vectors in the left singular vector matrix. Thus, the projection can be expressed as:
[0138] ;
[0139] in, express No. Column vector, represents the left singular vector matrix singular vectors sorted by singular values, represents the coefficient component, .
[0140] thus, The coefficient components of , then select The coefficient component with the largest absolute value in , and based on the selected coefficient component with the largest absolute value, Select from The closest column vector, where Select from The closest column vector can be , , corresponding to The A row vector.
[0141] Further, after selecting the closest column vector Then, the Gram-Schmidt method was used to remove The row vectors in Then repeat the above process to get The closest column vector can be , and so on, we get The closest column vector can be , to get , , ..., Corresponding , ..., , then , , ..., The constructed matrix is used as the optimal sparse measurement matrix.
[0142] For example: Taking two-dimensional data as an example, , Corresponds to Figure 8 The above method is to find the closest vector in the data. , The data vector in the direction. The position of the row vector in corresponds to the optimal sparse measurement matrix The Gram-Schmidt method ensures that the selected The row vectors in are linearly independent to improve the robustness of monitoring data and the efficiency of information acquisition.
[0143] Step S30: determining a sensor arrangement strategy corresponding to the target structure based on the optimal sparse measurement matrix, and arranging sensors for the target structure according to the sensor arrangement strategy.
[0144] Specifically, after obtaining the optimal sparse measurement matrix, each row vector pair in the optimal sparse measurement matrix can be used as the sensor signal to be collected, and then the high-dimensional signal of the target structure can be restored based on the low-dimensional sensor signals collected by all sensors, and then the target structure can be monitored and predicted based on the high-dimensional information. Therefore, after obtaining the final sparse measurement matrix, the layout position of the sensor on the target structure can be determined according to the sparse measurement matrix, and then the sensor layout strategy corresponding to the target structure can be obtained. Then, in the actual layout process, the sensor can be arranged for the target structure according to the sensor layout strategy.
[0145] In summary, the present embodiment provides a sparse sensor arrangement method embedded with physical information, the method obtains prior information of the target structure and extracts an adaptive basis matrix of the prior information; constructs an optimal sparse measurement matrix problem based on the adaptive basis matrix through a compressed sensing method, and solves the optimal sparse measurement matrix problem to obtain the optimal sparse measurement matrix; determines the sensor arrangement strategy corresponding to the target structure based on the optimal sparse measurement matrix, and arranges sensors for the target structure according to the sensor arrangement strategy. The embodiment of the present application can determine the optimal sparse measurement matrix through a compressed sensing method, so that the data collected by each sensor has the greatest relevance for solving a specific problem, improves the accuracy of the sensor arrangement strategy, avoids information redundancy and resource waste, more efficiently utilizes limited sensor resources, and reduces the number of sensors required for target structure monitoring, thereby reducing the total cost of the system.
[0146] In order to further illustrate the sparse sensor arrangement method embedded with physical information provided in the embodiment of the present application, an example of optimizing the arrangement positions of acceleration monitoring sensors arranged on a bridge is given below.
[0147] Firstly, the dynamic response of the bridge under external factors such as normal traffic loads, wind loads, and temperature changes was simulated by the finite element method (FEM) to obtain the dynamic response data including strain and acceleration of the model calculation results, and all the dynamic response data obtained by simulation were used as prior information.
[0148] Secondly, the prior information is denoised to remove background noise, normalized to unify the data scale, and outlier processed to eliminate abnormal points in the data.
[0149] Again, kernel singular value decomposition (Kernel-SVD) is applied, and Gaussian kernel is selected as the kernel function to map the prior information from the original space to a high-dimensional feature space, and SVD is performed in the high-dimensional space to reveal the nonlinear characteristics and potential low-rank structures in the data to obtain an adaptive basis matrix, where the adaptive basis matrix retains the first few singular values of the main variations of the prior information and their corresponding singular vectors, forming a low-dimensional representation of the prior information.
[0150] Finally, by using the adaptive basis matrix obtained from the kernel singular value decomposition (Kernel-SVD), the optimal sparse measurement matrix is determined by using the method based on SVD decomposition or partial principal element LU decomposition. When determining the optimal sparse measurement matrix, the row vectors in the adaptive basis matrix are analyzed to select the position with the maximum projection weight in the adaptive basis matrix to arrange the sensor, which can ensure that the deployed sensors can capture the most important information in the bridge response to the greatest extent, thereby improving the efficiency and accuracy of the monitoring system. At the same time, fewer sensors can be used to capture the key dynamic response of the bridge.
[0151] In addition, after obtaining the key dynamic response, the bridge information can be reconstructed based on the key dynamic response, so that the complete state scenario of the bridge can be effectively restored, and the structural health of the bridge can be accurately evaluated, and potential damage or problem areas can be identified in a timely manner. This not only significantly improves the efficiency and accuracy of the monitoring system, but also greatly reduces operating costs by utilizing data-driven methods and theory-guided strategies, thereby optimizing the efficiency of resource use while ensuring bridge safety.
[0152] Based on the above-mentioned sparse sensor arrangement method embedded with physical information, the embodiment of the present application also provides a sparse sensor arrangement device embedded with physical information, such as Fig. 9 As shown, the sparse sensor arrangement device embedded with physical information specifically includes:
[0153] An extraction module 100 is used to obtain prior information of a target structure and extract an adaptive basis matrix of the prior information;
[0154] A solving module 200, configured to construct an optimal sparse measurement matrix problem based on the adaptive basis matrix by a compressed sensing method, and solve the optimal sparse measurement matrix problem to obtain the optimal sparse measurement matrix;
[0155] The determination module 300 is used to determine the sensor arrangement strategy corresponding to the target structure based on the optimal sparse measurement matrix, so as to arrange sensors for the target structure according to the sensor arrangement strategy.
[0156] Based on the above-mentioned sparse sensor arrangement method embedded with physical information, this embodiment provides a computer-readable storage medium, which stores one or more programs. The one or more programs can be executed by one or more processors to implement the steps in the sparse sensor arrangement method embedded with physical information as described in the above-mentioned embodiment.
[0157] Based on the above sparse sensor arrangement method embedded with physical information, the present application also provides a terminal device, such as Fig.10As shown, it includes at least one processor 20; a display screen 21; and a memory 22, and may also include a communications interface 23 and a bus 24. The processor 20, the display screen 21, the memory 22, and the communications interface 23 may communicate with each other through the bus 24. The display screen 21 is configured to display a preset user guide interface in the initial setting mode. The communications interface 23 may transmit information. The processor 20 may call the logic instructions in the memory 22 to execute the method in the above embodiment.
[0158] In addition, the logic instructions in the memory 22 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
[0159] The memory 22 is a computer-readable storage medium that can be configured to store software programs, computer executable programs, such as program instructions or modules corresponding to the methods in the embodiments of the present disclosure. The processor 20 executes functional applications and data processing by running the software programs, instructions or modules stored in the memory 22, that is, implementing the methods in the above embodiments.
[0160] The memory 22 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 22 may include a high-speed random access memory and may also include a non-volatile memory. For example, a variety of media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, may also be a transient storage medium.
[0161] In addition, the specific process of loading and executing the multiple instruction processors in the above-mentioned storage medium and the terminal device has been described in detail in the above-mentioned method, and will not be described one by one here.
[0162] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A sparse sensor arrangement method for embedding physical information, characterized in that: The sparse sensor arrangement method embedded with physical information specifically includes: Acquire prior information of the target structure, map the prior information to a high-dimensional feature space through a plurality of kernel functions, and obtain a plurality of high-dimensional feature matrices; perform singular value decomposition on the high-dimensional feature matrices corresponding to each other through the kernel matrices of each kernel function, and obtain a plurality of singular value matrices; splice the plurality of singular value matrices into a spliced singular value matrix, and perform singular value decomposition on the spliced singular value matrix to obtain an adaptive basis matrix of the prior information, wherein the singular value matrices include singular vectors corresponding to a preset number of maximum singular values; Based on the adaptive basis matrix, an optimal sparse measurement matrix problem is constructed by a compressed sensing method, and the optimal sparse measurement matrix problem is solved to obtain the optimal sparse measurement matrix; Determining a sensor arrangement strategy corresponding to the target structure based on the optimal sparse measurement matrix, and arranging sensors for the target structure according to the sensor arrangement strategy; Among them, the optimal sparse measurement matrix problem is: ; , ; in, represents the measurement state vector collected by the arranged sensors, represents the sparse measurement matrix, represents the adaptive basis matrix, represents the matrix product of the sparse measurement matrix and the adaptive basis matrix, represents a sparse vector; The solving the optimal sparse measurement matrix problem to obtain the optimal sparse measurement matrix specifically includes: Acquiring the number of sensors to be arranged on the target structure; When the number of sensors is equal to the number of rows of the adaptive basis matrix, the optimal sparse measurement matrix problem is solved by using a partial principal component decomposition method to obtain the optimal sparse measurement matrix; When the number of sensors is less than the number of rows of the adaptive basis matrix, the optimal sparse measurement matrix problem is solved by using a singular value decomposition method to obtain the optimal sparse measurement matrix.
2. The sparse sensor arrangement method for embedding physical information according to claim 1, characterized in that: The adopting of a partial principal component decomposition method to solve the optimal sparse measurement matrix problem to obtain the optimal sparse measurement matrix specifically includes: H10, take the adaptive basis matrix as the current matrix and the first column as the current column; H20, select a pivot for the current column, move the pivot to the target position of the current column through a row swap operation, and record the row swap operation to obtain a permutation matrix , where the pivot element is the element with the largest absolute value among the elements whose number of rows is greater than or equal to the number of columns; H30, through the elimination operation, change the elements below the pivot of the current column after the move to 0 to obtain the eliminated matrix , and record the elimination operation to get the elimination matrix ; H40, the matrix to be eliminated As the current matrix, take the second column as the current column, and re-execute steps H10-H30 to obtain the permutation matrix , the eliminated matrix And the elimination matrix , and so on, until the last column, to get the permutation matrix , the eliminated matrix And the elimination matrix ,in, Represents the number of columns of the adaptive basis matrix; H50, based on the obtained elimination matrix To the elimination matrix Determine the lower triangular matrix , based on the eliminated matrix Determine the upper triangular matrix , and based on the obtained permutation matrix To the permutation matrix Determine the permutation matrix , where the upper triangular matrix and the lower triangular matrix The product is equal to the permutation matrix With adaptive basis matrix The product of H60, select the permutation matrix The first preset number of rows of is used to obtain the optimal sparse measurement matrix.
3. The sparse sensor arrangement method for embedding physical information according to claim 1, characterized in that: The method of solving the optimal sparse measurement matrix problem based on singular value decomposition to obtain the optimal sparse measurement matrix specifically includes: Performing singular value decomposition on the transposed matrix of the adaptive basis matrix to obtain a left singular vector matrix; The singular vector that is ranked first in the left singular vector matrix according to the order of singular values is used as the target singular vector, and the transposed matrix of the adaptive basis matrix is used as the target transposed matrix; Projecting each column vector of the target transposed matrix onto the singular vectors in the left singular vector matrix to obtain a coefficient component set corresponding to each column vector; Determine the closest column vector to the target singular vector according to the coefficient component set corresponding to each column vector, and remove the element closest to the column vector in the target transposed matrix to obtain an intermediate matrix; According to the singular value sorting, the next singular vector after the target singular vector is used as the target singular vector, and the intermediate matrix is used as the target transposed matrix. The step of projecting each column vector of the target transposed matrix onto the singular vector in the left singular vector matrix is re-executed until the last singular vector is determined to obtain the optimal sparse measurement matrix.
4. A sparse sensor arrangement device embedded with physical information, characterized in that: The sparse sensor arrangement device embedded with physical information specifically comprises: An extraction module is used to obtain prior information of the target structure, and map the prior information to a high-dimensional feature space through a number of kernel functions to obtain a number of high-dimensional feature matrices; singular value decomposition is performed on the high-dimensional feature matrices corresponding to each other through the kernel matrices of each kernel function to obtain a number of singular value matrices, the several singular value matrices are spliced into a spliced singular value matrix, and singular value decomposition is performed on the spliced singular value matrix to obtain an adaptive basis matrix of the prior information, wherein the singular value matrices all include singular vectors corresponding to a preset number of maximum singular values; A solving module, used for constructing an optimal sparse measurement matrix problem through a compressed sensing method based on the adaptive basis matrix, and solving the optimal sparse measurement matrix problem to obtain the optimal sparse measurement matrix; A determination module, configured to determine a sensor placement strategy corresponding to the target structure based on the optimal sparse measurement matrix, so as to place sensors for the target structure according to the sensor placement strategy; Among them, the optimal sparse measurement matrix problem is: ; , ; in, represents the measurement state vector collected by the arranged sensors, represents the sparse measurement matrix, represents the adaptive basis matrix, represents the matrix product of the sparse measurement matrix and the adaptive basis matrix, represents a sparse vector; The solving the optimal sparse measurement matrix problem to obtain the optimal sparse measurement matrix specifically includes: Acquiring the number of sensors to be arranged on the target structure; When the number of sensors is equal to the number of rows of the adaptive basis matrix, the optimal sparse measurement matrix problem is solved by using a partial principal component decomposition method to obtain the optimal sparse measurement matrix; When the number of sensors is less than the number of rows of the adaptive basis matrix, the optimal sparse measurement matrix problem is solved by using a singular value decomposition method to obtain the optimal sparse measurement matrix.
5. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps in the sparse sensor arrangement method for embedding physical information as described in any one of claims 1 to 3.
6. A terminal device, characterized in that: include: Processor and memory; The memory stores a computer-readable program executable by the processor; When the processor executes the computer-readable program, the processor implements the steps of the sparse sensor arrangement method for embedding physical information according to any one of claims 1 to 3.
Citation Information
Patent Citations
Underdetermined working mode analysis method based on compressed sampling and dictionary sparse decomposition
CN114565003A
Multi-target structure safety monitoring sensor arrangement method and device and storage medium
CN115859796A
Power equipment optical fiber temperature sensor optimal arrangement method based on temperature field analysis
CN116341180A
Method, device and equipment for reconstructing temperature field through compressed sensing and medium
CN117056712A
Turbine rotor tip area pressure field data reconstruction method based on compressed sensing
CN117973174A
