I am working on a project in which I will have two different power sources, which I will have to dynamically switch between to supply power to devices. These two power sources will likely be similar in voltage, but may vary slightly.
I figured that the best way to approach this would be by putting the voltage sources in parallel, but if there is a difference in voltage, current will flow between the sources, which is not what I want. I then had the idea to place a diode in series with each source before they are connected, to ensure current does not flow between them (Both sources are DC). I don't see why this wouldn't work, but what would the voltage be of the sources in parallel?