summaryrefslogtreecommitdiff
path: root/demos/pspice
diff options
context:
space:
mode:
authorsaurabhb172020-02-26 16:20:48 +0530
committerGitHub2020-02-26 16:20:48 +0530
commitb77f5d9d8097c38159c6f60917995d6af13bbe1c (patch)
tree1392c90227aeea231c1d86371131e04c40382918 /demos/pspice
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')
-rw-r--r--demos/pspice/pspice-cache.lib115
-rw-r--r--demos/pspice/pspice.cir33
-rw-r--r--demos/pspice/pspice.pro49
-rw-r--r--demos/pspice/pspice.sch498
4 files changed, 695 insertions, 0 deletions
diff --git a/demos/pspice/pspice-cache.lib b/demos/pspice/pspice-cache.lib
new file mode 100644
index 0000000..06bcb9c
--- /dev/null
+++ b/demos/pspice/pspice-cache.lib
@@ -0,0 +1,115 @@
+EESchema-LIBRARY Version 2.3
+#encoding utf-8
+#
+# +12V
+#
+DEF +12V #PWR 0 0 N Y 1 F N
+F0 "#PWR" 0 200 40 H I C CNN
+F1 "+12V" 0 150 40 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+X +12V 1 0 0 0 R 40 40 0 0 W N
+C 0 80 20 0 1 0 N
+P 2 0 1 0 0 60 0 0 N
+ENDDRAW
+ENDDEF
+#
+# 0
+#
+DEF 0 #GND 0 0 Y Y 1 F P
+F0 "#GND" 0 -100 40 H I C CNN
+F1 "0" 0 -70 40 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+P 4 0 1 0 -50 0 0 -50 50 0 -50 0 N
+X 0 1 0 0 0 R 40 40 1 1 W N
+ENDDRAW
+ENDDEF
+#
+# CAP
+#
+DEF CAP C 0 10 Y Y 1 F N
+F0 "C" 100 150 50 V V C CNN
+F1 "CAP" 100 -150 50 V V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+ALIAS C
+DRAW
+P 2 0 1 0 -150 -50 150 -50 N
+P 2 0 1 0 -150 50 150 50 N
+X ~ 1 0 250 200 D 40 40 1 1 P
+X ~ 2 0 -250 200 U 40 40 1 1 P
+ENDDRAW
+ENDDEF
+#
+# INDUCTOR
+#
+DEF INDUCTOR L 0 0 N Y 1 F N
+F0 "L" 0 100 50 H V C CNN
+F1 "INDUCTOR" 0 -50 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+A -150 0 50 1 1799 0 1 0 N -100 0 -200 0
+A -50 0 50 1 1799 0 1 0 N 0 0 -100 0
+A 50 0 50 1 1799 0 1 0 N 100 0 0 0
+A 150 0 50 1 1799 0 1 0 N 200 0 100 0
+X 1 1 -250 0 50 R 30 30 1 1 I
+X 2 2 250 0 50 L 30 30 1 1 I
+ENDDRAW
+ENDDEF
+#
+# QNPN
+#
+DEF QNPN Q 0 0 Y Y 1 F N
+F0 "Q" -100 300 50 H V C CNN
+F1 "QNPN" -100 200 50 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+P 2 0 0 0 0 0 150 -150 N
+P 4 0 0 0 150 -150 150 -50 50 -150 150 -150 F
+P 2 0 1 0 0 -150 0 150 N
+P 2 0 1 0 0 0 150 150 N
+P 4 0 1 0 -100 -150 0 -150 0 -150 0 -150 N
+X C 1 150 350 200 D 40 40 1 1 P
+X B 2 -300 0 300 R 40 40 1 1 I
+X E 3 150 -350 200 U 40 40 1 1 P
+X Substrat 4 -100 -350 200 U 50 20 1 1 I
+ENDDRAW
+ENDDEF
+#
+# R
+#
+DEF R R 0 0 N Y 1 F N
+F0 "R" 80 0 50 V V C CNN
+F1 "R" 0 0 50 V V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+S -40 150 40 -150 0 1 0 N
+X ~ 1 0 250 100 D 60 60 1 1 P
+X ~ 2 0 -250 100 U 60 60 1 1 P
+ENDDRAW
+ENDDEF
+#
+# VSOURCE
+#
+DEF VSOURCE V 0 40 Y Y 1 F N
+F0 "V" 0 -100 60 H V C CNN
+F1 "VSOURCE" 0 100 60 H V C CNN
+F2 "" 0 0 60 H V C CNN
+F3 "" 0 0 60 H V C CNN
+DRAW
+C 0 0 400 0 1 0 N
+T 0 -320 -10 100 0 0 1 V Normal 0 C C
+P 2 0 1 0 -250 -250 -250 150 F
+P 3 0 1 0 -300 150 -250 250 -200 150 F
+X E1 1 0 700 300 D 60 60 1 1 I
+X E2 2 0 -700 300 U 60 60 1 1 I
+ENDDRAW
+ENDDEF
+#
+#End Library
diff --git a/demos/pspice/pspice.cir b/demos/pspice/pspice.cir
new file mode 100644
index 0000000..0c78a13
--- /dev/null
+++ b/demos/pspice/pspice.cir
@@ -0,0 +1,33 @@
+* EESchema Netlist Version 1.1 (Spice format) creation date: 05/01/2014 19:00:38
+
+* To exclude a component from the Spice Netlist add [Spice_Netlist_Enabled] user FIELD set to: N
+* To reorder the component spice node sequence add [Spice_Node_Sequence] user FIELD and define sequence: 2,1,0
+
+*Sheet Name:/
+R12 /VOUT Net-_L1-Pad1_ 22K
+R11 +12V Net-_L1-Pad1_ 100
+L1 Net-_L1-Pad1_ /VOUT 100mH
+R10 Net-_C3-Pad1_ Net-_Q3-Pad3_ 220
+C3 Net-_C3-Pad1_ 0 10uF
+C2 Net-_C2-Pad1_ 0 1nF
+R8 Net-_Q3-Pad3_ 0 2.2K
+Q3 /VOUT Net-_C2-Pad1_ Net-_Q3-Pad3_ Net-_Q3-Pad3_ Q2N2222
+V2 Net-_C1-Pad2_ 0 AC 0.1
+C1 /VIN Net-_C1-Pad2_ 1UF
+V1 +12V 0 DC 12V
+R2 /VIN 0 10K
+R6 +12V /VIN 22K
+R5 +12V Net-_Q2-Pad2_ 22K
+R1 Net-_Q2-Pad2_ 0 10K
+R7 Net-_Q1-Pad3_ 0 470
+R4 +12V Net-_C2-Pad1_ 1K
+R3 +12V Net-_Q1-Pad1_ 1K
+Q2 Net-_C2-Pad1_ Net-_Q2-Pad2_ Net-_Q1-Pad3_ Net-_Q1-Pad3_ Q2N2222
+Q1 Net-_Q1-Pad1_ /VIN Net-_Q1-Pad3_ Net-_Q1-Pad3_ Q2N2222
+
+.model Q2N2222 npn (bf=200)
+.print tran v(nodes)
+.print dc v(nodes)
+.tran 10 10000 10 > pspice.dat
+
+.end
diff --git a/demos/pspice/pspice.pro b/demos/pspice/pspice.pro
new file mode 100644
index 0000000..3151f0d
--- /dev/null
+++ b/demos/pspice/pspice.pro
@@ -0,0 +1,49 @@
+update=05/01/2014 19:00:46
+last_client=eeschema
+[general]
+version=1
+RootSch=pspice.sch
+BoardNm=pspice.brd
+[pcbnew]
+version=1
+PadDrlX=320
+PadDimH=600
+PadDimV=600
+BoardThickness=630
+SgPcb45=1
+TxtPcbV=800
+TxtPcbH=600
+TxtModV=600
+TxtModH=600
+TxtModW=120
+VEgarde=100
+DrawLar=150
+EdgeLar=150
+TxtLar=120
+MSegLar=150
+LastNetListRead=
+[pcbnew/libraries]
+LibDir=
+LibName1=sockets
+LibName2=connect
+LibName3=discret
+LibName4=pin_array
+LibName5=divers
+LibName6=libcms
+LibName7=display
+LibName8=valves
+LibName9=led
+LibName10=dip_sockets
+[eeschema]
+version=1
+PageLayoutDescrFile=
+SubpartIdSeparator=0
+SubpartFirstId=65
+LibDir=
+NetFmtName=Spice
+RptD_X=0
+RptD_Y=100
+RptLab=1
+LabSize=60
+[eeschema/libraries]
+LibName1=pspice
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