PCB Layout & Decoupling - Explained why it's so complicated (Part 1)

  Рет қаралды 74,902

Robert Feranec

Robert Feranec

Күн бұрын

Change the way how you look at powers on your board.
Part 2: PCB Layout & Decoupling - Understanding Impedance
• PCB Layout & Decouplin...
Part 3: PCB Layout & Decoupling - Measuring and Fixing
• PCB Layout & Decouplin...
Big THANK YOU to:
- Florian Hämmerle www.linkedin.c...
- Eric Bogatin / eric-bogatin-368860
------------------------------------------------------
Would you like to support me in what I do? It's simple:
- you will help me a LOT, when you sign up for one of our Schematic and PCB Design online courses at www.fedevel.co...
The other ways to support me in what I do are:
- Subscribe to this channel
- support me through Patreon page / robertferanec
- sign up for my Udemy course, Learn to Design Your Own Boards www.udemy.com/...
- send me an email and/or leave a positive comment
- watch and like the videos :)
- read my Welldone Blog at www.fedevel.co...
- spread a word about FEDEVEL Academy
It is much appreciated. Thank you,
- Robert

Пікірлер: 287
@amirsaeed9163
@amirsaeed9163 4 жыл бұрын
Who we are? PCB DESIGNERS What we want? PART TWO OF THIS VIDEO who we love? ROBERT FERANEC
@RobertFeranec
@RobertFeranec 4 жыл бұрын
:D
@KingZuluKing
@KingZuluKing 3 жыл бұрын
can't agree more hehe
@henrikemppainen2511
@henrikemppainen2511 2 жыл бұрын
There is no need to be embarrassed. Going from the knowledge you gained from books, slides, lectures and whiteboard doodles to using it in practice is very often a "connecting the dots" moment and it's not so unusual to need an example, some hand holding, or just extra time to think about it before it all comes back. Great video as always, thank you very much.
@neuralnetwork653
@neuralnetwork653 4 жыл бұрын
For those interested in high speed processes happening on your PCBs I would recommend reading Howard Johnson's books "High Speed Digital Design: A Handbook of Black Magic" and "High Speed Signal Propagation: Advanced Black Magic". After these books you will clearly understand what is happening on your PCBs.
@yankovMuskula
@yankovMuskula 4 жыл бұрын
Agree . The best purchase i have ever made .
@superheaton
@superheaton 4 жыл бұрын
I remember reading the high speed circuit designs...definitely worthwhile
@vejymonsta3006
@vejymonsta3006 3 жыл бұрын
Will check it out. Thanks for the recommendation.
@adrienlombet4476
@adrienlombet4476 3 жыл бұрын
Bogatin's book are better imho for this particular topic
@AlbertRei3424
@AlbertRei3424 2 жыл бұрын
It is only math, not a book for hardware designer
@nenharma82
@nenharma82 4 жыл бұрын
That’s some ultra high quality content! Thank you!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much nenharma82
@rhalfik
@rhalfik 3 жыл бұрын
I was on the edge of my seat most of the time. It always struck me, that the best teachers are the people who just learned someting new. If there was a complete series on electronics made by a novice, where he's explaining stuff as he learns it, it would be the best course ever. Add a few comments from his mentor and you have a solid education.
@RobertFeranec
@RobertFeranec 3 жыл бұрын
I feel it the same way.
@alejandroperez5368
@alejandroperez5368 2 жыл бұрын
No...
@JosephPMcFaddenSr
@JosephPMcFaddenSr 3 жыл бұрын
Great job Robert Your Humility and passion for continued learning make you a true educator
@rikka0_059
@rikka0_059 4 жыл бұрын
The most simple method is to draw the return path of each signal/current, try to minimize the overlap between sensitive signal and noisy tracks. Always place the decoupling cap close to the chip.
@andreschneider3147
@andreschneider3147 4 жыл бұрын
This guy's humbleness keeps amazing me again and again... An anecdote: I'm a power electronics guy and have worked with high voltage converters. So I used to design and build high frequency high voltage transformers all the time and measure the transformers parameters with the help of an impedance analyzer. I've developed reasonable experience, but the fun (sad) fact is: I had never thought of PDN this way! I guess we end up ignoring the basics when we're faced with a complex problem sometimes... Thank you for all the content!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Andre
@UpcycleElectronics
@UpcycleElectronics 4 жыл бұрын
No one has every subject mastered. I say we're born with faulty DRAM built in. We regularly need to manually reset the refresh rate and often start over. I was in the same boat as you when Mark asked you those questions. I was thinking, 'I should know/remember this,' but honestly didn't at the moment. It's okay though. I know I need to grab The Art of Electronics off the shelf and look in the first few chapters for my answer. Thanks for sharing.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you. PS: Yes, I had to refresh a LOT of theory when working on this video.
@guillep2k
@guillep2k 4 жыл бұрын
Robert, I need THANK YOU so much for this video series! I've been waiting for these explanations to show up in KZbin since 2010. This will help us understand everything from decoupling, ground loops, EMI, etc.; all the black magic stuff of PCB design. I'm very happy I finally get to watch this.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you guillep2k PS: That is the reason why I am making these videos. There are some pdn videos on the internet, just ... it's not very easy to understand the topic. Many videos are too advanced or require some other knowledge to understand them properly. So I am trying to make a video which would be easy to understand - but as it is complicated topic I am not sure how successful with the explanation I will be. Let's see what people will say ...
@paulandsabrinaholmes
@paulandsabrinaholmes 2 жыл бұрын
I love your honesty and willingness to ask questions to get to a better understanding.
@antoniocarbajal8009
@antoniocarbajal8009 Жыл бұрын
Escribire en mi idioma NATAL, muchas gracias Robert por compartir tu conocimiento, nos motiva a los que amamos esta carrera a seguir comprendiendo las hermosas imperfecciones de la Electronica. Thanks So much, for you Work. Regards from Perú
@onlinethappad6504
@onlinethappad6504 4 ай бұрын
bro u can be younger than me, but u dont have to separate out your knowledge without money! u r the master of this event. m also altium designer, but u r awesome mate
@guillep2k
@guillep2k 4 жыл бұрын
As a nerd myself, this phrase (and the fact that I felt it so true) made me feel very proud: "and this is where the fun begins"!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
:)
@douglaskoo2354
@douglaskoo2354 Жыл бұрын
Thank you all so much for explaining, after watching this video (part 1), you let me realized that even though the microcontroller is doing the switching (on and off), this situation can cause the microcontroller's voltage supply "Vcc" pin to fluctuate (having voltage ripple in millivolts), where the voltage across the microcontroller can become low depending on how large the "Power Delivery Network" (PDN) impedances is. You also summarized the 3 things that you've learnt, which is the key take aways of this video❤️ love your videos, Robert, Florence, and Eric🙌
@Andrew-dp5kf
@Andrew-dp5kf 4 жыл бұрын
Well done Robert, really appreciate the time taken to do these!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Andrew
@RobertFeranec
@RobertFeranec 4 жыл бұрын
@Následovník Nikoly Tesly Slovak
@RobertFeranec
@RobertFeranec 4 жыл бұрын
@Následovník Nikoly Tesly :D
@LarixusSnydes
@LarixusSnydes 8 ай бұрын
Thank you so much for this explanation and demonstration, Robert, Florian and Eric ( no disrespect meant by omitting your surnames ). I thought I would not need to be this careful about switching noise at low frequencies and it's mitigation with decoupling capacitors. I have been so wrong and I stand corrected, but my curiousity about how this works is also awakened. Thanks again!
@zhitailiu3876
@zhitailiu3876 4 жыл бұрын
Wow, We've just almost built an oscillator accidentally!! Really really precious video!! The step response looks really awful. Can't wait to see a revision of the board, like adjust the capacitor values, modify the power connection(try a 4-layer board) , and perhaps remove the bead(?). Please upload the second part! Can't wait to see it!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Zhitai
@javierbeloso4241
@javierbeloso4241 8 ай бұрын
Hi! These videos are really, really interesting and useful. I am discovering a new world in the design of PCBs. Thank you so much to Robert, Eric and Florian for the content, It is highly appreciated! Great guys and teachers :)
@nihar0689
@nihar0689 4 жыл бұрын
Hi Robert, I definitely want to see the next part of this video. What I really like about this video is the collaboration of the different area of expertise that you are bringing together for us. For instance: 1) The board from your PCB design course which teaches us how to make the best use of the PCB layout tools and follow best industry practices, 2) The simulation software that you used and showed us how we even we can simulate our own designs if given the right tools. 3) Last but not the least, how you compare simulation results with actual waveform captures from oscilloscope and then bringing the expertise from Dr. Eric Bogatin who looks at circuits way differently than others given his background in physcis. Keep up the good work Robert, it is really educating young engineers like us.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Nihar PS: After making this video, I may need to do some improvements on the board :D
@hri124
@hri124 4 жыл бұрын
OMG! I was just about to start placing bypass caps for my PCB and this showed up! Can't wait for the next part! :)
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you hri124
@jmbpt
@jmbpt 4 жыл бұрын
Thank you Robert! With yours channel and yours curses I’m learning a lot. You are a very good teacher. Please continue yours great work.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Jorge
@Kashif_Javaid
@Kashif_Javaid 3 жыл бұрын
Big thumps up for taking a stab on illuminating the dark messy world of PDN. Bogatin book last chapter is probably the best intro on this subject.
@krisjk999
@krisjk999 4 жыл бұрын
Cannot wait for the second part!! Great video. You have gone straight to the guru on signal and power integrity - Eric Bogatin. I just got his latest book on SI integrity. Great read
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Jayakrishnan
@amirsaeed9163
@amirsaeed9163 4 жыл бұрын
Thank you very much. And don't be embarrassed it's been 5 years that I left university and remember nothing of these because of time I focused on embedded systems. It happens to all of us, we focus on one thing and forget the rest.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Amir
@prasad94
@prasad94 3 жыл бұрын
Fantabulous ! There is no word which can express my feeling. Great job Robert !
@Ghost572
@Ghost572 2 жыл бұрын
I liked that @46:00 was left in, reminds me I'm not the only person who can get confused on a question when we really do know the answer haha. Like a simple question but we think its something else. Although I could understand why because I wouldn't be thinking about impedance graphs like that when talking about traces and thinking about other things like resonance and self resonance.
@danthomas9624
@danthomas9624 3 жыл бұрын
This video is an excellent combination of theory, measurements, and quick calculations. It is also a great reminder how important it is to try to gain an intuitive understanding of a design and its performance. Thanks!
@SuperG316
@SuperG316 3 жыл бұрын
Got electronic education, key point and important thing you learn is that components are not ideal but have parasitic atributes. I also have education in Automotive. And wenn I was young also into car hifi. Those huge buffer 1F elco with protection circuit. To buffer the slow chemical car Battery for heavy bass line in the music. Or insane capacitance device the size of small freezer to fire Gas laser. For making holes in PCB it also about fast power. All parasitic inductans from decoupling C tot internals IC all adds up. That why short trace and close to pins means less inductance to add. Well its nice refresh of knowledge.
@user-jk7kf5vz5d
@user-jk7kf5vz5d 4 жыл бұрын
Hello Robert, grate video about decoupling & power supply! I'll be waiting for part 2 eagerly. Thanks!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you
@codedesigns9284
@codedesigns9284 2 жыл бұрын
Thank you for leaving in the video with Eric. It was a great refresher for myself as well, seeing the tank circuit, I recognized it and understood more clearly. Excellent video! We learn from our mistakes.
@amrocomm
@amrocomm 3 жыл бұрын
from that starting part of the noise and its effects I can see that everything we learned in the school is very important but why they didn't tell us the applications and its necessity to our further work in design many thanks to you Robert for your efforts and keep going bro
@RobertFeranec
@RobertFeranec 3 жыл бұрын
Thank you Amr PS: I agree
@barathr5199
@barathr5199 Жыл бұрын
Bro please keep making more videos 🙏 for us that can't afford a master's degree, you are our open free university
@abhichokshi496
@abhichokshi496 4 жыл бұрын
Hi robert, You can understand pdn from eric bogatin book to understand how this decoupling nw is designed and works.
@forresterickson6225
@forresterickson6225 4 жыл бұрын
Robert, Nice work with Florian and Eric. I would like to suggest some vocabulary. The waveform that the switching load forces onto the power supply nets is best called "interference". It is a signal that will mix into other loads sharing the same power supply and interfere with the expected signals there. I would reserve the word "noise" for non correlated and unpredictable disturbances such as, but not limited to, the thermal excitation in conductors called Johnson Noise. This distinction is helpful. Next the series elements in a power supply network should be called "Decoupling beads" or even "Decoupling resistors". These elements decouple one interference source (one load) from another (other loads also known as other victims). They also decouple the capacitors near the load from the distant and usually very large capacitors in the power supply which prevents typically the lowest frequency ringing in a power supply distribution. The capacitors to ground on the power pins of a load should be called "Bypass capacitors" . They offer a low impedance path for current between the power pins of a load and the ground pins of a load and the current the load consumes comes from them in proportion to how easy it is to flow (You have to think conductivity here). This last sentence shows why it becomes insightful to think of the currents that flow as the load is active. It is providing this current to the load the bypass capacitors are doing. The current bypasses the power distribution network and stays local to the load and it's bypass capacitor(s). At high frequencies the load current is supplied by the local bypass capacitors and they (the bypass capacitors) are recharged only at lower frequencies through the decoupeling components of the power distribution network. For good electromagnetic compatibility you never want high frequency currents traveling a long distance over power networks. To have high frequency currents traveling over long distances is to build a magnetic loop antenna which couples interference into adjacent circuits and even perhaps outside the product where your friendly FCC compliance people will measure them (thus causing you to have to revisit an FCC test after design changes). Sage advise I learned from a mentor. "Never use more bandwidth in any circuit than you need for that circuit's proper operation." So for example put a 1K resistor on all of your UART TX and RX nets cause they are going to be very sloooow compared to the typical processor clock. And for best effect the resistor on the RX line should be near the level shifter not the processor. Do you see why? I hope this helps. (Forrest) Lee Erickson Physicist who pretends to be an electrical engineer.
@forresterickson6225
@forresterickson6225 4 жыл бұрын
Would like to ask Florian if he has placed the Arduino sketch (that he used to operate the DUT at the various frequencies) somewhere public? Although I do not have a Fedeval Arduino I have some out of China with a QFP processor and the bypass capacitors are quite distant from the controller. Would like to measure my DUT.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Lee
@RobertFeranec
@RobertFeranec 4 жыл бұрын
@@forresterickson6225 Lee, here is the code: //storage variables boolean toggle = 0; void setup(){ //set pins as outputs pinMode(0, OUTPUT); pinMode(1, OUTPUT); pinMode(2, OUTPUT); pinMode(3, OUTPUT); pinMode(4, OUTPUT); pinMode(5, OUTPUT); pinMode(6, OUTPUT); pinMode(7, OUTPUT); pinMode(8, OUTPUT); pinMode(9, OUTPUT); pinMode(10, OUTPUT); pinMode(11, OUTPUT); pinMode(12, OUTPUT); pinMode(13, OUTPUT); pinMode(14, OUTPUT); pinMode(15, OUTPUT); pinMode(16, OUTPUT); pinMode(17, OUTPUT); pinMode(18, OUTPUT); pinMode(19, OUTPUT); cli();//stop interrupts setInterrupt(159); // = ((16*10^6) / (frequency*2)) - 1 //50kHz = 159 //60kHz = 132 sei();//allow interrupts }//end setup void setInterrupt(int divid){ TCCR1A = 0;// set entire TCCR1A register to 0 TCCR1B = 0;// same for TCCR1B TCNT1 = 0;//initialize counter value to 0 OCR1A = divid;// = (16*10^6) / (freq*2) - 1 // turn on CTC mode TCCR1B |= (1
@user-km9dx6xc1f
@user-km9dx6xc1f 4 жыл бұрын
Unfortunately I cannot add one million likes under this video. Waiting second part. THANK YOU Robert!!!!!!!!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Andrej
@tebbotebbo309
@tebbotebbo309 3 жыл бұрын
i've been watching you're videos since my first year of my engineering bachelors until my final year , i'm very happy to see that you become THIS successful on youtube !!!
@PabloJean
@PabloJean 4 жыл бұрын
Thank you Robert for this amazing video. I have some idea that the power rails is a problem. BUT, never imagine that the problem is huge like that. Sure, continue with this parts, every parts you need to explain
@RobertFeranec
@RobertFeranec 3 жыл бұрын
Thank you very much Pablo.
@user-ww2lc1yo9c
@user-ww2lc1yo9c Жыл бұрын
Before we go to the part 2, I have a question. Since we are talking about frequency going into GHz range, it must be remember that the non-ideal characteristics of the inductor mean that it behaves like capacitor at very high frequencies and thus has a self resonance and that the capacitor behaves like an inductor at very high frequencies and thus has a self resonance. This is not discussed in the graphs near the end of this video.
@deepakkumaraagri7993
@deepakkumaraagri7993 3 жыл бұрын
Eric have change the world
@superciliousdude
@superciliousdude 4 жыл бұрын
Fantastic video, as always! I wish I had access to such high quality learning materials when I first started working on high speed designs. Never too late to learn though :)
@RobertFeranec
@RobertFeranec 4 жыл бұрын
I wish the same! :) Thank you.
@xxultz
@xxultz 4 жыл бұрын
You asked if this video is useful? It is absolutely jaw droping! It is mind blowing! I'm very very anxious to see the next part! You have no idea how much information you put there, like you said, "why they don't teach this at school?"
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Xtian for nice words.
@vincentchung6316
@vincentchung6316 3 жыл бұрын
The imaginary part of the impedance @52:27 should be X_L - X_C (though, the value calculated by your formula will not different from the correct version for the square gives of the difference always gives positive values)
@michaeljones5205
@michaeljones5205 3 жыл бұрын
Thanks Robert for putting all of these things together is such a manner! After working on PCBs so long it's easy to start thinking about things in a given way. It's so good to see the tools and experience of others show that this may or may not be the correct case! You've given me more than one epiphany if your videos. Thanks!
@p_mouse8676
@p_mouse8676 4 жыл бұрын
FesZ Electronics had an excellent video on this as well. In my opinion in the end it's all very relative. So, yes you can sometimes get resonance peaks in the impedance, but in the end of the day it's lower than without additional decoupling. Also it always will be a compromise between decoupling vs noise reduction not only from the power supply but also INTO the power supply (something people really seem to forget).
@RobertFeranec
@RobertFeranec 4 жыл бұрын
I will have a look, thank you P_Mouse. PS: I will continue explaining in the next part ... if people like this kind of content. Eric also spoke a little bit more about decoupling, so I would also include that ... it was very interesting call.
@p_mouse8676
@p_mouse8676 4 жыл бұрын
@@RobertFeranec yes, I am definitely interested in part 2. Basically instead of using Excel you can just simulate a lot in LTSpice. Just saves a lot of time.
@p_mouse8676
@p_mouse8676 4 жыл бұрын
@@RobertFeranec oh and btw, don't be embarrassed. We all had our blackout moments haha 🤣👍🏻
@RobertFeranec
@RobertFeranec 4 жыл бұрын
@@p_mouse8676 initially I started simulation in Circuit lab ... and it blocked me out and asked for registration, so I opened Excel spreadsheet :D
@RobertFeranec
@RobertFeranec 4 жыл бұрын
@@p_mouse8676 :D PS: I have never been the smartest at school, there were much smarter people.
@apurvawalunj3407
@apurvawalunj3407 3 жыл бұрын
Everything about your videos is great- the content, the pace of content delivery, the thought flow, the end results and its interpretation. Thank you so much for doing what you do! Your videos help us join the dots on everything we learnt in school.
@ravigoyal7425
@ravigoyal7425 2 жыл бұрын
Thank you so much sir for explaining this important topic.
@seshansesha7645
@seshansesha7645 3 жыл бұрын
Thank You Robert for your efforts.....excellent concepts.
@sigfreed11
@sigfreed11 3 жыл бұрын
@Robert Feranec, you mention in the video that at 66kHz there is something special, and there certainly is, but you mentioned “when we are operating at that frequency.” However in digital design, we are always operating in that frequency because a square wave (at least a perfect/really good one) is made up of “all” the frequencies. So it is important to have a PDN impedance as low as possible in ALL locations within your given bandwidth otherwise this ringing will occur.
@sigfreed11
@sigfreed11 3 жыл бұрын
I really appreciate these videos, really good stuff! And I also enjoy that you are making me think about things in a new light
@dzidmail
@dzidmail Жыл бұрын
Here is practical comment how this board could be improved. I would route power trace to the decoupling capacitor pad from the above instead directly to the chip pin. I would make that power trace thinner. Only when it goes form capacitor to the chip it needs to be thick. 1.Thinner supply line will filter the noise that may go to other component 2. Connecting the track from the above will reduce EMI on the power trace, as the chip will not be drawing power from it directly, since the cap will be closer. 3. Thicker line from the cap will improve power delivery to the chip.
@dzidmail
@dzidmail Жыл бұрын
Also moving the gnd via above the cap would allow to move the cap closer to IC chip which would further improve everything.
@aniketghosh8812
@aniketghosh8812 4 жыл бұрын
From every video, something or the other new concepts are being learned every time.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Aniket. I am very happy you found the videos useful.
@aniketghosh8812
@aniketghosh8812 4 жыл бұрын
@@RobertFeranec Yess Robert your videos are very insightful.
@DiegoColl44
@DiegoColl44 3 жыл бұрын
really premium content. you clarified a lot of doubts I had... Thanks..!!
@brandonhicks7549
@brandonhicks7549 2 жыл бұрын
The first anti resonance at 60kHz is caused primarily by the parallel resonance of the bead and the 10uF capacitor. The reason the simulation was off, was because the models don’t take into account the inductance drop with DC bias, and may not take into account the capacitance drop with DC bias. Both of these model discrepancies cause the resonance to be predicted lower than reality.
@dzidmail
@dzidmail Жыл бұрын
I noticed people always neglect DC bias in ceramic capacitors. I always wonder when application notes are calling for xx nF capacitor,what actual capacitance they are asking for.
@FJL4215
@FJL4215 3 жыл бұрын
Great video. I have not looked up the exact parts used, but I suspect the discrepancy in resonant frequency of 30 kHz vs 60 kHz likely comes from the reduction in capacitance as DC voltage is applied over that physically small 10 uF ceramic capacitor. Small ceramic high-capacitance tend to have a very strong dependency, sometimes with the capacitance reducing to 1/10 of the rated capacitance (!) when at rated voltage. Most types except C0G are affected. Also the inductance of the ferrite bead could decrease with increased DC current. Possibly by a lot. If these effects are not taken into account in the simulation models, the real resonant frequency will be higher than the simulated as both the inductance and capacitance are lower at the real operating point.
@BluCasper
@BluCasper 3 жыл бұрын
sure we want the 2nd part of this video. this is really important and amazing
@RobertFeranec
@RobertFeranec 3 жыл бұрын
Thank you Blu PS: Part 2 and 3 are now available, there still should be also at least part 4
@gtcollection6933
@gtcollection6933 4 жыл бұрын
Thank you, invaluable information. Very generous of you all for putting this together for the community. I'll share around. Looking forward Part II
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much
@naren445
@naren445 3 жыл бұрын
Kudos Feranec.. Very Informative and explained them in a practical way.. Also making industry PCB design experts part of your lecture. Thank you very much..
@leeslevin7602
@leeslevin7602 2 жыл бұрын
Well done Robert 👏 brilliant video. Very interesting and educational discussion relating to PDN. I'm looking forward to watching the follow up video.
@mrechbreger
@mrechbreger 4 жыл бұрын
Bypass caps are for chicken, Mechatronika in Poland even skips them on their pick and place machine. Just don't touch it - if you do the pick and place head microcontroller reboots.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
:D
@floating9445
@floating9445 4 жыл бұрын
Good video. I really enjoy every of your videos robert. As I am currently writing my master thesis I have to add something: Everything about decoupling you told does not apply to multi-layer boards as the inductance is almost non existent by the use of vias and power planes, rather its more about reducing the length of the trace in order to transmit faster waves with lower wavelength without reflections. That's why high capacitance values like 4,7u can be placed almost everywhere on the board when designing 4+ layer board :) Best Regards!
@RobertFeranec
@RobertFeranec 3 жыл бұрын
thank you Oizys. PS: we will speak about this in one of the next videos. I already have recording of this topic from my call with Eric, I just need to process and prepare the video.
@gregfeneis609
@gregfeneis609 4 жыл бұрын
It's no wonder so many MCU datasheets recommend connecting decoupling capacitors directly to the power pins (NOT through vias) with the shortest traces possible. Having a PDN characteristic low impedance is neat, but better to suffer a few ohms and have a flat impedance profile. I was familiar with processes for measuring frequency response of the PDN with instruments for that (I'm guessing you will reveal in future videos), but I hadn't considered the remarkable DIY approach you show here. Thanks Robert
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Greg. We will mention flat impedance in next video(s). And yes, Florian will mention how we measured it - we used Bode 100 ( www.omicron-lab.com/shop/Bode-100.html ) and a probe which Steve Sandler from Picotest borrowed me ( www.picotest.com/products_index.html )
@gregfeneis609
@gregfeneis609 4 жыл бұрын
@@RobertFeranec Yay! Exactly the method and tools and expert advice source I had in mind.
@hedleyfurio
@hedleyfurio 4 жыл бұрын
Great video - to get insight from Eric Bogatin is a real treat . World expert with humility ! . I used your cadence course some years ago which saved a ton of time 👍
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Hedley. PS: I am very happy you found the course helpful
@gondala
@gondala 4 жыл бұрын
very good lecture... so informative and practical.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you yusie
@Christe4N
@Christe4N 4 жыл бұрын
Wow, thanks Robert! I had heard a lot of the theory before, but felt like I never could connect it together in a way that I could practically use it. This video helped a lot with that. Thanks for the moment at the end where you summarised the 3 things you learned from Eric Bogatin. That summary helped a lot too. My head is still spinning though ;-) I am eagerly looking forward to the next video. I hope you will be able to show how to put all this into practise when we design our circuits and do layout. For me that's the part that eluded me so far: how to bring this complex theory into day-to-day practise? Thanks again for your efforts and explaining it to us!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Christe4N
@EDGARDOUX1701
@EDGARDOUX1701 4 жыл бұрын
Great video tutorial Robert, I can't wait to see the second part!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Edgar
@1simc1
@1simc1 4 жыл бұрын
This is so amazing! thank you. Cant wait for next part. Everithing is informative and it is always great to look and refresh the basics. NO shame in that :)
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you :)
@militaryAirforce
@militaryAirforce 4 жыл бұрын
I want to see second part pls. It is really usefull. Thanks for your videos
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Freddy
@gondala
@gondala 4 жыл бұрын
for future video, i hope you can make some discussion about this important topic for more specific application, in this case, the microcontroller running in lower switching, for example in motor application where the switching output (PWM) usually around 20 kHz (not in range of 5 MHz as shown in video).
@p_mouse8676
@p_mouse8676 4 жыл бұрын
Btw. Love the Fermi type of problem solving from Eric Bogatin.
@rodf7663
@rodf7663 2 жыл бұрын
I think the 30ish kh is the fundamental frequency and 66kh is the 2nd harmonic which would mean the simulation is still correct if the 1st one is actually 33kh
@08pini
@08pini 3 жыл бұрын
Advising you to see Eric's PDN webinars in his site. he explains this subject great!
@BobBeatski71
@BobBeatski71 4 жыл бұрын
Wanted to make a "quick" video about decoupling capacitors. Oh how I laughed ! I recommend Signal Integrity Simplified by Eric Bogatin. Saved to watch later.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Yeah ... I know now .... it's not so simple :)
@BobBeatski71
@BobBeatski71 4 жыл бұрын
@@RobertFeranec Whilst at Nokia, I developed a Xilinx based FPGA board for camera image manipulation development. My boss at the time was very unhappy that I had spent a whole three days working out the decoupling capacitor network for the board. I pointed out that the design would have a PDN impedance of under 0.1 Ohm flat upto 800 MHz and that he'll be able to switch all the outputs simultaneously on/off without the device glitching. I used Agilent ADS 2010 back then and modelled each capacitor as a combination of series RCL and parallel R lumps. The data was provided by the detailed AVX datasheets. Xilinx provide a very good application note for "Power distribution system design: Using bypass/decoupling capcitors" ref XAPP623
@RobertFeranec
@RobertFeranec 4 жыл бұрын
@@BobBeatski71 Nice!
@liamv1200
@liamv1200 3 ай бұрын
My god this video is so helpful, thank you so much
@Edganrix
@Edganrix Жыл бұрын
Robert you crawled for us to walk, no worries!😁
@marklewus5468
@marklewus5468 3 жыл бұрын
Great work, Robert! The root of this problem is, while the capacitors are on the schematic the inductance and resistance is not, even though they all affect the PCB. It’s not really black magic, just seems that way :)
@alejandroperez5368
@alejandroperez5368 2 жыл бұрын
inductance and resistance of the capacitors?
@rogerfurer2273
@rogerfurer2273 4 жыл бұрын
I'm very interested in all of this. You are helping me understand some of the mysteries that can sometimes bite me in the... !!!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Roger
@wrekced
@wrekced 4 жыл бұрын
@Robert Thanks for making this video! It has been 25 years since college so there was a lot in this video that was new to me. We did not have that kind of advanced software to run our simulations with. Mostly, it was by hand with a good calculator. Anyway, I enjoyed this one and I definitely want to see the next one.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you for watching and leaving feedback wrekced
@Parvi_
@Parvi_ 4 жыл бұрын
Learned a lot! Thanks Robert
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Raza
@misiaelkruk
@misiaelkruk 3 жыл бұрын
Well Done Robert!
@shinningraj
@shinningraj 2 жыл бұрын
Sir, thanks for your vital input! I would like to know which Simulator programme you used to trace this kind of circuit...? Please keep sharing these kinds of knowledge which great like you can only bring to light...
@sadeghmoradi80
@sadeghmoradi80 3 жыл бұрын
Surely fruitful! Thanks!
@jack_brooks
@jack_brooks 4 жыл бұрын
I'm surmising at high frequencies that the other down loop inductors become unimportant because the nearest capacitor starts becoming the path of least reactance for the current. Eager to see the next video to find out.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Jack
@PsychogenicTechnologies
@PsychogenicTechnologies 4 жыл бұрын
Thanks for sharing this information. I really liked how instead of simple, hand-wavey, "ringing happens and it's bad, mk" you actually showed how the ringing itself encodes detailed information about the nature of the circuit/issue...awesome. Also I'm quite curious about how you go about mapping the PDN impedance on actual boards (vs in sim)... Are you just sticking a VNA into the VCC pin? Is there a more "poor-man's" solution to this e.g. simply mapping the amplitude of a small signal from a generator or something? Can't wait to see how you did it.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much. PS: We will be talking about the measurement. But simple answer is, we used BODE 100 www.omicron-lab.com/shop/Bode-100.html
@orientaldagger6920
@orientaldagger6920 Жыл бұрын
The board you have with the 28pin microcontroller in the thruhole package is not going to care what kind of PDN you have its package inductances are so large. I also see you have two 100uF caps right at the USB input which violates the USB max capacitance spec by about a factor 20.
@AdamFJH
@AdamFJH 4 жыл бұрын
Interesting. Please do second part of video.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Adam
@cristianvelastin1394
@cristianvelastin1394 2 жыл бұрын
Robert, really great video... Thanks for it...
@mdchethan
@mdchethan 4 жыл бұрын
Thanks Robert as always loved this video as well. Appreciate your efforts to make us educated about some really difficult concepts.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Chethan
@samuelkacej6991
@samuelkacej6991 4 жыл бұрын
This really helps me to look at systems from different perspective. Great video. Regards from Trenčín.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you. PS: Tak so sa mozno obcas aj stretavame v meste
@bwshiau5354
@bwshiau5354 3 жыл бұрын
thank you for sharing this video, very helpful!
@NourMuhammad
@NourMuhammad 3 жыл бұрын
I see that you have 2 *100uf caps connected to the Usb power rail! Isn't it too much capacitance which will make a current surge when someone connect the cable, I suppose 10uf should be with the specs!
@selva81652
@selva81652 Жыл бұрын
Hi, How to calculate Target impedance, if my power rail is connected to three load IC, whether I need take all the current into account or the individual IC when I perform decoupling analysis individually. Kindly clarify it sir. Please do a video on decoupling analysis explaining from schematics, calculation of Target impedance and simulation
@dsafstaffressourcen1113
@dsafstaffressourcen1113 3 жыл бұрын
What an awesome video! Thanks so much🙏
@rahulkumar-bf4cq
@rahulkumar-bf4cq 4 жыл бұрын
I am waiting for next part
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you rahul
@archonoff
@archonoff 4 жыл бұрын
What I don't understand is why the simulations show red areas for the frequencies, when the impendance is also high? According to the Ohm's law is should be vice versa: higher impendance → lower currents.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
It is showing current density. So, I am explaining this to myself as that for low impedance it is going to be easier for currents to travel (so lower current density - current just freely goes from one side to to the other), for higher impedance it is going to be harder for currents to travel (so density of current rises in the places where it is harder for current to travel). But, if this is right, I do not know :D
@archonoff
@archonoff 4 жыл бұрын
​@@RobertFeranec Sure, it is current density. But current density is basically just current divided by area. As the current is in numerator, then current density should follow the same Ohm's law, isn't? I also don't know :( I'm a software developer, not the hardware one. upd Your explanation doesn't give any answer, it just goes to match the simulation.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
@@archonoff actually, you are right ... hmm then I would say it may be something with constant voltage maybe (?) ... or something like that ...? I am not sure how exactly the simulation is executed, what is happening there. I will need to ask about it.
@VorpalForceField
@VorpalForceField 4 жыл бұрын
very informational ... TY for sharing ... more please .. cheers :)
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Tim
@ThePaulus2010
@ThePaulus2010 4 жыл бұрын
excellent video robbert!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Paul
@user-bo9fl8dj3i
@user-bo9fl8dj3i 4 жыл бұрын
Interesting video, if we start to talk about weird thing, a specially on that microcontroller (Atmega328p), where p - means low power and that means crystal oscillator inside Atmega328p have low transconductance and that means you can't connect any low frequency crystal(for example 32768Hz) like to other atmega microcontrollers, transconductance of crystal must at least 3 time smaller then transconductance of Atmega328p oscillator. I test some of the crystals, and sometimes crystal stops working not immediately but after 1-3 days, so that problem is really big, so atmel(now microchip) decided to produced new microcontroller Atmega328pb, that device had Clock Failure Detection mechanism. Also you can experiment with reset, increase pull-up resistor, or try to run microcontroller by slow increasing voltage without brown-out detector. it's interesting thing especially if connect some leds to microcontroller and they suddenly turn on at random order, without microcontroller programming, I watched that effect on atmega8. By my experience Reset works great on most atmega chips, but it's not working so great on some other microcontroller manufacture.
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you Dmitrij for sharing this
@andreymilovanov8720
@andreymilovanov8720 4 жыл бұрын
That was an awesome video! Many many thanks!!!
@RobertFeranec
@RobertFeranec 4 жыл бұрын
Thank you very much Andriy
@mustafaerdogan.apriltechnology
@mustafaerdogan.apriltechnology 4 жыл бұрын
Thanks Mr Feranec, great video again. Of course, such videos are really useful I would appreciate if these kinds of videos keep coming. Moreover, we always want to learn new things and refresh our memories from time to time. What is more, for the noise we see at the VCC pin can it also exist at the ground? Can it affect the noise level especially at mixed-signal boards?
@LoEMDubstep
@LoEMDubstep 3 жыл бұрын
These are amazing
PCB Layout & Decoupling - Understanding Impedance (Part 2)
41:50
Robert Feranec
Рет қаралды 25 М.
What is The Best VIA Placement for Decoupling Capacitors?
30:31
Robert Feranec
Рет қаралды 52 М.
Glow Stick Secret Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 18 МЛН
What will he say ? 😱 #smarthome #cleaning #homecleaning #gadgets
01:00
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 68 МЛН
"You must Unlearn what You have Learned"
1:17:26
Altium Academy
Рет қаралды 74 М.
How To Improve Your PCB Layout - Power Planes
43:41
Robert Feranec
Рет қаралды 68 М.
Does Return Current Flow Under Signals? Watch these examples ...
16:32
Do You Really Need Power Planes? Are you sure? | Eric Bogatin
1:03:38
Robert Feranec
Рет қаралды 75 М.
Glow Stick Secret Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 18 МЛН