Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\00fc0336b964__Fig1_17_AC_MSD.asc
* Generated by LTspice 26.0.1 for Windows.
R1 N001 0 50
Vin Vin 0 AC 1
E1 Vout Vin N001 0 1
T1 Vin 0 N001 0 Td=10n Z0=50
.ac lin 1000 1k 200MEG
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1056 688
WIRE 704 256 656 256
WIRE 752 256 704 256
WIRE 656 288 656 256
WIRE 96 304 80 304
WIRE 160 304 96 304
WIRE 208 304 160 304
WIRE 512 304 304 304
WIRE 608 304 512 304
WIRE 80 320 80 304
WIRE 512 320 512 304
WIRE 208 336 192 336
WIRE 336 336 304 336
WIRE 80 416 80 400
WIRE 512 432 512 400
WIRE 160 576 160 304
WIRE 656 576 656 368
WIRE 656 576 160 576
SYMBOL res 496 304 R0
SYMATTR InstName R1
SYMATTR Value 50
SYMBOL e 656 272 R0
WINDOW 0 42 39 Left 0
WINDOW 3 44 69 Left 0
SYMATTR InstName E1
SYMATTR Value 1
SYMBOL voltage 80 304 R0
WINDOW 0 -73 38 Left 0
WINDOW 123 -82 95 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Vin
SYMATTR Value2 AC 1
SYMATTR Value ""
SYMBOL tline 256 320 R0
SYMATTR InstName T1
SYMATTR Value Td=10n Z0=50
FLAG 512 432 0
FLAG 336 336 0
FLAG 192 336 0
FLAG 80 416 0
FLAG 96 304 Vin
FLAG 704 256 Vout
FLAG 608 352 0
TEXT 240 512 Left 0 !.ac lin 1000 1k 200MEG
* Z:\home\khalils\Downloads\files\data\raw_asc\10209fd48f64_Draft3.asc
* Generated by LTspice 26.0.1 for Windows.
RB1 Vcc b {mc(100k,tol1)}
Vs s 0 0 AC 1
V1 Vcc 0 12V
Rs in s 1k
RE e 0 {mc(1.3k,tol1)}
RC Vcc c {mc(4.7k,tol1)}
C3 e 0 {mc(10uF,tol2)}
C2 out c {mc(0.1uF,tol2)}
RL out 0 10k
RB2 b 0 {mc(20k,tol1)}
C1 b in {mc(0.1uF,tol2)}
Q1 c b e 0 2N3904
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.param tol1=0.05
.param tol2=0.1
.step param run 0 9 1
.ac dec 100 10 10Meg
.meas AC gain MAX mag(V(out)/V(s))
.meas AC Low3dB WHEN mag(V(out)/V(s))=gain/sqrt(2) Rise=1
.meas AC High3dB WHEN mag(V(out)/V(s))=gain/sqrt(2) Fall=1
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1412 680
WIRE 560 48 560 0
WIRE 880 48 880 0
WIRE 880 160 880 128
WIRE 944 160 880 160
WIRE 1088 160 944 160
WIRE 1248 160 1152 160
WIRE 1344 160 1248 160
WIRE 880 192 880 160
WIRE 1344 192 1344 160
WIRE 128 240 80 240
WIRE 176 240 128 240
WIRE 320 240 256 240
WIRE 368 240 320 240
WIRE 560 240 560 128
WIRE 560 240 432 240
WIRE 768 240 560 240
WIRE 816 240 768 240
WIRE 80 288 80 240
WIRE 1344 304 1344 272
WIRE 880 320 880 288
WIRE 944 320 880 320
WIRE 1136 320 944 320
WIRE 560 352 560 240
WIRE 880 352 880 320
WIRE 1136 368 1136 320
WIRE 560 480 560 432
WIRE 880 480 880 432
WIRE 1136 480 1136 432
SYMBOL cap 1152 144 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value {mc(0.1uF,tol2)}
SYMBOL res 864 336 R0
SYMATTR InstName RE
SYMATTR Value {mc(1.3k,tol1)}
SYMBOL cap 432 224 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value {mc(0.1uF,tol2)}
SYMBOL res 1328 176 R0
SYMATTR InstName RL
SYMATTR Value 10k
SYMBOL voltage 80 272 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR InstName Vs
SYMATTR Value 0
SYMATTR Value2 AC 1
SYMBOL cap 1120 368 R0
SYMATTR InstName C3
SYMATTR Value {mc(10uF,tol2)}
SYMBOL res 544 336 R0
SYMATTR InstName RB2
SYMATTR Value {mc(20k,tol1)}
SYMBOL res 544 32 R0
SYMATTR InstName RB1
SYMATTR Value {mc(100k,tol1)}
SYMBOL res 272 224 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Rs
SYMATTR Value 1k
SYMBOL res 864 32 R0
SYMATTR InstName RC
SYMATTR Value {mc(4.7k,tol1)}
SYMBOL voltage 80 32 R0
SYMATTR InstName V1
SYMATTR Value 12V
SYMBOL npn 816 192 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
FLAG 80 128 0
FLAG 80 368 0
FLAG 80 48 Vcc
FLAG 128 240 s
FLAG 320 240 in
FLAG 560 480 0
FLAG 560 0 Vcc
FLAG 880 0 Vcc
FLAG 880 480 0
FLAG 1136 480 0
FLAG 1344 304 0
FLAG 944 160 c
FLAG 1248 160 out
FLAG 944 320 e
FLAG 768 240 b
TEXT 88 568 Left 2 !.param tol1=0.05
TEXT 88 608 Left 2 !.param tol2=0.1
TEXT 96 656 Left 2 !.step param run 0 9 1
TEXT 536 552 Left 2 !.ac dec 100 10 10Meg
TEXT 536 600 Left 2 !.meas AC gain MAX mag(V(out)/V(s))
TEXT 536 632 Left 2 !.meas AC Low3dB WHEN mag(V(out)/V(s))=gain/sqrt(2) Rise=1
TEXT 536 664 Left 2 !.meas AC High3dB WHEN mag(V(out)/V(s))=gain/sqrt(2) Fall=1
* Z:\home\khalils\Downloads\files\data\raw_asc\1de0eb63222c_LP_RC_FILT.asc
* Generated by LTspice 26.0.1 for Windows.
* RC High Pass Filter
* Case 1, Load has high input impedence (open).\nCut-off Frequency = 1/ (2*PI*R*C).\nCut-off Frequency = 12.7 MHz..\nCase 2. Load has 50 ohms impedence ( My R3261C).\nFrom Simulation, Cut-off Frequency = 15.7 MHz.
C1 N001 in 1n
V1 in 0 AC 1 0
R1 0 N001 12
R2 out 0 50
C2 out N001 25n
.ac oct 1000 150k 150meg
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1048 680
WIRE 32 160 -96 160
WIRE 96 160 32 160
WIRE 224 160 160 160
WIRE 256 160 224 160
WIRE 368 160 320 160
WIRE 368 176 368 160
WIRE -96 192 -96 160
WIRE 224 192 224 160
WIRE 224 304 224 272
SYMBOL cap 320 144 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 25n
SYMBOL res 352 160 R0
SYMATTR InstName R2
SYMATTR Value 50
SYMBOL voltage -96 176 R0
WINDOW 123 24 44 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 1 0
SYMATTR InstName V1
SYMATTR Value ""
SYMBOL res 240 288 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R1
SYMATTR Value 12
SYMBOL cap 160 144 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 1n
FLAG 32 160 in
FLAG 368 160 out
FLAG 224 304 0
FLAG -96 272 0
FLAG 368 256 0
TEXT -120 328 Left 2 !.ac oct 1000 150k 150meg
TEXT -24 72 Left 4 ;RC High Pass Filter
TEXT 440 152 Left 2 ;Case 1, Load has high input impedence (open).\nCut-off Frequency = 1/ (2*PI*R*C).\nCut-off Frequency = 12.7 MHz..\nCase 2. Load has 50 ohms impedence ( My R3261C).\nFrom Simulation, Cut-off Frequency = 15.7 MHz.
* Z:\tmp\asc_dec_bjh7r6w2\165fdbeaa8ae_Simu_punto_C1_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
R1 N002 0 10k
D1 N001 N002 1N4007
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 112 80 -32 80
WIRE 272 80 176 80
WIRE 576 96 432 96
WIRE 272 112 272 80
WIRE -32 144 -32 80
WIRE 432 160 432 96
WIRE -32 256 -32 224
WIRE 272 256 272 192
WIRE 272 256 -32 256
WIRE 272 272 272 256
WIRE 432 272 432 240
WIRE 736 272 432 272
SYMBOL res 256 96 R0
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL diode 112 96 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value 1N4007
FLAG 272 272 0
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC3531-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\LTC3531-3.asy)
Rload OUT 0 20
V1 IN 0 3.6
XU1 N001 IN 0 IN MP_01 OUT N002 0 LTC3531-X Vout=3 ;pnba SW1)Vin)GND)_SHDN))OUT)SW2)PGND
L1 N001 N002 10
C1 OUT 0 10
.tran 500u startup
.lib LTC3531-X.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 176 96 128 96
WIRE 288 96 256 96
WIRE 128 144 128 96
WIRE 288 144 288 96
WIRE 48 224 -32 224
WIRE 64 224 48 224
WIRE 416 224 352 224
WIRE 528 224 416 224
WIRE -32 240 -32 224
WIRE 416 240 416 224
WIRE 528 240 528 224
WIRE -32 336 -32 320
WIRE 48 336 48 224
WIRE 64 336 48 336
WIRE 416 336 416 304
WIRE 528 336 528 320
WIRE 128 432 128 416
WIRE 288 432 288 416
SYMBOL voltage -32 224 R0
SYMATTR InstName V1
SYMATTR Value 3.6
SYMBOL res 512 224 R0
SYMATTR InstName Rload
SYMATTR Value 20
SYMBOL PowerProducts\\LTC3531-3 208 272 R0
SYMATTR InstName U1
SYMBOL ind 160 112 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 10
SYMBOL cap 400 240 R0
SYMATTR InstName C1
SYMATTR Value 10
FLAG -32 336 0
FLAG 288 432 0
FLAG 128 432 0
FLAG 416 336 0
FLAG 528 336 0
FLAG 528 224 OUT
FLAG -32 224 IN
TEXT 376 392 Left 2 !.tran 500u startup
* Z:\home\khalils\Downloads\files\data\raw_asc\1de0eb63222c_LP_RC_FILT.asc
* Generated by LTspice 26.0.1 for Windows.
* RC High Pass Filter
* Case 1, Load has high input impedence (open).\nCut-off Frequency = 1/ (2*PI*R*C).\nCut-off Frequency = 12.7 MHz..\nCase 2. Load has 50 ohms impedence ( My R3261C).\nFrom Simulation, Cut-off Frequency = 15.7 MHz.
C1 N001 in 1n
R2 out 0 50
V1 in 0 AC 1 0
R1 0 N001 12
C2 out N001 25n
.ac oct 1000 150k 150meg
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1048 680
WIRE 32 160 -96 160
WIRE 96 160 32 160
WIRE 224 160 160 160
WIRE 256 160 224 160
WIRE 368 160 320 160
WIRE 368 176 368 160
WIRE -96 192 -96 160
WIRE 224 192 224 160
WIRE 224 304 224 272
SYMBOL voltage -96 176 R0
WINDOW 123 24 44 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 1 0
SYMATTR InstName V1
SYMATTR Value ""
SYMBOL res 352 160 R0
SYMATTR InstName R2
SYMATTR Value 50
SYMBOL cap 160 144 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 1n
SYMBOL res 240 288 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R1
SYMATTR Value 12
SYMBOL cap 320 144 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 25n
FLAG 32 160 in
FLAG 368 160 out
FLAG 224 304 0
FLAG -96 272 0
FLAG 368 256 0
TEXT -120 328 Left 2 !.ac oct 1000 150k 150meg
TEXT -24 72 Left 4 ;RC High Pass Filter
TEXT 440 152 Left 2 ;Case 1, Load has high input impedence (open).\nCut-off Frequency = 1/ (2*PI*R*C).\nCut-off Frequency = 12.7 MHz..\nCase 2. Load has 50 ohms impedence ( My R3261C).\nFrom Simulation, Cut-off Frequency = 15.7 MHz.
* Z:\home\khalils\Downloads\files\data\raw_asc\3ef1a1bce69c_pmos.asc
* Generated by LTspice 26.0.1 for Windows.
V2 N001 0
XX1 N001 N002 0 pmos_t2 ;pnba D)G)S
V1 N002 0
.dc V2 0 -5 -0.01 V1 0 -5 -0.5
.lib "../../lib/cfg.lib"
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 464 32 400 32
WIRE 384 64 336 64
WIRE 336 80 336 64
WIRE 464 80 464 32
WIRE 288 96 176 96
WIRE 176 144 176 96
WIRE 400 176 400 32
WIRE 400 176 336 176
WIRE 384 240 384 64
WIRE 384 240 336 240
WIRE 176 288 176 224
WIRE 336 288 336 240
WIRE 464 288 464 160
SYMBOL voltage 176 128 R0
SYMATTR InstName V1
SYMATTR Value ""
SYMBOL voltage 464 64 R0
SYMATTR InstName V2
SYMATTR Value ""
SYMBOL pmos 288 176 M180
SYMATTR InstName X1
SYMATTR Value pmos_t2
SYMATTR Prefix X
FLAG 336 288 0
FLAG 464 288 0
FLAG 176 288 0
TEXT 184 -144 Left 2 !.dc V2 0 -5 -0.01 V1 0 -5 -0.5
TEXT 200 -56 Left 2 !.lib "../../lib/cfg.lib"
* Z:\home\khalils\Downloads\files\data\raw_asc\28072b3c10f7_TS10_3.asc
* Generated by LTspice 26.0.1 for Windows.
* AC = 1\nV = I * Z\n1/Z = I
C2 N003 0 {64/13}
C1 N001 0 1
R4 N003 N002 {1/16}
E1 TF 0 Vx 0 Laplace{(s^2+s+1)/((s^2+2*s+5)*(s+1))}
L1 N001 N002 {1/4}
R3 N003 0 {13/48}
R2 N001 0 {1/2}
R1 TF 0 1
V1 Vx 0 AC 1
V2 N001 0 AC 1
.ac dec 10k 1m 100
.param k1=75/52 k2=4489/4368 t1=6 t2=7/2
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 400 -96 224 -96
WIRE 48 -64 48 -96
WIRE 224 -64 224 -96
WIRE 400 -64 400 -96
WIRE 176 16 176 0
WIRE 224 16 176 16
WIRE 48 48 48 16
WIRE 224 48 224 16
WIRE 400 48 400 16
WIRE 176 224 -64 224
WIRE 272 224 176 224
WIRE 384 224 352 224
WIRE 592 224 464 224
WIRE 176 272 176 224
WIRE 176 272 128 272
WIRE 224 272 176 272
WIRE 592 272 592 224
WIRE 592 272 544 272
WIRE 640 272 592 272
WIRE -64 288 -64 224
WIRE 128 288 128 272
WIRE 224 288 224 272
WIRE 544 288 544 272
WIRE 640 288 640 272
WIRE 128 384 128 352
WIRE 176 384 128 384
WIRE 224 384 224 368
WIRE 224 384 176 384
WIRE 544 384 544 352
WIRE 592 384 544 384
WIRE 640 384 640 368
WIRE 640 384 592 384
WIRE -64 432 -64 368
WIRE 176 432 176 384
WIRE 176 432 -64 432
WIRE 592 432 592 384
WIRE 592 432 176 432
WIRE -64 448 -64 432
SYMBOL voltage 48 -80 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 1
SYMATTR InstName V1
SYMATTR Value ""
SYMBOL voltage -64 272 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 1
SYMATTR InstName V2
SYMATTR Value ""
SYMBOL ind 256 240 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value {1/4}
SYMBOL e 224 -80 R0
WINDOW 3 -137 170 Left 2
SYMATTR Value Laplace{(s^2+s+1)/((s^2+2*s+5)*(s+1))}
SYMATTR InstName E1
SYMBOL cap 528 288 R0
SYMATTR InstName C2
SYMATTR Value {64/13}
SYMBOL res 480 208 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value {1/16}
SYMBOL cap 112 288 R0
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL res 384 -80 R0
SYMATTR InstName R1
SYMATTR Value 1
SYMBOL res 208 272 R0
SYMATTR InstName R2
SYMATTR Value {1/2}
SYMBOL res 624 272 R0
SYMATTR InstName R3
SYMATTR Value {13/48}
FLAG 224 48 0
FLAG 48 48 0
FLAG 48 -96 Vx
FLAG 176 -48 Vx
FLAG 400 48 0
FLAG -64 448 0
FLAG 400 -96 TF
TEXT 8 112 Left 2 !.ac dec 10k 1m 100
TEXT -208 344 Left 2 ;AC = 1\nV = I * Z\n1/Z = I
TEXT -248 520 Left 2 !.param k1=75/52 k2=4489/4368 t1=6 t2=7/2
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC3525-3.asc
* Generated by LTspice 26.0.1 for Windows.
L1 IN N001 10
C1 OUT 0 10
V1 IN 0 1
Rload OUT 0 50
XU1 IN 0 IN OUT MP_01 N001 LTC3525-3 ;pnba _SHDN)GND)Vin)Vout))SW
.tran 1m startup
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LTC3525-3.asy)
.lib LTC3525-3.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 112 64 0 64
WIRE 320 64 192 64
WIRE 0 160 0 64
WIRE 0 160 -112 160
WIRE 32 160 0 160
WIRE 320 160 320 64
WIRE 320 160 288 160
WIRE -112 176 -112 160
WIRE -112 272 -112 256
WIRE 0 304 0 160
WIRE 32 304 0 304
WIRE 320 304 288 304
WIRE 400 304 320 304
WIRE 416 304 400 304
WIRE 320 320 320 304
WIRE 416 320 416 304
WIRE 160 384 160 368
WIRE 320 416 320 384
WIRE 416 416 416 400
FLAG 320 416 0
FLAG 160 384 0
FLAG -112 272 0
FLAG 416 416 0
FLAG 400 304 OUT
FLAG -112 160 IN
SYMBOL ind 96 80 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 10
SYMBOL cap 304 320 R0
SYMATTR InstName C1
SYMATTR Value 10
SYMBOL voltage -112 160 R0
SYMATTR InstName V1
SYMATTR Value 1
SYMBOL res 400 304 R0
SYMATTR InstName Rload
SYMATTR Value 50
SYMBOL PowerProducts\\LTC3525-3 160 208 R0
SYMATTR InstName U1
TEXT 80 424 Left 2 !.tran 1m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\LT6020.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1, XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT6020.asy)
R4 N003 0 10K
V3 DAC_OUT 0 PULSE(0 2.5 20u 170n 170n 1m 2m)
V2 -V 0 -15
V1 +V 0 15
V4 REF 0 2.5
XU1 DAC_OUT N001 +V -V OUT LT6020 ;pnba IN+)IN-)V+)V-)OUT
R3 OUT N003 30K
C1 OUT N001 10p
XU2 N003 N002 +V -V N002 LT6020 ;pnba IN+)IN-)V+)V-)OUT
R1 N002 N001 10K
R2 N001 REF 10K
.tran 200u
.lib LTC3.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 928 1032
WIRE -144 304 -240 304
WIRE -32 304 -64 304
WIRE -16 304 -32 304
WIRE 528 304 64 304
WIRE -240 320 -240 304
WIRE -32 384 -32 304
WIRE 64 384 -32 384
WIRE 176 384 128 384
WIRE -512 400 -512 384
WIRE -400 400 -400 384
WIRE -240 416 -240 400
WIRE -512 496 -512 480
WIRE -400 496 -400 480
WIRE -32 512 -32 384
WIRE 48 512 -32 512
WIRE 176 528 176 384
WIRE 176 528 144 528
WIRE 272 528 176 528
WIRE 48 544 -272 544
WIRE -272 560 -272 544
WIRE 528 576 528 304
WIRE 528 576 384 576
WIRE 272 592 272 528
WIRE -272 656 -272 640
WIRE 384 656 384 576
WIRE 416 656 384 656
WIRE 528 672 528 576
WIRE 528 672 512 672
WIRE 272 688 272 672
WIRE 416 688 272 688
WIRE 272 704 272 688
WIRE 272 800 272 784
SYMBOL voltage -512 384 R0
WINDOW 123 24 132 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL cap 128 368 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 10p
SYMBOL res -48 288 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL res 256 688 R0
SYMATTR InstName R4
SYMATTR Value 10K
SYMBOL LT6020 464 672 R0
SYMATTR InstName U2
SYMBOL res 256 576 R0
SYMATTR InstName R3
SYMATTR Value 30K
SYMBOL LT6020 96 528 R0
SYMATTR InstName U1
SYMBOL voltage -400 384 R0
SYMATTR InstName V2
SYMATTR Value -15
SYMBOL res 80 288 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10K
SYMBOL voltage -272 544 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V3
SYMATTR Value PULSE(0 2.5 20u 170n 170n 1m 2m)
SYMBOL voltage -240 304 R0
WINDOW 123 24 132 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V4
SYMATTR Value 2.5
FLAG -512 496 0
FLAG -400 496 0
FLAG -272 656 0
FLAG -272 544 DAC_OUT
FLAG 272 528 OUT
FLAG 80 480 +V
FLAG -512 384 +V
FLAG -400 384 -V
FLAG 272 800 0
FLAG -240 416 0
FLAG -240 304 REF
FLAG 80 576 -V
FLAG 448 624 +V
FLAG 448 720 -V
TEXT 448 784 Left 2 !.tran 200u
* Z:\home\khalils\Downloads\files\data\raw_asc\1354898defe3_Voltage_clamping.asc
* Generated by LTspice 26.0.1 for Windows.
* https://electronics.stackexchange.com/questions/660780/how-can-i-clip-a-voltage-upper-limit-in-an-analog-signal
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\UniversalOpAmp2.asy)
R2 Vout_Clamp_zener Vin 220
XU1 Vin Vout_clamp_opamp Vcc 0 Vout_clamp_opamp 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
V1 Vin 0 SINE(2.5 2.5 300 0 50)
D1 0 Vout_Clamp_zener BZX85C3V3
V2 Vcc 0 3.3V
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 0 0.1 0 1u
.model BZX85C3V3 D ( IS=5n RS=5m BV=3.3 IBV=5m N=1.2 Cjo=200p Vj=0.75 M=0.33 TT=10n )
.lib UniversalOpAmp2.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1752 720
WIRE 272 112 240 112
WIRE 336 112 272 112
WIRE 272 128 272 112
WIRE 272 208 272 192
WIRE 1280 352 1280 336
WIRE 1248 368 1168 368
WIRE 1344 384 1312 384
WIRE 1376 384 1344 384
WIRE 1248 400 1232 400
WIRE 1168 496 1168 368
WIRE 1344 496 1344 384
WIRE 1344 496 1168 496
SYMBOL OpAmps\\UniversalOpAmp2 1280 384 R0
SYMATTR InstName U1
SYMBOL voltage 896 352 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 3.3V
SYMBOL res 256 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 220
SYMBOL zener 288 192 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value BZX85C3V3
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL voltage 1056 336 R0
WINDOW 3 -49 -38 VRight 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value SINE(2.5 2.5 300 0 50)
SYMATTR InstName V1
FLAG 1056 352 Vin
FLAG 1056 432 0
FLAG 272 208 0
FLAG 160 112 Vin
FLAG 1280 416 0
FLAG 896 448 0
FLAG 1232 400 Vin
FLAG 896 368 Vcc
FLAG 1280 336 Vcc
FLAG 336 112 Vout_Clamp_zener
FLAG 1376 384 Vout_clamp_opamp
TEXT 1088 584 Left 2 !.tran 0 0.1 0 1u
TEXT -168 -480 Left 2 ;https://electronics.stackexchange.com/questions/660780/how-can-i-clip-a-voltage-upper-limit-in-an-analog-signal
TEXT -424 40 Left 2 !.model BZX85C3V3 D ( IS=5n RS=5m BV=3.3 IBV=5m N=1.2 Cjo=200p Vj=0.75 M=0.33 TT=10n )
* Z:\home\khalils\Downloads\files\data\raw_asc\525753a43288_Setup_Id_vs_Vgs_nmos.asc
* Generated by LTspice 26.0.1 for Windows.
* .op
* ID VS VGS PLOT SETUP
M1 vdd vgs 0 0 NMOS l=0.18u w=0.36u
vgs vgs 0 0
vdd vdd 0 1.8
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.include tsmc180.txt
.dc vgs 0 1.8 0.1m vdd 0 1.8 0.6
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -272 160 -272 80
WIRE -208 208 -272 208
WIRE -672 224 -672 176
WIRE -560 224 -560 176
WIRE -320 240 -368 240
WIRE -272 288 -272 256
WIRE -208 288 -208 208
WIRE -208 288 -272 288
WIRE -672 352 -672 304
WIRE -560 352 -560 304
WIRE -272 352 -272 288
IOPIN -672 176 In
IOPIN -368 240 In
IOPIN -560 176 In
IOPIN -272 80 In
SYMBOL voltage -672 208 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName vgs
SYMATTR Value 0
SYMBOL voltage -560 208 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName vdd
SYMATTR Value 1.8
SYMBOL nmos4 -320 160 R0
WINDOW 123 1 100 Left 2
SYMATTR Value2 l=0.18u w=0.36u
SYMATTR InstName M1
FLAG -272 352 0
FLAG -672 352 0
FLAG -672 176 vgs
FLAG -368 240 vgs
FLAG -560 352 0
FLAG -560 176 vdd
FLAG -272 80 vdd
TEXT -736 24 Left 2 ;.op
TEXT -736 0 Left 2 !.include tsmc180.txt
TEXT -736 56 Left 2 !.dc vgs 0 1.8 0.1m vdd 0 1.8 0.6
TEXT -544 -40 Left 2 ;ID VS VGS PLOT SETUP
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1086-2.85.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\LT1086-2.85.asy)
V1 IN 0 PWL(0 0 1 10) Rser=0.1
XU1 0 OUT IN LT1086-2.85 ;pnba ADJ)OUT)IN
C1 OUT 0 10
Rload OUT 0 10
.tran 1
.lib LT1083.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2800 1520
WIRE 1552 896 1328 896
WIRE 1888 896 1808 896
WIRE 2000 896 1888 896
WIRE 1328 912 1328 896
WIRE 1888 912 1888 896
WIRE 2000 912 2000 896
WIRE 1328 1008 1328 992
WIRE 1888 1008 1888 976
WIRE 2000 1008 2000 992
WIRE 1680 1040 1680 992
SYMBOL PowerProducts\\LT1086-2.85 1680 896 R0
SYMATTR InstName U1
SYMBOL cap 1872 912 R0
SYMATTR InstName C1
SYMATTR Value 10
SYMBOL RES 1984 896 R0
SYMATTR InstName Rload
SYMATTR Value 10
SYMBOL VOLTAGE 1328 896 R0
WINDOW 123 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value PWL(0 0 1 10)
SYMATTR SpiceLine Rser=0.1
FLAG 2000 896 OUT
FLAG 2000 1008 0
FLAG 1328 1008 0
FLAG 1888 1008 0
FLAG 1680 1040 0
FLAG 1328 896 IN
TEXT 1896 1112 Left 2 !.tran 1
* Z:\home\khalils\Downloads\files\data\raw_asc\de837d9c4b7f_full_wave_diode_rectifier_bb.asc
* Generated by LTspice 26.0.1 for Windows.
* Full Wave Diode Rectifier
R1 OUT N001 100
V2 CA-V 0 SINE(2.5 2.5 100)
D1 CA-V OUT 1N914
D2 CB-V OUT 1N914
V1 N001 0 2.5
V3 CB-V 0 SINE(2.5 2.5 100 0 0 180)
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 20m
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 192 80 128 80
WIRE 304 80 256 80
WIRE 304 128 304 80
WIRE 320 128 304 128
WIRE 192 192 128 192
WIRE 304 192 304 128
WIRE 304 192 256 192
WIRE 304 240 304 192
WIRE 304 352 304 320
IOPIN 128 80 In
IOPIN 128 192 In
IOPIN -384 336 In
IOPIN -96 336 In
IOPIN 320 128 Out
SYMBOL diode 192 208 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D2
SYMATTR Value 1N914
SYMBOL res 288 224 R0
SYMATTR InstName R1
SYMATTR Value 100
SYMBOL voltage -384 320 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value SINE(2.5 2.5 100)
SYMBOL voltage -96 320 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value SINE(2.5 2.5 100 0 0 180)
SYMBOL voltage 304 336 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 2.5
SYMBOL diode 192 96 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value 1N914
FLAG 304 432 0
FLAG 128 80 CA-V
FLAG 128 192 CB-V
FLAG -96 416 0
FLAG -384 416 0
FLAG -384 336 CA-V
FLAG -96 336 CB-V
FLAG 320 128 OUT
TEXT -112 0 Left 2 ;Full Wave Diode Rectifier
TEXT -400 472 Left 2 !.tran 20m
* Z:\home\khalils\Downloads\files\data\raw_asc\4f6013a0a31d_PN_diode_Reversebias.asc
* Generated by LTspice 26.0.1 for Windows.
* PN Junction Reverse Bias
D1 X Y 1N4007
R1 Y 0 1K
V1 X 0 5V
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.dc V1 -5 0 0.01
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 160 144 32 144
WIRE 192 144 160 144
WIRE 288 144 256 144
WIRE 400 144 288 144
WIRE 400 160 400 144
WIRE 32 176 32 144
WIRE 32 320 32 256
WIRE 224 320 32 320
WIRE 400 320 400 240
WIRE 400 320 224 320
WIRE 224 336 224 320
SYMBOL voltage 32 160 R0
SYMATTR InstName V1
SYMATTR Value 5V
SYMBOL diode 192 160 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value 1N4007
SYMBOL res 384 144 R0
SYMATTR InstName R1
SYMATTR Value 1K
FLAG 224 336 0
FLAG 160 144 X
FLAG 288 144 Y
TEXT -8 96 Left 2 !.dc V1 -5 0 0.01
TEXT -48 24 Left 4 ;PN Junction Reverse Bias