Inverter Firmware v5.14.R

Post Reply
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:

Inverter Firmware v5.14.R

Post by johu »

This is merely a bug fix release, so not too many, but significant changes:
  • Using filtered frequency to calculate syncadv
  • Fixed bug with regen ramp
  • Also downramping throttle with throtramp
  • no longer limit d-controller output to half amplitude. Can cause unwanted regen
  • Removed unused hardware variants
https://github.com/jsphuebner/stm32-sin ... ag/v5.14.R
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.14.R

Post by Renegate2020 »

Installed this version instead of 4.96FOC on the Leaf engine - the regeneration disappeared. This is fine? How to get regeneration back?
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.14.R

Post by johu »

can you try setting pot2min=pot2max=0

Must be some combination of settings that I don't test as regen works on my car.
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.14.R

Post by Renegate2020 »

I can not do this. The wires from the accelerator pedal are directly connected to the inverter board without CAN
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.14.R

Post by Renegate2020 »

On the weekend I tried to put different versions. All versions from 5.05 (5.05, 5.11, 5.14) do not have recuperation. When installing version 4.96 or 4.97, recuperation appears immediately. Something in the code is not correct.
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.14.R

Post by johu »

Can you post the parameter json file
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.14.R

Post by Renegate2020 »

johu wrote: Tue Dec 21, 2021 9:53 pm Can you post the parameter json file
Attachments
params (1).json
(1.19 KiB) Downloaded 161 times
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.14.R

Post by johu »

You have configured the second pot input to adjust regen. Are you using it as such? Otherwise set pot2min and pot2max to 0. I believe I have changed the behaviour somewhat since 4.97
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.14.R

Post by Renegate2020 »

OK. I am not using the second potentiometer yet. I'll try to change it. Thank you.
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.14.R

Post by Renegate2020 »

Everything worked out. Although the connection with the pedal is not clear. Thanks Johu.
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.14.R

Post by johu »

See here: https://openinverter.org/wiki/Parameters
potmode

0=Pot 1 is throttle and pot 2 is regen strength preset
1=Pot 2 is proportional to pot 1 (redundancy)
2=Throttle/regen controlled via CAN (like 0)
3=Throttle via CAN with redundancy (like 1)
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
geduxaz
Posts: 125
Joined: Wed Jun 23, 2021 7:00 am
Has thanked: 3 times

Re: Inverter Firmware v5.14.R

Post by geduxaz »

Get wrong Idc in 5.14, but all good in 4.96
At no spin is like -18, rises slowly to 0 when spinning. Older FW Idc was measured OK.
Attachments
IMG_20220122_184354.jpg
User avatar
geduxaz
Posts: 125
Joined: Wed Jun 23, 2021 7:00 am
Has thanked: 3 times

Re: Inverter Firmware v5.14.R

Post by geduxaz »

In the code 104 and 105 lines use idc twice. Like second line overwrites firat idc calculation.
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.14.R

Post by johu »

I will have to test this but currently I'm out of office. Will check later this week.
The various lines are just pre-calculations, the final value is set in the Param::SetFixed() call

EDIT
what I can say for now is that since 4.96 the calculation was changed in two ways:
1. the d-current and voltage is also taken into account, before it was just q-current
2. The result is filtered to smooth out the DC current limiter
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
geduxaz
Posts: 125
Joined: Wed Jun 23, 2021 7:00 am
Has thanked: 3 times

Re: Inverter Firmware v5.14.R

Post by geduxaz »

Sometimes IDC shows ok. Sometimes too low.
Attachments
idc2.PNG
IDC1.PNG
P.S.Mangelsdorf
Posts: 753
Joined: Tue Sep 17, 2019 8:33 pm
Location: Raleigh, NC, USA
Has thanked: 89 times
Been thanked: 92 times

Re: Inverter Firmware v5.14.R

Post by P.S.Mangelsdorf »

Just a note to clarify an issue/solution discussed above: With this version, if you are only using one potentiometer/pedal, set pot2 min and max to the same number, or you won't have regen.
If at first you don't succeed, buy a bigger hammer.

1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed 2023 Hot Rod Drag Week
User avatar
geduxaz
Posts: 125
Joined: Wed Jun 23, 2021 7:00 am
Has thanked: 3 times

Re: Inverter Firmware v5.14.R

Post by geduxaz »

P.S.Mangelsdorf wrote: Tue Feb 22, 2022 8:16 pm Just a note to clarify an issue/solution discussed above: With this version, if you are only using one potentiometer/pedal, set pot2 min and max to the same number, or you won't have regen.
I use only POT1. POT2 min/max are set to 0 and I get regen.
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.14.R

Post by Boxster EV »

I’m having an ongoing issue with sine UDC randomly measuring too low when switching from waitstart to run. Any advice gratefully received.
Porsche 986 powered by a Tesla large drive unit. Backwards. Build documented here and Instagram @tesla_porsche here.
User avatar
Romale
Posts: 441
Joined: Fri May 20, 2022 4:16 pm
Location: Romania
Has thanked: 204 times
Been thanked: 45 times

Re: Inverter Firmware v5.14.R

Post by Romale »

johu wrote: Tue Nov 16, 2021 2:05 pm This is merely a bug fix release, so not too many, but significant changes:

Hi!
I discovered a serious problem due to the fact that my buggy is all open and the high-voltage battery along with the contactor is on the street next to my ears. there is no sequence or reason, however, sometimes when the ignition is switched on, the main contactor is triggered for a short time!!! only after that, the pre-charge relay turns on and then, after pressing the start button, the contactor again. This is very bad, the contactor clearly does not like to turn on high voltage for half a second without precharging. What to do about it? this does not always happen, sometimes everything is as it should be.
evil neodymium :twisted:
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.14.R

Post by johu »

I don't remember every setup... which board? Specifically with this version or any version?
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.14.R

Post by Renegate2020 »

I'm assuming it's a V3 + adapter board Nissan Leaf. It was similar for me - when turned on, an impulse passes to the main contactor. Because of this, the main contactor is welded. I set a timer to turn on the main contactor.
User avatar
Romale
Posts: 441
Joined: Fri May 20, 2022 4:16 pm
Location: Romania
Has thanked: 204 times
Been thanked: 45 times

Re: Inverter Firmware v5.14.R

Post by Romale »

Renegate2020 wrote: Wed Jun 08, 2022 8:00 pm I'm assuming it's a V3 + adapter board Nissan Leaf. It was similar for me - when turned on, an impulse passes to the main contactor. Because of this, the main contactor is welded. I set a timer to turn on the main contactor.
all right. foc version 5.14.R and board version 3.
how to set the timer on the main contactor?
evil neodymium :twisted:
User avatar
joromy
Posts: 371
Joined: Fri Jun 28, 2019 12:56 pm
Has thanked: 1 time
Been thanked: 3 times

Re: Inverter Firmware v5.14.R

Post by joromy »

I got the same problem with high impedance load.
I don't think this can be version related.

Moved to more appropriate place: https://openinverter.org/forum/viewtopi ... 309#p41309
Thomas A. Edison “I have not failed. I've just found 10,000 ways that won't work"
User avatar
Romale
Posts: 441
Joined: Fri May 20, 2022 4:16 pm
Location: Romania
Has thanked: 204 times
Been thanked: 45 times

Re: Inverter Firmware v5.14.R

Post by Romale »

joromy wrote: Fri Jun 10, 2022 1:05 pm

Moved to more appropriate place: https://openinverter.org/forum/viewtopi ... 309#p41309
thank you very much. it really helped
evil neodymium :twisted:
Post Reply