polashd
Member
In a smps the mcu (at secondary side) for measuring various things (including voltage and current at primary side as well as secondary output). I’m using EL817 optocoupler to transfer info of primary to secondary. But the output of the optocoupler is not linearly dependent on its input. How do I calculate the input at primary from output (of optocoupler) at secondary? Is there any equation. The primary side is a rectified dc (from ac sin wave 50hz, 0v to 10vdc) so the input varies much. The CTR of the optocoupler is not fixed for all input range. How can I measure the input at primary side in real time?