So far I know that it is possible to protect a Switch, MOSFET, Relay from flyback with different kind of diodes:
One diode: It is simple but it affects the speed of valve
One diode + a resistor: faster in closing but choosing a suitable resistor is hard and not optimal.
One Zener diode and one diode: So far it has been the best solution I have found. It is very fast. Only need to be several volt higher than Vcc and also Vcc + Vzener < V_ce_of_mosfet
I have seen that some people are more in favor of TVS diodes for such application!
How different is TVS diode in protecting against flyback in terms of performance? How should I choose one that is able protect the MOSFET and is also optimal in response. What type of TVS is suitable for this kind of applications? Bipolar?