Electrical – PNP transistor with audio signal output on collector is used to drive opto-isolator. How does it work

audioopto-isolatorpnptransistors

I have tried assembling the circuit but it doesn't work. Now I need to understand how it works in order to debug it. The part that confuses me is:

Channel 1 is a standard audio output from a smartphone or PC. I have read that LED D1 should flicker depending on a music. But is it even possible? I don't think so. It is always on because there is a constant electrical connection between LEDs' pins and power supply.

Now more difficult part of this circuit. I guess that Q1 is used to amplify the voltage of audio input in order to power optoisolators' infrared diode. Am I right? I have search through common transistor configurations and never seen even one configuration like this. I would like to know how does it work.

Best Answer

Very odd circuit.

It looks to me like the LED with Q1 and R1 is acting like a current source of ~10-15mA to bias the opto-isolator LED into conduction .

\$I_D = (V_{F} - V_{be})/R1\$

schematic

simulate this circuit – Schematic created using CircuitLab

Any signal coming down CH1 will either add of subtract current from that bias, and, consequently, change the drive on the phototransistor.

Attaching the signal directly to your smart-phone output would be a bad thing though. You should at least have a DC blocking capacitor in that line.