A method of improving magnetic resonance imaging pulse sequencer output speed
Technical field
The present invention relates to mr imaging technique fields, and in particular to a kind of raising magnetic resonance imaging pulse sequencer
The method of output speed.
Background technique
In magnetic resonance imaging spectrometer, pulse-series generator is one of core component, for generating magnetic resonance imaging institute
The pulse train needed, other units (including transmitter, receiver and gradient waveform generator etc.) controlled in spectrometer cooperate with work
Make.
With the development of mr imaging technique, the pulse train in practical application becomes increasingly complex.Therefore, once at
In the overall process of picture, the timing information amount for needing pulse-series generator to handle is increasing.Using the prior art (CN
1361419;ZL 031505910) design pulse-series generator data storage capacity expand and data transmission bauds promoted
Etc. encounter bottleneck.For a part of imaging method, when Polaroid overall process can be divided into multiple recoveries
Between TR, therefore can use the waiting time D in TR0, when transmitting pulse needed for next TR to pulse-series generator
Sequence information.However, in short TR imaging method (such as T1 weighted imaging), due to D0Very short (even 0), therefore have little time to pass
Pulse sequence information needed for defeated next TR.And in other imaging methods, all data acquisitions are complete in a TR
At.When carrying out magnetic resonance imaging using these methods, needing will the required whole pulse sequence of imaging before sweep start
Information write pulse sequencer.For the imaging method (such as three-dimensional blood vessel imaging) of some complexity, needed for Polaroid
Whole pulse sequence information content it is very big.According to above scheme, the memory capacity of pulse-series generator is difficult to support so
A large amount of information.Even if memory capacity can be supported, transmission mass data also results in sweep start variable length delay.Blood vessel at
It needs in the practical applications such as picture using contrast agent, and the reinforcing effect that sweep start variable length delay will lead to contrast agent is deteriorated, shadow
Ring the contrast of magnetic resonance image.
In view of the above-mentioned problems, the prior art (ZL 2012101720320) proposes a kind of pair of magnetic resonance imaging pulse timing
Information carries out compression and decoded method.This method is divided pulse sequence information according to shared information and non-common information
Section, then coding is indexed to each segment information respectively, to alleviate pulse-series generator in data storage capacity and data
The pressure of transmission speed etc..However, the output speed that decoding process will lead to pulse-series generator in the technology occurs
A degree of decline (i.e. minimum pulse width becomes larger).For conventional imaging sequence, due to the output of pulse-series generator
Rate is much larger than the demand of actual scanning, therefore is unaffected.But a small number of imaging sequences use the radio frequency of envelope complexity
Pulse or broadband excitation pulse, scanning process has very high requirement to the output speed of pulse-series generator, existing at this time
Decoding process in technology cannot be met the requirements.
Summary of the invention
The purpose of the present invention is provide a kind of raising magnetic resonance imaging pulse sequence generation in view of the deficiencies of the prior art
The method of device output speed.This method is indexed coding, and recording indexes code institute to pulse sequence information by spectrometer computer
The length of corresponding informance;Information corresponding to the length of information corresponding to index code, index code, index code is respectively written into pulse
In the memory of sequencer;After starting scanning, circuit pre-decode is carried out by pulse-series generator and obtains pulse sequence information,
And update output.
The object of the present invention is achieved like this:
1) on spectrometer computer, coding is indexed to Polaroid required whole pulse sequence information, and record
The length of information corresponding to each index code.
2) information corresponding to the length of information corresponding to index code, index code, index code is respectively written into pulse train
In the memory of generator.
3) after pulse-series generator resets, circuit pre-decode, the first segment arteries and veins that will be obtained are carried out to first index code
Timing information deposit double port buffers are rushed, " starting scanning " signal from spectrometer computer is then waited.
4) after starting scanning, pulse-series generator is successively read each group of data in double port buffers, for more
New output;At the same time, pulse-series generator carries out circuit pre-decode to next index code, when the next section of pulse that will be obtained
Sequence information is stored in double port buffers.
5) step 4) is repeated, until pulse-series generator reads pulse sequence end mark from memory, or
Person's pulse-series generator receives " stopping scanning " signal from spectrometer computer.
" being indexed coding to Polaroid required whole pulse sequence information " of the present invention, refers to " to adopt
Pulse sequence information needed for integrating a line K space data " as unit, to " Polaroid required whole pulse sequence information " into
Row divides and index coding.
It is of the present invention " to write information corresponding to the length of information corresponding to index code, index code, index code respectively
Enter in the memory of pulse-series generator ", refer to and memory is divided into two pieces, one piece for storing index code and its corresponding informance
Length, another piece for storing information corresponding to index code;Or refer to and memory is divided into two pieces, one piece for storing
Index code, another piece for storing information corresponding to index code and its length.
" circuit pre-decode " of the present invention refers to and reads next index code and its corresponding informance in advance from memory
Length determines the initial address of its corresponding informance according to the index code, is then burst with the length of index code corresponding informance
Length is read the corresponding information of the index code from memory by the way of burst access, and is written in double port buffers.
" circuit pre-decode " of the present invention can also refer to read next index code in advance from memory, according to this
Index code determines the initial address of its corresponding information and its length, then reads the length of index code corresponding informance, then with
The length is burst-length, reads the corresponding information of index code from memory by the way of burst access, and be written to both-end
Mouth buffer.
It is of the present invention that " pulse-series generator is successively read each group of data in double port buffers, for updating
Export " and " pulse-series generator carries out circuit pre-decode to next index code, and next section of obtained pulse sequence information is write
Enter double port buffers " two processes, it is parallel to execute.
The beneficial effects of the present invention are: having recorded index code institute during being indexed coding to pulse sequence information
The length of corresponding informance, therefore batch may be implemented and read the corresponding pulse sequence information of index code, i.e., using burst access
Mode is decoded, and improves the output speed of pulse-series generator;It is cached by the way of reading in advance with dual-port
Device execute circuit pre-decode can parallel with output is updated, further improve the output speed of pulse-series generator.
Detailed description of the invention
Fig. 1 is flow chart of the present invention;
Fig. 2 is the flow chart of circuit pre-decode described in the embodiment of the present invention 1;
Fig. 3 is the flow chart of circuit pre-decode described in the embodiment of the present invention 2.
Specific embodiment
Feature of present invention and other correlated characteristics are further elaborated below in conjunction with drawings and examples.
Embodiment 1
Refering to fig. 1, " a kind of side for improving magnetic resonance imaging pulse sequencer output speed described in the present embodiment
Method " the following steps are included:
1) on spectrometer computer, coding is indexed to Polaroid required whole pulse sequence information, and record
The length of information corresponding to each index code.
2) information write pulse sequence corresponding to the length of information corresponding to index code, index code, index code is occurred
In the memory of device.
3) after pulse-series generator resets, circuit pre-decode, the first segment arteries and veins that will be obtained are carried out to first index code
Timing information deposit double port buffers are rushed, " starting scanning " signal from spectrometer computer is then waited.
4) after starting scanning, pulse-series generator is successively read each group of data in double port buffers, for more
New output;At the same time, pulse-series generator carries out circuit pre-decode to next index code, when the next section of pulse that will be obtained
Sequence information is stored in double port buffers.
5) step 4) is repeated, until pulse-series generator reads pulse sequence end mark from memory, or
Person's pulse-series generator receives " stopping scanning " signal from spectrometer computer.
" coding is indexed to Polaroid required whole pulse sequence information " described in the present embodiment, refer to
" pulse sequence information needed for acquisition a line K space data " is unit, to " Polaroid required whole pulse sequences are believed
Breath " is divided and is indexed coding.
" by information corresponding to the length of information corresponding to index code, index code, index code described in the present embodiment
In the memory of write pulse sequencer ", refer to and memory is divided into two pieces, one piece for storing index code
C1C2…CNAnd its length L of corresponding information1L2…LN, another piece is used to store information corresponding to index code,
Wherein, D indicates that the output state of pulse-series generator, E indicate the retention time of the state.Concrete form is as follows:
Referring to Fig.2, " circuit pre-decode " described in the present embodiment, refer to read in advance from memory next index code and its
The length of corresponding informance determines the initial address of its corresponding informance according to the index code, with the length of index code corresponding informance
For burst-length, the corresponding information of the index code is read from memory by the way of burst access, and it is slow to be written to dual-port
In storage.
" pulse-series generator is successively read each group of data in double port buffers, for more described in the present embodiment
It is new to export " and " pulse-series generator carries out circuit pre-decode, the next section of pulse sequence information that will be obtained to next index code
Two processes of write-in double port buffers ", it is parallel to execute.
Embodiment 2
Refering to fig. 1, " a kind of side for improving magnetic resonance imaging pulse sequencer output speed described in the present embodiment
Method " the following steps are included:
1) on spectrometer computer, coding is indexed to Polaroid required whole pulse sequence information, and record
The length of information corresponding to each index code.
2) information write pulse sequence corresponding to the length of information corresponding to index code, index code, index code is occurred
In the memory of device.
3) after pulse-series generator resets, circuit pre-decode, the first segment arteries and veins that will be obtained are carried out to first index code
Timing information deposit double port buffers are rushed, " starting scanning " signal from spectrometer computer is then waited.
4) after starting scanning, pulse-series generator is successively read each group of data in double port buffers, for more
New output;At the same time, pulse-series generator carries out circuit pre-decode to next index code, when the next section of pulse that will be obtained
Sequence information is stored in double port buffers.
5) step 4) is repeated, until pulse-series generator reads pulse sequence end mark from memory, or
Person's pulse-series generator receives " stopping scanning " signal from spectrometer computer.
" coding is indexed to Polaroid required whole pulse sequence information " described in the present embodiment, refer to
" pulse sequence information needed for acquisition a line K space data " is unit, to " Polaroid required whole pulse sequences are believed
Breath " is divided and is indexed coding.
It is " length of information corresponding to index code, index code, index code institute is right described in the present embodiment
In the memory for the information write pulse sequencer answered ", refer to and memory is divided into two pieces,
One piece for storing index code C1C2…CN, another piece for storing information corresponding to index codeAnd
Its length L1L2…LN.Wherein, D indicates that the output state of pulse-series generator, E indicate the retention time of the state.Specific shape
Formula is as follows:
Refering to Fig. 3, described in the present embodiment " circuit pre-decode ", refers to and read next index code, root in advance from memory
The initial address of its corresponding information and its length is determined according to the index code, then reads the length of index code corresponding informance,
Again using the length as burst-length, the corresponding information of index code is read from memory by the way of burst access, and be written to
Double port buffers.
" pulse-series generator is successively read each group of data in double port buffers, for more described in the present embodiment
It is new to export " and " pulse-series generator carries out circuit pre-decode, the next section of pulse sequence information that will be obtained to next index code
Two processes of write-in double port buffers ", it is parallel to execute.