I have a theory... if the throttle ramp rate is sufficiently slow (on its max setting) that the controller is still delivering current for an instant after the throttle contactor opens, the big ring capacitor voltage will go to zero. It will start filling up again due to the precharge resistor, but if the throttle closes before the cap is full again, the capacitor would be hit with like 10,000 amps for an instant. If this happens a lot (like in stop and go traffic), maybe the cap could get damaged. Even if that's not the reason for the strange behavior, your code needs another modification, due to the contactor on the throttle. I know what I could add to yours.
|