Skip to main content

Optimal control theory for applications in Magnetic Resonance Imaging


We apply innovative mathematical tools coming from optimal control theory to improve theoretical and experimental techniques in Magnetic Resonance Imaging (MRI). This approach allows us to explore and to experimentally reach the physical limits of the corresponding spin dynamics in the presence of typical experimental imperfections and limitations. We study in this paper two important goals, namely the optimization of image contrast and the maximization of the signal to noise per unit time. We anticipate that the proposed techniques will find practical applications in medical imaging in a near future to help the medical diagnosis.


Optimality with respect to a given criterion is vital in many applications, but it presents a complexity that requires a lot of ingenuity to provide a solution. In this context, optimal control tackles the question of bringing a dynamical system from one state to another with minimum expenditure of time and resources [50]. Optimal control theory was born in its modern version with the Pontryagin Maximum Principle (PMP) in the late 1950’s. Its development was originally inspired by problems of space dynamics, but it is now a key tool to study a large spectrum of applications extending from robotics to economics and biology [5, 12, 14, 15, 18, 19, 23, 27, 29]. Optimal control problems can be solved by two different types of approaches, geometric [5, 14, 29] and numerical methods [16, 27, 36] for dynamical systems of low and high dimension, respectively. The geometric techniques lead to a complete mathematical and qualitative understanding of the control problem, from which we can deduce the structure of the optimal solution and the physical limits of a dynamical process, such as the minimum time to achieve a given task [2, 5, 13, 14, 26, 2931]. The advantages of the numerical approach are complementary to the ones of the geometric method. The relative simplicity of the application of the numerical algorithms makes it possible to adapt them straightforwardly to new classes of control problems. Generally, it is also possible to include constraints in the algorithms to account for experimental imperfections or requirements related to a specific material or device. This point is essential in view of experimental applications and helps to bridge the gap between control theory and control experiments [16, 21, 27, 32, 36, 46, 51, 58].

Since its discovery in the forties, Magnetic Resonance has become a powerful physical tool to study molecules and matter in a variety of domains in chemistry, biology and solid state physics [3, 25, 45]. The efficiency of Magnetic Resonance techniques is maybe best illustrated by medical imaging, where it is now possible to build up a three-dimensional picture of the human brain. Even the mental processes of the brain activity, which modify the oxygenation and the flow of the blood can be detected by this tool. This information is not accessible by any other current method [3]. It is this imaging aspect of the control of spin dynamics which will be at the core of this paper. In Magnetic Resonance Imaging (MRI), the major challenges are based on the maximization of the contrast between volume elements with different physical or chemical properties in order to clearly detect anatomical features and to distinguish healthy tissue e.g. from tumors. It is also crucial to improve sensitivity by compensating instrumental imperfections such as the non-uniformity of signal excitation magnetic pulses. Such goals can be achieved by applying specific magnetic fields to the sample. The development of theoretical techniques, such as composite and shaped pulses in MRI has so far relied on a relatively small number of concepts and numerical tools that have led to many practical improvements in the last decades [45]. However, these improvements were largely incremental, none of those approaches was able to establish physical limits of the best possible performance in terms of energy deposition, sensitivity, robustness and contrast. The revolutionary aspect of optimal control theory in this domain is in its ability to achieve and operate at the physical performance limit, resulting in more detailed information, better sensitivity, and better imaging contrast. Measurement time per patient could also be decreased, making the technique more patient-friendly and also more economical. A crucial issue for pulse design is the implementation of control operations under significant uncertainties stemming from the non-uniform nature of the sample, such as the human body, and of the applied magnetic fields. Recent advances in numerical optimization techniques have made it possible to design high quality control sequences that are robust against the various experimental uncertainties [20, 27, 32, 49, 52]. This requirement of robustness in general is one of the key factors for the development of new technologies. Recently it has been shown that thousands of individual spins with different experimental features can be simultaneously optimized, resulting in an improved experimental performance [28, 3335, 40, 43, 5457, 62]. More generally, the flexibility of the optimal control approach allows us to include complex physical and instrumental effects, such as relaxation, radiation damping and power limits in order to find highly robust experimental settings suitable for practical applications under realistic conditions.

The idea of using optimal control techniques in MRI was initially proposed in the eighties [17], but the recent advent of analytical and numerical tools has made possible impressive progresses in this domain, leading to the optimization of the control of complex spin dynamics in MRI [1, 10, 43, 47, 53, 60, 61]. The aim of this paper is to present two examples of recent results obtained in this direction both from the geometric and numerical approaches. These examples will allow us to describe and discuss the efficiency and the limitations of this method in order to solve applied and concrete issues in MRI.

The paper is organized as follows. Section 2 deals with the optimization of the signal to noise per unit time (SNR) by geometric control techniques. The unbounded case is investigated, showing that the Ernst angle solution is the optimal solution of the control problem. This result is an essential prerequisite for the extension of this analysis to realistic situations, which are numerically much more intricate. Section 3 focuses on the optimization of the contrast in in vivo MRI. We numerically maximize the contrast of the brain of a rat. The experimental results show the efficiency of the applied magnetic fields. Conclusion and prospective views are given in Section 4.

Optimal control of the signal to noise ratio per unit time

This paragraph deals with an application of geometric optimal control theory to MRI. Recently, this method has been successfully applied to a question of fundamental and practical interest in MRI, the maximization of the achievable signal-to-noise ratio per unit time (SNR) of a spin 1/2 particle [3, 25, 45]. The SNR is practically enhanced in spin systems by using a multitude of identical cycles. In this periodic regime, the SNR increases as the square root of the number of scans. Each elementary block is composed of a detection time and of a control period where the spin is subjected to a radio-frequency magnetic pulse, this latter being mandatory to guarantee the periodic character of the overall process. A first solution to this problem was established in the sixties by R. Ernst and his co-workers [24]. In this proposition, the control law is made of a δ- pulse, featured by a specific rotation angle, and known as the Ernst angle solution. This pulse sequence is routinely used in magnetic resonance spectroscopic and medical applications. Note also that optimal control theory was not used in Ref. [24]. We have revisited recently this question by applying the powerful tools of geometric control theory. In [38], we have shown in the case of unbounded controls that the Ernst angle solution is the optimal solution of this control problem. This analysis was generalized in [39] to spin dynamics in the presence of radiation damping effects and crusher gradients. We present in this section a brief review of these results.

2.1 The model system

We describe in this paragraph the model system used in the theoretical analysis. We consider an ensemble of spin 1/2 particles subjected to a radio-frequency magnetic field, which is assumed to be homogeneous across the sample. The system is described by a magnetization vector \(\vec {M}\) of coordinates (M x ,M y ,M z ), whose dynamics is governed, in a given rotating frame, by the standard Bloch equations [3, 25, 45]:

$$ \left\{ \begin{array}{rl} \dot{M}_{x} &= -2\pi M_{x}/T_{2} + \omega_{y} M_{z}\\ \dot{M}_{y} &= - 2\pi M_{y}/T_{2} - \omega_{x} M_{z}\\ \dot{M}_{z} &= 2\pi (M_{0} - M_{z})/T_{1} - \omega_{y} M_{x} + \omega_{x} M_{y} \end{array}\right. $$

where T 1 and T 2 are respectively the longitudinal and transverse relaxation constants. M 0 is the thermal equilibrium of the magnetization and (ω x ,ω y ) are the two control amplitudes of the radio-frequency magnetic field. Normalizing the time with respect to the detection time T d (see below for a description of this parameter), τ=t/T d , and the amplitude of the magnetization vector with respect to M 0, (x,y,z)=(M x /M 0,M y /M 0,M z /M 0), we get:

$$ \left\{ \begin{array}{rl} \dot{x} &= - \Gamma x + u_{y} z\\ \dot{y} &= - \Gamma y - u_{x} z\\ \dot{z} &= \gamma(1 - z) - u_{y} x + u_{x} y \end{array}\right. $$

where γ=2π T d /T 1, Γ=2π T d /T 2 and u x,y =T d ω x,y . In the relevant physical case where 0≤T 2≤2T 1, it can be shown that x 2+y 2+z 2≤1 at any time, which defines the Bloch ball [37]. In the new coordinates, the dynamics only depends on two parameters γ and Γ and the detection time is fixed to 1. The system admits a symmetry of revolution around the z- axis which allows us to consider by setting u y =0 only a planar projection onto the (y,z)- plane [7, 11]. The final equations used in this paper are then given by:

$$ \left\{ \begin{array}{rl} \dot{y} &= - \Gamma y - u z\\ \dot{z} &= \gamma(1 - z) + u y \end{array}\right. $$

where u stands for u x .

In this ideal dynamical system, we introduce a simple scenario to describe the optimization of the SNR per unit time (see the schematic description in Fig. 1. The point reached at the end of the pulse sequence is the measurement point M of coordinates (y m ,z m ). The system has a free evolution from this point to the steady state S of coordinates (y s ,z s ), where the pulse sequence starts. The times T d and T c denote the detection time (fixed by the experimental setup) and the control time, respectively. The total time T during which a series of identical experiments are made is fixed. The total number N of experiments is then given by: T=N(T c +T d ).

Fig. 1

Schematic representation of the cyclic process used in the maximization of the SNR

Following Refs. [38, 39], the optimization problem is defined through the introduction of the following cost functional \(\mathcal {R}\):

$$ \mathcal{R}=\frac{Ny_{m}}{\sqrt{N}}, $$

y m being the strength of the signal at the beginning of the detection period (only the transverse magnetization can be measured). A white noise is assumed, which explains the \(\sqrt {N}\) factor in the denominator of \(\mathcal {R}\). Simple algebra leads to:

$$ \mathcal{R}=\sqrt{\frac{T}{T_{d}+T_{c}}}y_{m}=\sqrt{\frac{T}{T_{d}}}\frac{y_{m}}{\sqrt{1+T_{c}/T_{d}}}. $$

Since the total time T and the detection time T d are fixed,we can introduce a normalized SNR Q with respect to the measurement time T d :

$$ Q(y_{m},z_{m})=\frac{y_{m}}{\sqrt{1+T_{c}(y_{m},z_{m})/T_{d}}}, $$

which only depends on the position of the M point. The factor of quality Q is the figure of merit to maximize.

2.2 How to move in the Bloch ball

Before entering into the details of the optimization of the SNR, the first question to solve is the optimal control of the magnetization vector in the Bloch ball. Here, we only summarize the main results, which have been recently established in a series of papers [7, 37, 41, 42, 48]. We recall that the dynamics of the system is governed by Eq. (3), with no constraint on the control field, u(t). At this stage, it is illuminating to introduce the polar coordinates (R,θ) such that y=R sinθ and z=R cosθ. Equation (3) can then be written as follows:

$$ \left\{ \begin{array}{rl} \dot{R} &= -\Gamma R\cos^{2}\theta+\gamma (\sin\theta-R\sin^{2}\theta) \\ \dot{\theta} &= \gamma\cos\theta \left(\frac{1}{R}-\sin\theta\right)+\Gamma\sin\theta\cos\theta+u. \end{array}\right. $$

We immediately note that the angular speed \(\dot {\theta }\) can be directly control by u, while the radial one, \(\dot {r}\), does not explicitly depend on the field. The radial coordinate can only be controlled in a two-step process by a judicious choice of θ. In the unbounded case, we have therefore a complete control over the angular degree of freedom, but we still have to understand how to manipulate the system along the radial direction. For that purpose, we have plotted in Fig. 2 the evolution of the speed \(\dot {r}\) as a function of the angle θ. The characteristic points of this dynamics, maximum, minimum and zero points, are underlined and reported in the (y,z)- plane. Such specific points allow us to determine the optimal solution to manipulate in minimum time the system along the radial direction [37]. From a control point of view, this analysis allows to recover the singular trajectories, which are the paths where the control field is not equal, in absolute value, to the maximum bound [41]. We obtain here two types of singular controls: the horizontal one along the plane of equation \(z=z_{0}=\frac {-\gamma }{2(\Gamma -\gamma)}\), denoted S h and the vertical one along the z- axis denoted S v>0 and S v<0, for z>z 0 and z<z 0, respectively. Note that the plane of equation z=z 0 intersects the Bloch ball if

$$\frac{T_{2}}{2|T_{2}-T_{1}|}\leq 1. $$
Fig. 2

(Color online) Contour plot of the trajectories \(\dot {R}(\theta)\) for two different sets of relaxation parameters. The red line is the line for which \(\dot {R}=0\). The blue and green lines are the set of points where \(\dot {r}\) is minimum, while the points of the yellow one correspond to a maximum. The small inserts display in the (y,z)- plane the trace of the corresponding sets of points. Circles of different radii are also plotted to help the reading

In the standard case where T 1T 2, this leads to the condition 2T 1≥3T 2. The time-optimal solution is thus the concatenation of bang arcs, denoted B where the intensity of the field is maximum (here infinite) and of singular arcs. We refer the reader to previous works for a thorough mathematical and physical analysis of this control process [7, 37, 41, 42], but according to the constraint given below, the horizontal singular arcs can only be used if the condition 2T 1≥3T 2 is satisfied. An example is given in Fig. 3 for the saturation process where the goal is to reach as fast as possible the center of the Bloch ball. According to the values of the relaxation parameters T 1 and T 2, we observe that two different control sequences are used. In the first situation, the optimal control law is composed of a bang pulse followed by two singular arcs, a horizontal and a vertical one. In the second case, an inversion pulse is used to reach the south pole before the application of a zero control along the z- axis. It can be shown that the analytical expression of the corresponding minimum times are given by:

$$T_{min}=\frac{T_{2}}{2}\ln \left(1-\frac{2}{\alpha T_{2}}\right)+T_{1}\ln \left(\frac{2T_{1}-T_{2}}{2(T_{1}-T_{2})}\right), $$

where \(\alpha =\frac {T_{2}(T_{2}-2T_{1})}{2T_{1}(T_{1}-T_{2})^{2}}\) and

$$T_{min}=T_{1} \ln 2 $$

in the first and second cases, respectively.

Fig. 3

(Color online) Time-optimal trajectory to reach the center of the Bloch ball (y,z)=(0,0) from the north pole

A straightforward generalization of this study allows us to design the optimal field bringing in minimum time the system from any initial point to any target state of the Bloch ball, leading to a complete description and understanding of this optimal control problem. Such a classification of all the optimal trajectories is called an optimal synthesis [14]. In each case, we recall that the time-optimal solution can only be the concatenation of different bang arcs and of singular paths along the z- axis or along the line z=z 0.

2.3 Optimization of the SNR in the unbounded case

We have now all the tools in hand to optimize the SNR. This optimization is a non-standard and difficult control problem for which a cost functional Q has to be maximized, together with the determination of the initial S and final M points of the control period. Only the position of one of the two points needs to be computed since the S and the M points are connected by a free evolution. Following Refs. [38, 39], we adopt a brute-force strategy to solve this problem, which consists in replacing this global optimization by a two-step procedure. For any M point of coordinates (y m ,z m ) of the Bloch ball, we first determine as explained in Section 2.2 the time-optimal path going from S to M and we compute the corresponding value of the figure of merit Q. Only five types of control sequences can be optimal. According to the values of the relaxation parameters, only three different optimal syntheses are obtained, as displayed in Fig. 4. We observe the occurring of the Ernst ellipsoid, which is the set of points where R m =R s (the radii of the M and S points), i.e. the control sequence where only a δ- pulse is used to bring the system from S to M.

Fig. 4

(Color online) (Color online) Plot in the top-left and bottom panels of three possible steady-state syntheses. The synthesis in the top right is the transition from the top-left to the right-left cases. The parameters (Γ,γ) are respectively taken to be (1.90,0.5), (1.80,1), and (1.69,1.5), from top to bottom and left to right. The color code and the small insert indicate the control law used according to the position of the M point in the Bloch ball. The Bloch limit represents the circle of equation y 2+z 2=1. The times 0 and T correspond respectively to the initial and final times of the control field. The different quantities are unitless. The different quantities are unitless

In this unbounded situation, the functional Q can also be determined analytically as a function of the coordinates of M [38, 39]. Mathematically, Q is a non-smooth but continuous surface. This surface is represented in Fig. 5 for the four cases of Fig. 4.

Fig. 5

(Color online) Figure of merit surface Q(y m ,z m ) associated with the steady-state syntheses of Fig. 4. The solid, dashed and dot-dashed lines represent the boundaries between the different regions of the Bloch ball where the control law is not the same. The definition of these lines is given in Fig. 4

A gradient method gives the maximum of this surface, which belongs to the Ernst ellipsoid. This point can be characterized by the well-known Ernst angle solution:

$$ \cos\theta=\frac{e^{-\gamma}+e^{-\Gamma}}{1+e^{-\Gamma-\gamma}}, $$

which was first derived in the original paper by Ernst and his co-workers [24]. The angle θ denotes here the angle characterizing the δ- pulse of the Ernst sequence.

This first result of optimality on the SNR per unit time paves the way in a near future to a systematic analysis of the optimization of this parameter in spin systems. This method can be generalized to the case of bounded control amplitudes, the use of crusher gradient pulses, to an inhomogeneous ensemble of spins with magnetic field broadening, or to any other experimental constraint. Other aspects will be discussed in the conclusion of the paper.

Numerical optimal control of the contrast in MRI

In this section, a numerical solution of the contrast optimization problem is presented. Contrast in MRI is a key parameter to visualize and interpret the anatomy and bio-chemical properties of potentially malign tissues. In clinical practice, contrast is usually empirically handled by tuning few acquisition parameters. This approach is however strongly radiologist dependent, only provides limited contrast combinations and offers no guarantee about the optimal nature of the created contrast. The objective of this study is to compute the radio-frequency (RF) magnetic pulse which optimally combines the effect of excitation and relaxation of the spins to produce the maximal signal difference between 2 tissues with different relaxation times. We recall that signal in MRI is directly linked to the norm of the transverse magnetization vector \(\vec {M}\), denoted \(\vec {M}_{\perp }=(M_{x},M_{y},0)\). Geometric approaches have been proposed to solve this problem for different tissues for spins precessing at the nominal Larmor frequency [6, 10, 43]. For the application on a realistic MRI system, it is essential to account for magnet imperfections which induce various resonance frequency offsets. In this case, each isochromat is characterized by a magnetization vector \(\vec {M}(\omega)=(M_{x}(\omega),M_{y}(\omega),M_{z}(\omega))\) whose dynamics is governed by the following differential system:

$$ {} \left\{ \begin{array}{rl} \dot{M}_{x}(\omega) &= -\omega M_{y}(\omega)-2\pi M_{x}(\omega)/T_{2} + \omega_{y} M_{z}(\omega)\\ \dot{M}_{y}(\omega) &= \omega M_{x}(\omega)- 2\pi M_{y}(\omega)/T_{2} - \omega_{x} M_{z}(\omega)\\ \dot{M}_{z}(\omega) &= 2\pi (M_{0} - M_{z})/T_{1} - \omega_{y} M_{x}(\omega) + \omega_{x} M_{y}(\omega), \end{array}\right. $$

where the offset term ω belongs to a given interval [ω min ,ω max ]. From a numerical point of view, this control problem is solved by digitizing the distribution of the isochromats. However, the resulting dimensionality increase (several thousands of spins) makes the geometric solution inapplicable, and requires the use of numerical approaches to solve the problem. We also mention that a similar robustness approach can be applied for T 1 and T 2 deviations as well as control field inhomogeneities. This section details an example of a contrast experiment, from the optimal control formulation to the in vivo acquisition of a rat brain image.

3.1 Numerical optimization

Several numerical schemes have been proposed to solve optimal control problems, including shooting methods [8, 9], Krotov methods [60] and gradient ascent (or descent) based approaches [21, 32]. This work illustrates a practical application of the gradient ascent pulse engineering (GRAPE) algorithm. The application of the algorithm requires the temporal discretization of the control field, where each time step represents an optimization variable. In its simplest version, this algorithm updates each control field time step by minimizing the user-defined cost function at each iteration, while fulfilling the constraints imposed by the Pontryagin Maximum Principle (PMP). The cost function minimization is performed by applying a step in the direction of the cost function gradient with respect to the control field. The reader is referred to [21, 32] for explicit details on the gradient computation. Convergence is reached when the gradient and/or the step norms are bellow a user-defined threshold. Note that unlike the geometric methods, the global nature of the minimum cannot be claimed and global or local minimum is only reached within a certain tolerance. This tolerance is set in accordance with the experimental requirements so that additional improvements of the control field have a negligible impact on the experimental result. The control field initialization also impacts the nature of the minimum. Multiple trials or prior insights on the solution can be used to find the global minimum and to improve the convergence of the algorithm.

The cost function (\(\mathcal {C}\)) that optimizes the contrast must maximize the difference between the transverse magnetization norms of 2 samples a and b, at the end of the control time (t=t f ). The two species are characterized by different relaxation times T 1 and T 2. It is arbitrarily chosen here that the signal of the samples a and b are respectively maximized and minimized. Note that other definitions of the contrast could be chosen. Static field inhomogeneities lead to different resonance frequency offsets which in turn result in different trajectories in the Bloch ball, that must be accounted for in the definition of the cost function. This can be done by sampling the frequency offset interval in N samples, where each point corresponds to a given trajectory. The cost function thus enforces all trajectories in the considered interval to have similar behaviors:

$$ \mathcal{C} = \frac{1}{N}\sum\limits_{i=1}^{N} \left[\left\Vert \overrightarrow{M_{b}}_{\perp}^{(i)}(t_{f})\right \Vert - \left\Vert \overrightarrow{M_{a}}_{\perp}^{(i)}(t_{f})\right \Vert \right] $$

3.2 Example of the rat muscle/brain contrast

To illustrate the impact of optimal contrast pulses, a RF pulse is computed to optimize the contrast between the rat brain (minimize) and surrounding muscles (maximize). This example was chosen as a proof-of-concept because it cannot be created with standard contrast strategies, due to the short transverse relaxation time (T 2) of the muscle tissues [3]. The following experiment is performed in agreement with the UCBL’s ethic committee on animal experimentation, on a 4.7 T Bruker MR system. Average relaxation times of both structures, as well as the offset inhomogeneity range are estimated by standard MR sequences [45]. Longitudinal (T 1) and transverse (T 2) relaxation times are respectively estimated to be [920, 60] ms for the brain and [1011, 30] ms for the muscle. The resonance offset range is of the order of 1 kHz. In order to handle slice selectivity, i.e. the location of the image section plane [3], standard MRI excitation schemes are used [3, 59]. The optimal pulse is thus used as a contrast preparation pulse, implying that the contrast is prepared on the longitudinal axis (M z ). Only a slight change in the cost function is required to apply this modification [59]. The prepared magnetization is subsequently flipped into the transverse plane with a slice-selective π/2-pulse. We recall that the MRI signal is proportional to the amount of transverse magnetization, i.e. the tissue with the highest |M z | at the end of the preparation will produce higher intensity in the MR image. The magnitude of the resulting optimized pulse is shown in Fig. 6, together with the magnetization trajectories of the contrasted tissues. Magnetization trajectories are represented in a plane formed by the normalized transverse (M ) and longitudinal (M z ) magnetization.

Fig. 6

(Color online) Left: Amplitude of the optimal RF pulse in a log scale graph. Right: Magnetization trajectories of the brain and muscle tissues. Each trajectory represents a specific resonance frequency offset in the interval [-400 Hz, 400 Hz]. A sampling rate of 40 Hz is considered to discretize this interval. Star markers represent the ending point (at time t=t f ) of each trajectory

In this figure, different trajectories represent a specific frequency offset. Notice how all trajectories of a given tissue start from the thermal equilibrium (\(\overrightarrow {M_{0}}\) = (0, 0, 1)) and reach the same final magnetization state despite important trajectory disparities. This validates the pulse robustness against resonance offset variations. It can be observed that the brain is saturated at the end of the pulse, i.e. that trajectories reach the center of the Bloch sphere, while a significant amount of longitudinal magnetization is left for the muscle tissues. This implies that unlike muscle tissues, brain tissues will have a very low contribution to the acquired MRI signal. The corresponding acquired MR image is shown in Fig. 7. As expected, the average tissue intensity within the brain is much lower than the surrounding muscles.

Fig. 7

Transverse section of a rat brain showing the result of the optimal pulse. The aim of the control is to saturate the brain while maximizing the intensity of the surrounding muscle tissues

Interestingly, some internal brain structures can be distinguished. It corresponds to structures whose relaxation times slightly differ from the major brain components which are mostly gray matter. In particular, the corpus callosum, the largest white matter structure in the brain, can be observed as an hypersignal element. As white matter has a lower T 2 than gray matter [22], this validate the ability of the optimal pulse to enhance short T 2 tissues. This particular contrast opens interesting perspectives in both pre-clinical and clinical neuro-imaging applications since white matter usually appears in hyposignal due to its short T 2. Such a contrast, keeping in mind its optimal nature, could help to improve the visualization of white matter in the human brain, which is a key factor in actual clinical challenges such as the effect of aging or Alzheimer disease [4]. This approach could also be used to highlight the differences between the structures of the brain.


In MRI, there exists an immense potential for improvement as well as for reduction of the energy deposit and time a patient has to spend in a scanner during an examination. In this work, we have presented two benchmark examples showing the efficiency of this technique. In the ideal case of a homogeneous ensemble of spin systems, we have demonstrated the optimality in the limit of unbounded controls of the Ernst angle solution, derived in the sixties, to enhance the SNR. Numerical optimization techniques were used to illustrate the possibility of maximizing the contrast of the image in MRI by using a particular pulse sequence. This approach was applied with success theoretically and experimentally on the brain of a rat. We emphasize that one of the main advantages of this contrast enhancement is its general character since the optimal control magnetic fields can be computed with standard routines published in the literature and implemented on a MRI scanner without requiring specific materials and process techniques. An important issue is the use of this method in clinics to optimize the contrast of human body imaging. We anticipate that this technique could be a complementary tool to contrast agents whose successful application has been an important aspect of the development of MRI in recent years. The joint use of these two methods could therefore limit the concentration of contrast agents needed for the imaging, which could be beneficial to the patient.

These two examples validate the potential of optimal control as an accurate pulse design tool to solve non-trivial practical problems in MRI. This ability can be extended to other contexts in MRI, as shown very recently in [44] with the introduction of optimal control pulses for magnetization phase control in MRI. There is a huge interest for accurate phase control in many important applications in MRI, such as diffusion imaging, thermometry and elastography, to improve the signal sensitivity to specific bio-markers.

The use of optimal control for these applications relies on further developments in robust optimal control analytic and numerical tools, accurate modeling of the MR physics and tailored acquisition sequences, that will further improve existing MR methods and approach the system’s physical limits.


  1. 1

    Aigner, CS, Clason, C, Rund, A, Stollberger, R: Efficient high resolution rf pulse design applied to simultaneous multi-slice excitation. J. Magn. Reson. 263, 33 (2016).

    Article  Google Scholar 

  2. 2

    Assémat, E, Lapert, M, Zhang, Y, Braun, M, Glaser, SJ, Sugny, D: Simultaneous time-optimal control of the inversion of two spin-\(\frac {1}{2}\) particles. Phys. Rev. A. 82(1), 013415 (2010).

    Article  Google Scholar 

  3. 3

    Bernstein, MA, King, KF, Zhou: Handbook of MRI Pulse Sequences. Elsevier, Burlington-San Diego-London, London (2004).

    Google Scholar 

  4. 4

    Black, S, Gao, F, Bilbao, J: Understanding white matter disease. Stroke. 40(3 suppl 1), 48–52 (2009).

    Article  Google Scholar 

  5. 5

    Bonnard, B, Chyba, M: Singular Trajectories and Their Role in Control Theory, Mathematics and applications, vol. 40 edn. Springer, Berlin (2003).

    Google Scholar 

  6. 6

    Bonnard, B, Chyba, M, Marriott, J: Singular trajectories and the contrast imaging problem in nuclear magnetic resonance. SIAM J. Control. Optim. 51(2), 1325–1349 (2013).

    MathSciNet  Article  MATH  Google Scholar 

  7. 7

    Bonnard, B, Chyba, M, Sugny, D: Time-minimal control of dissipative two-level quantum systems: The generic case. IEEE Trans. Automat. Control. 54(11), 2598–2610 (2009).

    MathSciNet  Article  MATH  Google Scholar 

  8. 8

    Bonnard, B, Claeys, M, Cots, O, Martinon, P: Geometric and numerical methods in the contrast imaging problem in nuclear magnetic resonance. Acta Applicandae Math. 135(1), 5–45 (2014).

    MathSciNet  Article  MATH  Google Scholar 

  9. 9

    Bonnard, B, Cots, O: Geometric numerical methods and results in the contrast imaging problem in nuclear magnetic resonance. Math. Model. Methods Appl. Sci. 24(01), 187–212 (2014).

    MathSciNet  Article  MATH  Google Scholar 

  10. 10

    Bonnard, B, Cots, O, Glaser, SJ, Lapert, M, Sugny, D, Zhang, Y: Geometric optimal control of the contrast imaging problem in nuclear magnetic resonance. IEEE IEEE Trans. Autom. Control. 57(8), 1957–1969 (2012).

    MathSciNet  Article  MATH  Google Scholar 

  11. 11

    Bonnard, B, Sugny, D: Time-minimal control of dissipative two-level quantum systems: The integrable case. SIAM J. Control Optim. 48(3), 1289–1308 (2009).

    MathSciNet  Article  MATH  Google Scholar 

  12. 12

    Bonnard, B, Sugny, D: Optimal Control with Applications in Space and Quantum Dynamics vol. 5. AIMS: Applied mathematics, New York (2012).

    Google Scholar 

  13. 13

    Boscain, U, Mason, P: Time minimal trajectories for a spin 1/2 particle in a magnetic field. J. Math. Phys. 47(6), 062101 (2006).

    MathSciNet  Article  MATH  Google Scholar 

  14. 14

    Boscain, U, Picolli, B: Optimal Syntheses for Control Systems on 2-D Manifolds vol. 43. 29 B. Springer, Berlin (2004).

    Google Scholar 

  15. 15

    Brif, C, Chakrabarti, R, Rabitz, H: Control of quantum phenomena: Past, present and future. New J. Phys. 12(7), 075008 (2010).

    Article  Google Scholar 

  16. 16

    Bryson, AJ, Ho, Y-C: Applied Optimal Control. Hemisphere, Washington, DC (1975).

    Google Scholar 

  17. 17

    Conolly, S, Nishimura, D, Macovski, A: Optimal control methods in NMR spectroscopy. IEEE Trans. Med. Imaging. MI-5, 106–115 (1986).

    Article  Google Scholar 

  18. 18

    D’Alessandro, D: Introduction to Quantum Control and Dynamics, Applied mathematics and nonlinear science series edn. Chapman and Hall, Boca Raton (2008).

    Google Scholar 

  19. 19

    D’Alessandro, D, Dahled, M: Optimal control of two-level quantum systems. IEEE Trans. Automat. Control. 46(6), 866–876 (2001).

    MathSciNet  Article  MATH  Google Scholar 

  20. 20

    Daems, D, Ruschhaupt, A, Sugny, D, Guérin, S: Robust quantum control by a single-shot shaped pulse. Phys. Rev. Lett. 111, 050404 (2013).

    Article  Google Scholar 

  21. 21

    de Fouquiere, P, Schirmer, SG, Glaser, SJ, Kuprov, I: Second order gradient ascent pulse engineering. J. Magn. Reson. 212, 412 (2011).

    Article  Google Scholar 

  22. 22

    de Graaf, RA, Brown, PB, McIntyre, S, Nixon, TW, Behar, KL, Rothman, DL: High magnetic field water and metabolite proton T1 and T2 relaxation in rat brain in vivo. Magn. Reson. Med. 56(2), 386–394 (2006).

    Article  Google Scholar 

  23. 23

    Dong, D, Petersen, IA: Quantum control theory and applications: A survey. IET Control Theory A. 4(12), 2651–2671 (2010).

    MathSciNet  Article  Google Scholar 

  24. 24

    Ernst, RR, Anderson, WA. Rev. Sci. Instrum. 37, 93 (1966).

    Article  Google Scholar 

  25. 25

    Ernst, RR, Bodenhausen, G, Wokaun, A: Principles of Nuclear Magnetic Resonance in One and Two Dimensions vol. 14. Clarendon Press, Oxford (1987).

    Google Scholar 

  26. 26

    Garon, A, Glaser, SJ, Sugny, D: Time-optimal control of SU(2) quantum operations. Phys. Rev. A. 88, 043422 (2013).

    Article  Google Scholar 

  27. 27

    Glaser, SJ, Boscain, U, Calarco, T, Koch, CP, Kockenberger, W, Kosloff, R, Kuprov, I, Luy, B, Schirmer, S, Schulte-Herbrüggen, T, Sugny, D, Wilhelm, FK: Training schrödinger’s cat: Quantum optimal control. Eur. Phys. J. D. 69, 279 (2015).

    Article  Google Scholar 

  28. 28

    Gershenzon, NI, Kobzar, K, Luy, B, Glaser, SJ, Skinner, TE: Optimal control design of excitation pulses that accomodate relaxation. J. Magn. Reson. 188, 330 (2007).

    Article  Google Scholar 

  29. 29

    Jurdjevic, V: Geometric Control Theory. Cambridge University Press, Cambridge, Cambridge (1997).

    Google Scholar 

  30. 30

    Khaneja, N, Brockett, R, Glaser, SJ: Time optimal control in spin systems. Phys. Rev. A. 63, 032308 (2001).

    Article  Google Scholar 

  31. 31

    Khaneja, N, Glaser, SJ, Brockett, R: Sub-Riemannian geometry and time optimal control of three spin systems: Quantum gates and coherence transfer. Phys. Rev. A. 65, 032301 (2002).

    MathSciNet  Article  Google Scholar 

  32. 32

    Khaneja, N, Reiss, T, Kehlet, C, Schulte-Herbrüggen, T, Glaser, SJ: Optimal control of coupled spin dynamics: design of NMR pulse sequences by gradient ascent algorithms. J. Magn. Reson. 172(2), 296–305 (2005).

    Article  Google Scholar 

  33. 33

    Kobzar, K, Skinner, TE, Khaneja, N, Glaser, SJ, Luy, B: Exploring the limits of broadband excitation and inversion pulses. J. Magn. Reson. 170, 236 (2004).

    Article  Google Scholar 

  34. 34

    Kobzar, K, Skinner, TE, Khaneja, N, Glaser, SJ, Luy, B: Exploring the limits of excitation and inversion pulses ii: Rf-power optimized pulses. J. Magn. Reson. 194, 58 (2008).

    Article  Google Scholar 

  35. 35

    Kobzar, K, Ehni, S, Skinner, TE, Glaser, SJ, Luy, B: Exploring the limits of broadband 90 and 180 universal rotation pulses. J. Magn. Reson. 225, 142 (2012).

    Article  Google Scholar 

  36. 36

    Krotov, VF: Global Methods in Optimal Control. Marcel Dekker, New-York (1996).

    Google Scholar 

  37. 37

    Lapert, M, Assémat, E, Glaser, SJ, Sugny, D: Understanding the global structure of two-level quantum systems with relaxation: Vector fields organized through the magic plane and the steady-state ellipsoid. Phys. Rev. A. 88, 033407 (2013).

    Article  Google Scholar 

  38. 38

    Lapert, M, Assémat, E, Glaser, SJ, Sugny, D: Optimal control of the signal-to-noise ratio per unit time for a spin-1/2 particle. Phys. Rev. A. 90, 023411 (2014).

    Article  Google Scholar 

  39. 39

    Lapert, M, Assémat, E, Glaser, SJ, Sugny, D: Optimal control of the signal-to-noise ratio per unit time of a spin 1/2 particle: The crusher gradient and the radiation damping cases. J. Chem. Phys. 142, 044202–19 (2015).

    Article  Google Scholar 

  40. 40

    Lapert, M, Salomon, J, Sugny, D: Time-optimal monotonically convergent algorithm with an application to the control of spin systems. Phys. Rev. A. 85, 033406 (2012).

    Article  Google Scholar 

  41. 41

    Lapert, M, Zhang, Y, Braun, M, Glaser, SJ, Sugny, D: Singular extremals for the time-optimal control of dissipative spin \(\frac {1}{2}\) particles. Phys. Rev. Lett. 104, 083001 (2010).

    Article  Google Scholar 

  42. 42

    Lapert, M, Zhang, Y, Glaser, SJ, Sugny, D: Towards the time-optimal control of dissipative spin 1/2 particles in nuclear magnetic resonance. J. Phys. B: At., Mol. Opt. Phys. 44, 154014 (2011).

    Article  Google Scholar 

  43. 43

    Lapert, M, Zhang, Y, Janich, M, Glaser, SJ, Sugny, D: Exploring the physical limits of saturation contrast in magnetic resonance imaging. Sci. Rep. 2, 589 (2012).

    Article  Google Scholar 

  44. 44

    Lefebvre, PM, Van Reeth, E, Ratiney, H, Beuf, O, Brusseau, E, Lambert, SA, Glaser, SJ, Sugny, D, Grenier, D, Tse Ve Koon, K: Active Control of the Spatial MRI Phase Distribution with Optimal Control Theory. J. Magn. Reson. 281, 82–93 (2017).

    Article  Google Scholar 

  45. 45

    Levitt, MH: Spin Dynamics: Basics of Nuclear Magnetic Resonance. Wiley, New York (2008).

    Google Scholar 

  46. 46

    Machnes, S, Sander, U, Glaser, SJ, de Fouquieres, P, Gruslys, A, Schirmer, S, Schulte-Herbrüggen, T: Comparing, optimising and benchmarking quantum control algorithms in a unifying programming framework. Phys. Rev. A. 84, 022305 (2011).

    Article  Google Scholar 

  47. 47

    Massire, A, Cloos, MA, Vignaud, A, Bihan, DL, Amadon, A, Boulant, N: Design of non-selective refocusing pulses with phase-free rotation axis by gradient ascent pulse engineering algorithm in parallel transmission at 7 t. J. Magn. Reson. 230, 76 (2013).

    Article  Google Scholar 

  48. 48

    Mukherjee, V, Carlini, A, Mari, A, Caneva, TSM, Carlarco, T, Fazio, R, Giovannetti, V: Speeding up and slowing down the relaxation of a qubit by optimal control. Phys. Rev. A. 88, 062326 (2013).

    Article  Google Scholar 

  49. 49

    Nielsen, NC, Kehlet, C, Glaser, SJ, Khaneja, N: Optimal control methods in NMR spectroscopy. Encycl. Nucl. Magn. Reson. 9, 100 (2010).

    Google Scholar 

  50. 50

    Pontryagin, LS, Boltyanskii, VG, Gamkrelidze, RV, Mishchenko, EF: The Mathematical Theory of the Optimal Process. Wiley-Interscience, New-York (1962).

    Google Scholar 

  51. 51

    Reich, D, Ndong, M, Koch, CP: Monotonically convergent optimization in quantum control using Krotov’s method. J. Chem. Phys. 136, 104103 (2012).

    Article  Google Scholar 

  52. 52

    Ruschhaupt, A, Chen, X, Alonso, D, Muga, JG: Optimally robust shortcuts to population inversion in two-level quantum systems. New J. Phys. 14(9), 093040 (2012).

    Article  Google Scholar 

  53. 53

    Sbrizzi, A, Hoogduin, H, Hajnal, JV, van der Berg, CA, Luijten, PR: Optimal control design of turbo spin-echo sequences with applications to parallel-transmit systems. Magn. Reson. Med. 77, 361 (2017).

    Article  Google Scholar 

  54. 54

    Skinner, TE, Reiss, TO, Luy, B, Khaneja, N, Glaser, SJ: Application of optimal control theory to the design of broadband excitation pulses for high resolution nmr. J. Magn. Reson. 163, 8 (2003).

    Article  Google Scholar 

  55. 55

    Skinner, TE, Reiss, TO, Luy, B, Khaneja, N, Glaser, SJ: Reducing the duration of broadband excitation pulses using optimal control with limited rf amplitude. J. Magn. Reson. 167, 68 (2004).

    Article  Google Scholar 

  56. 56

    Skinner, TE, Reiss, O, Luy, B, Khaneja, N, Glaser, SJ: Tailoring the optimal control cost function to a desired output: Application to minimizing phase errors in short broadband excitation pulses. J. Magn. Reson. 172, 17 (2005).

    Article  Google Scholar 

  57. 57

    Skinner, TE, Kobzar, K, Luy, B, Bendall, R, Bermel, W, Khaneja, N, Glaser, SJ: Optimal control design of constant amplitude phase-modulated pulses: Application to calibration-free broadband excitation. J. Magn. Reson. 179, 241 (2006).

    Article  Google Scholar 

  58. 58

    Tosner, Z, Vosegaard, T, Kehlet, CT, Khaneja, N, Glaser, SJ, Nielsen, NC: Optimal control in nmr spectroscopy: Numerical implementation in simpson. J. Magn. Reson. 197, 120 (2009).

    Article  Google Scholar 

  59. 59

    Van Reeth, E, Ratiney, H, Tesch, M, Grenier, D, Beuf, O, Glaser, SJ, Sugny, D: Optimal control design of preparation pulses for contrast optimization in mri. J. Magn. Reson. 279, 39–50 (2017).

    Article  Google Scholar 

  60. 60

    Vinding, MS, Maximov, II, Tošner, Z, Nielsen, NC: Fast numerical design of spatial-selective rf pulses in mri using krotov and quasi-newton based optimal control methods. J. Chem. Phys. 137, 054203 (2012).

    Article  Google Scholar 

  61. 61

    Xu, D, King, KF, Zhu, Y, McKinnon, GC, Liang, Z-P: Designing multichannel, multidimensional, arbitrary flip angle rf pulses using an optimal control approach. Magn. Reson. Med. 59, 547 (2008).

    Article  Google Scholar 

  62. 62

    Zhang, Y, Lapert, M, Sugny, D, Braun, M, Glaser, SJ: Time-optimal control of spin 1/2 particles in the presence of radiation damping and relaxation. J. Chem. Phys. 134, 054103 (2011).

    Article  Google Scholar 

Download references


This work is supported by the ANR-DFG research program Explosys (Grant No. ANR-14-CE35-0013-01; GL203/9-1) and from the Technische Universität München Institute for Advanced Study, funded by the German Excellence Initiative and the E. U. Seventh Framework Programme under Grant No. 291763. This work was performed within the framework of the LABEX PRIMES (ANR-11-LABX-0063/ ANR-11-IDEX-0007). M.L. acknowledges support from the Bayerische Forschungsstiftung.

Author information




All authors contributed to the writing of the paper. DS and SJG contributed to the theoretical and numerical analysis of the results. Numerical computations have been done by ML and EV-R, the experimental work and the acquisition of the data were performed by EV-R and HR. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Dominique Sugny.

Ethics declarations

Competing interests

The authors declare that they have no competing interests.

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (, which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Van Reeth, E., Ratiney, H., Lapert, M. et al. Optimal control theory for applications in Magnetic Resonance Imaging. Pac. J. Math. Ind. 9, 9 (2017).

Download citation


  • Optimal control theory
  • Spin dynamics
  • Magnetic resonance imaging