Application - Power Conversion - XMC™ in Power Conversion Applications

XMC™ in Power
Conversion Applications
XMC™ Microcontrollers
May 2015
Agenda
1
Why XMC™ for Digital Power 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 Digital Power 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 Digital power conversion? (1/2)
Dedicated Peripherals for Digital Power Conversion (XMC MCUs
portfolio)
›
XMC1000 family:
–
–
–
–
›
XMC4000 family:
–
–
–
–
–
›
›
32 MHz ARM® Cortex® -M0
with optional 64 MHz MATH Co-Processor
16 kB RAM, 8 ~ 200 kB Flash with ECC
Peripherals running up to 64 MHz
1.8 ~ 5.5 Volt VDD at up to 105 °C TA
80/120 MHz ARM® Cortex® -M4
with built in DSP, FPU, MPU and DMA
20 ~ 160 kB RAM, 64 kB ~ 1 MB Flash with ECC and up to 4 kB Cache
Peripherals running up to 80/120 MHz
High Resolution PWM (150 ps) and smart comparators with slope
compensation
Operating up to 125 °C TA
Integration of peripherals analog-mixed signal, Timing/PWM
and communication with flexible IO muxing in small packages
Free DAVE™ IDP and DAVE™ APPs (SW Library with optimized and
tested code) with GUI and code generation, open to 3 rd party tools
Copyright © Infineon Technologies AG 2016. All rights reserved.
4
Why XMC™ for Digital power conversion? (2/2)
Key power supply design factors
Counter measure
XMC™
Efficiency at all
conditions
Sophisticated/
flexible
control schemes
Cortex® M0/M4 +
dedicated peripherals
(analog front end+ digital
programmability)
Power density
Increase switching
frequency
High Resolution PWM
(150 ps) and analog
peripherals
Time to market
Ecosystem and
examples
DAVETM Apps and ARM®
Ecosystem
(Keil/IAR/open source)
Reliability
Use best
components
Infineon 125 °C
technology
+ ECC (CRC)
Copyright © Infineon Technologies AG 2016. All rights reserved.
Better power supply design
Key factors in
power supply
design
5
Agenda
1
Why XMC™ for Digital Power 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.
6
Key Features
Peripherals for
Motor Control Application
ADC
CCU8/4
AN_CMP
HRPWM
ERU
Highlights
Analog front end together with full
configurability allows most advanced
power supply control
With the support of ARM Cortex cores
and high resolution PWM (150 ps),
accurate and fast control loops
execution are possible for improved
figure of merits in power supply design
Key Feature
Customer Benefits
› High Resolution PWM (150 ps)
› Smart analog comparators
› Fast and flexible ADC and Timers
›
Regulate voltages/current with higher
accuracy. Reduce step-response time
›
Get performance of analog with smart
features such as slope compensation
Permit complex PWM patterns and
sophisticated measurement sequences
›
Copyright © Infineon Technologies AG 2016. All rights reserved.
7
High Resolution PWM (150 ps) (1/3)
› High Resolution PWM in detail
150 ps??
Can XMC generate a
6,7 GHz frequency
PWM???
NO, but it has the
same resolution 
how is it possible??
Timer Slice
CC8y
Compare
CRy2
Compare
CRy1
Compare
CRy1HR
Shift by n Picophases
Compare
CRy1HR
Picophase
150ps
Reference Clock
min. 8.3ns
55 Picophases in one
reference clock
Copyright © Infineon Technologies AG 2016. All rights reserved.
8
High Resolution PWM (150 ps) (2/3)
› Resolutions in bits achieved with and without HRPWM by different
conditions : switching frequency of PWM and Duty cycle of PWM
Switching
frequency
200 KHz
500 KHz
1,5 MHz
Duty cycle
Resolution
w/o HRPWM @
80 MHz
Resolution
w/o HRPWM @
120 MHz
50%
7,6 bit
8,2 bit
14 bit
20%
6,3 bit
6,9 bit
12,7 bit
10%
5,3 bit
5,9 bit
11,7 bit
50%
6,3 bit
6,9 bit
12,7 bit
20%
5 bit
5,5 bit
11,3 bit
10%
4 bit
4,5 bit
10,3 bit
50%
4,7 bit
5,3 bit
11,1 bit
20%
3,4 bit
4 bit
9,8 bit
10%
2,4 bit
3 bit
8,8 bit
Copyright © Infineon Technologies AG 2016. All rights reserved.
Resolution
w/ HRPWM
9
High Resolution PWM (150 ps) (3/3)
›
Example: thanks to a finer adjustment of the duty cycle, the output
voltage (in this example in a buck converter), is regulated much more
accurately. This reduces the output voltage ripple significantly
NO HRPWM
WITH HRPWM
Vout
Vout
Stepwidth
12.5 ns
Stepwidth
150ps
PWM
Falling
edge
Step response also
highly improved
Better overshoot + settling time
Copyright © Infineon Technologies AG 2016. All rights reserved.
10
Smart analog comparators (1/3)
›
XMC4000 comparators include filtering, blanking and clamping capabilities as
well as a DAC for automatic reference or slope generation
›
XMC1000 comparators can configure hysteresis and output filtering
Topologies
...
Control techniques
N-Level
Support almost any
topology
...
Hysteretic
APP_PowerCon ver sion_XMC_in_Power
Full Bridge
_Conversion_App lica tion s_XMC.vsd
VC+
VC-
Valley
HRPWM
Np
Q1
Timer
Filtering
HRPWM SMPS
world
iL/Vo
Input
Functions
Comparator
+
Slope Generator
(DAC)
PWM
Buck
Blanking
D1
Clamping
Q1
Timer
Timer
PWM control
Co
PWM
o ut
Dead
Time
+
TRAP
L1
Average
COUT0
PWM control
PWM High
Resolution
Channel
Ns
VC
INTs
Interrupt Control
D1
Flyback
PWM
Half Bridge
Voltage
C1
Q1
Q1
Q1
Np
PWM
C2
VC
Q2
Peak
...
Boost
L1
Timer
D1
PWM
Q1
...
Co
N-Phase
Copyright © Infineon Technologies AG 2016. All rights reserved.
11
Smart analog comparators (2/3)
›
›
Can easily and efficiently
perform:
›
Analog frontend digitally controlled.
Best of both worlds:
–
Voltage control
– Analog performance
–
Current control
– Programmability/flexibility
–
Customized controls
Supports almost any
topology and
combinations:
–
LLC/LCC
–
PSFB
–
PFC stages
–
Flybacks/forwards
–
Buck-boost, Sepic
–
Inverters
–
Etc…
HRPW M
CSG0/1/2
slope compensation
DAC
blank
HRC0/1/2/3
CC80
CC81
CC82
Blanking/Filtering/Clamping
clear
set
Picophases
Dead
Time
Output
Latch
CC83
Copyright © Infineon Technologies AG 2016. All rights reserved.
12
Smart analog comparators (3/3)
› Advanced peak current mode control is possible by making use
of HRPWM peripheral, resulting in low CPU load
Peak Current Control Loop
Scheme Using CSG - embedded Compensation Slope Generator & Analog Comparator
Voltage Sense
Current Sense
PWM Drive
CCU
VADC
IL
VIN
VOUT
C
i
IL*[Ri]
VVC
RLoad
RC
[R i]
On-Time = D*T
(Clr)
Trig.
(T)
Option: HRPWM
Q
Set
Q
Clr
HRCy
SW
(Set)
VADC
L
CSG
CCM
-
Clamping
+
Slope SG
CC8y
CSGy
PWM Timer
Filter
VREF
Slope IL
CMP
H(s)
+
0
DAC
10 bits resolution
30 Msamples/sec
Auto-waveform
T
DAC
SG
SW
Blanking
Analog CMP
20 ns bandwidth
Filtering/blanking/
clamping
Interconnectivity Matrix
Copyright © Infineon Technologies AG 2016. All rights reserved.
13
Fast and flexible ADC and Timers (1/4)
› In order to cover the exigent requirements of power supplies, it
is needed to provide:
– Flexible and safe PWM patterns
– Fast ADC sampling
– Flexible ADC sequencing and synchronization to PWM
– Post processing of conversions including
– Filtering (FIR/IIR), FIFO, subtraction (for offset compensation), etc
– Resolution in sampling signal and in PWM for accurate control:
– 12 bits ADC
– 150 ps resolution PWM in XMC4 and 15,6 ns in XMC1000
Copyright © Infineon Technologies AG 2016. All rights reserved.
14
Fast and flexible ADC and Timers (2/4)
› For power conversion continues and discontinues PWM signals
have to be generated – switching between the two modes is
needed to get efficiency over a wide load range
› CCU4/CCU8 supports any kind of pulse generation like
– Asymmetric PWM
– Aperiodic PWM
– Single events and pulses
› CCU4/CCU8 can be controlled
from external or internal events
–
–
–
–
–
External start / stop
Emergency trap
Override/modulation
Count gating
Capturing
Copyright © Infineon Technologies AG 2016. All rights reserved.
15
Fast and flexible ADC and Timers (3/4)
›
Multimode power supplies are very common in order to help with stringent requirements on
THD, PF and efficiency at many different conditions of the load, input voltage and
temperature
 the way the power supply is controlled varies depending on the load or the input voltage
›
For example:
– PFCs than change between CCM and CrCM when reducing the load and even to DCM
when load is lower.
– Normal mode to burst mode in both ACDC and DCDC supplies.
›
Main issue in this idea, is how to switch the control scheme.
– Usually controllers are specific for one or the other, making impossible this.
– Others can switch the mode but during switching, the PWM is unpredictable and can
create overcurrent and overvoltage situations damaging permanently the system
›
In order to support a seamless switch between modes, HRPWM peripheral introduces a new
switch event based.
– This switch is connected to 2 different sets of timers and/or comparators that defines the
2 control schemes and links those to the output stage that is connected finally to the
necessary pins
– Should the event occur, then HRPWM peripheral will swap the set of timers and/or
comparators connected to the output.
– In this way, the HRPWM will immediately and safely  synchronized to the PWM pattern,
move to the alternate control scheme.
Copyright © Infineon Technologies AG 2016. All rights reserved.
16
Fast and flexible ADC and Timers (4/4)
High Resolution Channel 3
High Resolution Channel 2
High Resolution Channel 1
High Resolution Channel 0
Q1
Dead
Time
Peak
control
Latch
Burst
control
CRM
Hysteretic
Peak
Valley
control
control
CRM
...
DCM
High
resolution
insertion
A
B
Mode switch
controlled by
SW
Resources for operation
mode B:
- timers
- comparators
-slope generators
-etc
Voltage
Control
Burst mode
Software
CCU8
ADC
HRC
set
res
Vin
switch
Q1
Resources for operation
mode A:
- timers
- comparators
-slope generators
-etc
CCU4
L1
Copyright © Infineon Technologies AG 2016. All rights reserved.
Vout
Q1
D1
Co
17
Additional Feature
› ERU module allows very flexible connections in the XMC™. This
is helpful in cases such as:
– Detect a peak current with a comparator and send the signal
to a timer  usually signal is directly connected
– But if the comparator signal needs to be OR-ed with another
one, this can be done with the available logic functions in ERU
module
›
Serial communications, like I2C for PMBus, and CAN supported
Copyright © Infineon Technologies AG 2016. All rights reserved.
18
Agenda
1
Why XMC™ for Digital Power 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.
19
Kits and Reference Design
Development Boards
600W LLC
Application Kit
Order Number
EVAL-600W-12VLLC-D
Kit/Ref
Design
Demo
SP001293818
XMC4200 Digital
Power Control Card
KIT_XMC4200_DP_C
C_01
XMC1300 Digital
Power Control Card
SP001343128
KIT_XMC1300_DP_C
C_01
Demo
Demo
SP001343134
XMC Digital Power
Explorer
KIT_XMC_DP_EXP_0
1
Demo
SP001343072
Copyright © Infineon Technologies AG 2016. All rights reserved.
20
XMC4200 - 600W LLC Digital Control
Specification
Vin
350-410VDC
Vout_nom
12VDC
Iout
50A
Infineon Components
MCU
Pout
600W
MOSFETs
Sync Rect
MOSFET HB
Driver
LLC
HB MOSFET
Fres
157kHz
Auxiliary PSU
Key Features:
XMC4200
(VQFN48)
OptiMOS
BSC010N04LS
2EDL05N06PF
CoolMOSTM
IPP60R190P6
QR CoolSet
ICE2QR2280Z
Customer Benefits:
›
600W LLC half bridge stage with Sync
rectification
›
All controlled with XMC4200 including:
– Start up (PWM to PFM) and burst mode
algorithms
›
Learn LLC topology with a complete
system solution from Infineon
– HW and SW available
›
Close to customer solution
– Adaptive dead time and capacitive mode
detection
– high efficiency (97,8%) and power
density
– No hard commutation at any condition
– Reliability and power density
Copyright © Infineon Technologies AG 2016. All rights reserved.
21
XMC4200 Digital Power Control Card
Infineon Components
MCU
XMC4200 (LQFP64)
Supply
IFX54441LDV
IFX90121ELV50
ESD protections ESD8V0L2B-03L
Debugger MCU
Key Features:
›
›
›
XMC4200 (QFN48)
Customer Benefits:
Detachable isolated Jlink debugger
integrated and isolated UART to USB
channel
8 PWMs outputs, 8 ADCs and 3 CMP
inputs. 2 communication channels and
up to 4 general purpose pins
Only 28 mm height vertically fits 1U rack
standards (without debugger part)
›
Fast evaluation of XMC power conversion
applications
– No need to design debuggers,
isolations, XMC supply concepts
›
Same interface as other XMC control
cards permit 1 to1 comparison of
different XMC devices in customer´s
application
Copyright © Infineon Technologies AG 2016. All rights reserved.
22
XMC1300 Digital Power Control Card
Infineon Components
MCU
XMC1302 (TSSOP38)
Supply
IFX54441LDV
ESD protections ESD8V0L2B-03L
Debugger MCU
Key Features:
Customer Benefits:
›
Detachable isolated Jlink debugger
integrated and isolated UART to USB
channel
›
8 PWMs outputs, 8 ADCs and 3 CMP
inputs. 2 communication channels and
up to 4 general purpose pins
›
XMC4200 (QFN48)
Only 25 mm height vertically fits 1U rack
standards (without debugger part)
›
Fast evaluation of XMC power conversion
applications
– No need to design debuggers,
isolations, XMC supply concepts
›
Same interface as other XMC control
cards permit 1 to1 comparison of
different XMC devices in customer´s
application
Copyright © Infineon Technologies AG 2016. All rights reserved.
23
XMC Digital Power Explorer Kit
Specification
Vin
12VDC
MCU
Vout_nom
3,3VDC
Iout
2A
MOSFETs
Sync Rect
MOSFET HB
Driver
Pout
6W
Synchronous buck converter with
XMC4200 and XMC1300 in collaboration
with Biricha and Würth Elektronik
›
Learn digital control with XMC by the
hand of Biricha Digital
›
Understand the advantages of
voltage/peak current control and how to
extract the maximum of XMC devices
›
Compatible with XMC4200 and XMC1300
Dig. Power Control Cards
– To be used in Biricha Digital trainings
›
XMC4200 or
XMC1300
OptiMOS
BSC0924NDI
IRS2011S (IRF)
Customer Benefits:
Key Features:
›
Infineon Components
Different control schemes possible
– Voltage mode control
– Peak current mode control
Copyright © Infineon Technologies AG 2016. All rights reserved.
24
Agenda
1
Why XMC™ for Digital Power 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.
25
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
Copyright © Infineon Technologies AG 2016. All rights reserved.
26
Development Tool and Software (2/2)
› Digital Power Conversion Software/Apps in DAVETM
ANA_CMP
XMC1 analog
comparator
HRPWM
High resolution PWM in
XMC4
HRPWM
CCU8 based PWM with
High Res. PWM support
VADC
Analog to digital
converter
PWM_CCU4/8
CCU4/8 based PWM
CCU4/8
XMC Timers
POWER_CONV_LIB
PI, 2P2Z, 3P3Z, and
more
Low Level Driver
Middleware APPs
BUCK_VOLT_CTRL
Voltage control
› 1 to 4 buck converters
› Synchronous buck
support
› HRPWM support
Application Level
APPs
Copyright © Infineon Technologies AG 2016. All rights reserved.
27
Agenda
1
Why XMC™ for Digital Power 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.
28
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
Copyright © Infineon Technologies AG 2016. All rights reserved.
29
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
DAVETM
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)
Copyright © Infineon Technologies AG 2016. All rights reserved.
30
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.