Analysis and Control of Nonlinear Systems
Mathematical Engineering Series Editors: Prof. Dr. Claus Hillermeier, Munich, Germany (volume editor) Prof. Dr.-Ing. Johannes Huber, Erlangen, Germany Prof. Dr. Albert Gilg, Munich, Germany Prof. Dr. Stefan Sch¨affler, Munich, Germany
For further volumes: http://www.springer.com/series/8445
Jean L´evine
Analysis and Control of Nonlinear Systems A Flatness-based Approach
123
Prof. Dr. Jean L´evine Directeur de Recherche CAS, Unit´e Math´ematiques et Syst`emes MINES-Paris Tech 35, rue Saint-Honor´e 77300 Fontainebleau, FRANCE
[email protected]
ISBN 978-3-642-00838-2 e-ISBN 978-3-642-00839-9 DOI 10.1007/978-3-642-00839-9 Springer Dordrecht Heidelberg London New York Library of Congress Control Number: 2009926861 c Springer-Verlag Berlin Heidelberg 2009 This work is subject to copyright. All rights are reserved, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilm or in any other way, and storage in data banks. Duplication of this publication or parts thereof is permitted only under the provisions of the German Copyright Law of September 9, 1965, in its current version, and permission for use must always be obtained from Springer. Violations are liable to prosecution under the German Copyright Law. The use of general descriptive names, registered names, trademarks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use. Cover design: WMXDesign GmbH, Heidelberg Printed on acid-free paper Springer is part of Springer Science+Business Media (www.springer.com)
To Martine, Sonia and Benjamin
Preface
The present book is a translation and an expansion of lecture notes corresponding to a course of Mathematics of Control delivered during four years ´ at the Ecole Nationale des Ponts et Chauss´ees (Marne-la-Vall´ee, France) to Master students. A reduced version of this course has also been given at the Master level at the University of Paris-Sud since eight years. It may therefore serve as lecture notes for teaching at the Master or PhD level but also as a comprehensive introduction to researchers interested in flatness and more generally in the mathematical theory of finite dimensional systems and control. This book may be seen as an outcome of the applied research policy pi´ oneered by the Ecole des Mines de Paris (now MINES-ParisTech), France, aiming not only at academic excellence, but also at collaborating with industries on specific innovative projects to enhance technological innovation using the most advanced know-how. This influence, though indirectly visible, mainly concerns the originality of some of the topics addressed here which are, in a sense, a theoretic synthesis of the author’s applied contributions and viewpoints in the control field, continuously elaborated and modified in contact with the industrial realities. Such a synthesis wouldn’t have been made possible without the scientific trust and financial support of many companies during periods ranging from two to ten years. Particular thanks are due to Elf, Shell, Ifremer, Sextant Avionique, Valeo, PSA, IFP and MicroControle/Newport, and to all the outstanding engineers of these companies, from which the author could learn so much. The author particularly wishes to express his gratitude to Fr´ed´eric Autran and Bernard R´emond (Valeo), Alain Danielo and Roger Desailly (Micro-Controle), and Emmanuel Sedda (PSA). The largest part of this book, dealing with flatness and applications, is inspired by works in collaboration, successively, with Benoˆıt Charlet and Riccardo Marino, and then with Michel Fliess, Philippe Martin and Pierre Rouchon. The author addresses his warmest thanks to all of them for many fruitful discussions, in particular those in which the notion of differential
vii
viii
Preface
flatness could be brought to light. Some of the material used in the Singular Perturbation Chapter has been elaborated with Pierre Rouchon and Yann Creff, starting with a collaboration with Elf on distillation control. Their contributions are warmly acknowledged. The author is also indebted to all his former PhD students, and particularly Michel Cohen de Lara, Guchuan Zhu, R´egis Baron, Jean-Christophe Ponsart, Philippe M¨ ullhaupt, Balint Kiss, Rida Sabri, Thierry Miquel, Thomas Devos and J´er´emy Malaiz´e, in addition to the previously cited ones, Benoˆıt Charlet, Philippe Martin, Pierre Rouchon and Yann Creff, for their skillful help to develop various applications of flatness in particularly interesting directions. The author also wishes to warmly thank all his colleagues of the Centre Automatique et Syst`emes, and more particularly Guy Cohen, Pierre Carpentier and Laurent Praly for their constant scientific trust and friendly encouragements during more than twenty years. He would also like to especially acknowledge a recent fruitful collaboration with Felix Antritter of the Bundeswehr University, M¨ unchen, on symbolic computation of flatness conditions. The first part of this manuscript was translated into english when the author visited the Department of Mathematics and Statistics of the University of Kuopio, Finland, from April to June 2006, as an Invited Professor funded by a Marie Curie Host Fellowship for the Transfer of Knowledge (project PARAMCOSYS, MTKD-CT-2004-509223), and was used as lecture notes for a course delivered during this period. The author is not only indebted to Markku Nihtil¨a, Chairman of this department, for his kind invitation, but also for his stimulating discussions and encouragements without which this book would not yet be finished. Many thanks are also addressed to Petri Kokkonen for his most efficient and enthusiastic help in the exercise sessions and in his careful reading of a draft version of this manuscript. This manuscript has also been used as lecture notes for a two months intensive course given in March and April 2007 at the School of Electrical Engineering and Computer Science of the University of Newcastle, Australia, at the invitation of Jose De Dona and his group, where the decision to append a second part, dealing with industrial applications, has been taken. The author particularly wishes to express his profound thanks to Jose De Dona, Maria Seron, Jaqui Ramage and Graham Goodwin. The author is also deeply indebted to Prof. Claus Hillermeier of the Bundeswehr University, M¨ unchen, for his kind invitation to publish this manuscript in the Springer collection he is supervising. J. L´evine
Contents
1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1 Trajectory Planning and Tracking . . . . . . . . . . . . . . . . . . . . . . . . 1.2 Equivalence and Flatness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3 Equivalence in System Theory . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.4 Equivalence and Stability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.5 What is a Nonlinear Control System? . . . . . . . . . . . . . . . . . . . . . 1.5.1 Nonlinearity versus Linearity . . . . . . . . . . . . . . . . . . . . . . 1.5.2 Uncontrolled versus Controlled Nonlinearity . . . . . . . . .
1 2 3 5 5 6 6 7
Part I THEORY 2
Introduction to Differential Geometry . . . . . . . . . . . . . . . . . . . . 2.1 Manifold, Diffeomorphism . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2 Vector Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.1 Tangent space, Vector Field . . . . . . . . . . . . . . . . . . . . . . . 2.2.2 Flow, Phase Portrait . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.3 Lie Derivative . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.4 Image of a Vector Field . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.5 First Integral, Straightening Out of a Vector Field . . . . 2.2.6 Lie Bracket . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.7 Distribution of Vector Fields . . . . . . . . . . . . . . . . . . . . . . . 2.2.8 Integral Manifolds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2.9 First Order Partial Differential Equations . . . . . . . . . . . 2.3 Differential Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.1 Cotangent Space, Differential Form, Duality . . . . . . . . . 2.3.2 Exterior differentiation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.3 Image of a Differential Form . . . . . . . . . . . . . . . . . . . . . . . 2.3.4 Pfaffian System, Complete Integrability . . . . . . . . . . . . . 2.3.5 Lie Derivative of a 1-Form . . . . . . . . . . . . . . . . . . . . . . . . . 2.3.6 Back to Frobenius Theorem . . . . . . . . . . . . . . . . . . . . . . .
13 14 17 17 19 21 22 23 25 28 29 30 32 32 35 36 37 39 41
ix
x
3
Contents
Introduction to Dynamical Systems . . . . . . . . . . . . . . . . . . . . . . . 3.1 Recalls on Flows and Orbits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.1 Equilibrium Point, Variational Equation . . . . . . . . . . . . . 3.1.2 Periodic Orbit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.1.3 Poincar´e’s Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2 Stability of Equilibrium Points and Orbits . . . . . . . . . . . . . . . . . 3.2.1 Attractor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2.2 Lyapunov Stability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.2.3 Remarks on the Stability of Time-Varying Systems . . . 3.2.4 Lyapunov’s and Chetaev’s Functions . . . . . . . . . . . . . . . . 3.2.5 Hartman-Grobman’s and Shoshitaishvili’s Theorems, Centre Manifold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3 Singularly Perturbed Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3.1 Invariant Slow Manifold . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.3.2 Persistence of the Invariant Slow Manifold . . . . . . . . . . . 3.3.3 Robustness of the Stability . . . . . . . . . . . . . . . . . . . . . . . . 3.3.4 An Application to Modelling . . . . . . . . . . . . . . . . . . . . . . . 3.4 Application to Hierarchical Control . . . . . . . . . . . . . . . . . . . . . . . 3.4.1 Controlled Slow Dynamics . . . . . . . . . . . . . . . . . . . . . . . . . 3.4.2 Hierarchical Feedback Design . . . . . . . . . . . . . . . . . . . . . . 3.4.3 Practical Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . .
43 45 45 47 50 53 53 55 58 59
4
Controlled Systems, Controllability . . . . . . . . . . . . . . . . . . . . . . . 4.1 Linear System Controllability . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.1.1 Kalman’s Criterion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.1.2 Controllability Canonical Form . . . . . . . . . . . . . . . . . . . . . 4.1.3 Motion Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.1.4 Trajectory Tracking, Pole Placement . . . . . . . . . . . . . . . . 4.2 Nonlinear System Controllability . . . . . . . . . . . . . . . . . . . . . . . . . 4.2.1 First Order and Local Controllability . . . . . . . . . . . . . . . 4.2.2 Local Controllability and Lie Brackets . . . . . . . . . . . . . . 4.2.3 Reachability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.2.4 Lie Brackets and Kalman’s Criterion for Linear Systems
87 87 87 90 93 95 96 96 97 101 104
5
Jets of Infinite Order, Lie-B¨ acklund’s Equivalence . . . . . . . . 5.1 An Introductory Example of Crane . . . . . . . . . . . . . . . . . . . . . . . 5.2 Description of the System Trajectories . . . . . . . . . . . . . . . . . . . . 5.3 Jets of Infinite Order, Change of coordinates, Equivalence . . . 5.3.1 Jets of Infinite Order, Global Coordinates . . . . . . . . . . . 5.3.2 Product Manifolds, Product Topology . . . . . . . . . . . . . . . 5.3.3 Cartan Vector Fields, Flows, Control Systems . . . . . . . . 5.3.4 Lie-B¨ acklund Equivalence . . . . . . . . . . . . . . . . . . . . . . . . . 5.3.5 Properties of the L-B Equivalence . . . . . . . . . . . . . . . . . . 5.3.6 Endogenous Dynamic Feedback . . . . . . . . . . . . . . . . . . . .
107 107 109 113 114 114 115 121 125 127
64 73 75 76 78 79 81 81 82 83
Contents
xi
6
Differentially Flat Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.1 Flat System, Flat Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2.1 Mass-Spring System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2.2 Robot Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2.3 Pendulum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2.4 Non Holonomic Vehicle . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.2.5 Vehicle with Trailers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.3 Flatness and Controllability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.4 Flatness and Linearization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.4.1 Mass-Spring System (followed) . . . . . . . . . . . . . . . . . . . . . 6.4.2 Robot Control (followed) . . . . . . . . . . . . . . . . . . . . . . . . . . 6.4.3 Pendulum (followed) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.4.4 Non Holonomic Vehicle (followed) . . . . . . . . . . . . . . . . . . 6.5 Flat Output Characterization . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.5.1 The Ruled Manifold Necessary Condition . . . . . . . . . . . . 6.5.2 Variational Characterization . . . . . . . . . . . . . . . . . . . . . . . 6.5.3 The Polynomial Matrix Approach . . . . . . . . . . . . . . . . . . 6.5.4 Practical Computation of the Smith Decomposition . . . 6.5.5 Flatness Necessary and Sufficient Conditions . . . . . . . . . 6.5.6 The Operator d . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.5.7 Strong Closedness Necessary and Sufficient Conditions 6.5.8 Flat Outputs of Linear Controllable Systems . . . . . . . . . 6.5.9 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
131 131 133 133 134 135 138 139 141 143 144 145 145 146 146 148 151 152 155 157 160 163 167 170
7
Flatness and Motion Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.1 Motion Planning Without Constraint . . . . . . . . . . . . . . . . . . . . . 7.1.1 The General Case . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.1.2 Rest-to-Rest Trajectories . . . . . . . . . . . . . . . . . . . . . . . . . . 7.2 Motion Planning With Constraints . . . . . . . . . . . . . . . . . . . . . . . 7.2.1 Geometric Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.2.2 Quantitative Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . 7.3 Application to Predictive Control . . . . . . . . . . . . . . . . . . . . . . . . .
181 182 182 184 185 186 189 190
8
Flatness and Tracking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.1 The Tracking Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.1.1 Pendulum (conclusion) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.1.2 Non Holonomic Vehicle (conclusion) . . . . . . . . . . . . . . . . 8.2 Control of the Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
193 193 194 195 197
Part II APPLICATIONS 9
DC Motor Starting Phase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203 9.1 Tracking of a Step Speed Reference . . . . . . . . . . . . . . . . . . . . . . . 204 9.2 Flatness Based Tracking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
xii
Contents
10 Displacements of a Linear Motor With Oscillating Masses 10.1 Single Mass Case . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.1.1 Displacement Without Taking Account of the Auxiliary Mass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.1.2 Displacements Taking Account of the Auxiliary Mass . 10.1.3 Comparisons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10.2 Displacements With Two Auxiliary Masses . . . . . . . . . . . . . . . . 11 Synchronization of a Pair of Independent Windshield Wipers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.2 The Model of a Single Wiper . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.3 Open Loop Synchronization of the Pair of Wipers by Motion Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.4 Trajectory Tracking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11.5 Synchronization by Clock Control . . . . . . . . . . . . . . . . . . . . . . . .
211 212 213 214 216 220
225 225 228 229 233 235
12 Control of Magnetic Bearings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.1 Analysis and Control of a Ball . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.1.1 Modelling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.1.2 Current Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.1.3 Voltage Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.1.4 Hierarchical Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.2 The General Shaft . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.2.1 Modelling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.2.2 Current Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.2.3 Hierarchical Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.3 Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.3.1 Observer Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.3.2 Digital Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.4 Experimental Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.4.1 Platform Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12.4.2 Experiments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
243 245 245 246 253 255 265 266 267 269 269 270 273 273 273 274
13 Crane Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13.1 Orientation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13.2 Straight Line Displacement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13.2.1 Approximate Tracking of Straight Line by Hierarchical PID Control . . . . . . . . . . . . . . . . . . . . . . . . . . 13.2.2 Straight Line Tracking Without Small Angle Approximation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13.3 Obstacle Avoidance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13.3.1 Tracking With Small Angle Approximation . . . . . . . . . . 13.3.2 Tracking Without Small Angle Approximation . . . . . . .
279 279 282 282 286 290 291 293
Contents
xiii
14 Automatic Flight Control Systems . . . . . . . . . . . . . . . . . . . . . . . . 295 14.0.3 Generic Aircraft Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296 14.0.4 Flatness Based Autopilot Design . . . . . . . . . . . . . . . . . . . 299 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
Chapter 2
Introduction to Differential Geometry
This Chapter aims at introducing the reader to the basic concepts of differential geometry such as diffeomorphism, tangent and cotangent space, vector field, differential form. Special emphasis is put on the integrability of a family of vector fields, or distribution 1 , according to its role in nonlinear system theory, For simplicity’s sake, we have defined a manifold as the solution set to a system of implicit equations expressed in a given coordinate system, according to the implicit function theorem. One can then get rid of the coordinate choice thanks to the notion of diffeomorphism or curvilinear coordinates. Particular interest is given to the notion of straightening out coordinates, that allow to express manifolds, vector fields or distributions in a trivial way. The interested reader may find a more axiomatic presentation e.g. in Anosov and Arnold [1980], Arnold [1974, 1980], Boothby [1975], Chevalley [1946], Choquet-Bruhat [1968], Demazure [2000], Godbillon [1969], Pham [1992]. The implicit function theorem, the constant rank theorem and the existence and uniqueness of integral curves of a differential equation, which are part of the foundations of analysis, are given without proof. Excellent proofs may be found in Arnold [1974], Cartan [1967], Dieudonn´e [1960], Marino [1986], Pham [1992], Pontriaguine [1975]. Some applications of these methods to Mechanics may be found in Abraham and Marsden [1978], Godbillon [1969] and, in Isidori [1995], Khalil [1996], Nijmeijer and van der Schaft [1990], Sastry [1999], Slotine and Li [1991], Vidyasagar [1993], other approaches and developments of the theory of control of nonlinear systems. 1
a geometric object not to be confused with the functional analytic notion of distribution developed by L. Schwartz.
J. Lévine, Analysis and Control of Nonlinear Systems, Mathematical Engineering, DOI 10.1007/978-3-642-00839-9_2, © Springer-Verlag Berlin Heidelberg 2009
13
14
2 Introduction to Differential Geometry
2.1 Manifold, Diffeomorphism Recall that, given a coordinate system (x1 , . . . , xn ) and a k-times continuously differentiable mapping Φ from an open set U ⊂ Rn to Rn−p with 0 ≤ p < n, the tangent linear mapping DΦ(x), also called Jacobian matrix i of Φ, is the matrix whose entry of row i and column j is ∂Φ ∂xj (x). We start with the following fundamental theorem: Theorem 2.1. (Implicit Function Theorem) Let Φ be a k-times continuously differentiable mapping, with k ≥ 1, from an open set U ⊂ Rn to Rn−p with 0 ≤ p < n. We assume that there exists at least an x0 ∈ U such that Φ(x0 ) = 0. If for every x in U the tangent linear mapping DΦ(x) has full rank (equal to n − p), there exists a neighborhood V = V1 × V2 ⊂ U of x0 in Rn = Rp × Rn−p , with V1 ∈ Rp and V2 ∈ Rn−p , and a k-times continuously differentiable mapping ψ from V1 to V2 such that the two sets {x ∈ V1 × V2 |Φ(x) = 0} and {(x1 , x2 ) ∈ V1 × V2 |x2 = ψ(x1 )} are equal. In other words, the function ψ locally satisfies Φ(x1 , ψ(x1 )) = 0 and the “dependent variable” x2 = ψ(x1 ) is described by the p (locally) independent variables x1 . Example 2.1. Consider the function Φ from R2 to R defined by Φ(x1 , x2 ) = x21 + x22 − R2 where R is a p positive real. Clearly, a solution to the equation Φ = 0 is given by x1 = ± R2 − x22 for |x2 | ≤ R. The implicit function Theorem confirms the existence of a local solution around a point (x1,0 , x2,0 ) such that x21,0 + x22,0 = R2 (e.g. x1,0 = R, x2,0 = 0), since the tangent linear mapping of Φ at such point is: DΦ(x1,0 , x2,0 ) = (2x1,0 , 2x2,0 ) 6= (0, 0), and has rank 1. Note that there are two local towhether we consider qsolutions according q 2 2 2 the point (x1,0 , x2,0 ) equal to R − x2,0 , x2,0 or to − R − x22,0 , x2,0 . The notion of manifold is a direct consequence of Theorem 2.1: Definition 2.1. Given a differentiable mapping Φ from Rn to Rn−p (0 ≤ p < n), we assume that there exists at least an x0 satisfying Φ(x0 ) = 0 and that the tangent linear mapping DΦ(x) has full rank (n − p) in a neighborhood V of x0 . The set X defined by the implicit equation Φ(x) = 0, is called differentiable manifold of dimension p. Otherwise stated: X = {x ∈ V |Φ(x) = 0}.
(2.1)
The fact that this set is non empty is a direct consequence of Theorem 2.1. If in addition Φ is k-times differentiable (resp. analytic), we say that X is a C k differentiable manifold, k = 1, . . . , ∞ (resp. analytic –or C ω –). If non ambiguous, we simply say manifold.
2.1 Manifold, Diffeomorphism
15
R
.C
Fig. 2.1 The sphere of R3
Example 2.2. The affine (analytic) manifold: {x ∈ Rn |Ax − b = 0} has dimension p if rank (A) = n − p and b ∈ ImA. Example 2.3. The sphere of R3 centered at C, of coordinates (xC , yC , zC ), and of radius R, given by {(x, y, z) ∈ R3 |(x−xC )2 +(y−yC )2 +(z−zC )2 −R2 = 0}, is a 2-dimensional analytic manifold (see Fig. 2.1). The concept of local diffeomorphism is essential to describe manifolds in an intrinsic way, namely independently of the choice of coordinates in which the implicit equation Φ(x) = 0 is stated). Definition 2.2. Given a mapping ϕ from an open subset U ⊂ Rp to an open subset V ⊂ Rp , of class C k , k ≥ 1 (resp. analytic), we say that ϕ is a local diffeomorphism of class C k (resp. analytic) in the neighborhood U (x0 ) of a point x0 of U if ϕ is invertible from U (x0 ) to a neighborhood V (ϕ(x0 )) of ϕ(x0 ) of V and if its inverse ϕ−1 is also C k (resp. analytic). Indeed, if we consider the manifold X defined by (2.1), and if we introduce the change of coordinates x = (x1 , x2 ) = ϕ(z) = (ϕ1 (z1 ), ϕ2 (z2 )) where ϕ = (ϕ1 , ϕ2 ) is a local diffeomorphism of Rn , with ϕ1 (resp. ϕ2 ) local diffeomorphism of Rp (resp. Rn−p ), the expression x2 = ψ(x1 ) becomes ϕ2 (z2 ) = ψ(ϕ1 (z1 )), or z2 = ϕ−1 2 ◦ ψ ◦ ϕ1 (z1 ), which means that the same manifold can be equivalently represented by x2 = ψ(x1 ), in the x-coordinates, ˜ 1 ), with ψ˜ = ϕ−1 ◦ ψ ◦ ϕ1 , in the z-coordinates. It results that or by z2 = ψ(z 2 the notion of manifold doesn’t depend on the choice of coordinates, if the coordinate changes are diffeomorphisms.
16
2 Introduction to Differential Geometry
We also introduce the slightly weaker notion of local homeomorphism. We say that ϕ is a local C k (resp. analytic) homeomorphism if ϕ is of class C k (resp. analytic), locally invertible and if its inverse is continuous. Local diffeomorphisms are characterized by the following classical result: Theorem 2.2. (of local inversion) A necessary and sufficient condition for ϕ to be a local C k diffeomorphism (k ≥ 1) in a neighborhood of x0 is that its tangent linear mapping Dϕ(x0 ) is one-to-one. We also recall: Theorem 2.3. (constant rank) Let ϕ be a C k mapping (k ≥ 1) from a m-dimensional C k manifold X to a r-dimensional C k manifold Y . for every y ∈ ϕ(U ) ⊂ Y , ϕ−1 ({y}) is a m − q-dimensional C k submanifold of X; (ii) ϕ(U ) is a q-dimensional C k submanifold of Y .
(i)
In particular, (i)’ if m ≤ r, ϕ is injective from U to Y if and only if rank (Dϕ(x)) = m for every x ∈ U (thus ϕ is a homeomorphism from U to ϕ(U )). (ii)’ if m ≥ r, ϕ is onto from U to V , an open subset of Y , if and only if rank (Dϕ(x)) = r. The notion of curvilinear coordinates provide a remarkable geometric interpretation of a diffeomorphism. In particular, one can find (locally) an adapted system of curvilinear coordinates in which the manifold X given by (2.1) is expressed as a vector subspace of Rp . It suffices, indeed, to introduce the curvilinear coordinates: y1 = Φ1 (x), . . . , yn−p = Φn−p (x), yn−p+1 = Ψ1 (x), . . . , yn = Ψp (x), the independent functions Ψ1 , . . . , Ψp being chosen such that the mapping x 7→ (Φ1 (x), . . . , Φn−p (x), Ψ1 (x), . . . , Ψp (x)) is a local diffeomorphism. In that case, we say that we have (locally) “straightened out” the coordinates of X since X = {y|y1 = · · · = yn−p = 0}. Example 2.4. We go back to the sphere of example 2.3 and introduce the polar coordinates (ρ, θ, ϕ) corresponding to the transformation Γ from R+ × R/2πZ × R/2πZ to R3 , given by x xC + ρ cos ϕ cos θ y = Γ (ρ, θ, ϕ) = yC + ρ cos ϕ sin θ . z zC + ρ sin ϕ
2.2 Vector Fields
17
Clearly Γ is invertible in any of the two open sets defined by the intersection of R+ × R/2πZ × R/2πZ with {cos ϕ > 0} or {cos ϕ < 0}, and where the closed subset {ρ cos ϕ = 0}, whose image by Γ is the pair of points of cartesian coordinates x = xC , y = yC , z = zC ± ρ, is excluded. Γ is of class C ∞ , and its local inverse is given (e.g. for cos ϕ > 0) by p (x − xC )2 + (y− yC )2 + (z − zC )2 y − yC ρ arctan θ = Γ −1 (x, y, z) = x − xC . ! ϕ z − zC arctan p 2 2 (x − xC ) + (y − yC ) Θ is also of class C ∞ in the open set Γ (R+ × R/2πZ × R/2πZ ∩ {cos ϕ > 0}) = R2 × {z > zC } − {(xC , yC , zC + ρ)} and thus Γ is a local diffeomorphism. In polar coordinates, the implicit equation defining the sphere becomes ρ − R = 0. Therefore, the sphere of R3 is locally equal to the set {ρ = R}. One can check that the tangent linear mapping of Γ is given by cos ϕ cos θ −ρ cos ϕ sin θ −ρ sin ϕ cos θ DΓ = cos ϕ sin θ ρ cos ϕ cos θ −ρ sin ϕ sin θ sin ϕ 0 ρ cos ϕ and that det(DΓ ) = ρ2 cos ϕ, which precisely vanishes on the closed subset {ρ cos ϕ = 0} where Γ is not injective, in accordance with Theorem 2.2.
2.2 Vector Fields 2.2.1 Tangent space, Vector Field Assume, as before, that we are given a differentiable mapping Φ from Rn to Rn−p (0 ≤ p < n), with at least an x0 satisfying Φ(x0 ) = 0. The tangent linear mapping DΦ(x) of Φ at x, expressed in the local coordinate system ∂Φj (x1 , . . . , xn ), is thus the matrix ∂xi (x) . 1≤i≤n, 1≤j≤n−p
It is also assumed that DΦ(x) has full rank (n − p) in a neighborhood V of x0 , so that the implicit equation Φ(x) = 0 defines a p-dimensional manifold denoted by X. We easily check that a normal vector at the point x to the manifold X is “carried” by DΦ(x), or more precisely, is a linear combination of the rows
18
2 Introduction to Differential Geometry
DΦ(x)
. y(0) x=y(0)
y(t)
Fig. 2.2 Tangent and normal spaces to a manifold at a point.
of DΦ(x). Indeed, let y(t) be a differentiable curve contained in X for all t ∈ [0, τ [,with τ > 0 sufficiently small, such that y(0) = x (the existence of such a curve results from the implicit function Theorem). We therefore have = 0. Letting t converge to 0, Φ(y(t)) = 0 for all t ∈ [0, τ [ and thus Φ(y(t))−Φ(x) t def dy we get DΦ(x).y(0) ˙ = 0, where y(0) ˙ = dt |t=0 (see Fig.2.2), which proves that the vector y(0), ˙ tangent to X at the point x, belongs to the kernel of DΦ(x). Doing the same for every curve contained in X and passing through x, it immediately results that every element of the range of DΦ(x) is orthogonal to every tangent vector to X at the point x, Q.E.D. This motivates the following: Definition 2.3. The tangent space to X at the point x ∈ X is the vector space Tx X = ker DΦ(x). S The tangent bundle TX is the set TX = x∈X Tx X. Taking into account the fact that DΦ(x) has rank n − p in V , dim Tx X = dim ker DΦ(x) = p , ∀x ∈ V. Example 2.5. Going back to example 2.3, the tangent space to the sphere of R3 at the point (x, y, z) 6= (xC , yC , zC ± R) is (z − zC ) (y − yC ) 0 ker ((x − xC ) (y − yC ) (z − zC )) = span −(x − xC ) , 0 −(x − xC ) and is clearly 2-dimensional. Definition 2.4. A vector field f (of class C k , analytic) on X is a mapping (of class C k , analytic) that maps every x ∈ X to the vector f (x) ∈ Tx X.
2.2 Vector Fields
19
Definition 2.5. An integral curve of the vector field f is a local solution of the differential equation x˙ = f (x). The local existence and uniqueness of integral curves of f results from the fact that f is of class C k , k ≥ 1, and thus locally Lipschitzian2 .
2.2.2 Flow, Phase Portrait We denote by Xt (x) the point of the integral curve of the vector field f at time t, starting from the initial state x at time 0. Recall that if f is of class C k (resp. C ∞ , analytic) there exists a unique maximal integral curve t 7→ Xt (x) of class C k+1 (resp. C ∞ , analytic) for every initial condition x in a given neighborhood, in the sense that the interval of time I on which it is defined is maximal. As a consequence of existence and uniqueness, the mapping x 7→ Xt (x), noted Xt , is a local diffeomorphism for every t for which it is defined: Xt (X−t (x)) = x for every x and t in a suitable neighborhood U × I of X × R, and thus Xt−1 = X−t , where we have denoted by ϕ the restriction of U U U a function ϕ to U . When the integral curves of f are globally defined on R, we say that the vector field f is complete. In this case, Xt exists for all t ∈ R, and defines a one-parameter group of local diffeomorphisms, namely: 1. 2.
the mapping t 7→ Xt is C ∞ , Xt ◦ Xs = Xt+s for all t, s ∈ R and X0 = IdX .
As already remarked, the items 1 and 2 imply that Xt is a local diffeomorphism for all t. The mapping t 7→ Xt is called the flow associated to the vector field f . It is also often called the flow associated to the differential equation x˙ = f (x). It is straightforward to verify that the flow satisfies the differential equation d Xt (x) = f (Xt (x)) dt
(2.2)
for all t and every initial condition x such that Xt (x) is defined. In the time-varying case, namely for a system 2 Recall that a function f from Rp to Rp is locally Lipschitzian if and only if for every open set U of Rp and every x1 , x2 in U , there exists a real K such that kf (x1 ) − f (x2 )k ≤ Kkx1 − x2 k. The differential equation x˙ = f (x), with f locally Lipschitzian, admits, in a neighborhood of every point x0 , an integral curve passing through x0 at t = 0, i.e. a mapping t 7→ x(t) satisfying x(t) ˙ = f (x(t)) and x(0) = x0 for all t ∈ I, I being an open interval of R containing 0.
20
2 Introduction to Differential Geometry
x˙ = f (t, x)
(2.3)
the corresponding notion of flow is deduced from what precedes by adding a new differential equation describing the time evolution t˙ = 1, and augmenting the state x ˜ = (x, t), which amounts to work with the new vector field f˜(˜ x) = (f (t, x), 1), which is now a stationary one on the augmented manifold X × R of dimension p + 1. We call orbit of the vector field f an equivalence class for the equivalence relation “x1 ∼ x2 if and only if there exists t such that Xt (x1 ) = x2 or Xt (x2 ) = x1 ”. In other words, x1 ∼ x2 if and only if x1 and x2 belong to the same maximal integral curve of f . We also call orbit of a point the maximal integral curve passing through this point and its oriented orbit the orbit of this point along with its sense of motion. The phase portrait of the vector field f is defined as the partition of the manifold X into oriented orbits.
x<0
x>0 • O
Fig. 2.3 The 3 orbits of system (2.4).
Example 2.6. The flow of the differential equation on R x˙ = −x
(2.4)
is Xt (x0 ) = e−t x0 . Since e−t is positive for all t, two arbitrary points of R belong to the same integral curve if and only if they belong to the same halfline (R+ or R− ) or they are both 0, i.e. x1 ∼ x2 is equivalent to sign (x1 ) = sign (x2 ) or x1 = x2 = 0. The system (2.4) thus admits 3 orbits: R+ , R− and {0}, as indicated on Fig. 2.3. The same conclusion holds for the system x˙ = +x, the only difference being the orientation of the orbits, opposite to the one of (2.4). Indeed, the flow and phase portrait do not depend on the choice of coordinates of X: if ϕ is a local diffeomorphism and if we note z = ϕ(x) we have z˙ =
∂ϕ f (ϕ−1 (z)). ∂x
(2.5)
2.2 Vector Fields
21
Thus, denoting by g the vector field on ϕ(X) ⊂ X defined by g(z) =
∂ϕ f (ϕ−1 (z)) ∂x
and Zt the local flow associated to g, one immediately sees that Zt is deduced from the flow Xt by the formula Zt (ϕ(x)) = ϕ(Xt (x)), or: Zt ◦ ϕ = ϕ ◦ Xt .
(2.6)
It results that if x1 ∼ x2 , then z1 = ϕ(x1 ) ∼ z2 = ϕ(x2 ), which proves that the orbits of g are the orbits of f transformed by ϕ and the same for their respective phase portraits.
2.2.3 Lie Derivative Consider a system of local coordinates (x1 , . . . , xp ) in an open set U ⊂ Rp . The components of the vector field f in these coordinates are denoted by (f1 , . . . , fp )T . We now show that to f one can associate in a one-to-one way a first order differential operator called Lie derivative along f . Denote, as before, by t 7−→ Xt (x) the integral curve of f in U passing through x at t = 0. Definition 2.6. Let h be a function of class C 1 from Rp to R and x ∈ U . We call Lie derivative of h along f at x, noted Lf h(x), the time derivative, at t = 0, of h(Xt (x)), i.e.: p
Lf h(x) =
X ∂h d h(Xt (x))|t=0 = fi (x) (x) . dt ∂xi i=1
We also call Lie derivative of h along f , denoted by Lf h, the mapping x 7→ Lf h(x) from U to R. According to this formula, every vector field f may be identified to the linear differential operator of the first order Lf =
p X
fi (x)
i=1
∂ . ∂xi
It results that, in local coordinates, we can use indifferently the componentwise or the differential operator expression of f , namely f = (f1 , . . . , fp )T ∼
p X i=1
fi (x)
∂ ∂xi
22
2 Introduction to Differential Geometry
the sign ∼ meaning “identified with”. In the Ppsequel, we∂ systematically make . the abuse of notation f = (f1 , . . . , fp )T = i=1 fi (x) ∂x i Note that it results from this definition (exercise) that the Lie derivative formula is not affected by changes of coordinates3 : Lf h(x) = Lϕ∗ f (h ◦ ϕ−1 )(y).
(2.7)
Example 2.7. In an opensetU of R2 with coordinates (x, t), we consider v the vector field f (t, x) = where v is an arbitrary real number, and the 1 function h(t, x) = x−vt from U to R. The Lie derivative of h along the vector ∂h ∂h field f is given by: Lf h(x, t) = dh dt = ∂x v + ∂t 1 = v − v = 0.
2.2.4 Image of a Vector Field As before, one can introduce local coordinates in which a vector field is straightened out. Beforehand, we need to introduce the notions of image of a vector field by a diffeomorphism and of first integral. To this aim, let us introduce the following simple computation: let ϕ be a local diffeomorphism and set y = ϕ(x). We also denote by y(t) = ϕ(Xt (x)) the image by ϕ of the integral curve Xt (x) of f passing through x at t = 0. We have d d yi (t) = ϕi (Xt (x)) = Lf ϕi (ϕ−1 (y(t))) ∀i = 1, . . . , p. dt dt Thus, the curve t 7→ y(t) satisfies the system of differential equations y˙ i = Lf ϕi (ϕ−1 (y(t))),
i = 1, . . . , p,
whose right-hand side properly defines the desired image of the vector field f by ϕ. We therefore have: Definition 2.7. The image by the diffeomorphism ϕ of the vector field f , noted ϕ∗ f is the vector field given by ϕ∗ f = (Lf ϕ1 (ϕ−1 (y)), . . . , Lf ϕp (ϕ−1 (y)))T . Example 2.8. Going back to the examples 2.3, 2.4 and 2.5, we first compute the tangent space to the sphere in polar coordinates. Recall that its equation is ρ−R = 0. The tangent linear approximation to this mapping is (1, 0, 0) and ` ´ Hint: use the fact that ϕ−1 k (ϕ(x)) = xk and thus, differentiating with respect to xi , Pp ∂ (ϕ−1 )k ∂ϕj = δk,i for all i, k = 1 . . . , p. j=1 ∂y ∂x 3
j
i
2.2 Vector Fields
23
0 0 the tangent space to the sphere is its kernel, namely span 1 , 0 . 0 1 0 ∂ According to the previous notations, v1 = 1 can be identified with ∂θ 0 0 ∂ and v2 = 0 with ∂ϕ . 1 Let us compute the image of these two vectors by the local diffeomorphism Γ defined in example 2.4. According to Definition 2.7, we have −ρ cos ϕ sin θ −(y − yC ) Γ∗ v1 = ρ cos ϕ cos θ = (x − xC ) 0 0 and (x − xC )(z − zC ) −p −ρ sin ϕ cos θ (x − xC )2 + (y − yC )2 (y − yC )(z − zC ) Γ∗ v2 = −ρ sin ϕ sin θ = −p 2 2 0 p (x − xC ) + (y − yC ) 2 2 (x − xC ) + (y − yC )
.
It is readily verified that the two vectors Γ∗ v1 and Γ∗ v2 are independent and belong to the kernel of the mapping (x, y, z) 7→ (x − xC )2 + (y − yC )2 + (z − zC )2 , and thus that the image of the tangent space to the sphere (in polar coordinates) at a given point is the tangent space to the sphere (in cartesian coordinates) at the image of this point. This property also results from the invariance formula (2.7) with f = vi , i = 1, 2, and h(ρ, θ, ϕ) = ρ − R. By construction, Lvi h = 0, i = 1, 2, thus LΓ∗ vi (h ◦ Γ −1 ) = 0, i = 1, 2.
2.2.5 First Integral, Straightening Out of a Vector Field Definition 2.8. A first integral of f is a function γ satisfying Lf γ = 0. In other words, γ remains constant along the integral curves of f . We say that f is straightened out by diffeomorphism (see Fig.2.4) if Lf ϕp (ϕ−1 (y)) = 1 and Lf ϕi (ϕ−1 (y)) = 0
∀ i = 1, . . . , p − 1.
Thus the transformed flow Yt = ϕ(Xt ) of Xt by ϕ satisfies the set of differential equations
24
2 Introduction to Differential Geometry
~ x
~y
ϕ ~ x(xp)
~ y(yp)
ϕ−1
yp
xp
Fig. 2.4 The image by a straightening out diffeomorphism ϕ of the flow of a vector field in the phase space (showing x ˜ = (x1 , . . . , xp−1 ) in function of xp ). The transformed phase portrait (in coordinates y˜ = (y1 , . . . , yp−1 ) in function of yp ) is made of parallel horizontal half-lines of equations yi (yp ) = Cte, i = 1, . . . , p − 1.
y˙ 1 = 0, y˙ 2 = 0, . . . , y˙ p−1 = 0, y˙ p = 1 which means that the transformed vector field is (0, 0, . . . , 0, 1)T (straightened out) and that the corresponding orbits Yi (yp ), i = 1, . . . , p − 1 are parallel lines to the yp axis. We say that x0 ∈ X is a transient, or regular, point of the vector field f if f (x0 ) 6= 0. Clearly, at such a point, we have x˙ = f (x0 ) 6= 0, which means that the integral curve passing through x0 does not stop there, which justifies the word transient. Proposition 2.1. Let x0 be a transient point of the vector field f , of class C k , k ≥ 1, in X. There exists a system of local coordinates (ξ1 , . . . , ξp ) of class C k at x0 for which f is straightened out, i.e. such that Lf ξi = 0 for i = 1, . . . , p − 1 and Lf ξp = 1. Otherwise stated, f admits a system of p − 1 independent first integrals in a neighborhood of x0 , defined by Lf ξi = 0 for i = 1, . . . , p − 1. Example 2.9. Consider the differential system in R2 with coordinates (x1 , x2 ): x˙ 1 = cos2 x1 ,
x˙ 2 = 1.
(2.8)
Since a primitive of cosx˙2 x is tan x+C, we immediately verify that the integral curves of (2.8) passing through (x01 , x02 ) at time t0 with x01 6= ± π2 + 2kπ, are such that tan x1 (t) = t − t0 + tan x01 , x2 (t) = t − t0 + x02 . Thus, if we set y1 = tan x1 (t) − x2 , y2 = x2 , we immediately verify that y˙ 1 = 0 and y˙ 2 = 1. The local diffeomorphism (y1 , y2 ) : (x1 , x2 ) 7→ (tan x1 − x2 , x2 ) is ∂ ∂ thus a straightening out of the field cos2 x1 ∂x + ∂x and, consequently, y1 = 1 2 tan x1 − x2 is a first integral of (2.8). Example 2.10. Consider now the system x˙ 1 = x1 x2 cos2 x2 x˙ 2 = cos2 x2 .
(2.9)
2.2 Vector Fields
25
∂ ∂ + cos2 x2 ∂x associated to (2.9) is straightThe vector field x1 x2 cos2 x2 ∂x 1 2 y1 log x1 − 21 x22 ened out by the local diffeomorphism = . y2 tan x2
Example 2.11. Let U be a function of class C 1 from Rp to R. We say that the system ∂U , i = 1, . . . , p (2.10) m¨ xi = − ∂xi is of gradient type relatively to the potential U . We easily check that the function p 1 X 2 x˙ + U (x) V (x, x) ˙ = m 2 i=1 i (often called mechanical energy) is a first integral of the vector field Pp ∂ 1 ∂U ∂ ˙ i ∂xi − m ∂xi ∂ x˙ i . i=1 x Example 2.12. Let H be a function of class C 1 from Rr × Rr to R. Consider the Hamiltonian system q˙i =
∂H , ∂pi
p˙i = −
∂H , ∂qi
i = 1, . . . , r.
(2.11)
We easily check that the function H is a first integral of the vector field Pr ∂H ∂ ∂H ∂ i=1 ∂pi ∂qi − ∂qi ∂pi . Pr 1 2 Moreover, if we set qi = xi , pi = mq˙i = mx˙ i and H = 2m i=1 pi + U (q), we recover the previous example. In Hamiltonian Mechanics, q is interpreted as the generalized position and p as the generalized impulsion.
2.2.6 Lie Bracket Consider, as in the previous section, a vector field f and a smooth function h. The operator Lf , the Lie derivative along f , can be iterated. Indeed, for every smooth function h from X to R, one can define Lkf h for all k ≥ 0 as follows: L0f h = h and Lkf h = Lf (Lk−1 h) ∀k ≥ 1 . f Pn 2 ∂f ∂h h + fi fj ∂x∂i ∂x ). The iterated Lie derivaFor instance, L2f h = i,j=1 (fi ∂xji ∂x j j tive of order k thus defines a continuous differential operator of order k on the set of functions of class C k . Accordingly, if g1 , . . . , gk are k vector fields on X, following the same lines, we can inductively define the Lie derivative of order r1 + . . . + rk by: Lrg11 · · · Lrgkk h = Lrg11 (Lrg22 · · · Lrgkk h) .
26
2 Introduction to Differential Geometry
If now f and g are two vector fields, let us compute, in a local coordinate system, the following expression: p p X X ∂g ∂f i i ∂h Lf Lg h − Lg Lf h = fj − gj . ∂xj ∂xj ∂xi i=1 j=1 This expression is skew symmetric with respect to f and g, and defines a new differential operator of order 1, since the symmetric second order terms of Lf Lg h and Lg Lf h cancel. It thus constitutes a new vector field, denoted by [f, g], called the Lie bracket of f and g. Definition 2.9. The Lie bracket of the vector fields f and g is the vector field defined by: L[f,g] = Lf Lg − Lg Lf . In local coordinates: p X ∂f ∂g i i ∂ . − gj [f, g] = fj ∂x ∂x ∂xi j j i=1 j=1 p X
(2.12)
The Lie bracket enjoys the following properties: • skew symmetry : [f, g] = −[g, f ]; • [αf, βg] = αβ[f, g] + (αLf β)g − (βLg α)f , for every pair (α, β) of C ∞ functions; • Jacobi identity: [f1 , [f2 , f3 ]] + [f2 , [f3 , f1 ]] + [f3 , [f1 , f2 ]] = 0. It also satisfies: Proposition 2.2. Given a diffeomorphism ϕ from a manifold X to a manifold Y and f1 and f2 two arbitrary vector fields of X, denoting by ϕ∗ f1 and ϕ∗ f2 their images by ϕ in Y , we have: [ϕ∗ f1 , ϕ∗ f2 ] = ϕ∗ [f1 , f2 ].
(2.13)
Proof. By definition, we have Lϕ∗ fi h(ϕ(x)) = Lfi (h◦ϕ)(x), i = 1, 2, for every differentiable function h on Y . Thus Lϕ∗ f2 Lϕ∗ f1 h(ϕ(x)) = Lf2 ((Lϕ∗ f1 h) ◦ ϕ(x)) = Lf2 Lf1 (h◦ϕ)(x). We immediately deduce that L[ϕ∗ f1 ,ϕ∗ f2 ] h(ϕ(x)) = L[f1 ,f2 ] h(ϕ(x)), which proves the Proposition. The bracket[f, g] has the following geometric interpretation: let us denote def
by Xt (x) = exp tf (x), by analogy with the solution of a linear differential equation, the point of the integral curve of f at time t passing through the point x at time 0. This notation allows to precise which vector field is considered when several vector fields may be integrated. Thus, the point of the integral curve of g at time t passing through x at time 0 is noted exp tg(x). For ε sufficiently small, let us consider the expression
2.2 Vector Fields
27
exp-εf(expεg(expεf(x))) •
exp-εg(exp-εf(expεg(expεf(x)))) expεg(expεf(x))
•
•
g ε
2[f,g](x)
f •
•
expεf(x)
x
Fig. 2.5 Geometric interpretation of the bracket [f, g]. The vector field [f, g] does not necessarily belong to the plane spanned by f and g.
exp(−εg) ◦ exp(−εf ) ◦ exp εg ◦ exp εf (x) whose graphic representation is given in Fig.2.5. We now establish the following classical result (particular case of the well-known Baker-CampbellHausdorff formula): Proposition 2.3. exp(−εg) ◦ exp(−εf ) ◦ exp εg ◦ exp εf (x) = x + ε2 [f, g](x) + 0(ε3 ) . Proof. Consider the differential equation x˙ = f (x). The integral curve passing Rt through x0 at time t = 0 satisfies x(t) = x0 + 0 f (x(s))ds. We pose F (t) = Rt f (x(s))ds. Its Taylor development for t sufficiently small is given by 0 F (t) = F (0) + tF 0 (0) +
t2 00 F (0) + 0(t3 ) 2
0 with F 0 (t) = f (x(t)) and F 00 (t) = ∂f ∂x (x(t))f (x(t)). Thus F (0) = 0, F (0) = ∂f 00 f (x0 ) and F (0) = ∂x (x0 )f (x0 ). A Taylor development of x(t) for t = ε sufficiently small is thus given, at the order 2 with respect to ε, by
x(ε) = exp εf (x0 ) = x0 + εf (x0 ) +
ε2 ∂f (x0 )f (x0 ) + 0(ε3 ). 2 ∂x
(2.14)
By the same method, we get x(2ε) = exp εg ◦ exp εf (x0 ) = x0 + ε (f (x0 ) + g(x0 )) ∂g ∂g ε2 ∂f + (x0 )f (x0 ) + (x0 )g(x0 ) + 2 (x0 )f (x0 ) + 0(ε3 ), (2.15) 2 ∂x ∂x ∂x then
28
2 Introduction to Differential Geometry
x(3ε) = exp(−εf ) ◦ exp εg ◦ exp εf (x0 ) ε2 ∂g = x0 + εg(x0 ) + (x0 )g(x0 ) 2 ∂x ∂g ∂f 2 +ε (x0 )f (x0 ) − (x0 )g(x0 ) + 0(ε3 ), (2.16) ∂x ∂x and finally x(4ε) = exp(−εg) ◦ exp(−εf ) ◦ exp εg ◦ exp εf (x) ∂f ∂g 2 = x0 + ε (x0 )f (x0 ) − (x0 )g(x0 ) + 0(ε3 ) ∂x ∂x ∂g (x0 )f (x0 ) − which is the required result since ∂x vector [f, g](x0 ), according to (2.12).
∂f ∂x (x0 )g(x0 )
(2.17)
is equal to the
It results from this Proposition that if for every x in a given neighborhood we consider the vector subspace E(x) of Tx X generated by f (x) and g(x), the bracket [f, g](x) indicates if the integral curves of f and g remain close to E for t sufficiently small (which is the case if [f, g] ∈ E) or not ([f, g] 6∈ E). In particular, one may hope to find a submanifold Ξ of X for which E(x) is its tangent space at every x of the considered neighborhood if [f, g] ∈ E, whereas [f, g] 6∈ E, seems to imply that such a submanifold doesn’t exist, since the integral curves are going out of it. Before addressing the problem of the existence of integral submanifolds, and consequently of the straightening out of a family of vector fields, we need to introduce the notion of distribution of vector fields.
2.2.7 Distribution of Vector Fields Definition 2.10. Assume as before that X is a p-dimensional C ∞ manifold, and that for every x ∈ X, we are given a vector subspace D(x) of Tx X. A distribution of vector fields D is a mapping for which to every point x ∈ X there corresponds the vector subspace D(x) of Tx X. Let V be an open subset of X. The distribution D is said regular with constant rank k ≤ p in V if there exists C ∞ vector fields g1 , . . . , gk such that: • rank (g1 (x), . . . , gk (x)) = k for all x ∈ V . • D(x) = span {g1 (x), . . . , gk (x)} for all x ∈ V . The vector fields made up with the velocities and angular velocities of two rigid bodies rolling without slipping with permanent contact constitutes a classical example of distribution of vector fields. For instance, the velocity v of the contact point of a coin rolling without slipping on a fixednplane with o ∂ ∂ coordinates {x1 , x2 } must remain parallel to this plane: v ∈ span ∂x , . ∂x 1 2
2.2 Vector Fields
29
Remark that, according to the previous definitions, the notion of distribution of vector fields is independent of the choice of coordinates. Definition 2.11. The distribution D is said involutive if and only if for every pair of vector fields f and g in D we have [f, g] ∈ D. An involutive distribution is thus characterized by [D, D] ⊂ D. If D is not involutive, one can define its involutive closure: Definition 2.12. The involutive closure D of a distribution D is the smallest involutive distribution containing D. A constructive algorithm to compute D exists and is based on the computation of the iterated brackets of the vector fields g1 , . . . , gk (see Isidori [1995]).
Example 2.13. (Non Involutive Distribution) Consider the distribution D ∂ ∂ ∂ ∂ in TR3 generated by g1 = ∂x and g2 = ∂x + x1 ∂x . Clearly, [g1 , g2 ] = ∂x . 1 2 3 3 The three vectors g1 , g2 and [g1 , g2 ] are linearly independent, which proves that D is non involutive. Its involutive closure D is equal to TR3 .
2.2.8 Integral Manifolds We now address the following problem: “Given a regular distribution D with constant rank k, to which condition does there exist a diffeomorphism ξ = ϕ(x) such that, n in the ξ-coordinates, o the image distribution ϕ∗ D is given by ϕ∗ D = span ∂ξ∂1 , . . . , ∂ξ∂k ?” This problem is often referred to as the problem of the existence of an integral manifold to the distribution D, or as the straightening out of the distribution D by diffeomorphism. The answer is given by: Theorem 2.4. (Frobenius) : Let D be a regular distribution with constant rank k. A necessary and sufficient condition for the existence of a diffeomorphism that straightens out D is that D is involutive. In this case, by every point x ∈ U open dense subset of X, there passes one submanifold of dimension k which is everywhere tangent to D. Such a submanifold of X everywhere tangent to D is called an integral manifold of D. Proof. If D is straightened out by diffeomorphism, its involutivity is clear: let ϕ be the corresponding diffeomorphism. P If v1 and v2 are arbitrary vector fields k in D, they may be expressed as ϕ∗ vi = j=1 ai,j ∂ξ∂ j , i = 1, 2 and, according to Proposition 2.2, ϕ∗ [v1 , v2 ] = [ϕ∗ v1 , ϕ∗ v2 ]. Using the fact that [ ∂ξ∂ i , ∂ξ∂ j ] = 0 Pk for every i, j, one easily checks that [ϕ∗ v1 , ϕ∗ v2 ] = i,j=1 [a1,i ∂ξ∂ i , a2,j ∂ξ∂ j ] =
30
2 Introduction to Differential Geometry
Pk
i=1
P
k j=1
a1,j
∂a2,j ∂ξi
− a2,j
∂a1,j ∂ξi
∂ ∂ξi .
We conclude that ϕ∗ [v1 , v2 ] is a lin-
ear combination of ∂ξ∂ i , i = 1, . . . , k, which proves that [v1 , v2 ] ∈ D. The involutivity follows. The proof of the converse is by far more complicated. It uses the property of the Lie bracket shown in Fig. 2.5. The interested reader may refer to Chevalley [1946]. The second part of the theorem is a straightforward consequence of the implicit function Theorem: denoting by ξi = ϕi (x) for every i = 1, . . . , p, the 0 set defined by ξk+1 = ξk+1 , . . . , ξp = ξp0 , with ξ 0 = (ξ10 , . . . , ξp0 ) in an open dense subset ϕ(U ) where the tangent mapping Dϕ(x) has full rank equal to p, is clearly a k-dimensional submanifold of X, tangent to D at every point 0 (ξ1 , . . . , ξk , ξk+1 , . . . , ξp0 ) ∈ ϕ(U ), and thus, by definition, an integral manifold of D, for every ξ 0 , Q.E.D.
2.2.9 First Order Partial Differential Equations We now consider the application of the previous results to the integration of a set of k first order partial differential equations in a given open set V of the manifold X: Lg1 y = 0 .. (2.18) . Lgk y = 0 where y is the unknown function and where g1 , . . . , gk are regular vector fields on X such that rank (g1 (x), . . . , gk (x)) = k for all x ∈ V . Let us introduce the distribution D given by D(x) = span {g1 (x), . . . , gk (x)} for all x ∈ V . Clearly, if y is solution to the system (2.18), since L[gi ,gj ] y = Lgi (Lgj y) − Lgj (Lgi y) = 0 − 0 = 0, we have Lg y = 0 for every g ∈ D. Conversely, since g1 , . . . , gk are linearly independent, one can find regular vector fields gk+1 , . . . , gr such that g1 , . . . , gr form a basis of D(x) at every point of V and Lg y = 0 for every g ∈ D implies that Lgi y = 0 for i = 1, . . . , k which proves that y is solution to the system (2.18). By Frobenius Theorem, a necessary and sufficient condition for D to be straightened out in V is that D is involutive. Note that D can always be straightened out, as far as it has constant rank in V . Assume, in a first step, that D est involutive. Then there exists a diffeomorphism ϕ such that, if we note ξ = ϕ(x),
2.2 Vector Fields
31
ϕ∗ D(ξ) = span {ϕ∗ g1 (ξ), . . . , ϕ∗ gk (ξ)} = span
∂ ∂ ,..., ∂ξ1 ∂ξk
in ϕ(V ). Setting z = y ◦ ϕ−1 , we immediately check that Lg y = 0 for all g ∈ D is equivalent to ∂z ∂z = 0, . . . , = 0. ∂ξ1 ∂ξk It results that z is independent of (ξ1 , . . . , ξk ) or, otherwise stated, z(ξ) = z(ξ) for all ξ = (ξk+1 , . . . , ξp ) such that ξ ∈ ϕ(V ). The solution y is thus immediately deduced from z by y = z ◦ ϕ. In the case where D is not involutive and if D has constant rank r, we follow the same lines with D in place of D. We nevertheless may remark that the function y is not completely determined by the equations (2.18). The supplementary equations generated by the vector fields of D that are not in D are often called compatibility conditions. It results that D cannot be straightened out without simultaneously straightening out D, which implies that z(ξ) = z(ξ) for all ξ = (ξr+1 , . . . , ξp ) such that ξ ∈ ϕ(V ). Let us also remark that it often happens that the involutive closure of D is the tangent space of the whole Rp , which implies that the only possible solution y is a constant in V . We have thus shown that solving a set of first order partial differential equations is equivalent to the straightening out of the corresponding distribution of vector fields, or of its involutive closure if need be. However, the straightening out diffeomorphism may be itself obtained by solving the system Lγi ϕj = δi,j for i = 1, . . . , k, j = 1, . . . , p, with {γ1 , . . . , γk } a regular basis of D and δi,j the Kronecker symbol. Therefore, this method only applies in practice if we know a particular basis of D for which the expression of the diffeomorphism is simpler. There also exists other constructive methods as the method of bicharacteristics. A thorough review of this question may be found, e.g., in Arnold [1974, 1980] . Example 2.14. (Non Involutive Distribution, continued) Consider the ∂ ∂ ∂ distribution D of example 2.13, generated by g1 = ∂x and g2 = ∂x + x1 ∂x . 1 2 3 This distribution being non involutive, the set of first order partial differential equations ∂y ∂y ∂y = 0, + x1 =0 ∂x1 ∂x2 ∂x3 is equivalent to ∂y = 0, ∂x1
∂y = 0, ∂x2
∂y = 0, ∂x3
which means that y(x1 , x2 , x3 ) = y0 with y0 arbitrary constant.
32
2 Introduction to Differential Geometry
2.3 Differential Forms In this section, our aim is to give a dual form of Frobenius Theorem, stated in section 2.2.8 for a family of vector fields, in terms of the so-called complete integrability of a family of 1-forms. For this purpose, we need to introduce the notions of differential form, exterior derivative of a differential form, reciprocal image of a differential form, or induced differential form, or, more shortly, image of a differential form, of Lie derivative of differential forms, codistributions and exterior differential systems.
2.3.1 Cotangent Space, Differential Form, Duality Let us consider the distribution TX for which to every point of the manifold X there corresponds the tangent space Tx X. It is immediately seen that TX is involutive (by definition of the tangent space) and according to Frobenius Theorem, one can find local coordinates such that a basis of TX is given ∂ , . . . , ∂x∂ p }. Let us introduce the dual space of Tx X, noted T∗x X and by { ∂x 1 called the cotangent space to the manifold X at the point x, by defining a dual basis {dx1 , . . . , dxp } by the duality pairing <
∂ , dxj >= δi,j ∂xi
,
∀i, j = 1, . . . , p
(2.19)
where δi,j is the usual Kronecker δ-symbol (δi,j = 1 if i = j and 0Sotherwise). The cotangent bundle, noted T∗ X, is thus defined by T∗ X = x∈X T∗x X. If we now consider a function h of class C ∞ from X toP R, one can define p ∂h dxi . Note its differential by expressing it in the above basis as dh = i=1 ∂x i that, according to this latter formula, the differential of a function may be identified to its tangent linear mapping. Thus, at every point x ∈ X, dh(x) belongs to T∗x X and if f is a vector field (f (x) ∈ Tx X for all x), the value of the duality pairing < dh, f > is deduced from the previous formula by < dh, f >=
p X i,j=1
p
fi
X ∂h ∂h ∂ < , dxj >= fi = Lf h. ∂xj ∂xi ∂xi i=1
(2.20)
Example 2.15. Consider again the function h(t, x) = x − vt with v ∈ R a ∂ ∂ given constant. We have dh = −vdt + dx and, if f = ∂t + v ∂x , we get < dh, f >= −v + v = 0. We therefore recover the result of example 2.7. In fact, the differential dh of h may be more “globally” defined, i.e. without reference to its value dh(x) at each point x ∈ X.
2.3 Differential Forms
33
To this aim, let us define the projection πPfrom T ∗ X to X by the formula p ∂h (x)dxi ∈ π −1 (x) for all π(dh(x)) = x for all x ∈ X. Then dh(x) = i=1 ∂x i ∂h x, its coefficients ∂x (x) being C ∞ functions on X. We say that dh is a C ∞ i section of the cotangent bundle T∗ X relatively to the canonical projection π. One easily verifies that this definition is independent of the choice of coordinates of X and, in local coordinates, coincides with the above one. More generally: Definition 2.13. We call differential form of degree 1, or 1-form, a C ∞ section ω of the cotangent bundle T∗ X, i.e. a mapping for which, to each point x ∈ X, there corresponds an element ω(x) ∈ T∗x X, ω(x) being a linear combination of the local basis covectors of T∗x X with C ∞ coefficients on X. 1 The set of C ∞ -sections of T∗ X is a vector space Ppnoted Λ (X). The pairing between a 1-form ω = i=1 ωi dxi and a vector field Ppduality ∂ is given by f = i=1 fi ∂x i < ω, f >=
p X
fi ωi .
(2.21)
i=1
A 1-form is not generally the differential of a function, as we now show, and consequently, Λ1 (X) contains more than the differentials of functions. Definition 2.14. A 1-form ω is said exact if there exists a differentiable function h such that ω = dh. A sufficient condition is given by: Proposition 2.4. For a 1-form ω to be exact, it is necessary that ω satisfies ∂ωi ∂ωj = ∂xj ∂xi
∀i, j.
(2.22)
Pp Pp ∂h dxi , we have ωi = Proof. Clearly, if ω = i=0 ωi dxi = dh = i=1 ∂x i for all i and, differentiating with respect to xj , we get:
∂h ∂xi
∂ωi ∂2h ∂2h ∂ωj = = = ∂xj ∂xj ∂xi ∂xi ∂xj ∂xi which proves the Proposition. Example 2.16. Consider the differential form ω =
xdy−ydx x2 +y 2
=
−y x2 +y 2 dx + ∂ωy ∂ωx ∂y = ∂x
x Set ωx = x2−y ωy = x2 +y 2 . One easily sees that +y 2 and y and that h(x, y) = arctan x satisfies dh = ω. However, h and the 1-form ω are not defined at the origin and one can prove that ω doesn’t have a “primitive” in a neighborhood of (0, 0) (see the Theorem 2.5 below, often called Poincar´e’s Lemma). x x2 +y 2 dy.
34
2 Introduction to Differential Geometry
We also can define differential forms of degree 2 (and more generally of degree greater than 1) by introducing the skew-symmetric (and more generally alternating) tensor product of cotangent spaces, called wedge product T∗x X ∧ T∗x X whose basis (in local coordinates) is formed by the products dxi ∧ dxj for i < j, with dxi ∧ dxj = −dxj ∧ dxi ,
∀i, j.
The space T∗x X ∧T∗x X may be seen as the dual of Tx X ∧Tx X, the associated pairing being defined by ∂ > < dxi , ∂x∂ k > < dxi , ∂x ∂ ∂ l ∧ > = det < dxi ∧ dxj , ∂ < dxj , ∂x∂ k > < dxj , ∂x > ∂xk ∂xl l = δi,k δj,l − δj,k δi,l δi,j being the Kronecker δ-symbol. A 2-form $(x) at the point x thus reads, in these coordinates: X $(x) = $i,j (x)dxi ∧ dxj i,j ∞ with $i,j ∈ (X) for all i, j and between $ and a 2-vector f ∧g PC Ppthe pairing p ∂ with f = k=1 fk ∂x∂ k and g = l=1 gl ∂x , according to the bilinearity and l skew-symmetry of the product, is X fi gi < $, f ∧ g >= $i,j det . fj gj i,j
As before, a 2-form is a C ∞ -section of T∗ X ∧T∗ X, i.e. a mapping for which to every x ∈ X there corresponds $(x) ∈ T∗x X ∧ T∗x X, linear combination of the basis covectors of T∗x X ∧ T∗x X with C ∞ coefficients. The vector space of the 2-forms on X is denoted by Λ2 (X). By a similar construction, we define the space Λk (X) of k-forms on X as the set of C ∞ -sections of the alternating tensor product of T∗ X ∧ . . . ∧ T∗ X made of k copies of T∗ X, for k ∈ N. A k-form is thus a mapping for which to every x ∈ X there corresponds the k-covector X $(x) = $i1 ,i2 ,...,ik (x)dxi1 ∧ dxi2 ∧ . . . ∧ dxik i1 ,i2 ,...,ik
with $i1 ,i2 ,...,ik ∈ C ∞ for all i1 , i2 , · · · , ik . Again, the pairing
2.3 Differential Forms
35
< dxi1 ∧ . . . ∧ dxik ,
∂ ∂ ∧ ... ∧ > ∂xj1 ∂xjk < dxi1 , ∂x∂j > . . . < dxi1 , ∂x∂j > 1 k .. .. (2.23) = det . . < dxik , ∂x∂j > . . . < dxik , ∂x∂j > 1
T∗x X
k
T∗xP X
makes ∧ ... ∧ the dual space of Tx X ∧ . . . ∧ Tx X. k Moreover, if ω = i1 ,...,ik ωi1 ,...,ik dxi1 ∧ . . . ∧ dxik ∈ Λ (X) and θ = P r i1 ,...,ir θi1 ,...,ir dxi1 ∧ . . . ∧ dxir ∈ Λ (X), according to the previous rules associated to the wedge product, we have X ω∧θ = ωi1 ,...,ik θj1 ,...,jr dxi1 ∧. . .∧dxik ∧dxj1 ∧. . .∧dxjr ∈ Λk+r (X). i1 ,...,ik ,j1 ,...,jr
An obvious consequence of the skew-symmetry is that every form of degree higher than p on a p-dimensional manifold vanishes identically.
2.3.2 Exterior differentiation Some 2-forms may also be deduced from 1-forms by the exterior derivative operator d from Λ1 (X) to Λ2 (X), by the formula X ∂ωj X ∂ωi ∂ωi dxj ∧ dxi = − dω = dxi ∧ dxj (2.24) ∂xj ∂xi ∂xj i<j i,j P where ω is a 1-form defined, as before, by ω = i ωi dxi . The previous formula shows that if h is a C ∞ function from X to R and if ω ∈ Λ1 (X), the (usual) product hω belongs to Λ1 (X) and the exterior derivative of this product satisfies d(hω) = dh ∧ ω + hdω. The exterior derivative operator d may be extended to an operator from Λ2 (X) to Λ3 (X) by the following anti-derivation formula: d(ω ∧ θ) = dω ∧ θ − ω ∧ dθ
(2.25)
for all ω, θ ∈ Λ1 (X), since then dω ∧ θ and ω ∧dθ are 3-forms. P P This results from the fact that ω ∧ θ = j ωj dxj ∧ ( k θk dxk ) = P . By the exterior differentiation formula (2.24), we get j,k ωj θk dxj ∧ dx k P ∂ωj ∂θ d(ω ∧ θ) = i,j,k ∂xi θk + ωj ∂xji dxi ∧ dxj ∧ dxk . P P P ∂ωj ∂ω Moreover, dω ∧ θ = dx ∧ dx ∧ ( k θk dxk ) = i,j,k ∂xji θk dxi ∧ i j i,j ∂xi dxj ∧ dxk . P P ∂θk Accordingly, ω ∧ dθ = ∧ = j ωj dxj i,k ∂xi dxi ∧ dxk
36
2 Introduction to Differential Geometry
∂θk k ωj ∂θ i,j,k ωj ∂xi dxi ∧ dxj ∧ dxk by skew∂xi dxj ∧ dxi ∧ dxk = − symmetry. The formula (2.25) is thus immediately deduced by subtracting these two latter expressions. More generally, d may be seen as an operator from Λp+q (X) to Λp+q+1 (X) for all integers p and q that is additive (d(ω1 + ω2 ) = dω1 + dω2 ) and such that d(ω ∧ θ) = dω ∧ θ + (−1)p ω ∧ dθ
P
i,j,k
P
for all ω ∈ Λp (X) et θ ∈ Λq (X). Let us go back to condition (2.22), which is now clearly equivalent to: dω = 0.
(2.26)
Remark that this latter expression is now independent of the choice of coordinates. We also can deduce from what precedes that every 1-form ω satisfies d2 ω = d(dω) = 0. Definition 2.15. A 1-form satisfying (2.26) is called a closed form. The converse of Proposition 2.4 only holds true under topological restrictions: Theorem 2.5. (Poincar´ e’s Lemma) A closed form on a contractible4 open set is exact. Example 2.17. The 1-form ω = xdy−ydx x2 +y 2 of example 2.16 is defined on the non contractible open set R2 \ {(0, 0)}. It is therefore non exact in any neighborhood of the origin, though it is exact in a neighborhood of any other point of the plane R2 that doesn’t contain the origin.
2.3.3 Image of a Differential Form Definition 2.16. Given a 1-form ω on the n-dimensional manifold X and a local diffeomorphism ϕ from an n-dimensional manifold Y to X, we call reciprocal image of ω by ϕ, or induced form, noted ϕ∗ ω, the 1-form on Y defined by hϕ∗ ω, vi = hω, ϕ∗ vi (2.27) for every vector field v ∈ TY . 4
An open set U is contractible if there exists a point xU ∈ U and a continuous mapping γ from U × [0, 1] to U that “continuously distorts” U to the point xU , i.e. such that γ(·, 0) = IdU (γ(x, 0) = x ∀x ∈ U ) and γ(x, 1) = xU for all x ∈ U .
2.3 Differential Forms
37
In Pplocal coordinates (x1 , . . . , xp ) of X and (y1 , . . . , yp ) of Y , with ω = i=1 ωi dxi , the previous definition yields: ϕ∗ ω =
p X
(ωi ◦ ϕ)
i,j=1
∂ϕi dyj . ∂yj
(2.28)
Remark that this formula may be extended to an arbitrary differentiable mapping ϕ (not necessarily a diffeomorphism) and for a manifold Y of dimension r arbitrary: p r X X ∂ϕi ∗ dyj ϕ ω= (ωi ◦ ϕ) ∂yj j=1 i=1 this latter definition being in accordance with (2.27) Pr if we also slightly extend the definition of the image of a vector field v = j=1 vj (y) ∂y∂ j on Y by ϕ∗ v|ϕ(Y ) =
p X
(Lv ϕi )|ϕ(Y )
i=1
∂ . ∂xi
This definition also easily extends to higher degree forms by: ϕ∗ (ω ∧ θ) = ϕ∗ ω ∧ ϕ∗ θ for every 1-forms ω and θ. We then easily check that Proposition 2.5. For every form ω on X and every differentiable mapping ϕ from Y to X we have dϕ∗ ω = ϕ∗ dω.
2.3.4 Pfaffian System, Complete Integrability Definition 2.17. Given a collection of r independent 1-forms5 {ω1 , . . . , ωr }, a manifold Y is called integral manifold of the exterior differential system ω1 = 0,
...,
ωr = 0
(2.29)
if and only if there exists a differentiable mapping ϕ from Y to X such that ϕ∗ ω1 , . . ., ϕ∗ ωr identically vanish on Y . Two exterior differential systems are said algebraically equivalent if and only if any form of the first system can be expressed as a linear combination 5
such a collection of 1-forms is often called a codistribution in reference to the duality with distributions of vector fields.
38
2 Introduction to Differential Geometry
of the forms of the second one and conversely. More precisely, consider two exterior differential systems defined by the forms (ω1 , . . . , ωr ) and (ω10 , . . . , ωr0 0 ) where ωi and ωi0 have arbitrary degrees. ωi is a linear combination of the ωj0 ’s Pr0 if and only if there exists r0 forms θ1 , . . . , θr0 such that ωi = j=1 ωj0 ∧ θj . When the system (2.29) is only made of 1-forms, it is called Pfaffian. Definition 2.18. The (algebraic) closure of the system (2.29) is the exterior differential system ω1 = 0,
dω1 = 0,
...,
ωr = 0,
dωr = 0.
(2.30)
We say that the system (2.29) is (algebraically) closed if and only if it is algebraically equivalent to its closure. The next Proposition is obvious: Proposition 2.6. Every integral manifold of the Pfaffian system (2.29) is also an integral manifold of its closure (2.30). Definition 2.19. The exterior differential system (2.29) of rank r is said completely integrable if and only if there exists an open set U of X and r independent differentiable functions y1 , . . . , yr such that (2.29) is algebraically equivalent in U to dy1 = 0, . . . , dyr = 0. In other words, if it locally admits r independent first integrals. We thus have the dual version of Frobenius Theorem: Theorem 2.6. A necessary and sufficient condition for the Pfaffian system (2.29) of rank r to be completely integrable in an open set U ⊂ X is that it is algebraically closed in U . In this case, there exists an open dense U1 ⊂ U such that by every point of U1 there passes a local integral manifold of (2.29) of dimension p − r which is a submanifold of X. Proof. We only sketch the simplest parts of the proof, namely those concerning the necessary condition and the second part of the Theorem. For the sufficiency part, the interested reader may refer to Choquet-Bruhat [1968]. If the Pfaffian system (2.29) is completely integrable, there Pr exists r locally independent first integrals y1 , . . . , yr such that ωi = j=1 ai,j dyj and Pr conversely dyj = i=1 bj,i ωi . Thus we get dωi =
r X j=1
r X dai,j ∧ dyj + ai,j d2 yj = dai,j ∧ dyj j=1 ! r r r X X X = dai,j ∧ bj,k ωk = θi,k ∧ ωk j=1
k=1
k=1
2.3 Differential Forms
39
Pr
with θi,k = j=1 bj,k dai,j , which proves that the Pfaffian system (2.29) is algebraically equivalent to its closure and is thus closed. Concerning the second part, if the system is completely integrable, it admits r locally independent first integrals y1 , . . . , yr . Let U1 be an open dense ∂yi has full rank equal to r. For evsubset of U in which the Jacobian matrix ∂x j ery x0 ∈ U1 , the system dy1 = · · · = dyr = 0 is equivalent to the implicit system made of the r independent equations y1 (x) = y1 (x0 ), . . . , yr (x) = yr (x0 ), thus admitting a local solution in U , which constitutes a submanifold of X of dimension n − r, and the result is proven. Let us now compare the notions of integrability that result from Theorems 2.6 and 2.4: for every vector field v of TY , where Y is an integral manifold of the Pfaffian system (2.29), and if ϕ is the corresponding differentiable mapping from Y to X, we have: hϕ∗ ωi , vi = 0 = hωi , ϕ∗ vi . Thus the set of vector fields ϕ∗ v for v ∈ TY defines a distribution D such that hdyi , wi = 0 for all i = 1, . . . , r and all w ∈ D. This distribution thus ∂ , supplementary admits a basis at every regular point, noted ∂ξ∂1 , . . . , ∂ξp−r of ∂y∂ 1 , . . . , ∂y∂ r , involutive by construction, and such that the manifold Y , everywhere tangent to D, is effectively an integral manifold in the sense of Theorem 2.4.
2.3.5 Lie Derivative of a 1-Form Let us close this introduction to differential geometry by a generalization to differential forms of the notion of Lie derivative. We want to define, on T∗ X, an operation that may be seen as the dual of the Lie bracket, called the Lie derivative of a 1-form. We proceed in several steps, starting first from the Lie derivative of the differential of a function (closed form). The exterior derivative of Lf h is given by: dLf h =
n X ∂Lf h i=1
∂xi
dxi =
n X i=1
Lf
∂h ∂xi
∂f + < dh, > dxi . ∂xi
(2.31)
This formula defines a new 1-form, noted Lf dh, called Lie derivative of dh along f . If g is another vector field, one easily verifies that:
40
2 Introduction to Differential Geometry
< Lf dh, g >=
n X ∂f ∂h )+ < dh, >)gi (Lf ( ∂x ∂x i i i=1
= Lf < g, dh > − < [f, g], dh > . (2.32) To define the Lie derivative of a general 1-form, we extend this relation: Definition 2.20. The Lie derivative of a 1-form ω is defined by < Lf ω, g >= Lf < ω, g > − < ω, [f, g] > .
(2.33)
for every pair of vector fields f and g. An easy computation shows that Lf ω =
n X
Lf (ωi )+ < ω,
i=1
∂f > dxi . ∂xi
(2.34)
If we also call the Lie bracket of f and g the Lie derivative of g along f , def Lf g = [f, g] and if we rewrite (2.33): Lf < ω, g >=< Lf ω, g > + < ω, Lf g > we obtain the usual rule of differentiation of a bilinear form. As previously seen, according to the pairing between 2-forms and pairs of vector fields, we have: X X ∂ωj ∂ωj fi gi < dω, f ∧ g > = det (fi gj − fj gi ) = fj gj ∂x ∂xi i i,j i,j X ∂ωj ∂ωi = − fi gj ∂xi ∂xj i,j We thus have the following result: Proposition 2.7. For every pair (f, g) of vector fields and every 1-form ω, we have < dω, f ∧ g >= Lf < ω, g > −Lg < ω, f > + < ω, [f, g] > . Proof. We have < dω, f ∧ g >=
X ∂ωj i,j
∂ωi − ∂xi ∂xj
fi gj ,
X ∂ωj ∂gj Lf < ω, g >= fi gj + fi ωj , ∂xi ∂xi i,j
(2.35)
2.3 Differential Forms
41
X
∂ωj ∂fj fj + gi ωj , ∂xi ∂xi i,j X ∂gi ∂fi − gj , < ω, [f, g] >= ωi fj ∂xj ∂xj i,j
Lg < ω, f >=
gi
which proves the result by combining the three last relations and comparing with the first one.
2.3.6 Back to Frobenius Theorem We deduce another version of Frobenius Theorem: Corollary 2.1. If the Pfaffian system (2.29) is completely integrable, and if f and g are two tangent vector fields to an integral manifold, then [f, g] is tangent to the same integral manifold. Conversely, if D is an involutive distribution of vector fields and ω a 1form vanishing on D, then ω is closed. Proof. This is a direct application of (2.35): if (2.29) is completely integrable, if f and g are tangent to an integral manifold, every 1-form ω of the system is an annihilator of f and g, i.e. < ω, f >=< ω, g >= 0, and the same for dω by closedness of the Pfaffian system. We deduce that < ω, [f, g] >= 0 for every 1-form of (2.29) and thus [f, g] is tangent to the same integral manifold. Conversely, if ω annihilates f and g, for arbitrary f and g in D, according to the involutivity of D, ω also annihilates [f, g], and thus < dω, f ∧ g >= 0 for every pair f, g ∈ D. The 2-form dω vanishes also on D, which proves that ω is closed.
Chapter 3
Introduction to Dynamical Systems
This chapter is devoted to the study of the dynamical behaviors of nonlinear uncontrolled systems: stability, instability of flows around an equilibrium or a periodic orbit and comparison to their tangent linear approximation. We consider the set of (uncontrolled) differential equation, or differential system x˙ = f (x) (3.1) on a manifold X of class C ∞ and of dimension n, f being a vector field of class C ∞1 In analogy to physics, we will sometimes interpret a vector field f as a field of velocities and f (x) will be sometimes called the velocity vector at the point x. We will see later that, for controlled systems, once the control law has been chosen, we may end up with a system of that form. The set of equations (3.1) is said stationary or time-invariant, which means that the velocity vector f (x) at every point x doesn’t depend on the passing time: if an integral curve of (3.1) passes through x at two different instants, the velocity vector f (x) will be the same. Remark 3.1. The case of non stationary or time-varying differential equations, i.e. for which f depends on time: x˙ = f (t, x)
(3.2)
will be addressed later. 1
In the previous chapter, we had to distinguish between the dimension n of the “external vector space” where the equation of the manifold was stated, and p, the dimension of the manifold. Here, we only consider systems defined by vector fields on manifolds without reference to the “external space” which doesn’t appear anymore. Therefore, the introduction of two different symbols, namely n and p, is no more necessary. From now on, in order to comply with the usual conventions and notations in Control Theory, we use n as the dimension of the manifold X, and therefore of the vector field f too.
J. Lévine, Analysis and Control of Nonlinear Systems, Mathematical Engineering, DOI 10.1007/978-3-642-00839-9_3, © Springer-Verlag Berlin Heidelberg 2009
43
44
3 Introduction to Dynamical Systems
Recall from section 2.2.2 that an instationary vector field on a manifold X may be seen as a stationary one on the augmented manifold X × R. However, we’ll see that many properties of stationary vector fields do not extend to time-varying ones. In particular, an arbitrary change of coordinates would change (x, t) in (z, s) = ϕ(x, t), s playing the role of a new clock, the sign of s˙ being arbitrary. Therefore, if the sign of s˙ changes along an integral curve, we may lose the possibility of capturing the asymptotic properties of the system (when t → ±∞) in the transformed coordinates. We first study the flow associated to (3.1), its orbits and its associated phase portrait and introduce the notion of singular or equilibrium point. In the case of closed orbits, or periodic orbits, we introduce the notion of Poincar´e’s mapping, or first return mapping, for which a periodic orbit is a fixed point. We also recall basic facts on Lyapunov and Chetaev functions. In a second step, we study the qualitative behavior of the solutions of (3.1) around an equilibrium point. We recall the classification of linear systems around an equilibrium point in function of their eigenvalues, and we discuss the following question: “Can we compare the asymptotic behavior of a nonlinear system around an equilibrium point to the one of its tangent linear approximation?” To precise the word compare, it is important to remark that the stability or instability is not affected if we distort the trajectories in a differentiable way. The previous question may thus be reformulated as follows: “At which condition does there exist a smooth change of coordinates that locally transforms the trajectories of the nonlinear system into the trajectories of its linear tangent approximation?” Note that our concern is of the same nature as in the previous chapter since we aim at revealing some coordinates that make the analysis (stability or instability) particularly easy. If these changes of coordinates are chosen in the class of homeomorphisms, the classification is provided by the Hartman-Grobman Theorem under the so-called hyperbolicity assumption. Finally, for a non hyperbolic system, the Shoshitaishvili Theorem shows that the stability or instability is not determined by its linear tangent approximation only, but depends on the stability or instability of its projection on its center manifold. The proofs of the main results, generally difficult, are omitted. For more details, the reader may refer to Anosov and Arnold [1980], Arnold [1974, 1980], Carr [1981], Demazure [2000], Fenichel [1979], Guckenheimer and Holmes [1983], Hirsch and Smale [1974], Hirsch et al. [1977], LaSalle and Lefschetz [1961], Liapounoff [1907], Milnor [1978], Ruelle [1989], Saunders and Verhulst [1987], Thom [1977], Tikhonov et al. [1980]. Numerous examples of application to Mechanics may be found in Anosov and Arnold [1980], Arnold [1974, 1980], Liapounoff [1907].
3.1 Recalls on Flows and Orbits
45
3.1 Recalls on Flows and Orbits Recall (Proposition 2.1) that, given a C ∞ vector field f in a neighborhood of a regular or transient point x0 , namely such that f (x0 ) 6= 0, there exists a local diffeomorphism that straightens out the vector field f . The transformed flow is given by z1 (t) = z10 ,
...,
0 zn−1 (t) = zn−1 ,
zn (t) = t + zn0
with zi0 = ϕi (x0 ),
i = 1, . . . , n
and thus x(t) = ϕ−1 (ϕ1 (x0 ), . . . , ϕn−1 (x0 ), t + ϕn (x0 )). In the time-varying case (3.2), one can prove that the straightening out diffeomorphism may be chosen in such a way that it respects the time orientation. Consequently, in the neighborhood of a regular point, all the transient behaviors (of arbitrary nonlinear systems in n dimensions) are equivalent, namely they can be described by n − 1 constants (or n in the instationary case) and an affine function with respect to time. It also amounts to say that all their orbits are parallel straight half-lines (see Fig 2.4). It results that all the nonlinear complexity may be found elsewhere, namely in neighborhoods of singular points, as opposed to regular ones, i.e. satisfying f (x0 ) = 0. These points are also often called equilibrium points. There are also more global aspects in the case of periodic orbits since the straightening out diffeomorphism in this case cannot be defined over a whole period, since then a straight line would have to be a closed curve. In fact, we will see later on that periodic orbits are fixed points of the Poincar´e’s mapping, thus playing an analogous role to the one of equilibrium points.
3.1.1 Equilibrium Point, Variational Equation We are now interested in the study of the so-called asymptotic phenomena. More precisely we consider the flow of (3.1) on an unbounded interval of time and we study its attraction or repulsion with respect to some limit points, orbits or sets. A singular point or equilibrium point of the vector field f or, by extension, of system (3.1), is a point x ¯ such that f (¯ x) = 0, or, equivalently, such that Xt (¯ x) = x ¯ (fixed point of the flow). A vector field doesn’t necessarily admit an equilibrium point: this is the case, for instance, of a constant vector field f (x) = 1, or more generally of a time-varying vector field (f (t, x), 1), even if its projection x 7→ f (t, x)
46
3 Introduction to Dynamical Systems
may vanish, namely if there exists a point x ¯ such that f (t, x ¯) = 0 for all t. Consequently, as with flows, stationary or time-varying systems deserve a specific treatment as far as equilibrium points are concerned. An approximation of the flow Xt (x) in a neighborhood of an equilibrium point x ¯ may be obtained itself as the solution of a differential equation called the variational equation or tangent linear approximation. The Taylor development of Xt (x) around x ¯ = Xt (¯ x) at the first order in x−x ¯ is given by Xt (x) − x ¯ = Xt (x) − Xt (¯ x) = and
∂Xt x) ∂x (¯
∂Xt (¯ x)(x − x ¯) + 0(kx − x ¯ k2 ) ∂x
satisfies the tangent linear or variational equation: d ∂Xt ∂f ∂Xt ∂ dXt (¯ x) = (¯ x) = (¯ x) (¯ x) ∂x dt dt ∂x ∂x ∂x def ∂f x) ∂x (¯
or, noting A =
def ∂Xt x): ∂x (¯
and z =
z˙ = Az. The eigenvalues of the matrix A are often called characteristic exponents of the equilibrium point x ¯. They indeed don’t depend on the choice of coordinates since the matrix associated to the tangent linearization in any other system of local coordinates is similar to A and its eigenvalues are thus unchanged. We say that x ¯ is non degenerate if A is invertible (i.e. has no 0 eigenvalues). In this case, the origin is the unique equilibrium point of the variational system and x ¯ is a locally unique equilibrium point of the vector field f . We say that x ¯ is hyperbolic if A has no eigenvalues on the imaginary axis. Note that a generic2 matrix is precisely a matrix without eigenvalues on the imaginary axis. Example 3.1. Consider the classical differential equation of the simple pendulum g (3.3) θ¨ = − sin θ l ˙ or, using the notations x1 = θ and x2 = θ,
x˙ 1 = x2 x˙ 2 = − gl sin x1 .
(3.4)
We easily verify that this system admits two singular points in the cylinder S1 × R: (x1 , x2 ) = (0, 0) and (x1 , x2 ) = (π, 0) (a point x1 ∈ S1 being, by 2
in the sense of “almost all” matrices. For a rigorous definition, the reader may refer to Arnold [1980], Demazure [2000].
3.1 Recalls on Flows and Orbits
47
definition, the unique element in the interval [0, 2π] of the set of reals of the form x1 + 2kπ, with k ∈ Z). 0 1 The tangent linearization of the system at (0, 0) is z˙ = z whose − gl 0 pg characteristic exponents are ±i l . The origin is thus non hyperbolic. 01 The tangent linearization of the system at (π, 0) is z˙ = z. Its g l 0 pg characteristic exponents are ± l and (π, 0) is hyperbolic. Remark 3.2. One can always consider that the singular point is the origin 0 since if x ¯ satisfies f (¯ x) = 0, it suffices to make the change the coordinates as ξ = x−x ¯ which transforms the vector field f in g(ξ) = f (ξ + x ¯). We therefore ∂f (0) = (¯ x ). have g(0) = 0 and ∂g ∂ξ ∂x
3.1.2 Periodic Orbit We call cycle or periodic orbit an integral curve of (3.1) which is not reduced to a point and closed (diffeomorphic to a circle), i.e. such that there exists T > 0 satisfying XT (x) = x. One can easily prove that the integral curves of (3.1) are either points or curves diffeomorphic to a line or a circle. Therefore, if an orbit is neither constant nor injective, it is periodic. Some remarkable classes of systems cannot possess periodic orbits. This is the case for instance of gradient systems: a system is said gradient if its vector field f is given by f (x) = −
∂V (x) , ∂x
∀x ∈ X
where V is a C 2 function from X to R. Obviously, a necessary and sufficient condition for f to be locally a gradient is that ∂fi ∂fj = , ∀i, j. ∂xj ∂xi We have the following result: Proposition 3.1. A gradient system has no periodic orbit. Proof. By definition, we have ∂V ∂V ∂V d V (x(t)) = (x(t)) − (x(t)) = −k (x(t))k2 ≤ 0 , dt ∂x ∂x ∂x
∀t.
(3.5)
Let us assume that the integral curve x(t) is periodic, i.e. there exists T > 0 such that x(t + T ) = x(t) for all t. If ∂V ∂x (x(t)) 6= 0 for at least one t, we
48
3 Introduction to Dynamical Systems
have V (x(t + s)) < V (x(t)) for all s ≥ 0 according to the inequality (3.5) and thus in particular V (x(t + T )) < V (x(t)), which contradicts the fact that x(t + T ) = x(t) (since then one should have V (x(t + T )) = V (x(t))). Therefore ∂V ∂x (x(t)) = 0 for all t and, according to the uniqueness of the solution of x˙ = − ∂V ∂x (x), we get x(t + s) = x(t) for all s, in other words, the corresponding orbit is reduced to a point which contradicts the fact that it is periodic.
Remark 3.3. The wording gradient system is somewhat misleading since systems corresponding to this definition cover a very small part of physical systems whose force field is a gradient: if a force field is a gradient, with potential U , a smooth function from Rn to R, in place of x˙ = − ∂V ∂x , we should n n have m¨ x = − ∂U , or, setting v = x, ˙ x ∈ R , v ∈ R , ∂x ∂V ∂x 1 ∂U ∂V v˙ = − =− . m ∂x ∂v Pn ∂ 1 ∂U ∂ − The corresponding vector field, i=1 vi ∂x m ∂xi ∂vi , is a potential i gradient, with potential V , in the sense of Proposition 3.1, if and only if ∂2V 1 ∂2U 1 2 ∂xi ∂vj = −δi,j = m ∂xi ∂xj , i, j = 1, . . . , n, or U (x) = − 2 mkxk + C (C being n an arbitrary constant and k.k the Euclidean norm of R ), which implies that V (x, v) = −(x − b)T v + C (where b is an arbitrary vector of Rn ) and that the only possible 2n-dimensional gradient dynamics are given by x˙ = v = −
x˙ = v,
v˙ = x − b.
Example 3.2. Let us give a direct proof that the system of the previous remark doesn’t have a periodic orbit, which we know by construction according to Proposition 3.1. Integrating x˙ = v, v˙ = x − b, we get xi (t) = αi et + βi e−t + bi , vi (t) = αi et − βi e−t , i = 1, . . . , n. If this integral curve had a periodic orbit, there would exist T > 0 such that x(t + T ) = x(t) and v(t + T ) = v(t) for all t.Thus t+T t αi βi αi βi e e = , i = 1, . . . , n, αi −βi αi −βi e−t e−t−T (eT − 1)et which immediately implies that, for all t, the non zero vector (e−T − 1)e−t T −T (we both have 6= 0 and e −1 6= 0 by assumption) is an eigenvector of e −1 αi βi the matrix , whose determinant must be 0, i.e. −2αi βi = 0. Thus αi −βi
3.1 Recalls on Flows and Orbits
49
αi = 0 or βi = 0, i = 1, . . . , n. But if αi = 0 or βi = 0, the integral curve is given by xi (t) = βi e−t + bi , vi (t) = −βi e−t or xi (t) = αi et + bi , vi (t) = αi et , and it cannot be a periodic orbit according the strict monotonicity of the exponential. Therefore, the above system has no periodic orbit. Let us now state the following non existence result of periodic orbits for a large class of physical systems: Proposition 3.2. Let U be a differentiable function from Rn to R and ψ(x) an arbitrary function from Rn to Rn . We denote by h, i the scalar product of Rn and by m a positive real number. The dynamics m¨ x=−
∂U (x) − hψ(x), xi ˙ ψ(x) ∂x
(3.6)
have no periodic orbit. If in additions U has a unique minimum x on Rn and if ψ doesn’t vanish on Rn , then all the integral curves of (3.6) converge to x. Clearly, the right-hand side represents the sum of forces deriving from the potential U and the dissipative ones (− hψ(x), xi ˙ ψ(x)). Proof. Set V (x, x) ˙ = 12 m hx, ˙ xi ˙ + U (x) (mechanical energy). We have ∂U d V (x(t), x(t)) ˙ = hm¨ x, xi ˙ + (x), x˙ dt ∂x ∂U ∂U =− (x), x˙ − hψ(x), xi ˙ hψ(x), xi ˙ + (x), x˙ ∂x ∂x 2
= − hψ(x), xi ˙ ≤ 0. (3.7) We then easily adapt the argument of the proof of Proposition 3.1. If in addition x satisfies U (x) = minx∈Rn U (x), and if ψ doesn’t vanish, since V is strictly decreasing along the integral curves of (3.6), all the latter converge to the minimum of V which is precisely x: one can easily check that the point (x = x, x˙ = 0) is an equilibrium point since in the opposite case we ˙ ≥ U (x), which is absurd. would have U (x) = V (x, 0) > min(x,x) ˙ V (x, x) Remark 3.4. Going back to remark 3.3, the system (3.6) is a Hamiltonian 1 system with a dissipative term. Indeed, setting H = 2m kx2 k2 + U (x1 ) with ∂H ∂U ∂H 1 2 x1 = x, x2 = mx˙ 1 and kx2 k = hx2 , x2 i., we have ∂x1 = ∂x1 and ∂x = 2m x2 2 ∂H ∂H 1 thus x˙ 1 = ∂x2 and x˙ 2 = − ∂x1 − m hψ(x1 ), x2 i ψ(x1 ). Remark that if there is no dissipation (ψ ≡ 0), the system is Hamiltonian and may well have periodic orbits.
50
3 Introduction to Dynamical Systems
3.1.3 Poincar´ e’s Map Given a periodic orbit γ of (3.1), of period T , a point x ∈ γ and a submanifold W of dimension n−1 transverse to γ at the point x (i.e. such that the tangent space Tx W to W at the point x and the line R.f (x) tangent at x to the orbit γ are supplementary), we call Poincar´e’s map or first return map associated to W and x, the mapping P that, to every z ∈ W close enough to x, makes correspond the point P (z) obtained by taking the first intersection of the orbit of z with W (see Fig. 3.1). The expression first intersection makes sense since, by continuity, the time T (z) on the orbit of z to come back to W is close to the period T and is thus bounded by below by a strictly positive number.
P(x) • — x• • x • •
W
Fig. 3.1 The Poincar´ e map P around the fixed point x ¯. Here, the tangent linear mapping of P at x ¯ is unstable.
The Poincar´e map doesn’t depend on the choice of the transverse submanifold W or on the point x: if we choose another transverse submanifold W 0 and a point x0 of γ, the corresponding mapping P 0 is the image of P by the diffeomorphism that transforms W in W 0 and x in x0 . We leave the verification of this property to the reader. Recall that, given a diffeomorphism f on a manifold X, the point x ∈ X is called a fixed point of f if and only if f (x) = x. Remark that Poincar´e’s map P maps W , of dimension n − 1, into itself and is a local diffeomorphism. We can also define inductively zk+1 = P (zk )
3.1 Recalls on Flows and Orbits
51
which admits x as fixed point. It results that the study of (3.1) in a neighborhood of the periodic orbit γ is reduced to the study of the above discrete-time equation. Remark that for discrete-time systems of the form xk+1 = f (xk ) where f is a diffeomorphism of class C ∞ , equilibrium points are replaced by fixed points of f , and the tangent linear, or variational, system around the fixed point x ¯ is obtained as in the continuous case: Xk (x) − x ¯ = Xk (x) − Xk (¯ x) = and
∂Xk x) ∂x (¯
∂Xk (¯ x)(x − x ¯) + 0(kx − x ¯ k2 ) ∂x
satisfies the tangent linear or variational equation: ∂Xk+1 ∂f ∂Xk (¯ x) = (¯ x) (¯ x) ∂x ∂x ∂x def ∂f x) ∂x (¯
or, noting as in the continuous-time case A =
def ∂Xk x): ∂x (¯
and zk =
zk+1 = Azk . In this discrete-time case, we call the eigenvalues of the tangent linear matrix A the characteristic multipliers of x ¯. For a periodic orbit, the (n − 1) characteristic multipliers of P (the n − 1 eigenvalues of the tangent linear mapping of P at x) play an important role. We say that the orbit γ is hyperbolic if P doesn’t have its characteristic multipliers on the unit circle of the complex plane. Example 3.3. Let us go back to the simple pendulum of example 3.1. We recall that it has two singular points in the cylinder S1 × R: (x1 , x2 ) =(0, 0) and 0 1 (x1 , x2 ) = (π, 0). The tangent linearized system at (0, 0) is z˙ = z − gl 0 pg and its characteristic exponents are ±i l . Thus, the singular point (0, 0) is not hyperbolic. 01 The tangent linearized system at (π, 0) is given by z˙ = g z. Its charl 0 pg acteristic exponents are real, given by ± l which means that the singular point (π, 0) is a hyperbolic saddle (the juggler’s unstable equilibrium). According to Proposition 3.1, the above vector field, f (x1 , x2 ) = (x2 , − gl sin x1 )T , is not a gradient since ∂f1 ∂f2 g = 1 6= = − cos x1 . ∂x2 ∂x1 l
52
3 Introduction to Dynamical Systems
On the contrary, it is Hamiltonian since, if we set as before H = 12 x22 + gl (1 − ∂H ∂H and x˙ 2 = − ∂x . We thus have here a periodic cos x1 ), we have x˙ 1 = ∂x 2 1 Hamiltonian system. It is well-known that the pendulum movements are periodic as far as air friction or other damping forces are neglected. The mechanical energy is equal to H (up to the multiplicative constant ml2 ) and it is easy to verify that its Lie derivative along the pendulum vector field is equal to 0, which means that the Hamiltonian H is a first integral. The pendulum integral curves are thus characterized by the equation g 1 2 g x + (1 − cos x1 ) = (1 − cos θ0 ) 2 2 l l the right-hand side corresponding to the energy at initial time, the pendulum being released at 0 initial velocity (any other initial condition can be reduced to this one by a proper choice of initial position θ0 ). The corresponding orbits, of equation r 2g (cos x1 − cos θ0 ) x2 = ± l are closed and their associated period T (θ0 ) is obtained by the integration of dt = x12 dx1 on a quarter period: s T (θ0 ) = 2
2l g
Z
0
θ0
dζ √ . cos ζ − cos θ0
One can prove (exercise) that this expression, which is an elliptic integral, is approximated, for a small enough initial angle θ0 , by the usual formula q l T = 2π g . Let us now intersect the orbits with the half-line { x1 ≥ 0 , x2 = 0 } (any other choice of transverse half-line would give the same result). We verify that the restriction of the above orbit equation to this half-line is given by cos x1 = cos θ0 , which amounts to say that each orbit crosses the axis x2 = 0 at x1 = θ0 + 2kπ for x1 ≥ 0 or that each orbit winds up indefinitely. We thus deduce, without calculation, that the Poincar´e map is locally equal to the identity of R and thus admits 1 as unique characteristic multiplier, which proves that the pendulum orbits are not hyperbolic. One also can prove that they are not persistent in presence of perturbations: for instance, if we consider the air friction as a viscous friction, namely a force proportional to the velocity with opposite orientation, the pendulum equation becomes g θ¨ = − sin θ − θ˙ l with > 0, or
3.2 Stability of Equilibrium Points and Orbits
53
x˙ 1 = x2 x˙ 2 = − gl sin x1 − x2 .
Thus system is now of the form (3.6) with ψ(x1 ) ≡ . The two previous equilibrium points remain but the origin is now hyperbolic (and stable as will be seen later) and the equilibrium (π, 0) remains hyperbolic unstable. However, even for arbitrarily small, there is no more periodic orbit according to Proposition 3.2.
3.2 Stability of Equilibrium Points and Orbits 3.2.1 Attractor The set U is called invariant (resp. positively invariant) if it contains its image by the flow for all t (resp. for all t ≥ 0), in other words if Xt (U ) ⊂ U for all t ∈ R (resp. t ≥ 0). Thus, if U is invariant (resp. positively invariant), the integral curves starting from U remain in U for all times positive or negative (resp. for all positive times). We say that U is globally positively invariant if it is positively invariant and if all the integral curves enter U after some positive finite time. Also, an invariant set which is a submanifold of X is called an invariant manifold . Note that an equilibrium point, or an equilibrium set f −1 (0) = {x ∈ X|f (x) = 0} is always a globally invariant set since Xt (x) = x for all x ∈ f −1 (0), which means that Xt (f −1 (0))) = f −1 (0) for all t. In discrete time, the same definitions hold if we change t ∈ R in t ∈ Z and t ≥ 0 in t ∈ N. The same remark applies to the next definitions and, for clarity’s sake, these straightforward adaptations are left to the reader. Example 3.4. For the system x˙ = −x in R, every compact neighborhood of 0 is globally positively invariant. On the contrary, for the system x˙ = +x, only the equilibrium point {0} is positively invariant. Example 3.5. The orbit of a globally defined first integral is an invariant manifold: in R2 , an arbitrary circle x21 + x22 = R2 is an invariant manifold of the system x˙ 1 = x2 , x˙ 2 = −x1 . Example 3.6. In continuous time, one easily verifies that if X = Rn , if U ⊂ X is a compact with non empty interior whose boundary ∂U is differentiable and orientable, U is positively invariant if and only if the vector field f points
54
3 Introduction to Dynamical Systems
inwards on ∂U . If we note ν the normal to ∂U pointing outwards and < ., . > a scalar product on X, we say that f is inwards on ∂U if < f, ν >|∂U < 0. For example, in R2 , the ellipsoid U = {(x1 , x2 ) ∈ R2 |kx21 + x22 ≤ r2 } ∂ ∂ − (kx1 + x2 ) ∂x since is positively invariant for the vector field f = x2 ∂x 1 2 a normal vector ν on the boundary ∂U = {(x1 , x2 ) ∈ R2 |kx21 + x22 = r2 } of U has the form (kx1 , x2 )T and the scalar product < f, ν > is equal to −kx1 x2 − x22 + kx1 x2 = −x22 ≤ 0. Moreover, one can verify that if x2 = 0, x˙ 2 = −kx1 < 0 (x1 and x2 cannot vanish simultaneously on ∂U ) which proves that f is strictly inwards on ∂U . In fact, a direct computation of the flow shows that the integral curves of f not only remain in U but also converge to the origin. We now introduce limit sets which are both more precise and more intrinsic ¯ the (topological) closure of U . than invariant sets. We denote by U \ ¯ ) is the set made of the limit points of integral curves remaining • Xt (U t∈R
in \U when t tends to ±∞; ¯ ) is the set made of the limit points of integral curves remaining • Xt (U t≥0
•
in \U when t tends to +∞; ¯ ) is the set made of the limit points of integral curves remaining Xt (U t≤0
in U when t tends to −∞. Among these limit sets, attractors are those to which the integral curves converge in positive time. Note that time inversion transforms divergence into convergence and vice versa. \ ¯ ) where U ¯ is a compact invariant We call attractor the set V = Xt (U t≥0
set. If U is globally positively invariant, the attractor V is called maximal. We easily see that an attractor is an invariant set: V = Xt (V ) for all t. Example 3.7. All singular points of a vector field f (i.e. elements of f −1 (0)) are not necessarily attractors. Only stable ones are attractors, in particular those whose characteristic exponents have strictly negative real part, as will be seen later. Instable points are indeed attractors when we change t in −t, as mentioned above, which also amounts to consider the vector field −f in place of f . There exist invariant sets that are attractors for both f and −f . Consider the system x˙ 1 = x2 x˙ 2 = −x1 , The orbits are given by x21 + x22 = R2 where R is an arbitrary real. They are compact invariant sets whatever the sense of motion, which means that the orbits are attractors both for f and −f .
3.2 Stability of Equilibrium Points and Orbits
55
Remark 3.5. Note that an attractor needs not be a manifold. It may have a complicated geometric structure. For instance, an attractor which is not made of a finite union of submanifolds of X is called strange attractor or fractal set. Its dimension, in the sense of Hausdorff, needs not be an integer.
3.2.2 Lyapunov Stability The notion of attractor is rather vague and several refinements are possible. Among them, Lyapunov’s stability3 is a key concept. More precisely, we introduce the notions of Lyapunov’s stability, or L-stability, and of asymptotic Lyapunov’s stability, or L-asymptotic stability, for equilibrium points or periodic orbits.
Xt(x)
Xt(x)
U1
•x x •—
U2
U1
•x — • x U2
Fig. 3.2 L-stability (left) and L-asymptotic stability (right) of the point x ¯.
We say that the point x ¯ is Lyapunov-stable, or L-stable, if for every neighborhood U1 of x ¯ there exists a neighborhood U2 of x ¯ included in U1 such that all the integral curves starting from U2 at time t = 0 remain in U1 for all t ≥ 0 (Fig. 3.2, left). We say that the point x ¯ is Lyapunov-asymptotically stable, or Lasymptotically stable, if it is L-stable and if every integral curve starting from a neighborhood of x ¯ at time t = 0 converges to x ¯ when t → +∞ (Fig. 3.2, right). The main difference between these two definitions is that a small perturbation on the initial state of a system around an L-stable equilibrium point may generate small undamped oscillations, whereas these oscillations are damped and asymptotically vanish in the case of an L-asymptotic stable equilibrium. 3
in reference to the work of Alexander Lyapunov (1854–1918) one of the founders, with Henri Poincar´ e (1854–1912), and then Ivar Bendixson (1861–1936), George Birkhoff (1884– 1944) and many other mathematicians and physicists, of the qualitative analysis of differential equations. Most of their researches in this field were motivated by problems of celestial mechanics.
56
3 Introduction to Dynamical Systems
Before stating the next stability Theorem, let us recall that, given an equilibrium point x ¯ of the vector field f and denoting the matrix of the linear tangent mapping of f at x ¯ by A = ∂f x), x ¯ is said to be non degenerate if A ∂x (¯ is invertible (i.e. A has no 0 eigenvalues), and is said hyperbolic if A has no eigenvalue on the imaginary axis. Theorem 3.1. (Stability of an equilibrium point, continuous case) Let x ¯ be a non degenerate equilibrium point of the vector field f . 1. If all its characteristic exponents at x ¯ have a strictly negative real part, then x ¯ is L-asymptotically stable. 2. If at least one of the characteristic exponents has a strictly positive real part, then x ¯ is not L-stable. Remark 3.6. To study the properties of the characteristic exponents, it is generally useful to put the matrix A in Jordan form (see e.g. Gantmacher [1966]). Let P be the matrix of the change of basis that transforms A into its Jordan form J, i.e. such that P AP −1 = J. If A has only non 0 distincts eigenvalues, P is the matrix of the eigenvectors associated to the eigenvalues of A. Setting x ˜ = P x and f˜(˜ x) = P f (P −1 x ˜), the system (3.1) is transformed ˜ ˙ in x ˜ = f (˜ x). One readily verifies that the linear tangent approximation of f˜ at 0 is equal to z˜˙ = J z˜ with z˜ = P z. We generally choose these coordinates for which the statements and results are significantly simplified. In the plane R2 , non degenerate equilibrium points are classified into four categories according to the sign of the real part of their characteristic exponents: saddle point (2 eigenvalues with real part of opposite signs), the node (2 real eigenvalues of same sign), the focus (2 complex eigenvalues with non zero real parts of the same sign) and the centre (2 imaginary eigenvalues) (see Fig. 3.3). Example 3.8. Considering again the Hamiltonian system with dissipation (3.6) of Proposition 3.2, in dimension n = 1 for simplicity’s sake, assume that the potential U admits a unique minimum at the point x. Recall that the necessary conditions for x to be a unique minimum are given by ∂U (x) = 0, ∂x
∂2U (x) > 0. ∂x2
To compute the characteristic exponents of x, let us set, as in the Remark 3.4, x1 = x, x2 = mx˙ 1 . The system thus reads, in two dimensions: 1 x2 m ∂U 1 x˙ 2 = − (x1 ) − ψ 2 (x1 )x2 ∂x1 m x˙ 1 =
and has (x, 0) as equilibrium point.
3.2 Stability of Equilibrium Points and Orbits
57
.
.
.
.
Fig. 3.3 The origin is a saddle (top left), equilibrium point of the system x˙ 1 = x1 , x˙ 2 = −2x2 ; a stable node (top right), equilibrium point of the system x˙ 1 = −x1 , x˙ 2 = −2x2 ; a stable focus (bottom left), equilibrium point of the system x˙ 1 = −x2 , x˙ 2 = 2x1 − 2x2 ; a centre (bottom right), equilibrium point of the system x˙ 1 = x2 , x˙ 2 = −x1 . In these four cases, the equilibrium point is non degenerate but not hyperbolic in the case of a centre.
Its tangent linear system around (x, 0) is given by 1 ξ˙1 = ξ2 m 2 1 ∂ U ξ˙2 = − 2 (x)ξ1 − ψ 2 (x)ξ2 ∂x1 m and its characteristic exponents are the roots of the characteristic polynomial (of the complex variable λ): ! 1 λ −m 1 ∂2U 1 2 det ∂ U = λ2 + ψ 2 (x)λ + (x) = 0 1 2 (x) λ + m ψ (x) m m ∂x21 ∂x21 Since, by assumption, 2
∂2U (x) ∂x21
> 0, the product of the roots is positive, and
since ψ (x) > 0, the sum of the roots is strictly negative. Thus the 2 roots have a strictly negative real part, which allows to recover the convergence result of Proposition 3.2 and makes it even more precise since it proves the L-asymptotic stability of the equilibrium point x, according to the first item of Theorem 3.1.
58
3 Introduction to Dynamical Systems
The conditions of Theorem 3.1 are generally referred to as Lyapunov’s first method. They are sufficient but not necessary since they cannot conclude, for instance, in the case of purely imaginary or, a fortiori, null, eigenvalues. The next example shows the difficulties to establish a general result in this case. Example 3.9. Consider the two scalar differential equations x˙ = x3 and x˙ = −x3 . They both admit x = 0 as equilibrium point with 0 as characteristic − 21 , we exponent. The general solution of x˙ = ax3 being x(t) = (x−2 0 − 2at) easily see that for a = −1 (second system) all the integral curves are well defined for t → +∞ and converge to 0, which proves that 0 is an attractor, whereas for a = 1 (first system) the integral curves are not defined after x−2
t = 02 , though they all start from 0 at t = −∞, which proves that 0 is an attractor in backward time. Therefore, the two systems have opposite behaviors whereas they have the same eigenvalue 0 at the same equilibrium point 0. Note that this problem is not specific of nonlinear systems: it already exists in the linear case in dimension larger than or equal to 2, as shown by the next example: 00 Example 3.10. The origin (0, 0) of R2 for the system x˙ = x is L-stable 00 since x(t) = x0 for all t, but is not L-asymptotically stable. On the contrary, 01 for the system x˙ = x, it is not L-stable since the integral curves are 00 given byt x1 (t) = x2 (0)t + x1 (0), x2 (t) = x2 (0). In both cases, 0 is a double eigenvalue. To analyze the L-stability of the Poincar´e map around a fixed point, which corresponds to the stability of a periodic orbit, Theorem 3.1 is adapted as follows: Theorem 3.2. (Stability of a fixed point, discrete case) Let x ¯ be a fixed point of the diffeomorphism f . 1. If all the characteristic multipliers of x ¯ have their modulus strictly smaller than 1, then x ¯ is L-asymptotically stable. 2. If at least one of the characteristic multipliers of x ¯ has modulus strictly larger than 1, then x ¯ is not L-stable.
3.2.3 Remarks on the Stability of Time-Varying Systems Let us now stress on a major difference between time-varying and stationary systems concerning stability: in the next example, we exhibit an unstable
3.2 Stability of Equilibrium Points and Orbits
59
time-varying system whose eigenvalues of the tangent linear system at the equilibrium point, at every time, have strictly negative real part, which would contradict Theorem 3.1, assuming it would apply to this context. We consider the linear time-varying system: −1 + 32 cos2 t 1 − 23 sin t cos t x. x˙ = −1 − 32 sin t cos t −1 + 32 sin2 t Its unique equilibrium point is the origin x = 0 and, by linearity, the system is equal to its tangent linear approximation. √ We immediately see that, for all fixed t, its eigenvalues are equal to − 41 ± i 47 (thus independent of time and with strictly negative real part − 14 ). However, it is straightforward to verify that the unique integral curve passing through the point (−a, 0), a ∈ R, at time t = 0, is given by t −ae 2 cos t x(t) = t ae 2 sin t and thus, for all a 6= 0, lim kx(t)k = +∞, which proves that the origin is t→+∞
not L-stable. In fact, for some classes of time-varying systems, say x(t) ˙ = A(t)x(t), one can find a time-varying transformation x = B(t)y such that the transformed system becomes stationary: y˙ = Λy. In the periodic case, Floquet’s Theorem (see e.g.. Arnold [1974, 1980]) asserts that the matrix function B(.) is periodic of period possibly double of the one of A(.). The stability of the original system at an equilibrium point is thus equivalent to the stability of Λ at the corresponding equilibrium point since x(t) = B(t)eΛt B(0)−1 x(0) with B(t) bounded (because periodic). In our example, the matrices B(t) and Λ are given by: 1 − cos t sin t 0 B(t) = , Λ= 2 . sin t cos t 0 −1 Λ thus has stability.
1 2
as eigenvalue, strictly positive real, which proves the non L-
3.2.4 Lyapunov’s and Chetaev’s Functions Originally, Lyapunov’s functions were introduced to study the stability of an equilibrium point. We present here a slightly more general definition that applies to invariant manifolds. Assume that system (3.1) admits a bounded invariant manifold X0 . A Lyapunov’s function associated to X0 is a mapping V of class C 1 on an
60
3 Introduction to Dynamical Systems
f
V=Cte
• — x = min V Fig. 3.4 Lyapunov’s function V for the vector field f : f is inwards on each level set of V and the integral curves of f converge to the minimum of V which is the equilibrium point x ¯ of f .
open U of X containing X0 , with values in R+ , and satisfying the following properties (see Fig. 3.4): (i) V attains its minimum in U ; (ii) V is non increasing along the integral curves of (3.1), i.e. Lf V ≤ 0 in U 4. When the open set U is equal to X, if X is not compact, we call proper Lyapunov’s function a Lyapunov’s function satisfying the additional condition (iii)
lim
kxk→∞, x∈X
V (x) = +∞.
Note that the differentiability property of the Lyapunov function V is not necessary and can be weakened by asking V to be of bounded variations, which suffices to define the Lie derivative Lf V as a negative Radon measure on X, or in other words, as the sum of a non positive continuous function and a countable combination, with non positive coefficients, of Dirac masses concentrated on a collection of closed sets of X with empty interior. The use of such a technical machinery may be necessary when the vector field f is not everywhere differentiable or, worse, discontinuous (see e.g.. Filippov Filippov [1988]). In the time-varying case, the previous definition must be adapted as follows: in (i), the Lyapunov function V is defined on U ×R, admits a minimum, uniformly with respect to t, in U and, in (ii), the Lie derivative of V along 4 In the case of a discrete dynamics x k+1 = f (xk ) where f is a diffeomorphism, that includes the case of Poincar´ e’s map of a periodic orbit, the latter inequality must be replaced by V (f (x)) ≤ V (x) in U .
3.2 Stability of Equilibrium Points and Orbits
f˜ = (f, 1) must be understood as: Lf˜V = regularity of V may be weakened.
61 ∂V ∂t
+ Lf V . In this case too, the
For simplicity’s sake, we assume that X = Rn for the rest of this chapter. Theorem 3.3. (LaSalle) Let C be a compact set, positively invariant by the vector field f , contained in an open set U of X, and let V be a differentiable function satisfying Lf V ≤ 0 in U . Let W0 = {x ∈ U |Lf V = 0} and X0 the largest invariant set by f contained in W0 . Then, for every initial condition T in C, X0 is an attractor, i.e. t≥0 Xt (C) ⊂ X0 . This result is called LaSalle’s invariance principle and, if the manifold W0 is reduced to a single point (which is therefore necessarily an equilibrium point of f ), it is called Lyapunov’s second method5 . If the function V is such that the set V −1 (] − ∞, c]) = {x ∈ X|V (x) ≤ c}, called level set, is bounded for a well-chosen real c, and if Lf V ≤ 0 in all of X, one can choose C = V −1 (] − ∞, c]) which is compact and positively invariant since V decreases along the integral curves of f . Until now we have presented criteria to decide if a system is stable or not. But the nature of the convergence of the corresponding flow remains rather vague. More precisely, nothing is said to compare it with the exponential (resp. geometric) convergence. For this purpose, the following variants of condition (ii) are often introduced: (ii)’ V vanishes on X0 and Lf V < 0 (resp. V (f (x)) < V (x)) in U \ X0 ; (ii)” V vanishes on X0 and there exists α > 0 such that Lf V ≤ −αV (resp. there exists α ∈]0, 1[ such that V (f (x)) ≤ (1 − α)V (x)) in U \ X0 . A strict (resp. strong) Lyapunov’s function is a Lyapunov’s function that satisfies (ii)’ (resp. (ii)”) in place of (ii). Proposition 3.3. Under the assumptions of Theorem 3.3, we have: • if (ii)’ holds true, then X0 is an attractor; • if (ii)” holds true, X0 is an attractor and V (Xt (x)) ≤ e−αt V (x) for all x in a neighborhood of X0 (resp. V (f k (x)) ≤ (1 − α)k V (x)). The adaptation of these results in the case where the set X0 is reduced to an equilibrium point (resp. a fixed point) or a periodic orbit doesn’t raise particular difficulties. 5
also called Lyapunov’s direct method since it doesn’t require to solve the differential equation (3.1). The difficulty is nevertheless replaced by the determination of the function V ! For some classes of systems, e.g. the dissipative Hamiltonian systems, the function V may be obtained according to physical considerations, as in Proposition 3.2, where V is the Hamiltonian (mechanical energy). Recall that Lyapunov’s first method consists in looking at the sign of the characteristic exponents (Theorem 3.1).
62
3 Introduction to Dynamical Systems
We say that the equilibrium (resp. fixed) point x ¯ is exponentially stable 6 if it is L-asymptotically stable and if it locally admits a strong Lyapunov’s function equivalent to a squared norm, in other words if there exists α > 0 such that kXt (x) − x ¯k2 ≤ e−αt kx − x ¯k2 (resp. if there exists α ∈]0, 1[ such 2 k that kXk (x) − x ¯k ≤ (1 − α) kx − x ¯k2 ) for all x in a suitable neighborhood of x ¯. Note that Assumption (ii)” (strong Lyapunov’s function) doesn’t suffice to guarantee the exponential stability, as shown by the following example: Example 3.11. Consider the scalar system x˙ = −x3 . One easily sees that α − 2x 2 is a strong Lyapunov’s function for all α > 0, but the integral V (x) = e 1 curves, given by: x(t) = (2t + C)− 2 , are not exponentially convergent to 0. Note that V is not polynomial, whereas the existence of a quadratic strong Lyapunov’s function would suffice to guarantee the exponential stability. In the hyperbolic case, one can more easily describe the links between L-asymptotic stability, existence of a strong Lyapunov’s function and exponential stability: Theorem 3.4. Consider a hyperbolic equilibrium point (resp. fixed point) x ¯ of the vector field f . The following conditions are equivalent: The equilibrium (resp. fixed) point x ¯ has all its characteristic exponents (resp. multipliers) with negative real part (resp. inside the unit disk) 2. There exists a strong Lyapunov’s function in a neighborhood of x ¯. 1.
Moreover, if one of these two conditions is satisfied, x ¯ is exponentially stable. In the latter case, one can choose as Lyapunov’s function the squared norm of the distance to the equilibrium point in the basis of the eigenvectors associated to the Jordan form of A: if P is the transformation matrix (i.e. such that P AP −1 = ∆ with ∆ diagonal in the case where A is diagonalizable), then the function V (x) = kP −1 (x − x ¯)k2 is a strong Lyapunov’s function in a sufficiently small neighborhood of x ¯. This is an easy consequence of the Theorems 3.1 and 3.2. Example 3.12. Let us go back to the example 3.3 of the pendulum with small friction: x˙ 1 = x2 x˙ 2 = − gl sin x1 − x2 . ∂ ∂ We denote by f (x1 , x2 ) = x2 ∂x − ( gl sin x1 + x2 ) ∂x the corresponding 1 2 vector field and we recall that a Lyapunov’s function is given by:
V (x1 , x2 ) = 6
1 2 g x + (1 − cos x1 ). 2 2 l
In the discrete-time case, the exponential convergence is replaced by the geometric one and thus, the term “exponential stability” is incorrect. However, for simplicity’s sake, and since there is no ambiguity, we keep the same terminology as in the continuous-time case.
3.2 Stability of Equilibrium Points and Orbits
63
Indeed, Lf V = −x22 ≤ 0 in S1 × R and the set defined by W0 = {(x1 , x2 )|Lf V = 0} is equal to the subspace√{x2 = 0} = R. Since V ≤ c, for c real positive, itTturns out that |x2 | ≤ 2c, and thus one can choose C = (] − θ, +θ[×R) V −1 (] − ∞, c]), for θ ∈]0, π[, which is compact and positively invariant. Let us compute the largest invariant set by f contained ∂ in W0 . If we restrict f to W0 , we get f|W0 = −( gl sin x1 ) ∂x for which the 2 largest invariant set is {(x1 , x2 )| sin x1 = 0, x2 = 0} = {(0, 0), (π, 0)}. But, since the point (π, 0) is excluded according to θ < π, we converge to the equilibrium point (0, 0) corresponding to the pendulum at rest in downward vertical position, for all initial conditions in C. It is often more difficult to prove the instability of a system than its stability. In the continuous time case, the Chetaev’s functions may be useful to analyze unstable equilibrium points.
∂Γ f — x•
Γ ∂Γ W= Cste
Fig. 3.5 Chetaev’s Function W for the vector field f : f is inwards with respect to the cone Γ on the boundary ∂Γ and W is increasing along the integral curves of f in Γ .
Let x ¯ be an equilibrium point of the vector field f . We say that the map W of class C 1 on a neighborhood U of x ¯ to R+ is a Chetaev’s function (see Fig. 3.5) if U contains a cone with non empty interior Γ , with vertex x ¯ and piecewise smooth boundary ∂Γ , such that f is oriented inward Γ on ∂Γ ; (ii) lim W (x) = 0, W > 0 and Lf W > 0 in Γ .
(i)
x→¯ x,x∈Γ
Theorem 3.5. An equilibrium point x ¯ for which a Chetaev’s function exists is unstable. In particular, if x ¯ is hyperbolic and has at least one characteristic exponent with positive real part, the function obtained by taking the squared
64
3 Introduction to Dynamical Systems
norm of the projection of x − x ¯ on the eigenspace corresponding to the eigenvalues with positive real part, in a suitable conic neighborhood, is a Chetaev’s function.
3.2.5 Hartman-Grobman’s and Shoshitaishvili’s Theorems, Centre Manifold Definition 3.1. We say that the vector field (resp. the diffeomorphism) f having the origin7 as equilibrium (resp. fixed) point, is topologically equivalent to its linear tangent approximation Az if there exists a homeomorphism ψ from a neighborhood U of 0 to itself that maps every orbit of f in an orbit of its tangent linear system and which preserves its sense of motion, i.e. such that Xt (h(z)) = ψ(eAτ (t,z) z) (resp. f k (h(z)) = ψ(Aκ(k,z) z)) for all z ∈ U with τ a strictly increasing real function for all z (resp. κ a strictly increasing integer function for all z). Remark that the scalar fields −x et −kx with k > 0 are topologically equivalent since, on the corresponding orbits, it suffices to change t in τ (t, x) = kt which is indeed an increasing function of time. On the contrary, the vector fields −x and x are not topologically equivalent since, to map orbits into orbits we need to change t in −t and the sense of motion is not preserved. We have seen that if the origin is a hyperbolic equilibrium (resp. fixed) point, its stability can be determined by inspection of the sign of the real part (resp. the magnitude of the modulus) of the eigenvalues of the matrix A. If A admits eigenvalues with both positive and negative real parts (resp. with modulus both smaller and larger than 1), the eigenspace corresponding to the negative ones (resp. with modulus smaller than 1), called the stable eigenspace, is the set of initial conditions from which the flow exponentially converges to 0 and the eigenspace corresponding to the positive ones, called the unstable eigenspace, the set of initial conditions from which the flow exponentially diverges from 0. To this space decomposition, corresponds also a flow decomposition according to the invariance by A of the respective eigenspaces. This decomposition may be locally extended, in a neighborhood af an equilibrium (resp. fixed) point, to stable and unstable manifolds of the vector field f , and to their corresponding invariant flows, by means of the above topological equivalence. More precisely, we assume that A is hyperbolic and admits k < n eigenvalues with strictly positive real part (resp. with modulus strictly larger than 1), counted with their multiplicity, and n − k eigenvalues with strictly negative 7
We have already remarked (see Remark 3.2 of section 3.1.1) that, by a suitable change of coordinates, any equilibrium point may be mapped to the origin.
3.2 Stability of Equilibrium Points and Orbits
65
real part (resp. of modulus strictly smaller than 1), again counted with their multiplicity. The total number of eigenvalues so involved is necessarily equal to n according to the hyperbolicity assumption. To the eigenvalues of A with strictly positive real part (resp. of modulus strictly larger than 1) is associated the eigenspace E + , of dimension k, and to the eigenvalues of A with strictly negative real part (resp. of modulus strictly smaller than 1) is associated E − , of dimension n − k. E + and E − are indeed supplementary vector subspaces that are invariant by A by definition of the eigenspaces: E + ⊕ E − = Rn , AE + ⊂ E + and AE − ⊂ E − . Thus, for an initial condition z0 ∈ E − , we have limt→+∞ eAt z0 = 0 (resp. limj→+∞ Aj z0 = 0) which means that E − is the stable eigenspace of A. Accordingly, if z0 ∈ E + , changing t in −t (resp. j in −j), we have limt→+∞ e−At z0 = 0 (resp. limj→+∞ A−j z0 = 0) which means that E + is the unstable eigenspace of A. Moreover, in the coordinates corresponding to an adapted basis (e+ , e− ) of the eigenspace E + ⊕ E − , the system x˙ = Ax (resp. xj+1 = Axj ) is decomposed in two decoupled subsystems x˙ + = A+ x+ , x˙ − = A− x− (resp. + − − + − x+ j+1 = A+ xj , xj+1 = A− xj for all j) where x and x are the components of x in this basis. To extend this decomposition to a vector field f , we need the following definition: Definition 3.2. We call stable manifold of the vector field f at the equilibrium point 0, the submanifold − Wloc (0) = {x ∈ U |
lim Xt (x) = 0 and Xt (x) ∈ U ∀t ≥ 0}.
t→+∞
(3.8)
We call local unstable manifold of the vector field f at the equilibrium point 0, the submanifold + Wloc (0) = {x ∈ U |
lim X−t (x) = 0 and X−t (x) ∈ U ∀t ≥ 0}.
t→+∞
(3.9)
− The submanifold Wloc (0), which is obviously a positively invariant manifold of f , thus corresponds to the set of initial conditions in a neighborhood U for which the integral curves of f stay in U and converge to the origin. Ac+ cordingly, Wloc (0) is a positively invariant manifold of −f , and corresponds to the set of initial conditions of U for which the integral curves of f diverge from the origin. − Proposition 3.4. Assume that Wloc (0) is a (n−k)-dimensional smooth man+ − ifold and that Wloc (0) is a k-dimensional smooth manifold. Then Wloc (0) is + tangent at 0 to E − and Wloc (0) is tangent at 0 to E + . − + Proof. We prove this assertion for Wloc (0), the proof for Wloc (0) following the same lines. By assumption, there exists a smooth mapping hs from X to Rk such that − Wloc (0) = {x ∈ U |hs (x) = 0}. By the invariance property, we have Lf hs (x) =
66
3 Introduction to Dynamical Systems
− = 0 for all x ∈ Wloc (0). Then, using the fact that f (x) = Ax + ∂hs 2 s s (x) = (0) + 0(kxk), we get ∂h 0(kxk ) and ∂h ∂x ∂x ∂x (0)Ax + 0(kxk ) = 0 for − all x ∈ Wloc (0) ∩ U0 where U0 is a sufficiently small neighborhood of 0. Thus, identifying the monomials in powers of kxk in both sides, we get ∂hs ∂x (x)f (x) 2
∂hs (0)Ax = 0 ∂x
− for all x ∈ Wloc (0) ∩ U0 .
(3.10)
+ + If we denote by {e+ made by eigenvectors of A as1 , . . . , ek } a basis of E sociated to the eigenvalues λ+ , i = 1, . . . , k, with positive real part, and i − − by {e− , . . . , e } a basis of E made of eigenvectors of A associated to 1 n−k − the eigenvalues λi , i = 1, . . . , n − k, with negative real part, we have Pn−k − − − x = i=1 x− i ei for all x ∈ E ∩ U0 . Thus, restricting (3.10) to x ∈ E ∩ U0 , we get ! ! n−k n−k X X ∂hs ∂hs ∂hs − − − − (0)Ax = (0) Axi ei = (0) xi Aei 0= ∂x ∂x ∂x i=1 i=1 ! n−k X ∂hs − − − = (0) xi λi ei ∂x i=1 − − where we have used the relation Ae− , which proves that every elei = λ i ei P n−k − − − ment of E (generated by the combinations i=1 x− i λi ei , with arbitrary − ∂hs xi ’s) belongs to the kernel of ∂x (0). This kernel has dimension k by as− s sumption and dim E − = k, thus ker ∂h ∂x (0) = E . Since, by definition, − − ∂hs ker ∂x (0) = T0 Wloc (0), the tangent space at 0 to Wloc (0), the result is proven.
An example, in dimension 3, of 2-dimensional stable and 1-dimensional unstable manifolds, as in Proposition 3.4, are depicted in Figure 3.6. Example 3.13. The system
x˙ 1 = x1 + x1 x2 x˙ 2 = −x2
(3.11)
has the origin as equilibrium point and its tangent linear system at 0 is 1 0 z˙ = z, its two eigenvalues being +1 and −1. 0 −1 Clearly, starting from an initial condition such that x1 (0) = 0, we have x˙ 1 (0) = 0, and thus x1 (t) = 0 for all t. Moreover, since x2 = e−t x2 (0), the flow (x1 (t), x2 (t)) converges to the origin as t → +∞, thus {(0, x2 )|x2 ∈ R} ⊂ − − Wloc (0). But since we are looking for a manifold Wloc (0) of the same dimen− sion as the eigenspace associated to the eigenvalue −1, namely 1, Wloc (0) must
3.2 Stability of Equilibrium Points and Orbits
+(0) Wloc
O
67
E+
. z=Az . x=f(x) - (0) Wloc
E-
Fig. 3.6 The topological equivalence between the integral curves of f and those of its − tangent linear approximation. The 2-dimensional stable manifold Wloc (0) is tangent to + − E at 0 and the 1-dimensional unstable manifold Wloc (0) is tangent to E + at 0
be tangent to this eigenspace, which is precisely {(0, x2 )|x2 ∈ R}, therefore − we have {(0, x2 )|x2 ∈ R} = Wloc (0). Accordingly, starting from an initial condition satisfying x2 (0) = 0, we + have x2 (t) = 0 for all t and x˙ 1 = x1 , or x1 = et x1 (0). Thus Wloc (0) = {(x1 , 0)|x1 ∈ R}. Let us prove that (3.11) is topologically equivalent to its tangent linear system by posing τ (t, z2 ) = t−(e−t −1)z2 for z2 > −1 and ψ(z1 , z2 ) = (z1 , z2 ). Indeed, rewriting (3.11) as: xx˙ 11 = 1 − x˙ 2 , or x1 = x1 (0)et−(x2 −x2 (0)) , and, combining this expression with x2 = e−t x2 (0) obtained from x˙ 2 = −x2 , we get x1 = x1 (0)eτ (t,x2 (0)) and x2 = x2 (0)e−t . Comparing with the integral curves of the tangent linear system: z1 = et z1 (0), z2 = e−t z2 (0), we have: x1 (t) = ψ1 (z1 (τ (t, z2 (0))), z2 (t)) = z1 (τ (t, z2 (0)) = eτ (t,z2 (0) z1 (0) and x2 (t) = ψ2 (z1 (τ (t, z2 (0))), z2 (t)) = z2 (t) = e−t z2 (0), which achieves to prove the assertion by remarking that the sense of motion is preserved if and only if ∂τ −t ∂t = 1 + e z2 > 0, in other words if z2 > −1. The equivalence is thus valid in the neighborhood R×] − 1, +∞[ of the origin. In the case of a diffeomorphism, the previous definition becomes: Definition 3.3. We call local stable manifold of the diffeomorphism f at the fixed point 0, the submanifold − Wloc (0) = {x ∈ U |
lim f k (x) = 0 and f k (x) ∈ U ∀k ≥ 0} .
k→+∞
(3.12)
We call local unstable manifold of the diffeomorphism f at the fixed point 0, the submanifold
68
3 Introduction to Dynamical Systems + Wloc (0) = {x ∈ U |
lim f −k (x) = 0 and f −k (x) ∈ U ∀k ≥ 0} .
k→+∞
(3.13)
We have the following result: Theorem 3.6. (Hartman and Grobman) If 0 is a hyperbolic equilibrium (resp. fixed) point of f , then f is topologically equivalent to its tangent linear system and the corresponding homeomorphism preserves the sense of motion. Moreover, there exist local stable and unstable manifolds of f at 0 with + − dim Wloc (0) = dim E + and dim Wloc (0) = dim E − , tangent at the ori+ − gin to E and E respectively, and having the same regularity as f . The second part of the Theorem is often called Hadamard–Perron’s Theorem as in the linear case. Remark that these manifolds may be prolonged using the following formulas, in the continuous-time case: [ [ − + W − (0) = X−t (Wloc (0)) , W + (0) = Xt (Wloc (0)) (3.14) t≥0
and in the discrete-time case [ − W − (0) = f −k (Wloc (0)) , k≥0
t≥0
W + (0) =
[
+ f k (Wloc (0)) .
(3.15)
k≥0
This decomposition is not valid for a matrix A having 0 or imaginary eigenvalues (resp. of modulus 1). The extension to such cases is non trivial since it isn’t only based on the tangent linear mapping, and may be done thanks to the introduction of the notion of centre manifold. If 0 is a non hyperbolic equilibrium (resp. fixed) point of f , we consider the eigenspace E 0 associated to the eigenvalues with 0 real part (resp. of modulus 1). We thus have E + ⊕ E 0 ⊕ E − = Rn and E 0 is also invariant by A. Theorem 3.7. (Shoshitaishvili) If the vector field (resp. diffeomorphism) f is of class C r and admits 0 as equilibrium (resp. fixed) point, it admits local − + 0 stable, unstable and centre manifolds, noted Wloc (0), Wloc (0) and Wloc (0), of r r r−1 − + class C , C and C respectively, tangent at the origin to E , E and E 0 . − + 0 Wloc (0) and Wloc (0) are uniquely defined whereas Wloc (0) is not necessarily unique. Moreover, f is topologically equivalent, in a neighborhood of the origin, to ∂ ∂ ∂ + x2 ∂x + f0 (x3 ) ∂x (resp. to the diffeomorphism the vector field −x1 ∂x 1 2 3 1 (x1 , x2 , x3 ) −→ ( 2 x1 , 2x2 , f0 (x3 ))) where x1 , x2 and x3 are systems of local − + 0 coordinates of Wloc (0), Wloc (0) and Wloc (0) respectively, and f0 (x3 ) is the 0 projection of f on Wloc (0). Remark 3.7. It should be noted that, as opposed to the fact that the stable and unstable dynamics that copy their tangent linear dynamics, the dynamics
3.2 Stability of Equilibrium Points and Orbits
69
in the centre manifold, if non trivial, is nonlinear and therefore concentrates the nonlinear aspects of f . Thus, locally, for the topological equivalence relation, the only nonlinear dynamics are those corresponding to centre manifolds. To compute centre manifolds, the following general principle may be applied. We assume, for simplicity’s sake, that the vector field f is of class C ∞ . We start by the decomposition of A in Jordan form. In the corresponding coordinates, the system reads x˙ = A± x + f1 (x, y) (3.16) y˙ = A0 y + f2 (x, y) where A± is the diagonal part corresponding to the hyperbolic eigenvalues of A, and A0 the block grouping all the eigenvalues with 0 real part of A, that correspond to the subspace E 0 . Since the origin is an equilibrium point, we may have fi (0, 0) = 0, i = 1, 2 and since the above system must have z˙1 = A± z1 z˙2 = A0 z2 ∂fi ∂fi (0, 0) = (0, 0) = 0, i = 1, 2. ∂x ∂y 0 Since the coordinates y are adapted to the centre manifold Wloc (0), its equation must be of the form as its tangent linear system, it results that
x = h(y),
(3.17)
where h is a C ∞ function to be determined. We indeed must have h(0) = 0 0 due to the equilibrium at the origin. To express the fact that Wloc (0) must be 0 0 tangent to E at 0, we set ϕ(x, y) = x − h(y). The tangent space to Wloc (0) at the origin is ker Dϕ(0, 0) = {(v1 , v2 )|v1 −
∂h (0)v2 = 0} = E0 = {(0, v2 )|v2 ∈ Rk0 } ∂y
∂h (0) = 0. ∂y The dynamics on the centre manifold must satisfy:
with k0 = dim E0 , which immediately implies that
y˙ = A0 y + f2 (h(y), y)
(3.18)
def f˜2 (0) = 0. where f2 (h(y), y) = f˜2 (y), similarly to h, satisfies f˜2 (0) = 0 and ∂∂y In other words, if we develop f˜2 and h in Taylor’s series around 0, the lowest degree non zero terms must be of the second degree with respect to y. We note this property f2 (h(y), y) = 0(kyk2 ) and h(y) = 0(kyk2 ) in a suitable
70
3 Introduction to Dynamical Systems
0 neighborhood of 0. The tangent vector field to Wloc (0) of (3.18) is thus given, up to the second order in y, by A0 y + f2 (0, y) + 0(kyk3 ). To identify the successive terms of the development of h, we use the ind 0 variance of Wloc (0) by the flow, i.e. (x − h(y)) = 0, or: dt
A± h(y) + f1 (h(y), y) −
∂h (A0 y + f2 (h(y), y)) = 0. ∂y
(3.19)
We immediately deduce Proposition 3.5. Consider the solution h0 of the implicit equation A± h0 (y) + f1 (h0 (y), y) = 0
(3.20)
such that h0 (0) = 0, in a suitable neighborhood of the origin8 . Then h, defined by (3.17), is approximated by h0 at the order 2 with respect to y in a sufficiently small neighborhood Y0 of y = 0, i.e. kh(y) − h0 (y)k = 0(kyk3 ) for every y ∈ Y0 . ∂h Proof. According to (3.19), since ∂h ∂y (0) = 0 by assumption, ∂y (y) = ∂h ∂h 2 2 ∂y (0) + 0(kyk ) = 0(kyk ), and we have A± h(y) + f1 (h(y), y) − ∂y (y)(A0 y + 3 f2 (h(y), y)) = 0 = A± h(y) + f1 (h(y), y) + 0(kyk ). Thus A± h(y) + f1 (h(y), y) = 0(kyk3 ), which proves that h0 satisfying (3.20) coincides with h up to the second order in y, hence the result.
Remark 3.8. To compute an approximation of the center manifold, it suffices to solve (3.20), which represents the set of equilibria of the hyperbolic part of (3.16) for all fixed y in a suitable neighborhood of the origin. Assuming, for simplicity’s sake, that A± = A− has only eigenvalues with negative real part, this leads to the following important interpretation: the hyperbolic part, which is topologically equivalent to its stable tangent dynamics z˙1 = A− z1 , exponentially converges to x = h0 (y), close to the center manifold x = h(y), while y, whose dynamics in not exponential, moves so slowly in comparison to x that it can be approximated by a constant. On the other hand, the dynamics of the non hyperbolic part on the center manifold is locally approximated by A0 y + f2 (h0 (y), y) and is independent of the hyperbolic dynamics. Theorem 3.7 has two major consequences, one concerning the stability analysis, and the other one the possibility to reduce the system’s dimension: Even if we assume, as in the previous Remark, that the hyperbolic dynamics are stable, the overall stability depends on the stability of the central dynamics (projection of the dynamics on the centre manifold): 8
this solution exists and is locally unique since A± is invertible
3.2 Stability of Equilibrium Points and Orbits
71
• the central flow, if stable, converges to y = 0. Thus x first locally converges to a point y close to the center manifold and then slowly converges to 0 while remaining close to this manifold. • in the unstable case, y diverges, implying that x first converges to a point y close to the center manifold and then is slowly repelled from the origin while remaining close to this manifold. If we are interested in approximating the system, its projection on the center manifold provides a model of reduced dimension which faithfully reproduces the slow behavior of the system. We will see in the next chapters that such model reduction may be helpful, for instance, if the hyperbolic (fast) dynamics are stable and if we want to locally modify the stability of the central flow only. This approach may be seen as a “surgical operation” on the system since we only modify the unwanted behavior on a submanifold almost without affecting the rest. (2)
If we set h(y) = h(2) y ⊗2 + 0(kyk3 ), fi (0, y) = fi y ⊗2 + 0(kyk3 ), where ⊗2 y represents the vector made up with all the monomials of the form yi yj for 1 ≤ i ≤ j ≤ dim E0 , we easily see that h(2) satisfies the equation: (2)
A± h(2) y ⊗2 + f1 y ⊗2 =
∂h(2) y ⊗2 A0 y ∂y
and we go on, by the same method, identifying the successive coefficients of the development of h (see Example 3.14 below). Remark 3.9. This process gives only a polynomial approximation of h and thus of the centre manifold, and, even if we can compute an infinite number of terms, the corresponding series is not necessarily convergent. Nevertheless, this approach is constructive, and therefore useful in applications, and directly shows the key role played by the invariance. Example 3.14. Consider the following system in 2 dimensions x˙ 1 = −x1 + f1 (x1 , x2 ) x˙ 2 = f2 (x1 , x2 )
(3.21)
∂fi (0, 0) = 0 for i, j = 1, 2. ∂xj The tangent linear mapping is thus given by −1 0 def z˙ = z = Az. (3.22) 0 0 where f1 and f2 satisfy: fi (0, 0) = 0 and
The two eigenvalues of A are λ1 = −1 and λ2 = 0. According to Theorem 3.7, there is a centre manifold x1 = h(x2 ) that we now construct. As before, let us set h(x2 ) = h2 x22 + h3 x32 + O(x42 ) in a neighborhood of 0. We have:
72
3 Introduction to Dynamical Systems
x˙ 1 = −x1 + f1 (x1 , x2 ) =
dh f2 (x1 , x2 ). dx2
Replacing x1 by h(x2 ), we get − h(x2 ) + f1 (h(x2 ), x2 ) =
dh f2 (h(x2 ), x2 ). dx2
(3.23)
The expansion at the order 3 in x2 of fi ((h(x2 ), x2 ) is given by: 1 ∂ 2 fi (0)x22 + fi ((h(x2 ), x2 ) = 2 ∂x22
∂ 2 fi 1 ∂ 3 fi (0) x32 + O(x42 ) (0)h2 + ∂x1 ∂x2 6 ∂x32 i = 1, 2.
Identifying the monomials of degree 2 and 3 in (3.23), we obtain (after simple but long computations which are omitted): 1 ∂ 2 f1 (0)x22 x1 = h(x2 ) = 2 ∂x22 2 2 ∂ f1 ∂ 2 f2 ∂ f1 1 1 ∂ 3 f1 (0) − (0) (0) + (0) x32 + O(x42 ) + 2 ∂x1 ∂x2 ∂x22 ∂x22 6 ∂x32 and the dynamics of x2 (central dynamics) are given by: 1 ∂ 2 f2 1 ∂ 2 f2 1 ∂ 3 f2 ∂ 2 f1 2 x˙ 2 = (0)x2 + (0) x32 + O(x42 ). (0) 2 (0) + 2 ∂x22 2 ∂x1 ∂x2 ∂x2 6 ∂x32 The central dynamics thus has a quadratic term as lowest degree term. Let 2 us denote by a = 12 ∂∂xf22 (0) and assume that a 6= 0. We have 2
x2 (t) = (x2 (0)−1 − at)−1 for x2 (0) sufficiently small. This solution is not L-stable in a neighborhood of 0 since the integral curves converge to 0 only if the sign of x2 (0) is the opposite of the one of a, and blow up in finite time T = ax21(0) in the opposite case. If a = 0, The central dynamics are given at the order 3 in x2 by ∂ 2 f1 1 ∂ 3 f2 1 ∂ 2 f2 (0) 2 (0) + (0) x32 + O(x42 ) x˙ 2 = 2 ∂x1 ∂x2 ∂x2 6 ∂x32 2 3 f2 ∂ 2 f1 1 ∂ f2 and is stable if ∂x∂1 ∂x (0) (0) + (0) < 0 and unstable otherwise. 2 3 3 ∂x2 ∂x2 2 It results from this analysis and from Theorem 3.7 that if a > 0 (resp. 2 a < 2 0), the system (3.21) is not L-stable, and if a = 0 and 3 ∂ f2 ∂ f1 1 ∂ f2 (0) (0) + (0) < 0 the system (3.21) is stable for all x2 ∂x1 ∂x2 3 ∂x32 ∂x22 sufficiently small.
3.3 Singularly Perturbed Systems
73
As noted in Remark 3.8, there is a natural interpretation of the centre manifold in terms of time scales, which also suggests a strong link with the theory of singular perturbations as outlined in the next section.
3.3 Singularly Perturbed Systems We consider a family of vector fields {fε : (x, ε) ∈ X × [0, ε0 [7→ f (x, ε) ∈ Tx X} where fε depends in a C ∞ way of the scalar parameter ε. We say that this family is a family of perturbations of f = f0 . The corresponding family of perturbed systems is thus the family of systems x˙ = f (x, ε)
(3.24)
for every ε ∈ [0, ε0 [. Augmenting the state by adding ε as a new state satisfying ˙ = 0, we get x˙ = f (x, ε) ε˙ = 0
(3.25)
Let us assume that f (0, 0) = 0 and that, for = 0, the tangent linear mapping of f admits the eigenspaces E − , E + and E 0 . The previous construction of local invariant manifolds therefore can be applied in a neighborhood of (0, 0): in the local coordinates (P x, ) = (x1 , x2 , ), with P the matrix of eigenvectors of the linear tangent mapping of f , system (3.25) reads x˙ 1 = A± x1 + f1 (x1 , x2 , ) x˙ 2 = A0 x2 + f2 (x1 , x2 , ) (3.26) ˙ = 0 Then the center manifold is given by x1 = h(x2 , )
(3.27)
with h given by its Taylor’s series as before. According to Theorem 3.7, the system (3.25) is topologically equivalent to the system x˙ 1 = A± x1 (3.28) x˙ 2 = A0 x2 + f2 (h(x2 , ), x2 , ) where the “slow variable” is x2 ( is indeed slowly varying since it is constant!) and the“fast variable” x1 . If the latter variable is stable for all x2 in the centre manifold, the stability of the equilibrium point (0, 0) depends on the stability
74
3 Introduction to Dynamical Systems
of its projection on the centre manifold. In addition, for sufficiently small, the centre manifold may be approximated by x1 = h(x2 , 0) +
∂2h ∂h (x2 , 0) + 2 (x2 , 0)2 + . . . ∂ ∂
and the slow dynamics by x˙ 2 = A0 x2 + f2 (h(x2 , 0), x2 , 0) + 0(2 ). We now focus attention on a more general class of controlled systems (see e.g. L´evine and Rouchon [1994]), which, in adapted coordinates (not necessarily those in which the model has been obtained) is given by: x˙ 1 = εf1 (x1 , x2 , u, ε) x˙ 2 = f2 (x1 , x2 , u, ε)
(3.29)
where x1 has dimension n1 , x2 has dimension n2 and ε is a “small” parameter, expressing the fact that the vector field f2 , assumed of class C ∞ with respect to all its arguments, is, in a neighborhood to be made precise later, much larger than f1 , also assumed of class C ∞ . The system (3.29) is said to be in standard form (Tikhonov et al. [1980]).
x2
x2 f2(x1,x2,u,ε) f2(x1,x2,u,0)
f2(x1,x2,u,ε)=0 x1
x1 f1(x1,X2(x1u),u,ε)
f2(x1,x2,u,0)=0
Fig. 3.7 The evolution of the variable x2 is faster than the one of x1 . The left figure corresponds to ε = 0 in (3.29) and the right one corresponds to its deformation for ε > 0 small enough.
Let us introduce the new time variable τ = εt. τ is obviously a slower time variable than t since for all finite t, limε→0 τ (t) = 0. τ is often called slow time-scale. dx1 dt dx2 dt 1 1 1 2 We have dx ˙ 1 = f1 (x1 , x2 , u, ε) and dx ˙2 = dτ = dt dτ = ε x dτ = dt dτ = ε x 1 ε f2 (x1 , x2 , u, ε), or
3.3 Singularly Perturbed Systems
75
dx1 = f1 (x1 , x2 , u, ε) dτ dx2 1 = f2 (x1 , x2 , u, ε) dτ ε which means that, in this slow time scale, the second dynamics is of order 1ε , thus fast, whereas the first one is of order 0 in ε. Before going deeper into the subject, let us remark that the standard form (3.29) crucially depends on the choice of coordinates. Indeed, if we introduce the diffeomorphic change of variables: z1 = x1 + x2 ,
z2 = x1 − x2 ,
the resulting dynamics read z1 + z2 z1 − z2 z1 + z2 z1 − z2 , , u, ε) + f2 ( , , u, ε) 2 2 2 2 z1 + z2 z1 − z2 z1 + z2 z1 − z2 z˙2 = εf1 ( , , u, ε) − f2 ( , , u, ε) 2 2 2 2 z˙1 = εf1 (
and in the two components of z = (z1 , z2 ), fast and slow terms are mixed up. These coordinates are therefore not suitable to directly detect if the system is decomposable in slow and fast parts. The questions of the existence of coordinates in which the system is in standard form (3.29) and their computation are beyond the scope of this book and are not addressed here. Coming back to (3.29), the fact that x2 ’s dynamics are fast means that x2 is vigorously attracted to an equilibrium point of f2 , in a neighborhood to be specified, if the latter is stable, or vigorously repelled from this point in the opposite case. The first step of our analysis thus naturally concerns the submanifold where the fast dynamics converge, which, analogously to Proposition 3.5, provides a suitable approximation of the center manifold. The latter, in this context, is called slow manifold and is constructed using its invariance, as in the previous section.
3.3.1 Invariant Slow Manifold When ε = 0, the set of equilibrium points of (3.29) is the manifold given by Σ0 = {(x1 , x2 , u)|f2 (x1 , x2 , u, 0) = 0} called the equilibrium manifold , whereas, for ε 6= 0, this set is given by Σε = {(x1 , x2 , u)|f1 (x1 , x2 , u, ε) = 0, f2 (x1 , x2 , u, ε) = 0}. It is remarkable that Σε is lower dimensional than Σ0 since, for ε = 0, the condition f1 = 0 disappears. This justifies the expression singular pertur-
76
3 Introduction to Dynamical Systems
bation: when ε → 0, the manifold Σε degenerates to Σ0 who is therefore singular. ∂f2 has By the implicit function Theorem, if, in a neighborhood of Σ0 , ∂x 2 full rank, equal to n2 , the dimension of x2 , one has Σ0 = {(x1 , x2 , u)|x2 = X2 (x1 , u)}. The equilibrium manifold Σ0 obviously enjoys the following property: for initial conditions (x01 , x02 , u0 ) in Σ0 , and if ε = 0, the integral curves of the system remain in Σ0 since (x˙ 1 , x˙ 2 ) = (0, 0). Σ0 is thus an invariant manifold for ε = 0. We now study the persistance of this invariant manifold when ε 6= 0, sufficiently small, and when u is slowly varying.
3.3.2 Persistence of the Invariant Slow Manifold We will show that for all ε 6= 0 sufficiently small, there exists an invariant manifold denoted by Σ0,ε , close to Σ0 , called slow manifold , on which the dynamics of the system is of order ε, i.e. slow. From now on, we assume that u is slowly varying, i.e. u˙ = εv with v a bounded, but otherwise arbitrary, time function, satisfying supt∈R kv(t)k < +∞. We set Σ0,ε = {(x1 , x2 )|f2 (x1 , x2 , u, ε) = 0}. Clearly, the regularity of f2 with respect to ε implies that Σ0,ε remains close to Σ0 for small ε. ∂f2 Let us assume that rank ∂x = n2 for all ε sufficiently small. By the 2 implicit function theorem, there exists a function X 2 , C ∞ in all its arguments, such that for all u satisfying u˙ = εv, (x1 , x2 ) ∈ Σ0,ε is equivalent to x2 = X 2 (x1 , u, ε) for all x1 and u in a suitable neighborhood, or, in other words, that f2 (x1 , X 2 (x1 , u, ε), u, ε) = 0. Let us prove that Σ0,ε is invariant by the slow dynamics x˙ 1 = εf1 (x1 , X 2 (x1 , u, ε), u, ε) u˙ = εv. Since get:
d dt x2
= f2 (x1 , X 2 (x1 , u, ε), u, ε) = 0 =
d dt
(3.30)
X 2 (x1 , u, ε) on Σ0,ε , we
∂X 2 ∂X 2 εf1 (x1 , X 2 (x1 , u, ε), u, ε) + εv = 0 ∂x1 ∂u ∂ ∂ and thus X 2 is a first integral of ε f1 ∂x + v ∂u , which proves the invariance 1 with respect to the slow dynamics.
3.3 Singularly Perturbed Systems
77
Therefore, the invariant manifold x2 = X2 (x1 , u) obtained, for ε = 0, as a zero of the vector field f2 , still exists for ε > 0 sufficiently small and remains invariant with respect to the slow dynamics (3.30). This property is called persistence. Moreover, we can obtain an approximation of X 2 and of the slow dynamics (3.30) polynomial in ε. Let us sketch their computation. We set X 2 (x1 , u, ε) = X2 (x1 , u) + εX20 (x1 , u) + 0(ε2 ). At the first order in ε, the slow dynamics is given by x˙ 1 = εf1 (x1 , X2 (x1 , u), u, 0) + 0(ε2 ).
(3.31)
Theorem 3.8. For every ε sufficiently small, if u satisfies u˙ = εv with ∂f2 has all its eigenvalues with strictly supt∈R kv(t)k < +∞, and if the matrix ∂x 2 negative real part at every point (x1 , x2 , u, 0) of an open neighborhood V (Σ0 ) of Σ0 , a first order approximation in ε of the invariant manifold Σ0,ε , in this neighborhood, is given by: x2 = X2 (x1 , u) −1 ∂f2 ∂f2 ∂X2 ∂X2 +ε v− (x1 , X2 (x1 , u), u, 0) f1 + ∂x2 ∂x1 ∂u ∂ε + 0(ε2 )
(3.32)
a first order approximation of the slow dynamics in ε being given by (3.31). Proof. Assuming that Σ0,ε is given, in a suitable neighborhood of Σ0 , at the first order in ε, by x2 = X2 (x1 , u) + εX20 (x1 , u, v) + 0(ε2 ) with X20 sufficiently differentiable in all its arguments in the considered neighborhood. By invariance at the first order in ε, we mean that the function x2 − X2 (x1 , u) − εX20 (x1 , u, v) is of order 0(ε2 ) along the system flow: x˙ 1 = εf1 (x1 , X2 (x1 , u), u, 0) + 0(ε2 ) x˙ 2 = f2 (x1 , X2 (x1 , u) + εX20 (x1 , u, v), u, ε) + 0(ε2 ) u˙ = εv.
(3.33)
It results from this property, and the fact that f2 (x1 , X2 (x1 , u), u, 0) = 0, that:
x˙ 2 = ε
∂X2 ∂X2 (x1 , u)f1 (x1 , X2 (x1 , u), u, 0) + ε (x1 , u)v + 0(ε2 ) ∂x1 ∂u ∂f2 =ε (x1 , X2 (x1 , u), u, 0)X20 (x1 , u, v) ∂x2 ∂f2 +ε (x1 , X2 (x1 , u), u, 0) + 0(ε2 ) ∂ε
from which we get, by identification of the terms of order 1 in ε:
78
3 Introduction to Dynamical Systems
∂X2 ∂X2 ∂f2 0 ∂f2 f1 + v= X + ∂x1 ∂u ∂x2 2 ∂ε which, thanks to the invertibility of the result.
∂f2 ∂x2 ,
gives X20 and (3.32), which proves
Going back to the interpretation in terms of slow and fast dynamics: in the slow time scale τ = εt, the system (3.33) reads: dx1 = f1 (x1 , X2 (x1 , u), u, 0) + 0(ε) dτ dx2 1 = f2 (x1 , X2 (x1 , u) + εX20 (x1 , u, v), u, 0) + 0(ε). dτ ε The invariant manifold, assumed attractive, thus plays the following role: for every initial condition close to Σ0,ε , the fast dynamics (of order 1ε ) converge exponentially fast to Σ0,ε and then give way to the slow dynamics whose flow, at least in a small time interval, remains on Σ0,ε (invariant manifold). Moreover, the fast and slow flows, for small ε, are locally small deformations of the respective fast and slow flows for ε = 0 (see Figure 3.7). This interpretation may also be reformulated as the so-called Shadow Lemma: for every initial condition in a neighborhood of Σ0,ε , the system flow converges to Σ0,ε , without necessarily belonging to Σ0,ε , but is approximated by a flow remaining in Σ0,ε (its shadow), to which it converges. We now address the question of the robustness of the stability of the system with respect to ε.
3.3.3 Robustness of the Stability In the limiting case ε = 0, even if the fast dynamics (corresponding to the x2 coordinate) is stable, the system is not hyperbolic, though it is for ε 6= 0. If we assume in addition that the slow dynamics is stable, one may want to know if the overall system is asymptotically stable on the one hand, and if one can compare it with the overall dynamics for ε 6= 0, which is hyperbolically stable, on the other hand. If the stability is unchanged when ε → 0, we say that the stability is robust. The following result is given without proof: ∂f2 Theorem 3.9. If, as before, the matrix ∂x has all its eigenvalues with 2 strictly negative real part at every point (x1 , x2 , u, 0) of an open neighborhood V (Σ0 ) of Σ0 and if, denoting by
F1 (x1 , u) = f1 (x1 , X2 (x1 , u), u, 0), 1 the matrix ∂F ∂x1 has all its eigenvalues with strictly negative real part at every point (x1 , u) of a neighborhood V1 such that V1 × X2 (V1 ) contains Σ0 , then
3.3 Singularly Perturbed Systems
79
the system (3.29) is asymptotically stable for all ε ≥ 0 sufficiently small, i.e. its stability is robust. Let us stress on the fact that this result is not as obvious as it seems to be: if two systems are independent, the stability of each one of them implies the overall stability. Nevertheless, this result is no longer valid if the two systems are coupled since the coupling, even small, may become dominant in some neighborhood and may be in conflict with the stable uncoupled part of the dynamics. We are here in an “almost” decoupled case in a neighborhood of Σ0 , which allows us to use the fact that a stable system remains stable under small perturbations.
3.3.4 An Application to Modelling The persistence of the invariant manifold and the robustness of its stability have an important consequence concerning the modelling of a system with fast and stable dynamics. Indeed, in the slow dynamics, in a first order approximation, we do not use the information on the fast dynamics. The only required knowledge of the latter is an approximation of the equilibrium manifold if we use a sufficiently slow control (u˙ = εv). In this case, the system dimension may be reduced by keeping only the slow dynamics (3.31), the original manifold being locally replaced by an approximation at the order 0, Σ0 , of the slow manifold. This approach has at least two advantages if one restricts to sufficiently slow control: the system dynamics dimension is lowered and a precise knowledge of the fast dynamics is not required. Example 3.15. We consider a DC motor made of permanent magnets (stator) and a coil (rotor) of inductance L and resistance R, in which there flows a current I, and fed by a variable voltage U . The electromotive force is assumed linear in the current and its torque constant is denoted by K. The rotor inertia is denoted by J and the resultant of the exterior torques applied to the motor shaft is denoted by Cr . Finally, we denote by Kv the constant of viscous friction, the latter being assumed linear with respect to the motor rotation speed ω. The electrical model of the coil is obtained thanks to Ohm’s law, combined with the Lenz law for the electromotive force, and the mechanical one, expressing the torque balance on the motor shaft, thanks to the second principle of the dynamics: dI = U − RI − Kω dt dω = KI − Kv ω − Cr . J dt L
(3.34)
80
3 Introduction to Dynamical Systems
For most of the motors of this type, the inductance L is small compared to the other constants. We thus set L = ε and rewrite (3.34) in the fast time scale τ = εt . dI = U − RI − Kω dτ dω J = ε(KI − Kv ω − Cr ) . dτ We immediately deduce that x1 = ω, x2 = I, u = U , and, if we restrict to . The ε = 0, the manifold Σ0 is given by U − RI − Kω = 0, i.e. I = U −Kω R U −Kω slow dynamics is thus given by J dω = ε(K( ) − K ω − C ) or v r dτ R J
2 K K dω =ε − + Kv ω − Cr + U . dτ R R
In the slow time scale, we obtain the reduced slow model (of dimension 1 in place of 2 for the original model) which doesn’t use the inductance L, but which requires, on the other hand, a precise knowledge of the torque constant K and of the ratio K R: dω =− J dt
K2 K + Kv ω − Cr + U . R R
This slow approximation may be refined to deduce an identification method of the resisting torque if the inertia and the torque constant of the motor are sufficiently precisely known and if we measure the current in the coil, the applied voltage and the rotation speed of the motor. The invariant manifold Σ0,ε at the order 1 in ε = L is given by U − Kω L K U − Kω ˙ I= + 2 K − Kv ω − Cr − U + 0(L2 ) R R J R Applying the voltage U = Kω, corresponding to the zero equilibrium current if L were equal to 0. The current I converges to the current I0 of order 1 in L given by: I0 = −
L LK (Kv ω + Cr ) − 2 U˙ + 0(L2 ) 2 JR R
Thus, to compensate for the viscous friction and the resisting torque, we must correct the voltage U by tuning its rate U˙ : to ensure I0 = 0, one must apply the slow voltage variation: K U˙ = − (Kv ω + Cr ) + 0(L) . J Thus, even without a precise knowledge of L and R, this relation may be used to estimate the resisting torque by tuning U˙ such that the current I0
3.4 Application to Hierarchical Control
81
remains as small as possible and that the rotation speed ω vanishes: Cr =
J ˙ U + 0(L). K
This method may be useful, in particular, to estimate the dry friction force at motor start.
3.4 Application to Hierarchical Control We propose now two control applications of the previous theory. The first one concerns the control of the slow dynamics of a singularly perturbed system, its fast dynamics being stable in a neighborhood of the equilibrium manifold and the second one consists in creating a singularly perturbed situation by the design of a suitable feedback and to control the fast and slow dynamics by a so-called hierarchical or cascaded controller.
3.4.1 Controlled Slow Dynamics We consider the singularly perturbed control system (3.29) with the dimension of x1 equal to m, the dimension of the input vector u. We assume that ∂f2 (x1 , x2 , u, ε) in a neighborhood of Σ0 have their real all the eigenvalues of ∂x 2 part smaller than −α, where α is a strictly positive real number, for every ε ∈]0, ε0 [. Its slow dynamics, for u satisfying u˙ = εv, is given by x˙ 1 = εf1 (x1 , X2 (x1 , u, ε), u, ε) u˙ = εv where x2 = X2 (x1 , u, ε) is the equation of the invariant manifold Σ0,ε = {f2 (x1 , x2 , u, ε) = 0}. ∂f1 ∂X2 1 We assume that ∂x + ∂f is everywhere invertible in the considered ∂u 2 ∂u neighborhood (it makes sense since dim x1 = dim u). Thus, given an at least twice differentiable reference trajectory t 7→ x∗1 (t), with t ∈ [0, T ], such that supt∈[0,T ] kx˙ ∗1 (t)k ≤ Cε and supt∈[0,T ] k¨ x∗1 (t)k ≤ 2 Cε , where C is a finite positive real number, according to the above invertibility assumption, possibly after decreasing T , one can find u∗ and v ∗ such that x˙ ∗1 = εf1 (x∗1 , X2 (x∗1 , u∗ , ε), u∗ , ε) u˙ ∗ = εv ∗ . Indeed, by the implicit function Theorem, there exists u∗ such that
82
3 Introduction to Dynamical Systems
x˙ ∗1 ε
= f1 (x∗1 , X2 (x∗1 , u∗ , ε), u∗ , ε)
and, differentiating this last expression, we find that v∗ =
−1 ∂f1 ∂f1 ∂X2 + ∂x2 ∂u ∂u ∗ ∂f1 ∂X2 ∂f1 x ¨1 ∗ ∗ ∗ ∗ − + f (x , X (x , u , ε), u , ε) · 1 1 2 1 ε2 ∂x2 ∂x1 ∂x1
these expressions being finite according to the assumption on the norm of the successive derivatives of x∗1 . We now construct a feedback controller to follow x∗1 . To this aim, it suffices to set x˙ 1 − x˙ ∗1 = −kε(x1 − x∗1 ) = ε (f1 (x1 , X2 (x1 , u, ε), u, ε) − f1 (x∗1 , X2 (x∗1 , u∗ , ε), u∗ , ε)) to deduce the controller u = U (x1 , x∗1 , ε) again by the implicit function Theorem and v = V (x1 , u, x∗1 , v ∗ , ε) by differentiation of U . It results that, as far as the obtained controller remains bounded, the slow variable x1 exponentially tracks its (slow enough) reference and, according to Theorem 3.9, since U doesn’t depend on the fast variable x2 , and thus doesn’t modify the eigenvalues of the fast dynamics, we can conclude to the stability of the overall system. A variant of this approach in the context of distillation columns may be found in L´evine and Rouchon [1991].
3.4.2 Hierarchical Feedback Design Consider, for the sake of simplicity, the 2-dimensional system with a single input, of the form: x˙ 1 = f1 (x1 , x2 ) (3.35) x˙ 2 = f2 (x1 , x2 ) + u. We assume that our objective is to assign the variable x2 to a given reference trajectory x?2 , while remaining in a domain where f2 (x1 , x2 ) is bounded. We ∂f1 is everywhere invertible in this domain. also assume that ∂x 2 We use the high gain control u = − kε (x2 − ξ2 ), for ε small enough and with k a finite positive real. The system (3.35) reads, after introducing the fast time scale τ = εt ,
3.4 Application to Hierarchical Control
83
dx1 = εf1 (x1 , x2 ) dτ dx2 = εf2 (x1 , x2 ) − k(x2 − ξ2 ) dτ which makes, according to Theorem 3.8, the manifold of equation x2 = ξ2 + ε k f2 (x1 , ξ2 ) invariant at the order 1 in ε. Moreover, since k > 0, this manifold is attractive and the resulting slow dynamics is given, at the order 1 in ε, by dx1 = εf1 (x1 , ξ2 ) dτ which amounts to control the slow dynamics through the reference ξ2 , which may be thus interpreted as a fictitious control variable for the slow subsystem. Furthermore, the invariant manifold may approach the curve x2 = ξ2 arbitrarily close since ε, that is here a design variable, can be chosen as small as we want. We have thus transformed a control problem for a 2-dimensional system into two control problems for 2 “cascaded” 1-dimensional subsystems. The fast control loop is generally called the low-level control loop, whereas the indirect feedback realized via the reference ξ2 , that will be specified below, is called the high-level control loop. We complete the design of the high-level loop as in the slow control section: we choose a reference x∗1 to be tracked, using ξ2 as the input, by requiring that dx∗ dx1 − 1 = −Kε (x1 − x∗1 ) dτ dτ and we deduce that ξ2 must satisfy −K(x1 − x∗1 ) = f1 (x1 , ξ2 ) − f1 (x∗1 , x∗2 ) with x∗2 such that x˙ ∗1 = f1 (x∗1 , x∗2 ). Remark that the high-level loop must be slow enough to preserve this feedback created slow-fast decoupling. Clearly, this construction extends to systems of arbitrary dimension if they have a triangular structure similar to (3.35).
3.4.3 Practical Applications The main applications of hierarchical control concern the robust control design of actuators supposed to work in a wide range of situations, not necessarily planned by the manufacturer. Take for instance the case of an electric drive supposed to automatically open a door. This actuator must produce a torque to produce a prescribed rotation of the door around its vertical axis. However, it is designed and manufactured independently of this particular application, and is supposed to work satisfactorily whatever the mechanical characteristics of the door
84
3 Introduction to Dynamical Systems
(inertia, frictions, etc. ) in a given power range. Thus, to open a door of given mass, inertia, resisting torque, in less than 1 second with a positioning precision of ±1 degree of angle, the drive must be able to deliver the reference torques required for the positioning with a much smaller time constant to reduce the positioning error of the door’s position with respect to its reference at every time. An analogous design can be found, for instance, • for the control of hydraulic jacks driving the orientation of the wing flaps of an aircraft, that control the aircraft attitude; • for the control of electromagnetic valves that inject a fluid in the active dampers of a vehicle suspension, or the inlet products of a chemical reactor, at a reference flow rate; • for the control of the current in the coils of an electromagnet used to levitate a rotating shaft of a vacuum pump; • for the control of electric drives (AC or DC, synchronous or asynchronous) for the active positioning of mechanical systems such as electric windows, windshield wipers, positioning tables in 2 or 3 dimensions, cranes, robots, etc. • etc. Example 3.16. Consider a mixing unit for a chemical reactor driven by a DC motor. We aim at varying the rotation speed of the mixer in function of the slowly varying volume of reactants in the reactor.
Cr
Cm Fig. 3.8 Mixer in a chemical reactor
3.4 Application to Hierarchical Control
85
The model of the set motor-mixer consists of two differential equations, the first one describing the current evolution in the motor (see (3.34)) and the second one describing the mechanical torque balance exerted on the motor shaft. The equations are the same as those of (3.34), except that the resisting torque, which results from the friction of the helix on the fluid, is assumed proportional to the square of the angular speed of the helix: Cr = Kf ω 2 where Kf is the viscous friction coefficient. dI = U − RI − Kω dt dω J = KI − Kf ω 2 . dt
L
(3.36)
As before, we assume that the inductance L is much smaller than the other coefficients in the system. Let ω ∗ be the reference angular velocity, assumed constant or slowly varying. We start with the low-level loop design: U =−
k1 (I − vI ) L
with k1 > 0 of order 0 in L, so that the current I fast converges (at the first order in L) to a reference vI to be determined. The resulting slow dynamics is thus J
dω = KvI − Kf ω 2 . dt
The high-level loop, which is aimed at compensating the error between ω and its reference ω ∗ , consists in writing: vI = vI∗ − k2 (ω − ω ∗ ) with KvI∗ = Kf (ω ∗ )2 , assuming that Kf is precisely known. Indeed: J
dω = −Kk2 (ω−ω ∗ )−Kf (ω+ω ∗ )(ω−ω ∗ ) = − (Kk2 + Kf (ω + ω ∗ )) (ω−ω ∗ ) dt
which ensures the exponential convergence of ω to ω ∗ if k2 > 0. Thus, the angular velocity is directly controlled by the current, assuming that the latter is instantaneously equal to its reference, a behavior which results from the low-level voltage loop. In a practical point of view, the low-level controller may be integrated in the motor’s electronic driver since it only requires at every time the measurement of the current I and the input vI to feed the voltage loop, the corresponding gain k1 being tuned once for all, independently of this precise application. It suffices, for the user, to enter the the value of the current reference vI at every time, that results from the high-level loop design.
86
3 Introduction to Dynamical Systems
Accordingly, the control electronics of the high-level loop may be designed separately, and the gain k2 may be tuned in order to produce a slow enough behavior compared to the one of the electrical part of the motor. Note that the tuning margin is generally large enough since the electrical time constant of the motor is generally smaller than 10−3 seconds whereas, for the mechanical time constant, we rarely need to react below 10−2 seconds. Such a design is indeed extendable to all the above mentioned applications.
Chapter 4
Controlled Systems, Controllability
4.1 Linear System Controllability Controllability is one of the so-called structural properties of systems depending on inputs. It has initially been studied in the framework of linear systems to describe the possibility of generating arbitrary motions. For nonlinear systems, several extensions are possible. They are outlined in the second part of this chapter. Though controllability is not of direct importance in applications, it serves as an introduction to numerous practical problems such as, e.g. the motion planning problem. As in the previous chapters, we insist on the existence of particular coordinates where the controllability property is directly understood, coordinates for which the system is expressed in a so-called canonical form. Though such coordinates always exist for linear controllable systems, the situation is much more difficult for nonlinear systems. Several notions of controllability in the nonlinear context are studied in the second part of this chapter. The links between some Lie algebraic properties and controllability are outlined. For a more detailed presentation of the structural aspects of nonlinear systems, and in particular their controllability, observability and applications to feedback design, the reader may refer to Kailath [1980], Sontag [1998], Wolovich [1974], Wonham [1974] and for the underlying linear algebraic questions to Gantmacher [1966].
4.1.1 Kalman’s Criterion We consider the linear system x˙ = Ax + Bu
J. Lévine, Analysis and Control of Nonlinear Systems, Mathematical Engineering, DOI 10.1007/978-3-642-00839-9_4, © Springer-Verlag Berlin Heidelberg 2009
(4.1)
87
88
4 Controlled Systems, Controllability
where x ∈ Rn is the state vector and u ∈ Rm is the input vector. Clearly, the matrix A is of size n × n and B of size n × m. Definition 4.1. We say that the pair (A, B) or, equivalently, that the system is controllableof linear systems if and only if, given a duration T > 0 and two arbitrary points x0 and xT of Rn , there exists a piecewise continuous time function t 7→ u ¯(t) from [0, T ] to Rm such that the solution x ¯(t) of (4.1) generated by u ¯ and with initial conditions x ¯(0) = x0 , satisfies x ¯(T ) = xT . In other words: eAT x0 +
Z
T
eA(T −t) B u ¯(t)dt = xT .
(4.2)
0
This property, which concerns the integral curves of the system, only depends in fact on the pair of matrices A and B as shown by the following criterion obtained by R.E. Kalman: Theorem 4.1. (Kalman) A necessary and sufficient condition for the system (4.1) to be controllable is that the rank of the matrix .. .. .. n−1 C = B .AB . · · · .A B (4.3) is equal to n. the matrix C is called Kalman’s controllability matrix . Its size is n × nm. Proof. We can, without loss of generality, consider that x0 = 0. It indeed suffices to change xT in yT = xT − eAT x0 since then one looks for u ¯ such that Z
T
eA(T −t) B u ¯(t)dt = yT = xT − eAT x0
0
which is precisely (4.2). Consider the matrix C(t) = eA(T −t) B, where A0 and B 0 are the transposed matrices of A and B, and assume for a moment that the matrix RT G = 0 C(t)C 0 (t)dt, of size n × n, is invertible. It suffices then to set 0
u ¯(t) = B 0 eA (T −t) G−1 yT .
(4.4)
Indeed, one easily verifies that u ¯ is continuous and that Z 0
T
eA(T −t) B u ¯(t)dt =
Z
T
0
eA(T −t) BB 0 eA (T −t) G−1 yT dt = GG−1 yT = yT
0
and thus that u ¯ generates the required trajectory. It remains thus to prove that the invertibility of G is equivalent to rank (C) = n. The proof is by contradiction, assuming that G is not invertible.
4.1 Linear System Controllability
89
In this case, there exists a vector v ∈ Rn , v 6= 0, such that v 0 G = 0. Right multiplying by v, we get v 0 Gv =
Z
T
v 0 C(t)C 0 (t)vdt = 0.
0 0
0
Since v C(t)C (t)v is a non negative quadratic form, the integral cannot vanish unless v 0 C(t)C 0 (t)v = 0 for all t ∈ [0, T ], and thus unless v 0 C(t) = 0 for all t ∈ [0, T ]. But this last relation reads v 0 eA(T −t) B = 0 and, by definition of the exponential of a matrix, X (T − t)i B = 0. v 0 I + Ai i! i≥1
This polynomial of T − t being identically 0, each monomial is 0 too, so that v 0 B = 0 and v 0 Ai B = 0 for all i ≥ 1. This implies that v 0 C = 0 with v 6= 0 and therefore C cannot be of rank n. Conversely, if the rank of C is strictly smaller than n, there exists a non zero vector v such that v 0 C = 0 and thus v 0 Ai B = 0 for all i = 0, . . . , n − 1. Using the Cayley-Hamilton Theorem (Gantmacher [1966]), all the successive powers Ak for k ≥ n are thus linear combinations of the Ak ’s for 0 ≤ k ≤ n−1. Since v 0 B = v 0 AB = . . . = v 0 An−1 B = 0, it results that v 0 Ai B = 0 for all i and thus, making the previous calculations backwards, we get v 0 G = 0, which implies that G is not invertible, which completes the proof. Example 4.1. The single input, 2-dimensional system x˙ 1 = x2 x˙ 2 = u 0 01 01 is controllable: B = ,A= ,C= and rank (C) = 2. 1 00 10 Example 4.2. The single input, 2-dimensional system x˙ 1 = u x˙ 2 = u 1 00 10 is not controllable: B = ,A= ,C= and rank (C) = 1. 1 00 10 Note that the vector v of the proof of Theorem 4.1 can be chosen as v 0 = (1, −1) and gives a combination of states which is independent of the input: d 0 v 0 x = x1 − x2 is such that dt v x = x˙ 1 − x˙ 2 = 0, i.e. the expression x1 − x2 only depends on the initial conditions and cannot be modified by the input. This is precisely what characterizes a non controllable system.
90
4 Controlled Systems, Controllability
4.1.2 Controllability Canonical Form The notion of controllability canonical form, or Brunovsk´y canonical form, is defined in reference to the SLF-equivalence defined below: a partition of the considered set of systems is induced by the equivalence classes, and each equivalence class is represented by a canonical form. Definition 4.2. We say that 2 systems x˙ = Ax + Bu and z˙ = F z + Gv are equivalent by linear change of coordinates and (non degenerate) feedback, or shortly static linear feedback equivalence or SLF-equivalence if there exist two invertible matrices M and L and a matrix K such that if x and u satisfy x˙ = Ax + Bu and if z = M x and v = Kx + Lu, then z and v satisfy z˙ = F z + Gv, and conversely. M is the invertible matrix of change of coordinates of size n × n, and K and L are the feedback matrices, with L of size m × m, invertible, and K of size m × n. From the invertibility of M and L, one immediately deduces that 2 SLFequivalent systems have the same state and input dimensions. To express that this equivalence depends only on the matrices defining the 2 systems, we also say that the pairs (A, B) and (F, G) are SLF-equivalent. The definition 4.2 indeed corresponds to an equivalence relation: it is trivially reflexive and transitive. Let us prove the symmetry: if there exist M , K and L such that x˙ = Ax+Bu is SLF-equivalent to z˙ = F z +Gv, with z = M x and v = Kx + Lu, the symmetric transformation is given by x = M −1 z and u = −L−1 KM −1 z + L−1 v. Note that M , K and L are characterized by the formulas F = M (A − BL−1 K)M −1 ,
G = M BL−1 .
Indeed, z˙ = M x˙ = M (Ax + Bu) = M (Ax + BL−1 (v − Kx)) = M (A − BL−1 K)M −1 z+M BL−1 v. The inverse formulas give: A = M −1 (F M +GK), B = M −1 GL. To simplify, in a first step, we study the single input case (m = 1). We will show that every single input controllable system is SLF-equivalent to a particularly simple system, called canonical. In this case, B is a vector noted b to avoid any confusion. The system thus reads x˙ = Ax + bu. We know that it is controllable if and only if the rank of C = .. .. .. n−1 b.Ab. . . . .A b is equal to n. Since this matrix has exactly n columns, they are necessarily independent, which means that b is a cyclic vector of A (see Gantmacher [1966]), i.e., the vectors {b, Ab, . . . , An−1 b} form a base of Rn , isomorphic to the canonical orthonormal base of Rn whose ith vector is made of n − 1 zeroes and of a single 1 in the ith position. This canonical basis is itself generated by the cyclic vector g of the matrix F given by
4.1 Linear System Controllability
0 0 g = ... , 0 1
91
01 0 0 F = ... 0 0 00
0 ... 1 .. .. . . 0 0 ...
0 0 . 1 0
(4.5)
Let us set z˙ = F z + gv and let us show that this latter system is SLFequivalent to the original system, in other words, that there exist matrices M and K and a scalar L such that if z = M x and v = Kx + Lu, then z satisfies z˙ = F z + gv, or z˙1 = z2 .. . (4.6) z˙n−1 = zn z˙n = v. We pose M1 = 1 0 . . . 0 M , the first line of the required matrix M , and choose it such that M1 b = 0, M1 Ab = 0, . . . , M1 An−2 b = 0, M1 An−1 b = 1 (4.7) i.e. M1 b Ab . . . An−1 b = M1 C = 0 0 . . . 1 . But, since C is invertible, M1 exists and is given by M1 = 0 0 . . . 1 C−1 . (4.8) Thus, (4.6) reads z1 = M1 x, z˙1 = M1 (Ax + bu) = M1 Ax = z2 , . . ., z˙n−1 = (n−1) (n) z1 = M1 An−2 (Ax+bu) = M1 An−1 x = zn and z1 = z˙n = M1 An−1 (Ax+ n n−1 n bu) = M1 A x + M1 A bu = M1 A x + u, which proves that M1 M1 A M = (4.9) .. . M1 An−1
(i)
and z˙i = z1 = zi+1 for i = 1, . . . , n − 1, and z˙n = M1 An x + u. Let us denote by v = M1 An x + u and K = M1 An , L = 1. We thus have constructed the desired matrices M , K and L that transform the system x˙ = Ax + bu into the so-called canonical system, z˙ = F z + gv, with F and g given by (4.5). Remark that this construction is effective: we first compute the matrix C, then M1 = 0 0 . . . 1 C−1 , and then each row of M , namely M1 Ai , obtained by right-multiplying the previous one by A, to finally get K = M1 An and L = 1.
92
4 Controlled Systems, Controllability
In the multi-input case (m > 1), the canonical form is constructed by blocks, each one having the same structure as F and g and the same dimension as the cyclic subspace generated by each column of B. Let us precise, before stating the next Theorem, how the dimension of each block is obtained. Let us denote by bi the ith column of B and let us rewrite the controllability matrix as follows: C = b1 . . . bm Ab1 . . . Abm . . . An−1 b1 . . . An−1 bm . We establish the list of all the independent columns of C starting from b1 and going forward to the right, by elimination of the columns that are linearly dependent of the previously selected ones on the left. Since rank (B) = m, the m first columns of C necessarily belong to this list. Once complete, the list gives rise to the matrix noted C, C = b1 Ab1 . . . An1 −1 b1 . . . bm Abm . . . Anm −1 bm having exactly n independent columns if the pair (A, B) is controllable. The integers n1 , . . . , nm so defined are thus such that 1 ≤ ni ≤ n for all i = 1, . . . , m and n1 + . . . + nm = n. They can be proven invariant by linear change of coordinates and (non degenerate) feedback. In other words, two SLF-equivalent systems have the same sequence of integers {n1 , . . . , nm }, up to permutation. These remarkable integers ni are called the controllability indices, or Brunovsk´y indices. Theorem 4.2. (Brunovsk´ y) Every linear controllable system with n states and m inputs, given by a pair (A, B), is SLF-equivalent to its canonical form F = diag{F1 , . . . , Fm }, G = diag{g1 , . . . , gm } where each pair Fi , gi is of the form (4.5), i = 1, . . . , m, with Fi of size ni × ni and gi of size ni × 1, the integers n1 , . . . , n Pmmbeing the controllability indices of (A, B), and satisfying 1 ≤ ni ≤ n and i=1 ni = n. The proof of this Theorem with the construction of the corresponding matrices M, L, K, comparable to the one of the single-input case (m = 1), may be found in Brunovsk´ y [1970], Kailath [1980], Sontag [1998], Wolovich [1974], Wonham [1974]. This result has very important consequences since, via canonical forms, it is particularly easy to design reference trajectories and feedbacks. We now sketch these design approaches in the single-input case for the sake of simplicity.
4.1 Linear System Controllability
93
4.1.3 Motion Planning Let us go back to the single input, n states, controllable system x˙ = Ax + bu. According to its SLF-equivalence to the system in canonical form z˙ = F z +gv with z = M x, v = Kx + Lu, if we want to find a trajectory starting from x(0) = x0 at time 0 with the initial control u(0) = u0 , and arriving at x(T ) = xT at time T with final control u(T ) = uT , we may express these conditions on z and v: z(0) = M x0 ,
v(0) = Kx0 + Lu0 ,
v(T ) = KxT + LuT , (4.10) and remark, from (4.5), that the first component of z, that we rename y for clarity’s sake, satisfies y (i) = zi+1 ,
z(T ) = M xT ,
i = 0, . . . , n − 1,
y (n) = v
i
with the notation y (i) = ddtyi . Thus, the conditions (4.10) may be interpreted as conditions on the successive derivatives of y, up to order n, at times 0 and T . Consequently, if we are given an n times differentiable scalar curve t ∈ [0, T ] 7→ yref (t) ∈ R, satisfying the initial and final conditions (4.10), all the other system variables may be deduced by differentiation, without integration of the system differential equations. In particular, the input v may be obtained as the nth order derivative of yref with respect to time and the original control uref is deduced by uref = −L−1 KM −1 zref + L−1 vref , with (n−1) zref = (yref , y˙ ref , . . . , yref ). Accordingly, the trajectory xref is obtained by xref = M −1 zref , the control uref so obtained, exactly satisfying x˙ ref = Axref + buref . It remains to find such a curve yref . Using interpolation theory, one can find a polynomial with respect to time, of degree at least equal to 2n + 1, at least n times differentiable by construction, such that the n + 1 initial conditions and the n + 1 final ones are satisfied: yref (t) =
2n+1 X i=0
ai
i t . T
The coefficients a0 , . . . , a2n+1 are computed by equating the successive derivatives of yref at times 0 and T to their corresponding initial and final values, obtained from the initial and final conditions (4.10): (k) yref (t)
i−k 2n+1 1 X t = k i(i − 1) · · · (i − k + 1)ai T T i=k
thus, at t = 0 :
94
4 Controlled Systems, Controllability
k! (k) Mk+1 x0 = yref (0) = k ak , k = 1, . . . , n − 1, T n! Kx0 + Lu0 = vref (0) = n an , T (4.11)
M1 x0 = yref (0) = a0 ,
and at t = T : M1 xT = yref (T ) =
2n+1 X
ai ,
i=0
Mk+1 xT =
(k) yref (T )
2n+1 i! 1 X ai , = k T (i − k)!
k = 1, . . . , n − 1,
i=k
KxT + LuT = vref (T ) =
2n+1 1 X i! ai T n i=n (i − n)!
which finally gives 2n + 2 linear equations in the 2n + 2 coefficients a0 , . . . , a2n+1 . In fact, one can reduce this system to n + 1 linear equations in the n + 1 unknown coefficients an+1 , . . . , a2n+1 only, since the n + 1 first equations (4.11) are solved in a0 , . . . , an : a0 = yref (0) ,
ak =
T k (k) y (0) , k = 1, . . . , n − 1, k! ref
an =
Tn vref (0). n!
Note that the linear system (??) always has a unique solution: 1 1 ... 1 n+1 n+2 2n + 1 an+1 (n + 1)n (n + 2)(n + 1) (2n + 1)2n .. . .. .. a2n+1 . . (n+2)! (2n+1)! (n + 1)! . . . (n+1)! 2 Pn yref (T ) − i=0 ai .. . k (k) Pn i! = T yref (T ) − i=k (i−k)! ai .. . T n vref (T ) − n!an
the matrix of the left-hand side having all its columns independent, which achieves the construction of the reference trajectory.
4.1 Linear System Controllability
95
4.1.4 Trajectory Tracking, Pole Placement We now show how the canonical form may be used for feedback design: we go back to the system in canonical form y (n) = v. We assume that the whole state x is measured at every time. If we want (n) to follow the reference trajectory yref , with yref = vref , that we just designed in the previous section, and if the system is submitted to unmodelled disturbances, the deviation between the measured trajectory and its reference is given by e = y − yref and satisfies the nth-order differential equation e(n) = v − vref . Note that this deviation, together with its n − 1 first derivatives, can be computed at every time from the measured state x. Our aim is to guarantee the convergence to 0 of e and its n − 1 successive derivatives. Pn−1 Let us set v −vref = − i=0 Ki e(i) , the gains Ki being arbitrarily chosen. The deviation dynamics becomes e(n) = −
n−1 X
Ki e(i)
i=0
or, in matrix form,
0 0 .. .
1 0
0 ... 1 .. .. . .
0 0
e e˙ e˙ .. .. . . = . 0 0 0 1 e(n) e(n−1) −K0 −K1 −K2 . . . −Kn−1
We easily check that the gains Ki are the coefficients of the characteristic polynomial of the above matrix, so that its eigenvalues1 may be placed arbitrarily in the complex plane, by a suitable choice of the gains. If the gains are chosen so that all the roots of the characteristic polynomial have negative real part, applying the results of the previous Chapter, the deviation dynamics is exponentially stable. We thus have proved, in the case m = 1, the following important result: Theorem 4.3. (pole placement)) If the system x˙ = Ax + Bu is controllable, the eigenvalues of the closed loop matrix A + BK may be arbitrarily placed in the complex plane by a suitable state feedback u = Kx. Proof. The generalization of the above construction to the multi-input case (m arbitrary) follows the same lines. Its proof is left to the reader. We now deduce the existence of a gain matrix K such that if v = Kz, the closed loop 1
often called the system poles in reference to the transfer function representation
96
4 Controlled Systems, Controllability
matrix F +GK has all its eigenvalues arbitrarily placed in the complex plane. Since v = Kz = Kx + Lu, we get, with z = M x, that u = L−1 (KM − K)x and thus that the closed loop system in the original coordinates is given by x˙ = (A + BL−1 (KM − K))x. Using again the fact that z = M x, we have M (A + BL−1 (KM − K))M −1 = F + GK and thus A + BL−1 (KM − K) and F + GK are similar. They thus have the same eigenvalues, which proves that given an arbitrary sequence of n eigenvalues, the gain L−1 (KM − K) is such that the closed loop matrix A + BL−1 (KM − K) admits exactly this sequence as eigenvalues. Corollary 4.1. A controllable linear system is stabilizable and, by a suitable choice of state feedback, its characteristic exponents may be arbitrarily placed.
4.2 Nonlinear System Controllability We now consider the nonlinear system x˙ = f (x, u)
(4.12)
where the state x lies in an open subset of Rn and the input u is mdimensional. Several notions of controllability may be defined in this context. The notions of local controllability around an equilibrium point (¯ x, u ¯), i.e. such that f (¯ x, u ¯) = 0, and of first-order controllability, though relatively restrictive, are directly inspired by the previous linear analysis.
4.2.1 First Order and Local Controllability The tangent linear system around the equilibrium point (¯ x, u ¯) is given by x˙ = Ax + Bu ,
A=
∂f (¯ x, u ¯) , ∂x
B=
∂f (¯ x, u ¯). ∂u
(4.13)
Definition 4.3. We say that the system (4.12) is first-order controllable at the equilibrium point (¯ x, u ¯) if the rank of C, defined by (4.3) for the tangent linear system (4.13), is equal to n. The local controllability definition is the following: Definition 4.4. The system (4.12) is locally controllable at the equilibrium point (¯ x, u ¯) if for all real ε > 0 there exists a real η > 0 such that for every pair of points (x0 , x1 ) ∈ Rn × Rn close enough to the equilibrium point, namely satisfying kx0 − x ¯k < η and kx1 − x ¯k < η, there exists a piecewise continuous
4.2 Nonlinear System Controllability
97
control u ˜ on [0, ε] such that k˜ u(t)k < ε ∀t ∈ [0, ε] and Xε (x0 , u ˜) = x1 , where we have denoted by Xε (x0 , u ˜) the integral curve of (4.12) at time ε, generated by u ˜ from x0 at time 0. Otherwise stated, the system is locally controllable at the equilibrium point (¯ x, u ¯) if we can join two arbitrary points in a small neighborhood of the equilibrium, in sufficiently small duration and with a sufficiently small control. One can prove the following: Theorem 4.4. If system (4.12) is first-order controllable at the equilibrium point (¯ x, u ¯), it is locally controllable at (¯ x, u ¯). Remark 4.1. A nonlinear system (4.12) can be locally controllable without being first-order controllable. The scalar system: x˙ = u3 is locally controllable. To join x0 and x1 in duration T = ε, x0 and x1 arbitrarily chosen close to 0, one can, using the motion planning approach of section 4.1.2, construct a differentiable enough function of time x(t), joining the two points at the respective times 0 and ε and arriving at zero 13 2 ˙ speed: x(t) = x0 + (x1 − x0 ) εt = 3 − 2 εt , and deduce u(t) = x(t) t 13 x1 −x0 t 6 1− ε . One easily checks that if |x0 | < η and |x1 | < η ε ε ε4 with η < 3 then |u(t)| < ε, which proves the local controllability. On the contrary, at the equilibrium point (0, 0), the tangent linear system is x˙ = 0, and is indeed not first-order controllable.
4.2.2 Local Controllability and Lie Brackets We now assume, for simplicity’s sake, that the vector field f of (4.12) is affine in the control, i.e. m X x˙ = f0 (x) + ui fi (x) (4.14) i=1
with f0 (0) = 0, so that (¯ x, u ¯) = (0, 0) is an equilibrium point. From the vector fields f0 , . . . , fm , we construct the following sequence of distributions: D0 = span {f1 , . . . , fm } , Di+1 = [f0 , Di ] + Di ,
i≥1
(4.15)
where Di is the involutive closure of the distribution Di . In the sequel, we assume that there exists an open subset of X = Rn where all the considered distributions have constant rank. Proposition 4.1. The sequence of distributions Di is non decreasing, i.e. Di ⊂ Di+1 for all i, and there exists an integer k ∗ and an involutive distribution D∗ such that Dk∗ = Dk∗ +r = D∗ for all r ≥ 0. Moreover, D∗ enjoys the two following properties:
98
4 Controlled Systems, Controllability
(i) span {f1 , . . . , fm } ⊂ D∗ (ii) [f0 , D∗ ] ⊂ D∗ . Proof. The non decrease of the sequence {Di } is obvious. Since moreover, Di ⊂ TX for all i, this sequence admits a largest element D∗ , which is involutive by construction. In addition, dim Tx X = n and, in a suitably chosen open U where all the Di ’s have constant rank, if the vector space Di (x) is not equal to Di+1 (x), we have dim Di+1 (x) ≥ dim Di (x) + 1 in U . We immediately deduce that there exists an integer k ∗ ≤ n such that Dk∗ +1 = Dk∗ = D∗ . The property (i) follows immediately from D0 ⊂ D∗ . Concerning (ii), we have Dk∗ +1 = [f0 , Dk∗ ] + Dk∗ , thus D∗ = [f0 , D∗ ] + D∗ , which proves (ii) and the Proposition is proven. Property (ii) is called the invariance of D∗ by f0 and D∗ is called the strong accessibility distribution. We thus have the following characterization of D∗ : Proposition 4.2. Let D be an involutive distribution with constant rank equal to k in an open U satisfying (i) and (ii). Then, there exists a diffeomorphism ϕ such that, if we note ξi = ϕi (x) for i = 1, . . . , k and ζj = ϕk+j (x) for j = 1, . . . , n − k, the vector field ϕ∗ f0 admits the following decomposition: ϕ∗ f0 (ξ) =
k X
n−k
γi (ξ, ζ)
i=1
X ∂ ∂ + γk+i (ζ) ∂ξi ∂ζ i i=1
(4.16)
where the γi ’s are C ∞ functions in all their variables. Proof. SInce D is involutive with constant rank equal to k in U , By Frobenius’ Theorem, there exists a diffeomorphism ϕ such that D is transformed into ∂ ∂ ϕ∗ D = span ,..., . ∂ξ1 ∂ξk In these coordinates, ϕ∗ f0 reads ϕ∗ f0 (ξ, ζ) =
k X i=1
n−k
γi (ξ, ζ)
X ∂ ∂ + γk+i (ξ, ζ) ∂ξi ∂ζ i i=1
(4.17)
where the functions γi , i = 1, . . . , n are C ∞ with respect to (ξ, ζ). Since [f0 , D] ⊂ D, the bracket [ϕ∗ f0 , ∂ξ∂ i ] must be a linear combination of the ∂ξ∂ j for j = 1, . . . , k, thus X k ∂ ∂ = αi,j (ξ, ζ) ϕ∗ f0 , ∂ξi ∂ξ j j=1
(4.18)
using (4.17) with, as a consequence of the straightening out, [ ∂ξ∂ i , ∂ξ∂ j ] = 0 for all i, j and [ ∂ξ∂ i , ∂ζ∂ j ] = 0 for all i, j, we have
4.2 Nonlinear System Controllability
99
∂ ϕ∗ f0 , = ∂ξi n−k X k k n−k X X X ∂γk+j ∂ ∂ ∂ ∂ ∂ ∂γj ∂ + − γj γk+j , , − ∂ξj ∂ξi ∂ζj ∂ξi ∂ξi ∂ξj ∂ξi ∂ζj j=1 j=1 j=1 j=1 =−
n−k k X ∂γk+j ∂ X ∂γj ∂ − . ∂ξi ∂ξj ∂ξi ∂ζj j=1 j=1
Comparing the latter formula to (4.18), the part of the vector field made of the linear combination of the ∂ζ∂ j must vanish: ∂γk+j = 0 , ∀j = 1, . . . , n − k , ∀i = 1, . . . , k ∂ξi which proves that γk+j doesn’t depend on ξ1 , . . . , ξk , which proves (4.16), for j = 1, . . . , n − k. We immediately deduce the following necessary condition for local controllability: Theorem 4.5. A necessary condition for the system (4.14) with f0 (0) = 0, to be locally controllable around the origin is that the strong accessibility distribution D∗ constructed by the induction (4.15), satisfies rank (D∗ (x)) = n ,
∀x ∈ U
where U is a neighborhood of the origin. Proof. Assume that rank (D∗ (x)) = k < n, for all x ∈ U . According to Proposition 4.2, there exists a local diffeomorphism ϕ such that, if we note (ξ, ζ) = ϕ(x), as in Proposition 4.2, with dim ξ = k and dim ζ = n−k, the vecPk tor field f0 reads as in (4.16), and, since fi ∈ D∗ , ϕ∗ fi = j=1 ηi,j (ξ, ζ) ∂ξ∂ j , Pm i = 1, . . . , m. Thus, the vector field ϕ∗ (f0 + i=1 ui fi ) reads ϕ∗
f0 +
m X i=1
! ui fi
=
k X
γj +
j=1
m X
! ui ηi,j
i=1
n−k
X ∂ ∂ + γk+j ∂ξj ∂ζj j=1
and consequently, the system (4.14), in the local coordinates (ξ, ζ) becomes: ξ˙i = γi (ξ, ζ) +
m X
uj ηi,j (ξ, ζ),
i = 1, . . . k,
j=1
ζ˙i = γk+i (ζ),
i = 1, . . . n − k.
It is thus clear that ζ’s dynamics, independent of ξ and u, cannot be modified by u, so that from any initial point (ξ0 , ζ0 ), every reachable final point is
100
4 Controlled Systems, Controllability
necessarily of the form ζT = ZT (ζ0 ), where ZT (ζ0 ) is the point of the integral curve of ζ˙ = γˆ (ζ) at t = T , and with γˆ the vector whose components are γk+1 , . . . , γn . Thus, any final point outside the closed subset ζT = ZT (ζ0 ) is therefore not reachable, which contradicts the local controllability. We denote by Lie {f0 , . . . , fm } the Lie algebra generated by the linear combinations of f0 , . . . , fm and all their Lie brackets, often called the weak accessibility distribution and Lie {f0 , . . . , fm } (x) the vector space generated by the vectors of Lie {f0 , . . . , fm } at the point x. By construction, D∗ ⊂ Lie {f0 , . . . , fm } but the equality doesn’t hold true in general. In the analytic case, we have the following variant of Theorem 4.5. Theorem 4.6. Assume that the m + 1 vector fields f0 , . . . , fm are analytic. If the system (4.14) is locally controllable at x = 0, u = 0, then Lie {f0 , . . . , fm } (x) = Tx Rn ,
∀x ∈ X.
Proof. Since (4.14) is locally controllable at x = 0, u = 0, we have rank (D∗ (0)) = n and, according to the analyticity of the vector fields f0 , . . . , fm this rank remains constant on X which is diffeomorphic to an open subset of Rn . Thus D∗ (x) may be identified with Tx Rn and, necessarily, f0 (x) ∈ D∗ (x) for all x. We conclude that Lie {f0 , . . . , fm } (x) = D∗ (x) for all x. Before studying the converse of this Theorem, which is more complicated, let us give the following simple example: Example 4.3. The 2-dimensional , single input system given by x˙ 1 = x22 ,
x˙ 2 = u
admits every point of R2 such that x2 = 0 as equilibrium point for u = 0. In a neighborhood of such a point X0 = (x01 , 0), the system is affine in the control ∂ ∂ and f1 (x1 , x2 ) = ∂x . Remark that, at X0 , we have with f0 (x1 , x2 ) = x22 ∂x 1 2 f0 = n0. Let = o us compute the algorithm (4.15). We have D0 =n span {f1 } o ∂ ∂ ∂ span ∂x and D = , x D ; D = span {f , [f , f ]} = span 0 2 ∂x1 , 0 1 1 0 1 ∂x2 2 which has rank 2, is involutive as far as x2 6= 0, but is singular at X0 : ∂ D1 (X0 ) = D0 , of rank 1. On the contrary, [f1 , [f0 , f1 ]] = 2 ∂x ∈ D1 (X0 ) 6= 1 n o ∂ ∂ ∗ D1 (X0 ), and D = D1 (X0 ) = span ∂x2 , ∂x1 which is nothing else than the tangent space of R2 . The rank condition is thus satisfied. However, since x˙ 1 = x22 ≥ 0, every trajectory is such that x1 (t) is non decreasing, and, from X0 , it is impossible to join a point X1 = (˜ x1 , x2 ) such that x ˜ 1 < x1 whatever the duration T is. The system is therefore not locally controllable at X0 . However, The set of points in an arbitrary neighborhood of X0 that can
4.2 Nonlinear System Controllability
101
be reached from X0 by an integral curve of the system using any piecewise continuous input and an arbitrary duration T has non empty interior (i.e. contains an open of R2 ). The condition rank (D∗ ) (X0 ) = 2 thus implies a weaker property than the local controllability. We call this latter property local reachability.
4.2.3 Reachability Definition 4.5. The reachable set at time T , noted RT (x0 ), is the set of points x ∈ X (X is an n-dimensional manifold) such that XT (x0 , u) = x with u piecewise continuous on [0, T ], where Xt (x0 , u) is the integral curve of (4.14) at time t generated from x0 at time 0 with the input u. We say that (4.14) is locally reachable if for every neighborhood V of x0 in X, RT (x0 ) ∩ V has non empty interior. We admit the following: Theorem 4.7. If for every neighborhood V of x0 ∈ X, rank (D∗ (x)) = n for all x ∈ V , then the system (4.14) is locally reachable. If furthermore f0 ≡ 0, then (4.14) is locally controllable. There are more general results, that apply in particular when f0 6= 0, but whose complexity goes far beyond the scope of this course. The interested reader may refer to Sussmann [1987]. Let us also precise that the results of this section, where we have restricted to systems affine in the control, of the form (4.14), can easily be extended to the more general class of systems of the form (4.12) using the following extension trick: Setting u˙ i = vi , i = 1, . . . , m, the extended system reads x˙ = f (x, u) u˙ 1 = v1 .. .
(4.19)
u˙ m = vm Pm and has the required form X˙ = F0 (X) + i=1 vi Fi (X) with X = (x, u), ∂ ∂ , Fi (X) = ∂u , i = 1, . . . , m. Note that, since the manifold F0 (X) = f (x, u) ∂x i of definition is now X × U where U is an open set of Rm , the dimension n of the rank condition must be replaced by n + m. Proposition 4.3. If the extended system (4.19) is locally reachable or locally controllable, the same holds true for the original system.
102
4 Controlled Systems, Controllability
Proof. If the reachable set of the extended system at time T has non empty interior in X × U , its projection on X, which is precisely the reachable set of the original system at time T , has also non empty interior. Accordingly, if the extended system is locally controllable, there exists a trajectory joining two arbitrary points (x1 , u1 ) and (x2 , u2 ) of a suitably chosen neighborhood, with an input u˙ piecewise continuous and with small enough norm. Integrating this trajectory, one obtains the input u, continuous, that generates a trajectory of the original system joining x1 and x2 , which achieves the proof.
ϕ θ y O
l Q P x
Fig. 4.1 Vehicle rolling without slipping on the plane.
Example 4.4. We consider a vehicle with 4 wheels rolling without slipping on the horizontal plane (O, X, Y ). We denote by (x, y) the coordinates of the point P , middle of the rear axle, Q the middle point of the front axle, −−→ kP Qk = l, θ the angle between the longitudinal axis of the vehicle and the Ox axis, and ϕ the angle of the front wheels (see Figure 4.1). The rolling without slipping condition, that geometrically corresponds to a specific kind of constraint called non holonomic constraint (see e.g. Neˇımark and Fufaev [1972]), which justifies the name of non holonomic vehicle given to this car −−→ −−→ −−→ dOP dOQ idealization, reads: is parallel to P Q and is parallel to the front dt dt
−−→ −−→
dOP P Q
wheels. Let us denote by u =
· −−→
the modulus of the car’s speed.
dt
P Q An elementary kinematic calculation yields:
4.2 Nonlinear System Controllability
103
x˙ = u cos θ y˙ = u sin θ u θ˙ = tan ϕ. l
(4.20)
The two control variables are u and ϕ. However, since ϕ doesn’t appear linearly in (4.20), and in order to apply the previous controllability results, we use the extension trick of (4.19) by setting ϕ˙ = v. The complete model now reads x˙ = u cos θ y˙ = u sin θ u (4.21) θ˙ = tan ϕ l ϕ˙ = v. Therefore, denoting by X = (x, y, θ, ϕ)T the state of this model, (4.21) has ∂ ∂ ∂ + sin θ ∂y + 1l tan ϕ ∂θ and the form X˙ = f (X)u + g(X)v with f (X) = cos θ ∂x ∂ g(X) = ∂ϕ . Let us first compute the tangent linear approximation at an equilibrium point. Equilibrium points are characterized by u cos θ = u sin θ = ul tan ϕ = v = 0, or u = v = 0. Therefore any state X = (x, y, θ, ϕ)T is an equilibrium point. The corresponding variational equation is (recall that u = v = 0), with the usual notation of δX =: X − X ˙ = cos θδu δx ˙ = sin θδu δy ˙ = 1 tan ϕδu δθ l ˙ = δv. δϕ
(4.22)
cos θ 0 ˙ = 0δX + BδU with B = 1 sin θ 0 and δU = (δu, δv)T . or δX tan ϕ 0 l 0 1 It is readily seen that the Kalman controllability matrix is equal to (B 02×4 ) and has rank 2. Thus, the system isn’t first-order controllable. To check the local controllability, we compute the sequence of distributions Di , i ≥ 0, defined by (4.15). Note that, since f0 = 0, this sequence reduces to Di = D0 for all i ≥ 0. The distribution D0 = span {f, g} is clearly non involutive since 1 ∂ 2 [f, g] = 6∈ D0 , and again [f, [f, g]] = 1l (1 + ∂θ − l (1 + tan ϕ)
∂ ∂ tan2 ϕ) − sin θ ∂x + cos θ ∂y
6∈ D0 . The vector fields f, g, [f, g] and [f, [f, g]]
are linearly independent at every point X and therefore generate the involutive closure of D0 , which is thus of dimension 4 at every point X. Finally, the local controllability of (4.20) results from Theorem 4.7 and Proposition 4.3.
104
4 Controlled Systems, Controllability
The interpretation is clear: when the car is stopped, no matter how we turn the wheels, the car’s position doesn’t change. For arbitrary small speed and wheel turn angular speed, the first-order approximations of the car’s motion remain in the 2-dimensional subspace spanned by B and the system is not first-order controllable. But if we consider higher-order approximations, the car can move in every direction.
4.2.4 Lie Brackets and Kalman’s Criterion for Linear Systems To conclude this section, we show that, for linear systems, the two notions of first order controllability and local controllability coincide and are boil down to Kalman’s criterion. We consider the linear system (4.1) that is rewritten in the form x˙ = Ax +
m X
ui bi
i=1
with the notations of (4.14). Clearly, since the system is linear, it is equal to its tangent linear system and thus Kalman’s criterion applied to the system itself or to its tangent linear one indeed give the same result. Pn Pn ∂ We now evaluate the rank of D∗ . We set Ax = i=1 j=1 Ai,j xj ∂xi Pn ∂ and bi = j=1 bi,j ∂x , i = 1, . . . , m. We have f0 (x) = Ax and fi (x) = bi , j i = 1, . . . , m. Let us compute the algorithm (4.15). We have D0 = span {b1 , . . . , bm } and since the vector fields bi are constant, [bi , bj ] = 0 for all i, j, which proves that D0 = D0 . P Pn Pn n ∂ ∂ Further, we have [Ax, bi ] = − j=1 bi,j ∂x A x = k=1 l=1 k,l l ∂xk j Pn Pn ∂ ∂ − j,k=1 bi,j Ak,j ∂xk , or [Ax, bi ] = − j=1 (Abi )j ∂xj = Abi . Thus D1 = [Ax, D0 ] + D0 = span {b1 , . . . , bm , Ab1 , . . . , Abm } . As previously, D1 is involutive since it is only made of constant vector fields. The same iterated computation leads to Dk = span b1 , . . . , bm , Ab1 , . . . , Abm , . . . , Ak b1 , . . . , Ak bm for all k ≥ 1. According to Proposition 4.1, there exists an integer k ∗ < n such that
4.2 Nonlinear System Controllability
105 ∗
Dk = D∗ ∗ and the controllability implies that rank(D (x)) = n for all x ∈ U , i.e., again .. .. with matrix notations, B = b . . . . .b : 1
m
∗ rank B, AB, . . . , Ak B = n with k ∗ < n, which immediately implies Kalman’s criterion.
Chapter 5
Jets of Infinite Order, Lie-B¨ acklund’s Equivalence
5.1 An Introductory Example of Crane
Z O
C F
M
ξ
}low-level controllers X
T x R θ
T ζ
•
mg Fig. 5.1 A 2-dimensional overhead crane.
A cart of mass M rolls along the axis OX of the overhead crane. Its position is denoted by x. It is actuated by a motor that produces a horizontal force of intensity F . Moreover, the cart carries a winch of radius ρ around which is winding a cable hoisting the load attached at its end. The position of the load in the fixed frame XOZ is denoted by (ξ, ζ) and its mass is m. The torque exerted on the winch by a second motor is denoted by C. The cable length, its tension and the angle of the cable with respect to the vertical are denoted by R, T and θ respectively. The working space is limited to R < R0 to avoid that the load touches the ground, and we assume that the tension T of the cable is always positive. We use the angular sign convention for θ : θ ≤ 0 if ξ ≤ x and θ > 0 otherwise. J. Lévine, Analysis and Control of Nonlinear Systems, Mathematical Engineering, DOI 10.1007/978-3-642-00839-9_5, © Springer-Verlag Berlin Heidelberg 2009
107
108
5 Jets of Infinite Order, Lie-B¨ acklund’s Equivalence
We also assume that a viscous friction force, noted γ1 (x), ˙ including the aerodynamic friction of the cable, is opposing to the cart’s displacement and ˙ resists to the winch motion. that another viscous friction torque, noted γ2 (R), The functions γ1 and γ2 are non negative and such that γi (0) = 0, i = 1, 2. A second principle model may be easily obtained by considering the two bodies, cart and load, and assuming that the cable is rigid: mξ¨ = −T sin θ mζ¨ = T cos θ − mg Mx ¨ = −γ1 (x) ˙ + F + T sin θ J ¨ ˙ − C + Tρ R = −γ2 (R) ρ
(5.1)
the geometric constraints between the cart and load coordinates being given by: ξ = x + R sin θ (5.2) ζ = −R cos θ. Note that this model is not given in explicit form. It contains variables (T and θ) whose time derivatives don’t explicitly appear, and both algebraic and differential equations relating ξ and ζ to x, R, T and θ. Some of the unknowns may thus be eliminated, though this operation is not needed in the sequel. In fact, an explicit 6-dimensional representation of the system may be ˙ as state variables: ˙ θ, θ) obtained by considering (x, x, ˙ R, R, M 2 sin θ 0 x ¨ ( m + sin θ) ¨ J R sin θ ( + 1) 0 ¨ mρ2 θ cos θ R 0 F 1 ˙ + (Rθ˙2 + g cos θ) sin θ − γ1 (x) m m C = Rθ˙2 + g cos θ − 1 γ (R) ˙ − 2 mρ mρ −2R˙ θ˙ − g sin θ after inversion of the left-hand side matrix. This representation is obtained as follows. We first twice differentiate the equations (5.2): ¨ sin θ + 2R˙ θ˙ cos θ + Rθ¨ cos θ − Rθ˙2 sin θ ξ¨ = x ¨+R ¨ ¨ ζ = −R cos θ + 2R˙ θ˙ sin θ + Rθ¨ sin θ + Rθ˙2 cos θ.
(5.3)
Then, we combine the 2 first equations of (5.1), first, by multiplying the first one by cos θ, the second one by sin θ and adding them, and second, by multiplying the first one by sin θ, the second one by cos θ and subtracting
5.2 Description of the System Trajectories
109
them. We get: ξ¨ cos θ + (ζ¨ + g) sin θ = 0 mξ¨ sin θ − m(ζ¨ + g) cos θ = −T.
(5.4)
It suffices then to eliminate T , ξ and ζ by replacing, in the two last equations of (5.1), T by its expression in (5.4) and ξ¨ and ζ¨ by their expressions obtained in (5.3), and the first equation of (5.4).
5.2 Description of the System Trajectories We have seen in 4.1.2, that for every n-dimensional linear controllable system, (ni ) one can find a change = vi , Pm of coordinates such that the system reads zi i = 1, . . . , m, with i=1 ni = n. It is easily seen that the linear system state vector x may be represented as (n1 −1)
x = Φ(z1 , . . . , z1
(nm −1) , . . . , zm , . . . , zm )
where Φ is a linear invertible mapping. Accordingly, the control vector u may be represented as (n1 )
u = Ψ (z1 , . . . , z1 (n )
(nm ) , . . . , zm , . . . , zm ) (n )
where the partial mapping (z1 1 , . . . , zm m ) 7→ (u1 , . . . , um ) is linear invert(n −1) (n −1) ible for all (z1 , . . . , z1 1 , . . . , zm , . . . , zm m ). We now show that this property may be generalized to the context of nonlinear systems (unfortunately not all!), if the condition that Φ is a diffeomorphism of an n-dimensional manifold is weakened. We will only require that Φ is onto from some Rn+q to Rn , with q ≥ 0, and invertible in a sense that will be made precise later. Let us show on the crane example how this transformation naturally appears in the description of the system trajectories. A most common problem for a crane operator consists in bringing a load from one point to another, with the cable in vertical position at rest at the start and at the end. Remark that the verticality of the cable can be naturally read on the variables ξ and ζ: denoting by xi , Ri and xf , Rf the cart position and the cable length at initial and final times ti and tf respectively, we must have, at time ti , ˙ i ) = 0 , ζ(t ˙ i ) = 0 , ξ(t ¨ i ) = 0 , ζ(t ¨ i) = 0 ξ(ti ) = xi , ζ(ti ) = Ri , ξ(t and, at time tf , ˙ f ) = 0 , ζ(t ˙ f ) = 0 , ξ(t ¨ f ) = 0 , ζ(t ¨ f ) = 0. ξ(tf ) = xf , ζ(tf ) = Rf , ξ(t
110
5 Jets of Infinite Order, Lie-B¨ acklund’s Equivalence
We indeed immediately check that these conditions imply, for t˜ = ti , tf , that ¨ t˜) = 0, F (t˜) = 0 and C(t˜) = −mgρ, which θ(t˜) = 0, T (t˜) = mg, x ¨(t˜) = 0, R( implies that the system is at rest at ti and tf . A natural question concerns the possibility to describe all the crane trajectories, corresponding to the system (5.1)-(5.2), through the variables ξ and ζ, for all times between ti and tf . Let us show that the answer is positive. For this purpose, we eliminate T from the two first equations of (5.1): tan θ = −
ξ¨ ζ¨ + g
(5.5)
and use (5.2): tan θ = −
ξ−x , ζ
(ξ − x)2 + ζ 2 = R2 .
(5.6)
Finally, eliminating tan θ from (5.5) and (5.6), we get the differential-algebraic system: ¨ (ζ¨ + g)(ξ − x) = ξζ (5.7) 2 2 (ξ − x) + ζ = R2 that yields ¨ ξζ , x=ξ− ζ¨ + g θ = arctan
ξ¨ ¨ ζ +g
2
2
R =ζ + ! 2
,T =m
2
¨ ξζ ζ¨ + g
!2 , (5.8)
ξ¨2 + (ζ¨ + g)2 .
Then, using the two last equations of (5.1), we get F = Mx ¨ + γ1 (x) ˙ − T sin θ d2 = (M + m)ξ¨ − M 2 dt
¨ ξζ ζ¨ + g
! + γ1
d ξ˙ − dt
¨ ξζ ζ¨ + g
!!
(5.9)
and, accordingly, J ¨ ˙ + Tρ C=− R − γ2 (R) ρ v v !2 u u 2 u ¨ J d t 2 ξζ du − γ2 tζ 2 + =− ζ + ¨ ρ dt2 dt ζ +g q + mρ ξ¨2 + (ζ¨ + g)2
¨ ξζ ζ¨ + g
!2
(5.10)
5.2 Description of the System Trajectories
111
which proves that all the system variables x, R, θ, ξ, ζ, T, F, C, including the inputs, may be expressed as functions of ξ and ζ (the load coordinates) and their time derivatives up to the order 4. Setting ξ (4) = v1 (5.11) ζ (4) = v2 we obtain a form similar to the linear canonical forms studied in section 4.1.2. ˙ . . . , ξ (4) , ζ, ζ, ˙ . . . , ζ (4) ) as Moreover, if we consider the set of variables (ξ, ξ, a parameterization of the pair of time functions t 7→ (ξ(t), ζ(t)), the map˙ . . . , ξ (3) , v1 , ζ, ζ, ˙ . . . , ζ (3) , v2 ) there corresponds ping Φ for which to every (ξ, ξ, ˙ ˙ ˙ ξ, ξ, ζ, ζ, T, θ, F, C) given by the previous formulas, is invertible in (x, x, ˙ R, R, the sense that it maps trajectories to trajectories in a one to one way: we have just shown that to every trajectory t 7→ (ξ(t), ζ(t)) there corresponds in a locally unique way a trajectory t 7→ (x(t), R(t), θ(t), T (t), F (t), C(t)). Conversely, to every trajectory t 7→ (x(t), R(t), θ(t), T (t), F (t), C(t)) there corresponds a locally unique trajectory t 7→ (ξ(t), ζ(t)) by ξ(t) = x(t)+R(t) sin θ(t) and ζ(t) = −R(t) cos θ(t) (see 5.2). In addition, these formulas are compatible ˙ =0 with the operator of differentiation with respect to time: noting F (X, X) ˙ ˙ ˙ the set of equations (5.1)-(5.2) with X = (x, x, ˙ R, R, ξ, ξ, ζ, ζ, θ, T, F, C), we d if say that Φ is compatible with dt ˙ =0 F (Φ, Φ) identically. Remark, moreover, that the trajectories t 7→ (ξ(t), ζ(t)) may be arbitrarily chosen in the set of 4 times differentiable functions since the variables ˙ . . . , ξ (4) , ζ, ζ, ˙ . . . , ζ (4) ) are not required to satisfy any other differential (ξ, ξ, d (j) d (j) equation than dt ξ = ξ (j+1) and dt ζ = ζ (j+1) . Let us briefly sketch the interest to deal with such transformations: first, we have transformed a complicated system, namely (5.1)-(5.2), in the much simpler one (5.11). In addition, we have shown that the trajectories of (5.1)(5.2) are parameterized by the coordinates (ξ, ζ) of the load. Therefore, the computation of a trajectory of the load that goes from one point at rest to another one at rest becomes an elementary exercise, analogously to what we have presented in the linear case in section 4.1.3. There remains thus to deduce, using the previous formulas, the cart position, the length of the cable and its angle with respect to the vertical, as well as the force F and torque C that generate this trajectory. Note that we nowhere need to integrate the system differential equations (5.1)-(5.2). We will see later on that these properties are shared by a class of systems called differentially flat systems, or shortly flat systems. The variables ξ and ζ, in this formalism, constitute the two components of a flat output.
112
5 Jets of Infinite Order, Lie-B¨ acklund’s Equivalence
Fig. 5.2 Stroboscopic view of the displacement of the set cart-cable-load for a rest-to-rest trajectory of the load, with obstacle avoidance: in the first half of the trajectory, the cart pulls the load, then the latter overtakes the cart which then slows down the load to stop at rest at the required position.
A graphical example of a rest-to-rest displacement of the load along a parabola for obstacle avoidance is presented in Fig. 5.2, where the positions of the set cart-cable-load are decomposed along the trajectory. For other results on various types of cranes, the reader may refer e.g. to Fliess et al. [1991, 1993], L´evine et al. [1997], Kiss [2001], Kiss et al. [1999, 2000c,b], L´evine [1999]. To conclude, we have exhibited an invertible mapping in the sense that it maps trajectories in a one-to-one way, though it doesn’t preserve the state dimension: system (5.1)-(5.2) lives in a 6-dimensional manifold, whereas system (5.11) lives in an 8-dimensional space. Such a mapping is not a diffeomorphism between these manifolds since, by the constant rank theorem (theorem 2.3) it would imply that their dimensions are equal, which is not the case. This apparent paradox may be eluded by replacing the considered finite dimensional coordinate systems by infinite dimensional exten˙ . . . , ξ (4) , ζ, ζ, ˙ . . . , ζ (4) ) sions: in place of the mapping Φ from (ξ, ξ, ˙ ζ, ζ, ˙ T, θ, F, C), we need to consider its ex˙ ξ, ξ, to (x, x, ˙ R, R, ˜ from the countably infinite sequence of coordinates tension Φ ˙ ζ, ˙ ξ, ¨ ζ, ¨ . . .) to the other countably infinite sequence of coordi(ξ, ζ, ξ, ˙ ζ, ζ, ˙ T, θ, F, C, F˙ , C, ˙ ξ, ξ, ˙ F¨ , C, ¨ . . .). In this context, Φ ˜ is nates (x, x, ˙ R, R, called a Lie-B¨ acklund isomorphism. Note that Φ˜ now maps spaces having the same (infinite) dimension so that the previous paradox is no more present.
5.3 Jets of Infinite Order, Change of coordinates, Equivalence
113
5.3 Jets of Infinite Order, Change of coordinates, Equivalence The present approach is mostly inspired by Martin [1992], Fliess et al. [1999] and, to a lesser extent, by L´evine [2006]. The reader may find detailed presentations of the geometry of jets of infinite order in Krasil’shchik et al. [1986], Zharinov [1992] (see also Anderson and Ibragimov [1979], Ibragimov [1985]). This relatively recent theory has been elaborated to study several mathematical and physical problems such as invariance groups, symmetries, conservation laws, or various questions of partial differential equations. We will only use this theory in the particular case of ordinary differential equations, where only one differential operator (with respect to time) is considered. In other respects, the notion of system equivalence based on changes of coordinates in the space of jets of infinite order, goes back to Hilbert [1912] and then to Cartan [1914]. Some variants of the present approach may be found in Fliess et al. [1995], Jakubczyk [1993], Pomet [1993, 1997], Pomet et al. [1992], Shadwick [1990], Sluis [1993], van Nieuwstadt et al. [1994]. In the previous section, we have shown that some transformations, which are not diffeomorphisms but nevertheless invertible, and take into account not only the coordinates of the original manifold but also a finite number of their successive derivatives with respect to time, this number being unknown a priori, are useful to describe the trajectories of the crane system. These transformations have some important properties: • every component of the transformation only depends on a finite, but otherwise not known in advance, number of successive time derivatives of the coordinates, • the transformations preserve differentiation with respect to time, • they are “invertible”, in the sense that one can go back to the original coordinates by transformations of the same type. Transformations satisfying these three properties are called Lie-B¨ acklund isomorphisms. They will be useful to define a general equivalence relation between systems, analogously to what we have suggested, in the crane’s context, to transform the crane model (5.1)-(5.2) into (5.11). This approach is presented as well for nonlinear implicit systems of the form F (x, x) ˙ =0 (5.12) where x belongs to a manifold X of dimension n and F is a C ∞ mapping from TX to Rn−m , whose Jacobian matrix ∂F ∂ x˙ has an everywhere constant rank equal to n − m in a suitable open dense subset of TX, as for explicit systems of the form x˙ = f (x, u) (5.13)
114
5 Jets of Infinite Order, Lie-B¨ acklund’s Equivalence
still with x in a manifold X of dimension n, u in an open subset U of Rm , ∂f and with rank ∂u constant equal to m.
5.3.1 Jets of Infinite Order, Global Coordinates An apparent paradox has been raised in the crane example: we have exhibited an invertible differentiable mapping whose inverse was also differentiable, which was not a diffeomorphism since it doesn’t preserve the dimension of the original manifold. The reason is that we are dealing with a mapping from an infinite dimensional manifold whose coordinates are not only made of the original variables but also of all their jets of arbitrary order, to a comparable manifold. To make this point clear, we introduce global coordinates made of countably many components, noted as if they were successive time derivatives for reasons that will be given later, of the form (k) x = x1 , . . . , xn , x˙ 1 , . . . , x˙ n , . . . , x1 , . . . , x(k) , . . . . (5.14) n Remark that it is quite common in physics to use generalized coordinates, position-impulse or position-velocity, which are sufficient to describe the dynamics of a system. On the contrary, we don’t restrict here to first order derivatives. In the explicit case, where the input u is specified, we can introduce the global coordinates (k) (x, u) = x1 , . . . , xn , u1 , . . . , um , u˙ 1 , . . . , u˙ m , . . . , u1 , . . . , u(k) , . . . . (5.15) m Before defining a control system in these coordinates, we must introduce a topology and a differential structure on the corresponding spaces, and then introduce vector fields and flows on these spaces in order to justify the notations (5.14) and (5.15).
5.3.2 Product Manifolds, Product Topology We consider the set of jets of infinite order X × Rn∞ , product of the manifold X and of countably infinitely many copies of Rn : X × Rn∞ = X × Rn × Rn × · · · whose coordinates are made of a sequence of coordinates of every term of this product (which formally correspond to (5.14)). This set, endowed with the countably infinite product topology, namely the topology generated by open
5.3 Jets of Infinite Order, Change of coordinates, Equivalence
115
sets of the form O × Rn∞ where O is an arbitrary open set of X × (Rn )N for some N , is a manifold. Recall that, in this topology, open sets of X×Rn∞ are generated by products made of infinitely many copies of Rn and a finite number of non trivial open sets. A continuous function from X ×Rn∞ to R is a function whose inverse image of an open set of R is an open set of X × Rn∞ . Its local structure is given by the next proposition. Proposition 5.1. A function ϕ from X × Rn∞ to R is continuous if and only if, around every point, ϕ depends only on a finite, but otherwise arbitrary, number of coordinates of X × Rn∞ and is continuous with respect to these coordinates. Proof. Given a continuous function ϕ from X × Rn∞ to R and a real number r in the range of ϕ, for every integer k, the backward image ϕ−1 (]r − k1 , r + k1 [) is of the form Ok × Rn∞ where Ok is an open subset of X and finitely many copies of Rn . Therefore, every point of the form (ξ, ζ) with ξ ∈ Ok and ζ ∈ Rn∞ is such that ϕ(ξ, ζ) ∈]r − k1 , r + k1 [. Since, for all k 0 ≥ k we have ]r− k10 , r+ k10 [⊂]r− k1 , r+ k1 [ and thus ϕ−1 (]r− k10 , r+ k10 [) ⊂ ϕ−1 (]r− k1 , r+ k1 [), we easily deduce that the set of elements (ξ0 , ζ) such that ϕ(ξ0 , ζ) = r satisfies ξ0 ∈ Ok and ζ ∈ Rn∞ arbitrary. Consequently, ϕ is independent of ζ and depends only on a finite number of components of X × Rn∞ in a neighborhood of r. The converse is immediate. The set of continuous functions from X × Rn∞ to R is denoted by C (X × Rn∞ ; R). Accordingly, for every k ≥ 1, we say that ϕ is of class C k , which we note ϕ ∈ C k (X × Rn∞ ; R), if ϕ is k times differentiable in the usual sense i.e. if and only if it is k times differentiable with respect to every variable, in finite number, it depends on. We define in a similar way a continuous, differentiable, infinitely differentiable, analytic function from X × Rn∞ to another manifold Y × Rp∞ . Such a function is thus made of countably many components, each one depending only on a finite number of coordinates. For a manifold of the type X × U × Rm ∞ , formally corresponding to the coordinates (5.15), the associated product topology and the continuity and differentiability of functions defined on X × U × Rm ∞ are defined in a similar way. 0
5.3.3 Cartan Vector Fields, Flows, Control Systems Let us denote by
116
5 Jets of Infinite Order, Lie-B¨ acklund’s Equivalence def
(0)
(1)
(1) x = (x1 , . . . , x(0) n , x1 , . . . , xn , . . .)
the global coordinates of the manifold X × Rn∞ . A C ∞ vector field on X × Rn∞ is, as in finite dimension, a first order differential operator of the form: v=
n XX
vi,j
i≥0 j=1
∂ (i)
∂xj
whose components, the vi,j ’s, are C ∞ functions from X × Rn∞ to R, and thus depend on a finite number of coordinates. Note that an arbitrary vector field on X ×Rn∞ doesn’t necessarily generate a flow as demonstrated by the following example: P ∂ 0 + j≥1 x(j) ∂x∂(j) on R∞ with dv Consider the vector field v = v0 (x) ∂x dx 6= 1 for all x. Its flow, if it exists, is made of the integral curves of the system of differential equations x˙ = v0 (x),
x ¨ = x, ˙
...,
x˙ (j) = x(j) ,
...
0 But integral curves don’t exist since x˙ = v0 (x) and x ¨ = dv ˙ 6= x˙ according dx x dv0 to the assumption dx 6= 1. Such a situation never appears in finite dimension since the coordinates are differentially independent (there is no identically satisfied relation between (k) xi and xj , x˙ j , . . . , xj for j 6= i and k ≥ 0), whereas here, each coordinate is the derivative of the preceding one. On the contrary, a vector field constructed by prolongation of a vector field of X always generates a flow: let v0 ∈ TX where X is a n-dimensional manifold. Its prolongation on X × Rn∞ is defined by
v = v0 (x)
X ∂ ∂ + x(j+1) (j) ∂x ∂x
(5.16)
j≥0
(j)
(j)
∂ = where x = (x1 , . . . , xn ), x(j) = (x1 , . . . , xn ) and with the notation α ∂x Pn ∂ . In this case, we easily verify that nothing has been changed with α i i=1 ∂xi respect to the differential equation on X:
x˙ = v0 (x),
x ¨=x ¨,
...,
x˙ (j) = x(j+1) ,
...
The vector fields of the form (5.16) are called Cartan vector fields. This definition is indeed in accordance with the notion of Lie derivative since, given an arbitrary function h of class C ∞ from X × Rn∞ to R, its Lie derivative along the Cartan field v is given by: Lv h(x) = v0 (x)
X ∂h ∂h (x) + x(j+1) (j) (x) ∂x ∂x j≥0
5.3 Jets of Infinite Order, Change of coordinates, Equivalence
117
where all the terms of this series but a finite number, corresponding to the coordinates on which h effectively depends, vanish identically. Accordingly, global coordinates of the manifold X × U × Rm ∞ are denoted by def (0) (1) (1) (x, u) = (x1 , . . . , xn , u1 , . . . , u(0) m , u1 , . . . , um , . . .) A C ∞ vector field on X × U × Rm ∞ is a first order differential operator of the form: m n XX X ∂ ∂ + wi,j (i) w= w ˜i ∂x i ∂u j=1 i=1 i≥0
j
∞
whose components, the w ˜i , wi,j ’s are C functions from X × U × Rm ∞ to R. Again, a Cartan vector field is defined as a prolonged vector field on X that depends on the m independent variables u = (u1 , . . . , um ) and their higher order jets: f=
n X
m
fi (x, u)
i=1
X X (j+1) ∂ ∂ ui + (j) ∂xi ∂u i=1 j≥0
(5.17)
i
5.3.3.1 Some Remarkable Cartan Vector Fields • The so-called trivial vector field on X × Rn∞ is defined by: τX =
n XX
∂
(i+1)
xj
i≥0 j=1
(i)
∂xj
.
(5.18)
To the trivial vector field τX there corresponds the trivial system x˙ (j) = x(j+1) for all j, for which any infinitely differentiable function t 7→ x(t) on X is an integral curve. Moreover, h being an arbitrary function, its Lie derivative along τX is given by LτX h =
n XX i≥0 j=1
(i+1)
xj
∂h (i) ∂xj
=
dh . dt
and we can thus identify τX as the differential operator implicit system is empty, i.e. given by F ≡ 0. • A linear Cartan field on X × U × Rm ∞ is given by λA,B =
d dt .
The associated
n m X XX ∂ (j+1) ∂ (Ax + Bu)i + ui (j) ∂xi ∂u i=1 i=1 j≥0
i
(5.19)
118
5 Jets of Infinite Order, Lie-B¨ acklund’s Equivalence
where (Ax + Bu)i is the ith component of the vector Ax + Bu. One immediately verifies that it corresponds to the linear system x˙ = Ax + Bu. The corresponding implicit system is thus given by C(x˙ − Ax) = 0 where C is a matrix of rank n − m such that CB = 0.
5.3.3.2 Jets of Infinite Order, Internal Formulation We are now in order to justify the name of manifold of jets: if we associate, to the manifold X × U × Rm ∞ a Cartan field of the form: f=
n X
m
fi (x, u)
i=1
X X (j+1) ∂ ∂ + ui (j) ∂xi ∂u i=1 j≥0
(5.20)
i
the Lie derivative of a function h of class C ∞ from X × U × Rm ∞ to R, along f is given by dh = Lf h. dt (j)
In the following successive particular cases h = xi and h = ui , the latter Lie derivative reads: dxi ∂xi = Lf xi = fi (x, u) = fi (x, u) dt ∂xi and
(j)
dui dt
(j)
= Lf ui
(j) (j+1) ∂ui (j) ∂ui
= ui
(j+1)
= ui
du
(j)
therefore, the coordinates, which are indeed independent, satisfy dti = (j+1) ui for all i = 1, . . . , m and all j ≥ 0 along the flow of the vector field (5.20). Remark that the first term f of the Cartan field f is allowed to depend not only on u but also on a finite number of derivatives of u, i.e. f (x, u, u, ˙ . . . , u(α) ).
5.3.3.3 Jets of Infinite Order, External Formulation The notion of manifold of jets of infinite order on X × Rn∞ may be similarly justified: consider the trivial Cartan field τX defined by (5.18). As was just (j) (j+1) remarked, we have x˙ i = xi for all j and all i = 1, . . . , n, which lets us (j) recover the natural meaning of xi as the jth order time derivative of xi .
5.3 Jets of Infinite Order, Change of coordinates, Equivalence
119
5.3.3.4 Control Systems, Internal Formulation In our formalism, a control system is given by the particularly simple definition: Definition 5.1. A control system is the data of a pair (X, f ) where X is a manifold of jets of infinite order whose Cartan vector field is f , of the form (5.20). In other words, a system is given, in the coordinates (x, u, u, ˙ . . .) by x˙ = f (x, u) u˙ = u˙ u ¨=u ¨ .. . In this approach, the control variables appear in the Cartan field as an infinite sequence u = (u, u, ˙ . . .) of vectors of Rm , at every time t, and the function t 7→ u(t) results from the integration of the flow, as well as the trajectory t 7→ x(t). On the other hand, in the classical finite dimensional approach, the control, that may be seen as parameterizing the vector field f (x, u), is a priori given as a function t 7→ u(t) on a given interval of time, thus belonging to a function space, of infinite dimension. Therefore, the two formalisms handle the same “amount” of information. Pm P (j+1) ∂ ∂ Note also that the Cartan vector field i=1 ui ∂xi + j≥0 ui (j) ∂ui
corresponds to the m-dimensional system with m inputs x˙ i = ui , i = 1, . . . , m, and that this vector field is precisely the trivial field τX for (j+1) X = Rm , in the coordinates (x1 , . . . , xm , x˙ 1 = u1 , . . . , x˙ m = um , . . . , x1 = (j) (j) (j+1) = um , . . .). u1 , . . . , xm In the same spirit, if, in the Cartan field f defined by (5.20), f depends on u and derivatives up to u(r) for some finite r, renaming x ˜ = (x, u, . . . , u(r−1) ), u(r) = v and f˜(˜ x, v) = f (x, u, . . . , u(r) ), we get f = P Pm (j+1) ∂ f˜(˜ x, v) ∂∂x˜ + j≥0 i=1 vi x, v), (j) as a Cartan field in the coordinates (˜ ∂vi
this Cartan field now depending only on v and not on its derivatives, though it describes the same differential equations. Therefore, we only need to consider Cartan fields of the form f=
n X i=1
m
fi (x, u)
X X (j+1) ∂ ∂ + ui (j) ∂xi ∂u i=1 j≥0
i
(5.21)
120
5 Jets of Infinite Order, Lie-B¨ acklund’s Equivalence
5.3.3.5 Control Systems, External Formulation In the manifold of jets of infinite order X × Rn∞ endowed with the trivial P Pn (j+1) ∂ d Cartan field τX = dt = (j) , let us show that to the j≥0 i=1 xi ∂xi
implicit system (5.12), one can associate a flow generated by a vector field of the form (5.20). Indeed, if the coordinates (5.14) satisfy the constraint (5.12), since rank ∂F ∂ x˙ = n − m, according to the implicit function Theorem, there exists a mapping f˜ of class C ∞ from an open subset of X × Rm to Rn−m such that x˙ m+1 = f˜1 (x, x˙ 1 , . . . , x˙ m ) .. . x˙ n = f˜n−m (x, x˙ 1 , . . . , x˙ m ) and, setting u1 = x˙ 1 , . . . , um = x˙ m ,
u1 .. .
um f (x, u) = f˜1 (x, u) .. . ˜ fn−m (x, u) we obtain the vector field (5.21) by noticing that, since ui = x˙ i , i = 1, . . . , m, (j+1) (j) we get ui = xi for all j ≥ 0. The coordinates defined by (5.15) are thus d (f (x, u)), . . .. We recovered by replacing x, ˙ x ¨, . . . by f (x, u), LτX f (x, u) = dt thus say that the vector field f is compatible with the implicit system (5.12), dk or, in other words, dt ˙ u ¨, . . .) and all k ≥ 0. k F (x, f (x, u)) = 0 for all u = (u, u, Conversely, one can view the explicit vector field expressed in the internal coordinates as an implicit system expressed in a set of external coordinates. Indeed, consider the vector field (5.21) expressed in the coordinates (5.15). ∂f Since rank ∂u = m, let us first permute the rows of f , if necessary, such that its Jacobian matrix of the m first rows with respect to u have rank m. Let us call x ˜ the vector obtained after the above permutation, if any, and f˜(˜ x, u) the corresponding vector field. Again by the implicit function Theorem, we get u = U (˜ x, x ˜˙ 1 , . . . , x ˜˙ m ). Reinjecting this expression in x ˜˙ = f˜(˜ x, u) and eliminating the m first equations which are thus identically satisfied, the n−m remaining equations are of the form Fi−m x, x ˜˙ ) = x ˜˙ i − f˜i (˜ x, U (˜ x, x ˜˙ 1 , . . . , x ˜˙ m )) = 0, (˜ ∂F i = m + 1, . . . , n, with rank ∂ x˙ = n − m. Moreover, in the coordinates (5.15), replacing u and its successive derivatives by their expression in function of x and its derivatives, these new expressions are clearly expressed in the coordinates (5.14), which proves the result.
5.3 Jets of Infinite Order, Change of coordinates, Equivalence
121
We also can remark that the description of the solutions of F = 0 doesn’t require the knowledge of an explicit compatible vector field. The equation F (x, x) ˙ = 0 suffices to express n − m components of x˙ in function of the remaining m ones, which are free, and of x. Thus, the successive derivatives of x and x˙ may be seen as solution of the countably many equations ˙ = LkτX F (x, x)
dk (F (x, x)) ˙ = 0, dtk
∀k ≥ 0.
(5.22)
Indeed, from the last equation, one can extract n−m components of x(k+1) in function of the m other ones, variables substituted by their values obtained at the previous steps. One can easily verify that this elimination process is the same as the one presented above to construct a compatible vector field. The manifold X0 of the jets of infinite order included in X × Rn∞ and satisfying F = 0 is thus given by X0 = {x ∈ X × Rn∞ |
dk (F (x, x)) ˙ = 0, ∀k ≥ 0}. dtk
(5.23)
To summarize, the manifold X × U × Rm ∞ endowed with the vector field (5.20), or the manifold X ×Rn∞ , with the constraint F (x, x) ˙ = 0, using (5.23), equally define a manifold of jets of infinite order. Definition 5.2. We call implicit control system, a triplet (X, τX , F ), where X is a manifold of the type X × Rn∞ endowed with its trivial Cartan P Pn (j+1) ∂ field τX = j≥0 i=1 xi (j) , and with the countably many equations ∂xi
LkτX F (x, x) ˙ =
dk F (x, x) ˙ dtk
= 0 for all k ≥ 0.
By construction, there clearly exists a vector field f of the type (5.20) compatible with LkτX F = 0 for all k ≥ 0 and such that the flow associated to the triplet (X, τX , F ) is identical to the one associated to the pair (X ×U ×Rm ∞, f ) and conversely, which achieves to prove the equivalence of the internal and external formulations.
5.3.4 Lie-B¨ acklund Equivalence 5.3.4.1 Image of a Cartan Field by a Mapping We consider two manifolds of jets of infinite order, X = X × U × Rm with its Cartan field f and Y = Y × V × Rq with its Cartan field g. Let Φ be a mapping of class C ∞ from Y to X, invertible in the sense that there exists a mapping Ψ of class C ∞ from X to Y such that (x, u) = Φ(y, v) is equivalent to (y, v) = Ψ (x, u).
122
5 Jets of Infinite Order, Lie-B¨ acklund’s Equivalence
One can define the image Φ∗ g of the Cartan field g as in finite dimension, d ˙ u, ˙ u ¨, . . .) = dt Φ(y, v). by setting (x, u) = Φ(y, v) and computing (x, We get x˙ = Lg ϕ0 (y, v), u˙ = Lg ϕ1 (y, v), . . . , and thus g is transformed in the vector field Φ∗ g = (Lg ϕ0 ) ◦ Ψ
X ∂ ∂ + (Lg ϕj+1 ) ◦ Ψ (j) ∂x ∂u
(5.24)
j≥0
which is the analogue, in infinite dimensions, of the formula of Definition 2.7. Let us give a simple necessary condition for the image of a Cartan field on Y to be a Cartan field on X. For all j, we must have du(j) = LΦ∗ g u(j) = u(j+1) = ϕj+2 ◦ Ψ dt or, according to (5.24), LΦ∗ g u(j) = (Lg ϕ0 ) ◦ Ψ
∂u(j) X ∂u(j) + (Lg ϕk+1 ) ◦ Ψ (k) = (Lg ϕj+1 ) ◦ Ψ. ∂x ∂u k≥0
Thus the required necessary condition is Lg ϕj+1 = ϕj+2 ,
∀j ≥ 0.
5.3.4.2 Equivalence We are now in order to define the announced equivalence relation between two systems (X, f ) and (Y, g) with X = X × U × Rm ∞ , X being a manifold of dimension n, and Y = Y × V × Rq∞ , Y being a manifold of dimension p. The external point of view, i.e. the equivalence between the two triplets (X, τX , F ) with X = X × Rn∞ , and (Y, τY , G) with Y = Y × Rp∞ , will be treated in a second step. Definition 5.3. Let (y0 , v 0 ) ∈ Y and (x0 , u0 ) ∈ X. We say that the two systems (X, f ) and (Y, g) are locally equivalent at ((y0 , v 0 ), (x0 , u0 )) in the sense of Lie-B¨acklund, or shortly, L-B equivalent, if there exists • a mapping Φ from Y to X such that (x0 , u0 ) = Φ(y0 , v 0 ), of class C ∞ from a neighborhood of (y0 , v 0 ) ∈ Y to a neighborhood of (x0 , u0 ) ∈ X and invertible in these neighborhoods, such that Φ∗ g = f , • and conversely, if there exists a mapping Ψ of class C ∞ from a neighborhood of (x0 , u0 ) ∈ X to a neighborhood of (y0 , v 0 ) ∈ Y and invertible in these neighborhoods, such that Ψ∗ f = g. Such a mapping Φ (or Ψ ) is called local Lie-B¨ acklund isomorphism.
5.3 Jets of Infinite Order, Change of coordinates, Equivalence
123
Φ is thus a Lie-B¨ acklund isomorphism if for all (x, u) = (x, u, u, ˙ . . .), in a ˙ . . .) ∈ Y in a neighborhood of (x0 , u0 ) in X, there exists (y, v) = (y, v, v, neighborhood of (y0 , v 0 ), with (x0 , u0 ) = Φ(y0 , v 0 ), such that (x, u) = Φ(y, v), or x = ϕ0 (y, v), u = ϕ1 (y, v), u˙ = ϕ2 (y, v), . . . ˙ . . .) ∈ Y in a neighborhood of and conversely, if for all (y, v) = (y, v, v, (y0 , v 0 ), there exists (x, u) = (x, u, u, ˙ . . .) in a neighborhood of (x0 , u0 ) in X, such that (y, v) = Ψ (x, u), or y = ψ0 (x, u), v = ψ1 (x, u), v˙ = ψ2 (x, u), . . . Moreover, Φ and Ψ must locally preserve the derivation with respect to time d both on X and on Y: Φ∗ g = f and Ψ∗ f = g. In other words, dt Φ(y, v) = Lf (x, u), or (Lg ϕ0 ) ◦ Ψ = f, and
d dt Ψ (x, u)
= Lg (y, v), or Lf ψ0 ◦ Φ = g,
(Lg ϕj ) ◦ Ψ = u(j) , ∀j ≥ 1,
Lf ψj ◦ Φ = v (j) , ∀j ≥ 1.
Thus, we must have f (ϕ0 (y, v), ϕ1 (y, v)) = Lg ϕ0 (y, v),
ϕj+1 (y, v) = Lg ϕj (y, v), ∀j ≥ 1
g(ψ0 (x, u), ψ1 (x, u)) = Lf ψ0 (x, u),
ψj+1 (x, u) = Lf ψj (x, u), ∀j ≥ 1.
and
Example 5.1. Consider the linear scalar system x˙ = u (x ∈ R, u ∈ R). ∂ There corresponds the manifold R∞ and the trivial Cartan field f = u ∂x + P (j+1) ∂ u . It is L-B equivalent to any system of the form y ¨ = g(y, y)+v ˙ (j) j≥0 ∂u P ∂ + (g(y, y) ˙ + v) ∂∂y˙ + j≥0 v (j+1) ∂v∂(j) . defined on (R∞ , g) with g = y˙ ∂y Indeed, it suffices to set y = x and v = u˙ − g(x, u), and conversely, x = y and u = y, ˙ or, equivalently, Φ(y, v) = (y, y, ˙ y¨, . . .) and Ψ (x, u) = (x, u, u˙ − g(x, u), Lf (u˙ − g(x, u)), . . .). We easily verify that Φ∗ g = f and Ψ∗ f = g. Note in particular that the dimension of the first system is equal to 1, whereas the dimension of the second one is equal to 2. Therefore, the state dimension is not preserved by Lie-B¨ acklund isomorphisms, which, contrarily to diffeomorphisms, doesn’t prevent them from being invertible. In fact, this example illustrates a more general result. We call integrator of order q, with q arbitrary integer, an integrator of the form z (q) = v and u = z, or, equivalently, u(q) = v.
124
5 Jets of Infinite Order, Lie-B¨ acklund’s Equivalence
Proposition 5.2. A system and the system obtained by prolonging itself by an integrator of arbitrary order are L-B equivalent. Proof. If the system is given by (X, f ) with f given by (5.20), the prolongation mq by an integrator transforms X = X × U × Rm × U × Rm ∞ in X × R ∞ and the vector field f in itself. The equivalence is therefore obvious. We now state the L-B equivalence in the external formulation: Proposition 5.3. Consider two implicit systems (X, τX , F ), X = X × Rn∞ , in a neighborhood V of x0 ∈ X0 with X0 defined by ˙ = 0, ∀k ≥ 0}, X0 = {x ∈ X × Rn∞ |LkτX (F (x, x))
(5.25)
∂F
where F satisfies rank ∂ x˙ = n − m in V , and (Y, τY , G), Y = R × Y × Rp∞ , in a neighborhood W of y 0 ∈ Y0 , with Y0 = {y ∈ R × Y × Rp∞ |LkτY (G(y, y)) ˙ = 0, ∀k ≥ 0}, = p − q in W . where G satisfies rank ∂G ∂ y˙ The two following properties are locally equivalent: (i)
(5.26)
The systems (5.25) and (5.26) are such that • there exists a mapping Φ of class C ∞ and invertible from W to V such that Φ(y 0 ) = x0 and Φ∗ τY = τX , • and a mapping Ψ of class C ∞ and invertible from V to W such that Ψ (x0 ) = y 0 and Ψ∗ τX = τY .
(ii) For every Cartan field f on X × Rm ∞ compatible with (5.25) in V and every Cartan field g on Y × Rq∞ compatible with (5.26) in W , the systems q (X × Rm ∞ , f ) and (Y × R∞ , g) are locally L-B equivalent at (x0 , u0 ) and (y0 , v 0 ), for u0 and v 0 suitably chosen. Proof. (i) implies (ii) : Let Φ and Ψ satisfy (i). For all g compatible with (5.26) and if y ∈ W we have G(y, g(y, v)) = 0 for all v in a suitable open subset of Rq . Since by assumption x = Φ(y) ∈ V ⊂ X0 , ∆ with Φ = (ϕ0 , ϕ1 , . . .), we have x = (ϕ0 (y, g(y, v), dg ˙ . . .) = ϕ˜0 (y, v), dt (y, v, v), and x satisfies LkτX F (x) = 0 for all k ≥ 0. Let then v 0 be such that d x0 = Φ(y0 , g(y0 , v0 ), dt g(y0 , v0 , v˙ 0 ), . . .). For all f compatible with (5.25) we ∆
d ϕ˜0 (y, v)) = ϕ˜1 (y, v). have x˙ = f (x, u) for u = µ(x, x), ˙ or u = µ(ϕ˜0 (y, v), dt Using Φ∗ τY = τX , we get
f (x, u)
˜1 (y,v)) (ϕ ˜0 (y,v),ϕ
= LτY ϕ0 (y, Lg y, L2g y, . . .) (ϕ ˜0 (y,v),ϕ ˜1 (y,v)) j j ∂ϕ0 ∂Lg y X (k+1) ∂ϕ0 ∂Lg y g (j) + v ∂y ∂y ∂y (j) ∂v (k) k≥0
= LτX x
X ∂ϕ0 j L L y = g g ∂y (j) j≥0 ∂ ϕ˜0 X (k+1) ∂ ϕ˜0 =g + v = (ϕ˜0 )∗ g(y, v). ∂y ∂v (k) k≥0 =
5.3 Jets of Infinite Order, Change of coordinates, Equivalence
125
ϕ ˜1 d d Similarly, u˙ = dt u = LτX µ(x) = dt ϕ˜1 (y, v) = g(y, v) ∂∂y + P ˜1 (j+1) ∂ ϕ ˜ ˜ = (ϕ˜1 )∗ g, which proves that (x, u) = Φ(y, v) with Φ = j≥0 v ∂v (j) ˜ 0 , v 0 ). Sym(ϕ˜0 , ϕ˜1 , . . .) and f = Φ˜∗ g. Let us define u0 by (x0 , u0 ) = Φ(y metrically, we have (y, v) = Ψ˜ (x, u) with Ψ˜ = (ψ˜0 , ψ˜1 , . . .) et ψ˜0 (x, u) = d ˜ ψ0 (x, u)), v = ν(x, x), ψ0 (x, f (x, u), df ˙ . . .), ψ˜1 (x, u) = ν(ψ˜0 (x, u), dt ˙ dt (x, u, u), ˜ ˜ ˜ ˜ and thus Φ has inverse Ψ with (y0 , v 0 ) = Ψ (x0 , u0 ), and g = Ψ∗ f . We have thus proven that if the implicit systems (X × Rn∞ , τX , F ) et (Y × Rp∞ , τY , G) q satisfy (i), then the implicit systems (X × Rm ∞ , f ) and (Y × R∞ , g), for all Cartan fields f compatible with F = 0 and g compatible with G = 0, are locally L-B equivalent at (x0 , u0 ), (y0 , v 0 ), for u0 and v 0 suitably chosen (their choice depending on f and g). (ii) implies (i) : The proof follows the same lines and is left to the reader.
Definition 5.4. We say that the implicit systems (5.25) and (5.26) satisfying the condition (i) of Proposition 5.3 are locally L-B equivalent at x0 and y 0 . Remark 5.1. If we generalize to nonlinear systems the equivalence relation that we introduced, for linear systems, in definition 4.2, we get: Two systems x˙ = f (x, u), with x ∈ X, and y˙ = g(y, v), with y ∈ Y , are equivalent by diffeomorphism and state feedback, or shortly, static feedback equivalent if there exists a diffeomorphism ϕ from Y to X and a state feedback v = α(y, u) where α is invertible with respect to u for all y, such that the closed loop system y˙ = g(y, α(y, u)), transformed by x = ϕ(y), satisfies x˙ = f (x, u). According to the invertibility of ϕ and α, this clearly defines an equivalence relation. However, if two systems are static feedback equivalent, the dimensions of x and y must be equal as well as the dimensions of u and v. Moreover, since (x, u) = (ϕ(y), α−1 (y, v)) and (y, v) = (ϕ−1 (x), α(x, u)), we immediately deduce that the two systems are also L-B equivalent. Therefore the L-B equivalence is strictly coarser than the static feedback equivalence. Nevertheless, L-B equivalence possesses nice enough properties as will be seen later.
5.3.5 Properties of the L-B Equivalence As we just have seen, L-B equivalence doesn’t preserve the state dimension. However, the dimension of the input vector is preserved. The number of independent inputs, if X = X × U × Rm ∞ , is simply the dimension of the space Rm copied countably many times. In the case X = X × Rn∞ with F (x, x) ˙ = 0, the number of independent inputs is the integer equal to the difference between the dimension of X, i.e. n, and the number of independent equations, i.e. n − m, since indeed m = n − (n − m).
126
5 Jets of Infinite Order, Lie-B¨ acklund’s Equivalence
Theorem 5.1. If two systems are L.B. equivalent, they have the same number of independent inputs. The proof is based on the following lemma: Lemma 5.1. Let us denote by Φk the mapping made of the k + 1 first components of Φ, i.e. Φk (y, v) = (ϕ0 (y, v), . . . , ϕk (y, v)) . If Φ is a Lie-B¨ acklund isomorphism, then Φk is locally onto for all k. Similarly, if Ψ is the inverse isomorphism, Ψk is locally onto for all k. Proof. If Φ0 = ϕ0 is not onto, there exists at least one x ˜ ∈ X such that ˜ for all (y, v) ∈ Y. Clearly, Φ = (ϕ0 , ϕ1 , . . . , ϕk , . . .) cannot be ϕ0 (y, v) 6= x onto, which contradicts the fact that it is a Lie-B¨acklund isomorphism. The same lines apply for Φk and Ψk for all k. Let us now go back to the proof of Theorem 5.1: Proof. Let Φ be a Lie-B¨ acklund isomorphism between the two systems (X, f ) and (Y, g). According to Lemma 5.1, the mapping Φk : (y, v) 7→ (x, u, u, ˙ . . . , u(k) ) = Φk (y, v) is onto. Since Φk depends only on a finite number of variables, Φk is a surjection between finite dimensional spaces and the dimension of its range must be smaller than or equal to the dimension of the source. Remark that if ϕ1 depends only on the variables (y, v, v, ˙ . . . , v (α+1) ), d (α+1) then, since u˙ = ϕ2 (y, v) = dt ϕ1 (y, v, v, ˙ ...,v ), ϕ2 depends only on (y, v, v, ˙ . . . , v (α+2) ). Similarly, ϕk at most depends on (y, v, v, ˙ . . . , v (α+k) ). Let us denote by q the dimension of y, n the dimension of x, r the dimension of v and m the dimension of u. We have, for all k, the inequalities: ∂Φk = n + (k + 1)m q + (α + k + 1)r ≥ rank ∂(y, v) or (k + 1)(r − m) ≥ n − q − αr
(5.27)
which implies that r −m ≥ 0 since, otherwise, for k sufficiently large, the lefthand side of (5.27) would become arbitrarily negative and would contradict the inequality since n − q − αr is a constant independent of k. Following the same lines for Ψk , where Ψ is the inverse of Φ, we get m−r ≥ 0, and thus m = r, which achieves the proof. In the linear case, the previous result reads: Proposition 5.4. Two linear controllable systems are L-B equivalent if and only if they have the same number of independent inputs.
5.3 Jets of Infinite Order, Change of coordinates, Equivalence
127
Proof. The condition is necessary by Theorem 5.1. Let us show that it is sufficient. Since each system is L-B equivalent to its canonical form (see section 4.1.2), it suffices to show that two arbitrary canonical forms having the same number of independent inputs are L-B equivalent. In fact, since their associated Cartan fields are both the trivial Cartan field with m inputs, they are obviously L-B equivalent. Q.E.D. Lie-B¨acklund isomorphisms also enjoy an important property concerning equilibrium points: Theorem 5.2. The L-B equivalence preserves equilibrium points. Proof. Let us assume that the systems x˙ = f (x, u) and y˙ = g(y, v) are L-B (j) equivalent. Let (x0 , u0 ) be an equilibrium point, i.e. f (x0 , u0 ) = 0, u0 = 0 (s) for all j ≥ 1. Since y0 = ψ0 (x0 , u0 , u˙ 0 , . . . , u0 ) = ψ0 (x0 , u0 , 0, . . . , 0) and (j) (s+j+1) v0 = ψj+1 (x0 , u0 , u˙ 0 , . . . , u0 ) = ψj+1 (x0 , u0 , 0, . . . , 0) for all j, we have (j+1) ∂ψj+1 ∂ψj+1 ∂ψ0 ∂ψ0 (s+1) 0 u = 0 and v0 = ∂x x ˙ + u ˙ + . . . + x˙ 0 + ∂u u˙ 0 + y˙ 0 = ∂ψ ∂x 0 ∂u 0 ∂u(s) 0 ∂ψ
(s+j+2)
j+1 . . . + ∂u(s+j+1) u0 = 0 for all j ≥ 1, which proves that (y0 , v0 ) is an equilibrium point of y˙ = g(y, v). We proceed in the same way to prove that the image of an equilibrium point of y˙ = g(y, v) is an equilibrium point of x˙ = f (x, u).
5.3.6 Endogenous Dynamic Feedback We now generalize the previously introduced notion of integrator to a class of feedback called endogenous dynamic feedback. Let us consider a system (X, f ) whose representation in finite dimension is x˙ = f (x, u). A dynamic feedback is the data of a differential equation z˙ = β(x, z, v) and a feedback u = α(x, z, v). The closed-loop system is thus x˙ = f (x, α(x, z, v)) z˙ = β(x, z, v). Such a dynamic feedback may have unexpected properties such as the uncontrollability of the closed-loop system or its non invertibility, i.e. that it is not possible to recover the original system by applying another dynamic feedback. Let us illustrate this by simple examples: Example 5.2. Consider the system x˙ = u with the dynamic feedback z˙ = v, u = v. The closed-loop system is x˙ = v, z˙ = v, which implies that x˙ − z˙ = 0 or x(t) − z(t) = x0 − z0 for all t. The closed-loop system is thus no more controllable.
128
5 Jets of Infinite Order, Lie-B¨ acklund’s Equivalence
Example 5.3. Consider now the 2-dimensional linear system: x˙ 1 = x2 , x˙ 2 = u and let us apply the same dynamical feedback as in the previous example: z˙ = v, u = v. The closed-loop system reads x˙ 1 = x2 , x˙ 2 = z, ˙ or x˙ 1 = z + c where c is a constant, since x˙ 2 = z˙ implies x2 = z + c. Thus, the knowledge of v = z˙ is not sufficient to deduce z, because of the missing initial condition z0 . Thus x1 and x2 , and a fortiori u, cannot be recovered so that the closed-loop system contains less information than the original system x ¨1 = u. This loss of information comes from the fact that u = z, ˙ so that z cannot ˙ . . . , ) only, because the initial be expressed as a function of (x, u) = (x, u, u, condition z0 cannot be deduced from (x, u). We say that such a dynamic feedback is exogenous since it depends on the extra variable z0 that didn’t appear in the original system, which prevents from making the original system and the closed-loop one L-B equivalent. On the contrary, if we restrict to endogenous dynamic feedback, i.e. such that the closed-loop variables can be expressed as functions of the original system variables, these pathologies disappear, as will be shown later. We therefore introduce the following definition: Definition 5.5. Consider the system (X, f ). We call endogenous dynamic feedback a dynamic feedback of the form z˙ = β(x, z, v),
u = α(x, z, v)
(5.28)
such that the closed-loop system is L-B equivalent to the system (X, f ). Otherwise stated, there exists a Lie-B¨ acklund isomorphism Φ, of inverse Ψ , such that (x, u) = Φ(x, z, v) and (x, z, v) = Ψ (x, u), which implies that z, v, v, ˙ . . . , can be expressed as functions of x, u and a finite number of successive derivatives of u. It is therefore obvious from this definition that an integrator of arbitrary order is an endogenous dynamic feedback. The next result clarifies the links between this type of feedback and L-B equivalence. We consider two systems (X, f ) and (Y, g) defined by x˙ = f (x, u) and y˙ = g(x, v) respectively. Theorem 5.3 (Martin [1992]). Assume that the systems (X, f ) and (Y, g) are L-B equivalent. Then there exists an endogenous dynamic feedback (5.28) such that the closed-loop system x˙ = f (x, α(x, z, v)) z˙ = β(x, z, v) is diffeomorphic to the prolonged system
(5.29)
5.3 Jets of Infinite Order, Change of coordinates, Equivalence
129
y˙ = g(y, w) w(r+1) = v
(5.30)
with r a large enough integer. Proof. We note wr = (w, w(1) , . . . , w(r) ). Let y˜ = (y, wr ) = (y, w, w(1) , . . . , w(r) ) and v = w(r+1) . According to the L-B equivalence, we have (x, u) = Φ(y, w) = (ϕ0 (y, w), ϕ1 (y, w), . . .). For r sufficiently large, ϕ0 depends only on y˜ and ϕ1 on (˜ y , v), i.e. the Lie-B¨acklund isomorphism Φ is of the form Φ(˜ y , v, v (1) , . . .) = (ϕ0 (˜ y ), ϕ1 (˜ y , v), ϕ2 (˜ y , v 1 ), . . .), still with the notation v k = (v, v (1) , . . . , v (k) ) for all k ≥ 1, and the system x˙ = f (x, u) reads r−1
x˙ = f (ϕ0 (˜ y ), ϕ1 (˜ y , v)) = g(˜ y)
∂ϕ0 X (j+1) ∂ϕ0 ∂ϕ0 w + + v (r) . (j) ∂y ∂w ∂w j=0
(5.31)
Denote by r−1
g˜ = g
X ∂ ∂ ∂ + w(j+1) (j) + v (r) ∂y j=0 ∂w ∂w
the prolonged vector field corresponding to (5.30). The identity (5.31) reads f (ϕ0 (˜ y ), ϕ1 (˜ y , v)) = g˜(˜ y , v)
∂ϕ0 . ∂ y˜
(5.32)
Applying Lemma 5.1, ϕ0 is onto. Thus, there exists a surjective mapping ϕ0 (˜ y) γ such that y˜ 7→ = K(˜ y ) is a local diffeomorphism of Y × Rm(r+1) . γ(˜ y) Let us set z = γ(˜ y ). We have z˙ = γ∗ g˜(˜ y , v) by definition of the image of the vector field g˜ by γ. Since x = ϕ0 (˜ y ), we have (x, z) = K(˜ y ). Applying the dynamic feedback u = ϕ1 (K −1 (x, z), v) z˙ = γ∗ g˜(K −1 (x, z), v), we thus obtain the closed-loop system x˙ f (x, ϕ1 (K −1 (x, z), v)) ˜ = f (x, z, v) = z˙ γ∗ g˜(K −1 (x, z), v)
(5.33)
and, using (5.32), f˜(K(˜ y ), v) =
f (ϕ0 (˜ y ), ϕ1 (˜ y , v)) γ∗ g˜(˜ y , v)
=
∂ϕ0 y) ∂ y˜ (˜ ∂γ (˜ y ∂ y˜ )
! .˜ g (˜ y , v) =
∂K (˜ y ).˜ g (˜ y , v) ∂ y˜
130
5 Jets of Infinite Order, Lie-B¨ acklund’s Equivalence
which implies that (5.33) and (5.30) are diffeomorphic. Finally, by the inverse diffeomorphism, since y = ψ0 (x, us ) and v = ˜ us+r+1 )), where ψ˜ ψ1 (x, us+1 ) for at least one s, we get z = γ(˜ y ) = γ(ψ(x, is the mapping (ψ0 , ψ1 , . . . , ψr+1 ), which proves that (z, v) can be expressed in function of (x, u) and thus that x˙ = f (x, u) is Lie-B¨acklund equivalent to the closed-loop system (5.33), which proves that the constructed dynamic feedback is endogenous.
Chapter 6
Differentially Flat Systems
6.1 Flat System, Flat Output
x• = f (xx ,,u)
t → (x (t), u(t)) ))
Φ
t → (y(t), . . . , y (r +1) (t)) ))
Lie-B Lie-Bäcklund klund
y (r +1) = v
Fig. 6.1 Graphic representation of the flatness property: L-B equivalence between the trajectories of the trivial system (below) an those of the nonlinear system (above).
Definition 6.1. We say that the system (X × U × Rm ∞ , f ) (resp. (X × Rn∞ , τX , F )), with m inputs, is differentially flat, or, shortly, flat, if and only if
J. Lévine, Analysis and Control of Nonlinear Systems, Mathematical Engineering, DOI 10.1007/978-3-642-00839-9_6, © Springer-Verlag Berlin Heidelberg 2009
131
132
6 Differentially Flat Systems
m it is L-B equivalent to the trivial system (Rm ∞ , τm ) (resp. (R∞ , τm , 0)), where m τm is the trivial Cartan field of R∞ with coordinates (y, y, ˙ y¨, . . .):
τm =
m XX j≥0 i=1
(j+1)
yi
∂ (j)
∂yi
.
(6.1)
The vector y = (y1 , . . . , ym ) is called a flat output. Let us interpret this definition in the two previously studied cases: Explicit Case. The explicit system x˙ = f (x, u) with m inputs is flat if and only if there exists a flat output y of dimension m, two integers r s+1 and s and mappings ψ from X × (Rm ) to Rm , of rank m in a suitably (m+2)r chosen open subset, and (ϕ0 , ϕ1 ) from R to Rn × Rm , of rank n + m in a suitable open subset, such that y = (y1 , . . . , ym ) = ψ(x, u, u, ˙ . . . , u(s) ) (r) (r+1) implies that x = ϕ0 (y, y, ˙ . . . , y ), u = ϕ1 (y, y, ˙ ...,y ), the differential 0 = f (ϕ , ϕ ) being identically satisfied. equation dϕ 0 1 dt 0 It is easily verified that if x = ϕ0 (y) and u = ϕ1 (y) with dϕ dt = f (ϕ0 , ϕ1 ) 2
d ϕ1 1 we have (x, u) = Φ(y) = (ϕ0 (y), ϕ1 (y), dϕ dt (y), dt2 (y), . . .), and dj y dtj
dy (j) dt
=
= y (j+1) . Implicit Case. The implicit system F (x, x) ˙ = 0 with rank ∂F = n− ∂ x˙ m, is flat if and only if there exists an integer s and a mapping ψ from s X × (Rn ) to Rm , of rank m in a suitably chosen open subset, such that y = (y1 , . . . , ym ) = ψ(x, x, ˙ . . . , x(s) ) implies x = ϕ0 (y, y, ˙ . . . , y (r) ) for a dϕ0 suitable integer r, the implicit equation F (ϕ0 , dt ) = 0 being identically 0 satisfied, with dϕ dt = Lτm ϕ0 . In all cases, one can express all the system variables in function of the flat output and a finite number of its successive derivatives. A flat output is indeed non unique: if (y1 , y2 ) is a flat output of a system (k) with 2 inputs, then the output (z1 , z2 ) = (y1 +y2 , y2 ) for k arbitrary integer, is also a flat output since the so defined mapping y 7→ z is invertible (y1 = (k) z1 − z2 , y2 = z2 ) and preserves the trivial Cartan field of R2∞ . By the transitivity of the L-B equivalence, the assertion is proven. Remark 6.1. Note that flatness may be traced back to Hilbert and Cartan Hilbert [1912], Cartan [1914]. In fact, using the definition of the implicit case, flatness may be seen as a generalization in the framework of manifolds of jets of infinite order of the uniformization of analytic functions of Hilbert’s 22nd problem Hilbert [1901], solved by Poincar´e Poincar´e [1907] in 1907 (see Bers [1976] for a modern presentation of this subject and recent extensions and results). This problem consists, roughly speaking, given a set of complex polynomial equations in one complex variable, in finding an open dense subset D of the complex plane C and a holomorphic function s from D to C such that
6.2 Examples
133
s is surjective and s(p) identically satisfies the given equations for all values of the “parameter” p ∈ D. In our setting, C is replaced by a (real) manifold of jets of infinite order, a flat output y1 , . . . , ym plays the role of the parameter p and s is the associated Lie-B¨ acklund isomorphism s = (ϕ0 , ϕ1 , ϕ˙ 1 , ϕ¨1 , . . .) with ϕ0 and ϕ1 defined above. The following result is a straightforward consequence of Theorem 5.1. Proposition 6.1. Given a flat system, the number of components of a flat output is equal to the number of independent inputs.
6.2 Examples 6.2.1 Mass-Spring System
k1
m1
k2
m2 G2
G1
O
u
x l1 + x1 l2 + x2
Fig. 6.2 A mass-spring system.
Consider a system made of two bodies of respective mass m1 and m2 , related by two springs of respective stiffness k1 and k2 , moving along the axis Ox (see Figure 6.2). The respective position of the gravity centres G1 and G2 of the two bodies are denoted by l1 + x1 and l2 + x2 , where l1 and l2 are the equilibrium positions of G1 and G2 . We assume that the two bodies are submitted to viscous frictions γ1 (x˙ 1 ) and γ2 (x˙ 2 ) respectively. The functions γ1 and γ2 are assumed non negative, twice continuously differentiable, and γ1 (0) = γ2 (0) = 0. Finally, a force u is applied to G2 . The second principle reads: m1 x ¨1 + k1 x1 + γ1 (x˙ 1 ) = k2 (x2 − x1 ) (6.2) m2 x ¨2 + k2 (x2 − x1 ) + γ2 (x˙ 2 ) = u .
134
6 Differentially Flat Systems
To represent (6.2) in implicit form, it suffices to eliminate the last equation, i.e. m1 x ¨1 + k1 x1 + γ1 (x˙ 1 ) − k2 (x2 − x1 ) = 0. (6.3) Let us show that we can express x2 and u in function of x1 . From the first equation of (6.2), we get: x2 =
1 (m1 x ¨1 + (k1 + k2 ) x1 + γ1 (x˙ 1 )) k2
(6.4)
and, differentiating, with the notation γ10 for the first derivative of γ1 , x˙ 2 =
1 (3) m1 x1 + (k1 + k2 ))x˙ 1 + γ10 (x˙ 1 )¨ x1 , k2
(6.5)
then, using the second equation of (6.2) and the above expressions of x2 and x˙ 2 m1 m2 (4) x1 + u= k2
m2 k1 + m2 + m1 x ¨1 + k1 x1 + γ1 (x˙ 1 ) k2 m2 (3) γ100 (x˙ 1 )(¨ x1 )2 + γ10 (x˙ 1 )x1 + k2 m1 (3) 1 0 + γ2 x + ((k1 + k2 )x˙ 1 + γ1 (x˙ 1 )¨ x1 ) (6.6) k2 1 k2
which proves that x2 and u can be expressed as functions of x1 and a finite number of its derivatives, and thus that the system (6.2) is flat with x1 as flat output. The obtained transformation from the flat output y = x1 boils down to express the system in its controllable canonical form (see section 4.1.2), which reads here y (4) = v.
6.2.2 Robot Control We consider a robot arm with n degrees of freedom and n actuators. Its dynamical equations are of the form: Γ0 (q)¨ q + Γ1 (q, q) ˙ = Q(q, q)u ˙
(6.7)
where q is the vector of generalized coordinates (angular coordinates for a rigid robot with rotoid joints), dim q = dim u = n, rank (Q) = n, Γ0 (q) being the inertia matrix, assumed everywhere invertible, Γ1 (q, q) ˙ the vector of centrifugal and Coriolis forces and the matrix Q(q, q) ˙ characterizing the actuators (localization, direct or indirect drives, presence of reduction units, . . . ).
6.2 Examples
135
We set x1 = q, x2 = q˙ and the system reads: x˙ 1 = x2 x˙ 2 = −(Γ0 (x1 ))−1 (Γ1 (x1 , x2 ) + Q(x1 , x2 )u) .
(6.8)
Since rank (Q) = n, we immediately verify that all the equations of (6.7) can be eliminated, so that the implicit system reduces to 0 = 0 (trivial). As previously, the vector x1 is a flat output of (6.8): x2 = x˙ 1 and u = Q−1 (x1 , x˙ 1 ) (Γ0 (x1 )¨ x1 + Γ1 (x1 , x˙ 1 )) formula called computed torque.
6.2.3 Pendulum
+
Y•
ε C•
m gE
kE
× E
d
Eı
θ
FEz FEx
A
Fig. 6.3 The inverted pendulum in the vertical plane
Consider an inverted pendulum, in the plane of coordinates (x, z), of mass → − m, controlled by the exterior force F applied to the point A located at a distance d of the centre of mass C of the pendulum (see Figure 6.3). We − → − −ı , → − , → consider the inertial frame (→ k ). The force F , in this frame, reads: − → − −ı + F → F = Fx → z k . The resulting force applied to the centre of mass is the → − − → − −ı + (F − mg)→ sum of F and of the weight −mg k : Fx → k . Let us denote by z (xC , O, zC ) the coordinates of the point C. We have
136
6 Differentially Flat Systems
m¨ xC = Fx ,
m¨ zC = Fz − mg .
We denote by θ the angle between the pendulum and the vertical (par→ − −→ allel to k ) and J the inertia of the pendulum. The vector CA reads − −→ −ı + cos θ → CA = −d(sin θ → k ) and the angular moment around C is given by → → − − = − − . J θ¨→ CA × F = d(Fz sin θ − Fx cos θ)→ We thus have
xC = Fx m¨ m¨ zC = Fz − mg J θ¨ = Fz sin θ − Fx cos θ . d
Setting x=
xC zC Fx Fz J , z= , u1 = , u2 = − 1, ε = g g mg mg mgd
we obtain the pendulum dynamical equations: ¨ = u1 x z¨ = u2 ¨ εθ = −u1 cos θ + (u2 + 1) sin θ
(6.9)
where u1 and u2 are the two components of the input vector u. An implicit representation of (6.9) is given by: εθ¨ = −¨ x cos θ + (¨ z + 1) sin θ.
(6.10)
We now consider another implicit differential system with 4 unknown functions and 2 equations: (ξ − x)2 + (ζ − z)2 = ε2 (6.11) ¨ − z) − (ξ − x)(ζ¨ + 1) = 0 . ξ(ζ This system admits the following geometric interpretation: let (ξ, ζ) be the position of the point Y located at the distance ε of the point C, i.e. → − (ξ − x)2 + (ζ − z)2 = ε2 , whose acceleration minus the constant vector − k , corresponding to the normalized acceleration of gravity, is colinear to the −−→ vector Y C: ξ¨ ξ−x = . (6.12) ζ −z ζ¨ + 1 The point Y , satisfying (ξ − x)2 + (ζ − z)2 = ε2 , or, in polar coordinates: ξ = x + ε sin θ ,
ζ = z + ε cos θ ,
(6.13)
6.2 Examples
137
is called the oscillation centre or the Huygens oscillation centre Fliess et al. [1999], Whittaker [1937]. Let us show that (6.11) is equivalent (in the usual sense) to (6.9), in other words that (6.11) and (6.10) are equivalent. Starting from (6.11) and differentiating two times (6.13), we get ξ¨ = x ¨ + εθ¨ cos θ − εθ˙2 sin θ ,
ζ¨ = z¨ − εθ¨ sin θ − εθ˙2 cos θ.
(6.14)
Taking into account the fact that ξ − x = ε sin θ and ζ − z = ε cos θ, we have ¨ −z)−(ζ¨+1)(ξ−x) = ε(ξ¨ cos θ−(ζ¨+1) sin θ) = ε(εθ+ ¨ x ξ(ζ ¨ cos θ−(¨ z +1) sin θ). Thus, if (6.11) holds true, (6.10) also, and conversely, which proves the announced equivalence. In (6.11), the control variables are x and z, which implies, by (6.13), that x ¨ = u1 and z¨ = u2 , where (u1 , u2 ) is the input of the pendulum model (6.9). Thus, (6.11) may be interpreted as a reduced system where the two double integrators describing the acceleration of the centre of mass of the inverted pendulum have been removed. Proposition 6.2. The system (6.9) is flat with the coordinates (ξ, ζ) of the oscillation centre as flat output. Proof. From (6.13) and (6.12), we get tan θ =
ξ¨ ξ−x = ζ −z ζ¨ + 1
or θ = arctan i.e. sin θ = q
ξ¨
,
¨ 2 + (ζ¨ + 1)2 (ξ)
ξ¨ ζ¨ + 1
!
ζ¨ + 1 cos θ = q . ¨ 2 + (ζ¨ + 1)2 (ξ)
Moreover x = ξ − εq
ξ¨ ¨ 2 + (ζ¨ + 1)2 (ξ)
,
ζ¨ + 1
z = ζ − εq
(6.15)
¨ 2 + (ζ¨ + 1)2 (ξ)
and the force can be easily deduced by twice differentiating the expressions of x and z:
138
6 Differentially Flat Systems
d2 ξ¨ u1 = 2 ξ − ε q dt 2 2 ¨ ¨ (ξ) + (ζ + 1) 2 ¨ ζ +1 d , u2 = 2 ζ − ε q dt ¨ 2 + (ζ¨ + 1)2 (ξ)
(6.16)
expression that contains the derivatives of ξ and ζ up to the order four. It results that all the system variables of (6.9) can be expressed, in an invertible way, as functions of ξ, ζ and a finite number of their derivatives ˙ ξ, ¨ . . . , ζ, ˙ ζ, ¨ . . .. The system flatness is immediately with respect to time ξ, deduced with (ξ, ζ) as flat output.
6.2.4 Non Holonomic Vehicle We go back to the car of the example 4.4. Recall that the car’s model is given by x˙ = u cos θ y˙ = u sin θ (6.17) u θ˙ = tan ϕ . l In implicit form, this system becomes: x˙ sin θ − y˙ cos θ = 0.
(6.18)
Let us show that this system is flat with (x, y) as flat output. The two first equations of (6.17) give tan θ =
y˙ , x˙
u2 = x˙ 2 + y˙ 2 .
(6.19)
˙x ˙ + tan2 θ) = y¨x˙ − y¨ Differentiating the expression of tan θ, we get θ(1 from 2 x˙ which we deduce y¨x˙ − y¨ ˙x θ˙ = 2 x˙ + y˙ 2 and, by the third equation of (6.17), tan ϕ =
lθ˙ y¨x˙ − y¨ ˙x =l 3 . v 2 (x˙ + y˙ 2 ) 2
(6.20)
All the system variables x, y, θ, u, ϕ are thus expressed as functions of x, x, ˙ x ¨, y, y, ˙ y¨, which proves our assertion.
6.2 Examples
139
6.2.5 Vehicle with Trailers
Fig. 6.4 The n-trailer vehicle.
We consider a vehicle with several trailers as described in Figure 6.4, each trailer being attached to the previous one at the middle of the rear axle of this trailer. The vehicle and the trailers are assumed to roll without slipping. The kinematic equations, that include the rolling without slipping conditions, or non holonomic constraints, are given by x˙ 0 = u cos θ0 y˙ 0 = u sin θ0 u tan ϕ θ˙0 = d0 i−1 Y u θ˙i = cos(θj−1 − θj ) sin(θi−1 − θi ) , di j=1 with the convention, for i = 1,
0 Y
(6.21) i = 1, . . . , n .
def cos(θj−1 − θj ) = 1.
j=1
Recall that u is the modulus of the velocity of the front vehicle, and is one of the controls, the second one being the angle ϕ of the front wheels. In implicit form, this system becomes:
140
6 Differentially Flat Systems
x˙ 0 sin θ0 − y˙ 0 cos θ0 = 0 di θ˙i − (x˙ 0 cos θ0 + y˙ 0 sin θ0 )
i−1 Y
cos(θj−1 − θj ) sin(θi−1 − θi ) = 0,
j=1
i = 1, . . . , n . (6.22)
C
C
P θ
θ
P
P
θ
θ P
Fig. 6.5 Geometric interpretation of the rolling without slipping conditions.
Let us show that the coordinates (xn , yn ) of the middle of the rear axle of the last trailer constitutes a flat output. One easily verifies, by induction, that the modulus of the velocity ui of the ith trailer satisfies ui = u
i Y
cos(θj−1 − θj ) ,
i = 1, . . . , n
j=1
and that x˙ i = ui cos θi ,
y˙ i = ui sin θi
thus tan θn = or sin θn = xn−1
y˙ n
and cos θn =
y˙ n x˙ n x˙ n
1 . Since, moreover, we have (x˙ 2n + y˙ n2 ) (x˙ 2n + y˙ n2 ) 2 = xn + dn cos θn and yn−1 = yn + dn sin θn , on the one hand, and 1 2
6.3 Flatness and Controllability
141
y˙ n−1 on the other hand, we immediately see that xn−1 and yn−1 x˙ n−1 are expressed in function of xn , yn and their first order derivatives, and that θn−1 is expressed in function of xn , yn and derivatives up to second order. By induction, we show that all the xi and yi can be expressed in function of xn , yn and derivatives of to order n − i, and that the angles θi can also be expressed in function of xn , yn and derivatives up to order n − i + 1, i = 0, . . . n. Finally, we deduce that u is a function of xn , yn and derivatives up to order n + 1 and the same for ϕ up to order n + 2, which achieves the proof of our assertion. This property may be directly verified on Figure 6.5. tan θn−1 =
6.3 Flatness and Controllability Theorem 6.1. A flat system is locally reachable. Proof. Consider the flat system (X, f ). corresponding to x˙ = f (x, u). According to Proposition 4.3, it is locally reachable if the extended system f (x, u) X˙ = F (X, u), ˙ with X = (x, u) and F (X, u) ˙ = , is also lou˙ ∂ cally reachable. Consider then the vector fields F0 (X, u) = f (x, u) ∂x and ∂ ∗ Fi (X, u) = ∂ui , i = 1, . . . , m. They generate a distribution D according to the algorithm 4.15. Let us assume that x˙ = f (x, u) is not reachable, and thus the same for its extended system. It results that the dimension of D∗ is, at every point of a suitable open subset, equal to N0 < n + m. According to Theorem 4.7, the extended system may be represented by (x, u) = χ(ξ, ζ) with dim ξ = N0 , dim ζ = n + m − N0 and ξ˙ = γ1 (ξ, ζ) + ζ˙ = γ2 (ζ)
m X
u˙ i ηi (ξ, ζ)
i=1
where ζ corresponds to the non controllable part. Since the system is flat, one must have ζ = σ(y, y, ˙ . . . , y (r) ) for some integer r. Differentiating this last expression, we get: ∂σ ∂σ ζ˙ = y˙ + . . . + (r) y (r+1) = γ2 (ζ) = γ2 (σ(y, y, ˙ . . . , y (r) )). ∂y ∂y But γ2 ◦ σ doesn’t depend on y (r+1) , which proves that
∂σ ∂y (r)
= 0, so that σ
doesn’t depend on y (r) , or ζ = σ(y, y, ˙ . . . , y (r−1) ). Iterating this process, we conclude that σ neither depends on y nor on its derivatives, which contradicts the flatness property, and the system reachability follows.
142
6 Differentially Flat Systems
Consequently: Corollary 6.1. A linear system is flat if and only if it is controllable. Proof. By Theorem 6.1, a flat system is locally reachable, and, since the dimension of D∗ , for a linear system, is equal to the Kalman controllability matrix rank (see the end of section 4.2.2), a flat linear system is controllable. Conversely, a linear controllable system is equivalent by change of basis and feedback to its Brunovsk´ y canonical form, and thus L-B equivalent to a trivial system, which proves that it is flat. We now study the properties of the tangent linear approximation of a flat system at an equilibrium point: Theorem 6.2. A system is flat at an equilibrium point if and only if it is L-B equivalent to its linear tangent system, the latter being controllable. Moreover, a system is flat at an equilibrium point if it is first order controllable at this point. Proof. Let the system (X, f ) be flat at the equilibrium point (x0 , u0 , 0, . . .). There exists Φ of class C ∞ invertible such that for all y in a neighborhood of (y0 , 0, . . .) of Rm ∞ ,there exists (x, u) in a neighborhood of (x0 , u0 , 0, . . .) in X with Φ(x, u) = y and Φ(x0 , u0 , 0, . . .) = (y0 , 0, . . .). We denote by Xtu (x0 , t0 ) the flow of the vector field f (·, u) corresponding to the smooth function t 7→ u(t) on a suitable interval of time including the initial time t0 , that remains in a suitable neighborhood of x0 . We also denote by Dν Xtu (x0 , t0 ) = limε→0 1ε Xtu+εν (x0 , t0 ) − Xtu (x0 , t0 )) . Setting ξ(t) = Dν Xtu0 (x0 , t0 ), by a standard variational computation, we have ∂f ∂f ξ˙ = (x0 , u0 )ξ + (x0 , u0 )ν ∂x ∂u which means that ξ is an integral curve of the tangent linear system at the equilibrium point (x0 , u0 ). But, according to flatness, we have Φ(Xtu0 +εν (x0 , t0 ), u0 + εν, . . .) = (yε (t), y˙ ε (t), . . .) and Φ(Xtu0 (x0 , t0 ), u0 , 0, . . .) = Φ(x0 , u0 , 0, . . .) = (y0 , 0, . . .). Clearly, ˙ since Φ is differentiable, the limit ζ(t) = (ζ(t), ζ(t), = . . .) u0 +εν u0 1 limε→0 ε Φ(Xt (x0 , t0 ), u0 + εν, . . .) − Φ(Xt (x0 , t0 ), u0 , 0, . . .) = ∂ϕ0 0 limε→0 1ε (yε (t) − y0 , y˙ ε (t), . . .) exists. Therefore, ζ(t) = ∂ϕ ∂x ξ(t) + ∂u ν(t) + ∂ϕ0 ˙ + . . .. The inverse relations giving ξ(t) and ν(t) in function of ζ may ∂ u˙ ν(t) be obtained in the same way. Clearly the tangent manifold of coordinates ˙ . . .) is the trivial manifold, which proves that the system is L-B ζ = (ζ, ζ, equivalent to its tangent linear system and that the latter is controllable, according to Corollary 6.1. Thus the system (X, f ) is first-order controllable. The converse, namely L-B equivalence to its controllable linear tangent system implies flatness, is an obvious consequence of Corollary 6.1 since the controllability of the linear tangent system implies L-B equivalence to a trivial
6.4 Flatness and Linearization
143
system and, by transitivity, that the original system is L-B equivalent to the trivial system, hence flat. Remark 6.2. Fatness may be seen as a generalization to control systems of the hyperbolicity property of equilibrium points of (non controlled) systems, with L-B equivalence in place of topological equivalence, since, according to Hartman-Grobman’s Theorem (Theorem 3.6), at such an equilibrium point, a system is topologically equivalent to is tangent linear system.
6.4 Flatness and Linearization To precise the Theorem 5.3 in the flat case, we introduce the following definition: Definition 6.2. A system is said to be endogenous dynamic feedback linearizable if there exists an endogenous dynamic feedback of the form (5.28) and a diffeomorphism of the extended manifold X × Z that transforms the corresponding closed-loop system in a linear controllable system. Corollary 6.2. Every flat system is endogenous dynamic feedback linearizable. Conversely, every endogenous dynamic feedback linearizable system is flat. Moreover, if the system is given by x˙ = f (x, u) with x in a ndimensional manifold and u of dimension m, there exists integers r1 , . . . , rm Pm with i=1 ri ≥ n such that x and u are given by (r )
(rm ) x = ϕ0 (y1 , y˙ 1 , . . . , y1 1 , . . . , ym , y˙ m , . . . , ym ) (r1 +1) (rm +1) u = ϕ1 (y1 , y˙ 1 , . . . , y1 , . . . , ym , y˙ m , . . . , ym )
(6.23)
and such that the closed-loop system is diffeomorphic to the linear controllable system in canonical form (r +1) y1 1 = v1 .. (6.24) . (rm +1) ym = vm .
Proof. Since the system (X, f ) is L-B equivalent to the trivial system (Rm ∞ , τm ), by Theorem 5.3, there exist an endogenous dynamic feedback and a diffeomorphism that transform the system in the linear controllable system y (ρ) = v for ρ large enough. The converse is obvious since the closed-loop system is L-B equivalent to the trivial system (Rm ∞ , τm ) and since the dynamic feedback is endogenous: x and u can be expressed as functions of y and a finite number of successive derivatives.
144
6 Differentially Flat Systems
Since in (6.23) only appear derivatives of y up to order Pmr1 + 1, . . . , rm + 1, and since the mapping (ϕ , ϕ ) is onto, we get n+m ≤ 0 1 i=1 (ri +1), thus n ≤ Pm r . Moreover, following the same lines as in Theorem 5.3 in the flat case, i i=1 (ri +1) it suffices to set vi = yi to construct the corresponding diffeomorphism and endogenous dynamic feedback, which completes the proof. Remark 6.3. The set of diffeomorphisms and static state feedback being obviously a strict subset of the set of endogenous dynamic feedbacks, the systems that are linearizable by diffeomorphism and static state feedback (often simply called static feedback linearizable) are thus a strict subset of the set of differentially flat systems. In the single input case (m = 1), one can prove that flatness is equivalent to static feedback linearization Charlet et al. [1989, 1991]. The flatness property thus only reveals its richness in the multi-input case, where static state feedback linearization and endogenous dynamic feedback linearization are no more equivalent. The interested reader may verify, e.g., that the pendulum and the non holonomic vehicle examples are flat but not static feedback linearizable (one may use the Jakubczyk-Respondek criterion Jakubczyk and Respondek [1980]. See also Hunt et al. [1983a], Isidori [1995], L´evine [1997], Marino [1986], Marino and Tomei [1995], Nijmeijer and van der Schaft [1990]). We go back to the previous examples and construct the associated linearizing endogenous dynamic feedbacks.
6.4.1 Mass-Spring System (followed) According to (6.2), (6.4), (6.5), (6.6), x1 is a flat output and the input u can be expressed in function of x1 and derivatives up to order 4. Let us set: (4)
x1 = v
(6.25)
and let us show that systems (6.2) and (6.25) are L-B equivalent. According to (6.6), xe have: (4)
x1 = with
k2 (3) u − X(x1 , x˙ 1 , x ¨1 , x1 ) m1 m2
(6.26)
6.4 Flatness and Linearization
145
(3)
X(x1 , x˙ 1 , x ¨1 , x1 ) = m 2 k1 + m2 + m1 x ¨1 + k1 x1 + γ1 (x˙ 1 ) k2 m2 (3) + γ100 (x˙ 1 )(¨ x1 )2 + γ10 (x˙ 1 )x1 k2 1 m1 (3) 0 x + ((k1 + k2 )x˙ 1 + γ1 (x˙ 1 )¨ + γ2 x1 ) k2 1 k2 and the linearizing feedback is given by v = k2 (3) u − X(x1 , x˙ 1 , x ¨1 , x1 ) . Remark that, in this case, we obtain m1 m2 a static feedback.
6.4.2 Robot Control (followed) We verify, as in the previous example, that (6.8) is L-B equivalent to x ¨1 = v (by static feedback as in the previous example).
6.4.3 Pendulum (followed) According to (6.16), it suffices to set ξ (4) = v1 ,
ζ (4) = v2 .
(6.27)
The endogenous dynamic feedback computation is done by identification of the 4th order derivatives of ξ and ζ: we have ξ¨ = u1 sin θ + (u2 + 1) cos θ − εθ˙2 sin θ, ζ¨ = u1 sin θ + (u2 + 1) cos θ − εθ˙2 cos θ − 1 or, with the change of inputs: w1 = u1 sin θ + (u2 + 1) cos θ − εθ˙2 , ξ¨ = w1 sin θ ,
(6.28)
ζ¨ = w1 cos θ − 1.
differentiating again 2 times and setting w2 = −u1 cos θ + (u2 + 1) sin θ we get:
(6.29)
146
6 Differentially Flat Systems
1 ξ (4) = w ¨1 sin θ + w1 w2 cos θ + 2w˙ 1 θ˙ cos θ − w1 θ˙2 sin θ = v1 ε 1 ζ (4) = w ¨1 cos θ − w1 w2 sin θ − 2w˙ 1 θ˙ sin θ − w1 θ˙2 cos θ = v2 . ε inverting this linear system with respect to w ¨1 and w2 , we get
with
w ¨1 = v1 sin θ + v2 cos θ + w1 θ˙2 ε v1 cos θ − v2 sin θ − 2w˙ 1 θ˙ w2 = w1
(6.30)
u1 = (w1 + εθ˙2 ) sin θ − w2 cos θ u2 = (w1 + εθ˙2 ) cos θ + w2 sin θ − 1.
(6.31)
The endogenous dynamic feedback is thus made of a compensator whose state is (w1 , w˙ 1 , w2 ) and for which the system (6.9) is equivalent to (6.27).
6.4.4 Non Holonomic Vehicle (followed) As before, we show that (6.17) is L-B equivalent to x ¨ = v1 ,
y¨ = v2 .
An elementary computation yields: u2 sin θ tan ϕ = v1 l u2 cos θ tan ϕ = v2 y¨ = u˙ sin θ + l x ¨ = u˙ cos θ −
and, after inversion of this linear system with respect to u˙ and tan ϕ, we obtain the endogenous dynamic compensator: u˙ = v1 cos θ + v2 sin θ ,
tan ϕ =
l (−v1 sin θ + v2 cos θ) u2
hence the result.
6.5 Flat Output Characterization We consider the implicit system: F (x, x) ˙ =0
(6.32)
6.5 Flat Output Characterization
147
∂F
with rank ∂ x˙ = n − m in a given neighborhood of an arbitrary trajectory. T Recall that a flat output y is such that y = (y1 , . . . , ym ) = ψ(x, x, ˙ . . . , x(s) ) (r) implies x = ϕ(y, y, ˙ . . . , y ) for some suitably chosen multi-integers r and s, dϕ the equation F (ϕ, dϕ dt ) = 0 being locally identically satisfied, with dt = Lτm ϕ, τm being the trivial Cartan field of order m. The implicit representation (6.32), as opposed to the explicit representation x˙ = f (x, u) (6.33) is invariant by endogenous dynamic feedback extension: Proposition 6.3. System (6.32) is invariant by endogenous dynamic feedback extension. In other words, if the explicit system (6.33) admits the locally equivalent implicit representation (6.32), and if we are given the endogenous dynamic feedback u = a(x, z, v), z˙ = b(x, z, v) (6.34) then the closed-loop system x˙ = f (x, a(x, z, v)),
z˙ = b(x, z, v)
(6.35)
also admits the locally equivalent implicit representation (6.32). Proof. We assume that (6.33) admits the locally equivalent implicit representation (6.32) and that the endogenous dynamic feedback (6.34) is given, with z remaining in Z, a given finite dimensional smooth manifold. By definition of an endogenous dynamic feedback, the closed-loop system (6.35) is Lie-B¨acklund equivalent to (6.33). Thus, there exist finite integers α and β and locally onto smooth mappings Φ and Ψ such that (x, z, v) = Φ(x, u, . . . , u(α) ),
(x, u) = Ψ (x, z, v, . . . , v (β) ).
(6.36)
According to the implicit function Theorem, there exists a locally defined smooth mapping µ such that (6.33) is locally equivalent to (6.32) with ˜ . . . , x(α+1) ) = u = µ(x, x). ˙ Denoting by u(k) = µ(k) (x, x, ˙ . . . , x(k+1) ) and Φ(x, (α) (α+1) Φ(x, µ(x, x), ˙ . . . , µ (x, . . . , x )), we immediately deduce that for every smooth local integral curve t 7→ x(t) of (6.32) passing through an arbitrary point (x0 , x˙ 0 ), using the first relation of (6.36), t 7→ (x(t), z(t)), given ˜ by (x(t), z(t), v(t)) = Φ(x(t), . . . , x(α+1) (t)), is also a smooth local integral curve of the closed-loop system (6.35) passing through (x0 , z0 ) such that ˜ 0 , . . . , x(α+1) ). (x0 , z0 , v0 ) = Φ(x 0 Conversely, if t 7→ (x(t), z(t), v(t)) is a smooth local integral curve of (6.35) passing through (x0 , z0 ), by the second relation of (6.36), we get that (x(t), u(t)) = Ψ (x(t), z(t), v(t), . . . , v (β) (t)) is a smooth local integral curve of (6.33) and, according to the assumption, t 7→ x(t) is also a local smooth integral curve of (6.32) passing through the corresponding point (x0 , x˙ 0 ), which achieves the proof.
148
6 Differentially Flat Systems
6.5.1 The Ruled Manifold Necessary Condition Theorem 6.3 (Sluis [1993], Rouchon [1994]). If System (6.32) is flat, there exists q non zero independent vector fields g1 , . . . , gq , with 1 ≤ q ≤ m, such that q X F (x, x˙ + λj gj ) = 0 (6.37) j=1
for all (x, x, ˙ . . .) in an open dense subset of X, and all λ = (λ1 , . . . , λq ) in a neighborhood of the origin of Rq . Proof. Consider, on the time interval [t0 , t1 ], a flat output y such that for every integral curve x of (6.32), we have (r1 )
x = ϕ0 (y1 , . . . , y1
(rm ) , . . . , ym , . . . , ym )
for some multi-integer r = (r1 , . . . , rm ). We also consider a curve y ∗ such that every component yi∗ is at least C ri +1 , i = 1, . . . , m, and a perturbed curve y˜ whose components are C ri , defined by ∗ (j) if j ≤ ri , ∀t ∈ [t0 , t0 + τ ] (yi ) (t) (j) y˜i (t) = (yi∗ )(j) (t) if j = ri + 1 , ∀t ∈ [t0 , t0 + τ [ ∗ (j) (yi ) (t) + λi if j = ri + 1 , t = t0 + τ with τ such that t0 + τ < t1 and λi ∈] − li , li [, i = 1, . . . , m. The flatness property implies that to y ∗ and y˜ there corresponds x∗ = ϕ0 (y ∗ , y˙ ∗ , . . . , (y ∗ )(r) ),
x ˜ = ϕ0 (˜ y , y˜˙ , . . . , y˜(r) )
(6.38)
which are integral curves of (6.32), i.e. such that F (x∗ (t), x˙ ∗ (t)) = 0,
F (˜ x(t), x ˜˙ (t)) = 0
(6.39)
for all t0 ≤ t ≤ t0 + τ . Conversely, we have y ∗ = ψ0 (x∗ , x˙ ∗ , . . . , (x∗ )(s) ),
(y ∗ )(j) = ψj (x∗ , x˙ ∗ , . . . , (x∗ )(s+j) ), j ≥ 0
for some multi-integer s, and y˜ = ψ0 (˜ x, x ˜˙ , . . . , x ˜(s) ),
y˜(j) = ψj (˜ x, x ˜˙ , . . . , x ˜(s+j) ), j ≥ 0.
It is easily seen that, for t0 ≤ t < t0 + τ , we have x ˜(t) = x∗ (t), and differentiating the second relation of (6.38) with respect to t, we get x ˜˙ (t) = x˙ ∗ (t) and
∀t ∈ [t0 , t0 + τ [
6.5 Flat Output Characterization
149
x ˜˙ (t0 + τ ) = x˙ ∗ (t0 + τ ) m X ∂ϕ0 + λj (r ) (ψ(x∗ (t0 + τ ), x˙ ∗ (t0 + τ ), . . . , (x∗ )(s+r) (t0 + τ ))) ∂yj j j=1 where ψ(x, x, ˙ . . . , x(s+r) ) stands for the (s) (ψ0 (x, x, ˙ . . . , x ), . . . , ψr (x, x, ˙ . . . , x(s+r) )). Thus, denoting by gj (x, x, ˙ . . . , x(s+r) ) =
n X ∂ϕ0,i (rj ) i=1 ∂yj
(ψ(x, x, ˙ . . . , x(s+r) ))
∂ , ∂ x˙ i
vector
j = 1, . . . , m
the gj ’s are not all equal to zero and independent by the surjectivity of ϕ0 , and, using (6.39), condition (6.37) readily follows. Q.E.D. The geometric interpretation of (6.37) is that at every point (x, x) ˙ of the manifold of equation F (x, x) ˙ = 0, an open subset of the plane generated by the vectors (g1 , . . . , gq ) entirely lies in this manifold. Therefore, the manifold F (x, x) ˙ = 0 is locally obtained by rolling the plane generated by (g1 , . . . , gq ) on a submanifold. If q = 1, this plane is just a line, rolling on a hypersurface, hence the name ruled manifold. Example 6.1. We consider the 6th-order dynamical system, with states {ψ, ˙ φ, ˙ ωm , ωr } and two inputs vm and vr , representing a toycopter model φ, ψ, studied in M¨ ullhaupt et al. [2008]: Iψ ψ¨ + Ir ω˙ r = Cm ωm | ωm | −Cr1 ωr | ωr | +Gs sin ψ + Gc cos ψ 1 + Ic φ˙ 2 sin(2ψ) + Im ωm φ˙ cos ψ 2 (Iφ + Ic sin2 (ψ))φ¨ + Im ω˙ m sin ψ = Cr ωr | ωr | sin ψ − Cm1 ωm | ωm | sin ψ −Ic ψ˙ φ˙ sin(2ψ) − Im ωm ψ˙ cos ψ ω˙ m = vm ω˙ r = vr
(6.40)
(6.41) (6.42) (6.43)
We next show that this model is not flat by application of Theorem 6.3. For this purpose, we change the state variables ωm and ωr to the generalized momenta ηm = Iψ ψ˙ + Ir ωr
(6.44)
ηr = (Iφ + Ic sin ψ)φ˙ + Im sin ψωm 2
(6.45)
150
6 Differentially Flat Systems
The Toycopter dynamics reads, when operating such that both ωm > 0 and ωr > 01 : 1 2 η˙ m = Cm ωm − Cr1 ωr2 + Ic sin(2 ψ)φ˙ 2 + Im ωm φ˙ cos ψ 2 + Gs sin ψ + Gc cos ψ 2 η˙ r = Cr ωr2 sin ψ − Cm1 ωm sin ψ
(6.46)
Replacing ωm and ωr in the above equations by the generalized momenta ηm and ηr using (6.44) and (6.45) leads to the implicit system F˜ (˜ x, x ˜˙ ) = 0 ˙ ˙ with the state variables x ˜ = {ψ, φ, ηm , ηr }. Replacing x ˜ by x ˜ + λg where g = ˙ φ, ˙ η˙ m , η˙ r ]T , and using the fact that F˜ (˜ [gψ , gφ , gm , gr ]T and x ˜˙ = [ψ, x, x ˜˙ ) = 0 2 and F˜ (˜ x, x ˜˙ + λg) = 0, gives two polynomial equations in λ, λξ1 + λ ξ2 = 0 and λξ3 + λ2 ξ4 with: 2Cr1 Iψ (ηm − Iψ pψ )gψ Ir2 2 2Cm Im 2 + 2 Iφ + Ic sin ψ − sin(2ψ) ηr Im 4Cm I2 − (Iφ + Ic sin2 ψ)2 + m sin(2 ψ) φ˙ gφ 2Cm
ξ1 = gm −
"
Cm ξ2 = − 2 Im
Iφ + Ic sin ψ sin ψ
2
(6.47)
# cos ψ 2 Cr1 2 2 + Iφ g + 2 Iψ gψ sin ψ φ Ir
2Cr sin ψ Iψ (ηm − Iψ pψ )gψ Ir2 2Cm1 − 2 (Iφ + Ic sin2 ψ)[ηr Im sin ψ
ξ3 = gr +
− (Iφ + Ic sin2 ψ)pφ ]gφ "
Cm1 ξ4 = 2 Im
Iφ + Ic sin ψ sin ψ
2
gφ2
(6.48)
# Cr 2 2 − 2 Iψ gψ sin ψ Ir
These four functions should identically vanish since the associated polynomial equations in λ must be valid independently of the value of λ. It can be verified that ξ2 = 0 and ξ4 = 0 form a system of two equations in the two unknowns gψ2 and gφ2 whose only solution is gψ2 = 0 and gφ2 = 0, thus gψ = gφ = 0. The remaining coefficients ξ1 and ξ3 then force gm = 0 and gr = 0. Therefore, ˜˙ there exists no g vector different from 0 such that F˜ (˜ x, x+λg) = 0 is satisfied for all λ in an open subset of R. Hence, the Toycopter is not flat. 1
This is not restrictive and the other cases lead to the same result.
6.5 Flat Output Characterization
151
6.5.2 Variational Characterization We now follow the approach developed in L´evine [2004], L´evine [2006]. The interested reader may find different approaches in Aranda-Bricaire et al. [1995], Avanessoff and Pomet [2007], Chetverikov [2001], Fossas and Franch [1999], Franch [1999], Martin and Rouchon [1993], van Nieuwstadt et al. [1998], Pereira da Silva [2000], Pomet [1997], Pommaret and Quadrat [1999], Rathinam and Murray [1998], Schlacher and Sch¨ oberl [2007], Shadwick [1990], Sluis and Tilbury [1996]. Theorem 6.4. The implicit system F (x, x) ˙ = 0 is locally flat at (x0 , y 0 ) with x0 ∈ X0 and y 0 ∈ Rm if and only if there exists a locally invertible mapping ∞ Φ from a neighborhood of y 0 in Rm to a neighborhood of x0 in X0 , of class ∞ C ∞ , satisfying Φ(y 0 ) = x0 , and such that locally Φ∗ dF = 0.
(6.49)
Proof. First remark that the implicit representation of a trivial system is given by G ≡ 0 since there is no relation between the components of y and their successive derivatives. If system (X × Rn∞ , τX , F ) is flat at (x0 , y 0 ) , we have F (ϕ0 (y), ϕ1 (y)) = 0 ∂F ∂ϕ0 ∂F ∂ϕ1 ∗ for all y in a neighborhood of y 0 in Rm ∞ . Thus ∂x ∂y dy + ∂ x˙ ∂y dy = Φ dF = 0, by (2.28), hence the necessary condition. Conversely, since Φ∗ dFi = d (Fi ◦ Φ), the Pfaffian system Φ∗ dFi = 0, i = 1, . . . , n − m, is integrable by construction. If we set x = Φ(y), we get that x can be expressed in function of y and a finite number of derivatives and that Fi (x, x) ˙ = ci , the ci ’s being arbitrary constants. Since F (x0 , x˙ 0 ) = F ◦Φ(y 0 ) = 0, these constants vanish. Furthermore, since Φ is invertible, we conclude that the system F (x, x) ˙ = 0 is flat at (x0 , y 0 ). Q.E.D. This result shows that the mapping Φ, if it exists, is characterized by its tangent mapping since the latter’s range must be contained in the kernel of dF : if we denote by Φ = (ϕ0,1 , . . . , ϕ0,n , ϕ1,1 , . . . , ϕ1,n , . . .) (recall that xi = (k)
dk ϕ
ϕ0,i (y) and xi = ϕk,i (y) for all i = 1, . . . , n and k ≥ 1, with ϕk,i = dtk0,i , ∂ϕ0 ∂F ∂ϕ1 ∗ and, by (2.28), Φ∗ dF = ∂F ∂x ∂y dy + ∂ x˙ ∂y dy), the condition Φ dF = 0 reads, in matrix form:
152
6 Differentially Flat Systems
∂ϕ0,1 (j)
∂y1
X j≥0
∂F1 ∂x1
∂F1 ∂xn
···
.. .
∂F1 ∂ x˙ 1
.. .
∂Fn−m ∂x1
.. .
.. .
∂Fn−m ∂Fn−m ∂xn ∂ x˙ 1
···
∂F1 ∂ x˙ n
··· ···
∂Fn−m ∂ x˙ n
···
.. . ∂ϕ0,n · · · (j) ∂y1 ∂ϕ1,1 · · · ∂y(j) 1 .. . ∂ϕ 1,n (j) · · · ∂y1
∂ϕ0,1
(j)
∂ym
.. . ∂ϕ0,n (j)
∂ym ∂ϕ1,1 (j)
∂ym
.. . ∂ϕ1,n
(j) dy1 . . . (j) dym
(j)
∂ym
= 0.
6.5.3 The Polynomial Matrix Approach We introduce the polynomial matrix notations ∂F1 ∂x1
P (F ) = and
∂Fn−m ∂x1
1 d + ∂F ··· ∂ x˙ 1 dt .. . d + ∂F∂n−m x˙ 1 dt · · ·
∂ϕ0,1 dj j≥0 ∂y (j) dtj 1
···
∂ϕ0,n dj j≥0 ∂y (j) dtj 1
···
P P (ϕ0 ) = P
∂F1 ∂xn
∂Fn−m ∂xn
1 d + ∂∂F x˙ n dt .. . ∂Fn−m d + ∂ x˙ n dt
∂ϕ0,1 dj j≥0 ∂y (j) dtj m
P
.. .
.. . ∂ϕ0,n dj j≥0 ∂y (j) dtj m
P
.
Thus Φ∗ dF = 0 reads P (F ).P (ϕ0 )dy = 0
(6.50)
dy1 .. with dy = . . dym (l)
Indeed, since dyk = dxi =
dl dyk dtl
m XX ∂ϕ0,i l≥0 k=1
we get
∂ykl
and since xi = ϕ0,i (y) simultaneously implies (l)
dyk and x˙ i =
dϕ0,i (y) = ϕ1,i (y) dt
6.5 Flat Output Characterization
dx˙ i =
=
=
153
m XX
∂
l≥0 k=1
(l) ∂yk
m XX
∂
l≥0 k=1
(l) ∂yk
m XX ∂ϕ1,i (l) l≥0 k=1 ∂yk
dϕ0,i dt
dϕ0,i dt
(l)
dyk + +
∂ϕ0,i (l)
∂yk !
∂ϕ0,i
! (l+1)
dyk
(l)
(l−1)
∂yk
dyk
(l)
dyk
thus the ith row of P (F ).P (ϕ0 )dy is P (Fi ).P (ϕ0 )dy =
m X n X ∂Fi k=1 j=1
=
m X n XX l≥0 k=1 j=1
=
m X n XX l≥0 k=1 j=1
∂Fi d + ∂xj ∂ x˙ j dt
X ∂ϕ0,j dl dyk (l) dtl l≥0 ∂yk ! dϕ0,j ∂Fi ∂ϕ0,j (l+1) (l) dyk + dy dt ∂ x˙ j ∂y (l) k
∂Fi ∂ϕ0,j (l) ∂Fi ∂ dy + ∂xj ∂y (l) k ∂ x˙ j ∂y (l) k !k ∂Fi ∂ϕ1,j ∂Fi ∂ϕ0,j (l) + dyk = Φ∗ dFi ∂xj ∂y (l) ∂ x˙ j ∂y (l) k
k
k
hence the result. Moreover, since the components of dy are independent by definition, the equation (6.50) is equivalent to P (F )
Φ(y)
.P (ϕ0 ) = P (F ) .P (ϕ0 ) y
x
Ψ (x)
= 0.
(6.51)
This equation is made of the product of two matrices whose entries are polyd with coefficients in the space of C ∞ functions on nomials of the operator dt X0 . For a matrix A whose entries are real numbers, in order to solve the equation AX = 0, where the unknown matrix X is a real matrix with maximal rank, it is well-known that X is obtained by the singular values decomposition of A. Clearly, X is the product of a matrix made of the vectors forming a basis of ker(A) completed by a suitable number of columns of zeros. This kind of solution remains valid for matrices on a ring (see e.g. Cohn [1985]). Unfortunately, the set of polynomials whose coefficients are C ∞ functions doesn’t form a ring (see e.g. Kostrikin and Shafarevich [1980]). This is why we now restrict to the ring of polynomials whose coefficients are meromorphic functions on X0 (recall that a real function is meromorphic if and only if it may be represented as a rational fraction of analytic functions). We thus assume from now on that F is meromorphic on X (endowed with d the trivial Cartan field dt = τX ), as well as Ψ , and Φ on Rm ∞ (endowed with the trivial Cartan field τm ).
154
6 Differentially Flat Systems
d We denote by K the ring of meromorphic functions from X to R, K[ dt ] the d d ring of polynomials in dt with coefficients in K, and Mn,m [ dt ] the module of d the matrices of size n × m on K[ dt ]. d Note that K[ dt ] is non commutative: first recall that its elements are differP P di i ential operators on K of the form i≥0 ai dt i = i≥0 ai LτX with ai ∈ K for d all i. Thus, if p and q belong to K[ dt ], they are two such operators and their d ] by construction, are equal if and products pq and qp, which are also in K[ dt d d only if pqf = qpf for every function f in K. Taking p = dt and q = x dt , we
have pqf =
df d dt (x dt )
2
2
2
d f d d d d = x˙ df ˙ dt + x dt f , or pq = x˙ dt + x dt , 2 2 dt + x dt2 = x 2
2
d df d whereas qpf = x dt ( dt ) = x ddt2f , or qp = x dt 2 6= pq. We thus have to make a clear distinction between right and left products. d d ] (square matrices of size n on K[ dt ]), even if they The matrices of Mn,n [ dt are invertible in the usual sense (all rows or columns linearly independent), d ] since their entries are rational don’t necessarily possess an inverse in Mn,n [ dt d d fractions, but not polynomials in general, of dt . Those matrices of Mn,n [ dt ] d that possess an inverse in Mn,n [ dt ] are called unimodular matrices. They d d form a subgroup, noted Un [ dt ], of Mn,n [ dt ]. d The matrices of Mn,m [ dt ], in spite of their poor algebraic properties compared to matrices on R, nevertheless can be diagonalized according to the so-called Smith decomposition or diagonal decomposition process. More pred d cisely, if M ∈ Mn,m [ dt ], there exist unimodular matrices U ∈ Um [ dt ], d V ∈ Un [ dt ] and a diagonal matrix ∆ of size p × p with p = min(n, m), d whose ith diagonal element di,i ∈ K[ dt ] divides dj,j for all 0 ≤ i ≤ j ≤ p, such that (∆, 0n,m−n) if n < m ∆ V MU = (6.52) if n > m 0n−m,m
with 0r,s the matrix of size r × s whose entries are all 0. This decomposition is non unique. Only the entries of ∆ are uniquely defined up to multiplication by a diagonal matrix with non zero elements of K. In the special case where, in the Smith decomposition process, we obtain a matrix ∆ whose entries are all in K, we say that M is hyper-regular . In this case, up to elementary modifications of the corresponding matrices U and V , we end up with ∆ = Ip , the identity matrix of size p × p. If M is square of size n, saying that M is hyper-regular is equivalent to saying d ]. that M is unimodular, i.e. M ∈ Un [ dt d Given M ∈ Mn,m [ dt ], we note U ∈ R − Smith (M ) if there exists V ∈ d Un [ dt ] such that (6.52) holds true, and V ∈ L − Smith (M ) if there exists d U ∈ Um [ dt ] such that (6.52) holds true. d ] (with n > m) is hyperFrom now on, we assume that P (F ) ∈ Mn−m,n [ dt regular. This property can in fact be interpreted as the controllability of the
6.5 Flat Output Characterization
155
tangent linear system at every point of X0 (see Fliess [1990, 1992], L´evine [2006]).
6.5.4 Practical Computation of the Smith Decomposition Let us precise the conditions of Theorem 6.6. To this aim, we recall some basic properties of polynomial matrices and the Smith decomposition algorithm. We consider matrices of size p × q, for arbitrary integers p and q, over the d ], here the non commutative ring of polynomials of principal ideal domain K[ dt d dt with coefficients in the field K of meromorphic functions on a suitable time d ]. For arbitrary interval I. The set of all such matrices is denoted by Mp,q [ dt d p ∈ N, the set Up [ dt ] of unimodular matrices of size p × p is the subgroup d of Mp,p [ dt ] of invertible elements, namely the set of invertible polynomial matrices whose inverse is also polynomial. The following fundamental result on the transformation of a polynomial matrix over a principal ideal domain to its Smith form (or diagonal reduction) may be found in [Cohn, 1985, Chap.8]): Theorem 6.5. Given a (µ × ν) polynomial matrix A over the non commutad d d tive ring K[ dt ], with µ ≤ ν, there exist matrices V ∈ Uµ [ dt ] and U ∈ Uν [ dt ] such that V AU = (∆, 0) where ∆ is a µ × µ (resp. ν × ν) diagonal matrix whose diagonal elements, (δ1 , . . . , δσ , 0, . . . , 0), are such that δi is a non zero d dt -polynomial for i = 1, . . . , σ, and is a divisor of δj for all σ ≥ j ≥ i. The group of unimodular matrices admits a finite set of generators corresponding to the following elementary right and left actions: • right actions consist of permuting two columns, right multiplying a column by a non zero function of K, or adding the jth column right multiplied by an arbitrary polynomial to the ith column, for arbitrary i and j; • left actions consist, analogously, of permuting two rows, left multiplying a row by a non zero function of K, or adding the jth row left multiplied by an arbitrary polynomial to the ith row, for arbitrary i and j. Every elementary action may be represented by an elementary unimodular matrix of the form Ti,j (p) = Iν + 1i,j p with 1i,j the matrix made of a single 1 at the intersection of row i and column j, 1 ≤ i, j ≤ ν, and zeros elsewhere, with p an arbitrary polynomial, and with ν = m for right actions and ν = n for left actions. One can easily prove that: • right multiplication ATi,j (p) consists of adding the ith column of A right multiplied by p to the jth column of A, the remaining part of A remaining unchanged,
156
6 Differentially Flat Systems
• left multiplication Ti,j (p)A consists of adding the jth row of A left multiplied by p to the ith row of A, the remaining part of A remaining unchanged, −1 • Ti,j (p) = Ti,j (−p), • Ti,j (1)Tj,i (−1)Ti,j (1)A (resp. ATi,j (1)Tj,i (−1)Ti,j (1)) is the permutation matrix replacing the jth row of A by the ith one and replacing the jth one of A by the ith one multiplied by −1, all other rows remaining unchanged (resp. the permutation matrix replacing the ith column of A by the jth one multiplied by −1 and replacing the jth one by the ith one, all other columns remaining unchanged). Every unimodular matrix V (left) and U (right) may be obtained as a product of such elementary unimodular matrices, possibly with a diagonal matrix D(α) = diag{α1 , . . . , αν } with αi ∈ K, αi 6= 0, i = 1, . . . , ν, at the end since Ti,j (p)D(α) = D(α)Ti,j ( α1i pαj ). In addition, every unimodular matrix U is obtained by such a product: its decomposition yields V U = I with V finite product of the Ti,j (p)’s and a diagonal matrix. Thus, since the inverse of any Ti,j (p) is of the same form, namely Ti,j (−p), and since the inverse of a diagonal matrix is diagonal, it results that V −1 = U is a product of elementary matrices of the same form, d which proves the assertion. Moreover, if U has degree K with respect to dt , i.e. K is the maximum polynomial degree of the entries of U , then it can be proved that V has at most degree K(ν − 1) (see Ritt [1935], or, in a more general context, Ollivier [1990] using the Jacobi bound of Kondratieva et al. [1982]. The interested reader may also refer to Ollivier and Brahim [2007]). Going back to the algorithm of decomposition of the matrix A, it consists first in permuting columns (resp. rows) to put the element of lowest degree in upper left position, denoted by a1,1 , or creating this element by Euclidean division of two or more elements of the first row (resp. column) by suitable right actions (resp. left actions). Then right divide all the other elements a1,k (resp. left divide the ak,1 ) of the new first row (resp. first column) by a1,1 . If one of the rests is non zero, say r1,k (resp. rk,1 ), subtract the corresponding column (resp. row) to the first column (resp. row) right (resp. left) multiplied by the corresponding quotient q1,k defined by the right Euclidean division a1,k = a1,1 q1,k + r1,k (resp. qk,1 defined by ak,1 = qk,1 a1,1 + rk,1 ). Then right multiplying all the columns by the corresponding quotients q1,k , k = 2, . . . , ν (resp. left multiplying rows by qk,1 , k = 2, . . . , µ), we iterate this process with the transformed first row (resp. first column) until it becomes T (a1,1 , 0, . . . , 0) (resp. (a1,1 , 0, . . . , 0) where T means transposition). We then apply the same algorithm to the second row starting from a2,2 and so on. To each transformation of rows and columns correspond a left or right elementary unimodular matrix and the unimodular matrix V (resp. U ) is finally obtained as the product of all left (resp. right) elementary unimodular matrices so constructed.
6.5 Flat Output Characterization
157
6.5.5 Flatness Necessary and Sufficient Conditions Let us outline our approach: assume that the system (6.32) is flat at some x0 ∈ X0 . According to (6.51), the n × m polynomial matrix P (ϕ0 ) maps the vector 1-form dy, differential of a flat output y, to the kernel of P (F ), namely P (F )P (ϕ0 )dy = 0, and has a “Lie-B¨ acklund inverse” of size n × m, P (ψ0 ), such that dy = P (ψ0 )dx, with P (ψ0 )P (ϕ0 ) = Im , the identity matrix of size m. Therefore, the rows of P (ψ0 )dx generate an ideal of 1-forms, denoted by Ω, that contains the integrable basis {dy1 , . . . , dym }. To summarize, P (ϕ0 ) is solution of the following polynomial matrix equation, in the unknown Θ, P (F )Θ = 0,
(6.53)
P (ψ0 ) is solution of the following polynomial matrix equation, in the unknown Q, QΘ = Im , (6.54) and the ideal Ω generated by the rows of Qdx, and which is the same for all solution Q of (6.54), contains an integrable basis. More precisely, we introduce the definition: d ]-ideal genDefinition 6.3. if τ1 , . . . , τr are r independent 1-forms, the K[ dt erated by τ1 , . . . , τr is the set made of the combinations with coefficients in d K[ dt ] of the forms η ∧ τi with η arbitrary form of arbitrary degree on X0 and i = 1, . . . , r. d We say that this ideal is strongly closed if and only if there exists M ∈ Ur [ dt ] T such that d(M τ ) = 0 with τ = (τ1 , . . . , τr ) .
We now prove the following: Theorem 6.6. Assume that P (F ) is hyper-regular in a neighborhood of the point x0 ∈ X0 . Every hyper-regular solution Θ of size n × m of (6.53) is given by 0n−m,m ˆW Θ=U W =U (6.55) Im ˆ = U 0n−m,m , and arbitrary W ∈ with U ∈ R − Smith (P (F )), U Im d ]. Um [ dt ˆ of size n × n and Z ∈ Um [ d ] such that 2. There exists Q ∈ L − Smith U dt
1.
Q·Θ =
Im 0n−m,m
Z
(6.56)
ˆ = (0n−m,m , In−m ) Q is equivalent to P (F ), i.e. and that the submatrix Q d ˆ ∃L ∈ Un−m [ dt ] such tha P (F ) = LQ.
158
3.
6 Differentially Flat Systems
A necessary and sufficient condition for the system (6.32) to be flat at d x0 ∈ X0 is that the K[ dt ]-ideal Ω, generated by the 1-forms ω1 , . . . , ωm defined by ω1 ω = ... = (Im , 0m,n−m ) Qdx, (6.57) ωm is strongly closed in a neighborhood of x0 ∈ X0 . Moreover, a flat output is given by the integration of dy = M ω, with M such that d(M ω) = 0.
Proof. The point 1 is a direct consequence of the Smith decomposition of P (F ): since P (F ) is hyper-regular, there exist V ∈ L − Smith (P (F )) and U ∈ R − Smith (P (F )) such that V · P (F ) · U = (In−m , 0n−m,m ), thus V · 0n−m,m d ], which proves (6.55). P (F )·U · W = 0 for every matrix W ∈ U[ dt Im ˆ , who is hyper-regular The point 2 is obtained similarly by decomposing U as the product of a unimodular matrix by an hyper-regular one: let thus Q∈ Im ˆ ˆ ˆ L − Smith U and R ∈ R − Smith U . be such that QU R = . 0n−m,m Im ˆ W , thus QΘ = QU ˆ W = QU ˆ R R−1 W = Since Θ = U Z with 0n−m,m Z = R−1 W unimodular since R, and therefore R−1 , and W are. Moreover, ˆ = 0 which multiplying the latter identity by (0n−m,m , In−m ), we get QΘ ˆ proves, comparing with DF Θ = 0, that Qand DF are equivalent. ω1 .. Concerning the point 3, let ω = . = (Im , 0m,n−m ) Qdx where dx = ωm dx1 .. . and let us show that the strong closedness of Ω, ideal generated
dxn by {ωi |i = 1, . . . , m}, is necessary. Assume that the system (X, τX , F ), with X = X × Rn∞ and τX the associated trivial Cartan field, is flat at (x0 , y 0 ) with x0 ∈ X0 = {x ∈ X|LkτX F = 0 ∀k ≥ 0} and y 0 ∈ Rm ∞ . There exists a Lieto X , with inverse Ψ , satisfying (6.51). B¨acklund isomorphism Φ from Rm 0 ∞ The matrix P (ϕ0 ) is necessarily hyper-regular: since its size is n×m, its Smith ∆m . Assume that ∆m contains polynomial decomposition is equal to 0n−m,m terms of degree ≥ 1. There would exist w 6= 0, linear combination of dyi , i = 1, . . . , m, such that ∆m w = 0, since the latter is a linear differential equation that always has a local non zero integral curve, which would imply that there exists a differential equation relating the dyi ’s who are independent by definition, which is absurd, and proves that P (ϕ0 ) is hyper-regular. According to (6.55) and (6.76), one can take Θ = P (ϕ0 ). According to 2, we have
6.5 Flat Output Characterization
159
Im Z. Left-multiplying this identity by (Im , 0m,n−m ) 0n−m,m ˜ = (Im , 0m,n−m )Q, yields: Q ˜ · P (ϕ0 ) = Z. Moreover, since x = and setting Q ϕ0 (y), taking the differentials of both sides, we get dx = P (ϕ0 )dy. We easily ˜ =Q ˜ · P (ϕ0 )dy = Zdy, or in other words, dy = Z −1 ω. verify that ω = Qdx Taking the exterior derivative of this last expression, since d2 y = 0, we get d ]-ideal Ω is strongly closed. d(Z −1 ω) = 0, which proves that the K[ dt ˆ Conversely, assume that U ∈ R − Smith (P (F )), Q ∈ L − Smith U Q · P (ϕ0 ) =
˜ and that Ω, generated by ω = Qdx, is strongly closed in a neighbord hood V0 of x0 ∈ X0 . Let M ∈ Um [ dt ] be such that d(M ω) = 0 and set η = M ω. The m 1-forms η1 , . . . , ηm are independent in V0 and generate Ω. Since these 1-forms depend only on a finite number of derivatives of x, in the corresponding finite dimensional jet manifold, since dηj = 0 for all j = 1, . . . , m, according to Poincar´e’s Lemma, there exists a mapping ˜ Moreover ψ0 is meroψ0 ∈ C ∞ (X0 ; Rm ) such that dψ0 = η = M ω = M Qdx. for all x ∈ V0 , and morphic in V since its differential is. Setting y = ψ (x) 0 0 dψ0 d2 ψ0 Ψ = ψ0 , dt , dt2 , . . . = (ψ0 , ψ1 , ψ2 , . . .), it remains to prove that Ψ is the desired Lie-B¨acklund isomorphism. ˜ Q ˜ = ˆ with Q Since Q ∈ L − Smith U , noting as before Q = ˆ Q ˆ = (0n−m,m , In−m ) Q, let R ∈ R − Smith U ˆ be such (Im , 0m,n−m )Q and Q ˜U ˆ R = Im and Q ˆU ˆ R = 0n−m,m . We set W = RM −1 . Thus Q ˜U ˆW = that Q −1 ˆU ˆ W = 0n−m,m , which, combined with dψ0 = M Qdx, ˜ M and Q yield ˜ ˆ ˜ ˆ ˆ ˜ QU W dψ0 = Qdx and QU W dψ0 = 0n−m . Thus, there exists dz ∈ ker(Q) ˆ ˆ such that U W dψ0 = dx + dz. But, since Q is equivalent to P (F ), we get ˆ ˆU ˆ W dψ0 = 0 = Qdx ˆ + Qdz ˆ = Qdz, ˆ Qdx = LP (F )dx = 0 on X0 and thus Q ˆ ˜ which implies that dz ∈ ker(Q) ∩ ker(Q) = {0}. We have thus proven that ˆ W dψ0 with W = RM −1 . Denoting by σi the highest polynomial dedx = U d ˆ W . We must have n ≤ m + σ1 + . . . + σm gree in dt of the ith column of U ˆ to guarantee that the matrix U W , considered as the matrix Ξ whose enˆ W )k , the index k corresponding to the kth order term in d tries are (U i,j dt ˆ W )i,j , and that maps Rσ1 +1 × . . . × Rσm +1 to Rn , of the polynomial (U σ is onto. Furthermore, denoting by σ = max(σi |i = 1, . . . , m) and y = (0) (σ1 ) (0) (σm ) ∂x y1 , . . . , y1 , . . . , ym , . . . , ym , we have Ξ = ∂yσ , and rank (Ξ) = n. Thus, noting ψj =
dj ψ0 dtj
for all j, the implicit system y = ψ0 (x) y˙ = ψ1 (x) .. . y (σ) = ψσ (x)
160
6 Differentially Flat Systems
has rank n with respect to x since its Jacobian matrix is the pseudo-inverse of Ξ. According to the implicit function Theorem, there exists a local solution given by x = ϕ0 (y, . . . , y (σ) , x, ˙ . . . , x(ρ) ) for some suitably chosen integer ρ. But, taking the differential of ϕ0 , and using the fact that dF and all its derivatives vanish on X0 , and thus P (F )dx = 0, comparing to (6.53), with Θ = P (ϕ0 ), we find that ϕ0 is independent of (x, ˙ . . . , x(ρ) ), or x = ϕ0 (y). d Thus the inverse of Φ = (ϕ0 , dt ϕ0 , . . .) is Ψ , and y so obtained is clearly a flat output, which completes the proof. Corollary 6.3. The vector 1-form ω, defined by (6.57), is a flat output of the variational system P (F )dx = 0. ˜ = Proof. Assume that dx satisfies P (F )dx = 0. Denoting by Q ˜ (Im , 0m,n−m ) Q, (6.57) reads ω = Qdx. By Theorem 6.6, point 2, since d ˜ dx − U ˆ Rω = 0, which ˜U ˆ R = Im for some R ∈ Um [ ], we have Q Q dt
˜ such that dx = U ˆ Rω + ζ. But, proves that there exists a 1-form ζ ∈ ker Q ˆ with L ∈ Un−m [ d ] again by Theorem 6.6, point 2, we have P (F ) = LQ dt ˆ = (0n−m,m , In−m ) Q, which yields that 0 = L−1 P (F )dx = Qdx ˆ and Q = ˆU ˆ Rω + Qζ. ˆ Since Q ˆU ˆ = 0, we immediately get that ζ ∈ ker Q ˜ ∩ ker Q ˆ = {0} Q ˆ Rω. Therefore, dx can be expressed as a function of ω and succesand dx = U sive derivatives, and ω may be expressed as a function of dx and successive derivatives.
6.5.6 The Operator d We now want to obtain a necessary and sufficient condition for strong closedd ness of the K[ dt ]-ideal Ω. However, we first need to introduce some new tools to establish a Leibnitz-like formula for the exterior derivative d(M τ ) of the d product of a matrix M ∈ Um [ dt ] with a vector 1-form τ for the following reason: If M , in Definition 6.3, is a matrix on K, i.e. with entries that are merod morphic functions, or, otherwise stated, 0-degree polynomials w.r. t. dt , the Leibnitz formula holds true d(M τ ) = dM ∧ τ + M dτ
(6.58)
where dM is the matrix of 1-forms whose entries are the exterior derivatives of the entries of M . But, since we consider here polynomial matrices M (i.e. d matrices on K[ dt ]), their exterior derivatives remain to be defined. We thus introduce a new operator d, extending the exterior derivative operator d to polynomial matrices, such that the Leibnitz formula (6.58) is satisfied. For this purpose, let us introduce some notations. First, let us denote by m Λp (X) the module of all the p-forms on X, by (Λp (X)) the space of all
6.5 Flat Output Characterization
161 m
the m-dimensional vector p-forms on X, by (Λ(X)) the space of all the mm dimensional vector forms of arbitrary degree on X, and by Lq ((Λ(X)) ) = m m p p+q L (Λ (X)) , (Λ (X)) , p ≥ 1 , the space of all linear operators from m m (Λp (X)) to (Λp+q (X)) for all p ≥ 1, where L (P, Q) denotes the set of linear mappings from a given space P to a given space Q. We define, as announced, the operator d by: d (H) κ = d(Hκ) − Hdκ
(6.59)
m
for all m-dimensional vector p-form κ in (Λp (X)) and all p ≥ 1. Therefore m (6.59) uniquely defines d (H) as an element of L1 ((Λ(X)) ). m m We can prolong d for all µ ∈ Lq ((Λ(X)) ) and for all κ ∈ (Λp (X)) and all p ≥ 1 by the formula: d (µ) κ = d(µ κ) − (−1)q µ dκ.
(6.60)
To interpret the latter formula, we remark that an arbitrary element µ ∈ m Lq ((Λ(X)) ) is an m × m matrix whose (i, j)-th entry reads µi,j =
X
µi,j,k ∧
k≥0
dk , dtk
i, j = 1, 2, . . . , m
(6.61)
where µi,j,k ∈ Λq (X) for every i, j = 1, . . . , m, k ≥ 0, and that, for every m κ ∈ (Λp (X)) , the ith component of µκ is given by (µκ)i =
m XX
µi,j,k ∧ LkτX κj
k≥0 j=1
which is a (p + q)-form for every i = 1, . . . , m. It is thus straightforward to check that the (i, j)th entry d (µ)i,j of d (µ) is given by X dk d (µ)i,j = dµi,j,k ∧ k . (6.62) dt k≥0
Indeed, by (6.60), we have, for every i = 1, . . . , m, m m XX XX (d (µ) κ)i = d µi,j,k ∧ LkτX κj − (−1)q µi,j,k ∧ LkτX dκj k≥0 j=1
=
m XX
k≥0 j=1
dµi,j,k ∧ LkτX κj + (−1)q
k≥0 j=1
m XX k≥0 j=1
−(−1)q
m XX k≥0 j=1
µi,j,k ∧ LkτX dκj
µi,j,k ∧ LkτX dκj
162
6 Differentially Flat Systems
hence the result. The operator d enjoys the following properties: m
m
Proposition 6.4. For all µ ∈ Lq ((Λ(X)) ), all q ∈ N and all κ ∈ (Λp (X)) , with p ≥ 1 arbitrary, we have d (d (µ)) κ = 0.
(6.63)
In other words d2 = 0, i.e. d is a complex. m
Proof. According to (6.60), replacing µ by d (µ) ∈ Lq+1 ((Λ(X)) ), we get d (d (µ)) κ = d (d (µ) κ) − (−1)q+1 d (µ) dκ.
(6.64)
Since, again with (6.60), d (d (µ) κ) = d2 (µ κ) − (−1)q d (µ dκ) and, since d2 = 0, we have d (d (µ)) κ = −(−1)q d (µ) dκ + (−1)q µ d2 κ − (−1)q+1 d (µ) dκ = −(−1)q d (µ) dκ + (−1)q d (µ) dκ = 0 the result is proven. We also have: m
d ] and all µ ∈ Lq ((Λ(X)) ), with arbiProposition 6.5. For all H ∈ Um [ dt trary q ≥ 0, we have
d (H) µ + Hd (µ) = d (Hµ) .
(6.65)
m
In particular, if µ = −H −1 d (H) ∈ L1 ((Λ(X)) ), we have d (µ) = µ2 . m
d ], κ ∈ (ΛpK (X)) Proof. Let H ∈ Um [ dt arbitrary. (6.59) and (6.60), yield
d (H) µκ = d(Hµκ) − Hd(µκ),
(6.66) m
and µ ∈ Lq ((Λ(X)) ), with q ≥ 0 d(µκ) = d (µ) κ + (−1)q µdκ
or d (H) µκ = d(Hµκ) − Hd (µ) κ − (−1)q Hµdκ. In other words: (d (H) µ + Hd (µ) ) κ = d(Hµκ) − (−1)q Hµdκ = d (Hµ) κ. m
This relation being valid for all κ ∈ (ΛpK (X)) and all p ≥ 1, we immediately deduce (6.65). m If now µ = −H −1 d (H) ∈ L1 (ΛpK (X)) , we get −Hµ = d (H) and thus, according to what precedes,
6.5 Flat Output Characterization
163
d (Hµ) = d (H) µ + Hd (µ) = −d2 (H) = 0 or Hd (µ) = −d (H) µ, or also d (µ) = −H −1 d (H) µ = µ2 , which achieves the proof.
6.5.7 Strong Closedness Necessary and Sufficient Conditions d Theorem 6.7. The K[ dt ]-ideal Ω generated by the 1-forms ω1 , . . . , ωm defined by (6.57) is strongly closed in X0 (or, equivalently, the system (X, τX , F ) m d ] is flat) if and only if there exists µ ∈ L1 ((Λ(X)) ), and a matrix M ∈ Um [ dt such that dω = µ ω, d (µ) = µ2 , d (M ) = −M µ. (6.67)
where ω is the vector of 1-forms defined by (6.57). In addition, if (6.67) holds true, a flat output y is obtained by integration of dy = M ω. Proof. If d(M ω) = 0, according to (6.59), we have d (M ) ω = −M dω or m dω = −M −1 d (M ) ω. Setting µ = −M −1 d (M ) ∈ L1 ((ΛK (X)) ), which is −1 equivalent to the last relation of (6.67), we have dω = −M d (M ) ω = µ ω. The conditions (6.67) are thus immediately deduced from (6.66). Conversely, from the last identity of (6.67), we get −M −1 d (M ) = µ. Its combination with the first one yields dω = −M −1 d (M ) ω, or M dω = −d (M ) ω and, according to (6.59), we immediately get that d(M ω) = 0, i.e. Ω is strongly closed. d Finally, if there exists a matrix M ∈ Um [ dt ] such that d(M ω) = 0, By Poincar´e’s Lemma, there exist m functions y1 , . . . , ym such that dy = M ω, which achieves the proof. Remark 6.4. Condition (6.67) may be seen as a generalization in the framework of manifolds of jets of infinite order of the well-known moving frame structure equations (see e.g. Chern et al. [2000]). Proposition 6.6. The differential system dω = µ ω,
d (µ) = µ2
(6.68)
m
always admits a solution µ ∈ L1 ((Λ(X)) ). Proof. µ may be represented as an m × m matrix whose (i, j)th entry has the form K X dk µi,j = µki,j ∧ k dt k=0
with
µki,j
1
∈ Λ (X) for i, j = 1, . . . , m and k = 0, . . . , K for some finite K.
164
6 Differentially Flat Systems
Thus, dω = µω reads dωi =
m X K X
(k)
µki,j ∧ ωj ,
i = 1, . . . , m
(6.69)
j=1 k=0
and the (i, j)th entry of µ2 = µµ is given by µ2
i,j
=
m X K X K k+r X X l=1 k=0 r=0 s=1
k k+r−s
µki,l ∧ µrl,j
(k+r−s)
∧
ds dts
p p! with the notation = q!(p−q)! . On the other hand, using (6.62), d(µ) is q the m × m matrix whose (i, j)th entry is d(µ)i,j =
K X
dµki,j ∧
k=0
dk dtk
where dµki,j is the “ordinary” exterior derivative of the 1-form µki,j . Therefore, the second equation of (6.68) reads, after identification of the polynomial terms on both sides: dµki,j =
m X K X
k X
l=1 s=0 r=max(k−s,0)
0
=
K m X X
s s+r−k
µsi,l ∧ µrl,j
(s+r−k)
,
i, j = 1, . . . , m, k = 0, . . . , K K X (s+r−k) s µsi,l ∧ µrl,j , s+r−k
(6.70)
l=1 s=k−K r=k−s
i, j = 1, . . . , m, k = K + 1, . . . , 2K which proves that the system (6.68) is equivalent to (6.69)-(6.70). This differential system is algebraically closed: applying the operator d to the right-hand side of both equations of (6.68), we indeed obtain d(µω) = d(µω) = d(µ)ω − µdω = µ2 ω − µ2 ω = 0, and d(µ2 ) = d(µ)µ − µd(µ) = µ3 − µ3 = 0. Expressing the polynomial coefficients of the latter expressions d and using the fact that d and dt commute, they turn out to be identically equal to the exterior differentials of the right-hand sides of (6.69)-(6.70), which are thus equal to 0. This completes the proof of the algebraic closedness of (6.69)-(6.70). It remains to precise the coordinate system in which it is expressed. Let us remark, on the one hand, that the coordinates of Tx∗ X are such that n X dk ∂Fi ∂Fi dx + d x ˙ = 0, j j dtk ∂xj ∂ x˙ j j=1
i = 1, . . . , n − m, k ≥ 0.
(6.71)
6.5 Flat Output Characterization
165
Thus, by the implicit function theorem and up to a permutation of {1, . . . , n}, (k) (k) the set {dx1 , . . . , dxn , dx˙ 1 , . . . , dx˙ m , . . . , dx1 , . . . , dxm . . .} forms a basis of T∗x X. ˜ (using the notations of Corollary 6.3) for On the other hand, since ω = Qdx dx satisfying (6.71), the ith component ωi of ω has the form ωi =
n X
0 ωi,j dxj +
j=1
Kω m X X
(k)
k ωi,j dxj
j=1 k=1
k for some finite integer Kω and where the ωi,j ’s are meromorphic functions (α)
(α)
of (x1 , . . . , xn , . . . , x1 , . . . , xn ) for some α. Thus dωi is a 2-form that, af(k) ter substitution of the dxi for i = m + 1, . . . , n and k = 1, . . . , α using (k) (6.71), is a combination of dxi ∧ dxj , i < j, dxi ∧ dxj , i = 1, . . . , n, j = (k)
(l)
1, . . . , m, k = 1, . . . , max(α, Kω ), and dxi ∧ dxj , i, j = 1, . . . , m, k, l = 1, . . . , max(α, Kω ), k 6= l whose coefficients are meromorphic functions of (α) (α) the coordinates (x1 , . . . , xn , . . . , x1 , . . . , xn ). According to (6.69)-(6.70), it results that there exists some finite integer K such that all the coefficients of the µki,j ’s and dµki,j ’s may be considered as meromorphic functions of (x, . . . , x(K) ). Identifying in (6.69)-(6.70) the coefficients of all the monomial (k) (l) forms dxi ∧ dxj , we obtain a set of first order partial differential equations (PDE’s) in the unknown functions µki,j , i, j = 1, . . . , m, k = 0, . . . , K of the finite jet coordinates (x, . . . , x(K) ). This equivalent differential system (6.69)-(6.70) being algebraically closed, according to Frobenius Theorem, the system of PDE’s admits a local solution in an open dense subset of the jet manifold of coordinates (x, . . . , x(K) ). Corollary 6.4. The differential system (6.67) always admits a solution µ ∈ m d L1 ((Λ(X)) ) and M ∈ Mm,m [ dt ]. Proof. The proof follows the same lines as Proposition 6.6, the only difference relying on the closedness of the associated exterior system. The latter property follows the fact that, applying the operator d to the right-hand side of d(M ) = −M µ, we get −d(M )µ − M d(µ) = M µ2 − M µ2 = 0 and the result is proven. d Remark 6.5. In the previous Corollary, the existence of M ∈ Mm,m [ dt ] is not sufficient for flatness since it doesn’t guarantee that M is unimodular. d ]. Therefore, the only restrictive condition in Theorem 6.7 is that M ∈ Um [ dt
Note that the conditions (6.67) provide an effective algorithm to compute the matrix M and hence a flat output:
166
6 Differentially Flat Systems
Algorithm. 1. We first compute a vector 1-form ω defined by (6.57). 2. We compute the operator µ such that dω = µω by componentwise identification. Such µ always exist in virtue of Corollary 6.3: the ωj ’s are naturally obtained as combinations of the dxi ’s and derivatives. By exterior differentiation, every component dωj of dω can also be expressed in terms of the dxi ’s and derivatives. Since the dxi ’s satisfying the variational system can be expressed in terms of the ωj ’s and derivatives, it results that the dωj ’s are combinations of the ωj ’s and derivatives, hence the result. 3. Among the possible µ’s, only those satisfying d (µ) = µ2 are kept. Such µ’s always exist by Proposition 6.6. 4. We then compute M such that d (M ) = −M µ, still by componentwise identification. 5. Finally, only those matrices M which are unimodular are kept. If there are no such M , the system is non flat. In the opposite case, a flat output is obtained by the integration of dy = M ω which is possible since d(M ω) = 0. Remark 6.6. A non flat system is characterized by d(M ω) 6= 0 for all M ∈ d ]. In this case, there exists a non zero m-dimensional vector 2-form Um [ dt d τ (M ) such that d(M ω) = τ (M ) for all M ∈ Um [ dt ]. Setting $ = M −1 τ (M ), the 2-form $ is clearly uniquely defined modulo (Ω, dΩ): indeed, if M1 and d M2 are in Um [ dt ] and if we denote by τi = d(Mi ω), $i = Mi−1 τi and µi = −1 −Mi d (Mi ), i = 1, 2, we have d(Mi ω) = d (Mi ) ω + Mi dω = τi , i = 1, 2, or dω = Mi−1 (τi − d (Mi ) ω) = $i + µi ω, so that $1 − $2 = (µ2 − µ1 ) ω, or $1 − $2 = 0 modulo (Ω, dΩ), since, from (6.59), it is easily seen that (µ2 − µ1 ) ω is a combination of elements of Ω and dΩ. We thus have : Theorem 6.8. A system is non flat if and only m if for every matrix M ∈ d ] there exists a non zero $(M ) ∈ Λ2 (X) such that: Um [ dt dω = µ(M )ω + $(M ),
d$(M ) = µ(M )$(M ),
d (µ(M )) = µ2 (M ) (6.72)
with µ(M ) = −M −1 d (M ). Proof. Since d (M ) ω + M dω = τ (M ) 6= 0 for all M , we get dω = M −1 τ (M ) + µ(M )ω = $(M ) + µ(M )ω after having noted M −1 τ (M ) = $(M ), the first relation of (6.72) follows. By exterior differentiation, we get: 0 = d$(M ) + d (µ(M )) ω − µ(M )dω. According to Proposition 6.5, we deduce that d (µ(M )) = µ2 (M ) (last relation of (6.72)) since, by definition, µ(M ) = −M −1 d (M ). Thus 0 = d$(M ) + µ2 (M ) − µ(M ) ($(M ) + µ(M )ω), which proves the second relation of (6.72), and (6.72) is proven. Conversely, if (6.72) is valid with $(M ) 6= 0 for all M , we have d(M ω) = d (M ) ω + M dω or d(M ω) = −M µ(M )ω + M ($(M ) + µ(M )ω) = M $(M ) = τ (M ) 6= 0
6.5 Flat Output Characterization
167
d for all M ∈ Um [ dt ], which achieves the proof.
Therefore, one may introduce the equivalence relation “two systems are equivalent if and only if they have the same ideal Ω and their 2-forms $ are equal modulo (Ω, dΩ)”, which suggests that it is possible to classify the non flat systems. In particular, a system has a non zero defect (see Fliess et al. [1999]) if and only if it admits a non zero 2-form $ modulo (Ω, dΩ), that might be interpreted as a generalized curvature (as opposed to flatness).
6.5.8 Flat Outputs of Linear Controllable Systems Theorem 6.6 indeed applies to linear systems. Moreover, in the case of linear controllable systems, we are assured that the flatness necessary and sufficient conditions are fulfilled, with one simplification: if we are looking for a linear flat output, i.e. such that x can be expressed as a linear combination of the components of y and a finite number of its derivatives, which we know always exists (see e.g. the Brunovsk´ y canonical form), the strong closedness condition is always satisfied since a linear combination (with constant coefficients) of the Pn Pn dxi ’s, say dz = i=1 ai dxi , is always closed (its integral is z = i=1 ai xi ). Remark 6.7. Note that, even in the linear case, there exists nonlinear flat outputs i.e. such that x = Φ(y) with Φ nonlinear. For instance, the linear system x˙ 1 = u1 , x˙ 2 = u2 is flat with y1 = x1 , y2 = x2 as flat output, but we can choose as well x1 = y10 + (y20 )2 , x2 = y20 since u1 = y˙ 10 + 2y2 y˙ 20 , u2 = y˙ 20 and y10 = x1 − x22 , y20 = x2 . Let us now specialize Theorem 6.6 in the linear case (see also L´evine and Nguyen [2003]). We are given a linear system in the form x˙ = Ax + Bu
(6.73)
with A of size n × n, B of size n × m and rank (B) = m. According to our approach, we first eliminate the input u. For this purpose, let us introduce a matrix C of size n × (n − m) with rank (C) = n − m, such that C T B = 0. Left-multiplying both sides of the system equations by C T we get C T (x˙ − Ax) = 0 which plays the role of (6.32), and in polynomial form: C T (In d Thus, P (F ) = C T (In dt − A).
d − A)x = 0. dt
(6.74)
168
6 Differentially Flat Systems
Theorem 6.9. Assume that the linear system (6.73) is controllable. Every solution Θ of P (F )Θ = 0 is given by 0n−m,m ˆW Θ=U W =U (6.75) Im d ˆ = U 0n−m,m , and W ∈ Um [ d ] − A) , U with U ∈ R − Smith C T (In dt dt Im ˆ of size n × n, we have arbitrary. Moreover, let Q ∈ L − Smith U Q·Θ =
Im 0n−m,m
Z
(6.76)
d ], and a flat output y is given by with Z ∈ Um [ dt
y = (Im , 0m,n−m ) Qx,
ˆ y. x=U
Proof. Direct consequence of Theorem 6.6 and of linearity.
Ressort
M
F
Platine
k Sol
MB -F r
Base
Amortisseur passif
O
x
xB
Fig. 6.6 Base-stage high-precision positionning system
Example 6.2. We consider a motorized stage2 (see figure 6.6) of mass M moving without friction along a rail fixed to the base, whose mass is MB , itself related to the ground in an elastic way, with stiffness coefficient k and damping r. The base is assumed to move along a parallel axis to the rails. Let us denote by xB the abscissa of the center of mass of the base and by x the abscissa of the center of mass of the stage in a fixed coordinate frame. We note F the force applied to the stage, delivered by the motor. F is the 2
This application was the subject of the European Patent N. 00400435.4-2208 and US Patent N. 09/362,643, registered by Newport Corporation.
6.5 Flat Output Characterization
169
control input. The position of the center of mass of the setup stage+base is B xB +M x . According to Newton’s second principle, we have: xG = MM B +M (MB + M )¨ xG = −kxB − rx˙ B or:
Mx ¨=F MB x ¨B = −F − kxB − rx˙ B
(6.77)
which yields 2
d M dt 0 2 d2 d 0 MB dt + r dt +k 2
!
x xB
=
1 −1
F.
! d2 M 0 1 2 d dt ]= and B = . We set A[ dt d2 d −1 0 MB0 dt 2 + r dt + k Note that this system is made of second degree polynomials with respect d as a consequence of the second principle, whereas the above Theorem to dt d is stated for first-order systems (In dt − A)x = Bu. However, the reader may easily verify that Theorem 6.9 holds true for systems of any degree with d respect to dt . Moreover, this second-order form is more convenient for our computations since we are dealing with smaller matrices (n=2, whereas n=4 for the system expressed as a first-degree one). To eliminate the input F , we compute a matrix C orthogonal to B: C T = 1 1 . The implicit system equivalent to (6.77) is thus x d x d2 d d2 = M dt C T A[ ] = 0. (6.78) M + r + k 2 B dt2 dt xB dt xB Θ1 We are thus looking for a polynomial matrix Θ = , solution of Θ2 Θ d 1 d2 d d2 C T A[ ]Θ = M dt =0 (6.79) 2 MB dt2 + r dt + k Θ2 dt or
d d2 d2 M 2 Θ1 = − MB 2 + r + k Θ2 . dt dt dt
We could apply the Smith decomposition of Theorem 6.9, but we leave it to the reader since, in this case, a direct computation turns out to be much simpler and gives a slightly different perspective in terms of Euclidean division. d2 d2 d Since the polynomials M dt 2 et MB dt2 + r dt + k are mutually prime, By the Gauss divisibility Theorem, we get
170
6 Differentially Flat Systems
1 d d2 1 d2 Θ1 = MB 2 + r + k , Θ2 = − M 2 . k dt dt k dt x x and xB are thus given by = Θy, or xB d d2 MB r MB 2 + r + k y = y¨ + y˙ + y, dt dt k k M d2 M xB = − y = − y¨ k dt2 k and F = M MkB y (4) + kr y (3) + y¨ . Finally, inverting (6.81), we get 1 x= k
y =x−
(6.80)
(6.81)
r 1 r2 MB r x˙ + (MB − )xB − x˙ B . k M k Mk
6.5.9 Examples Example 6.3. Let us go back to the non holonomic vehicle: F = x˙ sin θ − y˙ cos θ = 0. Its differential is P (F ) = and
sin θ
d dt
− cos θ
d dt
x˙ cos θ + y˙ sin θ
(6.82)
dx P (F ) dy = 0. dθ
The Smith decomposition calculations are as follows: at each step, the matrices on the left part of the page result from a previous computation and the matrices on the right part are the corresponding transformations. We have: 1. d d − cos θ dt x˙ cos θ + y˙ sin θ sin θ dt
001 0 1 0 = U1 100
6.5 Flat Output Characterization
171
2. d d sin θ dt x˙ cos θ + y˙ sin θ − cos θ dt
cos θ d x˙ cos θ+y˙ sin θ dt
1
sin θ d − x˙ cos θ+y˙ sin θ dt 0
= U2 0
1 0
0
1
x˙ cos θ + y˙ sin θ 0 0 .
3.
Thus P (F )U = ∆ 0 0 with
0 U = U1 U2 = 0 1
0 1
1 0
cos θ d x˙ cos θ+y˙ sin θ dt
θ d − x˙ cossin θ+y˙ sin θ dt
and ∆ = x˙ cos θ + y˙ sin θ. Note that here(n-m=1) the matrix V of the triplet (U, V, ∆) is useless and that ∆ is a scalar. 0 1 ˆ = U 01,2 = 1 where I2 is the iden0 We thus have U I2 sin θ d cos θ d − ∆ dt ∆ dt tity matrix of R2 . The same algorithm is applied (this time on the left) to compute Q ∈ ˆ : L − Smith U 0 1 0 0 0. Q= 1 sin θ d cos θ d ∆ dt − ∆ dt 1 dx dy . The last row is Let us multiply Q by dθ 1 1 ˙ − cos θdy˙ + (x˙ cos θ + y˙ sin θ)dθ) = ∆ d(x˙ sin θ − y˙ cos θ) and ∆ (sin θdx is precisely the system itself, thus identically 0 on X 0. dx dx ω 0 1 0 dy 1 dy = The two first rows of Q dy are = . ω2 100 dx dθ dθ The ideal Ω is thus generated by (dx, dy) and is trivially strongly closed, choosing the matrix M = I2 . We thus find the flat output components y1 = y and y2 = x, already found in section 6.2.4. Example 6.4. The non holonomic car (continued).
172
6 Differentially Flat Systems
Other decompositions of P (F ), given by (6.82), may indeed be obtained, but they are all equivalent in the sense that one decomposition may be deduced from another one by multiplication by a unimodular matrix. However, the resulting vector 1-form ω, contrarily to what happens in the previous example, may not be integrable. Our aim is here to show how the generalized moving frame structure equations (6.67) may be used to obtain an integrable M ω. Such an example is provided by restarting theright-Smith decomposi cos θ 0 0 tion of P (F ) by right-multiplying it by sin θ 1 0 and using the formula 0 01 d d ˙ we obtain (cos θ) − cos θ dt (sin θ) = −θ, sin θ dt d cos θ − θ1˙ cos2 θ dt 1 d U = sin θ 1 − θ˙ sin θ cos θ dt 0 0
d − θ1˙ cos2 θ dt ˆ = 1 − 1 sin θ cos θ d U dt θ˙ 0 ˆ : and then Q ∈ L − Smith U
1 θ˙ 1 θ˙
1 θ˙ 1 θ˙
(x˙ cos θ + y˙ sin θ) cos θ (x˙ cos θ + y˙ sin θ) sin θ , 1
(x˙ cos θ + y˙ sin θ) cos θ (x˙ cos θ + y˙ sin θ) sin θ 1
− tan θ 1 0 . 0 0 1 Q= d d − θ1˙ sin θ cos θ dt − θ1˙ cos2 θ dt − θ1˙ (x˙ cos θ + y˙ sin θ) cos θ
The vector 1-form ω = (ω1 , ω2 )T is obtained by multiplying the two first lines of Q by (dx, dy, dθ)T : ω1 = − tan θdx + dy and ω2 = dθ. We have dω1 = − cos12 θ dθ in order that dω = µω, a possible Hence, ∧ dx 1and dω2 = 0. 0 cos2 θ dx + ηdθ ∧ choice is µ = where η is an arbitrary meromorphic 0 0 sin θ function. One can verify that µ is admissible if η = −2 xcos 3 θ to ensure that 2 d(µ) = 0 = µ . Again, by componentwise identification, one finds M = 1 − cosx2 θ and we have 0 1 − tan θdx − cosx2 θ dθ + dy Mω = , d(M ω) = 0. dθ Thus, setting
dy1 dy2
= M ω, y1 = y − x tan θ,
y2 = θ
6.5 Flat Output Characterization
173
which is another possible flat output: it is easily checked that the inverse L-B isomorphism is given by x = − yy˙˙ 12 cos2 y2 , y = y1 − yy˙˙ 21 sin y2 cos y2 , θ = y2 . Example 6.5. We go back to the pendulum example of section 6.2.3, in the implicit form (6.10): εθ¨ + x ¨ cos θ − (¨ z + 1) sin θ = 0. We have P (F ) =
2
2
2
d d d cos θ dt x sin θ + (¨ z + 1) cos θ) 2 − sin θ dt2 ε dt2 − (¨
and
dx P (F ) dz = 0. dθ
To compute the Smith decomposition of P (F ), we first prove the relation cos θ
d2 d2 d2 (cos θ) + sin θ (sin θ) − = −θ˙2 . dt2 dt2 dt2
d We have dt (cos θ.h) = cos θ.h˙ − θ˙ sin θ.h for every differentiable function h, d d d d thus dt (cos θ) = cos θ dt − θ˙ sin θ. Similarly, dt (sin θ) = sin θ dt + θ˙ cos θ. Iterat2 2 d d d ˙ ¨ ˙2 ing this calculation, we get dt 2 (cos θ) = cos θ dt2 −2θ sin θ dt − θ sin θ − θ cos θ, d2 d d2 2 ¨ ˙ ˙ dt2 (sin θ) = sin θ dt2 + 2θ cos θ dt + θ cos θ − θ sin θ, hence the announced relation. 1 0 ε cos θ Let us go back to the matrix P (F ) and set U1 = 0 1 −ε sin θ . We have 0 0 −1 2 2 P (F ).U1 = cos θ d 2 − sin θ d 2 −εθ˙2 + A with dt
dt
A = (¨ x sin θ + (¨ z + 1) cos θ). Since the lowest degree term is in the 3rd column, we right multiply P (F ).U1 001 d2 d2 by U2 = 0 1 0 and P (F ).U1 .U2 = −εθ˙2 + A − sin θ dt . Ficos θ 2 dt2 100 cos θ d2 sin θ d2 − A−ε 1 A−ε θ˙ 2 dt2 θ˙ 2 dt2 , we nally, right-multiplying the result by U3 = 0 1 0 0 0 1 2 ˙ obtain the required form: A − εθ 0 0 . The matrix U is thus given by
174
6 Differentially Flat Systems
ε cos θ
U = U1 .U2 .U3 = −ε sin θ −1
2
ε sin θ cos θ d A−εθ˙ 2 dt2 sin2 θ d2 + − εA−ε θ˙ 2 dt2 sin θ d2 − A−εθ˙2 dt2
We set E = A − εθ˙2 . Thus ˆ= U
ε sin θ cos θ d2 2 ε sinE2 θ d2 dt − E dt2 + θ d2 − sin E dt2
2
2
1
ε sin θ cos θ d2 A−εθ˙ 2 dt2 cos θ d2 A−εθ˙ 2 dt2
θ d2 dt2 + ε sin θ cos θ d2 E dt2 cos θ d2 2 E dt
− ε cos E 1
2
cos θ d − εA−ε +1 θ˙ 2 dt2
1
.
.
ˆ yields The calculation of Q ∈ L − Smith U
1 0
0 1 2
θ d − sin E dt2
or
cos θ d2 E dt2
Q=
0 0 1 −a sin θ 1 ˆ = 0 0 1 0 a cos θ U 00 1 0 1
0 1
1 0
cos θ d2 E dt2
θ d − sin E dt2
2
0 1 0
−a sin θ a cos θ a d2 b E dt2 − E
and dz − a sin θdθ dx dx + a cos θdθ Q dz = 1 ¨ dθ x − sin θd¨ z + adθ − bdθ E cos θd¨ d(z + a cos θ) dz − a sin θdθ = dx + a cos θdθ = d(x + a sin θ) 0 0
The strong closedness condition of the ideal Ω generated by (d(z + a cos θ), d(x + a sin θ)) is thus satisfied. Let us set d(z + a cos θ) = dy1 ,
d(x + a sin θ) = dy2
we thus get y1 = z + a cos θ,
y2 = x + a sin θ
that correspond (up to a permutation) to the coordinates of the Huygens oscillation centre previously exhibited in section 6.2.3. Example 6.6 (Chetverikov [2001]. See also Schlacher and Sch¨ oberl [2007] for a different approach). We consider the following academic 3-dimensional example with 2 inputs:
6.5 Flat Output Characterization
175
x˙ 1 = u1 x˙ 2 = u2 u1 x˙ 3 = sin u2
(6.83)
or, after input elimination: F = x˙ 3 − sin
x˙ 1 x˙ 2
= 0.
The polynomial matrix of its variational system is given 1 x˙ 1 d x˙ 1 d x˙ 1 P (F ) = − cos cos x˙ 2 x˙ 2 dt (x˙ 2 )2 x˙ 2 dt
(6.84)
d dt
(6.85)
To compute U ∈ R − Smith (P (F )), we right-multiply P (F ) successively by U1 and U2 given by x˙ 1 x˙ 1 1 1 d 1 d cos − x˙ 2 1 0 a a x ˙ x ˙ dt a dt 2 2 U1 = 1 0 0 , U2 = 0 1 0 0 01 0 0 1 x ¨1 x˙ 2 −x˙ 1 x ¨2 where a = − x˙12 cos xx˙˙ 12 . 2 (x˙ 2 ) Thus x˙ 1 x˙ 1 x˙ 1 d x˙ 1 d 1 + 2 cos a x ˙ x ˙ dt a x ˙ dt a x ˙ 2 2 2 2 x˙ 1 1 1 d d U = U1 U2 = cos − a1 ax˙ 2 x˙ 2 dt a dt 0 0 1 and
ˆ = U
1+
d x˙ 1 d cos xx˙˙ 12 dt ax˙ 2 dt x˙ 1 d d cos x˙ 2 dt − a1 dt 0 1
x˙ 1 ax˙ 22
1 ax˙ 2
(6.86)
ˆ The reader may easily verify that P (F )U = (1 0 0) and P (F )U = (0 0). ˆ ˆ successively Next, we compute Q ∈ L − Smith U by left-multiplying U by Q1 and Q2 defined by 1 0 0 1 − xx˙˙ 21 0 0 1 0 Q1 = 0 0 1 Q2 = d 1 d 1 − ax1˙ 2 cos xx˙˙ 12 dt 0 1 0 a dt and
176
6 Differentially Flat Systems
Q = Q2 Q1 =
0 − xx˙˙ 12 0 1 , d 1 d cos xx˙˙ 12 dt a dt
1 0
d x˙ 1 (6.87) − ax1˙ 2 cos xx˙˙ 21 dt ax˙ 22 x˙ 1 ˜ = 1 0 0 Q = 1 − x˙ 2 0 Q 010 0 0 1 10 ˆ = 0 1 , and Q ˜U ˆ = 10 . which yields, as required, QU 01 00 Then, in accordance with (6.57) of Theorem 6.6, we set dx1 dx1 − xx˙˙ 12 dx2 ω1 ˜ ω= = Q dx2 = (6.88) ω2 dx3 dx3 Clearly, ω1 is not closed since dω1 = −d xx˙˙ 21 ∧ dx2 6= 0, which, according to (6.84), reads 1 1 dω1 = − p dx˙ 3 ∧ dx2 = p dx2 ∧ ω˙ 2 2 1 − x˙ 3 1 − x˙ 23
(6.89)
From now on, there are two possible ways to tackle a solution: integrate ω1 modulo the ideal generated by ω2 , ω˙ 2 , . . ., or apply the systematic algorithm of section 6.5.7. We present both approaches.
Direct integration We startfrom the remark that, by (6.88), combined with the fact that, by x˙ 1 (6.84), d x˙ 2 = √ 1 2 dx˙ 3 , 1−x˙ 3
ω1 = dx1 −
x˙ 1 x˙ 1 x2 dx˙ 3 dx2 = d x1 − x2 + p x˙ 2 x˙ 2 1 − x˙ 23
Thus, since dx˙ 3 = ω˙ 2 , we have x2 x˙ 1 x2 d ω1 √ 1 − d x1 − x2 = ω1 − p ω ˙ = 2 1−x˙ 23 dt ω2 x˙ 2 1 − x˙ 23 Therefore, if we set
dy1 dy2
=
! d x1 − xx˙˙ 12 x2 = dx3
1 − √ x2
d 1−x˙ 23 dt
0
1
!
ω1 ω2
def = Mω
6.5 Flat Output Characterization
177
the matrix M is unimodular, with inverse M −1 =
1 √ x2
d 1−x˙ 23 dt
0
!
1
, which
means that the ideal Ω is strongly closed and that y1 = x1 −
x˙ 1 x2 , x˙ 2
y2 = x3
(6.90)
is a flat output.
Application of the general algorithm In order to identify µ such that dω = µω with d(µ) = µ2 , we use the expression (6.89): 1 dω1 = p dx2 ∧ ω˙ 2 1 − x˙ 23 Therefore, for some meromorphic function η to be determined: d 1 √ ω1 def dω1 dx + η ω ˙ ∧ 0 2 2 2 dt 1−x˙ 3 = µω dω = = ω2 dω2 0 0 We then compute d(µ) and µ2 : x˙ 3 d x ˙ ∧ dx + dη ∧ ω ˙ 0 3 3 2 2 ∧ d(µ) = (1−x˙ 23 ) 2 0 0
d dt
= µ2 =
00 00
(6.91)
which yields x˙ 3 (1 − x˙ 23 )
3 2
dx˙ 3 ∧ dx2 + dη ∧ ω˙ 2 = −
x˙ 3 3
(1 − x˙ 23 ) 2
dx2 ∧ ω˙ 2 + dη ∧ ω˙ 2 = 0
or, with γ a suitable meromorphic function: dη =
x˙ 3 3
(1 − x˙ 23 ) 2
dx2 + γdx˙ 3
This last differential equation is clearly integrable if and only if ! x2 x˙ 3 ∂ + σ(x˙ 3 ) γ= ∂ x˙ 3 (1 − x˙ 2 ) 32 3
where σ is an arbitrary meromorphic function of x˙ 3 only, and yields
178
6 Differentially Flat Systems
x2 x˙ 3
η=
3
(1 − x˙ 23 ) 2
+ σ(x˙ 3 )
We thus obtain x x ˙ 1 2 3 0 √ 2 dx2 + ˙ 3 + σ(x˙ 3 )dx˙ 3 ∧ 3 dx 1−x˙ 3 µ= (1−x˙ 23 ) 2 0 0 d √ x2 2 + σ1 (x˙ 3 ) ∧ dt 0 d 1−x˙ 3 = 0 0
d dt
(6.92)
where σ1 is a primitive of σ. Finally, assuming that M has the form M =
d 1 m1,2 dt 0 1
, we must have
d(M ) = −M µ, or
0 dm1,2 ∧ 0 0
or m1,2 = − √ x2
d dt
=
0 −d
+ σ1 (x˙ 3 ) ∧
√ x2 2 1−x˙ 3
0
d dt
0
− σ1 (x˙ 3 ). Thus we get
1−x˙ 23
M=
1 −
√ x2
1−x˙ 23
0
d + σ1 (x˙ 3 ) dt
(6.93)
1
and setting
dy1 dy2
=
1 − 0
√ x2
1−x˙ 23
+ σ1 (x˙ 3 )
d dt
1
we get the flat output y1 = x1 −
x˙ 1 x2 + σ2 (x˙ 3 ), x˙ 2
y2 = x3
(6.94)
where σ2 is an arbitrary meromorphic function of x˙ 3 only (a primitive of σ1 ). We indeed recover, for σ2 = 0, the flat output (6.90) obtained by the previous method. To conclude this example, let us verify that (6.94) indeed constitutes a flat output. Differentiating y1 with respect to time, we get x ¨3
y˙ 1 = − p
1−
x˙ 23
y¨2
x2 + σ1 (x˙ 3 )¨ x3 = − p
1 − y˙ 22
x2 + σ1 (y˙ 2 )¨ y2
6.5 Flat Output Characterization
Thus
179
p x2 = −
1 − y˙ 22 (y˙ 1 − σ1 (y˙ 2 )¨ y2 ) y¨2
and, plugging this expression in y1 = x1 − p x1 = y1 − arcsin(y˙ 2 )
x˙ 1 x˙ 2 x2
+ σ2 (x˙ 3 ), we finally get
1 − y˙ 22 (y˙ 1 − σ1 (y˙ 2 )¨ y2 ) − σ2 (y˙ 2 ) y¨2
which, together with x3 = y2 , achieves to prove that (y1 , y2 ) is a flat output.
Chapter 7
Flatness and Motion Planning
Let us consider the nonlinear system x˙ = f (x, u). Given the initial time ti , the initial conditions x(ti ) = xi ,
u(ti ) = ui ,
(7.1)
the final time tf and the final conditions x(tf ) = xf ,
u(tf ) = uf ,
(7.2)
the motion planning problem consists in finding a trajectory t 7→ (x(t), u(t)) for t ∈ [ti , tf ] that satisfies x˙ = f (x, u) and the initial and final conditions (7.1), (7.2)1 . If we add constraints on the searched trajectory of the type (x(t), u(t)) ∈ A(t) for A(t) a submanifold of X × U , the problem is called motion planning with constraints. This problem, in the general case, is quite difficult since it may require an iterative solution by numerical methods to find a control input u such that conditions (7.1), (7.2) are satisfied: we start with an input t 7→ u0 (t), we integrate the system equations from the initial conditions, evaluate the solution at final time tf , and then modify the input, say t 7→ u1 (t), to get closer to the final conditions, assuming that we are given a mechanism that guarantees it, and so on. In this class, a typical method for the determination of u is the Optimal Control approach, e.g. find the control that minimizes the square deviation to an a priori given trajectory. For nonlinear systems, it may pose problems that are still open. One can also choose, in some particular cases, the inputs in an a priori parameterized class, e.g. classes of sinusoids, for which the solution or an approximation of the solution is sometimes known. We will see that, in the case of flat systems, this problem is easily solved without approximation and without requiring to integrate the system differential equations. 1
We are not only looking for a feasible trajectory t 7→ x(t), but also for the open-loop control t 7→ u(t) that generates it.
J. Lévine, Analysis and Control of Nonlinear Systems, Mathematical Engineering, DOI 10.1007/978-3-642-00839-9_7, © Springer-Verlag Berlin Heidelberg 2009
181
182
7 Flatness and Motion Planning
7.1 Motion Planning Without Constraint The flatness conditions boil down to the existence of a flat output such that all the system variables can be expressed as functions of this flat output and a finite number of its successive derivatives, this parameterization being such that the system differential equations are identically satisfied. It results that, if we want to construct a trajectory whose initial and final conditions are specified, it suffices to compute the corresponding flat output trajectory, while integrating the system differential equations is not necessary. More precisely, let us assume that x = ϕ0 (y, y, ˙ . . . , y (r) ) u = ϕ1 (y, y, ˙ . . . , y (r+1) ).
(7.3)
Since the initial and final values of x and u are given, by the surjectivity of (ϕ0 , ϕ1 ) one can find the initial and final values of (y, y, ˙ . . . , y (r1 +1) ). It suffices then to find a trajectory t 7→ y(t) at least r+1 times differentiable that satisfies these initial and final conditions since x and u are deduced from y and derivatives up to order r + 1 by (7.3). Since, moreover, the trajectory t 7→ y(t) is not required to satisfy any differential equation, one can simply compute it by polynomial interpolation, similarly to what we have presented in the linear controllable case (see section 4.1.3). Before recalling this construction, let us precise that, as a direct consequence of the definition of a flat output, the trajectories t 7→ x(t) and t 7→ u(t) obtained by replacing y and derivatives by their values in function of time in (7.3) identically satisfy the system differential equations. We now detail this construction in the general case first, and then in the important particular case of rest-to-rest trajectories, i.e. joining two equilibrium points of the system, or, in other words, such that the system is at rest when starting and at the end.
7.1.1 The General Case Let us thus assume that we are given the following data at time ti : (r+1)
y1 (ti ), . . . , y1
(r+1) (ti ), . . . , ym (ti ), . . . , ym (ti )
(7.4)
(r+1) (tf ), . . . , ym (tf ), . . . , ym (tf )
(7.5)
and at time tf : (r+1)
y1 (tf ), . . . , y1
that, together, represent 2(r + 2) conditions on each of the m components of y.
7.1 Motion Planning Without Constraint
183
If we look for (y1 , . . . , ym ) in the form of m polynomials with respect to time, each component of y must have at least 2(r + 2) coefficients to satisfy the initial and final conditions, and thus must be at least of degree 2r + 3. i Let us denote by T = tf − ti , τ (t) = t−t T and yj (t) =
2r+3 X
aj,k τ k (t),
j = 1, . . . , m.
k=0
Following the same lines as in section 4.1.3, we compute the coefficients aj,k by equating the successive derivatives of yj at the initial and final times to the data (7.4) and (7.5): (k)
yj (t) =
2r+3 l! 1 X aj,l τ l−k (t), j = 1, . . . , m Tk (l − k)! l=k
or, at τ = 0, which corresponds to t = ti , (k)
yj (ti ) =
k! aj,k , k = 0, . . . , r + 1, j = 1, . . . , m, Tk
(7.6)
and at τ = 1, or t = tf , (k)
yj (tf ) =
2r+3 l! 1 X aj,l , k = 0, . . . , r + 1, j = 1, . . . , m k T (l − k)!
(7.7)
l=k
which makes a total of 2r + 4 linear equations in the 2r + 4 coefficients aj,0 , . . . , aj,2r+3 , for every j = 1, . . . , m. This system can in fact be reduced to r + 2 linear equations in the r + 2 unknown coefficients aj,r+2 , . . . , aj,2r+3 , since the r + 2 first equations (7.4) are solved in aj,0 , . . . , aj,r+1 : aj,k =
T k (k) y (ti ) , k = 0, . . . , r + 1. k! j
The remaining r + 2 coefficients are given by:
184
7 Flatness and Motion Planning
1 1 ... 1 aj,r+2 r+2 r+3 2r + 3 (r + 1)(r + 2) (r + 2)(r + 3) (2r + 2)(2r + 3) .. . .. .. aj,2r+3 . . (r+3)! (2r+3)! (r + 2)! ... 2 (r+2)! r+1 l X T (l) y (t ) − y (t ) j f i l! j l=0 .. . ! r+1 l−k X T = k . (7.8) (k) (l) T yj (tf ) − yj (ti ) (l − k)! l=k .. . (r+1) (r+1) (tf ) − yj (ti ) T r+1 yj
Remark 7.1. In this construction, the relation giving y in function of x, u and derivatives of u is nowhere needed, so that the interpretation of y in function of the original variables of the system, even though it often gives an interesting insight, is of minor importance in the motion planning problem.
7.1.2 Rest-to-Rest Trajectories If the starting point (x(ti ), u(ti )) and ending point (x(tf ), u(tf )) are equilibrium points, we have x(t ˙ i ) = 0 , u(t ˙ i ) = 0 and x(t ˙ f ) = 0 , u(t ˙ f ) = 0. We know, from Theorem 5.2 that y(ti ) and y(tf ) are equilibrium points too for the associated trivial system and, according to (7.3), we have x(ti ) = ϕ0 (y(ti ), 0, . . . , 0), x(tf ) = ϕ0 (y(tf ), 0, . . . , 0),
u(ti ) = ϕ1 (y(ti ), 0, . . . , 0) u(tf ) = ϕ1 (y(tf ), 0, . . . , 0).
The previous construction is thus easily adapted by replacing all the derivatives of y by 0 at ti and tf . We get Proposition 7.1. The polynomial rest-to-rest trajectories are of the form yj (t) = yj (ti ) + (yj (tf ) − yj (ti ))
t − ti tf − ti
r+2
r+1 X k=0
αj,k
t − ti tf − ti
k ! ,
j = 1, . . . , m (7.9) with αj,0 , . . . , αj,r+1 solution of
7.2 Motion Planning With Constraints
185
1 1 ... 1 r+2 r+3 2r + 3 αj,0 (r + 1)(r + 2) (r + 2)(r + 3) (2r + 2)(2r + 3) .. . .. .. αj,r+1 . . (r+3)! (2r+3)! (r + 2)! ... 2 (r+2)! 1 0 = . . (7.10) .. 0
Proof. It suffices to replace the derivatives of y by 0 in (7.8). We thus get aj,0 = yj (ti ), aj,k = 0 for k = 1, . . . , r + 1, and the interpolation polynomials read 2r+3 X yj (t) = yj (ti ) + aj,k τ k (t), j = 1, . . . , m. k=r+2
where the right-hand side of the linear system (7.8) is the vector yj (tf ) − yj (ti ) 0 aj,k , we obtain the . Thus, setting αj,k−r−2 = .. y (t ) − yj (ti ) j f . 0 expression (7.9) and the system (7.10). Remark 7.2. SInce all the derivatives of y have to be equal to 0 at an equilibrium point, one can add an arbitrary number of initial and final null derivatives of order larger than or equal to r + 1 without changing the initial and final equilibrium points. In this way, one can increase the regularity of the trajectory and make the start and end “smoother”. This may be useful in practice to avoid exciting oscillating or unstable modes at the end point.
7.2 Motion Planning With Constraints We consider here two kinds of constraints: constraints of geometric type, namely concerning the fact that the flat output must remain inside a given domain, or quantitative limitations on positions, velocities, accelerations, and so on.
186
7 Flatness and Motion Planning
7.2.1 Geometric Constraints Assume that we want to plan rest-to-rest trajectories for a flat system with m inputs and n states, and that we want the flat output trajectory to remain in a domain described by the inequality A(y) ≤ 0.
(7.11)
We assume, for simplicity’s sake, that A is onto from Rm to R and C ∞ and that the initial point yi and final point yf belong to the frontier of this domain, i.e. A(yi ) = A(yf ) = 0, and to the same connected component, noted A0 , of the submanifold A = 0. We can construct a trajectory t 7→ y ∗ (t) satisfying A(y ∗ (t)) = 0 for all t, and thus satisfying (7.11), as follows: since A is onto, by the implicit function Theorem, there exists a mapping Y from a neighborhood of U in Rm−1 to A0 ⊂ R such that, possibly up to a permutation of the components of y, ym = Y (y1 , . . . , ym−1 ) implies that A(y1 , . . . , ym−1 , Y (y1 , . . . , ym−1 )) = 0 for all (y1 , . . . , ym−1 ) ∈ U . In particular, we have ym (ti ) = Y (y1 (ti ), . . . , ym (ti )) and ym (tf ) = Y (y1 (tf ), . . . , ym (tf ). It suffices thus to construct m − 1 curves t 7→ yj (t), j = 1, . . . , m − 1, (r+1) satisfying, at the initial time y˙ j (ti ) = . . . = yj (ti ) = 0, for all j = (r+1)
1, . . . , m − 1, and, at the final time, y˙ j (tf ) = . . . = yj (tf ) = 0. In this case, indeed, we have ym (ti ) = Y (y1 (ti ), . . . , ym (ti )), y˙ m (ti ) = Pm−1 ∂Y (r+1) (ti ) = 0, so that the initial j=1 ∂yj y˙ j (ti ) = 0, and, by induction, ym and final rest-to-rest conditions are necessarily satisfied. It remains to construct the m − 1 curves t 7→ yj (t), j = 1, . . . , m − 1 satisfying the above initial and final conditions. We proceed in the same way as in section 7.1.2: r+2 X k ! r+1 t − ti t − ti yj (t) = yj (ti ) + (yj (tf ) − yj (ti )) αj,k tf − ti tf − ti k=0
with the αj,k ’s given by (7.10) for all j = 1, . . . , m − 1. We achieve this construction by composing these trajectories with Y to obtain the last component of y and hence the desired trajectory y ∗ . We finally deduce x and u in the usual way. Example 7.1. We go back to the example of non holonomic vehicle of sections 6.2.4 and 6.4.4. Assume that we want to parallel park the car along a sidewalk in reverse. Remark that, in reverse, we must change u to −u, or equivalently, consider that u < 0 in the system equations (6.17). Let us suppose that the x-axis of the fixed frame is parallel to the boundary of the sidewalk. The initial position, at time ti , is denoted by (xi , yi ), the vehicle’s axis and its front wheels being parallel to the sidewalk (θ(ti ) = 0,
7.2 Motion Planning With Constraints
187
ϕ(ti ) = 0), and the final position, at time tf , is noted (xf , yf ), with, again, the vehicle’s axis and its front wheels being parallel to the sidewalk (θ(tf ) = 0, ϕ(tf ) = 0). The initial speed, in the sidewalk direction, is equal to 0, as well as the final speed. We assume, for the sake of simplicity, that the geometric constraint is given by y ≥ yf , x ∈ [xi , xf ], which expresses the fact that the car is not allowed to roll on the sidewalk. Let us construct a curve y = Y (x) satisfying yi = Y (xi ) , yf = Y (xf ) ,
d2 Y dY (xi ) (xi ) , 0 = dx dx2 2 dY d Y 0= (xf ). (xf ) , 0 = dx dx2
0=
in addition to the aforementioned constraint. The function given by Y (x) = yi + (yf − yi )
x − xi xf − xi
3
10 − 15
x − xi xf − xi
+6
x − xi xf − xi
2 !
obtained by polynomial interpolation, satisfies these requirements. We now have to find a curve t 7→ x(t) such that x(ti ) = xi , x(t ˙ i ) = 0 and x(tf ) = xf , x(t ˙ f ) = 0. Using polynomial interpolation, we find x(t) = xi + (xf − xi )
t − ti tf − ti
2
3−2
t − ti tf − ti
.
It suffices then to compose y(t) = Y (x(t)) to obtain the trajectory of the 1 middle of the rear axle. Thus the speed is given by u = −(x˙ 2 (t) + y˙ 2 (t)) 2 and the other variables, θ, ϕ, by (6.19), (6.20) for all t ∈]ti , tf [. Moreover, we verify (exercise) that lim t → t tan θ(t) = 0, lim t → t tan ϕ(t) = 0, i
i
t ≥ ti t ≥ ti lim t → t tan θ(t) = 0, lim t → t tan ϕ(t) = 0, which achieves the construcf f t ≤ tf t ≤ tf tion. It is remarkable that the initial and end points are equilibrium points and that the system is not first-order controllable at these points, which results from the fact that the formulas (6.19), (6.20) are not defined there, because the speed vanishes. The construction in two steps proposed here, may thus be interpreted as a desingularization. Example 7.2. Let us go back to the crane example of section 5.1 and let us construct a rest-to-rest trajectory avoiding an obstacle located approximately in the middle of the load’s displacement.
188
7 Flatness and Motion Planning
Recall that the position of the load is a flat output and thus that the constraints on the coordinates of the load are directly expressed in terms of the flat output. Similarly to the previous example, we first construct a geometric path remaining above the obstacle, and then we tune the evolution on this curve to obtain the desired rest-to-rest behavior. We assume that the initial position is (ξi , ζi ) at time ti , at rest, that the final position is (ξf , ζf ) at time tf , at rest, and that the trajectory passes ξ +ξ through the point ( f 2 i , 2ζf −ζi ) which must be the maximum of the desired curve between ξi and ξf . The desired trajectory ξ 7→ ζ must therefore satisfy the four conditions ζ(ξi ) = ζi ,
ζ(ξf ) = ζf , d2 ζ ξf +ξi dξ 2 ( 2 )
ξf + ξi ) = 2ζf − ζi , 2
dζ ξf + ξi ( ) = 0. dξ 2
< 0 to have a local maximum at this point.
ζ ζ
ζ ζ
and the constraint
ζ(
ξ ξ
Fig. 7.1 Trajectory of
ζ−ζi ζf −ζi
in function of
ξ ξ
ξ−ξi . ξf −ξi
The 3rd degree polynomial in ξ: ζ(ξ) = ζi + (ζf − ζi )
ξ − ξi ξf − ξi
9 − 12
ξ − ξi ξf − ξi
+4
satisfies all the conditions (see Fig 7.1). It remains to construct a trajectory t 7→ ξ(t) satisfying
ξ − ξi ξf − ξi
2 !
7.2 Motion Planning With Constraints
189
˙ i ) = 0, . . . , ξ (5) (ti ) = 0 ξ(ti ) = ξi , ξ(t ˙ f ) = 0, . . . , ξ (5) (tf ) = 0 ξ(tf ) = ξf , ξ(t where we have required that all the derivatives of ξ up to order 5 vanish to guarantee that the derivatives of the force applied to the cart and of the winch torque also vanish. In fact, the successive derivatives up to order 4 must vanish to guarantee that the crane is at rest, and the nullity of 5th order is added to produce a smooth and gradual start and end. We thus obtain the 11th degree polynomial: ξ(t) = ξi + (ξf − ξi ) σ 6 (t) · 462 − 1980σ(t) + 3465σ 2 (t) − 3080σ 3 (t) + 1386σ 4 (t) − 252σ 5 (t) i . with σ(t) = tt−t f −ti The trajectories of x, R, θ, T , F and C are deduced from t 7→ (ξ(t), ζ(ξ(t))) by (5.8)-(5.9)-(5.10).
7.2.2 Quantitative Constraints In addition to the geometric constraints of the previous section, it is often required that some system variables, and in particular the inputs, remain bounded. We may tune the total duration T such that the bounds are respected. Indeed, since the flat output may be expressed in terms of the reduced time τ (t) =
t − ti t − ti = tf − ti T
we have y(t) ˙ =
1 dy 1 d2 y 1 dk y (τ (t)), y¨(t) = 2 2 (τ (t)), . . . , y (k) (t) = k k (τ (t)), . . . T dτ T dτ T dτ
and thus max ky (k) (t)k = t∈[ti ,tf ]
dk y 1 max k (τ )k, T k τ ∈[0,1] dτ k
∀k ≥ 1.
To guarantee that |yk ˙ ≤ C1 , . . . , ky (k) k ≤ Ck for some given constants C1 , . . . , Ck , it suffices to choose the duration T such that: (
k k1 )
dy
d y 1 1
T = max max , . . . , max . (7.12) C1 τ ∈[0,1] dτ Ck τ ∈[0,1] dτ k
190
7 Flatness and Motion Planning
The constants Cj are then chosen in order to guarantee that the original variables satisfy the requested bounds thanks to the Lie-B¨acklund isomorphism. We assume for instance that we want kuk ≤ Cu . Since u = ϕ1 (y, y, ˙ . . . , y (r+1) ), for T large enough, we have
1 dy 1 dr+1 y
(r+1)
˙ ...,y ) = ϕ1 (y, , . . . , r+1 r+1 ) kuk = ϕ1 (y, y,
T dτ T dτ
r+1
1 ∂ϕ1
dy + . . . + 1 ∂ϕ1 d y ≤ kϕ1 (y, 0, . . . , 0)k +
r+1 r+1 (r+1) T ∂ y˙ dτ T dτ ∂y
∂ϕ1
∂ϕ1
≤ kϕ1 (y, 0, . . . , 0)k +
∂ y˙ C1 + . . . + ∂y (r+1) Cr+1 ≤ Cu which allows us to choose the constants Ck , k = 1, . . . , r + 1 in function of Cu and then T by (7.12). To conclude, if there exist trajectories satisfying the given constraints one can obtain them by sufficiently increasing T .
7.3 Application to Predictive Control The predictive control approach consists in the data of a horizon T , a receding horizon T0 , generally small compared to T , some final conditions and constraints as in the motion planning problem, the main difference being that the perturbations than may deviate the trajectory are taken into account precisely through the deviation with respect to the reference trajectory. To attenuate this deviation after a duration T0 , the system state is measured and a new trajectory relating these new initial conditions to the final ones is computed, and so on. More precisely, given the initial conditions (xi , ui ), a reference trajectory relating them to the target (xf , uf ) at time tf = ti + T and satisfying the given constraints is computed. Then, at time ti +T0 , a measurement of (x(ti + T0 ), u(ti + T0 )) is done and, if this new point is not close enough to the reference trajectory, a new trajectory starting from (x(ti +T0 ), u(ti +T0 )) and arriving at (xf , uf ) at time ti +T0 +T 2 , again satisfying the given constraints, is recomputed. This approach is iterated until we arrive close enough to the target. If, in the mean time, we cannot find a trajectory satisfying the constraints, one can increase T or try to reach an intermediate point from which the target is reachable under the given constraints. The previous methods can obviously be applied by computing a reference trajectory of the flat output: at each step, a trajectory of the flat output start2
this is what is called a receding horizon since the time interval in which we are working, namely [ti , ti + T ], then [ti + T0 , ti + T0 + T ], and so on, is progressively shifted
7.3 Application to Predictive Control
191
ing from (y(ti + kT0 ), . . . , y (r+1) (ti + kT0 )) such that x(ti + kT0 ) = ϕ0 (y(ti + kT0 ), . . . , y (r) (ti + kT0 )), u(ti + kT0 ) = ϕ1 (y(ti + kT0 ), . . . , y (r+1) (ti + kT0 )), is computed, where x(ti + kT0 ) is the new measured point, ensuring the continuity of the derivatives of the flat output at this time, thus avoiding creating jerks. Let us remark that the perturbations may correspond to unmodelled phenomena or, in the case where the control is designed to provide an assistance to a system supervised by an operator, to setup modifications required by the operator. There is, at present, no general result establishing that the objectives are reachable against arbitrary perturbations, and no general evaluation of the duration to reach the target. This method is however very popular in the industry, and particularly in chemical processes. In practice, it gives satisfactory results for systems that are sufficiently stable in open-loop, or unstable with slow enough dynamics compared to the receding horizon T0 , or with small enough perturbations and a precise enough model (see e.g. Petit et al. [2001], Devos and L´evine [2006], Devos [2009]). Other approaches may be found in Morari and Lee [1999], Findeisen and Allg¨ower [2002], Fliess and Marquez [2000], Delaleau and Hagenmeyer [2006], Hagenmeyer and Delaleau [2008], De Dona et al. [2008].
Chapter 8
Flatness and Tracking
8.1 The Tracking Problem For the solution of the motion planning problem, all we required was the knowledge of a dynamical model and the time, in other words, anticipative data: the reference trajectory was computed from the present time to some future time according to what we know about the system’s evolution. This type of design is called open-loop. If the system dynamics is precisely known and if the disturbances (all signals not taken into account in the model that might affect the system’s evolution) don’t produce significant deviations from the predicted trajectories in the workspace, the open-loop design may sometimes be sufficient. However, if measurements of the system evolution are available, they may be used to compensate such disturbances. More precisely, if disturbances create significant deviations from our predictions, which is more often the case1 , we may close the loop, by using the measurements to compute at every time the deviation with respect to our desired trajectory and deduce some correction term in the control to decrease this deviation. For a flat system, in an open set that doesn’t contain singular points (points where the Lie-B¨ acklund isomorphism degenerates or is no more defined), and if there are enough sensors to measure all the system state, this trajectory tracking may be designed thanks to Corollary 6.2 establishing the equivalence to a trivial system by endogenous dynamic feedback. Indeed, if y is a flat output of the system whose state is x and input u, assumed to be measured, and if y ∗ is the reference trajectory of the flat output, let us denote by ei = yi − yi∗ , i = 1, . . . , m, the components of the error. By Corollary 6.2, we can compute an endogenous dynamic feedback such that the system, up 1
In fact, in control, as opposed to physics, the art of modelling consists in deciding what is a system variable and what is a disturbance, in order to have a precise enough description of the way the control variables affect the system’s evolution, but knowing that the inaccuracies will be compensated on the basis of real-time measurements of some of the system variables.
J. Lévine, Analysis and Control of Nonlinear Systems, Mathematical Engineering, DOI 10.1007/978-3-642-00839-9_8, © Springer-Verlag Berlin Heidelberg 2009
193
194
8 Flatness and Tracking
to a diffeomorphism, reads y (r+1) = v. If we set v ∗ = (y ∗ )(r+1) , the error equation reads e(r+1) = v − v ∗ + w where w is an unmeasured disturbance term. It suffices then to set, componentwise: vi = vi∗ −
r X
(j)
ki,j ei
,
i = 1, . . . , m
(8.1)
j=0
Pr the gains ki,j being chosen such that the m polynomials sr+1 + j=0 ki,j s(j) = 0 have their roots with strictly negative real part, i = 1, . . . , m. Thus, if, e.g. w(t) converges to 0 as t → ∞, the error e exponentially converges2 to 0: (r+1)
ei
=−
r X
(j)
ki,j ei + wi ,
i = 1, . . . , m,
(8.2)
j=0
and y and all its derivatives up to order r + 1 converge to their reference y ∗ , . . . , (y ∗ )(r+1) . Using the differentiability of the Lie-B¨acklund isomorphism x = ϕ0 (y, . . . , y (r) ),
u = ϕ1 (y, . . . , y (r+1) )
we conclude that the set of variables x and u of the original system locally exponentially converge to their reference.
8.1.1 Pendulum (conclusion) We go back to the endogenous dynamic feedback computed in section 6.4.3. Using (6.30) and (6.31), the closed-loop system reads, for w1 6= 0, ε ˙ cos θ (v1 cos θ − v2 sin θ − 2w˙ 1 θ) x ¨ = (w1 + εθ˙2 ) sin θ − w 1 ˙ sin θ − 1 z¨ = (w1 + εθ˙2 ) cos θ + ε (v1 cos θ − v2 sin θ − 2w˙ 1 θ) w1 ε ˙ (v1 cos θ − v2 sin θ − 2w˙ 1 θ) εθ¨ = w 1 w ¨1 = v1 sin θ + v2 cos θ + w1 θ˙2 . Thus, if v1∗ and v2∗ are the reference inputs generating the reference trajecto˙ is measured, it suffices ries y1∗ and y2∗ , and if the whole state (x, x, ˙ z, z, ˙ θ, θ) to choose 2
Convergence may be proven under less restrictive assumptions on w. The corresponding results are beyond the scope of this book and are not presented here
8.1 The Tracking Problem
195
vi = vi∗ −
3 X
(j)
ki,j (yi
− (yi∗ )(j) ),
i = 1, 2,
j=0 (j)
and to replace the yi ’s by their expressions in function of ˙ w1 , w˙ 1 ), to have the local exponential convergence of all (x, x, ˙ z, z, ˙ θ, θ, ˙ w1 , w˙ 1 ) to their respective reference. the variables (x, x, ˙ z, z, ˙ θ, θ,
8.1.2 Non Holonomic Vehicle (conclusion) We go back to the endogenous dynamic feedback obtained in section 6.4.4, yielding the closed-loop system: x˙ = u cos θ y˙ = u sin θ 1 θ˙ = (−v1 sin θ + v2 cos θ) u u˙ = v1 cos θ + v2 sin θ. If the whole state (x, y, θ) is measured, and if the speed u doesn’t vanish, one can set, as before, v1 =
v1∗
−
1 X
(j)
k1,j (x
∗ (j)
− (x )
),
v2 =
j=0
v2∗
−
1 X
k2,j (y (j) − (y ∗ )(j) )
j=0
with suitably chosen gains ki,j ’s, in order to ensure local exponential convergence of x, y and θ to their respective reference. This construction can in fact be extended to the case where the speed vanishes, which is indeed desirable for the parallel parking problem, thanks to the following homogeneity property: dividing both sides of the system’s equations (6.17) by a function λ of class C ∞ with respect to t, of constant sign on [ti , tf ], boils down to the change of time dτ = λ(t) dt and the change of input v= The system reads:
u . λ
196
8 Flatness and Tracking
dx x˙ u = = cos θ = v cos θ dτ λ λ dy y˙ u = = sin θ = vsinθ dτ λ λ dθ θ˙ u v = = tan ϕ = tan ϕ. dτ λ λl l We recover a system having the same form as the original one, with respect to the new time Z t τ= λ(s)ds ti
and with the new input v. Thus, it is possible to desingularize the system by a suitable choice of λ, u(t) u(t) 6= 0 and limt→tf λ(t) 6= 0 whereas u(ti ) = 0 namely such that limt→ti λ(t) and u(tf ) = 0. It clearly suffices to choose λ(t) = u∗ (t), the reference speed realizing the ∗ parallel parking maneuver. Indeed, the reference v ∗ of v is v ∗ = uu∗ = 1 and, copying the previous control law in the non vanishing case, but now function of new time τ , we get: d2 x dx dx∗ ∗ ∗ = v1 = v1 − k1,0 (x − x ) − k1,1 − dτ 2 dτ dτ (8.3) 2 d y dy ∗ dy ∗ ∗ = v = v − k (y − y ) − k − 2 2,0 2,1 2 dτ 2 dτ dτ with
1 v1∗ = − sin θ∗ tan ϕ∗ l 1 v2∗ = cos θ∗ tan ϕ∗ . l
(8.4)
Let us choose the gains ki,j , i = 1, 2, j = 0, 1, as follows: k1,1 = k2,1 = K1 + K2 and k1,0 = k2,0 = K1 K2 , with K1 , K2 > 0 and K = min(K1 , K2 ). We easily verify that the solution of (8.3) satisfies the inequalities: dx ∗ |x(τ (t)) − x (τ (t))| ≤ C1 |x(ti ) − xi | + C2 (τ (ti )) e−Kτ (t) dτ (8.5) ∗ 0 0 dy |y(τ (t)) − y (τ (t))| ≤ C1 |y(ti ) − yi | + C2 (τ (ti )) e−Kτ (t) dτ where C1 , C2 , C10 and C20 are constants depending only on K1 and K2 , which proves that the error with respect to the reference R t trajectory is monotonically decreasing with respect to τ (t). Since τ (t) = ti u∗ (s)ds is the integral of the speed modulus, it represents the arc length between the initial point (xi , yi ) and the point of coordinates (x(t), y(t)), so that τ is bounded above by L, the
8.2 Control of the Clock
197 initial configuration con guration
flat lat output
start
reference rence trajector trajectory end
Fig. 8.1 Closed-loop parallel parking maneuver with an initial error on the position and orientation of the car. Top: trajectory of the flat output and its reference. Bottom: stroboscopic representation of the car’s motion.
total arc length between (xi , yi ) and (xf , yf ). Thus, the error at the end of the maneuver is given by (8.5) for τ (tf ) = L. Analogous inequalities are obtained dy dx dy ∗ dx∗ for dτ (τ (t)) − dτ (τ (t)) and dτ (τ (t)) − dτ (τ (t)) , which, combined with 2 12 dy dx 2 + dτ , yields the monotonic decreasing property of the v = dτ error v−v ∗ and thus, if the initial errors are small enough, v(τ (tf )) ≈ v ∗ (tf ) = 1 which achieves to justify this construction.
8.2 Control of the Clock For systems requiring to be synchronized, each subsystem being submitted to independent perturbations, if the actuators are not powerful enough to maintain the errors as small as possible, or if the reference trajectories may be unrealistic in presence of some exceptional perturbations, we can use the so-called control of the clock method, consisting in slowing down the reference trajectory as long as the error between the measured state and its reference exceeds a given acceptable level. Assume that we want to track the reference trajectory t 7→ y ∗ (t) with the control law (8.1). Let us consider a function Γ at least continuous from Rm(r+1) to R such that Γ (0) = 0. We call ρ(t) the trailing time on the reference trajectory, with
198
8 Flatness and Tracking
0 ≤ ρ(t) ≤ t for all t. Since we are using the derivatives of y ∗ up to the order r +1, if we trail this trajectory at the modified time ρ(t), this function ρ must be at least r + 1 times differentiable with respect to t. It is left as an exercise r+1 ∗ (ρ(t)) of the composed function to check that the (r + 1)st derivative d dtyr+1 y ∗ (ρ(t)) with respect to t, depends on all the derivatives of ρ up to the order r + 1. Moreover, if we are only interested in the synchronization, we don’t particularly want to recover the original time, lost during the slowing down phase (ρ(t) − t ≤ 0). However, the synchronization requires that the rate d dt (ρ(t) − t) = ρ˙ − 1 converges to 0. We thus set ε = ρ˙ − 1 and we want to tune this error dynamics in function of the error between the present state and its reference trajectory via the function Γ : ε(r+1) (t) = −
r X
κj ε(j) (t) − Γ (e(t), e(t), ˙ . . . , e(r+1) (t))
(8.6)
j=0
with the gains κi > 0 chosen to ensure the desired behavior. Since ε = ρ˙ − 1 must range between -1 and 0, we replace ε(t) by -1 as soon as the solution of (8.6) decreases below −1 and the solution of (8.6) is only taken into account if ε > −1. In other words, we replace ε by ε˜(t) = max(ε(t), −1). We verify that if Γ (e(t), e(t), ˙ . . . , e(r+1) (t)) > 0, when ε = 0, the (r + 1)st derivative of ε decreases and, integrating r + 1 times, ρ˙ ≤ 1. Now, if the the deviation between the real trajectory and its reference and its successive derivatives e remain almost constant for some times, the trailing speed stabilizes itself to the equilibrium value given by −κ0 ε − Γ (e) = 0 which allows to tune κ0 so that ε remains larger than -1, a value that would stop the system (ρ˙ = 0 implies ε = −1). Moreover, one can verify that the closed-loop error equation (8.2) is not modified by this approach since we only modify the reference trajectory. In fact, grouping (8.2) and (8.6): (r+1)
ei
=−
r X
(j)
ki,j ei
,
i = 1, . . . , m
j=0
ε
(r+1)
(t) = −
r X
(8.7) κj ε
(j)
(t) − Γ (e(t), e(t), ˙ ...,e
(r+1)
(t))
j=0
we see that the error equation with respect to the reference trajectory, and thus its stability, is not affected by the control of the clock, whereas the error to the reference trajectory effectively influences the clock’s delay.
8.2 Control of the Clock
199
A practical example of control of the clock is presented in Chapter 11 and in L´evine [2004].
Chapter 1
Introduction
This book is made of two parts, Theory and Applications. In the first Part, two major problems of automatic control are addressed: trajectory generation, or motion planning, and tracking of these trajectories. In order to make this book as self-contained as possible we have included a survey of Differential Geometry and Dynamical System Theory. The viewpoint adopted for these topics has been tailored to prepare the reader to the language and tools of flatness-based control design, that is why we have preferred to place them ahead in Chapters 2 and 3 rather than to release them in an Appendix. Recalls of linear system theory are also provided in Chapter 4, such as controllability and the corresponding Brunovsk´ y canonical form, since they constitute a first solution to the trajectory generation and tracking problems, which are generalized in the next chapters to flat systems, using a different approach, leading to simpler calculations. The last chapters (from Chapter 5 to Chapter 8), are then devoted to the analysis of Lie-B¨ acklund equivalence and flat systems. Note that a large part of Chapter 6 is devoted to the characterization of flat systems. This part, not essential to understand the examples and applications of flatness all along, may be skipped at first reading. However, the reader interested in this essential but difficult theoretical aspect, still full of unsolved questions, may find there a self-contained presentation. In the second Part, the applications have been selected according to their pedagogical potentials, to illustrate as many control design techniques as possible in various industrial contexts: control of various types of motors, magnetic bearings, cranes and aircraft automatic flight design.
J. Lévine, Analysis and Control of Nonlinear Systems, Mathematical Engineering, DOI 10.1007/978-3-642-00839-9_1, © Springer-Verlag Berlin Heidelberg 2009
1
2
1 Introduction
1.1 Trajectory Planning and Tracking The problems of trajectory generation, or motion planning, and tracking of these trajectories are studied in the context of finite dimensional nonlinear systems, namely systems described by a set of nonlinear differential equations, influenced by a finite number of inputs, or control variables. In practice, a system represents our knowledge of the evolution of some variables with respect to time, and the control variables are often designed as the inputs of the actuators driving the system. They may be freely chosen in order to achieve some tasks, or may be subject to constraints resulting from technological restrictions. Numerous examples of such systems may be found in mechanical systems driven by motors (satellites, aircraft, cars, cranes, machine tools, etc.), electric circuits or electronic devices driven by input currents or voltages (converters, electromagnets, motors, etc.), thermal machines driven by heat exchangers or resistors, chemical reactors, chemical, biotechnological or food processes driven by input concentrations of some chemical components, or mixtures of these examples. The notion of trajectory generation, or motion planning, corresponds to what we intuitively mean by preparing a flight plan or a motion plan in advance. More precisely, it consists in the off-line generation of a path, and the associated control actions that generate the path. This path is supposed to relate a prescribed initial point to a prescribed final point, in open-loop, i.e. based on the knowledge of the system model only, in the ideal case where disturbances are absent, and without taking account of possible measurements of the system state. Such a trajectory is often called reference or nominal trajectory, and the associated control the reference or nominal control. This notion is quite natural in the context of controlled mechanical systems such as aircraft, cars, ships, underwater vehicles, cranes, mechatronic systems, machine tools or positioning systems. It is also of interest in many other fields such as chemical, biotechnological or food processes, where we may want to change the concentration of a chemical component from its present value to another one in a fast but smooth way, for energy savings or productivity increase, or some other reason. The tracking aspect concerns the design of a control law able to follow the reference trajectory even if some unknown disturbances force the system to deviate from it. For this purpose, this control law must take into account additional information, namely on-line measurements, or observations, from which the deviations at every time with respect to the reference trajectory can be deduced. In practice, such observations are provided by sensors. The class of controls that take into account the system state observations, is generally called feedback or closed-loop control. Without deviation (i.e. without disturbances), the control coincides with its reference, but as soon as a deviation is detected, the closed-loop control law must ensure the convergence of the system to its reference trajectory. The type of convergence (local, global,
1.2 Equivalence and Flatness
3
exponential, polynomial, etc. ) that can be guaranteed, its rate, sometimes called time constant of the closed-loop system, and other robustness properties versus disturbances, modelling errors, etc. , will also be addressed in this book. These two problems are particularly easy to solve for the class of nonlinear systems called differentially flat, or shortly flat, systems, introduced by M. Fliess, P. Martin, P. Rouchon and the author (Fliess et al. [1992a,b]) and actively developed since then (see e.g. the surveys and books by Martin et al. [1997], L´evine [1999], Rudolph [2003], Rudolph et al. [2003], Sira-Ramirez and Agrawal [2004], Rudolph [2003], Rudolph et al. [2003], M¨ ullhaupt [2009]). Most of the examples and applications of differential flatness of this book could have been presented using only elementary and intuitive mathematics. Though insufficiently precise for a mathematician, the mathematical ambiguities may be balanced by their physical evidence. However, if the reader wants to acquire a deeper understanding and/or wishes to solve more advanced problems, a precise mathematical background and a rigorous description of flat systems and their properties are required. Unfortunately, the corresponding mathematics are not easy. Their proper background comes from the theory of manifolds of jets of infinite order Krasil’shchik et al. [1986], Zharinov [1992]. Since at present no self-contained presentation of this theory for control systems is available, we have decided to privilege this aspect in this book, while keeping the mathematical level as accessible as possible. Nevertheless, applications also receive a prominent place in this book (Part II) to present flat systems from every angle.
1.2 Equivalence and Flatness To give an intuitive idea of differential flatness, a flat system is a system whose integral curves (curves that satisfy the system equations) can be mapped in a one-to-one way to ordinary curves (which need not satisfy any differential equation) in a suitable space, whose dimension is possibly different than the one of the original system state space. This definition can be made rigorous by introducing several notions and tools: we need to work with mappings that are one-to-one between vector spaces or manifolds of different dimension, and infinitely differentiable. According to the well-known constant rank theorem (see section 2.3), such mappings don’t exist between finite dimensional manifolds. Therefore, it may only become possible if the original manifolds can be embedded in infinite dimensional ones. A classical way to realize this embedding consists in using the natural coordinates together with an infinite sequence of their time derivatives, called jets of infinite order (see e.g. Krasil’shchik et al. [1986], Zharinov [1992]).
4
1 Introduction
In this framework, if two manifolds of jets of infinite order are mapped in a one-to-one and differentiable way, we say that they are Lie-B¨ acklund equivalent. More precisely, two systems are said Lie-B¨acklund equivalent if and only if there exists a smooth one-to-one time-preserving mapping between their integral curves (trajectories that are solutions of the system differential equations) which maps tangent vectors to tangent vectors, in order to preserve time differentiation. Going back to our above stated intuitive definition of flatness, a flat system is Lie-B¨ acklund equivalent to a system whose integral curves have no differential constraints (ordinary curves), that we call trivial system. Thus, finally, a system is flat if and only if it is Lie-B¨ acklund equivalent to a trivial system. Therefore, it becomes clear that the study of flat systems passes through the study of Lie-B¨ acklund equivalence, a notion that plays a central role in this book. In addition, the notion of flatness may be interpreted as a change of coordinates that transforms the system in its “simplest” form, where calculations become elementary since the coordinates and the vector field describing the system are “straightened up”. Recall that a transformation straightens out coordinates, curves, surfaces, vector fields, distributions (families of vector fields), etc. . if they are changed into lines, planes, constant vector fields, orthonormal frames, etc. . In particular, the integration of differential equations or partial differential equations in these coordinates may be done explicitly, as far as the associated straightening out transformations may be obtained. These considerations indeed strongly suggest that the language of Differential Geometry is particularly well adapted to our context. However, the usual finite dimensional standpoint is too narrow for our purpose and its extension to manifolds of jets of infinite order seems difficult to circumvent. For the sake of completeness, we first introduce the reader to classic finite dimensional tools (Part I, Chapter 2), and then to their extension to jets of infinite order (Part I, Chapter 5). Other approaches are indeed possible: finite dimensional differential geometric approaches Charlet et al. [1991], Franch [1999], Shadwick [1990], Sluis [1993], differential algebra and related approaches Fliess et al. [1995], Aranda-Bricaire et al. [1995], Jakubczyk [1993], infinite dimensional differential geometry of jets and prolongations Fliess et al. [1999], van Nieuwstadt et al. [1998], Pomet [1993], Pereira da Silva and Filho [2001], Rathinam and Murray [1998]. In the framework of linear finite or infinite dimensional systems, the notions of flatness and parametrization coincide as remarked by Pommaret [2001], Pommaret and Quadrat [1999], and in the behavioral approach of Polderman and Willems [1997], flat outputs correspond to latent variables of observable image representations Trentelman [2004] (see also Fliess [1992] for a module theoretic interpretation of the behavioral approach).
1.4 Equivalence and Stability
5
1.3 Equivalence in System Theory Several equivalence relations have been studied to characterize system equivalence by various transformation groups. Traditionally, geometric objects are said to be intrinsically defined when their definition is not affected by change of coordinates (diffeomorphism) Boothby [1975], Chern et al. [2000], ChoquetBruhat [1968], Demazure [2000], Dieudonn´e [1960], Kobayashi and Nomizu [1996], Olver [1995], Pham [1992]. In other words, two geometric objects are said equivalent if there exists a diffeomorphism mapping the first one into the second and vice versa. In the same spirit, system equivalence by static feedback has been introduced to deal with the equivalence of systems under static feedback action in an intrinsic way, namely independently of the choice of coordinates where the system and/or the control inputs are expressed. They yield classifications (i.e. partition of the set of systems into cosets) and canonical forms (“simplest” system representatives of the cosets) of major interest, such as the ones provided by Brunovsk´ y for linear controllable systems Brunovsk´ y [1970] (see also Rosenbrock [1970], Wolovich [1974], Tannenbaum [1980], Kailath [1980], Antoulas [1981], Polderman and Willems [1997], Sontag [1998] and, for extensions in the nonlinear case Sommer [1980], Jakubczyk and Respondek [1980], Hunt et al. [1983b], Marino [1986], Charlet et al. [1989, 1991], Gardner and Shadwick [1992], Isidori [1995], Nijmeijer and van der Schaft [1990], Marino and Tomei [1995]). However, equivalence relations which only involve static state feedback appear to be too fine to study flat systems. They are finer than the Lie-B¨ acklund one which corresponds to the equivalence under a special class of dynamic feedback called endogenous dynamic feedback Martin [1992], Fliess et al. [1995], Martin [1994], van Nieuwstadt et al. [1994], Aranda-Bricaire et al. [1995], Pomet [1993], van Nieuwstadt et al. [1998], Fliess et al. [1999], L´evine [2006], that strictly contains the class of static feedback.
1.4 Equivalence and Stability In the stability analysis of closed-loop systems, the notion of equivalence, though different than the previously discussed ones and called here topological equivalence, is also most important: in the introduction to dynamical system theory (Chapter 3), we emphasize on the equivalence between the behavior (stability or instability) of a nonlinear system around an equilibrium point and the one of its tangent linear approximation. If the latter tangent linear approximation is hyperbolic (if it has no eigenvalue on the imaginary axis of the complex plane), the nonlinear system can be proved to be topologically equivalent to its tangent linear approximation. More precisely (Hartman-Grobman’s Theorem), hyperbolic systems can be shown to be equivalent to a linear system made up with two decoupled
6
1 Introduction
linear subsystems, the first one being stable and the second one being unstable. These subsystems respectively live in locally defined invariant manifolds called stable and unstable, their respective dimensions corresponding to the number of eigenvalues, counted with their multiplicities, of the tangent linear approximation at the equilibrium point with negative and positive real parts. In the non hyperbolic case, a nonlinear system may be shown to be topologically equivalent to a system made up with a linear stable subsystem and a linear unstable subsystem, obtained as before from the linear tangent approximation, and completed by a nonlinear neutral one, coupled to the previous linear ones. These subsystems respectively live in locally defined stable, unstable and centre manifolds (Shoshitaishvili’s Theorem). Singularly perturbed systems are introduced in this framework in Section 3.3, which extends the previous approach to control systems. We particularly insist on the links between singularly perturbed systems, multiple time scales and hierarchical control.
1.5 What is a Nonlinear Control System? 1.5.1 Nonlinearity versus Linearity Before talking about nonlinearity, let us discuss the definition of linearity. First, linearity is a coordinate dependent property since a linear system might look nonlinear after a nonlinear change of coordinates. Take the following elementary example: x˙ = u in a sufficiently small √ neighborhood of the initial condition x0 = 0, and transform x into ξ = x + 1 and u into v = u. We ˙ u v have ξ˙ = 2√xx+1 = 2ξ . Therefore, the transformed system, namely ξ˙ = 2ξ is no more linear. Note that in the previous transformation, ξ doesn’t depend on u and is invertible in the sense that x = ξ 2 − 1, and v is also invertible as a function of u1 . Clearly, the set of transformations that enjoy these properties forms a group with respect to composition, and the linearity property of the system thus depends on this group2 . More precisely, a system is said linear if it can be transformed into a linear system by a transformation of this group. The number of linear systems thus depends on the “size” of the group. This is why transformations depending on the input and its successive time derivatives, generating a larger group than the above mentioned one, will be introduced later. 1 this transformation is actually a local C ∞ diffeomorphism: in addition to its local invertibility, it is of class C ∞ in a neighborhood of x0 = 0, with C ∞ inverse. 2 indeed, the smoothness of the transformations, which may be C k for any k ≥ 2 or analytic, is also part of the group definition.
1.5 What is a Nonlinear Control System?
7
Linear systems form a distinguished class in the set of nonlinear systems since they enjoy simpler properties as far as controllability, open-loop stability/instability, stabilizability, etc. are concerned. Therefore, they should be detected independently of the particular choice of coordinates in which they are expressed.
1.5.2 Uncontrolled versus Controlled Nonlinearity In order to outline some fundamental differences between linear and nonlinear systems we may start with stability aspects for uncontrolled systems, by considering a linear system perturbed by a small nonlinearity, that significantly modifies the behavior of the original linear system. We next show that, once the system is controlled, what counts is the control efficiency to attenuate or remove the phenomenon created by the open-loop nonlinearity, as presented in the next example.
An introductory Example This example is presented in three steps. We first start with a linear non controlled system, a spring with linear stiffness (force exerted by the spring proportional to its length variation), with a nonlinear perturbation, that may physically result from a defect of the spring, and modelled as a small nonlinear perturbation of the stiffness coefficient. It turns out that this small defect creates a big change in the system behavior, that doesn’t exist in linear systems. At a second step, we connect the system with a passive device, that may be interpreted as a special case of feedback control, and show how the system behavior is locally modified. Finally, the third step consists in replacing the passive device by an active one to globally transform the original nonlinear system behavior into a linear one that may be tuned as we want.
m
k
G
O Fig. 1.1 Spring and mass
l+x
x
8
1 Introduction
Uncontrolled nonlinear perturbation Consider a system made of a mass and an undamped spring of pulsation ω whose position, denoted by x, satisfies : x ¨ + ω2 x = 0
(1.1)
q k with the spring stiffness k related to the pulsation ω by ω = m , m being the mass of the rigid body attached to the spring. Setting x˙ = v, the expression v 2 + ω 2 x2 , proportional to the mechanical energy of the spring, remains constant along any trajectory of (1.1) since d 2 2 2 ˙ x + ω 2 x) = 0. In other words, in the (x, v)-plane (phase dt (v + ω x ) = 2x(¨ plane), these trajectories are the ellipses of equation v 2 + ω 2 x2 = C, where C is an arbitrary positive constant, and thus are closed curves around the origin, whose focuses are determined by the initial conditions (x0 , v0 ). We indeed recover the classical interpretation that once the spring is released from its initial position x0 with initial velocity v0 , it oscillates forever at the pulsation ω. This motion is neither attenuated nor amplified. However, if the spring stiffness is not exactly a constant, even very close to it, but if this aspect has been neglected, a very different behavior may be expected. Assume in fact that the spring stiffness is a linear slowly decreasing func2 tion of the length : k(x) m = ω − εx, with ε > 0 small, which means that the pulling force produced by the spring is k(x)x = ω 2 x − εx2 . The spring’s dynamical equation becomes x ¨ + ω 2 x − εx2 = 0
(1.2)
a nonlinear equation because of the x2 term. Setting as before v = x, ˙ we easily check that the expression (the mechanical energy up to a constant) 2 Eε (x, v) = v 2 + x2 (ω 2 − εx) 3
(1.3)
d is such that dt Eε (x, v) = 0 along the integral curves of (1.2), and thus remains constant with respect to time. The perturbed spring trajectories are therefore described by the curves of equation Eε (x, v) = Eε (x0 , v0 ) shown on Figure 1.2. We see that for a small initial length and velocity, the spring’s behavior is not significantly changed with respect to the previous linear one. On the contrary, for larger initial length and velocity, the spring becomes too sluggish and thus unstable. The differences with respect to the original linear system are thus twofold:
1. the only equilibrium point of the linear system (1.1) is the origin (0, 0) 2 whereas system (1.2) has two equilibria (0, 0) and ( ωε , 0);
1.5 What is a Nonlinear Control System?
9
30
25
20
15
10
5
0
-5 -15
-10
-5
0
5
10
15
20
25
Fig. 1.2 Destabilization of the spring caused by its nonlinear stiffness
2. the linear system behavior is purely oscillatory, whereas the perturbed nonlinear one is oscillatory near the origin but unstable for larger initial conditions.
Adding a damper This phenomenon is well-known on truck’s trailers or on train wagon bogies where it is necessary to add a damper to dissipate the energy excess stored in the spring when released. In fact, the appending of a damper may be interpreted as a feedback: in (1.2), a frictional force Kv, proportional to the velocity, is added, which amounts to consider that the system is controlled by the force u = Kv : x ¨ + ω 2 x − εx2 + u = x ¨ + ω 2 x − εx2 + Kv = 0.
(1.4)
ε Doing the previous calculation again, dE dt along an arbitrary trajectory of dEε 2 (1.4), we find that dt = −2Kv < 0, which proves that the function Eε is monotonically decreasing along the trajectories of (1.4). It is readily seen 2 that, for |x| < ωε , the function Eε is strictly convex and admits the origin x = 0, v = 0 as unique minimum. Consequently, the decreasing rate of Eε 2 along the trajectories such that |x| < ωε implies that the trajectories all converge to the origin, and thus that the system is stabilized thanks to the damper
10
1 Introduction
Active control The stability can be improved yet if the damper is replaced by an active hydraulic jack for instance. Indeed, if the force u produced by the damper can be modified at will, it suffices to set u = −ω 2 x + εx2 + K1 x + K2 v with K1 > 0 and K2 > 0, and the equation (1.4) becomes the exponentially stable linear differential equation x ¨ = −K1 x − K2 x. ˙ The thread followed in this simple example is quite representative of one of the main orientations of this course: we first analyze the nonlinearities that might influence the non controlled system, and then various feedback loop designs to compensate some or all of the unwanted dynamical responses are studied.
Chapter 9
DC Motor Starting Phase
This chapter is aimed at showing that, even for DC motor control, a quite standard application of control, described by a single input linear system, the so-called flatness-based approach may dramatically improve its performance in a transient phase. More precisely, we consider a DC motor on which we test two control laws starting at rest to reach a given permanent angular speed in a given duration. The first control law is a classical PID controller with a step speed reference, and the second one is the same PID controller with a flatness-based reference trajectory in place of the step reference, in order to evaluate the impact of the feedforward design.
Fig. 9.1 A standard DC motor
J. Lévine, Analysis and Control of Nonlinear Systems, Mathematical Engineering, DOI 10.1007/978-3-642-00839-9_9, © Springer-Verlag Berlin Heidelberg 2009
203
204
9 DC Motor Starting Phase
The motor has inductance L, resistance R, assumed constant, and torque constant K. Its inertia is denoted by J and its coefficient of viscous friction Kv . An unknown resistive torque Cr is applied to the motor. The current through the motor is denoted by I, the angular speed by ω and the input voltage by U , the control variable. At the initial time ti we have ω(ti ) = ω(t ˙ i ) = 0, and, at the final time tf (the duration is noted T = tf − ti ), we want the motor to reach the angular speed ω(tf ) = ωf with ω(t ˙ f ) = 0. The model is given by dI = U − RI − Kω dt dω J = KI − Kv ω − Cr . dt L
(9.1)
This system is indeed flat with ω as flat output: setting y = ω, all the system variables can be expressed as functions of y and derivatives up to second order: ω =y 1 I = (J y˙ + Kv y + Cr ) K dI U =L + RI + Ky dt 2 RJ + LKv JL K + RKv y+ y˙ + y¨ = K K K L R + Cr + C˙ r . K K
(9.2)
9.1 Tracking of a Step Speed Reference A classical approach consists in choosing as reference trajectory of ω the speed step 0 si ti ≤ t < ti + ε ω ∗ (t) = (9.3) ωf si ti + ε ≤ t ≤ tf where ε is an arbitrary real number satisfying 0 ≤ ε < T , generally chosen small compared to T . We assume that the motor is endowed with an angular speed sensor (tachymeter). To track the step reference (9.3), the following ProportionalIntegral-Derivative (PID) output feedback is used: U = U ∗ − KP (ω − ω ∗ ) − KD ω˙ − KI
Z
t
ti
(ω(τ ) − ω ∗ (τ ))dτ
(9.4)
9.1 Tracking of a Step Speed Reference
205
where U ∗ is the steady state voltage corresponding to ωf and Cr = 0 (recall that the resistive torque is unknown), i.e. U ∗ = RIf + Kωf , with KIf = RKv ∗ Kv ωf , and thus U = K + K ωf . Recall that the integral part of the controller (9.4) is designed to compensate the asymptotic angular deviation resulting from the ignorance of Cr . For obvious thermal dissipation and safety reasons, the following limitations on the voltage, current and rate of current are considered: dI (9.5) |U | ≤ Umax , ≤ δ, |I| ≤ Imax . dt
motor current in A
angular velocity in rd/s
All along this section, the motor constants are L = 3.6.10−3 H, R = 1.71 Ω, K = 0.1 Nm/s, J = 6.10−5 Nms2 /rd and Kv = 0.3.10−5 Nms2 /rd, the resistive torque Cr is equal to 0.5 Nm and the constraints are Umax = 25 V, δ = 100 A/s and Imax = 10 A. In the next simulations, the initial angular speed is ω(ti ) = 0, the final one is ωf = 30 rd/s and the duration T = 0.1s. We also make an initial error on the angular speed of 0.087 rd/s (≈ 5◦ /s). The gains of the PID (9.4) are KP = 0.056, KI = 7.45 and KD = 10−5 . They correspond to time constants equal to 10−2 , 6.6.10−3 and 4.10−3 s. 60 40 20 0 0
0.05
0.1
0.15
0.2
0.25 t in seconds
0.3
0.35
0.4
0.45
0.5
0
0.05
0.1
0.15
0.2
0.25 t in seconds
0.3
0.35
0.4
0.45
0.5
0
0.05
0.1
0.15
0.2
0.25 t in seconds
0.3
0.35
0.4
0.45
0.5
2 1 0 -1 -2
voltage in V
6 4 2 0
Fig. 9.2 Tracking of the angular speed from 0 to 30 rd/s with a current rate limitation of 100 A/s.
Figure 9.2 depicts a simulation of the closed-loop system using the PID (9.4) with a current rate limitation of 100 A/s. The objective of 30 rd/s is reached after a relatively hectic transient of about 0.1 s. One may remark that the current slope remains saturated during more than 0.07 s during the
206
9 DC Motor Starting Phase
motor current in A
angular velocity in rd/s
starting phase. The stabilization objective is reached within the required 0.1 s but with an inacceptable speed overshoot of about twice the desired value ωf . In fact, the current rate limitation is too strict to let the motor exponentially converge to its reference yielding a slower convergence.
300 200 100 0 0
0.05
0.1
0.15
0.2
0.25 t in seconds
0.3
0.35
0.4
0.45
0.5
0
0.05
0.1
0.15
0.2
0.25 t in seconds
0.3
0.35
0.4
0.45
0.5
0
0.05
0.1
0.15
0.2
0.25 t in seconds
0.3
0.35
0.4
0.45
0.5
5
0
-5
voltage in V
20 10 0 -10 -20
Fig. 9.3 Angular speed step from 0 to 30 rd/s with a current rate limitation of 95 A/s PID tracking.
In Ffigure 9.3, the current rate constraint is slightly stengthened to 95 A/s, all the other constraints remaining unchanged. An unstable response is obtained, which proves that the previous bound of 100 A/s is approximately the lower limit under which the stability is no more guaranteed. In fact, an increase of this current rate bound up to 500A/s is necessary for this constraint to stop being active, without modifying the bounds of the other constraints. The exponential convergence is thus recovered and effectively corresponds to the pole placement performed by the PID, as shown in Figure 9.4. Note that, even in this case, an overshoot of about 30% of ωf ’s value remains.
9.2 Flatness Based Tracking Another approach consists in replacing the speed step reference (9.3) by a smooth enough trajectory that the motor can effectively follow, deduced from the system flatness. In other words, from a reference trajectory of the angular speed, which is actually a flat output, one can deduce the open-loop voltage
angular velocity in rd/s
9.2 Flatness Based Tracking
207
40 30 20 10 0 0
0.05
0.1
0.15
0.2
0.25 t in seconds
0.3
0.35
0.4
0.45
0.5
0
0.05
0.1
0.15
0.2
0.25 t in seconds
0.3
0.35
0.4
0.45
0.5
0
0.05
0.1
0.15
0.2
0.25 t in seconds
0.3
0.35
0.4
0.45
0.5
voltage in V
motor current in A
2.5 2 1.5 1 0.5 0
4
2
0
Fig. 9.4 Angular speed step from 0 to 30 rd/s with a current rate limitation of 500 A/s PID tracking.
and current reference trajectories that generate, in the absence of perturbations and modelling errors, the required speed trajectory, assuming that the constraints (9.5) are satisfied. These trajectories are then used in the PID (9.4) to replace the references U ∗ , ω ∗ and ω˙ ∗ . Since the initial and final conditions are ω(ti ) = 0, ω((t ˙ i )) = 0 and ω(tf ) = ωf , ω(t ˙ f ) = 0, one can construct an at least twice continuously differentiable reference trajectory ω ∗∗ of the angular speed ω by polynomial interpolation: ω ∗∗ = ωf
t − ti T
2
3−2
t − ti T
.
(9.6)
We then deduce the reference current and voltage I ∗∗ and U ∗∗ by (9.6) and (9.2), assuming that the unknown resistive torque Cr vanishes: dω ∗∗ 1 J + Kv ω ∗∗ I ∗∗ = K dt (9.7) dI ∗∗ ∗∗ U =L + RI ∗∗ + Kω ∗∗ . dt One can easily verify that the trajectory t 7→ ω ∗∗ (t) is non decreasing, and thus that ω ∗∗ (t) ≤ ωf for all t ≤ tf which proves that this reference trajectory has no overshoot. Furthermore, one easily checks that the maximum current on this trajectory is 0.27 A, that the maximal current rate is 9.8 A/s and that the maximum voltage is 3 V.
208
9 DC Motor Starting Phase
Replacing ω ∗ by the flatness-based reference trajectory ω ∗∗ in the PID (9.4) we get: U = U ∗∗ − KP (ω − ω ∗∗ ) − KD (ω˙ − ω˙ ∗∗ ) Z t −KI (ω(τ ) − ω ∗∗ (τ ))dτ.
(9.8)
ti
angular velocity in rd/s
The gains KP , KI and KD , as well as the errors and constraints are the same 30 20 10 0 0
0.05
0.1
0.15
0.2
0.25 t in seconds
0.3
0.35
0.4
0.45
0.5
0
0.05
0.1
0.15
0.2
0.25 t in seconds
0.3
0.35
0.4
0.45
0.5
0
0.05
0.1
0.15
0.2
0.25 t in seconds
0.3
0.35
0.4
0.45
0.5
motor current in A
0.3 0.2 0.1 0
-0.1
voltage in V
3 2 1 0
Fig. 9.5 Tracking of the flatness-based angular speed reference trajectory from 0 to 30 rd/s with the PID (9.8).
as in the previous paragraph with the speed step reference. Nevertheless, we obtain an exponential convergence without overshoot, the final angular speed being reached in 0.1 s with a precision of about ± 2.10−3 rd/s (≈ 0.1◦ /s) (see figure 9.5). Let us stress that the maximum current rate limitation is 50 times smaller than with the speed step for a comparable exponential convergence, thus implying significant energy savings and decreased motor wear for lower power dissipation. To conclude, with the same PID, the same gains and in presence of the same perturbations, we obtain a significantly different behavior according to the reference trajectory design in the PID. The main advantage of the flatness-based reference trajectory design is here that the reference of ω is such that the motor can track it without saturating the constraints, and that the evolution of the voltage reference U ∗∗ is at each time compatible with the speed reference ω ∗∗ . Let us remark in addition that we have kept the same PID for simplicity’s sake. However, the flatness-based reference trajectory design clearly allows a significant increase of the PID gains without risk of
9.2 Flatness Based Tracking
209
saturation and we can even expect greater performance and/or robustness improvements.
Chapter 10
Displacements of a Linear Motor With Oscillating Masses
The aim of this chapter1 is to show, on a barely undamped oscillating system, roughly approximated by a simple single-input linear model, the importance of feedforward design to simultaneously achieve, with the same smooth controller (no switch), high precision positioning, fast displacements, and robustness versus modelling errors, objectives which are, at first sight, antinomic. We consider a linear motor moving along a rail and, in a first step, related by one flexible rod to an auxiliary mass (see Figure 10.1), and in a second step, by two different flexible rods to two different auxiliary masses (see Figure 10.8). The motor is assumed to be controlled by the force it delivers. All along this study, we assume that the motor position and speed are measured in real time with an arbitrary accuracy, but that the auxiliary mass positions are not measured. Our aim is to generate fast rest-to-rest displacements of the motor with a motor positioning as accurate as possible. Indeed, when the force is non zero, the motor accelerates, producing oscillations of the auxiliary bodies, and, even if their masses are small compared to the motor’s mass, the flexible rods transmit oscillations to the motor, and every controller reaction needed to compensate the corresponding deviation from the motor set point, not only results in a deterioration of the positioning accuracy but in energy expenses and thermal losses. Thus, it is clear that cancelling the oscillations of the auxiliary bodies might be useful. What is less obvious is that, at the same time, the robustness of the controller versus modelling errors is not deteriorated. 1
Work partially done in collaboration with the company Micro-Controle/Newport. Related Patent: US 20020079198A1. Particular thanks are due to Dr. D.V. Nguyen for his help to realize the set-up displayed in Figures 10.1 and 10.8. Videos are available at the URL http://cas.ensmp.fr/ levine (Pendules et Syst` emes flexibles).
J. Lévine, Analysis and Control of Nonlinear Systems, Mathematical Engineering, DOI 10.1007/978-3-642-00839-9_10, © Springer-Verlag Berlin Heidelberg 2009
211
212
10 Displacements of a Linear Motor With Oscillating Masses
10.1 Single Mass Case
rail
linear motor
flexible beam mass bumper
Fig. 10.1 Single mass elastically related to a linear motor.
The total mass of the motor is M . The auxiliary body’s mass, including the flexible rod’s mass, is m. The flexible rod may be interpreted as a spring and damper, with spring stiffness k and (linear) damping coefficient r. The position of the center of gravity of the motor (resp. of the auxiliary body) is denoted by x (resp. z). At rest, we assume that x = z.The motor delivers a force F , considered as the control variable. In a first approximation2 , the system reads Mx ¨ = F − k(x − z) − r(x˙ − z) ˙ m¨ z = k(x − z) + r(x˙ − z) ˙
(10.1)
The most common approach consists in ignoring the influence of the auxiliary mass, thus considered as a perturbation, and in tuning a PID to track rest-to-rest reference trajectories of the motor and obtain the required positioning precision, in the same spirit as in (9.4) of the previous chapter. This approach will be compared to the one where the auxiliary mass is taken into account and where the reference trajectories are rest-to-rest for both the motor and the auxiliary mass, while the initial and final positions of the motor are the same and with the same displacement duration. Note that such reference trajectories are easily computed thanks to the flatness 2
In theory, the flexible rod is modelled by a partial differential equation, i.e. an infinite dimensional system.The finite dimensional model (10.1) may be interpreted as a modal approximation at the second order.
10.1 Single Mass Case
213
property of system (10.1) and that, in this approach, the auxiliary mass and the motor stop simultaneously, at least if the characteristics k and r are precisely estimated. The herebelow presented data are simulation results. The reader can verify that they are fully confirmed by the previously mentioned videos of the MicroControle/Newport set-up3 . In what follows, we use M = 4 kg for the mass of the motor, m = 0.15 kg for the auxiliary mass, k = m(4 · 2π)2 N/m for the stiffness √ of the rod (corresponding to a resonance frequency of 4 Hz), r = 2 · 0.01 km Ns/m for the damping coefficient of the rod (corresponding to a damping time constant of 1 0.01 s).
10.1.1 Displacement Without Taking Account of the Auxiliary Mass If we don’t take account of the auxiliary mass the system reads Mx ¨=F +p
(10.2)
the unknown disturbance p including the contribution of the auxiliary mass. If we neglect the disturbance p, the following reference trajectory 4 t xref (t) = x0 + (x1 − x0 ) T 2 3 ! t t t × 35 − 84 + 70 − 20 T T T
(10.3)
realises a rest-to-rest displacement starting from x0 at rest at time 0 and ending at x1 at rest at time T , with the force and its derivative equal to 0 at times 0 and T . One can verify that the reference of the force Fref is given by x1 − x0 t Fref = M x ¨ref = 420 M 2 T T 2 3 ! t t t × 1−4 +5 −2 . T T T To attenuate the sensitivity of the motor displacement to perturbations, we add, to the reference force, the following PID loop: 3
available at the URL http://cas.ensmp.fr/ levine (Pendules et Syst` emes flexibles)
214
10 Displacements of a Linear Motor With Oscillating Masses
F = Fref − kP (x − xref ) − kD (x˙ − x˙ ref ) Z t −kI (x(τ ) − xref (τ )) dτ
(10.4)
0
whose gains are kP = 18260.104 , kD = 53950 and kI = 13280.107 . They approximately correspond to eigenvalues −8.103 , −4.103 , −103 and −0, 25 ± 25, 13i of the closed-loop system (10.1) with (10.4), the two last complex conjugated eigenvalues corresponding to the auxiliary mass dynamics m¨ z= −kz − rz. ˙ The latter eigenvalues cannot be significantly modified by the output feedback (10.4), since the error on z and z˙ are not taken into account. The corresponding time constants, except those of the auxiliary mass, are approximately 10−3 s, 1, 25.10−4 s and 2, 5.10−4 s.
10.1.2 Displacements Taking Account of the Auxiliary Mass To prevent the auxiliary mass from oscillating, without measuring its position, we use the model (10.1) to find rest-to-rest reference trajectories of the motor and the auxiliary mass. One can express x, z and F in function of a flat output of system (10.1) and its successive derivatives and deduce a rest-to-rest trajectory for both the motor and the auxiliary mass starting from x0 = z0 = 0 at time t = 0 and arriving at x1 = z1 = 0.1 m at time t = T . Recall from Theorem 6.9 the flat output computation method. We first rewrite (10.1) as: ! d d d2 −(r dt + k) x 1 (M dt 2 + r dt + k) = F 2 z 0 −(r d + k) (m d 2 + r d + k) dt
dt
dt
! d2 d d (M + r + k) −(r + k) 2 d dt dt dt ) = and B = and denote by A( dt d d2 d −(r dt + k) (m dt 2 + r dt + k) 1 . We immediately see that C T = 0 1 is such that C T B = 0. Thus, 0 d d d2 d . We are looking for a ) = −(r dt P (F ) = C T A( dt + k) (m dt + r + k) 2 dt Px polynomial matrix Θ = solution of P (F )Θ = 0. The reader may verify Pz that the right-Smith decomposition of P (F ) is given by P (F )U = 1 0 with r2 U= mk 2
m
d r dt
+ 1− 1
mk r2
2
d d m dt 2 + r dt + k d r dt +k
10.1 Single Mass Case
215
2
d d Px m dt 2 + r dt + k P0 where P0 is an arbitrary non = d Pz r dt + k zero real number. Choosing P0 = k1 , we get:
and thus Θ =
r m r y˙ + y¨, z = y + y˙ k k k r Mm F = (M + m) y¨ + y (3) + y (4) k (M + m)k x=y+
These relations define y in a unique way: r2 r r2 x+ 1− z − z. ˙ y= mk mk k
(10.5)
(10.6)
Note that the physical meaning of this expression is not obvious. One can however remark that, if one interprets (10.5) as the fact that y is the input of a filter whose output is x and z, formula (10.6) is the inverse of this filter. r Furthermore, since y = z + kr m (x − z) − z˙ , if the rod’s stiffness is large enough ( kr ≈ 0), and if the upper bounds of the deviation x − z and the speed z˙ are not too large, we have y ≈ z, namely the flat output corresponds to the position of the auxiliary mass. Nevertheless, the expression (10.6) is not necessary to compute the reference trajectories, as will be shown in the next construction where only (10.5) is used. Let us denote by yref the required reference trajectory of y. Since we start from x0 = z0 at time t = 0 at rest, thus with null derivatives of x and z up to order 2, and with F0 = 0, and arrive at x1 = z1 at time T at rest, i.e. with null derivatives of x and z up to order 2, with F1 = 0, we deduce from formulas (10.5) that (3)
(4)
yref (0) = x0 , y˙ ref (0) = y¨ref (0) = yref (0) = yref (0) = 0 (3) (4) yref (T ) = x1 , y˙ ref (T ) = y¨ref (T ) = yref (T ) = yref (T ) = 0. By polynomial interpolation, we get 5 t yref (t) = x0 + (x1 − x0 ) T 2 t t + 540 × 126 − 420 T T 3 4 ! t t −315 + 70 . T T
(10.7)
The reference trajectories xref of x and Fref of F are thus obtained by replacing y by yref given by (10.7) in (10.5), and then F is obtained by plugging the obtained expressions of xref , x˙ ref and Fref in (10.4). The gains
216
10 Displacements of a Linear Motor With Oscillating Masses
kP = 18260.104 , kD = 53950 and kI = 13280.107 of the PID are the same as before.
10.1.3 Comparisons The simulation results are presented for both approaches for T =0.5s, √ 0.25s or 0.2s, for k = m(4 × 2π)2 , +10%, +20%, and for r = 2 × 0.01 km, 10%, and -20%, in Table 10.1 and in Figures 10.3 to 10.7. The notation ∆x, denotes the maximal amplitude of the deviation between the motor position and its reference after T , ∆z, the maximal amplitude of the oscillations of the auxiliary mass after T , ∆F , the maximal amplitude of the force after T and |Fmax | the maximal force in absolute value between 0 and T .
1st approach k, r
T (s)
∆x (m)
∆z (m)
2nd approach
∆F |Fmax | (N) (N)
∆x (m)
∆z (m)
∆F |Fmax | (N) (N)
0,5 2.10−10 8.10−3 0, 8 0,25 2.10−9 0,1 10 0,2 2.10−9 0,12 14
13 50 80
10−12 6.10−4 0,06 1, 2.10−12 8.10−4 0,06 1, 2.10−12 4.10−4 0,06
10 80 200
0,5 8.10−11 4.10−3 0,4 1,1k, 0,9r 0,25 2.10−9 0,1 10 0,2 2, 5.10−9 0,12 13
13 50 80
4.10−11 2.10−3 2.10−10 0,01 2, 5.10−10 0,013
0,2 1 1,4
10 80 200
0,5 2.10−11 1,2k, 0,8r 0,25 2.10−9 0,2 3.10−9
13 50 80
3.10−11 1, 6.10−3 0,3 4.10−10 0,02 2 4.10−10 0,02 3
10 80 200
exact
10−3 0,1 0,12
0,1 10 14
Table 10.1 Comparison between the two approaches
We notice that the first approach is relatively robust with respect to errors on k and r. However, the positioning precision dramatically depends on the displacement duration T . For T = 0, 5s, the precision is significantly better than for T = 0, 25 or 0, 2s because of the large oscillations of the auxiliary mass: the latter oscillations have an amplitude of approximately 0.1m, the same order of magnitude as the full displacement itself. The positioning precision is thus obtained by spending a big amount of energy, the amplitude of
10.1 Single Mass Case
217
motor reference trajectory (m) 0.1 0.09 0.08 0.07 0.06 0.05 0.04 0.03 0.02 0.01 0 0
auxiliary mass displacement (m) 0.12 0.1 0.08 0.06 0.04 0.02
0.5 -11
x 10 12 10 8 6 4 2 0 2 4 6 8 0
1
1.5
0 0
0.5
motor-reference deviation (m)
1
1.5
1
1.5
force (N) 15 10 5 0 5 10
0.5
1
1.5
15 0
0.5
Fig. 10.2 Auxiliary mass taken as a perturbation (1st approach), duration T = 0, 5s, error of 20% on k and r. motor displacement (b) and flat output (g) (m) 0.2
auxiliary mass displacement (m) 0.2
0.15
0.15
0.1
0.1
0.05
0.05
0 0
0.5 -11
6
x 10
1
1.5
0 0
0.5
motor-reference deviation (m)
1
1.5
1
1.5
force (N) 10
4
5
2 0 0 5
2 4 0
0.5
1
1.5
10 0
0.5
Fig. 10.3 Auxiliary mass taken into account (2nd approach), duration T = 0, 5s, error of 20% on k and r.
the force necessary to maintain the motor at its final position being of the order of 10N. This contrasts with the flatness-based approach where the precision is about 10 times finer, with a comparable robustness to errors on k and r, and a relative insensitivity of the precision with respect to the duration T . For T ≤ 0, 25s, even if k and r are erroneous, the amplitude of the auxiliary mass is about 10 times smaller and the force necessary to maintain the motor is also at least 5 times smaller. On the other hand, the maximal force needed to track the reference trajectory is about twice larger than with the first approach.
218
10 Displacements of a Linear Motor With Oscillating Masses motor reference trajectory (m)
auxiliary mass displacement (m)
0.1
0.2
0.08
0.15
0.06 0.1 0.04 0.05
0.02 0 0
0.5 -9
2
x 10
1
1.5
0 0
1
1.5
1
1.5
force (N) 100
1
50
0
0
1
50
2 0
0.5
motor-reference deviation (m)
0.5
1
1.5
100 0
0.5
Fig. 10.4 Auxiliary mass taken as a perturbation (1st approach), duration T = 0, 25s, error of 20% on k and r. motor displacement (b) and flat output (g) (m) 0.2
auxiliary mass displacement (m) 0.2
0.15
0.15
0.1
0.1
0.05
0.05
0 0
0.5 -10
4
x 10
1
1.5
0 0
0.5
motor-reference deviation (m)
1
1.5
1
1.5
force (N) 100
2
50
0
0
2
50
4 0
100 0
0.5
1
1.5
0.5
Fig. 10.5 Auxiliary mass taken into account (2nd approach), duration T = 0, 25s, error of 20% on k and r.
We also remark that for T = 0, 2s, the motor trajectory is no more a monotone function of time since, once arrived at the middle of the displacement, the motor goes backward before starting again onwards to its final position in order to ensure that the auxiliary mass arrives at rest (see Figure 10.7 top-left). To conclude, with the same tunings, the second approach provides a significant improvement of the precision without deterioration of the robustness for comparable displacement durations and a smaller energy expense to maintain the precision at the final position, considering that the energy spent is proportional to the integral along the duration T of the squared force. How-
10.1 Single Mass Case
219
motor reference trajectory (m)
auxiliary mass displacement (m)
0.1
0.2
0.08
0.15
0.06 0.1 0.04 0.05
0.02 0 0
0.5 -9
2
x 10
1
1.5
0 0
1
1.5
1
1.5
force (N) 100
1
50
0
0
1
50
2 0
0.5
motor-reference deviation (m)
0.5
1
1.5
100 0
0.5
Fig. 10.6 Auxiliary mass taken as a perturbation (1st approach), duration T = 0, 2s, error of 20% on k and r. motor displacement (b) and flat output (g) (m) 0.2
auxiliary mass displacement (m ) 0.2
0.15
0.15
0.1
0.1
0.05
0.05
0 0
0.5 -10
4
x 10
1
1.5
0 0
0.5
motor-reference deviation (m)
1
1.5
1
1.5
force (N) 200
2
100
0 0 2 100
4 6 0
0.5
1
1.5
200 0
0.5
Fig. 10.7 Auxiliary mass taken into account (2nd approach), duration T = 0, 2s, error of 20% on k and r.
ever, the duration cannot be decreased below the natural oscillation period of the auxiliary mass, whose frequency is 4Hz, i.e. a period equal to 0,25s. Below this duration, the reference trajectory may go backwards and have an important overshoot, yielding excessive force peaks, which constitutes a limit to the 2nd approach.
220
10 Displacements of a Linear Motor With Oscillating Masses
rail
linear motor
flexible beams masses bumpers
Fig. 10.8 Two masses elastically related to a linear motor.
10.2 Displacements With Two Auxiliary Masses Let us go on with the previous comparison with a second mass m0 = 0.04 kg related to the motor via a second flexible rod (see Figure 10.8). The characteristics of the second rod √ are k 0 = m0 (7 · 2π)2 N/m (characteristic frequency 1 0 of 7 Hz) and r = 2 · 0.012 k 0 m0 Ns/m (damping time constant of 0.012 s). The system is given by Mx ¨ = F − k(x − z) − r(x˙ − z) ˙ − k 0 (x − z 0 ) − r0 (x˙ − z˙ 0 ) m¨ z = k(x − z) + r(x˙ − z) ˙ m0 z¨0 = k 0 (x − z 0 ) + r0 (x˙ − z˙ 0 ).
(10.8)
The first approach follows exactly the same lines as in the previous section: the two auxiliary masses being considered as perturbations, the system is given by (10.2) and the control law by (10.4). with the same gains kP = 18260.104 , kD = 53950 and kI = 13280.107 . For the second approach, we first compute a flat output y according to the same principle as in the single mass case, using Theorem 6.9: r r0 m m0 rr0 x=y+ + 0 y˙ + + 0 + 0 y¨ k k k k kk mr0 + rm0 mm0 (4) (3) + y + y 0 kk kk 0 (10.9) r0 m0 rr0 rm0 (3) r z=y+ + 0 y˙ + + y ¨ + y 0 kk 0 kk 0 k k 0 k 0 r r m rr mr0 (3) z0 = y + + 0 y˙ + + 0 y¨ + y k k k kk kk 0
10.2 Displacements With Two Auxiliary Masses
221
r r0 ˆ ˆ F = M y¨ + M y (3) + k k0 m ¯0 rr0 m0 ˆ ¯ + M + M 0 + M 0 y (4) k k kk 0 mr0 ¯ 0 rm M mm0 (6) (5) ¯ + M y y + M + kk 0 kk 0 kk 0
(10.10)
ˆ = (M + m + m0 ), M ¯ = M + m and M ¯ 0 = M + m0 . with the notations M As in the single mass case, one can express y as a linear combination of x, x, ˙ z, z, ˙ z 0 , z˙ 0 . The result being useless for rest-to-rest trajectory computations, we leave it to the reader as an exercise. To generate rest-to-rest trajectories, formula (10.7) is modified as follows: 7 t y(t) = x0 + (x1 − x0 ) T 2 t t + 20020 × 1716 − 9009 T T 3 4 t t −24024 16380 T T 6 ! 5 t t + 924 . −6006 T T
(10.11)
We keep the same PID control law (10.4) with the reference force and trajectory Fref and xref deduced from (10.9), (10.10), (10.11), still with the gains kP = 18260.104 , kD = 53950 and kI = 13280.107 .
motor displacement (m) 0.12 0.1 0.08 0.06 0.04 0.02 0 0
0.5
1
-10
1.5
x 10 1.5 1 0.5 0 0.5 1 1.5 0
1st auxiliary mass displacement (m) 0.12 0.1 0.08 0.06 0.04 0.02 0 0
0.5
motor-reference deviation (m)
0.5
1
1.5
2nd auxiliary mass displacement (m)
1
1.5
1
1.5
0.12 0.1 0.08 0.06 0.04 0.02 0 0
0.5
1
1.5
force (N) 15 10 5 0 5 10 15 0
0.5
Fig. 10.9 Auxiliary masses taken as perturbations (1st approach), duration T = 0, 5s, error of 20% on k and r.
222
10 Displacements of a Linear Motor With Oscillating Masses
0.2
motor displacement (b), flat output (g) and motor reference (r) (m)
-11
5
0.1
0 0 0.2
motor-reference deviation (m)
0
0.5 1 1.5 1st auxiliary mass displacement (b) and reference (g) (m)
0.1 0 0
x 10
5 0 0.2
0.5 1 1.5 2nd auxiliary mass displacement (b) and reference (g) (m)
0.1
0.5
1
1.5
1
1.5
0 0
0.5
1
1.5
force (N) 20 0 20 0
0.5
Fig. 10.10 Auxiliary masses taken into account (2nd approach), duration T = 0, 5s, error of 20% on k and r.
motor displacement (m)
-9
0.2
2
0.1
0
0 0
0.5
1
1.5
x 10
2 0
1st auxiliary mass displacement (m) 0.2
0.1
0.1
0.5
0.5
1
1.5
2nd auxiliary mass displacement (m)
0.2
0 0
motor-reference (m)
1
1.5
1
1.5
0 0
0.5
1
1.5
force (N) 100 0 100 0
0.5
Fig. 10.11 Auxiliary masses taken as perturbations (1st approach), duration T = 0, 25s, error of 20% on k and r.
10.2 Displacements With Two Auxiliary Masses
0.2
motor displacement (b), flat output (g) and motor reference (r) (m)
0.1
0 0 0.2
-10
5
x 10
motor-reference deviation (m)
0
0.5 1 1.5 1st auxiliary mass displacement (b) and reference (g) (m)
0.1 0 0
223
5 0 0.2
0.5 1 1.5 2nd auxiliary mass displacement (b) and reference (g) (m)
0.1
0.5
1
1.5
1
1.5
0 0
0.5
1
1.5
force (N) 200 0 200 0
0.5
Fig. 10.12 Auxiliary masses taken into account (2nd approach), duration T = 0, 25s, error of 20% on k and r. motor displacement (m)
-9
0.2
2
0.1
0
0 0
0.5
1
1.5
x 10
2 0
1st auxiliary mass displacement (m) 0.2
0.1
0.1
0.5
0.5
1
1.5
2nd auxiliary mass displacement (m)
0.2
0 0
motor-reference deviation (m)
1
1.5
1
1.5
0 0
0.5
1
1.5
force (N) 100 0 100 0
0.5
Fig. 10.13 Auxiliary masses taken as perturbations (1st approach), duration T = 0, 2s, error of 20% on k and r.
The simulation results are presented in Figures 10.9 to 10.14. The conclusions are more or less the same as for a single mass: the flatness-based approach provides a precision of about 10 times higher than with the traditional approach, with comparable displacement durations. A suitable robustness to errors on k and r may also be noticed with this approach, as well as performances which are almost independent of the duration T , at the condition that it remains above 0,25s, where the phenomenon of backward displacement, as in the single mass case, appears (Figure 10.14 top-left). Let us stress that the PID control law is the same in all cases, the only difference being the force and trajectory references Fref and xref . Let us also remark that the same
224
10 Displacements of a Linear Motor With Oscillating Masses
0.2
motor displacement (b), flat output (g) and motor reference (r) (m)
-9
1
0.1
0 0 0.2
motor-reference deviation (m)
0
0.5 1 1.5 1st auxiliary mass displacement (b) and reference (g) (m)
0.1 0 0
x 10
1 0 0.2
0.5 1 1.5 2nd auxiliary mass displacement (b) and reference (g) (m)
0.1
0.5
1
1.5
1
1.5
0 0
0.5
1
1.5
force (N) 500 0 500 0
0.5
Fig. 10.14 Auxiliary masses taken into account (2nd approach), duration T = 0, 2s, error of 20% on k and r.
control law could be used to control the rest-to-rest displacements of a motor with an arbitrary number of different auxiliary masses, using the force and trajectory references deduced from the associated flat output.
Chapter 11
Synchronization of a Pair of Independent Windshield Wipers
In this chapter1 , we present an industrial case study whose difficulty lies in the synchronization of two independent systems. Note that the decoupling problem has received a large number of contributions (see e.g. Isidori [1995], Nijmeijer and van der Schaft [1990]), as opposed to the synchronization one, its contrary, especially with decentralized information. Here, the independent subsystems correspond to two independent windshield wipers that must be synchronized in particular to avoid collisions. They are driven by two independent actuators, each one fed by its own position measurement only. The lack of global information therefore makes the synchronization hard. We propose a decentralized flatness-based control design, where the reference trajectories are specifically designed to avoid collisions and with a trajectory tracking loop, supervised by a clock control loop that regulates the time rate at which both reference trajectories are tracked.
11.1 Introduction Traditional windshield wipers are actuated by a single constant speed motor related to the wipers by a system of connecting rods, often called the wiper arm (see Fig. 11.1). The wiping movement may be parallel or in opposition and in each case the geometry of the arm is designed such that, first, the wiper movements are generated by almost constant speed rotation of the motor, and second, collisions between the two blades are impossible. There are generally three speeds, fast, slow and intermittent, whose selection is 1
Work partially done in collaboration with Valeo Electronics. Related registered Patents: US 5757155 and EP0700342
J. Lévine, Analysis and Control of Nonlinear Systems, Mathematical Engineering, DOI 10.1007/978-3-642-00839-9_11, © Springer-Verlag Berlin Heidelberg 2009
225
226
11 Synchronization of a Pair of Independent Windshield Wipers
blade wiper arm motor
Fig. 11.1 Usual parallel windshield wiper system.
d
bla
ρ
de
ρ α
α
carrier
θw,p
l
l
θm,p
e
θw,d
motor + reduction unit
passenger side
θm,d
driver side
Fig. 11.2 Independent wipers in opposition.
angular position (rad)
3
2.5
θw, d 2
1.5
1
θw, p
0.5
0
0
0.1
0.2
0.3
0.4
0.5
time (s)
0.6
0.7
0.8
0.9
Fig. 11.3 Reference trajectories for the driver’s (θw,d ) and passenger’s (θw,p ) wipers
made by the driver. In this configuration, the motor control consists only of a PI regulator of the given constant speeds (see e.g. Chin et al. [1991]). Nevertheless, for a category of vehicles, such as space wagons, with wide bulging windscreens, wiping in opposition is needed to maximize the wiped surface of the screen, and the resulting gearing system is very heavy and bulky, sometimes taking most of the space reserved to the dashboard. In this case, we may need to replace this cumbersome technology by two independent wipers, each one driven by its own motor (see Fig. 11.2). However, the trajectories to be followed by the wipers have to be properly and independently generated by the two motors, which cannot work at constant speed,
11.1 Introduction
227
and the synchronization of the wipers is no longer guaranteed, thus resulting in a complexity increase of the motor controllers. We consider such a pair of windshield wipers in opposition, driven by two independent DC motors as depicted in Figure 11.2. We indeed want the wipers to follow prescribed smooth and collision-free reference trajectories such as those of Figure 11.3. One difficulty comes from the fact that the wipers are influenced by unmeasured asymmetric torque perturbations that result from the asymmetry of the dust on the screen, of its dampness, of the air flow on the wipers and their contact with the screen. In addition, once the mechanical coupling between the wipers is removed, the elastic contribution of the blades, their carriers and the reduction units between motors and carriers to the overall behavior ceases to be negligible. Further, the measurements of the angular positions and velocities of the wipers are not available, and only the angular positions and velocities of the motors are measured. Moreover, as it is the case for all automotive equipments, the reliability of this controlled system must be proved in various extreme situations, thus requiring a great amount of robustness. Finally, the cost of this system with two variable speed drives must remain comparable to that of the standard single motor setup, if one wants the former system to effectively replace the latter. Therefore, the motors and the microprocessor driving the system have to be as cheap as possible, resulting in inevitable restrictions of motor power and microprocessor performance. Consequently, a careful trajectory design of the wipers has to be done to be compatible with low powered motors and the controller has to be simple enough to be implemented on a slow microprocessor with small memory. Our approach is based on the observation that each wiper is naturally decoupled from the other one, the couplings being created by disturbance torques. Therefore, at a first step, the control design can be done wiper by wiper. It is moreover based on flatness. Then, the synchronization step is done by controlling the clock, i.e. delaying the reference trajectory of the wiper called follower when the other one, the leader, is behind its reference trajectory, extending ideas previously developed by Dahl and Nielsen Dahl and Nielsen [1990], Dahl [1994]. This chapter is organized as follows: the model of a single wiper system is presented and analyzed in section 11.2. The (open-loop) reference trajectory design problem of the pair of wipers, including open-loop collision avoidance, is studied in section 11.3. Then the tracking aspects, namely the feedback design of a control law that stabilizes the error dynamics of a wiper with respect to its reference trajectory in presence of torque disturbances, are dealt with in section 11.4. We then present our closed-loop synchronization method in section 11.5. The interested reader may also refer to Bitauld et al. [1997], L´evine [2004].
228
11 Synchronization of a Pair of Independent Windshield Wipers
11.2 The Model of a Single Wiper Each wiping system is made up with a DC motor, a gear and a wiper. Each motor is equipped, as previously stated, with an angular position sensor, whose precision is enough to assume that the angular velocity of the motor can be satisfactorily estimated. Denoting by θm,i the angular position of the motor i (i = d, p, the subscript d referring to the driver’s side and p to the passenger’s side), by θ˙m,i its angular velocity, and by Im,i the current circulating through it, the electric model of the ith motor is: LI˙m,i + RIm,i + Ke θ˙m,i = Um,i ,
i = d, p
(11.1)
where L is the self-inductance, R the resistance, Ke the counter electromotive force constant of the motors (both motors having the same characteristics) and Um,i the voltage applied to the ith motor, i = d, p. Um,d and Um,p are the control variables. Identifying each wiper to its blade-carrier set, considered as a single rigid body, we denote by θw,i the angular position of the ith wiper, i = d, p. We assume that the mechanical characteristics of both wipers are the same and that the elastic link between each wiper and its motor’s reduction unit axis can be identified to a helicoidal spring of stiffness Kw and damping torque Kv θ˙w,i (assumed linear w.r.t. the angular velocity θ˙w,i ). The reduction ratio being denoted by N , the angular position of each reduction unit is equal to θm,i N . Thus, the torque balance, for i = d, p, writes Kw θm,i ( − θw,i ) − Kf θ˙m,i + Kc Im,i Jm θ¨m,i = − N N θm,i − θw,i ) − Kv θ˙w,i + ηi Jw θ¨w,i = Kw ( N
(11.2)
with Jm and Jw the respective inertias of the motors and wipers with respect to their common axis, Kc the torque constant of the motors and Kf the coefficient of viscous friction of the motor-reduction units. The unknown disturbance ηi corresponds to the resisting torque of the ith wiper on the windscreen. Recall that ηd and ηp may be different. The dynamics of the current Im,i in (11.1) is assumed faster than the dynamics of (θm,i , θ˙m,i , θw,i , θ˙w,i ), representing the mechanical contribution. In other words, we assume that the inductance L is negligible so that Im,i reaches its steady-state I˙m,i = 0 fast compared to the mechanical dynamics (see e.g. Kokotovi´c et al. [1986] and Section 3.3): Im,i = With the notation Kr =
Kc Ke R
Ke ˙ 1 Um,i − θm,i . R R
+ Kf , (11.2) rewrites:
(11.3)
11.3 Open Loop Synchronization of the Pair of Wipers by Motion Planning
Kw θm,i Kc Jm θ¨m,i = − ( − θw,i ) − Kr θ˙m,i + Um,i N N R θm,i − θw,i ) − Kv θ˙w,i + ηi . Jw θ¨w,i = Kw ( N
229
(11.4)
We now show that (11.4) admits θw,d and θw,p , the driver’s and passenger’s wiper angular positions, as a flat output. Assume for a moment that the perturbation ηi is known and at least twice differentiable with respect to time. Then θm,i and Um,i , i = d, p, are given by: 1 ˙ ¨ Kv θw,i + Jw θw,i − ηi θm,i = N θw,i + Kw NR Kv Um,i = Kr + 2 θ˙w,i K N c Jw Kr Kv ¨ + Jm + 2 + θw,i (11.5) N Kw Jw Jm (4) 1 (3) (Jw Kr + Jm Kv ) θw,i + θ + Kw Kw w,i NR Kw − ηi + Kr η˙ i + Jm η¨i Kc Kw N 2 which proves the assertion. In addition, according to (11.5), system (11.4) reads: 3 X (j) (4) Sj θw,i + µUm,i + η˜i (11.6) θw,i = − j=0
with
Kv Kw Kr + 2 , S1 = N Jw Jm Kw Kr Kv Jw S2 = Jm + 2 + , Jw Jm N Kw 1 (Jw Kr + Jm Kv ) , S3 = Jw Jm Kw Kc µ= , N RJw Jm Kw ¨i . N 2 ηi + Kr η˙ i + Jm η S0 = 0,
and η˜i =
1 Jw Jm
(11.7)
11.3 Open Loop Synchronization of the Pair of Wipers by Motion Planning Let us now describe the reference trajectories of the wipers. The total cycle duration T of both wipers is prescribed: T = 0.9 s for the fast wiping rate and T = 1.2 s for the slow rate. Both wipers must start at rest (0 angular
230
11 Synchronization of a Pair of Independent Windshield Wipers
speed and acceleration) at the same time t = kT , k = 0, 1, . . ., arrive at their upper positions at the same time kT + T2 at zero angular speed and then return symmetrically to their initial position at the same time (k + 1)T , k = 0, 1, . . . Moreover, the driver’s wiper must start moving first and remain above the passenger’s wiper all along the displacement, with a prescribed safety distance to avoid collisions. Consequently, the passenger’s wiper must start at a slower rate than the driver’s one and return to its initial position at a faster rate. The driver’s wiper initial angular position is π − ad (at time t = kT ) and its upper position is π − ad − bd . The passenger’s wiper initial angular position is ap and its upper position is ap + bp (at time kT + T2 ). In this particular application, we have chosen π − ad = 2.967 rad = 170◦ , ap = 0.0698 rad = 4◦ and bp = bd = 1.3788 rad = 79◦ (full wiped angle). Additional maximum velocity and acceleration as well as current and voltage constraints are also imposed: |θ˙w,i | ≤ 9 rad/s, |θ¨w,i | ≤ 60 rad/s2 , |Im,i | ≤ 50 A, |Um,i | ≤ 24 V, i = p, d.
(11.8)
Finally, to avoid collision between the blades, the minimal distance separating them, denoted by d (see Figure 11.2), must always exceed 50 mm. An easy calculation, the screen being approximated by a plane, gives the minimal distance by: d = ρ sin(θw,p − θw,d − 2α) + e sin(θw,d + α) +l (sin α + sin(θw,p − θw,d − α))
(11.9)
where e is the distance between the two motor axles, l the carrier’s length, ρ the half-blade’s length and α the fixed angle between the blade and the carrier, the same on both sides (see Figure 11.2). Thus the collision avoidance constraint reads d ≥ 50 mm. (11.10) In our particular application, we have e = 1260 mm, l = 640 mm and ρ = 300 mm. We now design the wiper position reference trajectories and, according to flatness, use (11.5)-(11.3) to deduce the corresponding motor and input current and voltage reference trajectories. Consider the polynomial: P (β) = 28 β 4 (1 − β)
4
defined on the interval [0, 1], and set, for t modulo T : t θw,d (t) = π − ad − bd P T
(11.11)
(11.12)
11.3 Open Loop Synchronization of the Pair of Wipers by Motion Planning
231
i.e., define θw,d (t) by (11.12) for t ∈ [0, T ] and θw,d (t + kT ) = θw,d (t) for every k = 0, 1, . . . Clearly, θ˙w,d (kT ) = θ¨w,d (kT ) = 0 and θ˙w,d (kT + T2 ) = 0, for all k = 0, 1, . . . The reference trajectory of the passenger’s wiper is given, in turn, for t ∈ [0, T ], by t t πt θw,p (t) = ap + bp P G 12 ,σ sin (11.13) T T T where G 21 ,σ (t) is the unnormalized Gaussian function of mean 12 and variance 1 2 1 σ 2 : G 1 (t) = e− 2σ2 (t− 2 ) . Next, we define θ (t + kT ) = θ (t) for all w,p
2 ,σ
w,p
k = 0, 1, . . . In other words, (11.13) is valid for t modulo T . As shown on Figure 11.4, with 2σ 2 = 0.1, the product of the Gaussian and sine functions by P is such that the passenger’s wiper starts at a slower rate and arrives at a faster rate. Again, we clearly have θ˙w,p (kT ) = θ¨w,p (kT ) = 0 and θ˙w,p (kT + T2 ) = 0, for all k = 0, 1, . . .
angular position (rad.)
1.5 polynomial
1
(polynomial)x(gaussian)
0.5
(polynomial)x(gaussian)x(sine) 0 0
0.2
0.4
0.6
0.8
time (s)
Fig. 11.4 Comparison between the polynomial trajectory ap + bp P ( Tt ), ap + ` ´ ` ´ bp P Tt G 1 ,σ Tt and θw,p (t) given by (11.13). 2
Note that it appeared much simpler to distort the polynomial P by multiplying it by a Gaussian function, and a sine to make it even narrower, than to construct another polynomial of higher degree having the required property. Figure 11.5 depicts the minimal distance between the wipers along the chosen reference trajectory, showing that the collision avoidance constraint (11.10) is met. Finally, the reference trajectories for both motor angular positions, voltages and currents are deduced from (11.5)-(11.3) by replacing the perturbation ηi by a constant η i , chosen, for instance, as the averaged value of ηi , i = d, p.
232
11 Synchronization of a Pair of Independent Windshield Wipers minimal distance between wipers and threshold 1200
distance (mm)
1000
800
600
minimal distance 400
threshold
200
0
0
0.1
0.2
0.3
0.4
0.5
time (s)
0.6
0.7
0.8
0.9
Fig. 11.5 The minimal distance between the wipers along the reference trajectory (11.12)(11.13) always exceeds the threshold of 50mm. Driver side: voltage and current 15
voltage (V) and current (A)
10
current 5
0
voltage -5
-10
-15
0
0.1
0.2
0.3
0.4
0.5
time (s)
0.6
0.7
0.8
0.9
Fig. 11.6 The reference (feedforward) trajectories of voltage and current corresponding to the driver’s wiper Passenger side: voltage and current 20
voltage (V) and current (A)
15
10
5
0
current
-5
-10
voltage -15
-20
-25
0
0.1
0.2
0.3
0.4
0.5
time (s)
0.6
0.7
0.8
0.9
Fig. 11.7 The reference (feedforward) trajectories of voltage and current corresponding to the passenger’s wiper
The respective reference voltages and currents of the driver’s and passenger’s motor, that generate the wiper’s angular position trajectories θw,d and θw,p respectively, are depicted in Figures 11.6 and 11.7. Here, the motor characteristics are N = 63 (reduction ratio), R = 0.29 Ω (motor resistance), Kv = 2 Nms/rad (wiper damping factor), Kf = 11.10−5 Nms/rad (motor viscous friction coefficient), Kw = 600 Nm/rad (wiper stiffness), Kc = 0.0276
11.4 Trajectory Tracking
233
Nm/A (torque constant), Ke = 0.0276 Vs/rad (counterelectromotive coefficient), Jw = 0.1 Nms2 /rad (wiper inertia) and Jm = 6.10−5 Nms2 /rad (motor inertia). The reader can check that θ˙w,d , θ˙w,p , θ¨w,d , θ¨w,p , Im,d , Im,p , Um,d and Um,p satisfy the constraints (11.8). The same design can be done for slow speed and intermittent modes by simply modifying the value of T , the constraints (11.8) being all the more easy to meet as the period T is large.
11.4 Trajectory Tracking ∗ Given the reference trajectories, noted θw,i , i = d, p, described in the previous section, we introduce the angular position error ∗ ew,i = θw,i − θw,i ,
i = d, p.
(11.14)
0 (3) and Ew,i = ew,i , e˙ w,i , e¨w,i , ew,i (’ denoting transpose). According to (11.6), Ew,i satisfies the following error equation, in matrix form, for i = d, p: ∗ E˙ w,i = AEw,i + B(Um,i − Umi ) + Dδi
with
(11.15)
0 1 0 0 0 0 0 0 1 0 , B = , A= 0 0 0 0 1 −S −S −S −S µ 2 3 0 1 0 0 Kw D= 0 , δi = η˜i − N 2 Jw Jm η i . 1
If we denote by −λ1 , . . . , −λ4 the eigenvalues of the matrix A, it is wellknown (see e.g. Gantmacher [1966], Kailath [1980], Sontag [1998]) that the relations read: S0 = λ1 λ2 λ3 λ4 , P between the eigenvaluesPof A and A’s entriesP 4 S1 = 0≤i<j
0, S2 > 0, S3 > 0, it results that one of the eigenvalues is equal to 0, the remaining ones having negative real part. To the 0 eigenvalue is associated the eigenvector (ew,i , 0, 0, 0)0 , which means that ew,i is not exponentially stable, whereas all the derivatives of the error up to the 3rd order are. Thus, since we are concerned with the stabilization of ew,i we want to find a feedback law such that the 0 eigenvalue is replaced by a sufficiently negative one, without modifying the sign of the real parts of the other eigenvalues.
234
11 Synchronization of a Pair of Independent Windshield Wipers
However, ew,i is not measured and only θm,i is, the sensors and the actuaKv ˙ tors being collocated. But since we have, by (11.5), θm,i = N (θw,i + K θw,i + w Jw ¨ 1 Kw θw,i − Kw ηi ), a feedback on θm,i will indeed affect θw,i and thus ew,i . ∗ Denoting by em,i = θm,i − θm,i , we therefore introduce the following PID: ∗ Um,i (t) = Um,i (t) − KP em,i (t) − KD e˙ m,i (t) Z t −KI em,i (s)ds
(11.16)
0
leading to the following error equation (5)
ew,i = −
4 X
(j) Sˆj ew,i + ηˆ˜i
(11.17)
j=0
with
µN (Kw KP + Kv KI ) Sˆ0 = µN KI , Sˆ1 = Kw µN Sˆ2 = S1 + (Kv KP + Kw KD + Jw KI ) Kw µN Sˆ3 = S2 + (Jw KP + Kv KD ) Kw µN Sˆ4 = S3 + Jw KD Kw
(11.18)
µN (KI (ηi − η i ) + KP η˙ i + KD η¨i ). and ηˆ˜i = η˜˙ i + K w We therefore have to tune the gains KP , KD and KI such that the unperturbed system is stable and such that the coefficients of the perturbative terms are sufficiently small compared to the others. Choosing KI > 0, if the perturbation converges to a constant, still denoted by ηi , the equilibrium value of the error ew,i is given by µN KI ew,i = µN Kw KI (ηi − η i ), or 1 ew,i = (ηi − η i ) (11.19) Kw
which means that the asymptotic bias is independent of the gains and depends only on the stiffness of the wiper which is, however, large enough in our application (Kw = 600 Nm/rad), and on the estimate η i . Note that the stability is ensured by an arbitrary choice of KI , KP , KD ≥ 0, with KI KP 6= 0. The gains KP = 80, KI = 40 and KD = 20, obtained by elementary root locus and Bode diagram analysis, are such that the lowest frequency almost reaches its maximal value of 0.56 Hz while keeping an acceptable disturbance attenuation and robustness versus perturbations, as depicted by the simulation of Figure 11.8: the torque disturbances have maximum amplitude of 20 Nm and η i = 10 Nm, i = p, d. Figure 11.9 shows the corresponding
11.5 Synchronization by Clock Control
235
motor voltages in closed-loop. Indeed, the gains can also be tuned by other techniques such as H∞ optimization, µ-synthesis or LMI. 20
15
torque (Nm)
torque (Nm)
Passenger side: torque perturbation
Driver side: torque perturbation
20
10
5
0 0
0.2
angular position (rad)
3
0.4 time (s)
0.6
0.8
15
10
5
0 0
0.2
0.4 time (s)
0.6
0.8
Driver side: closedloop wiper position (cont.) and reference (dashed)
2.5
closedloop wiper position
2 reference
1.5 0
0.2
0.4 time (s)
0.6
0.8
angular position (rad)
Passenger side: closedloop wiper position (cont.) and reference (dashed) 1.5
1
closedloop wiper position reference
0.5
0 0
0.2
0.4 time (s)
0.6
0.8
Fig. 11.8 from top to bottom: torque disturbances of driver and passenger wiper; driver’s wiper position in closed-loop and its reference; passenger’s wiper position in closed-loop and its reference. The gains are KP = 80, KI = 40 and KD = 20 and η i = 10 Nm, i = p, d.
11.5 Synchronization by Clock Control Since the two wipers are naturally decoupled, there is no standard method to synchronize the wipers if one of them deviates from its reference trajectory. Recall that a deviation of about 5 deg. of the angular position of one of the wipers in the mid-zone of the screen, or more precisely when the passenger’s wiper angle lies between 10◦ and 30◦ (see Fig. 11.5), might cause a collision with the other wiper’s blade and an emergency stop. Keeping in mind that the motors’ power is limited and that their voltage must satisfy (11.8),
236
11 Synchronization of a Pair of Independent Windshield Wipers 15
Driver side: closed loop voltage (cont.) and reference (dashed)
10
voltage (V)
5 0 reference
-5 -10 closed
loop voltage
-15 -20 0
20
0.2
0.4 time (s)
0.6
0.8
Passenger side: closed loop voltage (cont.) and reference (dashed)
15
voltage (V)
10 5 reference
0 -5
closed
loop voltage
-10 -15 -20 0
0.2
0.4 time (s)
0.6
0.8
Fig. 11.9 closed-loop voltage applied to the driver’s motor and its reference (up) and closed-loop voltage applied to the passenger’s motor and its reference (down) with the above disturbances and gains.
the synchronization would not be significantly improved by adding terms depending on the error of the other wiper in the PID controller (11.16): this additional term would increase the motor voltage, thus producing more frequent saturations, and would even deteriorate the individual tracking. In fact, the synchronization is already partly realized through the feedforward reference trajectory design and a natural idea, inspired by Dahl and Nielsen Dahl and Nielsen [1990], Dahl [1994], consists in adjusting the speed at which the reference trajectory of one of the wipers is run in function of the deviation of the other one (see Section 8.2). When the wipers move up, while leaving their parking position, the driver’s wiper moves first, and may be considered as the leader, while the passenger’s one follows; conversely, when going back to their parking position, the passenger’s wiper is the leader and the driver’s one the follower. Therefore, to avoid collisions when the leader is behind its reference trajectory, it suffices to design a mechanism to delay the local clock of the follower’s reference trajectory. Let us stress that if a wiper is ahead of its position while the motor accelerates, the feedback might suffice to take it back to its reference since slowing down in this case does not require much extra power. On the contrary, if the voltage of the leading wiper’s motor reaches its saturation while this wiper is behind its reference, it is momentarily unable to recover its reference position, and the motor of the follower has no other choice than slowing down to avoid possible collisions. We now develop this approach in detail. ∗ Let us consider the reference trajectories θw,i , i = d, p, defined in section 11.3. In what follows, the subscript L denotes the leader, namely L = d ∗ ∗ ≤ 0, and the subscript F denotes the when θ˙m,d ≤ 0 and L = p when θ˙m,p follower, namely F = p if L = d and conversely (it is clear from Figure 11.3
11.5 Synchronization by Clock Control
237
∗ ∗ that the reference velocities θ˙m,d and θ˙m,p of the wipers always have opposite signs). We introduce a new time for the follower, denoted by τ (t), satisfying 0 ≤ τ (t) ≤ t for all t and at least 4 times continuously differentiable with respect to t so that, by composition, the follower’s modified reference trajec∗ tory θw,F (τ (t)) is also at least 4 times continuously differentiable. A natural way to design the function τ , which we call the controlled clock, is to remain as close as possible to the natural time, i.e. τ˙ = 1, and to decrease its rate according to the (measured) deviation of the leader’s angular position em,L and velocity e˙ m,L . Let us remark as in Section 8.2, that we are not particularly interested in the convergence of τ to the natural time t after slowing down, the only requirement being the convergence of its rate: τ˙ → t˙ = 1. A possible design is thus to assign its behavior by an at least 4th order differential equation controlled by a scalar input Γ fed back by em,L and e˙ m,L . Here is a 5th order example (see again Section 8.2):
τ (5) = −γ4 τ (4) − γ3 τ (3) − γ2 τ¨ − γ1 (τ˙ − 1) −Γ0 (em,L (t), e˙ m,L (t))
(11.20)
with initial conditions τ (t0 ) = t0 , τ˙ (t0 ) = 1 and τ (j) (t0 ) = 0 for j = 2, 3, 4. The gains γi , i = 1, . . . , 4 may be chosen arbitrarily and the scalar function Γ , the clock controller, is such that Γ (0, 0) = 0 and is required to be differentiable with respect to its arguments with bounded derivatives. In the sequel, we plan to choose Γ0 ((em,L (t), e˙ m,L (t)) proportional to e˙ m,L (t). Note that em,L = 0 for all t implies that τ (t) = t for all t and that, even if ∗ (τ (t)) e˙ m,L (t) is piecewise continuous, the composed reference trajectory θw,F remains 4 times differentiable for all t. It is then possible to place the poles of the controlled clock system (11.20). ∗ ∗ ∗ ∗ If we replace θw,F (t), θm,F (t), Um,F (t), ew,F (t) and em,F (t) by θw,F (τ (t)), ∗ ∗ θm,F (τ (t)), Um,F (τ (t)), respectively in (11.5) and ew,F (t) = θw,F (t) − ∗ ∗ (τ (t)), the PID (11.16) being modi(τ (t)), em,F (t) = θm,F (t) − θm,F θw,F fied in the same way, the reader may easily check that the corresponding error system is still (11.17), the same stable time-invariant linear system. However, system (11.20) being a 5th order integrator of Γ , wherever its poles are placed in the left half complex plane, its performance may be poor in case of an emergency such as the locking of the leading wiper, where we require a fast slowing down reaction from the follower, and thus from its clock, e.g. with a time constant less than or equal to 10−3 s, thus imposing a high gain design. We are therefore led to replace (11.20) by the following (see Section3.3): τ¨ = −˜ γ1 (τ˙ − 1) − Γ (em,L (t), e˙ m,L (t)) τ (t0 ) = t0 , τ˙ (t0 ) = 1
(11.21)
and to replace the 3rd and 4th order derivatives of τ by τ (3) (t) = τ (4) (t) = 0
(11.22)
238
11 Synchronization of a Pair of Independent Windshield Wipers
for all t. System (11.21)-(11.22) may be viewed as a singular perturbation approximation of (11.20) via high gain for a suitable choice of γi , i = 1, . . . , 4, Γ0 , γ˜1 and Γ (see e.g. Kokotovi´c et al. [1986] and the proof of Theorem 11.1 below). Note that, as previously remarked, adding a term of the form −γ(θ−t) to force the convergence to the current time t is not needed. To achieve our controlled clock design, let us specify that the leader’s reference trajectory cannot be modified by the follower’s local clock and that the current time is reset when the leader and follower exchange roles, namely after each half cycle, when the wipers arrive either at their upper positions or at their parking ones. The resulting control architecture is presented in Figure 11.10. em,d(t)= θm,d(t) - θ∗m,d(τd(t)) τd(t) t
trajectory generation driver side
-+
PID controller driver side
Um,d
motor driver side
θm,d
clock control
trajectory generation τp(t) passenger side -+
PID controller passenger side
Um,p
motor passenger side
θm,p
em,p(t)= θm,p(t) - θ∗m,p(τp(t)) Fig. 11.10 The structure of the controller with clock control
This construction is justified by the fact that modifying the clock of the follower’s reference trajectory only neither modifies (11.15) nor the feedback gains and thus the closed-loop pole placement. In particular, it does not create an artificial time-dependence of the eigenvalues and eigenvectors of the closed-loop system that could cause instabilities. This is stated in the following result: Theorem 11.1. The local stability of the closed-loop system (11.6)-(11.16) is still valid with the synchronization (11.21)-(11.22) with γ˜1 > 0 not too large and Γ such that Γ (0, 0) = 0, in a domain where τ is strictly increasing. Proof. Given a 4 times differentiable non decreasing function τ , we have ∗ shown that the error ew,F = θw,F (t) − θw,F (τ (t)) satisfies the time-invariant differential equation (11.17), which is exponentially stable. On the other hand, since ew,L is not modified by τ , the stability of the pair (ew,L , ew,F ) remains unchanged. It thus remains to prove that (11.20) can be replaced by (11.21)-(11.22). Setting τ1 = τ˙ − 1, (11.20) reads (4)
τ1
(3)
= −γ4 τ1
− γ3 τ¨1 − γ2 τ˙1 − γ1 τ1 −Γ0 (em,L (t), e˙ m,L (t)).
(11.23)
11.5 Synchronization by Clock Control
239
Let ε > 0 be a sufficiently small real number and let −σ1 , − 1ε σ2 , − ε12 σ3 , − ε12 σ4 be the eigenvalues associated to (11.23) with σi > 0, i = 1, . . . , 4, i.e. γ1 = ε15 σ1 σ2 σ3 σ4 , γ2 = ε13 σ1 σ2 (σ3 + σ4 ) + ε14 σ1 σ3 σ4 + ε15 σ2 σ3 σ4 , γ3 = 1ε σ1 σ2 + ε12 σ1 (σ3 + σ4 ) + ε13 σ2 (σ3 + σ4 ) + ε14 σ3 σ4 and γ4 = σ1 + 1 1 ε σ2 + ε2 (σ3 + σ4 ). Then (11.23), with Γ0 close to 0, is exponentially stable. Thus, if Γ0 = 0, τ1 converges to 0, or in other words τ˙ converges (3) (4) to 1 from any initial condition (ew,L (0), e˙ w,L (0), e¨w,L (0), ew,L (0), ew,L (0)), (3)
(4)
(3)
(ew,F (0), e˙ w,F (0), e¨w,F (0), ew,F (0), ew,F (0)), and (τ1 (0), τ˙1 (0), τ¨1 (0), τ1 (0)) in an open neighborhood of 014 = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)0 such that τ˙ > 0. In the very fast time-scale defined by t2 = εt2 , denoting by 2 1 ν1 = ddtτ21 + (σ3 + σ4 ) dτ dt2 + σ3 σ4 τ1 , we get 2
d2 ν1 dν1 + (εσ2 + ε2 σ1 ) + ε3 σ1 σ2 ν1 = Γ0 . dt22 dt2
(11.24)
1 In the fast time-scale defined by t1 = εt = εt2 , we note ν2 = dν dt1 + σ2 ν1 . dν2 1 Then we get dt1 + εσ1 ν2 = ε2 Γ0 or, expressed in the original time, the slow dynamics is ν˙ 2 + σ1 ν2 = 1ε Γ0 . It results that, in the very fast time-scale t2 , for every ν1 , τ1 converges to σ31σ4 ν1 and, in the fast time-scale t1 , for every ν2 , ν1 converges to σ12 ν2 . Finally, replacing these expressions in the slow dynamics, and setting Γ = 1 ε Γ0 , we get τ˙1 = −σ1 τ1 + Γ (11.25)
which is precisely (11.21) with γ˜1 = σ1 and Γ0 = εΓ . The local stability of the system ((11.17), i = L, F)-(11.21), which is thus an approximation of order 0(ε) of the locally stable system ((11.17), i = L, F)-(11.20), readily follows for suitable initial conditions such that τ˙ > 0 and by choosing ε sufficiently small, using standard singular perturbation arguments Kokotovi´c et al. [1986]. Moreover, since we can choose σi > 0 arbitrarily, the same holds true for γ˜1 > 0. In the simulations presented in Figures 11.11, 11.12 and 11.13, the torque disturbances have maximum amplitudes 40 Nm, twice as those of Figure 11.8, with both slow and fast transients, while the same value of η i = 10 Nm and feedback gains, KP = 80, KI = 40 and KD = 20, are used. Without control of the clock, the perturbations produce a collision at t ≈ 0.655 s as shown by Figure 11.13 (bottom). Using the controlled clock (11.21) with Γ (em,L , e˙ m,L ) = γ0 e˙ m,L
(11.26)
and gains γ0 = 1.4, γ1 = 1, a very small deviation with respect to the original time (Figures 11.11 and 11.12 bottom) dramatically modifies the tracking
240
11 Synchronization of a Pair of Independent Windshield Wipers
angular position (rad)
Driver side: synchronized wiper position (cont.) and reference (dashed) 3
2.5
synchronized wiper position
2
reference
1.5 0
0.2
0.4 0.6 time (s)
0.8
Driver side: synchronized voltage (cont.) and reference (dashed)
20
voltage (V)
10 reference
0 synchronized voltage
10 20 0
0.2
0.4 0.6 time (s)
0.8 Driver side synchronized clock
Driver side: torque perturbation
0.8 controlled clock (s)
40
torque (Nm)
30 20 10 0 0
0.2
0.4 time (s)
0.6
0.8
0.6 0.4 0.2 0 0
0.2
0.4 0.6 time (s)
0.8
Driver side: time minus synchronized clock 0.1 0.08 t—τd(t) (s)
0.06 0.04 0.02 0 0
0.2
0.4 0.6 time (s)
0.8
Fig. 11.11 From top to bottom: the driver’s synchronized wiper position and its reference; the closed-loop voltage and its reference; the corresponding perturbative torque; the controlled clock and its deviation with respect to time. Saturation voltage: ±24 V.
behavior so that the collision is clearly avoided (figure 11.13 top). A rough global time reset at half period creates the voltage burst of Figure 11.12 (second from top), limited by the voltage saturation at ±24V . However, contrarily to current bursts, tension bursts present no danger to the motors and the resulting synchronization is acceptable, as seen from Figures 11.11 and 11.12 (top). Note that the form chosen for the controlled clock (11.21) with (11.26) is such that if the error e˙ m,L on the motor angular velocity of the leader converges to 0, then any equilibrium value of τ is such that
11.5 Synchronization by Clock Control
241
Passenger side: synchronized wiper position (cont.) and reference (dashed)
angular position (rad)
1.5
1
synchronized wiper position
0.5
0 0
reference
0.2
0.4 0.6 time (s)
0.8
Passenger side: synchronized voltage (cont.) and reference (dashed) 20
voltage (V)
10 0 10
reference
synchronized voltage
20 0
0.2
0.4 0.6 time (s)
0.8 Passenger side synchronized clock
torque (Nm)
30 20 10 0 0
1
Passenger side: torque perturbation
controlled clock (s)
40
0.2
0.4 time (s)
0.6
0.8
0.8 0.6 0.4 0.2 0 0
0.2
0.4 0.6 time (s)
0.8
Passenger side: time minus synchronized clock 3 x 10 15
t—τp(t) (s)
10 5 0 5 0
0.2
0.4 0.6 time (s)
0.8
Fig. 11.12 From top to bottom: the passenger’s synchronized wiper position and its reference; the closed-loop voltage and its reference; the corresponding perturbative torque; the controlled clock and its deviation with respect to time. Saturation voltage: ±24 V.
0 = −˜ γ1 (τ˙ − 1) − γ0 e˙ m,L = −˜ γ1 (τ˙ − 1), namely τ˙ = 1. Since, moreover, for every γ0 , γ˜1 > 0, the controlled clock system is stable, we have proved that τ − t exponentially converges to a constant, as required. If on the contrary e˙ m,L remains non zero, the clock rate will constantly decrease. This situation corresponds to a system fault since the leader’s motor is not able to recover its reference.
242
11 Synchronization of a Pair of Independent Windshield Wipers distance between synchronized wipers (cont.) and threshold (dashed)
distance (m)
1 0.8 0.6
minimal distance
0.4 0.2 0 0
threshold
0.2
0.4 0.6 time (s)
0.8
distance between non synchronized wipers (cont.) and threshold (dashed) 1
distance (m)
0.8 0.6
minimal distance
0.4 0.2 0 0
collision
threshold
0.2
0.4 time (s)
0.6
0.8
Fig. 11.13 Top: minimal distance between synchronized wipers with γ0 = 1.4, γ1 = 1 ; Bottom: minimal distance without synchronization: a collision occurs at t ≈ 0.655 s.
Chapter 12
Control of Magnetic Bearings
Introduction In this chapter1 , we study various aspects of the motion planning and nonlinear feedback design for a rotating shaft actuated by active magnetic bearings. The shaft is here assumed to be rigid and balanced. The magnetic bearings are made up with pairs of electromagnets, one for each direction to be controlled, possibly completed by a passive thrust. Each electromagnet produces an attractive force, whose intensity depends on the coil current, which explains why they are used by pairs in order to produce forces with both signs. The modelling and control problems for magnetic bearings has been extensively considered in the open literature, using various approaches. The interested reader may find some references in L´evine et al. [1996], von L¨owis et al. [2000]. We propose a simple control design based upon the physical structure of the model, not restricted to linear techniques at an equilibrium point. A major motivation is to improve our mastering of the rotor behavior along given admissible trajectories. This implies being able to do motion planning and trajectory tracking. In this nonlinear perspective, it is also interesting to investigate the role played by premagnetisation currents, generally introduced in many linear approaches of magnetic bearing control to circumvent the singularity at the zero force point. In a more technological perspective, biasing currents are related to iron losses and rotor heating. In some industrial applications such as vacuum pumps, where the rotor heat cannot be easily evacuated, the possibility of avoiding biasing currents without penalizing the dynamical requirements of the bearings is of particular interest. 1
Joint work with J. Lottin and J.-C. Ponsart. The experimental results presented at the end of ths chapter have been obtained on a bench set-up built at the University of Savoie, Annecy, France.
J. Lévine, Analysis and Control of Nonlinear Systems, Mathematical Engineering, DOI 10.1007/978-3-642-00839-9_12, © Springer-Verlag Berlin Heidelberg 2009
243
244
12 Control of Magnetic Bearings
Throughout this chapter, the control objectives consist in steering the rotating shaft from a given arbitrary initial position and velocity to another arbitrary position and velocity, with stability, and avoiding as much as possible the use of premagnetisation currents. The electromagnets may be controlled either through their coil currents or their voltages. Therefore, we address the above questions successively in the context of current control, voltage control or hierarchical, or cascaded, control, the latter method consisting of an inner voltage loop and an outer current loop. Our flatness-based design is most clearly explained when restricting the shaft positioning problem to a one degree of freedom (shortly d.o.f.) system and then generalizing to 4. The 1 d.o.f. problem physically reduces to the positioning of a ball in a one dimensional (e.g. vertical) magnetic field controlled by one pair of electromagnets. In the 4 d.o.f. problem, the positioning of the shaft is operated by 4 pairs of electromagnets. The nonlinear design of current, voltage and cascaded feedback laws which track sufficiently differentiable reference trajectories are successively presented. The first step consists in planning reference trajectories that can be exactly followed in the absence of perturbations, and then to design a feedback loop that tracks them. We introduce the current complementarity condition, which means that, depending on the sign of the required force, only one electromagnet is working at a time. A weaker condition, the current almost complementarity condition is also considered. It may be interpreted as the introduction of a small differentiable biasing, vanishing outside a small domain. A current feedback law satisfying the current complementarity condition is constructed. In the voltage case, a linearizing feedback is obtained, which might require infinite voltages at switchings, while the current complementarity condition is only asymptotically satisfied. A cascaded control scheme is then presented in the framework of the current almost complementarity condition. In this case, the regularizing nature of the corresponding biasing greatly simplifies the whole design. This cascaded control strategy is validated by experiments on a 4 d.o.f. active magnetic bearing system, its implementation requiring in particular an observer to reconstruct, from the available measurements, the state used in the feedback loop. The experiments have been done at the Laboratoire d’Automatique et de Micro-Informatique Industrielle in Annecy (France), on a platform used for pedagogical purposes. However, extensions to practical applications such as pumps, turbines, grinding machines, large gap magnetic suspensions and control of precision motion platforms may be foreseen. The chapter is organized as follows: the first section concerns the modelling and control of a ball in a vertical magnetic field, controlled by a pair of electromagnets. The motion planning and trajectory tracking are addressed in the context of current, voltage and hierarchical control. The second section extends these results to the general case of a shaft. The third section is devoted to implementation aspects, and in particular to the design of an observer. The experimental results are presented in the last section.
12.1 Analysis and Control of a Ball
245
12.1 Analysis and Control of a Ball
i2
e
F2
y G
•
F1
i1 y
Fig. 12.1 The ball and the pair of electromagnets.
12.1.1 Modelling The 1 d.o.f. problem reduces to the positioning problem of a ball in a vertical magnetic field created by one pair of electromagnets. Denoting by y the difference between the position of the center of the ball and its nominal position, the y-axis being oriented downwards, e the nominal air gap, F1 and F2 the forces created by the two electromagnets, i1 and i2 the associated currents, we have, in the open domain |y| < e:
with F1 =
m¨ y = F1 − F2 + mg
(12.1)
λ1 (i1 )2 , (e − y)2
(12.2)
F2 =
λ2 (i2 )2 (e + y)2
the currents i1 and i2 satisfying U1 = R1 i1 + L1
di1 dL1 + i1 , dt dt
U2 = R2 i2 + L2
di2 dL2 + i2 dt dt
(12.3)
246
12 Control of Magnetic Bearings
with Ui the input voltage and Ri the resistance of circuit i, i = 1, 2, and with λ1 λ2 the inductances L1 = , L2 = . The two control variables may (e − y) (e + y) be chosen either as the input voltages U1 and U2 or, if the electric circuits are assumed much faster than the mechanical dynamics, as the currents i1 and i2 . This means, in the latter case, that the equations (12.3) are not considered.
12.1.2 Current Control Recall that the model is given by (12.1) and (12.2), with i1 and i2 as control variables.
12.1.2.1 Flatness A possible choice of flat output is y1 = y ,
i2 y2 = e+y
r
λ2 , m
(12.4)
Note that y1 is the position of the center of mass of the ball and that y2 is the square root of the acceleration induced by the second electromagnet. Let us prove that the flatness property holds true: since y and the current i2 are independent variables, the two components y1 and y2 of the output are also clearly independent. Moreover, we have: y = y1 ,
y˙ = y˙ 1 r m i2 = y2 (e + y1 ) λ2 m (i1 )2 = (e − y1 )2 (¨ y1 − g + (y2 )2 ) λ1
(12.5)
Therefore, all the state and control variables of system (12.1) can be expressed in terms of (y1 , y˙ 1 , y¨1 , y2 ), which proves our assertion. Note that the expression of i1 makes sense only if its right-hand side is non negative. We now take this constraint into account in the control design, which indeed begins with path planning considerations.
12.1.2.2 Path Planning With Current Complementarity By path planning, we mean here the design of a pair of trajectories t 7→ (y1 (t), y2 (t)) starting at time t = 0 from (y1 (0), y2 (0)), possibly with given
12.1 Analysis and Control of a Ball
247
(y˙ 1 (0), y¨1 (0)), and arriving, at time t = T (T > 0 given), at (y1 (T ), y2 (T )), with possibly given (y˙ 1 (T ), y¨1 (T )). We want such trajectories to satisfy the requirement that premagnetisation currents are not used, or in other words that one coil current may be zero when the opposite is non zero. Throughout this paper, we will call this property the current complementarity condition. It may be expressed as a constraint between the flat outputs: by inspection of (12.5), it is easily seen that i2 = 0 implies y2 = 0 and thus i1 exists if, and only if, y¨1 − g ≥ 0. On the other hand, i1 = 0 implies that y¨1 − g + (y2 )2 = 0 and thus y¨1 − g ≤ 0. Therefore, the current complementarity condition is equivalent to: 0 if y¨1 − g ≥ 0 ∆ (12.6) y2 = Y (g − y¨1 ) = p g − y¨1 if y¨1 − g ≤ 0 . We call the function Y the complementarity function. Note that this condition does not impose restrictions on the dynamics of the ball or, in other words, that the ball can follow twice differentiable but otherwise arbitrary paths with only one coil energized at a time. We first assign to y1 an arbitrary time function, at least twice differentiable, and then compute y2 according to (12.6). The current references are then deduced from (y1 , y˙ 1 , y¨1 , y2 ) by (12.5). Nevertheless, for obvious practical reasons, y2 , which is directly related to the current i2 by (12.4), must remain bounded with a bounded rate of change. Let us construct reference trajectories satisfying these constraints. The boundedness of i2 is, according to (12.6), a straightforward consequence of the continuity of the complementarity function Y for an at least twice continuously differentiable trajectory y1 . However, since Y is differentiable everywhere but at the zero force point y¨1 = g, a more careful analysis of the rate of change of y2 is needed. Whenever y¨1 6= g, we have if y¨1 − g > 0 0 (3) y˙ 2 = y − √ 1 if y¨1 − g < 0 . 2 g − y¨1 dj y1 for j ≥ 3. dtj − We now evaluate the right and left limits y˙ 2 (t0 ) = limt→t0 , tt0 y˙ 2 (t) at the time t0 when the zero force point is reached, namely when y¨1 (t0 ) = g. Using the lemma 12.1 of section 12.1.2.3, we assume that y1 is analytic in the interval t0 − ε ≤ t < t0 , with y¨1 (t) < g for t0 − ε ≤ t < t0 . With the notations of lemma 12.1, by posing ϕ(t) = g − y¨1 and ψ(t) = y˙ 2 (t), we find that y˙ 2 has a finite left limit when t tends to t0 if, and (3) (4) − only if, y1 (t− 0 ) = 0. Moreover, y1 (t0 ) ≤ 0, and r 1 (4) − − y˙ 2 (t0 ) = − |y (t )| . (12.7) 2 1 0 (j)
All along this paper, we use the notation y1 =
248
12 Control of Magnetic Bearings
It is straightforward to check that the right limit is y˙ 2 (t+ 0 ) = 0. We have thus proved that if the reference trajectory y1 is regular enough for the expression (12.7) to be finite, the rate of change of the currents i1 and i2 are finite at switchings. Let us now outline the construction of such reference trajectories. We assume for simplicity’s sake that we want to move from one steady-state to another one. We start, at time t = 0, from an arbitrary position y(0), |y(0)| < e, with y(0) ˙ = 0, and we want to reach, at time t = T , the arbitrary position y1 (T ), |y1 (T )| < e, with y˙ 1 (T ) = 0. The continuity requirements of the initial and final currents and the finiteness of the current rate of changes at the (3) (3) initial and final times, are given by: y¨1 (0) = y¨1 (T ) = y1 (0) = y1 (T ) = 0. Finally, at switching, namely at that time when one electromagnet turns off (3) and the opposing electromagnet turns on, the conditions are y1 (τ ) = 0, for every τ ∈ [0, T ] such that y¨1 (τ ) = g. If we choose a trajectory y1 (t) for 0 ≤ t ≤ T in the class of polynomials in t, namely k X ai ti , (12.8) y1 (t) = i=0
its minimal degree must be 7 to satisfy the 8 initial and final constraints. However, a polynomial trajectory is too regular to satisfy the above conditions at switchings. We therefore have to look for y1 in the class of piecewise polynomials. The construction of a piecewise polynomial trajectory of degree 7 meeting the above requirements is always possible. Details may be found in appendix 12.1.2.4. In figure 12.2, such a trajectory of y(t) with the corresponding currents (i1 (t), i2 (t)) are presented for a displacement from y(0) = −1.10−4 m to y(T ) = 4.10−4 m, with T = 10.10−3 s. The ball mass is m = 0.2 kg, the air gap is e = 5.10−4 m and λ = 5.10−6 ISU.
Fig. 12.2 Reference position and currents with 7th degree polynomials and current complementarity
12.1 Analysis and Control of a Ball
249
12.1.2.3 A Lemma Lemma 12.1. Let ϕ be a non negative analytic time function on the interval − ]t0 − ε, t0 [, with left limits ϕ(t− ˙ − ¨ − 0 ), ϕ(t 0 ) and ϕ(t 0 ), and with ϕ(t0 ) = 0. Let ϕ(t) ˙ . The left limit ψ(t− ψ be the function defined by ψ(t) = p 0 ) exists if, 2 ϕ(t) and only if, ϕ(t ˙ − ¨ − 0 ) = 0. In this case, we have ϕ(t 0 ) ≥ 0 and r 1 ψ(t− ϕ(t ¨ − (12.9) 0)=− 0) . 2 Furthermore, if ϕ is also non negative and analytic on ]t0 , t0 + ε[, and has + right limits ϕ(t+ ˙ + ¨ + 0 ), ϕ(t 0 ) and ϕ(t 0 ), with ϕ(t0 ) = 0, ψ has a right limit as + t → t0 if, and only if, ϕ(t ˙ 0 ) = 0 and r 1 + ϕ(t ¨ + (12.10) ψ(t0 ) = 0) . 2 Proof. The condition ϕ(t ˙ − 0 ) = 0 is clearly necessary. To prove the sufficiency, let us prolong ϕ analytically in a neighborhood containing t0 in its interior and expand the prolongated function (still denoted by ϕ) in Taylor series. Since ϕ and its first derivative vanish at t0 , we have: ϕ(t) = 12 (t − t0 )2 ϕ(t ¨ − 0 )+ − 3 0(|t − t0 | ). Thus, ϕ(t) ≥ 0 for t ∈]t − ε, t [ implies that ϕ(t ¨ ) ≥ 0 and 0 0 0 q p − 1 2 ϕ(t) = |t − t0 | 2 ϕ(t ¨ 0 ) + 0(|t − t0 | ). Also, differentiating the expression 2 of ϕ yields ϕ(t) ˙ = (t − t0 )ϕ(t ¨ − 0 ) + 0(|t − t0 | ). Thus, since
ψ(t) =
t−t0 |t−t0 |
= −1,
1 ϕ(t ¨ − (t − t0 )ϕ(t ¨ − ) + 0(|t − t0 |2 ) 0) q 0 = − q2 + 0(|t − t0 |) − 1 2) 2|t − t0 | 12 ϕ(t ¨ − ) + 0(|t − t | ϕ(t ¨ ) 0 0 0 2
which proves that the left limit exists and is given by (12.9). The proof of (12.10) follows the same lines and is omitted.
12.1.2.4 A Polynomial Interpolation Algorithm We sketch a construction of reference trajectories for y, i1 , i2 , U1 and U2 that are well-defined and bounded everywhere, including at switchings. In particular, we want y1 to have continuous derivatives up to third order. To this aim, we propose the following algorithm: • we first construct a polynomial curve satisfying the initial and final requirements, using standard polynomial interpolation methods, • the switching points belonging to this trajectory are then computed,
250
12 Control of Magnetic Bearings
• the coordinates of the switching points are then used to construct a sequence of polynomials with appropriate degree that join the initial point to the first switching point, two successive switching points, and then the last switching point to the final one. Each polynomial represents a path joining two successive points. Its coefficients are computed by standard methods, • we check that the new polynomials do not create new switchings, to which case we perturb the coordinates of the previous switching points until no new switchings appear. For simplicity’s sake, we give this construction for 7th degree polynomials. The same kind of construction may be done with higher degrees and possibly additional constraints on the derivatives. Precisely, let us denote Y = (y0,1 , . . . , y3,1 , y0,2 , . . . , y3,2 , T1 , T2 ) where T1 (i) (resp. T2 ) is the initial (resp. final) time, and where yi,j = y1 (Tj ), i = P7 i 0, . . . , 3, j = 1, 2. We set PY (t) = i=0 ai (Y )t . PY is thus the interpolating polynomial satisfying the initial and final requirements specified in the vector Y . We first construct PY0 where Y0 = (y1 (0), 0, 0, 0, y1 (T ), 0, 0, 0, 0, T )is the vector meaning that we start at t = 0 from y1 (0), which is a steady-state, and arrive at the point y1 (T ), which is also a steady-state, at time t = T . The coefficients ai (Y0 )’s are computed by standard interpolation methods. We then compute the set of switching instants: ∆
{t1 , . . . , tq } = {0 < t < T |P¨Y0 (t) = g} with q ≤ 5 since P¨Y0 is a 5th degree polynomial. We set t0 = 0 and tq+1 = T . Note that the coordinates of a switching point and its derivatives up to (3) order 3 are, in these notations, (PY0 (tj ), P˙Y0 (tj ), g, PY0 (tj )), since P¨Y0 (tj ) = g. To satisfy the switching conditions such that the currents and voltages remain bounded, we have shown in lemma 12.1 that we must replace the 3rd derivative of PY0 at tj by 0. Therefore, we are led to construct the new polynomials corresponding to the vectors Zj of pairs of successive switching points. We set Z0 = (PY0 (t0 ), 0, 0, 0, PY0 (t1 ), P˙Y0 (t1 ), g, 0, t0 , t1 ), Zj = (PY0 (tj ), P˙Y0 (tj ), g, 0, PY0 (tj+1 ), P˙Y0 (tj+1 ), g, 0, tj , tj+1 ), for j = 1, . . . , q − 1, Zq = (PY0 (tq ), P˙Y0 (tq ), g, 0, PY0 (tq+1 ), 0, 0, 0, tq , T ). Once the 7th degree polynomials PZj are obtained for j = 0, . . . , q, we check that the switching points obtained with these new polynomials are the same as those of the previous list, namely that P¨Zj (t) 6= g for all t ∈]tj , tj+1 [, j = 0, . . . , q. If it is the case, we set
12.1 Analysis and Control of a Ball
y1 (t) =
251 q X
PZj (t)1[tj ,tj+1 [ (t)
j=0
1 if t ∈ A for a given subset A of the real line. We have 0 otherwise constructed a reference for y1 which is 4 times differentiable everywhere but at the switching instants and with 4th derivative having left and right limits at the switching instants, so that the currents and voltages are well-defined. If, on the contrary, one of the polynomials satisfies P¨Zj (t) = g for at least one t ∈]tj , tj+1 [, then we perturb the vector Zj , and, if necessary, its neighbors, until we fall into the previous case. Note that in the generic case, this last step is not necessary.
where 1A (t) =
12.1.2.5 Trajectory Tracking Let us now focus attention on the feedback design to track a reference trajectory of the above type, denoted by (y1∗ , y2∗ ), and assumed at least twice differentiable. We aim at designing a feedback law such that the tracking error (y1 − y1∗ , y2 − y2∗ ) asymptotically vanishes. More precisely, we may ask that the first component of the tracking error satisfies y¨ − y¨1∗ = −k0 (y − y1∗ ) − k1 (y˙ − y˙ 1∗ )
(12.11)
where k0 and k1 are real numbers such that the second degree characteristic polynomial P2 (s) = s2 + k1 s + k0 is Hurwitz2 . Let us introduce the following notation: A(y, y) ˙ = −k0 (y − y1∗ ) − k1 (y˙ − y˙ 1∗ ) − (g − y¨1∗ ) .
(12.12)
Theorem 12.1. Assume that k0 and k1 are chosen such that the second degree characteristic polynomial P2 of (12.11) is Hurwitz. The control law r p m ˙ , i2 = 0 if A(y, y) ˙ ≥0 (e − y) A(y, y) i = 1 λ1 r (12.13) p m (e + y) −A(y, y) ˙ if A(y, y) ˙ ≤0 i1 = 0 , i2 = λ2 is such that: 2
Recall that this property means that the two roots of P2 have negative real parts. In other words, (12.11) is exponentially stable with damping rate given by the smallest (negative) real part of the roots of P2 . It is also useful to interpret this property in terms of damping time constant, the time constant being the inverse of the absolute value of the smallest root’s real part
252
12 Control of Magnetic Bearings
(i) the current complementarity condition is satisfied, (ii) the first component of the tracking error is exponentially stable and satisfies (12.11), (iii) the second component (y2 − y2∗ ) of the tracking error tends to zero as t → ∞. Proof. Using the linearizability property of flat systems (see Annex A.3), by differentiating twice the first output y1 , it is straightforward to verify that the system (12.1), (12.2) can be transformed into the linear controllable system: y¨1 = v1 (12.14) y2 = v2 by using the static state feedback λ2 i22 λ1 i21 − +g , v1 = 2 m(e − y) m(e + y)2
i2 v2 = e+y
r
λ2 . m
(12.15)
By construction, the reference trajectory t 7→ y1∗ (t) is at least twice differentiable. Then, if we want the closed loop system to satisfy (12.11) with the gains k0 and k1 chosen as above to ensure the exponential stability of y1 − y1∗ , we get v1 = y¨1∗ − k0 (y1 − y1∗ ) − k1 (y˙ 1 − y˙ 1∗ ) . (12.16) Therefore, it is easily seen that the currents r √ m (e − y) v1 − g , i2 = 0 if v1 − g ≥ 0 i1 = λ1 r √ m (e + y) g − v1 if v1 − g ≤ 0 i1 = 0 , i2 = λ2
(12.17)
ensure that (12.11) is satisfied. Combining (12.17) and (12.16), we get (12.13). Furthermore, y2 satisfies the constraint (12.6) and since the mapping Y is continuous with respect to y¨1 , it results that the exponential convergence of y1 to y1∗ as t approaches ∞ implies that y2 converges to y2∗ , which achieves the proof. Remark 12.1. Note that since Y is not differentiable at y¨1 = g, the convergence of y2 is not in general exponential. Remark that, for linear controllable systems, exponential stabilization is always possible. Therefore, the impossibility of designing a feedback law that guarantees an exponential convergence results from the nonlinear structure of the problem, and, more precisely, from the singularity occurring when y¨ = g. Remark 12.2. The above feedback linearization result shows that, though the system is static feedback linearizable, we are not in a classical situation since the second output has no dynamics: y2 = v2 . This is easily handled in the
12.1 Analysis and Control of a Ball
253
differential flatness approach whereas it falls beyond the static feedback linearizability results of Jakubczyk and Respondek [1980], Hunt et al. [1983a]. Remark 12.3. The feedback law (12.13) may be seen as a force control scheme, followed by a nonlinear inversion of the actuator model. Remark 12.4. Note that the same feedback applies to the case of a ball rolling on a plane without friction in a horizontal magnetic field, the only difference being that the weight mg disappears. Let us stress that in this case, the linear tangent model at the origin is not controllable whereas this singularity is not present in our nonlinear approach using differential flatness.
12.1.3 Voltage Control We now consider the model made up with (12.1), (12.2) and (12.3), with U1 and U2 as control variables.
12.1.3.1 Flatness In this case, the same choice of outputs yields, in addition to (12.5), the following relations: r
p m (e − y1 ) y¨1 − g + (y2 )2 + U1 = R1 λ1 r p m + y˙ 2 mλ2 U2 = R2 y2 (e + y1 ) λ2
√ (3) mλ1 y1 + 2y2 y˙ 2 p 2 y¨1 − g + (y2 )2
(12.18)
which proves that all the system variables may be expressed in terms of the output (y1 , y2 ) and a finite number of its derivatives, or, otherwise stated, that the system is still flat, with the same flat output. Note that the expression of U1 is only defined, as before, if, and only if, y¨1 − g + (y2 )2 > 0. This is verified as long as the force F1 is different from 0.
12.1.3.2 Path Planning with Current Complementarity Since we require that the current complementarity condition (12.6) holds, combining (12.18) and (12.6), we get:
254
12 Control of Magnetic Bearings
√ (3) p m mλ1 y1 √ (e − y ) y ¨ − g + if y¨1 − g > 0 1 1 U1 = λ1 2 y¨1 − g 0 if y¨1 − g < 0 if y¨1 − g > 0 0 r (3) p p U2 = m y R2 if y¨1 − g < 0 . (e + y1 ) g − y¨1 + mλ2 √ 1 λ2 2 g − y¨1 (12.19) For the input variables U1 and U2 to remain bounded, according to (3) lemma 12.1, it is necessary and sufficient that y1 (t0 ) = 0 at every switching time t0 , and we have r mλ1 (4) − − U1 (t0 ) = − |y1 (t0 )| , U2 (t− ¨1 (t) > g for t < t0 0 ) = 0 if y 2 r mλ2 (4) − U1 (t− |y1 (t0 )| if y¨1 (t) < g for t < t0 U2 (t− 0)=0 , 0)=− 2 (12.20) The analysis of the switching situation corresponding to the limits when t → t0 , t > t0 follows the same lines. The references of figure 12.2 have already been computed to ensure that the limits (12.20) at switchings are finite. The corresponding voltages are shown in figure 12.3.
r
R1
Fig. 12.3 Reference voltages with 7th degree polynomials
12.1.3.3 Trajectory Tracking Following the same lines as in the feedback construction of theorem 12.1, the system is feedback equivalent to the linear controllable system
12.1 Analysis and Control of a Ball
255
(3)
y1 = v1 y˙ 2 = v2 .
(12.21)
Given suitable reference trajectories (y1∗ , y2∗ ) satisfying the current complementarity condition, if we want to assign the dynamics of the error (y1 − y1∗ , y2 − y2∗ ) as follows: (3) y1 − (y1∗ )(3) = −k0 (y1 − y1∗ ) − k1 (y˙ 1 − y˙ 1∗ ) − k2 (¨ y1 − y¨1∗ ) (12.22) ∗ 0 ∗ y˙ 2 − y˙ 2 = −k0 (y2 − y2 ) then U1 and U2 can be computed in feedback form by inverting the following equations, obtained by differentiating (12.1), (12.2), with (12.3): 2L2 i2 2L1 i1 y1(3) = (U1 − R1 i1 ) − (U2 − R2 i2 ) mλ1 mλ2 (12.23) 1 y˙ 2 = √ (U2 − R2 i2 ) . mλ2 We obtain: R i1 U1 = m(e − y1 )( 1 (e − y1 )(¨ y1 − g + (y2 )2 ) + y2 u2 + v1 ) λ1 p R U2 = mλ2 ( 2 y2 (e + y1 ) + v2 ) λ2
(12.24)
with
v1 = (y1∗ )(3) − k0 (y1 − y1∗ ) − k1 (y˙ 1 − y˙ 1∗ ) − k2 (¨ y1 − y¨1∗ ) ∗ 0 ∗ v2 = y˙ 2 − k0 (y2 − y2 )
(12.25)
Though U2 is well-defined, U1 is not defined when i1 = 0. This is the case in particular at switchings, independently of the fact that the reference trajectory satisfies the current complementarity condition and has bounded current and voltage limits at switchings. However, contrarily to the current control case, the voltage feedback (12.24) does not automatically imply that the current complementarity condition is met: the currents exponentially converge to their references which satisfy it. In the next section, we propose a different approach, with a simpler design, in terms of hierarchical control.
12.1.4 Hierarchical Control If we want to control the bearings by the input voltages without being confronted to the above singularity problem, a simple solution consists in starting from the current control scheme of theorem 12.1 and designing a low-level
256
12 Control of Magnetic Bearings
control loop to track the current reference trajectory with stability. To be more specific, we consider the system (12.1) as if it were controlled by the currents i1 and i2 and the voltages U1 and U2 are designed in such a way that these currents are tracked at a faster rate. Nevertheless, since the tracked currents are now the real ones, rather than their open-loop references, their regularity at switchings cannot be guaranteed anymore in the presence of perturbations. Therefore, we cannot ensure (3) that y1 vanishes at switchings and the previous approach may fail to produce currents with a bounded rate of change. We now develop a slightly different approach where a specific kind of biasing is allowed to overcome this problem. Note that the main difficulty raised by the current complementarity condition is the lack of differentiability of the complementarity function at the zero force point. This is why we now propose to regularize it.
12.1.4.1 A Regularization Procedure In place of dealing with the non differentiable complementarity function Y defined by (12.6), we introduce an almost complementarity function Yη where η is a small positive real number. To this aim, we replace Y on the interval −η ≤ ξ ≤ η, by a non decreasing polynomial Pη (ξ), with Pη (ξ) > Y (ξ) for ξ ∈] − η, +η[, Pη (±η) = Y (±η), such that the almost complementarity function Yη defined by p ξ if ξ ≥ η (12.26) Yη (ξ) = Pη (ξ) if − η ≤ ξ ≤ η 0 if ξ ≤ −η is at least twice continuously differentiable. To ensure that Yη be twice differentiable, the contact conditions between Pη and Y at ξ = ±η must be: dPη d2 Pη (−η) = (−η) = 0 dξ dξ 2 dPη 1 d2 Pη 1 √ Pη (η) = η , (η) = √ , (η) = − p . dξ 2 η dξ 2 4 η3 Pη (−η) =
(12.27)
For example Pη may be chosen as: Pη (ξ) = α3 (ξ + η)3 + α4 (ξ + η)4 + α5 (ξ + η)5 + α6 (ξ + η)6 5
7
−2 −2 with α3 = 15 , α4 = − 13 , α5 = 16 η 16 η of Pη is shown in figure 12.4. We have
17 − 92 64 η
sup |Yη (ξ) − Y (ξ)| = |Yη (0) − Y (0)| = ξ∈R
11
1 − 2 and α6 = − 32 η . The graph
23 1 η2 . 64
12.1 Analysis and Control of a Ball
257
Fig. 12.4 The almost complementarity function and the corresponding non constant bias
This regularization procedure may be interpreted, when ξ = g − y¨1 , as the fact that, before a switching, when the acceleration of the ball is equal to g + η, a small current is injected in the opposite electromagnet until the acceleration has decreased to g−η. This current may be interpreted as a small premagnetisation current that works only during a small interval of time, corresponding to the duration needed to achieve the switching. Moreover, this bias is non constant and decreases with the distance to zero force as shown in figure 12.4. Note that outside the domain defined by −η ≤ y¨1 − g ≤ η, the currents i1 and i2 exactly satisfy the current complementarity condition. Otherwise stated, if we note F2,η = m(Yη (g − y¨1 ))2 and F1,η = m(¨ y1 − g + (Yη (g − y¨1 ))2 ), the corresponding forces, and F1 and F2 the previously defined forces satisfying the current complementarity condition, it can be easily seen that Fi,η = Fi , i = 1, 2, whenever y¨1 − g ≤ −η or η ≤ y¨1 − g and |Fi,η − Fi | ≤ Cη, C being a finite positive real number, for −η ≤ y¨1 − g ≤ η, which shows that there is no biasing outside the arbitrarily small switching domain −η ≤ y¨1 − g ≤ η. This justifies the name almost complementarity function given to Yη . We will also speak of the current almost complementarity condition to call the corresponding requirement on the currents. We now show how to use this approximation in the cascaded design.
12.1.4.2 Path Planning With Almost Current Complementarity We now roughly sketch the construction of paths that satisfy the current almost complementarity condition. In other words, the second output y2 must satisfy: p g − y¨1 if g − y¨1 ≥ η (12.28) y2 = Yη (g − y¨1 ) = Pη (g − y¨1 ) if − η ≤ g − y¨1 ≤ η 0 if g − y¨1 ≤ −η .
258
12 Control of Magnetic Bearings
As before, we begin our design by choosing a trajectory y1 to be followed by the ball, and then the currents and voltages are deduced by using (12.28). Combining (12.5), (12.18) and (12.28), we obtain the following formulas: - if y¨1 − g ≥ η y1 = r y , y2 = 0 p m i1 = (e − y1 ) y¨1 − g , i2 = 0 λ1 √ r (3) p m mλ1 y1 √ U1 = R1 (e − y1 ) y¨1 − g + , λ1 2 y¨1 − g
(12.29) U2 = 0
- if −η ≤ y¨1 − g ≤ η y1 = r y , y2 = Pη (g − y¨1 ) q m (e − y1 ) y¨1 − g + Pη2 (g − y¨1 ), i1 = r λ1 m i2 = (e + y1 )Pη (g − y¨1 ) λr 2 q m (e − y1 ) y¨1 − g + Pη2 (g − y¨1 ) U 1 = R1 λ1 √ (3) mλ1 y1 1 − 2Pη (g − y¨1 )Pη0 (g − y¨1 ) q + 2 y¨1 − g + Pη2 (g − y¨1 ) r p m (3) U 2 = R2 (e + y1 )Pη (g − y¨1 ) − mλ2 y1 Pη0 (g − y¨1 ) λ2
(12.30)
- if y¨1 − g ≤ −η p y2 =r g − y¨1 p m i1 = 0 , i2 = (e + y1 ) g − y¨1 λ2 √ r (3) p m mλ2 y1 √ U1 = 0 , U2 = R2 (e + y1 ) g − y¨1 − λ2 2 g − y¨1
y1 = y ,
(12.31)
Note that if y1 is an at least 4 times continuously differentiable function of time, since the almost complementarity function Yη is twice continuously differentiable by construction, the obtained references for i1 , i2 are continuously differentiable and U1 and U2 are continuous. Here, the current references are designed to satisfy the almost complementarity condition: r q m (e − y1 ) y¨1 − g + Yη2 (g − y¨1 ), i1 = λ1 (12.32) r m i2 = (e + y1 )Yη (g − y¨1 ). λ2
12.1 Analysis and Control of a Ball
259
12.1.4.3 Hierarchical Trajectory Tracking With Almost Current Complementarity The high-level controller is given, in place of (12.13), by r q m A(y1 , y˙ 1 ) + Yη2 (−A(y1 , y˙ 1 )), i∗∗ = (e − y ) 1 1 λ1 r m i∗∗ = (e + y1 )Yη (−A(y1 , y˙ 1 )) 2 λ2
(12.33)
with A(y1 , y˙ 1 ) given by (12.12). Here, in order to distinguish between low and high-level variables, we have renamed ij by i∗∗ j , j = 1, 2. We want to design the voltage loops such that • the errors between the currents ij and their reference i∗∗ j , j = 1, 2, locally decrease exponentially fast, the use of high-gains being allowed, • the high-level tracking error between the ball position and its reference is stabilized, • without using a precise knowledge of the currents dynamics. Setting Uj = −Kj (ij − i∗∗ j ) ,
j = 1, 2
(12.34)
the error equation satisfies: Lj
dLj d ∗∗ (ij − i∗∗ + Rj + Kj )(ij − i∗∗ j ) = −( j ) − Uj , dt dt
j = 1, 2
(12.35)
where
di∗∗ dLj j + i∗∗ , j = 1, 2 . (12.36) j dt dt Note that Uj∗∗ is not used in the low-level loop (12.34). It depends on the coefficients of the currents dynamics, while the feedback (12.34) does not. Therefore, if we can stabilize (12.35) by (12.34), the result will not be sensitive to modelling inaccuracies in (12.35). Note also that, according to the above regularization, Uj∗∗ remains bounded. This point is crucial for the applicability of the cascaded control design. Let us introduce ε a small positive real number and let us choose the gain Kj high enough, namely such that Uj∗∗ = Rj i∗∗ j + Lj
dLj dt
+ Rj − K j κj = Lj ε
(12.37)
where κj is an arbitrary positive number, j = 1, 2. Using standard singular perturbation arguments (see Theorems 3.8 and 3.9. See also Kokotovi´c et al. [1986]), we obtain:
260
12 Control of Magnetic Bearings
Theorem 12.2. For every ε small enough, the high-gain feedback (12.34) is such that (i)
the current error of subsystem (12.35) exponentially converges to a limit of order O(ε) as t → +∞ and its closed-loop dynamics is fast compared to the dynamics of y1 − y1∗ , (ii) the ball position error y1 (t) − y1∗ (t) exponentially converges to a limit of order O(ε) as t → +∞. Proof. We have y¨1 −
y¨1∗
λ1 = m λ1 = m
2 2 λ2 i1 i2 − + g − y¨1∗ e − y1 m e + y1 ! 2 ∗∗ 2 i1 i1 − e − y1 e − y1 2 ∗∗ 2 ! λ2 i2 i2 − − m e + y1 e + y1 ∗∗ 2 ∗∗ 2 λ1 i1 λ2 i2 + − + g − y¨1∗ . m e − y1 m e + y1
(12.38)
According to (12.33), we have λ1 m
i∗∗ 1 e − y1
2
and λj m
λ2 − m
i∗∗ 2 e + y1
2
+ g − y¨1∗ = A(y1 , y˙ 1 ) + g − y¨1∗ = −k0 (y1 − y1∗ ) − k1 (y˙ 1 − y˙ 1∗ )
2 2 ! i∗∗ ij j − e + (−1)j y1 e + (−1)j y1 ∗∗ ij + ij λj = (ij − i∗∗ j ), m (e + (−1)j y1 )2
j = 1, 2.
Therefore we have ∗ y¨1 − y¨1∗ = −k0 (y k1 (y˙ 1 − y˙ 1∗ ) 1 − y1 )∗∗− i1 + i1 λ1 (i1 − i∗∗ + 1 ) m (e − y1 )2 ∗∗ λ2 i2 + i2 − (i2 − i∗∗ 2 ). m (e + y1 )2
(12.39)
On the other hand, let us combine (12.35) with (12.37). We get: Uj∗∗ d κ ∗∗ (ij − i∗∗ ) = − (i − i ) − , j j j dt ε Lj
j = 1, 2
(12.40)
The error equations are thus given by (12.39) and (12.40), and we may recognize the standard form of singular perturbations (see Section 3.3 and, e.g.,
12.1 Analysis and Control of a Ball
261
Kokotovi´c et al. [1986]). Clearly, (12.40) is fast and stable by construction ∗∗ ε Uj and the corresponding steady-states satisfy ij − i∗∗ j = κ Lj , j = 1, 2. ThereU ∗∗
fore, since Ljj is bounded, the fast transients of ij − i∗∗ j converge fast to a limit of order O(ε) and, by Tikhonov’s theorem Tikhonov et al. [1980] (see also Theorems 3.8 and 3.9 and Kokotovi´c et al. [1986]), the right-hand side of the slow dynamics (12.39) may be approximated by replacing ij − i∗∗ j by its limit, which proves that it is stable and that y1 (t) − y1∗ (t) exponentially converges to a limit of order O(ε) as t → +∞, which achieves to prove the theorem. Remark 12.5. The above result would not hold true anymore if the references Uj∗∗ were not bounded. Note that the boundedness of the voltage references for every current reference is a consequence of our regularization procedure and therefore of the corresponding biasing. Remark 12.6. The singularity problem at switchings for the trajectory tracking by voltage control is here circumvented since we do not use the 3rd order derivative of y1 − y1∗ to stabilize it. Remark 12.7. This cascaded control technique replaces the stabilization problem of (12.21), made up with a third order subsystem and a first order one, by the stabilization of a second order subsystem and two first order ones. It can be interpreted as a way to “shorten the integrators” (see Krsti´c et al. [1995] for a backstepping approach to this problem) Remark 12.8. Lower bounds for the gains Kj can be easily computed by assuming that we restrict the velocity y˙ 1 to a bounded domain and that a given tracking precision on the currents and positions is desired. Note that, in practice, the gains may not be chosen too large to avoid an artificial amplification of external disturbances.
Fig. 12.5 Hierarchical control for the ball: reference position and control inputs
262
12 Control of Magnetic Bearings
Fig. 12.6 Hierarchical control: tracking error and voltage inputs
Fig. 12.7 Hierarchical control: tracking error and saturated voltage inputs
The figures displayed in figure 12.5 show the evolution of y ∗ (t) and the ∗∗ corresponding reference currents i∗∗ 1 and i2 , the high-level loop inputs. Figure 12.6 gives the tracking error and the actual voltage inputs. Because of the excessive amplitude of low-level control inputs, another test has been carried out with a saturation on the low-level voltage inputs. The corresponding curves are given in figure 12.7. The tracking error is not too much affected by this saturation.
12.1.4.4 Some Comparisons To conclude this section, let us briefly sketch a comparison between this approach and a more classical one based on tangent linearization techniques with biasing currents. To make the comparison more interesting, we assume that there is no gravity, which means that we set g = 0 in what precedes, so that the zero force point is an equilibrium point. We assume that the mass of the ball is m = 0.2 kg, the air gap is e = 0.5 mm. The coils are identical and we set λ1 = λ2 = λ = 5.10−6 Nm2 /A2 , and R1 = R2 = R = 1 Ω. Moreover, the currents are saturated at 3 A and the voltages at 20 V. The initial position of the ball is y(0) = −0.4 mm with null currents i1 (0) = i2 (0) = 0 and we want to reach the final position y(T ) = 0, at T = 10 ms, with null currents
12.1 Analysis and Control of a Ball
263
i1 (T ) = i2 (T ) = 0. After t = 13 ms and during 4 ms, the ball is submitted to a perturbative force, which is triangular with maximal amplitude equal to 140 N (recall that the mass of the ball is 0.2 kg). We compare four approaches: • the nonlinear design based upon the current complementarity condition and the voltage linearizing feedback (recall that the voltages and currents are saturated); • the nonlinear cascaded control method, using the almost complementarity condition, whose maximal biasing level corresponds to 0.035 A, with η = 1 m/s2 ; • a linear approach, based on the tangent linearization at the equilibrium point y = 0, with the reference trajectory computed as in the previous case and with two levels of biasing currents: I = 0.035 A and I = 1.5 A (= imax 2 ); • a linear approach, also based on the tangent linearization at the equilibrium point y = 0, but with a reference trajectory replaced by the set point y = 0. The two above levels of biasing are considered. In the four cases, the poles of the linear dynamics at y = 0 are all equal to -4000.
Fig. 12.8 Linear control without path planning: position of the ball (left) and tracking error (right).
The simulation results are displayed in figures 12.9, 12.10 and 12.8. The differences between the methods based upon the complementary condition and the almost one are so tiny that we have only shown the last one (figure 12.9). We may first observe that motion planning is useful since the linear approach without trajectory planning, and for a tracking dynamics comparable to the nonlinear one, does not yield a satisfactorily convergent behavior, whatever the biasing current level (figure 12.8). With motion planning, the linear tracking is quite good with a small biasing current, while the sensitivity
264
12 Control of Magnetic Bearings
Fig. 12.9 The nonlinear cascaded control: position of the ball (upleft), error between the ball position and its reference (upright), currents 1 and 2 (middle) and voltages 1 and 2 (below).
to perturbations remains too high (see the continuous curves of figure 12.10 after 13 ms). If we increase the bias, the robustness to perturbations is improved but the system’s answers to large tracking errors are slightly deteriorated and produce saturating currents and voltages (see the dotted curves of figure 12.10 between 0 and 5 ms). Finally, both nonlinear approaches ensure a good tracking and an acceptable robustness to perturbations (see the responses to the force disturbance on figure 12.9). It is interesting to note that the nonlinear controller requires larger currents and voltages than the linear controller with large bias (figure 12.10, dotted curves), to attenuate the perturbation. This is caused by the fact that, at low currents, a large current variation is required to achieve a force variation of 1 unit, whereas with a large bias, a smaller current variation achieves the same force variation.
12.2 The General Shaft
265
Fig. 12.10 Linear control with path planning: position of the ball (upleft), error between the ball position and its reference (upright), currents 1 and 2 (middle) and voltages 1 and 2 (below).
Indeed, the same considerations extend to the more general 4 d.o.f. problem of the next section.
12.2 The General Shaft We now turn to the case of a rotating shaft with two active magnetic bearings. The bearings control four degrees of freedom and a passive thrust stabilizes the projection along the main axis of the movements of the shaft. The rotor is assumed to be a rigid body. We consider the moving frame attached to the center of mass G in the fixed coordinates of the stator. We denote by θ and
266
12 Control of Magnetic Bearings
ψ the angles corresponding to a small rotation around the axis Gy and Gz respectively. The lengths and forces are as displayed in Figure 12.11. Due to the presence of a passive thrust, the dynamics of the shaft along the Gx axis are neglected. The following model is obtained by expressing the balance of forces and torques at the center of mass G. The action of the passive thrust in the directions of Gy and Gz is supposed to be equivalent to the one of a spring with stiffness kb in both directions. The corresponding radial forces are denoted by Fb1 and Fb2 .
12.2.1 Modelling
F
F
F
, ,
F
, ,
, ,
Passive thrust
, ,
G
Fb, F
F
F
, ,
, ,
ψ
θ
x
F
Fb, , ,
l lb
, ,
y
l
z
Fig. 12.11 The shaft and the four pairs of electromagnets.
In the xGy plane: m¨ y = F1,1,1 − F1,1,2 + F2,1,1 − F2,1,2 + Fb1 + mg1 J ψ¨ = (F1,1,1 − F1,1,2 )l1 − (F2,1,1 − F2,1,2 )l2 − Fb lb + ωJx θ˙
(12.41)
1
with Fb1 = −kb (y − lb sin ψ), and in the xGz plane: m¨ z = F1,2,1 − F1,2,2 + F2,2,1 − F2,2,2 + Fb2 + mg2 ¨ J θ = −(F1,2,1 − F1,2,2 )l1 + (F2,2,1 − F2,2,2 )l2 + Fb2 lb − ωJx ψ˙
(12.42)
where Fb2 = −kb (z + lb sin θ), where ω is the angular velocity around the Gx axis and g1 and g2 are the projections of the gravitational field along Gy and Gz respectively. According to the geometry of the shaft, we assume that the radial inertia moments are equal: Jy = Jz = J. Let us note : x1 = y ,
x2 = z ,
x3 = ψ ,
x4 = θ .
(12.43)
12.2 The General Shaft
267
The electromagnetic forces can be expressed as follows: Fj,k,l =
λj,k,l (ij,k,l )2 , (ej + (−1)l (xk + (−1)j+k lj sin(xk+2 )))2
j, k, l = 1, 2 , (12.44)
where λj,k,l and ej are the characteristic constants of the bearing number j, j, k, l = 1, 2. Note that the 8 forces are, as before, functions of the 8 corresponding coil currents which may be, in a first approach, considered as the 8 input variables. In a second stage, we will adjoin the electrical equations relating the currents ij,k,l to the voltages Uj,k,l , j, k, l = 1, 2, given by: Uj,k,l = Rj,k,l ij,k,l + Lj,k,l
dLj,k,l dij,k,l + ij,k,l , dt dt
j, k, l = 1, 2
(12.45)
j, k, l = 1, 2 .
(12.46)
with Lj,k,l =
ej +
(−1)l (xk
λj,k,l , + (−1)j+k lj sin(xk+2 ))
In this latter case, the 8 voltages are to be considered as control inputs. Most of the ideas developed in the case of the ball easily extend to the shaft. Indeed, the difficulties also extend. Since we have shown that a direct approach of the voltage control problem is not completely satisfactory, we only insist now on the hierarchical control problem. The current control problem being a necessary preparation to it, we will just sketch the new aspects. In the same spirit, the current complementarity condition could be used in this case, though we only present the results related to the current almost complementarity condition, needed for the hierarchical control solution.
12.2.2 Current Control 12.2.2.1 Flatness A possible choice of flat output is y1 = y y5 = y2 = z y 6 = y3 = ψ y7 = y4 = θ y8 =
p i1,1,2 λ1,1,2 e1 + y p + l1 sin ψ i1,2,2 λ1,2,2 e1 + z p − l1 sin θ i2,1,2 λ2,1,2 e2 + y p − l2 sin ψ i2,2,2 λ2,2,2 . e2 + z + l2 sin θ
(12.47)
268
12 Control of Magnetic Bearings
To verify the flatness property, it suffices to express all the state and input variables as functions of the yi ’s and a finite number of their derivatives: xj = yj , x˙ j = y˙ j , ij,k,2 i2j,k,1
j = 1, . . . , 4 j = 1, . . . , 4 1 =p y2j+k+2 (ej + yk + (−1)j+k lj sin(yk+2 )) λj,k,2 (ej − yk + (−1)j+k lj sin yk+2 )2 2 = y2j+k+2 λj,k,1 1 + ml3−j (¨ yk − gk ) + (−1)j+k J y¨k+2 (l1 + l2 ) j +kb (l3−j + (−1) lb )(yk + (−1)k lb sin yk+2 ) j +(−1) ωJx y˙ 5−k
(12.48)
12.2.2.2 Path Planning With Almost Current Complementarity As before, we choose twice continuously differentiable functions of time y1∗ , . . . , y4∗ that play the role of the references for y, z, ψ, θ. To construct the currents in the 4 pairs of electromagnets, we use the current almost complementarity condition for each pair of electromagnets, and the associated almost complementarity function Yη , which lead to the formulas, expressed for a pair (j, k), j, k = 1, 2, of electromagnets: (ej − yk + (−1)j+k lj sin yk+2 ) q p Bj,k + Yη2 (−Bj,k ) λj,k,1 (ej + yk + (−1)j+k lj sin yk+2 ) p = Yη (−Bj,k ) λj,k,2
ij,k,1 = ij,k,2
(12.49)
where we have noted, for j, k = 1, 2, 1 ∗ (ml3−j (¨ yk∗ − gk ) + (−1)j+k J y¨k+2 (l1 + l2 ) ∗ ∗ +kb (l3−j + (−1)j lb )(yk∗ + (−1)k lb sin yk+2 ) + (−1)j ωJx y˙ 5−k )). (12.50)
Bj,k =
12.2.2.3 Trajectory Tracking The feedback construction follows the same lines as in theorem 12.1 and consists in linearizing the system by feedback. The computations are mostly uninteresting and do not bring new insight. They are omitted. The feedback form obtained for the currents is the same as in (12.49), the only difference being that the function Bj,k must be replaced by Cj,k :
12.3 Implementation
Cj,k =
269
1 j+k JAk+2 (l1 +l2 ) (ml3−j (Ak − gk ) + (−1) j k kb (l3−j + (−1) lb )(yk + (−1) lb sin yk+2 ) +
(−1)j ωJx y˙ 5−k ))
(12.51)
with Aj = −k0,j (yj − yj∗ ) − k1,j (y˙ j − y˙ j∗ ) + y¨j∗ , j = 1, . . . , 4 .
(12.52)
The same result as in theorem 12.1 can be stated for the above designed feedback: let us introduce the tracking behavior for the 4 first components of the output: y¨j − y¨j∗ = −k0,j (yj − yj∗ ) − k1,j (y˙ j − y˙ j∗ ) ,
j = 1, . . . , 4
(12.53)
and assume that the polynomials Pj (s) = s2 + k1,j s + k0,j are Hurwitz. Theorem 12.3. The control law (ej − yk + (−1)j+k lj sin yk+2 ) q p Cj,k + Yη2 (−Cj,k ) λj,k,1 (ej + yk + (−1)j+k lj sin yk+2 ) p = Yη (−Cj,k ) λj,k,2
ij,k,1 = ij,k,2
(12.54)
for j, k = 1, 2, is such that: (i)
the current almost complementarity condition is satisfied for each pair of electromagnets, (ii) the tracking errors yj − yj∗ , j = 1, . . . , 4, are exponentially stable and satisfy (12.53), (iii) the tracking errors yj − yj∗ , j = 5, . . . , 8, tend to 0 as t tends to ∞. The proof follows the same lines as the one of theorem 12.1 and is omitted.
12.2.3 Hierarchical Control Once the high-level loop designed as in theorem 12.3, the low-level loop is exactly the same as in the case of the ball since the low-level (voltage) stabilization is realized by each electromagnet independently. Therefore, the stabilization result of theorem 12.2 holds true here, the only difference being that the high-level loop is designed as above.
12.3 Implementation This section is devoted to the implementation aspects of the above hierarchical control design in the case of the shaft. Two important problems remain
270
12 Control of Magnetic Bearings
to be addressed. At first, the knowledge of the position and velocity of the shaft as well as the currents in the electromagnets are necessary to compute the feedback: since the position and currents only are measured, an observer is needed to reconstruct the velocity from the measurements. Secondly, the digital implementation requires a discretized version of the above control laws.
12.3.1 Observer Design The informations given by the sensors concern the position of the rotor relatively to the stator. We call ζj , j = 1, . . . , 4, the corresponding measurements, related to the state variables of the shaft as follows: ζ1 = x1 + lc1 sin x3 ζ2 = x1 − lc2 sin x3 ζ3 = x2 − lc1 sin x4 ζ4 = x2 + lc2 sin x4
(12.55)
where lcj , j = 1, 2, is the distance between the jth plane of the two corresponding sensors and the center of mass. To the list of measured variables, we may add the currents ij,k,l , j, k, l = 1, 2. We denote by ζ = (ζ1 , . . . , ζ4 ) and i the vector made up with the 8 currents. Clearly, we can directly recover the positions xj , j = 1, . . . , 4 from (12.55): lc ζ4 + lc2 ζ3 lc1 ζ2 + lc2 ζ1 x2 = 1 lc1 + lc2 lc1 + lc2 ζ1 − ζ2 ζ4 − ζ3 x3 = arcsin( ) x4 = arcsin( ) lc1 + lc2 lc1 + lc2 x1 =
(12.56)
The aim of this section is to reconstruct, by means of an observer, the velocities x˙ j , j = 1, . . . , 4. In fact, with the same approach, we can also reconstruct the biases of the forces and torques that result from modelling errors. Note that, since the shaft rotates around its main axis at an angular speed ω, we aim at designing the observer such that its behavior is independent of ω. This additional requirement is mainly motivated by the avoidance of critical speeds. Let us denote β = (β1 , . . . , β4 ) the force and torque bias, supposed constant or slowly varying, and Fj (ζ, i) the force defined by Fj (ζ, i) = F1,j,1 − F1,j,2 + F2,j,1 − F2,j,2 + Fbj + mgj , for j = 1, 2 Fj (ζ, i) = (−1)j−1 (F1,j−2,1 − F1,j−2,2 )l1 +(−1)j (F2,j−2,1 − F2,j−2,2 )l2 + (−1)j Fbj−2 lb , for j = 3, 4 . (12.57) The model (12.41), (12.42) may be rewritten as follows:
12.3 Implementation
271
m¨ x1 = F1 (ζ, i) + β1 m¨ x2 = F2 (ζ, i) + β2 Jx ¨3 = −ωJx x˙ 4 + F3 (ζ, i) + β3 Jx ¨4 = ωJx x˙ 3 + F4 (ζ, i) + β4
β˙ 1 β˙ 2 β˙ 3 β˙ 4
=0 =0 =0 =0
(12.58)
Note that these forces (12.57) are functions of the available measurements only and do not contain the variables we want to estimate. The system (12.58) belongs to the class of linear systems up to output injection (see e.g. Isidori [1995], Krener and Isidori [1983], Krener and Respondek [1985], Bestle and Zeitz [1981], Xia and Gao [1989]). Moreover, if we use the inverted relations (12.56) to observe directly xj , j = 1, . . . , 4, we obtain 3 independent subsystems, two subsystems of dimension 2 for the translations along y and z and one subsystem of dimension 4 for the rotations: • for the translations along y and z: m¨ x1 = β1 + F1 (ζ, i) β˙ 1 = 0 lc ζ2 + lc2 ζ1 x1 = 1 lc1 + lc2 and
m¨ x2 = β2 + F2 (ζ, i) β˙ 2 = 0 lc ζ4 + lc2 ζ3 x2 = 1 lc1 + lc2
• for the rotations: Jx ¨ = −ωJx x˙ 4 + β3 + F3 (ζ, i) β˙ 3 = 0 3 Jx ¨4 = ωJx x˙ 3 + β4 + F4 (ζ, i) β˙ 4 = 0 ζ4 − ζ3 x3 = arcsin( ζ1 − ζ2 ) x4 = arcsin( ). lc1 + lc2 lc1 + lc2
(12.59)
(12.60)
(12.61)
The construction of an observer for the velocities reduces thus to the construction of three independent observers for linear systems with output injection of the form µ˙ j = Aj µj + bj (νj ) , j = 1, 2, 3 (12.62) νj = Cj µj . with the pairs (Aj , Cj ) observable for j = 1, 2, 3. For the translation subsystems, we have 01 0 1 A1 = A2 = 0 0 m , C1 = C2 = 1 0 0 00 0 and for the rotation subsystem:
272
12 Control of Magnetic Bearings
0 1 0 0 0 0 A3 = 0 0 0 ω Jx J 0 0
0 0 0 Jx 1 J 0 −ω J 0 0 0 0 0 1 0 0 0 0 0 0
0 0 0 , 0 1 J 0
C3 =
100000 000100
.
Since these pairs are observable, there exist gain matrices Kj , j = 1, 2, 3, γ1,j Kj = γ2,j , j = 1, 2 γ3,j and K3 a matrix 6 × 2 with entries noted γi,j,3 , i = 1, . . . , 6, j = 1, 2, such that Aj + Kj Cj is stable, j = 1, 2, 3. We thus construct observers of the form µ ˆ˙ j = Aj µ ˆj + bj (νj ) − Kj (νj − Cj µ ˆj )
(12.63)
where µ ˆj is an estimate of µj . The estimation error ej = µj − µ ˆj satisfies: e˙ j = Aj ej + Kj Cj ej = (Aj + Kj Cj )ej ,
j = 1, 2, 3,
(12.64)
which proves the stability of the error equations or, in other words, ej tends to 0 exponentially fast, the exponential rate of decay depending on the choice of the eigenvalues of Aj + Kj Cj which may be placed arbitrarily by means of the entries of Kj , j = 1, 2, 3. It results that, if the measurements are accurate enough, the above observers are able to produce convergent estimates of the velocities and of the force and torque biases. Indeed, since the observer is used to synthesize the feedback, its convergence rate must be chosen significantly higher than the one of the controller. Note in addition that A3 depends on the angular velocity ω, which is measured, and that a proper choice of the entries of K3 may be done such that the eigenvalues of A3 + K3 C3 are independent of ω. Assume for example that the eigenvalues of A3 + K3 C3 are solution of the Hurwitz polynomial (s3 + a1,3 s2 + a1,2 s + a1,1 )(s3 + a2,3 s2 + a2,2 s + a2,1 ) = 0 where the coefficients aj,k are conveniently chosen, independent of ω. A possible choice of K3 is given in this case by: a1,3 ω a1,2 − ω 2 a2,3 ω a1,1 0 . K3 = −ω a 2,3 −a1,3 ω a2,2 − ω 2 0 a2,1
12.4 Experimental Results
273
12.3.2 Digital Control According to the fact that the model of the shaft is flat, or more precisely equivalent to a linear system, we can take profit of the linearity to obtain a discrete-time model by exact discretization. The original variables are then obtained by the inverse transformations. This technique is indeed exact only if constant controls are used, which is not the case here. However, when the discretization period is small enough, the errors induced by the discretization scheme can be seen as perturbations of the system, which are naturally dampen by the stability of the closed-loop system. Since the discretization aspects are not crucial in this implementation, and since the formulas have little interest in themselves, they are withdrawn.
12.4 Experimental Results 12.4.1 Platform Description The experimental bench is composed by a magnetic suspension unit, a personal computer with a control interface, two transputers and a power supply. The magnetic suspension is made of a rotor and a stator. The rotor turns around its main axis by means of an electric motor and its position with respect to the stator is controlled by four magnetic bearings. Four electromagnetic sensors give a differential position measurement from which the displacement is computed by a devoted circuit. Parameters Shaft Units l1 0.0504 m l2 0.0606 m lb 0.1000 m lc1 0.088 m lc2 0.091 m m 1.165 kg Jx 0.149E-03 kg.m2 Jy 4.72E-03 kg.m2 λl 2.3E-06 N.m2 /A2 λr 2.0E-06 N.m2 /A2 kr -4000 N/m Table 12.1 Characteristics of the Shaft
The main characteristics of the shaft are displayed in the table 12.1. The notations are those of the previous sections.
274
12 Control of Magnetic Bearings
Concerning the computing units, two transputers are used, one for the analog/digital converters and the other for the numerical treatment. The numerical program is presently written in C, without optimization with respect to real time aspects. In particular, a lower level programming language might increase the computational speed in real time.
12.4.2 Experiments Two types of tests have been done on the experimental bench. They concern the transitions to steady-states when the stator is in horizontal or vertical position. In the first case, we start from the landing position (all the bearings switched off) to a centered equilibrium position. In the second (vertical) case, we move around the vertical centered position corresponding to currents in the electromagnets remaining always close to 0.
12.4.2.1 The Horizontal Case The shaft moves up in a plane to reach its centered position. The reference trajectories correspond to the formulas given in the motion planning section with a 5th degree polynomial for y and ψ.
Fig. 12.12 Horizontal shaft : measured relative positions of the rotor w.r.t. the stator and currents
The curves displayed in figure 12.12, 12.13 show the evolution of y, ψ and the currents i∗∗ , the high-level loop inputs. Note that though the dynamical change due to the take off of the shaft is not taken into account in our model, the behavior at starting is not significantly affected.
12.4 Experimental Results
275
Fig. 12.13 Horizontal shaft: position of the center of mass and angular position of the shaft
12.4.2.2 The Vertical Case The same kind of tests have been done when the stator is in vertical position. The model in this case is modified to properly take into account the gravity but the control synthesis remain unchanged. The interest of this position relies on the fact that the coil currents vanish at the steady-state. As in the previous case, the control references are computed from the references of y and ψ which are chosen as 5th degree polynomials. The curves presented in figures 12.14 to 12.16 are those of the evolution of y, ψ and the corresponding input currents i∗∗ .
Fig. 12.14 Vertical shaft: measured relative positions of the rotor w.r.t. the stator
Note that in both the vertical and the horizontal cases, residual oscillations, of amplitude less than 5.10−6 m, are present. In the vertical case, they produce numerous switchings since the currents remain close to zero. They apparently result from external vibrations transmitted by the stator, which
276
12 Control of Magnetic Bearings
Fig. 12.15 Vertical shaft: measured current inputs
Fig. 12.16 Vertical shaft: position of the center of mass and angular position of the shaft
is not vibration isolated, and perturb both the system dynamics and the measurements. They do not concern a presumably oscillatory behavior of the controller.
12.4.2.3 A Rough Experimental Comparison We now compare the above nonlinear design in the vertical case to a classical linear one, using a biasing current equal to 1.5 A. For technological reasons, the current path planning could not be implemented with the linear controller. Therefore, and, contrarily to the simulated comparisons of section 12.1.4.4, the linear tracking dynamics around the equilibrium point has been significantly slowed down to avoid oscillations. The experimental results are shown in figure 12.17. The linear controller achieves the transfer from y = −0.4 mm to y = 0 in approximatively 1400 ms with a peak current of about 2A. The nonlinear tracking achieves the same transfer in 30 ms (more than 45 times faster!) with peak currents smaller than 1A. The current variations all along the transfer are comparable in both cases. Clearly, the dy-
12.4 Experimental Results
277
namical response of the linear controller might be improved by using motion planning. Further experiments are required to better evaluate the nonlinear feedback performances. Note that we have more insisted on the starting aspects and that little have been said about the rotating performances.The present nonlinear controller has been satisfactorily tested up to frequencies of 600 Hz with a positioning precision of about 2µm.
Fig. 12.17 An experimental comparison of positioning of the vertical shaft: linear control using bias currents without path planning (left) and nonlinear cascaded control (right).
Chapter 13
Crane Control
The present chapter constitutes a continuation of the introductory example of section 5.1, chapter 5, and of example 7.2, chapter 7. We show how simple measurement feedbacks may be designed to track different types of rest-torest trajectories and compare them. Z O
C F
M
ξ
}low-level controllers X
T x R θ
T ζ
•
mg Fig. 13.1 Two-dimensional overhead crane.
13.1 Orientation Our aim is to control an overhead crane that carries a load from a given configuration to another one, without swing at the end point. We are only interested here in rest-to-rest displacements, namely starting from a given point at rest and arriving to another given point at rest, with a duration as J. Lévine, Analysis and Control of Nonlinear Systems, Mathematical Engineering, DOI 10.1007/978-3-642-00839-9_13, © Springer-Verlag Berlin Heidelberg 2009
279
280
13 Crane Control
short as possible. We therefore assume that the motors are powerful enough to deliver the required force and torque. We also assume that there are technological limitations on the motors and therefore that the force and torque are subject to constraints: the absolute value of the force and torque are limited to 100000N and 10000kgm2 respectively. These constraints will not be taken into account explicitly in the control design but they are present in the simulation software where the force and the winch torque are replaced by their saturated value each time they exceed it. One of the distinctive features of this application is that the position and velocity of the load, as well as the angle of the cable with respect to the vertical and its velocity are not measured. Only the position and velocity of the cart on the one hand and the angular position and velocity of the winch (which is equivalent to measuring the length of the cable and its velocity) on the other hand are measured. Implementing a full state feedback is therefore impossible. More precisely, a feedback linearizing design, as in (5.11), where the load is virtually controlled by a linear controller: ξ (4) = v1 ,
ζ (4) = v2
(see the corresponding full state dynamic feedback design of Andr´ea-Novel ˙ in real time, ˙ θ, θ) and L´evine [1990]), requires measurements of (x, x, ˙ R, R, that are not available. This is why we consider here a much simpler design that doesn’t require ˙ The presented material is a particular case of the measurements of θ and θ. results obtained for a class of weight-handling systems in Kiss [2001], Kiss et al. [2000a,c]. The interested reader may also refer to Delaleau and Rudolph [1998] for a different construction using the notion of quasi-static feedback. Recall from section 5.1 that the mass of the cart is denoted by M , its position by x, and the force applied to it by F . The winch has radius ρ, and is submitted to the torque C. The length of the cable is R, the angle of the cable with the vertical is θ and its tension is T . The load’s mass is m and its position in the fixed frame (O, OX, OZ) is denoted by (ξ, ζ). We indeed assume that R ≤ R0 , where R0 corresponds to the height of the cart with respect to the ground, and that T ≥ 0, which means that the cable cannot push the load. Recall that the dynamical equations are given by: mξ¨ = −T sin θ mζ¨ = T cos θ − mg Mx ¨ = −γ1 (x) ˙ + F + T sin θ J ¨ ˙ − C + Tρ R = −γ2 (R) ρ and that the geometric constraints are:
(13.1)
13.1 Orientation
281
ξ = x + R sin θ ζ = −R cos θ.
(13.2)
To simulate the system, the following explicit form (see again section 5.1) will be needed: M 2 ( + sin θ) sin θ 0 ¨ m x ¨ J R sin θ ( + 1) 0 mρ2 θ¨ cos θ 0 R 1 F (Rθ˙2 + g cos θ) sin θ − γ1 (x) ˙ + m m C = Rθ˙2 + g cos θ − 1 γ (R) . ˙ − 2 mρ mρ −2R˙ θ˙ − g sin θ
We set J1 =
J , mρ2
J2 = J1 + 1,
µ(θ) = J2 M1 + J1 sin2 θ,
M1 =
(13.3)
M , m
˙ = Rθ˙2 + g cos θ, α(R, θ, θ)
and assume the frictions linear with respect to the corresponding velocities: γ1 (x) ˙ = Γ1 x, ˙
˙ = Γ2 R. ˙ γ2 (R)
After inversion of the left-hand side matrix of (13.3), we get: 1 ˙ sin θ + sin θ C + Γ2 R˙ + J2 (F − Γ1 x) J1 α(R, θ, θ) ˙ x ¨= µ(θ) mρ m 2 1 (M + sin θ) 1 ˙ − ¨= R M1 α(R, θ, θ) C + Γ2 R˙ µ(θ) mρ sin θ − (F − Γ1 x) ˙ m J cos θ sin θ 2 ˙ sin θ + θ¨ = − J1 α(R, θ, θ) (F − Γ1 x) ˙ C + Γ2 R˙ + Rµ(θ) mρ m 1 ˙˙ − 2Rθ + g sin θ . R (13.4) In the simulations, we have chosen the following values: m = 500 kg, M = 5000 kg, g = 10 m · s−2 , J = 50kg · m2 , ρ = 0.4 m, Γ1 = 20 kg · s−1 , Γ2 = 20 kg · m · s−1 The friction coefficients Γ1 and Γ2 , the cart and load masses and the winch inertia are generally inaccurately known and, in the controller, they are replaced by erroneous values.
282
13 Crane Control
The curves presented below have been obtained by simulating (13.4) with errors of 50% on these coefficients, as well as errors on the initial position of 1%. We’ll see that the presented controllers are robust with respect to the masses, inertia and friction coefficients, but require precise measurements of the cart position and cable length, which explains why the initial error is so small compared to the other ones.
13.2 Straight Line Displacement 13.2.1 Approximate Tracking of Straight Line by Hierarchical PID Control In this section, we assume that the angle θ remains sufficiently small, as ˙ so that, according to (13.2), we have x ≈ ξ and well as its angular speed θ, z ≈ −R. We want to follow a straight line starting from the initial position ξi = xi ,
ζi = −Ri
at time ti , with ˙ i) = 0 , θ(ti ) = θ(t
˙ i ) = x(t ξ(t ˙ i) = 0 ,
˙ i) = 0 ˙ i ) = −ζ(t R(t
and arriving at the final position ξf = xf ,
ζf = −Rf
at time tf , with ˙ f) = 0 , θ(tf ) = θ(t
˙ f ) = x(t ξ(t ˙ f) = 0 ,
˙ f) = 0 ˙ f ) = −ζ(t R(t
(see figure 13.2), with velocities x˙ and R˙ small enough (quasi-static displacement). Denoting by T = tf − tf the transfer duration, the reference trajectory of the load is given by: 5 2 3 4 126 − 420 Tt + 540 Tt − 315 Tt + 70 Tt P (t) = Tt ξref (t) = xi + (xf − xi )P (t) (13.5) ξref (t) − xi ζref (t) = −Ri − (Rf − Ri ) , xf − xi The reference trajectory of the cart and cable length are thus, according to the small angle assumption, x∗ (t) = ξref (t) and R∗ (t) = −ζref (t).
13.2 Straight Line Displacement
Initial position
283
Final position
ξ=xf ζ = -R f t =T θ=0 ξ =xi t = 0 ζ = - Ri θ=0
Fig. 13.2 Load displacement in straight line
The duration T may be tuned to make the deviations x − ξ and ζ + R sufficiently small. In the reminder of this section, the end point and final point are set to: Ri = 5m,
Rf = 3m,
xi = 0m,
xf = 15m.
To track the trajectory (13.5) we introduce the following high-gain PID design for F and C: M ((x˙ − x˙ ∗ ) + K1 (x − x∗ )) , εx J ρ + mρ C = mgρ + (R˙ − R˙ ∗ ) + K2 (R − R∗ ) εR F =−
(13.6)
where K1 and K2 are tunable gains and εx and εR are tunable time constants, but otherwise assumed to be small enough. This choice is motivated by the fact that, in a neighborhood of the equilibrium point x = xf in , R = Rf in and θ = θf in = 0, the x- and R-dynamics are almost decoupled: combining (13.4) and (13.6), with εx = εR = ε for simplicity’s sake, and denoting by δx = x − x∗ , δR = R − R∗ , we get the closed-loop system:
284
13 Crane Control
ε ˙ sin θ + sin θ g + 1 Γ2 R˙ − J2 Γ1 x˙ J1 α(R, θ, θ) µ(θ) mρ m i J M h i J2 sin θ h ˙ 2 1 ˙ + δR + K2 δR − δx + K1 δx µ(θ) µ(θ) ε 1 sin θ 2 ˙ ¨ ˙ εR = M1 α(R, θ, θ) − (M1 + sin θ) g + Γ2 R + Γ1 x˙ µ(θ) mρ m h i h i −(M1 + sin2 θ)J2 δ˙R + K2 δR + M1 sin θ δ˙x + K1 δx ) ε cos θ ˙ sin θ + sin θ g + 1 Γ2 R˙ − J2 Γ1 x˙ J1 α(R, θ, θ) εθ¨ = − Rµ(θ) mρ m ε ˙ ˙ 2Rθ + g sin θ − R i J M cos θ h i J2 M1 sin θ cos θ h ˙ 2 1 − δR + K2 δR + δ˙x + K1 δx ) Rµ(θ) Rµ(θ)
ε¨ x=
Therefore, for ε small enough, in a neighborhood of θ = 0, an approximation of the slow dynamics of this closed-loop system at the order 0 in ε is given by δ˙x + K1 δx = 0, δ˙R + K2 δR = 0 (see section 3.3). Moreover, K1 and K2 are chosen positive and such that the tangent approximation of the closed-loop system at the equilibrium point x = xf in , R = Rf in , θ = 0, is exponentially stable. For instance, if we take ε = 0.01 and K1 = K2 = 20, the corresponding eigenvalues are −27.64 −72.37 −1.710−7 + 0.58i −1.710−7 − 0.58i −27.60 −72.46 which proves that, if θ can be kept small enough during the displacement, the end point is a locally exponentially stable equilibrium point, though poorly damped in view of the pair of conjugated eigenvalues with real part of order 10−7 . This is shown in simulation on Figure 13.3 for a transfer duration of 10s. Note that the force and torque controls are saturated at the initial time and that the maximum value of θ is 0.2745rd (≈ 16◦ ). A simulation in the same conditions but with T = 8s is shown in Figure 13.4. The force and torque controls are again saturated at the initial time and the maximum value of θ is now 0.6958rd (≈ 40◦ ). Though the motion is still stable, it is significantly deteriorated and the damping is too slow.
vertical displacement (m)
285
horizontal load position 1
Force (N)
15 10 5 0 −5
0
5
10
0.5
0 −0.5 −1
15
x 10
0
5
10
time (s)
time (s)
vertical load position
torque applied to the winch(solid), reference (dashed) and error between torque and reference (dotted)
−2.5
15
10000
−3 −3.5 −4 −4.5 −5 −5.5
Force applied to the cart (solid), reference (dashed) and error between force and reference (dotted)
5
20
torque (kg.m2)
vertical displacement (m)
horizontal displacement (m)
13.2 Straight Line Displacement
0
5
10
8000 6000 4000 2000 0 −2000
15
0
5
10
15
time (s)
time (s) load geometric displacement −2.5 −3 −3.5 −4 −4.5 −5 −5.5 −2
0
2
4
6
8
10
12
14
16
horizontal displacement (m)
vertical displacement (m)
horizontal load position 1
Force (N)
15 10 5 0 −5
0
5
10
0.5 0 −0.5 −1
15
x 10
0
5
10
time (s)
time (s)
vertical load position
torque applied to the winch(solid), reference (dashed) and error between torque and reference (dotted)
−2
15
10000
−3 −4 −5 −6
Force applied to the cart (solid), reference (dashed) and error between force and reference (dotted)
5
20
torque (kg.m2)
vertical displacement (m)
horizontal displacement (m)
Fig. 13.3 Straight line following with small angle approximation and T = 10s.
0
5
10
15
8000 6000 4000 2000 0 −2000
0
5
10
15
time (s)
time (s) load geometric displacement −2 −3 −4 −5 −6 −2
0
2
4
6
8
10
12
14
16
18
horizontal displacement (m)
Fig. 13.4 Straight line following with small angle approximation and T = 8s.
We finally present a simulation, still in the same conditions, with T = 6s in Figure 13.5. The motion is no more acceptable since the maximum of θ is now ≈ 90◦ .
13 Crane Control
vertical displacement (m)
horizontal load position 15
0.5
Force (N)
1
10 5 0
0
5
10
0 −0.5 −1
15
x 10
0
5
10
15
time (s)
time (s)
vertical load position
torque applied to the winch(solid), reference (dashed) and error between torque and reference (dotted)
0
10000
−1 −2 −3 −4 −5 −6
Force applied to the cart (solid), reference (dashed) and error between force and reference (dotted)
5
20
torque (kg.m2)
vertical displacement (m)
horizontal displacement (m)
286
0
5
10
15
8000 6000 4000 2000 0 −2000
0
5
10
15
time (s)
time (s) load geometric displacement 0 −1 −2 −3 −4 −5 −6
0
2
4
6
8
10
12
14
16
18
horizontal displacement (m)
Fig. 13.5 Straight line following with small angle approximation and T = 6s.
13.2.2 Straight Line Tracking Without Small Angle Approximation If, in place of the previous approximation, we compute the exact reference trajectory of x and R deduced from (5.8): ξ¨ref (t)ζref (t) x∗∗ (t) = ξref (t) − ζ¨ref (t) + g v !2 u u ξ¨ref (t)ζref (t) t ∗∗ 2 R (t) = ζref (t) + ζ¨ref (t) + g
(13.7)
where ξref and ζref are still given by (13.5), and we replace the controller (13.6) by the following one M ((x˙ − x˙ ∗∗ ) + K1 (x − x∗∗ )) , εx J ρ + mρ + (R˙ − R˙ ∗∗ ) + K2 (R − R∗∗ ) εR
F = Fref − C = Cref
(13.8)
We keep the same values of εx , εR , K1 and K2 as in the previous section. We now prove the local stability of the closed-loop system around the endpoint, following Kiss et al. [2000a].
13.2 Straight Line Displacement
287
Theorem 13.1. The end point is a semi-globally1 stable equilibrium of the closed-loop system. Proof. Let us consider the following function : 1 1 J ˙ 2 1 ˙2 ˙ 2 R + m ξ + ζ + mgR(1 − cos θ) M x˙ 2 + 2 2 ρ2 2 1 M K1 1 J + mρ 2 2 (x − x∗∗ (t)) + (R − R∗∗ (t)) + 2 εx 2 ρ2 ε R
V (t, X) =
(13.9)
˙ ˙ θ, θ). where we have denoted by X = (x, x, ˙ R, R, We have V (t, X) ≥ 0 for all t, X since the sum of squares is non negative and the only non quadratic term mgR(1 − cos θ) is also non negative since R ≥ 0. The level set S(t, C) = {X ∈ R2 × ([0, R0 ] × R) × ([0, 2π] × R) |V (t, X) ≤ C}, for all t ≥ ti and 0 < C < ∞, is bounded. Clearly, if S(t, C) was unbounded, at least one of the components of X could be infinite. But it is impossible that one of the components x, x, ˙ R, R˙ be infinite without implying that the corresponding squared term in V is infinite and thus V itself too, which is absurd since V ≤ C. Moreover θ ∈ [0, 2π] is bounded by construction. It remains to prove that θ˙ is bounded. Following the same argument as before, ˙ we easily deduce that ξ˙ and ζ˙ are bounded. But ζ˙ = −R˙ cos θ + Rθsinθ with x, R, R˙ and θ bounded, and R ≥ 0, immediately yields the boundedness of ˙ hence the result. θ, An easy but lengthy computation shows that 2 J + mρ ˙ Γ2 ˙ 2 M 2 R + R − R˙ ∗∗ (x˙ − x˙ ∗∗ ) + 2 V˙ (t, X) = − Γ1 x˙ 2 + ρ εx ρ εR M ∗∗ ∗∗ ∗∗ − x˙ (K1 (x − x ) + (x˙ − x˙ )) εx J + mρ ˙ ∗∗ − 2 R K2 (R − R∗∗ ) + (R˙ − R˙ ∗∗ ) ρ εR (13.10) Therefore, since we have x˙ ∗∗ (t) = R˙ ∗∗ (t) = 0 for all t ≥ tf , we get J + mρ ˙ 2 M Γ2 2 ˙ + 2 R V (t, X) = − Γ1 + x˙ + εx ρ ρ εR (13.11) ≤ 0 , for all t ≥ tf . We have thus proven that we can apply LaSalle’s invariance principle to V (see Theorem 3.3 of section 3.2.4): for every initial condition in S(t, C) with t ≥ tf and arbitrary C > 0, the state of the closed-loop system (13.4) with (13.8) converges to the largest invariant subset W contained in V˙ = 0, 1 this means that every compact neighborhood contained in R2 ×([0, R ] × R)×([0, 2π] × R) 0 is positively invariant and that the state starting from this subset asymptotically converges to the equilibrium end point
288
13 Crane Control
which, as a consequence of (13.11), is contained in the set x˙ = R˙ = 0 for all t ≥ tf . Since x˙ = R˙ = 0 for all t ≥ tf , x and R must remain constant. Let us ¯ these constants, and by F¯ and C¯ the corresponding limit denote by x ¯ and R force and torque, namely M K1 (¯ x − x∗∗ ), F¯ = − εx
(J + mρ)K2 ¯ C¯ = mgρ + (R − R∗∗ ) ρεR
¨ = 0, we But, according to the dynamics, using (13.1) with x˙ = x ¨ = R˙ = R get C¯ F¯ g cos θ sin θ = − , g cos θ = m mρ We immediately deduce that since F¯ and C¯ are constant, θ must be equal to ¯ and that a constant too, say θ, C¯ F¯ M K1 g cos θ¯ sin θ¯ = sin θ¯ = − = − (¯ x − x∗∗ ). mρ m εx
(13.12)
The fact that θ = θ¯ implies that θ˙ = θ¨ = 0 and, using the last equation of (13.1), we get −g sin θ¯ = 0, or θ¯ = 0 mod π. From (13.12), we immediately ¯ C ¯ = R∗∗ , get that x ¯ = x∗∗ and that g cos θ¯ = g = mρ which also proves that R which achieves to prove that the largest invariant subset contained in V˙ = 0 is reduced to the equilibrium point x = x∗∗ , R = R∗∗ and θ = 0. Let us now illustrate this result by the next simulations. If we apply the controller (13.8) in place of (13.6) for the same duration T = 6s, we obtain a motion which is smoother that the one obtained in the previous section for T = 10s, with oscillation amplitude at the end divided by 2, though almost twice as fast. Remark that the force and torque are saturated at start, but don’t significantly perturb the motion. Note also that the error on the friction coefficients explains the torque deviation of Figure 13.6, bottom right, automatically compensated in closed-loop. The same simulation is presented for T = 4s in Figure 13.7. Though the motion is accelerated by a factor of 33%, no significant deterioration is noticed. However, since the horizontal and vertical accelerations are larger at start, the force and torque are saturated on longer periods at start. If the total duration is decreased to T = 3.5s (Figure 13.8), the accelerations become so large that they are saturated half of the time at start and destabilize the motion. Nevertheless, the above simulations show that using the flatness-based reference trajectories (13.7) allows to significantly accelerate the motion without amplifying the oscillations and that this design is robust (50% error on the
vertical displacement (m)
289
horizontal load position 1
Force (N)
15 10 5 0
0
5
10
0.5 0 −0.5 −1 −1.5
15
x 10
0
5
10
time (s)
time (s)
vertical load position
torque applied to the winch(solid), reference (dashed) and error between torque and reference (dotted)
−2.5
15
8000
−3 −3.5 −4 −4.5 −5 −5.5
Force applied to the cart (solid), reference (dashed) and error between force and reference (dotted)
5
20
torque (kg.m2)
vertical displacement (m)
horizontal displacement (m)
13.2 Straight Line Displacement
0
5
10
6000 4000 2000 0 −2000
15
0
5
10
15
time (s)
time (s) load geometric displacement −2.5 −3 −3.5 −4 −4.5 −5 −5.5
0
2
4
6
8
10
12
14
16
horizontal displacement (m)
vertical displacement (m)
horizontal load position 1
Force (N)
15 10 5 0
0
5
10
0.5 0 −0.5 −1 −1.5
15
x 10
0
5
10
time (s)
time (s)
vertical load position
torque applied to the winch(solid), reference (dashed) and error between torque and reference (dotted)
−2.5
15
8000
−3 −3.5 −4 −4.5 −5 −5.5
Force applied to the cart (solid), reference (dashed) and error between force and reference (dotted)
5
20
torque (kg.m2)
vertical displacement (m)
horizontal displacement (m)
Fig. 13.6 Straight line following without small angle approximation and T = 6s.
0
5
10
15
6000 4000 2000 0 −2000
0
5
10
15
time (s)
time (s) load geometric displacement −2.5 −3 −3.5 −4 −4.5 −5 −5.5
0
2
4
6
8
10
12
14
16
horizontal displacement (m)
Fig. 13.7 Straight line following without small angle approximation and T = 4s.
masses, inertia and friction coefficients) if we except the position and velocity errors which must remain very small.
13 Crane Control
vertical displacement (m)
horizontal load position
Force applied to the cart (solid), reference (dashed) and error between force and reference (dotted)
5
20
1.5
x 10
1
Force (N)
15 10 5
0.5 0 −0.5 −1
0
0
5
10
−1.5
15
5
10
time (s)
vertical load position
torque applied to the winch(solid), reference (dashed) and error between torque and reference (dotted)
−2.5
15
10000
−3 −3.5 −4 −4.5 −5 −5.5
0
time (s)
torque (kg.m2)
vertical displacement (m)
horizontal displacement (m)
290
0
5
10
15
5000
0
−5000
0
5
10
15
time (s)
time (s) load geometric displacement −2.5 −3 −3.5 −4 −4.5 −5 −5.5
0
2
4
6
8
10
12
14
16
18
horizontal displacement (m)
Fig. 13.8 Straight line following without small angle approximation and T = 3.5s.
13.3 Obstacle Avoidance We now want to avoid an obstacle located in the middle of the load trajectory as shown in Figure 13.9. More precisely, we want the load to follow a ξ +ξ polynomial trajectory whose maximum is ( f 2 i , 2ζf − ζi ). Final position
Initial position
Obstacle
t= 0
{
ξ = xi ζ = - Ri θ= 0
t= T
Fig. 13.9 Polynomial trajectory for obstacle avoidance.
One can verify that the following polynomial trajectory:
{
ξ= xf ζ = - Rf θ= 0
13.3 Obstacle Avoidance
291
ξref (t) − ξi ζref (t) = ζi + (ζf − ζi ) · ξf − ξi 2 ! ξref (t) − ξi ξref (t) − ξi +4 · 9 − 12 ξf − ξi ξf − ξi
(13.13)
with ξref given by (13.5), satisfies these requirements. This new reference trajectory will be used in this section instead of the straight line (13.5).
13.3.1 Tracking With Small Angle Approximation As in section 13.2.1, assuming that the angle θ remains small, the reference trajectories of x and R are given by x∗ (t) = ξref (t),
R∗ (t) = −ζref (t)
vertical displacement (m)
horizontal load position 1
Force (N)
15 10 5 0 −5
0
5
10
0.5 0 −0.5 −1
15
x 10
0
5
10
time (s)
time (s)
vertical load position
torque applied to the winch(solid), reference (dashed) and error between torque and reference (dotted)
0
15
10000
−1 −2 −3 −4 −5 −6
Force applied to the cart (solid), reference (dashed) and error between force and reference (dotted)
5
20
torque (kg.m2)
vertical displacement (m)
horizontal displacement (m)
with ξref given by (13.5) and ζref by (13.13). The feedback is again given by (13.6) with the same gains as before. Note that the local stability of the endpoint remains unchanged.
0
5
10
15
8000 6000 4000 2000 0 −2000
0
5
10
15
time (s)
time (s) load geometric displacement 0 −1 −2 −3 −4 −5 −6 −2
0
2
4
6
8
10
12
14
16
horizontal displacement (m)
Fig. 13.10 Obstacle avoidance with small angle approximation and T = 10s.
The motion corresponding to a duration T = 10s is presented in Figure 13.10. The same remarks on too slow damping and saturation at start
292
13 Crane Control
vertical displacement (m)
horizontal load position 1
Force (N)
15 10 5 0 −5
0
5
10
0.5 0 −0.5 −1
15
x 10
0
5
10
time (s)
time (s)
vertical load position
torque applied to the winch(solid), reference (dashed) and error between torque and reference (dotted)
0
15
10000
−1 −2 −3 −4 −5 −6
Force applied to the cart (solid), reference (dashed) and error between force and reference (dotted)
5
20
torque (kg.m2)
vertical displacement (m)
horizontal displacement (m)
as in section 13.2.1 apply, as well as for T = 8s (Figure 13.11). Again, for T = 6s, the motion becomes unstable (Figure 13.12).
0
5
10
8000 6000 4000 2000 0 −2000
15
0
5
10
15
time (s)
time (s) load geometric displacement 0 −1 −2 −3 −4 −5 −6 −2
0
2
4
6
8
10
12
14
16
18
horizontal displacement (m)
vertical displacement (m)
horizontal load position 15
0.5
Force (N)
1
10 5 0
0
5
10
0 −0.5 −1
15
x 10
0
5
10
time (s)
time (s)
vertical load position
torque applied to the winch(solid), reference (dashed) and error between torque and reference (dotted)
0
−2 −3 −4 −5 0
5
10
15
5000
0
−5000
0
5
10
time (s)
time (s) load geometric displacement 0 −1 −2 −3 −4 −5 −6
15
10000
−1
−6
Force applied to the cart (solid), reference (dashed) and error between force and reference (dotted)
5
20
torque (kg.m2)
vertical displacement (m)
horizontal displacement (m)
Fig. 13.11 Obstacle avoidance with small angle approximation and T = 8s.
0
2
4
6
8
10
12
14
16
18
horizontal displacement (m)
Fig. 13.12 Obstacle avoidance with small angle approximation and T = 6s.
15
13.3 Obstacle Avoidance
293
13.3.2 Tracking Without Small Angle Approximation
vertical displacement (m)
horizontal load position 1
Force (N)
15 10 5 0
0
5
10
0.5 0 −0.5 −1 −1.5
15
x 10
0
5
10
time (s)
time (s)
vertical load position
torque applied to the winch(solid), reference (dashed) and error between torque and reference (dotted)
−1
15
8000
−2 −3 −4 −5 −6
Force applied to the cart (solid), reference (dashed) and error between force and reference (dotted)
5
20
torque (kg.m2)
vertical displacement (m)
horizontal displacement (m)
We now use the reference trajectory ξref given by (13.5) and ζref by (13.13), x∗∗ and z ∗∗ being deduced from (13.7). The feedback is again (13.8) with these references. Note, as before, that Theorem stabcrane-thm is still valid since it doesn’t depend on the reference trajectory, the only needed property being that it arrives at rest. As in the case of straight line tracking, the quality of tracking is now considerably improved: for T = 6s (Figure 13.13), the swing amplitude at the end is at least twice as small as the one with the previous controller for T = 10s. The duration T can be decreased to 5s without noticeable drawback(Figure 13.14). Only when T ≤ 4.3s, the intitial accelerations are too large compared to their saturation values and the motion becomes inacceptable (Figure 13.15).
0
5
10
15
6000 4000 2000 0 −2000
0
5
10
15
time (s)
time (s) load geometric displacement −1 −2 −3 −4 −5 −6
0
2
4
6
8
10
12
14
16
horizontal displacement (m)
Fig. 13.13 Obstacle avoidance without small angle approximation and T = 6s.
We therefore conclude, as in the straight line section, that using the flatness-based reference trajectories makes possible a significant decrease of the transfer duration without amplifying the oscillations and in a robust way, except for the position and velocity errorsl. This shows that particular efforts must be made on the construction of filters or observers to reduce the observation errors in order to improve the robustness.
13 Crane Control
vertical displacement (m)
horizontal load position 1
Force (N)
15 10 5 0
0
5
10
0.5 0 −0.5 −1 −1.5
15
x 10
0
5
10
time (s)
time (s)
vertical load position
torque applied to the winch(solid), reference (dashed) and error between torque and reference (dotted)
0
15
8000
−1 −2 −3 −4 −5 −6
Force applied to the cart (solid), reference (dashed) and error between force and reference (dotted)
5
20
torque (kg.m2)
vertical displacement (m)
horizontal displacement (m)
294
0
5
10
15
6000 4000 2000 0 −2000
0
5
10
15
time (s)
time (s) load geometric displacement 0 −1 −2 −3 −4 −5 −6
0
2
4
6
8
10
12
14
16
horizontal displacement (m)
vertical displacement (m)
horizontal load position 2
Force (N)
15 10 5 0
0
5
10
1 0 −1 −2 −3
15
0
5
10
time (s)
vertical load position
torque applied to the winch(solid), reference (dashed) and error between torque and reference (dotted) x 10
0 −2 −4
5
10
15
1 0 −1 −2
0
5
10
time (s)
time (s) load geometric displacement 2 0 −2 −4 −6
0
2
4
6
8
10
12
15
4
2
0
x 10
time (s)
2
−6
Force applied to the cart (solid), reference (dashed) and error between force and reference (dotted)
5
20
torque (kg.m2)
vertical displacement (m)
horizontal displacement (m)
Fig. 13.14 Obstacle avoidance without small angle approximation and T = 5s.
14
16
18
horizontal displacement (m)
Fig. 13.15 Obstacle avoidance without small angle approximation and T = 4.3s.
15
Chapter 14
Automatic Flight Control Systems
The present chapter1 is devoted to the flatness-based control design for one of the major control applications of the 20th century, namely flight control. Automatic Flight Control Systems (AFCS) have been, since the 60’s, a major field of application of control methods. The main drawback of most current AFCSs is that they follow the principle of one function–one controller. In each case, pitch attitude control, wing leveler, side-slip suppressor, landing, terrain-following, target tracking, etc., a different controller is associated. These controllers may be based on different models, i.e., linear approximation along the trajectory to be followed, linear or nonlinear input-output description, the output of which is chosen such that its regulation corresponds to the control objective (see e.g. Etkin [1982], McLean [1990], McRuer et al. [1973], Vukobratovi´c and Stoji´c [1988], Wanner [1984]). On advanced autopilots, the number of possible combinations of functions and reference trajectories is large. Moreover, strong limitations must be imposed on both the maneuvers and their sequencing rate, which must be kept slow enough to avoid instabilities. Indeed, as far as linear techniques are concerned, one has to restrict to sequences of trajectories for which the tangent approximation is nearly time invariant (pieces of straight lines, circles, or helices with slowly varying altitude, etc.). On the other hand, in most nonlinear approaches, the control objective is translated into an output variable whose reference trajectory, generally constant, is assumed to satisfactorily describe the maneuver. In some cases, however, the stability of the overall closed-loop dynamics causes difficulties. In most cases, designing the switches from one function to another requires a lot of attention. Furthermore, since the highest level loop is the pilot himself, the switching policy may lead to complex tradeoffs in order to take into account the pilot’s online queries. New complex tasks such as collision avoidance, or, more specifically in the case of military or remotely operated aircraft, terrain following or orientation control are needed to complement the classical ones. Hence, a simpler control 1
Work done by Ph. Martin and the author, in a collaboration with Sextant Avionique
J. Lévine, Analysis and Control of Nonlinear Systems, Mathematical Engineering, DOI 10.1007/978-3-642-00839-9_14, © Springer-Verlag Berlin Heidelberg 2009
295
296
14 Automatic Flight Control Systems
architecture is required to both improve reliability and decrease development costs. To this aim, we propose a single controller comprised of a universal reference trajectory generator and a fixed tracking loop. In addition, general tracking tasks, for which linearization about operating points is insufficient, require that the main nonlinearities of the system are properly taken into account. We show that such a controller can be designed thanks to the (almost) flatness property of generic aircraft models. We briefly describe its construction, performances and some perspectives.
L
xB V
p β
α
F
M q yB
Z Y
X G
xw
χ
γ
yw y1 mg
x1 x0 y0
µ z2
zw z0
r zB N
Fig. 14.1 Aircraft coordinate frames, forces and moments
14.0.3 Generic Aircraft Model The aircraft we consider is generic in the sense that, as in most civil and military ones, it is actuated through its thrust and deflection surface positions, namely the elevator, ailerons and rudder, in the 3 directions. A complete discussion of the model can be found in Martin [1992, 1996]. We partly follow Charlet et al. [1991], Vukobratovi´c and Stoji´c [1988], Wanner [1984] (see also Etkin [1982], McLean [1990], McRuer et al. [1973]). Aircraft dynamics are generally described by a set of 12 variables: the 3 components of the position of the center of mass, 3 variables for the velocity
14 Automatic Flight Control Systems
297
vector, 3 angular positions describing the aircraft attitude, and 3 variables for the corresponding angular velocities. There are many possible choices, depending on the coordinate frames where positions, velocities, forces and moments are expressed. Here, we are using (see Figure 14.1): • • • •
x, y, z, components of the center of mass in the Earth axes, V, α, β, velocity, angle of attack and side-slip angle in the body axes, χ, γ, µ, orientation of the wind axes with respect to the Earth axes, p, q, r, components of the angular velocity in the body axes.
The aircraft is conventionally actuated by four independent controls: the thrust F and the positions (δl , δm , δn ) of the deflection surfaces. We may also want to include the servo model that produce the required deflection positions, the inputs of which are denoted (δ˜l , δ˜m , δ˜n ). The resultant of the external forces, expressed in the wind axes, is denoted by (X, Y, Z). It is equal to the sum of the aerodynamic, gravitational (weight) and propulsive (thrust) forces: cos(α + ε) cos β −Cx X Y = 1 ρSV 2 Cy + F cos(α + ε) sin β 2 − sin(α + ε) −Cz Z | {z } {z } | Aerodynamic forces Thrust (14.1) − sin γ + mg cos γ sin µ . cos γ cos µ {z } | Weight The dimensionless so-called aerodynamic coefficients Cx , Cy , Cz (which are in fact functions of all the configuration variables, as detailed below) are experimentally determined in a wind tunnel (see Vukobratovi´c and Stoji´c [1988] for an example). They are naturally expressed in the wind axes, in which the measurements are carried out, which justifies our (quite unusual) choice of coordinate frame. The air density is denoted by ρ. The remaining constants are the reference surface S and the angle ε between the axis of the propeller and the axis GxB (see figure 14.1) in the symmetry plane of the aircraft. Similarly, let (L, M, N ) denote the components, in the body axes, of the sum of the external torques, generated by the external forces about the center of mass: L aCl 0 M = 1 ρSV 2 bCm + F d , (14.2) 2 N cCn 0 where Cl , Cm , Cn are dimensionless aerodynamic coefficients (same remark as above) and a, b, c, d are constant (reference lengths).
298
14 Automatic Flight Control Systems
It is commonly assumed that Cx , Cy , Cz , Cl , Cm , Cn depend on the trans˙ angular velocity lational velocity (i.e., V, α, β) and acceleration (V˙ , α, ˙ β), (p, q, r), position of the deflection surfaces (δl , δm , δn ), and Mach number (i.e., V /c, where c is the velocity of sound in air). They vary a lot with the Mach number during transsonic flight. A crucial remark for the design of our control law will be that, for nearly every aircraft, the dependence of Cx , Cy , Cz ˙ p, q, r and δl , δm , δn is weak. In the same way, though it is not as on V˙ , α, ˙ β, ˙ p, q, r is also weak. Of important, the dependence of Cl , Cm , Cn on V˙ , α, ˙ β, course, on the contrary, Cl , Cm , Cn strongly depend on the deflection surface positions δl , δm , δn . Thanks to this dependence, the moments, and hence the aircraft attitude, can be controlled. Applying Newton’s Second Law, we get x˙ = V cos χ cos γ y˙ = V sin χ cos γ z˙ = −V sin γ X V˙ = m Z α˙ cos β = −p cos α sin β + q cos β − r sin α sin β + mV Y β˙ = p sin α − r cos α + mV Y sin µ Z cos µ γ˙ = − − mV mV Y cos µ Z sin µ χ˙ cos γ = − mV mV Y cos µ tan γ cos β µ˙ cos β = p cos α + r sin α + mV Z(sin µ tan γ cos β + sin β) − mV p p L p˙ I q˙ = M − q ∧ I q r r N r˙
(14.3)
where ∧ denotes the wedge product of 3-vectors, with the exterior forces X, Y, Z given by (14.1) and the torques L, M, N given by (14.2). These equations must be completed by the servoactuator dynamics, whose slowest part, though much faster than (14.3), may be represented by: ˙ ˜ δl δl δl ε2 δ˙m = A δm + δ˜m δn δ˙n δ˜n
(14.4)
where ε represents the order of magnitude between the fastest time constants of (14.3) and these of (14.4), and where δ˜l , δ˜m , δ˜n are the actual controls. The matrix A is stable. It may be noted, as will be detailed below, that the time
14 Automatic Flight Control Systems
299
constants corresponding to the angular acceleration subsystem of (14.3) (last equation of (14.3)) are of order ε compared to these of the remaining part of (14.3), and that those of (14.4) are in turn of order ε compared to these of the angular acceleration subsystem. This explains why in (14.4) the scaling ε2 is needed. For the sake of simplicity, we do not consider here the dynamical model relating the thrust F and the throttle.
14.0.4 Flatness Based Autopilot Design Assume that the aerodynamic coefficients Cx , Cy , Cz depend only on (z, V, α, β), the altitude, Mach number, angle of attack, and side-slip angle respectively. Assume furthermore that Cl , Cm , Cn depend only on (z, V, α, β, δl , δm , δn ), namely on the positions of the deflection surfaces in addition to the aforementioned variables. This means in particular that we have neglected the naturally small contribution of the variables ˙ p, q, r, δl , δm , δn ) in Cx , Cy , Cz , and of (V˙ , α, ˙ p, q, r) in Cl , Cm , Cn . (V˙ , α, ˙ β, ˙ β, Following Martin [1996], we call these approximated coefficients and the corresponding model (14.3), (14.4) ideal. We first sketch the construction of a trajectory generator for the ideal aircraft and then of a unique controller for the real aircraft. This controller will be independent of the trajectories to be tracked.
14.0.4.1 Flatness of the Ideal Aircraft Model Let us show that all the trajectories of all the variables of the ideal aircraft model are parametrized by (x, y, z, β), and a finite number of their time derivatives. In other words, given a smooth (sufficiently continuously differentiable) arbitrary trajectory for the quadruple (x, y, z, β), one can uniquely deduce the trajectory of each variable of the system, including the control inputs, without integrating the system differential equations. It means that the ideal aircraft is flat with (x, y, z, β) as a flat output (see Fliess et al. [1995, 1999], Martin [1992, 1996]). More precisely, let us show that all the system variables (x, y, z, V, γ, χ, µ, F, α, β, p, q, r, δl , δm , δn , δ˜l , δ˜m , δ˜n ) can be expressed as functions of (x, . . . , x(5) , y, . . . , y (5) , z, . . . , z (5) , β, . . . , β (3) ), where the superscript (i) stands for the ith order time derivative, i ∈ N, of the corresponding function. Inverting the 3 first equations of (14.3), we get V, γ, χ as functions of x, x, ˙ y, y, ˙ z, z: ˙
300
14 Automatic Flight Control Systems 2
2
V = x˙ + y˙ + z˙
2
12
,
γ = arctan
!
z˙
,
1
(x˙ 2 + y˙ 2 ) 2
y˙ χ = arctan . x˙
Differentiating them, and inverting the equations of V˙ , χ, ˙ γ, ˙ we obtain, using formulas (14.1) and (14.2) with the ideal coefficients, that F, α, µ are functions of x, x, ˙ x ¨, y, y, ˙ y¨, z, z, ˙ z¨, β (note that these functions cannot be computed explicitly in general and may be obtained by numerical approximation). Differentiating again, we find that p, q, r are functions of x, x, ˙ x ¨, x(3) , y, y, ˙ y¨, y (3) , z, z, ˙ z¨, z (3) , β, β˙ and that δl , δm , δn (3) (4) (3) (4) ˙ β. ¨ Fiare functions of x, x, ˙ x ¨, x , x , y, y, ˙ y¨, y , y , z, z, ˙ z¨, z (3) , z (4) , β, β, ˜ ˜ ˜ nally, by the same technique, it results that δl , δm , δn are functions of ˙ β, ¨ β (3) . x, x, ˙ x ¨, x(3) , x(4) , x(5) , y, y, ˙ y¨, y (3) , y (4) , y (5) , z, z, ˙ z¨, z (3) , z (4) , z (5) , β, β, This construction is summarized in the following diagram, where the left side column contains the flat output components, the middle column the state variables, and the right side column the input variables: d dt (V, γ, χ) (x, y, z) −→ d ↓ dt β −→ (α, µ) −→ d ↓ dt (p, q, r) d ↓ dt
F (14.5)
d
dt (δl , δm , δn ) −→ (δ˜l , δ˜m , δ˜n ).
14.0.4.2 Trajectory Generation As a consequence of flatness, any trajectory of the ideal aircraft will be easily generated via the construction of a smooth curve t 7→ (x(t), y(t), z(t), β(t)): given suitable initial and final conditions (positions, velocities, accelerations, jerks,. . . ) and possibly saturation constraints on the path curvature, velocity, acceleration, etc., it may be constructed by interpolation. Then the state and input variables are recovered according to the above calculations, without need to integrate the system. For instance, in the case where we want the side-slip angle β to remain equal to 0, the trajectories for x, y, and z may be represented by three 7th degree polynomials with respect to time, with possible simplifications for simple maneuvers as those considered in classical flight control systems. More details are given in Martin [1992, 1996].
14 Automatic Flight Control Systems
301
14.0.4.3 Theoretical Comparison Between Classical AFCS and Flatness-based Designs Let us sketch the differences between our approach and the classical ones on the simple example of a steady turn. A steady turn consists in setting V˙ = α˙ = β˙ = 0, p˙ = q˙ = 0 and r˙ equal to a constant. The corresponding forces and torques are immediately deduced from these conditions. The reference trajectory is then computed by connecting the corresponding circle to the current aircraft position by drawing a straight line along the current velocity vector (assuming that it is constant or almost constant), that touches tangentially the circle (see Fig. 14.2). However, at the junction point, the acceleration may jump, thus creating a perturbation to be attenuated by the controller. It can also be filtered to avoid a too shaky behavior.
.
tangent contact L xB
. final position
.
radius of reference giration
centre of giration
V
M p
β
q yB
α
Z Y
F X
G
initial position mg
r zB
N
Fig. 14.2 Steady turn with tangent junction
L xB
M p
q yB
Z
xref, yref, zref : 7th degree polynomials V X ref : 3rd degree polynomial final position initial position
Y
F G
mg
r zB
N
Fig. 14.3 Flatness based reference trajectory
In our approach, we only need specifying the initial and final state, velocity, acceleration and jerk (see Fig. 14.3), and translate them into initial and final conditions for the flat output and its derivatives. We generate a flat output reference (xref , yref , zref , βref ) by polynomial interpolation with respect to time, more precisely, by interpolating this set of initial and final conditions,
302
14 Automatic Flight Control Systems
which involve the derivatives of x, y and z up to the order 3 and those of β up to the order 1. We thus end up with a 7th degree polynomial for xref , yref and zref and a 3rd degree one for βref . The resulting state and input variable reference trajectories satisfy the ideal system, or, in other words, exactly satisfy the ideal aircraft model differential equations, with an initial error which is 0 by construction, if the initial state is precisely measured. If the ideal system is not too far from reality, which we can reasonably expect, the perturbations created by the error between the ideal model and reality might be smaller than with the previous method. Therefore, we decrease the risk of saturation of the actuators, have smoother and faster responses, generating less wear, and so on. Note that this generator is not constrained to sequences of simple geometric paths, corresponding to steady dynamics and, moreover, that constraints on the velocity, acceleration, etc. can be taken into account by tuning the maneuver duration (see section 7.2.2) or, if necessary, the clock rate at which the reference trajectory is tracked (see section 8.2). Therefore, applications e.g. to terrain following or orientation control are possible in this approach.
14.0.4.4 Controller Design The flatness property is not only useful for motion planning and trajectory generation, but also for the design of a single universal controller. With this term, we mean a controller able to make the aircraft track any trajectory without reconfiguration of the variables on which we close the loop and without modification of the gains and other parameters involved in the feedback loop. Moreover, it can be synthesized as a three level cascaded PID, which is particularly surprising compared to the apparent complexity of the model2 . Recalling the hierarchical structure of (14.5), it can be interpreted in the following way: the ideal system is composed of 1. a first part consisting of the string of integrators (p, q, r, F ) −→ (α, β, µ) −→ (V, γ, χ) −→ (x, y, z)
(14.6)
where (F, p, q, r) may be considered as the control variables and where (x, y, z, β) is a flat output; note that the thrust F corresponds to a real control variable, whereas (p, q, r), the angular velocity vector, is a fictitious input, serving as an output for the subsystems described below, and indirectly controlled by their corresponding (lower level) inputs; 2. a second part, corresponding to the angular velocity dynamics, faster than the previous one, consisting of the 3 dimensional subsystem 2
Since flatness implies dynamic feedback linearization, full linearization of the system (14.3)-(14.4) can be achieved by dynamic feedback (see Charlet et al. [1991]). However, the presence of different time scales makes the corresponding feedback ill-conditioned and the above cascaded controller is more adapted to this particular structure.
14 Automatic Flight Control Systems
(δl , δm , δn ) −→ (p, q, r)
303
(14.7)
where the positions of the deflection surfaces (δl , δm , δn ) play the role of control variables that can be used in order to realize the control requirements for (p, q, r); 3. finally a third part, corresponding to the servoactuator loop, much faster than the two previous ones, constituted by the 3 dimensional local loop (δ˜l , δ˜m , δ˜n ) −→ (δl , δm , δn )
(14.8)
where (δ˜l , δ˜m , δ˜n ) are the real control variables, that can be used, indeed, to realize the requirements on the fictitious control variables (δl , δm , δn ) of the intermediate subsystem (14.7). More precisely, denoting by ξ the state vector (x, y, z, V, γ, χ, α, β, µ, F ) of the subsystem described by (14.6) and by ζ the vector (x, x, ˙ x ¨, y, y, ˙ y¨, z, z, ˙ z¨, β), it results from flatness and (14.6) that ξ and ζ are diffeomorphic and that the first nine equations of the ideal system, with the dynamic extension F˙ = F1 , are of the form: x(3) = X0 (ζ) + X1 (ζ)w y (3) = Y0 (ζ) + Y1 (ζ)w z (3) = Z0 (ζ) + Z1 (ζ)w β˙ = B0 (ζ) + B1 (ζ)w
(14.9)
0 where w = (p, q, r, F1 ) (the prime denoting transpose) and with the matrix X1 Y1 invertible (X1 , Y1 , Z1 and B1 are independent line vectors). Ξ1 = Z1 B1 Note that in w = (ω, F1 )0 , the derivative of the thrust F1 , is directly controlled, and ω = (p, q, r)0 , the angular velocity, is a fictitious control variable. One can choose w in order to track a given sufficiently differentiable reference trajectory (xref , yref , zref , βref ) with stability by feedback linearization: (3)
X0 (ζ) + X1 (ζ)w∗ = xref − Kx,0 (x − xref ) − Kx,1 (x˙ − x˙ ref ) −Kx,2 (¨ x−x ¨ref ) (3) Y0 (ζ) + Y1 (ζ)w∗ = yref − Ky,0 (y − yref ) − Ky,1 (y˙ − y˙ ref ) −Ky,2 (¨ y − y¨ref ) (3) ∗ Z0 (ζ) + Z1 (ζ)w = zref − Kz,0 (z − zref ) − Kz,1 (z˙ − z˙ref ) −Kz,2 (¨ z − z¨ref ) B0 (ζ) + B1 (ζ)w∗ = β˙ ref − Kβ (β − βref )
(14.10)
with the gains Ki,j , i = x, y, z, j = 0, 1, 2, such that the polynomials s3 + Ki,2 s2 + Ki,1 s + Ki,0 are Hurwitz, for i = x, y, z, and with Kβ > 0.
304
14 Automatic Flight Control Systems
Note that the positions, velocities and accelerations (x, x, ˙ x ¨, y, y, ˙ y¨, z, z, ˙ z¨) needed to close this loop can be obtained from gyroscopic measurements. Thus, if w∗ , satisfying (14.10), is applied to the system, the closed loop system is (3)
x(3) − xref = −Kx,0 (x − xref ) − Kx,1 (x˙ − x˙ ref ) − Kx,2 (¨ x−x ¨ref ) (3) (3) y − yref = −Ky,0 (y − yref ) − Ky,1 (y˙ − y˙ ref ) − Ky,2 (¨ y − y¨ref ) (14.11) (3) (3) z − zref = −Kz,0 (z − zref ) − Kz,1 (z˙ − z˙ref ) − Kz,2 (¨ z − z¨ref ) β˙ − β˙ ref = −Kβ (β − βref ) and is exponentially stable. In order to realize the desired angular velocity vector ω ∗ (recall that w∗ = ∗ (ω , F1∗ )), we have to compute (δl , δm , δn ), and then (δ˜l , δ˜m , δ˜n ), to make ω fastly converge to ω ∗ . We can rewrite the subsystem (14.7) as follows εω˙ = Ω0 (ζ, ω, F ) + Ω1 (ζ, ω, F )δ
(14.12)
where ε is the time scaling between the slow part (14.9) and the faster part corresponding to (14.7), where δ = (δl , δm , δn )0 , and where Ω1 is an invertible matrix for every (ζ, ω, F ) in the flight domain. It suffices then to choose δ ∗ = Ω1−1 (ζ, ω, F )(Λ(ω − ω ∗ ) − Ω0 (ζ, ω, F ))
(14.13)
with Λ an arbitrary but otherwise stable matrix, to transform (14.12) into εω˙ = Λ(ω − ω ∗ ), ensuring the desired fast convergence of ω to ω ∗ . Note that (14.13) is not a high-gain feedback. The fast rate of convergence results only from the time scaling, preserved by this feedback. Finally, it remains to compute the real servoactuator input vector δ˜∗ = ∗ ∗ ˜∗ 0 , δn ) that realizes the required deflection position δ ∗ . Rewriting (14.4) (δ˜l , δ˜m as ε2 δ˙ = Aδ + δ˜ (14.14) one can set δ˜∗ = −Aδ ∗
(14.15)
which completes our feedback design. This construction is justified in Martin [1992], using singular perturbation techniques (see also Theorems 3.8 and 3.9, and Kokotovi´c et al. [1986], L´evine and Rouchon [1994], Tikhonov et al. [1980]). Summing up, we have obtained δ˜∗ = −AΩ1−1 (ζ, ω, F ) Λ(ω − ω ∗ ) − Ω0 (ζ, ω, F ) (14.16) with ω ∗ given by (14.10). Finally, the error between the real system, with non ideal aerodynamic coefficients, and the ideal one may be seen as a perturbation that the above
14 Automatic Flight Control Systems
305
controller may naturally attenuate, as a consequence of the exponential stability. Moreover, the control law defined by (14.10), (14.16) shows a good robustness versus modelling errors and perturbations if the time scalings are preserved by the choice of (not too high) gains. In particular, the feedback formulas involve several first order partial derivatives of the aerodynamic coefficients, which are not too accurately known, for instance in transsonic flight, but without noticeable consequences on the overall performance. Let us insist on the fact that this cascaded controller, defined by (14.10), (14.13) and (14.16), and whose structure is displayed in figure 14.4, is defined for all reference trajectories that remain in the flight domain, and that its gains do not depend on the particular reference trajectory to follow.
F∗ ω∗
Feedback linearization
δ∗
angular velocities
δ∗
servos
change of coordinates
ζ,ω,F,δ
ζ,ω,F,δ
Fig. 14.4 The cascaded control architecture
14.0.4.5 The Pilot in the Loop In most control systems, wether civil or military ones, the pilot prescribes the aircraft reference trajectory to follow. The pilot enters, for instance through the instrument panel, the direction towards which the aircraft must be pointing, its velocity, and various angles describing the aircraft’s attitude, in particular the angle of attack αand the side-slip angle β, as well as several rates describing the desired path. These indications are used to compute the next piece of trajectory to follow during a given interval of time. The authority allocation between the pilot and the automatic controller remains one of the most difficult questions: when and in which circumstances can the pilot enforce the autopilot to modify the current reference trajectory? Clearly, this external loop might sometimes have destabilizing effects since if
306
14 Automatic Flight Control Systems
the pilot updates the trajectory at a faster rate than the aircraft’s response, the servoactuators will have more and more difficulties to follow their reference and, the error increasing, they may soon be saturated, sometimes switching the controller to an emergency mode. The structure of the above controller is well adapted to design this external loop for at least two reasons: 1. the pilot inputs interact with the internal loops only through the trajectory generator; 2. the time constants of the internal loops being fixed independently of the maneuver, the rate at which the pilot inputs are updated may be chosen slower than the slowest closed-loop time constant, to prevent the controller from injecting too fast dynamics in the slow ones, but otherwise fast enough compared to the pilot’s reactions. The reference trajectory is thus refreshed by computing at each step a new piece of reference trajectory, according to the pilot’s indications, starting from the current aircraft flight conditions, and without interfering with the inner loops. For obvious reasons, the same technique may also be used in remote operation mode. To conclude this section, let us note that such a controller might also provide important simplifications concerning failure detection aspects. Comparable approaches may be used for other types of aircraft such as Vertical Take-Off and Landing aircraft Fliess et al. [1999] and helicopters (see M¨ ullhaupt et al. [1997, 1999, 2008] for example).
References
307
References R. Abraham and J. Marsden. Foundations of Mechanics. Benjamin/Cummings Pub. Co., Reading Mass., 2nd edition, 1978. R. L. Anderson and N. H. Ibragimov. Lie-B¨ acklund Transformations in Applications. SIAM, Philadelphia, 1979. B. D’ Andr´ea-Novel and J. L´evine. Modelling and nonlinear control of an overhead crane. In M.A. Kashoek, J.H. van Schuppen, and A.C.M. Rand, editors, Robust Control of Linear and Nonlinear Systems, MTNS’89, volume II, pages 523–529. Birkh¨ auser, Boston, 1990. D.V. Anosov and V.I. Arnold. Dynamical Systems, I., volume 1 of Encyclopaedia of Mathematical Sciences. Springer-Verlag, New York, 1980. A.C. Antoulas. On canonical forms for linear constant systems. Int. J. Control, 33(1):95–122, 1981. E. Aranda-Bricaire, C.H. Moog, and J.-B. Pomet. A linear algebraic framework for dynamic feedback linearization. IEEE Trans. Automat. Contr., 40(1):127–132, 1995. ´ V.I. Arnold. Equations Diff´erentielles Ordinaires. MIR, Moscou, 1974. ´ V.I. Arnold. Chapitres Suppl´ementaires de la Th´eorie des Equations Diff´erentielles Ordinaires. MIR, Moscou, 1980. D. Avanessoff and J.-B. Pomet. Flatness and Monge parameterization of two-input systems, control-affine with 4 states or general with 3 states. ESAIM. Contrˆ ole, Optimisation et Calcul des Variations, 13(2):237–264, 2007. L. Bers. On Hilbert’s 22nd problem. In Browder F., editor, Mathematical Developments Arising From Hilbert Problems, Proceedings of Symposia in Pure Mathematics, pages 559–609. American Mathematical Society, Providence, Rhode Island, 1976. D. Bestle and M. Zeitz. Canonical form design for nonlinear observers with linearizable error dynamics. Int. J. of Control, 23:419–431, 1981. L. Bitauld, M. Fliess, and J. L´evine. A flatness based control synthesis of linear systems and application to windshield wipers. In Proc. ECC’97, Brussels, July 1997. W. Boothby. An introduction to Differentiable Manifolds and Riemannian Geometry. Academic Press, New York, 1975. P. Brunovsk´ y. A classification of linear controllable systems. Kybernetica, 6: 176–178, 1970. J. Carr. Application of Center Manifold Theory. Springer, 1981. ´ Cartan. Sur l’´equivalence absolue de certains syst`emes d’´equations E. diff´erentielles et sur certaines familles de courbes. Bull. Soc. Math. France, 42:12–48, 1914. re´edit´e in Oeuvres Compl`etes, part II, vol 2, pp. 1133–1168, CNRS, Paris, 1984. H. Cartan. Calcul Diff´erentiel. Hermann, Paris, 1967. B. Charlet, J. L´evine, and R. Marino. On dynamic feedback linearization. Systems & Control Letters, 13:143–151, 1989.
308
14 Automatic Flight Control Systems
B. Charlet, J. L´evine, and R. Marino. Sufficient conditions for dynamic state feedback linearization. SIAM J. Control Optimization, 29(1):38–57, 1991. S.S. Chern, W.H. Chen, and K.S. Lam. Lectures on Differential Geometry, volume 1 of Series on University Mathematics. World Scientific, 2000. V.N. Chetverikov. New flatness conditions for control systems. In Proceedings of NOLCOS’01, St. Petersburg, pages 168–173, 2001. C. Chevalley. Theory of Lie Groups. Princeton University Press, 1946. Y.K. Chin, A. Kade, J. Kowalik, and D. Graham. Electronic windshield wiper system i: modelling and validation, ii: control and sensitivity study. Int. J. of Vehicle design, 12(2):175–196, 1991. Y. Choquet-Bruhat. G´eom´etrie diff´erentielle et syst`emes ext´erieurs. Dunod, Paris, 1968. P.M. Cohn. Free Rings and Their Relations. Academic Press, London, 1985. O. Dahl. Path-constrained robot control with limited torques–experimental evaluation. IEEE Trans. on Robotics and Automation, 10(5):658–669, 1994. O. Dahl and L. Nielsen. Torque-limited path following by on-line trajectory time scaling. IEEE Trans. on Robotics and Automation, 6(5):554–561, 1990. J. De Dona, F. Suryawan, M. Seron, and J. L´evine. A flatness-based iterative method for reference trajectory generation in constrained NMPC. In D. Raimondo L. Magni and F. Allg¨ ower, editors, Proc. of the International Workshop on Assessment and Future Directions of Nonlinear Model Predictive Control, NMPC’08, Pavia, Italy, 2008. E. Delaleau and V. Hagenmeyer. Commande pr´edictive non lin´eaire fond´ee sur la platitude diff´erentielle. In D. Dumur, editor, La commande pr´edictive : Avanc´ees et perspectives. Herm`es, 2006. E. Delaleau and J. Rudolph. Control of flat systems by quasi-static feedback of generalized states. Int. J. Control, 71(5):745–765, 1998. M. Demazure. Bifurcations and Catastrophes, Geometry of Solutions to Nonlinear Problems. Springer, Universitext, 2000. ´ Th. Devos. Etude et comparaison de plusieurs lois de commande de grues. PhD thesis, Universit´e Paris-Sud, 2009. Th. Devos and J. L´evine. A flatness-based nonlinear predictive approach for crane control. In M. Alamir and F. Allg¨ ower, editors, Proc. of the IFAC Conf. on Nonlinear Model Predictive Control for Fast Systems, NMPC’06, Grenoble, France, 2006. J. Dieudonn´e. Fondements de l’Analyse Moderne. Gauthier-Villars, Paris, 1960. B. Etkin. Dynamics of flight-Stability and control. John Wiley, 2nd edition, 1982. N. Fenichel. Geometric singular perturbation theory for ordinary differential equations. J. Diff. Equations, 31:53–98, 1979. A.F. Filippov. Differential Equations with Discontinuous Righthand Sides. Kluwer Academic Publishers, Dordrecht, Boston, London, 1988.
References
309
R. Findeisen and F. Allg¨ ower. An introduction to nonlinear model predictive control. In Proc. 21st Benelux Meeting on Systems and Control, Veldhoven, The Netherlands, 2002. M. Fliess. Some basic structural properties of generalized linear systems. Systems & Control Letters, 15:391–396, 1990. M. Fliess. A remark on Willems’ trajectory characterization of linear controllability. Systems & Control Letters, 19:43–45, 1992. M. Fliess and R. Marquez. Continuous-time linear predictive control and flatness : a module-theoretic setting with examples. International Journal of Control, 73:606–623, 2000. M. Fliess, J. L´evine, and P. Rouchon. A simplified approach of crane control via a generalized state-space model. In Proc. 30th IEEE Control Decision Conf., Brighton, pages 736–741, 1991. M. Fliess, J. L´evine, Ph. Martin, and P. Rouchon. Sur les syst`emes non lin´eaires diff´erentiellement plats. C.R. Acad. Sci. Paris, I–315:619–624, 1992a. M. Fliess, J. L´evine, Ph. Martin, and P. Rouchon. On differentially flat nonlinear systems. In Proc. IFAC-Symposium NOLCOS’92, Bordeaux, pages 408–412, 1992b. M. Fliess, J. L´evine, and P. Rouchon. A generalized state variable representation for a simplified crane description. Int. J. Control, 58:277–283, 1993. M. Fliess, J. L´evine, Ph. Martin, and P. Rouchon. Flatness and defect of nonlinear systems: introductory theory and examples. Int. J. Control, 61 (6):1327–1361, 1995. M. Fliess, J. L´evine, Ph. Martin, and P. Rouchon. A Lie-B¨acklund approach to equivalence and flatness of nonlinear systems. IEEE Trans. Automat. Control, 44(5):922–937, 1999. E. Fossas and J. Franch. Linearization by prolongations: a new bound for three input systems. In Proceedings of the 14th IFAC World Congress, Beijing, 1999. J. Franch. Flatness, Tangent Systems and Flat Outputs. PhD thesis, Universitat Polit`ecnica de Catalunya Jordi Girona, 1999. F.R. Gantmacher. Th´eorie des Matrices, t. I, II. Dunod, Paris, 1966. R.B. Gardner and W.F. Shadwick. The GS algorithm for exact linearization to Brunovsky normal form. IEEE. Trans. Automat. Contr., 37:224–230, 1992. C. Godbillon. G´eom´etrie Diff´erentielle et M´ecanique Analytique. Hermann, 1969. J. Guckenheimer and P. Holmes. Nonlinear Oscillations, Dynamical Systems, and Bifurcations of Vector Fields. Springer-Verlag, New York, 1983. V. Hagenmeyer and E. Delaleau. Continuous-time non-linear flatness-based predictive control: an exact feedforward linearisation setting with an induction drive example. International Journal of Control, 81(10):1645—1663, 2008.
310
14 Automatic Flight Control Systems
¨ D. Hilbert. Uber den Begriff der Klasse von Differentialgleichungen. Math. Ann., 73:95–108, 1912. Also in Gesammelte Abhandlungen, Vol. 3, pages 81–93, Chelsea, New York, 1965. D. Hilbert. Mathematische probleme. Archiv f¨ ur Mathematik und Physik, 1: 44–63 and 213–237, 1901. Also in Gesammelte Abhandlungen, Vol.3, pages 290–329, Chelsea, New York, 1965. M.W. Hirsch and S. Smale. Differential Equations, Dynamical Systems and Linear Algebra. Acamedic Press, New-York, 1974. M.W. Hirsch, C.C. Pugh, and M. Shub. Invariant Manifolds. Lecture Notes in Mathematics. Springer, 1977. L.R. Hunt, R. Su, and G. Meyer. Design for multi-input nonlinear systems. In R.W. Brockett, R.S. Millman, and H.J. Sussmann, editors, Differential Geometric Control Theory, pages 268–298. Birkh¨auser, Boston, 1983a. L.R. Hunt, R. Su, and G. Meyer. Global transformations of nonlinear systems. IEEE Trans. Automat. Control, 28:24–31, 1983b. N. H. Ibragimov. Transformation Groups Applied to Mathematical Physics. Reidel, Boston, 1985. A. Isidori. Nonlinear Control Systems. Springer, New York, 3rd edition, 1995. B. Jakubczyk. Invariants of dynamic feedback and free systems. In Proc. ECC’93, Groningen, pages 1510–1513, 1993. B. Jakubczyk and W. Respondek. On linearization of control systems. Bull. Acad. Pol. Sci. Ser. Sci. Math., 28(9–10):517–522, 1980. T. Kailath. Linear Systems. Prentice Hall, Englewood Cliffs, NJ, 1980. H. K. Khalil. Nonlinear Systems. Prentice Hall, Englewood Cliffs, NJ, 1996. B. Kiss. Planification de trajectoires et commande d’une classe de syst`emes ´ m´ecaniques plats et liouvilliens. PhD thesis, Ecole des Mines de Paris, 2001. B. Kiss, J. L´evine, and Ph. M¨ ullhaupt. Modelling, flatness and simulation of a class of cranes. Periodica Polytechnica, 43(3):215–225, 1999. B. Kiss, J. L´evine, and Ph. M¨ ullhaupt. A simple output feedback PD controller for nonlinear cranes. In 39th IEEE Conference on Decision and Control, Sydney, Australia, 2000a. B. Kiss, J. L´evine, and Ph. M¨ ullhaupt. Modelling and motion planning for a class of weight handling equipment. J. Systems Science, 26(4):79–92, 2000b. B. Kiss, J. L´evine, and Ph. M¨ ullhaupt. Control of a reduced size model of US Navy crane using only motor position sensors. In A. Isidori, F. LamnabhiLagarrigue, and W. Respondek, editors, Nonlinear Control in the Year 2000, volume 2, pages 1–12. Springer, 2000c. S. Kobayashi and K. Nomizu. Foundations of Differential Geometry, volume I. John Wiley & Sons, 1996. P.V. Kokotovi´c, H.K. Khalil, and J. O’Reilly. Singular Perturbation Methods in Control: Analysis and Design. Academic Press, London, 1986.
References
311
M.V. Kondratieva, A.V. Mikhalev, and E.V. Pankratiev. On Jacobi’s bound for systems of differential polynomials. Algebra, Moscow Univ. Press, Moscow, pages 79–85, 1982. in russian. A.I. Kostrikin and I.R. Shafarevich. Algebra, I., volume 11 of Encyclopaedia of Mathematical Sciences. Springer-Verlag, New York, 1980. I. S. Krasil’shchik, V. V. Lychagin, and A. M. Vinogradov. Geometry of Jet Spaces and Nonlinear Partial Differential Equations. Gordon and Breach, New York, 1986. A.J. Krener and A. Isidori. Linearization by output injection and nonlinear observers. Systems & Control Lett., 3:47–52, 1983. A.J. Krener and W. Respondek. Nonlinear observers with linear error dynamics. SIAM J. Control Optimiz., 23:197–216, 1985. M. Krsti´c, I. Kanellakopoulos, and P. Kokotovi´c. Nonlinear and Adaptive Control Design. Wiley, New York, 1995. J.P. LaSalle and S. Lefschetz. Stability by Lyapunov’s Direct Method With Application. Academic Press, New York, 1961. J. L´evine. Are there new industrial perspectives in the control of mechanical systems? In P.M. Frank, editor, Advances in Control, Highlights of ECC’99, pages 197–226. Springer, London, 1999. J. L´evine. Static and dynamic state feedback linearization. In A. Fossard and D. Normand-Cyrot, editors, Nonlinear Systems, volume 3, pages 93–126. Chapman & Hall, 1997. J. L´evine. On necessary and sufficient conditions for differential flatness. http://www.arxiv.org, arXiv:math.OC/0605405, 2006. J. L´evine. On the synchronization of a pair of independent windshield wipers. IEEE Trans. Control Systems Technology, 12(5):787–795, 2004. J. L´evine. On necessary and sufficient conditions for differential flatness. In Proc. of IFAC NOLCOS 2004 Conference, Stuttgart, 2004. J. L´evine and D.V. Nguyen. Flat output characterization for linear systems using polynomial matrices. Systems & Control Letters, 48:69–75, 2003. J. L´evine and P. Rouchon. Quality control of binary distillation columns based on nonlinear aggregated models. Automatica, 27(3):463–480, 1991. J. L´evine and P. Rouchon. An invariant manifold approach for robust control design and applications. In U. Helmke, R. Mennicken, and J. Saurer, editors, Systems and Networks: Mathematical Theory and Applications, Proc. MTNS-93, Regensburg, Germany, volume 2, pages 309–312. Akademie Verlag, Berlin, 1994. J. L´evine, J. Lottin, and J. C. Ponsart. A nonlinear approach to the control of magnetic bearings. IEEE Trans. Control Systems Technology, 4(5):524– 544, 1996. J. L´evine, P. Rouchon, G. Yuan, C. Grebogi, B.R. Hunt, E. Kostelich, E. Ott, and J. Yorke. On the control of US navy cranes. In Proc. ECC’97, Brussels, paper N. 717, 1997.
312
14 Automatic Flight Control Systems
A. Liapounoff. Probl`eme G´en´eral de la Stabilit´e du Mouvement. Annales de la Facult´e des Sciences de Toulouse, deuxi`eme s´erie. Edouard Privat, 1907. reprint J. Gabay, Paris, 1988. R. Marino. On the largest feedback linearizable subsystem. Systems & Control Letters, 6:345–351, 1986. R. Marino and P. Tomei. Nonlinear Control Design. Prentice Hall, Englewood Cliffs, NJ, 1995. Ph. Martin. Aircraft control using flatness. In Proc. CESA Multiconference, Lille, pages 194–199, 1996. Ph. Martin. Endogenous feedbacks and equivalence. In U. Helmke, R. Mennicken, and J. Saurer, editors, Systems and Networks: Mathematical Theory and Applications, Proc. MTNS-93, Regensburg, Germany, volume 2, pages 343–346. Akademie Verlag, Berlin, 1994. Ph. Martin. Contribution ` a l’´etude des syst`emes diff`erentiellement plats. PhD ´ thesis, Ecole des Mines de Paris, 1992. Ph. Martin and P. Rouchon. Systems without drift and flatness. In Proc. MTNS 93, Regensburg, Germany, August 1993. Ph. Martin, R.M. Murray, and P. Rouchon. Flat systems. In G. Bastin and M. Gevers, editors, Plenary Lectures and Minicourses, Proc. ECC 97, Brussels, pages 211–264, 1997. D. McLean. Automatic Flight Control Systems. Prentice Hall, 1990. D.T. McRuer, I.L. Ashkenas, and D.C. Graham. Aicraft Dynamics and Automatic Control. Princeton University Press, 1973. J. Milnor. Topology from the Differential Viewpoint. University Press of Virginia, Charlottesville, 1978. M. Morari and J.H. Lee. Model predictive control: past, present and future. Computers & Chemical Engineering, 23:667–682, 1999. P. M¨ ullhaupt. Introduction ` a l’Analyse et ` a la Commande des Syst`emes Non Lin´eaires. Presses Polytechniques et Universitaires Romandes, Lausanne, Switzerland, 2009. P. M¨ ullhaupt, B. Srinivasan, J. L´evine, and D. Bonvin. A toy more difficult to control than the real thing. In Proc. ECC’97, Brussels, July 1997. P. M¨ ullhaupt, B. Srinivasan, J. L´evine, and D. Bonvin. Cascade control of the toycopter. In Proc. ECC’99, Karslruhe, 1999. P. M¨ ullhaupt, B. Srinivasan, J. L´evine, and D. Bonvin. Control of the toycopter using a flat approximation. IEEE Trans. Control Systems Technology, 16(5):882–896, 2008. Ju.I. Neˇımark and N.A. Fufaev. Dynamics of Nonholonomic Systems. American Mathematical Society, Providence, Rhode Island, 1972. H. Nijmeijer and A.J. van der Schaft. Nonlinear Dynamical Control Systems. Springer, New York, 1990. F. Ollivier. Standard bases of differential ideals. In Proceedings of AAECC8, volume 508 of Lecture Notes In Computer Science, pages 304–321. Springer, 1990.
References
313
F. Ollivier and S. Brahim. La borne de Jacobi pour une diffi´et´e d´efinie par un syst`eme quasi r´egulier (Jacobi’s bound for a diffiety defined by a quasiregular system). Comptes rendus Mathematique, 345(3):139–144, 2007. P.J. Olver. Equivalence, Invariants, and Symmetry. Cambridge University Press, 1995. P. S. Pereira da Silva. Flatness of nonlinear control systems : a CartanK¨ahler approach. In Proc. Mathematical Theory of Networks and Systems (MTNS’2000), Perpignan, pages 1–10, 2000. P.S. Pereira da Silva and C. Corrˆea Filho. Relative flatness and flatness of implicit systems. SIAM J. Control and Optimization, 39(6):1929–1951, 2001. N. Petit, Y. Creff, L. Lemaire, and P. Rouchon. Minimum time constrained control of acid strength on a sulfuric acid alkylation unit. Chemical Engineering Science, 56:2767–2774, 2001. F. Pham. G´eom´etrie et Calcul Diff´erentiel sur les Vari´et´es. InterEditions, Paris, 1992. H. Poincar´e. Sur l’uniformisation des fonctions analytiques. Acta Mathematica, 31:1–63, 1907. Also in Œuvres de Henri Poincar´e, t. 4, pages 70–139, Gauthier-Villars, Paris, 1950. J.W. Polderman and J.C. Willems. Introduction to Mathematical System Theory: a Behavioral Approach. Springer-Verlag, Berlin, 1997. J.-B. Pomet. A differential geometric setting for dynamic equivalence and dynamic linearization. In B. Jakubczyk, W. Respondek, and T. Rzeˇzuchowski, editors, Geometry in Nonlinear Control and Differential Inclusions, pages 319–339. Banach Center Publications, Warsaw, 1993. J.-B. Pomet. On dynamic feedback linearization of four-dimensional affine control systems with two inputs. ESAIM-COCV, 1997. http://www.emath.fr/Maths/Cocv/Articles/articleEng.html. J.B. Pomet, C. Moog, and E. Aranda. A non-exact Brunovsky form and dynamic feedback linearization. In Proc. 31st. IEEE Conf. Decision Cont., pages 2012–2017, 1992. J.F. Pommaret. Partial Differential Control Theory. Kluwer academic publishers, 2001. J.F. Pommaret and A. Quadrat. Localization and parametrization of linear multidimensional control systems. Systems & Control Letters, 37:247–269, 1999. ´ L. Pontriaguine. Equations diff´erentielles Ordinaires. MIR, Moscou, 1975. M. Rathinam and R.M. Murray. Configuration flatness of Lagrangian systems underactuated by one control. SIAM J. Control and Optimization, 36(1): 164–179, 1998. J. F. Ritt. Jacobi’s problem on the order of a system of differential equations. Annals of Mathematics, 36:303–312, 1935. H.H. Rosenbrock. Multivariable and State-Space Theory. Wiley, New York, 1970.
314
14 Automatic Flight Control Systems
P. Rouchon. Necessary condition and genericity of dynamic feedback linearization. J. Math. Systems Estim. Control, 4(2):257–260, 1994. J. Rudolph. Flatness based control of distributed parameter systems. Shaker Verlag, Aachen, 2003. J. Rudolph, J. Winkler, and F. Woittenek. Flatness based control of distributed parameter systems: examples and computer exercises from various technological domains. Shaker Verlag, Aachen, 2003. D. Ruelle. Elements of Differentiable Dynamics and Bifurcation Theory. Academic Press, 1989. S. Sastry. Nonlinear Systems, Analysis, Stability and Control. Springer, New York, 1999. J.A. Saunders and F. Verhulst. Averaging Methods in Nonlinear Dynamical Systems. Springer, 1987. K. Schlacher and M. Sch¨ oberl. Construction of flat outputs by reduction and elimination. In Proc. 7th IFAC Symposium on Nonlinear Control Systems, Pretoria, South Africa, pages 666–671, August 2007. W.F. Shadwick. Absolute equivalence and dynamic feedback linearization. Systems Control Letters, 15:35–39, 1990. H. Sira-Ramirez and S.K. Agrawal. Differentially flat systems. Marcel Dekker, New York, 2004. J.J.E. Slotine and W. Li. Applied Nonlinear Control. Prentice Hall, Englewood Cliffs, NJ, 1991. W.M. Sluis. A necessary condition for dynamic feedback linearization. Systems Control Letters, 21:277–283, 1993. W.M. Sluis and D.M. Tilbury. A bound on the number of integrators needed to linearize a control system. Systems & Control Letters, 29(1):43–50, 1996. R. Sommer. Control design for multivariable non-linear time-varying systems. Int. J. Control, 31:883–891, 1980. E.D. Sontag. Mathematical Control Theory, Deterministic Finite Dimensional Systems. Springer, New York, 2nd edition, 1998. H.J. Sussmann. A general theorem on local controllability. SIAM J. Control and Optimiz., 25:158–194, 1987. A. Tannenbaum. Invariance and System Theory: Algebraic and Geometric Aspects. Springer, New York, 1980. R Thom. Stabilit´e Structurelle et Morphog´en`ese. InterEdition, Paris, 2nd edition, 1977. A. Tikhonov, A. Vasil’eva, and A. Sveshnikov. Differential Equations. Springer, New York, 1980. H.L. Trentelman. On flat systems, behaviors and observable image representations. Systems & Control Letters, 21:51–55, 2004. M. van Nieuwstadt, M. Rathinam, and R.M. Murray. Differential flatness and absolute equivalence. In Proc. 33th IEEE Conf. Decision Control, Lake Buena Vista, Fl., pages 326–332, 1994.
References
315
M. van Nieuwstadt, M. Rathinam, and R.M. Murray. Differential flatness and absolute equivalence of nonlinear control systems. SIAM J. Control Optim., 36(4):1225–1239, 1998. M. Vidyasagar. Nonlinear Systems Analysis. Prentice Hall, Englewood Cliffs, NJ, 2nd edition, 1993. J. von L¨owis, J. Rudolph, J. Thiele, and F. Urban. Flatness-based trajectory tracking control of a rotating shaft. In 7th International Symposium on Magnetic Bearings, Z¨ urich, pages 299–304, 2000. M. Vukobratovi´c and R. Stoji´c. Modern Aircraft Flight Control. SpringerVerlag, 1988. J.C. Wanner. Dynamique du vol et pilotage des avions. Technical report, ´ Ecole Nationale Sup´erieure de l’A´eronautique et de l’Espace, Toulouse, France, 1984. E.T. Whittaker. A Treatise on the Analytical Dynamics of Particules and Rigid Bodies. Cambridge University Press, Cambridge, 4th edition, 1937. W.A. Wolovich. Linear Multivariable Systems, volume 11 of Series in Applied Mathematical Sciences. Springer, New York, 1974. W.M. Wonham. Linear Multivariable Control: a Geometric Approach. Springer, 1974. X.H. Xia and W.B. Gao. Nonlinear observer design by observer error linearization. SIAM J. Control Optimiz., 27:199–216, 1989. V.V. Zharinov. Geometrical Aspect of Partial Differential Equations. World Scientific, Singapore, 1992.
Index
actuator, 2 anti-derivation, 35 asymptotic, 45 attractor, 54 Baker-Campbell-Hausdorff formula, 27 Brunovsk´ y canonical form, 1, 90 canonical form, 5, 95, 143 Cartan vector field, 115, 119 centre manifold, 6, 68 characteristic exponent, 46 characteristic multiplier, 51 Chetaev’s function, 63 closed-loop, 2 codistribution, 37 collision, 230 compatible vector field, 120 complete integrability, 32 completely integrable, 38 constant rank, 16 contractible, 36 control of the clock, 197, 235 controllability, 1, 88 controllability canonical form, 90 controllability indices, 92 cotangent bundle, 32 cotangent space, 32 crane, 107, 187 curvilinear coordinates, 16 cycle, 47 DC motor, 79, 203 desingularization, 187 diagonal decomposition, 154 diffeomorphism, 15 differential flatness, 3, 131
differential form, 33 differential operator, 21 distribution of vector fields, 28 disturbance, 2 dynamic feedback, 5, 127 endogenous dynamic feedback, 5, 128 endogenous dynamic feedback extension invariance, 147 endogenous dynamic feedback linearizability, 143 equilibrium manifold, 75 equilibrium point, 45 Euclidean division, 156, 169 exact differential form, 33 exponentially stable, 62 exterior derivative, 35 exterior differential system, 37 external formulation, 118, 120 feedback, 2 first integral, 23 first return map, 50 first-order controllability, 96 fixed point, 45, 50 flat output, 132, 146 flow, 19 fractal set, 55 Frobenius theorem, 29 Gauss divisibility theorem, 169 generalized coordinates, 114 gradient system, 47 Hadamard–Perron theorem, 68 Hamiltonian, 25, 49, 56 Hartman-Grobman theorem, 68
317
318 hierarchical control, 6, 81 high-precision positionning system, 168 Hilbert’s 22nd problem, 132 homeomorphism, 16 Huygens oscillation centre, 137, 174 hyper-regular matrix, 154 hyperbolic, 5, 46, 51 Image of a Cartan Field, 122 image of a differential form, 32 image of a vector field, 22 implicit function theorem, 14 integral curve, 19 integral curve maximal, 19 integral manifold, 29, 37, 38 internal formulation, 118, 119 interpolation, 93 invariant, 53 invariant manifold, 6, 53, 76 inverted pendulum, 135 involutive, 29 involutive closure, 29 jets of infinite order, 3, 114 Kalman’s controllability matrix, 88 Kalman’s criterion, 88 L-asymptotically stable, 55 L-B equivalence, 122, 124 L-stable, 55 LaSalle’s invariance principle, 61, 287 Leibnitz formula, 160 Lie bracket, 26 Lie derivative of a function, 21 Lie derivative of a 1-form, 39 of order k, 25 Lie-B¨ acklund equivalence, 4, 122 limit set, 54 linear Cartan field, 117 linear flat output, 167 linear motor, 211 Lipschitzian function, 19 local controllability, 96 local inversion, 16 local Lie-B¨ acklund isomorphism, 122 local reachability, 101 Lyapunov’s function, 59 Lyapunov-asymptotically stable, 55 Lyapunov-stable, 55
Index manifold, 14, 75 mass-spring system, 8, 133, 144 measurement, 2 meromorphic, 153 module, 154 motion planning, 1, 93, 181 moving frame structure equations, 163 mutually prime, 169 non non non non
commutative, 154 degenerate, 46 holonomic constraint, 102, 139 holonomic vehicle, 102, 138, 144, 146, 170, 186, 195 normal vector, 17 observation, 2 open-loop, 2 operator d, 161 orbit, 20 overhead crane, 107 pendulum, 135, 144, 145, 173, 194 periodic orbit, 47 persistence, 76 Pfaffian system, 38, 151 phase portrait, 20 Poincar´ e’s map, 50 Poincar´ e lemma, 33 pole placement, 95 polynomial interpolation, 182 polynomial matrix, 152 polynomial ring, 153 positively invariant, 53 potential, 48 potential gradient, 48 predictive control, 190 prolongation, 116 proper Lyapunov’s function, 60 reference control, 2 reference trajectory, 2 rest-to-rest trajectory, 184 robot arm, 134, 145 robustness of the stability, 78 rolling without slipping, 28 sensor, 2 Shadow lemma, 78 Shoshitaishvili theorem, 68 singular perturbation, 76 singular perturbations, 73 singular point, 45 singularly perturbed system, 6
Index
SLF-equivalence, 90 slow dynamics, 76, 284 slow manifold, 76 slow time-scale, 74 Smith decomposition, 154, 155 stable manifold, 67 standard form, 74 state space, 3 static feedback equivalence, 5, 125 static feedback linearizable, 144 static linear feedback equivalence, 90 stationary, 43 straightening out, 45 of a vector field, 24 straightening out of a distribution, 29 of coordinates, 16 strange attractor, 55 strong accessibility distribution, 98 strongly closed ideal, 157 synchronization, 198, 227, 235 system equivalence, 5 tangent bundle, 18 tangent linear approximation, 5, 46
319 tangent space, 18 time scale, 6, 73 time-invariant, 43 time-varying, 43, 58 topological equivalence, 5, 64 tracking, 1 trajectory generation, 1 trajectory tracking, 193 transient point, 24, 45 trivial Cartan field, 117, 120 trivial system, 4 uniformization of analytic functions, 132 unimodular matrix, 154 unstable manifold, 65, 67 variational equation, 46, 51 vector field, 18 vector field complete, 19 vehicle with trailers, 139 weak accessibility distribution, 100 wedge product, 34 windshield wipers, 225