## Tuesday, 3 April 2012

### Power supplies part III

Still getting on with the job of designing a linear power supply!

Last post talked about smoothing and why large electrolytic capacitors are used to remove ripple.  This post is going to talk about voltage regulators.

The voltage output from the previous circuit although now nice and smooth will not be constant.  As soon as an electronic 'load' or impedance to use the proper term is placed across the positive and zero volt terminals the voltage will drop because there is not a constant current present to drive the load.  The circuit that fixes this problem is called a voltage regulator.  There are many different types of circuits for making voltage regulators and they all have their place.  I don't intend going into all the different types of regulator here.  If people are interested the web sites below maybe useful:

http://en.wikipedia.org/wiki/Power_supply#Linear_regulated_power_supply - Wikipedia!

http://www.eevblog.com/2011/11/28/eevblog-221-lab-power-supply-design-part-1/ - the excellent EEVBlog by Dave L. Jones!

great for electronics theory.

Essentially a voltage regulator is a special circuit that provides a constant voltage to a current controlled device which keeps the output to the load constant whether the load or the supply are changing.  We know that the supply isn't constant as the transformer is supplied with an AC voltage which switches polarity every 10ms and the load attached to the output may not be constant either.

The constant voltage output is usually achieved by using a special diode called a Zener diode.  These devices are a special kind of diode which allow current to flow in both directions once a certain voltage is applied to the anode.  Zener diodes are used to provide a constant voltage reference.  Check out all about circuits page in zener diodes for more information here:

The next part of the regulator would be made up of a series pass transistor.  This is normally a high current transistor which is permanently switched on by the zener diode and a resistor and is used to keep the current output constant. So by implementing the circuit below we have a constant voltage regulator.  To keep the theory simple I have selected a 12V zener diode and that is what decides our output voltage for the power supply.

If we were to implement the circuit above it would provide us with a constant 12V (all right 11.643V) output whatever load was attached.  However there are better and easier ways of implementing the above circuit (Series voltage regulator) using an integrated circuit known as the three terminal voltage regulator.

There are literally hundreds of different types of three terminal linear voltage regulators - some of the more popular ones are the ubiquitous 78 series which are a fixed voltage output linear regulator.  Another might be the LT38 series.

For my power supply though I wanted an adjustable voltage output and so I'm going to use an adjustable voltage regulator - the venerable but useful LM317.  There are many manufacturers of this device but they all perform the same function.  The datasheet and application note for this regulator from Texas Instruments are here: