R01UH0136EJ0210 Rev.2.10
Page 350 of 800
Jul 31, 2012
M16C/64A Group
19. Three-Phase Motor Control Timer Function
Figure 19.6
Example of Three-Phase Mode 0 Operation
Triangular Waveform as a Carrier Wave
Carrier wave
Timer A1
reload control signal
(1)
TB2S bit
in the TABSR register
Timer B2
Timer A4
start trigger signal
(1)
TA4 register
Reload register
Timer A4
one-shot pulse
(1)
U-phase output signal
(1)
U-phase output signal
(1)
INV14 = 0
(active low)
INV14 = 1
(active high)
U-pin output
U-pin output
Note:
1. Internal signal. Refer to
IR bit in the TB2IC register
(timer B2 interrupt request)
a’
a
b’
b
c’
c
d’
d
Dead time timer output
(1)
U-pin output
U-pin output
The above assumes the following:
In the INVC1 register
- The INV16 bit is 1 (the dead time timer is triggered on the rising edge of the three-phase output shift register).
- The INV15 bit is 0 (dead time timer enabled).
- The INV10 bit is 0 (timer B2 underflow is a start trigger for timers A1, A2, and A4).
The ICTB2 register is 1h (timer B2 interrupt request is generated at every timer B2 underflow).
Bits PFC1 to PFC0 in the PFCR register are 11b (U-, U-phase outputs).
In the TA4 register
- Initial value : a’
- Changes at every timer B2 interrupt
1st : a; 2nd : b’; 3rd : b; 4th: c’; 5th : c; 6th : d’; 7th : d
Registers IDB0 and IDB1
- Initial values: DU0 = 1; DUB0 = 0; DU1 = 0; DUB1 = 1
- At the sixth timer B2 interrupt, the values are changed to: DU0 = 1; DUB0 = 0; DU1 = 1; DUB1 = 0.
Dead time
Rewrite registers IDB0 and IDB1
The rewritten values are
reflected at this point.
a’
a
b’
b
c'
c
d’
d
a’
a
b’
b
c’
c
d’
d
Signal wave
Figure 19.1.
Summary of Contents for M16C/60 Series
Page 853: ...M16C 64A Group R01UH0136EJ0210...