Symbolic Computation of Zero Dynamics, Is It Vailable
Symbolic Computation of Zero Dynamics, Is It Vailable
Abdract a solution of the problems, the algorithms used, and an investigation of the
To aid in the Mllysis and design of nonhear control systemsthe No&,-oN functionality needed. The g e n d structureof the imp1ementation in MAPLE Of
prlage,an raonym f o r m p l r m ( r o l h m b w d e v e @ e d . Thispaper thealgaithmsneededtosohretheseproblemsis~tedinSeclion5,wherethe
addressestheusefulngsoftheNO~ONpuckrgeu,aselfcontrinedtoolinthe NO&ON Package is described. Section 6 Presents some textbook e m P k
symbolic analysis and design of nonlinear control systems, u, a replacement using the NO&ON package, for each of the problem areas. The next section
d o r complement for numerical tools, and as a clubdtute for a sly tical contains a discusdon of the larger scale problem. Section 8 present%some
@pa and pencil) wak. The symbolic computation
- p
- r-o m is U& conclusions and gives directions for future research.
(u1a crmputing sub- for NON~XON. 2. The Control Roblemr
To -the viability of thistool,w d algorithmsavailablefor analysisand
From severa1areas in nonlinear control,where. symbolic computation is likely
design are implemented in N O d k 3 ~ and. applied to examples of textbook to be of some profit, we discuss the computation of the normal form, the
problems with published solutions and also to a larger scnle problem. The zero dynamics, and the input-output and state space exact lineariation. To
examples in the paper address the following symbolic computational arm
be able to solve some of these problems, modifications of the system to be
for nonlinear dynamic systems: (1) the normal form, (2) the zero dynamics, controlled arenecessary. Because, in our setup, the system itself isnot allowed
0 )the input-outputexaa linearizing statefeedback. (4) the state space. exact to be changed, the only possible modificationsare the judicious manipulation
linearizing statefeedback. including the eearch for output functions that give of control signals, is,signals that act on the system and can be influenced
the system a i l l or maximal *relative degree. 'Ihe systemsare not required
to have a well deiined relative degree. from the outside, and the manipulation of the information flowing out of the
system. 'he generation of control signals will be done by a control law, where
me textbook problems show that the N O ~ C O Npackage can be successfully information of the system is used to generate the control input.
used. 'Ihe larger scale problem is. however, too complex to be solved with the
21. Normplform
cumnt versions of N O I ~ C O N and W.Some recommendationsto improve
To reveal the structure inherent in the system, but disguised by the general
the implementation and to make more auitable for use with N&ON form of the mathematical model, it is necessary to uncover the sflucture.
are given. The conclusion is that symbolic computation is a viable approach This structure can then be used to advantage in the analysis and design of
for straightforward textbook problems, but not up enough to tackle control systems. It CM be revealed by transformation to standard, canonical
larger problems. However, we envision substantial hture progress. or, aa we call it here, normal forms. For this purpose a change of coordinates
is employed. The new coordinates are related to the system output and its
1. Inboduction derivatives. Depending on the relative degree ofthe system, Le., the number of
The use of symbolic computation programs for control purposes is investi- times the outputs have to be differentiated before the input explicitly appears,
gated by several " aSome control problems are handled by , "ER the system can be decomposed in a set of series connections of integrators,
~e [l]. The use of is discussed in [21 for a specific class of control a feedback over these sets, and, if the relative degree is less then the system
problema Zeitz et aL. 131. use the program MACNON, based on IMACSYMA, d e r , a remaining part that can be made "unobservable" at the output of the
to analyze obsevability and teachability. and to design observers and con- system by feedback, the ZBY) dynamics This will be made more precise in the
mllers for nonlinear sy-a Their package is mainly used for teaching, next section.
and there are no published results for larger scale problems. Blankemhip [4]
22 Zerodynamics
also uaed W ukuto solve some control problems with his implementation
CONDENS. but is now switching to h%umMAncA. and he provides a control T h e m dynamics of a nonlinear system can be characterizedasthe remaining
toolbox for this platform. Some M " M A T I C A notebooks, eg.COSXPAK, dynamics of the system if the output is required to be 0 for all times. It is the
are developed to mimic W tool boxes, primarily with the aim to get dynamics of the system an the largest unobservable submanifold that can be
a more powerful v i d z a t i a n and a possible integration of symbolic capa- obtained by judiciously manipulating the input to the system by s control law.
bilitieu, although those capabilities are not fully exploited now. The use of The characterization of a system by properties of its zero dynamics is of
W for a e v d control problems is reported in [51. Some problems re importance for some design goals, sg.,if the zero dynamics is unstable,
pated in this paper. eg.,with solving partial differentialequations,are parUy certain types of control laws are unable to stabilize the system, so these
reaolved in 161. They deaaibe a W package. here called NOX~WON(a control laws should be avoided.
mcceasor of the ZERODYN package presented and used in 15.71). that can 23. Input-wtput exact linearization
unnpute, e.&, the zero dynamics and provide solutions to exad linearization ?he input-output exact linearization problem is of long standing interest in
probha contro1theory. In essence,it is the problem of modifying a nonlinear dynamic
In the p m paper we illustrate the use of this package by applying it to system such that, after the modification, it behaves like a linear one, in the
m e textbook and a larger scale problem. Contrary to [7], that focusses on input-output sense, Le., the goal is to get a linear (dynamical) relation between
the camputation of the zao dynamics, and to [SI. that treats the state space the new input and the output of the plant.
a& liwarizacion problem, both with the assumption that the relative degree In a more complete control system design, the input-output exact linearization
is well &lined, here a more thorough treatment and a larger scale example is is o h only asubordinate goal, to make it possibleto use other design methods
presented, that more closely resanbles problems arising fmn practice. for attaining additional goals.
The main goals and contributionsof this paper are 24. State apace exact linearization
a proof of the viability of symbolic canputation for problems in the It is also possible to consider a more ambitious goal, where the behavior
analysis llnd design of nonlinear control systems be4ww the new input and the (transformed) state of the plant is required to
to show the Eharaderistica of a prototype implementation for the compu- be linear. 'Ihisexact (or state space exact) linearization problem is also of long
tation of normcll forms, the zeo dynamics, input-output and state space -ding in- in control theay. In essence, it is the problem of modifying
exact linerrization a nonlinear dynamic system such that, aftet the modification, it behaves like
to give some examplea (also a larger scale or semi-industrial one) of the a h e a r one, so powerful design methods for linear systems can again be
use of thin implementation and to document some applications employed.
to discuss directions for future research in symbolic computation and in
the analysis and synthesis for nonlinear control systems 3. The Mathematical Formulation of the Problems
to familiuize a lrrger audience in the control community with the use of In the presentation of the mathematics. we closely follow the WO& of
symboliccampumion. Isidori 191. We start with a nonlinear model of a plant and assume that it
cnn be described adequately by a set of nonlinear differential equations, a n e
The paper is as follows. F i section 2 presents and makea m e
m a r k s on the controlproblems that are treated in this study. Then, Section 3 in the input U , and without direct feed-through from input to output
discusses the marhematical details of the problems. Section 4 follows with =m+ gQu, y = W) (1)
-~
n
~~~~ ~
The nonllnear dynamics obtrined when the output y = he)is restrictedto 0
with &ate vector x E R",eont4intrg all necessay infomation of the pbnt,
m p t v e d o r u E Rn,andoutputvectory E P.Thenumberofinputsis
U@ to the number of outputs, La,the phut is quare. lhis aclaunption is for
amealmce only and mrLu a oimplified -on poodble PMS of the
-
i.e.v 0, is
e.
by mit&k initid conditions for i.e., m 0. and a suhrblc oontrol v in (S),
-
4 do.tl). tlm = V0.
theory can rbo be duivai if Ihe number of inputs is huger than the number
of ouipuk I b v e c t o r fieldf h "0th.g h u m columru gr of moothvedor It b invisible U the output, .nd is called the ZCID dyflunicsof the ay-.
fiddr. m d h is acokmn ofm rarlrr-valued moothfundomhi. because the dynamics is rehted to the zaos for lineu syyatem~, and at0
Thenonlinearsy-
atx-xOif
...
(1) is said to have a vector dative dclpra {rl, ,rm) beaume it is relazed to the zero output. Wben the involulivity conditions f a
MIMO ay-s rre not fulfilled. the zero dynamics will also depend on U.
1. Lg,f,,Sh) = O f o r k = 1 ,..., rj-2(i,j = 1 ,..., m)and.llxina W e a n now &ate our problems more formally.
The probkm of t"ing the ay- (1) to the m d h amounts
dghborhd o f f , to leaing up the trinstormrtion, compthg tfie i w a a ~tmnsfmation md
2 rhcfolbving m xmmurixisnonaingulnr at f qxning tht sy#fzIn in theaandml p l s and in thepcltc aslociated with the
zero dynamics. Of amme, this can be done if the rdadve degree is well
d&ed only. Ifthereis no reWie degree we h v e to reaorlto another method
to derive the equations f a the zero dynamics and to solve the input-output
aud linearizationprobkm (seethe following sections).
7he zem dyasdcs problem is to obtain the dynamics of the system when the
output y is required to be 0 f a all 1, by a propet choice of initial slate x(0) and
amtrolinput u(l). Herewe have to employ an appropriatestatic state-feedback
Here L,hi@) meana the ALh s u d v e Lie derivative of the scalar functim and we proper initial conditions More specific: we are looking for the locrrLly
hi@) in the direction of the vector fieldf, cg.&lie)= (alri@y&y@). The maximal output m h g submanifold, md its aesociated dynamics
matrixA i s m c t i m e s called the decouphgmatnx. Fm systems with a well defined relative de- the zero dynamics follows
Thc modification we allow is &tefdhck, la,a fe+dbrl bagd on the quite easily from the normal form. F a systems without a relative degree the
explicit knowledge of the value of the strte vector 41). The type of control situation is more complicated. "his problem has been treated in [9, Section
h w uwd hae is &c@d to &atefeedback. Heam, the value of the 6.11, and the solution does not requirethe s y m to haven well defined relative
input V e d a .(I) dcpcDdi aa the #&e &I)lad a new m&wm input v& Our aim is to i m p h e n t the dution algorithm and compute the zero
Nr). This dependence is of the fom dynamicaforrealsyrtrms.
'Ihe Inputsutput exacf linepIzaton problan: under which conditions is it
U = aQ + P O V (2) possible to transform the system (1) to a linear one by stabfeedback (2)?
The linearity property should be established beween the new input v and the
where the componcmta ai and &, are anooth functions output y. pormally, we are looking for a neighborhood U o f f and a static
For linear syaems a linear &go of diz = Tx with a nonsingular arcrto-feedbacksuch that f a all k 2 0 and all 1 S i,j < m the expression
matrix T is u a l Q adequate. For nonlinear sy-s it is more appropriate to k ~ # + ~ , h j @ ) is independent of x on U.
allow for anonlinear change of coordinates
For systems with a well defined relative degree, the input-output linearizing
z = (t,rl) = ow. feedback follows quite eSeily fium h e normal farm. For systems without a
0) relatiie degree the situation is more compliceted. This has also been solved,
I is r e q u i d that the kcobiana#/& of the trrsnafmation veuor CP in, at see, e.g..,[9, Section 5.41. Our goal is to test the conditions under which the
least locally, i m d b l e for CP to q d f y as a change of coordinates, beaus problem an be solved and to derive explicit expressions a and /3 for the
then Q, CM be used a two-way mapping. feedback (2).
When the sydem has a well detined dative &gree wecan use such a am- The &ate pace exlct Z n e d ~ h pn d h can be dated as: under which
dinate trursfarmatian to transform (I), under mme involutivity condition8 for moditions isitpc#sibletotMsfamthesrstem(l)toalineumdcon~~le
MIMOsyaemn, to t h e n a m a l h one by -feedback (2) and a c h i p of coordinated @)? The linearity
propetty sbwld bec&&liahed b e t w w tbenewinput vand the tmnsfmed
r*.terThispmblan haa becn solved. see, ag. [ 9 ] , ~ 1 d ow goal is toteat the
conditionsand to derive explicit equations f a the feedback and the change of
d i n a k a for specific planta The solution is only valid for systems with a
well ddned relative degree,and requires the dstenca of (synthetk) outputs
for which the sydan haa a ItU mla relative degree, r = n.
When a fullordanhtive degree canna beobtained. it k sanetimeconvenient
to Mive for a maximal relative d e p . 'Ihen the corresponding input-output
linearizingstate-feedback realizesa minimal dimension of the zeeo dynamics.
277
thefe Cnirt mhtionr A&), i = 1, ...,m, f a the following partial differential
alurtiolu
LUG&@)I 0, f a 0 S k S ri - 2md 0 S j 5 m. (a)
Gi = apan(.afgj: 0 5 k 5 i, 1 5 j 5 m ) f a 0 S i S R- 1.
Ib de4ine the adpint d.we need the Lie product
figure 1: StNcture of N o d C O N
A= :[. ]:
As an example we use a simple two dimensionalmodel of a vehicle, a M
moving in the horizontal plane, with W o n and tire forces acting on the
e
frame end-points. It looks like the model of a biie. because it only oonsidas
the center line of a mota vehicle, see Fig. 3.
is singular f a x 2 = 0. The zero dynamics is given in [9] by& = -x3 (ii the
original amrdinates) and the zeroing input by
280
ri -
~.
At the moment, the computations cannot be perfamed for complicated sys
tar& due to the d a e d capability to solve sczs of nonlinear equations and
becum the pdbilitieu to solve seta of nonlinear differential equations are
limited, ‘Ihrrforc.the designas of c i ” l systems cannot yet routinely com-
pute solutions f a bproblems, using tools that are based on symbolic
computationp r o m s .
Toremedy this,we recommendto extend the capabilities of symbolic compu-
tation prognms f a solving large and intriute seis of nonlinear equations and
f a solving sets ofdiffeenti.1 equations. Another possibility is to use another
and dpiUun. cg..for the Mte space e m linearidon problem. that completely
w a d s the inteption step.
Futureresesrch willhaveto aim at
devising new or modifying existing algorithms (0 be mare e63cient in
spaceandtime
where the aup“ipt * indicateathecoo&mtes with respect to thebody fixed implanentingtherlgaithmsinamoreefficientway, especially with regard
ref- h e (Z’ ,:Z ).Eqecially the functionaldependency of the hta;rl to compute memory requirements
tire forces on the de-of-ftcedom and the steeringangle make this system solving more wall and larger scale problems, to further guide in the
quite nonbear and difficult to Maze. selection of pressing lines of reeevch
By choosing the uutputa &I To come back to the title of the paper. at the moment we cannot deny for
mre the viability of this apptoech without being unjust to the developera of
y1 =t,,,Me+j,,,sine-vd symbolic computation programs and without being shut of of a promising
y2 = csl+ p COS el2 + cvn +pain el2- e, approach that Mawnphnent a cambined analylical @irper and pencil) and
numdcs approach. Both Utitudes to symbolic computation. Le, to refinii
and to embrace are (not) viable, depending on the expectations of the near
with R d the derited radius of the C k C h Md v d the deihd bll#lUdind rpced. future, and the viability question is still open. It is hoped fa, and more a
theerequirrdm~~cm#pondswithazaooutpltIhtouautyzdspends leu exp&ed, that withii this deedc the efficiency and capacity of general
m thedid8nsCp fwm F t o M . To mlve tbe probkm. ilra canprde the zero symbolic computation programs arc &M&. and that the capabilities of
dynamics and t h a ~detamie its ntability as a function of p. datively cheap computers will erulble the solution of the benchmark and
The firer pmblan encountered in computing the ZCIO dynamics is the non larger problems at reasonable costa
& n e chuaaa of tbe eqlutions with fwpecl to the m g mgk 6. To
ov-me this problem an additional integrator M be added to the system
and I can be ryprded u anew input. Howeva, this cumwthe system to Acknowledgement
have a singular decoupling ma?rix A. which makea the analysis more difRcult
The extnormform fmdion. b ~ e on d the Zao m m i c s Algorithm, can Ham VM Eapen implemented the enalysis and design algorithms in MAPLE
be used but this leds to immnounlable problems in the computalion due and is the main author of N d O N . Ted van de Broek supplied the vehi-
to huge memory need& soolution is lo add an integrator to the other cle simulation problem and cmesponding model equations. The author is
hput Fe d80, Md &g ph M a new @Ut, m&ing the dCCalpkg matrix indebted for both contributions.
mgulu by rbo “dekying” the input Fe. All this dding of intssr;rtOn must
be pafamed by hmd through madificationsoff and g. beuuae the Q ” i c
EwansionA&dtbm is not implemented. References
’Iheadditim oftwohtcgr&a pamits the use of the studad ’on [l] T. Umeno, K. Abe, S. Yamashita, and 0.Saito, “A software package
tothe m a l fam with the fmction normf o m . &hough fora largersym. for control design based on the algebraic theory using symbolic manipulation
B e to the larger n u m b of again p b h s uiaed with the memory hnguage REDUCE:’ in Ikx.TENCON 87.voL 3, (Seoul,Korea),pp. 1102-
needed to @cm the oompltrtion.To simplify the jmbkm. Motha “W- 1106. IEEE,Aug. 1987.
[Z] H.A. Baker, Y.W. KO.and P. ” e n d , m e application ofa compute%
-
urating” hction was wed in the magic famuk (7 ‘ ) by uaing instead
of sin(uban(-)).Now, the tnulsfamalion, urd even a solution f a the partial algebra system to the analysis of a claar of nonlinear systems,” in Nwlinear
di-al equation LfhQ 0. Mbe computed, but the invuac t M s f o r Cmrml Sybtans W g n : sdence papers of the FAC Symposium, (Capri,
mat~oncannot, beuuaeof UIPlifici@llimit in the WE of objects permitted by Italy), pp. 131-136. IFAC, Oxfad: Pergamon Press,1989.
the softwue, puttin8 Muntimely end to the computation. [3] R. RothfuO, J. Schaf€ner, and M. Zeitz. “RechneqestUtae A ~ l y ~ e
Anothe cutempf to solve the problem of non rWne input is not to a c e the und Syntheae nichtlineam Systeme.” in Nicht- Regclung: Merho-
modelbut to simplipV it mthe input 6 appears linear in the equations. To this den, W h e . Anwendungen, voL 1026 of VDIBmkhte, pp. 267-291,
ad,themaunption that I is mallhas to be adopted. ?hen,by using a Taylor Diis~eldorf:VDI-Valag, 1993.
series expansion, they- of equations caa be written lineer in b if the [4] 0.ALhriff and G.L.Blankenship. “Computa awn algorithms for non-
depcndarcy of I of t h e w ktaltite force isdroppd. so I hould idso be linear control,” in A d w i n d Computing Cancepts and Techniquesin Control
mull rclrtive to cy. m unrdidc asamption. lhis time the tmsfomution figjneaing (M. I. Denham and A. J. Laub, eda). voL47 of NATOASISm’es
to the m a l fam M be computed, but the oonlinur yaem, needed to E pp. 53-80, Berlin: Springer-Ver@. 1988.
compute the inverse transform&ion. could not be solved,this time not due to [SI B. de Jager, “Nonlinear control system analysis m d design with Maple:’
manory c a n d t s but due to Imit.tioas of the solve functim of MAPLE. in Mkid Mgeace, Expat Sy&“ and Symbolic Computing (E. N.
conchding: several rttanps to mlve this p b l e m were in vain due to HouStis and J. R. Rice. eda), Selected and wised papem from the IMACS
limitsonthemurimrlobjeurize 13th Wald C O ~ ~ S S(Dublin,, Irelend, July 1991). pp. 155-164, IMACS,
h e t e r d ~ nN: o ~ U l - H ~ l h 1992.
d.
limitations of the solve function
limits of the milabk physical (or vhtual) memory. [6] H. van Essen and B. de Jager, “Analysis and design of nonlinear control
sy-s with the symbolic computatbn system Maple.” in h. of the second
The lnat problem is relatively eury to mlve. but becuiae thememory require- Eumpesn Cmbd Cod (J. Nieuwenhuis, C. Raagman. and H. Trentehan,
ments are likely to be qxmentid or double exponential with respect to the edr). vol. 4, (Groningen. IXe Netharlands), pp. 2081-2085, June 1993.
problem size, this is not a dKlp way out. Ihe fiw two problems hould be [71 B. de Jager. “Symbolic calculation of zao dynamics fanonlinear control
resolved by tbe Mrrpre developas. systems,” in Ikx.of the 1991 h t m a t . Symp. on Symbolic and Algebraic
All in rU,the symbolic armputcltion softwareyet is not mature enough to solve Computalicn, ISSAC’91 (S. M. Watt, 4.) (Bonn.
. Gennany). pp. 321-322,
largm rrle pmbluns. and in this case we have to remt to a p u d y numeric ACM Press, New York,July 1991.
apprach to detaminc the M i ofthe zao dynamics. [SI B. de Jager, ‘Symbolics f a control: Maple used in solving the exact lin-
We propole to use this @kan &I a benchmut.a ydrtick. for the viability earizationpmblem.”inStudiainCmputcrAlgelmJ%wMu~, ptooeednm
of symbolic canputrtioa programs. ofthe 1992 SCAFISeminar, voL Il of The SCAFIhpea (Amsterdam, The
Nechalands). pp. 125-134, CAN, 1992
8. Condudon and DiruriOn [9] A. ldai.NonLinearConOSysfms:AnhlnniuUio~z Berlin:Springer-
The computation of the namd form, of the m dynamics, of the solution Verhg, 2nd ed., 1989.
of the input-output and the d.te lplct exact kearizalion pmblems con be [lo] H.vanEssen,”Symbolsspe;rkbuderthannmnbas:Analysisand design
automatedby using s y e l i c computalian, ag.by Uangthe N ~ O pack- N of nonlinear cantrol systems with the symbolic computation s y m MAPLE,”
age ’Lhir meansthat it i s much easier now tou~cantrolksb a d on the Maercr’s thcais, Eindhoven Univadty of Technoloa, Dept. of Mechanical
linearization apprmch, that can hlly take into account the nonlinedies in Engineering,June 1992. Report WFW 92.061.
ml systems. An enhancement of the p e r f o r m ~ ~ofe some cantrol syatems, [ll] H.Nijmeijer and A. J. van der SchaFl, Nonlinear Qvnamical Confro1
for a large set of operation conditions, can therefore be expected. Sy-a New Yorl;:Springer-Verlag, 1990.
281