I doing switch mode power supply. But, i got problem in understanding the mechanism to interface PWM to my buck converter using mosfet. Is it correct if i adjust the PWM, the voltage output of my buck converter will be depending on the PWM. Let say if i increase my PWM, than my voltage output will be increase and if i reduce my PWM, than my output voltage of the Buck converter will be reduce. Based on my calculation, my buck converter is enough to down converted the 12 Volt to 10 volt. By the way, i attached with this thread my simulation. Please advise if this is correct. thanks