RL78/G1G Sensorless Speed control of 120-degree conducting controlled permanent magnetic synchronous motor (Implementation)
R01AN3582EJ0100 Rev.1.00
Page 42 of 46
Jan 13, 2017
3.6
Control flows (flow charts)
3.6.1 Main process
Figure 3-7 Main Process Flowchart
Overcurrent detection process (Hardw are detection)
Main process
Initialization of
peripheral functions
Initialization of user interface
Initialization of variables used
in the main process
Initialization of sequence process
Reset process
Wait the stability of bus voltage
Change motor operation according
to switch status
LED control
Determine rotational speed according
to VR1 value
Set rotational speed
command value
Clear watchdog timer