Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\2686220eece8_Draft29.asc
* Generated by LTspice 26.0.1 for Windows.
V1 N001 0 V
R1 Vd N001 300
D1 Vd 0 MyLed
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.dc V1 0 5 0.1
.model MyLed D (IS=93.1P RS=2.8 N=5)
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1016 680
WIRE -16 224 -96 224
WIRE 128 224 64 224
WIRE 128 240 128 224
WIRE -96 288 -96 224
WIRE 128 304 128 240
WIRE -96 432 -96 368
WIRE 16 432 -96 432
WIRE 128 432 128 368
WIRE 128 432 16 432
SYMBOL res 80 208 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 300
SYMBOL voltage -96 272 R0
SYMATTR InstName V1
SYMBOL LED 112 304 R0
SYMATTR InstName D1
SYMATTR Value MyLed
FLAG 16 432 0
FLAG 128 240 Vd
TEXT -48 488 Left 2 !.dc V1 0 5 0.1\n.model MyLed D (IS=93.1P RS=2.8 N=5)
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC1574-5.asc
* Generated by LTspice 26.0.1 for Windows.
V1 IN 0 9 Rser=0.1
L1 N001 OUT 100 Rser=0.02 Rpar=5000
C2 OUT 0 100 Rser=0.02
XU1 OUT MP_01 MP_02 0 N001 IN IN IN LTC1574 top=93.5K bot=31.5K ;pnba Sense)))GND)SW)Vin)Ipgm)_SHDN
Rload OUT 0 20
.tran 2.5m startup
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LTC1574-5.asy)
.lib LTC1574.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1492 912
WIRE 480 528 368 528
WIRE 624 528 480 528
WIRE 368 544 368 528
WIRE 624 544 624 528
WIRE 480 608 480 528
WIRE 496 608 480 608
WIRE 784 608 752 608
WIRE 896 608 864 608
WIRE 992 608 896 608
WIRE 992 624 992 608
WIRE 368 640 368 624
WIRE 480 672 480 608
WIRE 496 672 480 672
WIRE 896 672 896 608
WIRE 896 672 752 672
WIRE 896 688 896 672
WIRE 992 720 992 704
WIRE 624 768 624 736
WIRE 896 768 896 752
FLAG 992 608 OUT
FLAG 896 768 0
FLAG 992 720 0
FLAG 624 768 0
FLAG 368 640 0
FLAG 368 528 IN
SYMBOL VOLTAGE 368 528 R0
SYMATTR InstName V1
SYMATTR Value 9
SYMATTR SpiceLine Rser=0.1
SYMBOL IND 768 624 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 100
SYMATTR SpiceLine Rser=0.02 Rpar=5000
SYMBOL POLCAP 880 688 R0
SYMATTR InstName C2
SYMATTR Value 100
SYMATTR SpiceLine Rser=0.02
SYMBOL PowerProducts\\LTC1574-5 624 624 R0
SYMATTR InstName U1
SYMBOL res 976 608 R0
SYMATTR InstName Rload
SYMATTR Value 20
TEXT 824 832 Left 2 !.tran 2.5m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\LT6654-2.5.asc
* Generated by LTspice 26.0.1 for Windows.
* Turn on and off 5mA of sink current\nand then on and off 5mA of source current
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\References\LT6654-2.5.asy)
V2 N002 0 PULSE(0 1 600u 10n 10n 200u 10m)
C1 OUT 0 1
XU1 0 IN OUT LT6654-2.5 ;pnba GND)IN)OUT
S2 OUT IN N001 0 5mA
S1 0 OUT N002 0 5mA
V3 N001 0 PULSE(0 1 100u 10n 10n 200u 10m)
V1 IN 0 3
.tran 1m
.model 5mA SW(Ron=10 Roff=1Meg Vt=.5 Vh=-.2 Ilimit=5m level=2)
.lib LT6654-2.5.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 4212 1120
WIRE 2288 256 1824 256
WIRE 2288 272 2288 256
WIRE 2592 288 2336 288
WIRE 2704 288 2672 288
WIRE 2352 336 2336 336
WIRE 1824 384 1824 256
WIRE 1824 384 1728 384
WIRE 1872 384 1824 384
WIRE 2176 384 2096 384
WIRE 2288 384 2288 352
WIRE 2288 384 2176 384
WIRE 2384 384 2288 384
WIRE 1728 400 1728 384
WIRE 2176 400 2176 384
WIRE 2288 416 2288 384
WIRE 2592 432 2336 432
WIRE 2704 432 2672 432
WIRE 1984 480 1984 448
WIRE 2176 480 2176 464
WIRE 2352 480 2336 480
WIRE 1728 496 1728 480
WIRE 2288 512 2288 496
SYMBOL LT6654-2.5 1984 384 R0
SYMATTR InstName U1
SYMBOL cap 2160 400 R0
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL sw 2288 368 R180
WINDOW 0 -11 104 Right 2
WINDOW 3 -15 14 Right 2
SYMATTR InstName S2
SYMATTR Value 5mA
SYMBOL sw 2288 512 R180
WINDOW 0 -7 103 Right 2
WINDOW 3 -10 16 Right 2
SYMATTR InstName S1
SYMATTR Value 5mA
SYMBOL voltage 2576 288 M90
WINDOW 123 74 56 VTop 2
WINDOW 39 53 56 VTop 2
WINDOW 3 32 56 VTop 2
WINDOW 0 -32 56 VBottom 2
SYMATTR Value PULSE(0 1 100u 10n 10n 200u 10m)
SYMATTR InstName V3
SYMBOL voltage 2576 432 M90
WINDOW 123 74 56 VTop 2
WINDOW 39 53 56 VTop 2
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName V2
SYMATTR Value PULSE(0 1 600u 10n 10n 200u 10m)
SYMBOL voltage 1728 384 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 3
FLAG 1984 480 0
FLAG 2384 384 OUT
FLAG 1728 384 IN
FLAG 1728 496 0
FLAG 2176 480 0
FLAG 2288 512 0
FLAG 2352 480 0
FLAG 2704 432 0
FLAG 2352 336 0
FLAG 2704 288 0
TEXT 2152 624 Left 2 !.tran 1m\n.model 5mA SW(Ron=10 Roff=1Meg Vt=.5 Vh=-.2 Ilimit=5m level=2)
TEXT 1984 240 Bottom 2 ;Turn on and off 5mA of sink current\nand then on and off 5mA of source current
* Z:\home\khalils\Downloads\files\data\raw_asc\c9850daf42bd_task_2.asc
* Generated by LTspice 26.0.1 for Windows.
;dc V1 -10 10 0.001
R1 N002 0 1k
V1 N001 0 SINE(0 10 50)
D1 N001 N002 ES1D
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 0.05
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 224 80 -80 80
WIRE -80 144 -80 80
WIRE 224 160 224 80
WIRE -80 272 -80 224
WIRE 224 272 224 224
SYMBOL voltage -80 128 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value SINE(0 10 50)
SYMBOL diode 208 160 R0
SYMATTR InstName D1
SYMATTR Value ES1D
SYMBOL res 208 256 R0
SYMATTR InstName R1
SYMATTR Value 1k
FLAG -80 272 0
FLAG 224 352 0
TEXT -16 64 Left 2 !;dc V1 -10 10 0.001
TEXT 32 24 Left 2 !.tran 0.05
* Z:\home\khalils\Downloads\files\data\raw_asc\60177209dd3f_STW9N150_test.asc
* Generated by LTspice 26.0.1 for Windows.
* Ctrl-right-mouse-click on the transistor\nto change the Prefix to X in the full dialog.
R2 N002 N003 10
V1 N002 0 0
XM1 out N003 0 STW9N150 ;pnba D)G)S
V2 N001 0 1000
R1 N001 out 10k
.dc V1 0 10 .01
.include STW9N150.lib
.options gmin=1e-10 abstol=1e-10 reltol=0.03
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 208 -80 -16 -80
WIRE -16 -32 -16 -80
WIRE 208 -32 208 -80
WIRE -16 80 -16 48
WIRE 208 80 208 48
WIRE 304 80 208 80
WIRE 208 96 208 80
WIRE 48 176 -16 176
WIRE 160 176 128 176
WIRE -16 208 -16 176
WIRE -16 320 -16 288
WIRE 208 320 208 192
WIRE 208 320 -16 320
WIRE -16 352 -16 320
SYMBOL res 192 -48 R0
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL nmos 160 96 R0
SYMATTR InstName M1
SYMATTR Value STW9N150
SYMATTR Prefix X
SYMBOL voltage -16 192 R0
SYMATTR InstName V1
SYMATTR Value 0
SYMBOL res 32 192 R270
WINDOW 0 32 56 VTop 0
WINDOW 3 0 56 VBottom 0
SYMATTR InstName R2
SYMATTR Value 10
SYMBOL voltage -16 -48 R0
SYMATTR InstName V2
SYMATTR Value 1000
FLAG -16 352 0
FLAG -16 80 0
FLAG 304 80 out
TEXT -88 -144 Left 0 ;Ctrl-right-mouse-click on the transistor\nto change the Prefix to X in the full dialog.
TEXT -96 -240 Left 0 !.dc V1 0 10 .01
TEXT -96 -272 Left 0 !.include STW9N150.lib
TEXT -96 -208 Left 0 !.options gmin=1e-10 abstol=1e-10 reltol=0.03
* Z:\home\khalils\Downloads\files\data\raw_asc\54133fedab08_XMFR1.asc
* Generated by LTspice 26.0.1 for Windows.
B2 1 2 I=I(VM)*{RATIO}
VM 6 5 0
R2 3 5 1
B1 6 4 V=V(1,2)*{RATIO}
R1 1 2 1Meg
.param RATIO=1
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 64 -112 -96 -112
WIRE 192 -112 64 -112
WIRE 496 -112 480 -112
WIRE 608 -112 496 -112
WIRE 768 -112 688 -112
WIRE 480 -96 480 -112
WIRE 64 0 64 -112
WIRE 192 16 192 -112
WIRE 480 16 480 -16
WIRE 480 64 480 16
WIRE 64 192 64 80
WIRE 64 192 -96 192
WIRE 192 192 192 96
WIRE 192 192 64 192
WIRE 480 192 480 144
WIRE 768 192 480 192
IOPIN -96 -112 BiDir
IOPIN -96 192 BiDir
IOPIN 768 -112 BiDir
IOPIN 768 192 BiDir
SYMBOL bi 192 16 R0
SYMATTR InstName B2
SYMATTR Value I=I(VM)*{RATIO}
SYMBOL voltage 480 0 R180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName VM
SYMATTR Value 0
SYMBOL res 48 -16 R0
SYMATTR InstName R1
SYMATTR Value 1Meg
SYMBOL res 704 -128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1u
SYMBOL bv 480 48 R0
SYMATTR InstName B1
SYMATTR Value V=V(1,2)*{RATIO}
FLAG -96 -112 1
FLAG -96 192 2
FLAG 768 -112 3
FLAG 768 192 4
FLAG 496 -112 5
FLAG 480 16 6
TEXT 208 -200 Left 2 !.param RATIO=1
* Z:\home\khalils\Downloads\files\data\raw_asc\8a0b132646a9_project3_p2a.asc
* Generated by LTspice 26.0.1 for Windows.
+IS=7.75521e-12 BF=194.093 NF=1.35509 VAF=156.436
+IKF=0.0660057 ISE=1.88546e-12 NE=1.81673 BR=3.41317
+NR=1.5 VAR=5.86061 IKR=1.70599 ISC=7.64281e-10
+NC=1.92376 RB=6.48961 IRB=0.1 RBM=0.1
+RE=0.0001 RC=2.45044 XTB=0.1 XTI=1
+EG=1.05 CJE=6.11928e-12 VJE=0.4 MJE=0.248812
+TF=5.21843e-10 XTF=0.932702 VTF=9.1046 ITF=0.0106472
+CJC=6.85007e-12 VJC=0.4 MJC=0.279018 XCJC=0.9
+FC=0.478887 CJS=0 VJS=0.75 MJS=0.5
+TR=4.30605e-07 PTF=0 KF=0 AF=1
RL N002 V0 10k
VEE N002 0 -5
Q2 V0 Vin N001 0 My2n3906
Q1 Vin Vin N001 0 My2n3906
IREF Vin N002 1m
VCC N001 0 5
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.MODEL My2n3906 pnp
.dc IREF 0.1m 1m 0.01m
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1064 680
WIRE 160 -208 -144 -208
WIRE 512 -208 160 -208
WIRE -144 -128 -144 -208
WIRE 160 -128 160 -208
WIRE 512 -128 512 -208
WIRE 16 -80 -80 -80
WIRE 96 -80 16 -80
WIRE 512 16 512 -48
WIRE -144 32 -144 -32
WIRE 16 32 16 -80
WIRE 16 32 -144 32
WIRE 160 32 160 -32
WIRE 512 32 512 16
WIRE -144 80 -144 32
WIRE 160 112 160 32
WIRE -144 128 -144 80
WIRE -144 256 -144 208
WIRE 160 256 160 192
WIRE 160 256 -144 256
WIRE 160 336 160 256
WIRE 160 448 160 416
WIRE 160 464 160 448
SYMBOL voltage 512 -144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName VCC
SYMATTR Value 5
SYMBOL voltage 160 320 R0
SYMATTR InstName VEE
SYMATTR Value -5
SYMBOL pnp 96 -32 M180
SYMATTR InstName Q2
SYMATTR Value My2n3906
SYMBOL res 176 208 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName RL
SYMATTR Value 10k
SYMBOL current -144 128 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName IREF
SYMATTR Value 1m
SYMBOL pnp -80 -32 R180
SYMATTR InstName Q1
SYMATTR Value My2n3906
FLAG 160 464 0
FLAG 512 32 0
FLAG 512 16 X3
FLAG 160 448 X2
FLAG 160 32 V0
FLAG -144 80 Vin
TEXT 336 128 Left 2 !.MODEL My2n3906 pnp\n+IS=7.75521e-12 BF=194.093 NF=1.35509 VAF=156.436\n+IKF=0.0660057 ISE=1.88546e-12 NE=1.81673 BR=3.41317\n+NR=1.5 VAR=5.86061 IKR=1.70599 ISC=7.64281e-10\n+NC=1.92376 RB=6.48961 IRB=0.1 RBM=0.1\n+RE=0.0001 RC=2.45044 XTB=0.1 XTI=1\n+EG=1.05 CJE=6.11928e-12 VJE=0.4 MJE=0.248812\n+TF=5.21843e-10 XTF=0.932702 VTF=9.1046 ITF=0.0106472\n+CJC=6.85007e-12 VJC=0.4 MJC=0.279018 XCJC=0.9\n+FC=0.478887 CJS=0 VJS=0.75 MJS=0.5\n+TR=4.30605e-07 PTF=0 KF=0 AF=1
TEXT -288 512 Left 2 !.dc IREF 0.1m 1m 0.01m
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1762.asc
* Generated by LTspice 26.0.1 for Windows.
V1 IN 0 PWL(0 0 1 10)
C1 OUT 0 10
Rload OUT 0 500
C2 OUT N001 .01
XU1 OUT OUT N001 0 IN MP_01 MP_02 IN LT1762 ;pnba OUT)ADJ)BYP)GND)_SHDN)))IN
.tran 1
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LT1762.asy)
.lib LT1762.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 320 32 304 32
WIRE 352 32 320 32
WIRE 432 32 352 32
WIRE 528 32 432 32
WIRE 0 48 -208 48
WIRE 16 48 0 48
WIRE 432 48 432 32
WIRE 528 48 528 32
WIRE -208 64 -208 48
WIRE 352 64 352 32
WIRE 320 96 320 32
WIRE 320 96 304 96
WIRE 0 144 0 48
WIRE 16 144 0 144
WIRE 432 144 432 112
WIRE 528 144 528 128
WIRE -208 160 -208 144
WIRE 352 160 352 128
WIRE 352 160 304 160
WIRE 160 240 160 208
FLAG -208 160 0
FLAG 432 144 0
FLAG 528 144 0
FLAG 160 240 0
FLAG 528 32 OUT
FLAG -208 48 IN
SYMBOL voltage -208 48 R0
SYMATTR InstName V1
SYMATTR Value PWL(0 0 1 10)
SYMBOL cap 416 48 R0
SYMATTR InstName C1
SYMATTR Value 10
SYMBOL res 512 32 R0
SYMATTR InstName Rload
SYMATTR Value 500
SYMBOL cap 336 64 R0
SYMATTR InstName C2
SYMATTR Value .01
SYMBOL PowerProducts\\LT1762 160 96 R0
SYMATTR InstName U1
TEXT 384 216 Left 2 !.tran 1
* Z:\home\khalils\Downloads\files\data\raw_asc\0a0365006e3f_Draft1.asc
* Generated by LTspice 26.0.1 for Windows.
R4 N001 N003 150k
V2 N001 0 4.5 Rser=300m
D1 N001 N002 NSPW500BS
D3 N004 0 NSPW500BS
R2 N005 0 10k
Q1 N002 N003 N005 0 BC337-25
R1 N001 N004 120 tol=1
R3 N001 N003 20k
.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 100
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -96 -128 -304 -128
WIRE 0 -128 -96 -128
WIRE 96 -128 0 -128
WIRE 192 -128 96 -128
WIRE 192 -96 192 -128
WIRE -304 -64 -304 -128
WIRE -96 -64 -96 -128
WIRE 0 -48 0 -128
WIRE 96 -48 96 -128
WIRE 192 64 192 -32
WIRE 0 112 0 32
WIRE 96 112 96 32
WIRE 96 112 0 112
WIRE 128 112 96 112
WIRE -96 208 -96 16
WIRE 192 208 192 160
WIRE -304 320 -304 16
WIRE -144 320 -304 320
WIRE -96 320 -96 272
WIRE -96 320 -144 320
WIRE 192 320 192 288
WIRE 192 320 -96 320
WIRE -144 336 -144 320
SYMBOL LED 176 -96 R0
SYMATTR InstName D1
SYMATTR Value NSPW500BS
SYMBOL npn 128 64 R0
SYMATTR InstName Q1
SYMATTR Value BC337-25
SYMBOL LED -112 208 R0
SYMATTR InstName D3
SYMATTR Value NSPW500BS
SYMBOL Misc\\battery -304 -80 R0
WINDOW 123 0 0 Left 0
WINDOW 39 24 132 Left 2
SYMATTR InstName V2
SYMATTR Value 4.5
SYMATTR SpiceLine Rser=300m
SYMBOL res -16 -64 R0
SYMATTR InstName R4
SYMATTR Value 150k
SYMBOL res -112 -80 R0
SYMATTR InstName R1
SYMATTR Value 120
SYMATTR SpiceLine tol=1
SYMBOL res 176 192 R0
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL res 80 -64 R0
SYMATTR InstName R3
SYMATTR Value 20k
FLAG -144 336 0
TEXT -338 330 Left 2 !.tran 100
* Z:\home\khalils\Downloads\files\data\raw_asc\2a0bc97afd50_6990.asc
* Generated by LTspice 26.0.1 for Windows.
XU1 N001 0 N003 N004 N001 OUT LTC6990 ;pnba OE)GND)SET)DIV)V+)OUT
R1 N001 N004 1Meg
R2 N004 0 887K
R3 N003 0 196K
R4 N003 N002 261K
V1 N001 0 5
V2 N002 0 PULSE(2 1 5m 20m 20m 5m 50m)
* TimerBlox\n500Hz to 2KHz Voltage Controlled Oscillator\nControl Voltage Ramps from 2V to 1V\nStartup Modeled
.tran 60m startup
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\SpecialFunctions\LTC6990.asy)
.lib LTC6990.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 888 680
WIRE 512 32 80 32
WIRE 80 80 80 32
WIRE 112 80 80 80
WIRE 400 80 336 80
WIRE 112 160 96 160
WIRE 384 160 336 160
WIRE 512 160 512 32
WIRE 512 160 384 160
WIRE 384 176 384 160
WIRE 512 176 512 160
WIRE -336 240 -352 240
WIRE -96 240 -256 240
WIRE 48 240 -16 240
WIRE 112 240 48 240
WIRE 352 240 336 240
WIRE 48 256 48 240
WIRE 352 272 352 240
WIRE 384 272 384 256
WIRE 384 272 352 272
WIRE 512 272 512 256
WIRE 384 288 384 272
WIRE 48 352 48 336
WIRE 384 384 384 368
FLAG 512 272 0
FLAG -352 240 0
FLAG 96 160 0
FLAG 400 80 OUT
FLAG 48 352 0
FLAG 384 384 0
SYMBOL LTC6990 224 160 R0
SYMATTR InstName U1
SYMBOL res 368 160 R0
SYMATTR InstName R1
SYMATTR Value 1Meg
SYMBOL res 368 272 R0
SYMATTR InstName R2
SYMATTR Value 887K
SYMBOL res 32 240 R0
SYMATTR InstName R3
SYMATTR Value 196K
SYMBOL res 0 224 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R4
SYMATTR Value 261K
SYMBOL voltage 512 160 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage -240 240 R90
WINDOW 3 32 56 VTop 0
WINDOW 123 74 56 VTop 0
WINDOW 39 53 56 VTop 0
WINDOW 0 -32 56 VBottom 0
SYMATTR Value PULSE(2 1 5m 20m 20m 5m 50m)
SYMATTR InstName V2
TEXT 224 24 Bottom 0 ;TimerBlox\n500Hz to 2KHz Voltage Controlled Oscillator\nControl Voltage Ramps from 2V to 1V\nStartup Modeled
TEXT 488 368 Left 0 !.tran 60m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\000f247d8ce5_trans_conv-300mV.asc
* Generated by LTspice 26.0.1 for Windows.
R2 N004 N005 270
R4 N003 0 4700
Q1 N002 N003 N004 0 NPN
V1 N002 0 3.3
R1 N003 N001 2200
R3 N005 0 75
V2 N001 0 SINE(1.65 1.65 1000000)
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran 2us
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -128 80 -256 80
WIRE 416 112 144 112
WIRE 512 112 496 112
WIRE 512 128 512 112
WIRE -400 160 -416 160
WIRE -256 160 -256 80
WIRE -256 160 -320 160
WIRE 80 160 -128 160
WIRE -416 176 -416 160
WIRE 224 208 144 208
WIRE 480 288 224 288
SYMBOL res -144 144 R0
SYMATTR InstName R4
SYMATTR Value 4700
SYMBOL res 208 192 R0
SYMATTR InstName R2
SYMATTR Value 270
SYMBOL res 464 272 R0
SYMATTR InstName R3
SYMATTR Value 75
SYMBOL npn 80 112 R0
SYMATTR InstName Q1
SYMBOL voltage 400 112 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 -32 56 VBottom 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 3.3
SYMBOL voltage -304 160 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value SINE(1.65 1.65 1000000)
SYMBOL res -112 176 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R1
SYMATTR Value 2200
FLAG -416 176 0
FLAG 512 128 0
FLAG 480 368 0
FLAG -128 240 0
TEXT -192 392 Left 2 !.tran 2us
* Z:\home\khalils\Downloads\files\data\raw_asc\01121b582a34_tlv431_window_comparator.asc
* Generated by LTspice 26.0.1 for Windows.
* Window comparator for 4.8V < 5V < 5.2V.\nBy adding R5, which is a small fraction of R3, the error introduced by the cathode current of U1 is minimized.\nDon't chose R5 too small. U1 should still be able to cope with the cathode current when it's fully conducting.
* R5 is 2% of R3 in this case.
* Library below included based on ModelFile attribute of instance XU1, XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\References\TLV431.asy)
XU1 N002 0 NC_01 TLV431 ;pnba K)A)R
V1 N001 0 0
R2 N003 0 4.7k
R4 N004 0 20k
R1 N001 N003 15k
R3 N002 N004 56k
R5 N001 N002 1k
R6 N001 Vout 1k
XU2 Vout 0 NC_02 TLV431 ;pnba K)A)R
.dc v1 0 10 0.01
.lib TLV431.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1300 680
WIRE 160 -144 32 -144
WIRE 384 -144 160 -144
WIRE 528 -144 384 -144
WIRE 384 -96 384 -144
WIRE 528 -96 528 -144
WIRE 384 0 384 -16
WIRE 384 0 272 0
WIRE 160 16 160 -144
WIRE 384 16 384 0
WIRE 528 32 528 -16
WIRE 272 96 272 0
WIRE 528 96 528 32
WIRE 160 128 160 96
WIRE 240 128 160 128
WIRE 384 128 384 96
WIRE 496 128 384 128
WIRE 32 144 32 -144
WIRE 160 144 160 128
WIRE 384 144 384 128
WIRE 32 272 32 224
WIRE 160 272 160 224
WIRE 272 272 272 160
WIRE 384 272 384 224
WIRE 528 272 528 160
SYMBOL voltage 32 128 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 0
SYMBOL Parts_TCO\\TLV431 528 128 M0
SYMATTR InstName U2
SYMBOL res 368 128 R0
SYMATTR InstName R4
SYMATTR Value 20k
SYMBOL res 144 0 R0
SYMATTR InstName R1
SYMATTR Value 15k
SYMBOL res 368 -112 R0
SYMATTR InstName R5
SYMATTR Value 1k
SYMBOL Parts_TCO\\TLV431 272 128 M0
SYMATTR InstName U1
SYMBOL res 144 128 R0
SYMATTR InstName R2
SYMATTR Value 4.7k
SYMBOL res 368 0 R0
SYMATTR InstName R3
SYMATTR Value 56k
SYMBOL res 512 -112 R0
SYMATTR InstName R6
SYMATTR Value 1k
FLAG 32 272 0
FLAG 160 272 0
FLAG 272 272 0
FLAG 384 272 0
FLAG 528 272 0
FLAG 528 32 Vout
TEXT -192 192 Left 2 !.dc v1 0 10 0.01
TEXT 40 -352 Left 2 ;Window comparator for 4.8V < 5V < 5.2V.\nBy adding R5, which is a small fraction of R3, the error introduced by the cathode current of U1 is minimized.\nDon't chose R5 too small.  U1 should still be able to cope with the cathode current when it's fully conducting.
TEXT 48 -264 Left 2 ;R5 is 2% of R3 in this case.
* Z:\home\khalils\Downloads\files\data\raw_asc\115d22d9abf0_Protection_surtensions.asc
* Generated by LTspice 26.0.1 for Windows.
D2 N001 Vout_2*Zener BZX85C3V3
R3 Vout_2*Zener Vin 1k
R1 V_out_TV2 Vin 1k
R4 0 Vout_2*Zener 100k
D1 V_out_TV2 0 TVS1
D3 N001 0 BZX85C3V3
R2 V_out_TV2 0 100k
V1 Vin 0 SINE(0 10 1e6 0 100k)
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 20u
.model TVS1 D(Ron=.65 Roff=50Meg Vfwd=3.3 epsilon=6 Vrev=3.3 revepsilon=6 Vpk=24 mfg=Littlefuse type=TVS)
.model BZX85C3V3 D ( IS=5n RS=5m BV=3.3 IBV=5m N=1.2 Cjo=200p Vj=0.75 M=0.33 TT=10n )
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2436 680
WIRE 1536 80 1504 80
WIRE 1664 80 1616 80
WIRE 1808 80 1664 80
WIRE 1840 80 1808 80
WIRE 400 96 352 96
WIRE 592 96 400 96
WIRE 672 96 592 96
WIRE 1664 112 1664 80
WIRE 400 128 400 96
WIRE 592 128 592 96
WIRE -80 160 -80 128
WIRE 1808 160 1808 80
WIRE 1664 192 1664 176
WIRE 400 224 400 192
WIRE 592 240 592 208
WIRE 1808 272 1808 240
WIRE 1664 304 1664 256
SYMBOL zener 1648 192 R0
WINDOW 3 61 17 VRight 2
SYMATTR Value BZX85C3V3
SYMATTR InstName D3
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL zener 1680 176 R180
WINDOW 0 24 64 Left 2
WINDOW 3 52 -93 VRight 2
SYMATTR InstName D2
SYMATTR Value BZX85C3V3
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 1632 64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 1k
SYMBOL TVSdiode 384 128 R0
SYMATTR InstName D1
SYMATTR Value TVS1
SYMBOL voltage -80 144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value SINE(0 10 1e6 0 100k)
SYMBOL res 1824 256 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R4
SYMATTR Value 100k
SYMBOL res 368 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL res 576 112 R0
SYMATTR InstName R2
SYMATTR Value 100k
FLAG -80 240 0
FLAG 400 224 0
FLAG 592 240 0
FLAG 1664 304 0
FLAG -80 128 Vin
FLAG 272 96 Vin
FLAG 672 96 V_out_TV2
FLAG 1504 80 Vin
FLAG 1840 80 Vout_2*Zener
FLAG 1808 272 0
TEXT -120 280 Left 2 !.tran 20u
TEXT -368 24 Left 2 !.model TVS1 D(Ron=.65 Roff=50Meg Vfwd=3.3 epsilon=6 Vrev=3.3 revepsilon=6 Vpk=24 mfg=Littlefuse type=TVS)
TEXT 1256 16 Left 2 !.model BZX85C3V3 D ( IS=5n RS=5m BV=3.3 IBV=5m N=1.2 Cjo=200p Vj=0.75 M=0.33 TT=10n )
* Z:\home\khalils\Downloads\files\data\raw_asc\990897999103_Clamp.asc
* Generated by LTspice 26.0.1 for Windows.
B5 out 0 V = V(Vo)
B8 V3 0 V = if(V(max)>V(in),V(in),V(max))
B9 Vo 0 V = if(V(V3)>V(min),V(V3),V(min))
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1072 680
WIRE 976 -720 896 -720
WIRE 32 -624 32 -688
WIRE 480 -624 480 -688
WIRE 896 -624 896 -720
WIRE 32 -448 32 -544
WIRE 480 -448 480 -544
WIRE 896 -448 896 -544
WIRE 144 -368 48 -368
WIRE 144 -320 48 -320
WIRE 144 -272 48 -272
FLAG 48 -368 in
IOPIN 48 -368 In
FLAG 48 -320 max
IOPIN 48 -320 In
FLAG 48 -272 min
IOPIN 48 -272 In
FLAG 896 -448 0
FLAG 976 -720 out
IOPIN 976 -720 Out
FLAG 32 -448 0
FLAG 32 -688 V3
FLAG 480 -448 0
FLAG 480 -688 Vo
SYMBOL bv 896 -640 R0
SYMATTR InstName B5
SYMATTR Value V = V(Vo)
SYMBOL bv 32 -640 R0
WINDOW 3 -46 228 Left 0
SYMATTR Value V = if(V(max)>V(in),V(in),V(max))
SYMATTR InstName B8
SYMBOL bv 480 -640 R0
WINDOW 3 -46 228 Left 0
SYMATTR Value V = if(V(V3)>V(min),V(V3),V(min))
SYMATTR InstName B9