Three-Phase Motor Control Timer Function - Renesas M16C/26A Series Hardware Manual

16-bit single-chip microcomputer m16c family / m16c/tiny series
Hide thumbs Also See for M16C/26A Series:
Table of Contents

Advertisement

M
1
6
C
2 /
6
A
G
o r
u
p
(
M
1
6

12.3 Three-phase Motor Control Timer Function

Timers A1, A2, A4 and B2 can be used to output three-phase motor drive waveforms. Table 12.3.1 lists the
specifications of the three-phase motor control timer function. Figure 12.3.1 shows the block diagram for
three-phase motor control timer function. Also, the related registers are shown on Figure 12.3.2 to Figure
12.3.8.
Table 12.3.1. Three-phase Motor Control Timer Function Specifications
Item
Three-phase waveform output pin
Forced cutoff input
Used Timers
Output waveform
Carrier wave cycle
Three-phase PWM output width
Dead time active disable function
Active level
Positive and negative-phase concurrent
Interrupt frequency
NOTES:
1. When the INV02 bit in the INVC0 register is set to "1" (three-phase motor control timer function), the SD
function of the P8
port. When the SD function is not used, apply "H" to the P8
2. When the IVPCR1 bit in the TB2SC register is set to "1" (enable three-phase output forced cutoff by SD
pin input), and "L" is applied to the SD pin, the related pins enter high-impedance state regardless of the
functions which are used. When the IVPCR1 bit is set to "0" (disabled three-phase output forced cutoff
_____
by SD pin input) and "L" is applied to the SD pin, the related pins can be selected as a programmable I/
O port and the setting of the port and port direction registers are enable.
Related pins
P7
P7
P7
P7
P8
P8
R
e
. v
2
0 .
0
F
e
b
1 .
, 5
2
0
0
7
R
E
J
0
9
B
0
2
0
2
0 -
2
0
0
C
2 /
6
, A
M
1
6
C
2 /
6
, B
M
1
(1)
_____
/SD pin is enabled. At this time, the P8
5
_____
_____
/CLK
/TA1
/V/RxD
2
2
OUT
_________ _________
___
/CTS
/RTS
/TA1
/V/TxD
3
2
2
IN
/TA2
/W
4
OUT
____
/TA2
/W
5
IN
/TA4
/U
0
OUT
___
/TA4
/U
1
IN
page 117
f o
3
2
9
6
C
2 /
6
) T
Specification
___
___
Six pins (U, U, V, V, W, W)
_____
Input "L" to SD pin
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
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
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
, f
1
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
, f
1
Count source x p, or no dead time
p: Setting value of DTT register, 1 to 255
Count source: f
, f
, f
1
2
1
Eable to select "H" or "L"
Positive and negative-phases concurrent active disable function
Positive and negative-phases concurrent active detect function
For Timer B2 interrupt, select a carrier wave cycle-to-cycle
basis through 15 times carrier wave cycle-to-cycle basis
pin cannot be used as a programmable I/O
5
_____
/SD pin.
5
_____
1
1
___
___
, f
, f
, f
2
8
32
C32
, f
, f
, f
2
8
32
C32
divided by 2, f
divided by 2
2
12. Timer
_____
_____

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/26aM16c/26bM16c/26t

Table of Contents