XMC1000 MCU PMSM
BLDC
Infineon Technologies 2014
XMC1000: 8-bit price for 32-bit power www.infineon.com/XMC1000 www.infineon.com/XMC4000
Main Content Infineon Latest MCU portfolio System block, Key Features Supporting tool, Ecosystem BLDC Motor Driver Design Using XMC
Motor Driver Driver Design Design Using Using XMC XMC PMSM PMSM Motor
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 2
Main Content Infineon Latest MCU portfolio System block, Key Features Supporting tool, Ecosystem BLDC Motor Driver Design Using XMC
Driver Design Design Using Using XMC PMSM PMSM Motor Motor Driver XMC
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 3
Core Applications Compressors
Robotics
Servo Drive General Purpose Drives
Pumps & Fans
Automation
Aircon Sys
Process Control
Motor Control Escalators
Building Control Elevators
E Vehicle
Motor Control Solution Sensor/Sensor less, Transportation Sinusoidal/Block Commutation, Field Oriented Control XC800/XE166
Solar Inverter
Fork Lifts
XMC1000 XMC4000 Solution Power Converter
Battery Storage
Renewable Energies
Micro Inverter
Inverters,Tricore UPS, Rectifiers, Power Factor Correction, LLC AC/DC, DC/DC, DC/AC
Traffic Lights
GP Inverter
Power Supplies
UPS Monitor/CTV
Medical
Wind Energy Converter
Telecom Micro Turbines 2013-08-19
X-Ray
Power Supplies for Medical Equipment
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 4
Infineon new generation XMC families targeted for Industrial Market XMC4000 Infineon first ARM Core released in Feb’2012 Target 32bit application from mid to high end XMC4100, 4200, 4400, 4500 80~120MHz 64K~2.5M Flash, 48~256pin package
XMC1000 Infineon second ARM Core released
Officially Press-release today on 17.Jan.13. Sample available Mar 2013
Target low end market with 32bit MCU XMC1100, 1200, 1300 32Mhz, 8~200K Flash, 16~38pin package
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 5
Infineon ARM based industrial Microcontrollers
Flash 2.5MB 1MB
XMC4500
XMC4500
768kB
XMC4500
XMC4500
XMC4500
XMC4500
512kB
256kB
XMC4200
XMC4200
128kB
XMC4100
XMC4100
XMC1000 XMC4100
64kB
VQFN48
XMC4400
XMC4400
XMC4400
XMC4400
XMC4100 LQFP64
LQFP64
LQFP100
LQFP100
LQFP144
LFBGA64 (in def.) TSSOP 16
TSSOP 28
LFBGA 144
TSSOP 38
XMC4100
2013-08-19
XMC4500
XMC4200
XMC4400
XMC4500
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 6
One microcontroller platform. Countless solutions. XMC.
XMC1000: 8-bit price for 32-bit power www.infineon.com/XMC1000 2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 7
Where XMC1000 makes the difference Standard Core in Leading edge technology
Scalable & user friendly
65nm 300mm
DAVETM
SW IP Protection
Apps
From # 1 in security microcontrollers Flash Portfolio
32-bit ARM® CortexTM-M0
Industry standard for 8-bit replacement
200KB 8KB
Design House
XMC Peripherals A/D USIC
CCU8 CCU4
Programmer
2013-08-19
SW IP
SW IP
Copyright © Infineon Technologies AG 2013. All rights reserved.
SW IP
OEM
Page 8
XMC1000 Key Features inspired by Target Application Fields Target Application Fields Motor control
Smart sensors
LED lighting
HMI (capacitive touch & LED displays)
Digital power conversion
General purpose
Key Features Most scalable Flash memory portfolio in Low-end: from 8KB to 200KB
Leading edge XMC mixed signal and timer peripherals
AES 128-bit secure loader for SW IP protection
64MHz MATH Co-processor for advanced control loops (CORDIC / DIVIDE)
LED lighting & color control
30ns analog comparators
32-bit ARM® CortexTM-M0, 32MHz
IEC 60730 Class B
Broadest supply range 1,8 - 5V
Peripherals for Touch control and LED display control
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 9
XMC1000 (3 Product Series, 22 products, 5 packages) +++
22 products
+++
3 packages TSSOP-16, -28, -38 +++ 8KB to 200KB Flash (VQFN-24, -40 available in Q1 2014)
+++
XMC1300 Control Series
XMC1200
Special purpose timers for motor control & digital power conversion (CCU8)
Additional features
MATH co-processor
Patented LED-lighting and –color control peripheral (BCCU)
Motor position I/F (POSIF)
Extended temperature range to 105°C
Feature Series
XMC1100 Entry Series
Basic feature set, state of the art
Capacitive touch and LEDDisplay control (LEDTS)
(16-bit timers, 12-bit ADC, serial communication)
Simplified documentation
2013-08-19
Extended temperature range to 105°C
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 10
Main Content Infineon Latest MCU portfolio System block, Key Features Supporting tool, Ecosystem BLDC Motor Driver Design Using XMC
Motor Driver Driver Design Design Using Using XMC XMC PMSM PMSM Motor
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 11
ACMP and ORC System Integration The output signals of ACMP as well as ORC are available at the input multiplexer of the event request unit ERU. As a result, they can be flexibly combined to logical signals that trigger interrupts, start timers or trigger ADC measurements.
Target applications
Motor Control
Intelligent Lighting
Power Conversion
General Purpose
2013-08-19
It is the unique combination of fast analog signals and the powerful peripherals that provide a solution in various demanding control applications. Both the fast ACMP as well as ORC comparators are functional in a wide supply voltage range (2.7V … 5.5V).
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 12
CCU4 Flexible PWM generation Each Timer Slice of the CCU4 can operate in center aligned or edge aligned mode Additional operation modes like single shot, counting or dithering modes are also available Update of the Duty Cycle and Period can be done on-the-fly to accommodate different operation requirements Additional external controllable functions give another degree of PWM manipulation (e.g. timer gate, timer load, timer clear, etc) 2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 13
CCU8 Capture/Compare Unit 8 Key Features Highlights The CCU8 is a flexible timer module, comprised of 4 identical timer slices tailored for multi-phase PWM generation and signal conditioning. Several input functions can be controlled externally (via pins or other modules) enabling a powerful resource arrangement for each application.
Key Feature
Customer Benefits
Modular timer approach with repeated external functions
Each specific application function can be ported to any of the 4 Timers
Flexible PWM generation with on-the-fly duty cycle and period update plus dead time insertion
Each Timer Slice can generate up to 4 PWM signals (2 pairs of complementary signals)
Flexible capture scheme
Parallel capture and compare modes
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 14
POSIF Position Interface Key Features Highlights The POSIF module is the ideal solution for motor control applications using Hall Sensors and Quadrature Decoders. The user can configure freely the type and usage of the resources to perform an optimized mapping to the wanted application.
Key Feature
Customer Benefits
Interface for linear or quadrature rotary encoder
Application tailored motor position and velocity measurement.
Interface for Hall Sensors
Tailored solution for 2 or 3 Hall Sensor applications. Coupling with PWM generation.
Stand-alone multi channel control
Perform multi-level modulation for PWM. Tailored modulation development
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 15
MATH MATH Co-Processor Highlights The math co-processor provides a 32bit signed or unsigned divider as well as a 24bit CORDIC for trigonometric calculations. Both DIVIDER and CORDIC can operate in parallel next to the CORTEX-M0 CPU core. The MATH unit is connected to the PCLK which can be configured for 64MHz.
Key Feature
Customer Benefits
32bit divide for signed and unsigned long integer numbers
The calculation time of a divide operation is reduced to ..%
sin(x), cos(x), arctan(y/x) is executed in parallel to CPU operation
Increase of computational power for real time critical tasks
Vector rotation (PARK transform) is executed in 24bit resolution
Field oriented motor control algorithms are implemented with high resolution
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 16
ADC Analog to Digital Converter
Highlights The ADC in all XMC1000 series is based on a high speed 12-bit analog to digital converter which is clocked with 32MHz. Resulting in high maximum sample rates for 12-bit conversions: 1.28MSPS calibrated 1.88MSPS un-calibrated
Key Feature
Customer Benefits
12-bit, 10-bit and 8-bit conversion modes as well as fast compare mode
This fast ADC can be made faster when configuring in lower resolution conversion modes. The 10-bit fast compare mode just takes 62.5ns.
Individually adjustable gain for each analog input channel
An adjustable gain factor of x1, x3, x6 or x12 together with the fast conversion speed make an operational amplifier obsolete in many applications.
Two independent sigma delta loops increase ENOBs
The two sigma delta loops individually hold the quantization error of the previous conversion in order to consider this tiny amount in the next conversion.
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 17
Main Content Infineon Latest MCU portfolio System block, Key Features Supporting tool, Ecosystem BLDC Motor Driver Design Using XMC
Motor Driver Driver Design Design Using Using XMC XMC PMSM PMSM Motor
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 18
Tools and SW Partners for XMC Micro Controllers Commercial tools and SW solutions
Infineon cooperates with all major tool and SW vendors for ARM based microcontrollers to support XMC1000 as well as XMC4000
Free tools and SW solutions
The development platform DAVE is provided by Infineon
Open source ― FreeRTOS
2013-08-19
Free evaluation versions
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 19
DAVE™ makes powerful hardware accessible Free IDE and code generator Integrated Development Environment (IDE)
Eclipse based Free GNU Compiler, debugger, loader Free data visualization utilities Open for 3rd party tools (compiler, debugger) and software (operating systems, stacks) as plug-in
Auto-code generator (Code Engine) Easy selection of peripheral and application oriented DAVE™ Apps Configuration via graphical user interface Generated code can be used via well documented APIs (like a library) Extendable by user or 3rd party Apps
Website: www.infineon.com/dave3
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 20
Overview of available and planned DAVE™ Apps for the XMC Families Service Apps Clock Reset SystemControl Power Mgmt. Watchdog DMA NVIC /Exception Request Unit I/O EBU Flash CRC AES SW/SysTimer Debug Log CMSIS RTOS Libraries
Middleware
Application Specific Middleware
USB stack, class drivers, host and device TCP/IP stack plus HTTP, FTP, SNMP SD/MMC, file system,… GUI lib plus driver for intel. LCD ….. Basic Applications
HMI Power Conversion Lighting Motor Control AC, BLDC, PMSM ControlLib
……
PWM, Capture, Timer, Counter
Ref. Projects
Communication
elua
Analog
HMI system
……..
……
In total Infineon is providing 170+ DAVE Apps Details about the latest released DAVE Apps can be found here: http://www.infineon.com/cms/en/product/promopages/aim-mc/DAVE_3_Support_Portal/Release_Note_update.html
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 21
App Support for Motor Control V/F for simple open loop
Block Commutation for Hall Sensor Sinewave commutation for Hall Sensor Sensorless FOC
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 22
The DAVE™ Development Platform
SW Components: DAVE Apps
DAVE™ Basic Applications, Middleware
Library code generation based on predefined and tested SW components (DAVE™ Apps)
IDE Code Engine
DAVE™Apps Manager (Lib Manager) GNU Compiler Debugger X-SPY
Eclipse CDT
2013-08-19
3rd party 3rd party 3rd party
Option for third parties to plug in other commercial or free tools
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 23
XSPY for PC Monitoring Program Using xSPY the user can easily define an UI to control and monitor the microcontroller from the PC. xSPY is a DAVE plugin used to visualize and analyze the tracing data generated by DBG002 App by means of software oscilloscopes and logging views.
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 24
XSPY for PC Monitoring Program
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 25
Main Content Infineon Latest MCU portfolio System block, Key Features Supporting tool, Ecosystem BLDC Motor Driver Design Using XMC
Motor Driver Driver Design Design Using Using XMC XMC PMSM PMSM Motor
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 26
Introduction to Brushless DC (BLDC) Motor Constructed with a permanent magnet rotor and a stator comprising of wire wound poles and stacked steel laminations. Electrical energy is converted to electrical energy by the magnetic attractive force between permanent magnet and the rotating magnetic field induced in the wound stator poles
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 27
Introduction to Brushless DC (BLDC) Motor
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 28
Introduction to Brushless DC (BLDC) Motor
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 29
Introduction to Brushless DC (BLDC) Motor 1
1 A
C+
C’
B’
N N
0
S
S
B-
C
B A’
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 30
Introduction to Brushless DC (BLDC) Motor 1>>0
1 A
C+
C’
B’
N
N
S
S
0 B-
C
B A’
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 31
Introduction to Brushless DC (BLDC) Motor 0
1 A
C+
C’
S
N
0
B’
AC
B A’
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 32
Introduction to Brushless DC (BLDC) Motor 0
1>>0 A
B+
B’
S
C’
N
0 A-
C
B A’
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 33
Introduction to Brushless DC (BLDC) Motor 0
1>>0 A
B+
C’
B’
S 0
N
A-
C
B A’
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 34
POSIF Feature
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 35
CCU4 Feature
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 36
CCU8Feature
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 37
Overview of POSIF, CCU4 & CCU8 usage for Hall Sensor BLDC Motor control application
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 38
Hall Sensored Block Commutation
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 39
Hall Sensored Block Commutation –Control Algorithm
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 40
Hall Sensored Block Commutation – Control Panel
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 41
Hall Sensored Block Commutation – Motor Parameters
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 42
Hall Sensored Block Commutation – Motor Parameters
U V
W Hall3 Hall2 Hall1
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 43
Hall Sensored Block Commutation – Motor Parameters
U V
W Hall3 Hall2 Hall1
0 0 1
0 1 1
0 1 0
1–3–2-
1 1 0
1 0 0
1 0 1
6–4–5
The Hall Pattern for one electrical cycle is: 1 -> 3 -> 2 -> 6 -> 4 -> 5
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 44
Hall Sensored Block Commutation – Motor Parameters 1 3 2 6 4 5
The Hall Pattern for one electrical cycle is: 1 -> 3 -> 2 -> 6 -> 4 -> 5
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 45
Hall Sensored Block Commutation – Motor Parameters
U
H
V
F
W
L
Hall3 Hall2 Hall1
0 0 1
At Hall Position “1” : U is “High” V is “Float” W is “Low” 2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 46
Hall Sensored Block Commutation – Motor Parameters
MOUT of the POSIF is used to control the PWM signal.
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 47
Hall Sensored Block Commutation – Motor Parameters (LSB)
U
High side Low side NA NA
1 0 0 0
V
High side Low side NA NA
0 0 0 0
High side Low side NA NA
0 1 0 0
4 signals
4 signals 4 signals At Hall Position “1” :
W
U is “High”
V is “Float” W is “Low”
(MSB) W (MSB)
V
U (LSB)
The output pattern is “0010 0000 0001”. The output pattern is “201” (hex). 2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 48
Hall Sensored Block Commutation – Power Board Configuration
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 49
Hall Sensored Block Commutation – Motor Parameters High Side PWM
Both Side PWM
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 50
Hall Sensored Block Commutation – Adaptive Hall Pattern
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 51
Hall Sensored Block Commutation – Interrupts
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 52
Hall Sensored Block Commutation – Interrupts
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 53
Main Content Infineon Latest MCU portfolio System block, Key Features Supporting tool, Ecosystem BLDC Motor Driver Design Using XMC
Motor Driver Driver Design Design Using Using XMC XMC PMSM PMSM Motor
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 54
PMSM Field Oriented Control with Encoder
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 55
PMSM Field Oriented Control with Encoder
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 56
Mathematical Consideration
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 57
Space Vector Modulation
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 58
Space Vector Diagram
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 59
Space Vector Diagram
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 60
FOC Example Project - Overview of Apps
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 61
ADC App
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 62
ADC App - Feature
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 63
POSQE App
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 64
POSQE App - Feature
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 65
PWMSVM App -
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 66
PWMSVM App - Feature
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 67
XMC family: 32-bit microcontroller family for industrial applications
DAVE™ 3 Free, easy and open
High abstraction level of software development by
Best peripherals and flexibility for scalable industrial systems
XMC Industrial standard core and connectivity graphical programming environment
2013-08-19
automatic code generation
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 68
Key differentiators of the Infineon XMC industrial microcontroller family Combination of Infineon key IP and know-how with all the benefits of an industry standard core Microcontroller Know-how >30 years automotive and industrial microcontroller experience Innovative application specific peripherals Highly configurable and flexible
Quality and reliability High-performance Flash technology
Extended temperature range on selected products (125 °C) Long product life time (min. 15 years)
SW Tool DAVE™ 3 Next generation of DAVE™ with enhanced functionality Free tools Auto-code generation making powerful hardware easy to use
Open to 3rd parties
Fast flash
2013-08-19
Copyright © Infineon Technologies AG 2013. All rights reserved.
Page 69
Thank you!
영업문의 : 구성모 이사(
[email protected]) 황혜성 차장(
[email protected]) 기술문의 : 조용규 과장(
[email protected])