An algorithm for design of deadbeat controllers of spatially invariant systems

5
 An algorithm for design of deadbeat controllers of spatially invariant systems Petr Augusta Institute of Information Theory and Automation Academy of Sciences of the Czech Republic Prague, Czech Republic Email: [email protected] Krzysztof Gałkowski Institute of Control and Computation Engineering University of Zielona Gora Zielona Gora, Poland Email: [email protected]  AbstractIn the pape r we de al wi th cont rol of spat iall y in var iant sys tems des cri bed by par abolic par tia l dif fer ent ial equati ons wit h one tempor al and one spatial var iab les. We pro pos e an algorithm for desi gn of deadbe at contr oll ers. The algorithm is based on polynomial methods. It consists in solving a linear equation with bi-variate polynomials. Numerical example and simulations are included. I. I NTRODUCTION We shal l conc entra te on linea r time- inv arian t spati ally in- variant systems. In particular, in the paper we consider systems desc ribed by parab olic parti al diffe renti al equat ions (PDEs ) with constant coefcients with one temporal variable and one spatial variable. The original PDE can be transformed to the des cri pti on in the for m of state- spa ce equ ati ons or tra nsf er functi on. The n, the coe fc ien ts in the state- spa ce mat ric es and the coefcients in the transfer functions are elements of a ring. Hen ce, these syst ems can be stu died wit hin a cla ss of  linear systems over rings . Pape rs [1] –[5] belongs to the pioneer publications in this area. Comprehensive methodology for analysis and synthesis of spatially distributed systems is gi ve n in [6] . Aft er sever al yea rs of pause, pape rs, e. g., [7]– [9] found the topics on systems over rings being interesting. These papers propose new applications of spatially distributed systems. The control action is based on an array of actuators and senso rs. Spa tial symmet ry of sys tems is ass umed. The so-called spatially localised controllers are dened based on only a nite number of error and actuator signals at nearby actuator cells. A related elds are repetitive systems [10] and the iterative learning control (ILC). Use of ILC for control of spatio-temporal dynamics is demonstrated in [11], [12]. In the case of one temporal and one spatial variables, the parabolic PDE has the form δ  ∂ u t  − γ ∂ 2 u x 2  β u x  − α u = f ,  (1) where  α, β , γ , δ  are posit iv e cons tants ,  u(t, x)  is a sol uti on and f (t, x)  is the right-hand side. A particular example of (1) is a heat equation u t  κ ∂ 2 u x 2  = f ,  (2) where  u  denotes a solution – output, temperature ( C),  f  the input heat ( C s 1 ),  t  is the time (s),  x  is the spatial coordinate (m) and  κ  is a constant (m 2 s 1 ) equal to κ =  κ ρ c  p , where  κ  is the ther mal conduc ti vi ty (Wm 1 K 1 ),  ρ  is the densit y (kg m 3 ) and  c  p  is the he at ca pa ci ty pe r unit ma ss (J K 1 kg 1 ). Initial and bounda ry con ditions can be considered in the form u(0, x), u(t, 0), u(t, L) with L denoting dimens ion in the  x  di rect ion of area, where the he at is conducted. A heat equation has applications in various elds of the industry. One of the examples is  a multizone crystal growth  furnace, described in [13], [14]. The furnace is depicted in Fig. 1. Block diagram of the closed-loop system is in Fig. 2. The problem consists in control of  N  zone temperatures by N  ene rgy inp uts. The aim is to pro duc e the temper ature prole within the furnace, prescribed by  N  command signals r 1 , r 2 ,...,r N . This paper proposes an algorithm for the design of  deadbeat controller  of a spa tia lly invari ant syste m. The goal of the deadbeat control is to bring the system output to the steady sta te in the small est numbe r of time ste ps. It sup pos es the digit al imple menta tion of contr ol and design metho d based on the discrete- time model. Furthe rmore , the contr ol actio n Fig. 1. A sket ch of a multi zone cry stal gr owth fu rnace zone zone zone zone zone c on trol le r contro ll er c ontro lle r c on tr o ll er c ontro lle r . . . 1 2 3 N  − 1  N r1  r2  r2  rN 1  rN Fig. 2. Block d iagram of the c losed- loop sy stem. 22 978-1-4799-5081-2/14/$31.0 0 ©2014 IEEE

description

An algorithm for design of deadbeat controllers of spatially invariant systems

Transcript of An algorithm for design of deadbeat controllers of spatially invariant systems

  • An algorithm for design of deadbeat controllersof spatially invariant systems

    Petr AugustaInstitute of Information Theory and Automation

    Academy of Sciences of the Czech RepublicPrague, Czech Republic

    Email: [email protected]

    Krzysztof GakowskiInstitute of Control and Computation Engineering

    University of Zielona GoraZielona Gora, Poland

    Email: [email protected]

    AbstractIn the paper we deal with control of spatiallyinvariant systems described by parabolic partial differentialequations with one temporal and one spatial variables. Wepropose an algorithm for design of deadbeat controllers. Thealgorithm is based on polynomial methods. It consists in solvinga linear equation with bi-variate polynomials. Numerical exampleand simulations are included.

    I. INTRODUCTIONWe shall concentrate on linear time-invariant spatially in-

    variant systems. In particular, in the paper we consider systemsdescribed by parabolic partial differential equations (PDEs)with constant coefficients with one temporal variable and onespatial variable. The original PDE can be transformed to thedescription in the form of state-space equations or transferfunction. Then, the coefficients in the state-space matricesand the coefficients in the transfer functions are elements ofa ring. Hence, these systems can be studied within a classof linear systems over rings. Papers [1][5] belongs to thepioneer publications in this area. Comprehensive methodologyfor analysis and synthesis of spatially distributed systems isgiven in [6]. After several years of pause, papers, e. g., [7][9] found the topics on systems over rings being interesting.These papers propose new applications of spatially distributedsystems. The control action is based on an array of actuatorsand sensors. Spatial symmetry of systems is assumed. Theso-called spatially localised controllers are defined based ononly a finite number of error and actuator signals at nearbyactuator cells. A related fields are repetitive systems [10] andthe iterative learning control (ILC). Use of ILC for control ofspatio-temporal dynamics is demonstrated in [11], [12].

    In the case of one temporal and one spatial variables, theparabolic PDE has the form

    u

    t

    2u

    x2 u

    x u = f, (1)

    where , , , are positive constants, u(t, x) is a solutionand f(t, x) is the right-hand side. A particular example of (1)is a heat equation

    u

    t

    2u

    x2= f, (2)

    where u denotes a solution output, temperature (C), f theinput heat (C s1), t is the time (s), x is the spatial coordinate

    (m) and is a constant (m2 s1) equal to

    = cp

    ,

    where is the thermal conductivity (W m1 K1), isthe density (kg m3) and cp is the heat capacity per unitmass (J K1 kg1). Initial and boundary conditions can beconsidered in the form u(0, x), u(t, 0), u(t, L) with L denotingdimension in the x direction of area, where the heat isconducted. A heat equation has applications in various fields ofthe industry. One of the examples is a multizone crystal growthfurnace, described in [13], [14]. The furnace is depicted inFig. 1. Block diagram of the closed-loop system is in Fig. 2.The problem consists in control of N zone temperatures byN energy inputs. The aim is to produce the temperatureprofile within the furnace, prescribed by N command signalsr1, r2, . . . , rN .

    This paper proposes an algorithm for the design of deadbeatcontroller of a spatially invariant system. The goal of thedeadbeat control is to bring the system output to the steadystate in the smallest number of time steps. It supposes thedigital implementation of control and design method basedon the discrete-time model. Furthermore, the control action

    Fig. 1. A sketch of a multizone crystal growth furnace

    zone zone zone zone zone

    controller controller controller controller controller

    . . .1 2 3 N 1 N

    r1 r2 r2 rN1 rN

    Fig. 2. Block diagram of the closed-loop system.

    22978-1-4799-5081-2/14/$31.00 2014 IEEE

  • applied by an array of actuators and sensors naturally callsfor the model discrete in the space. So, the model discretein both time and space must be derived. Modelling as well ascontrol design and simulations will be demonstrated by meansof the example of a heat conduction in a rod. This systems isdescribed by the heat equation (2) and its structure is depictedin Fig. 3.

    The paper is organised as follows. The next section dealswith modelling, including the discretisation, the z-transformand deriving the transfer function. An algorithm for thedeadbeat control design is proposed in Sec. III. Sec. IV showsthe simulations of a heat conduction in a rod controlled by thedeadbeat controller. The Sec. V concludes the paper.

    II. MODELLING

    The model of a spatially invariant system will be derivedin the form of the transfer function. The derivation consists inthree steps, Crank-Nicolson discretisation, von Neumanns analysis of stability, the z-transform and manipulations.

    A. Crank-Nicolson discretisation

    The discretisation of the original PDE uses well-knownfinite difference methods, described in, for instance, [16].Roughly speaking, the principle consists in replacing deriva-tives by differences applying so-called difference scheme. Thisresults in recurrent equation in the case of parabolic PDE. Therecurrent equation can be solved or simulated by the iterativemethod. The difference scheme can be explicit or implicit [16].The explicit scheme is easier for numerical simulations, butit is conditionally stable. The condition to be satisfied is arelation between sampling time and sampling space periods.The implicit scheme results in unconditionally numericallystable approximation of system dynamics, i. e., both spaceand time sampling periods can be chosen arbitrarily. However,more than one unknown values of the solution have to becomputed at new time level. Moreover, all values on newlevel must be obtained simultaneously, what leads to solving

    Fig. 3. [15] Distributed control of a distributed parameter system: a rod withan array of heaters and temperature sensors and a distributed controller (anarray of controllers)

    a system of equations at each time level. This can be doneusing the numerical iterative methods proposed by [17].

    Since we consider high values of the sampling time periodfor the purpose of the deadbeat control, we prefer an uncon-ditionally stable approximation by the implicit schemes. Oneof them is Crank-Nicolson discretisation. It was derived byCrank and Nicolson [18]. It replaces time derivative by

    u

    t uk+1,l uk,l

    T(3)

    and second order space derivative by

    u2

    x2 uk,l+1 2uk,l + uk,l1

    2h2+

    +uk+1,l+1 2uk+1,l + uk+1,l1

    2h2,

    (4)

    where T is sampling time period (s) and h is sampling spaceperiod (m). In Fig. 4 we show how the stable region of s-plane (the left-half plane) is mapped to z-plane under theabove relation (3). We can see that all stable region of s-planemapped into z-plane does not lie within the stable region ofz-plane. In other words, stable continuous-time system can betransformed to unstable discrete-time system.

    Discretisation consists in substituting (3) and (4) into theoriginal PDE. This results in a partial recurrent equation. Inthe case of (2) the partial recurrent equation reads

    uk+1,l uk,lT

    = uk,l+1 2uk,l + uk,l1

    2h2+

    +uk+1,l+1 2uk+1,l + uk+1,l1

    2h2+ fk,l.

    (5)

    In Fig. 5 we show the computation mask associated with (5).Points needed for computation are plotted. Input mask ismarked by red points, the output values currently beingcomputed are marked by the white colour.

    B. Von Neumanns analysis of stability

    Von Neumanns analysis of the numerical stability, de-scribed in, e. g., [19], is a standard tool to analyse the con-vergence of discretised models. Despite the fact that (5) was

    Re

    Im

    1 1

    1

    1

    Fig. 4. An image of the stable region of s-plane under Crank-Nicolsondiscretisation (3)

    23

  • k 1

    k

    k + 1

    k + 2

    l

    2

    l

    1 l

    l+

    1

    l+

    2 x

    t

    Fig. 5. The computation mask associated with (5). Input mask is markedby red points, the output values currently being computed are marked by thewhite colour.

    obtained using implicit difference scheme and is uncondition-ally stable, we analyse its convergence in this section. Theanalysis gives a relation between T and h, whose satisfactionguarantees the convergence of the discrete model to theoriginal one. In the case of (5), the analysis should resultin a condition, which is always satisfied. To proceed vonNeumanns analysis we consider the zero right-hand side, (5)becomes

    uk+1,l uk,lT

    =uk,l+1 2uk,l + uk,l1

    2h2+

    +uk+1,l+1 2uk+1,l + uk+1,l1

    2h2.

    Now, we substitute gk ej l for uk,l. The difference scheme isnumerically stable if and only if |g| 1. We havegk+1 ej l gk ej l

    T=

    2h2gk(ej(l+1) 2ej l + ej(l1))

    +

    2h2gk+1

    (ej(l+1) 2ej l + ej(l1)) .

    Manipulation and using Eulers relations leads to

    g =h2 + T (cos 1)h2 T (cos 1) .

    One can make sure that |g| 1 is always satisfied.

    C. Transfer function

    The transfer function of a system will be derived in the form

    P (d,w) =b(d,w)

    a(d,w), (6)

    i. e., in the form of a fraction of two bi-variate polynomialsb and a. We have assumed the system is spatially invariant,that is the parameters of the system do not depend on loca-tion. Spatial invariance assumes the infinite domain, i. e., theboundaries at infinite distance. This assumption is not realistic,but it leads to a reasonable simplification of the control design.Simulations and verification of controllers should follow thedesign procedure.

    With the above assumption, we can define the z-transformas follows. Let fk,l be a real-valued function and fk,l = 0 forall k < 0. The z-transform of fk,l is given as

    F (d,w) =+k=0

    +l=

    fk,l wl dk. (7)

    We consider u to be output, and f to be input in (6).Performing the z-transform (7) on the recurrence equations (5)and manipulating we obtain (6) with

    b(d,w)=T d

    a(d,w)= 1 T2h2

    (w 2 + w1)

    d T2h2

    d(w 2 + w1) .

    (8)

    III. CONTROL DESIGN

    The aim of this section is to design a controller which1) guarantees that output yk tracks a step reference rk,2) drives the control error ek to zero in a least number of

    steps.For the deadbeat control we consider the scheme of Fig. 6. Aplant is given by the transfer function (6). Let the controllerbe series connection of two parts. The first part is fixed. Itguarantees the above requirement no. 1 and has the transferfunction

    CI(d,w) =1

    1 d . (9)

    The second part of the controller is subject of design and hasthe transfer function

    C(d,w) =n(d,w)

    m(d,w), (10)

    where m and n are bi-variate polynomials. The design proce-dure must take into account the above requirement no. 2. Itsdescription follows.

    The number of steps driving the control error to zero iscommensurable to the degree of transfer function from inputreference rk to control error ek. It follows from the schemeof Fig. 6 that this transfer function reads

    e =1

    1 +1

    1 db

    a

    n

    m

    r =(1 d) am

    (1 d) am+ b n r. (11)

    Since we supposse the reference to be step, i. e.,

    r(d,w) =1

    1 d r(w),

    rk ek vk

    yk

    C= nm1

    1d P=ba

    controller

    Fig. 6. Control scheme, rk input reference, ek control error, vk controlaction, yk output of the plant

    24

  • the control error (11) becomes

    e =am

    (1 d) am+ b n r. (12)

    To guarantee the driving ek to zero in a least number of steps,(12) has to be a polynomial in the variable d. In other words,the denominator of (12) has to be equal to a constant s in thering R[w][d],

    (1 d) am+ b n = s(w). (13)Now, the control error becomes

    e = amr

    s.

    A crucial step of the controller design is to find a solutionto the bi-variate polynomial equation (13). It follows fromwell-known Hilberts nullstellensatz, see e. g. [20], that (13)is solvable if and only if (1 d) a and b vanish implies svanishes.

    It is well known, see, e. g., [21], that if (13) has a solution,it has infinitely many solutions. To minimise the number ofsteps driving the control error to zero, a solution minimisinga degree in the variable d of m must be found. It was shownin [22] that the algorithms for the uni-variate polynomialequations can be applied to solve bi-variate polynomial equa-tions. In our case we consider polynomials a, b,m, n, s inthe variables d and w to be uni-variate polynomials in thevariable d with the non-constant coefficients being functionsof the variable w. Algorithms for the uni-variate polynomialequations minimising the degree of m can be found in,e. g., [23], [24]. The controller design can be summarised asfollows.

    Algorithm 1 (Deadbeat controller): Input: polynomials a, bdescribing the plant. Output: polynomials m, n describing thecontroller

    1) Choose s that (1 d) am+ b n = s is solvable.2) Solve (1 d) am+ b n = s for m,n. Take the solution

    minimising degree of m.

    The deadbeat controller is then given by substitution of m andn into (9) and (10).

    As a numerical example we consider a system of a heatconduction in a rod described by (6) with polynomials a andb given by (8). Let the polynomial s be

    s(w) = 2h2 K T (w 2 + w1).The polynomial equation (13) is solvable and the solutionminimising the degree of m is

    m= 2h2

    n=4K

    h2 6T(2K

    h2+ 3T

    )(w + w1

    )(4K

    h2 2T

    )d+

    (2K

    h2 1T

    )d(w + w1

    ).

    (14)

    IV. SIMULATIONS

    The above described concept is demonstrated by means ofa numerical example in this section. We consider the systemof a heat conduction in a rod described by (2). For the

    00.5

    11.5

    2

    x 105

    02

    4

    68

    1020

    20.2

    20.4

    20.6

    20.8

    21

    t (s)x (node)

    refe

    renc

    e (C

    )Fig. 7. Input reference rk

    00.5

    11.5

    2

    x 105

    02

    46

    810

    1219.6

    19.8

    20

    20.2

    20.4

    20.6

    20.8

    21

    21.2

    21.4

    t (s)x (node)

    tem

    pera

    ture

    (C)

    Fig. 8. Output of the plant yk

    00.5

    11.5

    2

    x 105

    02

    4

    68

    101

    0.5

    0

    0.5

    1

    t (s)x (node)

    e (

    C)

    Fig. 9. Control error ek

    25

  • 00.5

    11.5

    2

    x 105

    02

    4

    68

    100.02

    0.015

    0.01

    0.005

    0

    0.005

    0.01

    0.015

    0.02

    t (s)x (node)

    con

    trol a

    ctio

    n

    Fig. 10. Control action vk

    purpose of the numerical simulation, we discretise (2) in thespatial variable only using (4). The time variable is continuous.We consider the controller given by the series connection oftransfer functions (9) and (10) with polynomials m and nof (14). The controller is discrete in time and space and isconnected with the plant via zero-order hold block.

    We choose = 230, = 2700, cp = 900 and h = 1/12.Number of nodes is 10. Zero boundary and initial conditionsare considered. Let the sampling time period be T = 3600 s,that is one hour.

    The closed-loop system is stable even though the value ofthe sampling time period T is large. The input reference andoutput of the plant are plotted in Figs. 7 and 8, respectively.One can see that output tracks the input reference. The controlerror goes to zero in a small number of steps, see Fig. 9.The control action is plotted in Fig. 10. It has a very smallamplitude, however, it operates during a long time period, so,small amplitude does not imply low overall input energy.

    V. CONCLUSIONS

    The algorithm for the deadbeat control design for spatiallyinvariant systems was proposed in the paper. The designmethod is based on solving a linear equation with bi-variatepolynomials. The design was illustrated by mean of numericalexamples and simulations. A heat conduction in a rod was con-trolled by the deadbeat controller. Systems with one temporaland one spatial variable were considered in the paper, however,the proposed algorithm can easily be extended to more thanone spatial variable.

    ACKNOWLEDGMENT

    The work of the first author was financially supported by theCzech Science Foundation under the project GPP103/12/P494.

    REFERENCES[1] Y. Rouchaleau, Linear, discrete time, finite dimensional, dynamical

    systems over some classes of commutative rings. 1972.[2] E. W. Kamen, On an algebraic theory of systems defined by convolution

    operators, Theory of Computing Systems, vol. 9, no. 1, pp. 5774, 1975.

    [3] E. Sontag, Linear systems over commutative rings: A survey, Ricerchedi Automatica, vol. 7, pp. 134, 1976.

    [4] E. W. Kamen, Lectures on algebraic systems theory: Linear systemsover rings, NASA, Contractor report 316, 1978.

    [5] E. W. Kamen and P. Khargonekar, On the control of linear systemswhose coefficients are functions of parameters, Automatic Control,IEEE Transactions on, vol. 29, no. 1, pp. 2533, 1984.

    [6] N. Bose, Ed., Multidimensional systems theory: Progress, directionsand open problems in multidimensional systems. D. Riedel PublishingCompany, 1985, ISBN 90-277-1764-8.

    [7] B. Bamieh, F. Paganini, and M. A. Dahleh, Distributed control ofspatially invariant systems, IEEE Transactions on Automatic Control,vol. 47, no. 7, 2002.

    [8] R. DAndrea and G. E. Dullerud, Distributed control design for spa-tially interconnected systems, IEEE Transactions on Automatic Control,vol. 48, no. 9, 2003.

    [9] D. Gorinevsky, S. Boyd, and G. Stein, Design of low-bandwidth spa-tially distributed feedback, IEEE Transactions on Automatic Control,vol. 53, no. 2, pp. 257272, 2008.

    [10] E. Rogers, K. Gakowski, and D. H. Owens, Control Systems Theoryand Applications for Linear Repetitive Processes, ser. Lecture Notes inControl and Information Sciences. Springer, 2007, vol. 349.

    [11] B. Cichy, K. Gakowski, E. Rogers, and A. Kummert, An approachto iterative learning control for spatio-temporal dynamics using nddiscrete linear systems models, Multidimensional Systems and SignalProcessing, vol. 22, pp. 8396, 2011.

    [12] B. Cichy, K. Gakowski, and E. Rogers, Iterative learning controlfor spatio-temporal dynamics using Crank-Nicholson discretization,Multidimensional Systems and Signal Processing, vol. 23, pp. 185208,2012.

    [13] R. Abraham and J. Lunze, Modelling and decentralized control of amultizone crystal growth furnace, International journal of robust andnonlinear control, vol. 2, pp. 107122, 1992.

    [14] O. Demir and J. Lunze, A decomposition approach to decentralized anddistributed control of spatially interconnected systems, in Preprints ofthe 18th IFAC World Congress, 2011.

    [15] P. Augusta and P. Augustova, On stabilisability of 2-DMIMO shift-invariant systems, Journal of the Franklin Institute,vol. 350, no. 10, pp. 29492966, 2013. [Online]. Available:http://www.sciencedirect.com/science/article/pii/S0016003213002007

    [16] G. D. Smith, Numerical solution of partial differential equations. Finitedifference methods. Oxford University Press, 1985.

    [17] R. Rabenstein and P. Steffen, Numerical iterative methodsand repetitive processes, Multidimensional Systems and SignalProcessing, vol. 23, no. 1-2, pp. 163183, 2012. [Online]. Available:http://dx.doi.org/10.1007/s11045-010-0115-2

    [18] J. Crank and P. Nicolson, A practical method for numerical evaluationof solutions of partial differential equations of the heat-conduction type,Proceedings of the Cambridge Philosophical Society, vol. 43, pp. 5067,1947.

    [19] J. C. Strikwerda, Finite difference schemes and partial differentialequations. Belmont: Wadsworth and Brooks, 1989.

    [20] V. Prasolov, Polynomials. Springer, 2004, ISBN 3-540-40714-6.[21] M. Sebek, 2-D polynomial equations, Kybernetika, vol. 19, no. 3, pp.

    212224, 1983.[22] K. J. Hunt, Ed., Polynomial methods in control and filtering. London:

    Peter Peregrinus, 1993, ISBN 0-86341-295-5.[23] V. Kucera, Discrete linear control. John Wiley and Sons, 1979.[24] J. Jezek, New algorithm for minimal solution of linear polynomial

    equations, Kybernetika, vol. 18, no. 6, pp. 505516, 1982.

    26

    MAIN MENUTable of ContentsAuthor IndexKeyword Index

    SearchPrintView Full PageZoom InZoom OutHelp