
simulate this circuit – Schematic created using CircuitLab
I am using a TNY264 IC to make a custom flyback transformer. (U1 is the TNY264.)
The primary to secondary turns ratio is 10 with the primary inductance being 6mH.
I am using the standard design of flyback topology suggested by TNY264 datasheet without any bias winding.
The output is regulated at close to 13 volts using two 6.2V Zeners in series with an optocoupler providing feedback. (I used an LED and photodiode in the schematic to represent this as I couldn't find an optocoupler.)
The issue is as follows:
Large voltage spikes occur at the secondary when the switch is opened or when "flyback" occurs.
Blue -Drain voltage, yellow -output voltage The ringing caused by the leakage inductance is reflected onto the secondary.
I have clamped the drain with a RCD snubber, which peaks the drain voltage at 164V.
The nominal value of drain after the ringing stops is about 130 volts which is in agreement with the turns ratio. The circuit is working in DCM mode.
How can I stop the voltage spikes on the secondary? Should the primary snubber network be improved?



