Three-Phase Motor Control Timer Function - Renesas M16C FAMILY series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C FAMILY series:
Table of Contents

Advertisement

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

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.10 lists the
specifications of the three-phase motor control timer function. Figure 12.24 shows the block diagram for three-
phase motor control timer function. Also, the related registers are shown on Figures 12.26 to 12.32.
Table 12.10 Three-phase Motor Control Timer Function Specifications
Item
Three-phase waveform output pin
(1)
Forced cutoff input
Used Timers
Output waveform
Carrier wave cycle
Three-phase PWM output width
Dead time
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
I/O port. When the SD function is not used, apply "H" to the P8
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 program-
mable I/O port and the setting of the port and port direction registers are enable.
Related pins:
R
e
. v
2
0 .
0
J
a
. n
3
, 1
2
0
0
7
R
E
J
0
9
B
0
0
4
7
0 -
2
0
0
2 /
, 8
M
1
6
C
2 /
8
) B
_____
/SD pin is enabled. At this time, the P8
5
_____
_____
P7
/CLK
/TA1
/V/RXD
2
2
OUT
P7
/TA2
/W
4
OUT
P8
/TA4
/U
0
OUT
page 122
f o
3
8
5
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 time 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
, f
1
2
8
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
, f
1
2
8
Count source x p, or no dead time
p: Setting value of DTT register, 1 to 255
Count source: f
, f
, f
divided by 2, 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 func-
tion
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
5
/SD pin.
5
_____
_________ _________
P7
/CTS
/RTS
1
3
2
____
P7
/TA2
/W
5
IN
___
P8
/TA4
/U
1
IN
___
, f
, f
32
C32
, f
, f
32
C32
divided by 2
2
_____
___
/TA1
/V/TXD
2
IN
1
12. Timer

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tiny seriesM16c series

Table of Contents