RL78/G1G Sensorless Speed control of 120-degree conducting controlled permanent magnetic synchronous motor (Implementation)
R01AN3582EJ0100 Rev.1.00
Page 28 of 46
Jan 13, 2017
Table 3-16 List of Functions
“mtr_spm_less_120.c” [2/2]
File name
Function name
Process overview
mtr_spm_less_120.c
mtr_draw_in_signal_set
Input: None
Output: None
Set the conduction pattern at draw in the rotor
mtr_set_angle_shift
Input: None
Output: None
Calculate the counts for phase shift based on the
detection of zero-cross
mtr_check_pattern
Input: None
Output: None
Check the validity of zero-cross which is detected
mtr_pattern_first60
Input: (uint8) u1_pattern / conduction pattern
Output: None
Set voltage pattern non-complementary first 60
degree PWM
mtr_pattern_first60_comp
Input: (uint8) u1_pattern / conduction pattern
Output: None
Set voltage pattern complementary first 60 degree
PWM