Create a PID tunning function
See original GitHub issueCreate a PID tunning function and also wrap it to matlab compatibility.
It must heritage the tf class as answer and print in the format Kp + Ki * 1/s + Kd * s instead num / den format.
_Originally posted by @kingaza in https://github.com/python-control/python-control/issues/139#issuecomment-289278348_
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
How to Tune a PID Controller - RealPars
PID controllers are very sophisticated devices with many adjustable parameters. The most widely used PID tuning method is trial and error.
Read more >How to Tune a PID Controller - PID Explained
Start by setting the Integral and Derivative values to 0. Then increase the proportional until the controller starts to become unstable and ...
Read more >Open PID Tuner - MATLAB & Simulink - MathWorks
Create a Simulink model containing a PID Controller, Discrete PID ... Select Tuning Method drop-down list, select Transfer Function Based (PID Tuner App)...
Read more >Introduction: PID Controller Design
C = s^2 + s + 1 ----------- s Continuous-time transfer function. Alternatively, we may use MATLAB's pid object to generate an equivalent...
Read more >PID Control
tional (left), PI (middle) and PID controllers (right). The process has the transfer function P(s) = 1/(s + 1)3, the controller parameters are...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

A mildly acceptable autotuner work is a lot of work. Under the pidtune of matlab there is the same machine that also runs hinfstruct etc. in a nutshell solves a NON3 (nontrivial nonsmooth nonconvex) optimization problem. Something that comes close to it is HIFOO solver but the authors (which I knew some of them) refused to unGPL it to get it out of matlab domain. So I skipped it in the past and I need to find some time to read the article version.
Otherwise it won’t move far from returning meaningful results for bunch of 2nd order systems but fail on almost everything else.
Good point, even because this will make possible Hinf, H2 and other control calculations.
The most advanced solver that I know in Python is
cvxpy(convex solver), that is not the needed here.