* Z:\home\khalils\Downloads\files\data\raw_asc\LTC4085-4.asc
* Generated by LTspice 26.0.1 for Windows.
* NTC
* USB Power
* Wall Adapter
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LTC4085-4.asy)
XU1 N003 OUT N007 N009 NC_01 N011 N001 N013 N012 N002 N010 N008 N005 N004 0 LTC4085-4 TerminationCycles=392 ;pnba IN)OUT)CLPROG)HPWR)SUSP)Timer)Wall)NTC)Vntc)_ACPR)_CHRG)PROG)Gate)BAT)GND
C1 OUT 0 4.7 Rser=5m
MQ1 N001 N002 OUT OUT FDS4685
C2 N004 0 2.5 ic=2.78 Rser=200m
R5 0 N008 66.5K
R2 OUT N002 5.1K
Rload OUT 0 250
MQ2 N004 N005 OUT OUT FDS4685
R6 N007 0 2K
R3 N012 N013 10K
D1 N006 N010 LXHL-BW02
V1 N001 0 PWL(0 0 7 0 +10u 5)
C3 N011 0 0.1
V2 N003 0 PWL(0 0 1m 0 +1u 5)
R7 N003 N009 10K
R1 OUT N006 1K
R4 N013 0 10K
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 10
.lib LTC4085-4.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1124 696
WIRE 672 -464 -336 -464
WIRE 256 -416 -864 -416
WIRE 448 -416 352 -416
WIRE 592 -416 448 -416
WIRE 672 -416 672 -464
WIRE 672 -416 592 -416
WIRE 832 -416 672 -416
WIRE 672 -400 672 -416
WIRE 832 -400 832 -416
WIRE 336 -320 336 -368
WIRE 352 -320 336 -320
WIRE 448 -320 448 -416
WIRE 448 -320 432 -320
WIRE 592 -320 592 -416
WIRE 672 -304 672 -336
WIRE 832 -304 832 -320
WIRE -480 -272 -816 -272
WIRE -320 -272 -480 -272
WIRE 304 -272 128 -272
WIRE -816 -256 -816 -272
WIRE 448 -208 448 -320
WIRE -336 -192 -336 -464
WIRE -320 -192 -336 -192
WIRE 400 -192 128 -192
WIRE 592 -192 592 -240
WIRE -816 -160 -816 -176
WIRE -416 -112 -432 -112
WIRE -320 -112 -336 -112
WIRE 144 -112 128 -112
WIRE 240 -112 224 -112
WIRE 304 -80 304 -272
WIRE 448 -80 448 -112
WIRE 448 -80 304 -80
WIRE -480 -32 -480 -272
WIRE -448 -32 -480 -32
WIRE -320 -32 -368 -32
WIRE 592 -32 592 -128
WIRE 592 -32 128 -32
WIRE 448 0 448 -80
WIRE 336 48 336 -320
WIRE 336 48 128 48
WIRE 448 96 448 64
WIRE -400 128 -432 128
WIRE -320 128 -336 128
WIRE 144 128 128 128
WIRE 240 128 224 128
WIRE -864 208 -864 -416
WIRE -320 208 -864 208
WIRE 240 208 240 128
WIRE 240 208 128 208
WIRE -864 224 -864 208
WIRE 240 224 240 208
WIRE -96 288 -96 256
WIRE -864 320 -864 304
WIRE 240 320 240 304
SYMBOL pmos 256 -368 R270
WINDOW 0 57 44 VTop 2
WINDOW 3 -8 72 VLeft 2
SYMATTR InstName Q1
SYMATTR Value FDS4685
SYMBOL voltage -864 208 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value PWL(0 0 7 0 +10u 5)
SYMBOL voltage -816 -272 R0
WINDOW 123 24 138 Left 2
WINDOW 39 24 117 Left 2
SYMATTR InstName V2
SYMATTR Value PWL(0 0 1m 0 +1u 5)
SYMBOL res 816 -416 R0
SYMATTR InstName Rload
SYMATTR Value 250
SYMBOL cap 656 -400 R0
WINDOW 3 41 39 Left 2
WINDOW 39 20 68 Left 2
SYMATTR Value 4.7
SYMATTR SpiceLine Rser=5m
SYMATTR InstName C1
SYMBOL res 240 -128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 66.5K
SYMBOL res 128 144 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R3
SYMATTR Value 10K
SYMBOL res -464 -48 M90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R7
SYMATTR Value 10K
SYMBOL LED 576 -192 R0
SYMATTR InstName D1
SYMATTR Value LXHL-BW02
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res -320 -128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value 2K
SYMBOL res 576 -336 R0
SYMATTR InstName R1
SYMATTR Value 1K
SYMBOL cap -336 112 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value 0.1
SYMBOL res 224 208 R0
SYMATTR InstName R4
SYMATTR Value 10K
SYMBOL pmos 400 -112 M180
WINDOW 0 58 84 Left 2
WINDOW 3 56 5 Left 2
SYMATTR InstName Q2
SYMATTR Value FDS4685
SYMBOL res 448 -336 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 5.1K
SYMBOL LTC4085-4 -96 -32 R0
SYMATTR InstName U1
SYMBOL cap 432 0 R0
WINDOW 3 41 35 Left 2
WINDOW 123 32 85 Left 2
WINDOW 39 22 59 Left 2
SYMATTR Value 2.5
SYMATTR Value2 ic=2.78
SYMATTR SpiceLine Rser=200m
SYMATTR InstName C2
FLAG -96 288 0
FLAG 672 -304 0
FLAG -864 320 0
FLAG -816 -160 0
FLAG 448 96 0
FLAG -432 128 0
FLAG 240 320 0
FLAG 240 -112 0
FLAG -432 -112 0
FLAG 832 -304 0
FLAG 832 -416 OUT
TEXT 672 216 Left 2 !.tran 10
TEXT 280 320 Left 2 ;NTC
TEXT -648 -272 Bottom 2 ;USB Power
TEXT -704 208 Bottom 2 ;Wall Adapter