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!
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.
Re: Testing FOC for synchronous motor
Posted: Fri Mar 26, 2021 2:37 pm
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.
Re: Testing FOC for synchronous motor
Posted: Fri Mar 26, 2021 3:12 pm
by johu
That said, for Leaf motors it is hovering around 0. Not sure what happens with swapped resolver wires though
Re: Testing FOC for synchronous motor
Posted: Fri Mar 26, 2021 8:04 pm
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