Si7li/ltspice-spice-circuits-no-aug huggingface dataset:
* SPICE netlist
V1 N003 0 10
I1 0 a 5m
R1 a N003 500
R2 b a 1k
R3 N002 b 5.6k
R4 N002 p 1k
R5 0 N002 10k
R6 N001 N002 3.3k
B1 0 b I=2*(V(a)-V(b))
B2 N001 a V=3*I(R1)
Vs N004 0 0
R7 N004 p 1k
;op
.dc Vs 0 10 0.1

* LTspice schematic (.asc)
Version 4
SHEET 1 800 368
WIRE -208 -184 -240 -184
WIRE -80 -184 -128 -184
WIRE 96 -184 0 -184
WIRE -368 -72 -400 -72
WIRE -240 -72 -240 -184
WIRE -240 -72 -288 -72
WIRE -208 -72 -240 -72
WIRE -80 -72 -128 -72
WIRE -32 -72 -80 -72
WIRE 96 -72 96 -184
WIRE 96 -72 48 -72
WIRE 176 -72 96 -72
WIRE 272 -72 256 -72
WIRE 304 -72 272 -72
WIRE 400 -72 384 -72
WIRE -400 -8 -400 -72
WIRE -240 -8 -240 -72
WIRE -80 -8 -80 -72
WIRE 96 -8 96 -72
WIRE 400 -8 400 -72
WIRE -400 136 -400 72
WIRE -240 136 -240 72
WIRE -240 136 -400 136
WIRE -144 136 -240 136
WIRE -80 136 -80 72
WIRE -80 136 -144 136
WIRE 96 136 96 72
WIRE 96 136 -80 136
WIRE 400 136 400 72
WIRE 400 136 96 136
WIRE -144 184 -144 136
FLAG -240 -72 a
FLAG -80 -72 b
FLAG -144 184 0
FLAG 272 -72 p
SYMBOL voltage -400 -24 R0
SYMATTR InstName V1
SYMATTR Value 10
SYMBOL current -240 72 R180
SYMATTR InstName I1
SYMATTR Value 5m
SYMBOL res -272 -88 R90
SYMATTR InstName R1
SYMATTR Value 500
SYMBOL res -112 -88 R90
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL res 64 -88 R90
SYMATTR InstName R3
SYMATTR Value 5.6k
SYMBOL res 160 -56 R270
SYMATTR InstName R4
SYMATTR Value 1k
SYMBOL res 112 88 R180
SYMATTR InstName R5
SYMATTR Value 10k
SYMBOL res -96 -168 R270
SYMATTR InstName R6
SYMATTR Value 3.3k
SYMBOL bi -80 72 R180
SYMATTR InstName B1
SYMATTR Value I=2*(V(a)-V(b))
SYMBOL bv -112 -184 R90
SYMATTR InstName B2
SYMATTR Value V=3*I(R1)
SYMBOL voltage 400 -24 R0
SYMATTR InstName Vs
SYMATTR Value 0
SYMBOL res 400 -88 R90
SYMATTR InstName R7
SYMATTR Value 1k
* SPICE netlist
Q1 VC VB VE 0 My2n3904
VEE N001 0 -5
VCC VC 0 5
R3 N001 VE 8.06k
R2 VB N001 57.6k
R1 0 VB 76.8k
+IS=1.26532e-10 BF=206.302 NF=1.5 VAF=1000
+IKF=0.0272221 ISE=2.30771e-09 NE=3.31052 BR=20.6302
+NR=2.89609 VAR=9.39809 IKR=0.272221 ISC=2.30771e-09
+NC=1.9876 RB=5.8376 IRB=50.3624 RBM=0.634251
+RE=0.0001 RC=2.65711 XTB=0.1 XTI=1
+EG=1.05 CJE=4.64214e-12 VJE=0.4 MJE=0.256227
+TF=4.19578e-10 XTF=0.906167 VTF=8.75418 ITF=0.0105823
+CJC=3.76961e-12 VJC=0.4 MJC=0.238109 XCJC=0.8
+FC=0.512134 CJS=0 VJS=0.75 MJS=0.5
+TR=6.82023e-08 PTF=0 KF=0 AF=1
.dc VCC -3.9 -0.6 0.3
+IS=7.75521e-12 BF=194.093 NF=1.35509 VAF=156.436
+IKF=0.0660057 ISE=1.88546e-12 NE=1.81673 BR=3.41317
+NR=1.5 VAR=5.86061 IKR=1.70599 ISC=7.64281e-10
+NC=1.92376 RB=6.48961 IRB=0.1 RBM=0.1
+RE=0.0001 RC=2.45044 XTB=0.1 XTI=1
+EG=1.05 CJE=6.11928e-12 VJE=0.4 MJE=0.248812
+TF=5.21843e-10 XTF=0.932702 VTF=9.1046 ITF=0.0106472
+CJC=6.85007e-12 VJC=0.4 MJC=0.279018 XCJC=0.9
+FC=0.478887 CJS=0 VJS=0.75 MJS=0.5
+TR=4.30605e-07 PTF=0 KF=0 AF=1

* LTspice schematic (.asc)
Version 4
SHEET 1 640 800
WIRE 320 -400 128 -400
WIRE 320 -320 320 -400
WIRE -224 -224 -320 -224
WIRE -224 -176 -224 -224
WIRE -320 -160 -320 -224
WIRE -320 -144 -320 -160
WIRE 320 -144 320 -240
WIRE 128 -112 128 -400
WIRE 320 -112 320 -144
WIRE 128 -80 128 -112
WIRE -224 -32 -224 -96
WIRE 32 -32 -224 -32
WIRE 64 -32 32 -32
WIRE 128 48 128 16
WIRE -224 96 -224 -32
WIRE 128 96 128 48
WIRE -224 224 -224 176
WIRE 128 224 128 176
WIRE 128 224 -224 224
WIRE 128 272 128 224
WIRE 128 384 128 352
WIRE 128 400 128 384
FLAG -320 -144 0
FLAG 320 -112 0
FLAG 128 400 0
FLAG 128 384 X1
FLAG -320 -160 X3
FLAG 320 -144 X2
FLAG 128 -112 VC
FLAG 128 48 VE
FLAG 32 -32 VB
SYMBOL npn 64 -80 R0
SYMATTR InstName Q1
SYMATTR Value My2n3904
SYMBOL voltage 128 256 R0
SYMATTR InstName VEE
SYMATTR Value -5
SYMBOL voltage 320 -336 R0
SYMATTR InstName VCC
SYMATTR Value 5
SYMBOL res 144 192 R180
SYMATTR InstName R3
SYMATTR Value 8.06k
SYMBOL res -240 80 R0
SYMATTR InstName R2
SYMATTR Value 57.6k
SYMBOL res -240 -192 R0
SYMATTR InstName R1
SYMATTR Value 76.8k
* SPICE netlist
V1 IN 0 24
C1 N001 0 1
C2 OUT 0 10
R5 OUT 0 11
XU2 NC_01 0 NC_02 0 OUT OUT N001 IN IN MAXM15062 ;pnba LX)GND)_RESET)MODE)OUT)FB)VCC)EN/UVLO)Vin
.tran 8m startup

* LTspice schematic (.asc)
Version 4
SHEET 1 576 400
WIRE -256 -200 -288 -200
WIRE -192 -200 -256 -200
WIRE -176 -200 -192 -200
WIRE 128 -200 112 -200
WIRE 192 -200 128 -200
WIRE 240 -200 192 -200
WIRE 288 -200 240 -200
WIRE -288 -184 -288 -200
WIRE 192 -184 192 -200
WIRE 288 -184 288 -200
WIRE -192 -88 -192 -200
WIRE -176 -88 -192 -88
WIRE 128 -88 128 -200
WIRE 128 -88 112 -88
WIRE 192 -88 192 -120
WIRE 288 -88 288 -104
WIRE -288 -72 -288 -104
WIRE -256 24 -272 24
WIRE -176 24 -192 24
WIRE -176 136 -192 136
WIRE -32 200 -32 184
FLAG -288 -72 0
FLAG -272 24 0
FLAG 192 -88 0
FLAG 288 -88 0
FLAG -256 -200 IN
FLAG 240 -200 OUT
FLAG -32 200 0
FLAG -192 136 0
SYMBOL voltage -288 -200 R0
SYMATTR InstName V1
SYMATTR Value 24
SYMBOL cap -192 8 R90
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL cap 176 -184 R0
SYMATTR InstName C2
SYMATTR Value 10
SYMBOL res 272 -200 R0
SYMATTR InstName R5
SYMATTR Value 11
SYMBOL MAXM15062 -32 -40 R0
SYMATTR InstName U2
* SPICE netlist
R1 N009 N010 3.9
R2 N011 N010 3.9
R3 N004 N003 10K
R4 N012 N003 10K
R5 N013 N003 10K
D1 N006 N007 MMSD4148
R6 N006 N005 1K
C1 N005 0 10p
V1 N008 0 PULSE(0 5 0 2n 2n 5u 10u)
V2 N003 0 5
V3 N001 0 15
V4 N002 0 80
MQ1 N007 N010 0 0 BSC12DN20NS3
R7 N002 N007 1
V5 0 N014 5
XU1 0 N008 0 N012 N013 N004 N003 N014 N005 0 N011 N001 N009 N010 ADuM4135 ;pnba Vss1)VI+)VI-)Ready)_Fault)_Reset)Vdd1)Vss2)DeSat)GND2)Vout_OFF)Vdd2)Vout_ON)GATE_SENSE
.tran 40u

* LTspice schematic (.asc)
Version 4
SHEET 1 1456 576
WIRE 248 -288 -8 -288
WIRE 248 -272 248 -288
WIRE 728 -272 616 -272
WIRE 616 -256 616 -272
WIRE -376 -240 -472 -240
WIRE -104 -240 -376 -240
WIRE -472 -224 -472 -240
WIRE 728 -224 728 -272
WIRE -104 -208 -104 -240
WIRE -8 -208 -8 -288
WIRE 248 -176 248 -192
WIRE -376 -144 -376 -240
WIRE -312 -144 -376 -144
WIRE -200 -144 -232 -144
WIRE 296 -144 104 -144
WIRE 360 -144 296 -144
WIRE 472 -144 440 -144
WIRE 616 -144 616 -176
WIRE 616 -144 536 -144
WIRE -472 -128 -472 -144
WIRE 296 -128 296 -144
WIRE 728 -128 728 -144
WIRE -712 -64 -728 -64
WIRE -200 -64 -632 -64
WIRE 120 -64 104 -64
WIRE 232 -64 200 -64
WIRE 296 -48 296 -64
WIRE -200 16 -216 16
WIRE 120 16 104 16
WIRE 232 16 232 -64
WIRE 232 16 200 16
WIRE 616 16 616 -144
WIRE -376 96 -376 -144
WIRE -360 96 -376 96
WIRE -200 96 -280 96
WIRE 232 96 232 16
WIRE 232 96 104 96
WIRE 568 96 232 96
WIRE 616 128 616 112
WIRE -376 176 -376 96
WIRE -296 176 -376 176
WIRE -200 176 -216 176
WIRE 152 176 104 176
WIRE 216 176 152 176
WIRE 152 192 152 176
WIRE -104 256 -104 240
WIRE -8 288 -8 240
WIRE 152 288 152 272
WIRE 152 288 -8 288
FLAG 296 -48 0
FLAG -104 256 0
FLAG -216 16 0
FLAG -728 -64 0
FLAG -472 -128 0
FLAG 216 176 0
FLAG 616 128 0
FLAG 248 -176 0
FLAG 728 -128 0
SYMBOL res 104 -48 R270
SYMATTR InstName R1
SYMATTR Value 3.9
SYMBOL res 104 32 R270
SYMATTR InstName R2
SYMATTR Value 3.9
SYMBOL res -216 -160 R90
SYMATTR InstName R3
SYMATTR Value 10K
SYMBOL res -264 80 R90
SYMATTR InstName R4
SYMATTR Value 10K
SYMBOL res -200 160 R90
SYMATTR InstName R5
SYMATTR Value 10K
SYMBOL diode 472 -160 M90
SYMATTR InstName D1
SYMATTR Value MMSD4148
SYMBOL res 456 -160 R90
SYMATTR InstName R6
SYMATTR Value 1K
SYMBOL cap 280 -128 R0
SYMATTR InstName C1
SYMATTR Value 10p
SYMBOL voltage -616 -64 R90
SYMATTR Value PULSE(0 5 0 2n 2n 5u 10u)
SYMATTR InstName V1
SYMBOL voltage -472 -240 R0
SYMATTR InstName V2
SYMATTR Value 5
SYMBOL voltage 248 -288 R0
SYMATTR InstName V3
SYMATTR Value 15
SYMBOL voltage 728 -240 R0
SYMATTR InstName V4
SYMATTR Value 80
SYMBOL nmos 568 16 R0
SYMATTR InstName Q1
SYMATTR Value BSC12DN20NS3
SYMBOL res 600 -272 R0
SYMATTR InstName R7
SYMATTR Value 1
SYMBOL voltage 152 176 R0
SYMATTR InstName V5
SYMATTR Value 5
SYMBOL ADUm4135 -56 -64 R0
SYMATTR InstName U1
* SPICE netlist
R1 N001 N002 {Ra}
R2 N003 N001 8.2k
R3 OUT N001 4.7k
C1 N001 0 220pF
C2 OUT N003 68pF
V1 N002 0 PULSE(-1 1 0 2.5u 2.5u 0 5u) AC 1
V2 VCC 0 2.5V
V3 VEE 0 -2.5V
XU1 0 N003 VCC VEE OUT level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
R4 OUT 0 1k
.tran 0 100u 50u
;ac oct 10 10 10Meg
.step param Ra list 1k 5k 10k 20k

* LTspice schematic (.asc)
Version 4
SHEET 1 752 240
WIRE 8 -104 -24 -104
WIRE 120 -104 88 -104
WIRE 296 -104 120 -104
WIRE 120 -88 120 -104
WIRE -360 -72 -376 -72
WIRE -280 -72 -296 -72
WIRE -376 -56 -376 -72
WIRE -296 -56 -296 -72
WIRE -120 -8 -168 -8
WIRE -24 -8 -24 -104
WIRE -24 -8 -40 -8
WIRE 8 -8 -24 -8
WIRE 120 -8 120 -24
WIRE 120 -8 88 -8
WIRE 200 -8 120 -8
WIRE 296 8 296 -104
WIRE 296 8 264 8
WIRE 328 8 296 8
WIRE 376 8 328 8
WIRE -168 24 -168 -8
WIRE -24 24 -24 -8
WIRE 200 24 152 24
WIRE 328 24 328 8
WIRE -376 56 -376 24
WIRE -296 56 -296 24
WIRE -168 120 -168 104
WIRE -24 120 -24 88
WIRE 152 120 152 24
WIRE 328 120 328 104
FLAG -168 120 0
FLAG -24 120 0
FLAG 152 120 0
FLAG -376 56 0
FLAG -296 56 0
FLAG -376 -72 VCC
FLAG -296 -72 VEE
FLAG 232 -24 VCC
FLAG 232 40 VEE
FLAG 328 120 0
FLAG 376 8 OUT
IOPIN 208 160 Out
SYMBOL res -24 -24 R90
SYMATTR InstName R1
SYMATTR Value {Ra}
SYMBOL res 104 -24 R90
SYMATTR InstName R2
SYMATTR Value 8.2k
SYMBOL res 104 -120 R90
SYMATTR InstName R3
SYMATTR Value 4.7k
SYMBOL cap -40 24 R0
SYMATTR InstName C1
SYMATTR Value 220pF
SYMBOL cap 104 -88 R0
SYMATTR InstName C2
SYMATTR Value 68pF
SYMBOL voltage -168 8 R0
SYMATTR Value PULSE(-1 1 0 2.5u 2.5u 0 5u)
SYMATTR Value2 AC 1
SYMATTR InstName V1
SYMBOL voltage -376 -72 R0
SYMATTR InstName V2
SYMATTR Value 2.5V
SYMBOL voltage -296 -72 R0
SYMATTR InstName V3
SYMATTR Value -2.5V
SYMBOL Opamps\\UniversalOpamp2 232 8 R0
SYMATTR InstName U1
SYMBOL res 312 8 R0
SYMATTR InstName R4
SYMATTR Value 1k
* SPICE netlist
Q1 N001 P001 0 0 BC547C
Rload power N001 220
Rb P001 control 10k
V1 power 0 24
V2 control 0 PULSE(0 5 1 1m 1m 1
.tran 0 3

* LTspice schematic (.asc)
Version 4
SHEET 1 496 256
WIRE 248 -128 72 -128
WIRE 248 -112 248 -128
WIRE 248 0 248 -32
WIRE 104 48 72 48
WIRE 248 128 248 96
FLAG 248 128 0
FLAG 72 48 control
IOPIN 64 256 In
FLAG 72 -128 power
IOPIN 64 80 In
FLAG -248 16 0
FLAG -248 -64 power
IOPIN -256 144 Out
FLAG -152 16 0
FLAG -152 -64 control
IOPIN -160 144 Out
SYMBOL npn 184 0 R0
SYMATTR InstName Q1
SYMATTR Value BC547C
SYMBOL Res 232 -128 R0
SYMATTR InstName Rload
SYMATTR Value 220
SYMBOL Res 200 32 R90
SYMATTR InstName Rb
SYMATTR Value 10k
SYMBOL Voltage -248 -80 R0
SYMATTR InstName V1
SYMATTR Value 24
SYMBOL Voltage -152 -80 R0
SYMATTR InstName V2
SYMATTR Value PULSE(0 5 1 1m 1m 1
* SPICE netlist
V1 N001 0 3.3
V2 N007 0 .6
G1 0 OUT N007 N004 1
V3 N002 0 PULSE(0 2.4 0 1n 1n .5m 1m)
V4 N003 0 PULSE(0 2.4 0 1n 1n 1m 2m)
V5 N005 0 PULSE(0 2.4 0 1n 1n 2m 4m)
V6 N006 0 PULSE(0 2.4 0 1n 1n 4m 8m)
C1 OUT 0 .1
V7 N008 0 PULSE(0 2.4 0 1n 1n 8m 16m)
XU1 N005 N006 N001 0 N004 OUT N002 N003 N008 LTC1706-61 ;pnba VID2)VID3)Vcc)GND)FB)Sense)VID0)VID1)VID4
.tran 16m

* LTspice schematic (.asc)
Version 4
SHEET 1 1008 496
WIRE -408 -248 -488 -248
WIRE -24 -248 -408 -248
WIRE -488 -232 -488 -248
WIRE -184 -184 -344 -184
WIRE -344 -168 -344 -184
WIRE -488 -152 -488 -168
WIRE -184 -152 -184 -184
WIRE -24 -152 -24 -248
WIRE 504 -88 40 -88
WIRE -344 -72 -344 -88
WIRE 504 -72 504 -88
WIRE 392 -40 40 -40
WIRE 392 -8 392 -40
WIRE -248 8 -360 8
WIRE 280 8 40 8
WIRE -408 24 -408 -248
WIRE 504 24 504 8
WIRE -360 40 -360 8
WIRE 280 40 280 8
WIRE 184 56 40 56
WIRE 184 88 184 56
WIRE 392 88 392 72
WIRE -360 104 -360 88
WIRE 88 104 40 104
WIRE 280 136 280 120
WIRE 88 152 88 104
WIRE -104 168 -104 152
WIRE 184 184 184 168
WIRE -408 200 -408 104
WIRE -360 200 -360 184
WIRE 88 248 88 232
FLAG -344 -72 0
FLAG -104 168 0
FLAG -360 200 0
FLAG -408 200 0
FLAG 504 24 0
FLAG 392 88 0
FLAG 280 136 0
FLAG 184 184 0
FLAG -488 -152 0
FLAG -488 -248 OUT
FLAG 88 248 0
SYMBOL voltage -344 -184 R0
SYMATTR InstName V1
SYMATTR Value 3.3
SYMBOL voltage -360 88 R0
SYMATTR InstName V2
SYMATTR Value .6
SYMBOL g2 -408 8 M0
SYMATTR InstName G1
SYMATTR Value 1
SYMBOL voltage 504 -88 R0
SYMATTR InstName V3
SYMATTR Value PULSE(0 2.4 0 1n 1n .5m 1m)
SYMBOL voltage 392 -24 R0
SYMATTR InstName V4
SYMATTR Value PULSE(0 2.4 0 1n 1n 1m 2m)
SYMBOL voltage 280 24 R0
SYMATTR InstName V5
SYMATTR Value PULSE(0 2.4 0 1n 1n 2m 4m)
SYMBOL voltage 184 72 R0
SYMATTR InstName V6
SYMATTR Value PULSE(0 2.4 0 1n 1n 4m 8m)
SYMBOL cap -504 -232 R0
SYMATTR InstName C1
SYMATTR Value .1
SYMBOL voltage 88 136 R0
SYMATTR InstName V7
SYMATTR Value PULSE(0 2.4 0 1n 1n 8m 16m)
SYMBOL PowerProducts\\LTC1706-61 -104 8 R0
SYMATTR InstName U1
* SPICE netlist
C1 N001 0 56p
L1 N001 N002 160n
L2 N002 N003 180n
C2 N002 0 91p
C3 N003 0 91p
L3 N003 OUT 160n
C4 OUT 0 56p
R1 N001 IN 50
R2 OUT 0 50

* LTspice schematic (.asc)
Version 4.1
SHEET 1 688 200
WIRE -248 -72 -264 -72
WIRE -216 -72 -248 -72
WIRE -104 -72 -136 -72
WIRE -72 -72 -104 -72
WIRE 40 -72 8 -72
WIRE 72 -72 40 -72
WIRE 184 -72 152 -72
WIRE 296 -72 184 -72
WIRE 344 -72 296 -72
WIRE 296 -56 296 -72
WIRE -248 -24 -248 -72
WIRE -104 -24 -104 -72
WIRE 40 -24 40 -72
WIRE 184 -24 184 -72
WIRE -248 72 -248 40
WIRE -104 72 -104 40
WIRE -104 72 -248 72
WIRE 40 72 40 40
WIRE 40 72 -104 72
WIRE 184 72 184 40
WIRE 184 72 40 72
WIRE 296 72 296 24
WIRE 296 72 184 72
WIRE 40 88 40 72
FLAG -344 -72 IN
IOPIN -160 112 In
FLAG 40 88 0
FLAG 344 -72 OUT
IOPIN 528 112 Out
SYMBOL cap -264 -24 R0
SYMATTR InstName C1
SYMATTR Value 56p
SYMBOL ind -232 -56 R270
SYMATTR InstName L1
SYMATTR Value 160n
SYMBOL ind -88 -56 R270
SYMATTR InstName L2
SYMATTR Value 180n
SYMBOL cap -120 -24 R0
SYMATTR InstName C2
SYMATTR Value 91p
SYMBOL cap 24 -24 R0
SYMATTR InstName C3
SYMATTR Value 91p
SYMBOL ind 56 -56 R270
SYMATTR InstName L3
SYMATTR Value 160n
SYMBOL cap 168 -24 R0
SYMATTR InstName C4
SYMATTR Value 56p
SYMBOL res -248 -88 R90
SYMATTR InstName R1
SYMATTR Value 50
SYMBOL res 280 -72 R0
SYMATTR InstName R2
SYMATTR Value 50
* SPICE netlist
V1 N001 0 16
D1 N001 N002 1N4007
D2 0 N003 UMZ5_1N
R1 N003 0 100k
R3 N003 0 2K
C1 N003 0 1n
R2 N003 N002 1K
.tran 1

* LTspice schematic (.asc)
Version 4.1
SHEET 1 880 208
WIRE -360 -88 -440 -88
WIRE -200 -88 -280 -88
WIRE -88 -88 -136 -88
WIRE 40 -88 -8 -88
WIRE 120 -88 40 -88
WIRE 280 -88 120 -88
WIRE 440 -88 280 -88
WIRE 40 -56 40 -88
WIRE 120 -56 120 -88
WIRE 280 -56 280 -88
WIRE 440 -40 440 -88
WIRE -440 8 -440 -88
WIRE 40 40 40 8
WIRE 120 40 120 24
WIRE 120 40 40 40
WIRE 280 40 280 8
WIRE 280 40 120 40
WIRE 280 56 280 40
WIRE 440 104 440 40
FLAG -440 8 0
FLAG 280 56 0
FLAG 440 104 0
SYMBOL voltage -264 -88 R90
SYMATTR InstName V1
SYMATTR Value 16
SYMBOL diode -200 -72 R270
SYMATTR InstName D1
SYMATTR Value 1N4007
SYMBOL zener 296 8 R180
SYMATTR InstName D2
SYMATTR Value UMZ5_1N
SYMBOL res 424 -56 R0
SYMATTR InstName R1
SYMATTR Value 100k
SYMBOL res 104 -72 R0
SYMATTR InstName R3
SYMATTR Value 2K
SYMBOL cap 24 -56 R0
SYMATTR InstName C1
SYMATTR Value 1n
SYMBOL res 8 -104 R90
SYMATTR InstName R2
SYMATTR Value 1K
* SPICE netlist
VSG 0 N001 0
VSD 0 N003 2
VBS N002 0 0
M1 N003 N001 0 N002 P_1u L=1u W=10u
.dc VSG 0 2 VBS 0 5 1
.include cmosedu_models.txt

* LTspice schematic (.asc)
Version 4
SHEET 1 400 288
WIRE -72 -144 -200 -144
WIRE 152 -144 -72 -144
WIRE 200 -144 152 -144
WIRE -200 -128 -200 -144
WIRE 200 -112 200 -144
WIRE -72 -48 -72 -144
WIRE -200 -32 -200 -48
WIRE -120 -32 -200 -32
WIRE 8 0 -72 0
WIRE 152 0 152 -144
WIRE 152 0 88 0
WIRE 152 48 152 0
WIRE -72 144 -72 48
WIRE 152 144 152 128
WIRE 152 144 -72 144
FLAG 200 -112 0
SYMBOL voltage -200 -144 R0
SYMATTR InstName VSG
SYMATTR Value 0
SYMBOL voltage 152 32 R0
SYMATTR InstName VSD
SYMATTR Value 2
SYMBOL voltage -8 0 M90
SYMATTR InstName VBS
SYMATTR Value 0
SYMBOL pmos4 -120 48 M180
SYMATTR Value2 L=1u W=10u
SYMATTR InstName M1
SYMATTR Value P_1u
* SPICE netlist
R1 N002 0 10k
V1 N003 0 SINE(0 0.2 10KHz)
V2 VCC 0 5v
XU1 0 N001 VCC VSS N002 OP727 ;pnba In+)In-)V+)V-)OUT
R2 N001 N003 1k
R3 N002 N001 10k
V3 0 VSS 5v
.tran 1ms

* LTspice schematic (.asc)
Version 4
SHEET 1 768 352
WIRE 224 -64 160 -64
WIRE 384 -64 304 -64
WIRE 256 -16 256 -128
WIRE 80 0 -64 0
WIRE 160 0 160 -64
WIRE 224 0 160 0
WIRE 384 16 384 -64
WIRE 384 16 288 16
WIRE 224 32 160 32
WIRE 384 48 384 16
WIRE 160 80 160 32
WIRE 256 128 256 48
WIRE -64 144 -64 80
WIRE 384 176 384 128
FLAG 384 176 0
FLAG -64 144 0
FLAG 256 -128 VCC
FLAG -96 -160 VCC
FLAG -96 -80 0
FLAG 160 80 0
FLAG 256 128 VSS
FLAG -384 -160 0
FLAG -384 -80 VSS
SYMBOL res 368 32 R0
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL voltage -64 -16 R0
SYMATTR InstName V1
SYMATTR Value SINE(0 0.2 10KHz)
SYMBOL voltage -96 -176 R0
SYMATTR InstName V2
SYMATTR Value 5v
SYMBOL Opamps\\OP727 256 -48 R0
SYMATTR InstName U1
SYMBOL res 176 -16 R90
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL res 320 -80 R90
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL voltage -384 -176 R0
SYMATTR InstName V3
SYMATTR Value 5v
* SPICE netlist
L1 IN N001 150 Rser=0.02 Rpar=5000
D1 N001 OUT 1N5819
R1 OUT N002 10.7K
R2 N002 0 1.24K
R3 N003 N004 1K
C2 OUT 0 500 Rser=15M
C3 N004 0 1
V1 IN 0 5
XU1 N003 N002 0 N001 IN LT1072 ;pnba Vc)FB)GND)SW)Vin
Rload OUT 0 48
.tran 25m startup

* LTspice schematic (.asc)
Version 4
SHEET 1 800 368
WIRE -176 -184 -400 -184
WIRE -112 -184 -176 -184
WIRE 16 -184 -32 -184
WIRE 64 -184 16 -184
WIRE 176 -184 128 -184
WIRE 288 -184 176 -184
WIRE 400 -184 288 -184
WIRE -400 -168 -400 -184
WIRE 288 -168 288 -184
WIRE 400 -168 400 -184
WIRE -176 -120 -176 -184
WIRE 176 -104 176 -184
WIRE -400 -72 -400 -88
WIRE 288 -72 288 -104
WIRE 400 -72 400 -88
WIRE 16 -40 16 -184
WIRE 16 -40 -48 -40
WIRE 176 24 176 -24
WIRE 176 24 -48 24
WIRE 176 40 176 24
WIRE -32 88 -48 88
WIRE 64 88 48 88
WIRE 64 104 64 88
WIRE 176 136 176 120
WIRE -176 184 -176 168
WIRE 64 184 64 168
FLAG 400 -184 OUT
FLAG 176 136 0
FLAG 288 -72 0
FLAG 400 -72 0
FLAG 64 184 0
FLAG -176 184 0
FLAG -400 -72 0
FLAG -400 -184 IN
SYMBOL IND -128 -168 R270
SYMATTR InstName L1
SYMATTR Value 150
SYMATTR SpiceLine Rser=0.02 Rpar=5000
SYMBOL schottky 64 -168 R270
SYMATTR InstName D1
SYMATTR Value 1N5819
SYMBOL RES 160 -120 R0
SYMATTR InstName R1
SYMATTR Value 10.7K
SYMBOL RES 160 24 R0
SYMATTR InstName R2
SYMATTR Value 1.24K
SYMBOL RES -48 104 R270
SYMATTR InstName R3
SYMATTR Value 1K
SYMBOL polcap 272 -168 R0
SYMATTR InstName C2
SYMATTR Value 500
SYMATTR SpiceLine Rser=15M
SYMBOL CAP 48 104 R0
SYMATTR InstName C3
SYMATTR Value 1
SYMBOL VOLTAGE -400 -184 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL POWERPRODUCTS\\LT1072 -176 24 R0
SYMATTR InstName U1
SYMBOL RES 384 -184 R0
SYMATTR InstName Rload
SYMATTR Value 48
* SPICE netlist
V1 1 0 0
Bload 1 0 I={pwr}/V(1)
.param pwr=10W
.dc V1 1 10 .1

* LTspice schematic (.asc)
Version 4
SHEET 1 224 200
WIRE -112 -8 -112 -72
WIRE -112 -72 112 -72
WIRE 112 -72 112 -8
FLAG -112 72 0
FLAG 112 72 0
FLAG 112 -72 1
SYMBOL voltage -112 -24 R0
SYMATTR InstName V1
SYMATTR Value 0
SYMBOL bi 112 -8 R0
SYMATTR InstName Bload
SYMATTR Value I={pwr}/V(1)
* SPICE netlist
XU1 N006 N004 N001 N002 0 OUT IN IN N003 N005 LTC3532 ;pnba Rt)Burst)SW1)SW2)GND)Vout)Vin)_SHDN/SS)FB)Vc
L1 N001 N002 4.7 Rpar=1K
V1 IN 0 3.2
R1 N006 0 43.2K
R2 N004 0 200K
C1 N004 0 .01
R3 OUT N003 340K
R4 N003 0 200K
C3 N005 N003 330p Rser=12.1K
C4 OUT 0 10
Rload OUT 0 30
C5 OUT N003 33p Rser=1K
.tran 500u startup

* LTspice schematic (.asc)
Version 4
SHEET 1 1008 512
WIRE -120 -256 -168 -256
WIRE -8 -256 -40 -256
WIRE -168 -208 -168 -256
WIRE -8 -208 -8 -256
WIRE -264 -144 -376 -144
WIRE -232 -144 -264 -144
WIRE 168 -144 56 -144
WIRE 312 -144 168 -144
WIRE 408 -144 312 -144
WIRE 504 -144 408 -144
WIRE -376 -128 -376 -144
WIRE 168 -128 168 -144
WIRE 408 -128 408 -144
WIRE 504 -128 504 -144
WIRE 312 -112 312 -144
WIRE -264 -48 -264 -144
WIRE -232 -48 -264 -48
WIRE 168 -48 168 -64
WIRE 168 -48 56 -48
WIRE -376 -32 -376 -48
WIRE 408 -32 408 -64
WIRE 504 -32 504 -48
WIRE -392 48 -488 48
WIRE -232 48 -392 48
WIRE 88 48 56 48
WIRE 168 48 168 -48
WIRE 168 48 152 48
WIRE 312 48 312 -32
WIRE 312 48 168 48
WIRE -488 64 -488 48
WIRE -392 64 -392 48
WIRE 312 64 312 48
WIRE -232 144 -296 144
WIRE 88 144 56 144
WIRE -488 160 -488 144
WIRE -392 160 -392 128
WIRE -296 160 -296 144
WIRE 312 160 312 144
WIRE -296 256 -296 240
FLAG 88 144 0
FLAG -376 -32 0
FLAG -296 256 0
FLAG -392 160 0
FLAG -488 160 0
FLAG 312 160 0
FLAG 408 -32 0
FLAG 504 -32 0
FLAG 504 -144 OUT
FLAG -376 -144 IN
SYMBOL PowerProducts\\LTC3532 -88 -16 R0
SYMATTR InstName U1
SYMBOL ind -136 -240 R270
SYMATTR InstName L1
SYMATTR Value 4.7
SYMATTR SpiceLine Rpar=1K
SYMBOL voltage -376 -144 R0
SYMATTR InstName V1
SYMATTR Value 3.2
SYMBOL res -312 144 R0
SYMATTR InstName R1
SYMATTR Value 43.2K
SYMBOL res -504 48 R0
SYMATTR InstName R2
SYMATTR Value 200K
SYMBOL cap -408 64 R0
SYMATTR InstName C1
SYMATTR Value .01
SYMBOL res 296 -128 R0
SYMATTR Value 340K
SYMATTR InstName R3
SYMBOL res 296 48 R0
SYMATTR Value 200K
SYMATTR InstName R4
SYMBOL cap 88 64 R270
SYMATTR InstName C3
SYMATTR Value 330p
SYMATTR SpiceLine Rser=12.1K
SYMBOL cap 392 -128 R0
SYMATTR InstName C4
SYMATTR Value 10
SYMBOL res 488 -144 R0
SYMATTR InstName Rload
SYMATTR Value 30
SYMBOL cap 152 -128 R0
SYMATTR Value 33p
SYMATTR SpiceLine Rser=1K
SYMATTR InstName C5
* SPICE netlist
V1 IN 0 5
R1 IN N001 100K
R2 IN N003 22Meg
C1 N004 0 1n
L1 N002 OUT 100 Rpar=50k
C2 OUT 0 10 Rser=3m
Rload OUT 0 66
XU1 N001 N003 0 OUT N004 0 N002 IN 0 ADP2360-3.3 ;pnba EN)PG)Ith)FB)SS)PGND)SW)Vin)AGND
.tran 3m startup

* LTspice schematic (.asc)
Version 4
SHEET 1 960 368
WIRE -368 -184 -480 -184
WIRE -224 -184 -368 -184
WIRE 0 -184 -224 -184
WIRE -480 -168 -480 -184
WIRE -224 -168 -224 -184
WIRE -368 -120 -368 -184
WIRE 0 -104 0 -184
WIRE -480 -72 -480 -88
WIRE -224 -72 -224 -88
WIRE -128 -72 -224 -72
WIRE 160 -72 128 -72
WIRE 288 -72 240 -72
WIRE 336 -72 288 -72
WIRE 480 -72 336 -72
WIRE 336 -56 336 -72
WIRE 480 -56 480 -72
WIRE -368 -8 -368 -40
WIRE -128 -8 -368 -8
WIRE 336 40 336 8
WIRE 480 40 480 24
WIRE -128 56 -144 56
WIRE 288 56 288 -72
WIRE 288 56 128 56
WIRE -208 120 -224 120
WIRE -128 120 -144 120
WIRE -48 184 -48 168
WIRE 48 184 48 168
FLAG -224 120 0
FLAG -480 -72 0
FLAG -48 184 0
FLAG 48 184 0
FLAG 336 40 0
FLAG 480 40 0
FLAG 480 -72 OUT
FLAG -144 56 0
FLAG -480 -184 IN
SYMBOL voltage -480 -184 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL res -240 -184 R0
SYMATTR InstName R1
SYMATTR Value 100K
SYMBOL res -384 -136 R0
SYMATTR InstName R2
SYMATTR Value 22Meg
SYMBOL cap -144 104 R90
SYMATTR InstName C1
SYMATTR Value 1n
SYMBOL ind 144 -56 R270
SYMATTR InstName L1
SYMATTR Value 100
SYMATTR SpiceLine Rpar=50k
SYMBOL cap 320 -56 R0
SYMATTR SpiceLine Rser=3m
SYMATTR Value 10
SYMATTR InstName C2
SYMBOL res 464 -72 R0
SYMATTR InstName Rload
SYMATTR Value 66
SYMBOL ADP2360-3.3 0 24 R0
SYMATTR InstName U1
* SPICE netlist
V1 +V 0 8
Vin IN 0 SINE(0 1 1K)
R1 N001 0 10K
R2 OUT N001 10K
V2 -V 0 -8
Rload OUT 0 10K
XU1 IN N001 +V -V OUT AD8668 ;pnba In+)In-)V+)V-)OUT
.tran 10m

* LTspice schematic (.asc)
Version 4
SHEET 1 608 256
WIRE -16 -112 -32 -112
WIRE 80 -112 64 -112
WIRE 96 -112 80 -112
WIRE 192 -112 176 -112
WIRE -304 -48 -304 -64
WIRE -192 -48 -192 -64
WIRE 80 -16 80 -112
WIRE 96 -16 80 -16
WIRE 192 0 192 -112
WIRE 192 0 160 0
WIRE 304 0 192 0
WIRE 96 16 -16 16
WIRE 304 16 304 0
WIRE -16 32 -16 16
WIRE -304 48 -304 32
WIRE -192 48 -192 32
WIRE 304 112 304 96
WIRE -16 128 -16 112
FLAG -304 -64 +V
FLAG -304 48 0
FLAG -16 128 0
FLAG 304 0 OUT
FLAG -16 16 IN
FLAG 128 -32 +V
FLAG -192 -64 -V
FLAG 128 32 -V
FLAG -32 -112 0
FLAG 304 112 0
FLAG -192 48 0
SYMBOL voltage -304 -64 R0
SYMATTR InstName V1
SYMATTR Value 8
SYMBOL voltage -16 16 R0
SYMATTR InstName Vin
SYMATTR Value SINE(0 1 1K)
SYMBOL res 80 -128 R90
SYMATTR InstName R1
SYMATTR Value 10K
SYMBOL res 192 -128 R90
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL voltage -192 -64 R0
SYMATTR InstName V2
SYMATTR Value -8
SYMBOL res 288 0 R0
SYMATTR InstName Rload
SYMATTR Value 10K
SYMBOL AD8668 128 -64 R0
SYMATTR InstName U1
* SPICE netlist
M1 N002 N001 0 0 my_model l=1u w=100u
V1 N002 0 5
V2 N001 0 2.5
.dc V1 0 5 0.01 V2 0 5 0.5

* LTspice schematic (.asc)
Version 4
SHEET 1 304 200
WIRE -40 -56 -152 -56
WIRE 152 -56 8 -56
WIRE -152 -40 -152 -56
WIRE 152 -40 152 -56
WIRE 24 -8 8 -8
WIRE -40 24 -40 -56
WIRE 24 40 24 -8
WIRE 24 40 8 40
WIRE -152 56 -152 40
WIRE 8 56 8 40
WIRE 152 56 152 40
FLAG -152 56 0
FLAG 8 56 0
FLAG 152 56 0
SYMBOL nmos4 -40 -56 R0
SYMATTR Value my_model
SYMATTR Value2 l=1u w=100u
SYMATTR InstName M1
SYMBOL voltage 152 -56 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage -152 -56 R0
SYMATTR InstName V2
SYMATTR Value 2.5
* SPICE netlist
D1 V_White 0 Osram
V1 N001 0 0
R1 N001 V_White 40
D2 V_Yellow 0 YellowLed
R2 N001 V_Yellow 160
.dc V1 2.8 1.8 .05

* LTspice schematic (.asc)
Version 4
SHEET 1 272 304
WIRE 24 -152 -136 -152
WIRE 136 -152 24 -152
WIRE 24 -104 24 -152
WIRE 136 -104 136 -152
WIRE -136 -40 -136 -152
WIRE 24 8 24 -24
WIRE 136 8 136 -24
WIRE 24 24 24 8
WIRE 136 24 136 8
WIRE -136 136 -136 40
WIRE -24 136 -136 136
WIRE 24 136 24 88
WIRE 24 136 -24 136
WIRE 136 136 136 88
WIRE 136 136 24 136
WIRE -24 152 -24 136
FLAG -24 152 0
FLAG 24 8 V_White
FLAG 136 8 V_Yellow
SYMBOL LED 8 24 R0
SYMATTR InstName D1
SYMATTR Value Osram
SYMBOL voltage -136 -56 R0
SYMATTR InstName V1
SYMATTR Value 0
SYMBOL res 8 -120 R0
SYMATTR InstName R1
SYMATTR Value 40
SYMBOL LED 120 24 R0
SYMATTR InstName D2
SYMATTR Value YellowLed
SYMBOL res 120 -120 R0
SYMATTR InstName R2
SYMATTR Value 160
* SPICE netlist
Q1 OUT N002 N003 0 BC238
RC VCC OUT 4.7k
RE N003 0 1k
R1 VCC N002 220k
R2 N002 0 47k
C1 N002 N001 100n
V2 VCC 0 12
L1 N001 OUT 1m
C3 0 N001 10n
C4 OUT 0 10n
.tran 0 210m 200m 100u

* LTspice schematic (.asc)
Version 4
SHEET 1 1248 1072
WIRE 128 -488 128 -536
WIRE 128 -488 -16 -488
WIRE 256 -488 128 -488
WIRE -16 -424 -16 -488
WIRE 256 -424 256 -488
WIRE 256 -296 256 -344
WIRE 496 -296 256 -296
WIRE 624 -296 496 -296
WIRE 256 -264 256 -296
WIRE -176 -216 -256 -216
WIRE -16 -216 -16 -344
WIRE -16 -216 -112 -216
WIRE 192 -216 -16 -216
WIRE -624 -88 -624 -136
WIRE -16 -72 -16 -216
WIRE 256 -72 256 -168
WIRE -624 24 -624 -8
WIRE -16 168 -16 8
WIRE 128 168 -16 168
WIRE 256 168 256 8
WIRE 256 168 128 168
WIRE 128 200 128 168
WIRE -256 360 -256 -216
WIRE -16 360 -256 360
WIRE 320 360 64 360
WIRE -256 488 -256 360
WIRE -112 488 -256 488
WIRE 16 488 -48 488
WIRE 96 488 16 488
WIRE 320 488 320 360
WIRE 320 488 160 488
WIRE 496 488 496 -296
WIRE 496 488 320 488
WIRE 16 536 16 488
FLAG 128 200 0
FLAG -624 24 0
FLAG -624 -136 VCC
FLAG 128 -536 VCC
FLAG 624 -296 OUT
IOPIN 1040 80 Out
FLAG 16 536 0
SYMBOL npn 192 -264 R0
SYMATTR InstName Q1
SYMATTR Value BC238
SYMBOL res 240 -440 R0
SYMATTR InstName RC
SYMATTR Value 4.7k
SYMBOL res 240 -88 R0
SYMATTR InstName RE
SYMATTR Value 1k
SYMBOL res -32 -440 R0
SYMATTR InstName R1
SYMATTR Value 220k
SYMBOL res -32 -88 R0
SYMATTR InstName R2
SYMATTR Value 47k
SYMBOL cap -112 -232 R90
SYMATTR InstName C1
SYMATTR Value 100n
SYMBOL voltage -624 -104 R0
SYMATTR InstName V2
SYMATTR Value 12
SYMBOL ind -32 376 R270
SYMATTR InstName L1
SYMATTR Value 1m
SYMBOL cap -48 472 R90
SYMATTR InstName C3
SYMATTR Value 10n
SYMBOL cap 160 472 R90
SYMATTR InstName C4
SYMATTR Value 10n
* SPICE netlist
V1 IN 0 12
C1 OUT 0 .1m
C3 N001 0 4.7
XU1 N001 N001 N001 N002 N003 0 N005 N004 OUT IN OUT MP_01 0 LTM8061-8.4 ;pnba Vin)VinC/CLP)RUN)_CHRG)_Fault)TMR)RNG/SS)NTC)BAT)VinA)Bias))GND
.tran 3m startup

* LTspice schematic (.asc)
Version 4
SHEET 1 528 480
WIRE -152 -240 -264 -240
WIRE 152 -240 136 -240
WIRE 264 -240 152 -240
WIRE -264 -224 -264 -240
WIRE 264 -224 264 -240
WIRE -152 -144 -168 -144
WIRE 152 -144 152 -240
WIRE 152 -144 136 -144
WIRE 264 -144 264 -160
WIRE -264 -128 -264 -144
WIRE -168 -48 -168 -144
WIRE -152 -48 -168 -48
WIRE 152 -48 136 -48
WIRE -248 48 -264 48
WIRE -168 48 -168 -48
WIRE -168 48 -184 48
WIRE -152 48 -168 48
WIRE 152 48 136 48
WIRE -152 144 -168 144
WIRE 152 144 136 144
WIRE -152 240 -168 240
WIRE 152 240 136 240
FLAG -168 240 0
FLAG -264 -128 0
FLAG 264 -144 0
FLAG -264 -240 IN
FLAG 264 -240 OUT
FLAG -264 48 0
FLAG -168 144 0
SYMBOL voltage -264 -240 R0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL cap 248 -224 R0
SYMATTR InstName C1
SYMATTR Value .1m
SYMBOL cap -184 32 R90
SYMATTR InstName C3
SYMATTR Value 4.7
SYMBOL PowerProducts\\LTM8061-8.4 -8 0 R0
SYMATTR InstName U1
* SPICE netlist
D1 a 0 1N4148
I1 0 a 0
.dc I1 0 200mA
.step temp list 25 100
.meas DC U0 FIND V(a) WHEN I(D1)=0mA
.meas DC U1 FIND V(a) WHEN I(D1)=10mA
.meas DC U2 FIND V(a) WHEN I(D1)=20mA
.meas DC U3 FIND V(a) WHEN I(D1)=50mA
.meas DC U4 FIND V(a) WHEN I(D1)=100mA
.meas DC U5 FIND V(a) WHEN I(D1)=150mA
.meas DC U6 FIND V(a) WHEN I(D1)=200mA

* LTspice schematic (.asc)
Version 4
SHEET 1 224 208
WIRE 0 -104 -112 -104
WIRE 112 -104 0 -104
WIRE -112 -40 -112 -104
WIRE 112 -40 112 -104
WIRE -112 88 -112 40
WIRE 0 88 -112 88
WIRE 112 88 112 24
WIRE 112 88 0 88
WIRE 0 104 0 88
FLAG 0 104 0
FLAG 0 -104 a
SYMBOL diode 96 -40 R0
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL current -112 40 R180
SYMATTR InstName I1
SYMATTR Value 0
* SPICE netlist
Q1 VC VB VE 0 Test
R1 VE 0 1k
R2 N001 VC 1k
R3 VB N002 1k
V1 N001 0 15
V3 N002 0 SINE(2 0 500)
.tran 1

* LTspice schematic (.asc)
Version 4
SHEET 1 448 496
WIRE 224 -248 16 -248
WIRE 16 -168 16 -248
WIRE 16 -56 16 -88
WIRE 16 -40 16 -56
WIRE 224 -40 224 -248
WIRE -176 8 -224 8
WIRE -64 8 -96 8
WIRE -48 8 -64 8
WIRE -32 8 -48 8
WIRE -224 56 -224 8
WIRE 16 72 16 56
WIRE 16 88 16 72
WIRE -224 200 -224 136
WIRE 16 200 16 168
WIRE 16 200 -224 200
WIRE 224 200 224 40
WIRE 224 200 16 200
WIRE 224 248 224 200
FLAG 224 248 0
FLAG -64 8 VB
FLAG 16 72 VE
FLAG 16 -56 VC
SYMBOL npn -48 -40 R0
SYMATTR InstName Q1
SYMATTR Value Test
SYMBOL res 0 72 R0
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL res 0 -184 R0
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL res -80 -8 R90
SYMATTR InstName R3
SYMATTR Value 1k
SYMBOL voltage 224 -56 R0
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL voltage -224 40 R0
SYMATTR InstName V3
SYMATTR Value SINE(2 0 500)
* SPICE netlist
V1 IN 0 7.2
C1 IN 0 0.1
L1 N002 OUT 33 Rser=0.2
C2 OUT 0 100
RLoad OUT 0 10
XU1 IN N001 N002 OUT NC_01 N001 N001 N001 0 0 N001 0 0 LTC3336 ;pnba Vin)INTVCC)SW)VOUT)PGOOD)EN)IPK0)IPK1)OUT0)OUT1)OUT2)OUT3)GND
.tran 7m startup

* LTspice schematic (.asc)
Version 4
SHEET 1 848 480
WIRE -408 -240 -424 -240
WIRE -328 -240 -408 -240
WIRE -40 -240 -328 -240
WIRE -424 -224 -424 -240
WIRE -40 -224 -40 -240
WIRE -328 -208 -328 -240
WIRE -216 -176 -264 -176
WIRE 168 -176 136 -176
WIRE 280 -176 248 -176
WIRE 328 -176 280 -176
WIRE 408 -176 328 -176
WIRE 424 -176 408 -176
WIRE 328 -160 328 -176
WIRE 424 -160 424 -176
WIRE -424 -112 -424 -144
WIRE -328 -112 -328 -144
WIRE -264 -112 -264 -176
WIRE -216 -112 -264 -112
WIRE 280 -112 280 -176
WIRE 280 -112 136 -112
WIRE 328 -64 328 -96
WIRE 424 -64 424 -80
WIRE -216 -48 -232 -48
WIRE -216 16 -232 16
WIRE -264 80 -264 -112
WIRE -216 80 -264 80
WIRE 168 80 136 80
WIRE -216 144 -232 144
WIRE 168 144 168 80
WIRE 168 144 136 144
WIRE -40 208 -40 192
WIRE -264 240 -264 80
WIRE 168 240 168 144
WIRE 168 240 -264 240
FLAG -40 208 0
FLAG -424 -112 0
FLAG -328 -112 0
FLAG 328 -64 0
FLAG 424 -64 0
FLAG -408 -240 IN
FLAG 408 -176 OUT
FLAG -232 -48 0
FLAG -232 16 0
FLAG -232 144 0
SYMBOL voltage -424 -240 R0
SYMATTR InstName V1
SYMATTR Value 7.2
SYMBOL cap -344 -208 R0
SYMATTR InstName C1
SYMATTR Value 0.1
SYMBOL ind 152 -160 R270
SYMATTR InstName L1
SYMATTR Value 33
SYMATTR SpiceLine Rser=0.2
SYMBOL cap 312 -160 R0
SYMATTR InstName C2
SYMATTR Value 100
SYMBOL res 408 -176 R0
SYMATTR InstName RLoad
SYMATTR Value 10
SYMBOL LTC3336 -40 -16 R0
SYMATTR InstName U1
* SPICE netlist
V1 N001 0 5
V2 N002 0 15
R1 GATE N004 5
C1 GATE 0 2n
V3 N003 0 PULSE(0 5 0 2n 2n 998n 2u)
XU1 N001 N003 0 0 N004 N002 ADuM4120xx Glitch=0 Vrun2=11.2 ;pnba Vdd1)Vin)GND1)GND2)Vout)Vdd2
.tran 10u

* LTspice schematic (.asc)
Version 4
SHEET 1 688 272
WIRE -40 -136 -184 -136
WIRE 312 -136 120 -136
WIRE -184 -120 -184 -136
WIRE 312 -120 312 -136
WIRE -40 -104 -40 -136
WIRE 120 -104 120 -136
WIRE -184 -24 -184 -40
WIRE 312 -24 312 -40
WIRE -312 8 -344 8
WIRE -88 8 -232 8
WIRE 200 8 168 8
WIRE 312 8 280 8
WIRE 344 8 312 8
WIRE 312 24 312 8
WIRE -40 136 -40 120
WIRE 120 136 120 120
FLAG -40 136 0
FLAG 120 136 0
FLAG 312 88 0
FLAG 344 8 GATE
FLAG 312 -24 0
FLAG -184 -24 0
FLAG -344 8 0
SYMBOL voltage -184 -136 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage 312 -136 R0
SYMATTR InstName V2
SYMATTR Value 15
SYMBOL res 296 -8 R90
SYMATTR InstName R1
SYMATTR Value 5
SYMBOL cap 296 24 R0
SYMATTR InstName C1
SYMATTR Value 2n
SYMBOL voltage -216 8 R90
SYMATTR InstName V3
SYMATTR Value PULSE(0 5 0 2n 2n 998n 2u)
SYMBOL ADuM4120-1C 40 8 R0
SYMATTR InstName U1
* SPICE netlist
R1 N001 OUT1 1e3
R2 OUT2 OUT1 1e3
C1 0 OUT1 1e-9
C2 0 OUT2 1e-9
V1 N001 0 AC 1 0
.ac dec 1e3 1000 100000000

* LTspice schematic (.asc)
Version 4
SHEET 1 368 240
WIRE -136 -40 -184 -40
WIRE -40 -40 -40 -120
WIRE -40 -40 -56 -40
WIRE 72 -40 -40 -40
WIRE 168 -40 168 -120
WIRE 168 -40 152 -40
WIRE -184 8 -184 -40
WIRE -40 8 -40 -40
WIRE 168 8 168 -40
WIRE -184 104 -184 88
WIRE -40 104 -40 72
WIRE -40 104 -184 104
WIRE 168 104 168 72
WIRE 168 104 -40 104
WIRE 168 120 168 104
FLAG 168 120 0
FLAG -40 -120 OUT1
IOPIN 112 0 Out
FLAG 168 -120 OUT2
IOPIN 320 0 Out
SYMBOL res -152 -24 R270
SYMATTR InstName R1
SYMATTR Value 1e3
SYMBOL res 168 -56 R90
SYMATTR InstName R2
SYMATTR Value 1e3
SYMBOL cap -24 72 R180
SYMATTR InstName C1
SYMATTR Value 1e-9
SYMBOL cap 184 72 R180
SYMATTR InstName C2
SYMATTR Value 1e-9
SYMBOL voltage -184 -8 R0
SYMATTR InstName V1
SYMATTR Value ""
SYMATTR Value2 AC 1 0
* SPICE netlist
VGS N003 0 0
VDS N001 0 5
M1 N001 N003 0 N002 MC8
VB N002 0 0
.dc VGS 0 1 0.01 VB -1 1 0.5
+LAMBDA=0.1 PHI=0.6 GAMMA=0.37)

* LTspice schematic (.asc)
Version 4
SHEET 1 384 304
WIRE 192 -152 32 -152
WIRE 32 -120 32 -152
WIRE 192 -104 192 -152
WIRE 112 -72 32 -72
WIRE -16 -40 -192 -40
WIRE -192 -24 -192 -40
WIRE 112 -8 112 -72
WIRE 32 24 32 -24
WIRE -192 88 -192 56
WIRE 112 152 112 72
WIRE 192 152 192 -24
FLAG -192 88 0
FLAG 192 152 0
FLAG 112 152 0
FLAG 32 24 0
SYMBOL voltage -192 -40 R0
SYMATTR InstName VGS
SYMATTR Value 0
SYMBOL voltage 192 -120 R0
SYMATTR InstName VDS
SYMATTR Value 5
SYMBOL nmos4 -16 -120 R0
SYMATTR InstName M1
SYMATTR Value MC8
SYMBOL voltage 112 -24 R0
SYMATTR InstName VB
SYMATTR Value 0
* SPICE netlist
Ra 1 2 R=Rp*(1-a*pow(b,1-x)-c)+tol
Rb 2 3 R=Rp*(a*pow(b,1-x)+c)+tol
.param tol=1u Rm=0.1
.param b=pow(1/Rm-1,2)
.param a=1/(b-1)
.param c=-a

* LTspice schematic (.asc)
Version 4
SHEET 1 200 352
WIRE 0 -176 -80 -176
WIRE 0 -128 0 -176
WIRE 0 0 0 -48
WIRE 80 0 0 0
WIRE 0 48 0 0
WIRE 0 176 0 128
WIRE 0 176 -80 176
FLAG -80 -176 1
FLAG -80 176 3
FLAG 80 0 2
SYMBOL res -16 -144 R0
SYMATTR InstName Ra
SYMATTR Value R=Rp*(1-a*pow(b,1-x)-c)+tol
SYMBOL res -16 32 R0
SYMATTR InstName Rb
SYMATTR Value R=Rp*(a*pow(b,1-x)+c)+tol
* SPICE netlist
V1 +V 0 5
VS N001 0 3
V2 N003 0 PULSE(0 2.4 0 10n 10n 980n 2u)
R1 N002 0 47
C1 N002 0 33p
XU1 +V N003 NC_01 N001 N002 NC_02 NC_03 0 ADG822 ;pnba VDD)IN1)IN2)S1)D1)S2)D2)GND
.tran 10u

* LTspice schematic (.asc)
Version 4.1
SHEET 1 704 448
WIRE 96 -192 96 -224
WIRE -192 -128 -224 -128
WIRE -16 -128 -112 -128
WIRE 240 -128 208 -128
WIRE 352 -128 240 -128
WIRE 240 -96 240 -128
WIRE 352 -80 352 -128
WIRE -16 -64 -192 -64
WIRE -352 0 -352 -48
WIRE -192 0 -192 -64
WIRE 240 0 240 -16
WIRE 352 0 352 -16
WIRE -352 160 -352 80
WIRE -192 160 -192 80
WIRE 96 224 96 192
FLAG -352 160 0
FLAG -352 -48 +V
FLAG -224 -128 0
FLAG 96 -224 +V
FLAG 96 224 0
FLAG -192 160 0
FLAG 240 0 0
FLAG 352 0 0
SYMBOL voltage -352 -16 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage -96 -128 M270
SYMATTR InstName VS
SYMATTR Value 3
SYMBOL voltage -192 -16 R0
SYMATTR Value PULSE(0 2.4 0 10n 10n 980n 2u)
SYMATTR InstName V2
SYMBOL res 224 -112 R0
SYMATTR InstName R1
SYMATTR Value 47
SYMBOL cap 336 -80 R0
SYMATTR InstName C1
SYMATTR Value 33p
SYMBOL ADG822 96 -80 R0
SYMATTR InstName U1
* SPICE netlist
Q1 N001 N005 N007 0 BC547C
Q2 N003 N006 N007 0 BC547C
Q3 N002 N003 N004 0 BC547C
Q4 N001 N001 Vin 0 BC557C
Q5 N003 N001 Vin 0 BC557C
R1 N007 0 1.3k
V1 N005 0 2
VIN Vin 0 9.5
Q6 N004 N002 Vin 0 Qmje2955t
RL1 Vo 0 {R_L}
R2 Vo N006 3k
R3 0 N006 2k
Q7 N003 N004 Vo 0 BC547C
R4 N004 Vo .42
.param R_L 1000
.step dec param R_L 10Meg .001 500
.op
.meas DC Vo1rl FIND V(Vo) AT=12
.meas DC Vo2rl FIND V(Vo) AT=24
.meas DC RegLin PARAM ((Vo2rl-Vo1rl)/12)
.meas OP Vo1rc FIND V(Vo) AT 100
.meas OP Vo2rc FIND V(Vo) AT 5
.meas OP Io1rc FIND I(RL) AT 100
.meas OP Io2rc FIND I(RL) AT 5

* LTspice schematic (.asc)
Version 4.1
SHEET 1 1520 960
WIRE -248 -480 -760 -480
WIRE 88 -480 -248 -480
WIRE 760 -480 88 -480
WIRE -248 -432 -248 -480
WIRE 88 -432 88 -480
WIRE -72 -384 -184 -384
WIRE 24 -384 -72 -384
WIRE 760 -368 760 -480
WIRE 696 -320 632 -320
WIRE -248 -304 -248 -336
WIRE -72 -304 -72 -384
WIRE -72 -304 -248 -304
WIRE -760 -272 -760 -480
WIRE 88 -272 88 -336
WIRE 536 -272 88 -272
WIRE 568 -272 536 -272
WIRE 760 -224 760 -272
WIRE 760 -224 632 -224
WIRE 536 -144 536 -272
WIRE 760 -96 760 -224
WIRE 760 -96 600 -96
WIRE 760 -80 760 -96
WIRE 536 32 536 -48
WIRE 760 32 760 0
WIRE 760 32 536 32
WIRE -760 128 -760 -192
WIRE -248 176 -248 -304
WIRE 88 176 88 -272
WIRE -312 224 -408 224
WIRE 296 224 152 224
WIRE 424 224 296 224
WIRE 760 224 760 32
WIRE 760 224 504 224
WIRE -408 256 -408 224
WIRE 296 288 296 224
WIRE 760 304 760 224
WIRE -248 400 -248 272
WIRE -88 400 -248 400
WIRE 88 400 88 272
WIRE 88 400 -88 400
WIRE 296 480 296 368
WIRE 760 480 760 384
FLAG -408 336 0
FLAG -88 480 0
FLAG 760 480 0
FLAG -760 128 0
FLAG 296 480 0
FLAG 760 224 Vo
FLAG -760 -480 Vin
SYMBOL npn -312 176 R0
SYMATTR InstName Q1
SYMATTR Value BC547C
SYMBOL npn 152 176 M0
SYMATTR InstName Q2
SYMATTR Value BC547C
SYMBOL npn 568 -320 R0
SYMATTR InstName Q3
SYMATTR Value BC547C
SYMBOL pnp -184 -336 R180
SYMATTR InstName Q4
SYMATTR Value BC557C
SYMBOL pnp 24 -336 M180
SYMATTR InstName Q5
SYMATTR Value BC557C
SYMBOL res -104 384 R0
SYMATTR InstName R1
SYMATTR Value 1.3k
SYMBOL voltage -408 240 R0
SYMATTR InstName V1
SYMATTR Value 2
SYMBOL voltage -760 -288 R0
SYMATTR InstName VIN
SYMATTR Value 9.5
SYMBOL pnp 696 -272 M180
SYMATTR InstName Q6
SYMATTR Value Qmje2955t
SYMBOL res 744 288 R0
SYMATTR InstName RL1
SYMATTR Value {R_L}
SYMBOL res 520 208 R90
SYMATTR InstName R2
SYMATTR Value 3k
SYMBOL res 312 384 R180
SYMATTR InstName R3
SYMATTR Value 2k
SYMBOL npn 600 -144 M0
SYMATTR InstName Q7
SYMATTR Value BC547C
SYMBOL res 744 -96 R0
SYMATTR InstName R4
SYMATTR Value .42
* SPICE netlist
V1 N002 N001 6v
R1 N003 N001 1k
R2 V0p N003 1k
R4 V0n V0p 2k
R3 N004 N001 1k
V2 N003 0 12
EV0 NC_01 0 V0p V0n 1
VI1 N002 V0p 0
VI3 V0n 0 0
VI2 N004 0 0
.op

* LTspice schematic (.asc)
Version 4
SHEET 1 608 400
WIRE -160 -184 -304 -184
WIRE -48 -184 -80 -184
WIRE 64 -184 32 -184
WIRE -304 -24 -304 -184
WIRE -272 -24 -304 -24
WIRE -128 -24 -192 -24
WIRE -48 -24 -128 -24
WIRE 64 -24 64 -184
WIRE 64 -24 32 -24
WIRE 144 -24 64 -24
WIRE -304 72 -304 -24
WIRE -128 72 -128 -24
WIRE 64 72 64 -24
WIRE -304 200 -304 152
WIRE -256 200 -304 200
WIRE -128 200 -128 152
WIRE -128 200 -176 200
WIRE -64 200 -128 200
WIRE 64 200 64 152
WIRE 64 200 16 200
WIRE 144 200 64 200
FLAG 144 -24 V0p
FLAG 144 200 V0n
FLAG -128 200 0
FLAG 256 -168 V0p
FLAG 256 -120 V0n
FLAG 304 -104 0
SYMBOL voltage -64 -184 R90
SYMATTR InstName V1
SYMATTR Value 6v
SYMBOL res -176 -40 R90
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL res 48 -40 R90
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL res 80 168 R180
SYMATTR InstName R4
SYMATTR Value 2k
SYMBOL res -288 168 R180
SYMATTR InstName R3
SYMATTR Value 1k
SYMBOL voltage -128 56 R0
SYMATTR InstName V2
SYMATTR Value 12
SYMBOL e 304 -200 R0
SYMATTR InstName V0
SYMATTR Value 1
SYMBOL voltage -64 -184 R270
SYMATTR InstName I1
SYMATTR Value 0
SYMBOL voltage 32 200 R90
SYMATTR InstName I3
SYMATTR Value 0
SYMBOL voltage -272 200 R270
SYMATTR InstName I2
SYMATTR Value 0
* SPICE netlist
R1 Output Input 1K
C1 Output 0 10nF
V1 Input 0 SINE(0 1 1K) AC 1
.ac oct 20 1000 200000

* LTspice schematic (.asc)
Version 4
SHEET 1 416 224
WIRE -192 -96 -208 -96
WIRE -144 -96 -192 -96
WIRE 32 -96 -64 -96
WIRE 208 -96 32 -96
WIRE 32 -64 32 -96
WIRE -192 -48 -192 -96
WIRE -192 64 -192 32
WIRE 32 64 32 0
WIRE 32 64 -192 64
WIRE 32 112 32 64
FLAG -208 -96 Input
IOPIN -80 80 In
FLAG 208 -96 Output
IOPIN 336 80 Out
FLAG 32 112 0
SYMBOL res -48 -112 R90
SYMATTR InstName R1
SYMATTR Value 1K
SYMBOL cap 16 -64 R0
SYMATTR InstName C1
SYMATTR Value 10nF
SYMBOL Misc\\signal -192 -64 R0
SYMATTR Value2 AC 1
SYMATTR InstName V1
* SPICE netlist
V1 N001 0 PULSE(0 -0.1 0 1e-9 1e-3 5e-9 1e-3)
C1 output N001 0.1pF

* LTspice schematic (.asc)
Version 4
SHEET 1 208 200
WIRE -40 -72 -104 -72
WIRE 104 -72 24 -72
WIRE -104 -24 -104 -72
WIRE -104 88 -104 56
FLAG -104 88 0
FLAG 104 -72 output
IOPIN -480 -64 Out
SYMBOL voltage -104 -40 R0
SYMATTR InstName V1
SYMATTR Value PULSE(0 -0.1 0 1e-9 1e-3 5e-9 1e-3)
SYMBOL cap 24 -88 R90
SYMATTR InstName C1
SYMATTR Value 0.1pF
* SPICE netlist
V1 IN 0 PWL(0 0 20u 6)
C1 OUT 0 2.2 Rser=1.5m
Rload OUT 0 15
R1 OUT N001 100k
XU1 IN OUT IN N001 OUT 0 ADP7104-5.0 ;pnba Vin)Sense)EN)PG)Vout)GND
.tran 3m startup

* LTspice schematic (.asc)
Version 4
SHEET 1 688 288
WIRE -136 -128 -344 -128
WIRE -120 -128 -136 -128
WIRE 152 -128 136 -128
WIRE 248 -128 232 -128
WIRE -344 -112 -344 -128
WIRE 168 -32 136 -32
WIRE 248 -32 248 -128
WIRE 248 -32 168 -32
WIRE 344 -32 248 -32
WIRE -344 -16 -344 -32
WIRE 248 -16 248 -32
WIRE 344 -16 344 -32
WIRE -136 64 -136 -128
WIRE -120 64 -136 64
WIRE 168 64 168 -32
WIRE 168 64 136 64
WIRE 248 80 248 48
WIRE 344 80 344 64
WIRE 8 144 8 128
FLAG 8 144 0
FLAG -344 -16 0
FLAG 344 80 0
FLAG 248 80 0
FLAG -344 -128 IN
FLAG 344 -32 OUT
SYMBOL voltage -344 -128 R0
SYMATTR InstName V1
SYMATTR Value PWL(0 0 20u 6)
SYMBOL cap 232 -16 R0
SYMATTR InstName C1
SYMATTR Value 2.2
SYMATTR SpiceLine Rser=1.5m
SYMBOL res 328 -32 R0
SYMATTR InstName Rload
SYMATTR Value 15
SYMBOL res 248 -144 R90
SYMATTR InstName R1
SYMATTR Value 100k
SYMBOL ADP7104-5.0 8 -32 R0
SYMATTR InstName U1
* SPICE netlist
C1 filterout N001 3nF
C2 N001 N002 189nF
R1 N002 input 1k
R2 filterout N001 50k
R4 Vdd Vout 5k
V1 Vdd 0 5
V2 0 Vss 0V
XU1 0 N001 Vdd 0 filterout level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
M1 Vout filterout 0 0 PMOS
V3 input 0 ac 25mV
.ac dec 10 1hz 200kHz

* LTspice schematic (.asc)
Version 4
SHEET 1 1264 576
WIRE -520 -240 -520 -272
WIRE -520 -240 -632 -240
WIRE -520 -224 -520 -240
WIRE -376 -224 -376 -288
WIRE -520 -80 -520 -144
WIRE -376 -80 -376 -144
WIRE -104 -80 -168 -80
WIRE 88 -80 -24 -80
WIRE 568 -48 568 -112
WIRE -168 16 -168 -80
WIRE -104 16 -168 16
WIRE 88 16 88 -80
WIRE 88 16 -40 16
WIRE 568 64 568 32
WIRE 632 64 568 64
WIRE -632 80 -632 -240
WIRE -72 80 -632 80
WIRE 568 96 568 64
WIRE -72 144 -72 80
WIRE -520 160 -632 160
WIRE -440 160 -520 160
WIRE -312 160 -360 160
WIRE -168 160 -168 16
WIRE -168 160 -248 160
WIRE -104 160 -168 160
WIRE -632 176 -632 160
WIRE 24 176 -40 176
WIRE 88 176 88 16
WIRE 88 176 24 176
WIRE 520 176 88 176
WIRE -104 192 -152 192
WIRE -152 224 -152 192
WIRE -72 256 -72 208
WIRE 568 272 568 192
WIRE -632 288 -632 256
FLAG -152 224 0
FLAG -520 -272 Vdd
FLAG -376 -288 Vss
FLAG -376 -80 0
FLAG -520 -80 0
FLAG -72 256 0
FLAG -632 288 0
FLAG 568 -112 Vdd
FLAG 568 272 0
FLAG 632 64 Vout
FLAG -520 160 input
FLAG 24 176 filterout
SYMBOL cap -40 0 R90
SYMATTR InstName C1
SYMATTR Value 3nF
SYMBOL cap -248 144 R90
SYMATTR InstName C2
SYMATTR Value 189nF
SYMBOL res -344 144 R90
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL res -8 -96 R90
SYMATTR InstName R2
SYMATTR Value 50k
SYMBOL res 552 -64 R0
SYMATTR InstName R4
SYMATTR Value 5k
SYMBOL voltage -520 -240 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage -376 -128 R180
SYMATTR InstName V2
SYMATTR Value 0V
SYMBOL Opamps\\UniversalOpamp2 -72 176 R0
SYMATTR InstName U1
SYMBOL pmos 520 96 R0
SYMATTR InstName M1
SYMBOL voltage -632 160 R0
SYMATTR InstName V3
SYMATTR Value ac 25mV
* SPICE netlist
V1 N001 0 SINE(0 5 1k 0 0 0 0)
R1 N002 N001 1k
D1 N002 N003 D
V2 N003 0 0.5
R2 N002 0 100k
.tran 0.01

* LTspice schematic (.asc)
Version 4.1
SHEET 1 288 288
WIRE -80 -128 -144 -128
WIRE 32 -128 0 -128
WIRE 144 -128 32 -128
WIRE 32 -80 32 -128
WIRE -144 -48 -144 -128
WIRE 144 -48 144 -128
WIRE 32 16 32 -16
WIRE -144 144 -144 32
WIRE 32 144 32 96
WIRE 32 144 -144 144
WIRE 144 144 144 32
WIRE 144 144 32 144
FLAG 144 144 0
SYMBOL voltage -144 -64 R0
SYMATTR InstName V1
SYMATTR Value SINE(0 5 1k 0 0 0 0)
SYMBOL res 16 -144 R90
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL diode 16 -80 R0
SYMATTR InstName D1
SYMBOL voltage 32 0 R0
SYMATTR InstName V2
SYMATTR Value 0.5
SYMBOL res 128 -64 R0
SYMATTR InstName R2
SYMATTR Value 100k
* SPICE netlist
Vin IN 0 PULSE(-1 1 20n 10n 10n 90n 200n 10)
R1 N001 0 2K
R2 OUT N001 2K
XU1 IN N001 +V -V OUT AD8038 ;pnba In+)In-)V+)V-)OUT
V1 +V 0 5
V2 -V 0 -5
.tran 2u

* LTspice schematic (.asc)
Version 4
SHEET 1 672 288
WIRE 48 -128 32 -128
WIRE 160 -128 128 -128
WIRE 176 -128 160 -128
WIRE 272 -128 256 -128
WIRE -336 -16 -336 -32
WIRE -240 -16 -240 -32
WIRE 160 0 160 -128
WIRE 176 0 160 0
WIRE 272 16 272 -128
WIRE 272 16 240 16
WIRE 336 16 272 16
WIRE 176 32 -96 32
WIRE -96 48 -96 32
WIRE -336 80 -336 64
WIRE -240 80 -240 64
WIRE -96 144 -96 128
FLAG -96 144 0
FLAG 336 16 OUT
FLAG -96 32 IN
FLAG 208 -16 +V
FLAG 208 48 -V
FLAG 32 -128 0
FLAG -336 -32 +V
FLAG -336 80 0
FLAG -240 -32 -V
FLAG -240 80 0
SYMBOL voltage -96 32 R0
SYMATTR InstName Vin
SYMATTR Value PULSE(-1 1 20n 10n 10n 90n 200n 10)
SYMBOL res 144 -144 R90
SYMATTR InstName R1
SYMATTR Value 2K
SYMBOL res 272 -144 R90
SYMATTR InstName R2
SYMATTR Value 2K
SYMBOL Opamps\\AD8038 208 -48 R0
SYMATTR InstName U1
SYMBOL voltage -336 -32 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage -240 -32 R0
SYMATTR InstName V2
SYMATTR Value -5
* SPICE netlist
Q1 N001 N004 0 0 BC547B
VBE N003 0 500m
R1 N004 N003 10k
VCE N002 0 20
R2 N002 N001 1
.dc VCE 0 20 2 VBE 500m 4000m 500m

* LTspice schematic (.asc)
Version 4.1
SHEET 1 576 400
WIRE 112 -184 32 -184
WIRE 288 -184 192 -184
WIRE 32 -72 32 -184
WIRE 288 -72 288 -184
WIRE -192 -24 -288 -24
WIRE -32 -24 -112 -24
WIRE -288 24 -288 -24
WIRE -288 168 -288 104
WIRE 32 168 32 24
WIRE 32 168 -288 168
WIRE 288 168 288 8
WIRE 288 168 32 168
WIRE 32 200 32 168
FLAG 32 200 0
SYMBOL npn -32 -72 R0
SYMATTR InstName Q1
SYMATTR Value BC547B
SYMBOL voltage -288 8 R0
SYMATTR InstName VBE
SYMATTR Value 500m
SYMBOL res -96 -40 R90
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL voltage 288 -88 R0
SYMATTR InstName VCE
SYMATTR Value 20
SYMBOL res 208 -200 R90
SYMATTR InstName R2
SYMATTR Value 1
* SPICE netlist
D3 Reset N001 D
D4 R-PI_GND Reset D
V1 N001 R-PI_GND 3.3
R1 N001 Reset 10K
R2 Reset R-PI_GND 10Meg
S1 0 N002 pulse 0 SW1
V2 pulse 0 PULSE(0 3.3 250ms 1ns 1ns 10ms 19ms 100)
R3 Reset N002 10K
B1 VL 0 V=sqrt(2)*220*max(0,sin(2*pi*50*time))
C2 R-PI_GND VL 1n
.tran 1

* LTspice schematic (.asc)
Version 4
SHEET 1 640 544
WIRE 112 -272 -16 -272
WIRE 320 -272 112 -272
WIRE -16 -240 -16 -272
WIRE 112 -208 112 -272
WIRE 320 -160 320 -272
WIRE -160 -112 -176 -112
WIRE -16 -112 -16 -160
WIRE -16 -112 -80 -112
WIRE 112 -112 112 -144
WIRE 112 -112 -16 -112
WIRE 192 -112 192 -144
WIRE 192 -112 112 -112
WIRE 112 -96 112 -112
WIRE 192 -96 192 -112
WIRE -16 -64 -16 -112
WIRE -16 32 -16 0
WIRE 112 32 112 -32
WIRE 112 32 -16 32
WIRE 144 32 112 32
WIRE 192 32 192 -16
WIRE 192 32 144 32
WIRE 320 32 320 -80
WIRE 320 32 192 32
WIRE -256 48 -256 16
WIRE -256 48 -320 48
WIRE -224 48 -256 48
WIRE 320 64 320 32
WIRE 144 80 144 32
WIRE -320 96 -320 48
WIRE -176 96 -176 -112
WIRE -224 112 -224 48
WIRE 272 128 272 112
WIRE 320 128 272 128
WIRE 320 144 320 128
WIRE -320 224 -320 176
WIRE -224 224 -224 160
WIRE -224 224 -320 224
WIRE -176 224 -176 176
WIRE -176 224 -224 224
WIRE -320 272 -320 224
WIRE 320 272 320 224
FLAG -320 272 0
FLAG 320 272 0
FLAG 192 -144 Reset
FLAG 144 80 R-PI_GND
FLAG -256 16 pulse
FLAG 272 112 VL
SYMBOL diode 128 -144 R180
SYMATTR InstName D3
SYMBOL diode 128 -32 R180
SYMATTR InstName D4
SYMBOL Misc\\battery 320 -176 R0
SYMATTR InstName V1
SYMATTR Value 3.3
SYMBOL res -32 -256 R0
SYMATTR InstName R1
SYMATTR Value 10K
SYMBOL res 176 -112 R0
SYMATTR InstName R2
SYMATTR Value 10Meg
SYMBOL sw -176 192 M180
SYMATTR InstName S1
SYMATTR Value SW1
SYMBOL voltage -320 80 R0
SYMATTR Value PULSE(0 3.3 250ms 1ns 1ns 10ms 19ms 100)
SYMATTR InstName V2
SYMBOL res -64 -128 R90
SYMATTR InstName R3
SYMATTR Value 10K
SYMBOL bv 320 128 R0
SYMATTR InstName B1
SYMATTR Value V=sqrt(2)*220*max(0,sin(2*pi*50*time))
SYMBOL cap 304 64 R0
SYMATTR InstName C2
SYMATTR Value 1n