Friday, December 30, 2011

Gate Drivers!

I'm really, really, really bored right now, so I've decided to document the art of turning on your bricks hard and fast. Amazingly enough, there is very little out there about high power gate drives - high-side drivers don't go over 4A or so, and the low-side gate drive IC's become distressingly expensive past 9A.
First of all, NEVER, EVER, EVER drive your gates directly off the outputs of your logic IC's. Contrary to the ideal model, MOS gates are not ideal high-impedance loads; they behave like capacitors. So, depending on stupid you were when you decided to drive a gate with a logic chip, one of two things will happen:

1) You used no gate resistor at all. In this case, the gate capacitor will present itself as a short when uncharged, try to draw too much current from the chip, and the chip will let out its magic smoke.
2) You used something like a 1K resistor on the output of the chip. The RC circuit formed by the resistor and capacitor will have a high time constant, causing the transistor to stay in linear mode for too long. The switching losses will eventually heat the transistor to the point of failure, the magic smoke will come out, and you will be very, very sad.

How much current exactly do we need? Well, the datasheet reveals all secrets:

The parameter we care about here is "gate charge". The datasheet says that it is 7.2 microcoulombs, which means that to raise the gate from -15V (more on negative gate drive later) to 15V, we need to put 7.2 uC of charge into the gate capacitor. Suppose we're switching at 60 kHz (typical for a large Tesla coil). This means each cycle is about 15 uS long. A Tesla coil switches twice per cycle, so we actually care about the length of the half-cycle (7.5 uS). We are going to, somewhat arbitrarily, say that we want to turn on in 150 nS. Putting 7.2 uC into a capacitor in 150 nS requires 7.2e-6/1.5e-7 = 50A!
Why the arbitrary 150 nS? Once again, the datasheet says hi:
An IGBT or MOSFET's switching times are determined by four distinct periods: turn-on delay, rise time, turn-off delay, and fall time. In an IGBT, the turn-off delay dominates, and cannot ever be significantly shortened by the user. The "rise time" and "fall time" are largely determined by the gate drive, and are the periods during which the gate capacitance is being charged. In hard-switched circuits, these periods determine the losses. In a DRSSTC, the turn-off delay determines how far from zero current the transistor switches, and therefore how much power is dissipated in the transistor.
We can get the gate drive current out of either a single IC, or out of a discrete gate driver made from a handful of parts.

Gate Drive IC's:


These are monolithic IC's designed to simplify the task of driving gates. They have logic-level, high-impedance inputs and output stages capable of sourcing and sinking brief pulsed currents. Gate drive IC's are available in inverting and non-inverting flavors, and often come with an ENABLE pin that can be pulled high or low to turn the output on or off. They range in from tiny 2A drivers, all the way to the amazing IXDD630, which can source and sink 30A of peak current and dissipate over 100W.
Gate drivers are easy to use, but have their problems. For one thing, high-power gate drivers are hard to come by and costly - the IXDD630 is $8 a piece and is, as far as I know, a unique chip. Secondly, they are often very delicate. While able to source and sink tremendous peak currents for their size, the common ones in a DIP-8 package are thermally limited to a couple hundred milliamps average. This makes them of little use when it comes to driving large transistors at high frequencies.
As an aside, my preferred gate drive IC are the UCC37322/37321 from TI. 9A is enough to drive a full-bridge of 60A IGBT's, and they won't burn up doing it at 100KHz. And you can sample them from TI!

Discrete Gate Drivers:


To get around the problems of pre-made gate drivers, we can use a gate drive made of discrete parts, like so:
This is an inverting gate driver using a half-bridge consisting of a PFET and an NFET. The gate of the PFET is brought up to +15V as the NFET turns off , which turns the PFET on. This driver will switch the largest IGBTs, and is extremely robust - the FETs themselves can handle tens of amps continuously with proper heatsinking. It suffers from shoot-through if the NFET gate voltage is too high (i.e. both MOSFETS turn on at the same time, shorting the supply). This can be solved by placing an LM317 or other adjustable regulator on the supply of the IC driving the NFET, or by using a P-N pair known not to shoot through (I use the IRFZ24N/9Z24N).

The magic high-side isolated gate drive

There's one important point we've failed to mention: in most configurations (half/full bridge, buck converters, etc.) there is transistor on the "high-side" - its source is not connected to ground, but rather, to the load. When the low-side switch turns off, the source of the high-side switch is at Vcc with respect to ground, which means that the gate needs to be driven to Vcc+15V above ground. Furthermore, the input signal, which is ground-referenced and usually comes from the logic circuit, needs to be isolated from the high voltages that are often present. We can achieve this isolation in several ways:

1) Bootstrapped high-side gate drives:

Here, a capacitor servers as an isolated power supply, and is charged to Vcc+15V through a diode. Internal level shifter circuitry provides the necessary isolation. This circuit is simple and easy to use, but has several caveats. It cannot operate at very low or very high duty cycles, and gate drivers with internal level shifters are available only up to 4A.

2) Gate drive transformers:
A small ferrite transformer provides isolation. The input signal is first converted to an AC signal (by means of a DC blocking cap, or via a push-pull pair of gate drivers) and fed into the transformer. The secondary of the transformer is floating, and can be safely connected to the gate and source of the high side. GDT's are ideal when driving at 50% duty cycle, e.g. in a H-bridge inverter, since then a single GDT with four secondaries can provide drive signals for all four transistors. They provide a very simple way of getting the magic isolated gate drive, but suffer from several serious problems:

a) Loss of signal quality. Unless a GDT is very carefully designed, the square wave you put in will not be a perfect square wave when it comes out. This can reach the point where the output waveform becomes complete garbage, especially at high frequencies.
b) Poor efficiency. This doesn't manifest itself with small transistors, but driving a H-bridge of bricks using a GDT is rather cumbersome. Because of the low efficiency of the magnetic coupling, a gate drive that would normally draw only a few watts can draw over 50 watts, resulting in a hot GDT and hot gate drivers.
c) Inability to pass DC signals. The GDT will saturate if the input signal has a nonzero average component. This makes it impossible to pass signals of greater than 50% duty cycle.

Gate drive transformers are nearly ideal for inverters, and not really usable for DC-DC converters.

3) Discrete, floating gate drivers:

This circuit runs a standard low-side gate drive off of a discrete floating power supply, either a small iron isolation transformer or a isolated switching power supply. The low side driver can be the discrete driver mentioned above, or your favorite gate drive IC. To couple an isolated signal to the driver, one can use an optocoupler or an intermediate GDT.
Discrete gate drivers work for everything. For DC-DC converters using bricks, it is the only choice. For Tesla coils and transformer drivers, it is arguable whether a discrete driver is superior to a GDT - the former offers more control and is more efficient, but the latter has fewer parts to break.

Getting the most out of your bricks:

There are a few things you can do to help push your transistors to their limits:

1) Negative gate drive: when you turn the transistor off, don't pull the gate to 0V. Pull it to -10V or -15V; this helps the transistor turn off more quickly, and also prevents dI/dt induced turn-on. Powerex IGBT's are in fact spec'd for -10V drive.

2) Smaller gate resistors: this only really works when your trying to push the operating frequencies. Using out-of-spec gate resistors increases ringing on the gates, but can also improve switching times. Start from something absurdly small (perhaps 0 if your driver can handle it) and go up until you find the ringing acceptable. Note that this is not an acceptable technique in hard-switched circuits, as faster switching means more dI/dt, and a transistor can only handle so much; at the very least, LdI/dt induced voltage will break down the transistor.

3) Out-of-spec gate voltages: applies only to soft-switching, where most of your losses are conduction losses. Raising your gate voltages to 20, 24, or even 30V can help open up the channel more and reduce forward voltage drop. Often more importantly, 15V gate drive might not be enough to keep the IGBT in saturation when running out-of-spec currents. Unfortunately, it also slowly degrades your gates over time, so be careful! This is more relevant to small, cheap IGBTs - it is usually not necessary to drive a brick's gate beyond the spec'd 20V, and isn't really worth the risk (especially since DRSSTC's no longer try to push 2kA+ on 300A devices!).

3 comments:

  1. C1 of Discrete Gate Drivers is 1uF or 0.1uF?

    ReplyDelete
  2. I really like your blog. Great article. It's most evident, people should learn before they are able to myapps tesla

    ReplyDelete