R01UH0092EJ0110 Rev.1.10
Page 349 of 807
Jul 31, 2012
M16C/64C Group
19. Three-Phase Motor Control Timer Function
19.3.2
Triangular Wave Modulation Three-Phase Mode 0
Triangular wave modulation uses the timer B2 cycle as a reference cycle. Table 19.9 lists Three-Phase
Mode 0 Specifications, and Figure 19.6 shows Example of Three-Phase Mode 0 Operation.
Table 19.9
Three-Phase Mode 0 Specifications
Item
Specification
Carrier wave cycle
m: Setting value of the TB2 register, 0000h to FFFFh
fi: Count source frequency (f1TIMAB, f2TIMAB, f8TIMAB, f32TIMAB,
f64TIMAB, fOCO-S, fC32)
Three-phase PWM output width
n, n’: Setting value of the TAi register, 0001h to FFFFh
fi: Count source frequency (f1TIMAB, f2TIMAB, f8TIMAB, f32TIMAB,
f64TIMAB, fOCO-S, fC32)
Dif
fe
re
nces fr
om
thr
ee-
ph
ase mo
de 1
Reference cycle
Timer B2 cycle (one-half cycle of the carrier wave)
Timer B2 reload timing
Timer B2 underflow
Three-phase PWM
waveform control
Counts the value of the TAi register every time a timer Ai start trigger is
generated (the TAi1 register is not used).
Timer B2 interrupt
When the setting value in the ICTB2 register is n, a timer B2 interrupt
request is generated every nth time of timer B2 underflow (not influenced
by bits INV00 and INV01 in the INVC0 register).
Detection of a carrier
wave cycle
(first half or last half)
Not detected (the INV13 bit in the INVC1 register is disabled).
i = 1, 2, 4
m
1
+
(
)
2
×
fi
-----------------------------
m
1
n
–
n
′
+
+
fi
-----------------------------------
m+1
n
n'
m+1-n+n'
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...