* Z:\home\khalils\Downloads\files\data\raw_asc\LT1641-1.asc
* Generated by LTspice 26.0.1 for Windows.
R1 IN N004 49.9K
R2 N004 0 3.40K
C1 N008 0 0.68
C2 0 N005 10n Rser=1K
R3 N002 N005 10
R5 IN N001 20m
MQ1 N001 N002 OUT OUT IRF530
R6 OUT N006 59K
R7 N006 0 3.57K
R8 OUT N009 24.3K
C3 OUT 0 30
V1 IN 0 PWL(0 0 2.7m 0 2.701m 24)
XU1 N004 N006 N009 0 N008 N005 N001 IN LT1641-1 ;pnba ON)FB)PwrGD)GND)Timer)GATE)Sense)Vcc
S1 N004 0 N007 0 myS1
V2 N007 0 PWL(0 0 80m 0 80.001m 1 100m 1 100.001m 0 215m 0 215.001m 1 225m 1 225.001m 0 500m 0 500.001m 1 510m 1 510.001m 0 2000m 0)
S2 OUT 0 N003 0 myS2
V3 N003 0 PWL(0 0 140m 0 140.001m 1 160m 1 160.001m 0 2000m 0)
D2 OUT N005 BZX84C15L
.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 1
.model myS1 SW(Ron=0.1 Roff=1G Vt=0.5 Vh=-.4)
.model myS2 SW(Ron=0.1 Roff=1K Vt=0.5 Vh=-.4)
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\PowerProducts\LT1641-1.asy)
.lib LT1641-1.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2580 932
WIRE 304 32 -144 32
WIRE 448 32 304 32
WIRE 480 32 448 32
WIRE 592 32 560 32
WIRE 608 32 592 32
WIRE 800 32 704 32
WIRE 976 32 800 32
WIRE 1088 32 976 32
WIRE 1136 32 1088 32
WIRE 1264 32 1136 32
WIRE -144 48 -144 32
WIRE 1136 48 1136 32
WIRE 1264 48 1264 32
WIRE 304 64 304 32
WIRE 800 64 800 32
WIRE 1328 64 1312 64
WIRE 976 80 976 32
WIRE 688 96 688 80
WIRE 1376 112 1312 112
WIRE 1376 128 1376 112
WIRE -144 144 -144 128
WIRE 448 144 448 32
WIRE 592 144 592 32
WIRE 1136 144 1136 112
WIRE 1264 160 1264 128
WIRE 1088 192 1088 32
WIRE 304 208 304 144
WIRE 304 208 128 208
WIRE 400 208 304 208
WIRE 688 208 688 176
WIRE 688 208 656 208
WIRE 800 208 800 128
WIRE 800 208 688 208
WIRE 816 208 800 208
WIRE 304 224 304 208
WIRE 1376 224 1376 208
WIRE 1088 288 1088 272
WIRE 1088 288 656 288
WIRE 128 304 128 208
WIRE 1088 304 1088 288
WIRE 80 320 64 320
WIRE 304 320 304 304
WIRE 80 368 32 368
WIRE 320 368 304 368
WIRE 400 368 384 368
WIRE 976 368 976 160
WIRE 976 368 656 368
WIRE 32 400 32 368
WIRE 128 400 128 384
WIRE 1088 400 1088 384
WIRE 528 432 528 416
WIRE 32 496 32 480
FLAG 880 208 0
FLAG 304 320 0
FLAG 304 368 0
FLAG 528 432 0
FLAG 1088 400 0
FLAG 1136 144 0
FLAG -144 144 0
FLAG 1264 32 OUT
FLAG -144 32 IN
FLAG 128 400 0
FLAG 32 496 0
FLAG 64 320 0
FLAG 1264 160 0
FLAG 1376 224 0
FLAG 1328 64 0
SYMBOL res 288 48 R0
SYMATTR InstName R1
SYMATTR Value 49.9K
SYMBOL res 288 208 R0
SYMATTR InstName R2
SYMATTR Value 3.40K
SYMBOL cap 384 352 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 0.68
SYMBOL cap 880 192 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
WINDOW 39 60 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 10n
SYMATTR SpiceLine Rser=1K
SYMBOL res 672 80 R0
SYMATTR InstName R3
SYMATTR Value 10
SYMBOL res 464 48 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R5
SYMATTR Value 20m
SYMBOL nmos 608 80 R270
WINDOW 0 54 47 VTop 2
WINDOW 3 27 95 VRight 2
SYMATTR InstName Q1
SYMATTR Value IRF530
SYMBOL res 1072 176 R0
SYMATTR InstName R6
SYMATTR Value 59K
SYMBOL res 1072 288 R0
SYMATTR InstName R7
SYMATTR Value 3.57K
SYMBOL res 960 64 R0
SYMATTR InstName R8
SYMATTR Value 24.3K
SYMBOL cap 1120 48 R0
SYMATTR InstName C3
SYMATTR Value 30
SYMBOL voltage -144 32 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value PWL(0 0 2.7m 0 2.701m 24)
SYMBOL LT1641-1 528 272 R0
SYMATTR InstName U1
SYMBOL sw 128 288 R0
SYMATTR InstName S1
SYMATTR Value myS1
SYMBOL voltage 32 384 R0
WINDOW 123 24 138 Left 2
WINDOW 39 24 117 Left 2
SYMATTR Value PWL(0 0 80m 0 80.001m 1 100m 1 100.001m 0 215m 0 215.001m 1 225m 1 225.001m 0 500m 0 500.001m 1 510m 1 510.001m 0 2000m 0)
SYMATTR InstName V2
SYMBOL sw 1264 32 M0
WINDOW 0 -16 10 Right 2
WINDOW 3 -14 107 Right 2
SYMATTR InstName S2
SYMATTR Value myS2
SYMBOL voltage 1376 112 R0
WINDOW 123 24 138 Left 2
WINDOW 39 24 117 Left 2
SYMATTR Value PWL(0 0 140m 0 140.001m 1 160m 1 160.001m 0 2000m 0)
SYMATTR InstName V3
SYMBOL zener 784 64 R0
SYMATTR InstName D2
SYMATTR Value BZX84C15L
SYMATTR Description Diode
SYMATTR Type diode
TEXT 744 552 Left 2 !.tran 1\n.model myS1 SW(Ron=0.1 Roff=1G Vt=0.5 Vh=-.4)\n.model myS2 SW(Ron=0.1 Roff=1K Vt=0.5 Vh=-.4)