I have been trying to implement a torque controller for a winch based on lab04. However, I have found that when reeling the winch out (i.e. the torque is in the opposite direction to the rotation), the torque increased with speed, which is definitely not what you want from a torque controller. I am using the Piccolo Launchpad with a DRV8301 Booster Pack.
I found that if I turned off the forced angle then the problem disappeared. However, this still makes no sense to me because the forced angle algorithm should shut off after like .001 Hz so I have no idea why it would have any effect after startup. I also find that the controller cannot really hold torque at zero speed, it oscillates back and forth, but that makes sense to me because you probably need an encoder to do that since you can't sense the bemf.
Does anyone have any ideas how I can remove this problem, but still let the motor start itself from zero speed? The idea is for a winch to hold constant torque, so it should reel in or out depending on the load. If i turn off the forced angle to stop the problem, then the motor will not reel in again after it has stopped.
Matt