PID Control with MATLAB and Simulink

  • Contact sales
  • Trial Software

Design and implement PID controllers

PID tuning and implementation involve several tasks that include:

  • Selecting an appropriate PID algorithm (P, PI, or PID)
  • Tuning controller gains
  • Simulating the controller against a plant model
  • Implementing the controller on a target processor

MATLAB and add-on products bring efficiency to these design tasks by enabling you to:

  • Configure your Simulink PID Controller block for PID algorithm (P,PI, or PID), controller form (parallel or standard), anti-windup protection (on or off), and controller output saturation (on or off)
  • Automatically tune controller gains and fine-tune your design interactively
  • Tune multiple controllers in batch mode
  • Run closed-loop system simulation by connecting your PID Controller block to the plant model
  • Automatically generate C code for targeting a microcontroller
  • Automatically generate IEC 61131 structured text for targeting a PLC or PAC
  • Automatically scale controller gains to implement your controller on a processor with fixed-point arithmetic

Examples and How To



PID Tuning



Software Reference


PID Tuning

See also: control systems, system design and simulation, physical modeling, linearization, parameter estimation, PID Tuning, Control Design Software, Bode Plot, root locus, pid control videos