![](http://datasheet.mmic.net.cn/30000/M30855FHTGP_datasheet_2359399/M30855FHTGP_212.png)
Page 189
4
9
4
f
o
5
0
2
,
1
0
.
l
u
J
3
0
.
1
.
v
e
R
3
0
1
0
-
7
3
0
B
9
0
J
E
R
16. Three-Phase Motor Control Timer Functions
)
T
5
8
/
C
2
3
M
,
5
8
/
C
2
3
M
(
p
u
o
r
G
5
8
/
C
2
3
M
The three-phase motor control timer function is available by setting the INV02 bit in the INVC0 register to
"1". The timer B2 is used for carrier wave control and the timers A1, A2, A4 for three-phase PWM output
__
___
(U, U, V, V, W, W) control. An exclusive dead time timer controls dead time. Figure 16.8 shows an
example of the triangular modulation waveform. Figure 16.9 shows an example of the sawtooth modula-
tion waveform.
Figure 16.8 Triangular Wave Modulation Operation
m
nn
p
m
q
m
n
p
q
p
q
r
TA4 Register(2)
TA4-1 Register(2)
Reload Register(2)
Timer A1
Reload Control Signal(1)
Triangular Wave
Signal Wave
Triangular waveform as a Carrier Wave
Timer B2
TB2S Bit in
TABSR Register
Timer A4
Start Trigger Signal
(1)
Timer A4
One-Shot Pulse
(1)
Rewrite the IDB0 and IDB1 registers
Transfer the values
to the three-phase
shift register
U-Phase
Output Signal
(1)
U-Phase
Output Signal
(1)
INV14 = 0
("L" active)
U-Phase
Dead time
INV14 = 1
("H" active)
U-Phase
NOTES:
1. Internal signals. See Figure 16.1.
2. Applies only when the INV11 bit is set to "1" (three-phase mode).
Examples of PWM output change are
(a) When INV11=1 (three-phase mode 1)
- INV01=0 and ICTB2=216 (The timer B2 interrupt is
generated with every second timer B2 underflow) or
INV01=1, INV00=1and ICTB2=116 (The timer B2 interrupt is
generated on the falling edge of the timer A reload control
signal)
- Default value of the timer: TA41=m, TA4=m
The TA4 and TA41 registers are changed whenever the
timer B2 interrupt is generated.
First time: TA41=n, TA4:=n.
Second time: TA41=p, TA4=p.
- Default value of the IDB0 and IDB1 registers
DU0=1, DUB0=0, DU1=0, DUB1=1
They are changed to DU0=1, DUB0=0, DU1=1, DUB1=0
by the third timer B2 interrupt.
(b) When INV11=0 (three-phase mode 0)
- INV01=0, ICTB2=116 (The timer B2 interrupt is generated
whenever the timer B2 underflows)
- Default value of the timer: TA4=m
The TA4 register is changed whenever the timer B2
interrupt is generated.
First time: TA4=m. Second time: TA4=n.
Third time: TA4=n. Fourth time: TA=p.
Fifth time: TA4=p.
- Default value of the IDB0 and IDB1 registers:
DU0=1, DUB0=0, DU1=0, DUB1=1
They are changed to DU0=1, DUB0=0, DU1=1, DUB1=0 by
the sixth timer B2 interrupt.
The above applies to INVC0 = 00XX11XX2 and INVC1 = 010XXXX02 (X varies depending on each system.)
INV00, INV01: Bits in INVC0 register
INV11, INV14: Bits in INVC1 register
U-Phase