R5S72011 RENESAS [Renesas Technology Corp], R5S72011 Datasheet - Page 559

no-image

R5S72011

Manufacturer Part Number
R5S72011
Description
32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
(1)
Figure 12.80 shows an example of dead time compensation setting procedure by using three
counters in channel 5.
Example of Dead Time Compensation Setting Procedure
MTU
ch3/4
ch5
TCNT_5 input capture occurs
Notes:
Complementary PWM mode
Start count operation in
External pulse width
Interrupt processing
Figure 12.80 Example of Dead Time Compensation Setting Procedure
channels 3 to 5
measurement
* As an interrupt flag is set under the capture condition specified in TIOR, do not enable
Complementary
PWM output
Dead time
delay input
Figure 12.81 Example of Motor Control Circuit Configuration
The PFC settings must be completed in advance.
interrupt requests in TIER_5.
[1]
[2]
[3]
[4] *
[5]
Inverter output
monitor signals
[1] Place channels 3 and 4 in complementary PWM mode. For details,
[2] Specify the external pulse width measurement function for the target
[3] Set bits CST3 and CST4 in TSTR and bits CST5U, CST5V, and
[4] When the capture condition specified in TIOR is satisfied, the
[5] For U-phase dead time compensation, when an interrupt is
For the V phase and W phase, read the TGRV_5 and TGRW_5
The TCNT_5 value should be cleared through the TCNTCMPCLR
refer to section 12.4.8, Complementary PWM Mode.
TIOR in channel 5. For details, refer to section 12.4.10, External
Pulse Width Measurement.
CST5W in TSTR2 to 1 to start count operation.
TCNT_5 value is captured in TGR_5.
generated at the crest (TGIA_3) or trough (TCIV_4) in
complementary PWM mode, read the TGRU_5 value, calculate the
difference in time in TGRB_3, and write the corrected value to
TGRD_3 in the interrupt processing.
values and write the corrected values to TGRC_4 and TGRD_4,
respectively, in the same way as for U-phase compensation.
setting or by software.
Section 12 Multi-Function Timer Pulse Unit 2 (MTU2)
-
DC
U
Rev. 2.00 Sep. 07, 2007 Page 531 of 1164
+
U
U
V
V
V
W
W
W
Motor
REJ09B0321-0200

Related parts for R5S72011