I want to use an opamp in a current sink configuration in order to control the emitter-base current of a PNP transistor via a digital-analog pin from a microcontroller.
The circuit is as shown below.
Now, normally, I would use an inexpensive single-channel, single-supply SOT-23 opamp like the MIC6211YM5-TR that can drive 50mA and allows a supply voltage of up to 32V.
In this setting, I can supply the opamp from the same voltage as the load R_LOAD, in this case ca. 9V DC.
Such opamps are extremely hard to buy these days, while similar opamps that work up to 5.5 DC supply are more available.
Here is my question:
If I change the Vcc of the opamp to 5V while the supply voltage for the load (at the emitter of Q28) is still 9V, will any current flow through the output of the opamp even if the DAC voltage is zero?
In other words, how will the opamp output of a current sink behave when its supply voltage and the supply voltage of the load differ?
Will the opamp output be at 5V or just be a high-impedance sink to ground?
If it was at ca. 5V, could a current would flow from +9V via Q8 emitter->base to the +5V supply (maybe even compromising that supply voltage and / or harm the LDO regulator)?
Edit 1: I was also considering the use of an old-fashioned TL431, which is widely available (also in SOT-23), as per the attached sketch below. The downside of the TL431 is that (1) the internal reference voltage is set to ca. 2.5V, so the effective DAC range is only from 2.5...3.3V, and (2) it is unclear to me how reliable the TL431 would switch off the PNP transistor.