Array induction logging inversion method based on deep learning
The complex relationship model of array induction logging data is established through deep learning algorithms, which solves the problems of high computing resource consumption and poor iterative convergence in array induction logging inversion, and achieves fast and accurate inversion results, which are suitable for actual logging. Work.
Patent Information
- Application Number
- CN202410884606.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-03
- Publication Date
- 2024-10-11
AI Technical Summary
The existing array induction logging inversion algorithm consumes high computing resources during the iterative process, has poor iterative convergence, and easily falls into local minima, making it difficult to meet the accuracy and rapidity requirements of logging data inversion.
Using deep learning algorithms, by establishing a complex relationship model between formation conductivity and logging response, the forward modeling method is used to calculate array induction logging curves, construct a sample database, and build a neural network for training, and extract curve features to achieve inversion predict.
On the premise of ensuring the accuracy of the inversion, the inversion speed is greatly improved, and the problems of initial value selection and multiple solutions in the iterative inversion method are avoided. It has the advantages of high efficiency, speed and high accuracy.
Smart Images

Figure CN118761277A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of oil well detection, and in particular to an array induction logging inversion method based on deep learning. Background Art
[0002] Among the different logging methods, formation resistivity is the main basis for oil and gas reserve evaluation, and array induction logging is an important method for resistivity measurement. The array induction logging instrument consists of multiple sets of transmitting coils and receiving coils, forming a transmitting-receiving subarray of coils. The instrument can work at different frequencies and source distances, thereby collecting information with different detection depths and resolutions. The array induction logging method has the advantages of high resolution, deep detection depth, relatively accurate description of complex invasion profiles, strong thin layer analysis capabilities, and a relatively wide range of logging applications. The rich information collected provides a large amount of raw data for subsequent research and analysis.
[0003] Although array induction logging response can provide resistivity information of the formation, due to the influence of borehole, invasion, surrounding rock and skin effect, the real resistivity and invasion depth of the wellbore must be obtained through the inversion of logging data. Inversion is the process of inverting geological parameters based on the existing logging response. The inversion algorithm is mainly divided into probability-based random algorithm and gradient-based deterministic algorithm. The probability-based random algorithm mainly obtains the global optimal solution by performing random sampling and other operations on the model space. This algorithm places high demands on computing resources during iteration. At the same time, the adjustment of parameters in the process of iterative convergence of the algorithm requires experience and repeated attempts. The deterministic method based on gradient information minimizes the objective function by continuously adjusting the iterative model to meet the preset error tolerance. However, the global convergence of this type of method depends largely on the initial model, and the iterative process is prone to fall into local minima. Therefore, this type of method cannot meet the accuracy and speed requirements of logging data inversion. Summary of the invention
[0004] In order to solve the defects of the above-mentioned prior art, the purpose of the present invention is to provide an array induction logging inversion method based on deep learning, which uses a forward modeling method to calculate the array induction logging curves of different formation models, that is, the voltage signals of all sub-array receiving coils of the array induction logging instrument, construct a sample database, and use a deep learning algorithm to analyze, train and verify these original logging data, and establish a complex relationship model between formation conductivity and logging response; it can greatly improve the inversion speed while ensuring the inversion accuracy, and can avoid the initial value selection and multi-solution problems in the iterative inversion method, and has the advantages of high efficiency, high accuracy and strong practicality.
[0005] In order to achieve the above object, the present invention adopts the following technical scheme:
[0006] An array induction logging inversion method based on deep learning specifically comprises the following steps:
[0007] Step 1, establishing a physical model of an array induction logging instrument under different dimensions and different geological conditions; different dimensions and different geological conditions include: formation thickness, number of formation layers, resistivity, number of invasion zones, invasion zone width, borehole radius, borehole azimuth and well inclination;
[0008] Step 2: For physical models of different dimensions, different forward modeling methods are used to calculate the response of the array induction logging instrument, that is, the array induction logging instrument is used to calculate the original voltage signal corresponding to the formation parameters of the sampling points within the custom depth range, and the voltage signals of all sampling points are arranged in sequence according to the depth, and finally the response voltage curve is synthesized; the formation parameters are specified to change randomly within a certain range, the response voltage of multiple groups of physical models is calculated, a sample database is established, and the data preprocessing is completed;
[0009] Step 3: Build a neural network, train the neural network based on the preprocessed sample data, and extract the curve features of the array induction logging data;
[0010] Step 4: Test the neural network trained in step 3, select the optimal network, and save the optimal model;
[0011] Step 5: Apply the optimal model saved by the optimization network to the processing of actual data, output the formation parameters obtained by inversion prediction, and draw the formation resistivity profile of the inversion result.
[0012] The use of different forward modeling methods described in step 2 refers to the method used for the two-dimensional model including the numerical pattern matching method; the method used for the three-dimensional model including the finite element method and the finite difference method.
[0013] The specific method of step 2 is:
[0014] 2.1: The physical model established in step 1 is equivalent to an axisymmetric horizontal layered stratum model in two dimensions and to a horizontal layered stratum model in three dimensions;
[0015] 2.2: Randomly select the parameters of each layer, including boundary value, resistivity, intrusion zone resistivity, and intrusion zone radius;
[0016] 2.3: Customize sampling spacing and sampling depth. Based on multiple source distances and multiple frequencies of the array induction logging instrument, use the forward modeling method to calculate multiple unprocessed raw voltage signals corresponding to the formation parameters of each sampling point, synthesize the response voltage corresponding to the sampling point according to the depth, and generate a response voltage curve;
[0017] 2.4: Repeat steps 2.1 to 2.3 to obtain multiple sets of formation parameters and corresponding response voltages of formation models, and establish a sample database;
[0018] 2.5: Preprocess the data: The original voltage signal is on the order of 10 -7 ~10 -5 , nonlinear operations including taking absolute value, logarithm and sign function are performed on the original voltage signal to map the range of the original voltage signal to an interval that is easy for the neural network to process.
[0019] The specific steps of building a neural network and training a neural network in step 3 are as follows:
[0020] Build the network: select one or more neural network architectures, including GRU, LSTM, and UNET networks; the dimensions of the input layer and the output layer are represented by a tuple, each element in the tuple corresponds to the size of a dimension. The input layer inputs two-dimensional data, and its dimension tuples are the number of sampling points and the number of response curves. For the output layer, its dimension is determined by the number of neurons in the last fully connected layer, and the number of neurons in the output layer is the number of predicted formation parameters. The network of the middle layer is a combination of one or more networks, and the adjacent two layers of the middle layer network unit structure are connected through a Gaussian noise layer;
[0021] Training network: classify the data in the database into training set and test set, use the training set to train the model, update the model parameters through the back propagation algorithm, and make the model gradually converge to the optimal solution; in each training cycle, input the training data into the model for training, and evaluate the performance of the model on the validation set at the end of each cycle; during the training process, calculate the loss between the model output and the actual label, and update the weights and bias parameters in the neural network according to the loss, reducing the value of the loss function so that its prediction results are closer to the target value.
[0022] The process of step 4 is as follows:
[0023] Import the training set data into the trained network for testing and inversion prediction; adjust the hyperparameters of the neural network according to the inversion results, wherein the hyperparameters include learning rate, batch size, number of layers, and number of neurons; calculate the absolute error and relative error of the formation parameters to find the optimal hyperparameter setting, and the network model corresponding to the optimal hyperparameter is the model with the best inversion effect, and save it;
[0024] The process of step 5 is as follows:
[0025] The saved optimal model is applied to the processing of actual data, and the formation parameters obtained by inversion are output, wherein the formation parameters include formation resistivity, intrusion zone resistivity, and intrusion zone radius; the inversion results are made into a numerical two-dimensional matrix, that is, a two-dimensional matrix of each formation resistivity, and the matrix data is visualized as a color image through a drawing function, thereby obtaining an inverted resistivity profile.
[0026] Compared with the prior art, the beneficial effects of the present invention are:
[0027] 1. The present invention uses deep learning to train an accurate model, realizes the rapid inversion of array induction logging data under different geological conditions, and greatly improves the speed of array induction logging inversion while ensuring the accuracy of simulated array induction logging response.
[0028] 2. This method greatly improves the inversion speed by using the simulated data of array induction logging response while ensuring the inversion accuracy, so that it can be applied in actual logging work.
[0029] 3. Different forward modeling methods are used for formation models of different dimensions. For two-dimensional models, numerical pattern matching and other methods are used, and for three-dimensional models, finite element method, finite difference method and other methods are used to ensure the accuracy and reliability of sample data. The original response curve and formation parameters are used as training data for the neural network, and the curve features are extracted for network training. The best training model is selected by continuously adjusting the network parameters. The best model is used to invert and predict the formation parameters and draw the resistivity profile.
[0030] In summary, the present invention uses the forward modeling method to calculate the array induction logging curves of different formation models, that is, the voltage signals of all sub-array receiving coils of the array induction logging instrument, constructs a sample database, and uses a deep learning algorithm to analyze, train and verify these original logging data, and establishes a complex relationship model between formation conductivity and logging response; it can greatly improve the inversion speed while ensuring the inversion accuracy, and can avoid the initial value selection and multi-solution problems in the iterative inversion method; it has the advantages of high efficiency, high accuracy and strong practicality. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 This is the inversion flow chart of the present invention.
[0032] Figure 2 This is a stratum model diagram of the present invention.
[0033] Figure 3 Schematic diagram of the HDIL instrument of the present invention.
[0034] Figure 4 This is a neural network structure diagram of the present invention.
[0035] Figure 5 This is a comparison chart between the inversion prediction results of the present invention and the original data.
[0036] Figure 6 This is the inversion result diagram of the deep learning network of the present invention when it is trained based on a large number of samples, where: Figure 6 (a) is the original formation resistivity profile. Figure 6 (b) is the inverted formation resistivity profile. DETAILED DESCRIPTION
[0037] The present invention is further described in detail below with reference to the accompanying drawings and embodiments.
[0038] A two-dimensional axisymmetric horizontal layered formation vertical well model is taken as an example. The model has three layers of formations, each containing an invasion zone. The specific implementation of the present invention is further described in combination with this embodiment and the following drawings.
[0039] Combination Figure 1 , an array induction logging inversion method based on deep learning, comprising the following steps:
[0040] Step 1. Establish a physical model of a specific array induction logging instrument under different dimensions and geological conditions (different formation thickness, number of formation layers, resistivity, number of invasion zones, invasion zone width, borehole radius, borehole azimuth and well inclination, etc.);
[0041] Step 1 requires the establishment of a formation model and an instrument model. In this embodiment, the formation model established is a two-dimensional axisymmetric horizontal layered formation vertical well model, which includes three layers, each containing an invasion zone. Figure 2 As shown, the borehole diameter is 8.5 inches, R m Represents the wellbore resistivity, R i1 , R i2 , R i3 Represent the resistivity of the first, second and third stratum invasion zones, R t1 , R t2 , R t3 Represent the resistivity of the original formations of the first, second and third formations respectively. The selected array induction logging instrument is the HDIL instrument. The instrument has 7 groups of main coils, and the source distances are 6in to 94in respectively, arranged in logarithmic equal intervals. There are 8 transmitting frequencies during operation, namely 10kHz, 30kHz, 50kHz, 70kHz, 90kHz, 110kHz, 130kHz and 150kHz. At the same sampling point, the HDIL instrument measures a total of 56 real voltage signals and 56 imaginary voltage signals. The real signals are used in this example. Specifically, Figure 3 As shown, T is a transmitting coil, and R1 to R7 are receiving coils for receiving original voltage signals.
[0042] Step 2. For physical models of different dimensions, different forward modeling methods are used. The methods used for two-dimensional models include numerical pattern matching methods; the methods used for three-dimensional models include finite element method and finite difference method. The response of the array induction logging instrument is calculated, that is, the original voltage signal corresponding to the formation parameters of the sampling points is calculated by the array induction logging instrument within a custom depth range, and the voltage signals of all sampling points are arranged in sequence according to depth, and finally a response voltage curve is synthesized; the formation parameters are specified to change randomly within a certain range, the response voltages of multiple groups of physical models are calculated, a sample database is established, and data preprocessing is completed;
[0043] In this embodiment, the following methods are specifically included:
[0044] 2.1: The calculated model is a two-dimensional axisymmetric horizontal layered formation vertical well model, and the numerical pattern matching method is used to calculate the response of the array induction logging tool HDIL.
[0045] 2.2: Randomly select the boundary value, resistivity, invasion zone resistivity, invasion zone radius and other parameters of the three-layer formation. The vertical wellbore is 8.5in, the boundary value range of the first layer of formation is 7.5-10.0m, and the boundary value range of the second layer of formation is 10.5-15.0m; the range of the radius of the invasion zone of the three-layer formation is 0.109-1.000m, the range of the resistivity of the invasion zone is 2.0-10.0Ω·m, and the range of the resistivity of the original formation is 10.0-50.0Ω·m;
[0046] 2.3: The sampling range is 0.0 to 20.0 m from the ground surface, with a sampling interval of 0.125 m, including the two endpoints of 0.0 m and 20.0 m, a total of 161 sampling points, 56 voltage signals need to be calculated for each sampling point, and a total of 9016 voltage signals are calculated for all sampling points. A total of 56 response voltage curves are synthesized;
[0047] 2.4: According to step 1, there are three formation parameters, namely, the resistivity R of the invasion zone i , the radius of the invasion zone ri and the original formation resistivity R t Repeat steps 2.1-2.3 to obtain 20,000 sets of physical models and their corresponding responses, and establish a sample database;
[0048] 2.5: Preprocess the data of the sample database: The original voltage signal is on the order of 10 -7 ~10 -5 According to this feature, nonlinear operations such as taking absolute value, logarithm, and sign function are performed on the data to map the range of the original voltage signal to a more appropriate interval.
[0049] Step 3. Build a neural network (including but not limited to UNET, GRU, LSTM and other networks and the superposition of these networks). The dimensions of the input layer and the output layer are respectively represented in the form of a tuple, and each element in the tuple corresponds to the size of a dimension. The input layer inputs two-dimensional data, and its dimension tuples are the number of sampling points and the number of response curves. For the output layer, its dimension is determined by the number of neurons in the last fully connected layer. The number of neurons in the output layer is the number of predicted formation parameters. The network of the middle layer is a combination of one or more networks, and the adjacent two layers of network unit structures in the middle layer are connected through a Gaussian noise layer;
[0050] In this embodiment, a BiLSTM neural network is used to establish a logging response inversion framework, such as Figure 4 As shown. The data shape of the input network is (161,56); there are three LSTM layers, with 4*nUnit, 2*nUnit, and 2*nUnit units respectively, where nUnit=32. These LSTM layers are used to learn the sequence characteristics of the input data. There is a Gaussian noise layer before each layer of LSTM grid units, and Gaussian noise is used to alleviate overfitting; the output layer is preceded by a fully connected layer, which is used to further extract the characteristics of the array induction logging response. The output layer has two ends, one with two output nodes, outputting the resistivity of the invasion zone and the resistivity of the original formation, and the other with one output node, outputting the radius of the invasion zone. The goal of the entire neural network is to learn the sequence characteristics of the input data and map them to the predicted values of the resistivity and the radius of the invasion zone. The difference between the predicted value and the true value is measured by the loss function (MSE), and the network parameters are adjusted by the optimizer (RMSProp) to reduce this difference.
[0051] When training the network, the data in the database is classified, with 90% of the data as the training set, that is, 18,000 samples as the training set, and 10% of the data as the test set, that is, 2,000 samples as the test set. The model is trained using the training set, and the parameters of the model are updated through the back propagation algorithm so that the model gradually converges to the optimal solution. In each training cycle, the training data is input into the model for training, and the performance of the model is evaluated on the validation set at the end of each cycle. During the training process, the loss between the model output and the actual label is calculated, and the weights and bias parameters in the neural network are updated according to the loss, trying to reduce the value of the loss function so that its prediction result is closer to the target value. The loss function commonly used is the mean square error and the mean absolute error, but it is not limited to these two functions. In this example, the loss function uses the mean square error (MSE).
[0052] Step 4. Import the training set data into the trained network for testing, perform inversion prediction, and adjust the hyperparameters of the neural network according to the results of the inversion prediction. The hyperparameters include learning rate, batch size, number of layers, and number of neurons. Statistic the absolute error and relative error of the formation parameters, and compare the inversion accuracy of the neural network under different hyperparameters, so as to select the best network parameters. The network model corresponding to the optimal hyperparameters is the model with the best inversion effect.
[0053] When training a neural network, the selection of learning rate and batch size directly affects the efficiency and performance of the training process; if the learning rate is set too high, the parameters may fluctuate greatly during the optimization process or even fail to converge; if it is set too low, the optimization process may converge too slowly and more iterations may be required to achieve the desired performance. A larger batch size can lead to a more stable gradient estimate, making parameter updates smoother; a smaller batch size can converge faster and help avoid falling into a local optimum. In order to find the optimal parameter settings, the learning rates of 0.01, 0.001, and 0.0001 are used, and the batch sizes of 16, 32, 64, 128, and 256 are used. All possible combinations are traversed, and the absolute error, relative error, and other quantities of the formation parameters are counted. From the results, it can be seen that the inversion effect of the network is best when the learning rate of 0.001 and the batch size of 64 are selected. The comparison between the inversion results and the original formation parameters is shown in the figure below. Figure 5 It takes a total of 254.045 seconds to invert the formation parameters corresponding to 2000 groups of formation responses, and a total of 2000*3*161 points are inverted. The time for single-point inversion is about 0.000254 seconds, i.e., 0.2541ms. Compared with the traditional inversion method, the time for single-point inversion ranges from a few seconds to a few minutes, and the efficiency is improved by thousands or even tens of thousands of times. Therefore, the present invention greatly improves the inversion efficiency.
[0054] Step 5. Apply the saved optimal model to the processing of actual data, output the inverted formation parameters (such as formation resistivity, invasion radius, etc.), and draw the formation resistivity profile.
[0055] The saved optimal model is applied to the processing of actual data, and the inverted formation resistivity, invasion zone resistivity and invasion zone radius are output. The inversion results are made into a numerical two-dimensional matrix, that is, a two-dimensional matrix of each formation resistivity. The matrix data is visualized as a color image through the drawing function, thereby obtaining an inverted resistivity profile, such as Figure 6 shown.
Claims
1. A deep learning-based array induction logging inversion method. It is characterized in that The specific steps include: Step 1, establishing a physical model of an array induction logging instrument under different dimensions and different geological conditions; different dimensions and different geological conditions include: formation thickness, number of formation layers, resistivity, number of invasion zones, invasion zone width, borehole radius, borehole azimuth and well inclination; Step 2: For physical models of different dimensions, different forward modeling methods are used to calculate the response of the array induction logging instrument, that is, the array induction logging instrument is used to calculate the original voltage signal corresponding to the formation parameters of the sampling points within the custom depth range, and the voltage signals of all sampling points are arranged in sequence according to the depth, and finally the response voltage curve is synthesized; the formation parameters are specified to change randomly within a certain range, the response voltage of multiple groups of physical models is calculated, a sample database is established, and the data preprocessing is completed; Step 3: Build a neural network, train the neural network based on the preprocessed sample data, and extract the curve features of the array induction logging data; Step 4: Test the neural network trained in step 3, select the optimal network, and save the optimal model; Step 5: Apply the optimal model saved by the optimization network to the processing of actual data, output the formation parameters obtained by inversion prediction, and draw the formation resistivity profile of the inversion result.
2. The array induction logging inversion method based on deep learning according to claim 1, It is characterized in that The use of different forward modeling methods in step 2 refers to that the methods used for two-dimensional models include numerical pattern matching methods; the methods used for three-dimensional models include finite element method and finite difference method.
3. According to the array induction logging inversion method based on deep learning according to claim 1 or 2, It is characterized in that The specific method of step 2 is: 2.1: The physical model established in step 1 is equivalent to an axisymmetric horizontal layered stratum model in two dimensions and to a horizontal layered stratum model in three dimensions; 2.2: Randomly select the parameters of each layer, including boundary value, resistivity, intrusion zone resistivity, and intrusion zone radius; 2.3: Customize sampling spacing and sampling depth. Based on multiple source distances and multiple frequencies of the array induction logging instrument, use the forward modeling method to calculate multiple unprocessed raw voltage signals corresponding to the formation parameters of each sampling point, synthesize the response voltage corresponding to the sampling point according to the depth, and generate a response voltage curve; 2.4: Repeat steps 2.1 to 2.3 to obtain multiple sets of formation parameters and corresponding response voltages of formation models, and establish a sample database; 2.5: Preprocess the data: The original voltage signal is on the order of 10 -7 ~10 -5 , nonlinear operations including taking absolute value, logarithm and sign function are performed on the original voltage signal to map the range of the original voltage signal to an interval that is easy for the neural network to process.
4. The array induction logging inversion method based on deep learning according to claim 1, It is characterized in that The specific steps of building a neural network and training a neural network in step 3 are as follows: Build the network: select one or more neural network architectures, including GRU, LSTM, and UNET networks; the dimensions of the input layer and the output layer are represented by a tuple, each element in the tuple corresponds to the size of a dimension. The input layer inputs two-dimensional data, and its dimension tuples are the number of sampling points and the number of response curves. For the output layer, its dimension is determined by the number of neurons in the last fully connected layer, and the number of neurons in the output layer is the number of predicted formation parameters. The network of the middle layer is a combination of one or more networks, and the adjacent two layers of the middle layer network unit structure are connected through a Gaussian noise layer; Training network: classify the data in the database into training set and test set, use the training set to train the model, update the model parameters through the back propagation algorithm, and make the model gradually converge to the optimal solution; in each training cycle, input the training data into the model for training, and evaluate the performance of the model on the validation set at the end of each cycle; during the training process, calculate the loss between the model output and the actual label, and update the weights and bias parameters in the neural network according to the loss, reducing the value of the loss function so that its prediction results are closer to the target value.
5. The array induction logging inversion method based on deep learning according to claim 1, It is characterized in that The process of step 4 is as follows: The training set data is imported into the trained network for testing and inversion prediction. According to the inversion results, the hyperparameters of the neural network are adjusted, and the hyperparameters include learning rate, batch size, number of layers, and number of neurons. The absolute error and relative error of the formation parameters are counted to find the optimal hyperparameter setting. The network model corresponding to the optimal hyperparameter is the model with the best inversion effect, and it is saved.
6. The array induction logging inversion method based on deep learning according to claim 1, It is characterized in that The process of step 5 is as follows: applying the saved optimal model to the processing of actual data, outputting the formation parameters obtained by inversion, wherein the formation parameters include formation resistivity, intrusion zone resistivity, and intrusion zone radius; making the inversion result into a numerical two-dimensional matrix, that is, a two-dimensional matrix of each formation resistivity, and visualizing the matrix data into a color image through a drawing function, thereby obtaining an inverted resistivity profile.
Citation Information
Patent Citations
Method for inverting stratum parameters by array induction logging data and device thereof
CN102789003A
Formation evaluation method and system based on logging big data
CN113919219A
While-drilling azimuth electromagnetic wave resistivity inversion method based on deep learning
CN117744505A
Fast method for reconstruction of 3D formation rock properties using modeling and inversion of well-logging data
US20070083330A1
Cited By
While-drilling electromagnetic wave resistivity logging inversion method
CN120402054A
Stratum parameter inversion method of inversion neural network based on asymmetric down-sampling
CN120447077A
