Hello! The 500 amp controller is 1.11C. The only change from Fran's code is a bug fix with the high pedal lockout, and if pwm goes to 100% but current is zero, then it generates a fault. That's to avoid failures from having a contactor connected to the throttle. Like if you step on the throttle just a hair, but not enough to close the contactor, but enough for the microcontroller to think that it's non-zero throttle, the pwm duty will ramp up to 100%, trying to command nonzero current.
|