Defining Ground | Mixed Signal PCB Design: Part Two

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ม.ค. 2025

ความคิดเห็น • 61

  • @theminertom11551
    @theminertom11551 2 ปีที่แล้ว +21

    Having spent many years in EMI labs looking at radiated emissions, I can verify that the more continuous the ground plane, the better it is. Thank You.

  • @00xero
    @00xero 3 ปีที่แล้ว +13

    Man, I'm absolutely loving this series. So helpful

  • @fjlaboratories
    @fjlaboratories 3 หลายเดือนก่อน +1

    Thanks Zach, super helpful video even for a professional. You get all this talk of "star grounding" and "single point ground" but it turns out that the lazy way of just one big copper pour is all you need.

  • @RukshanEranga
    @RukshanEranga 3 ปีที่แล้ว +1

    Thank you Zach. I have remembered that, my teacher told me to separate ground plane for mixed signal boards. Now I understood, it's necessary to have continuous return path.

    • @Zachariah-Peterson
      @Zachariah-Peterson 3 ปีที่แล้ว +1

      Hi Rukshan, glad you found the advice helpful. There are some instances where we need to separate grounds, but in most cases it makes layout more difficult and encourages bad routing practices. There is a new video coming up that will outline some cases where separate ground are necessary.

  • @omprakashbanerjee4772
    @omprakashbanerjee4772 ปีที่แล้ว +1

    wonderful explanation

  • @petersage5157
    @petersage5157 3 ปีที่แล้ว

    4:04 Return path is probably in the power supply lines. In many cases, a signal will "see" any DC rail as ground. We actually exploit HT as a ground in many valve guitar amps by placing bypass capacitors across anode resistors to keep the higher-gain stages from oscillating.

  • @ehsanbahrani8936
    @ehsanbahrani8936 5 หลายเดือนก่อน +1

    Thank you so much ❤. How can i rout ddr3 and ps FPGA ?

  • @Mahesh-uy8jw
    @Mahesh-uy8jw 3 ปีที่แล้ว +3

    I remember cutting up gnd plane via ferrite; it created a serious problem of RF Transmission not getting enough power due to ground bounce. Later shorted the GND and the board worked fine

  • @victortorres2080
    @victortorres2080 3 ปีที่แล้ว +2

    Zach, in the next videos you can indicate design considerations with the FR4 PCB material for 2 and 4 layers, ground routing and Vcc.
    Also, advice on the ground and Vcc planes when isolating with an optocoupler or transformer (Pulse) to control a power semiconductor. This last point is of great interest. Thanks.

    • @kevin2706
      @kevin2706 3 ปีที่แล้ว

      Thats a good question

    • @Zachariah-Peterson
      @Zachariah-Peterson 3 ปีที่แล้ว

      Hi Victor, great idea! I've gotten a lot of questions about using 4-layer boards with or without isolation, including in power systems. I've got this one cued up for filming this week. Stay tuned for more videos!

  • @saeidesekhavati1518
    @saeidesekhavati1518 2 ปีที่แล้ว

    It was very helpful. Thanks for sharing your information!

  • @BMM66666
    @BMM66666 2 ปีที่แล้ว +2

    Hi Zach, thanks for sharing this topic. Here is my question, I’ve seen some mix signals boards in my company that use a ferrite bead to separate analog GND and digital GND. Even power GND and so on. I don’t totally agree with this grounding method. How is your opinion about using FBs cutting the grounds?

    • @Zachariah-Peterson
      @Zachariah-Peterson 2 ปีที่แล้ว +1

      Terrible design choice. It only eliminates the DC offset by setting the two grounds together so they only do not radiate very close to DC. However, that's not really the noise we tend to care about unless we are using an isolated supply with 60 Hz and a chassis, in which case you can get a current loop through the chassis that appears on your output.
      The ferrite bead still leaves high impedance between the two regions somewhere from 100 MHz to 1 GHz. If there is any current oscillating in those frequencies, it will induce an image current in the other plane, and the two planes together act like a pair of coupled patch antennas. These can radiate and the result is the device might fail EMC. This is one reason that, even when cutting a design into two regions, fast digital signals on the digital region in the DGND region could still produce some excess radiated emissions.

    • @BMM66666
      @BMM66666 ปีที่แล้ว

      @@Zachariah-Peterson Let me self-questioning my question. After watching the new episode of "Bridging Grounds with Ferrites? TERRIBLE IDEA!!!". It really solved my question.

  • @jasmenelee
    @jasmenelee 3 ปีที่แล้ว +1

    Excellent Idea juss as said by Rick Hartley

  • @NG-gu8su
    @NG-gu8su 3 ปีที่แล้ว +2

    Hi Zach! Thanks so much for this very valuable content. Great format, clean and concise explanations 👍🏻
    I was wondering if you could cover analog and mixed-signal audio design/layout strategies in the future? I have noticed a lot of contradiction regarding guidelines online. Thanks !

    • @Zachariah-Peterson
      @Zachariah-Peterson 3 ปีที่แล้ว +1

      Hello, sure I can put that into our list of upcoming videos, and yes there can be some contradictions in terms of layout guidelines.

  • @fedimakni1200
    @fedimakni1200 3 ปีที่แล้ว +1

    What if the analog section and digital section are connected using cables? Do that also increase EMI?

    • @andreagiudici926
      @andreagiudici926 3 ปีที่แล้ว

      i think you should use a coaxial cable, with the woven copper shield attached to the ground of the analog and digital sections.

  • @SevenFortyOne
    @SevenFortyOne 2 ปีที่แล้ว

    I can't convince the company I'm at now to accept a one ground approach. The engineers insist on splitting planes and tying them together at an SPG point. Any suggestions for resources I can use to prove that the one ground approach is better?

    • @Zachariah-Peterson
      @Zachariah-Peterson 2 ปีที่แล้ว +1

      Are they trying to route stuff over the gap between those plane regions, or do the components in each region stay in one area and do not require routing signals between them? If they are not routing any signals between the two regions or they are routing only across the region near the SPG then the board could technically work fine but it's more difficult to design. Maybe take a board that was built their way, place and route the same board without an SPG, and see if you can do it better and with less noise?

  • @captaincompose228
    @captaincompose228 2 ปีที่แล้ว

    Thank you so much

  • @ftmmrbs1996
    @ftmmrbs1996 ปีที่แล้ว +1

    Hello Zach, I am designing an amplifier consisting of 3 or 4 high-speed Op-amps and in all of the datasheets it says that a window should be opened in the ground plane under the input and output pins, to minimize the capacitance. Does that also create return path and EMI problems? How do I deal with that?

    • @Zachariah-Peterson
      @Zachariah-Peterson ปีที่แล้ว

      I will just say that it depends, those inputs are high impedance, so the intention is to reduce the capacitive loading at the input pin. You can compare the capacitance on the input pin to the capacitance of the trace. The trace capacitance will be on the order of 3 pF/inch, whereas the op-amp input pin could range anywhere from sub-pF to high pF. If the input capacitance is large then the trace won't matter unless you have other reactive components in the feedback loop. The other thing that can happen with op-amps is that they exhibit an underdamped oscillation on the output when there is excess inductance in the feedback loop and excess capacitance at the summing node, but this is more of a problem when the gain bandwidth products are very high. What is the part number you are using?

  • @FiveFishAudio
    @FiveFishAudio 3 ปีที่แล้ว +2

    Sometimes I feel guilty of not following the datasheet's recommendation of separating ground planes (which in the real world is sometimes impossible to do). Thanks for this, I've been doing it right all along, ha!

  • @DianiAmine
    @DianiAmine 3 ปีที่แล้ว

    Thanx

  • @leeslevin7602
    @leeslevin7602 3 ปีที่แล้ว

    Brilliant, Thank you :)

  • @LorenMLang
    @LorenMLang ปีที่แล้ว

    So does this mean I shouldn't even worry about distinguishing between AGND and DGND? They should both just immediately connect to the single, main ground plane?

    • @Zachariah-Peterson
      @Zachariah-Peterson ปีที่แล้ว

      You should not worry about distinguishing between AGND and DGND except in an isolated ADC or some other isolated component. In an ADC or DAC these will be connected together on the component die. As far as routing is concerned to impact return paths, when in the audio range it can help to intentionally route the ground for a signal alognside the trace, or use a differential pair. But this is not the same thing as using separate ground regions.

  • @JudsonAntu
    @JudsonAntu 2 หลายเดือนก่อน

    What if your boards are small enough that the end of the gaussian distribution is coming over the analog part of the board. How do you layout then?

    • @Zachariah-Peterson
      @Zachariah-Peterson หลายเดือนก่อน

      Route things on opposite surface layers, or put some routing on internal layers. As you get small your layer count tends to go up because, at some point, that is the only way to fit traces into the PCB. Also you can reduce layer thickness while keeping the spacing between nets constant, this will always help reduce crosstalk.

  • @ihtsarl9115
    @ihtsarl9115 2 ปีที่แล้ว

    Thank you for these explanations but lots of manufacturers' application notes recommend 2 ground regions for example for signal buffering IC's on the internet. They recommend 2 ground regions : one on the left small signal input section of the IC and another region on the right output side . However they all also show a thin connection to the 2 grounds. So kindly how do you explain that?

    • @Zachariah-Peterson
      @Zachariah-Peterson 2 ปีที่แล้ว

      Hello IHT sarl, What you just described is a lot like a star ground and it's a typical recommendation you will see for some signal interface ICs. Two examples that come to mind are interface converters (like SPI to I2C, etc.), level converters, and ADCs. In what you described, the grounds are being connected at some point so both regions will have the same potential. This is often recommended for isolation because the IC manufacturer is trying to help you prevent signals on the IOs from interfering. The problem with it is that you can only route other signals over the continuous ground section without creating an EMI source, so it makes correct routing more difficult. In the case of an ADC, the pin naming might convince you to try something similar, but I've seen an Analog Devices note that better explains this and states explicitly the various DGND and AGND pins should be tied together externally.

    • @Zachariah-Peterson
      @Zachariah-Peterson 2 ปีที่แล้ว

      I think most designers that deal with a lot of EMI problems will agree that application notes should sometimes be viewed with suspicion, or the recommendation should at least be tested first. Just be careful about blindly following application notes and reference designs, because the recommendations might not always be best for your specific system. It's one thing if you are just replicating their test board or evaluation product, it's totally different if you are designing a custom board or adding to an existing board.

  • @BluCasper
    @BluCasper ปีที่แล้ว

    amazing video. thank you. I have a question. Recently i was designing a part of Li-ion charging . in that part i used a chip MAX8724 . surprising fact that i have found split ground place for PGND and GND in their Evaluation kit. it was a 6 layer board. could you please explain that why is that split ground was done? Normally i use solid GND place and use different blocks in different regions just as you shown. but after building the circuit in my way it didn't work . what could be the possible reasons for that? again, thank you very much for what you are doing for us.

    • @Zachariah-Peterson
      @Zachariah-Peterson ปีที่แล้ว

      If you look at the datasheet for the MAX8724, you'll see that they do connect those grounds together. I'll make a video of this showing how to do it.
      The answer is on page 16 of the datasheet. You'll notice that they connected PGND and GND right by the battery. So they are designed with a single GND net, just not a large plane everywhere. You would want to use a net tie to make that connection right by the battery connector.

  • @vinicrusher
    @vinicrusher 3 ปีที่แล้ว

    Using a full ground plane, do you recommend using the AC (120volts) on 1 layer (Top), gnd layer (middle), and digital layer (bottom). To separate the signals with a ground layer?

    • @vinicrusher
      @vinicrusher 3 ปีที่แล้ว +1

      @Phạm Chiến Trung I’ve also seen that, my issue is the pcb convert AC to 12v 5V and 3v. With that I use moc3083 to switch ac power going to lamp ballast. So I need all in one board :-$

  • @babunadigadda3932
    @babunadigadda3932 หลายเดือนก่อน

    we connected two ground planes through a capacitor as Y capacitor ,will it create a problem in the EMI/EMC testing

    • @Zachariah-Peterson
      @Zachariah-Peterson หลายเดือนก่อน

      I'm going to assume this was done in an isolated DC/DC converter, because the standard guidance is to use a Y-type safety capacitor in order to maintain the galvanic isolation at DC. This generally does not create a radiated EMI problem as long as signals originating on the secondary side of your DC/DC converter are not routed over to the primary side. This includes any feedback signal, which needs to come back to the switching driver on the primary side using an optocoupler. The only potential EMI/EMC problem is leakage current through the Y-type capacitor and onto any connectors or terminals, some industry specific EMC standards (e.g., medical) have very low leakage current requirements and it might be difficult to find a capacitor that offers the high voltage rating and low leakage in the right capacitor values.

  • @Vinaykumar-ei9vg
    @Vinaykumar-ei9vg 2 ปีที่แล้ว

    Can we have a details demonstration video regarding all the possible scenarios of EMI issues in a PCB and current EMC checking process that an industry follows and minimum guidelines have to be met to make a product released in market?

    • @Zachariah-Peterson
      @Zachariah-Peterson 2 ปีที่แล้ว +1

      That will probably take a series of videos, we've covered some of those topics in the past but we will try to do more of these.

  • @jimmyji8339
    @jimmyji8339 6 หลายเดือนก่อน

    So if I have IIC devices on 2 different board (with different GND plane) . Is it Ok to just connect them by a 2 pin cable ? (SDA/sCLK), is that one of typical scenario you don’t know where the return path is and there would be EMI problem?

    • @Zachariah-Peterson
      @Zachariah-Peterson 6 หลายเดือนก่อน

      Best practice is to use a 3-pin connector that includes a ground trace, especially if there is no reason to keep the grounds fully isolated. Just connect the GNDs with the GND wire.

  • @mata7648
    @mata7648 3 ปีที่แล้ว

    For a mix signal system with 0-5V power rail, 2.5V reference, would the signal return path be in the 2.5V reference plane? How to hand this "virtual ground"?

  • @davidhildebrandt4891
    @davidhildebrandt4891 2 ปีที่แล้ว

    Hey Zach, thanks for the really informative video. I was wondering though, if you route the (DC) power supply in a U shape around some Digital or Analogue sections of your PCB to supply some components on the other side of the board, wouldn't it be advisable to route the GND (so the return path) for that DC power supply also in a U shape? Because with the Low frequency of the DC Power supply the return current would not travel underneath the forward path but rather take the shortest way back, and interfere with those of my components placed inside U shaped Trace right? Greetings, David

    • @Zachariah-Peterson
      @Zachariah-Peterson 2 ปีที่แล้ว

      If you happened to route DC in a U shape and you wanted a return path to follow the same shape, then you would want to also shape the returning conductor into a U shape. I wasn't trying to say that any kind of U shape route is how this will turn out in reality or that you will always do this, it is meant to be a simple example. But you are correct that the DC return won't follow the power conductor, for truly DC power this occurs because the return current is not being induced capacitively into the return conductor.

  • @heliumlabs
    @heliumlabs 3 ปีที่แล้ว +1

    I'm a ECE student and design hardware.
    In my recent project, I designed an ESP32 based LoRa Sx1276 where I had to use the SX1276 chip instead of Ready made SoC module.
    What I did is just separated the LoRa Section and Placed Via Fence around. I created GND plane for rest of the PCB but left the LoRa section.
    Is this approach legit?
    Thanks

    • @Zachariah-Peterson
      @Zachariah-Peterson 3 ปีที่แล้ว

      It sounds like you made the right approach, but I don't like to make promises unless I can see the layout. If you want, you can send me a private message.

  • @m4l490n
    @m4l490n 3 ปีที่แล้ว +3

    Sometimes you have a very small board where you have to pack several analog channels and the corresponding digital section to control and capture these analog signals. In this case you don't have space to really separate analog from digital. When this happens, it is ok to split the planes, even create GND plane "sections" for each analog channel using keepout lines in order to contain the fields
    The important thing, as you mention, is to make sure you absolutely don't route over the slots and you have a clear an uninterrupted return path for all your signals. You will have this "bridge" of continuous GND plane for the tracks interfacing the digital and analog sections but each analog section will have its own GND plane section created using keepout lines.

    • @Zachariah-Peterson
      @Zachariah-Peterson 3 ปีที่แล้ว +2

      Manuel, I totally agree, it's appropriate to make the split in certain situations. In some cases it's even preferable. The point about return path is critical and so many people get in trouble with this, so I find it's best for some designers to do the safe thing and just use a plane layer to provide the return path.

    • @DehimVerveen
      @DehimVerveen 2 ปีที่แล้ว +2

      I don't see how it would be preferable in that case to split the ground plane. Wouldn't it be better in that case to keep a continuous ground and use a via wall between analog and digital?
      I think the only use case of split ground is when you have galvanically isolated sections that only commumicate or exchange power via optocouplers or transformers, capacitors or some other means.

  • @eng.reagan9540
    @eng.reagan9540 2 ปีที่แล้ว

    Why don't you just use a Wire to connect to two or more isolated GND planes on the same PCB circuit? I see a lot of companies like TI use this kind of method when they have an isolated GND planes on their boards.

  • @OmgEinfachNurOmg
    @OmgEinfachNurOmg 3 ปีที่แล้ว +1

    My whole life is a lie

  • @manojaa8338
    @manojaa8338 3 ปีที่แล้ว

    Hi...your videos really helpful
    That you mentioned in video use same gnd uniformly on both analog and digital..but is it good pratice to give analog gnd(gnd present in analog circuit) under digital gnd plane @Zachariah Peterson