RSBJEUM0001-0101 Rev. 1.01
34
4.12 Calculate Rotation Speed Command Processing
=Rotation speed command input
CalSpeedCnd
Average calculation counter>=16 ?
No
Yes
s_ADSpeed=s_ADSum/16
s_ADSum=0
Average calculation counter=0
Return value=s_ADSpeed
Rotation speed command input value =
AD vaule*M_K_SPEED_AD_REF/2^11
Average calculation 1
RTS