Design 5V DC Power Supply
Design 5V DC Power Supply
Hay there! I hope you are doing great. You landed here because you
are looking for some help to design a 5V power supply on your own?
Well then, I welcome you here. In this article, we will just not design a
power supply but also get to know about design calculations and all the
steps involved.
Put your soldering skill to challenge by designing this power supply for
yourself.
Buy Now
In the end, we will have a power supply with (just for giving you a rough
idea):
Hopefully, you will enjoy this post and will learn something.
Table of Contents [hide]
The design of 5V DC power supply
General Block diagram of a power supply
o a. The input transformer
o b. The rectifier circuit
o c. The filter
o d. The regulator
Circuit diagram of 5V DC power supply
Step by step method to design 5V DC power supply
o Step 1: The selection of regulator IC
o Step 2: The selection of transformer
o Step 3: The selection of diodes for the bridge
o Step 4: The Selection of smoothing capacitor and calculations
o Step 5: Making the power supply safe
Conclusion
Alright!
The Transformer
The Rectifier Circuit
The Filter
The Regulator
First, I will explain each block in general and then we will go for
designing. I think you need to understand which block is doing what
first.
So, let’s try to understand each section one by one.
As you are using the main supply voltage which can be too dangerous.
Never touch any of the terminals with bare hands or with bad
instruments. Have a good and decent non-contact voltage tester, and
use it to always be sure of which line is the live wire coming to the
transformer.
Basically, there are two types of rectifier circuits; half-wave and full-
wave. However, the one which we are interested in is a full rectifier, as it
is more power-efficient than the first one.
c. The filter
Nothing is ideal in practical electronics. The rectifier circuit converts the
incoming AC to DC but unluckily it does not make it a pure DC. The
output of the rectifier is pulsating and is called pulsating DC. This
pulsating DC is not considered good to power up sensitive devices.
So, the rectified DC is not very clean and has ripples. It is the job of the
filter to filter out these ripples and to make the voltage compatible for
regulation.
The best filter in our case is the capacitor. You may have heard, that a
capacitor is a charge storing device. But actually, it can be best used as
a filter. It is the most inexpensive filter for our basic 5V power supply
design.
d. The regulator
A regulator is the linear integrated circuit used to provide a regulated
constant output voltage. Voltage regulation is very important because
we do not need a change in output voltage when the load changes.
You are thinking, that I would start the design explanation from the
transformer but it is not the case. A transformer is not selected at the
very first.
In the design process, the next thing is, that we need to know the
voltage, current, and power ratings of the selected regulator IC. This is
done by using the datasheet of the regulator IC.
The following are the datasheet provided ratings and pin diagram for
LM7805.
Just for extra knowledge, for positive voltage output, we use LM78XX.
XX indicates the value of output voltage and 78 indicates positive
output. For negative voltage output use LM79XX, 79 indicates negative
voltage and XX indicates the value of output.
But, between the regulator and secondary side of the transformer, there
is a diode bridge rectifier too. The rectifier has its own voltage drop
across it i.e. 1.4V. We need to compensate for this value as well.
So mathematically:
Instead of individual diodes, you can also use one individual bridge that
comes in an IC package. But I don’t want you to use it here, just for the
purpose of learning and playing with individual diodes.
The selected diode must have the current rating more than the load
current (i.e. in this case is 250mA). And peak reverse voltage (PIV)
more than peak secondary transformer voltage.
We select the IN4001 diode because it has a current rating of 1A more
than our desired rating, and a peak reverse voltage of 50V. Peak
reverse voltage is the voltage a diode can sustain when it is reverse
biased.
Step 4: The Selection of smoothing capacitor and
calculations
Things we need to keep in mind while selecting a proper capacitor filter
are, its voltage, power rating, and capacitance value. The voltage rating
is calculated from the secondary voltage of a transformer.
The rule of thumb is, that the capacitor voltage rating must be at least
20% more than the secondary voltage. So, if the secondary voltage is
8.4 V (Peak value for 6V (RMS)), then your capacitor voltage rating
must be at least 50V.
So, the capacitor which we gonna use for our design is 470uF
For example, our desired load can handle 500mA. If in case our load
starts to miss behave, there is a chance of burring of components. The
fuse will protect our supply.
A rule of thumb for selecting the fuse rating is, it must be at least 20%
more than the load current.
The simple power supply we designed has the capability to deliver 1A
current, which in some cases you can use it for. If you decide to use it
for such cases, then don’t forget to attach a heat sink to the regulator
IC.
Conclusion
For me, if you are an electronics hobbyist or beginner, learning some
basic electronics, I would recommend you design your own lab power
supply.
It will help you learn electronics as well as give you the best lab power
supply.
I call it the best one because you will make it yourself. And I cannot put
it in words how much fun it is to play with electronics in a safe
environment. It is like learning from doing