drbitboy
Lifetime Supporting Member
WHAT NUMBER?
Now I am pulling a tooth.
I think OP may not be privy to the inside joke on the relationship between "half-century" and "@Peter's popcorn."
WHAT NUMBER?
Now I am pulling a tooth.
the gains number, which from my internet readings takes you to laportes differential equation land which well is way above my head.WHAT NUMBER?
Now I am pulling a tooth.
I hope you realize that this could have been done days ago of drbitboy DMD, didn't need to pull teeth one post at a time.
The PID instructions should ideally be in a Program in a 500ms periodic Task ...
the gains number, which from my internet readings takes you to laportes differential equation land which well is way above my head.
I look forward to those trends!... and should have 8hrs of trending today. ...
Post #58 shows that the PIDs are probably in a 100ms task, in the image the OP included.
POST #58 is from an old job for a gas compression system. NOT related to this problem. when drbitboy started talking about timing i went diggin to validate my fuzzy memory. the developer there had like 30yrs all over the world running compressors. dude had it down to a science with all kinds of cool 'automated' tricks to allow for maximum nap time (he liked working from home).Post #58 shows that the PIDs are probably in a 100ms task, in the image the OP included.
I look forward to those trends!
_
Note that, if we assign 0.0 as the value both of Ki and of Kd, then the timing of PID updates, whether in a Periodic or Continuous Task, does not affect its behavior significantly. But don't do that, because then you would have to manually supply a bias, startups would be harder, etc.
That 6856us (6.856ms) maximum scan time is more or less consistent with my estimated mean scan time of 5.5ms, and might support my hypothesis that the PID is running in a continuous task
POST #58 is from an old job for a gas compression system. NOT related to this problem. when drbitboy started talking about timing i went diggin to validate my fuzzy memory. the developer there had like 30yrs all over the world running compressors. dude had it down to a science with all kinds of cool 'automated' tricks to allow for maximum nap time (he liked working from home).
Sometimes the reverse tooth fairy provides more teeth than what the OP provides.it appears to be a continuous task,
which if i understand what you are saying means its not consistently running the calculation so it causes issues.