This project uses the application of the LM317 voltage regulator to create a voltage regulator supply. Since the component cannot be found, we used the LT1083, a fairly similar component that shares the same features as the LM317. The predicted voltage output is shown below and is derived from the LM317βs data sheet. We also ran simulated output voltages using LT Spice. Lastly, we built the actual circuit and used a voltmeter to gather physical data.
3. 3
Abstract
This project uses the application of the LM317 voltage regulator to create a voltage
regulator supply. Since the component cannot be found, we used the LT1083, a fairly
similar component that shares the same features as the LM317. The predicted voltage
output is shown below and is derived from the LM317βs data sheet. We also ran
simulated output voltages using LT Spice. Lastly, we built the actual circuit and used a
voltmeter to gather physical data.
Introduction
Devices nowadays are all powered and run on batteries that supply a specific voltage.
Some devices require more voltage than others and thus require a different type of
battery. In order to prevent damage to the device when using a battery with a higher
voltage than is required to power the device, a voltage regulator can be used in
conjunction with the input voltage in order to output a specific voltage that will make the
device work. With the use of the voltage regulator it is possible to use a battery with a
higher voltage than is necessary and essentially output a different voltage. The purpose
of this project is to design, build, and test the LM317 using the LT1083 voltage regulator
to output different voltages using a 9V battery. Figure 1 below shows the schematic of
the LM317 where Vout is dependent on the value of resistors R1 and R2. In this project
however, we will integrate an 8 pin switchboard to set R2 along with R3, R4, R5, R6,
R7, R8, and R9. This way we can accurately set the resistance values and Vout with the
flip of a simple switch. This design can be seen on the LT Spice schematic shown in
Figure 2.
5. 5
Equations/Theory
The purpose of the LM317 is to allow control over the input voltage by regulating the
amount of voltage that is input. For our circuit, we have eight resistors connected to a
switch box of 8 switches connected to ground. Also connected are a 1ΞΌF and a .1ΞΌF
capacitor used to step down the output voltage in increments. This setup allows us to
use a combination of resistors to change the output voltage. By having all eight switches
open, we will reach a maximum output voltage. Meanwhile, opening all of the switches
will gives us the reference voltage, 1.25V. The datasheet for the LM317 voltage
regulator was used to determine the range of πππ’π‘ and the equation to calculate it. The
theoretical range of the LM317 is 1.2 volts to 37 volts and the maximum output voltage
is 1.25 V less than the input voltage. From Figure 1, we can derive the formula for
output voltage through the characteristics of the LM317 given by the datasheet.
πππ’π‘ β ππππ = 1.25 π where ππππ = 1.25 π + π 2(πΌ πππ + πΌ1) = 1.25 π + π 2 πΌ1 + π 2 πΌ πππ
πΌ1 =
1.25 π
π 1
which then gives us πππ’π‘ = 1.25 π +
1.25Γπ 2
π 1
+ π 2 πΌ πππ
πππ’π‘ = 1.25 π(1 +
π 2
π 1
) + π 2 πΌ πππ The second term is in microvolts andcan be ignored. We
can also replace π 2with π ππbecause our circuit will have more than two resistors.
πππ’π‘ = 1.25 (1 +
π ππ
π 1
) (1) % πΈππππ =
|π ππππβπ πππ‘π’ππ|
π ππππ
Γ 100% (2)
The reference voltage set to 1.25V with a tolerance of .05V. This gives us the following
for our output voltage. Vout < Vin - 1.25. Thus, our maximum output voltage can be
between 7.5 - 7.8V.
6. 6
Equipment
Part Name Quantity
9V Battery 1
270β¦ Resistor 9
.1 Β΅F Capacitor 1
1 Β΅F Capacitor 1
LM317 1
8 Switch Module 1
PCB Board 1
Electrical Wires 3
Figure 3. List of parts
Figure 3. Completed circuit
8. 8
Procedure
Before constructing the circuit, we first ran a simulation of how the circuit would run on
LT Spice. Unfortunately, we were unable to use the same component, LM317, so
instead we used a similar component, the LT1083. We were able to able to scale the
voltage of the battery to as low as 1.37 volts and as high as 7.8 volts. We set our LT
Spice schematic where every 1.5 seconds a switch would be pressed starting with
switch 1. As you can see on the graph below, every time a switch is pressed, the output
voltage is increased as well. Using an 8-switch box with nine total resistors, we are able
to close any switch and control the voltage as such. The output voltage equation, which
is given by the LM317 datasheet, shows that higher resistances for resistors two
through eight will increase the output voltage. Therefore, if all of the switches are open,
then we would reach the maximum voltage output. After simulating the circuit in LT
Spice, we found that the LM317 voltage regulator functions as expected
Figure 6. LT Spice simulation graph
9. 9
Results
The table below shows our calculated, simulated, measured output voltages. The
percent errors in the graph also show that we got similar results between all the different
results with the highest percent error being 9.8%. This can be attributed to a couple of
errors in the type of voltage regulator used. We were unable to use the LM317
component on LT Spice and were instead left with a similar component, the LT1083 to
use for our simulated results. The tolerance in each individual resistor can differ by as
much as .05% leaving us to assume that this is another cause for our percent error.
After constructing our actual circuit and measuring our output voltages, we were able to
get very similar results compared to our calculated values with our highest percent error
being as high as 0.8%.
Req (β¦) Req/R2 Calculated (V) Simulated (V) Measured (V) Simulated %Ξ Measured %Ξ
0 0 1.25 1.2 1.26 9.60% 0.80%
270 1 2.5 2.72 2.51 8.80% 0.04%
540 2 3.75 4.12 3.77 9.80% 0.05%
810 3 5 5.45 5.02 9.00% 0.04%
1080 4 6.25 6.8 6.27 8.80% 0.03%
1350 5 7.5 7.3 7.02 2.60% 6.40%
1620 6 7.8 7.58 7.83 1.06% 0.04%
1890 7 7.8 7.8 7.83 0% 0.04%
2160 8 7.8 7.8 7.83 0% 0.00%
Figure 7. Table of measurements and calculations
10. 10
Conclusion
The LM317 (LT1083) voltage regulator is designed to scale an input voltage so the
output can be properly adjusted for the load circuit. It is a reliable voltage regulator for
obtaining the exact voltage output one needs. The circuit we built performed better than
expected, having little difference from our calculated and expected results. In this
project we learned that the reference voltage of the LM317 is dependent on the
resistance of the equivalent resistance in the basic application circuit. In conclusion, our
results were accurate enough and within acceptable percent error to use this circuit as
an adjustable power supply.