• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Electronics Theory / Calculating Filter Capacitor for Smoothing Ripple

DIY Circuits | Learn Basics | Arduino Coding




Calculating Filter Capacitor for Smoothing Ripple

Last Updated on July 13, 2024 by Swagatam 57 Comments

In the previous article I explained about ripple factor in power supply circuits, here we continue and evaluate the formula for calculating ripple current, and consequently the filter capacitor value for eliminating the ripple content in the DC output.

The previous post explained how a DC content after rectification may carry the maximum possible  amount of ripple voltage, and how it may be reduced significantly by using a smoothing capacitor.

Although the final ripple content which is the difference between the peak value and the minimum value of the smoothed DC, never seem to eliminate completely, and directly relies on the load current.

In other words if the load is relatively higher, the capacitor begins losing its ability to compensate or correct the ripple factor.

Standard Formula for Calculating Filter Capacitor

In the following section we will try to evaluate the formula for calculating filter capacitor in power supply circuits for ensuring minimum ripple at the output (depending on the connected load current spec).

C = I / (2 x f x Vpp)

where I = load current

f = input frequency of AC

Vpp = the minimum ripple (the peak to peak voltage after smoothing) that may be allowable or OK for the user, because practically it's never feasible to make this zero, as that would demand an unworkable, non-viable monstrous capacitor value, probably not feasible for anybody to implement.

waveform after rectification

Let's try to understand the relation between load current, ripple and the optimal capacitor value from the following evaluation.

Relation Between Load Current, Ripple, and Capacitor Value

In the mentioned formula we can see that the ripple and the capacitance are inversely proportional, meaning if the ripple needs to be minimum, the capacitor value needs to increase and vice versa.

Suppose we agree to a Vpp value that's, say 1V, to be present in the final DC content after smoothing, then the capacitor value may be calculated as shown below:

Example:

C = I / 2 x f x Vpp (assuming f = 100Hz and load current requirement as 2amp))

Vpp should be ideally always a one because expecting lower values can demand huge unpracticable capacitors values, so "1" Vpp can be taken as a reasonable value.

Solving the above Formula we get:

C = I / (2 x f x Vpp)

= 2 / (2 x 100 x 1) = 2 / 200

= 0.01 Farads or 10,000uF (1Farad = 1000000 uF)

Thus, the above formula clearly shows how the required filter capacitor may be calculated with respect to the load current and the minimum allowable ripple current in the DC component.

By referring to the above solved example, one may try varying the load current, and/or the allowable ripple current and easily evaluate the filter capacitor value accordingly for ensuring an optimal or the intended smoothing of the rectified DC in a given power supply circuit.

You'll also like:

  • p channel selectionP-Channel MOSFET in H-Bridge Applications
  • opto coupler relay driver circuitHow to Connect a Relay through an Opto-Coupler
  • 795px Mosquito Tasmania cropHow Mosquito Traps Work
  • How to Configure Resistors, Capacitors and Transistors in Electronic Circuits

Filed Under: Electronics Theory Tagged With: Calculating, Capacitor, Filter, Ripple, Smoothing

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!

Previous Post: « Digital Power Meter for Reading Home Wattage Consumption
Next Post: What’s Ripple Current in Power Supplies »

Reader Interactions

Comments

Bruce says:
July 12, 2024 at 3:44 pm

Great site, Swagatam!!
Hope it gets better and better 🙂

My question is about an old chinese computer SMPS. All the output voltages are low. These smps use minimum filter capacitor values, so what would be the correct values for the 12v and 5v rails on a 500w smps.

If I triple the existing output capacitor values would there be any adverse effect on the computer?

Reply
Swagatam says:
July 12, 2024 at 6:01 pm

Thank you Bruce, Glad you liked this site!
In SMPSs the output filter capacitor is smaller because of the very high frequencies used in SMPS circuits.
As the frequency increases the capacitor value decreases.
However, increasing the capacitor will only help to produce cleaner and smoother DC outputs, so increasing the capacitor value will only enhance the DC quality and have no adverse effects on the load.

Reply
Bruce says:
July 12, 2024 at 10:06 pm

Thank you for your prompt reply Swagatam!
I hope your site becomes one of the leading sites for electronics hobbyists/inventors/kit builders. 😉

Reply
Swagatam says:
July 13, 2024 at 8:55 am

Thank you so much for your kind words, I appreciate it very much.

Reply
Ashu says:
November 29, 2023 at 12:08 am

sir, namaskaar hamein vpp apne load ke hisaab se kitna rakhna chahiye ya phir vpp hamesha har circuit mein 1 hi rahega.kripya bataye

Reply
Swagatam says:
November 29, 2023 at 10:18 am

Ashu, Vpp can be always assumed to be 1 which is an acceptable value for all types of filter capacitor calculations.

Reply
Mike Long says:
March 14, 2023 at 9:54 am

Lets look at a circuit that has 42Vp from a fwbr. Output current is up to 130Adc into a capacitive load Z=.000503j ohms(~5F @120Hz). Capacitive load does not charge up as it creates a continuous arc. Im coming up with a 28000uF 63V cap for filter. You agree?

Reply
Swagatam says:
March 14, 2023 at 11:43 am

If you have calculated the result using the formula and the parameters provided in the above article, then it should be correct.

Reply
Brett Robinson says:
December 24, 2022 at 2:13 pm

Hi.
In your worked example, you write “C = I / 2 x f x Vpp” which is, of course, incorrect. The correct formula is the one you write correctly before it:
C=I/(2 x f x Vpp) where I = current (amps), f = frequency (Hertz) and Vpp is the Peak to Trough voltage difference (volts).
Although I note that you say 1 volt is a useful ripple current. I build guitar effects pedals where 1 mV is the desirable ripple current (a guitar signal ranges from less than 1 mV to 1V).
In my guitar amplifier, with a Vsupply of 400V, a Vpp of 20V after the primary filtering capacitor is acceptable. Further filtering (Resistor-Capacitor type) is used to reduce Vpp at the amplifier. As you’re aware, two smaller capacitors, separated by some resistance is more effective than a single capacitor. (e.g. in the example of the amplifier above, a 47uF capacitor is inferior to a 10uF capacitor followed by a 1kohm resistor and another 10uF capacitor (for a load of 100kohm)).
cheers

Reply
Godfrey Godfrey says:
July 4, 2022 at 4:50 am

Dear Sir,
Please sir, does the formula also apply for battery power supply?
For instance, 12V 12Ah lead acid battery, what’s the capacitance value to be used?

Reply
Swagatam says:
July 4, 2022 at 9:42 am

Hi Godfrey, Filter capacitor is never required for battery power supply, because battery DC does not have any ripple voltage

Reply
Jeffrey Bobier Siapno says:
May 19, 2022 at 8:22 am

Calculate the C-filter capacitance which will lead to a 3.5% ripple when the load is 112 mA while the input to the filter is 21Vpeak? Show your solution.

Can you help me how to solve this

Reply
Swagatam says:
May 19, 2022 at 9:35 am

Looks difficult to me since the ripple is in percentage and a load current is involved…all these will require different sets of formulas to solve.

Reply
Lawrence Sprung says:
March 26, 2022 at 11:11 pm

Hi, thank you for the very clear and useful information. I assume that 1 volt of ripple means that the peak v drops down by 1v. Example: if I am supplying the load with 120v then the ripple will be 120 peak down to 119 and up to 120 etc. Is this correct?
Also, the use of anode and cathode are confusing. I looked it up online and one thing said cathode is the negative terminal and another said it is the positive. Because of the danger of connecting an electrolytic capacitor backward, can you tell me with just positive or negative. Example: my bridge diode is marked with a + and – and the electrolytic capacitor also has + and – I understand that I connect the capacitor in parallel between the diode and the load (a dc motor) So, do I connect the + terminal of the capacitor to the wire connected to the + terminal of the diode? or to the negative?

Reply
Swagatam says:
March 27, 2022 at 10:18 am

Hi, thanks, regarding the ripple voltage your understanding is correct.

Cathode, anode terms are used for diodes and LEDs…anode refers to the terminal which accepts the positive voltage…and cathode refers to the terminal which is connected towards the negative of the supply. For electrolytic capacitors we always use the term negative/positive.
Yes the + terminal of your capacitor will go to the + supply line.

Reply
Jennifer Isaac says:
January 16, 2022 at 12:37 am

Sir,
I am designing a current source inverter where a capacitor is introduced in the input DC side. This capacitor has to provide the 100hz ripple that is present at the output. What would be the design if this capacitor??

Reply
Swagatam says:
January 16, 2022 at 10:34 am

Hello Jennifer, I have not yet investigated the current source inverter in details, therefore I am not well versed with this concept so far!

Reply
Larry Ball says:
December 18, 2021 at 1:00 am

Hello Swagatam

Do you work in the world of vacuum tubes(circuits)?

Thank You
Larry
Weastminster Colorado

Reply
Swagatam says:
December 18, 2021 at 10:22 am

Hello Larry,

Sorry, I do not have any ideas regarding how vaccum tubes work.

Reply
Ali mowahed says:
December 1, 2021 at 2:12 pm

Hello, I was going to edit my previous comment/post but looks like it is not possible. So this a follow up.
When I used your formula the capacitance I need is 160,000 uf. That is a lot. I have never seen an electrolyte capacitor with such rating. The most, the highest rating electrolyte capacitor I have seen is 4500 uf and something like 220volts.
If that is what is needed, that is a lot of capacitors.

Reply
Swagatam says:
December 1, 2021 at 6:27 pm

The calculation will provide the most ideal value, which is actually not required in real life experiments, since slight bit of ripple is always acceptable.
4500uF/220V is a huge value and should be enough to completely stop the humming sound.

Reply
Ali mowahed says:
December 4, 2021 at 8:25 am

I had that electrolyte capacitor wrong in terms of polarity. It is a good thing it did’t explode. Today I installed one correctly 470uf, 200V. I noticed it didn’t make much difference. Someone on youtube was saying that the ferrite thing he used with wires looped in it between the rectifier and the motor helped a lot more than using capacitor. I am thinking of using that ferrite along with a choke, if that makes any difference. Also the AC voltage regulator has 500K potentiameter. I am thinking of installing a 100K, because I have to turn the potentiameter more than half way for the motor to even turn and the capacitor made it even worse and had to turn the knob even more.

Reply
Swagatam says:
December 4, 2021 at 1:54 pm

Thanks for updating the info…you can definitely try those modifications, hope it solves the problem!

Reply
Ali mowahed says:
December 1, 2021 at 2:03 pm

Hello Sir,
I am trying to get DC power supply to run a Treadmill motor. It is 3HP, 100V 23 A motor.
I am using an SCR AC power supply and got a full bridge rectifier. The motor runs. But there is that hum. I can not for the life of me can understand what rating of smoothig capacitor I should use to soften the hum. I assume I need to use an electrolyte capacitor.
Even after reading your article I still don’t get what voltage and what capacitance I need. Also I don’t mind using multiple capacitor and or combined with resistor or whatever it takes to do it right. I have plenty capacitors and resistors or what have you. I appreciate any help you can throw my away. And thank you for everything you do.

Reply
Swagatam says:
December 1, 2021 at 6:23 pm

Hello Ali, voltage of a capacitor indicates the maximum voltage that it can handle, and exceeding that voltage will cause the capacitor to burst….it has nothing to do with the microfarad value of the capacitor or the smoothing level of the capacitor. If your supply is 100V then the voltage of the capacitor can be 150V to be perfectly safe.

If your 100V DC is coming from a bridge rectifier then you can connect the smoothing capacitor directly across the +/- supply lines, no resistors will be required.

You can try 500uF/150V or 1000uF/150V and this will stop the humming sound for sure. The capacitor can be electrolytic or non-electrolytic it does not matter.
Calculating the capacitor is not required, you can randomly go on increasing the value until you find the humming sound completely gone.

Reply
Ali mowahed says:
December 3, 2021 at 9:33 pm

I should have mentioned that I used a 1000uf, 200V electrolyte cap, + to the arrowhead side of the rectifier, parallel to the motor and rectifier and in between them, it got hot pretty good. In fact it tripped the breaker on the recepticle. I assume that is how it is wired, its’ positive to the arrow head side of the full bridge rectifier and negative on its tail end. Unless I had it wrong. Someone said if I had it backwards it won’t work… whatever was meant by that.
Should I use a capacitor from Microwave oven, 1 MF and 1000V?
Thanks in advance.

Reply
Swagatam says:
December 4, 2021 at 8:49 am

Yes the capacitor must be connected across the bridge rectifier output, with the positive of the capacitor going to the cathodes of the bridge diode.
1 Farad is huge and should be enough to cancel the ripple voltage effectively.

Reply
Ali mowahed says:
December 3, 2021 at 9:35 pm

That is 1Farad on the microwave cap oven, not 1MF. 🙂

Reply
david tanguay says:
November 12, 2021 at 4:43 am

how would you go about solving this problem?
A 60 V peak full-wave rectified voltage is applied to a capacitor-input filter. If f = 49 Hz, R = 9 kΩ, and C = 44 μF, the ripple voltage is ………

Reply
Shaurya Gupta says:
October 30, 2021 at 1:32 pm

Hello, I have a BLDC motor controller rated for 22.2V and 50A, I need to put the input power filter capacitors on them. how should I proceed? Motor operating voltage is 22 volts, peak current draw is 40A.

Reply
Swagatam says:
October 30, 2021 at 5:14 pm

You can use 3 capacitors, join their each end in common, and connect the other 3 ends of the capacitors with the 3 wires of the BLDC motor.

Reply
Pedro says:
August 24, 2021 at 6:41 am

I am trying to build a 250 to 300 volt 5 to 6 amp power supply or battery charger to charge the battery on my 03 Prius thanks if you can help

Reply
Swagatam says:
August 24, 2021 at 10:20 am

You can build the auto cut off circuit by referring to the following circuit:

https://www.homemade-circuits.com/high-voltage-360v-battery-charger/

Reply
Matheo Koning says:
April 21, 2021 at 5:28 pm

I do not understand. So you should have a capacitor of 20000uf in the example above?

Reply
Ram Singh says:
December 1, 2020 at 3:34 am

C = I / 2 x f x Vpp

= 2 / 2 x 100 x 1

= 0.01 Farads or 10,000uF (1Farad = 1000000 uF)
Where did you get the decimal point from?
I’m trying to figure out the size of capacitor for a kbpc3508 diode bridge rectifier.

Reply
Swagatam says:
December 1, 2020 at 11:25 am

C = I / (2 x f x Vpp)

= 2 / (2 x 100 x 1)
= 2 / 200
= 0.01 Farads

Reply
Matheo says:
April 21, 2021 at 6:30 pm

0.01 Farads is 10000uF and not 10,000uF or i am wrong here?

Reply
pat says:
May 24, 2023 at 5:16 pm

In English the “,” is used between “thousands”. “.” is the decimal point.
So your two values are the same thing.

Reply
Deepak lodha says:
August 18, 2020 at 1:53 pm

sir, your circuit is great but i have questions to you …how did you do ?

Reply
jax says:
June 5, 2018 at 8:05 pm

very good post and site
and about calculating filter capacitor voltage what’s your idea?

Reply
Swagatam says:
June 5, 2018 at 8:23 pm

Thank you Jack!

Reply
Paul says:
October 30, 2017 at 8:08 pm

Thank you so much for your clarification. You have helped so much.

Reply
Swagatam says:
October 30, 2017 at 8:18 pm

You are welcome!!

Reply
Paul says:
October 30, 2017 at 7:11 pm

A very good post that I have learnt a lot. Please how do we measure/calculate/obtain the Vpp?

Reply
Swagatam says:
October 30, 2017 at 7:55 pm

I am glad you liked!!

Vpp is the final ripple that may appear with the DC after rectification, and it is supposed to be zero ideally, but in the practical world a zero ripple cannot be possible, and moreover that would demand a huge filter capacitor…therefore we assume this value to be around “1” for all filter capacitor calculations

Reply
VIJAY AJ says:
December 15, 2015 at 4:33 am

Sir output of my transformer after rectification is 11.9v I want to charge my 12v battery please suggett the capacitor rating I want to use here to charge my battery please reply fast

Reply
Swagatam says:
December 15, 2015 at 6:34 am

Vijay, if you are interested t calculate the exact value of the capacitor then you'll need to evaluate charging current first, which can be found by dividing the AH of your battery with 10.

In general you can simply use the highest value capacitor that may be feasible for you.

Reply
Swagatam says:
December 2, 2015 at 6:42 am

Vijay, you can try the following circuit:

https://www.homemade-circuits.com/2012/09/mini-50-watt-mosfet-inverter-circuit.html

the battery should be rated at at least 12V, 75 AH

the inverter is capable of handling up to 200 watts if the trafo is appropriately rated

Reply
VIJAY AJ says:
December 1, 2015 at 5:16 am

Sir I planned to design an inverter for my home which should light up 3,20 watt cfl bulb and also for mobile charging.hence I assumed that my total watt requirement is not more than 100watt.please suggest any circuit based on my requirement and say the information about the battery that I need to use for operating an inverter for 5 hours.

Reply
Swagatam says:
November 30, 2015 at 10:05 am

It's my pleasure Alamgir

Reply
View Older Comments

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

  • Arduino Projects (93)
  • Audio and Amplifier Projects (133)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (85)
  • Datasheets and Components (109)
  • Electronics Theory (149)
  • Energy from Magnets (27)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (95)
  • Lamps and Lights (159)
  • Meters and Testers (71)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Renewable Energy (12)
  • Security and Alarm (64)
  • Sensors and Detectors (106)
  • SMPS and Converters (34)
  • Solar Controller Circuits (60)
  • Temperature Controllers (43)
  • Timer and Delay Relay (49)
  • Voltage Control and Protection (42)
  • Water Controller (36)
  • Wireless Circuits (30)





Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap



People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin



Recent Comments

  • Swagatam on IC IR2111 H-Bridge MOSFET, IGBT Driver IC: Full Datasheet, Circuit Diagram
  • arj on IC IR2111 H-Bridge MOSFET, IGBT Driver IC: Full Datasheet, Circuit Diagram
  • Swagatam on IC IR2111 H-Bridge MOSFET, IGBT Driver IC: Full Datasheet, Circuit Diagram
  • Arj on IC IR2111 H-Bridge MOSFET, IGBT Driver IC: Full Datasheet, Circuit Diagram
  • Swagatam on How to Recharge Dead Batteries

© 2026 · Swagatam Innovations