+ All Categories
Home > Documents > Nonlinear control notes

Nonlinear control notes

Date post: 06-Apr-2018
Category:
Upload: anuplonkar
View: 237 times
Download: 0 times
Share this document with a friend

of 54

Transcript
  • 8/3/2019 Nonlinear control notes

    1/54

    Nonlinear Control System Design

    . Objectiv e o f Con tr ol des ign: G iven a physic al sy stem to be con tro lledand the specif ications of i ts des ired behav io r. construc t a feedbackcon tr ol law to make the c lo sed loop sy stem d isp lay the desired behav io r.. Two bas ic type s o f con tr ol p roblems:. Regula tion: G iven a non lin ea r dynamic sy stem describ ed by

    x' = f(x,u,t)

    fin d a contro l law u su ch th at, sta rtin g from anywhere in a reg io n w, th estate x te nd s to 0 as t-> in f.. Track ing: G iven a non lin ea r dynamic sy stem describ ed by

    x' = f(x,u,t) Y = h(x)

    an d a d esired outp ut trajecto ry yd, fin d a c on tro l law fo r th e in pu t u su chthat, s ta rting f rom any in itia l sta te in a region w, th e tra ck ing e rro ry (t) -yd( t) goe s to zero, while th e who le s ta te x r emain s bounded .

    . Procedure for Cont ro l Design:1 . Specify the des ired behav io r.2 . Mode l th e physic al p lant by a s et o f d if fe rentia l equations .3 . Desig n a contro l law fo r th e sy stem .4 . Ana lyze and s imu la te th e re su lting con tro l system.5 . Imp lement th e con tro l sy stem in hardwa re .

    . Feedback and Feedforward.In a contro l law, th e fe ed fo rward p art is u sed to can cel th e effects o f k nowndis tu rbances and provide anti cipa tive act ions in tracking tasks.The feedback par t then s tabi li zes the tracking error dynamics.

    . Many o f th e trac kin g contro lle rs c an b e w ritten in th e fo rmu =feedforward + feedback

    1

  • 8/3/2019 Nonlinear control notes

    2/54

    Methods for Nonl inea r Cont ro l Design .

    Tri al and Error :B ased o n an aly sis meth od s, u se an aly sis to ols to g uid e th e search fo r acon trol le r. Expe ri ence and intuit ion a re c rit ical. No t sui table for complexsystems.

    Feedback Linearisation:Dea ls w ith te chnique s f or tr an sfo rm ing o rig in al s ystem mode ls in tol inea r equ ival en t models o f s imp le r form.Transf orm th e non lin ea r sy stem in to (a f ully o r p artia lly ) lin ea r sy steman d u se th e well k nown an d p owerfu l lin ea r d esig n te ch niq ues tocomplete contro l design.App lic ab le to inpu t s ta te lin ea risa ble o r m in imum pha se sy stems andtypical ly requires ful l s ta te measurement .Doe s not gua rante e robu stn ess in f ac e o f p arame te r unc er ta in ty o rdisturbances.

    Robust Control:

    In p ure mod el b ased n on lin ea r co ntro l, co ntro l law is b ased o n anominal mode l o f th e phy sic al s ystem - uncerta in tie s a re notconsidered.

    In robu st non lin ea r con tro l, c on tr olle r is d es igned based oncon sid era tio n o f both nom inal mode l and some cha ra cte riz atio n o f th emodel uncertainties.Appli cable to a speci fi c c la sses o f non linear sys tems and generallyrequire s ta te measurements .

    Adapt ive Control:

    Dea ls w ith unc erta in o r time vary ing systems.Adapt ive contro l i s inherently nonl inear.App lic ab le main ly to s ystems w ith known dynam ic s tr uc tu re , butunknown constant o r s lowly varying parame te rs .U sed mostly fo r S ISO systems.

    2

  • 8/3/2019 Nonlinear control notes

    3/54

    cleJ'jn a'IL ' .so lhoJ-.J1.u. c.tbave .sreilJ-t'LoI. '

    ~je.J1v,", ~ t.0Uuv "t

    ~ ~ D

  • 8/3/2019 Nonlinear control notes

    4/54

    0

    u.::. td - f(7() T Ke~~

    F. f. F-B.

    5~~"~ ~ .oJ.s ~!a.w r ! . . J . u . u . J G tv...e,.:: - K e - . . .. hue K ~ ~ .scola.C feJdbcuJc L6Nl~.

    '. e,C t);:: e,(o) eXf (- K t' )

    dt e(t) je.J ro ~ c.4 t ~ 00

    NoVY if e-+ 0) x-~ 'XJ ::::, x tr~ :t J .

    e 6: L \0 .::::( ';t c LiP

    t..t 6L -O b

    ?

    ~

    X GL- tX )

    A II s! j rtOJ.1 b (9.-VJI d ~d .

    NoteJ / ".tomme.n.k1 :FoT (A 1-1r1 t a-} clt.k ~'f t~ ) ~;: -"?L ..u a --s ~ lL f'-'t rn .

    Th.u~re w &.vijn 'u ' s~ ~~ .it (e..~ J4 VtJurt: ~teff) f-o

    }h.isA~I-e.. ~m )

    .: o.J e., -? 0 l?t J-U'~ to at:t-c.LJf'\ .th.a ~lrJ ')(d

    In fhtz- ..-umh ~ lQ.N\l, .ih.t j-u Jfc'wtM-J }Q.m :.u )f\l-W ~ J J-o oU>Jh1 s , ~ cJ l1u. fu . J b tUJ:: 1-VerY ) J h:.t.bI'u s ~ .tht. Jf \em .

  • 8/3/2019 Nonlinear control notes

    5/54

    )'JOY') \ ~r1.( . ctk. ~ .

    lA J"j>tive ~&-tJ. - 1'io1l:- onla '~iJVt.. rn L..'jo.rlM \.l)V~ :N N

    y: : ..1 e2 + 1 e 1 e2. z

    Z =l~ 1 ;., 1ht. 5~aJ;;e ve.tlrH :..v :u r (J .&..i~ t.u1..b~d..e d ~ z.,

    \" e. v -;. ()O o-.J Z -'r ro

    .. . v:U p~i & ivec4f rJt~ M z..

  • 8/3/2019 Nonlinear control notes

    6/54

    '!e,fY )m o. 1. : IJ - 1. V~O5.J

    ;l . V.~ -d(t-)..

    ~ ~lt) E loa

    (UlJ dlt)~O J'hLrI/

    J..((Y) q ( t) . : ; : 0- t . -(X) 0

    .V:= ~e 1- $1" e

    .I tV N AY = e L-Ke - tV e ) - eTJ..

    '2..N :..

    V = - Ke + e" (- vV"T-e )NON; we.set ec)-

    .. 7 0 ~y ~ - d-Ct) j ~(t ) E:- L~

    :. .um-b-""vO

    ~lt) :=-0 . ...u..di~)h.Q o..b ov e .l.D ...rn rt a . .

    :=(> JAm eJt);: 0- \ :"">

    . ~ .. . 1C - ~ ~J

    V A..-CUIhe. Aa...vvn cu :

    y ""rper I.OW\cl.t.J b'J v (d )

    -L(0 )

    -t t lowu ~ J '1 a-(-t) =0

    The. , ~ -t>J 1o-oy So' t eKr) -l.-V') b~ W ".;1t .enOJ:.. Ne.::: -k:e-wb(J/ 'Vf3 : : : . wi e

    ~. ~ =\

    -I( - V\ J

    ]

    z .

    LWT 0

  • 8/3/2019 Nonlinear control notes

    7/54

    TM ~ jl~oJ LMJm . r I - o t 1 e -J ? ~ ~ .

    1 ~ . . . :u 0 . ~ n ~ c . ~ .

    A - L d0 I.e :- L .oo::?? e G LDO

    "

    N

    -# X Jf)

    I e& LIP

    .::.?t:7?( 6: L..iP

    (M)J U. E: L~

    .. . o.il 5ijnCA~ b~~ d.

    Nob~ / J..ommeN-J .1.. Aol."frtV'e ~ ~CU) b~ ~ 0 1

    L.i n~ P&vt.CAmel u..!'Je 01 .,2 . 5ina 1M ~A.i~ ..w

    ,t{ M ' Jh~ w/lt bri

    ~ ~.e == -I

  • 8/3/2019 Nonlinear control notes

    8/54

    I

    \20J0wr .-toAh ~ .\-to~ i 0{V t. ./h .t- r r1 t 01 J eJ t .s~ teM- c.. ~

    x: f(?t) -t- III

    If f( ] t) -Lo..A1 b~ vV rilt u) 0wJ:

    ~(?t) 1

    -< ~ex')

    1

    - . . . hu~

    f(')1.)= l,U'\.IGn.oWY\~n o...rrJc.{.

    ~(IC)= !qwwt') bO"W)JJn3 ~~.

    In ..s~ ,.-GU.J , .B.bw t .um .h& t ,( (} .f ) be ,.uJe J.

    Adetp t1ve -W"Y\h~ .({).o Mt be ..u.J.ed 'le J~reh-t.\~ swi kNJ inz:.eAO P i rYtJt .

    Yp.. ==- \/2.2. = -L~'2. e . . . .G

    I-U Jh j~ r) 6 A ..J .s mOtll I '/6 ~ Nj"-.

    Ve~ VJ2.3:' r. e. .. - - .. HJ j hrr'4--Ie\+-6

  • 8/3/2019 Nonlinear control notes

    9/54

    fo'N i~ VI2- ::- VR.\

    j ;. ~ - \(" tfc-,)-V.I ItonA ioLuc. 1WL '-J or UJ\.OVF &rI.. .

    y:;:.. 1.e,2.

    2-.'. e,2-= 2.Y

    . f'v=e.e=.. e. (- Ke i fC 'X ) - V~I )0 1-V ~ - K e ;- !~ \ \f(11)\ - (.,\I ~ \

    0 2.V ~ - Ke +- \e 11}(?t)\ - ~ ~

    \ e \/I

    '2..V :5 - k e + Ie.,\f (?f) - ~(oX)eI

    0 ~.'. V ~ - ke

    0

    " ~ -2.\(V

    . 0-. V +S[t ) =--:2.lcJ

    . 0V +-2KV =- -SCt) .5lt) ~ 0

    t-2~ t- r -2." \;V (t);:. VCO) e.x.p(-z Kt-) - e J e.. SCe) a t:.1

    bo1 1

    t,,~ -tv(.. +vt.

    .. V(t ) ~ "Co) t-x.r (- 2~ t)

    .'. .leZ{t) ~ J..e7..(o) !'X..p(-2~t;)2 z. . I

    .\ eltJJ ~ \ e(o) \ (? tfC-Kt)

    e . L~

    X- 6- L IX:)

    t(~) t \..ib

  • 8/3/2019 Nonlinear control notes

    10/54

    ~ iolvt:. v ~ -;::. \I f2. 'l-

    I

    ~ = -Ke+t(>

  • 8/3/2019 Nonlinear control notes

    11/54

    ~ I J.a. Vv-~ V~3

    1

    e = -Ke T J(X)-V~3l

    v ~ -\

  • 8/3/2019 Nonlinear control notes

    12/54

    4 vUB ~l~1 ,u - fJ .Jh.w-rt2.m.

    l.tJ: V (t) ; 62' be 0 . fO"1,l-iv e ~cY) 1-fTrrL.l. (9.() [o,~) wklc.l

    soJ1.$/~u fu cLiff~cM ]f\Ljucd.t'1

    V ~ - (V + .rv-h...tA.-e.e: rz ! ~J 6 - ...' G\k2 'PC>1tlive .l.brV~, ~I

    -'If: (-rb )[t)~ e V(O)+~ t-e

    (

    \f 17 E; [0 I 00 1 .

    P4~\; + (V-6 ~ 0

    vvt.. LGlJ'") rv ti~e .thi oS a .J

    v+{v- = - S

    V -:: -(V 1-6 -,5 whQQ.s (t;-) f;-"" .i..J ( ). fb1LtiVe. ~'&.f\. .

    1"hL abov e r I teuuJ1 oJ -l4 \(.CJ1~ ..LCUI be ..5~ v ~d 1-0 j ~ II t t"vet) = eft: V(o) -t-eoft-

    Jtic. J"C. - e:(t- j ef' SCT.),h.

    ... Sl t"") ..u (.l'POJL~ ve F,u.11c91) I w e ~~ ..u.Je ih.e. a..bov e e.t n .

    'N e ~oJ) ~L~I"\ .thR ~W"iJ JfP~ bG1-uJtJCH) 1h.l -scl .uJ1~

    '1v (t ) : {-

    vet) ~,(t"

    VCo) ~ c ~ (~ [e n : :011:CJ

    -it- I - yt:). Vlt) ~ e V(o) + ~Lt-e.r

    v l;- G[0, 00'

  • 8/3/2019 Nonlinear control notes

    13/54

    ],-ecxWj ~ .1

    If -f (/~i(f ~)

    '".DeJij~ c l 5 LM . h 1hu-t- ~ -5~~ s~ b~chJ ~J eao~ tv Q,

    de\;) = sat5 l j (b--T )) -~e

    ~.~~

    5o-..tg = fx. ~ 1')( \ So B.~ s~I') ()t)~ ~ 1')(1? B

    JLt):: s~ l J (i ; --n) =- s~B (oI(t))

    J (1::-):; J (t) - ~(t)

    ::: ..soJ-a(d{t-T)) - salSCJ'({:--T)) +KoIe.

    LJ "'f VVUJV ~.rHwj1 fs '.

    tV:;

    ~e'l. +

    k~ r [soJ:g(~("C)-so..t-B(d (~))J.201c

    t,-,

  • 8/3/2019 Nonlinear control notes

    14/54

    v ~ C>

    v = ee + 1-. [~oJ :B(c ;\(t-))-S~ECJ[I;.))]:z - ..L[SoJg(oI(t-L))-Sat-B(j(~-'T))~~ 2~ ~

    - ".t... N .,

    J2. N

    J2

    V;: e(-ke -~(t)) + 1 [StA!e>(Jt)) - StA.t6(d({J) - ~ [J -! Loa

    Now v~ 0..v ~ -0 (t)

    .', ).MI' ~..tht. L..t'.Y!ma. 1.

    ..tAm- \ ;~>

    cr(t) = 0

    .. v 6 Loa

    =:!l' e 6- t..ro

    - = = ? ')( -G L IX>

    d(~) L.v '.' 1 ~ ~CAt ~ON'-,\A . & L./P

    .', A II .5 t~ nolJ Wc(. b 6C .A l-\J~ oI.

  • 8/3/2019 Nonlinear control notes

    15/54

    5 e .o U jl ~ rM Trruki 1 .G - h r e K 1 .s(t1te v u . ~

    - ; = t(')() +- u.

    Eyyor stt" eMA:

    i = .;J. t-f(1\) - l, l"wf\h: ~ oLu'or' :

    JLL= Ke + ,( ~ + y ].,

    ,: e = - k e -t j (71) - v/f f (11.) ~ C).1h.Ln..L-U "J ~ I'Y1OJ) va.lu e Jhwr un .MetU ) V ~~e Tl-\wC tAM .! If, J :u a ~(9.f1 ..r~.J1 ocr/

    \It ; iJ .u>N1r\M.cvU ~ .fhL ...ttD:JeJ. ,n1:-Vtval lA, b J arid ~ J.;Jf~eJ,}e.9-f'I ./'"M '1U1 In .r

  • 8/3/2019 Nonlinear control notes

    16/54

    v ~ - eZ-- (k() - i (.) ) \) e .112.

    :j ~ - (,'1.. Ir )(("\ ~ ) (.)

    E>.: 'I ~ -:z..v It Kn >/ ~(m)

    vet") ~ VCa)e"Xf f:z..c)

    vCt) ~ v{o) ~?tf(-2t) ~~ Kn ~ f (v2 . V{eJ ) ) .' ~ ( .J 2. "(0 ) ') ?

  • 8/3/2019 Nonlinear control notes

    17/54

    .,

    (Ln~ G = riTe

    tn~1II> N

    e = -Ke 1-we- ) eLJ~ !MI."" OJ) ~ is :.MJt'\.t ic L v c

    1 2. i N Nv= e + eTe2- 2...

    N

    ";..; .

    e =: .e - e ). e:=. -& = - 'A Ire..

    0

    V = - ez-- "e lIZ.C Kn - ~(II ell)) + e vV~ - e T6/9

    "~ -C.?- At

    ~~. ?-V ~ -e

    0

    :. V ~ - 3'lt)" "~ (t ') ==-2~e.v

    \

  • 8/3/2019 Nonlinear control notes

    18/54

    J)eJ ) j n e ' )(CA-W-f :

    Cj',va) s(fteN \.t. ~

    0

    X -= ~(t) l.l ::: MJj Lt) u.

    DlJ J("\ ~ .{..{)t!r&/ so rhqj-~ DeJion:

    u.. :: --arj(t)~

    5~jh'~ ~~i.s:

    V = l..x~2.

    "X. j .u to ~,

    y = - ~2{t:) X'J..

    I[,t;) .= ~2.( t-) JC"2-

    3(t):: -2,t.C')L-t)~n(t)x2.+ z,){'( .,UJj1-{t)

    J.;m

    -b -"r ID

    ;(b)2.[t)J{L= 0

    x l.{ G LA:>J

    VVt- htMte. ~et) IA .s~ lhtif .A...r d\~eJ Slt~ tU ~(-t) '~7 Air,

    :. If (to;) AJ ~Wr\ / y(;U ko..N "e .:Iv CVYtUft)e lho.r ~t) ~ ~-

    4W \jl. 5ij ns. l', ~. ;if :.u ~ .st'kJ.

    N~ / .tommef\h .,. W't.- h . . c v v e ~e(\ u.

  • 8/3/2019 Nonlinear control notes

    19/54

    r s""""J o.J ek ~r

  • 8/3/2019 Nonlinear control notes

    20/54

    I} r n o d . eA .u IW t .e'K.~ ~""().

    5 e ..lea-",... /I.,,"

    ~ := . m (q." +- Kve + \(: r e ) + VrrI 9 t- N

    . .C> ,... ,.) -0 "II /0..me :: - m(~v e. T Kpe) + (m-rn~c ! + (v rf1 -vm)~ +- (N - N)

    .'. e :: -Kve.- Kfe + (:r-m'r~) (K,,~ r\(re) T m '( ~ 9 j +~ tY1 qt-N)we ttd d A-nd fUh tnill"" K"e /; Kfe Jv M 'e to J tI fh.f. fA .h(jV ~ re i vJt

    N ,..( ) . .Lao , M'= rn- M ,

    A,.) " N ,..\Jm :: . V('{) - Vm N -:. N - NI.'0

    0

    f (IV t"\J

    f'J ). e. + f

  • 8/3/2019 Nonlinear control notes

    21/54

    L-Jtlfwwv tU1~ i:s "

    v::= 1. r1 rY ) r + J. ~1 e

    2. 2.

    0 , . . . .y= r rnr+lr l rnr-eTe2-

    "V =(" T

    l- \1 M r - kr - t 't e) - eT

    't

    1

    r +- J. .rT

    M r:z.0

    1\"f) :=. VrY'I:z,

    . iV = -( Kr

    No \ : ;~ / .L o f ' r ) (' ( \ enh :

    1. we..u.Je 21mr~~ frnpub'eJ 1- Me'!)

    1. me,) .:u pOJit1ve- d.R.f . i l ' , . . i te .- JrY)n1clr-1c. .

    ~. xT (~~ - \ In ' ) J'x : := 0 l. ~ . ~M -::. \J""

    ,< . c,J lM 1 ,J';0"Y"\4 F v..V ': t { rTU"r1 + r1 CMrt- me)} +-t t~\J't- 6': }

    1 (1"", ;- - \- .l .r1~r + l.r1mr]. ~ z

    .r .:J N ,N1N

    1h i1~ +B /J

    \' 1V 1'" '" ~ 1+t t 0 e + a"Te J

    := 1 r "YY ' \r +-.1 rlmr 4-.1r1mr2. z. 2~T

    :.

    - r\'1'\r + l.f" m r + e'f Z],

    =.

    i',. , N1"r rnr -t 1( ~( - e 8

    1-

  • 8/3/2019 Nonlinear control notes

    22/54

    R6bwt ~ '., 0 0

    rn ~ t Vm9 -rN ::; "!:

    e.::~.4-~

    F i/ b tk . t;ra ..d c.l~ vvw-r ck1~rU..Clcu :.. .

    M r ::

    e + oCe0

    mr:::: -\lm r -tW-"Z:

    wh~ w= ml9'cI +~e) tVm(~~To(e) t- N(qJ~)

    P1) m(~)".u p. D . 5jMMe.n1 c .

    P2-) Xi(~~-v",,))(::: 0

    ~obwt .w~ ((1 u..t(eJ: Iwc..)) ~ f c)

    AcA.ttpt1ve.~ t' c, tJ(.&J :

    Lt.OJcrvt, .U ) \'~ r~ \J.J(-d .we.-) = '(c.) f) - L.r.

    wCt;-l) ::- wCt')

    Bin'" p~cr (E"lW(e S

    flrl' fD blA.l ~ J j ~ u1-

    2-W c.) (; C.

    r; ::: ~r + V~

    .YY'\r:: -\

  • 8/3/2019 Nonlinear control notes

    23/54

    w~ 1\rll f - fL 1\ r\\'L(;

    ..U,l.()be. w ri tt..e.rt o. . . J

    \ \ r I11 (\ - ~~I1) .; , IE

    . V ~ '>-m .lf) {\< 11\nl2. + c

    t 01 , \\(1\1.~ V ~

    ~1\rll2. M2.

    v ~ - 2 /1 \'Y1 \t1 {~ tv+- .

    M2.6

    ... V ~ -rv;--e.

    ThJ 5 -lCAJ)b e s ~ v e J .k JJ e J - ,

    vet) ~ V C o )~rt + (\ - ert-) 6

    TfW ~ ~ol {if&!>9 ~~~ v.JJ1mo..t~ Baun~ ~

    p rtLJ1coJ s tcAh ,'.Lj .

    v jO eJ Jv 6 ~Xf~~ ffA.JtJ .i. d..D~ ~ jO .to z:.~o I j,u.J-

    .J ~ ro 6.

  • 8/3/2019 Nonlinear control notes

    24/54

    CS685 - Lectu re Note s, Ja na Kosecka

    1 Controlling Robotic Systems

    Suppose that we would like the robot for follow particular trajectory. We have already lookedat ways how to generate trajectories specified in terms of polynomials given the constraints interms of initial positions and velocities. From the trajectory generation step we will obtain desiredtrajectories B d(t) , B d (t) , B d (t)(e.g . where Bd ( t ) is a vector of joint variables of the manipulator) asfunctions of time. So one way how we can achieve the desired objective is simply generate torques7(t), by substi tuting B d(t) , B d (t) , B d (t)into equation 1 and obtain

    7 = M(B d ) B d+ C (B d , B d)B d+ N (B d , B d ) (1 )

    Hence if we start with the sam e initial condition as the one we specified in our trajectory generationstep, we will indeed obtain the desired trajectories, thanks to the property of uniqueness of thesolutions of differential equations, given that the initial conditions are the same. This controls tr ategy is calledopen-loop c on t r o l and would work w ell if the model represented by our equationsis perfect. In real life the models are rarely perfect and the are many other effects which are

    very difficult to model explicitly. So for example if our initial condition would be slightly off sayB (O )1 =Bd (O )we would never be able to correct to this error. In our example the error can be simplydefined as:

    e = B - Bd, e =B- Bd, e =B- Bd

    What we would like to do is design a control law which will have a capability to correct for the error.Hence we would to have some systematic means how to incorporate the error in the computationof the control law (in this case the expression for 7) such that the final trajectory will graduallyconverge to the desired trajectory. The type of control law is calledfe edba ck con tro l law and thesystem together with the feedback control law is referred to asclo se d lo op system . The choice of

    appropriate control law will then guarantee that our system will indeed exhibit the desired behaviorin spite of the inaccuracies if the model and the errors in initial conditions. There area of controltheory offers many techniques for the design of appropriate control laws as well as quantificationwhether the control law is doing "the right thing".

  • 8/3/2019 Nonlinear control notes

    25/54

    Examples Lets have a look at some examples and different components of the control law.In thefollowing examples we will assume that the output of the system y is directly the state x. Considerm ass-spring-dam per mechanism , first in the absence of any external forces

    mx + ksx + kdX= 0

    In the homework we had a chance to observe how the behavior of the state x= [x,xjT d ep ends onthe choice of constants ks, kd and initial conditions. Hence the open loop dynamics of the systemIS

    x(t) =[ -~ -~ ] x(t)

    and the control input in this case is zero. Suppose now that we will apply some external force ofthe following form Fext = -kpx - kvx which is proportional to the current position and currentvelocity of the m ass. This would yield following dynam ics equations

    mx + ksx + kdX - -kpx - kvxmx + (k s+ kp)x+ (kd+ kv)x - 0

    (2 )

    (3 )

    Note that the second equation describes the system of the same type, but by adding the externalforce terms, we effectively changed the coefficients of the system and hence change the system'sbehavior.

    Example For mass-spring-damper system above, suggest the formula forFext such that thedynam ic equations of the closed-loop system will have the following have the following dynam ics,will behave as a simple point mass

    x = Fext

    We did this example in class(Fext will be some function onF).

    Example Consider again a simple point mass system (with no damping and no friction).

    x = Fext

    We would like the point mass follow particular trajectory which was computed ahead of timeXd, Xd, Xd.Suppose we first apply external force

    Fext = Xd

    If we simply use this control law the dynamics of the system would be

    x = Xd

    In case we wou ld like to compensate fo r th e p ossib le in itial errors inx, x le t's consider the followingcon tro l law

    Fext = Xd - kv e - kp e

    with e= x - Xd and e= x - Xd. This would yield the following system dynam ics

    x - Xd - kv e - kp e

    e + kv e + kp e - 0

    (4)

    (5 )

  • 8/3/2019 Nonlinear control notes

    26/54

    The above equations now describe the error dynamics. We can describe this dynamic system interms of state equations and investigate the behavior of the error as a function of time and choosethe constan ts kp, kv appropriately to yield the desired performance. In the context of robotics thiscontrol law is also referred to ascomputed to rq ue law. The Xd part of the control law is also referredto as feed-forward term and it would be sufficient if our model is perfect.

    Proportional Derivative Control Given some desired trajectoryXd, Xd the sim plest controllaw which we can apply is to generate forces which are proportional to the errors between desiredand current position and velocities

    Fext = -kve - kp eCompared to previous case this control law has no feed-forward term. In practice, when theobjective is to track very complex trajectories it is quite hard to achieve without the feed-forwardterm. Furthermore proportional derivative control law leaves some steady state error. In order tocompensate for steady state errors additional termin te gr al te rm can be added to the system.

    Fext = -(kve + kpe + ki

    Jedt)

    . What is difference between closed-loop an open-loop system ?

    . What is the role of feed-back in the control system?

    . What is the role of feed-forward term in the control system?

    Note that the names of the terms actually correlate with the way the arrows are drawn in thesystem.

    . The proportional control law at each instance of tim e responds to the current error in position.How fast should it respond is specified by constantkp which is called proportional gain. Ifthe gain is too high the system can overshoot and eventually lead to oscillations. Dampingcan be used to prevent the oscillations.

    . The derivative control is used to correct momentum of the system depending how far awayit is from the goal. It is proportional to the derivative of position (or error).

    . The integral control provides another improvement to the control law since it integrates thesteady state errors over time to compensate for errors.

    1.1 Mobile agent control strategies - low level behaviorsIn the context of mobile robotics, in many instances the task cannot be clearly specified in termof trajectories, unless the agent is involved in some precise maneuvering, such as lane change inthe autonomous driving, or parallel parking. However there are many useful low level strategiesone can develop in order for the robot to move around in the environment and accomplish someelementary tasks. The design of these strategies follow the same principles, but are more tied to theenvironment the robot resides in. Before we review some basic strategies we will discuss differentways how to represent environment and address the problem of finding a path from current todesired configuration.

  • 8/3/2019 Nonlinear control notes

    27/54

    ~f~ ~pclb~J5< :: AX+-Blot U (5 ) -? Eiil l~~(.5)

    -\H(.5) = c..(5 \ - A ) BI:;;. CX }

    PI~

    ;.," ,...,>< ~ A"f.t-B \..l + L~

    " "'I =- c.xtV /'~ ='1-'1

    ".A..:: - \(.)CHow ~ we- U\.D'/'II"Iho.J-

    )( ~J ;. J.o ~11""" u.r ~

    ~ e.r0Jt~ (jl.() pnw pltl. :S't-a.bi,li

    ~ 1 ~ rlGUJ- CA..nLu::. u.::. - KXIu.J ba-

  • 8/3/2019 Nonlinear control notes

    28/54

    2. ~e.cl l~ r &ble-iVLA:

    f.- tVy... ; :: p + )1:::0,1-

    , IV

    P ~ tL)c')~) t-IA +- Ko2.X

    ~e 1 ~ t9-ble{Ve{, ."-

    fu &b1 .A .v l.-t )-U ~ to MH('()od-t ;. / 11vz. c9hJ U V.eA..4 !oJHrt1~ oM XtV "-X =-,X -x.

    ""~)( -x.. .," . tVN~ p..4 x ~ x ) x ~ 0 .

    :. ~ fhL S~~ I).i1j f4 we s~J 3h.orr.1hoJ- ft . .iJ .b 0 "t..U )c1.tJ M J~)

  • 8/3/2019 Nonlinear control notes

    29/54

    N(JYI/ ~~ rhL 'fi't~ f}CL

  • 8/3/2019 Nonlinear control notes

    30/54

    StfF e.. vve r~~YtQ.~ A ~ .t (- ) = } ( X, X') ,

    1\1()

  • 8/3/2019 Nonlinear control notes

    31/54

    .~ v ~ - \ \z. \ \~ + It(.) Hz. I IL--K "

    v ~ - ( \ - 11 ' 1 .C, ) ) \ \ -z\} '1 . .

    1 ~

    w ~

    " , v ~ - B 1 1z .\! 'Jf- ~ > ~ ,1 .(II-z .II)yV ~ B :: :: - j' om e . -rv e ~ l"z,t.nt".

    Naw, 1-V ~.1 .1\ z.\\z

    '"v ~ -2-13V if-\ 1,2-( --J2\JCt))

    ~ \1 z.lt-)\\2- ~ 1.1\~(OJ\12.. e..x.p (-2..Bt:;)2- z

    ftrt

    K " > 1 \ '2 -( ~ ') ) > ~ \'2J 2 V (t)

    IlzH ~ ~""Z: (o) \ 'e?lfC-Gt"j r Kn >~ ( " "L (O ) II )EnJ. '1 ~se.tvU: f~Le..m .N IIt ~ / ).c r (\,(Y )e.I1h :

    1. we.. h .o .N -~ Jc l- ~ .fh.L ~~01 4&bj~VQ.

    :I . "t .M i t\.j ~ fnt "U t . .hade.

  • 8/3/2019 Nonlinear control notes

    32/54

    l's tk up .rh.e. ~ Prt9-b\..c.:l

    l1~vU'lst beJM: X::: t c. x) :x ) ;- u.IV "=x-x

    N tVEj,: .s ==

    )( +O(X

    i-.tV

    X = P +-KO\ ) -70.. -~ 5 '- L lJL J'iA l-(.(Y)I ~I-?- 0 .e7Lq)~oo.AM I.e, ~ -KC1 e -r I.CA.O O' J J

    Ncrvv

    ..N " .P ::. PJ-p - - .... F01-we. Ln L.0~VJlQ\I p~., .rV " N . '" IV

    ]::. )(J - Ko\)I.+ Kcl~ \- [ ~ C ;:,;) +u. +)4,z.X

    ~ :: . [;4 -t~qe\ -~ (~)~) -1'0;'] - 'Ko,1< - L{t J

    WI

    We.. vvlll ~(jr) 'IL' h.u.e

    J

    u.::. WI - t- K .C2 .P + , -\- V~I

    "~

    I'\) N N.', .p = -kc2. P -e , -)

  • 8/3/2019 Nonlinear control notes

    34/54

    L ~) -l -t- (1(0\' P \ \5 \ - f11 Ko.2.. \ ~l)

    IL ~\ + \5\l .

    yVl. wa..t\k h writ ~ V .-U J .ekr(U 1 vcuJ CA.-bLU~ L-Jo-rlNWV ~c9\. ..rk.2. IV cm P Ko!~ I ~..u ~ IA-tVr..m "ipet?Jt.i~ 1, ' (1 '< J " ' fW 1 . J )V ~~

    #N

    A1.d ")( lJ n.&t I'YI.20v IWt:.o..kLt. ..

    ~N r.J N N

    P Ko,X =- 'P \(0 1 (-0 . .AJ . . . ~1-,S.Q tr> 0

    (1 \11C/MU i"jprcb~

    f 6- c,~ tU1J ~ i~ M.\J.1hW\..

    ---

    NcrvvlH ~..

    t = ..f-l~}x) -t LX};)

    \ \~\ \ ~ ~ Ch xJx)~) \ ) -z .1 \ z

    ~l:J~ :u ().. (W() olWu..ouij +'J"~ f" ..

    ~()

  • 8/3/2019 Nonlinear control notes

    35/54

    ~ ~~ (X~) e,.J ~~} e)J ~ /5 )

    ~ ~S" (X~/> J(;(.)\\.z:\\

    NJ. = \\s\\(~, ( .) \\z \\ -~ lI)'-.. -,--.,, J

    +V'~-v-t.

    NJ. ~ f) II 5 'I

    t CU~:;. .. : It \ \5 \ \ ~ ~,C ')\I-Z:\'\(F

    Na ~ ~Z-(-) \\ ~112.~

    ~F

  • 8/3/2019 Nonlinear control notes

    36/54

    . ~ 'l...' " ~ -B\\~I\ I~

    ~

    v ~ -2BV 11 -

    k F ~ r: (\I i:\I)kf ?- ~,C. . ; - ;V)

    v (\:;) ~ "(0) e?lf c.-Z 8 't; ) -I t kp ? ~t 12 Vca)

    ~\\~) \{ ~

    ~1\~o)\\

    '2-t"x.y (-2 e,t)

    \\\\ c: ;.

    se,N1>

    ~

    N

    XtVX ;-x ::::.

    "'-XcA X. ,..XtA-"o,X + '( .c ,e,-r

    z =,...

    x-x

    .." ,..,X -)< +-()(.-,x)A

    xJ -X,"N .XO\- ~IX + K-tl(X4-X) - Cx-\(41()I.-~Y,)

    r :. SexvUj l oho . . 1e~J trI>. ~~ (\\ z. (0)\1)

    (o J

    xIN

    X+)v +-E> if- Ko, > ~: CJ2'V(t))

    \;+2-8'1-6 ::.yY he.-u. sLt) ~ 0

    b t-2.Bt:" r '2..(;r; I -zP.>t"

    f

    '2.(31: I6: e

    J

    e 0( L ~ e .s(7) e d ~c..> ~CI~

    +-V~ ~ve

    v (+:) = e:2-st: \ J (0) -\-

    \let) = e2.~t;" vC.D) + 1. [c:::z at: ;-\]213

    vet) ~ e-2.gt V(o) +- ~ [\ -e-Z8tJ if ~Y\I~ e:;;CJ 2 \1(0) r(3; I Z 8) )

    21 3'l . - z.s t:" [

    -2.$l'; J] Vz.1\ z..\\ ~ L\\"Zlo)\1 e +- ~ \ - ~13

    if- ~'" ~ f3L ( .J\ \ -z;.(o)\I '2.+-G-/s ')I Tl-VJ :u ~ d .5~ u/&boJ

    ~rrY) I IlLti rnoJ- t B~d..,d ~.

    \j ( 0)

    Vet)

    ..I\'5OV/'J

    ~ ~,7'=; ' \ -=--==1 ~ /2!3

  • 8/3/2019 Nonlinear control notes

    40/54

    boAt Fodb

  • 8/3/2019 Nonlinear control notes

    41/54

    ,.. , tV

    L= - n t - Ylw (?

  • 8/3/2019 Nonlinear control notes

    42/54

    v ~ -6 \ \"Z.\\ 'L r K o :>~2 ( 2 .1, V2 ..V(O) ),~ :

    1\ ~ \1N

    Z Loo J ~ ; L ~

    . 1\e, e.t J e, I rt, 6 - L (b

    To ptV Dve z & L ~ vve.. h.ovve Jv .JJ.J e.,Lunmo.!.

    Z:~~

    ~-::- n ~1\ '2-

    V ~-dlt-) ~(t) 6 Loo 3(t) ~ 0

    .: 1.1'f\b-+~

    j l t) : 0

    ,41soI 5; ru.e ~ .w f1elf ti G-r\. on K ~()lJt-o b e .5&U -is :f1'u( / .J~..i.s lJ

    r.{...w 4101>,,) A1J ""fll> 1:1 T~.~ .!

  • 8/3/2019 Nonlinear control notes

    43/54

    P"iQ L

    1iHe,! It ~t'\J1~ o.JJYYf~c

    ~ l~ rumLt'n.ea-t. J ( f1~ .

    4 ,'vU / s'ftVM.-:

    d ~"X

    =- - x + rf{t:) + -t> (t)

    ~tj ~~ ~~'J f& t 1A.r1..uA~

    x :;. 1{'}l) +J(:K)lA.

    aLX) ~ 0

    7t m~u..ca.J, lL .

    tLb-) ~ x.,( (t") - ~~ 6bjuhv~.X"

    e G~

    w .1 te. ftv- PY9blLm eLl:M(?l)ic + ((?) -=- U.

    w~ mC?l)::: '/3L')I() ~ m(x) > 0

    ,.,,(~)I

    om(?\.) )2-(Y) C't)- I;;)1(. ~ G Lt%)

    fl1l.), )f (1\.) d !'"C?l)-I4 ~ dX2-

    if -x 6- l-OD.

    G Lib

    w ~ ..(OJ) tLL 0 VVr1te

    M(xJ)/ dM(Xd)1")'2-rn()(~) 6 Lb

    '))(01d'4

    f(~) I 0 t-hU)I j~').1( J. '). '1fd

    a.U () fflt?l) ~ M ['K, CI 6(r))

    6 Lp

    ~-X) ~ ~ (", ~ , ".t~) )

    ~ l?ll (~), tIe (t))

    ..,m(\;), mer), met) ~ LOt

    "tJeN\T ~h()N)

    (\.O t' \, (\Q JNU'b'u tM ..t411cl~,~ .

  • 8/3/2019 Nonlinear control notes

    44/54

    W r1t;1 ctown ~ ~:t;-

    ll~ (K5 + ,) ~(t-) - ('.5 +1) e.ltc t f[[~tl)Ctel:c.) T B s~t)( f-{c))Jd'tto

    .. , ,t

  • 8/3/2019 Nonlinear control notes

    45/54

    rnl?t';)f'=.-k';' t ?f) t" -e- (KSt-/) t" -g ..f:Jn (e ) + N C- )

    e :. - ct"e..r r1.u icLu../k ~~ ~~~lv = .L e'Z.+ .L m (,t) ;:::z .+-

    vNeY-I

    2- 2. . .v = e.. CeJ + rn(jX) r(t-") +i: m1\) r +-VtJflN-'

    V:: ~(-olet-r) -r'C (- i m(?l)t" -e - (~.st-I)r) + r(NC')-BJJn(~))

    +- J.~ (?l),:J- t- vtore,w2.

    v = -ote'l-('2.

    + V(JfNV1- r(Ne-) - GSjnCe) -~.5

    r)

    rh ~'.s ..O...j , N ~e.nt:!J (9..() )() x) -t- o.n d -x : .u ~ yyUo.J ~ L

    Nt! A. N1

    ~~ ~..t?t . =.oxII(

    N

    N ~ N" - N.fL.et- L = VNINV +- r (N~ - B,S3oce)) +-reN

    t.) - K .sr)

    N (.) ..u.n be ..urpa bO U J )o lL J a J

    n N C ')II ~ ~CH-z.l\)\ -zH ~J z ~ [e

    ~(.") J.J ::-g ~d f\Cf1 ~CUI\~'

    L t.t- VNOMJ be dJf ru~

    (AJ~

    VN.u.N::'Zb- f 1- L-c) d z:\;0

    if L (.c) ~ r (N cI - B.s~nce))i.b .l , A pt7f; 1:1ve ..wYUt-C4'tl.- A-nc : J

    .', VNaw :> 0

    r]1

    t:7

    b > rLl:c.) ch:~C I

    .V toIPW~ - l..-C t)

  • 8/3/2019 Nonlinear control notes

    46/54

    " ~-OCe-'2-_fl. t n fl\ ~ (II~ \\)tl"Z .\\-~rL + ~'2-01~\1)t1'Z.n~

    .lt~

    - ( ' -1"7 ;\r , + ~(IIoz.!\)\I-z.I\)'Z .z..fKS

    v ~

    -~ 3 II-z.\!

    'l.

    + ~

    '2.(tt- z . 11 ) \1"Z \\1-

    It \ '.s

    i\3A wUn t'l 11(1

    v ~ - ( >3 -~2.(nZ\Q) 117.1\'2 .

    J r K .s

    \.

    . " 'J ~ 0

    NdW,

    v = [~ 'Z . ]

    l '0 Ife 1 + 'JNtlIw

    0 (Y\6t)Jl:- J

    m(~) haJ te b~ p0'3{'H ve (')..f')J bau.ncl.t.J

    m ~ rnC?t)~ m ( ~ )

    t ' h .u1 ,

    Ad\~ 1\2.~ V ~ )'2-b. )I\~\\

    2-

    'I =- [ 'ZT

    .J"\JNIJI\J]i

    AI ~ ~n t'l fflJ

    :>"2.b{)~ rvtA;t ~~mC)()1 ,1

    > .,'1111'2 - :::; 'V ~ ~ '2 -(7 t) \\'11\'2 -

    .'J ~ -\(.. \l"Z.n~ ,}- /13~ ~ZCl1z")~ K.s.V ~ -KlIzlI'1 if- ~.s~ ~2.(HYll)

    J.f';.3

    JI~n 7Hz-I\

    11';111.;J

    V[~)I ,

  • 8/3/2019 Nonlinear control notes

    47/54

    V oS -~ IIz.t,2- it t< s~ r" (~~) ~ \i ~ d.u.uaJ i" j t1 t .

    thA.t1, ..um ~(t;) :::. 0

    -b"" b

    t""

    VN(Nv =- ib - l[e(:Z:)+-oCe(t:)(NdC-c)-B.s~ne(c)J ol-z:

    t:o\:;

    = Zb - f eC t:) (N~ (t::)- (3.s~ t')C~(z:)))J c~

    - i1 o(~(c) (t-IIC,,)- (; s.rd~(-c) deJ\!- 6? \ wJ (t:) 1

  • 8/3/2019 Nonlinear control notes

    48/54

    r~eA 2-

    TItle = DutpuI 1~btU.k, v~~.ia .b lQ. .s~ ~ "f n..onU~Vh~~c~ ,s 'j.5t-uYU .

    p,NiJt..t ~

    AJ. ?CCt) I ,!tf;) LIX> 'If;

    AUo/ ~l'){, i) (r{X, i) cuu ~rt..Le.t- ~ -

  • 8/3/2019 Nonlinear control notes

    49/54

    bcn t .n cl.J CU1d rn OJ u .:tJLm e.rLh~ x {t-) .

    IObI QVVt: ~ J 01-1IM.: I

    ;. fV1

  • 8/3/2019 Nonlinear control notes

    50/54

    It tl., 1J se1ed~ J Jt:> .so..h~ fJK1i > \Not. (. ) \ t- \ Not(. ) \

    ~t

    fL.oCz:)J Lbo

    1(I ~ - LI.b => j

  • 8/3/2019 Nonlinear control notes

    51/54

    ~ t @1' \ = jr

    J~~("C5p (No - KI.s~" (;((T.).h: -I-

    f [X (C ) r(M o-K,53" (~(C)) .It:~L J ~t

    J [ d~tt ) JT t"

    JdN 11 T\VI" k N. (""C)"h: - r ~""C)J KI~" ('/((c.)) ,h: +- A

    W t() L

    t"t- ()

    tM= [X(t:)]" fNoCC)) - J lX{~) J~(Nc)(t:)) ot1: - L \(1l[.xt(~)1]t~

    l~J"C c:= I t:o

    tM:::

    f [x(t:)l" [NDtr ) - ~ (NaCt:) - " ' ,sJn (?l(t:))l d -Z :c:h: ~t:o

    n n

    + ~(t)NC)("l:)- ?t ( ~)~oLb3) - .KtC:\ x(~)' t- LKG1 \X ( t o..t

    t:::/

    M..S ~:..J ,h (""C )llNo l ("C)+!It ~ (c)) -KI LJ ol-z:bo (,:::.1 J~

    l= /

    "+-f-' ;{Ct)\lNdl(t)\ - X(to) MoCto)1.=1

    t) ()

    - L ~d ftlt) \ +- i K\(~\xC to} 1.C=I (, '==1

  • 8/3/2019 Nonlinear control notes

    52/54

    !

    ~t1-~ nv. ~ prcHJtem'.l-~

    M(?t)?t i l (;1(,x) :. l.t

    1E rror s~~te.rn dwdopn1e.nr:

    l, ,

    DeJ't ru .. ., 4't= e t~ t-ff..

    ... e = - e - rf t 'l,

    'l- = -rf - (K1-t\)tt.T e - e.+

    ~= e t~ +,:~t-1(")l'~=M (? l) (Y q- 2.r4- ef) -)(:1 Mex) ~ t f b{ J X) - LA

    f'It(?lJrl= -I'-z.M (~)YL +-N (?(, x',r) - M (x) (2.rft~f)-U -

    wh.tA..t. N (.) = M ('){) X~ T f (-;r/X),. ,

    Ld" "'d(t) ~ 1'J'?

  • 8/3/2019 Nonlinear control notes

    53/54

    N :: : tV - N .t- M (? t ) (2 . r1T ~ f) + -iM e x )YL

    /IN U .< ~C}I"Z-H)n~1\ z == ' [~ ~~ r t- 'L1

    I5bM ;.li~ tU1~$i.6:

    r

    'L 'Z.. 1 "L

    1'Z..

    V:: 1.1'1 ( ?l)rt.. +- 1. e~ +- r~ +- e2.- 2- r :z . r 2-'1 ,.."v =

    ~ M (X)'t + M1[- + 'l(I

  • 8/3/2019 Nonlinear control notes

    54/54

    V III ,: ; - (' - ~ '(~: Ii)) I1 z\1 '2 .

    6J ),In!rl:..l' ~ a,t- P, .nu. f'l t ek. hO\..J bo b~ ~~ ~.t-

    p.:: Zb - ~ l~"t~ +~~ tet)(Nd - ~IS~()(~te~) dt:~t

    :: ib - f(y t'f) (tJ~-K, s~n (Y ) dt

    ~

    '; K 't -= - \ N di\+ 1 tJcjI tru...n P:r 0t'\

    2-1,:: L kit. J e(ta )/- e (t;e NJ (bo)L:'I

    v ~ - (, - ! '2 .(\\~It) ) n-z .u 'Z..1 ~'t (~ Vl).~) )V ~ - BlIz1\'2 . ~ Kt'I:> ~2. ( f , \"fll7))\)

    v >0V :5 -6(t) a

    (t) ~ 0

    (r) ~ B 2 ~'T~ ~(t) ~ I,m


Recommended