Skip to content
UPEEC

Control Systems and PID

Feedback control keeps a system at a target despite disturbances.

Intermediate
Comments 0
err = target - measured
integral += err * dt
output = kp * err + ki * integral + kd * (err - prev_err) / dt
prev_err = err

python-control analyses transfer functions, Bode plots and step responses.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.