This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于28335编码器求取电角度的一个问题



v.ElecTheta = (v.PolePairs*v.MechTheta) -floor(v.PolePairs*v.MechTheta); /* Q24 = Q0*Q24 */

主要想问一下上段程序中,电角度为何这样求取?

直接极对数×机械角度不就可以了吗?那再减去一个向下取整是什么意思呢?