Page 1 of 1

brake in signal

Posted: Sat Dec 10, 2022 6:35 pm
by madius
hi,

is the "brake in" signal from the brake pedal swith required for regenerative brake operation?
Or is the potentiometer enough?

thanks

Re: brake in signal

Posted: Sat Dec 10, 2022 8:27 pm
by johu
A potentiometer is enough purely for regen adjust. The additional use of brake_in is locking out throttle while it is pressed and cancelling cruise control.

Re: brake in signal

Posted: Sat Dec 10, 2022 11:11 pm
by madius
johu wrote: Sat Dec 10, 2022 8:27 pm A potentiometer is enough purely for regen adjust. The additional use of brake_in is locking out throttle while it is pressed and cancelling cruise control.
Thank you very much!

Another question, can I have the potentiometer reading inverted?
In the vehicle I am assembling the sensor gives me less voltage when I press the pedal.
What I did was to set potmin to a higher value than potmax.

Example:
potmin: 1300
potmax: 400

Does this work?

Re: brake in signal

Posted: Sat Dec 10, 2022 11:12 pm
by arber333
madius wrote: Sat Dec 10, 2022 6:35 pm hi,

is the "brake in" signal from the brake pedal swith required for regenerative brake operation?
Or is the potentiometer enough?

thanks
I would add a single 5K pot to regen input. This to vary your regen in case of winter. I would not use an active pot on the brake pedal since it presents a complication when making turns and shifting. From my use of colvern linear 5K pot under the brake i can say it can be schratched and develops a jumping field at that spot. https://uk.farnell.com/tt-lm10-potentiometer

Re: brake in signal

Posted: Sat Dec 10, 2022 11:14 pm
by madius
arber333 wrote: Sat Dec 10, 2022 11:12 pm I would add a single 5K pot to regen input. This to vary your regen in case of winter. I would not use an active pot on the brake pedal since it presents a complication when making turns and shifting. From my use of colvern linear 5K pot under the brake i can say it can be schratched and develops a jumping field at that spot. https://uk.farnell.com/tt-lm10-potentiometer
Of course I understand.
Anyway the vehicle I am modifying has hall type sensors on both pedals.

Re: brake in signal

Posted: Sat Dec 10, 2022 11:53 pm
by MattsAwesomeStuff
madius wrote: Sat Dec 10, 2022 11:11 pmAnother question, can I have the potentiometer reading inverted?
I think it should work the way you've done it, based on the description.

Also, you could just flip your wires. A pot (or hall effect) typically has 3, one ground/reference and then either end of the travel. One goes up, one goes down.

Re: brake in signal

Posted: Sun Dec 11, 2022 12:09 am
by madius
MattsAwesomeStuff wrote: Sat Dec 10, 2022 11:53 pm I think it should work the way you've done it, based on the description.

Also, you could just flip your wires. A pot (or hall effect) typically has 3, one ground/reference and then either end of the travel. One goes up, one goes down.
It's a Hall sensor. I can't flip cables.

Re: brake in signal

Posted: Sun Dec 11, 2022 1:30 am
by DkubusEV
I think it means to "swap" the two pots around (not the individual polarity of each pot) this way pot 1 goes the way that currently pot 2 does? .. I least that's what I think it means.

Re: brake in signal

Posted: Sun Dec 11, 2022 10:02 am
by johu
Yes potmax < potmin is possible
In Touran I adjust regen with brake pressure that I found on CAN bus. Works great. I can disable regen with cruise control buttons if I prefer coasting or want to shift. Brake pedal regen is always on though. Most of that logic is in the VCU though.