I want to make a small flyback HV generator:
simulate this circuit – Schematic created using CircuitLab
First of all please forgive me for any stupid mistakes, I am a noob in circuit design.
The MOSFET turns on or off, letting current flow intermittently through the transformer, but when it switches off, the transformer primary's inductance generates a high voltage spike attempting to continue to push current through the open circuit, damaging the MOSFET. I cannot use a regular flyback diode as it will defeat the whole point of the "flyback" action of the transformer; so in other words, I want to allow the kickback to a point, say 50% of the maximum voltage of the MOSFET. I could use an RC snubber, but it is somewhat inflexible if I want to experiment with the input voltage, frequency, etc. I could use 2 back-to-back zener diodes, or I could use a TVS diode. I am not sure the zeners will like those rapid discharge pulses, though, as they are meant for continuous operation. TVS, or transient-voltage-supression diodes are meant for suppressing ESD and such, and although Diotec seems confident that their 1.5KE TVS diodes are suitable for "free-wheeling diode" applications, and it also has a "steady-state power dissipation" value on their datasheet. However, I am cautious. Could anyone provide some guidance?
EDIT: here is the datasheet for Diotec's TVS diodes: https://diotec.com/request/datasheet/15ke68.pdf
EDIT 2: I have edited the schematic following Tim Williams's suggestions