ZVS Driver

A “ZVS driver” is a mosfet oscillator; a very simple circuit that can oscillate a large amount of power with little loss. It is normally used for making the sine wave needed for driving high frequency transformers such as those found in LCD cold-cathode lamp drivers and other applications.

To the right exists a simplified version of the royer oscillator.

When power is applied at +V current starts to flow through both sides of the primary and on to the mosfets’ drains. Simultaneously that voltage appears on both of the mosfets’ gates and starts to turn them on. Because no two components are exactly alike one mosfet turns on a little faster than the other one and more current can then flow through that fet. The extra current flowing in that side of the primary robs the gate current from the other fet and starts to turn it off. A capacitor forms an LC tank with the primary and the voltage proceeds to rise and fall sinusoidally. If it were not for that capacitor the current would continue to increase until the transformer’s core saturated and the mosfets exploded.

Imagine that Q1 was the first to turn on. The voltage at point Y will be at near ground while the voltage at Z rises to a peak and falls back down as the LC tank goes through one half cycle. As the voltage at Z passes through zero the gate current to Q1 is removed and the mosfet turns off. The voltage at point Y is now allowed to start rising and Q2 turns on. That mosfet clamps the voltage at Z to ground; something that makes sure Q1 stays off. This same process repeats for Q2 completing the other half cycle, and the oscillator continues cycling. In order to prevent the oscillator from drawing huge peak currents and exploding, L1 is added in series with +V as a choke. The LC impedance is what limits the actual current (the choke just mitigates current spikes).

Or… just click on this.

A keen eye will notice that this oscillator is zero-voltage switching (ZVS), meaning that the mosfets switch when they have zero volts across them. This is good because it allows the mosfets to switch when they are carrying the least power; something that for the most part eliminates the switching losses which generate huge amounts of heat. This means only small heat sinks are needed, even when oscillating 1000 watts!

Being a resonant oscillator the frequency that the ZVS will run at is determined by the inductance of the transformer’s primary coil and the capacitor. You can use the following formula to figure this out:

f = 1 / ( 2π * √[L * C] )

f  is the frequency in Hertz
L is the inductance of the primary in Henries
C is the capacitance of the capacitor in Farads

Now in reality mosfets are rather fragile components and if the gates are +/- more than 30V from the source the mosfets will be destroyed, or at least degraded significantly. In order to prevent this scenario from occurring we’ll need gate protection; something easily added with a few extra components. See the schematic to the right.

• The 470 ohm resistors limit the current that charges the gates as too much gate current can cause damage.
• The 10K resistors pull the gates down to ground to prevent latchup; a process in which the mosfet gets stuck on.
• The Zener diodes prevent the gate voltage from exceeding either 12, 15 or 18V depending on the zeners you use.
• The UF4007 diodes pull the gates down to ground when the voltage on the opposite leg of the tank is at ground.

One may notice that instead of charging the gates with the LC tank we are instead using +V to charge them up and we are using the LC tank to discharge them via the ultrafast diodes. This improves the overall performance of the circuit.

The following schematic was made very easy to understand, I hope you like it.

Because of some black magic called resonant rise the voltage in the LC tank will be higher than the input voltage, so you’ll need to make sure your mosfets can withstand this voltage. A good rule of thumb is to use mosfets that are rated at 4x the voltage you plan on feeding the oscillator and the IRFP250 or the better IRFP260 is a good mosfet for the task. You’ll need some heatsinks for the mosfets, but they do not need to be large. They must not be put on the same heatsink unless insulating pads are used because the metal back of the mosfet is not electrically insulated (it is connected to the drain). Also be sure to use thermal goop when you attach a heatsink else the thermal transfer will be crap. 

The capacitor must be a good one, an MKP, mica or Mylar cap is a good option. Do not use an electrolytic cap, it will without a doubt explode. The two primary windings must also be wound in the same direction or else the oscillator will not function. The oscillator will also fail to function if there is no air gap in the transformer’s core, so always make sure that one exists.

Below is a youtube video of a ZVS oscillator powering a flyback transformer at 12, then 24, then 36V. Skip to 0:47 for the 36V if you are impatient.

 

Problems with the Circuit

The ZVS oscillator has one fatal flaw: it likes to explode above 70V. 60V, does well, 70 is meh… 80 KABLOOEY. The problem is above 70V the powers tend to be so high that the diodes responsible for turning off the gates fail to fully do so, and the oscillation stops with one mosfet left on. That’s essentially a short circuit so the mosfet responds with suicide. To anyone who is reading this article, I propose to you a challenge: fix this problem. First one to do so will receive a present. I don’t know what but it’ll be something. Neon John attempted a fix, but it’s hacky and still unreliable so I invalidate that option.

Post comment as twitter logo facebook logo
Sort: Newest | Oldest
TS00 5 pts

I built one of these, and it worked great for a few minutes at 24v, with nice 6-7cm arcs. Then both the IRFP250s failed catastrophically. Initially I thought perhaps the capacitor had gone open-circuit, causing the failure. But the capacitor is fine. Given that I was only running at 24v and ~8A, I'm puzzled as to why this happened. Any thoughts?

tina_88 5 pts

what is the maximum input current?

If I was going to replace the resistor with a trimmer to get some extra control over the voltage on my resonant output coil, what would it be?

If the gate resistors control current, they probably control the amount of energy in each pulse, and therefore the maximum resonant rise in the L1 of the flyback. So, if I understand correctly, I can use these to control voltage, but not frequency. :-)

Grenadier 6 pts moderator

To a certain extent the gate resistors can control resonant rise, but smaller values would in turn be harder for the diodes to pull down.

Is it important to match / tune the gate resistors precisely?

Hi is it possible to build a PWM to change frequency on this ZVS driver? Any schematics please? Thanks

Grenadier 6 pts moderator

Unfortunately no. You can't PWM a resonant circuit.

what is the yoscillator’s frequency that one of secondary circuit

what is the yoscillator's frequency that one of second circuit

It might help to make the inductor at least 4 times larger than the primary inductance of the transformer and use a freewheeling diode. Connect the diode's cathode to the V+ side of the inductor and connect the diode's anode to ground. The diode should be rated to carry the input current. A large bypass capacitor in parallel with the diode is a good idea too.

You might fix this Mazzelli converter by adding two small signal transistors and three resistors to each mosfet's drive circuit. Connect an npn transistor with its collector to the gate of the mosfet and its emitter to the source. Then connect a pnp transistor with it's emitter to the gate of the mosfet and its collector connected to the base of the npn though a resistor. Connect a resistor from the gate of the mosfet to the base of the pnp and another resistor from the base of the pnp to the anode of the diode. What happens... the cathode of the diode goes low and it pulls the base of the pnp down causing it to conduct which turns the npn on clamping the mosfet gate to source. The problem is the combined forward drop of the diode plus the voltage drop across the mosfet's Rdson on isn't low enough to reliably keep opposite mosfet off. The npn transistor clamps the mosfet off effectively. Also connect the two 470 Ohm resistors to a regulated voltage. The zener current climbing as V+ is cranked up isn't helping.

Grenadier 6 pts moderator

I've tried that before, unfortunately it didn't work :-/

Have you measured what frequency this was oscillating? Thanks Warren

At 60V supply the Vdss of IRFP260N will be near the 200V breakdown limit. So exceeding the 60V supply voltage limit the Vdss go over the 200V maximum and the mosfet will be damaged. amz.

Sir I've built this circuit and it gives really large sparks. I would like to lessen it's voltage out around 1kv. Is this possible cause I need this driver for another project?. Thanks for the info. Andrew.

Trackbacks

  1. [...] @xee2 @XEE2 Hey, how are you? I had an idea. Care to try your transformer inverter using a royer circuit, 1 capacitor, and one input choke, like this one? ZVS Driver | Teravolt.org [...]