* Z:\home\khalils\Downloads\files\data\raw_asc\LT1158.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\LT1158.asy)
D1 N001 N002 BAT54
XU1 N001 IN MP_01 N007 N007 N005 0 N008 N008 MP_02 N006 N004 N004 N003 N003 N002 LT1158 ;pnba BoostDr)V+))ENABLE)_FAULT)INPUT)GND)BgateFB)Bgate))Sense-)Sense+)Tsource)TgateFB)Tgate)Boost
C2 OUT 0 100 Rser=10m
C1 N004 N002 .1
C3 N007 0 .1
V1 IN 0 30
MQ2 N006 N008 0 0 IRF530
Rload OUT 0 5
R1 N004 N006 4m
L1 N006 OUT 50 Rser=10m
MQ1 IN N003 N004 N004 IRF530
V2 N005 0 PULSE(0 3.3 0 10n 10n 5u 10u)
.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 15m startup
.lib LT1158.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1096 728
WIRE 64 -48 -16 -48
WIRE 624 -48 64 -48
WIRE -16 -32 -16 -48
WIRE 240 0 208 0
WIRE 368 0 304 0
WIRE 512 0 368 0
WIRE 512 16 512 0
WIRE 624 32 624 -48
WIRE 208 48 208 0
WIRE 368 48 368 0
WIRE -16 64 -16 48
WIRE 64 112 64 -48
WIRE 112 112 64 112
WIRE 480 112 464 112
WIRE 576 112 480 112
WIRE 512 160 512 80
WIRE 624 160 624 128
WIRE 624 160 512 160
WIRE -208 176 -304 176
WIRE 112 176 -128 176
WIRE 480 176 480 112
WIRE 480 176 464 176
WIRE 624 224 624 160
WIRE 624 224 544 224
WIRE 512 240 512 160
WIRE 512 240 464 240
WIRE 624 240 624 224
WIRE 544 304 544 224
WIRE 544 304 464 304
WIRE 624 336 624 320
WIRE 624 336 544 336
WIRE 688 336 624 336
WIRE 800 336 768 336
WIRE 896 336 800 336
WIRE 624 352 624 336
WIRE 800 352 800 336
WIRE 896 352 896 336
WIRE 0 368 -16 368
WIRE 80 368 64 368
WIRE 112 368 80 368
WIRE 544 368 544 336
WIRE 544 368 464 368
WIRE 80 432 80 368
WIRE 112 432 80 432
WIRE 480 432 464 432
WIRE 576 432 480 432
WIRE 800 448 800 416
WIRE 896 448 896 432
WIRE 624 464 624 448
WIRE 480 496 480 432
WIRE 480 496 464 496
WIRE 288 544 288 528
SYMBOL cap 496 80 M180
WINDOW 0 24 64 Left 2
WINDOW 3 24 8 Left 2
SYMATTR InstName C1
SYMATTR Value .1
SYMBOL PowerProducts\\LT1158 288 288 R0
SYMATTR InstName U1
SYMBOL voltage -16 -48 R0
SYMATTR InstName V1
SYMATTR Value 30
SYMBOL nmos 576 352 R0
SYMATTR InstName Q2
SYMATTR Value IRF530
SYMBOL cap 64 352 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C3
SYMATTR Value .1
SYMBOL cap 784 352 R0
SYMATTR InstName C2
SYMATTR Value 100
SYMATTR Value2 Rser=10m
SYMBOL voltage -112 176 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value PULSE(0 3.3 0 10n 10n 5u 10u)
SYMBOL res 608 224 R0
SYMATTR InstName R1
SYMATTR Value 4m
SYMBOL schottky 240 16 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value BAT54
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL ind 672 352 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 50
SYMATTR Value2 Rser=10m
SYMBOL nmos 576 32 R0
SYMATTR InstName Q1
SYMATTR Value IRF530
SYMBOL res 880 336 R0
SYMATTR InstName Rload
SYMATTR Value 5
FLAG -16 64 0
FLAG 288 544 0
FLAG -304 176 0
FLAG 624 464 0
FLAG 800 448 0
FLAG 896 448 0
FLAG -16 368 0
FLAG -16 -48 IN
FLAG 896 336 OUT
TEXT 576 520 Left 2 !.tran 15m startup