
Rev.2.10 Apr 14, 2006 page 138 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 14. Three-Phase Motor Control Timer Function
14. Three-Phase Motor Control Timer Function
Timers A1, A2, A4, and B2 can be used to output three-phase motor drive waveforms. Table 14.1 lists the
Three-phase Motor Control Timer Function Specifications. Figure 14.1 shows the Three-phase Motor Control
Timer Function Block Diagram. Figures 14.2 to 14.8 shows the Three-phase Motor Control Timer Function
related registers.
Table 14.1 Three-Phase Motor Control Timer Function Specifications
Item Specification
Three-Phase waveform output pin
___ ___ ___
Six pins (U, U, V, V, W, W)
Forced cutoff input
(1)
_______
Input “L” to NMI pin
Used timers 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
Output waveform 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
Carrier wave cycle Triangular wave modulation: count source ✕ (m+1) ✕ 2
Sawtooth wave modulation: count source ✕ (m+1)
m: Setting value of the TB2 register, 0000h to FFFFh
Count source: f1, f2, f8, f32, fC32
Three-Phase PWM output width Triangular wave modulation: count source ✕ n ✕ 2
Sawtooth wave modulation: count source ✕ n
n: Setting value of registers TA4, TA1, and TA2 (of registers
TA4, TA41, TA1, TA11, TA2, and TA21 when setting the INV11
bit to 1), 0001h to FFFFh
Count source: f1, f2, f8, f32, fC32
Dead time Count source ✕ p, or no dead time
p: Setting value of the DTT register, 01h to FFh
Count source: f1, f2, f1 divided by 2, f2 divided by 2
Active level Enable to select “H” or “L”
Positive and negative-phase concurrent
Positive and negative-phases concurrent active disable function
active disable function Positive and negative-phases concurrent active detect function
Interrupt frequency For timer B2 interrupt, select a carrier wave cycle-to-cycle basis
through 15 times carrier wave cycle-to-cycle basis
NOTE:
1.
_______
Forced cutoff with NMI input is effective when the IVPCR1 bit in the TB2SC register is set to 1 (three-phase
_______ _______
output forcible cutoff by NMI input enabled). If an “L” signal is applied to the NMI pin when the IVPCR1
bit is 1, the related pins go to a high-impedance state regardless of which functions of those pins are
being used.
Related pins: • P7_2/CLK2/TA1OUT/V
_________ _________ ___
• P7_3/CTS2/RTS2/TA1IN/V
• P7_4/TA2OUT/W/(CLK4)
____
• P7_5/TA2IN/W/(SOUT4)
• P8_0/TA4OUT/U(SIN4)
___
• P8_1/TA4IN/U
Comentarios a estos manuales