Page 1 of 1
Inverter Firmware v5.00.R
Posted: Wed Feb 17, 2021 3:47 pm
by johu
Release time!
https://github.com/jsphuebner/stm32-sin ... ag/v5.00.R
- Allow running booster from user PWM channel at 8k8 Hz
- Allow setting nodeid for SDO messages and also for terminal
- Allow only enabling terminal with certain node id (meant for dual motor boards)
- Corrected FOC idc calculation to allow meaningful DC current limits
Care must be taken when programming another nodeid than 1 because that will initially disable the terminal.
See also here:
viewtopic.php?f=5&t=1166
Re: Inverter Firmware v5.00.R
Posted: Fri Feb 19, 2021 3:07 pm
by Yahha777
Strange - the maximum that I can overclock the engine on this firmware is 6 hz 88 rpm.
https://openinverter.org/parameters/view.html?id=20 In the inverter configuration, the previous firmware is 4.97.R-sine. She works!
Re: Inverter Firmware v5.00.R
Posted: Fri Feb 19, 2021 4:29 pm
by johu
I must confess I lost my asynchronous motor test mule

So cannot test this myself right now. Will check the code if I find something.
Re: Inverter Firmware v5.00.R
Posted: Fri Feb 19, 2021 6:12 pm
by arber333
johu wrote: ↑Fri Feb 19, 2021 4:29 pm
I must confess I lost my asynchronous motor test mule

So cannot test this myself right now. Will check the code if I find something.
I can test this for you on my mazda. Tell me what data do you need.
I can record. Old firmware running as comparative data and later record new firmware. I have AB encoder and i really need current limiting with Mazda.
Re: Inverter Firmware v5.00.R
Posted: Fri Feb 19, 2021 7:25 pm
by johu
For now just check if it runs at all.
Re: Inverter Firmware v5.00.R
Posted: Fri Feb 19, 2021 9:03 pm
by arber333
johu wrote: ↑Fri Feb 19, 2021 7:25 pm
For now just check if it runs at all.
Tomorrow in the morning i will just swap one olimex module for another...
Re: Inverter Firmware v5.00.R
Posted: Thu Mar 11, 2021 9:50 pm
by johu
How did it go?
I think I will pin sine firmware at version 4.97.R for now and only release new sine versions if somebody has tested it. All boards that I sell will come with version 4.97.R-sine. FOC boards of course come with recent FOC version.
Re: Inverter Firmware v5.00.R
Posted: Thu Mar 11, 2021 11:39 pm
by mjc506
Working well for me on both FOC and sine (although not clean code, but I don't think I've touched anything important...)
Re: Inverter Firmware v5.00.R
Posted: Fri Mar 12, 2021 1:06 am
by ZooKeeper
Three observations: 1) The motor is SMOOOTH, 2) DC Current limit works WELL, 2) The VCU thinks DC current is about double what the meter does.
I was hoping to do some charge testing, but that will have to wait until I fix the PC resistor on the relay board

Re: Inverter Firmware v5.00.R
Posted: Thu Mar 25, 2021 7:24 pm
by Yahha777
Everything worked out! Changed Potmode settings to DualChannel and it all worked!
https://openinverter.org/parameters/view.html?id=21