1 Introduction

Well logging is a very important technique for reservoir characterization and has been in use since Conrad and Marcel Schlumberger first tested this technique in the year 1912, for the iron mines located in Normandy, France. This technique involves measuring the geophysical properties of the subsurface and translating the log response to determine the variations in the petrophysical properties in the subsurface. These include finding volume of clay, lithology, grain size, water saturation, porosity and permeability, all of which are essential for reservoir characterization. Various log responses exist, and the commonly used logs are sonic logs, self potential logs, gamma ray logs, and resistivity logs. The subsurface is sampled very densely, with a resolution as low as 0.1 m and therefore gives an excellent structural and stratigraphic mapping of the subsurface. Using the petrophysical parameters the estimation of the intended reservoir extent and pay thickness is characterized, which could be for either hydrocarbons or minerals, and plays a crucial role in their production (Ellis 1987).

The log responses can be used to obtain stratigraphic information of the reservoir (Igbokwe 2011; Li et al. 2014; Mory and Iasky 1996). The self potential and gamma ray logs are used for stratigraphic interpretation as they are good lithology indicators and based on the log responses, the depositional environment ranging from deltaic and fluvial setting to clastic marine can be interpreted. The transgressive and regressive facies change can also be identified in the depositional environment from the log responses. A bell shaped response of either of the log responses indicates a transgressive environment. A funnel shaped response of either of the log responses indicates a regressive environment. The log responses can also be interpreted to give structural information of the subsurface (Hesthammer and Fossen 1998; Trautwein-Bruns et al. 2011; Chattopadhyay and Ghosh 2006; Serra 1984). The dipmeter log response is very useful to identify faults. In a plot of dip versus azimuth, faults can be recognized by the variations in dip patterns, where the dip amount suddenly increases and then decreases as in a case of normal fault and vice versa in a reverse fault. From the same plot unconformities can be recognized by the sudden change or sudden reversal in the dip direction, while folds can be identified by the gradual changes in the dip direction and dip amount. Fractures and lineaments in the borehole can also be identified by image logging tools like Formation Micro Imaging (FMI), Borehole Televiewer (BHT), and Formation Micro Scanner (FMS) logging tools (Shahinpour 2013; Williams and Johnson 2004; Kabir et al. 2009). The image logging tools obtain a clear image of the borehole just like the core samples. The FMI and FMS imaging tools obtain images based on the variation of the resistivity values of the boreholes. The BHT tool uses the principle of reflection of acoustic waves of high frequency (0.5–1.5 MHz) and obtains an image of the borehole based on the arrival times of the acoustic waves. The image logging tools though have a poor depth of penetration and are correlated with the structural information to obtain a better characterization of the reservoir and aid in the extraction process of the target reservoir.

Correlation of logs is done to match the lithology of a formation between two wells identified from the signatures of the log response. The log correlation gives a complete structural and stratigraphic information of the reservoir. The log signatures mimic the geophysical properties of the formation including geomachanical properties, electrical properties, and characterize lithology (Lukeš 2005; Luthi and Bryant 1997). Various techniques have been developed to correlate the log responses which include neural networks, cross-correlation algorithms with covariance measures, and using artificial intelligence with rule based systems. In the neural network based correlation techniques, the neurons are initially trained to identify a particular geologic marker for a given well and subsequently these are used to identify the markers in other wells. In the cross-correlation based well correlation techniques, the cross-correlation of raw well log data for corresponding logs between wells are done and a high correlation implies a correlation of strata (Dashtian et al. 2011). The artificial intelligence based techniques suffer from the drawback that it is not able to identify gaps and stretching of sequences which probably might be due to the presence of uncorrelated strata. To correlate the strata with the log response seismic data is used and a seismic to well tie is made by generating synthetic seismograms from the log data (Lorenzo and Hesselbo 1993; White and Simm 2003; Hampson-Russell 1999; Herrera and Van Der Baan 2012).

In this work we propose a novel method for stratigraphic correlation of wells, using discrete wavelet transform (DWT) and Fourier transform (FT) to identify stratigraphic interfaces, and using multi-scale analysis to characterize each interface. The fractal dimension of beds is found in this approach and the beds which have similar fractal dimensions are believed to characterize an independent strata, and based on this outlook the correlation between the wells is done. The feasibility of this technique is explained through synthetic examples and then tested on real data. The veracity of results is tested using seismic data between the wells using interpreted marker beds.

2 Detection of stratigraphic interfaces

Detection of stratigraphic interfaces can be visualized in the well log response by the sudden variation in the signal accompanying the log. These abrupt changes in the log response indicate sudden lithological changes in the concerned strata. Continuous wavelet transform (CWT) has been applied for bed boundary detection in the past (Vermaa et al. 2012; Choudhury et al. 2007). The advantage that CWT possesses over other techniques like fourier transform (FT) and Short Time Fourier Transform is that it gives good spatial and temporal resolution (Polikar 1996). The CWT analysis of the log response using a suitable mother wavelet is done through the variation of the scale factor x and translation factor y which complete the definition of the mother wavelet \( {\varphi }\left( {\left( {t - y} \right)/x} \right) \). This is defined in the following equation.

$$ W\left( {x,y} \right) = \frac{1}{{\sqrt {\left| x \right|} }}\int\nolimits_{ - \infty }^{\infty } {f\left( t \right){\varphi }\left( {\frac{t - y}{x}} \right)dt} $$
(1)

The wavelet coefficients W(xy) record the variations in the log response and presumed to occur due to lithological changes. In CWT analysis the mother wavelet is continuously shifted by changing the scale and translation factors. The scale factor is inversely proportional to the frequency of the signal. A high scale factor implies the lower frequency components are analyzed using the mother wavelet, whereas a low scale factor implies that the high frequency component of the signal are analyzed. The variation of the scale factor changes the shape of the mother wavelet. The translation factor controls the shifting of the mother wavelet which acts as a window function. Electrofacies association of well log signatures with core data has been done using CWT for studying the stratigraphy and deposition pattern (Perez-Muñoz et al. 2013; Panda et al. 2015) by varying the scale factor, and studying the wavelet coefficients of the well logs. But to validate this method it is very important to also have core data, as quiet often these changes do not have any geologic significance and are very misleading, especially when dealing with logs like gamma ray and SP which are more often very noisy. The noise here refers to the statistical nature of the log signatures. This method though promising fails to detect all the interfaces and does not give accurate depth information of all the interfaces, as demonstrated in this study through synthetic examples. Therefore we use discrete wavelet transform (DWT) and fourier transform (FT) to identify stratigraphic interfaces (Pan et al. 2008). DWT is used to denoise the log data and then it is analyzed using FT, and the various formation interfaces are consequently detected. In DWT analysis the variation of the scale factor is done as powers of 2 and not continuously which gives remarkable results (Yue et al. 2004). The DWT analysis gives coefficients called detail coefficients (CD) and approximation coefficients (CA) which correspondingly represent the high frequency component analysis and low frequency component analysis of the signal. In case of noisy signals the Approximation Coefficients are again operated by DWT to get another series of CA and CD. For reconstruction the Detail Coefficients are then inverse wavelet transformed. Mathematically they can be represented by the Eqs. 2, 3 and 4.

$$ {\text{cA}}_{y}^{0} = \mathop \sum \limits_{t} f\left( t \right) \cdot {\varphi }\left( {t - y} \right) $$
(2)
$$ {\text{cD}}_{y}^{j} = \mathop \sum \limits_{t} {\text{h}}_{{1\left( {t - 2y} \right)}} \cdot {\text{cD}}_{t}^{j - 1} $$
(3)
$$ {\text{cA}}_{y}^{j} = \mathop \sum \limits_{t} {\text{h}}_{{0\left( {t - 2y} \right)}} \cdot {\text{cA}}_{t}^{j - 1} $$
(4)
$$ {\text{h}}_{0y} = \frac{1}{\surd 2}\int\nolimits_{ - \infty }^{\infty } {\psi \left( {t/2} \right)\uppsi '\left( {t - y} \right)dt} $$
(5)
$$ {\text{h}}_{1y} = \frac{1}{\surd 2}\int\nolimits_{ - \infty }^{\infty } {\psi \left( {t/2} \right)\uppsi '\left( {t - y} \right)dt} $$
(6)
$$ {\text{R}}_{cDy}^{j} = \mathop \sum \limits_{t} {\text{h}}_{{1\left( {t - 2y} \right)}}^{\prime} \cdot {\text{cD}}_{t}^{j - 1} $$
(7)

The above equations highlights the process of the DWT analysis and the reconstruction of the denoised log response. Equation 2 explains the reconstruction process of the approximation coefficients, Eq. 3 elaborates on the reconstruction of the Detail Coefficients for level j, and Eq. 4 explains the reconstruction of the Approximation Coefficients for level j. Equations 6 and 7 denote weights which are used in defining the Approximation Coefficients and Detail Coefficients, respectively. The function ψ is the scale function which is orthogonal to the mother wavelet. The signal can be reconstructed using Eq. 7 (Misiti et al. 2000; Yue et al. 2004; Boggess and Narcowich 2001), where RcD is the reconstructed detail coefficients. The Fourier transform of the reconstructed signal is then taken to identify the frequency spectrum of the signal. Only those frequency components are chosen which have maximum energy or amplitude, and are then inverse transformed and the variation of this resultant signal is used for detection of stratigraphic interfaces. The inflection points on the resultant signal when plotted, represent boundaries of the formation interfaces and correspondingly give their respective depths. The mother wavelet chosen for analysis was the Haar wavelet which gave superior results as compared to other wavelets and their families.

In our study we use only gamma ray logs and the flowchart highlighting the DWT and FT operation for identification of stratigraphic interfaces is shown in Fig. 1. The DWT operation works as a filtering operation and decomposes the signal into approximation coefficients (equivalent to low pass filtering) and detail coefficients (equivalent to high pass filtering). The mother wavelet used in this operation was the Haar wavelet. Since there is a large statistical variation in the gamma ray log equivalent to noise, the signal is denoised using a 3 level decomposition, after which the detail wavelet coefficients (CD3) finally obtained are inverse transformed to get the reconstructed signal R CD , which is used for spectrum analysis. The decomposition level generally varies with the type of log signal used for analysis and is more for noisy signals like gamma ray logs, while even a single order decomposition is sufficient for less noisy signals. It is very important extract the Detail Coefficients from the signal, as they contain the high frequency components of the signal which has geologically crucial information and useful to identify thin and thick interfaces. If the log response is not denoised using DWT at its various decomposition levels, then it is very difficult to distinguish between signal and noise in the amplitude spectra when FT operations are done. The signal and noise in such situations have comparable strengths. Therefore when denoising using DWT operations, the sudden statistical fluctuations in the signal are eliminated and the stratigraphic formation signatures of the log response are better seen. A logarithmic transform is done at the end to the recovered signal D after DWT and FT operations, after which we obtain signal O which is used for stratigraphic interpretation.

Fig. 1
figure 1

The flowchart illustrating the steps involved in DWT and FT analysis of gamma ray logs

3 Multi-scale analysis

The multi-scale analysis of geophysical data is a new concept that has been applied to many fields of geophysical signal analysis ranging from earthquake seismology (Dimri et al. 2005; Srivardhan and Srinu 2014), magnetotellurics (Telesca et al. 2012), electrical methods (Vedanti and Dimri, 2003), gravity and magnetic methods (Maus and Dimri, 1994; Maus and Dimri 1996; Fedi 2003; Fedi et al. 1997), reservoir characterization using well logs (Ouadfeul and Aliouane 2013, 2011), and exploration seismology (Ouadfeul and Aliouane 2012; Saraswat et al. 2014).

Fractal analysis is the study of macrostructure properties through microstructure studies. The properties are scale invariant and do not change by changing the scale of observation. Fractal dimension is a statistical index generally a non-integer, which tells us how the system becomes complex when the scale of observation changes. It measures the degree of irregularity when measured over multiple scales and determines how the fractals change from Euclidean objects. Multifractals are a group of fractals which have different fractal dimensions depending on the scale of observation (Mandelbrot 1983; Theiler 1990; Barnsley 2013; Voss 1991; Kaye 2008). The fractal dimension of geophysical signals can be found through many methods and can be broadly classified under various methods like box counting methods, power spectrum methods, divider relations, variograms, and area/perimeter methods (Klinkenberg 1994). In this study the fractal dimension has been calculated by multi-scale analysis using Continuous Wavelet Transform (Dimri et al. 2005; De Cola 1989), as explained in Eq. 1, and has been borrowed from studies done in earthquake seismology. The input well log signal was analyzed using a mother wavelet under various scales ranging from 1 to 8.4. The variation in scales was done in steps of 0.1 and the wavelet coefficients were found. A linear power law relationship between the variation of wavelet coefficients and the change in the scale factor was assumed. Since the high scales represent the lower frequency variation of the signal, the upper limit of the scale range which gave good results was fixed at 4.4 through many trial and error observations. The variation of the wavelet coefficients V cw with scale factor x gave a straight line on a log–log plot whose slope gave the value of Holder Exponent H which is related to the fractal dimension D as demonstrated in Eqs. 8 and 9. The mother wavelet selected for analysis was the Daubechies family of wavelets of order 2 (db2) which gave good results. Other wavelets like the Symlets, Coiflets, Haar, and Morlet family of wavelets and their orders were also tried, but the db2 wavelet gave good results.

$$ V_{cw} \sim x^{H} $$
(8)
$$ 2D = 5 - H $$
(9)

If the upper limit of the scale range selected is further extended, then there is significant deviation observed on the plot characterized by Eq. 8. At large scale values there is significant deviation from the power law relation which we assume, and the interval is correspondingly adjusted such that the power law relation defined by the equation is maintained. Each stratigraphic interface identified using DWT and FT analysis is characterized by a fractal dimension and wells can be easily correlated depending on this value.

4 Synthetic signal

Synthetic gamma ray log signals were generated for two wells namely well-1 and well-2. Synthetic gamma ray logs were prepared as they are most commonly used in stratigraphic interpretation. The synthetic response was prepared for interfaces whose thickness and API values are detailed in Table 1. The layers which have a API value of less than 20 can be considered to be clean sand zones. Layers whose API values are greater than 80 can be considered to be pure shale zones. Intermediate values can be mixed shale-sand zones. The synthetic response were prepared by adding a 20 % random noise to the original signal (API value) characterizing the synthetic anomaly. The noise here refers to statistical fluctuations in the synthetic signal and was taken to vary up to ± 20 % of the mean value of the signal, characterizing a particular interface. The depth interval for well-1 was 50 m, whereas the depth interval for well-2 was 60 m. The stratigraphic interfaces were successfully identified using DWT and FT operations and were plotted in Figs. 2 and 3 for both the wells respectively. A multiscale CWT analysis was also performed on both the wells and plotted in Figs. 6 and 7 respectively. The scale factor for this analysis was varied between 1 and 30 in steps of 1 for well-1 and 1 to 35 for well-2 in steps of 1 respectively. The analysis was done using four commonly used mother wavelets, namely Haar, Daubechies 2, Gauss 1, and Morlet. The fractal dimensions were calculated based on the depth information of the various interfaces, obtained using DWT and FT analysis and was tabulated in Table 2.

Table 1 The design parameters for the synthetic log responses for well-1 and well-2
Fig. 2
figure 2

a The raw synthetic gamma ray log response of well-1. b The log response after DWT and FT operations from which stratigraphic interfaces can be identified at the inflection points for well-1

Fig. 3
figure 3

a The raw synthetic gamma ray log response of well-2. b The log response after DWT and FT operations from which stratigraphic interfaces can be identified at the inflection points for well-2

Table 2 The actual and derived depths of the stratigraphic interfaces and their corresponding fractal dimensions for well-1 and well-2

5 Case study

The well data was taken from the Netherlands Offshore F3 Block, with surveys undertaken by dGB Earth Sciences (https://opendtect.org/osr/pmwiki.php/Main/NetherlandsOffshoreF3BlockComplete4GB). The block was explored using 3D seismic and well log surveys for the presence of hydrocarbons. The datasets have been processed and interpreted using software OpendTect by dGB Earth Sciences and is available for viewing and further processing in the public domain. Geological studies for the entire basin has been undertaken and many characteristic formations have been identified. The formations which extend between the two wells namely F02-1 and F03-4 needs to be ascertained and gamma ray log responses were (commonly used in stratigraphic interpretation) taken for both the wells and correlated using an interpreted seismic slice in OpendTect which was present in between both the wells. The logs have a sampling interval of 0.152 m. The depth interval selected for this study was taken between 600.145 and 1100.02 m (TVDSS) for well F02-1 and 600.151 and 1100.02 m (TVDSS) for well F03-4. Tracking of formations was performed and there were 2 formations namely FS4 and Truncation1 which were continuous and extended between both the wells, as shown in Fig. 8. Their corresponding depths are tabulated in Table 3. Using the gamma ray log responses the various stratigraphic interfaces for both the wells were found with DWT and FT analysis, which were then analyzed to find the fractal dimensions. The various formation interfaces were correlated using the obtained fractal dimension values and the results are tabulated in Table 4.

Table 3 The depth of the target formations existing between wells F02-1 and F03-4
Table 4 The predicted depths of the stratigraphic interfaces and their corresponding fractal dimensions for wells F02-1 and F03-4

6 Discussion of results

The DWT and FT based analysis of the well log signals were successfully applied to synthetic and real gamma ray log data. The analysis was first done on synthetic datasets for two synthesized wells. For noisy gamma ray logs the db1 wavelet was chosen with a 3rd order decomposition level, using the Haar wavelet. After a first order decomposition, the obtained CA1 coefficients were again DWT analyzed and the second order Approximation Coefficients CA2 were again DWT analyzed to get the third order detail coefficients CD3, which were then inverse transformed using inverse wavelet transform to get the reconstructed signal. The raw signal is plotted Figs. 2a and 3a for both the wells respectively. The reconstructed signal was then FT analyzed and the amplitude spectrum of the log response are seen in Fig. 4a, b. Only those parts of the spectrum were selected for further analysis that had maximum amplitude as shown in Fig. 5a, b, which were then inverse Fourier transformed, to get the response D. The amplitude scale of the response D was then logarithmically transformed as given by Eq. 10 (Jang and Jang 2003), for obtaining a smooth response and plotted in Figs. 2b and 3b respectively. It can be seen that the inflection points on the signal when correlated with the log signal, gives the corresponding depth of the various stratigraphic interfaces as tabulated in Table 2. The derived depth of the stratigraphic interfaces are picked from the inflection points and tabulated. The results are compared with actual depths of the formations which were selected when designing the synthetic signal. The results of the detection of the various formation interfaces have a good match with the actual depths as evident from Table 2 respectively. Based on the interfaces detected from the DWT and FT analyzed reconstructed log signal the fractal dimensions were found. These are also tabulated in Table 2. The variation in scale parameter was done through trial and error method and was varied between 1 and 4.4 in steps of 0.1 for the synthetic data, using the db2 wavelet. The results show that based on the obtained values, the beds 1-9 correlate with beds 4-12 for well-1 and well-2 respectively. The depths which are predicted and derived are from DWT and FT analysis are very accurate with an error of ±1 m.

Fig. 4
figure 4

a Power spectrum of the reconstructed signal for well-1. b Power spectrum of the reconstructed signal for well-2

Fig. 5
figure 5

a Frequency range selected for well-1. b Frequency range selected for well-2

$$ A = log2\left( {\frac{D}{440}} \right) + 69 $$
(10)

The synthetic datasets were also subjected to a CWT analysis to find out the stratigrapic interfaces, and the results of the analysis are shown in Figs. 6 and 7, respectively for both the wells. The plot is a scalogram of the wavelet coefficients for 4 commonly used mother wavelets namely Haar, Daubechies 2, Gauss 1, and Morlet. The scale range used in the analysis was between 1-30 for well-1 and 1-35 for well-2 respectively in steps of 1. In the scalogram, the center of the cone of influence indicates the depth of the corresponding interface. The results of well-1 for the Haar wavelet shows that it is successful in deciphering some of the bed boundaries, but fails to detect all of them. The interface at depth 1244 and 1205 m is not deciphered. There is a very faint signature obtained for the interface present at 1227 m. Also the interfaces at depths 1233 and 1227 m are not accurately predicted. This is similar with the Daubechies 2 and the Gauss 1 wavelets as well for the same scale range, whereas the Morlet wavelet also seems to give the same results but it is very difficult to find the center of the cone of influence in this wavelet which gives the accurate depth of the interfaces in the chosen scale range. The results of well-2 are also somewhat similar for all the 4 wavelets. The Haar wavelet is successful in deciphering all the interfaces, except for the ones at depths 1206 and 1237 m. Also the signatures from interfaces at depths 1224 and 1244 m are very weak and not convincing. Therefore it is necessary to have a core data to corroborate the results in such cases and the results based on CWT analysis alone cannot be used for stratigraphic interpretation and correlation of wells. This is similar for the other 3 wavelets as well. The Haar wavelet though performs the best when compared with other wavelets.

Fig. 6
figure 6

a The synthetic log response of well-1. Scalogram responses of b Haar (1–30), c Daubechies 2 (1–30), d Gauss 1 (1–30), e Morlet (1–30)

Fig. 7
figure 7

a The synthetic log response of well-2. Scalogram responses of b Haar (1–35), c Daubechies 2 (1–35), d Gauss 1 (1–35), e Morlet (1–35)

The data from wells F02-1 and F03-4 were correlated after interpreting the seismic section between them as shown in Fig. 8, and the results are tabulated in Table 3. Only two formations namely Truncation 1 and FS4 correlate between the wells through the seismic section, for the given depth interval. The log data for the two wells between the depth interval 600–1100 m TVDSS were selected and were denoised using DWT and FT operations. The raw log signals for both the wells are shown in Figs. 9a and 10a respectively. The Haar wavelet was used in the DWT operation with a 3 level decomposition. The power spectrum of the reconstructed signal were then plotted in Fig. 11a, b and only those responses that had maximum amplitude or power were selected as shown in Fig. 12a, b. The selected response was then inverse transformed and logarithmically scaled using Eq. 10 and plotted in Figs. 9b and 10b respectively. The depth of the derived stratigraphic interfaces were picked at the inflection points from Figs. 9c and 10c and tabulated in Table 4. Based on the stratigraphic interfaces detected, the fractal dimensions were correspondingly found and tabulated. It is important to interpret the table only after knowing the general geological trend of the area, as blind interpretation can lead to absurd results. Therefore from the seismic section in Fig. 8 it can be inferred that the beds dip downward as we move from well F03-4 to F02-1. As a result from Table 4 it can be concluded that based on the values of the fractal dimensions, the bed 1 of well F03-4 corresponds to bed 10 in well F02-1, and bed 7 in well F03-4 corresponds to bed 12 in well F02-1. The depths obtained for the two beds shows good agreement with those obtained using the interpreted seismic data (Table 3) present between the wells.

Fig. 8
figure 8

The stratigraphic correlation of gamma ray log response for wells F02-1 and F30-4 through an interpreted seismic section present between the two wells. The blue line represents the FS4 formation. The green line represents the Truncation 1 formation and the yellow line is its linearly interpolated path

Fig. 9
figure 9

a The raw synthetic gamma ray log response of well F02-1. b The log response after DWT and FT operations from which stratigraphic interfaces can be identified at the inflection points for well F02-1

Fig. 10
figure 10

a The raw synthetic gamma ray log response of well F03-4. b The log response after DWT and FT operations from which stratigraphic interfaces can be identified at the inflection points for well F03-4

Fig. 11
figure 11

a Power spectrum of the reconstructed signal for well F02-1. b Power spectrum of the reconstructed signal for well F03-4

Fig. 12
figure 12

a The frequency range selected for well F02-1. b The frequency range selected for well F03-4

7 Conclusion

The correlation of stratigraphic interfaces between two wells using Discrete Wavelet Transform and Fourier Transform through a multi-scale analysis was demonstrated. The technique was first demonstrated using synthetic gamma ray logs with an error of ±1 m and was then applied to real data belonging the offshore F3 Block in the North Sea. This technique was proved to be superior to methods using only Continuous Wavelet Transform with a multi-scale analysis, as the later fails to detect all the interfaces and does not give the correct depth information of the interfaces. Also the later requires core data, using which one can corroborate the obtained results and it is also difficult to choose the right wavelet and the right scale range for analysis. The proposed technique is able to overcome these challenges and also characterizes each interface with a numerical fractal dimension value which can be easily used to correlate between wells. The technique though requires seismic data to be present to corroborate results which is very much required to find out the continuity of horizons. This study demonstrates that the proposed technique is very much accurate and can be used for stratigraphic correlation of wells.