Search found 4 matches

by muythaibxr
Thu Apr 24, 2008 1:57 am
Forum: FreeEMS Firmware Dev
Topic: PID control discussion
Replies: 105
Views: 156677

Re: PID control discussion

OK so next iteration of the loop, I now have a valve position of 54%, and lets say RPM dropped to 1200, because the valve closed some on the last iteration.. Now you have to be kidding me. Your motor was at 1600 rpm. That's 26 revolutions per second, or 37milliseconds per revolution. Now I forget i...
by muythaibxr
Wed Apr 23, 2008 11:58 pm
Forum: FreeEMS Firmware Dev
Topic: PID control discussion
Replies: 105
Views: 156677

Re: PID control discussion

Also, Abe... I believe I made a good point on msextra the last time you tried to say that there was a built-in integral: IF the output continues to increase/decrease as you get close to the set point, it is because the integral limit I have in the code is too large for your application, or because y...
by muythaibxr
Wed Apr 23, 2008 11:37 pm
Forum: FreeEMS Firmware Dev
Topic: PID control discussion
Replies: 105
Views: 156677

Re: PID control discussion

For idle it is just plain wacky, and next to impossible to tune. Which is why several people have tuned it and are using it daily on their daily drivers... the problem isn't the algorithm, it's that it needs to be tuned correctly. I guess this is twofold, then. 1) I'd like to come up with a decent ...
by muythaibxr
Wed Apr 23, 2008 11:33 pm
Forum: FreeEMS Firmware Dev
Topic: PID control discussion
Replies: 105
Views: 156677

Re: PID control discussion

You must be good, you used italics AND bold (not just holding down shift). Seriously, thanks for the nice write up. Here's what I noticed, aside from the obvious that Engineers start with 'the z transform blah blah' instead of what a z transform is or why you'd do it... :-) But it's ok, I think I m...