Variable Voltage Power Supply Using Using LM317

In this project, I will show you how to make an variable voltage power supply of 0-35V/10A using LM317, which inputs AC supplies (220V-230V AC) and outputs DC voltage and current. Variable voltage power supply is commonly used for voltage regulation in today’s technical industry, labs and hobbies. This ic has the ability to control over-voltage protection, internal current controlling, overload protection, and many more. Another most important thing is this adjustable voltage power supply can be made by using only a few components. So, the LM317 regulator ic is very efficient and cheap to use and assemble in a circuit. This ic has an adjustable output voltage of 1.28 V to 12 V and has a maximum of 1.5 A current. The step by step process of the circuit diagrams is given.

Must Read Full Wave Rectifier

What is an Adjustable Power Supply?

An adjustable power supply is a device that allows the constant output dc voltage across the load to be controlled by an external source i.e. knobs or potentiometer. An adjustable voltage power supply is the one who has both regulation and adjustment ability. A regulated power source means that output resistance is very small.

Circuit Diagram

adjustable voltage power supply

Components Required

  • LM317 Voltage Regulator
  • 12-0-12 Step Down Transformer
  • 1N4007 Diode
  • 220 Ω Resistor
  • 10 KΩ Variable Resistor
  • 0.1uF Ceramic Capacitor
  • 1uF/50V Electrolytic Capacitor

Circuit Connection

In this adjustable voltage power supply, a step-down transformer of the 12-0-12 AC transformer is taken. Anyone end of the secondary coil and center tape of the transformer is connected with a full-bridge rectifier. The full-bridge rectifier is made by connecting four diodes(1N4007) to each other designated as D1, D2, D3, and D4 in the circuit schematics. The cathode of D1 and the anode of D2 is connected to anyone end terminal and cathode of D4 and anode of D3 is connected to the center tap of the secondary coil. The cathodes of diodes (D2 and D3) are connected from which one terminal is taken out for output of rectifier and anodes of diodes(D1 and D4) are connected from which another terminal is taken out for output from the full-wave rectifier.

A 0.1 uF ceramic capacitor is connected between the output terminals of the full-wave rectifier. For voltage regulation, an LM317 regulator is connected in parallel to the capacitor. A 10 KΩ variable resistor is connected in a voltage divider with the regulator IC for voltage adjustment and a capacitor of 1 uF/50V is connected in parallel to the output for compensating transient currents. There is a protection diode connected between the input voltage and output voltage terminals of the voltage regulator IC for short circuit protection.

Working Principle of Adjustable Voltage Power Supply

In this adjustable voltage power supply, the voltage of the main power supply is 220V-230V AC which further needs to be stepped down to 12V. To reduce the 220V AC to 12V AC, a step-down transformer is used. The use transformer allows us to generate both positive and negative voltage at the input.

The stepped-down AC voltage needs to be converted to DC voltage for use. Rectification is the process of converting AC to DC voltage. In this adjustable voltage power supply circuit, a full-wave bridge rectifier is used for converting the 12V AC to 12V DC. In a full-wave bridge rectifier, four diodes (1N4007) are connected in such a way that current flows through them in only one direction. During full-wave rectification, the two diodes become forward biased and another two diodes get reverse biased.

During the positive half cycle, diodes D2 and D4 are in forward bias while diodes D1 and D3 are reverse biased and the current flow respectively through the output terminal D2, and D4. During the negative half-cycle, diodes D1 and D3 are in forward bias, and diodes D4 and D2 are in reverse biased and the current flows through D1 and D3. The direction of both current ways is the same.

Filtering is the process of the DC signal done by using a capacitor. The output from the full-wave rectifier is not a pure DC voltage. This will be mixed with some noises called ripples. Therefore, it needs to be filtered by connecting a capacitor in parallel to the output of the full-wave rectifier. The capacitor charges and discharges during a cycle giving a pure and rectified DC voltage as output. But we can’t remove all the ripples from the rectifier. So, a capacitor of 100 uF/25V is connected to the output of the rectifier circuit. This capacitor acts as a filtering capacitor which diverts all the AC through it to the ground. At the output, the mean DC voltage left is filtered and ripples free. A capacitor of 0.1 uF is used for filtering the AC signal.

LM317 is a positive voltage regulator IC. The IC has three pins: (1. Input pin which can be supplied about 40V DC, 2. Output pin which drives output voltage in the range of 1.25V to 37V DC, and 3. Adjust pin which is used to vary the output voltage corresponding to the applied input voltage). For input up to 40 V, the output can vary from 1.25 V to 37 V DC. 

At this adjustable voltage power supply, for setting the desired voltage at the output of LM317, a resistive voltage divider(Variable Resistor) is used between the output pin and ground. The value of the resistive voltage divider is 100 KΩ that it can provide the required voltage range at the output. By adjusting the potentiometer, this adjustable voltage power supply circuit can obtain the desired voltage.

The LM317 provides a stable reference voltage of 1.25V across the adjustment pin. The LM317 provides a minimum load current of 10 mA.

Why Need to Use Zener Diode in Power Supply?

Zener diode is a widely used component as a voltage reference and shunt regulator to drive the voltage across a small circuit. It can be used to produce a stabilized voltage output with minimal ripples under varying load current conditions. When the load voltage equals the breakdown voltage VZ of the diode. The series resistor limits the current through the diode and drops the excess voltage when the diode is conducting. So the whole circuit can remain stable.

Application of Adjustable Voltage Power Supply

  • This adjustable voltage power supply circuit can be used in various types of power source applications.
  • It is used to drive the required voltage according to a specific device and prevent the device from damaging.

2 thoughts on “Variable Voltage Power Supply Using Using LM317”

  1. The circuitry very well explains so for any novice or beginner to make sense of how this circuit works, well done.

Leave a Comment