Si7li/ltspice-spice-circuits huggingface dataset:
* 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
V1 N001 0 10
Q1 N002 N003 N005 0 2N2222
C1 c 0 4.7m
R2 c N002 390
R4 N007 0 R=if(time>300m,100,500)
D1 N006 N002 STZ5_6N
Q2 N004 N005 N007 0 BCW60A
RL c N004 33
D2 0 N006 MMBZ6V8ALY
D3 0 N003 PTZ6_8B
R1 c N001 1
R3 N002 N003 750
.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 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 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 res 480 272 R0
SYMATTR InstName R3
SYMATTR Value 750
SYMBOL res 48 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1
SYMBOL npn 592 400 R0
SYMATTR InstName Q1
SYMATTR Value 2N2222
SYMBOL res 768 560 R0
SYMATTR InstName R4
SYMATTR Value R=if(time>300m,100,500)
SYMBOL voltage -96 176 R0
SYMATTR InstName V1
SYMATTR Value 10
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 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
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\055052a075ed_PhotodiodeAmplifier.asc
* Generated by LTspice 26.0.1 for Windows.
* Library below included based on ModelFile attribute of instance XU1, XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\AD8542.asy)
R2 N002 N001 10
XU1 0 N001 Vdd 0 N002 AD8542 ;pnba In+)In-)V+)V-)OUT
R3 N003 0 1k
I1 N001 0 PWL(0 0 1m 6m)
XU2 N002 N003 Vdd 0 Vout AD8542 ;pnba In+)In-)V+)V-)OUT
V1 Vdd 0 3.3
R1 Vout N003 33k
.tran 0 1m 0 10n
.lib AD8542.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 96 48 80 48
WIRE 224 48 176 48
WIRE 320 48 288 48
WIRE 432 48 400 48
WIRE 288 160 288 48
WIRE 320 160 288 160
WIRE 80 176 80 48
WIRE 80 176 -16 176
WIRE 112 176 80 176
WIRE 432 176 432 48
WIRE 432 176 384 176
WIRE 496 176 432 176
WIRE 224 192 224 48
WIRE 224 192 176 192
WIRE 320 192 224 192
WIRE -16 208 -16 176
WIRE 112 208 80 208
WIRE 288 208 288 160
WIRE 80 240 80 208
SYMBOL res 272 192 R0
SYMATTR InstName R3
SYMATTR Value 1k
SYMBOL res 416 32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 33k
SYMBOL Opamps\\AD8542 352 112 R0
SYMATTR InstName U2
SYMBOL current -16 208 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I1
SYMATTR Value PWL(0 0 1m 6m)
SYMBOL voltage -352 192 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 3.3
SYMBOL Opamps\\AD8542 144 128 R0
SYMATTR InstName U1
SYMBOL res 192 32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10
FLAG 352 208 0
FLAG 144 224 0
FLAG 80 240 0
FLAG 288 288 0
FLAG -16 288 0
FLAG 496 176 Vout
FLAG -352 288 0
FLAG -352 208 Vdd
FLAG 144 160 Vdd
FLAG 352 144 Vdd
TEXT -384 312 Left 2 !.tran 0 1m 0 10n
* Z:\home\khalils\Downloads\files\data\raw_asc\ADP2118-ADJ.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\ADP2118-ADJ.asy)
Rload OUT 0 1.1
V1 IN 0 5
XU1 IN IN IN N003 0 0 N002 IN IN IN N001 ADP2118-x.x Rtop=10 Rbot=1T Ctop=4p ;pnba Sync/Mode)FREQ)TRK)FB)GND)PGND)SW)Pvin)Vin)EN)Pgood
R3 N003 0 3K
C1 OUT 0 147
R2 OUT N003 13.5K
R1 OUT N001 100K
L1 N002 OUT 1
.tran 2m startup
.lib ADP2118-x.x.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1220 680
WIRE 128 0 48 0
WIRE 288 0 128 0
WIRE 48 16 48 0
WIRE 288 32 288 0
WIRE 128 64 128 0
WIRE 160 64 128 64
WIRE 496 64 416 64
WIRE 656 64 576 64
WIRE 48 112 48 96
WIRE 128 144 128 64
WIRE 160 144 128 144
WIRE 448 144 416 144
WIRE 560 144 528 144
WIRE 656 144 656 64
WIRE 656 144 560 144
WIRE 800 144 656 144
WIRE 560 160 560 144
WIRE 800 160 800 144
WIRE 656 192 656 144
WIRE 128 224 128 144
WIRE 160 224 128 224
WIRE 560 224 416 224
WIRE 560 256 560 224
WIRE 800 256 800 240
WIRE 128 304 128 224
WIRE 160 304 128 304
WIRE 656 304 656 272
WIRE 656 304 416 304
WIRE 656 320 656 304
WIRE 128 384 128 304
WIRE 160 384 128 384
WIRE 656 416 656 400
WIRE 288 432 288 416
SYMBOL res 640 304 R0
SYMATTR InstName R3
SYMATTR Value 3K
SYMBOL cap 544 160 R0
WINDOW 0 21 15 Left 2
WINDOW 3 22 48 Left 2
SYMATTR InstName C1
SYMATTR Value 147
SYMBOL PowerProducts\\ADP2118-ADJ 288 272 R0
SYMATTR InstName U1
SYMBOL ind 432 160 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 1
SYMBOL res 592 48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 100K
SYMBOL voltage 48 0 R0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL res 640 176 R0
SYMATTR InstName R2
SYMATTR Value 13.5K
SYMBOL res 784 144 R0
SYMATTR InstName Rload
SYMATTR Value 1.1
FLAG 560 256 0
FLAG 288 432 0
FLAG 48 112 0
FLAG 800 144 OUT
FLAG 800 256 0
FLAG 48 0 IN
FLAG 656 416 0
TEXT 800 400 Left 2 !.tran 2m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\LT6402-12.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\LT6402-12.asy)
V2 N003 0 2.2
V1 N001 0 5
XU1 N001 N003 N001 0 _OUT NC_01 NC_02 OUT 0 N001 0 0 N002 N002 N004 N004 LT6402-12 ;pnba VccC)VOCM)VccA)VeeA)+OUT)+OUTFILT)-OUTFILT)-OUT)VeeB)VccB)_EN)VeeC)-INB)-INA)+INB)+INA
V3 N002 N004 SINE(0 .1 10Meg)
.tran 1u
.lib LTC5.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 1892
WIRE 160 272 -224 272
WIRE 240 272 160 272
WIRE 320 272 240 272
WIRE -224 288 -224 272
WIRE 160 304 160 272
WIRE 240 304 240 272
WIRE 320 304 320 272
WIRE 400 304 400 256
WIRE -224 384 -224 368
WIRE 64 384 -144 384
WIRE 96 384 64 384
WIRE 480 400 448 400
WIRE 64 416 64 384
WIRE 96 416 64 416
WIRE -144 432 -144 384
WIRE 480 480 448 480
WIRE 592 480 560 480
WIRE 96 544 64 544
WIRE 480 560 448 560
WIRE -144 576 -144 512
WIRE 64 576 64 544
WIRE 64 576 -144 576
WIRE 96 576 64 576
WIRE 192 688 192 656
WIRE 272 688 272 656
WIRE 352 688 352 656
SYMBOL voltage 464 480 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 -32 56 VBottom 2
SYMATTR InstName V2
SYMATTR Value 2.2
SYMBOL voltage -144 416 R0
SYMATTR InstName V3
SYMATTR Value SINE(0 .1 10Meg)
SYMBOL LT6402-12 272 480 R0
SYMATTR InstName U1
SYMBOL voltage -224 272 R0
SYMATTR InstName V1
SYMATTR Value 5
FLAG -224 384 0
FLAG 592 480 0
FLAG 480 400 _OUT
FLAG 480 560 OUT
FLAG 400 256 0
FLAG 272 688 0
FLAG 352 688 0
FLAG 192 688 0
TEXT 552 704 Left 2 !.tran 1u
* Z:\home\khalils\Downloads\files\data\raw_asc\4e8f8fc8dfb3_bjt-question-1.asc
* Generated by LTspice 26.0.1 for Windows.
* Beta = 99
V2 Vcc 0 10.7V
RE VE 0 2k
RB VB Vsig 10k
Q1 VC VB VE 0 MyBJT
RC Vcc VC 1k
V1 Vsig 0 5.7V
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.MODEL MyBJT AKO: 2N2222 (Bf=99)
.op
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1080 680
WIRE 528 -96 528 -128
WIRE 528 0 528 -16
WIRE 528 16 528 0
WIRE 320 64 224 64
WIRE 432 64 400 64
WIRE 464 64 432 64
WIRE -96 128 -96 96
WIRE 48 128 48 96
WIRE 528 128 528 112
WIRE 528 144 528 128
WIRE -96 240 -96 208
WIRE 48 240 48 208
WIRE 528 256 528 224
SYMBOL npn 464 16 R0
WINDOW 3 537 -114 Left 2
SYMATTR InstName Q1
SYMATTR Value MyBJT
SYMBOL voltage -96 112 R0
SYMATTR InstName V2
SYMATTR Value 10.7V
SYMBOL voltage 48 112 R0
SYMATTR InstName V1
SYMATTR Value 5.7V
SYMBOL res 416 48 R90
WINDOW 0 -6 53 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName RB
SYMATTR Value 10k
SYMBOL res 512 128 R0
SYMATTR InstName RE
SYMATTR Value 2k
SYMBOL res 512 -112 R0
SYMATTR InstName RC
SYMATTR Value 1k
FLAG 48 240 0
FLAG -96 240 0
FLAG 528 256 0
FLAG 432 64 VB
FLAG 528 0 VC
FLAG 528 128 VE
FLAG 528 -128 Vcc
FLAG -96 96 Vcc
FLAG 48 96 Vsig
FLAG 224 64 Vsig
TEXT 128 328 Left 2 !.MODEL MyBJT AKO: 2N2222 (Bf=99)
TEXT 126 348 Left 2 !.op
TEXT 568 56 Left 2 ;Beta = 99
* Z:\home\khalils\Downloads\files\data\raw_asc\LT3021-1.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\LT3021-1.5.asy)
XU1 MP_01 MP_02 OUT MP_03 MP_04 MP_05 OUT MP_06 N001 0 MP_07 N001 LT3021-1.5 ;pnba ))OUT))))SENSE))_SHDN)GND))IN
V1 N001 0 PWL(0 0 1 10)
Rload OUT 0 100
C1 OUT 0 3.3
.tran 1
.lib LT3021.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 0 160 -176 160
WIRE 16 160 0 160
WIRE 352 160 304 160
WIRE 464 160 352 160
WIRE 560 160 464 160
WIRE 464 176 464 160
WIRE 560 176 560 160
WIRE -176 192 -176 160
WIRE 0 256 0 160
WIRE 16 256 0 256
WIRE 352 256 352 160
WIRE 352 256 304 256
WIRE 464 272 464 240
WIRE 560 272 560 256
WIRE -176 288 -176 272
WIRE 160 336 160 320
SYMBOL cap 448 176 R0
SYMATTR InstName C1
SYMATTR Value 3.3
SYMBOL voltage -176 176 R0
SYMATTR InstName V1
SYMATTR Value PWL(0 0 1 10)
SYMBOL res 544 160 R0
SYMATTR InstName Rload
SYMATTR Value 100
SYMBOL PowerProducts\\LT3021-1.5 160 192 R0
SYMATTR InstName U1
FLAG 160 336 0
FLAG 464 272 0
FLAG 560 272 0
FLAG -176 288 0
FLAG 560 160 OUT
TEXT 480 352 Left 2 !.tran 1
* Z:\home\khalils\Downloads\files\data\raw_asc\1227ef9f1fb5_rc_low_pass.asc
* Generated by LTspice 26.0.1 for Windows.
C1 Vout 0 10n
R1 N001 Vout 10k
V1 N001 0 AC 1 0
.ac dec 10 1 1000000
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 272 16 144 16
WIRE 272 48 272 16
WIRE 272 176 272 128
WIRE 272 176 144 176
WIRE 272 224 272 176
FLAG 144 176 Vout
FLAG 272 288 0
FLAG 64 16 0
SYMBOL cap 256 224 R0
SYMATTR InstName C1
SYMATTR Value 10n
SYMBOL res 256 32 R0
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL voltage 160 16 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
WINDOW 123 63 61 VBottom 2
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value ""
SYMATTR Value2 AC 1 0
TEXT 8 312 Left 2 !.ac dec 10 1 1000000
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1389-4.096.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\References\LT1389-4.096.asy)
XU1 N002 0 LT1389-4.096 ;pnba VCC)VEE
R1 N001 N002 3.9Meg
V2 N001 0 PULSE(0 10 2m 10n 10n 10m 2)
.tran 20m
.lib LT1389-4.096.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 3476 836
WIRE 704 -272 528 -272
WIRE 960 -272 784 -272
WIRE 528 -240 528 -272
WIRE 960 -224 960 -272
WIRE 528 -112 528 -160
WIRE 960 -112 960 -160
SYMBOL res 688 -256 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R1
SYMATTR Value 3.9Meg
SYMBOL voltage 528 -256 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value PULSE(0 10 2m 10n 10n 10m 2)
SYMBOL LT1389-4.096 960 -192 R0
SYMATTR InstName U1
FLAG 960 -112 0
FLAG 528 -112 0
TEXT 1040 -80 Left 2 !.tran 20m
* Z:\home\khalils\Downloads\files\data\raw_asc\LT1107-5.asc
* Generated by LTspice 26.0.1 for Windows.
L1 IN N001 33 Rser=0.02 Rpar=5000
D1 N001 OUT MBRS140
C2 OUT 0 100 Rser=0.02
V1 IN 0 3
XU1 IN IN N001 0 0 N002 N003 OUT LT1107 top=220K bot=73.5K ;pnba Ilim)Vin)SW1)SW2)GND)AO)SET)Sense
Rload OUT 0 30
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.tran 5m startup
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LT1107-5.asy)
.lib LT1107.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2488 1440
WIRE 1472 912 1312 912
WIRE 1600 912 1472 912
WIRE 1632 912 1600 912
WIRE 1744 912 1712 912
WIRE 1792 912 1744 912
WIRE 1920 912 1856 912
WIRE 1984 912 1920 912
WIRE 1312 928 1312 912
WIRE 1984 928 1984 912
WIRE 1472 960 1472 912
WIRE 1600 960 1600 912
WIRE 1312 1024 1312 1008
WIRE 1392 1024 1376 1024
WIRE 1744 1024 1744 912
WIRE 1744 1024 1680 1024
WIRE 1984 1024 1984 1008
WIRE 1920 1104 1920 912
WIRE 1920 1104 1680 1104
WIRE 1920 1120 1920 1104
WIRE 1392 1184 1376 1184
WIRE 1712 1184 1680 1184
WIRE 1920 1200 1920 1184
WIRE 1536 1264 1536 1248
FLAG 1536 1264 0
FLAG 1712 1184 0
FLAG 1920 1200 0
FLAG 1312 1024 0
FLAG 1984 1024 0
FLAG 1984 912 OUT
FLAG 1312 912 IN
SYMBOL IND 1616 928 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 33
SYMATTR SpiceLine Rser=0.02 Rpar=5000
SYMBOL schottky 1792 928 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value MBRS140
SYMBOL POLCAP 1904 1120 R0
SYMATTR InstName C2
SYMATTR Value 100
SYMATTR SpiceLine Rser=0.02
SYMBOL VOLTAGE 1312 912 R0
SYMATTR InstName V1
SYMATTR Value 3
SYMBOL PowerProducts\\LT1107-5 1536 1104 R0
SYMATTR InstName U1
SYMBOL res 1968 912 R0
SYMATTR InstName Rload
SYMATTR Value 30
TEXT 1688 1272 Left 2 !.tran 5m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\ADP7142-5.0.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\ADP7142-5.0.asy)
XU1 IN OUT IN N001 OUT 0 ADP7118 Vref=5 ;pnba Vin)Sense)EN)SS)Vout)GND
V1 IN 0 6
Rload OUT 0 30
C2 N001 0 4.7n
C1 OUT 0 2.2 Rser=1.5m
.tran 6m startup
.lib ADP7102.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1048 680
WIRE 64 32 -32 32
WIRE 96 32 64 32
WIRE 384 32 352 32
WIRE 448 32 384 32
WIRE 544 32 448 32
WIRE -32 48 -32 32
WIRE 448 48 448 32
WIRE 544 48 544 32
WIRE 64 128 64 32
WIRE 96 128 64 128
WIRE -32 144 -32 128
WIRE 448 144 448 112
WIRE 544 144 544 128
WIRE 16 224 0 224
WIRE 96 224 80 224
WIRE 384 224 384 32
WIRE 384 224 352 224
WIRE 224 304 224 288
SYMBOL voltage -32 32 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 6
SYMBOL ADP7142-5.0 224 128 R0
SYMATTR InstName U1
SYMBOL cap 432 48 R0
SYMATTR InstName C1
SYMATTR Value 2.2
SYMATTR SpiceLine Rser=1.5m
SYMBOL res 528 32 R0
SYMATTR InstName Rload
SYMATTR Value 30
SYMBOL cap 80 208 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 4.7n
FLAG 224 304 0
FLAG -32 144 0
FLAG 0 224 0
FLAG 544 144 0
FLAG 448 144 0
FLAG -32 32 IN
FLAG 544 32 OUT
TEXT 408 264 Left 2 !.tran 6m startup
* Z:\tmp\asc_dec_bjh7r6w2\09ec275d0a5b_Draft62_dec2.asc
* Generated by LTspice 26.0.1 for Windows.
VIN1 N002 0 PULSE(0 5 0 100n 100n 0.02ms 0.04ms 70)
M4 y x N001 N001 PMOS
M2 CSW SW VCC VCC PMOS
M3 x y N001 N001 PMOS
.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 2756 1020
WIRE 1104 -256 1104 -288
WIRE 1104 -256 992 -256
WIRE 1232 -256 1104 -256
WIRE 992 -176 992 -256
WIRE 1232 -176 1232 -256
WIRE 1088 -160 1040 -160
WIRE 1184 -160 1152 -160
WIRE 992 0 992 -80
WIRE 1152 0 1152 -160
WIRE 1152 0 992 0
WIRE 1088 16 1088 -160
WIRE 1232 16 1232 -80
WIRE 1232 16 1088 16
WIRE 992 48 992 0
WIRE 1232 64 1232 16
WIRE 704 160 704 112
WIRE 656 176 640 176
WIRE 832 256 704 256
WIRE 1184 256 832 256
WIRE 640 304 640 176
WIRE 944 304 640 304
WIRE 992 304 992 48
WIRE 1232 304 1232 64
WIRE 704 320 704 256
WIRE 432 336 320 336
WIRE 544 336 512 336
WIRE 640 336 640 304
WIRE 640 336 544 336
WIRE 640 400 640 336
WIRE 656 400 640 400
WIRE 992 416 704 416
WIRE 704 512 704 416
SYMBOL voltage 320 320 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 -80 141 Left 2
SYMATTR Value PULSE(0 5 0 100n 100n 0.02ms 0.04ms 70)
SYMATTR InstName VIN1
SYMBOL pmos 1184 -80 M180
SYMATTR InstName M4
SYMBOL pmos 656 256 M180
SYMATTR InstName M2
SYMBOL pmos 1040 -80 R180
SYMATTR InstName M3
FLAG 544 336 SW
FLAG 320 416 0
FLAG 832 256 CSW
FLAG 704 112 VCC
FLAG 992 48 x
FLAG 1232 64 y
* Z:\tmp\asc_dec_bjh7r6w2\0f11bb0d1af1_Simple_ADC_Diagram_dec1.asc
* Generated by LTspice 26.0.1 for Windows.
A1 N001 0 0 0 0 N002 0 0 BUF
A6 N011 0 N013 N001 0 0 N012 0 AND
V2 N001 0 3V
R7 0 N010 1k
R3 N010 N005 1k
XU3 NC_06 NC_07 NC_08 NC_09 PC817 Igain=1.5m ;pnba A)K)C)E
* Library below included based on ModelFile attribute of instance XU3 (C:\users\khalils\AppData\Local\LTspice\lib\sym\Optos\PC817B.asy)
.lib PC817.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2520 788
WIRE 1344 80 1216 80
WIRE 1488 80 1344 80
WIRE 1520 80 1488 80
WIRE 1776 80 1584 80
WIRE 1216 112 1216 80
WIRE 1488 112 1488 80
WIRE 1728 112 1488 112
WIRE 1344 160 1344 80
WIRE 1488 160 1344 160
WIRE 1520 160 1488 160
WIRE 1664 160 1584 160
WIRE 1872 160 1664 160
WIRE 1344 192 1344 160
WIRE 1616 192 1344 192
WIRE 1872 192 1616 192
WIRE 1216 240 1216 192
WIRE 1664 304 1664 160
WIRE 1616 336 1616 192
WIRE 1872 336 1616 336
WIRE 1728 352 1728 112
WIRE 1872 352 1728 352
WIRE 704 368 704 304
WIRE 640 416 640 336
WIRE 640 416 576 416
WIRE 576 432 576 416
WIRE 1488 432 1488 160
WIRE 1872 432 1664 432
WIRE 2064 448 1936 448
WIRE 1872 464 1616 464
WIRE 1776 480 1776 208
WIRE 1872 480 1776 480
WIRE 640 496 640 416
WIRE 1152 496 640 496
WIRE 640 512 640 496
WIRE 576 544 576 512
WIRE 576 544 512 544
WIRE 1872 560 1664 560
WIRE 2064 576 1936 576
WIRE 1872 592 1616 592
WIRE 1728 608 1728 352
WIRE 1872 608 1728 608
WIRE 576 624 576 544
WIRE 1152 624 576 624
WIRE 512 656 512 544
WIRE 576 656 576 624
WIRE 512 768 512 736
WIRE 512 768 448 768
WIRE 576 768 576 736
WIRE 576 768 512 768
WIRE 640 768 640 592
WIRE 640 768 576 768
WIRE 704 768 704 448
WIRE 704 768 640 768
SYMBOL Digital\\inv 1520 16 R0
SYMATTR InstName A1
SYMBOL Digital\\and 1904 528 R0
SYMATTR InstName A6
SYMBOL voltage 1216 96 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 3V
SYMBOL res 592 752 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R7
SYMATTR Value 1k
SYMBOL res 592 528 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R3
SYMATTR Value 1k
SYMBOL Optos\\PC817B 2416 416 R0
SYMATTR InstName U3
FLAG 448 768 0
FLAG 1216 240 0
* Z:\home\khalils\Downloads\files\data\raw_asc\df8aee84e4ad_Lab1.asc
* Generated by LTspice 26.0.1 for Windows.
D3 N002 P001 1N914
R4 N004 indep 1000
R8 N001 N002 9k
D2 tempdep 0 1N4148 temp={t1}
D1 indep 0 1N4148
R3 N003 tempdep 1000
R9 N002 0 1k
R6 N003 N001 500k
XU2 N004 N003 Vsup 0 N001 LM324 ;pnba In+)In-)V+)V-)OUT
V1 Vsup 0 15
R2 indep Vsup 10k
R5 0 N004 500k
R7 P001 0 3k
R1 tempdep Vsup R=(0.25*V(Vsup)+10.25)*1000
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.lib LM324.ti.lib
.temp 22
.step param t1 18 28
.op
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 128 -128 -32 -128
WIRE -400 -96 -480 -96
WIRE 384 -80 240 -80
WIRE -400 -48 -400 -96
WIRE -704 0 -752 0
WIRE -112 32 -112 -128
WIRE -112 32 -176 32
WIRE -80 32 -112 32
WIRE 128 48 128 -128
WIRE 128 48 -16 48
WIRE -80 64 -128 64
WIRE 384 96 384 64
WIRE -128 112 -128 64
WIRE -128 112 -208 112
WIRE 128 112 128 48
WIRE -416 128 -480 128
WIRE -400 128 -416 128
WIRE -128 144 -128 112
WIRE -400 176 -400 128
WIRE 128 240 128 192
WIRE 240 240 240 -80
WIRE 240 240 128 240
WIRE 128 272 128 240
SYMBOL res -128 -112 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R6
SYMATTR Value 500k
SYMBOL res 112 256 R0
SYMATTR InstName R9
SYMATTR Value 1k
SYMBOL res 112 96 R0
SYMATTR InstName R8
SYMATTR Value 9k
SYMBOL diode -416 176 R0
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL res -464 -112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value R=(0.25*V(Vsup)+10.25)*1000
SYMBOL res -192 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 1000
SYMBOL res -112 240 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R5
SYMATTR Value 500k
SYMBOL diode 368 -80 R0
SYMATTR InstName D3
SYMATTR Value 1N914
SYMATTR Description Light Emitting Diode
SYMATTR Type led
SYMBOL diode -416 -48 R0
SYMATTR InstName D2
SYMATTR Value 1N4148
SYMATTR Value2 temp={t1}
SYMBOL res -464 112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL OpAmps\\opamp2 -48 -16 R0
SYMATTR InstName U2
SYMATTR Value LM324
SYMBOL res -160 16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 1000
SYMBOL voltage -736 0 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL res 368 -32 R0
SYMATTR InstName R7
SYMATTR Value 3k
FLAG -832 0 0
FLAG -48 80 0
FLAG -48 16 Vsup
FLAG -400 16 0
FLAG -400 240 0
FLAG -400 -96 tempdep
FLAG -560 -96 Vsup
FLAG -416 128 indep
FLAG -128 224 0
FLAG -256 32 tempdep
FLAG -288 112 indep
FLAG -704 0 Vsup
FLAG -560 128 Vsup
FLAG 384 96 0
FLAG 128 352 0
TEXT 328 144 Left 2 !.lib LM324.ti.lib
TEXT 328 176 Left 2 !.temp 22
TEXT 336 216 Left 2 !.step param t1 18 28
TEXT -856 264 Left 2 !.op
* Z:\home\khalils\Downloads\files\data\raw_asc\0a3c4258feab_FiltroAntiAlias.asc
* Generated by LTspice 26.0.1 for Windows.
C2 Vo 0 10n
V1 N002 0 AC 1 0
C1 N003 0 10n
R1 N003 N002 3k3
XU1 N001 N003 N001 opamp Aol=100K GBW=10Meg ;pnba invin)noninvin)out
R2 Vo N001 3k3
.ac dec 100 1 100000
.inc opamp.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 256 0 128 0
WIRE 128 48 128 0
WIRE 160 48 128 48
WIRE 256 64 256 0
WIRE 256 64 224 64
WIRE 16 80 -32 80
WIRE 128 80 96 80
WIRE 160 80 128 80
WIRE 256 80 256 64
WIRE 272 80 256 80
WIRE 384 80 352 80
WIRE 416 80 384 80
WIRE -32 112 -32 80
WIRE 128 112 128 80
WIRE 384 112 384 80
WIRE -32 224 -32 192
WIRE 128 224 128 176
WIRE 384 224 384 176
SYMBOL Opamps\\opamp 192 0 R0
SYMATTR InstName U1
SYMBOL res 112 64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 3k3
SYMBOL voltage -32 96 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value ""
SYMATTR Value2 AC 1 0
SYMBOL res 368 64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 3k3
SYMBOL cap 368 112 R0
SYMATTR InstName C2
SYMATTR Value 10n
SYMBOL cap 112 112 R0
SYMATTR InstName C1
SYMATTR Value 10n
FLAG 128 224 0
FLAG 384 224 0
FLAG 416 80 Vo
FLAG -32 224 0
TEXT -66 248 Left 2 !.ac dec 100 1 100000
TEXT -24 -48 Left 2 !.inc opamp.sub