Differentially flat systems
From Scholarpedia
| This article has not been published yet; It may be unfinished, contain inaccuracies or unapproved changes. | |||||||||||||||||||||
(Redirected from Flat dynamic systems)
Author: Prof. Jean LÉVINE, Centre Automatique et Systèmes, Unité Mathématiques et Systèmes, MINES-ParisTech
Author: Dr. Pierre Rouchon, Mines ParisTech, Centre Automatique et Systèmes, France
Differentially flat control systems form a sub-class of non-linear control systems, for which motion planning and trajectory tracking are explicit.
They are related to integrable under-determined systems in the sense of Monge, Darboux, Goursat, Hilbert and Cartan. Underlying geometric properties associated to a transformation group were first described by Hilbert. It corresponds to equivalence by dynamic feedback (\cite{fliess-et-al-ijc95,fliess-et-al-ieee99}).
Deciding if a control system is non flat in a finite number of steps is an open-problem. However, this approach may be extended to infinite dimensional systems.
In the sequel, all functions are assumed differentiable enough (
with
large enough).
Contents |
Definition and examples
State-space representation
Consider the explicit system :
with
the state vector of dimension
and with
the control input of dimension
. This system is said differentially flat if, and only if, exist
independent scalar functions
depending on
and a finite number of
derivatives,
such that, if we set
- (2)
the integral curves of (1) identically satisfy
- (3)
for some
larger than
, namely are computable without integration of (1). Here
is the vector
where
stands for the
-th time derivative of
and
. Note that
means that each
,
stands for
and
means that
depends only on
(same convention for
).
The functions
and
are obtained via differentiation and algebraic manipulations of
and
. The quantity
is called a flat output or a linearizing output. Otherwise stated, if we take any smooth enough time function
then the time functions
and
deduced from
and
automatically satisfy the state-space equation (1). As noticed by Monge in \cite{monge-memorial1784}, this means that (3) provides the general solution of the under-determined system with
equations
and
variables
. Notice that we recover (1) via elimination of the arbitrary smooth time-function
from (3).
Another interpretation of this definition is that the differential-algebraic system (1)-(2) of index exceeding one (see Differential-algebraic equations), where
is known and
are unknown, can be solved without integration via (3).
Let us take the example of the non-holonomic car with
and
:
- (4)
with
a parameter (length). A flat output is
(
,
and
) and (3) admits the following form (forward motion with
).
- (5)
This relation admits a direct geometric interpretation if we consider the curve followed by the point of coordinates
:
is the direction of its tangent,
its velocity and
where
is its curvature.
Note that the vector
in (5) may be viewed as the output of the so-called trivial system
with auxiliary inputs
.
It is important to remark that the dimension of the state-space system (4) is 3 whereas the dimension of the associated trivial system is 4, though (5) establishes a smooth one-to-one mapping between two manifolds having different dimensions, which is apparently a paradox. This paradox disappears if we remark that (5) establishes in fact a smooth one-to-one mapping between the manifold of jets of infinite order of global coordinates
and the other manifold of jets of infinite order of global coordinates
. This is why the geometric approach of manifolds of jets of infinite order and Lie-Bäcklund equivalence may be adopted to rigorously deal with differential flatness (see \cite{fliess-et-al-ieee99,pomet-varsovie93,NRM98:jco}).
Descriptor systems
Consider the implicit control system associated to the descriptor form
- (6)
with derivation indexes
,
,
and
. This system is said differentially flat if, and only if, exist
independent scalar functions
depending on a finite number of time derivatives of
and
,
with derivation orders
such that the differential-algebraic system of index exceeding one (see Differential-algebraic equations)
- (7)
where
is known and
are unknown, can be solved without integration via formulae of the form
- (8)
where the derivation orders
and
are larger than
.
Consider the 2-D crane example with
and
governed by the descriptor form
with
and
positive parameters (mass and gravity acceleration). A flat output is
, the functions
and
associated to (8) being here:
A short catalogue of flat systems
For a more complete list of differentially flat examples see \cite{martin-et-al-caltech03,sira-agarwal:book04}.
The car with
-trailers. This well-known flat system is illustrated on figure 1. Expressing the rolling without sliding kinematic conditions (the velocity of each point
is colinear to the direction of trailer
) yields the following state-space description :
where the
's and
are positive constants (lengths). The complexity of this description by a set of nonlinear differential equations is only apparent since the cartesian coordinates of
, attached to the last trailer, is a flat output: :
Assuming forward motion and that the trajectory
is known, then, as shown by figure , the direction of the tangent to this curve being
, the rolling without sliding condition of trailer
just means that its orientation is given by this tangent. The trajectory followed by
is given by :
Similarly :
Thus after
time differentiations of
we obtain the trajectory of every
, which proves that
is a flat output. For detailed computations using Serret-Frenet formula of planar curves see \cite{fliess-et-al-ijc95,rouchon-et-al-cdc93}.
Linear controllable systems. A linear system is flat if and only if it is controllable \cite{fliess-et-al-ijc95,fliess-et-al-ieee99} (use the Brunovsky canonical form \cite{kailath-book}). To illustrate this general fact we consider two harmonic oscillators with only one control input
: :
with
parameters. A flat output is then
and we have :
Fully actuated mechanical systems. They obey the following second order Euler-Lagrange differential equations :
where
are the generalized coordinates and
the external forces. The Lagrangian function
is a quadratic and positive definite function of the generalized velocities
. The
matrix
is assumed to be invertible (full actuation). A flat output is
and (8) coincides here with the well-known computed torque method (see Control of mechanical systems): :
Exothermic chemical reactor. The classical exothermic reactor considered by Aris and Amundson \cite{aris-amundson-58}, with slight notational changes, has the following state-space description :
with state
, and scalar control
, the remaining quantities being parameters. A flat output is
. The first equation yields
as a function of
and
. From the second one, we deduce that
is a function of
,
and its derivative. Thus
can be expressed as a function of
,
and
(function
in (3) with
). For other examples of flat chemical reactors see \cite{rothfuss-et-al-auto96}.
Induction 3-phase machine. The dynamical equations of an induction machine with rotor mechanical angle
, complex stator and rotor currents
and
, and stator supplied complex voltage
are given, in descriptor form (see, e.g., \cite{chiasson:book05}), by :
The variables
and
of (6) correspond here to
and
, respectively. The remaining quantities are constant parameters with
. A flat output is
and
. Physically,
corresponds to the angle of the rotor flux.
Half-spin systems. A two-level quantum system controlled via a coherent electromagnetic field can be represented via the state-space system :
with a single scalar control
and where
is a parameter. Since
is a constant of motion, we can restrict the dynamics to live on the unit sphere of
. It is flat, with
as flat output: :
Motion planning
State-space representation
Consider
, a positive time
, an initial state
and a final state
. Motion planning or reference trajectory generation consists in finding an open-loop control
such that the solution
of the Cauchy problem
exists and satisfies
. Indeed, motion planning is related to controllability. In general, finding
is not easy even if the system is known to be controllable. The system's differential flatness provides a significant simplification in finding a generally explicit
.
Assume thus that
is flat with
a flat output. According to (3),
. The initial and final states impose that
at
and
at
.
For
between
and
,
is free. In addition, in (3),
must be differentiable up to order
to define
and
must be piecewise differentiable to define
via
. This means that, if we take any function
differentiable up to order
such that
- (9)
the open-loop control
- (10)
steers
from
at
to
at
. Moreover the open-loop trajectory
is given by
- (11)
In practice
and
are often steady-states associated to control
and
:
. In this case a simple choice for
is the following:
- (12)
where
,
and
.
Let us consider the non-holonomic car (4) with flat-output
. Denote by
the point of Cartesian coordinates
. Consider an arc length parameterization of the curve followed by
:
where
is the arc length (smooth time function). Thus
has norm 1. The geometrical formulation of (3) reads:
are the cartesian coordinates of
,
is the angle associated to the unitary vector
,
and
with
is the curvature.
Thus the initial and final states impose the initial and final positions of this curve as well as its initial and final tangents, without intermediate constraint except on the arc length parameterization. Such geometric computations extend directly to the
-trailer case considered above. The simple resulting motion planning algorithms are described in \cite{fliess-et-al-ijc95}.
Descriptor systems
Consider
,
and two different trajectories of (2): a past trajectory
defined for
and a future one
defined for
. How to find an intermediate trajectory
defined for
such that the concatenation
yields a trajectory of (2) defined on
.
This motion planning problem is related to the notion of controllability in the behavioral approach setting defined in \cite{willems-ieee91}.
When the system is flat, with
as flat output, this motion planning problem can be solved as follows.
and
provide past and future trajectories for the flat output:
For
, the flat output is free. One just has to impose smooth enough joins with
at
and
at
. From (8) these joins must be differentiable up to order
, thus imposing the values of the successive derivatives of
up to order
at
and
. We recover the state-space case when these derivatives are defined by the initial and final states. The practical and important case where
and
are equilibria can be solved with a similar formula to (12) with
.
Tracking
In presence of perturbations, which are not taken into account in (1) or (6), the above designed open-loop control doesn't guarantee that the state will effectively follow its reference and a feedback tracking controller is needed. For flat systems, the following design may be proposed.
Consider
with a flat output
. If
, set
, for
and
. Then the state system
with state
and control
remains flat with
as flat output. Replacing
by
and
by
, the flat output depends only on the state.
Consequently, there is no loss of generality assuming that
admits a flat output of the form
with
and
given by (3). Assume that we are given a smooth reference trajectory
associated to the flat output reference
. As stated in \cite{fliess-et-al-ieee99}, it is possible, under regularity conditions, to construct a dynamic feedback of the form
- (13)
that linearizes the dynamics: the closed-loop system
becomes, after a nonlinear change of coordinates, linear and reads
or equivalently
. The new state-variables are then the derivatives of
up to order
, the control being the derivative of order
. The construction of such linearizing dynamic feedback relies on nonlinear inversion techniques under constant rank assumptions.
The design of a tracking controller for the transformed system
is particularly simple. It suffices to take
where
is a stable polynomial in the complex variable
, namely its roots have a strictly negative real part. The controller gains
are the homogeneous symmetric functions of its roots. They can be chosen arbitrarily and the gains are given explicitly. With such feedback on
, the tracking error
obeys the linear exponentially stable dynamics
But each
can be expressed as a nonlinear function of
:
. Thus we obtain the tracking controller via the nonlinear dynamic state feedback:
- (14)
Motion-planing and tracking can be combined in real-time. Assume that the control goals are set in terms of a set-point
of the flat-output: in closed-loop the new input
is a bounded time function. From
we deduce at each time a smooth function
that asymptotically converges to
. A possibility is to regularize
by convolution with a smooth and compact support kernel of integral
. Take
a positive smooth function (at least
) with support inside
(
) and such that
. In the tracking controller (14) take
and for any
,
. For any bounded input signal
, the closed loop system is stable and follows asymptotically
in the sense that
converges to
as
tends to
. Since this convergence is exponential, it is robust to small modelling errors and noises.
Flatness criteria
General flatness characterizations may be found in \cite{ABMP-ieee,Cht,pereira-mtns,L-arXiv,avanessoff-2006-inria} with various degrees of effectiveness and applicability. Note that, even if establishing that a system is flat can be done in a finite number of steps, we do not know if, in general, non-flatness may be asserted in a finite number of steps too. We now give a list of simple results in particular cases.
Linear systems
Any linear time-invariant controllable system,
, is flat. A flat output is made by the top of the integrator chains assoiciated to the Brunovsky canonical form. It is thus given by
, a linear function of
. The set of all flat outputs can be also easily obtained, in polynomial matrix form, as
where
is any full-rank polynomial matrix such that
, with
such that
(see \cite{levine-scl03}). For a square linear multi-input/multi-output system:
, where
,
the
-dmensional output,
the
-dimensional input,
and
polynomial matrices of
of size
that are mutually prime (no other common divisor but the identity matrix), a flat-output
is given by
and
, or
where the pair of polynomial matrices
are solution of the Bezout equation
.
Static feedback linearizability
A nonlinear system
is static feedback linearizable if, and only if, there exists a smooth diffeomorphism
and a regular static feedback
that transform the closed-loop system
in the linear controllable system
. Thus every such system is flat. A flat output is given by
where
is a flat output of the linear system in the
coordinates. A characterization in terms of Lie-brackets of static feedback linearizable systems may be found in \cite{jakubczyk-respondek-80}. For single input nonlinear systems, flatness is equivalent to static feedback linearizability \cite{charlet-et-al-scl89}. Therefore, checking if a single input system is flat may be done using the previous criterion.
Driftless systems
For driftless systems with two inputs,
, a flatness characterization in terms of Lie-Brackets generated by
and
may be found in \cite{martin-rouchon-mcss94} with a construction of a flat output based on a result of E. Cartan \cite{cartan-crelle-1915}. For driftless systems with
states and
inputs, flatness is equivalent to controllability (see \cite{martin-rouchon-scl95}).
Ruled manifold criterion] Elimination of
from the
scalar equations
yields the
implicit system denoted by
, with
. If
is flat then, for all
such that
, there exists
,
, such that for all real
,
. In other words, flatness implies that, for each
, the
-dimensional sub-manifold
is a ruled sub-manifold of
. An elementary proof of this necessary condition based on Hilbert's paper \cite{hilbert-1912} may be found in \cite{rouchon-jmsec95}. In the single input case, a ruled sub-manifold is a straight line of
. For
, ruled manifolds have a more complex structure than an
-dimensional affine space.
For more results on specific systems see \cite{rathinam-murray-siam98,avanessoff-2007-13,schlacher-schoberl:nolcos07}
Extension to infinite dimensional systems
The extension of flatness to infinite dimensional systems goes back to \cite{mounier-thesis} on delay systems. We just recall here two key examples: a hyperbolic and a parabolic linear partial differential equation with a single boundary control. For a more complete exposure on infinite dimensional flat systems, see \cite{martin-et-al-caltech03,rudolph-book03}. For module theoretic approaches see also \cite{quadrat-robertz-la:07}.
1D-propagation
Consider the simplest wave equation (waves with constant velocity
) on the interval
(
), with a single boundary control
:
Then the quantity
plays the role of a flat output. Since the general solution of
is
, with
and
arbitrary functions of one variable, one can easily prove that the solution of the infinite dimensional analogue to (2)
is given by (analogue to (3))
and thus
. With such formula with advances and delays, motion planning becomes simple.
A more involved example of engineering interest is the heavy chain of length
treated in \cite{petit-rouchon-siam01}: the controlled one dimensional wave system is (
and
is gravity acceleration)
A flat output reads
and the parameterization analogue to (3) results from the Poisson integral representation of the Bessel function
with distributed delays and advances:
Thus
.
1D-diffusion
Consider the simplest heat equation on the interval
(
) with constant diffusion coefficient
:
A flat output is
and the parameterization analogue to (3) is given by the series
This formula is obtained by exchanging the roles of
and
and by solving the Cauchy-Kovalesky problem, analogue to (2), as a series in
:
As shown in \cite{laroche-et-al-ijrnc00}, this parameterization has its origin in computations done by Holmgren in the 19th century, which led to Gevrey-functions,
functions whose derivatives of order
are bounded by
for some
(
is the Gevrey order). We can see that the above series admits an infinite convergence radius in
as soon as
is a Gevrey-function of order
. An example of Gevrey function
of order
that may be used to drive the state in time
from the steady profile
to
with compact support, is given by
References
E. Aranda-Bricaire, C.H. Moog, and J.-B. Pomet, {{{7}}} (127--132). A linear algebraic framework for dynamic feedback linearization. IEEE Trans. Automat. Contr. 40(1): 1995. FORENAME1, SURNAME2 and FORENAME2, {{{9}}} (1958). An analysis of chemical reactor stability and control- i,ii,iii. Chem. Eng. Sci. 121--155: R. Aris, and N.R. Amundson. FORENAME1, SURNAME2; FORENAME2, SURNAME3 and FORENAME3, {{{11}}} (D. Avanessoff, L. Baratchart, and J.-B. Pomet). Sur l'intégrabilité (très) formelle d'une partie des équations de la platitude des systèmes de contrôle. Technical report 2006: SURNAME1. D. Avanessoff and J-B Pomet, SURNAME2; FORENAME2, SURNAME3; FORENAME3, SURNAME4 and FORENAME4, {{{13}}} (13:237). Flatness and {M}onge parameterization of two-input systems, control-affine with 4 states or general with 3 states. ESAIM COCV} doi:10.1051/cocv:2007011: 2007.
\bibitem{cartan-crelle-1915} E.~Cartan. \newblock Sur l'int\'{e}gration de certains syst\`{e}mes ind\'{e}termin\'{e}s
d'\'{e}quations diff\'{e}rentielles.
\newblock {\em J. f\"{u}r reine und angew. Math.}, 145:86--91, 1915. \newblock Also in Ouvres Compl\`etes, part II, vol. 2, pp.1164--1174, CNRS,
Paris, 1984.
\bibitem{charlet-et-al-scl89} B.~Charlet, J.~L\'{e}vine, and R.~Marino. \newblock On dynamic feedback linearization. \newblock {\em Systems Control Letters}, 13:143--151, 1989.
\bibitem{Cht} V.N. Chetverikov. \newblock New flatness conditions for control systems. \newblock In {\em Proceedings of NOLCOS'01, St. Petersburg}, pages 168--173,
2001.
\bibitem{chiasson:book05} J.~Chiasson. \newblock {\em Modeling and High Performance Control of Electric Machines}. \newblock IEEE Press Series on Power Engineering. Wiley-IEEE Press, 2005.
\bibitem{fliess-et-al-ijc95} M.~Fliess, J.~L\'{e}vine, Ph. Martin, and P.~Rouchon. \newblock Flatness and defect of nonlinear systems: introductory theory and
examples.
\newblock {\em Int. J. Control}, 61(6):1327--1361, 1995.
\bibitem{fliess-et-al-ieee99} M.~Fliess, J.~L\'{e}vine, Ph. Martin, and P.~Rouchon. \newblock A {L}ie-{B}\"acklund approach to equivalence and flatness of
nonlinear systems.
\newblock {\em IEEE AC}, 44:922--937, 1999.
\bibitem{hilbert-1912} D.~Hilbert. \newblock {\"{U}}ber den {B}egriff der {K}lasse von {D}ifferentialgleichungen. \newblock {\em Math. Ann.}, 73:95--108, 1912. \newblock also in Gesammelte Abhandlungen, vol. III, pp. 81--93, Chelsea, New
York, 1965.
\bibitem{jakubczyk-respondek-80} B.~Jakubczyk and W.~Respondek. \newblock On linearization of control systems. \newblock {\em Bull. Acad. Pol. Sci. Ser. Sci. Math.}, 28:517--522, 1980.
\bibitem{kailath-book} T.~Kailath. \newblock {\em Linear Systems}. \newblock Prentice-Hall, Englewood Cliffs, NJ, 1980.
\bibitem{laroche-et-al-ijrnc00} B.~Laroche, Ph. Martin, and P.~Rouchon. \newblock Motion planing for the heat equation. \newblock {\em Int. Journal of Robust and Nonlinear Control}, 10:629--643,
2000.
\bibitem{levine-scl03} J.~L\'evine and D.V. Nguyen. \newblock Flat output characterization for linear systems using polynomial
matrices.
\newblock {\em Systems {\&} Control Letters}, 48:69--75, 2003.
\bibitem{L-arXiv} Jean L\'evine. \newblock On necessary and sufficient conditions for differential flatness,
2006.
\newblock http://arxiv.org/abs/math/0605405v2.
\bibitem{Lbook} Jean L\'evine. \newblock Analysis and Control of Nonlinear Systems: A Flatness-based Approach, \newblock {\em Mathematical Engineering Series}, Springer,
2009.
\bibitem{martin-et-al-caltech03} Ph. Martin, R.~Murray, and P.~Rouchon. \newblock Flat systems, equivalence and trajectory generation, 2003. \newblock Technical Report {\tt http://www.cds.caltech.edu/reports/}.
\bibitem{martin-rouchon-mcss94} Ph. Martin and P.~Rouchon. \newblock Feedback linearization and driftless systems. \newblock {\em Math. Control Signal Syst.}, 7:235--254, 1994.
\bibitem{martin-rouchon-scl95} Ph. Martin and P.~Rouchon. \newblock Any (controllable) driftless system with 3 inputs and 5 states is
flat.
\newblock {\em Systems Control Letters}, 25:167--173, 1995.
\bibitem{monge-memorial1784} G.~Monge. \newblock {\em M\'{e}moire de l'Acad\'{e}mie Royale des Sciences}, chapter
Suppl\'{e}ment o\`{u} l'on fait voir que les \'{e}quations aux
diff\'{e}rences ordinaires pour lesquelles les conditions
d'int\'{e}grabilit\'{e} ne sont pas satisfaites sont succeptibles d'une
v\'{e}ritable int\'{e}gration..., pages 502--576.
\newblock Paris, 1784.
\bibitem{mounier-thesis} H.~Mounier. \newblock {\em Propri\'et\'es structurelles des syst\`emes lin\'eaires \`a
retards: aspects th\'eoriques et pratiques}.
\newblock PhD thesis, Universit\'e Paris Sud, Orsay, 1995.
\bibitem{pereira-mtns} P.~S. Pereira~da Silva. \newblock Flatness of nonlinear control systems : a {C}artan-{K}\"{a}hler
approach.
\newblock In {\em Proc. Mathematical Theory of Networks and Systems
(MTNS'2000), Perpignan}, pages 1--10, 2000.
\bibitem{petit-rouchon-siam01} N.~Petit and P.~Rouchon. \newblock Motion planning for heavy chain systems. \newblock {\em SIAM J. Control and Optim.}, 41(2):475--495, 2001.
\bibitem{pomet-varsovie93} J.B. Pomet. \newblock A differential geometric setting for dynamic equivalence and dynamic
linearization.
\newblock In {\em Workshop on Geometry in Nonlinear Control, Banach Center
Publications, Warsaw}, 1993.
\bibitem{Pomet-SIAM}
J.B. Pomet. \newblock A necessary condition for dynamic equivalence. \newblock {\em SIAM J. Control and Optimiz.}, 48(2):925--940, 2009.
\bibitem{quadrat-robertz-la:07} A.~Quadrat and D.~Robertz. \newblock Computation of bases of free modules over the weyl algebras. \newblock {\em Journal of Symbolic Computation}, 42:1113--1141, 2007.
\bibitem{rathinam-murray-siam98} M.~Rathinam and R.~Murray. \newblock Configuration flatness of {Lagrangian} systems underactuated by one
control.
\newblock {\em SIAM J. Control and Optimiz.}, 36(1):164--179, 1998.
\bibitem{rothfuss-et-al-auto96} R.~Rothfu{\ss}, J.~Rudolph, and M.~Zeitz. \newblock Flatness based control of a nonlinear chemical reactor model. \newblock {\em Automatica}, 32:1433--1439, 1996.
\bibitem{rouchon-jmsec95} P.~Rouchon. \newblock Necessary condition and genericity of dynamic feedback linearization. \newblock {\em J. Math. Systems Estim. Control}, 5(3):345--358, 1995.
\bibitem{rouchon-et-al-cdc93} P.~Rouchon, M.~Fliess, J.~L\'{e}vine, and Ph. Martin. \newblock Flatness, motion planning and trailer systems. \newblock In {\em Proc. of the $32$nd IEEE Conf. on Decision and Control},
pages 2700--2705, San Antonio, 1993.
\bibitem{rudolph-book03} J.~Rudolph. \newblock {\em Flatness Based Control of Distributed Parameter Systems}. \newblock Shaker, Germany, 2003.
\bibitem{schlacher-schoberl:nolcos07} K.~Schlacher and M.~Sch\"{o}berl. \newblock Construction of flat output by reduction and elimination. \newblock In {\em 7th IFAC Symposium on Nonlinear Control Systems, Pretoria},
pages 666--671, 2007.
\bibitem{sira-agarwal:book04} H.~Sira-Ramirez and S.K. Agarwal. \newblock {\em Differentially Flat Systems}. \newblock Marcel Dekker, 2004.
\bibitem{NRM98:jco} M.~van Nieuwstadt, M.~Rathinam, and R.~M. Murray. \newblock Differential flatness and absolute equivalence. \newblock {\em SIAM J. Control Optimiz.}, 36(4):1225--1239,
1998.
\bibitem{willems-ieee91} J.C. Willems. \newblock Paradigms and puzzles in the theory of dynamical systems. \newblock {\em IEEE Trans. Automat. Control}, 36:259--294, 1991. }}
Recommended reading
External links
See also
| Invited by: | Dr. Jean-Jacques Slotine, Nonlinear Systems Lab, MIT, Cambridge, MA |
| Assistant editor: | Mr. Abdellatif Nemri, Department of biological sciences, University of Montreal, Canada |
