Commit 6190502d authored by jean-pierre charras's avatar jean-pierre charras
Browse files

update pspice demo

parent f45c260a
Loading
Loading
Loading
Loading
+9 −10
Original line number Original line Diff line number Diff line
* 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
R11  +12V N-000010 100
L1  N-000010 VOUT 100mH
L1  N-000010 /VOUT 100mH
R10  N-000009 N-000004 220
R10  N-000009 N-000004 220
C3  N-000009 0 10uF
C3  N-000009 0 10uF
C2  N-000008 0 1nF
C2  N-000008 0 1nF
R8  N-000004 0 2.2K
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
V2  N-000003 0 AC 0.1
C1  VIN N-000003 1UF
C1  /VIN N-000003 1UF
V1  +12V 0 DC 12V
V1  +12V 0 DC 12V
R2  VIN 0 10K
R2  /VIN 0 10K
R6  +12V VIN 22K
R6  +12V /VIN 22K
R5  +12V N-000006 22K
R5  +12V N-000006 22K
R1  N-000006 0 10K
R1  N-000006 0 10K
R7  N-000005 0 470
R7  N-000005 0 470
R4  +12V N-000008 1K
R4  +12V N-000008 1K
R3  +12V N-000007 1K
R3  +12V N-000007 1K
Q2  N-000008 N-000006 N-000005 N-000005 Q2N2222
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)
.model Q2N2222 npn (bf=200)
.print tran v(nodes)
.print tran v(nodes)
.print dc v(nodes)
.print dc v(nodes)
.tran 10 10000 10 > x.txt
.tran 10 10000 10 > pspice.dat
.save all


.end
.end
+5 −11
Original line number Original line Diff line number Diff line
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
LIBS:pspice-cache
LIBS:pspice-cache
EELAYER 24  0
EELAYER 24  0
@@ -14,16 +14,10 @@ Comment2 ""
Comment3 ""
Comment3 ""
Comment4 ""
Comment4 ""
$EndDescr
$EndDescr
Text GLabel 4700 2600 0    60   Input ~ 0
Text Label 4550 2800 0    60   ~ 0
VIN
VIN
Wire Wire Line
	4700 2600 5100 2600
Connection ~ 5100 2600
Text Label 8650 2100 0    60   ~ 0
Text Label 8650 2100 0    60   ~ 0
VOUT
VOUT
Text GLabel 9550 2100 2    60   Input ~ 0
VOUT
Connection ~ 9200 2100
Wire Notes Line
Wire Notes Line
	4050 6600 4050 5700
	4050 6600 4050 5700
Wire Notes Line
Wire Notes Line
@@ -44,7 +38,7 @@ Wire Wire Line
Wire Wire Line
Wire Wire Line
	7800 1500 7700 1500
	7800 1500 7700 1500
Wire Wire Line
Wire Wire Line
	9200 2100 9200 1500
	9200 1500 9200 2100
Connection ~ 7700 2800
Connection ~ 7700 2800
Wire Wire Line
Wire Wire Line
	8250 2800 8400 2800
	8250 2800 8400 2800
@@ -84,9 +78,9 @@ Wire Wire Line
Wire Wire Line
Wire Wire Line
	5100 2300 5100 3300
	5100 2300 5100 3300
Wire Wire Line
Wire Wire Line
	7700 2100 9550 2100
	9200 2100 7700 2100
Text Notes 4200 5900 0    60   ~ 0
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
Text Notes 4050 5700 0    60   ~ 0
Pspice directives using one multiline text:
Pspice directives using one multiline text:
$Comp
$Comp