Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\tmp\asc_dec_bjh7r6w2\09bcc0388056_Eg1_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
XU1 0 B +V -V N001 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
V3 A B SINE(0 10m {Freq}) ac 1
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\UniversalOpAmp2.asy)
.lib UniversalOpAmp2.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 4156 1252
WIRE 1424 544 1392 544
WIRE 1520 544 1504 544
WIRE 1696 544 1520 544
WIRE 1856 544 1776 544
WIRE 1936 576 1936 560
WIRE 1520 640 1520 544
WIRE 1552 640 1520 640
WIRE 1584 640 1552 640
WIRE 1696 640 1664 640
WIRE 1760 640 1696 640
WIRE 1856 656 1856 544
WIRE 1856 656 1824 656
WIRE 1760 672 1744 672
WIRE 1936 672 1936 656
SYMBOL Opamps\\UniversalOpamp2 1792 656 R0
SYMATTR InstName U1
SYMBOL VOLTAGE 1568 640 M90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName V3
SYMATTR Value SINE(0 10m {Freq})
SYMATTR Value2 ac 1
FLAG 1552 640 A
FLAG 1696 640 B
FLAG 1936 672 0
FLAG 1936 560 +V
FLAG 1792 624 +V
FLAG 1792 688 -V
FLAG 1744 672 0
FLAG 1392 544 0
* Z:\home\khalils\Downloads\files\data\raw_asc\30717fd9e383_motor_drive_01.asc
* Generated by LTspice 26.0.1 for Windows.
V1 vcc 0 24
M1 v_out N002 0 0 IRFHS8242
M2 v_out N001 vcc vcc FDR840P
V2 v_cmd 0 PULSE(0 24 0 0 0 20u 40u 10000)
R2 N001 v_cmd 1k
C1 N001 0 1n
D1 v_cmd N001 1N4148
R3 N002 v_cmd 1k
C2 N002 0 1n
D2 N002 v_cmd 1N4148
L1 v_out N003 {L_motor}
R1 N003 0 {R_motor}
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 20m
.PARAM K_t = 900u
.PARAM K_EMF = 900u
.PARAM L_motor = 50u
.PARAM R_motor = 24/5.9
.PARAM R_loss = 300n
.PARAM L_inertia = 15n
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1444 852
WIRE -416 -16 -416 -48
WIRE 64 32 -32 32
WIRE 160 32 128 32
WIRE -416 96 -416 64
WIRE 560 112 560 80
WIRE -32 128 -32 32
WIRE 64 128 -32 128
WIRE 160 128 160 32
WIRE 160 128 144 128
WIRE 192 128 160 128
WIRE 512 128 192 128
WIRE 192 160 192 128
WIRE 192 272 192 224
WIRE 560 336 560 208
WIRE 752 336 752 304
WIRE 752 336 560 336
WIRE -384 384 -384 352
WIRE -32 384 -32 128
WIRE -32 384 -384 384
WIRE 752 400 752 336
WIRE -384 448 -384 384
WIRE -32 464 -32 384
WIRE 64 464 -32 464
WIRE 160 464 128 464
WIRE 560 480 560 336
WIRE 752 544 752 480
WIRE -384 560 -384 528
WIRE -32 560 -32 464
WIRE 64 560 -32 560
WIRE 160 560 160 464
WIRE 160 560 144 560
WIRE 192 560 160 560
WIRE 512 560 192 560
WIRE 192 576 192 560
WIRE 560 608 560 576
WIRE 192 688 192 640
WIRE 752 688 752 624
FLAG -416 -48 vcc
FLAG -416 96 0
FLAG -384 560 0
FLAG 560 608 0
FLAG 560 80 vcc
FLAG 192 272 0
FLAG 192 688 0
FLAG 752 688 0
FLAG -384 352 v_cmd
FLAG 752 304 v_out
SYMBOL voltage -416 -32 R0
SYMATTR InstName V1
SYMATTR Value 24
SYMBOL nmos 512 480 R0
SYMATTR InstName M1
SYMATTR Value IRFHS8242
SYMBOL pmos 512 208 M180
SYMATTR InstName M2
SYMATTR Value FDR840P
SYMBOL voltage -384 432 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value PULSE(0 24 0 0 0 20u 40u 10000)
SYMBOL res 160 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL cap 176 160 R0
SYMATTR InstName C1
SYMATTR Value 1n
SYMBOL diode 64 48 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL res 160 544 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 1k
SYMBOL cap 176 576 R0
SYMATTR InstName C2
SYMATTR Value 1n
SYMBOL diode 128 448 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D2
SYMATTR Value 1N4148
SYMBOL ind 736 384 R0
SYMATTR InstName L1
SYMATTR Value {L_motor}
SYMBOL res 736 528 R0
SYMATTR InstName R1
SYMATTR Value {R_motor}
TEXT 336 -56 Left 2 !.tran 20m
TEXT 1152 -96 Left 2 !.PARAM K_t = 900u\n.PARAM K_EMF = 900u\n.PARAM L_motor = 50u\n.PARAM R_motor = 24/5.9\n.PARAM R_loss = 300n\n.PARAM L_inertia = 15n
* Z:\home\khalils\Downloads\files\data\raw_asc\LT6233-10.asc
* Generated by LTspice 26.0.1 for Windows.
* Single Supply, Low Noise, Low Power, Bandpass Filter with Gain=10
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT6233-10.asy)
C3 N001 IN 1000p
R4 N003 0 10K
C1 N003 0 .1
C2 OUT N002 47p
R3 +V N003 10K
R1 OUT N001 732
V1 +V 0 10
R5 N002 N001 732
V2 IN 0 ac 1
XU1 N003 N002 OUT +V 0 0 LT6233-10 ;pnba IN+)IN-)OUT)VCC)VEE)EN_L
.ac oct 100 100K 10Meg
.lib LTC2.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 896 680
WIRE -192 -64 -224 -64
WIRE 208 -64 -112 -64
WIRE -336 -48 -336 -64
WIRE 96 -16 -96 -16
WIRE 208 -16 208 -64
WIRE 208 -16 160 -16
WIRE -336 48 -336 32
WIRE -32 64 -48 64
WIRE 80 64 80 48
WIRE 80 64 48 64
WIRE 80 128 80 64
WIRE -320 176 -400 176
WIRE -224 176 -224 -64
WIRE -224 176 -256 176
WIRE -208 176 -224 176
WIRE -96 176 -96 -16
WIRE -96 176 -128 176
WIRE 48 176 -96 176
WIRE -400 192 -400 176
WIRE 208 208 208 -16
WIRE 208 208 192 208
WIRE 224 208 208 208
WIRE -48 240 -48 64
WIRE -48 240 -128 240
WIRE 48 240 -48 240
WIRE -128 256 -128 240
WIRE -48 256 -48 240
WIRE -400 288 -400 272
WIRE -128 352 -128 320
WIRE -48 352 -48 336
SYMBOL cap -144 256 R0
SYMATTR InstName C1
SYMATTR Value .1
SYMBOL res -64 240 R0
SYMATTR InstName R4
SYMATTR Value 10K
SYMBOL voltage -400 176 R0
SYMATTR InstName V2
SYMATTR Value ac 1
SYMBOL cap -256 160 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value 1000p
SYMBOL res 64 48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 10K
SYMBOL voltage -336 -64 R0
SYMATTR InstName V1
SYMATTR Value 10
SYMBOL res -112 160 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 732
SYMBOL opamps\\LT6233-10 80 208 R0
WINDOW 0 42 -60 Left 2
WINDOW 3 69 43 Left 2
SYMATTR InstName U1
SYMBOL cap 160 -32 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 47p
SYMBOL res -96 -80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 732
FLAG -336 48 0
FLAG 80 48 +V
FLAG -336 -64 +V
FLAG -48 352 0
FLAG -128 352 0
FLAG -400 288 0
FLAG 224 208 OUT
FLAG -400 176 IN
FLAG 128 288 0
FLAG 80 288 0
TEXT 80 352 Left 2 !.ac oct 100 100K 10Meg
TEXT -56 -168 Bottom 2 ;Single Supply, Low Noise, Low Power, Bandpass Filter with Gain=10
* Z:\home\khalils\Downloads\files\data\raw_asc\LT6232.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\OpAmps\LT6232.asy)
XU1 N003 N001 N002 +V -V LT6231 ;pnba IN+)IN-)OUT)VCC)VEE
R2 N001 0 1K
R1 N002 N001 1K
V2 -V 0 -5
V3 N003 0 SINE(0 1 1K)
V1 +V 0 5
.tran 3m
.lib LTC2.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 896 680
WIRE -80 96 -96 96
WIRE 16 96 0 96
WIRE 32 96 16 96
WIRE 144 96 112 96
WIRE -416 160 -416 144
WIRE -288 160 -288 144
WIRE 80 208 80 192
WIRE 16 224 16 96
WIRE 48 224 16 224
WIRE 144 240 144 96
WIRE 144 240 112 240
WIRE -416 256 -416 240
WIRE -288 256 -288 240
WIRE 48 256 -64 256
WIRE -64 272 -64 256
WIRE 80 288 80 272
WIRE -64 368 -64 352
SYMBOL res 128 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1K
SYMBOL voltage -288 144 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage -64 256 R0
SYMATTR InstName V3
SYMATTR Value SINE(0 1 1K)
SYMBOL res 16 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1K
SYMBOL opamps\\LT6232 80 240 R0
SYMATTR InstName U1
SYMBOL voltage -416 144 R0
SYMATTR InstName V2
SYMATTR Value -5
FLAG -288 256 0
FLAG 80 192 +V
FLAG -288 144 +V
FLAG 80 288 -V
FLAG -416 256 0
FLAG -416 144 -V
FLAG -96 96 0
FLAG -64 368 0
TEXT 184 384 Left 2 !.tran 3m
* Z:\home\khalils\Downloads\files\data\raw_asc\2d624d700231_astable.asc
* Generated by LTspice 26.0.1 for Windows.
C1 b1 c1 {Cr}
Q2 c1 b2 0 0 TBJ
R1 N001 c1 {Rc}
Q1 out b1 0 0 TBJ
C2 out b2 {Cr}
R4 N001 b2 {Rr}
V1 N001 0 {Vcc}
R2 N001 out {Rc}
R3 N001 b1 {Rr}
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran 1 startup
.meas tran Tf1 find time when V(out)=Vcc/2 fall 3
.meas tran Tr1 find time when V(out)=Vcc/2 rise 3
.meas tran Tf2 find time when V(out)=Vcc/2 fall 4
.meas tran Tr2 find time when V(out)=Vcc/2 rise 4
.meas tran th param Tf1-Tr1
.meas tran tl param Tr2-Tf1
.meas tran fosc param 1/(Tf2-Tf1)
.param Vcc=25 Rc=2k Rr=100k Cr=0.05u
.model TBJ NPN(BF=150 TF=400E-10 TR=400E-10)
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1652 1248
WIRE -560 768 -720 768
WIRE -400 768 -560 768
WIRE -240 768 -400 768
WIRE -96 768 -240 768
WIRE -560 784 -560 768
WIRE -400 784 -400 768
WIRE -240 784 -240 768
WIRE -96 784 -96 768
WIRE -720 800 -720 768
WIRE -96 880 -96 864
WIRE -720 912 -720 880
WIRE -560 928 -560 864
WIRE -528 928 -560 928
WIRE -400 928 -400 864
WIRE -400 928 -464 928
WIRE -240 928 -240 864
WIRE -208 928 -240 928
WIRE -96 928 -96 880
WIRE -96 928 -144 928
WIRE -560 976 -560 928
WIRE -96 976 -96 928
WIRE -464 1024 -496 1024
WIRE -368 1024 -240 928
WIRE -368 1024 -464 1024
WIRE -240 1024 -400 928
WIRE -224 1024 -240 1024
WIRE -160 1024 -224 1024
WIRE -560 1088 -560 1072
WIRE -96 1088 -96 1072
SYMBOL RES -576 768 R0
SYMATTR InstName R1
SYMATTR Value {Rc}
SYMBOL cap -144 912 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value {Cr}
SYMBOL res -112 768 R0
SYMATTR InstName R2
SYMATTR Value {Rc}
SYMBOL res -416 768 R0
SYMATTR InstName R3
SYMATTR Value {Rr}
SYMBOL NPN -160 976 R0
SYMATTR InstName Q1
SYMATTR Value TBJ
SYMBOL cap -464 912 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value {Cr}
SYMBOL VOLTAGE -720 784 R0
SYMATTR InstName V1
SYMATTR Value {Vcc}
SYMBOL res -256 768 R0
SYMATTR InstName R4
SYMATTR Value {Rr}
SYMBOL npn -496 976 M0
SYMATTR InstName Q2
SYMATTR Value TBJ
FLAG -96 1088 0
FLAG -560 1088 0
FLAG -720 912 0
FLAG -96 880 out
FLAG -224 1024 b1
FLAG -464 1024 b2
FLAG -560 928 c1
TEXT -200 1136 Left 2 !.tran 1 startup
TEXT 136 912 Left 2 !.meas tran Tf1 find time when V(out)=Vcc/2 fall 3\n.meas tran Tr1 find time when V(out)=Vcc/2 rise 3\n.meas tran Tf2 find time when V(out)=Vcc/2 fall 4\n.meas tran Tr2 find time when V(out)=Vcc/2 rise 4\n.meas tran th param Tf1-Tr1\n.meas tran tl param Tr2-Tf1\n.meas tran fosc param 1/(Tf2-Tf1)
TEXT -672 1232 Left 2 !.param Vcc=25 Rc=2k Rr=100k Cr=0.05u
TEXT -664 1192 Left 2 !.model TBJ NPN(BF=150 TF=400E-10 TR=400E-10)
* Z:\tmp\asc_dec_bjh7r6w2\10e158f20e2f_4093_4DioPwm_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
Rf1 Out N003 10k
D3 N004 Ramp 1N914
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1156 680
WIRE 304 96 -80 96
WIRE -80 128 -80 96
WIRE 192 128 16 128
WIRE 304 128 304 96
WIRE 304 128 256 128
WIRE 16 160 16 128
WIRE 224 176 224 160
WIRE -80 256 -80 192
WIRE 16 256 16 224
WIRE 16 256 -80 256
WIRE 32 256 16 256
WIRE 224 272 224 256
WIRE 224 272 144 272
WIRE 240 272 224 272
WIRE -80 288 -80 256
WIRE 16 288 16 256
WIRE 32 288 16 288
WIRE 16 320 16 288
WIRE -80 400 -80 352
WIRE 16 400 16 384
WIRE 16 400 -80 400
WIRE 96 400 16 400
WIRE 128 400 96 400
WIRE 224 400 192 400
WIRE 224 432 224 400
SYMBOL res 240 272 R180
WINDOW 0 36 76 Left 0
WINDOW 3 36 40 Left 0
SYMATTR InstName Rf1
SYMATTR Value 10k
SYMBOL diode -96 288 R0
WINDOW 0 36 35 Left 0
WINDOW 3 20 62 Left 0
SYMATTR InstName D3
SYMATTR Value 1N914
FLAG 224 432 0
FLAG 240 272 Out
FLAG 96 400 Ramp
* Z:\home\khalils\Downloads\files\data\raw_asc\LT6210.asc
* Generated by LTspice 26.0.1 for Windows.
XU1 N003 N001 +V -V N002 P001 LT6210 ;pnba In+)In-)V+)V-)OUT)V-1
R1 P001 0 56K
V1 +V 0 5
V2 -V 0 -5
R2 N002 N001 1.1K
R3 N001 0 1.1K
V3 N003 0 pulse(-25m 25m 30n 1n 1n 35n 70n)
R4 N002 0 150
.tran 100n
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT6210.asy)
.lib LTC4.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 64 48 48 48
WIRE 176 48 144 48
WIRE 208 48 176 48
WIRE 304 48 288 48
WIRE -288 96 -288 80
WIRE -176 96 -176 80
WIRE 176 176 176 48
WIRE 192 176 176 176
WIRE -288 192 -288 176
WIRE -176 192 -176 176
WIRE 304 208 304 48
WIRE 304 208 288 208
WIRE 400 208 304 208
WIRE 400 224 400 208
WIRE -80 240 -112 240
WIRE 192 240 0 240
WIRE 400 320 400 304
WIRE 240 368 240 352
FLAG -176 192 0
FLAG -288 192 0
FLAG -288 80 +V
FLAG 208 144 +V
FLAG -176 80 -V
FLAG 208 272 -V
FLAG 240 368 0
FLAG 48 48 0
FLAG -112 240 0
FLAG 400 320 0
SYMBOL opamps\\LT6210 224 208 R0
SYMATTR InstName U1
SYMBOL res 224 256 R0
SYMATTR InstName R1
SYMATTR Value 56K
SYMBOL voltage -288 80 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage -176 80 R0
SYMATTR InstName V2
SYMATTR Value -5
SYMBOL res 304 32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1.1K
SYMBOL res 160 32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 1.1K
SYMBOL voltage 16 240 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName V3
SYMATTR Value pulse(-25m 25m 30n 1n 1n 35n 70n)
SYMBOL res 384 208 R0
SYMATTR InstName R4
SYMATTR Value 150
TEXT 352 400 Left 2 !.tran 100n
* Z:\home\khalils\Downloads\files\data\raw_asc\ADP1764-1.5.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\ADP1764-1.5.asy)
C2 N003 0 10n
R2 N001 IN 50K
C3 N002 0 1
R1 OUT 0 .8
V1 IN 0 1.8
XU1 N002 IN IN OUT OUT N001 0 N003 N004 N005 ADP1764 Radj=10033.44 ;pnba Vreg)Vin)EN)Vout)Sense)PG)GND)SS)RefCap)Vadj
C4 OUT 0 10
C1 N004 0 1
.tran 1m startup
.lib ADP7102.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1016 680
WIRE -16 -32 -128 -32
WIRE 80 -32 -16 -32
WIRE 224 -32 80 -32
WIRE -128 -16 -128 -32
WIRE 224 -16 224 -32
WIRE 80 32 80 -32
WIRE 96 32 80 32
WIRE 384 32 352 32
WIRE 496 32 384 32
WIRE 592 32 496 32
WIRE 496 48 496 32
WIRE 592 48 592 32
WIRE -128 80 -128 64
WIRE -16 128 -16 -32
WIRE 0 128 -16 128
WIRE 96 128 80 128
WIRE 384 128 384 32
WIRE 384 128 352 128
WIRE 496 144 496 112
WIRE 592 144 592 128
WIRE 16 224 0 224
WIRE 96 224 80 224
WIRE 368 224 352 224
WIRE 464 224 432 224
WIRE 16 320 -16 320
WIRE 96 320 80 320
WIRE 368 320 352 320
WIRE 224 384 224 368
SYMBOL cap 80 208 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value 1
SYMBOL voltage -128 -32 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 1.8
SYMBOL cap 480 48 R0
SYMATTR InstName C4
SYMATTR Value 10
SYMBOL cap 80 304 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL res 96 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 50K
SYMBOL ADP1764-1.5 224 176 R0
SYMATTR InstName U1
SYMBOL cap 368 240 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName C2
SYMATTR Value 10n
SYMBOL res 576 32 R0
SYMATTR InstName R1
SYMATTR Value .8
FLAG 224 384 0
FLAG -128 80 0
FLAG -16 320 0
FLAG 0 224 0
FLAG 464 224 0
FLAG 592 144 0
FLAG 496 144 0
FLAG -128 -32 IN
FLAG 592 32 OUT
TEXT 432 384 Left 2 !.tran 1m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC3624-2.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\LTC3624-2.asy)
V1 IN 0 16
C2 OUT N003 15p
C3 OUT 0 47 Rser=5m
C1 N002 0 2.2
Rload OUT 0 6
R1 OUT N003 619K
L1 N001 OUT 1.5 Rser=10m Rpar=1K
R2 N003 0 32.4K
XU1 N001 IN IN NC_01 N003 N002 N002 0 0 LTC3624-2 ;pnba SW)VIN)RUN)PGOOD)FB)INTVCC)MODE/SYNC)SGND)GND
.tran 1.5m startup
.lib LTC3624-2.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 888 680
WIRE -32 32 -64 32
WIRE 32 32 -32 32
WIRE 208 32 32 32
WIRE 208 48 208 32
WIRE -64 64 -64 32
WIRE 32 112 32 32
WIRE 64 112 32 112
WIRE 384 112 352 112
WIRE 496 112 464 112
WIRE 592 112 496 112
WIRE 704 112 592 112
WIRE 752 112 704 112
WIRE 800 112 752 112
WIRE 496 128 496 112
WIRE 592 128 592 112
WIRE 704 128 704 112
WIRE 800 128 800 112
WIRE -64 160 -64 144
WIRE 32 208 -64 208
WIRE 64 208 32 208
WIRE 496 208 352 208
WIRE 592 208 592 192
WIRE 592 208 496 208
WIRE -64 224 -64 208
WIRE 496 224 496 208
WIRE 704 224 704 192
WIRE 800 224 800 208
WIRE -64 304 -64 288
WIRE 32 304 32 208
WIRE 64 304 32 304
WIRE 496 320 496 304
WIRE 160 384 160 368
WIRE 256 384 256 368
SYMBOL cap 688 128 R0
SYMATTR InstName C3
SYMATTR Value 47
SYMATTR SpiceLine Rser=5m
SYMBOL res 784 112 R0
SYMATTR InstName Rload
SYMATTR Value 6
SYMBOL ind 368 128 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 1.5
SYMATTR SpiceLine Rser=10m Rpar=1K
SYMBOL LTC3624-2 208 208 R0
SYMATTR InstName U1
SYMBOL voltage -64 48 R0
SYMATTR InstName V1
SYMATTR Value 16
SYMBOL res 480 112 R0
SYMATTR InstName R1
SYMATTR Value 619K
SYMBOL cap -80 224 R0
SYMATTR InstName C1
SYMATTR Value 2.2
SYMBOL cap 576 128 R0
SYMATTR InstName C2
SYMATTR Value 15p
SYMBOL res 480 208 R0
SYMATTR InstName R2
SYMATTR Value 32.4K
FLAG 160 384 0
FLAG 256 384 0
FLAG -64 304 0
FLAG -64 160 0
FLAG 496 320 0
FLAG 704 224 0
FLAG 800 224 0
FLAG -32 32 IN
FLAG 752 112 OUT
TEXT 104 448 Left 2 !.tran 1.5m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\201a759276e2_FullDuplex.asc
* Generated by LTspice 26.0.1 for Windows.
D1 N001 R1 1N914
D2 R1 N002 1N914
D3 N003 R2 1N914
D4 R2 N001 1N914
R1 0 N002 1K tol=1 pwr=0.1
R2 N003 0 1K tol=1 pwr=0.1
V1 N001 N003 SINE(0 3 3k)
V2 N001 N002 SINE(0 3 1k)
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 3m
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -128 208 -128 80
WIRE -128 352 -128 288
WIRE -48 80 -128 80
WIRE -48 96 -48 80
WIRE -48 192 -48 160
WIRE -48 224 -48 192
WIRE -48 352 -128 352
WIRE -48 352 -48 288
WIRE -32 352 -48 352
WIRE -16 192 -48 192
WIRE 80 352 48 352
WIRE 80 368 80 352
WIRE 112 352 80 352
WIRE 224 80 -48 80
WIRE 224 96 224 80
WIRE 224 192 192 192
WIRE 224 192 224 160
WIRE 224 224 224 192
WIRE 224 352 192 352
WIRE 224 352 224 288
WIRE 336 80 224 80
WIRE 336 192 336 80
WIRE 336 352 224 352
WIRE 336 352 336 272
FLAG 80 368 0
FLAG -16 192 R1
FLAG 192 192 R2
SYMBOL diode -64 96 R0
SYMATTR InstName D1
SYMATTR Value 1N914
SYMBOL diode -64 224 R0
SYMATTR InstName D2
SYMATTR Value 1N914
SYMBOL diode 240 288 R180
WINDOW 0 24 72 Left 0
WINDOW 3 24 0 Left 0
SYMATTR InstName D3
SYMATTR Value 1N914
SYMBOL diode 240 160 R180
WINDOW 0 24 72 Left 0
WINDOW 3 24 0 Left 0
SYMATTR InstName D4
SYMATTR Value 1N914
SYMBOL res 64 336 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R1
SYMATTR Value 1K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 208 336 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R2
SYMATTR Value 1K
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL voltage 336 176 R0
WINDOW 3 -60 -10 VRight 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value SINE(0 3 3k)
SYMBOL voltage -128 192 R0
WINDOW 3 -60 -10 VRight 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value SINE(0 3 1k)
TEXT -132 42 Left 0 !.tran 3m
* Z:\home\khalils\Downloads\files\data\raw_asc\1f39d1f16a38_current-limiting-npn.asc
* Generated by LTspice 26.0.1 for Windows.
R1 N002 Vcc 54k
R2 0 N003 {R2}
Q1 N001 N002 N003 0 2N3904
Q2 N002 N003 0 0 2N3904
V1 Vcc 0 12
R3 Vcc N001 {R_load}
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
* 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
.tran 1
.step param R_load 100 1k 50
.meas Load_current AVG I(R3)
* Current limiting circuit using NPN transistors
.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
FLAG 288 464 0
FLAG 160 464 0
FLAG -128 64 0
FLAG -128 -96 Vcc
FLAG 288 -64 Vcc
FLAG -32 176 Vcc
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 304 448 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R2
SYMATTR Value {R2}
SYMBOL npn 224 128 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL npn 224 256 M0
SYMATTR InstName Q2
SYMATTR Value 2N3904
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 272 -32 R0
SYMATTR InstName R3
SYMATTR Value {R_load}
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\AD8031.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\OpAmps\AD8031.asy)
Vin IN 0 SINE(0 1 100K)
R1 N001 0 10K
R2 OUT N001 10K
XU1 IN N001 +V -V OUT AD8031 ;pnba In+)In-)V+)V-)OUT
V2 -V 0 -5
V1 +V 0 5
.tran 100u
.lib ADI.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1240 700
WIRE 432 -1216 416 -1216
WIRE 528 -1216 512 -1216
WIRE 544 -1216 528 -1216
WIRE 640 -1216 624 -1216
WIRE 192 -1136 192 -1152
WIRE 320 -1136 320 -1152
WIRE 528 -1120 528 -1216
WIRE 544 -1120 528 -1120
WIRE 640 -1104 640 -1216
WIRE 640 -1104 608 -1104
WIRE 704 -1104 640 -1104
WIRE 544 -1088 464 -1088
WIRE 464 -1072 464 -1088
WIRE 192 -1040 192 -1056
WIRE 320 -1040 320 -1056
WIRE 464 -976 464 -992
SYMBOL Opamps\\AD8031 576 -1168 R0
SYMATTR InstName U1
SYMBOL res 528 -1232 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10K
SYMBOL voltage 464 -1088 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName Vin
SYMATTR Value SINE(0 1 100K)
SYMBOL res 640 -1232 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL voltage 192 -1152 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage 320 -1152 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName V2
SYMATTR Value -5
FLAG 192 -1152 +V
FLAG 464 -976 0
FLAG 704 -1104 OUT
FLAG 464 -1088 IN
FLAG 576 -1136 +V
FLAG 320 -1152 -V
FLAG 576 -1072 -V
FLAG 416 -1216 0
FLAG 320 -1040 0
FLAG 192 -1040 0
TEXT 688 -960 Left 2 !.tran 100u