Testing FOC for synchronous motor

Isaac96
Posts: 656
Joined: Sat Oct 05, 2019 6:50 pm
Location: Northern California, USA
Been thanked: 2 times
Contact:

Re: Testing FOC for synchronous motor

Post by Isaac96 »

glink wrote: Fri Mar 26, 2021 5:19 am Thanks to both! Haven't calibrated anything, I do the POT adjustment with CAN communication. Potmin=0 Potmax=4095 Throtcur=1
No, I haven't gone through the procedure, as was leaning on this to be correct with syncofs=0: https://openinverter.org/wiki/Configura ... Leaf_Motor
If this is not correct and anyone has done the Nissan Leaf EM57 motor calibration, please share!


I believe this video has what you need. Also see the wiki: https://openinverter.org/wiki/Using_FOC_Software
User avatar
mjc506
Posts: 343
Joined: Wed Sep 09, 2020 9:36 pm
Location: Wales, United Kingdom
Has thanked: 30 times
Been thanked: 29 times

Re: Testing FOC for synchronous motor

Post by mjc506 »

Also remember that the pot controls torque and not speed. And that with the default settings, some of the pedal travel is reserved for a bit of regen, to emulate engine braking.

I'd recommend watching Damien's syncofs video, and taking your time setting syncofs -it's one of the more important parameters. Make sure you've calibrated your current sensors, udc, etc as per the 'getting started' guide on the wiki.
User avatar
ZooKeeper
Posts: 507
Joined: Mon Mar 30, 2020 10:23 pm
Location: USA

Re: Testing FOC for synchronous motor

Post by ZooKeeper »

Yes, one cannot get meaningful throttle control prior to successful syncof calibration and it is unlikely that two different motors would have the same settings.
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
User avatar
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: Testing FOC for synchronous motor

Post by johu »

That said, for Leaf motors it is hovering around 0. Not sure what happens with swapped resolver wires though
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
glink
Posts: 30
Joined: Mon Mar 15, 2021 7:02 pm
Has thanked: 1 time
Been thanked: 4 times

Re: Testing FOC for synchronous motor

Post by glink »

johu wrote: Fri Mar 26, 2021 3:12 pm That said, for Leaf motors it is hovering around 0. Not sure what happens with swapped resolver wires though
Hmm, maybe I have the resolver wires messed up as well, but thought it was only one permutation that would work
Post Reply