Professional Documents
Culture Documents
x = 2sin ( x ) + 0.1sin ( x )
= 2sin ( x ) + Δc sin ( x )
Weight Basis Function
z Actual Plant: X = f ( X ,U ) + d ( X )
(unknown)
z Goal: X → X d , as t → ∞
z Approximate System: X a = f ( X ,U ) + dˆ ( X ) + K a ( X − X a )
( Ka > 0)
z Strategy: X → X a → X d , as t → ∞ NN Approx.
f ( X ,U ) = { f ( X ,U ) − dˆ ( X ) − K ( X − X ) − K ( X − X )}
d d a a a d
i.e. f ( X ,U ) = h ( X , X a , X d ,U d )
z Affine Systems: f ( X ) + ⎣⎡ g ( X ) ⎦⎤ U = h ( X , X d , X a ,U d )
U = [ g( X )]
−1
{ h( X , X , X ,U ) − f ( X ) }
d a d
z Non-affine Systems: f ( X ,U ) = h ( X , X d , X a ,U d )
Use Numerical Method ⎧U d : k = 1 ⎫
(U ) guess k =⎨
=
⎬
(e.g. N-R Technique) ⎩ k −1
U : k 2,3,...⎭
z Modify X a dynamics:
X a = f ( X ,U ) + ⎡ dˆ ( X ) − Ψ ( X )U s ⎤ + Ψ ( X )U s + K a ( X − X a )
⎣ ⎦
= f ( X ,U ) + dˆ ( X ) + Ψ ( X )U + K ( X − X )
a s a a
f ( X ,U ) + Ψ ( X )U = { f ( X ,U ) − dˆ ( X ) − K ( X − X ) − K ( X − X )}
s d d a a a a d
= h ( X , X a , X d ,U d )
{ f ( X ) + g ( X )U } + Ψ ( X )U s = h ( X , X a , X d ,U d )
⎡U ⎤
f ( X ) + ⎣⎡ g ( X ) Ψ ( X ) ⎦⎤ ⎢ ⎥ = h ( X , X a , X d ,U d )
⎣U s ⎦
G ( X ) V = − f ( X ) + h ( X , X a , X d ,U d )
{− f ( X ) + h( X , X , X ,U )}
−1
V = ⎣⎡G( X ) ⎦⎤ a d d
Extract U from V
For simplicity, we will not consider this special case in our further discussion.
z Error: Ea ( X − X a ) , eai (x − x )
i ai
eai = xi − xai dˆ ( X ) = Wˆ T ϕ ( X )
i i i
(
= pi eai Wi T Φ i ( X ) + ε i − kai eai − ) 1
γi
Wi T Wˆi (∵W
i Wi − Wˆi )
⎛ 1 ⎞
= Wi T ⎜ pi eai Φ i ( X ) − Wˆi ⎟ + pi eai ε i − kai pi ea2i
⎝ γi ⎠
0
ADVANCED CONTROL SYSTEM DESIGN 12
Dr. Radhakant Padhi, AE Dept., IISc-Bangalore
Stable Function Learning
Weight update rule (Neural network training)
Wˆi = γ i pi eai Φ i ( X )
Derivative of Lyapunov Function
Li = pi eai ε i − kai pi ea2i
Li < 0 if (
eai > ε i / kai )
The system is “Practically Stable”
X a = f ( X ,U ) + dˆ ( X ) + K a ( X − X a ) , K a > 0 ( pdf )
1 ⎢ ⎡ ( xd + xd
2
) + ( 1 + x d
2
) ud − k ( xa − xd )⎤⎥
z Adaptive control u=
1 + x 2 ⎢ − ( x + x 2 ) − dˆ ( x ) − ka ( x − xa ) ⎥
⎣ ⎦
z Design parameters
k = 2.5 ka = 1 p =1 γ = 30
3 T
Φ ( x ) = ⎡( x / x0 ) ( x / x0 ) ( x / x0 ) ⎤
2
⎣ ⎦
2 J1 ⎝ J1 ⎠ ⎝ 4 J1 ⎠
x12 = x22
⎛u ⎞ ⎛ kr 2 ⎞
⎟ sin ( x1 )
kr
x = α 2 sin( x ) +
2
2
1
2 ( l − b ) + ⎜ 2max ⎟ tanh ( u2 ) + ⎜
1
2J2 ⎝ J2 ⎠ ⎝ 4J2 ⎠
x12 = x22
u2max tanh ( u2 ) kr 2
sin ( x11 ) + K m 2 e a2 x2
kr
x = (α 2 + Δα 2 )sin( x ) + (l − b) + +
1
2 1
2 2
2J2 J2 4J2
⎛ mi gr kr 2 ⎞
αi ⎜ − ⎟
⎝ i J 4 J i ⎠
kr
βi (l − b)
2Ji
uimax
ξi
Ji
kr 2
σi
4Ji
γ 2 = γ 4 = 20 Φ 4 ( X ) = ⎡⎣1 x3 /1!
T
x317 /17! 1 x4 /1! x17 ⎤
4 /17!⎦
Capturing d 2 ( X ) Capturing d 4 ( X )
Strategy: NN Approx.
Approximate state
Ya
Y Yd
Actual state Desired state
ADVANCED CONTROL SYSTEM DESIGN 32
Dr. Radhakant Padhi, AE Dept., IISc-Bangalore
Steps for assuring Ya → Yd
z Enforce the error dynamics
Ed + KEd = 0 Ed (Ya − Yd )
z After carrying out the necessary algebra
f ( X , U ) = h( X , X a , X d , U d )
z In case of control affine system
f ( X ) + [ g ( X )]U = h( X , X d , X a , U d )
z The control is given by
U = [ g ( X )]−1{h( X , X d , X a , U d ) − f ( X )}
ADVANCED CONTROL SYSTEM DESIGN 33
Dr. Radhakant Padhi, AE Dept., IISc-Bangalore
Steps for assuring Y → Ya
z The error in the output is defined as
Ea (Y − Ya ) ea ( y i − y ai )
i
Error dynamics
eai = d i ( X ) − dˆi ( X ) − kai eai
= Wi T Φ i ( X ) + ε i − kai eai
the origin.
( )
= eai ε i − ea2i + σ iWiTWˆi (can be derived so, with kai = 1)
Consider the last term in vi
1
(
Wi Wi = × 2 WiTWˆi
T ˆ
2
)
1
2
T
( 1
)
= × 2Wi Wi − Wi = 2WiTWi − 2WiTWi
2
( )
ADVANCED CONTROL SYSTEM DESIGN 40
Dr. Radhakant Padhi, AE Dept., IISc-Bangalore
Neuro-adaptive Design
with σ Modification
However, 2WiTWi = WiTWi + WiTWi
( ) ( )
T
= Wi T
Wˆi + Wi + Wi − Wˆi Wi
(
Hence, σ WiTWˆi = σ 1 −WˆiTWˆi + WiTWi + WiTWi − WiTWi − WiTWi
2
)
1
(
= −σ WˆiTWˆi − σ WiTWi + σ WiTWi
2
)
1
2 ( 2
≤ −σ Wi − σ Wˆi + σ Wi
2 2
)
ADVANCED CONTROL SYSTEM DESIGN 41
Dr. Radhakant Padhi, AE Dept., IISc-Bangalore
Neuro-adaptive Design
with σ Modification
2 ⎝ 2 2 2 2 ⎠
Defining βi
εi21
+ σ i Wi
2 2 ( 2
− Wi
2
− Wˆi
2
)
We have
2
e
vi < 0, whenever > βi
ai
2
i.e. vi < 0, whenever eai > 2βi