XMC in Motor Control Applications Agenda  Why XMC for Motor Control?  Key Microcontroller Features  Kits and Reference Design  Development Tool and Software  General Information 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 2 Agenda  Why XMC for Motor Control?  Key Microcontroller Features  Kits and Reference Design  Development Tool and Software  General Information 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 3 Why XMC for Motor Control?  Wide MCU portfolio XMC1300 ARM Cortex™-M0 XMC4000 ARM Cortex™-M4 32MHz 80MHz 120MHz MATH Coprocessor @ 64MHz FPU and DSP instructions flash: 8kB 16kB 32kB 64kB 200kB 64kB 128kB 256kB 1MB pins: 16 24 28 38 40 48 64 100 144  Peripherals tailored for motor control  Fast 12-bit ADC  Position Interfaces for HALL sensors, incremental encoders and resolvers  PWM unit tailored for sinusoidal and trapezoidal commutation pattern  Ideal for Field Oriented Control 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 4 Agenda  Why XMC for Motor Control?  Key Microcontroller Features  Kits and Reference Design  Development Tool and Software  General Information 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 5 Key Microcontroller Features Peripherals for Motor Control Applications ADC CCU4 CCU8 ARM® Cortex™-M POSIF MATH DSD Highlights XMC microcontrollers are well suited for various motor control applications and their specific control schemes. Well tailored and interconnected analog, PWM and sensor interface peripherals are scalable over the entire XMC family. Key Feature Customer Benefits Dedicated motor control peripherals for various control schemes and sensors Select and configure the peripherals with respect to the specific requirements Interconnected analog, PWM and sensor interface peripherals Autonomous peripherals ensure precise control for high energy efficiency ARM® CORTEX™-M CPU portfolio range from M0 with MATH to M4 with FPU Easy cost and performance balancing within the entire XMC portfolio 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 6 Dedicated motor control peripherals for various control schemes and sensors Feature rich peripherals with dedicated motor control features allow optimization of the system behaviour with respect to the specific application’s requirements.  BLDC Control with Hall Sensors  FOC Control with Encoder  FOC Control with Resolver CCU8 Control Loop POSIF CCU8 Control Loop HALL CCU4 PM SM encoder POSIF BL DC CCU8 Control Loop DSD AC IM resolver CCU4 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 7 Interconnected analog, PWM and sensor interface peripherals Sensor Interface Peripherals PWM Peripherals DSD CCU4 BCCU POSIF Interconnect Matrix ERU HRPWM ACMP Analog Peripherals 2015-01-20 CCU8 DAC ADC Copyright © Infineon Technologies AG 2015. All rights reserved. Page 8 ARM® CORTEX™-M CPU portfolio range from M0 with MATH to M4 with FPU  XMC1300 Series with 16 to 40 pins  32-bit ARM® Cortex™-M0 core running at 32MHz  MATH coprocessor running at 64MHz ― 7x faster division compared to other Cortex-M0 devices ― 38x faster sine/cosine arctan calculations ― High resolution PARK transformation at 24-bit in less than 1µs  PWM Units clocked at 64MHz for precise modulation  XMC4000 Series with 48 to 144 pins  32-bit ARM® Cortex™-M4 core with FPU running at 80MHz to 120MHz  DSP instruction set with saturation and MAC instructions  Wide temperature range from -40°C to 125°C 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 9 Agenda  Why XMC for Motor Control?  Key Microcontroller Features  Kits and Reference Design  Development Tool and Software  General Information 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 10 XMC Motor Control Application Kits Low Voltage Development Boards Order Number Kit/Ref Design XMC1000 Motor Control Application Kit KIT_XMC1X_AK_ MOTOR_001 Kit XMC4400 Motor Control Application Kit KIT_XMC44_AE3 _001 Kit For Arduino™: DC Motor Control Shield with BTN8982TA DCMOTORCONTR BTN8982TOBO1 Kit 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 11 XMC Motor Control Application Kits High Voltage (115V & 230V) Development Boards Order Number Kit/Ref Design XMC 750W Motor Control Application Kit KIT_XMC750WAT T_MC_AK_V1 Kit XMC4400 Drive Card with Galvanic Isolation KIT_XMC4400_D C_V1 Kit XMC1300 Drive Card with Galvanic Isolation KIT_XMC1300_D C_V1 Kit 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 12 XMC Motor Control Reference Designs and System Demonstrators System Solution Order Number Kit/Ref Design Modular Three Phase Motor Drive 100W / 230VAC - Ref Design 40mm Server Fan Reference Design with XMC1302 in VQFN24 package - Ref Design BLDC Power Tool Reference Design 1kW / 20VDC - Ref Design Multi-Axis Drive and Motion Control with XMC4400 - Demo 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 13 XMC1000 Motor Control Application Kit Includes Motor 15W/24V PMSM with HALL sensors Key Features: Customer Benefits:  Robust 3 phase 12-24V half-bridge inverter for maximum 3A  Rapid prototyping of PMSM and BLDC motor control schemes with various position and current feedback sensors  Multiple position sensing interfaces  Quadrature encoder interface  Hall sensor interface  Seamless connection to the XMC1300 CPU board (CPU_13A-V1) 2015-01-20  This modular system allows to evaluate the XMC1302 MCU with respect to motor control feature set and performance Copyright © Infineon Technologies AG 2015. All rights reserved. Page 14 XMC4400 Motor Control Application Kit Includes Motor 29W/24V PMSM with HALL sensors and encoder Key Features: Customer Benefits:  Robust 3 phase 24V half-bridge inverter for nominal 5A (max. 7.5A)  Rapid prototyping of PMSM and BLDC motor control schemes with various position and current feedback sensors  Multiple position sensing interfaces Inductive resolver interface  Quadrature encoder interface  Hall sensor interface  Seamless connection to the XMC4000 CPU boards (e.g. CPU_44A-V2)  2015-01-20  This modular system allows to evaluate any XMC4000 MCU with respect to motor control feature set and performance Copyright © Infineon Technologies AG 2015. All rights reserved. Page 15 DC Motor Control Shield with BTN8982TA for Arduino Key Features: Customer Benefits:  Compatible with Arduino Uno R3 and XMC1100 Boot Kit from Infineon  Rapid prototyping of DC motor control in half and full bridge configuration  Capable of high frequency PWM, e.g. 30kHz  Precise control and small current ripples  Diagnosis with current sense  Easy overload detection and current limitation by software control  Protection e.g. against over-temperature  Robust design platform without and overcurrent hesitation 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 16 XMC 750W Motor Control Application Kit  Includes two isolated XMC Microcontroller Drive Cards (ARM® Cortex™-M based), 3-Phase Inverter and active PFC  Software support with DAVE™ Apps for various sense & control techniques (including shunt, resolver, hall switch and field oriented control)  With X-Spy soft oscilloscope for real time monitoring and parameterisation Key Features: Customer Benefits:  Ready to use 750W power inverter with PFC with wide supply range (115VAC to 230VAC) and nominal 3A motor current  Gives jumpstart into evaluation of XMC microcontroller and motor control performance  XMC1300 as well as XMC4400 Drive Card included  Allows evaluation of XMC1000 as well as XMC4000 in the same ecosystem  Isolated debug interface providing Cortex-SWD channel and COM-port (UART) channel  Robust and non-hazardous control via standard tools for debugging, data analysis and control 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 17 Drive Cards with Galvanic Isolation XMC1302 Drive Card  Isolated Debug Interfaces  SWD  UART  CAN (if applicable)  Other Interfaces XMC4400 Drive Card  HALL Sensors  Encoder  UART/SPI/I2C  others  Flexible and Modular with clearly defined interfaces  Compatible to DAVE™ APPs 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 18 Reference Design / Demo Modular Three Phase Motor Drive Highlights:  Modular Concept:    Power Supply for 325V, 15V and 5V Inverter Card: 100W with Fast Reverse Conducting IGBT (DPAK) Drive Card: XMC1302 with MATH  Applications:    Key Features and Benefits: Fridge compressor Pump Fan 2015-01-20  Easy performance comparison of different IGBTs, MOSFETs and IPMs  Fast adaptation to continuously growing IGBT, MOSFET and IPM portfolio  Easy performance comparison of different XMC MCUs  Software evaluation and development platform Copyright © Infineon Technologies AG 2015. All rights reserved. Page 19 Reference Design / Demo 40mm Server Fan with XMC1302 VQFN24 22mm Top layer Bottom layer Key Features: Customer Benefits:  Three phase motor driver (12V, 1A) with sensor less field oriented control (FOC) based on XMC1302 in VQFN24  Smooth start-up control of sinusoidal output voltage and closed loop speed control up to 25000rpm  Lock detection, over current protection, reverse polarity protection  Control Interface: PWM speed input / FG speed output  Maximum energy efficiency at lowest bill of material cost and smallest form factor 2015-01-20  Minimum audible noise at low speed and maximum performance at high speed  Reliable operation under all circumstances  Compatible to many fan control ASICs Copyright © Infineon Technologies AG 2015. All rights reserved. Page 20 Reference Design / Demo BLDC Power Tool 1kW / 20VDC  Infineon Components:  Microcontroller: ― XMC1301 in TSSOP38  Power Stage: ― OptiMOS™5 1mOhm / 40V BSC010N04LSI ― EiceDRIVER™ 2EDL05M06 Key Features: Customer Benefits:  Three phase BLDC motor driver (5V20V, 50A) with HALL sensor based block commutation on XMC1301  Synchronous PMW transitions  Motor model based speed control  MOSFET driver voltage boost control  Over current, over load, over temperature protection  Precise and efficient control of power tool motor with best in class OptiMOS™5 transistors  Minimized power losses  Best tool performance  Extended supply voltage range  Maximum robustness by dedicated hardware and software features 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 21 System Demonstrator with XMC4400 Multi-Axis Drive and Motion Control P L C CAN bus HMI  Demonstrator for System Integration of HMI, PLC, CAN and XMC4000  Multi-Axis Motion Control ― ― ― ― Manual Movement Homing Positioning Hand-wheel (“electrical shaft”)  XMC4400 Dual Motor Control ― Torque, Speed & Position Loop ― Field Oriented Control with Encoder 2015-01-20 Drive Card XMC4400 Dual Inverter 2x50W / 24V Drive Card XMC4400 Dual Inverter 2x50W / 24V IOs hand-wheel  XMC4400 Tasks ― Dual Field Oriented Control with torque, speed and position loop at 20kHz cycle ― Dual shunt current measurement with hardware synchronized ADC channels ― CAN communication for speed and position control with PLC as well as parameter handling  Software is based on DAVE Motor Control Apps with only a few lines of user code Copyright © Infineon Technologies AG 2015. All rights reserved. Page 22 Agenda  Why XMC for Motor Control?  Key Microcontroller Features  Kits and Reference Design  Development Tool and Software  General Information 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 23 Development Tool and Software (1/2)  DAVETM – Free Development Platform for Code Generation  Eclipse IDE  Compiler  Debugger  Application Library and Examples  Software can be used with 3rd party tools  For download and support: DAVETM website 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 24 Development Tool and Software (2/2)  Motor Control Software/Apps in DAVETM PWMBC01 Block Commutation PWMMP001 ACIMVF01 PWMSP00x BLDCBCH0x Multi Phase PWM Single Phase PWM PWMSVM01 3-phase Space Vector PWM Middleware Apps 2015-01-20 V/F Control Hall Sensor Block Commutation BLDCBCSL01 Sensorless BLDC PMSMSINH0x Hall Sensor Sinewave PMSMFOCH0x Hall sensor FOC PMSMFOCSL0x Sensorless FOC Application Level Apps Copyright © Infineon Technologies AG 2015. All rights reserved. Page 25 Eco System and Support  All information related to the Motor Control Application Kits, Drive Cards and the tool chain is available on the Infineon website www.infineon.com/xmc-dev Documentation 2015-01-20 Tutorials Tool Chain Copyright © Infineon Technologies AG 2015. All rights reserved. Production Data Page 26 Documentation and Tutorials  Getting Started Documents  Schematics and Layout Documents  Board User’s Manuals 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 27 Production Data Eagle Schematics and Layout 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 28 DAVE™ supports all Motor Control Kits and XMC Drive Cards Ready-made Motor Control example projects based on DAVE™ Apps … DAVE™ 2015-01-20 DAVE™ Apps from Motor Control library X-Spy Soft Oscilloscope for Real-Time Monitoring and Parameterization = Example Projects + Motor Control APPs library + Soft Oscilloscope & Parametrisation Tool Copyright © Infineon Technologies AG 2015. All rights reserved. Page 29 Eco System DAVETM APPs for Motor Control Motor Control ACIM BLDC sinusoidal trapezoidal Open loop ACIMVF01 HALL Sensors BLDCBCH02 BLDCBCH03 PMSM sinusoidal HALL Sensors PMSMSINH02 PMSMSINH03 Sensor less BLDCBCSL01 Supported Product Series: XMC4500 XMC4400 XMC4200 XMC4100 2015-01-20 XMC1300 FOC HALL Sensors PMSMFOCH02 PMSMFOCH03 PMSMFOCH04 PMSMFOCH05 Encoder PMSMFOCIE01 PMSMFOCIE02 Sensor less PMSMFOCSL01 PMSMFOCSL02 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 30 DAVETM APPs for Motor Control Naming Convention BLDCBCH02 BLDC - BC - H02 Motor Type ACIM BLDC PMSM 2015-01-20 Commutation BC: trapezoidal SIN: sinusoidal FOC: sinusoidal Sensors SL: sensor less H: Hall Sensors IE: Incremental Encoder RV: Resolver Copyright © Infineon Technologies AG 2015. All rights reserved. Page 31 DAVETM APPs for Motor Control Functional View Motor Control ACIM BLDC sinusoidal trapezoidal Open loop ACIMVF01 HALL Sensors 2 Sensors 3 Sensors PMSM sinusoidal HALL Sensors 2 Sensors 3 Sensors Sensor less BEMF sensing Supported Product Series: XMC4500 XMC4400 XMC4200 XMC4100 XMC1300 FOC HALL Sensors Single Shunt - 2 Sensors - 3 Sensors 2&3 Shunts - 2 Sensors - 3 Sensors Encoder Single Shunt 2&3 Shunts Sensor less Single Shunt 2&3 Shunts 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 32 DAVETM APPs for Motor Control Field Oriented Control (FOC) Single Shunt 2&3 Shunts 2 Hall Sensors PMSMFOCH02 PMSMFOCH04 3 Hall Sensors PMSMFOCH03 PMSMFOCH05 Sensorless PMSMFOCSL01 PMSMFOCSL02 Incr. Encoder PMSMFOCIE01 PMSMFOCIE02 Resolver coming soon coming soon 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 33 Current Measurement Topologies 2&3 Shunts Single Shunt 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 34 Agenda  Why XMC for Motor Control?  Key Microcontroller Features  Kits and Reference Design  Development Tool and Software  General Information 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 35 General Information  XMC Product Portfolio: http://www.infineon.com/xmc  Information on Kits and documentation: http://www.infineon.com/xmc-dev  DAVETM development platform: http://www.infineon.com/DAVE  For support: http://www.infineonforums.com 2015-01-20 Copyright © Infineon Technologies AG 2015. All rights reserved. Page 36