Previous in Forum: Shield For Electrical Plug   Next in Forum: Short Circuit Calculation
Close
Close
Close
19 comments
Rate Comments: Nested
Anonymous Poster

Capacitor Value Calculations

12/12/2007 9:05 AM

hi all

My rectified output voltage is 18V. Could someone tell me how to calculate the capacitor filter value that feeds the input stage of the 78L06 regulator.

Thanks all

Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#1

Re: Capacitor Value Calculations

12/12/2007 10:12 AM

Is that full or half-wave recification? 50 or 60Hz? What current are you pulling from the 6V line? These all affect capacitor selection.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#5
In reply to #1

Re: Capacitor Value Calculations

12/12/2007 10:30 AM

... as a rough guide, with 50Hz FW rectified, you'll get about 1V droop per amp per 1,000μF.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#7
In reply to #5

Re: Capacitor Value Calculations

12/12/2007 1:36 PM

... think that should be per 10,000μF (d.p. slipped in by brain).

__________________
"Love justice, you who rule the world" - Dante Alighieri
Reply
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 32175
Good Answers: 839
#2

Re: Capacitor Value Calculations

12/12/2007 10:21 AM

Whatever's wrong with suck-it-and-see? Bung in a few μF, check the circuit with a 'scope, and make a judgement as to whether to increase it, that sort of thing.

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Reply
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 32175
Good Answers: 839
#6
In reply to #2

Re: Capacitor Value Calculations

12/12/2007 11:02 AM

This is what the breadboard approach is for.

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Reply
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#3

Re: Capacitor Value Calculations

12/12/2007 10:25 AM

It depend how much current you are drawing...!

If you want a quick rule of thumb I'd say about 330uF for each 100mA you are drawing... add a 0.1uF either side of the regulator too to stop any oscillation...Of course it there is any logic or microcontrollers you will need a good sprinkling of 0.1UF s around the board.

This is suposed to be a helpful post...If someone wishes to get into loads of calculation and longwinded discussion...fine, but this is just a quick dirty guide.

Oh...yes and over rate the capacitor votage by at least 50% e.g go to say a 35v cap'.

Del

__________________
health warning: These posts may contain traces of nut.
Reply
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 16512
Good Answers: 670
#4
In reply to #3

Re: Capacitor Value Calculations

12/12/2007 10:27 AM

Blimey..I just re-read it.... a 7806 !!!?? I hope you aren't drawing too much current else you will have a lot of heat to get rid of! 18v seems rather a lot to be starting with....

__________________
health warning: These posts may contain traces of nut.
Reply
Guru

Join Date: Sep 2006
Posts: 4513
Good Answers: 88
#8

Re: Capacitor Value Calculations

12/12/2007 8:10 PM

As others here have warned, you may want to downsize the input voltage to your 78L06 a bit.

Reply
4
Guru

Join Date: Sep 2006
Posts: 4513
Good Answers: 88
#9

Re: Capacitor Value Calculations

12/12/2007 8:23 PM

Hello Guest,

Given a transformer, rectifier, filter capacitor, and 78xx voltage regulator, here's a technique I use to estimate the size of the filter cap.

Recall that capacitance is defined as I = C dv/dt,

where,

I = current in or out of the capacitance, in amps
C = capacitance, in Farads
dv/dt = the rate of change of voltage across the capacitance. Volts per second.

We can use this definition to estimate the size of the filter capacitor. Rearranging the terms, we get:

C = I dt/dv

To simplify things a bit, we can approximate dt/dv as Δt/Δv,

where,

Δt is the period of one cycle. Here in the US it is 1/60Hz for a half-wave rectifier, or 1/120Hz if we use a full-wave rectifier. (If your mains frequency is 50Hz, substitute 1/50Hz and 1/100Hz respectively).

Δv is the maximum peak-to-peak ripple your specific design can tolerate. Let's estimate this value for a 9-volt supply having a max expected load current of 800 mA.

Let's say your:

Transformer secondary voltage VS is spec'd at 18 VAC for a primary voltage VP of 120 VAC. As the mains voltage can sag at times, compute VS for a worst-case VP of (say) 105 VAC:

VS = 18 * 105/120 volts, or 15.75 VAC. The peak-to-peak voltage Vpp is then sqrt(2)*15.75 = 22.27 volts under worst-case conditions.

Your design uses a full-wave silicon-diode bridge rectifier. The diode drop across a Si diode is typically 0.7 volts.

Consequently, subtract from Vpp the diode drop(s) of your rectifier; 0.7 volts for half-wave and 1.4 volts for full-wave. As you're using a full-wave bridge, the diode drop will be around 1.4 V.

You now have Vpp = 22.27 - 1.4 = 20.87 volts available to work with.

Your voltage regulator is (say) a 7809 which outputs 9V - but only so long as the input voltage is at least 1.5 volts higher than this (this 1.5V overhead is sometimes referred as the 'dropout voltage'. For some regulators it is more and for others, less. Refer to the part's data sheet). The regulator in our example therefore requires at least Vpp = 9 + 1.5 = 10.5 V input. Any less than this and the regulator drops out of regulation.

Our ripple margin, Δv = Vpp, is 20.87 - 10.5 = 10.37 volts peak-to-peak. This is the largest amount of ripple our design can tolerate.

We're now ready to estimate the (minimum) size of our filter capacitor:

C (farads) = 0.800 (amps) x (1/120 sec)/(10.37 V) = 0.000643 F = 643 uF

A 1000 uF capacitor should do nicely for this design. Your values will be different, of course.

Hope this has been helpful.

-e

Reply Good Answer (Score 4)
Guru
Philippines - Member - New Member Engineering Fields - Instrumentation Engineering - New Member Engineering Fields - Control Engineering - Who am I?

Join Date: Oct 2006
Location: Northern Mindanao, Philippines
Posts: 2147
Good Answers: 53
#10
In reply to #9

Re: Capacitor Value Calculations

12/12/2007 11:43 PM

-e, that's a great answer. I, myself, have never tried calculating capacitor values for power supplies.

Back when I was studying, it was a "bigger is better", sort of thing. There was also the "if you get hum and it's not because of incorrect grounding, put in a bigger cap". This is one reason why I have a box full of extra capacitors that my wife is always asking "don't you want to throw this away? You haven't used them since we were married"?

__________________
Miscommunication: when what people heard you say differs from what you said. Make yourself understood.
Reply
Guru
Hobbies - Fishing - New Member

Join Date: Jun 2006
Location: Rochester, NY
Posts: 867
Good Answers: 11
#11
In reply to #10

Re: Capacitor Value Calculations

12/13/2007 8:21 AM

tell your wife you are saving them up for some significant anniversary when you will hook the electrolytic caps up backwards and use them as confetti generators....

__________________
Eric
Reply Off Topic (Score 5)
Power-User
Hobbies - Musician - New Member

Join Date: Apr 2006
Location: Brigham City, Utah
Posts: 163
Good Answers: 5
#12
In reply to #10

Re: Capacitor Value Calculations

12/13/2007 11:28 AM

Back when I was studying, it was a "bigger is better", sort of thing. There was also the "if you get hum and it's not because of incorrect grounding, put in a bigger cap". This is one reason why I have a box full of extra capacitors that my wife is always asking "don't you want to throw this away? You haven't used them since we were married"?


What??? I coulda sworn that was my wife. At least it sure sounded like her.

__________________
Kindness knows no boundaries.
Reply
Guru

Join Date: May 2006
Location: Placerville, CA (38° 45N, 120° 47'W)
Posts: 6215
Good Answers: 248
#13
In reply to #9

Re: Capacitor Value Calculations

12/13/2007 1:57 PM

Excellent answer!

My one comment: as I read 'Δt is the period of one cycle. Here in the US it is 1/60Hz', I read ...one sixtieth of a Hertz, whereas you (obviously, with a bit of thought) meant ...one divided by sixty Hertz. Since ∆t must be a time, I would prefer 1/60sec.

I don't mean to nit-pick - only to attain maximum clarity.

Dick

__________________
Teaching is a great experience, but there is no better teacher than experience.
Reply
Guru

Join Date: Sep 2006
Posts: 4513
Good Answers: 88
#14
In reply to #13

Re: Capacitor Value Calculations

12/13/2007 10:25 PM

Good point! Yes, it would have been clearer to express Δt as (1/60) sec, etc.

Reply
Anonymous Poster
#19
In reply to #9

Re: Capacitor Value Calculations

12/21/2007 12:21 PM

Thank you for answering my question in such detail. Your answer has been extremely usful. I will come back you regarding this more time since i am in the middle of changing my design and a few other things.

God loves you because you help others.

Reply
Associate

Join Date: Oct 2007
Posts: 43
#15

Re: Capacitor Value Calculations

12/14/2007 5:06 AM

An output of 6VDC requires a minimum of 8V input at pin1, 2V being the maximum voltage drop on the regulator. Maximum value of the supply voltage on the input filter capacitor being 18V, one can have a ripple voltage of up to 10V at the input.

CV=Q, Q =It where C = Capacitance in farad, V = the ripple voltage in volt, Q = charge on the capacitor, I = load current, and t = frequency of the ripple voltage.

Assume that the rectified output is full wave. Then t = 1/100 second for 50 Hz supply or 1/120 for 60Hz supply.

Assume the load current is 0.1A. V = ripple voltage = 10V. Then for a 50Hz mains supply,

C = (0.1 x 1/100 )/10 farad

This gives C = 10^-4 farad or 100 micro farad.

Any fluctuation in mains voltage or variation of load current is not considered in the above treatment. If the space allows, use a capacitor with a value higher than 100 micro farad, let us say 470 microfarad@50VDC.

Reply
Guru
Popular Science - Weaponology - New Member Safety - ESD - New Member Hobbies - Fishing - New Member

Join Date: Sep 2006
Location: Near Frankfurt am Main, Germany. 50.390866N, 8.884827E
Posts: 17996
Good Answers: 200
#16
In reply to #15

Re: Capacitor Value Calculations

12/14/2007 7:57 AM

I agree with you completely, its always good policy to use higher voltage capacitors than are theoretically needed (as you point out), they last longer if not being used in a critical part of there characteristics.

Price hardly makes a big enough difference to be worth talking about generally! As you said, space can be a problem, but there again, one should design for the bigger cap in the first place whenever one can.

__________________
"What others say about you reveals more about them, than it does you." Anon.
Reply
Guru

Join Date: Sep 2006
Posts: 4513
Good Answers: 88
#17

Re: Capacitor Value Calculations

12/14/2007 11:54 AM

My rectified output voltage is 18V.

-----

The absolute maximum power dissipation for this device determines the maximum load current you can draw before toasting your part. The power dissipation varies by package:

SOP-8: 300 mW

TO-92: 500 mW

SOT-89: 350 mW

Although the 78L06 can supply a max current of 100 mA, you still must take into consideration the device's power dissipation. This, in turn, will determine the maximum current you can draw. At 18 volts input, the max current you can draw (vs package style) will be less.

I = P/ΔV,

where,

I = device current, in amps

P = device power dissipation, in watts,

and

ΔV = the difference between the input voltage and the output (regulated) voltage. With 18 V input, ΔV = 18V (input) - 6V (output) = 12V.

Computing the max current we can draw while staying within the device's max power dissipation rating we have, for each package style:

ISOT-8 = 0.300 W/12 V = 25 mA,

ITO-92 = 0.500 W/12 V = 41 mA,

and

ISOT-89 = 0.350 W/12 V = 29 mA.

These are absolute maximum values and are not recommended for continuous service! Your average load current should be less.

You can attach a heat sink to the regulator, and heat sinks are commonly available for TO-92 packages, but you may have trouble finding sinks for the others.

If you expect your load to draw more current (but less than or equal to the max of 100 mA), you need to reduce the input voltage to your regulator.

Let's say your load draws the maximum of 100 mA spec'd for this type of regulator. To ensure the power dissipation doesn't exceed the maximum, your input voltage (vs package style) should be no more than:

ΔV = P/I, where

ΔVSOP-8 = 0.300 W / 0.100 A = 9 V,

ΔVTO-92 = 0.500 W / 0.100 A = 11 V,

and

ΔVSOT-89 = 0.350 W / 0.100 A = 9.5 V.

At 18 V input and 100 mA load current your device will dissipate 1.2 watts - but only for a few seconds!!!

Hope this has been helpful.

-e

Reply
Guru

Join Date: Sep 2006
Posts: 4513
Good Answers: 88
#18
In reply to #17

Re: Capacitor Value Calculations

12/14/2007 12:25 PM

Correction! That last section should read:

Vin(pkg) = Vout + P/I,

where,

Vin(SOP-8) = 6 V + (0.300 W / 0.100 A) = 9 V,

Vin(TO-92) = 6 V + (0.500 W / 0.100 A) = 11 V,

and

Vin(SOT-89) = 6 V + (0.350 W / 0.100 A) = 9.5 V

Reply
Reply to Forum Thread 19 comments

Good Answers:

These comments received enough positive votes to make them "good answers".
Copy to Clipboard

Users who posted comments:

Andy Germany (1); Anonymous Poster (1); ca1ic0cat (1); dkwarner (1); JohnDG (3); lordravindran (1); PWSlack (2); Techart (1); user-deleted-1105 (2); user-deleted-13 (5); Vulcan (1)

Previous in Forum: Shield For Electrical Plug   Next in Forum: Short Circuit Calculation

Advertisement