Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC7150S.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\LTC7150S.asy)
R3 N005 0 10K
R4 OUT N001 10K
XU1 N006 NC_01 0 N005 N002 N007 IN N001 N003 0 N004 0 NC_02 0 IN IN LTC7150S ;pnba Rt)PhMode)Vout-)FB)Track/SS)Ith)Run)Pgood)INTVcc)PGND)SW)SGND)CLKOUT)SYNC/Mode)SVin)PVin
C2 N003 0 4.7
R1 N006 0 162K
C1 N002 0 10n
C5 OUT 0 100
C4 N007 0 1n Rser=10K
R2 OUT N005 10K
Rload OUT 0 1
L1 N004 OUT .25
V1 IN 0 12
.tran 2m startup
.softstart 0 ; turn off internal softstart
.lib LTC7150S.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1304 680
WIRE 48 -64 -96 -64
WIRE 176 -64 48 -64
WIRE 304 -64 176 -64
WIRE -96 -48 -96 -64
WIRE 176 -48 176 -64
WIRE 304 -48 304 -64
WIRE 48 0 48 -64
WIRE 64 0 48 0
WIRE 544 0 416 0
WIRE 720 0 624 0
WIRE -96 48 -96 32
WIRE -16 80 -32 80
WIRE 64 80 48 80
WIRE 432 80 416 80
WIRE 512 80 496 80
WIRE 64 160 48 160
WIRE 464 160 416 160
WIRE 672 160 544 160
WIRE 720 160 720 0
WIRE 720 160 672 160
WIRE 816 160 720 160
WIRE 816 208 816 160
WIRE 720 224 720 160
WIRE 528 240 416 240
WIRE 576 240 528 240
WIRE 672 240 672 160
WIRE 672 240 656 240
WIRE 528 256 528 240
WIRE 480 320 416 320
WIRE 480 352 480 320
WIRE 528 352 528 336
WIRE 528 352 480 352
WIRE 720 352 720 288
WIRE 720 352 528 352
WIRE 816 352 816 288
WIRE 816 352 720 352
WIRE 816 368 816 352
WIRE -32 400 -48 400
WIRE 64 400 48 400
WIRE 448 400 416 400
WIRE 448 416 448 400
WIRE 176 464 176 448
WIRE 304 464 304 448
WIRE 448 496 448 480
SYMBOL LTC7150S 240 208 R0
SYMATTR InstName U1
SYMBOL cap 704 224 R0
SYMATTR InstName C5
SYMATTR Value 100
SYMBOL cap 432 416 R0
WINDOW 3 41 32 Left 2
WINDOW 39 23 57 Left 2
SYMATTR Value 1n
SYMATTR SpiceLine Rser=10K
SYMATTR InstName C4
SYMBOL res 800 192 R0
SYMATTR InstName Rload
SYMATTR Value 1
SYMBOL res 512 240 R0
SYMATTR InstName R3
SYMATTR Value 10K
SYMBOL cap 48 64 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 10n
SYMBOL cap 432 96 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName C2
SYMATTR Value 4.7
SYMBOL res 640 -16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 10K
SYMBOL ind 448 176 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value .25
SYMBOL res 64 384 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 162K
SYMBOL res 672 224 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL voltage -96 -64 R0
SYMATTR InstName V1
SYMATTR Value 12
FLAG -96 48 0
FLAG 176 464 0
FLAG 304 464 0
FLAG -48 400 0
FLAG -32 80 0
FLAG 512 80 0
FLAG 448 496 0
FLAG 816 368 0
FLAG -96 -64 IN
FLAG 816 160 OUT
FLAG 48 160 0
TEXT 624 456 Left 2 !.tran 2m startup\n.softstart 0 ; turn off internal softstart
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1175-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\LT1175-5.asy)
Rload 0 OUT 100
XU1 IN IN OUT OUT 0 N001 IN LT1175-5 ;pnba Vin)Ilim2)Output)Sense)GND)_SHDN)Ilim4
C1 0 OUT 1 Rser=1
V1 IN 0 -5
.tran 1m startup
.lib LT1175-5.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1236 680
WIRE 144 80 144 64
WIRE 304 80 304 64
WIRE 48 144 -80 144
WIRE 80 144 48 144
WIRE 400 144 368 144
WIRE 464 144 400 144
WIRE 576 144 464 144
WIRE -80 160 -80 144
WIRE 576 160 576 144
WIRE 464 176 464 144
WIRE 48 240 48 144
WIRE 80 240 48 240
WIRE -80 256 -80 240
WIRE 464 256 464 240
WIRE 576 256 576 240
WIRE 48 336 48 240
WIRE 80 336 48 336
WIRE 400 336 400 144
WIRE 400 336 368 336
SYMBOL PowerProducts\\LT1175-5 224 240 R0
SYMATTR InstName U1
SYMBOL voltage -80 144 R0
SYMATTR InstName V1
SYMATTR Value -5
SYMBOL res 560 256 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName Rload
SYMATTR Value 100
SYMBOL cap 448 240 M180
WINDOW 0 24 56 Left 2
WINDOW 3 24 8 Left 2
SYMATTR InstName C1
SYMATTR Value 1
SYMATTR SpiceLine Rser=1
FLAG 304 64 0
FLAG -80 256 0
FLAG 576 256 0
FLAG 464 256 0
FLAG 576 144 OUT
FLAG -80 144 IN
TEXT 424 384 Left 2 !.tran 1m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\27f1d6692b92__Fig3_28_MSD.asc
* Generated by LTspice 26.0.1 for Windows.
* Note that LTspice doesn't like using ^ for exponents but rather uses **.
Bnoise1 rcfilt 0 V=1/sqrt(1+(v(f)/1.592E6)**2)
Bnoise digfilt 0 V=0.1/sqrt((cos(2*pi*v(f)/100E6)-0.9)**2+(sin(2*pi*v(f)/100E6))**2)
Rdig 0 digfilt 100G
Itime f 0 -1
Rrc 0 rcfilt 100G
Ctime f 0 1
Rtime f 0 100G
.tran 100k 200MEG 1000 UIC
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2740 696
WIRE 608 -448 608 -480
WIRE 608 -336 608 -368
WIRE 720 -480 608 -480
WIRE 768 -480 720 -480
WIRE 768 -448 768 -480
WIRE 768 -336 608 -336
WIRE 768 -336 768 -384
WIRE 880 -480 768 -480
WIRE 880 -448 880 -480
WIRE 880 -336 768 -336
WIRE 880 -336 880 -368
WIRE 880 -304 880 -336
WIRE 1088 -688 1088 -720
WIRE 1088 -544 1088 -608
WIRE 1088 -448 1088 -480
WIRE 1088 -304 1088 -368
WIRE 1120 -720 1088 -720
WIRE 1120 -480 1088 -480
WIRE 1200 -720 1120 -720
WIRE 1200 -480 1120 -480
WIRE 1344 -720 1280 -720
WIRE 1344 -688 1344 -720
WIRE 1344 -480 1280 -480
WIRE 1344 -448 1344 -480
SYMBOL res 1296 -496 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName Rdig
SYMATTR Value 100G
SYMBOL current 608 -448 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Itime
SYMATTR Value -1
SYMBOL bv 1088 -464 R0
SYMATTR InstName Bnoise
SYMATTR Value V=0.1/sqrt((cos(2*pi*v(f)/100E6)-0.9)**2+(sin(2*pi*v(f)/100E6))**2)
SYMBOL bv 1088 -704 R0
SYMATTR InstName Bnoise1
SYMATTR Value V=1/sqrt(1+(v(f)/1.592E6)**2)
SYMBOL res 864 -464 R0
SYMATTR InstName Rtime
SYMATTR Value 100G
SYMBOL cap 752 -448 R0
SYMATTR InstName Ctime
SYMATTR Value 1
SYMBOL res 1296 -736 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName Rrc
SYMATTR Value 100G
FLAG 720 -480 f
FLAG 880 -304 0
FLAG 1088 -304 0
FLAG 1344 -448 0
FLAG 1120 -480 digfilt
FLAG 1088 -544 0
FLAG 1344 -688 0
FLAG 1120 -720 rcfilt
TEXT 608 -544 Left 0 !.tran 100k 200MEG 1000 UIC
TEXT 592 -256 Left 0 ;Note that LTspice doesn't like using ^ for exponents but rather uses **.
* Z:\home\khalils\Downloads\files\data\raw_asc\0e0a9eb6f6ce_AD8226.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\AD8226.asy)
V1 +V 0 15
XU1 N004 N002 N003 N001 -V N005 OUT +V AD8226 ;pnba IN-)RG1)RG2)IN+)VEE)REF)OUT)VCC
Vref N005 0 .5
Vin N001 N004 SINE(0 100m 10K)
Rload OUT 0 10K
R1 N002 N003 5.49K
V2 -V 0 -15
Vcm N004 0 1
.tran 1m
.lib ADI1.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1240 700
WIRE 640 -1264 640 -1280
WIRE 752 -1264 752 -1280
WIRE 464 -1184 96 -1184
WIRE 640 -1168 640 -1184
WIRE 752 -1168 752 -1184
WIRE 96 -1152 96 -1184
WIRE 464 -1152 368 -1152
WIRE 752 -1104 640 -1104
WIRE 752 -1088 752 -1104
WIRE 368 -1056 368 -1072
WIRE 464 -1056 368 -1056
WIRE 96 -1024 96 -1072
WIRE 464 -1024 96 -1024
WIRE 576 -1024 576 -1040
WIRE 96 -1008 96 -1024
WIRE 752 -992 752 -1008
WIRE 576 -928 576 -944
WIRE 96 -912 96 -928
SYMBOL voltage 640 -1280 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL voltage 576 -1040 R0
WINDOW 123 24 132 Left 2
WINDOW 39 24 114 Left 2
SYMATTR InstName Vref
SYMATTR Value .5
SYMBOL voltage 96 -1024 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
WINDOW 0 35 39 Left 2
SYMATTR InstName Vcm
SYMATTR Value 1
SYMBOL voltage 752 -1280 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName V2
SYMATTR Value -15
SYMBOL res 352 -1168 R0
SYMATTR InstName R1
SYMATTR Value 5.49K
SYMBOL res 736 -1104 R0
SYMATTR InstName Rload
SYMATTR Value 10K
SYMBOL AD8226 496 -1104 R0
SYMATTR InstName U1
SYMBOL voltage 96 -1168 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName Vin
SYMATTR Value SINE(0 100m 10K)
FLAG 640 -1280 +V
FLAG 640 -1168 0
FLAG 752 -1104 OUT
FLAG 496 -1200 +V
FLAG 752 -1280 -V
FLAG 496 -1008 -V
FLAG 752 -992 0
FLAG 752 -1168 0
FLAG 96 -912 0
FLAG 576 -928 0
TEXT 696 -920 Left 2 !.tran 1m
* Z:\home\khalils\Downloads\files\data\raw_asc\741c054c335d_step.asc
* Generated by LTspice 26.0.1 for Windows.
R2 N002 0 {lower}
V1 N001 0 1
R1 N001 N002 {upper}
.step param upper list 1k 10k 100k
.step param lower 1k 10k 1k
.tran 1
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 880 680
WIRE 288 -16 48 -16
WIRE 288 48 288 -16
WIRE 48 160 48 -16
WIRE 288 224 288 128
WIRE 48 384 48 240
WIRE 288 400 288 304
SYMBOL res 272 208 R0
SYMATTR InstName R2
SYMATTR Value {lower}
SYMBOL voltage 48 144 R0
SYMATTR InstName V1
SYMATTR Value 1
SYMBOL res 272 32 R0
SYMATTR InstName R1
SYMATTR Value {upper}
FLAG 288 400 0
FLAG 48 384 0
TEXT 40 -192 Left 2 !.step param upper list 1k 10k 100k
TEXT 40 -160 Left 2 !.step param lower  1k 10k 1k
TEXT 8 424 Left 2 !.tran 1
* Z:\home\khalils\Downloads\files\data\raw_asc\LTM8032.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\LTM8032.asy)
R1 N002 0 44.2K
R3 OUT N006 100K
R2 N005 0 47.2K
V1 IN 0 20
C1 OUT 0 10
XU1 0 IN N005 N004 IN N006 N002 N003 OUT N003 N001 LTM8032 ;pnba GND)Vin)Adj)Share)Run/SS)Pgood)Rt)BIAS)Out)AUX)Fin
Rload OUT 0 5
.tran 500u startup
.lib LTM8032.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 80 -32 -96 -32
WIRE 176 -32 80 -32
WIRE -96 -16 -96 -32
WIRE 176 -16 176 -32
WIRE 304 -16 304 -32
WIRE 80 48 80 -32
WIRE 96 48 80 48
WIRE 448 48 384 48
WIRE 560 48 448 48
WIRE 656 48 560 48
WIRE 560 64 560 48
WIRE 656 64 656 48
WIRE -96 80 -96 64
WIRE 448 96 448 48
WIRE 0 112 -16 112
WIRE 96 112 80 112
WIRE 400 112 384 112
WIRE 560 160 560 128
WIRE 656 160 656 144
WIRE 96 176 80 176
WIRE 400 176 400 112
WIRE 400 176 384 176
WIRE 0 240 -16 240
WIRE 96 240 80 240
WIRE 448 240 448 176
WIRE 448 240 384 240
WIRE 240 304 240 288
SYMBOL res 96 224 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 47.2K
SYMBOL voltage -96 -32 R0
SYMATTR InstName V1
SYMATTR Value 20
SYMBOL cap 544 64 R0
SYMATTR InstName C1
SYMATTR Value 10
SYMBOL res 96 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 44.2K
SYMBOL res 432 80 R0
SYMATTR InstName R3
SYMATTR Value 100K
SYMBOL PowerProducts\\LTM8032 240 144 R0
SYMATTR InstName U1
SYMBOL res 640 48 R0
SYMATTR InstName Rload
SYMATTR Value 5
FLAG -16 112 0
FLAG -16 240 0
FLAG -96 80 0
FLAG 240 304 0
FLAG 560 160 0
FLAG 656 160 0
FLAG -96 -32 IN
FLAG 656 48 OUT
TEXT 496 272 Left 2 !.tran 500u startup
* Z:\home\khalils\Downloads\files\data\raw_asc\6091219c02e2_TS7_1.asc
* Generated by LTspice 26.0.1 for Windows.
R3 0 V2 {R}
R2 V2 N001 {R}
V1 V1 0 AC 1
R1 N001 V1 {R}
C1 V2 V1 {C}
L1 N001 0 {L}
.param R=1 L=1 C=L/R**2
.ac dec 10k 1 1MEG
.net I(R3) V1
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 904 680
WIRE 160 0 48 0
WIRE 336 0 224 0
WIRE 48 112 48 0
WIRE 48 112 -16 112
WIRE 64 112 48 112
WIRE 192 112 144 112
WIRE 240 112 192 112
WIRE 336 112 336 0
WIRE 336 112 320 112
WIRE 400 112 336 112
WIRE -16 144 -16 112
WIRE 192 144 192 112
WIRE 400 160 400 112
WIRE 192 288 192 224
WIRE 400 288 400 240
WIRE 400 288 192 288
WIRE -16 304 -16 224
WIRE 400 304 400 288
SYMBOL res 416 256 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R3
SYMATTR Value {R}
SYMBOL res 160 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value {R}
SYMBOL voltage -16 128 R0
WINDOW 123 24 124 Left 2
WINDOW 39 24 152 Left 2
SYMATTR InstName V1
SYMATTR Value ""
SYMATTR Value2 AC 1
SYMBOL res 336 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value {R}
SYMBOL cap 224 -16 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value {C}
SYMBOL ind 176 128 R0
SYMATTR InstName L1
SYMATTR Value {L}
FLAG -16 304 0
FLAG 400 304 0
FLAG 400 112 V2
FLAG -16 112 V1
TEXT -40 336 Left 2 !.param R=1 L=1 C=L/R**2
TEXT -40 368 Left 2 !.ac dec 10k 1 1MEG
TEXT -40 400 Left 2 !.net I(R3) V1
* Z:\home\khalils\Downloads\files\data\raw_asc\ef74564d03a1_Draft10.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU3, XU4 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\UniversalOpAmp4.asy)
V2 0 N006 12V
XU4 0 N002 N001 N006 N003 level4 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 Phimargin=45 En=0 Enk=0 In=0 Ink=0 Rin=500Meg Ro=1k Ccm=1p Cdiff=2p ;pnba In+)In-)V+)V-)OUT
V1 N001 0 12V
R1 N003 N005 10k
R2 N004 N005 150k
R3 N002 N004 100k
C1 N002 N003 1
XU3 N005 0 N001 N006 N004 level4 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 Phimargin=45 En=0 Enk=0 In=0 Ink=0 Rin=500Meg Ro=1k Ccm=1p Cdiff=2p ;pnba In+)In-)V+)V-)OUT
.tran 1
.lib UniversalOpAmp4.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -464 -368 -736 -368
WIRE -224 -368 -464 -368
WIRE -224 -336 -224 -368
WIRE -480 -288 -528 -288
WIRE -384 -288 -416 -288
WIRE -736 -256 -736 -368
WIRE -464 -256 -464 -368
WIRE -768 -240 -944 -240
WIRE -640 -240 -672 -240
WIRE -528 -240 -528 -288
WIRE -528 -240 -560 -240
WIRE -496 -240 -528 -240
WIRE -224 -240 -224 -256
WIRE -112 -240 -224 -240
WIRE -672 -224 -672 -240
WIRE -672 -224 -704 -224
WIRE -384 -224 -384 -288
WIRE -384 -224 -432 -224
WIRE -768 -208 -880 -208
WIRE -496 -208 -544 -208
WIRE -224 -208 -224 -240
WIRE -944 -192 -944 -240
WIRE -112 -192 -112 -240
WIRE -544 -176 -544 -208
WIRE -880 -144 -880 -208
WIRE -848 -144 -880 -144
WIRE -672 -144 -672 -224
WIRE -672 -144 -768 -144
WIRE -736 -96 -736 -192
WIRE -464 -96 -464 -192
WIRE -464 -96 -736 -96
WIRE -224 -96 -224 -128
WIRE -224 -96 -464 -96
WIRE -880 -32 -880 -144
WIRE -608 -32 -880 -32
WIRE -384 -32 -384 -224
WIRE -384 -32 -528 -32
SYMBOL res -544 -256 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 100k
SYMBOL res -512 -48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL cap -480 -272 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 61 74 VBottom 2
SYMATTR InstName C1
SYMATTR Value 1u
SYMBOL res -752 -160 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 150k
SYMBOL voltage -224 -224 R0
SYMATTR InstName V2
SYMATTR Value 12V
SYMBOL OpAmps/UniversalOpAmp4 -464 -224 R0
SYMATTR InstName U4
SYMBOL OpAmps/UniversalOpAmp4 -736 -224 R0
SYMATTR InstName U3
SYMBOL voltage -224 -352 R0
SYMATTR InstName V1
SYMATTR Value 12V
FLAG -112 -192 0
FLAG -544 -176 0
FLAG -944 -192 0
TEXT -160 -424 Left 2 !.tran 1
* Z:\home\khalils\Downloads\files\data\raw_asc\00903b3b8ffb_high_side_current_sense.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\ADTL082.asy)
Q1 N003 N007 diff_out 0 BC817-40
R3 diff_out 0 1k
R6 N002 N003 10R
R1 N001 0 6
R2 N002 N001 10m
XU2 N003 N005 N004 0 N006 ADTL082 ;pnba In+)In-)V+)V-)OUT
V1 N002 0 28
R5 N005 N001 1k
V2 N004 0 31
R4 N006 N007 100R
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran 0 50m 0 5u
.lib ADI.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -16 32 -240 32
WIRE 16 32 -16 32
WIRE 128 32 96 32
WIRE 368 32 128 32
WIRE 432 32 368 32
WIRE 128 48 128 32
WIRE -240 80 -240 32
WIRE 320 112 176 112
WIRE 144 128 128 128
WIRE 560 144 288 144
WIRE -16 160 -16 32
WIRE 16 160 -16 160
WIRE 144 160 96 160
WIRE 288 176 288 144
WIRE 288 176 176 176
WIRE 208 192 208 144
WIRE 208 192 -112 192
WIRE 320 208 320 112
WIRE 560 208 560 144
WIRE -112 256 -112 192
WIRE 128 304 128 128
WIRE 128 304 -16 304
WIRE 368 304 368 32
WIRE -112 352 -112 336
WIRE -80 352 -112 352
WIRE 224 400 -16 400
SYMBOL res 112 32 R0
WINDOW 0 36 55 Left 2
WINDOW 3 36 34 Left 2
SYMATTR InstName R6
SYMATTR Value 10R
SYMBOL npn -80 304 R0
SYMATTR InstName Q1
SYMATTR Value BC817-40
SYMBOL res -32 384 R0
SYMATTR InstName R3
SYMATTR Value 1k
SYMBOL res -256 64 R0
SYMATTR InstName R1
SYMATTR Value 6
SYMBOL res 112 16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10m
SYMBOL OpAmps\\ADTL082 176 208 M180
WINDOW 0 20 117 Left 2
SYMATTR InstName U2
SYMBOL res -128 240 R0
WINDOW 0 -47 41 Left 2
WINDOW 3 -76 72 Left 2
SYMATTR InstName R4
SYMATTR Value 100R
SYMBOL voltage 432 16 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 28
SYMBOL voltage 560 192 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 31
SYMBOL res 112 144 R90
WINDOW 0 0 72 VBottom 2
WINDOW 3 -23 25 VTop 2
SYMATTR InstName R5
SYMATTR Value 1k
FLAG 432 112 0
FLAG 320 208 0
FLAG -240 160 0
FLAG -16 480 0
FLAG 224 400 diff_out
FLAG 560 288 0
TEXT -536 280 Left 2 !.tran 0 50m 0 5u
* Z:\home\khalils\Downloads\files\data\raw_asc\0c4244242f03_Draft102.asc
* Generated by LTspice 26.0.1 for Windows.
VIN N003 0 SINE(0 10 50)
XU1 0 N001 VCC VEE VOUT LT1001 ;pnba In+)In-)V+)V-)OUT
V2 VCC 0 5
R1 N001 N003 10k
R2 N002 N001 10k
D1 P001 N001 1N4148
D2 N001 P002 1N4148
D3 P002 N002 1N4148
D4 N002 P001 1N4148
V1 0 VEE 5
R3 NC_01 N002 10k
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
;dc V1 0 10 0.01
.tran 0.1
* Can just use a cmos op-amp running at 5V\nAnd a cmos comparator.\nGain has already been added.\nSo noise, and thermal wander of Vos. doesn't matter\nAnd the Vos is within the loop
* No. this isn't right. it is not at an input zero cross.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\OP07.asy)
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1316 680
WIRE 96 -160 -16 -160
WIRE 368 -80 368 -160
WIRE 496 -80 496 -160
WIRE 368 -32 368 -80
WIRE 368 -32 224 -32
WIRE 368 0 368 -32
WIRE 400 0 368 0
WIRE 496 0 496 -80
WIRE 496 0 480 0
WIRE 288 80 -48 80
WIRE 368 80 368 0
WIRE 384 80 368 80
WIRE 560 96 448 96
WIRE 384 112 368 112
WIRE -48 128 -48 80
FLAG -48 208 0
FLAG 96 -160 0
FLAG 560 96 VOUT
FLAG 368 112 0
FLAG -16 -240 VCC
FLAG 416 64 VCC
FLAG -16 -80 VEE
FLAG 416 128 VEE
FLAG 144 -32 VEE
SYMBOL voltage -48 112 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 24 44 Left 2
SYMATTR Value SINE(0 10 50)
SYMATTR InstName VIN
SYMBOL OpAmps\\OP07 416 32 R0
WINDOW 0 40 50 Left 2
SYMATTR InstName U1
SYMBOL voltage -16 -256 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 55 55 Left 2
SYMATTR Value 5
SYMATTR InstName V2
SYMBOL res 384 64 R90
WINDOW 0 -23 59 VBottom 2
WINDOW 3 -25 66 VTop 2
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL res 496 -16 R90
WINDOW 0 -12 -47 VBottom 2
WINDOW 3 -2 -48 VTop 2
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL diode 432 -96 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 -35 -122 VTop 2
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL diode 368 -144 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 34 179 VBottom 2
SYMATTR InstName D2
SYMATTR Value 1N4148
SYMBOL diode 432 -144 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 13 187 VBottom 2
SYMATTR InstName D3
SYMATTR Value 1N4148
SYMBOL diode 496 -96 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 -5 -113 VTop 2
SYMATTR InstName D4
SYMATTR Value 1N4148
SYMBOL voltage -16 -176 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 55 55 Left 2
SYMATTR Value 5
SYMATTR InstName V1
SYMBOL res 592 -16 R90
WINDOW 0 -12 -47 VBottom 2
WINDOW 3 -2 -48 VTop 2
SYMATTR InstName R3
SYMATTR Value 10k
TEXT -120 232 Left 2 !;dc V1 0 10 0.01
TEXT -136 368 Left 2 !.tran 0.1
TEXT 704 -160 Left 2 ;Can just use a cmos op-amp running at 5V\nAnd a cmos comparator.\nGain has already been added.\nSo  noise, and thermal wander of Vos. doesn't matter\nAnd the Vos is within the loop
TEXT 720 48 Left 2 ;No. this isn't right. it is not at an input  zero cross.
* Z:\home\khalils\Downloads\files\data\raw_asc\MAXM15064.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\MAXM15064.asy)
V1 IN 0 24
R1 OUT N001 133K
XU1 NC_01 0 NC_02 0 OUT N001 N002 IN IN MAXM15064 ;pnba LX)GND)_RESET)MODE)OUT)FB)VCC)EN/UVLO)Vin
R2 N001 0 75K
C1 N002 0 1
C2 OUT 0 10
R5 OUT 0 16.7 m=2
.tran 8m startup
.lib MAXM15064.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 0 -32 -32 -32
WIRE 64 -32 0 -32
WIRE 80 -32 64 -32
WIRE 432 -32 368 -32
WIRE 528 -32 432 -32
WIRE 576 -32 528 -32
WIRE 624 -32 576 -32
WIRE -32 -16 -32 -32
WIRE 432 -16 432 -32
WIRE 528 -16 528 -32
WIRE 624 -16 624 -32
WIRE 64 80 64 -32
WIRE 80 80 64 80
WIRE 432 80 432 64
WIRE 432 80 368 80
WIRE 528 80 528 48
WIRE 624 80 624 64
WIRE -32 96 -32 64
WIRE 432 112 432 80
WIRE 0 192 -16 192
WIRE 80 192 64 192
WIRE 432 224 432 192
WIRE 80 304 64 304
WIRE 224 368 224 352
SYMBOL MAXM15064 224 128 R0
SYMATTR InstName U1
SYMBOL voltage -32 -32 R0
SYMATTR InstName V1
SYMATTR Value 24
SYMBOL cap 64 176 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL res 416 96 R0
SYMATTR InstName R2
SYMATTR Value 75K
SYMBOL cap 512 -16 R0
SYMATTR InstName C2
SYMATTR Value 10
SYMBOL res 416 -32 R0
SYMATTR InstName R1
SYMATTR Value 133K
SYMBOL res 608 -32 R0
WINDOW 123 36 98 Left 2
SYMATTR Value2 m=2
SYMATTR InstName R5
SYMATTR Value 16.7
FLAG -32 96 0
FLAG -16 192 0
FLAG 528 80 0
FLAG 624 80 0
FLAG 0 -32 IN
FLAG 576 -32 OUT
FLAG 224 368 0
FLAG 64 304 0
FLAG 432 224 0
TEXT 144 400 Left 2 !.tran 8m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\178c3830411e_Q3.asc
* Generated by LTspice 26.0.1 for Windows.
V1 N001 0 AC 1
C1 Vout 0 100pF
R1 N001 Vout 10000
.ac dec 100 1 1000000
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 288 64 80 64
WIRE 288 176 288 144
WIRE 336 176 288 176
WIRE 288 192 288 176
WIRE 288 336 288 256
FLAG 288 336 0
FLAG 80 144 0
FLAG 336 176 Vout
SYMBOL voltage 80 48 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value ""
SYMATTR Value2 AC 1
SYMBOL cap 272 192 R0
SYMATTR InstName C1
SYMATTR Value 100pF
SYMBOL res 272 48 R0
SYMATTR InstName R1
SYMATTR Value 10000
TEXT 48 -40 Left 2 !.ac dec 100 1 1000000