summaryrefslogtreecommitdiff
path: root/demos/pspice/pspice.sch
diff options
context:
space:
mode:
authorsaurabhb172020-02-26 16:20:48 +0530
committerGitHub2020-02-26 16:20:48 +0530
commitb77f5d9d8097c38159c6f60917995d6af13bbe1c (patch)
tree1392c90227aeea231c1d86371131e04c40382918 /demos/pspice/pspice.sch
parentdadc4d490966a24efe15b5cc533ef8695986048a (diff)
parent003d02608917e7a69d1a98438837e94ccf68352a (diff)
downloadKiCad-eSim-b77f5d9d8097c38159c6f60917995d6af13bbe1c.tar.gz
KiCad-eSim-b77f5d9d8097c38159c6f60917995d6af13bbe1c.tar.bz2
KiCad-eSim-b77f5d9d8097c38159c6f60917995d6af13bbe1c.zip
Merge pull request #4 from FOSSEE/develop
merging dev into master
Diffstat (limited to 'demos/pspice/pspice.sch')
-rw-r--r--demos/pspice/pspice.sch498
1 files changed, 498 insertions, 0 deletions
diff --git a/demos/pspice/pspice.sch b/demos/pspice/pspice.sch
new file mode 100644
index 0000000..9e64a24
--- /dev/null
+++ b/demos/pspice/pspice.sch
@@ -0,0 +1,498 @@
+EESchema Schematic File Version 2
+LIBS:pspice
+LIBS:pspice-cache
+EELAYER 25 0
+EELAYER END
+$Descr A4 11693 8268
+encoding utf-8
+Sheet 1 1
+Title ""
+Date "Sun 22 Mar 2015"
+Rev ""
+Comp ""
+Comment1 ""
+Comment2 ""
+Comment3 ""
+Comment4 ""
+$EndDescr
+Text Label 4550 2800 0 60 ~ 0
+VIN
+Text Label 8650 2100 0 60 ~ 0
+VOUT
+Wire Notes Line
+ 1100 7100 1100 6200
+Wire Notes Line
+ 1100 7100 3900 7100
+Wire Notes Line
+ 3900 7100 3900 6200
+Wire Notes Line
+ 3900 6200 1100 6200
+Wire Wire Line
+ 4400 2800 5300 2800
+Connection ~ 9200 1800
+Wire Wire Line
+ 8700 1800 9200 1800
+Wire Wire Line
+ 7800 1800 8200 1800
+Wire Wire Line
+ 7800 1450 7800 1800
+Wire Wire Line
+ 7800 1500 8250 1500
+Wire Wire Line
+ 9200 1500 9200 2100
+Wire Wire Line
+ 8250 2900 8400 2900
+Connection ~ 7050 2450
+Wire Wire Line
+ 7050 2600 7050 2450
+Connection ~ 5750 3200
+Connection ~ 6100 3200
+Wire Wire Line
+ 6350 3200 6350 3150
+Wire Wire Line
+ 5500 3200 6350 3200
+Wire Wire Line
+ 5750 3150 5750 3200
+Wire Wire Line
+ 5500 3200 5500 3150
+Wire Wire Line
+ 3900 2800 3850 2800
+Wire Wire Line
+ 6100 2450 7250 2450
+Wire Wire Line
+ 6100 2450 6100 2300
+Wire Wire Line
+ 5750 2450 5750 2300
+Connection ~ 5100 2800
+Connection ~ 6700 2800
+Wire Wire Line
+ 6550 2800 6700 2800
+Wire Wire Line
+ 6700 2300 6700 3300
+Wire Wire Line
+ 5100 2300 5100 3300
+Wire Wire Line
+ 9200 2100 7700 2100
+Text Notes 1150 6600 0 60 ~ 0
++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 1100 6200 0 60 ~ 0
+Pspice directives using one multiline text:
+$Comp
+L R R12
+U 1 1 3E9D53DA
+P 8450 1800
+F 0 "R12" V 8530 1800 50 0000 C CNN
+F 1 "22K" V 8450 1800 50 0000 C CNN
+F 2 "" H 8450 1800 60 0001 C CNN
+F 3 "" H 8450 1800 60 0001 C CNN
+ 1 8450 1800
+ 0 1 1 0
+$EndComp
+$Comp
+L R R11
+U 1 1 3E9D4D47
+P 7800 1200
+F 0 "R11" H 7700 1400 50 0000 C CNN
+F 1 "100" V 7800 1200 50 0000 C CNN
+F 2 "" H 7800 1200 60 0001 C CNN
+F 3 "" H 7800 1200 60 0001 C CNN
+ 1 7800 1200
+ 1 0 0 -1
+$EndComp
+$Comp
+L INDUCTOR L1
+U 1 1 3E9D4A5D
+P 8500 1500
+F 0 "L1" H 8500 1600 50 0000 C CNN
+F 1 "100mH" H 8500 1400 50 0000 C CNN
+F 2 "" H 8500 1500 60 0001 C CNN
+F 3 "" H 8500 1500 60 0001 C CNN
+ 1 8500 1500
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R10
+U 1 1 3E9D3DED
+P 8000 2900
+F 0 "R10" V 8080 2900 50 0000 C CNN
+F 1 "220" V 8000 2900 50 0000 C CNN
+F 2 "" H 8000 2900 60 0001 C CNN
+F 3 "" H 8000 2900 60 0001 C CNN
+ 1 8000 2900
+ 0 1 1 0
+$EndComp
+$Comp
+L 0 #GND01
+U 1 1 3E9D3DE2
+P 8400 3450
+F 0 "#GND01" H 8400 3350 40 0001 C CNN
+F 1 "0" H 8400 3380 40 0000 C CNN
+F 2 "" H 8400 3450 60 0001 C CNN
+F 3 "" H 8400 3450 60 0001 C CNN
+ 1 8400 3450
+ 1 0 0 -1
+$EndComp
+$Comp
+L CAP C3
+U 1 1 3E9D3DD3
+P 8400 3150
+F 0 "C3" V 8500 3300 50 0000 C CNN
+F 1 "10uF" V 8500 3000 50 0000 C CNN
+F 2 "" H 8400 3150 60 0000 C CNN
+F 3 "" H 8400 3150 60 0000 C CNN
+ 1 8400 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L 0 #GND02
+U 1 1 3E9D1EFF
+P 7050 3150
+F 0 "#GND02" H 7050 3050 40 0001 C CNN
+F 1 "0" H 7050 3080 40 0000 C CNN
+F 2 "" H 7050 3150 60 0001 C CNN
+F 3 "" H 7050 3150 60 0001 C CNN
+ 1 7050 3150
+ 1 0 0 -1
+$EndComp
+$Comp
+L C C2
+U 1 1 3E9D1EF8
+P 7050 2850
+F 0 "C2" V 7150 3000 50 0000 C CNN
+F 1 "1nF" V 7150 2700 50 0000 C CNN
+F 2 "" H 7050 2850 60 0001 C CNN
+F 3 "" H 7050 2850 60 0001 C CNN
+ 1 7050 2850
+ 1 0 0 -1
+$EndComp
+$Comp
+L 0 #GND03
+U 1 1 32E8B852
+P 7700 3550
+F 0 "#GND03" H 7700 3450 40 0001 C CNN
+F 1 "0" H 7700 3480 40 0000 C CNN
+F 2 "" H 7700 3550 60 0001 C CNN
+F 3 "" H 7700 3550 60 0001 C CNN
+ 1 7700 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L +12V #+12V6
+U 1 1 32E8B84A
+P 7800 900
+F 0 "#+12V6" H 7800 1100 40 0001 C CNN
+F 1 "+12V" H 7800 1050 40 0000 C CNN
+F 2 "" H 7800 900 60 0001 C CNN
+F 3 "" H 7800 900 60 0001 C CNN
+ 1 7800 900
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R8
+U 1 1 32E8B80E
+P 7700 3250
+F 0 "R8" V 7780 3250 50 0000 C CNN
+F 1 "2.2K" V 7700 3250 50 0000 C CNN
+F 2 "" H 7700 3250 60 0001 C CNN
+F 3 "" H 7700 3250 60 0001 C CNN
+ 1 7700 3250
+ 1 0 0 -1
+$EndComp
+$Comp
+L QNPN Q3
+U 1 1 32E8B7FC
+P 7550 2450
+F 0 "Q3" H 7450 2750 50 0000 C CNN
+F 1 "Q2N2222" H 7450 2650 50 0000 C CNN
+F 2 "" H 7550 2450 60 0001 C CNN
+F 3 "" H 7550 2450 60 0001 C CNN
+ 1 7550 2450
+ 1 0 0 -1
+$EndComp
+$Comp
+L 0 #GND04
+U 1 1 32CFC469
+P 3850 4250
+F 0 "#GND04" H 3850 4150 40 0001 C CNN
+F 1 "0" H 3850 4180 40 0000 C CNN
+F 2 "" H 3850 4250 60 0001 C CNN
+F 3 "" H 3850 4250 60 0001 C CNN
+ 1 3850 4250
+ 1 0 0 -1
+$EndComp
+$Comp
+L VSOURCE V2
+U 1 1 32CFC454
+P 3850 3500
+F 0 "V2" H 3850 3400 60 0000 C CNN
+F 1 "AC 0.1" H 3850 3600 60 0000 C CNN
+F 2 "" H 3850 3500 60 0001 C CNN
+F 3 "" H 3850 3500 60 0001 C CNN
+ 1 3850 3500
+ 1 0 0 -1
+$EndComp
+$Comp
+L C C1
+U 1 1 32CFC413
+P 4150 2800
+F 0 "C1" V 4250 2950 50 0000 C CNN
+F 1 "1UF" V 4250 2650 50 0000 C CNN
+F 2 "" H 4150 2800 60 0001 C CNN
+F 3 "" H 4150 2800 60 0001 C CNN
+ 1 4150 2800
+ 0 1 1 0
+$EndComp
+$Comp
+L +12V #+12V5
+U 1 1 32CFC34D
+P 2850 1500
+F 0 "#+12V5" H 2850 1700 40 0001 C CNN
+F 1 "+12V" H 2850 1650 40 0000 C CNN
+F 2 "" H 2850 1500 60 0001 C CNN
+F 3 "" H 2850 1500 60 0001 C CNN
+ 1 2850 1500
+ 1 0 0 -1
+$EndComp
+$Comp
+L 0 #GND05
+U 1 1 32CFC344
+P 2850 2950
+F 0 "#GND05" H 2850 2850 40 0001 C CNN
+F 1 "0" H 2850 2880 40 0000 C CNN
+F 2 "" H 2850 2950 60 0001 C CNN
+F 3 "" H 2850 2950 60 0001 C CNN
+ 1 2850 2950
+ 1 0 0 -1
+$EndComp
+$Comp
+L VSOURCE V1
+U 1 1 32CFC337
+P 2850 2200
+F 0 "V1" H 2850 2100 60 0000 C CNN
+F 1 "DC 12V" H 2850 2300 60 0000 C CNN
+F 2 "" H 2850 2200 60 0001 C CNN
+F 3 "" H 2850 2200 60 0001 C CNN
+ 1 2850 2200
+ 1 0 0 -1
+$EndComp
+$Comp
+L +12V #+12V4
+U 1 1 32CFC303
+P 6700 1750
+F 0 "#+12V4" H 6700 1950 40 0001 C CNN
+F 1 "+12V" H 6700 1900 40 0000 C CNN
+F 2 "" H 6700 1750 60 0001 C CNN
+F 3 "" H 6700 1750 60 0001 C CNN
+ 1 6700 1750
+ 1 0 0 -1
+$EndComp
+$Comp
+L +12V #+12V3
+U 1 1 32CFC2FF
+P 6100 1750
+F 0 "#+12V3" H 6100 1950 40 0001 C CNN
+F 1 "+12V" H 6100 1900 40 0000 C CNN
+F 2 "" H 6100 1750 60 0001 C CNN
+F 3 "" H 6100 1750 60 0001 C CNN
+ 1 6100 1750
+ 1 0 0 -1
+$EndComp
+$Comp
+L +12V #+12V2
+U 1 1 32CFC2FD
+P 5750 1750
+F 0 "#+12V2" H 5750 1950 40 0001 C CNN
+F 1 "+12V" H 5750 1900 40 0000 C CNN
+F 2 "" H 5750 1750 60 0001 C CNN
+F 3 "" H 5750 1750 60 0001 C CNN
+ 1 5750 1750
+ 1 0 0 -1
+$EndComp
+$Comp
+L +12V #+12V1
+U 1 1 32CFC2F7
+P 5100 1750
+F 0 "#+12V1" H 5100 1950 40 0001 C CNN
+F 1 "+12V" H 5100 1900 40 0000 C CNN
+F 2 "" H 5100 1750 60 0001 C CNN
+F 3 "" H 5100 1750 60 0001 C CNN
+ 1 5100 1750
+ 1 0 0 -1
+$EndComp
+$Comp
+L 0 #GND06
+U 1 1 32CFC2B8
+P 6700 3850
+F 0 "#GND06" H 6700 3750 40 0001 C CNN
+F 1 "0" H 6700 3780 40 0000 C CNN
+F 2 "" H 6700 3850 60 0001 C CNN
+F 3 "" H 6700 3850 60 0001 C CNN
+ 1 6700 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L 0 #GND07
+U 1 1 32CFC2B5
+P 5100 3850
+F 0 "#GND07" H 5100 3750 40 0001 C CNN
+F 1 "0" H 5100 3780 40 0000 C CNN
+F 2 "" H 5100 3850 60 0001 C CNN
+F 3 "" H 5100 3850 60 0001 C CNN
+ 1 5100 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R2
+U 1 1 32CFC293
+P 5100 3550
+F 0 "R2" V 5180 3550 50 0000 C CNN
+F 1 "10K" V 5100 3550 50 0000 C CNN
+F 2 "" H 5100 3550 60 0001 C CNN
+F 3 "" H 5100 3550 60 0001 C CNN
+ 1 5100 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R6
+U 1 1 32CFC288
+P 5100 2050
+F 0 "R6" H 5000 2250 50 0000 C CNN
+F 1 "22K" V 5100 2050 50 0000 C CNN
+F 2 "" H 5100 2050 60 0001 C CNN
+F 3 "" H 5100 2050 60 0001 C CNN
+ 1 5100 2050
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R5
+U 1 1 32CFC27F
+P 6700 2050
+F 0 "R5" H 6600 2250 50 0000 C CNN
+F 1 "22K" V 6700 2050 50 0000 C CNN
+F 2 "" H 6700 2050 60 0001 C CNN
+F 3 "" H 6700 2050 60 0001 C CNN
+ 1 6700 2050
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R1
+U 1 1 32CFC277
+P 6700 3550
+F 0 "R1" V 6780 3550 50 0000 C CNN
+F 1 "10K" V 6700 3550 50 0000 C CNN
+F 2 "" H 6700 3550 60 0001 C CNN
+F 3 "" H 6700 3550 60 0001 C CNN
+ 1 6700 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L 0 #GND08
+U 1 1 32CFC26C
+P 5950 3850
+F 0 "#GND08" H 5950 3750 40 0001 C CNN
+F 1 "0" H 5950 3780 40 0000 C CNN
+F 2 "" H 5950 3850 60 0001 C CNN
+F 3 "" H 5950 3850 60 0001 C CNN
+ 1 5950 3850
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R7
+U 1 1 32CFC25A
+P 5950 3550
+F 0 "R7" V 6030 3550 50 0000 C CNN
+F 1 "470" V 5950 3550 50 0000 C CNN
+F 2 "" H 5950 3550 60 0001 C CNN
+F 3 "" H 5950 3550 60 0001 C CNN
+ 1 5950 3550
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R4
+U 1 1 32CFC254
+P 6100 2050
+F 0 "R4" H 6000 2250 50 0000 C CNN
+F 1 "1K" V 6100 2050 50 0000 C CNN
+F 2 "" H 6100 2050 60 0001 C CNN
+F 3 "" H 6100 2050 60 0001 C CNN
+ 1 6100 2050
+ 1 0 0 -1
+$EndComp
+$Comp
+L R R3
+U 1 1 32CFC24C
+P 5750 2050
+F 0 "R3" H 5650 2250 50 0000 C CNN
+F 1 "1K" V 5750 2050 50 0000 C CNN
+F 2 "" H 5750 2050 60 0001 C CNN
+F 3 "" H 5750 2050 60 0001 C CNN
+ 1 5750 2050
+ 1 0 0 -1
+$EndComp
+$Comp
+L QNPN Q2
+U 1 1 32CFC230
+P 6250 2800
+F 0 "Q2" H 6150 3100 50 0000 C CNN
+F 1 "Q2N2222" H 6150 3000 50 0000 C CNN
+F 2 "" H 6250 2800 60 0001 C CNN
+F 3 "" H 6250 2800 60 0001 C CNN
+ 1 6250 2800
+ -1 0 0 -1
+$EndComp
+$Comp
+L QNPN Q1
+U 1 1 32CFC227
+P 5600 2800
+F 0 "Q1" H 5500 3100 50 0000 C CNN
+F 1 "Q2N2222" H 5500 3000 50 0000 C CNN
+F 2 "" H 5600 2800 60 0001 C CNN
+F 3 "" H 5600 2800 60 0001 C CNN
+ 1 5600 2800
+ 1 0 0 -1
+$EndComp
+Wire Wire Line
+ 9200 1500 8750 1500
+Connection ~ 7800 1500
+Wire Wire Line
+ 2850 2900 2850 2950
+Wire Wire Line
+ 3850 4200 3850 4250
+Wire Wire Line
+ 5100 3800 5100 3850
+Wire Wire Line
+ 5950 3800 5950 3850
+Wire Wire Line
+ 6100 3150 6100 3200
+Wire Wire Line
+ 5950 3200 5950 3300
+Connection ~ 5950 3200
+Wire Wire Line
+ 6700 3850 6700 3800
+Wire Wire Line
+ 7050 3150 7050 3100
+Wire Wire Line
+ 7700 3550 7700 3500
+Wire Wire Line
+ 8400 3450 8400 3400
+Wire Wire Line
+ 7700 2800 7700 3000
+Wire Wire Line
+ 7750 2900 7700 2900
+Connection ~ 7700 2900
+Wire Wire Line
+ 7700 2850 7450 2850
+Wire Wire Line
+ 7450 2850 7450 2800
+Connection ~ 7700 2850
+Wire Wire Line
+ 6700 1750 6700 1800
+Wire Wire Line
+ 6100 1750 6100 1800
+Wire Wire Line
+ 5750 1750 5750 1800
+Wire Wire Line
+ 5100 1750 5100 1800
+Wire Wire Line
+ 7800 900 7800 950
+$EndSCHEMATC