I feel like there's an easy way to solve this, but I don't have the experience to even know what questions to ask or what research pathway to follow. I'm honestly not even sure I'm using the term 'bipolar' correctly.
I have an existing circuit with seven outputs (L,M,N and P,Q,R,S), corresponding to common-positive LEDs (green, red, green), then (red,green,red,green) respectively. Here's the relevant part of the diagram: https://tinyurl.com/ylczynz3
The circuit takes a 50V supply to one of two relays (or neither), controlling seven LEDS L,M,N and P,Q,R,S. These are marked "UP" and "DOWN" to indicate direction of traffic on a model railway. There are about 20 of these circuits at the moment, with the possibility of a few more being added later.
This circuit works well, but now I need to repeat the functions to a remote location. The cable between these two sites does not have capacity for 20-plus sets of either three wires (LMN) or four wires (PQRS) to be repeated across, and I can't run extra cables because I've run out of space for terminals.
However, I do have access to a split potential supply (nominally +15V and -15V) at both the source and the remote location, so my idea is to have a single wire (call it T) running between the two sites. At the source end, it would take inputs from L,M,N corresponding to -15V, earth, or +15V on wire T. At the remote end, wire T would give LEDs P+S, P+R or Q+S connections to ground, respectively. Note green LEDs Q and S are mutually exclusive due to the relay logic.
I think the solution will involve some diode matrices, possibly optocouplers and chains of NPN and PNP transistors, but I'm not sure what the optimal arrangement would be. I'd like to try building a handful of LMNT and PQRST circuits with off-the-shelf discrete components as a test, but I'm open to surface mount ICs and screw terminals for the final design - both the L,M,N,T and P,Q,R,S,T boards. The goal for the latter in particular would be to minimise board surface area.
All LEDs within each location must share a common positive source, with logic between the LEDs and ground, so I can't just rotate half the LEDs 180 degrees or use bipolar LEDs.
So, 1) is this possible, and 2) where/how should I start?
(Separately, I'm considering replacing the two relays with transistors and the 50V supply with 12V, distinct from the above 15V. But I don't think that has an impact here?)
(Edit - thanks to whoever added the screenshot of the circuit :) )



