Speed scale parameters in AN4813 based on MC56F82748

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Speed scale parameters in AN4813 based on MC56F82748

854 次查看
kbk
Contributor I

How did you get angularSpeedScale=0.6357829 and angularSpeedScaleShift=4 in the application example code of document  AN4813?

标签 (1)
0 项奖励
回复
2 回复数

732 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Regarding your question, the angularSpeedScale/angularSpeedScaleShift are just parameter, as you know that the motor speed unit is RPM(revolutions per minute), but you just divide the edge number by tick number, so there must be a scale, the scale is related to bus clock cycle time the TMR1 counts, the total edge numbers per revolution.

I attach an1931 whiuch is written by the same author, it describes how to calculate the scale k.

Hope it can help you.

BR

XiangJun Rong

732 次查看
kbk
Contributor I

Got it, thank you very much.

0 项奖励
回复