Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\tmp\asc_dec_bjh7r6w2\068edccf57ab_StepperCtrl_2ph_I_dec1.asc
* Generated by LTspice 26.0.1 for Windows.
D4 N005 A LDio
B1 0 b1 I=Imax*2*(u(V(1x)+eps1)-0.5) tripdv=10m tripdt=10n
A1 fc N003 0 0 0 1y 1x 0 MODULATOR mark=0.25 space=0
V3 0 N005 {Vmax}
V1 N003 0 PULSE(0 1 0 5n 5n 1E12)
S2 b2 B N007 N006 SWD
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2276 1548
WIRE -672 224 -720 224
WIRE -672 512 -672 224
WIRE -624 352 -624 288
WIRE -560 288 -624 288
WIRE -560 576 -560 288
WIRE -496 224 -672 224
WIRE -496 288 -560 288
WIRE -496 512 -672 512
WIRE -304 224 -352 224
WIRE -304 288 -352 288
WIRE -224 224 -224 192
WIRE -224 416 -224 384
WIRE -160 192 -224 192
WIRE -128 384 -224 384
WIRE -128 384 -128 336
WIRE -128 432 -128 384
WIRE -128 448 -128 432
WIRE -96 192 -160 192
WIRE -96 224 -96 192
WIRE -96 560 -96 224
WIRE -64 496 -64 272
WIRE -64 640 -64 496
WIRE -32 608 -32 384
WIRE 0 224 -96 224
WIRE 0 336 -128 336
WIRE 0 448 -128 448
WIRE 16 272 -64 272
WIRE 16 384 -32 384
WIRE 16 496 -64 496
WIRE 112 448 80 448
WIRE 112 560 112 448
WIRE 144 272 64 272
WIRE 144 496 64 496
WIRE 144 496 144 272
WIRE 144 704 144 496
WIRE 176 224 80 224
WIRE 176 336 80 336
WIRE 176 336 176 224
WIRE 176 384 64 384
WIRE 176 608 176 384
WIRE 224 224 176 224
WIRE 224 336 224 288
WIRE 224 384 224 336
WIRE 224 448 112 448
WIRE 272 336 224 336
WIRE 272 512 272 336
WIRE 352 224 224 224
WIRE 352 336 352 288
WIRE 352 384 352 336
WIRE 352 448 224 448
WIRE 400 336 352 336
WIRE 400 512 400 336
WIRE 432 672 -144 672
WIRE 448 224 352 224
WIRE 448 448 352 448
SYMBOL diode 336 384 R0
WINDOW 3 -45 4 Left 0
SYMATTR Value LDio
SYMATTR InstName D4
SYMBOL bv -224 320 R180
WINDOW 3 -123 186 Left 0
WINDOW 123 -123 159 Left 0
SYMATTR Value I=Imax*2*(u(V(1x)+eps1)-0.5)
SYMATTR Value2 tripdv=10m tripdt=10n
SYMATTR InstName B1
SYMBOL SpecialFunctions\\modulate2 -496 224 R0
WINDOW 3 -73 121 Left 0
SYMATTR Value mark=0.25 space=0
SYMATTR InstName A1
SYMBOL voltage 400 608 R180
WINDOW 3 -55 -23 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value {Vmax}
SYMATTR InstName V3
SYMBOL voltage -624 336 R0
WINDOW 3 31 85 Left 0
WINDOW 0 39 55 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value PULSE(0 1 0 5n 5n 1E12)
SYMATTR InstName V1
SYMBOL sw -16 336 R270
SYMATTR InstName S2
SYMATTR Value SWD
FLAG -624 432 0
FLAG -720 224 fc
FLAG -304 288 1y
FLAG -304 224 1x
FLAG 448 224 B
FLAG 448 448 A
FLAG -224 304 0
FLAG -224 496 0
FLAG 432 672 clk
FLAG 272 592 0
FLAG 400 592 0
FLAG -160 192 b1
FLAG -128 432 b2
* Z:\home\khalils\Downloads\files\data\raw_asc\1dcff2ef54df_Lab2_Part_1__20101299_.asc
* Generated by LTspice 26.0.1 for Windows.
D1 a 0 BAT54
R1 a N001 9k
V1 N001 0 5
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.dc V1 -1 5 0.01
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 160 16 48 16
WIRE 320 16 240 16
WIRE 336 16 320 16
WIRE 48 96 48 16
WIRE 336 112 336 16
WIRE 48 208 48 176
WIRE 176 208 48 208
WIRE 336 208 336 176
WIRE 336 208 176 208
WIRE 176 240 176 208
SYMBOL res 256 0 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 9k
SYMBOL voltage 48 80 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL schottky 320 112 R0
SYMATTR InstName D1
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
FLAG 176 240 0
FLAG 320 16 a
TEXT 96 -144 Left 2 !.dc V1 -1 5 0.01
* Z:\home\khalils\Downloads\files\data\raw_asc\12067f7b623c_LT6559.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\LT6559.asy)
V2 -V 0 -5
V1 +V 0 5
V3 IN 0 PULSE(-1 1 0 .1n .1n 10u 20u)
R3 N001 0 182
R1 OUT 0 150
XU1 IN N001 +V -V OUT -V LT6559 ;pnba In+)In-)V+)V-)OUT)SHDN
R2 OUT N001 301
.tran 100u
.lib LTC5.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -80 240 -80 224
WIRE 16 240 16 224
WIRE 336 256 224 256
WIRE 448 256 416 256
WIRE -80 336 -80 320
WIRE 16 336 16 320
WIRE 128 384 112 384
WIRE 224 384 224 256
WIRE 224 384 208 384
WIRE 256 384 224 384
WIRE 448 416 448 256
WIRE 448 416 400 416
WIRE 528 416 448 416
WIRE 528 432 528 416
WIRE 256 448 -128 448
WIRE -128 464 -128 448
WIRE 288 512 288 496
WIRE 336 512 336 496
WIRE 336 512 288 512
WIRE 288 528 288 512
WIRE 528 528 528 512
WIRE -128 560 -128 544
SYMBOL res 432 240 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 301
SYMBOL voltage 16 224 R0
SYMATTR InstName V2
SYMATTR Value -5
SYMBOL voltage -128 448 R0
SYMATTR InstName V3
SYMATTR Value PULSE(-1 1 0 .1n .1n 10u 20u)
SYMBOL res 224 368 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 182
SYMBOL LT6559 288 416 R0
SYMATTR InstName U1
SYMBOL voltage -80 224 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL res 512 416 R0
SYMATTR InstName R1
SYMATTR Value 150
FLAG -80 336 0
FLAG -80 224 +V
FLAG 16 336 0
FLAG -128 560 0
FLAG 528 416 OUT
FLAG 528 528 0
FLAG 112 384 0
FLAG -128 448 IN
FLAG 288 336 +V
FLAG 16 224 -V
FLAG 288 528 -V
TEXT 488 592 Left 2 !.tran 100u
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1004-1.2.asc
* Generated by LTspice 26.0.1 for Windows.
XU1 OUT 0 LT1004-1.2 ;pnba VOUT)GND
R1 OUT N001 36K
V1 N001 0 PULSE(0 5 100u 10n 10n 500u 1)
.tran 700u
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\References\LT1004-1.2.asy)
.lib LTC3.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 980 680
WIRE 96 112 -144 112
WIRE 368 112 176 112
WIRE -144 128 -144 112
WIRE 368 128 368 112
WIRE -144 224 -144 208
WIRE 368 224 368 192
FLAG 368 224 0
FLAG -144 224 0
FLAG 368 112 OUT
SYMBOL LT1004-1.2 368 160 R0
SYMATTR InstName U1
SYMBOL res 192 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 36K
SYMBOL voltage -144 112 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value PULSE(0 5 100u 10n 10n 500u 1)
TEXT 392 288 Left 2 !.tran 700u
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1585.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\LT1585.asy)
R2 N001 0 500
Rload OUT 0 500
V1 IN 0 PWL(0 0 1 10)
C1 OUT 0 22
XU1 N001 OUT IN LT1585 ;pnba ADJ)OUT)IN
R1 OUT N001 500
.tran 1
.lib LT1584.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 32 176 -176 176
WIRE 336 176 288 176
WIRE 432 176 336 176
WIRE 528 176 432 176
WIRE -176 192 -176 176
WIRE 336 192 336 176
WIRE 432 192 432 176
WIRE 528 192 528 176
WIRE -176 288 -176 272
WIRE 432 288 432 256
WIRE 528 288 528 272
WIRE 160 304 160 272
WIRE 336 304 336 272
WIRE 336 304 160 304
WIRE 336 320 336 304
WIRE 336 416 336 400
SYMBOL voltage -176 176 R0
SYMATTR InstName V1
SYMATTR Value PWL(0 0 1 10)
SYMBOL res 512 176 R0
SYMATTR InstName Rload
SYMATTR Value 500
SYMBOL PowerProducts\\LT1585 160 176 R0
SYMATTR InstName U1
SYMBOL res 320 304 R0
SYMATTR InstName R2
SYMATTR Value 500
SYMBOL cap 416 192 R0
SYMATTR InstName C1
SYMATTR Value 22
SYMBOL res 320 176 R0
SYMATTR InstName R1
SYMATTR Value 500
FLAG -176 288 0
FLAG 432 288 0
FLAG 528 288 0
FLAG 336 416 0
FLAG 528 176 OUT
FLAG -176 176 IN
TEXT 464 352 Left 2 !.tran 1
* Z:\home\khalils\Downloads\files\data\raw_asc\33f15cad1106_11-14.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\LT1490.asy)
V2 N005 0 10
C1 N004 N003 0.00000001
Rf N004 N003 100000
V1 N006 0 AC 0.1
Rs N003 N006 20000
V3 N007 0 -10
RL N004 0 1000
XU1 0 N003 N005 N007 N004 LT1490A ;pnba In+)In-)V+)V-)OUT
.ac dec 100 1 1000000
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 980 680
WIRE 208 -1248 208 -1264
WIRE 160 -1088 160 -1104
WIRE 592 -240 384 -240
WIRE 896 -240 672 -240
WIRE 384 -160 384 -240
WIRE 592 -160 384 -160
WIRE 896 -160 896 -240
WIRE 896 -160 656 -160
WIRE 544 -96 528 -96
WIRE 544 -32 544 -96
WIRE 176 -16 48 -16
WIRE 384 -16 384 -160
WIRE 384 -16 256 -16
WIRE 512 -16 384 -16
WIRE 896 0 896 -160
WIRE 896 0 576 0
WIRE 512 16 384 16
WIRE 48 64 48 -16
WIRE 544 64 544 32
WIRE 544 80 544 64
WIRE 896 96 896 0
WIRE 544 192 544 144
WIRE 48 240 48 144
WIRE 384 240 384 16
WIRE 896 240 896 176
SYMBOL res 272 -32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Rs
SYMATTR Value 20000
SYMBOL res 880 80 R0
SYMATTR InstName RL
SYMATTR Value 1000
SYMBOL voltage 544 48 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value -10
SYMBOL res 688 -256 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Rf
SYMATTR Value 100000
SYMBOL cap 656 -176 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 0.00000001
SYMBOL voltage 48 48 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 0.1
SYMATTR InstName V1
SYMATTR Value ""
SYMBOL voltage 544 -96 R90
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 10
SYMBOL OpAmps\\LT1490 544 -64 R0
SYMATTR InstName U1
FLAG 896 240 0
FLAG 384 240 0
FLAG 48 240 0
FLAG 544 192 0
FLAG 448 -96 0
TEXT 8 -144 Left 2 !.ac dec 100 1 1000000
* Z:\home\khalils\Downloads\files\data\raw_asc\2a229a56276b_scheme5.asc
* Generated by LTspice 26.0.1 for Windows.
XU1 N005 N001 N003 N007 N002 LT1037 ;pnba In+)In-)V+)V-)OUT
R1 N005 N004 {R2/k1}
R2 N002 N001 {R2*(k1+k2)}
R3 N005 N006 {R2/k2}
R4 N005 0 {R2}
R5 N001 0 {R2}
V1 N004 0 0
V2 N006 0 0.5
V3 N003 0 {Vcc}
V4 0 N007 {Vcc}
* Vout
.param k1=1.5
.param k2=3.5
.param R2=100k
.param Vcc=15
.tran 1ms 100ms
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT1037.asy)
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 880 680
WIRE 160 32 128 32
WIRE 288 32 240 32
WIRE 464 64 208 64
WIRE 464 80 464 64
WIRE 208 128 208 64
WIRE 128 144 128 32
WIRE 176 144 128 144
WIRE 288 160 288 32
WIRE 288 160 240 160
WIRE 368 160 288 160
WIRE -176 176 -208 176
WIRE -64 176 -96 176
WIRE 48 176 16 176
WIRE 176 176 48 176
WIRE 464 192 464 160
WIRE 464 192 400 192
WIRE -208 208 -208 176
WIRE 400 208 400 192
WIRE 464 224 464 192
WIRE -176 288 -208 288
WIRE -64 288 -96 288
WIRE 48 288 48 176
WIRE 48 288 16 288
WIRE -208 320 -208 288
WIRE 208 336 208 192
WIRE 464 336 464 304
WIRE 464 336 208 336
WIRE 48 368 48 288
WIRE 128 368 128 144
WIRE 48 464 48 448
WIRE 128 464 128 448
FLAG -208 320 0
FLAG -208 208 0
FLAG 400 208 0
FLAG 48 464 0
FLAG 128 464 0
SYMBOL OpAmps\\LT1037 208 96 R0
SYMATTR InstName U1
SYMBOL res 32 160 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value {R2/k1}
SYMBOL res 256 16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 -56 60 VTop 2
SYMATTR InstName R2
SYMATTR Value {R2*(k1+k2)}
SYMBOL res 32 272 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value {R2/k2}
SYMBOL res 32 352 R0
WINDOW 0 -36 28 Left 2
WINDOW 3 -63 78 Left 2
SYMATTR InstName R4
SYMATTR Value {R2}
SYMBOL res 112 352 R0
SYMATTR InstName R5
SYMATTR Value {R2}
SYMBOL voltage -80 176 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName V1
SYMATTR Value 0
SYMBOL voltage -80 288 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName V2
SYMATTR Value 0.5
SYMBOL voltage 464 64 R0
SYMATTR InstName V3
SYMATTR Value {Vcc}
SYMBOL voltage 464 208 R0
SYMATTR InstName V4
SYMATTR Value {Vcc}
TEXT 328 144 Left 2 ;Vout
TEXT 272 416 Left 2 !.param k1=1.5
TEXT 272 448 Left 2 !.param k2=3.5
TEXT 272 384 Left 2 !.param R2=100k
TEXT 272 352 Left 2 !.param Vcc=15
TEXT 272 480 Left 2 !.tran 1ms 100ms
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC6363-.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\OpAmps\LTC6363-.5.asy)
V2 -V 0 -1
XU1 0 N001 +V +OUT -OUT -V +V IN LTC6363-.5 ;pnba IN-)Vocm)V+)+OUT)-OUT)V-)_SHDN)IN+
C1 N001 0 .1
V3 IN 0 SINE(0 500m 250K)
V1 +V 0 6
.tran 20u
.lib LTC2.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2592 1424
WIRE 464 -16 464 -32
WIRE 336 64 320 64
WIRE 656 64 592 64
WIRE 336 128 80 128
WIRE 656 128 592 128
WIRE -160 144 -160 128
WIRE -48 144 -48 128
WIRE 80 144 80 128
WIRE -160 240 -160 224
WIRE -48 240 -48 224
WIRE 80 240 80 224
WIRE 400 240 400 224
WIRE 464 240 464 224
WIRE 512 272 512 224
WIRE 512 352 512 336
SYMBOL voltage -160 128 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 6
SYMBOL voltage -48 128 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value -1
SYMBOL LTC6363-.5 464 96 R0
SYMATTR InstName U1
SYMBOL voltage 80 128 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V3
SYMATTR Value SINE(0 500m 250K)
SYMBOL cap 496 272 R0
SYMATTR InstName C1
SYMATTR Value .1
FLAG -160 240 0
FLAG -48 240 0
FLAG -160 128 +V
FLAG -48 128 -V
FLAG 464 -32 +V
FLAG 464 240 -V
FLAG 400 240 +V
FLAG 80 240 0
FLAG 80 128 IN
FLAG 656 64 +OUT
FLAG 656 128 -OUT
FLAG 320 64 0
FLAG 512 352 0
TEXT 640 336 Left 2 !.tran 20u
* Z:\home\khalils\Downloads\files\data\raw_asc\00eb9b1b5654_25._.asc
* Generated by LTspice 26.0.1 for Windows.
V1 NC_01 NC_02 V
C1 NC_09 NC_10 C
V3 NC_05 NC_06 V
R1 NC_07 NC_08 R
V2 NC_03 NC_04 V
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
SYMBOL cap 256 96 R0
SYMATTR InstName C1
SYMBOL voltage 336 416 R0
SYMATTR InstName V3
SYMBOL res 224 0 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMBOL voltage 144 416 R0
SYMATTR InstName V2
SYMBOL voltage -64 144 R0
SYMATTR InstName V1
* Z:\home\khalils\Downloads\files\data\raw_asc\2a89b667dd08_single_edge.asc
* Generated by LTspice 26.0.1 for Windows.
R11 N002 N001 50k
R22 N004 N003 50k
R2 N002 IN+ 10k
R4 N001 IN- 10k
R5 IN+ N003 10k
R8 IN- N004 10k
V2 N002 0 4.8
V4 N004 0 4.8
V1 P001 0 5
V3 P002 0 5
R1 N003 P002 1k
R3 0 N003 1k
R6 P001 N001 800
R7 N001 0 1.3k
* Free
* Clamp
.tran 0.5
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 720
WIRE 0 80 -112 80
WIRE 176 80 0 80
WIRE 432 80 256 80
WIRE 528 80 528 -16
WIRE 528 80 432 80
WIRE 0 208 0 160
WIRE 256 208 0 208
WIRE 432 240 432 160
WIRE 432 240 0 240
WIRE 544 240 432 240
WIRE 256 304 256 208
WIRE 544 304 256 304
WIRE 256 352 256 304
WIRE 432 352 256 352
WIRE 0 384 0 240
WIRE 432 384 432 352
WIRE 0 464 -144 464
WIRE 176 464 0 464
WIRE 432 464 256 464
WIRE 528 464 432 464
WIRE 528 544 528 464
FLAG 528 -96 0
FLAG 528 624 0
FLAG 544 240 IN+
FLAG 544 304 IN-
FLAG -112 -80 0
FLAG -144 624 0
FLAG -144 384 0
FLAG -112 160 0
SYMBOL res 272 64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R11
SYMATTR Value 50k
SYMBOL res 272 448 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R22
SYMATTR Value 50k
SYMBOL res 416 64 R0
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL res -16 64 R0
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL res -16 368 R0
SYMATTR InstName R5
SYMATTR Value 10k
SYMBOL res 416 368 R0
SYMATTR InstName R8
SYMATTR Value 10k
SYMBOL voltage 528 0 R180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 4.8
SYMBOL voltage 528 528 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value 4.8
SYMBOL voltage -112 16 R180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage -144 528 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 5
SYMBOL res -160 448 R0
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL res -160 368 R0
SYMATTR InstName R3
SYMATTR Value 1k
SYMBOL res -128 -16 R0
SYMATTR InstName R6
SYMATTR Value 800
SYMBOL res -128 64 R0
SYMATTR InstName R7
SYMATTR Value 1.3k
TEXT 200 616 Left 2 ;Free
TEXT 184 -48 Left 2 ;Clamp
TEXT -328 272 Left 2 !.tran 0.5
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1268B.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\LT1268B.asy)
C3 N004 0 1
XU1 N003 N002 0 N001 IN LT1268 ;pnba Vc)FB)GND)SW)Vin
Rload OUT 0 10
D1 N001 OUT MBRS360
R2 N002 0 1.24K
L1 IN N001 20 Rpar=2K
R1 OUT N002 10.7K
C2 OUT 0 500 Rser=50m
R3 N003 N004 1K
V1 IN 0 5
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 10m startup
.lib LT1268.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2808 1464
WIRE 1824 896 1616 896
WIRE 1872 896 1824 896
WIRE 1984 896 1952 896
WIRE 2032 896 1984 896
WIRE 2160 896 2096 896
WIRE 2272 896 2160 896
WIRE 2384 896 2272 896
WIRE 1616 912 1616 896
WIRE 2272 912 2272 896
WIRE 2384 912 2384 896
WIRE 1824 944 1824 896
WIRE 2160 944 2160 896
WIRE 1616 1008 1616 992
WIRE 2272 1008 2272 976
WIRE 2384 1008 2384 992
WIRE 1984 1024 1984 896
WIRE 1984 1024 1952 1024
WIRE 2160 1088 2160 1024
WIRE 2160 1088 1952 1088
WIRE 2160 1104 2160 1088
WIRE 1968 1152 1952 1152
WIRE 2064 1152 2048 1152
WIRE 2064 1168 2064 1152
WIRE 2160 1200 2160 1184
WIRE 1824 1248 1824 1232
WIRE 2064 1248 2064 1232
SYMBOL schottky 2032 912 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value MBRS360
SYMBOL RES 2368 896 R0
SYMATTR InstName Rload
SYMATTR Value 10
SYMBOL CAP 2048 1168 R0
SYMATTR InstName C3
SYMATTR Value 1
SYMBOL RES 1952 1168 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R3
SYMATTR Value 1K
SYMBOL PowerProducts\\LT1268B 1824 1088 R0
SYMATTR InstName U1
SYMBOL ind 1856 912 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 20
SYMATTR SpiceLine Rpar=2K
SYMBOL VOLTAGE 1616 896 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL polcap 2256 912 R0
SYMATTR InstName C2
SYMATTR Value 500
SYMATTR SpiceLine Rser=50m
SYMBOL RES 2144 1088 R0
SYMATTR InstName R2
SYMATTR Value 1.24K
SYMBOL RES 2144 928 R0
SYMATTR InstName R1
SYMATTR Value 10.7K
FLAG 2384 896 OUT
FLAG 2160 1200 0
FLAG 2272 1008 0
FLAG 2384 1008 0
FLAG 2064 1248 0
FLAG 1824 1248 0
FLAG 1616 1008 0
FLAG 1616 896 IN
TEXT 2256 1096 Left 2 !.tran 10m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\7a5041fde28b_Draft16.asc
* Generated by LTspice 26.0.1 for Windows.
* Current Mirror: https://wiki.analog.com/university/courses/electronics/text/chapter-11
R3 N004 0 100
Q1 N003 N001 0 0 2N5089
R2 VS N002 1K
V2 VS 0 10
RL N001 N003 250
R1 VIN N001 20K
Q2 N002 N003 N004 0 2SC2411K
V1 VIN 0 PULSE(0 5 0 1u 1u 2m 4m)
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran 0 10m 0 1u
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 464 -224 384 -224
WIRE 464 -208 464 -224
WIRE 736 -144 736 -192
WIRE 464 -96 464 -128
WIRE 464 -96 384 -96
WIRE 464 -64 464 -96
WIRE 736 -16 736 -64
WIRE 464 32 464 16
WIRE 672 32 464 32
WIRE -176 112 -176 64
WIRE 64 112 64 64
WIRE 464 112 464 32
WIRE 736 112 736 80
WIRE 384 160 384 -96
WIRE 400 160 384 160
WIRE 736 208 736 192
WIRE 736 208 464 208
WIRE -176 256 -176 192
WIRE 64 256 64 192
WIRE 464 256 464 208
SYMBOL npn 400 112 R0
SYMATTR InstName Q1
SYMATTR Value 2N5089
SYMBOL res 720 96 R0
SYMATTR InstName R3
SYMATTR Value 100
SYMBOL res 448 -80 R0
SYMATTR InstName RL
SYMATTR Value 250
SYMBOL res 448 -224 R0
SYMATTR InstName R1
SYMATTR Value 20K
SYMBOL voltage -176 96 R0
SYMATTR InstName V2
SYMATTR Value 10
SYMBOL voltage 64 96 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value PULSE(0 5 0 1u 1u 2m 4m)
SYMBOL res 720 -160 R0
SYMATTR InstName R2
SYMATTR Value 1K
SYMBOL npn 672 -16 R0
SYMATTR InstName Q2
SYMATTR Value 2SC2411K
FLAG 464 256 0
FLAG 64 64 VIN
FLAG 64 256 0
FLAG 384 -224 VIN
FLAG -176 256 0
FLAG -176 64 VS
FLAG 736 -192 VS
TEXT -184 416 Left 2 !.tran 0 10m 0 1u
TEXT -200 496 Left 2 ;Current Mirror: https://wiki.analog.com/university/courses/electronics/text/chapter-11
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC6992-3.asc
* Generated by LTspice 26.0.1 for Windows.
* 400Hz, 100% to 5% Duty Cycle\nSwept Pulse Width Modulated Output\nStartup Modeled
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\SpecialFunctions\LTC6992-3.asy)
R3 N002 N004 392K
R4 PWMout 0 10K
V2 N001 0 PULSE(0 1 10m 50m 50m 5m 110m)
R1 N003 0 487K
V1 N002 0 3
R2 N004 0 1000K
XU1 N001 0 N003 N004 N002 PWMout LTC6992-3 ;pnba MOD)GND)SET)DIV)V+)OUT
.tran 120m startup
.lib LTC6992-3.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -176 96 -192 96
WIRE 96 96 -96 96
WIRE 624 96 320 96
WIRE 624 112 624 96
WIRE 96 176 80 176
WIRE 368 176 320 176
WIRE 512 176 368 176
WIRE 368 192 368 176
WIRE 512 192 512 176
WIRE 624 208 624 192
WIRE 0 256 -16 256
WIRE 96 256 80 256
WIRE 336 256 320 256
WIRE 336 288 336 256
WIRE 368 288 368 272
WIRE 368 288 336 288
WIRE 512 288 512 272
WIRE 368 304 368 288
WIRE 368 400 368 384
SYMBOL SpecialFunctions\\LTC6992-3 208 176 R0
SYMATTR InstName U1
SYMBOL res 608 96 R0
SYMATTR InstName R4
SYMATTR Value 10K
SYMBOL res 352 176 R0
SYMATTR InstName R3
SYMATTR Value 392K
SYMBOL res 96 240 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 487K
SYMBOL res 352 288 R0
SYMATTR InstName R2
SYMATTR Value 1000K
SYMBOL voltage 512 176 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 3
SYMBOL voltage -80 96 R90
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 10m 50m 50m 5m 110m)
SYMATTR InstName V2
FLAG -192 96 0
FLAG 512 288 0
FLAG 624 96 PWMout
FLAG 80 176 0
FLAG -16 256 0
FLAG 624 208 0
FLAG 368 400 0
TEXT 504 384 Left 2 !.tran 120m startup
TEXT 208 56 Bottom 2 ;400Hz, 100% to 5% Duty Cycle\nSwept Pulse Width Modulated Output\nStartup Modeled