What Are Differential Pairs?

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

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

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

    I've been doing a lot of CAN bus firmware coding lately which is the only differential pair signalling I work with, and while I kinda knew what was going on with the physical layer, this just spelled it out for me perfectly. As a coder and not a PCB designer, it's always helpful to have a deeper understanding of how our hardware works. Thanks.

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

    Your recent videos have been really helpful. Are you considering making a video about impedance matching networks, especially for antennas?

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

      Request from my side also!!

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

      We have lots of requests for videos but I will add it to the list. Thanks for watching!

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

      Yes I’m interested as well

  • @SRVijay-ie9kz
    @SRVijay-ie9kz ปีที่แล้ว +1

    Hi sir I'm routing engineer in India but i know some basic of difference pair concept after seeing this video I clearly understand what's the matter in side the differencial pair routing thanks for this good work sir
    .I have 1.5 years experience in ATE boards routing. if you need any vacancy in your company please let me know sir. I have know pair routing,pair matching, length matching, force and senese routing and know some tools like allegro and pads tools. Thank you for this video sir

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

    Your introductions are very good and clear for understanding. Thank you so much!

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

    Regarding different ground references, take care that your IC can withstand the voltage value respect to its own gnd, or it could be damaged.
    I like your videos style. Blankboard, ilustrations and focus on information.

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

      Thanks for the compliment! That is a good point about the level of GND offset, although I remember reading from Lee Ritchey, one of the pioneers in designing with SerDes, that differential pairs can withstand very high GND offsets.

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

      @@Zachariah-Peterson I agree, but when testing stuff that is supplied with more than 1000vdc things start to be frightening 😂

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

    Clear & easy to understand
    Thanks

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

    Can you please also explain how to design differential pairs on a single PCB and examples of where we could need them on a single PCB?

  • @km-electronics1
    @km-electronics1 3 ปีที่แล้ว +2

    Great video as usual, before explaining length matching styles, it would be great to show how to determine length matching requirements. From what I understand, app notes are a terrible source for this information and the actual requirements can be very lenient.

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

      Yes I agree, application notes should be tested until proven correct. One thing I've noticed is that some of the objectively bad design practices (at least for high speed/high frequency boards) originate from app notes that are very old, and they are probably regurgitating advice from even older app notes... it all gets taken out of context and no one even bothers to check the date on the documents.
      As far as length mismatch allowances go, they are normally specified in the spec for the signaling standard. Sometimes a component vendor that uses a high speed differential interface will describe the length mismatch in terms of a length, but that length will be different if you are using striplines instead of microstrips, different materials in the stackup, and so on... EDIT: for USB 2.0, I believe the maximum allowed skew is something like 100 ps, which is very generous.

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

      MIPI/CSI2 is very easy to do. Mentor Graphics will signal match distance to 0.1mm but the spec means you can track it like CAN bus!

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

      @PCBFE we just did a couple videos on this and I think 1 of them went up last week, take a look in the channel and see if you can find it.

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

    This is a great explanation of differential pairs! Thank you!

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

    1. Does the differential lines needs ground plane under them? (It's not need in my opinion)
    2. How we can determine the width of the track and space between tracks? I asked this question to my fabricator but they didnt answer it clearly.
    3. Is it possible to design impedance controlled pcb with 2 layer stackup only. (both layer has got signal and ground plane)
    4. Is there a feature in altium to check signal integrity issue (crosstalk, ringing etc).
    Thanks in advance.

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

      Hi Zafer, I'm so sorry I just noticed this, I originally posted a reply to this but TH-cam deleted it because it contained a link! Here are the answers to your questions:
      1. No, technically it's not needed. It is needed to define the characteristic impedance of an individual single-ended trace.
      2. Your fabricator will use an application like Polar or Saturn to determine this, probably using a boundary element method simulation. You can technically do it by hand if you can calculate the mutual capacitance and the mutual inductance between two rectangular traces. I've never seen a good derivation of these two quantities directly for paired conductors over a ground plane. There are several ways to do it (Green's function, reciprocity principle for TEM-supporting structures, direct definition of mutual impedance...), here is a guide on this topic from NIST: nvlpubs[dot]nist[dot]gov/nistpubs/Legacy/circ/nbscircular544.pdf
      3. Yes of course, I'm just not sure you would hit a typical impedance target on a standard 2-layer stackup unless the traces and spacing are very large, so it's not really practical. Consider a typical SIG/GND/PWR/SIG stackup with 8 mil dielectric between top layer and GND: you would have somewhere in the neighborhood of 14 mil trace width with large separation needed to hit 50 Ohms/100 Ohms impedance. If you were on 2 layers with standard stackup and dielectric thickness of 60 mils, your impedance values nearly double... Like I said, it would take huge traces and big spacing on a 2-layer board.
      4. Yes there are these features, see here: techdocs[dot]altium[dot]com/display/ASIAE/Performing+Signal+Integrity+Analyses - This guide is older, it's for Altium v15 I think, but the same features and workflow are used in the newest version.

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

    legendary pedagogy

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

    Excellent explanation

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

    Thanks a lot ❤

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

    Remember each half, the _p and _n, of this type of differential pair references to GND and not each other. They are really 'just' complementary single-ended signals. So the return path is GND and not the other _n or _p. Else the trace length matching would introduce gross impedance humps, generating reflections and EMI. ONLY transformer coupled differential pairs are truly balanced and differentially refering to each other and not the GND.

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

      that's confusing

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

      @@ihtsarl9115 Yeah I am not good at explaining. Take the time to watch this: th-cam.com/video/qEI31nNltFY/w-d-xo.html
      My point is just that some designers believe you dont need GND returns with a differential pair. It depends as usual, but only true differential that is isolated from the reference plane has the energy between the two differential pair. Mostly we have pseudo balanced and the energy is between each diff line and GND. So routing we need to have uninterupted GND return all the way unless it is 'true' balanced using transformers on both ends.

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

    Excellent explanation! Thank you!

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

    nice for beginners, i will address that video to my students.
    BTW< please do video about antipads for single end and differential signals.

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

    thank you, you nailed it !

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

    The question is, if I use impedance profile for my differential pairs, should I also focus to the matching lengths of the differential pairs?

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

      Absolutely. Events doesnt occur instantly. Signals travel in the transmission line and it takes time. If there is a signaficiant lenght difference, this means that signals arrives to the receiver at different times. Signals in the shorter line reaches before the longer lines. So there is a time delay between rising (falling) edges of the receiver dif inputs. This means that the receiver interpretes wrong logic.

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

      You don't have to think about length, but time. Signals must reach the receiver at the same time. And you obtain this by topically equalising the length of the traces

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

    Why ground via is required in differential vias. What is the main reason. What will happen if we were not used the ground via.

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

      I'm not sure what you're referring to, could you please clarify what you mean by "ground via"?

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

      @@Zachariah-Peterson for differential pair high speed signal transition we are using signal vias along with ground vias. My questions is if we are not used the ground via along with signal vias. What is the impact on the board and what are the consequences we have to face. Please correct me if my question is wrong.

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

    Hi, I wonder where the return current flows in diff pairs for an example USB2.0.
    And why ground plane reference for an USB2.0 is a must.
    Probably you have made video about that :)

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

      Hi Ilia, thanks for watching and these are great questions. I can tell you that the return current for a differential pair is technically the other trace, although in reality there is some return current capacitively coupled into the nearby reference plane. This is why the return nearby ground affects the impedance, it creates some additional capacitance that appears in parallel with the self-capacitance between the two traces. The reason we need ground in USB 2 is to set the impedance of the traces to the required value, and placing the GND closer to the traces allows the traces to be made thinner when they are being designed to a target impedance. USB 2 signals can be routed as individual traces, meaning they can be separated. You have to be careful with this because some noise might appear on one trace, so it would not be common-mode and wouldn't be suppressed. Also the individual trace impedances have to be set to the required single-ended value to ensure correct termination at the driver/receiver. Another good reason to use GND in general is to provide a low-inductance return current so that you can reduce ground bounce. GND planes also provide some shielding and noise reduction generally, and this increases when the GND plane or pour is brought closer to traces.

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

      @@Zachariah-Peterson Thank you for the answer

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

    Nice explanation 🙏🙏

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

    Sometimes, the signals just transmit with differential pairs and no gnd wire. then what is the reference point? Does differential pair refer to each other?

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

      Diff pairs aren't perfectly symetrical both in the physical construction and the actual signals propagating through them. The reference plane is the return path for common mode current, so it reduces the chances of that noise coupling elsewhere as well as providing a level of shielding from other aggressors.

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

      The GND reference is always somewhere, even if it is just physical earth. In the case where there is no GND plane, the signals reference each other, but there is major benefit to having GND. The big reason is to prevent differential crosstalk between pairs and to ensure crosstalk from a single-ended trace appears as close as possible to a true common-mode signal on the victim differential line, that way the differential receiver will be able to cancel the common-mode signal.

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

    when measuring signal-, it probably is not -1 if considering common mode signal.

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

      Writing -1 should not be literally construed to mean -1V. The signal can have DC offset that is common to both signals and they can both have a positive voltage, but the differential voltage measured at the receiver will still be negative or positive value with equal magnitude.

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

    @AltiumAcademy When potential difference between 2 GND’s is not same as it’s -0.5 then why its not affecting the voltage of differential pair ¿ if I see the equation then it’s gnd1 and gnd2 which are not same potential so it should add to the voltage of diff pair mathematically

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

      The ground offset does affect the voltage of the differential pair equally, which means the DC adds a common mode component to the signal's voltage level. Differential receivers measure the voltage difference between the two traces, so because the two traces are each offset by the same common mode DC component the differential receiver is eliminating the common mode DC offset. This is one of the main reasons that differential pairs were originally used in high data rate serial connections over cables; they can withstand the voltage offset that can arise between two pieces of equipment (each with floating grounds).

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

    great video.thank you.waiting for more education video.

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

    Can I use differential pair for UART, I2C and SPI clock and data lines?

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

      Hello, my apologies as this reply should have been posted awhile ago, so I'll post it here now.
      Technically yes you can, you can route SPI to a differential interface converter. Probably the easiest to use will be CAN bus. Just look for an interface converter or CAN transceiver on Google or on Octopart. Just note that those interfaces are single-ended by definition.
      You should ask yourself, why exactly would you want to use differential pairs in that situation? Just note that SPI, I2C, and the like are not really meant for situations where you might need to make long routes between systems that might have some ground offset. Better to use something designed for long-range. If you're just routing between two boards with a small ribbon connector, and their power is on the same circuit, why not just supply power from one board to the other, and then carry a GND line along your cable to ensure low loop inductance? Just about every MCU board you can find will do this, they don't separate out power onto different circuits and then use differential lines for data. You don't get much additional benefit from differential pairs in that situation. Just something to think about as you shouldn't have to overdesign your board.

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

    Keep in mind there's a limit on how high the common mode voltage difference can be. Too high and you'll get problems..

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

      Yes, this is true, but fundamentally is not relevant for the purpose of this video. Usually every engineer must know that the CM is not something really good and need to be kept at lowest possible level.

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

    can't thank you enough . keep it up

  • @優さん-n7m
    @優さん-n7m 2 ปีที่แล้ว

    It says in the video that you are technical consultant. That is enough.