Infineon Microcontroller Final II
Infineon Microcontroller Final II
PMSM
Infineon Technologies
2014
PMSM
Motor Driver
PMSM Motor Driver Design
Design Using
Using XMC
XMC
PMSM
PMSM Motor Driver Design
Motor Driver Design Using
Using XMC
XMC
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
Flash
2.5MB
XMC1000
64kBXMC4100 XMC4100
LFBGA64 LFBGA
(in def.) 144
XMC1000:
8-bit price for 32-bit power
www.infineon.com/XMC1000
300mm
DAVETM SW IP Protection
Apps
Programmer OEM
SW IP
Key Features
Most scalable Flash memory portfolio Leading edge XMC mixed signal
in Low-end: from 8KB to 200KB and timer peripherals
XMC1300
Control Series
XMC1200
Feature Series Special purpose timers for
motor control & digital power
XMC1100 conversion (CCU8)
PMSM
Motor Driver
PMSM Motor Driver Design
Design Using
Using XMC
XMC
Power Conversion
General Purpose
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.
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.
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.
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
Individually adjustable gain for each An adjustable gain factor of x1, x3, x6 or x12
together with the fast conversion speed make an
analog input channel operational amplifier obsolete in many applications.
Two independent sigma delta loops The two sigma delta loops individually hold the
quantization error of the previous conversion in order
increase ENOBs to consider this tiny amount in the next conversion.
2013-08-19 Copyright © Infineon Technologies AG 2013. All rights reserved. Page 17
Main Content
PMSM
Motor Driver
PMSM Motor Driver Design
Design Using
Using XMC
XMC
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
SW Components:
DAVE Apps
DAVE™
Basic
IDE Library code
Applications, generation based on
Middleware Code Engine
predefined and tested
DAVE™Apps SW components
Manager
(Lib Manager)
(DAVE™ Apps)
GNU Compiler
PMSM
Motor Driver
PMSM Motor Driver Design
Design Using
Using XMC
XMC
1 1
A
C+
C’ B’
N
0 N S
S
B-
B C
A’
1>>0 1
A
C+
C’ B’
N
0 N S
S
B-
B C
A’
0 1
A
C+
C’ B’
N
S
A-
B C
A’
0 1>>0
A
B+
C’ B’
S
0
N
A-
B C
A’
0 1>>0
A
B+
C’ B’
S
0
N
A-
B C
A’
Hall3
Hall2
Hall1
Hall3 0 0 0 1 1 1
Hall2 0 1 1 1 0 0
Hall1 1 1 0 0 0 1
1–3–2- 6–4–5
1
3
2
6
4
5
U H
V
F
W L
Hall3 0
Hall2 0
Hall1 1
High side 0
At Hall Position “1” : Low side 1
W NA 0
U is “High” NA 0
V is “Float” (MSB)
W is “Low”
W V U
(MSB) (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
PMSM
Motor Driver
PMSM Motor Driver Design
Design Using
Using XMC
XMC
DAVE™ 3
Free, easy and open High abstraction level of
software development by
XMC
graphical programming
environment automatic code generation