The use of electromagnetic (EM) measurements is well known in the oilfield industry. Both logging while drilling (LWD) and wireline (WL) logging techniques are commonly utilized to determine electromagnetic properties of a subterranean formation, which, along with porosity measurements, may indicate the presence of hydrocarbons in the formation. Moreover, EM LWD measurements are commonly employed in geosteering operations to provide information from which drill bit steering decisions may be made.
When evaluating such EM measurements, the reliability (or uncertainty) of the data is often considered. Such reliability (or uncertainty) may be quantified by the level of systematic error and the standard deviation. Quantitative uncertainties are desired for the purpose of data usage automation. Measurement uncertainties are sometimes obtained by making measurements where the true values are known and comparing the measurements with the true values. However, this approach is not practical in most scenarios, particularly in EM LWD operations where the true values are unknown.
The use of customized noise models may also be used to estimate measurement uncertainties. One limitation with the use of a noise model is that it generally requires an assumed formation model which is generally not available or known with certainty in field operations. Moreover, for LWD operations, the EM data sent to the surface is severely limited by telemetry bandwidth. Owing to this limitation, only the final processed data channels are available at the surface. Without access to the intermediate signals (e.g., the raw EM voltage measurements, etc.) applying a noise model is difficult.
There is a need in the industry for improved methods for estimating EM measurement uncertainty, particularly in LWD operations.
For a more complete understanding of the disclosed subject matter, and advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
Methods and systems for estimating measurement uncertainty of electromagnetic (EM) logging measurements are disclosed. In one example embodiment, a method comprises deploying an EM logging tool in a wellbore; using the EM logging tool to make EM logging measurements in the wellbore; and evaluating the EM logging measurements with a trained machine learning model to estimate the measurement uncertainties of the EM logging measurements, wherein the trained machine learning model is trained using a training data set made up of modeled EM logging measurements and corresponding measurement uncertainties.
In the illustrated embodiment, the EM tool 50 is commonly deployed in a bottom hole assembly (BHA) including other downhole tools. The BHA may further include, for example, a rotary steerable system (RSS), a mud motor, a drill bit 32, a measurement while drilling (MWD) tool, and/or one or more other LWD tools. The other LWD tools may be configured to measure other properties of the formation through which the wellbore penetrates, for example, including NMR relaxation times, density, porosity, sonic velocity, gamma ray counts, and the like. A suitable MWD tool may be configured to measure one or more properties of the wellbore 40 as it is drilled or at any time thereafter. The physical properties may include, for example, pressure, temperature, wellbore caliper, wellbore trajectory (attitude), a toolface angle, and the like.
It will, of course, be understood that the disclosed embodiments are not limited to any particular BHA configuration. Nor are they limited to any particular type of drilling operation. Moreover, while geosteering applications are limited to LWD applications, the disclosed methods are not necessarily limited to geosteering or logging while drilling applications (as depicted on
The transmitter T and receiver R may include substantially any EM transmitter and receiver components suitable for use in a downhole tool (e.g., in an LWD tool). While not limited in this regard, it may be advantageous in certain embodiments to employ transmitter and receiver configurations that enable directional measurements such as voltage tensor measurements (or partial voltage tensor measurements) to be made. In the depicted example, the transmitter T and receiver R may each include a triaxial antenna arrangement (e.g., three mutually orthogonal antennas including an axial antenna and first and second transverse antennas that are orthogonal to one another in this particular embodiment). For example, the transmitter and receiver may each include three collocated antennas having mutually orthogonal moments Tx, Ty, Tz and Rx, Ry, Rz that are aligned with corresponding x-, y-, and z-directions (axes) in the wellbore or tool reference frames. By collocated it is meant that the axial spacing of the antenna moments is generally less than the diameter of the tool collar on which they are deployed. In another triaxial arrangement, the transmitter and/or receiver may include three rotationally offset, collocated or non-collocated tilted antennas (e.g., rotationally offset by 120 degrees from one another). While the disclosed embodiment depicts a configuration in which the z-direction is aligned with the tool axis 51, it will be understood that the disclosed embodiments are not limited to any particular coordinate system or any particular orientation of the coordinate system (e.g., any particular orientation of the x-, y-, and z-axes on the tool).
The disclosed embodiments are, of course, not limited to any particular transmitter and receiver configurations on the tool collar. The transmitter(s) may be deployed above (up hole from), below (down hole from), and/or interspersed with the receiver(s). Nor are the disclosed embodiments limited to any particular antenna arrangements within the transmitters and receivers or to the use of collocated transmitting and/or receiving antennas as depicted. The transmitter T and receiver R may include substantially any suitable antenna configurations, for example, including axial, transverse, and/or tilted antenna arrangements. As is known to those of ordinary skill in the art, an axial antenna is one having a moment (e.g., Tz and Rz in
It will be appreciated that the disclosed embodiments may also be well suited for use with deep EM LWD measurements. Thus, while not depicted in
With continued reference to
In certain advantageous embodiments, the controller 59 may be configured to evaluate the EM measurements with a trained machine learning model to estimate a measurement uncertainty or standard deviation as described in more detail below. In such embodiments, the trained ML model may be stored in downhole memory and accessed via one or more processors in the controller to estimate the measurement uncertainty.
It will be appreciated that EM logging measurements may be made by electromagnetically coupling an EM transmitting antenna with one or more receiving antennas. Coupling an EM transmitting antenna and one or more receiving antennas may be accomplished by applying a time varying electrical current (an alternating current) to the transmitting antenna to transmit EM energy into the surrounding environment (including the formation). This is referred to as “firing” the transmitter. The transmitted energy generates a corresponding time varying magnetic field in the local environment (e.g., in the tool collar, borehole fluid, and formation). The magnetic field in turn induces electrical currents (eddy currents) in the conductive formation. These eddy currents further produce secondary magnetic fields which may produce a voltage response in a receiving antenna (the EM energy is received, for example, via measuring the complex-valued voltage in the receiving antenna). Therefore, in example embodiments, acquiring or making electromagnetic measurements may be understood to mean firing a transmitting antenna and receiving corresponding voltages at one or more receiving antennas (e.g., while drilling).
The disclosed embodiments may make use of substantially any suitable downhole EM measurements, for example including EM induction measurements and/or EM propagation measurements. As is known to those of ordinary skill in the art, commercial induction measurements are commonly made at a frequency in a range from about 10 kHz to about 100 kHz. In-phase and quadrature (out-of-phase) voltage signals may be measured at each receiver. These voltage signals may be related to an apparent resistivity, for example, by dividing the voltage by a tool constant. Commercial propagation measurements are commonly made at higher frequencies, for example, in a range from about 100 kHz to about 2 MHz. A propagation measurement generally includes a logarithm of a ratio of at least first and second voltage measurements, for example, as follows: AT+iPS=ln (V1/V2) where V1 and V2 represent first and second voltage measurements obtained from first and second distinct transmitter receiver couplings (e.g., made at first and second receiving antennas), and AT and PS represent the attenuation and phase shift of the voltage measurement. Deep EM logging measurements are commonly made at lower frequencies (e.g., in a range from 1 kHz to 100 kHz) and may also have a sufficiently large propagation constant (owing to the large spacing distance between the transmitters and receivers) such that the phase shift and attenuation can also be accurately measured.
Those of ordinary skill in the art will readily appreciate that such measurements are commonly made while rotating and translating an EM logging tool in a wellbore to obtain a plurality of measurements made at a plurality of corresponding measured depths (e.g., while drilling). The measurements may be plotted versus measured depth to generate a log or versus measured depth and toolface angle to generate an image.
During a logging operation the antenna voltages may be measured as the tool rotates (e.g., during drilling). The measured voltages may be fit to a function of the rotation angle θ (also referred to as the toolface angle or the azimuth angle), for example, to obtain average (DC), first-harmonic cosine (FHC), first harmonic sine (FHS), second harmonic cosine (SHC), and second harmonic sine (SHS) voltage coefficients as follows:
Where Vij represents the measured voltages and the coefficients i and j represent the transmitting and receiving antennas. It will be appreciated that Vij may include, for example, a 3×3 voltage tensor and that each of the voltage coefficients may also include a 3×3 tensor (e.g., in which i and j can each be x, y, or z). It will further be appreciated that these voltage coefficients, or the attenuation and phase shift of these voltage coefficients, may be considered to be the electromagnetic measurements or the “measured” voltages at each point or depth in a log. Likewise. the attenuation and phase shift of each of these voltage coefficients may be considered to the be electromagnetic measurements.
Geosteering and reservoir mapping electromagnetic tools, for example as described above, may provide complex deep and/or ultra-ultradeep azimuthal resistivity (UDAR) measurements while drilling. Using interpretation software, these measurements can be used to profile subterranean formation structure and reservoir fluid distribution up to and exceeding distances of 100 feet (30 meters) away from a wellbore. The quality of this interpretation is highly dependent on the quality of the EM measurements. In practice, it is often necessary to distinguish measurements based on their noise level to avoid biasing or even deteriorating the interpreted results with unreliable data.
Since acquiring and processing UDAR measurements is a challenging task, measurement uncertainty has never been systematically investigated. In commercial operations, the standard approach has been for geosteering engineers to use their experience to manually remove channels expected to be less reliable. UDAR noise models may be consulted to simulate tool responses based on a given formation, however, knowledge about the true formation can only be obtained after the interpretation process.
In the disclosed embodiments, LWD resistivity measurements (such as UDAR measurements) are evaluated using a trained machine-learning algorithm to estimate measurement channel noise levels directly from the raw measurements; thus, avoiding the need for an initial interpretation. To this end, a large training data set may be created (e.g., computed) with raw measurements and noise levels from a wide range of simulated scenarios. A machine-learning algorithm, for example, a neural network, such as a feed forward neural network, or a decision forest, may be trained to predict these noise levels directly from the measurements without access to the actual scenario (e.g., without access to the formation model or structure). The trained model may then be used to evaluate the noise levels and uncertainties in unseen scenarios and real-world operations.
Turning now to
With continued reference to
A training data set is acquired at 142 and used to train the ML model at 144. The training data set (acquired as described in more detail below with respect to
Turning now to
With continued reference to
As described above, the ML training process is intended to find correlations between EM measurement data (measurement logs) and uncertainties in the measurements such that the trained ML model can output uncertainties for any given set of measurement logs, without foreknowledge of a particular formation model and/or the intermediate raw voltages. The drilling parameters selected in
With continued reference to
With reference again to
In linear regression models, the model assumes that the relationship between the input and the output is linear. The relationship may be modeled through a disturbance term (or error), which is an unobserved random variable that adds noise to the linear relationship. In such embodiments, the error or errors may be assumed, for example, to be Gaussian and an ordinary least-squares approach may be used to estimate the parameters of the model (e.g., the optimum parameter may be defined such that it minimizes the sum of the mean squared loss).
In decision tree models, a training model is configured to predict the classes or value of a target variable by learning simple decision rules inferred from the training data. For example, to predict a label for an input, the model starts at the root of the tree and compares a value or values of the root attribute with the input attribute. The model then selects a corresponding branch and follows the same process along a path of subsequent branches. A suitable training process may include defining an original set as a root node, iterating through every unused attribute of the set and calculating and entropy and information gain of this attribute, selecting the attribute that has the smallest entropy or largest information gain, splitting the set by the selected attribute to produce a subset, and continuing to recur on each subset, considering only attributes not previously selected.
The disclosed embodiments may make use of various decision tree models, for example, including ensemble models that combine several base models to produce an optimal or best prediction, random forest regression models that construct multiple decision trees during training and output an average or weighted average prediction, or a gradient boosting model. A suitable gradient boosting model may include three primary components; a loss function, weak learners, and an additive model. The loss function may estimate the quality of the model predictions. The weak learner is a model that classifies the data poorly. An additive model is a sequential approach of adding multiple decision trees such that the model is closer to its final version with each iteration.
The disclosed embodiments may advantageously make use of a feed forward neural network. A NN is a collection of mathematical models (referred to as neurons or nodes) that are configured to approximate nonlinear functions. The neurons may be arranged in a sequence of layers including a first layer (the input layer), one or more intermediate layers or hidden layers, and a final layer (the output layer). The input into each neuron is generally a number obtained by a linear combination of the outputs of connected neurons in the previous layer. Each neuron computes a corresponding output from the inputs according to its model or equation. The performance of the neurons depends upon the strength (or weights) of the connections between the neurons. When a NN is being trained, all parameters may start with random values. During training, the weights and thresholds may be adjusted at each iteration until the model converges. The training may include use of a loss function such as a mean squared error (MSE) function as well as an Adam Optimizer. Moreover, the NN may be trained using known libraries in Python, scikit-learn and/or PyTorch.
In particularly advantageous embodiments, the feed-forward NN includes one or more (e.g., a plurality of) dense hidden layers. By dense it is meant that each neuron in a layer is connected to all of the neurons from the previous layer and to all of the neurons in the subsequent layer. In one example embodiment, the NN includes at least three dense hidden layers (e.g., at least four, or at least five). In advantageous embodiments, each of the dense layers may have twice as many neurons as the number of EM measurement channels. For example, the EM logging measurements may include at least 12 measurement channels (e.g., 24, 36, 48, 60, 72, 84, or 96). In such embodiments, the dense hidden layer may include 24 neurons (e.g., 48, 72, 96, 120, 144, 168, or 192). In addition to the assigned weight, each neuron in the hidden layers includes an activation function that filters the signal to provide a final output value. In example embodiments, the activation function may include a ReLU piecewise linear function that outputs the input when it the input is positive and outputs zero when the input is negative. Model training may further include a hyper-parameter optimization step, for example, employing a grid search.
Upon completion of the model training, the trained model may be validated or tested using a validation data set that also includes modeled EM measurements and a corresponding uncertainty. In example embodiments, the trained model performance may be determined by the relative error of the estimated standard deviation with respect to the true standard deviation computed using the noise model. As also noted below, it may be desirable for the trained ML model to have a relative error of less than 10% for at least 90% of the data obtained in each measurement channel.
Turning now to
In
In a proof of concept evaluation, the disclosed methods were applied to the noise model of a UDAR EM logging tool having 96 measurement channels, including 8 types of measurements at 6 distinct measurement frequencies and 2 receivers. The scenarios were generated using a formation distribution designed to cover most cases that would be encountered in true to life EM LWD operation, with noise levels being computed as the standard deviation of output for each channel. The training dataset had 100,000 samples and the test set had 10,000 samples. The standard deviation for each sample was computed from a set of 1000 simulated noise levels/configurations. The final model performance was computed using the relative error, with an error goal of less than 10% for at least 90% of all the data in the test set.
Feed forward neural networks were found to provide the best results, particularly when predicting each of the channels in parallel. It was found that attempting to predict noise in one channel may help bootstrap the feature search for other channels as well. With 4 hidden layers, this preliminary evaluation was able to reach the 10% target for 42 of the 96 channels, in particular, for the low-frequency channels. The worst performing channel achieved a relative error of 20.6% for the best 90% of its data. Classifying networks that focused on one channel at a time were found to improve this result. As an additional test, the trained network was used to provide predictions on simulations of actual scenarios and benchmark problems, in which the method performed very well. Moreover, it was also found that utilizing a distribution of noise in the model training further improved the performance of the trained model.
It will be understood that the present disclosure includes numerous embodiments. These embodiments include, but are not limited to, the following embodiments.
In a first embodiment a method for estimating a measurement uncertainty of electromagnetic (EM) logging measurements made in a wellbore comprises deploying an EM logging tool in a wellbore; using the EM logging tool to make EM logging measurements in the wellbore; and evaluating the EM logging measurements with a trained machine learning model to estimate the measurement uncertainties of the EM logging measurements, wherein the trained machine learning model is trained using a training data set made up of modeled EM logging measurements and corresponding measurement uncertainties.
A second embodiment may include the first embodiment, wherein the EM logging measurements comprise at least one of a full or partial 3×3 coupling tensor including xx, xy, xz, yz, yy, yz, zx, zy, and/or zz EM couplings, harmonic resistivity, harmonic anisotropy, symmetrized directional attenuation, and anti-symmetrized directional attenuation that are derived from raw voltage measurements.
A third embodiment may include any one of the first through second embodiments, wherein the EM logging measurements comprise a plurality of deep reading EM measurement channels made at a plurality of distinct frequencies.
A fourth embodiments may include any one of the first through third embodiments, wherein the evaluating the EM logging measurements with the trained machine learning model is performed downhole using a processor deployed in the EM logging tool.
A fifth embodiment may include any one of the first through fourth embodiments, wherein the estimated measurement uncertainties comprise standard deviations of the EM logging measurements.
A sixth embodiment may include any one of the first through fifth embodiments, further comprising computing the training data set using a forward model and a corresponding noise model based on a plurality of one-dimensional formation models and a plurality of noise measurement levels; and training a machine learning model with the computed training data set to obtain the trained machine learning model.
A seventh embodiment may include any one of the first through sixth embodiments, wherein the trained machine learning model comprises a trained feed forward neural network.
An eight embodiment may include the seventh embodiment, wherein the trained feed forward neural network comprises an input layer, a plurality of dense hidden layers, and an output layer.
A ninth embodiment may include the eighth embodiment, wherein the EM logging measurements comprise at least 12 measurement channels; the input layer and output layer each comprise a single neuron for each of the at least 12 measurement channels; and each of the plurality of dense hidden layers comprises two neurons for each of the at least 12 measurement channels.
A tenth embodiment may include the ninth embodiment, wherein the trained feed forward neural network has a relative error of less than 10% for at least 90% of the measurement channels.
In an eleventh embodiment, a downhole electromagnetic (EM) logging tool comprises an EM transmitter configured to transmit EM energy into a wellbore; an EM receiver configured to be electromagnetically coupled with the EM transmitter and to receive voltage signals corresponding to the transmitted EM energy; and a processor configured to (i) cause the EM transmitter to transmit the EM energy into the wellbore, (ii) cause the EM receiver to receive the voltage signals, (iii) process the received voltage signals to construct EM measurements; and (iv) evaluate the EM measurements with a trained machine learning model to estimate measurement uncertainties of the EM measurements.
A twelfth embodiment may include the eleventh embodiment, wherein the EM measurements comprise at least one of a full or partial 3×3 coupling tensor including xx, xy, xz, yz, yy, yz, zx, zy, and/or zz EM couplings, harmonic resistivity, harmonic anisotropy, symmetrized directional attenuation, and anti-symmetrized directional attenuation that are derived from the received voltage signals.
A thirteenth embodiment may include any one of the eleventh through twelfth embodiments, wherein the estimated measurement uncertainties comprise standard deviations of the EM measurements.
A fourteenth embodiment may include any one of the eleventh through thirteenth embodiments, wherein the trained machine learning model comprises a trained feed forward neural network.
A fifteenth embodiment may include the fourteenth embodiment, wherein the EM measurements comprise at least 12 measurement channels; the trained feed forward neural network comprises an input layer, a plurality of dense hidden layers, and an output layer; the input layer and output layer each comprise a single neuron for each of the at least 12 measurement channels; and each of the plurality of dense hidden layers comprises two neurons for each of the at least 12 measurement channels.
In a sixteenth embodiment, a method for training a machine learning model comprises selecting a formation model and a configuration of an electromagnetic (EM) logging tool; computing synthetic EM voltages using a forward model, the selected formation model, and the selected configuration of the EM logging tool; applying noise to the synthetic EM voltages a plurality of times to obtain a set of noisy synthetic EM measurements; computing a standard deviation from the set of noisy synthetic EM measurements; repeating the selecting, the computing synthetic EM voltages, the applying, and the computing the standard deviation for a plurality of formation models to obtain a training data set including a set of modeled EM measurements and corresponding standard deviations; and training a machine learning model with the training data set to obtain a trained machine learning model.
A seventeenth embodiment may include the sixteenth embodiment, wherein the machine learning model comprises a feed forward neural network.
An eighteenth embodiment may include the seventeenth embodiment, wherein the feed forward neural network comprises an input layer, a plurality of dense hidden layers, and an output layer.
A nineteenth embodiment may include any one of the sixteenth through eighteenth embodiments, wherein the applied noise comprises at least one of electronic noise, clock-fluctuation induced phase noise, toolface angle noise, receiver gain ratio noise, and alignment angle noise.
A twentieth embodiment may include any one of the sixteenth through nineteenth embodiments, wherein the computing a standard deviation further comprises computing a distribution of noise from the set of noisy synthetic EM measurements.
Although estimating EM LWD measurement uncertainty using machine learning has been described in detail, it should be understood that various changes, substitutions and alternations can be made herein without departing from the spirit and scope of the disclosure as defined by the appended claims.
This application claims priority to U.S. Provisional Patent Application No. 63/587,478, which was filed on Oct. 3, 2023 and is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
63587478 | Oct 2023 | US |