I want to know if it is possible to design a power supply for a circuit that can operate from DC and AC using the same input terminals.
Thus, the output should be xxV DC (5-24 or whatever is decided on), and on the input side the consumer can connect whatever he has available - 120V AC, 230V AC or 24V DC.
A transformerless AC to DC power supply can work for at least the AC side, but the ideal one looks to be the capacitive type which would not allow DC to get through, am I correct?
There is also an resitive transformerless design, not ideal at all since it is very ineffecient.
Any ideas? Thanks!