R01UH0092EJ0110 Rev.1.10
Page 328 of 807
Jul 31, 2012
M16C/64C Group
19. Three-Phase Motor Control Timer Function
19. Three-Phase Motor Control Timer Function
19.1
Introduction
Timers A1, A2, A4, and B2 can be used to output three-phase motor drive waveforms.
Table 19.1 and Table 19.2 list Three-Phase Motor Control Timer Function Specifications. Three-Phase
Motor Control Timer Function Block Diagrams are shown in Figure 19.1 and Figure 19.2. Table 19.3 lists
I/O Ports.
Table 19.1
Three-Phase Motor Control Timer Function Specifications (1/2)
Item
Specification
Operation modes
•
Triangular wave modulation three-phase mode 0
Three-phase PWM waveform of triangular wave modulation is output.
Output data is updated every half cycle of the carrier wave, and an output
waveform is generated.
•
Triangular wave modulation three-phase mode 1
Three-phase PWM waveform of triangular wave modulation is output.
Output data is updated every cycle of the carrier wave, and an output
waveform is generated.
•
Sawtooth wave modulation mode
Three-phase PWM waveform of sawtooth wave modulation is output.
Three-phase PWM
waveform output pins
6 (U,
U
, V,
V
, W,
W
)
Forced cutoff input
Input a low-level signal to the
SD
pin
Used timers
Timers A4, A1, A2 (used in one-shot timer mode)
Timer A4: U-/
U
-phase waveform control
Timer A1: V-/
V
-phase waveform control
Timer A2: W-/
W
-phase waveform control
Timer B2 (used in timer mode)
Carrier wave cycle control
Dead time timer (three 8-bit timers and shared reload register)
Dead time control
Output waveform
Triangular wave modulation, sawtooth wave modulation
•
All high or low outputs for one cycle supported
•
Output logic of high- and low-side turn-on signals can be set separately.
Carrier wave cycle
Triangular wave modulation :
Sawtooth wave modulation :
m: Setting value of the TB2 register, 0000h to FFFFh
fi: Count source frequency (f1TIMAB, f2TIMAB, f8TIMAB, f32TIMAB,
f64TIMAB, fOCO-S, fC32)
m
1
+
(
)
2
×
fi
-----------------------------
m
1
+
fi
--------------
Summary of Contents for M16C Series
Page 846: ...M16C 64C Group R01UH0092EJ0110...