Page 2 of 2

Re: Inverter Firmware v5.05.R

Posted: Sun Jun 27, 2021 2:50 pm
by speedy_gonzalez
.

Re: Inverter Firmware v5.05.R

Posted: Sun Jun 27, 2021 3:06 pm
by speedy_gonzalez
.

Re: Inverter Firmware v5.05.R

Posted: Sun Jun 27, 2021 3:32 pm
by celeron55
I can see in this graph attached a few posts earlier that at the mode 2 - 3 transition point Id is more than double that of Iq. Is this a typical ratio for these types of motors?

Re: Inverter Firmware v5.05.R

Posted: Fri Jul 02, 2021 6:15 pm
by johu
Even Porsches seem to see occasional over current trips ;)
https://www.spiegel.de/auto/porsche-ruf ... 2f138e73e3

Re: Inverter Firmware v5.05.R

Posted: Mon Oct 04, 2021 5:21 pm
by Renegate2020
I installed this firmware today instead of 4.96. Now I can not start moving - when the accelerator is pressed, a jolt occurs and the "OVERCURENT" error appears. How to fix?

Re: Inverter Firmware v5.05.R

Posted: Mon Oct 04, 2021 6:15 pm
by johu
Renegate2020 wrote: Mon Oct 04, 2021 5:21 pm I installed this firmware today instead of 4.96. Now I can not start moving - when the accelerator is pressed, a jolt occurs and the "OVERCURENT" error appears. How to fix?
FOC or sine? which inverter? More details!

Re: Inverter Firmware v5.05.R

Posted: Mon Oct 04, 2021 6:35 pm
by Renegate2020
FOC took from here https://github.com/jsphuebner/stm32-sin ... ag/v5.05.R
SIN was taken from the first message - stm32_sine.bin
Inverter Nissan Leaf + openivertor v.3

Re: Inverter Firmware v5.05.R

Posted: Tue Oct 05, 2021 1:33 pm
by Renegate2020
Today I uploaded the FOC version from here viewtopic.php?f=7&t=1203. And a JSON file with default Nissan Leaf engine parameters. My Peugeot Boxer went fine again. What's wrong with version 5.05? Is version 5.11 stable?

Re: Inverter Firmware v5.05.R

Posted: Tue Oct 05, 2021 3:03 pm
by johu
Not sure what went wrong, but yes 5.11.R is stable.

Re: Inverter Firmware v5.05.R

Posted: Mon Jan 24, 2022 3:37 pm
by janosch
johu wrote: Thu May 13, 2021 5:36 am Bad news: the problem with uncontrolled regen at high rpm can still occur :(
Was coasting down a steep decline at 130 km/h (7000 rpm) when a 100 limit came up. Regen was off, so I switched it back on. First nothing happened, then a huge jolt of regen, then, fortunately, overcurrent.
We tripped the overcurrent limit at 65mph today when removing foot from the throttle.
Got -180A, thats -64kW of braking @ 356V!
ChaDeMo is -50kW I suppose, so we are vaguely within battery params, but I would like to reign it in regardless.

A lot more than I feel comfortable with, but at the same time the vehicle drives very nice in city traffic.

What are good settings to have strong regen in city traffic and not hit overcurrent limit on fast roads?
- I could reduce regenramp back to 1 to give it more time?

Settings and outcome below.
We are not going on the motorway before we figure this one out I think.
Help appreciated.

Edit: Sorry, just saw that this thread is about 5.05, found it via search. We are running 5.14 on that car. Can move the post over if that is better.

Re: Inverter Firmware v5.05.R

Posted: Tue Jan 25, 2022 8:50 am
by johu
What rpm are you running at said speed?

I'd reduce regenramp to 0.3 and also choose a slow throtramp. Like 4 or less.

Re: Inverter Firmware v5.05.R

Posted: Tue Jan 25, 2022 5:58 pm
by janosch
johu wrote: Tue Jan 25, 2022 8:50 am What rpm are you running at said speed?

I'd reduce regenramp to 0.3 and also choose a slow throtramp. Like 4 or less.
Nice, same occurs with those parameters.
rpm were not captured, but wheel diameter is 66cm @ 8:1 & 65mph I would expect to be 6200rpm+.

I had a look at float Throttle::RampThrottle(float potnom), there were some changes lately, the car drove 5.14R. I will upgrade to 5.17.

You mentioned it might be possible to change the ramping up for Regen in the code, is that the 5 in throttle.cpp:135@R5.17?

Code: Select all

   if (potnom >= throttleRamped)
   {
      throttleRamped = RAMPUP(throttleRamped, potnom, throttleRamp);
   }
   else if (potnom < throttleRamped && throttleRamped > 5)
   {
      throttleRamped = RAMPDOWN(throttleRamped, potnom, throttleRamp);
   }
   else //potnom < throttleRamped && potnom <= 0
   {
      //throttleRamped = MIN(0, throttleRamped); //start ramping at 0
      throttleRamped = RAMPDOWN(throttleRamped, potnom, regenRamp);
   }
https://github.com/jsphuebner/stm32-sin ... e.cpp#L135


I had a quick browse but wasn't 100% sure yet. I can compile that with a 10 and try it again next week.

Edit: Discussion continued in dedicated thread: https://openinverter.org/forum/viewtopic.php?f=7&t=2226

Re: Inverter Firmware v5.05.R

Posted: Tue Jan 25, 2022 10:30 pm
by johu
I see, I thought I had it start at 3% but it's 5. Of course the comment is wrong, it starts slow ramping below 5 or whatever you put into the preceding if statement.

Re: Inverter Firmware v5.05.R

Posted: Fri Sep 16, 2022 12:27 pm
by Boxster EV
I don’t want to pollute this thread but can I ask whether the issues discussed also affect the sine version and specifically 5.14?

Getting occasional overcurrent event during very moderate driving when on/off throttle. Seems to be no correlation to rpm. Only occurs during gentle driving. No OC when driven hard.

Lowering regenramp and throtramp doesn’t seem to help.
params.json
(1.45 KiB) Downloaded 67 times