In recent years, innovations such as homogeneous in-situ/ex-situ portable permanent magnets and highly integrated thus scalable NMR (nuclear magnetic resonance) spectrometer electronics have opened up possibilities for use of NMR spectroscopy in portable applications.
One problem, however, is that the magnetic field of the above permanent magnets remains unstable, despite superb spatial field homogeneity. This is because the constituent ferromagnetic materials have considerable temperature dependency in their remanent magnetization, e.g. −1200 ppm/K for NdFeB at room temperature. Such large temperature dependency keeps their magnetic field drifting in accordance with the temperature fluctuation of the surrounding environment. This problem has been raised as one roadblock towards portable NMR spectroscopy. Generally, tight thermal insulation and temperature regulation are required, in order to achieve the requisite magnetic field stability over a long period of time, which is a requisite for NMR spectroscopy, especially multi-dimensional spectroscopy.
Because the field of these permanent magnets typically exhibits such appreciable temperature dependency, the Larmor frequencies of the spins in an NMR sample also usually exhibit temporal drifts, as the temperature fluctuates with time. The quality of the spectra from both 1D (one-dimensional) and 2D (two-dimensional) NMR spectroscopy is thereby degraded. The effect of the field fluctuations is pronounced in long-term experiments, from a few minutes to several hours. These include multiple-scan 1D NMR spectroscopy (e.g., for signal averaging), and 2D NMR spectroscopy where multiple scans are of algorithmic necessity for the signal sampling in the indirect frequency (f1) domain. Furthermore, in 2D NMR spectroscopy, the field fluctuation effect also impacts on the spin evolution during the evolution phase (t1). In other words, both the direct frequency (f2) domain and the indirect frequency (f1) domain of 2D NMR spectra are affected by field fluctuations.
In the present application, calibration methods and systems are disclosed that remove the effects of the magnetic field fluctuations in NMR spectroscopy using digital signal processing, without need for cumbersome temperature regulation for the magnet. Calibration methods and systems for magnetic field drift are discussed below in terms of 1D and 2D NMR. It will be readily understood by those skilled in the art that these methods and systems can be easily generalized to 3D NMR. Illustrative embodiments are discussed in this application. Other embodiments may be used instead. Many other related embodiments are possible.
As well known, in 2D NMR an evolution period and a mixing period are introduced between the preparation period and the acquisition period. The process of evolution lasts for a period of time labeled t1, referred to as the evolution time t1 or indirect time t1. The evolution period introduced an indirectly-detected frequency dimension f1, where f1 is a Fourier transform of t1. During the mixing period, coherence is transferred from one spin to another.
In the present application, the terms “evolution time,” “t1”, and “indirect time” all have the same meaning, and are used interchangeably. In the present application, the terms “acquisition time,” t2”, and “direct time” have the same meaning, and are used interchangeably.
In 2D NMR, data acquisition involves a series of scans with various values of t1, where t1 is typically incremented by a specific amount at each successive scan. During each scan, a pulse sequence excites the nuclei in the NMR sample, and the resulting FID (free induction decay) of the nuclei is received by the NMR spectrometer. Because t1 is changed continuously, a series of different FIDs are received. This process is repeated until enough data is obtained for analysis using 2D Fourier transform. The series of FIDs are Fourier-transformed, first with respect to t2, then with respect to t1, so as to obtain a resulting 2D NMR spectrum.
When plotting a 2D NMR spectrum, two frequency axes are typically used to represent a chemical shift or other variable of interest. Each frequency axis is associated with one of the two time variables, namely: 1) the length t2 of the evolution period; and 2) the time t2 elapsed during the acquisition period. Both time variables can be converted from a time series to a frequency series through respective Fourier transforms. As explained above, 2D NMR experiments are typically performed as a series of scans, each scan recording the entire duration of the acquisition time, with a different specific evolution time in successive scans. The resulting plot shows an intensity value for each pair of frequency variables.
In the present application, a calibration system is described that is configured to carry out the acts schematically illustrated in
The calibration system may be included or integrated within the NMR spectrometer electronics, for example part of a processing system in the NMR spectrometer electronics. Alternatively, it may be part of a separate processing system that is responsive to user input to send control commands to the spectrometer electronics so as to calibrate the NMR signals.
The mathematical background for, and full details of, the above-mentioned calibration methods and systems are now described. An NMR analyte or sample typically consists of a plurality N of NMR-active nuclear spins (by way of example, 1H spins), where individual spins can be indexed by a summation index k (1, 2, 3, . . . , N). The permanent magnet's field can be written as a sum B0+ΔB0(t), where B0 represents the intended static field B0, namely the static field B0 in the absence of temporal fluctuations, and ΔB0(t) represents the temporal fluctuation ΔB0(t). The Larmor frequency Ωk(t) for the k-th spin can then be approximated to the first order as:
Ωk(t)=γ(1+δk)·(B0+ΔB0(t))+εk≅γB0(1+δk)+εk+γΔB0(t)=Ω0,k+ΔΩ(t), (1)
where γ represents the gyromagnetic ratio, δk represents the chemical shift for the k-th spin, εk represents the frequency offset due to J-coupling, Ω0,k≡γB0(1+δk)+εk represents the intended Larmor frequency (i.e., the Larmor frequency in the absence of field fluctuations), and ΔΩ(t)≡γΔB0(t) represents the frequency component that temporally drifts due to the field fluctuation.
It is noted that ΔΩ(t) is identical among all spins to the first order. ΔΩ(t) can influence certain 1D NMR experiments, where multiple scans over a long time are needed to enhance the SNR (signal-to-noise ratio). On the other hand, the ΔΩ(t) effect is significant in practically all 2D NMR experiments, because they inherently take a long time (typically on the order of several tens of minutes) with multiple scans being the algorithmic essence of 2D NMR regardless of the SNR. Therefore, ΔΩ(t) needs to be calibrated out to attain high-resolution NMR spectra, in particular in 2D and higher-D NMR.
In some embodiments of the present application, it may be assumed that the frequency drift term ΔΩ(t) in Eq. (1) takes a certain polynomial function of time: ΔΩ(t)=ΔΩ0+ΔΩ1t+ΔΩ2t2 . . . . While the constant frequency drift term ΔΩ0 only shifts the NMR spectra from a reference frequency, the non-constant frequency drift term, ΔΩ1t+ΔΩ2t2 . . . , distorts the amplitudes and phases of the NMR spectra. This distortion effect essentially spread out the NMR spectrum, thereby increasing its entropy.
An assumption may be made that ambient temperature does not change rapidly so that chemical shifts do not alter significantly. Also, the fluctuation of the magnetic field is slow compared to the fluctuation of surrounding temperature due to the heat capacity of the magnet and finite thermal contact with the surrounding. This mechanism can be understood as low-pass filtering of the surrounding temperature fluctuation, or Brownian motion of sizable particles.
Based on these observations, the following assumptions are made about the frequency fluctuation ΔΩ(t):
The difference between two adjacent observations of the field, ΔΩ(t+Δt)−ΔΩ(t), may have a probability density with its mean zero and its variance proportional to the temperature coefficient of the magnet, the thermal conductance to the surroundings, the variance of the surrounding temperature fluctuation, and the observation time difference Δt.
ΔΩ(t) is a slowly varying function and the acquisition time t is usually smaller than 1 s, thus higher order terms may be discarded, i.e.:
ΔΩ(t)≈ΔΩ0+ΔΩ1t (2)
Under the influence of such a field fluctuation, an NMR signal y(t) acquired by a quadrature receiver, thus phase sensitive, may be written as:
where x(t) is an unaffected NMR signal, w(t) is a phase-modulation function of ΔΩ(t), ck is a complex amplitude representing the signal strength and phase, and λk is an exponential decay rate due, for instance, to spin-spin relaxation for the k-th spin.
Since w(t) modulates the frequencies and phases of y(t), its effect negatively impacts on the spectral distribution of nuclear spin energy (in other words, on the frequency domain representation of y(t)). Thus, in this application w(t) will be estimated, then its negative effect will be removed by correlating or examining the spectral distribution.
The Fourier transform of y(t), namely Y(ω), can represent the spectral distribution to some extent. Since it is complex valued, one can take the real part or imaginary part of Y(ω). Whether the real or the imaginary part is taken, however, it would not faithfully represent the spectral distribution because it may have negative peaks or dispersive peak shapes. The magnitude |Y(ω),| of Y(ω), or its energy spectral density |Y(ω)|2 may represent the spectral distribution.
In some embodiments, the energy spectral density is used. One reason for this choice is that it represents correct peak shapes (Lorentzian) although it does not have correct peak intensities due to the square operation. The energy spectral density is normalized to obtain a probability density fY(ω):
where Y(ω), W(ω) and X(ω) are the Fourier transforms of y(t), w(t), and x(t), respectively, and is the convolution operator.
Estimation of the Frequency Fluctuation ΔΩ(t)
Equation (2) contains two unknown variables: one is a constant frequency drift term, ΔΩ0, and the other is a non-constant frequency modulation term ΔΩ1t. The constant term ΔΩ0 shifts the precession frequencies altogether away from their reference frequencies. The linear term ΔΩ1t modulates the phase of the acquired signal and distorts peak shapes of its frequency-domain spectrum.
In order to estimate the value of ΔΩ1in equation (2), one can ignore ΔΩ0 in (2) and assume w(t) is a function of only ΔΩ1t: i.e., w(t)=exp(iΔΩ1t). If w(t) is not 1 (ΔΩ1 is not zero), its Fourier transform W(ω) is different from a Dirac delta function; thus, its convolution with X(ω) spreads out the spectral distribution (Y(ω)=W(ω)*X(ω)). In other words, it makes the distribution more uniform and thus increases ‘the amount of uncertainty’ in observing the nuclear spin energies. The information entropy in information theory, h(fY(ω))=−∫fY(ω)ln fY(ω)dω/2π, serves as a great measure for such increase, where fY(ω) is a probability density defined in (4). Thus, this entropy may be used as a likelihood function to estimate ΔΩ1.
Concretely, we estimate the maximally likely ΔΩ1 by finding the minimum entropy of a probability density of y(t)·w−1(t) where w(t)=exp(iΔΩ1t). This estimation procedure can be written as:
where fY; ΔΩ
After the calibration of non-constant frequency drift ΔΩ1t is performed, one can estimate the value of the constant frequency drift ΔΩ0 by measuring the statistical distance of the probability density of a measured signal fY(ω) from a certain reference signal (one can choose one signal out of multiple-scan signals as a reference signal). The rationale behind this process is that the probability density for y(t) in independent experiments has the identical frequency-domain pattern in terms of relative peak positions, although the amplitudes of the peaks may vary according to the applied pulse sequences. In other words, this relative peak position pattern is a unique feature of a given NMR sample.
In some embodiments, the statistical distance of the probability density (calculated as in (4)) of the measured signal from that of the reference is measured, while shifting the frequency of the measured signal. Eventually, ΔΩ0 is found when the statistical distance becomes minimum. To measure the statistical distance, a number of functions can be used, including without limitation f-divergences (e.g. relative entropy), Hellinger distance, distance correlation, and the inverse of the Pearson product-moment coefficient. As for the reference signal, a free induction decay signal is ideal as it does not have the amplitude modulation of the peaks during the coherence evolution that could attenuate individual peak's signal strength.
The above process can be written mathematically as:
where D(·,·) is a distance measuring function, fY,ΔΩo(ω) and fX
A. Calibration of Larmor Frequency Drift in the f2 Domain
As explained previously, the f2 (or direct frequency) domain corresponds to the acquisition phase of an experiment, and is related to the time variable t2. While this term is generally used for 2D NMR spectroscopy where t and t1 respectfully correspond to the direct (f2) and indirect (f1) frequency domains, in the present application this term (f2 domain) will be used to represent the frequency domain of 1D NMR as well.
The effect of the estimated frequency fluctuation, set forth above, can be removed to yield the correct signal x(t) by multiplying y(t) (Eq. (3)) by the estimated phase-modulation function ŵ−1(t)=exp(−iΔ{circumflex over (Ω)}(t)t):
The application of the above methods can be further expanded for higher-order non-constant terms (e.g. ΔΩ2 t2). For example, in order to calibrate out the effect of both ΔΩ1t and ΔΩ2 t2, one can use the entropy minimization technique described above for both terms.
B. Calibration of Larmor Frequency Drift in the Indirect Frequency (f1) Domain
In 2D NMR experiments, the field fluctuation also influences the indirect frequency (f1) domain, which corresponds to the evolution phase lasting over time t1. As described earlier, t1 is varied at each scan. In one or more embodiments, frequency drift calibration is then performed in the indirect frequency (f1) domain.
In overview, in some embodiments frequency drift calibration in the f1 domain is performed by: obtaining a cosine modulation and a sine modulation in the complex amplitudes by respectively different tuning of the phase of an RF pulse sequence applied to the sample during the NMR scan; estimating the frequency offsets and in the cosine modulated and sine modulated amplitudes; and using the estimated frequency offsets to recover the complex amplitudes of an NMR signal that is calibrated in both the f1 and f2 domains.
The mathematical details for the f1 frequency drift calibration, schematically set forth in paragraph [060] above, are now described. During the evolution phase, the complex amplitude ck of Eq. (3) is affected by the temporal field fluctuation. The complex amplitude ck can be written as:
where the cosine modulation can be readily attained by tuning the phase of a given pulse sequence. Here the frequency fluctuation ΔΩ(t) appears in the argument of cosine, and djk and φjk are respectively complex and real numbers dependent upon the pulse sequence, where j or k are spin indices. As explained earlier, ΔΩ(t) is independent of spin indices j or k.
By tuning the phase of the same pulse sequence differently, a sine modulation in ck can be obtained as well. In some embodiments, the calibration of ΔΩ(t) in the f1 domain utilizes both of these scans for a given t1, which generate the cosine and sine modulations. Two scans for a given t1 are already necessary for the well-known frequency discrimination in the f1 domain, thus no additional physical overhead is required. These two scans may be indexed as ‘c’ and ‘s’. The corresponding complex amplitudes, ckc and cks, then can be written as:
where ΔΩc and ΔΩs are the frequency offsets in the two scans and quite close to each other.
Two calibration methods for obtaining the desired correct complex amplitude,
can be used, in some embodiments of the present application.
Method 1 for Calibration of Larmor Frequency Drift in the f1 Domain
From Eq. (9-11), the desired correct complex amplitude may be expressed as:
Via the f2 domain calibration described above, the values for ΔΩc(t) and ΔΩs(t) can be estimated. The estimated values can be mathematically written as Δ{circumflex over (Ω)}c(t) and Δ{circumflex over (Ω)}s(t), following widely used convention. By plugging these estimated values into Eq. (12), the correct complex amplitude can be readily obtained. This step is justified because the evolution and acquisition phases for a given scan are closely placed in time. In practice, this calculation is typically performed on the time-domain signals, {circumflex over (x)}c(t) and {circumflex over (x)}s(t) (given by Eq. (7)], calibrated in the f2 domain as described above.
Method 2 for Calibration of Larmor Frequency Drift in the f1 Domain
From Eq. (9-11), the following identity holds:
c
k
c exp(−iΔΩc(t)t1)+i cis exp(−iΔΩs(t)t1)=ck,cal+[f1 noise floor term], (13)
where the f1 noise floor term is given by
The above f1 noise floor term does not contribute to the deterministic NMR peak patterns but only raises the noise floor, because of the randomness of ΔΩc(t) and ΔΩs(t). Therefore, again by using the estimated values for ΔΩc(t) and ΔΩs(t) from the f2-domain calibration on the left hand side of Eq. (13), the desired correct complex amplitude (with the additive noise floor) can be obtained.
Each of the methods described above comes with its own limitations. In Method 1, the denominator cos(Δ{circumflex over (Ω)}c(t)−Δ{circumflex over (Ω)}(t))t1 of Eq. (12) approaches zero as (Δ{circumflex over (Ω)}c(t)−Δ{circumflex over (Ω)}s(t))t1 approaches π/2 (or its odd multiples). In this case, the physical background noise is significantly amplified. Thus, Method 1 is effective when (Δ{circumflex over (Ω)}c(t)−Δ{circumflex over (Ω)}s(t))t1 is reasonably different from odd multiples of π/2, or when SNR is high enough to tolerate amplified noise.
The limitation of Method 2 is the f1 noise floor term of Eq. (14). These two methods may be used together. For instance, when Method 1 becomes ineffective with (Δ{circumflex over (Ω)}c(t)−Δ{circumflex over (Ω)}s(t))t1 approaching odd multiples of π/2, one can resort to Method 2.
For the f1 calibration methods described in Eq. (12) and (13), it is noted that the multiplicand (e.g. ckc in Eq. (12)) and the multiplier (e.g. exp(−iΔΩs(t)t1)/cos{(ΔΩc(t)−ΔΩs(t))t1} in Eq. (12)) are both complex numbers, and their product may not produce desirable peak shapes in 2D spectrum. Therefore, one should separate real and imaginary parts of the target time-domain signal (e.g. {circumflex over (x)}c(t)) before applying the f1 calibration methods in order to avoid multiplying two complex numbers.
The method 200 includes an act 210 of separating the real and imaginary parts of the f2-calibrated time domain target signals, {circumflex over (x)}c(t) and {circumflex over (x)}s(t). The method 200 further includes acts 220 and 221 of multiplying the separated parts by their respective f1-calibration factors, βc and βs, which are listed in Table 1 provided in
In acts 240 and 241, the respective real and imaginary parts of the outcomes are collected. As a result, the desired signals, {circumflex over (x)}calc(t) and {circumflex over (x)}cals(t), are reconstructed in acts 250 and 251. Finally, the remaining part of the method 200 includes acts 260 and 261 of performing the States method to create the desired f1 phase-sensitive spectra.
Experimental Results of Larmor Frequency Drift Calibration
In one exemplary embodiment of the present application, disclosed for illustrative purposes, the experimental setup for the calibration methods described above includes a 0.51-T NdFeB permanent magnet (W×D×H: 12.6×11.7×11.9 cm3; weight: 7.3 kg; Neomax Co.), a capillary tube to carry the target sample to the sensitive volume of 0.8 μL, a solenoidal coil (axial length: 1 mm) wrapping around the capillary tube (inner diameter: 1 mm), and an NMR spectrometer electronics to generate pulse sequences and acquire NMR signals. The permanent magnet is naturally exposed to the surrounding environment in a laboratory without thermal regulation. The Larmor frequency for 1H spins with this magnet is 21.84 MHz. In some embodiments, the measurement data may be processed using the Numpy/Scipy library for the Python language.
Many other types of experimental setups are possible, and the above example is provided only for illustrative purposes.
D(f(ω),g(ω))=√{square root over (1−∫√{square root over (f(ω)g(ω))}dw)} (15)
In the illustrated embodiment, the States method was used for quadrature detection in f1 domain.
In sum, systems and methods have been described for Larmor frequency calibration in NMR systems. An NMR spectrometer, in accordance with some embodiments of the present application, includes a calibration system. The calibration system is configured to calibrate, in an f2 frequency domain one or more NMR signals, so as to remove from the NMR signal the effects of temperature-induced frequency fluctuations in the f2 domain. The calibration system is also configured to further calibrate the f2 calibrated NMR signal in an f1 frequency domain (which is a Fourier transform of the t1 domain), thereby removing the effects of temporal frequency drifts during an evolution phase of the NMR scan. The calibration system may be configured to calibrate the NMR signal in the f2 frequency domain by estimating the value of an offset ΔΩ in the Larmor frequencies of the spins in the sample, then removing the offset ΔΩ from the NMR signal using the estimated value.
The calibration system may be configured to further calibrate in the f1 domain by: obtaining a cosine modulation and a sine modulation in the complex amplitudes of the f2 calibrated NMR signal; estimating the frequency offsets in the cosine modulated and sine modulated amplitudes; and using these estimated frequency offsets to recover, from the cosine modulated and sine modulated amplitudes, the complex amplitudes of an NMR signal that is calibrated in both the f1 and the f2 domains.
The signal-processing techniques presented in this application remove the effect of magnetic field fluctuations (which may be assumed to be either constant or non-constant), which plague high-resolution NMR spectra. The constant shift in the field between two NMR scans is computed by measuring the statistical distance between the two NMR spectra. The field linearly changing with time t is estimated by finding the minimum information entropy of the given spectrum. Also, the field fluctuation effect in the evolution phase of 2D NMR is removed by correcting the amplitude and phase of each NMR spin signal. Using these techniques, poor ID or 2D NMR spectra in experiments resulting from unstable fields are nicely repaired. The above-described field fluctuation calibration techniques are found to be particularly useful for portable NMR spectroscopy systems with permanent magnets, the fields of which are unstable due to their large temperature dependency.
In principle the methods and systems described above can be readily generalized to 3D NMR, even though in many applications (such as applications using permanent magnets), an actual implementation of 3D NMR may be quite impractical because 3D NMR would require an undue amount of time, given the low magnetic field strength of permanent magnets. A 3D generalization of the above methods and systems would involve another evolution period (corresponding to the above-discussed indirect time t1 in 2D NMR), which cosine/sine modulates the 2D NMR spectra, by analogy to the above-described mechanics of 2D NMR. Using the estimated f2 frequency drift for each scan, one can calibrate the frequency drift in the 3D evolution period.
The methods and systems described above can be also used to calibrate frequency drift in NMR relaxometry experiments, i.e. these calibrations can be carried out by an NMR relaxometer. Some relaxometry experiments such as 2D relaxometry (e.g. diffusion-T2 distribution analysis) requires multiple scans through which magnetic field can drift significantly. There are two methods to adjust frequency of relaxometry experiments. First, one can acquire a separate 1D NMR spectrum between each relaxometry scan. Second, one can acquire a spectrum directly from each relaxometry scan. If each scan contains a plurality of echoes (e.g. CPMG), one can take a spectrum from each echo. Based on these spectra whether they are acquired from a separate 1D NMR scan or from a relaxometry experiment itself, one can easily adjust the NMR excitation/acquisition frequency or shift the frequency of the following relaxometry experiment data using signal processing. The methods and systems described above can be also used to calibrate frequency drift in NMR experiments that does not use permanent magnets. If fluctuation information is known (e.g., 60 Hz power line modulation), one can calibrate out the fluctuation by setting up a few unknown parameters (e.g. parameter a and b for a cos(2*pi*60t+b) and by estimating those parameters using non-constant frequency drift calibration methods.
A processing system may be integrated in, or connected to, the above-described calibration system. The processing system is configured to perform the above-mentioned computations, as well as other computations described in more detail below. The processing system is configured to implement the methods, systems, and algorithms described in the present application. The processing system may include, or may consist of, any type of microprocessor, nanoprocessor, microchip, or nanochip. The processing system may be selectively configured and/or activated by a computer program stored therein. The processing system may include a computer-usable medium in which such a computer program may be stored, to implement the methods and systems described above. The computer-usable medium may have stored therein computer-usable instructions for the processing system. The methods and systems in the present application have not been described with reference to any particular programming language. Thus, a variety of platforms and programming languages may be used to implement the teachings of the present application.
The components, steps, features, objects, benefits and advantages that have been disclosed are merely illustrative. None of them, nor the discussions relating to them, are intended to limit the scope of protection in any way. Numerous other embodiments are also contemplated, including embodiments that have fewer, additional, and/or different components, steps, features, objects, benefits and advantages. Nothing that has been stated or illustrated is intended to cause a dedication of any component, step, feature, object, benefit, advantage, or equivalent to the public. While the specification describes particular embodiments of the present disclosure, those of ordinary skill can devise variations of the present disclosure without departing from the inventive concepts disclosed in the disclosure. In the present application, reference to an element in the singular is not intended to mean “one and only one” unless specifically so stated, but rather “one or more.” All structural and functional equivalents to the elements of the various embodiments described throughout this disclosure, known or later come to be known to those of ordinary skill in the art, are expressly incorporated herein by reference.
This application is based upon, and claims the benefit of priority under 35 U.S.C. §119(e) from U.S. Provisional Patent Application Ser. No. 61/932,383 (“the '383 provisional application”), filed Jan. 28, 2014, entitled “Calibration of Larmor Frequency Drift in NMR Systems”; and from U.S. Provisional Patent Application Ser. No. 62/022,151 (the “'151 provisional application”), filed Jul. 8, 2014, entitled “Calibration of Non-Constant Larmor Frequency Drift in NMR Systems”. The contents of these provisional applications are incorporated herein by reference in their entireties as though fully set forth.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/US15/12845 | 1/26/2015 | WO | 00 |
Number | Date | Country | |
---|---|---|---|
61932383 | Jan 2014 | US | |
62022151 | Jul 2014 | US |