To provide trigger signal for MOSFET in buck converter, a pulse width modulator is
constructed from high frequency triangular signal (Vcarr) compared to a dc signal
(Vref) using a comparator. As the result, a PWM signal with adjustable duty cycle is
generated.