What is The Best VIA Placement for Decoupling Capacitors?

  Рет қаралды 54,381

Robert Feranec

Robert Feranec

Күн бұрын

Пікірлер: 314
@vishnusunderlal5660
@vishnusunderlal5660 4 жыл бұрын
Hi Robert, It would be interesting to see you testing these PCBs after fabrication
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Vishnu
@therealb888
@therealb888 2 жыл бұрын
@@RobertFeranec Yes, please. We have almost no good pcb testing videos.
@davidjmstewart
@davidjmstewart Жыл бұрын
Seconded, this would be a really interesting exploration.
@saucebosspl
@saucebosspl 3 жыл бұрын
I'm a hobbyist (2 layers PCB, audio) and I have been always taught that coupling caps should be on the same layer as the component being decoupled. I belive it makes sense, since vias have parasitic inductance and resistance (also explains why having multiple vias help). Thank you for the videos, they help me a lot!
@mik310s
@mik310s Жыл бұрын
I put them, on the same layer when possible, I also put a via on the GND pad of the cap.
@p_mouse8676
@p_mouse8676 4 жыл бұрын
What I really like about you and your videos, is that you actually dive a lot deeper into the subject. Most people (even many professionals) just repeat something they have read or heard somewhere without even investigating. (And also say it on such a way like it's factual) I would really like to see so practical measurements to see how accurate these simulations are. Since vias always add some resistance and inductance, it makes sense that a direct connection will be better I think. I am curious about some hybrid approaches.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you P_Mouse. PS: That is exactly what I have in mind when I am creating my videos - I keep hearing a lot of "facts" and many are exactly opposite, or people just repeat what they heard somewhere and then ... it's super difficult to say what is actually true and how important it really is for real designs. And that is what I am trying to find out in. Just need more ideas for next topics :D
@p_mouse8676
@p_mouse8676 4 жыл бұрын
@@RobertFeranec I have whole lists of these kind of ideas or questions. Although not only related to PCB design. But mostly also more from practical design. One example is still the excessive amount of via stitching vs proper pcb design.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
@@p_mouse8676 If you would like to share some interesting topics, I can have a look. No promises, but if it is also interesting for me and I find someone who can help, I always try to do it. Just send me an email to info@fedevel.com. Thank you.
@foxabilo
@foxabilo 3 жыл бұрын
This matches what most chip manufacturers say about decoupling caps "They must be as close to the power pins of the chip as possible" taken quite litterally this means on the same layer and right next to the pins. This matches your results perfectly.
@zhitailiu3876
@zhitailiu3876 4 жыл бұрын
Thank you so much! Definitely need to invite Steven and shed some light!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Zhitai. PS: Let's see how popular this video will be and how many people will ask for follow up :)
@merdogan-ee-engineer
@merdogan-ee-engineer 4 жыл бұрын
When people say the location of the capacitor doesn't matter; they are talking about the bulk capacitor(C>100uF) which is more effective at lower frequencies. For decoupling capacitors location matters hugely. Moreover, if you build and measure the real results, I propose a better method for the circuit #43. You used multiple power planes. But if you use power and ground planes interchanging from top to bottom or vice versa ( P-G-P-G) you can create a good interplanar capacitances parallel to each other. This method is said to be much better since the interplanar capacitance has very small ESL compared to chip capacitors.
@stevesandler3974
@stevesandler3974 4 жыл бұрын
this is true, but this is only partial inductance. You still have to get from the cap vias to these planes and from these planes to the ASIC or other DUT
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Oh, I believe that people / articles were talking about decoupling capacitors. That is why I was so surprised. Need to find them ... PS: Good idea with the power planes. Thank you.
@harishrao2952
@harishrao2952 4 жыл бұрын
Very curious to see the real board with the real time measurements. Your videos are gem, you are really making hardware things very easy to understand. Thanks for all the effort you are putting.
@thomasyoon8851
@thomasyoon8851 3 жыл бұрын
Very interesting! Especially the performance of the thin top layer traces with no vias vs. planes with vias. After some thought I would suggest that the remarkably low impedance is partially due to what the simulation is measuring. Specifically, it appears that the simulation is calculating the impedance from the S21 insertion loss parameter which measures the voltage on the output pair given a varying voltage/current on the input port. For a high speed decoupling capacitor I would think that the S22 (or S11) return loss parameter would be of greater interest which would measure how much the voltage on the output pair changes given a varying output load current. I think that the calculated impedance based on S22 would be much higher for the long skinny top layer trace case. Thank you very much for the wonderfully informative video and keep up the great work! I would love to see some PCBs actually built and tested with a network analyzer for both S21 and S11 insertion and return loss measurements.
@alexpioner
@alexpioner 3 жыл бұрын
Robert, very nice and useful video and very surprising results! If I understand right, the loop inductance plays the main role in degrading the PDN quality. As well VIAs also degrade the loop inductance according to these results (due to their inductance). Placing decoupling capacitor far from the desired point on the board (like VCC & GND of some component) significantly reduces the influence of this capacitor on this desired area. This is the reason why it is mandatory to place as many capacitors (near all power supply pins) as possible. When we place the capacitor between two parallel traces, the travelling wave (noise) is shorted by it, and do not propagate towards the load. When this capacitor is placed far away aside, it shorts the wave propagated towards it, but not the wave propagated towards the load, and can even create travelling wave. This is how I imagine this phenomena. So, according to this video, the best way to place the decoupling capacitor is on two traces between VCC and GND vias and an appropriate componnent's pins. Please correct me if I'm wrong.
@CarlSchattke
@CarlSchattke 3 жыл бұрын
The parasitic capacitance on the example in the upper right is less since the the air is a much lower dielectric constant. Much less inductance to overcome. Results in a much lower ESR. We always use thin trace for sense lines for this reason. Good topic Robert, very well presented.
@erdling2454
@erdling2454 3 жыл бұрын
Hi Robert, I really appreciate your investigation on that topic. It made me think a lot and the following question arised: How would simulation change, if you would only connect the capacitor's power and/or ground pad directly to the IC's pads and not to the source pads. I think this case would represent a very typical design approach. In practice, many of the "good "solutions presented in your video can't be implemented, since board area is limited. If you like to spend more time on that topic, it would be interesting to take a look on more simple/practical designs. What I mean by "simple/practical" design is: - Place one or two capacitors of different sizes (e.g. 1u + 0.1u) really close to the IC's power pad (capacitor and IC on same board side) - Connect the power pad of the capacitor directly to the IC's power pad with a wide trace - Connect the power and ground pad of the capacitor to power and ground plane by via, respectively Then you could go ahead and simulate following effects on PDN impedance: - Number of vias connecting capacitor(s) to planes - Position of vias relative to power/gnd pad (above, side, both) - Via diameter / via pad size - Capacitor orientation relative to IC edge - Capacitor's power pad connected directly to IC vs.capacitor's power and ground pad connected directly to IC I think this investigation is very helpful for many board designs and maybe it would be worth a short video.
@MaxQ10001
@MaxQ10001 2 жыл бұрын
Same layer connection should win every time. Extremely small inductance in series with the capacitor compared with vias in series with the capacitor. Luckily the simulations confirmed what I guessed in that regard. Very nice job making this video 😊👍
@Funkylogic
@Funkylogic 4 жыл бұрын
Robert, Superb post thanks so much for this. You push everybody up to a better level. I suspect the good result is the input and output inductance to the cap.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Tom
@TrombonePlayAlongs
@TrombonePlayAlongs 4 жыл бұрын
Great Video! If possible, I always try to place the decoupling capacitors on the same side of the IC and draw a direct connection (and not separate vias for capacitor and power pin). In my understanding, I have two reasons: The direct connection creates a low inductive path. That also applies for your example with a the thin, but straight direct connection. With separate vias, the current from and to the capacitor has a more odd path to follow, which results in losses for higher frequencies and impairs the decoupling effect. The second reason is: You want to have the decoupling capacitor as the reference, not the decoupled plane around the IC. There might be still some current peaks crossing that take effect. This applies for forward and return current, so to say Power and Ground. That is why I also try to put the vias behind the decoupling capacitor, not between capacitor and IC.
@stevesandler3974
@stevesandler3974 4 жыл бұрын
this may not be a good idea. Watch for another via. The question is always the sum of the partial inductance terms. If there is a large separation between planes (say 2 layer or 4 layer PCB with symmetrical thicknesses) then the inductance of a surface trace is very high. If the two capacitor vias can be very close together, field cancellation will greatly reduce the inductance. This is in many of my lectures and bootcamps.
@goatarse
@goatarse 4 жыл бұрын
You are doing exactly the right thing. Keeping the noise out of the plane.
@petersage5157
@petersage5157 2 жыл бұрын
Very illuminating video! 25:20 I keep going back to the hydraulic analogy, because it works.Which will give you more immediate access to your local water reservoir: a long narrow tube or a short wide pipe? Of course you're going to have less impedance if the power traces are on the same layer as the capacitor; there's always going to be some additional impedance through a via, like resistance through a straw. In fact, if you plan your stackup right, you can even exploit the impedance of a via from a power plane as part of an RC decoupling filter. It's not rocket surgery, it's PCB materials engineering.
@michaelk.1108
@michaelk.1108 4 жыл бұрын
Thank you, Robert! Great video. An answer to one of these every day questions developers come across. It really helps a lot to get a better feeling what is good or bad when placing decoupling capacitors.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Michael
@iPatroni
@iPatroni 4 жыл бұрын
Great video, would love to see the real world boards tested against the simulations. Thanks
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you iPatroni
@rupalm8468
@rupalm8468 4 жыл бұрын
This debunks Rick H’s theory about placing vias in certain position. Nice job Robert! Thank you 🙏
@gregfeneis609
@gregfeneis609 4 жыл бұрын
Excellent work, Robert! Years ago, some technical articles I read, either from Microchip or Cypress Semiconductor heavily stressed the effectiveness of placing decoupling caps near the power pins and on the same layer as the power pins of microcontrollers. EG in the case of a quad flat package. You can feed the pins their power through vias, but you want the decoupling caps between the vias and the pins. As you say, you can't always have things arranged this nice, but it's something to target when you can. I like your confirmation of surrounding power feed pins with vias improving performance. I had often suspected this would be the case. Thanks again.
@GodzillaGoesGaga
@GodzillaGoesGaga 4 жыл бұрын
From my understanding, the placement is important from loop-area standpoint but the vias also add a big problem (they're inductive mostly with capacitance to the inner plane holes). It's best to use the same layer from the capacitor to the IC power pins using very short traces (if possible) and then have the via to the power planes. This way you avoid extra inductance and you have the local decoupling with the lowest impedance to the IC (this is why you want capacitors in the first place - for high frequency transient energy). For a more realistic simulation you should have an IBIS model of an IC with dynamic switching because the transient behaviour of an IC during switching is a non-linear current draw. The different frequencies will see different impedances due to the different current harmonics.
@BillySugger1965
@BillySugger1965 Жыл бұрын
Absolutely fascinating, thank you for this! I’m definitely going to look for your other videos on this subject. And I second the request for physical measurements to back up the simulation. My guess is the results would not be identical, but the ranking of results (which designs perform better than others) would remain the same. I would be _very_ interested to see the load changed to a SMT connector, to simulate (or physically test) the real world case of the load being a SMT device, like a QFP or QFN device. There is debate over the best placement of decoupling capacitors in these situations, and to me your result at 23:40 makes absolute sense; there are _no_ vias between load and decoupling capacitor, and to me that would produce the lowest impedance between the two. For this reason I _always_ place SMT decoupling capacitors as close as possible to, and on the same layer as, the load device. What I take away from this is that the two biggest factors are (1) capacitor placement as close as possible to the load, and (2) avoiding vias between capacitor and load. Then, if you _must_ via between the two, (3) maximise the number of vias in parallel, (4) maximise the number of capacitors in parallel, and (5) maximise the number of ground and power planes in parallel. Lastly, it is worth maximising trace width and minimising trace length, but after the above steps these make only marginal improvement.
@edgaraskorsakas5703
@edgaraskorsakas5703 3 жыл бұрын
I had experienced your finding about cap on the same layer the hard way - EMC testing. It is all about loop area and inductance. After putting power inductors and power caps on the same side of the board, design passed EMC. With caps on the bottom we as engineers get sloppy, we forget that energy is stored in the dialectic between planes and cap plates. So if we changing plane (which we do, image current flow direction), we increase impedance a lot. I use that for filtering when I need to. If we keep decoupling cap on the same layer, we get current flow from the cap (directly between +V and GND pins of IC) on top layer, then this current is supplemented by current flow from inductive power pins. If we do not use direct connection to cap, then current flow from power plane to IC pin (through inductive vias), so voltage drop and ground bounce occur and only then additional charge comes from the cap (through inductive vias).
@neutron7
@neutron7 2 жыл бұрын
This is very good, thank you! It would be interesting to see the result when there are vias by the capacitors, and then they are connected with traces to the power pins but not the supply. That seems likely to happen in a board layout.
@nicolasguichard9788
@nicolasguichard9788 4 жыл бұрын
You demonstrate the effect of the position of the cap by showing one very far compared to one in the center. I would be curious of the result of a cap very near the power pins! Thx for the video, always fun to play the PCB version of Dora the explorer ;)
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Nicolas :) PS: I am making a note about this setup.
@m.sierra5258
@m.sierra5258 3 жыл бұрын
@@RobertFeranec Yes, exactly my thought. I wonder how a single capacitor directly at the sink without vias would perform. Which is, to my knowledge, the recommended way of connecting decoupling capacities
@bukitoo8302
@bukitoo8302 4 жыл бұрын
I really much like this kind of videos bringing "the recipes" thar are in books or appnotes to simulations. Good job!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much
@Christe4N
@Christe4N 4 жыл бұрын
Hi Robert, this is amazing stuff! Thank you so much! After reading so many application notes, books and following seminars on the topic, it's your videos that make it all come together in a way that is easy to follow, and you can actually *see* what happens. Even when I do indeed understand that it's a specific simulation and results may be different on a real board. Thank you for making the theory practical so that it's easier to apply in real world board design. It would seem that the impedance - mostly inductance it seems - between the power connections and the capacitor has the most influence of how much total impedance there is at 100MHz. I see the impedance curves increasing with frequency which also seems to indicate we're looking at inductances having the most influence at those frequencies. All this time I have been thinking about how to connect *capacitors*, and now it begins to show that you may instead have to think about how to minimise *inductances* in the connections. I was as surprised as you were at how good the one with the long thin traces and no vias was. It made me wonder about how much inductance a via really has compared to a long thin trace like that. There must be a crossover point somewhere where it's better to use vias or multiple vias than a trace. In any case, I am making a mental note to make sure my power connections are done with *wide* traces wherever I do need to use traces. What I really wondered about is this. You placed the single capacitor right in the middle between the source and load pins. What if you placed it right next to the load pins, similar as you would do with an IC's power pins? Would you be willing to consider trying that? A second question is how stackup comes into play here. I would assume there is a difference depending on how close the power and ground planes are in the stackup?
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Christe4N. PS: Exactly the same for me - I also changed the way how I look at connecting decoupling capacitors. We may be doing follow up video with some other examples.
@francescem94
@francescem94 4 жыл бұрын
It was good to demystify the "vias on the side are better than vias on top of the pad". Very little difference indeed. In my opinion, the interesting layout would be having the capacitor on the same side as its load connection, but the input supply coming through vias from the power planes. This is a very common implementation in DC/DC power supplies. Check the typical symmetrical CIN decoupling implementation suggested in most power devices from MPS or TI, it has minimal impedance and the EMI emitted gets canceled out by the opposite direction of the fields.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
I should try this, good idea!
@ChrisFredriksson
@ChrisFredriksson 4 жыл бұрын
Awesome yet again! I would love to see a video where you make the board and test it out in real life. Thanks for sharing these results!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Chris
@kalhana_photography
@kalhana_photography 4 жыл бұрын
I always go for via in pad (with filled and capped vias) for anything that is high speed to minimise the impedance. This saves board space as well.
@_ATHONOR
@_ATHONOR 3 жыл бұрын
Great Video - an EMC seminar once told me to run power trace across the capacitor, directly to your pin of the IC you are decoupling (Same side). So this adds up with what you have said here. Would be great to see this boards in action.
@jonataubert
@jonataubert 4 жыл бұрын
As usual this is pure golden :-) I would be extremely interested in seeing the practical measurements! Thank you so much!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Than you very much jonataubert
@va-josefranciscomontoya866
@va-josefranciscomontoya866 2 жыл бұрын
Hi Robert! Your video is highly informative, get to see which layout has the lowest impedance. A bit of warning for vias planting near the pads, as this would leak the solder into them, thus weakening the solder joint on the cap leads. With a weak solder joint, weak connection, bad impedance. Thank you and keep sharing!
@22icyo
@22icyo 4 жыл бұрын
Yes please! Much interesting and I am much curious about the actual impact of the parasitic cap-to-target (basicly direct connection vs via connection) in the real world. As always, you have a very good approach to those kind of complex and long debated topics. Keep it up!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much
@DS-vu5yo
@DS-vu5yo 2 жыл бұрын
Very cool video. Your last simulations are correct for the behavior of the capacitor impedance. But the split plain on the top side of the board is still a dipole. If you make it in physical boards, probe it with a near field probe to see the difference between full ground plain and split ground and power plains. I’m guessing you will measure impedance through the cap is amazing- but you still radiate with the modes of the plains. I definitely learn something from these videos. Keep up the amazing work! Thank you.
@neeeraaajsharma
@neeeraaajsharma 4 жыл бұрын
Great Video again !!! Thanks you for comparison in details ... yes I agree if we test the results with actual boards
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Neeraj
@gharbisalem1254
@gharbisalem1254 4 жыл бұрын
Great content as usual,this Channel is the bible of PCB Design 🙂.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Gharbi
@vysmirnov
@vysmirnov 3 жыл бұрын
You can also try X2Y caps, Three-terminal caps, reversed caps (0204, 0306 or 0508).
@oliverthane2868
@oliverthane2868 4 жыл бұрын
Yes please build these 👍 ... I'm also interested to test having the decoupling Cap before the load vs after the load 🙏
@EDGARDOUX1701
@EDGARDOUX1701 4 жыл бұрын
Excellent topic Robert, I would like to see the board builded and see it work in the real world. Thank you!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Edgar
@sparqqling
@sparqqling 3 жыл бұрын
Great video again, you're on a roll with EMC and SI!
@Jeremy-fl2xt
@Jeremy-fl2xt 4 жыл бұрын
I only recently came across this channel, but the quality is superb! Seeing results on actual boards would be fantastic, but I suggest building a few instances of one of the single cap circuits to get a sense of variation across process.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Jeremy. I am very happy some people notice how much work it is to create these videos. PS: We are working on real boards now
@sigfreed11
@sigfreed11 4 жыл бұрын
@Robert Feranec, I’m not sure what the width of your board is, but the decoupling impedance is directly impacted by the length of the trace (including bias). So in the example of the one cap with direct connect on the top layer from PWR Supply to PWR Pin, if that total distance is less than the distance through the vias (not sure of your board thickness either, I didn’t bother converting from mm to mil), it would make perfect sense as to why you have a lower impedance. I would have loved to see an explanation and show the correlation between your decoupling caps and the decoupling formulas. Making the math come alive would be really beneficial for us all
@michaeljones5205
@michaeljones5205 4 жыл бұрын
Thanks for the comprehensive overview. Yes, please fabricate. I'm always skeptical of simulations - we'll see if it's warranted. Very valuable information as always!
@iuri.castro
@iuri.castro 4 жыл бұрын
Excellent video, Robert! Thank you for taking the time to do all those simulations and organizing it!
@abdulsalam-ww8si
@abdulsalam-ww8si 4 жыл бұрын
I really like you man, you explain really well, thanks for your efforts to make the videos, and being funny along the way
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Abdul
@PETATNISSEN
@PETATNISSEN 4 жыл бұрын
This is stuff for the nerds... and I love it :) Please make a board for testing. Would be really interesting to see real life measurements.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Petatnissen :)
@VilinxCoding
@VilinxCoding 4 жыл бұрын
You are the best Robert❤
@helmuthschultes9243
@helmuthschultes9243 4 жыл бұрын
Your investigation is terrific. I would like to see the real assembly measured. But one I would like added is say some spread of bypasses between the in/outputs, but also one at each of the input and output nodes on the same side, thus see if improvements will result from bypassing at the in and load nodes not just spread across the board. Significant is the improvements by NOT having connection by via. This is quite critical as I tend to make bypass on the direct connection to device power lines not bypass to a via to power plane near where also the device reaches power plane by a via. Hope I have made that clear what I mean
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Helmuth. PS: That is what I would like to also try.
@Jerzy-wedrowiec
@Jerzy-wedrowiec Жыл бұрын
Hi Robert. It would be interesting to compare with the installation of one low-ESL capacitor. It should be significantly better than a single conventional one at high frequencies. By shortening the track lengths and increasing the number of holes, we reduce the external inductance and hit the internal inductance limit. We can further reduce the inductance only by paralleling conventional capacitors. According to the characteristics of the capacitors, we should get the same characteristics for one low-ESL capacitor and four normal capacitors. All connected with minimum external inductance. Congratulations again on the youtube button:)
@Jerzy-wedrowiec
@Jerzy-wedrowiec Жыл бұрын
It would also be more interesting to compare standard situations with a single capacitor and using two polygons (power and ground as in the first examples) versus a ground polygon and powering the track (in the same layer as the power polygon), via a capacitor.
@WR3slo
@WR3slo 4 жыл бұрын
That is why I commented in previous video that it is better to have copper under component and not be worried about making a short circuit to the component :-) Wide tracks on the chip side are very important! For smaller DC/DC converters I have around 2mm wide tracks. At 0603 capacitors one via is under the component and another is behind it. After 0603 come 1206/1210 capacitors which have multiple vias under it for both connections. Vias have 0,3mm hole with 0,5mm copper ring. If space is not a problem I have even wider track for Vcc on L1, because it forms very good capacitor with GND on the L2. Much better than capacitor between L2 and L3 in 4L board, because of less vias and smaller distance between planes.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Yes, interesting. Thank you WR3.
@jlysiak
@jlysiak 4 жыл бұрын
I love your scientific approach to electronics. Awesome content! Definitely, I think it's worth doing checks of the real boards. Simulations, are just simulations :) Waiting for the next video!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Jacek
@pppjunk
@pppjunk 3 жыл бұрын
That was interesting! If I understood correctly, you set the input on the left and the output on the right, so this uses capacitors as filters, not decoupling... If you set the input and output port on the same side of the pcb, it is more like the way a chip sees the impedance of the PDN at its power pin, I think you'd get different results. This would be interesting to simulate.
@sebastianauerwoger2892
@sebastianauerwoger2892 4 жыл бұрын
Hi Robert, great video. Keep up the good work. I would also appreciate to see you actually build up this board and verify your simulations. That might shake up some "common PCB rules". BTW: I always recommend your AD videos to people who are new the software. Way more efficient, than learning it by the AD manual. So, thanks for that too.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Sebastian
@mohammadhushki96
@mohammadhushki96 Жыл бұрын
Thanks Robert .. very interesting as always
@famillePuces
@famillePuces 4 жыл бұрын
Great video! Your channel is a treasure chest for every EE! Almost guess them all right and funny you posted that video I was wondering about that topic!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Cedric
@manglz
@manglz 3 жыл бұрын
very useful video, always wondered how the via placement on decoupling capacitors could affect its effectiveness. not very surprised for the better result on the direct connection (no vias) as I see vias as 90degree turns on a track. i hope you build these boards for real and test them, i think more surprises would come. thanks for sharing!
@djadostyle
@djadostyle 4 жыл бұрын
Thanks again @Robert, It would be interesting to see the result for 1 capacitor close to the sink pin. As we usually do in our design. Comparison between narrow and wide traces... Good idea for real board testing and comparison to simulation. You rock!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much adjada
@_santi_calvo
@_santi_calvo 4 жыл бұрын
Hi Robert, great video! Really interesting. It will be amazing if you measure this! It make sense that not using vias yield to lower impedance, because they introduce a inductance that will increase the impedance with a increase in frequency. That is why is better to use multiple vias in parallel, because you reduce the inductance (series) between the capacitor and the plane. Greetings from Argentina!
@sigmaxi7822
@sigmaxi7822 4 жыл бұрын
To me the simulation results without vias look totally fine. To my knowledge, vias have non-negligible inductance which increases the impedance at high frequencies a lot. So a direct connection is always better than vias.
@優さん-n7m
@優さん-n7m Жыл бұрын
how does via inductance over frequency differ from track inductance over frequency?
@jfposada007
@jfposada007 2 жыл бұрын
Thank you. Great video. Yes, please build the PCB. I would love to see the actual vs. simulated results comparison. Great work, Robert. I first found you back in 2012, when I was working with Altium.
@Leon-xc4vd
@Leon-xc4vd 3 жыл бұрын
Thank you so much! And Steve!
@LesRoutesdelElectron
@LesRoutesdelElectron 3 жыл бұрын
Thank you, Robert, for this very very interesting video.
@gudimetlakowshik3617
@gudimetlakowshik3617 4 жыл бұрын
Awesome one....I usually have fights and arguments with my peers on the same topic. I loved the way how simply you have explained how to analyze PDN impedance curves at 5:42....Thanks robert...looking for more high speed pcb design videos...!!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Gudimetla
@gudimetlakowshik3617
@gudimetlakowshik3617 4 жыл бұрын
@@RobertFeranec Hi robert, here's an video idea. Recently I started doing some RF boards for wearable devices. The entire design was alright but things started taking bad turns when coming to the RF section. The very big problem I had is to do impedance matching. I also heard this is a very big problem with lot of my hobbyist friends and makers out there as this process would need equipment like VNA's. So can you please shed some light on this topic by making a video on how to use VNA to match the impedances?( by taking a simple 50ohms boards would be enough.) Hope you would consider the request. Would love to see a video about this on your channel.
@barnabygarrood9862
@barnabygarrood9862 4 жыл бұрын
Definitely agree it would be interesting to compare physical measurements to simulation. Really interesting video. Thank you!
@yomamsie4438
@yomamsie4438 4 жыл бұрын
I cant wait for the altium pdn tool to include ac analysis
@RobertFeranec
@RobertFeranec 4 жыл бұрын
It could be interesting
@rogerfurer2273
@rogerfurer2273 4 жыл бұрын
Thank you Robert. I am surprised by how much difference the addition of traces makes. I would definitely like to see tests of physical boards.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Roger
@hansibull
@hansibull 4 жыл бұрын
Thank you for creating this video! This is a super useful reference for everyone that's designing PCB, especially since trace width component size and placement is difficult to understand what effects it might have on a circuit. It would be even more interesting if you built this board and did some actual measurements on it! I will definitely watch this video again the next time I'm creating a PCB, just to freshen up the memory!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much MCUdude
@randydireen3566
@randydireen3566 4 жыл бұрын
Always enjoy your videos after a long day. This is so interesting!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Randy
@samc4499
@samc4499 3 жыл бұрын
I cannot recall where I heard this from. Someone told me that the efficiency of decoupling is all about the loop inductance (from the cap itself to the power pin). A via is an inductor as well as small traces and long distance. So a good decoupling is to minimize all 3, if you have space!
@Cynthia_Cantrell
@Cynthia_Cantrell 3 ай бұрын
When it comes to decoupling, vias are inductors, so if you can, eliminate them - this is why having the cap and power plane on the same layer is so helpful. When you can't eliminate them, placing a few vias in parallel helps - up to a point - the nth via only provides 1/n improvement. Parallel power and ground planes do add a little extra capacitance, and you can calculate how much using the area, dielectric thickness, dielectric constant, and the capacitor equation. What you will quickly figure out is that the little ceramic caps provide MUCH more capacitance than the power and ground planes, and they have a better Q. A common problem is that the parallel power and ground planes are a much better transmission line than they are a capacitor. This means that when a slug of current gets pulled out of the planes at one spot, that voltage dip travels across the whole rest of the power/ground plane at roughly 185ps/in. So you want to make sure the chips take that current out of the decoupling cap, and NOT the power/ground plane. So make sure the power via is NOT between the chip and the cap! Otherwise, much of that current will come out of the power plane rather than the cap. A properly sized ferrite bead between the cap and the power plane can help insure that current comes out of the cap first, and what gets pulled from the plane comes out slower. Another thing to keep in mind with the fast edge rates on modern chips, you have to consider that you don't see the whole capacitance of the entire power / ground plane pair, but only what is within the "lumped element" radius of power pin, due to the speed of currents in the PCB. This works out to roughly 0.9 inch for every nanosecond of edge time. That is, a 1ns rise time will only see a circle of about 0.9in radius of the power / ground plane pair of effective capacitance - after that it's a transmisson line. For large chips like FPGAs, you'll want to keep in mind i = C * dv/dt. Each I/0 pin will have to drive some capacitance C at the device's rise or fall time, dv/dt. This will allow you to calculate how much current each I/O pin will source or sink when it switches state. It has to pull this current out of its associated power pin. If you have a 32-bit wide bus switching pins at the same time, then you have up to 32 times that current switching all at once. You'll be surprised at how large that current can be. Fortunately, the same equation can reconfigured to determine the size of the capacitor you need to limit dv/dt to a safe level.
@MaxWattage
@MaxWattage 4 жыл бұрын
Thanks Robert, fantastic work. In terms of additional simulations to try, I would be interested to know whether it was adding more capacitors that gave you better results, or whether it was simply that by adding additional capacitors that caused some to located closer to the load terminals (on the right hand side of the board), rather than being located in the middle of the board. Regarding using big areas of copper on the top-surface, whilst soldering the caps to big areas of copper (as in #25) gives a nice low-impedance, I suspect that the lack of thermal reliefs will cause production reliability problems during IR-reflow soldering. They would also be a nightmare for re-work, as you would have to heat up the whole copper-plane just to de-solder the capacitor. So, this might cause more trouble than it is worth.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Nicholas PS: Today, I was thinking exactly the same - if just placing some of the capacitors closer made the difference. Maybe another example to try ....
@giannisasp1208
@giannisasp1208 4 жыл бұрын
Hi Robert! Very interesting video as always! If I had to justify why direct connection is better, I would say that it probably has better results because it is the shortest connection (so less inductance) and also there is no via (so shorter connection and no via parasitic inductance). Preferably use the variation with the thicker tracks or polygons. As for the Capacitor size, I think it would make a bigger difference if we had to compare smd with through hole packages as mr.Bogatin mentioned in one of your previous videos, but maybe 0402 with 0603 for example would have little difference here at least for relatively low frequencies. Maybe it would be more noticeable for higher frequencies? Manufacturing and measuring the real pcbs would be interesting I think.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much giannis asp
@MattHollands
@MattHollands 4 жыл бұрын
You should also make a poster showing all the different options from worst to best! Would be a great reference during layout to know how you might move the capacitors to optimise the PDN.
@methusalah2
@methusalah2 4 жыл бұрын
great video and very relevant to junior designers. please fabricate the boards and measure them - i'd love to learn about the instrumentation station + best practices to measure PDN
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you
@leonardomarquez7914
@leonardomarquez7914 2 жыл бұрын
It would be nice to see the case when you connect the VCC net of the capacitor directly to the pin, but the GND is connected through vias. I think this is a pretty common scenario when designing PCBs. Would be nice to see there does it stand in the chart.
@robertdixon8238
@robertdixon8238 3 жыл бұрын
Another great video in the decoupling series. As I understand it, local decoupling (10n - 100n) needs to be at the pins, but bulk decoupling (1uF and above) just needs to be connected on the planes. It would be good to add these to your test PCB, also. It is not clear from your excellent plots how the frequency of the ESR notch is affected by the different connection types. Does this matter? Another test would be what effect does putting the decoupling capacitor AFTER the output pins have, compared to having it BEFORE the output pins? Your test PCB from part 1 has the local decoupling after the CPU power pins, but the common advice is to make the PDN track go to the capacitor and then to the device power pins. Does this really matter? Keep up the great work. Look forward to further involvement from Steve, Eric, and Rick! Please build and test the PCB. Theory is important, but real measurements confirm the simulator's predictions. P.S. I think there is more to learn about the ferrite beads from part 3.
@andreynesterov7462
@andreynesterov7462 4 жыл бұрын
Great video! It would be interesting to know how thermal relief affects PDN. How big is the difference between a direct connection and through thermal relief.
@stevesandler3974
@stevesandler3974 4 жыл бұрын
As I mentioned above it depends on how big the relief is, but in general the relieve is not very significant compared to the via
@timun4493
@timun4493 4 жыл бұрын
You seem to be in an especially good mood in this video, very pleasing to watch, thank you. I would certainly be very interested in seeing your simulation results verified by measurement, also would you consider having a look at specialty multi terminal packages like smt feedthru, x2y and lga/bga, this would be useful as most of the material available is from entities trying to sell these things
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you tim. It was an interesting video even for me and I was happy to see the results :)
@CarstenGroen
@CarstenGroen 4 жыл бұрын
Very good and interesting video Robert! Great work!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Carsten
@siddharthmali5841
@siddharthmali5841 4 жыл бұрын
Great video as usual.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Siddharth
@aavilap
@aavilap 2 жыл бұрын
Fantastic video, very informative!
@udhayakumara4033
@udhayakumara4033 4 жыл бұрын
It's very hard to track your mouse pointer with the white background, but it's ok, I can understand your point. Great video as always
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Udhaya
@robertpeters9438
@robertpeters9438 9 ай бұрын
Excellent work!
@mahoneytechnologies657
@mahoneytechnologies657 2 жыл бұрын
Yes Build Board and Test, In the words of the Late Jim Williams, the final CAD is Copper Clad CAD!
@josephdzn9868
@josephdzn9868 2 жыл бұрын
Hi Robert, I think your results do make sense because of your stack up - GND and PWR are >1mm apart. Signal through the same layer traces will have less inductance/impedance than through the vias. I would be interested to see the same simulation on closely spaced power planes (
@josephdzn9868
@josephdzn9868 2 жыл бұрын
Great video by the way.
@andrewboktor1636
@andrewboktor1636 2 жыл бұрын
YES you should build a few boards and measure them. You should also add a board with single cap right next to the load pins (basically equivalen to populating the rightmost cap only on your 8 cap designs).
@efox29
@efox29 4 жыл бұрын
Around 15:00 you mentioned that you had heard that decoupling cap position may not matter if you have power plane and that your sim shows that it may not be true. I would say that your power planes are really far apart and therefore ineffective. Looks like your planes are +40mils apart. If you can, run the sim again, but this time, for the stackup, keep the power planes < 8 mils. Does placement of capacitors matter then ? From literature, its that the power plane provide most of the decoupling (when < 8mils) and physical decouple caps can be much looser.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
I could try this. When I was talking to Steve, he also pointed this out.
@666aron
@666aron 4 жыл бұрын
Thank you for another great explanation. These videos are invaluable. I don't know if I will ever have the chance to design something > 5MHz, but even in that domain, the conclusions are useful.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Aron
@hjups
@hjups 4 жыл бұрын
Very cool. I wonder if this means that QFP / QFN parts would have an advantage over BGA devices, since it could be practical to connect the decoupling capacitors to the pins directly without vias. Although, it's likely that the reduction in inductance from the BGAs would have a larger impact. If you have time, could you try the following configurations: 1) A T connection. Where the capacitor is directly connected to the power pin, but only connected to the power plane through vias mid-way through the connecting track (like a T where the base of the T is the via to power / gnd). 2) An L connection. Similar to the T case, you could look at the case where the via comes after the capacitor in the path (sort of like your direct connection cases, but the trace to the power input is cut and replaced with a via to the power plane instead). I was going to suggest also placing a capacitor directly on the power output pins on the bottom layer, however, due to symmetry, you have effectively already tried that. It would be very interesting to see if real life holds up to the simulations.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
That is an interesting point. PS: I am putting the examples on my list to try
@hjups
@hjups 4 жыл бұрын
​@@RobertFeranec To test the QFN/QFP vs BGA, you could probably simulate the leads via adding inductors between the connection trace and the simulation measurement points. Though you would have to find realistic values for the inductors... I did a quick search and found an app note by TI (AN-1205), which models different package leads as a RLC network - perhaps that could be helpful.
@naren445
@naren445 2 жыл бұрын
Hi Robert, I am eager and curious to see the video of Testing of PCBs after assembly. Thank you.
@Helena-gp8bn
@Helena-gp8bn 4 жыл бұрын
Thanks for the interesting work! I'm waiting for measurements on the pcb )
@ААа-х2ы9ш
@ААа-х2ы9ш 4 жыл бұрын
Robert, thank you a lot!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you
@ats89117
@ats89117 4 жыл бұрын
Big thumbs up for this video, but the parallel power and ground planes on every layer are contrary to what one of your previous experts, Eric Bogatin, advocates, which is alternating power and ground planes on the PCB to minimize EMI. Would like to hear his take on this...
@jebinsatheeshkumar
@jebinsatheeshkumar 4 жыл бұрын
Hi Robert, Indepth explanation. Awaiting for the real time result, I curious about know simulation tools are how close to reality!. Jebin
@kmacriver
@kmacriver 4 жыл бұрын
Robert that was a great video.
@sepphuber7434
@sepphuber7434 4 жыл бұрын
Thickness of the core in this 4-layer stack-up is HUGE (about 1mm, like in most 4-layer stack-ups). I think that's the reason that capacitor placement appears to be more important than connection style. I would definitely reduce the distance between power and ground plane to something like 0,1mm. That is more of a "real world" value for boards where one really cares about PDN impedance.
@stevesandler3974
@stevesandler3974 4 жыл бұрын
I think this is not necessarily true. Some designs us 0.1mm, many 0.2mm-0.4mm and there are also still a lot of 4 layer PCB's
@RobertFeranec
@RobertFeranec 4 жыл бұрын
We may try different stackup in some of the other simulations.
@UNgineering
@UNgineering 3 жыл бұрын
Re: 23:38 - the two parallel lines create another capacitor - two conductors with a dielectric between them, so it makes sense that the results are better.
@TINOxiiip
@TINOxiiip 4 жыл бұрын
Great video, I am definitely saving the picture
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you daklu
@Hirnlappen
@Hirnlappen 4 жыл бұрын
Yes yes yes! Want to see the real world test 😊
@hassanjaved1147
@hassanjaved1147 3 жыл бұрын
Hi Robert! I am curious about the results when they are analyzed after Fabrication. Thanks for such detailed video :)
PCB Layout & Decoupling - Explained why it's so complicated (Part 1)
53:02
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
FPGA and BGA PCB Power Delivery Best Practices
15:22
Altium Academy
Рет қаралды 13 М.
Vias and Their Aspect Ratios | PCB Routing
15:55
Altium Academy
Рет қаралды 20 М.
Decoupling Capacitor Placement and High-Speed Design
14:03
Altium Academy
Рет қаралды 23 М.
Flawless PCB design: RF rules of thumb - Part 1
15:45
Hans Rosenberg
Рет қаралды 96 М.
Top Fifteen Mistakes People Make When Designing Prototype PCBs
12:26
Cosplay Light and Sound
Рет қаралды 166 М.
EEVblog 1559 - PCB Design: Trace Current Rating
29:42
EEVblog
Рет қаралды 50 М.
Decoupling capacitors
17:51
Texas Instruments
Рет қаралды 17 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН