Si7li/ltspice-spice-circuits huggingface dataset:
* Z:\home\khalils\Downloads\files\data\raw_asc\ADP7156-3.0.asc
* Generated by LTspice 26.0.1 for Windows.
V1 IN 0 3.8
C1 OUT 0 10
C2 N003 0 1
C3 N004 0 1
C4 N002 0 1 Rser=10m Lser=1n
R1 IN N001 100K
Rload OUT 0 3
XU1 OUT MP_01 OUT N002 N001 N003 N003 N004 IN 0 ADP7156_7 Vreg=3.611 Vref=3.016 ;pnba Vout))Vout_Sense)Byp)EN)Ref_Sense)Ref)Vreg)Vin)GND
.tran 5m startup
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\ADP7156-3.0.asy)
.lib ADP7156_7.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE -32 32 -160 32
WIRE 80 32 -32 32
WIRE 416 32 400 32
WIRE 464 32 416 32
WIRE 560 32 464 32
WIRE -160 48 -160 32
WIRE 464 48 464 32
WIRE 560 48 560 32
WIRE -32 128 -32 32
WIRE -16 128 -32 128
WIRE 80 128 64 128
WIRE 416 128 416 32
WIRE 416 128 400 128
WIRE -160 144 -160 128
WIRE 464 144 464 112
WIRE 560 144 560 128
WIRE 0 224 -16 224
WIRE 80 224 64 224
WIRE 416 224 400 224
WIRE 464 224 416 224
WIRE 464 240 464 224
WIRE 0 320 -16 320
WIRE 80 320 64 320
WIRE 416 320 416 224
WIRE 416 320 400 320
WIRE 464 320 464 304
WIRE 240 400 240 384
FLAG 240 400 0
FLAG 464 320 0
FLAG 464 144 0
FLAG -16 320 0
FLAG -16 224 0
FLAG -160 144 0
FLAG 560 144 0
FLAG -160 32 IN
FLAG 560 32 OUT
SYMBOL voltage -160 32 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 3.8
SYMBOL cap 448 48 R0
SYMATTR InstName C1
SYMATTR Value 10
SYMBOL cap 448 240 R0
SYMATTR InstName C2
SYMATTR Value 1
SYMBOL cap 64 304 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value 1
SYMBOL cap 64 208 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C4
SYMATTR Value 1
SYMATTR Value2 Rser=10m
SYMATTR SpiceLine Lser=1n
SYMBOL res -32 144 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R1
SYMATTR Value 100K
SYMBOL res 544 32 R0
SYMATTR InstName Rload
SYMATTR Value 3
SYMBOL ADP7156-3.0 240 176 R0
SYMATTR InstName U1
TEXT 504 368 Left 2 !.tran 5m startup
* Z:\home\khalils\Downloads\files\data\raw_asc\LT3081.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\LT3081.asy)
R4 OUT N003 6.04K
Rload OUT 0 1
R3 N004 0 30.1K
R1 N001 0 1K
C1 OUT 0 10 V=6.3 Irms=0 Rser=0.001 Lser=0 mfg="TDK" pn="C3216X5ROJ106M" type="X5R"
XU1 N003 N004 N002 OUT N001 IN LT3081 ;pnba Ilim)SET)Imon)OUT)Temp)IN
V1 IN 0 5
R2 N002 0 1K
.tran .1 startup
.lib LT3081.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 224 64 -96 64
WIRE -96 80 -96 64
WIRE 224 96 224 64
WIRE 0 160 -16 160
WIRE 96 160 80 160
WIRE 400 160 352 160
WIRE 528 160 400 160
WIRE 544 160 528 160
WIRE 608 160 544 160
WIRE -96 176 -96 160
WIRE 400 176 400 160
WIRE 608 176 608 160
WIRE 528 192 528 160
WIRE 0 256 -16 256
WIRE 96 256 80 256
WIRE 400 256 352 256
WIRE 528 272 528 256
WIRE 608 272 608 256
WIRE 224 336 224 320
WIRE 224 432 224 416
SYMBOL res 592 160 R0
SYMATTR InstName Rload
SYMATTR Value 1
SYMBOL PowerProducts\\LT3081 224 208 R0
SYMATTR InstName U1
SYMBOL res 384 160 R0
SYMATTR InstName R4
SYMATTR Value 6.04K
SYMBOL res 96 240 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1K
SYMBOL res 208 320 R0
SYMATTR InstName R3
SYMATTR Value 30.1K
SYMBOL cap 512 192 R0
SYMATTR InstName C1
SYMATTR Value 10
SYMATTR SpiceLine V=6.3 Irms=0 Rser=0.001 Lser=0 mfg="TDK" pn="C3216X5ROJ106M" type="X5R"
SYMBOL res 96 144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1K
SYMBOL voltage -96 64 R0
SYMATTR InstName V1
SYMATTR Value 5
FLAG -16 160 0
FLAG -16 256 0
FLAG 224 432 0
FLAG -96 176 0
FLAG -96 64 IN
FLAG 544 160 OUT
FLAG 528 272 0
FLAG 608 272 0
TEXT 432 352 Left 2 !.tran .1 startup
* Z:\home\khalils\Downloads\files\data\raw_asc\dd21097d0afd_AnalogFrontend.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\UniversalOpAmp.asy)
V3 V+ 0 4.5
R1 N001 N003 30k
R4 OUT N002 100k
V2 N005 0 0.825
XU1 0 N001 V+ V- N004 level1 Avol=1Meg GBW=10Meg Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
V4 V- 0 -4.5
R3 N002 N004 100k
XU2 N005 N002 V+ V- OUT level1 Avol=1Meg GBW=10Meg Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
V1 N003 0 SINE(0 4.5 10k)
R2 N004 N001 11k
.tran 1m
.lib UniversalOpAmp1.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1356 680
WIRE 464 -96 352 -96
WIRE 880 -32 736 -32
WIRE 256 32 192 32
WIRE 352 32 352 -96
WIRE 352 32 336 32
WIRE 448 32 352 32
WIRE 192 48 192 32
WIRE 544 48 544 -96
WIRE 544 48 512 48
WIRE 624 48 544 48
WIRE 736 48 736 -32
WIRE 736 48 704 48
WIRE 800 48 736 48
WIRE 448 64 416 64
WIRE 960 64 960 -32
WIRE 960 64 864 64
WIRE 1056 64 960 64
WIRE 800 80 736 80
WIRE 416 96 416 64
WIRE 736 96 736 80
IOPIN 480 80 In
IOPIN 832 96 In
IOPIN 736 -272 Out
IOPIN 480 16 In
IOPIN 832 32 In
IOPIN 864 -272 Out
IOPIN 1056 64 Out
SYMBOL voltage 736 80 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 0.825
SYMBOL OpAmps\\UniversalOpAmp 832 64 R0
SYMATTR InstName U2
SYMBOL voltage 192 32 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value SINE(0 4.5 10k)
SYMBOL res 352 16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 30k
SYMBOL voltage 864 -288 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value -4.5
SYMBOL OpAmps\\UniversalOpAmp 480 48 R0
SYMATTR InstName U1
SYMBOL res 976 -48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 100k
SYMBOL voltage 736 -288 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 4.5
SYMBOL res 560 -112 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 11k
SYMBOL res 720 32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 100k
FLAG 736 176 0
FLAG 192 128 0
FLAG 480 80 V-
FLAG 832 96 V-
FLAG 736 -272 V+
FLAG 480 16 V+
FLAG 832 32 V+
FLAG 416 96 0
FLAG 736 -192 0
FLAG 864 -272 V-
FLAG 864 -192 0
FLAG 1056 64 OUT
TEXT 136 192 Left 2 !.tran 1m
* Z:\home\khalils\Downloads\files\data\raw_asc\0123c126a2b9_Parte3.asc
* Generated by LTspice 26.0.1 for Windows.
RD VDD Vout 96813.97
MN_1u Vout in 0 0 N_1u l=7.0u w=7.0598e+1u
VGS N001 0 1.10
VDS VDD 0 5V
Vgs1 in N001 AC 1
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.include cmosedu_models.txt
.ac dec 10 1 1000000
.measure AC GAIN FIND V(vout) AT = 1
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 608 -224 608 -256
WIRE 336 -208 336 -256
WIRE 608 -96 608 -144
WIRE 336 -80 336 -128
WIRE 448 -80 336 -80
WIRE 336 -48 336 -80
WIRE 384 0 336 0
WIRE 64 32 -16 32
WIRE 288 32 64 32
WIRE 64 48 64 32
WIRE 384 48 384 0
WIRE 384 48 336 48
WIRE 336 144 336 48
WIRE 64 176 64 128
WIRE 64 304 64 256
SYMBOL nmos4 288 -48 R0
SYMATTR InstName N_1u
SYMATTR Value N_1u
SYMATTR Value2 l=7.0u w=7.0598e+1u
SYMBOL voltage 64 32 R0
WINDOW 3 24 44 Left 2
WINDOW 123 24 72 Left 2
WINDOW 39 0 0 Left 2
SYMATTR Value ""
SYMATTR Value2 AC 1
SYMATTR InstName Vgs1
SYMBOL voltage 64 160 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName VGS
SYMATTR Value 1.10
SYMBOL voltage 608 -240 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName VDS
SYMATTR Value 5V
SYMBOL res 320 -224 R0
SYMATTR InstName RD
SYMATTR Value 96813.97
FLAG 336 144 0
FLAG 64 304 0
FLAG 448 -80 Vout
FLAG -16 32 in
FLAG 336 -256 VDD
FLAG 608 -96 0
FLAG 608 -256 VDD
TEXT -240 -104 Left 2 !.include cmosedu_models.txt
TEXT -240 -64 Left 2 !.ac dec 10 1 1000000
TEXT -232 -144 Left 2 !.measure AC GAIN FIND V(vout) AT = 1
* Z:\home\khalils\Downloads\files\data\raw_asc\03ae56b6cd80_COMB03op.asc
* Generated by LTspice 26.0.1 for Windows.
RC cc N001 {RC}
R2 b2 b1 {R2}
Q2 N001 b2 N002 0 TBJ2
R1 cc b2 {R1}
R3 b1 0 {R3}
Q1 N002 b1 N003 0 TBJ1
Vcc cc 0 {Vcc}
RE N003 0 {RE}
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.op
.param Vcc=30 R1=33k R2=18k R3=15k RC=680 RE=330
.model TBJ1 NPN(IS=10F BF=350)
.model TBJ2 NPN(IS=10F BF=350)
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1608 1076
WIRE 880 -144 736 -144
WIRE 1024 -144 880 -144
WIRE 1184 -144 1024 -144
WIRE 736 -64 736 -144
WIRE 880 -64 880 -144
WIRE 1184 -64 1184 -144
WIRE 736 64 736 16
WIRE 1184 64 1184 16
WIRE 880 112 880 16
WIRE 976 112 880 112
WIRE 1120 112 976 112
WIRE 880 128 880 112
WIRE 1184 208 1184 160
WIRE 880 256 880 208
WIRE 976 256 880 256
WIRE 1120 256 976 256
WIRE 880 336 880 256
WIRE 1184 368 1184 304
WIRE 880 480 880 416
WIRE 1184 480 1184 448
WIRE 1184 480 880 480
WIRE 1184 496 1184 480
SYMBOL voltage 736 -80 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 0 -101 48 Left 2
WINDOW 3 -114 79 Left 2
SYMATTR InstName Vcc
SYMATTR Value {Vcc}
SYMBOL res 1168 352 R0
SYMATTR InstName RE
SYMATTR Value {RE}
SYMBOL res 864 -80 R0
SYMATTR InstName R1
SYMATTR Value {R1}
SYMBOL res 864 320 R0
SYMATTR InstName R3
SYMATTR Value {R3}
SYMBOL npn 1120 208 R0
SYMATTR InstName Q1
SYMATTR Value TBJ1
SYMBOL res 1168 -80 R0
SYMATTR InstName RC
SYMATTR Value {RC}
SYMBOL npn 1120 64 R0
SYMATTR InstName Q2
SYMATTR Value TBJ2
SYMBOL res 864 112 R0
SYMATTR InstName R2
SYMATTR Value {R2}
FLAG 1184 496 0
FLAG 736 64 0
FLAG 1024 -144 cc
FLAG 976 256 b1
FLAG 976 112 b2
TEXT 640 48 Left 2 !.op
TEXT 592 632 Left 2 !.param Vcc=30 R1=33k R2=18k R3=15k RC=680 RE=330
TEXT 584 680 Left 2 !.model TBJ1 NPN(IS=10F BF=350)
TEXT 584 712 Left 2 !.model TBJ2 NPN(IS=10F BF=350)
* Z:\home\khalils\Downloads\files\data\raw_asc\273e9a656fd3_OP413.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\OP413.asy)
R1 N001 0 10K
V1 +V 0 15
V2 -V 0 -15
R2 OUT N001 10K
XU1 IN N001 +V -V OUT OP413 ;pnba In+)In-)V+)V-)OUT
Vin IN 0 SINE(0 1 10K)
Rload OUT 0 10K
.tran 1m
.lib ADI.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 96 -1152 96 -1168
WIRE 208 -1152 208 -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 368 -1088
WIRE 768 -1088 768 -1104
WIRE 368 -1072 368 -1088
WIRE 96 -1056 96 -1072
WIRE 208 -1056 208 -1072
WIRE 768 -992 768 -1008
WIRE 368 -976 368 -992
SYMBOL Opamps\\OP413 576 -1168 R0
SYMATTR InstName U1
SYMBOL voltage 96 -1168 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL voltage 368 -1088 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName Vin
SYMATTR Value SINE(0 1 10K)
SYMBOL voltage 208 -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 10K
SYMBOL res 528 -1248 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10K
SYMBOL res 640 -1248 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10K
FLAG 96 -1168 +V
FLAG 96 -1056 0
FLAG 368 -976 0
FLAG 768 -1104 OUT
FLAG 368 -1088 IN
FLAG 576 -1136 +V
FLAG 208 -1168 -V
FLAG 576 -1072 -V
FLAG 416 -1232 0
FLAG 768 -992 0
FLAG 208 -1056 0
TEXT 720 -936 Left 2 !.tran 1m
* Z:\home\khalils\Downloads\files\data\raw_asc\0fb67c0b17e4_Fig_20_15.asc
* Generated by LTspice 26.0.1 for Windows.
* start-up ckt
MSU1 N001 Vbiasn 0 0 N_1u l=2u w=10u
M4 VDD Vbiasp Vbiasp VDD P_1u l=2u w=30u
M3 VDD Vbiasp Vbiasn VDD P_1u l=2u w=30u
M2 Vbiasp Vbiasn N002 0 N_1u l=2u w=40u
MSU2 VDD N001 N001 VDD P_1u l=100u w=10u
MSU3 VDD N001 Vbiasn 0 N_1u l=1u w=10u
R1 N002 0 6.5k TC1=0.002
M1 Vbiasn Vbiasn 0 0 N_1u l=2u w=10u
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.lib cmosedu_models.txt
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1548 680
WIRE 544 16 544 0
WIRE 544 80 544 16
WIRE 544 176 544 160
WIRE 608 -16 592 -16
WIRE 608 16 544 16
WIRE 608 16 608 -16
WIRE 640 16 608 16
WIRE 688 -64 688 -96
WIRE 688 160 592 160
WIRE 688 160 688 32
WIRE 848 160 688 160
WIRE 848 160 848 32
WIRE 1008 32 848 32
WIRE 1008 32 1008 0
WIRE 1008 48 1008 32
WIRE 1008 64 1008 48
WIRE 1008 192 1008 160
WIRE 1072 48 1008 48
WIRE 1072 144 1056 144
WIRE 1072 144 1072 48
WIRE 1104 -16 1056 -16
WIRE 1104 16 1104 -16
WIRE 1120 -16 1104 -16
WIRE 1120 144 1072 144
WIRE 1168 16 1104 16
WIRE 1168 16 1168 0
WIRE 1168 64 1168 16
WIRE 1168 176 1168 160
WIRE 1168 288 1168 256
WIRE 1408 16 1168 16
WIRE 1408 48 1072 48
IOPIN 544 -96 In
IOPIN 1408 16 Out
IOPIN 1408 48 Out
IOPIN 1168 288 In
SYMBOL nmos4 640 -64 R0
WINDOW 123 56 100 Left 0
SYMATTR Value2 l=1u w=10u
SYMATTR InstName MSU3
SYMATTR Value N_1u
SYMBOL pmos4 1120 -96 R0
WINDOW 0 63 16 Left 0
WINDOW 123 56 100 Left 0
SYMATTR InstName M4
SYMATTR Value2 l=2u w=30u
SYMATTR Value P_1u
SYMBOL pmos4 592 -96 M0
WINDOW 0 63 16 Left 0
WINDOW 123 56 100 Left 0
SYMATTR InstName MSU2
SYMATTR Value2 l=100u w=10u
SYMATTR Value P_1u
SYMBOL nmos4 1120 64 R0
WINDOW 123 56 100 Left 0
SYMATTR Value2 l=2u w=40u
SYMATTR InstName M2
SYMATTR Value N_1u
SYMBOL res 1152 160 R0
SYMATTR InstName R1
SYMATTR Value 6.5k TC1=0.002
SYMBOL nmos4 1056 64 M0
WINDOW 123 56 100 Left 0
SYMATTR Value2 l=2u w=10u
SYMATTR InstName M1
SYMATTR Value N_1u
SYMBOL nmos4 592 80 M0
WINDOW 123 56 100 Left 0
SYMATTR Value2 l=2u w=10u
SYMATTR InstName MSU1
SYMATTR Value N_1u
SYMBOL pmos4 1056 -96 M0
WINDOW 0 63 16 Left 0
WINDOW 123 56 100 Left 0
SYMATTR InstName M3
SYMATTR Value2 l=2u w=30u
SYMATTR Value P_1u
FLAG 544 -48 VDD
FLAG 544 128 0
FLAG 688 -16 0
FLAG 688 -96 VDD
FLAG 1008 -48 VDD
FLAG 1008 -96 VDD
FLAG 1168 -48 VDD
FLAG 1168 -96 VDD
FLAG 1008 192 0
FLAG 1008 112 0
FLAG 1168 112 0
FLAG 544 -96 VDD
FLAG 544 176 0
FLAG 1408 16 Vbiasp
FLAG 1408 48 Vbiasn
FLAG 1168 288 GND
TEXT 552 48 Left 0 ;start-up ckt
TEXT 616 216 Left 0 !.lib cmosedu_models.txt
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC2942.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\LTC2942.asy)
R1 IN N003 10K
V2 N002 0 PULSE(3.75 3.65 1s 10m 10m 1 2)
XU1 IN 0 N004 N005 N003 N002 N001 LTC2942 B_Reg=60 CD_Reg=32767 EF_Reg=32768 EF_Reg=65535 GH_Reg=0 GH_Reg=0 K_Reg=255 L_Reg=156 ;pnba Sense+)GND)StatusReg)ACRreg)_AL/CC)Sense-)VoltReg
Rsense IN N002 100m
Vbatt IN 0 3.7
.tran 5
.lib LTC2942.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1432 680
WIRE 80 -96 -128 -96
WIRE 464 -96 80 -96
WIRE 880 -96 464 -96
WIRE -128 -80 -128 -96
WIRE 464 -80 464 -96
WIRE 256 -32 256 -48
WIRE -128 16 -128 0
WIRE 80 16 80 -96
WIRE 96 16 80 16
WIRE 464 16 464 0
WIRE 464 16 416 16
WIRE 608 16 464 16
WIRE 720 16 688 16
WIRE 96 112 80 112
WIRE 512 112 416 112
WIRE 880 112 880 -96
WIRE 880 112 592 112
WIRE 96 208 80 208
WIRE 432 208 416 208
SYMBOL voltage -128 -96 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName Vbatt
SYMATTR Value 3.7
SYMBOL res 448 -96 R0
SYMATTR InstName Rsense
SYMATTR Value 100m
SYMBOL LTC2942 256 112 R0
SYMATTR InstName U1
SYMATTR Value B_Reg=60 CD_Reg=32767 EF_Reg=32768
SYMATTR SpiceLine2 GH_Reg=0 K_Reg=255 L_Reg=156
SYMBOL voltage 592 16 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 -32 56 VBottom 2
SYMATTR InstName V2
SYMATTR Value PULSE(3.75 3.65 1s 10m 10m 1 2)
SYMBOL res 608 96 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10K
FLAG -128 16 0
FLAG 80 112 0
FLAG 720 16 0
FLAG -128 -96 IN
TEXT 640 224 Left 2 !.tran 5
* Z:\home\khalils\Downloads\files\data\raw_asc\AD8606.asc
* Generated by LTspice 26.0.1 for Windows.
Vin IN 0 SINE(0 1 100K)
V1 +V 0 2.5
R1 N001 0 10K
R2 OUT N001 10K
V2 -V 0 -2.5
Rload OUT 0 10K
XU1 IN N001 +V -V OUT AD8606 ;pnba In+)In-)V+)V-)OUT
.tran 100u
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\AD8606.asy)
.lib AD8606.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 1240 700
WIRE 464 -1184 448 -1184
WIRE 560 -1184 544 -1184
WIRE 576 -1184 560 -1184
WIRE 672 -1184 656 -1184
WIRE 224 -1072 224 -1088
WIRE 336 -1072 336 -1088
WIRE 560 -1072 560 -1184
WIRE 576 -1072 560 -1072
WIRE 672 -1056 672 -1184
WIRE 672 -1056 640 -1056
WIRE 800 -1056 672 -1056
WIRE 576 -1040 464 -1040
WIRE 800 -1040 800 -1056
WIRE 464 -1024 464 -1040
WIRE 224 -976 224 -992
WIRE 336 -976 336 -992
WIRE 800 -944 800 -960
WIRE 464 -928 464 -944
FLAG 224 -1088 +V
FLAG 224 -976 0
FLAG 464 -928 0
FLAG 800 -1056 OUT
FLAG 464 -1040 IN
FLAG 608 -1088 +V
FLAG 336 -1088 -V
FLAG 608 -1024 -V
FLAG 448 -1184 0
FLAG 800 -944 0
FLAG 336 -976 0
SYMBOL voltage 464 -1040 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName Vin
SYMATTR Value SINE(0 1 100K)
SYMBOL voltage 224 -1088 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 2.5
SYMBOL res 560 -1200 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 10K
SYMBOL res 672 -1200 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL voltage 336 -1088 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName V2
SYMATTR Value -2.5
SYMBOL res 784 -1056 R0
SYMATTR InstName Rload
SYMATTR Value 10K
SYMBOL AD8606 608 -1120 R0
SYMATTR InstName U1
TEXT 752 -880 Left 2 !.tran 100u
* Z:\home\khalils\Downloads\files\data\raw_asc\AD8541.asc
* Generated by LTspice 26.0.1 for Windows.
* Comparator Function
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\AD8541.asy)
R2 Vout N001 1Meg
R1 N001 Vin 1k
VS V+ 0 5
XU1 Vref N001 V+ 0 Vout AD8541 ;pnba In+)In-)V+)V-)OUT
VREF Vref 0 2.5
VIN Vin 0 SINE(2.5 1 5k)
.tran 1m
.lib AD8541.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 884 680
WIRE -160 144 -208 144
WIRE 64 144 -80 144
WIRE -400 256 -432 256
WIRE -352 256 -400 256
WIRE -208 256 -208 144
WIRE -208 256 -272 256
WIRE -80 256 -208 256
WIRE 64 272 64 144
WIRE 64 272 -16 272
WIRE 112 272 64 272
WIRE 144 272 112 272
WIRE -160 288 -208 288
WIRE -80 288 -160 288
WIRE -208 320 -208 288
WIRE -48 320 -48 304
WIRE -432 352 -432 256
WIRE -704 464 -704 432
WIRE -432 464 -432 432
WIRE -208 464 -208 400
SYMBOL AD8541 -48 208 R0
SYMATTR InstName U1
SYMBOL res -64 128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 1Meg
SYMBOL voltage -432 336 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName VIN
SYMATTR Value SINE(2.5 1 5k)
SYMBOL voltage -704 336 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName VS
SYMATTR Value 5
SYMBOL res -256 240 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL voltage -208 304 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName VREF
SYMATTR Value 2.5
FLAG -208 464 0
FLAG -704 464 0
FLAG -704 352 V+
FLAG -48 240 V+
FLAG -160 288 Vref
FLAG 112 272 Vout
FLAG -432 464 0
FLAG -400 256 Vin
FLAG -48 320 0
TEXT -720 200 Left 2 !.tran 1m
TEXT -712 136 Left 2 ;Comparator Function
* Z:\home\khalils\Downloads\files\data\raw_asc\86b21ce8e63d_osc.asc
* Generated by LTspice 26.0.1 for Windows.
R1 N001 0 500
Q1 voutn voutp N001 0 2N2222
Q2 voutp voutn N001 0 2N2222
L1 voutp voutn {losc} Rser=1
C1 voutp voutn {cosc}
Q3 vdd voutp voutn 0 PNP
V1 vdd 0 1.5
Q4 vdd voutn voutp 0 PNP
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.param losc = 200n
.param cosc=20p
.tran 0 {pfreq} {0.995*pfreq}
.param pfreq=10K*sqrt(losc * cosc)
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1004 680
WIRE 496 -48 480 -48
WIRE 480 -16 480 -48
WIRE 480 -16 400 -16
WIRE 560 -16 480 -16
WIRE 816 32 768 32
WIRE 768 64 768 32
WIRE 400 112 400 80
WIRE 448 112 400 112
WIRE 560 112 560 80
WIRE 560 112 512 112
WIRE 400 144 400 112
WIRE 400 144 368 144
WIRE 560 144 560 112
WIRE 592 144 560 144
WIRE 400 176 400 144
WIRE 448 176 400 176
WIRE 560 176 560 144
WIRE 560 176 528 176
WIRE 400 208 400 176
WIRE 560 208 560 176
WIRE 480 304 400 304
WIRE 560 304 480 304
WIRE 480 320 480 304
IOPIN 368 144 Out
IOPIN 592 144 Out
IOPIN 496 -48 In
IOPIN 816 32 In
DATAFLAG 400 112 "$-V(voutp)"
SYMBOL npn 624 208 M0
SYMATTR InstName Q2
SYMATTR Value 2N2222
SYMBOL pnp 624 -16 M0
SYMATTR InstName Q4
SYMBOL cap 512 96 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value {cosc}
SYMBOL ind 544 160 R90
WINDOW 0 5 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName L1
SYMATTR Value {losc}
SYMATTR SpiceLine Rser=1
SYMBOL voltage 768 48 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 1.5
SYMBOL res 464 304 R0
SYMATTR InstName R1
SYMATTR Value 500
SYMBOL pnp 336 -16 R0
SYMATTR InstName Q3
SYMBOL npn 336 208 R0
SYMATTR InstName Q1
SYMATTR Value 2N2222
FLAG 624 256 voutn
FLAG 336 256 voutp
FLAG 368 144 voutn
FLAG 592 144 voutp
FLAG 496 -48 vdd
FLAG 816 32 vdd
FLAG 768 144 0
FLAG 480 400 0
FLAG 336 32 voutp
FLAG 624 32 voutn
TEXT 736 -96 Left 2 !.param losc = 200n
TEXT 736 -80 Left 2 !.param cosc=20p
TEXT 736 -112 Left 2 !.tran 0 {pfreq} {0.995*pfreq}
TEXT 736 -64 Left 2 !.param pfreq=10K*sqrt(losc * cosc)
* Z:\home\khalils\Downloads\files\data\raw_asc\LTC2935-4.asc
* Generated by LTspice 26.0.1 for Windows.
V1 N001 0 PWL(0 0 3.6 3.6 16 3.6 19.6 0 20.1 0 23.7 3.6)
V2 N005 0 PWL(0 0 9.599 0 9.6 3.6 9.999 3.6 10 0)
XU1 0 0 0 0 N003 N002 N004 N001 LTC2935-4 ;pnba S2)S1)S0)GND)_PFO)_RST)MR)VCC
MQ1 N004 N005 0 0 BSS123
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 20
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LTC2935-4.asy)
.lib LTC2935-4.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1052 680
WIRE 240 32 -208 32
WIRE 240 48 240 32
WIRE 144 96 128 96
WIRE 352 96 336 96
WIRE 144 176 128 176
WIRE 352 176 336 176
WIRE 144 256 128 256
WIRE 352 256 336 256
WIRE 352 272 352 256
WIRE -208 288 -208 32
WIRE 240 320 240 304
WIRE 512 352 400 352
WIRE 512 368 512 352
WIRE -208 384 -208 368
WIRE 352 400 352 368
WIRE 512 464 512 448
FLAG 240 320 0
FLAG 512 464 0
FLAG -208 384 0
FLAG 352 400 0
FLAG 128 256 0
FLAG 128 176 0
FLAG 128 96 0
SYMBOL voltage -208 272 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName V1
SYMATTR Value PWL(0 0 3.6 3.6 16 3.6 19.6 0 20.1 0 23.7 3.6)
SYMBOL voltage 512 352 R0
WINDOW 123 24 146 Left 2
WINDOW 39 24 125 Left 2
SYMATTR InstName V2
SYMATTR Value PWL(0 0 9.599 0 9.6 3.6 9.999 3.6 10 0)
SYMBOL LTC2935-4 240 176 R0
SYMATTR InstName U1
SYMBOL nmos 400 272 M0
WINDOW 0 31 -5 Right 2
WINDOW 3 33 104 Right 2
SYMATTR InstName Q1
SYMATTR Value BSS123
TEXT 688 328 Left 2 !.tran 20