pidtune

Control Systems

Automatic PID controller tuning. Computes optimal PID gains for a given plant transfer function. Type can be "P", "PI", "PID", or "PIDF".

Syntax

pidtune(plant)
pidtune(plant, type)
pidtune(plant, type, wc)

Examples

plant = tf([1], [1, 2, 1]); pidtune(plant)
▶ Run
pidtune(tf([1], [1, 1, 0]), 'PID', 2)
▶ Run

See Also

This function requires server acceleration. Available on paid tiers.

Try SimLab — Free MATLAB® Alternative

466 functions. Runs in your browser. No install.

Open SimLab

Stay Updated

Get notified about new simulations and tools. We send 1-2 emails per month.