Speed scale parameters in AN4813 based on MC56F82748

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Speed scale parameters in AN4813 based on MC56F82748

1,124件の閲覧回数
kbk
Contributor I

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

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,002件の閲覧回数
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

1,002件の閲覧回数
kbk
Contributor I

Got it, thank you very much.

0 件の賞賛
返信