Author Topic: Decoupling capacitor vs snubber  (Read 8122 times)

0 Members and 1 Guest are viewing this topic.

Offline hazukiTopic starter

  • Contributor
  • Posts: 39
Decoupling capacitor vs snubber
« on: June 24, 2013, 11:03:55 pm »
Hi all. A basic question for you. I have an unwanted high frequency on a pin that I want to filter out. I can either put a decoupling cap on the pin to ground or I can install a snubber (RC circuit). Why would I want to do one vs the other?


Thank you!
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Decoupling capacitor vs snubber
« Reply #1 on: June 24, 2013, 11:07:41 pm »
I have the usual basic question for people asking these basic questions: what's the application? Where does this HF come from, what kind of device is this pin attached to, and what kind of device is it?

That or we can just roll the solution dice.
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline digsys

  • Supporter
  • ****
  • Posts: 2209
  • Country: au
    • DIGSYS
Re: Decoupling capacitor vs snubber
« Reply #2 on: June 24, 2013, 11:14:55 pm »
I'm assuming you're coming in from the "outside world" to a MPU pin. You use straight decoupling when you need to preserve SPEED and
risetime etc. You use a snubber when don't care about delay (say 1-20mS) and want protection from over-voltage or severe contact bounce.
Usually you'd add a zener or clamp diodes as well in this case.
Hello <tap> <tap> .. is this thing on?
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Decoupling capacitor vs snubber
« Reply #3 on: June 24, 2013, 11:24:33 pm »
Usually you'd add a zener or clamp diodes as well in this case.

Depending on the MCU and the application, a large series resistor could be enough to allow the ESD diodes to give protection.
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline hazukiTopic starter

  • Contributor
  • Posts: 39
Re: Decoupling capacitor vs snubber
« Reply #4 on: June 25, 2013, 12:29:08 am »
I have an MCU pin that is picking up noise from a switching converter on the board. I see about 400mv ptp of 100MHz in noise on that pin. My understanding is that an rc snubber will actually dissipate that HF but a decoupling cap will just couple the noise onto the ground plane.

Thanks
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Decoupling capacitor vs snubber
« Reply #5 on: June 25, 2013, 12:32:49 am »
The noise is relative to the ground plane, coupling it there is the same as getting rid of it. (Edit: This is only if you've grounded everything very well. Otherwise you're just coupling the noise into an inductor.)

Is this a signal pin or a power pin? And if it's a signal pin - what data rate?
« Last Edit: June 25, 2013, 12:41:29 am by c4757p »
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline digsys

  • Supporter
  • ****
  • Posts: 2209
  • Country: au
    • DIGSYS
Re: Decoupling capacitor vs snubber
« Reply #6 on: June 25, 2013, 12:38:28 am »
Quote from: hazuki
My understanding is that an rc snubber will actually dissipate that HF but a decoupling cap will just couple the noise onto the ground plane. 
That's what the ground plane is for, as long as you've routed all the analogue / digital returns correctly. The RC will still return "noise" current to the
ground plane, albeit not as much. Both do the job, and as I said, depends on the SPEED of the signal you want to protect at that pin.
Hello <tap> <tap> .. is this thing on?
 

Offline gregariz

  • Frequent Contributor
  • **
  • Posts: 545
  • Country: us
Re: Decoupling capacitor vs snubber
« Reply #7 on: June 25, 2013, 12:58:24 am »
The key difference between these two options are that the decoupling capacitor is a RF/AC shunt and the RC is a filter (ie low pass filter).

We use a shunt for the power pin (or any DC pin) because we want every bit of AC to ground.

We use an RC if we have a signal on the pin and don't want to lose it. Ie. if you have serial data, signal data or anything similar on the pin... use the RC.
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Decoupling capacitor vs snubber
« Reply #8 on: June 25, 2013, 01:03:15 am »
I'd argue that that isn't really a "key" difference, or really, not a difference at all. A shunt doesn't work unless it can pull against some impedance, in which case you've just made a LPF. A decoupling capacitor is just a LPF formed between the capacitor and the parasitic inductance of the trace.

You use a "shunt" for the power pin because a resistor would give a DC voltage drop. If it's just a DC signal you'll get better and more predictable performance with a proper RC filter.
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline gregariz

  • Frequent Contributor
  • **
  • Posts: 545
  • Country: us
Re: Decoupling capacitor vs snubber
« Reply #9 on: June 25, 2013, 01:22:48 am »
Sure.. you can use a LPF anywhere you use a shunt (including the power rail if you have the supply).

However, as a response to a beginner... a shunt is a reasonable approach for DC pins, and one you will see used all over industry.

I recommend the OP look at a few digital chip application notes. You will quickly find the type of decoupling commonly used for various pin types. Have a poke around the spec sheets of something like a serial ADC.. you'll see DC reference pins, signal pins and data pins.
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Decoupling capacitor vs snubber
« Reply #10 on: June 25, 2013, 01:27:47 am »
I don't think it's a good response to a beginner, especially if you don't define what you mean by "DC pins". If you have, for example, an op amp driving an ADC input, that could easily be considered DC if it's reading a slow value like a thermocouple temperature, but you most certainly do not want to stick a capacitor on it, no matter how tempting it might look because of the lack of voltage drop. Don't give misconceptions in the name of simplicity.
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline madshaman

  • Frequent Contributor
  • **
  • Posts: 698
  • Country: ca
  • ego trans insani
Decoupling capacitor vs snubber
« Reply #11 on: June 25, 2013, 01:36:55 am »
How about filtering the output of that dc-dc converter so it's not a problem in the first place?

A quick question, I *always* decouple power pins on ICs as a matter of course, and use good NP0 caps (in parallel groups of increasing capacitance) on any supply to a precision analog device (like an instrumentation opamp).  Not because I'm experienced or anything, but so many application notes go into detail as to why this can be vital and I've always decoupled power pins by default like this.

Is there a cost savings to not decoupling be default like this?
To be responsible, but never to let fear stop the imagination.
 

Offline digsys

  • Supporter
  • ****
  • Posts: 2209
  • Country: au
    • DIGSYS
Re: Decoupling capacitor vs snubber
« Reply #12 on: June 25, 2013, 02:53:34 am »
Quote from: madshaman
  How about filtering the output of that dc-dc converter so it's not a problem in the first place?   
Often, you don't have any choice. You could waste hours or days trying to be "perfect", then at another load, there's a new resonance.
Naturally, you aim for best figures at reasonable time / effort.

Quote from: madshaman
   Is there a cost savings to not decoupling be default like this?   
In the scheme of things, cost of a few caps isn't what you should be striving for. IF you can't evaluate a noise tolerance range,
go for best practice, as you seem to be doing. Eventually, experience will tell you how much you can get away with.
Hello <tap> <tap> .. is this thing on?
 

Offline cthree

  • Frequent Contributor
  • **
  • Posts: 258
  • Country: ca
Re: Decoupling capacitor vs snubber
« Reply #13 on: June 25, 2013, 03:43:19 am »
Why would you not filter the dc-dc output with a ferrite bead?
 

Offline digsys

  • Supporter
  • ****
  • Posts: 2209
  • Country: au
    • DIGSYS
Re: Decoupling capacitor vs snubber
« Reply #14 on: June 25, 2013, 03:57:11 am »
Quote from: cthree
  Why would you not filter the dc-dc output with a ferrite bead?   
IF the DC-DC supply is a separate unit, then that is an option, if needed. When the P/S is part of the same PCB, it's VERY tricky !
I have seen / put embedded ferrite IN a PCB in critical applications, but it's rare. Usually, you'd go for a common-mode filter.
Plus, it's not a guarantee that it will clean up ALL the noise anyway. You need to decide what part of the spectrum is important
to you. All the "tricks" have their pros and sometimes, cons.
Hello <tap> <tap> .. is this thing on?
 

Offline cthree

  • Frequent Contributor
  • **
  • Posts: 258
  • Country: ca
Re: Decoupling capacitor vs snubber
« Reply #15 on: June 25, 2013, 04:37:58 am »
I'm currently working on a project using an Atmel ATmega128RFA1 SoC which is very sensitive to noise. All the app notes and eval board schematics I've read all specifically say to use a ferrite bead on the power rail output to prevent injecting noise into the power rail. The app notes for similar Ti low power RF parts specify doing the same. The concept seems entirely sensible to me. Clean the noise where it originates and keep the power and ground planes clean (to a non-engineer like myself).

According to Atmel's AVR040 Appnote "A very important general rule is that all types of noise should be handled as close to the source as possible, and as far away from from the sensitive parts of a circuit as possible." Figure 4.3in that document describes decoupling with a series inductor and a cap. It's worth a read and can be had here: http://www.atmel.com/Images/doc1619.pdf

Both Ti and Atmel reference designs spec a Murata BLM15HG102SN1D but they have a whole family of EMI filters they call EMIFIL. You can look them up and see if anything there is appropriate.

HTH
 

Offline Kremmen

  • Super Contributor
  • ***
  • Posts: 1289
  • Country: fi
Re: Decoupling capacitor vs snubber
« Reply #16 on: June 25, 2013, 05:45:57 am »
Also the reference mentioned in Atmel's paper, i.e. Tim Williams' "EMC for Product Designers" is to be heartily recommended.
It really should be required reading for all who design circuitry for a living. Very useful to everybody else as well.
Nothing sings like a kilovolt.
Dr W. Bishop
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf