Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\0460c2e94165_NAND.asc
* Generated by LTspice 26.0.1 for Windows.
M1 N001 N002 Y N001 PMOS l=1040nm w=1040nm
M4 Y N002 N004 0 NMOS l=1040nm w=1040nm
M5 N004 N003 0 0 NMOS l=1040nm w=1040nm
V1 N001 0 3.3
VA N002 0 PULSE(0 5 0 5n 5n 40m 80m)
VB N003 0 PULSE(0 5 0 5n 5n 20m 40m)
M3 N001 N003 Y N001 PMOS
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 80m
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 128 -32 128 -64
WIRE 128 48 48 48
WIRE 48 64 48 48
WIRE 48 64 32 64
WIRE 32 80 32 64
WIRE 128 80 128 48
WIRE 208 80 128 80
WIRE 224 80 208 80
WIRE 48 128 48 64
WIRE 48 128 32 128
WIRE 224 128 224 80
WIRE 224 128 208 128
WIRE -16 160 -48 160
WIRE 160 192 160 160
WIRE 160 192 -32 192
WIRE 32 208 32 176
WIRE 208 208 208 176
WIRE 208 208 32 208
WIRE -192 256 -224 256
WIRE -48 256 -48 160
WIRE -48 256 -112 256
WIRE 32 272 32 208
WIRE 64 320 32 320
WIRE -48 352 -48 256
WIRE -16 352 -48 352
WIRE 32 368 32 352
WIRE 32 448 32 368
WIRE 64 496 64 320
WIRE 64 496 32 496
WIRE -192 528 -224 528
WIRE -32 528 -32 192
WIRE -32 528 -112 528
WIRE -16 528 -32 528
WIRE 64 544 64 496
WIRE 64 544 32 544
WIRE 32 592 32 544
FLAG 32 592 0
FLAG 128 -64 0
FLAG -224 256 0
FLAG -224 528 0
FLAG 208 208 Y
IOPIN 208 208 Out
SYMBOL pmos4 -16 80 R0
SYMATTR InstName M1
SYMATTR Value2 l=1040nm w=1040nm
SYMBOL nmos4 -16 272 R0
SYMATTR InstName M4
SYMATTR Value2 l=1040nm w=1040nm
SYMBOL nmos4 -16 448 R0
SYMATTR InstName M5
SYMATTR Value2 l=1040nm w=1040nm
SYMBOL voltage 128 64 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 V1
SYMATTR Value 3.3
SYMBOL voltage -96 256 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName A
SYMATTR Value PULSE(0 5 0 5n 5n 40m 80m)
SYMBOL voltage -96 528 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName B
SYMATTR Value PULSE(0 5 0 5n 5n 20m 40m)
SYMBOL pmos4 160 80 R0
SYMATTR InstName M3
TEXT 216 560 Left 2 !.tran 80m
* Z:\home\khalils\Downloads\files\data\raw_asc\364a78e875d1_6554.asc
* Generated by LTspice 26.0.1 for Windows.
V1 +V 0 5
V2 -V 0 -5
V3 IN 0 SIN(0 1 10Meg) AC 1
R1 0 OUTR 1K
XU1 0 0 +V -V IN 0 0 OUTR OUTG OUTB LT6554 ;pnba _EN)DGND)V+)V-)INR)ING)INB)OUTR)OUTG)OUTB
C1 0 OUTR .1p
.ac dec 50 10Meg 1G
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT6554.asy)
.lib LTC4.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1076 884
WIRE 336 432 336 384
WIRE 240 480 -80 480
WIRE 640 496 432 496
WIRE 736 496 640 496
WIRE 848 496 736 496
WIRE -80 512 -80 480
WIRE 640 512 640 496
WIRE 736 512 736 496
WIRE 240 544 192 544
WIRE 512 592 432 592
WIRE 240 608 128 608
WIRE 640 608 640 592
WIRE 736 608 736 576
WIRE -80 624 -80 592
WIRE 192 640 192 544
WIRE 240 640 192 640
WIRE 192 672 192 640
WIRE 512 688 432 688
WIRE 128 704 128 608
WIRE 240 704 128 704
WIRE 128 736 128 704
WIRE -176 752 -176 720
WIRE -64 752 -64 720
WIRE 272 784 272 752
WIRE 336 784 336 752
WIRE 400 784 400 752
WIRE -176 864 -176 832
WIRE -64 864 -64 832
FLAG -176 864 0
FLAG -64 864 0
FLAG 336 384 +V
FLAG 192 672 0
FLAG -80 624 0
FLAG -80 480 IN
FLAG 848 496 OUTR
FLAG 512 592 OUTG
FLAG 512 688 OUTB
FLAG 128 736 0
FLAG -176 720 +V
FLAG -64 720 -V
FLAG 400 784 -V
FLAG 272 784 0
FLAG 336 784 0
FLAG 640 608 0
FLAG 736 608 0
SYMBOL voltage -176 736 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage -64 736 R0
SYMATTR InstName V2
SYMATTR Value -5
SYMBOL voltage -80 496 R0
WINDOW 123 38 64 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 1
SYMATTR Value SIN(0 1 10Meg)
SYMATTR InstName V3
SYMBOL res 624 608 M180
WINDOW 0 36 76 Left 0
WINDOW 3 36 40 Left 0
SYMATTR InstName R1
SYMATTR Value 1K
SYMBOL LT6554 336 512 R0
SYMATTR InstName U1
SYMBOL cap 720 576 M180
WINDOW 0 24 64 Left 0
WINDOW 3 24 8 Left 0
SYMATTR InstName C1
SYMATTR Value .1p
TEXT 544 776 Left 0 !.ac dec 50 10Meg 1G
* Z:\home\khalils\Downloads\files\data\raw_asc\204fb582ee30_nand_sym.asc
* Generated by LTspice 26.0.1 for Windows.
M6 N003 clk 0 0 n_65 l=65n w=4u
M4 Vout B N001 VDD p_65 l=65n w=1u
M1 Vout A N002 0 n_65 l=65n w=1u
M5 N001 clk_b VDD VDD p_65 l=65n w=4u
M3 Vout A N001 VDD p_65 l=65n w=1u
M2 N002 B N003 0 n_65 l=65n w=1u
V1 VDD 0 1.2
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.include 65nm_bulk.txt
.tran 0 20u 0 1n
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1728 992
WIRE 592 -240 592 -272
WIRE 0 -128 0 -192
WIRE 32 -128 0 -128
WIRE -48 -112 -96 -112
WIRE 32 -80 32 -128
WIRE 32 -80 0 -80
WIRE 0 16 0 -32
WIRE 0 16 -112 16
WIRE 112 16 0 16
WIRE -112 96 -112 16
WIRE 112 96 112 16
WIRE -160 112 -224 112
WIRE 64 112 -32 112
WIRE -80 144 -80 96
WIRE -80 144 -112 144
WIRE 144 144 144 96
WIRE 144 144 112 144
WIRE -112 240 -112 192
WIRE 0 240 -112 240
WIRE 112 240 112 192
WIRE 112 240 0 240
WIRE 176 240 112 240
WIRE -224 256 -224 112
WIRE -224 256 -288 256
WIRE -32 288 -32 112
WIRE -32 288 -112 288
WIRE 0 320 0 240
WIRE 16 368 0 368
WIRE -224 400 -224 256
WIRE -48 400 -224 400
WIRE -112 480 -112 288
WIRE -112 480 -176 480
WIRE 0 480 0 416
WIRE 16 528 0 528
WIRE -112 560 -112 480
WIRE -48 560 -112 560
WIRE 0 608 0 576
WIRE 16 656 0 656
WIRE -48 688 -96 688
IOPIN -288 256 In
IOPIN -176 480 In
IOPIN -96 -112 In
IOPIN -96 688 In
IOPIN 176 240 Out
SYMBOL Voltage 592 -256 R0
SYMATTR InstName V1
SYMATTR Value 1.2
SYMBOL nmos4 -48 480 R0
WINDOW 123 56 94 Left 2
SYMATTR Value2 l=65n w=1u
SYMATTR InstName M2
SYMATTR Value n_65
SYMBOL pmos4 64 192 M180
WINDOW 123 56 50 Left 2
SYMATTR Value2 l=65n w=1u
SYMATTR InstName M4
SYMATTR Value p_65
SYMBOL pmos4 -160 192 M180
WINDOW 123 56 50 Left 2
SYMATTR Value2 l=65n w=1u
SYMATTR InstName M3
SYMATTR Value p_65
SYMBOL pmos4 -48 -32 M180
WINDOW 123 56 50 Left 2
SYMATTR Value2 l=65n w=4u
SYMATTR InstName M5
SYMATTR Value p_65
SYMBOL nmos4 -48 608 R0
WINDOW 123 56 94 Left 2
SYMATTR Value2 l=65n w=4u
SYMATTR InstName M6
SYMATTR Value n_65
SYMBOL nmos4 -48 320 R0
WINDOW 123 56 94 Left 2
SYMATTR Value2 l=65n w=1u
SYMATTR InstName M1
SYMATTR Value n_65
FLAG 0 -192 VDD
FLAG 16 368 0
FLAG 16 528 0
FLAG -288 256 A
FLAG -176 480 B
FLAG -80 96 VDD
FLAG 144 96 VDD
FLAG 16 656 0
FLAG 0 704 0
FLAG -96 -112 clk_b
FLAG -96 688 clk
FLAG 176 240 Vout
FLAG 592 -272 VDD
FLAG 592 -160 0
TEXT -488 -408 Left 2 !.include 65nm_bulk.txt
TEXT 744 -72 Left 2 !.tran 0 20u 0 1n
* Z:\home\khalils\Downloads\files\data\raw_asc\592e925ca8cd_current-limiting-npn.asc
* Generated by LTspice 26.0.1 for Windows.
* Sizing:\nR2 sets max current -> set max current through the load: Imax = 20 mA\nFind R2 at max current assuming its voltage drop is Vbe and Q2 is still not conducting -> R2 = 0.6V/Imax = 30 ohm\nFind base current at the limiting condition where Q2 is still not conducting -> Ib = Ic/100 = 200 uA\nFind R1 using KVL -> 12 = R1*Ib + 0.6 + 0.6 -> R1 = (12 - 1.2)/20 u = 54k ohm\n \nNow see what happens when R load changes -> max current through the circuit is fixed at 20 mA\nPossible application -> LED driver circuit\n \nAfter running the simulation:\n1) CTRL + L or View SPICE error log\n2) Right click -> Plot .step ed .meas data
* Current limiting circuit using NPN transistors
Q2 N002 N003 0 0 2N3904
V1 Vcc 0 12
R1 N002 Vcc 54k
R3 Vcc N001 {R_load}
R2 0 N003 30
Q1 N001 N002 N003 0 2N3904
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran 1
.step param R_load 100 1k 50
.meas Load_current AVG I(R3)
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1828 680
WIRE -128 -48 -128 -96
WIRE 288 -16 288 -64
WIRE -128 64 -128 32
WIRE 288 128 288 64
WIRE 48 176 -32 176
WIRE 160 176 128 176
WIRE 224 176 160 176
WIRE 160 256 160 176
WIRE 288 304 288 224
WIRE 288 304 224 304
WIRE 288 352 288 304
WIRE 160 464 160 352
WIRE 288 464 288 432
SYMBOL npn 224 256 M0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL res 304 448 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R2
SYMATTR Value 30
SYMBOL res 272 -32 R0
SYMATTR InstName R3
SYMATTR Value {R_load}
SYMBOL npn 224 128 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL res 144 160 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 54k
SYMBOL voltage -128 -64 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 12
FLAG 288 464 0
FLAG 160 464 0
FLAG -128 64 0
FLAG -128 -96 Vcc
FLAG 288 -64 Vcc
FLAG -32 176 Vcc
TEXT 544 -128 Left 2 ;Sizing:\nR2 sets max current -> set max current through the load: Imax = 20 mA\nFind R2 at max current assuming its voltage drop is Vbe and Q2 is still not conducting -> R2 = 0.6V/Imax = 30 ohm\nFind base current at the limiting condition where Q2 is still not conducting -> Ib = Ic/100 = 200 uA\nFind R1 using KVL -> 12 = R1*Ib + 0.6 + 0.6 -> R1 = (12 - 1.2)/20 u = 54k ohm\n \nNow see what happens when R load changes -> max current through the circuit is fixed at 20 mA\nPossible application -> LED driver circuit\n \nAfter running the simulation:\n1) CTRL + L or View SPICE error log\n2) Right click -> Plot .step ed .meas data
TEXT 544 368 Left 2 !.tran 1
TEXT 544 256 Left 2 !.step param R_load 100 1k 50
TEXT 544 312 Left 2 !.meas Load_current AVG I(R3)
TEXT 56 -288 Left 4 ;Current limiting circuit using NPN transistors
* Z:\tmp\asc_dec_bjh7r6w2\0e309e022464_Filter3_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
C4 N005 N008 100n
C3 N010 N015 100n
R7 N002 N009 15k
R8 N001 N006 220
R3 N001 N011 500
R9 N006 N018 220
R17 N014 N013 1k
Q3 N001 N003 N005 0 NPN
Q5 N004 NC_01 N007 0 NPN
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1720 680
WIRE 736 -896 528 -896
WIRE 976 -896 736 -896
WIRE 1200 -896 976 -896
WIRE 1664 -896 1200 -896
WIRE 976 -784 976 -896
WIRE 736 -736 736 -816
WIRE 736 -736 704 -736
WIRE 752 -736 736 -736
WIRE 800 -736 752 -736
WIRE 912 -736 880 -736
WIRE 1584 -736 1424 -736
WIRE 1008 -688 976 -688
WIRE 1056 -688 1008 -688
WIRE 1200 -688 1200 -816
WIRE 1200 -688 1136 -688
WIRE 736 -656 736 -736
WIRE 1600 -640 1424 -640
WIRE 1280 -624 1280 -688
WIRE 1280 -624 1008 -624
WIRE 528 -608 528 -816
WIRE 624 -608 624 -736
WIRE 624 -608 592 -608
WIRE 672 -608 624 -608
WIRE 1008 -560 976 -560
WIRE 1024 -560 1008 -560
WIRE 1200 -560 1200 -688
WIRE 1200 -560 1104 -560
WIRE 1008 -528 1008 -560
WIRE 528 -512 528 -608
WIRE 752 -512 752 -736
WIRE 800 -512 752 -512
WIRE 912 -512 880 -512
WIRE 1504 -512 1456 -512
WIRE 1664 -512 1664 -736
WIRE 1664 -512 1584 -512
WIRE 1664 -496 1664 -512
WIRE 1296 -464 1008 -464
WIRE 1392 -464 1376 -464
WIRE 1200 -352 1200 -560
WIRE 736 -272 736 -560
WIRE 976 -272 976 -464
WIRE 1200 -272 976 -272
WIRE 1456 -272 1456 -416
WIRE 1456 -272 1200 -272
WIRE 1600 -272 1600 -640
WIRE 1664 -272 1664 -416
SYMBOL cap 992 -688 R0
SYMATTR InstName C4
SYMATTR Value 100n
SYMBOL cap 992 -528 R0
SYMATTR InstName C3
SYMATTR Value 100n
SYMBOL res 720 -752 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R7
SYMATTR Value 15k
SYMBOL res 1184 -912 R0
SYMATTR InstName R8
SYMATTR Value 220
SYMBOL res 512 -912 R0
SYMATTR InstName R3
SYMATTR Value 500
SYMBOL res 1184 -368 R0
SYMATTR InstName R9
SYMATTR Value 220
SYMBOL res 1600 -528 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R17
SYMATTR Value 1k
SYMBOL npn 912 -784 R0
SYMATTR InstName Q3
SYMBOL npn 1360 -736 R0
SYMATTR InstName Q5
* Z:\home\khalils\Downloads\files\data\raw_asc\2495a3daf3b3_ADA4528-1.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\ADA4528-1.asy)
V2 -V 0 -2.5
XU1 IN N001 +V -V OUT ADA4528 ;pnba In+)In-)V+)V-)OUT
Vin IN 0 SINE(0 1 10K)
Rload OUT 0 10K
R2 OUT N001 10K
R1 N001 0 10K
V1 +V 0 2.5
.tran 1m
.lib ADI.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1240 700
WIRE 432 -1232 416 -1232
WIRE 528 -1232 512 -1232
WIRE 544 -1232 528 -1232
WIRE 640 -1232 624 -1232
WIRE 128 -1152 128 -1168
WIRE 240 -1152 240 -1168
WIRE 528 -1120 528 -1232
WIRE 544 -1120 528 -1120
WIRE 640 -1104 640 -1232
WIRE 640 -1104 608 -1104
WIRE 768 -1104 640 -1104
WIRE 544 -1088 432 -1088
WIRE 768 -1088 768 -1104
WIRE 432 -1072 432 -1088
WIRE 128 -1056 128 -1072
WIRE 240 -1056 240 -1072
WIRE 768 -992 768 -1008
WIRE 432 -976 432 -992
SYMBOL voltage 128 -1168 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 2.5
SYMBOL res 640 -1248 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL Opamps\\ADA4528-1 576 -1168 R0
SYMATTR InstName U1
SYMBOL voltage 240 -1168 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName V2
SYMATTR Value -2.5
SYMBOL res 752 -1104 R0
SYMATTR InstName Rload
SYMATTR Value 10K
SYMBOL res 528 -1248 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10K
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)
FLAG 128 -1168 +V
FLAG 128 -1056 0
FLAG 432 -976 0
FLAG 768 -1104 OUT
FLAG 432 -1088 IN
FLAG 576 -1136 +V
FLAG 240 -1168 -V
FLAG 576 -1072 -V
FLAG 416 -1232 0
FLAG 768 -992 0
FLAG 240 -1056 0
TEXT 736 -952 Left 2 !.tran 1m
* Z:\tmp\asc_dec_bjh7r6w2\155f97ea00f2_L1_C4_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
V3 Vcc 0 10
R5 N001 Vin 10k
R3 Vref N004 2k
XU1 N004 N003 Vcc Vss Vo1 LM324 ;pnba In+)In-)V+)V-)OUT
R7 Vref N002 2k
R8 voIdeal N002 10k
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 2516 10852
WIRE 0 -400 -32 -400
WIRE 0 -368 0 -400
WIRE 112 -288 112 -304
WIRE 0 -272 0 -288
WIRE 80 -272 0 -272
WIRE 0 -256 0 -272
WIRE 208 -256 144 -256
WIRE 240 -256 208 -256
WIRE 80 -240 48 -240
WIRE 112 -192 112 -224
WIRE 0 -144 0 -176
WIRE 48 -128 48 -240
WIRE 112 -128 48 -128
WIRE 208 -128 208 -256
WIRE 208 -128 192 -128
WIRE 48 -112 48 -128
WIRE 304 -80 304 -112
WIRE 400 -80 400 -112
WIRE 48 0 48 -32
WIRE 48 0 16 0
WIRE 304 16 304 0
WIRE 400 16 400 0
WIRE 32 48 0 48
WIRE 32 80 32 48
WIRE 144 160 144 144
WIRE 32 176 32 160
WIRE 112 176 32 176
WIRE 32 192 32 176
WIRE 240 192 176 192
WIRE 256 192 240 192
WIRE 112 208 80 208
WIRE 144 256 144 224
WIRE 32 304 32 272
WIRE 80 320 80 208
WIRE 144 320 80 320
WIRE 240 320 240 192
WIRE 240 320 224 320
WIRE 80 336 80 320
WIRE 80 448 80 416
WIRE 80 448 48 448
SYMBOL voltage 304 -96 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 10
SYMBOL res 16 -272 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R5
SYMATTR Value 10k
SYMBOL res 96 432 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R3
SYMATTR Value 2k
SYMBOL OpAmps\\opamp2 144 128 R0
SYMATTR InstName U1
SYMATTR Value LM324
SYMBOL res 64 -16 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R7
SYMATTR Value 2k
SYMBOL res 208 -144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R8
SYMATTR Value 10k
FLAG 304 16 0
FLAG 400 -112 0
FLAG 304 -112 Vcc
FLAG 144 144 Vcc
FLAG 400 16 Vss
FLAG 144 256 Vss
FLAG 256 192 Vo1
FLAG 32 304 0
FLAG 48 448 Vref
FLAG 0 48 Vin
FLAG 112 -304 Vcc
FLAG 112 -192 Vss
FLAG 0 -144 0
FLAG 16 0 Vref
FLAG -32 -400 Vin
FLAG 240 -256 voIdeal
* Z:\home\khalils\Downloads\files\data\raw_asc\497754475c4d_blinky-power-supply-10W-open.asc
* Generated by LTspice 26.0.1 for Windows.
* At 10W input power and SWR 1:infinity (open), and at 2.4V / 1.2mA recovered DC power,\nthe diode peak current is 13mA, which is 3% of 427mA input peak current.\n3rd harmonic introduced by the power recovery circuit is -35dB below the carrier.
R5 load_hi N003 1Meg
D1 load_hi N001 DI_1N5711
V2 N002 0 2.4
R3 0 load_hi 50
R6 N002 N001 14500
R1 load_hi src_hi 25
R2 N003 src_lo 25
R4 N003 0 50
D2 N003 N001 DI_1N5711
V1 src_hi src_lo SINE(0 63.24 7MEG)
C1 N001 0 1n
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 0 .001 0.0009
.include spicemodels_schottky_diodes.txt
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -112 112 -144 112
WIRE -64 112 -112 112
WIRE 64 112 64 96
WIRE 64 112 16 112
WIRE 144 112 64 112
WIRE 160 112 144 112
WIRE 240 112 224 112
WIRE 288 112 240 112
WIRE 352 112 288 112
WIRE 480 112 432 112
WIRE 480 144 480 112
WIRE 64 160 64 112
WIRE 288 160 288 112
WIRE -112 240 -112 112
WIRE 144 240 144 112
WIRE 288 256 288 224
WIRE 480 256 480 224
WIRE 64 272 64 240
WIRE 64 272 16 272
WIRE 16 288 16 272
WIRE 64 336 64 272
WIRE -112 464 -112 320
WIRE -112 464 -144 464
WIRE -64 464 -112 464
WIRE 64 464 64 416
WIRE 64 464 16 464
WIRE 144 464 144 320
WIRE 144 464 64 464
WIRE 160 464 144 464
WIRE 240 464 240 112
WIRE 240 464 224 464
SYMBOL schottky 160 480 R270
WINDOW 0 35 33 VTop 2
WINDOW 3 -3 51 VBottom 2
SYMATTR InstName D2
SYMATTR Value DI_1N5711
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 80 432 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R4
SYMATTR Value 50
SYMBOL schottky 160 128 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 83 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value DI_1N5711
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 448 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value 14500
SYMBOL res 80 256 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R3
SYMATTR Value 50
SYMBOL voltage 480 128 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 2.4
SYMBOL res 32 448 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 25
SYMBOL res 128 224 R0
SYMATTR InstName R5
SYMATTR Value 1Meg
SYMBOL res 32 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 43 44 VTop 2
SYMATTR InstName R1
SYMATTR Value 25
SYMBOL cap 272 160 R0
SYMATTR InstName C1
SYMATTR Value 1n
SYMBOL voltage -112 224 R0
WINDOW 3 -120 110 Left 2
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value SINE(0 63.24 7MEG)
SYMATTR InstName V1
FLAG 288 256 0
FLAG 480 256 0
FLAG 16 288 0
FLAG -144 112 src_hi
FLAG -144 464 src_lo
FLAG 64 96 load_hi
TEXT 296 312 Left 2 !.tran 0 .001 0.0009
TEXT 296 344 Left 2 !.include spicemodels_schottky_diodes.txt
TEXT -192 552 Left 2 ;At 10W input power and SWR 1:infinity (open), and at 2.4V / 1.2mA recovered DC power,\nthe diode peak current is 13mA, which is 3% of 427mA input peak current.\n3rd harmonic introduced by the power recovery circuit is -35dB below the carrier.
* Z:\tmp\asc_dec_bjh7r6w2\171fdc2e8dcf_Design_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
XU2 N004 OUT V+ V- OUT OPA197 ;pnba In+)In-)V+)V-)OUT
R1 N006 N005 {Rdac}
V3 N005 0 PULSE(0 {Vref} 10u 10n 10n 10u) AC 1
C1 N002 N001 10p
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1260 680
WIRE 560 128 560 96
WIRE 560 144 560 128
WIRE 608 144 592 144
WIRE 704 144 672 144
WIRE 944 224 848 224
WIRE 1104 224 1008 224
WIRE 128 240 128 224
WIRE 240 240 240 224
WIRE 352 240 352 224
WIRE 560 240 560 224
WIRE 592 240 592 144
WIRE 592 240 560 240
WIRE 608 240 592 240
WIRE 704 240 704 144
WIRE 704 240 688 240
WIRE 464 272 448 272
WIRE 560 272 560 240
WIRE 560 272 544 272
WIRE 1104 272 1104 224
WIRE 1104 272 992 272
WIRE 992 320 992 272
WIRE 1008 320 992 320
WIRE 560 336 560 272
WIRE 592 336 560 336
WIRE 1104 336 1104 272
WIRE 1104 336 1072 336
WIRE 1184 336 1104 336
WIRE 704 352 704 240
WIRE 704 352 656 352
WIRE 736 352 704 352
WIRE 848 352 848 224
WIRE 848 352 816 352
WIRE 864 352 848 352
WIRE 976 352 944 352
WIRE 1008 352 976 352
WIRE 240 368 144 368
WIRE 464 368 320 368
WIRE 560 368 544 368
WIRE 592 368 560 368
WIRE 976 368 976 352
WIRE 560 384 560 368
WIRE 144 400 144 368
WIRE 976 448 976 432
WIRE 144 496 144 480
SYMBOL Opamps/opamp2 1040 272 R0
SYMATTR InstName U2
SYMATTR Value OPA197
SYMBOL res 560 352 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value 0
SYMBOL res 336 352 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value {Rdac}
SYMBOL voltage 144 384 R0
WINDOW 123 24 118 Left 2
SYMATTR Value2 AC 1
SYMATTR InstName V3
SYMATTR Value PULSE(0 {Vref} 10u 10n 10n 10u)
SYMBOL cap 672 128 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 10p
FLAG 240 240 0
FLAG 352 240 0
FLAG 624 320 V+
FLAG 624 384 V-
FLAG 144 496 0
FLAG 128 240 0
FLAG 560 128 Vref
FLAG 448 272 0
FLAG 560 448 0
FLAG 1040 304 V+
FLAG 1040 368 V-
FLAG 976 448 0
FLAG 1184 336 OUT
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC4150.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\LTC4150.asy)
R1 N001 N008 10K
Vbatt N004 0 3.7
R3 N001 N007 10K
Rsense N002 N004 100m
R2 N001 N003 10K
Rload N002 0 10
C1 N005 N006 4.7
I2 0 N002 PWL(0 0 0.35 0 +1u 0.8 0.7 0.8 +1u 0 +200m 0 +1u 0.45 +400m 0.45 +300m 0.8)
V1 N001 0 3.3
XU1 N002 N004 N005 N006 N007 N008 0 N002 N003 N003 LTC4150 ;pnba Sense+)Sense-)Cf+)Cf-)_SHDN)POL)GND)Vdd)_CLR)_INT
.tran 2.2
.lib LTC4150.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1712 680
WIRE -336 -144 -416 -144
WIRE 480 -144 -336 -144
WIRE 624 -144 480 -144
WIRE -336 -128 -336 -144
WIRE 480 -64 480 -144
WIRE -336 -32 -336 -48
WIRE -144 -16 -256 -16
WIRE 48 -16 -144 -16
WIRE 400 -16 48 -16
WIRE -256 0 -256 -16
WIRE -144 16 -144 -16
WIRE -416 32 -416 -144
WIRE 624 32 624 -144
WIRE 48 48 48 -16
WIRE 80 48 48 48
WIRE 480 48 480 16
WIRE 480 48 368 48
WIRE -256 96 -256 80
WIRE -144 128 -144 96
WIRE 80 128 -144 128
WIRE 480 128 480 48
WIRE 480 128 368 128
WIRE -144 144 -144 128
WIRE 80 208 -16 208
WIRE 400 208 400 -16
WIRE 400 208 368 208
WIRE 1104 208 400 208
WIRE 1216 208 1184 208
WIRE -16 224 -16 208
WIRE -144 240 -144 224
WIRE 80 288 -16 288
WIRE 400 288 368 288
WIRE -416 368 -416 112
WIRE 80 368 -416 368
WIRE 624 368 624 112
WIRE 624 368 368 368
SYMBOL res 464 -80 R0
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL cap -32 224 R0
WINDOW 3 34 42 Left 2
WINDOW 0 28 9 Left 2
SYMATTR Value 4.7
SYMATTR InstName C1
SYMBOL res 608 16 R0
SYMATTR InstName R1
SYMATTR Value 10K
SYMBOL current 1184 208 R90
WINDOW 0 -32 40 VBottom 2
WINDOW 3 32 40 VTop 2
WINDOW 123 74 40 VTop 2
WINDOW 39 53 40 VTop 2
SYMATTR InstName I2
SYMATTR Value PWL(0 0 0.35 0 +1u 0.8 0.7 0.8 +1u 0 +200m 0 +1u 0.45 +400m 0.45 +300m 0.8)
SYMBOL res -160 0 R0
SYMATTR InstName Rsense
SYMATTR Value 100m
SYMBOL voltage -144 128 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName Vbatt
SYMATTR Value 3.7
SYMBOL LTC4150 224 208 R0
SYMATTR InstName U1
SYMBOL res -432 16 R0
SYMATTR InstName R3
SYMATTR Value 10K
SYMBOL voltage -336 -144 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 3.3
SYMBOL res -272 -16 R0
SYMATTR InstName Rload
SYMATTR Value 10
FLAG 400 288 0
FLAG -336 -32 0
FLAG -144 240 0
FLAG -256 96 0
FLAG 1216 208 0
TEXT 512 424 Left 2 !.tran 2.2