update pspice demo

This commit is contained in:
jean-pierre charras 2010-07-14 20:12:43 +02:00
parent f45c260a00
commit 6190502df3
2 changed files with 14 additions and 21 deletions

View File

@ -1,31 +1,30 @@
* EESchema Netlist Version 1.1 (Spice format) creation date: 14/07/2010 14:49:50
* EESchema Netlist Version 1.1 (Spice format) creation date: 14/07/2010 20:09:58
R12 VOUT N-000010 22K
R12 /VOUT N-000010 22K
R11 +12V N-000010 100
L1 N-000010 VOUT 100mH
L1 N-000010 /VOUT 100mH
R10 N-000009 N-000004 220
C3 N-000009 0 10uF
C2 N-000008 0 1nF
R8 N-000004 0 2.2K
Q3 VOUT N-000008 N-000004 N-000004 Q2N2222
Q3 /VOUT N-000008 N-000004 N-000004 Q2N2222
V2 N-000003 0 AC 0.1
C1 VIN N-000003 1UF
C1 /VIN N-000003 1UF
V1 +12V 0 DC 12V
R2 VIN 0 10K
R6 +12V VIN 22K
R2 /VIN 0 10K
R6 +12V /VIN 22K
R5 +12V N-000006 22K
R1 N-000006 0 10K
R7 N-000005 0 470
R4 +12V N-000008 1K
R3 +12V N-000007 1K
Q2 N-000008 N-000006 N-000005 N-000005 Q2N2222
Q1 N-000007 VIN N-000005 N-000005 Q2N2222
Q1 N-000007 /VIN N-000005 N-000005 Q2N2222
.model Q2N2222 npn (bf=200)
.print tran v(nodes)
.print dc v(nodes)
.tran 10 10000 10 > x.txt
.save all
.tran 10 10000 10 > pspice.dat
.end

View File

@ -1,4 +1,4 @@
EESchema Schematic File Version 2 date 14/07/2010 15:02:09
EESchema Schematic File Version 2 date 14/07/2010 20:10:02
LIBS:pspice
LIBS:pspice-cache
EELAYER 24 0
@ -14,16 +14,10 @@ Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
Text GLabel 4700 2600 0 60 Input ~ 0
Text Label 4550 2800 0 60 ~ 0
VIN
Wire Wire Line
4700 2600 5100 2600
Connection ~ 5100 2600
Text Label 8650 2100 0 60 ~ 0
VOUT
Text GLabel 9550 2100 2 60 Input ~ 0
VOUT
Connection ~ 9200 2100
Wire Notes Line
4050 6600 4050 5700
Wire Notes Line
@ -44,7 +38,7 @@ Wire Wire Line
Wire Wire Line
7800 1500 7700 1500
Wire Wire Line
9200 2100 9200 1500
9200 1500 9200 2100
Connection ~ 7700 2800
Wire Wire Line
8250 2800 8400 2800
@ -84,9 +78,9 @@ Wire Wire Line
Wire Wire Line
5100 2300 5100 3300
Wire Wire Line
7700 2100 9550 2100
9200 2100 7700 2100
Text Notes 4200 5900 0 60 ~ 0
+gnucap .model Q2N2222 npn (bf=200)\n.print tran v(nodes)\n.print dc v(nodes)\n.tran 10 10000 10 > x.txt\n.save all\n
+gnucap .model Q2N2222 npn (bf=200)\n.print tran v(nodes)\n.print dc v(nodes)\n.tran 10 10000 10 > pspice.dat\n
Text Notes 4050 5700 0 60 ~ 0
Pspice directives using one multiline text:
$Comp