Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\tmp\asc_dec_bjh7r6w2\099ad81d7881_StepperCtrl_2ph_V_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
V1 N001 0 PULSE(0 1 0 5n 5n 1E12)
V4 N004 0 0.5
R1 Rev 0 1Meg
A1 fc N001 0 0 0 1y 1x 0 MODULATOR mark=0.25 space=0
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2276 1548
WIRE -752 640 -768 640
WIRE -720 224 -768 224
WIRE -720 512 -720 224
WIRE -624 352 -624 288
WIRE -560 288 -624 288
WIRE -560 576 -560 288
WIRE -496 224 -720 224
WIRE -496 288 -560 288
WIRE -496 512 -720 512
WIRE -304 224 -352 224
WIRE -304 288 -352 288
WIRE -64 640 -752 640
WIRE -32 608 -32 384
WIRE -32 704 -32 608
WIRE 0 560 -96 560
WIRE 16 608 -32 608
WIRE 112 560 80 560
WIRE 112 560 112 448
WIRE 144 704 -32 704
WIRE 144 704 144 496
WIRE 144 736 144 704
WIRE 176 608 64 608
WIRE 176 608 176 384
WIRE 176 640 -64 640
WIRE 176 640 176 608
WIRE 288 672 -144 672
SYMBOL voltage -624 336 R0
WINDOW 3 -80 56 Left 0
WINDOW 0 8 4 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value PULSE(0 1 0 5n 5n 1E12)
SYMATTR InstName V1
SYMBOL voltage 144 720 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value 0.5
SYMBOL res -768 624 R0
WINDOW 3 34 72 Left 0
SYMATTR Value 1MEG
SYMATTR InstName R1
SYMBOL SpecialFunctions\\modulate2 -496 224 R0
WINDOW 3 -73 121 Left 0
SYMATTR Value mark=0.25 space=0
SYMATTR InstName A1
FLAG -624 432 0
FLAG -768 224 fc
FLAG -752 720 0
FLAG -768 640 Rev
FLAG -304 288 1y
FLAG -304 224 1x
FLAG 144 816 0
FLAG 288 672 clk
* Z:\home\khalils\Downloads\files\data\raw_asc\LTM4732.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\LTM4732.asy)
R3 OUT N003 49.9k
Rload OUT 0 0.248
R5 OUT N001 100k
C4 N005 0 1
C2 OUT 0 100 x2 Rser=5m
R1 N002 0 137k
XU1 NC_01 NC_02 0 NC_03 IN OUT IN IN NC_04 NC_05 N005 N004 OUT N003 N002 N001 N004 0 0 LTM4732 ;pnba SW)SYNC)GND)CLKOUT)VIN)VOUT)SVIN)RUN)INTVCC)PHMODE)SET)COMPA)VOSNS)PGSET)RT)PG)COMBP)TSENSE+)TSENSE-
V1 IN 0 12
R6 N005 0 10k
.tran 1.2m startup
.lib LTM4732.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 2216 900
WIRE -368 -768 -544 -768
WIRE -320 -768 -368 -768
WIRE 0 -768 -32 -768
WIRE 80 -768 0 -768
WIRE 192 -768 80 -768
WIRE 336 -768 192 -768
WIRE 496 -768 336 -768
WIRE 496 -752 496 -768
WIRE 80 -736 80 -768
WIRE 336 -736 336 -768
WIRE -544 -704 -544 -768
WIRE -368 -672 -368 -768
WIRE -320 -672 -368 -672
WIRE 0 -672 0 -768
WIRE 0 -672 -32 -672
WIRE 192 -656 192 -768
WIRE 336 -640 336 -672
WIRE 496 -640 496 -672
WIRE -544 -608 -544 -624
WIRE -368 -576 -368 -672
WIRE -320 -576 -368 -576
WIRE 80 -576 80 -656
WIRE 80 -576 -32 -576
WIRE -448 -480 -496 -480
WIRE -320 -480 -368 -480
WIRE 192 -480 192 -576
WIRE 192 -480 -32 -480
WIRE -320 -384 -368 -384
WIRE -368 -288 -368 -384
WIRE -320 -288 -368 -288
WIRE 144 -288 -32 -288
WIRE 240 -288 144 -288
WIRE 144 -144 144 -288
WIRE 240 -144 240 -288
WIRE 16 -96 -32 -96
WIRE 16 0 16 -96
WIRE 16 0 -32 0
WIRE -176 80 -176 48
WIRE 16 80 16 0
WIRE 16 80 -176 80
WIRE 144 80 144 -80
WIRE 144 80 16 80
WIRE 240 80 240 -64
WIRE 240 80 144 80
WIRE -176 112 -176 80
SYMBOL res 176 -672 R0
SYMATTR InstName R3
SYMATTR Value 49.9k
SYMBOL res 480 -768 R0
SYMATTR InstName Rload
SYMATTR Value 0.248
SYMBOL LTM4732 -176 -512 R0
SYMATTR InstName U1
SYMBOL cap 320 -736 R0
WINDOW 3 34 31 Left 2
WINDOW 123 34 59 Left 2
SYMATTR Value 100
SYMATTR Value2 x2
SYMATTR SpiceLine Rser=5m
SYMATTR InstName C2
SYMBOL res 64 -752 R0
SYMATTR InstName R5
SYMATTR Value 100k
SYMBOL voltage -544 -720 R0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL res -352 -496 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 137k
SYMBOL cap 128 -144 R0
SYMATTR InstName C4
SYMATTR Value 1
SYMBOL res 224 -160 R0
SYMATTR InstName R6
SYMATTR Value 10k
FLAG -544 -608 0
FLAG -496 -480 0
FLAG 496 -640 0
FLAG 496 -768 OUT
FLAG -544 -768 IN
FLAG 336 -640 0
FLAG -176 112 0
TEXT 416 24 Left 2 !.tran 1.2m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\ADG772.asc
* Generated by LTspice 26.0.1 for Windows.
* Notes:\nSwitch shown for a logic 0 input\nOnly one channel is modeled\nBandwidth is 424 MHz
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\Switches\ADG772.asy)
R1 vD 0 301
XU1 vIN vSA vD vSB +V 0 ADG772 ;pnba IN)SA)D)SB)Vdd)GND
V3 vIN 0 PULSE(0 3 0 1n 1n 20u 40u)
V1 vSA 0 2
C1 vD 0 36p
V2 vSB 0 0
V4 +V 0 3.3
.tran 100u
.lib ADG772.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 2888 1548
WIRE -1600 -336 -1600 -368
WIRE -1728 -272 -2032 -272
WIRE -1696 -272 -1728 -272
WIRE -2032 -256 -2032 -272
WIRE -1472 -240 -1504 -240
WIRE -1424 -240 -1472 -240
WIRE -1312 -240 -1424 -240
WIRE -1424 -224 -1424 -240
WIRE -1312 -224 -1312 -240
WIRE -1728 -208 -1920 -208
WIRE -1696 -208 -1728 -208
WIRE -1920 -192 -1920 -208
WIRE -2032 -160 -2032 -176
WIRE -1728 -144 -1776 -144
WIRE -1696 -144 -1728 -144
WIRE -1424 -128 -1424 -144
WIRE -1312 -128 -1312 -160
WIRE -1920 -96 -1920 -112
WIRE -1776 -80 -1776 -144
WIRE -1600 -16 -1600 -32
WIRE -1776 32 -1776 0
SYMBOL voltage -1920 -208 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 0
SYMBOL ADG772 -1600 -192 R0
SYMATTR InstName U1
SYMBOL voltage -1776 -96 R0
WINDOW 3 24 136 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value PULSE(0 3 0 1n 1n 20u 40u)
SYMATTR InstName V3
SYMBOL cap -1328 -224 R0
SYMATTR InstName C1
SYMATTR Value 36p
SYMBOL res -1440 -240 R0
SYMATTR InstName R1
SYMATTR Value 301
SYMBOL voltage -2208 -272 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value 3.3
SYMBOL voltage -2032 -272 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 2
FLAG -2032 -160 0
FLAG -1920 -96 0
FLAG -1776 32 0
FLAG -1600 -368 +V
FLAG -1424 -128 0
FLAG -1600 -16 0
FLAG -1312 -128 0
FLAG -2208 -176 0
FLAG -2208 -256 +V
FLAG -1728 -272 vSA
FLAG -1728 -208 vSB
FLAG -1728 -144 vIN
FLAG -1472 -240 vD
TEXT -1480 -24 Left 2 !.tran 100u
TEXT -2056 -584 Left 2 ;Notes:\nSwitch shown for a logic 0 input\nOnly one channel is modeled\nBandwidth is 424 MHz
* Z:\home\khalils\Downloads\files\data\raw_asc\LT8607.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\LT8607.asy)
C4 OUT 0 22 V=6.3 Irms=0 Rser=0.002 Lser=0 mfg="TDK" pn="C4532X5ROJ47@M" type="X5R"
XU1 N002 N003 N001 N006 NC_01 N005 N004 NC_02 IN IN 0 LT8607 ;pnba BST)SW)INTVcc)Rt)Sync)FB)TR/SS)PG)Vin)EN/UV)GND
R1 N006 0 18.2K
Rload OUT 0 6.67
C2 N001 0 1
R2 OUT N005 1Meg
L1 N003 OUT 4.7 Rser=3m
C5 OUT N005 10p
R3 N005 0 187K
C1 N004 0 .001
V1 IN 0 24
C3 N002 N003 0.1
.tran 500u startup
.lib LT8607.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1044 680
WIRE 96 -64 0 -64
WIRE 256 -64 96 -64
WIRE 0 -48 0 -64
WIRE 256 -48 256 -64
WIRE 96 0 96 -64
WIRE 112 0 96 0
WIRE 416 0 400 0
WIRE 496 0 480 0
WIRE 0 48 0 32
WIRE 432 96 400 96
WIRE 432 112 432 96
WIRE 432 192 432 176
WIRE 432 192 400 192
WIRE 496 192 432 192
WIRE 608 192 576 192
WIRE 720 192 608 192
WIRE 816 192 720 192
WIRE 896 192 816 192
WIRE 912 192 896 192
WIRE 608 208 608 192
WIRE 720 208 720 192
WIRE 816 208 816 192
WIRE 912 208 912 192
WIRE 32 288 0 288
WIRE 112 288 96 288
WIRE 608 288 400 288
WIRE 720 288 720 272
WIRE 720 288 608 288
WIRE 608 304 608 288
WIRE 816 304 816 272
WIRE 912 304 912 288
WIRE 16 384 0 384
WIRE 112 384 96 384
WIRE 416 384 400 384
WIRE 608 400 608 384
SYMBOL LT8607 256 192 R0
SYMATTR InstName U1
SYMBOL cap 416 112 R0
SYMATTR InstName C3
SYMATTR Value 0.1
SYMBOL res 592 288 R0
SYMATTR InstName R3
SYMATTR Value 187K
SYMBOL cap 704 208 R0
SYMATTR InstName C5
SYMATTR Value 10p
SYMBOL cap 800 208 R0
SYMATTR InstName C4
SYMATTR Value 22
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.002 Lser=0 mfg="TDK" pn="C4532X5ROJ47@M" type="X5R"
SYMBOL ind 480 208 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 4.7
SYMATTR SpiceLine Rser=3m
SYMBOL res 896 192 R0
SYMATTR InstName Rload
SYMATTR Value 6.67
SYMBOL res 592 192 R0
SYMATTR InstName R2
SYMATTR Value 1Meg
SYMBOL cap 96 272 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value .001
SYMBOL res 112 368 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 18.2K
SYMBOL voltage 0 -64 R0
SYMATTR InstName V1
SYMATTR Value 24
SYMBOL cap 416 16 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName C2
SYMATTR Value 1
FLAG 0 384 0
FLAG 0 288 0
FLAG 0 48 0
FLAG 496 0 0
FLAG 816 304 0
FLAG 608 400 0
FLAG 912 304 0
FLAG 896 192 OUT
FLAG 0 -64 IN
FLAG 416 384 0
TEXT 736 384 Left 2 !.tran 500u startup
* Z:\tmp\asc_dec_bjh7r6w2\0d902239f55e_OR_gate_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
M4 N004 B 0 0 NMOS
V2 B 0 PULSE(0 5 0 5n 5n 10 20)
M5 Vout N004 0 0 NMOS
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 880 752
WIRE 288 112 288 48
WIRE 288 112 224 112
WIRE 176 144 96 144
WIRE 528 176 528 48
WIRE 288 208 288 112
WIRE 288 208 224 208
WIRE 528 224 528 192
WIRE 96 256 96 144
WIRE 608 272 528 272
WIRE 224 288 224 256
WIRE 224 288 144 288
WIRE 336 288 224 288
WIRE 480 288 480 256
WIRE 480 288 336 288
WIRE 176 304 176 240
WIRE 272 304 176 304
WIRE 336 304 336 288
WIRE 144 320 144 288
WIRE 272 352 272 304
WIRE 480 352 480 288
WIRE 272 384 272 352
WIRE 288 384 272 384
WIRE 96 400 96 256
SYMBOL nmos4 288 304 R0
SYMATTR InstName M4
SYMBOL voltage -128 288 R0
WINDOW 3 -103 131 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value PULSE(0 5 0 5n 5n 10 20)
SYMATTR InstName V2
SYMBOL nmos4 480 272 R0
SYMATTR InstName M5
FLAG -128 384 0
FLAG -112 208 0
FLAG 144 416 0
FLAG 336 400 0
FLAG 336 352 0
FLAG 144 368 0
FLAG 416 128 0
FLAG -112 128 A
FLAG 96 256 A
FLAG -128 304 B
FLAG 272 352 B
FLAG 528 368 0
FLAG 528 320 0
FLAG 608 272 Vout
* Z:\home\khalils\Downloads\files\data\raw_asc\260c2ad652f1_passabaixa-corte1k.asc
* Generated by LTspice 26.0.1 for Windows.
E1 out 0 0 N001 1000000
V2 N002 0 SINE(0 0 0)
R2 out N001 {R2}
R1 N001 in {R1}
V1 in N002 SINE(0 1m 1k) AC 1
C1 out N001 {CAP}
.ac dec 5m 1 10MEG
.MEAS AC gain max mag(V(out))
.meas AC meas_3db trig mag(V(out))=gain/sqrt(2)
.step param run 1 500 1
.param R2=mc(100k,0.025) CAP=mc(1.59n,0.025) R1=mc(1k,0.025)
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1024 680
WIRE 144 48 96 48
WIRE 240 48 208 48
WIRE 96 112 96 48
WIRE 128 112 96 112
WIRE 240 112 240 48
WIRE 240 112 208 112
WIRE -64 192 -128 192
WIRE 96 192 96 112
WIRE 96 192 16 192
WIRE -128 208 -128 192
WIRE 240 208 240 112
WIRE 240 208 192 208
WIRE 288 208 240 208
WIRE 96 224 96 192
WIRE 144 224 96 224
WIRE -128 304 -128 288
WIRE 144 304 144 272
WIRE 192 304 192 288
SYMBOL res 224 96 R90
WINDOW 0 35 57 VBottom 2
WINDOW 3 63 57 VBottom 2
SYMATTR InstName R2
SYMATTR Value {R2}
SYMBOL Misc\\signal -128 192 R0
WINDOW 3 0 48 Left 2
WINDOW 123 13 75 Left 2
WINDOW 39 0 0 Left 2
SYMATTR Value SINE(0 1m 1k)
SYMATTR Value2 AC 1
SYMATTR InstName V1
SYMBOL e2 192 192 R0
SYMATTR InstName E1
SYMATTR Value 1000000
SYMBOL res 32 176 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 28 56 VBottom 2
SYMATTR InstName R1
SYMATTR Value {R1}
SYMBOL Misc\\signal -128 288 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value SINE(0 0 0)
SYMBOL cap 208 32 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value {CAP}
FLAG -128 192 in
FLAG 288 208 out
FLAG 144 304 0
FLAG 192 304 0
FLAG -128 384 0
TEXT 280 184 Left 2 !.ac dec 5m 1 10MEG
TEXT 280 88 Left 2 !.MEAS AC gain max mag(V(out))
TEXT 280 104 Left 2 !.meas AC meas_3db trig mag(V(out))=gain/sqrt(2)
TEXT 280 168 Left 2 !.step param run 1 500 1
TEXT 280 152 Left 2 !.param R2=mc(100k,0.025) CAP=mc(1.59n,0.025) R1=mc(1k,0.025)
* Z:\home\khalils\Downloads\files\data\raw_asc\caa378d284b9_sim.asc
* Generated by LTspice 26.0.1 for Windows.
;tran 100u
V2 N001 0 5
R6 N003 N004 18k
R2 N005 out 1k
V3 in 0 SINE(1 1 100k) AC 1
C1 N003 0 39p
XU1 N005 N003 N001 0 opout LMH6642 ;pnba In+)In-)V+)V-)OUT
R1 out 0 1
R5 N004 in 12k
C2 out N004 82p
V1 N002 0 12
R3 0 N005 1k
Q1 N002 opout out 0 Q2n5038
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.lib C:\Users\Anton\git\4x_power_opamp\LMH6642.MOD
.lib C:\Users\Anton\git\4x_power_opamp\MJE15031.LIB
.lib C:\Users\Anton\git\4x_power_opamp\2N5038.LIB
.ac dec 200 10 10meg
.meas AC f_3db find freq when MAG(V(out)) = 1/sqrt(2)
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 984 680
WIRE 816 -64 -192 -64
WIRE -272 -48 -304 -48
WIRE 624 0 336 0
WIRE -192 64 -192 -64
WIRE -224 80 -400 80
WIRE -48 96 -160 96
WIRE 272 96 -48 96
WIRE -784 112 -816 112
WIRE -720 112 -784 112
WIRE -560 112 -640 112
WIRE -496 112 -560 112
WIRE -400 112 -400 80
WIRE -400 112 -416 112
WIRE -272 112 -272 32
WIRE -224 112 -272 112
WIRE 336 112 336 0
WIRE -272 128 -272 112
WIRE -400 144 -400 112
WIRE -816 160 -816 112
WIRE 272 160 272 96
WIRE 624 160 624 0
WIRE 816 160 816 -64
WIRE -560 240 -560 112
WIRE -496 240 -560 240
WIRE -272 240 -272 208
WIRE -272 240 -432 240
WIRE 272 240 -272 240
WIRE 336 240 336 208
WIRE 336 240 272 240
WIRE 384 240 336 240
SYMBOL voltage -816 144 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 1
SYMATTR InstName V3
SYMATTR Value SINE(1 1 100k)
SYMBOL cap -432 224 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 82p
SYMBOL cap -416 144 R0
SYMATTR InstName C1
SYMATTR Value 39p
SYMBOL voltage 816 144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 5
SYMBOL res -624 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 12k
SYMBOL res 368 224 R0
SYMATTR InstName R1
SYMATTR Value 1
SYMBOL res -288 -64 R0
SYMATTR InstName R3
SYMATTR Value 1k
SYMBOL res -288 112 R0
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL OpAmps\\opamp2 -192 32 R0
SYMATTR InstName U1
SYMATTR Value LMH6642
SYMBOL res -400 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value 18k
SYMBOL voltage 624 144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL npn 272 112 R0
SYMATTR InstName Q1
SYMATTR Value Q2n5038
FLAG 624 240 0
FLAG -816 240 0
FLAG -784 112 in
FLAG 272 240 out
FLAG -400 208 0
FLAG -48 96 opout
FLAG 384 320 0
FLAG -192 128 0
FLAG 816 240 0
FLAG -304 -48 0
TEXT -288 -264 Left 2 !.lib C:\\Users\\Anton\\git\\4x_power_opamp\\LMH6642.MOD
TEXT -288 -232 Left 2 !.lib C:\\Users\\Anton\\git\\4x_power_opamp\\MJE15031.LIB
TEXT -512 392 Left 2 !;tran 100u
TEXT -288 -200 Left 2 !.lib C:\\Users\\Anton\\git\\4x_power_opamp\\2N5038.LIB
TEXT -968 -40 Left 2 !.ac dec 200 10 10meg
TEXT -968 -56 Left 2 !.meas AC f_3db find freq when MAG(V(out)) = 1/sqrt(2)
* Z:\home\khalils\Downloads\files\data\raw_asc\02797441fc65_MOSFET_Switch_alt.asc
* Generated by LTspice 26.0.1 for Windows.
R2 N004 control 1k
R3 N003 N002 100
M1 out N003 0 0 BS170
R1 N001 out 120
V1 control 0 PULSE(0 5 0 10n 10n 1.666u 3.333u)
R4 N001 N002 1k
V2 N001 0 12V
Q1 N002 N004 0 0 BC547B
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 33u
.meas TRAN TotalLoss INTEGRAL V(out)*Id(M1)
.meas TRAN AvgPower AVG V(out)*Id(M1)
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 1292 680
WIRE -832 -336 -1088 -336
WIRE -688 -336 -832 -336
WIRE -1088 -288 -1088 -336
WIRE -832 -288 -832 -336
WIRE -832 -192 -832 -208
WIRE -832 -176 -832 -192
WIRE -688 -176 -688 -336
WIRE -1088 -144 -1088 -208
WIRE -1024 -144 -1088 -144
WIRE -1088 -112 -1088 -144
WIRE -1024 -96 -1024 -144
WIRE -992 -96 -1024 -96
WIRE -880 -96 -912 -96
WIRE -1344 -64 -1376 -64
WIRE -1264 -64 -1344 -64
WIRE -1152 -64 -1184 -64
WIRE -1376 -32 -1376 -64
WIRE -1376 96 -1376 48
WIRE -1088 96 -1088 -16
WIRE -1088 96 -1376 96
WIRE -832 96 -832 -80
WIRE -832 96 -1088 96
WIRE -688 96 -688 -96
WIRE -688 96 -832 96
WIRE -832 128 -832 96
SYMBOL Misc\\EuropeanResistor -896 -112 R90
WINDOW 0 5 56 VBottom 2
WINDOW 3 27 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 100
SYMBOL npn -1152 -112 R0
SYMATTR InstName Q1
SYMATTR Value BC547B
SYMBOL voltage -688 -192 R0
WINDOW 123 0 0 Left 2
WINDOW 39 37 60 Left 2
WINDOW 0 36 55 Left 2
WINDOW 3 36 82 Left 2
SYMATTR InstName V2
SYMATTR Value 12V
SYMBOL nmos -880 -176 R0
SYMATTR InstName M1
SYMATTR Value BS170
SYMBOL Misc\\EuropeanResistor -848 -304 R0
SYMATTR InstName R1
SYMATTR Value 120
SYMBOL Misc\\EuropeanResistor -1168 -80 R90
WINDOW 0 5 56 VBottom 2
WINDOW 3 27 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL voltage -1376 -48 R0
WINDOW 123 0 0 Left 2
WINDOW 3 8 102 Left 2
WINDOW 0 35 44 Left 2
WINDOW 39 -81 178 Left 2
SYMATTR Value PULSE(0 5 0 10n 10n 1.666u 3.333u)
SYMATTR InstName V1
SYMBOL Misc\\EuropeanResistor -1104 -304 R0
SYMATTR InstName R4
SYMATTR Value 1k
FLAG -832 128 0
FLAG -1344 -64 control
FLAG -832 -192 out
TEXT -1384 120 Left 2 !.tran 33u
TEXT -1384 160 Left 2 !.meas TRAN TotalLoss INTEGRAL V(out)*Id(M1)
TEXT -1384 184 Left 2 !.meas TRAN AvgPower AVG V(out)*Id(M1)
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC2941.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\SpecialFunctions\LTC2941.asy)
V2 N002 0 PULSE(3.9 3.5 1s 10m 10m 1 2)
Vbatt N001 0 3.7
XU1 N001 0 N004 N005 N003 N002 LTC2941 B_Reg=60 CD_Reg=32767 EF_Reg=65535 GH_Reg=0 EF_Reg=65535 GH_Reg=0 ;pnba Sense+)GND)StatusReg)ACRreg)_AL/CC)Sense-
R1 N001 N003 10K
Rsense N001 N002 100m
.tran 5
.lib LTC2941.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1432 680
WIRE 64 -112 -64 -112
WIRE 464 -112 64 -112
WIRE 864 -112 464 -112
WIRE -64 -96 -64 -112
WIRE 464 -96 464 -112
WIRE 864 -48 864 -112
WIRE -64 0 -64 -16
WIRE 64 16 64 -112
WIRE 96 16 64 16
WIRE 464 16 464 -16
WIRE 464 16 416 16
WIRE 592 16 464 16
WIRE 736 16 672 16
WIRE 96 112 80 112
WIRE 864 112 864 32
WIRE 864 112 416 112
WIRE 96 208 80 208
WIRE 432 208 416 208
SYMBOL voltage 576 16 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 -32 56 VBottom 2
SYMATTR InstName V2
SYMATTR Value PULSE(3.9 3.5 1s 10m 10m 1 2)
SYMBOL res 848 -64 R0
SYMATTR InstName R1
SYMATTR Value 10K
SYMBOL res 448 -112 R0
SYMATTR InstName Rsense
SYMATTR Value 100m
SYMBOL voltage -64 -112 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName Vbatt
SYMATTR Value 3.7
SYMBOL LTC2941 256 112 R0
SYMATTR Value B_Reg=60 CD_Reg=32767
SYMATTR InstName U1
FLAG -64 0 0
FLAG 80 112 0
FLAG 736 16 0
TEXT 600 272 Left 2 !.tran 5
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1587-3.6.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\LT1587-3.6.asy)
Rload OUT 0 500
XU1 0 OUT IN LT1587-3.6 ;pnba GND)OUT)IN
C1 OUT 0 22
V1 IN 0 PWL(0 0 1 10)
.tran 1
.lib LT1584.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 32 176 -160 176
WIRE 368 176 288 176
WIRE 464 176 368 176
WIRE -160 192 -160 176
WIRE 368 192 368 176
WIRE 464 192 464 176
WIRE -160 288 -160 272
WIRE 368 288 368 256
WIRE 464 288 464 272
WIRE 160 304 160 272
SYMBOL voltage -160 176 R0
SYMATTR InstName V1
SYMATTR Value PWL(0 0 1 10)
SYMBOL res 448 176 R0
SYMATTR InstName Rload
SYMATTR Value 500
SYMBOL PowerProducts\\LT1587-3.6 160 176 R0
SYMATTR InstName U1
SYMBOL cap 352 192 R0
SYMATTR InstName C1
SYMATTR Value 22
FLAG -160 288 0
FLAG 368 288 0
FLAG 464 288 0
FLAG 160 304 0
FLAG 464 176 OUT
FLAG -160 176 IN
TEXT 304 344 Left 2 !.tran 1
* Z:\home\khalils\Downloads\files\data\raw_asc\092ec90a9e4e_Gate2a.asc
* Generated by LTspice 26.0.1 for Windows.
A1 0 N001 0 N003 0 0 N002 0 AND
R1 N003 0 1K
V1 N001 0 pulse(0 1 0 10n 10n .5u 1u)
.tran 20u
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1220 680
WIRE 704 128 544 128
WIRE 832 128 768 128
WIRE 704 160 640 160
WIRE 640 176 640 160
WIRE 720 192 720 176
WIRE 544 224 544 128
WIRE 640 272 640 256
WIRE 544 320 544 304
SYMBOL digital\\and 736 80 R0
SYMATTR InstName A1
SYMBOL voltage 544 208 R0
SYMATTR InstName V1
SYMATTR Value pulse(0 1 0 10n 10n .5u 1u)
SYMBOL res 624 160 R0
SYMATTR InstName R1
SYMATTR Value 1K
FLAG 544 320 0
FLAG 640 272 0
FLAG 720 192 0
TEXT 816 208 Left 0 !.tran 20u
* Z:\home\khalils\Downloads\files\data\raw_asc\8cc20695ca84_TS3.asc
* Generated by LTspice 26.0.1 for Windows.
* .step param Cp list 1.43e-5 1.59e-5 1.65e-5 1.75e-5
C1 N005 N001 {C}
R5 N004 N003 {R4}
R4 N002 N004 {R4}
C2 N003 N006 {C}
V1 N007 0 AC 1
XU2 0 N006 N002 opamp Aol=100K GBW=10Meg ;pnba invin)noninvin)out
XU1 N001 0 N005 opamp Aol=100K GBW=10Meg ;pnba invin)noninvin)out
R6 N006 N005 {R3}
R2 N005 N001 {R2}
R3 N002 N001 {R3}
XU3 N004 0 N003 opamp Aol=100K GBW=10Meg ;pnba invin)noninvin)out
R1 N001 N007 {R1}
.ac dec 1k 8k 12k
.lib opamp.sub
.param R1=1 Q=sqrt(2) R2=Q*R3 R3=R1 f0=10k w0=2*pi*f0 tol=0.05 C=mc(1/(R3*w0), tol) R4=1
.step param run 1 100 1
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 96 -160 -160 -160
WIRE 672 -160 176 -160
WIRE 368 -96 320 -96
WIRE 480 -96 448 -96
WIRE 496 -96 480 -96
WIRE 672 -96 672 -160
WIRE 672 -96 576 -96
WIRE -160 -64 -160 -160
WIRE -128 -64 -160 -64
WIRE -16 -64 -48 -64
WIRE 480 0 480 -96
WIRE 480 0 448 0
WIRE 208 16 176 16
WIRE 320 16 320 -96
WIRE 320 16 272 16
WIRE 384 16 320 16
WIRE 480 32 448 32
WIRE -160 48 -160 -64
WIRE -128 48 -160 48
WIRE -16 48 -16 -64
WIRE -16 48 -64 48
WIRE 480 96 480 32
WIRE -256 144 -320 144
WIRE -160 144 -160 48
WIRE -160 144 -176 144
WIRE -128 144 -160 144
WIRE -16 160 -16 48
WIRE -16 160 -64 160
WIRE 32 160 -16 160
WIRE 176 160 176 16
WIRE 176 160 112 160
WIRE 208 160 176 160
WIRE -128 176 -160 176
WIRE 672 176 672 -96
WIRE 672 176 272 176
WIRE -320 192 -320 144
WIRE 208 192 176 192
WIRE -160 240 -160 176
WIRE 176 256 176 192
WIRE -320 320 -320 272
SYMBOL res 128 144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value {R3}
SYMBOL res 464 -112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value {R4}
SYMBOL res 192 -176 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value {R3}
SYMBOL voltage -320 176 R0
WINDOW 123 17 102 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 1
SYMATTR InstName V1
SYMATTR Value ""
SYMBOL cap 272 0 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value {C}
SYMBOL OpAmps\\opamp -96 96 R0
SYMATTR InstName U1
SYMBOL cap -64 32 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value {C}
SYMBOL res -160 128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value {R1}
SYMBOL res 592 -112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value {R4}
SYMBOL res -32 -80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value {R2}
SYMBOL OpAmps\\opamp 416 -48 M0
SYMATTR InstName U3
SYMBOL OpAmps\\opamp 240 240 M180
SYMATTR InstName U2
FLAG -320 320 0
FLAG -160 240 0
FLAG 176 256 0
FLAG 480 96 0
TEXT -352 392 Left 2 !.ac dec 1k 8k 12k
TEXT -352 416 Left 2 !.lib opamp.sub
TEXT -352 440 Left 2 !.param R1=1 Q=sqrt(2) R2=Q*R3 R3=R1 f0=10k w0=2*pi*f0 tol=0.05 C=mc(1/(R3*w0), tol) R4=1
TEXT -352 464 Left 2 !.step param run 1 100 1
TEXT -352 488 Left 2 ;.step param Cp list 1.43e-5 1.59e-5 1.65e-5 1.75e-5