Hi!
I have been looking into "noise" lately (related topic:
https://designhelp.fedevel.com/forum...-what-is-noise) and as part of that, I ended up looking at @robertferanec's series of YouTube Videos
1. Why the circuit in the thumbnail is wrong? Do you know? (
https://www.youtube.com/watch?v=TVSFg94k1J0)
2. PCB Layout & Decoupling - Explained why it's so complicated (Part 1)
https://youtu.be/5Ca0Eah7eKI 3. PCB Layout & Decoupling - Understanding Impedance (Part 2)
https://youtu.be/Tt8X6_maj6c 4. PCB Layout & Decoupling - Measuring and Fixing (Part 3)
https://youtu.be/hZSOhVdzqZkAs I understand it (and please correct me where I am wrong) - when switching an output pin, by necessity the MCU will draw more current through the Vcc pin. Due to internal resistances, parasitic capacitance and inductance the more current drawn, the higher the voltage drop on Vcc. We can reduce this by adding bulk-capacitors to stabilize the voltage rails and well-regulated power supplies. We can also add bypass capacitors (though, to be honest I really don't like this name, as it really doesn't adequately describe clearly the function). If we are switching an output with some frequency, say a PWM or serial line, then this will create a ripple on the Vcc line at the frequency we are switching the output.
So far, so good!
However, the impedance looking from the Vcc pin back towards the power supply represents a complex impedance - complex in that it is both resistive and reactive, but complex in that there are many, many factors that contribute to the total impedance; not only components like bypass capacitors, and ferrite beads, but also stray and parasitic capacitance from traces and multi layers etc. At the end, you will need to simulate and actually measure the PDN. In doing this we see that there are peaks at various frequencies and Robert + guests show that if you switch your output at the resonant frequency of the input impedance you can get some major issues. At a 10.000 foot level I get this, makes sense - however I missed how the output switching frequency is transferred to the Vcc line - I can think of two ways, but want to clarify
- is the issue caused by the Vcc ripple being the same frequency as the resonant frequency; i.e.: the output switching causes ripple on the Vcc, and when that frequency is the same as a peak in the PDN, there will be increased noise (makes sense, but not sure if this is righ)
- in one video Florian says "the square wave is made up of all the frequencies" - if i remember right, Florian is also showing the edge transition of the output and the noise on Vcc - so this somewhat makes sense as well!
Lastly, in the final video, Robert "solves" the problem by replacing the Ferrite in question with a 0-ohm resistor, but unfortunately we miss the discussion of the consequence of doing this - the Ferrite must be there for a reason, and so removing it must have some impact (though I have a separate question on Why Ferrites?
https://designhelp.fedevel.com/forum...-ferrite-beads)