1. All Rights Reserved Copyright (C) Siam Bee Technologies 2015 1
Permanent Magnet
Synchronous Motor (PMSM)
Simplified SPICE Behavioral Model
LTspice Version
Bee Technologies
2. Contents
1. Parameter Settings
2. Implement of Function
3. How to use Terminal of Tm
4. Example Vector Control with 2 Current and Speed Sensing
4.1 Circuit
4.2 Simulation Result
All Rights Reserved Copyright (C) Siam Bee Technologies 2015 2
3. 1. Parameter Settings
Symbol Model Parameters:
RA is the Stator resistance []
e.g. RA = 0.1, 0.5 or 1[]
LD is the Direct-axis inductance [H]
e.g. LD =1m, 2m or 5m [H]
LQ is the Quadrature-axis inductance [H]
e.g. LQ =1m, 2m or 5m [H]
KE is the Back EMF constant
e.g. KE =0.01, 0.1 or 0.5
JM is the Inertia [kg.m^2]
e.g. JM =0.01m, 0.1m or 0.5m [kg.m^2]
DM is the Friction or Viscous coefficient [Ns/m]
e.g. DM =0.01m, 0.1m or 0.5m [Ns/m]
NP is the Number of pole pairs
e.g. NP=3, 4 or 6
All Rights Reserved Copyright (C) Siam Bee Technologies 2015 3
(Default values)
4. 2. Implement of Function (1/2)
All Rights Reserved Copyright (C) Siam Bee Technologies 2015 4
rmrsdd
sq
qsqdq
rsqq
sd
dsddd
ωωiL
dt
di
LiRv
ωiL
dt
di
LiRv
prm
sqmsqsdd
m
me
N
iNpiiLqLNp
dt
d
JBT
3
4
sin
3
2
sinsin
3
4
cos
3
2
coscos
θvθvθv
3
2
v
θvθvθv
3
2
v
cbaq
cbad
5. All Rights Reserved Copyright (C) Siam Bee Technologies 2015 5
2. Implement of Function (2/2)
3
4
sin
3
4
cos
3
2
sin
3
2
cos
sincos
θiθii
θiθii
θiθii
qdc
qdb
qda
6. 3. How to use Terminal of Tm
All Rights Reserved Copyright (C) Siam Bee Technologies 2015 6
3-phase input voltage of
PWSM
Tm+ and Tm- connect to VPWL
and so on
7. 4. Example Vector Control with 2 Current and
Speed Sensing
All Rights Reserved Copyright (C) Siam Bee Technologies 2015 7
Control and Driver Circuit
PMS Motor
Inverter
Input Current
sensing: Iu and Iw
Angular velocity: Om
VPWL
8. 4.2 Simulation Result
All Rights Reserved Copyright (C) Siam Bee Technologies 2015 8
(Motor):VU
(Motor):VV
(Motor):VW
(Current Sensing-Motor):Iu
(Current Sensing-Motor):Iw
(angular velocity-Motor):Vom
(torque-Motor):Vtm
9. All Rights Reserved Copyright (C) Siam Bee Technologies 2015 9
4.2 Simulation Result (Torque: 0) (zoom in)
(Motor):VU
(Motor):VV
(Motor):VW
(angular velocity-Motor):Vom
(torque-Motor):Vtm
(Current Sensing-Motor):Iu
(Current Sensing-Motor):Iw
10. All Rights Reserved Copyright (C) Siam Bee Technologies 2015 10
4.2 Simulation Result (Torque: positive) (zoom in)
(Motor):VU
(Motor):VV
(Motor):VW
(angular velocity-Motor):Vom
(torque-Motor):Vtm
(Current Sensing-Motor):Iu
(Current Sensing-Motor):Iw
11. All Rights Reserved Copyright (C) Siam Bee Technologies 2015 11
4.2 Simulation Result (Torque: negative) (zoom in)
(Motor):VU
(Motor):VV
(Motor):VW
(angular velocity-Motor):Vom
(torque-Motor):Vtm
(Current Sensing-Motor):Iu
(Current Sensing-Motor):Iw