Hello everyone!
I need a little help designing a buck converter. Basically I want to generate a 5V output that will stay the same regardless of load resistance and that will exist when the input varies between 12 and 48 volts.
I understand the basic principle of the buck converter circuit but I do not understand how to make the PWM generator work. This circuit is supposed to be used for a charging circuit of a battery. Those being said, how am I supposed to power up the op amps needed for the PWM generator when this circuit is used for the power supply?
I attached an image with the circuit ( values not calculated yet ).
Any help is welcome and thanks for every bit of help!

Update:
I found this IC online that is used with buck converters:

I want to do something like this but I don't really understand where do they take the voltage to power up the op amps, as it does not show.
I need a little help designing a buck converter. Basically I want to generate a 5V output that will stay the same regardless of load resistance and that will exist when the input varies between 12 and 48 volts.
I understand the basic principle of the buck converter circuit but I do not understand how to make the PWM generator work. This circuit is supposed to be used for a charging circuit of a battery. Those being said, how am I supposed to power up the op amps needed for the PWM generator when this circuit is used for the power supply?
I attached an image with the circuit ( values not calculated yet ).
Any help is welcome and thanks for every bit of help!

Update:
I found this IC online that is used with buck converters:

I want to do something like this but I don't really understand where do they take the voltage to power up the op amps, as it does not show.
Last edited: