* Z:\home\khalils\Downloads\files\data\raw_asc\LT3795.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\LT3795.asy)
R5 N008 0 15m
R9 N019 0 10K
D1 N013 0 LXHL-BW02 N=25
R1 N004 0 12.4K
XU1 OUT N010 N011 0 N014 N007 N006 N016 N007 N007 N018 N017 N015 N007 NC_01 NC_02 MP_03 N008 N005 N012 MP_04 MP_05 IN N003 N004 N001 IN N009 LT3795 ;pnba Isp)Isn)TG)GND)Ismon)CTRL2)FB)Vc)CTRL1)Vref)SS)RT)RAMP)PWM)_ShortLED)_OpenLED))Sense)Gate)INTVcc)))Vin)EN/UVLO)OVLO)IVIN)IVINP)IVINCOMP
D2 N002 OUT PDS5100
R4 N017 0 31.6K
C2 N009 0 10n
V1 IN 0 36
R6 OUT N010 620m
MQ1 N002 N005 N008 N008 BSH114
C6 OUT 0 2.2 x4 Rser=10m
C7 N014 0 .1
C1 N015 0 47n
R2 IN N003 499K
R11 IN N001 15m
C5 N012 0 4.7
L1 N001 N002 22 Rser=20m
R7 OUT N006 1Meg
R8 N006 0 13.3K
C4 N018 0 .05
R3 N003 N004 115K
C3 N016 N019 6.8n
MQ2 N013 N011 N010 N010 IRF9640
.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 2m startup
.lib LT3795.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1316 852
WIRE -112 -224 -208 -224
WIRE 208 -224 -112 -224
WIRE 304 -224 208 -224
WIRE 320 -224 304 -224
WIRE 448 -224 400 -224
WIRE 592 -224 528 -224
WIRE 672 -224 592 -224
WIRE 800 -224 736 -224
WIRE 912 -224 800 -224
WIRE 960 -224 912 -224
WIRE -208 -208 -208 -224
WIRE -112 -208 -112 -224
WIRE 800 -208 800 -224
WIRE 960 -208 960 -224
WIRE 112 -192 0 -192
WIRE 592 -192 592 -224
WIRE 112 -176 112 -192
WIRE 208 -176 208 -224
WIRE 304 -176 304 -224
WIRE 400 -176 400 -224
WIRE 960 -128 960 -144
WIRE -208 -112 -208 -128
WIRE -112 -112 -112 -128
WIRE 0 -112 0 -192
WIRE 0 -112 -112 -112
WIRE 48 -112 16 -112
WIRE 544 -112 464 -112
WIRE 800 -112 800 -128
WIRE 800 -112 752 -112
WIRE -112 -96 -112 -112
WIRE 800 -96 800 -112
WIRE 48 -16 32 -16
WIRE 592 -16 592 -96
WIRE 592 -16 464 -16
WIRE -112 0 -112 -16
WIRE 16 0 16 -112
WIRE 16 0 -112 0
WIRE 592 0 592 -16
WIRE 800 0 800 -16
WIRE 32 80 32 -16
WIRE 48 80 32 80
WIRE 480 80 464 80
WIRE -112 96 -112 80
WIRE 592 96 592 80
WIRE 32 176 32 80
WIRE 48 176 32 176
WIRE 752 176 752 -112
WIRE 752 176 464 176
WIRE 32 272 32 176
WIRE 48 272 32 272
WIRE 912 272 912 -224
WIRE 912 272 464 272
WIRE -32 368 -48 368
WIRE 48 368 32 368
WIRE 912 368 912 352
WIRE 912 368 464 368
WIRE 912 448 912 368
WIRE 864 464 464 464
WIRE 480 560 464 560
WIRE 560 560 544 560
WIRE 912 576 912 544
WIRE 96 640 96 624
WIRE 176 640 176 624
WIRE 256 640 256 624
WIRE 336 640 336 624
WIRE 416 640 416 624
WIRE 912 656 912 640
WIRE 256 720 256 704
WIRE 96 736 96 704
WIRE 176 736 176 704
WIRE 336 736 336 720
WIRE 416 736 416 704
WIRE 256 816 256 800
SYMBOL res 240 704 R0
SYMATTR InstName R9
SYMATTR Value 10K
SYMBOL nmos 544 -192 R0
WINDOW 0 57 12 Left 2
WINDOW 3 53 65 Left 2
SYMATTR InstName Q1
SYMATTR Value BSH114
SYMBOL pmos 864 544 M180
WINDOW 0 62 69 Left 2
WINDOW 3 58 30 Left 2
SYMATTR InstName Q2
SYMATTR Value IRF9640
SYMBOL res 576 -16 R0
SYMATTR InstName R5
SYMATTR Value 15m
SYMBOL cap 240 640 R0
WINDOW 39 24 77 Left 2
SYMATTR InstName C3
SYMATTR Value 6.8n
SYMBOL res -128 -16 R0
SYMATTR InstName R1
SYMATTR Value 12.4K
SYMBOL schottky 672 -208 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D2
SYMATTR Value PDS5100
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res 896 256 R0
SYMATTR InstName R6
SYMATTR Value 620m
SYMBOL res -128 -112 R0
SYMATTR InstName R3
SYMATTR Value 115K
SYMBOL voltage -208 -224 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
WINDOW 3 29 95 Left 2
SYMATTR Value 36
SYMATTR InstName V1
SYMBOL res 320 624 R0
WINDOW 3 24 88 Left 2
SYMATTR InstName R4
SYMATTR Value 31.6K
SYMBOL res 304 -208 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R11
SYMATTR Value 15m
SYMBOL LED 896 576 R0
WINDOW 123 36 103 Left 2
SYMATTR Value2 N=25
SYMATTR InstName D1
SYMATTR Value LXHL-BW02
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL res -128 -224 R0
SYMATTR InstName R2
SYMATTR Value 499K
SYMBOL res 784 -224 R0
SYMATTR InstName R7
SYMATTR Value 1Meg
SYMBOL cap 400 640 R0
SYMATTR InstName C4
SYMATTR Value .05
SYMBOL res 784 -112 R0
SYMATTR InstName R8
SYMATTR Value 13.3K
SYMBOL cap 80 640 R0
SYMATTR InstName C7
SYMATTR Value .1
SYMBOL cap 480 576 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName C5
SYMATTR Value 4.7
SYMBOL cap 32 352 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 10n
SYMBOL cap 944 -208 R0
WINDOW 123 30 62 Left 2
WINDOW 3 39 39 Left 2
SYMATTR Value2 x4
SYMATTR Value 2.2
SYMATTR InstName C6
SYMATTR SpiceLine Rser=10m
SYMBOL ind 432 -208 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 22
SYMATTR SpiceLine Rser=20m
SYMBOL PowerProducts\\LT3795 256 224 R0
SYMATTR InstName U1
SYMBOL cap 160 640 R0
SYMATTR InstName C1
SYMATTR Value 47n
FLAG -208 -112 0
FLAG -112 96 0
FLAG -48 368 0
FLAG 256 816 0
FLAG 336 736 0
FLAG 416 736 0
FLAG 560 560 0
FLAG 480 80 0
FLAG 592 96 0
FLAG 912 656 0
FLAG 800 0 0
FLAG 960 -128 0
FLAG 960 -224 OUT
FLAG -208 -224 IN
FLAG 176 736 0
FLAG 96 736 0
TEXT 936 736 Left 2 !.tran 2m startup