Sensored Field Oriented Control of A Permanent Magnet Synchronous Motor (PMSM)
Sensored Field Oriented Control of A Permanent Magnet Synchronous Motor (PMSM)
Sensored Field Oriented Control of A Permanent Magnet Synchronous Motor (PMSM)
0-1
Learning objectives
• Review of Electromagnetic laws
Field
I
B = k*n*I
• A conductor carrying a current produces a magnetic field around it.
I
• A conductor that is wound into a coil produces a magnetic field
along the axis of the coil.
I
F1 F2 B1 x B2
F2 T B1 B2 d
B2
© 2007 Texas Instruments Inc, Slide 4
Back EMF generation
(rad / s )
Magnet flux
N a
S B e A
N
N S N
SN e
N S e
c
ia I s .e jt
2
ic jt
ib I S .e 3
j t
4
N i I .e 3
c S
4
b e E.e
jpt
3
c
0.00
-0.50
1 24 47 70 93 116 139 162 185 208 231 254 277 300 323 346
t
-1.00
-1.50
Three
Three
phase
phaseACAC
current
current
Phase
Phase11
Coil
Coil11
Phase
Phase22
Coil
Coil22
Phase3
Phase3
Phase3
Phase3
Coil 3333
Coil
Coil
Coil
F
N magnetic field created either by
B permanent magnets or current fed
N coils
The interaction between the
S rotating stator flux, and the rotor
C flux produces a torque which will
S Stator field
B` ` cause the motor to rotate.
F
A
The rotation of the rotor in this case will be at the same exact
frequency as the applied excitation to the rotor.
This is synchronous operation.
60. f
Rotor speed (rad/s) : gives (r.pm) Example: a 2 poles pair
p p synchronous motor will run
at 1500 r.pm for a 50Hz AC
f : AC supply frequency (Hz) supply frequency
p : motor poles pair per phase
i V
estator uL Es
v I uL
Phase C
ic e -1.00
Hall C -1.50
Park Clarke
Transformation Transformation
PMASynRM
Mechanical Speed and
position of rotor
PWM1A
Speed ref FC_PWM
setpoint PID Uout ref DRV 3-Phase
PID Uout Ipark_D Ipark_d Vq Ta mfunc_c1 PWM1B Inverter
fb _IQ PARKI SV_GEN
_IQ DQ Q0 / HW
fb
theta _IQ Tb mfunc_c2 PWM2A
_IQ
id_ref =0 ref
PID Uout Ipark_Q Ipark_q Vd Tc mfunc_c3 PWM2B
fb _IQ
mfunc_p PWM3A
PWM3B
index_sync_flg
Encoder
qlr QEP_A PMSM
SMOSPD
wr speed qm Ramp QEP QEP_B
estimation Gen. driver
dir QEP_inc
TMS320F28x controller
Synchronous Motor
Permanent Magnet
Parallel Port
Encoder
eZdsp 2812
DMC 550
P7
P3 P4 P5
Motor phases Power Supply
24 Volts 4 Amps
0V
22
+
-
Encoder signal
2 Power inputs:
rs I s
Torque equation:
Vds
~
3P
dsiqs qsids
Vs
Te
jX qs I qs
22 q-axis
I qs jX ds I ds Vqs
3P
Te ( Lds Lqs ) I dsI qs I ds
22 ~
Is
d-axis
I ds I s cos
I qs I s sin
PMSM
TMS320F28x controller
PWM1
Vq_testing v * Ta
s PWM2
PWM3
Space Tb
Inv. PWM PWM4
Vq_testingvds* Park v * Vector
Driver PWM5
s
Gen. Tc
PWM6
Voltage
Source
e Inverter
ADCIN1
ids is ia
Ileg2_ ADCIN2
iqs Park is Clarke ib Bus
ADCIN3
Driver
Encoder
Speed_ref PMSM
Ramp Ramp rmp_out
control Gen.
TMS320F28x controller
Encoder
Speed_ref PMSM
Ramp Ramp
control Gen.
TMS320F28x controller
PWM1
v *
v * Ta
Iq_ref qs s PWM2
PI Space Tb PWM3
Inv. PWM PWM4
v * Vector
Id_ref ds Park vs* Driver PWM5
Gen. Tc
PI PWM6
Voltage
Source
rmp_out Inverter
ADCIN1
ids is ia
Ileg2_ ADCIN2
iqs Park is Clarke ib Bus
ADCIN3
Driver
TMS320F28x
controller
Encoder
r QEP_A PMSM
r SMOSPD
speed m Ramp QEP QEP_B
TMS320F28x controller