Example Application For Using The 32170 In Motor Control - Mitsubishi Electric M32R Series User Manual

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

10

10.9.14 Example Application for Using the 32170 in Motor Control

The 16-bit timer TOM incorporated in the 32170 helps to reduce software burdens during motor
control. The following shows an example application for using the 32170 in motor control.
The three-phase motor control waveform is materialized by starting TOM in 20 kHz fixed cycles
generated by TID2. The new single-shot PWM output function of TOM enables the output
waveform to be configured easily by storing waveform data only when the data needs to be
rewritten. Note that the high/low transistor shorting prevention time can be provided by changing
the set time of TOM in software.
Circuit board
M32R/E#4
TMS TMS TMS
Figure 10.9.11 System Configuration Diagram
Startup
PSC5
Figure 10.9.12 Timer Connections When Used for Three-phase Motor Control
U
TOM
/U
TOM
V
TOM
/V
TOM
W
TOM
/W
TOM
Single-shot PWM
clk
TOM0_0
EN
Single-shot PWM
clk
TOM0_1
EN
Single-shot PWM
clk
TOM0_2
EN
Single-shot PWM
clk
TOM0_3
EN
Single-shot PWM
clk
TOM0_4
EN
Single-shot PWM
clk
TOM0_5
EN
clk
TID2
10-226
MULTIJUNCTION TIMERS
10.9 TOM (Output-related 16-bit Timer)
Power-MOS
F/F37
udf
udf
F/F38
F/F39
udf
udf
F/F40
F/F41
udf
F/F42
udf
Fixed cycle
20 kHz generated
udf
Motor
TOM(U)
TOM(/U)
TOM(V)
TOM(/V)
TOM(W)
TOM(/W)
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents