Last active
June 24, 2020 10:51
-
-
Save dreamcat4/8802e8d51dca4dfb668eec927d3e2c15 to your computer and use it in GitHub Desktop.
PSpice 'cir' file - how to convert it? Source PDF file: https://forum.arduino.cc/index.php?action=dlattach;topic=333999.0;attach=131379
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*PWM AC Chopper Single Phase Induction Motor Drive | |
*AC Chopper | |
VAC 20 0 sin(0 155 60 0 0 0) | |
XS1 20 21 16 13 mos_switch | |
XS2 21 0 17 15 mos_switch | |
*Permanent Capacitor Single Phase Induction Motor | |
XIM 20 Z PCIM | |
Rb Z 30 0.000024 | |
Lj 30 0 0.0074 | |
*MosFET Driver | |
E1 12 13 3 11 1 | |
E2 14 15 11 0 1 | |
RE1 12 16 47 | |
RE2 14 17 47 | |
69 | |
*PWM Generator | |
VCC 3 0 DC 15V | |
VEE 0 4 DC 15V | |
Vref 8 0 0 | |
R1 5 1 10k | |
R2 1 6 9k | |
R3 5 7 1k | |
R4 5 0 1k | |
R5 7 6 100k | |
R6 9 10 10k | |
R7 3 11 1k | |
C1 7 6 0.01u IC=0 | |
X1 1 0 3 4 5 lm675 | |
X2 0 7 3 4 6 lm675 | |
X3 6 8 3 4 9 lm675 | |
Q1 11 10 0 npntr | |
.model npntr npn() | |
*----------- OPAMP Pspice Models ------------------ | |
* Connections: non-inverting input | |
* | |
| inverting input | |
* | |
| | positive power supply | |
* | |
| | | negative power supply | |
* | |
| | | | output | |
* | |
| | | | | | |
.subckt lm675 1 2 3 4 5 | |
c1 11 12 8.660E-12 | |
c2 6 7 15.00E-12 | |
dc 5 53 dx | |
de 54 5 dx | |
dlp 90 91 dx | |
dln 92 90 dx | |
dp 4 3 dx | |
egnd 99 0 poly(2),(3,0),(4,0) 0 .5 .5 | |
fb 7 99 poly(5) vb vc ve vlp vln 0 7.717E9 -7E9 7E9 7E9 -7E9 | |
ga 6 0 11 12 518.4E-6 | |
gcm 0 6 10 99 16.40E-9 | |
iee 3 10 dc 120.4E-6 | |
hlim 90 0 vlim 1K | |
q1 11 2 13 qx | |
q2 12 1 14 qx | |
r2 6 9 100.0E3 | |
rc1 4 11 1.929E3 | |
rc2 4 12 1.929E3 | |
re1 13 10 1.493E3 | |
re2 14 10 1.493E3 | |
ree 10 99 1.661E6 | |
ro1 8 5 50.00E-3 | |
ro2 7 99 50.00E-3 | |
rp 3 4 2.796E3 | |
70 | |
vb 9 0 dc 0 | |
vc 3 53 dc 4 | |
ve 54 4 dc 4 | |
vlim 7 8 dc 0 | |
vlp 91 0 dc 3.000E3 | |
vln 0 92 dc 3.000E3 | |
.model dx D(Is=800.0E-18) | |
.model qx PNP(Is=800.0E-18 Bf=300) | |
.ends | |
*----------------- Bi-Directional Switch Model ------------------------ | |
.SUBCKT mos_switch 11 12 13 14 | |
D1 14 11 diyot | |
D2 14 12 diyot | |
D3 11 15 diyot | |
D4 12 15 diyot | |
M1 15 13 14 14 IRF240 | |
.model diyot D(Is=14.11n N=1.984 Rs=33.89m | |
+ Ikf=94.81 Xti=3 Eg=1.11 | |
+ Cjo=25.89p Vj=0.3245 | |
+ Fc=0.5 Bv=1500 Ibv=10u | |
+ Tt=5.7u) | |
.model IRF240 NMOS(Level=3 Gamma=0 Delta=0 Eta=0 Theta=0 Kappa=0.2 | |
Vmax=0 Xj=0 | |
+Tox=100n Uo=600 Phi=.6 Rs=5.466m Kp=20.82u W=.44 L=2u Vto=3.814 | |
+Rd=97.84m Rds=888.9K Cbd=1.813n Pb=.8 Mj=.5 Fc=.5 Cgso=1.977n | |
+Cgdo=490.5p Rg=3.604 Is=5.191p N=1 Tt=312n) | |
.ends | |
*--------- Single Phase Induction Motor Model --------------------------- | |
.subckt PCIM 1 17 | |
Rq 4 5 4.12 | |
Llq A 4 5.6m IC=0 | |
LMm 3 0 177m IC=0 | |
Llm 2 B 7.4m IC=0 | |
Rm 1 2 2.02 | |
Rcs C 7 1 | |
Cs 7 8 50u IC=0 | |
Ra 8 9 7.14 | |
Lla 9 10 8.5m IC=0 | |
LMa 10 0 246m IC=0 | |
Lld D 11 7.8m IC=0 | |
Rd 11 12 5.74 | |
Vx A 3 0 | |
Vy B 3 0 | |
Vz 1 C 0 | |
Vt D 10 0 | |
H11 5 6 poly(2) vtl vz 0 0 0 0 0.416 | |
H12 6 0 poly(2) vtl vt 0 0 0 0 0.430 | |
H13 13 12 poly(2) vtl vy 0 0 0 0 0.416 | |
71 | |
H14 0 13 poly(2) vtl vx 0 0 0 0 0.430 | |
Vtl 16 17 0 | |
H1 16 14 poly(2) Vy Vt 0 0 0 0 0.5 | |
H2 0 14 poly(2) Vx Vz 0 0 0 0 0.5 | |
.ends | |
*----------------------------------------------------------------------------------- | |
.TRAN 1u 1 | |
.PROBE | |
.END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment