* Z:\home\khalils\Downloads\files\data\raw_asc\LTC1645.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\LTC1645.asy)
Rload1 OUT2 0 2
V1 IN2 0 PWL(0 0 10m 3.3 570ms 3.3 +1m 0 +20m 0 +1m 3.3 830m 3.3 +1m 0 +100m 0 +1m 3.3)
R4 N013 N010 3.01K
C3 N011 0 0.1
R3 IN1 N003 5m
R1 IN2 N001 5m
R6 N004 N006 10
R9 N010 N009 3.01K
MQ1 N001 N002 OUT2 OUT2 IRF7413
Rload2 OUT1 0 2
C2 OUT1 0 30
R2 N002 N005 10
C5 N006 0 0.01
V2 IN1 0 PWL(0 0 10m 5 570m 5 +1m 0 +20m 0 +1m 5 850m 5 +1m 0 +100m 0 +1m 5)
R7 OUT1 N007 14.3K
C1 N005 0 0.01
MQ2 N003 N004 OUT1 OUT1 IRF7413
V3 N008 0 PWL(0 0 40m 0 +1m 3.3 360m 3.3 +1m 0 400m 0 +1m 3.3 500m 3.3 +1m 0 525m 0 +1m 1.2 720m 1.2 +1m 3.3)
V4 N010 0 3.3
C4 OUT2 0 30
R5 N011 N012 10K
XU1 IN2 N001 N005 N013 N009 N007 0 NC_01 NC_02 N008 N012 N006 N003 IN1 LTC1645 ;pnba Vcc2)Sense2)Gate2)_Fault)_Reset)FB)GND)Comp+)CompOUT)_ON)Timer)Gate1)Sense1)Vcc1
R8 N007 0 10K
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 1
.lib LTC1645.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 912
WIRE -2720 -1824 -4160 -1824
WIRE -2704 -1824 -2720 -1824
WIRE -2608 -1824 -2624 -1824
WIRE -2560 -1824 -2608 -1824
WIRE -2256 -1824 -2464 -1824
WIRE -2128 -1824 -2256 -1824
WIRE -4160 -1808 -4160 -1824
WIRE -2256 -1808 -2256 -1824
WIRE -2128 -1808 -2128 -1824
WIRE -2480 -1744 -2480 -1776
WIRE -4160 -1712 -4160 -1728
WIRE -2256 -1712 -2256 -1744
WIRE -2128 -1712 -2128 -1728
WIRE -3168 -1616 -4160 -1616
WIRE -3152 -1616 -3168 -1616
WIRE -3056 -1616 -3072 -1616
WIRE -3024 -1616 -3056 -1616
WIRE -2336 -1616 -2928 -1616
WIRE -2256 -1616 -2336 -1616
WIRE -2128 -1616 -2256 -1616
WIRE -4160 -1600 -4160 -1616
WIRE -2256 -1600 -2256 -1616
WIRE -2128 -1600 -2128 -1616
WIRE -2944 -1536 -2944 -1568
WIRE -2480 -1536 -2480 -1664
WIRE -2432 -1536 -2480 -1536
WIRE -2432 -1520 -2432 -1536
WIRE -4160 -1504 -4160 -1520
WIRE -2256 -1504 -2256 -1536
WIRE -2128 -1504 -2128 -1520
WIRE -2432 -1440 -2432 -1456
WIRE -2336 -1440 -2336 -1616
WIRE -2944 -1424 -2944 -1456
WIRE -2896 -1424 -2944 -1424
WIRE -2816 -1424 -2832 -1424
WIRE -3168 -1376 -3168 -1616
WIRE -3056 -1376 -3056 -1616
WIRE -2944 -1376 -2944 -1424
WIRE -2720 -1376 -2720 -1824
WIRE -2608 -1376 -2608 -1824
WIRE -2480 -1376 -2480 -1536
WIRE -2336 -1280 -2336 -1360
WIRE -2336 -1280 -2400 -1280
WIRE -2272 -1280 -2336 -1280
WIRE -2144 -1280 -2192 -1280
WIRE -4000 -1248 -4048 -1248
WIRE -3248 -1248 -3920 -1248
WIRE -2352 -1184 -2400 -1184
WIRE -2240 -1184 -2272 -1184
WIRE -3424 -1152 -3440 -1152
WIRE -3344 -1152 -3360 -1152
WIRE -3248 -1152 -3264 -1152
WIRE -3248 -1040 -3360 -1040
WIRE -3360 -1008 -3360 -1040
WIRE -2832 -912 -2832 -928
WIRE -3472 -880 -3504 -880
WIRE -3360 -880 -3360 -928
WIRE -3360 -880 -3392 -880
WIRE -2240 -880 -2240 -1184
WIRE -2240 -880 -3360 -880
SYMBOL voltage -4160 -1824 R0
WINDOW 123 24 138 Left 2
WINDOW 39 24 117 Left 2
SYMATTR Value PWL(0 0 10m 3.3 570ms 3.3 +1m 0 +20m 0 +1m 3.3 830m 3.3 +1m 0 +100m 0 +1m 3.3)
SYMATTR InstName V1
SYMBOL res -2352 -1456 R0
SYMATTR InstName R7
SYMATTR Value 14.3K
SYMBOL voltage -3904 -1248 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
WINDOW 123 74 56 VTop 2
WINDOW 39 53 56 VTop 2
SYMATTR InstName V3
SYMATTR Value PWL(0 0 40m 0 +1m 3.3 360m 3.3 +1m 0 400m 0 +1m 3.3 500m 3.3 +1m 0 525m 0 +1m 1.2 720m 1.2 +1m 3.3)
SYMBOL nmos -2560 -1776 R270
WINDOW 0 55 41 VTop 2
WINDOW 3 -13 73 VLeft 2
SYMATTR InstName Q1
SYMATTR Value IRF7413
SYMBOL res -2288 -1264 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R8
SYMATTR Value 10K
SYMBOL cap -2448 -1520 R0
SYMATTR InstName C1
SYMATTR Value 0.01
SYMBOL LTC1645 -2832 -1152 R0
SYMATTR InstName U1
SYMBOL cap -3360 -1168 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value 0.1
SYMBOL res -2144 -1616 R0
SYMATTR InstName Rload2
SYMATTR Value 2
SYMBOL res -2256 -1200 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R9
SYMATTR Value 3.01K
SYMBOL nmos -3024 -1568 R270
WINDOW 0 52 46 VTop 2
WINDOW 3 -13 72 VLeft 2
SYMATTR InstName Q2
SYMATTR Value IRF7413
SYMBOL cap -2896 -1408 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName C5
SYMATTR Value 0.01
SYMBOL res -2144 -1824 R0
SYMATTR InstName Rload1
SYMATTR Value 2
SYMBOL res -2496 -1760 R0
SYMATTR InstName R2
SYMATTR Value 10
SYMBOL voltage -3376 -880 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName V4
SYMATTR Value 3.3
SYMBOL res -2720 -1808 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R1
SYMATTR Value 5m
SYMBOL cap -2272 -1808 R0
SYMATTR InstName C4
SYMATTR Value 30
SYMBOL voltage -4160 -1616 R0
WINDOW 123 24 138 Left 2
WINDOW 39 24 117 Left 2
SYMATTR Value PWL(0 0 10m 5 570m 5 +1m 0 +20m 0 +1m 5 850m 5 +1m 0 +100m 0 +1m 5)
SYMATTR InstName V2
SYMBOL res -3168 -1600 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R3
SYMATTR Value 5m
SYMBOL res -3360 -1168 M90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 10K
SYMBOL res -2960 -1552 R0
SYMATTR InstName R6
SYMATTR Value 10
SYMBOL cap -2272 -1600 R0
SYMATTR InstName C2
SYMATTR Value 30
SYMBOL res -3376 -1024 R0
SYMATTR InstName R4
SYMATTR Value 3.01K
FLAG -2256 -1712 0
FLAG -2128 -1712 0
FLAG -2432 -1440 0
FLAG -4048 -1248 0
FLAG -4160 -1712 0
FLAG -2256 -1504 0
FLAG -2128 -1504 0
FLAG -4160 -1504 0
FLAG -3504 -880 0
FLAG -3440 -1152 0
FLAG -2128 -1824 OUT2
FLAG -2128 -1616 OUT1
FLAG -4160 -1616 IN1
FLAG -4160 -1824 IN2
FLAG -2816 -1424 0
FLAG -2832 -912 0
FLAG -2144 -1280 0
TEXT -2240 -800 Left 2 !.tran 1