Skip to content
Mermaid templates

PID Control Loop

Setpoint → error → PID → plant → measured output feedback.

Template previewMermaid
Rendering…

Make it your own.

flowchart LR
SP[Setpoint r] --> Err((+/−))
Y[Output y] -- feedback --> Err
Err --> P[Kp · e]
Err --> I[Ki · ∫ e dt]
Err --> D[Kd · de/dt]
P --> Sum((+))
I --> Sum
D --> Sum
Sum --> Act[Actuator]
Act --> Plant[Plant / process]
Plant --> Y
classDef sum fill:#fef3c7,stroke:#92400e;
class Err,Sum sum