Consider the feedback as voltage driven. When the voltage on the output exceeds the sum of the opto LED's forward voltage drop and the zener voltage, the increase in current through the opto is quite abrupt. Figure 4 of https://docs.broadcom.com/doc/AV02-0265EN shows it as almost vertical. At that point the series resistor will have the most effect on the current.I'll check out the datasheet.
And there is no analysis there, so no happiness here. The internal block diagram which you did not originally post shows that the FB pin has a 20K pullup to approximately +5VDC which comes from the internal Vcc generator. It also connects to a high impedance input on the Skip Cycle Comparator. As I understand what I have read, the controller will begin skipping cycles when the pin is pulled below 1.1 volts. In addition pulling the FB pin to GND would require only 250 uA, so I am left to conclude that the magnitude of the current out of the opto is entirely relevant. How this all works seems to depend on the values of the components on the output side specifically the resistor and the zener diode. I must still be missing something although I believe you can make this part work, I don't see how you can accommodate a wide range of CTR values. If you know what the range is ahead of time maybe you can work with it.
The CTR of the 817 varies from 50% to 600%, and it's probably only half that value at 250uA, so it can take anywhere from 80uA to 1mA to get the input of the FB pin to its operating point.
With a series resistor of 100ohm, it only takes 0.1V to increase the current from 80uA to 1mA.
So if you're switched-mode is nominally a 12V output, you would get 0.1V less output if you had an enthusiastic opto than if you had a duffer; but you would already have a 5% variation due to the zener voltage tolerance, and that's +/- 0.6V so 0.1V variation due to the opto isn't so bad.
Now if you had a TL431, which has getting on for 60dB of open loop gain, then it will only take 100uV change at its control pin to swing the output current from 80uA to 1mA to get 250uA out of the opto, whatever its CTR, so allowing for a approx 5:1 voltage divider to get 12V to 2.5V for the TL431, it should be accurate within 500uV regardless of the CTR.
I just found this, and it's well worth a read:
https://www.onsemi.com/pub/Collateral/TND381-D.PDF
Last edited: