Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\MAX4434.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\MAX4434.asy)
CL OUT 0 15p
Vcc Vcc 0 2.5
RL OUT 0 10k
V1 IN 0 SINE(0 50m 100k)
Vee 0 Vee 2.5
XU1 IN OUT Vcc Vee OUT MAX4434 ;pnba In+)In-)V+)V-)OUT
.tran 10u
.lib MAX4434.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1720 800
WIRE 624 256 304 256
WIRE 144 288 144 272
WIRE 432 352 432 320
WIRE 304 368 304 256
WIRE 400 368 304 368
WIRE 624 384 624 256
WIRE 624 384 464 384
WIRE 720 384 624 384
WIRE 144 400 144 368
WIRE 144 400 112 400
WIRE 400 400 304 400
WIRE 112 416 112 400
WIRE 624 416 624 384
WIRE 720 432 720 384
WIRE 144 448 144 400
WIRE 432 448 432 416
WIRE 304 496 304 400
WIRE 624 528 624 496
WIRE 720 528 720 496
WIRE 144 544 144 528
WIRE 304 592 304 576
SYMBOL cap 704 432 R0
SYMATTR InstName CL
SYMATTR Value 15p
SYMBOL voltage 144 272 R0
WINDOW 123 0 0 Left 2
SYMATTR InstName Vcc
SYMATTR Value 2.5
SYMBOL voltage 144 432 R0
WINDOW 123 0 0 Left 2
SYMATTR InstName Vee
SYMATTR Value 2.5
SYMBOL MAX4434 432 320 R0
SYMATTR InstName U1
SYMBOL voltage 304 480 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value SINE(0 50m 100k)
SYMBOL res 608 400 R0
SYMATTR InstName RL
SYMATTR Value 10k
FLAG 720 384 OUT
FLAG 144 272 Vcc
FLAG 144 544 Vee
FLAG 432 320 Vcc
FLAG 432 448 Vee
FLAG 112 416 0
FLAG 304 592 0
FLAG 624 528 0
FLAG 304 400 IN
FLAG 720 528 0
TEXT 96 632 Left 2 !.tran 10u
* Z:\tmp\asc_dec_bjh7r6w2\0f49f459876d_LTMKI_dec1.asc
* Generated by LTspice 26.0.1 for Windows.
V1 N005 0 13.5
R6 N001 N006 1e-6
R3 N003 0 2k
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 32 0 32 -16
WIRE 272 0 32 0
WIRE 432 48 432 -128
WIRE 400 64 352 64
WIRE 560 80 560 0
WIRE 560 80 464 80
WIRE 736 80 560 80
WIRE 32 96 32 0
WIRE 400 96 32 96
WIRE 560 128 560 80
WIRE 432 144 432 112
WIRE -208 160 -208 -128
WIRE 32 160 32 96
WIRE 736 192 736 80
WIRE 352 224 352 64
WIRE 560 224 560 208
WIRE 560 224 352 224
WIRE 560 256 560 224
WIRE -208 288 -208 240
WIRE 32 304 32 240
WIRE 128 304 128 -128
WIRE 736 304 736 272
WIRE 560 368 560 336
SYMBOL voltage -208 144 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 13.5
SYMBOL res 16 144 R0
SYMATTR InstName R6
SYMATTR Value 1e-6
SYMBOL res 544 240 R0
SYMATTR InstName R3
SYMATTR Value 2k
FLAG -208 288 0
FLAG 432 144 0
FLAG 560 368 0
FLAG 736 304 0
* Z:\home\khalils\Downloads\files\data\raw_asc\AD811.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\AD811.asy)
Rload OUT 0 150
V2 -V 0 -15
XU1 IN N001 +V -V OUT AD811 ;pnba In+)In-)V+)V-)OUT
R2 OUT N001 649
Vin IN 0 PULSE(-1 1 20n 10n 10n 90n 200n)
V1 +V 0 15
R1 N001 0 649
.tran 1u
.lib AD811.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1240 700
WIRE 432 -1232 416 -1232
WIRE 528 -1232 512 -1232
WIRE 544 -1232 528 -1232
WIRE 640 -1232 624 -1232
WIRE 16 -1152 16 -1168
WIRE 128 -1152 128 -1168
WIRE 528 -1120 528 -1232
WIRE 544 -1120 528 -1120
WIRE 640 -1104 640 -1232
WIRE 640 -1104 608 -1104
WIRE 768 -1104 640 -1104
WIRE 544 -1088 304 -1088
WIRE 768 -1088 768 -1104
WIRE 304 -1072 304 -1088
WIRE 16 -1056 16 -1072
WIRE 128 -1056 128 -1072
WIRE 768 -992 768 -1008
WIRE 304 -976 304 -992
SYMBOL voltage 128 -1168 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName V2
SYMATTR Value -15
SYMBOL res 752 -1104 R0
SYMATTR InstName Rload
SYMATTR Value 150
SYMBOL res 640 -1248 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 649
SYMBOL voltage 304 -1088 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName Vin
SYMATTR Value PULSE(-1 1 20n 10n 10n 90n 200n)
SYMBOL voltage 16 -1168 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL Opamps\\AD811 576 -1168 R0
SYMATTR InstName U1
SYMBOL res 528 -1248 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 649
FLAG 304 -976 0
FLAG 768 -1104 OUT
FLAG 304 -1088 IN
FLAG 576 -1136 +V
FLAG 576 -1072 -V
FLAG 416 -1232 0
FLAG 768 -992 0
FLAG 16 -1168 +V
FLAG 16 -1056 0
FLAG 128 -1168 -V
FLAG 128 -1056 0
TEXT 784 -896 Left 2 !.tran 1u
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC6655-2.5.asc
* Generated by LTspice 26.0.1 for Windows.
* Turn on and off 5mA of sink current\nand then on and off 5mA of source current
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\References\LTC6655-2.5.asy)
S1 0 OUT N002 0 5mA
C1 OUT 0 3.3
XU1 IN IN 0 OUT OUT LTC6655-2.5 ;pnba _SHDN)IN)GND)OUT_S)OUT_F
S2 OUT IN N001 0 5mA
V3 N001 0 PULSE(0 1 100u 10n 10n 200u 10m)
V2 N002 0 PULSE(0 1 600u 10n 10n 200u 10m)
V1 IN 0 3
.tran 1m
.model 5mA SW(Ron=10 Roff=1G Vt=.5 Vh=-.2 Ilimit=5m level=2)
.lib LTC6655-2.5.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 4212 1120
WIRE 2256 256 1680 256
WIRE 2256 272 2256 256
WIRE 2560 288 2304 288
WIRE 2672 288 2640 288
WIRE 2320 336 2304 336
WIRE 1776 352 1728 352
WIRE 2096 352 2064 352
WIRE 1680 384 1680 256
WIRE 1680 384 1584 384
WIRE 1728 384 1728 352
WIRE 1728 384 1680 384
WIRE 2096 384 2096 352
WIRE 2144 384 2096 384
WIRE 2256 384 2256 352
WIRE 2256 384 2144 384
WIRE 2352 384 2256 384
WIRE 1584 400 1584 384
WIRE 2144 400 2144 384
WIRE 1728 416 1728 384
WIRE 1776 416 1728 416
WIRE 2096 416 2096 384
WIRE 2096 416 2064 416
WIRE 2256 416 2256 384
WIRE 2560 432 2304 432
WIRE 2672 432 2640 432
WIRE 1920 480 1920 448
WIRE 2144 480 2144 464
WIRE 2320 480 2304 480
WIRE 1584 496 1584 480
WIRE 2256 512 2256 496
SYMBOL sw 2256 512 R180
WINDOW 0 -7 103 Right 2
WINDOW 3 -10 16 Right 2
SYMATTR InstName S1
SYMATTR Value 5mA
SYMBOL cap 2128 400 R0
SYMATTR InstName C1
SYMATTR Value 3.3
SYMBOL voltage 1584 384 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 3
SYMBOL voltage 2544 288 M90
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 100u 10n 10n 200u 10m)
SYMATTR InstName V3
SYMBOL voltage 2544 432 M90
WINDOW 123 74 56 VTop 2
WINDOW 39 53 56 VTop 2
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName V2
SYMATTR Value PULSE(0 1 600u 10n 10n 200u 10m)
SYMBOL sw 2256 368 R180
WINDOW 0 -11 104 Right 2
WINDOW 3 -10 7 Right 2
SYMATTR InstName S2
SYMATTR Value 5mA
SYMBOL LTC6655-2.5 1920 384 R0
SYMATTR InstName U1
FLAG 1920 480 0
FLAG 2352 384 OUT
FLAG 1584 384 IN
FLAG 1584 496 0
FLAG 2144 480 0
FLAG 2256 512 0
FLAG 2320 480 0
FLAG 2672 432 0
FLAG 2320 336 0
FLAG 2672 288 0
TEXT 2112 600 Left 2 !.tran 1m\n.model 5mA SW(Ron=10 Roff=1G Vt=.5 Vh=-.2 Ilimit=5m level=2)
TEXT 1984 240 Bottom 2 ;Turn on and off 5mA of sink current\nand then on and off 5mA of source current
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC1154.asc
* Generated by LTspice 26.0.1 for Windows.
V1 N001 0 PULSE(0 5 0 1u 1u 5m 10m)
MQ1 N004 N007 N008 N008 Si9936DY
R1 N002 N004 .036
C1 N002 N003 .1
R2 N004 N003 100K
XU1 N001 0 N006 0 0 N007 N003 N002 LTC1154 ;pnba IN)_EN)STATUS)GND)SD)G)DS)Vs
V2 N002 0 PWL(0 5 1 16)
R3 N006 N005 51K
Rload N008 0 10
V3 N005 0 5
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 1 startup
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LTC1154.asy)
.lib LTC1154.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 972 680
WIRE 16 128 -512 128
WIRE 336 128 304 128
WIRE 544 128 336 128
WIRE 656 128 544 128
WIRE -512 144 -512 128
WIRE 336 144 336 128
WIRE 656 144 656 128
WIRE 16 224 -16 224
WIRE 336 224 336 208
WIRE 336 224 304 224
WIRE 400 224 336 224
WIRE 544 224 544 208
WIRE 544 224 480 224
WIRE -512 240 -512 224
WIRE 544 240 544 224
WIRE 656 240 656 224
WIRE -80 320 -144 320
WIRE 16 320 0 320
WIRE 496 320 304 320
WIRE -144 336 -144 320
WIRE 544 352 544 336
WIRE 16 416 -16 416
WIRE 336 416 304 416
WIRE -144 432 -144 416
WIRE 544 448 544 432
FLAG -16 416 0
FLAG -512 240 0
FLAG -16 224 0
FLAG 544 448 0
FLAG 336 416 0
FLAG 656 240 0
FLAG -144 432 0
SYMBOL voltage -512 128 R0
SYMATTR Value PULSE(0 5 0 1u 1u 5m 10m)
SYMATTR InstName V1
SYMBOL nmos 496 240 R0
WINDOW 0 55 5 Left 2
WINDOW 3 54 62 Left 2
SYMATTR InstName Q1
SYMATTR Value Si9936DY
SYMBOL res 528 112 R0
SYMATTR InstName R1
SYMATTR Value .036
SYMBOL cap 320 144 R0
SYMATTR InstName C1
SYMATTR Value .1
SYMBOL res 496 208 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 100K
SYMBOL PowerProducts\\LTC1154 160 272 R0
SYMATTR InstName U1
SYMBOL voltage 656 128 R0
WINDOW 123 32 56 VTop 2
WINDOW 39 32 56 VTop 2
SYMATTR InstName V2
SYMATTR Value PWL(0 5 1 16)
SYMBOL res 16 304 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 51K
SYMBOL res 528 336 R0
SYMATTR InstName Rload
SYMATTR Value 10
SYMBOL voltage -144 320 R0
SYMATTR InstName V3
SYMATTR Value 5
TEXT 344 504 Left 2 !.tran 1 startup
* Z:\tmp\asc_dec_bjh7r6w2\15a35902961b_MesnyOscillator1_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
XU2 N001 N003 0 12AU7 12AU7 ;pnba Plate)Grid)Cathode
R1 N002 0 10k
C2 N001 N002 47p
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 1012
WIRE 464 144 384 144
WIRE 384 176 384 144
WIRE 80 224 48 224
WIRE 336 224 320 224
WIRE 32 320 32 272
WIRE 352 320 352 272
WIRE -96 352 -96 144
WIRE 224 352 -96 352
WIRE 320 352 320 224
WIRE 320 352 288 352
WIRE 80 416 80 224
WIRE 96 416 80 416
WIRE 464 416 464 144
WIRE 464 416 160 416
WIRE 80 464 80 416
WIRE 320 464 320 352
WIRE 464 512 464 416
WIRE -96 528 -96 352
WIRE 80 576 80 544
WIRE 320 576 320 544
WIRE -96 800 -96 608
SYMBOL Misc\\triode 384 224 R0
SYMATTR InstName U2
SYMATTR Value 12AU7
SYMATTR SpiceModel 12AU7
SYMBOL res 64 448 R0
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL res -112 512 R0
SYMATTR InstName R4
SYMATTR Value 0
SYMBOL cap 160 400 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 47p
FLAG 32 320 0
FLAG 352 320 0
FLAG 80 576 0
FLAG 320 576 0
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC3103.asc
* Generated by LTspice 26.0.1 for Windows.
V1 IN 0 12
C1 N001 0 1
C2 N002 N003 22n
R1 N001 N005 100K
L1 N003 OUT1 10
R2 OUT1 N004 1.78Meg
R3 N004 0 665K
C3 OUT1 N004 12p
C4 OUT1 0 47 V=6.3 Irms=0 Rser=0.002 Lser=0 mfg="TDK" pn="C4532X5ROJ47@M" type="X5R"
Rload1 OUT1 0 7.3
XU1 IN N003 N002 0 N005 N001 IN N004 MP_01 IN LTC3103 ;pnba Vin)SW)BST)GND)Pgood)Vcc)Run)FB))Mode
.tran 2m startup
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LTC3103.asy)
.lib LTC3103.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1136 680
WIRE 96 -48 -128 -48
WIRE 256 -48 96 -48
WIRE -128 -32 -128 -48
WIRE 256 -32 256 -48
WIRE -32 16 -48 16
WIRE 112 16 32 16
WIRE 432 16 400 16
WIRE 432 32 432 16
WIRE -128 64 -128 48
WIRE 96 112 96 -48
WIRE 112 112 96 112
WIRE 432 112 432 96
WIRE 432 112 400 112
WIRE 496 112 432 112
WIRE 608 112 576 112
WIRE 688 112 608 112
WIRE 848 112 688 112
WIRE 944 112 848 112
WIRE 608 128 608 112
WIRE 848 128 848 112
WIRE 944 128 944 112
WIRE 32 208 32 16
WIRE 96 208 96 112
WIRE 112 208 96 208
WIRE 608 208 608 192
WIRE 608 208 400 208
WIRE 688 208 688 192
WIRE 688 208 608 208
WIRE 688 224 688 208
WIRE 848 224 848 192
WIRE 944 224 944 208
WIRE 32 304 32 288
WIRE 112 304 32 304
WIRE 416 304 400 304
WIRE 688 320 688 304
FLAG 416 304 0
FLAG -128 64 0
FLAG -48 16 0
FLAG 688 320 0
FLAG 848 224 0
FLAG 944 224 0
FLAG -128 -48 IN
FLAG 944 112 OUT1
SYMBOL voltage -128 -48 R0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL cap 32 0 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL cap 416 32 R0
SYMATTR InstName C2
SYMATTR Value 22n
SYMBOL res 16 192 R0
WINDOW 3 23 93 Left 2
SYMATTR Value 100K
SYMATTR InstName R1
SYMBOL ind 480 128 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 10
SYMBOL res 672 96 R0
SYMATTR InstName R2
SYMATTR Value 1.78Meg
SYMBOL res 672 208 R0
SYMATTR InstName R3
SYMATTR Value 665K
SYMBOL cap 592 128 R0
SYMATTR InstName C3
SYMATTR Value 12p
SYMBOL cap 832 128 R0
SYMATTR InstName C4
SYMATTR Value 47
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.002 Lser=0 mfg="TDK" pn="C4532X5ROJ47@M" type="X5R"
SYMBOL res 928 112 R0
SYMATTR InstName Rload1
SYMATTR Value 7.3
SYMBOL PowerProducts\\LTC3103 256 160 R0
SYMATTR InstName U1
TEXT 824 344 Left 2 !.tran 2m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\0a2292c5498b_Interview01.asc
* Generated by LTspice 26.0.1 for Windows.
* 5.92
* 4.5
* 6.8
* Q1. Explain the principle of this circuit.\nQ2. What's the reason for having Q1 and Q2 in that topology?\nQ3. Can we replace D3 with something else?\nQ4. What would have happened if the diodes were reversed?
* R1=1 65mV drop instead of 650mV
D2 0 N006 MMBZ6V8ALY
D3 0 N003 PTZ6_8B
D1 N006 N002 STZ5_6N
RL c N004 33
R3 N002 N003 750
R2 c N002 390
V1 N001 0 10
R4 N007 0 R=if(time>300m,100,500)
Q2 N004 N005 N007 0 BCW60A
R1 c N001 1
Q1 N002 N003 N005 0 2N2222
C1 c 0 4.7m
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran 500m
.ic V(c)=0
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1808 1000
WIRE -48 128 -96 128
WIRE 80 128 80 96
WIRE 80 128 32 128
WIRE 288 128 80 128
WIRE 784 128 288 128
WIRE 288 160 288 128
WIRE -96 192 -96 128
WIRE 288 272 288 240
WIRE 496 272 288 272
WIRE 656 272 496 272
WIRE 496 288 496 272
WIRE 784 288 784 128
WIRE 288 400 288 272
WIRE 656 400 656 272
WIRE 80 416 80 128
WIRE 496 448 496 368
WIRE 592 448 496 448
WIRE 784 464 784 368
WIRE 496 512 496 448
WIRE 656 512 656 496
WIRE 720 512 656 512
WIRE 288 544 288 464
WIRE 784 576 784 560
WIRE -96 656 -96 272
WIRE 80 656 80 480
WIRE 80 656 -96 656
WIRE 288 656 288 608
WIRE 288 656 80 656
WIRE 496 656 496 576
WIRE 496 656 288 656
WIRE 784 656 496 656
WIRE 80 688 80 656
SYMBOL voltage -96 176 R0
SYMATTR InstName V1
SYMATTR Value 10
SYMBOL res 768 560 R0
SYMATTR InstName R4
SYMATTR Value R=if(time>300m,100,500)
SYMBOL res 480 272 R0
SYMATTR InstName R3
SYMATTR Value 750
SYMBOL zener 512 576 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D3
SYMATTR Value PTZ6_8B
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 272 144 R0
SYMATTR InstName R2
SYMATTR Value 390
SYMBOL npn 720 464 R0
SYMATTR InstName Q2
SYMATTR Value BCW60A
SYMBOL cap 64 416 R0
SYMATTR InstName C1
SYMATTR Value 4.7m
SYMBOL zener 304 608 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D2
SYMATTR Value MMBZ6V8ALY
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL zener 304 464 R180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value STZ5_6N
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 768 272 R0
SYMATTR InstName RL
SYMATTR Value 33
SYMBOL npn 592 400 R0
SYMATTR InstName Q1
SYMATTR Value 2N2222
SYMBOL res 48 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1
FLAG 80 688 0
FLAG 80 96 c
TEXT 312 432 Left 2 ;5.92
TEXT 320 576 Left 2 ;4.5
TEXT -130 714 Left 2 !.tran 500m
TEXT 552 576 Left 2 ;6.8
TEXT -456 752 Left 5 ;Q1. Explain the principle of this circuit.\nQ2. What's the reason for having Q1 and Q2 in that topology?\nQ3. Can we replace D3 with something else?\nQ4. What would have happened if the diodes were reversed?
TEXT 32 48 Left 2 !.ic V(c)=0
TEXT 32 -8 Left 2 ;R1=1 65mV drop instead of 650mV
* Z:\home\khalils\Downloads\files\data\raw_asc\39ade6f37727_Cpia_de_Ex_02_AnaliseDC.asc
* Generated by LTspice 26.0.1 for Windows.
R1 V11 N001 1k
R3 V11 0 220
VX2 N002 0 0V
VX1 N001 0 15V
R2 V11 N002 470
.DC Vx1 0V 20V 0.1V Vx2 -1V 2V 1V
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 320 16 304 16
WIRE -64 64 -176 64
WIRE 160 64 16 64
WIRE 304 64 304 16
WIRE 304 64 160 64
WIRE 336 64 304 64
WIRE 160 96 160 64
WIRE -176 144 -176 64
WIRE 336 144 336 64
WIRE 160 208 160 176
WIRE -176 320 -176 224
WIRE 160 320 160 288
WIRE 336 320 336 224
SYMBOL voltage 160 192 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 0 -49 5 Left 0
WINDOW 3 -44 96 Left 0
SYMATTR InstName VX2
SYMATTR Value 0V
SYMBOL res 320 128 R0
SYMATTR InstName R3
SYMATTR Value 220
SYMBOL voltage -176 128 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 0 -52 7 Left 0
WINDOW 3 -60 100 Left 0
SYMATTR InstName VX1
SYMATTR Value 15V
SYMBOL res 32 48 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL res 144 80 R0
SYMATTR InstName R2
SYMATTR Value 470
FLAG -176 320 0
FLAG 160 320 0
FLAG 336 320 0
FLAG 320 16 V11
TEXT -192 392 Left 0 !.DC Vx1 0V 20V 0.1V   Vx2 -1V 2V 1V
* Z:\home\khalils\Downloads\files\data\raw_asc\ADG5412BF.asc
* Generated by LTspice 26.0.1 for Windows.
V1 +V 0 15
V2 -V 0 -15
V3 vSource 0 10
V4 vIN 0 pulse(0 5 0 20n 20n 10u 20u)
R1 vDrain 0 301
C1 vDrain 0 36p
C2 vFF 0 12p
XU2 vIN vDrain vSource -V 0 +V vFF ADG5412BF ;pnba IN)D)S)Vss)GND)Vdd)FF
.tran 0.1m
* Note:\nInterrupt Flag recovery time with pull-up resistor not included\nQinj not included\nOnly one channel included\nSwitch shown for a logic 0 input
* Library below included based on ModelFile attribute of instance XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\Switches\ADG5412BF.asy)
.lib ADG5412BF.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2844 1336
WIRE -112 -128 -112 -144
WIRE -624 -64 -624 -80
WIRE -400 -48 -432 -48
WIRE -272 -48 -320 -48
WIRE -208 -48 -272 -48
WIRE 48 -48 -16 -48
WIRE 128 -48 48 -48
WIRE 224 -48 128 -48
WIRE 128 -16 128 -48
WIRE 224 0 224 -48
WIRE -240 16 -272 16
WIRE -208 16 -240 16
WIRE 32 16 -16 16
WIRE -624 32 -624 16
WIRE -272 32 -272 16
WIRE 32 48 32 16
WIRE 128 80 128 64
WIRE 224 80 224 64
WIRE -272 112 -272 96
WIRE -624 128 -624 112
WIRE -160 144 -160 128
WIRE -64 144 -64 128
WIRE 32 144 32 128
WIRE -624 224 -624 208
FLAG -624 224 0
FLAG -624 32 0
FLAG -624 -80 +V
FLAG -624 112 -V
FLAG -432 -48 0
FLAG -160 144 -V
FLAG -112 -144 +V
FLAG -64 144 0
FLAG 32 144 0
FLAG 128 80 0
FLAG 224 80 0
FLAG -272 112 0
FLAG 48 -48 vDrain
FLAG -272 -48 vSource
FLAG -240 16 vFF
FLAG 32 16 vIN
SYMBOL voltage -624 -80 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL voltage -624 112 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value -15
SYMBOL voltage -304 -48 M270
WINDOW 0 32 56 VTop 2
WINDOW 3 -32 56 VBottom 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 10
SYMBOL voltage 32 32 R0
WINDOW 3 17 95 Left 2
SYMATTR Value pulse(0 5 0 20n 20n 10u 20u)
SYMATTR InstName V4
SYMBOL res 112 -32 R0
SYMATTR InstName R1
SYMATTR Value 301
SYMBOL cap 208 0 R0
SYMATTR InstName C1
SYMATTR Value 36p
SYMBOL cap -288 32 R0
SYMATTR InstName C2
SYMATTR Value 12p
SYMBOL ADG5412BF -112 0 R0
SYMATTR InstName U2
TEXT -368 192 Left 2 !.tran 0.1m
TEXT -648 -320 Left 2 ;Note:\nInterrupt Flag recovery time with pull-up resistor not included\nQinj not included\nOnly one channel included\nSwitch shown for a logic 0 input
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC4381-4.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\SpecialFunctions\LTC4381-4.asy)
C4 OUT 0 22
R2 IN N003 20k
R4 N005 N004 10
R5 N005 N006 33
R1 N002 IN 200k
C1 N007 0 0.22
Rload OUT 0 100
R3 OUT N001 10m
V1 IN 0 PWL(0 0 20u 12 0.1 12 +1m 80 0.2 80 +1m 12)
D1 0 N003 BZX84C12L
C2 N003 0 0.1
XU1 N002 N003 N005 N001 OUT 0 NC_01 0 N003 N007 IN N001 N004 LTC4381-4 ;pnba DRN)Vcc)GATE)SNS)OUT)SEL)_FLT)GND)ON)TMR)IN)SRC)GFET
C3 N006 0 47n
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 12 startup
.lib LTC4381-4.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 952 680
WIRE -416 -32 -432 -32
WIRE -256 -32 -416 -32
WIRE -160 -32 -256 -32
WIRE 64 -32 -160 -32
WIRE 576 -32 528 -32
WIRE 752 -32 656 -32
WIRE 832 -32 752 -32
WIRE 864 -32 832 -32
WIRE 864 -16 864 -32
WIRE -432 0 -432 -32
WIRE -256 0 -256 -32
WIRE 752 0 752 -32
WIRE -160 32 -160 -32
WIRE -112 32 -160 32
WIRE 64 32 -32 32
WIRE 576 32 576 -32
WIRE 576 32 528 32
WIRE 752 80 752 64
WIRE 864 80 864 64
WIRE 656 96 656 -32
WIRE 656 96 528 96
WIRE -432 112 -432 80
WIRE -256 112 -256 80
WIRE 64 112 -256 112
WIRE -256 176 -256 112
WIRE -144 176 -256 176
WIRE 64 176 -144 176
WIRE 576 176 528 176
WIRE 704 176 656 176
WIRE -256 224 -256 176
WIRE -144 240 -144 176
WIRE 64 240 32 240
WIRE 704 240 704 176
WIRE 704 240 528 240
WIRE 704 272 704 240
WIRE -256 368 -256 288
WIRE -144 368 -144 304
WIRE 704 368 704 352
WIRE 176 384 176 368
WIRE 176 464 176 448
WIRE 400 464 400 368
WIRE 704 480 704 432
SYMBOL res -16 16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 200k
SYMBOL res 672 160 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 10
SYMBOL cap 160 384 R0
SYMATTR InstName C1
SYMATTR Value 0.22
SYMBOL zener -160 304 M180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value BZX84C12L
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 688 256 R0
SYMATTR InstName R5
SYMATTR Value 33
SYMBOL res 848 -32 R0
SYMATTR InstName Rload
SYMATTR Value 100
SYMBOL cap 688 368 R0
SYMATTR InstName C3
SYMATTR Value 47n
SYMBOL res -272 -16 R0
SYMATTR InstName R2
SYMATTR Value 20k
SYMBOL res 672 -48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 10m
SYMBOL cap -272 224 R0
SYMATTR InstName C2
SYMATTR Value 0.1
SYMBOL voltage -432 -16 R0
WINDOW 3 -10 -99 Left 2
SYMATTR Value PWL(0 0 20u 12 0.1 12 +1m 80 0.2 80 +1m 12)
SYMATTR InstName V1
SYMBOL cap 736 0 R0
SYMATTR InstName C4
SYMATTR Value 22
SYMBOL LTC4381-4 288 176 R0
SYMATTR InstName U1
FLAG 176 464 0
FLAG 400 464 0
FLAG -432 112 0
FLAG -256 368 0
FLAG -144 368 0
FLAG 32 240 0
FLAG 704 480 0
FLAG 752 80 0
FLAG -416 -32 IN
FLAG 832 -32 OUT
FLAG 864 80 0
TEXT -352 472 Left 2 !.tran 12 startup
* Z:\home\khalils\Downloads\files\data\raw_asc\17e9c4595543_Draft14.asc
* Generated by LTspice 26.0.1 for Windows.
V1 N003 0 PULSE(0 60 0 0 0 0.01 0.02)
V2 N001 0 48
M1 N002 N004 0 0 IRF1310
R1 N001 N002 0.5
R2 N004 N003 22
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 1
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 320 -96 -64 -96
WIRE 320 -80 320 -96
WIRE 320 16 320 0
WIRE 144 96 32 96
WIRE 272 96 224 96
WIRE -64 144 -64 -96
WIRE 32 144 32 96
FLAG 32 224 0
FLAG -64 224 0
FLAG 320 112 0
SYMBOL voltage 32 128 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value PULSE(0 60 0 0 0 0.01 0.02)
SYMBOL voltage -64 128 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value 48
SYMBOL nmos 272 16 R0
SYMATTR InstName M1
SYMATTR Value IRF1310
SYMBOL res 304 -96 R0
SYMATTR InstName R1
SYMATTR Value 0.5
SYMBOL res 240 80 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 22
TEXT -98 248 Left 2 !.tran 1