RSBJEUM0001-0101 Rev. 1.01
19
4 Control flow
4.1 Main processing for sensor-less driving of an SPMSM
by 120-degree trapezoidal wave commutation.
Rotation speed command = 0
Yes
No
Rotation speed command = Ad_speed
Main
PWMInitial processing
CalSpeedCnd processing
Ad_speed< M_Start_Hz?
RTS
Set local variable ad_input=0x0000
Set local variable Ad_speed
Ad_speed is current calculate rotation speed
ad_input = 0x03ff&AD1