Page 1 of 2

Inverter Firmware v4.76.R

Posted: Sat Feb 22, 2020 4:03 pm
by johu
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

Re: Inverter Firmware v4.76.R

Posted: Fri Mar 06, 2020 2:22 pm
by arber333
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

Re: Inverter Firmware v4.76.R

Posted: Fri Mar 06, 2020 5:58 pm
by johu
arber333 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.
Good! Not even sure what I changed since 4.12
arber333 wrote: Fri Mar 06, 2020 2:22 pm I really only wish for resolver code in ACIM code. Can this be done?
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.
arber333 wrote: Fri Mar 06, 2020 2:22 pm 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?
Hmm, bad power connection to throttle? Because both channels show the same drop

Re: Inverter Firmware v4.76.R

Posted: Fri Mar 06, 2020 7:19 pm
by yaroslav
Can I add an temperature sensor the inverter of this type KTY81/110,112?

https://www.chipdip.ru/product/kty81-11 ... st_product

Re: Inverter Firmware v4.76.R

Posted: Fri Mar 06, 2020 7:20 pm
by yaroslav

Re: Inverter Firmware v4.76.R

Posted: Fri Mar 06, 2020 7:53 pm
by johu
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?

Re: Inverter Firmware v4.76.R

Posted: Sat Mar 07, 2020 6:48 am
by yaroslav
This is for the inverter, Check it correctly.

Re: Inverter Firmware v4.76.R

Posted: Sat Mar 07, 2020 7:11 am
by yaroslav
I will try to add it in the file temp_sensor.ods

Re: Inverter Firmware v4.76.R

Posted: Sat Mar 07, 2020 9:25 am
by johu
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.

Re: Inverter Firmware v4.76.R

Posted: Sat Mar 07, 2020 10:34 am
by arber333
johu wrote: Fri Mar 06, 2020 5:58 pm Hmm, bad power connection to throttle? Because both channels show the same drop
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

Re: Inverter Firmware v4.76.R

Posted: Sat Mar 07, 2020 12:45 pm
by SciroccoEV
arber333 wrote: Sat Mar 07, 2020 10:34 am 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.
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.

Re: Inverter Firmware v4.76.R

Posted: Sat Mar 07, 2020 7:28 pm
by yaroslav
I measured the parameters and filled in a new table, the work was long

Re: Inverter Firmware v4.76.R

Posted: Sun Mar 08, 2020 8:16 pm
by Thatguyoverthere
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.

Re: Inverter Firmware v4.76.R

Posted: Mon Mar 16, 2020 8:30 pm
by yaroslav
Hi, Johu
did you ne add a temperature sensor to code?

Re: Inverter Firmware v4.76.R

Posted: Mon Mar 16, 2020 8:31 pm
by yaroslav
I understand that the maximum glide can be set to 10 Hz, then can I extend this range, for example, I need 50 Hz?

Re: Inverter Firmware v4.76.R

Posted: Wed Mar 25, 2020 7:55 am
by johu
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?
yaroslav wrote: Mon Mar 16, 2020 8:31 pm I understand that the maximum glide can be set to 10 Hz, then can I extend this range, for example, I need 50 Hz?
What is glide?

Re: Inverter Firmware v4.76.R

Posted: Wed Mar 25, 2020 8:12 am
by arber333
johu wrote: Wed Mar 25, 2020 7:55 am 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?
yaroslav wrote: Mon Mar 16, 2020 8:31 pm I understand that the maximum glide can be set to 10 Hz, then can I extend this range, for example, I need 50 Hz?
What is glide?
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?

Re: Inverter Firmware v4.76.R

Posted: Wed Mar 25, 2020 2:35 pm
by yaroslav
johu wrote: Wed Mar 25, 2020 7:55 am 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?
yaroslav wrote: Mon Mar 16, 2020 8:31 pm I understand that the maximum glide can be set to 10 Hz, then can I extend this range, for example, I need 50 Hz?
What is glide?
slip

Re: Inverter Firmware v4.76.R

Posted: Wed Mar 25, 2020 2:36 pm
by yaroslav
The translator translated it incorrectly

Re: Inverter Firmware v4.76.R

Posted: Wed Mar 25, 2020 2:41 pm
by johu
Of course it can be extended, but more than 10Hz is beyond any reason. Why would you need more?

Re: Inverter Firmware v4.76.R

Posted: Wed Mar 25, 2020 5:24 pm
by yaroslav
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?

Re: Inverter Firmware v4.76.R

Posted: Wed Mar 25, 2020 5:33 pm
by johu
Slip frequency solely depends on the electric properties of the rotor, not the stator.

Re: Inverter Firmware v4.76.R

Posted: Wed Mar 25, 2020 7:58 pm
by yaroslav
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?

Re: Inverter Firmware v4.76.R

Posted: Wed Mar 25, 2020 8:05 pm
by arber333
yaroslav wrote: Wed Mar 25, 2020 7:58 pm 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?
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

Re: Inverter Firmware v4.76.R

Posted: Fri Mar 27, 2020 8:23 am
by yaroslav
According to the recommendation, my need to put a 14 Hz slip or a little more, but I can't put it because of the 10 Hz limit