RSBJEUM0001-0101 Rev. 1.01
32
4.11 PWM Duty Calculation Processing
s_DltCnt < 13?
s_DltCnt = 13
Yes
No
CalPWMDuty
g_DltCntRef =Tgt_Dlt_Conv[ g_TargetCnt/12]
g_SpeedAct > certain rotation speed?
Yes
CalCnt > 12 ?
CalCnt=0
Yes
No
g_DltCntArray[CalCnt] = s_DltCnt
1
g_AvrDltCnt=? g_DltCntArray[i] ( i= 0 to
CalCnt)
g_AvrDltCnt / = 12
s_DltCnt = g_AvrDltCnt
g_SpeedAct=Dlt_Act _Conv[s_DltCnt -13 ]
CalCnt > 12 ?
CalCnt=0
Yes
g_DltCntArray[CalCnt] = s_DltCnt
1
1
No