RL78/G1G Sensorless Speed control of 120-degree conducting controlled permanent magnetic synchronous motor (Implementation)
R01AN3582EJ0100 Rev.1.00
Page 12 of 46
Jan 13, 2017
2.3.2 Module configuration
Figure 2-2 and Table 2-5 show module configuration of the control programs.
Figure 2-2 Module Configuration
Table 2-5 Module Configuration
Layers
File name
Application layer
main.c
Motor control layer
mtr_spm_less_120.c
mtr_feedback.c
mtr_gmc.c
mtr_filter.c
mtr_driver_access.c
mtr_interrupt.c
(Note)
H/W control layer
mtr_ctrl_rl78g1g_mrssk.c
mtr_ctrl_rl78g1g.c
mtr_ctrl_mrssk.c
mtr_interrupt.c
(Note)
Note:
“mtr_interrupt.c” is belong to the motor control layer and H/W control layer.
Application layer
User application
H/W control layer
Microcontroller dependent processing part,
Inverter board dependent processing part
H/W
Inverter board, microcontroller
Motor control layer
Motor-control-processing-part