XMC in Motor Control Applications XMC Microcontrollers January 2015
Agenda 1 Why XMC for Motor Control? 2 Key Microcontroller Features 3 Kits and Reference Design 4 Development Tool and Software 5 General Information 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 3
Why XMC for Motor Control? Wide MCU portfolio flash: pins: XMC1300 XMC4000 ARM Cortex -M0 ARM Cortex -M4 32 MHz 80 MHz 120 MHz MATH Coprocessor @ 64MHz FPU and DSP instructions 8kB 16kB 32kB 64kB 200kB 64kB 128kB 256kB 1MB 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 4
Agenda 1 Why XMC for Motor Control? 2 Key Microcontroller Features 3 Kits and Reference Design 4 Development Tool and Software 5 General Information 5
Key Microcontroller Features Peripherals for Motor Control Applications ADC CCU8 Highlights XMC microcontrollers are well suited for various motor control applications and their specific control schemes. CCU4 POSIF ARM Cortex -M DSD MATH 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 Interconnected analog, PWM and sensor interface peripherals ARM CORTEX -M CPU portfolio range from M0 with MATH to M4 with FPU Select and configure the peripherals with respect to the specific requirements Autonomous peripherals ensure precise control for high energy efficiency Easy cost and performance balancing within the entire XMC portfolio 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 Control Loop CCU8 POSIF CCU4 BL DC HALL FOC Control with Encoder FOC Control with Resolver CCU8 PM SM CCU8 AC IM Control Loop POSIF encoder Control Loop DSD resolver CCU4 7
Interconnected analog, PWM and sensor interface peripherals Sensor Interface Peripherals DSD CCU4 PWM Peripherals POSIF BCCU Interconnect Matrix ERU HRPWM ACMP CCU8 Analog Peripherals DAC ADC 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 32 MHz MATH coprocessor running at 64 MHz 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 80 MHz to 120 MHz DSP instruction set with saturation and MAC instructions Wide temperature range from -40 C to 125 C 9
Agenda 1 Why XMC for Motor Control? 2 Key Microcontroller Features 3 Kits and Reference Design 4 Development Tool and Software 5 General Information 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 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 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 BLDC Power Tool Reference Design 1kW / 20VDC Multi-Axis Drive and Motion Control with XMC4400 - Ref Design - Ref Design - Demo 13
XMC1000 Motor Control Application Kit Includes Motor 15W/24V PMSM with HALL sensors Key Features: Robust 3 phase 12-24V half-bridge inverter for maximum 3A Multiple position sensing interfaces Quadrature encoder interface Hall sensor interface Seamless connection to the XMC1300 CPU board (CPU_13A-V1) Customer Benefits: Rapid prototyping of PMSM and BLDC motor control schemes with various position and current feedback sensors This modular system allows to evaluate the XMC1302 MCU with respect to motor control feature set and performance 14
XMC4400 Motor Control Application Kit Includes Motor 29W/24V PMSM with HALL sensors and encoder Key Features: Robust 3 phase 24 V half-bridge inverter for nominal 5 A (max. 7.5 A) Multiple position sensing interfaces Customer Benefits: Rapid prototyping of PMSM and BLDC motor control schemes with various position and current feedback sensors Inductive resolver interface Quadrature encoder interface Hall sensor interface Seamless connection to the XMC4000 CPU boards (e.g. CPU_44A-V2) This modular system allows to evaluate any XMC4000 MCU with respect to motor control feature set and performance 15
DC Motor Control Shield with BTN8982TA for Arduino Key Features: Compatible with Arduino Uno R3 and XMC1100 Boot Kit from Infineon Capable of high frequency PWM, e.g. 30 khz Diagnosis with current sense Protection e.g. against over-temperature and overcurrent Customer Benefits: Rapid prototyping of DC motor control in half and full bridge configuration Precise control and small current ripples Easy overload detection and current limitation by software control Robust design platform without hesitation 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: Ready to use 750 W power inverter with PFC with wide supply range (115 VAC to 230 VAC) and nominal 3 A motor current XMC1300 as well as XMC4400 Drive Card included Isolated debug interface providing Cortex-SWD channel and COM-port (UART) channel Customer Benefits: Gives jumpstart into evaluation of XMC microcontroller and motor control performance Allows evaluation of XMC1000 as well as XMC4000 in the same ecosystem Robust and non-hazardous control via standard tools for debugging, data analysis and control 17
Drive Cards with Galvanic Isolation XMC1302 Drive Card XMC4400 Drive Card Isolated Debug Interfaces SWD UART CAN (if applicable) Other Interfaces HALL Sensors Encoder UART/SPI/I2C others Flexible and Modular with clearly defined interfaces Compatible to DAVE APPs 18
Reference Design / Demo Modular Three Phase Motor Drive Highlights: Modular Concept: Power Supply for 325 V, 15 V and 5 V Inverter Card: 100 W with Fast Reverse Conducting IGBT (DPAK) Drive Card: XMC1302 with MATH Applications: Fridge compressor Pump Fan Key Features and Benefits: 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 19
Reference Design / Demo 40 mm Server Fan with XMC1302 VQFN24 22mm Top layer Bottom layer Key Features: Three phase motor driver (12 V, 1 A) 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 25000 rpm Lock detection, over current protection, reverse polarity protection Control Interface: PWM speed input / FG speed output Customer Benefits: Maximum energy efficiency at lowest bill of material cost and smallest form factor Minimum audible noise at low speed and maximum performance at high speed Reliable operation under all circumstances Compatible to many fan control ASICs 20
Reference Design / Demo BLDC Power Tool 1 kw / 20 VDC Infineon Components: Microcontroller: XMC1301 in TSSOP38 Power Stage: OptiMOS 5 1 mohm / 40 V BSC010N04LSI EiceDRIVER 2EDL05M06 Key Features: Three phase BLDC motor driver (5 V- 20 V, 50 A) 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 Customer Benefits: 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 21
CAN bus System Demonstrator with XMC4400 Multi-Axis Drive and Motion Control HMI P L C IOs hand-wheel Drive Card XMC4400 Dual Inverter 2x50W / 24V Drive Card XMC4400 Dual Inverter 2x50W / 24V 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 XMC4400 Tasks Dual Field Oriented Control with torque, speed and position loop at 20 khz 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 22
Agenda 1 Why XMC for Motor Control? 2 Key Microcontroller Features 3 Kits and Reference Design 4 Development Tool and Software 5 General Information 23
Development Tool and Software (1/2) DAVE TM 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: DAVE TM website 24
Development Tool and Software (2/2) Motor Control Software/APPs in DAVE TM PWMBC01 Block Commutation PWMMP001 Multi Phase PWM ACIMVF01 V/F Control PMSMSINH0x Hall Sensor Sinewave PWMSP00x Single Phase PWM BLDCBCH0x Hall Sensor Block Commutation PMSMFOCH0x Hall sensor FOC PWMSVM01 3-phase Space Vector PWM BLDCBCSL01 Sensorless BLDC PMSMFOCSL0x Sensorless FOC Middleware APPs Application Level APPs 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 Tutorials Tool Chain Production Data 26
Documentation and Tutorials Getting Started Documents Schematics and Layout Documents Board User s Manuals 27
Production Data Eagle Schematics and Layout 28
DAVE supports all Motor Control Kits and XMC Drive Cards Ready-made Motor Control example projects based on DAVE Apps DAVE Apps from Motor Control library X-Spy Soft Oscilloscope for Real-Time Monitoring and Parameterization DAVE = Example Projects + Motor Control APPs library + Soft Oscilloscope & Parametrisation Tool 29
Eco System DAVE APPs for Motor Control Motor Control ACIM BLDC PMSM sinusoidal trapezoidal sinusoidal FOC Open loop ACIMVF01 Supported Product Series: XMC4500 XMC1300 XMC4400 XMC4200 XMC4100 HALL Sensors BLDCBCH02 BLDCBCH03 Sensor less BLDCBCSL01 HALL Sensors PMSMSINH02 PMSMSINH03 HALL Sensors PMSMFOCH02 PMSMFOCH03 PMSMFOCH04 PMSMFOCH05 Encoder PMSMFOCIE01 PMSMFOCIE02 Sensor less PMSMFOCSL01 PMSMFOCSL02 30
DAVE APPs for Motor Control Naming Convention BLDCBCH02 BLDC - BC - H02 Motor Type Commutation Sensors ACIM BLDC PMSM BC: trapezoidal SIN: sinusoidal FOC: sinusoidal SL: sensor less H: Hall Sensors IE: Incremental Encoder RV: Resolver 31
DAVE APPs for Motor Control Functional View Motor Control ACIM BLDC PMSM sinusoidal trapezoidal sinusoidal FOC Open loop HALL Sensors HALL Sensors HALL Sensors ACIMVF01 2 Sensors 3 Sensors Sensor less BEMF sensing 2 Sensors 3 Sensors Single Shunt 2 Sensors 3 Sensors 2&3 Shunts 2 Sensors 3 Sensors Supported Product Series: XMC4500 XMC1300 XMC4400 XMC4200 XMC4100 Encoder Single Shunt 2&3 Shunts Sensor less Single Shunt 2&3 Shunts 32
DAVE APPs for Motor Control Field Oriented Control (FOC) 2 Hall Sensors 3 Hall Sensors Sensorless Incr. Encoder Single Shunt PMSMFOCH02 PMSMFOCH03 PMSMFOCSL01 PMSMFOCIE01 2&3 Shunts PMSMFOCH04 PMSMFOCH05 PMSMFOCSL02 PMSMFOCIE02 Resolver coming soon coming soon 33
Current Measurement Topologies 2&3 Shunts Single Shunt 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 35
General Information XMC Product Portfolio: http://www.infineon.com/xmc Information on Kits and documentation: http://www.infineon.com/xmc-dev DAVE TM development platform: http://www.infineon.com/dave For support: http://www.infineonforums.com 36
Support material: Collaterals and Brochures Product Briefs Selection Guides Application Brochures Presentations Press Releases, Ads www.infineon.com/xmc Technical Material Application Notes Technical Articles Simulation Models Datasheets, MCDS Files PCB Design Data www.infineon.com/xmc Kits and Boards DAVE TM Software and Tool Ecosystem Videos Technical Videos Product Information Videos Infineon Media Center XMC Mediathek Contact Forums Product Support Infineon Forums Technical Assistance Center (TAC) 37
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 noninfringement of intellectual property rights of any third party) with respect to any and all information given in this training material. All the images used in the trainings are free for commercial use or free for use with attribution and were designed by Freepik.