![](http://datasheet.mmic.net.cn/30000/M30855FHTGP_datasheet_2359399/M30855FHTGP_203.png)
Page 180
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
16. Three-Phase Motor Control Timer Functions
Three-phase motor driving waveform can be output by using the timers A1, A2, A4 and B2. Table 16.1 lists
specifications of the three-phase motor control timer functions. Table 16.2 lists pin settings. Figure 16.1
shows a block diagram. Figures 16.2 to 16.7 show registers associated with the three-phase motor control
timer functions.
Table 16.1 Three-Phase Motor Control Timer Functions Specification
Item
Specification
Three-Phase Waveform Output Pin
___
Six pins (U, U, V, V, W, W)
Forced Cutoff(1)
_______
Apply a low-level ("L") signal to the NMI pin
Timers to be Used
Timer A4, A1, A2 (used in 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 timer mode):
Carrier wave cycle control
Dead time timer (three 8-bit timers share reload register):
Dead time control
Output Waveform
Triangular wave modulation, Sawtooth wave modulation
Can output a high-level waveform or a low-level waveform for one cycle;
Can set positive-phase level and negative-phase level separately
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 the TB2 register, 000016 to FFFF16
Count source: f1, f8, f2n(2), fc32
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 the TA4, TA1 and TA2 register (of the TA4, TA41, TA1, TA11,
TA2 and TA21 registers when setting the INV11 bit to "1"), 000116 to FFFF16
Count source: f1, f8, f2n(2), fc32
Dead Time
Count source x p, or no dead time
p: setting value of the DTT register, 0116 to FF16
Count source: f1, or f1 divided by 2
Active Level
Selected from a high level ("H") or low level ("L")
Positive- and Negative-Phase Con-
Positive and negative-phases concurrent active disable function
current Active Disable Function
Positive and negative-phases concurrent active detect function
Interrupt Frequency
For the timer B2 interrupt, one carrier wave cycle-to-cycle basis through 15
time- carrier wave cycle-to-cycle basis can be selected
NOTES:
_______
1. Forced cutoff by the signal applied to the NMI pin is available when the INV02 bit is set to "1" (three-
phase motor control timer functions) and the INV03 bit is set to "1" (three-phase motor control timer
output enabled).
2. The CNT3 to CNT0 bits in the TCSPR register select no division (n=0) or divide-by-2n (n=1 to 15).