Skip to content
MathWorks - Mobile View
  • Sign In to Your MathWorks AccountSe connecter
  • Access your MathWorks Account
    • Mon compte
    • Mon profil
    • Mes licences
    • Se déconnecter
  • Produits
  • Solutions
  • Le monde académique
  • Support
  • Communauté
  • Événements
  • Obtenir MATLAB
MathWorks
  • Produits
  • Solutions
  • Le monde académique
  • Support
  • Communauté
  • Événements
  • Obtenir MATLAB
  • Sign In to Your MathWorks AccountSe connecter
  • Access your MathWorks Account
    • Mon compte
    • Mon profil
    • Mes licences
    • Se déconnecter

Vidéos et webinars

  • MathWorks
  • Vidéos
  • Vidéos
  • Recherche
  • Vidéos
  • Recherche
  • Contactez l'équipe commerciale
  • Version d'essai
2:22 Video length is 2:22.
  • Description
  • Full Transcript
  • Related Resources

PID Control Design with Control System Toolbox

Design PID controllers using Control System Toolbox™.

Control System Toolbox lets you easily tune PID controller gains. If you have a plant model, you can launch a PID tuner app for this plant model. When it opens up, it automatically tunes PID gains for you to achieve the right balance of performance and robustness. You can quickly try different controller types such as proportional only, proportional integral, and PID.

You can inspect the tuned PID gains as well as performance and robustness characteristics such as race time, settling time, overshoot, gain margin, and face margin. You can use interactive sliders to adjust system performance. You can adjust the response time with the first slider and the face margin with the second one. In addition to the setup response plot, you can also look at the body plot of your system.

You can also look at different responses. By default, PID tuner app shows use reference striking response. But you can choose to look at other responses such as controller effort and input and output disturbance rejection. You can look at several plots simultaneously. Using these responses, you can adjust controller performance for optimal set point tracking or disturbance rejection results.

Once you are satisfied with the design, you can export the PID controller into MATLAB, where it will be represented as a PID object. In addition to the PID tuner app, Control System Toolbox also provides a function that is the same functionality for tuning PID gains. This function is called PID tune.

You can call this function with a plant model as an input argument to design the default PID controller, or you can also specify desired gain crossover frequency. The output of the function is a tuned PID controller represented by PID object. Once you have a PID object in MATLAB workspace, you can easily access and, if needed, modify individual gains.

You can use PID object like any other LTI model. For example, you can compute closed loop transfer function and plot its step response. This concludes the video.

Related Products

  • Control System Toolbox

Learn More

PID Control with MATLAB and Simulink

Bridging Wireless Communications Design and Testing with MATLAB

Read white paper

Feedback

Featured Product

Control System Toolbox

  • Request Trial
  • Get Pricing

Up Next:

3:52
Control System Design with the Control System Designer App

Related Videos:

2:00
What Is Control System Toolbox?
34:18
Control System Tuning in Simulink Made Easy
31:22
Data-Driven Control: How to Design a Controller When Plant...
5:57
State-Space Models, Part 2: Control Design

View more related videos

MathWorks - Domain Selector

Select a Web Site

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

  • Switzerland (English)
  • Switzerland (Deutsch)
  • Switzerland (Français)
  • 中国 (简体中文)
  • 中国 (English)

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Americas

  • América Latina (Español)
  • Canada (English)
  • United States (English)

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文Chinese
    • English
  • 日本Japanese (日本語)
  • 한국Korean (한국어)

Contact your local office

  • Contactez l'équipe commerciale
  • Version d'essai

MathWorks

Accelerating the pace of engineering and science

MathWorks est le leader mondial des logiciels de calcul mathématique pour les ingénieurs et les scientifiques.

Découvrir…

Découvrir les produits

  • MATLAB
  • Simulink
  • Version étudiante
  • Support Hardware
  • File Exchange

Essayer ou acheter

  • Téléchargements
  • Version d'essai
  • Contacter un commercial
  • Tarifs et licences
  • Comment acheter

Se former

  • Documentation
  • Tutoriels
  • Exemples
  • Vidéos et webinars
  • Formation

Obtenir de l'aide

  • Aide à l'installation
  • MATLAB Answers
  • Services de consulting
  • Centre de gestion des licences
  • Contacter le support technique

La société

  • Offres d'emploi
  • Actualités
  • Mission sociale
  • Témoignages clients
  • La société
  • Select a Web Site United States
  • Trust Center
  • Marques déposées
  • Charte de confidentialité
  • Lutte anti-piratage
  • État des applications

© 1994-2022 The MathWorks, Inc.

  • Facebook
  • Twitter
  • Instagram
  • YouTube
  • LinkedIn
  • RSS

Rejoignez la conversation