Bo Deadly
Well-known member
I'm having a lot of trouble coming up with a circuit for turning on two LEDs in a compressor circuit (one for the vactrol and the other for the front panel indicator) and I could use some wisdom here.
The following circuit works fine:
When the input control voltage is 0, the LEDs are off. But when the control voltage is positive, the current is proportional to the control voltage.
The problem with this is that it's for a dual battery device and it drains the positive supply faster than the negative because it sources / sinks current from V+ to ground. Not much but enough to require a fix.
So I need to re-work this circuit so that it sources / sinks from V+ to V- and not ground. Does anyone have a trick for doing that?
Meaning take a positive control signal from 0 to say 10V relative to *ground* but generate a current proprotional to the control voltage (so no non linear amplification) that sources / sinks from V+ to V- and NOT dump / source the LED current to / from ground.
I would be ok with using an op amp at this point. In fact, since I already have 2 elsewhere in the circuit, I would be ok with using 2 more if that helps.
It occurs to me that a differential line driver like DRV135 would work. But I don't need a fancy line driver. Is there a similar part that's cheaper, more common and small? Is there a similar circuit to DRV135 that would be applicable?
Ideas?
The following circuit works fine:
When the input control voltage is 0, the LEDs are off. But when the control voltage is positive, the current is proportional to the control voltage.
The problem with this is that it's for a dual battery device and it drains the positive supply faster than the negative because it sources / sinks current from V+ to ground. Not much but enough to require a fix.
So I need to re-work this circuit so that it sources / sinks from V+ to V- and not ground. Does anyone have a trick for doing that?
Meaning take a positive control signal from 0 to say 10V relative to *ground* but generate a current proprotional to the control voltage (so no non linear amplification) that sources / sinks from V+ to V- and NOT dump / source the LED current to / from ground.
I would be ok with using an op amp at this point. In fact, since I already have 2 elsewhere in the circuit, I would be ok with using 2 more if that helps.
It occurs to me that a differential line driver like DRV135 would work. But I don't need a fancy line driver. Is there a similar part that's cheaper, more common and small? Is there a similar circuit to DRV135 that would be applicable?
Ideas?