Length Tuning and Differential Pairs

Поділитися
Вставка
  • Опубліковано 17 тра 2024
  • Length Tuning came up in a previous video on Differential Pairs (link below). Today, Tech Consultant Zach Peterson dives into why exactly PCB Designers length match. He also offers some handy length tuning tips to help designers more efficiently tweak their designs.
    0:00 Intro
    0:35 Why Length Match?
    6:05 What Length Tuning Looks Like
    8:00 Groups of Differential Pairs
    9:27 One Last Tip
    For more PCB Routing videos, click here: • PCB Routing
    For more High-speed Design videos, click here: • High-speed Design
    For more PCB Design for Beginners videos, click here: • PCB Design for Beginners
    For more Technical Consultant Zach Peterson videos, click here: • Technical Consultant Z...
    What Are Differential Pairs: • What Are Differential ...
    Design PCBs with a Free Trial of Altium Designer Here: www.altium.com/yt/altium-acad...
    Download CircuitMaker Here: www.altium.com/circuitmaker/d...
    Don't forget to follow us on social to stay up-to-date on the latest Altium Academy content.
    Follow Altium on Twitter: / altium
    Follow Altium on Linkedin: / altium
    Follow Altium on Facebook: / altiumofficial
    Ready to try the industry's best-in-class design experience yourself? Download it today and get started! www.altium.com/downloads
    The Altium Academy is an online experience created to bring modern education to PCB Designers and Engineers all across the world. Here you can access a vast library of free training and educational content covering everything from basic design to advanced principles and step-by-step walkthroughs. Join industry legends as they share their career knowledge, review real-life design projects, or learn how to leverage one of Altium's leading design tools. No matter your level of experience, the Altium Academy can help you become a better Designer and Engineer!
    About Altium LLC
    Altium LLC (ASX:ALU), a global software company based in San Diego, California, is accelerating the pace of innovation through electronics. From individual inventors to multinational corporations, more PCB designers and engineers choose Altium software to design and realize electronics-based products.
    #Altium #PCBdesign #AltiumDesigner
  • Наука та технологія

КОМЕНТАРІ • 32

  • @thanosprionas6919
    @thanosprionas6919 Місяць тому

    Very good explanation! Thumbs up!

  • @btoiscool
    @btoiscool 2 роки тому +7

    I'm a designer a part of a research team at University. I'm actually in the process of training new people, I'm going to have them watch these videos when they are ready to start designing things!

  • @mitchelllague5499
    @mitchelllague5499 Рік тому

    This is awesome info, thanks!!

  • @electronichome1153
    @electronichome1153 2 роки тому

    Thank you for the great tutorials, sir!

  • @asingh4152
    @asingh4152 5 місяців тому +1

    "Thanks for tuning in" I see what you did there.

  • @richardhead8264
    @richardhead8264 2 роки тому +4

    Hi Zach! Thank you for the detailed explanation!
    The green marker is on it's last leg. Could you please obtain a new one? Thanks!

    • @Zachariah-Peterson
      @Zachariah-Peterson 2 роки тому +1

      I guess I'm drawing too many PCBs! I'm ordering a pack on Amazon now

    • @richardhead8264
      @richardhead8264 2 роки тому

      @@Zachariah-Peterson _So grateful for your response! Thanks again, Zach!_

  • @waleedarshad8160
    @waleedarshad8160 2 роки тому

    How important is coupling between P-N if you have let's say a loosely coupled differential pair? What if I have to uncouple these in the BGA area over a long distance due to routing constraints? Would that work?

    • @Zachariah-Peterson
      @Zachariah-Peterson 2 роки тому +1

      This is a great question! We have an advanced differential pair concepts video coming up, I will make sure to address this question as we will be talking more about coupling.

    • @Zachariah-Peterson
      @Zachariah-Peterson 2 роки тому +2

      I'll give you the short answer here: The coupling requirement depends on the differential impedance target. You can have some slightly uncoupled impedance over a short length, such as when you're routing under a BGA. Those components tend to put pins for the high speed differential interfaces around the outside of the BGA so that you don't have to worry about this problem so much, but yes sometimes you do have to route between pins and uncouple them for a short distance. It's okay though, this would create a differential impedance discontinuity, but if it is short enough then the input impedance will be affected very little.

    • @waleedarshad8160
      @waleedarshad8160 2 роки тому

      @@Zachariah-Peterson thanks for the explanation, can't wait for the next video!!

  • @aitorsierra
    @aitorsierra 2 роки тому

    Altium Academy: How do you calculate the exact value of the length ?. Is it possible to make a video showing it in Altium ?. Thanks

    • @Zachariah-Peterson
      @Zachariah-Peterson 2 роки тому +1

      Hey Aitor, thanks for watching, I'm going to film this today, stay tuned for the new video!

  • @Dr.Bigglesworth
    @Dr.Bigglesworth 3 місяці тому

    Hi Zach. Your first 4 minutes are what I have always called "Static Phase Tolerance", which as you say, is specific to the receiver (end of the diff pair), and has to do with the "eye" or amount of time the receiver "sees" a valid signal. In-between that will be noise, which decreases the eye. After that, you start to talk about what I have always called "Dynamic Phase Tolerance", which is maintaining the wave front along the two differential signals, and is specifically, as you say, for common-mode noise rejection. With dynamic phase tolerance, you need to adjust each trace to maintain a specified difference in length all along the entire length of the differential pair. Those minor length "adjustments" should be done at intervals along the diff pair routing to maintain the length matching is maintained along the entire length. I would strongly urge to not use the moose antler shaped routing you showed, as it does not maintain differential impedance. Plus, if that much is needed, and you've added it all in one place, that means the dynamic phase tolerance is WAY off all along the rest of the diff pair routing, which compromises the common mode noise rejection. I believe Altium only supports Static Phase Tolerance, as in, gives an overall distance comparison of the two legs of the diff pair. It does not give any readout along the diff pair or where along the diff pair it is out of Dynamic Phase Tolerance. If I'm wrong about this, I'd love to know, but it's a feature that IMO Altium needs to add. Other tools do have this. In Altium, I just look at the routing, and add the "adjustments" just after spots that cause the length mismatch (typically after a turn that doesn't have a corresponding turn in the opposite direction right after). All of this and how particular you are with your differential routing depends on signal level and frequency. Since I am typically in the many GHz, this can mean the difference between working and not. But, it should all be spec driven by the design requirements. Length matching across a group of 1 MHz signal to within 10 mils is typically a waste of effort. Understanding when design rules make sense is in my opinion very important.

    • @Zachariah-Peterson
      @Zachariah-Peterson 3 місяці тому

      You're not wrong but there is some context needed. The serpentine length tuning can create large deviations in differential impedance that you mention, they can also create lots of mode conversion. But this is only in the condition where the traces are already very close together (spacing

  • @beamray
    @beamray 2 роки тому +1

    wait a second, there is no automatic or semi-automatic way to even phases in diff pair in AD in correct place, tuning will add all length you need in some (any) place, but not right one. to make phase stable ypu will need to do it manually. Am I wrong?

    • @Zachariah-Peterson
      @Zachariah-Peterson 2 роки тому

      Hi Egor,
      There is no button you can click that will automatically equalize everything and automatically put the perfect length tuning structure into the PCB layout. What I mean is, you can use a tool to click and drag across the trace you need to equalize, and it will automatically create the length matching segment for you, so you don't need to manually layout each section of a serpentine route (or any other length tuning structure for that matter). It will also automatically calculate the time mismatch as you do this, you won't have to check lengths and propagation delays and then manually determine the time mismatch as you add in length matching sections, you'll be able to see when you have minimized the time mismatch visually thanks to this automatic calculation. You do need to specifically select the place to put the length matching segment because the best spot to place it could be slightly different in every layout.
      It's about as "automatic" as you can get!

  • @lolsypussy
    @lolsypussy 2 роки тому

    At 5:11, the noise should have appeared at the same time right? like they are vertically aligned on both graphs?

    • @lolsypussy
      @lolsypussy 2 роки тому

      it is just the signals that are having a phase difference but not the noise?

    • @lolsypussy
      @lolsypussy 2 роки тому

      or do you mean that the noise also gets delayed as probed in the interconnect due to longer route?

    • @konstantinoslekkas9894
      @konstantinoslekkas9894 2 роки тому +2

      He presents how the signals will arrive at the receiver in case a length mismatch exists.

    • @Zachariah-Peterson
      @Zachariah-Peterson 2 роки тому

      @@konstantinoslekkas9894 Yes that was the idea, the noise was initially received on the pair at the same time and with the same magnitude, but they eventually accumulate a phase difference due to a length mismatch.

    • @Zachariah-Peterson
      @Zachariah-Peterson 2 роки тому

      In reality, you don't need to have a perfectly aligned or length matched pair, the mismatch values in some specifications can be very generous. CAD tools just make it very easy to implement this very precise length matching so you might as well do it. I'll be discussing this in an upcoming video after PCB West.

  • @pigglewiggle175
    @pigglewiggle175 Рік тому

    So does this mean that you can never cancel out all common mode noise? You will never perfectly align the traces length, nor is the temperature of the board uniform and hence one trace will have electrons that travel slightly faster. Maybe for practical purposes it is inconsequential but is true separation of common mode noise something that can only be achieved in theory?

    • @Zachariah-Peterson
      @Zachariah-Peterson Рік тому +1

      I think that's a fair statement. Even if you did have perfect differential pairs with aboslutely perfect phase matching up to infinite frequency, differential receivers do not have 100% common mode noise rejection. It's pretty high but not infinite dB common mode noise reduction. I think the key here is you try to get it as perfect as possible without going too crazy on length tuning, but do it with the knowledge that there will be something else in the system that creates additional common mode noise and/or extra skew.

  • @SeNoGERfreak
    @SeNoGERfreak Рік тому +1

    Length matching a differential pair is not a critical thing. Watch this, what Rick Hartley says about the topic: ua-cam.com/video/QG0Apol-oj0/v-deo.html So why should i do this at all?

    • @Zachariah-Peterson
      @Zachariah-Peterson Рік тому +1

      It is critical, but not always for the reasons people think. There are three reasons for length tuning: noise suppression, timing skew, and mode conversion suppression. If you just compensate timing within the rising edge, the channel will work fine and you can be really loose with the length tuning tolerances (assuming long rise times), that is generally what Rick and Lee refer to. In fact, if you see a distance-based tuning tolerance in a datasheet, then it's most likely bogus. What people rarely bring up is noise suppression and mode conversion. Noise suppression is less important than mode conversion because differential receiver circuits have decent CMRR, and as long as you do everything else correctly then common-mode noise won't be major. But with mode conversion, it does not take much mode conversion within your signal bandwidth to cause channel compliance/EMC failure.