Module 05: Dynamics and Control
Introductionโ
Control systems bridge the gap between desired robot behavior and physical actuation. This module covers classical and modern control techniques for robotic systems.
Section 1: PID Controlโ
1.1 The PID Controllerโ
PID Controller: A feedback controller that computes control effort based on proportional, integral, and derivative terms of the tracking error.
1.2 Tuning Methodsโ
class PIDController:
def __init__(self, kp, ki, kd):
self.kp, self.ki, self.kd = kp, ki, kd
self.integral = 0
self.prev_error = 0
def compute(self, error, dt):
self.integral += error * dt
derivative = (error - self.prev_error) / dt
self.prev_error = error
return self.kp * error + self.ki * self.integral + self.kd * derivative
Section 2: Computed Torque Controlโ
2.1 Model-Based Controlโ
Using the dynamics model:
2.2 Stability Analysisโ
Choosing gains to place poles in the left half-plane ensures stability.
Computed torque control requires accurate dynamics models. Model errors can destabilize the system.
Section 3: Impedance Controlโ
3.1 Interaction Controlโ
Impedance Control: Control strategy that regulates the relationship between robot motion and interaction forces, making the robot behave like a mass-spring-damper system.
Section 4: Stability Theoryโ
4.1 Lyapunov Analysisโ
For a system , if there exists a positive definite function with , the equilibrium is asymptotically stable.
Summaryโ
Key takeaways:
- PID control provides simple but effective joint-level control
- Computed torque achieves linearization and decoupling
- Impedance control enables safe physical interaction
- Lyapunov theory provides stability guarantees
Key Conceptsโ
- PID Controller: Proportional-Integral-Derivative feedback
- Computed Torque: Model-based cancellation of dynamics
- Impedance Control: Regulating force-motion relationship
- Lyapunov Stability: Energy-based stability analysis
Further Readingโ
- Slotine, J.J.E. & Li, W. (1991). "Applied Nonlinear Control"
- Siciliano, B. et al. (2009). "Robotics: Modelling, Planning and Control"