Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\b807c76a5e67_Raw-voltage-regulator-with-zener-diode..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)
R2 Diode_BreakDownV 0 470
R3 N002 voltage_divider 242
V2 N002 0 12
D1 0 Diode_BreakDownV 1N750
V1 N001 0 12
R1 N001 Diode_BreakDownV 242
R4 voltage_divider 0 470
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 1
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 1392 1008
WIRE 352 128 224 128
WIRE 864 128 736 128
WIRE 224 160 224 128
WIRE 352 160 352 128
WIRE 736 160 736 128
WIRE 864 160 864 128
WIRE 352 272 352 240
WIRE 464 272 352 272
WIRE 512 272 512 256
WIRE 512 272 464 272
WIRE 864 272 864 240
WIRE 976 272 864 272
WIRE 352 288 352 272
WIRE 464 304 464 272
WIRE 976 304 976 272
WIRE 352 416 352 352
WIRE 464 416 464 384
WIRE 976 416 976 384
SYMBOL res 336 144 R0
SYMATTR InstName R1
SYMATTR Value 242
SYMBOL voltage 736 144 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value 12
SYMBOL voltage 224 144 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL zener 368 352 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value 1N750
SYMBOL res 848 144 R0
SYMATTR InstName R3
SYMATTR Value 242
SYMBOL res 960 288 R0
SYMATTR InstName R4
SYMATTR Value 470
SYMBOL res 448 288 R0
SYMATTR InstName R2
SYMATTR Value 470
FLAG 224 240 0
FLAG 352 416 0
FLAG 464 416 0
FLAG 736 240 0
FLAG 976 416 0
FLAG 864 272 voltage_divider
FLAG 512 256 Diode_BreakDownV
TEXT 160 -32 Left 4 ;Raw voltage regulator with zener diode.
TEXT 224 528 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 192 440 Left 2 !.tran 1
* Z:\tmp\asc_dec_bjh7r6w2\0aca1c5e0f7a_Control_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
V1 N001 0 PULSE(0 5 0 1n 1n 1m 2m)
A1 N002 0 0 0 0 N003 0 0 BUF
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1172 1120
WIRE 16 160 -176 160
WIRE 688 160 16 160
WIRE -176 224 -176 160
WIRE 64 224 64 -80
WIRE 16 352 16 160
WIRE 64 352 64 288
WIRE -176 384 -176 304
WIRE 64 528 64 416
SYMBOL voltage -176 208 R0
SYMATTR InstName V1
SYMATTR Value PULSE(0 5 0 1n 1n 1m 2m)
SYMBOL Digital/inv 128 224 R90
SYMATTR InstName A1
FLAG -176 384 0
* Z:\home\khalils\Downloads\files\data\raw_asc\247f1eb1a05d_halvwave_current.asc
* Generated by LTspice 26.0.1 for Windows.
V1 sin 0 SINE(0 5 50)
B1 0 N001 I=limit({lower_limit},v(sin),{upper_limit})
R_Load N001 0 1
B2 0 N002 I=uramp(v(sin))
R_Load1 N002 0 1
.tran 100m
* positive values using function "uramp"
.params lower_limit = 0 upper_limit = 4.5
* pos. halvwave using function "limit"\nupper_limut is below amplitude for demo
* REF: HELP (F1) / LTspice / Circuit elements / B. Arbitrary
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 956 680
WIRE 16 -32 -144 -32
WIRE -144 16 -144 -32
WIRE 16 16 16 -32
WIRE -368 112 -368 64
WIRE -144 144 -144 96
WIRE 16 144 16 96
WIRE -368 224 -368 192
WIRE 16 240 -144 240
WIRE -144 288 -144 240
WIRE 16 288 16 240
WIRE -144 416 -144 368
WIRE 16 416 16 368
FLAG -368 224 0
FLAG -368 64 sin
FLAG -144 144 0
FLAG 16 144 0
FLAG -144 416 0
FLAG 16 416 0
SYMBOL voltage -368 96 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value SINE(0 5 50)
SYMBOL bi2 -144 16 R0
WINDOW 3 -9 169 Left 0
SYMATTR InstName B1
SYMATTR Value I=limit({lower_limit},v(sin),{upper_limit})
SYMBOL res 0 0 R0
SYMATTR InstName R_Load
SYMATTR Value 1
SYMBOL bi2 -144 288 R0
WINDOW 3 -29 163 Left 0
SYMATTR InstName B2
SYMATTR Value I=uramp(v(sin))
SYMBOL res 0 272 R0
SYMATTR InstName R_Load1
SYMATTR Value 1
TEXT -350 270 Left 0 !.tran 100m
TEXT 184 368 Left 0 ;positive values using function "uramp"
TEXT 120 -24 Left 0 !.params lower_limit = 0  upper_limit = 4.5
TEXT 200 64 Left 0 ;pos. halvwave using function "limit"\nupper_limut is below amplitude for demo
TEXT 352 224 Left 0 ;REF: HELP (F1) / LTspice / Circuit elements / B. Arbitrary
* Z:\home\khalils\Downloads\files\data\raw_asc\c742b3108363_NOR3.asc
* Generated by LTspice 26.0.1 for Windows.
M4 n1 In1 Vdd Vdd P_2u l=2u w=72u
M6 Out In3 n2 n2 P_2u l=2u w=72u
M3 Out In1 Vss Vss N_2u l=2u w=6.5u
M1 Out In3 Vss Vss N_2u l=2u w=6.5u
M2 Out In2 Vss Vss N_2u l=2u w=6.5u
M5 n2 In2 n1 n1 P_2u l=2u w=72u
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.include "../MOSFET models/2um_CMOS.modlib"
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 872
WIRE 192 -192 192 -224
WIRE 208 -192 192 -192
WIRE -320 -176 -368 -176
WIRE 144 -176 -320 -176
WIRE 208 -144 208 -192
WIRE 208 -144 192 -144
WIRE 192 -80 192 -96
WIRE 272 -80 192 -80
WIRE 192 -64 192 -80
WIRE 208 -64 192 -64
WIRE -96 -48 -368 -48
WIRE 144 -48 -96 -48
WIRE 208 -16 208 -64
WIRE 208 -16 192 -16
WIRE 192 48 192 32
WIRE 272 48 192 48
WIRE 192 64 192 48
WIRE 208 64 192 64
WIRE 128 80 -368 80
WIRE 144 80 128 80
WIRE 208 112 208 64
WIRE 208 112 192 112
WIRE -32 176 -256 176
WIRE 192 176 192 160
WIRE 192 176 -32 176
WIRE 368 176 192 176
WIRE -256 192 -256 176
WIRE -32 192 -32 176
WIRE 192 192 192 176
WIRE -240 240 -256 240
WIRE -16 240 -32 240
WIRE 208 240 192 240
WIRE -320 272 -320 -176
WIRE -304 272 -320 272
WIRE -96 272 -96 -48
WIRE -80 272 -96 272
WIRE 128 272 128 80
WIRE 144 272 128 272
WIRE -240 288 -240 240
WIRE -240 288 -256 288
WIRE -16 288 -16 240
WIRE -16 288 -32 288
WIRE 208 288 208 240
WIRE 208 288 192 288
WIRE -256 304 -256 288
WIRE -32 304 -32 288
WIRE -32 304 -256 304
WIRE 192 304 192 288
WIRE 192 304 -32 304
WIRE 192 336 192 304
IOPIN 192 -224 In
IOPIN 192 336 In
IOPIN -368 -176 In
IOPIN -368 -48 In
IOPIN 368 176 Out
IOPIN -368 80 In
SYMBOL pmos4 144 160 M180
WINDOW 0 75 15 Left 2
WINDOW 3 73 70 Left 2
WINDOW 123 75 43 Left 2
SYMATTR InstName M6
SYMATTR Value P_2u
SYMATTR Value2 l=2u w=72u
SYMBOL pmos4 144 32 M180
WINDOW 0 75 15 Left 2
WINDOW 3 73 70 Left 2
WINDOW 123 75 43 Left 2
SYMATTR InstName M5
SYMATTR Value P_2u
SYMATTR Value2 l=2u w=72u
SYMBOL nmos4 -304 192 R0
WINDOW 0 78 81 Left 2
WINDOW 3 76 25 Left 2
WINDOW 123 78 53 Left 2
SYMATTR InstName M3
SYMATTR Value N_2u
SYMATTR Value2 l=2u w=6.5u
SYMBOL pmos4 144 -96 M180
WINDOW 0 75 15 Left 2
WINDOW 3 73 70 Left 2
WINDOW 123 75 43 Left 2
SYMATTR InstName M4
SYMATTR Value P_2u
SYMATTR Value2 l=2u w=72u
SYMBOL nmos4 144 192 R0
WINDOW 0 78 81 Left 2
WINDOW 3 76 25 Left 2
WINDOW 123 78 53 Left 2
SYMATTR InstName M1
SYMATTR Value N_2u
SYMATTR Value2 l=2u w=6.5u
SYMBOL nmos4 -80 192 R0
WINDOW 0 78 81 Left 2
WINDOW 3 76 25 Left 2
WINDOW 123 78 53 Left 2
SYMATTR InstName M2
SYMATTR Value N_2u
SYMATTR Value2 l=2u w=6.5u
FLAG 192 -224 Vdd
FLAG 192 336 Vss
FLAG -368 -176 In1
FLAG -368 -48 In2
FLAG 368 176 Out
FLAG -368 80 In3
FLAG 272 -80 n1
FLAG 272 48 n2
TEXT -312 424 Left 2 !.include "../MOSFET models/2um_CMOS.modlib"
* Z:\home\khalils\Downloads\files\data\raw_asc\5d64017aa6d8_Draft6.asc
* Generated by LTspice 26.0.1 for Windows.
* Vout
* Vin
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LTC7652.asy)
XU1 0 N001 P001 P002 N002 LTC1052 ;pnba In+)In-)V+)V-)OUT
R1 N001 N003 1000
V9 P001 0 V
V1 N003 0 9
V2 0 P002 9
C2 N002 N001 0.000001
.tran 0 0.001 0 startup
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 64 -128 48 -128
WIRE 128 -128 64 -128
WIRE 288 -128 192 -128
WIRE -160 160 -208 160
WIRE 64 160 64 -128
WIRE 64 160 -80 160
WIRE 144 160 64 160
WIRE 208 176 192 176
WIRE 288 176 288 -128
WIRE 288 176 208 176
WIRE 448 176 288 176
WIRE 144 192 80 192
WIRE -208 224 -208 160
WIRE 80 224 80 192
SYMBOL res -64 144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1000
SYMBOL voltage 176 304 R180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
SYMATTR InstName V2
SYMATTR Value 9
SYMBOL voltage 176 160 R180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
SYMATTR InstName 9
SYMBOL cap 192 -144 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 0.000001
SYMBOL OpAmps\\LTC7652 176 112 R0
SYMATTR InstName U1
SYMBOL voltage -208 208 R0
SYMATTR InstName V1
SYMATTR Value 9
FLAG -208 304 0
FLAG 176 288 0
FLAG 176 64 0
FLAG 80 224 0
TEXT 496 168 Right 2 ;Vout
TEXT -280 264 Left 2 ;Vin
TEXT -280 328 Left 2 !.tran 0 0.001 0 startup
* Z:\home\khalils\Downloads\files\data\raw_asc\012ca27cc9cf_6200.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\LT6200.asy)
R2 N001 0 1K
XU1 N002 N001 OUT +V -V NC_01 LT6200 ;pnba IN+)IN-)OUT)VCC)VEE)SHDN_L
V1 +V 0 5
R1 OUT N001 1K
V2 -V 0 -5
V3 N002 0 SINE(0 1 1Meg)
.tran 10u
.lib LTC2.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 896 680
WIRE -112 48 -128 48
WIRE 0 48 -32 48
WIRE 96 48 0 48
WIRE 208 48 176 48
WIRE 64 112 64 96
WIRE -416 160 -416 144
WIRE -288 160 -288 144
WIRE 0 160 0 48
WIRE 32 160 0 160
WIRE 208 192 208 48
WIRE 208 192 176 192
WIRE 256 192 208 192
WIRE 32 224 -112 224
WIRE -112 240 -112 224
WIRE -416 272 -416 240
WIRE -288 272 -288 240
WIRE 64 288 64 272
WIRE -112 336 -112 320
SYMBOL voltage -288 144 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage -112 224 R0
SYMATTR InstName V3
SYMATTR Value SINE(0 1 1Meg)
SYMBOL voltage -416 144 R0
SYMATTR InstName V2
SYMATTR Value -5
SYMBOL opamps\\LT6200 64 192 R0
SYMATTR InstName U1
SYMBOL res -16 32 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R2
SYMATTR Value 1K
SYMBOL res 192 32 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R1
SYMATTR Value 1K
FLAG -288 272 0
FLAG 64 96 +V
FLAG -288 144 +V
FLAG 64 288 -V
FLAG -416 272 0
FLAG -416 144 -V
FLAG -128 48 0
FLAG -112 336 0
FLAG 256 192 OUT
TEXT 152 312 Left 0 !.tran 10u
* Z:\home\khalils\Downloads\files\data\raw_asc\36fe75bb69da_6231.asc
* Generated by LTspice 26.0.1 for Windows.
V1 +V 0 5
V2 -V 0 -5
R1 N002 N001 1K
R2 N001 0 1K
V3 N003 0 SINE(0 1 1K)
XU1 N003 N001 N002 +V -V LT6231 ;pnba IN+)IN-)OUT)VCC)VEE
.tran 3m
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT6231.asy)
.lib LTC2.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 -368 160 -368 144
WIRE -240 160 -240 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 -368 256 -368 240
WIRE -240 256 -240 240
WIRE -64 256 -64 240
WIRE 80 272 80 256
WIRE -64 352 -64 336
FLAG -240 256 0
FLAG 80 176 +V
FLAG -240 144 +V
FLAG 80 272 -V
FLAG -368 256 0
FLAG -368 144 -V
FLAG -96 80 0
FLAG -64 352 0
SYMBOL voltage -240 144 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage -368 144 R0
SYMATTR InstName V2
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 res 16 64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1K
SYMBOL voltage -64 240 R0
SYMATTR InstName V3
SYMATTR Value SINE(0 1 1K)
SYMBOL opamps\\LT6231 80 224 R0
SYMATTR InstName U1
TEXT 216 352 Left 2 !.tran 3m
* Z:\home\khalils\Downloads\files\data\raw_asc\MAX77291.asc
* Generated by LTspice 26.0.1 for Windows.
V1 IN 0 5.5
L1 IN N001 10
R5 N002 0 402K
C3 OUT 0 4.7
R3 OUT N002 3.48Meg
R4 OUT 0 1.2K
XU1 0 IN IN N001 OUT N002 MAX77291 ;pnba GND)EN)IN)LX)OUT)FB
.tran 4m startup
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\MAX77291.asy)
.lib MAX77291.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 1416 868
WIRE -32 -48 -96 -48
WIRE 16 -48 -32 -48
WIRE 48 -48 16 -48
WIRE 160 -48 128 -48
WIRE 160 0 160 -48
WIRE -96 16 -96 -48
WIRE 16 64 16 -48
WIRE 48 64 16 64
WIRE 320 64 272 64
WIRE 448 64 320 64
WIRE 512 64 448 64
WIRE 560 64 512 64
WIRE 320 80 320 64
WIRE 560 80 560 64
WIRE 448 96 448 64
WIRE -96 128 -96 96
WIRE 16 176 16 64
WIRE 48 176 16 176
WIRE 320 176 320 160
WIRE 320 176 272 176
WIRE 448 176 448 160
WIRE 560 176 560 160
WIRE 320 192 320 176
WIRE 160 256 160 240
WIRE 320 288 320 272
FLAG -96 128 0
FLAG 320 288 0
FLAG 448 176 0
FLAG 560 176 0
FLAG -32 -48 IN
FLAG 512 64 OUT
FLAG 160 256 0
SYMBOL VOLTAGE -96 0 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 5.5
SYMBOL ind2 32 -32 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 10
SYMATTR Type ind
SYMBOL res 304 176 R0
SYMATTR InstName R5
SYMATTR Value 402K
SYMBOL cap 432 96 R0
WINDOW 123 42 54 Left 2
WINDOW 0 41 3 Left 2
WINDOW 3 37 29 Left 2
SYMATTR InstName C3
SYMATTR Value 4.7
SYMBOL res 304 64 R0
SYMATTR InstName R3
SYMATTR Value 3.48Meg
SYMBOL res 544 64 R0
SYMATTR InstName R4
SYMATTR Value 1.2K
SYMBOL MAX77291 160 128 R0
SYMATTR InstName U1
TEXT 104 344 Left 2 !.tran 4m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\fe19726c4804_easy_circuit.asc
* Generated by LTspice 26.0.1 for Windows.
I1 0 V3 1
R6 0 V3 30
R5 V3 V2 5
R1 V1 N001 10
R2 0 V1 10
V0 N001 0 10
R3 V1 V2 15
R4 V2 0 15
.tran .01u .1u
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 160 192 64 192
WIRE 256 192 256 160
WIRE 256 192 240 192
WIRE 288 192 256 192
WIRE 336 192 288 192
WIRE 464 192 416 192
WIRE 496 192 496 160
WIRE 496 192 464 192
WIRE 544 192 496 192
WIRE 656 192 656 160
WIRE 656 192 624 192
WIRE 688 192 656 192
WIRE 816 192 688 192
WIRE 64 224 64 192
WIRE 816 224 816 192
WIRE 288 240 288 192
WIRE 464 240 464 192
WIRE 688 240 688 192
WIRE 64 352 64 304
WIRE 288 352 288 320
WIRE 288 352 64 352
WIRE 368 352 288 352
WIRE 464 352 464 320
WIRE 464 352 368 352
WIRE 688 352 688 320
WIRE 688 352 464 352
WIRE 816 352 816 304
WIRE 816 352 688 352
WIRE 368 400 368 352
SYMBOL res 304 336 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R2
SYMATTR Value 10
SYMBOL res 448 224 R0
SYMATTR InstName R4
SYMATTR Value 15
SYMBOL res 256 176 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10
SYMBOL res 640 176 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 5
SYMBOL res 320 208 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R3
SYMATTR Value 15
SYMBOL current 816 304 R180
WINDOW 0 24 80 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName I1
SYMATTR Value 1
SYMBOL res 704 336 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R6
SYMATTR Value 30
SYMBOL voltage 64 208 R0
SYMATTR InstName V0
SYMATTR Value 10
FLAG 368 400 0
FLAG 256 160 V1
FLAG 496 160 V2
FLAG 656 160 V3
TEXT 416 632 Left 2 !.tran .01u .1u
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC6992-1.asc
* Generated by LTspice 26.0.1 for Windows.
* 400Hz, 100% to 0% 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-1.asy)
V1 N002 0 3
V2 N001 0 PULSE(0 1 10m 50m 50m 5m 110m)
XU1 N001 0 N003 N004 N002 PWMout LTC6992-1 ;pnba MOD)GND)SET)DIV)V+)OUT
R2 N004 0 1000K
R3 N002 N004 392K
R4 PWMout 0 10K
R1 N003 0 487K
.tran 120m startup
.lib LTC6992-1.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 996 680
WIRE -208 96 -240 96
WIRE 96 96 -128 96
WIRE 656 96 320 96
WIRE 656 112 656 96
WIRE 96 176 64 176
WIRE 400 176 320 176
WIRE 544 176 400 176
WIRE 400 192 400 176
WIRE 544 192 544 176
WIRE 656 208 656 192
WIRE 0 256 -16 256
WIRE 96 256 80 256
WIRE 368 256 320 256
WIRE 368 288 368 256
WIRE 400 288 400 272
WIRE 400 288 368 288
WIRE 544 288 544 272
WIRE 400 304 400 288
WIRE 400 400 400 384
SYMBOL voltage -112 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
SYMBOL res 640 96 R0
SYMATTR InstName R4
SYMATTR Value 10K
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 384 176 R0
SYMATTR InstName R3
SYMATTR Value 392K
SYMBOL res 384 288 R0
SYMATTR InstName R2
SYMATTR Value 1000K
SYMBOL voltage 544 176 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 3
SYMBOL SpecialFunctions\\LTC6992-1 208 176 R0
SYMATTR InstName U1
FLAG -240 96 0
FLAG 544 288 0
FLAG 656 96 PWMout
FLAG 656 208 0
FLAG 400 400 0
FLAG -16 256 0
FLAG 64 176 0
TEXT 536 384 Left 2 !.tran 120m startup
TEXT 208 56 Bottom 2 ;400Hz, 100% to 0% Duty Cycle\nSwept Pulse Width Modulated Output\nStartup Modeled
* Z:\home\khalils\Downloads\files\data\raw_asc\35e530be0ccf_F_vo_50k.asc
* Generated by LTspice 26.0.1 for Windows.
R4 PuntaX1Vout 0 1Meg
D1 PuntaX1Vin PuntaX1Vout D1N4001
C1 PuntaX1Vin 0 200p
V2 N001 0 SINE(0 5 50k)
R2 N001 PuntaX1Vin 50
R3 PuntaX1Vin 0 1Meg
C2 PuntaX1Vout 0 200p
R1 PuntaX1Vout 0 10k
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.lib Diodos.sub
.tran 0 80u 40u
.meas Vmedio AVG V(Puntax1Vout) from 0us to 20us
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 984 680
WIRE -432 64 -480 64
WIRE -288 64 -352 64
WIRE 64 64 -32 64
WIRE 144 64 64 64
WIRE 336 64 208 64
WIRE 432 64 336 64
WIRE 704 64 656 64
WIRE 752 64 704 64
WIRE 432 96 432 64
WIRE 656 96 656 64
WIRE -480 112 -480 64
WIRE 752 112 752 64
WIRE 656 208 656 176
WIRE 704 208 656 208
WIRE 752 208 752 176
WIRE 752 208 704 208
WIRE -480 256 -480 192
WIRE 432 256 432 176
WIRE 704 256 704 208
WIRE 704 336 656 336
WIRE 752 336 704 336
WIRE 656 368 656 336
WIRE 752 384 752 336
WIRE 656 480 656 448
WIRE 704 480 656 480
WIRE 752 480 752 448
WIRE 752 480 704 480
WIRE 704 528 704 480
SYMBOL res 416 80 R0
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL res -448 80 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R2
SYMATTR Value 50
SYMBOL res 640 80 R0
SYMATTR InstName R4
SYMATTR Value 1Meg
SYMBOL voltage -480 96 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value SINE(0 5 50k)
SYMBOL diode 144 80 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value D1N4001
SYMBOL res 640 352 R0
SYMATTR InstName R3
SYMATTR Value 1Meg
SYMBOL cap 736 384 R0
SYMATTR InstName C1
SYMATTR Value 200p
SYMBOL cap 736 112 R0
SYMATTR InstName C2
SYMATTR Value 200p
FLAG 432 256 0
FLAG -480 256 0
FLAG -288 64 GenF
FLAG -32 64 GenF
FLAG 704 256 0
FLAG 704 64 PuntaX1Vout
FLAG 336 64 PuntaX1Vout
FLAG 704 528 0
FLAG 704 336 PuntaX1Vin
FLAG 64 64 PuntaX1Vin
TEXT -288 344 Left 2 !.lib Diodos.sub
TEXT -64 344 Left 2 !.tran 0 80u 40u
TEXT -280 400 Left 2 !.meas Vmedio AVG V(Puntax1Vout) from 0us to 20us
* Z:\home\khalils\Downloads\files\data\raw_asc\28a98e7bd159_05-invertin_amplifier.asc
* Generated by LTspice 26.0.1 for Windows.
XU1 0 N001 vcc vee out LT1001 ;pnba In+)In-)V+)V-)OUT
V1 vcc 0 +18
V2 0 vee +18
V3 in 0 SINE(0 1 1k)
Rf out N001 {fb_val}
R1 N001 in {r1_val}
.param fb_val=2k r1_val=1k
.tran 3m
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\OP07.asy)
.lib LTC.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 160 -64 128 -64
WIRE 288 -64 240 -64
WIRE -128 16 -128 -16
WIRE 192 48 192 32
WIRE 0 64 -16 64
WIRE 16 64 0 64
WIRE 128 64 128 -64
WIRE 128 64 96 64
WIRE 160 64 128 64
WIRE 288 80 288 -64
WIRE 288 80 224 80
WIRE 336 80 288 80
WIRE 352 80 336 80
WIRE 160 96 144 96
WIRE -128 112 -128 96
WIRE -128 112 -192 112
WIRE -16 112 -16 64
WIRE -128 128 -128 112
WIRE 144 128 144 96
WIRE 192 128 192 112
WIRE -192 144 -192 112
WIRE -16 224 -16 192
WIRE -128 240 -128 208
FLAG -192 144 0
FLAG -128 -16 vcc
FLAG -128 240 vee
FLAG -16 224 0
FLAG 0 64 in
FLAG 192 128 vee
FLAG 192 32 vcc
FLAG 336 80 out
FLAG 144 128 0
SYMBOL OpAmps\\OP07 192 16 R0
SYMATTR InstName U1
SYMBOL voltage -128 0 R0
WINDOW 3 24 85 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value +18
SYMBOL voltage -128 112 R0
WINDOW 3 19 88 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value +18
SYMBOL voltage -16 96 R0
WINDOW 0 43 66 Left 2
WINDOW 3 20 91 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value SINE(0 1 1k)
SYMBOL res 256 -80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 45 VTop 2
SYMATTR InstName Rf
SYMATTR Value {fb_val}
SYMBOL res 112 48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value {r1_val}
TEXT 16 240 Left 2 !.param fb_val=2k r1_val=1k
TEXT 16 272 Left 2 !.tran 3m
* Z:\home\khalils\Downloads\files\data\raw_asc\AD8336.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\AD8336.asy)
V1 INPP 0 0 AC 1
V2 N002 0 {Vgain}
V5 N001 0 -5
R3 PRAO INPN 301
V4 VPOS 0 5
R1 OUT 0 500
R2 INPN 0 100
V3 PWRA 0 0
XU1 OUT PWRA 0 INPP INPN PRAO PRAO N001 N002 0 VPOS AD8336 ;pnba VOUT)PWRA)VCOM)INPP)INPN)PRAO)VGAI)VNEG)GPOS)GNEG)VPOS
.op
.ac dec 20 100k 500Meg
.step param Vgain list -0.7 -0.5 -0.2 0 0.2 0.5 0.7
.lib AD8336.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -192 -160 -208 -160
WIRE -32 -160 -112 -160
WIRE 16 -160 0 -160
WIRE 112 -160 96 -160
WIRE -208 -144 -208 -160
WIRE 112 -144 112 -160
WIRE -32 -112 -32 -160
WIRE 0 -112 0 -160
WIRE -32 -64 -32 -112
WIRE 0 -64 0 -112
WIRE -416 -16 -432 -16
WIRE -112 -16 -336 -16
WIRE -64 -16 -112 -16
WIRE 208 0 160 0
WIRE 352 0 208 0
WIRE -432 16 -432 -16
WIRE -112 16 -304 16
WIRE -64 16 -112 16
WIRE -304 64 -304 16
WIRE -272 64 -304 64
WIRE -176 64 -192 64
WIRE -112 64 -176 64
WIRE -64 64 -112 64
WIRE 352 64 352 0
WIRE -176 96 -176 64
WIRE 32 96 32 64
WIRE 32 96 -176 96
WIRE 48 96 48 64
WIRE 48 96 32 96
WIRE 80 96 80 64
WIRE 112 96 112 64
WIRE 112 96 80 96
WIRE -304 112 -304 64
WIRE 80 112 80 96
WIRE -16 128 -16 64
WIRE 144 128 144 64
WIRE 352 160 352 144
WIRE -304 224 -304 192
WIRE -16 224 -16 208
WIRE 144 224 144 208
SYMBOL voltage -16 112 R0
SYMATTR InstName V5
SYMATTR Value -5
SYMBOL voltage 144 112 R0
SYMATTR InstName V2
SYMATTR Value {Vgain}
SYMBOL voltage -320 -16 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName V1
SYMATTR Value 0 AC 1
SYMBOL res -320 96 R0
SYMATTR InstName R2
SYMATTR Value 100
SYMBOL res 336 48 R0
SYMATTR InstName R1
SYMATTR Value 500
SYMBOL voltage 0 -160 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 -32 56 VBottom 2
SYMATTR InstName V3
SYMATTR Value 0
SYMBOL res -176 48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 301
SYMBOL voltage -96 -160 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName V4
SYMATTR Value 5
SYMBOL AD8336 -16 -48 R0
SYMATTR InstName U1
FLAG 352 160 0
FLAG 208 0 OUT
FLAG -432 16 0
FLAG 144 224 0
FLAG 112 -144 0
FLAG -208 -144 0
FLAG -32 -112 VPOS
FLAG -16 224 0
FLAG 80 112 0
FLAG -112 16 INPN
FLAG -112 64 PRAO
FLAG -304 224 0
FLAG -112 -16 INPP
FLAG 0 -112 PWRA
TEXT -160 -352 Left 2 !.op\n.ac dec 20 100k 500Meg
TEXT -160 -296 Left 2 !.step param Vgain list -0.7 -0.5 -0.2 0 0.2 0.5 0.7