Design For Accessibility: Getting it right from the start
PMS Motor of Simple Model using PSpice
1. All Rights Reserved Copyright (C) Siam Bee Technologies 2015 1
Permanent Magnet
Synchronous Motor (PMSM)
Simplified SPICE Behavioral Model
PSpice Version
Bee Technologies
2. All Rights Reserved Copyright (C) Siam Bee Technologies 2015 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
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)
Tm-
N Tm+
W
V
U
S
U1
PMS_MOTOR
RA = 0.1
LD = 1m
LQ = 1m
KE = 0.1
JM = 0.1m
DM = 0.1m
NP = 3
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
3
4
sin
3
4
cos
3
2
sin
3
2
cos
sincos
θiθii
θiθii
θiθii
qdc
qdb
qda
2. Implement of Function (2/2)
6. 3. How to use Terminal of Tm
All Rights Reserved Copyright (C) Siam Bee Technologies 2015 6
V5
T1 = 0
T2 = 9m
T3 = 10m
T4 = 25m
T5 = 27m
V1 = 0
V2 = 0
V3 = 4
V4 = 4
V5 = -4
tm
0
Tm-
N Tm+
W
V
U
S
U3
PMS_MOTOR
RA = 0.1
LD = 1m
LQ = 1m
KE = 0.1
JM = 0.1m
DM = 0.1m
NP = 3
3-phase input voltage of
PWSM
Tm+ and Tm- connect to VPWL
and so on
V6
TD =
TF =
PW =
PER =
V1 =
TR =
V2 =
V6
<FILE>
7. +
-
+
-
S1
S
VON = 1.0V
VOFF = 0.0V
ROFF = 1e6
RON = 1.0
+
-
+
-
S2
S
VON = 1.0V
VOFF = 0.0V
ROFF = 1e6
RON = 1.0
0
0
DMOD
D1
DC_P
V4
100V
UN
UP
0
DMOD
D2
+
-
+
-
S3
S
VON = 1.0V
VOFF = 0.0V
ROFF = 1e6
RON = 1.0
0
VP
DMOD
D3
+
-
+
-
S4
S
VON = 1.0V
VOFF = 0.0V
ROFF = 1e6
RON = 1.0
0
DMOD
D4
VN
+
-
+
-
S5
S
VON = 1.0V
VOFF = 0.0V
ROFF = 1e6
RON = 1.0
0
DMOD
D5
WP
+
-
+
-
S6
S
VON = 1.0V
VOFF = 0.0V
ROFF = 1e6
RON = 1.0
0
WN
DMOD
D6
V
V5
T1 = 0
T2 = 9m
T3 = 10m
T4 = 25m
T5 = 27m
V1 = 0
V2 = 0
V3 = 4
V4 = 4
V5 = -4
tm
0
IN+
IN-
OUT+
OUT-
E14
I(V5)
EVALUE
0
IN+
IN-
OUT+
OUT-
E15
I(VL1)
EVALUE
0
IN+
IN-
OUT+
OUT-
E16
I(VL2)
EVALUE
0
DC_P
iw
Tm-
N Tm+
W
V
U
S
U3
PMS_MOTOR
RA = 0.1
LD = 1m
LQ = 1m
KE = 0.1
JM = 0.1m
DM = 0.1m
NP = 3
U
om
UNUP VNVP WPWN
W
iu
U103
VCONTROL
UP
UN
VP
VN
WP
WN
IU
IW
OM DC_P
VL1
VL2
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