V(k) = (X(k) - X(k-1)) / ( T - deta_T(k) + delta_T(k-1)) |
V(k) : current speed out |
X(k) : current position count(QPOSLAT(k)) |
X(k-1) : old position count(QPOSLAT(k-1)) |
T : Unit time (QUPRD) |
delta_T(k) : the difference between Uint time and the latest pulse(you can use just QCTMRLAT(k) value for this delta_T) |
delta_T(k-1) the old delta_T(k) (is equal to QCTMRLAT(k-1)) |
现在在用EQEP做编码器测速,想配置M/T测速方法。请问要怎么配置,参考demo中只有M法测速和T法测速。
另外,请问上图中的图片有知道来源吗?没找到资料