Three-phase Motor Control Timer Functions
132
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.
Figure 1.16.3. INVC1 Register
Three-phase PWM control register 1
(Note 1)
b7
b6
b5
b4 b3
b2
b1
b0
Symbol
INVC1
Address
0349
16
After reset
00
16
Timer A1, A2, A4 start
trigger signal select bit
INV10
Bit symbol
Bit name
Description
RW
INV11
Timer A1-1, A2-1, A4-1
control bit
INV12
Dead time timer count
source select bit
INV14
Output polarity control bit
(b7)
Reserved bit
INV16
Dead time timer trigger
select bit
INV15
Dead time invalid bit
INV13
Carrier wave detect flag
0: Timer B2 underflow
1: Timer B2 underflow and write to the
TB2 register
0: Three-phase mode 0
1: Three-phase mode 1
0 : f
1
or f
2
1 : f
1
divided by 2 or f
2
divided by 2
0: Timer A output at even-numbered occ-
urrences (TAj1 register value counted)
1: Timer A output at odd-numbered occ-
urrences (TAj1 register value counted)
0 : Output waveform “L” active
1 : Output waveform “H” active
0: Dead time timer enabled
1: Dead time timer disabled
0: Falling edge of timer A4, A1 or A2
one-shot pulse
1: Rising edge of three-phase output shift
register (U, V or W phase) output
This bit should be set to “0”
Note 1: Write to this register after setting the PRC1 bit of PRCR register to “1” (write enable). Note also that this
register can only be rewritten when timers A1, A2, A4 and B2 are idle.
Note 2: The effects of the INV11 bit are described in the table below.
Item
INV11=0
(Note 5)
(Note 4)
RW
RW
RW
RW
RW
RW
RW
RO
(Note 2)
Mode
TA11, TA21, TA41 registers
INV00 bit, INV01 bit
INV13 bit
Three-phase mode 1
Used
Three-phase mode 0
Not used
Has no effect. ICTB2 counted every time
timer B2 underflows regardless of
whether the INV00 to INV01 bits are set.
Has no effect
INV11=1
Effect
Effective when INV11 bit is “1” and
INV06 bit is “0”
Note 3: If the INV06 bit is “1” (sawtooth wave modulation mode), set this bit to “0” (three-phase mode 0). Also, if the
INV11 bit is “0”, set the PWCON bit to “0” (timer B2 reloaded by a timer B2 underflow).
Note 4: The INV13 bit is effective only when the INV06 bit is “0” (triangular wave modulation mode) and the INV11 bit
is “1” (three-phase mode 1).
Note 5: If all of the following conditions hold true, set the INV16 bit to “1” (dead time timer triggered by the rising edge
of three-phase output shift register output)
The INV15 bit is “0” (dead time timer enabled)
When the INV03 bit is set to “1” (three-phase motor control timer output enabled), the Dij bit and DiBj bit (i:U,
V, or W, j: 0 to 1) have always different values (the positive-phase and negative-phase always output
different levels during the period other than dead time).
Conversely, if either one of the above conditions holds false, set the INV16 bit to “0” (dead time timertriggered
by the falling edge of one-shot pulse).
(Note 3)