Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\001c5a57b2d9__Fig3_28_MSD_alt.asc
* Generated by LTspice 26.0.1 for Windows.
T1 Voadd2 0 Vout 0 Td=10n Z0=50
Eadd1 Voadd1 0 N001 Vout 0.1
Vin N001 0 AC 1
Eadd2 Voadd2 0 Voadd1 Voutm 1
R1 Vout 0 50
Eneg Voutm 0 Vout 0 -1
.ac dec 1000 10k 200MEG
* Delay is Ts (=10n when clocked at 100 Mhz)
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2740 696
WIRE 896 -432 816 -432
WIRE 1008 -432 896 -432
WIRE 1184 -432 1104 -432
WIRE 1264 -432 1184 -432
WIRE 1280 -432 1264 -432
WIRE 816 -416 816 -432
WIRE 656 -400 608 -400
WIRE 768 -400 656 -400
WIRE 1264 -400 1264 -432
WIRE 608 -368 608 -400
WIRE 560 -352 432 -352
WIRE 432 -336 432 -352
WIRE 816 -320 816 -336
WIRE 1264 -288 1264 -320
WIRE 768 -256 768 -352
WIRE 928 -256 768 -256
WIRE 1024 -256 928 -256
WIRE 1184 -240 1184 -432
WIRE 1184 -240 1072 -240
WIRE 432 -224 432 -256
WIRE 1072 -176 1072 -192
WIRE 1024 -160 1024 -176
WIRE 560 -128 560 -304
WIRE 1184 -128 1184 -240
WIRE 1184 -128 560 -128
FLAG 1104 -400 0
FLAG 1008 -400 0
FLAG 608 -288 0
FLAG 656 -400 Voadd1
FLAG 432 -224 0
FLAG 896 -432 Voadd2
FLAG 1280 -432 Vout
FLAG 1264 -288 0
FLAG 816 -320 0
FLAG 1024 -160 0
FLAG 1072 -176 0
FLAG 928 -256 Voutm
SYMBOL tline 1056 -416 R0
WINDOW 0 -18 -31 Left 0
WINDOW 3 -63 53 Left 0
SYMATTR InstName T1
SYMATTR Value Td=10n Z0=50
SYMBOL e 608 -384 R0
WINDOW 0 43 43 Left 0
WINDOW 3 44 74 Left 0
SYMATTR InstName Eadd1
SYMATTR Value 0.1
SYMBOL voltage 432 -352 R0
WINDOW 0 38 56 Left 0
WINDOW 123 35 82 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Vin
SYMATTR Value2 AC 1
SYMATTR Value ""
SYMBOL e 816 -432 R0
WINDOW 0 43 43 Left 0
WINDOW 3 44 74 Left 0
SYMATTR InstName Eadd2
SYMATTR Value 1
SYMBOL res 1248 -416 R0
SYMATTR InstName R1
SYMATTR Value 50
SYMBOL e 1024 -272 M0
WINDOW 0 43 43 Left 0
WINDOW 3 44 74 Left 0
SYMATTR InstName Eneg
SYMATTR Value -1
TEXT 592 -192 Left 0 !.ac dec 1000 10k 200MEG
TEXT 840 -488 Left 0 ;Delay is Ts (=10n when clocked at 100 Mhz)
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1584-3.6.asc
* Generated by LTspice 26.0.1 for Windows.
V1 IN 0 PWL(0 0 1 10)
C1 OUT 0 22
Rload OUT 0 500
XU1 0 OUT IN LT1584-3.6 ;pnba GND)OUT)IN
.tran 1
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LT1584-3.6.asy)
.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
FLAG -160 288 0
FLAG 368 288 0
FLAG 464 288 0
FLAG 160 304 0
FLAG -160 176 IN
FLAG 464 176 OUT
SYMBOL voltage -160 176 R0
SYMATTR InstName V1
SYMATTR Value PWL(0 0 1 10)
SYMBOL cap 352 192 R0
SYMATTR InstName C1
SYMATTR Value 22
SYMBOL res 448 176 R0
SYMATTR InstName Rload
SYMATTR Value 500
SYMBOL PowerProducts\\LT1584-3.6 160 176 R0
SYMATTR InstName U1
TEXT 288 368 Left 2 !.tran 1
* Z:\home\khalils\Downloads\files\data\raw_asc\009a2771507c_Active-Low-Pass-Buttersworth-Filter.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\UniversalOpAmp.asy)
V3 N002 0 AC 5
R2 N003 N001 110k
XU1 N003 N004 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
C1 Vout N001 10nF
C2 N003 0 10nF
V2 Vp 0 12
R4 N004 0 10k
R3 Vout N004 845
R1 N001 N002 110k
V1 0 Vm 12
.ac lin 1000 1 300
.lib UniversalOpAmp1.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 916 680
WIRE -144 32 -304 32
WIRE 80 32 -80 32
WIRE -432 128 -496 128
WIRE -304 128 -304 32
WIRE -304 128 -352 128
WIRE -256 128 -304 128
WIRE -128 128 -176 128
WIRE -16 128 -128 128
WIRE 80 144 80 32
WIRE 80 144 48 144
WIRE 160 144 80 144
WIRE -128 160 -128 128
WIRE -16 160 -48 160
WIRE -656 192 -656 160
WIRE -656 192 -720 192
WIRE -496 192 -496 128
WIRE 80 192 80 144
WIRE -720 208 -720 192
WIRE -656 224 -656 192
WIRE -128 256 -128 224
WIRE -48 288 -48 160
WIRE 80 288 80 272
WIRE 80 288 -48 288
WIRE 80 304 80 288
WIRE -496 336 -496 272
WIRE 80 400 80 384
IOPIN -656 80 In
IOPIN -656 304 In
IOPIN 16 176 Out
IOPIN 16 112 Out
SYMBOL res -160 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 110k
SYMBOL res 64 288 R0
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL voltage -496 176 R0
WINDOW 3 24 44 Invisible 2
WINDOW 123 24 44 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value ""
SYMATTR Value2 AC 5
SYMATTR InstName V3
SYMBOL voltage -656 208 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL voltage -656 64 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 12
SYMBOL res -336 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 110k
SYMBOL cap -144 160 R0
SYMATTR InstName C2
SYMATTR Value 10nF
SYMBOL OpAmps\\UniversalOpAmp 16 144 M180
SYMATTR InstName U1
SYMBOL res 64 176 R0
SYMATTR InstName R3
SYMATTR Value 845
SYMBOL cap -80 16 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 10nF
FLAG 80 400 0
FLAG -128 256 0
FLAG -720 208 0
FLAG -656 80 Vp
FLAG -656 304 Vm
FLAG 16 176 Vp
FLAG 16 112 Vm
FLAG -496 336 0
FLAG 160 144 Vout
TEXT -576 32 Left 2 !.ac lin 1000 1 300
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC4251.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\LTC4251.asy)
XU1 N005 IN N001 N004 N002 N003 LTC4251 ;pnba Sense)Vee)Vin)Timer)UV/OV)Gate
C4 N001 IN 1
C3 N006 IN 18n
Rload 0 OUT 50
V1 IN 0 PWL(0 0 1m 0 1.001m -48 220m -48 221m -70)
R1 0 N001 10K
R4 0 N002 402K
M1 OUT N003 N005 N005 IRF530
R6 N005 IN 20m
C2 N004 IN 150n
C5 0 OUT 100
R7 N002 IN 32.4K
C1 N002 IN 10n
R2 N003 N006 10
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 400m
.lib LTC4251.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 4692 2996
WIRE 2016 1744 2016 1728
WIRE 2640 1744 2640 1728
WIRE 2496 1760 2496 1728
WIRE 1456 1824 1456 1728
WIRE 2016 1856 2016 1824
WIRE 2272 1856 2016 1856
WIRE 2496 1856 2496 1824
WIRE 2640 1856 2640 1824
WIRE 2640 1856 2496 1856
WIRE 2768 1856 2640 1856
WIRE 2496 1872 2496 1856
WIRE 2016 1888 2016 1856
WIRE 864 1936 864 1728
WIRE 1456 1952 1456 1904
WIRE 1600 1952 1456 1952
WIRE 1824 1952 1600 1952
WIRE 2384 1952 2208 1952
WIRE 2448 1952 2384 1952
WIRE 2384 1968 2384 1952
WIRE 2272 2000 2272 1856
WIRE 1456 2032 1456 1952
WIRE 1600 2048 1600 1952
WIRE 1744 2096 1728 2096
WIRE 1824 2096 1808 2096
WIRE 2496 2096 2496 1968
WIRE 2496 2096 2208 2096
WIRE 2384 2112 2384 2048
WIRE 2496 2112 2496 2096
WIRE 864 2208 864 2016
WIRE 1456 2208 1456 2112
WIRE 1456 2208 864 2208
WIRE 1600 2208 1600 2112
WIRE 1600 2208 1456 2208
WIRE 1728 2208 1728 2096
WIRE 1728 2208 1600 2208
WIRE 2016 2208 2016 2160
WIRE 2016 2208 1728 2208
WIRE 2272 2208 2272 2064
WIRE 2272 2208 2016 2208
WIRE 2384 2208 2384 2176
WIRE 2384 2208 2272 2208
WIRE 2496 2208 2496 2192
WIRE 2496 2208 2384 2208
SYMBOL res 2512 2096 M0
WINDOW 0 -38 37 Left 2
WINDOW 3 -56 78 Left 2
SYMATTR InstName R6
SYMATTR Value 20m
SYMBOL nmos 2448 1872 R0
WINDOW 0 101 14 Right 2
WINDOW 3 140 76 Right 2
SYMATTR InstName M1
SYMATTR Value IRF530
SYMBOL voltage 864 2032 M180
WINDOW 3 24 16 Left 2
WINDOW 0 24 96 Left 2
SYMATTR Value PWL(0 0 1m 0 1.001m -48 220m -48 221m -70)
SYMATTR InstName V1
SYMBOL cap 2480 1760 R0
SYMATTR InstName C5
SYMATTR Value 100
SYMBOL cap 1808 2080 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 150n
SYMBOL cap 2368 2112 R0
SYMATTR InstName C3
SYMATTR Value 18n
SYMBOL res 2624 1728 R0
SYMATTR InstName Rload
SYMATTR Value 50
SYMBOL cap 1584 2048 R0
SYMATTR InstName C1
SYMATTR Value 10n
SYMBOL res 1440 1808 R0
SYMATTR InstName R4
SYMATTR Value 402K
SYMBOL cap 2256 2000 R0
SYMATTR InstName C4
SYMATTR Value 1
SYMBOL res 2000 1728 R0
SYMATTR InstName R1
SYMATTR Value 10K
SYMBOL res 1440 2016 R0
SYMATTR InstName R7
SYMATTR Value 32.4K
SYMBOL res 2368 1952 R0
SYMATTR InstName R2
SYMATTR Value 10
SYMBOL LTC4251 2016 2016 R0
SYMATTR InstName U1
FLAG 864 2208 IN
FLAG 2768 1856 OUT
FLAG 864 1728 0
FLAG 1456 1728 0
FLAG 2016 1728 0
FLAG 2496 1728 0
FLAG 2640 1728 0
TEXT 2632 2176 Left 2 !.tran 400m
* Z:\home\khalils\Downloads\files\data\raw_asc\927906c99306_Transistor-beta.asc
* Generated by LTspice 26.0.1 for Windows.
* Plot Ic/Ib to find beta
* Transistor's beta
I1 0 N002 {A}
R1 Vcc N001 1
V1 Vcc 0 5
Q1 N001 N002 0 0 2N3904
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.step PARAM A 1m 200m 1m
.op
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 976 680
WIRE 160 96 160 64
WIRE 96 144 64 144
WIRE 160 208 160 192
SYMBOL voltage 304 64 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL res 144 -32 R0
SYMATTR InstName R1
SYMATTR Value 1
SYMBOL npn 96 96 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL current -16 144 R270
WINDOW 0 32 40 VTop 2
WINDOW 3 -32 40 VBottom 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName I1
SYMATTR Value {A}
FLAG 160 -16 Vcc
FLAG 304 80 Vcc
FLAG -16 144 0
FLAG 160 208 0
FLAG 304 160 0
TEXT 456 56 Left 2 !.step PARAM A 1m 200m 1m
TEXT 264 0 Left 2 !.op
TEXT 456 96 Left 2 ;Plot Ic/Ib to find beta
TEXT 176 -128 Left 4 ;Transistor's beta
* Z:\home\khalils\Downloads\files\data\raw_asc\a68cc9acac32_Draft1P.asc
* Generated by LTspice 26.0.1 for Windows.
M1 N001 VG N002 N001 pch l=lset w=wset
V1 N001 0 1.8
VGS N001 VG 1
VUDS N001 N002 0.9
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.lib cmos018.txt
.STEP param lset list 0.18u, 0.3u, 0.5u, 0.8u, 1u, 2u, 3u, 5u, 10u
.param wset = 5*lset
.dc VGS 0.1 0.6 1m
.MEAS DC UTH FIND V(VG) WHEN Id(M1)=500n
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1356 680
WIRE 224 176 32 176
WIRE 544 176 224 176
WIRE 752 176 544 176
WIRE 32 192 32 176
WIRE 224 224 224 176
WIRE 240 224 224 224
WIRE 544 224 544 176
WIRE 752 240 752 176
WIRE 240 272 240 224
WIRE 240 272 224 272
WIRE 32 304 32 272
WIRE 80 304 32 304
WIRE 176 304 80 304
WIRE 224 416 224 320
WIRE 544 416 544 304
WIRE 544 416 224 416
SYMBOL voltage 752 224 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 1.8
SYMBOL voltage 32 176 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName VGS
SYMATTR Value 1
SYMBOL pmos4 176 224 R0
WINDOW 123 75 75 Left 2
WINDOW 0 75 14 Left 2
WINDOW 3 75 45 Left 2
SYMATTR Value2 l=lset w=wset
SYMATTR InstName M1
SYMATTR Value pch
SYMBOL voltage 544 208 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName UDS
SYMATTR Value 0.9
FLAG 80 304 VG
FLAG 752 320 0
TEXT -40 -64 Left 2 !.lib cmos018.txt
TEXT -40 -16 Left 2 !.STEP param lset list 0.18u, 0.3u, 0.5u, 0.8u, 1u, 2u, 3u, 5u, 10u
TEXT -40 8 Left 2 !.param wset = 5*lset
TEXT -40 64 Left 2 !.dc VGS 0.1 0.6 1m
TEXT -40 88 Left 2 !.MEAS DC UTH FIND V(VG) WHEN Id(M1)=500n
* Z:\home\khalils\Downloads\files\data\raw_asc\ADM7172.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\ADM7172.asy)
Rload OUT 0 2.5
C1 OUT 0 4.7 Rser=1.5m
V1 IN 0 3.5
R1 OUT N002 15K
C2 0 N001 1n
R2 N002 0 10K
XU1 IN N002 IN N001 OUT 0 ADM7172 ;pnba Vin)Sense)EN)SS)Vout)GND
.tran 5m startup
.lib ADM7172.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1048 680
WIRE 64 32 -32 32
WIRE 96 32 64 32
WIRE 400 32 352 32
WIRE 528 32 400 32
WIRE 624 32 528 32
WIRE -32 48 -32 32
WIRE 528 48 528 32
WIRE 624 48 624 32
WIRE 400 80 400 32
WIRE 64 128 64 32
WIRE 96 128 64 128
WIRE -32 144 -32 128
WIRE 528 144 528 112
WIRE 624 144 624 128
WIRE 16 224 0 224
WIRE 96 224 80 224
WIRE 400 224 400 160
WIRE 400 224 352 224
WIRE 400 240 400 224
WIRE 224 304 224 288
WIRE 400 336 400 320
SYMBOL cap 512 48 R0
SYMATTR InstName C1
SYMATTR Value 4.7
SYMATTR SpiceLine Rser=1.5m
SYMBOL res 384 64 R0
SYMATTR InstName R1
SYMATTR Value 15K
SYMBOL cap 16 208 M90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 1n
SYMBOL res 384 224 R0
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL voltage -32 32 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 3.5
SYMBOL res 608 32 R0
SYMATTR InstName Rload
SYMATTR Value 2.5
SYMBOL ADM7172 224 128 R0
SYMATTR InstName U1
FLAG 224 304 0
FLAG -32 144 0
FLAG 0 224 0
FLAG 624 144 0
FLAG 528 144 0
FLAG -32 32 IN
FLAG 624 32 OUT
FLAG 400 336 0
TEXT 568 288 Left 2 !.tran 5m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC1966.asc
* Generated by LTspice 26.0.1 for Windows.
* 70 A current measurement
* V(out) = 4m * ARMS
* AC Current 60 Hz
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\SpecialFunctions\LTC1966.asy)
V1 +V 0 5
XU1 0 N002 0 -V OUT 0 +V LTC1966 ;pnba GND)In1)In2)Vss)Vout)OutRtn)Vdd
L1 0 N001 20n
L2 0 N002 118m
C1 OUT 0 1
K1 L1 L2 1
V2 -V 0 -5
I1 0 N001 SINE(0 {ARMS*sqrt(2)} 60)
R1 N002 0 10
.tran 3
.step param ARMS list 5 10 70
.lib LTC1966.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1264 680
WIRE -16 -400 -16 -416
WIRE -416 -336 -848 -336
WIRE -240 -336 -368 -336
WIRE -128 -336 -240 -336
WIRE 208 -336 96 -336
WIRE -1264 -320 -1264 -336
WIRE -1072 -320 -1072 -336
WIRE -848 -320 -848 -336
WIRE -416 -320 -416 -336
WIRE -368 -320 -368 -336
WIRE -240 -320 -240 -336
WIRE 208 -320 208 -336
WIRE -128 -240 -144 -240
WIRE 112 -240 96 -240
WIRE 208 -240 208 -256
WIRE -1264 -224 -1264 -240
WIRE -1072 -224 -1072 -240
WIRE -848 -224 -848 -240
WIRE -416 -224 -416 -240
WIRE -368 -224 -368 -240
WIRE -240 -224 -240 -240
WIRE -64 -160 -64 -176
WIRE 32 -160 32 -176
SYMBOL ind2 -352 -224 R180
WINDOW 0 1 70 Right 2
WINDOW 3 2 41 Right 2
SYMATTR InstName L2
SYMATTR Value 118m
SYMATTR Type ind
SYMBOL voltage -1264 -336 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage -1072 -336 R0
SYMATTR InstName V2
SYMATTR Value -5
SYMBOL current -848 -240 M180
WINDOW 0 24 80 Left 2
WINDOW 3 24 0 Left 2
WINDOW 123 24 -42 Left 2
WINDOW 39 24 -21 Left 2
SYMATTR InstName I1
SYMATTR Value SINE(0 {ARMS*sqrt(2)} 60)
SYMBOL LTC1966 -16 -288 R0
SYMATTR InstName U1
SYMBOL res -256 -336 R0
SYMATTR InstName R1
SYMATTR Value 10
SYMBOL cap 192 -320 R0
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL ind2 -432 -224 M180
WINDOW 0 -5 74 Right 2
WINDOW 3 -2 44 Right 2
WINDOW 123 -7 14 Right 2
SYMATTR InstName L1
SYMATTR Value 20n
SYMATTR Type ind
FLAG -1264 -224 0
FLAG -1264 -336 +V
FLAG -16 -416 +V
FLAG 32 -160 0
FLAG 112 -240 0
FLAG 208 -336 OUT
FLAG -1072 -224 0
FLAG -1072 -336 -V
FLAG 208 -240 0
FLAG -368 -224 0
FLAG -416 -224 0
FLAG -144 -240 0
FLAG -240 -224 0
FLAG -64 -160 -V
FLAG -848 -224 0
TEXT -40 -104 Left 2 !.tran 3\n.step param ARMS list 5 10 70
TEXT -392 -336 Bottom 2 !K1 L1 L2 1
TEXT -376 -456 Left 2 ;70 A current measurement
TEXT 120 -392 Left 2 ;V(out) = 4m * ARMS
TEXT -848 -336 Bottom 2 ;AC Current 60 Hz
* Z:\tmp\asc_dec_bjh7r6w2\18d9562d9ce3_SIM5_Fuente-de-Corrientes-c-interfaz-AO-_LTSpice-XVII__dec2.asc
* Generated by LTspice 26.0.1 for Windows.
R4 0 N004 12k
Q5 N003 N003 +150v 0 PNP
Q4 N009 N009 -150v 0 NPN
R5 N010 0 4k7
Q1 N003 N006 N007 0 NPN
V4 0 -12v 12
D1 N010 N007 D
R7 N008 0 60k
R1 N002 N001 47k
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.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 880 836
WIRE -864 -208 -864 -224
WIRE -864 -112 -864 -128
WIRE -864 -112 -944 -112
WIRE -656 -112 -736 -112
WIRE -944 -80 -944 -112
WIRE -864 -80 -864 -112
WIRE -736 -80 -736 -112
WIRE 448 -32 448 -64
WIRE 448 -32 320 -32
WIRE 576 -32 448 -32
WIRE 320 16 320 -32
WIRE 576 16 576 -32
WIRE -864 32 -864 0
WIRE -192 48 -240 48
WIRE -16 48 -112 48
WIRE 432 64 384 64
WIRE 512 64 432 64
WIRE 320 144 320 112
WIRE 432 144 432 64
WIRE 432 144 320 144
WIRE 320 192 320 144
WIRE -368 208 -400 208
WIRE -240 208 -240 48
WIRE -240 208 -288 208
WIRE -176 208 -240 208
WIRE -400 224 -400 208
WIRE -400 224 -592 224
WIRE -16 224 -16 48
WIRE -16 224 -112 224
WIRE 80 224 -16 224
WIRE -176 240 -208 240
WIRE 208 240 144 240
WIRE 256 240 208 240
WIRE 80 256 32 256
WIRE -208 272 -208 240
WIRE -208 272 -288 272
WIRE -400 288 -400 224
WIRE -208 288 -208 272
WIRE 576 304 576 112
WIRE 768 304 576 304
WIRE 320 320 320 288
WIRE 320 320 160 320
WIRE 768 336 768 304
WIRE 320 352 320 320
WIRE 32 400 32 256
WIRE 32 400 -128 400
WIRE 48 400 32 400
WIRE 160 400 160 320
WIRE 160 400 48 400
WIRE 208 400 208 240
WIRE 256 400 208 400
WIRE -432 432 -480 432
WIRE -288 432 -288 272
WIRE -288 432 -352 432
WIRE -128 464 -128 400
WIRE 48 464 48 400
WIRE 320 464 320 448
WIRE 432 464 320 464
WIRE -480 480 -480 432
WIRE 320 512 320 464
WIRE 576 512 576 304
WIRE -128 544 -128 528
WIRE 48 544 48 528
WIRE 432 560 432 464
WIRE 432 560 384 560
WIRE 512 560 432 560
WIRE -128 656 -128 624
WIRE -48 656 -128 656
WIRE 48 656 48 624
WIRE 48 656 -48 656
WIRE 320 672 320 608
WIRE 448 672 320 672
WIRE 576 672 576 608
WIRE 576 672 448 672
WIRE -48 688 -48 656
WIRE 448 704 448 672
SYMBOL res -384 384 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R4
SYMATTR Value 12k
SYMBOL pnp 384 112 R180
SYMATTR InstName Q5
SYMBOL npn 384 512 M0
SYMATTR InstName Q4
SYMBOL res -144 528 R0
SYMATTR InstName R5
SYMATTR Value 4k7
SYMBOL npn 256 192 R0
SYMATTR InstName Q1
SYMBOL voltage -864 -96 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value 12
SYMBOL diode -112 528 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMBOL res 752 320 R0
SYMATTR InstName R7
SYMATTR Value 60k
SYMBOL res -96 32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 47k
FLAG -48 688 0
FLAG -208 368 0
FLAG -400 368 0
FLAG -944 -80 0
FLAG -864 -224 +12v
FLAG -864 32 -12v
FLAG -480 480 0
FLAG -736 -80 0
FLAG -144 192 +12v
FLAG 112 272 +12v
FLAG 112 208 -12v
FLAG 448 -64 +150v
FLAG 448 704 -150v
FLAG 768 416 0
* Z:\home\khalils\Downloads\files\data\raw_asc\20c70d05ad2c_sim2.asc
* Generated by LTspice 26.0.1 for Windows.
C2 0 N001 {4/3}
L1 vi N001 1.5
R vo 0 1
V1 vi 0 AC 1
L3 N001 vo 0.5
.ac dec 1000 0.01 10
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -16 144 -80 144
WIRE 80 144 -16 144
WIRE 192 144 160 144
WIRE 224 144 192 144
WIRE 336 144 304 144
WIRE 416 144 336 144
WIRE -80 176 -80 144
WIRE 336 192 336 144
WIRE 192 208 192 144
WIRE -80 320 -80 256
WIRE 192 320 192 272
WIRE 192 320 -80 320
WIRE 336 320 336 272
WIRE 336 320 192 320
WIRE 192 368 192 320
SYMBOL res 320 176 R0
SYMATTR InstName R
SYMATTR Value 1
SYMBOL cap 208 272 R180
WINDOW 0 24 56 Left 2
WINDOW 3 24 8 Left 2
SYMATTR InstName C2
SYMATTR Value {4/3}
SYMBOL ind 64 160 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 1.5
SYMBOL ind 208 160 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L3
SYMATTR Value 0.5
SYMBOL voltage -80 160 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value ""
SYMATTR Value2 AC 1
FLAG 192 368 0
FLAG 416 144 vo
FLAG -16 144 vi
TEXT -114 354 Left 2 !.ac dec 1000 0.01 10
* Z:\home\khalils\Downloads\files\data\raw_asc\f1825fb39228_assignment01.asc
* Generated by LTspice 26.0.1 for Windows.
V1 N003 0 SINE(0.9 50m 1k) AC 50m
V2 N001 0 1.8
M1 N002 N003 0 0 CMOSN l={l} w={w}
R1 N001 N002 {R}
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.lib tsmc018.lib
* .op
* .tran 5m
* .ac dec 20 0.1 1T
.dc V2 0 1.8 0.1 V1 0 0.9 0.05
.step param R 10 1k 50
.step param w 0.5u 1.5u 0.5u
.step param l 50n 180n 25n
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 752 48 480 48
WIRE 480 176 480 128
WIRE 752 208 752 48
WIRE 592 224 480 224
WIRE 432 256 160 256
WIRE 160 352 160 256
WIRE 480 384 480 272
WIRE 480 384 416 384
WIRE 480 416 480 384
WIRE 592 416 592 224
WIRE 592 416 480 416
WIRE 752 416 752 288
WIRE 752 416 592 416
WIRE 416 432 416 384
WIRE 416 432 160 432
FLAG 480 416 0
SYMBOL voltage 160 336 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value SINE(0.9 50m 1k)
SYMATTR Value2 AC 50m
SYMBOL voltage 752 192 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 1.8
SYMBOL nmos4 432 176 R0
SYMATTR InstName M1
SYMATTR Value CMOSN
SYMATTR Value2 l={l} w={w}
SYMBOL res 464 32 R0
SYMATTR InstName R1
SYMATTR Value {R}
TEXT -64 64 Left 2 !.lib tsmc018.lib
TEXT 192 160 Left 2 ;.op
TEXT 200 184 Left 2 ;.tran 5m
TEXT 192 208 Left 2 ;.ac dec 20 0.1 1T
TEXT 200 136 Left 2 !.dc V2 0 1.8 0.1 V1 0 0.9 0.05
TEXT -72 104 Left 2 !.step param R 10 1k 50
TEXT -184 128 Left 2 !.step param w 0.5u 1.5u 0.5u
TEXT -160 160 Left 2 !.step param l 50n 180n 25n
* Z:\home\khalils\Downloads\files\data\raw_asc\b5df47b2889d_DAC.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\AD549.asy)
R3 N001 x2 2k
R2 N001 x3 1k
V1 Vop 0 15
V3 x3 0 PULSE(0 5 40m 0 0 40m 80m)
V6 x0 0 PULSE(0 5 5m 0 0 5m 10m)
XU1 0 N001 Vop Von Vout AD549 ;pnba In+)In-)V+)V-)OUT
V2 0 Von 15
R5 N001 x0 8k
R1 Vout N001 1k
R4 N001 x1 4k
V5 x1 0 PULSE(0 5 10m 0 0 10m 20m)
V4 x2 0 PULSE(0 5 20m 0 0 20m 40m)
.tran 200m
.lib ADI1.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1148 680
WIRE -240 -128 -320 -128
WIRE -112 -128 -160 -128
WIRE -512 -112 -560 -112
WIRE -384 -112 -432 -112
WIRE -208 -48 -224 -48
WIRE -512 -16 -560 -16
WIRE -384 -16 -384 -112
WIRE -384 -16 -432 -16
WIRE -224 0 -224 -48
WIRE 368 0 368 -64
WIRE 512 0 512 -64
WIRE -384 16 -384 -16
WIRE -320 16 -320 -128
WIRE -320 16 -384 16
WIRE -256 16 -320 16
WIRE -112 32 -112 -128
WIRE -112 32 -192 32
WIRE -48 32 -112 32
WIRE -256 48 -288 48
WIRE -512 80 -560 80
WIRE -384 80 -384 16
WIRE -384 80 -432 80
WIRE -224 80 -224 64
WIRE -208 80 -224 80
WIRE -288 96 -288 48
WIRE 368 128 368 80
WIRE 512 128 512 80
WIRE -512 176 -560 176
WIRE -384 176 -384 80
WIRE -384 176 -432 176
WIRE 368 336 368 272
WIRE 512 336 512 272
WIRE 656 336 656 272
WIRE 800 336 800 272
WIRE 368 464 368 416
WIRE 512 464 512 416
WIRE 656 464 656 416
WIRE 800 464 800 416
SYMBOL voltage 512 320 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value PULSE(0 5 20m 0 0 20m 40m)
SYMBOL voltage 368 -16 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL voltage 800 320 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V6
SYMATTR Value PULSE(0 5 5m 0 0 5m 10m)
SYMBOL voltage 512 96 R180
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 15
SYMBOL voltage 368 320 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value PULSE(0 5 40m 0 0 40m 80m)
SYMBOL res -416 64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 4k
SYMBOL res -416 -128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL res -144 -144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL res -416 -32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 2k
SYMBOL voltage 656 320 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V5
SYMATTR Value PULSE(0 5 10m 0 0 10m 20m)
SYMBOL OpAmps\\AD549 -224 -32 R0
WINDOW 3 -66 19 Left 2
SYMATTR InstName U1
SYMBOL res -416 160 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 8k
FLAG 368 128 0
FLAG 368 -64 Vop
FLAG 512 128 0
FLAG 512 -64 Von
FLAG -208 -48 Vop
FLAG -208 80 Von
FLAG -288 96 0
FLAG -560 -112 x3
FLAG -560 -16 x2
FLAG -560 80 x1
FLAG -560 176 x0
FLAG -48 32 Vout
FLAG 368 464 0
FLAG 512 464 0
FLAG 656 464 0
FLAG 800 464 0
FLAG 368 272 x3
FLAG 512 272 x2
FLAG 656 272 x1
FLAG 800 272 x0
TEXT -604 488 Left 2 !.tran 200m