I noticed that the default PID loop code for Current loop as well as Speed loop is called PID but only the P term and I term are used in all the Instaspin labs. Is there a reason why the D term was not used or deemed not necessary? Anyone had trouble tuning it with just the P and I?
I can imagine the D-term not being necessary for motors with very high inductance because the current cant rise fast enough anyways. But for very low inductance motors, I am having trouble tuning the current controller. The current controller is basic and deep down in instaspin. There is no spintac for that, the spintac is only for speed controller and position controller. I followed the steps in lab 5A and the waveform looks good for small currents but for higher current commands the overshoot/ringing is very high, it doesn't nocely get to the commanded current, the ringing is of the order of 200% of the commanded current. So, I think the D-term is what we are missing in the current controller code.
Any comments?