Magnetic core structure optimization method and device of nuclear magnetic resonance logging instrument probe

By dividing the magnetic core design domain of the NMR logging tool probe into grid units, calculating the static and radio frequency magnetic field distribution, and using the finite element algorithm to optimize the proportion of the magnetic core, the problem of limited magnetic core optimization capabilities in the existing technology is solved. , improving signal strength and efficiency.

CN118780104APending Publication Date: 2024-10-15CHINA NAT OFFSHORE OIL CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410760879.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The existing core structure optimization method for nuclear magnetic resonance logging tool probes relies on empirical structures, has a single degree of freedom, and limited optimization capabilities, and cannot effectively take into account the effects of the permanent magnet's static magnetic field and antenna efficiency.

Method used

By dividing the magnetic core design domain into non-overlapping grid units, the static magnetic field distribution and radio frequency magnetic field distribution under the synergistic effect of the permanent magnet and the magnetic core are calculated, an objective function is generated, and the finite element algorithm is used to maximize the effect of the objective function on the magnetic core. The proportion is iteratively updated to optimize the core structure.

Benefits of technology

It improves the probe signal strength and antenna efficiency, and enhances the optimization effect of the magnetic core structure. It does not rely on existing empirical structures and has a high degree of freedom.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118780104A_ABST
    Figure CN118780104A_ABST
Patent Text Reader

Abstract

The invention discloses a magnetic core structure optimization method and device for a nuclear magnetic resonance logging instrument probe. The method comprises the following steps: dividing a magnetic core design domain into grid units which are not overlapped with each other; according to the magnetic core proportion of each grid unit, static magnetic field distribution in the target area under the synergistic effect of the permanent magnet and the magnetic core and radio frequency magnetic field distribution in the target area under the synergistic effect of the antenna and the magnetic core are calculated; generating a target function according to the static magnetic field distribution and the radio frequency magnetic field distribution; a finite element algorithm is adopted, objective function maximization serves as an optimization objective, and iterative updating is conducted on the magnetic core proportion of the grid units; and when an iterative convergence condition is met, determining a magnetic core structure according to the magnetic core proportion of the current grid unit. According to the scheme, the optimized magnetic core structure can improve the probe signal strength, improve the antenna signal strength and enhance the antenna efficiency. And the optimization process of the magnetic core structure does not depend on the existing empirical structure, the degree of freedom is high, and the optimization effect of the magnetic core structure is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of exploration technology, and in particular to a method, device, computing equipment, computer storage medium and computer program product for optimizing the magnetic core structure of a nuclear magnetic resonance logging instrument probe. Background Art

[0002] The nuclear magnetic resonance logging instrument is an instrument that uses nuclear magnetic resonance technology for logging exploration. The measurement data of the nuclear magnetic resonance logging instrument can reflect the porosity of the rock structure and the dynamic characteristics of the liquid in the porous medium, and the measurement results are not affected by rocks, skeletons and minerals, so it has many applications in the exploration field.

[0003] The probe is the core component of the nuclear magnetic resonance logging instrument and the fundamental source of logging data. The nuclear magnetic resonance logging instrument probe in the prior art mainly includes: permanent magnet, antenna and magnetic core. The magnetic core is an important component of the nuclear magnetic resonance logging instrument probe, and the structural parameters of the magnetic core have a very important influence on the signal strength and signal quality of the nuclear magnetic resonance logging instrument probe.

[0004] The existing technology usually optimizes the size parameters of the magnetic core based on the empirical structure and adopts the forward parameter optimization method (such as genetic algorithm and other search algorithms). However, this optimization method strongly relies on the existing empirical structure and has a single degree of freedom, which has limited ability to optimize the magnetic core. Summary of the invention

[0005] In view of the above problems, the present application is proposed to provide a method, apparatus, computing device, computer storage medium and computer program product for optimizing the magnetic core structure of a nuclear magnetic resonance logging tool probe that overcomes the above problems or at least partially solves the above problems.

[0006] According to a first aspect of the present application, a method for optimizing the magnetic core structure of a nuclear magnetic resonance logging tool probe is provided, comprising:

[0007] Divide the core design domain into non-overlapping grid cells;

[0008] According to the proportion of magnetic cores in each grid unit, the static magnetic field distribution in the target area under the synergistic effect of the permanent magnet and the magnetic core is calculated, and the radio frequency magnetic field distribution in the target area under the synergistic effect of the antenna and the magnetic core is calculated;

[0009] generating an objective function according to the static magnetic field distribution and the radio frequency magnetic field distribution;

[0010] Using a finite element algorithm, maximizing the objective function is used as an optimization goal, and the magnetic core proportion of the grid unit is iteratively updated;

[0011] When the iterative convergence condition is met, the core structure is determined according to the core ratio of the current grid unit.

[0012] In an optional embodiment, the calculating, according to the magnetic core proportion of each grid unit, the static magnetic field distribution in the target area under the synergistic effect of the permanent magnet and the magnetic core, and the calculating the radio frequency magnetic field distribution in the target area under the synergistic effect of the antenna and the magnetic core include:

[0013] Calculate the magnetic permeability or magnetic resistivity of each grid unit according to the magnetic core ratio of each grid unit;

[0014] Based on the magnetic permeability or magnetic resistivity of each grid unit and the parameter information of the permanent magnet, a two-dimensional finite element static magnetic field model is used to calculate the static magnetic field distribution in the target area under the synergistic effect of the permanent magnet and the magnetic core;

[0015] Based on the magnetic permeability or magnetic resistivity of each grid unit and parameter information of the antenna, a two-dimensional finite element eddy current field model is used to calculate the radio frequency magnetic field distribution in the target area under the synergistic effect of the antenna and the magnetic core.

[0016] In an optional embodiment, the calculating the magnetic permeability or magnetic resistivity of each grid unit according to the magnetic core ratio of each grid unit includes: calculating the relative magnetic resistivity of each grid unit using an interpolation algorithm based on the magnetic core ratio of each grid unit;

[0017] The method of calculating the static magnetic field distribution in the target area under the synergistic effect of the permanent magnet and the magnetic core using a two-dimensional finite element static magnetic field model based on the magnetic permeability or magnetic resistivity of each grid unit and the parameter information of the permanent magnet comprises: calculating the static magnetic field distribution in the target area under the synergistic effect of the permanent magnet and the magnetic core using a two-dimensional finite element static magnetic field model based on the relative magnetic resistivity of each grid unit and the parameter information of the permanent magnet;

[0018] The method of using a two-dimensional finite element eddy current field model to calculate the static magnetic field distribution in the target area under the synergistic effect of the antenna and the magnetic core based on the magnetic permeability or magnetic resistivity of each grid unit and the parameter information of the antenna includes: using a two-dimensional finite element eddy current field model to calculate the static magnetic field distribution in the target area under the synergistic effect of the antenna and the magnetic core based on the relative magnetic resistivity of each grid unit and the parameter information of the antenna.

[0019] In an optional implementation, generating an objective function according to the static magnetic field distribution and the radio frequency magnetic field distribution includes:

[0020] Calculate the square of the static magnetic field distribution and the ratio of the RF magnetic field distribution to the current flowing into the antenna;

[0021] An objective function is generated based on the square of the intensity and the ratio.

[0022] In an optional implementation, the maximizing the objective function as the optimization target and iteratively updating the magnetic core proportion of the grid unit includes:

[0023] Calculate the sensitivity of the objective function to the core fraction of each grid cell;

[0024] According to the sensitivity corresponding to each grid unit, a gradient search is performed on the magnetic core proportion of each grid unit with the maximization of the objective function as the optimization goal, and the magnetic core proportion of the grid unit is updated according to the gradient search result.

[0025] In an optional implementation, the calculation of the sensitivity of the objective function to the magnetic core proportion of each grid unit includes:

[0026] Calculate the initial sensitivity of the objective function to the core fraction of each grid cell;

[0027] The sensitivity is obtained by filtering the initial sensitivity.

[0028] According to a second aspect of the present application, a device for optimizing the magnetic core structure of a nuclear magnetic resonance logging tool probe is provided, comprising:

[0029] A partitioning module is used to partition the core design domain into non-overlapping grid cells;

[0030] A calculation module is used to calculate the static magnetic field distribution in the target area under the synergistic effect of the permanent magnet and the magnetic core, and calculate the radio frequency magnetic field distribution in the target area under the synergistic effect of the antenna and the magnetic core according to the magnetic core ratio of each grid unit; generate an objective function according to the static magnetic field distribution and the radio frequency magnetic field distribution;

[0031] An updating module, configured to adopt a finite element algorithm, take the maximization of the objective function as an optimization target, and iteratively update the magnetic core proportion of the grid unit;

[0032] The determination module is used to determine the magnetic core structure according to the magnetic core proportion of the current grid unit when the iterative convergence condition is met.

[0033] In an optional implementation, the calculation module is used to: calculate the magnetic permeability or magnetic resistivity of each grid unit according to the magnetic core ratio of each grid unit;

[0034] Based on the magnetic permeability or magnetic resistivity of each grid unit and the parameter information of the permanent magnet, a two-dimensional finite element static magnetic field model is used to calculate the static magnetic field distribution in the target area under the synergistic effect of the permanent magnet and the magnetic core;

[0035] Based on the magnetic permeability or magnetic resistivity of each grid unit and parameter information of the antenna, a two-dimensional finite element eddy current field model is used to calculate the radio frequency magnetic field distribution in the target area under the synergistic effect of the antenna and the magnetic core.

[0036] In an optional implementation, the calculation module is used to: calculate the relative magnetic resistivity of each grid unit using an interpolation algorithm based on the magnetic core proportion of each grid unit;

[0037] Based on the relative magnetic reluctance of each grid unit and the parameter information of the permanent magnet, a two-dimensional finite element static magnetic field model is used to calculate the static magnetic field distribution in the target area under the synergistic effect of the permanent magnet and the magnetic core;

[0038] Based on the relative magnetic resistivity of each grid unit and parameter information of the antenna, a two-dimensional finite element eddy current field model is used to calculate the static magnetic field distribution in the target area under the synergistic effect of the antenna and the magnetic core.

[0039] In an optional implementation, the calculation module is used to: calculate the square of the intensity of the static magnetic field distribution, and calculate the ratio of the radio frequency magnetic field distribution to the current passed through the antenna;

[0040] An objective function is generated based on the square of the intensity and the ratio.

[0041] In an optional implementation, the update module is used to: calculate the sensitivity of the objective function to the magnetic core proportion of each grid unit;

[0042] According to the sensitivity corresponding to each grid unit, a gradient search is performed on the magnetic core proportion of each grid unit with the maximization of the objective function as the optimization goal, and the magnetic core proportion of the grid unit is updated according to the gradient search result.

[0043] In an optional implementation, the update module is used to: calculate the initial sensitivity of the objective function to the magnetic core proportion of each grid unit;

[0044] The sensitivity is obtained by filtering the initial sensitivity.

[0045] According to a third aspect of the present application, there is provided a computing device, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;

[0046] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the above-mentioned method for optimizing the magnetic core structure of the nuclear magnetic resonance logging tool probe.

[0047] According to a fourth aspect of the present application, a computer storage medium is provided, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to execute operations corresponding to the above-mentioned method for optimizing the magnetic core structure of a nuclear magnetic resonance logging tool probe.

[0048] According to a fifth aspect of the present application, a computer program product is provided, comprising at least one executable instruction, wherein the executable instruction enables a processor to execute operations corresponding to the above-mentioned method for optimizing the magnetic core structure of a nuclear magnetic resonance logging tool probe.

[0049] According to the magnetic core structure optimization method, device, computing equipment, computer storage medium and computer program product of the nuclear magnetic resonance logging instrument probe provided by this application, the static magnetic field and the radio frequency magnetic field are integrated to obtain the objective function, and the objective function is maximized to achieve iterative update of the magnetic core proportion of the grid unit, so that the optimized magnetic core structure can take into account the influence of the magnetic core on the static magnetic field of the permanent magnet and the influence of the magnetic core on the antenna efficiency, improve the signal strength of the probe, improve the signal strength of the antenna, and enhance the antenna efficiency. In addition, the magnetic core structure optimization process does not need to rely on existing empirical structures, has a high degree of freedom, and improves the optimization effect of the magnetic core structure.

[0050] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0052] Figure 1 A flow chart of a method for optimizing the magnetic core structure of a nuclear magnetic resonance logging tool probe provided in the first embodiment of the present application is shown;

[0053] Figure 2 A schematic diagram of a magnetic core design domain and a target area provided in Embodiment 1 of the present application is shown;

[0054] Figure 3 A flow chart of a method for optimizing the magnetic core structure of a nuclear magnetic resonance logging tool probe provided in the second embodiment of the present application is shown;

[0055] Figure 4 A schematic diagram of an iterative process provided in Embodiment 2 of the present application is shown;

[0056] Figure 5 A schematic diagram of a magnetic core structure at the end of an iteration provided in the second embodiment of the present application is shown;

[0057] Figure 6A structural diagram of a magnetic core structure optimization device for a nuclear magnetic resonance logging tool probe provided in Embodiment 3 of the present application is shown;

[0058] Figure 7 A structural diagram of a computing device provided in Embodiment 4 of the present application is shown. DETAILED DESCRIPTION

[0059] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.

[0060] Embodiment 1

[0061] Figure 1 The flowchart of a method for optimizing the magnetic core structure of a nuclear magnetic resonance logging tool probe provided in the first embodiment of the present application is shown. The method provided in the embodiment of the present application is applicable to the optimization of the magnetic core structure design in a cable nuclear magnetic resonance logging tool probe (such as a single-side cable nuclear magnetic resonance logging tool probe).

[0062] like Figure 1 As shown, the method specifically comprises the following steps:

[0063] Step S110, dividing the magnetic core design domain into non-overlapping grid units.

[0064] First, the design domain of the magnetic core in the NMR logging probe (ie, the magnetic core design domain) is determined. The magnetic core design domain is the area in the NMR logging probe that can be used to fill the magnetic core. This application determines a portion of the area from the magnetic core design domain as the area that is finally filled with the magnetic core.

[0065] Specifically, the magnetic core design domain can be determined based on the size of the nuclear magnetic resonance logging tool probe (such as outer diameter, etc.), the permanent magnet structure, and the antenna deployment position. Figure 2 For example, Figure 2 A schematic cross-sectional view of a nuclear magnetic resonance logging tool probe is shown. Figure 2 Region 1, region 2, region 3, and region 4 respectively represent antennas deployed in the probe (antenna 1, antenna 2, antenna 3, and antenna 4), region 6 represents the permanent magnet in the probe, and region 8 represents the magnetic core design domain.

[0066] The magnetic core design domain is further divided into a plurality of grid units, which do not overlap but are adjacent to each other. The embodiment of the present application does not limit the specific shape of the grid unit, for example, the grid unit can be a triangle or a quadrilateral, etc. Figure 2As shown, the mesh units are divided in the region 8, so that the region 8 is divided into fine triangular mesh units.

[0067] Each grid unit has a corresponding core ratio, which represents the ratio of the core area filled in the grid unit to the total area of ​​the grid unit. The core ratio is between 0 and 1. When the core ratio of a grid unit is 0, it means that the grid unit is filled with air; when the core ratio of a grid unit is 1, it means that the grid unit is completely filled with a core; when the core ratio of a grid unit is greater than 0 and less than 1, it means that the grid unit is a mixture of air and a core.

[0068] Step S120, according to the magnetic core ratio of each grid unit, calculate the static magnetic field distribution in the target area under the synergistic effect of the permanent magnet and the magnetic core, and calculate the radio frequency magnetic field distribution in the target area under the synergistic effect of the antenna and the magnetic core.

[0069] The target area is the detection area of ​​the NMR logging tool probe during operation. Figure 2 As shown, the target area is located above the probe, and there is a certain radial distance between the target area and the probe. The specific value of the radial distance is determined according to the design parameters of the probe.

[0070] The permanent magnet in the probe will generate a static magnetic field in the target area, and the magnetic core will change the static magnetic field distribution generated by the permanent magnet due to its high magnetic permeability. Therefore, this application calculates the static magnetic field distribution in the target area under the synergistic effect of the permanent magnet and the magnetic core based on the proportion of the magnetic core in each grid unit. Figure 2 As shown, the permanent magnet is magnetized in the horizontal direction, and the synergistic effect of the permanent magnet and the magnetic core will generate a circumferential static magnetic field B0 in the target area (area 7).

[0071] In an optional embodiment, the static magnetic field distribution of the target area can be specifically determined in the following manner: the magnetic permeability or magnetic resistivity of each grid unit is calculated according to the magnetic core ratio of each grid unit, and based on the magnetic permeability or magnetic resistivity of each grid unit and the parameter information of the permanent magnet, a two-dimensional finite element static magnetic field model is used to calculate the static magnetic field distribution in the target area under the synergistic action of the permanent magnet and the magnetic core. Among them, the parameter information of the permanent magnet includes the geometric structure information, residual magnetization intensity and magnetization direction of the permanent magnet. When the magnetic core ratio of the grid unit is 0, the magnetic permeability of the grid unit is the air magnetic permeability; when the magnetic core ratio of the grid unit is 1, the magnetic permeability of the grid unit is the magnetic core magnetic permeability; when the magnetic core ratio of the grid unit is 0<magnetic core ratio<1, the magnetic permeability of the grid unit is between the air magnetic permeability and the magnetic core magnetic permeability.

[0072] In addition, the present application also calculates the distribution of the RF magnetic field in the target area under the synergistic effect of the antenna and the magnetic core according to the proportion of the magnetic core in each grid unit. Figure 2As shown, currents in opposite directions are passed through antenna 1, antenna 2, antenna 3, and antenna 4, thereby generating a radial radio frequency magnetic field B1 in the target area that is orthogonal to the static magnetic field.

[0073] In an optional embodiment, the RF magnetic field distribution in the target area can be determined in the following manner: the magnetic permeability or magnetic resistivity of each grid unit is calculated according to the magnetic core ratio of each grid unit, and based on the magnetic permeability or magnetic resistivity of each grid unit and the parameter information of the antenna, the RF magnetic field distribution in the target area under the synergistic effect of the antenna and the magnetic core is calculated using a two-dimensional finite element eddy current field model. The parameter information of the antenna includes: the geometric structure of the antenna and the current I passed into the antenna, etc.

[0074] The static magnetic field distribution and the radio frequency magnetic field distribution may be specifically analyzed using a finite element analysis algorithm, and the present application does not limit the specific analysis process and the specific algorithm used.

[0075] Step S130: generating an objective function according to the static magnetic field distribution and the radio frequency magnetic field distribution.

[0076] The objective function in this application is obtained by integrating the static magnetic field distribution and the radio frequency magnetic field distribution. The objective function integrates the influence of the magnetic core on the static magnetic field distribution in the target area and the influence of the magnetic core on the antenna efficiency. The objective function can reflect the relative signal strength of the nuclear magnetic resonance logging tool probe in the target area.

[0077] In an optional implementation, the square of the intensity of the static magnetic field distribution and the ratio of the RF magnetic field distribution to the current passed through the antenna can be calculated, and the objective function can be generated based on the square of the intensity and the ratio. Specifically, the objective function is proportional to the square of the intensity of the static magnetic field distribution, the ratio of the RF magnetic field distribution to the current passed through the antenna can represent the antenna efficiency, and the objective function is proportional to the antenna efficiency. Among them, the objective function can be specifically determined by the following formula 1:

[0078]

[0079] Wherein, Φ represents the objective function; B0 represents the static magnetic field strength; B1 represents the radio frequency magnetic field strength; I represents the current passing through the antenna; and the integration area is the entire target area.

[0080] S140, using the finite element algorithm, takes the maximization of the objective function as the optimization goal, and iteratively updates the magnetic core proportion of the grid unit.

[0081] This application determines the optimal magnetic core structure based on the finite element algorithm. Specifically, the objective function in this application is a function related to the magnetic core ratio of each grid unit. Therefore, in the process of finite element algorithm processing, this application takes the maximization of the objective function as the optimization goal and the magnetic core ratio as the adjustment parameter, so as to continuously iterate and update the magnetic core ratio of the grid unit. That is, solve the optimal magnetic core ratio of the grid unit to maximize the objective function.

[0082] S150, when the iterative convergence condition is met, determining the magnetic core structure according to the magnetic core ratio of the current grid unit.

[0083] The iteration process ends when the iteration convergence condition is met. At this time, the current core ratio of each grid unit can be obtained. It should be understood here that the range of the core ratio of the grid unit in the core structure optimization process is: 0≤core ratio≤1. After continuous iterative optimization of the present application, the core ratio of each grid unit will approach or be equal to 0 or 1, so that the core ratio of the grid unit takes a value of 0 or 1 when the iteration ends. For grid cells with a core ratio of 0, the area where the grid unit is located is not filled with a core (that is, the area is air); for grid cells with a core ratio of 0, a core is filled in the area where the grid unit is located.

[0084] It can be seen that the core structure optimization method of the nuclear magnetic resonance logging instrument probe provided in the embodiment of the present application integrates the static magnetic field and the radio frequency magnetic field to obtain the objective function, and uses the objective function maximization to iteratively update the core ratio of the grid unit, so that the optimized core structure can take into account the influence of the core on the static magnetic field of the permanent magnet and the influence of the core on the antenna efficiency, improve the probe signal strength, improve the antenna signal strength, and enhance the antenna efficiency. In addition, the core structure optimization process does not need to rely on existing empirical structures, has a high degree of freedom, and improves the optimization effect of the core structure.

[0085] Embodiment 2

[0086] Figure 3 The flowchart of a method for optimizing the magnetic core structure of a nuclear magnetic resonance logging tool probe provided in the second embodiment of the present application is shown. The method provided in the embodiment of the present application is applicable to the optimization of the magnetic core structure design in a cable nuclear magnetic resonance logging tool probe (such as a single-side cable nuclear magnetic resonance logging tool probe).

[0087] like Figure 3 As shown, the method specifically comprises the following steps:

[0088] Step S310, dividing the magnetic core design domain into non-overlapping grid units.

[0089] Step S320, assigning an initial value to the magnetic core ratio of each grid unit.

[0090] In order to improve execution efficiency, the initial value of the magnetic core ratio of each grid unit in the embodiment of the present application can be 0.5.

[0091] Step S330 , in this iteration, an interpolation algorithm is used to calculate the relative magnetic resistivity of each grid unit based on the magnetic core proportion of each grid unit.

[0092] In order to make the magnetic core ratio of the grid unit quickly converge to 0 or 1, this step can use an interpolation algorithm to calculate the relative magnetic resistivity of each grid unit based on the magnetic core ratio of each grid unit. For example, interpolation processing based on the Logistic function can be used, and the relative magnetic resistivity of the grid unit obtained can be shown in Formula 2:

[0093]

[0094] Where v(ρ) represents the relative magnetic resistivity of the grid unit; μ0 represents the vacuum magnetic permeability; μ r represents the magnetic core permeability; ρ represents the magnetic core proportion of the grid unit.

[0095] Step S340, calculating the static magnetic field distribution and the radio frequency magnetic field distribution of the target area in this iteration according to the relative magnetic resistivity of each grid unit, and calculating the objective function value in this iteration according to the static magnetic field distribution and the radio frequency magnetic field distribution of the target area in this iteration.

[0096] Specifically, based on the relative reluctance of each grid unit and the parameter information of the permanent magnet, a two-dimensional finite element static magnetic field model is used to calculate the static magnetic field distribution in the target area under the synergistic action of the permanent magnet and the magnetic core. And based on the relative reluctance of each grid unit and the parameter information of the antenna, a two-dimensional finite element eddy current field model is used to calculate the static magnetic field distribution in the target area under the synergistic action of the antenna and the magnetic core.

[0097] The objective function value in this iteration is further calculated based on the static magnetic field distribution and the radio frequency magnetic field distribution in the target area in this iteration.

[0098] Step S350 , calculating the sensitivity of the objective function to the magnetic core proportion of each grid unit in this iteration.

[0099] The corresponding algorithm is used to calculate the sensitivity of the objective function to the core ratio of each grid unit. For example, the adjoint sensitivity algorithm can be used to calculate the sensitivity of the objective function to the core ratio of each grid unit, so that the processing process only involves matrix multiplication, avoiding complex matrix inversion operations and improving processing efficiency. In the specific implementation process, the finite element stiffness matrix equation with the magnetic vector potential as the unknown quantity can be solved forward to obtain the spatial magnetic vector potential, and the adjoint equation can be solved backward to obtain the adjoint variable, and then the magnetic vector potential and the adjoint variable are substituted into the expression of the sensitivity of the objective function to the core ratio to obtain the sensitivity value of the objective function to the core ratio.

[0100] In an optional embodiment, in order to eliminate the checkerboard effect in the process of optimizing the magnetic core structure, sensitivity filtering processing can be performed in this embodiment, that is, the initial sensitivity of the objective function to the magnetic core proportion of each grid unit is first calculated by a corresponding algorithm (such as an accompanying sensitivity algorithm), and the initial sensitivity is filtered (specifically smoothing filtering) to obtain the sensitivity corresponding to the grid unit. In the specific implementation process, any grid unit can be used as the center, and the initial sensitivity of all grid units within a circle with a filter radius of a preset value (such as 1mm) can be distance-weighted, and the sensitivity of the grid unit after filtering can be obtained according to the weighted result. Among them, the filter radius is related to the size of the grid unit. The larger the size of the grid unit, the larger the filter radius. This method can achieve smoothing of the magnetic core proportion and avoid the checkerboard effect.

[0101] Step S360: In this iteration, according to the sensitivity corresponding to each grid unit, a gradient search is performed on the magnetic core proportion of each grid unit with maximization of the objective function as the optimization goal, and the magnetic core proportion of the grid unit is updated according to the gradient search result.

[0102] Specifically, the core ratio of each grid unit is gradient searched by using algorithms such as the basis moving asymptotic method with the objective function maximization as the optimization goal. In order to ensure the stability of the search process, the upper limit of the change step size of the core ratio (such as 0.2) is pre-set, and the core ratio of the grid unit is updated according to the step size limit and the search results.

[0103] Step S370, determine whether the iterative convergence condition is met; if so, execute step S380; if not, execute step S330.

[0104] The iterative convergence condition may be: a difference in objective function values ​​between two adjacent iterations is less than a first preset threshold; and / or a difference in magnetic core proportions of grid units between two adjacent iterations is less than a second preset threshold.

[0105] Step S380, determining the magnetic core structure according to the magnetic core ratio of the current grid unit.

[0106] by Figure 4 For example, Figure 4 The middle area 5 represents the magnetic core. In the initial state, the magnetic core ratio of each grid unit is 0.5, and the grayscale value of the grid unit is the same; when the number of iterations is 2, the objective function value is 0.4, and the grayscale value of the grid unit changes. The higher the grayscale value, the more positively correlated with the magnetic core ratio; when the number of iterations reaches 10, the objective function value reaches 0.75; when the number of iterations reaches 20, the objective function value is 0.96; when the number of iterations reaches 80, the objective function value will no longer change, and the magnetic core structure (the magnetic core ratio of each grid unit) will no longer change, thus obtaining Figure 5 The core structure shown. Figure 5 It can be seen that the black area is the optimized magnetic core structure, which is similar to a bull horn shape, and the magnetic core fills most of the space near the bottom of the antenna, ensuring that the magnetic core enhances the antenna efficiency.

[0107] It can be seen that the method for optimizing the magnetic core structure of the nuclear magnetic resonance logging instrument probe provided in the embodiment of the present application, on the basis of improving the probe signal strength and improving the antenna efficiency, obtains the relative magnetic resistivity by interpolating the magnetic core ratio of the grid unit, and uses the relative magnetic resistivity to calculate the static magnetic field distribution and the radio frequency magnetic field distribution, so that the magnetic core ratio can quickly converge to 0 or 1; and the occurrence of the checkerboard effect can be reduced by filtering the sensitivity.

[0108] Embodiment 3

[0109] Figure 6 The structure diagram of a magnetic core structure optimization device for a nuclear magnetic resonance logging tool probe provided in the third embodiment of the present application is shown. Figure 6 As shown, the device 600 includes: a segmentation module 610, a calculation module 620, an update module 630 and a determination module 640.

[0110] A partitioning module 610 is used to partition the magnetic core design domain into non-overlapping grid units;

[0111] A calculation module 620 is used to calculate the static magnetic field distribution in the target area under the synergistic effect of the permanent magnet and the magnetic core, and calculate the radio frequency magnetic field distribution in the target area under the synergistic effect of the antenna and the magnetic core according to the magnetic core ratio of each grid unit; generate an objective function according to the static magnetic field distribution and the radio frequency magnetic field distribution;

[0112] An updating module 630 is used to iteratively update the magnetic core proportion of the grid unit by using a finite element algorithm and taking the maximization of the objective function as an optimization target;

[0113] The determination module 640 is used to determine the magnetic core structure according to the magnetic core ratio of the current grid unit when the iterative convergence condition is met.

[0114] In an optional implementation, the calculation module 620 is used to: calculate the magnetic permeability or magnetic resistivity of each grid unit according to the magnetic core ratio of each grid unit;

[0115] Based on the magnetic permeability or magnetic resistivity of each grid unit and the parameter information of the permanent magnet, a two-dimensional finite element static magnetic field model is used to calculate the static magnetic field distribution in the target area under the synergistic effect of the permanent magnet and the magnetic core;

[0116] Based on the magnetic permeability or magnetic resistivity of each grid unit and parameter information of the antenna, a two-dimensional finite element eddy current field model is used to calculate the radio frequency magnetic field distribution in the target area under the synergistic effect of the antenna and the magnetic core.

[0117] In an optional implementation, the calculation module 620 is used to: calculate the relative magnetic reluctance of each grid unit using an interpolation algorithm based on the magnetic core proportion of each grid unit;

[0118] Based on the relative magnetic reluctance of each grid unit and the parameter information of the permanent magnet, a two-dimensional finite element static magnetic field model is used to calculate the static magnetic field distribution in the target area under the synergistic effect of the permanent magnet and the magnetic core;

[0119] Based on the relative magnetic resistivity of each grid unit and parameter information of the antenna, a two-dimensional finite element eddy current field model is used to calculate the static magnetic field distribution in the target area under the synergistic effect of the antenna and the magnetic core.

[0120] In an optional implementation, the calculation module 620 is used to: calculate the square of the intensity of the static magnetic field distribution, and calculate the ratio of the radio frequency magnetic field distribution to the current passed through the antenna;

[0121] An objective function is generated based on the square of the intensity and the ratio.

[0122] In an optional implementation, the updating module 630 is used to: calculate the sensitivity of the objective function to the magnetic core proportion of each grid unit;

[0123] According to the sensitivity corresponding to each grid unit, a gradient search is performed on the magnetic core proportion of each grid unit with the maximization of the objective function as the optimization goal, and the magnetic core proportion of the grid unit is updated according to the gradient search result.

[0124] In an optional implementation, the updating module 630 is used to: calculate the initial sensitivity of the objective function to the magnetic core proportion of each grid unit;

[0125] The sensitivity is obtained by filtering the initial sensitivity.

[0126] It can be seen that the magnetic core structure optimization device of the nuclear magnetic resonance logging instrument probe provided in the embodiment of the present application obtains the objective function by integrating the static magnetic field and the radio frequency magnetic field, and uses the objective function maximization to iteratively update the magnetic core proportion of the grid unit, so that the optimized magnetic core structure can take into account the influence of the magnetic core on the static magnetic field of the permanent magnet and the influence of the magnetic core on the antenna efficiency, improve the signal strength of the probe, improve the signal strength of the antenna, and enhance the antenna efficiency. In addition, the magnetic core structure optimization process does not need to rely on the existing empirical structure, has a high degree of freedom, and improves the optimization effect of the magnetic core structure.

[0127] Embodiment 4

[0128] Figure 7 A structural diagram of a computing device provided in Example 4 of the present application is shown. The specific embodiments of the present application do not limit the specific implementation of the computing device.

[0129] like Figure 7 As shown, the computing device may include: a processor (processor) 702 , a communication interface (Communications Interface) 704 , a memory (memory) 706 , and a communication bus 708 .

[0130] The processor 702, the communication interface 704, and the memory 706 communicate with each other via a communication bus 708. The communication interface 704 is used to communicate with network elements of other devices such as a client or other servers. The processor 702 is used to execute a program 710, which can specifically execute the relevant steps in the embodiment of the magnetic core structure optimization method for a nuclear magnetic resonance logging tool probe for a computing device.

[0131] Specifically, the program 710 may include program codes, which include computer operation instructions.

[0132] The processor 702 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the computing device may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.

[0133] The memory 706 is used to store the program 710. The memory 706 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The program 710 may be specifically used to enable the processor 702 to perform the operations in the above method embodiment.

[0134] Embodiment 5

[0135] Embodiment 5 of the present application provides a non-volatile computer storage medium, which stores at least one executable instruction or computer program, which enables a processor to execute operations corresponding to the method for optimizing the magnetic core structure of a nuclear magnetic resonance logging tool probe in any of the above method embodiments.

[0136] Embodiment 6

[0137] Embodiment 6 of the present application provides a computer program product, which includes at least one executable instruction or computer program, which enables a processor to execute operations corresponding to the method for optimizing the magnetic core structure of a nuclear magnetic resonance logging tool probe in any of the above method embodiments.

[0138] In summary, according to the computing device, computer storage medium and computer program product provided by this embodiment, the static magnetic field and the radio frequency magnetic field are integrated to obtain the objective function, and the objective function is maximized to achieve iterative update of the magnetic core proportion of the grid unit, so that the optimized magnetic core structure can take into account the influence of the magnetic core on the static magnetic field of the permanent magnet and the influence of the magnetic core on the antenna efficiency, improve the probe signal strength, improve the antenna signal strength, and enhance the antenna efficiency. In addition, the magnetic core structure optimization process does not need to rely on existing empirical structures, has a high degree of freedom, and improves the optimization effect of the magnetic core structure.

[0139] The algorithm or display provided here are not inherently related to any specific computer, virtual system or other equipment. Various general systems can also be used together with the teaching based on this. According to the above description, it is obvious to construct the structure required for this type of system. In addition, the present application embodiment is not directed to any specific programming language yet. It should be understood that various programming languages ​​can be utilized to realize the content of the present application described here, and the above description of specific languages ​​is to disclose the best mode of implementation of the present application.

[0140] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.

[0141] Similarly, it should be understood that in order to streamline the present application and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the embodiments of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the following intention: the claimed application requires more features than the features clearly stated in each claim. More specifically, as reflected in the claims below, the inventive aspects are less than all the features of the single embodiment disclosed above. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present application.

[0142] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.

[0143] In addition, those skilled in the art will appreciate that, although some embodiments herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.

[0144] The various component embodiments of the present application can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components according to the embodiments of the present application. The application can also be implemented as a device or apparatus program (e.g., computer program and computer program product) for executing a part or all of the methods described herein. Such a program implementing the present application can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.

[0145] It should be noted that the above embodiments illustrate the present application rather than limit the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be constructed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present application may be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.

Claims

1. A method for optimizing the magnetic core structure of a nuclear magnetic resonance logging tool probe, It is characterized in that include: Divide the core design domain into non-overlapping grid cells; According to the proportion of magnetic cores in each grid unit, the static magnetic field distribution in the target area under the synergistic effect of the permanent magnet and the magnetic core is calculated, and the radio frequency magnetic field distribution in the target area under the synergistic effect of the antenna and the magnetic core is calculated; generating an objective function according to the static magnetic field distribution and the radio frequency magnetic field distribution; Using a finite element algorithm, maximizing the objective function is used as an optimization goal, and the magnetic core proportion of the grid unit is iteratively updated; When the iterative convergence condition is met, the core structure is determined according to the core ratio of the current grid unit.

2. The method according to claim 1, It is characterized in that The calculating, according to the magnetic core proportion of each grid unit, the static magnetic field distribution in the target area under the synergistic effect of the permanent magnet and the magnetic core, and the radio frequency magnetic field distribution in the target area under the synergistic effect of the antenna and the magnetic core include: Calculate the magnetic permeability or magnetic resistivity of each grid unit according to the magnetic core ratio of each grid unit; Based on the magnetic permeability or magnetic resistivity of each grid unit and the parameter information of the permanent magnet, a two-dimensional finite element static magnetic field model is used to calculate the static magnetic field distribution in the target area under the synergistic effect of the permanent magnet and the magnetic core; Based on the magnetic permeability or magnetic resistivity of each grid unit and parameter information of the antenna, a two-dimensional finite element eddy current field model is used to calculate the radio frequency magnetic field distribution in the target area under the synergistic effect of the antenna and the magnetic core.

3. The method according to claim 2, It is characterized in that The calculating the magnetic permeability or magnetic resistivity of each grid unit according to the magnetic core ratio of each grid unit includes: calculating the relative magnetic resistivity of each grid unit by using an interpolation algorithm based on the magnetic core ratio of each grid unit; The method of calculating the static magnetic field distribution in the target area under the synergistic effect of the permanent magnet and the magnetic core using a two-dimensional finite element static magnetic field model based on the magnetic permeability or magnetic resistivity of each grid unit and the parameter information of the permanent magnet comprises: calculating the static magnetic field distribution in the target area under the synergistic effect of the permanent magnet and the magnetic core using a two-dimensional finite element static magnetic field model based on the relative magnetic resistivity of each grid unit and the parameter information of the permanent magnet; The method of using a two-dimensional finite element eddy current field model to calculate the static magnetic field distribution in the target area under the synergistic effect of the antenna and the magnetic core based on the magnetic permeability or magnetic resistivity of each grid unit and the parameter information of the antenna includes: using a two-dimensional finite element eddy current field model to calculate the static magnetic field distribution in the target area under the synergistic effect of the antenna and the magnetic core based on the relative magnetic resistivity of each grid unit and the parameter information of the antenna.

4. The method according to any one of claims 1 to 3, It is characterized in that The generating the objective function according to the static magnetic field distribution and the radio frequency magnetic field distribution comprises: Calculate the square of the static magnetic field distribution and the ratio of the RF magnetic field distribution to the current flowing into the antenna; An objective function is generated based on the square of the intensity and the ratio.

5. The method according to any one of claims 1 to 3, It is characterized in that The maximizing the objective function as the optimization target and iteratively updating the magnetic core proportion of the grid unit includes: Calculate the sensitivity of the objective function to the core fraction of each grid cell; According to the sensitivity corresponding to each grid unit, a gradient search is performed on the magnetic core proportion of each grid unit with the maximization of the objective function as the optimization goal, and the magnetic core proportion of the grid unit is updated according to the gradient search result.

6. The method according to claim 5, It is characterized in that The sensitivity of the calculation objective function to the magnetic core proportion of each grid unit includes: Calculate the initial sensitivity of the objective function to the core fraction of each grid cell; The sensitivity is obtained by filtering the initial sensitivity.

7. A device for optimizing the magnetic core structure of a nuclear magnetic resonance logging tool probe, It is characterized in that include: A partitioning module is used to partition the core design domain into non-overlapping grid cells; A calculation module, for calculating the static magnetic field distribution in the target area under the synergistic effect of the permanent magnet and the magnetic core, and calculating the radio frequency magnetic field distribution in the target area under the synergistic effect of the antenna and the magnetic core according to the magnetic core ratio of each grid unit; generating an objective function according to the static magnetic field distribution and the radio frequency magnetic field distribution; An updating module, configured to adopt a finite element algorithm, take the maximization of the objective function as an optimization target, and iteratively update the magnetic core proportion of the grid unit; The determination module is used to determine the magnetic core structure according to the magnetic core proportion of the current grid unit when the iterative convergence condition is met.

8. A computing device, It is characterized in that include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to perform operations corresponding to the method for optimizing the magnetic core structure of a nuclear magnetic resonance logging tool probe according to any one of claims 1-6.

9. A computer storage medium, It is characterized in that The storage medium stores at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the method for optimizing the magnetic core structure of a nuclear magnetic resonance logging tool probe according to any one of claims 1 to 6.

10. A computer program product, It is characterized in that The method comprises at least one executable instruction, wherein the executable instruction enables a processor to execute operations corresponding to the method for optimizing the magnetic core structure of a nuclear magnetic resonance logging tool probe as described in any one of claims 1 to 6.