Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\2d2c94a5ac5e_Highpass.asc
* Generated by LTspice 26.0.1 for Windows.
V1 Vin 0 SINE(0 {InputV} {Freq})
R1 Vout 0 18k
C1 Vin Vout {cap}
.options plotwinsize 0
.param InputV=20
.param Freq=10
.param Start=0
.param TimeStep=(1/Freq)/40000
.param Stop=15/Freq+TimeStep
.param SaveTime=10/Freq
.tran {Start} {Stop} {SaveTime} {Timestep}
.four {Freq} V(Vout)
.four {Freq} V(Vin)
.step param Cap list 1u 10u
* Watch how the distortion depends on the {SaveTime}\n \nThe reason is a startup transient at V(Vout).\nYou will discover this if you set in .tran the \n{SaveTime} to 0 and watch V(Vout).
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 48 80 160 80
WIRE 160 80 160 160
WIRE -16 80 -160 80
WIRE -160 80 -160 176
WIRE -160 256 -160 304
WIRE 160 240 160 304
FLAG -160 304 0
FLAG 160 304 0
FLAG 160 80 Vout
FLAG -160 80 Vin
SYMBOL voltage -160 160 R0
SYMATTR InstName V1
SYMATTR Value SINE(0 {InputV} {Freq})
SYMBOL res 144 144 R0
SYMATTR InstName R1
SYMATTR Value 18k
SYMBOL cap -16 96 R270
WINDOW 0 32 32 VTop 0
WINDOW 3 0 32 VBottom 0
SYMATTR InstName C1
SYMATTR Value {cap}
TEXT -168 -320 Left 0 !.options plotwinsize 0\n.param InputV=20\n.param Freq=10\n.param Start=0\n.param TimeStep=(1/Freq)/40000\n.param Stop=15/Freq+TimeStep\n.param SaveTime=10/Freq\n.tran {Start} {Stop} {SaveTime} {Timestep}\n.four {Freq} V(Vout)\n.four {Freq} V(Vin)\n.step param Cap list 1u 10u
TEXT -176 -520 Left 0 ;Watch how the distortion depends on the {SaveTime}\n \nThe reason is a startup transient at V(Vout).\nYou will discover this if you set in .tran the \n{SaveTime} to 0 and watch V(Vout).
* Z:\home\khalils\Downloads\files\data\raw_asc\3335662b63dc_HighPeak.asc
* Generated by LTspice 26.0.1 for Windows.
C1 N001 P001 10n
L1 P001 P002 100m
RBoostHi1 N001 in {(1-HiBPot)*10k}
RBoostHi2 out N001 {HiBPot*10k}
RHiBQ1 out P002 {QPot*2k5}
Vin1 in 0 AC 1
RLoad 0 out 50
* 2
.step param HiBPot list 0.0001 0.25 0.5 0.75 0.9999
.step param QPot list 0.0001 0.25 0.5 0.75 1
.ac oct 10000 10 20000
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1068 852
WIRE 32 96 -48 96
WIRE 192 96 112 96
WIRE 288 96 192 96
WIRE 288 128 288 96
WIRE 192 192 192 96
WIRE -48 272 -48 96
WIRE 192 384 192 272
WIRE 240 384 192 384
WIRE 288 384 288 352
WIRE 288 384 240 384
WIRE 320 384 288 384
WIRE 240 416 240 384
WIRE -48 528 -48 352
WIRE 240 528 240 496
FLAG -48 528 0
FLAG -48 96 in
FLAG 240 528 0
FLAG 320 384 out
IOPIN 320 384 Out
SYMBOL cap 272 128 R0
SYMATTR InstName C1
SYMATTR Value 10n
SYMBOL ind 272 176 R0
SYMATTR InstName L1
SYMATTR Value 100m
SYMBOL res 128 80 R90
WINDOW 0 0 54 VBottom 2
WINDOW 3 -10 54 Invisible 2
SYMATTR InstName RBoostHi1
SYMATTR Value {(1-HiBPot)*10k}
SYMBOL res 208 288 R180
WINDOW 0 36 20 Left 2
WINDOW 3 36 48 Invisible 2
SYMATTR InstName RBoostHi2
SYMATTR Value {HiBPot*10k}
SYMBOL res 304 368 R180
WINDOW 0 -92 66 Left 2
WINDOW 3 -142 30 Left 2
SYMATTR InstName RHiBQ1
SYMATTR Value {QPot*2k5}
SYMBOL voltage -48 256 R0
WINDOW 3 24 96 Invisible 2
SYMATTR Value ""
SYMATTR Value2 AC 1
SYMATTR InstName Vin1
SYMBOL res 256 512 R180
WINDOW 0 36 20 Left 2
WINDOW 3 36 48 Invisible 2
SYMATTR InstName Load
SYMATTR Value 50
TEXT -8 80 Left 2 ;2
TEXT 464 136 Left 2 !.step param HiBPot list 0.0001 0.25 0.5 0.75 0.9999
TEXT 464 168 Left 2 !.step param QPot list 0.0001 0.25 0.5 0.75 1
TEXT -176 360 Left 2 !.ac oct 10000 10 20000
* Z:\home\khalils\Downloads\files\data\raw_asc\0f45dead51e9_pseudo_nmos_NOR.asc
* Generated by LTspice 26.0.1 for Windows.
M2 out b 0 0 NMOS
M3 N001 0 out N001 PMOS
V3 b 0 PULSE(0 5 0 1n 1n 10u 21u 5)
V1 N001 0 5V
M1 out a 0 0 NMOS
V2 a 0 PULSE(0 5 0 1n 1n 10u 21u 5)
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 0 4mS 0
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 256 -80 224 -80
WIRE 336 -80 256 -80
WIRE 224 -48 224 -80
WIRE 336 -48 336 -80
WIRE 256 0 256 -80
WIRE 256 0 224 0
WIRE 176 32 96 32
WIRE 96 64 96 32
WIRE 224 64 224 48
WIRE 256 64 224 64
WIRE 336 80 336 32
WIRE 224 96 224 64
WIRE 224 96 160 96
WIRE 272 96 224 96
WIRE 160 128 160 96
WIRE 272 128 272 96
WIRE 64 144 -32 144
WIRE 80 144 64 144
WIRE 176 176 160 176
WIRE 288 176 272 176
WIRE -16 208 -32 208
WIRE 112 208 -16 208
WIRE -16 224 -16 208
WIRE 80 240 80 144
WIRE 224 240 224 208
WIRE 224 240 80 240
WIRE 160 256 160 224
WIRE 176 256 176 176
WIRE 176 256 160 256
WIRE 224 256 176 256
WIRE 272 256 272 224
WIRE 272 256 224 256
WIRE 288 256 288 176
WIRE 288 256 272 256
WIRE 64 272 64 144
WIRE 224 288 224 256
WIRE -16 384 -16 304
WIRE 16 384 -16 384
WIRE 64 384 64 352
WIRE 64 384 16 384
WIRE 16 400 16 384
IOPIN -32 208 In
IOPIN -32 144 In
IOPIN 256 64 Out
SYMBOL voltage -16 208 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value PULSE(0 5 0 1n 1n 10u 21u 5)
SYMBOL nmos4 224 128 R0
SYMATTR InstName M2
SYMBOL nmos4 112 128 R0
WINDOW 3 91 58 Top 2
SYMATTR InstName M1
SYMBOL voltage 64 256 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value PULSE(0 5 0 1n 1n 10u 21u 5)
SYMBOL pmos4 176 -48 R0
SYMATTR InstName M3
SYMBOL voltage 336 -64 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 5V
FLAG -32 208 a
FLAG -32 144 b
FLAG 96 64 0
FLAG 336 80 0
FLAG 16 400 0
FLAG 256 64 out
FLAG 224 288 0
TEXT 8 -24 Left 2 !.tran 0 4mS 0
* Z:\tmp\asc_dec_bjh7r6w2\002cb108a55b_metal_detector_bfo_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
R3 N004 0 10k
V1 N001 0 5
R2 N001 N002 1.5k
C2 N002 N005 10n
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 96 -304 -400 -304
WIRE 96 -240 96 -304
WIRE 96 -240 -48 -240
WIRE 224 -240 96 -240
WIRE 224 -160 224 -240
WIRE -400 -48 -400 -304
WIRE 224 -48 224 -80
WIRE 432 -48 224 -48
WIRE 576 -48 432 -48
WIRE 224 -32 224 -48
WIRE -192 16 -224 16
WIRE -48 16 -48 -80
WIRE -48 16 -128 16
WIRE 160 16 -48 16
WIRE 224 96 224 64
WIRE 432 96 432 16
WIRE 432 96 224 96
WIRE 576 96 576 -48
WIRE -400 112 -400 32
WIRE -48 128 -48 16
WIRE 224 128 224 96
WIRE 432 128 432 96
WIRE -48 256 -48 208
WIRE 96 256 -48 256
WIRE 224 256 96 256
WIRE 96 288 96 256
WIRE -224 352 -224 16
SYMBOL res -64 112 R0
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL voltage -400 -64 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL res 208 -176 R0
SYMATTR InstName R2
SYMATTR Value 1.5k
SYMBOL cap 416 -48 R0
SYMATTR InstName C2
SYMATTR Value 10n
FLAG 96 288 0
FLAG -400 112 0
* Z:\home\khalils\Downloads\files\data\raw_asc\AD8682.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\AD8682.asy)
V1 +V 0 15
R1 N001 0 10K
XU1 IN N001 +V -V OUT AD8682 ;pnba 1)2)3)4)5
Vin IN 0 SINE(0 1 10K)
Rload OUT 0 10K
R2 OUT N001 10K
V2 -V 0 -15
.tran 1m
.lib AD8682.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 144 -1152 144 -1168
WIRE 256 -1152 256 -1168
WIRE 528 -1120 528 -1216
WIRE 544 -1120 528 -1120
WIRE 640 -1104 640 -1216
WIRE 640 -1104 608 -1104
WIRE 752 -1104 640 -1104
WIRE 544 -1088 432 -1088
WIRE 752 -1088 752 -1104
WIRE 432 -1072 432 -1088
WIRE 144 -1056 144 -1072
WIRE 256 -1056 256 -1072
WIRE 752 -992 752 -1008
WIRE 432 -976 432 -992
SYMBOL voltage 144 -1168 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL res 736 -1104 R0
SYMATTR InstName Rload
SYMATTR Value 10K
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 256 -1168 R0
WINDOW 123 24 132 Left 2
WINDOW 39 24 114 Left 2
SYMATTR InstName V2
SYMATTR Value -15
SYMBOL AD8682 576 -1168 R0
SYMATTR InstName U1
SYMBOL voltage 432 -1088 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName Vin
SYMATTR Value SINE(0 1 10K)
SYMBOL res 640 -1232 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10K
FLAG 144 -1168 +V
FLAG 144 -1056 0
FLAG 432 -976 0
FLAG 752 -1104 OUT
FLAG 432 -1088 IN
FLAG 576 -1136 +V
FLAG 256 -1168 -V
FLAG 576 -1072 -V
FLAG 416 -1216 0
FLAG 752 -992 0
FLAG 256 -1056 0
TEXT 752 -952 Left 2 !.tran 1m
* Z:\home\khalils\Downloads\files\data\raw_asc\18c8843dbde9_diodechar_01_02_03_trans_vs_vr_vc.asc
* Generated by LTspice 26.0.1 for Windows.
* Circuit 1
* Circuit 2
R1 N002 0 1k
D1 N001 N002 1N4001
V2 N003 0 SINE(0 2 1k)
D2 N003 N004 1N4001
C1 N004 0 1n
V1 N001 0 SINE(0 2 1k)
R2 N004 0 1k
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 0 3m 0 0.01m
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 112 -496 -16 -496
WIRE 288 -496 176 -496
WIRE -16 -416 -16 -496
WIRE 288 -416 288 -496
WIRE -16 -272 -16 -336
WIRE 144 -272 -16 -272
WIRE 288 -272 288 -336
WIRE 288 -272 144 -272
WIRE 144 -256 144 -272
WIRE 112 48 -16 48
WIRE 288 48 176 48
WIRE 480 48 288 48
WIRE -16 128 -16 48
WIRE 288 128 288 48
WIRE 480 128 480 48
WIRE -16 272 -16 208
WIRE 144 272 -16 272
WIRE 288 272 288 208
WIRE 288 272 144 272
WIRE 480 272 480 192
WIRE 480 272 288 272
WIRE 144 288 144 272
RECTANGLE Normal 608 384 -128 -48 2
RECTANGLE Normal 608 -160 -128 -592 2
SYMBOL res 272 -432 R0
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL diode 112 -480 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value 1N4001
SYMBOL res 272 112 R0
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL voltage -16 -432 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value SINE(0 2 1k)
SYMBOL cap 464 128 R0
SYMATTR InstName C1
SYMATTR Value 1n
SYMBOL diode 112 64 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D2
SYMATTR Value 1N4001
SYMBOL voltage -16 112 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value SINE(0 2 1k)
FLAG 144 288 0
FLAG 144 -256 0
TEXT -112 -568 Left 2 ;Circuit 1
TEXT -112 -16 Left 2 ;Circuit 2
TEXT -128 392 Left 2 !.tran 0 3m 0 0.01m
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC1157.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\LTC1157.asy)
V3 N005 0 PULSE(0 3 0 100n 100n 2.5m 5m)
Rload1 N007 0 10
XU1 MP_01 N003 0 N002 N005 N001 N006 LTC1157 ;pnba )G1)GND)IN1)IN2)Vs)G2
V2 N002 0 PULSE(0 3 0 100n 100n 2.5m 5m)
MQ1 N001 N003 N004 N004 Si4838DY
Rload2 N004 0 10
MQ2 N001 N006 N007 N007 Si4838DY
V1 N001 0 3.3
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 20m startup
.lib LTC1157.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 144 16 -64 16
WIRE 352 16 144 16
WIRE 544 16 352 16
WIRE -64 32 -64 16
WIRE 544 96 544 16
WIRE -64 128 -64 112
WIRE 144 128 144 16
WIRE -208 176 -256 176
WIRE 32 176 -128 176
WIRE 496 176 256 176
WIRE 352 192 352 16
WIRE 544 208 544 192
WIRE -208 272 -256 272
WIRE 32 272 -128 272
WIRE 304 272 256 272
WIRE 352 304 352 288
WIRE 544 304 544 288
WIRE 144 336 144 320
WIRE 352 400 352 384
SYMBOL res 528 192 R0
SYMATTR InstName Rload2
SYMATTR Value 10
SYMBOL PowerProducts\\LTC1157 144 224 R0
SYMATTR InstName U1
SYMBOL voltage -112 176 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName V2
SYMATTR Value PULSE(0 3 0 100n 100n 2.5m 5m)
SYMBOL res 336 288 R0
SYMATTR InstName Rload1
SYMATTR Value 10
SYMBOL nmos 304 192 R0
SYMATTR InstName Q2
SYMATTR Value Si4838DY
SYMBOL voltage -64 16 R0
SYMATTR InstName V1
SYMATTR Value 3.3
SYMBOL voltage -112 272 R90
WINDOW 0 -14 8 VBottom 2
WINDOW 3 38 58 VTop 2
SYMATTR InstName V3
SYMATTR Value PULSE(0 3 0 100n 100n 2.5m 5m)
SYMBOL nmos 496 96 R0
SYMATTR InstName Q1
SYMATTR Value Si4838DY
FLAG -64 128 0
FLAG 144 336 0
FLAG -256 176 0
FLAG -256 272 0
FLAG 352 400 0
FLAG 544 304 0
TEXT 32 392 Left 2 !.tran 20m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\2664fa12ae0b_AD5683R.asc
* Generated by LTspice 26.0.1 for Windows.
* .dc I1 0 40m 1m
* .ac oct 100 1u 1G
* Library below included based on ModelFile attribute of instance XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\DAC\AD5683R.asy)
V1 Vdd 0 5
XU2 vDAC Vdd 0 vOUT AD5683R Gain=2 ;pnba Vdac)Vdd)GND)Vout
I1 0 0 1m AC 1
Vdac1 NC_02 0 1.25
CLOAD NC_01 0 10n
Vdac vDAC 0 PWL(0 0.625 10u 0.625 +1u 1.875)
.tran 200u
.lib AD5683R.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 952 680
WIRE -240 -208 -240 -240
WIRE -240 -80 -240 -128
WIRE -240 -32 -240 -80
WIRE -800 112 -1008 112
WIRE -528 112 -800 112
WIRE -368 112 -528 112
WIRE 192 112 0 112
WIRE 464 112 192 112
WIRE -800 144 -800 112
WIRE -1008 256 -1008 224
WIRE -800 256 -800 224
WIRE 272 256 272 224
WIRE 464 256 464 240
WIRE 464 256 272 256
WIRE 272 272 272 256
WIRE -240 288 -240 256
SYMBOL voltage -1008 128 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Vdac1
SYMATTR Value 1.25
SYMBOL current 464 160 R0
WINDOW 123 24 108 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 1
SYMATTR InstName I1
SYMATTR Value 1m
SYMBOL cap 256 160 R0
SYMATTR InstName CLOAD
SYMATTR Value 10n
SYMBOL AD5683R -208 112 R0
SYMATTR InstName U2
SYMBOL voltage -800 128 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Vdac
SYMATTR Value PWL(0 0.625 10u 0.625 +1u 1.875)
SYMBOL voltage -240 -112 M180
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 V1
SYMATTR Value 5
FLAG 192 112 vOUT
FLAG -800 256 0
FLAG -528 112 vDAC
FLAG -240 -240 0
FLAG -240 288 0
FLAG 272 272 0
FLAG -240 -80 Vdd
FLAG -1008 256 0
FLAG 464 160 0
TEXT -160 312 Left 2 !.tran 200u
TEXT -160 360 Left 2 ;.dc I1 0 40m 1m
TEXT -160 408 Left 2 ;.ac oct 100 1u 1G
* Z:\home\khalils\Downloads\files\data\raw_asc\083b5bdf29c2_Diff_Schmitt.asc
* Generated by LTspice 26.0.1 for Windows.
* Diff. Sch,itt-Trigger\nPlot V(vp,vn) and V(out)\n \nThreshholds Vt+Vh, Vt-Vh\nExample Vt=1, Vh=0.4\nOutput switches to high at (vp-vn) = 1V+0.4V = 1.4V\nOutput switches to low at (vp-vn) = 1V-0.4V = 0.6V\n \nRightClick on the symbol body to see where vt and vh is set\nAny of the attribute lines Value, Value2, SpiceLine, SpiceLine2 is ok.
A1 VP VN 0 0 0 0 out 0 SCHMITT vt=1 vh=0.4
V3 VP 0 SINE(0 1 1kHz) AC 1
V1 VN 0 SINE(0 1 1kHz 0 0 180) AC 1
.tran 0 2m 0 1u
.options plotwinsize=0
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1208 904
WIRE -272 224 -272 192
WIRE -272 336 -272 304
WIRE -272 416 -272 384
WIRE -272 528 -272 496
WIRE -256 192 -272 192
WIRE -256 384 -272 384
WIRE 32 384 -256 384
WIRE 32 384 32 224
WIRE 112 192 -256 192
WIRE 112 224 32 224
WIRE 240 192 176 192
IOPIN 240 192 Out
SYMBOL voltage -272 400 R0
WINDOW 3 39 57 Left 0
WINDOW 123 39 83 Left 0
WINDOW 39 24 44 Left 0
SYMATTR Value SINE(0 1 1kHz 0 0 180)
SYMATTR Value2 AC 1
SYMATTR InstName V1
SYMBOL voltage -272 208 R0
WINDOW 3 39 57 Left 0
WINDOW 123 39 83 Left 0
WINDOW 39 24 44 Left 0
SYMATTR Value SINE(0 1 1kHz)
SYMATTR Value2 AC 1
SYMATTR InstName V3
SYMBOL Digital\\diffschmitt 112 144 R0
WINDOW 123 2 118 Left 0
SYMATTR InstName A1
SYMATTR Value2 vt=1 vh=0.4
FLAG -256 192 VP
FLAG -272 336 0
FLAG -256 384 VN
FLAG -272 528 0
FLAG 240 192 out
TEXT -280 56 Left 0 !.tran 0 2m 0 1u
TEXT -280 80 Left 0 !.options plotwinsize=0
TEXT -272 -240 Left 0 ;Diff. Sch,itt-Trigger\nPlot V(vp,vn)  and V(out)\n \nThreshholds Vt+Vh, Vt-Vh\nExample Vt=1, Vh=0.4\nOutput switches to high at (vp-vn) = 1V+0.4V = 1.4V\nOutput switches to low at (vp-vn) = 1V-0.4V = 0.6V\n \nRightClick on the symbol body to see where vt and vh is set\nAny of the attribute lines Value, Value2, SpiceLine, SpiceLine2 is ok.
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC1872.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\LTC1872.asy)
R2 N005 0 80.5K
C1 OUT 0 44 Rser=.1
D1 N004 OUT MBRS340
V1 IN 0 3.3
XU1 N003 0 N005 N001 IN N006 LTC1872 ;pnba Ith/Run)GND)FB)Sense-)Vin)Ngate
R3 OUT N005 442K
MQ1 N004 N006 0 0 FDS6680A
Rload OUT 0 5
L1 N001 N004 4.7 Rser=0.02 Rpar=5000
R1 IN N001 .03
R4 N002 0 10K
C3 N003 N002 220p
.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 500u startup
.lib LTC1872.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2216 1092
WIRE 1312 448 1056 448
WIRE 1552 448 1312 448
WIRE 1056 464 1056 448
WIRE 1552 464 1552 448
WIRE 1056 560 1056 544
WIRE 1552 560 1552 544
WIRE 1552 560 1488 560
WIRE 1552 576 1552 560
WIRE 1312 592 1312 448
WIRE 992 672 976 672
WIRE 1088 672 1072 672
WIRE 1168 672 1152 672
WIRE 1488 672 1488 560
WIRE 1488 672 1456 672
WIRE 1552 672 1552 656
WIRE 1632 672 1552 672
WIRE 1760 672 1696 672
WIRE 1872 672 1760 672
WIRE 1968 672 1872 672
WIRE 1552 688 1552 672
WIRE 1872 688 1872 672
WIRE 1968 688 1968 672
WIRE 1760 704 1760 672
WIRE 1168 768 1136 768
WIRE 1504 768 1456 768
WIRE 1872 784 1872 752
WIRE 1968 784 1968 768
WIRE 1552 800 1552 784
WIRE 1760 800 1760 784
WIRE 1760 800 1664 800
WIRE 1760 816 1760 800
WIRE 1312 864 1312 848
WIRE 1136 896 1136 768
WIRE 1664 896 1664 800
WIRE 1664 896 1136 896
WIRE 1760 912 1760 896
SYMBOL res 1744 688 R0
SYMATTR InstName R3
SYMATTR Value 442K
SYMBOL cap 1152 656 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value 220p
SYMBOL ind 1536 560 R0
SYMATTR InstName L1
SYMATTR Value 4.7
SYMATTR SpiceLine Rser=0.02 Rpar=5000
SYMBOL res 1952 672 R0
SYMATTR InstName Rload
SYMATTR Value 5
SYMBOL VOLTAGE 1056 448 R0
SYMATTR InstName V1
SYMATTR Value 3.3
SYMBOL polcap 1856 688 R0
SYMATTR SpiceLine Rser=.1
SYMATTR InstName C1
SYMATTR Value 44
SYMBOL POWERPRODUCTS\\LTC1872 1312 720 R0
WINDOW 3 -45 62 Left 2
SYMATTR InstName U1
SYMBOL NMOS 1504 688 R0
SYMATTR InstName Q1
SYMATTR Value FDS6680A
SYMBOL schottky 1632 688 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value MBRS340
SYMBOL res 1088 656 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 10K
SYMBOL res 1744 800 R0
SYMATTR InstName R2
SYMATTR Value 80.5K
SYMBOL RES 1536 448 R0
SYMATTR InstName R1
SYMATTR Value .03
FLAG 1968 672 OUT
FLAG 1056 560 0
FLAG 1872 784 0
FLAG 1968 784 0
FLAG 1760 912 0
FLAG 976 672 0
FLAG 1552 800 0
FLAG 1312 864 0
FLAG 1056 448 IN
TEXT 1864 840 Left 2 !.tran 500u startup
* Z:\home\khalils\Downloads\files\data\raw_asc\2f52d76be251_ej2.asc
* Generated by LTspice 26.0.1 for Windows.
L3 N003 0 1 Rser=0
C3 N001 N003 0.333
C2 N001 N002 2
C1 N001 Vi 1
V1 Vi 0 AC 1
L2 N002 0 0.5 Rser=0
.ac dec 1000 1m 10
.net V(vi) V1
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 96 64 -16 64
WIRE 240 64 160 64
WIRE 400 64 240 64
WIRE 240 96 240 64
WIRE 400 96 400 64
WIRE -16 144 -16 64
WIRE 240 192 240 160
WIRE 400 192 400 160
WIRE -16 304 -16 224
WIRE 240 304 240 272
WIRE 240 304 -16 304
WIRE 400 304 400 272
WIRE 400 304 240 304
WIRE -16 320 -16 304
SYMBOL voltage -16 128 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value ""
SYMATTR Value2 AC 1
SYMBOL cap 384 96 R0
SYMATTR InstName C3
SYMATTR Value 0.333
SYMBOL cap 160 48 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL cap 224 96 R0
SYMATTR InstName C2
SYMATTR Value 2
SYMBOL ind 224 176 R0
SYMATTR InstName L2
SYMATTR Value 0.5
SYMATTR SpiceLine Rser=0
SYMBOL ind 384 176 R0
SYMATTR InstName L3
SYMATTR Value 1
SYMATTR SpiceLine Rser=0
FLAG -16 320 0
FLAG -16 64 Vi
TEXT -320 240 Left 2 !.ac dec 1000 1m 10
TEXT -320 280 Left 2 !.net V(vi) V1
* Z:\home\khalils\Downloads\files\data\raw_asc\7342f047cc65_6101.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\LTC6101.asy)
Iload N001 0 0
R1 N002 N001 .1
XU1 OUT 0 N003 N001 N002 LTC6101 ;pnba OUT)VEE)IN-)IN+)VCC
R2 N002 N003 100
V1 N002 0 12
R3 OUT 0 5K
.dc Iload 0 1 0.01
.lib LTC3.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -64 96 -192 96
WIRE 64 96 -64 96
WIRE 256 96 144 96
WIRE 336 96 256 96
WIRE 400 96 336 96
WIRE 256 112 256 96
WIRE 400 112 400 96
WIRE -192 128 -192 96
WIRE -64 208 -64 96
WIRE -32 208 -64 208
WIRE 256 208 256 192
WIRE 256 208 224 208
WIRE 400 224 400 192
WIRE -192 240 -192 208
WIRE -32 320 -64 320
WIRE 336 320 336 96
WIRE 336 320 224 320
WIRE -64 352 -64 320
WIRE 272 480 224 480
WIRE 272 496 272 480
WIRE 272 592 272 576
SYMBOL current -192 128 R0
WINDOW 123 24 116 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Iload
SYMATTR Value 0
SYMBOL res 160 80 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R1
SYMATTR Value .1
SYMBOL LTC6101 96 336 R0
SYMATTR InstName U1
SYMBOL res 256 480 R0
SYMATTR InstName R3
SYMATTR Value 5K
SYMBOL res 240 96 R0
SYMATTR InstName R2
SYMATTR Value 100
SYMBOL voltage 400 96 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 12
FLAG 400 224 0
FLAG -192 240 0
FLAG -64 352 0
FLAG 272 592 0
FLAG 272 480 OUT
TEXT 352 472 Left 0 !.dc Iload 0 1 0.01
* Z:\home\khalils\Downloads\files\data\raw_asc\LT3493.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\LT3493.asy)
Rload OUT 0 3
D1 0 N002 MBRS340
L1 N002 OUT 20
R2 0 N003 10K
C2 OUT 0 10
C1 N001 N002 .1
XU1 N003 0 N001 N002 IN IN LT3493 ;pnba FB)GND)Boost)SW)Vin)_SHDN
R1 OUT N003 32.4K
V1 IN 0 6
C3 OUT N003 22p
D2 OUT N001 BAT54
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 250u startup
.lib LT3493.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 3836 1412
WIRE 2752 880 2576 880
WIRE 2848 880 2752 880
WIRE 2944 880 2912 880
WIRE 2752 896 2752 880
WIRE 2576 912 2576 880
WIRE 2416 976 2304 976
WIRE 2448 976 2416 976
WIRE 2752 976 2752 960
WIRE 2752 976 2704 976
WIRE 2816 976 2752 976
WIRE 2944 976 2944 880
WIRE 2944 976 2896 976
WIRE 3056 976 2944 976
WIRE 3136 976 3056 976
WIRE 3216 976 3136 976
WIRE 2304 992 2304 976
WIRE 2752 992 2752 976
WIRE 2944 992 2944 976
WIRE 3136 992 3136 976
WIRE 3216 992 3216 976
WIRE 3056 1008 3056 976
WIRE 2752 1072 2752 1056
WIRE 2304 1088 2304 1072
WIRE 3136 1088 3136 1056
WIRE 3216 1088 3216 1072
WIRE 2416 1104 2416 976
WIRE 2448 1104 2416 1104
WIRE 2944 1104 2944 1072
WIRE 2944 1104 2704 1104
WIRE 3056 1104 3056 1072
WIRE 3056 1104 2944 1104
WIRE 2944 1120 2944 1104
WIRE 2576 1184 2576 1168
WIRE 2944 1216 2944 1200
SYMBOL res 2928 1216 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL schottky 2736 1056 M180
WINDOW 0 41 52 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value MBRS340
SYMBOL cap 2736 896 R0
WINDOW 3 32 44 Left 2
SYMATTR Value .1
SYMATTR InstName C1
SYMBOL cap 3120 992 R0
SYMATTR InstName C2
SYMATTR Value 10
SYMBOL VOLTAGE 2304 976 R0
WINDOW 0 27 22 Left 2
WINDOW 3 29 98 Left 2
SYMATTR InstName V1
SYMATTR Value 6
SYMBOL ind 2800 992 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 20
SYMBOL PowerProducts\\LT3493 2576 1040 R0
SYMATTR InstName U1
SYMBOL RES 2928 976 R0
SYMATTR InstName R1
SYMATTR Value 32.4K
SYMBOL res 3200 976 R0
SYMATTR InstName Rload
SYMATTR Value 3
SYMBOL schottky 2912 864 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D2
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL cap 3040 1008 R0
SYMATTR InstName C3
SYMATTR Value 22p
FLAG 2304 1088 0
FLAG 2576 1184 0
FLAG 2944 1216 0
FLAG 2752 1072 0
FLAG 3136 1088 0
FLAG 3216 1088 0
FLAG 3216 976 OUT
FLAG 2304 976 IN
TEXT 3064 1192 Left 2 !.tran 250u startup