AP32542 Tutorial AURIX TC3xx Motor Control Application Kit Getting Started v1.0.1
AP32542 Tutorial AURIX TC3xx Motor Control Application Kit Getting Started v1.0.1
AP32542
v1.0
6 Run motor
6 Run motor
› AURIX™ TC387 Application Kit with TFT › AURIX™ TC3xx Motor Control Power Board
EU
UK
USA
6 Run motor
High side DC
link current
sensing
Motor Connector
DC link DC/DC +5V
Low Power
voltage TLE42744DV50 3-Phase Power Phase
Half-Bridge Voltage
I/O Connectors BU6 and BU7
sensing 0-40V to 5V
3x IPG20N04S4-08A Sensing
Gate Driver
TLE9180
Phase Current
Sensing & low side
DC link Current
Connector
Sensing
Interface
Sensor
HALL
HALL
+5V
Connector Connector
Interface
Resolver
Resolver
Interface
Encoder
Encoder
AURIXTM TC3xx Motor Control Power Board
› Motor Connectors
Color Coding:
• Black: Phase U
• Red: Phase V
• Yellow: Phase W
GND 3 4 N.C.
ENC_CH_AN 5 6 ENC_CH_A
ENC_CH_BN 7 8 ENC_CH_B
ENC_CH_ZN 9 10 ENC_CH_Z
HALL A
HALL B
HALL C
N.C.
GND
› Resolver connector
1 2 3 4 5 6
S2(Res. SIN -)
S4(Res. COS -)
S1(Res. SIN +)
S6 (Res. Exc -)
S5(Res. Exc +)
S3(Res. COS +)
6 Run motor
6 Run motor
› KIT_A2G_TC387_5V_TFT: Components
– Infineon’s Multi Voltage Safety Micro Processor
Supply TLF35584QV
– LED to validate power supply (5V or 3,3Volt)
– LED indicating RESET (ESR0) active state
– LED indicating active miniWiggler JDS
– LED switched via DAS software
– Infineon’s High Speed CAN Transceiver TLE 9251V
(CAN FD capable)
– Infineon’s LIN-Transceiver TLE 7259-3GE
– QSPI Real-Time Clock/Calendar with SRAM and
unique MAC Id MCP79511 (if CPU not support I2C)
– I2C Real-Time Clock/Calendar with SRAM and
unique MAC Id MCP79411 (if CPU support I2C)
– USB to UART bridge FT2232HL (FTDI)
– Integrated 10/100/1000M Ethernet Precision
Transceiver RTL8211FI-CG (Realtek)
– Touch screen controller ADS7843
– 4 general purpose LEDs – Reset switch
– Wake switch
– Xilinx CPLD XC9572XL
› KIT_A2G_TC387_5V_TFT: Connectors
– Standard power connector
– Micro USB connector for ASC Interface (ASC0) and
miniWiggler
– RJ45 connector for Ethernet (if Gigabit Ethernet
supported by assembled CPU)
– 16-pin header for JTAG interface (OCDS)
– 10-pin header for DAP
– 10-pin (2x5-pin) Header for LIN Transceiver (LIN)
– 10-pin (2x5-pin) Header for CAN High Speed
Transceiver (CAN0)
– two 40-pin connectors with I/O signals
– mini SD card slot
› KIT_A2G_TC387_5V_TFT: IO Connectors
Pinout
6 Run motor
› System overview
GPIO
Monitoring Scheduler
VDC
QSPI
Vα TonU 3-Phase
U
SVM TonV GTM as 2-Level Voltage V 3-Phase
Modulator TonW PWM Unit Source Inverter PMSM
Vβ W
(VSI)
Field Oriented Control
(FOC)
Trigger
Iu
Iv Current
Iw Calculation
1x Rshunt or
3x Rshunt
ᵠ ω EVADC
BEMF_U
BEMF_V
BEMF_W
V_DC
I_DC_HS
Optional
Legend:
TC3xx Pheripherals
Angle and Speed feedbacks from Encoder
Software
Id PI
Id_Ref = 0 Id_ref Vd_ref Valpha_ref Ton_U
Controller Inverse Park Space Vector GTM as
Ton_V
Ramp Transform Modulator PWM Unit
Iq PI Ton_W
Iq_ref Vq_ref Vbeta_ref
Iq_ref_extern Controller
Ramp
Speed PI
Speed_ref
Controller RotorAngle
Angle & Speed
GPT12
Calculation
RotorSpeed
Legend:
TC3xx Peripherals
Iq Ialpha I_U
Software Park Clarke Current
I_V EVADC
References
Transform Transform Reconstruction
Id Ibeta I_W
› Regulation mode:
– Speed (by default): Output of speed regulator is Q-axis current reference, the D-axis current
reference is set to 0. Speed can be set by using buttons available on touch screen or manually
in debug mode
– Current: The D- and Q-axis current references could be set manually in debug mode
6 Run motor
4
3
Page: iMENU
– Software version and corresponding power board
– Time elapsed
– Status
– Speed: actual rotor speed in rpm
– Ref: reference speed in rpm
– Position: actual rotor position measured by position sensor in
deg
– State: Actual control state
– Control
– CAL: trigger calibration routine
Demo cycle: speed reference profile – DEMO: trigger predefined speed reference profile and start
Speed ref. [rpm] motor
– SPEED ↑: increase speed reference, 100 rpm step size
– SPEED ↓: decrease speed reference, 100 rpm step size
6000
Page: STDOUT0
– Software version and corresponding power board
– Speed reference and actual speed
– Phase currents
– Iu [A]
– Iv [A]
– Iw [A]
– D- and Q-axis current references and actual values
– IdRef [A], IdMeas [A]
– IqRef [A], IqMeas [A]
– D- and Q-axis voltage reverences
– VdRef [p.u.]
– VqRef [p.u.]
– Αβ voltage references
– ValphaRef [p.u.]
– VbetaRef [p.u.]
6 Run motor
References
› [1] AP32541 AURIX TC3xx Motor Control Power Board, v1.0
› [2] AP32540 PMSM FOC motor control using AURIX TC3xx, v1.0
IMPORTANT NOTICE
The information contained in this application note is given For further information on the product, technology, delivery
as a hint for the implementation of the product only and terms and conditions and prices please contact your
shall in no event be regarded as a description or warranty of nearest Infineon Technologies office (www.infineon.com).
a certain functionality, condition or quality of the product.
Published by Before implementation of the product, the recipient of this
Infineon Technologies AG application note must verify any function and other WARNINGS
81726 Neubiberg, Germany technical information given herein in the real application. Due to technical requirements products may contain
Infineon Technologies hereby disclaims any and all dangerous substances. For information on the types in
warranties and liabilities of any kind (including without question please contact your nearest Infineon Technologies
limitation warranties of non-infringement of intellectual office.
Do you have a question about this document? property rights of any third party) with respect to any and
Email: [email protected] all information given in this application note.
Except as otherwise explicitly approved by Infineon
Technologies in a written document signed by authorized
The data contained in this document is exclusively intended representatives of Infineon Technologies, Infineon
for technically trained staff. It is the responsibility of Technologies’ products may not be used in any applications
customer’s technical departments to evaluate the where a failure of the product or any consequences of the
suitability of the product for the intended application and use thereof can reasonably be expected to result in personal
the completeness of the product information given in this injury.
document with respect to such application.