https://electronicsbeliever.com/quasi-resonant-flyback-primary-current-derivation/pic-2-5-3/
pic-2-5