Three-phase Motor Control Timer Functions
129
Mitsubishi microcomputers
M16C / 62P Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
development
Preliminary Specifications Rev.1.0
Specifications in this manual are tentative and subject to change.
Three-phase Motor Control Timer Function
Timers A1, A2, A4 and B2 can be used to output three-phase motor drive waveforms. Table 1.16.1 lists the
specifications of the three-phase motor control timer function. Figure 1.16.1 shows the block diagram for
three-phase motor control timer function. Also, the related registers are shown on Figure 1.16.2 to Figure
1.16.7.
Table 1.16.1. Three-phase Motor Control Timer FunctionS Specifications
Item
Specification
Three-phase waveform output pin
Six pins (U, U, V, V, W, W)
Forced cutoff input
1
Input “L” to NMI pin
Used Timers
Timer A4, A1, A2 (used in the one-shot timer mode)
Timer A4: U- and U-phase waveform control
Timer A1: V- and V-phase waveform control
Timer A2: W- and W-phase waveform control
Timer B2 (used in the timer mode)
Carrier wave cycle control
Dead timer timer (3 eight-bit timer and shared reload register)
Dead time control
Output waveform
Triangular wave modulation, Sawtooth wave modification
Enable to output “H” or “L” for one cycle
Enable to set positive-phase level and negative-phase
level respectively
Carrier wave cycle
Triangular wave modulation: count source x (m+1) x 2
Sawtooth wave modulation: count source x (m+1)
m: Setting value of TB2 register, 0 to 65535
Count source: f
1
, f
2
, f
8
, f
32
, f
C32
Three-phase PWM output width
Triangular wave modulation: count source x n x 2
Sawtooth wave modulation: count source x n
n: Setting value of TA4, TA1 and TA2 register (of TA4,
TA41, TA1, TA11, TA2 and TA21 registers when setting
the INV11 bit to “1”), 1 to 65535
Count source: f
1
, f
2
, f
8
, f
32
, f
C32
Dead time
Count source x p, or no dead time
p: Setting value of DTT register, 1 to 255
Count source: f
1
, f
2
, f
1
divided by 2, f
2
divided by 2
Active level
Eable to select “H” or “L”
Positive and negative-phase concurrent
Positive and negative-phases concurrent active disable
function
Positive and negative-phases concurrent active detect func
tion
Interrupt frequency
For Timer B2 interrupt, select a carrier wave cycle-to-cycle
basis through 15 times carrier wave cycle-to-cycle basis
Notes:
1. Forced cutoff with NMI input is effective when the IVPCR1 bit of TB2SC register is set to “1” (three-phase
output forcible cutoff by NMI input enabled). If an “L” signal is applied to the NMI pin when the IVPCR1 bit
is “1”, the related pins go to a high-impedance state regardless of which functions of those pins are being
used.
active disable function
Related pins
P7
2
/CLK
2
/TA1
OUT
/V
P7
3
/CTS
2
/RTS
2
/TA1
IN
/V
P7
4
/TA2
OUT
/W
P7
5
/TA2
IN
/W
P8
0
/TA4
OUT
/U
P8
1
/TA4
IN
/U