Inverter Firmware v5.05.R

Topics about inverter software, improvements and bug fixes. Also release announcements are found here
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: 537
Joined: Thu Jul 04, 2019 3:04 pm
Location: Finland
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: 3560
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
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: 38
Joined: Tue Dec 01, 2020 6:20 am
Location: Odessa UA
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: 3560
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
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: 38
Joined: Tue Dec 01, 2020 6:20 am
Location: Odessa UA
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: 38
Joined: Tue Dec 01, 2020 6:20 am
Location: Odessa UA
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: 3560
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
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
janosch
Posts: 155
Joined: Tue Jun 30, 2020 9:23 am
Location: London, UK
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: 3560
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
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
janosch
Posts: 155
Joined: Tue Jun 30, 2020 9:23 am
Location: London, UK
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: 3560
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
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
Post Reply