News:

  • August 03, 2026, 02:27:50 PM

Login with username, password and session length

Author Topic: PID Loop Auto-Tune  (Read 13478 times)

EliWaldner

  • Full Member
  • ***
  • Posts: 22
PID Loop Auto-Tune
« on: December 03, 2021, 12:42:11 PM »
We are trying to do an Auto-Tune on a PID loop. We have set Control Type to "PID" and Tuning Algorithm to "Open Loop". The behavior we are seeing, seems to be strange. The Output is bumped a little higher and held there it seems, until the PV plateaus? Is that normal behavior for Auto-Tuning an open loop PID? Attached is a screen shot of the tuning process and the results we get for the tune.
 
What are we doing wrong? Any help would be greatly appreciated! Thanks in advance.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6170
  • Yes Pinky, Do-more will control the world!
Re: PID Loop Auto-Tune
« Reply #1 on: December 03, 2021, 05:19:40 PM »
Yes, that's exactly how open loop works. Closed loop cycles back and forth between output of 0 and 100% just until the PV pops over the SP.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

EliWaldner

  • Full Member
  • ***
  • Posts: 22
Re: PID Loop Auto-Tune
« Reply #2 on: December 03, 2021, 06:30:14 PM »
Are the results normal too? After the tune, the PID loop does not work at all! All the settings are "minus".....

pbw

  • Hero Member
  • *****
  • Posts: 127
Re: PID Loop Auto-Tune
« Reply #3 on: December 05, 2021, 11:05:19 PM »
Is there a specific Reason you're using Open Loop?
I've used Closed Loop on numerous occasions and the results where spot on. What are you trying to control?

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3839
    • Host Engineering
Re: PID Loop Auto-Tune
« Reply #4 on: December 06, 2021, 09:19:21 AM »
Are the results normal too? After the tune, the PID loop does not work at all! All the settings are "minus".....
Is your loop "reverse acting", i.e. when your .Output goes up, your .PV goes down and vice versa?

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3839
    • Host Engineering
Re: PID Loop Auto-Tune
« Reply #5 on: December 06, 2021, 09:22:00 AM »
Also, try to start with your PV is ssomewhat stable, and NOT on the 2 extremes, e.g. put your PID loop in Manual mode, set the .Output to 50.0 and let your process "settle" out (the .Output can be probably be anything between 20.0 and 80.0, just not 0.0, 1.0, 100.0 or 99.0 when you start tuning)