Open access peer-reviewed chapter

Model-Based Adaptive Tracking Control of Linear Time-Varying System with Uncertainties

By DongBin Lee and C. Nataraj

Submitted: December 9th 2011Reviewed: July 16th 2012Published: September 19th 2012

DOI: 10.5772/51625

Downloaded: 1911

1. Introduction

This primary purpose of this research is concerned with adaptive tracking control of a nonlinear system [6, 9]. Particularly, time-varying control approach has been designed for tracking of the system with application to a nonlinear dynamic model [1]. Furthermore, the time-varying system is further complicated by parametric uncertainty or disturbances such as external forces, continuous or discrete noise where the parameters are unknown. Over the past several years, trajectory tracking issue as a high-level control of a nonlinear system has been received a wide attention from control community. Hence, the discussion here is principally devoted to model-based adaptive trajectory tracking control algorithm of linear time-varying (LTV) systems in the presence of uncertainty [4, 5].

A system undergoing slow time variation in comparison to its time constants can usually be considered to be linear time invariant (LTI) and thus, slow time-variation is often ignored in dealing with systems in practice. An example of this is the aging and wearing of electronic and mechanical components, which happens on a scale of years, and thus does not result in any behavior qualitatively different from that observed in a time invariant system on a day-to-day basis. There are many well developed techniques for dealing with the response of linear time invariant systems such as Laplace and Fourier transforms, but not applicable to linear time varying or nonlinear systems, nor feasible to implement for complicated real-world systems. In addition, time-varying system may be difficult to satisfy global controllability or to show whether the time-varying system is even stable or not, due to difficulties in computing or finding solution. Unlike LTI systems, linear time varying systems may behave more like nonlinear systems [1, 2, 3]. In general all systems are time-varying in principle and a large number of systems arising in practice are time-varying. Time variation is a result of system parameters changing as a function of time [5], such as aerodynamic coefficients of aircrafts, hydrodynamic terms in marine vessels, circuit parameters in electronic circuits, and mechanical parameters in machinery. Thus, we characterize systems as time-varying if the parameter variation is happening on time scales close to that of the system dynamics. Time variation also occurs as a result of linearizing a nonlinear system about a family of operating points and/or about a time-varying trajectory for developing control system. However, due to the desire to achieve better accuracy and quality in a wide range of applications [11], there have been increasing interests to include the effects of time-variation [12] while designing controllers or observers at the time analyzing and/or applying to such systems.

In this work, tracking error system is formulated based on its model-reference system which has a reference input and the nonlinear dynamic model of the inverted pendulum. We found a solution of the tracking nonlinear system after developing its linear time varying systems. For the development of subsequent control approach, the error system is linearized about given desired trajectory using a perturbation approach and produced a linear time-varying tracking error equation [3] with system matrices, A(t) and/or B(t). At this time the controllability of this time-varying system only shows that the system is stable in an instant time or about a trajectory which can be locally controllable or stabilized. Then, a novelty of this research is that a controllability grammian matrix is found to be a necessary and sufficient conditions of the global controllability and the inverse of the grammian matrix exists, which is nonsingular, and is used for the designing the control input of the closed-loop system. In this research, a complicated solution of state transition matrix is obtained based on Taylor series expansion, categorized into feasible forms based on the system and the shape of matrix. The control input of the tracking system is designed from the state transition matrix and the grammian matrix, which makes the system globally controllable, and the control input of the actual system is redesigned via the tracking controller while compensating for the uncertainty as disturbances, which also yields the system globally stable. This chapter consists of as follows: a time-varying system is briefly described relative to a time-invariant system and a non-homogeneous system is introduced for linear time-varying system for the development of the solution which is state transition matrix in Section II followed by Introduction. Then a cart-pole nonlinear dynamic model where the system parameters are unknown is developed for the application of a proposed control algorithm and expressed into a state space form. For the trajectory tracking control, error signals are formulated from desired model-based reference system. Based on the analysis of the developed time-varying error system, the solution of the system, state transition matrix, is derived in a series form and then a special form of the matrix is obtained for the second-order error differential equation, which is used for the grammian matrix and the closed-loop controller. The control system is also developed to reject disturbances via a projection-based adaptive control approach and update laws for the parameter update in Section III. Numerical simulation results with analyses demonstrate the validity of the proposed system. This approach can be extended to other nonlinear time-varying dynamic systems such as aerial-, marine, or ground vehicles.

2. Linear time-varying system

A linear time-invariant system (LTI) is described as

x˙=Ax(t), t0E1

where the equilibrium point is at the origin and if det(A)≠0, the fixed point is isolated and the stability of the origin depends on the location of the eigenvalues of the matrix A()n×nwhich is not a function of time. The solution of (1) with the initial state x(t0)is given by

x(t)=exp(At)x(t0)E2

Another LTI state equations is given by

x˙=Ax+BuE3

where A and Bare time-invariant. It is known that the solution of the equation (3) using an integrating factor yields A()n×ncan be time-varying or time-invariant. The solution of (3) with the initial state x(t0)is given by

x(t)=Φ(t,t0)x(t0)+t0tΦ(t,τ)Bu(τ)dτE4

where this is a convolution control solution and the state transition matrixΦ(t,t0)=eA(tt0) and Φ(t,τ)=eA(tτ). The solutions (2) and (4) make clear the importance of the matrix exponential exp(At)and its eigenvalues. However, these techniques are not strictly valid for time-varying systems.

2.1. Homogeneous system

A time-varying system is described as

x˙=A(t)x(t), t0E5

wherex˙(t), x(t)n, and the matrix A()n×nis not a constant as a function of time; it is nonautonomous [6, 7]. The general solution of the (5) in n-dimensional linear vector space, x˙i(t)=A(t)xi(t)n,is unique for the space on [t0, t]in case A(t)is smooth where xi0 (i=0, ... , n)is a basis set of n linearly independent initial condition. According to the linearly independent solutions, a system is defined as

X˙(t)=A(t)X(t)E6

where X(t)=[x1, ... , xn]n×nis a matrix which has the linearly independence solutions which showsX˙(t)=[A(t)x1, ..., A(t)xn]n×n. The general solution of (6) is given as

X˙(t)=X(t0)Φ(t, τ)E7

where X(t0)is the matrix of the initial value of state, Φ(t, τ)n×nis called the state transition matrix as known as a fundamental solution matrix associated withA(t), having a form of exponential function.

2.2. Nonhomogeneous system

A linear time-varying system (LTV) is described as

x˙=A(t)x(t)+B(t)u(t)E8

whereB(t)u(t)n,   B(t)n×n,   u(t)n, B(t)u(t)n, in which B(t)n×ncan be input configuration matrix and u(t)nis the control input where n is the number of control inputs. Note that in case the control input is underactuated, then B(t)n×mand u(t)mwhere n-m is the underactuation, or the number of underactuated inputs. For the controllability of time-varying systems given in (8), the state transition matrix (or known as fundamental solution matrix) is the overall solution and used to perform the function of integrating factor where the solution is derived from a linear independence on the columns of a matrix that was a function of Φ()andB().

2.3. Solution of the state transition matrix

The system is controllable if the controllability gramian (or grammian) matrix GCn×nbelow is nonsingular, i.e., invertible for the necessary and sufficient condition

GC=t0tX(τ)XΤ(τ)dτE9

where the rows of the matrix product X(τ)=Φ(t0,τ)B(τ)are linearly independent in an interval. In order to prove the invertible exists, the control input u(t)of the system can be designed based on the gramian matrix as

u=KBΤ(τ)ΦΤ(t0,τ)GC1(t0,τ)x(t0)E10

where K=diag{k1,...,kl}n×nis a control input gain matrix and GC1(t0,τ)is the inverse of (9). Convolution integral solution to determine the state at the end of the interval, x(t1), yields

x(t1)=Φ(t1,t0)x(t0)+t0t1Φ(t1,τ)B(τ)u(τ)dτE11

where the solution of linear time-varying system Φ(t,τ)is given by

x(t)=Φ(t,t0)x(t0)+t0tΦ(t,τ)B(τ)u(τ)dτE12

The expression (11) yields by factoring Φ(t1,t0)of the left side as

x(t1)=Φ(t1,t0)[x(t0)GCGC1x(t0)]=0E13

where (9) was used and this implies the control input, u(t)in (10), drives the system to reach the zero state, in which Kshould be the identity matrix. Now the system is controllable and shows that the controllability gramian is invertible.

3. Application to nonlinear inverted pendulum system

3.1. Dynamic model

A continuous nonlinear time-varying system is given as a combined model based on the inverted pendulum [1] expressed by the second-order differential equation by

θ¨=gL^sinθ+uE14

where θ(t)is the angle of the pole of the inverted pendulum which is subjected to the external forceu(t)1, gis the gravitational force, and Lis the combined parameter term given by

L^=J^+m^l^2m^l^,E15

where L^is an unknown lumped parameter, in which J^is the inertia of the pole, m^is the mass of the pole, and l^is the length of the pole. The system can be expressed into a state space model in order to analyze as

x˙1=x2x˙2=gL^sinx1+uE16

where u(t)is the actual control input of the inverted pendulum to be designed later. Let x˙2d(t)be the desired model-based reference system as follows

x˙1d=x2dx˙2d=k1x2d+gL^sinx1d+urE17

where the first term k1x2d(t)in the right side of the second row equation is added because the response of the second equation can be divergent due to the positive reference inputur, in which k1is a positive constant.

3.2. Error formulation

Then, the error equation can be derived from the subtraction between the desired and the actual system as

e˙1x2dx2=e2E18

and subtracting x˙2(t)from x˙2d(t)and substituting the second equation of (16) yields

e˙2x˙2dx˙2=gL^(sinx1dsinx1)+urk1x2du.E19

Let the error, e1(t), assumed to be small. Then, e1(t)produces

e1=x1dx1ε0x1d,E20

which results in x1=(1ε0)x1dwhere ε0is positive constant. Substituting this x1(t)into the parenthesis term for sinx1(t)in (18) and using the sum of sines yields

sinx1d(sinx1dcosε0x1dcosx1dsinε0x1d)=e1cosx1d.E21

where cosε0x1d=1andsinε0x1d=ε0x1d=e1. Hence, (18) yields

e˙2=gL^cosx1de1+urk1x2duE22

where the parameter Lis unknown. Putting (17) and (21) together into a matrix yields

[e˙1e˙2]=[01gL^cosx1d0][e1e2]+[01]u¯E23

where

u¯urk1x2du.E24
(23)

3.3. Solution of the linear time-varying system

The solution of linear time-varying error system for (22) is given by

e(t)=Φ(t,t0)e(t0)+t0tΦ(t,τ)Bu(τ)dτE25

However, it is difficult to find the state transition matrix of (22) since the system has a function of time in the A(t)and coupled. However, the fact that (17) and (21) can be considered as decoupled between two equations helps to find the state transition matrix,Φ(t,τ). The solution of the first equation in (22), i.e., (17), yields

e1=etτe20E26

wheree2(τ)=e20. Substituting (25) for e1(t)into the second differential equation of (22) produces

e˙2=f(t)etτe20+u¯E27

where f(t)=gL^cosx1dand the equation can be easily decoupled from the (25).

Thus, the state transition matrix, Φ(t,τ), yields

Φ(t,τ)=exp[τtf(ν)etτdν]E28

where it is identified that A(t)is a scalar form,f(t)etτ. In this case the gramian matrix is defined by utilizing (27) as

GC(t0,t1)=t0tΦ(τ,t0)BBΤΦΤ(τ,t0)dτ,E29

where this gramian matrix is positive definite and nonsingular, whose inverse exists and satisfies the sufficient and necessary condition of the controllability due to the time-varying system. Applying (27) to (24) for solving (26) yields

e2(t)=exp[τtf(ν)e(ντ)dν]e20+τtexp[νtf(ν')e2(ν'τ)dν']Bu¯(ν)dνE30

wheree2(t0)=e20. Then the open-loop control input for the second equation of (22) using a controllability gramian term is

u¯=KBΤΦΤ(τ,t0)GC1(t0,τ)e2(τ)E31

where B=1and Kis the control input gain constant, and u(t)in (29) will be designed in the next. From the definition of u¯(t)in (23), the control input u(t)is designed in the presence of the parametric uncertainty as

u=u1+gL^cosx1de1+1γeΘ˜Θ^'E32

where the first term, u1(t), is designed for subsequent control development as

u1=urk1x2+k2e1,E33

the second term, L^, in (32) is the estimated parameter term of (14) and the following adaptation laws are used for the parameter estimator, Θ^'(t), while compensating the parametric uncertainty.

3.4. Adaptation laws for parameter update

Substituting (32) for u(t)into u¯(t)and rearranging yields

e˙2=YdΘ˜e1+u˜E34

whereYd(t)=gcosx1d,  Θ˜=1L1L^, and

u˜=k1e2k2e11γeΘ˜Θ^',E35

in which γeis constant gain value. Rearranging yields

e˙2=Θ˜(Yde11γeΘ^')k1e2k2e1E36

Then, the adaptation law is designed as

Θ^'=γeYde1E37

Hence, the final error system utilized (37) results in

e˙2+k1e2+k2e1=0E38

The following is assumed to define the upper and lower bounds of each unknown parameters

Θ^_Θ^Θ^¯E39

where Θ^is the estimated constant parameters, Θ^_, Θ^¯are unknown lower and upper bounds of the estimated parameters as shown in system parameters, respectively, which will be set to the amount of percentage of their true values. Θ^˙(t)vector is designed to update using a projection-based algorithm as

Θ^˙=Proj{γeYde1, Θ^}E40

where Proj{}is the projection operator [8] and each parameter is adaptively updated using adaptation laws for online estimation of unknown parameter as follows:

Proj{Θ^˙}={γeYde1               if  Θ^>Θ^_  and  Θ^<Θ^¯γeYde1          if  Θ^=Θ^¯  and  if  γW0γeYde1          if  Θ^=Θ^_  and  if  γW>00                                   elsewhereE41

It is straightforward to make a conclusion that the above adaptive control approach is applied to (36) and then the parenthesis term in (36) will be going to zero, resulting in (38) if both are perfectly canceled, which yields globally stable tracking result.

4. Numerical results

The initial condition of inverted pendulum angles is given as x1(0)=[0.1, 0.5, 1.0] (rad)  [6, 17, 57] (deg)as shown in Figure 1 where each actual angle of the pendulum track the desired anglex1d=0, starting from its initial value. Note that the initial angular rate, x2(0), is zero. In Figure 2, the actual angular rate tracks the desired angular rate of the inverted pendulum. In Figure 3, their tracking angle errors are shown in the top plot and the error rates are shown in the bottom plot, where the errors and error rates are close to zero and thus the tracking system works well. The control inputs are in Figure 4; the control input shown in plot (a) is the designed control input in (32), which is used for the control input of the system dynamic model given in (15), the control input shown in plot (b) is the control solution given in (31) of the tracking error dynamics in (34), which enables the global stability, and finally the plot in (c) is proposed controller of this research, i.e., the closed-loop adaptive tracking control input designed in (35). Figure 5 is the estimate of the time varying parameter, L^ofL, in which the simulation parameters such as mass (m), length of the pole (l), and inertia of the pole (J) are combined together and the values used in simulation are as follows: m=0.127 [kg],l=0.3 [m],J=0.05 [kgm2], and g=9.81[m/s2]. The percentage of the upper and lower bounds given in (39) is set to 100%. The nominal value of 1/Lis 0.612. Thus, the upper bound is 1.232 and lower bound is zero as shown in Figure 5 and the time-varying parameter estimate is varying within the bounds. The error dynamics, e˙2(t), developed in the main body of this chapter are shown in Figure 6; the plot (a) is the second equation of (22) with the control input given in (31), the plot (b) is the output of the error dynamics given in (34) with the control input (35), and the plot in (c) is the final error dynamics given in (38). In Figure 7, those velocity errors with regard to the dynamics are shown. The reference velocity, error control gain constants, gain value, and control input gain matrix are

Figure 1.

Tracking Angle (x1(t),x1d(t))

ur=0 [m/s], k1=30, k2=700, γe=100, and K=I2E42

where I2is 2×2identity matrix.

Figure 2.

Tracking Angular Rate (x2(t),x2d(t))

Figure 3.

Angle and Angular Rate Errors : (e1(t),   e2(t))

Figure 4.

Control Inputs: (a) u(t)in (32), (b) u¯(t)in (31), and (c) u˜(t)in (35)

Figure 5.

Parameter Estimate (L^(t))

Figure 6.

Error Dynamics of the Pendulum (a) e˙2(t)in (22), (b) e˙2(t)in (34), and (c) e˙2(t)in (35)

Figure 7.

Velocity Errors from (a) e2(t)from (22), (b) e2(t)in (34), and (c) e2(t)in (35)

5. Conclusion

A tracking control of a model-based linear time-varying system is developed in application to the nonlinear inverted pendulum model. A novelty of this paper is that not only found a gramian matrix which is difficult to find or compute but also utilized to the linear time-varying tracking controller which satisfies the necessary and sufficient of the global stability of the system. Another is that the linear time-varying system is further complicated by parametric uncertainty where the combined parameters are unknown. The suggested adaptive control approach and update laws are applied for estimating the parameters while preserving the system to be stable and converging the tracking error close to zero. Numerical simulation results are demonstrated the validity of the proposed system.

Acknowledgement

This research is supported by Office of Naval Research (ONR, N00014-09-1-1195), which we gratefully acknowledge.

How to cite and reference

Link to this chapter Copy to clipboard

Cite this chapter Copy to clipboard

DongBin Lee and C. Nataraj (September 19th 2012). Model-Based Adaptive Tracking Control of Linear Time-Varying System with Uncertainties, Numerical Simulation - From Theory to Industry, Mykhaylo Andriychuk, IntechOpen, DOI: 10.5772/51625. Available from:

chapter statistics

1911total chapter downloads

More statistics for editors and authors

Login to your personal dashboard for more detailed statistics on your publications.

Access personal reporting

Related Content

This Book

Next chapter

Issues on Communication Network Control System Based Upon Scheduling Strategy Using Numerical Simulations

By Oscar Esquivel-Flores, Héctor Benítez-Pérez and Jorge Ortega-Arjona

Related Book

First chapter

Modeling the Physical Phenomena Involved by Laser Beam – Substance Interaction

By Marian Pearsica, Stefan Nedelcu, Cristian-George Constantinescu, Constantin Strimbu, Marius Benta and Catalin Mihai

We are IntechOpen, the world's leading publisher of Open Access books. Built by scientists, for scientists. Our readership spans scientists, professors, researchers, librarians, and students, as well as business professionals. We share our knowledge and peer-reveiwed research papers with libraries, scientific and engineering societies, and also work with corporate R&D departments and government entities.

More about us