br3ttb

Results 48 comments of br3ttb

create two pid classes (myPID1 & myPID2, say) and link them to separate output, input, and setpoint variables. On Sun, May 5, 2019, 11:43 PM Qhergt wrote: > I'd like...

I'll add, for anyone else reading, that my approach in situations like this is to serial.print the values of the internals as much as possible. This will usually point to...

Oftentimes, overshot can be lessened with different tuning parameters. To achieve an equivalent behavior to "resetting the integral" with this library (or the industrial PIDs it was designed to emulate)...

this is a valid problem. if you (or someone) deals with it in a branch I will merge.

interesting! the library is a straight-up port of another library so it's possible that there's a mistake there that I wasn't aware of. The pid library uses parallel form that's...

Looks like too much derivative. Try kd=0 to confirm. On Thu, Mar 22, 2018, 2:51 PM Phil D. wrote: > My PID output goes crazy as my error approaches zero....

There is more likelihood of quick back and forth near setpoint; when you're away it's clear which direction you have to go. So if your input jumps back and forth...

A third option I didn't mention, which is similar to the first: use LESS d. Add a little to get the oscillation-dampening benefit, but not so much that you get...

glad you like the library! (except for right now) other than millis(); the pid library is just doing straight math. this sounds like a Garbage-In Garbage-Out kind of situation. it...

if you ever teach a controls course, be sure to take a look at MY controls professor's stuff: http://controlguru.com (sure worked for me) On Fri, Jan 10, 2014 at 10:13...