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.

实际操作时TI编码器例程M法测速时基速(Base_Speed)如何确定

Other Parts Discussed in Thread: C2000WARE

在TI提供的编码器M法测速时,设编码器位1000线程,有公式speed=Base_Speed*(x2-x1)/4000,那么实际计算时我应该如何确定这个Base_Speed呢?我的相法将编码器和一有速度显示的电机连接起来,并且读取编码器位置计数器的值,直到位置编码器的计数值达到4000时,通过显示得出此时的速度即为Base_Speed,不知道我的想法对不对,还请各位帮忙解答一下,非常感谢。