johu
Site Admin
Posts: 5791 Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1025 times
Contact:
Post
by johu » Thu Nov 07, 2019 8:45 pm
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.
johnspark
Posts: 264 Joined: Fri Apr 12, 2019 10:42 pm
Location: Adelaide, South Australia
Has thanked: 59 times
Been thanked: 48 times
Post
by johnspark » Thu Nov 07, 2019 9:01 pm
So will this be ok with Prius motors?
arber333
Posts: 3265 Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 80 times
Been thanked: 234 times
Contact:
Post
by arber333 » Thu Nov 07, 2019 10:32 pm
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?
johu
Site Admin
Posts: 5791 Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 157 times
Been thanked: 1025 times
Contact:
Post
by johu » Thu Nov 07, 2019 11:00 pm
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
yaroslav
Posts: 176 Joined: Tue Aug 13, 2019 4:32 pm
Location: Russia, Stavropol
Has thanked: 14 times
Been thanked: 5 times
Post
by yaroslav » Fri Nov 08, 2019 7:02 am
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?