A Differential Pair consists of two pairs of pins on two different nets which should be routed along side each other maintaining a constant gap as much as possible. Edge coupled tracks are placed on the same layer with the gap between their edges, and broadside coupled tracks are placed on top of each other on different (usually adjacent) layers.

Differential Pairs can be created in the PCB design, or created up front in the Schematic design during the design phase. If in the Schematic design they will be automatically transferred to the PCB design when it is created.

Differential Pairs can be named to uniquely identify them and to describe their purpose within the design. Alternatively, their names can be auto generated from the names of their four pads.

Differential Pairs can also be chained together, linked through resistor components and split into two branches by terminating on a pair of branch points. Linking differential pairs into chains allows length rules to easily be applied to the whole chain.

Differential pairs are created using the Technology dialog where you can name them and define which pads or branch points they start and end on. From this dialog you can use any Differential Pair Nets Rules defined to your design to create all the differential pairs automatically. You can also use these rules to apply new names to existing Differential Pairs. Once this is done, there is a special manual routing mode which can be used to route the two track paths together, creating Paired Tracks.

Paired tracks are locked together and separated using the defined differential pair gap. You do not have to Pair the tracks when routing differential pairs, but it does offer some advantages:

  • Adding paired tracks guarantees them to be the correct distance apart, or in the broadside case directly on top of each other.
  • Paired tracks are gridded along the centreline of their gap, making it easier to route from the ends of paired sections to the differential pair pads with the same track length.
  • Subsequent editing of paired tracks will treat them as “one” and keep them locked together at the correct gap.
  • You can highlight the paired sections, making it easier to see the percentage of the differential pair already paired.
  • You can Serpentine the paired segments, either both sides together to lengthen both tracks, or one side only to correct skew length differences.

Shortcuts

Menu: Setup

Default Keys: T

Command: Technology

Differential Pair Rules

You can define Differential Pair Nets Rules that can then be used in the Differential Pairs dialog to automatically create and name your differential pairs in a Schematic or PCB design.

The default track widths to be used for differential pairs can defined using the Net Styles dialog. This can be used to set up track styles for a net, a whole net class, or explicitly for named differential pairs.

The track to track spacing and length skew rules are defined in the technology. The spacing between the paired tracks can be defined by a gap rule, or can be taken from the track to track spacing rule appropriate to the two nets. If both are defined, the paired gap rule is used.

The maximum allowed difference in length of each side of the differential pair can be defined by a skew rule. Differential pairs can be assigned a Track Length Rule, and can be included in a Track Length Match Rule to match the lengths of a set of differential pairs. If any rules are defined, they can be checked as part of the design rule checking and adherence to them can be displayed whilst editing the tracks as part of a length limit indicator.

Adding Paired Tracks

There are two ways of producing the paired tracks for a differential pair.

  1. The first method is to produce the pair after fully routing one of the nets.

    Before Add Differential Pairing Select the track segments that you wish to pair and use the Add Differential Pairing option from the shortcut menu. The selected segments will define the path of the centreline of the gap between the paired tracks.After Add Differential Pairing The existing track will move to one side of this path and a new paired track will be added on the other net as a “clone” track on the other side of the gap.
  2. The second method is to produce the paired tracks on the fly as you are routing one of the nets.

    Begin by routing the connection from one of the pins in the set of four and add track segments until you reach the point where the pairing is to start.

    If the positions of the two start pads of the differential pair are suitable you will be able to use the Mirror Mode option from the shortcut menu to automatically add the paired track at the same time. Its path will mirror the track you are adding about a line running between the pads. The two tracks will be kept the differential pair gap apart at all times.

    Note: You can use Next Diff Pair Start Mode to enable the Mirror Mode option from the Editing Options shortcut menu to always automatically start mirroring when adding a track from a differential pair pad.

    When using Differential Pair Auto Mirror the initial segments and the mirror line will be perpendicular to the line through the start pads. This can be changed before you add the first corner by using Rotate Mirror Angle, if available on the context menu, to rotate the mirror line by 45 or 90 degrees depending on the current segment mode. If you did not want to mirror the track this time, you can use Single Track Mode to go back to just editing the single track.

    Add Track After Start Mirroring Paired Track

    If you are mirroring then use left click when the tracks are the correct gap apart and in the position to start pairing. Note, if you want to add a corner when the tracks are the correct gap apart without entering pairing mode, press the shift key down whilst adding the corner. If not, use the command Differential Pairing (shown as Pairing Mode on the shortcut menu). You will find that you are now editing the centreline path between the paired tracks and a clone track has appeared alongside the track you were adding. This is the track on the other net. If the clone is on the wrong side of the path you can use the Swap Paired Tracks option to switch the paired tracks over.

    After Start Differential Pairing After Swap Paired Tracks (if needed)

    Continue routing in the normal way to add the paired tracks. Note that it is the centreline of the gap between the tracks that is edited and placed on grid, and the tracks are created either side at the required distance.

    If you did not use mirroring at the start, you can use the Complete Differential Pair Start option from the shortcut menu to route from the start pad of the second net to the paired tracks.

    Use the Mirror Mode option to temporarily separate the tracks to go either side of an obstacle.

    Whilst in mirror mode one of the tracks will be edited (shown selected) and the other will mirror its movement about a line between them. Movement of the tracks will automatically be restricted so that they do not become closer together than the differential pair gap.

    Left click when they are close again to carry on pairing. You can undo this by using the backspace key.

    After Start Mirroring Paired Track Move around obstacle and add corner to end mirroring Back in paired track mode

    An alternative to Mirror Mode is to use Pairing Start Mode. This is fundamentally the same as using the Insert Bus Route option in that it gathers the two tracks by single side routing to the two junctions representing the start of the paired section. Moving the cursor moves the junction pair to the required position, and left click starts the pairing. This mode is better than using mirror mode in that it can route around obstacles when gathering the tracks to the start of the paired section. The disadvantage with this is that one track may end up longer than the other which will need to be balanced later by lengthening the tracks on the other net.

    You can switch between the three modes using the context menu, which will also show which mode you are in. When you start routing one of the three modes will be used automatically for the differential pair. This is defined in the Add a Differential Track Using section of Options - Edit Track. Whilst editing, you can check what automatic start mode is currently set using the Editing Options sub menu from the context menu. Use Next Diff Pair Start Mode to change the automatic start mode to use in the future The current start mode is shown in brackets.

    Using Change Layer will stop track pairing, add a via pair pattern to take the tracks to the other layer, and then carry on pairing again. The vias are added (optionally on the via grid) and the paired track is offset to ensure the gap centreline is in line with the point between the two vias. An appropriate track pattern is added between the vias and the paired tracks to fit in with the track and via spacings and current segment mode.

    The via pattern that will be used is optionally displayed as you move the cursor when adding paired tracks. This shows both the actual via positions and start positions of the next track pair if the layer would be changed. If Online DRC is enabled and the vias would cause errors the pattern is not shown and the Change Layer option is not allowed at that point. The via pattern can be changed using the Via Pattern sub-menu on the shortcut menu. The following menu is displayed:

    Use the top three commands to change the via positions. Use Cross Over to make the tracks cross over each other within the pattern. Note an “X” is drawn in the via to indicate a cross over. Use the next four commands to specify the exit direction from the pattern.

    There is also an Auto Turn option. When changing layers, use this to initially exit the vias straight, but as you move the cursor after vias are added, the pattern will change to exit left, right or backwards to best match the cursor position. Once you corner or backspace, the Auto Turn mode will be switched off.

    If you do not need your vias to be placed on a via grid (for manufacturing purposes), check Allow Off-Grid Vias to let the vias be placed as close as possible with their mid point in line with the paired track centre line. This avoids the slight shift in the paired tracks to align them with the mid point between the gridded via positions.

    Use Show Via Pattern to toggle the display of the pattern.

    You can place any on these options on a key, but there are two additional commands provided to help. Using Differential Pair Via Pattern cycles between the three via patterns (if appropriate) and Differential Pair Via Exit Direction cycles between the four exit directions (again if appropriate).

    If you use the wrong pattern, or change layer in the wrong position, you can remove the layer change by using the backspace key.

    Before changing Via Pattern Potential via pattern is shown as you move.Before Change Layer Change to use 45 Degree Vias and Turn Right.After Change Layer Carry on adding paired tracks on other layer.

    You can also choose to use a copy of an existing Differential Pair Via pattern when changing layer whilst adding paired tracks. You may have already created a pattern that you want to use, this can be copied and reused.

    Before you start Differential Pair routing you have to choose the pattern to use. To do this first select all items in an existing pattern from the end of the paired tracks on one layer to the start of the paired tracks on the other layer. Using Frame Select with the Select If completely Framed option enabled will help ensure precise selection. Then, if needed, add any Ground vias that have been placed around the pattern (used for shielding) to this selection.

    If the pattern is selected as required, you can then use Copy Diff completion Pair Pattern from the context menu to save it to a special location on the clipboard.

    The pattern must contain Tracks and Vias on two nets, each net selection must contain a track that starts from a paired track on one layer, and then a continuous path from it to a track that ends on a paired track on another layer. This path can contain several micro-vias. The pattern can change direction and cross over. Then, when adding new paired tracks, you can now right click to use the Via Pattern sub-menu and choose Paste Diff Pair Via Pattern.

    If the copied via pattern is suitable for this pair you will see all its vias as you move the paired tracks. Change layer and the copied via pattern will be inserted in order for you to change layer. If the pattern is not suitable (wrong gap between tracks, wrong layer, etc) then change layer will not be available until you switch the via pattern.

    The via pattern option Paste Diff Pair Via Pattern will be remembered and will be used in future whilst the pattern is available on the clipboard. Changing layer back to the start layer will use the same pattern rotated about 180 degrees.

    You cannot use Auto Turn or Drop Via with this feature. When you use change layer it is fixed to the layer that the chosen pattern ends on.

    An alternative to using Change Layer is to use Drop Via from the shortcut menu. This adds the two vias in the same way as described above, but does not change layer. The tracks are continued on the same layer as they were on. This is useful when adding a differential pair branch, for example when using DDR2 or DDR3 flyby routing, to drop a via pair near to each of the other branch target pads, ready to be routed when completing the other branches. Prior to dropping the vias, you may need to use the Swap Vias option from the Via Pattern shortcut menu if available. If used this will swap the positions of the two vias which may end up better suited for routing to the target pads at the end of their branch. The dynamic via position that will be on the net of the track you picked to edit (shown on the status bar) is drawn in the select colour, and the other via position is indicated using the highlight colour.

    Another way to insert differential pair vias is to use the Finish On Via option from the shortcut menu. The differential paired tracks can be continued from the vias at a later stage. This option is also useful if the differential pair ends on two branch points. When the vias are inserted you will be asked if you want to change them to branch point vias, replacing the documentation symbol branch points.

    There are several alternative methods of finishing the paired tracks you have just added as follows:

    • Use the Finish Here option on the shortcut menu to leave the track pair where they are and exit Add Track with dangling connections to the end pads.

    • Use the Differential Pairing command (shown as Pairing Mode on the shortcut menu) to stop the pairing at that point and carry on editing one of the tracks.

    • Use the Complete As Track command to route the two dangling connections to the destination pads.

      Before Complete As Track After Complete As Track
    • If the destination pads are in suitable positions, use the Mirror Mode option to separate the tracks and finish by clicking on one of the pads. This will also finish the mirrored track if it is over the other differential pair end pad. Before mirroring, move the end of the centreline you are adding onto a line bisecting the target pads to ensure the mirrored sections of track can both end on the pads. The centreline being added is gridded, but should also snap onto the bisecting line even if it is not on the grid.

      Before Start Mirroring Paired Track After Start Mirroring Paired Track Move over pad and click to finish
    • When adding a track pair with dangling unrouted connections going to the start of another track pair, adding a corner when the paired track ends are directly over the static paired track starts will finish the current track pair and join it to the static track pair.

      Adding track pair Move cursor over start of other track pair Click to finish, pairs will be merged

    If the paired tracks were not completed, continue adding track segments on the original net until you reach the destination pad. Then route the second dangling track separately.

With both methods you can create any number of paired sections of track along the path. You must complete the gaps in the “clone” track manually.

Adding Odd Angled Differential Paired Tracks

There is a technique for routing differential pairs out of pads at odd angles.

Do this by start mirroring a Differential Pair track from two pads that are at an odd angle (not a multiple of 45 or 90 degrees depending on the current segment mode), you will be presented with a warning dialog asking if you want to enter Restrictive Movement mode to add segments that are perpendicular to the line through the start pads.

Choose Yes to do this. The restrictive movement angle will be automatically set and the track segments will be at the correct angle. If this is an operation you do often on odd angled components, then you can switch this warning message off using the check box on the dialog.

When adding corners the restrictive mode stays and you can turn in 45 degree steps relative to the start angle. When the two tracks are close together and you click, it will enter adding paired tracks still in the restrictive mode. Add a segment or two and then use the context menu to switch Restrictive Movement off and now you can add the segments in your normal segment mode.

If you chose No to the warning message, the mirrored segments will be added from the pads in a direction that is a multiple of 45 or 90 degrees closest to where you clicked to start mirroring.

Adding Spurs in Paired Tracks

You can finish a single track on a Differential Paired track segment provided the segment is not an arc and is on the same net. To allow this happen, in the Technology - Differential Pair dialog the pair must have the Allow Spurs rule enabled. With the single track end over the Differential Paired track to connect to, on drop, it will unpair a small section of the segment and join the track to it.

Adding Broadside Paired Tracks

Broadside paired tracks follow exactly the same path, but are on different layers. To add broadside pairing, you need to change the layer of both or one of the tracks before you can add the paired segments.

When adding a broadside differential pair track, using Start Differential Pairing will prompt for the Broadside Clone Layer. This is the layer that the copy of the track being added will go on. You will not be able to see the broadside clone as it is added underneath the track being added.

When using Mirror Mode from two surface mount start pads, mirrored tracks will be added but you will not be able to start pairing yet and the defined gap will be maintained. Whilst mirroring you can change layer to set the track being edited to a different layer to the broadside clone, and then the tracks can be brought together and pairing can start.

If you start mirroring from through hole pads or vias, you will be asked for the layer for the broadside clone and the mirrored track will change to that layer. Now the mirrored tracks will be allowed to come together and when this happens a click will start broadside pairing, one track on top of the other.

When adding differential pair tracks that allow both coupling types you can switch between them using Switch To Broadside Coupling or Switch to Edge Coupling from the shortcut menu. This can only be done when not actually adding paired tracks, so you have to stop pairing, change coupling type and start pairing again. When switching to broadside coupling you will again be asked for the layer for the broadside clone track.

For broadside coupling the paired length will be calculated only where one track is completely over the other, but if both edge and broadside coupling is allowed, both types of paired sections will be added together to give the total figure.

Editing Paired Tracks

When editing or moving existing sections of paired tracks you will actually be editing the centreline path between the tracks. The tracks themselves are updated automatically to follow your edited path.

The are some Interaction Options to use when adding and editing paired tracks. These can help avoid folding the track back on itself and avoid acute corners, and also show the actual on grid centreline path between the tracks that is being edited.

Using double click on the junction at the end of a paired section, or selecting the junction whilst in Add Track mode will allow you to add additional paired track segments at the end of the existing track pair. If you want to add a single track an the end of one of the paired tracks, enter Add Track and click on the connection attached to it. If there is no connection attached use Optimise Nets to re-create the connections on the net. If there is still no connection attached, in Add Track press the Ctrl key down whilst clicking on the end of paired track.

As you can see in the diagrams above, you can highlight completed paired tracks using a different colour.

A paired section of track (or a selected part of it) can be unpaired using the command Differential Pairing whilst in select mode. This is shown as Remove Differential Pairing on the shortcut menu. The tracks can then be edited separately. Alternatively you can use the Unroute Track Segments option to convert the selected section of paired track back to connections.

In Select Mode you can use Add Differential Pairing on a selected unrouted connection between two sections of paired tracks to automatically complete the pairing between the sections.

Whilst editing tracks in a differential pair you can display the length difference between the two halves to the pair along with any maximum value you have defined on the pair. See Show Track Length Limits for more details.

Editing Differential Pairs into Areas

When adding differential paired track segments and you cross an Area boundary that has different track styles in Net Styles, or different differential pair gaps defined, the pairing is automatically stopped on the near side of the area border and started again on the far side with two transition tracks added over the border joining the ends of the paired sections together. If it was a mistake entering the area, use the Backspace key to remove the area transition Tracks and revert to editing the original paired tracks.

Finding Differential Pairs

Differential pairs can be found in a design using the Rules Spreadsheet (see next section) or by using the Find Bar. All pads, branch points, tracks and unrouted connections in the differential pair will be selected or highlighted.

Differential Pair Spreadsheet

The Rules Spreadsheet bar provides a method for viewing information about all differential pairs in a dockable modeless bar.

The spreadsheet is kept up-to-date whilst you edit the design allowing you to instantly review information on multiple pairs in order to help make the correct design editing decision. The main use of the bar is to indicate differential pair rule failures as they happen, so they may be quickly corrected or avoided.

Other uses for the spreadsheet is to provide an alternative method for finding and selecting particular parts of differential pairs in the design, and to directly edit some rules on a selected pair without having to first find it the technology dialogs.

Differential Pair Report

You can use the Reports mechanism to generate a report of all the differential pairs in the design, showing the rules defined for each pair.

In a PCB design this report shows the total track lengths and paired track lengths for each completed pin pair. The actual value is shown alongside the required value for each of the rules, indicating where there is an error.

Alternatively you can use the Report Maker to format your own differential pairs report.

Colours - Highlights | Design Rule Checking | Differential Pairs Spreadsheet | Editing Tracks | Show Length Difference | Serpentine | Technology - Differential Pairs | Technology - Differential Pair Gap Rules | Technology - Differential Pair Nets Rules | Technology - Spacing Rules