I would like to build a control panel to direct K power sources to N loads. A power source can control any number of loads, but a load can only be connected to a single power source. Each power source is variable (0 to 16V at up to 2A).
In a purely mechanical version, I imagine using a K+1 rotary switch for each load, where "+1" represents a no-power-source state.
I would like to implement this with a minimal set of small pushbuttons. I imagine a multiplex-like setup of pushbuttons as follows: each power source is represented by a pushbutton; each load is represented by a pushbutton. When a pair of pushbuttons(source,load) is pressed, the load is powered by source.
I've put together a circuit with AND gates to represent each pushbutton(source,load) combination; latches to hold state; and a grid of transistors to connect variable power sources (P1, P2, ..) to loads (targets 1, 2, ..). A separate constant power source Pc is used for the circuitry.
Missing from the diagram is reset logic which would ensure that at most one power source is connected to a load. Also missing is logic for the no-power-to-load option, which I imagine could be a P(zero) pushbutton.
I am seeking input to this design. Am I missing something substantial? Have I oversimplified the problem? Working with multiple power sources, does this circuit create undesired effects?