Inverter Firmware v5.05.R

speedy_gonzalez
Posts: 5
Joined: Sun Jun 27, 2021 8:54 am

Re: Inverter Firmware v5.05.R

Post by speedy_gonzalez »

.
speedy_gonzalez
Posts: 5
Joined: Sun Jun 27, 2021 8:54 am

Re: Inverter Firmware v5.05.R

Post by speedy_gonzalez »

.
User avatar
celeron55
Posts: 774
Joined: Thu Jul 04, 2019 3:04 pm
Location: Finland
Has thanked: 27 times
Been thanked: 110 times
Contact:

Re: Inverter Firmware v5.05.R

Post 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?
Attachments
FieldWeakening.JPG
User avatar
johu
Site Admin
Posts: 5683
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Inverter Firmware v5.05.R

Post by johu »

Even Porsches seem to see occasional over current trips ;)
https://www.spiegel.de/auto/porsche-ruf ... 2f138e73e3
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
Renegate2020
Posts: 50
Joined: Tue Dec 01, 2020 6:20 am
Location: Odessa UA
Has thanked: 1 time
Contact:

Re: Inverter Firmware v5.05.R

Post 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?
User avatar
johu
Site Admin
Posts: 5683
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Inverter Firmware v5.05.R

Post 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!
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
Renegate2020
Posts: 50
Joined: Tue Dec 01, 2020 6:20 am
Location: Odessa UA
Has thanked: 1 time
Contact:

Re: Inverter Firmware v5.05.R

Post 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
User avatar
Renegate2020
Posts: 50
Joined: Tue Dec 01, 2020 6:20 am
Location: Odessa UA
Has thanked: 1 time
Contact:

Re: Inverter Firmware v5.05.R

Post 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?
User avatar
johu
Site Admin
Posts: 5683
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Inverter Firmware v5.05.R

Post by johu »

Not sure what went wrong, but yes 5.11.R is stable.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
janosch
Posts: 306
Joined: Tue Jun 30, 2020 9:23 am
Location: London, UK
Has thanked: 67 times
Been thanked: 54 times
Contact:

Re: Inverter Firmware v5.05.R

Post 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.
Attachments
regen_settings.png
ocur_event.jpg
User avatar
johu
Site Admin
Posts: 5683
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Inverter Firmware v5.05.R

Post 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.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
janosch
Posts: 306
Joined: Tue Jun 30, 2020 9:23 am
Location: London, UK
Has thanked: 67 times
Been thanked: 54 times
Contact:

Re: Inverter Firmware v5.05.R

Post 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
User avatar
johu
Site Admin
Posts: 5683
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Inverter Firmware v5.05.R

Post 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.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
Boxster EV
Posts: 434
Joined: Fri Jul 26, 2019 9:32 pm
Location: UK
Has thanked: 35 times
Been thanked: 26 times

Re: Inverter Firmware v5.05.R

Post 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 63 times
Porsche 986 powered by a Tesla large drive unit. Backwards. Build documented here and Instagram @tesla_porsche here.
Post Reply