Escolar Documentos
Profissional Documentos
Cultura Documentos
1H2004 Slide 2
Three Phase Machine Fundamentals
Conceptual Practical
1H2004 Slide 3
Three Phase Machine Fundamentals
ia A`
-1.00
magnetic fields is a rotating
-1.50 magnetic field.
1H2004 Slide 4
Three Phase Machine Fundamentals
q (imaginary)
120 f
Speed (in r.p.m.) =
P
ia A` f = AC supply frequency,
and P = # of poles for the motor,
per phase
C Fc B
d (real)
Fa For instance, a 3 phase
Fs machine, with:
Fb
C` 60Hz Three Phase
1H2004 Slide 5
Permanent Magnet Motor Operation
Rotor field
A`
Back
C EMF
F
N t
(v)
B
Stator t
C` Current
S Stator field
(Is)
B`
F
The interaction between the rotating stator flux, and the rotor flux
produces a torque which will cause the motor to rotate.
The rotation of the rotor in this case will be at the same exact
frequency as the applied excitation to the rotor.
1H2004 Slide 6
Internal View: Induction Motor Rotor
1H2004 Slide 7
ACI Operation Fundamentals
ia A`
1.50
Phase currents
ia ib ic
1.00
Im
C B 0.50 ~
F 0.00 I
c Current Phasors
1 24 47 70 93 116 139 162 185 208 231 254 277 300 323 346
~ t
-0.50 120o I
a
C -1.00
Re
-1.50
B` `
~
A I
b
The induction machine has a rotor that is a closed circuit in the case of the
squirrel-cage induction motor it is two rings joined by bars along the rotor
axis.
The rotor when placed in a moving magnetic field will have induced currents
which produce an induced magnetic field.
The interaction of these two magnetic fields produces the rotational torque.
1H2004 Slide 8
Agenda Timeline
Motor Control Fundamentals 25 min
AC Induction and Permanent Magnet Motors
Scalar and Vector Control
Applications:
Smarter controllers, high performance, lower cost 15 min
1H2004 Slide 9
Scalar V/F control of 3-ph Induction Motor
Vs MAXIMUM
(volt) TORQUE
Vrating VOLTAGE
NOMINAL
TORQUE
TORQUE
Vo
0 fc frating f (Hz) LOW SPEED NOM SPEED SPEED
TIME
1H2004 Slide 11
Stationary and Rotating Reference Frames
a
Q
R R
R D
2/3 /2
2/3 /2
c 2/3 b
rotor
t IQ
t
t
t ID
t
1H2004 Slide 12
Motor Flux Interaction
Q S Torque
T
R
D
rotor
=load angle
Torque = sr sin()
s and r constant
1H2004 Slide 13
Vector Control of 3-Ph Induction Motor
1H2004 Slide 14
Field Oriented Control - Vector Control
Maintain the
load angle
A` at 90
q=90
CF N
Back EMF (v)
B t
1H2004 Slide 15
Example Controller: TMS320F2812
Watchdog
Peripheral Bus
Interrupt Management
GPIO
TM
150 MIPs C28x 32-bit DSP
32x32 bit RMW McBSP
Multiplier Atomic
ALU CAN 2.0B
32-bit
Timers (3) SCI/UART-A
32-Bit
Register SCI/UART-B
Real-Time
File
JTAG
SPI
1H2004 Slide 16
PMSM FOC with TMS320F2812 DSP
Speed r Angle
wr Calculat QEP Phase
or. + driver Phase Enc
Index oder Motor
1H2004 Slide 17
ACI FOC System with TMS320F2812 DSP
wr* iqs* vqs vas* Ta PWM1
PI * Inv. Space PWM PWM2
PI T PWM3
Park Vector b Driver PWM4
iqs i * vds* vbs* Gen.
ds PWM5
Tc
PI PWM6
ids Power
lr lr Inverter
ias ias
Park ADCIN1
Ileg2_
ibs Clarke ibs Bus ADCIN2
ias Vdc Driver
ias ADCIN3
ibs
Spee Flux ibs
wr d lr Est.
va Phase
Est. lar Ta
s Voltag ACI
lbr vb Tb
e Tc TMS320F2812 DSP
s
Cal. controller
1H2004 Slide 18
FOC TMS320F2812 DSP + Resolver
wr* iqs* vqs* vas* Ta PWM1
PI PWM2
PI Space Tb PWM PWM3
Inv.
iqs i * vds* Park Vector + PWM4
ds vbs* PWM5
Gen. Tc Driver
PI PWM6
ids Power
r Inverter
ias ias
ADCIN1
Park ibs Clarke ibs
ADCIN2
ADC ADCIN3
+
Speed r Angle Driver Sin
wr Calculat Resolver
or. Position Cos Reso
lver
Detection Motor
1H2004 Slide 19
Cost Effective High Accuracy
Position Measurement by Resolver
12Bit
OPA4340
ADS7861
16Bit
OPA4350
ADS8361
1H2004 Slide 20
Sensored AC Induction Motor DTC Drive
Input
Input
power
power
stage
stage
r*
State PWM
Speed Torque
Selector Gen
Controller controller
Power
Inverter
CAPTURE
calculator
Communication
Inputs
s modules Motor
1H2004 Slide 21
BLDC and PMSM Motor Types
Both (typically) have permanent-magnet rotor and a
A wound stator
CF N` BLDC (Brushless DC) motor is a permanent-magnet
B brushless motor with trapezoidal back EMF
PMSM (Permanent-magnet synchronous motor) is a
permanent-magnet brushless motor with sinusoidal
S
C back EMF
F
B `
` A
Back EMF of BLDC Motor
Back EMF of PMSM
300 900 1500 2100 2700 3300 300 900
00 600 1200 1800 2400 3000 3600 600 Ea 1.50
Phase A ia
e
1.00
ea eb ec
Hall A
0.50
Phase B
ib e 0.00
t
1 24 47 70 93 116 139 162 185 208 231 254 277 300 323 346
-0.50
Hall B
-1.00
Phase C
ic e -1.50
Hall C
1H2004 Slide 22
Sliding Mode Observer
is
v s*
Sliding Mode
Current
i~s Sliding z Low-
pass
e~s Phase ~eu ~e
Control Calculate
Observer Filter
~e
Sin/Cos Speed
~
Calculator Calculate
1H2004 Slide 23
Sliding Mode Observer
1H2004 Slide 24
SMO Equations
d ~ ~
is = A is + B ( v s e~ s + z )
dt
R 1 Current observer
A = I s B =
L L
3
L = Lm
2
~
z = ksign ( is i s ) Sliding control
d
e~ s = 0 e~ s + 0 z Low-pass filter
dt
1H2004 Slide 25
SMO Equations (continued)
~
= arctan( e~ s , e~ s )
From estimated back EMF to
rotor angle
3 sin
es = k e
2 cos
Torque equation:
Correct measurement of
= 3 / 2 K E iq current
Correct estimation of
rotor angle
1H2004 Slide 26
Experimental Result
1H2004 Slide 27
Limitations of Sensorless Control / SMO
Back emf at low speeds is small, so the operation at low speeds is less
than satisfactory. Also the algorithm becomes more sensitive to noise
effects.
1H2004 Slide 28
Agenda Timeline
Motor Control Fundamentals 25 min
AC Induction and Permanent Magnet Motors
Scalar and Vector Control
Applications:
Smarter controllers, high performance, lower cost 15 min
1H2004 Slide 29
Motor Control system Components From TI
AC DC link
Bridge Power
Input Motor Load
Rectifier converter
Current and
MOSFET Current
voltage
driver sense
sense
Power
supply Resolver
Simult.
Sampling
LDO Optical
PFC DSP Controller ADCs
encoder
SVS
PWM and
interface
Hall
effect
1H2004 Slide 30
Discrete PFC
Servo Block Diagram controller eliminated
($2.50)
Software Discrete
PWM
Replaced trapezoidal
PFC PFC
Machine resonance control controller Gen
controller
PFC
PFC or sine commutation
Switch
Switch
(notch filter, input shaping . . .)
Startup Circuit
Circuit
with FOC: Enhanced
algorithm Dithering performance
Motion profile
w
Trapezoidal
r*
PI
i
q
*
s
PI
v
q
*
s
v
*
as T
a
T
Machine resonance
control: Performance
* * b
generator
i i v
Speed &
ds
v bs
q
or
s PI
d
*
s
T
FOC
c
Inv. Space
PWM
i Park Vector
position
d q q Gen.
s l l
r r
enhancement.
i
sinusoidal
Park i
Core
a
Clarke
Gen
a
s
i s
controller
i
b
Inverter
b
s
Power Inverter
s
i
V
a i
commutation
d
s a
Motion
b
l i
p s b
w e q u
s
e l
x
r
d r
v
l E a
P
E s h T
command
a s
s r t a
t . v s T
a
l
damper)
. b
b e T
b
r s
V c
o
queue
l
t
a
g
e
C
a
l
.
Power
Speed & position
Command feedback ADC processing into same
interpreter
processor:
Hall
Eliminates second
SCI CAN Encoder
protocol protocol Sensor microprocessor
Interface
stack stack Interface
(QEP) ($2.00)
(CAPTURE) F2812
SCI CAN Controller Added Spread
spectrum PWM
Generation: Reduces
RS-232/485 CAN PHY size of EMI filter
1H2004 Slide 31
Industrial: AC Induction Motor Drive MIPS enable high
performance
stage
as
r* v
stage
q
PI *
s a
PI q
*
s
r * * b
Speed profile
*
i i v
ds
v bs
q
T
PWM
d
s PI *
s
FOC speed
c
Inv. Space
generator Speed
d
s
q
l
r
Park
q
l
r
i
Gen.
i
Gen
Core
a
Clarke a
s
controller
i s
V/Hz drive
i
b
b
s
s
i
V
a i
d
s a
i s
c
S F
b i
l
+ Enables four
p s b
w e q u
s
e l
x
r
d r
v
l E a
P
E s h T
a s
s r t a
t . v s T
a
l
. b e
Command
b
r
T
b
s
V c
quadrant
o
l
t
a
interpreter
g
e
Power Inverter
C
a
l
.
operation
Command Flux and speed estimators
queue
Software
ADC integrates a
SCI CAN
variety of
Software filtering
protocol
stack
protocol auxiliary
stack
functions
SCI CAN
TCP/IP F2812 Flexible software
protocol
Controller enables one
controller for
MAC/PHY
many drives.
RS-232/485 CAN PHY Hardware
1H2004 Slide 32
Appliance: Refrigeration Compressor Control
Discrete PFC
controller
LC2402A Software eliminated ($2.50)
PFC
PFC
Controller
Power
PFC
controller Switching
Switching
Circuit
Circuit Higher efficiency
driven by
w i
v
v
*
as T
PWM sensorless FOC +
Temp Sensor
r* q
PI *
s a
PI q
r
*
s
Gen
T
* i i
*
v
* b
possible use of
ds
v bs
q
s PI
d
*
s
T
FOC
c
Temperature
Inv. Space
Speed i
d
s
Park
q
l
r
Park
q
l
r
i
Vector
Gen.
PMSM motor.
i
Eliminated
a
E s h T
a s
a
s t
Power
r
t . v s T
a
l
. b e
b
r
T
b
s
V c
o
l
t
Inverter
a
separate
g
e
C
a
l
.
(electronic/electro
Rotor Position and ADC mechanical)
Speed Calculator thermostat ($?)
User
interface
manag- Added Spread
ement
spectrum PWM
Kalman Sliding
RS-232
filter mode
Generation:
(or other Reduced size of
SCI filter) observer
EMI filtering
Parasiliti F., Petrella R., Tursini M.: "Rotor speed and position detection for PM synchronous motors based on sliding mode observer
and Kalman filter", Proc. of the European Conference on Power Electronics and Applications (EPE), Lausanne, 1999.
1H2004 Slide 33
Application: Refrigeration Compressor Control
+
sp* dc_shunt
Trapezoidal
Software
m PFC sensorless control
Speed
e
controller for constant
Calculator +
PFC
speed
K switch and applications
+ I* PWM DC Bus
Commutation Gen front end enables low cost
Sequencer implementations.
Bus
DC
Current
o Regulator
30 degree
Delay (PID) Keep compatibility
3 with existing
trapezoidal
Zero PWM motors
Crossing Generation
Detector
Back Phase
3
EMF Voltage Trapezoidal
Calculator Meas BLDC Motor
1H2004 Slide 34
Sensored Trapezoidal BLDC Motor Control
300 900 1500 2100 2700 3300 300 900
00 600 1200 1800 2400 3000 3600 600 Ea
Phase current must be turned on Phase A ia
e
and off in order and at the right
time in order to follow back EMF
commutation Phase B
Capture interrupts can be used to ib
e
trigger commutation when Hall
sensors are used
Phase C
Capture function can also be ic
e
used to help calculate motor
speed AB AC BC BA CA CB AB
1 2 3 4 5 6 1
Speed Speed
feedback Computation
Iref Position
Speed Sensor
setpoint - PI PID Commutation 3-Phase
+
+ Controller Controller PWM Control Inverter
- Three-phase BLDC
Idc_shunt motor
1H2004 Slide 35
Sensorless Stepper Motor Control
drive
40
PWM2
Mhz Bridge
Phase A
BLDC
IA
sense
ADCIN0
VSENSEA Phase B
ADCIN1
drive sense
SCITXD DIRB
RS232 PWM3 HH
SCIRXD PWM B bridge
PWM4 Bridge
IB
ADCIN2
DIN IOPB1
CLK XINT2
AIN ADCIN4 VSENSEB
ADCIN3
AOUT T2PWM
1H2004 Slide 36
Appliance: Power Tool Control Field oriented control
enables smooth torque
Charging monitor control.
Sensorless control drives
low cost control
Overload Battery
trip Manager Dithering
High quality MIPS make it
w
r*
PI
i
q
*
s
PI
v
q
*s
v
*
as T
a
possible to add features
without adding cost such
T
* * b
i i v
ds
v bs
q
s PI
d
*
s
T
FOC
c
Inv. Space
i Park Vector
Park i
i
Core
a
Clarke a
controller
s
i s
Control
i
PWM
b
b
s
s
i
V
a i
d
s a
i s
c
S F
b i
p s
l
b
w e q u
s
e l
x
r
d r
v
l E P
a
E s h T
a s
s r t a
t . v s T
a
l
. b e
b
r
T
b
s
V c
o
l
t
Power
a
Power
g
e
C
a
l
.
Inverter
Inverter
Speed and Position ADC
Estimator
Temp Sensor
LC2401A
Controller
1H2004 Slide 37
Servo Drive / Servo Amplifier Hardware Partitioning
PFC
PFC
PFC
PFC Controller
Controller Magnetics
Magnetics and
and
switch
switch
HV
HV Power
Power
Drivers
Drivers conditioning
conditioning
and
and EMI
EMI
Isolation
Isolation Filtering
Filtering
MCU Inverter
Inverter
MCU
(Motion IGBTs
IGBTs
(Motion profiles
profiles
&& host
host
communication)
communication)
Current
Current sensing
sensing
aliasing
Anti aliasing
Power
Power Supply
Supply
Filtering
Anti
Filtering MCU
MCU
(Commutation)
(Commutation)
1H2004 Slide 38
Servo Drive / Servo Amplifier Hardware Partitioning
count
Anti aliasing
Power
Power Supply
Supply Improved system
Anti
reliability
Easier to manufacture
1H2004 Slide 39
Agenda Timeline
Motor Control Fundamentals 25 min
AC Induction and Permanent Magnet Motors
Scalar and Vector Control
Applications:
Smarter controllers, high performance, lower cost 15 min
1H2004 Slide 40
Selecting a Controller
A controller to be used for
motor control must provide:
1H2004 Slide 41
TM
C2000 Portfolio Expanding with Price/
Performance Optimized Derivatives
TI Offers broad portfolio: 40 to 150 MIPS, 16 and 32-bit architectures, sub $2 to $15 10ku SRP
Software Compatible
Future of Control: Improved Higher performance
Industrial Drive, Improved Greater integration
System Density for ONET, etc.
Control Performance
Production
Production 4Q04
High-Precision Uni-processor Today $7 - $10 10ku
Control for Applications from $13 - $15 10ku F2812
F2812 C2812
150
150 MIPS
MIPS C2812
Industrial Drives to Automotive 150
150 MIPS
MIPS
F2811
F2811
150
150 MIPS
MIPS C2810
C2810 C2811
C2811
F2810
F2810 150
150 MIPS
MIPS 150150 MIPS
MIPS
150
150 MIPS
MIPS
1H2004 Slide 42
Internal Busing determines quality of MIPS
Program Address Bus (22)
Program
Program Data Bus (32) (4 M* 16)
1H2004 Slide 43
SMART peripherals
On chip peripherals drive integration
Encoder
and capture
Encoder
and capture
interface Encoder and timer
interface
PWM Generator capture interfaces
(16 ch)
Peripheral Bus
PWM Generator
PWM Generation
(16 ch) Peripheral Bus 12-Bit, 16 ch ADC
Synch/Async serial
10-Bit, 16 ch ADC Watchdog
Watchdog ports
GPIO (56)
GPIO McBSP Watchdog timer
TMS320LF240x TMS320F281x
1H2004 Slide 44
Memory
64-Bit 128-Bit
Security Security
32K
8K 2.5K Boot 128Kw
Sectored
Sectored 18Kw 4Kw
Flash RAM ROM Sectored Flash RAM Boot
Flash + 1Kw OTP ROM
TMS320LF240xA TMS320F281x
1H2004 Slide 45
Agenda Timeline
Motor Control Fundamentals 25 min
AC Induction and Permanent Magnet Motors
Scalar and Vector Control
Applications:
Smarter controllers, high performance, lower cost 15 min
1H2004 Slide 46
Modular Software Development for Control Systems
Reduces time
Application Specific Systems (ACI, BLDC, PID cntl) to market
Hardware Tools
Modular Libraries (DMC, FFT, Math, Filtersetc)
reuseable
Third Parties
QEP Serial CAP PWM software
PWM ADC04 Speed
Position EEPROM DAC
drv drv drv drv drv drv
Gets you
Real-Time Monitor RealTime +DSP/BIOS there.
Quickly.
C24xTM C28xTM
1H2004 Slide 47
Code Composer Studio Components:
Fully Integrated, Easy to Use Development Tools
Menus or Help CPU
Icons Window
Project Manager
z Source & object
files
z File dependencies
z Compiler,
assembler & linker
build options
Productive Editor:
z Structure expansion Status Watch Graph Memory
Window Window Window Window
1H2004 Slide 48
Code Composer Studio Components:
Fully Integrated, Easy to Use Development ToolsFlash Memory Plug-In
Easy Set-Up and Programming
Erase
Sector
Data Converter Plug-In Control
Frequency
z Point & Click Generation
Config.
z Auto Create APIs for
z Initialization
z Power Down
z Read/Write
z Initialize device and
peripheral
z 117 devices on
5 DSP platforms
Integrated
z www.ti.com/sc/dcplug-in
File to Program
CSM Defaults to
Support Project Loaded
In CCS
Full C/C++ & Assembly
Debugging
z C & ASM source
z Mixed mode
z Disassembly (patch)
z Set break points
Plug-in Free Motor Control Library has pre-set
Workspaces
z Set probe points Operation
Free Motor Control
For More Info
Library has pre-set workspaces
Config. workspaces
Control On-line Help
1H2004 Slide 49
DSP/BIOS: Handling Multiple Event Sources
1H2004 Slide 50
Real-time Debug
Control systems must be debugged while running!
Allows you to halt in non-critical code for debug while time-
Real-time
1H2004 Slide 51
C281x C/C++ Header Files
& Peripheral Examples
Bit-fields simplify peripheral
programming C/C++:
Compiler optimizations
speed target code
Examples/Documentation
accelerate deployment
1H2004 Slide 53
Hardware Development Tools
http://www.ti.com/c2000hwtools
1H2004 Slide 54
CAN 2.0B
PORT GmbH [Germany] has developed an extensive
CANopen protocol stack for the 240xA and 28x
devices. Port closely works with Vector Informatik.
The contact for Port is :
PORT GmbH
Heinz-Jrgen Oertel
phone +49 345 77755-0
Halle/Saale Germany
oe@port.de
Web : http://www.port.de
Ethernet
Windmill Innovations in Holland has developed an
extensive TCP-IP protocol stack for the 28x devices.
The contact for Windmill is :
Windmill Innovations
Rutger van Dalen
phone +31 33 2465314
Nijkerk Holland
rvdalen@windmill-systems.com
Web : http://www.windmill-innovations.com
1H2004 Slide 55
Agenda Timeline
Motor Control Fundamentals 25 min
AC Induction and Permanent Magnet Motors
Scalar and Vector Control
Applications:
Smarter controllers, high performance, lower cost 15 min
1H2004 Slide 56
The Foundation:
Software Libraries
Motor Control Specific SW Modules
Peripheral & Communication Drivers
Trigonometric and Log Routines
Signal Processing Functions
Signal Generator Functions
Power Conversion Related Functions
1H2004 Slide 58
Modular Systems in DMC Library
System Motor Type Description C24xx F28xx
Sensored Tacho i/p
ACI1-1 1 ph AC induction VHz / SinePWM / Closed loop (CL) speed PID
1H2004 Slide 59
Modular Block oriented library
Blocks make systems easy to
represent and understand
Simplify debug
Enable incremental
deployment
1H2004 Slide 60
Modular S/W Implementation of Sensored FOC
for PMSM
speed_ref_ PWM1
spd_ref
pid_reg_spd spd_outi_ref_q
pid_reg_iq u_out_q ipark_Q I_PARK ipark_qUbeta
SVGEN_DQ
Ta Mfunc_c1 PWM2
spd_fdb
Q15 / Q15 i_fdb_d
Q15 / Q15 theta_ipQ15 / Q15 Q15 / Q15 Tb Mfunc_c2 FC_PWM_ EV PWM3
Constant 0i_ref_d DRV
pid_reg_id u_out_d ipark_D ipark_d
Ualfa Tc Mfunc_c3 PWM4
Q0 / HW HW
i_fdb_d
Q15 / Q15 Mfunc_p PWM5
3-Phase
PWM6
Inverter
Encoder
1H2004 Slide 61
Software Test Bench: STB
Ease of use: All modules offered as an STB packaged as a CCS project
Any
module
Set by watch
window
in Library
freq
offset out_1 Vq SVGEN Ta PWM_DAC_iptr E PWM7
SGEN_2 DQ 0 PWM
DAC V
gain Q15 / Tb PWM_DAC_iptr PWM8
Q15 VIEW
1
phase out_2 Vd Tc PWM_DAC_iptr Q15 / HW H PWM9
step_ma 2 W
x2
x
Module under eval
1.8K
Examples
Examples PWMDAC driver (ezDSP) 100n
DAC driver (EVM)
Sinegen
Data logger (Sim)
ADC driver Emulated Plant (Sim)
Capture driver
QEP driver
1H2004 Slide 62
Interconnecting Modules
PWM1
FC_PWM
Iclark_d Iclark_a mfunc_c1 DRV PWM2
CLARKI
Q15 / Q15 Iclark_b mfunc_c2 Q0 / HW PWM3
Iclark_q Iclark_c mfunc_c3 PWM4
rnd_gain mfunc_p PWM5
RAND GEN
Q15 / Q15 random PWM6
rnd_offset
At the C level:
clarkInv(&dqBuffer, &fcPwm.InputBuffer)
fcPwmInputBuffer.ditherIn = randomGen1.calc(&randomGen1)
fcPwm.calc(&fcPwm);
1H2004 Slide 63
Embedded Target Integrates Simulink and MATLAB with
TM TM
eXpressDSP Tools and C2000 Controllers
Key Features
Design and Simulation Verification of embedded implementation
Automatic code generation MATLAB Link for Code Composer
Embedded Target for C2000 Studio
Documentation, re-usable C code Auto debug, testbench
Support for on-chip peripherals Real-time visualization
http://www.ti.com/c2000embeddedtarget
1H2004 Slide 64
Embedded Target Integrates Simulink and MATLAB with
TM TM
eXpressDSP Tools and C2000 Controllers
http://www.ti.com/c2000embeddedtarget
1H2004 Slide 65
Example of GDE Motor Control
http://www.vissim.com/
1H2004 Slide 66
Agenda Timeline
Motor Control Fundamentals 25 min
AC Induction and Permanent Magnet Motors
Scalar and Vector Control
Applications:
Smarter controllers, high performance, lower cost 15 min
1H2004 Slide 67
Incremental System Build
Incremental system development/debug is built in
Incremental system development/debug relies on
modular software blocks
Incremental system development/debug is
flexible/systematic
Incremental system development/debug applies
to multiple processors, drives and motors
1H2004 Slide 68
ACI Sensorless Field Oriented Control
wr* iqs* vqs vas* Ta PWM1
PI * Inv. Space PWM PWM2
PI T PWM3
Park Vector b Driver PWM4
iqs i * vds* vbs* Gen.
ds PWM5
Tc
PI PWM6
ids VSI
qlr qlr
ias ias
Park Ileg2_ ADCIN1
ibs Clarke ibs Bus ADCIN2
ias Vdc Driver
ias ADCIN3
ibs
Spee Flux ibs
wr qlr
d Est.
va Phase
Est. lar wr Ta
s Voltag ACI
lbr vb Tb
e Tc
s
Cal. TMS320F28x controller
1H2004 Slide 69
SVGEN/
Build Level 1 PWM
Tests
e
fe Ramp Ramp
Control Gen.
TMS320F28x controller
1H2004 Slide 70
Measure-
Build Level 2 ment
Tests
vas time
Phase
wr wr Speed stamp
Ta Capture CAP ACI
vbs Voltage Tb Cal. Driver
Cal. Tc
TMS320F28x controller
1H2004 Slide 71
PI
Regulator
Tests
1H2004 Slide 72
PI
Build Level 3 Regulator
Tests
vas time
Phase
wr wr Speed stamp
Ta Capture CAP ACI
vbs Voltage Tb Cal. Driver
Cal. Tc
TMS320F28x controller
1H2004 Slide 73
Flux
Build Level 4 Speed
Estimators
1H2004 Slide 74
Speed
Build Level 5 Regulator
Tests
ibs
lr Flux
Est. vas wr
lar Phase
wr Speed Capture
Ta Calc Driver
CAP ACI
vbs Voltage Tb
lbr Cal. Tc
TMS320F28x controller
1H2004 Slide 75
Sensorless
Build Level 6 FOC
System
1H2004 Slide 76
Agenda Timeline
Motor Control Fundamentals 25 min
AC Induction and Permanent Magnet Motors
Scalar and Vector Control
Applications:
Smarter controllers, high performance, lower cost 15 min
1H2004 Slide 77
Motor Control System Components From TI
AC DC link
Bridge Power
Input Motor Load
Rectifier converter
Current and
MOSFET Current
voltage
driver sense
sense
Power Resolver
supply
Simult.
LDO Sampling
PFC Optical
DSP Controller ADCs encoder
SVS
PWM
Hall
effect
1H2004 Slide 78
TI Power:
Easy to Choose, Easy to Use
Complete power management module and IC solutions:
From input to output
Full-Service Support
Reference Designs
Evaluation Modules
Application Notes
Design Tools & Software
Annual Power Supply Design Seminars
Online sample and EVM ordering
power.ti.com
1H2004 Slide 79
Complete System Power Solutions
Load-share DC/DC Converters
Controller TPS549xx (0.9 to 2.5V, 9A) LDOs
UC39002 TPS546xx (0.9 to 3.3V, 6A) TPS768xx (1A)
TPS543xx (0.9 to 3.3V, 3A) TPS778xx (750mA)
Isolated Modules
TPS6205x (2.7 to 10V, 0.8A) TPS776xx (500mA)
5 to 100 watts available
Controller TPS701xx (250/125mA, dual)
PT4210 (5W)
UCC3895 PT4480 (100W)
PFC AC/DC DC/DC
UCC3851x
UCC38050 Isolated Converters
UCC3817/18 Module +/-
HOT Power LDOs voltages
PWM 0.7 volts
SWAP + Dist
SVS and up
MOSFET TPS20xx DC/DC
UCC39xx Driver TPS22xx Controllers Supervisors
UC39xx TPS23xx TPS380X-XX
TPS23xx PWM Controllers
UCC35705/6 Non-isolated
UCC35701/2 Modules
UCC38C40 series
MOSFET DC/DC Controllers
Drivers Non-Isolated Modules
TPS40000 (Sync. buck)
TPS28XX 1A to 60 Amp available
TPS40050 (8 to 40V buck)
UCC3732x PT6440 (1V to 3.3V, 6A)
TPS40060 (10 to 55V buck)
UCC3722x PT6940 (Dual output, 6A)
TPS5120 (Sync. buck, dual)
PT6520 (1.5V to 3.3V, 8A)
1H2004 Slide 80
SWIFT Design Tool
1H2004 Slide 81
CAN Transceivers
SN65HVD251
SN65HVD230
SN65HVD1039 SN65HVD40
SN65HVD231
SN65HVD1040 PRODUCT
SN65HVD232 PREVIEW
SN65HVD1040v33 RTM 4Q04
PRODUCT SN65HVD233
SN65HVD1049
PREVIEWS
RTP 3Q04 SN65HVD234
SN65HVD6250v33
SN65HVD1050 SN65HVD235
SN65HVD1050v33
1H2004 Slide 82
RS-485
SN65HVD3085/88E PREVIEW
RTM 4Q04 & 2Q
1H2004 Slide 83
FET Drivers in MC System
UCC27425: Dual 4A, High Speed, Low Side Driver with one Inverting
and one Non-Inverting Output
1H2004 Slide 84
Intelligent Drivers in MC System
1H2004 Slide 85
Motor Controllers
1H2004 Slide 87
Amplifiers: Design Utilities
1H2004 Slide 88
FilterPro Design Tool
1H2004 Slide 89
ADC and DAC in MC System
General purpose Analog-to-Digital and Digital-to-Analog Converters
ADCs DACs
Single Channel Single Channel
Multi Channel Multi Channel
10V Input 10V Output
1H2004 Slide 90
DC-Link Voltage and Phase Currents
Measurement for Servo Application ADS1202
or
ADS1203
ADS1204
ADS1205
ADS1206
or 4kHz Current Loop
ADS1207 16 bit Accuracy
1H2004 Slide 91
ADS1202 Design Resources
ADS1202 Data Sheet:
http://www-s.ti.com/sc/ds/ads1202.pdf
Application Notes:
Choosing an Optocoupler for the ADS1202 Operating in Mode 1
http://www-s.ti.com/sc/psheets/sbaa088/sbaa088.pdf
Combining ADS1202 with FPGA Digital Filter for Current Measurement
in Motor Control Application
http://www-s.ti.com/sc/psheets/sbaa094/sbaa094.pdf
Interfacing the ADS1202 Modulator With a Pulse Transformer in
Galvanically Isolated Applications
http://www-s.ti.com/sc/psheets/sbaa096/sbaa096.pdf
Clock Divider Circuit for the ADS1202 in Mode 3 Operation
http://www-s.ti.com/sc/psheets/sbaa105/sbaa105.pdf
ADS1202 Reference design Users Guide
http://www-s.ti.com/sc/psheets/slaa186/slaa186.pdf
ADS1202 Evaluation board:
http://focus.ti.com/docs/prod/folders/print/ads1202.html#developmenttools
Evaluation board users guide
http://www-s.ti.com/sc/psheets/slau111/slau111.pdf
Evaluation board interface for C5000 and C6000 DSP
http://focus.ti.com/docs/toolsw/folders/print/5-6kinterface.html
Related parts, ADS1204:
http://www-s.ti.com/sc/ds/ads1204.pdf
1H2004 Slide 92
Cost Effective High Accuracy
Position Measurement by Resolver
12Bit
OPA4340
ADS7861
SIN=sin()
16Bit
COS=cos()
(t)=t Sim. OPA4350
1.50
Samp ADS8361
1.00
0.50
Phase Amplitude
0.00
0 90 180 270 360
-0.50
-1.00
-1.50
Degrees
1H2004 Slide 93
Measurements for Servo Application
AC/DC Inverter
Motor Current:
Two Phase Measurement
Three Phase Measurement
R
Motor current value for control
S
algorithm
T
Sign of the phase current for
dead time compensation
Over-Load and Over Current
protection
Load Encoder:
Load Position
DC-Link voltage
Temperature
Etc
Load Motor
1H2004 Slide 94
Motor Current Measurement with ADS7869
IU Sample
& ADC 12-bit 1MSPS
Three: Hold PGA
Simultaneous
Sampling
IW Sample
& ADC 12-bit 1MSPS
Hold PGA
1.50
MUX MUX
1.00
0.50
Phase Amplitude
0.00
0 90 180 270 360
-0.50
-1.00
-1.50
Degrees
1H2004 Slide 95
Motor Current Measurement with ADS7869
Gain
Offset
Three:
IU
Sample & Hold Sample
&
PGA ADC 12-bit 1MSPS
12BIT ADC 1MSPS Hold
Sign Comparators +
SIGN
Window Comp.
-
U_ILIM
1H2004 Slide 96
Incremental Encoder Measurement with ADS7869
Gain
Two Synchronous inputs ASYNC
Two Asynchronous inputs Sample
Offset
&
Differential inputs Hold
Two 12 bits 1MSPS ADCs
20% Gain correction
PGA ADC 12-bit 1MSPS
20% Offset correction
Sample MUX
SIN &
Hold
SYNC
MUX
16-bit SYNC
+ UP/DOWN
SIGN A
Counter ASYNC
-
with
+ State Machine
SIGN B
&
- Digital Filter
Gain
Two Sign Comparators SYNC
16-bit UP/DOWN Counter Sample
COS & Offset
State Machine Hold
Digital Filter
MUX
4 Registers
PGA ADC 12-bit 1MSPS
26-bit total resolution
Sample MUX
&
Hold
ASYNC
1H2004 Slide 97
ADS7869 Complete Motor Control Analog Front-End
12 FULLY DIFFERENTIAL INPUTS AC/DC Inverter
5 SIMULTANEOUS SAMPLED
CHANNELS AND 2
ASYNCHRONOUS SAMPLED
CHANNELS R
IW
Load Motor
ADS7869
1H2004 Slide 98
Getting Started: analog.ti.com
Product Listing
HW & SW Tools
Application
Notes
1H2004 Slide 99
Software for Data Converters?
Todays data converters need software support due to:
On-chip features like
Selectable input channels
On-chip filters
Integrated FIFOs
Adjustable gain
Complex configuration
Some parts have more than 40 registers and 640 control-bits
Coding of registers is tedious and error prone
Customer benefits:
Faster system time to market
Reduced development cost
Software support helps:
The DSP software developer:
No need to learn that crazy analog part
The analog designer:
No need to learn DSP programming just to test this neat data
converter
Silicon Software
Digital Motor Control
Software Library
Kalman Filter
Power
Electronics Precision PID
Current Filter Lib
Voltage
EV ADC
(CAP/Q
Field Oriented
Position/ EP) Control
Speed
Feedback
EE
SPI
Support Prom
EV Chip Support
(PWM)
Web casts Lib
CAN SCI-A/B IQmath
Workshops
DSP/BIOS
KnowledgeBase
Application notes TI Power
Management
Foundation Software
PC Test
CAN Equipment
Network
Silicon: DSP offers the performance and flexibility to implement advanced motor control algorithms
Software: Modular software reduces time-to-market
Tools: Advanced Development Tools make development easy
Analog: Offers a broad selection of signal conditioning and power management
Speed qr Angle
wr Calculat QEP Phase
or. + driver Phase Enc
Index oder Motor
To learn more about the Industrial Control via the CAN Bus
Demonstration Platform (Kit # 6445694), please contact your
local TI field sales office or Product Information Centers.
A F1 F2 D1 D2 R1 R2 X W
8-stage pipeline
B F1 F2 D1 D2 R1 R2 X W
C F1 F2 D1 D2 R1 R2 X W Writes: are
? free
D F1 F2 D1 D2 R1 R2 X W
E & G access
E F1 F2 D1 D2 R1 R2 X W same address
F F1 F2 D1 D2 R1 R2 X W
G F1 F2 D1 D2 RR11 R2 X
R2 XW W
F1 F2 D1 DD22 R1 R21 X
R2 X W
W
F1 Instruction address
F2 Instruction content Protected Pipeline
D1 Decode instruction Order of results are as written in source code
D2 Resolve operand address
Programmer need not worry about the pipeline
R1 Operand address
R2 Get operand
Most MCUs
X CPU doing real work Shared bus for program and data address and content
W Store content to memory Typically results in only one instruction in 4 cycles
Multi Channel
Full-duplex communication
Selection
32-bit Logic 16-level, 32-bit transmit/receive
Read
FIFO FIFOs
Receive DR
Channel 8, 12, 16, 20, 24, and 32-bit data
Peripheral Bus
Registers
Mode
Select 8-bit data, option of LSB or MSB
Transmit DX transmitted first
32-bit Channel
Write Registers
FIFO 128 channels for reception and
transmission
XMIT/Receive Interrupt &
FIFO Control Events
Regs Direct interface to SPI & IIS
devices
Interrupt Select
Logic
Peripheral Bus
SCI-UART (2 modules aboard)
Two wake up multiprocessor
Registers
SCITXD modes idle-line and address bit
GPIO SCI
MUX BCIRXD Half or full duplex operation
SCIRXINT
Interrupt
SCITXINT Handling 16-level transmit / receive FIFO
Module buffer
SPI/CPU System Low Speed SYSCLKOUT Auto-baud-detect Hardware
Interface Control Block Prescaler CPU
LSPCLK
Logic
SPIAENCLK
Peripheral Bus SPI
SPISIMO
Registers
Peripheral Bus
Boot
Boot Event
Event
Manager
ManagerBB
Sectored
Sectored ROM
RAM
RAM ROM
Flash
Flash 12-bit ADC
22 12-bit ADC
A(18-0)
32 Watchdog
Watchdog
32
D(15-0)
32
McBSP
McBSP
PIE
32-bit RR-M-W
-M-W Interrupt
32-bit 32x32 bit Manager CAN2.0B
CAN2.0B
Auxiliary 32x32 bit Atomic
Auxiliary Multiplier Atomic
Registers Multiplier ALU SCI-A
Registers ALU SCI-A
33
32 SCI-B
Realtime 32bit
bit SCI-B
Realtime Register Bus Timers
Timers SPI
JTAG
JTAG SPI
CPU
56
56GIO
GIO
Data Bus (32)
1H2004 Slide 116
C28x Multiplier and ALU / Shifters
Program Bus
32
Data Bus
16/32
16 XT (32) or TH/TL Data Mem
or Reg
MULTIPLIER
32 32 x 32 or
Shift R/L (0-16) 8/16 Prog Mem
Dual 16 x 16 or Immed
P (32) or PH/PL
32 32 32
32 Shift R/L (0-16)
MUX
32
ALU (32)
32
ACC (32)
16/32
ACCH (16) ACCL (16)
AHMSB AHLSB ALMSB ALLSB
32
Shift R/L (0-16) Data Bus
32