Electronic – Circuit analysis for bicolor LED

circuit analysisled

I am trying to control two LEDs in reverse parallel, using a signal SIG. SIG is an open collector signal, so it is either high impedance or pulled to ground. The schematic looks as follows:
Circuit Diagram 1

I am trying to calculate the resistor values such that the SIG can light one LED or the other, and passes 2mA of current given a 2V drop across the LEDs. This gives two states for the circuit to be in:

  • SIG is high impedance state, so R3 passes no current, and D1 lights:
    D1 lights
  • SIG is pulled to ground, and D2 lights:
    D2 lights

Given VCC is 12V, is it possible to solve for resistor values such that the voltage and current drops through the LEDs hold true? After trying to set some values for a resistor and solving for the other values, I keep getting negative voltages or the currents don't add up. Is it possible that the currents through the diodes can't both be 2mA?

Best Answer

This works. Solved numerically. With R3=0, which is optimal for minimum wasted power, as suggested by Peter in a comment above.

schematic

simulate this circuit – Schematic created using CircuitLab

enter image description here enter image description here