R01UH0092EJ0110 Rev.1.10
Page 364 of 807
Jul 31, 2012
M16C/64C Group
19. Three-Phase Motor Control Timer Function
Figure 19.9
Example of Sawtooth Wave Modulation Mode Operation
Sawtooth Waveform as a Carrier Wave
Carrier wave
Signal wave
Note:
1. Internal signal. See
Timer B2
U-phase output signal
(1)
U-phase output signal
(1)
U-pin output
U-pin output
INV14 = 0
(active low)
INV14 = 1
(active high)
Rewrite registers IDB0 and IDB1
The rewritten values are reflected at these points.
Dead time
The above diagram assumes the following:
In the INVC1 register
- The INV10 bit is 0 (Timer B2 underflow is a start trigger for timers A1, A2 and A4.).
- The INV15 bit is 0 (dead time timer enabled).
- The INV16 bit is 0 (the dead time timer is triggered on the falling edge of timers A4, A1 and A2 one-shot pulse).
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 registers IDB0 and IDB1
- Initial values: DU0 = 0; DUB0 = 1; DU1 = 1; DUB1 = 1
- At the fourth timer B2 interrupt, the values are changed to DU0 = 1; DUB0 = 1; DU1 = 1; DUB1 = 1.
- At the sixth timer B2 interrupt, the values are changed to: DU0 = 1; DUB0 = 0; DU1 = 1; DUB1 = 1.
Timer A4
start trigger signal
(1)
Timer A4
one-shot pulse
(1)
IR bit in the TB2IC register
(timer B2 interrupt request)
TB2S bit
in the TABSR register
Dead time timer output
(1)
U-pin output
U-pin output
Figure 19.1.
Содержание M16C Series
Страница 846: ...M16C 64C Group R01UH0092EJ0110...