I have recently been working on making a lab bench power supply which has a maximum power output of 240W.
I have been able to write simple code for the feedback and set a precise voltage from the touch screen and rotary encoder.
This is the schematic of the project so far:
As you can see I have not yet been able to add current limiting. I know how to measure current with a shunt, but that will be part of the current limiting section. I do not want he limiting to be linear eg. limiting current with the lm317, because that would waste tons of energy as heat.
I found something here: https://www.microsemi.com/document-...iting-techniques-for-switching-power-supplies
but I would not know how to implement it in this circuit to get working results.
I have 4 digital pins available one of which is PWM capable, and 4, 10-bit ADC input pins.
Any help would be greatly appreciated.
Tom
I have been able to write simple code for the feedback and set a precise voltage from the touch screen and rotary encoder.
This is the schematic of the project so far:
As you can see I have not yet been able to add current limiting. I know how to measure current with a shunt, but that will be part of the current limiting section. I do not want he limiting to be linear eg. limiting current with the lm317, because that would waste tons of energy as heat.
I found something here: https://www.microsemi.com/document-...iting-techniques-for-switching-power-supplies
but I would not know how to implement it in this circuit to get working results.
I have 4 digital pins available one of which is PWM capable, and 4, 10-bit ADC input pins.
Any help would be greatly appreciated.
Tom