Modelling and Control of TCV - Infoscience - EPFL

5 downloads 0 Views 1006KB Size Report
[8], where a Lagrangian approach to tokamak modelling was introduced. ... [12], a multi-variable normalised coprime factor А∞ controller is designed using a simple ...... D. Ward, “The control of Tokamak Configuration Variable plasmas,” Fu-.
IEEE TRANSACTIONS ON CONTROL SYSTEMS TECHNOLOGY, VOL. XX, NO. Y, MONTH 2003

1

Modelling and Control of TCV Atul S. Sharma , David J.N. Limebeer , Imad M. Jaimoukha , Jonathan B. Lister

Abstract—A new approach to the modelling and control of tokamak fusion reactors is presented. A nonlinear model is derived using the classical arguments of Hamiltonian mechanics and a loworder linear model is derived from it. The modelling process used here addresses flux and energy conservation issues explicitly and self-consistently. The model is of particular value, because it shows clearly the relationship between the initial modelling assumptions and the resulting predictions. The mechanisms behind the creation of uncontrollable modes in tokamak models are discussed. A normalised coprime factorisation controller is developed for the TCV tokamak1 using a linearised version of the model, which has been extensively verified on the TCV and JT-60U2 tokamaks. Recent theory is applied to reduce the controller order significantly whilst guaranteeing a priori bounds on the robust stability and performance. The controller is shown to track successfully reference signals that dictate the plasma’s shape, position and current. The tests used to verify this were carried out on linear and nonlinear models.

transformer yoke coils for plasma position control and coils of primary winding transformer

½

Index Terms—control systems,

½ control, model reduction.

I. I NTRODUCTION The tokamak was conceived by the Russian scientists Tamm and Sakharov, winners of the Nobel Physics and Peace Prizes respectively. A tokamak 3 is a toroidal device (see Figure 1) that uses magnetic fields to confine a similarly shaped, hot plasma (typically up to   K). This method of confinement exploits the fact that plasmas are made up of free electrons and ions. As a result the plasma can be confined using electromagnetic forces generated by external fields. This external magnetic field has two components. The large toroidal field is produced by a set of poloidally wound coils equally spaced around the vacuum vessel and the smaller poloidal field comes from the induced plasma current. The resultant field is helical as shown schematically in Figure 1. As a source of power, nuclear fusion has a number of attractive features. The fuels are abundant, there are no long-lived radioactive isotopes produced and it is inherently safe. Nuclear fusion does not contribute to the emission of gases causing the greenhouse effect, or acid rain. At the time of writing, the tokamak is the most promising route to a viable fusion reactor. The basic characteristics of tokamak equilibria, as described by the Grad-Shafranov equation, are well understood [1] and the theory is relatively accessible [2]. In order to model the

£

Department of Electrical and Electronic Engineering, Imperial College of Science, Technology and Medicine, Exhibition Road, London SW7 2BT, United Kingdom.  Centre de Recherches en Physique des Plasmas, Ecole ´ Polytechnique F´ed´erale de Lausanne, Association EURATOM-Suisse, 1015 Lausanne, Switzerland.  at the CRPP-EPFL in Lausanne, Switzerland.  at JAERI in, Naka, Japan  from the Russian ‘toroidalnaya kamera magnitnaya katushka’, literally ‘toroidal chamber, magnetic coils’

          I

vacuum vessel

 diagnostic port

p

poloidal coils

          Bφ



B

v

plasma column

φ

helical field lines

Fig. 1. A diagram of a typical tokamak. Note that the TCV tokamak does not have an iron core (transformer yoke), and has eighteen poloidal field (PF) coils for position and shape control.

gross dynamic behaviour it is possible to make a number of approximations that are accurate enough to provide a basis for robust controller design. A number of linearised models suitable for control system design have already been developed. In the case of the CREATE-L we refer the reader to [3]. Broadly comparable studies have been performed on DIII-D 4 [4], [5], and on TCV [6], [7]. Our modelling research is motivated by the facts that improved models will both further our physical understanding and lead to control systems that extend the operating regimes of existing and future tokamaks such as ITER. We present a lumped-parameter model that is derived using the established processes of classical Hamiltonian mechanics. For the purposes of model-based controller design, this model can be linearised about any prescribed equilibrium state. As compared with the current art, this model has several distinct features. To begin, flux and energy conservation issues are treated explicitly and self-consistently. In [3], for instance, plasma profile parameters are considered as disturbances, which the authors acknowledge is not self-consistent. Previous derivations of the RZIP-type models [6] have also not considered conservation laws in a self-consistent manner. The consistency issue was first addressed in our previous work [8], where a Lagrangian approach to tokamak modelling was introduced. The derivation presented here results in a linear model similar to those presented in [6] and [8]. This generalised class of lumped-parameter models have been extensively validated against the open-loop response of TCV [6] and the larger, hotter JT-60U machine [8]. An earlier, musch simpler lumped-parameter model describing only the vertical motion of

 at the General Atomics National Fusion Facility in San Diego, USA

2

IEEE TRANSACTIONS ON CONTROL SYSTEMS TECHNOLOGY, VOL. XX, NO. Y, MONTH 2003

the plasma using an eigenmode description of the passive structures, was validated on DIII-D [9]. Evidence for shortcomings of the RZIP approach exist only for very triangulated plasmas [7], in which case the deformability of the plasma may play a role. However, in the case of the linearised model, a parametric modelling approach can overcome this limitation [8]. We believe that the modelling theory we present here is of particular value, because it shows clearly the relationship between the initial assumptions and the final model. For instance, it becomes obvious that the adiabatic approximation is a natural result of assuming a massless plasma. The next generation of tokamaks will operate on longer time-scales, where plasma resistance effects will become important. Following from [6] and [8], the model presented in this paper considers fully the effects of plasma resistance, showing how to incorporate resistance and mass into the model from the initial stages, if required. The known necessity of current ramping is clearly explained in terms of plasma resistance, as is the creation of uncontrollable modes when a superconducting plasma is assumed. Also, it becomes clear why the use of flux coordinates becomes problematic when plasma resistance is introduced. A mixed PID- ½ controller has already been designed for COMPASS-D [10] and this methodology was developed and then successfully implemented on TCV [11]. The control scheme was based on the CREATE-L model presented in [3]. In [12], a multi-variable normalised coprime factor ½ controller is designed using a simple single-filament model of the DIII-D tokamak. High-order ½ controllers can present their own implementation problems. The usual approach is to design the ½ controller about a reduced-order model. In the present paper we develop a reduced-order normalised coprime factor controller for TCV that exploits results presented in [13]. We show that this controller extends the performance of the existing PID schemes [7] and [14]. This approach guarantees both the stability of the closed-loop (via an a priori bound condition) and the closed-loop performance via an a priori performance bound [13]. In this paper we apply the theory in [13] to the full ½ controller developed for TCV, reducing the controller order from 76 to 18 without a significant loss of performance or robustness. Successful closed-loop tests are performed with the PROTEUS nonlinear tokamak simulation code. The remaining verification step will involve hardware tests on the TCV machine itself.

z φ

Fig. 2. The plasma is represented by a number of current-carrying elements. The cylindrical coordinate system (  ) is shown.



ik



Fig. 3. A plasma current element

axis (see Figure 2). When deriving the model, we will make the following assumptions:

¯ ¯ ¯



II. A H AMILTONIAN T OKAMAK M ODEL The aim of this section is to develop a dynamic model of the tokamak using established arguments from Hamiltonian mechanics [15]. The development builds on from that given in [8]. The main components of the model are the poloidal field coils, the passive structure, which carries eddy currents, and the plasma. The poloidal field coils are driven by external voltage sources, while the eddy currents in the passive structure are electromagnetically induced. A cylindrical coordinate system is used, with  the radial coordinate,  the vertical coordinate and  the angular coordinate describing rotation around the  -

2ak

Rk





R

¯

The system is symmetric around the  -axis (axisymmetry); Poloidal currents are ignored; The tokamak structure will be represented by a finite set of toroidal circuits. We also assume that: – These circuits are fixed in space and have finite resistance; – The toroidal currents in the structure may vary in time; The plasma is represented by a finite number of axisymmetric current carrying elements that have a circular crosssection (see Figure 2). In addition, the filaments will each: – carry current that may be time varying; – be free to move axisymmetrically; – have finite mass and resistance that are assumed constant.

A. The energy functions In the next phase of the modelling process we will select the generalised coordinates and introduce external voltages into the potential energy function. Consistent with the modelling assumptions, we define the

3

generalised coordinates  via

B. The plasma internal energy

We will see later that the internal energy  varies as   . As such, we can express it as

        

¼      



The vector   contains the currents in the plasma  elements,   is a vector of structure currents and  

 is a vector of po

sition coordinates associated with the plasma current elements. Next, we introduce the inductance-mass matrix:

    

  ¼  



 



 

       

  



 



¼

    ¼    

 





    ¼ 





 (6)

   

¼  ¼  



¼  

(7)



We now eliminate  using (6), to obtain the Hamiltonian in terms of ,  and :

     ¼        ¼



¼   

  

(2) The relation



¼ ¼     

(3)

The term containing  is the total energy dissipated from time  to ; it is essentially an integral form of Ohm’s law. In the Hamiltonian formulation, the dissipation term must be included in and not as a separate power dissipation function.



(5)

  ¼   

  

in which  represents the plasma’s internal energy. As usual, the Lagrangian is given by:





¼  

    ¼    ¼    ¼ (1)

¼  ¼  



    ¼     ¼  

¼  ¼  

The Hamiltonian is given by

and the generalised potential energy is:

    ¼  

   

 

or equivalently:

 ¼   

   

 ¼ 

     ¼  

The generalised kinetic energy is given by:





To form the Hamiltonian, via the correct Legendre transformation, the generalised momenta are computed next:

giving

where   is a vector of effective voltages applied to each plasma element (for example by ion injection) and   is the vector of externally applied poloidal field coil voltages. The resistance matrix is defined as



Using the above we can now express the Lagrangian (3) as







where  is a constant matrix. The   notation refers to a vector containing quadratic terms in each entry (the elemental currents in this case). This representation is chosen for convenience when forming the Hamiltonian. C. The Equations of Motion

in which the s and s are the self and mutual inductance matrices. Again, subscript  denotes the plasma elements and subscript  denotes the structure elements. The matrices   and  are functions of plasma element position, because the plasma current elements are free to move axisymmetrically. The structure self-inductance matrix,   , is constant. Note that   ¼ . The constant diagonal mass matrix,   , contains the mass of each plasma current element. The input vector is given by:

 

(4)

   

¼  ¼  



  

¼  

(8)







(9)

gives

   ¼          ¼        



 



¼ ¼   



(10)

4

IEEE TRANSACTIONS ON CONTROL SYSTEMS TECHNOLOGY, VOL. XX, NO. Y, MONTH 2003

which is the required equation of motion. This equation can now be expanded into four vector equations. The equation for   is:

                  

(12)

The remaining equations are force balances in the  and  directions respectively. For  we have:







and for  :





 ¼ 

          ¼  

  

    

     ¼     ¼  

 

It is interesting to note that as the plasma mass approaches zero, the plasma profile adjusts to the fields instantaneously. This is the approximation of instantaneous MHD equilibrium.

(11)

which is essentially a statement of Kirchoff’s voltage law for the plasma elements. Similarly, we have Kirchoff’s voltage law for the structural and poloidal circuits, giving the equation for   :

               

¯

D. Definitions of plasma bulk properties A lumped-parameter model can be defined from equations (11) to (14), by defining various averaged plasma quantities. The total plasma current will be called  . The equilibrium plasma current density distribution    is calculated from the Grad-Shafranov equation [1], [2] by an inverse equilibrium reconstruction code. We take the plasma mass to be zero, because the inertial forces are tiny compared to the other forces experienced by the plasma. The average plasma radial position  is defined by a currentweighted average of plasma element radial positions [16],

(13)

(14)

We conclude this section with a number of observations: ¯ In the case that is independent of a particular coordinate, the corresponding canonical momentum will be conserved (see (9), and by Noether’s theorem, see [15], Section 127). In the same way, if is time invariant, the associated system is conservative. ¯ If  and  are both zero, the magnetic fluxes   and  will remain constant. This situation is analogous to a system of purely inductive closed loops. More specially        implies constancy of the magnetic flux associated with the plasma model. These assumptions result in the well-known ideal MHD situation, in which lines of constant flux are ‘frozen’ in the plasma. Since some plasma resistance will occur in practice, the     assumption is generally false. A distinguishing feature of the model we present is the introduction and consideration of resistance terms in the plasma model from the beginning. ¯ Replacing the generalised coordinates with  gives an equivalent model, because of the invariance properties of the canonical equations. In the case of a non-resistive plasma, one may use the fluxes associated with the plasma elements as generalised coordinates. Since one cannot express the resistive form of Ohm’s law in terms of flux, this necessitates a loss of generality. As a result, plasma models that describe plasma behaviour in terms of plasma flux functions must necessarily neglect plasma resistance effects. ¯ Also evident from the   equation is the necessity of current ramping in   to maintain a steady   against the plasma resistance, or alternatively a nonzero   . It can be seen from (12), that in the case of a plasma resistance, a constant   will not suffice to maintain a steady plasma current and position. As such, the plasma resistance is an important feature of the model. This conclusion is illustrated by a simple, intuitive example in Appendix .





(15)

   

(16)

 

The average plasma vertical position  is defined similarly. The effective mutual inductance matrix between the plasma and structure   is

    







   



where  is the mutual inductance between the  th plasma element and the vector of structure element currents. We define the effective plasma self inductance   via the equivalent energy of the total current distribution;

   

        

(17)



where  is the mutual inductance between the th and  th elements, for    . In the case of    , the self inductance of the  th element is used. A lumped-parameter model can be defined from equations (11) to (14), by defining various averaged plasma quantities. The total plasma current will be called  . The equilibrium plasma current density distribution    is calculated from the Grad-Shafranov equation [2], [1] by an inverse equilibrium reconstruction code. We take the plasma mass to be zero, because the associated modes would operate on a frequency much higher than the range of interest. The average plasma radial position  is defined by a currentweighted average of plasma element radial positions [16],







   

(18)

   

(19)

 

The average plasma vertical position  is defined similarly. The effective mutual inductance matrix between the plasma and structure   is

    



where  is the mutual inductance between the  th plasma element and the vector of structure element currents.

5

We define the effective plasma self inductance equivalent energy of the total current distribution;

  via the

   

         

(20)

where  is the mutual inductance between the th and  th elements, for    . In the case of    , the self inductance of the  th element is used. To evaluate the internal energy of the plasma,  , we may start with the equations governing the plasma profile:



  

    

E. Linearisation of equations Equations (11) to (14) define the evolution of the variables       . For consistency with earlier work [6], we will replace the variables (  ) with (     ) in which  is the constant equilibrium plasma current. With this change of variable in place, we introduce the perturbations;

                   

  

By substitution we have

       

Using the identity

         

gives

  

   



        









   



  



   

 



  where  is the magnetic field outside the plasma (where   ). We define    ¾  

¼

Since  is the energy associated with the pressure, and taking the plasma volume  as    where  is the plasma cross-sectional area, we have for 

   We can write

  

 







 

  

  Defining an average poloidal field as

correspondingly averaged poloidal beta,

(21)

(22)

The linearised structure circuit equation, plasma circuit equation and plasma force balance equations can be represented as follows;

At equilibrium and for our geometry the right hand side is small (zero for the circular, small aspect ratio approximation), which gives

   

Æ 

   

The four physics equations are therefore linearised in about the tokamak equilibrium   , to give four linear equations. These linear matrices can then be cast in the standard statespace model form





  Æ     Æ     Æ 

¼ 

,

gives a



      

 We can then approximate  as 

                 The proper evaluation of  requires careful consideration.

For comparison, a slightly different treatment is to be found in [8].



       

        ¾  ¾  ¼           ¾   ¾  ¼     ¼ ¾ ¾             ¼                     ¾   ¾   ¼         ¼     ¾  ¾  ¼      ¾    ¾  ¼    ¼               ¼      ¾                ¼                 ¼   ¾        ¾                        Æ                  Æ      



(23)



This is of the form    . Comparing (23) with (22) gives the matrix of coefficients , and the control matrix

;

   

 

       





Note that and are symmetric with and positive semi-definite.



positive definite

6

IEEE TRANSACTIONS ON CONTROL SYSTEMS TECHNOLOGY, VOL. XX, NO. Y, MONTH 2003

From a minimal set of assumptions we have derived a linear, time invariant model in state-space form. All linearised tokamak models making similar assumptions can be expressed in this structural form. Within this framework we can derive all models that represent axisymmetric perturbations about given MHD equilibria.

Machine tcv : Plasma Shot Number: 13333 at time 0.3s OH2 OH2

1 OH2 F8

E

8

0.5

G G 11 G 1

F

7

E7 F6

E6

F5

E5

0

OH1 E4

F

4

F. The RZIP linear model

E3

Further to the assumptions detailed earlier, the linear RZIP model also makes the rigid current displacement assumption, namely that the normalised current profile is independent of movements in the  and  directions and of changes in plasma current. It follows therefore that changes  in the plasma current   profile are not modelled. As such,   . 

Changes to the current and pressure profile can be approximately modelled by permitting perturbations to   . These changes are then introduced as disturbances in  on the right hand side of (23), as in [8]. The rigid current displacement assumption allows us to calculate the plasma mutual and self inductance derivatives simply and directly. For example, the mutual inductance between two plasma elements must satisfy:

 





  

 



   

 

The rigid current displacement assumption fixes the two radius relations as











 

III. T HE CONTROL PROBLEM The remainder of the paper is concerned with the design and evaluation of a control system for the TCV tokamak [14]. We will use the linearised model described in Section II as a basis for designing this controller. It will be tested on a nonlinear code based on a sequence of Grad-Shafranov equilibria [17]. A. Control objectives The primary interest of this work is the study of control systems for elongated plasmas in TCV. As with all elongated plasmas, the equilibrium under consideration is unstable in the vertical position and so the open-loop plant is characterised by a single unstable pole that requires stabilisation. One of the major challenges is the uncertainty in the modelling of the tokamak plasma dynamics together with the fact that these dynamics vary with the operating conditions. For this reason, it is important that the proposed control system has adequate robust stability and performance margins. We will also seek to decouple the five outputs that characterise the plasma shape, position and current. Ideally, we would like to be able to implement variation in any one of these outputs without influencing the others.

−0.5

F

3

Active Structure Active but negative path Passive Structure Flux loops Bpol Probes

E

2

F2

G1 G G 11

E

1

F

1

OH2

−1

OH2 OH2

−0.5

0

0.5

1

1.5

2

2.5

Fig. 4. TCV equilibrium 13333

B. The RZIP model of TCV The RZIP model plus power supplies has been qualified against the TCV equilibrium 13333 [6]. The plasma in this shot is well understood and unstable with a moderate growth rate measured and predicted by RZIP as approximately   ; the equilibrium profile is shown in Figure 4. The five control parameters used for controlling this type of equilibrium on TCV are: ¯  , the radial flux imbalance (a radial position measurement); ¯   , the outboard field curvature; ¯   , the inboard field curvature; ¯   , the product of plasma vertical position and current; ¯  , the plasma current. The particular RZIP model used for controller design assumes a superconducting plasma (see Section II). This choice is made because the controller will be tested on the ideal MHD code PROTEUS, which makes a similar assumption. Figure 5 shows the singular value plot of the TCV RZIP model which has 18 inputs and 5 outputs. It can be seen from this figure that there is a large spread in the singular value magnitudes. As is standard practice, we will seek to reduce the transfer function’s condition number by scaling. Indeed, this will be the initial step of a loop-shaping based design. A characterising feature of models based on ideal MHD assumptions is the introduction of uncontrollable modes at the origin. The underlying mechanism that gives rise to these modes is described briefly in Appendix using simple circuit theoretic arguments. Since these poles cannot exist in reality, we will remove them from the RZIP model using a standard model reduction algorithm [18]. C. Modelling of power supplies The poloidal field (PF) coil power supplies are approximated by single pole filters, expressed in the state-space form as

   





  "    ! !  #   $  % for all PF coil power supplies used.

where !  Throughout the plant referred to is the tokamak including the power supplies.

7

Singular Values

∆N

100

∆M φ

50

Singular Values (dB)

M-1

N

0

y

u −50

K −100

Fig. 6. Robust controller design problem −150

−200 −1 10

From the small gain theorem [19], the condition 0

1

10

2

10

3

10

4

10

10

 ½  '

5

10

Frequency (rad/sec)

Fig. 5. Singular value plot of TCV RZIP model

(27)

IV. ROBUST CONTROLLER DESIGN

will ensure that the closed loop will be stable for all plants in the model set  . To maximise the robustness of the closed loop, we require a controller that minimises ' .

Motivated by its simplicity, we will use the the ½ normalised coprime factorisation method [19], [20] for the controller synthesis. In many respects the research presented here is an evolution of that presented in [21]. After completing the loop shaping and controller synthesis, we will make use of some recent research [13] that facilitates a reduction in the controller order with guaranteed properties.

C. Parameterisation of all suboptimal controllers The following result gives a parameterisation of all suboptimal controllers. Lemma IV.1: [13], [19], [20], [22] Let  have a minimal re alisation    " # . Then there exist unique stabilising and positive definite solutions * , + to the algebraic Riccati equations





¼ *  *  *"" ¼*  # ¼ #   +  + ¼  + # ¼ #+  "" ¼  

A. Normalised left coprime factorisation perturbations A set of plant models that will be used to represent the machine will be characterised in terms if a perturbed normalised coprime factorisation. We suppose that  is the nominal plant model. Then     (24) is a normalised left coprime factorisation of  if   are coprime and satisfy



respectively, and

' 





½            

    

&'   



½

(25)

B. The optimisation problem Our aim is to design a controller that is optimal in the sense of minimising ' , in order to maximise the size of admissible perturbations (by (25)). From Figure 6 we see that

 

( )

where



 

 

    () 

 

(30)









   



(31)

    "" ¼* ."    .+ # ¼    ½      " ¼ * 

   #



  

(32)

We will also require

  .   + # ¼ # .   ." .+ # ¼  ½        " ¼ * 

 #





(33) in the sequel. Remark IV.1: Taking    in (31) gives the central controller in the form of a right coprime factorisation

 ¼ ¼   ¼       "" *   .+ # # .+ #        "¼ * 

 

         



             ½ 



½ & '

where



  , *+ 

(29)

  For any ' - '   let      ' so that  &   and define .  '  *+ . Then all suboptimal controllers are given by the parametrisation

¼  ¼   Given such a factorisation we define the model set



(28)

(26)

(34)

We will use this controller throughout.

8

IEEE TRANSACTIONS ON CONTROL SYSTEMS TECHNOLOGY, VOL. XX, NO. Y, MONTH 2003



Singular value plot of weighted plant (including P/S)

Then /  .+ . ¼ and 0     * . Suppose that the realisation of  is inverse-weighted balanced, so that /  0      (35)

100

50

0

−50

Singular value (dB)

 ""¼* ¼0  0  ""¼*   *""¼*   # ¼# 

where,

−100

  1 ½      1     1  ·½      1  

−150



−200



with 1 1  and that the realisation in (32) is partitioned compatibly with   and  :

−250

−300

  "          " 

−350

−400 −2 10

−1

10

0

10

1

10

2

3

10

10

4

10

5

10

6

10

−1

Frequency (rad s )

where $

Fig. 7. Response of the weighted plant

D. Choice of weighting matrices It is evident from Figure 5 that the unweighted plant model has five non-zero singular values spread over more than 100dB at low frequency. As this will lead to highly “direction sensitive” responses, it was deemed necessary to rescale the outputs, thereby balancing the singular values. To do this, we postmultiply  by    in which   is a generalised inverse of , to give

!   The singular values of the weighted plant  ! are shown in Figure 7. As expected, five of the singular values has associated DC gain of 500 (54dB), while the remaining ones are effectively zero. As will be shown, this simple loop shape leads to acceptable closed-loop response when the controller given by (34) is implemented. Clearly the controller must be synthesised from a state-space model of  ! rather than . V. N ORMALISED

½ CONTROLLER REDUCTION

It follows from (34) that the degree of the controller is the same as that of the plant. In our case, the plant’s McMillan degree is 76 and this would lead to a correspondingly high order controller. In this section, we apply the relative error controller order reduction procedure given in [13]. In this reference it is shown that the observability Gramian of the realisation of  in (32), and the controllability Gramian of    in (33), may be expressed in terms of * and + . These matrices are the unique positive definite solutions of (28) and (29) respectively:  be the controllability Theorem V.1: [13] Let /  / ¼ Gramian of the realisation of    in Lemma IV.1 and let 0  0¼  be the observability Gramian of the realisation of  in Lemma IV.1 so that





. 

 + # ¼# .   /  / .   + # ¼# .   ¼  .""¼. ¼ 

.+ # ¼ #+ . ¼  











# # $

(36)

 . Then        "        (37) # $         , where  is stable and minimum phase and 

½ satisfies ½  Æ where [19] 

Æ   

 

  

  1



  1  1 

(38)

    1  2   '2   

and

 are the (distinct) eigenvalues of *+ The quantities 2      2 Since the central controller is obtained from the controller generator in the form of the right coprime factorisation (34), it is shown in [13] that the approximation of  induces a relative reduction on the coprime factors of the normalised central controller. Combined with the bound on the relative approximation error, this gives guaranteed a priori bounds on closed-loop stability and performance degradation and provides an intimate link between the controller synthesis and controller reduction problems. These results are summarised in the following theorem:  Theorem V.2: [13] Let        be the central controller defined in (34). Suppose that 3 is an inverse-weighted balancing transformation for  so that

  3   .+ . ¼ 3   ¼  3 ¼    * 3  diag1 ½      1   1  ·½      1    diag   



with 1 -    - 1  Apply the similarity transformation 3 to the central controller   and partition compatibly with  and 

   "" ¼ *     .+ # ¼ # 3 3   .+ # ¼   3      " ¼ * 3       "          " # #  



9

Define the reduced order controller

||⋅||∞ of closed loop (actual and bound) against order of reduced controller

            # "  

Then

45

 !   

½ upper bound

40

(39)

35

!    is stable if 'Æ & , in which case

30

 !   

½

!   ½ &  ' Æ' 

25

20

15

VI. C ONTROLLER REDUCTION AND IMPLEMENTATION 10



0 10

15

20

25

30

35

 order of 

   ½    ½

40

45

50

Fig. 8. Plot of Ð Ï   (*) against the order of the reduced controller. The closed-loop is unstable for controllers of order less than 12. The a priori bound on Ð Ï   is shown as a (+) where stability is a priori guaranteed. Singular values of the controllers 120

100

80

60

40

20

0

−20



−40

−60

−80 −1 10

0

10

1

10

2

10

3

10

4

10

5

10

6

10

−1 Frequency (rad s )

Fig. 9.

Singular value plots of the (-)

   controller (18 states)

   controller, (- -) reduced

Singular value plot of closed loop (weighted) plant 4

3.5

3

2.5 Singular value



5

Singular value (dB)

The final phase of the work is aimed at the implementation and testing of the reduced-order controller described in Theorem V.2. Preliminary testing was conducted on the linear RZIP model. Once the tests were deemed satisfactory, more demanding simulations were performed on the nonlinear PROTEUS model [17]. This programme began with the synthesis of a full-order normalised coprime factor controller. The synthesis used the formula (34) and a sub-optimal '  . The controller realisation was then balanced in accordance with Theorem V.2 so that reduced order controllers can be ‘read off’. This sequence of reduced order controllers was combined with  ! in order to generate the plot shown in Figure 8. This diagram shows, for each reduced order controller, the infinity norm of the closedloop transfer function as well as the upper bound given in (38). It is clear from this diagram that the closed-loop performance improves very little for controllers of McMillan degree . The upper bound is clearly conservative and indicates that a controller of degree  is required. It should also be noted that the reduces-order controllers are stabilising for order , while the bounds in Theorem V.2 indicate that this lowest order for stability is 27. On the basis of the data in Figure 8, a controller of order 18 was selected; this represents a significant reduction from the full order of 76. Figures 9 and 10 show the effect of the reduction process on the controller and closed-loop transfer functions respectively. Figure 9 shows that the controller reduction from 76 to 18 states has almost no effect on its transfer function. Figure 10 shows that the controller reduction process increases the closed-loop infinity norm from '   to '  . Interestingly, the almost imperceptible changes made by the reduction process to the controller singular values have a far more pronounced impact on the closed-loop.

2

1.5

VII. C ONTROLLER S IMULATION T ESTING 1

Even on a relatively small tokamak such as TCV, experimental time and machine failures are potentially expensive. In order to obviate these difficulties, we undertook a programme of controller testing at a simulation level prior to any hardware implementation. The two steps involved simulation testing on RZIP, with a second programme of tests on PROTEUS. The outcome of the simulation tests will now be presented.

0.5

0 −1 10

0

10

1

10

2

10

3

10

4

10

5

10

6

10

Frequency (rad s−1)

Fig. 10. Singular value plot for the weighted closed-loop plant with (-)  and (- -) reduced   controller

 

 



10

IEEE TRANSACTIONS ON CONTROL SYSTEMS TECHNOLOGY, VOL. XX, NO. Y, MONTH 2003

A. Testing on RZIP in SIMULINK

Tracking of control parameters with standard PID controller, H controller ∞

5000 zIp

0

−5000

0.3

0.4

0.5

0.6

0.7

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0

0.1

0.2

0.3

0.4

0.5

0.6

0.7

triin

0

−0.05

pvert

0.05 0

−0.05

Ip/104

1 0

−1

T [s]

Fig. 11. Results of closed-loop simulation showing (-) reference, (-) PID and (-) RZIP simulated response.

Deviation in estimator value 5000 zIp

0

−5000

0

0.1

0.2

0.3

0.4

0.5

0.6

0

0.1

0.2

0.3

0.4

0.5

0.6

0

0.1

0.2

0.3

0.4

0.5

0.6

0x 104

0.1

0.2

0.3

0.4

0.5

0.6

0

0.1

0.2

0.3 time / s

0.4

0.5

0.6

triout

0.05 0

−0.05 0.05 triin

For the purposes of this study, we designed a controller that combines good robust stability margins, speed of response, dynamic tracking characteristics and closed-loop decoupling. In order to test for these various characteristics, we drove the closed-loop system with a vector valued reference signal that comprised pulse functions that were staggered in time. The pulse amplitudes were chosen to represent ‘reasonable’, but demanding excursions given the machine dimensions 5 . The temporal separation between the pulses allowed us to examine the inter-loop cross-coupling. The performance of the 18-state reduced order controller is shown in Figure 11. This diagram also shows the response of the existing PID controller, which is currently implemented on TCV. It is clear from the responses that the controller possesses all the desired properties; the pulse inputs lie underneath the responses and are barely visible on the plot. This is testimony to the controller’s excellent tracking properties. It is also clear that the only cross-coupling appears at the pulse edges. In comparison, the existing PID controller shows inconsistent behavior with some loops under-damped, while others are comparatively sluggish. The PID control also has inferior decoupling properties. Although saturation limits were included in the simulation, these played very little role in the particular responses shown here. This is because the TCV power supplies were deliberately over-designed to increase the machine’s research flexibility.

0.2

0.05

0

−0.05 0.05 pvert

Saturation current (+/-) 31kA 7.7kA 7.7kA 500A (continuous) 2000A (2 /5% )

0

−0.05 1 Ip

OH1, OH2 E1-E8 F1-F8 G

Saturation voltage (+/-) 1399V 648V 1250V 566V

0.1

0

−0.05

PF coil P/S

0

0.05 triout

Since RZIP models are linear, the only source of nonlinearity in these simulations will be power supply saturation. It is convenient to use the SIMULINK environment to introduce these effects. A full list of the power supply limits is given in the table below [14].

0

−1

Fig. 12. Results of closed loop simulations, showing (-) the PROTEUS simulated response, (:) the reference and (- -) the RZIP simulated response.

Controller action (V / V

 This includes both the machine geometry and the electromagnetic specifications.

2

V / Vmax

1

0

−1

−2

0

0.1

0.2

0.3 time / s Coil current deviation (I / I

0.4

0.5

0.6

0.4

0.5

0.6

)

max

0.5

0 I / Imax

PROTEUS is a tried and tested nonlinear tokamak simulation code that solves the Grad-Shafranov equation using an iterative finite element method. As such it can be used to predict the tokamak plasma’s evolution forwards in time, under the assumption of a fixed plasma current. In order to initialise these simulations, PROTEUS requires data about the initial equilibrium, specifically the coil currents and some plasma profile parameters. Although PROTEUS can model temporal changes in the plasma shape, it does not take account of transport and resistivity phenomena that are known to occur. Since the original code does not have a plasma circuit equation, one had to be introduced, although this is not strictly self-consistent with the

)

max

B. Testing on the PROTEUS nonlinear tokamak simulation code

−0.5

−1

0

0.1

0.2

0.3 time / s

Fig. 13. Closed loop simulation coil voltage and current.

11

initial assumptions. The controller acts to change the plasma current so this dynamic response must be represented. In order to complete the simulation work presented here, we had to introduce a facility for modelling discrete-time controllers and estimator matrices that generate the controlled plant outputs. The issue of delays introduced by discretisation of the feedback controllers has been addressed in [11], in which a highorder ½ controller was tested on the TCV tokamak. The continuous-time controller used here was discretised using a ms sampling period, prior to testing on PROTEUS. The TCV diagnostics and computer system are capable of supporting this sampling frequency. The PROTEUS simulations represent a form of robustness test, because the code is very different to the RZIP model used in the controller synthesis. The successful operation of the PROTEUS closed-loop therefore lends confidence to the idea that the controller will work successfully on the hardware system. Figure 12 shows the results of the PROTEUS simulation with a % time step. To aid comparison, the RZIP results are also shown on the same diagram. The input and nominal equilibrium conditions were chosen to match those associated with the RZIP results. It can be seen from Figure 12 that there is good agreement between the PROTEUS and the RZIP predictions. With that said, one can see a number of lightly damped resonances in the PROTEUS plasma current that are absent in the RZIP equivalent. This is considered likely to represent the inconsistencies in the PROTEUS modelling of the plasma circuit equation. The practical import of this close agreement is that RZIP simulations that require a few minutes to compute can be used instead of PROTEUS predictions that require days on a like-forlike basis. Figure 13 shows the coil voltage and current as a fraction of the saturation limits. This diagram shows that the power supplies do not saturate except very briefly at 0.25 and 0.3 seconds where the inner triangularity is stimulated. This does not lead to a loss of control in the simulation. Since the slight saturation occurs only when the inner triangularity is stimulated hard, and this parameter is unlikely to be pulsed in normal TCV operation, the saturation is unlikely to lead to a loss of plasma control on TCV.

R1

R2 L1

V1



VIII. D ISCUSSION We have presented a new modelling and control system design paradigm for tokamak fusion reactors. From the initial modelling assumptions, the methodology takes us through the modelling process to low-order controllers with good performance and robustness characteristics. Starting with clearly stated assumptions, a nonlinear model together with its linearised counterpart are derived using known techniques from Hamiltonian mechanics. This approach to the modelling problem clarifies many of the relationships between the assumptions and the model properties. For example, it becomes clear that current ramping is necessary to maintain the plasma current when the plasma resistance is nonzero. Since

I1

L2 M 12

I2

Fig. 14. A coupled LR circuit

future machines will operate on longer time-scales, plasma resistance effects will become more important. The model presented here incorporates plasma resistance thereby satisfying this need. The effect of removing plasma resistance from the model is also clarified. We show that this leads to the introduction of uncontrollable modes at the origin. This is examined further in the appendix. The second part of the paper demonstrates the effectiveness of a novel model reduction methodology for normalised coprime factor controller reduction. The known procedures of normalised coprime factor controller design produce control systems with order equal to that of the loop-shaped plant [19], [23]. Since we have used non-dynamic weights, the controller order is 76 according to this established wisdom. We have demonstrated that it is possible to reduce the controller order to 18 using the techniques described in [13] without a significant performance degradation. It was also demonstrated that this performance was successfully transferred to the nonlinear tokamak simulation code PROTEUS. In this context, this successful transfer is indicative of the inherent robustness properties of the controller. This is because PROTEUS is based on modelling assumptions quite different to those used in the model presented here, on which the controller synthesis was based. Given the successful transfer to PROTEUS, we are confident that good performance will be achieved on the TCV hardware using this methodology. IX. ACKNOWLEDGEMENTS The authors would like to thank John Wainwright for the generosity with which he gave his time to help set up PROTEUS, and for lively discussions and ideas about the modelling. A PPENDIX The purpose of this appendix is to illustrate, using the simple LR circuit in Figure 14, the mechanism behind the creation of uncontrollable modes in tokamak models containing idealised superconducting plasmas 6 . To the author’s knowledge this problem has not been discussed previously.

 The results are also relevant to tokamaks with superconducting coils such as ITER. However in that case we would not simply be able to ignore the resulting uncontrollable modes.

12

IEEE TRANSACTIONS ON CONTROL SYSTEMS TECHNOLOGY, VOL. XX, NO. Y, MONTH 2003

In this diagram the secondary circuit represents the plasma, the primary circuit represents the tokamak coils and the mutual inductance the magnetic coupling between them. It follows from simple circuit theory that:



 



 



   



 

 













 



(40)

which can be put into state-space form:



 



(  4  4

 4     4    with

     

and



"

5 '



(



   5' Æ 

Observe that and  -  . Hence

is necessarily invertible because   -  



     5 ' Æ 

It follows from standard passivity  ,  &  for    - . The controllability matrix is



 





where



   "







arguments that



  5  5  '   Æ '

(41)

It is therefore the case that ( " ) is controllable if   - . On the other hand, if    , the matrix in (41) will have unit rank at   , indicating the presence of an uncontrollable mode there. In reality we will never face the     situation and so the associated uncontrollable mode may be ignored. In the case that   , it follows that

      # 

demonstrating that under these conditions the two loop currents are dependent. We can also see that

     

in the case that  is constant, which illustrates the need to ramp  in order that  be maintained at a fixed value.

R EFERENCES [1] V. Mukhovatov and V. Shafranov, “Plasma equilibrium in a tokamak,” Nuclear Fusion, vol. 11, 1971. [2] J. Wesson, Tokamaks. Oxford Science Publications, 1997. [3] R. Albanese and F. Villone, “The linearized CREATE-L model for the control of current, position and shape in tokamaks,” Nuclear Fusion, vol. 38, no. 5, 1998. [4] D. Humphreys and I. Hutchinson, “Axisymmetric magnetic control design in tokamaks using perturbed equilibrium plasma response modelling,” Fusion Technology, vol. 23, 1993. [5] D. Humphreys, J. Leuer, and M. Walker, “minimal plasma response models for design of tokamak equilibrium controllers with high dynamic accuracy,” 41st Annual Meeting of Division of Plasma Physics, American Physical Society, Seattle, WA, November 15-19, 1999. [6] A. Coutlis, I. Bandyopapadhyay, J. Lister, P. Vyas, R. Albanese, D. Limebeer, F. Villone, and J. Wainwright, “Measurement of the open loop plasma equilibrium response in TCV,” Nuclear Fusion, vol. 35, no. 5, 1999. [7] F. Hofmann, J.-M. Moret, and D. Ward, “Stability analysis of the vertical position control loop in TCV using rigid and deformable plasma models,” Nuclear Fusion, vol. 38, no. 12, 1998. [8] J. Lister, A. Sharma, D. Limebeer, Y. Nakamura, J. Wainwright, and R. Yoshino, “Plasma equilibrium response modelling and validation on JT-60U,” Nuclear Fusion, vol. 42, 2002. [9] E. Lazarus, J. Lister, and G. Neilson, “Control of the vertical instability in tokamaks,” Nuclear Fusion, vol. 30, no. 1, 1990. [10] P. Vyas, Plasma vertical position control on COMPASS-D. PhD thesis, Oxford University, 1996. [11] M. Ariola, G. Ambrosino, J. Lister, A. Pironti, F. Villone, and P. Vyas, “A modern plasma controller tested on the TCV tokamak,” Fusion Technology, vol. 36, 1999. [12] M. Walker, D. Humphreys, and J. Ferron, “Control of plasma poloidal shape and position in the DIII-D tokamak,” Proceedings of the 36th Conference on Decision and Control, San Diego, California USA, December, 1997. [13] H. El-Zobaidi, I. Jaimoukha, and D. Limebeer, “Normalized  controller reduction with a priori bounds,” IEEE Transactions on Automatic Control, vol. 46, no. 9, 2001. [14] J. Lister, F. Hofmann, J.-M. Moret, F. B¨uhlmann, M. Dutch, D. Fasel, A. Favre, P.-F. Isoz, B. Marletaz, P. Marmillod, Y. Martin, A. Perez, and D. Ward, “The control of Tokamak Configuration Variable plasmas,” Fusion Technology, vol. 32, 1997. [15] H. Goldstein, Classical Mechanics (2nd edition). Addison-Wesley, 1980. [16] J. Wainwright, D. Copsey, D. Limebeer, M. Haines, and A. Portone, “Extensions to single filament modelling of a tokamak plasma,” Nuclear Fusion, vol. 37, no. 12, 1997. [17] R. Albanese, J. Blum, and O. de Barbieri 12th Conference on Numerical Simulations of Plasmas, San Francisco, CA., 1987. [18] M. Safonov and R. Chiang, “A Schur method for balanced-truncation model-reduction,” IEEE Transactions on Automatic Control, vol. 34, no. 7, 1989. [19] M. Green and D. Limebeer, Linear Robust Control. Prentice-Hall, 1995. [20] K. Glover and D. McFarlane, “Robust stabilisation of normalized coprime factor plant descriptions with  -bounded uncertainty,” IEEE Transactions on Automatic Control, vol. 34, no. 8, 1989. [21] A. Portone, Modelling and control of tokamak plasmas in fusion devices. PhD thesis, University of London, 1994. [22] K. Zhou, “Frequency-weighted  norm and optimal Hankel norm model reduction,” IEEE Transactions on Automatic Control, vol. 40, no. 10, pp. 1687–1699, 1995. [23] D. McFarlane and K. Glover, “A loop-shaping design procedure using  synthesis ,” IEEE Transactions on Automatic Control, vol. 37, no. 6, 1992.

½

½

½

½