Control Systems For Robots: Prof. Robert Marmelstein CPSC 527 - Robotics Spring 2010
Control Systems For Robots: Prof. Robert Marmelstein CPSC 527 - Robotics Spring 2010
Physical States:
Position
Orientation (pose)
Velocity Assumed vs. Actual
Acceleration
Sensor states
Actuator States
Internal States:
Plans
Tasks
Behaviors
Control Engineering
k
m
b
x
d 2x dx
F (t ) m 2 b kx
dt dt
Real-World Systems
Sensing
(Eyes)
Velocity
Time
Velocity decreases as the
car gets closer to the
desired position
Velocity
Bang-Bang Controller (BBC)
• KP – Proportional Gain
• KI – Integral Gain
• KD – Derivative Gain
PID Controller Response Curve
Controlled
variable
Overshoot
Steady state error
%
Reference
Time
Settling time
PID Response Curve (cont.)
Rise Time (Tr) – The time for the plant output y to rise beyond 90%
of the desired level for the first time
Overshoot – How much the peak level is higher than the steady
state, normalized against the steady state
The time required for the output to reach its maximum level is called the
Peak Time (Tp)
Settling Time (Ts) – The time it takes for the system to converge to
its steady state
Transient State – The period from the detection of error until its
approximate correction, resulting in the steady state
Steady-state Error – The difference between the steady-state output
and the desired output.
Effect of Increasing PID Factors
KP KI KD
NT: No trend
Control Performance – Proportional
Control Source: CUNY – Dr. Jizhong Xiao
KP = 20 KP = 50
KP = 200
KP = 500
Control Performance – Integral Control
(KP = 100)
KI = 50 KI = 200
KD = 2 KD = 5
KD = 10 KD = 20
Optimizing Performance
Yields ~25%
overshoot and good
settling time
Why Care about the PID Controller?
Light Sensor
[Simplified] PID Controller Algorithm