Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\1ad449a8ed81_Summing-Amplifier.asc
* Generated by LTspice 26.0.1 for Windows.
V1 Vin_1 0 SINE(0 3.3 1)
V2 Vin_2 0 3.3
R1 N001 Vin_1 1k
R2 N001 Vin_2 1k
V3 Vp 0 5
V4 0 Vm 5
XU1 N001 N002 Vp Vm Vout level1 Avol=1Meg GBW=10Meg Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
R4 N002 0 470k
R3 Vout N002 1k
.tran 1s
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\UniversalOpAmp1.asy)
.lib UniversalOpAmp1.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -448 128 -448 80
WIRE 0 128 -272 128
WIRE 128 128 80 128
WIRE 304 160 304 112
WIRE 128 176 128 128
WIRE 272 176 128 176
WIRE 400 192 336 192
WIRE 432 192 400 192
WIRE 272 208 208 208
WIRE 0 224 -64 224
WIRE 128 224 128 176
WIRE 128 224 80 224
WIRE -448 240 -448 208
WIRE -448 240 -496 240
WIRE -496 256 -496 240
WIRE -448 272 -448 240
WIRE -272 272 -272 128
WIRE -64 272 -64 224
WIRE 304 272 304 224
WIRE 208 368 208 208
WIRE 272 368 208 368
WIRE 400 368 400 192
WIRE 400 368 352 368
WIRE -272 384 -272 352
WIRE -176 384 -272 384
WIRE -64 384 -64 352
WIRE -64 384 -176 384
WIRE 208 384 208 368
WIRE -448 400 -448 352
WIRE -176 432 -176 384
WIRE 208 496 208 464
FLAG -496 256 0
FLAG -176 432 0
FLAG -448 80 Vp
IOPIN -448 80 Out
FLAG -448 400 Vm
IOPIN -448 400 Out
FLAG 304 272 Vp
IOPIN 304 272 Out
FLAG 304 112 Vm
IOPIN 304 112 Out
FLAG 432 192 Vout
IOPIN 432 192 Out
FLAG -272 128 Vin_1
IOPIN -272 128 In
FLAG -64 224 Vin_2
IOPIN -64 224 In
FLAG 208 496 0
DATAFLAG 400 192 ""
SYMBOL voltage -272 256 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value SINE(0 3.3 1)
SYMBOL voltage -64 256 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 3.3
SYMBOL res 96 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL res 96 208 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL voltage -448 112 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 5
SYMBOL voltage -448 256 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value 5
SYMBOL OpAmps\\UniversalOpAmp1 304 192 M180
SYMATTR InstName U1
SYMBOL res 192 368 R0
SYMATTR InstName R4
SYMATTR Value 470k
SYMBOL res 368 352 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 1k
TEXT -512 504 Left 2 !.tran 1s
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1764A-3.3.asc
* Generated by LTspice 26.0.1 for Windows.
V1 IN 0 PWL(0 0 1 10)
C1 OUT 0 10 Rser=.1
Rload OUT 0 500
XU1 IN IN 0 OUT OUT LT1764-3.3 ;pnba _SHDN)IN)GND)OUT)Sense
.tran 1
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LT1764A-3.3.asy)
.lib LT1764.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 0 48 -224 48
WIRE 16 48 0 48
WIRE 320 48 304 48
WIRE 384 48 320 48
WIRE 512 48 384 48
WIRE -224 64 -224 48
WIRE 384 64 384 48
WIRE 512 64 512 48
WIRE 0 144 0 48
WIRE 16 144 0 144
WIRE 320 144 320 48
WIRE 320 144 304 144
WIRE -224 160 -224 144
WIRE 384 160 384 128
WIRE 512 160 512 144
WIRE 160 240 160 208
FLAG -224 160 0
FLAG 384 160 0
FLAG 512 160 0
FLAG 160 240 0
FLAG 512 48 OUT
FLAG -224 48 IN
SYMBOL voltage -224 48 R0
SYMATTR InstName V1
SYMATTR Value PWL(0 0 1 10)
SYMBOL cap 368 64 R0
WINDOW 39 24 84 Left 2
SYMATTR InstName C1
SYMATTR Value 10
SYMATTR SpiceLine Rser=.1
SYMBOL res 496 48 R0
SYMATTR InstName Rload
SYMATTR Value 500
SYMBOL PowerProducts\\LT1764A-3.3 160 96 R0
SYMATTR InstName U1
TEXT 368 240 Left 2 !.tran 1
* Z:\home\khalils\Downloads\files\data\raw_asc\MAXM15067.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\MAXM15067.asy)
V1 vIN 0 24
R1 vIN N002 2.21Meg
C1 N003 0 1
XU1 0 vIN N002 N003 N001 NC_01 NC_02 NC_03 vOUT MAXM15067 ;pnba GND)VIN)EN/UVLO)Vcc)FB)MODE)_RESET)LX)OUT
Rload vOUT 0 8.33
R4 N001 0 75k
C2 vOUT 0 10
R2 N002 0 825k
R3 vOUT N001 133k
.tran 5m startup
.lib MAXM15067.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1112 680
WIRE -48 -32 -64 -32
WIRE 48 -32 -48 -32
WIRE 176 -32 48 -32
WIRE 544 -32 464 -32
WIRE 640 -32 544 -32
WIRE 736 -32 640 -32
WIRE 768 -32 736 -32
WIRE 544 -16 544 -32
WIRE 768 -16 768 -32
WIRE 640 0 640 -32
WIRE -64 16 -64 -32
WIRE 48 32 48 -32
WIRE 544 80 544 48
WIRE 544 80 464 80
WIRE 768 80 768 64
WIRE 544 96 544 80
WIRE -64 128 -64 96
WIRE 640 160 640 80
WIRE 640 160 464 160
WIRE 48 176 48 112
WIRE 176 176 48 176
WIRE 640 176 640 160
WIRE 48 192 48 176
WIRE 640 272 640 256
WIRE 48 288 48 272
WIRE 176 336 96 336
WIRE 96 352 96 336
WIRE 96 432 96 416
SYMBOL res 624 160 R0
SYMATTR InstName R4
SYMATTR Value 75k
SYMBOL res 624 -16 R0
SYMATTR InstName R3
SYMATTR Value 133k
SYMBOL res 32 176 R0
SYMATTR InstName R2
SYMATTR Value 825k
SYMBOL cap 80 352 R0
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL voltage -64 0 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 24
SYMBOL cap 528 -16 R0
SYMATTR InstName C2
SYMATTR Value 10
SYMBOL MAXM15067 320 144 R0
SYMATTR InstName U1
SYMBOL res 752 -32 R0
SYMATTR InstName Rload
SYMATTR Value 8.33
SYMBOL res 32 16 R0
WINDOW 3 28 86 Left 2
SYMATTR InstName R1
SYMATTR Value 2.21Meg
FLAG -64 128 0
FLAG 96 432 0
FLAG 544 96 0
FLAG 768 80 0
FLAG 48 288 0
FLAG -48 -32 vIN
FLAG 736 -32 vOUT
FLAG 640 272 0
TEXT 464 400 Left 2 !.tran 5m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\ADP7105-5.0.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\ADP7105-5.0.asy)
V1 IN 0 6
Rload OUT 0 15
C1 OUT 0 2.2 Rser=1.5m
R1 OUT N001 100k
XU1 IN OUT IN N002 OUT 0 N001 ADP7105 Vref=5 ;pnba Vin)Sense)EN)SS)Vout)GND)PG
C2 N002 0 2.7n
.tran 6m startup
.lib ADP7105.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1048 680
WIRE 64 32 -32 32
WIRE 96 32 64 32
WIRE 368 32 352 32
WIRE 464 32 448 32
WIRE -32 48 -32 32
WIRE 64 128 64 32
WIRE 96 128 64 128
WIRE 384 128 352 128
WIRE 464 128 464 32
WIRE 464 128 384 128
WIRE 560 128 464 128
WIRE -32 144 -32 128
WIRE 464 144 464 128
WIRE 560 144 560 128
WIRE 16 224 0 224
WIRE 96 224 80 224
WIRE 384 224 384 128
WIRE 384 224 352 224
WIRE 464 240 464 208
WIRE 560 240 560 224
WIRE 224 304 224 288
SYMBOL res 464 16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 100k
SYMBOL voltage -32 32 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 6
SYMBOL cap 80 208 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 2.7n
SYMBOL cap 448 144 R0
SYMATTR InstName C1
SYMATTR Value 2.2
SYMATTR SpiceLine Rser=1.5m
SYMBOL ADP7105-5.0 224 128 R0
SYMATTR InstName U1
SYMBOL res 544 128 R0
SYMATTR InstName Rload
SYMATTR Value 15
FLAG 224 304 0
FLAG -32 144 0
FLAG 0 224 0
FLAG 560 240 0
FLAG 464 240 0
FLAG -32 32 IN
FLAG 560 128 OUT
TEXT 432 296 Left 2 !.tran 6m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\688f9f956bf6_exer1_10.asc
* Generated by LTspice 26.0.1 for Windows.
R1 vd1 vps 20k
VPS vps 0 0
D1 vd1 0 1N4007
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.dc VPS 0 10 .01
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 192 80 96 80
WIRE 320 80 272 80
WIRE 96 144 96 80
WIRE 320 144 320 80
WIRE 96 256 96 224
WIRE 320 256 320 208
WIRE 320 256 96 256
WIRE 96 272 96 256
IOPIN 320 80 Out
IOPIN 96 80 Out
SYMBOL voltage 96 128 R0
WINDOW 3 24 96 Left 1
SYMATTR InstName VPS
SYMATTR Value 0
SYMBOL diode 304 144 R0
SYMATTR InstName D1
SYMATTR Value 1N4007
SYMBOL res 288 64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 20k
FLAG 96 272 0
FLAG 320 80 vd1
FLAG 96 80 vps
TEXT -96 32 Left 2 !.dc VPS 0 10 .01
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC3528B-2.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\LTC3528B-2.asy)
R3 OUT 0 8.25
L1 IN N001 2.2 Rpar=5K
R1 OUT N002 499K
XU1 IN N002 NC_01 OUT N001 0 0 IN LTC3528B-2 ;pnba _SHDN)FB)Pgood)Vout)SW)PGND)SGND)Vin
R2 N002 0 287K
V1 IN 0 2
C2 OUT N002 33p
C1 OUT 0 10 Rser=1m
.tran .5m startup
.lib LTC3528B-2.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -32 64 -112 64
WIRE 64 64 -32 64
WIRE 96 64 64 64
WIRE 192 64 176 64
WIRE -112 80 -112 64
WIRE 64 112 64 64
WIRE 192 112 192 64
WIRE -112 176 -112 160
WIRE -32 192 -32 64
WIRE -16 192 -32 192
WIRE 320 192 272 192
WIRE 432 192 320 192
WIRE 512 192 432 192
WIRE 608 192 512 192
WIRE 320 208 320 192
WIRE 432 208 432 192
WIRE 512 208 512 192
WIRE 608 208 608 192
WIRE 320 304 320 288
WIRE 320 304 272 304
WIRE 432 304 432 272
WIRE 432 304 320 304
WIRE 512 304 512 272
WIRE 608 304 608 288
WIRE 320 320 320 304
WIRE 64 400 64 384
WIRE 192 400 192 384
WIRE 320 416 320 400
SYMBOL res 592 192 R0
SYMATTR InstName R3
SYMATTR Value 8.25
SYMBOL ind 80 80 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 2.2
SYMATTR SpiceLine Rpar=5K
SYMBOL res 304 192 R0
SYMATTR InstName R1
SYMATTR Value 499K
SYMBOL PowerProducts\\LTC3528B-2 128 256 R0
SYMATTR InstName U1
SYMBOL voltage -112 64 R0
WINDOW 0 20 15 Left 2
WINDOW 3 25 97 Left 2
SYMATTR InstName V1
SYMATTR Value 2
SYMBOL res 304 304 R0
SYMATTR InstName R2
SYMATTR Value 287K
SYMBOL cap 416 208 R0
SYMATTR InstName C2
SYMATTR Value 33p
SYMBOL cap 496 208 R0
SYMATTR InstName C1
SYMATTR Value 10
SYMATTR SpiceLine Rser=1m
FLAG -112 176 0
FLAG 64 400 0
FLAG 320 416 0
FLAG 512 304 0
FLAG 608 304 0
FLAG 192 400 0
FLAG 608 192 OUT
FLAG -112 64 IN
TEXT 464 392 Left 2 !.tran .5m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\AD8602.asc
* Generated by LTspice 26.0.1 for Windows.
Vin IN 0 SINE(0 1 100K)
XU1 IN N001 +V -V OUT AD8602 ;pnba In+)In-)V+)V-)OUT
V1 +V 0 2.5
R1 N001 0 10K
R2 OUT N001 10K
V2 -V 0 -2.5
Rload OUT 0 10K
.tran 100u
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\AD8602.asy)
.lib AD8602.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1240 700
WIRE 272 -944 256 -944
WIRE 368 -944 352 -944
WIRE 384 -944 368 -944
WIRE 480 -944 464 -944
WIRE 32 -832 32 -848
WIRE 144 -832 144 -848
WIRE 368 -832 368 -944
WIRE 384 -832 368 -832
WIRE 480 -816 480 -944
WIRE 480 -816 448 -816
WIRE 608 -816 480 -816
WIRE 384 -800 272 -800
WIRE 608 -800 608 -816
WIRE 272 -784 272 -800
WIRE 32 -736 32 -752
WIRE 144 -736 144 -752
WIRE 608 -704 608 -720
WIRE 272 -688 272 -704
FLAG 32 -848 +V
FLAG 32 -736 0
FLAG 272 -688 0
FLAG 608 -816 OUT
FLAG 272 -800 IN
FLAG 416 -848 +V
FLAG 144 -848 -V
FLAG 416 -784 -V
FLAG 256 -944 0
FLAG 608 -704 0
FLAG 144 -736 0
SYMBOL voltage 272 -800 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName Vin
SYMATTR Value SINE(0 1 100K)
SYMBOL Opamps\\AD8602 416 -880 R0
SYMATTR InstName U1
SYMBOL voltage 32 -848 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 2.5
SYMBOL res 368 -960 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10K
SYMBOL res 480 -960 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL voltage 144 -848 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName V2
SYMATTR Value -2.5
SYMBOL res 592 -816 R0
SYMATTR InstName Rload
SYMATTR Value 10K
TEXT 528 -608 Left 2 !.tran 100u
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1956-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\LT1956-5.asy)
D1 0 N002 1N5819
Rload OUT 0 10
C2 N002 N001 .33
C3 OUT 0 100 Rser=.1
L1 N002 OUT 5
C1 N004 0 1000p
V1 IN 0 20
XU1 0 N002 MP_01 IN MP_02 N001 MP_03 MP_04 MP_05 OUT N004 OUT MP_06 MP_07 N003 LT1956-5 ;pnba GND)SW))Vin))Boost))))BIAS)Vc)Sense)))_SHDN
D2 OUT N001 1N914
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 2m startup
.lib LT1956-5.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2712 1832
WIRE 2096 1296 1984 1296
WIRE 2192 1296 2096 1296
WIRE 2384 1296 2256 1296
WIRE 1824 1328 1600 1328
WIRE 2096 1328 2096 1296
WIRE 1600 1344 1600 1328
WIRE 1824 1360 1824 1328
WIRE 1984 1360 1984 1296
WIRE 2208 1376 2176 1376
WIRE 2272 1376 2208 1376
WIRE 2384 1376 2384 1296
WIRE 2384 1376 2352 1376
WIRE 2432 1376 2384 1376
WIRE 2544 1376 2432 1376
WIRE 2208 1392 2208 1376
WIRE 2432 1392 2432 1376
WIRE 2544 1392 2544 1376
WIRE 1600 1440 1600 1424
WIRE 1744 1440 1728 1440
WIRE 2096 1440 2096 1392
WIRE 2096 1440 2064 1440
WIRE 2176 1440 2176 1376
WIRE 2176 1440 2096 1440
WIRE 2208 1488 2208 1456
WIRE 2432 1488 2432 1456
WIRE 2544 1488 2544 1472
WIRE 2384 1520 2384 1376
WIRE 2384 1520 2064 1520
WIRE 1648 1600 1616 1600
WIRE 1744 1600 1712 1600
WIRE 2384 1600 2384 1520
WIRE 2384 1600 2064 1600
WIRE 1904 1696 1904 1680
SYMBOL ind 2256 1392 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 5
SYMBOL VOLTAGE 1600 1328 R0
SYMATTR InstName V1
SYMATTR Value 20
SYMBOL PowerProducts\\LT1956-5 1904 1520 R0
SYMATTR InstName U1
SYMBOL polcap 2416 1392 R0
SYMATTR InstName C3
SYMATTR Value 100
SYMATTR SpiceLine Rser=.1
SYMBOL cap 1712 1584 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 1000p
SYMBOL cap 2080 1392 M180
WINDOW 0 24 64 Left 2
WINDOW 3 24 8 Left 2
SYMATTR InstName C2
SYMATTR Value .33
SYMBOL res 2528 1376 R0
SYMATTR InstName Rload
SYMATTR Value 10
SYMBOL diode 2256 1280 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D2
SYMATTR Value 1N914
SYMBOL schottky 2192 1456 M180
WINDOW 0 34 63 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value 1N5819
FLAG 2208 1488 0
FLAG 2432 1488 0
FLAG 2544 1488 0
FLAG 1904 1696 0
FLAG 1616 1600 0
FLAG 1600 1440 0
FLAG 2544 1376 OUT
FLAG 1600 1328 IN
TEXT 2112 1640 Left 2 !.tran 2m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\1c886d2a6dc0_Example_2_RLC.asc
* Generated by LTspice 26.0.1 for Windows.
* Simulation
* Spice Directives
* Switch Model & Control
I2 N002 N001 2
C1 Vo 0 40m
I1 0 N001 4
L1 N002 Vo 1
R1 N001 0 1
R2 N001 N002 6
V2 Vsw 0 PULSE(1 0 0 1u 1u {Tc} {Ts})
S1 0 N001 Vsw 0 MYSW
.tran 0 {Ts} 0 100u
.model MYSW SW(Ron=0.1 Roff=1000Meg Vt=.5 Vh=.4)
.ic V(Vo)=0
.ic I(L1) = 0
.param Ts = 10
.param Tc = 3
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1532 760
WIRE 272 224 208 224
WIRE 368 224 352 224
WIRE 64 352 -32 352
WIRE 208 352 208 224
WIRE 208 352 64 352
WIRE 272 352 208 352
WIRE 368 352 368 224
WIRE 368 352 352 352
WIRE 400 352 368 352
WIRE 528 352 480 352
WIRE -32 416 -32 352
WIRE 64 416 64 352
WIRE 208 416 208 352
WIRE 528 416 528 352
WIRE 272 432 256 432
WIRE 688 432 688 416
WIRE 288 480 256 480
WIRE -32 544 -32 496
WIRE 64 544 64 496
WIRE 64 544 -32 544
WIRE 208 544 208 496
WIRE 208 544 64 544
WIRE 528 544 528 480
WIRE 528 544 208 544
WIRE 688 544 688 512
WIRE -32 576 -32 544
RECTANGLE Normal 880 112 640 64 2
RECTANGLE Normal 1328 624 640 352 2
RECTANGLE Normal 880 304 640 160 2
SYMBOL sw 208 512 R180
WINDOW 0 -46 11 Left 2
WINDOW 3 85 107 Right 2
SYMATTR InstName S1
SYMATTR Value MYSW
SYMBOL res 48 400 R0
SYMATTR InstName R1
SYMATTR Value 1
SYMBOL ind 384 368 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 1
SYMBOL current 352 224 R90
WINDOW 0 -32 40 VBottom 2
WINDOW 3 32 40 VTop 2
SYMATTR InstName I2
SYMATTR Value 2
SYMBOL voltage 688 416 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value PULSE(1 0 0 1u 1u {Tc} {Ts})
SYMBOL current -32 496 R180
WINDOW 0 24 80 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName I1
SYMATTR Value 4
SYMBOL cap 512 416 R0
SYMATTR InstName C1
SYMATTR Value 40m
SYMBOL res 256 368 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R2
SYMATTR Value 6
FLAG 288 480 0
FLAG 272 432 Vsw
FLAG 688 416 Vsw
FLAG 688 544 0
FLAG -32 576 0
FLAG 528 352 Vo
TEXT 640 48 Left 2 ;Simulation
TEXT 648 88 Left 2 !.tran 0 {Ts} 0 100u
TEXT 640 144 Left 2 ;Spice Directives
TEXT 664 584 Left 2 !.model MYSW SW(Ron=0.1 Roff=1000Meg Vt=.5 Vh=.4)
TEXT 648 184 Left 2 !.ic V(Vo)=0\n.ic I(L1) = 0\n.param Ts = 10\n.param Tc = 3
TEXT 640 336 Left 2 ;Switch Model & Control
* Z:\home\khalils\Downloads\files\data\raw_asc\281f43e58c39_MonteCarlo.asc
* Generated by LTspice 26.0.1 for Windows.
* Monte Carlo Simulation in LTspice
* mc(val, tol) is a function that uses a random number generator \n to return a value between val-tol*val and val+tol*val\n \nOther functions of interest:\n \nflat(x): a function that uses a random number generator \n to return a value between -x and x;\n \ngauss(x): a function that uses a random number generator \n to return a value with a Gaussian distribution\n and sigma x.
C1 OUT 0 {mc(1n, tol)}
L1 OUT 0 {mc(10u, tol)}
L2 N002 0 {mc(10u, tol)}
L3 N003 N002 {mc(40u, tol)}
V1 N001 0 AC 1
R1 N002 N001 141
R2 0 OUT 141
C3 OUT N003 {mc(250p, tol)}
C2 N002 0 {mc(1n, tol)}
.ac oct 100 300K 10Meg
.step param X 0 20 1 ; a dummy paramter to cycle Monte Carlo runs
.param tol=.05 ; +/- 5% component tolerance
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1516 692
WIRE -288 -496 -448 -496
WIRE -96 -496 -208 -496
WIRE -32 -496 -96 -496
WIRE 112 -496 -32 -496
WIRE 320 -496 192 -496
WIRE 544 -496 384 -496
WIRE 624 -496 544 -496
WIRE 848 -496 624 -496
WIRE -448 -480 -448 -496
WIRE -96 -464 -96 -496
WIRE -32 -464 -32 -496
WIRE 544 -464 544 -496
WIRE 624 -464 624 -496
WIRE 848 -464 848 -496
WIRE -448 -368 -448 -400
WIRE -96 -368 -96 -384
WIRE -32 -368 -32 -400
WIRE 544 -368 544 -384
WIRE 624 -368 624 -400
WIRE 848 -368 848 -384
SYMBOL res -192 -512 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R1
SYMATTR Value 141
SYMBOL cap -48 -464 R0
SYMATTR InstName C2
SYMATTR Value {mc(1n, tol)}
SYMBOL ind -80 -480 M0
SYMATTR InstName L2
SYMATTR Value {mc(10u, tol)}
SYMBOL cap 608 -464 R0
SYMATTR InstName C1
SYMATTR Value {mc(1n, tol)}
SYMBOL voltage -448 -496 R0
SYMATTR InstName V1
SYMATTR Value AC 1
SYMBOL res 832 -368 M180
WINDOW 0 36 76 Left 0
WINDOW 3 36 40 Left 0
SYMATTR InstName R2
SYMATTR Value 141
SYMBOL cap 384 -512 R90
WINDOW 0 0 32 VBottom 0
WINDOW 3 32 32 VTop 0
SYMATTR InstName C3
SYMATTR Value {mc(250p, tol)}
SYMBOL ind 208 -480 M270
WINDOW 0 32 56 VTop 0
WINDOW 3 5 56 VBottom 0
SYMATTR InstName L3
SYMATTR Value {mc(40u, tol)}
SYMBOL ind 560 -480 M0
SYMATTR InstName L1
SYMATTR Value {mc(10u, tol)}
FLAG 624 -368 0
FLAG -448 -368 0
FLAG 544 -368 0
FLAG -32 -368 0
FLAG -96 -368 0
FLAG 848 -368 0
FLAG 848 -496 OUT
TEXT -408 -264 Left 0 !.ac oct 100 300K 10Meg
TEXT -408 -296 Left 0 !.step param X 0 20 1 ; a dummy paramter to cycle Monte Carlo runs
TEXT -408 -328 Left 0 !.param tol=.05 ; +/- 5% component tolerance
TEXT 56 -592 Left 0 ;Monte Carlo Simulation in LTspice
TEXT -152 -200 Left 0 ;mc(val, tol) is a function that uses a random number generator \n                     to return a value between val-tol*val and val+tol*val\n \nOther functions of interest:\n \nflat(x): a function that uses a random number generator \n         to return a value between -x and x;\n \ngauss(x): a function that uses a random number generator \n          to return a value with a Gaussian distribution\n          and sigma x.
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1372.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\LT1372.asy)
V1 IN 0 5
L1 IN N001 4.7 Rser=0.02 Rpar=5000
R2 N003 0 6.19K
C2 0 N005 .0047
D1 N001 OUT MBRS340
C3 0 N004 .047
XU1 N005 N003 N006 N002 IN MP_01 0 N001 LT1372 ;pnba Vc)FB)NFB)_SHDN)Vin))GND)SW
R1 N004 N005 2K
Rload OUT 0 50
R3 OUT N003 53.6K
C1 OUT 0 .1
C4 OUT 0 22 Rser=.05
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 1.5m startup
.lib LT1372.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2868 1400
WIRE 1824 880 1520 880
WIRE 1888 880 1824 880
WIRE 2032 880 1968 880
WIRE 2080 880 2032 880
WIRE 2192 880 2144 880
WIRE 2304 880 2192 880
WIRE 2416 880 2304 880
WIRE 2528 880 2416 880
WIRE 1520 896 1520 880
WIRE 2304 896 2304 880
WIRE 2416 896 2416 880
WIRE 2528 896 2528 880
WIRE 1824 928 1824 880
WIRE 2192 960 2192 880
WIRE 1520 992 1520 976
WIRE 1680 992 1648 992
WIRE 2032 992 2032 880
WIRE 2032 992 1968 992
WIRE 2304 992 2304 960
WIRE 2416 992 2416 960
WIRE 2528 992 2528 976
WIRE 2192 1072 2192 1040
WIRE 2192 1072 1968 1072
WIRE 2192 1088 2192 1072
WIRE 1472 1152 1408 1152
WIRE 1600 1152 1552 1152
WIRE 1680 1152 1600 1152
WIRE 2000 1152 1968 1152
WIRE 1408 1168 1408 1152
WIRE 1600 1168 1600 1152
WIRE 2192 1184 2192 1168
WIRE 1408 1248 1408 1232
WIRE 1600 1248 1600 1232
WIRE 1824 1248 1824 1216
SYMBOL VOLTAGE 1520 880 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL CAP 1392 1232 M180
WINDOW 0 24 64 Left 2
WINDOW 3 24 8 Left 2
SYMATTR InstName C3
SYMATTR Value .047
SYMBOL POWERPRODUCTS\\LT1372 1824 1072 R0
SYMATTR InstName U1
SYMBOL RES 2176 1072 R0
SYMATTR InstName R2
SYMATTR Value 6.19K
SYMBOL polcap 2288 896 R0
SYMATTR InstName C4
SYMATTR Value 22
SYMATTR SpiceLine Rser=.05
SYMBOL CAP 2400 896 R0
SYMATTR InstName C1
SYMATTR Value .1
SYMBOL RES 2512 880 R0
SYMATTR InstName Rload
SYMATTR Value 50
SYMBOL RES 2176 944 R0
SYMATTR InstName R3
SYMATTR Value 53.6K
SYMBOL schottky 2080 896 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value MBRS340
SYMBOL CAP 1584 1232 M180
WINDOW 0 24 64 Left 2
WINDOW 3 24 8 Left 2
SYMATTR InstName C2
SYMATTR Value .0047
SYMBOL IND 1872 896 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 4.7
SYMATTR SpiceLine Rser=0.02 Rpar=5000
SYMBOL RES 1456 1168 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R1
SYMATTR Value 2K
FLAG 2416 992 0
FLAG 1600 1248 0
FLAG 1520 992 0
FLAG 1824 1248 0
FLAG 1408 1248 0
FLAG 2528 992 0
FLAG 2304 992 0
FLAG 2192 1184 0
FLAG 2528 880 OUT
FLAG 1520 880 IN
TEXT 2232 1224 Left 2 !.tran 1.5m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\AD811.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\AD811.asy)
XU1 IN N001 +V -V OUT AD811 ;pnba In+)In-)V+)V-)OUT
V1 +V 0 15
Rload OUT 0 150
V2 -V 0 -15
Vin IN 0 PULSE(-1 1 20n 10n 10n 90n 200n)
R2 OUT N001 649
R1 N001 0 649
.tran 1u
.lib AD811.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 16 -1152 16 -1168
WIRE 128 -1152 128 -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 304 -1088
WIRE 768 -1088 768 -1104
WIRE 304 -1072 304 -1088
WIRE 16 -1056 16 -1072
WIRE 128 -1056 128 -1072
WIRE 768 -992 768 -1008
WIRE 304 -976 304 -992
SYMBOL res 528 -1248 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 649
SYMBOL voltage 16 -1168 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL voltage 128 -1168 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName V2
SYMATTR Value -15
SYMBOL Opamps\\AD811 576 -1168 R0
SYMATTR InstName U1
SYMBOL res 752 -1104 R0
SYMATTR InstName Rload
SYMATTR Value 150
SYMBOL res 640 -1248 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 649
SYMBOL voltage 304 -1088 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName Vin
SYMATTR Value PULSE(-1 1 20n 10n 10n 90n 200n)
FLAG 304 -976 0
FLAG 768 -1104 OUT
FLAG 304 -1088 IN
FLAG 576 -1136 +V
FLAG 576 -1072 -V
FLAG 416 -1232 0
FLAG 768 -992 0
FLAG 16 -1168 +V
FLAG 16 -1056 0
FLAG 128 -1168 -V
FLAG 128 -1056 0
TEXT 784 -896 Left 2 !.tran 1u