I think it's very doable too! It could be as simple as a switch that lets the controller know what it's supposed to do. Instead of contactor to motor closed, contactor to an inductor is closed. It could even be the same chip if you wanted. The code would actually be very similar. Instead of reading throttle, you would follow some sort of algorithm so that current into the batteries was what you wanted it to be. You might need a different current sensor, though. Maybe you could have 2 current sensors mounted to M-. One for 0-500amp, and one for 0-30amp or whatever.
|