Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\67db4bebc8fd_ttl_two_in_nand_ltspice.asc
* Generated by LTspice 26.0.1 for Windows.
* TTL Two Input NAND Gate
V2 W1 0 PWL REPEAT FOREVER (0 0 2.5m 3 5m 0 7.5m -3 10m 0) ENDREPEAT
Q1 N005 N003 W2 0 2N3904
R3 N006 0 470
R1 Vp N003 100k
Q2 N002 N005 N006 0 2N3904
Q3 2+ N006 0 0 2N3904
R4 Vp N001 100
Q4 N001 N002 N004 0 2N3904
D1 N004 2+ 1N914
Q5 N005 N003 W1 0 2N3904
R2 Vp N002 2.2k
V1 Vp 0 5
V3 W2 0 PWL REPEAT FOREVER (0 3 2.5m 0 5m -3 7.5m 0 10m 3) ENDREPEAT
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran 50m
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 144 -224 80 -224
WIRE 352 -224 144 -224
WIRE 592 -224 352 -224
WIRE -432 -192 -432 -224
WIRE -320 -192 -320 -224
WIRE -208 -192 -208 -224
WIRE 592 -192 592 -224
WIRE 144 -160 144 -224
WIRE 352 -160 352 -224
WIRE -432 -80 -432 -112
WIRE -320 -80 -320 -112
WIRE -208 -80 -208 -112
WIRE 592 -80 592 -112
WIRE 352 -32 352 -80
WIRE 528 -32 352 -32
WIRE 144 32 144 -80
WIRE 352 48 352 -32
WIRE 592 48 592 16
WIRE 16 96 16 80
WIRE 16 96 0 96
WIRE 96 96 16 96
WIRE 256 96 192 96
WIRE 288 96 256 96
WIRE 592 144 592 112
WIRE 656 144 592 144
WIRE 144 160 144 32
WIRE 592 176 592 144
WIRE 96 224 0 224
WIRE 256 224 256 96
WIRE 256 224 192 224
WIRE 352 224 352 144
WIRE 528 224 352 224
WIRE 352 272 352 224
WIRE 352 400 352 352
WIRE 592 400 592 272
WIRE 592 400 352 400
WIRE 352 464 352 400
IOPIN 80 -224 In
IOPIN 0 96 In
IOPIN 0 224 In
IOPIN 16 80 In
IOPIN 656 144 In
IOPIN -432 -224 In
IOPIN -320 -224 In
IOPIN -208 -224 In
SYMBOL npn 192 32 R90
WINDOW 3 37 64 Left 2
SYMATTR InstName Q5
SYMATTR Value 2N3904
SYMBOL voltage -208 -208 R0
WINDOW 3 -469 161 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value PWL REPEAT FOREVER (0 3 2.5m 0 5m -3 7.5m 0 10m 3) ENDREPEAT
SYMBOL res 336 -176 R0
SYMATTR InstName R2
SYMATTR Value 2.2k
SYMBOL voltage -320 -208 R0
WINDOW 3 -399 199 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value PWL REPEAT FOREVER (0 0 2.5m 3 5m 0 7.5m -3 10m 0) ENDREPEAT
SYMBOL npn 288 48 R0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL diode 576 48 R0
SYMATTR InstName D1
SYMATTR Value 1N914
SYMBOL res 336 256 R0
SYMATTR InstName R3
SYMATTR Value 470
SYMBOL npn 528 -80 R0
SYMATTR InstName Q4
SYMATTR Value 2N3904
SYMBOL voltage -432 -208 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL npn 528 176 R0
SYMATTR InstName Q3
SYMATTR Value 2N3904
SYMBOL res 128 -176 R0
SYMATTR InstName R1
SYMATTR Value 100k
SYMBOL res 576 -208 R0
SYMATTR InstName R4
SYMATTR Value 100
SYMBOL npn 192 160 R90
SYMATTR InstName Q1
SYMATTR Value 2N3904
FLAG 352 464 0
FLAG 80 -224 Vp
FLAG 0 96 W1
FLAG 0 224 W2
FLAG 16 80 1+
FLAG 656 144 2+
FLAG -432 -80 0
FLAG -320 -80 0
FLAG -208 -80 0
FLAG -432 -224 Vp
FLAG -320 -224 W1
FLAG -208 -224 W2
TEXT -268 432 Left 2 !.tran 50m
TEXT 32 -352 Left 2 ;TTL Two Input NAND Gate
* Z:\home\khalils\Downloads\files\data\raw_asc\1f39d1f16a38_current-limiting-npn.asc
* Generated by LTspice 26.0.1 for Windows.
* Sizing:\nR2 sets max current -> set max current through the load: \nImax = 20 mA\n \nFind R2 at max current assuming its voltage drop is Vbe and Q2 is still not conducting \n-> R2 = 0.6V/Imax = 30 ohm\nFind base current at the limiting condition where Q2 is still not conducting \n-> Ib = Ic/100 = 200 uA\nFind R1 using KVL \n-> 12 = R1*Ib + 0.6 + 0.6 -> R1 = (12 - 1.2)/20 u = 54k ohm\n \nNow see what happens when R load changes -> max current \nthrough the circuit is fixed at 20 mA\nPossible application -> LED driver circuit\n \nAfter running the simulation:\n1) CTRL + L or View SPICE error log\n2) Right click -> Plot .step ed .meas data
* Current limiting circuit using NPN transistors
R2 0 N003 {R2}
Q1 N001 N002 N003 0 2N3904
R3 Vcc N001 {R_load}
V1 Vcc 0 12
Q2 N002 N003 0 0 2N3904
R1 N002 Vcc 54k
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran 1
.step param R_load 100 1k 50
.meas Load_current AVG I(R3)
.param R2=0.6/{Imax} Imax=50m
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 1892 728
WIRE -128 -48 -128 -96
WIRE 288 -16 288 -64
WIRE -128 64 -128 32
WIRE 288 128 288 64
WIRE 48 176 -32 176
WIRE 160 176 128 176
WIRE 224 176 160 176
WIRE 160 256 160 176
WIRE 288 304 288 224
WIRE 288 304 224 304
WIRE 288 352 288 304
WIRE 160 464 160 352
WIRE 288 464 288 432
SYMBOL voltage -128 -64 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL res 304 448 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R2
SYMATTR Value {R2}
SYMBOL res 144 160 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 54k
SYMBOL res 272 -32 R0
SYMATTR InstName R3
SYMATTR Value {R_load}
SYMBOL npn 224 128 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL npn 224 256 M0
SYMATTR InstName Q2
SYMATTR Value 2N3904
FLAG 288 464 0
FLAG 160 464 0
FLAG -128 64 0
FLAG -128 -96 Vcc
FLAG 288 -64 Vcc
FLAG -32 176 Vcc
TEXT 520 -64 Left 2 ;Sizing:\nR2 sets max current -> set max current through the load: \nImax = 20 mA\n \nFind R2 at max current assuming its voltage drop is Vbe and Q2 is still not conducting \n-> R2 = 0.6V/Imax = 30 ohm\nFind base current at the limiting condition where Q2 is still not conducting \n-> Ib = Ic/100 = 200 uA\nFind R1 using KVL \n-> 12 = R1*Ib + 0.6 + 0.6 -> R1 = (12 - 1.2)/20 u = 54k ohm\n \nNow see what happens when R load changes -> max current \nthrough the circuit is fixed at 20 mA\nPossible application -> LED driver circuit\n \nAfter running the simulation:\n1) CTRL + L or View SPICE error log\n2) Right click -> Plot .step ed .meas data
TEXT 168 664 Left 2 !.tran 1
TEXT 168 552 Left 2 !.step param R_load 100 1k 50
TEXT 168 608 Left 2 !.meas Load_current AVG I(R3)
TEXT 56 -288 Left 4 ;Current limiting circuit using NPN transistors
TEXT 560 544 Left 2 !.param R2=0.6/{Imax} Imax=50m
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC3310-1.asc
* Generated by LTspice 26.0.1 for Windows.
L1 N002 OUT 100n Rser=2m
V1 IN 0 3.3
Rload OUT 0 .1
C2 P001 0 4.7n
C3 P002 0 330p
R4 N003 P002 17.5k
C1 OUT 0 47 x7 Rser=5m
R3 OUT N001 500k
R5 N004 0 274k
XU1 IN IN N002 OUT 0 0 N004 N001 IN N003 P001 LTC3310-1 ;pnba Vin)EN)SW)Vout)Agnd)Pgnd)Rt)Pgood)Mode/Sync)Ith)SSTT
.tran .4m startup
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LTC3310-1.asy)
.lib LTC3310-1.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2648 1864
WIRE 1536 1248 1424 1248
WIRE 1712 1248 1536 1248
WIRE 1424 1264 1424 1248
WIRE 1712 1280 1712 1248
WIRE 1536 1328 1536 1248
WIRE 1552 1328 1536 1328
WIRE 1920 1328 1872 1328
WIRE 2032 1328 2000 1328
WIRE 1424 1360 1424 1344
WIRE 1536 1424 1536 1328
WIRE 1552 1424 1536 1424
WIRE 1920 1424 1872 1424
WIRE 2032 1424 2032 1328
WIRE 2032 1424 2000 1424
WIRE 2096 1424 2032 1424
WIRE 2208 1424 2096 1424
WIRE 2096 1440 2096 1424
WIRE 2208 1440 2208 1424
WIRE 2032 1520 2032 1424
WIRE 2032 1520 1872 1520
WIRE 2096 1536 2096 1504
WIRE 2208 1536 2208 1520
WIRE 1392 1616 1376 1616
WIRE 1552 1616 1536 1616
WIRE 1888 1616 1872 1616
WIRE 1984 1616 1968 1616
WIRE 1648 1680 1648 1664
WIRE 1776 1680 1776 1664
FLAG 1776 1680 0
FLAG 1648 1680 0
FLAG 1424 1360 0
FLAG 2208 1536 0
FLAG 1488 1520 0
FLAG 2208 1424 OUT
FLAG 1424 1248 IN
FLAG 1376 1616 0
FLAG 2096 1536 0
FLAG 1984 1616 0
SYMBOL ind 1904 1440 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 100n
SYMATTR SpiceLine Rser=2m
SYMBOL VOLTAGE 1424 1248 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value 3.3
SYMATTR InstName V1
SYMBOL res 2192 1424 R0
SYMATTR InstName Rload
SYMATTR Value .1
SYMBOL cap 1552 1504 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 4.7n
SYMBOL cap 1456 1600 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value 330p
SYMBOL res 1552 1600 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 17.5k
SYMBOL cap 2080 1440 R0
WINDOW 123 24 84 Left 2
SYMATTR Value2 x7
SYMATTR InstName C1
SYMATTR Value 47
SYMATTR SpiceLine Rser=5m
SYMBOL res 2016 1312 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 500k
SYMBOL res 1872 1632 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R5
SYMATTR Value 274k
SYMBOL LTC3310-1 1712 1456 R0
SYMATTR InstName U1
TEXT 2056 1600 Left 2 !.tran .4m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\LT3519-1.asc
* Generated by LTspice 26.0.1 for Windows.
V1 IN 0 12.4
R1 N002 N006 1Meg
R2 IN N003 1Meg
R3 N003 0 243K
R4 N002 N004 2.49
R5 N006 0 29.4K
L1 IN N001 34
C1 N002 0 4.7
D1 N004 0 LXHL-BW02 N=10
XU1 0 MP_01 N005 N003 IN N001 N001 MP_02 MP_03 N002 N002 N004 N006 N005 N005 LT3519 X=925n ;pnba GND))PWM)_SHDN/UVLO)Vin)SW)Anode)))Cathode)ISP)ISN)FB)CTRL)Vref
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 1m startup
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LT3519-1.asy)
.lib LT3519.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1268 680
WIRE -16 0 -128 0
WIRE 32 0 -16 0
WIRE 144 0 112 0
WIRE 256 0 144 0
WIRE 480 0 368 0
WIRE 624 0 480 0
WIRE 704 0 624 0
WIRE -128 16 -128 0
WIRE 704 16 704 0
WIRE 144 48 144 0
WIRE 256 48 256 0
WIRE 368 48 368 0
WIRE 704 96 704 80
WIRE -128 112 -128 96
WIRE -16 112 -16 0
WIRE 80 112 -16 112
WIRE 624 112 624 0
WIRE 624 112 432 112
WIRE -16 128 -16 112
WIRE 624 128 624 112
WIRE -16 224 -16 208
WIRE 80 224 -16 224
WIRE 624 224 624 208
WIRE 624 224 432 224
WIRE -16 240 -16 224
WIRE 480 240 480 0
WIRE 624 304 624 224
WIRE -16 336 -16 320
WIRE 80 336 64 336
WIRE 480 336 480 320
WIRE 480 336 432 336
WIRE 480 352 480 336
WIRE 624 432 624 368
WIRE 64 448 64 336
WIRE 80 448 64 448
WIRE 448 448 432 448
WIRE 480 448 480 432
WIRE 256 512 256 496
WIRE 64 544 64 448
WIRE 448 544 448 448
WIRE 448 544 64 544
FLAG 256 512 0
FLAG -128 112 0
FLAG -16 336 0
FLAG 624 432 0
FLAG 480 448 0
FLAG 704 96 0
FLAG -128 0 IN
SYMBOL voltage -128 0 R0
SYMATTR InstName V1
SYMATTR Value 12.4
SYMBOL res 464 224 R0
SYMATTR InstName R1
SYMATTR Value 1Meg
SYMBOL res -32 112 R0
SYMATTR InstName R2
SYMATTR Value 1Meg
SYMBOL res -32 224 R0
SYMATTR InstName R3
SYMATTR Value 243K
SYMBOL res 608 112 R0
SYMATTR InstName R4
SYMATTR Value 2.49
SYMBOL res 464 336 R0
SYMATTR InstName R5
SYMATTR Value 29.4K
SYMBOL ind 16 16 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 34
SYMBOL cap 688 16 R0
SYMATTR InstName C1
SYMATTR Value 4.7
SYMBOL LED 608 304 R0
WINDOW 123 24 100 Left 2
SYMATTR Value2 N=10
SYMATTR InstName D1
SYMATTR Value LXHL-BW02
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL PowerProducts\\LT3519-1 256 272 R0
SYMATTR InstName U1
TEXT 616 512 Left 2 !.tran 1m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\1a3ac9fe88fb_Q2_ii__-_PartA.asc
* Generated by LTspice 26.0.1 for Windows.
C N001 0 0.25
L N001 0 2
I1 0 N001 10
R N001 0 2
.tran 0 30s 0 0.00002s
.ic V(n001) = 0
.ic I(L) = 0
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1360 680
WIRE 208 -208 48 -208
WIRE 368 -208 208 -208
WIRE 528 -208 368 -208
WIRE 48 -160 48 -208
WIRE 208 -144 208 -208
WIRE 368 -144 368 -208
WIRE 528 -144 528 -208
WIRE 48 0 48 -80
WIRE 208 0 208 -64
WIRE 208 0 48 0
WIRE 304 0 208 0
WIRE 368 0 368 -64
WIRE 368 0 304 0
WIRE 528 0 528 -80
WIRE 528 0 368 0
WIRE 304 32 304 0
SYMBOL res 192 -160 R0
SYMATTR InstName R
SYMATTR Value 2
SYMBOL cap 512 -144 R0
SYMATTR InstName C
SYMATTR Value 0.25
SYMBOL current 48 -80 R180
WINDOW 0 24 80 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName I1
SYMATTR Value 10
SYMBOL ind 352 -160 R0
SYMATTR InstName L
SYMATTR Value 2
FLAG 304 32 0
TEXT -72 40 Left 2 !.tran 0 30s 0 0.00002s
TEXT 600 -16 Left 2 !.ic V(n001) = 0
TEXT 600 16 Left 2 !.ic I(L) = 0
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1720.asc
* Generated by LTspice 26.0.1 for Windows.
* 2.7 to 6V Crystal Oscillator with TTL/CMOS Output
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\Comparators\LT1720.asy)
XU1 N002 N001 +V 0 OUT LT1720 ;pnba In+)In-)V+)V-)OUT
R3 OUT N001 2K
R2 +V N002 2K
V1 +V 0 3.3
R4 OUT P001 220
R5 N001 0 1.8K
R1 N002 0 620
C2 N001 0 .1
C1 P001 N002 1.6p Rser=45 Lser=15.6m Cpar=6p
.tran 250u startup
.lib LT1720.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1236 800
WIRE 144 64 128 64
WIRE 240 64 208 64
WIRE 144 160 128 160
WIRE 240 160 240 64
WIRE 240 160 224 160
WIRE 320 160 240 160
WIRE 416 160 400 160
WIRE 48 256 48 240
WIRE 304 256 304 224
WIRE 240 272 240 160
WIRE 272 272 240 272
WIRE 416 288 416 160
WIRE 416 288 336 288
WIRE 448 288 416 288
WIRE 272 304 240 304
WIRE 160 320 160 304
WIRE 304 336 304 320
WIRE 48 352 48 336
WIRE 160 416 160 400
WIRE 240 416 240 304
WIRE 240 416 160 416
WIRE 256 416 240 416
WIRE 416 416 416 288
WIRE 416 416 400 416
WIRE 160 432 160 416
WIRE 160 528 160 512
SYMBOL misc\\xtal 320 400 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 1.6p
SYMATTR SpiceLine Rser=45 Lser=15.6m Cpar=6p
SYMBOL res 240 144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 1.8K
SYMBOL res 144 416 R0
SYMATTR InstName R1
SYMATTR Value 620
SYMBOL res 416 144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 2K
SYMBOL res 416 400 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 220
SYMBOL voltage 48 240 R0
SYMATTR InstName V1
SYMATTR Value 3.3
SYMBOL res 144 304 R0
SYMATTR InstName R2
SYMATTR Value 2K
SYMBOL Comparators\\LT1720 304 224 R0
SYMATTR InstName U1
SYMBOL cap 208 48 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value .1
FLAG 48 352 0
FLAG 48 240 +V
FLAG 304 224 +V
FLAG 160 304 +V
FLAG 160 528 0
FLAG 128 64 0
FLAG 304 336 0
FLAG 128 160 0
FLAG 448 288 OUT
TEXT 336 488 Left 2 !.tran 250u startup
TEXT 392 16 Bottom 2 ;2.7 to 6V Crystal Oscillator with TTL/CMOS Output
* Z:\home\khalils\Downloads\files\data\raw_asc\LTM4660.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LTM4660.asy)
R1 0 N009 4.32K
R2 N005 0 61.9K
V1 IN 0 48
Rload OUT 0 0.499
C3 OUT 0 150
XU1 NC_01 NC_02 NC_03 NC_04 NC_05 N002 N008 N001 N003 N010 N005 OUT N009 N010 MP_06 NC_07 MP_08 MP_09 N001 N007 MP_10 MP_11 MP_12 MP_13 N006 N006 IN IN N004 MP_14 MP_15 MP_16 0 LTM4660 ;pnba Mode_PLLin)Clkout)Run)_Fault)Pgood)Timer)SS)ExtRef)Hys_prgm)CompA)Freq)Vout)Vfb)CompB))ExtVcc)))IntVcc)C-)))))Mid)Mid_sense)Vin_sense)Vin)C+))))Gnd
R3 N003 0 100K
C5 N002 0 0.47
C4 N008 0 10n
C2 N006 0 10 m=12
C1 N004 N007 10 m=12
.tran 0 960m 958m startup
.lib LTM4660.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 924 724
WIRE 0 -448 -336 -448
WIRE 0 -384 0 -448
WIRE -240 -320 -272 -320
WIRE -128 -320 -176 -320
WIRE 432 -320 384 -320
WIRE 576 -320 432 -320
WIRE 576 -304 576 -320
WIRE 432 -224 432 -320
WIRE 432 -224 384 -224
WIRE 576 -208 576 -224
WIRE -240 -128 -272 -128
WIRE -128 -128 -160 -128
WIRE 592 -128 384 -128
WIRE -240 -32 -272 -32
WIRE -128 -32 -160 -32
WIRE 432 -32 384 -32
WIRE 496 -32 432 -32
WIRE 496 -16 496 -32
WIRE 592 -16 592 -128
WIRE 432 64 432 -32
WIRE 432 64 384 64
WIRE 496 112 496 48
WIRE 592 160 592 48
WIRE 592 160 384 160
WIRE -336 256 -336 -448
WIRE -128 256 -336 256
WIRE 576 256 384 256
WIRE 672 256 576 256
WIRE 576 288 576 256
WIRE 672 288 672 256
WIRE 576 384 576 352
WIRE 672 384 672 368
WIRE -240 448 -288 448
WIRE -128 448 -176 448
WIRE 416 448 384 448
WIRE 528 448 496 448
WIRE 128 528 128 512
WIRE 0 560 0 512
WIRE 256 560 256 512
WIRE 256 560 0 560
SYMBOL res 656 272 R0
SYMATTR InstName Rload
SYMATTR Value 0.499
SYMBOL res 512 432 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 4.32K
SYMBOL cap -176 -336 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C5
SYMATTR Value 0.47
SYMBOL voltage 576 -320 R0
SYMATTR InstName V1
SYMATTR Value 48
SYMBOL cap 560 288 R0
SYMATTR InstName C3
SYMATTR Value 150
SYMBOL res -144 -48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 61.9K
SYMBOL cap -176 432 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C4
SYMATTR Value 10n
SYMBOL res -144 -144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 100K
SYMBOL cap 480 -16 R0
WINDOW 123 24 84 Left 2
SYMATTR Value2 m=12
SYMATTR InstName C2
SYMATTR Value 10
SYMBOL cap 576 -16 R0
WINDOW 123 24 84 Left 2
SYMATTR Value2 m=12
SYMATTR InstName C1
SYMATTR Value 10
SYMBOL LTM4660 128 64 R0
SYMATTR InstName U1
FLAG 576 -208 0
FLAG 496 112 0
FLAG 576 384 0
FLAG 528 448 0
FLAG 128 528 0
FLAG -288 448 0
FLAG -272 -32 0
FLAG -272 -128 0
FLAG 672 384 0
FLAG 672 256 OUT
FLAG 576 -320 IN
FLAG -272 -320 0
TEXT 512 568 Left 2 !.tran 0 960m 958m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\5e16d676af6c_VI_Diode_pn_Forward.asc
* Generated by LTspice 26.0.1 for Windows.
R1 N001 N002 1000
D1 N001 0 1N4148
V1 N002 0 V
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.dc V1 -2 1 0.0001
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 176 112 80 112
WIRE 320 112 240 112
WIRE 0 272 0 112
WIRE 96 272 0 272
WIRE 272 272 176 272
WIRE 320 272 320 112
WIRE 320 272 272 272
WIRE 272 304 272 272
SYMBOL diode 176 128 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL Misc\\battery 80 272 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 -32 56 VBottom 2
SYMATTR InstName V1
SYMBOL res 96 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1000
FLAG 272 304 0
TEXT 344 304 Left 2 !.dc V1 -2 1 0.0001
* Z:\home\khalils\Downloads\files\data\raw_asc\ADP2386.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\ADP2386.asy)
C3 OUT 0 54
Rload OUT 0 900m
R5 OUT N001 100K
R1 OUT N007 64.9K
V1 IN 0 13.2
R4 N006 N005 7.5K
C4 N005 0 2.7n
C1 N008 0 1n
R3 N009 0 215K
C2 N003 N004 .1
C6 N006 0 27p
R2 N007 0 16.2K
C5 N002 0 1
L1 N004 OUT 3.3
XU1 N009 IN N004 N006 N007 IN N003 N008 0 NC_01 N001 N002 ADP2386 ;pnba Rt)PVin)SW)Comp)FB)EN)BST)SS)GND)SYNC)Pgood)Vreg
.tran 5m startup
.lib ADP2386.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1060 680
WIRE 48 -128 -192 -128
WIRE 224 -128 48 -128
WIRE -192 -112 -192 -128
WIRE 224 -96 224 -128
WIRE 48 -48 48 -128
WIRE 64 -48 48 -48
WIRE 416 -48 384 -48
WIRE 576 -48 496 -48
WIRE -192 -16 -192 -32
WIRE -16 64 -32 64
WIRE 64 64 48 64
WIRE 416 64 384 64
WIRE 416 80 416 64
WIRE 416 176 416 144
WIRE 416 176 384 176
WIRE 464 176 416 176
WIRE 576 176 576 -48
WIRE 576 176 544 176
WIRE 720 176 576 176
WIRE 832 176 720 176
WIRE 576 192 576 176
WIRE 720 192 720 176
WIRE 832 192 832 176
WIRE -192 288 -240 288
WIRE -96 288 -112 288
WIRE 64 288 -96 288
WIRE 576 288 576 272
WIRE 576 288 384 288
WIRE 720 288 720 256
WIRE 832 288 832 272
WIRE -240 304 -240 288
WIRE -96 304 -96 288
WIRE 576 304 576 288
WIRE -240 384 -240 368
WIRE -96 384 -96 368
WIRE -16 400 -32 400
WIRE 64 400 48 400
WIRE 400 400 384 400
WIRE 496 400 480 400
WIRE 576 400 576 384
WIRE 224 464 224 448
SYMBOL ind 448 192 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 3.3
SYMBOL cap 704 192 R0
SYMATTR Value 54
SYMATTR InstName C3
SYMBOL res 512 -64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 100K
SYMBOL res 384 416 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R3
SYMATTR Value 215K
SYMBOL cap 48 48 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C5
SYMATTR Value 1
SYMBOL voltage -192 -128 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 13.2
SYMBOL res -96 272 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 7.5K
SYMBOL ADP2386 224 176 R0
SYMATTR InstName U1
SYMBOL cap -112 304 R0
SYMATTR InstName C6
SYMATTR Value 27p
SYMBOL res 560 176 R0
SYMATTR InstName R1
SYMATTR Value 64.9K
SYMBOL cap 48 384 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 1n
SYMBOL res 816 176 R0
SYMATTR InstName Rload
SYMATTR Value 900m
SYMBOL res 560 288 R0
SYMATTR InstName R2
SYMATTR Value 16.2K
SYMBOL cap 400 80 R0
SYMATTR InstName C2
SYMATTR Value .1
SYMBOL cap -256 304 R0
SYMATTR InstName C4
SYMATTR Value 2.7n
FLAG -32 400 0
FLAG 224 464 0
FLAG 576 400 0
FLAG 496 400 0
FLAG -240 384 0
FLAG -192 -16 0
FLAG 720 288 0
FLAG 832 288 0
FLAG 832 176 OUT
FLAG -192 -128 IN
FLAG -32 64 0
FLAG -96 384 0
TEXT 664 424 Left 2 !.tran 5m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\7843ef507c42_Voltage-regulator-npn.asc
* Generated by LTspice 26.0.1 for Windows.
* Very simple current regulator with opamp controlling voltage on R1.
* Voltage regulator
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT1001.asy)
V1 Vee 0 -15
V2 Vcc 0 15
Q1 Vin N002 OUT 0 2N3904
XU1 Vref OUT Vcc Vee N001 LT1001 ;pnba In+)In-)V+)V-)OUT
V4 Vref 0 {VV}
V3 Vin 0 5
Q2 Vin N001 N002 0 2N3904
R1 OUT 0 500
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.step param VV 1 5 0.5
.op
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1056 680
WIRE 160 112 160 80
WIRE 160 112 48 112
WIRE -16 160 -64 160
WIRE 160 192 160 112
WIRE 48 240 48 208
WIRE 96 240 48 240
WIRE -64 272 -64 160
WIRE 160 336 160 288
WIRE -48 352 -48 336
WIRE 32 352 -48 352
WIRE -80 368 -80 336
WIRE 160 368 160 336
WIRE 160 368 -80 368
WIRE 160 384 160 368
WIRE 160 480 160 464
SYMBOL npn -16 112 R0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL voltage 464 256 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V3
SYMATTR Value 5
SYMBOL res 144 368 R0
SYMATTR InstName R1
SYMATTR Value 500
SYMBOL voltage 576 256 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value 15
SYMBOL npn 96 192 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL voltage 688 256 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value -15
SYMBOL Opamps\\LT1001 -128 304 R270
SYMATTR InstName U1
SYMBOL voltage 336 256 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V4
SYMATTR Value {VV}
FLAG 160 80 Vin
FLAG 576 352 0
FLAG 688 352 0
FLAG 464 352 0
FLAG 576 272 Vcc
FLAG -96 304 Vcc
FLAG 688 272 Vee
FLAG -32 304 Vee
FLAG 160 480 0
FLAG 336 352 0
FLAG 32 352 Vref
FLAG 336 272 Vref
FLAG 464 272 Vin
FLAG 160 336 OUT
TEXT 408 168 Left 2 !.step param VV 1 5 0.5
TEXT 408 200 Left 2 !.op
TEXT -16 -48 Left 2 ;Very simple current regulator with opamp controlling voltage on R1.
TEXT 200 -128 Left 4 ;Voltage regulator
* Z:\tmp\asc_dec_bjh7r6w2\1256a803f2da__Lowpass_Inverting_TL2272_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
R2 N002 N003 10k
C1 N002 N001 318.31n
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1504 680
WIRE 224 -80 224 -112
WIRE 288 32 128 32
WIRE 432 32 352 32
WIRE 272 128 128 128
WIRE 432 128 432 32
WIRE 432 128 352 128
WIRE 224 176 224 0
WIRE 192 192 128 192
WIRE 432 208 432 128
WIRE 432 208 256 208
WIRE 192 224 144 224
WIRE 224 304 224 240
WIRE 432 304 432 288
SYMBOL res 368 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL cap 352 16 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 318.31n
FLAG 224 304 0
FLAG 432 304 0
FLAG 224 -112 0