Is there an equation that can automatically tune PID controllers? or do I have to do manually/make an AI to do it for me?

  • $\begingroup$ Please describe the system being controlled also. For open loop stable systems, a few techniques exist. $\endgroup$
    – AJN
    Sep 5, 2021 at 17:34
  • 1
    $\begingroup$ There seems to be a small list of (auto) tuning methods at Wikipedia. But they may be applicable only for systems with simple behaviour. $\endgroup$
    – AJN
    Sep 5, 2021 at 17:39
  • $\begingroup$ If tuning without knowing system characteristics it would be an algorithm, not an equation (where you would actually be modelling the system). Yes they exist, and they work kind of. At least for simple systems where you only need moderate performance. And some are proprietary so it is not a set in stone kind of thing. You are probably better tuning manually at least once even if it takes you a while so you can at least learn what gotchas might arise before using auto-tune. $\endgroup$
    – DKNguyen
    Sep 5, 2021 at 19:43
  • $\begingroup$ there are many auto tuning methods. the one you use depends on the response you want- for example sometimes overshoot is unacceptable. You will need the model of the plant you wish to control- usually when figuring out that model, you can come up with what constraints you need on the response too. $\endgroup$
    – Abel
    Jan 2 at 17:22


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.