Vous êtes sur la page 1sur 45

XMC in motor control

applications
XMC microcontrollers
October 2016
Agenda

1 Why XMC for motor control?

2 Key microcontroller features

3 Kits and reference design

4 Development tool and software

5 General information

Copyright Infineon Technologies AG 2016. All rights reserved. 2


Agenda

1 Why XMC for motor control?

2 Key microcontroller features

3 Kits and reference design

4 Development tool and software

5 General information

Copyright Infineon Technologies AG 2016. All rights reserved. 3


Why XMC for motor control?

Wide microcontroller portfolio


XMC1000 XMC4000
ARM Cortex-M0 ARM Cortex-M4
32 MHz 48 MHz 80 MHz 120 MHz 144 MHz
MATH Coprocessor FPU and DSP instructions
Flash (kB): 16 32 64 128 200 64 128 256 512 1024 2048
Pins: 16 24 28 38 40 64 48 64 100 144 196

Peripherals tailored for motor control


Fast 12-bit ADC
Position interfaces for Hall sensors,
incremental encoders and resolvers
PWM units tailored for sinusoidal and
trapezoidal commutation pattern
Ideal for Field-Oriented Control (FOC)

Copyright Infineon Technologies AG 2016. All rights reserved. 4


XMC product portfolio
- XMC1000 family overview

ARM Cortex-M0
Core up to 48 MHz / peripherals up to 96 MHz
>70% performance
increase
XMC1400
Up to 200 kB Flash
Capture Compare Units (CCU4) 40 64 pins

Up to 4x serial channels + 2x CAN


12-bit ADC
XMC1300 + 2x CCU8
Up to 200 kB Flash + Up to 4 serial channels
TA = -40C to 105C 16 40 pins

XMC1200
+ Math Coprocessor Low-end
DC motor + CCU8 PWM timer

control
Up to 200 kB Flash
16 40 pins
+ Hall & encoder I/F motor control
+ 9ch LED control (BCCU)
XMC1100 + 3x analog comparators
Up to 64 kB Flash
16 40 pins

High volume production

16/28/38 TSSOP VQFN24/40/64 TQFP64

Wide supply voltage range 1.8 V 5.5 V

Secure boot loader ensure IP protection

Application specific peripherals

LED Brightness
Event Request Unit High-performance PWM Timer (CCU8)
MATH Co-processor Color Control Unit
(ERU) analog comparators for motor control
(BCCU)

Copyright Infineon Technologies AG 2016. All rights reserved. 5


XMC product portfolio
- XMC4000 family overview

ARM Cortex-M4 (with FPU)


CPU frequency up to 144 MHz
XMC4800
High performance Flash technology XMC4700 Up to 2 MB Flash / 352 kB RAM
Up to 2 MB Flash / 352 kB 100 196 pins
Timers CCU4, CCU8, POSIF
USB / up to 6x CAN / up to 6x serial channels XMC4500 RAM
100 196 pins
Up to 1 MB Flash / 160 kB
Up to 4x 12-bit ADC / 2x DAC RAM + 144 MHz core
100 144 pins + 6ch CAN
TA = -40C to 125C XMC4400
Up to 512 kB Flash / 80 kB + EBU
+ SD card
XMC4300
XMC4100/4200
RAM
64-100 pins High-end 256 kB Flash / 128 kB RAM
100 pins
Up to 256 kB Flash / 40 kB
RAM
+ 120 MHz core
+ Ethernet
motor control
48-64 pins + demodulator

Mid-range
motor control High volume production

48 QFN 64-144 LQFP 196 BGA

Long product life cycle (min. 2031)

Extended temperature range - up to TA 125 C + continues up time of 20 years @TJ 110C

Application specific peripherals

High-speed analog
High Resolution Event Request Unit PWM Timer (CCU8) Delta Sigma
comparators +
PWM (HRPWM) (ERU) for inverter control Demodulator (DSD)
slope generation

Copyright Infineon Technologies AG 2016. All rights reserved. 6


Agenda

1 Why XMC for motor control?

2 Key microcontroller features

3 Kits and reference design

4 Development tool and software

5 General information

Copyright Infineon Technologies AG 2016. All rights reserved. 7


Key microcontroller features

Highlights
Peripherals for
motor control applications XMC microcontrollers are well suited
for various motor control applications
ADC CCU8 and their specific control schemes
ARM
CCU4 Cortex-M
MATH Well tailored and interconnected analog,
PWM and sensor interface peripherals
POSIF DSD are scalable over the entire XMC
family

Key feature Customer benefits


Dedicated motor control peripherals Select and configure the peripherals
for various control schemes and with respect to the specific
sensors requirements
Interconnected analog, PWM and Autonomous peripherals ensure precise
sensor interface peripherals control for high energy efficiency
ARM Cortex-M CPU portfolio range Easy cost and performance balancing
from M0 with MATH to M4 with FPU within the entire XMC portfolio

Copyright Infineon Technologies AG 2016. All rights reserved. 8


Dedicated motor control peripherals for
various control schemes and sensors

Feature rich peripherals BLDC control with Hall sensors


with dedicated motor control BL
CCU8
features allow optimization of DC

the system behaviour with Control Hall


POSIF
respect to the specific loop
applications requirements CCU4

FOC control with encoder FOC control with resolver


PM AC
CCU8 SM
CCU8 IM
Encoder Resolver
Control Control
POSIF DSD
loop loop

CCU4

Copyright Infineon Technologies AG 2016. All rights reserved. 9


Interconnected analog, PWM and sensor
interface peripherals
Sensor PWM
interface peripherals
peripherals DSD CCU4

POSIF BCCU

Inter-
connect ERU
HR
matrix -PWM

ACMP CCU8

DAC ADC
Analog
peripherals

Copyright Infineon Technologies AG 2016. All rights reserved. 10


XMC ARM Cortex-M0
- with MATH coprocessor

XMC1300 series with 16 to 40 pins


32-bit ARM Cortex-M0 core running at 32 MHz
MATH coprocessor running at 64 MHz
7x faster division compared to other Cortex-M0 devices
38x faster sine, cosine and arctangent calculations
High resolution Park/Inverse Park Transforms at 24-bit in less than 1 s
PWM units clocked at 64 MHz for precise modulation

XMC1400 series with 40 to 64 pins


32-bit ARM Cortex-M0 core running at 48 MHz
MATH coprocessor running at 96 MHz
PWM units clocked at 96 MHz for precise modulation
CAN bus connectivity

Copyright Infineon Technologies AG 2016. All rights reserved. 11


XMC ARM Cortex-M4
- with FPU and EtherCAT

XMC4000 Series with 48 to 196 pins


32-bit ARM Cortex-M4 core with FPU running at 80 MHz to 144
MHz
DSP instruction set with saturation and MAC instructions
Wide temperature range from -40C to 125C

As a highlight, XMC4300 and XMC4800 are the first-ever highly


integrated ARM Cortex-M based microcontrollers with
EtherCAT integrated
Bringing real-time Ethernet communication into an unrivaled level
Ease of implementation
Cost effectiveness

Copyright Infineon Technologies AG 2016. All rights reserved. 12


Agenda

1 Why XMC for motor control?

2 Key microcontroller features

3 Kits and reference design

4 Development tool and software

5 General information

Copyright Infineon Technologies AG 2016. All rights reserved. 13


XMC motor control application kits
- for DC motors

Development boards Order number Kit/ref


design
DC motor control DC-MOTORCONT Kit
shield with R_BTN8982
BTN8982TA for
Arduino

24 V protected 24V_SHIELD_BTT Kit


switch shield with 6030
BTT6030-2EKA and
BTT6020-1EKA for
Arduino
H-bridge kit 2GO HBRIDGEKIT2GO Kit
TOBO1

Copyright Infineon Technologies AG 2016. All rights reserved. 14


XMC motor control application kits
- for low voltage AC motors (1/2)

Development boards Order number Kit/ref


design
XMC1000 motor KIT_XMC1X_AK_ Kit
control application MOTOR_001
kit

XMC1300 boot kit KIT_XMC13_BOO Kit


T_001

XMC1400 boot kit KIT_XMC14_BOO Kit


T_001

XMC4400 motor KIT_XMC44_AE3 Kit


control application _001
kit

Copyright Infineon Technologies AG 2016. All rights reserved. 15


XMC motor control application kits
- for low voltage AC motors (2/2)

Development boards Order number Kit/ref


design
24 V, 250 W motor (coming soon) Kit
drive power card
for XMC1000 and
XMC4000

Copyright Infineon Technologies AG 2016. All rights reserved. 16


XMC motor control application kits
- for high voltage AC motors (1/2)

Development boards Order number Kit/ref


design
XMC 750 Watt KIT_XMC750WAT Kit
motor control T_MC_AK_V1
application kit

XMC1300 drive KIT_XMC1300_D Kit


card C_V1

XMC4400 drive KIT_XMC4400_D Kit


card C_V1

Copyright Infineon Technologies AG 2016. All rights reserved. 17


XMC motor control application kits
- for high voltage AC motors (2/2)

Development boards Order number Kit/ref


design
iMOTION modular EVALM11302056 Kit
application design 5DTOBO1
kit (MADK) EVALM11302058
4DTOBO1
EVALM11302364
5ATOBO1
EVALM11302368
4ATOBO1

Copyright Infineon Technologies AG 2016. All rights reserved. 18


XMC motor control reference designs and
system demonstrators

System solution Order number Kit/ref


design
BLDC power tool On request Kit / Ref
reference design 1 OPN:EVALSSO81 design
kW / 20 VDC KWBLDCTOBO1

40mm server fan - Ref


reference design design
with XMC1302 in
VQFN24 package
Modular 3-phase - Ref
motor drive design
100 W / 230 VAC

Multi-axis drive and - demo


motion control with
XMC4400
Copyright Infineon Technologies AG 2016. All rights reserved. 19
DC motor control shield
with BTN8982TA for Arduino

Key features: Customer benefits:


Compatible with Arduino Uno R3 and Rapid prototyping of DC motor control in
XMC1100 boot kit from Infineon half and full bridge configuration

Capable of high frequency PWM, e.g. 30 Precise control and small current ripples
kHz
Easy overload detection and current
Diagnosis with current sense limitation by software control

Protection e.g. against over-temperature Robust design platform without


and overcurrent hesitation

Copyright Infineon Technologies AG 2016. All rights reserved. 20


24 V protected switch shield with BTT6030-
2EKA and BTT6020-1EKA for Arduino

Key features: Customer benefits:


Compatible with Arduino microcontroller Fast and inexpensive prototyping of 24 V
boards and XMC microcontroller kits load driving, e.g.: motors
using the Arduino form factor (e.g.:
XMC1100 boot kit) Load diagnosis with current sense
capability
8 V - 36 V input voltage (max. 5V - 48
V), current up to 5 A per channel Over temperature shut down with latch
behaviour
Capable of PWM up to 400 Hz
Driver circuit with logic level inputs
Copyright Infineon Technologies AG 2016. All rights reserved. 21
H-bridge kit 2GO

Key features: Customer benefits:


Control of DC motors or other inductive Rapid prototyping of DC motor control in
loads up to 6 A or up to 36 V of supply half and full bridge configuration

General purpose H-bridge IFX9201 Simple design with few external


combined with XMC1100 components

Outputs can be pulse width modulated at Easy protection of over current and over
frequencies up to 20 kHz temperature

SPI enables for easy diagnosis

Copyright Infineon Technologies AG 2016. All rights reserved. 22


XMC1000 motor control application kit

Include motor
24 V PMSM with hall sensors

Key features: Customer benefits:


Robust 12 V - 24 V 3-phase inverter for Rapid prototyping of PMSM and BLDC
maximum 3 A motor control schemes with various
position and current feedback sensors
Multiple position sensing interfaces
This modular system allows users to
Quadrature encoder interface evaluate the XMC1302 or XMC1404
Hall sensor interface microcontrollers with respect to motor
control feature set and performance
Seamless connection to the XMC1300 or
XMC1400 boot kits
Copyright Infineon Technologies AG 2016. All rights reserved. 23
XMC4400 motor control application kit

Include motor
24 V PMSM with Hall sensors and encoder

Key features: Customer benefits:


Robust 3-phase 24 V inverter for Rapid prototyping of PMSM and BLDC
nominal dc-link current 5 A (max. 7.5 A) motor control schemes with various
position and current feedback sensors
Multiple position sensing interfaces
This modular system allows to evaluate
Inductive resolver interface any XMC4000 microcontroller with
Quadrature encoder interface respect to motor control feature set and
Hall sensor interface performance
Seamless connection to XMC4000 CPU
boards (e.g. CPU_44A-V2, CPU_45A-V2)
Copyright Infineon Technologies AG 2016. All rights reserved. 24
24 V, 250 W motor drive power card for
XMC1000 and XMC4000

+DC
EN BSC014N06N

2EDL05N06PF
12V U V W

GateDriver
PWM
5V
5V
IFX90121
TRIM

Analog

GND GND

Key features: Customer benefits:


Robust 16 V - 42 V (60 V max) 3-phase Rapid prototyping of PMSM and BLDC
motor drive bridge, equipped with 6x motor control from low to middle-range
BSC014N06N OptiMOS 80 V, 1.4 m power
Half-bridge gate driver 2EDL05N06PF Allows evaluation of XMC1000 and
EiceDRIVER in SO8 package with SOI XMC4000 in the same ecosystem
technology
Flexible to adopt many different control
Seamless connection to XMC1000 and algorithms
XMC4000 drive cards

Copyright Infineon Technologies AG 2016. All rights reserved. 25


XMC 750 watt motor control application kit

Include two XMC drive cards with


galvanic isolation to target device
3-phase inverter and analog or digital
PFC
Support with various sense & control
techniques (including shunt, resolver,
Hall sensors for FOC)

Key features: Customer benefits:


Ready to use 750 W power inverter with Gives jumpstart into evaluation of XMC
PFC with wide supply range (115 VAC to microcontroller and motor control
230 VAC) and nominal 3 A motor current performance
XMC1300 and XMC4400 drive cards Allows evaluation of XMC1000 as well as
included XMC4000 in the same ecosystem

Isolated debug interface providing Robust and non-hazardous control via


Cortex-SWD channel and COM-port standard tools for debugging, data
(UART) channel analysis and control

Copyright Infineon Technologies AG 2016. All rights reserved. 26


XMC drive cards with galvanic isolation

XMC1300 drive card On-board J-Link Lite debugger


with galvanic isolation to target
device
Flexible and modular with
clearly defined interfaces
Isolated debug interfaces
SWD
UART
XMC4400 drive card
CAN (if applicable)
Other interfaces
Hall Sensors
Encoder
UART/SPI/I2C
Others

Copyright Infineon Technologies AG 2016. All rights reserved. 27


iMOTION modular application design kit
- introduction

Compact and modular 3-phase motor drive system solution platform


with scalable controller and IPM inverter board options
Designed for sensorless or sensored motor control
Spin your motor in less than 1 hour thanks to provided motor control
software and easy-to-use GUI for parametrization and tuning

Copyright Infineon Technologies AG 2016. All rights reserved. 28


iMOTION modular application design kit
- available kits and boards overview (1/2)

Controller boards Inverter boards


EVAL-M1-099M EVAL-M1-36-84A
IPM power board
Individual board

IRMCK099 IRSM836-084MA 250 V


control card SP001592062
SP001591856 EVAL-M1-36-45A

M1 platform interface
IPM power board
IRSM836-045MA 500 V
SP001592052
EVAL-M1-1302 EVAL-M1-05-84D
XMC1302 IPM-DIP power board
control card IRSM505-084DA2 250 V
SP001591850
SP001591894
EVAL-M1-05-65D
IPM-DIP power board
IRSM505-065DA2 500 V
SP001591474

EVAL-M1-1302_36-84A
XMC1302 control card + Powerstage based on IRSM836-084MA, IPM, 250 V
SP001592044
EVAL-M1-1302_36-45A
XMC1302 control card + Powerstage based on IRSM836-045MA, IPM, 500 V
SP001592034
Kits

EVAL-M1-1302_05-84D
XMC1302 control card + Powerstage based on IRSM505-084DA2, IPM-DIP, 250 V
SP001591814
EVAL_M1-1302_05-65D
XMC1302 control card + Powerstage based on IRSM505-065DA2, IPM-DIP, 500 V
SP001591902

More iMOTION MADK controller and inverter boards coming soon


Copyright Infineon Technologies AG 2016. All rights reserved. 29
iMOTION modular application design kit
- available kits and boards overview (2/2)

No. Kit name Kit description Order number Input voltage


/output power
1 Eval-M1- Eval-M1-1302, EVALM113020565D 100 VAC - 230 VAC
1302_05-65D Eval-M1-05-65D, TOBO1 up to 250 W
USB cable
2 Eval-M1- Eval-M1-1302, EVALM113020584D 100 VAC 120 VAC
1302_05-84D Eval-M1-05-84D, TOBO1 up to 250 W
USB cable
3 Eval-M1- Eval-M1-1302, EVALM113023645A 100 VAC - 230 VAC
1302_36-45A Eval-M1-36-45A, TOBO1 up to 80 W
USB cable
4 Eval-M1- Eval-M1-1302, EVALM113023684A 100 VAC 120 VAC
1302_36-84A Eval-M1-36-84A, TOBO1 up to 80 W
USB cable

For more details about individual board (control cards and IPM-based inverters), please
check the additional documentation on www.infineon.com/MADK

Copyright Infineon Technologies AG 2016. All rights reserved. 30


Reference design / demo
- BLDC power tool 1 kW / 20 VDC

Key Infineon components:


Microcontroller:
XMC1302 in TSSOP38
Power stage:
OptiMOS 1.05 m / 40 V
BSC010N04LSI
EiceDRIVER 2EDL05N06PF

Key features: Customer benefits:


3-phase BLDC motor driver (6 V-24 V, Precise and efficient control of power
50 A continuous, 200 A peak) with tool motor with best in class
Hall sensor based block commutation OptiMOS power MOSFETs
on XMC1302 Minimized power losses
Synchronous PMW transitions Best tool performance
Motor model based speed control Extended supply voltage range
MOSFET driver voltage boost control Maximum robustness by dedicated
Over current, over load, over hardware and software features
temperature protection
Copyright Infineon Technologies AG 2016. All rights reserved. 31
Reference design / demo
- 40 mm server fan with XMC1302 VQFN24

Key Infineon components:


Microcontroller:
XMC1302 in VQFN24
22 mm

Power:
OptiMOS P + N channel
BSL308C
5 V LDO IFX20001MBV50

Key features: Customer benefits:


3-phase motor driver (12 V, 1 A) with Maximum energy efficiency at lowest bill
sensorless FOC based on XMC1302 in of material cost and smallest form factor
VQFN24 Minimum audible noise at low speed and
Smooth start-up control of sinusoidal maximum performance at high speed
output voltage and closed loop speed Reliable operation under all
control up to 25000 rpm circumstances
Lock detection, over current protection, Compatible to many fan control ASICs
reverse polarity protection
Control interface:
PWM speed input / FG speed output
Copyright Infineon Technologies AG 2016. All rights reserved. 32
Reference design / demo
- modular 3-phase motor drive

Highlights: Key features and benefits:


Modular concept: Easy performance comparison of
Power supply for 325 V, 15 V and 5 V different IGBTs, MOSFETs and IPMs
Inverter card: 100 W with fast Fast adaptation to continuously growing
reverse conducting IGBT (DPAK) IGBT, MOSFET and IPM portfolio
XMC1300 drive card
Applications: Easy performance comparison of
different XMC microcontrollers
Fridge compressor
Pump Software evaluation and development
Fan platform

Copyright Infineon Technologies AG 2016. All rights reserved. 33


System demonstrator with XMC4400
multi-axis drive and motion control

P IOs
HMI L

CAN bus
C hand-wheel

Drive card 2x inverter


XMC4400 50 W 24 V

Drive card 2x inverter


XMC4400 50 W 24 V

Demonstrator for system integration XMC4400 tasks


of HMI, PLC, CAN and XMC4000 Dual FOC with torque, speed and
position loop at 20 kHz cycle
Multi-axis motion control
Dual shunt current measurement with
Manual movement hardware synchronized ADC channels
Homing CAN communication for speed and
Positioning position control with PLC as well as
parameter handling
Hand-wheel (electrical shaft)
Software is based on DAVE 3 motor
XMC4400 dual motor control control APPs with only a few lines of
Torque, speed & position loop user code
FOC with encoder

Copyright Infineon Technologies AG 2016. All rights reserved. 34


Agenda

1 Why XMC for motor control?

2 Key microcontroller features

3 Kits and reference design

4 Development tool and software

5 General information

Copyright Infineon Technologies AG 2016. All rights reserved. 35


Development tools and software
DAVE - software development made easy

Copyright Infineon Technologies AG 2016. All rights reserved. 36


C/Probe XMC

C/Probe XMC - Windows based application that allows you to read


and write the memory of XMC microcontrollers during run-time in a
non-intrusive way and with a graphical dashboard to fine-tune your
application

Examples - motor control GUI

Copyright Infineon Technologies AG 2016. All rights reserved. 37


XMC Flasher

XMC Flasher - programming tool for on-chip flash programming of


XMC microcontrollers

Copyright Infineon Technologies AG 2016. All rights reserved. 38


Motor control example projects

Users can download DAVE 4 motor control example projects


from Infineon website, e.g.:
Project Description Target Version Last Tool
MCU Update
BLDC_SCALAR This example project controls 3-phase BLDC XMC1300 1.0.0 2016-05- DAVE
_HALL_XMC13 motor with 3 hall sensor feedback using block 25
commutation control algorithm. This is
configured for Infineon low voltage motor
control kit KIT_XMC1X_AK_MOTOR_001 with
Maxon motor part number 267121

PMSM_FOC_EX This example demonstrates permanent XMC1300 4.2.6 2016-04- DAVE


AMPLE_XMC13 magnet synchronous motor control using 28
sensorless FOC algorithm. Speed of the motor
is changed by potentiometer value

PMSM_FOC_EX This example demonstrates speed control of XMC4400 4.2.6 2016-04- DAVE
AMPLE_XMC44 motor using V/f with smooth transition to FOC 28
closed loop start up technique. Speed of the
motor is changed by potentiometer input value

Copyright Infineon Technologies AG 2016. All rights reserved. 39


Agenda

1 Why XMC for motor control?

2 Key microcontroller features

3 Kits and reference design

4 Development tool and software

5 General information

Copyright Infineon Technologies AG 2016. All rights reserved. 40


Support material:
Collaterals and Product Briefs www.infineon.com/XMC
Brochures Selection Guides
Application Brochures
Presentations
Press Releases, Ads

Technical Material Application Notes www.infineon.com/XMC


Technical Articles Kits and Boards
Simulation Models DAVETM
Datasheets, MCDS Files Software and Tool Ecosystem
PCB Design Data

Videos Technical Videos Infineon Media Center


Product Information XMC Mediathek
Videos

Contact Forums Infineon Forums


Product Support Technical Assistance Center (TAC)

Copyright Infineon Technologies AG 2016. All rights reserved. 41


Glossary abbreviations (1/2)

AC Alternating Current
ADC Analog-to-Digital Converter
BEMF Back Electromotive Force
BLDC Brushless DC Motor
CAN Controller Area Network
CPU Central Processing Unit
DAC Digital-to-Analog Converter
DAVE Digital Application Virtual Engineer
DC Direct Current
DSD Delta Sigma () Demodulator
DSP Digital Signal Processor
FOC Field-Oriented Control

Copyright Infineon Technologies AG 2016. All rights reserved. 42


Glossary abbreviations (2/2)

FPU Floating Point Unit


GUI Graphical User Interface
HMI Human-Machine Interface
IPM Intelligent Power Modules
MADK Modular Application Design Kit
MOSFET Metal-Oxide-Semiconductor Field-Effect Transistor
PLC Programmable Logic Controller
PMSM Permanent Magnet Synchronous Motor
POSIF Position Interface
PWM Pulse Width Modulation
RAM Random-Access Memory
XMC Cross-Market Microcontrollers

Copyright Infineon Technologies AG 2016. All rights reserved. 43


Disclaimer

The information given in this training materials is given as a hint for


the implementation of the Infineon Technologies component only and
shall not be regarded as any description or warranty of a certain
functionality, condition or quality of the Infineon Technologies
component.

Infineon Technologies hereby disclaims any and all warranties and


liabilities of any kind (including without limitation warranties of non-
infringement of intellectual property rights of any third party) with
respect to any and all information given in this training material.

Vous aimerez peut-être aussi