High real-time magnetic resonance spectrometer system and management method

文档序号:1844897 发布日期:2021-11-16 浏览:16次 中文

阅读说明:本技术 高实时性磁共振谱仪系统和管理方法 (High real-time magnetic resonance spectrometer system and management method ) 是由 邓军强 莫纪江 蒋谟文 郭咏梅 于 2021-08-27 设计创作,主要内容包括:本发明提供了一种高实时性磁共振谱仪系统和管理方法,涉及磁共振技术领域,该系统包括:与序列模块、图像重建模块分别连接的扫描模块,用于产生扫描序列并发送至序列模块;序列模块和图像重建模块分别通过通信卡单元与管理交换模块连接,用于将扫描序列编译为硬件参数序列并发送至管理交换模块;管理交换模块用于基于硬件参数序列的数据类型,将硬件参数序列发送至执行模块;执行模块用于产生相应波形,并转换为数字磁共振数据,最后由图像重建模块进行图像重建,并由扫描模块呈现。该系统解决了现有磁共振谱仪存在的成本高、稳定性差、实时性低的问题,达到了提高系统响应速度,增强实时性的技术效果。(The invention provides a high real-time magnetic resonance spectrometer system and a management method, which relate to the technical field of magnetic resonance, and the system comprises: the scanning module is respectively connected with the sequence module and the image reconstruction module and is used for generating a scanning sequence and sending the scanning sequence to the sequence module; the sequence module and the image reconstruction module are respectively connected with the management exchange module through the communication card unit and are used for compiling the scanning sequence into a hardware parameter sequence and sending the hardware parameter sequence to the management exchange module; the management switching module is used for sending the hardware parameter sequence to the execution module based on the data type of the hardware parameter sequence; the execution module is used for generating corresponding waveforms, converting the waveforms into digital magnetic resonance data, and finally performing image reconstruction by the image reconstruction module and displaying the digital magnetic resonance data by the scanning module. The system solves the problems of high cost, poor stability and low real-time performance of the existing magnetic resonance spectrometer, and achieves the technical effects of improving the response speed of the system and enhancing the real-time performance.)

1. A high real-time magnetic resonance spectrometer system, comprising: the system comprises a scanning module, a sequence module, an image reconstruction module, a management exchange module and an execution module;

the scanning module is respectively connected with the sequence module and the image reconstruction module; the scanning module is used for generating a scanning sequence based on input data and sending the scanning sequence to the sequence module;

the sequence module and the image reconstruction module are respectively connected with the management exchange module through a communication card unit; the sequence module is used for compiling the scanning sequence into a hardware parameter sequence and sending the hardware parameter sequence to the management exchange module;

the management switching module is used for sending the hardware parameter sequence to the execution module through a high-speed data interface based on the data type of the hardware parameter sequence;

the execution module is used for generating corresponding waveforms based on the hardware parameter sequence, converting the waveforms into digital magnetic resonance data and sending the digital magnetic resonance data to the management exchange module;

the management exchange module is also used for sending the digital magnetic resonance data to the image reconstruction module;

the image reconstruction module is used for reconstructing an image based on the digital magnetic resonance data sent by the management exchange module and sending the reconstructed image to the scanning module for presentation.

2. The high real-time magnetic resonance spectrometer system according to claim 1, characterized in that the system further comprises: the gate control module is connected with the management switching module through a low-speed data interface;

the gating module is used for generating gating data and sending the gating data to the sequence module through the management exchange module so that the sequence module sends the hardware parameter sequence based on the gating data.

3. The high real-time magnetic resonance spectrometer system according to claim 1, wherein the management switching module comprises: the system comprises a first programmable gate array FPGA module, a first low-speed interface and a plurality of first high-speed interfaces;

the first FPGA module includes: the system comprises a first management unit, a data exchange unit, a second low-speed interface, a plurality of second high-speed interfaces and a plurality of first data multiplexing units connected with the plurality of high-speed interfaces;

the first low-speed interfaces are connected with the second low-speed interfaces, and a plurality of first high-speed interfaces are respectively connected with a plurality of second high-speed interfaces;

the data exchange unit is used for exchanging the service data from different interfaces to the appointed interface according to different types of the service data; the first management unit is used for generating a management signal; the first data multiplexing unit is used for multiplexing the data from the first management unit and the data switching unit to one channel, and the data given to the first management unit has the highest priority.

4. The high real-time magnetic resonance spectrometer system according to claim 1, wherein the execution module comprises: the device comprises a radio frequency transmitting unit, a radio frequency receiving unit and a gradient waveform generating unit;

the radio frequency transmitting unit is used for generating a magnetic resonance radio frequency excitation waveform based on the hardware parameter sequence; the gradient waveform generation unit is used for generating gradient waveforms based on the hardware parameter sequence; the radio frequency receiving unit is used for receiving magnetic resonance signals based on the hardware parameter sequence, converting the magnetic resonance signals into digital magnetic resonance data and sending the digital magnetic resonance data to the management exchange module.

5. The high real-time magnetic resonance spectrometer system according to claim 3, wherein the structure of the execution module comprises: the third high-speed interface, the second FPGA module, the analog circuit and the clock circuit; the analog circuit and the clock circuit are respectively connected with the second FPGA module;

the second FPGA module includes: the system comprises a fourth high-speed interface, a second data multiplexing unit, a second management unit, a first memory, an information acquisition unit and an execution logic unit;

two ends of the fourth high-speed interface are respectively connected with the third high-speed interface and the second data multiplexing unit; the second data multiplexing unit is respectively connected with the second management unit and the first memory; the second management unit is respectively connected with the information acquisition unit and the execution logic unit; the execution logic is also coupled to the first memory.

6. The high real-time magnetic resonance spectrometer system according to claim 3, characterized in that the communication card unit comprises: the communication card FPGA is respectively connected with the fifth high-speed interface and a designated pin of the PCIE controller;

the communication card FPGA comprises: the first high-speed interface, the first data multiplexing unit, the first management unit, the first memory and the PCIE controller are connected;

two ends of the sixth high-speed interface are respectively connected with the fifth high-speed interface and the third data multiplexing unit; the third data multiplexing unit is respectively connected with the third management unit and the second memory; the PCIE controller is connected with the third management unit and the second memory respectively.

7. A management method of a high-real-time magnetic resonance spectrometer system, which is applied to the high-real-time magnetic resonance spectrometer system of any one of claims 1 to 6, and is characterized in that the method comprises the following steps:

the radio frequency transmitting unit receives the hardware parameter sequence sent by the sequence module and then sends a transmitting application to the management switching module;

after receiving the transmission application, the management switching module sends a coil detuning instruction to a radio frequency receiving unit;

the radio frequency receiving unit controls the detuning of the corresponding coil based on the detuning instruction of the coil and sends a detuning message to the management switching module;

after receiving the detuning information of all the radio frequency receiving units, the management switching module sends a transmitting permission instruction to the radio frequency transmitting unit;

the radio frequency transmitting unit transmits a radio frequency excitation waveform based on the transmission permission instruction and sends a transmission completion message to the management switching module;

and the management switching module receives the transmission completion message and sends a receiving start instruction to the radio frequency receiving unit so as to complete scanning of a sequence.

8. The method for managing a high-real-time magnetic resonance spectrometer system according to claim 7, further comprising:

after the magnetic resonance spectrometer system is electrified and enters a ready state, a hardware monitoring unit checks hardware of the magnetic resonance spectrometer system;

when the hardware checking result is normal, the management switching module receives the operation permission message and enters an operation permission state;

when the magnetic resonance spectrometer system has errors in operation, the management switching module receives error information and enters an error state, and the management switching module enters a ready state again until error checking is finished.

9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program operable on the processor, and wherein the processor implements the steps of the method of any of claims 7 to 8 when executing the computer program.

10. A computer readable storage medium having stored thereon machine executable instructions which, when invoked and executed by a processor, cause the processor to execute the method of any of claims 7 to 8.

Technical Field

The invention relates to the technical field of magnetic resonance, in particular to a high-real-time magnetic resonance spectrometer system and a management method.

Background

The Magnetic Resonance Imaging (MRI) technique is a method of generating a magnetic resonance signal by excitation of a sample by a radio frequency system and a gradient system using a constant magnetic field generated by a magnet, and then acquiring and reconstructing the signal by a receiving acquisition system to obtain an image of the sample. The magnetic resonance spectrometer is a core component of a magnetic resonance imaging system and is mainly responsible for generating corresponding radio frequency waveforms and gradient waveforms according to input of a user, acquiring magnetic resonance signals, reconstructing images according to the magnetic resonance signals and then presenting the images to the user.

A more typical magnetic resonance spectrometer generally comprises: the system comprises a scanning computer, an image reconstruction computer, a sequence computer, a control computer, a radio frequency transmitter, a radio frequency receiver, a gradient waveform generation unit and other functional structures, wherein control software running on the control computer is used for controlling the working state of each functional structure uniformly and coordinating the work of the functional structures. Therefore, the requirement of the magnetic resonance spectrometer system on a control computer is high, and a high-performance and high-stability industrial computer is generally required. The stability of the whole magnetic resonance spectrometer system is influenced due to the stability problem of the computer operating system; and due to the limitation of software control response speed, the system also has the problems that the response speed of false reporting to the component parts is generally low, and the time for coordinating the radio frequency receiving unit and the radio frequency transmitting unit is long.

That is, the existing magnetic resonance spectrometer has the problems of high cost, poor stability and low real-time performance.

Disclosure of Invention

In view of the above, the present invention provides a high-real-time magnetic resonance spectrometer system and a management method thereof, so as to alleviate the problems of high cost, poor stability and low real-time performance.

In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:

in a first aspect, an embodiment of the present invention provides a high-real-time magnetic resonance spectrometer system, including: the system comprises a scanning module, a sequence module, an image reconstruction module, a management exchange module and an execution module; the scanning module is respectively connected with the sequence module and the image reconstruction module; the scanning module is used for generating a scanning sequence based on input data and sending the scanning sequence to the sequence module; the sequence module and the image reconstruction module are respectively connected with the management exchange module through a communication card unit; the sequence module is used for compiling the scanning sequence into a hardware parameter sequence and sending the hardware parameter sequence to the management exchange module; the management switching module is used for sending the hardware parameter sequence to the execution module through a high-speed data interface based on the data type of the hardware parameter sequence; the execution module is used for generating corresponding waveforms based on the hardware parameter sequence, converting the waveforms into digital magnetic resonance data and sending the digital magnetic resonance data to the management exchange module; the management switching module is further configured to send the digital magnetic resonance data to the image reconstruction module; the image reconstruction module is used for reconstructing an image based on the digital magnetic resonance data sent by the management exchange module and sending the reconstructed image to the scanning module for presentation.

In some possible embodiments, the system further includes: the gate control module is connected with the management switching module through a low-speed data interface; the gate control module is used for generating gate control data and sending the gate control data to the sequence module through the management exchange module so that the sequence module sends the hardware parameter sequence based on the gate control data.

In some possible embodiments, the management switching module includes: the system comprises a first programmable gate array FPGA module, a first low-speed interface and a plurality of first high-speed interfaces; the first FPGA module includes: the system comprises a first management unit, a data exchange unit, a second low-speed interface, a plurality of second high-speed interfaces and a plurality of first data multiplexing units connected with the high-speed interfaces; the first low-speed interface is connected with the second low-speed interface, and a plurality of the first high-speed interfaces are respectively connected with a plurality of the second high-speed interfaces; the data exchange unit is used for exchanging the service data from different interfaces to the appointed interface according to different types of the service data; the first management unit is used for generating a management signal; the first data multiplexing unit is configured to multiplex data from the first management unit and the data switching unit into one channel, and the data given to the first management unit has the highest priority.

In some possible embodiments, the execution module includes: the device comprises a radio frequency transmitting unit, a radio frequency receiving unit and a gradient waveform generating unit; the radio frequency transmitting unit is used for generating a magnetic resonance radio frequency excitation waveform based on the hardware parameter sequence; the gradient waveform generating unit is used for generating a gradient waveform based on the hardware parameter sequence; the radio frequency receiving unit is configured to receive a magnetic resonance signal based on the hardware parameter sequence, convert the magnetic resonance signal into the digital magnetic resonance data, and send the digital magnetic resonance data to the management switching module.

In some possible embodiments, the structure of the execution module includes: the third high-speed interface, the second FPGA module, the analog circuit and the clock circuit; the analog circuit and the clock circuit are respectively connected with the second FPGA module; the second FPGA module includes: the system comprises a fourth high-speed interface, a second data multiplexing unit, a second management unit, a first memory, an information acquisition unit and an execution logic unit; both ends of the fourth high-speed interface are respectively connected with the third high-speed interface and the second data multiplexing unit; the second data multiplexing unit is connected to the second management unit and the first memory, respectively; the second management unit is respectively connected with the information acquisition unit and the execution logic unit; the execution logic unit is also connected with the first memory.

In some possible embodiments, the communication card unit includes: the communication card FPGA is respectively connected with the fifth high-speed interface and a designated pin of the PCIE controller; the communication card FPGA includes: the first high-speed interface, the first data multiplexing unit, the first management unit, the first memory and the PCIE controller are connected; both ends of the sixth high-speed interface are respectively connected with the fifth high-speed interface and the third data multiplexing unit; the third data multiplexing unit is connected to the third management unit and the second memory, respectively; the PCIE controller is connected to the third management unit and the second memory, respectively.

In a second aspect, an embodiment of the present invention provides a method for managing a high-real-time magnetic resonance spectrometer system, where the method is applied to the high-real-time magnetic resonance spectrometer system in any one of the above-mentioned embodiments, and the method includes: the radio frequency transmitting unit receives the hardware parameter sequence sent by the sequence module and then sends a transmitting application to the management switching module; after receiving the transmission application, the management switching module sends a coil detuning instruction to a radio frequency receiving unit; the radio frequency receiving unit controls the detuning of the corresponding coil based on the detuning instruction of the coil and sends a detuning message to the management switching module; after receiving the detuning information of all the radio frequency receiving units, the management switching module sends a transmitting permission instruction to the radio frequency transmitting unit; the radio frequency transmitting unit transmits a radio frequency excitation waveform based on the transmission permission instruction and sends a transmission completion message to the management switching module; the management switching unit receives the transmission completion message and sends a reception start instruction to the radio frequency receiving unit, thereby completing scanning of a sequence.

In some possible embodiments, the method further comprises: after the system is powered on and enters a ready state, the hardware monitoring unit checks the hardware of the system; when the hardware checking result is normal, the management switching module receives the operation permission message and enters an operation permission state; when the system has errors in operation, the management switching module receives the error information and enters an error state, and the management switching module enters a ready state again until the error checking is finished.

In a third aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, where the memory stores a computer program operable on the processor, and the processor implements the steps of the method according to any one of the first aspect when executing the computer program.

In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium storing machine executable instructions that, when invoked and executed by a processor, cause the processor to perform the method of any of the first aspects.

The invention provides a high real-time magnetic resonance spectrometer system and a management method, wherein the system comprises: the scanning module is respectively connected with the sequence module and the image reconstruction module and is used for generating a scanning sequence and sending the scanning sequence to the sequence module; the sequence module and the image reconstruction module are respectively connected with the management exchange module through the communication card unit and are used for compiling the scanning sequence into a hardware parameter sequence and sending the hardware parameter sequence to the management exchange module; the management switching module is used for sending the hardware parameter sequence to the execution module based on the data type of the hardware parameter sequence; the execution module is used for generating corresponding waveforms, converting the waveforms into digital magnetic resonance data, and finally performing image reconstruction by the image reconstruction module and displaying the digital magnetic resonance data by the scanning module. The system solves the problems of high cost, poor stability and low real-time performance of the existing magnetic resonance spectrometer, and achieves the technical effects of improving the response speed of the system and enhancing the real-time performance.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.

FIG. 1 is a schematic diagram of a conventional magnetic resonance spectrometer system according to an embodiment of the present invention;

FIG. 2 is a schematic diagram of a high real-time magnetic resonance spectrometer system according to an embodiment of the present invention;

fig. 3 is a schematic structural diagram of a management switch module according to an embodiment of the present invention;

FIG. 4 is a schematic diagram of an alternative high-real-time magnetic resonance spectrometer system according to an embodiment of the present invention;

fig. 5 is a schematic structural diagram of an execution module according to an embodiment of the present invention;

fig. 6 is a schematic structural diagram of a communication card unit according to an embodiment of the present invention;

FIG. 7 is a schematic flow chart illustrating a method for managing a high-real-time magnetic resonance spectrometer system according to an embodiment of the present invention;

FIG. 8 is a state-synchronized state transition diagram of a high real-time magnetic resonance spectrometer system according to an embodiment of the present invention;

fig. 9 is an interaction process of a radio frequency receiver and a radio frequency transmitter according to an embodiment of the present invention;

fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.

Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.

Magnetic Resonance Imaging (MRI) is a method that uses a constant Magnetic field generated by a magnet to generate a Magnetic Resonance signal through excitation of a sample by a radio frequency system and a gradient system, and then acquires and reconstructs the signal by a receiving and acquiring system, thereby obtaining an image of the sample. The magnetic resonance spectrometer is a core component of a magnetic resonance imaging system and is mainly responsible for generating corresponding radio frequency waveforms and gradient waveforms according to input of a user, acquiring magnetic resonance signals, reconstructing images according to the magnetic resonance signals and then presenting the images to the user.

FIG. 1 shows a schematic diagram of a prior art magnetic resonance spectrometer system architecture, which includes: the system comprises a scanning computer, an image reconstruction computer, a sequence computer, a control computer, a radio frequency transmitting unit, a radio frequency receiving unit, a gradient waveform generating unit, a monitoring and gating unit and other functional structures, and control software running on the control computer is used for controlling the working state of each functional structure and coordinating the work of the functional structures. Therefore, the requirement of the magnetic resonance spectrometer system on a control computer is high, and a high-performance and high-stability industrial computer is generally required. The stability of the whole magnetic resonance spectrometer system is influenced due to the stability problem of the computer operating system; and due to the limitation of software control response speed, the system also has the problems that the response speed of false reporting to the component parts is generally low, and the time for coordinating the radio frequency receiving unit and the radio frequency transmitting unit is long. That is, the existing magnetic resonance spectrometer has the problems of high cost, poor stability and low real-time performance.

In view of the above, embodiments of the present invention provide a high real-time magnetic resonance spectrometer system and a management method to alleviate the above problems. To facilitate understanding of the present embodiment, first, a high real-time magnetic resonance spectrometer system disclosed in the embodiment of the present invention is described in detail, referring to a schematic structural diagram of a high real-time magnetic resonance spectrometer system shown in fig. 2, where the system mainly includes the following structures: a scan module 110, a sequence module 120, an image reconstruction module 130, a management exchange module 140, and an execution module 150.

The scanning module 110 is respectively connected with the sequence module 120 and the image reconstruction module 130; the sequence module 120 and the image reconstruction module 130 are respectively connected with the management switching module 140 through a communication card unit.

Wherein, the scanning module, the sequence module and the image reconstruction module can be three independent computers, namely: a scanning computer, a sequence computer and an image reconstruction computer. Furthermore, the image reconstruction computer and the scanning computer may be the same computer, i.e., one computer integrates both image reconstruction and scanning functions. As a specific example, the scanning computer may be connected to the sequence computer and the image reconstruction computer through an ethernet or other high speed interface.

The scan module 110 is configured to generate a scan sequence based on the input data and send the scan sequence to the sequence module 120; the sequence module 120 is configured to compile a scan sequence into a hardware parameter sequence and send the hardware parameter sequence to the management switching module 140; the management switching module 140 is configured to send the hardware parameter sequence to the execution module 150 through the high-speed data interface based on the data type of the hardware parameter sequence;

the execution module 150 is configured to generate a corresponding waveform based on the hardware parameter sequence, convert the waveform into digital magnetic resonance data, and send the digital magnetic resonance data to the management switching module 140; the management switching module 140 is further configured to send the digital magnetic resonance data to the image reconstruction module 130;

the image reconstruction module 130 is configured to perform image reconstruction based on the digital magnetic resonance data sent by the management switching module 140, and send a reconstructed image to the scanning module 110 for presentation.

In addition, in an embodiment, the high real-time magnetic resonance spectrometer system may further include: and the gating module 160, wherein the gating module 160 is connected with the management switching module 140 through a low-speed data interface.

The gating module 160 is configured to generate gating data and send the gating data to the sequence module 120 via the management switch module 140, so that the sequence module 120 sends a sequence of hardware parameters based on the gating data.

As a specific example, referring to a schematic structural diagram of a management switching module shown in fig. 3, the management switching module 140 may include: a first FPGA module 210, a first low-speed interface 220, and a number of first high-speed interfaces 230.

The first FPGA module may include 210: a first management unit 211, a data exchange unit 212, a second low-speed interface 213, a plurality of second high-speed interfaces 214, and a plurality of first data multiplexing units 215 connected to the plurality of high-speed interfaces.

The first low-speed interface 220 is connected to the second low-speed interface 213, and the plurality of first high-speed interfaces 230 are connected to the plurality of second high-speed interfaces 214, respectively.

The data switching unit 212 is configured to switch the service data from different interfaces to a designated interface according to different categories of the service data; the first management unit 211 is used for generating a management signal; the first data multiplexing unit 215 is used to multiplex data from the first management unit 211 and the data switching unit 212 into one channel, and the data given to the first management unit 211 has the highest priority.

In one embodiment, the executing module may include: a radio frequency transmitting unit 151, a radio frequency receiving unit 152, and a gradient waveform generating unit 153, which are respectively connected to the management switching module 140, and generate corresponding waveforms based on the hardware parameter sequence, convert the waveforms into digital magnetic resonance data, and send the digital magnetic resonance data to the management switching module 140 (see the schematic structural diagram of another high-real-time magnetic resonance spectrometer system shown in fig. 4).

Wherein the radio frequency transmitting unit 151 is configured to generate a magnetic resonance radio frequency excitation waveform based on the hardware parameter sequence; the gradient waveform generation unit 153 is configured to generate gradient waveforms based on the hardware parameter sequence; the radio frequency receiving unit 152 is configured to receive the magnetic resonance signal based on the hardware parameter sequence, and further configured to convert the magnetic resonance signal into digital magnetic resonance data and send the digital magnetic resonance data to the management exchanging module 140.

In addition, the rf transmitting unit 151, the rf receiving unit 152 and the gradient waveform generating unit 153 all include a management unit, and a general structure thereof refers to a structural schematic diagram of an execution module shown in fig. 5. As a specific example, the structure of the execution module may include: a second FPGA module 310, an analog circuit 320, a clock generation circuit 330, and a third high-speed interface 340; the analog circuit 320 and the clock generation circuit 330 are respectively connected to the second FPGA module 310.

Wherein, the second FPGA module 310 includes: a fourth high-speed interface 311, a second data multiplexing unit 312, a second management unit 313, a first memory 314, an information acquisition unit 315, and an execution logic unit 316. The First memory may be a First-in-First-out (First Input First output) memory.

Both ends of the fourth high-speed interface 311 are connected to the third high-speed interface 340 and the second data multiplexing unit 312, respectively; the second data multiplexing unit is respectively connected with the second management unit and the first memory; the second management unit is respectively connected with the information acquisition unit and the execution logic unit; the execution logic unit is also coupled to the first memory.

The sequence module and the image reconstruction module are connected to the management switching module through a communication card unit, as a specific example, referring to a schematic structural diagram of a communication card unit shown in fig. 6, the communication card unit may include: the communication card FPGA (410) and the fifth high-speed interface 420, and the communication card FPGA (410) is respectively connected with the fifth high-speed interface 420 and the appointed pin of the PCIE controller.

The communication card FPGA410 includes: a sixth high-speed interface 411, a third data multiplexing unit 412, a third management unit 413, a second memory 414, and a PCIE controller 415.

Both ends of the sixth high-speed interface 411 are respectively connected with the fifth high-speed interface 420 and the third data multiplexing unit 412; the third data multiplexing unit 412 is connected to the third management unit 413 and the second memory 414, respectively; the PCIE controller 415 is connected to the third management unit 413 and the second memory 414, respectively.

As a specific example, the scanning module, the sequence module, and the image reconstruction module are all three separate computers, namely: a scanning computer, a sequence computer and an image reconstruction computer. The scanning process is that the scanning computer receives the input of the user to generate a scanning sequence and then sends the scanning sequence to the sequence computer; after receiving the scanning sequence, the sequence computer compiles the scanning sequence into a hardware parameter sequence and then sends the hardware parameter sequence to the management exchange module; the exchange unit in the management exchange module exchanges data to the execution units, namely the radio frequency receiving unit, the radio frequency transmitting unit and the gradient waveform generating unit according to the type of the data, after receiving the hardware parameter sequence, the execution part of the radio frequency transmitting unit generates a magnetic resonance radio frequency excitation waveform according to the hardware parameters, the execution part of the gradient waveform generating unit generates a gradient waveform according to the hardware parameters, the radio frequency receiving unit receives a magnetic resonance signal according to the hardware parameters and converts the magnetic resonance signal into digital magnetic resonance data, and the digital magnetic resonance data is sent to the management exchange module; the exchange unit of the management exchange module sends the data to the image reconstruction computer according to the type of the data; after the image reconstruction computer has completed reconstructing the image, the image data is sent to the scanning computer and the image is then presented on the user interface.

In addition, the gate control module generates gate control data and sends the gate control data to the management switching module, and the switching unit of the management switching module switches the gate control data to the sequence computer, so that the sequence computer can send the hardware parameter sequence according to the gate control signal.

The embodiment of the invention provides a high-real-time magnetic resonance spectrometer system, which comprises: the scanning module is respectively connected with the sequence module and the image reconstruction module and is used for generating a scanning sequence and sending the scanning sequence to the sequence module; the sequence module and the image reconstruction module are respectively connected with the management exchange module through the communication card unit and are used for compiling the scanning sequence into a hardware parameter sequence and sending the hardware parameter sequence to the management exchange module; the management switching module is used for sending the hardware parameter sequence to the execution module based on the data type of the hardware parameter sequence; the execution module is used for generating corresponding waveforms, converting the waveforms into digital magnetic resonance data, and finally performing image reconstruction by the image reconstruction module and displaying the digital magnetic resonance data by the scanning module. The system solves the problems of high cost, poor stability and low real-time performance of the existing magnetic resonance spectrometer, and achieves the technical effects of improving the response speed of the system and enhancing the real-time performance.

In addition, an embodiment of the present invention further discloses a method for managing a high-real-time magnetic resonance spectrometer system, which is shown in fig. 7, and is applied to the high-real-time magnetic resonance spectrometer system shown in any one of the above embodiments, and the method may be executed by an electronic device, and mainly includes the following steps S101 to S106:

s101: the radio frequency transmitting unit receives the hardware parameter sequence sent by the sequence module and then sends a transmitting application to the management switching module;

s102: after receiving the transmission application, the management switching module sends a coil detuning instruction to the radio frequency receiving unit;

s103: the radio frequency receiving unit controls the detuning of the corresponding coil based on the detuning instruction of the coil and sends a detuning message to the management switching module;

s104: after receiving the detuning information of all the radio frequency receiving units, the management switching module sends a transmitting permission instruction to the radio frequency transmitting unit;

s105: the radio frequency transmitting unit transmits a radio frequency excitation waveform based on the transmission permission instruction and sends a transmission completion message to the management switching module;

s106: the management switching unit receives the transmission completion message and sends a reception start instruction to the radio frequency receiving unit, thereby completing scanning of a sequence.

In one embodiment, the method may further include: after the system is powered on and enters a ready state, the hardware monitoring unit checks the hardware of the system; when the hardware checking result is normal, the management switching module receives the operation permission message and enters an operation permission state; when the system has errors in operation, the management switching module receives the error information and enters an error state, and the management switching module enters a ready state again until the error checking is finished.

As a specific example, the high real-time performance magnetic resonance spectrometer system provided by the above embodiments includes: scanning host computer, sequence host computer, image reconstruction computer, management and exchange unit. The scanning host, the sequence host, the image reconstruction computer and the management and exchange unit together execute the management of the spectrometer.

Wherein the scanning host performs false reports so that the user knows the state of the spectrometer. The management function of the sequence host comprises management with low requirement on quick response and the function of realizing information transfer (for example, sending error state and error information to the scanning host immediately); this function may also be performed by the image reconstruction computer.

The management and switching unit is responsible for the management with high requirements on quick response in the spectrometer system, and comprises the following steps: management of spectrometer status, error management, and synchronous management of radio frequency reception and radio frequency transmission.

The FPGA firmware module for managing and exchanging the unit mainly comprises an exchanging unit, a managing unit, a data multiplexing unit and the like, wherein the exchanging unit and the managing unit are respectively connected with the data multiplexing unit. The switching unit is used for switching the service data from different ports to the designated port according to different classes of the service data; the management unit is used for generating a management signal; the data multiplexing unit multiplexes data from the management unit and the data switching unit into one channel, and the data given to the management unit has the highest priority, avoiding the management data from being affected by the service data.

The management unit in the management and exchange unit is responsible for generating management messages, and the management units of other units including radio frequency receiving, radio frequency transmitting, gradient waveform generating and communication cards are responsible for receiving the management messages and transmitting the management messages to corresponding execution parts. The management function comprises a state synchronization function, an error reporting function, and a radio frequency receiver and transmitter synchronization.

The management unit in the management and switching unit manages other hardware components through a state synchronization function, and the management and switching unit broadcasts state information each time. Other components of the spectrometer, such as a radio frequency transmitting unit, a radio frequency receiving unit, a gradient waveform generating unit and the like, are switched to corresponding states after receiving the state information, so that the whole spectrometer can be synchronized to the same state, all the components can form an organic whole, the components of the spectrometer know the operation allowed under what state, and the operation must be stopped immediately under what state, so that the site is protected, and the diagnosis of an upper computer is facilitated.

The state synchronization function is realized by adopting a state machine, the state machine comprises three states of spectrometer readiness, spectrometer error and running state, and the state machines can be further expanded and optimized according to the specific realization requirements.

After the spectrometer system is powered on, the state machine is in the spectrometer ready state. After hardware inspection is completed by hardware monitoring software running on a sequence host or an image reconstruction computer, if the hardware configuration is complete and the hardware of each component is normal, a message allowing operation is sent to the management and exchange unit, and the management and exchange unit enters a spectrometer operation state.

In the spectrometer operating state, the user can scan, and when any part of the spectrometer has a problem, the management and switching unit enters the spectrometer error state. In this state, the user may receive an error prompt, and the user may read the error status register to obtain the cause of the error, and in the state where the spectrometer is in error, the spectrometer may be re-entered into the spectrometer ready state by resetting the spectrometer after the problem is eliminated, and the state process is as shown in fig. 8.

When any component unit or module of the spectrometer system has an error, the unit or module reports the error to the management and switching unit, the management and switching unit changes the current state into the spectrometer error state and broadcasts the state, and the running equipment, unit and module immediately stops running. For the sequence computer or the image reconstruction computer, the error state is reported to the sequence computer and the image reconstruction computer in an interruption mode, and then further reported to the scanning computer to inform the user.

The synchronous management function of the radio frequency receiving and the radio frequency transmitting can only operate in the spectrometer operation state, and the radio frequency transmitter and the radio frequency receiving can not simultaneously operate in order to protect the receiver. During the radio frequency transmission, the radio frequency receiver must be in a detuning state, and after the radio frequency transmission is finished, the radio frequency receiver must be tuned to start receiving the magnetic resonance signals, and the coordination of the receiver and the transmitter is completed by the management and exchange unit.

The interactive process is that the sequence computer sends a hardware parameter sequence to the radio frequency transmitter, and after a management unit of the radio frequency transmitter receives a scanning sequence, the management unit sends a message for transmitting an application to the management and exchange unit; after receiving the message, the management unit of the management and switching unit sends a command of detuning to the radio frequency receiver to all the receivers; a management unit of the radio frequency receiver receives a notification that a receiving coil of the receiver is detuned; after receiving the message that the receiving coil has been detuned, the management unit of the radio frequency receiver sends the message that the receiving coil has been detuned to the management and switching unit; after judging that each receiver reports the coil state, the management and switching unit informs the radio frequency transmitter to transmit, and the radio frequency transmitter can transmit a radio frequency excitation waveform; after the transmission of the radio frequency excitation waveform is finished, the management unit of the radio frequency transmitter sends a message that the transmission of the radio frequency is finished to the management and exchange unit; after receiving the message, the management and switching unit sends a start reception command to the rf receiver to complete a sequence of scans, as shown in fig. 9, and the message status may be further optimized for reliable reception of the message.

The embodiment of the application provides a high-real-time magnetic resonance spectrometer system, the components of the system are highly coupled, and the mode of managing spectrometer component parts by using hardware is used, so that the system has the advantages of higher response speed, higher stability, more convenience in debugging and higher safety. And a high-performance control computer can be saved, the cost of the magnetic resonance spectrometer is reduced, and the scattered layout of the components is facilitated. The management method of the high-real-time magnetic resonance spectrometer system coordinates the operation of the radio frequency receiving and transmitting unit in a hardware mode, and has higher speed and smaller time delay.

The embodiment of the application further provides an electronic device, and specifically, the electronic device comprises a processor and a storage device; the storage means has stored thereon a computer program which, when executed by the processor, performs the method of any of the above described embodiments.

Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device 500 includes: the device comprises a processor 50, a memory 51, a bus 52 and a communication interface 53, wherein the processor 50, the communication interface 53 and the memory 51 are connected through the bus 52; the processor 50 is arranged to execute executable modules, such as computer programs, stored in the memory 51.

The Memory 51 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 53 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.

The bus 52 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 10, but this does not indicate only one bus or one type of bus.

The memory 51 is used for storing a program, the processor 50 executes the program after receiving an execution instruction, and the method executed by the apparatus defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 50, or implemented by the processor 50.

The processor 50 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 50. The Processor 50 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 51, and the processor 50 reads the information in the memory 51 and completes the steps of the method in combination with the hardware thereof.

Corresponding to the method, the embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores machine executable instructions, and when the computer executable instructions are called and executed by a processor, the computer executable instructions cause the processor to execute the steps of the method.

In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.

The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.

It should be noted that: like reference numbers and letters refer to like items in the figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.

In the description of the present invention, it should be noted that the terms "upper", "lower", "inside", "outside", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings or orientations or positional relationships conventionally put in use of products of the present invention, and are only for convenience of description and simplification of description, but do not indicate or imply that the devices or elements referred to must have specific orientations, be constructed in specific orientations, and be operated, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.

The terms "disposed," "mounted," "connected," and "connected" are to be construed broadly and may, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.

Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:干扰消除方法、介质及电子设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!