The new laptop from the SGC is on it's way, but a friend of mine (evrag) let me borrow his laptop, so I decided to get to work loop tuning! I installed all the software, and tried it out.
Here's a graph of the current response when throttle suddenly jumps from 0 to 50 (on a scale of 0 to about 500). This isn't a PI loop, but instead was just some ramping code, like this:
if (throttle < current)
pwmDuty--;
else if (throttle > current)
pwmDuty++;
Also, pwmDuty was in the range 0 to 4088. Throttle feels pretty good on this setting. Not TERRIBLY responsive, but not bad.
The current is blue, and the throttle is red. Each tick mark on the x-axis represents 1/4000 of a second, so it took the current 0.04 seconds to get up to where the throttle was (50 amps about):
I was just trying it out. I wrote the code for the PI loops, and now I'm going to test that. It's almost like having a digital storage oscilloscope! hehe.