| Author |
Message |
Ross Marchant
Guest
|
Posted:
Wed Nov 16, 2005 9:15 am Post subject:
bypass capacitors |
|
|
Just solved a nasty problem where my LCD display was being corrupted when
another part of the circuit was switched on. I needed a 10uF bypass
capactitor in addition to the 0.1uF already there.
What basic rules do people use for bypass capacitors, and capacitors in
general, when designing a new embedded circuit? My general rule is 0.1uF
bypass cap for each IC to remove high frequency AC and a few 10uF scattered
around, particularly in areas of high current usage.
Considering the importance of such capacitors, its amazing I wasn't taught
about them in embedded design at university!
Ross |
|
| Back to top |
|
 |
PeteS
Guest
|
Posted:
Wed Nov 16, 2005 9:15 am Post subject:
Re: bypass capacitors |
|
|
| Quote: | From a thread asking for maxims (on s.e.m)
|
There is no such thing as a purely digital circuit. Electromagnetic
Compliance testing proves this daily.
On the bypassing question, there was a long thread not so long ago.
Although rules of thumb are useful, they remain that, not solid rules
that may always be used.
I have parts that require both bulk and high frequency bypass. The
short answer is 'check the datasheet'
Cheers
PeteS |
|
| Back to top |
|
 |
Rob Turk
Guest
|
Posted:
Wed Nov 16, 2005 9:15 am Post subject:
Re: bypass capacitors |
|
|
"Ross Marchant" <rossm@NOexceltech.SPAMcom.au> wrote in message
news:437abe9d$1@dnews.tpgi.com.au...
| Quote: | Just solved a nasty problem where my LCD display was being corrupted when
another part of the circuit was switched on. I needed a 10uF bypass
capactitor in addition to the 0.1uF already there.
What basic rules do people use for bypass capacitors, and capacitors in
general, when designing a new embedded circuit? My general rule is 0.1uF
bypass cap for each IC to remove high frequency AC and a few 10uF
scattered around, particularly in areas of high current usage.
Considering the importance of such capacitors, its amazing I wasn't taught
about them in embedded design at university!
Ross
|
If you need such large capacitors then I think you fixed the symptom, not
the cause. The 10uF caps you installed are not bypass caps but 'temporary
batteries'.
This actual cause is most likely a case of mixing signal ground with power
ground, using power traces that are too thin, or an insufficient power
supply. I'm sure you were taught to separate high-power sections of the
design from low-level signal sections?
Rob |
|
| Back to top |
|
 |
Ross Marchant
Guest
|
Posted:
Wed Nov 16, 2005 9:15 am Post subject:
Re: bypass capacitors |
|
|
"Rob Turk" <_wipe_me_r.turk@chello.nl> wrote in message
news:ugAef.962$zc1.333@amstwist00...
| Quote: | "Ross Marchant" <rossm@NOexceltech.SPAMcom.au> wrote in message
news:437abe9d$1@dnews.tpgi.com.au...
Just solved a nasty problem where my LCD display was being corrupted when
another part of the circuit was switched on. I needed a 10uF bypass
capactitor in addition to the 0.1uF already there.
What basic rules do people use for bypass capacitors, and capacitors in
general, when designing a new embedded circuit? My general rule is 0.1uF
bypass cap for each IC to remove high frequency AC and a few 10uF
scattered around, particularly in areas of high current usage.
Considering the importance of such capacitors, its amazing I wasn't
taught about them in embedded design at university!
Ross
If you need such large capacitors then I think you fixed the symptom, not
the cause. The 10uF caps you installed are not bypass caps but 'temporary
batteries'.
This actual cause is most likely a case of mixing signal ground with power
ground, using power traces that are too thin, or an insufficient power
supply. I'm sure you were taught to separate high-power sections of the
design from low-level signal sections?
Rob
|
Hehe, you're right. I posted way to soon. Damn optimism. Problem was
incorrect port setup on the MCU turning on a latch for a brief moment when
it shouldn't have been. The latch enables various circuits, and the current
rush must have been too much for the lcd. Hence the 'temporary battery' that
fixed the problem.
At uni we were taught nothing about circuit layout in digital systems.
Everything was just 1's and 0's, no mention of the analogue side, race
conditions, ground bounce, etc. I've stumbled upon all the problems by
chance, and thanks to this newsgroup solved all of them. :)
Ross. |
|
| Back to top |
|
 |
Tauno Voipio
Guest
|
Posted:
Wed Nov 16, 2005 9:15 am Post subject:
Re: bypass capacitors |
|
|
Ross Marchant wrote:
| Quote: | "Rob Turk" <_wipe_me_r.turk@chello.nl> wrote in message
news:ugAef.962$zc1.333@amstwist00...
"Ross Marchant" <rossm@NOexceltech.SPAMcom.au> wrote in message
news:437abe9d$1@dnews.tpgi.com.au...
Just solved a nasty problem where my LCD display was being corrupted when
another part of the circuit was switched on. I needed a 10uF bypass
capactitor in addition to the 0.1uF already there.
What basic rules do people use for bypass capacitors, and capacitors in
general, when designing a new embedded circuit? My general rule is 0.1uF
bypass cap for each IC to remove high frequency AC and a few 10uF
scattered around, particularly in areas of high current usage.
Considering the importance of such capacitors, its amazing I wasn't
taught about them in embedded design at university!
Ross
If you need such large capacitors then I think you fixed the symptom, not
the cause. The 10uF caps you installed are not bypass caps but 'temporary
batteries'.
This actual cause is most likely a case of mixing signal ground with power
ground, using power traces that are too thin, or an insufficient power
supply. I'm sure you were taught to separate high-power sections of the
design from low-level signal sections?
Rob
Hehe, you're right. I posted way to soon. Damn optimism. Problem was
incorrect port setup on the MCU turning on a latch for a brief moment when
it shouldn't have been. The latch enables various circuits, and the current
rush must have been too much for the lcd. Hence the 'temporary battery' that
fixed the problem.
At uni we were taught nothing about circuit layout in digital systems.
Everything was just 1's and 0's, no mention of the analogue side, race
conditions, ground bounce, etc. I've stumbled upon all the problems by
chance, and thanks to this newsgroup solved all of them. :)
|
One of Don Vonada's engineering maxims:
Digital circuits are made of analog parts.
Lesson 1.
Just my EUR .02.
--
Tauno Voipio
tauno voipio (at) iki fi |
|
| Back to top |
|
 |
Paul E. Bennett
Guest
|
Posted:
Thu Nov 17, 2005 1:15 am Post subject:
Re: bypass capacitors |
|
|
Tauno Voipio wrote:
| Quote: | Hehe, you're right. I posted way to soon. Damn optimism. Problem was
incorrect port setup on the MCU turning on a latch for a brief moment
when it shouldn't have been. The latch enables various circuits, and the
current rush must have been too much for the lcd. Hence the 'temporary
battery' that fixed the problem.
At uni we were taught nothing about circuit layout in digital systems.
Everything was just 1's and 0's, no mention of the analogue side, race
conditions, ground bounce, etc. I've stumbled upon all the problems by
chance, and thanks to this newsgroup solved all of them. :)
One of Don Vonada's engineering maxims:
Digital circuits are made of analog parts.
|
......and more importantly these days they operate as though they were
little RF transmitters and receivers. Therefore, some RF theory would go a
long way in helping you to lay out PCB's so that they stood a chance of
behaving properly.
Look at the di/dt rates for all your circuits and ensure that the
transmission line (which is what the PCB tracks tend to be) impedance is
configured to be low enough at the appropriate frequencies.
--
********************************************************************
Paul E. Bennett ....................<email://peb@amleth.demon.co.uk>
Forth based HIDECS Consultancy .....<http://www.amleth.demon.co.uk/>
Mob: +44 (0)7811-639972
Tel: +44 (0)1235-811095
Going Forth Safely ....EBA. http://www.electric-boat-association.org.uk/
******************************************************************** |
|
| Back to top |
|
 |
|
|
|
|