A system and method for determining a set-up position of a nuclear magnetic resonance instrument
By constructing an objective function using a particle swarm optimization algorithm, the problem of determining the position of the nuclear magnetic resonance spectrometer in the scanning chamber was solved, achieving precise placement and reducing the physical field influence on other objects.
Patent Information
- Application Number
- CN202210854567.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-15
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-07-15
AI Technical Summary
The high-intensity physical field generated by the nuclear magnetic resonance spectrometer during operation has an impact on other objects in the scanning chamber that is difficult to control precisely, making it difficult to determine their position in the scanning chamber.
The particle swarm optimization algorithm is used to optimize the placement of the nuclear magnetic resonance spectrometer in the scanning chamber by constructing an objective function and combining the placement objectives and constraints of the spectrometer in the scanning chamber.
It enables precise placement of the nuclear magnetic resonance spectrometer in the scanning chamber, reduces the physical field impact on other objects, and meets the placement objectives and constraints.
Smart Images

Figure CN115146476B_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the field of medical technology, and in particular to a system and method for determining the placement of an MRI scanner. Background Technology
[0002] Magnetic Resonance Imaging (MRI) scanners generate high-intensity physical fields (e.g., magnetic fields, electromagnetic fields) during operation, which can affect surrounding objects. The impact of these fields varies depending on the object being scanned; therefore, the MRI scanner needs to be positioned appropriately within the scanning room to minimize or avoid the influence of the field intensity on other objects. With the development of MRI technology, the physical field intensity of MRI scanners is increasing, leading to greater impact on other objects within the scanning room and making the precise placement of the MRI scanner increasingly difficult. Therefore, this application aims to provide a system and method for accurately determining the placement of an MRI scanner within the scanning room. Summary of the Invention
[0003] One embodiment of this specification provides a method for determining the placement position of an MRI scanner. The method includes: acquiring a placement target and placement constraints for the MRI scanner in a scanning chamber; constructing an objective function based on the placement target and the placement constraints; and determining the placement position of the MRI scanner in the scanning chamber by optimizing the objective function using a particle swarm optimization algorithm.
[0004] In some embodiments, obtaining the placement target of the MRI scanner in the scanning chamber includes: obtaining the position of one or more target objects in the scanning chamber; and constructing the placement target based on the position of the one or more target objects, wherein the placement target is related to the physical field strength at the location of the one or more target objects when the MRI scanner is running in the scanning chamber.
[0005] In some embodiments, obtaining the placement constraints of the MRI scanner in the scanning chamber includes: obtaining spatial structure data of the scanning chamber; determining candidate placement areas for the MRI scanner based on the spatial structure data of the scanning chamber; and determining placement constraints of the MRI scanner in the scanning chamber based on the candidate placement areas, wherein the placement constraints are related to the relative positional relationship between the placement location of the MRI scanner and the candidate placement areas.
[0006] In some embodiments, the placement target includes the sum of the physical field strengths at the locations of the one or more target objects being operated in the scanning chamber being less than a preset threshold; the placement constraint includes the placement position of the MRI scanner being within the candidate placement area.
[0007] In some embodiments, constructing the objective function based on the placement objective and the placement constraints includes: determining a first function to characterize the placement objective; determining a second function to characterize the placement constraints; and constructing the objective function based on the first function and the second function.
[0008] In some embodiments, determining the second function for characterizing the placement constraints includes: determining a plurality of target nodes on the boundary of the candidate placement area; for each pair of adjacent nodes among the plurality of target nodes, determining a straight line connecting the adjacent nodes; and determining the second function based on the straight line corresponding to each pair of adjacent nodes, the second function characterizing the area enclosed by the straight lines corresponding to the plurality of pairs of adjacent nodes.
[0009] In some embodiments, constructing the target function based on the first function and the second function further includes: determining a third function to characterize user preference information for the placement of the MRI scanner; and constructing the target function based on the first function, the second function, and the third function.
[0010] In some embodiments, determining the placement position of the nuclear magnetic resonance spectrometer in the scanning chamber by optimizing the objective function based on the particle swarm optimization algorithm includes: determining the initial positions of at least two particles in the particle swarm; for each particle, determining the function value of the objective function corresponding to the particle based on the initial position of the particle; determining whether a termination condition is met based on the function value of the objective function of each particle; determining the placement position based on the initial position of each particle in response to the termination condition being met; or iteratively updating the initial position of each particle in response to the termination condition not being met.
[0011] In some embodiments, determining the initial positions of at least two particles in the particle swarm includes: acquiring a candidate placement area of the MRI scanner in the scanning chamber; and determining the initial positions of at least two particles in the particle swarm based on the candidate placement area, wherein the initial position of each particle in the particle swarm is located within the candidate placement area.
[0012] In some embodiments, in response to a termination condition not being met, the initial velocity and initial position of each particle are iteratively updated. One or more iterations are performed based on the updated velocity and position of each particle to determine the placement of the NMR spectrometer. During each iteration, for each particle in the particle swarm, the particle's velocity and position are updated based on the velocity and position obtained in the previous iteration; for each particle in the particle swarm, the function value corresponding to the objective function for that particle is updated based on the updated position; for each particle in the particle swarm, the optimal velocity and optimal position are updated based on the updated velocity and optimal position; the optimal velocity and optimal position of the particle swarm are updated based on the updated optimal velocity and optimal position of each particle; it is determined whether the termination condition is met; in response to determining that the termination condition is met, the placement of the NMR spectrometer in the scanning chamber is determined; in response to a termination condition not being met, the next iteration is performed based on the parameters updated in this iteration.
[0013] One embodiment of this specification provides a system for determining the placement position of an nuclear magnetic resonance (NMR) scanner. The system may include an acquisition module, a function generation module, and a placement position determination module. The acquisition module is used to acquire the placement target and placement constraints of the NMR scanner in the scanning chamber. The function generation module is used to construct an objective function based on the placement target and the placement constraints. The placement position determination module is used to determine the placement position of the NMR scanner in the scanning chamber by optimizing the objective function using a particle swarm optimization algorithm.
[0014] Some of the additional features of this application will be described in the following description. These additional features will be apparent to those skilled in the art from the following description and accompanying drawings, or from an understanding of the production or operation of the embodiments. The features of this application can be implemented and obtained by practicing or using various aspects of the methods, means, and combinations set forth in the detailed examples below. Attached Figure Description
[0015] This specification will be further described by way of exemplary embodiments, which will be described in detail with reference to the accompanying drawings. These embodiments are not limiting; in these embodiments, the same reference numerals denote the same structures, wherein:
[0016] Figure 1 This is a schematic diagram illustrating the application scenario of the system based on exemplary placement positions shown in some embodiments of this specification;
[0017] Figure 2 This is a schematic diagram of the system based on exemplary placement positions shown in some embodiments of this specification;
[0018] Figure 3This is a schematic flowchart illustrating an exemplary method for determining the placement of an MRI scanner according to some embodiments of this specification;
[0019] Figure 4 This is a schematic diagram illustrating an exemplary process for constructing an objective function according to some embodiments of this specification;
[0020] Figure 5 This is a schematic flowchart illustrating an exemplary method for determining the placement of an MRI scanner according to some embodiments of this specification;
[0021] Figure 6 This is a schematic diagram illustrating an exemplary update of the particle movement direction according to some embodiments of this specification. Detailed Implementation
[0022] To more clearly illustrate the technical solutions of the embodiments in this specification, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are merely some examples or embodiments of this specification. For those skilled in the art, these drawings can be applied to other similar scenarios without creative effort. Unless obvious from the context or otherwise specified, the same reference numerals in the drawings represent the same structures or operations.
[0023] It should be understood that the terms “system,” “device,” “unit,” and / or “module” used herein are one way to distinguish different components, elements, parts, sections, or assemblies at different levels. However, if other terms can achieve the same purpose, they may be replaced by other expressions.
[0024] As indicated in this specification and claims, unless the context clearly indicates otherwise, the words "a," "an," "an," and / or "the" do not specifically refer to the singular and may also include the plural. Generally speaking, the terms "comprising" and "including" only indicate the inclusion of expressly identified steps and elements, which do not constitute an exclusive list, and the method or apparatus may also include other steps or elements.
[0025] Flowcharts are used in this specification to illustrate the operations performed by the system according to embodiments of this specification. It should be understood that the preceding or following operations are not necessarily performed in exact order. Instead, the steps can be processed in reverse order or simultaneously. Furthermore, other operations can be added to these processes, or one or more steps can be removed from them.
[0026] Figure 1 This is a schematic diagram illustrating the application scenario 100 of the system based on exemplary placement positions shown in some embodiments of this specification. For example... Figure 1As shown, application scenario 100 may include a scanning chamber 110, an MRI scanner 120, and a processing device 130. A placement determination system can be used to determine the placement position of the MRI scanner 120 within the scanning chamber 110. In some embodiments, the processing device 130 may be disposed within the scanning chamber 110. In some embodiments, the processing device 130 may be a component of the MRI scanner 120. The connections between the components in application scenario 100 may be variable.
[0027] The MRI scanner 120 can be any medical device that utilizes the magnetic resonance phenomenon. In some embodiments, the MRI scanner 120 can scan a target object within a detection area or scanning area to obtain scan data of the target object. In some embodiments, the MRI scanner 120 may include a magnetic resonance imaging (MRI) scanner, an X-ray imaging-MRI scanner, a single-photon emission computed tomography-MRI scanner, a digital subtraction angiography-MRI scanner, etc. In some embodiments, the processing device 130 may be integrated into the MRI scanner 120, or the MRI scanner 120 and the processing device 130 may function through the same entity. The MRI scanner 120 described above is for illustrative purposes only and is not intended to limit the scope of this specification.
[0028] When the MRI scanner 120 is in operation, it emits magnetic fields (e.g., the main magnetic field generated by the main magnet) and electromagnetic fields (e.g., the gradient field generated by the gradient system) into its scanning chamber. The physical field in this application includes at least one of magnetic and electromagnetic fields. For example, the physical field may include a magnetic field. As another example, the physical field may include the sum of a magnetic field and an electromagnetic field (e.g., the maximum electromagnetic field).
[0029] Processing device 130 can process data and / or information related to the MRI scanner 120 or other components (e.g., storage devices). For example, such as Figure 1As shown, the MRI scanner 120 is the device that needs to be placed in the scanning chamber 110. The scanning chamber 110 may include one or more sub-rooms, such as a control room for controlling the MRI scanner, a waiting room for the object to be scanned, etc. The scanning chamber 110 may also include one or more other devices, such as storage cabinets, air conditioners, control devices, and cabinet units. The processing device 130 can determine the placement position of the MRI scanner 120 in the scanning chamber 110 based on information related to the MRI scanner 120, the scanning chamber 110, and / or other devices in the scanning chamber 110. As an example only, the processing device 130 can obtain the placement target and placement constraints of the MRI scanner 120 in the scanning chamber 110. The processing device 130 can construct an objective function based on the placement target and placement constraints. The processing device 130 can determine the placement position of the MRI scanner 120 in the scanning chamber 110 by optimizing the objective function using a particle swarm optimization algorithm. In some embodiments, the processing device 130 can be local or remote. For example, the processing device 130 can access information and / or data from the MRI scanner 120 via a network.
[0030] It should be noted that application scenario 100 is provided for illustrative purposes only and is not intended to limit the scope of this specification. Those skilled in the art can make various modifications or variations based on the description in this specification. For example, application scenario 100 may also include storage devices, networks, virtual reality devices, other terminal devices (such as mobile phones, computers), etc. Storage devices can be used to store information and / or data acquired or generated by one or more components in application scenario 100. Networks can include any suitable network capable of facilitating information and / or data exchange. Virtual reality devices can be devices capable of implementing Virtual Reality (VR) technology, such as VR glasses, VR headsets, VR goggles, etc. For example, a user can view a three-dimensional virtual space in a scanning room through a virtual reality device. As another example, a user can virtually manipulate the three-dimensional virtual space presented by the virtual reality device through control components.
[0031] In some embodiments, at least one component of application scenario 100 (e.g., MRI scanner 120, processing device 130, virtual reality device) can exchange information and / or data with at least one other component in application scenario 100 via a network. However, these changes and modifications do not depart from the scope of this specification.
[0032] Figure 2 This is a schematic diagram of the system based on exemplary placement positions shown in some embodiments of this specification.
[0033] like Figure 2As shown, in some embodiments, the placement position determination system 200 may include an acquisition module 210, a function generation module 220, and a placement position determination module 230. In some embodiments, the functions corresponding to the placement position determination system 200 may be executed by the processing device 130; for example, the acquisition module 210, the function generation module 220, and the placement position determination module 230 may be modules within the processing device 130.
[0034] The acquisition module 210 can be used to acquire the placement target and placement constraints of the magnetic resonance imaging (MRI) scanner in the scanning chamber. In some embodiments, the placement target may be related to the physical field strength at the location of one or more target objects when the MRI scanner is running in the scanning chamber. The placement constraints of the MRI scanner in the scanning chamber may refer to the restrictions on the placement position of the MRI scanner in the scanning chamber. In some embodiments, the placement constraints may be related to the relative positional relationship between the placement position of the MRI scanner and the candidate placement area. For further descriptions regarding acquiring the placement target and placement constraints of the MRI scanner in the scanning chamber, please refer to other parts of this application, such as... Figure 3 Step 310 will not be repeated here.
[0035] The function generation module 220 can be used to construct an objective function based on placement objectives and constraints. The objective function can be used to determine the placement position of the MRI scanner in the scanning chamber. Since the objective function is constructed based on placement objectives and constraints, the final determined placement position achieves the placement objective and satisfies the placement constraints. For a more detailed description of constructing an objective function based on placement objectives and constraints, please refer to other parts of this application, such as... Figure 3 Step 320 will not be repeated here.
[0036] The placement module 230 can be used to determine the placement position of the MRI scanner in the scanning chamber based on a particle swarm optimization algorithm by optimizing an objective function. In some embodiments, the placement position of the MRI scanner in the scanning chamber may include the placement coordinates of the MRI scanner in the scanning chamber. In some embodiments, the placement position of the MRI scanner in the scanning chamber may include the placement coordinates and placement angle of the MRI scanner in the scanning chamber. For a more detailed description of determining the placement position of the MRI scanner in the scanning chamber based on a particle swarm optimization algorithm by optimizing an objective function, please refer to other parts of this application, such as... Figure 3 Step 330 will not be repeated here.
[0037] It should be understood that Figure 2 The system and its modules shown can be implemented in various ways. For example, in some embodiments, the system and its modules can be implemented by hardware, software, or a combination of both.
[0038] It should be noted that the above description of the system and its modules is for illustrative purposes only and should not be construed as limiting this specification to the scope of the illustrated embodiments. It is understood that those skilled in the art, after understanding the principles of this system, may arbitrarily combine the various modules or construct subsystems connected to other modules without departing from these principles. For example, in some embodiments, Figure 2 The modules disclosed above can be different modules within a single system, or a single module can implement the functions of two or more of the modules described above. For example, the modules can share a single storage module, or each module can have its own separate storage module. Such variations are all within the scope of protection of this specification. Furthermore, in some embodiments, one or more modules in the placement determination system 200 can be implemented by other systems. That is, the aforementioned one or more modules may not be included in system 200.
[0039] Figure 3 This is a schematic flowchart illustrating an exemplary method for determining the placement of an MRI scanner according to some embodiments of this specification. In some embodiments, one or more steps of process 300 may be performed... Figure 1 The application scenario 100 shown is implemented or is provided by Figure 2 The placement shown determines the execution of system 200. For example, process 300 can be executed by a module within processing device 130. Figure 3 As shown, process 300 may include the following steps.
[0040] Step 310: Obtain the placement target and placement constraints of the magnetic resonance imaging (MRI) scanner in the scanning chamber. In some embodiments, step 310 may be performed by the processing device 130 or the acquisition module 210.
[0041] An MRI scanner can be any medical device that utilizes the phenomenon of magnetic resonance, for example... Figure 1 The MRI scanner 120 is shown. The scanning room can be a room used to perform MRI scans. In some embodiments, the scanning room may include one or more sub-rooms, such as a control room for controlling the MRI scanner and a waiting room for the subject to be scanned. In some embodiments, the scanning room may include one or more target objects. One or more target objects may include one or more target devices, target personnel, etc. One or more target devices may include devices already placed in the scanning room and / or devices to be placed in the scanning room. Exemplary one or more target devices may include cabinets, computing devices, control devices, storage cabinets, air conditioners, etc. One or more target personnel may include personnel who may be present in the scanning room, such as users controlling the MRI scanner to perform scans (e.g., radiologists), the subject to be scanned, equipment maintenance personnel, etc.
[0042] In some embodiments, the placement target may be related to the physical field strength at the location of one or more target objects when the MRI scanner is operating in the scanning chamber. The MRI scanner emits physical fields in all directions during operation, which may be reflected or absorbed by target objects or internal spatial structures (e.g., walls) within the scanning chamber, forming the final physical field distribution. It is understood that the physical field strength at the location of one or more target objects will vary depending on the location of the MRI scanner within the scanning chamber. The placement target can be used to limit the physical field strength at the location of one or more target objects to reduce the influence of the physical field on these target objects. For example, the placement target may include minimizing or reducing the sum of the physical field strengths at the location of one or more target objects from a certain threshold when the MRI scanner is operating in the scanning chamber. Another example is that the placement target may include minimizing or reducing the average physical field strength at the location of one or more target objects from a certain threshold when the MRI scanner is operating in the scanning chamber.
[0043] In some embodiments, the processing device 130 can acquire the positions of one or more target objects in the scanning room. The position of the target object can be its current location or its intended location. In some embodiments, the processing device 130 can acquire the positions of at least some target objects in the scanning room from a storage device or a database. Optionally, a user can manually input the positions of some target objects in the scanning room. The processing device 130 can construct placement targets based on the positions of one or more target objects. In some embodiments, for each target object, the processing device 130 can determine a target area corresponding to that target object based on its position. For example, typically, when the MRI scanner is running, the target person will not be near the MRI scanner but will be located in other sub-rooms, such as the control room or waiting room. The processing device 130 can designate the sub-room where the target person is located as the target area for that target person based on their position. For each target device, the processing device 130 can determine the physical area occupied by the target device in the scanning room based on its position (or intended location), size, shape, etc., and designate it as the target area corresponding to that target device. In some embodiments, for each target object, the processing device 130 may specify the physical field intensity corresponding to the target region of the target object as the physical field intensity at the location of the target object when the MRI scanner is running in the scanning chamber. For example, the physical field intensity at the location of a target object may be the total physical field intensity corresponding to the target region of the target object. Alternatively, the physical field intensity at the location of a target object may be the maximum physical field intensity corresponding to the target region of the target object.
[0044] In some embodiments, a user can view a three-dimensional virtual space of the scanning room through a virtual reality device. This three-dimensional virtual space may include a virtual scanning room corresponding to the scanning room, a virtual target device corresponding to the target device placed or to be placed inside the scanning room, a virtual target person corresponding to the target person, and a virtual MRI scanner to be placed in the scanning room. In some embodiments, the user can perform virtual operations on the three-dimensional virtual space presented by the virtual reality device through control components to mark target areas in the three-dimensional virtual space. As an example only, the user can mark the virtual target area corresponding to a specific virtual target object in the three-dimensional virtual space by operating the control components. In this way, the selection of the target area can be visualized, making it easier for the user to quickly identify the target area in the scanning room. In some embodiments, the virtual target area in the three-dimensional virtual space can be displayed differently from other areas to facilitate the user's quick identification of other virtual target areas, thereby improving the efficiency of identifying the target area.
[0045] The placement constraints of an MRI scanner in the scanning chamber can refer to the restrictions on the placement position of the MRI scanner within the scanning chamber. In some embodiments, placement constraints may be related to the relative position of the MRI scanner and the candidate placement area. The candidate placement area of the MRI scanner refers to the area within the scanning chamber that can be used to place the MRI scanner. For example, placement constraints may include requiring the MRI scanner to be placed within the candidate placement area; this placement constraint can also be called a position constraint. In some embodiments, placement constraints may be related to the maximum physical field strength that a target object (e.g., target equipment or target personnel) can withstand. For example, placement constraints may include ensuring that the physical field strength of the target area corresponding to each target object is less than the maximum physical field strength that the target object can withstand when the MRI scanner is operating in the scanning chamber; this placement constraint can also be called a physical field strength constraint.
[0046] In some embodiments, the processing device 130 can acquire spatial structure data of the scanning chamber and determine candidate placement areas based on the spatial structure data of the scanning chamber. The processing device 130 can further determine placement constraints based on the candidate placement areas. The spatial structure data of the scanning chamber can display the internal scene of the scanning chamber, for example, it can include the spatial structure data of the scanning chamber itself and the structural data of one or more target devices. As an example only, the spatial structure data of the scanning chamber can include data showing the position and layout of the walls and floor of the scanning chamber, the placement position and shape of the target objects in the scanning chamber, etc. In some embodiments, the spatial structure data of the scanning chamber can include point cloud data, depth data, etc. of the scanning chamber. In some embodiments, the spatial structure data of the scanning chamber can be measured by a measuring device and sent to the processing device 130. For example, the point cloud data of the scanning chamber can be acquired by a sensor (e.g., LiDAR). The depth data of the scanning chamber can be acquired by a depth camera. In some embodiments, the spatial structure data of the scanning chamber can be acquired in advance and stored in a storage device or a database. The processing device 130 can obtain the spatial structure data of the scanning chamber from the storage device or the database.
[0047] Candidate placement areas for an MRI scanner can be determined based on the spatial structure data of the scanning chamber. In some embodiments, the processing device 130 can construct a three-dimensional spatial model of the scanning chamber based on the spatial structure data. The three-dimensional spatial model of the scanning chamber represents the internal spatial structure of the scanning chamber and one or more target devices located or to be located inside the scanning chamber. The processing device 130 can determine candidate placement areas for the MRI scanner based on the three-dimensional spatial model. For example, the processing device 130 can determine exclusion areas from the three-dimensional spatial model and determine the remaining areas outside the exclusion areas as candidate placement areas for the MRI scanner. Exclusion areas correspond to areas in the scanning chamber where it is impossible or difficult to place the MRI scanner. In some embodiments, the processing device 130 can use the target areas corresponding to one or more target objects as exclusion areas. In some embodiments, the processing device 130 can determine areas where the distance to the walls of the scanning chamber is less than a first distance threshold and areas where the distance to the target areas corresponding to one or more target objects is less than a second distance threshold as exclusion areas. The first distance threshold and the second distance threshold can be set according to actual needs, for example, 1 meter, 1.5 meters, etc. In some embodiments, the first distance threshold and the second distance threshold corresponding to each target area can be the same or different.
[0048] In some embodiments, the processing device 130 can acquire data related to the user's activity range within the scanning chamber. For example, the processing device 130 can determine a reference area in the three-dimensional spatial model corresponding to the user's activity range within the scanning chamber based on the correspondence between the three-dimensional spatial model and the internal space of the scanning chamber, and exclude this area. Optionally, the user can manually determine the reference area in the three-dimensional spatial model corresponding to the user's activity range. For example, the user can directly draw the reference area in the three-dimensional spatial model using a display device. Alternatively, the processing device 130 can determine the reference area in the three-dimensional spatial model corresponding to the user's activity range based on the user's historical activity trajectory in the scanning chamber or other reference scanning chambers. In some embodiments, the reference area corresponding to the user's activity range can be a two-dimensional reference area on the ground.
[0049] In some embodiments, since the MRI scanner weighs several tons, a load-bearing structure (e.g., a load-bearing beam, a specially treated high-load-bearing floor, etc.) is required to support it. Therefore, the processing device 130 can identify areas in the scanning chamber where a load-bearing structure for supporting the MRI scanner cannot be installed as exclusion areas.
[0050] In some embodiments, considering that the MRI scanner will be placed on the ground, to reduce computational load, the processing device 130 may determine candidate placement areas only from the portion of the scanning chamber floor corresponding to the 3D spatial model. As an example only, exclusionary areas can be mapped to the ground to determine exclusionary areas on the ground, and then the portion of the ground excluding these exclusionary areas can be determined as candidate placement areas. For exclusionary areas at high altitudes above the ground, the processing device 130 may first determine whether the height of the area above the ground exceeds a threshold (e.g., the height of the MRI scanner). If it does not exceed the threshold, the exclusionary area can be projected onto the ground to determine its exclusionary area on the ground. If it exceeds the threshold, the exclusionary area may not be processed.
[0051] In some embodiments, the processing device 130 can determine candidate placement areas from a portion of the three-dimensional spatial model, excluding exclusion zones, based on the reference position of a reference MRI scanner in a reference scanning chamber. The reference MRI scanner may have similar dimensions and physical field characteristics to the MRI scanner to be placed. For example, the reference MRI scanner may be of the same model as the MRI scanner to be placed. As an example only, the reference position of the reference MRI scanner in the reference scanning chamber is the central region of the reference scanning chamber. The processing device 130 can expand the portion of the three-dimensional spatial model corresponding to the central region of the scanning chamber outwards by a certain area and designate this expanded area as a candidate placement area.
[0052] In some embodiments, similar to using a virtual reality device to determine one or more target placement areas in a scanning room, a user can use a virtual reality device to determine candidate placement areas for an MRI scanner. For example, after exclusionary areas are determined, the processing device 130 can mark the determined exclusionary areas in the virtual scanning room and present the marked virtual scanning room to the user using the virtual reality device. As another example, the user can perform virtual operations on the three-dimensional virtual space presented by the virtual reality device through control components to mark exclusionary areas in the three-dimensional virtual space. In some embodiments, exclusionary areas can be displayed differently from other areas to facilitate the user in determining candidate placement areas in other areas, thereby improving the efficiency of determining candidate placement areas.
[0053] In some embodiments, to facilitate quick identification of candidate placement areas by the user, after presenting all excluded areas, the virtual reality device (VR device) can further present a candidate area identification instruction. In some embodiments, the VR device can present the candidate area identification instruction to the wearer using one or more combinations of text, audio, etc. For example, the candidate area identification instruction could be "Whether to designate areas other than excluded areas as candidate placement areas," and the user can choose "Yes" or "No." If the user selects "Yes," the VR device can directly display the candidate placement areas to the user, for example, displaying them in green. If the user selects "No," the user can select a candidate placement area from areas other than excluded areas. In this case, to further facilitate user operation, the VR device can set excluded areas to an inoperable mode to prevent the user from selecting candidate placement areas from excluded areas. In this way, the selection of candidate placement areas can be visually presented, facilitating the user's quick identification of candidate placement areas in the scanning room.
[0054] In some embodiments, the processing device 130 can acquire user preference information regarding the placement of the MRI scanner. This preference information may include the user's desired placement method and location. For example, the user may prefer the scanner to be placed close to the waiting area or control room. Alternatively, the user may prefer it to be placed far from the control unit. In some embodiments, the user can manually set at least some of their preferences. In some embodiments, the processing device 130 can determine the user's preference information by analyzing historical placement records of the MRI scanner from the user or other reference users, and send this information to the user for confirmation. The user can modify the preference information to obtain the final preference information.
[0055] Step 320: Construct an objective function based on the placement target and placement constraints. In some embodiments, step 320 may be performed by the processing device 130 or the function generation module 220.
[0056] The objective function can be used to determine the placement of the MRI scanner in the scanning chamber. Since the objective function is constructed based on the placement objective and placement constraints, the final determined placement position achieves both the placement objective and the placement constraints. As an example only, by optimizing the objective function (e.g., minimizing its value or making it less than a specific threshold), the final determined placement position can be located within the candidate placement region, and the sum of the physical field intensities at the locations of other target objects can be less than a specific physical field intensity threshold. In some embodiments, the processing device 130 can determine a first function characterizing the placement objective and a second function characterizing the placement constraints. The processing device 130 can further construct the objective function based on the first and second functions.
[0057] In some embodiments, the processing device 130 may determine a third function to characterize user preference information regarding the placement of the MRI scanner. The processing device 130 may further construct a target function based on the first, second, and third functions.
[0058] For detailed information on constructing the objective function, please refer to [link / reference]. Figure 4 The details and related descriptions will not be repeated here.
[0059] Step 330: Based on the particle swarm optimization algorithm, the placement position of the NMR spectrometer in the scanning chamber is determined by optimizing the objective function. In some embodiments, step 330 may be performed by the processing device 130 or the placement position determination module 230.
[0060] Particle Swarm Optimization (PSO) is a method for finding optimal solutions in N-dimensional space. It simulates candidate solutions using massless and volumeless particles. These particles move in N-dimensional space and possess two attributes: velocity and position. Each particle has a fitness value (i.e., the function value of the objective function) determined by the objective function, used to judge the merit of its current position. PSO updates the velocity and position of each particle based on its current position, its best position found so far, and the best positions found by all particles in the swarm so far, searching for a better solution through multiple iterations. Based on this, in this application, the NMR spectrometer can be abstracted as a massless and volumeless particle. The velocity of a particle in the swarm can represent the speed at which the NMR spectrometer moves from one placement position in the scanning chamber to the next. The position of a particle in the swarm can represent one placement position of the NMR spectrometer in the scanning chamber. Therefore, based on PSO, a better solution for the swarm in the scanning chamber (i.e., the placement position of the NMR spectrometer in the scanning chamber) can be determined through multiple iterations.
[0061] In some embodiments, the placement of the MRI scanner in the scanning room may include the scanner's coordinates within the scanning room. In other embodiments, the placement of the MRI scanner in the scanning room may include both the scanner's coordinates and its angle within the scanning room.
[0062] In some embodiments, the processing device 130 may acquire a particle swarm comprising at least two particles. In some embodiments, the processing device 130 may acquire initial parameters related to the particle swarm. Exemplary initial parameters may include the size of the particle swarm, particle dimensions, number of iterations, inertia weight, learning factor, iteration step size range, etc.
[0063] Further, the processing device 130 can determine the initial velocity and initial position of at least two particles in the particle swarm. For example, the processing device 130 can determine the initial velocity of each particle based on a preset velocity threshold, wherein the initial velocity of each particle is less than the velocity threshold. Alternatively, the processing device 130 can randomly determine the initial position of each particle. In some embodiments, the processing device 130 can determine the initial positions of at least two particles in the particle swarm based on a candidate placement region. For example, the processing device 130 can determine that the initial position of each particle in the particle swarm is located within the candidate placement region. In some embodiments, the candidate placement region can be a connected region, and the initial positions of at least two particles can be located within this connected region. In some embodiments, the candidate placement region can contain multiple non-connected sub-regions, and the initial positions of at least two particles can be located within the same or different sub-regions. For each particle, the processing device 130 can determine the function value of the objective function corresponding to that particle based on its initial position. For example, for each particle, processing device 130 can determine the physical field distribution in the scanning chamber when the nuclear magnetic resonance spectrometer is located at the corresponding position (e.g., using the finite element analysis method or physical field simulation model described in step 420), and determine the physical field intensity at the location of one or more target objects based on the physical field distribution. Based on the physical field intensity corresponding to the target object, processing device 130 can determine the value of a first function. Processing device 130 can further determine the value of a second function based on the position of the particle and the positional relationship of the candidate placement area. The value of the target function can be the sum of the values of the first function and the second function.
[0064] The processing device 130 can further determine whether the termination condition is met based on the function value of the objective function of each particle. For example, if the minimum value of the objective function of all particles in the current iteration is less than a first preset threshold, the processing device 130 can determine that the termination condition is met. For example, if the minimum value of the objective function of all particles in the current iteration is not less than the first preset threshold, the processing device 130 can determine that the termination condition is not met. For another example, if the function value of the objective function of at least one particle is less than the first preset threshold, the processing device 130 can determine that the termination condition is met. If the function value of the objective function of each particle is not less than the first preset threshold, the processing device 130 can determine that the termination condition is not met. For yet another example, if the difference between the minimum value of the objective function of all particles in the current iteration and the minimum value of the objective function of all particles in the previous iteration is less than a second preset threshold, the processing device 130 can determine that the termination condition is met. For yet another example, if a specific number of iterations have been performed, the processing device 130 can determine that the termination condition is met.
[0065] In response to the termination condition being met, the processing device 130 can determine the placement position of the NMR spectrometer based on the initial positions of at least one particle whose objective function value is less than a preset threshold. For example, the processing device 130 can select the initial position of the particle with the smallest objective function value as the placement position of the NMR spectrometer. Alternatively, the processing device 130 or the user can select any initial position from the initial positions of at least one particle whose objective function value is less than a preset threshold as the placement position of the NMR spectrometer. In response to the termination condition not being met, the processing device 130 can iteratively update the initial velocity and initial position of each particle. Based on the updated velocity and position of each particle, one or more iterations are performed to determine the placement position of the NMR spectrometer. For a description of determining the placement position of the NMR spectrometer through one or more iterations, please refer to [link to relevant documentation]. Figure 5 The details and related descriptions will not be repeated here.
[0066] Figure 4 This is a schematic diagram illustrating an exemplary process for constructing an objective function according to some embodiments of this specification. In some embodiments, Figure 4 The process 400 shown can be used to implement Figure 3 Step 320.
[0067] Step 410: Obtain the placement target and placement constraints of the magnetic resonance imaging (MRI) scanner in the scanning chamber.
[0068] In some embodiments, user preference information regarding the placement of the MRI scanner can be further obtained. In some embodiments, step 410 can be similar to... Figure 3 Step 310 in the above steps will not be repeated here.
[0069] Step 420: Determine the first function.
[0070] The first function can be used to characterize the placement target. For example... Figure 3 The placement of the targets may be related to the physical field strength at the location of one or more target objects when the MRI scanner is running in the scanning chamber. The first function may be constructed based on the physical field strength at the location of one or more target objects. In some embodiments, the first function may be a nonlinear function.
[0071] As an example only, the processing device 130 can determine the first function according to formula (1): f(x,y,θ)=∑L i (x,y,θ), (1) Among them, L i (x,y,θ) represents the physical field strength at the location of target object i when the NMR spectrometer is positioned at (x,y,θ); x represents the abscissa of the NMR spectrometer's position in the scanning chamber, y represents the ordinate of the NMR spectrometer's position in the scanning chamber, and θ represents the placement angle of the NMR spectrometer. In some embodiments, (x,y,θ) can also represent a particle with coordinates (x,y) and placement angle θ, and f(x,y,θ) represents the first function corresponding to particle (x,y,θ).
[0072] For example, processing device 130 can determine the first function according to formula (2): f(x,y,θ)=∑α i L i (x,y,θ), (2) Where, α i This represents the weight corresponding to the target object i.
[0073] In some embodiments, the processing device 130 can determine the weight corresponding to each target object based on the importance of each target object and / or the degree of influence of the physical field. For example, the processing device 130 can determine the importance of each target device based on its price, maintenance status, replacement status, and service life. Alternatively, the processing device 130 can directly specify the importance of the target personnel as the highest level. The processing device 130 can determine the weight of each target object based on its importance. As an example only, the weight of a target object can be its importance divided by the sum of the importance of all target objects. For another example, the processing device 130 can determine the weight of each target object based on the degree of influence of the physical field. The more susceptible a target object is to the influence of the physical field, the greater its weight can be. By considering the importance of each target object and / or its degree of influence from the physical field to determine its corresponding weight, a more accurate first function can be obtained. Therefore, when subsequently determining the placement location, the importance of each target object and / or its degree of influence from the physical field can also be taken into account, making the determined placement location more accurate.
[0074] In some embodiments, when the MRI scanner is positioned at (x, y, θ), the physical field intensity at the location of the target object i can be determined based on the physical field distribution within the scanning chamber when the MRI scanner is operating at position (x, y, θ). The physical field distribution can show the distribution of the physical field at different locations within the scanning chamber when the MRI scanner is operating at position (x, y, θ), i.e., the distribution pattern of the physical field intensity at different locations within the scanning chamber during MRI operation. During operation, the MRI scanner emits physical fields in all directions. These physical fields may be reflected or absorbed by other objects within the scanning chamber or by the internal spatial structure of the scanning chamber (e.g., walls), forming the final physical field distribution.
[0075] In some embodiments, the processing device 130 may assume a placement position (x, y, θ) of the MRI scanner within the scanning chamber and predict the physical field distribution within the scanning chamber during MRI operation based on analysis of data related to the MRI scanner and the scanning chamber. For example, the physical field distribution within the scanning chamber during MRI operation can be determined by the processing device 130 based on existing physical field simulation algorithms. In some embodiments, the physical field distribution within the scanning chamber during MRI operation at the placement position (x, y, θ) can be determined based on the Finite Element Analysis (FEA) algorithm. Finite Element Analysis-based physical field simulation primarily decomposes a 2D or 3D environment representation into a series of nodes or points. In each calculation, the values of adjacent nodes or points need to be calculated, and iterative calculations are performed using a series of different algorithms to determine the physical field distribution.
[0076] For example, the processing device 130 can acquire characteristic information of the MRI scanner. This characteristic information includes at least a physical field emission model of the MRI scanner. The physical field emission model can represent the physical field emission characteristics of the MRI scanner during operation. For example, the physical field emission model can include the intensity of the physical fields emitted by the MRI scanner at different distances during operation. In some embodiments, the physical field emission model can include the intensity of the magnetic field emitted by the MRI scanner at different distances during operation (e.g., the intensity of the magnetic field emitted by the main magnet). In some embodiments, the physical field emission model can include the sum of the intensity of the magnetic field emitted by the MRI scanner at different distances during operation and the intensity of the maximum electromagnetic field that can be emitted (e.g., the maximum gradient field intensity). The processing device 130 can determine the physical field distribution in the scanning chamber during MRI scanner operation using a physical field simulation model based on a three-dimensional spatial model of the scanning chamber and the characteristic information of the MRI scanner. For example, the processing device 130 can acquire the electromagnetic characteristics of various regions in the scanning chamber based on the three-dimensional spatial model. The electromagnetic characteristics of a region can include at least one of the physical field absorption characteristics and physical field reflection characteristics of that region, such as physical field absorptivity and physical field reflectivity. The physical field simulation model can be a model used to determine the distribution of physical fields. The physical field simulation model can include convolutional neural networks (CNNs), residual networks (ResNets), etc. In some embodiments, the processing device 130 can input the physical field emission model of the MRI scanner and the electromagnetic characteristics of various regions in the scanning chamber into the physical field simulation model. The physical field simulation model can output information related to the distribution of physical fields. For example, the physical field simulation model can output the physical field intensity corresponding to each region. The processing device 130 can determine the physical field distribution based on the physical field intensity corresponding to each region.
[0077] Step 430: Determine the second function.
[0078] The second function can be used to characterize placement constraints. For example... Figure 3The placement constraints may include positional constraints and / or physical field strength constraints. Positional constraints may relate to the relative position of the MRI scanner and the candidate placement area. For example, a placement constraint could be that the MRI scanner is placed within a candidate placement area. Physical field strength constraints may relate to the maximum physical field strength that the target object (e.g., target equipment or target personnel) can withstand. For example, a placement constraint could be that, when the MRI scanner is operating in the scanning chamber, the physical field strength of the target area corresponding to each target object is less than the maximum physical field strength that the target object can withstand. The second function can be constructed based on the candidate placement area and / or the maximum physical field strength that one or more target objects can withstand.
[0079] In some embodiments, the processing device 130 may construct a boundary function based on the candidate placement region and specify the constructed boundary function as a second function. A boundary function is a function used to represent the boundary of the candidate placement region. Since the candidate placement region of an MRI scanner may be an irregularly shaped region, its boundary expression is usually nonlinear. Many algorithms used for boundary constraints or feasible regions are only applicable to linear equations. Therefore, it is necessary to first transform the boundary into a polynomial-based piecewise linear spline function and construct a linear boundary function accordingly. Because the MRI scanner can only move in a plane, the boundary of the candidate placement region can be defined using lines in a two-dimensional plane. It can be assumed that the boundary of the candidate placement region consists of polygons, where each edge of the polygon can be a curve or a straight line, and all edges of the polygon can enclose a closed region.
[0080] As an example only, the processing device 130 can project the candidate placement area onto the ground along a direction perpendicular to the ground to obtain a two-dimensional candidate placement area for the MRI scanner. The processing device can construct a boundary function based on the boundary of the two-dimensional candidate placement area. The processing device 130 can determine at least two target nodes on the boundary of the two-dimensional candidate placement area. Target nodes can be any point on the boundary of the candidate placement area; for example, when the candidate placement area is considered a polygon, the target node can be a vertex on the boundary of the candidate placement area. In some embodiments, the processing device 130 can determine at least two target nodes based on a preset distance between adjacent nodes. The distance between adjacent nodes can be the same or different. In some embodiments, the processing device 130 can determine the distance between adjacent nodes corresponding to different parts of the boundary based on the curvature of those parts. For example, when the curvature of a part of the boundary is greater than a first curvature threshold, the processing device can directly designate the two endpoints of that part as target nodes for that part. When the curvature of a part of the boundary is less than the first curvature threshold, the greater the curvature in that part, the smaller the distance between adjacent nodes; the smaller the curvature in that part, the greater the distance between adjacent nodes.
[0081] For each pair of adjacent nodes in at least two target nodes, processing device 130 can determine the straight line connecting the pair of adjacent nodes. Processing device 130 can further determine a second function based on the straight line corresponding to each pair of adjacent nodes. Processing device 130 can determine the equation of the straight line corresponding to each pair of adjacent nodes, for example, ax + by + c = 0. Processing device 130 can combine the equations of the straight lines corresponding to multiple pairs of adjacent nodes into a system of equations and designate this system of equations as the second function. As an example only, the second function can be determined according to formula (3): Where (x, y) represents the placement of the MRI scanner in the scanning chamber, x represents the x-coordinate of the placement position, y represents the y-coordinate of the placement position, n represents the number of straight lines on the boundary of the candidate placement area, and a i x+b i y+c i =0 indicates the equation of the line on the i-th edge of the candidate placement area.
[0082] By determining at least two target nodes on the boundary of the two-dimensional candidate placement region and connecting adjacent target nodes in sequence, the equation representing the candidate placement region can be transformed from a nonlinear equation into an approximate linear equation. This allows the constructed second function to be applicable to a variety of existing boundary function algorithms, meaning the second function has greater applicability.
[0083] In some embodiments, the processing device 130 may construct a penalty function based on placement constraints and designate the determined penalty function as a second function. For example, the penalty function may be related to whether the placement position of the MRI scanner is within the candidate placement area. When the MRI scanner is located outside the candidate placement area, a certain penalty coefficient may be assigned to that position. As another example, the penalty function may be related to the distance between the placement position of the MRI scanner and the candidate placement area. The greater the distance between the MRI scanner and the candidate placement area, the greater the penalty coefficient assigned to that position. As an example only, the processing device 130 constructs the second function according to formula (4): Where h(x,y) is the penalty function corresponding to the placement position (x,y) (or particle (x,y)). Let d represent the candidate placement area, and let d represent the placement position (x, y) and the candidate placement area. The distance between them. Then, according to formula (4), if the placement position (x, y) is located within the candidate placement area... If the placement position (x,y) is within the candidate placement area, then h(x,y) = 0. In addition, h(x,y)=d.
[0084] For example, the penalty function can be related to the physical field strength constraint. That is, the penalty function can be related to whether the physical field strength of the target region corresponding to each target object is less than the maximum physical field strength that the target object can withstand when the MRI scanner is running in the scanning chamber. When the MRI scanner is running at a position, if the physical field strength of the target region corresponding to one or more target objects is not less than the maximum physical field strength that the target object can withstand, a certain penalty coefficient can be assigned to that position.
[0085] In some embodiments, the processing device 130 may construct a second function based on placement constraints using other algorithms or functions, which is not limited herein. For example, a randomized version of the bubble sort algorithm and / or by transforming the constraints into reinforcement optimal positions can also be used to construct the second function. Exemplarily, a randomized version of the bubble sort algorithm can be used to rank particles by comparing them with their neighboring particles. A special parameter can be used to define the probability of using only the objective function during the sorting process. Within the candidate placement area, each particle can be compared using the function value of the objective function. Outside the candidate placement area, this special parameter is needed to define the probability of using only the objective function.
[0086] In some embodiments, after the first function and the second function are determined, the processing device 130 can directly execute step 450. In step 450, the processing device 130 can construct a target function based on the first function and the second function. For example, the processing device 130 can use the sum of the first function and the second function (e.g., the penalty function shown in formula (4)) as the target function. Or, for example, the processing device 130 can use the second function as a constraint term of the target function (e.g., the boundary function described in formula (3)), and the target function is to minimize the first function under the condition of satisfying the second function. Alternatively, the processing device can further execute step 440, and then execute step 450.
[0087] Step 440: Determine the third function.
[0088] The third function can be used to characterize the user's preference information regarding the placement of the MRI scanner. As an example, if the user's preference information for the placement of the MRI scanner is that the user expects the distance between the scanner and the control unit to be within a specific range, the processing device can construct the third function based on this distance. For example, the third function can be similar to the penalty function described above, where the value of the third function is 0 when the distance between the scanner and the control unit is within the specific range; the greater the distance exceeds the specific range, the larger the value of the third function. Further, in step 450, the processing device 130 can construct a target function based on the first, second, and third functions. For example, the processing device 130 can use the sum of the first, second, and third functions as the target function. As another example, the third function can be similar to the boundary function described above, where the placement of the MRI scanner needs to satisfy the requirement that the distance between the scanner and the control unit is within a specific range.
[0089] According to some embodiments of this application, a highly applicable objective function can be obtained based on the placement target, placement constraints, user preference information, etc. of the MRI scanner. This improves the accuracy of the subsequent placement of the MRI scanner determined based on the objective function, while also satisfying the user's preference for the placement of the MRI scanner.
[0090] Figure 5 This is a schematic flowchart illustrating an exemplary method for determining the placement of an MRI scanner according to some embodiments of this specification. In some embodiments, this can be achieved through one or more steps of process 500. Figure 3 Step 330 as described above. Figure 5 As shown, process 500 may include the following steps.
[0091] In some embodiments, based on the particle swarm optimization algorithm, the placement of the NMR spectrometer in the scanning chamber can be determined through one or more iterations. In each iteration, the objective function value for each particle can be determined, and the velocity and position of each particle (i.e., the current velocity and position of each particle), the optimal velocity and position of each particle, the optimal velocity and position of the particle swarm, the inertia weight, the number of iterations, etc., are output. The optimal velocity and position of each particle refer to the best velocity and position among all historical velocities and positions of that particle. For example, for a particle, the iteration in which the objective function value of the particle is minimized across all iterations can be determined, and the position and velocity of that particle in that iteration can be taken as its optimal position and optimal velocity. The optimal velocity and position of the particle swarm refer to the best velocity and optimal position among all historical velocities and positions of all particles in the particle swarm. For example, the minimum value of the objective function of all particles in each iteration can be determined, and the velocity and position of the particle corresponding to this minimum value can be taken as the optimal velocity and optimal position of the particle swarm. For ease of description, the following uses one iteration as an example to describe the iterative process based on the particle swarm optimization algorithm.
[0092] Step 510: For each particle in the particle swarm, update the particle's velocity and position based on the velocity and position obtained in the previous iteration. In some embodiments, step 510 may be performed by the processing device 130 or the placement determination module 230.
[0093] In some embodiments, the processing device 130 may update the velocity of each particle based on at least a portion of the data obtained in the previous iteration. As an example only, for each particle, the processing device 130 may update the particle's velocity according to formula (5) based on the particle's velocity and position obtained in the previous iteration, the particle's optimal velocity and optimal position, and the particle swarm's optimal velocity and optimal position: Where i represents the particle number, i = 1, 2, 3, ..., N, and N represents the particle swarm size; Let represent the velocity vector of particle i in the (k+1)th iteration; w represents the inertia weight, used to describe the influence of the particle's previous velocity on its current velocity; c1 represents the individual learning factor, used to describe the weight of the statistical acceleration term that pushes each particle to its optimal position; c2 represents the swarm learning factor, used to describe the weight of the statistical acceleration term that pushes each particle to its optimal position in the swarm; r1 and r2 represent random numbers in the interval [0,1], used to increase the randomness of the search. This represents the velocity vector of particle i in the k-th iteration; This represents the position vector of particle i in the k-th iteration; This represents the optimal position of particle i in the k-th iteration; This represents the optimal position of the particle swarm in the k-th iteration.
[0094] In some embodiments, the processing device 130 can update the velocity of each particle based on at least a portion of the data obtained in the previous iteration and the boundary of the candidate placement area. This allows for more accurate particle velocities, facilitating faster acquisition of the optimal position. As an example only, for each particle, the processing device 130 can update the particle's velocity according to formula (6): Where (ax+by+c) represents the equation of the straight line that is closest to the candidate placement area for particle i, sqrt(a 2 +b 2 ) / abs(ax+by+c) represents the distance factor, which is related to the distance from the particle to the nearest edge of the candidate placement area, c3 represents the weight of the distance factor, and r3 represents a random number in the interval [0,1].
[0095] In some embodiments, for each particle, the processing device 130 can determine the particle's direction of movement in the next iteration based on the particle's inertial direction, the particle's optimal direction, and the optimal direction of the particle swarm. This is merely an example. Figure 6 This is a schematic diagram illustrating exemplary updates to the particle movement direction according to some embodiments of this specification. For example... Figure 6 As shown, the direction of movement of particle i in the next iteration = the inertial direction of particle i + the optimal direction of particle i + the optimal direction of the particle swarm. The optimal direction of particle i can be the direction of movement corresponding to the optimal position of particle i. The optimal direction of the particle swarm can be the direction of movement corresponding to the optimal position of the particle swarm.
[0096] In some embodiments, in response to determining that a particle in the particle swarm is outside the candidate placement area, the particle's moving speed can be reduced while maintaining its moving direction so that the particle can be placed within the candidate placement area.
[0097] In some embodiments, in response to determining that the optimal position of a particle in the particle swarm is outside the boundary of the candidate placement area, the processing device 130 can update the optimal position of the particle using the candidate placement area. For example, the processing device 130 can update the optimal position of the particle using the point in the candidate placement area that is closest to the optimal position. In some embodiments, in response to determining that the optimal position of the particle swarm is outside the boundary of the candidate placement area, the processing device 130 can update the optimal position of the particle swarm using the candidate placement area. For example, the processing device 130 can update the optimal position of the particle swarm using the point in the candidate placement area that is closest to the optimal position. In this way, unusable optimal positions (i.e., invalid optimal positions located outside the candidate placement area) can be excluded, thereby ensuring that a valid optimal position for each particle and the optimal position for the particle swarm can be obtained in each iteration.
[0098] In some embodiments, the processing device 130 can update the position of each particle based on the position of each particle obtained in the previous iteration and the velocity updated in the current iteration. As an example only, for each particle, the processing device 130 can update the particle's position according to formula (6): in, Let represent the position vector of particle i in the (k+1)th iteration.
[0099] Step 520: For each particle in the particle swarm, update the function value of the objective function corresponding to that particle based on its updated position. In some embodiments, step 520 may be performed by the processing device 130 or the placement determination module 230.
[0100] For example, the objective function can be the sum of a first function and a second function. Processing device 130 can determine the values of the first and second functions corresponding to the updated position of the particle, and use the sum of the first and second function values as the final function value. A description of determining the objective function value based on the particle's position can be found in step 330, and will not be repeated here.
[0101] Step 530: For each particle in the particle swarm, update the optimal velocity and optimal position of the particle based on the updated velocity and position of the particle. In some embodiments, step 530 may be performed by the processing device 130 or the placement determination module 230.
[0102] In some embodiments, for each particle in the particle swarm, the processing device 130 can determine a velocity and position as the new optimal velocity and optimal position of the particle from the optimal velocity and optimal position obtained in the previous iteration and the velocity and position of the particle after the current iteration.
[0103] Step 540: Update the optimal velocity and optimal position of the particle swarm based on the updated optimal velocity and optimal position of each particle in the particle swarm. In some embodiments, step 540 may be performed by the processing device 130 or the placement determination module 230.
[0104] In some embodiments, for each particle in the particle swarm, the processing device 130 can determine a velocity and position as the new optimal velocity and optimal position of the particle swarm from the optimal velocity and optimal position of each particle after the current iteration update.
[0105] In some embodiments, the processing device 130 may update other parameters, such as inertia weights, number of iterations, etc.
[0106] Step 550: Determine whether the termination condition is met. In some embodiments, step 550 may be performed by the processing device 130 or the placement determination module 230.
[0107] Termination conditions may include any one or a combination of the following: a certain number of iterations have been performed, the function value of at least one updated objective function in this iteration is less than a threshold, the difference between the function values of at least one objective function in this iteration and the previous iteration is less than a threshold, the minimum value of the objective function of all particles in this iteration is less than a threshold, the difference between the minimum value of the objective function of all particles in this iteration and the minimum value of the objective function of all particles in the previous iteration is less than a threshold, etc.
[0108] When the termination condition is determined to be met, the processing device 130 may execute step 560. If the termination condition is not met, steps 510-540 are re-executed based on the parameters updated in this iteration until the termination condition is met, and the placement of the MRI scanner is determined according to step 560.
[0109] Step 560: Determine the placement of the MRI scanner in the scanning chamber. In some embodiments, step 550 may be performed by the processing device 130 or the placement determination module 230.
[0110] In some embodiments, the processing device 130 can specify the optimal position of the updated particle swarm as the placement position of the NMR spectrometer. In some embodiments, the processing device 130 can identify at least two particles whose corresponding objective function values are less than a threshold. The processing device 130 can determine the optimal positions of these at least two particles as candidate placement positions for the NMR spectrometer. The user can select one of the at least two candidate placement positions as the placement position of the NMR spectrometer in the scanning chamber.
[0111] Some existing algorithms for finding optimal solutions (e.g., gradient descent) may yield local optima. In contrast, the particle swarm optimization algorithm used in this application can obtain a global optimum, thus achieving an accurate placement of the NMR spectrometer. According to some embodiments of this application, areas unsuitable for NMR placement can be excluded first to determine candidate placement areas. Then, placement constraints are determined based on these candidate areas. This approach allows for quick and easy elimination of unusable areas and rapid and accurate construction of placement constraints, making the constraint construction highly applicable. An objective function is then constructed based on the placement objective and constraints. Subsequently, through at least one iteration, the objective function is optimized using the particle swarm optimization algorithm to determine the NMR placement position in the scanning chamber. Compared to directly constructing the objective function based on the placement objective, this application improves the accuracy of the objective function by introducing placement constraint terms, facilitating rapid particle swarm optimization to locate the appropriate position, thereby improving the efficiency and accuracy of determining the NMR placement position.
[0112] In some embodiments of this specification, the placement position of the MRI scanner in the scanning chamber is determined by optimizing the objective function based on the particle swarm optimization algorithm. The beneficial effects of these embodiments include, but are not limited to: (1) The particle swarm optimization algorithm used in this application can obtain the global optimal solution, thereby obtaining an accurate placement position of the MRI scanner; (2) By quickly and easily eliminating unusable areas, candidate placement areas are determined, and placement constraints of the MRI scanner are determined based on these candidate areas, thereby quickly and accurately constructing highly applicable placement constraints; (3) Compared with directly constructing the objective function based on the placement target, this application introduces placement constraint terms into the objective function, thereby making the objective function more accurate. The placement position determined by this objective function can achieve the placement target while satisfying the placement constraints, thus improving the efficiency and accuracy of determining the MRI scanner placement position; (4) By using a virtual reality device to determine the target area, the selection of the target area can be visualized. (5) Using virtual reality devices to differentiate between different areas can improve the visualization of different areas in the three-dimensional virtual space; (6) By considering the importance of each target object and / or the degree of influence of the physical field, the corresponding weight can be determined, and a more accurate first function can be obtained; (7) Based on the placement target, placement constraints, user preference information, etc. of the nuclear magnetic resonance spectrometer, a highly applicable objective function can be obtained, which can improve the accuracy of the subsequent placement position of the nuclear magnetic resonance spectrometer determined based on the objective function, and at the same time satisfy the user's preference for the placement position of the nuclear magnetic resonance spectrometer; (8) In each iteration, when the optimal position of the particle or the optimal position of the particle swarm is located outside the boundary of the candidate placement area, the optimal position of the particle or the optimal position of the particle swarm can be updated using the points in the candidate placement area. In this way, the unusable optimal positions can be eliminated, thereby ensuring that the effective optimal position of each particle and the optimal position of the particle swarm can be obtained in each iteration.
[0113] The basic concepts have been described above. Obviously, for those skilled in the art, the detailed disclosure above is merely illustrative and does not constitute a limitation of this specification. Although not explicitly stated herein, those skilled in the art may make various modifications, improvements, and corrections to this specification. Such modifications, improvements, and corrections are suggested in this specification and therefore remain within the spirit and scope of the exemplary embodiments described herein.
[0114] Furthermore, this specification uses specific terms to describe embodiments thereof. For example, "an embodiment," "one embodiment," and / or "some embodiments" refer to a particular feature, structure, or characteristic associated with at least one embodiment of this specification. Therefore, it should be emphasized and noted that references to "an embodiment," "one embodiment," or "an alternative embodiment" in different locations throughout this specification do not necessarily refer to the same embodiment. Moreover, certain features, structures, or characteristics in one or more embodiments of this specification can be appropriately combined.
[0115] Furthermore, unless expressly stated in the claims, the order of processing elements and sequences, the use of numbers and letters, or other names described in this specification are not intended to limit the order of the processes and methods described herein. Although various examples have been discussed in the foregoing disclosure of some embodiments of the invention that are currently considered useful, it should be understood that such details are for illustrative purposes only, and the appended claims are not limited to the disclosed embodiments; rather, the claims are intended to cover all modifications and equivalent combinations that conform to the spirit and scope of the embodiments described herein. For example, while the system components described above can be implemented using hardware devices, they can also be implemented solely using software solutions, such as installing the described system on existing servers or mobile devices.
[0116] Similarly, it should be noted that, in order to simplify the description disclosed herein and thus aid in the understanding of one or more embodiments of the invention, the foregoing description of embodiments in this specification may sometimes combine multiple features into a single embodiment, drawing, or description thereof. However, this method of disclosure does not imply that the subject matter of this specification requires more features than those mentioned in the claims. In fact, the embodiments contain fewer features than all the features of a single embodiment disclosed above.
[0117] In some embodiments, numbers describing the quantity of components and attributes are used. It should be understood that such numbers used in the description of embodiments are modified in some examples with the terms "approximately," "approximately," or "generally." Unless otherwise stated, "approximately," "approximately," or "generally" indicates that the numbers are allowed to vary by ±20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximate values, which may be changed depending on the characteristics required by individual embodiments. In some embodiments, numerical parameters should take into account specified significant digits and employ a general method of digit reservation. Although the numerical ranges and parameters used to confirm their breadth of range in some embodiments of this specification are approximate values, in specific embodiments, such values are set as precisely as feasible.
[0118] For each patent, patent application, patent application publication, and other material, such as articles, books, specifications, publications, and documents, referenced in this specification, the entire contents of which are incorporated herein by reference. This excludes historical application documents that are inconsistent with or conflict with the content of this specification, as well as documents that limit the broadest scope of the claims in this specification (currently or subsequently appended to this specification). It should be noted that in the event of any inconsistency or conflict between the descriptions, definitions, and / or terminology used in the supplementary materials to this specification and the content of this specification, the descriptions, definitions, and / or terminology used in this specification shall prevail.
[0119] Finally, it should be understood that the embodiments described in this specification are merely illustrative of the principles of the embodiments described herein. Other variations may also fall within the scope of this specification. Therefore, alternative configurations of the embodiments described herein are intended to be illustrative rather than limiting, and should be considered consistent with the teachings of this specification. Accordingly, the embodiments described herein are not limited to those explicitly introduced and described herein.
Claims
1. A method of determining a set-up position of a nuclear magnetic resonance instrument, performed by at least one processor, characterized by, The method includes: The placement target and placement constraints of the nuclear magnetic resonance spectrometer in the scanning chamber are obtained, wherein the placement target is used to limit the physical field intensity at the location of one or more target objects; Based on the placement target, a first function is determined to characterize the placement target; Based on the placement constraints, a penalty function is constructed and determined as the second function. The penalty coefficient of the penalty function is related to the relative position of the placement position of the MRI scanner and the candidate placement area, as well as the physical field strength constraint. The physical field strength constraint refers to whether the physical field strength of the target area corresponding to each target object is less than the maximum physical field strength that the target object can withstand when the MRI scanner is running. The candidate placement area is selected from areas other than areas that cannot or are not suitable for placing the MRI scanner. Based on the first function and the second function, construct the target function; and The placement of the nuclear magnetic resonance spectrometer in the scanning chamber is determined by optimizing the objective function based on the particle swarm optimization algorithm.
2. The method as described in claim 1, characterized in that, Obtaining the placement target of the MRI scanner in the scanning chamber includes: Obtain the position of the one or more target objects in the scanning chamber; and Based on the location of the one or more target objects, the placement target is constructed, and the placement target is related to the physical field strength at the location of the one or more target objects when the MRI scanner is running in the scanning chamber.
3. The method as described in claim 2, characterized in that, Obtaining the placement constraints of the nuclear magnetic resonance spectrometer in the scanning chamber includes: Acquire the spatial structure data of the scanning chamber; Based on the spatial structure data of the scanning chamber, the candidate placement area for the nuclear magnetic resonance spectrometer is determined; and Based on the candidate placement area, the placement constraints of the MRI scanner in the scanning chamber are determined. The placement constraints are related to the relative position of the MRI scanner and the candidate placement area.
4. The method as described in claim 3, characterized in that: The placement target includes the location of one or more target objects where the sum of the physical field strengths is less than a preset threshold when the MRI machine is running in the scanning chamber. The placement constraints include the fact that the nuclear magnetic resonance spectrometer is placed within the candidate placement area.
5. The method as described in claim 1, characterized in that, The penalty coefficient is not zero if the physical field strength of the target area corresponding to the target object is not less than the maximum physical field strength that the target object can withstand.
6. The method as described in claim 1, characterized in that, The construction of the objective function based on the first function and the second function further includes: Determine a third function to characterize user preference information regarding the placement of the nuclear magnetic resonance spectrometer; and The target function is constructed based on the first function, the second function, and the third function.
7. The method as described in claim 1, characterized in that, The process of determining the placement of the nuclear magnetic resonance spectrometer in the scanning chamber by optimizing the objective function based on the particle swarm optimization algorithm includes: Determine the initial positions of at least two particles in a particle swarm; For each particle, based on the particle's initial position, determine the function value of the objective function corresponding to that particle; Based on the function value of the objective function for each particle, determine whether the termination condition is met; In response to the termination condition being met, the placement position is determined based on the initial position of each particle; or in response to the termination condition not being met, the initial position of each particle is iteratively updated.
8. The method as described in claim 7, characterized in that, Determining the initial positions of at least two particles in the particle swarm includes: Obtain the candidate placement area of the nuclear magnetic resonance spectrometer in the scanning chamber; and Based on the candidate placement area, the initial positions of at least two particles in the particle swarm are determined, wherein the initial position of each particle in the particle swarm is located within the candidate placement area.
9. A system for determining the placement of an nuclear magnetic resonance spectrometer, comprising: The acquisition module is used to acquire the placement target and placement constraints of the nuclear magnetic resonance spectrometer in the scanning chamber. The placement target is used to limit the physical field intensity at the location of one or more target objects. A function generation module is used to determine a first function to characterize the placement target based on the placement target. Based on the placement constraints, a penalty function is constructed and determined as the second function. The penalty coefficient of the penalty function is related to the relative position of the placement position of the MRI scanner and the candidate placement area, as well as the physical field strength constraint. The physical field strength constraint refers to whether the physical field strength of the target area corresponding to each target object is less than the maximum physical field strength that the target object can withstand when the MRI scanner is running. The candidate placement area is selected from areas other than those that cannot or are not suitable for placing the MRI scanner. Based on the first function and the second function, an objective function is constructed. as well as The placement module is used to determine the placement position of the nuclear magnetic resonance spectrometer in the scanning chamber by optimizing the objective function based on the particle swarm optimization algorithm.
