Electronic – Problems sizing series input resistor for this optocoupler

opto-isolator

Under the electrical characteristics, the optocoupler 4N26 typical "forward voltage" is given as 1.2V. But for sizing the input resistor Im have hesitations.

In my application as a control signal I will use an Arduino 5V digital output for the opto input. The optocpupler will then switch this SSR which requires 16mA to operate independent of input voltage. Here is the basic diagram:

enter image description here

In a net tutorial I found this information: "The CTR depends on the LED input current (IF) and the CTR decreases from a maximum point when the input current is both increased and decreased. If you look at the below diagram, the top of the curve is around the 6mA point. This is where the chip is most efficient."

In my case I have the black package and below is for the CTR vs Forward current:

enter image description here

Here my questions:

1-) So in my case by looking at the plot above I choose the forward current IF as 4mA and from datasheet the forward voltage is typical 1.2V. So I calculate:

R = (5 – 1.2) / 0.004 = 950 Ohm.

So I conclude 1k.

But in many examples I see much smaller resistor value.

Am I doing something wrong here?

2-)

In some examples they place the resistor in return path. Does that have any significance? Her an example:

enter image description here

edit:

enter image description here

Best Answer

The 4N26 is a really cheap crummy optoisolator and has a guaranteed CTR of only 20% at 25°C. It will be worse at temperature extremes and with LED aging. So you would need a minimum of 80mA, but more like 120mA to be safe on CTR, but that's too much for the optocoupler LED. Note that the curve you show is normalized so CTR drops to more like 12% at 20mA.

4N36 has a more reasonable 100% CTR guaranteed so maybe you can choose 25mA drive but that's still a bit high for the Arduino and for good opto life. Or put a transistor on the SSR side to drive the SSR.

Note that the SSR already includes proper isolation so you may not require anything more than a BJT or MOSFET to drive the SSR if you don't need to keep the 12V power supply isolated. In such a case, I would use something like a 2N4401.

Related Topic