Well, that is where it gets interesting. There are a number of transformer isolated switching regulator topologies which are suitable for a general purpose power supply. Most come down to following the transformer with a buck inductor and these might be considered a buck converter with an additional impedance conversion which allows a higher output voltage from a lower output voltage. They of course have the usual problem of having to support discontinuous conduction mode at low output currents unless synchronous rectification is used but some designs drive the synchronous rectifier across the isolation barrier so that is not completely infeasible. If you can come up with a suitable non-isolated design, then you can always add a transformer to it and get a free impedance transformation as well.
Having a microcontroller on either side of the isolation barrier would not bother me at all but I think this depends on where the control circuits for the switching regulator are. I would tend to use one microcontroller to negotiate the USB PD and another for everything else because this allows for an integrated USB PD solution if it exists.
If the switching control circuits are on the primary side, then the usual arrangement of optocoupled feedback is the usual control method.
Higher performance will require a switching preregulator and linear output stage.
I'll probably stick to something out of the book, at the moment I'm thinking about a flyback.
Two microcontrollers:
might be an option, but cost twice, I need software for both, two connectors (end user software update mechanism) or build some kind of isolated update from one µC via the other µC.
One actually needs to perform USB communication and PD communication (primary) and forward control data it to the second (converter controller). Feedback has to go the opposite direction. This seems just overly complicated and the wrong idea.
Microcontroller on primary and feedback via optocouplers:
I need voltage and current. Isolated ADCs are pretty expensive. With optocouplers I need some kind of A-to-D conversion on the secondary side. Normal adc/dac and isolators might be an option.
Microcontroller on secondary:
Makes USB communication (controlls and firmware update) more difficult. USB isolators are pricey.
Linear output stage:
Should be doable, needs communication to USB.
I mean I would not do a power supply without USB to output isolation. For a battery charger, no isolation is needed unless it has a data output like serial or another USB port. I am not very happy with the user interface on my MH-C9000 smart charger so I occasionally consider how I would design something better from scratch and being about to use a USB PD source (or power over ethernet?) might be a nice feature.
If you're only using a wall adapter (which should be isolated by itself) it should not be a problem. But assuming some people will have the same device for USB controls and PD power (e.g. from a laptop) means both should probably be isolated, maybe also from each other.
I thought about the option to connect multiple in series to increase the total voltage.
If you need isolation just for an ADC, you may want to consider a CP2130 to bridge the USB to SPI first. The SPI signals, being unidirectional, are a lot easier to isolate. You can then control an SPI controlled ADC via a digital isolator.
Sorry for my late response. Didn't read that comment, so I had no idea of what you wanted to achieve. By the way, don't you need a DAC as well? How are you going to control your PSU?
Kind regards, Samuel Lourenço
I still need some way to work with PD data, but there are also USB-PD to SPI ICs. Raises the difficulty with firmware updating again.
Yep, I need probably two way communication, ADC for voltage/current, DAC for linear output stage.