38. Design open-collector output

A 3.3 V control signal CTRL_IN must drive a 5 V active-low logic input.

The receiving input has a fixed R_INPUT = 10 kΩ resistance to ground.

Using the provided NPN transistor Q1, design a circuit so that:

  • At CTRL_IN = 0 V, LOGIC_OUT ≥ 4.5 V.
  • At CTRL_IN = 3.3 V, LOGIC_OUT ≤ 0.4 V.
  • Control current I_CTRL remains below 1 mA.

Example test cases:

CTRL_INRequired LOGIC_OUTControl Current
0 V≥4.5 V<1 mA
3.3 V≤0.4 V<1 mA