A method and system for identifying and reconstructing magnetotelluric signals based on deep residual network

Through the combination of Graman angle field transform and deep residual network, the problem of noise interference in magnetotelluric signal processing is solved, the accuracy and applicability of signal-to-noise separation are improved, automated processing is realized, and effective signal loss is reduced.

CN114429151BActive Publication Date: 2024-10-15CENT SOUTH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111543798.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-16
Publication Date
2024-10-15
Estimated Expiration
2041-12-16

AI Technical Summary

Technical Problem

Existing magnetotelluric signal processing technology is susceptible to noise interference, especially human noise, resulting in low signal-to-noise separation accuracy and poor adaptability. It often requires manual setting of parameters, resulting in the loss of effective signals.

Method used

The Graman angle field transform is introduced to convert the one-dimensional electromagnetic signal into a two-dimensional image, and combined with the deep residual network, it realizes signal-noise separation and reconstruction, maintains the time sequence of the one-dimensional signal, enhances feature identification, and improves noise suppression accuracy and automation. degree.

Benefits of technology

It significantly improves the accuracy of signal-to-noise identification, reduces effective signal loss, enhances the applicability to different types of noise, realizes automated data processing, and eliminates manual intervention and subjective bias.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114429151B_ABST
    Figure CN114429151B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and system for identifying and reconstructing magnetotelluric signals based on a deep residual network, which includes: constructing a sample library 1 and marking the category label of each data segment; performing Graman angular field transformation on the data segments in the sample library 1 to obtain a Graman angular field image; constructing a deep residual classification network, and using the Graman angular field image and its corresponding classification labels to perform network training to obtain a magnetotelluric data classification model; segmenting the magnetotelluric data to be denoised and then performing Graman angular field transformation, and inputting the transformed magnetotelluric data classification model to obtain a classification label for each data segment; reconstructing or denoising the identified noisy data segments; and finally sequentially splicing the identified high-quality data segments with the reconstructed or denoised data segments. The method described in the present invention introduces the deep residual network and the Graman angular field into the magnetotelluric data denoising technology, thereby improving the degree of automation of noise suppression and the denoising accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of signal processing technology, and specifically relates to a method and system for identifying and reconstructing magnetotelluric signals based on a deep residual network, especially introducing a Gramman angle field to convert a one-dimensional magnetotelluric signal into a two-dimensional image, and then combining the deep residual network to achieve signal-noise separation. Background Art

[0002] Magnetotelluric signals are one-dimensional time series signals that vary with time. The detection technology of magnetotelluric signals is widely used in the exploration of radioactive uranium resources, oil and gas resources, geothermal exploration and other national strategic resources and energy exploration fields. However, the detection accuracy of magnetotelluric signals is easily affected by noise. With the continuous increase in the proportion of urbanization, the distribution of human noise is becoming more and more widespread. Human noise has become a bottleneck restricting the magnetotelluric method from obtaining fine detection results.

[0003] In recent years, machine learning algorithms have developed rapidly, and their applications in magnetotelluric signal processing have gradually increased. For example, magnetotelluric data processing based on dictionary learning (Tang Jingtian, Li Guang, et al., 2018), magnetotelluric power frequency interference suppression based on recurrent neural networks (Xu Taotao, et al., 2020), magnetotelluric signal denoising based on convolutional neural networks and long short-term memory neural networks (CNN-LSTM) (patent application number: 202110320241.4), etc. However, the above methods have certain limitations: dictionary learning methods often require a certain number of parameters to be manually set based on experience; magnetotelluric power frequency interference based on recurrent neural networks does not perform signal-to-noise recognition before signal-to-noise separation, which is prone to loss of effective signals or is only applicable to suppressing a single type of noise such as power frequency interference; the magnetotelluric signal denoising method based on CNN-LSTM directly classifies one-dimensional magnetotelluric time series, but many noise features are not obvious in time series, and CNN is mainly suitable for image processing, and its advantages are not obvious when processing one-dimensional signals, resulting in low signal-to-noise recognition accuracy of this method in some cases. Therefore, for magnetotelluric signals that are easily interfered by noise, the present invention is devoted to studying signal-to-noise separation technology and signal reconstruction technology that solve at least part of the above-mentioned technical problems. Summary of the invention

[0004] The purpose of the present invention is to solve at least some of the technical problems existing in the above-mentioned denoising technology of magnetotelluric signals, and further provide a magnetotelluric signal recognition and reconstruction method and system based on a deep residual network. The method creatively introduces the Gramman angular field transform, thereby realizing the conversion of one-dimensional magnetotelluric data into a two-dimensional image without destroying the time sequence of the one-dimensional signal, enhancing the two-dimensional features of the one-dimensional signal, and improving the recognition accuracy; in addition, the method of the present invention introduces a deep residual classification network, which can directly transmit information from the shallow layer to the deep layer, avoid information loss and have good robustness to network degradation, thereby improving the accuracy and automation of noise suppression by combining the Gramman angular field transform with the deep residual network, and effectively solving or improving some problems existing in the existing methods, such as: the need to manually set parameters, the loss of more effective signals, low signal-to-noise recognition accuracy, and poor adaptability.

[0005] On the one hand, the present invention provides a method for identifying and reconstructing magnetotelluric signals based on a deep residual network, which comprises the following steps:

[0006] Step 1: construct a sample library 1 and mark the category label of each data segment; the sample library 1 includes noisy data segments and high-quality data segments, and the category label indicates whether the data segment is a noisy data segment or a high-quality data segment;

[0007] Step 2: performing Gramman angular field transformation on the data segments in the sample library 1 to obtain a Gramman angular field image, wherein the one-dimensional magnetotelluric data is converted into a two-dimensional Gramman angular field image;

[0008] Step 3: Build a deep residual classification network, and use the Gramman angle field image and its corresponding classification labels in step 2 to train the network to obtain a magnetotelluric data classification model;

[0009] Step 4: segmenting the magnetotelluric data to be denoised and then performing Gramman angle field transformation, and inputting the transformed data into the magnetotelluric data classification model constructed in step 3 to obtain a classification label for each data segment, wherein the data segment is identified as a noisy data segment or a high-quality data segment based on the classification label;

[0010] Step 5: Reconstruct or denoise the noisy data segments identified in step 4;

[0011] Step 6: Sequentially concatenate the high-quality data segments identified in step 4 and the reconstructed or denoised data segments in step 5 to obtain a complete magnetotelluric denoising sequence.

[0012] The present invention creatively introduces the Graman angular field transform in the field of magnetotelluric signal-noise processing, converts a one-dimensional time series signal into a two-dimensional image, and the converted two-dimensional image matrix is ​​skew-symmetric. The Graman angular field augments the two-dimensional spatial information of the one-dimensional time series. In network recognition, input in the form of an image can enrich the information acquisition of the neural network. Moreover, after the one-dimensional time series is expanded to two dimensions using the Graman angular field, the original one-dimensional time series order can be maintained without destroying its structure, thereby using the neural network to obtain potential sequence information and improve recognition accuracy. More importantly, in a one-dimensional magnetotelluric signal, some noise is very difficult to be reflected in a one-dimensional environment. After conversion to a two-dimensional image, the morphological characteristics of these noises are clearly reflected, which is very different from the noise-free signal, and is conducive to accurate recognition. Therefore, the introduction of the Graman angular field transform in the present invention can significantly improve the recognition accuracy of magnetotelluric signals, and is more suitable for deep residual networks.

[0013] Further optionally, when performing Gramman angular field transform on each data segment in step 2 to obtain a Gramman angular field image, the following steps are performed:

[0014] Divide each data segment in sample library 1 into small data segments of equal length and perform normalization processing;

[0015] Polar coordinate transformation is performed on each data segment;

[0016] Calculate the Gramman angle sum field or the Gramman angle difference field between every two data segments;

[0017] Then, based on the Graman angle sum field or the Graman angle difference field, a transformation is performed to obtain a two-dimensional Graman angle field image. Further optionally, in step 5, the noisy data segment identified in step 4 is reconstructed using a magnetotelluric data reconstruction model;

[0018] Among them, the magnetotelluric data reconstruction model is obtained by training based on a deep residual data reconstruction network. The training process is to input noisy data segments and their high-quality data segments into the deep residual data reconstruction network. The model input of the magnetotelluric data reconstruction model is a noisy data segment, and the output is a high-quality data segment.

[0019] In order to further improve the reconstruction accuracy of magnetotelluric signals, the present invention introduces a deep residual data reconstruction network to construct a magnetotelluric data reconstruction model, thereby converting noisy data segments into high-quality data segments.

[0020] Further optionally, the input and output of the magnetotelluric data reconstruction model are both one-dimensional magnetotelluric data segments.

[0021] If one-dimensional magnetotelluric data segments are used as input and output, all layers in the deep residual data reconstruction network are one-dimensional structures, which can reduce the running time cost.

[0022] Further optionally, the input and output of the magnetotelluric reconstruction model are both Gramman angle field images corresponding to the one-dimensional magnetotelluric data segment, and the reconstruction process of the noisy data segment in step 5 is:

[0023] The Gramman angular field image corresponding to the noisy data segment is input into the magnetotelluric reconstruction model to obtain the Gramman angular field image corresponding to the high-quality data segment, and then the Gramman angular field image is inversely transformed to obtain a one-dimensional magnetotelluric data segment.

[0024] Further optionally, the deep residual classification network or the deep residual data reconstruction network includes an input layer, a hidden layer and an output layer;

[0025] Among them, the hidden layer is composed of a convolution layer, an identical residual block, a convolution residual block and a maximum pooling layer, the identical residual block includes a one-dimensional convolution and an identical connection, the convolution residual block includes a one-dimensional convolution and a one-dimensional point-by-point convolution, and the input and output of the identical residual block have the same number of channels; the convolution residual block changes the number of channels by a convolution with a convolution kernel size of 1, so that the input and output have the same number of channels.

[0026] The present invention optimizes the traditional deep residual network by adding identical residual blocks and convolutional residual blocks to the network, which can directly transmit shallow information in the neural network to the deep part, avoid the loss of original information during network training, and enhance the network's anti-degradation ability.

[0027] Further optionally, the hidden layer is composed of ten parts, namely, convolution layer 1, constant residual block 2, constant residual block 3, convolution residual block 4, constant residual block 5, convolution residual block 6, constant residual block 7, convolution residual block 8, constant residual block 9, and maximum pooling layer 10, and the constant residual block contains 2 one-dimensional convolutions and 1 constant connection, and the convolution residual block contains 2 one-dimensional convolutions and 1 one-dimensional point-by-point convolution.

[0028] In a second aspect, the present invention provides a system based on a method for identifying and reconstructing magnetotelluric signals, comprising:

[0029] A sample library construction module is used to construct a sample library 1 and mark a category label of each data segment; the sample library 1 includes a noisy data segment and a high-quality data segment, and the category label indicates whether the data segment is a noisy data segment or a high-quality data segment;

[0030] A Graman angular field image conversion module is used to perform a Graman angular field transformation on the data segments in the sample library 1 to obtain a Graman angular field image, wherein one-dimensional magnetotelluric data is converted into a two-dimensional Graman angular field image;

[0031] The module for constructing a magnetotelluric data classification model is used to construct a deep residual classification network and use the Gramman angle field image and its corresponding classification labels to perform network training to obtain a magnetotelluric data classification model.

[0032] The Graman angular field image conversion module is further used to segment the magnetotelluric data to be denoised and then perform Graman angular field transformation; the transformed Graman angular field transformation image is input into the magnetotelluric data classification model to obtain a classification label for each data segment, wherein the data segment is identified as a noisy data segment or a high-quality data segment based on the classification label;

[0033] A noisy data segment reconstruction or denoising module, used to reconstruct or denoise the identified noisy data segment;

[0034] The splicing module is used to sequentially splice the identified high-quality data segments with the reconstructed or denoised data segments to obtain a complete magnetotelluric denoising sequence.

[0035] In a third aspect, the present invention provides an electronic terminal, comprising: one or more processors;

[0036] a memory storing one or more computer programs;

[0037] The processor calls a computer program to implement:

[0038] A method for identifying and reconstructing magnetotelluric signals based on a deep residual network.

[0039] 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:

[0040] A method for identifying and reconstructing magnetotelluric signals based on a deep residual network.

[0041] Beneficial Effects

[0042] 1. The present invention creatively uses the Graman angular field transform to cleverly transform the one-dimensional magnetotelluric time series into a two-dimensional image. Among them, the Graman angular field transform expands the two-dimensional spatial information of the one-dimensional time series. In network recognition, the input in the form of an image can enrich the information acquisition of the neural network. Moreover, after the one-dimensional time series is expanded to two dimensions by using the Graman angular field transform, the original one-dimensional time series order can be maintained without destroying its structure, which is conducive to the neural network to obtain potential sequence information and improve recognition accuracy. More importantly, in the one-dimensional magnetotelluric signal, some noise is very difficult to be reflected in a one-dimensional environment. After conversion to a two-dimensional image, the morphological characteristics of these noises are clearly reflected, which is very different from the noise-free signal. Therefore, the introduction of the Graman angular field in the method described in the present invention significantly improves the accuracy of signal-to-noise recognition, thereby significantly reducing the loss of effective signals and improving the applicability of the network model to different types of noise.

[0043] 2. The present invention introduces a deep residual network algorithm and makes full use of the advantages of the deep residual network algorithm network structure to identify high-quality segments in magnetotelluric data and realize signal-noise separation, thereby further reducing the loss of effective magnetotelluric signals and improving the accuracy of signal-noise separation of magnetotelluric data. Under the premise of ensuring data quality, the present invention realizes noise suppression of magnetotelluric data, corrects abnormal values ​​of apparent resistivity and phase curves, and randomizes the polarization directions of electric and magnetic fields.

[0044] 3. After the model training is completed, the whole data processing process of the method of the present invention is completed automatically by computer, without any manual intervention, and no experience is required for the data processing operator, eliminating the problem of subjective bias caused by the need to manually set the threshold in the traditional method. In addition, the efficiency of the method proposed by the present invention is significantly better than that of sparse decomposition, dictionary learning and other methods. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 It is a structural flow chart of the present invention;

[0046] Figure 2 This is a graph showing the effect of performing Graman angular field transformation on the sample provided by the present invention;

[0047] Figure 3 It is a deep residual classification network model architecture diagram provided by the present invention;

[0048] Figure 4 is a schematic diagram of the structure of the residual block provided by the present invention, FIG a corresponds to the identical residual block, and FIG b corresponds to the convolution residual block;

[0049] Figure 5 This is a schematic diagram of the changes in accuracy and loss during the training process of the deep residual classification network model. Figure a corresponds to the loss, and figure b corresponds to the accuracy.

[0050] Figure 6 It is a deep residual data reconstruction network model architecture diagram provided by the present invention;

[0051] Figure 7 It is a schematic diagram of the loss changes during the training process of the deep residual data reconstruction network model;

[0052] Figure 8 is a schematic diagram of noisy magnetotelluric data before being processed by the present invention;

[0053] Fig. 9 is a schematic diagram of magnetotelluric data processed by the present invention;

[0054] Fig.10 The apparent resistivity and phase curves before and after the measured data processing;

[0055] Fig.11 are the polarization directions of the electric and magnetic fields before and after the measured data processing. DETAILED DESCRIPTION

[0056] The present invention provides a method for identifying and reconstructing magnetotelluric signals based on a deep residual network, the purpose of which is to suppress noise on magnetotelluric signals, identify noisy data segments, and reconstruct or denoise them, and finally obtain a denoised magnetotelluric signal sequence. In order to achieve the above purpose, the present invention creatively introduces a deep residual network and a Gramman angular field transform. In order to more fully illustrate the implementation process of the method described in the present invention, the present invention will be further described in combination with an embodiment below.

[0057] Embodiment 1:

[0058] This embodiment provides a method for identifying and reconstructing magnetotelluric signals based on a deep residual network, which includes the following steps:

[0059] Step 1: Build sample library 1 and mark the category label of each data segment.

[0060] Some data are selected from a large amount of observation data to make sample library 1. The method for making sample library 1 is: segment the selected data using a time window, take each data segment as a sample and mark the category label of the sample. The category label indicates that the sample is divided into a noisy data segment or a high-quality data segment; the ratio of the number of noisy data segments to high-quality data segments is 1:1, and various types of data are included as much as possible. It should be understood that the evaluation criteria for high-quality data segments and noisy data segments refer to the relevant standards and application requirements in this field. High-quality data segments can be understood as noise-free or the noise ratio meets the requirements, and noisy data segments can be understood as data segments that need to be denoised.

[0061] Step 2: Perform Gramman angular field transformation on the data segments in the sample library 1 to obtain a Gramman angular field image, wherein one-dimensional magnetotelluric data is converted into a two-dimensional image. The specific conversion process is as follows:

[0062] First, the magnetotelluric time series is divided into data segments of the same length, and each data segment is normalized:

[0063]

[0064] where x i represents the i-th data segment, Represents x i Normalized data;

[0065] Then, the normalized data is transformed into polar coordinates:

[0066]

[0067] Among them, θ i yes Projection in polar coordinates. Similarly, the jth data x j The projection of j .

[0068] If the Graman Angle Sum Field (GASF) is used, and The Graman angle and field are defined as follows:

[0069] GASF i,j =cos(θ i +θ j )

[0070] If the Graman Angular Difference Field (GADF) is used, and The Graman angle difference field is defined as follows:

[0071] GADF i,j = sin(θ i -θ j )

[0072] Finally, with θ i is the x-axis, θ j is the y-axis, and based on the calculated GASF or GADF, a two-dimensional image after Gramman angular field transformation can be obtained.

[0073] like Figure 2The results of harmonic, triangular wave and square wave noise under different conversions are shown. (a)-(c) are Cartesian coordinate axes, (d)-(f) are polar coordinate axis images, (g)-(i) correspond to the Graman angle sum field images (GASF) of noisy data; (j)-(l) correspond to the images of noisy data in the Graman angle difference field (GADF). It can be clearly seen from the figure that the Graman angle sum field or the Graman angle difference field can generate different types of two-dimensional images according to different types of one-dimensional noise. When one-dimensional magnetotelluric data samples are acquired from left to right along the time axis, these samples move from the upper left to the lower right in the Graman angle field at the same time. Therefore, the Graman angle field does not destroy the order of the time series, and its dimensional expansion assists in achieving high-precision noise discrimination.

[0074] Step 3: Build a deep residual classification network, and use the Gramman angle field image in step 2 and its corresponding classification labels to train the network to obtain a magnetotelluric data classification model.

[0075] In the present invention, a deep residual classification network includes an input layer, a hidden layer and an output layer; wherein the hidden layer is composed of a convolutional layer, an identity residual block, a convolutional residual block and a maximum pooling layer, the identity residual block includes a one-dimensional convolution and an identity connection, the convolutional residual block includes a one-dimensional convolution and a one-dimensional point-by-point convolution, and the input and output of the identity residual block have the same number of channels; the convolutional residual block changes the number of channels by a convolution with a convolution kernel size of 1, so that the input and output have the same number of channels.

[0076] like Figure 3 As shown, the input layer shape in this embodiment is: sample length multiplied by the number of channels, that is, 1×32×32. The hidden layer consists of ten parts, namely, convolution layer 1, constant residual block 2, constant residual block 3, convolution residual block 4, constant residual block 5, convolution residual block 6, constant residual block 7, convolution residual block 8, constant residual block 9, and maximum pooling layer 10. The constant residual block generally contains 2 one-dimensional convolutions and 1 constant connection, and the convolution residual block generally contains 2 one-dimensional convolutions and 1 one-dimensional point-by-point convolution, see Figure 3 and 4 .

[0077] In this embodiment, the calculation process of convolution layer 1, 5 constant residual blocks and 3 convolution residual blocks, maximum pooling layer 1, and fully connected layer 1 is:

[0078] The steps of convolution layer 1 are: use 64 convolution kernels of size 3×3 to perform one-dimensional convolution on the training samples, use "Relu" activation, and output the result of convolution layer 1.

[0079] The steps of the identical residual block 2 are as follows: first, use 64 convolution kernels of size 3×3 to perform one-dimensional convolution on the result of convolution layer 1, and use "Relu" activation; second, use 64 convolution kernels of size 3×3 to perform one-dimensional convolution on the activation value of the first convolution of the identical residual block 2 again; third, sum the output of convolution layer 1 and the second unactivated one-dimensional convolution of the identical residual block 2, use "Relu" activation, and output the result of the identical residual block 2.

[0080] The steps of the identical residual block 3 are as follows: first, use 64 convolution kernels of size 3×3 to perform one-dimensional convolution on the result of the identical residual block 2, and use "Relu" activation; second, use 64 convolution kernels of size 3×3 to perform one-dimensional convolution on the activation value of the first convolution of the identical residual block 3 again; third, sum the output of the identical residual block 2 and the second unactivated one-dimensional convolution of the identical residual block 3, use "Relu" activation, and output the result of the residual block 3.

[0081] The steps of convolution residual block 4 are as follows: first, use 128 convolution kernels of size 3×3 to perform one-dimensional convolution and one-dimensional point-by-point convolution with a step size of 2 on the results of residual block 3. The one-dimensional convolution uses "Relu" activation and the point-by-point convolution is not activated; second, use 128 convolution kernels of size 3×3 again to perform one-dimensional convolution on the activation value of the first convolution of convolution residual block 4; third, sum the result of the point-by-point convolution of convolution residual block 4 and the second inactivated one-dimensional convolution of convolution residual block 4, and use "Relu" activation to output the result of residual block 4.

[0082] The steps of the identical residual block 5 are as follows: first, use 128 convolution kernels of size 3×3 to perform one-dimensional convolution on the result of the convolution residual block 4, and use "Relu" to activate; second, use 128 convolution kernels of size 3×3 to perform one-dimensional convolution on the activation value of the first convolution of the identical residual block 5 again; third, sum the output of the convolution residual block 4 and the second non-activated one-dimensional convolution of the identical residual block 5, use "Relu" to activate, and output the result of the residual block 5.

[0083] The steps of the convolution residual block 6 are as follows: first, use 256 convolution kernels of size 3×3 to perform one-dimensional convolution and one-dimensional point-by-point convolution with a step size of 2 on the result of the identical residual block 5, and use "Relu" to activate the one-dimensional convolution, and do not activate the point-by-point convolution; second, use 256 convolution kernels of size 3×3 to perform one-dimensional convolution on the activation value of the first convolution of the convolution residual block 6 again; third, sum the result of the point-by-point convolution of the convolution residual block 6 and the second inactivated one-dimensional convolution of the convolution residual block 6, and use "Relu" to activate it, and output the result of the residual block 6.

[0084] The steps of the identical residual block 7 are as follows: first, use 256 convolution kernels of size 3×3 to perform one-dimensional convolution on the result of the convolution residual block 6, and use "Relu" to activate; second, use 256 convolution kernels of size 3×3 to perform one-dimensional convolution on the activation value of the first convolution of the identical residual block 6 again; third, sum the output of the convolution residual block 6 and the second non-activated one-dimensional convolution of the identical residual block 7, use "Relu" to activate, and output the result of the residual block 7.

[0085] The steps of the convolution residual block 8 are as follows: first, use 512 convolution kernels of size 3×3 to perform one-dimensional convolution and one-dimensional point-by-point convolution with a step size of 2 on the result of the identical residual block 7, and use "Relu" to activate the one-dimensional convolution and not activate the point-by-point convolution; second, use 512 convolution kernels of size 3×3 again to perform one-dimensional convolution on the activation value of the first convolution of the convolution residual block 8; third, sum the result of the point-by-point convolution of the convolution residual block 8 and the one-dimensional that is not activated for the second time of the convolution residual block 8, and use "Relu" to activate it, and output the result of the residual block 8.

[0086] The steps of the identical residual block 9 are as follows: first, use 512 convolution kernels of size 3×3 to perform one-dimensional convolution on the result of the convolution residual block 8, and use "Relu" to activate; second, use 512 convolution kernels of size 3×3 to perform one-dimensional convolution on the activation value of the first convolution of the identical residual block 9 again; third, sum the output of the convolution residual block 8 and the second non-activated one-dimensional convolution of the identical residual block 9, use "Relu" to activate, and output the result of the residual block 9.

[0087] The steps of the max pooling layer 10 are: use the maximum value filter with size 3 and stride 1.

[0088] It should be noted that the number of residual blocks, the number and size of convolution kernels are set based on the model training effect. Therefore, the above examples are only for illustrative purposes. The number of residual blocks, the size and number of convolution kernels can be adjusted without departing from the concept of the present invention.

[0089] Finally, the output layer of the deep residual network consists of a Flatten layer and a fully connected Dense layer. The Flatten layer flattens the result of the maximum pooling layer into a one-dimensional sequence of 1×4096; the Dense layer contains 2 neurons and is activated using the "Sigmoid" function. The output layer outputs the probability of the category, thereby obtaining the classification result of the sample, that is, noise or high quality.

[0090] From the content of the above network structure, it can be seen that in order to be applicable to Gramman angular field images, all layers in the classification network are two-dimensional structures. It should be understood that on the basis of meeting the processing requirements of two-dimensional Gramman angular field images, it is also feasible to adaptively adjust the above network structure, which belongs to the protection scope of the present invention.

[0091] The training process of the classification model of the present invention selects the Adam optimizer, wherein the batch size is 100, the random loss rate of the fully connected layer is 0.5, and the initial learning rate is 0.000005, and the learning rate is decayed by 0.1 every 5 training cycles, and a total of 200 epochs are trained. In other feasible embodiments, this is not specifically limited, and other optimizers can be selected.

[0092] like Figure 5 It is the change of accuracy and loss during the training process of the deep residual classification network model. The curve with triangles represents the change of accuracy and loss of the training set during the model training process, and the curve with circles represents the change of accuracy and loss of the validation set after the model is trained with the training set. From the shape of the curve, as the number of training times increases, the accuracy of the model is gradually increasing, and the loss value of the model is gradually decreasing, and finally tends to be stable, which shows that the data features learned by the model have a trend from growth to convergence, the adaptability of the model to the data is increasing, and the error of the model is decreasing.

[0093] Step 4: Segment the magnetotelluric data to be denoised and then perform Gramman angle and field transformation. After transformation, input the magnetotelluric data classification model constructed in step 3 to obtain a classification label for each data segment, wherein the data segment is identified as a noisy data segment or high-quality data based on the classification label.

[0094] Step 5: Reconstruct or denoise the noisy data segment identified in step 4. This embodiment does not restrict the technology used to achieve reconstruction or denoising of the noisy data segment. For example, it can be achieved by existing technical means or by the method shown in embodiment 2.

[0095] Step 6: Sequentially concatenate the high-quality data segments identified in step 4 and the reconstructed or denoised data segments in step 5 to obtain a complete magnetotelluric denoising sequence.

[0096] Embodiment 2:

[0097] On the basis of Example 1, this embodiment constrains the technical implementation process of reconstructing the identified noisy data segments in step 5, and constrains it to: reconstruct the noisy data segments identified in step 4 using a magnetotelluric data reconstruction model. The magnetotelluric data reconstruction model is obtained by training based on a deep residual data reconstruction network. The training process is to input the noisy data segments and their high-quality data segments into the deep residual data reconstruction network, and the model input of the magnetotelluric data reconstruction model is the noisy data segments, and the output is the high-quality data segments.

[0098] like Figure 6 As shown, the deep residual data reconstruction network model of this embodiment consists of three parts: input layer, hidden layer and output layer. The shape of the input layer is: sample length multiplied by the number of channels, that is, 1×1×32.

[0099] In this embodiment, the hidden layer consists of a convolution layer 1, an identical residual block 2, an identical residual block 3, a convolution residual block 4, an identical residual block 5, a convolution residual block 6, an identical residual block 7, a convolution residual block 8, an identical residual block 9, and a maximum pooling layer 10, which together comprise ten parts. The identical residual block generally comprises two one-dimensional convolutions and one identical connection, and the convolution residual block generally comprises two one-dimensional convolutions and one one-dimensional point-by-point convolution. Figure 2 .

[0100] The input and output of the magnetotelluric data reconstruction model in this embodiment are both one-dimensional magnetotelluric data segments, and each layer in the network is a one-dimensional structure. Different from the architecture of the classification network, the first dimension of the two-dimensional convolution kernel in the classification network is removed, such as changing the 3×3 convolution kernel to 1×3. In summary, the structure of the reconstruction network is generally the same as that of the classification network, except that the training process of the classification network adopts the cross entropy loss function, and all layers in the network are two-dimensional structures. The training process of the reconstruction network adopts the mean square loss function, and all layers in the network are one-dimensional structures.

[0101] The training process of the reconstruction network is understood as follows: first construct a sample library 2, in which the ratio of the number of high-quality samples to noisy samples in the sample library 2 is 1:1. Among them, the noisy samples include measured data samples and samples obtained by artificially adding noise to high-quality data, and part of the added noise comes from numerical simulation and part from measured data. Among them, the high-quality samples include measured high-quality samples and high-quality samples obtained by denoising the measured noisy samples using a dictionary learning method (Tang Jingtian, Li Guang, et al., 2018); the high-quality samples and the noisy samples are one-to-one corresponding, that is, the high-quality samples and the noisy samples are two states of the same segment of data, noisy or non-noisy. It should be understood that in other feasible embodiments, the noisy samples and high-quality samples in the sample library 2 can also be constructed in other ways, and the present invention does not make specific limitations on this.

[0102] When constructing sample library 2 in this embodiment, 10,000 training sets and 1,000 validation sets were used. Afterwards, the sample set is input into the constructed neural network. The neural network will learn the mapping relationship between each noisy sample and the high-quality sample. The training algorithm uses adaptive torch estimation (Adam), which will adaptively find the optimal direction during iteration to prevent the neural network from falling into the local minimum during training. When the mean square loss function loss of the training set basically no longer decreases, it means that the network has been trained. By observing the loss of the validation set, it is determined whether the network is overfitting and whether it can be used for prediction, because the data of the validation set is not used for network training. If the loss of the validation set has a similar downward trend to the loss of the training set, and the difference is not large, it means that the trained network has better prediction ability.

[0103] like Figure 7 The loss changes during the training process of the deep residual data reconstruction network model, where the solid line represents the change in the loss of the training set during the model training process, and the dotted line represents the change in the loss of the validation set after the model is trained with the training set. From the shape of the curve, as the number of training times increases, the loss value of the model is gradually decreasing, and eventually tends to be stable, which indicates that the data features learned by the model have a trend from growth to convergence, the model's adaptability to data is increasing, and the model's error is decreasing.

[0104] In other feasible embodiments, the input and output of the magnetotelluric reconstruction model are both Gramman angular field images corresponding to the one-dimensional magnetotelluric data segment, and the reconstruction process of the noisy data segment in step 5 is:

[0105] The Gramman angular field image corresponding to the noisy data segment is input into the magnetotelluric reconstruction model to obtain the Gramman angular field image corresponding to the high-quality data segment, and then the Gramman angular field image is inversely transformed to obtain a one-dimensional magnetotelluric data segment.

[0106] At this time, each layer of the reconstruction network is also a two-dimensional structure, referring to the network architecture of the classification network. The inverse conversion process of the Gramman angle and field is as follows:

[0107] Among them, diag() represents the diagonal element, and the corresponding Similarly, for the inverse transform of the Graman angle difference field, there exists:

[0108]

[0109] Based on the above formula, we can find the corresponding

[0110] From the above logic, it can be known that the above inverse conversion formula can be used to convert a two-dimensional image into a one-dimensional magnetotelluric signal. It should be understood that in consideration of time cost and accuracy requirements, the input and output of the magnetotelluric reconstruction model are preferably one-dimensional magnetotelluric data segments.

[0111] Figure 8 and Fig. 9 They are the magnetotelluric data before and after processing by the present invention, where (a), (b), (c), and (d) represent the four simultaneously observed signal components of Ex, Ey, Hx, and Hz, respectively. Figure 8 As shown, the present invention accurately identifies square wave noise and pulse noise in magnetotelluric data ( Figure 8 The recognition accuracy is as high as 97% or more, which is conducive to retaining high-quality data. On this basis, the present invention continues to reconstruct the identified noisy data fragments. Fig. 9 As shown in the figure, the present invention successfully suppresses the fragments identified as noise in the data, making the data smooth and continuous. The noise level of the data to be processed is unknown, but our residual network can still identify it. This shows that the present invention has strong generalization ability and excellent practicality and adaptability.

[0112] Fig.10 The apparent resistivity-phase curves before and after the corresponding data processing. Wherein (a) and (b) represent the apparent resistivity curves in the east-west direction and the north-south direction, respectively, (c) and (d) represent the phase curves in the east-west direction and the north-south direction, respectively, Noise represents the curve of the original noisy data, ResNet represents the curve after denoising by the present invention, DL represents the curve after dictionary learning denoising, Wavelet represents the curve after wavelet denoising, and ResNetW represents the curve directly reconstructed by the deep residual network without signal-noise identification. Obviously, the apparent resistivity curve of the original noisy data at high frequencies is relatively smooth and continuous, while it is in a chaotic and distorted state in the low frequency band. After denoising by the above four methods, obvious effects are achieved. The apparent resistivity curve at low frequencies becomes smooth and continuous, no longer chaotic and distorted, and these changes can also be found in the phase curve. The phase of the noise data is discrete, while the phase of the denoised data remains coherent at low frequencies. However, the method proposed in the present invention has the best denoising effect among these methods, because the results obtained by other methods have obviously more abnormal values ​​left in the apparent resistivity and phase curves than the method of the present invention, and the amplitude of the abnormal values ​​is obviously larger than that of the present invention.

[0113] Fig.11is the polarization direction before and after the processing of the present invention, where (a) and (b) are the electric field polarization direction and magnetic field polarization direction before the processing, respectively, and (c) and (d) are the electric field polarization direction and magnetic field polarization direction after the processing of the present invention, respectively. When the magnetotelluric data contains strong noise, the polarization direction will converge to a local angle, for example Fig.11 (a) -60° to 0° and Fig.11 (b) from 30° to 90°. However, after denoising, their polarization directions are Fig.11 (c) The electric field and Fig.11 The magnetic field in (d) is random overall. Therefore, these results show that the method of the present invention can well attenuate magnetotelluric noise, even if the noise level is unknown.

[0114] Embodiment 3:

[0115] This embodiment also provides a system based on the above-mentioned magnetotelluric signal recognition and reconstruction method, which includes:

[0116] A sample library construction module is used to construct a sample library 1 and mark a category label of each data segment; the sample library 1 includes a noisy data segment and a high-quality data segment, and the category label indicates whether the data segment is a noisy data segment or a high-quality data segment;

[0117] A Graman angular field image conversion module is used to perform a Graman angular field transformation on the data segments in the sample library 1 to obtain a Graman angular field image, wherein one-dimensional magnetotelluric data is converted into a two-dimensional Graman angular field image;

[0118] The module for constructing a magnetotelluric data classification model is used to construct a deep residual classification network and use the Gramman angle field image and its corresponding classification labels to perform network training to obtain a magnetotelluric data classification model.

[0119] The Graman angular field image conversion module is further used to segment the magnetotelluric data to be denoised and then perform Graman angular field transformation; the transformed Graman angular field transformation image is input into the magnetotelluric data classification model to obtain a classification label for each data segment, wherein the data segment is identified as a noisy data segment or a high-quality data segment based on the classification label;

[0120] A noisy data segment reconstruction or denoising module, used to reconstruct or denoise the identified noisy data segment;

[0121] The splicing module is used to sequentially splice the identified high-quality data segments with the reconstructed or denoised data segments to obtain a complete magnetotelluric denoising sequence.

[0122] It should be understood that the specific implementation process of the above-mentioned unit modules refers to the method content, and the present invention will not be specifically repeated here, and the division of the above-mentioned 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-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.

[0123] Embodiment 4:

[0124] This embodiment provides an electronic terminal, which includes: one or more processors;

[0125] a memory storing one or more computer programs;

[0126] The processor calls a computer program to implement:

[0127] A method for identifying and reconstructing magnetotelluric signals based on a deep residual network. Specific steps:

[0128] Step 1: Build sample library 1 and mark the category label of each data segment;

[0129] Step 2: performing Gramman angular field transformation on the data segments in the sample library 1 to obtain a Gramman angular field image, wherein the one-dimensional magnetotelluric data is converted into a two-dimensional Gramman angular field image;

[0130] Step 3: Build a deep residual classification network, and use the Gramman angle field image and its corresponding classification labels in step 2 to train the network to obtain a magnetotelluric data classification model;

[0131] Step 4: segmenting the magnetotelluric data to be denoised and then performing Gramman angle field transformation, and inputting the transformed data into the magnetotelluric data classification model constructed in step 3 to obtain a classification label for each data segment, wherein the data segment is identified as a noisy data segment or a high-quality data segment based on the classification label;

[0132] Step 5: Reconstruct or denoise the noisy data segments identified in step 4;

[0133] Step 6: Sequentially concatenate the high-quality data segments identified in step 4 and the reconstructed or denoised data segments in step 5 to obtain a complete magnetotelluric denoising sequence.

[0134] Among them, in some feasible methods, the processor calls a computer program to achieve: in step 5, the noisy data segments identified in step 4 are reconstructed using the magnetotelluric data reconstruction model; the magnetotelluric data reconstruction model is obtained by training based on a deep residual data reconstruction network, and the training process is to input the noisy data segments and their high-quality data segments into the deep residual data reconstruction network, and the model input of the magnetotelluric data reconstruction model obtained is the noisy data segments, and the output is the high-quality data segments.

[0135] The terminal also includes: a communication interface for communicating with external equipment and performing data interactive transmission.

[0136] The memory may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.

[0137] 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.

[0138] 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.

[0139] For the specific implementation process of each step, please refer to the description of the above method.

[0140] 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.

[0141] Embodiment 5:

[0142] This embodiment provides a readable storage medium storing a computer program, wherein the computer program is called by a processor to implement:

[0143] A method for identifying and reconstructing magnetotelluric signals based on a deep residual network. Specific steps:

[0144] Step 1: Build sample library 1 and mark the category label of each data segment;

[0145] Step 2: performing Gramman angular field transformation on the data segments in the sample library 1 to obtain a Gramman angular field image, wherein one-dimensional magnetotelluric data is converted into a two-dimensional image;

[0146] Step 3: Build a deep residual classification network, and use the Gramman angle field image and its corresponding classification labels in step 2 to train the network to obtain a magnetotelluric data classification model;

[0147] Step 4: segmenting the magnetotelluric data to be denoised and then performing Gramman angle field transformation, and inputting the transformed data into the magnetotelluric data classification model constructed in step 3 to obtain a classification label for each data segment, wherein the data segment is identified as a noisy data segment or a high-quality data segment based on the classification label;

[0148] Step 5: Reconstruct or denoise the noisy data segments identified in step 4;

[0149] Step 6: Sequentially concatenate the high-quality data segments identified in step 4 and the reconstructed or denoised data segments in step 5 to obtain a complete magnetotelluric denoising sequence.

[0150] Among them, in some feasible methods, a computer program is called to implement: in step 5, the noisy data segments identified in step 4 are reconstructed using a magnetotelluric data reconstruction model; the magnetotelluric data reconstruction model is trained based on a deep residual data reconstruction network, and the training process is to input the noisy data segments and their high-quality data segments into the deep residual data reconstruction network, and the model input of the magnetotelluric data reconstruction model obtained is a noisy data segment, and the output is a high-quality data segment.

[0151] For the specific implementation process of each step, please refer to the description of the above method.

[0152] 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.

[0153] Based on this understanding, the technical solution of the present invention, in essence or in other words, 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.

[0154] 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 method for identifying and reconstructing magnetotelluric signals based on deep residual networks. Features: The following steps are involved: Step 1: construct a sample library 1 and mark the category label of each data segment; the sample library 1 includes noisy data segments and high-quality data segments, and the category label indicates whether the data segment is a noisy data segment or a high-quality data segment; Step 2: performing Gramman angular field transformation on the data segments in the sample library 1 to obtain a Gramman angular field image, wherein the one-dimensional magnetotelluric data is converted into a two-dimensional Gramman angular field image; Step 3: Build a deep residual classification network, and use the Gramman angle field image and its corresponding classification labels in step 2 to train the network to obtain a magnetotelluric data classification model; Step 4: segmenting the magnetotelluric data to be denoised and then performing Gramman angle field transformation, and inputting the transformed magnetotelluric data into the magnetotelluric data classification model constructed in step 3 to obtain a classification label for each data segment, wherein the data segment is identified as a noisy data segment or a high-quality data segment based on the classification label; Step 5: Reconstruct or denoise the noisy data segments identified in step 4; Step 6: Sequentially concatenate the high-quality data segments identified in step 4 and the reconstructed or denoised data segments in step 5 to obtain a complete magnetotelluric denoising sequence.

2. The method according to claim 1, Features: When performing Gramman angular field transform on each data segment in step 2 to obtain a Gramman angular field image, the following steps are performed: Divide each data segment in sample library 1 into small data segments of equal length and perform normalization processing; Polar coordinate transformation is performed on each data segment; Calculate the Gramman angle sum field or the Gramman angle difference field between every two data segments; Then, a transformation is performed based on the Gramman angle sum field or the Gramman angle difference field to obtain a two-dimensional Gramman angle field image.

3. The method according to claim 1, Features: In step 5, the noisy data segments identified in step 4 are reconstructed using the magnetotelluric data reconstruction model; Among them, the magnetotelluric data reconstruction model is obtained by training based on a deep residual data reconstruction network. The training process is to input noisy data segments and their high-quality data segments into the deep residual data reconstruction network. The model input of the magnetotelluric data reconstruction model is a noisy data segment, and the output is a high-quality data segment.

4. The method according to claim 3, Features: The input and output of the magnetotelluric data reconstruction model are both one-dimensional magnetotelluric data segments.

5. The method according to claim 3, Features: The input and output of the magnetotelluric reconstruction model are both Gramman angular field images corresponding to the one-dimensional magnetotelluric data segment. The reconstruction process of the noisy data segment in step 5 is: The Gramman angular field image corresponding to the noisy data segment is input into the magnetotelluric reconstruction model to obtain the Gramman angular field image corresponding to the high-quality data segment, and then the Gramman angular field image is inversely transformed to obtain a one-dimensional magnetotelluric data segment.

6. The method according to claim 1 or 3, Features: The deep residual classification network or the deep residual data reconstruction network includes an input layer, a hidden layer and an output layer; Among them, the hidden layer is composed of a convolution layer, an identical residual block, a convolution residual block and a maximum pooling layer, the identical residual block includes a one-dimensional convolution and an identical connection, the convolution residual block includes a one-dimensional convolution and a one-dimensional point-by-point convolution, and the input and output of the identical residual block have the same number of channels; the convolution residual block changes the number of channels by a convolution with a convolution kernel size of 1, so that the input and output have the same number of channels.

7. The method according to claim 6, Features: The hidden layer consists of ten parts, namely, convolution layer 1, constant residual block 2, constant residual block 3, convolution residual block 4, constant residual block 5, convolution residual block 6, constant residual block 7, convolution residual block 8, constant residual block 9 and maximum pooling layer 10. The constant residual block includes two one-dimensional convolutions and one constant connection, and the convolution residual block includes two one-dimensional convolutions and one one-dimensional point-by-point convolution.

8. A system based on the method according to any one of claims 1 to 5, Features: include: A sample library construction module is used to construct a sample library 1 and mark a category label of each data segment; the sample library 1 includes a noisy data segment and a high-quality data segment, and the category label indicates whether the data segment is a noisy data segment or a high-quality data segment; A Graman angular field image conversion module is used to perform a Graman angular field transformation on the data segments in the sample library 1 to obtain a Graman angular field image, wherein one-dimensional magnetotelluric data is converted into a two-dimensional Graman angular field image; The module for constructing a magnetotelluric data classification model is used to construct a deep residual classification network and use the Gramman angle field image and its corresponding classification labels to perform network training to obtain a magnetotelluric data classification model. The Graman angular field image conversion module is further used to segment the magnetotelluric data to be denoised and then perform Graman angular field transformation; the transformed Graman angular field transformation image is input into the magnetotelluric data classification model to obtain a classification label for each data segment, wherein the data segment is identified as a noisy data segment or a high-quality data segment based on the classification label; A noisy data segment reconstruction or denoising module, used to reconstruct or denoise the identified noisy data segment; The splicing module is used to sequentially splice the identified high-quality data segments with the reconstructed or denoised data segments to obtain a complete magnetotelluric denoising sequence.

9. An electronic terminal, Features: include: one or more processors; a memory storing one or more computer programs; The processor calls a computer program to implement: The steps of the method according to any one of claims 1 to 5.

10. A readable storage medium, Features: A computer program is stored, which is called by a processor to implement: The steps of the method according to any one of claims 1 to 5.