I'm using regenerative braking on a VEC200 controller driving a 3kw bldc motor. When the brake pedal nears the end of its travel it closes a switch that triggers the regenerative braking (RB) at the settings of voltage and current set in the braking parameters.
I want to make the braking effect variable so as the brake pedal is depressed, the braking rate becomes higher and higher. I've tried using the second brake lead as the wiper on a 5k pot running between the "+5v" pin and "gnd". The result was as the wiper moves, it comes to a point where braking is triggered and it comes on at the parameter set rate, not varying at all!
Does anyone know how to make RB variable?