You are here

Dual signal on throttle

3 posts / 0 new
Last post
tmgofer
Offline
Last seen: 4 months 8 hours ago
Joined: 2023-07-31 11:55
Posts: 4
Dual signal on throttle

Hi,

There are just 2 ADC channels available for analog input. In an electric motorcycle they will be used for acceleration and regenerative braking. 
Did anyone thought about how to use a throttle that has two redundant signal? (example: Domino throttles: https://www.domino-group.com/oem/en/throttle-controls.html This is worth considering in vehicles where failure of one channel can have potentially serious impact on user's health... ) Is there any IO expander available that will work with VESC? The only way I can see is to use additional IC that would monitor both analog signals and communicate with VESC...
Waiting for your opinions and guidance :)

 

eguven
Offline
Last seen: 2 weeks 3 days ago
VESC Free
Joined: 2020-02-11 09:15
Posts: 11

I have the same concern. Especially using a throttler having a center idle, a broken cable will end up with a full throttle.  A differential sensing using two  ADC channels might be considered. 

eguven

vadicus
Offline
Last seen: 1 week 21 hours ago
VESC Free
Joined: 2018-08-17 07:26
Posts: 431

This is unnecessary. All you need is configure the inputs correctly. Losing 5v will cause the the signal to be pulled down to 0v provided your version of vesc has a pulldown resistor on the input (and it should). Losing the ground wire is a bit more concerning but if you configure your throttle upper limit to be lower than when with the ground disconnected, the controller will detect the fault and cancel acceleration. 

 

 

NextGen FOC High voltage 144v/34s, 30kw (https://vesc-project.com/node/1477)