this should be easy to answer for someone who has done it. We have a Leaf drivetrain on a RWD vehicle with 5.06.R-foc software. I just went to a car park to try various settings.
- My idea: Set it super aggressive -> then work backwards from there till it is pleasant
- Primary goal: range
- Secondary goal: smoothness
I tried plotting il1, il2, idc and expected negative values for idc at least but couldn't really spot it when braking from low speeds, is there a variable that will help? scaledBrkMax from throttle.cpp would be interesting I think, but it isn't a param. I could expose it as a param and plot I suppose.
2) Do I need to save to flash & fully turn inverter off between every param change for them to take effect? (I saw it can't be done in run-mode, makes sense).
3) BrkRampStr in Hz <-- What is 1 Hz here? Is it one motor revolution, or one magnetic field revolution (so 4x per physical rotation). I didn't go faster than 20mph/32kmh, gearbox reduction is pretty close to 8:1, wheel diameter 66cm so in 1s @ 20mph I drive 8.9m, 8.9 / 2.07 are 4.3 wheel revolutions. 4.3 * 8 = 34.4 Hz if it is the motor revolution or 137Hz for the field. brkrampstr felt the same at 10Hz and 30Hz.
Below the two sets of params that I tried, but I struggled to feel a difference really.
Thanks for any hints!
calm settings more aggressive settings P.S: I had a look at the tuning guide here before I went out: https://openinverter.org/wiki/Parameters#Tuning_Guide
But it appears the parameters there are more throttle related and for SIN rather than FOC.