Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC1772.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\LTC1772.asy)
R4 N002 0 10K
R3 OUT N005 169K
MQ1 N006 N004 N001 N001 FDC638P
R1 N001 IN 0.03
C1 OUT 0 47 Rser=.1
V1 IN 0 5
C2 N003 N002 220p
D1 0 N006 MBRS340
R2 N005 0 78.7K
Rload OUT 0 2
L1 N006 OUT 4.7
XU1 N003 0 N005 N001 IN N004 LTC1772 ;pnba Ith/Run)GND)FB)Sense-)Vin)Pgate
.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 250u startup
.lib LTC1772.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2248 1200
WIRE 1600 544 1312 544
WIRE 1760 544 1600 544
WIRE 1600 560 1600 544
WIRE 1760 560 1760 544
WIRE 1312 576 1312 544
WIRE 1600 656 1600 640
WIRE 1600 656 1488 656
WIRE 1760 656 1760 640
WIRE 1600 720 1600 656
WIRE 960 736 944 736
WIRE 1056 736 1040 736
WIRE 1136 736 1120 736
WIRE 1552 736 1488 736
WIRE 1520 816 1488 816
WIRE 1600 832 1600 816
WIRE 1680 832 1600 832
WIRE 1840 832 1760 832
WIRE 1952 832 1840 832
WIRE 2048 832 1952 832
WIRE 1600 848 1600 832
WIRE 1840 848 1840 832
WIRE 1952 848 1952 832
WIRE 2048 848 2048 832
WIRE 1312 928 1312 896
WIRE 1600 928 1600 912
WIRE 1952 944 1952 912
WIRE 2048 944 2048 928
WIRE 1520 960 1520 816
WIRE 1840 960 1840 928
WIRE 1840 960 1520 960
WIRE 1840 976 1840 960
WIRE 1840 1072 1840 1056
SYMBOL res 2032 832 R0
SYMATTR InstName Rload
SYMATTR Value 2
SYMBOL RES 1584 656 M180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R1
SYMATTR Value 0.03
SYMBOL VOLTAGE 1760 544 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL res 1056 720 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 10K
SYMBOL res 1824 960 R0
SYMATTR InstName R2
SYMATTR Value 78.7K
SYMBOL POWERPRODUCTS\\LTC1772 1312 736 R0
SYMATTR InstName U1
SYMBOL schottky 1584 912 M180
WINDOW 0 37 58 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value MBRS340
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL cap 1120 720 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 220p
SYMBOL ind 1664 848 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 4.7
SYMBOL polcap 1936 848 R0
SYMATTR InstName C1
SYMATTR Value 47
SYMATTR SpiceLine Rser=.1
SYMBOL res 1824 832 R0
SYMATTR InstName R3
SYMATTR Value 169K
SYMBOL PMOS 1552 816 M180
WINDOW 0 56 80 Left 2
WINDOW 3 56 44 Left 2
SYMATTR InstName Q1
SYMATTR Value FDC638P
FLAG 2048 832 OUT
FLAG 1760 656 0
FLAG 1952 944 0
FLAG 2048 944 0
FLAG 1840 1072 0
FLAG 944 736 0
FLAG 1600 928 0
FLAG 1312 928 0
FLAG 1760 544 IN
TEXT 1496 1016 Left 2 !.tran 250u startup
* Z:\home\khalils\Downloads\files\data\raw_asc\LT6654-3.3.asc
* Generated by LTspice 26.0.1 for Windows.
* Turn on and off 5mA of sink current\nand then on and off 5mA of source current
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\References\LT6654-3.3.asy)
XU1 0 IN OUT LT6654-3.3 ;pnba GND)IN)OUT
C1 OUT 0 1
V2 N002 0 PULSE(0 1 600u 10n 10n 200u 10m)
S2 OUT IN N001 0 5mA
V1 IN 0 4
V3 N001 0 PULSE(0 1 100u 10n 10n 200u 10m)
S1 0 OUT N002 0 5mA
.tran 1m
.model 5mA SW(Ron=10 Roff=1Meg Vt=.5 Vh=-.1 Ilimit=5m level=2)
.lib LT6654-3.3.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 4212 1120
WIRE 2352 256 1840 256
WIRE 2352 272 2352 256
WIRE 2640 288 2400 288
WIRE 2752 288 2720 288
WIRE 2416 336 2400 336
WIRE 1840 384 1840 256
WIRE 1840 384 1728 384
WIRE 1872 384 1840 384
WIRE 2176 384 2096 384
WIRE 2352 384 2352 352
WIRE 2352 384 2176 384
WIRE 2448 384 2352 384
WIRE 1728 400 1728 384
WIRE 2176 400 2176 384
WIRE 2352 416 2352 384
WIRE 2640 432 2400 432
WIRE 2752 432 2720 432
WIRE 1984 480 1984 448
WIRE 2176 480 2176 464
WIRE 2416 480 2400 480
WIRE 1728 496 1728 480
WIRE 2352 512 2352 496
SYMBOL voltage 1728 384 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 4
SYMBOL voltage 2624 288 M90
WINDOW 123 74 56 VTop 2
WINDOW 39 53 56 VTop 2
WINDOW 3 32 56 VTop 2
WINDOW 0 -32 56 VBottom 2
SYMATTR Value PULSE(0 1 100u 10n 10n 200u 10m)
SYMATTR InstName V3
SYMBOL sw 2352 512 R180
WINDOW 0 -7 106 Right 2
WINDOW 3 -7 12 Right 2
SYMATTR InstName S1
SYMATTR Value 5mA
SYMBOL voltage 2624 432 M90
WINDOW 123 74 56 VTop 2
WINDOW 39 53 56 VTop 2
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName V2
SYMATTR Value PULSE(0 1 600u 10n 10n 200u 10m)
SYMBOL sw 2352 368 R180
WINDOW 0 -9 102 Right 2
WINDOW 3 -9 14 Right 2
SYMATTR InstName S2
SYMATTR Value 5mA
SYMBOL cap 2160 400 R0
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL LT6654-3.3 1984 384 R0
SYMATTR InstName U1
FLAG 1984 480 0
FLAG 2448 384 OUT
FLAG 1728 384 IN
FLAG 1728 496 0
FLAG 2176 480 0
FLAG 2352 512 0
FLAG 2416 480 0
FLAG 2752 432 0
FLAG 2416 336 0
FLAG 2752 288 0
TEXT 2080 576 Left 2 !.tran 1m\n.model 5mA SW(Ron=10 Roff=1Meg Vt=.5 Vh=-.1 Ilimit=5m level=2)
TEXT 2000 248 Bottom 2 ;Turn on and off 5mA of sink current\nand then on and off 5mA of source current
* Z:\home\khalils\Downloads\files\data\raw_asc\LT6231.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\LT6231.asy)
V2 -V 0 -5
V1 +V 0 5
XU1 N003 N001 N002 +V -V LT6231 ;pnba IN+)IN-)OUT)VCC)VEE
V3 N003 0 SINE(0 1 1K)
R1 N002 N001 1K
R2 N001 0 1K
.tran 3m
.lib LTC2.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 896 680
WIRE -80 80 -96 80
WIRE 16 80 0 80
WIRE 32 80 16 80
WIRE 144 80 112 80
WIRE -368 160 -368 144
WIRE -240 160 -240 144
WIRE 80 192 80 176
WIRE 16 208 16 80
WIRE 48 208 16 208
WIRE 144 224 144 80
WIRE 144 224 112 224
WIRE 48 240 -64 240
WIRE -368 256 -368 240
WIRE -240 256 -240 240
WIRE -64 256 -64 240
WIRE 80 272 80 256
WIRE -64 352 -64 336
SYMBOL voltage -64 240 R0
SYMATTR InstName V3
SYMATTR Value SINE(0 1 1K)
SYMBOL opamps\\LT6231 80 224 R0
SYMATTR InstName U1
SYMBOL res 16 64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1K
SYMBOL voltage -368 144 R0
SYMATTR InstName V2
SYMATTR Value -5
SYMBOL voltage -240 144 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL res 128 64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1K
FLAG -240 256 0
FLAG 80 176 +V
FLAG -240 144 +V
FLAG 80 272 -V
FLAG -368 256 0
FLAG -368 144 -V
FLAG -96 80 0
FLAG -64 352 0
TEXT 216 352 Left 2 !.tran 3m
* Z:\home\khalils\Downloads\files\data\raw_asc\LT8646S.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\LT8646S.asy)
L1 N002 OUT 2.2 Rser=10m
C5 OUT N004 2.2p
R3 N004 0 243K
C4 OUT 0 100 V=6.3 Irms=0 Rser=0.002 Lser=0 mfg="TDK" pn="C4532X5ROJ47@M" type="X5R"
V1 IN 0 12
Rload OUT 0 .625
R2 OUT N004 1Meg
R4 N005 N006 7.5k
C1 N003 0 1n
C2 N006 0 330p
R1 N001 0 41.2K
XU1 OUT NC_01 NC_02 IN IN 0 IN N002 N001 0 N003 0 NC_03 N004 0 NC_04 N005 LT8646S ;pnba BIAS)INTVCC)BST)VIN1)VIN2)GND1)EN/UV)SW)RT)GND2)TR/SS)MODE)PG)FB)GND)CLKOUT)VC
.tran 1m startup
.lib LT8646S.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1848 760
WIRE 96 -80 0 -80
WIRE 208 -80 96 -80
WIRE 416 -80 208 -80
WIRE 0 -64 0 -80
WIRE 208 -64 208 -80
WIRE 96 0 96 -80
WIRE 112 0 96 0
WIRE 416 0 416 -80
WIRE 416 0 400 0
WIRE 0 32 0 16
WIRE 112 96 96 96
WIRE 416 96 400 96
WIRE 544 192 400 192
WIRE 112 288 96 288
WIRE 16 384 0 384
WIRE 112 384 96 384
WIRE 432 384 400 384
WIRE 544 384 544 192
WIRE 544 384 512 384
WIRE 656 384 544 384
WIRE 752 384 656 384
WIRE 848 384 752 384
WIRE 544 400 544 384
WIRE 656 400 656 384
WIRE 752 400 752 384
WIRE 848 400 848 384
WIRE 32 480 0 480
WIRE 112 480 96 480
WIRE 544 480 400 480
WIRE 656 480 656 464
WIRE 656 480 544 480
WIRE 544 496 544 480
WIRE 752 496 752 464
WIRE 848 496 848 480
WIRE 256 560 256 544
WIRE 336 560 336 544
WIRE 544 592 544 576
WIRE 336 656 336 640
WIRE 336 736 336 720
SYMBOL res 528 480 R0
SYMATTR InstName R3
SYMATTR Value 243K
SYMBOL cap 320 656 R0
SYMATTR Value 330p
SYMATTR InstName C2
SYMBOL res 112 368 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 41.2K
SYMBOL res 528 384 R0
SYMATTR InstName R2
SYMATTR Value 1Meg
SYMBOL ind 416 400 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 2.2
SYMATTR SpiceLine Rser=10m
SYMBOL cap 96 496 M270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName C1
SYMATTR Value 1n
SYMBOL res 832 384 R0
SYMATTR InstName Rload
SYMATTR Value .625
SYMBOL LT8646S 256 240 R0
SYMATTR InstName U1
SYMBOL cap 736 400 R0
SYMATTR InstName C4
SYMATTR Value 100
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.002 Lser=0 mfg="TDK" pn="C4532X5ROJ47@M" type="X5R"
SYMBOL cap 640 400 R0
SYMATTR InstName C5
SYMATTR Value 2.2p
SYMBOL res 320 544 R0
SYMATTR InstName R4
SYMATTR Value 7.5k
SYMBOL voltage 0 -80 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 12
FLAG 256 560 0
FLAG 0 384 0
FLAG 0 32 0
FLAG 752 496 0
FLAG 544 592 0
FLAG 848 496 0
FLAG 848 384 OUT
FLAG 0 -80 IN
FLAG 96 96 0
FLAG 416 96 0
FLAG 0 480 0
FLAG 96 288 0
FLAG 336 736 0
TEXT 704 576 Left 2 !.tran 1m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\LT3021-1.2.asc
* Generated by LTspice 26.0.1 for Windows.
V1 N001 0 PWL(0 0 1 10)
Rload OUT 0 100
C1 OUT 0 10
XU1 MP_01 MP_02 OUT MP_03 MP_04 MP_05 OUT MP_06 N001 0 MP_07 N001 LT3021-1.2 ;pnba ))OUT))))SENSE))_SHDN)GND))IN
.tran 1
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LT3021-1.2.asy)
.lib LT3021.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 0 160 -176 160
WIRE 16 160 0 160
WIRE 352 160 304 160
WIRE 432 160 352 160
WIRE 528 160 432 160
WIRE 432 176 432 160
WIRE 528 176 528 160
WIRE -176 192 -176 160
WIRE 0 256 0 160
WIRE 16 256 0 256
WIRE 352 256 352 160
WIRE 352 256 304 256
WIRE 432 272 432 240
WIRE 528 272 528 256
WIRE -176 288 -176 272
WIRE 160 336 160 320
FLAG 160 336 0
FLAG 432 272 0
FLAG 528 272 0
FLAG -176 288 0
FLAG 528 160 OUT
SYMBOL voltage -176 176 R0
SYMATTR InstName V1
SYMATTR Value PWL(0 0 1 10)
SYMBOL res 512 160 R0
SYMATTR InstName Rload
SYMATTR Value 100
SYMBOL cap 416 176 R0
SYMATTR InstName C1
SYMATTR Value 10
SYMBOL PowerProducts\\LT3021-1.2 160 192 R0
SYMATTR InstName U1
TEXT 440 336 Left 2 !.tran 1
* Z:\home\khalils\Downloads\files\data\raw_asc\07662abea9f7_Vswitch.asc
* Generated by LTspice 26.0.1 for Windows.
* This example schematic is supplied for informational/educational purposes only.
* This shows an example of suppling a .model statement as a SPICE\ndirective directly on the schematic to define a voltage controlled switch.
R1 N001 OUT 1K
V1 IN 0 PULSE(0 1 0 .5m .5m 0 1m)
V2 N001 0 3.3
S1 0 OUT IN 0 MYSW
.model MYSW SW(Ron=1 Roff=1Meg Vt=.5 Vh=-.4)
.tran 3m
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1276 680
WIRE 224 144 192 144
WIRE 336 144 304 144
WIRE 192 176 192 144
WIRE 144 192 -208 192
WIRE 336 192 336 144
WIRE -208 208 -208 192
WIRE 144 240 128 240
WIRE 192 272 192 256
WIRE 336 304 336 272
WIRE -208 320 -208 288
SYMBOL res 320 128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1K
SYMBOL voltage 336 176 R0
SYMATTR InstName V2
SYMATTR Value 3.3
SYMBOL sw 192 272 M180
WINDOW 0 12 104 Left 2
WINDOW 3 17 11 Left 2
SYMATTR InstName S1
SYMATTR Value MYSW
SYMBOL voltage -208 192 R0
WINDOW 3 13 107 Left 2
SYMATTR Value PULSE(0 1 0 .5m .5m 0 1m)
SYMATTR InstName V1
FLAG 336 304 0
FLAG 192 272 0
FLAG 128 240 0
FLAG -208 320 0
FLAG -208 192 IN
FLAG 192 144 OUT
TEXT -224 400 Left 2 !.model MYSW SW(Ron=1 Roff=1Meg Vt=.5 Vh=-.4)
TEXT 192 344 Left 2 !.tran 3m
TEXT 96 432 Top 1 ;This example schematic is supplied for informational/educational purposes only.
TEXT 56 88 Bottom 2 ;This shows an example of suppling a .model statement as a SPICE\ndirective directly on the schematic to define a voltage controlled switch.
* Z:\home\khalils\Downloads\files\data\raw_asc\LT3463.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\LT3463.asy)
D1 OUT2 N006 1N5817
Rload1 OUT1 0 1.5K
R4 N004 OUT2 1Meg
C1 N006 N005 1
R3 N003 N004 154K
R2 N002 0 90.9K
Rload2 OUT2 0 500
C2 OUT1 0 2.2
V1 IN 0 4
C3 OUT2 0 4.7
R1 OUT1 N002 1Meg
XU1 OUT1 N001 IN N005 N006 N004 N003 IN IN N002 0 LT3463 ;pnba Vout1)SW1)Vin)SW2)D2)FB2)Vref)_SHDN2)_SHDN1)FB1)GND
L1 IN N001 10
L2 IN N005 10
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 1.5m startup
.lib LT3463.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -64 32 -160 32
WIRE 16 32 -64 32
WIRE 32 32 16 32
WIRE 128 32 112 32
WIRE 464 32 240 32
WIRE 560 32 464 32
WIRE 656 32 560 32
WIRE -160 48 -160 32
WIRE 464 48 464 32
WIRE 656 48 656 32
WIRE 560 64 560 32
WIRE 16 80 16 32
WIRE 128 80 128 32
WIRE 240 80 240 32
WIRE -160 144 -160 128
WIRE 464 144 464 128
WIRE 464 144 288 144
WIRE 560 144 560 128
WIRE 656 144 656 128
WIRE -64 160 -64 32
WIRE -32 160 -64 160
WIRE 464 160 464 144
WIRE 352 224 288 224
WIRE 464 256 464 240
WIRE -64 288 -64 160
WIRE -32 288 -64 288
WIRE 352 304 288 304
WIRE 352 352 352 304
WIRE 16 384 16 368
WIRE -64 464 -64 288
WIRE 0 464 -64 464
WIRE 128 464 128 368
WIRE 128 464 80 464
WIRE 144 464 128 464
WIRE 240 464 240 368
WIRE 240 464 208 464
WIRE 256 464 240 464
WIRE 352 464 352 432
WIRE 352 464 320 464
WIRE 464 464 352 464
WIRE 352 480 352 464
WIRE 464 480 464 464
WIRE 352 576 352 544
WIRE 464 576 464 560
SYMBOL schottky 320 448 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D1
SYMATTR Value 1N5817
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL cap 336 480 R0
SYMATTR InstName C3
SYMATTR Value 4.7
SYMBOL res 336 208 R0
SYMATTR InstName R3
SYMATTR Value 154K
SYMBOL res 448 144 R0
SYMATTR InstName R2
SYMATTR Value 90.9K
SYMBOL ind 16 48 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 10
SYMBOL res 336 336 R0
SYMATTR InstName R4
SYMATTR Value 1Meg
SYMBOL res 640 32 R0
SYMATTR InstName Rload1
SYMATTR Value 1.5K
SYMBOL PowerProducts\\LT3463 128 224 R0
SYMATTR InstName U1
SYMBOL cap 208 448 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL cap 544 64 R0
SYMATTR InstName C2
SYMATTR Value 2.2
SYMBOL res 448 464 R0
SYMATTR InstName Rload2
SYMATTR Value 500
SYMBOL ind -16 480 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L2
SYMATTR Value 10
SYMBOL res 448 32 R0
SYMATTR InstName R1
SYMATTR Value 1Meg
SYMBOL voltage -160 32 R0
WINDOW 3 25 97 Left 2
SYMATTR Value 4
SYMATTR InstName V1
FLAG 16 384 0
FLAG -160 144 0
FLAG 464 256 0
FLAG 560 144 0
FLAG 352 576 0
FLAG 464 576 0
FLAG 656 144 0
FLAG -160 32 IN
FLAG 656 32 OUT1
FLAG 464 464 OUT2
TEXT 456 344 Left 2 !.tran 1.5m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1880.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\LT1880.asy)
R1 N003 N002 100K
V2 -V 0 -1.5
R2 N002 N001 1Meg
XU1 0 N002 +V -V N003 LT1880 ;pnba In+)In-)V+)V-)OUT
V1 +V 0 1.5
V3 N001 0 SINE(0 13.5 1K)
.tran 3m
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 896 680
WIRE 0 96 -112 96
WIRE 128 96 80 96
WIRE 144 96 128 96
WIRE 256 96 224 96
WIRE -112 112 -112 96
WIRE -368 128 -368 112
WIRE -240 128 -240 112
WIRE -112 208 -112 192
WIRE 192 208 192 192
WIRE 128 224 128 96
WIRE 160 224 128 224
WIRE -368 240 -368 208
WIRE -240 240 -240 208
WIRE 256 240 256 96
WIRE 256 240 224 240
WIRE 160 256 128 256
WIRE 192 288 192 272
SYMBOL opamps\\LT1880 192 240 R0
SYMATTR InstName U1
SYMBOL voltage -240 112 R0
SYMATTR InstName V1
SYMATTR Value 1.5
SYMBOL res 240 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 100K
SYMBOL voltage -112 96 R0
SYMATTR InstName V3
SYMATTR Value SINE(0 13.5 1K)
SYMBOL res 96 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1Meg
SYMBOL voltage -368 112 R0
SYMATTR InstName V2
SYMATTR Value -1.5
FLAG -240 240 0
FLAG 192 192 +V
FLAG -240 112 +V
FLAG 192 288 -V
FLAG -368 240 0
FLAG -368 112 -V
FLAG -112 208 0
FLAG 128 256 0
TEXT -72 304 Left 2 !.tran 3m
* Z:\tmp\asc_dec_bjh7r6w2\14d447f3b91a_Lab05Pt2_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
M6 V3 N004 N007 N006 NMOS l=0.1u w=4u
R1 N001 Vc 15k
M5 N007 N004 N006 N006 NMOS l=0.1u w=4u
M14 N003 N004 V3 N003 PMOS l=0.1u w=4u
C3 Vc V3 22n
M9 N002 VTrigger N005 N002 PMOS l=0.1u w=4u
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1176 680
WIRE 1088 -112 480 -112
WIRE -224 -80 -256 -80
WIRE -96 -80 -224 -80
WIRE 800 -80 480 -80
WIRE 832 -80 800 -80
WIRE 928 -80 832 -80
WIRE 960 -80 928 -80
WIRE 1088 -64 1088 -112
WIRE -224 -32 -224 -80
WIRE -224 -32 -256 -32
WIRE 832 -32 832 -80
WIRE 832 -32 800 -32
WIRE 960 -32 960 -80
WIRE 960 -32 928 -32
WIRE -144 0 -224 0
WIRE 752 32 752 0
WIRE 880 32 880 0
WIRE 880 32 752 32
WIRE -256 48 -256 16
WIRE -160 48 -256 48
WIRE -96 48 -160 48
WIRE 752 48 752 32
WIRE 752 48 480 48
WIRE 800 48 800 16
WIRE 816 48 800 48
WIRE 928 48 928 16
WIRE 928 48 816 48
WIRE 960 48 928 48
WIRE 992 48 960 48
WIRE 1088 48 1088 16
WIRE 1088 48 1056 48
WIRE -368 80 -400 80
WIRE -304 80 -304 0
WIRE -304 80 -368 80
WIRE -224 80 -224 0
WIRE -224 80 -304 80
WIRE -160 80 -160 48
WIRE 816 80 816 48
WIRE 848 128 816 128
WIRE -224 160 -224 80
WIRE 752 160 752 48
WIRE 768 160 752 160
WIRE 1088 192 1088 48
WIRE 1088 192 384 192
WIRE 816 208 816 176
WIRE 848 256 848 128
WIRE 848 256 816 256
WIRE 752 288 752 160
WIRE 768 288 752 288
WIRE 816 320 816 304
WIRE 816 320 368 320
WIRE 848 320 848 256
WIRE 848 320 816 320
SYMBOL nmos4 768 80 R0
SYMATTR InstName M6
SYMATTR Value2 l=0.1u w=4u
SYMBOL res 1072 -80 R0
SYMATTR InstName R1
SYMATTR Value 15k
SYMBOL nmos4 768 208 R0
SYMATTR InstName M5
SYMATTR Value2 l=0.1u w=4u
SYMBOL pmos4 880 -80 R0
SYMATTR InstName M14
SYMATTR Value2 l=0.1u w=4u
SYMBOL cap 1056 32 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value 22n
SYMBOL pmos4 -304 -80 R0
SYMATTR InstName M9
SYMATTR Value2 l=0.1u w=4u
FLAG 960 48 V3
FLAG -368 80 VTrigger
FLAG -480 80 0
FLAG 1088 48 Vc
* Z:\home\khalils\Downloads\files\data\raw_asc\ADM7160-1.8.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\ADM7160-1.8.asy)
XU1 IN 0 IN MP_01 OUT ADM7160-x.x T=800K ;pnba Vin)GND)EN))Vout
C1 OUT 0 1
Rload OUT 0 18
V1 IN 0 5
.tran 500u startup
.lib ADM7160-x.x.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2808 1464
WIRE 1824 880 1696 880
WIRE 1984 880 1824 880
WIRE 1696 896 1696 880
WIRE 1984 896 1984 880
WIRE 1696 992 1696 976
WIRE 1824 1024 1824 880
WIRE 1856 1024 1824 1024
WIRE 2160 1024 2112 1024
WIRE 2256 1024 2160 1024
WIRE 2160 1040 2160 1024
WIRE 2256 1040 2256 1024
WIRE 2160 1136 2160 1104
WIRE 2256 1136 2256 1120
WIRE 1984 1168 1984 1152
SYMBOL VOLTAGE 1696 880 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL PowerProducts\\ADM7160-1.8 1984 1024 R0
SYMATTR InstName U1
SYMBOL cap 2144 1040 R0
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL res 2240 1024 R0
SYMATTR InstName Rload
SYMATTR Value 18
FLAG 2256 1024 OUT
FLAG 2256 1136 0
FLAG 1696 992 0
FLAG 1696 880 IN
FLAG 1984 1168 0
FLAG 2160 1136 0
TEXT 2144 1200 Left 2 !.tran 500u startup
* Z:\home\khalils\Downloads\files\data\raw_asc\0e006c79e836_lamp1.asc
* Generated by LTspice 26.0.1 for Windows.
* .param Kc=120 Kf=.7p CTf=5m RTf=10k\n.param Ka=temp-kelvin; ambient temp in deg K
* .param Kc=120 Kf=.7p CTf=5m RTf=10k\n.param Ka=temp-Kelvin ; ambient temp converted to degrees K\nBCf 1 2 I=V(1,2)*Kc/V(Tf)**1.2 ; conductance of filament\nBTf 0 Tf I=V(1,2)*I(BCf)-Kf*(V(Tf)**4-{Ka**4}) ; temp of filament\nCfa Tf Ta {CTf} Rpar={RTf} ; thermal capacitance and res of filament\nVa Ta 0 {Ka} ; ambient temperature in degrees K
* Incandescent Lamp Model by analog@ieee.org
* Lamp 20W, 12V
* My guess is Ramb=Rn/10, but you can enter here your measured resistance
* if lamp is not powered(cold resistance).
*.PARAM Tfil=1800
*.PARAM Tfilk=Tfil+273.15
* Adjust time constant with CTf
Va Tambk 0 {Tambk}
BCf 1 2 I=V(1,2)*Kc/V(Tfilk)**1.2
BTf 0 Tfilk I=V(1,2)*I(BCf)-{Kf*(V(Tfilk)**4-V(tambk)**4)}
Cfa Tfilk Tambk {CTf} Rpar={RTf}
.PARAM Pn=20
.PARAM Vn=12
.PARAM Rn=Vn*Vn/Pn
.PARAM Ramb=Rn/10
.PARAM Tamb=25
.PARAM Tambk=Tamb+273.15
.PARAM Tfilk=Tambk*(Rn/Ramb)**(1/1.2)
.PARAM Kc=1/Ramb*Tambk**1.2
.PARAM Kf=(Pn+(Tambk-Tfilk)/RTF)/(Tfilk**4-Tambk**4)
.param CTf=100m RTf=1k
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1224 680
WIRE 0 432 0 384
WIRE 0 304 0 256
WIRE 240 384 240 432
WIRE -256 256 -256 304
WIRE -256 384 -256 432
WIRE -256 432 -288 432
WIRE -288 256 -256 256
WIRE 240 256 240 304
WIRE 80 256 32 256
WIRE 240 256 208 256
WIRE 32 256 0 256
WIRE 208 256 144 256
IOPIN -288 256 In
IOPIN -288 432 In
SYMBOL voltage 240 288 R0
WINDOW 3 45 60 Left 0
SYMATTR Value {Tambk}
SYMATTR InstName Va
SYMBOL bi 0 384 R180
WINDOW 0 24 88 Left 0
WINDOW 3 50 199 Right 0
SYMATTR InstName BTf
SYMATTR Value I=V(1,2)*I(BCf)-{Kf*(V(Tfilk)**4-V(tambk)**4)}
SYMBOL cap 80 272 R270
WINDOW 0 32 32 VTop 0
WINDOW 3 0 32 VBottom 0
WINDOW 39 -28 32 VBottom 0
SYMATTR InstName Cfa
SYMATTR Value {CTf}
SYMATTR SpiceLine Rpar={RTf}
SYMBOL bi -256 304 R0
WINDOW 3 41 -98 Center 0
SYMATTR Value I=V(1,2)*Kc/V(Tfilk)**1.2
SYMATTR InstName BCf
FLAG 0 432 0
FLAG 240 432 0
FLAG 32 256 Tfilk
FLAG 208 256 Tambk
FLAG -288 256 1
FLAG -288 432 2
TEXT -392 64 Left 0 ;.param Kc=120 Kf=.7p CTf=5m RTf=10k\n.param Ka=temp-kelvin; ambient temp in deg K
TEXT -392 -120 Left 0 ;.param Kc=120 Kf=.7p CTf=5m RTf=10k\n.param Ka=temp-Kelvin ; ambient temp converted to degrees K\nBCf 1 2 I=V(1,2)*Kc/V(Tf)**1.2 ; conductance of filament\nBTf 0 Tf I=V(1,2)*I(BCf)-Kf*(V(Tf)**4-{Ka**4}) ; temp of filament\nCfa Tf Ta {CTf} Rpar={RTf} ; thermal capacitance and res of filament\nVa Ta 0 {Ka} ; ambient temperature in degrees K
TEXT -144 -152 Center 0 ;Incandescent Lamp Model by analog@ieee.org
TEXT -400 -680 Left 0 !* Lamp 20W, 12V\n.PARAM Pn=20\n.PARAM Vn=12\n.PARAM Rn=Vn*Vn/Pn\n* My guess is Ramb=Rn/10, but you can enter here your measured resistance\n* if lamp is not powered(cold resistance).\n.PARAM Ramb=Rn/10\n \n.PARAM Tamb=25\n.PARAM Tambk=Tamb+273.15\n*.PARAM Tfil=1800\n*.PARAM Tfilk=Tfil+273.15\n.PARAM Tfilk=Tambk*(Rn/Ramb)**(1/1.2)\n.PARAM Kc=1/Ramb*Tambk**1.2\n.PARAM Kf=(Pn+(Tambk-Tfilk)/RTF)/(Tfilk**4-Tambk**4)\n \n * Adjust time constant with CTf\n.param   CTf=100m RTf=1k