* Z:\home\khalils\Downloads\files\data\raw_asc\4e2916d70f8c_Current_Mode_Control.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\LTC3891.asy)
R6 OUT N010 1
D1 N001 N004 CMDSH2-3
S1 ITH N006 SW 0 MySwitch
R5 ITH N011 10k
C4 N011 0 2200p
C1 OUT 0 150 Rser=5m
V4 SW 0 PULSE(0 1.1 1.5m 1n 1n 500u)
V5 N009 0 PWL(0 0 +2.5m 0 +1u 5)
MQ1 IN N003 N005 N005 RJK0305DPB
MQ2 N005 N008 0 0 RJK0301DPB
C3 N001 0 4.7
V2 N002 0 3.3
C5 SS 0 .01
Rload OUT 0 2
R3 N007 0 41.2K
M1 N010 N009 0 0 BSB012N03MX3
R2 FB 0 31.6K
R1 OUT FB 100K
L1 N005 SNS+ 4.7 Rser=1.5m
V1 IN 0 12
R4 SNS+ OUT 8m
C2 N004 N005 .1
V3 N006 0 0.5
XU1 OUT N007 SNS+ NC_01 NC_02 0 N002 IN N001 NC_03 0 N004 N003 N005 N008 NC_04 SS ITH FB LTC3891 ;pnba SENSE-)FREQ)SENSE+)PGOOD)PLLIN/MODE)SGND)RUN)VIN)INTVcc)EXTVcc)PGND)BOOST)TG)SW)BG)ILIM)TRACK/SS)ITH)VFB
.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 3m startup
.model MySwitch SW(Ron=10m Roff=1000Meg Vt=1)
.lib LTC3891.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2312 928
WIRE -880 -208 -1184 -208
WIRE -656 -208 -880 -208
WIRE -1184 -192 -1184 -208
WIRE -464 -192 -976 -192
WIRE -256 -192 -464 -192
WIRE -464 -176 -464 -192
WIRE -256 -176 -256 -192
WIRE -976 -160 -976 -192
WIRE -880 -160 -880 -208
WIRE -1184 -112 -1184 -128
WIRE -1072 -96 -1152 -96
WIRE -512 -96 -688 -96
WIRE -1152 -80 -1152 -96
WIRE -656 -80 -656 -208
WIRE -256 -80 -256 -96
WIRE -656 0 -656 -16
WIRE -656 0 -688 0
WIRE -528 0 -656 0
WIRE -464 0 -464 -80
WIRE -160 0 -288 0
WIRE -1152 16 -1152 0
WIRE -160 48 -176 48
WIRE -464 96 -464 0
WIRE -464 96 -688 96
WIRE -400 96 -464 96
WIRE -288 96 -288 0
WIRE -288 96 -320 96
WIRE -272 96 -288 96
WIRE -176 96 -176 48
WIRE -176 96 -192 96
WIRE -128 96 -176 96
WIRE -64 96 -128 96
WIRE 80 96 -64 96
WIRE 272 96 80 96
WIRE -1536 112 -1648 112
WIRE -1408 112 -1456 112
WIRE -464 112 -464 96
WIRE 80 112 80 96
WIRE -64 128 -64 96
WIRE -1520 160 -1552 160
WIRE -1648 176 -1648 112
WIRE -1520 176 -1520 160
WIRE 272 176 272 96
WIRE -1472 192 -1472 160
WIRE -1168 192 -1200 192
WIRE -1072 192 -1088 192
WIRE -512 192 -688 192
WIRE -64 208 -64 192
WIRE 80 208 80 192
WIRE -464 224 -464 208
WIRE 432 272 368 272
WIRE -288 288 -288 96
WIRE -288 288 -688 288
WIRE 272 288 272 256
WIRE 432 288 432 272
WIRE -128 336 -128 96
WIRE -1648 368 -1648 256
WIRE -1520 368 -1520 256
WIRE -1520 368 -1648 368
WIRE 368 368 368 272
WIRE 368 368 320 368
WIRE -1520 384 -1520 368
WIRE -1264 384 -1408 384
WIRE -1120 384 -1200 384
WIRE -1072 384 -1120 384
WIRE -176 384 -176 96
WIRE -176 384 -688 384
WIRE 272 416 272 384
WIRE 432 416 432 368
WIRE -1344 480 -1408 480
WIRE -1248 480 -1280 480
WIRE -1104 480 -1168 480
WIRE -1072 480 -1104 480
WIRE -544 480 -688 480
WIRE -128 480 -128 416
WIRE -128 480 -544 480
WIRE -128 496 -128 480
WIRE -960 560 -960 544
WIRE -800 560 -800 544
WIRE -128 592 -128 576
SYMBOL res -288 112 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R4
SYMATTR Value 8m
SYMBOL nmos -512 112 R0
SYMATTR InstName Q2
SYMATTR Value RJK0301DPB
SYMBOL res -144 320 R0
SYMATTR InstName R1
SYMATTR Value 100K
SYMBOL res -144 480 R0
SYMATTR InstName R2
SYMATTR Value 31.6K
SYMBOL res 64 96 R0
SYMATTR InstName Rload
SYMATTR Value 2
SYMBOL cap -1200 368 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C5
SYMATTR Value .01ľ
SYMBOL nmos 320 288 M0
SYMATTR InstName M1
SYMATTR Value BSB012N03MX3
SYMBOL schottky -672 -80 R0
WINDOW 3 20 64 Left 2
WINDOW 0 21 2 Left 2
SYMATTR Value CMDSH2-3
SYMATTR InstName D1
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL cap -1280 464 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
WINDOW 39 60 48 VTop 2
SYMATTR InstName C4
SYMATTR Value 2200p
SYMBOL nmos -512 -176 R0
SYMATTR InstName Q1
SYMATTR Value RJK0305DPB
SYMBOL voltage -1152 -96 R0
WINDOW 3 20 93 Left 2
SYMATTR Value 3.3
SYMATTR InstName V2
SYMBOL voltage -1648 160 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
WINDOW 3 24 96 Invisible 2
SYMATTR Value 0.5
SYMATTR InstName V3
SYMBOL cap -528 16 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName C2
SYMATTR Value .1ľ
SYMBOL sw -1440 112 M270
WINDOW 3 24 96 Invisible 2
SYMATTR Value MySwitch
SYMATTR InstName S1
SYMBOL res -1072 176 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 41.2K
SYMBOL voltage -256 -192 R0
WINDOW 3 20 93 Left 2
SYMATTR Value 12
SYMATTR InstName V1
SYMBOL res -1152 464 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 10k
SYMBOL PowerProducts\\LTC3891 -880 192 R0
SYMATTR InstName U1
SYMBOL voltage 432 272 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
WINDOW 3 24 96 Invisible 2
SYMATTR Value PWL(0 0 +2.5m 0 +1u 5)
SYMATTR InstName V5
SYMBOL voltage -1520 160 R0
WINDOW 3 -78 160 Invisible 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR Value PULSE(0 1.1 1.5m 1n 1n 500u)
SYMATTR InstName V4
SYMBOL res 256 160 R0
SYMATTR InstName R6
SYMATTR Value 1
SYMBOL ind -416 112 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 4.7ľ
SYMATTR SpiceLine Rser=1.5m
SYMBOL cap -80 128 R0
WINDOW 39 29 69 Left 2
WINDOW 3 37 34 Left 2
SYMATTR SpiceLine Rser=5m
SYMATTR Value 150ľ
SYMATTR InstName C1
SYMBOL cap -1200 -192 R0
SYMATTR InstName C3
SYMATTR Value 4.7ľ
FLAG -464 224 0
FLAG -64 208 0
FLAG 80 208 0
FLAG -128 592 0
FLAG -1184 -112 0
FLAG -1408 480 0
FLAG -1408 384 0
FLAG -256 -80 0
FLAG -256 -192 IN
FLAG -960 560 0
FLAG -800 560 0
FLAG -1200 192 0
FLAG -1152 16 0
FLAG -1520 384 0
FLAG -1472 192 0
FLAG -1408 112 ITH
FLAG -1104 480 ITH
FLAG -1120 384 SS
FLAG -544 480 FB
FLAG -160 0 SNS+
FLAG -160 48 OUT
FLAG -1552 160 SW
FLAG 272 416 0
FLAG 432 416 0
TEXT -1304 648 Left 2 !.tran 3m startup
TEXT -1304 616 Left 2 !.model MySwitch SW(Ron=10m Roff=1000Meg Vt=1)