Quote:
Originally Posted by thingstodo
The Windydrew custom fimrware for racing - based on Paul Holmes Open Source AC Controller 1.1
There is a throttle that is scaled 0 - 100% throttle with no regen programmed.
There is a momentary button (push to engage, disengaged when you let go of the button) that is connected to the LED pin that is wired normally open. Normal state is the button released = input Hi = forward. Button Pressed = input Lo = reverse (or regen braking)
First the regen sequence
Code:
button Throttle description
Released 0 - 100% normal forward controlled by accelerator pedal, 0 - 100%
Released 0% Coasting, no acceleration
Pressed 0% If rpm >= 50, switch throttle signal to regen
Pressed 30% 30% regen braking
Pressed 0% Coasting again, remain in forward with regen
Released 0% normal forward controlled by accelerator pedal, 0 - 100%
Now we describe reverse
Code:
Released 0 - 100% normal forward controlled by accelerator pedal, 0 - 100%
Released 0% Coasting, no acceleration
Pressed 0% If rpm < 50, switch to reverse.
Pressed 30% throttle reverse
Pressed 0% Coasting again, remain in reverse or forward with regen
Released 0% normal forward controlled by accelerator pedal, 0 - 100%
Did I get that all right?
|
Looks great. I had the latest that he sent me. The one he'd used on his leaf motor, which it what I'm using as well. I can email it to you if you want to load it to github or something.