Author Topic: Throttle attenuator for an EV  (Read 4938 times)

0 Members and 2 Guests are viewing this topic.

Offline quinceTopic starter

  • Regular Contributor
  • *
  • Posts: 74
  • Country: us
Throttle attenuator for an EV
« on: July 21, 2024, 11:17:22 am »
My car has an especially peppy throttle. If I stomp it at a stop light it'll easily break the tires from the pavement. Some cars like mine have a "chill mode" which cuts down the throttle substantially, but mine isn't in that price bracket.

An older car I owned had about half the kW rating of my current vehicle. I've been often thinking while driving about what it'd take to get the sedate throttle of my older car in my new one.

My solution is to cut the voltage increase (relative to zero throttle) by half as the throttle is applied. I've attached the OEM reference schematic, and a rough LTSpice simulation of my board.

Attenuation is achieved passively by dividing the difference between each throttle pin's actual voltage and a zero-throttle reference (generated via fixed resistor divider) by roughly two. This solution appears to output voltages within 1-5% of the correct value across the throttle resistance range; hopefully this is within the ECU's tolerances.

Results will be posted here in a few weeks when all the parts show up. Any feedback or suggestions would be appreciated! Feel free to re-use this design if it's useful to you.
« Last Edit: July 21, 2024, 11:19:07 am by quince »
 

Offline moffy

  • Super Contributor
  • ***
  • Posts: 2122
  • Country: au
Re: Throttle attenuator for an EV
« Reply #1 on: July 21, 2024, 11:31:01 am »
Is the accelerator position proportional to speed or say motor current/power? I'm not sure how that works in an EV.
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16366
  • Country: za
Re: Throttle attenuator for an EV
« Reply #2 on: July 21, 2024, 11:53:28 am »
There are throttle pedal adjusters, specific for a vehicle type, that act to change the law the sensor provides to the ECU. They read the 2 signals, and then use a small MCU to read the 2 pedal position voltages, one rising from 0V to Vref (typically 5V) as the pedal goes from released to flat to the floor, while the other is the exact opposite, so that the ECU can do sanity checking and prevent the runaway accelerator thing. They normally are going to do the opposite, providing a higher presented position according to some curve, but are quite capable of also limiting the max pedal position shown to the ECU instead, acting as power limiter.
 
The following users thanked this post: quince

Offline SteveThackery

  • Frequent Contributor
  • **
  • Posts: 586
  • Country: gb
Re: Throttle attenuator for an EV
« Reply #3 on: July 21, 2024, 12:49:47 pm »
Is the accelerator position proportional to speed or say motor current/power? I'm not sure how that works in an EV.

Neither, almost certainly. It will just be one more input to the ECU, which will no doubt have sophisticated algorithms determining the motor current at that instance. I imagine all sorts of variables will be assessed: throttle pedal position, direction of movement and speed of movement; battery charge level; battery temperature; motor temperature; road speed; driving mode (sport, economy, etc); traction control setting; etc, etc.
 

Offline SteveThackery

  • Frequent Contributor
  • **
  • Posts: 586
  • Country: gb
Re: Throttle attenuator for an EV
« Reply #4 on: July 21, 2024, 12:51:12 pm »
There's no chance that I would mess with such a safety critical sub-system. Also, it surely will invalidate your insurance.
 
The following users thanked this post: tom66, janoc, bookaboo, wraper, Circlotron, nvmR

Offline BrokenYugo

  • Super Contributor
  • ***
  • Posts: 1214
  • Country: us
Re: Throttle attenuator for an EV
« Reply #5 on: July 21, 2024, 12:56:22 pm »
Thinner sole shoes? Eco mode? An electronic throttle pedal is not something I'd mess with.
 
The following users thanked this post: bookaboo, harerod, nvmR

Online langwadt

  • Super Contributor
  • ***
  • Posts: 4766
  • Country: dk
Re: Throttle attenuator for an EV
« Reply #6 on: July 21, 2024, 12:56:32 pm »
Is the accelerator position proportional to speed or say motor current/power? I'm not sure how that works in an EV.

Neither, almost certainly. It will just be one more input to the ECU, which will no doubt have sophisticated algorithms determining the motor current at that instance. I imagine all sorts of variables will be assessed: throttle pedal position, direction of movement and speed of movement; battery charge level; battery temperature; motor temperature; road speed; driving mode (sport, economy, etc); traction control setting; etc, etc.

https://www.reddit.com/r/teslamotors/comments/inzuhz/model_3_factfinding_accelerator_pedal_position_vs/
 
The following users thanked this post: moffy, quince, SteveThackery

Offline quinceTopic starter

  • Regular Contributor
  • *
  • Posts: 74
  • Country: us
Re: Throttle attenuator for an EV
« Reply #7 on: July 21, 2024, 06:46:10 pm »
Here's the sim curve if anyone wanted it. Less power is genuinely safer unless you're trying to get away from someone who's about to rear-end you. From https://www.chevybolt.org/threads/how-are-you-handling-your-instant-torque.46186/:

Quote
Over on the EV6 boards, there has been a high report of crashed EV6s, and I can't help wonder if the instant torque is making people take chances that they normally would because of that instant torque

Thinner sole shoes? Eco mode? An electronic throttle pedal is not something I'd mess with.

I already wear thin soles. My car doesn't have an Eco mode. B mode makes the regen region deeper, but full pedal-to-the-medal is still full power. Sport Mode does the opposite of what I want and makes the low-end torque curve sharper.

I have much less confidence in mechanical solutions (nylon block glued to the back of the pedal, anyone?) than an electrical solution which I can switch on and off.

There's no chance that I would mess with such a safety critical sub-system. Also, it surely will invalidate your insurance.

This site says it's legal:

https://issautomotive.com/blogs/throttle-response-controller/are-throttle-controllers-safe-learn-more

Quote
In the United States, throttle controllers are allowed as long as they do not interfere with the manufacturer's original design and the vehicle remains safe to drive. In Europe, most countries allow throttle controllers as long as they meet EU safety requirements.

Also: I spent more than half my driving career behind the wheel of "slow ICE" and "slow EV" with glacial throttle response and almost zero low-end torque.

From my perspective, I'm not messing with the throttle of my EV. The OEM has been introducing a hazard to me in making all EVs, mine included, way quicker than is required because reviewers expect to have maximum torque and power available when stationary.

Nobody really talks about it, but EVs can be more expensive to insure partially because they're so overpowered.
« Last Edit: July 21, 2024, 07:11:16 pm by quince »
 

Offline quinceTopic starter

  • Regular Contributor
  • *
  • Posts: 74
  • Country: us
Re: Throttle attenuator for an EV
« Reply #8 on: July 21, 2024, 06:59:07 pm »
Is the accelerator position proportional to speed or say motor current/power? I'm not sure how that works in an EV.

Neither, almost certainly. It will just be one more input to the ECU, which will no doubt have sophisticated algorithms determining the motor current at that instance. I imagine all sorts of variables will be assessed: throttle pedal position, direction of movement and speed of movement; battery charge level; battery temperature; motor temperature; road speed; driving mode (sport, economy, etc); traction control setting; etc, etc.

This is technically true, but most of those variables are ignored beyond 20-30% throttle position. The throttle maps nearly linearly to torque with some smoothing near zero for reduced jerk. Below 20-30%, the computer does have to consider those variables to figure out what current to feed the battery in regeneration.
 

Offline quinceTopic starter

  • Regular Contributor
  • *
  • Posts: 74
  • Country: us
Re: Throttle attenuator for an EV
« Reply #9 on: July 21, 2024, 07:00:30 pm »
There are throttle pedal adjusters, specific for a vehicle type, that act to change the law the sensor provides to the ECU.

There is even one for this particular EV, which strangely doesn't even have a display or monitor. My solution will show the driver an LED if the throttle attenuator is active and no light if not.

They read the 2 signals, and then use a small MCU to read the 2 pedal position voltages, one rising from 0V to Vref (typically 5V) as the pedal goes from released to flat to the floor, while the other is the exact opposite, so that the ECU can do sanity checking and prevent the runaway accelerator thing.

It's indeed odd that this car uses potentiometers going in the same direction, with more pedal always resulting in higher voltage. Maybe they allow this because each signal has a different range and they wired the connector symmetrically.
 

Offline SteveThackery

  • Frequent Contributor
  • **
  • Posts: 586
  • Country: gb
Re: Throttle attenuator for an EV
« Reply #10 on: July 21, 2024, 08:17:31 pm »
Is the accelerator position proportional to speed or say motor current/power? I'm not sure how that works in an EV.

Neither, almost certainly. It will just be one more input to the ECU, which will no doubt have sophisticated algorithms determining the motor current at that instance. I imagine all sorts of variables will be assessed: throttle pedal position, direction of movement and speed of movement; battery charge level; battery temperature; motor temperature; road speed; driving mode (sport, economy, etc); traction control setting; etc, etc.

This is technically true, but most of those variables are ignored beyond 20-30% throttle position. The throttle maps nearly linearly to torque with some smoothing near zero for reduced jerk. Below 20-30%, the computer does have to consider those variables to figure out what current to feed the battery in regeneration.

Seriously? The ECU ignores battery temperature and charge level? And the driving mode?? It's beyond 20-30% throttle when these really start to matter, surely!

Do you have a good reference book or online source where I can learn more about it?  I hope you aren't offended by my scepticism - it's just that I cannot conceive of any electric vehicle that doesn't monitor, and manage, the temperature of its batteries. This is burn-like-a-bastard lithium we're talking about.
 

Offline SteveThackery

  • Frequent Contributor
  • **
  • Posts: 586
  • Country: gb
Re: Throttle attenuator for an EV
« Reply #11 on: July 21, 2024, 08:23:44 pm »

This site says it's legal:
https://issautomotive.com/blogs/throttle-response-controller/are-throttle-controllers-safe-learn-more

Legal doesn't mean it won't invalidate your insurance! These are completely different issues. At the very least you WILL be required to tell the insurance company.  They are so uptight these days you basically have to tell them about everything.
 

Offline quinceTopic starter

  • Regular Contributor
  • *
  • Posts: 74
  • Country: us
Re: Throttle attenuator for an EV
« Reply #12 on: July 22, 2024, 05:02:57 am »
At the very least you WILL be required to tell the insurance company.  They are so uptight these days you basically have to tell them about everything.

They'll be notified, obviously!
 
The following users thanked this post: SteveThackery

Offline inse

  • Frequent Contributor
  • **
  • Posts: 781
  • Country: de
Re: Throttle attenuator for an EV
« Reply #13 on: July 22, 2024, 05:49:02 am »
“I will slow down the acceleration of my car“ - maybe this gives you a bonus…
 

Offline SteveThackery

  • Frequent Contributor
  • **
  • Posts: 586
  • Country: gb
Re: Throttle attenuator for an EV
« Reply #14 on: July 22, 2024, 08:53:56 am »
At the very least you WILL be required to tell the insurance company.  They are so uptight these days you basically have to tell them about everything.
They'll be notified, obviously!

It isn't obvious, although I'm pleased we are of like mind. Time on various car and motorcycle forums has shown me that lots of people don't notify their insurance company when making modifications.
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13997
  • Country: gb
    • Mike's Electric Stuff
Re: Throttle attenuator for an EV
« Reply #15 on: July 22, 2024, 09:00:45 am »
  I hope you aren't offended by my scepticism - it's just that I cannot conceive of any electric vehicle that doesn't monitor, and manage, the temperature of its batteries. This is burn-like-a-bastard lithium we're talking about.
It isn't that it doesn't monitor these and apply limits where needed, just that they are not factored in when determining throttle response in normal conditions. I'm sure that once you're in turtle mode at 1% SoC, some limits will be coming in  to play, but I'd expect these would just be limits applied at the end of he control chain.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 
The following users thanked this post: SteveThackery

Online langwadt

  • Super Contributor
  • ***
  • Posts: 4766
  • Country: dk
Re: Throttle attenuator for an EV
« Reply #16 on: July 22, 2024, 10:53:14 am »
do you fly out the window every time you hit the brakes? if not then apply the same finesse to the throttle pedal ;)
 
The following users thanked this post: janoc, MK14, BrokenYugo

Offline SteveThackery

  • Frequent Contributor
  • **
  • Posts: 586
  • Country: gb
Re: Throttle attenuator for an EV
« Reply #17 on: July 22, 2024, 10:58:58 am »
It isn't that it doesn't monitor these and apply limits where needed, just that they are not factored in when determining throttle response in normal conditions. I'm sure that once you're in turtle mode at 1% SoC, some limits will be coming in  to play, but I'd expect these would just be limits applied at the end of he control chain.

Do you have a source for the above information? So far it's just an assertion. I want to learn more. 

Also, it is surely going to include the driving mode in its calculation, because that is the driver's primary control over the throttle response.
 

Online Andy Chee

  • Super Contributor
  • ***
  • Posts: 1170
  • Country: au
Re: Throttle attenuator for an EV
« Reply #18 on: July 22, 2024, 11:18:32 am »
My solution is to cut the voltage increase (relative to zero throttle) by half as the throttle is applied. I've attached the OEM reference schematic, and a rough LTSpice simulation of my board.
Surely there is an existing software setting for this? rather than relying on hardware sensor trickery.
 

Offline robert.rozee

  • Frequent Contributor
  • **
  • Posts: 314
  • Country: nz
Re: Throttle attenuator for an EV
« Reply #19 on: July 22, 2024, 11:31:24 am »
i doubt that a driver would be much aware of the position of a foot throttle, but instead be more sensitive to the increasing pressure required as the throttle is pressed further down.

as such, my first approach would be to add a simple pullup spring, so that far more force is required once the throttle gets closer to the floor. you could even go so far as multiple springs with linkages so that as you get closer to the full throttle additional springs come into play, although i doubt this will prove necessary.


cheers,
rob   :-)
« Last Edit: July 22, 2024, 11:33:54 am by robert.rozee »
 

Offline SteveThackery

  • Frequent Contributor
  • **
  • Posts: 586
  • Country: gb
Re: Throttle attenuator for an EV
« Reply #20 on: July 22, 2024, 11:46:08 am »
That is the best suggestion yet. Nice one.
 

Offline SteveThackery

  • Frequent Contributor
  • **
  • Posts: 586
  • Country: gb
Re: Throttle attenuator for an EV
« Reply #21 on: July 22, 2024, 11:49:37 am »
My solution is to cut the voltage increase (relative to zero throttle) by half as the throttle is applied. I've attached the OEM reference schematic, and a rough LTSpice simulation of my board.
Surely there is an existing software setting for this? rather than relying on hardware sensor trickery.

Exactly! On my motorcycles it's called the "riding mode" and it alters the mapping between the twistgrip position and the throttle butterfly opening. It also alters the maximum rate of change of the butterfly's opening.

Do EVs not have such a thing?
 

Online Monkeh

  • Super Contributor
  • ***
  • Posts: 8060
  • Country: gb
Re: Throttle attenuator for an EV
« Reply #22 on: July 22, 2024, 12:52:58 pm »
My car has an especially peppy throttle. If I stomp it at a stop light it'll easily break the tires from the pavement.

So will my car, and it's not an EV, it's just a small diesel.

Stop stomping. Precise control of both (.. all three, in my case) pedals is a basic requirement of driving.
 
The following users thanked this post: tom66, janoc, langwadt, MK14, BrokenYugo

Offline BrokenYugo

  • Super Contributor
  • ***
  • Posts: 1214
  • Country: us
Re: Throttle attenuator for an EV
« Reply #23 on: July 22, 2024, 01:59:03 pm »
i doubt that a driver would be much aware of the position of a foot throttle, but instead be more sensitive to the increasing pressure required as the throttle is pressed further down.

as such, my first approach would be to add a simple pullup spring, so that far more force is required once the throttle gets closer to the floor. you could even go so far as multiple springs with linkages so that as you get closer to the full throttle additional springs come into play, although i doubt this will prove necessary.


cheers,
rob   :-)

I considered that suggestion,but this not being the old steel lever style I worry about wear, binding, outright failure, etc. adding springs to a pedal assembly I assume is made of a minimal amount of nylon.
« Last Edit: July 22, 2024, 02:01:55 pm by BrokenYugo »
 

Offline quinceTopic starter

  • Regular Contributor
  • *
  • Posts: 74
  • Country: us
Re: Throttle attenuator for an EV
« Reply #24 on: July 22, 2024, 10:50:15 pm »
Surely there is an existing software setting for this? rather than relying on hardware sensor trickery.
...
Do EVs not have such a thing?
Not on my economy car! Gotta pay at least twice as much for a premium EV with the "non-hairtrigger throttle" setting.

as such, my first approach would be to add a simple pullup spring, so that far more force is required once the throttle gets closer to the floor. you could even go so far as multiple springs with linkages so that as you get closer to the full throttle additional springs come into play, although i doubt this will prove necessary.

Not too hot on adding more moving parts to my car, and as BrokenYugo (lol) says, the nylon pedal is not likely to enjoy the amount of strain that would involve. Creative, though; most people would probably suggest changing the spring inside the pedal assembly to a stiffer one.

do you fly out the window every time you hit the brakes? if not then apply the same finesse to the throttle pedal ;)

No, but I do periodically check that the brakes and accelerator work fully as is recommended in any car. It's hard to un-learn that.

The only reason I bought this car over an actually slow EV like a first-gen Leaf is that it has a properly heated+cooled battery. I have no need for 200 horsepower all the time and suspect accidents would go down dramatically if cars were limited to <100 hp in residential neighborhoods.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf