Si7li/ltspice-spice-circuits-no-aug huggingface dataset:
* SPICE netlist
XU1 N001 N002 +V N005 N004 N004 N004 N004 N004 N004 N004 0 -V +V N001 N001 N001 N001 N001 N001 LTC6601-1 ;pnba IN2+)IN1+)BIAS)IN1-)IN2-)IN4-)C1)C2)C3)C4)OUT+)Vocm)V-)V+)OUT-1)C8)C7)C6)C5)IN4+
V1 +V 0 1.5
V2 -V 0 -1.5
E1 N002 0 N003 0 .5
E2 0 N005 N003 0 .5
E3 OUT 0 N004 N001 1
R1 0 N001 300
R2 0 N004 300
V3 N003 0 AC 1
.measure pt1 find V(out) at 1Meg
.measure pt2 find V(out) at 2Meg
.measure pt3 find V(out) at 5Meg
.measure pt4 find V(out) at 10Meg
.measure pt5 find V(out) at 14.45Meg
.measure pt6 find V(out) at 20Meg
.measure pt7 find V(out) at 50Meg
.ac oct 20 100K 100Meg

* LTspice schematic (.asc)
Version 4
SHEET 1 928 592
WIRE -80 -280 -208 -280
WIRE -16 -280 -80 -280
WIRE 48 -280 -16 -280
WIRE 112 -280 48 -280
WIRE 288 -280 112 -280
WIRE 336 -280 288 -280
WIRE 352 -280 336 -280
WIRE 448 -280 432 -280
WIRE -464 -264 -464 -280
WIRE -352 -264 -352 -280
WIRE -80 -216 -80 -280
WIRE -16 -216 -16 -280
WIRE 48 -216 48 -280
WIRE 112 -216 112 -280
WIRE 176 -216 176 -232
WIRE -208 -184 -208 -280
WIRE -192 -184 -208 -184
WIRE -464 -168 -464 -184
WIRE -352 -168 -352 -184
WIRE -208 -120 -208 -184
WIRE -192 -120 -208 -120
WIRE -256 -104 -352 -104
WIRE -352 -88 -352 -104
WIRE -400 -72 -464 -72
WIRE -256 -56 -256 -104
WIRE -192 -56 -256 -56
WIRE 464 -40 384 -40
WIRE -400 -24 -416 -24
WIRE 288 -24 288 -280
WIRE 288 -24 240 -24
WIRE 384 -24 384 -40
WIRE 336 -8 336 -280
WIRE -352 8 -352 -8
WIRE -352 8 -384 8
WIRE -192 8 -208 8
WIRE -352 24 -352 8
WIRE -464 40 -464 -72
WIRE -400 40 -464 40
WIRE 288 40 240 40
WIRE -192 72 -256 72
WIRE 384 72 384 56
WIRE -400 88 -416 88
WIRE -352 120 -352 104
WIRE -256 120 -256 72
WIRE -256 120 -352 120
WIRE -464 136 -464 40
WIRE -192 136 -208 136
WIRE 256 136 240 136
WIRE -208 200 -208 136
WIRE -192 200 -208 200
WIRE -464 232 -464 216
WIRE 176 248 176 232
WIRE -208 296 -208 200
WIRE -80 296 -80 232
WIRE -80 296 -208 296
WIRE -16 296 -16 232
WIRE -16 296 -80 296
WIRE 48 296 48 232
WIRE 48 296 -16 296
WIRE 112 296 112 232
WIRE 112 296 48 296
WIRE 288 296 288 40
WIRE 288 296 112 296
WIRE 336 296 336 40
WIRE 336 296 288 296
WIRE 352 296 336 296
WIRE 448 296 432 296
FLAG -464 -168 0
FLAG -352 -168 0
FLAG 256 136 0
FLAG -464 -280 +V
FLAG -384 8 0
FLAG -416 -24 0
FLAG -416 88 0
FLAG -464 232 0
FLAG 384 72 0
FLAG 464 -40 OUT
FLAG 448 -280 0
FLAG 448 296 0
FLAG -352 -280 -V
FLAG 176 -232 +V
FLAG 176 248 -V
FLAG -208 8 +V
SYMBOL LTC6601-1 32 8 R0
SYMATTR InstName U1
SYMBOL voltage -464 -280 R0
SYMATTR InstName V1
SYMATTR Value 1.5
SYMBOL voltage -352 -280 R0
SYMATTR InstName V2
SYMATTR Value -1.5
SYMBOL e -352 -104 R0
SYMATTR InstName E1
SYMATTR Value .5
SYMBOL e -352 8 R0
SYMATTR InstName E2
SYMATTR Value .5
SYMBOL e2 384 -40 R0
SYMATTR InstName E3
SYMATTR Value 1
SYMBOL res 448 -296 R90
SYMATTR InstName R1
SYMATTR Value 300
SYMBOL res 448 280 R90
SYMATTR InstName R2
SYMATTR Value 300
SYMBOL voltage -464 120 R0
SYMATTR InstName V3
SYMATTR Value AC 1
* SPICE netlist
R1 N009 0 4k
R2 N007 N009 1k
R3 N007 0 3.33
Q1 N004 N008 N010 0 2N3904
Q4 N006 N009 N010 0 2N3904
R4 N010 0 10k
Q5 N004 N004 N002 0 2N3906
Q6 N006 N004 N003 0 2N3906
R5 N001 N003 1k
R6 N001 N002 1k
vref N008 0 10
vin N001 0
QMI_TRANSISTOR N005 N006 N007 0 NPN
QMI_TRANSISTOR2 N007 N005 N001 0 PNP
.dc vin 12 30 0.01

* LTspice schematic (.asc)
Version 4
SHEET 1 784 656
WIRE -184 -312 -392 -312
WIRE 40 -312 -184 -312
WIRE 392 -312 40 -312
WIRE -184 -200 -184 -232
WIRE 40 -200 40 -232
WIRE -72 -152 -120 -152
WIRE -24 -152 -72 -152
WIRE -392 -136 -392 -312
WIRE 392 -120 392 -312
WIRE 328 -72 296 -72
WIRE -184 -56 -184 -104
WIRE -72 -56 -72 -152
WIRE -72 -56 -184 -56
WIRE 296 -40 296 -72
WIRE 296 -40 200 -40
WIRE 40 8 40 -104
WIRE 136 8 40 8
WIRE 392 56 392 -24
WIRE 392 56 200 56
WIRE -184 104 -184 -56
WIRE 40 104 40 8
WIRE -248 152 -344 152
WIRE 168 152 104 152
WIRE 248 152 168 152
WIRE 392 152 392 56
WIRE 392 152 328 152
WIRE -344 200 -344 152
WIRE -72 200 -184 200
WIRE 40 200 -72 200
WIRE 392 216 392 152
WIRE 168 232 168 152
WIRE -72 248 -72 200
WIRE -344 312 -344 280
WIRE 392 328 392 296
FLAG 168 312 0
FLAG 392 328 0
FLAG -72 328 0
FLAG -344 312 0
FLAG -392 -56 0
SYMBOL res 152 216 R0
SYMATTR InstName R1
SYMATTR Value 4k
SYMBOL res 344 136 R90
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL res 376 200 R0
SYMATTR InstName R3
SYMATTR Value 3.33
SYMBOL npn -248 104 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL npn 104 104 M0
SYMATTR InstName Q4
SYMATTR Value 2N3904
SYMBOL res -88 232 R0
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL pnp -120 -104 R180
SYMATTR InstName Q5
SYMATTR Value 2N3906
SYMBOL pnp -24 -104 M180
SYMATTR InstName Q6
SYMATTR Value 2N3906
SYMBOL res 24 -328 R0
SYMATTR InstName R5
SYMATTR Value 1k
SYMBOL res -200 -328 R0
SYMATTR InstName R6
SYMATTR Value 1k
SYMBOL voltage -344 184 R0
SYMATTR InstName vref
SYMATTR Value 10
SYMBOL voltage -392 -152 R0
SYMATTR InstName vin
SYMATTR Value ""
SYMBOL npn 136 -40 R0
SYMATTR InstName MI_TRANSISTOR
SYMBOL pnp 328 -24 M180
SYMATTR InstName MI_TRANSISTOR2
* SPICE netlist
Vds UDS 0 -12V
V2 UGS 0
M1 UDS UGS 0 0 IRF9640
.dc V2 -2 -5V
.step temp list 25 175

* LTspice schematic (.asc)
Version 4
SHEET 1 336 240
WIRE 104 -120 8 -120
WIRE 168 -120 104 -120
WIRE 8 -72 8 -120
WIRE 168 -24 168 -120
WIRE -152 8 -168 8
WIRE -40 8 -152 8
WIRE -168 24 -168 8
WIRE -168 120 -168 104
WIRE 8 120 8 24
WIRE 168 120 168 56
FLAG 168 120 0
FLAG -168 120 0
FLAG 8 120 0
FLAG -152 8 UGS
FLAG 104 -120 UDS
SYMBOL voltage 168 -40 R0
SYMATTR InstName Vds
SYMATTR Value -12V
SYMBOL voltage -168 8 R0
SYMATTR Value ""
SYMATTR InstName V2
SYMBOL pmos -40 -72 R0
SYMATTR InstName M1
SYMATTR Value IRF9640
* SPICE netlist
C2 N001 N002 2
C3 N001 N003 0.333
L2 N002 0 0.5 Rser=0
L3 N003 0 1 Rser=0
V1 Vi 0 AC 1
C1 N001 Vi 1
.ac dec 1000 1m 10
.net V(vi) V1

* LTspice schematic (.asc)
Version 4
SHEET 1 416 272
WIRE -96 -120 -208 -120
WIRE 48 -120 -32 -120
WIRE 208 -120 48 -120
WIRE 48 -88 48 -120
WIRE 208 -88 208 -120
WIRE -208 -40 -208 -120
WIRE 48 8 48 -24
WIRE 208 8 208 -24
WIRE -208 120 -208 40
WIRE 48 120 48 88
WIRE 48 120 -208 120
WIRE 208 120 208 88
WIRE 208 120 48 120
WIRE -208 136 -208 120
FLAG -208 136 0
FLAG -208 -120 Vi
SYMBOL cap 32 -88 R0
SYMATTR InstName C2
SYMATTR Value 2
SYMBOL cap 192 -88 R0
SYMATTR InstName C3
SYMATTR Value 0.333
SYMBOL ind 32 -8 R0
SYMATTR InstName L2
SYMATTR Value 0.5
SYMATTR SpiceLine Rser=0
SYMBOL ind 192 -8 R0
SYMATTR InstName L3
SYMATTR Value 1
SYMATTR SpiceLine Rser=0
SYMBOL voltage -208 -56 R0
SYMATTR InstName V1
SYMATTR Value ""
SYMATTR Value2 AC 1
SYMBOL cap -32 -136 R90
SYMATTR InstName C1
SYMATTR Value 1
* SPICE netlist
XU1 IN N001 +V -V OUT RH27C ;pnba In+)In-)V+)V-)OUT
V1 +V 0 15
V2 -V 0 -15
C1 OUT N001 .05
R1 OUT N001 100K
R2 N001 0 10
V3 IN 0 PULSE(0 100u 0 100n 100n 40m 80m)
.tran 200m

* LTspice schematic (.asc)
Version 4
SHEET 1 640 352
WIRE 0 -160 -32 -160
WIRE 128 -160 80 -160
WIRE 160 -160 128 -160
WIRE 288 -160 240 -160
WIRE -320 -96 -320 -112
WIRE -192 -96 -192 -112
WIRE 128 -64 128 -160
WIRE 192 -64 128 -64
WIRE 288 -64 288 -160
WIRE 288 -64 256 -64
WIRE -320 0 -320 -16
WIRE -192 0 -192 -16
WIRE 176 16 176 0
WIRE 128 32 128 -64
WIRE 144 32 128 32
WIRE 288 48 288 -64
WIRE 288 48 208 48
WIRE 320 48 288 48
WIRE 144 64 -80 64
WIRE -80 80 -80 64
WIRE 176 96 176 80
WIRE -80 176 -80 160
FLAG -320 0 0
FLAG -192 0 0
FLAG -320 -112 +V
FLAG -192 -112 -V
FLAG -32 -160 0
FLAG -80 176 0
FLAG 320 48 OUT
FLAG -80 64 IN
FLAG 176 0 +V
FLAG 176 96 -V
SYMBOL RH27C 176 -16 R0
SYMATTR InstName U1
SYMBOL voltage -320 -112 R0
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL voltage -192 -112 R0
SYMATTR InstName V2
SYMATTR Value -15
SYMBOL cap 256 -80 R90
SYMATTR InstName C1
SYMATTR Value .05
SYMBOL res 256 -176 R90
SYMATTR InstName R1
SYMATTR Value 100K
SYMBOL res 96 -176 R90
SYMATTR InstName R2
SYMATTR Value 10
SYMBOL voltage -80 64 R0
SYMATTR InstName V3
SYMATTR Value PULSE(0 100u 0 100n 100n 40m 80m)
* SPICE netlist
S3 Bitout VDD Vin VCM switmod
S4 0 Bitout VCM Vin switmod
S5 Vout Vinh Bitout Vtrip switmod
S6 Vinl Vout Vtrip Bitout switmod
E1 Vinh 0 Vin VCM 2
E2 Vinl 0 Vin 0 2

* LTspice schematic (.asc)
Version 4
SHEET 1 1184 304
WIRE -544 -88 -592 -88
WIRE -544 -40 -592 -40
WIRE -544 40 -592 40
WIRE -544 88 -592 88
WIRE -496 -104 -496 -152
WIRE -496 8 -496 -24
WIRE -496 24 -496 8
WIRE -496 152 -496 104
WIRE -336 8 -496 8
WIRE -144 -104 -160 -104
WIRE -144 56 -160 56
WIRE -96 -104 -144 -104
WIRE -96 56 -144 56
WIRE 384 -88 336 -88
WIRE 384 -40 336 -40
WIRE 384 40 336 40
WIRE 384 88 336 88
WIRE 432 -104 432 -152
WIRE 432 8 432 -24
WIRE 432 24 432 8
WIRE 432 152 432 104
WIRE 592 8 432 8
FLAG -592 -88 Vin
IOPIN 1040 -944 In
FLAG -592 -40 VCM
IOPIN 1040 -896 In
FLAG -592 40 VCM
FLAG -592 88 Vin
FLAG -336 8 Bitout
IOPIN 1296 -848 Out
FLAG -496 152 0
FLAG -496 -152 VDD
IOPIN 1136 -1008 In
FLAG 336 -88 Bitout
FLAG 336 -40 Vtrip
IOPIN 1968 -896 In
FLAG 336 40 Vtrip
FLAG 336 88 Bitout
FLAG 592 8 Vout
IOPIN 2224 -848 Out
FLAG -48 -40 0
FLAG -48 120 0
FLAG -48 -120 Vinh
FLAG -48 40 Vinl
FLAG -96 104 0
FLAG -96 -56 VCM
FLAG -144 -104 Vin
FLAG -144 56 Vin
FLAG 432 -152 Vinh
FLAG 432 152 Vinl
SYMBOL sw -496 -8 M180
SYMATTR Value ""
SYMATTR InstName switmod
SYMATTR InstName S3
SYMBOL sw -496 120 M180
SYMATTR Value ""
SYMATTR InstName switmod
SYMATTR InstName S4
SYMBOL sw 432 -8 M180
SYMATTR Value ""
SYMATTR InstName switmod
SYMATTR InstName S5
SYMBOL sw 432 120 M180
SYMATTR Value ""
SYMATTR InstName switmod
SYMATTR InstName S6
SYMBOL e -48 -136 R0
SYMATTR InstName E1
SYMATTR Value 2
SYMBOL e -48 24 R0
SYMATTR InstName E2
SYMATTR Value 2
* SPICE netlist
XU1 0 N005 Amp+ Amp- N002 TL071 ;pnba In+)In-)V+)V-)OUT
V1 Amp+ 0 7
V2 0 Amp- 7
R2 N002 N005 100k
R3 N003 N002 100
XU2 0 N003 Amp+ Amp- Saida TL071 ;pnba In+)In-)V+)V-)OUT
R4 N003 Saida 1k
R5 NC_01 N001 2.2k
R6 N001 0 56k
R7 N001 0 1.8k
C2 N001 0 22p
D1 N004 0 D
Cj N004 0 11p
Rsh N004 0 10Meg
Rs N005 N004 10m
Ipd2 0 N004 PWL file=RX_input.txt
C1 N002 N005 16p
.tran .2m

* LTspice schematic (.asc)
Version 4
SHEET 1 1760 512
WIRE 832 -112 320 -112
WIRE -288 -96 -368 -96
WIRE -368 -64 -368 -96
WIRE 144 -48 112 -48
WIRE 112 -32 112 -48
WIRE 144 -32 144 -48
WIRE 160 -32 144 -32
WIRE -288 -16 -288 -96
WIRE -272 -16 -288 -16
WIRE 320 -16 320 -112
WIRE 320 -16 224 -16
WIRE 560 -16 496 -16
WIRE 672 -16 560 -16
WIRE 784 -16 672 -16
WIRE 832 -16 832 -112
WIRE 880 -16 832 -16
WIRE -112 0 -208 0
WIRE 0 0 -112 0
WIRE 96 0 80 0
WIRE 160 0 96 0
WIRE -800 16 -880 16
WIRE -720 16 -800 16
WIRE -640 16 -720 16
WIRE -560 16 -640 16
WIRE -304 16 -480 16
WIRE -272 16 -304 16
WIRE -880 32 -880 16
WIRE -640 32 -640 16
WIRE 560 32 560 -16
WIRE 672 32 672 -16
WIRE 784 32 784 -16
WIRE -800 48 -800 16
WIRE -720 48 -720 16
WIRE -880 144 -880 112
WIRE -800 144 -800 112
WIRE -800 144 -880 144
WIRE -720 144 -720 112
WIRE -720 144 -800 144
WIRE -640 144 -640 112
WIRE -640 144 -720 144
WIRE -304 144 -304 16
WIRE -224 144 -304 144
WIRE -112 144 -112 0
WIRE -112 144 -144 144
WIRE 560 144 560 112
WIRE 672 144 672 112
WIRE 672 144 560 144
WIRE 784 144 784 96
WIRE 784 144 672 144
WIRE 96 160 96 0
WIRE 176 160 96 160
WIRE 320 160 320 -16
WIRE 320 160 256 160
WIRE -880 176 -880 144
WIRE 672 176 672 144
WIRE -304 256 -304 144
WIRE -224 256 -304 256
WIRE -112 256 -112 144
WIRE -112 256 -160 256
FLAG -656 -240 Amp+
FLAG -656 -160 0
FLAG -736 -240 Amp-
FLAG -736 -160 0
FLAG -240 32 Amp+
FLAG -240 -32 Amp-
FLAG -368 -64 0
FLAG 192 16 Amp+
FLAG 192 -48 Amp-
FLAG 112 -32 0
FLAG 672 176 0
FLAG 880 -16 Saida
IOPIN 944 16 Out
FLAG -880 176 0
SYMBOL OpAmps\\opamp2 -240 64 M180
SYMATTR InstName U1
SYMATTR Value TL071
SYMBOL voltage -656 -256 R0
SYMATTR InstName V1
SYMATTR Value 7
SYMBOL voltage -736 -144 R180
SYMATTR InstName V2
SYMATTR Value 7
SYMBOL res -128 128 R90
SYMATTR InstName R2
SYMATTR Value 100k
SYMBOL res 96 -16 R90
SYMATTR InstName R3
SYMATTR Value 100
SYMBOL OpAmps\\opamp2 192 48 M180
SYMATTR InstName U2
SYMATTR Value TL071
SYMBOL res 160 176 R270
SYMATTR InstName R4
SYMATTR Value 1k
SYMBOL res 400 0 R270
SYMATTR InstName R5
SYMATTR Value 2.2k
SYMBOL res 544 16 R0
SYMATTR InstName R6
SYMATTR Value 56k
SYMBOL res 656 16 R0
SYMATTR InstName R7
SYMATTR Value 1.8k
SYMBOL cap 768 32 R0
SYMATTR InstName C2
SYMATTR Value 22p
SYMBOL diode -816 48 R0
SYMATTR InstName D1
SYMBOL cap -736 48 R0
SYMATTR InstName Cj
SYMATTR Value 11p
SYMBOL res -656 16 R0
SYMATTR InstName Rsh
SYMATTR Value 10Meg
SYMBOL res -464 0 R90
SYMATTR InstName Rs
SYMATTR Value 10m
SYMBOL current -880 112 R180
SYMATTR Value PWL file=RX_input.txt
SYMATTR InstName Ipd2
SYMBOL cap -160 240 R90
SYMATTR InstName C1
SYMATTR Value 16p
* SPICE netlist
V1 N004 0 5
V2 N001 0 PULSE(0 2 0 1n 1n 5u 10u)
XU1 0 N001 N001 N002 N003 N004 ADP3654 ;pnba PGND)INA)INB)OUTA)OUTB)VDD
.tran 100u

* LTspice schematic (.asc)
Version 4
SHEET 1 352 304
WIRE -112 -152 -176 -152
WIRE -96 -152 -112 -152
WIRE 176 -152 160 -152
WIRE -176 -136 -176 -152
WIRE -112 -56 -112 -152
WIRE -96 -56 -112 -56
WIRE 176 -56 160 -56
WIRE -176 -40 -176 -56
WIRE -96 40 -176 40
WIRE 176 40 160 40
WIRE -176 56 -176 40
WIRE -176 152 -176 136
FLAG -176 152 0
FLAG 176 40 0
FLAG -176 -40 0
SYMBOL voltage -176 40 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage -176 -152 M0
SYMATTR InstName V2
SYMATTR Value PULSE(0 2 0 1n 1n 5u 10u)
SYMBOL ADP3654 32 -56 R0
SYMATTR InstName U1
* SPICE netlist
Vi N003 0 PULSE(0 5 0 50us 50us 0 100us)
VCC N001 0 5
Rb N004 N003 1K
Rc N002 N001 1K
Q1 N002 N004 0 0 2N2222
.tran 400us

* LTspice schematic (.asc)
Version 4
SHEET 1 560 656
WIRE 280 -328 104 -328
WIRE 104 -232 104 -248
WIRE 104 -232 72 -232
WIRE 72 -72 72 -232
WIRE 280 -72 280 -328
WIRE -152 -24 -280 -24
WIRE 8 -24 -72 -24
WIRE -280 72 -280 -24
WIRE -280 296 -280 152
WIRE 72 296 72 24
WIRE 72 296 -280 296
WIRE 280 296 280 8
WIRE 280 296 72 296
WIRE 72 328 72 296
FLAG 72 328 0
SYMBOL voltage -280 56 R0
SYMATTR InstName Vi
SYMATTR Value PULSE(0 5 0 50us 50us 0 100us)
SYMBOL voltage 280 -88 R0
SYMATTR InstName VCC
SYMATTR Value 5
SYMBOL res -56 -40 R90
SYMATTR InstName Rb
SYMATTR Value 1K
SYMBOL res 120 -232 R180
SYMATTR InstName Rc
SYMATTR Value 1K
SYMBOL npn 8 -72 R0
SYMATTR InstName Q1
SYMATTR Value 2N2222
* SPICE netlist
M1 supply IN OUT supply EECMOSP l=l_min_pmos w=w_min_pmos
M2 OUT IN 0 0 EECMOSN l=l_min_nmos w=w_min_nmos
Vsupply supply 0 1
Vin IN 0 PULSE(0 1 5n 10p 10p 5n 10n)
M3 supplyL OUT N001 supplyL EECMOSP l=l_min_pmos w=w_min_pmos
M4 N001 OUT 0 0 EECMOSN l=l_min_nmos w=w_min_nmos
VsupplyL supplyL 0 1

* LTspice schematic (.asc)
Version 4
SHEET 1 1024 368
WIRE -96 -136 -96 -184
WIRE 512 -136 512 -184
WIRE -96 -40 -96 -56
WIRE 512 -40 512 -56
WIRE -224 -24 -224 -72
WIRE -224 -24 -336 -24
WIRE 336 -24 336 -72
WIRE 336 -24 224 -24
WIRE -384 8 -448 8
WIRE 176 8 112 8
WIRE -336 40 -336 24
WIRE 0 40 -336 40
WIRE 112 40 112 8
WIRE 112 40 0 40
WIRE 224 40 224 24
WIRE 384 40 224 40
WIRE -336 56 -336 40
WIRE 224 56 224 40
WIRE -480 72 -512 72
WIRE -448 72 -448 8
WIRE -448 72 -480 72
WIRE -512 104 -512 72
WIRE -256 104 -336 104
WIRE 304 104 224 104
WIRE -448 136 -448 72
WIRE -384 136 -448 136
WIRE 112 136 112 40
WIRE 176 136 112 136
WIRE -256 152 -256 104
WIRE -256 152 -336 152
WIRE 304 152 304 104
WIRE 304 152 224 152
FLAG -512 184 0
FLAG -256 152 0
FLAG -480 72 IN
FLAG 0 40 OUT
FLAG -96 -184 supply
FLAG 512 -40 0
FLAG 304 152 0
FLAG -96 -40 0
FLAG 512 -184 supplyL
FLAG -336 -72 supply
FLAG -224 -72 supply
FLAG 224 -72 supplyL
FLAG 336 -72 supplyL
SYMBOL pmos4 -384 -72 R0
SYMATTR Value2 l=l_min_pmos w=w_min_pmos
SYMATTR InstName M1
SYMATTR Value EECMOSP
SYMBOL nmos4 -384 56 R0
SYMATTR Value EECMOSN
SYMATTR Value2 l=l_min_nmos w=w_min_nmos
SYMATTR InstName M2
SYMBOL voltage -96 -152 R0
SYMATTR InstName Vsupply
SYMATTR Value 1
SYMBOL voltage -512 88 R0
SYMATTR Value PULSE(0 1 5n 10p 10p 5n 10n)
SYMATTR InstName Vin
SYMBOL pmos4 176 -72 R0
SYMATTR Value2 l=l_min_pmos w=w_min_pmos
SYMATTR InstName M3
SYMATTR Value EECMOSP
SYMBOL nmos4 176 56 R0
SYMATTR Value EECMOSN
SYMATTR Value2 l=l_min_nmos w=w_min_nmos
SYMATTR InstName M4
SYMBOL voltage 512 -152 R0
SYMATTR InstName VsupplyL
SYMATTR Value 1
* SPICE netlist
B1 tab ldr2 I=if(V(l1)>0,V(tab,ldr2)/RLdr(V(l1),b,a,Rs),0)
Rdark tab ldr2 1Meg
C1 l1 0 100n
C2 tab ldr2 3.5p
D1 nd N001 Dsw
R2 N002 l1 35k
D2 N001 N002 Dsw
D3 ledp N003 QTLP690C
H1 N001 0 Vs 1
Vs N003 ledn 0
B2 ldr1 tab I=if(V(l1)>0,V(ldr1,tab)/RLdr(V(l1),b,a,Rs),0)
Rdark1 ldr1 tab 1Meg
C3 ldr1 tab 3.5p
B3 l1 nd I=V(l1,nd)**1.4/22.5k
.param b=3.156 a=1.197 Rs=264.7
.func RLdr(i,b,a,Rs) {b/i**a+Rs}

* LTspice schematic (.asc)
Version 4
SHEET 1 784 320
WIRE 200 -160 120 -160
WIRE 312 -160 200 -160
WIRE 376 -160 312 -160
WIRE 200 -128 200 -160
WIRE 312 -128 312 -160
WIRE 120 -112 120 -160
WIRE -376 -80 -392 -80
WIRE -216 -80 -232 -80
WIRE -88 -80 -152 -80
WIRE 24 -80 -8 -80
WIRE -376 -48 -376 -80
WIRE 200 -32 200 -48
WIRE 200 -32 120 -32
WIRE 312 -32 312 -64
WIRE 312 -32 200 -32
WIRE 376 -32 312 -32
WIRE 376 0 376 -32
WIRE 392 0 376 0
WIRE -232 32 -232 -80
WIRE -216 32 -232 32
WIRE -136 32 -152 32
WIRE -88 32 -136 32
WIRE 24 32 24 -80
WIRE 24 32 -8 32
WIRE 56 32 24 32
WIRE 200 32 120 32
WIRE 312 32 200 32
WIRE 376 32 376 0
WIRE 376 32 312 32
WIRE -376 48 -376 16
WIRE 200 64 200 32
WIRE 312 64 312 32
WIRE -232 80 -232 32
WIRE 120 80 120 32
WIRE 24 96 24 32
WIRE -376 160 -376 128
WIRE -376 160 -392 160
WIRE 200 160 200 144
WIRE 200 160 120 160
WIRE 312 160 312 128
WIRE 312 160 200 160
WIRE 376 160 312 160
FLAG -232 160 0
FLAG 56 32 l1
FLAG 24 160 0
FLAG -392 -80 ledp
IOPIN -352 32 In
FLAG 376 160 ldr2
FLAG -392 160 ledn
IOPIN -352 272 In
FLAG 376 -160 ldr1
FLAG 392 0 tab
FLAG -136 32 nd
SYMBOL bi 120 80 R0
SYMATTR Value I=if(V(l1)>0,V(tab,ldr2)/RLdr(V(l1),b,a,Rs),0)
SYMATTR InstName B1
SYMBOL res 184 48 R0
SYMATTR InstName Rdark
SYMATTR Value 1MEG
SYMBOL cap 8 96 R0
SYMATTR Value 100n
SYMATTR InstName C1
SYMBOL cap 296 64 R0
SYMATTR Value 3.5p
SYMATTR InstName C2
SYMBOL diode -152 16 R90
SYMATTR InstName D1
SYMATTR Value Dsw
SYMBOL res -104 -64 R270
SYMATTR InstName R2
SYMATTR Value 35k
SYMBOL diode -216 -64 R270
SYMATTR InstName D2
SYMATTR Value Dsw
SYMBOL LED -392 -48 R0
SYMATTR InstName D3
SYMATTR Value QTLP690C
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL h -232 64 R0
SYMATTR InstName H1
SYMATTR Value Vs 1
SYMBOL voltage -376 32 R0
SYMATTR InstName Vs
SYMATTR Value 0
SYMBOL bi 120 -112 R0
SYMATTR Value I=if(V(l1)>0,V(ldr1,tab)/RLdr(V(l1),b,a,Rs),0)
SYMATTR InstName B2
SYMBOL res 184 -144 R0
SYMATTR InstName Rdark1
SYMATTR Value 1MEG
SYMBOL cap 296 -128 R0
SYMATTR Value 3.5p
SYMATTR InstName C3
SYMBOL bi -8 32 R90
SYMATTR InstName B3
SYMATTR Value I=V(l1,nd)**1.4/22.5k
* SPICE netlist
V1 IN 0 12
L1 IN N001 6.8 Rser=193m
D1 N001 OUT PMEG6010AED
C1 OUT 0 4.7 Rser=1m
C2 N005 0 1
R2 N010 0 49.9k
M1 N007 N006 N004 N004 Si7489DP
R3 OUT N004 0.75
XU1 OUT N004 N006 0 N003 N001 N002 N008 N005 IN 0 N010 IN N005 N005 0 LT3950 ;pnba Isp)Isn)PWMTG)GND)_Fault)SW)FB)Vc)CTRL)EN/UVLO)RP)RT)Vin)PWM)INTVcc)SYNC/SPRD
R4 OUT N002 1Meg
R5 0 N002 41.2k
R6 N009 N008 62k
C5 N009 0 270p
R7 N005 N003 100k
D2 N007 0 LXHL-BW02 n=8
.tran .8m startup

* LTspice schematic (.asc)
Version 4
SHEET 1 832 864
WIRE -320 -432 -416 -432
WIRE -240 -432 -320 -432
WIRE -96 -432 -160 -432
WIRE -16 -432 -96 -432
WIRE 128 -432 48 -432
WIRE 352 -432 128 -432
WIRE 416 -432 352 -432
WIRE 128 -416 128 -432
WIRE -416 -400 -416 -432
WIRE 416 -400 416 -432
WIRE -96 -352 -96 -432
WIRE 416 -320 416 -336
WIRE -416 -304 -416 -320
WIRE -320 -304 -320 -432
WIRE -288 -304 -320 -304
WIRE 128 -304 128 -336
WIRE 128 -304 96 -304
WIRE 192 -304 128 -304
WIRE 304 -304 272 -304
WIRE -320 -192 -320 -304
WIRE -288 -192 -320 -192
WIRE 352 -192 352 -432
WIRE 352 -192 96 -192
WIRE 352 -176 352 -192
WIRE -288 -80 -320 -80
WIRE 352 -80 352 -96
WIRE 352 -80 96 -80
WIRE -320 -64 -320 -80
WIRE 352 16 352 -80
WIRE -320 32 -320 16
WIRE -320 32 -400 32
WIRE -288 32 -320 32
WIRE 304 32 96 32
WIRE -400 64 -400 32
WIRE 352 128 352 112
WIRE -400 144 -400 128
WIRE -320 144 -320 32
WIRE -288 144 -320 144
WIRE 128 144 96 144
WIRE 240 144 208 144
WIRE 240 160 240 144
WIRE 240 240 240 224
WIRE 352 240 352 192
WIRE -320 256 -320 144
WIRE -288 256 -320 256
WIRE 112 256 96 256
WIRE -224 336 -224 320
WIRE -96 336 -96 320
WIRE 32 336 32 320
WIRE -96 432 -96 416
FLAG 416 -320 0
FLAG -416 -304 0
FLAG -400 144 0
FLAG -96 432 0
FLAG 352 240 0
FLAG -416 -432 IN
FLAG 416 -432 OUT
FLAG 304 -304 0
FLAG 240 240 0
FLAG -224 336 0
FLAG 32 336 0
FLAG 112 256 0
SYMBOL voltage -416 -416 R0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL ind -256 -416 R270
SYMATTR InstName L1
SYMATTR Value 6.8
SYMATTR SpiceLine Rser=193m
SYMBOL schottky -16 -416 R270
SYMATTR InstName D1
SYMATTR Value PMEG6010AED
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL cap 400 -400 R0
SYMATTR Value 4.7
SYMATTR InstName C1
SYMATTR SpiceLine Rser=1m
SYMBOL cap -416 64 R0
SYMATTR InstName C2
SYMATTR Value 1
SYMBOL res -112 320 R0
SYMATTR InstName R2
SYMATTR Value 49.9k
SYMBOL pmos 304 112 M180
SYMATTR InstName M1
SYMATTR Value Si7489DP
SYMBOL res 336 -192 R0
SYMATTR InstName R3
SYMATTR Value 0.75
SYMBOL LT3950 -96 -32 R0
SYMATTR InstName U1
SYMBOL res 112 -432 R0
SYMATTR InstName R4
SYMATTR Value 1Meg
SYMBOL res 288 -288 M270
SYMATTR InstName R5
SYMATTR Value 41.2k
SYMBOL res 224 128 R90
SYMATTR InstName R6
SYMATTR Value 62k
SYMBOL cap 224 160 R0
SYMATTR InstName C5
SYMATTR Value 270p
SYMBOL res -304 32 R180
SYMATTR InstName R7
SYMATTR Value 100k
SYMBOL LED 336 128 R0
SYMATTR Value2 n=8
SYMATTR InstName D2
SYMATTR Value LXHL-BW02
SYMATTR Description Diode
SYMATTR Type diode
* SPICE netlist
L1 N002 N005 10 Rpar=2K Rser=.1
L2 0 N003 {10u*10.2*10.2} Rpar=1Meg
C1 OUT 0 .02
D1 N003 OUT D
R3 N004 N001 10K
V1 N001 0 5
V2 N002 0 3
V3 N007 0 PWL(30m 0 30.01m 3 30.1m 3 30.11m 0)
XU1 N001 N002 N001 N005 MP_01 N008 N007 N001 N004 N006 0 LT3485-2 ;pnba Charge)Vbat)Vin)SW))IBGTout)IBGTin)IBGTpwr)_Done)Vmont)GND
.tran 50m startup
K1 L1 L2 1

* LTspice schematic (.asc)
Version 4
SHEET 1 832 528
WIRE 0 -248 0 -264
WIRE -224 -152 -416 -152
WIRE -112 -152 -224 -152
WIRE 0 -152 0 -168
WIRE 128 -152 0 -152
WIRE 288 -152 176 -152
WIRE 416 -152 352 -152
WIRE 128 -136 128 -152
WIRE 176 -136 176 -152
WIRE 416 -136 416 -152
WIRE -224 -104 -224 -152
WIRE -112 -104 -112 -152
WIRE 0 -104 0 -152
WIRE -416 -40 -416 -152
WIRE -368 -40 -416 -40
WIRE -272 -40 -288 -40
WIRE 128 -40 128 -56
WIRE 128 -40 48 -40
WIRE 176 -40 176 -56
WIRE 416 -40 416 -72
WIRE -416 40 -416 -40
WIRE -272 40 -416 40
WIRE 80 40 48 40
WIRE -416 56 -416 40
WIRE -272 120 -336 120
WIRE 80 120 48 120
WIRE -416 152 -416 136
WIRE -336 152 -336 120
WIRE -112 200 -112 184
WIRE -336 264 -336 232
FLAG 416 -40 0
FLAG -112 200 0
FLAG -416 152 0
FLAG 176 -40 0
FLAG 0 -264 0
FLAG -336 264 0
FLAG 416 -152 OUT
SYMBOL ind2 112 -152 R0
SYMATTR InstName L1
SYMATTR Value 10
SYMATTR SpiceLine Rpar=2K Rser=.1
SYMBOL ind2 192 -40 R180
SYMATTR InstName L2
SYMATTR Value {10u*10.2*10.2}
SYMATTR SpiceLine Rpar=1Meg
SYMBOL cap 400 -136 R0
SYMATTR Value .02
SYMATTR InstName C1
SYMBOL diode 288 -136 R270
SYMATTR InstName D1
SYMBOL res -272 -56 R90
SYMATTR InstName R3
SYMATTR Value 10K
SYMBOL VOLTAGE -416 40 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL misc\\battery 0 -152 M180
SYMATTR InstName V2
SYMATTR Value 3
SYMBOL voltage -336 136 R0
SYMATTR Value PWL(30m 0 30.01m 3 30.1m 3 30.11m 0)
SYMATTR InstName V3
SYMBOL PowerProducts\\LT3485-2 -112 40 R0
SYMATTR InstName U1
* SPICE netlist
M1 DS N002 0 N001 CMOSN l=0.18u w=1.8u ad=0.81p as=0.81p pd=4.5u ps=4.5u
VGS N002 0 V
VDS DS 0 50m
VBS N001 0 900m
.include TSMC_180nm.txt
.dc VGS 0 1.8 0.1

* LTspice schematic (.asc)
Version 4
SHEET 1 336 512
WIRE 152 -256 -8 -256
WIRE 152 -240 152 -256
WIRE 152 -128 152 -160
WIRE -8 -80 -8 -256
WIRE 168 -32 -8 -32
WIRE -56 0 -168 0
WIRE -168 32 -168 0
WIRE 168 128 168 -32
WIRE -168 176 -168 112
WIRE -8 176 -8 16
WIRE -8 176 -168 176
WIRE -8 240 -8 176
WIRE 168 256 168 208
FLAG -8 240 0
FLAG 168 256 0
FLAG 152 -128 0
FLAG 152 -256 DS
SYMBOL nmos4 -56 -80 R0
SYMATTR InstName M1
SYMATTR Value CMOSN
SYMATTR Value2 l=0.18u w=1.8u ad=0.81p as=0.81p pd=4.5u ps=4.5u
SYMBOL voltage -168 16 R0
SYMATTR InstName VGS
SYMBOL voltage 152 -256 R0
SYMATTR InstName VDS
SYMATTR Value 50m
SYMBOL voltage 168 112 R0
SYMATTR InstName VBS
SYMATTR Value 900m
* SPICE netlist
XU1 N001 IN IN NC_01 N003 N002 N002 0 0 LTC3621 ;pnba SW)Vin)Run)Pgood)FB)INTVcc)Mode)SGND)GND
C1 N002 0 1
V1 IN 0 12
L1 N001 OUT 4.7 Rser=20m
R1 OUT N003 604K
C2 OUT N003 22p
R2 N003 0 191K
C3 OUT 0 22 Rser=10m
Rload OUT 0 2.5
.tran 2m startup

* LTspice schematic (.asc)
Version 4
SHEET 1 816 352
WIRE -296 -176 -408 -176
WIRE -136 -176 -296 -176
WIRE -408 -160 -408 -176
WIRE -136 -160 -136 -176
WIRE -296 -96 -296 -176
WIRE -280 -96 -296 -96
WIRE 40 -96 8 -96
WIRE 152 -96 120 -96
WIRE 248 -96 152 -96
WIRE 328 -96 248 -96
WIRE 408 -96 328 -96
WIRE 152 -80 152 -96
WIRE 248 -80 248 -96
WIRE 328 -80 328 -96
WIRE 408 -80 408 -96
WIRE -408 -64 -408 -80
WIRE -280 0 -296 0
WIRE 152 0 8 0
WIRE 248 0 248 -16
WIRE 248 0 152 0
WIRE 152 16 152 0
WIRE 328 16 328 -16
WIRE 408 16 408 0
WIRE -376 96 -392 96
WIRE -296 96 -296 0
WIRE -296 96 -312 96
WIRE -280 96 -296 96
WIRE 152 112 152 96
WIRE -184 176 -184 160
WIRE -88 176 -88 160
FLAG -184 176 0
FLAG -88 176 0
FLAG -392 96 0
FLAG -408 -64 0
FLAG 152 112 0
FLAG 328 16 0
FLAG 408 16 0
FLAG -408 -176 IN
FLAG 408 -96 OUT
SYMBOL PowerProducts\\LTC3621 -136 0 R0
SYMATTR InstName U1
SYMBOL cap -312 80 R90
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL voltage -408 -176 R0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL ind 24 -80 R270
SYMATTR InstName L1
SYMATTR Value 4.7
SYMATTR SpiceLine Rser=20m
SYMBOL res 136 -96 R0
SYMATTR InstName R1
SYMATTR Value 604K
SYMBOL cap 232 -80 R0
SYMATTR InstName C2
SYMATTR Value 22p
SYMBOL res 136 0 R0
SYMATTR InstName R2
SYMATTR Value 191K
SYMBOL cap 312 -80 R0
SYMATTR InstName C3
SYMATTR Value 22
SYMATTR SpiceLine Rser=10m
SYMBOL res 392 -96 R0
SYMATTR InstName Rload
SYMATTR Value 2.5
* SPICE netlist
R1 N001 0 R
V1 N002 0 3.3
V2 N001 0 V
M1 N001 N002 0 0 NMOS
.inc library.mod
.dc V2 0 3.3 0.1

* LTspice schematic (.asc)
Version 4
SHEET 1 480 288
WIRE 176 -144 48 -144
WIRE 176 -128 176 -144
WIRE 240 -112 208 -112
WIRE -32 -80 -224 -80
WIRE 48 -80 48 -144
WIRE 48 -80 -32 -80
WIRE 208 -80 208 -112
WIRE 208 -80 176 -80
WIRE 240 -80 240 -112
WIRE -32 -32 -32 -80
WIRE 176 0 176 -32
WIRE -224 32 -224 0
WIRE 128 32 128 -48
WIRE -32 80 -32 48
WIRE 128 144 128 112
FLAG -224 32 0
FLAG -32 80 0
FLAG 128 144 0
FLAG 176 0 0
FLAG 240 -80 0
SYMBOL res -240 -96 R0
SYMATTR InstName R1
SYMBOL voltage 128 16 R0
SYMATTR InstName V1
SYMATTR Value 3.3
SYMBOL voltage -32 -48 R0
SYMATTR InstName V2
SYMBOL nmos4 128 -128 R0
SYMATTR InstName M1
* SPICE netlist
R2 N001 N003 2R pwr=1
V2 N002 0 24V
R5 N002 DRIVER_TTL 12K
R6 DRIVER_TTL 0 8.2K
R1 DRIVER_TTL 0 4.7k
M1 N004 DRIVER_TTL 0 0 NMOS
L1 N003 N004 L
V1 N001 0 12V

* LTspice schematic (.asc)
Version 4
SHEET 1 1232 432
WIRE 392 -216 136 -216
WIRE -440 -168 -616 -168
WIRE 392 -168 392 -216
WIRE -616 -136 -616 -168
WIRE -440 -136 -440 -168
WIRE -264 -56 -440 -56
WIRE 136 -56 136 -216
WIRE -440 -40 -440 -56
WIRE 392 -40 392 -88
WIRE 488 -40 392 -40
WIRE 584 -40 488 -40
WIRE 488 -24 488 -40
WIRE 584 -24 584 -40
WIRE 392 8 392 -40
WIRE 472 24 440 24
WIRE -616 40 -616 -56
WIRE -504 40 -616 40
WIRE -440 40 -504 40
WIRE 136 56 136 24
WIRE 472 56 472 24
WIRE 584 56 472 56
WIRE 616 56 584 56
WIRE -504 72 -504 40
WIRE 136 216 136 136
WIRE 392 216 392 104
WIRE 392 216 136 216
FLAG -504 72 0
FLAG -264 -56 DRIVER_TTL
IOPIN -320 -240 Out
FLAG 616 56 DRIVER_TTL
IOPIN 560 -128 In
FLAG 488 -24 0
SYMBOL res 120 -72 R0
SYMATTR InstName R2
SYMATTR Value 2R
SYMATTR SpiceLine pwr=1
SYMBOL voltage -616 -152 R0
SYMATTR InstName V2
SYMATTR Value 24V
SYMBOL res -456 -152 R0
SYMATTR InstName R5
SYMATTR Value 12K
SYMBOL res -456 -56 R0
SYMATTR InstName R6
SYMATTR Value 8.2K
SYMBOL res 600 72 R180
SYMATTR InstName R1
SYMATTR Value 4.7k
SYMBOL nmos 440 104 R180
SYMATTR InstName M1
SYMBOL ind 120 40 R0
SYMATTR InstName L1
SYMBOL voltage 392 -184 R0
SYMATTR InstName V1
SYMATTR Value 12V
* SPICE netlist
XU1 N005 N003 0 12AU7 12AU7 ;pnba Plate)Grid)Cathode
XU2 N006 N004 0 12AU7 12AU7 ;pnba Plate)Grid)Cathode
L1 N005 N007 110nH
L2 N007 N006 110nH
C1 N006 N005 15p
C2 N006 N003 47p
C3 N004 N005 47p
R1 N003 0 10k
R2 N004 0 10.2k
V1 N007 0 135
.inc dhTubes.inc
.tran .02 startup

* LTspice schematic (.asc)
Version 4
SHEET 1 576 848
WIRE -176 -424 -272 -424
WIRE 288 -424 208 -424
WIRE -176 -392 -176 -424
WIRE 208 -392 208 -424
WIRE -96 -344 -128 -344
WIRE 160 -344 144 -344
WIRE -144 -248 -144 -296
WIRE 176 -248 176 -296
WIRE -272 -216 -272 -424
WIRE 48 -216 -272 -216
WIRE 144 -216 144 -344
WIRE 144 -216 112 -216
WIRE -96 -152 -96 -344
WIRE -80 -152 -96 -152
WIRE 288 -152 288 -424
WIRE 288 -152 -16 -152
WIRE -96 -104 -96 -152
WIRE 144 -104 144 -216
WIRE 288 -56 288 -152
WIRE -272 -40 -272 -216
WIRE -96 8 -96 -24
WIRE 144 8 144 -24
WIRE 0 120 -80 120
WIRE 144 120 64 120
WIRE -272 232 -272 40
WIRE -80 232 -80 120
WIRE -80 232 -272 232
WIRE -48 232 -80 232
WIRE 144 232 144 120
WIRE 144 232 112 232
WIRE 288 232 288 24
WIRE 288 232 144 232
WIRE 32 312 32 232
WIRE 32 424 32 392
FLAG -144 -248 0
FLAG 176 -248 0
FLAG -96 8 0
FLAG 144 8 0
FLAG 32 424 0
SYMBOL Misc\\triode -176 -344 M0
SYMATTR InstName U1
SYMATTR Value 12AU7
SYMATTR InstName 12AU7
SYMBOL Misc\\triode 208 -344 R0
SYMATTR InstName U2
SYMATTR Value 12AU7
SYMATTR InstName 12AU7
SYMBOL ind -64 248 R270
SYMATTR InstName L1
SYMATTR Value 110nH
SYMBOL ind 16 248 R270
SYMATTR InstName L2
SYMATTR Value 110nH
SYMBOL cap 64 104 R90
SYMATTR InstName C1
SYMATTR Value 15p
SYMBOL cap -16 -168 R90
SYMATTR InstName C2
SYMATTR Value 47p
SYMBOL cap 112 -232 R90
SYMATTR InstName C3
SYMATTR Value 47p
SYMBOL res -112 -120 R0
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL res 128 -120 R0
SYMATTR InstName R2
SYMATTR Value 10.2k
SYMBOL voltage 32 296 R0
SYMATTR InstName V1
SYMATTR Value 135
SYMBOL res 272 -72 R0
SYMATTR InstName R3
SYMATTR Value 0
SYMBOL res -288 -56 R0
SYMATTR InstName R4
SYMATTR Value 0
* SPICE netlist
Vg Vg 0 -1.3 Rser=0 Cpar=0
Vds Vds 0
M2 Vds Vg 0 0 FDS6375
.dc Vds 0 -1.3

* LTspice schematic (.asc)
Version 4
SHEET 1 512 272
WIRE 256 -88 256 -136
WIRE -256 -40 -256 -72
WIRE -80 -40 -80 -72
WIRE -256 72 -256 40
WIRE -80 72 -80 40
WIRE 256 136 256 8
FLAG -256 72 0
FLAG -256 -72 Vg
IOPIN -464 176 Out
FLAG -80 72 0
FLAG -80 -72 Vds
IOPIN -288 176 Out
FLAG 208 -8 Vg
IOPIN 0 240 In
FLAG 256 -136 Vds
IOPIN 48 112 In
FLAG 256 136 0
SYMBOL voltage -256 -56 R0
SYMATTR Value -1.3
SYMATTR SpiceLine Rser=0 Cpar=0
SYMATTR InstName Vg
SYMBOL voltage -80 -56 R0
SYMATTR Value ""
SYMATTR InstName Vds
SYMBOL pmos 208 -88 R0
SYMATTR InstName M2
SYMATTR Value FDS6375
* SPICE netlist
V1 N002 0 0
XM1 N001 N002 0 2N7002 ;pnba D)G)S
V2 N001 0 5
.SUBCKT 2N7002 1 2 3
Cgs 6 3 12.3e-12
Cgd1 6 4 27.4e-12
Cgd2 1 4 6e-12
M1 5 6 3 3 MOST1
M2 4 6 5 3 MOST2
D1 3 1 Dbody
Rd 5 1 Rtemp 2.3
Rg 2 6 15
+ RS=0 RD=0 UO=650 VMAX=0 XJ=0.5E-6 KAPPA=10E-2
+ ETA=3e-6 TPG=1 IS=0 LD=0 WD=0 CGSO=0 CGDO=0
+ CGBO=0 NFS=4.9e12 DELTA=0.1)
+ RS=1000 RD=1000 UO=650 VMAX=0 XJ=0.5E-6 KAPPA=10E-2
+ ETA=3e-6 TPG=1 IS=0 LD=0 WD=0 CGSO=0 CGDO=0
+ CGBO=0 NFS=0 DELTA=0.1)
+ Bv=60 Ibv=10e-6 Tt=50e-9)
.dc V2 -0.7 9 0.01 V1 0 3 0.6

* LTspice schematic (.asc)
Version 4
SHEET 1 416 304
WIRE -208 152 -208 120
WIRE -208 -8 -208 -40
WIRE -208 -40 -64 -40
WIRE -16 -152 -16 -120
WIRE -16 -24 -16 120
WIRE -16 120 -208 120
WIRE -208 120 -208 72
WIRE 208 -104 208 -152
WIRE 208 -152 -16 -152
WIRE -16 120 208 120
WIRE 208 120 208 -24
FLAG -208 152 0
SYMBOL voltage -208 -24 R0
SYMATTR InstName V1
SYMATTR Value 0
SYMBOL nmos -64 -120 R0
SYMATTR InstName M1
SYMATTR Value 2N7002
SYMATTR Prefix X
SYMBOL voltage 208 -120 R0
SYMATTR InstName V2
SYMATTR Value 5
* SPICE netlist
Q1 N002 N003 N005 0 2N3904
Q2 Out N002 N005 0 2N3904
Vin In 0 PWL(0 0 1 {VCC} 2 0 3 {VCC})
Vcc N001 0 {vcc}
R2 N001 N002 1k
R3 N001 Out 1k
R4 N005 0 100
R1 N003 In 22k
M1 N008 N009 N010 N010 2N7002
M2 out2 N008 N010 N010 2N7002
R14 N007 N008 1k
R15 N007 out2 1k
R16 N010 0 100
V1 N007 0 {vcc}
B2 N009 0 V={V(in)}
Q3 0 N006 N004 0 2N3906
R5 N001 N004 1k
R6 N006 N005 10k
;.step param vcc 5 25 5
.param vcc=5
;.step temp list -25 25 125
.tran 3

* LTspice schematic (.asc)
Version 4.1
SHEET 1 1184 1632
WIRE -64 -816 -592 -816
WIRE 128 -816 -64 -816
WIRE 432 -816 128 -816
WIRE 592 -816 432 -816
WIRE -64 -752 -64 -816
WIRE 128 -752 128 -816
WIRE 128 -656 128 -672
WIRE 240 -656 128 -656
WIRE 336 -656 240 -656
WIRE 432 -656 432 -816
WIRE 128 -624 128 -656
WIRE -64 -576 -64 -672
WIRE 64 -576 -64 -576
WIRE -64 -496 -64 -576
WIRE -240 -448 -272 -448
WIRE -128 -448 -160 -448
WIRE 432 -416 432 -576
WIRE 128 -368 128 -528
WIRE 224 -368 128 -368
WIRE 368 -368 304 -368
WIRE -64 -336 -64 -400
WIRE 128 -336 128 -368
WIRE 128 -336 -64 -336
WIRE -272 -320 -272 -448
WIRE -592 -304 -592 -816
WIRE 128 -240 128 -336
WIRE -592 -96 -592 -224
WIRE -272 -96 -272 -240
WIRE -272 -96 -592 -96
WIRE -224 -96 -272 -96
WIRE 128 -96 128 -160
WIRE 128 -96 -224 -96
WIRE 432 -96 432 -320
WIRE 432 -96 128 -96
WIRE -224 -16 -224 -96
WIRE -48 48 -368 48
WIRE 80 48 -48 48
WIRE 480 48 80 48
WIRE -48 80 -48 48
WIRE 80 80 80 48
WIRE 80 304 80 160
WIRE 176 304 80 304
WIRE 256 304 176 304
WIRE 80 320 80 304
WIRE -48 400 -48 160
WIRE 32 400 -48 400
WIRE -368 448 -368 48
WIRE -48 464 -48 400
WIRE -96 544 -224 544
WIRE -48 592 -48 560
WIRE 80 592 80 416
WIRE 80 592 -48 592
WIRE -224 608 -224 544
WIRE -48 640 -48 592
WIRE -368 784 -368 528
WIRE -224 784 -224 688
WIRE -224 784 -368 784
WIRE -48 784 -48 720
WIRE -48 784 -224 784
WIRE 304 784 -48 784
WIRE -368 816 -368 784
FLAG -224 -16 0
FLAG 240 -656 Out
FLAG -272 -448 In
FLAG -368 816 0
FLAG 176 304 out2
SYMBOL npn -128 -496 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL npn 64 -624 R0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL voltage -272 -336 R0
SYMATTR InstName Vin
SYMATTR Value PWL(0 0 1 {VCC} 2 0 3 {VCC})
SYMBOL voltage -592 -320 R0
SYMATTR InstName Vcc
SYMATTR Value {vcc}
SYMBOL res -80 -768 R0
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL res 112 -768 R0
SYMATTR InstName R3
SYMATTR Value 1k
SYMBOL res 112 -256 R0
SYMATTR InstName R4
SYMATTR Value 100
SYMBOL res -144 -464 R90
SYMATTR InstName R1
SYMATTR Value 22k
SYMBOL nmos -96 464 R0
SYMATTR InstName M1
SYMATTR Value 2N7002
SYMBOL nmos 32 320 R0
SYMATTR InstName M2
SYMATTR Value 2N7002
SYMBOL res -64 64 R0
SYMATTR InstName R14
SYMATTR Value 1k
SYMBOL res 64 64 R0
SYMATTR InstName R15
SYMATTR Value 1k
SYMBOL res -64 624 R0
SYMATTR InstName R16
SYMATTR Value 100
SYMBOL voltage -368 432 R0
SYMATTR InstName V1
SYMATTR Value {vcc}
SYMBOL bv -224 592 R0
SYMATTR InstName B2
SYMATTR Value V={V(in)}
SYMBOL pnp 368 -320 M180
SYMATTR InstName Q3
SYMATTR Value 2N3906
SYMBOL res 416 -672 R0
SYMATTR InstName R5
SYMATTR Value 1k
SYMBOL res 320 -384 R90
SYMATTR InstName R6
SYMATTR Value 10k
* SPICE netlist
V1 IN 0 5
Rload OUT 0 27
XU1 IN 0 IN MP_01 OUT ADP151-x.x T=1.75Meg ;pnba Vin)GND)EN))Vout
C1 OUT 0 1
.tran 500u startup

* LTspice schematic (.asc)
Version 4
SHEET 1 560 288
WIRE -152 -144 -280 -144
WIRE 8 -144 -152 -144
WIRE -280 -128 -280 -144
WIRE 8 -128 8 -144
WIRE -280 -32 -280 -48
WIRE -152 0 -152 -144
WIRE -120 0 -152 0
WIRE 184 0 136 0
WIRE 280 0 184 0
WIRE 184 16 184 0
WIRE 280 16 280 0
WIRE 184 112 184 80
WIRE 280 112 280 96
WIRE 8 144 8 128
FLAG 280 0 OUT
FLAG 280 112 0
FLAG -280 -32 0
FLAG -280 -144 IN
FLAG 8 144 0
FLAG 184 112 0
SYMBOL VOLTAGE -280 -144 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL res 264 0 R0
SYMATTR InstName Rload
SYMATTR Value 27
SYMBOL PowerProducts\\ADP151-2.75 8 0 R0
SYMATTR InstName U1
SYMBOL cap 168 16 R0
SYMATTR InstName C1
SYMATTR Value 1
* SPICE netlist
C1 N007 0 0.22
V1 IN 0 PWL(0 0 20u 12 0.1 12 +1m 80 0.2 80 +1m 12)
R1 N002 IN 200k
R2 IN N003 20k
C2 N003 0 0.1
D1 0 N003 1N5371B
R3 OUT N001 10m
R4 N005 N004 10
R5 N005 N006 33
C3 N006 0 47n
C4 OUT 0 22
Rload OUT 0 100
XU1 N002 N003 N005 N001 OUT 0 NC_01 0 N003 N007 IN N001 N004 LTC4381-2 ;pnba DRN)Vcc)GATE)SNS)OUT)SEL)_FLT)GND)ON)TMR)IN)SRC)GFET
.tran 12 startup

* LTspice schematic (.asc)
Version 4
SHEET 1 1296 528
WIRE -632 -248 -648 -248
WIRE -472 -248 -632 -248
WIRE -376 -248 -472 -248
WIRE -152 -248 -376 -248
WIRE 360 -248 312 -248
WIRE 536 -248 440 -248
WIRE 616 -248 536 -248
WIRE 648 -248 616 -248
WIRE 648 -232 648 -248
WIRE -648 -216 -648 -248
WIRE -472 -216 -472 -248
WIRE 536 -216 536 -248
WIRE -376 -184 -376 -248
WIRE -328 -184 -376 -184
WIRE -152 -184 -248 -184
WIRE 360 -184 360 -248
WIRE 360 -184 312 -184
WIRE 536 -136 536 -152
WIRE 648 -136 648 -152
WIRE 440 -120 440 -248
WIRE 440 -120 312 -120
WIRE -648 -104 -648 -136
WIRE -472 -104 -472 -136
WIRE -152 -104 -472 -104
WIRE -472 -40 -472 -104
WIRE -360 -40 -472 -40
WIRE -152 -40 -360 -40
WIRE 360 -40 312 -40
WIRE 488 -40 440 -40
WIRE -472 8 -472 -40
WIRE -360 24 -360 -40
WIRE -152 24 -184 24
WIRE 488 24 488 -40
WIRE 488 24 312 24
WIRE 488 56 488 24
WIRE -472 152 -472 72
WIRE -360 152 -360 88
WIRE 488 152 488 136
WIRE -40 168 -40 152
WIRE -40 248 -40 232
WIRE 184 248 184 152
WIRE 488 264 488 216
FLAG -40 248 0
FLAG 184 248 0
FLAG -648 -104 0
FLAG -472 152 0
FLAG -360 152 0
FLAG -184 24 0
FLAG 488 264 0
FLAG 536 -136 0
FLAG -632 -248 IN
FLAG 616 -248 OUT
FLAG 648 -136 0
SYMBOL cap -56 168 R0
SYMATTR InstName C1
SYMATTR Value 0.22
SYMBOL voltage -648 -232 R0
SYMATTR Value PWL(0 0 20u 12 0.1 12 +1m 80 0.2 80 +1m 12)
SYMATTR InstName V1
SYMBOL res -232 -200 R90
SYMATTR InstName R1
SYMATTR Value 200k
SYMBOL res -488 -232 R0
SYMATTR InstName R2
SYMATTR Value 20k
SYMBOL cap -488 8 R0
SYMATTR InstName C2
SYMATTR Value 0.1
SYMBOL zener -376 88 M180
SYMATTR InstName D1
SYMATTR Value 1N5371B
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 456 -264 R90
SYMATTR InstName R3
SYMATTR Value 10m
SYMBOL res 456 -56 R90
SYMATTR InstName R4
SYMATTR Value 10
SYMBOL res 472 40 R0
SYMATTR InstName R5
SYMATTR Value 33
SYMBOL cap 472 152 R0
SYMATTR InstName C3
SYMATTR Value 47n
SYMBOL cap 520 -216 R0
SYMATTR InstName C4
SYMATTR Value 22
SYMBOL res 632 -248 R0
SYMATTR InstName Rload
SYMATTR Value 100
SYMBOL LTC4381-2 72 -40 R0
SYMATTR InstName U1
* SPICE netlist
V1 IN 0 5
C1 OUT 0 1
Rload OUT 0 180
V2 N001 0 PULSE(0 5 100u 50n 50n 2.5m)
XU1 IN 0 N001 OUT ADP16xfd K=555.6u ;pnba Vin)GND)En)Vout
.tran 4m

* LTspice schematic (.asc)
Version 4
SHEET 1 544 224
WIRE -64 -112 -272 -112
WIRE 176 -112 128 -112
WIRE 272 -112 176 -112
WIRE -272 -96 -272 -112
WIRE 176 -96 176 -112
WIRE 272 -96 272 -112
WIRE -272 0 -272 -16
WIRE -64 0 -208 0
WIRE 176 0 176 -32
WIRE 272 0 272 -16
WIRE -208 16 -208 0
WIRE 32 64 32 48
WIRE -208 112 -208 96
FLAG -272 0 0
FLAG 32 64 0
FLAG 176 0 0
FLAG 272 0 0
FLAG 272 -112 OUT
FLAG -272 -112 IN
FLAG -208 112 0
SYMBOL voltage -272 -112 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL cap 160 -96 R0
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL res 256 -112 R0
SYMATTR InstName Rload
SYMATTR Value 180
SYMBOL voltage -208 0 R0
SYMATTR InstName V2
SYMATTR Value PULSE(0 5 100u 50n 50n 2.5m)
SYMBOL ADP160-1.8 32 0 R0
SYMATTR InstName U1
* SPICE netlist
R1 N002 N001 15K tol=1 pwr=0.1
C1 N001 0 100n
A1 N001 0 0 0 0 N002 0 0 SCHMITT Vhigh=5,Td=7e-9,Trise=2e-9,Vh=.4
.tran 0 50m 0 100n
.wave beispiel1.wav 16 44100 V(N001)
.wave beispiel2.wav 16 44100 V(N002)

* LTspice schematic (.asc)
Version 4
SHEET 1 200 272
WIRE -80 104 -80 120
WIRE -80 40 -80 8
WIRE -80 -120 -32 -120
WIRE 0 120 -80 120
WIRE -80 120 -80 136
WIRE 96 8 96 -120
WIRE 96 -120 48 -120
WIRE 64 8 96 8
WIRE 0 24 0 120
WIRE 0 8 -80 8
WIRE -80 8 -80 -120
FLAG -80 136 0
SYMBOL res 64 -136 R90
SYMATTR InstName R1
SYMATTR Value 15K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL cap -96 40 R0
SYMATTR InstName C1
SYMATTR Value 100n
SYMBOL Digital\\schmtinv 0 -56 R0
SYMATTR Value Vhigh=5,Td=7e-9,Trise=2e-9,Vh=.4
SYMATTR InstName A1
* SPICE netlist
M1 N001 N002 0 0 NMOS
V1 N002 0 5
V2 N001 0 5
.dc V1 0.1 5 0.2

* LTspice schematic (.asc)
Version 4
SHEET 1 304 208
WIRE 152 -104 8 -104
WIRE 152 -8 152 -104
WIRE -40 8 -40 -24
WIRE -40 8 -152 8
WIRE 8 72 8 -8
WIRE 152 72 8 72
WIRE 8 88 8 72
WIRE 8 88 -152 88
WIRE 8 104 8 88
WIRE 24 104 8 104
FLAG 24 104 0
SYMBOL nmos -40 -104 R0
SYMATTR InstName M1
SYMBOL voltage -152 -8 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage 152 -24 R0
SYMATTR InstName V2
SYMATTR Value 5
* SPICE netlist
Itime f 0 -1
Ctime f 0 1
Rtime f 0 100G
Bnoise digfilt 0 V=0.1/sqrt((cos(2*pi*v(f)/100E6)-0.9)**2+(sin(2*pi*v(f)/100E6))**2)
Rdig 0 digfilt 100G
Bnoise1 rcfilt 0 V=1/sqrt(1+(v(f)/1.592E6)**2)
Rrc 0 rcfilt 100G
.tran 100k 200MEG 1000 UIC

* LTspice schematic (.asc)
Version 4
SHEET 1 736 432
WIRE -368 72 -368 40
WIRE -368 184 -368 152
WIRE -256 40 -368 40
WIRE -208 40 -256 40
WIRE -208 72 -208 40
WIRE -208 184 -368 184
WIRE -208 184 -208 136
WIRE -96 40 -208 40
WIRE -96 72 -96 40
WIRE -96 184 -208 184
WIRE -96 184 -96 152
WIRE -96 216 -96 184
WIRE 112 -168 112 -200
WIRE 112 -24 112 -88
WIRE 112 72 112 40
WIRE 112 216 112 152
WIRE 144 -200 112 -200
WIRE 144 40 112 40
WIRE 224 -200 144 -200
WIRE 224 40 144 40
WIRE 368 -200 304 -200
WIRE 368 -168 368 -200
WIRE 368 40 304 40
WIRE 368 72 368 40
FLAG -256 40 f
FLAG -96 216 0
FLAG 112 216 0
FLAG 368 72 0
FLAG 144 40 digfilt
FLAG 112 -24 0
FLAG 368 -168 0
FLAG 144 -200 rcfilt
SYMBOL current -368 72 R0
SYMATTR InstName Itime
SYMATTR Value -1
SYMBOL cap -224 72 R0
SYMATTR InstName Ctime
SYMATTR Value 1
SYMBOL res -112 56 R0
SYMATTR InstName Rtime
SYMATTR Value 100G
SYMBOL bv 112 56 R0
SYMATTR InstName Bnoise
SYMATTR Value V=0.1/sqrt((cos(2*pi*v(f)/100E6)-0.9)**2+(sin(2*pi*v(f)/100E6))**2)
SYMBOL res 320 24 R90
SYMATTR InstName Rdig
SYMATTR Value 100G
SYMBOL bv 112 -184 R0
SYMATTR InstName Bnoise1
SYMATTR Value V=1/sqrt(1+(v(f)/1.592E6)**2)
SYMBOL res 320 -216 R90
SYMATTR InstName Rrc
SYMATTR Value 100G
* SPICE netlist
Q1 N003 N006 N007 0 BC238
V1 N001 0 0
V2 N004 0 4
R1 N005 N004 1Meg
R2 N001 N002 1k
R3 N008 0 220
vc N002 N003 0
ve N007 N008 0
vb N005 N006 0
.dc V1 0 12 0.01

* LTspice schematic (.asc)
Version 4
SHEET 1 768 672
WIRE 384 -336 48 -336
WIRE 48 -304 48 -336
WIRE 48 -192 48 -224
WIRE 48 -80 48 -112
WIRE 384 -80 384 -336
WIRE -288 -32 -384 -32
WIRE -144 -32 -208 -32
WIRE -16 -32 -64 -32
WIRE -384 64 -384 -32
WIRE 48 80 48 16
WIRE 48 208 48 160
WIRE -384 336 -384 144
WIRE 48 336 48 288
WIRE 384 336 384 0
FLAG 384 336 0
FLAG 48 336 0
FLAG -384 336 0
SYMBOL npn -16 -80 R0
SYMATTR InstName Q1
SYMATTR Value BC238
SYMBOL voltage 384 -96 R0
SYMATTR InstName V1
SYMATTR Value 0
SYMBOL voltage -384 48 R0
SYMATTR InstName V2
SYMATTR Value 4
SYMBOL res -192 -48 R90
SYMATTR InstName R1
SYMATTR Value 1meg
SYMBOL res 32 -320 R0
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL res 32 192 R0
SYMATTR InstName R3
SYMATTR Value 220
SYMBOL voltage 48 -208 R0
SYMATTR InstName vc
SYMATTR Value 0
SYMBOL voltage 48 64 R0
SYMATTR InstName ve
SYMATTR Value 0
SYMBOL voltage -160 -32 M90
SYMATTR InstName vb
SYMATTR Value 0
* SPICE netlist
V1 +V 0 15
V2 -V 0 -15
R1 N002 N001 845
R2 N001 0 274
V3 IN 0 SINE(0 2.5 1K)
XU1 IN N001 +V -V N002 NC_01 LT1210 ;pnba In+)In-)V+)V-)OUT)CMP
R3 OUT N002 11
Rload OUT 0 100
.tran 3m

* LTspice schematic (.asc)
Version 4
SHEET 1 656 336
WIRE -88 -152 -104 -152
WIRE 8 -152 -8 -152
WIRE 72 -152 8 -152
WIRE 200 -152 152 -152
WIRE -328 -88 -328 -104
WIRE -200 -88 -200 -104
WIRE 72 -56 72 -72
WIRE 8 -8 8 -152
WIRE 40 -8 8 -8
WIRE -328 8 -328 -8
WIRE -200 8 -200 -8
WIRE 200 24 200 -152
WIRE 200 24 184 24
WIRE 216 24 200 24
WIRE 328 24 296 24
WIRE 328 40 328 24
WIRE 40 56 -136 56
WIRE -136 72 -136 56
WIRE 72 120 72 104
WIRE 328 136 328 120
WIRE -136 168 -136 152
FLAG -200 8 0
FLAG 72 -72 +V
FLAG -200 -104 +V
FLAG 72 120 -V
FLAG -328 8 0
FLAG -328 -104 -V
FLAG -104 -152 0
FLAG -136 168 0
FLAG 328 136 0
FLAG 328 24 OUT
FLAG -136 56 IN
SYMBOL voltage -200 -104 R0
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL voltage -328 -104 R0
SYMATTR InstName V2
SYMATTR Value -15
SYMBOL res 168 -168 R90
SYMATTR InstName R1
SYMATTR Value 845
SYMBOL res 8 -168 R90
SYMATTR InstName R2
SYMATTR Value 274
SYMBOL voltage -136 56 R0
SYMATTR InstName V3
SYMATTR Value SINE(0 2.5 1K)
SYMBOL opamps\\LT1210 72 24 R0
SYMATTR InstName U1
SYMBOL res 312 8 R90
SYMATTR InstName R3
SYMATTR Value 11
SYMBOL res 312 24 R0
SYMATTR InstName Rload
SYMATTR Value 100
* SPICE netlist
M1 bat out out out PMOS
R1 out 0 10k
R2 out 0 1k
D1 usb out D
D2 NC_01 out D
V1 wall 0 9
V2 bat 0 9
V3 usb 0 5
.tran 1s startup

* LTspice schematic (.asc)
Version 4
SHEET 1 448 512
WIRE 224 -208 224 -256
WIRE -48 -128 -224 -128
WIRE 96 -128 48 -128
WIRE 96 -80 96 -128
WIRE 224 -80 224 -144
WIRE 224 -80 96 -80
WIRE 32 -48 32 -80
WIRE 32 -48 -96 -48
WIRE 96 -48 96 -80
WIRE 96 -48 32 -48
WIRE 32 -16 32 -48
WIRE 224 -16 224 -80
WIRE 32 80 32 64
WIRE 224 80 224 64
FLAG 32 80 0
FLAG 224 80 0
FLAG -144 256 0
FLAG 16 256 0
FLAG 192 256 0
FLAG -144 176 wall
FLAG 16 176 bat
FLAG 192 176 usb
FLAG 224 -256 usb
FLAG -224 -128 bat
FLAG -224 -48 wall
FLAG 224 -80 out
SYMBOL pmos -48 -80 R270
SYMATTR InstName M1
SYMBOL res 16 -32 R0
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL res 208 -32 R0
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL schottky 208 -208 R0
SYMATTR InstName D1
SYMBOL schottky -160 -32 R270
SYMATTR InstName D2
SYMBOL voltage -144 160 R0
SYMATTR InstName V1
SYMATTR Value 9
SYMBOL voltage 16 160 R0
SYMATTR InstName V2
SYMATTR Value 9
SYMBOL voltage 192 160 R0
SYMATTR InstName V3
SYMATTR Value 5
* SPICE netlist
R1 N004 0 78.7K
C1 N002 0 .002
V1 IN 0 24
L1 N005 OUT 3.3 Rser=10m
C3 N003 N005 .47
C4 OUT 0 47 x2 V=6.3 Irms=0 Rser=0.002 Lser=0 mfg="TDK" pn="C4532X5ROJ47@M" type="X5R"
R2 OUT N006 1Meg
R3 N006 0 576K
C5 OUT N006 10p
Rload OUT 0 .66
D1 0 N005 B540C
XU1 N006 N002 OUT N003 N005 MP_01 MP_02 MP_03 MP_04 IN MP_05 MP_06 IN N004 N001 MP_07 0 LT3976 ;pnba FB)SS)OUT)Boost)SW)))))Vin)))EN)Rt)PG))GND
C2 N005 0 470p Rser=2
.tran 1m startup

* LTspice schematic (.asc)
Version 4
SHEET 1 1024 592
WIRE -416 -296 -512 -296
WIRE -96 -296 -416 -296
WIRE -512 -280 -512 -296
WIRE -416 -232 -416 -296
WIRE -400 -232 -416 -232
WIRE -96 -232 -96 -296
WIRE -96 -232 -112 -232
WIRE -512 -184 -512 -200
WIRE -400 -136 -416 -136
WIRE 240 -136 -112 -136
WIRE -480 -40 -496 -40
WIRE -400 -40 -416 -40
WIRE -48 -40 -112 -40
WIRE -48 -24 -48 -40
WIRE -496 56 -512 56
WIRE -400 56 -416 56
WIRE -48 56 -48 40
WIRE -48 56 -112 56
WIRE 64 56 -48 56
WIRE 128 56 64 56
WIRE 240 56 240 -136
WIRE 240 56 208 56
WIRE 336 56 240 56
WIRE 416 56 336 56
WIRE 512 56 416 56
WIRE -48 72 -48 56
WIRE 64 72 64 56
WIRE 240 72 240 56
WIRE 336 72 336 56
WIRE 416 72 416 56
WIRE 512 72 512 56
WIRE -400 152 -416 152
WIRE -96 152 -112 152
WIRE -96 168 -96 152
WIRE 240 168 240 152
WIRE 240 168 -96 168
WIRE 336 168 336 136
WIRE 336 168 240 168
WIRE 416 168 416 136
WIRE 512 168 512 152
WIRE 240 200 240 168
WIRE 240 296 240 280
FLAG -416 152 0
FLAG -512 56 0
FLAG -496 -40 0
FLAG -512 -184 0
FLAG 416 168 0
FLAG 240 296 0
FLAG 512 168 0
FLAG 512 56 OUT
FLAG -512 -296 IN
FLAG -48 136 0
FLAG 64 136 0
SYMBOL res -400 40 R90
SYMATTR InstName R1
SYMATTR Value 78.7K
SYMBOL cap -416 -56 R90
SYMATTR InstName C1
SYMATTR Value .002
SYMBOL voltage -512 -296 R0
SYMATTR InstName V1
SYMATTR Value 24
SYMBOL ind 112 72 R270
SYMATTR InstName L1
SYMATTR Value 3.3
SYMATTR SpiceLine Rser=10m
SYMBOL cap -64 -24 R0
SYMATTR InstName C3
SYMATTR Value .47
SYMBOL cap 400 72 R0
SYMATTR Value2 x2
SYMATTR Value 47
SYMATTR InstName C4
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.002 Lser=0 mfg="TDK" pn="C4532X5ROJ47@M" type="X5R"
SYMBOL res 224 56 R0
SYMATTR InstName R2
SYMATTR Value 1Meg
SYMBOL res 224 184 R0
SYMATTR InstName R3
SYMATTR Value 576K
SYMBOL cap 320 72 R0
SYMATTR InstName C5
SYMATTR Value 10p
SYMBOL res 496 56 R0
SYMATTR InstName Rload
SYMATTR Value .66
SYMBOL schottky -64 136 M180
SYMATTR InstName D1
SYMATTR Value B540C
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL PowerProducts\\LT3976 -256 -40 R0
SYMATTR InstName U1
SYMBOL cap 48 72 R0
SYMATTR SpiceLine Rser=2
SYMATTR Value 470p
SYMATTR InstName C2