Adaptive Control with a Nested Saturation Reference Model

Similar documents
Several Extensions in Methods for Adaptive Output Feedback Control

Nested Saturation with Guaranteed Real Poles 1

Adaptive Guidance and Control for Autonomous Formation Flight

IMPROVED METHODS IN NEURAL NETWORK-BASED ADAPTIVE OUTPUT FEEDBACK CONTROL, WITH APPLICATIONS TO FLIGHT CONTROL. Nakwan Kim

Global stabilization of feedforward systems with exponentially unstable Jacobian linearization

Concurrent Learning for Convergence in Adaptive Control without Persistency of Excitation

Concurrent Learning Adaptive Control in the Presence of Uncertain Control Allocation Matrix

Adaptive Dynamic Inversion Control of a Linear Scalar Plant with Constrained Control Inputs

ADAPTIVE control has been extensively studied for aerospace

Design of a Missile Autopilot using Adaptive Nonlinear Dynamic Inversion

Chapter 2 Review of Linear and Nonlinear Controller Designs

ADAPTIVE CONTROL OF SYSTEMS IN CASCADE WITH SATURATION. Suresh K. Kannan

Problem Description The problem we consider is stabilization of a single-input multiple-state system with simultaneous magnitude and rate saturations,

Nonlinear Systems and Control Lecture # 12 Converse Lyapunov Functions & Time Varying Systems. p. 1/1

ADAPTIVE NEURAL NETWORK CONTROLLER DESIGN FOR BLENDED-WING UAV WITH COMPLEX DAMAGE

Autonomous Helicopter Landing A Nonlinear Output Regulation Perspective

H 2 Adaptive Control. Tansel Yucelen, Anthony J. Calise, and Rajeev Chandramohan. WeA03.4

Event-Triggered Decentralized Dynamic Output Feedback Control for LTI Systems

AROTORCRAFT-BASED unmanned aerial vehicle

Attitude Regulation About a Fixed Rotation Axis

1 The Observability Canonical Form

Vortex Model Based Adaptive Flight Control Using Synthetic Jets

Modeling and Analysis of Dynamic Systems

FUZZY CONTROL OF NONLINEAR SYSTEMS WITH INPUT SATURATION USING MULTIPLE MODEL STRUCTURE. Min Zhang and Shousong Hu

Adaptive Guidance and Control for Autonomous Hypersonic Vehicles

Design and modelling of an airship station holding controller for low cost satellite operations

Output Feedback Concurrent Learning Model Reference Adaptive Control

Intelligent Control. Module I- Neural Networks Lecture 7 Adaptive Learning Rate. Laxmidhar Behera

Adaptive Elevation Control of a Three Degrees-of-Freedom Model Helicopter Using Neural Networks by State and Output Feedback

Topic # /31 Feedback Control Systems. Analysis of Nonlinear Systems Lyapunov Stability Analysis

Every real system has uncertainties, which include system parametric uncertainties, unmodeled dynamics

Output Regulation of Uncertain Nonlinear Systems with Nonlinear Exosystems

THE use of modern technology in flight control systems

Passivity-based Stabilization of Non-Compact Sets

L 1 Adaptive Output Feedback Controller to Systems of Unknown

DERIVATIVE FREE OUTPUT FEEDBACK ADAPTIVE CONTROL

Hover Control for Helicopter Using Neural Network-Based Model Reference Adaptive Controller

Least Squares Based Modification for Adaptive Control

EML5311 Lyapunov Stability & Robust Control Design

Chapter III. Stability of Linear Systems

LYAPUNOV-BASED CONTROL OF SATURATED AND TIME-DELAYED NONLINEAR SYSTEMS

An homotopy method for exact tracking of nonlinear nonminimum phase systems: the example of the spherical inverted pendulum

Coordinated Tracking Control of Multiple Laboratory Helicopters: Centralized and De-Centralized Design Approaches

Adaptive Predictive Observer Design for Class of Uncertain Nonlinear Systems with Bounded Disturbance

CONTROL DESIGN FOR SET POINT TRACKING

Navigation and Obstacle Avoidance via Backstepping for Mechanical Systems with Drift in the Closed Loop

Introduction to Nonlinear Control Lecture # 3 Time-Varying and Perturbed Systems

Adaptive Control for Nonlinear Uncertain Systems with Actuator Amplitude and Rate Saturation Constraints

L -Bounded Robust Control of Nonlinear Cascade Systems

Converse Lyapunov theorem and Input-to-State Stability

SLIDING MODE FAULT TOLERANT CONTROL WITH PRESCRIBED PERFORMANCE. Jicheng Gao, Qikun Shen, Pengfei Yang and Jianye Gong

Dynamic-Fuzzy-Neural-Networks-Based Control of an Unmanned Aerial Vehicle

Integrator Backstepping using Barrier Functions for Systems with Multiple State Constraints

Multivariable MRAC with State Feedback for Output Tracking

Lyapunov Stability Theory

Unifying Behavior-Based Control Design and Hybrid Stability Theory

Is Monopoli s Model Reference Adaptive Controller Correct?

High-Gain Observers in Nonlinear Feedback Control. Lecture # 2 Separation Principle

Design of Observer-based Adaptive Controller for Nonlinear Systems with Unmodeled Dynamics and Actuator Dead-zone

Event-sampled direct adaptive neural network control of uncertain strict-feedback system with application to quadrotor unmanned aerial vehicle

Adaptive Output Feedback Based on Closed-Loop. Reference Models for Hypersonic Vehicles

Neural Networks Lecture 10: Fault Detection and Isolation (FDI) Using Neural Networks

High-Gain Observers in Nonlinear Feedback Control. Lecture # 3 Regulation

A new method to obtain ultimate bounds and convergence rates for perturbed time-delay systems

Minimum-Phase Property of Nonlinear Systems in Terms of a Dissipation Inequality

Stability theory is a fundamental topic in mathematics and engineering, that include every

A Novel Integral-Based Event Triggering Control for Linear Time-Invariant Systems

On reduction of differential inclusions and Lyapunov stability

Control of Mobile Robots

On-Line Approximation Control of Uncertain Nonlinear Systems: Issues with Control Input Saturation 1

QUANTITATIVE L P STABILITY ANALYSIS OF A CLASS OF LINEAR TIME-VARYING FEEDBACK SYSTEMS

Further results on global stabilization of the PVTOL aircraft

COMBINED ADAPTIVE CONTROLLER FOR UAV GUIDANCE

Low Gain Feedback. Properties, Design Methods and Applications. Zongli Lin. July 28, The 32nd Chinese Control Conference

Concurrent Learning Adaptive Control of Linear Systems with Exponentially Convergent Bounds

LYAPUNOV-BASED CONTROL OF LIMIT CYCLE OSCILLATIONS IN UNCERTAIN AIRCRAFT SYSTEMS

Adaptive NN Control of Dynamic Systems with Unknown Dynamic Friction

Convergent systems: analysis and synthesis

Experimental Results of Concurrent Learning Adaptive Controllers

Adaptive Augmentation of a Fighter Aircraft Autopilot Using a Nonlinear Reference Model

On the Stabilization of Neutrally Stable Linear Discrete Time Systems

Contraction Based Adaptive Control of a Class of Nonlinear Systems

Nonlinear Control Systems

Introduction. 1.1 Historical Overview. Chapter 1

Set-based adaptive estimation for a class of nonlinear systems with time-varying parameters

1030 IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL. 56, NO. 5, MAY 2011

Output Regulation of the Arneodo Chaotic System

Linear Feedback Control Using Quasi Velocities

Automatic Stabilization of an Unmodeled Dynamical System Final Report

State Regulator. Advanced Control. design of controllers using pole placement and LQ design rules

Exam. 135 minutes, 15 minutes reading time

SINCE THE formulation and solution of the problem of

Mixed Control Moment Gyro and Momentum Wheel Attitude Control Strategies

Convergence Rate of Nonlinear Switched Systems

Postface to Model Predictive Control: Theory and Design

Chapter 7 Interconnected Systems and Feedback: Well-Posedness, Stability, and Performance 7. Introduction Feedback control is a powerful approach to o

Identication and Control of Nonlinear Systems Using. Neural Network Models: Design and Stability Analysis. Marios M. Polycarpou and Petros A.

RESEARCH ARTICLE. Exponential Parameter and Tracking Error Convergence Guarantees for Adaptive Controllers without Persistency of Excitation

Stabilization of a 3D Rigid Pendulum

Event-triggered control subject to actuator saturation

Transcription:

Adaptive Control with a Nested Saturation Reference Model Suresh K Kannan and Eric N Johnson School of Aerospace Engineering Georgia Institute of Technology, Atlanta, GA 3332 This paper introduces a neural network based model reference adaptive control architecture that allows adaptation in the presence of saturation The given plant is approximately feedback linearized, with adaptation used to cancel any matched uncertainty A nested saturation based reference model is used This law allows the incorporation of magnitude actuator saturation and has useful small gain properties Depending on the bandwidth and saturation limits, the reference model based on this law eases off on the aggressiveness of the desired trajectory thus avoiding saturation However, actuator saturation might yet occur due to uncertainty or external disturbances In order to protect the adaptive element from such plant input characteristics, the nested saturation reference model is augmented with a pseduo-control hedging signal that removes these characteristics from the adaptive element s training signal Nomenclature b v, b w neural network biases function approximation error δ control vector / actuator deflections e tracking error x r x e cr ref model command tracking error x c x r e c command tracking error x c x K linear compensator gains f, ˆf actual, estimated plant dynamics g, ĝ actual, estimated actuator dynamics N N neural network ν pseudo-control vector P CH pseudo-control hedging V, W neural network input, output weights x state vector Subscripts ad adaptive signal c commanded des desired h hedge lc linear compensator r reference model Introduction Neural Network (NN) based direct adaptive control has recently emerged as an enabling technology for practical flight control systems This particular architecture has been applied in simulation to various applications such as the X-33 Reusable Launch Vehicle, tilt-rotor 2 and transport aircraft 3 This architecture has also been flight-tested on a range of Research Assistant AIAA Student Member suresh kannan@aegatechedu Lockheed Martin Assistant Professor of Avionics Integration AIAA Member, ericjohnson@aegatechedu flight vehicles such as the X-36 Tailless fighter, 4 JDAM guided munitions 5 and on an unmanned helicopter 6 In implementing this architecture, initial applications assumed no actuator (input) saturation If input saturation is encountered, the adaptive element (a neural network) incorrectly adapts to these input characteristics In order to overcome this problem the reference model is modified in a specific way in order to remove input characteristics from the training signal of the neural network This method called pseduo-control hedging (PCH) was developed initially to adaptively control the attitude dynamics of the X-33 7 Apart from input saturation pseduo-control hedging may also be used to completely remove any input characteristics the control designer does not want the adaptive element to see Such characteristics might include actuator magnitude saturation, actuator rate limits, latency and other linear input dynamics In addition to enabling continued adaptation in the presence of input dynamics, it was shown that a proven domain of attraction for the closed loop system is at least as large as that without PCH It has been shown that as long as the external command and the isolated nonadaptive system states are close, boundedness of the reference model, plant and neural network states may be shown for certain amounts of saturation and consequently certain amounts of hedging 7 In present work that uses this architecture,, 4 linear reference models are used In general, PCH modifies the reference model dynamics and thus poses a problem when large external commands are applied to a linear reference model For example in the position control of a vehicle a large position command causes a linear reference model to immediately saturate the controls until the plant state is close to command The problem was partially tackled by introducing a nonlinear reference model contain- of

ing limits on the maximum speed that could be used to achieve a large position command 6 This method however has problems where the poles of the reference model change when these limits are active In this paper the use of a nested saturation based reference model 8 is proposed For a certain class of systems in feedforward form, 9 saturation elements may be used to stabilize the system with bounded control guaranteeing Global Asymptotic Stability (GAS) and Local Exponential Stability (LES) This nested saturation law was first introduced to stabilize a chain of integrators 8 and generalized by Sontag A perfectly feedback linearized system is set of n-integrators A natural choice of reference model is a set of n- integrators controlled using the nested saturation law which takes into account magnitude bounded actuator input and reflects the structure of a feedback linearized plant with magnitude saturation Adaptation is used to cancel any matched uncertainty in the approximately linearized system, and a nested saturation based reference model is used to generate the trajectory PCH is used to protect the neural network from incorrect adaptation when large uncertainty or external disturbances cause actuator magnitude saturation The combined approach is expected to entail no need to avoid actuator saturation or large external commands First, the adaptive control architecture is introduced along with PCH A discussion on the choice of reference model is made by comparing linear and nonlinear reference models, followed by the nested saturation law Finally, the architecture is applied to a 4 th order plant and simulation results are presented Controller Consider the following nonlinear system in first order form ẋ = x 2 ẋ 2 = x 3 () ẋ n = f(x, δ) (2) δ = g(x, δ des ) (3) where x R n, x i, i =,, n being the elements of x, δ R Here, f represents the plant dynamics and g the state-dependent actuation nonlinearity Herein, δ des is the desired actuator (control) deflection while δ is the actual deflection Typically, g represents actuator magnitude saturation Both f, g are assumed to be only approximately known The objective is to track a bounded external command x c R n, while protecting the adaptive element from attempted correction of actuator input characteristic g An approximate model for the dynamics may be in- Fig Model Reference Adaptive Control Architecture with Pseudo-control Hedging troduced as ν = ˆf(x, δ des ) (4) where, ν is the desired pseudocontrol For example, in the case of second order position control of mechanical systems it represents the desired acceleration A restriction on ˆf is that it should be of a form that allows one to formulate the dynamic inverse as δ des = ˆf (x, ν) (5) and δ des is the actuator deflection that we expect will achieve the desired pseudocontrol In introducing these approximate models and formulation of the controller, it is assumed that the full state x, is available for feedback Output feedback formulations of this architecture are also available Substituting the inverse dynamics Eq (5) into Eq (2) results in the following approximately linearized system ẋ n = ν + (x, δ) (6) ν is the desired pseudocontrol that as yet to be designed The model error function is composed of Design, ν to be of the form (x, δ) = f(x, δ) ˆf(x, δ) (7) ν = ν cr + ν lc ˆν ad (8) where ν cr is the output of a reference model, ν lc is the output of a compensator that stabilizes the linearized dynamics and ˆν ad, the output of an adaptive element such as a neural network that is designed to cancel the effects of model error If only regulation is required, ν cr may be dropped resulting in ν = ν lc ˆν ad This architecture is illustrated in Figure 2 of

removal of the actuator characteristic from the tracking error dynamics The reference model dynamics now include the hedging term ẋ rn = ν cr (x c, x r ) ν h (2) Fig 2 Pseudocontrol Hedge signal calculation Pseudo-control Hedging Normally, for a system in first order form, the reference model dynamics may be designed as ẋ r ẋ r2 = x r2 = x r3 ẋ rn = ν cr (x c, x r ) (9) where x r R n are the states of the reference model and x c R n a bounded external command signal This form however, does not account for actuator dynamics If the actuators are saturated, the reference model will continue to demand tracking as though full authority were still available This results in the adaptive element attempting to adapt to the input nonlinearity Pseudo-control Hedging (PCH) is used to protect the adaptive element from such input characteristics One way to describe the PCH method is: move the reference model in the opposite direction (hedge) by an estimate of the amount the plant did not move due to system characteristics the control designer does not want the adaptive element to see 7 This will prevent the system characteristic from appearing in the model tracking error dynamics to be developed in the sequel An approximate model of the actuator input characteristic ĝ is introduced and is used formulate the PCH signal that removes any actuator characteristics from the tracking error dynamics This may be represented as ˆδ = ĝ(x, δ des ) () If in fact the actuator position signals are also available then, ĝ is not required and ˆδ = δ The PCH signal is the difference between the commanded and achieved pseudocontrol ν h = ˆf(x, δ des ) ˆf(x, ˆδ) = ν ˆf(x, ˆδ) () The estimate hedge block of Figure is given by Eq () and illustrated in Figure 2 Eq (9) may now be augmented with the hedging signal resulting in the Notice here that the hedge signal affects the reference model output ν cr only through changes in reference model dynamics and that the instantaneous pseudocontrol output of the reference model in not changed by the use of PCH and remains ν cr = f r (x c, x r ) (3) Tracking Error Dynamics Defining the reference model tracking error as e x r x (4) its dynamics may be found by directly differentiating Eq (4) x r2 x 2 ė = (5) ẋ rn ẋ n Considering ė n, ė n = ẋ rn ẋ n = ν cr ν h f(x, δ) = ν cr ν + ˆf(x, ˆδ) f(x, δ) = ν lc + ˆν ad + ˆf(x, ˆδ) f(x, δ) = ν lc ( (x, δ, ˆδ) ˆν ad ) (6) If ν lc is chosen to be a linear compensator of the form ν lc = [ K K 2 K n ] e (7) Hence, the overall tracking error dynamics may now be expressed as [ ė = Ae + B ˆν ad (x, δ, ˆδ) ] (8) where, A =, B = K K 2 K n (9) The compensator gains are chosen such that A is Hurwitz It now remains for ˆν ad to be designed to cancel the model error (x, δ, ˆδ) and minimize the forcing term in Eq (8) Hence ˆν ad = ˆν ad (x, δ, ˆδ) to effectively cancel However δ, the actuator position is not available in order to design the adaptive term ˆν ad Hence we make the following assumption 3 of

b v x in x inn V b w W ad ad2 Fig 3 n2 adn where, a is the so called activation potential For convenience, define the following weight matrices θ v, θ v,n2 v, v,n2 V = (24) v n, v n,n 2 θ w, θ w,n3 w, w,n3 W = (25) Neural Network with one hidden layer Assumption The actual actuator position can be expressed as δ = δ(x, ˆδ) With this assumption, one may represent the tracking error dynamics as [ ė = Ae + B ˆν ad (x, ˆδ) (x, ˆδ) ] (2) Z = w n2, w n2,n 3 [ ] V W Additionally, define the σ(z) vector as (26) σ T (z) = [ b w σ(z ) σ(z n2 ) ] (27) where b w > allows for the threshold, θ w, to be included in the weight matrix W Also, z = V T x, where, x T = [ ] b v (28) x T in where, b v >, is an input bias that allows for thresholds θ v to be included in the weight matrix V The input-output map of the SHL network may now be written in concise form as where ˆν ad is now only required to be dependent on available information Adaptive Element Single hidden layer perceptron Neural Networks (NNs) are universal approximators 2 Hence, given a sufficient number of hidden layer neurons and appropriate inputs, it is possible to train the network to cancel model error Figure 3 shows the structure of a single hidden layer network whose input-output map may be expressed as n 2 ν adk = b w θ wk + w jk σ j (z j ) (2) where, k =,, n 3 and, j= n σ j (z j ) = σ(b v θ vj + v ij x ini ) (22) i= Here, n, n 2 and n 3 are the number of inputs, hidden layer neurons and outputs respectively x ini, i = n, denote the inputs to the NN The scalar σ j is a sigmoidal activation activation function, σ(z) = + e az (23) 4 of ν ad = W T σ(v T x) (29) The NN may be used to approximate a nonlinear function, such as () The universal approximation property 2 of NN s ensures that given an ɛ >, then x D, where D is a compact set, an n 2 and an ideal set of weights (V, W ), that brings the output of the NN to within an ɛ-neighbourhood of the function approximation error This ɛ is bounded by ɛ which is defined by ɛ = sup W T σ(v T x) ( x) (3) x D The weights, (V, W ) may be viewed as optimal values of (V, W ) in the sense that they minimize ɛ on D These values are not necessarily unique The universal approximation property thus implies that if the NN inputs x in are chosen to reflect the functional dependency of ( ), then ɛ may be made arbitrarily small given a sufficient number of hidden layer neurons, n 2 Boundedness Associated with the tracking error dynamics given in Eq (8), is the Lyapunov function Choosing A T P + P A + Q = (3) Q > (32) results in a positive definite solution for P

Assumption 2 The norm of the ideal weights (V, W ) is bounded by a known positive value < Z F Z (33) where, F denotes the Frobenius norm Individually, the ideal layer weights are bounded as W F W and V F V Assumption 3 The external command x c is bounded x c x c (34) Assumption 4 The states of the reference model, remain bounded for permissable plant and actuator dynamics Assumption 5 Note that, depends on ν ad through ν, whereas ν ad has to be designed to cancel Hence the existence and uniqueness of a fixed-point-solution for ν ad = (x, ν ad ) must be assured through selection of ˆf A sufficient condition is to ascertain that the map ν ad (x, ν ad ) is a contraction over the entire input domain of interest, or / ν ad < This condition is equivalent to the following condition on ˆf ν ad = ˆf ν δ ν ν ad ( f = δ ˆf ) ˆf (35) δ ν f ˆf = δ ν I < and, For a SISO system, condition (35) is equivalent to sgn( f/ δ) = sgn( ˆf/ δ) (36) ˆf/ δ > f/ δ /2 (37) Condition (36) states that unmodeled control reversal is not permissable and (37) places a lower bound on the estimate of control effectiveness Theorem Consider the system given by (2) together with the inverse law (5) and Assumptions 2,3,4,5 where, r = (e T P B) T (38) ˆν ad = ν ad + ν r (39) ν ad = W T σ(v T x) (4) ν r = K r ( Z F + Z)r e r (4) with K r > R, and where W, V satisfy the adaptation laws Ẇ = [ (σ σ V T x)r T + κ e W ] Γ W (42) V = Γ V [ x(r T W T σ ) + κ e V ] (43) with, Γ W, Γ V > and κ >, guarantees that reference model tracking error (e) and NN weights (W, V ) are uniformly ultimately bounded Proof In the following proof a * represents ideal values Define the following variables, W W W, Ṽ V V, z = V T x, z = z z The arguments to the sigmoidal activation function σ are dropped for clarity and conciseness The Taylor expansion of σ(z) around the estimated weights is given by σ(z ) = σ(z) + σ(s) s (z z) + O 2 ( z) s=z The function approximation error may now be expressed as f = f ˆf = W T σ W T σ + ɛ where, = W T [ σ(z) + σ z + O 2 ( z) ] W T σ + ɛ = W T (σ σ z) + W T σ z + w (44) w = W T σ z + W T O 2 ( z) + ɛ (45) noting that = W T σ + ɛ, substituting for ν ad and using Eq (44) in Eq (8), the tracking error dynamics may be written as [ ( ė = Ae + B W T (σ σ z) + W T σ z ) ] + w + ν r (46) By computing bounds on ν ad, x and O 2 ( z) the disturbance term w may be bounded as w = c + c Z + c 2 e Z + c 3 Z 2 (47) where, c, c, c 2, c 3 are known constants and Z follows from the definition of Eq (26) A lyapunov candidate function is L(e, W, Ṽ ) = [ ( e T P e + tr W Γ W 2 W ) )] T + tr (Ṽ T Γ V Ṽ Using the weight update equations of Eq (42) and Eq (43), the time derivative of L along trajectories can be expressed as L = ( ) 2 et Qe + r T ( w + ν r ) + κ e tr ZT Z 5 of

Using Z = Z Z and Z Z Z along with the robustifying term of Eq (4) and requiring that K r > c 2, κ > P B c 3, L may be bounded as L 2 λ min(q) e 2 + ( P B c + κ Z ) Z e (κ P B c 3 ) e Z 2 + c P B e L 2 λ min(q) e 2 (κ P B c 3 ) e Z 2 + a e + a e Z where, defining and, a = 2 Zk 2 + ɛ a = 2ā Zk k k 2 P B + κ Z k = ( + b w + n 2 ) k = b v + x c + k Z k 2 = b w + n 2 By selecting λ min (Q), κ and learning rates (Γ W and Γ V ), L everywhere outside a compact set that is entirely within the largest level set of L, which in turn lies entirely within the compact set D 7 Thus for initial conditions within D, the tracking error e, and neural network weights W, Ṽ are uniformly ultimately bounded Reference Model The pseudo-control build up in Eq (8) contains the reference model output ν cr One may now examine the effect of choosing ν cr by considering the isolated nonadaptive subsystem where the tracking error e = Assuming ˆν ad is the post-adaptive output of the adaptive element (W = W, V = V ) The closed loop system maybe written as ẋ n = f(x, δ) (48) = f(x, g(x, δ des )) (49) = f(x, g(x, ˆf (x, ν cr + ν lc ˆν ad))) (5) where ν lc = because tracking error e is assumed to be If the adaptation is capable of exactly cancelling the model error the dynamics become ẋ n = f(x, g(x, f (x, ν cr ))) (5) Additionally, when δ δ des, the dynamics become ẋ n ν cr (52) ν cr could be designed so that δ and δ des always match, perhaps as the output of an optimal trajectory generator that takes into account the system dynamics f and actuator input characteristics g Or, a simple linear design could be selected for ν cr Additionally, ν cr may also be chosen to facilitate stability analysis of the overall system With respect to using the neural network; consider in detail the isolated non-adaptive system Define the reference model command tracking error to be e cr = x c x r (53) Define the command tracking error to be e c = x c x (54) Note that e c = e cr + e and when considering the nonadaptive subsystem the reference model tracking error e = ; hence, e c = e cr Therefore, ė c = x c2 x 2 ẋ cn ẋ n (55) Substituting the closed loop nonadaptive subsystem, ė c = x c2 x 2 (56) f(x, g(x, ˆf (x, ν cr ˆν ad ))) If no actuators are beyond the saturation limit (δ = δ des ), it becomes, x c2 x 2 ė c = f(x, ˆf (x, ν cr ˆν ad )) x c2 x 2 = ν cr ɛ (57) (58) where, ɛ is the instantaneous residual network approximation error corresponding to the idea weights, and ɛ < ɛ It is shown in 7 that as long as the external command and isolated nonadaptive system states are close, Lyapunov boundedness results are still valid for certain amounts of saturation and hedging In general when choosing ν cr it is important to mitigate the effects of having large external commands which leads to extended periods of hedging This may be achieved by introducing limits on evolution of states in the reference model The discussion on choice of reference models will be carried out in context of the numerical example in the following section Three different reference models will be examined with emphasis on the nested saturation reference model Linear Reference Models The linear reference model given by Eq (59) is stable but contains no limits, hence for large commands, 6 of

the response will still be linear thus saturating the control quickly ν cr = [ K K 2 K n ] ecr (59) Nonlinear Reference Model The nonlinear reference model given by Eq (6) allows one to impose prescribable limits on the evolution of the states ν cr = σ n [ K n ( e crn + σ n ( Kn ( ) K α e crn + σ e cr K 2 K n ))] (α) (6) When none of the limit functions σ i are active, Eq (6) is the same as Eq (59) However, the parameters such as the saturation limits for σ i must be be chosen correctly, and it is possible to choose limits in an ad-hoc manner such that hedging activity is reduced It is possible that these parameters may be derived from practical limits such as speed, attitude, angular rate and angular acceleration limits that may be prescribed for an air vehicle 6 The nonlinear reference model however has other disadvantages For example, consider a second order reference model (ignoring hedging) with desired real poles at a, a 2 R > Based on this desired behavior in the linear region, the nonlinear reference model has the following dynamics ( ( )) K ẋ rn = ν cr = σ 2 K 2 (e cr2 + σ e cr K 2 with K = a a 2, K 2 = (a + a 2 ) When neither σ or σ 2 is saturated, the characteristic equation becomes s 2 + K 2 s + K = s 2 + (a + a 2 )s + a a 2 Lemma Consider a chain of n-integrators, given by (63), which may be represented as ẋ = A x x + B x u, with x R n, u R and A x =, B x = (6) then there exists a linear transformation y = T yx x which transforms (63) into ẏ = A y y + B y u where, a n a n a n a n A y =, B y = a 2 and the elements a i R \ with i = n a n a n a (62) Proof For a proof and explicit characterization of the transformation T yx see 3 Corollary (Pole location 3 ) If the saturators used are linear saturators, and none of the σ i are saturated, the poles of the linearized closed loop system reside at { a, a 2,, a n } During periods when the outermost saturated element is the k th saturator, σ k, the poles of the resulting closed loop linear system reside at { a, a 2,, a n k,, 2,, k } Lemma 2 Consider a chain of integrators which has roots at a, a 2 Now assume that σ becomes saturated, then the system becomes ẋ rn = K 2 e cr2 ± M where M is the saturation limit for σ ( ) This system has the characteristic equation s(s + K 2 ) = s(s + a + a 2 ) where one of the poles has moved to the origin and the second pole has become faster (assuming both a, a 2 > which is required for stability) This shifting of poles as different elements of the nonlinear reference model saturate is undesirable because these faster poles can lead to excitation of higher-order dynamics Nested Saturation Reference Model Before the nested saturation law based reference model is introduced the following results that illustrate relevant properties of the law are developed Associated results are available, 3 a subset of which is provided in the appendix without proof 7 of ẋ = x 2,, ẋ n = u (63) For the system given by (63) Given any set of positive constants {(L i, M i )}, where L i M i for i =,, n and M i < 2 L i+ for i =,, n, and for any set of functions {σ i } that are linear saturations for {(L i, M i )}, there exists a linear coordinate transformation y = T yx x such that the bounded control u = σ n (y n + σ n (y n + + σ (y ))) (64) results in a globally asymptotically stable system Corollary 2 (Restricted Tracking) Consider a nonlinear system with magnitude saturation at the input u given by ẋ = x 2,, ẋ n = σ n+ (u) (65) and a compatible reference signal given by [ ] x d (t), ẋ d (t), x (n) d (t) (66)

If x (n) d (t) L n+ ɛ for all t t and for some ɛ > and given linear saturation functions σ i with parameters (L i, M i ) satisfying, L i M i i =,, n + M i < 2 L i+ i =,, n M n ɛ then, the feedback u = x (n) d σ n (y n + σ n (y n + + σ (y ))) with y = T yx e given by Lemma, where, e i = x i x (i ) d for i = n, results in a globally asymptotically stable system Additionally if linear saturators elements are used, the error dynamics are governed by Corollary The nested saturation law based reference model may be written as ẋ rn = ν cr ν h = σ n (y n + σ n (y n + + σ (y ))) ν h (67) where y i = T yx e cr where T yx is chosen according to Lemma 3 The limit parameters for σ i are no longer arbitrary but must be chosen according to Corollary 2 The rate of evolution 3 of the states now take a fixed value when the corresponding saturation element is saturated Assumption 6 lim ν h = t When the plant states x(t) are such that it does not leave the command-controllable region corresponding to the command x c, and x c is such that the system does not need to be saturated in order to maintain x c then for a range of plant dynamics f, and actuator capabilities, after a finite time T > the system trajectory will enter a region close to e = x r x = where no saturation occurs Theorem 2 Consider the system given by (2) together with the inverse law (5), reference model given by Eq (67) with gains chosen according to Lemma, limits according to Corollary 2 and Assumptions 2,3,4,5,6 with neural network training laws given by Eq (42), and Eq (43) with K r, κ, Γ V, Γ W chosen in Theorem, then the plant states (x) neural network weights (W, V ) and reference model states x r are uniformly ultimately bounded Proof From Assumption 6 there exists a finite time T > such that ν h δ t > T, δ > It can be shown 9 that with ν h acting as the disturbing input, Eq (2) is zero-input locally exponentially stable and x cr satisfies an asymptotic bound with linear gain and a non-zero restriction for ν h (See Definition 5) This implies x r is bounded and from Theorem with boundedness of e, V, W, boundedness of the plant states x follows Numerical Example Consider the following system ẋ = x 2 ẋ 2 = x 3 ẋ 3 = x 4 ẋ 4 = δ + 8 + x x 2 δ δ = σ 5 (δ des ) (68) where σ 5 is a magnitude saturation function with limits (-2,2) The poles of the linear compensator and reference model are chosen such that the closed loop system linearized at the origin has poles at { 5,, 2, 3} Hence, defining the errors as given by Eq (4), ν lc = Ke = [ 3 4 6 ] e (69) Additionally, the nested saturation reference model output is chosen as ν cr = σ 5 (x (4) c σ 4 (y 4 + σ 3 (y 3 + σ 2 (y 2 + σ (y ))))) (7) where, y is given by Lemma and may be expressed as 3 3 y = 2 x (7) The saturation function, σ i (L i, M i ) parameters were chosen as L 5 = 2 ɛ = 2 L 5 L 4 = ɛ L 3 = 2 L 4 L 2 = 2 L 3 L = 2 L 2 M 5 = L 5 ɛ M 4 = ɛ ɛ M 3 = L 3 ɛ M 2 = L 2 ɛ M = L ɛ where ɛ is a small positive number used to satisfy a strict inequality Additionally, x (4) c < L 5 ɛ Assuming that the approximate model for the dynamics is given by ν = ˆf(x, δ des ) = δ des (72) 8 of

The desired control is simply δ des = ν = ν cr + ν lc ˆν ad (73) 2 8 x Response nested saturation nonlinear linear where the adaptive element output ˆν ad is used to cancel the uncertainty (x, δ) = 8 + x x 2 δ If it is assumed that actuator position is known, our estimate of actuator position ˆδ = δ and hence, the pseduocontrol hedgingsignal, is given by x 6 4 2 ν h = ν ˆf(x, ˆδ) = ν δ (74) The neural network to approximate the uncertainty was chosen to have 5 input neurons with inputs x T in = [e T P B, x T, δ], 3 hidden neurons and learning rates Γ V = Γ W = 2 Although the reference model parameters are chosen to avoid actuator saturation, external disturbances and uncertainty may cause the actuator to saturate It is in these situations of saturation that hedging is required to protect the adaptive element from incorrect adaptation Figure 4 shows the step response of the system given by Eq (68) when using the linear, nonlinear and nested-saturation reference models Figure 5 shows the control deflection The linear and nonlinear reference models are aggressive; however the system states are unbounded The nested saturation law after some initial saturation and hedging activity during the learning phase for the neural network achieves the step command Figure 6 shows the response of the system to a square wave command Both the raw external command x c and the nested saturation reference model output x r is shown The states of the system x tracks x r Figure 7 shows the actuator position At times when the actuator is saturated, the reference model is hedged (Figure ) to allow the neural network to continue adapting correctly Figure 8 presents a plot of the uncertainty over time and the Neural Network s approximation of it Finally, Figure 9 presents the outputs of the different saturation elements in the nested saturation based reference model Conclusion The results presented in this paper are motivated from previous work on model-reference adaptive control 6 In a simplified form, exactly full-state feedback linearized systems are essentially n-integrator systems which may then be stabilized using conventional linear, nonlinear or adaptive techniques The nested saturation law and other related results allow actuator limits to be directly incorporated into the control law for the linearized dynamics Another way it may be employed is by using an n-integrator reference model controlled by the nested saturation law This leaves the reference model to account for actuator magnitude saturation It is the latter case that is presented in this paper In using a nested saturation law as the reference model, 8 6 4 2 5 5 2 25 3 35 4 Fig 4 State x response to a step command for the linear, nonlinear and nested saturation reference models δ 4 3 2 2 3 δ Control nested saturation nonlinear linear 4 5 5 2 25 3 35 4 Fig 5 Control signal δ for the linear, nonlinear and nested saturation reference models during step problems that arise due to large external commands are mitigated Another desirable property is that the poles of the system move in a predictable manner, when various elements of the law saturate and is an improvement over the nonlinear reference model 6 with arbitrary saturation functions and limits Appendix Definition (Linear Saturation) Define constants (L, M) R + such that < L M Now, define a function σ : R R σ is said to be a Linear Saturation if it is continuous, nondecreasing and satisfies a sσ(s) > s b σ(s) = s when s L c σ(s) M s R 9 of

4 2 States x state x c external command x r reference model state 6 5 Nested Saturation Law σ σ 2 σ 3 σ 4 4 3 8 σ i 2 x 6 4 2 2 3 4 5 6 7 8 9 Fig 6 State x response 2 2 3 4 5 6 7 8 9 Fig 9 Nested saturation law, saturation time history, σ i, for i = 4 5 Control Hedging 2 3 5 ν h 4 δ 5 6 5 7 Uncertainty 2 2 3 4 5 6 7 8 9 25 2 5 5 Fig 7 Control signal NN Approximation ν ad 2 3 4 5 6 7 8 9 8 2 3 4 5 6 7 8 9 Fig Hedging signal time history, ν h Definition 2 (L norm) For a measurable function u : [, ) R m, u sup u(t) t [, ) Definition 3 (Asymptotic Norm 9 ) For a measurable function u : [, ) R m, u a lim t sup{ max i m u i(t) } Definition 4 (Gain Function) A function γ : R R is said to be a gain function if it is continuous, nondecreasing and γ() = A globally invertible gain function is one that is a gain function that is strictly increasing and unbounded If a gain function has the additional property of being strictly increasing then it is a class K function Fig 8 Uncertainty and neural network approximation of it of

Definition 5 (Asymptotic Input Output Bound 9, 4 ) The system ẋ = f(x, u) y = h(x, u) with x R n, u R m, y R p is said to satisfy an asymptotic input output bound, with restriction X R n on x and restriction U on u( ), if there exists a gain function γ u ( ), such that for any x X and each locally essentially bounded u satisfying u( ) a < U, the trajectory x(t) with initial condition x() = x exists for all t and y(t) satisfies y( ) a γ u ( u( ) a ) 9 Teel, A R, A Nonlinear Small Gain Theorem for the Analysis of Control Systems with Saturation, IEEE Transactions on Automatic Control, Vol 4, No 9, 996, pp 256 27 Sontag, E D, An algebraic approach to bounded controllability of linear systems, Vol 39, 984, pp 8 88 Calise, A J, Hovakimyan, N, and Idan, M, Adaptive Output Feedback Control of Nonlinear Systems Using Neural Networks, Automatica, Vol 37, No 8, aug 2, Special issue on Neural Networks for Feedback Control 2 Hornik, K, Stinchombe, M, and White, H, Multilayer Feedforward Networks are Universal Approximators, Neural Networks, Vol 2, 989, pp 359 366 3 Johnson, E N and Kannan, S K, Nested Saturation with Guaranteed Real Poles, American Control Conference, Boulder, Colarado, June 23 4 Isidori, A, Nonlinear Control Systems II, Springer Verlag, Berlin, 999 Note that in contrast to input to state stability bounds, the definition of asymptotic input output bound does not prescribe a relationship between x(t) and x Lemma 3 9, 4 Consider the system ẋ = Ax + Bσ(Kx + v) + w y = x where, x R n If (A,B) is stabilizable and there exists a P such that A T P + P A and K is such that A + BK is Hurwitz and max{ v( ) a, w( ) a } δ then, the above system satisfies an asymptotic inputoutput bound, for all x R n with linear gain functions γ v ( ) and γ w ( ) References Johnson, E N and Calise, A J, Limited Authority Adaptive Flight Control for Reusable Launch Vehicles, Manuscript Submitted to the Journal of Guidance, Control and Dynamics 2 Rysdyk, R T and Calise, A J, Nonlinear Adaptive Flight Control Using Neural Networks, IEEE Controls Systems Magazine, Vol 8, No 6, dec 998 3 Idan, M, Johnson, M D, and Calise, A J, A Hierarchical Approach to Adaptive Control for Improved Flight Safety, AIAA Journal of Guidance, Control, and Dynamics, Vol 25, No 6, 22, pp 2 4 Calise, A J, Lee, S, and Sharma, M, Development of a Reconfigurable Flight Control Law for Tailless Aircraft, AIAA Journal of Guidance, Control, and Dynamics, Vol 24, No 5, 2, pp 896 92 5 Calise, A J, Sharma, M, and Lee, S, Adaptive Autopilot Design for Guided Munitions, AIAA Journal of Guidance, Control, and Dynamics, Vol 23, No 5, 2 6 Johnson, E N and Kannan, S K, Adaptive Flight Control for an Autonomous Unmanned Helicopter, AIAA Guidance, Navigation and Control Conference, No AIAA-22-4439, Monterey, CA, August 22 7 Johnson, E N, Limited Authority Adaptive Flight Control, PhD thesis, Georgia Institute of Technology, School of Aerospace Engineering, Atlanta, GA 3332, dec 2 8 Teel, A R, Global stabilization and restricted tracking for multiple integrators with bounded controls, Systems & Control Letters, Vol 8, 992, pp 65 7 of