A three-dimensional multi-frequency controlled source electromagnetic inversion method and system based on rational Krylov subspace
By introducing the model reduction algorithm and frequency segmentation strategy of rational Krylov subspace into the three-dimensional inversion, the problem of slow calculation speed of the three-dimensional inversion is solved, and efficient multi-frequency controllable source electromagnetic inversion is realized, saving computing memory and Improve computing efficiency.
Patent Information
- Application Number
- CN202210162406.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-22
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-02-22
AI Technical Summary
The calculation speed of three-dimensional inversion is slow in mineral exploration and oil and gas exploration, mainly because the frequency domain controlled source electromagnetic problem requires a lot of calculations and efficient solution of large-scale equations. The existing technology relies on hardware performance, resulting in low computational efficiency.
A model reduction algorithm based on rational Krylov subspace is used to construct a Krylov subspace shared by multiple frequencies and a Krylov subspace for each frequency. The computational efficiency is improved through approximate solution and projection matrix dimensionality reduction, and frequency division is used in broadband situations. Segment strategy and MPI technology accelerate calculations.
It greatly saves computing memory, improves computing efficiency, realizes fast three-dimensional multi-frequency controllable source electromagnetic forward modeling and accompanying forward modeling, reduces memory consumption, and significantly improves the speed of the inversion interpretation process.
Smart Images

Figure CN114547938B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of exploration geophysics, and in particular relates to a three-dimensional multi-frequency controllable source electromagnetic inversion method based on rational Krylov subspace and a system thereof. Background Art
[0002] In recent years, frequency domain controlled source electromagnetic method has been widely used in mineral exploration, groundwater and oil and gas exploration. Among them, the interpretation of field data mostly relies on one-dimensional inversion, which inevitably causes serious deviations. The three-dimensional inversion interpretation mainly depends on the calculation accuracy and speed of three-dimensional forward modeling and accompanying forward modeling.
[0003] Among them, the basis of three-dimensional inversion is three-dimensional forward modeling. Due to the complexity of three-dimensional geological bodies, the partial differential equations of three-dimensional forward modeling cannot be solved analytically, so only numerical methods such as the finite element method can be used to obtain numerical solutions to three-dimensional forward modeling problems. Therefore, the use of the finite element method allows the air and the earth to be divided into smaller grid units, and the resistivity or conductivity of these grid units is the model parameter of the inversion. For frequency-domain controlled source electromagnetic problems, a large set of linear equations will be formed after finite element discretization. The number of frequencies determines the number of times the equations are solved. How to efficiently solve these large-scale equations is the main factor limiting the three-dimensional inversion of controlled sources. Since the large-scale equations between each frequency point are independent, most three-dimensional inversions use frequency-based MPI parallelism. This acceleration strategy is heavily dependent on the hardware level of the computer. As the number of frequency points increases, the number of CPUs and the size of the memory limit the calculation speed of three-dimensional inversion.
[0004] Therefore, the present invention is devoted to realizing the fast inversion of multi-frequency CSEM from the forward modeling problem of fast computing multi-frequency CSEM and the adjoint forward modeling problem. Summary of the invention
[0005] The purpose of the present invention is to provide a three-dimensional multi-frequency controlled source electromagnetic inversion method and system based on rational Krylov subspace to solve the problem of large amount of computing memory required for three-dimensional inversion and computing speed of three-dimensional inversion interpretation. The method of the present invention optimizes the computing efficiency from two perspectives of three-dimensional multi-frequency controlled source electromagnetic forward modeling and three-dimensional multi-frequency controlled source electromagnetic adjoint forward modeling, introduces the model reduction algorithm based on rational Krylov subspace, introduces the approximate solution of the controlled source forward equation and the solution of the multi-frequency adjoint forward equation, improves the computing efficiency of the inversion interpretation process as a whole, and greatly saves computing memory.
[0006] On the one hand, the present invention provides a three-dimensional multi-frequency controllable source electromagnetic inversion method based on rational Krylov subspace, comprising the following steps:
[0007] Constructing a multi-frequency shared Krylov subspace for a three-dimensional multi-frequency controlled source electromagnetic forward modeling problem; wherein, based on the multi-frequency shared Krylov subspace, a forward modeling result of the three-dimensional multi-frequency controlled source electromagnetic forward modeling problem is obtained;
[0008] Construct the Krylov subspace of each frequency in the three-dimensional multi-frequency controlled source electromagnetic adjoint forward modeling problem; wherein, the Krylov subspace based on each frequency is used to obtain the adjoint forward modeling result of each frequency;
[0009] The inversion objective function and its gradient are constructed based on the forward modeling results corresponding to the inversion area, the accompanying forward modeling results and the observation data, and the gradient algorithm is applied to obtain the inversion results of the measurement area.
[0010] The method of the present invention takes into account the computational efficiency problem of the prior art, introduces a model reduction algorithm based on a rational Krylov subspace into the approximate solution of the controllable source forward equation, so as to construct a Krylov subspace shared by multiple frequencies, and then project a large sparse coefficient matrix onto the subspace to obtain a projection matrix of smaller dimensions. Then, some general direct solvers are used to quickly solve the inverse problem of the projection matrix, and this process does not depend on the number of frequencies. Once the Krylov subspace is constructed, the approximate solution of the forward equation of multiple frequencies can be quickly obtained, which can greatly save computing memory and improve computational efficiency.
[0011] On the other hand, considering that in the inversion process, the adjoint forward method is often used to obtain the gradient, the process is similar to the forward process, but its right-hand side term is independent of the frequency. When solving the multi-frequency adjoint forward problem, since the right-hand side terms of different frequencies are linearly independent, the same subspace cannot be constructed for multi-frequency calculation, and thus the present invention constructs a Krylov subspace for each frequency.
[0012] It should be understood that, since the adjoint forward modeling subspaces of each frequency in the present invention are independent of each other, it is preferred to use OpenMP to construct the adjoint forward modeling subspaces of multiple frequencies in parallel.
[0013] Further optionally, when constructing the multi-frequency shared Krylov subspace, if the broadband exceeds a preset threshold, a frequency segmentation strategy is adopted to segment the calculation frequency, and each frequency segment constructs the multi-frequency shared Krylov subspace with a single optimized repeated pole.
[0014] The present invention takes into account the problem of broadband calculation, that is, when the calculation frequency range is large, a larger subspace is required to ensure that the solutions of the equations of all frequencies meet the error requirements, which is not conducive to the construction of the subspace. To this end, the present invention uses a frequency segmentation strategy to segment the calculation frequency, and preferentially uses MPI technology combined with the rational Lanczos algorithm to construct the subspace of each frequency band in parallel.
[0015] It should be understood that the range of the preset threshold is an empirical value, which is determined based on demand and computing efficiency. The number of frequency bands into which the broadband is divided is also determined based on demand and computing efficiency, and the present invention does not make specific limitations on this.
[0016] Further optionally, the single optimized repeated pole in the multi-frequency shared Krylov subspace corresponding to each frequency band is the optimal real pole, which is expressed as:
[0017]
[0018] In the formula, ξ j ,ξ0 is the jth pole and the 0th pole;ω min and ω max They are the minimum and maximum frequency values in a frequency band respectively.
[0019] The present invention has been found that, according to the above-mentioned values, the minimum value of the convergence function within the entire frequency band can be maximized, that is, the optimal convergence rate is achieved.
[0020] Further optionally, if the forward modeling result is the electric field intensity, the process of obtaining the forward modeling result of the three-dimensional multi-frequency controlled source electromagnetic forward modeling problem based on the multi-frequency shared Krylov subspace is: constructing a rational Lanczos approximation of the electric field intensity using the Krylov subspace, and finally solving the electric field intensity based on the rational Lanczos approximation, and the rational Lanczos approximation is expressed as:
[0021] E≈||X|| M V m+1 g ω (A m+1 )e1
[0022] In the formula, T is the matrix transpose symbol, E is the electric field strength, X = M -1 b, M is the mass matrix, b is the source term on the right side of the finite element linear equations of the controlled source electromagnetics, V m+1 =[v1,..,v m+1 ] represents a set of orthogonal basis vectors of the Krylov subspace, v1, v m+1 is the orthogonal basis vector V m+1 The first and m+1th orthogonal basis in , m is the dimension of the subspace, g ω (A m+1 ) is the transfer function, A m+1 A uses an orthogonal basis V m+1 The orthogonal projection matrix on the Krylov subspace is: A=M -1C, C is the curl matrix.
[0023] Further optionally, the three-dimensional multi-frequency controllable source electromagnetic adjoint forward modeling problem is expressed as:
[0024] (C+iωM)x=L T r
[0025] Where C is the curl matrix, M is the mass matrix, L is the interpolation operator, T is the matrix transposition symbol, ω is the frequency, i is the imaginary unit, x is the target quantity to be solved along with the forward problem, and r represents the residual vector between the predicted data and the observed data;
[0026] Among them, the Krylov subspace based on each frequency is used to obtain the adjoint forward modeling result of each frequency: the adjoint forward modeling linear equation group of each frequency is projected onto the corresponding Krylov subspace to obtain the final solution of the target quantity.
[0027] Further optionally, the process of obtaining the final solution of the target quantity is to obtain the final solution by adopting a multiple projection correction method, specifically:
[0028] Project the adjoint forward linear equations of each frequency onto the corresponding Krylov subspace to obtain the initial solution x0 of the target quantity as well as the relative residual and residual vector r;
[0029] Then determine whether the relative residual meets the error requirements. If it does not meet the error requirements, replace the right-hand term L with the obtained residual vector T r, continue to construct the Krylov subspace to solve and obtain the new solution x1, and correct the solution of the target quantity x=x0+x1, and then update the residual r1 and the relative residual, and repeat the above process until the error requirements are met.
[0030] Further optionally, the objective function and the gradient of the objective function are expressed as:
[0031]
[0032]
[0033] in, is the objective function, is the gradient of the objective function, is the data fitting term, is the model fitting term, the gradient of the data fitting term It is expressed as:
[0034]
[0035] Where m is the inversion model parameter, r = DD (d obs -d pre )* , represents the residual between the predicted data and the observed data; is the sensitivity matrix, d obs is the observed data, d pre To predict data, the relationship between the sensitivity matrix and the accompanying forward modeling results is:
[0036] J T r=G T x
[0037] Among them, x is the target quantity to be solved along with the forward problem, and the parameter G satisfies: M is the mass matrix, C is the curl matrix, E is the electric field intensity, ω is the frequency, and i is the imaginary unit.
[0038] In a second aspect, the present invention provides a system based on the three-dimensional multi-frequency controllable source electromagnetic inversion method, comprising:
[0039] Krylov subspace construction module for forward modeling problems, used to construct multi-frequency shared Krylov subspaces for three-dimensional multi-frequency controlled source electromagnetic forward modeling problems;
[0040] A forward modeling module, used for obtaining a forward modeling result of a three-dimensional multi-frequency controlled source electromagnetic forward modeling problem based on the multi-frequency common Krylov subspace;
[0041] The Krylov subspace construction module for adjoint forward modeling problems is used to construct the Krylov subspace of each frequency in the three-dimensional multi-frequency controlled source electromagnetic adjoint forward modeling problem;
[0042] An adjoint forward modeling module is used to obtain the adjoint forward modeling results of each frequency based on the Krylov subspace of each frequency;
[0043] The inversion module is used to construct the inversion objective function and its gradient based on the forward modeling results corresponding to the inversion area, the accompanying forward modeling results and the observation data, and apply the gradient algorithm to obtain the inversion results of the measurement area.
[0044] In a third aspect, the present invention provides an electronic terminal, which at least comprises:
[0045] one or more processors;
[0046] A memory storing one or more computer programs, wherein the processor calls the computer programs to implement:
[0047] A three-dimensional multi-frequency controlled source electromagnetic inversion method based on rational Krylov subspace.
[0048] In a fourth aspect, the present invention provides a readable storage medium storing a computer program, wherein the computer program is called by a processor to implement:
[0049] A three-dimensional multi-frequency controlled source electromagnetic inversion method based on rational Krylov subspace.
[0050] Beneficial Effects
[0051] 1. A three-dimensional multi-frequency controlled source electromagnetic inversion method based on rational Krylov subspace provided by the present invention optimizes the computational efficiency from two perspectives: three-dimensional multi-frequency controlled source electromagnetic forward modeling and three-dimensional multi-frequency controlled source electromagnetic adjoint forward modeling. The model reduction algorithm based on rational Krylov subspace is introduced into the approximate solution of the controlled source forward equation to construct a Krylov subspace shared by multiple frequencies, and then project a large sparse coefficient matrix onto the subspace to obtain a projection matrix of smaller dimensions. Then, some general direct solvers are used to quickly obtain the inverse problem of the projection matrix. This process does not depend on the number of frequencies. Once the Krylov subspace is constructed, the approximate solution of the forward equation of multiple frequencies can be quickly obtained, which can greatly save computing memory and improve computational efficiency. On the other hand, when solving the multi-frequency adjoint forward modeling problem, since the right-hand terms of different frequencies are linearly independent, the same subspace can no longer be constructed to perform multi-frequency calculations. Therefore, the present invention constructs a Krylov subspace for each frequency, so that the above-mentioned model reduction algorithm based on rational Krylov subspace can be successfully introduced into the adjoint forward interpretation process, thereby improving the computational efficiency of the inversion interpretation process as a whole and greatly saving computing memory.
[0052] 2. In a further preferred embodiment of the present invention, considering the problem of broadband calculation, that is, when the calculation frequency range is large, a larger subspace is required to ensure that the solutions of the equations of all frequencies meet the error requirements, which is not conducive to the construction of the subspace. To this end, the present invention uses a frequency segmentation strategy to segment the calculation frequency, and preferentially uses MPI technology combined with the rational Lanczos algorithm to construct the subspace of each frequency band in parallel.
[0053] 3. In a further preferred embodiment of the present invention, for each frequency band, the selection of a single pole transforms the original complex matrix into a real matrix, and only one matrix decomposition is required to quickly construct an orthogonal basis of the Krylov subspace of a frequency band, which greatly saves computing memory.
[0054] 4. In a further preferred embodiment of the present invention, a multiple projection correction algorithm is proposed for the calculation of multi-frequency adjoint forward modeling problems, which further ensures the calculation accuracy on the basis of quickly solving the adjoint forward modeling results of multiple frequencies.
[0055] In summary, the method of the present invention can quickly realize three-dimensional forward modeling and adjoint forward modeling calculation of multi-frequency controlled source electromagnetics under the premise of low memory consumption, and then quickly realize the rapid inversion of multi-frequency controlled source electromagnetics. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 It is a schematic diagram of the change of the convergence rate function with the frequency range. Among them, as the frequency range increases, the convergence rate of the frequency far away from the pole is close to linear convergence, which is not conducive to the construction of the subspace. Therefore, the use of frequency segmentation strategy can improve the convergence rate of each frequency segment.
[0057] Figure 2 The inversion theoretical model. The size of the anomaly is 1km×1km×0.5km, and the resistivity is 10Ωm. It is embedded in a uniform half-space of 100Ωm, and the center depth coordinates are (0km, 5km, 0.55km). The length of the field source is 100m, placed along the x-axis, and the center of the field source is placed at the origin of the coordinates. The frequency range is [1,8192]Hz, with a total of 30.
[0058] Figure 3 Schematic diagram of the inverted rms decline curve.
[0059] The outer boundary of the entire forward modeling area extends to ±50km along the x, y, and z directions, with 178,176 grid cells and 553,834 edges. There are 441 measurement points in total, and 3% Gaussian noise is added to the forward modeling data as observation data for inversion. The initial model for inversion is set to a uniform half-space of 100Ωm. Figure 3 The rms decrease of the inversion is given. A total of 29 NLCG iterations were performed, the termination fitting error was 1.04, the total time consumption was only 1.9 hours, and the maximum memory consumption was 25.7G. A total of 2610 sub-forward modelings were performed in the whole process, and the average sub-forward modeling took only 3.3 seconds, while the traditional method took 25 seconds per sub-forward modeling and occupied 8.5G of memory. If conventional multi-frequency parallel solution is used, the memory usage will be greatly increased. It can be seen that the speed-up effect of the method of the present invention is very obvious.
[0060] Figure 4 The inversion result is a simple slice and three-dimensional display of the inversion result. Figure 4 (a) is the vertical slice at y = 5000m, Figure 4 (b) is the vertical slice at x = 0m, Figure 4 (c) is a horizontal slice at z = 500 m. Figure 4 (d) is the three-dimensional result distribution of less than 50Ωm. The inversion results show that the method provided by the present invention can obtain a good inversion effect, and the inversion results are consistent with the real abnormal body.
[0061] Figure 5 It is a flow chart of a three-dimensional multi-frequency controllable source electromagnetic inversion method based on rational Krylov subspace provided by the present invention. DETAILED DESCRIPTION
[0062] The present invention provides a three-dimensional multi-frequency controlled source electromagnetic inversion method based on rational Krylov subspace, which is applied to the fields of mineral exploration, groundwater and oil and gas exploration. The inversion process is to establish an objective function about underground conductivity parameters and observation data, and then deduce the conductivity parameters of the underground medium. In order to improve the efficiency of inversion calculation and reduce the memory operation requirements, the present invention introduces a model reduction algorithm based on rational Krylov subspace into the approximate solution of the controlled source forward equation and the solution of the multi-frequency adjoint forward equation. The present invention will be further described below in conjunction with the embodiments.
[0063] Embodiment 1:
[0064] This embodiment provides a three-dimensional multi-frequency controllable source electromagnetic inversion method based on rational Krylov subspace, comprising the following steps:
[0065] Constructing a multi-frequency shared Krylov subspace for a three-dimensional multi-frequency controlled source electromagnetic forward modeling problem; wherein, based on the multi-frequency shared Krylov subspace, a forward modeling result of the three-dimensional multi-frequency controlled source electromagnetic forward modeling problem is obtained;
[0066] Construct the Krylov subspace of each frequency in the three-dimensional multi-frequency controlled source electromagnetic adjoint forward modeling problem; wherein, the Krylov subspace based on each frequency is used to obtain the adjoint forward modeling result of each frequency;
[0067] The inversion objective function and its gradient are constructed based on the forward modeling results corresponding to the inversion area, the accompanying forward modeling results and the observation data, and the gradient algorithm is applied to obtain the inversion results of the measurement area.
[0068] About the three-dimensional multi-frequency controlled source electromagnetic forward modeling problem:
[0069] This embodiment uses a hexahedral grid for spatial discretization, and then obtains a finite element linear equation system for the three-dimensional controlled source electromagnetic forward modeling problem:
[0070] (C+iωM)E=-iωb (1)
[0071] Among them, b is the source term on the right side, M is the mass matrix, C is the curl matrix, E is the electric field intensity to be determined in the forward problem, i is the imaginary unit, and ω is the angular frequency.
[0072] In this embodiment, the frequency segmentation strategy is used to segment the calculation frequency for broadband calculation problems, and the MPI technology is combined with the rational Lanczos algorithm to construct the subspace of each frequency band in parallel. In this embodiment, when the calculation frequency involved exceeds 3 to 4 orders of magnitude, the frequency band is segmented in the middle and divided into two frequency bands. If the frequency range itself is very small (1 to 2 orders of magnitude), segmentation is not required.
[0073] Regarding the subspace of each frequency band, the present invention uses the Lanczos algorithm combined with a single optimized repeated pole to construct a rational Krylov subspace, which is expressed as:
[0074]
[0075] In the formula, represents a rational Krylov subspace, k is the dimension of the subspace. J represents the jth vector of the Krylov subspace. span{} represents the expansion space. ξ0 represents the 0th pole, ξ j represents the jth pole. From equation (5), we can see that ξ j The number of determines the number of decompositions of the matrix equation. In order to reduce the decomposition of the matrix equation, the present invention uses a single optimal repeated real number pole (ω min and ω max The subspace is constructed by only one matrix decomposition for the frequency band. Then, the original coefficient matrix is projected onto the subspace, which greatly reduces the dimension of the coefficient matrix.
[0076] It should be noted that the present embodiment selects a single optimal repeated real number pole because: before the subspace is constructed, the selection of the pole affects the convergence performance of the entire frequency band. When the calculation frequency range is given, the convergence rate function R of the single pole algorithm is:
[0077]
[0078] Among them, ζ is the intermediate variable and ξ is the pole parameter. When ξ0 is the optimal real pole: When , the minimum value of the convergence function in the entire frequency range can be maximized. The minimum value of the convergence function is expressed as:
[0079]
[0080] From the above formula, we can see that the wider the calculation frequency range, the larger the c value is, and the minimum value R of the convergence function is min Slowly decreases to 1. When c = 1, that is, when ω min =ω max Or when ω=-ξ0, it has the optimal convergence rate That is, the closer the frequency is to the pole, the faster the convergence. Therefore, in this embodiment, for each frequency band, the above formula is used to determine the single repetition pole corresponding to the frequency band.
[0081] Figure 1The convergence rate function is given as a function of the frequency range. It can be seen that as the frequency range increases, it approaches linear convergence and requires a larger subspace to ensure error convergence, which is not conducive to the construction of the subspace. In order to improve the convergence rate and reduce the dimension of the subspace, the present invention segments the frequency range.
[0082] In order to simplify the construction of the subspace, let A = M in equation (5) -1 C, X = M -1 b. Construct transfer function g ω (A) = -iω(A+iωI) -1 , I is the identity matrix, since the transfer function g ω (A) is about the inverse matrix of a large sparse matrix, which is quite difficult to solve directly, so the Krylov subspace method can be used to construct an efficient approximation for such matrices.
[0083] Based on the above Krylov subspace, the Lanczos algorithm is used to construct the orthogonal basis V of the rational Krylov subspace m+1 =[v1,..,v m+1 ], its recursive expression is as follows:
[0084] v j+1 =((A-ξ j I) -1 v j -α j v j -β j-1 v j-1 ) / β j
[0085] =((C-ξ j M) -1 Mv j -α j v j -β j-1 v j-1 ) / β j (5)
[0086] Among them, α j =(Mv j ) T (C-ξ j M) -1 Mv j , β0v0=0, β j =||(C-ξ j M) -1 Mv j -α j v j -β j-1 v j-1 || MThe standard orthogonal matrix constructed by this method in the present invention satisfies: Finally, the rational Lanczos approximation of the electric field intensity was constructed:
[0087] E≈||X|| M V m+1 g ω (A m+1 )e1 (6)
[0088] In the formula, The projection matrix is expressed as: A m+1 A uses an orthogonal basis V m+1 Orthogonal projection matrix on Krylov subspace. A m+1 The dimension of X is much smaller than that of A, and can be directly inverted using solvers such as PARDISO or MUMPS, thereby greatly reducing the amount of computation required to solve the equation. The calculation of X is essentially the solution of an equation, namely, MX = b. Although it involves the inversion of the M matrix, since the M matrix is a positive definite symmetric sparse matrix, the calculation using the Pardiso solver often only takes a few seconds. V m+1 is a rectangular matrix, which is gradually expanded during the construction of the subspace and directly stored in the memory for easy access. m+1 Then, the Pardiso solver is used to solve g ω (A m+1 ). The remaining operations are all vector and matrix product operations, which can be quickly solved using interfaces such as self-written programs, compiler built-in functions, and MKL library functions.
[0089] It should be understood that according to the above idea, a subspace is constructed for each frequency band, and then the electric field strength is obtained by forward calculation according to formula (6).
[0090] Regarding the three-dimensional multi-frequency controlled source electromagnetic adjoint forward modeling problem:
[0091] In order to clearly illustrate the necessity of the forward modeling, the objective function of the inversion constructed in this embodiment is for:
[0092]
[0093] Among them, m is the inversion model parameter, is the data fitting term, is the model fitting term, λ is the regularization factor. D is the data covariance matrix, W is the model covariance matrix, T* is the conjugate transpose operator, and m0 is the model prior information. λ is the regularization factor, which is used to weigh the weight of the data fitting term and the model fitting term. obs is the observed data, i.e., the field data or synthetic data to be inverted.pre To predict data, i.e., the solution to the forward problem, this embodiment uses a rational Krylov subspace model reduction algorithm to quickly solve, i.e., equation (6). The gradient of the objective function can be obtained as:
[0094]
[0095] Among them, the gradient of the data fitting term is expressed as:
[0096]
[0097] Where r = DD (d obs -d pre ) * , represents the residual between the predicted data and the observed data. It is the sensitivity matrix. Since the relationship between the predicted data and the model parameters is a nonlinear implicit function, it is difficult to obtain the sensitivity matrix explicitly. Generally, the sensitivity matrix is obtained by the perturbation method in one-dimensional inversion, but the calculation amount of the sensitivity matrix J is huge for three-dimensional inversion. In NLCG inversion, adjoint forward modeling is often used to obtain the gradient of the data fitting term. The adjoint forward modeling can be expressed as the following process:
[0098] (C+iωM)x=L T r (10)
[0099] J T r=G T x (11)
[0100] Where L is the interpolation operator. Once m is given, (C+iωM) is a known term obtained from finite element analysis, and the electric field strength E has also been obtained in the forward modeling process, then It can be obtained analytically. The gradient of the data fitting term can be converted into the adjoint forward modeling of solving the formula (10) first. When performing the adjoint forward modeling, since the right-hand side terms of the linear equations involved in the adjoint forward modeling of different frequencies are independent of each other, it is impossible to construct a Krylov subspace shared by all frequencies. Therefore, the present invention proposes to construct a small-dimensional Krylov subspace for each frequency respectively. Since each frequency is completely independent, it can be constructed in parallel using OpenMp.
[0101] Since the adjoint forward modeling process is after the controlled source electromagnetic forward modeling process, and the construction process of the subspace is similar (only the right-hand side terms are different), there is no need to perform matrix decomposition again, and the result of matrix decomposition in the forward modeling process can be used directly. After obtaining the subspace corresponding to each frequency, the adjoint forward linear equations of each frequency are projected onto the corresponding small Krylov subspace to obtain the initial solution x0 and the relative residual and residual vector r0. Relative residual error i It is expressed as:
[0102]
[0103] Among them, nf is the number of frequencies, ω i is the ith frequency, r i is the data residual of the ith frequency, is the model reduction result of the i-th frequency equation (10), that is, the x corresponding to formula (10). The solution process is:
[0104]
[0105] Where m is the dimension of the subspace, X = M -1 L T r i , A=M -1 C, g ω (A) = (A + iωI) -1 , T represents matrix transpose. The projection matrix is:
[0106] If the relative residual meets the error requirement, the adjoint forward modeling result of the frequency is obtained. Otherwise, replace the right-hand term L with the residual vector T r, continue to construct subspaces, and then get a new solution x1, the target solution is corrected to x = x0 + x1, and the residual r1 and relative residual are obtained. This process is repeated until the relative residual meets the requirements, and the adjoint forward modeling results of all frequencies can be obtained.
[0107] About the inversion process
[0108] By obtaining the results of forward modeling and adjoint forward modeling according to the aforementioned method, the objective function and the gradient of the objective function can be obtained. Then the gradient algorithm can be used to solve the extreme value problem of the nonlinear inverse problem. This embodiment selects the classic nonlinear conjugate gradient algorithm to minimize the objective function.
[0109] Regarding the simulation process of this embodiment, the parameter settings and system configuration are as follows:
[0110] (1) Segment the calculation frequency. If the calculation frequency involved exceeds 3 to 4 orders of magnitude, segment it in the middle of the frequency band into two frequency bands. If the frequency range itself is very small (1 to 2 orders of magnitude), segmentation is not required.
[0111] (2) MPI parallel construction of subspaces. First, the main program is named CPU0. Data integration and construction of the first frequency band Krylov subspace are performed on CPU0. The subspace construction of the second frequency band is performed on CPU1. The whole process only performs two matrix decompositions, and the results of the matrix decomposition are saved for direct use with the forward modeling.
[0112] (3) OpenMP parallel construction of adjoint forward modeling subspace. Similarly, according to the frequency segmentation of the forward modeling, the frequencies of the adjoint forward modeling are allocated to CPU0 and CPU1 respectively. Although the adjoint forward modeling needs to construct multiple frequency subspaces, it still only requires two matrix decompositions, and the results of the matrix decomposition have been obtained in the forward modeling.
[0113] (4) Multiple projection correction algorithm. When the frequency is large, the excessively large subspace associated with the forward modeling requires a large amount of memory, so only a 5-20-dimensional subspace is constructed to save memory. Simulation analysis shows that this method can quickly obtain the results of 3D CSEM multi-frequency inversion with low memory consumption.
[0114] Embodiment 2:
[0115] This embodiment provides a system based on the three-dimensional multi-frequency controllable source electromagnetic inversion method, which includes:
[0116] Krylov subspace construction module for forward modeling problems, used to construct multi-frequency shared Krylov subspaces for three-dimensional multi-frequency controlled source electromagnetic forward modeling problems;
[0117] A forward modeling module, used for obtaining a forward modeling result of a three-dimensional multi-frequency controlled source electromagnetic forward modeling problem based on the multi-frequency common Krylov subspace;
[0118] The Krylov subspace construction module for adjoint forward modeling problems is used to construct the Krylov subspace of each frequency in the three-dimensional multi-frequency controlled source electromagnetic adjoint forward modeling problem;
[0119] An adjoint forward modeling module is used to obtain the adjoint forward modeling results of each frequency based on the Krylov subspace of each frequency;
[0120] The inversion module is used to construct the inversion objective function and its gradient based on the forward modeling results corresponding to the inversion area, the accompanying forward modeling results and the observation data, and apply the gradient algorithm to obtain the inversion results of the measurement area.
[0121] Among them, please refer to the corresponding process of the aforementioned method for the specific implementation process of each unit module. It should be understood that the specific implementation process of the above unit modules refers to the method content, and the present invention will not be specifically repeated here, and the division of the above functional module units is only a division of logical functions. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. At the same time, the above integrated unit can be implemented in the form of hardware or in the form of software functional units.
[0122] Embodiment 3:
[0123] This embodiment provides an electronic terminal, which includes: one or more processors and a memory storing one or more computer programs, wherein the computer programs in the memory are called by the processor to implement: the steps of a three-dimensional multi-frequency controllable source electromagnetic inversion method based on rational Krylov subspace.
[0124] The terminal also includes: a communication interface for communicating with external equipment and performing data interactive transmission.
[0125] The memory may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.
[0126] If the memory, processor and communication interface are implemented independently, the memory, processor and communication interface can be connected to each other through a bus and communicate with each other. The bus can be an industrial standard architecture bus, a peripheral device interconnection bus or an extended industrial standard architecture bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc.
[0127] Optionally, in a specific implementation, if the memory, processor and communication interface are integrated on a chip, the memory, processor and communication interface can communicate with each other through an internal interface.
[0128] For the specific implementation process of each step, please refer to the description of the above method.
[0129] It should be understood that in the embodiments of the present invention, the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the type of device.
[0130] Embodiment 4:
[0131] This embodiment provides a readable storage medium storing a computer program, wherein the computer program is called by a processor to implement: steps of a three-dimensional multi-frequency controllable source electromagnetic inversion method based on rational Krylov subspace.
[0132] For the specific implementation process of each step, please refer to the description of the above method.
[0133] The readable storage medium is a computer-readable storage medium, which may be an internal storage unit of the controller described in any of the foregoing embodiments, such as a hard disk or memory of the controller. The readable storage medium may also be an external storage device of the controller, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the controller. Further, the readable storage medium may also include both an internal storage unit of the controller and an external storage device. The readable storage medium is used to store the computer program and other programs and data required by the controller. The readable storage medium may also be used to temporarily store data that has been output or is to be output.
[0134] Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned readable storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0135] It should be emphasized that the examples described in the present invention are illustrative rather than restrictive, and therefore the present invention is not limited to the examples described in the specific embodiments. Any other embodiments derived by those skilled in the art based on the technical solution of the present invention that do not depart from the purpose and scope of the present invention, whether modified or replaced, also fall within the scope of protection of the present invention.
Claims
1. A three-dimensional multi-frequency controlled source electromagnetic inversion method based on rational Krylov subspace, characterized by: The following steps are involved: Constructing a multi-frequency shared Krylov subspace for a three-dimensional multi-frequency controlled source electromagnetic forward modeling problem; wherein a forward modeling result of the three-dimensional multi-frequency controlled source electromagnetic forward modeling problem is obtained based on the multi-frequency shared Krylov subspace; Construct the Krylov subspace of each frequency in the three-dimensional multi-frequency controlled source electromagnetic adjoint forward modeling problem; wherein, the adjoint forward modeling result of each frequency is obtained based on the Krylov subspace of each frequency; Based on the forward modeling results corresponding to the inversion area, the accompanying forward modeling results and the observation data, the inversion objective function and its gradient are constructed, and the inversion results of the measurement area are obtained by applying the gradient algorithm; If the forward modeling result is the electric field intensity, the process of obtaining the forward modeling result of the three-dimensional multi-frequency controlled source electromagnetic forward modeling problem based on the multi-frequency shared Krylov subspace is: constructing a rational Lanczos approximation of the electric field intensity using the Krylov subspace, and finally solving the electric field intensity based on the rational Lanczos approximation, and the rational Lanczos approximation is expressed as: E≈||X|| M V m+1 g ω (A m+1 )e1 In the formula, T is the matrix transpose symbol, E is the electric field strength, X = M -1 b, M is the mass matrix, b is the source term on the right side of the finite element linear equations of the controlled source electromagnetics, V m+1 =[v1,..,v m+1 ] represents a set of orthogonal basis vectors of the Krylov subspace, v1, v m+1 is the orthogonal basis vector V m+1 The first and m+1th orthogonal basis in , m is the dimension of the subspace, g ω (A m+1 ) is the transfer function, A m+1 A uses an orthogonal basis V m+1 The orthogonal projection matrix on the Krylov subspace is: A=M -1 C, C is the curl matrix; The three-dimensional multi-frequency controlled source electromagnetic adjoint forward modeling problem is expressed as: (C+iωM)x=L T r Where C is the curl matrix, M is the mass matrix, L is the interpolation operator, T is the matrix transposition symbol, ω is the frequency, i is the imaginary unit, x is the target quantity to be solved along with the forward problem, and r represents the residual vector between the predicted data and the observed data; Among them, the adjoint forward modeling result of each frequency is obtained based on the Krylov subspace of each frequency: the adjoint forward linear equation group of each frequency is projected onto the corresponding Krylov subspace to obtain the final solution of the target quantity; The objective function and the gradient of the objective function are expressed as: in, is the objective function, is the gradient of the objective function, is the data fitting term, is the model fitting term, the gradient of the data fitting term It is expressed as: Where m is the inversion model parameter, r = DD (d obs -d pre ) * , represents the residual between the predicted data and the observed data; is the sensitivity matrix, d obs is the observed data, d pre To predict data, the relationship between the sensitivity matrix and the accompanying forward modeling results is: J T r=G T x Among them, x is the target quantity to be solved along with the forward problem, and the parameter G satisfies: M is the mass matrix, C is the curl matrix, E is the electric field intensity, ω is the frequency, and i is the imaginary unit.
2. The three-dimensional multi-frequency controlled source electromagnetic inversion method according to claim 1, characterized in that: When constructing the multi-frequency shared Krylov subspace, if the broadband exceeds a preset threshold, a frequency segmentation strategy is adopted to segment the calculation frequency, and the multi-frequency shared Krylov subspace with a single optimized repeated pole is constructed for each frequency band.
3. The three-dimensional multi-frequency controlled source electromagnetic inversion method according to claim 2, characterized in that: The single optimal repeated pole in the multi-frequency shared Krylov subspace corresponding to each frequency band is the optimal real pole, which is expressed as: In the formula, ξ j ,ξ0 is the jth pole and the 0th pole;ω min and ω max They are the minimum and maximum frequency values in a frequency band respectively.
4. The three-dimensional multi-frequency controlled source electromagnetic inversion method according to claim 1, characterized in that: The process of obtaining the final solution of the target quantity is to use a multiple projection correction method to obtain the final solution, specifically: Project the adjoint forward linear equations of each frequency onto the corresponding Krylov subspace to obtain the initial solution x0 of the target quantity as well as the relative residual and residual vector r; Then determine whether the relative residual meets the error requirements. If it does, the target quantity is the adjoint forward modeling result at the corresponding frequency. If it does not, the residual vector is substituted for the right-hand term L. T r, continue to construct the Krylov subspace to solve and obtain the new solution x1, and correct the solution of the target quantity x=x0+x1, and then update the residual r1 and the relative residual, and repeat the above process until the error requirements are met.
5. A system based on the three-dimensional multi-frequency controlled source electromagnetic inversion method according to any one of claims 1 to 4, characterized in that: include: Krylov subspace construction module for forward modeling problems, used to construct multi-frequency shared Krylov subspaces for three-dimensional multi-frequency controlled source electromagnetic forward modeling problems; A forward modeling module, used for obtaining a forward modeling result of a three-dimensional multi-frequency controlled source electromagnetic forward modeling problem based on the multi-frequency common Krylov subspace; The Krylov subspace construction module for adjoint forward modeling problems is used to construct the Krylov subspace of each frequency in the three-dimensional multi-frequency controlled source electromagnetic adjoint forward modeling problem; An adjoint forward modeling module is used to obtain the adjoint forward modeling results of each frequency based on the Krylov subspace of each frequency; The inversion module is used to construct the inversion objective function and its gradient based on the forward modeling results corresponding to the inversion area, the accompanying forward modeling results and the observation data, and apply the gradient algorithm to obtain the inversion results of the measurement area.
6. An electronic terminal, characterized in that: It includes at least: one or more processors; A memory storing one or more computer programs, wherein the processor calls the computer programs to implement: The steps of the three-dimensional multi-frequency controlled source electromagnetic inversion method based on rational Krylov subspace as described in any one of claims 1-4.
7. A readable storage medium, characterized in that: It stores a computer program, which is called by the processor to implement: The steps of the three-dimensional multi-frequency controlled source electromagnetic inversion method based on rational Krylov subspace as described in any one of claims 1-4.
Citation Information
Patent Citations
Least square method-based resistivity three-dimensional approximate inversion technology
CN107305600A
Three-dimensional anisotropic radio frequency magneto telluric adaptive finite element forward modeling method
CN110058315A
