Setting method of magnetic resonance compatible position of equipment, storage medium and related device

By using a triaxial magnetic field sensor to detect and compare magnetic field strength in real time, the medical equipment is guided to a safe position, solving the problem of improper positioning of the equipment in the MRI environment and ensuring the quality of the equipment and imaging.

CN121784630APending Publication Date: 2026-04-03SINO MEDICAL DEVICE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-26
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

Improper placement of existing medical auxiliary equipment in the MRI environment affects the normal operation of the equipment and the quality of MRI imaging, and there is a lack of effective magnetic compatibility guidance methods.

Method used

A three-axis magnetic field sensor is used to detect the magnetic field strength at the device's location in real time. The magnetic field strength is compared with that at the boundary point of a preset safe zone. An alarm is issued and the direction of movement is indicated. The display interface guides the doctor to move the device to a safe position.

Benefits of technology

To ensure the equipment operates stably in the MRI environment, avoid image quality degradation, and reduce patient discomfort from repetitive procedures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121784630A_ABST
    Figure CN121784630A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of magnetic resonance compatibility, and discloses a method for setting a magnetic resonance compatible position of equipment, a storage medium and a related device. The method comprises the following steps: S100, acquiring the real-time magnetic field intensity of three axes of the position of the equipment through a three-axis magnetic field sensor; s200, comparing the real-time magnetic field intensities of the three axes with boundary magnetic field intensities of the three axes of boundary points of the safety area respectively, judging whether the real-time magnetic field intensities of the three axes are smaller than the boundary magnetic field intensities of the three axes of any boundary point respectively, if not, sending alarm information to a user, judging the magnetic field lowering direction according to the real-time magnetic field intensities, and sending the alarm information to the user. The magnetic field lowering direction is indicated on a display interface of the equipment, and a user is guided to move the equipment towards the magnetic field lowering direction. Through the method, a doctor can be guided to move the equipment to a safe area which does not interfere with the nuclear magnetic resonance imager every time the equipment is used, and the situation that the diagnosis process is affected due to the improper position of the equipment is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of magnetic resonance compatibility technology, and specifically to a method for setting the magnetic resonance compatibility position of a device, a storage medium, and related apparatus. Background Technology

[0002] With advancements in medical technology, an increasing number of hospitals are equipping themselves with MRI scanners. During MRI, medical auxiliary electronic devices, such as high-pressure injectors for contrast agents, are often used. The normal operation of these devices can be affected by the magnetic field generated by the MRI scanner, and their operation can also impact the magnetic field uniformity of the scanner, thus affecting the image quality of the MRI scan. Therefore, in the MRI room, medical auxiliary devices must maintain a suitable distance from the MRI scanner to ensure their proper functioning and prevent their placement from disrupting magnetic field uniformity. Current medical auxiliary devices only incorporate shielding structures such as Faraday cages in their critical components to improve their adaptability to magnetic fields. However, this solution only addresses the normal operation of the auxiliary devices under magnetic fields. After use, doctors can only visually move the devices away from the MRI scanner, leaving a significant possibility that improper placement could affect the image quality. Therefore, a new magnetic compatibility solution for medical auxiliary electronic devices is needed to address these technical problems. Summary of the Invention

[0003] In order to overcome the shortcomings of the prior art, the purpose of this invention is to provide a magnetic resonance compatible setting method for a device, which can guide doctors to place the device in a suitable position and avoid mutual interference between the device and the magnetic resonance imaging machine for their normal operation.

[0004] To solve the above problems, the technical solution adopted by the present invention is as follows: A method for setting the magnetic resonance compatible position of a device, comprising: S100: Acquires the real-time magnetic field strength of the three axes at the location of the device through a triaxial magnetic field sensor; S200: Compare the real-time magnetic field strength of the three axes with the boundary magnetic field strength of the three axes at the boundary points of the safe area, and determine whether the real-time magnetic field strength of the three axes is less than the boundary magnetic field strength of the three axes at any boundary point. If not, send an alarm message to the user, determine the direction of magnetic field reduction based on the real-time magnetic field strength, and indicate the direction of magnetic field reduction on the device's display interface, guiding the user to move the device in the direction of magnetic field reduction.

[0005] Compared with existing technologies, the beneficial effects of this invention are as follows: This method uses a triaxial magnetic field sensor to obtain the real-time magnetic field strength of the three axes at the device's location, and compares the real-time magnetic field strength of the three axes with the boundary magnetic field strength of the three axes at the boundary points of a pre-set safe zone. This determines whether the device's location is within a safe zone and will not affect its own operation. If it is determined that the device is not within a safe zone, an alarm message is sent to the doctor, and the direction of movement is displayed to quickly guide the doctor to move the device to a safe zone. This ensures that the doctor can keep the device in a safe position within the MRI room every time they use the device, avoiding improper device positioning that could affect the MRI imaging effect or cause abnormal device operation.

[0006] In the above-mentioned method for setting the magnetic resonance compatible position of the device, in step S200, the boundary of the safe area is obtained by calibration through the following steps: S210: Receives the number of calibration positions set by the user, and displays the corresponding number of calibration position selection virtual buttons on the device's display according to the set number; S211: Wait for the user to select the calibration position. If the selection instruction is received, display the calibration guidance screen. The calibration guidance screen is equipped with a guide diagram to guide the user's movement path during the calibration process, a calibration start button, and a calibration end button. S212: Wait for the user's calibration start command. If the user's calibration start command is received, start the triaxial magnetic field sensor, continuously detect and record the magnetic field strength on the three axes until the user's calibration end command is received. S213: After binding the recorded set of magnetic field strengths on the three axes with the selected calibration position, store it in the device's storage medium; S214: Repeat steps S211 to S213 until all calibration positions have been calibrated; S215: Perform a union operation on the magnetic field intensity sets of all calibrated locations to obtain the set of the boundary magnetic field intensities of the three axes at the boundary points of the safe area.

[0007] The method for setting the magnetic resonance compatible position of the above-mentioned device further includes, before step S210: Wait for the user's calibration request. If the user's calibration request is received, display the verification interface. Receive verification information entered by the user through the verification interface, and verify the verification information. If the verification is successful, the calibration settings interface will be displayed.

[0008] In the above-mentioned method for setting the magnetic resonance compatible position of the device, step S200 involves determining the direction of magnetic field reduction based on real-time magnetic field strength through the following steps: S220: If the real-time magnetic field strength of the X-axis is higher than the boundary magnetic field strength of the X-axis at a certain boundary point, then the opposite direction of the real-time magnetic field component of the X-axis is the direction of magnetic field reduction. S221: If the real-time magnetic field strength of the Y-axis is higher than the boundary magnetic field strength of the Y-axis at a certain boundary point, then the opposite direction of the real-time magnetic field component of the Y-axis shall be the direction of magnetic field reduction. S222: If the real-time magnetic field strength of the Z-axis is higher than the boundary magnetic field strength of the Z-axis at a certain boundary point, then the direction of magnetic field reduction is the resultant direction of the opposite direction of the real-time magnetic field component of the X-axis and the opposite direction of the real-time magnetic field component of the Y-axis.

[0009] The method for setting the magnetic resonance compatible position of the above-mentioned device, further includes the following after step S222: S223: Obtain the average X-axis acceleration value and average Y-axis acceleration value of the device per unit time using the X-axis accelerometer and Y-axis accelerometer respectively, and calculate the real-time magnetic field strength change value of the three axes per unit time; S224: Calculate the displacement on the X-axis and the displacement on the Y-axis per unit time based on the average acceleration values ​​on the X-axis and Y-axis; S225: Calculate the rate of change of magnetic field strength on the X-axis and the rate of change of magnetic field strength on the Y-axis based on the displacement on the X-axis and the real-time change of magnetic field strength on the X-axis per unit time, as well as the displacement on the Y-axis and the real-time change of magnetic field strength on the Y-axis. S226: Calculate the approximate gradient descent direction of the magnetic field based on the X-axis magnetic field strength change rate and the Y-axis magnetic field strength change rate, and use the approximate gradient descent direction as the new magnetic field reduction direction.

[0010] A storage medium storing a computer program, which, when executed by a processor, implements the method for setting the magnetic resonance compatible position of the device described above.

[0011] A controller for a device includes a processor, a bus, and a memory. The processor is electrically connected to the memory via the bus. The processor can execute a computer program in the memory to implement the above-described method for setting the magnetic resonance compatible position of the device.

[0012] An electronic device includes a device body, a controller, a triaxial magnetic field sensor, and a display device. The triaxial magnetic field sensor is disposed on the device body, the controller is disposed inside the device body, and a rotatable roller is disposed on the lower side of the device body. The triaxial magnetic field sensor and the display device are both electrically connected to the controller.

[0013] The aforementioned electronic device also includes an audible and visual alarm, which is electrically connected to the controller.

[0014] The aforementioned electronic device also includes an X-axis accelerometer and a Y-axis accelerometer, both of which are electrically connected to the controller. The direction of the X-axis accelerometer is parallel to the X-axis direction of the triaxial magnetic field sensor, and the direction of the Y-axis accelerometer is parallel to the Y-axis direction of the triaxial magnetic field sensor.

[0015] The present invention will now be described in further detail with reference to the accompanying drawings and specific embodiments. Attached Figure Description

[0016] Figure 1 This is a flowchart illustrating a method for setting the magnetic resonance compatible position of a device according to an embodiment of the present invention.

[0017] Figure 2 This is a flowchart illustrating the calibration process of the safe area according to an embodiment of the present invention.

[0018] Figure 3 This is a schematic diagram illustrating the guidance of an embodiment of the present invention.

[0019] Figure 4 This is a schematic block diagram of the control system of an electronic device according to an embodiment of the present invention. Detailed Implementation

[0020] The embodiments of the present invention are described in detail below, with reference to... Figure 1 The present invention provides a method for setting the magnetic resonance compatible position of a device, comprising the following steps: S100: Acquires the real-time magnetic field strength of the three axes at the location of the device through a triaxial magnetic field sensor; S200: The real-time magnetic field strength of each of the three axes is compared with the boundary magnetic field strength of the three axes at the boundary points of the safe zone. It determines whether the real-time magnetic field strength of each of the three axes is less than the boundary magnetic field strength of any boundary point. If not, an alarm message is sent to the user, and the direction of magnetic field reduction is determined based on the real-time magnetic field strength. This direction is then indicated on the device's display interface, guiding the user to move the electronic device in the direction of magnetic field reduction. Understandably, the device will repeat the above steps. If the real-time strength of each of the three axes is less than the boundary magnetic field strength of any boundary point, the device is determined to be within the safe zone, and no further alarm messages are sent to the user.

[0021] This method involves installing a triaxial magnetic field sensor on medical auxiliary electronic devices such as high-pressure injectors. This allows for real-time acquisition of the magnetic field strength along all three axes at the device's location. The real-time magnetic field strength is compared with pre-set boundary magnetic field strengths to determine if the device's position is safe enough to ensure its normal operation without affecting the magnetic homogeneity of the MRI scanner. If the real-time magnetic field strength on any axis exceeds the boundary magnetic field strengths of all corresponding axes, it indicates that the device's position may affect the normal operation of both the device and the MRI scanner. In this case, the device sends an alarm to the doctor, reminding them to adjust the device's position. Furthermore, by identifying which of the real-time magnetic field strengths along the three axes are higher than the boundary points, the method determines the direction of movement that can reduce the magnetic field strength. This information is displayed on the device's screen, guiding the user to move the device in the direction of lower magnetic field strength. This ultimately guides the doctor to move the device to a safe location, ensuring the normal operation of the electronic equipment and MRI scanner that need to enter the MRI room. This method allows doctors to precisely move the equipment to a safe position that will not be interfered with by the MRI scanner or its operation. This avoids imaging failures due to improper equipment placement, prevents repeated injections or examinations due to doctor errors, and avoids causing additional pain to patients.

[0022] It is understandable that the boundary of the safe zone can be set by the user directly inputting the isogaussian distribution map of the magnetic field strength provided by the MRI scanner manufacturer, combined with user experience, or it can be set by the user through on-site calibration of the magnetic field strength in the area where the equipment is usually placed. The equipment guides the user to complete the calibration of the safe zone boundary by displaying a series of guided interfaces on the display device. Specifically, in this embodiment, the calibration process includes the following steps: S210: Receives the number of calibration positions set by the user, and displays the corresponding number of calibration position selection virtual buttons on the device's display according to the set number; S211: Wait for the user to input a selection command for the calibration position by clicking the corresponding calibration position selection virtual button. If the selection command is received, the calibration guidance screen is displayed. The calibration guidance screen is equipped with a guide diagram to guide the user's movement path during the calibration process, a calibration start button and a calibration end button. S212: Wait for the user to input a calibration start command to the device by clicking the calibration start button. If the calibration start command is received from the user, start the triaxial magnetic field sensor, continuously detect and record the magnetic field strength on the three axes, until the calibration end command is received from the user by clicking the calibration end button. S213: After binding the recorded set of magnetic field strengths on the three axes with the selected calibration position, store it in the device's storage medium; S214: Repeat steps S211 to S213 until all calibration positions have been calibrated; S215: Perform a union operation on the magnetic field intensity sets of all calibrated locations to obtain the set of the boundary magnetic field intensities of the three axes at the boundary points of the safe area.

[0023] Preferred, refer to Figure 3 As shown, during the calibration process, the device should be moved along the magnetic field lines and along the edge of the area where the device is normally placed. Taking four calibration positions set by the user as an example, after the user selects the calibration position to be calibrated, the device's display will show the following: Figure 3 As shown in the diagram, after the user moves the device to the safe area corresponding to the calibration position shown in the diagram, click the calibration start button on the interface. Then the user can push the device to move along the arrow path shown in the diagram. During the movement of the device, the triaxial magnetic field sensor on the device collects and records the magnetic field strength of the three axes along the path according to the preset sampling interval. After the user pushes the device to the end of the arrow path, the user can click the calibration complete button on the interface to complete the calibration of a calibration position.

[0024] In some embodiments, to ensure the accuracy of the boundary magnetic field strength values ​​within the calibrated safe area and to prevent inexperienced personnel from calibrating incorrectly or unauthorized personnel from mistakenly entering the calibration interface and modifying the calibration data, thus preventing the device from being guided to the correct safe location, the device needs to verify the user's identity after receiving the user's calibration request. After the user clicks the safe area calibration button on the operation interface, a verification interface will first pop up on the device's display screen. The user enters preset verification information, such as a six-digit password or a gesture password, in the verification interface. The device then compares and verifies the entered verification information with the pre-stored verification information. If the verification is successful, the calibration setting interface will be displayed, allowing users to set the number of calibration positions or directly input the three-axis boundary magnetic field strength of the safe area's boundary.

[0025] Understandably, the equipment can determine the direction of magnetic field reduction based on the comparison between the real-time magnetic field strength of the three axes and the boundary magnetic field strength. If the absolute value of the real-time magnetic field strength of the X-axis is higher than the boundary magnetic field strength of a certain X-axis, then the opposite direction of the real-time magnetic field component of the X-axis is considered the direction of magnetic field reduction. Similarly, if the real-time magnetic field strength of the Y-axis is higher than the boundary magnetic field strength of a certain Y-axis, then the opposite direction of the real-time magnetic field component of the Y-axis is considered the direction of magnetic field reduction. If the real-time magnetic field strength of the Z-axis is higher than the boundary magnetic field strength of a certain Z-axis, then the equipment needs to move simultaneously in the X-axis and Y-axis directions. In this case, the resultant direction of the opposite direction of the real-time magnetic field component of the X-axis and the opposite direction of the real-time magnetic field component of the Y-axis is considered the direction of magnetic field reduction.

[0026] In some embodiments, to improve the accuracy of the determined magnetic field reduction direction, thereby enabling the user to move the device to a safe area in a shorter distance, the device can also measure the direction and distance of movement during the movement using X-axis and Y-axis accelerometers. Based on the rate of change of magnetic field intensity in the X-axis and Y-axis directions per unit time, the gradient reduction direction of the magnetic field around the MRI scanner is roughly estimated. This indicates to the user the direction of the faster magnetic field reduction, allowing the user to move the device to a safe position more quickly. Specifically, after initially determining the magnetic field reduction direction based on the comparison between the real-time magnetic field strength and the boundary magnetic field strength on the three axes, and after the user moves the device according to the magnetic field reduction direction displayed on the display device, a more precise magnetic field reduction direction can be determined through the following steps: S223: Obtain the average X-axis acceleration value and average Y-axis acceleration value of the device per unit time using the X-axis accelerometer and Y-axis accelerometer respectively, and calculate the real-time magnetic field strength change value of the three axes per unit time; S224: Calculate the displacement on the X-axis and the displacement on the Y-axis per unit time based on the average acceleration values ​​on the X-axis and Y-axis; S225: Calculate the rate of change of magnetic field strength on the X-axis and the rate of change of magnetic field strength on the Y-axis based on the displacement on the X-axis and the real-time change of magnetic field strength on the X-axis per unit time, as well as the displacement on the Y-axis and the real-time change of magnetic field strength on the Y-axis. S226: Calculate the approximate gradient descent direction of the magnetic field based on the X-axis and Y-axis magnetic field strength change rates, and use this approximate gradient descent direction as the new magnetic field decreasing direction. Specifically, the approximate gradient ascending direction of the magnetic field can be obtained by calculating the arctangent values ​​of the X-axis and Y-axis magnetic field strength change rates; the opposite direction of the approximate gradient ascending direction is the approximate gradient descent direction.

[0027] Based on the same inventive concept, embodiments of the present invention also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, enables the above-described method for setting the magnetic resonance compatible position of the device.

[0028] In some possible implementations, various aspects of the method for setting the magnetic resonance compatible position of the device provided by the present invention can also be implemented in the form of a program product, which includes program code that, when the program product is run on the device, causes the control device to perform the steps in the method for setting the magnetic resonance compatible position of the device according to various exemplary embodiments of the present application described above.

[0029] By designing and programming the processor, the code corresponding to the magnetic resonance compatibility location setting method of the device described in the foregoing embodiments can be embedded into the chip, thereby enabling the chip to execute the steps of the magnetic resonance compatibility location setting method of the device in the embodiments of the present invention during operation. How to design and program the processor is a technique known to those skilled in the art, and will not be described in detail here.

[0030] Based on the same inventive concept, embodiments of the present invention also provide a controller for implementing the above-described method for setting the MRI-compatible location of the device, including a processor, a bus, and a memory, wherein the processor is electrically connected to the memory via the bus. The processor can invoke and execute a computer program in the memory to implement the above-described method for setting the MRI-compatible location of the device, thereby guiding the user to move the device to a safe area that is compatible with MRI scanners.

[0031] In one possible design, the processor may include one or more processing units. The processor and memory may be implemented on the same chip or on separate chips. The processor may be a general-purpose processor, such as a central processing unit (CPU), digital signal processor, application-specific integrated circuit, field-programmable gate array or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the answer pre-generation method disclosed in the embodiments of this application can be directly manifested as execution by a hardware processor, or execution by a combination of hardware and software modules in the processor.

[0032] Memory, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. Memory can include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic memory, magnetic disk, optical disk, etc. Memory is any other medium capable of carrying or storing desired program code in the form of instructions or data structures that can be accessed by a computer, but is not limited thereto. The memory in the embodiments of this application can also be a circuit or any other device capable of implementing storage functions for storing program instructions and / or data.

[0033] Based on the same inventive concept, referring to Figure 4 Embodiments of the present invention also provide an electronic device, which can be an auxiliary electronic device such as a high-pressure injector used in conjunction with MRI examination. The electronic device includes a device body, the aforementioned controller, a triaxial magnetic field sensor, and a display device. The triaxial magnetic field sensor is disposed on the device body, and the directions of the X-axis, Y-axis, and Z-axis of the triaxial magnetic field sensor are preferably parallel to the X-axis, Y-axis, and Z-axis of the device body, respectively. Both the triaxial magnetic field sensor and the display device are electrically connected to and controlled by the controller. Rotatable casters are provided on the lower side of the device body to facilitate user movement of the device body. It is understood that the display device can include at least one of a touch screen, a display screen, or an LED array. The device can guide the doctor to move the device to a safe area by displaying an arrow in the same direction as the magnetic field reduction on the touch screen, display screen, or LED array. The triaxial magnetic field sensor can be a magnetic field sensor integrating magnetic field detection in the X-axis, Y-axis, and Z-axis directions, or it can be composed of three separate magnetic field sensors, respectively arranged along the X-axis, Y-axis, and Z-axis of the device.

[0034] Reference Figure 4In some embodiments, the electronic device also includes an audible and visual alarm, which is electrically connected to the controller. When the device determines, based on the detection values ​​of the triaxial magnetic field sensor, that its location is outside the safe zone, the controller will activate the audible and visual alarm to send an alarm to the doctor. This provides a clear signal to the doctor to move and adjust the device's position, preventing the device's location from affecting the magnetic field uniformity of the MRI scanner. In some embodiments, the controller can control the alarm intensity or frequency of the audible and visual alarm based on the difference between the magnetic field strength detected by the triaxial magnetic field sensor and the magnetic field strength at the boundary of a pre-set or calibrated safe zone. For example, a larger difference results in a louder alarm and a louder sound, or a faster flashing frequency of the alarm light and a faster beeping frequency of the buzzer. Conversely, a smaller difference results in a quieter alarm and a lower flashing frequency of the alarm light and a lower alarm frequency, until the real-time magnetic field strength of all three axes is less than the boundary magnetic field strength of a certain boundary point. In this case, the controller will activate the audible and visual alarm to stop sending alarm information to the doctor.

[0035] Reference Figure 4 In some embodiments, the electronic device further includes an X-axis accelerometer and a Y-axis accelerometer, both of which are electrically connected to the controller. The X-axis accelerometer and the Y-axis accelerometer are parallel to the X-axis and Y-axis directions of the triaxial magnetic field sensor, respectively, that is, parallel to the X-axis and Y-axis directions of the electronic device, respectively. The X-axis and Y-axis accelerometers can detect the acceleration values ​​and movement direction of the electronic device in the X and Y axes, respectively. Based on the distance the electronic device moves in these directions, the device can calculate the ratio of the change in magnetic field strength per unit time along the X and Y axes to the distance traveled. This allows for the estimation of the approximate gradient descent direction of the magnetic field strength. The calculated gradient descent direction can then be used to display a guiding arrow on the device, directing the doctor to move the electronic device to a safe area quickly and over a short distance.

[0036] It should be noted that in the description of this invention, "several" means one or more, "more than" means two or more, "greater than," "less than," and "exceeding" are understood to exclude the stated number, while "above," "below," and "within" are understood to include the stated number. If "first" or "second" is mentioned, it is only for the purpose of distinguishing technical features and should not be construed as indicating or implying relative importance, or implicitly indicating the number of indicated technical features, or implicitly indicating the order of the indicated technical features.

[0037] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0038] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0039] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0040] In the description of this invention, unless otherwise explicitly defined, terms such as "set up," "install," and "connect" should be interpreted broadly, and those skilled in the art can reasonably determine the specific meaning of the above terms in this invention in conjunction with the specific content of the technical solution.

[0041] The above embodiments are merely preferred embodiments of the present invention and should not be construed as limiting the scope of protection of the present invention. Any non-substantial changes and substitutions made by those skilled in the art based on the present invention shall fall within the scope of protection claimed by the present invention.

Claims

1. A method for setting the magnetic resonance compatible position of a device, characterized in that, include: S100: Acquires the real-time magnetic field strength of the three axes at the location of the device through a triaxial magnetic field sensor; S200: Compare the real-time magnetic field strength of the three axes with the boundary magnetic field strength of the three axes at the boundary points of the safe area, and determine whether the real-time magnetic field strength of the three axes is less than the boundary magnetic field strength of the three axes at any boundary point. If not, send an alarm message to the user, determine the direction of magnetic field reduction based on the real-time magnetic field strength, and indicate the direction of magnetic field reduction on the device's display interface, guiding the user to move the device in the direction of magnetic field reduction.

2. The method for setting the magnetic resonance compatible position of the device according to claim 1, characterized in that, In step S200, the boundary of the safe area is determined through the following steps: S210: Receives the number of calibration positions set by the user, and displays the corresponding number of calibration position selection virtual buttons on the device's display according to the set number; S211: Wait for the user to select the calibration position. If the selection instruction is received, display the calibration guidance screen. The calibration guidance screen is equipped with a guide diagram to guide the user's movement path during the calibration process, a calibration start button, and a calibration end button. S212: Wait for the user's calibration start command. If the user's calibration start command is received, start the triaxial magnetic field sensor, continuously detect and record the magnetic field strength on the three axes until the user's calibration end command is received. S213: After binding the recorded set of magnetic field strengths on the three axes with the selected calibration position, store it in the device's storage medium; S214: Repeat steps S211 to S213 until all calibration positions have been calibrated; S215: Perform a union operation on the magnetic field intensity sets of all calibrated locations to obtain the set of the boundary magnetic field intensities of the three axes at the boundary points of the safe area.

3. The method for setting the magnetic resonance compatible position of the device according to claim 2, characterized in that, The procedure preceding step S210 also includes: Wait for the user's calibration request. If the user's calibration request is received, display the verification interface. Receive verification information entered by the user through the verification interface, and verify the verification information. If the verification is successful, the calibration settings interface will be displayed.

4. The method for setting the magnetic resonance compatible position of the device according to claim 1, characterized in that, In step S200, the direction of magnetic field decrease is determined based on the real-time magnetic field strength through the following steps: S220: If the real-time magnetic field strength of the X-axis is higher than the boundary magnetic field strength of the X-axis at a certain boundary point, then the opposite direction of the real-time magnetic field component of the X-axis is the direction of magnetic field reduction. S221: If the real-time magnetic field strength of the Y-axis is higher than the boundary magnetic field strength of the Y-axis at a certain boundary point, then the opposite direction of the real-time magnetic field component of the Y-axis shall be the direction of magnetic field reduction. S222: If the real-time magnetic field strength of the Z-axis is higher than the boundary magnetic field strength of the Z-axis at a certain boundary point, then the direction of magnetic field reduction is the resultant direction of the opposite direction of the real-time magnetic field component of the X-axis and the opposite direction of the real-time magnetic field component of the Y-axis.

5. The method for setting the magnetic resonance compatible position of the device according to claim 4, characterized in that, The step S222 is followed by: S223: Obtain the average X-axis acceleration value and average Y-axis acceleration value of the device per unit time using the X-axis accelerometer and Y-axis accelerometer respectively, and calculate the real-time magnetic field strength change value of the three axes per unit time; S224: Calculate the displacement on the X-axis and the displacement on the Y-axis per unit time based on the average acceleration values ​​on the X-axis and Y-axis; S225: Calculate the rate of change of magnetic field strength on the X-axis and the rate of change of magnetic field strength on the Y-axis based on the displacement on the X-axis and the real-time change of magnetic field strength on the X-axis per unit time, as well as the displacement on the Y-axis and the real-time change of magnetic field strength on the Y-axis. S226: Calculate the approximate gradient descent direction of the magnetic field based on the X-axis magnetic field strength change rate and the Y-axis magnetic field strength change rate, and use the approximate gradient descent direction as the new magnetic field reduction direction.

6. A storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the method for setting the magnetic resonance compatible position of the device according to any one of claims 1 to 5.

7. A controller for a device, characterized in that, The device includes a processor, a bus, and a memory. The processor is electrically connected to the memory via the bus. The processor can execute a computer program in the memory to implement the method for setting the magnetic resonance compatible position of the device according to any one of claims 1 to 5.

8. An electronic device, characterized in that, The device includes a main body, a controller according to claim 7, a triaxial magnetic field sensor, and a display device. The triaxial magnetic field sensor is disposed on the main body, the controller is disposed inside the main body, and a rotatable roller is disposed on the lower side of the main body. The triaxial magnetic field sensor and the display device are both electrically connected to the controller.

9. The electronic device according to claim 8, characterized in that, It also includes an audible and visual alarm, which is electrically connected to the controller.

10. The electronic device according to claim 8, characterized in that, It also includes an X-axis accelerometer and a Y-axis accelerometer, both of which are electrically connected to the controller. The direction of the X-axis accelerometer is parallel to the X-axis direction of the triaxial magnetic field sensor, and the direction of the Y-axis accelerometer is parallel to the Y-axis direction of the triaxial magnetic field sensor.