An electromagnetic wave resistivity logging interpretation method based on a knowledge graph

By constructing a knowledge graph in the field of electromagnetic resistivity logging, and combining forward modeling response samples and wellbore environment, constrained inversion and iterative correction are performed to solve the problems of multiple solutions and poor consistency of interpretation conclusions in electromagnetic resistivity logging interpretation, thus achieving more accurate and traceable interpretation results.

CN123176884APending Publication Date: 2026-11-27QINGDAO ZHITENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611683557.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-29
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing electromagnetic resistivity logging interpretation methods suffer from multiple interpretations and poor consistency of interpretation conclusions when dealing with the coupled effects of surrounding rock and mud intrusion. They also lack traceability and rely on the personal experience of interpreters, making it difficult to achieve accuracy and reusability.

Method used

A knowledge graph for electromagnetic resistivity logging is constructed. Constrained inversion is performed by combining forward modeling response samples with wellbore environment and mud invasion characteristics. The inversion prior is then corrected by iterative correction of forward modeling fitting error, thereby improving the accuracy and stability of formation resistivity and invasion depth inversion.

Benefits of technology

It improves the accuracy and traceability of inversion of formation resistivity and intrusion depth under complex strata conditions, reduces reliance on the experience of interpreters, and enhances the consistency and reusability of interpretation results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123176884A_ABST
    Figure CN123176884A_ABST
Patent Text Reader

Abstract

The application discloses a kind of electromagnetic wave resistivity logging interpretation methods based on knowledge graph, belong to geophysical well logging technical field.It includes: constructing electromagnetic wave resistivity logging field knowledge graph;Obtain effective logging data;Determine stratum layering result and the mud invasion characteristics of each stratum section;In turn for each stratum section, according to the mud invasion characteristics and borehole environment parameters corresponding, retrieve matched forward response sample from field knowledge graph, and construct inversion prior corresponding stratum section based on forward response sample;Based on inversion prior and the effective logging data of corresponding stratum section, constrained inversion is carried out, and initial inversion result is obtained;According to initial inversion result, forward calculation is carried out, and inversion prior is revised according to the fitting error between forward response curve and corresponding effective logging data, and constrained inversion is carried out again based on revised inversion prior, until the preset inversion convergence condition is satisfied, and the stratum resistivity parameters and invasion depth corresponding to each stratum section are obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of geophysical logging technology, and more specifically, to a knowledge graph-based electromagnetic resistivity logging interpretation method. Background Technology

[0002] Electromagnetic resistivity logging utilizes multiple excitation frequencies and various coil spacings to measure the amplitude ratio and phase difference between receiving coils, and then calculates the apparent resistivity. It is an important tool for identifying reservoirs and evaluating fluid properties in drilling and wireline logging. Because different frequencies and coil spacings correspond to different detection depths, there are systematic response differences between multiple curves within the same formation segment. These differences carry information such as mud invasion and formation anisotropy.

[0003] In practical interpretation, the electromagnetic resistivity logging response is simultaneously affected by factors such as temperature drift, wellbore enlargement, well deviation, instrument eccentricity, surrounding rock, and mud intrusion. Existing interpretation methods mainly fall into two categories: one relies on environmental calibration charts to correct each parameter and then directly read the apparent resistivity, which struggles to handle the coupled effects of surrounding rock and intrusion; the other involves independent inversion of individual formations, with inversion results heavily dependent on initial values ​​and constraints, prone to multiple solutions in multi-parameter coupling, and unable to accumulate inversion experience between different formations or wells. Furthermore, the conversion from resistivity to lithology and fluid properties typically relies on the interpreter's personal experience, lacking traceable evidence for the reasoning process and closed-loop verification with core, well testing, and production test results, leading to poor consistency and reusability of interpretation conclusions.

[0004] In summary, how to integrate forward modeling knowledge, wellbore environmental parameters, and historical verification results to perform constrained inversion and correlation interpretation of electromagnetic resistivity logging data, and improve the accuracy, consistency, and traceability of the interpretation results, has become an urgent technical problem to be solved. Summary of the Invention

[0005] To overcome a series of shortcomings in existing technologies, the purpose of this application is to provide a knowledge graph-based electromagnetic wave resistivity logging interpretation method, including: Constructing a knowledge graph for the field of electromagnetic resistivity logging; Acquire multi-frequency, multi-depth logging curves and wellbore environmental parameters of the target well, perform temperature drift correction and quality inspection on the logging curves, and obtain effective logging data; Based on effective logging data and the response differences at different detection depths and excitation frequencies, the stratigraphic stratification results and mud invasion characteristics of each stratigraphic segment were determined. Based on the stratigraphic stratification results, for each stratigraphic segment, matching forward response samples are retrieved from the domain knowledge graph according to the corresponding mud invasion characteristics and wellbore environmental parameters, and inversion priors for the corresponding stratigraphic segments are constructed based on the forward response samples. Constrained inversion is performed based on inversion priors and valid well logging data of the corresponding formation intervals to obtain initial inversion results; Forward modeling is performed based on the initial inversion results. The inversion prior is then corrected based on the fitting error between the forward response curve and the corresponding valid well logging data. Constrained inversion is then performed again based on the corrected inversion prior until the preset inversion convergence conditions are met, thereby obtaining the formation resistivity parameters and invasion depths corresponding to each stratum.

[0006] In some embodiments, retrieving matching forward response samples from a domain knowledge graph includes the following steps: Based on the wellbore environmental parameters, mud invasion characteristics, and instrument model of the target formation, the search conditions are determined, and a candidate forward response sample set is obtained from the domain knowledge graph. Extract the representative values ​​within the effective logging data of the target formation section and the response values ​​of each candidate forward modeling response sample at the corresponding detection depth and excitation frequency, construct a feature vector containing amplitude ratio, phase difference and frequency ratio, and perform normalization processing; The weight of the matching distance is determined based on the average mass weight of each depth point within the target stratigraphic segment. The weighted Euclidean distance between the target stratigraphic segment and each candidate forward response sample is calculated and sorted in ascending order of distance. Select the top-ranked, preset number of candidate forward response samples as the matching results; when the number of candidate forward response samples is insufficient, gradually widen the range of values ​​for wellbore environmental parameters, and re-execute sample retrieval, feature vector construction, and distance sorting until the preset number is met or the preset number of widening attempts is reached.

[0007] In some embodiments, constructing an inversion prior for the corresponding stratigraphic segment based on forward response samples includes the following steps: Read the formation resistivity, invasion zone resistivity and invasion depth corresponding to each forward model response sample, and determine the normalization weight based on the similarity between each forward model response sample and the effective logging data of the target formation section; Based on the normalized weights, the weighted mean and weighted covariance matrix of formation resistivity, intrusion zone resistivity and intrusion depth are calculated respectively. The weighted mean is used as the initial value of the inversion parameter, and the weighted covariance matrix is ​​used as the covariance matrix of the inversion prior. A lower limit is set for the diagonal elements of the covariance matrix. The corresponding value range is determined based on the weighted mean and corresponding weighted standard deviation of the formation resistivity, the resistivity of the intrusion zone, and the intrusion depth. The intersection of the value range of the intrusion depth and the initial range of the intrusion depth is taken, and the boundary constraint of the intrusion depth is determined based on the intersection. When the intersection is empty, the initial range of the intrusion depth is used as the boundary constraint of the intrusion depth. Based on the initial values ​​of the inversion parameters, the covariance matrix, the range of values, and the boundary constraints, the inversion priors for the corresponding stratigraphic segments are constructed.

[0008] In some embodiments, constrained inversion is performed based on inversion priors and valid well logging data of the corresponding formation intervals, specifically including: The inversion sequence of each stratum is determined according to the order of depth from shallow to deep, and the initial value of the surrounding rock resistivity is determined based on the effective logging data of adjacent stratum segments. For the current formation segment, the formation resistivity, the resistivity of the intrusion zone and the intrusion depth are used as the parameters to be inverted. An objective function containing data fitting terms and prior constraint terms is constructed based on the inversion prior. The regularization coefficient is determined based on the average quality weight of the effective logging data. Using the initial values ​​of the parameters in the inversion prior as the initial values ​​of the iteration, the damped Gauss-Newton method is used to iteratively solve the objective function, and the parameters to be inverted are restricted within the boundary constraints of the inversion prior until the decrease in the objective function between two adjacent iterations is less than the preset value, thus obtaining the inversion result of the current stratigraphic segment. Constrained inversion of each stratigraphic segment is completed sequentially. The inverted stratigraphic resistivity of the adjacent overlying stratigraphic segment is used as the overlying rock resistivity of the current stratigraphic segment. The initial value of the underlying rock resistivity is determined based on the effective logging data of the adjacent underlying stratigraphic segment. The surrounding rock resistivity is updated based on the inversion results of each stratum, and the constrained inversion of each stratum is re-executed until the relative change of the formation resistivity of each stratum in two adjacent rounds is less than the preset threshold or reaches the upper limit of the preset round, so as to obtain the final inversion results of each stratum and the corresponding surrounding rock resistivity.

[0009] In some embodiments, the inversion prior is corrected based on the fitting error between the forward response curve and the corresponding valid logging data, including the following steps: Calculate the weighted root mean square error between the forward response curves and the corresponding valid logging data at each detection depth and excitation frequency, and statistically analyze the error by channel; Whether to correct the inversion prior is determined by comparing the weighted root mean square error of each channel with the preset error threshold; when the error of all channels is lower than the preset error threshold, the inversion prior remains unchanged; otherwise, the parameter to be corrected is determined based on the detection depth corresponding to the maximum error. Using the current inversion results as search criteria, and under the constraints of wellbore environmental parameters and mud invasion characteristics, forward response samples are searched again, and the corresponding weights are adjusted according to the parameter deviations between each forward response sample and the current inversion results to obtain updated initial parameter values. Adjust the diagonal elements of the covariance matrix corresponding to the parameter to be corrected based on the maximum error, and limit the adjustment range within a preset range to obtain the corrected inversion prior.

[0010] In some embodiments, constructing a knowledge graph in the field of electromagnetic resistivity logging includes the following steps: Define logging response characteristics, wellbore environment, formation characteristics, mud invasion characteristics, interpretation conclusions, and entity types and attributes of forward modeling response samples; among them, logging response characteristics include amplitude ratio, phase difference, and apparent resistivity at different excitation frequencies and probe depths; wellbore environment includes well diameter, mud resistivity, well inclination angle, and instrument eccentricity; formation characteristics include formation thickness, surrounding rock resistivity, anisotropy coefficient, clay content, and porosity range; Based on the causal, influence, indication and correspondence relationships between entities, a directed association relationship is established, and a confidence weight and applicable conditions are configured for each directed association relationship. The applicable conditions are used to limit the range of well environment parameters when the directed association relationship is established. Each forward model response sample is constructed as an independent entity, associated with the corresponding wellbore environment, formation characteristics and mud invasion characteristics, and the sample source is marked as numerical simulation or measured inversion; By integrating various entities, entity attributes, and directed relationships, an interval index for numerical attributes is established to form a knowledge graph for the electromagnetic wave resistivity logging field.

[0011] In some embodiments, the method for generating forward response samples is as follows: Based on the distribution range of well diameter, mud resistivity, formation resistivity, surrounding rock resistivity, intrusion zone resistivity and intrusion depth of existing wells in the target work area, the model parameter space is determined, and multiple sets of model parameters are obtained by combining equal interval sampling and random sampling. Based on the parameters of each group of models, a radial stratification model including the flushing zone, transition zone and undisturbed strata is established. Combined with the vertical strata interface and the parameters of the upper and lower surrounding rocks, the amplitude ratio and phase difference under different excitation frequencies and probe depths are calculated through electromagnetic field numerical simulation, and the corresponding forward response curves are generated. The parameters of each model group, forward response curves, instrument coil spacing and excitation frequency are associated and stored to form forward response samples. The numerical simulation method, grid accuracy, instrument model and generation date are recorded as sample traceability information.

[0012] In some embodiments, the method for obtaining effective well logging data is as follows: The temperature at each depth point is obtained and filtered, and the temperature drift coefficients of amplitude ratio and phase difference at each excitation frequency are fitted. Based on the temperature difference between each depth point and the calibrated reference temperature and the corresponding temperature drift coefficient, the logging curve is corrected for temperature drift, and the corrected apparent resistivity is calculated. The corrected logging curves are tested for missing values, jumps, consistency of repeated measurements, and consistency between frequencies. The quality weight of each depth point is determined based on the test results. Depth points with quality weights below a preset lower limit are removed, and the logging curves and quality weights corresponding to the remaining depth points are used as valid logging data.

[0013] In some embodiments, the method for determining the stratigraphic stratification result is as follows: Select the logging curve with the shallowest detection depth and the highest vertical resolution, calculate its first-order difference absolute value, and combine it with the up and down measurement results to determine the candidate formation interface; Interface detection is performed on the remaining logging curves, and the candidate formation interfaces identified by each logging curve are merged. The candidate formation interfaces that are jointly identified by multiple logging curves within the preset depth tolerance are retained to obtain effective formation interfaces. The formation segments are divided according to the adjacent effective stratigraphic interfaces. The mean and relative variance of each logging curve in each formation segment are calculated. For formation segments with relative variance exceeding the preset variance threshold, local abnormal responses near the interface are removed and the segments are further subdivided to obtain subdivided formation segments. By merging subdivided stratigraphic segments with a thickness less than the instrument's longitudinal resolution with adjacent stratigraphic segments whose response differences meet preset merging conditions, stratigraphic stratification results are obtained.

[0014] In some embodiments, it also includes: Based on the formation resistivity parameters, mud invasion characteristics and auxiliary logging data of each stratum, the domain knowledge graph is used to perform correlation reasoning to obtain the formation lithology, fluid properties and corresponding reasoning basis; Based on the obtained core samples, oil testing, or production test results, the formation lithology and fluid properties are verified, and the domain knowledge graph is updated based on the verification results.

[0015] Compared with the prior art, this application has the following beneficial effects: This application constructs a knowledge graph in the field of electromagnetic resistivity logging, combines forward modeling response samples with wellbore environment, mud invasion characteristics and constrained inversion, and improves the accuracy, stability and traceability of formation resistivity and invasion depth inversion under complex formation conditions by constructing a knowledge graph in the field of electromagnetic resistivity logging, combining forward modeling response samples with wellbore environment, mud invasion characteristics and constrained inversion, and iteratively correcting inversion priors through forward modeling fitting errors. Attached Figure Description

[0016] Figure 1The overall flowchart of the knowledge graph-based electromagnetic wave resistivity logging interpretation method provided in the embodiments of the present invention is shown below. Figure 2 This is a flowchart of the domain knowledge graph construction and forward response sample generation in an embodiment of the present invention; Figure 3 This is a flowchart illustrating the well logging data preprocessing, formation stratification, and mud invasion characteristic determination in this embodiment of the invention. Figure 4 This is a flowchart illustrating the forward response sample retrieval, inversion prior construction, constraint inversion, and inversion prior correction in this embodiment of the invention. Figure 5 This is a flowchart of the association reasoning, verification, and domain knowledge graph update in an embodiment of the present invention. Detailed Implementation

[0017] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of the embodiments of this invention will be described in more detail below with reference to the accompanying drawings. In the drawings, the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The described embodiments are some embodiments of this invention, but not all embodiments.

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

[0019] The embodiments and directional terms described below with reference to the accompanying drawings are exemplary and intended to explain the present invention, and should not be construed as limiting the present invention.

[0020] In a broad embodiment of the present invention, an electromagnetic wave resistivity logging interpretation method based on knowledge graphs includes: A knowledge graph for the electromagnetic resistivity logging domain is constructed. The domain knowledge graph includes the relationships between logging response characteristics, wellbore environment, formation characteristics and interpretation conclusions, as well as the forward modeling response samples corresponding to the relationships. Acquire multi-frequency, multi-depth logging curves and wellbore environmental parameters of the target well, perform temperature drift correction and quality inspection on the logging curves, and obtain effective logging data; Based on effective logging data and the response differences at different detection depths and excitation frequencies, the stratigraphic stratification results and mud invasion characteristics of each stratigraphic segment were determined. Based on the stratigraphic stratification results, for each stratigraphic segment, matching forward response samples are retrieved from the domain knowledge graph according to the corresponding mud invasion characteristics and wellbore environmental parameters, and inversion priors for the corresponding stratigraphic segments are constructed based on the forward response samples. Constrained inversion is performed based on inversion priors and valid well logging data of the corresponding formation intervals to obtain initial inversion results; Forward modeling is performed based on the initial inversion results. The inversion prior is then corrected based on the fitting error between the forward response curve and the corresponding valid well logging data. Constrained inversion is then performed again based on the corrected inversion prior until the preset inversion convergence conditions are met, thereby obtaining the formation resistivity parameters and invasion depth corresponding to each stratum. Based on the formation resistivity parameters, mud invasion characteristics and auxiliary logging data of each stratum, the domain knowledge graph is used to perform correlation reasoning to obtain the formation lithology, fluid properties and corresponding reasoning basis; Based on the obtained core samples, oil testing, or production test results, the formation lithology and fluid properties are verified, and the domain knowledge graph is updated based on the verification results.

[0021] In some embodiments, retrieving matching forward response samples from a domain knowledge graph includes the following steps: Based on the wellbore environmental parameters, mud invasion characteristics, and instrument model of the target formation, the search conditions are determined, and a candidate forward response sample set is obtained from the domain knowledge graph. Extract the representative values ​​within the effective logging data of the target formation section and the response values ​​of each candidate forward modeling response sample at the corresponding detection depth and excitation frequency, construct a feature vector containing amplitude ratio, phase difference and frequency ratio, and perform normalization processing; The weight of the matching distance is determined based on the average mass weight of each depth point within the target stratigraphic segment. The weighted Euclidean distance between the target stratigraphic segment and each candidate forward response sample is calculated and sorted in ascending order of distance. Select the top-ranked, preset number of candidate forward response samples as the matching results; when the number of candidate forward response samples is insufficient, gradually widen the range of values ​​for wellbore environmental parameters, and re-execute sample retrieval, feature vector construction, and distance sorting until the preset number is met or the preset number of widening attempts is reached.

[0022] In some embodiments, constructing an inversion prior for the corresponding stratigraphic segment based on forward response samples includes the following steps: Read the formation resistivity, invasion zone resistivity and invasion depth corresponding to each forward model response sample, and determine the normalization weight based on the similarity between each forward model response sample and the effective logging data of the target formation section; Based on the normalized weights, the weighted mean and weighted covariance matrix of formation resistivity, intrusion zone resistivity and intrusion depth are calculated respectively. The weighted mean is used as the initial value of the inversion parameter, and the weighted covariance matrix is ​​used as the covariance matrix of the inversion prior. A lower limit is set for the diagonal elements of the covariance matrix. The corresponding value range is determined based on the weighted mean and corresponding weighted standard deviation of the formation resistivity, the resistivity of the intrusion zone, and the intrusion depth. The intersection of the value range of the intrusion depth and the initial range of the intrusion depth is taken, and the boundary constraint of the intrusion depth is determined based on the intersection. When the intersection is empty, the initial range of the intrusion depth is used as the boundary constraint of the intrusion depth. Based on the initial values ​​of the inversion parameters, the covariance matrix, the range of values, and the boundary constraints, the inversion priors for the corresponding stratigraphic segments are constructed.

[0023] In some embodiments, constrained inversion is performed based on inversion priors and valid well logging data of the corresponding formation intervals, specifically including: The inversion sequence of each stratum is determined according to the order of depth from shallow to deep, and the initial value of the surrounding rock resistivity is determined based on the effective logging data of adjacent stratum segments. For the current formation segment, the formation resistivity, the resistivity of the intrusion zone and the intrusion depth are used as the parameters to be inverted. An objective function containing data fitting terms and prior constraint terms is constructed based on the inversion prior. The regularization coefficient is determined based on the average quality weight of the effective logging data. Using the initial values ​​of the parameters in the inversion prior as the initial values ​​of the iteration, the damped Gauss-Newton method is used to iteratively solve the objective function, and the parameters to be inverted are restricted within the boundary constraints of the inversion prior until the decrease in the objective function between two adjacent iterations is less than the preset value, thus obtaining the inversion result of the current stratigraphic segment. Constrained inversion of each stratigraphic segment is completed sequentially. The inverted stratigraphic resistivity of the adjacent overlying stratigraphic segment is used as the overlying rock resistivity of the current stratigraphic segment. The initial value of the underlying rock resistivity is determined based on the effective logging data of the adjacent underlying stratigraphic segment. The surrounding rock resistivity is updated based on the inversion results of each stratum, and the constrained inversion of each stratum is re-executed until the relative change of the formation resistivity of each stratum in two adjacent rounds is less than the preset threshold or reaches the upper limit of the preset round, so as to obtain the final inversion results of each stratum and the corresponding surrounding rock resistivity.

[0024] In some embodiments, the inversion prior is corrected based on the fitting error between the forward response curve and the corresponding valid logging data, including the following steps: Calculate the weighted root mean square error between the forward response curves and the corresponding valid logging data at each detection depth and excitation frequency, and statistically analyze the error by channel; Whether to correct the inversion prior is determined by comparing the weighted root mean square error of each channel with the preset error threshold; when the error of all channels is lower than the preset error threshold, the inversion prior remains unchanged; otherwise, the parameter to be corrected is determined based on the detection depth corresponding to the maximum error. Using the current inversion results as search criteria, and under the constraints of wellbore environmental parameters and mud invasion characteristics, forward response samples are searched again, and the corresponding weights are adjusted according to the parameter deviations between each forward response sample and the current inversion results to obtain updated initial parameter values. Adjust the diagonal elements of the covariance matrix corresponding to the parameter to be corrected based on the maximum error, and limit the adjustment range within a preset range to obtain the corrected inversion prior.

[0025] In some embodiments, the preset inversion convergence conditions include normal convergence conditions and termination conditions. The normal convergence condition is that the weighted root mean square error between the forward response curve and the effective logging data is less than a preset error threshold, and the relative change of each parameter to be inverted obtained in two adjacent inversion rounds is less than a preset change threshold. The termination condition is that the number of corrections to the inversion prior reaches a preset upper limit. When the normal convergence condition is met, the inversion result of the current round is used as the inversion result for that formation segment. When only the termination condition is met but the normal convergence condition is not met, the result with the smallest weighted root mean square error among all inversions is selected as the inversion result for that formation segment, and it is marked as low confidence in the output result of that formation segment. At the same time, the channel with the largest error when not converging is recorded for subsequent manual verification or supplementary map samples. The error threshold is determined according to the average quality weight of the effective logging data. The lower the average quality weight, the larger the error threshold value, in order to avoid overfitting to low-quality data. The inversion results of formation segments marked as low confidence are only used as a reference in the correlation inference and are not used as the sole basis for drawing conclusions about fluid properties. If all formation segments are marked as low confidence, it is suggested to re-examine the wellbore environment parameters and curve quality.

[0026] In some embodiments, constructing a knowledge graph in the field of electromagnetic resistivity logging includes the following steps: Define logging response characteristics, wellbore environment, formation characteristics, mud invasion characteristics, interpretation conclusions, and entity types and attributes of forward modeling response samples; among them, logging response characteristics include amplitude ratio, phase difference, and apparent resistivity at different excitation frequencies and probe depths; wellbore environment includes well diameter, mud resistivity, well inclination angle, and instrument eccentricity; formation characteristics include formation thickness, surrounding rock resistivity, anisotropy coefficient, clay content, and porosity range; Based on the causal, influence, indication and correspondence relationships between entities, a directed association relationship is established, and a confidence weight and applicable conditions are configured for each directed association relationship. The applicable conditions are used to limit the range of well environment parameters when the directed association relationship is established. Each forward model response sample is constructed as an independent entity, associated with the corresponding wellbore environment, formation characteristics and mud invasion characteristics, and the sample source is marked as numerical simulation or measured inversion; By integrating various entities, entity attributes, and directed relationships, an interval index for numerical attributes is established to form a knowledge graph for the electromagnetic wave resistivity logging field.

[0027] In some embodiments, forward response samples are generated through the following steps: Based on the distribution range of well diameter, mud resistivity, formation resistivity, surrounding rock resistivity, intrusion zone resistivity and intrusion depth of existing wells in the target work area, the model parameter space is determined, and multiple sets of model parameters are obtained by combining equal interval sampling and random sampling. Based on the parameters of each group of models, a radial stratification model including the flushing zone, transition zone and undisturbed strata is established. Combined with the vertical strata interface and the parameters of the upper and lower surrounding rocks, the amplitude ratio and phase difference under different excitation frequencies and probe depths are calculated through electromagnetic field numerical simulation, and the corresponding forward response curves are generated. The parameters of each model group, forward response curves, instrument coil spacing and excitation frequency are associated and stored to form forward response samples. The numerical simulation method, grid accuracy, instrument model and generation date are recorded as sample traceability information.

[0028] In some embodiments, the method for obtaining effective well logging data is as follows: The temperature at each depth point is obtained and filtered, and the temperature drift coefficients of amplitude ratio and phase difference at each excitation frequency are fitted. Based on the temperature difference between each depth point and the calibrated reference temperature and the corresponding temperature drift coefficient, the logging curve is corrected for temperature drift, and the corrected apparent resistivity is calculated. The corrected logging curves are tested for missing values, jumps, consistency of repeated measurements, and consistency between frequencies. The quality weight of each depth point is determined based on the test results. Depth points with quality weights below a preset lower limit are removed, and the logging curves and quality weights corresponding to the remaining depth points are used as valid logging data.

[0029] In some embodiments, the formation stratification results are determined based on effective logging data and response differences at different detection depths and excitation frequencies, including the following steps: Select the logging curve with the shallowest detection depth and the highest vertical resolution, calculate its first-order difference absolute value, and combine it with the up and down measurement results to determine the candidate formation interface; Interface detection is performed on the remaining logging curves, and the candidate formation interfaces identified by each logging curve are merged. The candidate formation interfaces that are jointly identified by multiple logging curves within the preset depth tolerance are retained to obtain effective formation interfaces. The formation segments are divided according to the adjacent effective stratigraphic interfaces. The mean and relative variance of each logging curve in each formation segment are calculated. For formation segments with relative variance exceeding the preset variance threshold, local abnormal responses near the interface are removed and the segments are further subdivided to obtain subdivided formation segments. By merging subdivided stratigraphic segments with a thickness less than the instrument's longitudinal resolution with adjacent stratigraphic segments whose response differences meet preset merging conditions, stratigraphic stratification results are obtained.

[0030] In some embodiments, determining the mud intrusion characteristics of different strata includes the following steps: The median of apparent resistivity at different detection depths within each stratum was calculated and arranged from shallow to deep to obtain a sequence of median apparent resistivity. Calculate the absolute value of the difference between the median apparent resistivity corresponding to the deepest detection depth and the shallowest detection depth, and normalize the absolute value using the mean of the median apparent resistivity corresponding to each detection depth to obtain the normalized difference. Based on the changing trend of the apparent resistivity median sequence and the comparison results of the normalized difference with the preset separation threshold, the mud intrusion type of each stratum is determined. For formations with mud intrusion, the initial range of intrusion depth is determined based on the difference in median apparent resistivity at different detection depths and the corresponding radial detection depth. The mud intrusion type and the initial range of intrusion depth are then used as the mud intrusion characteristics of the corresponding formation.

[0031] In some embodiments, obtaining the wellbore environmental parameters of the target well and using them for forward modeling includes the following steps: Obtain the wellbore diameter curve, well inclination curve, mud resistivity and instrument eccentricity of the target well. Smooth the wellbore diameter curve and convert the mud resistivity measured at the wellhead into downhole mud resistivity based on the downhole temperature. Align the wellbore environmental parameters with the formation stratification results by depth to determine the representative values ​​of the wellbore environmental parameters for each formation segment. A forward model is constructed based on representative values ​​of wellbore environmental parameters. For formation sections where the well diameter exceeds the preset enlargement threshold, an enlarged wellbore is set. For formation sections where the well inclination angle exceeds the preset dip angle threshold, an inclined formation interface is set. The offset of the instrument relative to the well axis is set according to the instrument eccentricity. For missing well inclination angles, the empirical value of the block is used. For missing instrument eccentricities, they are set to zero and marked. Forward modeling calculations were performed based on the forward model to obtain forward response curves that include the influence of the wellbore environment.

[0032] In some embodiments, auxiliary logging data include natural gamma, neutron porosity, lithological density, and sonic transit time logging data.

[0033] In some embodiments, domain knowledge graphs are used for associative reasoning to obtain stratigraphic lithology, fluid properties, and the corresponding reasoning basis. The formation resistivity, mud intrusion characteristics, clay content and porosity of each stratum are discretized and associated with the corresponding entities in the domain knowledge graph to obtain the starting entity; Starting from the initial entity, the system performs a multi-hop traversal along the indicator and correspondence relationships in the domain knowledge graph. It filters associated paths based on wellbore environment parameters, calculates path scores, and removes paths below a preset threshold. It then performs a joint score on associated paths pointing to the same candidate conclusion to obtain the joint score of each candidate conclusion. Water saturation is calculated based on formation resistivity, effective porosity, and formation water resistivity, and mud conductivity correction is performed when the mud content exceeds a preset threshold. Candidate conclusions on fluid properties are determined by combining mud intrusion characteristics, the relationship between mud filtrate resistivity and formation water resistivity, and the difference between neutron porosity and density porosity. Based on the joint score and candidate conclusions of fluid properties, the stratigraphic lithology and fluid properties of each stratum are determined, and the entities and relationships in the corresponding associated paths are output as the basis for reasoning. When the difference between the highest joint score and the second highest joint score is less than the preset difference, the two corresponding candidate conclusions are output at the same time and marked as multiple solutions.

[0034] In some embodiments, the formation lithology and fluid properties are verified based on the obtained core samples, oil testing, or production test results, including the following steps: The core repositioning amount is determined by comparing the core natural gamma curve and the well logging natural gamma curve. The core depth is repositioned to the well logging depth, and the lithology, porosity, fluid production type and production are matched to the corresponding formation interval. The interpreted lithology of each formation segment is compared with the core lithology, and the interpreted fluid properties are compared with the oil test or production test results. The absolute error between the interpreted porosity and the core analysis porosity is calculated. When the test well segment covers multiple formation segments, the fluid property results of the corresponding formation segments are combined and compared with the test results as a whole. The verification result is determined based on the lithological comparison results, the fluid property comparison results, and the absolute error. When the lithology and fluid properties are consistent and the absolute error is less than the preset error upper limit, the verification is deemed to be passed; otherwise, the verification is deemed to be failed. The preset error upper limit is determined based on the experimental error of the porosity of the core analysis. Verification records are generated based on the verification results of each layer. The verification records include the verification object, the actual measurement basis, the comparison results and the corresponding association path, and the verification records are associated with the entities and association relationships corresponding to the association path.

[0035] In some embodiments, updating the domain knowledge graph based on the verification results includes the following steps: The verification status of each stratum is determined based on the verification results. For stratum segments that have passed verification and have not been marked as low confidence, their wellbore environment parameters, effective logging data characteristics, inverted formation resistivity parameters and invasion depth are written into the domain knowledge graph as forward modeling response samples. The source of the samples and their well numbers are recorded, and the confidence weight of each relationship in the corresponding association path is increased. For formation segments that fail verification, reduce the confidence weight of each association in the corresponding association path, and record the well environment value range of the formation segment as the exclusion interval of the corresponding association. Associations with confidence weights lower than a preset elimination threshold are marked as pending review, and such pending review associations are excluded in subsequent association reasoning. The corresponding associations are then restored or deleted based on the results of manual review. Record the update time, the hash number that triggered the update, and the verification record number; generate the updated version of the domain knowledge graph; and retain the previous version for rollback.

[0036] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. The described embodiments are only some embodiments of the present invention, and not all embodiments.

[0037] This embodiment uses the 2860m to 2920m section of Well X in an onshore oilfield as the application scenario. The lithology of this section is mainly interbedded sandstone and mudstone, the drilling fluid is water-based mud, and the drill bit diameter is... m. The electromagnetic resistivity instrument used has Excitation frequency ( MHz, kHz) and The coil spacing and the nominal radial detection depth (measured from the wellbore wall, taking the average of the two frequency detection depths) are as follows: m、 m、 m, well logging sampling interval is m, target well section total There are [number] depth points. Each frequency and coil spacing combination outputs an amplitude ratio curve and a phase difference curve, therefore each depth point has [number] [number] [depth points]. One response channel. In this embodiment, ( () indicates the excitation frequency sequence number. ( () indicates the coil distance sequence number. ( () represents the depth point number, corresponding to a depth of subscript ( () indicates the stratigraphic segment number.

[0038] like Figure 1 As shown, the method of the present invention includes steps S1 to S8, which are described below.

[0039] Step S1: Construct a knowledge graph for the field of electromagnetic wave resistivity logging.

[0040] like Figure 2 As shown, the entity types and attributes are first defined. Entity types include logging response characteristics, wellbore environment, formation characteristics, mud invasion characteristics, interpretation conclusions, and forward modeling response samples. Specifically, the attributes of logging response characteristics are amplitude ratio, phase difference, and apparent resistivity at different excitation frequencies and probe depths; the attributes of the wellbore environment are wellbore diameter, mud resistivity, well inclination angle, and instrument eccentricity; the attributes of formation characteristics are formation thickness, surrounding rock resistivity, anisotropy coefficient, clay content, and porosity range; the attributes of mud invasion characteristics are invasion type and invasion depth range; and the attributes of interpretation conclusions are formation lithology and fluid properties.

[0041] Then, a directed correlation is established based on the causal, influence, indication, and correspondence relationships between the entities. For example, when the resistivity of the mud filtrate is greater than that of the formation water ( Under the conditions of "mud invasion type is drag-increasing" indicating "hydrocarbon-bearing formation" and "well diameter enlargement" affecting "shallow exploration curve response", each directed correlation is defined as follows: Configure confidence weights ( The initial value is given by expert experience or historical well statistics. In this embodiment, we take... The applicable conditions and the conditions that define the range of wellbore environmental parameters, such as well diameter range, when the relationship is established. m, range of downhole mud resistivity .

[0042] The forward response samples are generated as follows: First, the diameters of existing wells in the target work area are statistically analyzed. Downhole mud resistivity Formation resistivity Rock resistivity , Intrusion resistivity and depth of penetration The distribution range is used to determine the model parameter space. Let the model parameter vector be... The resistivity parameter takes values ​​in the logarithmic domain. In this embodiment, and The range of values ​​is , The range of values ​​is m, The range of values ​​is , The range of values ​​is , The range of values ​​is m, these ranges are obtained by expanding the statistical results of the existing 12 wells in the work area by 10%. Multiple sets of model parameters are obtained using a combination of equal-interval sampling and random sampling: equal-interval sampling in the logarithmic domain... , Take 8 levels from each, and... Take 6 levels, for Four levels were selected, and the remaining parameters were taken as the average values ​​of the work area. Group; random sampling is uniformly drawn within the parameter space. Groups, totaling 4000 groups.

[0043] For each set of model parameters, a radially layered model including the flushed zone, transition zone, and undisturbed strata is established. Combined with the vertical formation interface and surrounding rock parameters, the response is calculated through electromagnetic field numerical simulation. The wellbore radius is set as follows: Intrusion leading edge radius outer radius of the flushing belt ,in The proportion of the flushing zone to the penetration depth is taken as... Then the radial resistivity distribution for: In the formula, r is the radial distance to the well axis, in meters (m). The resistivity at a radial distance r, in units of The remaining symbols are as described above. The resistivity of the transition band in the logarithmic domain is determined by... linear transition to .

[0044] In numerical simulation of electromagnetic fields, the two-dimensional finite element method is used to analyze the first... The frequency, the first Given the coil spacing, calculate the induced voltage of the two receiving coils. and The amplitude ratio and phase difference are obtained by the following formula: In the formula, It is a logarithm to the base 10; This is the amplitude ratio, in dB. The phase difference is expressed in degrees. and These are the complex induced voltages of the near and far receiving coils, respectively, which are directly output from numerical simulation. The argument of the complex number is expressed in rad. The forward response curves corresponding to each set of model parameters are obtained using the amplitude ratio and phase difference calculation formulas described above. The model parameters, forward response curves, instrument coil spacing, and excitation frequency are associated and stored to form forward response samples. The numerical simulation method (two-dimensional finite element method), mesh accuracy (in this embodiment, the minimum radial mesh is 5mm), instrument model, and generation date are recorded as sample traceability information.

[0045] Finally, each forward response sample is constructed as an independent entity, associated with the corresponding wellbore environment, formation characteristics and mud invasion characteristics, and the sample source is labeled as "numerical simulation" (samples written by the verified inversion results are labeled as "measured inversion"). An interval index is established for the numerical attributes, and the entities, entity attributes and directed relationships are integrated to form a knowledge graph in the field of electromagnetic wave resistivity logging.

[0046] Step S2: Obtain logging curves and wellbore environmental parameters, and perform temperature drift correction and quality inspection.

[0047] Obtain the temperature at various depths of the target well. (Unit: °C), amplitude ratio Phase difference Simultaneously acquire the measurement curves from both the upper and lower measurements. Apply a moving average filter to the temperature readings. In the formula, For the first Filtered temperature at each depth point; For the half-width of the filter window, take ; This is the offset number within the window.

[0048] In the calibration dataset Within, the temperature drift coefficient of each channel is fitted. The sample was taken from the homogenization saline bath before the instrument left the factory. The high and low temperature calibration data at ℃ show that the resistivity of the medium remains constant; therefore, any change in the response with temperature is entirely due to instrument temperature drift. In the formula, This is the temperature drift coefficient for the amplitude ratio, in dB / ℃; This is the temperature drift coefficient of the phase difference, expressed in ° / ℃. , and These are the arithmetic mean of the filtered temperature, amplitude ratio, and phase difference within the calibration dataset, respectively. The least squares slope is used as the drift coefficient. This embodiment yields... dB / ℃, ° / ℃.

[0049] Based on this, temperature drift correction is performed at each depth point: In the formula, and These are the corrected amplitude ratio and phase difference, respectively; To calibrate the instrument's reference temperature, take... ℃. For example, at depth m ℃, channel The measured value is dB °, then ℃, the correction values ​​are respectively dB and °, after correction dB °.

[0050] Then, based on the instrument's response chart in a homogeneous medium, the corrected phase difference is interpolated in the logarithmic domain to obtain the apparent resistivity: In the formula, Apparent resistivity, in units of ; For channel The phase difference-resistivity conversion function is obtained from the homogeneous dielectric plate provided by the instrument manufacturer through logarithmic interpolation. In the example above... ° Corresponding This depth is located in stratigraphic section L. m1 Its resistivity is comparable to that of the adjacent pure mudstone.

[0051] The corrected curve is tested for missing values, jumps, consistency of repeated measurements, and consistency between frequencies. The missing value test provides an indication. When any channel is in the When points are missing, take Otherwise take The deviations for the other three tests are as follows: In the formula, The jump deviation represents the maximum deviation of the logarithmic value of apparent resistivity from the median of the three adjacent points. The median of the three points is not sensitive to monotonic steps at the formation interface, but is only sensitive to isolated spikes. To account for repeatability bias, and The apparent resistivity was obtained from the upper and lower measurements, respectively. This is due to inconsistency between frequencies; The upper limit of the normal difference between the two frequencies due to differences in detection depth and skin effect is determined statistically from normal well sections in the work area without intrusion or enlargement. ; This represents the median value. The larger the deviation, the less reliable the data at that depth point. The deviation is then converted to... The quality indicators are then combined to form quality weights: In the formula, , , These are three quality indicators: jump, repeated measurement, and frequency interval; , , These are the allowable scales for the corresponding deviations, approximately twice the 95th quantile of the corresponding deviation in the normal well section of the work area. In this embodiment, we take... , , ; For the first The quality weight of each depth point, with a value range of [value range missing]. .For example, m , , And there are no missing parts, then , , , Remove items with a quality weight below the lower limit. The remaining depth points are used as valid logging data, and the curves and quality weights corresponding to the remaining depth points are used as the valid logging data.

[0052] Simultaneously, acquire wellbore environmental parameters: obtain wellbore diameter curve, well inclination curve, wellhead mud resistivity, and instrument eccentricity; perform sliding average smoothing on the wellbore diameter curve; and convert the wellhead mud resistivity to downhole mud resistivity using the following formula: In the formula, The resistivity of the downhole mud; The resistivity of the mud measured at the wellhead; The temperature at which the resistivity of the mud was measured is °C. The filtered temperature at the target depth; a constant. This is the Arps empirical constant on the Celsius temperature scale. In this embodiment... , ℃, ℃, get Align the wellbore environmental parameters with the formation stratification results by depth, and take the median value within each formation segment as the representative value of the wellbore environmental parameters for that segment, including the well diameter. , well inclination angle Instrument eccentricity and For missing wellbore inclination angles, empirical values ​​for the relevant block are used; for missing instrument eccentricity, it is set to zero and marked. When constructing the forward model, [the following is done]: Enlarged-diameter wellbores were installed in the formation section, among which As the diameter expansion threshold, take m; for The stratigraphic section is set with an inclined stratigraphic interface, in which As the tilt angle threshold, take °; and according to Set the instrument offset relative to the well axis so that the forward modeling response includes the influence of the wellbore environment.

[0053] Step S3: Determine the stratigraphic stratification results and mud intrusion characteristics.

[0054] like Figure 3 As shown, the curve with the shallowest detection depth and the highest vertical resolution is selected, i.e. The apparent resistivity curve makes and They are the lower test and the upper test, respectively. Calculate the absolute value of its first-order difference and combine it with the results of the upper and lower measurements: In the formula, For the first The logarithmic longitudinal rate of change of apparent resistivity at a point, in units of ; The threshold for interface discrimination; and Each section The mean and standard deviation; As a multiple of the threshold, take Will satisfy Furthermore, depth points that represent local maxima are selected as candidate stratigraphic interfaces. In this embodiment... , ,have to ,depth m (The shallow probe apparent resistivity of mudstone and sandstone is from) Transition to In about Variation within the longitudinal resolution range of m Orders in magnitude, corresponding to a rate of change of approximately Therefore, it is a candidate interface.

[0055] For the rest Each apparent resistivity curve undergoes the same interface detection process. Candidate interfaces identified from each curve are then merged and retained within the depth tolerance range. The inner lining is no less than Candidate interfaces identified by the joint analysis of several curves (including shallow probe curves) yield effective layer interfaces. In this embodiment, the interface is selected as follows: m, In the example above There are a total of 5 curves at point m, including the shallow detection curve. The interface is simultaneously recognized within m, and no less than This should be retained. Similarly, the effective interface is obtained. m and m, will The m well section is divided into 4 stratigraphic sections L m1 To L m4 ,thickness They are respectively m、 m、 m and m.

[0056] Calculate the mean and relative variance of the apparent resistivity of each channel within each stratum: In the formula, The number of effective depth points within the stratigraphic segment s; The mean within the segment; This represents the relative variance. When any channel within a certain segment satisfies... ( For the variance threshold, take... , corresponding to When considering the relative dispersion, remove items near the interface. After a local anomaly response within m, the stratigraphic segments are subdivided, with the point of maximum rate of change within the segment as the boundary, resulting in subdivided stratigraphic segments. If the thickness of the subdivided stratigraphic segments... Less than the instrument's longitudinal resolution (Pick If the response difference between the stratigraphic segment and the adjacent stratigraphic segments is m), then the stratigraphic segment with the smaller response difference is merged with the stratigraphic segment adjacent to the stratigraphic segment above and below it according to the following formula. In the formula, Adjacent stratigraphic intervals and Differences in response; Stratigraphic section inner passage The median of apparent resistivity within a segment. After merging, the stratigraphic stratification results are obtained.

[0057] When determining the characteristics of mud intrusion, the geometric mean of the median values ​​within the same coil at two frequencies is taken to obtain the median apparent resistivity corresponding to each detection depth, and the normalized difference is calculated: In the formula, For the first The median apparent resistivity corresponding to each detection depth, which is based on Arranged from lightest to darkest, they form a sequence of apparent resistivity medians; The mean of the sequence; The absolute value of the difference between the median values ​​corresponding to the deepest and shallowest detection depths is expressed as... The normalized value. Let the preset separation threshold be... .when When, it is judged as "non-intrusive"; when and Follow When the resistivity increases, it is judged as a "resistivity-enhancing" invasion, indicating that the near-wellbore resistivity is lower than that of the original formation; when and Follow When the value increases and then decreases, it is judged as a "drag-reducing" intrusion.

[0058] For intrusive stratigraphic sections, the initial range of the intrusion depth is determined by the following formula: In the formula, The depth number is the number of the probe depth at which the apparent resistivity first approaches the original formation response. For the proximity coefficient, take... ; and These are the lower and upper limits of the initial range of the intrusion depth, respectively, and are defined as follows: ; For the first The nominal radial detection depth of the coil spacing is measured from the wellbore and approximates the original formation response with the deepest detection channel, based on the apparent resistivity. Still affected by intrusion The intrusion depth is close to the original stratum response. and Between. Based on stratigraphic section L m2 ( Taking m) as an example, its , , , , Furthermore, the sequence is increasing, therefore it is determined to be an intrusion of the increasing resistance type; hour , hour , Time difference is Therefore The initial range of the intrusion depth is m. The intrusion type and its extent are designated as stratigraphic segment L. m2 Characteristics of mud intrusion. If but Follow If the change is not monotonic, it is judged as a "complex intrusion". In this case, the intrusion depth is not narrowed, and the value is taken as... As the initial range.

[0059] Step S4: Retrieve forward response samples and construct inverse priors.

[0060] like Figure 4 As shown, the formations are processed sequentially from shallowest to deepest. Taking formation L as an example... m2 For example, based on the representative values ​​of its wellbore environmental parameters ( m, ), mud intrusion characteristics (resistance-enhancing type, m) and instrument model, determine the search criteria: well diameter and The difference is no more than m, mud resistivity and The relative deviation does not exceed The instruments are of the same model and the type of intrusion are the same. The candidate forward response sample set is obtained by searching in the interval index of the knowledge graph.

[0061] Extract representative values ​​from the effective logging data of the target formation interval and the response values ​​of each candidate sample at the corresponding probe depth and excitation frequency to construct a feature vector. (Target formation interval feature vector) It consists of three sets of features: the intra-segment median of the corrected amplitude ratio. (common (each), the intra-segment median of the corrected phase difference. (Total 6) and frequency ratios (common (number of) candidate samples eigenvectors Take the forward response on the same channel and construct it in the same way; the invasion type of the sample is determined by its response according to the same rules described in step S3, that is, the forward response of the sample is calculated in the same way. And compare Follow The changing trend. Normalize each feature dimension according to the minimum and maximum values ​​within the candidate sample set: In the formula, The feature dimension number; and The first and second candidates in the candidate sample set are respectively The minimum and maximum values ​​of the dimensional features.

[0062] Based on the average mass weight of each depth point within the target stratigraphic segment Determine the weights for the matching distance. Frequency ratios are sensitive to noise, so lower quality ratios have lower weights. The group weights for the three feature sets are: In the formula, Represents a feature group. , , These correspond to the amplitude ratio group, phase difference group, and frequency ratio group, respectively. Based on the weights, take , , ; For the quality sensitivity index, take , , ; The characteristic group index used for summation. When hour, , , Target stratigraphic unit and candidate samples The weighted Euclidean distance between them is In the formula, The total dimension of the features; For the first The group to which the feature belongs; The number of features in the group is such that the weights of each feature in the group are evenly distributed among them. Sort by size from smallest to largest, select the top... The number of candidate samples is used as the matching result. When the number of candidate samples is less than (Pick When doing so, gradually broaden the range of values ​​for wellbore environmental parameters: In the formula, For the first The well diameter and mud resistivity tolerance after the second relaxation; Initial tolerance (wellbore) m, mud resistivity ); As a relaxation factor, take ; To relax the upper limit on the number of attempts, sample retrieval, feature vector construction, and distance sorting are re-executed after each relaxation until the quantity requirement is met or the upper limit is reached. Stratigraphic section L m2 The initial search yielded only 14 candidate samples, so the tolerance was increased once (tolerance expanded to). After multiplying by 1, we get 37, which meets the requirements.

[0063] The inversion prior is constructed using samples from the matching results. The parameter vector to be inverted is... ,in , , ;sample The corresponding parameter vector is denoted as It is obtained from the formation resistivity, intrusion zone resistivity, and intrusion depth recorded in the sample. Normalization weights are determined based on the similarity between the sample and the target formation segment, and the weighted mean and weighted covariance matrix are calculated. In the formula, For the sample Normalized weights, ; The kernel width is the average distance of the matching results. This makes the samples with smaller distances have higher weights, when the average value is less than 1. Time to take To prevent weight degradation when the sample distance is almost zero; These are the initial values ​​for the inversion parameters; The coefficients are the covariance matrix of the inverse prior. This is an unbiased correction for the weighted sample covariance. To prevent overly concentrated samples from leading to a narrow prior, [the following is applied]. Set a lower bound for the diagonal elements, that is... ( ),Pick , .

[0064] To facilitate the explanation of the calculation process, the following uses stratigraphic section L as an example. m2 Taking the first 5 samples in the matching results as an example (in reality) The distances of the five samples to the target stratigraphic segment are as follows: ,That In order , , , and .Pick From the above sample weight formula, the weight is: The weighted mean is ,Right now initial value , initial value , initial value m; the standard deviations of the three parameters are obtained from the above weighted covariance formula. They are respectively .

[0065] The range of values ​​for each parameter is determined based on the weighted mean and weighted standard deviation: In the formula, for The One component; For the first The weighted standard deviation of each parameter; Take the interval width as a multiple. ; and These are the lower and upper limits of the value range, respectively. Stratigraphic section L m2 of The interval is , The interval is , The interval is m. The intersection of the range of invasion depth values ​​and the initial range obtained in step S3 is... The intersection is used as the boundary constraint for the intrusion depth; when the intersection is empty, the boundary constraint is... As a boundary constraint. Stratigraphic segment L m2 The intersection is m. Finally, from the initial values ​​of the parameters... Covariance matrix Each value interval and boundary constraint constitutes the stratigraphic segment L. m2 The inversion prior.

[0066] Step S5: Constraint Inversion.

[0067] The inversion order is determined from shallowest to deepest, in the following order: stratigraphic segment L. m1 Stratigraphic section Lm2, Stratigraphic section L m3 Stratigraphic Section L m4 The initial value of the surrounding rock resistivity is determined based on effective well logging data from adjacent strata, taking the median apparent resistivity of the deepest probe channel in the adjacent section. For the overlying rock of the shallowest stratum and the underlying rock of the deepest stratum, the median apparent resistivity of their deepest detection channel is taken.

[0068] For the current stratigraphic section, with For the parameters to be inverted, construct an objective function that includes data fitting terms and prior constraint terms: In the formula, In response to the channel sequence number, and Each of the 6 channels is uniformly numbered as follows ; Stratigraphic section In the passage The median within the segment after upward correction constitutes the data vector. ; For the forward operator in the channel Output on; This is the environmental parameter vector for this segment, where and The resistivity of the overlying and underlying surrounding rocks are respectively; For channel The standard deviation of the measurement noise is taken as the instrument's nominal accuracy (amplitude ratio). dB, phase difference °); The regularization coefficient is used. As the baseline regularization coefficient, take .because with average quality weight Inversely proportional, the lower the data quality, the stronger the prior constraints. The system employs a fast one-dimensional radial layered forward modeling approach and a shoulder correction interpolation proxy based on spectral samples, reducing the time required for a single forward modeling operation to the millisecond level. The accuracy of the proxy operator is cross-validated using two-dimensional finite element samples from the spectral data, with an amplitude ratio error less than [value missing]. dB, phase difference error less than °, all less than the corresponding Since it is half of the original value, its error has a negligible impact on the inversion results.

[0069] Initial values ​​of parameters from the inversion prior As the initial value for iteration, the damped Gauss-Newton method is used for iteration: In the formula, The iteration number; for The Jacobian matrix, using relative step size Forward difference calculation; This is the diagonal matrix of noise standard deviation; Let be the damping coefficient, and take the initial value as . ; For the reason A diagonal matrix composed of the diagonal elements is used to eliminate the influence of different dimensions of various parameters (log resistivity and penetration depth); Let step size be the factor, and take... When a certain step makes Before descending, first... Multiply Recalculate If it still does not decrease, then Halve, at most halve Second-rate; To boundary constraints The projection operator (with the intrusion depth being the boundary constraint after the intersection) restricts the parameters to be inverted within the prior boundary; Let the threshold for the descent of the objective function be taken. When the decrease in the objective function between two consecutive iterations is less than Stop at a certain point to obtain the inversion results for the current stratigraphic segment.

[0070] Constrained inversions were performed sequentially for each stratigraphic segment, and the inverted stratigraphic resistivity of adjacent overlying stratigraphic segments was used as the resistivity of the overlying surrounding rocks for the current stratigraphic segment. And determine based on the effective logging data of the underlying strata. The initial value is used. After completing one round, the surrounding rock resistivity is updated with the inversion results of each segment, and the constrained inversion of each segment is re-executed until the relative change of formation resistivity between adjacent rounds in each segment satisfies the condition. or round Reaching the upper limit In the formula, This refers to the sequence number of the surrounding rock renewal cycle; For the first Stratigraphic Sections That Are Received Formation resistivity; As the threshold for relative change, take ; Pick This allows us to obtain the final inversion results for each stratigraphic segment and the corresponding surrounding rock resistivity.

[0071] Step S6: Correct the inversion prior based on the fitting error until the convergence condition is met.

[0072] The prior correction in step S6 is performed for each stratigraphic segment in each round of surrounding rock update in step S5: For each stratigraphic segment, first complete the constrained inversion in the inner layer, then determine whether to correct the prior and re-invert according to this step. Only after the segment converges or terminates can the next stratigraphic segment be entered.

[0073] Based on the initial inversion results Perform forward modeling to obtain the forward response curve. Calculate the weighted root mean square error for each channel: In the formula, For channel The weighted root mean square error has been calculated according to... Normalized, its value is This indicates that the fitting residual is comparable to the measurement noise; For channel In the Corrected measured values ​​at each depth point; This is the current inversion result. Quality weight. Higher depth points contribute more to the error.

[0074] The error threshold is determined based on the average quality weight of the valid logging data, and the overall error is calculated: In the formula, This is the error threshold; As the baseline threshold, take ; Stratigraphic section The overall weighted root mean square error. The lower the average quality weight, the better. The larger the value, the less likely it is to overfit low-quality data. Stratigraphic segment L m2 of Therefore .

[0075] If all channels All less than If the inversion prior remains unchanged, then find the channel corresponding to the maximum error. This channel corresponds to a certain detection depth, based on which the parameters to be corrected are determined: In the formula, The index of the parameter to be corrected; Jacobian matrix Central Channel For the The partial derivatives of each parameter reflect the sensitivity of the channel at that detection depth to each parameter. Shallow detection channels are mainly sensitive to... and Sensitive, deep-penetration channels are mainly for sensitive; The prior standard deviation is used to convert parameters to the same dimension.

[0076] Using the current inversion results as search criteria, and under the constraints of wellbore environmental parameters and mud invasion characteristics, forward modeling response samples are retrieved again. The corresponding weights are then adjusted based on the parameter deviations between each forward modeling response sample and the current inversion results to obtain updated initial parameter values. In the formula, The sample set obtained by re-retrieval (including the original matching samples) is traversed, where The weights of this set are recalculated according to the above sample weight formula; The updated sample weights; To enhance the coefficient, take ; This is the normalized distance between the sample parameters and the current inversion result; and Samples And the current inversion result of the first One parameter; These are the updated initial values ​​for the parameters. Simultaneously, the diagonal elements of the covariance matrix corresponding to the parameters to be corrected are adjusted based on the maximum error, with the adjustment range limited to a preset range. In the formula, The diagonal elements of the corrected covariance; This represents the maximum channel error. Let be the magnification factor, and take . ; To determine the upper limit of the amplification range, take... The larger the error, the looser the prior constraint on this parameter, allowing for greater adjustment space in the inversion; upper limit To prevent the prior from losing its constraint effect, after obtaining the corrected inversion prior, the constraint inversion in step S5 is re-executed.

[0077] With stratigraphic section L m2 For example, the first round of inversion yields , , m, the maximum error occurs Phase difference channel, This channel has the deepest detection depth. The largest, therefore That is, correction The corresponding prior. According to the covariance correction formula above, Enlarged to After updating the initial values ​​according to the above sample weight update formula, the inversion is performed again in the second round. , , m, .

[0078] The preset inversion convergence conditions include normal convergence conditions and termination conditions. The normal convergence conditions are: Furthermore, the relative changes in each parameter to be inverted obtained from two adjacent inversion rounds are all less than the preset change threshold (the initial inversion has no results from the previous round; if the errors of all its channels are lower than the threshold). If it is converged, then it is directly judged as converged. In the formula, This is the correction round number for the inversion prior; For the first The first round of inversion obtained The physical quantity of each parameter, i.e. hour (Formation resistivity and intrusive zone resistivity). hour (Depth of intrusion); For the change threshold, take The termination condition is: the number of prior corrections. Reaching the upper limit Stratigraphic section L m2 Second round ( )hour , , The relative changes are respectively , , All are less than ,and The normal convergence condition is met, and the results of the second round are used as the stratigraphic interval L. m2The inversion results. If a stratigraphic segment only meets the termination condition but not the normal convergence condition, then the inversion results from previous iterations are selected. The smallest result from a single round is used as the inversion result for that segment and marked as low confidence in the output. The channel with the largest error during non-convergence is also recorded for subsequent manual verification or supplementary map samples. The inversion results of formation segments marked as low confidence are only used as a reference in correlation inference and are not used as the sole basis for drawing conclusions about fluid properties. If all formation segments are marked as low confidence, a re-examination of wellbore environmental parameters and curve quality is prompted. This yields the formation resistivity parameters and invasion depths corresponding to each formation segment.

[0079] Step S7: Use domain knowledge graphs for relational reasoning.

[0080] like Figure 5 As shown, the auxiliary logging data includes natural gamma rays. Neutron porosity lithological density and sound wave time difference First, the clay content and porosity are calculated using auxiliary logging data: In the formula, The relative value of natural gamma; and The natural gamma values ​​for pure sandstone and pure mudstone are taken from the work area. API and API; The content of clay; This is the stratigraphic age coefficient, taken from older strata. (Larionov formula); Density porosity; and These are the skeleton density and the fluid density, respectively. g / cm³ and g / cm³; and These are the neutron porosity and density porosity after clay correction, respectively. and These are the neutron porosity and density porosity of pure mudstone, respectively, taken from readings of adjacent pure mudstone sections. and ; Effective porosity. Acoustic transit time. Used for cross-validation of porosity and lithology. Stratigraphic section L m2 within paragraph API, , ; g / cm³, then ; After mud quality correction , Therefore .

[0081] The formation resistivity, mud intrusion characteristics, clay content, and porosity of each stratum are discretized and associated with corresponding entities in the domain knowledge graph to obtain the starting entity. The discretization method is as follows: according to The order of magnitude is used to divide the intervals. according to For interval classification, according to The algorithm is graded at intervals. Starting from the initial entity, a multi-hop traversal is performed along the indicator and correspondence relationships in the map. Only the correlation relationships that cover the well environment parameters of the applicable conditions are retained, and the score of each path is calculated. In the formula, This is a related path; This represents the number of relationships contained in the path. For association Confidence weights; Let be the hop count attenuation coefficient, taken as... This results in a lower score for paths with more hops; Path scoring. Elimination. The path, Pick For those pointing to the same candidate conclusion Path set Conduct joint scoring: In the formula, Candidate conclusions The combined score indicates that when multiple independent evidence paths jointly support the same conclusion, the score is higher than any single path. For example, stratigraphic segment L m2 The scores for the two paths pointing to "oil-bearing sandstone" are as follows: and ,but There is only one path pointing to the "oil and water in the same layer"; score. .

[0082] Simultaneously, water saturation is calculated based on formation resistivity, effective porosity, and formation water resistivity. The clay content does not exceed... (Pick When the value exceeds a certain threshold, the Archie formula is used; otherwise, a mud conductivity correction is performed using the Simondu formula. In the formula, Water saturation; , , These are the lithology coefficient, cementation index, and saturation index, obtained from rock electrical experiments in the work area. , , (Simondu formula correspondence) ); The formation water resistivity at formation temperature is given by water analysis results. ( (℃) Convert to the above Arps conversion formula to (℃). ℃ ; The resistivity of the adjacent pure mudstone section is taken as... Stratigraphic section L m2 of ,Will Substituting into the above formula for water saturation, we get .

[0083] Based on the characteristics of mud invasion and the relationship between mud filtrate resistivity and formation water resistivity, the invasion index is calculated: In the formula, Intrusion index; The resistivity of the mud filtrate at formation temperature is measured at the wellhead. ( ℃, approximately the resistivity of mud at the same temperature (Multiplier) Convert to the above Arps conversion formula. ℃ For the water layer, , For oil and gas reservoirs, the water saturation of the original formation is lower than that of the flushed zone. Relatively smaller Significantly smaller than The above rule only holds true when the filtrate is less conductive than formation water; therefore, this indicator is only valid when... Valid at the time; when (Salt-water grout) during oil and gas layers On the contrary, it is greater than The discrimination rule is the opposite; this embodiment does not use this indicator. Stratigraphic section L m2 of , , .

[0084] Then calculate the difference between neutron porosity and density porosity after clay correction. And determine candidate conclusions for fluid properties: when and( or (Invalid) contains hydrocarbons, of which , If it contains hydrocarbons If the candidate is a gas layer, then it is an oil layer; otherwise, it is an oil layer. or( Valid and) In some cases, it is a water layer; in others, it is an oil-water co-containment layer. Stratigraphic section L m2 middle , , The candidate conclusion is an oil layer.

[0085] The combined score is then integrated with the candidate fluid property conclusions to obtain the final score for each candidate conclusion, and the lithology and fluid properties are determined accordingly. In the formula, The final score for candidate conclusion r; candidate conclusion r is a combination of lithology and fluid properties (e.g., "sandstone-oil layer"). This is the set of candidate conclusions whose fluid property components are consistent with the candidate conclusions for physical property calculations obtained from the above water saturation formula and intrusion index formula; This is an indicator function; it takes the value when the condition is true. Otherwise take ; As a bonus for candidate conclusions in property calculations, take For stratigraphic sections marked as low confidence, take... And the score of the formation resistivity-related path in the initial entity is multiplied by Therefore, the inversion results are for reference only, and the judgment mainly relies on auxiliary logging data paths. Formation section L m2 The final score for "oil-bearing sandstone" was: "Oil and water in the same layer" is The highest final score is taken as the lithology and fluid properties of that section, i.e., stratigraphic section L. m2 This identifies oil-bearing sandstone and oil-bearing layers, and outputs the entities and relationships in the corresponding associated paths as the basis for reasoning. The score is calculated when the difference between the highest and second-highest final scores is less than a preset difference. (Pick When this occurs, two candidate conclusions are output simultaneously and marked as multiple solutions. Stratigraphic segment L m2 The score difference is , is a single solution.

[0086] Step S8: Verify and update the domain knowledge graph.

[0087] Obtain core samples, well testing, or production testing results for the test well section. First, reconcile the core depth with the logging depth: In the formula, This represents the amount of probe movement at the core depth, expressed in meters (m). To determine the maximum allowable movement, take... m; For mobile Pearson correlation coefficient between post-core natural gamma curve and well logging natural gamma curve; This represents the core repositioning amount. In this example, the core repositioning amount was... m, After repositioning, the lithology, porosity, fluid production type, and production rate will be matched to the corresponding stratigraphic interval.

[0088] The interpreted lithology of each stratigraphic section was compared with the core lithology, and the interpreted fluid properties were compared with the results of oil testing or production tests. The absolute error between the interpreted porosity and the core analysis porosity was calculated. When the test well section covers multiple formation sections, the fluid property conclusions are combined using a thickness-weighted approach: Let the percentage of the formation section within the test well section that is interpreted as hydrocarbon-bearing be 1 / 3. This is explained as the thickness of the water layer accounting for a certain percentage. ,in and These are collections of formations containing hydrocarbon and water layers within the test well sections; if and All are not less than If the oil and water are in the same layer, they are combined; otherwise, the fluid with the larger proportion is taken and compared with the overall test results. The verification is successful when both the lithology and fluid properties are consistent. In the formula, For core analysis of porosity; This represents the upper limit of porosity error. To account for the experimental error in core porosity analysis, take... ; coefficients in the formula For the coverage factor, therefore Stratigraphic section L m2 The core sample was composed of oil-bearing fine sandstone. , The oil test results showed that the oil was produced daily. , moisture content The results were consistent with those of the oil-bearing formation, and the verification was deemed successful. Verification records were generated based on the verification results from each stratigraphic segment, including the verification object, measurement basis, comparison results, and corresponding association paths. The verification records were then linked to the entities and relationships corresponding to the association paths.

[0089] The domain knowledge graph is updated based on the verification results: For formation segments that pass verification and are not marked as low confidence, their wellbore environmental parameters, effective logging data characteristics, inverted formation resistivity parameters, and invasion depth are written into the graph as forward modeling response samples. The sample source is labeled as "measured inversion" and the well number is recorded. At the same time, the confidence weight of each correlation in the corresponding correlation path is increased according to the following formula. For formation segments that fail verification, the confidence weight of each correlation in the corresponding correlation path is decreased according to the following formula, and the wellbore environmental value range of the formation segment is recorded as the exclusion interval of the corresponding correlation. In the formula, and These represent the rate of increase and the rate of decrease in confidence level, respectively. and This means that the penalty for failure is greater than the reward for success, making the graph cautious about erroneous associations. For example... The association relationship, after verification, becomes After the verification failed, it became Stratigraphic section L m2 The verification passed, and the confidence of each correlation along the path was increased according to the above confidence update formula, and the stratigraphic segment L... m2 The wellbore environment parameters, characteristics, and inversion results are used as new samples and written into the map.

[0090] The confidence weight is lower than the elimination threshold. (Pick The association relationship is marked as pending review and excluded in subsequent association reasoning. It can then be restored or deleted based on the results of manual review. For example, The association relationship was downgraded after 5 consecutive verification failures. The system enters a pending review state. Finally, the update time, the trigger number of the well number, and the verification record number are recorded to generate an updated version of the domain knowledge graph, while the previous version is retained for rollback. This graph is used in steps S4 and S7 of subsequent wells to make the prior knowledge of similar well segments closer to the actual distribution.

[0091] In summary, this invention organizes forward modeling response samples, applicable conditions, and verification results into a knowledge graph, enabling the priors of constrained inversion to be obtained from similar sample statistics and corrected online by fitting errors. This makes the reasoning basis for lithology and fluid properties traceable, and through continuous improvement via verification closed loop, it enhances the stability, interpretability, and reusability of electromagnetic resistivity logging interpretation.

[0092] The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A knowledge graph-based method for interpreting electromagnetic wave resistivity logging, characterized in that, include: Constructing a knowledge graph for the field of electromagnetic resistivity logging; Acquire multi-frequency, multi-depth logging curves and wellbore environmental parameters of the target well, perform temperature drift correction and quality inspection on the logging curves, and obtain effective logging data; Based on effective logging data and the response differences at different detection depths and excitation frequencies, the stratigraphic stratification results and mud invasion characteristics of each stratigraphic segment were determined. Based on the stratigraphic stratification results, for each stratigraphic segment, matching forward response samples are retrieved from the domain knowledge graph according to the corresponding mud invasion characteristics and wellbore environmental parameters, and inversion priors for the corresponding stratigraphic segments are constructed based on the forward response samples. Constrained inversion is performed based on inversion priors and valid well logging data of the corresponding formation intervals to obtain initial inversion results; Forward modeling is performed based on the initial inversion results. The inversion prior is then corrected based on the fitting error between the forward response curve and the corresponding valid well logging data. Constrained inversion is then performed again based on the corrected inversion prior until the preset inversion convergence conditions are met, thereby obtaining the formation resistivity parameters and invasion depths corresponding to each stratum.

2. The knowledge graph-based electromagnetic wave resistivity logging interpretation method according to claim 1, characterized in that, Retrieving matching forward response samples from the domain knowledge graph includes the following steps: Based on the wellbore environmental parameters, mud invasion characteristics, and instrument model of the target formation, the search conditions are determined, and a candidate forward response sample set is obtained from the domain knowledge graph. Extract the representative values ​​within the effective logging data of the target formation section and the response values ​​of each candidate forward modeling response sample at the corresponding detection depth and excitation frequency, construct a feature vector containing amplitude ratio, phase difference and frequency ratio, and perform normalization processing; The weight of the matching distance is determined based on the average mass weight of each depth point within the target stratigraphic segment. The weighted Euclidean distance between the target stratigraphic segment and each candidate forward response sample is calculated and sorted in ascending order of distance. Select the top-ranked, preset number of candidate forward response samples as the matching results; when the number of candidate forward response samples is insufficient, gradually widen the range of values ​​for wellbore environmental parameters, and re-execute sample retrieval, feature vector construction, and distance sorting until the preset number is met or the preset number of widening attempts is reached.

3. The knowledge graph-based electromagnetic wave resistivity logging interpretation method according to claim 1, characterized in that, The inversion prior for the corresponding stratigraphic segment is constructed based on the forward response samples, including the following steps: Read the formation resistivity, invasion zone resistivity and invasion depth corresponding to each forward model response sample, and determine the normalization weight based on the similarity between each forward model response sample and the effective logging data of the target formation section; Based on the normalized weights, the weighted mean and weighted covariance matrix of formation resistivity, intrusion zone resistivity and intrusion depth are calculated respectively. The weighted mean is used as the initial value of the inversion parameter, and the weighted covariance matrix is ​​used as the covariance matrix of the inversion prior. A lower limit is set for the diagonal elements of the covariance matrix. The corresponding value range is determined based on the weighted mean and corresponding weighted standard deviation of the formation resistivity, the resistivity of the intrusion zone, and the intrusion depth. The intersection of the value range of the intrusion depth and the initial range of the intrusion depth is taken, and the boundary constraint of the intrusion depth is determined based on the intersection. When the intersection is empty, the initial range of the intrusion depth is used as the boundary constraint of the intrusion depth. Based on the initial values ​​of the inversion parameters, the covariance matrix, the range of values, and the boundary constraints, the inversion priors for the corresponding stratigraphic segments are constructed.

4. The knowledge graph-based electromagnetic wave resistivity logging interpretation method according to claim 1, characterized in that, Constrained inversion is performed based on inversion priors and valid well logging data of the corresponding formation intervals, specifically including: The inversion sequence of each stratum is determined according to the order of depth from shallow to deep, and the initial value of the surrounding rock resistivity is determined based on the effective logging data of adjacent stratum segments. For the current formation segment, the formation resistivity, the resistivity of the intrusion zone and the intrusion depth are used as the parameters to be inverted. An objective function containing data fitting terms and prior constraint terms is constructed based on the inversion prior. The regularization coefficient is determined based on the average quality weight of the effective logging data. Using the initial values ​​of the parameters in the inversion prior as the initial values ​​of the iteration, the damped Gauss-Newton method is used to iteratively solve the objective function, and the parameters to be inverted are restricted within the boundary constraints of the inversion prior until the decrease in the objective function between two adjacent iterations is less than the preset value, thus obtaining the inversion result of the current stratigraphic segment. Constrained inversion of each stratigraphic segment is completed sequentially. The inverted stratigraphic resistivity of the adjacent overlying stratigraphic segment is used as the overlying rock resistivity of the current stratigraphic segment. The initial value of the underlying rock resistivity is determined based on the effective logging data of the adjacent underlying stratigraphic segment. The surrounding rock resistivity is updated based on the inversion results of each stratum, and the constrained inversion of each stratum is re-executed until the relative change of the formation resistivity of each stratum in two adjacent rounds is less than the preset threshold or reaches the upper limit of the preset round, so as to obtain the final inversion results of each stratum and the corresponding surrounding rock resistivity.

5. The knowledge graph-based electromagnetic wave resistivity logging interpretation method according to claim 1, characterized in that, The inversion prior is corrected based on the fitting error between the forward response curve and the corresponding effective logging data, including the following steps: Calculate the weighted root mean square error between the forward response curves and the corresponding valid logging data at each detection depth and excitation frequency, and statistically analyze the error by channel; Whether to correct the inversion prior is determined by comparing the weighted root mean square error of each channel with the preset error threshold; when the error of all channels is lower than the preset error threshold, the inversion prior remains unchanged; otherwise, the parameter to be corrected is determined based on the detection depth corresponding to the maximum error. Using the current inversion results as search criteria, and under the constraints of wellbore environmental parameters and mud invasion characteristics, forward response samples are searched again, and the corresponding weights are adjusted according to the parameter deviations between each forward response sample and the current inversion results to obtain updated initial parameter values. Adjust the diagonal elements of the covariance matrix corresponding to the parameter to be corrected based on the maximum error, and limit the adjustment range within a preset range to obtain the corrected inversion prior.

6. The knowledge graph-based electromagnetic wave resistivity logging interpretation method according to claim 1, characterized in that, Constructing a knowledge graph for the field of electromagnetic resistivity logging includes the following steps: Define logging response characteristics, wellbore environment, formation characteristics, mud invasion characteristics, interpretation conclusions, and entity types and attributes of forward modeling response samples; among them, logging response characteristics include amplitude ratio, phase difference, and apparent resistivity at different excitation frequencies and probe depths; wellbore environment includes well diameter, mud resistivity, well inclination angle, and instrument eccentricity; formation characteristics include formation thickness, surrounding rock resistivity, anisotropy coefficient, clay content, and porosity range; Based on the causal, influence, indication and correspondence relationships between entities, a directed association relationship is established, and a confidence weight and applicable conditions are configured for each directed association relationship. The applicable conditions are used to limit the range of well environment parameters when the directed association relationship is established. Each forward model response sample is constructed as an independent entity, associated with the corresponding wellbore environment, formation characteristics and mud invasion characteristics, and the sample source is marked as numerical simulation or measured inversion; By integrating various entities, entity attributes, and directed relationships, an interval index for numerical attributes is established to form a knowledge graph for the electromagnetic wave resistivity logging field.

7. The knowledge graph-based electromagnetic wave resistivity logging interpretation method according to claim 1, characterized in that, The method for generating forward response samples is as follows: Based on the distribution range of well diameter, mud resistivity, formation resistivity, surrounding rock resistivity, intrusion zone resistivity and intrusion depth of existing wells in the target work area, the model parameter space is determined, and multiple sets of model parameters are obtained by combining equal interval sampling and random sampling. Based on the parameters of each group of models, a radial stratification model including the flushing zone, transition zone and undisturbed strata is established. Combined with the vertical strata interface and the parameters of the upper and lower surrounding rocks, the amplitude ratio and phase difference under different excitation frequencies and probe depths are calculated through electromagnetic field numerical simulation, and the corresponding forward response curves are generated. The parameters of each model group, forward response curves, instrument coil spacing and excitation frequency are associated and stored to form forward response samples. The numerical simulation method, grid accuracy, instrument model and generation date are recorded as sample traceability information.

8. The knowledge graph-based electromagnetic wave resistivity logging interpretation method according to claim 1, characterized in that, The effective method for obtaining well logging data is as follows: The temperature at each depth point is obtained and filtered, and the temperature drift coefficients of amplitude ratio and phase difference at each excitation frequency are fitted. Based on the temperature difference between each depth point and the calibrated reference temperature and the corresponding temperature drift coefficient, the logging curve is corrected for temperature drift, and the corrected apparent resistivity is calculated. The corrected logging curves are tested for missing values, jumps, consistency of repeated measurements, and consistency between frequencies. The quality weight of each depth point is determined based on the test results. Depth points with quality weights below a preset lower limit are removed, and the logging curves and quality weights corresponding to the remaining depth points are used as valid logging data.

9. The knowledge graph-based electromagnetic wave resistivity logging interpretation method according to claim 1, characterized in that, The method for determining the stratigraphic stratification results is as follows: Select the logging curve with the shallowest detection depth and the highest vertical resolution, calculate its first-order difference absolute value, and combine it with the up and down measurement results to determine the candidate formation interface; Interface detection is performed on the remaining logging curves, and the candidate formation interfaces identified by each logging curve are merged. The candidate formation interfaces that are jointly identified by multiple logging curves within the preset depth tolerance are retained to obtain effective formation interfaces. The formation segments are divided according to the adjacent effective stratigraphic interfaces. The mean and relative variance of each logging curve in each formation segment are calculated. For formation segments with relative variance exceeding the preset variance threshold, local abnormal responses near the interface are removed and the segments are further subdivided to obtain subdivided formation segments. By merging subdivided stratigraphic segments with a thickness less than the instrument's longitudinal resolution with adjacent stratigraphic segments whose response differences meet preset merging conditions, stratigraphic stratification results are obtained.

10. The knowledge graph-based electromagnetic wave resistivity logging interpretation method according to any one of claims 1-9, characterized in that, Also includes: Based on the formation resistivity parameters, mud invasion characteristics and auxiliary logging data of each stratum, the domain knowledge graph is used to perform correlation reasoning to obtain the formation lithology, fluid properties and corresponding reasoning basis; Based on the obtained core samples, oil testing, or production test results, the formation lithology and fluid properties are verified, and the domain knowledge graph is updated based on the verification results.