Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tuning PID controller
#1
Hello,

Does exist a particular PID library that facilitate PID controller tuning.
Let's say realize following scenario:

  1. specify some guess values for Kp, Ki, Kd
  2. apply some kind of perturbation (e.g. step) on settle point
  3. measure output
  4. extract from measurements optimized Kp, Ki, Kd parameters according some constaraints (e.g. settling time less than 1us, overshoot less than certain value, etc.)

Thanks.
Sincerely,
Sancho
Gribouillis likes this post
Reply
#2
In Python or are you open to using Matlab/Simulink or C/C++?
Reply
#3
There are several PID controller tuning packages in this group.
Since I haven't used any of them, I cannot reccommend one over another.
https://pypi.org/search/?q=PID+%2B+contr...B+tuning&o=
Reply
#4
(Nov-06-2020, 04:35 PM)deanhystad Wrote: In Python or are you open to using Matlab/Simulink or C/C++?
Matlab/Simulink probably not.
Python or C/C++.
Reply
#5
(Nov-06-2020, 06:56 PM)Larz60+ Wrote: There are several PID controller tuning packages in this group.
Since I haven't used any of them, I cannot reccommend one over another.
https://pypi.org/search/?q=PID+%2B+contr...B+tuning&o=
Ok, thanks
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Auto re-pair / re-sync Controller via Script? User3000 2 430 Nov-30-2020, 11:42 AM
Last Post: User3000
  Xbox Controller arki 0 620 Jun-30-2020, 10:32 AM
Last Post: arki
  Please help! Akai APC20 midi controller script versusliveact 0 687 Feb-14-2020, 05:37 AM
Last Post: versusliveact
  managing command codes for external controller box Oolongtea 0 595 Sep-19-2019, 08:32 AM
Last Post: Oolongtea
  Interfacing with a USB game controller barryjo 2 4,461 Oct-31-2016, 08:21 PM
Last Post: barryjo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020