Renesas RA6T2 Application Note page 48

Vector control for permanent magnetic synchronous motor with encoder - ab incremental type encoder
Hide thumbs Also See for RA6T2:
Table of Contents

Advertisement

RA6T2
Vector control for permanent magnetic synchronous motor with encoder - AB incremental type encoder
Table 3-18 Configuration Options for Driver Access
Configuration Options (rm_motor_driver.h)
Options
Shunt type
Initial: 2shunt
PWM timer frequency (MHz)
Initial: 120U
PWM carrier period (micro seconds)
Initial: 50U
Dead time (raw counts)
Initial: 240U
Current range (A)
Initial: 16.5F
Voltage range (V)
Initial: 73.26F
Counts for current offset measurement
Initial: 500U
A/D conversion channel for U phase
current
Initial: 4
A/D conversion channel for W phase
current
Initial: 0
A/D conversion channel for main line
voltage
Initial: 6
A/D conversion channel for V phase
current
Initial: 2
Input voltage
Initial: 24.0F
Resolution of A/D conversion
Initial: 0xFFF
Offset of A/D conversion for current
Initial: 0x7FF
Conversion level of A/D conversion for
voltage
Initial: 1.0F
GTIOCA stop level
Initial: Pin level Low
GTIOCB stop level
Initial: Pin level High
Maximum duty
Initial: 0.9375F
R01AN6208EJ0101 Rev.1.01
Oct 18, 2022
Description
Selects how many shunt resistances to use current
detection.
PWM Timer Clock Frequency [MHz]
PWM Carrier Period [micro seconds]
PWM Dead time [raw counts]
Measurement Range of Electric current [A]
Measurement Range of Inverter Voltage [V]
Counts of measurement the offset of A/D Conversion at
electric current input.
A/D channel for U-phase current
A/D channel for W-phase current
A/D channel for main line voltage
A/D channel for V-phase current
It is invalid at 2shunt detection.
Range of input for main line voltage
Resolution of A/D conversion
Please set same value with ADC module setting.
Offset level of A/D conversion input for current
Please set according to the circuit.
Conversion level of A/D conversion for voltage
Please set when the CPU main voltage is different.
Output level of upper arm at stop status
Output level of lower arm at stop status
Maximum duty of PWM
Maximum duty except dead time.
Page 48 of 71

Advertisement

Table of Contents
loading

Table of Contents