Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\15d529aa25c0_rout_step_ac.asc
* Generated by LTspice 26.0.1 for Windows.
M1 N001 N001 0 0 IRF530
R1 V1 N001 1k
V1 V1 0 5
V2 V2 0 PWL(0 0 6 6) AC 1
M2 V2 N001 0 0 IRF530
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
* .dc V2 0 6 0.01
.step V2 0 6 0.01
.op
* .tran 0 6 0 1m
* .options plotwinsize=0
.ac list 1
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1116 892
WIRE 176 80 176 48
WIRE 176 80 96 80
WIRE 272 80 176 80
WIRE 176 112 176 80
WIRE 336 112 336 -32
WIRE 512 160 512 144
WIRE 624 160 624 144
WIRE 96 192 96 80
WIRE 128 192 96 192
WIRE 272 192 272 80
WIRE 288 192 272 192
WIRE 176 256 176 208
WIRE 336 256 336 208
WIRE 512 256 512 240
WIRE 624 256 624 240
FLAG 176 256 0
FLAG 336 256 0
FLAG 512 256 0
FLAG 624 256 0
FLAG 176 -32 V1
FLAG 336 -32 V2
FLAG 512 144 V1
FLAG 624 144 V2
SYMBOL nmos 128 112 R0
SYMATTR InstName M1
SYMATTR Value IRF530
SYMBOL res 160 -48 R0
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL voltage 512 144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage 624 144 R0
WINDOW 123 24 132 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 1
SYMATTR InstName V2
SYMATTR Value PWL(0 0 6 6)
SYMBOL nmos 288 112 R0
SYMATTR InstName M2
SYMATTR Value IRF530
TEXT 424 -64 Left 0 ;.dc V2 0 6 0.01
TEXT 424 56 Left 0 !.step V2 0 6 0.01
TEXT 424 88 Left 0 !.op
TEXT 424 -24 Left 0 ;.tran 0 6 0 1m
TEXT 424 8 Left 0 ;.options plotwinsize=0
TEXT 640 56 Left 0 !.ac list 1
* Z:\home\khalils\Downloads\files\data\raw_asc\2e421d94df63_Laplace_syntax1.asc
* Generated by LTspice 26.0.1 for Windows.
* Syntax for LAPLACE\n \nAll three example models the same lowpass with fg=1MHz.
E1 out2 0 Laplace {V(in)} {1/(1+s/(2*pi*1e6))}
V1 in 0 AC 1
E2 out3 0 in 0 Laplace=1/(1+s/(2*pi*1e6))
B1 out1 0 V=V(in) Laplace=1/(1+s/(2*pi*1e6))
.ac dec 100 1k 1g
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1088 724
WIRE -32 160 -32 128
WIRE -32 272 -32 240
WIRE 16 128 -32 128
WIRE 96 608 64 608
WIRE 96 704 96 656
WIRE 144 160 144 128
WIRE 144 272 144 240
WIRE 144 368 144 336
WIRE 144 480 144 448
WIRE 144 592 144 560
WIRE 144 704 144 672
WIRE 208 128 144 128
WIRE 208 336 144 336
WIRE 208 560 144 560
IOPIN 208 128 Out
IOPIN 208 336 Out
IOPIN 208 560 Out
IOPIN 64 608 In
SYMBOL bv 144 144 R0
SYMATTR InstName B1
SYMATTR Value V=V(in) Laplace=1/(1+s/(2*pi*1e6))
SYMBOL e 144 576 R0
SYMATTR InstName E2
SYMATTR Value Laplace=1/(1+s/(2*pi*1e6))
SYMBOL Misc\\Epoly 144 352 R0
SYMATTR InstName E1
SYMATTR Value Laplace {V(in)} {1/(1+s/(2*pi*1e6))}
SYMBOL voltage -32 144 R0
WINDOW 123 24 132 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value ""
SYMATTR Value2 AC 1
FLAG 144 272 0
FLAG 208 128 out1
FLAG -32 272 0
FLAG 16 128 in
FLAG 144 480 0
FLAG 208 336 out2
FLAG 144 704 0
FLAG 208 560 out3
FLAG 64 608 in
FLAG 96 704 0
TEXT -48 64 Left 0 !.ac dec 100 1k 1g
TEXT -48 -48 Left 0 ;Syntax for LAPLACE\n \nAll three example models the same  lowpass with fg=1MHz.
* Z:\home\khalils\Downloads\files\data\raw_asc\ADP160-1.2.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\ADP160-1.2.asy)
XU1 IN 0 N001 OUT ADP16xfd K=833.3u ;pnba Vin)GND)En)Vout
C1 OUT 0 1
V1 IN 0 5
V2 N001 0 PULSE(0 5 100u 50n 50n 2.5m)
Rload OUT 0 120
.tran 4m
.lib ADP16x.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 160 96 -80 96
WIRE 416 96 352 96
WIRE 512 96 416 96
WIRE -80 112 -80 96
WIRE 416 112 416 96
WIRE 512 112 512 96
WIRE -80 208 -80 192
WIRE 160 208 16 208
WIRE 416 208 416 176
WIRE 512 208 512 192
WIRE 16 224 16 208
WIRE 256 272 256 256
WIRE 16 320 16 304
SYMBOL res 496 96 R0
SYMATTR InstName Rload
SYMATTR Value 120
SYMBOL ADP160-1.2 256 208 R0
SYMATTR InstName U1
SYMBOL voltage 16 208 R0
SYMATTR InstName V2
SYMATTR Value PULSE(0 5 100u 50n 50n 2.5m)
SYMBOL voltage -80 96 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL cap 400 112 R0
SYMATTR InstName C1
SYMATTR Value 1
FLAG -80 208 0
FLAG 256 272 0
FLAG 416 208 0
FLAG 512 208 0
FLAG 512 96 OUT
FLAG -80 96 IN
FLAG 16 320 0
TEXT 528 320 Left 2 !.tran 4m
* Z:\home\khalils\Downloads\files\data\raw_asc\05df5f68582d_LED_And_Battery_Sims_-_Two_Cells.asc
* Generated by LTspice 26.0.1 for Windows.
V1 N001 0 0
R2 N001 V_Yellow 720
R1 N001 V_White 600
D1 V_White 0 Osram
D2 V_Yellow 0 YellowLed
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.dc V1 5.6 3.6 .05
.model YellowLed D(IS = 6.12e-20a N = 1.95 RS = 8.12)
.model Osram D (IS=4.5e-27a RS=2.2 N=1.812)
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1196 680
WIRE 128 -64 -32 -64
WIRE 240 -64 128 -64
WIRE 128 -16 128 -64
WIRE 240 -16 240 -64
WIRE -32 48 -32 -64
WIRE 128 96 128 64
WIRE 240 96 240 64
WIRE 128 112 128 96
WIRE 240 112 240 96
WIRE -32 224 -32 128
WIRE 80 224 -32 224
WIRE 128 224 128 176
WIRE 128 224 80 224
WIRE 240 224 240 176
WIRE 240 224 128 224
WIRE 80 240 80 224
SYMBOL res 112 -32 R0
SYMATTR InstName R1
SYMATTR Value 600
SYMBOL voltage -32 32 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 0
SYMBOL LED 224 112 R0
SYMATTR InstName D2
SYMATTR Value YellowLed
SYMBOL res 224 -32 R0
SYMATTR InstName R2
SYMATTR Value 720
SYMBOL LED 112 112 R0
SYMATTR InstName D1
SYMATTR Value Osram
FLAG 80 240 0
FLAG 128 96 V_White
FLAG 240 96 V_Yellow
TEXT -48 264 Left 2 !.dc V1 5.6 3.6 .05
TEXT -56 312 Left 2 !.model YellowLed D(IS = 6.12e-20a N = 1.95 RS = 8.12)\n.model Osram D (IS=4.5e-27a RS=2.2 N=1.812)
* Z:\home\khalils\Downloads\files\data\raw_asc\11ac91057193_Regulator_UsingZener..asc
* Generated by LTspice 26.0.1 for Windows.
* Raw voltage regulator with zener diode.
* The zener diode regulates the voltage by working in the breakdown region.\nR1 limits the current from the source.\n \nSizing: the load voltage is the nominal zener voltage 4.7V.\nThen IR_2 = 4.7/R2\n \nFrom the datasheet the zener current is found. R1 must be equal to:\n \nR1 = (V1 - Vz)/(Iz + IR_2) = (12 - 4.7)/(20mA + 10mA)
R1 N001 N002 242
R2 N002 0 470
D1 0 N002 1N750
V1 N001 0 12
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 1
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1392 680
WIRE 112 112 -16 112
WIRE -16 144 -16 112
WIRE 112 144 112 112
WIRE 112 256 112 224
WIRE 224 256 112 256
WIRE 112 272 112 256
WIRE 224 288 224 256
WIRE 112 400 112 336
WIRE 224 400 224 368
SYMBOL res 96 128 R0
SYMATTR InstName R1
SYMATTR Value 242
SYMBOL voltage -16 128 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL res 208 272 R0
SYMATTR InstName R2
SYMATTR Value 470
SYMBOL zener 128 336 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value 1N750
FLAG -16 224 0
FLAG 112 400 0
FLAG 224 400 0
TEXT 160 -32 Left 4 ;Raw voltage regulator with zener diode.
TEXT 352 136 Left 2 ;The zener diode regulates the voltage by working in the breakdown region.\nR1 limits the current from the source.\n \nSizing: the load voltage is the nominal zener voltage 4.7V.\nThen IR_2 = 4.7/R2\n \nFrom the datasheet the zener current is found. R1 must be equal to:\n \nR1 = (V1 - Vz)/(Iz + IR_2) = (12 - 4.7)/(20mA + 10mA)
TEXT -48 424 Left 2 !.tran 1
* Z:\home\khalils\Downloads\files\data\raw_asc\108286491c01_JfetProtect.asc
* Generated by LTspice 26.0.1 for Windows.
;.tf V(O) V2
J2 NC_01 NC_02 NC_03 J112
V1 N001 0 3.3
R1 O P001 100
V2 NC_04 NC_05 PULSE(0 30 .01 0.001 0.001 0.1 0.2)
J1 N002 O P001 J112
D1 O N001 1N4148
V3 N002 0 SINE(15 30 10)
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.model NJF NJF
.model PJF PJF
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.jft
.tran 1
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 384 80 240 80
WIRE 512 112 448 112
WIRE 240 160 240 80
WIRE 240 160 208 160
WIRE 144 208 80 208
WIRE 384 208 384 80
WIRE 384 208 320 208
WIRE 448 208 448 176
WIRE 448 208 384 208
WIRE 512 288 512 192
SYMBOL diode 464 176 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL voltage 80 192 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value SINE(15 30 10)
SYMBOL voltage 512 96 R0
SYMATTR InstName V1
SYMATTR Value 3.3
SYMBOL njf 144 160 M90
SYMATTR InstName J1
SYMATTR Value J112
SYMBOL res 336 192 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 100
SYMBOL njf 448 -96 R90
SYMATTR InstName J2
SYMATTR Value J112
SYMBOL voltage 80 368 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value PULSE(0 30 .01 0.001 0.001 0.1 0.2)
FLAG 512 288 0
FLAG 80 288 0
FLAG 448 208 O
TEXT -58 2 Left 2 !.tran 1
TEXT -56 -32 Left 2 !;.tf V(O) V2
* Z:\home\khalils\Downloads\files\data\raw_asc\19099e73d83a_2.4_Practical__real__diode_model_.asc
* Generated by LTspice 26.0.1 for Windows.
R1 N002 N001 1k
D1 N002 0 1N4148
V1 N001 0 5
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.dc V1 0 1 0.01
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 432 224 224 224
WIRE 576 224 512 224
WIRE 224 272 224 224
WIRE 576 288 576 224
WIRE 224 400 224 352
WIRE 576 400 576 352
WIRE 576 400 224 400
WIRE 224 448 224 400
SYMBOL diode 560 288 R0
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL Voltage 224 256 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL Res 528 208 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1k
FLAG 224 448 0
TEXT 224 136 Left 2 !.dc V1 0 1 0.01
* Z:\home\khalils\Downloads\files\data\raw_asc\50bfef822237_Saturation_Type.asc
* Generated by LTspice 26.0.1 for Windows.
* SATURATION TYPE
* PRECISION RECTIFIER
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\OP07.asy)
V1 N004 0 SINE(0 5 1k)
XU1 N004 N002 N001 N005 N003 LT1001 ;pnba In+)In-)V+)V-)OUT
R1 N002 0 10k
V2 0 N005 12
D1 N003 N002 1N4148
V3 N001 0 12
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 0 20m 10m
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 192 -64 176 -64
WIRE 288 -64 272 -64
WIRE 320 0 80 0
WIRE 416 0 320 0
WIRE 320 32 320 0
WIRE 416 112 416 0
WIRE 176 128 176 -64
WIRE 80 144 80 0
WIRE 144 144 80 144
WIRE 320 160 320 96
WIRE 320 160 208 160
WIRE 144 176 -48 176
WIRE -48 192 -48 176
WIRE 416 224 416 192
WIRE 176 256 176 192
WIRE -48 288 -48 272
WIRE 176 352 176 336
SYMBOL voltage -48 176 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value SINE(0 5 1k)
SYMBOL voltage 176 352 R180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
SYMATTR InstName V2
SYMATTR Value 12
SYMBOL diode 336 96 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL voltage 176 -64 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 -32 56 VBottom 2
SYMATTR InstName V3
SYMATTR Value 12
SYMBOL Opamps\\OP07 176 96 R0
SYMATTR InstName U1
SYMBOL res 400 96 R0
SYMATTR InstName R1
SYMATTR Value 10k
FLAG 416 224 0
FLAG 176 352 0
FLAG 288 -64 0
FLAG -48 288 0
TEXT -136 -32 Left 2 ;SATURATION TYPE
TEXT -160 -64 Left 2 ;PRECISION RECTIFIER
TEXT 288 288 Left 2 !.tran 0 20m 10m
* Z:\home\khalils\Downloads\files\data\raw_asc\4298ead0744f_TS2.asc
* Generated by LTspice 26.0.1 for Windows.
C2 N003 N005 {C0}
R5 N006 0 {R5}
XU2 N003 N006 N005 opamp Aol=100K GBW=10Meg ;pnba invin)noninvin)out
V1 N004 0 AC 1
XU1 N003 N001 N002 opamp Aol=100K GBW=10Meg ;pnba invin)noninvin)out
R0 N001 N004 {Q*R5/sqrt(K-1)}
R3 N002 N003 {R5}
R4 N006 N002 {(K-1)*R5}
C1 N001 0 {C0}
R1 N005 N001 {R5}
.ac dec 100 0.1 100MEG
.lib opamp.sub
.param f0=10k w0=2*pi*f0 Q=20 K=10 C0=100n R5=sqrt(K-1)/(C0*w0)
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 336 16 -32 16
WIRE 496 32 400 32
WIRE 336 48 320 48
WIRE -208 144 -320 144
WIRE -32 144 -32 16
WIRE -32 144 -128 144
WIRE 48 144 -32 144
WIRE 144 144 128 144
WIRE 176 144 144 144
WIRE 320 144 320 48
WIRE 320 144 240 144
WIRE 384 144 320 144
WIRE 496 144 496 32
WIRE 496 144 464 144
WIRE 528 144 496 144
WIRE 640 144 608 144
WIRE 672 144 640 144
WIRE -320 192 -320 144
WIRE -32 192 -32 144
WIRE 320 240 320 144
WIRE 320 240 304 240
WIRE 144 256 144 144
WIRE 240 256 144 256
WIRE 640 272 640 144
WIRE 640 272 304 272
WIRE -320 320 -320 272
WIRE -32 320 -32 256
WIRE 672 320 672 224
SYMBOL OpAmps\\opamp 272 192 M0
SYMATTR InstName U2
SYMBOL voltage -320 176 R0
WINDOW 123 17 102 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 1
SYMATTR InstName V1
SYMATTR Value ""
SYMBOL cap -48 192 R0
SYMATTR InstName C1
SYMATTR Value {C0}
SYMBOL res -112 128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R0
SYMATTR Value {Q*R5/sqrt(K-1)}
SYMBOL cap 240 128 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value {C0}
SYMBOL res 480 128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value {R5}
SYMBOL OpAmps\\opamp 368 96 M180
SYMATTR InstName U1
SYMBOL res 624 128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value {(K-1)*R5}
SYMBOL res 656 128 R0
SYMATTR InstName R5
SYMATTR Value {R5}
SYMBOL res 144 128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value {R5}
FLAG -320 320 0
FLAG -32 320 0
FLAG 672 320 0
TEXT -352 392 Left 2 !.ac dec 100 0.1 100MEG
TEXT -352 416 Left 2 !.lib opamp.sub
TEXT -352 448 Left 2 !.param f0=10k w0=2*pi*f0 Q=20 K=10 C0=100n R5=sqrt(K-1)/(C0*w0)
* Z:\home\khalils\Downloads\files\data\raw_asc\15d6c4320fee_Differences-amplifier.asc
* Generated by LTspice 26.0.1 for Windows.
* This circuit amplifies R2/R1 * (Vb - Va). \nSince R2 = R1, the output is simply Vb - Va.
* Difference amplifier
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT1007.asy)
R2 N001 OUT 1k
V3 Va 0 5 AC 1
R3 N002 Vb 1k
XU1 N002 N001 Vcc Vee OUT LT1007 ;pnba In+)In-)V+)V-)OUT
R1 N001 Va 1k
V4 Vb 0 1 AC 1
V1 Vcc 0 30
V2 Vee 0 -30
R4 0 N002 1k
.tran 1s
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 368 32 272 32
WIRE 544 32 448 32
WIRE 544 160 544 32
WIRE 16 176 0 176
WIRE 272 176 272 32
WIRE 272 176 96 176
WIRE 368 176 272 176
WIRE 544 192 544 160
WIRE 544 192 432 192
WIRE 272 208 192 208
WIRE 368 208 272 208
WIRE 112 240 96 240
WIRE 192 240 192 208
WIRE 272 288 272 208
SYMBOL res 208 224 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 1k
SYMBOL res 112 160 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL voltage -96 0 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 30
SYMBOL Opamps\\LT1007 400 128 R0
SYMATTR InstName U1
SYMBOL voltage 0 240 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 2
SYMATTR Value2 AC 1
SYMATTR InstName V4
SYMATTR Value 1
SYMBOL res 288 384 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R4
SYMATTR Value 1k
SYMBOL voltage 0 0 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value -30
SYMBOL res 352 48 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL voltage -112 240 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 2
SYMATTR Value2 AC 1
SYMATTR InstName V3
SYMATTR Value 5
FLAG 0 336 0
FLAG -112 336 0
FLAG -96 96 0
FLAG 0 96 0
FLAG -96 16 Vcc
FLAG 400 160 Vcc
FLAG 0 16 Vee
FLAG 400 224 Vee
FLAG 0 176 Va
FLAG 96 240 Vb
FLAG 0 256 Vb
FLAG -112 256 Va
FLAG 544 160 OUT
FLAG 272 368 0
TEXT -248 16 Left 2 !.tran 1s
TEXT -800 136 Left 2 ;This circuit amplifies R2/R1 * (Vb  -  Va). \nSince R2 = R1, the output is simply Vb - Va.
TEXT -104 -144 Left 4 ;Difference amplifier
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC3221-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\LTC3221-5.asy)
XU1 N001 N002 IN 0 IN OUT LTC3221-5 ;pnba C+)C-)_SHDN)GND)Vin)Vout
C2 OUT 0 4.7
V1 IN 0 3
C1 N001 N002 1
Rload OUT 0 83
.tran 1m startup
.lib LTC3221-5.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 80 96 0 96
WIRE 96 96 80 96
WIRE 464 96 352 96
WIRE 560 96 464 96
WIRE 0 112 0 96
WIRE 464 112 464 96
WIRE 560 112 560 96
WIRE 80 192 80 96
WIRE 96 192 80 192
WIRE 384 192 352 192
WIRE 0 208 0 192
WIRE 384 208 384 192
WIRE 464 208 464 176
WIRE 560 208 560 192
WIRE 96 288 80 288
WIRE 384 288 384 272
WIRE 384 288 352 288
SYMBOL cap 368 208 R0
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL cap 448 112 R0
SYMATTR InstName C2
SYMATTR Value 4.7
SYMBOL PowerProducts\\LTC3221-5 224 192 R0
SYMATTR InstName U1
SYMBOL res 544 96 R0
SYMATTR InstName Rload
SYMATTR Value 83
SYMBOL voltage 0 96 R0
SYMATTR InstName V1
SYMATTR Value 3
FLAG 0 208 0
FLAG 560 208 0
FLAG 464 208 0
FLAG 560 96 OUT
FLAG 0 96 IN
FLAG 80 288 0
TEXT 448 288 Left 2 !.tran 1m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\LT6005.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\LT6005.asy)
V1 +V 0 2
V3 IN 0 PULSE(-1 1 0 1u 1u 100m 200m)
XU1 IN OUT +V -V OUT LT6003 ;pnba IN+)IN-)VCC)VEE)OUT
V2 -V 0 -2
.tran 1
.lib LTC5.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 756
WIRE 288 304 128 304
WIRE -256 368 -256 352
WIRE -160 368 -160 352
WIRE 192 368 192 352
WIRE 128 384 128 304
WIRE 160 384 128 384
WIRE 288 400 288 304
WIRE 288 400 224 400
WIRE 336 400 288 400
WIRE 160 416 -16 416
WIRE -16 432 -16 416
WIRE 192 448 192 432
WIRE -256 464 -256 448
WIRE -160 464 -160 448
WIRE -16 528 -16 512
SYMBOL voltage -160 352 R0
SYMATTR InstName V2
SYMATTR Value -2
SYMBOL LT6005 192 400 R0
SYMATTR InstName U1
SYMBOL voltage -256 352 R0
WINDOW 123 24 132 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 2
SYMBOL voltage -16 416 R0
SYMATTR InstName V3
SYMATTR Value PULSE(-1 1 0 1u 1u 100m 200m)
FLAG -256 464 0
FLAG -160 464 0
FLAG -16 528 0
FLAG -16 416 IN
FLAG 336 400 OUT
FLAG 192 352 +V
FLAG -256 352 +V
FLAG -160 352 -V
FLAG 192 448 -V
TEXT 408 472 Left 2 !.tran 1
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC692.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-5.asy)
* Library below included based on ModelFile attribute of instance XU3 (C:\users\khalils\AppData\Local\LTspice\lib\sym\SpecialFunctions\LTC692.asy)
C1 N001 0 22
R2 N006 0 20K
R4 N001 N003 10K
V2 N004 N005 PULSE(0 2 0 1u 1u 20m 40m 6) Rser=0.1
V3 N005 0 PULSE(0 2 0.4 1u 1u 20m 40m) Rser=0.1
XU3 OUT N001 0 N006 N007 N004 N003 N002 LTC692 ;pnba Vout)Vcc)GND)PFI)_PFO)WDI)_Reset)Vbatt
XU1 0 N001 IN LT1086-5 ;pnba ADJ)OUT)IN
V1 N002 0 3 Rser=10m
R3 N001 N007 10K
Rload OUT 0 100
R1 IN N006 51K
V4 IN 0 PWL(0 0 25u 7.5 510m 7.5 +1u 2 +50m 2 +1u 7.5) Rser=10m
.tran 100m
.lib LT1083.lib
.lib LTC692.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1388 680
WIRE 496 -128 -336 -128
WIRE 1056 -128 496 -128
WIRE -288 -64 -304 -64
WIRE -160 -64 -208 -64
WIRE -112 -64 -160 -64
WIRE 288 -64 240 -64
WIRE 400 -64 368 -64
WIRE 496 -64 496 -128
WIRE 1056 -64 1056 -128
WIRE -704 32 -1440 32
WIRE -624 32 -704 32
WIRE -336 32 -336 -128
WIRE -336 32 -368 32
WIRE -112 32 -336 32
WIRE 496 32 496 16
WIRE 496 32 240 32
WIRE -1440 48 -1440 32
WIRE -336 48 -336 32
WIRE -704 128 -704 32
WIRE -112 128 -128 128
WIRE 416 128 240 128
WIRE 800 128 496 128
WIRE 912 128 880 128
WIRE -1440 144 -1440 128
WIRE -336 144 -336 112
WIRE -496 160 -496 128
WIRE -704 224 -704 208
WIRE -112 224 -704 224
WIRE 1056 224 1056 16
WIRE 1056 224 240 224
WIRE -704 240 -704 224
WIRE -704 336 -704 320
SYMBOL VOLTAGE -1440 32 R0
WINDOW 123 24 117 Left 2
SYMATTR Value PWL(0 0 25u 7.5 510m 7.5 +1u 2 +50m 2 +1u 7.5)
SYMATTR InstName V4
SYMATTR SpiceLine Rser=10m
SYMBOL cap -352 48 R0
SYMATTR InstName C1
SYMATTR Value 22
SYMBOL res -720 224 R0
SYMATTR InstName R2
SYMATTR Value 20K
SYMBOL res -720 112 R0
SYMATTR InstName R1
SYMATTR Value 51K
SYMBOL PowerProducts\\LT1086-5 -496 32 R0
SYMATTR InstName U1
SYMBOL res 480 -80 R0
SYMATTR InstName R4
SYMATTR Value 10K
SYMBOL res 1040 -80 R0
SYMATTR InstName R3
SYMATTR Value 10K
SYMBOL VOLTAGE 400 128 R270
WINDOW 123 -53 56 VBottom 2
WINDOW 0 32 56 VTop 2
WINDOW 3 -32 56 VBottom 2
SYMATTR InstName V2
SYMATTR Value PULSE(0 2 0 1u 1u 20m 40m 6)
SYMATTR SpiceLine Rser=0.1
SYMBOL LTC692 64 96 R0
SYMATTR InstName U3
SYMBOL VOLTAGE 272 -64 R270
WINDOW 123 -53 56 VBottom 2
WINDOW 0 32 56 VTop 2
WINDOW 3 -32 56 VBottom 2
SYMATTR InstName V1
SYMATTR Value 3
SYMATTR SpiceLine Rser=10m
SYMBOL VOLTAGE 784 128 R270
WINDOW 123 -53 56 VBottom 2
WINDOW 0 32 56 VTop 2
WINDOW 3 -32 56 VBottom 2
SYMATTR InstName V3
SYMATTR Value PULSE(0 2 0.4 1u 1u 20m 40m)
SYMATTR SpiceLine Rser=0.1
SYMBOL res -192 -80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Rload
SYMATTR Value 100
FLAG -128 128 0
FLAG -160 -64 OUT
FLAG -1440 144 0
FLAG -336 144 0
FLAG -496 160 0
FLAG -1440 32 IN
FLAG 400 -64 0
FLAG -304 -64 0
FLAG -704 336 0
FLAG 912 128 0
TEXT 848 280 Left 2 !.tran 100m
* Z:\home\khalils\Downloads\files\data\raw_asc\a1a8bff9a2de_FET06op.asc
* Generated by LTspice 26.0.1 for Windows.
Rg g N003 {Rg}
Vdd N001 0 {Vdd}
Rd N001 N002 {Rd}
Vgg N003 0 {Vgg}
M1 N002 g 0 0 MOSFET
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.op
.model MOSFET nmos(Kp=1m Vto=4)
.param Vdd=50 Vgg=6 Rd=330 Rg=1Meg
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1608 1076
WIRE 384 -128 192 -128
WIRE 192 -80 192 -128
WIRE 192 32 192 0
WIRE 384 48 384 -128
WIRE 16 112 -32 112
WIRE 112 112 96 112
WIRE 144 112 112 112
WIRE -32 144 -32 112
WIRE 192 176 192 128
WIRE 384 176 384 128
WIRE 384 176 192 176
WIRE 192 208 192 176
WIRE -32 272 -32 224
SYMBOL res 176 -96 R0
SYMATTR InstName Rd
SYMATTR Value {Rd}
SYMBOL voltage 384 32 R0
WINDOW 0 55 34 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName Vdd
SYMATTR Value {Vdd}
SYMBOL voltage -32 128 R0
WINDOW 0 -69 6 Left 2
SYMATTR InstName Vgg
SYMATTR Value {Vgg}
SYMBOL nmos 144 32 R0
SYMATTR InstName M1
SYMATTR Value MOSFET
SYMBOL res 112 96 R90
WINDOW 0 -10 57 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Rg
SYMATTR Value {Rg}
FLAG 192 208 0
FLAG -32 272 0
FLAG 112 112 g
TEXT 240 208 Left 2 !.op
TEXT 72 328 Left 2 !.model MOSFET nmos(Kp=1m Vto=4)
TEXT 80 376 Left 2 !.param Vdd=50 Vgg=6 Rd=330 Rg=1Meg