I am creating a simple boost converter following the classic circuit diagram just for learning purpose.
The switch is a power transistor controlled by PWM output of an Arduino (with additional necessary components). I want to implement a feedback mechanism to control or regulate the output voltage. I am a novice, but I know how to use a voltage divider to read the output voltage as an analog input to Arduino. What I am not very sure is - what to increase or decrease based on the input. For example if I need to increase the output voltage to maintain desired output voltage level, should I
- Just increase the duty cycle and keep the frequency constant?
- Increase duty cycle, and decrease frequency?
I want to achieve higher 'On' time on the switch, but what is the right way to do it?
If only toggling duty cycle is the answer, how does the frequency impact the output parameters? Does it also allow controlling the output voltage (but not the right way)? Or does it determine how much current I allow the output load to draw? Or something else? Please help.