PID Controller Design using Frequency Response Method☀️Calculations & MATLAB Simulations | Example 4

Sdílet
Vložit
  • čas přidán 31. 07. 2024
  • In this video, we will discuss the PID Controller Design for a third-order system using Frequency Response Method. Given the specifications for overshoot and steady-state error, we will calculate the required controller for the open-loop system (plant). We will workout the calculations step by step and verify our calculations using simulations in #MATLAB
    🎯 Outline:
    ⏩ 00:00:00 Introduction
    ⏩ 00:00:18 Assignment
    ⏩ 00:02:00 Calculations
    ⏩ 00:08:47 Simulations in MATLAB
    ⭐ Documentation & Simulation Files 👇
    🔗 MATLAB Script: drive.google.com/file/d/13GDB...
    📚 Resources 👇
    [1] Control Systems Engineering, Norman Nise
    [2] Modern Control Engineering, Katsuhiko Ogata
    [3] Modern Control Systems, Richard Dorf & Robert Bishop
    👉 More videos about Frequency Response Method for Controller Design: • Frequency Response Met...
    ⭐ If you have questions or comments, please let me know. Help us to reach more people. Like and share this video. Subscribe to our channel: czcams.com/users/canbijles?su...
    ⚡ CAN Education - Tutoring in Electrical Engineering, Analog Electronics, Power Electronics, Control Systems, and Math Courses
    ⭐ For questions, collaboration or consulting 👇
    📧 can.mehmet.tr@gmail.com
    ☎️ +31616179479
    🌐 www.canbijles.nl
    Copyright © ir. Mehmet Can
    No part of this video and text may be reprinted, reproduced, transmitted, or utilized in any form by any electronic, mechanical, or other means, now known or hereafter invented, including photocopying, microfilming, and recording, or in any information storage or retrieval system, without written permission from the owner.
    #Control #Systems #Frequency #Response #PID #Controller #Overshoot #SettlingTime #PhaseMargin #Overshoot #SteadyState #Error #matlab #simulink #tina #spice

Komentáře • 22

  • @user-jc9kn4uy2u
    @user-jc9kn4uy2u Před 10 měsíci +1

    What is exactly the phase margin frequency? this omega pm1 you calculate in the minute 4:30, I thought it was the following (i'll try explain myself as well as i can), if you ignore the frequency response and you do a root locus analyisis, when you find out the "wanted poles" that makes your system meet the design requirements, these have a real part and an imaginary part, well I thought this imaginary part was given by what you call phase margin frequency, but now with this video I don't quite grasp the concept of this, I'd appreciate very much if you could help me understand it.
    PD: YOUR VIDEOS ARE AMAZIN, everything is very clear and you make it easier to understand PLUS you've taken the time to do it in MATLAB, which really makes this video TOP CLASS, I appreciate you for takin time to make these amazing videos to help strangers :)

    • @CanBijles
      @CanBijles  Před 10 měsíci

      Hi, thanks for your message. Great to know you like the video!
      1. Phase margin frequency is the frequency where the required phase margin is achieved. This is determined by looking at the loop gain = 1, so at what frequency is the loop gain equal to 1.
      2. The imaginary part of the design point (where the dominant poles are) is not the phase margin frequency.
      The following link explains graphically what the gain margin, phase margin, gain margin frequency, and phase margin frequency is. You can use the command margin(sys) in MATLAB with sys the loop gain transfer function to show these data.
      nl.mathworks.com/help/control/ref/dynamicsystem.margin.html
      Let me know if this was helpful.

    • @user-jc9kn4uy2u
      @user-jc9kn4uy2u Před 10 měsíci +1

      @@CanBijles It was really helpful, thank you very much !!

    • @CanBijles
      @CanBijles  Před 10 měsíci

      ​@@user-jc9kn4uy2uYou're welcome!

  • @sahinbozkurt886
    @sahinbozkurt886 Před měsícem +1

    dear professor, i am trying to learn controller design for power converters. for the power converters generally we consider gain margin parameter while designing a controller. in your video series i have seen that you did not mention about gain margin. as far as i know gain margin has an important role for transient responses such as line or load transients of power converters. could you please share your ideas about this and explain why you did not mention gain margin while designing pid controller?

    • @CanBijles
      @CanBijles  Před měsícem

      Thanks for your message. This is a valid and good question. Indeed, for the stability analysis, we should check both the gain margin and phase margin. In control theory, we also look at the modulus margin, which is actually a better measure how safe we are from the unstable point in the Nyquist plot.
      Usually (more often, but not always), the phase margin is somewhat more important than gain margin. If the phase margin is sufficient, than the gain margin is probably sufficient too, but of course there is no guarantee. In the videos I discussed about compensator design for buck converter, the gain margin was already large.
      In the links shown below, they discuss transient response of power converter and the discussion is also based on phase margin only. I do not claim you should only look at phase margin for power converters, but I do not know how strict and important the gain margin is for power converters. Maybe you have a good reference about it, love to read it.
      www.ti.com/lit/an/snoa507/snoa507.pdf?ts=1717893510339
      pdfserv.maximintegrated.com/en/an/AN3453.pdf

    • @sahinbozkurt886
      @sahinbozkurt886 Před měsícem +1

      @@CanBijles çok teşekkür ederim hocam. Benim için oldukça anlaşılır bir cevap verdiniz. İyi çalışmalar dilerim.

    • @CanBijles
      @CanBijles  Před měsícem

      @@sahinbozkurt886 Rica ederim, memnun oldum. İyi çalışmalar.

  • @ControlAutomatico2020
    @ControlAutomatico2020 Před 2 měsíci +1

    Excellent video, but there is something I didn't understand. What is the step by step to obtain ωpm, is there a link or content to review. Because as far as I understand, that equation of arctangents equal to the phase margin has no possible solution.

    • @CanBijles
      @CanBijles  Před 2 měsíci +1

      Thanks for your message. Great to know that you liked the video! You can solve a equation using a graphing calculator or online equation solver like www.wolframalpha.com/calculators/equation-solver-calculator

    • @ControlAutomatico2020
      @ControlAutomatico2020 Před 2 měsíci

      @@CanBijles I was trying to avoid that, but thanks fot the advice. Maybe Newton-Raphson can solve that.

    • @CanBijles
      @CanBijles  Před 2 měsíci

      @@ControlAutomatico2020 It is a nonlinear equation, so you can try to approximate it using numerical methods, but this will be tedious and not always easy to solve. But worth practicing 👍

  • @SMV1972
    @SMV1972 Před 2 měsíci +1

    Спасибо Вам огромное за прекрасное видео. Оно реально поможет решать практические задачи
    Я пытался сам просчитать частоту при 117 и она получилоась 2,94 rad/s. Если вам не сложно, не могли бы вы подсказать код Матлаб для правильного вычисления частоты?

    • @CanBijles
      @CanBijles  Před 2 měsíci +2

      Thanks for your message. I will share the MATLAB script of this problem as soon as possible in the video description and also check the calculations for the phase and frequency.

    • @SMV1972
      @SMV1972 Před 2 měsíci +1

      @@CanBijles благодарю Вас!

    • @CanBijles
      @CanBijles  Před 2 měsíci

      ​@@SMV1972You're welcome.

    • @CanBijles
      @CanBijles  Před 2 měsíci +1

      ​@@SMV1972 Here is the MATLAB script of this example: drive.google.com/file/d/13GDBFPsFWNiJLI_Nci44j3VWtqVvS5gO

  • @matheusmelo8522
    @matheusmelo8522 Před 3 měsíci

    How come you used a 2nd order formula to calculate the 3rd order dumping ratio?

    • @CanBijles
      @CanBijles  Před 3 měsíci

      Damping ratio formula is only valid for a second-order system without zeros. So it is approximating any other second-order system with zeros or a higher order system.

  • @VikashKumar-it4ms
    @VikashKumar-it4ms Před 10 měsíci

    Kindly show in Matlab window

    • @CanBijles
      @CanBijles  Před 10 měsíci

      I will try to upload the files and show them in the coming videos. You can try this self in MATLAB too.

    • @CanBijles
      @CanBijles  Před 2 měsíci

      Here is the MATLAB script of this example: drive.google.com/file/d/13GDBFPsFWNiJLI_Nci44j3VWtqVvS5gO