PD Control and Damping
Use derivative behavior to reduce overshoot.
Use derivative behavior to reduce overshoot.
In this lesson, you will:
Derivative response reacts to how error is changing. In FTC mechanism tuning, this often acts like damping that helps reduce overshoot and oscillation.
A mechanism with only P may rush past the target. D asks whether the mechanism is approaching too quickly and subtracts some output before it overshoots.
Start from a working P controller. Calculate error change over time or use velocity when appropriate. Add a small D term and graph before/after behavior.
PDController.javaJava
double derivative = (error - lastError) / dt; double output = kP * error + kD * derivative; lastError = error;
Derivative amplifies noise. If measurement is noisy, D can make output twitch. If loop time is inconsistent, derivative math gets worse.
Check your understanding before moving on.
Which result best demonstrates completion of “PD Control and Damping”?
Why record the test setup, prediction, and observed result?
0 of 2 answered
Mark this lesson complete — “Integral Control and When Not to Use It” is up next.