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
  Python and DMX (aka, light controller) ScottAF 4 2,548 Apr-06-2023, 07:09 PM
Last Post: ScottAF
  How can flask find the controller? 3lnyn0 3 1,288 Jul-08-2022, 10:05 AM
Last Post: Larz60+
  Controller Buzzer as Distance Decreases barkster 6 2,037 Nov-01-2021, 03:26 PM
Last Post: barkster
  Auto re-pair / re-sync Controller via Script? User3000 2 2,281 Nov-30-2020, 11:42 AM
Last Post: User3000
  Xbox Controller arki 0 1,686 Jun-30-2020, 10:32 AM
Last Post: arki
  Please help! Akai APC20 midi controller script versusliveact 0 2,095 Feb-14-2020, 05:37 AM
Last Post: versusliveact
  managing command codes for external controller box Oolongtea 0 1,894 Sep-19-2019, 08:32 AM
Last Post: Oolongtea
  Interfacing with a USB game controller barryjo 2 8,778 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