Professional Documents
Culture Documents
ENPM808J
Rehabilitation Robotics
Lecture #3
Controller Design
33
Controller
Example
Example
%OS differs by 3%
Ts improved by factor of 3
55
Integral (I)
Example
• Compensated system
• Reduced peak time
• Reduced SSE
• Slightly slower
transient response
than PD controller
60
Open-loop system
35
Cri:cal
Damping
(b + kv)2 = 4m(k + kp)
Cri:cal
Damping
(b + kv)2 = 4m(k + kp)
Problem:
Make
the
controller
parameters
independent
of
system
proper3es
(e.g.
mass)
Is
the
problem
solved?
Cri:cal
Damping
(b + kv)2 = 4m(k + kp)
Problem:
Make
the
controller
parameters
independent
of
system
proper3es
(e.g.
mass)
SoluEon:
Control-‐Law
Par>>oning
Robot
Control
Systems
• Trajectory-‐following control
Servo
(Error,
Control
signals)
does
not
depend
on
system
constants,
only
closed-‐loop
error
i.e.
system
output
variable(s)
Control-‐law
Par>>oning
Control
system
Control-‐law
Par>>oning
Control system
Servo
porEon
Control-‐law
Par>>oning
Control system
Model-‐based
Servo
porEon
porEon
Control-‐law
Par>>oning
Control system
Choose control
Model-‐based
Servo
porEon
porEon
Through
the
control
law,
we
want
to
achieve
the
following:
Choose
α
and
β
such
that
the
system,
considering
only
f ’
as
input,
behaves
like
a
unit
mass,
governed
by
the
equa:on
Control-‐law
Par>>oning
Control system
Choose control
Model-‐based
Servo
porEon
porEon
Through
the
control
law,
we
want
to
achieve
the
following:
Choose
α
and
β
such
that
the
system,
considering
only
f ’
as
input,
behaves
like
a
unit
mass,
governed
by
the
equa:on
,
Mass
“Everything else”
Control-‐law
Par>>oning
Choose control
Thus,
think
of
f ’
as
the
“new”
input,
and
express
it
as
per
the
“previous
control
law”
“New input”
“Previous control law”
Control-‐law
Par>>oning
“New input”
“Previous control law”
Control-‐law
Par>>oning
“New input”
“Previous control law”
Control system
Model-‐based
Servo
porEon
porEon
b2 = 4mk
“Effective damping”: “Effective stiffness”:
Coefficient of the Coefficient of the
velocity component in position component in
the equation of motion the equation of motion
Control system
Model-‐based
Servo
porEon
porEon
Model-‐based
Servo
porEon
porEon
Servo
Model
Control-‐law
Par>>oning:
The
Impact
Now
we
use
control
law
par::oning
for
the
same
system:
Control-‐law
Par>>oning:
The
Impact
Now
we
use
control
law
par>>oning
for
the
same
system:
Control-‐law
Par>>oning:
The
Impact
Now
we
use
control
law
par>>oning
for
the
same
system:
Control-‐law
Par>>oning:
The
Impact
kvi2 = 4kpi
kvi2 = 4kpi
Compute the motion of the system shown in the figure below if parameter values
are m = 1 kg, b = 2 Ns/m, and k = 2 N/m and the block (initially at rest) is
released from the position x = 1 m.
Solu>on
1:
“Unforced”
system
x(t) =
If the parameters of the system shown in the figure below are m = 1 kg, b = 1 Ns/
m, and k = 1 N/m, find gains kp and kv for a position-regulated control law that
results in the system’s being critically damped with closed-loop stiffness of 16.0
N/m.
Closed-‐loop
Control
System
Choose control
Closed-loop EoM
kp = 15, kv = 7
Problem
3
If the parameters of the system shown in the figure below are m = 1 kg, b = 1 Ns/
m, and k = 1 N/m, find α, β, and the gains kp and kv for a position-regulated
control law that results in the system’s being critically damped with closed-loop
stiffness of 16.0 N/m.
Solu>on
3:
Use
Control-‐law
Par>>oning
Control system
Model-‐based
Servo
porEon
porEon
Closed-loop EoM
Solu>on
3:
Use
Control-‐Law
Par>>oning
Cri:cal
Damping
occurs
when
kv2 = 4kp
Closed-loop damping: Closed-loop stiffness:
Velocity coefficient in the Position coefficient in the
closed-loop equation of motion closed-loop equation of motion
Closed-loop EoM
kp = 16, kv = 8, -16 -8
31
Trajectory-Following Control
32
The ReWalk
Robot
Control
Systems
• Trajectory-‐following control
e
=
xd
–
x
Requirement:
xd
must
be
twice
con>nuously
differen>able
Key
concept:
Servomechanism
(“Servo”)
e = xd – x
Choose control
(Instead
of
)
Trajectory-‐following
Control
e = xd – x
Choose control
(Instead of )
Control
Law
ParEEon
Trajectory-‐following
Control
Servo
Model
Trajectory-‐following
Control
Compute the motion of the system shown in the figure below if parameter values
are m = 1 kg, b = 2 Ns/m, and k = 2 N/m and the block (initially at rest) is
released from the position x = 1 m.
Solu>on
1:
“Unforced”
system
x(t) =
If the parameters of the system shown in the figure below are m = 1 kg, b = 1 Ns/
m, and k = 1 N/m, find gains kp and kv for a position-regulated control law that
results in the system’s being critically damped with closed-loop stiffness of 16.0
N/m.
Closed-‐loop
Control
System
Choose control
Closed-loop EoM
kp = 15, kv = 7
Problem
3
If the parameters of the system shown in the figure below are m = 1 kg, b = 1 Ns/
m, and k = 1 N/m, find α, β, and the gains kp and kv for a position-regulated
control law that results in the system’s being critically damped with closed-loop
stiffness of 16.0 N/m.
Solu>on
3:
Use
Control-‐law
Par>>oning
Control system
Model-‐based
Servo
porEon
porEon
Closed-loop EoM
Solu>on
3:
Use
Control-‐Law
Par>>oning
Cri:cal
Damping
occurs
when
kv2 = 4kp
Closed-loop damping: Closed-loop stiffness:
Velocity coefficient in the Position coefficient in the
closed-loop equation of motion closed-loop equation of motion
Closed-loop EoM
kp = 16, kv = 8, -16 -8
32
• Model dynamics of this leg as a simple pendulum with total mass, M (robot
plus human leg) concentrated at the foot and leg length from the point of
pelvic rotation to the foot, L.
• The variable of interest is 𝜃𝜃, the pendulum angle measured from vertical.
• Assume that the system is driven by external torque, T (motor torque) with
zero initial conditions.
38
• The Laplace transform of the linearized equation of motion will yield the
transfer function of the physical system, or the “plant” (𝐺𝐺𝑝𝑝 ) i.e. 𝐺𝐺𝑝𝑝 (𝑠𝑠) =
𝜃𝜃(𝑠𝑠)/𝑇𝑇(𝑠𝑠).
• For a PID controller, the relationship between closed-loop error (e) and
𝑑𝑑𝑑𝑑
controller output (u) is given by: 𝑢𝑢 = 𝐾𝐾𝑝𝑝 𝑒𝑒 + 𝐾𝐾𝑑𝑑 + 𝐾𝐾𝐼𝐼 ∫𝑒𝑒 𝑑𝑑𝑑𝑑. The Laplace
𝑑𝑑𝑑𝑑
transform of this equation will yield the controller transfer function (𝐺𝐺𝑐𝑐 ) i.e.
𝐺𝐺𝑐𝑐 (𝑠𝑠) = 𝑈𝑈(𝑠𝑠)/𝐸𝐸(𝑠𝑠).
“Plant” TF
40
Controller TF
41
Closed Loop TF
42
Steady-State Error
• Joint angles during walking are cyclical
May be modeled as sinusoids
MIT-MANUS
47
• Controller (likely)
Control strategy – right type of controller with respect to application
Controller settings – right type of controller and appropriately tuned