Inverter Firmware v4.76.R
- johu
- Site Admin
- Posts: 6709
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 368 times
- Been thanked: 1536 times
- Contact:
Inverter Firmware v4.76.R
I released a new firmware that, most noticeably, fixes issues with the rev limiter. In both FOC and sine version it would cause over current trips when hit. Also filtered various other values that were flickering too much, which will improve driving on FOC.
https://github.com/jsphuebner/stm32-sin ... ag/v4.76.R
https://github.com/jsphuebner/stm32-sin ... ag/v4.76.R
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 3562
- Joined: Mon Dec 24, 2018 1:37 pm
- Location: Slovenia
- Has thanked: 134 times
- Been thanked: 335 times
- Contact:
Re: Inverter Firmware v4.76.R
Hi Johannes
I must commend you...
Today I tried the latest Sine firmware 4.76R and lo and behold! I have no more regen shaking and surging. This is so smooth i am thrilled.
I noticed at low end RPM there is still some shaking but only in 2nd gear which i think has some gear rattle. So it is a mechanical in nature not software.
I really only wish for resolver code in ACIM code. Can this be done?
Another thing i noticed in old code was OC trip once in a while. System attributed this to throttle signal.
I cleaned the rev2 board with nitro thinner and dried it i uploaded new firmware and there were no more OC trips. I went and checked for errors and i got several warnings. It seems throttle signal was falling out. I tried to record the throttle movement very slowly and i got attached pic.
Why do you think that would happen?
tnx
I must commend you...
Today I tried the latest Sine firmware 4.76R and lo and behold! I have no more regen shaking and surging. This is so smooth i am thrilled.
I noticed at low end RPM there is still some shaking but only in 2nd gear which i think has some gear rattle. So it is a mechanical in nature not software.
I really only wish for resolver code in ACIM code. Can this be done?
Another thing i noticed in old code was OC trip once in a while. System attributed this to throttle signal.
I cleaned the rev2 board with nitro thinner and dried it i uploaded new firmware and there were no more OC trips. I went and checked for errors and i got several warnings. It seems throttle signal was falling out. I tried to record the throttle movement very slowly and i got attached pic.
Why do you think that would happen?
tnx
- johu
- Site Admin
- Posts: 6709
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 368 times
- Been thanked: 1536 times
- Contact:
Re: Inverter Firmware v4.76.R
Good! Not even sure what I changed since 4.12arber333 wrote: ↑Fri Mar 06, 2020 2:22 pm Hi Johannes
I must commend you...
Today I tried the latest Sine firmware 4.76R and lo and behold! I have no more regen shaking and surging. This is so smooth i am thrilled.
I noticed at low end RPM there is still some shaking but only in 2nd gear which i think has some gear rattle. So it is a mechanical in nature not software.
Test attachment at your own risk, I haven't Polo-tested it. I basically removed all synchronous code so now asynchronous mode is selected regardless of the shaft feedback type.
Hmm, bad power connection to throttle? Because both channels show the same drop
- Attachments
-
- stm32_sine.zip
- (64.7 KiB) Downloaded 416 times
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 176
- Joined: Tue Aug 13, 2019 4:32 pm
- Location: Russia, Stavropol
- Has thanked: 14 times
- Been thanked: 5 times
Re: Inverter Firmware v4.76.R
Can I add an temperature sensor the inverter of this type KTY81/110,112?
https://www.chipdip.ru/product/kty81-11 ... st_product
https://www.chipdip.ru/product/kty81-11 ... st_product
- johu
- Site Admin
- Posts: 6709
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 368 times
- Been thanked: 1536 times
- Contact:
Re: Inverter Firmware v4.76.R
You want to add it? sure. misc/temp_sensor.ods and copy last column to calc_temp.h and add new lookup table to calc_temp.c in various spots. param_prj.h needs the enum extended.
Is this for motor or inverter heatsink?
Is this for motor or inverter heatsink?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 176
- Joined: Tue Aug 13, 2019 4:32 pm
- Location: Russia, Stavropol
- Has thanked: 14 times
- Been thanked: 5 times
Re: Inverter Firmware v4.76.R
This is for the inverter, Check it correctly.
- Attachments
-
- param_prj.h
- (20 KiB) Downloaded 513 times
- johu
- Site Admin
- Posts: 6709
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 368 times
- Been thanked: 1536 times
- Contact:
Re: Inverter Firmware v4.76.R
Yes do that, I can add it to code if you want. param_prj is a bit tricky, you can't have "," in an enum because it's the delimiter. And also the max limit must be extended.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 3562
- Joined: Mon Dec 24, 2018 1:37 pm
- Location: Slovenia
- Has thanked: 134 times
- Been thanked: 335 times
- Contact:
Re: Inverter Firmware v4.76.R
I think i need to buy a Prius throttle pedal connector. I thought i could get away with small 3mm fastons but i guess they are somehow loosened up on the header.
Lesson learned again; "car is high vibration enviroment!" we need to designaccordingly.
A
- SciroccoEV
- Posts: 370
- Joined: Thu Oct 10, 2019 1:50 pm
- Location: Luton UK
- Been thanked: 15 times
Re: Inverter Firmware v4.76.R
Which connector is that, the small one, or the larger type? I have some of the larger type in stock and some of the smaller on their way.
-
- Posts: 176
- Joined: Tue Aug 13, 2019 4:32 pm
- Location: Russia, Stavropol
- Has thanked: 14 times
- Been thanked: 5 times
Re: Inverter Firmware v4.76.R
I measured the parameters and filled in a new table, the work was long
- Attachments
-
temp_sensors.ods
- (46.43 KiB) Downloaded 522 times
- Thatguyoverthere
- Posts: 34
- Joined: Fri Jun 28, 2019 5:04 am
- Location: California, USA
- Been thanked: 1 time
Re: Inverter Firmware v4.76.R
For the Prius throttle pedal connector, search "7283-1968" on AliExpress, and if you don't mind waiting, you can order them from there. I got mine and test fitted, everything fits like oem.
https://github.com/kaelinwilson
Leaf Motor/Gen1 Camry Inverter
Leaf Motor/Gen1 Camry Inverter
-
- Posts: 176
- Joined: Tue Aug 13, 2019 4:32 pm
- Location: Russia, Stavropol
- Has thanked: 14 times
- Been thanked: 5 times
Re: Inverter Firmware v4.76.R
I understand that the maximum glide can be set to 10 Hz, then can I extend this range, for example, I need 50 Hz?
- johu
- Site Admin
- Posts: 6709
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 368 times
- Been thanked: 1536 times
- Contact:
Re: Inverter Firmware v4.76.R
Sorry, I was away. Just a question: you say you measured the parameters? Why didn't you just use the table in the data sheet? Is this a motor temperature sensor on the dual 500 Ohm input?
What is glide?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 3562
- Joined: Mon Dec 24, 2018 1:37 pm
- Location: Slovenia
- Has thanked: 134 times
- Been thanked: 335 times
- Contact:
Re: Inverter Firmware v4.76.R
I think he means slip. It is a google translate thing...
But 50Hz slip is way too much. That would give a very weak magnetic force at huge field rotation.
Maybe he mixed up FW frequency value with maxslip? Which parameter would that be?
-
- Posts: 176
- Joined: Tue Aug 13, 2019 4:32 pm
- Location: Russia, Stavropol
- Has thanked: 14 times
- Been thanked: 5 times
Re: Inverter Firmware v4.76.R
slip
- johu
- Site Admin
- Posts: 6709
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 368 times
- Been thanked: 1536 times
- Contact:
Re: Inverter Firmware v4.76.R
Of course it can be extended, but more than 10Hz is beyond any reason. Why would you need more?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 176
- Joined: Tue Aug 13, 2019 4:32 pm
- Location: Russia, Stavropol
- Has thanked: 14 times
- Been thanked: 5 times
Re: Inverter Firmware v4.76.R
I once asked the possibility of combining the inverter with the motor on the combined winding, here:
viewtopic.php?f=3&t=501
I think that it needs more sliding for proper operation, if who knows what is the difference between the sliding and current control of these motors from the standard ones?
viewtopic.php?f=3&t=501
I think that it needs more sliding for proper operation, if who knows what is the difference between the sliding and current control of these motors from the standard ones?
- johu
- Site Admin
- Posts: 6709
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 368 times
- Been thanked: 1536 times
- Contact:
Re: Inverter Firmware v4.76.R
Slip frequency solely depends on the electric properties of the rotor, not the stator.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
-
- Posts: 176
- Joined: Tue Aug 13, 2019 4:32 pm
- Location: Russia, Stavropol
- Has thanked: 14 times
- Been thanked: 5 times
Re: Inverter Firmware v4.76.R
I have a good start and good acceleration dynamics on this engine, if slipmin=7hz then maybe you have recommendations for what to put slipmax?
-
- Posts: 3562
- Joined: Mon Dec 24, 2018 1:37 pm
- Location: Slovenia
- Has thanked: 134 times
- Been thanked: 335 times
- Contact:
Re: Inverter Firmware v4.76.R
Hm... 7Hz is a small motor. I would suggest 2x slipmin maybe 2.5x. That would certainly require more than 14Hz.
Try to setup slipmin according to this procedure down on the end of page https://openinverter.org/wiki/Parameters