Speed scale parameters in AN4813 based on MC56F82748

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Speed scale parameters in AN4813 based on MC56F82748

723 Views
kbk
Contributor I

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

Labels (1)
0 Kudos
2 Replies

601 Views
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

601 Views
kbk
Contributor I

Got it, thank you very much.

0 Kudos