Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to adjust the Electric Braking option? #523

Open
Bastl1989 opened this issue Dec 15, 2024 · 0 comments
Open

How to adjust the Electric Braking option? #523

Bastl1989 opened this issue Dec 15, 2024 · 0 comments
Labels
question Further information is requested

Comments

@Bastl1989
Copy link

Variant

USART

Control type

FOC

Control mode

Torque

Description

Hello,
I am still improving Marie's GClass :) and I have to say: It is working great!
Background:
I control the torque request input by arduino.
To limit her Top-Speed I limit my "Driver Request" over measured speed.
When she releases the throttle, or drives downwards and car gets too fast, I want the car to brake, using the Electric Brake option provided.
But I do not fully understand how it works or where I can/should adjust. (Where can I find the code behind this function?)
I put in a number of 400 for maximum braking. but how can I fade this torque in? I want to increase breaking torque slowly to avoid controller oszillation.
Real question: :)
I thought about just sending negative torque while going forward to brake the car but that seems not wo work? right?
Does anyone know how to do this?
Thank you guys!
Sebastian

@Bastl1989 Bastl1989 added the question Further information is requested label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant