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

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/29 Series:
Table of Contents

Advertisement

M16C/29 Group

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 (Note 1)
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
Note 1: When three phase motor control function is enabled (INV02=1) P8
_____
GPIO. If the SD fueature is not needed then P8
_____
When SD is driven low, INV03 (three phase output control bit) is cleared, pins U(P8
__
V(P7
), V(P7
2
3
Port Direction and Data registers. In addition if bit IVPRC1 is set to 1 when SD is driven low pin P8
P8
, P7
, P7
1
2
3,
them.
Related pins
P7
P7
P7
P7
P8
P8
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
___
), W(P7
), W(P7
) pins go back to GPIO mode and are controlled by their corresponding
4
5
P7
, P7
tri-state regardless of when function (3 phase, GPIO, or UART) is assigned to
4
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 of 402
12.3 Three-phase Motor Control Timer Function
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
, f
1
2
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
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 func-
tion
For Timer B2 interrupt, select a carrier wave cycle-to-cycle
basis through 15 times carrier wave cycle-to-cycle basis
_____
/SD must always be driven high.
5
1
1
___
, f
, f
8
32
C32
, f
, f
8
32
C32
divided by 2, f
divided by 2
2
_____
becomes SD. Do not use P8
5
_____
for
5
__
), U(P8
),
0
1
,
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents