Page 1 of 1

Inverter Firmware v4.64.R

Posted: Thu Nov 07, 2019 8:45 pm
by johu
I released a new version:
https://github.com/jsphuebner/stm32-sin ... ag/v4.64.R
  • Added MTPA and field weakening
  • Added syncadv parameter to compensate for phase lag
  • Disabled user_pwm code on BluePill
This is the first release that actively supports field weakening for synchronous motors and thus high speed operation.
Transitioning to regen is still a bit rough though.

Re: Inverter Firmware v4.64.R

Posted: Thu Nov 07, 2019 9:01 pm
by johnspark
So will this be ok with Prius motors?

Re: Inverter Firmware v4.64.R

Posted: Thu Nov 07, 2019 10:32 pm
by arber333
johu wrote: Thu Nov 07, 2019 8:45 pm Transitioning to regen is still a bit rough though.
But we can turn regen off, cant we? I mean set it to 0 and it will produce no regen?

Re: Inverter Firmware v4.64.R

Posted: Thu Nov 07, 2019 11:00 pm
by johu
johnspark wrote: Thu Nov 07, 2019 9:01 pm So will this be ok with Prius motors?
Yes
arber333 wrote: Thu Nov 07, 2019 10:32 pm But we can turn regen off, cant we? I mean set it to 0 and it will produce no regen?
And yes :)

Re: Inverter Firmware v4.64.R

Posted: Fri Nov 08, 2019 7:02 am
by yaroslav
Then I have such a question how to properly put this firmware on BluePill, after I load it and feed the power the engine starts to start itself without pressing the gas pedal?