CN1284002C - Nuclear magnetic resonance pulse sequency generator - Google Patents
Nuclear magnetic resonance pulse sequency generator Download PDFInfo
- Publication number
- CN1284002C CN1284002C CN 03150591 CN03150591A CN1284002C CN 1284002 C CN1284002 C CN 1284002C CN 03150591 CN03150591 CN 03150591 CN 03150591 A CN03150591 A CN 03150591A CN 1284002 C CN1284002 C CN 1284002C
- Authority
- CN
- China
- Prior art keywords
- magnetic resonance
- nuclear magnetic
- pulse sequence
- fpga
- present
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Magnetic Resonance Imaging Apparatus (AREA)
Abstract
The present invention relates to a nuclear magnetic resonance spectrometer and a magnetic resonance imaging instrument, more specifically a nuclear magnetic resonance pulse sequence generator which is mainly composed of a field programmable gate array FPGA, a large capacity static memory (SRAM) and a PCI-CAN interface chip. The present invention has the advantages of simple structure, realization of controlling the output of a pulse sequence by means of the single chip FPGA, improvement of integrity and reliability, simplification of system design, reduction of production cost, convenient operation, high universality, high data transmission speed, small volume, etc. When the present invention is plugged, the present invention can be used. In addition, the present invention can be widely applied to various nuclear magnetic resonance devices and magnetic resonance imaging instruments.
Description
Technical field
The present invention relates to nuclear magnetic resonance spectrometer and magnetic resonance imager class, relate to a kind of nuclear magnetic resonance pulse sequence generator concretely.
Background technology
In nuclear magnetic resonance spectrometer, pulse-series generator is used to produce the required pulse train of nuclear magnetic resonance experiment as one of core component of spectrometer, and its function mainly is to control the co-ordination of parts such as receiver in the spectrometer system, transmitter and radio frequency source in real time.At present, the nuclear magnetic resonance pulse sequence generator mainly is to be realized by multimicroprocessor and traditional discrete digital logical circuit.Still there is following problem in these systems: 1, use the multimode multiple microprocessor structure, system complex and lack dirigibility.2, use traditional discrete digital logical circuit, function is single relatively.3, realize the timing controlled of pulse train by timer in software interruption or the inquiry microprocessor, timing is more coarse, temporal resolution is lower.4, adopt some special purpose interface or poor-performing interface as RS232 serial port etc.,, lack real-time though interface is simple.Although in application number 00128171.2 in the technology of disclosed a kind of nuclear magnetic resonance pulse programming controller, also used programmable logic controller (PLC) spare, only as the converter of bus interface, but the core of pulse-series generator still is the host-guest architecture of multimicroprocessor to its purposes.
Summary of the invention
The objective of the invention is according to above-mentioned the deficiencies in the prior art part, have high-performance for modern nuclear magnetic resonance spectrometer and NMR imaging instrument provide, a low cost, nuclear magnetic resonance pulse sequence generator that versatility is good, easy to use.
The realization of the object of the invention is finished by following technical scheme:
The present invention mainly forms (as Fig. 1) by on-site programmable gate array FPGA (Field Programmable Gate Array), high capacity static memory (SRAM) and PCI (Peripheral Component Interconnect) interface chip.
In nuclear magnetic resonance pulse sequence, the variation each time of any execution unit duty of spectrometer, sampling starts, opens or closes radio frequency gate etc. as receiver, we think the change of an incident, simultaneously, the time interval between the adjacent events then is the time that previous incident continues, and the change of these parts duties can add that corresponding time-delay controls by the set of number level.Fig. 2 has provided 90 degree monopulse nuclear magnetic resonance pulse sequences with two-way output, FC0 is radio-frequency transmissions (RF) passage, the control radio-frequency (RF) switch produces excitation pulse, T1 is a pulse width, and FC1 is for triggering sampling channel, and the T3 time begins to trigger sampling, the finish time, sampling was finished, at initial time T0, the output of each passage is low level, and T2 is the dead time of spectrometer system receiving cable.Thus, we can obtain the relation table (as Fig. 3) of time and incident.
Definite kernel magnetic resonance pulse sequence at first in use, convert thereof into the relation table of Time And Event and deposit static memory on the plate in by the software on the main frame, like this, we can be by the logic state machine of FPGA inside, in each finish time time, export next incident successively.
We have adopted FPGA to realize the logic function (as Fig. 4) of pulse-series generator in the present invention.Wherein inner main functional modules comprises: address decoder, address counter, address selector, data selector, finite state machine, timer, output register and control register.The generation of whole pulse train is realized by the finite state machine of FPGA inside that mainly at first, main frame is determining that good nuclear magnetic resonance pulse sequence is converted into incident and time relationship table, by pci bus, sends in the static memory of pulse-series generator; The function of code translator is that static memory and control register are carried out address assignment, so that host service function; Come the initialization pulse sequencer by the control register that FPGA inside is set then, the state machine of FPGA inside reads in digital level value and the corresponding delay value of waiting to export particular event in advance by address selector and data selector; When main frame sent startup command, FPGA started inner timer; When timer overflows, incident value to be exported is write output register, address counter increases progressively one simultaneously, chooses the internal storage location of next resting period and incident; When the incident value of reading in advance was specific end mark, state machine jumped to reset mode from normal burst sequence output services state, the control register by FPGA inside is set or by interrupting notice main frame (as Fig. 5).Because the topworks of this pulse-series generator is all finished by hardware, between execution pulse train period of output, do not need the intervention of main frame at whole pulse-series generator, and do not have extra timing error, realized the pulse output of higher time precision.
Pci bridge chip is as the express passway of main frame and pulse-series generator transmission data.It for this reason device easy, quick, general calculation machine interface is provided.Static memory on the plate is mainly used to deposit pulse train incident and the time corresponding value that is passed down by main frame.
The present invention has following advantage: total system mainly is made of FPGA, pci interface chip and three core devices of internal memory, and structure is very simple, has very high cost performance simultaneously.
1, compare with multimode, multi-processor structure that traditional pulse-series generator adopts, this device has only used the output of monolithic FPGA gating pulse sequence, has improved integrated level and reliability, has simplified system design, has reduced production cost simultaneously.
2, native system has adopted pci bus as interface, can be connected with present main flow PC or industrial computer easily, can be compatible and do not need to insert specific slot with the slot of miscellaneous equipment, and can with other equipment concurrent workings.It has advantages such as plug and play, easy to use, highly versatile, data rate be fast.
3, this device has adopted finite state machine and timer based on programmable hardware to produce pulse train, has replaced to control the scheme that timer internal produces pulse train by the software that moves in the microprocessor in the prior art.It can produce the nuclear magnetic resonance pulse sequence with accurate timing, high time resolution, does not need the intervention of main frame when producing pulse train, can reduce unnecessary software overhead, further reduces system cost.
4, adopt the incident and the time corresponding value of monolithic high capacity static memory storage nuclear magnetic resonance pulse sequence, make the pulse-series generator designs simplification.
5, used flexible novel programmable logic device (PLD)-FPGA, total system can be carried out easily at system upgrade according to user's demand.
6, this device volume is small and exquisite, and has very strong versatility, can be widely used in all kinds of nuclear magnetic resonance equipments and magnetic resonance imager.
Summary of drawings
Accompanying drawing 1 is formed synoptic diagram for the present invention;
Accompanying drawing 2 has 90 degree monopulse nuclear magnetic resonance pulse sequences of two-way output for the present invention;
Accompanying drawing 3 is the relation table of the represented Time And Event of Fig. 2 of the present invention;
Accompanying drawing 4 is FPGA internal logic block diagram of the present invention;
Accompanying drawing 5 is FPGA state machine workflow diagram of the present invention;
Concrete technical scheme
Feature of the present invention and other correlated characteristic are described in further detail by example below in conjunction with accompanying drawing, so that technician's of the same trade understanding:
Shown in Fig. 1-5, total system work mainly is made up of FPGA, high capacity static memory and pci interface chip.
FPGA reads in the pulse train parameter from internal memory and exports required nuclear magnetic resonance pulse sequence and control the collaborative work of spectrometer miscellaneous part through its inner state machine core mainly as the generating unit of pulse train.In order to make more steady operation of finite state machine, we have adopted hardware description language (Very High SpeedIntegrated circuit Hardware Description Language, VHDL) in conjunction with the device property of FPGA, state machine is carried out the one-hot coding, and when state machine design, considered redundancy for illegal error condition.In addition, use the VHDL hardware description language to carry out the comprehensive of large scale digital system logic, simplified design greatly, saved design and cost of development.FPGA the initial phase of pulse-series generator also as plate on the interface chip of static memory and pci bus, be responsible for the pulse train parameter on the main frame is imported into static memory on the plate apace.In order further to improve integrated level, also made up control register in FPGA inside and be used to start nuclear magnetic resonance pulse sequence, and carried out in whole pulse train and to notify main frame by interruption or mode that zone bit is set after finishing.For the requirement of the medical magnetic resonance imaging (MRI) that adapts to more complicated, on FPGA, also reserved the input control line that can accept the TTL signal, be used to import outer synchronous signal (after one's own heart electric switch control etc.).In order to make whole nuclear magnetic resonance spectrometer on reality is used, have more security, in case of emergency, in case need the anxious whole NMR system of stopping, can suddenly stop control bit in the control register of set FPGA inside, all pulse train trigger ports all are changed to low level immediately, close might produce harm passage as radio frequency gate, high power gradient amplifier etc., can guarantee the particularly safety of medical magnetic resonance imaging of whole NMR system like this.
Pci interface chip is at the pulse-series generator initial phase, mainly be responsible for when start according to user's needs to the required resource of operating system application as application memory-mapped and interruption etc., from the pci bus protocol conversion static memory on the microprocessor read-write sequence tablet of standard then required experimental data (time-event form), also be responsible for the control register of read-write FPGA inside simultaneously, start bit be set or transmit end signal to main frame by the PCI interruption.
High capacity static memory on the plate then is used for storage time incident form, and its data layout as shown in Figure 3.In ending place of whole time-event form, we have defined one group of special incident value as end mark, when state machine reads in this state whole nuclear magnetic resonance pulse sequence that just automatically resets.
Total system only is made up of FPGA, pci interface chip, high capacity static memory, and is very succinct, reduced production cost, improved the reliability of system simultaneously.
When pulse-series generator was worked, at first main frame by pci bus, was sent into corresponding nuclear magnetic resonance pulse sequence parameter in the static memory on the plate; Then, start nuclear magnetic resonance pulse sequence by the starting state position that FPGA internal control register is set, when state machine is read pulse train end mark in the internal memory, state machine resets, all trigger action output lines all are low level, and by interrupting or set end mark position notice main frame.In case of emergency, also can stop control bit, promptly stop whole nuclear magnetic resonance pulse sequence, protect the safety of whole NMR system by being provided with suddenly.
Claims (2)
1, a kind of nuclear magnetic resonance pulse sequence generator, it is characterized in that this generator is mainly by on-site programmable gate array FPGA, high capacity static memory and pci interface chip are formed, fpga chip as nuclear magnetic resonance pulse sequence generator core, its inner main functional module mainly comprises: address decoder, address counter, address selector, data selector, finite state machine, timer, output register and control register, adopt finite state machine as the nuclear magnetic resonance pulse sequence generating unit in FPGA inside, at first, determine that good nuclear magnetic resonance pulse sequence is converted into incident and time relationship table by main frame, pass through pci bus, send in the described static memory, described code translator carries out address assignment to described static memory and control register, carry out initialization by control register then, finite state machine is by address selector and data selector, read in digital level value and the corresponding delay value of waiting to export particular event in advance, when main frame sends startup command, FPGA starts inner timer, when timer overflows, incident value to be exported is write output register, address counter increases progressively one simultaneously, choose the internal storage location of next resting period or incident, when running into end mark or the anxious control bit that stops when being set, pulse-series generator resets, and all trigger ports are changed to low level.
2, a kind of nuclear magnetic resonance pulse sequence generator according to claim 1 is characterized in that, during carrying out pulse train, pulse train is produced by hardware fully, does not need the intervention of main frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 03150591 CN1284002C (en) | 2003-08-27 | 2003-08-27 | Nuclear magnetic resonance pulse sequency generator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 03150591 CN1284002C (en) | 2003-08-27 | 2003-08-27 | Nuclear magnetic resonance pulse sequency generator |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1515911A CN1515911A (en) | 2004-07-28 |
CN1284002C true CN1284002C (en) | 2006-11-08 |
Family
ID=34240551
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 03150591 Expired - Fee Related CN1284002C (en) | 2003-08-27 | 2003-08-27 | Nuclear magnetic resonance pulse sequency generator |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1284002C (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100365425C (en) * | 2005-04-30 | 2008-01-30 | 华东师范大学 | Positive-negative phase combined pulse with selective excitation and its implementing method |
CN101034152B (en) * | 2007-03-02 | 2010-05-19 | 华东师范大学 | Method for eliminating digit gradient signal time jitter |
CN101271076B (en) * | 2008-04-22 | 2010-09-01 | 华东师范大学 | Control method for integrated nuclear magnetic resonance spectrometer data communication |
CN102156270A (en) * | 2011-03-07 | 2011-08-17 | 华东师范大学 | Method for correcting magnetic field gradient delay of magnetic resonance imaging system |
CN102315840B (en) * | 2011-04-29 | 2014-01-15 | 中国科学技术大学 | Pulse generation method and device |
CN102435968A (en) * | 2011-10-26 | 2012-05-02 | 华东师范大学 | Pulse sequence generator having independent channel delay function |
CN103324594A (en) * | 2013-06-27 | 2013-09-25 | 成都林海电子有限责任公司 | Method of implementing PCI Express AHBUS state machine on the basis of FPGA (field programmable gate array) |
CN105662415A (en) * | 2016-03-03 | 2016-06-15 | 哈尔滨医科大学 | Multi-nucleus magnetic resonance imaging system |
CN114814686B (en) * | 2021-06-17 | 2022-11-22 | 中国科学院精密测量科学与技术创新研究院 | Nuclear magnetic resonance pulse sequence representation method |
-
2003
- 2003-08-27 CN CN 03150591 patent/CN1284002C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1515911A (en) | 2004-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110603528B (en) | Debugging system and method | |
CN1284002C (en) | Nuclear magnetic resonance pulse sequency generator | |
CN101788945B (en) | Diagnostic test system and method for electronic system with multiple circuit boards or multiple modules | |
CN1570907B (en) | Multiprocessor system | |
CN111104269B (en) | UART interface-based processor debugging method and system | |
CN202929519U (en) | Multichannel phase adjustable signal generator | |
CN110875867B (en) | Bus access arbitration device and method | |
CN1831552B (en) | Integral nuclear magnetic resonance spectrometer control stage bused on USB bus | |
US8144828B2 (en) | Counter/timer functionality in data acquisition systems | |
Hansen et al. | Fermilab Smart CAMAC Controller | |
CN110032115B (en) | Internet of things control system and method utilizing near field connection for real-time interaction | |
CN100423039C (en) | Integral automatic integrating testing system | |
CN200972500Y (en) | Integral automatic integrated tester | |
CN103699465B (en) | A kind of device and method 16 chip cores being carried out to debugging control | |
Van den Keybus et al. | Using a fully digital rapid prototype platform in grid-coupled power electronics applications | |
CN102520344B (en) | Boundary scanning module and boundary scanning system for smart card testing | |
CN108228517A (en) | I3C circuit arrangements, system and communication means | |
Li et al. | UART Controller with FIFO Buffer Function Based on APB Bus | |
CN201724819U (en) | Electronic controlled engine matching calibration system | |
O'Nils et al. | Synthesis of dma controllers from architecture independent descriptions of hw/sw communication protocols | |
CN107562673B (en) | Bus protocol conversion bridging device applied to embedded processor | |
Lv et al. | Design of 1553B bus interface module based on NIOS II | |
CN108153276A (en) | DCS performance testing devices and method based on SOPC | |
CN117056268B (en) | SPI interface circuit and SPI communication method for measuring instrument | |
CN113485954B (en) | CAN control unit and ion accelerator power supply controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20061108 Termination date: 20100827 |