On 11 June 2013 01:01, Florian Rist <fr...@fs.tum.de> wrote: > Regarding the sinusoidal commutation I'm no longer sure if I ever had > this working. After some thinking on the problem it's actually not easy > to get this running on a motor with an incremental encoder with an index > signal.
Actually, it is not that difficult, and the qh mode ought to do it. You know exactly where you are in the commutation cycle when the first hall state transition occurs. > There is some kind of initialization necessary: Turing the motor in > trapezoidal until the index is reached. No, that is only required in systems with no Hall sensors. (qi mode) You can use qhi which runs trapezoidal until it sees an index, but that doesn't need any init stage either, as it just switches modes the first time it sees an index. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users