Download Print this page

Renesas M16C/50 Series User Manual page 365

Advertisement

M16C/5L Group, M16C/56 Group
Triangular Waveform as a Carrier Wave
Carrier wave
Signal wave
TB2S bit
in the TABSR register
Timer B2
Timer A1
reload control signal
IR bit in the TB2IC register
(timer B2 interrupt request)
TA4 register
Reload register
Timer A4
start trigger signal
Timer A4
one-shot pulse
U-phase output signal
U-phase output signal
Dead time timer output
U-pin output
INV14 = 0
(active low)
U-pin output
U-pin output
INV14 = 1
(active high)
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.
Note:
1. Internal signal. Refer to
Figure 17.6
Example of Three-Phase Mode 0 Operation
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
(1)
a'
a
a'
a
(1)
a'
(1)
(1)
(1)
(1)
Figure 17.1.
17. Three-Phase Motor Control Timer Function
b'
b
b'
b
a
b'
b
Rewrite registers IDB0 and IDB1
Dead time
c'
c
d'
c'
c
d'
c'
c
The rewritten values are
reflected at this point.
Page 328 of 803
d
d
d'
d

Advertisement

loading