A handheld low-gradient unilateral MRI device for full-thickness skin examination

By designing a handheld low-gradient unilateral nuclear magnetic resonance device, using a unilateral permanent magnet and a radio frequency transceiver integrated coil to optimize the magnetic field distribution, the accuracy and non-invasiveness of skin burn diagnosis problems in the existing technology have been solved, and full-thickness skin diagnosis has been achieved. Rapid and accurate detection supports real-time clinical monitoring.

CN115494437BActive Publication Date: 2024-08-23CHONGQING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211165917.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-23
Publication Date
2024-08-23
Estimated Expiration
2042-09-23

AI Technical Summary

Technical Problem

Existing skin burn diagnosis methods lack accurate and non-invasive methods. Clinically, they mainly rely on doctors' subjective judgment, which makes it difficult to accurately judge burn depth and recovery. Existing equipment such as CT and MRI are large and difficult to monitor in real time. High-frequency ultrasound imaging It is impossible to differentiate between vascular inflammation and edema deep in the dermis.

Method used

A handheld low-gradient unilateral nuclear magnetic resonance device is designed, which uses a unilateral permanent magnet structure and an integrated radio frequency transceiver coil. The magnetic field distribution is optimized through the finite element method and Sparrow search algorithm to generate a low-gradient main magnetic field and orthogonal magnetic field suitable for skin detection. Radio frequency field enables rapid detection of full-thickness skin.

Benefits of technology

It provides a nuclear magnetic resonance device with simple structure, compact size and reliable performance, which can realize non-invasive on-site detection, accurately measure the burn depth and recovery status of the skin, and support real-time clinical monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115494437B
    Figure CN115494437B
Patent Text Reader

Abstract

The present invention relates to a handheld low-gradient unilateral nuclear magnetic resonance device for detecting full-thickness skin, and belongs to the field of nuclear magnetic resonance technology. The device includes a unilateral permanent magnet structure and a radio frequency transceiver integrated coil; the unilateral permanent magnet structure is used to generate a static magnetic field, and the permanent magnet structure is obtained by optimizing using the finite element method and the sparrow search algorithm, and the direction of the magnetic field is parallel to the upper surface of the permanent magnet structure; the radio frequency transceiver integrated coil is used to generate an excitation radio frequency magnetic field orthogonal to the main magnetic field, and detect the magnetic resonance echo signal generated by the sample to be tested arranged on the unilateral permanent magnet structure. The present invention has the advantages of simple structure, small size, light weight, low cost, and reliable performance. The magnetic induction intensity of the main magnetic field B0 is less than or equal to 100mT, and the magnetic field gradient G of the center of the detection target area perpendicular to the magnetic field direction is about 2.96T / m, which can realize the measurement of nuclear magnetic resonance signals of full-thickness skin tissue, and facilitate bedside non-invasive detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of nuclear magnetic resonance, and relates to a handheld low-gradient unilateral nuclear magnetic resonance device for detecting full-thickness skin. Background Art

[0002] In recent years, portable single-sided nuclear magnetic resonance technology has been widely used in food analysis and quality control, materials science, geophysics and other fields. It has an open structure, small size, and is easy to move. It can perform non-destructive testing on objects at any position and from any angle. At the same time, it uses permanent magnets to provide the main magnetic field, which is low in price and energy consumption. In addition, it can provide a lot of information provided by traditional nuclear magnetic resonance, including relaxation time T1, T2 imaging, diffusion coefficient D, and even chemical shift. Skin burns are a common disease, but there is currently no accurate and non-invasive method for judging the degree of skin burns and diagnosing the recovery of skin after burns. Clinically, it is mainly based on the subjective judgment of doctors and the personal feelings of patients. This method is relatively rough and subjective, and it is easy to cause the depth of burns to deepen further. Existing medical diagnostic methods such as computed tomography (CT) and magnetic resonance imaging (MRI) can image human skin, but they are large in size and difficult to perform clinical real-time monitoring and measurement; existing high-frequency ultrasound imaging systems can obtain skin images, but cannot distinguish between vascular inflammation and edema deep in the dermis. Therefore, a quantitative and accurate method is urgently needed in the clinic to determine the burn depth and recovery degree of the skin of burn patients, so as to accurately formulate treatment and rehabilitation plans. The present invention proposes a handheld low-gradient unilateral nuclear magnetic resonance device for full-thickness skin detection, which only relies on permanent magnets to construct the main magnetic field and is equipped with a radio frequency transceiver integrated coil to achieve the measurement of magnetic resonance signals and rapid detection of full-thickness skin. Summary of the invention

[0003] In view of this, an object of the present invention is to provide a handheld low-gradient unilateral nuclear magnetic resonance device for detecting full-thickness skin.

[0004] In order to achieve the above object, the present invention provides the following technical solutions:

[0005] A handheld low-gradient single-sided MRI device for full-thickness skin testing, comprising:

[0006] Unilateral permanent magnet structure and radio frequency transceiver integrated coil 4;

[0007] The unilateral permanent magnet structure includes three groups of magnet structures;

[0008] The three groups of magnet structures are respectively a left magnet group 1, a middle magnet group 2 and a right magnet group 3;

[0009] The left magnet group 1 and the right magnet group 3 are on the same horizontal plane;

[0010] The middle magnet 2 is located between the left magnet group 1 and the right magnet group 3, and is located below the horizontal plane of the left magnet group 1 and the right magnet group;

[0011] The left magnet group 1 and the right magnet group 3 have the same specifications;

[0012] In the XYZ coordinate system, the magnetic poles of the left magnet group 1 point to the Z direction, the magnetic poles of the middle magnet 2 point to the -Y direction, and the magnetic poles of the right magnet group 3 point to the -Z direction;

[0013] A main magnetic field B0 is generated above the unilateral permanent magnet structure, pointing from the left magnet group 1 to the right magnet group 3, with the magnetic pole pointing in the Y direction, and a uniform magnetic field is generated in the geometric center area of ​​the middle magnet, and the geometric center area of ​​the middle magnet is the detection target area 5;

[0014] The magnetic induction intensity of the main magnetic field B0 is less than or equal to 100 mT, and the magnetic field gradient G at the center of the detection target area 5 perpendicular to the magnetic field direction is 2.96 T / m;

[0015] The magnetic field distribution generated by the unilateral permanent magnet structure is calculated using the finite element method, and the parameters of the unilateral permanent magnet structure are optimized using the sparrow search algorithm;

[0016] The RF transceiver coil 4 is a double-layer planar transceiver coil designed using the time-harmonic field inversion method and the stream function method, and is used to generate an excitation RF magnetic field orthogonal to the main magnetic field and receive echo signals generated after the sample under test set in the detection target area is excited.

[0017] Optionally, the sizes of the left magnet group 1 and the right magnet group 3 are: 25.4 mm in length, 12.7 mm in height, and 12.7 mm in width; the size of the middle magnet 2 is: 50.8 mm in length, 12.7 mm in height, and 25.4 mm in width.

[0018] Optionally, the optimization of the structural parameters of the unilateral permanent magnet by using the sparrow search algorithm is specifically as follows:

[0019] The spatial position of the unilateral permanent magnet structure is represented by an n×d matrix X:

[0020]

[0021] Where n is the number of permanent magnet structures, d is the dimension of the structural parameters to be optimized for the permanent magnet structure; the position of the i-th permanent magnet structure in space is X i =(x i,1 ,x i,2 ,…,x i,d ); The fitness value of the unilateral permanent magnet structure is expressed as a vector F X:

[0022]

[0023] The optimization ability of the sparrow search algorithm is based on three parts: discoverers, joiners, and guards, which jointly search for the optimal permanent magnet structure; the position update formula of each generation of discoverers is as follows:

[0024]

[0025] Where t represents the current iteration number, T represents the total iteration number, represents the information content of the j-th dimension parameter in the i-th permanent magnet structure at the t-th iteration, α is a random number in [0,1], R is a random number representing the current warning value, R∈[0,1], ST represents the safety value, ST∈[0.5,1], Q is a random number that follows a normal distribution, and L is a 1×d j The matrix, d j is the dimension of the j-th dimension parameter of the magnet group, and all elements in the matrix are 1;

[0026] The position update formula for each generation of joiners is as follows:

[0027]

[0028] in, is the optimal position currently occupied by the discoverer, X worst It indicates the current global worst position; A is a 1×d matrix, in which each element is randomly assigned a value of 1 or -1, and A + =A T (AA T ) -1 , Indicates A + The value of the jth dimension of When , the joiner will actively follow the discoverer to move to a better position; when When , the i-th joiner with a lower fitness value needs to move to other positions, and combine the characteristics of the exp function to get rid of the current poor position to obtain a better fitness value;

[0029] The position update formula of each generation of sentinels is as follows:

[0030]

[0031] Among them, is the current global optimal position; β is the step size control parameter, which is a random number that obeys a normal distribution with a mean of 0 and a variance of 1; K∈[-1,1] is a random number, f i is the adaptation value of the current magnet group; fg and f w are the current global best and worst fitness values ​​respectively; ε is the smallest constant to avoid zero in the denominator; when f i >f g When f i =f g When , it means that the fitness value of the permanent magnet structure in the middle position is low, and the permanent magnet structure needs to move to other positions to improve the fitness value;

[0032] During magnetic field simulation, the FOV is sliced ​​along the Z axis at a certain step length to obtain N1 slices; the two central axes on each slice are sampled at the same step length to obtain N2 magnetic induction intensities B on each central axis. i , the uniformity P on any central axis i The calculation formula is as follows:

[0033]

[0034] Among them B c is the magnetic induction intensity at the midpoint of the section; the uniformity P of the two central axes in a section is calculated by formula (6): xi and P yi , the uniformity H1 expression is as follows:

[0035]

[0036] Calculate the uniformity B of each section h :

[0037]

[0038] Among them, B max is the maximum value of magnetic induction intensity in the section, B min is the minimum value of magnetic induction intensity in the section; B of each section is calculated by formula (8) h After solving, we get the uniformity H2:

[0039]

[0040] Combining formulas (7) and (9), the evaluation function H of the permanent magnet structure fitness value is as follows:

[0041] H=(H1+H2)·(|G-2|+|G-3|) (20)

[0042] Where G is the magnetic field gradient of the detection target area along the Z axis. In order to keep the magnitude of G at a low gradient of 2 to 3 T / m when designing the permanent magnet structure, (|G-2|+|G-3|) is used in formula (10) to evaluate the fitness value.

[0043] Optionally, the magnet grades of the left magnet group 1 and the right magnet group 3 are NdFe1, and the magnet grade of the middle magnet 2 is NdFe2;

[0044] The distance between the left magnet group 1 and the right magnet group 3 is d1; the distance between the lower bottom surface of the left magnet group 1 and the right magnet group 3 and the upper bottom surface of the middle magnet 2 in the Z-axis direction is d2, the inner distance between the left magnet group 1 and the right magnet group 3 is d3, the inner distance between the middle magnet 2 is d4, and the width of the middle magnet 2 is W;

[0045] Optionally, the unilateral permanent magnet structure is five neodymium iron boron magnets, and the RF transceiver coil is designed using the time-harmonic field inversion method and the stream function method, and a matching RF field that is orthogonal to and related to the main magnetic field is designed according to the distribution of the main magnetic field; the length of the wiring area of ​​the RF transceiver coil is Lx and the width is Ly; the surface current density in the plane where the RF transceiver coil is located is divided into two components: a current density component parallel to the main magnetic field B0 and a current density component perpendicular to the main magnetic field B0; the current density component is expressed as,

[0046]

[0047] P mn is the coefficient to be obtained;

[0048] According to the current continuity principle, the stream function of the current density in the y=0 plane is expressed as:

[0049]

[0050] According to Biosafari's theorem, the magnetic field component of each point in the target area ROI space is obtained:

[0051]

[0052] R represents the distance from the field point to the source point, and S0 represents the plane where the current density is located;

[0053]

[0054] Where (x, y, z) represents the coordinates of any field point in the ROI, and (x0, y0, z0) represents the coordinates of any source point on the current density plane;

[0055] One aspect of matching the RF field with the main magnetic field is that the RF field B1 vector generated by the RF coil should be orthogonal to the main magnetic field B0 vector at all heights generated by the unilateral magnet, that is:

[0056] B1⊥B0

[0057] Expand to

[0058] B 0x B 1x +B 0y B 1y +B 0z B 1z =0 (15)

[0059] Another aspect of matching the RF field with the main magnetic field is that the magnitude of the magnetic field modulus of the RF field B1 should be proportional to the magnitude of the magnetic field modulus of the main magnetic field B0 generated by the unilateral magnet; thus, each spin hydrogen proton on the same plane in the detection target area can flip to the same plane at the same time, and then obtain a high-resolution correlation spectrum and a high signal-to-noise ratio under the condition that the RF field matches the main magnetic field; this requires satisfying

[0060] ||B1||∝||B0|| (16)

[0061] Expanded into the equation

[0062]

[0063] The k value is the ratio of the radio frequency field B1 to the main magnetic field B0 generated by the unilateral magnet, usually a few thousandths;

[0064] Substituting the trigonometric series expression of current density into the magnetic field expression, the relationship between the i-th target field point and the l-th current density source point is obtained, i=1,···,Q, l=m×N+n; l=1,···,M×N, expressed as:

[0065]

[0066] have

[0067]

[0068] P mn =P l ,K mn,i =K l,i ,D mn,i =D l,i ,H mn,i =H l,i ;

[0069] The values ​​of M, N and Q are determined by the computer memory resources according to actual conditions; a specific target RF field is generated with a length and width of -L x / 2≤x≤L x / 2,-L y / 2≤y≤L y P is calculated in the finite current density plane of / 2 l , according to P l Calculate the two orthogonal components J of the current density in the plane x (x,z) and Jz (x,z), that is, the harmonic field target field method, and then the residual function method is used to calculate the actual wiring trajectory using the stream function contour lines.

[0070] Optionally, the unilateral nuclear magnetic resonance device further includes an aluminum shell, and the unilateral permanent magnet structure and the radio frequency transceiver integrated coil are both arranged in the aluminum shell.

[0071] The beneficial effects of the present invention are as follows: the small-scale nuclear magnetic resonance device for shallow skin detection provided by the present invention has a simple structure, a small size, a light weight, and reliable performance, can realize nuclear magnetic resonance signal measurement, and is convenient for on-site non-invasive detection.

[0072] Other advantages, objectives and features of the present invention will be described in the following description to some extent, and to some extent, will be obvious to those skilled in the art based on the following examination and study, or can be taught from the practice of the present invention. The objectives and other advantages of the present invention can be realized and obtained through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention will be described in detail below in conjunction with the accompanying drawings, wherein:

[0074] Figure 1 It is an overall schematic diagram of a handheld low-gradient single-sided nuclear magnetic resonance device for detecting full-thickness skin according to the present invention;

[0075] Figure 2 Schematic diagram of the initial structure of the permanent magnet and the variables to be optimized;

[0076] Figure 3 Flowchart of optimizing permanent magnet structure for sparrow search algorithm;

[0077] Figure 4 Schematic diagram of the magnetic induction intensity along the Z-axis direction in the center of the detection target area;

[0078] Figure 5 It is a schematic diagram of the equipotential surface of magnetic induction intensity in the detection target area;

[0079] Figure 6 It is a schematic diagram of the orthogonal and related matching of the RF field and the main magnetic field in the detection target area.

[0080] Figure 7 It is a schematic diagram of the radio frequency coil structure.

[0081] Figure numerals: 1-left magnet group; 2-middle magnet; 3-right magnet group; 4-RF transceiver integrated coil; 5-detection target area. DETAILED DESCRIPTION

[0082] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the illustrations provided in the following embodiments only illustrate the basic concept of the present invention in a schematic manner, and the following embodiments and features in the embodiments can be combined with each other without conflict.

[0083] Among them, the drawings are only used for illustrative explanations, and they only represent schematic diagrams rather than actual pictures, and should not be understood as limitations on the present invention. In order to better illustrate the embodiments of the present invention, some parts of the drawings may be omitted, enlarged or reduced, and do not represent the size of actual products. For those skilled in the art, it is understandable that some well-known structures and their descriptions in the drawings may be omitted.

[0084] The same or similar numbers in the drawings of the embodiments of the present invention correspond to the same or similar parts; in the description of the present invention, it should be understood that if the terms "upper", "lower", "left", "right", "front", "rear", etc. indicate the orientation or position relationship, they are based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation. Therefore, the terms describing the position relationship in the drawings are only used for illustrative purposes and cannot be understood as limiting the present invention. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.

[0085] See also Figure 1 to Figure 7 , Figure 1 The overall schematic diagram of a handheld low-gradient unilateral NMR device for detecting the full thickness of the skin is shown in FIG. Figure 1 As shown, a handheld low-gradient single-sided magnetic resonance imaging device for detecting full-thickness skin comprises:

[0086] Unilateral permanent magnet structure and radio frequency transceiver integrated coil 4;

[0087] The unilateral permanent magnet structure includes three groups of magnet structures;

[0088] The three groups of magnet structures are respectively a left magnet group 1, a middle magnet group 2 and a right magnet group 3;

[0089] The left magnet group 1 and the right magnet group 3 are on the same horizontal plane;

[0090] The middle magnet 2 is located between the left magnet group 1 and the right magnet group 3, and is located below the horizontal plane of the left magnet group 1 and the right magnet group;

[0091] The left magnet group 1 and the right magnet group 3 have the same specifications;

[0092] In the XYZ coordinate system, the magnetic poles of the left magnet group 1 point to the Z direction, the magnetic poles of the middle magnet 2 point to the -Y direction, and the magnetic poles of the right magnet group 3 point to the -Z direction;

[0093] A main magnetic field B0 is generated above the unilateral permanent magnet structure, pointing from the left magnet group 1 to the right magnet group 3, with the magnetic pole pointing in the Y direction, and a uniform magnetic field is generated in the geometric center area of ​​the middle magnet, and the geometric center area of ​​the middle magnet is the detection target area 5;

[0094] The magnetic induction intensity of the main magnetic field B0 is less than or equal to 100 mT, and the magnetic field gradient G at the center of the detection target area 5 perpendicular to the magnetic field direction is 2.96 T / m;

[0095] The magnetic field distribution generated by the permanent magnet structure is calculated using the finite element method, and the permanent magnet structure parameters are optimized using the sparrow search algorithm; the RF transceiver coil 4 uses an integrated transceiver double-layer planar coil, which is designed using the time-harmonic field inversion method and the stream function method to generate an excitation RF magnetic field orthogonal to the main magnetic field, and receive the echo signal generated after the sample under test set in the detection target area is excited.

[0096] The initial structure of the permanent magnet is composed of three groups of six magnets, each group has two magnets, and the three groups of magnets are arranged in a similar triangular shape. The left and right groups of magnets have the same specifications and grades, and the magnetic poles point in opposite directions. The magnetic poles of the left group point vertically upward (Z direction), and the magnetic poles of the right group point vertically downward (-Z direction); the magnetic poles of the middle group point horizontally and in the same direction as the magnetic field generated by the left and right groups of magnets at this position (-Y direction), and its grade and specifications may be inconsistent with the left and right groups of magnets. When the permanent magnet is initialized, we stipulate that the size of the four magnets of the left and right magnet groups is: length, height, width 12.7mm; the size of the middle group of magnets is: length, height, width 25.4mm. Therefore, a main magnetic field B0 is generated above the center of the magnet structure, pointing from the left magnet group to the right magnet group (Y direction). The seven parameters to be optimized in the initial structure of the permanent magnet include: the brand of the left and right magnets NdFe1, the brand of the middle magnet NdFe2, the distance d1 between the left and right magnets, the distance d2 between the bottom surfaces of the left and right magnets and the top surfaces of the middle magnets in the Z-axis direction, the distance d3 between the left and right magnets, the distance d4 between the middle magnets, and the width W of the middle magnet. The initial structure of the permanent magnet and the variables to be optimized are as follows: Figure 2 shown.

[0097] After the initialization of the permanent magnet structure is completed, the sparrow search algorithm is used to optimize the structure of all permanent magnet structures. The process of optimizing the permanent magnet structure by the sparrow search algorithm is as follows: Figure 3 shown.

[0098] The magnetic induction intensity along the Z axis in the center of the detection target area is as follows Figure 4 shown.

[0099] The magnetic field in the detection target area of ​​the optimal structure of the permanent magnet has the characteristics of high uniformity, and the distribution of the equipotential surface of the magnetic induction intensity is as follows: Figure 5 shown.

[0100] Since the main magnetic field of the predetermined detection target area in the present invention is parallel to the skin surface and attenuates in the direction perpendicular to the skin depth, in order to ensure that the radio frequency field B1 is orthogonal to the main magnetic field B0, the direction of the radio frequency field must be perpendicular to the skin. Therefore, the radio frequency coil is designed using the time-harmonic field inversion method and the stream function method, and a matching radio frequency field orthogonal to and related to the main magnetic field is designed according to the distribution of the main magnetic field. Figure 6 It is a schematic diagram of the orthogonal and related matching of the RF field and the main magnetic field in the detection target area. Figure 7 It is a schematic diagram of the RF coil structure. Since the double-layer coil structure is the same, only one layer of the coil structure is shown.

[0101] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution, which should be included in the scope of the claims of the present invention.

Claims

1. A handheld low-gradient unilateral MRI device for full-thickness skin testing. Features: The device includes: A unilateral permanent magnet structure and a radio frequency transceiver integrated coil (4); The unilateral permanent magnet structure includes three groups of magnet structures; The three groups of magnet structures are respectively a left magnet group (1), a middle magnet group (2) and a right magnet group (3); The left magnet group (1) and the right magnet group (3) are on the same horizontal plane; The middle magnet (2) is located between the left magnet group (1) and the right magnet group (3), and is located below the horizontal plane of the left magnet group (1) and the right magnet group; The left magnet group (1) and the right magnet group (3) have the same specifications; In the XYZ coordinate system, the magnetic poles of the left magnet group (1) point in the Z direction, the magnetic poles of the middle magnet (2) point in the -Y direction, and the magnetic poles of the right magnet group (3) point in the -Z direction; A main magnetic field B is generated above the single-sided permanent magnet structure, which points from the left magnet group (1) to the right magnet group (3). 0 , the magnetic pole points in the Y direction, and a uniform magnetic field is generated in the geometric center area of ​​the middle magnet, and the geometric center area of ​​the middle magnet is the detection target area (5); The main magnetic field B 0 The magnetic induction intensity is less than or equal to 100 mT, and the magnetic field gradient G at the center of the detection target area (5) perpendicular to the magnetic field direction is 2.96 T / m; The magnetic field distribution generated by the unilateral permanent magnet structure is calculated using the finite element method, and the parameters of the unilateral permanent magnet structure are optimized using the sparrow search algorithm; The radio frequency transceiver integrated coil (4) is a transceiver integrated double-layer planar coil, which is designed using the time-harmonic field inversion method and the stream function method, and is used to generate an excitation radio frequency magnetic field orthogonal to the main magnetic field, and receive an echo signal generated after the sample under test set in the detection target area is excited; The optimization of the structural parameters of the unilateral permanent magnet by the sparrow search algorithm is specifically as follows: The spatial position of the unilateral permanent magnet structure is represented by an n×d matrix X: Where n is the number of permanent magnet structures, d is the dimension of the structural parameters to be optimized for the permanent magnet structure; the position of the i-th permanent magnet structure in space is X i =(x i,1 ,x i,2 ,…,x i,d ); The fitness value of the unilateral permanent magnet structure is expressed as a vector F X : The optimization ability of the sparrow search algorithm is based on three parts: discoverers, joiners, and guards, which jointly search for the optimal permanent magnet structure; the position update formula of each generation of discoverers is as follows: Where t represents the current iteration number, T represents the total iteration number, represents the information content of the j-th dimension parameter in the i-th permanent magnet structure at the t-th iteration, α is a random number in [0,1], R is a random number representing the current warning value, R∈[0,1], ST represents the safety value, ST∈[0.5,1], Q is a random number that follows a normal distribution, and L is a 1×d j The matrix, d j is the dimension of the j-th dimension parameter of the magnet group, and all elements in the matrix are 1; The position update formula for each generation of joiners is as follows: in, is the optimal position currently occupied by the discoverer, X worst It indicates the current global worst position; A is a 1×d matrix, in which each element is randomly assigned a value of 1 or -1, and A + =A T (AA T ) -1 , Indicates A + The value of the jth dimension of When , the joiner will actively follow the discoverer to move to a better position; when When , the i-th joiner with a lower fitness value needs to move to other positions, and combine the characteristics of the exp function to get rid of the current poor position to obtain a better fitness value; The position update formula of each generation of sentinels is as follows: Among them, is the current global optimal position; β is the step size control parameter, which is a random number that obeys a normal distribution with a mean of 0 and a variance of 1; K∈[-1,1] is a random number, f i is the adaptation value of the current magnet group; f g and f w are the current global best and worst fitness values ​​respectively; s is the smallest constant to avoid zero in the denominator; when f i >f g When f i =f g When , it means that the fitness value of the permanent magnet structure in the middle position is low, and the permanent magnet structure needs to move to other positions to improve the fitness value; When simulating the magnetic field, the FOV is sliced ​​along the Z axis at a certain step length to obtain N 1 slices; the two central axes on each slice are sampled at the same step length, and N 2 Magnetic induction intensity B i , the uniformity P on any central axis i The calculation formula is as follows: Among them B c is the magnetic induction intensity at the midpoint of the section; the uniformity P of the two central axes in a section is calculated by formula (6): xi and P yi , uniformity H 1 The expression is as follows: Calculate the uniformity B of each section h : Among them, B max is the maximum value of magnetic induction intensity in the section, B min is the minimum value of magnetic induction intensity in the section; B of each section is calculated by formula (8) h After solving, we get the uniformity H 2 : Combining formulas (7) and (9), the evaluation function H of the permanent magnet structure fitness value is as follows: H=(H 1 +H 2 )·(|G-2|+|G-3|) (10) Where G is the magnetic field gradient of the detection target area along the Z axis. In order to keep the magnitude of G at a low gradient of 2 to 3 T / m when designing the permanent magnet structure, (|G-2|+|G-3|) is used in formula (10) to evaluate the fitness value.

2. The handheld low-gradient unilateral nuclear magnetic resonance device for detecting the full thickness of skin according to claim 1, Features: The sizes of the left magnet group (1) and the right magnet group (3) are: 25.4 mm in length, 12.7 mm in height, and 12.7 mm in width; the sizes of the middle magnet (2) are: 50.8 mm in length, 12.7 mm in height, and 25.4 mm in width.

3. The handheld low-gradient unilateral nuclear magnetic resonance device for detecting the full thickness of skin according to claim 1, Features: The magnet grades of the left magnet group (1) and the right magnet group (3) are NdFe1, and the magnet grade of the middle magnet (2) is NdFe2; The distance between the left magnet group (1) and the right magnet group (3) is d1; the distance between the lower bottom surfaces of the left magnet group (1) and the right magnet group (3) and the upper bottom surface of the middle magnet (2) in the Z-axis direction is d2; the inner distance between the left magnet group (1) and the right magnet group (3) is d3; the inner distance between the middle magnet (2) is d4; and the width of the middle magnet (2) is W; In formula (1), d is the dimension of the structural parameter to be optimized of the permanent magnet structure. One parameter is 1 dimension, two parameters are 2 dimensions, and three parameters are 3 dimensions.

4. The handheld low-gradient unilateral nuclear magnetic resonance device for detecting the full thickness of the skin according to claim 3, Features: The unilateral permanent magnet structure is five NdFeB magnets. The RF transceiver coil is designed by using the time-harmonic field inversion method and the stream function method. A matching RF field orthogonal to and related to the main magnetic field is designed according to the distribution of the main magnetic field. The length of the wiring area of ​​the RF transceiver coil is Lx and the width is Ly. The surface current density in the plane where the RF transceiver coil is located is divided into two components: a current density component parallel to the main magnetic field B0 and a current density component perpendicular to the main magnetic field B0. The current density component is expressed as, P mn is the coefficient to be obtained; According to the current continuity principle, the stream function of the current density in the y=0 plane is expressed as: According to Biosafari's theorem, the magnetic field component of each point in the target area ROI space is obtained: R represents the distance from the field point to the source point, S 0 represents the plane where the current density lies; Where (x, y, z) represents the coordinates of any point in the ROI, (x 0 ,y 0 ,z 0 ) represents the coordinates of any source point on the current density plane; One aspect of matching the RF field with the main magnetic field is the RF field B generated by the RF coil. 1 The vector should be consistent with the main magnetic field B generated by the unilateral magnet at each height. 0 The vectors are orthogonal everywhere, that is: B 1 ⊥B 0 Expands to: B 0x B 1x +B 0y B 1y +B 0z B 1z =0 (15) Another aspect of matching the RF field with the main magnetic field is that the RF field B 1 The magnitude of the magnetic field modulus is related to the main magnetic field B generated by the unilateral magnet. 0 The magnitude of the magnetic field modulus is proportional to that of the magnetic field modulus; thus, each spin hydrogen proton on the same plane in the detection target area can flip to the same plane at the same time, and then obtain a high-resolution correlation spectrum and a high signal-to-noise ratio under the condition that the RF field matches the main magnetic field; this requires the following: ||B 1 ||∝||B 0 || (16) Expanded into an equation: The k value represents the RF field B 1 The main magnetic field B generated by the unilateral magnet 0 The ratio of is expressed in thousandths; Substituting the trigonometric series expression of current density into the magnetic field expression, the relationship between the i-th target field point and the l-th current density source point is obtained, i=1,···,Q, l=m×N+n; l=1,···,M×N, expressed as: have: P mn =P l ,K mn,i =K l,i ,D mn,i =D l,i ,H mn,i =H l,i ; The values ​​of M, N and Q are determined by the actual computer memory resources; a specific target RF field is generated with a length and width of -L x / 2≤x≤L x / 2,-L y / 2≤y≤L y P is calculated in the finite current density plane of / 2 l , according to P l Calculate the two orthogonal components J of the current density in the plane x (x,z) and J z (x,z), that is, the harmonic field target field method, and then the stream function method is used to calculate the actual wiring trajectory using the stream function contour lines.

5. The handheld low-gradient unilateral nuclear magnetic resonance device for detecting the full thickness of skin according to claim 4, Features: The unilateral nuclear magnetic resonance device also includes an aluminum shell, and the unilateral permanent magnet structure and the radio frequency transceiver integrated coil are both arranged in the aluminum shell.