dan p said:
Is it normal that my Cycle Analyst shows that my speed and (more importantly) my amps are peaking way above the limits that I've set in the basic setup? I've read that the way it works is to just inhibit the throttle when the limits are exceeded, but it seems like there is a significant delay before it starts cutting the throttle back. Is there any way to decrease this delay time?
There is indeed a way to decrease the delay time, and that is by increasing the feedback gain terms in the advanced setup menu. In this case you would be modifying PAGain (proportional gain for over-current error) and the IntAGain (integral gain for over-current error). As the values are raised, you'll get a faster response, but with an increased likelyhood of oscillation about the set point value. In general, the proportional gain is a little touchy for current control, so I would play around mostly with IntAGain. Just gradually increase the value from the default number until you are happy with the tradeoff between a fast response and a bit of jitter in the current control loop. The optimum value varies from setup to setup, depending on the motor type, controller type, and battery voltage, but generally you can have it reach a stable output in <1/4 second.
There is another parameters of possible importance as well, ITermMax, the max output to prevent integral gain wind-up. If you have ITermMax set all the way to 5V, but the motor controller considers 3.5V to be the peak throttle value, then the CA output needs to drop from 5V all the way down to about 2.9V (3.5V minus the 0.6V or so diode drop) before it can even begin to regulate the controller, and so this causes an additional delay time for the limiting to kick in. ITermMax should be as low as possible without causing the full throttle voltage to be clamped.
As others have noted in this thread, there is no way for the CA to limit current peaks that exist on the order of milliseconds, which can cause a BMS to trip or a mosfet to fry, that kind of really fast regulation needs to happen directly at the PWM chip on the motor controller. But the current limit will work perfectly for all other reasons, such as extending the range, reducing the continuous current draw from the battery pack, running at constant power, or what have you.
-Justin