How to Tune a PID Controller

Поделиться
HTML-код
  • Опубликовано: 16 дек 2024

Комментарии • 202

  • @realpars
    @realpars  6 месяцев назад +2

    Want to learn industrial automation? Go here: realpars.com
    Want to train your team in industrial automation? Go here: realpars.com/business

  • @TheWolfmanG
    @TheWolfmanG 3 года назад +39

    You guys have just cut my anxiety in half... all your videos. Thank-you so much!

    • @realpars
      @realpars  3 года назад +1

      Amazing! We love to hear such positive feedback, many thanks!

  • @Stripping_Bolts
    @Stripping_Bolts 2 года назад +22

    I'm a chemical engineering senior and I took Process Control last semester. My "Professor" read a PowerPoint in broken English and muted all chat and turned off cameras. I learned more from these 2 videos than I did that entire semester

    • @realpars
      @realpars  2 года назад +2

      What an amazing compliment! Thanks a million for sharing that, we're happy to read such positive comments.

    • @anon_42069
      @anon_42069 8 месяцев назад

      @@realpars simular results here except my professor is senile.

    • @hlumelomkunana9070
      @hlumelomkunana9070 5 месяцев назад

      😂😂 hilarious

    • @Loredo_1
      @Loredo_1 3 месяца назад

      India has the best engineers, so far

    • @Aditya-d1h6q
      @Aditya-d1h6q 19 дней назад +1

      ​@@Loredo_1 you have a great sense of humor

  • @warrenosborne6044
    @warrenosborne6044 3 года назад +58

    I started tuning controllers in the late 70's vacuum tubes no less, went on as a engineering tech for KC. Did 30 years til retirement. Tuning a pid loop is more art than science. I never used derivative. derivative is like pouring molasses on the loop.

    • @shadowsdotdev
      @shadowsdotdev 2 года назад +4

      Extremely helpful for precision positioning and motors

  • @trippermostafiz
    @trippermostafiz 3 года назад +11

    Thanks so much for this clarification!! Respect from a Bangladeshi Automation Engineer.

    • @realpars
      @realpars  3 года назад +2

      You're more than welcome! Happy learning

    • @tanvirahmed-bb8ds
      @tanvirahmed-bb8ds 3 года назад

      Mostafiz bhai....pid control practical konno course asse ?

  • @danielesauhs5083
    @danielesauhs5083 3 года назад +12

    This is the best short video I've seen about PID, really like your content, understandable, interesting and straight up to the main point, this channel is awsome!!
    ¡Saludos desde México!

    • @realpars
      @realpars  3 года назад

      Amazing comment! Thanks a million for sharing your positive feedback with us, Daniel!
      If you have any questions along the way, please feel free to reach out to us at any time.

  • @muchbettethanthis
    @muchbettethanthis 3 года назад +13

    I've studied PID-controllers in university but found that my knowledge is really chaotic and unstructured. This video really helped me to structure the data. Looking forward to a new one on this topic!

    • @realpars
      @realpars  3 года назад +2

      That's an amazing compliment, Alexey! Many thanks for sharing that and feel free to reach out if you have any questions along the way!
      Happy learning!

    • @stefnirk
      @stefnirk 3 года назад

      One of the main problems in this field is that PID can be simplistic to get a basic understanding. But to understand control theory, you need much math and a deep understanding of things like poles and differential equations. If you took a good control course, they tend to focus on the math part, and students sometimes come out of them not grasping what they learned.

  • @smoke05s
    @smoke05s 3 года назад +19

    I usually set the proportional band (gain) to zero, and set the setpoint a little below what I need so when it overshoots it wont hurt anything. The temperature is going to oscillate at a specific frequency that is natural to the process. If you know that frequency (time period for 1 cycle) and the temp extremes you have everything you need to enter PI and D values. Get a stop watch, start it at the precise moment the heat turns off, on rise, just after PV passes the set point. PV will overshoot and start to cool. Note the max temperature. Its going to cool and just after crossing the set point the heat will come back on. The temperature will continue to drop, then bottom out at a certain value. Note that min temperature. The temperature will rise and just after it passes the set point the heat will turn off, stop the stopwatch at that precise moment. You now have everything you need to dial it in on the first try. Note the max and min temps (subtract the max from the min), what percentage is that value of the set point? Enter that percentage for your gain (P). The total time it took in seconds is the reset number (I or Ti). Take that Ti number and divide it by 6 and that is the Td (D) value (a good starting point for an oven). That is usually enough for everything to settle down to a nice flat line. If it is still oscillating make the proportional band larger. If it is too twitchy (reacts to quickly to changing input) or never quite recovers from an overshoot, lower the derivative. If you use this method rarely is the I off because you can very accurately measure it. Don't play with this number, especially if you got it after the system was all warmed up.

    • @realpars
      @realpars  3 года назад +1

      Thanks for sharing that, Christopher!

    • @randyhall4542
      @randyhall4542 2 года назад

      Christopher, I am absolutely going to try this out. If it works, I owe you a beer.

    • @apocalypticbean
      @apocalypticbean 2 года назад +1

      @@randyhall4542 Well? We're waiting...

    • @HealzDog
      @HealzDog 2 года назад +1

      @@randyhall4542 did it work? sounds like great advice

    • @peterfitzpatrick7032
      @peterfitzpatrick7032 2 года назад +5

      @@HealzDog Randy's gone to heaven.... ☹.... no beer for Christopher... 😫

  • @farhad0511
    @farhad0511 3 года назад +11

    Most PI setups, fill void of missing D with feed forward, specially in motion applications. It's worth to include this parameter in next videos.
    Thanks guys and keep up the great work

    • @realpars
      @realpars  3 года назад

      Thanks for your feedback, Farhad! Will surely pass this on to our course developers!

  • @davebennett5069
    @davebennett5069 3 года назад +24

    The analogy to a person holding their hand on a valve and opening or closing it while monitoring a pressure or temperature increase/decrease is a good one. Potentially worth incorporating into future explanations. You can intuitively understand that opening a valve rapidly would result in a big change, because most people know what happens in their shower when they turn towards the hot too fast!

  • @elliotlaw1590
    @elliotlaw1590 3 года назад +6

    Currently writting a report on PID controllers as part of my control and mechatronics unit for engineering, very useful video and well explained, I liked the added information around noise in the derivitive gain, and the different layouts of a PID controller (Parallel and series ect)

  • @Squarebreaker
    @Squarebreaker 8 месяцев назад

    🎯 Key Takeaways for quick navigation:
    00:01 *A PID controller calculates P, I, and D actions based on the error, producing a Control Variable.*
    01:03 *The proportional term, or P Constant, determines system responsiveness and can be referred to by various names depending on the controller type.*
    01:33 *The integral term, or I Constant, removes steady-state error and can be measured in different units, affecting its adjustability.*
    02:55 *Derivative constant units are typically seconds or minutes, used for predicting change in the Process Variable and creating a faster loop response.*
    04:23 *Other parameters for PID controllers include algorithm types, filtering, anti-windup, and process characteristics, but are more advanced and better left for future exploration.*
    05:16 *Tuning a PID loop often involves trial and error, aiming for a stable process with minimal oscillation, considering the implications of parameter adjustments on the process.*
    07:38 *While PID controllers offer many parameters for adjustment, a PI controller is often sufficient for most processes, with incremental adjustments to P and I parameters for stability.*
    Made with HARPA AI

  • @livesimply_
    @livesimply_ 2 года назад +15

    Most processes will benefit from adding the D coefficient. Start by slightly decreasing the Pb and setting a small D coefficient. This is especially helpful when you want to tune to be more aggressive (smaller Pb) but to minimize overshoot. Use higher D coef for systems that have higher momentum (which tend to be slow processes with undesirable overshoot).

  • @aldob5681
    @aldob5681 Год назад

    at school the trial&error process is not explained, but the model of the controlled system is rarely know so to me this is the only option. thank you

  • @hitiyiseemmanuel3474
    @hitiyiseemmanuel3474 3 года назад +6

    Imagine all University lecturers were like this gentleman💓👏 , I have studied and paid my fees, but it is now that this subject is made clear with real life explanation and examples

    • @realpars
      @realpars  3 года назад +1

      What an amazing compliment! Many thanks for sharing, and we're very glad to hear that!
      Happy learning!

    • @TheWolfmanG
      @TheWolfmanG 3 года назад +1

      Especially when you have a teacher with a language barrier.

  • @carmelpule6954
    @carmelpule6954 3 года назад +2

    Congratulations on a well-presented video.
    When our daughter was born, I decided that through playing, she would learn analysis, logic and reason, and rational thinking, rather than develop her memory to be able to recite what she read. I played with her by making her many wooden toys relevant to dynamic behavior rather than her playing with static toys. The use of mediums that do not keep their shape as, water and sand and balls and rubber bands, which could be used in both static and dynamic behavior was very helpful, in coaxing my daughter to see what matters most, but cannot be seen nor said, so easily to young children. The idea that children should be conscious of how their toys can have a Position, Velocity, Acceleration, or RATE OF CHANGES interested me, while how a child could be conscious of what needs to be "integrated" while they play, was another issue that racked my mind.
    * Teaching how a toy could be placed in a location is easy for any child as it is only a static situation with no rate of change.
    * Catching a ball in the still air, becomes more challenging.
    * Catching a ball while the wind is blowing at a constant rate of change or when gusting becomes an interesting mind process.
    * POSITIONING a toy in a particular location when the toy is suspended from a solid rod, or while the toy is suspended from an elastic rubber band, has its difficulties, and it is interesting how a child learns how to tackle the issue of positioning a toy in its place when this hangs by a non-stretchable or a stretchable string/ elastic band when there is no wind, or with constant side wind and with bursts of side wind from a fan. It is interesting to see the oscillatory motion that takes place as the child operates her hand according to the error angle when the toy reaches its final point and its inertia takes it to overshoot the target.
    * It is interesting how a child learns to slow down the action by introducing a slower RATE OF CHANGE by using her eyes to detect how fast the toy is approaching the target position. Through his eyes, a child detects the velocity of the toy and this is why it is imperative for children to play with dynamic toys rather than being told to just read books to study hard!! These proceedings in detecting the RATE OF CHANGE or the Derivative of position one can do by giving a moving object at least two glances where the difference of distance will give an idea of the velocity. In the industrial world, one can use a tachometer that operates on the rate of change of its coils with respect to the magnetic field but a human can do it with two consecutive glances. It is this issue of being conscious of how fast the toy is moving which would help a child slow down the final movement of approach as he comes close to the target to hit. The Derivative control signals can be learned very quickly by a child who plays with toys that have motion as bouncing balls and placing toys in their place at a fast rate. Writing the alphabet is a perfect manner to teach all the control processes that exist in an automatic control system and I do believe that people who cannot write neatly have some issues with their combination of body/mind control which is the motoring and signal processing system.
    * If a child is asked to place a toy that is suspended by a string on a particular location on the ground without the toy being placed on the ground, the child would do it and he would notice that the string suspending the toy is perfectly vertical with the suspension point right above the toy at the final positioning, hence no positional error exists. If the child is made to suspend the toy on its target point while a fan is placed to blow the wind horizontally, then the child at first pauses and tries without thinking too much but he would soon realize that he need to pull the hand towards the fan to ensure that the inclination of the string will pull the toy on its target while the fixed inclination on the string towards the fan will generate a force that will overcome the side drag force generated by the side wind. The child soon learns about using the first integral to get a zero error when the toy is loaded with a side wind. That is INTEGRAL CONTROL.
    I used to find it interesting with our daughter to set up a windy condition which is bursting effect n pulses and she used her eyes to predict what I am going to do it and she used to react beforehand, which is a prediction capacity that no industrial machine can have unless its environment is carefully monitored. When I did not permit our daughter to predict the bursts of wind then she was rather aggressive on her hand motion and I would attribute this action to a double integral action to account and react for the burst of wind faster than she would have done with a constant side wind blowing.
    I am fortunate to say that my daughter learned all this through playing with dynamic toys and she had no idea that she was handling PID control, but also acceleration feedback or double derivative or double integral, which could be said to be useful in controlling burst of wind.................though the use of acceleration and double integrals could be exciting due to the integrals introducing delays hence instability.
    Learning balancing and roller skating, ice skating, skiing on water and on snow, and balancing acts and all sport have PID control in the human having to catch or aim at a target. Unfortunately during WW2 which I remember, many young pilots died because they could not handle oblique shots at the aircraft in front of them, which not only requires a PID and detecting the rate of change at higher levels to be able to predict where the target is going to be. Getting drunk is a good way of analyzing the delay effect of applying the PID when one is sober and there one begins to understand why a drunk person oscillates to a point of instability.
    Well, when our daughter was of age, I took her flying and I had told her that if she wants to learn how to drive any vehicle including bicycles, motorcycles, cars, she should apply continuous movements as that would be applying a persistently exciting input which would cause the craft to undergo all movements and hence the craft would PROJECT ITS OWN CHARACTERISTIC very quickly to the operator. Well, when our daughter flew for the first time I had to take a back seat as she sat near the pilot who gave her the controls when it was safe to do so. As she took the stick in her hand, she gently applied a continuous repetitive oscillatory pitch control to which the aircraft reacted and after that, she did the same with the rolling control which she gently repeated in an oscillatory manner. Then she went for the rudder control. With her persistently excitation signals the aircraft was made to give all its secrets and information that was required about the delays in its inertia. As it was a slightly windy day, I asked her to take a route sideways to the wind and she quickly reacted to the use of the rudder to keep the aircraft straight. I had prepared the pilot as to what she was going to do and I saw him smiling, and after the flight, he said, " Does your daughter know about PID control?" to which I replied, " She does not know them by those letters or that language written or spoken symbols/words, but she knows when and how to apply them, while she plays and follows any sport and about her own stability in all circumstances of her life, even while applying lipstick and makeup which need accurate hand control.
    Basically, our life motion ranges from situations involving RATE OF CHANGE OF ACCELERATION, ACCELERATION,(A) VELOCITY (D), POSITION (P), FIRST INTEGRAL (I forCONSTANT WIND LOADING), AND (SECOND INTEGRAL POSSIBLY USED WITH GREAT CARE IN BURSTING WINDY CONTITON /LOADING) to replace that which cannot be predicted and could affect the motion of any entity.

    • @jesseamaya4413
      @jesseamaya4413 3 года назад +2

      Wish I had been your kid. Probably would have gone on to college and no telling where else instead of a ged.
      At least now I'm the uh oh go to guy where I work.

  • @ahmedb8395
    @ahmedb8395 3 года назад +3

    A very good demonstration, thanks for your great efforts. From Systems Engineer. I have tried auto tuning several times and it does not work. So the best tuning method what you have explained in the last section, adjust P first, then adjust T, then fine tuning.. Thanks again.

    • @realpars
      @realpars  3 года назад

      Thanks for your support, Ahmed!

  • @praveenr88
    @praveenr88 3 года назад

    So much of respect for RealPars effort...

  • @CaminoYVerdad1
    @CaminoYVerdad1 3 года назад +10

    I would LOVE to see the scientific approached explained. Looking forward to that video.

  • @drock5404
    @drock5404 Год назад

    Auto tune features have become my best friend 😊

  • @robertmonroe9728
    @robertmonroe9728 2 года назад +2

    For fast processes usage of D is essential. In fast electromechanics, for example. Head working in the HDD, as I know, is PD.

  • @digi533
    @digi533 3 года назад

    I cant wait for scientific approach explained. Thank you alot, that help me clearly about PID controller

    • @realpars
      @realpars  3 года назад

      Glad it was helpful!

  • @jayrajsinh78
    @jayrajsinh78 3 года назад

    I am following this channel since Long time you Explan every Topic in a very simple Way PID is very Complicated Topic but you can Explain in a simple way so please make more videos about PID.

    • @realpars
      @realpars  3 года назад +1

      Thanks a million for your kind support!

  • @NavyCuda
    @NavyCuda 2 года назад

    This video is fantastic! I've got to adjust the pid loop for my turbocharger controller, this really helps!

    • @realpars
      @realpars  2 года назад

      Glad you liked it!

  • @FirstnameLastname-fn6ik
    @FirstnameLastname-fn6ik 3 года назад +11

    PLC programming software like Emerson's Proficy Machine Edition and Schneider Electric's Control Expert have PID blocks. It would be really awesome if you guys made a longer video or video series where you explore the different parameters in PLC programming PID blocks, the math behind the parameters, and then maybe tune something like a valve opening/closing.
    I know that's asking for a ton, just throwing stuff out there that I would personally really love to see! Thanks again for the great informative videos!

    • @realpars
      @realpars  3 года назад +3

      Thanks for your kind comment! We appreciate your support.
      Great topic suggestion as well, I will definitely go ahead and forward this to our creator team.
      Happy learning!

  • @mrs10978
    @mrs10978 3 года назад

    Thanks a loooootttt. I have cleared after years for PID controller.🙏🏻

    • @realpars
      @realpars  3 года назад

      Amazing! We're very glad to hear that, Ravi!

  • @karl4824
    @karl4824 3 года назад +1

    Nice explanation, hope that a video on adjustable parameters is coming shortly

    • @realpars
      @realpars  3 года назад

      Hi Yogesh,
      Thanks for your comment and suggestion! Will happily pass this on to our course developers.
      Happy learning!

  • @AndreGobin
    @AndreGobin 2 года назад

    This was such a great review and tutorial. Love it.

    • @realpars
      @realpars  2 года назад

      Glad you liked it!!

  • @muhammadiqbal-tu2mt
    @muhammadiqbal-tu2mt 3 года назад

    Nice work! Just wait for another video👍

    • @realpars
      @realpars  3 года назад

      Thanks a lot, Muhammad!

  • @andreyace8768
    @andreyace8768 3 года назад +1

    Thank you for your informative story!!!

    • @realpars
      @realpars  3 года назад

      You're more than welcome, Andry!

  • @jirawat1605
    @jirawat1605 2 года назад

    Thank you for the knowledge provided.

    • @realpars
      @realpars  2 года назад

      Glad it was helpful!

  • @nyahhbinghi
    @nyahhbinghi 2 года назад +1

    Derivative in controllers seems useful if you just average out more than one previous value, to make sense of some noise. Also it seems like an integral of the whole signal since time 0 would be useless/meaingless - wouldn't you only want recency when doing the integral? how does that work?

    • @realpars
      @realpars  2 года назад +1

      In reality, integral assists the proportional action by moving the PV in the same direction as proportional action. This eliminates the proportional offset. As long as an error exists, integral will adjust the output of the final control element. This is quite useful. Derivative works on the rate of change of error, and as the control actions move toward the setpoint, derivative acts to slow the tendency to overshoot the SP.

  • @eugenepohjola258
    @eugenepohjola258 3 года назад

    Howdy. A really good walk-through of basics.
    In Europe the SV - MV is usually considered positive control. That is when SV is increased it will increase the CV. I seem to reember that Omron PID units employes the negative terminology. This is that MV - SV is considered positive.
    If a PLC PID function block is used to control a process wich is found difficult to control fast enough still accurately a dual PID approach could help. The master PID will control the process and the slave PID will feed variable P, I and D values to the master.
    So. When the MV is way off the slave feeds large gain and a small I time constat to the master resulting in fast approaching. When MV is close to the SV the slave will begin feeding less gain and larger I time constants.
    This master - slave PID:s is actually close to the Fuzzy Logic method.
    In high regards.

    • @realpars
      @realpars  3 года назад

      Thanks for adding that, Eugene! Much appreciated

    • @eugenepohjola258
      @eugenepohjola258 3 года назад

      @@realpars Yeah. Anything for a Brother or Sister in process automation.

    • @realpars
      @realpars  3 года назад

      People like you make the world a better place to live! ;)

  • @liridonosmani5834
    @liridonosmani5834 3 года назад +1

    P command is proportional to the error, I checks and makes sure error is adjusted to centre set point, D looks are the displacment speed of error from set point to minimise overshoot. Engineers correct me if i'm wrong please.

    • @realpars
      @realpars  3 года назад +1

      Hi Liridin! I'm sure you'll get lots of responses to your question as there are many ways to describe P, I, and D actions and responses. P is indeed proportional to the error. You might think of it as "error multiplied by some value called "Gain"". Gain is another way to express proportional response. The downside of proportional-only control is that the PV will never return to the setpoint. That's where I enters into play. Integral action will continue to make changes to the controller output until the PV does return to the setpoint. D is an interesting beast. Derivative looks at the rate of change of PV and "predicts" where it will at some future point in time, and then makes changes to the controller output accordingly. So, your comment about speed of error is correct. Derivative actions looks at the rate of change of error.

  • @cck1496
    @cck1496 3 года назад +1

    Excellent video. At 3:30 ( for derivative) what do you mean by saying, " how far in future you want to predict rate of change"? So, what is this "how far in future"?
    Thanks for your excellent work.

    • @realpars
      @realpars  3 года назад +1

      The derivative term is set to cause an output change proportional to the rate of change of the process variable. This tuning parameter is set based on where you think the process will/should go in the "future". Under normal circumstances, it takes 10-20 times the PID execution time before the full effect of an output change is fully recognized. That would normally be about 20-30 seconds for a flow or pressure loop. The higher the derivative value, the more contribution to the overall output it makes. Remember, derivative works in opposition to the integral and gain terms. With this in mind, derivative should be set to reduce the amount of overshoot that an aggressive gain and integral action produces.

    • @cck1496
      @cck1496 3 года назад

      @@realpars Excellent. Thanks for your prompt reply. Keep it up...

    • @KyranFindlater
      @KyranFindlater 3 года назад +1

      Another way to consider the Derivative is as a Dampening variable. It helps to dampen sudden large changes, usually on start-up conditions or if there is a very large instant change of the process input. The damping value helps reduce the sudden effect of the "gain" ( Kp ) changing the output instantly in response to the input. It dampens the response. It can help reduce overshoot while keeping the gain high for non-instantaneous changes. It will reduce your overall dynamic response to fast inputs, but can help keep the system safer from jitter. Other ways to do this is simply to have a filter on the PV as it comes into the PI[D] controller, to help reduce instant changes from the P gains.

    • @cck1496
      @cck1496 3 года назад

      @@KyranFindlater Thanks for your excellent explanation...

  • @Pablo.Crespo.86
    @Pablo.Crespo.86 3 года назад

    Really clear explanation . Thanks!!

    • @realpars
      @realpars  3 года назад

      Glad you liked it!

  • @vheisshu
    @vheisshu 3 года назад

    great explanations… i wish i watch this sooner

    • @realpars
      @realpars  3 года назад

      Glad to hear that, Donald! Thanks for your support.

  • @keisisqrl
    @keisisqrl Месяц назад

    The controller knows where it is at all times. It knows this because it knows where it isn’t.

  • @ricardogarcia3900
    @ricardogarcia3900 3 года назад +3

    The art of tunning a PID Controller .

  • @kiranchoudhari4717
    @kiranchoudhari4717 3 года назад +1

    Very nice 👌 , thanks for taking effort for making this topic very interesting ,,, gain paramater also help in Set up PID loop in Siemens drive

    • @realpars
      @realpars  3 года назад +1

      Hey!
      Thanks for your comment and your suggestion. I will pass this on to our course developers!
      Thanks for sharing and happy learning!

  • @jlmelgar04
    @jlmelgar04 3 года назад +1

    Vamos muchachos ustedes pueden crear estes fantásticos videos en español! yo se que si! esperare por ellos!

    • @realpars
      @realpars  3 года назад

      Gracias! At the moment we only create our video courses in English. You are always able to turn on the English subtitles as that might make it a bit easier for you.
      Our apologies for any inconvenience!
      Happy learning!

    • @jlmelgar04
      @jlmelgar04 3 года назад

      @@realpars los textos deben estar en español también, quizá en un futuro puedan llegar a mas gente

  • @lucysmith4242
    @lucysmith4242 8 дней назад

    Great video, good help

    • @realpars
      @realpars  6 дней назад

      Thanks, @lucysmith4242! Your feedback means a lot to us! 🙌

  • @alirezababaei4279
    @alirezababaei4279 2 года назад

    Great explanation!

  • @jimbass924
    @jimbass924 3 года назад

    Thanks for the very informative video!

  • @David-jb2wf
    @David-jb2wf 3 года назад

    Very succinct explanation. Thanks

    • @realpars
      @realpars  3 года назад

      Great to hear that!

  • @tempemail5337
    @tempemail5337 2 года назад +1

    Great introduction to PID and Exactly the info. I need now. To the point for beginners like me. Thanks.

    • @realpars
      @realpars  2 года назад

      Glad it was helpful! Thanks for your support

  • @محمدمحمد-خ5ع2ص
    @محمدمحمد-خ5ع2ص 3 года назад

    really very informative 👏👌

    • @realpars
      @realpars  3 года назад +1

      Glad you think so!

  • @mstjerning8919
    @mstjerning8919 3 года назад +1

    One scientific method could be using a model of the plant/system and applying classic design methods such as Frequency Analysis, Root Locus etc.
    I typically use Frequency Analysis. This allows the designer to evaluate the stability margins of the closed-loop controller. One of many advantages over trial and error tuning. Stability evaluation is a very important to do for professional implementations. You want to make sure that your controller performs reliably for a range of variabilities.
    Models can be derived analytically or by various measurements. For electro-mechanical systems, e.g. motors, I often use a simple 1. order model where I determine the mechanical time constant from measurements. I use the mechanical time constant as this is the most dominant when compared to the electrical time constant. There are benefits to using higher order models, both in performance and design features, but often 1. order models are good enough and quick to derive.

    • @realpars
      @realpars  3 года назад

      Thanks for adding that!

  • @prolarka
    @prolarka 3 года назад +1

    This looks like the same problem of correctly damping a harmonic oscillator. The aim is to get the damp factor to 1 to achieve critically damped state. That is the quickest way to stop the oscillation.

  •  8 месяцев назад

    Thank you! Saved me!

    • @realpars
      @realpars  8 месяцев назад

      You're very welcome!

  • @djovi11
    @djovi11 3 года назад +5

    Well done mate keep going 👍

    • @realpars
      @realpars  3 года назад

      Thanks a lot, Maximos!

  • @SathishTech07
    @SathishTech07 3 года назад

    Thanks for clearing my doubts.
    I watched many video about PID many channels saying past present future.
    But by watching this video. I realized what is past present and future.
    Can u post the video about auto tuning process of PID for set value.

    • @realpars
      @realpars  3 года назад

      Hey!
      Thanks for your comment and your suggestion. I will pass this on to our course developers!
      Thanks for sharing and happy learning!

  • @leagueoflanky
    @leagueoflanky 3 месяца назад

    Prefer to find out the open loop process and then determine closed loop tuning params to suit

  • @hectorenriquesantandermeza5208
    @hectorenriquesantandermeza5208 3 года назад

    Excellent Videos as always Real Pars. I have one question. Is there any other kind of controller better than PID?

    • @realpars
      @realpars  3 года назад +1

      That depends on the application, but PID is simple, easy to apply, and available in most controllers for most process control applications. Many controllers have PID variants that are very useful: PID Gap, Error Squared, pulse width control. etc. Remember, PID is just a model alg0roithm. Technically, you could develop your own algorithm and substitute it for the PID algorithm. Of course, in that case, you would have to provide all of the internal calculations and configuration, such as anti-reset windup. In some cases, neural networks, fuzzy logic, model-based control, and other variants can be used in place of PID.

    • @PhillipAlcock
      @PhillipAlcock 3 года назад +1

      I worked as a process control engineer in the petrochemical industry for most of my career. I would say that most of the controllers at the base / regulatory layer were vanilla PI controllers. The only loops we tended to use PID were an slower responding parts of the processes. We tried error squared PI for some level applications but eventually reverted to appropriately tuned PI.

  • @faizalraazy91
    @faizalraazy91 3 года назад

    Great presentation

    • @realpars
      @realpars  3 года назад

      Thank you, Faizal!

  • @Francirius
    @Francirius 3 года назад +1

    Perfect video. Question; why Integral mode is called Reset?

    • @cck1496
      @cck1496 3 года назад

      Good point...

    • @realpars
      @realpars  3 года назад +4

      Excellent question! Integration is the mathematical operation on the error
      signal in a PI or PID controller due to the "I", or integral parameter. Explaining how this math function works (integral in calculus) is meaningless to most technicians.
      When analog controllers were the only controllers that existed (pneumatic, then single loop analog), the integral adjustment was called 'reset'
      because adjusting the integral action knob tended to 'reset' the process variable back towards the setpoint. So increasing the integral action helped "reset" the process variable back to the setpoint.

    • @cck1496
      @cck1496 3 года назад

      @@realpars Excellent work. Keep it up....

    • @Francirius
      @Francirius 3 года назад

      @realpsrs thank u very much for the answer!

  • @I_SuperHiro_I
    @I_SuperHiro_I 4 месяца назад

    What if I have a derivative of 0 but still have signal noise and constant oscillation. Failing thermocouple or EMI?

    • @realpars
      @realpars  4 месяца назад +1

      Hi there, Thanks for reaching out. I wish we could give you a definitive answer, but there are too many variables to consider. Thermocouples themselves are not usually intermittent. They fail open, but not very often. You may have problems with the thermocouple connections. If you suspect an issue, test the TC and associated circuitry. When you say "signal noise," do you mean you have noise in addition to the constant oscillations? Have you tried reducing the Proportional Gain?

    • @I_SuperHiro_I
      @I_SuperHiro_I 4 месяца назад

      @@realpars yes, I had noise in addition to oscillations. I went back to the basics and solved it. Set integral to 0. Set Proportional to 0.1, increase until you see oscillation, then reduce by 50%. Set integral to 0.1, increase until you see oscillation, then reduce by 50%. After 3 cycles, it stabilized. Thermocouple and furnace resistances were good, as was thermocouple position. Sometimes the basics are best I guess.

  • @nguyenthanhchung8584
    @nguyenthanhchung8584 2 года назад

    My experience with Omron controller to control water pump pressure: choose Proportional band is 100, Integral is 10,it will work ok

  • @bitebonumbere1426
    @bitebonumbere1426 3 года назад

    7:59 Please cover that in future videos. Thanks.

    • @realpars
      @realpars  3 года назад

      Thanks for your suggestion!

  • @R945-l6f
    @R945-l6f 2 года назад

    Is there any mobile app to find gain values by giving pv and set point

  • @akshaypatil265
    @akshaypatil265 3 года назад

    great explanations! please make video on temperature PID controllers..

    • @realpars
      @realpars  3 года назад

      Hi Akshay!
      Thanks for your comment and your suggestion. I will pass this on to our course developers!
      Thanks for sharing and happy learning!

  • @ronnieperez8519
    @ronnieperez8519 3 года назад +7

    Wow all this time I thought PV meant "present value". We have these PID controls at the wastewater plant i work at.

    • @leonid3312
      @leonid3312 3 года назад

      Widely used at drinking water station where I work :) (ozone dosage, lime dosage, chlorine etc.)

    • @mis716
      @mis716 3 года назад

      ruclips.net/video/zKdFlp2JTKc/видео.html

  • @akashbajpai1139
    @akashbajpai1139 3 года назад +1

    Amazing 😍

  • @aliasjar8409
    @aliasjar8409 3 года назад

    Sir..Which software are you use for this presentation?

  • @mechatronicsmosa5283
    @mechatronicsmosa5283 3 года назад +1

    You are better and give better.

    • @realpars
      @realpars  3 года назад

      Thank you, Mosa!

  • @sonurock7625
    @sonurock7625 3 года назад

    Very good job sir❤️

  • @timowolff1105
    @timowolff1105 3 года назад

    Fabulous tutorial Sir, could you explain in the function domain in the integral term how to adjust the Time value, so the integration limits? Is there a formular to calculate them, or can you adjust them as you want? Thank Youvery much

    • @realpars
      @realpars  3 года назад

      Setting the integral value can be done in several ways. At 7:00 in the video, one trial-and-error method is used, which is an accepted and common way to set the integral term. It can be more accurately calculated by using a process response curve, determining the process gain, process deadtime, and process time constant, and then applying the Ziegler-Nichols or Cohen-Coon equations for calculating the integral time. There is an excellent course at Realpars.com that explains this method in detail.

  • @Val7368
    @Val7368 3 года назад

    Thank you for your great videos, very intuitive and useful! A remark about Ki and Ti at 2min23 shouldn't it be expressed as Ki=Kp/Ti if we talk about cycle per minute or per second?

    • @realpars
      @realpars  3 года назад +1

      Ki is representative of the integral tuning parameter, which can be expressed in minutes/repeat or repeat/minute; Ki=KpTi for minutes/repeat or Ki=Kp/Ti for repeats/minute. Usually, Ti is expressed in minutes and most PLCs and DCS systems use minutes as the time base.

  • @danielh9269
    @danielh9269 Год назад

    Isn't the INTEGRAL is the sum of all measured errors instead of measured values as stated? Please help to clarify. Thanks!

    • @realpars
      @realpars  Год назад

      Hi Daniel,
      Thank you for your question!
      Yes, you are correct. The measured errors are values representing the errors. As described in the video, the INTEGRAL is the sum of these errors or values of the errors in the loop.
      Hope this helps, and happy learning!

  • @amranislam4713
    @amranislam4713 3 года назад

    Much appreciated, how to implement PID parameters to control a camera servo in C++ ? Please explain bit more.

  • @eng.AbdullahGhalib
    @eng.AbdullahGhalib 3 года назад +1

    Excellent channel, I hope translation into Arabic will be available caption.

    • @realpars
      @realpars  3 года назад +1

      Hi Abdullah.
      Thanks for your comment! We currently only provide our course videos in English, you are always able to turn on the English subtitles as that might make it a bit easier for you.
      Our apologies for any inconvenience!
      Happy learning!

  • @shahabuddinshaikh1274
    @shahabuddinshaikh1274 3 года назад

    Many many thanks sir

  • @dulalbhuiyan724
    @dulalbhuiyan724 3 года назад

    How is the gas to air ratio of the boiler set? Please make a video of him.

    • @realpars
      @realpars  3 года назад

      Thanks for your suggestion, Dulal! I will make sure to pass that on to our course developers.

  • @pings8404
    @pings8404 3 года назад

    Thank​ you​ 👍🏻

    • @realpars
      @realpars  3 года назад

      You're very welcome!

  • @mamadarab8719
    @mamadarab8719 2 года назад

    Perfect 👏🏻

  • @Miraculin35
    @Miraculin35 3 года назад

    So good video

  • @mahmoodahmedmughal
    @mahmoodahmedmughal Год назад +1

    conceptual👍

    • @realpars
      @realpars  Год назад

      Thank you! Happy learning

  • @patelanand146
    @patelanand146 3 года назад

    Sir, please make video for rtd lead wire compensation

    • @realpars
      @realpars  3 года назад

      Hi Patel,
      Thanks for the topic suggestion, I will definitely go ahead and forward this to our creator team.
      Happy learning!

  • @sajadsarami2891
    @sajadsarami2891 3 года назад

    Thank you.

  • @felipegross
    @felipegross 3 года назад +2

    Cool video! Very, very weird to hear "intReg_al" from an experienced speaker though....

  • @majedhejazi7249
    @majedhejazi7249 3 года назад +1

    Thanks.

    • @realpars
      @realpars  3 года назад

      You're very welcome, Majed!

  • @vorapobautomation9760
    @vorapobautomation9760 3 года назад

    How to use PID in PLC S7-1500 ?

    • @realpars
      @realpars  3 года назад +1

      Hi Vorapob,
      Thanks for your comment!
      I will pass this on as a topic suggestion to our course developers. This would make for a great video course.
      Happy learning!

    • @abhipatel4121
      @abhipatel4121 3 года назад +1

      In TIA portal, you can find various pid control objects under instructions --> Technology --> PID control.
      Information about how to use these blocks could be found in user manual or help section.
      Hope it gives you some insight!

  • @oloruntobaoluwadarewasiu8045
    @oloruntobaoluwadarewasiu8045 11 месяцев назад

    Long life and prosperity

  • @robertolaplace3932
    @robertolaplace3932 Год назад

    Hi, I have a question, because I know how to program a PLC in ladder language, but I don't understand, in real life, how do you program a PLC with PID? Or do you need a special PLC? Really I don't understand how to apply this theory in practically way

    • @realpars
      @realpars  Год назад

      Thanks for your question, Roberto! I will happily go ahead and pass this on to our course developers as a possible future video course.
      Thanks again, and happy learning!

    • @robertolaplace3932
      @robertolaplace3932 Год назад

      @@realpars thanks you, I hope you will can show us how to program a PLC for a PID controller system, like a water tank, for example.

  • @laithjawad9208
    @laithjawad9208 3 года назад

    Please to be add videos for adjust parameters of PID

    • @realpars
      @realpars  3 года назад

      Thanks for your comment and topic suggestion. I will pass this on to our course developers!
      Thanks for sharing and happy learning!

  • @sergefrechette8995
    @sergefrechette8995 3 года назад

    Love this,

  • @k.srinivasarao6362
    @k.srinivasarao6362 3 года назад

    Will you make a vedio on SSR(Solid State Relay)

    • @realpars
      @realpars  3 года назад

      Hey!
      Thanks for your comment and your suggestion. I will pass this on to our course developers!
      Thanks for sharing and happy learning!

  • @debihsofiane3229
    @debihsofiane3229 3 года назад

    Thank you

    • @realpars
      @realpars  3 года назад

      You're more than welcome!

  • @bsbrum
    @bsbrum 3 месяца назад

    An exceptionally well produced video, but the mispronunciation of “inTREgal” instead of “IInTEGral” just ignited my OCD. 🤣

    • @realpars
      @realpars  3 месяца назад +1

      Glad you enjoyed the video! 😄 We'll work on perfecting the pronunciation next time-thanks for pointing that out!

  • @nyahhbinghi
    @nyahhbinghi 2 года назад

    Process Variable, Set Point Variable, Control Variable??

  • @barhammd
    @barhammd 3 года назад

    I can’t agree with this methodology with respect to tuning a loop in a chemical process. Inducing a loop to near ringing is highly dangerous. I also never would recommend expecting the proportional parameter to ever return to set point, that’s an error the integral parameter solves over a desired time. A P only loop ever reaches set point. Process dynamics assures that. Lastly, if you don’t understand the process the loop is controlling, you’ll probably end up doing more harm than good.

    • @realpars
      @realpars  3 года назад

      Michael, thank you for your comments. The loop tuning method shown is called the Open Loop Critical Gain method, which does create a bit of oscillation, but also is an effective method of tuning. Even though it doesn't appear to follow any process dynamics., it is actually a result of the Ziegler-Nichols equation solved at a boundary. The more exact way to determine tuning parameters is to use a reaction curve to determine Kc, Tau, and Tdeadtime, and then use the Ziegler-Nichols equations to solve for Kp, Ti, and Td. This method is demonstrated in a complete multi-part course at Realpars.com using PLC logic, simulation, trending and auto-tuning.

  • @Schneider1477
    @Schneider1477 2 года назад

    nice

  • @si-hamsoso2543
    @si-hamsoso2543 2 года назад +1

    🥺😓😓Can you translate into Arabic, because this is my graduation topic, please

    • @realpars
      @realpars  2 года назад +1

      Hi Si-Ham,
      Thanks for your comment! We currently only provide our course videos in English, you are always able to turn on the English subtitles as that might make it a bit easier for you.
      Our apologies for any inconvenience!
      Happy learning!

    • @si-hamsoso2543
      @si-hamsoso2543 2 года назад

      @@realpars Thank you very much for the reply, I am so grateful It is true that English is an approved and more widely used language, and I did not ask you to change the video. I just wanted it to be. I chose the language, and with your explanation, the language of the other side should be below in order to make it easier to understand, like the rest of the channels that explain pid.

  • @mehulpatel9579
    @mehulpatel9579 2 года назад

    👍🏻🇮🇳

  • @ecotech4148
    @ecotech4148 3 года назад

    🌺😘

  • @santanicclaus551
    @santanicclaus551 2 года назад

    Intregal