Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\2ecc8f512cd7_colpitts_osc.asc
* Generated by LTspice 26.0.1 for Windows.
* .ac dec 10 100 10Meg
RE N003 0 1k
C1 N002 N001 100n
C4 OUT 0 10n
R2 N002 0 47k
C3 0 N001 10n
RC VCC OUT 4.7k
R1 VCC N002 220k
Q1 OUT N002 N003 0 BC238
V2 VCC 0 12
L1 N001 OUT 1m
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran 0 210m 200m 100u
.lib ..\..\01_models\BC238.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1156 932
WIRE 544 -112 544 -160
WIRE 544 -112 400 -112
WIRE 672 -112 544 -112
WIRE 400 -48 400 -112
WIRE 672 -48 672 -112
WIRE 672 80 672 32
WIRE 912 80 672 80
WIRE 1040 80 912 80
WIRE 672 112 672 80
WIRE 240 160 160 160
WIRE 400 160 400 32
WIRE 400 160 304 160
WIRE 608 160 400 160
WIRE -208 288 -208 240
WIRE 400 304 400 160
WIRE 672 304 672 208
WIRE -208 400 -208 368
WIRE 400 544 400 384
WIRE 544 544 400 544
WIRE 672 544 672 384
WIRE 672 544 544 544
WIRE 544 576 544 544
WIRE 160 736 160 160
WIRE 400 736 160 736
WIRE 736 736 480 736
WIRE 160 864 160 736
WIRE 304 864 160 864
WIRE 432 864 368 864
WIRE 512 864 432 864
WIRE 736 864 736 736
WIRE 736 864 576 864
WIRE 912 864 912 80
WIRE 912 864 736 864
WIRE 432 912 432 864
IOPIN 1040 80 Out
SYMBOL ind 384 752 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 1m
SYMBOL res 656 -64 R0
SYMATTR InstName RC
SYMATTR Value 4.7k
SYMBOL cap 368 848 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value 10n
SYMBOL cap 304 144 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 100n
SYMBOL voltage -208 272 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value 12
SYMBOL cap 576 848 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C4
SYMATTR Value 10n
SYMBOL npn 608 112 R0
SYMATTR InstName Q1
SYMATTR Value BC238
SYMBOL res 656 288 R0
SYMATTR InstName RE
SYMATTR Value 1k
SYMBOL res 384 288 R0
SYMATTR InstName R2
SYMATTR Value 47k
SYMBOL res 384 -64 R0
SYMATTR InstName R1
SYMATTR Value 220k
FLAG 544 576 0
FLAG -208 400 0
FLAG -208 240 VCC
FLAG 544 -160 VCC
FLAG 1040 80 OUT
FLAG 432 912 0
TEXT -488 632 Left 2 !.tran 0 210m 200m 100u
TEXT -488 664 Left 2 ;.ac dec 10 100 10Meg
TEXT -488 600 Left 2 !.lib ..\\..\\01_models\\BC238.lib
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1763-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\LT1763-5.asy)
C2 OUT N001 .01
XU1 OUT OUT 0 N001 IN MP_01 MP_02 IN LT1763-5 ;pnba OUT)Sense)GND)BYP)_SHDN)))IN
C1 OUT 0 10
Rload OUT 0 500
V1 IN 0 PWL(0 0 1 10)
.tran 1
.lib LT1763.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 320 32 304 32
WIRE 352 32 320 32
WIRE 432 32 352 32
WIRE 528 32 432 32
WIRE 0 48 -208 48
WIRE 16 48 0 48
WIRE 432 48 432 32
WIRE 528 48 528 32
WIRE -208 64 -208 48
WIRE 352 64 352 32
WIRE 320 96 320 32
WIRE 320 96 304 96
WIRE 0 144 0 48
WIRE 16 144 0 144
WIRE 432 144 432 112
WIRE 528 144 528 128
WIRE -208 160 -208 144
WIRE 352 160 352 128
WIRE 352 160 304 160
WIRE 160 240 160 208
SYMBOL voltage -208 48 R0
SYMATTR InstName V1
SYMATTR Value PWL(0 0 1 10)
SYMBOL PowerProducts\\LT1763-5 160 96 R0
SYMATTR InstName U1
SYMBOL cap 416 48 R0
SYMATTR InstName C1
SYMATTR Value 10
SYMBOL cap 336 64 R0
SYMATTR InstName C2
SYMATTR Value .01
SYMBOL res 512 32 R0
SYMATTR InstName Rload
SYMATTR Value 500
FLAG -208 160 0
FLAG 432 144 0
FLAG 528 144 0
FLAG 160 240 0
FLAG 528 32 OUT
FLAG -208 48 IN
TEXT 408 208 Left 2 !.tran 1
* Z:\home\khalils\Downloads\files\data\raw_asc\ADG436.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\Switches\ADG436.asy)
V4 N004 0 pulse(0 3.3 0 1u 1u 5m 10m)
R1 N001 0 1K
XU1 N004 N001 N002 N003 -V 0 +V ADG436 ;pnba IN)SA)D)SB)Vss)GND)Vdd
V1 +V 0 15
V2 -V 0 -15
R2 N003 0 1K
V5 N002 0 SINE(0 10 2k)
.tran 30m
.lib ADG436.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2844 1336
WIRE -752 -368 -800 -368
WIRE -800 -320 -800 -368
WIRE -1184 -256 -1184 -272
WIRE -1056 -256 -1072 -256
WIRE -896 -256 -976 -256
WIRE -656 -224 -704 -224
WIRE -544 -224 -576 -224
WIRE -1008 -192 -1072 -192
WIRE -896 -192 -928 -192
WIRE -1184 -160 -1184 -176
WIRE -896 -128 -1072 -128
WIRE -1184 -48 -1184 -64
WIRE -1072 -16 -1072 -128
WIRE -736 0 -736 -16
WIRE -864 16 -864 -16
WIRE -832 16 -864 16
WIRE -1184 48 -1184 32
WIRE -1072 80 -1072 64
SYMBOL voltage -672 -224 R270
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 0 47 41 VRight 2
WINDOW 3 -46 -22 VRight 2
SYMATTR InstName V5
SYMATTR Value SINE(0 10 2k)
SYMBOL voltage -1184 -64 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value -15
SYMBOL res -960 -240 M270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R1
SYMATTR Value 1K
SYMBOL voltage -1184 -272 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL res -912 -176 M270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R2
SYMATTR Value 1K
SYMBOL voltage -1072 -32 R0
SYMATTR InstName V4
SYMATTR Value pulse(0 3.3 0 1u 1u 5m 10m)
SYMBOL ADG436 -800 -176 R0
SYMATTR InstName U1
FLAG -1184 48 0
FLAG -1184 -160 0
FLAG -1184 -272 +V
FLAG -1184 -64 -V
FLAG -544 -224 0
FLAG -1072 80 0
FLAG -1072 -256 0
FLAG -1072 -192 0
FLAG -752 -368 +V
FLAG -736 0 0
FLAG -832 16 -V
TEXT -672 -88 Left 2 !.tran 30m
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC1174-3.3.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\LTC1174-3.3.asy)
L1 N001 OUT 100 Rser=0.02 Rpar=5000
Rload OUT 0 10
V1 IN 0 9
D1 0 N001 MBRS140
C1 OUT 0 100 Rser=0.02
XU1 OUT N003 N002 0 N001 IN IN IN LTC1174 top=51K bot=31.5K ;pnba FB)LBout)LBin)GND)SW)Vin)Ipgm)_SHDN
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 100m startup
.lib LTC1174.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1584 1140
WIRE 448 480 320 480
WIRE 624 480 448 480
WIRE 320 496 320 480
WIRE 624 512 624 480
WIRE 448 560 448 480
WIRE 496 560 448 560
WIRE 816 560 752 560
WIRE 864 560 816 560
WIRE 976 560 944 560
WIRE 1072 560 976 560
WIRE 816 576 816 560
WIRE 1072 576 1072 560
WIRE 320 592 320 576
WIRE 496 624 480 624
WIRE 768 624 752 624
WIRE 816 656 816 640
WIRE 1072 672 1072 656
WIRE 448 688 448 560
WIRE 496 688 448 688
WIRE 976 688 976 560
WIRE 976 688 752 688
WIRE 976 704 976 688
WIRE 624 752 624 736
WIRE 976 784 976 768
SYMBOL POLCAP 960 704 R0
SYMATTR InstName C1
SYMATTR Value 100
SYMATTR SpiceLine Rser=0.02
SYMBOL SCHOTTKY 800 640 M180
WINDOW 0 30 60 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value MBRS140
SYMBOL res 1056 560 R0
SYMATTR InstName Rload
SYMATTR Value 10
SYMBOL IND 848 576 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 100
SYMATTR SpiceLine Rser=0.02 Rpar=5000
SYMBOL PowerProducts\\LTC1174-3.3 624 624 R0
SYMATTR InstName U1
SYMBOL VOLTAGE 320 480 R0
SYMATTR InstName V1
SYMATTR Value 9
FLAG 1072 560 OUT
FLAG 976 784 0
FLAG 1072 672 0
FLAG 816 656 0
FLAG 624 752 0
FLAG 320 592 0
FLAG 320 480 IN
TEXT 704 792 Left 2 !.tran 100m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\226425dbe5a4_stepdown.asc
* Generated by LTspice 26.0.1 for Windows.
I2 NC_01 NC_02 35m
R1 NC_07 NC_08 {opor}
V2 N001 0 PULSE(0 2m 0 0 0 {Ton} {T})
V3 NC_05 NC_06 {Vout}
S1 N003 N002 N001 0 SW
V1 N002 0 12 Rser=25
I1 NC_03 NC_04 {Iout}
C1 N004 0 {C4}
D1 0 N003 D
L1 N003 N004 {L4}
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.PARAM F = 8.89k
.PARAM T = 1/F
.PARAM wyp = 0.2
.PARAM Ton = wyp*T
.PARAM Iout = 50m
.PARAM Vout = 3
.PARAM opor = Vout/Iout
.Model SW SW(Ron = 1m Roff = 100Meg Vt = 1m)
.PARAM L4 = 1400u
.PARAM L2 = 470u
.PARAM L1 = 220u
.PARAM C1 = 1u
.PARAM C2 = 4.7u
.PARAM C3 = 10u
.PARAM C4 = 33u
.step param Iout 10 150 5
.step param wyp 10 90 5
.measure prond AVG I(L1)*1000
.tran 0.005 0.004
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1048 724
WIRE 176 32 176 0
WIRE 208 32 176 32
WIRE 208 64 208 32
WIRE 96 80 96 0
WIRE 112 80 96 80
WIRE 176 80 176 32
WIRE 176 80 160 80
WIRE 96 128 -16 128
WIRE 240 128 176 128
WIRE 448 128 320 128
WIRE 592 128 592 112
WIRE 592 128 448 128
WIRE -16 144 -16 128
WIRE 240 144 240 128
WIRE 320 144 320 128
WIRE 448 176 448 128
WIRE 592 176 592 128
WIRE 240 208 240 144
WIRE 320 208 320 144
WIRE -16 320 -16 224
WIRE 240 320 240 272
WIRE 240 320 -16 320
WIRE 320 320 320 272
WIRE 320 320 240 320
WIRE 448 320 448 256
WIRE 448 320 320 320
WIRE 592 320 592 256
WIRE 592 320 448 320
SYMBOL load -160 16 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I2
SYMATTR Value 35m
SYMBOL current 768 176 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I1
SYMATTR Value {Iout}
SYMBOL schottky 256 272 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMBOL sw 192 128 R90
SYMATTR InstName S1
SYMBOL voltage -16 128 R0
WINDOW 123 0 0 Left 0
WINDOW 39 24 124 Left 2
SYMATTR SpiceLine Rser=25
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL res 928 112 R0
SYMATTR InstName R1
SYMATTR Value {opor}
SYMBOL voltage 768 320 R0
WINDOW 123 0 0 Left 0
WINDOW 39 24 124 Left 2
SYMATTR InstName V3
SYMATTR Value {Vout}
SYMBOL voltage 80 0 R270
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value PULSE(0 2m 0 0 0 {Ton} {T})
SYMBOL ind 224 160 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value {L4}
SYMBOL cap 304 208 R0
WINDOW 3 32 53 Left 2
SYMATTR Value {C4}
SYMATTR InstName C1
FLAG -16 320 0
FLAG 208 64 0
TEXT -48 344 Left 2 !.PARAM F = 8.89k\n.PARAM T = 1/F\n.PARAM wyp = 0.2\n.PARAM Ton = wyp*T\n.PARAM Iout = 50m\n.PARAM Vout = 3\n.PARAM opor = Vout/Iout
TEXT 360 16 Left 2 !.Model SW SW(Ron = 1m Roff = 100Meg Vt = 1m)
TEXT 304 392 Left 2 !.PARAM L4 = 1400u\n.PARAM L2 = 470u\n.PARAM L1 = 220u\n.PARAM C1 = 1u\n.PARAM C2 = 4.7u\n.PARAM C3 = 10u\n.PARAM C4 = 33u
TEXT -152 624 Left 2 !.step param Iout  10 150 5\n.step param wyp 10 90 5\n.measure prond AVG I(L1)*1000\n.tran 0.005 0.004
* Z:\home\khalils\Downloads\files\data\raw_asc\1312116d8bc3_DAC_Network_Model.asc
* Generated by LTspice 26.0.1 for Windows.
Rx Vref VDAC+ 287
R1 VDAC+ 0 931
R2 VIN+ VDAC+ 1500
R4 0 VDAC- 1150
Ry VDAC- Vref 309
Rg VDAC- VIN- 1500
Rf VIN- Vout 750
R3 VIN+ 0 750
XU1 VIN- VIN+ Vout opamp Aol=100K GBW=10Meg ;pnba invin)noninvin)out
I1 VDAC+ 0 SINE(2.5m 2.5m 1000 0 0 0)
I2 VDAC- 0 SINE(2.5m 2.5m 1000 0 0 180)
V1 Vref 0 3.3
V2 VDD 0 1.8
.tran 0 2m 0
.lib opamp.sub
;op 0 2m 0
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 916 680
WIRE -128 16 -336 16
WIRE 64 16 -128 16
WIRE 176 16 64 16
WIRE 416 16 256 16
WIRE -336 32 -336 16
WIRE 256 64 256 16
WIRE -560 160 -656 160
WIRE 352 176 336 176
WIRE 496 176 352 176
WIRE 624 192 560 192
WIRE -656 208 -656 160
WIRE 416 208 416 16
WIRE 496 208 416 208
WIRE -160 288 -336 288
WIRE -64 288 -160 288
WIRE -336 304 -336 288
WIRE -64 368 -64 288
WIRE 80 368 -64 368
WIRE 112 368 80 368
WIRE 112 384 112 368
WIRE 224 384 112 384
WIRE 336 384 336 176
WIRE 336 384 304 384
WIRE 352 384 336 384
WIRE 624 384 624 192
WIRE 624 384 432 384
FLAG 256 144 0
FLAG 64 96 0
FLAG 80 448 0
FLAG -336 112 0
FLAG -336 384 0
FLAG -656 288 0
FLAG 64 -64 Vref
FLAG 80 288 Vref
FLAG -560 160 Vref
FLAG 624 192 Vout
FLAG -128 16 VDAC+
FLAG -160 288 VDAC-
FLAG 416 16 VIN+
FLAG 352 176 VIN-
FLAG -768 80 0
FLAG -768 0 VDD
DATAFLAG -336 288 ""
DATAFLAG -336 16 ""
SYMBOL res 48 -80 R0
SYMATTR InstName Rx
SYMATTR Value 287
SYMBOL res 48 0 R0
SYMATTR InstName R1
SYMATTR Value 931
SYMBOL res 272 0 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1500
SYMBOL res 96 464 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R4
SYMATTR Value 1150
SYMBOL res 96 384 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName Ry
SYMATTR Value 309
SYMBOL res 208 400 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName Rg
SYMATTR Value 1500
SYMBOL res 336 400 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName Rf
SYMATTR Value 750
SYMBOL res 240 48 R0
SYMATTR InstName R3
SYMATTR Value 750
SYMBOL Opamps\\opamp 528 128 R0
SYMATTR InstName U1
SYMBOL current -336 32 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I1
SYMATTR Value SINE(2.5m 2.5m 1000 0 0 0)
SYMBOL current -336 304 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I2
SYMATTR Value SINE(2.5m 2.5m 1000 0 0 180)
SYMBOL voltage -656 192 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 3.3
SYMBOL voltage -768 -16 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 1.8
TEXT -370 472 Left 2 !.tran 0 2m 0
TEXT 568 -88 Left 2 !.lib opamp.sub
TEXT 792 -24 Left 2 !;op 0 2m 0
* Z:\home\khalils\Downloads\files\data\raw_asc\0ee497f66acf_Design_A_Transistor.asc
* Generated by LTspice 26.0.1 for Windows.
Q1 N002 N003 0 0 BC547C
Rc Vcc N001 150
Rb N003 Vcontrol 750
Vcc Vcc 0 12V
Vcontrol_1 Vcontrol 0 5V
D1 N001 N002 NSPW500BS
D2 N001 N002 NSPW500BS
.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
.tran 0.1
* Vbe < 0.7v
* Ib = 5.6301mA
* Ic = B*Ic
* Ic = 56.658mA
* B = 110
* From datasheet B = 110 but we will use Bforced = 10 to force transistor to be in saturation region and to be fully on
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 3268 680
WIRE 400 -160 400 -224
WIRE 400 -32 400 -80
WIRE 400 -32 304 -32
WIRE 496 -32 400 -32
WIRE 304 0 304 -32
WIRE 496 0 496 -32
WIRE 304 96 304 64
WIRE 400 96 304 96
WIRE 496 96 496 64
WIRE 496 96 400 96
WIRE -704 144 -704 80
WIRE 400 144 400 96
WIRE -544 160 -544 96
WIRE 16 192 -160 192
WIRE 336 192 96 192
WIRE -704 256 -704 224
WIRE -544 272 -544 240
WIRE 400 336 400 240
FLAG 400 336 0
FLAG -160 192 Vcontrol
FLAG 400 -224 Vcc
FLAG -704 256 0
FLAG -704 80 Vcc
FLAG -544 272 0
FLAG -544 96 Vcontrol
DATAFLAG -64 192 ""
DATAFLAG 256 192 ""
DATAFLAG 400 272 ""
SYMBOL npn 336 144 R0
SYMATTR InstName Q1
SYMATTR Value BC547C
SYMBOL res 384 -176 R0
SYMATTR InstName Rc
SYMATTR Value 150
SYMBOL res 112 176 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Rb
SYMATTR Value 750
SYMBOL voltage -704 128 R0
SYMATTR InstName Vcc
SYMATTR Value 12V
SYMBOL voltage -544 144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Vcontrol_1
SYMATTR Value 5V
SYMBOL LED 480 0 R0
SYMATTR InstName D1
SYMATTR Value NSPW500BS
SYMBOL LED 288 0 R0
WINDOW 0 -27 3 Left 2
WINDOW 3 -133 58 Left 2
SYMATTR InstName D2
SYMATTR Value NSPW500BS
TEXT -736 360 Left 2 !.tran 0.1
TEXT 208 224 Left 2 ;Vbe < 0.7v
TEXT 0 368 Left 2 ;Ib = 5.6301mA
TEXT 8 400 Left 2 ;Ic = B*Ic
TEXT 8 464 Left 2 ;Ic = 56.658mA
TEXT 128 400 Left 2 ;B = 110
TEXT 8 432 Left 2 ;From datasheet B = 110 but we will use Bforced = 10 to force transistor to be in saturation region and to be fully on
* Z:\home\khalils\Downloads\files\data\raw_asc\19cee9d94910_AD8602.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\AD8602.asy)
V2 -V 0 -2.5
XU1 IN N001 +V -V OUT AD8602 ;pnba In+)In-)V+)V-)OUT
R2 OUT N001 10K
V1 +V 0 2.5
Rload OUT 0 10K
Vin IN 0 SINE(0 1 100K)
R1 N001 0 10K
.tran 100u
.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
SYMBOL res 592 -816 R0
SYMATTR InstName Rload
SYMATTR Value 10K
SYMBOL res 368 -960 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10K
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 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 voltage 144 -848 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName V2
SYMATTR Value -2.5
SYMBOL Opamps\\AD8602 416 -880 R0
SYMATTR InstName U1
SYMBOL res 480 -960 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10K
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
TEXT 528 -608 Left 2 !.tran 100u
* Z:\home\khalils\Downloads\files\data\raw_asc\1bf9cef0cbfb_Draft1.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\UniversalOpAmp2.asy)
Vss Vss 0 -10
R_T Vt 0 12k
I1 0 V- PULSE(0 10m 0 0 0 1n 10000 1)
C_T Vt Vin 1n
D V- 0 D
Vin Vin 0 PULSE(-5 5 0 0 0 2m 10m 100000)
D_T V+ Vt D
R1 V+ 0 12k
C V- 0 150n
XU1 V+ V- Vdd Vss Vout level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
Vdd Vdd 0 10
R Vout V- 12k
R2 Vout V+ 12k
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 0 10.01m 0 0.1m
.lib UniversalOpAmp2.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 144 -32 16 -32
WIRE 208 -32 144 -32
WIRE 368 -32 288 -32
WIRE 16 0 16 -32
WIRE 16 96 16 64
WIRE -560 112 -560 0
WIRE -400 112 -400 0
WIRE 240 128 240 112
WIRE 64 144 -32 144
WIRE 144 144 144 -32
WIRE 144 144 64 144
WIRE 208 144 144 144
WIRE 64 160 64 144
WIRE 368 160 368 -32
WIRE 368 160 272 160
WIRE 432 160 368 160
WIRE 208 176 144 176
WIRE 240 208 240 192
WIRE -560 272 -560 192
WIRE -400 272 -400 192
WIRE -144 320 -208 320
WIRE -16 320 -80 320
WIRE 32 320 -16 320
WIRE 144 320 144 176
WIRE 144 320 96 320
WIRE 208 320 144 320
WIRE 368 320 368 160
WIRE 368 320 288 320
WIRE -208 384 -208 320
WIRE -16 384 -16 320
WIRE 144 416 144 320
WIRE -16 512 -16 464
WIRE -208 528 -208 464
WIRE 144 528 144 496
IOPIN 240 112 In
IOPIN 240 208 In
IOPIN 432 160 Out
IOPIN -560 0 Out
IOPIN -400 0 Out
SYMBOL voltage -560 96 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Vdd
SYMATTR Value 10
SYMBOL voltage -208 368 R0
WINDOW 0 -97 52 Left 2
WINDOW 3 -344 103 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Vin
SYMATTR Value PULSE(-5 5 0 0 0 2m 10m 100000)
SYMBOL voltage -400 96 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Vss
SYMATTR Value -10
SYMBOL res 128 400 R0
SYMATTR InstName R1
SYMATTR Value 12k
SYMBOL res 304 304 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 12k
SYMBOL res 304 -48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R
SYMATTR Value 12k
SYMBOL OpAmps\\UniversalOpAmp2 240 160 R0
SYMATTR InstName U1
SYMBOL cap 48 160 R0
SYMATTR InstName C
SYMATTR Value 150n
SYMBOL diode 96 304 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D_T
SYMBOL current -32 224 R180
WINDOW 0 24 80 Left 2
WINDOW 3 24 0 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I1
SYMATTR Value PULSE(0 10m 0 0 0 1n 10000 1)
SYMBOL res -32 368 R0
SYMATTR InstName R_T
SYMATTR Value 12k
SYMBOL diode 0 0 R0
SYMATTR InstName D
SYMBOL cap -80 304 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C_T
SYMATTR Value 1n
FLAG 64 224 0
FLAG 16 96 0
FLAG 144 528 0
FLAG -16 512 0
FLAG -208 528 0
FLAG 240 112 Vdd
FLAG 240 208 Vss
FLAG 432 160 Vout
FLAG -560 272 0
FLAG -400 272 0
FLAG -560 0 Vdd
FLAG -400 0 Vss
FLAG -32 224 0
FLAG 144 144 V-
FLAG 144 320 V+
FLAG -208 320 Vin
FLAG -16 320 Vt
TEXT -632 552 Left 2 !.tran 0 10.01m 0 0.1m
* Z:\home\khalils\Downloads\files\data\raw_asc\18e0162327c5_exercise1_assignment6.asc
* Generated by LTspice 26.0.1 for Windows.
O1 in 0 out 0 TL1
Vs N001 0 SINE(0 1 1G)
RS in N001 50
R1/G out 0 1538.46
RL 0 out 50
.model TL1 LTRA (L = 286n C = 115p R = 1.8 Len = 1)
.tran 0 10n 0 0.001n
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -48 16 -128 16
WIRE 192 16 32 16
WIRE 384 16 288 16
WIRE 480 16 384 16
WIRE 624 16 560 16
WIRE 384 64 384 16
WIRE -128 80 -128 16
WIRE 192 96 192 16
WIRE 288 96 288 16
WIRE -128 208 -128 160
WIRE 32 208 -128 208
WIRE 192 208 192 128
WIRE 192 208 32 208
WIRE 288 208 288 128
WIRE 384 208 384 144
WIRE 384 208 288 208
WIRE 480 208 384 208
WIRE 624 208 624 16
WIRE 624 208 480 208
WIRE 32 256 32 208
WIRE 480 256 480 208
SYMBOL ltline 240 112 R0
SYMATTR InstName O1
SYMATTR Value TL1
SYMBOL voltage -128 64 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Vs
SYMATTR Value SINE(0 1 1G)
SYMBOL res 368 48 R0
SYMATTR InstName 1/G
SYMATTR Value 1538.46
SYMBOL res 48 0 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName RS
SYMATTR Value 50
SYMBOL res 576 0 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName RL
SYMATTR Value 50
FLAG 480 256 0
FLAG 32 256 0
FLAG 384 16 out
FLAG 192 16 in
TEXT -152 336 Left 2 !.model TL1 LTRA (L = 286n  C = 115p R = 1.8 Len = 1)
TEXT -154 372 Left 2 !.tran 0 10n 0 0.001n
* Z:\home\khalils\Downloads\files\data\raw_asc\68761fc97c0b_ReverseVoltageProtection.asc
* Generated by LTspice 26.0.1 for Windows.
M1 V+/D N001 S S PMOS
R3 S 0 1k
D1 G S BZX84C6V2L
R2 G 0 1.8m
R1 N001 G 200k
V1 V+/D 0 Rser=10
.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
.dc V1 -10 10 .1
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 112 32 -96 32
WIRE 432 32 208 32
WIRE 528 32 432 32
WIRE 624 32 528 32
WIRE 432 112 432 32
WIRE 192 128 192 80
WIRE 624 160 624 32
WIRE -96 176 -96 32
WIRE 192 240 192 208
WIRE 432 240 432 176
WIRE 432 240 192 240
WIRE 528 240 432 240
WIRE 192 272 192 240
WIRE -96 384 -96 256
WIRE 192 384 192 352
WIRE 192 384 -96 384
WIRE 528 384 192 384
WIRE 624 384 624 240
WIRE 624 384 528 384
WIRE 192 432 192 384
SYMBOL res 176 112 R0
SYMATTR InstName R1
SYMATTR Value 200k
SYMBOL res 608 144 R0
SYMATTR InstName R3
SYMATTR Value 1k
SYMBOL voltage -96 160 R0
WINDOW 123 0 0 Left 0
WINDOW 39 24 44 Left 0
SYMATTR SpiceLine Rser=10
SYMATTR InstName V1
SYMATTR Value ""
SYMBOL pmos 112 80 R270
SYMATTR InstName M1
SYMBOL zener 448 176 R180
WINDOW 0 24 72 Left 0
WINDOW 3 24 0 Left 0
SYMATTR InstName D1
SYMATTR Value BZX84C6V2L
SYMBOL res 176 256 R0
SYMATTR InstName R2
SYMATTR Value 1.8m
FLAG 528 384 V-
FLAG 528 240 G
FLAG -96 32 V+/D
FLAG 528 32 S
FLAG 192 432 0
TEXT -144 448 Left 0 !.dc V1 -10 10 .1
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1790-2.048.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\LT1790-2.048.asy)
V1 IN 0 PWL(0 0 1 10)
Rload OUT 0 1K
C1 OUT 0 1
XU1 IN 0 OUT LT1790-2048 ;pnba IN)GND)OUT
.tran 1
.lib LT1790.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 32 48 -176 48
WIRE 352 48 288 48
WIRE 448 48 352 48
WIRE -176 64 -176 48
WIRE 352 64 352 48
WIRE 448 64 448 48
WIRE -176 160 -176 144
WIRE 352 160 352 128
WIRE 448 160 448 144
WIRE 160 176 160 160
SYMBOL cap 336 64 R0
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL res 432 48 R0
SYMATTR InstName Rload
SYMATTR Value 1K
SYMBOL voltage -176 48 R0
SYMATTR InstName V1
SYMATTR Value PWL(0 0 1 10)
SYMBOL PowerProducts\\LT1790-2.048 160 48 R0
SYMATTR InstName U1
FLAG -176 160 0
FLAG 352 160 0
FLAG 448 160 0
FLAG 160 176 0
FLAG 448 48 OUT
FLAG -176 48 IN
TEXT 272 216 Left 2 !.tran 1