Source: http://onmyphd.com/?p=voltage.regulators.linear.zener.diode.shunt

- Basics of electronic circuits
- Zener diodes
- Bipolar Junction Transistor (BJT) operation
- MOSFET operation
- Opamp principle of operation
- What is a voltage regulator
- What is a linear regulator

- How do shunt regulators control the current flowing into the load?
- Shunt regulator with active devices
- Shunt regulator with feedback

Linear regulators control the voltage drop between the input and output as required to produce the desired output. Shunt linear regulators control the voltage drop indirectly by controlling the current that flows to a path in parallel with the load.

Concept of linear shunt regulator

The efficiency of the regulator is $$\eta = \frac{P_{out}}{P_{in}} = \frac{V_{out} I_{out}}{V_{in} I_{in}} = \frac{V_{out}I_{out}}{V_{in}(I_{out}+I_{z})}$$ and the power loss is: $$P_{in} - P_{out} = V_{in}I_{in} - V_{out}I_{out} = (V_{in} - V_{out}) I_{in} + V_{out} I_{z}$$ i.e., the power loss is equal to the power lost in the resistance $R_S$ , plus the power consumed by the parallel resistance $R_Z$.

The simplest shunt regulator is made with a resistor and a **zener diode**. Every diode has a maximum reverse voltage above which it breaks down, the properly named reverse breakdown voltage. A zener diode differs from normal diodes in that its breakdown voltage is well-defined during fabrication and it can revert from the breakdown region. In this region, its dynamic resistance is very low, which means that a large change in current has a small effect on its voltage. Therefore, the zener diode has the ability to keep a reasonably steady reverse voltage at its terminals around its breakdown voltage for a wide range of reverse currents. This property makes it a voltage reference on its own.

Basic linear shunt regulator

Then, the series resistance of the shunt regulator is sized such that the current $I_{in}$ flowing through the resistance is equal to the current $I_{out}$ flowing through the load plus the current flowing through the zener diode necessary to put it in breakdown $I_Z$. $$I_{in} = I_Z+I_{out}$$ The current flowing through the resistance is of course, the difference between input and output voltage divided by the resistance value: $$I_{in} = \frac{V_{in} - V_{out}}{R_S}$$ Putting it all together, we get: $$R_S = \frac{V_{in} - V_{out}}{I_Z+I_{out}}$$ For a fixed resistance $R_S$, a change in the load current will be compensated by an opposite change in the zener current. However, this has two drawbacks:

- A change in the zener reverse current will have some, although small, effect on the zener reverse voltage. Therefore, the output voltage will have some dependence on the current load
- If there is a large drop in load current, the current that the zener will have to compensate may damage it.

Improvements can be made by adding active devices to the regulator. Active devices, such as a transistor, can drive large loads while being controlled by a low power signal.

Linear shunt regulator with active device

As before, the zener diode sets a constant voltage, this time to the base of a power Bipolar Junction Transistor (BJT). The output voltage is the zener voltage plus the $V_{BE}$ drop of the BJT. The improvement of this regulator is that any change in the load current is actually compensated by the current $I_C$, which can handle more current than the zener diode. The zener current is only affected by the base current of the BJT, which is $I_C$ divided by the $\beta$ parameter of the BJT. Given the small value of the base current, the zener voltage is hardly affected by changes in load current, unlike the first version of the shunt regulator. To quantify this, we see that the zener current $I_Z$ is equal to the current flowing through $R_D$ plus the BJT base current $I_B$. Also, the input current is the sum of the currents in the three parallel branches. In sum: $$R_S = \frac{V_{in} - V_{out}}{I_{in}}$$ $$I_{in} = I_Z + I_C + I_L$$ $$I_Z = I_D + \frac{I_C}{\beta}$$ Putting all pieces together, the $R_S$ resistor should be sized such that: $$R_S = \frac{V_{in} - V_{out}}{I_D + \frac{\beta+1}{\beta}I_C + I_L}$$ Since the zener current is small, the load current is balanced by the BJT current.

The circuit stabilizes in states where all the following conditions are met: $$I_S = I_Z + I_C + I_L$$ $$V_{out} = V_{in} - R_S I_{in}$$ $$V_{be} = V_{out} - V_{Z}$$ $$I_C = I_{es}(e^{\frac{V_{be}}{V_t}}-1)$$ $$I_L = V_{out}/R_L$$ $$I_Z = \frac{V_{be}}{R_D} + \frac{I_C}{\beta}$$

vout
vbe
iz
id
ic
ib
is

$V_{in}$ = | |

$I_{L}$ = |

Take some time to experiment with this example and have a feeling for how a linear regulator with a BJT shunt transistor works. Say we want to have a 5V output. Considering that the $V_{be}$ drop is around 0.7V, the zener should have a reverse breakdown voltage of 4.3V. The first slider controls the input voltage and the second slider controls the current that the load is requesting. The negative feedback created by the zener diode and the BJT sinks the current necessary to create the voltage drop $V_{in} - V_{out}$ in the resistance $R_S$. The left plot shows the $I_c-V_{be}$ curve of the transistor, as well as its operating point. As the load current is increased, the current that the BJT sinks must decrease to balance the current $I_S$ and therefore the voltage drop. If the load current is too high, it alone, flowing through $R_S$ can push the output voltage below 5V. A bigger input voltage allows a larger current to flow through $R_S$, thereby allowing more headroom for the BJT current. The right plot marks the output voltage every time you move the sliders. With that, the right plot will build the input-output voltage map. To start over, click on the Clear button. You can also see the state of the circuit (voltages and currents) on the circuit diagram above.

A similar option is to use a PNP transistor and switch the positions of the zener and $R_D$. The rationale is the same, and the equations can be derived the same way.

Linear shunt regulator with active device

There is a problem with both versions, though: A larger input voltage will increase the current flowing through $R_S$ and consequently through all parallel branches of the regulator. Due to higher currents, the zener voltage as well as the BJT base-emitter voltage will increase, which affects the output voltage (you may try that in the example above). To avoid that, negative feedback must be employed to keep the output voltage stable under all sources of perturbations, including variations in input voltage and load current.

This more elaborate example of a shunt regulator adds a feedback loop to monitor the output voltage and dinamically biases the BJT to sink the extra current. The component of excelence to implement this feedback loop is the opamp.

Linear shunt regulator with feedback

The zener diode provides the reference voltage to the negative input of the opamp. Note that any other kind of voltage reference, such as a bandgap voltage reference would also work (and it is actually better). A voltage divider composed by $R_1$ and $R_2$ provides a measure of the output voltage suitable for the opamp, i.e., if we want the output voltage to be $k$ times higher than the voltage reference, than the voltage divider should divide the output voltage by $k$ so that both inputs of the opamp can be equal for the desired output voltage. Then, the opamp drives the BJT such that its positive input (the output voltage) follows its negative input (the reference), due to the beautiful effect of negative feedback. Say the output voltage rises above the reference voltage. The differential input voltage of the opamp increases and also the driving voltage of the BJT. In turn, the BJT pulls more current, increasing the input current and the voltage drop in $R_S$, thereby reducing the output voltage. This works just as well when the output is below the reference voltage. Then, any perturbation of the input voltage or the load current (or even others) will affect the output voltage, but the feedback loop will quickly adjust the driving of the BJT base to stabilize the output voltage at the desired reference.

Linear regulators datasheets provide information about the sensitivity of the output voltage to the output current (load regulation), the input voltage (line regulation) and temperature (thermal regulation).