mtwieg
Advanced Member level 6
There's nothing wrong with using optocoupler feedback in a voltage mode half bridge supply. In fact, current mode control in half bridge supplies is more difficult to get working because you need to take additional measures to enforce charge balancing on the series capacitor(s).
Anyways, Hz2020 I see your new compensation circuit, how did you go about calculating the component values? I think the problem may lie there.
Can you verify that this circuit works as a simple proportional controller? Strip C1, C2, and R5 out, and see if it is actually able to control duty cycle all the way from 0 to 50% when changing Vout. This can be done without actually closing the loop.