Learning Content and Theses

Platform for digital learning at HSHL

NMOS with Driver

Let us look at real power electronics circuits with real switches. Switches are usually controlled by microcontrollers. At their I/O pins, these output voltages of either 0V (LOW) or, for example, 5V (HIGH). The voltage in the HIGH state varies between microcontroller types; it can also be 3.3V or 2.5V. In this section we assume a HIGH voltage of 5V. Real switches are controlled with these control voltages.

I/O pin of a microcontroller as voltage source: LOW 0 V, HIGH 5 V

Let us build two NMOS into a half bridge with an inductive load:

Half bridge of two NMOS S1 and S2 at U_0 with inductor L as load
Last = load
\[ \text{Example: } U_0 = 400\,\mathrm{V},\ U_{TH} = 2\,\mathrm{V} \]

Let us start with switch 2. If the gate-source voltage of switch 2 is greater than UTH, switch 2 closes. For this, the gate voltage must be UTH above ground, because the source terminal of switch 2 is at ground.

The microcontroller that controls the switches is referred to ground. That is why controlling this switch with a microcontroller pin is easy. With the 5V of a microcontroller I/O pin, switch 2 can be opened and closed.

Microcontroller pin drives the lower NMOS S2 of the half bridge directly
Mikrocontroller = Microcontroller · Last = load
\[ \begin{gathered} U_{GS} = U_{\mathrm{LOW}} = 0\,\mathrm{V} < U_{TH} = 2\,\mathrm{V} \rightarrow S_2 \text{ opens} \\[6pt] U_{GS} = U_{\mathrm{HIGH}} = 5\,\mathrm{V} > U_{TH} = 2\,\mathrm{V} \rightarrow S_2 \text{ closes} \end{gathered} \]

Because switch 2 sits at the bottom of the half bridge, it is called the LOW-side switch. I assume here that you know the terms LOW and HIGH for the digital levels of a microcontroller.

Let us look at the HIGH-side switch 1. Its source potential equals the output voltage. The output voltage is either 0V or the source voltage of 400V. The gate voltage must be at least one threshold voltage UTH higher than this potential. Depending on the output voltage of the circuit, the gate voltage must be either greater than 2V or greater than 402V. How can this be achieved?

Driver circuit

A driver circuit controls the gate potential of a MOSFET relative to the source potential. No matter how high the source potential is, the gate potential is either reliably higher or reliably lower than the threshold voltage. This requires a signal transmission that must not have any electrical DC coupling. This is achieved, for example, with optocouplers.

An optocoupler is an opto-electrical component. The input voltage is referred to ground. A microcontroller can therefore drive this input directly with an I/O pin. The I/O voltage drives an LED via a series resistor. The light of the LED is picked up by a photosensor and converted into a control voltage for the gate USensor. The control voltage is applied between gate and source of the MOSFET. The LED and photosensor must not be electrically connected to each other. They are optically coupled, because the sensor voltage is high when the LED is lit and low when the LED is off.

Isolated driver: LED at the input, light sensor and boost at the output drive the gate of the MOSFET
Mikrocontroller = Microcontroller · Treiber = Driver · Eingang = Input · Ausgang = Output · Licht = Light · Vor = series

With this trick, the source potential can be at a completely different potential from ground.

The input and output circuits of a driver each need supply voltages. The input is usually supplied with the supply voltage of the microcontroller, which is available in the circuit anyway. In this case that is 5V.

A MOSFET switches faster with a higher gate voltage. That is why the gate-source voltage is often operated at ±15V. At +15V the MOSFET switches on faster than, for example, at 3V. At -15V it switches off faster than at 0V. So if a logic 0 (0V) is applied to the input, the driver sets the gate signal to 15V below the source potential. If a logic 1 (e.g. 5V) is applied to the input, the driver sets the gate signal to 15V above the source potential. For this, the output circuit of the driver needs a ±15V supply voltage. A driver solves this problem internally; we do not go into it any further here.

The sensor voltage serves to make the information “switch closed” or “switch open” available in the output section of the driver. The output of a photosensor cannot yet drive a gate that needs ±15V. A boost circuit sits between the photosensor and the gate.

For this, let us look at the MOSFET in a bit more detail. In simplified terms, we can imagine its input as a capacitor installed between gate and source. When current flows into the gate, the gate-source voltage rises. When current flows out of the gate, the gate-source voltage falls.

The more current flows, the faster the MOSFET switches over. To achieve fast clock frequencies in circuits, the switching time of the switches must be minimised. So we need a current source circuit with a high output current to recharge the gate capacitance. This current source charges the gate until +15V is reached. Or it discharges the gate until -15V is reached. At +15V the drain-source resistance is minimal. At -15V it is maximal.

No current flows permanently into or out of a gate. The current is only needed for switching over.

Driver with current source at the output, supplied with U_S + 15 V and U_S − 15 V

Drivers are designed to switch a MOSFET over as fast as possible. To reduce the switching speed, a gate series resistor RG can be installed in series between the driver output and the gate. Then less recharging current flows between the boost circuit and the gate capacitor. The switching process becomes slower.

Driver with gate resistor R_G between current source and gate

We wanted to control a half bridge with two NMOS transistors from a microcontroller. For this we also provide a driver with a current source output for the LOW-side switch, so that this NMOS can also be switched over quickly. Then, within the driver, we use logic to ensure that both NMOS are never open at the same time or closed at the same time. They are always switched on and off alternately.

A single driver chip makes both NMOS happy. This dual driver needs only one control input from the microcontroller, which is passed through for the LOW-side transistor and inverted for the HIGH-side transistor. The result is the following circuit:

Half bridge with driver: logic drives the upper NMOS via an isolated channel and the lower NMOS directly
Mikrocontroller = Microcontroller · Treiber = Driver · Logik = Logic · Licht = Light · Strom- = Current · quelle = source · Vor = series · Stromquelle = current source

Download course as PDF

The PDF contains all pages of the course. Interactive content is only available on the website.