Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\1b3b5ba5c41d_closedloop_gain_noninverting.asc
* Generated by LTspice 26.0.1 for Windows.
R3 N001 0 4.7k
XU1 N004 N001 V_plus V_minus N002 MC33079/ON ;pnba In+)In-)V+)V-)OUT
R2 P001 N003 1k
R4 N004 0 10k
R1 N002 0 10k
R5 N002 N001 100k
V2 0 V_minus 5V
V1 V_plus 0 5V
V3 N003 0 AC 1
C1 N004 P001 4.7n
.lib on_amp.lib
.ac dec 8 1 100MEG
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 920 840
WIRE -752 -48 -800 -48
WIRE -640 -48 -672 -48
WIRE -560 -48 -640 -48
WIRE -272 -48 -480 -48
WIRE -1040 0 -1248 0
WIRE -800 0 -800 -48
WIRE -1040 64 -1040 0
WIRE -528 80 -544 80
WIRE -528 112 -528 80
WIRE -272 112 -272 -48
WIRE -80 112 -272 112
WIRE -640 128 -640 -48
WIRE -560 128 -640 128
WIRE -272 144 -272 112
WIRE -272 144 -496 144
WIRE -752 160 -800 160
WIRE -592 160 -608 160
WIRE -560 160 -592 160
WIRE -80 160 -80 112
WIRE -1040 176 -1040 144
WIRE -1040 176 -1120 176
WIRE -800 192 -800 160
WIRE -1120 208 -1120 176
WIRE -528 208 -528 176
WIRE -512 208 -528 208
WIRE -1040 224 -1040 176
WIRE -592 224 -592 160
WIRE -80 272 -80 240
WIRE -800 288 -800 272
WIRE -592 336 -592 304
WIRE -1040 352 -1040 304
WIRE -1040 352 -1264 352
SYMBOL res -608 208 R0
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL res -464 -64 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R5
SYMATTR Value 100k
SYMBOL res -96 144 R0
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL Opamps\\opamp2 -528 80 R0
WINDOW 3 18 106 Left 0
SYMATTR InstName U1
SYMATTR Value MC33079/ON
SYMBOL cap -608 144 R90
WINDOW 0 0 32 VBottom 0
WINDOW 3 32 32 VTop 0
SYMATTR InstName C1
SYMATTR Value 4.7n
SYMBOL res -656 144 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R2
SYMATTR Value 1k
SYMBOL res -656 -64 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R3
SYMATTR Value 4.7k
SYMBOL voltage -1040 208 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 5V
SYMBOL voltage -1040 48 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 5V
SYMBOL voltage -800 176 R0
WINDOW 123 24 132 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value2 AC 1
SYMATTR InstName V3
SYMATTR Value ""
FLAG -1120 208 0
FLAG -1248 0 V_plus
FLAG -1264 352 V_minus
FLAG -512 208 V_minus
FLAG -544 80 V_plus
FLAG -800 288 0
FLAG -800 0 0
FLAG -80 272 0
FLAG -592 336 0
TEXT -840 376 Left 0 !.lib on_amp.lib
TEXT -840 400 Left 0 !.ac dec 8 1 100MEG
* Z:\home\khalils\Downloads\files\data\raw_asc\ADuM4120-1B.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\ADuM4120-1B.asy)
V3 N003 0 PULSE(0 5 0 2n 2n 998n 2u)
V2 N002 0 15
C1 GATE 0 2n
V1 N001 0 5
R1 GATE N004 5
XU1 N001 N003 0 0 N004 N002 ADuM4120xx Glitch=0 Vrun2=7.2 ;pnba Vdd1)Vin)GND1)GND2)Vout)Vdd2
.tran 10u
.lib ADuM4120xx.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 160 16 16 16
WIRE 496 16 320 16
WIRE 16 32 16 16
WIRE 496 32 496 16
WIRE 160 48 160 16
WIRE 320 48 320 16
WIRE 16 128 16 112
WIRE 496 128 496 112
WIRE 112 160 -48 160
WIRE 400 160 368 160
WIRE 512 160 480 160
WIRE 544 160 512 160
WIRE 512 176 512 160
WIRE 160 288 160 272
WIRE 320 288 320 272
SYMBOL voltage 496 16 R0
WINDOW 0 29 30 Left 2
WINDOW 3 31 84 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 15
SYMBOL res 496 144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 5
SYMBOL cap 496 176 R0
WINDOW 0 35 16 Left 2
WINDOW 3 36 51 Left 2
SYMATTR InstName C1
SYMATTR Value 2n
SYMBOL ADuM4120-1B 240 160 R0
SYMATTR InstName U1
SYMBOL voltage -32 160 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
WINDOW 123 74 56 VTop 2
WINDOW 39 53 56 VTop 2
SYMATTR InstName V3
SYMATTR Value PULSE(0 5 0 2n 2n 998n 2u)
SYMBOL voltage 16 16 R0
WINDOW 0 25 25 Left 2
SYMATTR InstName V1
SYMATTR Value 5
FLAG 160 288 0
FLAG 320 288 0
FLAG 512 240 0
FLAG 544 160 GATE
FLAG 496 128 0
FLAG 16 128 0
FLAG -128 160 0
TEXT 400 280 Left 2 !.tran 10u
* Z:\home\khalils\Downloads\files\data\raw_asc\62bdc00b1dee_ideal_mult.asc
* Generated by LTspice 26.0.1 for Windows.
* input signals
* internally generated signals
* output signals
* Simulation of analog multiplier
* V1 and V2 represent input signals A and B
* B1 is the inverter for the signal A
* V2 is the internal triangle wave generator
* B2 represents the analog switch which is controlled by a comparator
* B3 generates a reference signal which is the real multiplication of A and B
* ----------------------------------------------
B3 out_mult 0 V=V(A)*V(B)
B2 N001 0 V=if(V(B)>V(ref),V(A),V(Aneg))
R1 N001 out 1k
V1 A 0 SINE(0 1 41k)
V3 ref 0 PULSE(-1 1 0 0.5u 0.5u 0 1u)
C1 out 0 1n
B1 Aneg 0 V=-V(A)
V2 B 0 SINE(0 1 40k)
.tran 0 10m 0 10n
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1716 680
WIRE 592 32 416 32
WIRE 928 32 720 32
WIRE 1408 32 1120 32
WIRE 1520 32 1488 32
WIRE 1584 32 1520 32
WIRE 416 48 416 32
WIRE 720 48 720 32
WIRE 1120 48 1120 32
WIRE 1520 48 1520 32
WIRE 1520 128 1520 112
WIRE 592 176 416 176
WIRE 928 176 720 176
WIRE 1584 176 1120 176
WIRE 416 192 416 176
WIRE 720 192 720 176
WIRE 1120 192 1120 176
SYMBOL voltage 416 32 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value SINE(0 1 41k)
SYMBOL bv 720 32 R0
SYMATTR InstName B1
SYMATTR Value V=-V(A)
SYMBOL res 1392 48 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL voltage 720 176 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V3
SYMATTR Value PULSE(-1 1 0 0.5u 0.5u 0 1u)
SYMBOL bv 1120 176 R0
SYMATTR InstName B3
SYMATTR Value V=V(A)*V(B)
SYMBOL bv 1120 32 R0
SYMATTR InstName B2
SYMATTR Value V=if(V(B)>V(ref),V(A),V(Aneg))
SYMBOL voltage 416 176 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value SINE(0 1 40k)
SYMBOL cap 1504 48 R0
SYMATTR InstName C1
SYMATTR Value 1n
FLAG 416 128 0
FLAG 416 272 0
FLAG 592 32 A
FLAG 592 176 B
FLAG 720 128 0
FLAG 720 272 0
FLAG 928 176 ref
FLAG 928 32 Aneg
FLAG 1120 128 0
FLAG 1120 272 0
FLAG 1584 32 out
FLAG 1584 176 out_mult
FLAG 1520 128 0
TEXT 424 -48 Left 2 ;input signals
TEXT 704 -48 Left 2 ;internally generated signals
TEXT 1256 -48 Left 2 ;output signals
TEXT 382 360 Left 2 !.tran 0 10m 0 10n
TEXT 384 -160 Left 3 ;Simulation of analog multiplier
TEXT 384 464 Left 2 ;V1 and V2 represent input signals A and B
TEXT 384 496 Left 2 ;B1 is the inverter for the signal A
TEXT 384 528 Left 2 ;V2 is the internal triangle wave generator
TEXT 384 560 Left 2 ;B2 represents the analog switch which is controlled by a comparator
TEXT 384 592 Left 2 ;B3 generates a reference signal which is the real multiplication of A and B
TEXT 384 -136 Left 3 ;----------------------------------------------
* Z:\home\khalils\Downloads\files\data\raw_asc\32ad0199d59b_blinky-power-supply.asc
* Generated by LTspice 26.0.1 for Windows.
* At 1W input power and SWR 1:1, and at 2.4V / 1.2mA recovered DC power,\nthe diode peak current is 7.4mA, which is 3.7% of 200mA input peak current.\n3rd harmonic introduced by the power recovery circuit is -36dB below the carrier.
R1 load_hi src_hi 25
D2 N003 N001 DI_1N5711
D1 load_hi N001 DI_1N5711
R4 N003 0 50
C1 N001 0 1n
R5 load_hi N003 100
R2 N003 src_lo 25
V2 N002 0 2.4
R6 N002 N001 1500
V1 src_hi src_lo SINE(0 20 7MEG)
R3 0 load_hi 50
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 0 .001 0.0009
.include spicemodels_schottky_diodes.txt
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -112 112 -144 112
WIRE -64 112 -112 112
WIRE 64 112 64 96
WIRE 64 112 16 112
WIRE 144 112 64 112
WIRE 160 112 144 112
WIRE 240 112 224 112
WIRE 288 112 240 112
WIRE 352 112 288 112
WIRE 480 112 432 112
WIRE 480 144 480 112
WIRE 64 160 64 112
WIRE 288 160 288 112
WIRE -112 240 -112 112
WIRE 144 240 144 112
WIRE 288 256 288 224
WIRE 480 256 480 224
WIRE 64 272 64 240
WIRE 64 272 16 272
WIRE 16 288 16 272
WIRE 64 336 64 272
WIRE -112 464 -112 320
WIRE -112 464 -144 464
WIRE -64 464 -112 464
WIRE 64 464 64 416
WIRE 64 464 16 464
WIRE 144 464 144 320
WIRE 144 464 64 464
WIRE 160 464 144 464
WIRE 240 464 240 112
WIRE 240 464 224 464
SYMBOL res 32 448 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 25
SYMBOL cap 272 160 R0
SYMATTR InstName C1
SYMATTR Value 1n
SYMBOL res 80 432 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R4
SYMATTR Value 50
SYMBOL res 32 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 43 44 VTop 2
SYMATTR InstName R1
SYMATTR Value 25
SYMBOL voltage 480 128 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 2.4
SYMBOL voltage -112 224 R0
WINDOW 3 -120 110 Left 2
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR Value SINE(0 20 7MEG)
SYMATTR InstName V1
SYMBOL res 128 224 R0
SYMATTR InstName R5
SYMATTR Value 100
SYMBOL res 448 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value 1500
SYMBOL res 80 256 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R3
SYMATTR Value 50
SYMBOL schottky 160 480 R270
WINDOW 0 35 33 VTop 2
WINDOW 3 -3 51 VBottom 2
SYMATTR InstName D2
SYMATTR Value DI_1N5711
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL schottky 160 128 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 83 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value DI_1N5711
SYMATTR Description Diode
SYMATTR Type diode
FLAG 288 256 0
FLAG 480 256 0
FLAG 16 288 0
FLAG -144 112 src_hi
FLAG -144 464 src_lo
FLAG 64 96 load_hi
TEXT 296 312 Left 2 !.tran 0 .001 0.0009
TEXT 296 344 Left 2 !.include spicemodels_schottky_diodes.txt
TEXT -192 552 Left 2 ;At 1W input power and SWR 1:1, and at 2.4V / 1.2mA recovered DC power,\nthe diode peak current is 7.4mA, which is 3.7% of 200mA input peak current.\n3rd harmonic introduced by the power recovery circuit is -36dB below the carrier.
* Z:\home\khalils\Downloads\files\data\raw_asc\235a903f0439_Butterworth_2nd.asc
* Generated by LTspice 26.0.1 for Windows.
R2 N004 N003 4.7k
R1 N005 N004 47k
C2 N005 0 0.6n
R5 0 N002 10k
V2 0 -Vcc 12
R4 0 N001 220k
C1 N004 0 14n
V1 Vcc 0 12
R3 N001 N002 2.2k
V3 N003 0 AC
XU1 N005 N001 Vcc -Vcc N002 TL072 ;pnba In+)In-)V+)V-)OUT
.ac oct 100 1 150k
.lib ..\..\01_models\TL072.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 688 0 688 -16
WIRE 224 16 48 16
WIRE 688 96 688 80
WIRE 768 96 688 96
WIRE 768 112 768 96
WIRE 688 128 688 96
WIRE 48 144 48 16
WIRE 96 144 48 144
WIRE 320 160 160 160
WIRE 528 160 320 160
WIRE -256 176 -320 176
WIRE -144 176 -176 176
WIRE -112 176 -144 176
WIRE 16 176 -32 176
WIRE 96 176 16 176
WIRE 320 192 320 160
WIRE -320 240 -320 176
WIRE 688 240 688 208
WIRE 528 256 528 160
WIRE -144 272 -144 176
WIRE 16 272 16 176
WIRE 224 320 224 16
WIRE 320 320 320 272
WIRE 320 320 224 320
WIRE 320 352 320 320
WIRE -320 464 -320 320
WIRE -144 464 -144 336
WIRE -144 464 -320 464
WIRE 16 464 16 336
WIRE 16 464 -144 464
WIRE 320 464 320 432
WIRE 320 464 16 464
WIRE 528 464 528 336
WIRE 528 464 320 464
WIRE 16 496 16 464
SYMBOL res 336 288 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R3
SYMATTR Value 2.2k
SYMBOL voltage -320 224 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V3
SYMATTR Value AC
SYMBOL res -16 160 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 47k
SYMBOL voltage 688 112 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value 12
SYMBOL Opamps\\opamp2 128 96 R0
SYMATTR InstName U1
SYMATTR Value TL072
SYMBOL res 336 448 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R4
SYMATTR Value 220k
SYMBOL cap -160 272 R0
SYMATTR InstName C1
SYMATTR Value 14n
SYMBOL cap 0 272 R0
SYMATTR InstName C2
SYMATTR Value 0.6n
SYMBOL voltage 688 -16 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL res -160 160 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 4.7k
SYMBOL res 544 352 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R5
SYMATTR Value 10k
FLAG 16 496 0
FLAG 768 112 0
FLAG 688 -16 Vcc
FLAG 688 240 -Vcc
FLAG 128 128 Vcc
FLAG 128 192 -Vcc
TEXT -352 520 Left 2 !.ac oct 100 1 150k
TEXT -320 -72 Left 2 !.lib ..\\..\\01_models\\TL072.lib
* Z:\home\khalils\Downloads\files\data\raw_asc\0a495bb34fe8_npn_output_sim.asc
* Generated by LTspice 26.0.1 for Windows.
* V(out)-V(ref) = 1.25V\nV(out) = V(ref) * (1 + R2/R1) + I(adj)*R2
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\UniversalOpAmp2.asy)
XU1 cmd N001 5v 0 N002 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
R1 N001 0 10
Q1 5v N002 N001 0 2n3904
V2 cmd 0 PULSE(0 4.5 0 10m 0 10m 50m)
V1 5v 0 5
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran 0 10m 0 1u
.lib UniversalOpAmp2.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 1124
WIRE 432 -48 64 -48
WIRE 304 144 304 96
WIRE 128 160 128 144
WIRE 64 176 64 -48
WIRE 96 176 64 176
WIRE 240 192 160 192
WIRE 64 208 0 208
WIRE 96 208 64 208
WIRE 0 224 0 208
WIRE -192 240 -192 224
WIRE 128 240 128 224
WIRE 304 272 304 240
WIRE 432 272 432 -48
WIRE 432 272 304 272
WIRE 304 288 304 272
WIRE 0 352 0 304
WIRE -192 368 -192 320
WIRE 304 400 304 368
SYMBOL voltage -192 224 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL OpAmps\\UniversalOpAmp2 128 192 R0
SYMATTR InstName U1
SYMBOL res 288 272 R0
SYMATTR InstName R1
SYMATTR Value 10
SYMBOL voltage 0 208 R0
WINDOW 3 18 110 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR Value PULSE(0 4.5 0 10m 0 10m 50m)
SYMATTR InstName V2
SYMBOL npn 240 144 R0
SYMATTR InstName Q1
SYMATTR Value 2n3904
FLAG -192 368 0
FLAG 0 352 0
FLAG 64 208 cmd
FLAG 128 144 5v
FLAG 128 240 0
FLAG 304 400 0
FLAG 304 96 5v
FLAG -192 224 5v
TEXT -32 392 Left 2 !.tran 0 10m 0 1u
TEXT 8 -16 Left 2 ;V(out)-V(ref) = 1.25V\nV(out) = V(ref) * (1 + R2/R1) + I(adj)*R2
* Z:\home\khalils\Downloads\files\data\raw_asc\253d21121c2f_6238.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\LT6238.asy)
XU1 N003 N001 N002 +V -V LT6237 ;pnba IN+)IN-)OUT)VCC)VEE
V3 N003 0 SINE(0 1 1K)
V1 +V 0 5
R1 N002 N001 1K
R2 N001 0 1K
V2 -V 0 -5
.tran 3m
.lib LTC7.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 896 680
WIRE -80 80 -96 80
WIRE 16 80 0 80
WIRE 32 80 16 80
WIRE 144 80 112 80
WIRE -336 160 -336 144
WIRE -208 160 -208 144
WIRE 80 192 80 176
WIRE 16 208 16 80
WIRE 48 208 16 208
WIRE 144 224 144 80
WIRE 144 224 112 224
WIRE 48 240 -64 240
WIRE -64 256 -64 240
WIRE -336 272 -336 240
WIRE -208 272 -208 240
WIRE 80 272 80 256
WIRE -64 352 -64 336
SYMBOL voltage -336 144 R0
SYMATTR InstName V2
SYMATTR Value -5
SYMBOL opamps\\LT6238 80 224 R0
SYMATTR InstName U1
SYMBOL res 16 64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1K
SYMBOL voltage -208 144 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL res 128 64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1K
SYMBOL voltage -64 240 R0
SYMATTR InstName V3
SYMATTR Value SINE(0 1 1K)
FLAG -208 272 0
FLAG 80 176 +V
FLAG -208 144 +V
FLAG 80 272 -V
FLAG -336 272 0
FLAG -336 144 -V
FLAG -96 80 0
FLAG -64 352 0
TEXT 160 360 Left 2 !.tran 3m
* Z:\home\khalils\Downloads\files\data\raw_asc\24f592e4daec_amp_off.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\AD8038.asy)
R5 Vref 0 9k
V3 N002 0 SINE(1.6 1.6 0.5) Rser=0
D2 N001 P001 D
R3 N001 +VCC 10k
V1 +VCC 0 4
R4 N001 Vref 5k
XU1 Vref N003 +VCC -VEE I AD8038 ;pnba In+)In-)V+)V-)OUT
D1 P001 0 D
R2 N002 N003 10k
V2 0 -VEE 4
R1 I N003 10k
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 10
.lib ADI.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1152 680
WIRE 656 32 656 0
WIRE 784 32 656 32
WIRE 784 80 784 32
WIRE 912 80 912 64
WIRE 656 96 656 32
WIRE 912 160 912 80
WIRE 912 160 784 160
WIRE 656 256 656 224
WIRE 720 256 656 256
WIRE 784 256 784 240
WIRE 784 256 720 256
WIRE 720 272 720 256
WIRE -32 288 -208 288
WIRE 112 288 48 288
WIRE 192 288 112 288
WIRE 352 288 272 288
WIRE -208 320 -208 288
WIRE 112 400 112 288
WIRE 160 400 112 400
WIRE 352 416 352 288
WIRE 352 416 224 416
WIRE 400 416 352 416
WIRE 160 432 128 432
WIRE -208 448 -208 400
IOPIN 400 416 Out
SYMBOL res 768 64 R0
SYMATTR InstName R4
SYMATTR Value 5k
SYMBOL voltage 320 16 R180
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value 4
SYMBOL voltage -208 304 M0
WINDOW 123 0 0 Left 2
WINDOW 39 -144 124 Left 2
WINDOW 3 -255 91 Left 2
SYMATTR SpiceLine Rser=0
SYMATTR Value SINE(1.6 1.6 0.5)
SYMATTR InstName V3
SYMBOL diode 640 160 R0
SYMATTR InstName D1
SYMBOL OpAmps\\AD8038 192 352 R0
SYMATTR InstName U1
SYMBOL voltage 192 -96 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 4
SYMBOL diode 640 96 R0
SYMATTR InstName D2
SYMBOL res 672 16 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R3
SYMATTR Value 10k
SYMBOL res -48 272 M90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL res 768 144 R0
SYMATTR InstName R5
SYMATTR Value 9k
SYMBOL res 288 272 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10k
FLAG 192 0 0
FLAG 192 -80 +VCC
FLAG 320 0 0
FLAG 320 -80 -VEE
FLAG 192 384 +VCC
FLAG 192 448 -VEE
FLAG 400 416 I
FLAG 128 432 Vref
FLAG -208 448 0
FLAG 656 -80 +VCC
FLAG 720 272 0
FLAG 912 80 Vref
TEXT -264 550 Left 2 !.tran 10
* Z:\tmp\asc_dec_bjh7r6w2\191b92cc7e8c_sense_amp_second_try_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
M2 N009 N009 N012 N012 2N7002
R10 N010 N011 10k
Q2 N003 N004 N005 0 2N3904
M4 OUT N005 N008 N008 2N7002
R7 OUT N005 1k
M5 N002 N002 N001 N001 BSS84
R4 N007 N013 100k
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1688 832
WIRE 880 -320 880 -432
WIRE 880 -320 784 -320
WIRE 992 -320 880 -320
WIRE 784 -240 784 -320
WIRE 992 -240 992 -320
WIRE 880 -224 832 -224
WIRE 944 -224 880 -224
WIRE 784 -112 784 -144
WIRE 784 -112 688 -112
WIRE 784 -96 784 -112
WIRE 880 -96 880 -224
WIRE 880 -96 784 -96
WIRE 992 -96 992 -144
WIRE 1088 -96 992 -96
WIRE 1120 -96 1088 -96
WIRE 512 64 512 -432
WIRE 1120 96 1120 -96
WIRE 448 112 400 112
WIRE 688 112 688 -112
WIRE 784 144 784 -96
WIRE 992 144 992 -96
WIRE 1120 224 1120 176
WIRE 1120 224 1040 224
WIRE 16 272 -256 272
WIRE 400 272 400 112
WIRE 400 272 96 272
WIRE 512 272 512 160
WIRE 1120 272 1120 224
WIRE 1120 272 512 272
WIRE 1584 288 1584 -96
WIRE 896 304 784 304
WIRE 992 304 992 240
WIRE 992 304 896 304
WIRE 1248 304 1248 -160
WIRE 1248 304 1136 304
WIRE 896 336 896 304
WIRE 1248 336 1248 304
WIRE 1136 416 1136 304
WIRE 1136 416 944 416
WIRE 1200 416 1136 416
WIRE 144 464 144 224
WIRE 144 720 144 544
WIRE 1248 720 1248 432
WIRE 1584 720 1584 368
SYMBOL nmos 1200 336 R0
SYMATTR InstName M2
SYMATTR Value 2N7002
SYMBOL res 128 448 R0
SYMATTR InstName R10
SYMATTR Value 10k
SYMBOL npn2 448 64 R0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL nmos 1040 144 M0
SYMATTR InstName M4
SYMATTR Value 2N7002
SYMBOL res 1104 80 R0
SYMATTR InstName R7
SYMATTR Value 1k
SYMBOL pmos 832 -144 R180
SYMATTR InstName M5
SYMATTR Value BSS84
SYMBOL res 1568 272 R0
SYMATTR InstName R4
SYMATTR Value 100k
FLAG 1088 -96 OUT
* Z:\home\khalils\Downloads\files\data\raw_asc\0bcc04f071c9_NJM4580_2nd_VCVS_with_POT_Buffer.asc
* Generated by LTspice 26.0.1 for Windows.
;tran 0 100u 50u
C1 FOUT N002 100pF
XU2 N003 FOUT VCC VEE FOUT NJM4580_SUB ;pnba In+)In-)V+)V-)OUT
C2 N003 0 100pF
V2 VCC 0 4.5V
R1 N002 NOUT 8.2k
V3 VEE 0 -4.5V
XU1 N004 NOUT VCC VEE NOUT NJM4580_SUB ;pnba In+)In-)V+)V-)OUT
R4 N004 0 {10k-Ra}
R3 N001 N004 {Ra}
R2 N003 N002 8.2k
V1 N001 0 PULSE(-1 1 0 2.5u 2.5u 0 5u) AC 1
.ac oct 10 10 100Meg
.step param Ra list 10 1k 5k 9k 9.9k
.include mylib\njm4580_2.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1100 680
WIRE -576 -64 -592 -64
WIRE -496 -64 -512 -64
WIRE -592 -48 -592 -64
WIRE -512 -48 -512 -64
WIRE 240 -32 80 -32
WIRE 368 -32 240 -32
WIRE -240 -16 -368 -16
WIRE -32 -16 -160 -16
WIRE 80 -16 80 -32
WIRE -240 16 -240 -16
WIRE -368 32 -368 -16
WIRE -592 48 -592 32
WIRE -512 48 -512 32
WIRE 240 64 240 -32
WIRE 272 64 240 64
WIRE -160 80 -160 -16
WIRE -144 80 -160 80
WIRE 368 80 368 -32
WIRE 368 80 336 80
WIRE 384 80 368 80
WIRE -32 96 -32 -16
WIRE -32 96 -80 96
WIRE -16 96 -32 96
WIRE 80 96 80 48
WIRE 80 96 64 96
WIRE 96 96 80 96
WIRE 208 96 176 96
WIRE 272 96 208 96
WIRE -240 112 -240 96
WIRE -144 112 -240 112
WIRE -368 128 -368 112
WIRE -240 144 -240 112
WIRE 208 144 208 96
WIRE 208 240 208 208
WIRE -240 256 -240 224
WIRE -32 272 -32 96
WIRE -16 272 -32 272
IOPIN 384 80 Out
IOPIN -16 272 Out
SYMBOL res -256 0 R0
SYMATTR InstName R3
SYMATTR Value {Ra}
SYMBOL cap 192 144 R0
SYMATTR InstName C2
SYMATTR Value 100pF
SYMBOL Opamps\\opamp2 304 16 R0
SYMATTR InstName U2
SYMATTR Value NJM4580_SUB
SYMBOL res 80 80 R90
WINDOW 0 110 -218 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 8.2k
SYMBOL res -256 128 R0
SYMATTR InstName R4
SYMATTR Value {10k-Ra}
SYMBOL voltage -592 -64 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value 4.5V
SYMBOL Opamps\\opamp2 -112 32 R0
WINDOW 3 14 125 Left 2
SYMATTR Value NJM4580_SUB
SYMATTR InstName U1
SYMBOL voltage -512 -64 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V3
SYMATTR Value -4.5V
SYMBOL voltage -368 16 R0
WINDOW 123 -17 182 Left 2
WINDOW 39 0 0 Left 2
WINDOW 3 -261 150 Left 2
SYMATTR Value2 AC 1
SYMATTR Value PULSE(-1 1 0 2.5u 2.5u 0 5u)
SYMATTR InstName V1
SYMBOL cap 64 -16 R0
SYMATTR InstName C1
SYMATTR Value 100pF
SYMBOL res 192 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 8.2k
FLAG -368 128 0
FLAG 208 240 0
FLAG -592 48 0
FLAG -512 48 0
FLAG -592 -64 VCC
FLAG -512 -64 VEE
FLAG 304 48 VCC
FLAG 304 112 VEE
FLAG 384 80 FOUT
FLAG -240 256 0
FLAG -112 64 VCC
FLAG -112 128 VEE
FLAG -16 272 NOUT
TEXT 336 192 Left 2 !;tran 0 100u 50u
TEXT 336 224 Left 2 !.ac oct 10 10 100Meg
TEXT 336 256 Left 2 !.step param Ra list 10 1k 5k 9k 9.9k
TEXT 336 288 Left 2 !.include mylib\\njm4580_2.lib