HICUROFS2 error

Nissan Leaf/e-NV200 drive stack topics
Post Reply
PoloLbricolo
Posts: 102
Joined: Wed Apr 10, 2019 2:32 pm
Location: France
Has thanked: 2 times
Been thanked: 11 times

HICUROFS2 error

Post by PoloLbricolo »

Hi,
I've been working on the leaf powered smart and i'm proud to say it's runing :D
However i've encountered a problem : when i stay full throtle for more than a few seconds, when i let go, no matter how slow, the inverter shuts off because of a HICUROFS2 error. As you can see in the picture,
Il2.png
il2 is way out of range, and i don't know why. I've included the parameters just in case.
I need to precise that i haven't fine tune the motor/encoder offset.

Paul
Attachments
Roadster28_09.json
(1.1 KiB) Downloaded 185 times
User avatar
johu
Site Admin
Posts: 6621
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 344 times
Been thanked: 1486 times
Contact:

Re: HICUROFS2 error

Post by johu »

HICUROFS2 is a bit of a bug. It shuts off and then tries to use the current sensors value for offset calibration. So before that, there must be another error like DESAT or OVERCURRENT? Try the "errors" command.
The current values will not update in stop mode, they remain at the last measured value. Apart from that I don't know what the issue is. It looks like you pretty much use my Leaf parameter set. Can you plot potnom, id and iq?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
PoloLbricolo
Posts: 102
Joined: Wed Apr 10, 2019 2:32 pm
Location: France
Has thanked: 2 times
Been thanked: 11 times

Re: HICUROFS2 error

Post by PoloLbricolo »

Hi,
I drove the car a bit with the updated firmware version (4.56.B FOC) and the problem seems to have gone away. i will try to replicate the bug and plot potnom, id and id.

Paul
PoloLbricolo
Posts: 102
Joined: Wed Apr 10, 2019 2:32 pm
Location: France
Has thanked: 2 times
Been thanked: 11 times

Re: HICUROFS2 error

Post by PoloLbricolo »

So, ive notice that the Id current and iq are some how lagging behind the pot nom (see in the black boxes on the picture).
roadster bug.png
it occurs when traveling at speeds above 50 kph ( arround 3500 rev/min on the motor)
one way to drive arround it is to shift back to neutral, but i have to stop to put the car back in drive.

when it cuts off the inverter, i've had errors : OVERCURRENT, HICUROFS2 and HICUROFS1.

Hope it helps debuging the problem.
User avatar
johu
Site Admin
Posts: 6621
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 344 times
Been thanked: 1486 times
Contact:

Re: HICUROFS2 error

Post by johu »

Hmm that does look strange. id even becomes positive. Looks like some work ahead. Can you post the parameter file also?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
PoloLbricolo
Posts: 102
Joined: Wed Apr 10, 2019 2:32 pm
Location: France
Has thanked: 2 times
Been thanked: 11 times

Re: HICUROFS2 error

Post by PoloLbricolo »

johu wrote: Tue Oct 01, 2019 6:16 pm Can you post the parameter file also?
Same as on the 1st post, just the resolver ofset is set to 768 for my motor.
User avatar
johu
Site Admin
Posts: 6621
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 344 times
Been thanked: 1486 times
Contact:

Re: HICUROFS2 error

Post by johu »

Oh yes I missed that. So I will be away till Sunday, then I will try to shed some light on it by driving the Touran around. One thing you can play with on the most recent software (4.57.R) is curkp and curki.
To give your power stage some rest you can dial down ocurlim and throtiq/id proportionally.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
PoloLbricolo
Posts: 102
Joined: Wed Apr 10, 2019 2:32 pm
Location: France
Has thanked: 2 times
Been thanked: 11 times

Re: HICUROFS2 error

Post by PoloLbricolo »

Got some more driving done, and it seems that the problem is occuring only above 60 kph ( above 4000rpm on the motor).

When potnom varies over time, it's only like cruise control is engaging ( i checked din_cruise and it's not moving, always off)
when potnom remain fixed for longer periode ie a minute or two the HICUROFS2 kicks in when wizing arround a 90... not the greatest feeling in the world.

I've played a little with the curkp and curki parameters and no great improvements. I've also dialed down throtiq and ocurlim a litlte (see attached params

my guess is that the field weakening is engaging arround 4000 rpm and it's messing up the ID and IQ calculations.

i'll be driving more this afternoon and try to play with throtid and throtiq.
Attachments
paramsRoadster3_10_v4_57.json
(1.02 KiB) Downloaded 138 times
arber333
Posts: 3557
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 133 times
Been thanked: 331 times
Contact:

Re: HICUROFS2 error

Post by arber333 »

What kind of sensors you use? And which power stage?
Can you recalibrate both sensors, i.e. put 5 or 10 loops of wire through both sensors and apply 12V with one H4 light bulb? Measure the amperage on the bulb and compare that to value reported in web interface. If there is a problem on the line you will see it when value of one sensor will be off.

Otherwise i think you need to check your soldering, some time dry joint can cause inconsistent contact in RC filter.

A
User avatar
johu
Site Admin
Posts: 6621
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 344 times
Been thanked: 1486 times
Contact:

Re: HICUROFS2 error

Post by johu »

Have you tried raising fweak to 1000Hz so that it doesn't kick in?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
johu
Site Admin
Posts: 6621
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 344 times
Been thanked: 1486 times
Contact:

Re: HICUROFS2 error

Post by johu »

I did some more testing. Something still isn't right. It seems the car accelerates less above 4000rpm at full throttle than at, say, half throttle.
Also at high revs the transition to regen can become so brutal that the inverter desats.
I got it a lot tamer by dialing down curki and therefor raising curkd. It never reaches the id set point though, so it lacks the liveliness of that reluctance torque.
So with curkp=96 and curki=64 at least it stops doing "cruise control" at higher rpm and also regen transition is not overshooting so much.
I'm not sure if this is just a matter of tuning the controllers or if something else is wrong also.

I'm playing with the thought of getting rid of fweak and idweak and instead cascade another controller on top of the d-controller that makes sure the q-current doesn't become too large due to lack of field weakening.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
PoloLbricolo
Posts: 102
Joined: Wed Apr 10, 2019 2:32 pm
Location: France
Has thanked: 2 times
Been thanked: 11 times

Re: HICUROFS2 error

Post by PoloLbricolo »

Hi,
Sorry for the long answer time, i've been quite busy with other projects. i'm going back to see my car and hopefully tune it right for the inspection in the begining of november.
Post Reply