R01UH0136EJ0210 Rev.2.10
Page 328 of 800
Jul 31, 2012
M16C/64A Group
19. Three-Phase Motor Control Timer Function
Figure 19.1
Three-Phase Motor Control Timer Function Block Diagram 1
Circuit to set interrupt
generation frequency
INV01
INV11
Timer B2
interrupt
request bit
ICTB2 register n = 1 to 15
0
ICTB2 counter
n = 1 to 15
PWCON
INV12
INV07, INV06, INV01, INV00: Bits in the INVC0 register
INV16, INV15, INV13 to INV10: Bits in the INVC1 register
DUB0, DU0: Bits in the IDB0 register
DUB1, DU1: Bits in the IDB1 register
PWCON: Bit in the TB2SC register
TA4S, TA2S, TA1S: Bits in the TABSR register
Timer A2
one-shot
pulse
Timer A1
one-shot
pulse
Timer A4
one-shot
pulse
1
Counter
Timer B2
underflow
INV07
(One-shot timer mode)
Timer A4 reload
control signal
Counter
Reload
INV11
T Q
(One-shot timer mode)
Timer A1 reload
control signal
INV11
T Q
Counter
(One-shot timer mode)
Timer A2 reload
control signal
Counter
Reload
INV11
T Q
Write signal to
timer B2
INV10
(Timer mode)
Start trigger signal for
timers A1, A2, and A4
When setting the TA4S bit to 0,
signal is set to 0.
When setting the TA1S bit to 0, signal is
set to 0.
When setting the TA2S bit to 0,
signal is set to 0.
Trigger
Trigger
Trigger
TA4 register
TA41 register
TA1 register
TA11 register
TA2 register
TA21 register
0
1
Reload
INV13
Timer B2 underflow
f1 or f2
INV00
PWCON
Transfer trigger
(1)
1/2
1
0
U-phase output
control circuit
DUB1
bit
DUB0
bit
D Q
T
D Q
T
D Q
T
D Q
T
DU1
bit
DU0
bit
V-phase output
control circuit
INV06
INV06
INV06
Dead time
timer
n = 1 to 255
Reload register
n = 1 to 255
Dead time timer
n = 1 to 255
Dead Time Timer
n = 1 to 255
D Q
T
D Q
T
W-phase output
control circuit
D Q
T
D Q
T
D Q
T
D Q
T
W-phase
output signal
W-phase
output signal
V-phase
output signal
V-phase
output signal
U-phase
output signal
U-phase
output signal
Trigger
Trigger
Trigger
Trigger
Three-phase
output
shift register
(U-phase)
Transfer trigger
(1)
Trigger
Trigger
INV15
To (B) in
block
diagram 2
(U-phase)
Timer B2
Reload
1
0
INV15
INV15
INV16
To (A) in
block
diagram 2
DTT register
Note:
1. When the INV06 bit is 0 (triangular wave modulation mode), a transfer trigger is generated only at the
first timer B2 underflow after writing to registers IDB0 and IDB1.
(U-phase)
(V-phase)
(V-phase)
(W-phase)
(W-phase)
Содержание M16C/60 Series
Страница 853: ...M16C 64A Group R01UH0136EJ0210...