A method for calculating the center position of magnetic field in a magnet

Through the spherical coordinate system and interpolation function methods, the problem of low positioning accuracy of the magnetic field center of the superconducting magnet is solved. The Gaussian distributed magnetic field measurement probe and the inner point method are used to solve the optimization problem, and a higher accuracy positioning of the magnetic field center is achieved.

CN114764129BActive Publication Date: 2024-11-22HOHAI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110036467.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-12
Publication Date
2024-11-22
Estimated Expiration
2041-01-12

AI Technical Summary

Technical Problem

The prior art has low accuracy when positioning the center of the superconducting magnet, resulting in inaccurate measurement of magnetic induction intensity and shifting the position of the shim track, increasing the difficulty of shim.

Method used

By establishing a spherical coordinate system, measuring magnetic induction intensity and establishing an interpolation function, defining nonlinear optimization problems, solving the central coordinates of the magnetic field, using Gaussian distributed magnetic field measurement probe for rotation measurement, calculating harmonic coefficients, and solving optimization problems using the inner point method to ensure that Accuracy of the center positioning of the magnetic field.

Benefits of technology

The accuracy of positioning the magnetic field center is improved, so that the position with the smallest mean square difference of the magnetic field at the spherical sampling point is the center of the magnetic field, which significantly improves the positioning accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114764129B_ABST
    Figure CN114764129B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for calculating the center position of the magnetic field in a magnet according to the measured magnetic induction intensity value. The method mainly includes the following steps: firstly, determine the direction of the magnetic induction intensity to be measured and estimate the position of the magnetic field center in the magnet, and measure the magnetic induction intensity values ​​at a series of sampling points on a spherical surface with a radius of R with the position as the center of the circle; then, establish an interpolation function of the magnetic induction intensity according to the measured magnetic induction intensity values ​​at each sampling point; finally, establish and solve a nonlinear optimization problem with the center position of the magnetic field as the variable to be optimized and the minimum mean square error of the magnetic induction intensity values ​​at the sampling points on the spherical surface with a radius of R' as the optimization target. The method can be used to quickly and accurately locate the magnetic field center of the magnet.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of magnet research and development and design, and specifically relates to a method for calculating the center position of a magnetic field in a magnet. Background Art

[0002] In the MRI system, the uniformity of the main magnetic field generated by the magnet is an important indicator affecting the imaging quality. One feasible way to improve the uniformity of the main magnetic field is to use the passive shimming method to shim. During the shimming process, it is necessary to accurately measure the uniformity of the magnetic field in the central area of ​​the magnet, and then guide the shimming according to the measured magnetic induction intensity. Before shimming, the problem of accurately locating the center of the magnetic field is involved. Especially for superconducting magnets, it is particularly important to accurately locate the center of the magnetic field. This is because the magnetic field center of the superconducting magnet coincides with the magnetic field center of the gradient coil. If the center is not accurately located, not only will the measured magnetic induction intensity be greater, but the position of the shimming track will be offset from the position of the magnetic field center, resulting in inaccurate magnetic field calculation, thereby increasing the difficulty of shimming. The positioning of the magnetic field center by purely mechanical positioning methods has low accuracy. In some commercial magnetic field measurement software, there is a function to calculate the position of the magnetic field center based on the measured magnetic induction intensity, but it can only be positioned in one direction. Therefore, it is necessary to develop a more accurate method. Summary of the invention

[0003] Purpose of the invention: To address the deficiencies of the prior art, the purpose of the present invention is to provide a method for calculating the center position of the magnetic field in a magnet, thereby improving the accuracy of positioning the center of the magnetic field.

[0004] Technical solution: In order to achieve the above-mentioned invention object, the present invention adopts the following technical solution:

[0005] A method for calculating the magnetic field center in a magnet, characterized by comprising:

[0006] Step 1: Determine the direction of the magnetic field to be measured and estimate the position of the magnetic field center in the magnet, establish a coordinate system with the estimated position as the origin and the magnetic field direction to be measured as the z-axis direction, and measure the magnetic induction intensity at a series of sampling points on the spherical surface with the origin as the center and a radius of R;

[0007] Step 2: According to the magnetic induction intensity at each sampling point, an interpolation function representing the relationship between the magnetic induction intensity and the coordinates is established;

[0008] Step 3: Take P sampling points on the sphere with the origin as the center and R' as the radius definition For the coordinate variables to be optimized, establish and solve the following nonlinear optimization problem:

[0009]

[0010]

[0011] X1, Y1, Z1, and R1 in the formula are non-negative real numbers, which are used to define the constraint range of x0, y0, and z0. Respectively represent the coordinate points The z component of the magnetic induction intensity at the location is obtained by solving the above nonlinear optimization problem. It is the coordinate vector of the center of the magnetic field inside the magnet.

[0012] Furthermore, in step one, the measuring probes on the magnetic field measuring device are distributed on an arc surface with a radius of R and conform to a Gaussian distribution. The measuring device rotates around the axis at equal angles for one circle to obtain the magnetic field at all sampling points.

[0013] Further, in step 2, any coordinate point The z component of the magnetic induction intensity at The following interpolation formula is used for calculation:

[0014]

[0015] In the above formula, N is the order of the interpolation function, is the coordinate point The spherical coordinates, P nm () represents the Legendre polynomial of order n and degree m, a nm With b nm is the harmonic coefficient, which is determined based on the measured magnetic induction intensity.

[0016] Further, the harmonic coefficient a is calculated based on the measured magnetic field strength. nm , b nm , 0≤m≤n, 0≤n≤N, the formula is:

[0017]

[0018]

[0019] In the above formula, K1 is the number of probes distributed on the arc surface with a radius of R in one measurement, and K2 is the number of times the measuring device rotates around the z-axis at equal intervals for one measurement. is the angle between the arc surface where the measuring probe is located and the x-axis during the i-th measurement, θ j 、w j is the jth integral point of the Gaussian integral at point K1 in the interval 0≤θ≤π and the corresponding weight coefficient, is the vector coordinate of the jth probe position in the i-th measurement, is the coordinate point The z component of the magnetic induction intensity at .

[0020] Furthermore, the interior point method is used to solve the nonlinear optimization problem in step three.

[0021] Furthermore, R'≤R.

[0022] Furthermore, the magnet to be measured is a cylindrical superconducting magnet, and the direction of the magnetic field to be measured is the direction of the magnet axis.

[0023] Furthermore, the magnet to be measured is a planar permanent magnet, and the direction of the magnetic field to be measured is the normal direction of the upper and lower pole plates in the permanent magnet.

[0024] Beneficial effect: The benefit of the present invention lies in that: the present invention provides a method for calculating the center of the magnetic field using the measured magnetic induction intensity. The method solves the problem of locating the center of the magnetic field equivalently to a nonlinear optimization problem, so that the center position of the circle with the smallest mean square error of the magnetic field at the spherical sampling point is taken as the center of the magnetic field, and the result obtained has higher accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 This is a flow chart of the algorithm for calculating the magnetic field center in the present invention.

[0026] Figure 2 This is the distribution diagram of magnetic field measurement points in space.

[0027] Figure 3 Schematic diagram of the definition of various coordinate parameters in the rectangular coordinate system and the spherical coordinate system.

[0028] Figure 4 This is the distribution diagram of the cross section of the magnet coil in space.

[0029] Figure 5 This is a curve diagram showing the relationship between the RMSE error at the sampling point and the offset distance of the magnetic field center along the z-axis. DETAILED DESCRIPTION

[0030] The present invention is further explained below in conjunction with the accompanying drawings and specific embodiments. It should be understood that these embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention. After reading the present invention, various equivalent forms of modifications to the present invention by those skilled in the art all fall within the scope defined by the claims attached to this application.

[0031] The method disclosed in the embodiment of the present invention for calculating the center position of the magnetic field in a magnet according to the magnetic induction intensity is as follows: Figure 1 As shown, the specific steps are as follows:

[0032] Step 1: Determine the direction of the magnetic field to be measured and estimate the position of the magnetic field center in the magnet, establish a coordinate system with the estimated position as the origin and the magnetic field direction to be measured as the z-axis direction, and measure the magnetic induction intensity at a series of sampling points on the spherical surface with the origin as the center and a radius of R;

[0033] Let's take the superconducting magnet in superconducting magnetic resonance as an example. In the superconducting magnetic resonance system, the magnet is a cylindrical structure, and the magnet coil that generates the magnetic field is a number of solenoid coils connected in series. The direction of the magnetic field required for imaging is in the direction of the cylindrical axis. We establish a coordinate system with the axial direction of the center of the magnet as the z-axis. Establish the x-axis and y-axis in the plane perpendicular to the z-axis. The directions of the x-axis and y-axis can be defined by yourself according to the convenience of the research problem. Generally speaking, the center of the magnetic field is located on the central axis of the magnet and close to the center of the axis. If the magnet to be measured is a planar permanent magnet, the direction of the magnetic field to be measured is the normal direction of the upper and lower poles in the permanent magnet, and the direction perpendicular to the poles is generally defined as the z-direction. Because in actual engineering, permanent magnets rarely need to accurately calibrate the center of the magnetic field, the method in this patent is more used for superconducting magnets.

[0034] Current magnetic field measurement equipment can easily measure the magnetic field of many sampling points at one time. For example, the magnetic field camera of the Swiss company Metrolab integrates up to 24 magnetic field measurement probes, which can measure 24 sampling points on an arc at a time. By evenly rotating the magnetic field camera around the central axis of the magnet, high-precision magnetic field measurements of hundreds of sampling points on the entire sphere can be completed. This provides hardware support for us to calculate the center of the magnetic field based on the measured magnetic induction intensity. In the magnetic field measurement equipment, the probe is generally located at the Gaussian integration point on the arc surface. Therefore, the magnetic field measurement point follows a Gaussian distribution in the θ direction, and in the The directions are evenly distributed, such as Figure 2 The grid points in the spherical coordinate system are shown in Figure 2. The definition of angle is given in Figure 3 shown.

[0035] Step 2: According to the magnetic field strength at each measurement point, establish the magnetic field interpolation function in the area near the origin. The coordinates of any vector in space are The magnetic field at the point It can be represented by the following function:

[0036]

[0037] It should be noted that For coordinates The z component of the magnetic induction intensity at , is therefore a scalar.

[0038] According to the above formula, the calculation formula of the harmonic coefficient can be obtained as follows:

[0039]

[0040]

[0041] The above integral expression can be calculated numerically:

[0042]

[0043]

[0044] In the above formula, K1 is the number of probes distributed on the arc surface with a radius of R in one measurement, and K2 is the number of times the measuring device rotates around the z-axis at equal intervals for one measurement. is the angle between the arc surface where the measuring probe is located and the x-axis during the i-th measurement, θ j 、w j is the jth integral point of the Gaussian integral at point K1 in the interval 0≤θ≤π and the corresponding weight coefficient, is the vector coordinate of the jth probe position in the i-th measurement, is the coordinate point The z component of the magnetic induction intensity at . The calculation of Gaussian integration points and weight coefficients is introduced in many numerical integration books and will not be repeated here.

[0045] Step 3: Take P sampling points on the sphere with the origin as the center and R' as the radius definition For the coordinate variables to be optimized, establish and solve the following nonlinear optimization problem:

[0046]

[0047]

[0048] X1, Y1, Z1, and R1 in the formula are non-negative real numbers, which are used to define the constraint range of x0, y0, and z0. Respectively represent the coordinate points The z component of the magnetic induction intensity at the location is obtained by solving the above nonlinear optimization problem. That is the coordinate of the center of the magnetic field inside the magnet.

[0049] There are many methods for solving nonlinear problems, such as the interior point penalty function method, etc. For details, please refer to the book "Optimization Theory and Algorithm" written by Chen Baolin. The specific solutions will not be described here.

[0050] In order to ensure the accuracy of calculating the magnetic field using the interpolation function, we set R'≤R. In this way, after constraining x0, y0, and z0, it can be ensured that the coordinates of the sampling points will not deviate seriously from the spherical area with a radius of R during the optimization process, thereby ensuring the accuracy of the interpolation algorithm.

[0051] Below we illustrate the method of calculating the magnetic field center in the magnet according to a specific example. In this example, we use the magnetic field at the sampling point calculated according to the superconducting magnet coil parameters instead of the measured magnetic induction intensity. The reason for doing this is that the offset value of the magnetic field center can be known in advance, which is convenient for verifying the accuracy of the algorithm. The dimensions of the magnet coil in this example are shown in Table 1. Because the coil is a symmetrical structure, only the coil dimensions with a positive z coordinate are given in the table. The coil numbered 4 in the table is a shielding coil, and the other coils are main coils. Rmin, Rmax, Z1, and Z2 in the table represent the inner diameter, outer diameter, left z coordinate, and right z coordinate of each solenoid coil. The coil operating current is 440.078553A. The cross-sectional distribution of the coil is as follows Figure 4 shown.

[0052] Table 1 Superconducting magnet coil dimensions

[0053] serial number Rmin(m) Rmax(m) Z1(m) Z2(m) 1 0.500576 0.515576 0.023675 0.163675 2 0.5 0.518 0.224115 0.390115 3 0.5 0.527 0.522184 0.806184 4 0.845961 0.857961 0.399878 0.775878

[0054] We take 24×24=576 sampling points on a sphere with a diameter of 45 cm and the origin as the center. The coordinates of the sampling points are All sampling points gradually shift along the z-axis, and the relationship curve between the root mean square error (RMSE) of the magnetic field at all sampling points and the change of the offset distance is shown in the figure below. Figure 5 As shown in the figure. PPM means one part per million. The formula for calculating the root mean square error in the figure is:

[0055]

[0056] In the above formula, is the coordinate vector of the center of the sphere where the sampling point is located, that is, the offset of the three coordinates of each sampling point.

[0057] according to Figure 5 It can be seen that the RMSE value of the magnetic field at the sampling point gradually increases with the offset distance. Similarly, similar curves will be obtained by offsetting the sampling point along the x-axis and y-axis.

[0058] Finally, we verified the accuracy of the algorithm in the present invention. In the above example, we offset the center of the sphere where the sampling point is located to (0.01m, 0.01m, 0.01m), and calculated the magnetic induction intensity at each sampling point. Then, based on the calculated magnetic induction intensity, the method in the present invention is used for optimization, and the center position of the magnetic field is obtained as Note that the coordinates here are coordinates in a coordinate system established with the center of the sphere where the sampling point is located as the origin. It can be seen that the algorithm in the present invention can accurately calculate the magnetic field center position of the magnetic coil.

Claims

1. A method for calculating the center position of a magnetic field in a magnet, characterized in that: include: Step 1: Determine the direction of the magnetic field to be measured and estimate the position of the magnetic field center in the magnet, establish a coordinate system with the estimated position as the origin and the magnetic field direction to be measured as the z-axis direction, and measure the magnetic induction intensity at a series of sampling points on the spherical surface with the origin as the center and a radius of R; Step 2: According to the magnetic induction intensity at each sampling point, an interpolation function is established to represent the relationship between the magnetic induction intensity and the coordinates; Step 3: Take P sampling points on the sphere with the origin as the center and R' as the radius definition For the coordinate variables to be optimized, establish and solve the following nonlinear optimization problem: X1, Y1, Z1, and R1 in the formula are non-negative real numbers, which are used to define the constraint range of x0, y0, and z0. Respectively represent the coordinate points The z component of the magnetic induction intensity at the location is obtained by solving the above nonlinear optimization problem. It is the coordinate vector of the center of the magnetic field inside the magnet.

2. A method for calculating the center position of a magnetic field in a magnet according to claim 1, characterized in that: In step 1, the measuring probes on the magnetic field measuring device are distributed on an arc surface with a radius of R and conform to a Gaussian distribution. The measuring device rotates around the axis at equal angles to measure and obtain the magnetic field at all sampling points.

3. A method for calculating the center position of a magnetic field in a magnet according to claim 1, characterized in that: In step 2, any coordinate point The z component of the magnetic induction intensity at The following interpolation formula is used for calculation: In the above formula, N is the order of the interpolation function, is the coordinate point The spherical coordinates, P nm () represents the Legendre polynomial of order n and degree m, a nm With b nm is the harmonic coefficient, which is determined based on the measured magnetic induction intensity.

4. A method for calculating the center position of a magnetic field in a magnet according to claim 3, characterized in that: Calculate the harmonic coefficient a based on the measured magnetic field strength nm ,b nm , 0≤m≤n,0≤n≤N is: In the above formula, K1 is the number of probes distributed on the arc surface with a radius of R in one measurement, and K2 is the number of times the measuring device rotates around the z-axis at equal intervals for one measurement. is the angle between the arc surface where the measuring probe is located and the x-axis during the i-th measurement, θ j 、w j is the jth integral point of the Gaussian integral at point K1 in the interval 0≤θ≤π and the corresponding weight coefficient, is the vector coordinate of the jth probe position in the i-th measurement, is the coordinate point The z component of the magnetic induction intensity at .

5. A method for calculating the center position of a magnetic field in a magnet according to claim 1, characterized in that: The interior point method is used to solve the nonlinear optimization problem in step three.

6. A method for calculating the center position of a magnetic field in a magnet according to claim 1, characterized in that: R'≤R.

7. A method for calculating the center position of a magnetic field in a magnet according to claim 1, characterized in that: The magnet to be measured is a cylindrical superconducting magnet, and the direction of the magnetic field to be measured is the direction of the magnet axis.

8. A method for calculating the center position of a magnetic field in a magnet according to claim 1, characterized in that: The magnet to be measured is a planar permanent magnet, and the direction of the magnetic field to be measured is the normal direction of the upper and lower pole plates in the permanent magnet.