Here is how to correctly design control loop that stabilizes flyback converter in order to provide optimal functionality.