* Z:\home\khalils\Downloads\files\data\raw_asc\0876b9ed7280_BuckLowFetVariable.asc
* Generated by LTspice 26.0.1 for Windows.
MQ1 N001 N002 0 0 BSC060N10NS3
L1 N001 OUT {L1} Ipk=16.7 Rser=0.0187 Rpar=3108.6 Cpar=0
D1 N001 IN PDS5100
Cout IN OUT {Cout} Rser=0.004
Rload IN OUT {Rload}
VSupply IN 0 {Uin}
VSwitch N002 0 PULSE(0 5V 0 10ns 10ns {Ton} {Tperiode})
.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 11m
.meas TRAN UinRMS RMS V(in) FROM 2ms TO 10ms
.meas TRAN IinRMS RMS I(Supply) FROM 2ms TO 10ms
.meas TRAN UoutRMS RMS ( V(in)-V(out) ) FROM 2ms TO 10ms
.meas TRAN IoutRMS RMS I(Rload) FROM 2ms TO 10ms
.meas TRAN PoutRMS RMS ( I(Rload)*( V(in)-V(out) ) ) FROM 2ms TO 10ms
.meas TRAN PoutAVG AVG ( I(Rload)*( V(in)-V(out) ) ) FROM 2ms TO 10ms
.meas TRAN PinRMS RMS ( abs(-I(Supply)*V(in)) ) FROM 2ms TO 10ms
.meas TRAN PinAVG AVG ( abs(-I(Supply)*V(in)) ) FROM 2ms TO 10ms
.meas TRAN IoutRippel PP I(Rload) FROM 9ms TO 10ms
.meas TRAN UoutRippel PP (V(in)-V(out)) FROM 9ms TO 10ms
.meas TRAN IinRippel PP I(Supply) FROM 9ms TO 10ms
.meas TRAN UinRippel PP V(in) FROM 9ms TO 10ms
.param L1=L1_v Cout=Cout_v Uin=Uin_v Rload=Rload_v Ton=Ton_v Tperiode=Tperiode_v
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2852 1464
WIRE 1104 352 992 352
WIRE 1216 352 1104 352
WIRE 1344 352 1216 352
WIRE 1344 368 1344 352
WIRE 1600 368 1344 368
WIRE 1792 368 1600 368
WIRE 1216 384 1216 352
WIRE 1600 384 1600 368
WIRE 1792 384 1792 368
WIRE 992 448 992 352
WIRE 1216 480 1216 448
WIRE 1456 480 1216 480
WIRE 1600 480 1600 448
WIRE 1600 480 1536 480
WIRE 1760 480 1600 480
WIRE 1792 480 1792 464
WIRE 1792 480 1760 480
WIRE 1168 560 1088 560
WIRE 1088 592 1088 560
WIRE 992 704 992 528
WIRE 1088 704 1088 672
WIRE 1216 704 1216 576
FLAG 1760 480 OUT
FLAG 1104 352 IN
FLAG 1216 704 0
FLAG 992 704 0
FLAG 1088 704 0
SYMBOL nmos 1168 480 R0
SYMATTR InstName Q1
SYMATTR Value BSC060N10NS3
SYMBOL ind 1440 496 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value {L1}
SYMATTR SpiceLine Ipk=16.7 Rser=0.0187 Rpar=3108.6 Cpar=0
SYMBOL schottky 1200 448 M180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D1
SYMATTR Value PDS5100
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL cap 1584 384 R0
SYMATTR SpiceLine Rser=0.004
SYMATTR Value {Cout}
SYMATTR InstName Cout
SYMBOL res 1776 368 R0
SYMATTR InstName Rload
SYMATTR Value {Rload}
SYMBOL voltage 992 432 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName Supply
SYMATTR Value {Uin}
SYMBOL voltage 1088 576 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
WINDOW 3 -65 208 Left 2
SYMATTR Value PULSE(0 5V 0 10ns 10ns {Ton} {Tperiode})
SYMATTR InstName Switch
TEXT 1384 296 Left 2 !.tran 11m
TEXT 968 832 Left 2 !.meas TRAN UinRMS RMS V(in) FROM 2ms TO 10ms\n.meas TRAN IinRMS RMS I(Supply) FROM 2ms TO 10ms\n.meas TRAN UoutRMS RMS ( V(in)-V(out) ) FROM 2ms TO 10ms\n.meas TRAN IoutRMS RMS I(Rload) FROM 2ms TO 10ms\n.meas TRAN PoutRMS RMS ( I(Rload)*( V(in)-V(out) )  ) FROM 2ms TO 10ms\n.meas TRAN PoutAVG AVG ( I(Rload)*( V(in)-V(out) )  ) FROM 2ms TO 10ms\n.meas TRAN PinRMS RMS ( abs(-I(Supply)*V(in)) ) FROM 2ms TO 10ms\n.meas TRAN PinAVG AVG ( abs(-I(Supply)*V(in)) ) FROM 2ms TO 10ms
TEXT 1904 944 Left 2 !.meas TRAN IoutRippel PP I(Rload) FROM 9ms TO 10ms\n.meas TRAN UoutRippel PP (V(in)-V(out)) FROM 9ms TO 10ms\n.meas TRAN IinRippel PP I(Supply) FROM 9ms TO 10ms\n.meas TRAN UinRippel PP V(in) FROM 9ms TO 10ms
TEXT 1720 840 Left 2 !.param L1=L1_v Cout=Cout_v Uin=Uin_v Rload=Rload_v Ton=Ton_v Tperiode=Tperiode_v