Deep display identification method and system based on logging three-dimensional quantitative fluorescence technology
By combining depth-adaptive preprocessing and multi-scale denoising reconstruction with a depth-adaptive classification model, the problems of fluorescence recognition interference and spectral overlap in deep logging were solved, enabling rapid and accurate identification and quantitative evaluation of deep oil and gas displays, and meeting the real-time requirements of logging sites.
Patent Information
- Application Number
- CN202611693457.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-29
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies in deep logging suffer from severe interference from fluorescence recognition, high ambiguity due to spectral overlap, and difficulty in using complex models to meet the requirements for rapid identification while drilling. In particular, severe background interference under high temperature and high pressure environments affects the accuracy of qualitative identification and quantitative evaluation of deep reservoirs.
A deep visualization and identification method based on three-dimensional quantitative fluorescence technology for well logging is adopted. Through depth adaptive preprocessing and multi-scale denoising reconstruction, combined with a depth adaptive classification model, a cascaded classification model is constructed using support vector machine and bidirectional long short-term memory network to achieve extraction of multi-dimensional fluorescence features and fusion of continuous evolution features of longitudinal sequence. The computational architecture is optimized by combining model pruning and quantization techniques to meet the real-time requirements of well logging site.
It effectively suppresses deep background interference, preserves the details of weak spectral peaks, and enables rapid and accurate identification of deep oil and gas displays. It reduces model complexity and computational requirements, and meets the continuous output requirements of the logging site.
Smart Images

Figure CN123155501A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of mineral exploration technology, specifically to a deep-layer display and identification method and system based on well logging three-dimensional quantitative fluorescence technology. Background Technology
[0002] As oil and gas exploration expands into ultra-deep and extra-deep formations, the rapid and accurate identification of underground reservoir fluid properties has become a crucial aspect of well logging evaluation. Three-dimensional quantitative fluorescence logging technology, through two-dimensional scanning of excitation and emission wavelengths, acquires spectral data containing the three-dimensional distribution of fluorescence intensity, reflecting the compositional characteristics of hydrocarbons. It has been widely applied in on-site crude oil property identification and grade assessment during drilling. On-site technicians perform solvent extraction and spectral scanning on collected cuttings samples, determining the presence of oil and gas in the formation and its specific oil-bearing grade based on characteristic peak positions, luminescence intensity, and spectral morphology.
[0003] However, with increasing exploration depth, the high temperature and pressure conditions of deep formations significantly interfere with fluorescence identification. The fluorescence baseline of the deep rock matrix itself rises, and the complex spectral background generated by drilling fluid additives under deep thermal effects directly masks the weak, effective hydrocarbon signals in low-porosity, low-abundance reservoirs, producing non-hydrocarbon false indications. Simultaneously, under long-term geothermal evolution, the fluorescence spectra of deep hydrocarbons generally exhibit a redshift of the main peak wavelength and spectral broadening, leading to spectral fingerprint overlap between different oil types. Current technologies typically rely on static spectra of single-point rock cuttings for threshold determination or shallow empirical comparison, which cannot correct for depth-related background changes and does not consider the continuous evolution characteristics of the reservoir along the vertical profile, thus limiting the accuracy of qualitative identification and quantitative evaluation of complex deep reservoirs.
[0004] To address the challenges of nonlinear classification caused by spectral overlap, some solutions have attempted to introduce deep neural network algorithms. However, these models have a large number of parameters and complex structures, requiring significant hardware computing power. Drilling field logging has strict time requirements; cuttings analysis and result interpretation typically need to be completed within the drilling footage cycle. Limited field computing resources cannot support the high-frequency forward inference of complex algorithms. In existing workflows, data correction, feature extraction, and network computation are mostly executed sequentially, resulting in long processing delays and making it difficult to adapt to the continuous operation conditions of rapid identification while drilling in the logging field. Summary of the Invention
[0005] To address the shortcomings of existing technologies, this invention provides a deep-layer display and identification method and system based on three-dimensional quantitative fluorescence logging technology, which solves the problems of severe background interference, high spectral ambiguity caused by geological thermal evolution, and difficulty in meeting the requirements of rapid identification while drilling in deep-layer logging fluorescence analysis.
[0006] To achieve the above objectives, the present invention provides the following technical solution: In a first aspect, the present invention provides a deep visualization and identification method based on three-dimensional quantitative fluorescence logging technology, comprising the following steps: Rock cuttings samples from the target depth layer were obtained, and the rock cuttings samples were scanned using a three-dimensional quantitative fluorescence spectrometer to obtain the original three-dimensional fluorescence spectral data matrix; The original three-dimensional fluorescence spectral data matrix is subjected to depth-adaptive preprocessing to generate preprocessed spectral data; Extract multi-dimensional fluorescence feature vectors from the preprocessed spectral data; The multi-dimensional fluorescence feature vector is input into a pre-trained depth adaptive classification model, and the oil and gas display identification result of the target depth layer is output. Real-time optimization processing is performed on the depth adaptive classification model, the parameters of the depth adaptive classification model are compressed by model pruning and quantization techniques, and the depth adaptive preprocessing, extraction of the multi-dimensional fluorescence feature vector, and drilling model inference of the depth adaptive classification model are performed by a multi-stage pipeline parallel computing architecture.
[0007] Preferably, the original three-dimensional fluorescence spectral data matrix undergoes depth-adaptive preprocessing, specifically including: The pre-stored depth-background noise spectrum library is invoked, the actual well depth value of the target depth layer is read, the adjacent pre-stored discrete depth nodes are retrieved in the depth-background noise spectrum library with depth as the index, and the background noise matrix corresponding to the target depth layer is calculated by linear interpolation between the adjacent pre-stored discrete depth nodes. The depth correction factor is calculated based on the actual well depth, the preset geothermal gradient influence coefficient, and the preset reference depth. The gain of the background noise matrix is adjusted using the depth correction factor. The original three-dimensional fluorescence spectral data matrix and the gain-adjusted background noise matrix are then subjected to element-wise difference. The background-subtracted difference spectral matrix is calculated using a non-negative truncation operator. Multi-scale denoising and reconstruction are performed on the differential spectral matrix to generate the preprocessed spectral data.
[0008] Preferably, performing multi-scale denoising reconstruction on the difference spectral matrix specifically includes: Perform multi-scale two-dimensional discrete wavelet decomposition on the difference spectral matrix to obtain low-frequency approximate coefficient subbands and high-frequency detail coefficient subbands in the horizontal, vertical, and diagonal directions; The high-frequency detail coefficient subbands in the diagonal direction under the first decomposition scale are selected, and the standard deviation estimate of the high-frequency random noise in the difference spectral matrix is obtained by calculating the median absolute deviation. The dynamic denoising threshold is calculated based on the standard deviation estimate, the total number of data points in the original three-dimensional fluorescence spectral data matrix, and the depth attenuation coefficient determined based on the relationship between the target depth layer burial depth and the preset depth threshold. The dynamic denoising threshold is used to perform soft thresholding on all high-frequency detail coefficient subbands at each decomposition scale to obtain the processed wavelet high-frequency detail coefficients. Keeping the low-frequency approximation coefficient subband unchanged, a two-dimensional wavelet inverse transform is performed using the processed wavelet high-frequency detail coefficients to reconstruct and calculate a denoised spectral matrix that eliminates high-frequency random noise, and the denoised spectral matrix is used as the preprocessed spectral data.
[0009] Preferably, the extraction of multi-dimensional fluorescence feature vectors specifically includes: Based on the preprocessed spectral data, the relative intensity ratio of secondary peaks, the eccentricity and compactness of contour lines, and statistical distribution characteristics were obtained. Emission spectrum slices were extracted at preset short-wave ultraviolet excitation wavelengths and long-wave ultraviolet excitation wavelengths, and the integrated area was calculated to obtain the peak area ratio of the slices. Spectral morphology features are generated based on the relative intensity ratio of the secondary peaks, the eccentricity of the contour lines, the density of the contour lines, and the peak area ratio of the slice. Based on the parameter correlation between the target depth layer, the preset benchmark layer, and adjacent well depth layers, depth correlation features including the blue shift of the main fluorescence peak and the vertical normalized attenuation rate are extracted. The multidimensional fluorescence feature vector is calculated by arranging and combining the spectral morphology features, statistical distribution features, and deep correlation features, and then performing a standardized transformation.
[0010] Preferably, the step of obtaining the relative intensity ratio of secondary peaks, contour line eccentricity and contour line density, and statistical distribution characteristics based on the preprocessed spectral data specifically includes: In the preprocessed spectral data, a full-spectrum extreme value search is performed to determine the main peak of the full spectrum, and a secondary search is performed outside the preset rectangular area centered on the main peak of the full spectrum to obtain the secondary peak. The relative intensity ratio of the secondary peak is calculated, and the full-spectrum half-width contour lines are extracted to calculate the contour line eccentricity and contour line compactness. Numerical statistics are performed on the preprocessed spectral data. All fluorescence intensity values in the preprocessed spectral data are flattened into a one-dimensional full-spectrum fluorescence intensity sequence. The mean, variance, skewness, and kurtosis of the full-spectrum fluorescence intensity sequence are calculated. The spatial autocorrelation coefficient, which characterizes the spatial clustering of fluorescence intensity, is calculated by combining the two-dimensional grid neighborhood topology criterion, and statistical distribution characteristics are generated.
[0011] Preferably, the extraction includes deep correlation features between the blue shift of the main fluorescence peak and the longitudinally normalized attenuation rate, specifically including: The main peak emission wavelength of a pre-stored shallow reference layer crude oil sample is read. The shallow reference layer crude oil sample is a standard oil sample used for fluorescence reference calibration. A full-spectrum extreme value search is performed in the pre-processed spectral data. The main peak emission wavelength of the target depth layer spectrum is determined by the emission wavelength corresponding to the maximum fluorescence intensity value of the full spectrum. The difference between the main peak emission wavelength of the target depth layer spectrum and the main peak emission wavelength of the shallow reference layer crude oil sample is calculated to obtain the blue shift of the fluorescence main peak. The actual depth values of adjacent depth measurement points immediately above the current depth and their total full-spectrum fluorescence intensity are retrieved from the pre-established time-series buffer queue. The longitudinal normalized attenuation rate is calculated by combining the actual depth value of the target depth layer with the total full-spectrum fluorescence intensity.
[0012] Preferably, the depth adaptive classification model is a cascaded hybrid classification model, and the output of the oil and gas display identification result of the target depth layer specifically includes: The first-level support vector machine classifier in the deep adaptive classification model is invoked to perform a preliminary judgment on the authenticity of the input multi-dimensional fluorescence feature vector; if the judgment result is a non-hydrocarbon false display, the conclusion of no display is output and the subsequent calculation process is terminated; if the judgment result is a real oil and gas display, the second-level recognition process is triggered. Retrieve the multi-dimensional fluorescence feature vectors of the current target depth layer and its consecutive adjacent depth measurement points in the time-series buffer queue, and concatenate them in ascending order of well depth to construct a time-series feature sequence matrix; The temporal feature sequence matrix is input into a bidirectional long short-term memory network layer, and a fused temporal hidden state is generated by splicing a forward hidden layer that scans forward along the well depth and a backward hidden layer that scans backward in the opposite direction of the well depth. By assigning adaptive attention weights to the fused temporal hidden state at each time step through the attention mechanism layer and performing weighted summation, the context vector representing the full temporal geological information is calculated. The context vector is input to the multi-task decoupled output layer, and the output includes the oil and gas display recognition result containing the oil quality type and oil content level.
[0013] Preferably, the context vector is input to the multi-task decoupling output layer to calculate and output an oil and gas display recognition result containing oil quality type and oil content level, specifically including: The context vector is input into the classification branch of the multi-task decoupling output layer. After being transformed by the classification fully connected hidden layer, it is mapped to the predicted probability distribution of different oil types through the activation function. The category index with the highest probability value is selected as the discrimination result of the oil type. The context vector is input into the regression branch in the multi-task decoupling output layer, and after being mapped by the fully connected regression hidden layer, the oil content level is output as a continuous regression prediction value through a linear activation unit. Based on a preset discrete threshold interval, the continuous regression prediction value of the oil content level is mapped and determined to the oil trace, oil spot, oil immersion or oil saturation level, and the quantitative oil content level is calculated.
[0014] Preferably, the depth adaptive classification model pre-trains and fixes parameters by introducing a depth-compensated weighted multi-task joint loss function. The multi-task joint loss function includes oil quality type multi-class cross-entropy loss and oil-bearing grade mean square error loss. The multi-task joint loss function constructs a weighted gain coefficient that increases with depth based on the ratio of the physical depth value corresponding to each training sample to the maximum reference drilling depth of the exploration area. The weighted gain coefficient is then used to jointly weight and penalize the oil quality type multi-class cross-entropy loss and the oil-bearing grade mean square error loss to update the network connection parameters.
[0015] Preferably, the real-time optimization processing of the deep adaptive classification model specifically includes: Calculate the absolute values of the connection weights of the attention weight fully connected layer and hidden layer units in the deep adaptive classification model, determine the connections that are less than the preset contribution threshold as non-critical connections and remove them by setting them to zero, and generate a sparse weight tensor to complete the model pruning. By calibrating the dynamic value range of the statistical network feature map of the dataset, the floating-point weight tensor and intermediate state matrix of the deep adaptive classification model are converted into fixed-point 8-bit integer format to complete low-bit quantization compression.
[0016] Preferably, the real-time optimization processing of the deep adaptive classification model further includes: The depth adaptive preprocessing, multi-dimensional fluorescence feature vector, and drilling model inference are run independently and concurrently on the first computing core, the second computing core, and the edge inference coprocessor, respectively, and a ring-shaped time-series data buffer is established for cross-level data transfer. Within the same analysis cycle, the first computing core performs data preprocessing on the current cuttings sample, the second computing core performs feature extraction on the previous cuttings sample, and the edge inference coprocessor performs model forward inference on the previous cuttings sample in a pipelined parallel computation, and the oil and gas display recognition results are output sequentially within each analysis cycle.
[0017] A deep-layer display and identification system based on well logging three-dimensional quantitative fluorescence technology includes: The spectral scanning acquisition module is used to acquire rock cutting samples at the target depth layer, and to scan the rock cutting samples using a three-dimensional quantitative fluorescence spectrometer to obtain the original three-dimensional fluorescence spectral data matrix. A depth-adaptive preprocessing module, connected to the spectral scanning and acquisition module, is used to perform depth-adaptive preprocessing on the original three-dimensional fluorescence spectral data matrix to generate preprocessed spectral data. A multi-dimensional feature extraction module, connected to the depth adaptive preprocessing module, is used to extract multi-dimensional fluorescence feature vectors from the preprocessed spectral data; A depth adaptive classification module, connected to the multi-dimensional feature extraction module, is used to input the multi-dimensional fluorescence feature vector into the depth adaptive classification model and output the oil and gas display recognition result of the target depth layer; The real-time optimization processing module, connected to the deep adaptive classification module, is used to compress the parameters of the deep adaptive classification model through model pruning and quantization techniques, and to perform the deep adaptive preprocessing, the multi-dimensional fluorescent feature vector, and the drilling model inference of the deep adaptive classification model through a multi-stage pipelined parallel computing architecture.
[0018] This invention provides a method and system for deep-layer visualization and identification based on three-dimensional quantitative fluorescence logging technology. It has the following beneficial effects: 1. This invention addresses the background uplift problem under deep, high-temperature compaction environments. It achieves dynamic background subtraction through a depth-background noise spectral library and geothermal gradient correction factor, and combines it with a depth-adaptive attenuation coefficient to complete multi-scale wavelet denoising. This effectively suppresses fluorescence interference from the matrix and drilling fluid additives while preserving weak spectral peak details. Furthermore, it constructs features from three dimensions: morphological geometry, spatial statistics, and vertical evolution. It introduces the blue shift of the main peak and the vertical normalized attenuation rate to quantify the thermal evolution law, giving the input features clear geophysical indicative significance.
[0019] 2. This invention employs a support vector machine and a bidirectional long short-term memory network to construct a cascaded classification model. First, a pre-classifier filters out non-hydrocarbon pseudo-displays to reduce subsequent computational load. Then, a bidirectional recurrent network and an attention mechanism are used to fuse the continuous evolution characteristics of the vertical stratigraphic sequence. Combining the decoupled output structure of classification and regression, qualitative oil quality type and quantitative oil-bearing level are output simultaneously in a single inference. During model training, the loss function is corrected by weights that increase with depth, effectively improving the classification bias problem caused by the limited number of samples in deep layers.
[0020] 3. This invention reduces the parameter size and computational complexity of the model by performing structured pruning on the attention mechanism layer and hidden layer units and implementing fixed-point 8-bit integer low-bit quantization. On this basis, data preprocessing, multi-dimensional feature extraction and model inference tasks are deployed on different computing cores and edge coprocessors respectively to build a pipelined concurrent processing architecture, which enables adjacent cuttings samples to be executed overlappingly between different analysis nodes, thus meeting the continuous output requirements of deep oil and gas display analysis in logging-while-drilling conditions. Attached Figure Description
[0021] Figure 1 This is a schematic diagram of the system architecture of the present invention; Figure 2 This is a flowchart of the method steps of the present invention; Figure 3 This is a flowchart of the depth adaptive preprocessing process of the present invention; Figure 4 This is a schematic diagram of the deep adaptive classification model architecture of the present invention; Figure 5 This is a timing architecture diagram of the multi-stage pipeline parallel computing of the present invention. Detailed Implementation
[0022] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0023] Please see the appendix Figure 1 This invention provides a deep-layer display and identification system based on three-dimensional quantitative fluorescence logging technology, comprising: The spectral scanning acquisition module is used to acquire rock cutting samples at the target depth layer. The rock cutting samples are scanned using a three-dimensional quantitative fluorescence spectrometer to obtain the original three-dimensional fluorescence spectral data matrix. The depth-adaptive preprocessing module is used to perform depth-adaptive preprocessing on the original three-dimensional fluorescence spectral data matrix to generate preprocessed spectral data. The multi-dimensional feature extraction module is used to extract multi-dimensional fluorescence feature vectors from the preprocessed spectral data; The depth adaptive classification module is used to input multi-dimensional fluorescence feature vectors into the depth adaptive classification model and output the oil and gas display recognition results of the target depth layer; The real-time optimization processing module is used to compress the parameters of the deep adaptive classification model through model pruning and quantization techniques, and to perform the deep adaptive preprocessing, the multi-dimensional fluorescent feature vector, and the drilling model inference of the deep adaptive classification model through a multi-stage pipelined parallel computing architecture.
[0024] Please see the appendix Figure 2 This invention provides a deep visualization and identification method based on three-dimensional quantitative fluorescence logging technology, comprising the following steps: Step S110: Obtain rock cutting samples from the target depth layer, scan the rock cutting samples using a three-dimensional quantitative fluorescence spectrometer, and obtain the original three-dimensional fluorescence spectral data matrix. The original three-dimensional fluorescence spectral data matrix contains information in three dimensions: excitation wavelength, emission wavelength, and fluorescence intensity. Step S120: Perform depth-adaptive preprocessing on the original three-dimensional fluorescence spectral data matrix to suppress background noise and enhance weak oil and gas fluorescence signals, generating preprocessed spectral data. Step S130: Extract multi-dimensional fluorescence feature vectors from the preprocessed spectral data. The multi-dimensional fluorescence feature vectors include spectral morphology features, statistical distribution features, and deep correlation features. Step S140: Input the multi-dimensional fluorescence feature vector into the pre-trained depth adaptive classification model. The depth adaptive classification model outputs the oil and gas display recognition results of the target depth layer. The recognition results include the display category, oil quality type and oil-bearing level. Step S150: Perform real-time optimization processing, compress model parameters through model pruning and quantization techniques, and achieve fast inference while drilling through a pipelined parallel computing architecture.
[0025] To make the technical solution, working principle and implementation details of the present invention clearer, the following provides a further detailed description of each step and its implementation logic involved in the present invention.
[0026] In the process of obtaining rock cuttings samples from the target depth layer in step S110, scanning the rock cuttings samples with a three-dimensional quantitative fluorescence spectrometer, and obtaining the original three-dimensional fluorescence spectral data matrix, the spectral scanning and acquisition module is responsible for the standardized acquisition, sample preparation and processing, and spectral digitization of the on-site physical samples.
[0027] The oil and gas components in deep formations mainly consist of polycyclic aromatic hydrocarbons and their derivatives with different ring numbers. When excited by external photons in the ultraviolet to visible light band, the aromatic molecules in the ground state absorb energy and jump to various vibrational energy levels of the first electronic excited state. After relaxing to the first excited monochromatic vibrational ground state through non-radiative transitions, they jump back to the ground state in the form of radiating photons, releasing a fluorescence emission spectrum with a wavelength longer than the excitation wavelength.
[0028] Because hydrocarbon molecules of different types and thermal evolutionary maturity possess specific electronic structures and conjugated systems, their fluorescence intensity exhibits a specific three-dimensional topological distribution as a function of excitation and emission wavelengths. This step is specifically achieved through the following sub-steps: Step S111: During drilling operations, when the drill bit reaches the preset target depth, the cuttings return time is calculated based on the drilling fluid circulation rate and well depth parameters. Solid cuttings particles circulating back from the bottom of the well are collected at a vibrating screen or using an automatic cuttings collection device to obtain cuttings samples representing the geological characteristics of the target depth strata.
[0029] For the cleaning, drying, dehydration, and grinding of rock cuttings samples, those skilled in the art can use the conventional on-site logging sample preparation procedures. The specific sample preparation equipment operating parameters and procedures are well-known technologies in this field and will not be elaborated here.
[0030] After the aforementioned standardized sample preparation process, the rock cuttings sample is ground to a preset standard mesh size powder, such as 80 to 120 mesh, to ensure uniform particle distribution. The sample is then placed into a dedicated solid sample cell of the three-dimensional quantitative fluorescence spectrometer, and the sample surface is flattened to eliminate the interference of diffuse reflection on the measurement of fluorescence intensity.
[0031] In step S112, the standard sample cell containing the rock cuttings sample is pushed into the detection chamber of the three-dimensional quantitative fluorescence spectrometer. The spectral scanning and acquisition module controls the coordinated operation of the light source system, excitation monochromator, emission monochromator, and photomultiplier tube detector of the three-dimensional quantitative fluorescence spectrometer to perform bidirectional excitation and emission scanning on the rock cuttings sample within the set wavelength scanning range.
[0032] In the specific scanning control process, the excitation wavelength is set. The scanning range is 220nm to 400nm, and the excitation wavelength scanning step size is 5nm; the emission wavelength is set. The scanning range is from 250nm to 600nm, and the emission wavelength scanning step is 2nm.
[0033] Based on the above interval and step size settings, the total number of excitation wavelength sampling points J is calculated as (400 220) / 5+1=37, the total number of emission wavelength sampling points Calculated as (600) (250) / 2+1=176. During the scan, the system fixes the current excitation wavelength and makes the emission monochromator continuously detect in 2nm increments within the wavelength range of 250nm to 600nm, recording the fluorescence emission intensity response at each emission wavelength point; then the excitation monochromator increments to the next excitation wavelength in 5nm increments, repeating the aforementioned emission spectrum scan until all excitation wavelength points in the range of 220nm to 400nm have been traversed.
[0034] By traversing the sequence of excitation and emission wavelength combinations, the spectral scanning acquisition module quantizes all detected photoelectric signals into a numerical matrix reflecting the spatial correspondence of the rock cutting sample in three dimensions: excitation wavelength, emission wavelength, and fluorescence intensity, thus constructing the original three-dimensional fluorescence spectral data matrix. This original three-dimensional fluorescence spectral data matrix M can be represented as: ; In the formula, M is the original three-dimensional fluorescence spectral data matrix, and its dimension is . (In this embodiment, it is 37×176); For the first Excitation wavelength of each sampling point In this embodiment, the total number of sampling points for the excitation wavelength is [number]. ; For the first The emission wavelength of each sampling point; In this embodiment, the total number of sampling points for the transmitted wavelength is [number]. .
[0035] Original three-dimensional fluorescence spectral data matrix The spectral characteristics of luminescent substances contained in rock cuttings at the target depth were recorded. After completing the spectral scan, the spectral scanning acquisition module generated the original three-dimensional fluorescence spectral data matrix. The physical depth labels of the target depth layer are transmitted to the depth adaptive preprocessing module as the input data source for subsequent background interference subtraction and weak signal enhancement.
[0036] Please see the appendix Figure 3 In step S120, the depth adaptive preprocessing module performs depth adaptive preprocessing on the original three-dimensional fluorescence spectral data matrix to suppress background noise and enhance weak oil and gas fluorescence signals, generating preprocessed spectral data. During this process, the depth adaptive preprocessing module receives the original three-dimensional fluorescence spectral data matrix and the physical depth label of the target depth layer from the spectral scanning acquisition module, and uses geological environmental parameters to suppress background base and random noise.
[0037] Deep reservoir environments are typically accompanied by high temperature and high pressure conditions. Drilling fluid additives undergo thermal degradation at high temperatures, which enhances the fluorescence background. At the same time, the low content of aromatic hydrocarbons in deep light oil or cracked gas condensate leads to the attenuation of the effective fluorescence response signal, resulting in a deterioration of the fluorescence signal-to-noise ratio in deep reservoirs.
[0038] By combining the background gain law induced by geothermal gradient with point-by-point correction of the three-dimensional matrix, and applying depth-constrained wavelet adaptive shrinkage in the transform domain to target high-frequency thermal noise, stray fluorescence substrates can be effectively eliminated and low-saturation light hydrocarbon fingerprints can be highlighted. This step achieves adaptive background subtraction and denoising through the following sub-steps: In step S121, the depth adaptive preprocessing module calls the depth-background noise spectrum library to retrieve and match the background noise matrix of the corresponding target depth layer.
[0039] The depth-background noise spectral library is pre-built in the system's storage unit. This library collects the base fluorescence spectral distributions of drilling fluid base fluids used in the field, typical drilling fluid chemical additives, and common rock and mineral frameworks at different depth gradients. Discrete depth nodes are pre-stored in the depth-background noise spectral library. and The basement spectral data is obtained. The depth adaptive preprocessing module reads the actual well depth values of the target depth layer. The system retrieves adjacent pre-stored discrete depth nodes in the depth-background noise spectrum library using depth as the index. If the actual well depth value... Falling into adjacent discrete depth nodes and Between (satisfying) The depth adaptive preprocessing module calculates the discrete background noise matrix corresponding to the target depth layer using a two-point linear interpolation formula. : ; In the formula, The background noise matrix of the target depth layer obtained through matching; The actual well depth value for the target depth layer; For the pre-stored spectral library adjacent The sampling depth node above; For the pre-stored spectral library adjacent The sampling depth node below; In depth The background noise matrix measured at the location; In depth The background noise matrix measured at [location]. Background noise matrix. With the original three-dimensional fluorescence spectral data matrix Having the same data dimensions .
[0040] Step S122: Calculate the depth correction factor based on the target depth value, adjust the gain of the background noise matrix using the depth correction factor, and perform matrix weighted subtraction to eliminate the base interference of drilling fluid additives and mineral autofluorescence.
[0041] The depth adaptive preprocessing module calculates the depth correction factor using the following formula. : ; In the formula, This is the depth correction factor; The preset geothermal gradient influence coefficient ranges from 0.05 to 0.15. In this embodiment, a value of 0.08 is used for a normal temperature geothermal gradient environment (2.5℃ / 100m to 3.0℃ / 100m), and a value of 0.12 is used for an ultra-high temperature geothermal gradient environment (greater than 3.0℃ / 100m). This value is used to characterize the change in fluorescence quantum yield of organic additives and the fluorescence gain derived from thermal decomposition caused by the increase in temperature with increasing well depth. D is the actual depth value of the target depth layer, in meters. The preset reference depth ranges from 1000 meters to 2000 meters. In this embodiment... Set to 1000 meters.
[0042] Obtain depth correction factor Subsequently, the depth adaptive preprocessing module transforms the original three-dimensional fluorescence spectral data matrix The background noise matrix weighted by the depth correction factor Element-wise difference calculations are performed. To avoid generating physically meaningless negative intensity values after the difference calculations, the depth-adaptive preprocessing module uses a non-negative truncation operator to generate the difference spectral matrix after background subtraction. The calculation formula is as follows: ; In the formula, The first element in the difference spectral matrix after background subtraction Line number The element values of the column; The first element in the original three-dimensional fluorescence spectral data matrix Line number The element values of the column; The first element in the background noise matrix Line number The element values of the column; This is the depth correction factor; To excite the wavelength sampling point index, ; For the sampling point index of the transmission wavelength, .
[0043] Step S123: Perform multi-scale two-dimensional wavelet decomposition on the differential spectral matrix after background subtraction, dynamically calculate the wavelet soft threshold based on local residual noise, and generate preprocessed spectral data through wavelet coefficient shrinkage and inverse transform.
[0044] For the difference spectral matrix For the two-dimensional discrete wavelet decomposition operation, those skilled in the art can use Symlets wavelet basis functions or Daubechies wavelet basis functions to perform two-level or three-level wavelet decomposition. The wavelet transform multi-resolution decomposition and reconstruction process is a well-known technology in the field and will not be described in detail here.
[0045] Difference spectral matrix After two-dimensional wavelet multi-scale decomposition, low-frequency approximation coefficient subbands and high-frequency detail coefficient subbands in the horizontal, vertical, and diagonal directions are obtained. The fluorescence emission of oil and gas components varies continuously in the spectral space, with the main energy concentrated in the low-frequency approximation coefficient subband; while the dark current fluctuations and thermal disturbances of the detector exhibit discrete random fluctuations, mainly distributed in the first-layer high-frequency detail coefficient subband. The depth adaptive preprocessing module selects the diagonal high-frequency detail coefficient subband at the first decomposition scale. To assess the intensity of local background noise, the standard deviation of high-frequency noise is estimated using the median absolute deviation. The estimation formula is: ; In the formula, This is an estimate of the standard deviation of the high-frequency random noise in the difference spectral matrix; This represents the diagonal high-frequency detail wavelet coefficient vector at the first decomposition scale; To take the absolute value of the wavelet coefficients; This is the function for calculating the median.
[0046] Combined with the standard deviation estimate of high-frequency random noise in the difference spectral matrix Total number of data points in the original three-dimensional fluorescence spectral data matrix and the preset depth attenuation coefficient The depth-adaptive preprocessing module calculates the dynamic denoising threshold. : ; In the formula, This is the dynamic noise reduction threshold; This is an estimate of the standard deviation of high-frequency random noise; This represents the total number of data points in the original three-dimensional fluorescence spectral data matrix, i.e. In this embodiment ; It is the natural logarithm function; The preset depth attenuation coefficient, ranging from 0.8 to 1.2, is used to adjust the noise filtering intensity based on the burial depth of the target stratum. When the target depth is greater than 4500 meters, the oil and gas fluorescence signal is weak, thus the depth attenuation coefficient is set accordingly. Values between 0.8 and 0.95 are used to preserve the outline of weak signals; when the target depth is less than or equal to 4500 meters, a depth attenuation coefficient is set. Values between 0.95 and 1.2 are used to suppress stray fluorescence spikes.
[0047] Calculate the dynamic denoising threshold Subsequently, the depth adaptive preprocessing module processes all high-frequency detail coefficient matrices at each decomposition scale. Perform a soft thresholding shrinkage operation to obtain the processed wavelet high-frequency detail coefficients. : ; In the formula, These are the wavelet detail coefficients after soft thresholding. These are the original wavelet detail coefficients obtained from the decomposition; This is the dynamic noise reduction threshold; It is a symbolic function.
[0048] The low-frequency approximation coefficient subbands are retained unchanged, and the depth adaptive preprocessing module utilizes the wavelet high-frequency detail coefficients after soft thresholding. By coordinating the execution of a two-dimensional wavelet inverse transform, a denoised spectral matrix is reconstructed that eliminates high-frequency random noise while retaining weak hydrocarbon characteristic peaks. The denoised spectral matrix That is, the preprocessed spectral data is output to the multi-dimensional feature extraction module.
[0049] During step S130, which involves extracting multi-dimensional fluorescence feature vectors from the preprocessed spectral data, the multi-dimensional feature extraction module receives the denoised spectral matrix output by the depth-adaptive preprocessing module. We conducted feature mining and numerical quantification at three scales: fluorescence peak topological geometry, full-spectrum energy distribution, and vertical stratigraphic thermal evolution, to construct a high-dimensional feature system capable of characterizing complex deep oil and gas show characteristics.
[0050] Deep oil and gas undergo thermal cracking under long-term high temperature and pressure underground, and polycyclic aromatic hydrocarbons transform into low-cyclic aromatic hydrocarbons, causing the main peak of fluorescence to shift towards the short-wave direction. At the same time, the disturbance of drilling operations and the coexistence of mineral matrix will change the spatial divergence of emission energy.
[0051] By utilizing the energy level transition characteristics of polycyclic aromatic hydrocarbon molecules at different excitation wavelengths, and by quantifying the evolution of topological geometric centers, energy divergence, and geological depth gradients, essential characterization parameters decoupled from non-oil and gas interferences can be extracted from a two-dimensional spectral matrix. This step achieves feature vector extraction and construction through the following sub-steps: Step S131, the multi-dimensional feature extraction module in the denoised spectral matrix The system searches for the response sites of the main and secondary peaks, calculates the geometric parameters of the contour lines and the area ratio of the characteristic excitation wavelength slices, and generates spectral morphology features.
[0052] The multi-dimensional feature extraction module performs a full-spectrum extreme value search in a two-dimensional grid space composed of the excitation wavelength dimension and the emission wavelength dimension, locates the grid index of the point with the highest fluorescence intensity, and determines the main peak excitation wavelength. Main peak emission wavelength and main peak fluorescence intensity To avoid repeatedly selecting local fluctuations in the edge region of the main peak, the multi-dimensional feature extraction module uses [a specific method / mechanism] in the matrix. A rectangular shielding region was defined with the geometric center at the center, spanning ±15 nm in the excitation wavelength direction and ±20 nm in the emission wavelength direction. Then, an extreme value search was performed again in the remaining data grid after excluding this rectangular shielding region to obtain the secondary peak excitation wavelength. Secondary peak emission wavelength and secondary peak fluorescence intensity Calculate the relative intensity ratio of the secondary peaks : ; In the formula, The relative intensity ratio of the secondary peaks; The fluorescence intensity is the secondary peak. The value represents the fluorescence intensity of the main peak in the full spectrum.
[0053] The multi-dimensional feature extraction module extracts the denoised spectral matrix. Medium strength equals The half-width contour line closed curve is obtained, and its geometric shape distribution is quantified. The equivalent ellipse semi-major axis length of the contour line closed region is calculated. With the length of the short half-axis Obtain the eccentricity of contour lines : ; In the formula, The eccentricity of the contour lines ranges from 0 to 1. The length of the semi-major axis of the equivalent ellipse of the half-height contour line; The length of the minor semi-axis of the equivalent ellipse of the half-height and width contour lines.
[0054] For calculating the tightness of closed contour curves, those skilled in the art can use conventional digital image geometry calculation methods that use the ratio of the square of the perimeter to the closed area. The specific calculation process is a well-known technique in this field and will not be elaborated here.
[0055] In polycyclic aromatic hydrocarbon (PAH) systems, monocyclic and bicyclic low-freezing-point PAHs are significantly excited by 254 nm short-wavelength ultraviolet light, while tricyclic to pentacyclic fused-ring PAHs exhibit a strong resonance response to 365 nm long-wavelength ultraviolet light. A multi-dimensional feature extraction module extracts emission spectrum slices at excitation wavelengths of 254 nm and 365 nm, respectively, and performs numerical trapezoidal integration within the 250 nm to 600 nm emission range to obtain the sensitive peak areas of light PAHs. and the sensitive peak area of medium and heavy aromatics Calculate the peak area ratio of the slices : ; In the formula, The peak area ratio for a specific excitation wavelength; To calculate the integral area of the emission spectrum of the slice curve with an excitation wavelength of 254 nm; The integral area of the emission spectrum of the slice curve with an excitation wavelength of 365nm.
[0056] Step S132, the multi-dimensional feature extraction module processes the denoised spectral matrix. Numerical statistics are performed on all grid point data to calculate the full-spectrum energy dispersion and spatial autocorrelation parameters, generating statistical distribution characteristics.
[0057] Denoising spectral matrix medium size All fluorescence intensity values are flattened into a one-dimensional intensity sequence. The multi-dimensional feature extraction module calculates the mean, variance, skewness, and kurtosis of this sequence to reflect the symmetry and steepness of the full-spectrum fluorescence intensity in the amplitude dimension. The mathematical solution for the fourth-order statistical moments of the one-dimensional sequence can be directly calculated by those skilled in the art using conventional probability and statistics formulas; the calculation process is well-known in the field and will not be elaborated here.
[0058] The multi-dimensional feature extraction module calculates the denoised spectral matrix. Spatial autocorrelation coefficient on a two-dimensional grid of excitation and emission wavelengths Two-dimensional spatial texture aggregation degree that quantifies fluorescence intensity.
[0059] Step S133: The multi-dimensional feature extraction module combines the physical parameter correlation between the target depth layer and the shallow reference layer and the adjacent well depth layer to generate depth correlation features that characterize the vertical evolution law.
[0060] During the thermal maturation and evolution of deep hydrocarbon fluids, thermal cracking causes the conjugated aromatic nuclei to shrink, leading to a shift in the main peak emission wavelength towards shorter wavelengths. The multi-dimensional feature extraction module reads the main peak emission wavelength from pre-stored benchmark layer crude oil samples. Calculate the blue shift of the main fluorescence peak at the current target depth layer. : ; In the formula, The value represents the blue shift of the main fluorescence peak, expressed in nm. This refers to the main peak emission wavelength of the current target depth layer spectrum; To pre-store the main peak emission wavelength of the reference layer sample, the reference sample was selected from a typical oil sample from the same area as the target well with a burial depth of less than 2000 meters.
[0061] The multi-dimensional feature extraction module retrieves the depths of historical measurement points immediately above the current depth from the temporal cache queue. and its total intensity across the entire spectrum Simultaneously calculate the current target depth Total intensity of the full spectrum integral at the location The total intensity of the full spectrum integration is obtained by applying the denoised spectral matrix. The result is obtained by summing all elements within the range. If the current target depth layer is the first detection point in the current drilling profile, or the total historical integral intensity in the time-series cache queue... When the value is 0, the system will normalize the attenuation rate longitudinally. Initialize to a constant of 0; if valid data from the previous measurement point exists and The multi-dimensional feature extraction module calculates the longitudinal normalized decay rate using the following formula. : ; In the formula, The normalized attenuation rate is expressed in meters. -1 ; This is the sum of the integrals of the full-spectrum fluorescence intensity at the previous adjacent depth measurement point; This represents the sum of the integrals of the full-spectrum fluorescence intensity at the current target depth layer; This represents the actual depth value of the current target depth level. This is the actual depth value of the previous adjacent depth measurement point.
[0062] In step S134, the multi-dimensional feature extraction module combines spectral morphological features, statistical distribution features, and deep correlation features into a one-dimensional feature vector, performs a standardization transformation, and outputs a multi-dimensional fluorescence feature vector.
[0063] The multi-dimensional feature extraction module sequentially arranges the main peak excitation wavelengths. Main peak emission wavelength Main peak fluorescence intensity Secondary peak excitation wavelength Secondary peak emission wavelength Secondary peak relative intensity ratio Contour line eccentricity A feature vector containing 16 physical parameters was constructed, including contour density, slice peak area ratio, mean, variance, skewness, kurtosis, spatial autocorrelation coefficient, blue shift of the main fluorescence peak, and longitudinal normalized attenuation rate. The multi-dimensional feature extraction module utilizes the mean vector and standard deviation vector, pre-obtained from the training set samples, to extract feature combination vectors. Each component in the vector is subjected to Z-score transformation to generate a standardized multidimensional fluorescence feature vector. : ; In the formula, The first of the standardized multidimensional fluorescence feature vectors eigenvalues, of which are positive integers and ; The first element in the feature combination vector One unprocessed physical parameter; For the first The average value of each physical parameter on the training set; For the first The standard deviation of each physical parameter on the training set. The generated standardized multi-dimensional fluorescence feature vector. It is then transmitted to the deep adaptive classification module.
[0064] Please see the appendix Figure 4 In step S140, during the process of inputting the multi-dimensional fluorescence feature vector into the depth adaptive classification model for inference and outputting the true / false display identification result of the target depth layer, oil type, and oil content level, the depth adaptive classification module receives the standardized multi-dimensional fluorescence feature vector output by the multi-dimensional feature extraction module. In addition to physical depth parameters, a cascaded hybrid classification model is constructed to complete multi-task collaborative discrimination.
[0065] Under the influence of high temperature and pressure in deep underground layers, hydrocarbon fluids undergo deep thermocatalytic evolution, and long-chain alkanes and heavy polycyclic aromatic hydrocarbons undergo thermal cracking to generate light oil or condensate gas rich in monocyclic and bicyclic low-conjugated aromatic hydrocarbons. This process causes the fluorescence excitation-emission energy center to shift towards the short-wavelength direction, accompanied by a nonlinear decay of the total fluorescence energy. At the same time, organic degradation products and mixed oil particles in the drilling fluid will superimpose pseudo-luminescence peaks in local wavelength bands.
[0066] By utilizing a hierarchical cascaded architecture to remove major types of interference and capturing the continuous vertical evolution trajectory of formations using temporal context, it is possible to effectively distinguish between true and false displays and accurately predict oil quality status. This step is achieved through the following sub-steps: In step S141, the deep adaptive classification module calls the first-level support vector machine classifier in the cascaded hybrid classification model to perform a fast initial judgment on the authenticity of the standardized multi-dimensional fluorescent feature vectors, and implements a splitting and truncation control based on the judged category.
[0067] The first-level support vector machine (SVM) classifier uses a radial basis function kernel to construct a nonlinear classification hyperplane. The input feature vector of the SVM classifier is selected from a subset of spectral morphology and statistical distribution features sensitive to the nature of the fluorescence, derived from the standardized multi-dimensional fluorescence feature vector X. These features include the excitation wavelength of the main peak, the emission wavelength of the main peak, the contour eccentricity, the peak area ratio of the slice, and the spatial autocorrelation coefficient. The decision discriminant function of the SVM classifier is expressed as: ; Among them, the radial basis kernel function The calculation formula is: ; In the formula The result is the first-level classification of true and false displays. A value of +1 indicates a true oil and gas display, while a value of -1 indicates a non-hydrocarbon false display caused by drilling fluid or mineral matrix. This represents the total number of support vectors. For the first The optimal solution of the Lagrange multipliers corresponding to each support vector; For the first The class label of each support vector (with a value of +1 or -1); The feature subset vector of the current input; For the first Support vectors; It is the Gaussian radial basis kernel function; This is the kernel function bandwidth parameter, with a value ranging from 0.01 to 1.0; The Euclidean distance between the input feature subset vector and the support vector; This is the classification decision threshold constant.
[0068] If the decision discriminant function outputs the result If the target depth layer is determined to be a non-hydrocarbon pseudo-display, the depth adaptive classification module outputs a no-display recognition conclusion and terminates the subsequent calculation process for that sample to free up computing power; if the decision discriminant function outputs a result... If the target depth layer is found to contain real oil and gas, the fine recognition process of the second-level deep neural network is triggered.
[0069] In step S142, for samples determined to be real oil and gas displays, the depth adaptive classification module constructs a deep temporal feature sequence, inputs it into the second-level bidirectional long short-term memory network with embedded attention mechanism, and extracts geological sedimentary evolution and spatial continuity dependence features.
[0070] To fully utilize the vertical geological evolution correlation between adjacent strata, the depth adaptive classification module retrieves the current target depth layer and its immediately above continuous layers from the time-series cache queue. Standardized multidimensional fluorescence feature vectors from adjacent depth measurement points are concatenated in ascending order of well depth to construct a time-series feature sequence matrix. ,in The preset timing step size ranges from 3 to 7. In this embodiment... Set to 5; For the current target depth measurement point at the th The standardized multi-dimensional fluorescence feature vector for each step; R is the single-step feature dimension. If the total number of historical valid measurement points cached in the early stages of continuous drilling or above the target layer is less than... At this point, the deep adaptive classification module performs repeated padding using the feature vector of the first valid measurement point at the temporal front end, filling in the blanks to form... The complete sequence of each time step.
[0071] The temporal feature sequence matrix is input into a bidirectional long short-term memory network layer. The network contains a forward hidden layer that scans forward along the well depth and a backward hidden layer that scans backward in the opposite direction of the well depth. In the temporal step... At this point, the forward hidden layer extracts fluorescence energy decay and main peak migration features from shallow to deep, while the backward hidden layer inversely senses the continuous response of the upward-moving fluid in the deep layers. The forward and backward hidden states are spliced together to generate a fused temporal hidden state. ; In the formula, In this embodiment, the number of hidden layer nodes of unidirectional long short-term memory neurons is [not specified]. Set to 64, the merged timing is hidden after splicing. The dimension is 128. Indicates a forward-hidden state; Indicates a backward hidden state; express 3D real space.
[0072] The attention mechanism layer receives the complete set of temporal hidden states output by the bidirectional long short-term memory network layer. By assigning adaptive attention weights to different stratigraphic levels and feature components through weighted calculation, a context vector representing the core geological information across the entire time series is generated. : ; ; ; In the formula, The context vector representing the core geological information across the entire time series has 128 dimensions. For timing steps The bidirectional hidden state vector at that location, The time window length (the number of moments covered), m from t L+1 to t; For the first The nonlinear projection scoring vector of the step-time hidden state; This is the weight matrix for the fully connected connection in the attention mechanism. For the first The nonlinear projection scoring vector of the step-time hidden state; This is the bias vector for the attention mechanism; For learnable temporal context query vectors; This is a normalized attention weight scalar.
[0073] In step S143, the deep adaptive classification module inputs the context vector into the multi-task decoupled output layer to complete the classification of oil quality type and quantitative regression prediction of oil content level in parallel.
[0074] The multi-task decoupled output layer includes fully connected layers for classification and regression branches. The context vector c is input to both branches. In the classification branch, context vectors After transformation through a fully connected hidden layer containing 64 neurons, the results are mapped to predicted probability distribution vectors for different oil types using a Softmax activation function. Four output nodes ( The four categories of actual physical oil quality are heavy crude oil, medium crude oil, light crude oil and condensate gas, respectively. The category index with the highest probability value is selected as the oil quality type discrimination result of the target depth layer.
[0075] In the regression branch, the context vector After mapping through a fully connected regression hidden layer containing 32 neurons, the oil content level is continuously predicted by regression through linear activation units. The oil content grade regression values are mapped to the standard scale interval [0, 4]. The deep adaptive classification module performs discrete mapping based on a preset threshold interval: when... When, it corresponds to the oil stain level; when When, it corresponds to the oil stain level; when When, it corresponds to the oil immersion level; when At that time, the corresponding oil saturation level is used to determine the physical oil abundance level.
[0076] Step S144: The deep adaptive classification model is established through offline training and parameter optimization.
[0077] When constructing the training sample set, measured three-dimensional fluorescence spectral data of cuttings from multiple drilled wells in the target exploration area were collected, and geochemical pyrolysis analysis data, conventional core solvent extraction analysis results, and actual oil testing and production results were used as real physical labels. The offline sample set was divided into training set, validation set, and test set in a 7:2:1 ratio. The penalty parameter and Gaussian kernel parameter of the first-level support vector machine classifier were optimized using a grid search method combined with 5-fold cross-validation, and the search range of the penalty parameter CC was set to [2]. 2 ,2 8 The search range for the Gaussian kernel parameters is set to [2]. 5 ,2 3 The second-level bidirectional long short-term memory network with embedded attention mechanism is jointly trained end-to-end using the Adam optimizer, with an initial learning rate set to 0.001.
[0078] To address the training data imbalance caused by the limited proportion of weakly displayed samples in deep and ultra-deep layers, the model employs a multi-task joint loss function with depth compensation weighting during offline training. Guide network parameter backpropagation updates: ; In the formula, This represents the total loss value for multi-task joint training. In this embodiment, the batch training sample size is set to 32. This refers to the sample index within the current batch; This is a depth-sensitive penalty factor, ranging from 0.5 to 1.5, used to increase the loss penalty weight for deep and ultra-deep weakly displayed samples to avoid missing detections in deep displays; For the first The physical depth value of the wellbore corresponding to each training sample; This represents the maximum reference completion depth of the wells already drilled in the exploration area. The cross-entropy loss function is used for multi-class classification. For the first The true category of oil type for each sample is unithermal coding; This is the probability distribution vector of oil quality type predicted by the network; This is a task balancing hyperparameter, with a value ranging from 0.1 to 0.5; For the first The true labeled value of oil content grade for each sample; This represents the continuous regression value of the oil content level predicted by the network. During training iterations, the validation set loss is monitored. An early stopping mechanism is triggered when the validation set loss no longer decreases within 15 consecutive training epochs, thus solidifying the model's network connection weights and bias parameters.
[0079] The depth-adaptive classification model pre-trains and solidifies parameters by introducing a depth-compensated weighted multi-task joint loss function. The multi-task joint loss function includes oil quality type multi-class cross-entropy loss and oil-bearing grade mean square error loss. The multi-task joint loss function constructs a weighted gain coefficient that increases with depth based on the ratio of the physical depth value corresponding to each training sample to the maximum reference drilling depth of the exploration area. The weighted gain coefficient is then used to jointly weight and penalize the oil quality type multi-class cross-entropy loss and the oil-bearing grade mean square error loss to update the network connection parameters.
[0080] Please see the appendix Figure 5In step S150, during which model parameters are compressed using model pruning and quantization techniques, and rapid inference while drilling is achieved through a pipelined parallel computing architecture, the real-time optimization processing module is responsible for accelerating the computation of the trained and solidified depth adaptive classification model and reorganizing the on-site logging task execution flow to meet the timeliness requirements of rapid evaluation while deep drilling. This step is implemented through the following sub-steps: Step S151: The real-time optimization processing module performs structured pruning on the offline-trained first-level support vector machine model and the second-level bidirectional long short-term memory network model with embedded attention mechanism.
[0081] The real-time optimization processing module traverses the neuron connections of each layer of the deep adaptive classification model and evaluates the contribution of each network weight connection to the final classification and regression prediction task.
[0082] For the attention-weighted fully connected layer and bidirectional long short-term memory hidden layer units in the second-level network, the absolute value magnitude of each connection parameter in the weight matrix is calculated; sparse redundant connections with an absolute value of connection weight less than the preset contribution threshold of 0.01 are judged as non-critical connections and removed and set to zero, generating a sparse weight tensor, which compresses the number of model weight parameters by more than 30%, while avoiding noise fitting introduced by weak random connections.
[0083] Step S152: The real-time optimization processing module performs low-bit quantization compression on the pruned depth adaptive classification model.
[0084] The original model weight parameters and activation values are stored in 32-bit single-precision floating-point (FP32) format. The real-time optimization module employs a dynamic discretization algorithm combining symmetric and asymmetric quantization. Symmetric quantization is used for the weight tensor, and asymmetric quantization is used for the activation values, converting the floating-point weight tensor and the intermediate hidden layer activation state matrix into fixed-point 8-bit integer (INT8) format. The dynamic range of network feature maps at each layer is statistically analyzed using a calibration dataset. , These are the minimum and maximum values of the feature map for this layer, respectively. Based on the quantization scaling factor Scale and the zero-point offset, each 32-bit floating-point parameter is mapped to an 8-bit integer range of [-128, 127]. Fixed-point INT8 conversion reduces the model's memory footprint by over 70% and allows for efficient fixed-point matrix multiplication operations using integer vector instruction sets on industrial control computers or embedded computing terminals at the logging site.
[0085] Step S153: The real-time optimization processing module constructs a pipelined parallel computing architecture with multi-level processing units working together. The real-time optimization processing module decouples the three time-consuming tasks—depth adaptive preprocessing in step S120, multi-dimensional fluorescence feature vector extraction in step S130, and drilling-while-inference model inference in step S140—and deploys them independently and concurrently on the first computing core, the second computing core, and the edge inference coprocessor, respectively. A circular time-series data buffer is established for task cross-level transfer. In the Within each analysis cycle, while the edge inference coprocessor is processing the first... When performing fast forward inference based on a quantization model on a rock cuttings sample, the second computational core simultaneously performs the same process on the previous sample. Multi-dimensional feature extraction is performed on each rock cutting sample, while the first computational core concurrently receives the latest data transmitted from the spectrometer. The original three-dimensional fluorescence spectral data matrix of each rock cutting sample was obtained and preprocessed with depth-adaptive background subtraction and wavelet denoising.
[0086] In step S154, the real-time optimization processing module outputs the final oil and gas display recognition result of the target depth layer through pipeline collaborative scheduling.
[0087] Leveraging the high-speed fixed-point multiplication and addition capability of the INT8 model and the overlapping computation of the three-level parallel pipeline, the serial queuing waiting time of single sample data is eliminated. This ensures that the total time for a single cuttings sample to go from inputting the original three-dimensional fluorescence spectral data to outputting the final oil and gas display category, oil quality type, and oil-bearing level identification results is strictly controlled within 2 seconds, achieving continuous, real-time, and rapid identification during the logging-while-drilling process.
[0088] To verify the practical application effect of the method of the present invention in deep and ultra-deep drilling logging, an embodiment of the present invention in field application is given below.
[0089] In an ultra-deep well at a depth of 6800 meters in the Tarim Basin, the method of this invention was applied to perform deep-layer display identification based on three-dimensional quantitative fluorescence logging technology on drill cuttings samples. During on-site drilling analysis, the method of this invention successfully identified weak condensate oil shows in the target formation despite strong background interference from drilling fluid additives and formation mineral matrix. The blue shift of the main fluorescence peak was consistent with regional geological understanding, and the oil-bearing grade evaluation results showed high consistency with subsequent logging and testing conclusions, effectively guiding drilling decisions. After real-time optimization (model pruning, 8-bit integer quantization, and multi-stage pipeline parallel computing), the model volume was compressed by more than 70%, and the total time for the entire process from inputting the original three-dimensional fluorescence spectral data to outputting the oil quality type and oil-bearing grade identification results for a single drill cuttings sample was controlled within 2 seconds, meeting the continuous and real-time discrimination requirements of deep and ultra-deep drilling logging analysis.
[0090] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A deep display identification method based on logging three-dimensional quantitative fluorescence technology, characterized in that, Includes the following steps: Rock cuttings samples from the target depth layer were obtained, and the rock cuttings samples were scanned using a three-dimensional quantitative fluorescence spectrometer to obtain the original three-dimensional fluorescence spectral data matrix; The original three-dimensional fluorescence spectral data matrix is subjected to depth-adaptive preprocessing to generate preprocessed spectral data, specifically including: The pre-stored depth-background noise spectrum library is invoked, the actual well depth value of the target depth layer is read, the adjacent pre-stored discrete depth nodes are retrieved in the depth-background noise spectrum library with depth as the index, and the background noise matrix corresponding to the target depth layer is calculated by linear interpolation between the adjacent pre-stored discrete depth nodes. The depth correction factor is calculated based on the actual well depth, the preset geothermal gradient influence coefficient, and the preset reference depth. The gain of the background noise matrix is adjusted using the depth correction factor. The original three-dimensional fluorescence spectral data matrix and the gain-adjusted background noise matrix are then subjected to element-wise difference. The background-subtracted difference spectral matrix is calculated using a non-negative truncation operator. Perform multi-scale denoising and reconstruction on the difference spectral matrix to generate the preprocessed spectral data; Extract multi-dimensional fluorescence feature vectors from the preprocessed spectral data; The multi-dimensional fluorescence feature vector is input into a pre-trained depth adaptive classification model, and the oil and gas display identification result of the target depth layer is output. Real-time optimization processing is performed on the depth adaptive classification model, the parameters of the depth adaptive classification model are compressed by model pruning and quantization techniques, and the depth adaptive preprocessing, extraction of the multi-dimensional fluorescence feature vector, and drilling model inference of the depth adaptive classification model are performed by a multi-stage pipeline parallel computing architecture.
2. The deep display identification method based on the logging three-dimensional quantitative fluorescence technology according to claim 1, characterized in that, Performing multi-scale denoising and reconstruction on the difference spectral matrix specifically includes: Perform multi-scale two-dimensional discrete wavelet decomposition on the difference spectral matrix to obtain low-frequency approximate coefficient subbands and high-frequency detail coefficient subbands in the horizontal, vertical, and diagonal directions; The high-frequency detail coefficient subbands in the diagonal direction under the first decomposition scale are selected, and the standard deviation estimate of the high-frequency random noise in the difference spectral matrix is obtained by calculating the median absolute deviation. The dynamic denoising threshold is calculated based on the standard deviation estimate, the total number of data points in the original three-dimensional fluorescence spectral data matrix, and the depth attenuation coefficient determined based on the relationship between the target depth layer burial depth and the preset depth threshold. The dynamic denoising threshold is used to perform soft thresholding on all high-frequency detail coefficient subbands at each decomposition scale to obtain the processed wavelet high-frequency detail coefficients. Keeping the low-frequency approximation coefficient subband unchanged, a two-dimensional wavelet inverse transform is performed using the processed wavelet high-frequency detail coefficients to reconstruct and calculate a denoised spectral matrix that eliminates high-frequency random noise, and the denoised spectral matrix is used as the preprocessed spectral data.
3. The deep display identification method based on the logging three-dimensional quantitative fluorescence technology according to claim 1, characterized in that, The extraction of multi-dimensional fluorescence feature vectors specifically includes: Based on the preprocessed spectral data, the relative intensity ratio of secondary peaks, the eccentricity and compactness of contour lines, and statistical distribution characteristics were obtained. Emission spectrum slices were extracted at preset short-wave ultraviolet excitation wavelengths and long-wave ultraviolet excitation wavelengths, and the integrated area was calculated to obtain the peak area ratio of the slices. Spectral morphology features are generated based on the relative intensity ratio of the secondary peaks, the eccentricity of the contour lines, the density of the contour lines, and the peak area ratio of the slice. Based on the parameter correlation between the target depth layer, the preset benchmark layer, and the adjacent well depth layer, depth correlation features including the blue shift of the main fluorescence peak and the vertical normalized attenuation rate are extracted. The multidimensional fluorescence feature vector is calculated by arranging and combining the spectral morphology features, statistical distribution features, and deep correlation features, and then performing a standardized transformation.
4. The deep display identification method based on the logging three-dimensional quantitative fluorescence technology according to claim 3, characterized in that, The process of obtaining the relative intensity ratio of secondary peaks, contour line eccentricity and contour line density, and statistical distribution characteristics based on the preprocessed spectral data specifically includes: In the preprocessed spectral data, a full-spectrum extreme value search is performed to determine the main peak of the full spectrum, and a secondary search is performed outside the preset rectangular area centered on the main peak of the full spectrum to obtain the secondary peak. The relative intensity ratio of the secondary peak is calculated, and the full-spectrum half-width contour lines are extracted to calculate the contour line eccentricity and contour line compactness. Numerical statistics are performed on the preprocessed spectral data. All fluorescence intensity values in the preprocessed spectral data are flattened into a one-dimensional full-spectrum fluorescence intensity sequence. The mean, variance, skewness, and kurtosis of the full-spectrum fluorescence intensity sequence are calculated. The spatial autocorrelation coefficient, which characterizes the spatial clustering of fluorescence intensity, is calculated by combining the two-dimensional grid neighborhood topology criterion, and statistical distribution characteristics are generated.
5. The deep display identification method based on the logging three-dimensional quantitative fluorescence technology according to claim 4, characterized in that, The extraction includes deep correlation features between the blue shift of the main fluorescence peak and the longitudinally normalized attenuation rate, specifically including: The main peak emission wavelength of a pre-stored shallow reference layer crude oil sample is read. The shallow reference layer crude oil sample is a standard oil sample used for fluorescence reference calibration. A full-spectrum extreme value search is performed in the pre-processed spectral data. The main peak emission wavelength of the target depth layer spectrum is determined by the emission wavelength corresponding to the maximum fluorescence intensity value of the full spectrum. The difference between the main peak emission wavelength of the target depth layer spectrum and the main peak emission wavelength of the shallow reference layer crude oil sample is calculated to obtain the blue shift of the fluorescence main peak. The actual depth values of adjacent depth measurement points immediately above the current depth and their total full-spectrum fluorescence intensity are retrieved from the pre-established time-series buffer queue. The longitudinal normalized attenuation rate is calculated by combining the actual depth value of the target depth layer with the total full-spectrum fluorescence intensity.
6. The deep display identification method based on the logging three-dimensional quantitative fluorescence technology according to claim 5, characterized in that, The depth adaptive classification model is a cascaded hybrid classification model, and the output of the oil and gas display identification result at the target depth layer specifically includes: The first-level support vector machine classifier in the deep adaptive classification model is invoked to perform a preliminary judgment on the authenticity of the input multi-dimensional fluorescence feature vector; if the judgment result is a non-hydrocarbon false display, the conclusion of no display is output and the subsequent calculation process is terminated; if the judgment result is a real oil and gas display, the second-level recognition process is triggered. Retrieve the multi-dimensional fluorescence feature vectors of the current target depth layer and its consecutive adjacent depth measurement points in the time-series buffer queue, and concatenate them in ascending order of well depth to construct a time-series feature sequence matrix; The temporal feature sequence matrix is input into a bidirectional long short-term memory network layer, and a fused temporal hidden state is generated by splicing a forward hidden layer that scans forward along the well depth and a backward hidden layer that scans backward in the opposite direction of the well depth. By assigning adaptive attention weights to the fused temporal hidden state at each time step through the attention mechanism layer and performing weighted summation, the context vector representing the full temporal geological information is calculated. The context vector is input to the multi-task decoupled output layer, and the output includes the oil and gas display recognition result containing the oil quality type and oil content level.
7. The deep display identification method based on the logging three-dimensional quantitative fluorescence technology according to claim 6, characterized in that, The context vector is input to the multi-task decoupled output layer, and the output includes the oil and gas display identification result containing oil quality type and oil content level, specifically including: The context vector is input into the classification branch of the multi-task decoupling output layer. After being transformed by the classification fully connected hidden layer, it is mapped to the predicted probability distribution of different oil types through the activation function. The category index with the highest probability value is selected as the discrimination result of the oil type. The context vector is input into the regression branch in the multi-task decoupling output layer, and after being mapped by the fully connected regression hidden layer, the oil content level is output as a continuous regression prediction value through a linear activation unit. Based on a preset discrete threshold interval, the continuous regression prediction value of the oil content level is mapped and determined to the oil trace, oil spot, oil immersion or oil saturation level, and the quantitative oil content level is calculated.
8. The deep display identification method based on the logging three-dimensional quantitative fluorescence technology according to claim 1, characterized in that, The depth-adaptive classification model pre-trains and solidifies parameters by introducing a depth-compensated weighted multi-task joint loss function. The multi-task joint loss function includes oil quality type multi-class cross-entropy loss and oil-bearing grade mean square error loss. The multi-task joint loss function constructs a weighted gain coefficient that increases with depth based on the ratio of the physical depth value corresponding to each training sample to the maximum reference drilling depth of the exploration area. The weighted gain coefficient is then used to jointly weight and penalize the oil quality type multi-class cross-entropy loss and the oil-bearing grade mean square error loss to update the network connection parameters.
9. The deep display identification method based on the logging three-dimensional quantitative fluorescence technology of claim 1, wherein, The real-time optimization process for the deep adaptive classification model specifically includes: Calculate the absolute values of the connection weights of the attention weight fully connected layer and hidden layer units in the deep adaptive classification model, determine the connections that are less than the preset contribution threshold as non-critical connections and remove them by setting them to zero, and generate a sparse weight tensor to complete the model pruning. By calibrating the dynamic value range of the statistical network feature map of the dataset, the floating-point weight tensor and intermediate state matrix of the deep adaptive classification model are converted into fixed-point 8-bit integer format to complete low-bit quantization compression.
10. The deep display identification method based on the logging three-dimensional quantitative fluorescence technology of claim 9, wherein, The real-time optimization process for the deep adaptive classification model also includes: The depth adaptive preprocessing, multi-dimensional fluorescence feature vector, and drilling model inference are run independently and concurrently on the first computing core, the second computing core, and the edge inference coprocessor, respectively, and a ring-shaped time-series data buffer is established for cross-level data transfer. Within the same analysis cycle, the first computing core performs data preprocessing on the current cuttings sample, the second computing core performs feature extraction on the previous cuttings sample, and the edge inference coprocessor performs model forward inference on the previous cuttings sample in a pipelined parallel computation, and the oil and gas display recognition results are output sequentially within each analysis cycle.
11. A deep display recognition system based on 3D quantitative fluorescence technology of logging, characterized in that, include: The spectral scanning acquisition module is used to acquire rock cutting samples at the target depth layer, and to scan the rock cutting samples using a three-dimensional quantitative fluorescence spectrometer to obtain the original three-dimensional fluorescence spectral data matrix. A depth-adaptive preprocessing module, connected to the spectral scanning and acquisition module, is used to perform depth-adaptive preprocessing on the original three-dimensional fluorescence spectral data matrix to generate preprocessed spectral data. A multi-dimensional feature extraction module, connected to the depth adaptive preprocessing module, is used to extract multi-dimensional fluorescence feature vectors from the preprocessed spectral data; A depth adaptive classification module, connected to the multi-dimensional feature extraction module, is used to input the multi-dimensional fluorescence feature vector into the depth adaptive classification model and output the oil and gas display recognition result of the target depth layer; The real-time optimization processing module, connected to the deep adaptive classification module, is used to compress the parameters of the deep adaptive classification model through model pruning and quantization techniques, and to perform the deep adaptive preprocessing, the multi-dimensional fluorescent feature vector, and the drilling model inference of the deep adaptive classification model through a multi-stage pipelined parallel computing architecture.
