What Are Differential Pairs?

  Рет қаралды 24,118

Altium Academy

Altium Academy

Күн бұрын

Differential Pairs pop up a lot in high-speed design, but what exactly are they? In this video, Tech Consultant Zach Peterson examines the parameters, characteristics, and advantages of differential pairs. He also explores considerations designers should heed when working with them.
0:00 Intro
0:29 What Are Differential Pairs?
0:52 Parameters of Differential Pairs
1:33 Impedance and Differential Pairs
2:53 Differential Pairs Carrying Signals
5:16 Differential Pairs and Long Connections
7:34 Common Mode Noise
8:47 Differential Pairs Advantages
10:41 Differential Pairs and GND
12:15 Differential Pairs and Routing
For more PCB Routing videos, click here: • PCB Routing
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...
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

Пікірлер: 59
@funkynerd_com
@funkynerd_com 2 жыл бұрын
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.
@lolsypussy
@lolsypussy 2 жыл бұрын
Your vids have been very instrumental in our project development. I'm currently working on daughterboard where it gets 24 VAC power from the mainboard. Both designs utilized half-wave rectification hence one line is referenced as ground. Since the power connectors are just clip and screw terminals, we can easily switch lines 1 and 2. This shouldn't be a problem cause there are no other wirings utilizing common ground which will cause a short if not both line 2 are connected to the 0V terminal. The mainboard and daughterboard communicate via CAN protocol (or TWIA) and works smoothly when the power wiring is correct. If one wiring is reversed, the MCU gets to around 30 Celsius when in normal conditions it is only around 16 Celsius. The receiver also misses a couple of messages. I checked the datasheet and found out that the CAN lines are pulled up and down to its rails. CAN ICs with isolation features is certainly not an option for us at this stage.
@fenghao9736
@fenghao9736 Жыл бұрын
Your introductions are very good and clear for understanding. Thank you so much!
@AltiumAcademy
@AltiumAcademy Жыл бұрын
Glad you like them!
@synapticmemoryseepage4447
@synapticmemoryseepage4447 Жыл бұрын
This is a great explanation of differential pairs! Thank you!
@AltiumAcademy
@AltiumAcademy Жыл бұрын
Glad it was helpful!
@ashfindelta8877
@ashfindelta8877 Жыл бұрын
Clear & easy to understand Thanks
@AltiumAcademy
@AltiumAcademy Жыл бұрын
Glad it was helpful!
@electronichome1153
@electronichome1153 2 жыл бұрын
Excellent explanation! Thank you!
@AltiumAcademy
@AltiumAcademy 2 жыл бұрын
You're very welcome!
@marinstevic9631
@marinstevic9631 2 жыл бұрын
Your recent videos have been really helpful. Are you considering making a video about impedance matching networks, especially for antennas?
@mchannelindia3458
@mchannelindia3458 2 жыл бұрын
Request from my side also!!
@Zachariah-Peterson
@Zachariah-Peterson 2 жыл бұрын
We have lots of requests for videos but I will add it to the list. Thanks for watching!
@sto2779
@sto2779 Жыл бұрын
Yes I’m interested as well
@sto2779
@sto2779 Жыл бұрын
Excellent explanation
@AltiumAcademy
@AltiumAcademy Жыл бұрын
Glad it was helpful!
@priyanshubhagat6002
@priyanshubhagat6002 2 жыл бұрын
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?
@SRVijay-ie9kz
@SRVijay-ie9kz Жыл бұрын
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
@alperkaplan1839
@alperkaplan1839 2 жыл бұрын
great video.thank you.waiting for more education video.
@AltiumAcademy
@AltiumAcademy 2 жыл бұрын
More to come!
@haierpad5669
@haierpad5669 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
@@Zachariah-Peterson I agree, but when testing stuff that is supplied with more than 1000vdc things start to be frightening 😂
@manojaa8338
@manojaa8338 2 жыл бұрын
Nice explanation 🙏🙏
@AltiumAcademy
@AltiumAcademy 2 жыл бұрын
Thanks and welcome
@beamray
@beamray 2 жыл бұрын
nice for beginners, i will address that video to my students. BTW< please do video about antipads for single end and differential signals.
@AltiumAcademy
@AltiumAcademy 2 жыл бұрын
Great suggestion!
@MrSemperfidelis225
@MrSemperfidelis225 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: kzfaq.info/get/bejne/p6t5ZpSfs9LYdo0.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.
@samamani5423
@samamani5423 2 жыл бұрын
can't thank you enough . keep it up
@AltiumAcademy
@AltiumAcademy 2 жыл бұрын
You're welcome!
@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
@kmacademy6742
@kmacademy6742 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 2 жыл бұрын
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 2 жыл бұрын
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.
@foxanderson967
@foxanderson967 2 жыл бұрын
legendary pedagogy
@ahmetkorkusuz5490
@ahmetkorkusuz5490 2 жыл бұрын
Thx for turkish translate
@ZaferDedeoglu
@ZaferDedeoglu 2 жыл бұрын
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 KZfaq 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.
@buddhabenarji2844
@buddhabenarji2844 2 жыл бұрын
Can I use differential pair for UART, I2C and SPI clock and data lines?
@Zachariah-Peterson
@Zachariah-Peterson 2 жыл бұрын
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.
@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 Жыл бұрын
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.
@Sahsimunasir
@Sahsimunasir 2 жыл бұрын
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 2 жыл бұрын
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 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
@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.
@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.
@mart242
@mart242 2 жыл бұрын
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.
@user-ww2lc1yo9c
@user-ww2lc1yo9c 2 жыл бұрын
It says in the video that you are technical consultant. That is enough.
Stitching Via Deep Dive | PCB Layout
17:00
Altium Academy
Рет қаралды 24 М.
Advanced Differential Pairs Concepts
27:28
Altium Academy
Рет қаралды 15 М.
Who enjoyed seeing the solar eclipse
00:13
Zach King
Рет қаралды 82 МЛН
Length Tuning and Differential Pairs
10:27
Altium Academy
Рет қаралды 11 М.
Demystifying Differential Pairs: 5 Common Myths Debunked!
17:21
Altium Academy
Рет қаралды 7 М.
Differential Impedance Deep Dive
13:30
Altium Academy
Рет қаралды 11 М.
What is LVDS?
6:51
Texas Instruments
Рет қаралды 39 М.
High-Speed Routing on a Two-Layer Board
14:41
Altium Academy
Рет қаралды 11 М.
How to Reduce Parasitic Capacitance in Your PCB Layout
13:52
Altium Academy
Рет қаралды 14 М.
6 Horribly Common PCB Design Mistakes
10:40
Predictable Designs
Рет қаралды 160 М.
Mastering Electrical Design - Don't Miss This Step!
7:06
Most Important Electronics Engineering Skills To Learn
6:45
Thomas Do
Рет қаралды 82 М.
What does "impedance matching" actually look like? (electricity waves)
17:08
Распаковка айфона под водой!💦(🎥: @saken_kagarov on IG)
0:20
Взрывная История
Рет қаралды 10 МЛН
Phone charger explosion
0:43
_vector_
Рет қаралды 31 МЛН
План хакера 🤯 #shorts #фильмы
0:59
BruuHub
Рет қаралды 995 М.
Интел подвинься, ARM уже в ПК!
14:06
PRO Hi-Tech
Рет қаралды 158 М.
Subscribe for more!! #procreate #logoanimation #roblox
0:11
Animations by danny
Рет қаралды 3,7 МЛН