Chapter 2 Independent Joint Control
Chapter 2 Independent Joint Control
Jee-Hwan Ryu
Introduction to Control
Control: determining the time history of joint inputs to do a
commanded motion
Control methods are depend on hardware and application
z Cartesian vs. Elbow
z Motor with gear reduction vs. High torque motor without gear
z Continuous path vs. P-to-P
Control methods have been advanced with the
development of complicated hardware
z The more complicated hardware, the more advanced control
methods
Actuator Dynamics
DC Motor: Simple and easy to use
F = i
m = K1ia
Vb = K 2m
dia
L + Ria = V Vb
dt
m = K1ia = K mia
d m
Vb = K 2m = K bm = K b
dt
Korea University of Technology and Education
R 0
Vr = Ria =
Km
R 0
Km =
Vr
d 2 m d m
Jm + Bm = m l / r
dt 2 dt
= K mia l / r
(Ls + R )I a (s ) = V (s ) K b s m (s )
(J m s 2 + Bm s )m (s ) = K m I a (s ) l (s ) / r
m (s ) Km
= , with l = 0
V (s ) s[(Ls + R )( J m s + Bm ) + K b K m ]
m (s ) (Ls + R ) / r
= , with V = 0
l (s ) s[(Ls + R )( J m s + Bm ) + K b K m ]
m (s ) Km / R
=
L J V (s ) s[J m s + Bm + K b K m / R ]
<< m
R Bm m (s ) 1/ r
=
l (s ) s[J m s + Bm + K b K m / R ]
B: effective damping
KP + KDs d
(s ) = (s ) D(s )
1
(s ) (s )
(s ) = Js 2 + (B + K D )s + K P
E (s ) = d (s ) (s )
Js 2 + Bs d
(s ) + D (s )
1
=
(s ) (s )
For a step reference input and a constant disturbance
d
(s ) = , D (s ) =
d D
s s
ess = lim sE (s ) =
D
s 0 KP
Larger gear reduction and large P-gain can reduce the steady-state error
PD Compensator
Closed-loop characteristic polynomial
s2 +
(B + K D ) s + K P = s 2 + 2s + 2
J J
K P = 2 J , K D = 2J B
Example 6.1
PID Compensator
(s ) =
(K D )
s2 + KPs + KI d
(s ) +
s
D(s )
Rouths criteria
2 (s ) 2 (s )
KI <
(B + K D )K P
2 = Js + (B + K D )s + K P s + K I
3 2
J
Saturation
Feedforward Control
To track time-varying trajectories
F (s ) = 1 / G (s )
R (s ) = Y (s )
Feedforward Control
q(s )d (s )
E (s ) = D(s )
p(s )d (s ) + q(s )c(s )
( ) (
V (t ) = J&&d + B& d + K D d + K P d )
= f (t ) + K D e&(t ) + K P e(t )
J l&&l + Bl&l + k ( l m ) = 0
J && + B & k ( ) = u
m m m m l m
pl (s )l (s ) = k m (s ) pl (s ) = J l s 2 + Bl s + k
pm (s ) m (s ) = kl (s ) + U (s ) pm (s ) = J m s 2 + Bm s + k
l (s ) k
=
U (s ) pl (s ) pm (s ) k 2
J l J m s 4 + k ( J l + J m )s 2
Frequency of imaginary poles increases with increasing joint
stiffness
Difficult to Control
x1 = l x2 = &l l (s ) T
G (s ) = = c (sI A) b
1
x = x = &
3 m 4 m
U (s )
x& = Ax + bu Poles of the G(s) are
eigenvalues of the matrix A
0 1 0 0 0
k B k 0
J l
Jl Jl
0
A= l , b = 0
0 0 0 1
1
k 0
k Bm
J
J m Jm J m m
y = cT x
cT = [1 0 0 0]
4
u (t ) = k x + r = ki xi + r
T
i =1
( )
x& = A bk T x + br
( )
det sI A + bk T = (s )
if and only if the system (6.50) is controllable.
We may achieve arbitrary closed-loop poles using state feedback
Pole Assignment
How to choose an appropriate set of closed-loop poles
based on the desired performance, the limits on the available
torque, etc.
Optimal Control
{ }
J = xT (t )Qx(t ) + Ru 2 (t ) dt
0
u = k T x
1
k = bT P
R
1 T
AT P + PA Pb bP + Q = 0
R
(
x& = Ax + bu + l y cT x )
Assumptions: given the system model, dont know the
initial condition
e(t ) = x x
(
e& = A lcT e )
Observability: the eignevalue of (A lc ) can be assigned
T
arbitrary
Observability
Definition 6.2 A linear system is completely observable, or observable
for short, if every initial state x(t_0) can be exactly determined from
measurements of the output y(t) and the input u(t) in a finite time
interval.
Theorem 2 the pair (A,c) is observable if and only if
det c[ AT c L AT
n 1
c 0 ]
x& = Ax + bu x& A bk T bk T x
e& =
u = k T x 0 A lc T e