Setting up a differential pair impedance simulation in Ansys Q2D Extractor is a critical step for high-speed PCB design. This guide covers the complete workflow from geometry creation to result interpretation, ensuring your differential pair impedance meets target specifications for 100Ω USB, 90Ω PCIe, or 110Ω LVDS interfaces.

Why Q2D Extractor for Differential Pair Impedance?
In high-speed digital design, maintaining controlled differential pair impedance (typically 90Ω, 100Ω, or 110Ω) is critical for signal integrity. Ansys Q2D Extractor is the industry-standard 2D field solver for calculating per-unit-length RLGC parameters and characteristic impedance of transmission line cross-sections. Unlike full 3D simulators, Q2D offers rapid, accurate results for uniform cross-sections, making it ideal for pre-layout stackup design and post-layout verification.
This guide consolidates best practices from leading engineering resources. We will cover the complete workflow: from defining geometry, materials, and excitations, to running the simulation and interpreting the results.
Step 1: Setting Up the Project and Environment
Before drawing any geometry, you must configure the solver and units.
- Launch Q2D Extractor: Open the software from the Ansys Electronics Desktop.
- Create a New Project: Go to
Project > Insert Q2D Extractor Design. - Set Solution Type: In the
Project Managerwindow, right-click the design name and selectSolution Type. Choose “Q2D Extractor” as the solution type. This is essential for extracting RLGC matrices. - Set Units: Navigate to
Modeler > Units. Set the default units to mm or mil (depending on your PCB design standards). For high-frequency PCBs, mils are often preferred for precision. - Select Solver: Under
HFSS > Solution Setup, ensure the solver is set to “Matrix” type. This calculates the full capacitance and inductance matrices needed for differential impedance.
Key Insight from Expert Sources: Always use the “Matrix” solver, not the “Single Conductor” solver, for differential pairs. The matrix solver computes mutual capacitance and inductance between conductors, which is essential for odd-mode impedance calculations.
Step 2: Defining the Geometry (The Cross-Section)
This is the most critical step. You must accurately model the PCB cross-section exactly as it will be fabricated.
2.1 Creating the Substrate and Dielectric Layers
- Draw the Substrate (Dielectric): Use the
Draw > Rectangletool to create the base dielectric layer (e.g., FR4). The rectangle should represent the entire width of the transmission line region (typically 10-20 times the trace width to avoid fringing field errors). - Assign Material: Right-click the rectangle >
Assign Material. Select FR4_epoxy (or your specific material like Rogers 4350B). Important: For FR4, the dielectric constant (Dk) is frequency-dependent. In Q2D, you can define a frequency-dependent Dk underProperties > Material > Dielectric Constant > Frequency Dependent. For typical 1-10 GHz designs, use Dk = 4.2-4.5. - Define Height: Set the thickness of this rectangle to match your prepreg thickness (e.g., 0.1 mm for a standard 4-layer stackup). This is the distance between the signal layer and the reference plane.
- Add Additional Dielectric Layers: If your stackup has multiple dielectric layers (e.g., core + prepreg), draw each as separate rectangles with appropriate materials and thicknesses. Use
Modeler > Boolean > Uniteto combine them into a single dielectric block if they share the same material.

2.2 Drawing the Signal Traces (Differential Pair)
- Define Conductor Material: Create a new rectangle for the first trace. Assign material “copper” (or “pec” for perfect electric conductor if you want to ignore copper roughness).
- Set Trace Dimensions: For a typical differential pair:
- Width (W): e.g., 0.15 mm (6 mils)
- Thickness (T): e.g., 0.035 mm (1 oz copper)
- Spacing (S): e.g., 0.15 mm (6 mils) edge-to-edge between traces.
- Draw the Second Trace: Use
Draw > Rectangleagain. Position it exactly S distance away from the first trace. Use the coordinate system: For example, if the first trace is from X=0 to X=W, the second trace starts at X=W+S and ends at X=2W+S. - Apply Copper Thickness: In the properties of each trace rectangle, set the “Thickness” parameter to the actual copper thickness (e.g., 0.035 mm). Q2D treats 2D rectangles as infinitely long in the Z-direction, but the thickness affects the cross-sectional area and thus the resistance and inductance.
2.3 Adding Reference Planes (Ground)
- Draw Ground Planes: Draw two additional rectangles:
- Top Ground Plane (if required): For stripline, draw a rectangle above the traces. Assign material “copper” and set thickness to 0.035 mm.
- Bottom Ground Plane: Draw a rectangle below the bottom dielectric layer. Assign material “copper” and thickness.
- Positioning: Ensure the ground planes extend well beyond the traces (at least 3-5 times the trace width on each side) to model the infinite ground plane approximation.
Expert Tip from Multiple Sources: For microstrip differential pairs, the bottom ground plane is sufficient. For stripline, both top and bottom planes are required. Always model the exact stackup from your PCB fabrication drawing, including any solder mask layers (assign Dk ~3.5 for solder mask).
Step 3: Assigning Materials and Boundary Conditions
Proper material assignment and boundary conditions are vital for accurate differential pair impedance simulation.
3.1 Material Properties
- Dielectric Materials: For FR4, use Dk = 4.4 (typical at 1 GHz) and Loss Tangent = 0.02. For high-speed materials like Rogers 4350B, use Dk = 3.48 and Loss Tangent = 0.0037.
- Conductors: Assign “copper” with conductivity 5.8e7 S/m. For rough copper, you can define surface roughness under the material properties (e.g., “Copper_Rough” with RMS roughness of 0.5-1.0 µm).
3.2 Boundary Conditions
- Select All Dielectric Boundaries: In the
Modelerwindow, select all dielectric rectangles. - Assign Boundary: Right-click >
Assign Boundary > "Perfect E". This defines the outer boundaries of the simulation region. Important: For open structures (microstrip), do not assign Perfect E to the top and side boundaries; they should be left as “Natural” (open) boundaries. For stripline, assign Perfect E to the top and bottom ground planes. - Set Ground References: Select the bottom (and top, if stripline) ground plane rectangles. Assign “Perfect E” boundary. This tells Q2D these are zero-potential reference planes.
Critical Note from Expert Resources: For differential pair simulation, you must not assign a ground reference to the signal traces themselves. Only the ground planes get the Perfect E boundary. The traces will be assigned as signal nets in the next step.
Step 4: Defining Excitations (Nets and Ports)
Q2D uses “Nets” to define conductors that carry signals.
- Create Signal Nets:
- Go to
HFSS > Excitations > Assign > Net. - Select the first trace rectangle. Name it “P” (Positive).
- Click
OK. - Repeat for the second trace. Name it “N” (Negative).
- Go to
- Create Ground Net:
- Select the ground plane rectangle(s).
- Assign a Net named “GND”.
- Verify Net Assignment: In the
Project Manager, expandExcitations. You should see three nets: P, N, and GND.
Advanced Technique from Top Sources: If your differential pair has a shield or reference conductor (e.g., a coplanar ground), assign those as separate nets (e.g., “GND1”, “GND2”) and later use the matrix post-processing to extract differential impedance with respect to all grounds.
Step 5: Setting Up the Solution and Running Simulation
- Create Analysis Setup:
- Right-click
Analysisin theProject Manager>Add Solution Setup. - Set Solution Frequency to your target operating frequency (e.g., 5 GHz for high-speed digital).
- Set Max Number of Passes to 10 (default is fine).
- Set Max Delta S to 0.01 (1%) for high accuracy.
- Right-click
- Frequency Sweep (Optional): For broadband impedance, add a frequency sweep:
- Right-click
Setup1>Add Frequency Sweep. - Set Type to
Interpolating. - Set Range from 100 MHz to 10 GHz (or your desired range).
- Set Step Size to 100 MHz.
- Right-click
- Validate the Design: Click
Validation Check(green checkmark icon). Ensure no errors. - Run Simulation: Click
Analyze All.

Performance Tip from Expert Engineers: Following differential pair routing rules, use a single frequency point (e.g., 5 GHz) for initial design iterations to save time. Only run the full frequency sweep for final verification.
Step 6: Interpreting Results – Extracting Differential Impedance
After simulation, the results are in the Results tab.
6.1 Matrix Data Report
- Create Report: Right-click
Results>Solution Data>Matrix Data. - Select Parameters: In the report dialog, choose:
- Matrix:
C(Capacitance) orL(Inductance) - Domain:
Frequency - Function:
Real
- Matrix:
- Read the Matrix: You will see a 3×3 matrix (P, N, GND). The key values are:
- C11: Self-capacitance of trace P to ground.
- C22: Self-capacitance of trace N to ground.
- C12: Mutual capacitance between P and N.
- L11, L22, L12: Similar for inductance.
6.2 Calculating Differential Impedance (Zdiff)
Differential impedance is calculated using the odd-mode parameters. The formula is:
\[
Z_{diff} = 2 \times Z_{odd}
\]
Where the odd-mode impedance \( Z_{odd} \) is:
\[
Z_{odd} = \sqrt{\frac{L_{odd}}{C_{odd}}}
\]
And:
- L_odd = L11 – L12 (for symmetric pairs)
- C_odd = C11 + 2*C12 (for symmetric pairs, assuming C22 = C11)
Alternative Method in Q2D: For a direct readout:
- In the
Matrix Datareport, select “Z” (Impedance) matrix. - The differential impedance is the diagonal element corresponding to the “P” or “N” net when the other net is terminated. However, Q2D does not directly output Zdiff. You must use the “Differential” mode in the matrix post-processing.
- To get Zdiff directly: Go to
Results > Solution Data > Matrix Data. Select “Z” matrix. Then, under “Output Variable”, you can define a custom expression:Zdiff = 2*(Z11 - Z12)(where Z11 and Z12 are from the impedance matrix).

Expert Verification Step: Compare your calculated Zdiff with the target (e.g., 100Ω). If it’s off by more than 5%, adjust trace width (W) or spacing (S) in the geometry and re-run.
6.3 Extracting RLGC Parameters
For a complete signal integrity analysis, extract the per-unit-length parameters:
- R (Resistance): From the
Rmatrix. This affects DC and low-frequency loss. - L (Inductance): From the
Lmatrix. - G (Conductance): From the
Gmatrix (dielectric loss). - C (Capacitance): From the
Cmatrix.
These can be exported to a .csv file for use in circuit simulators (e.g., SPICE) by right-clicking the report and selecting Export.
Step 7: Advanced Considerations for High-Speed PCB
Based on expert recommendations from top engineering blogs:
- Solder Mask Effect: Solder mask has a dielectric constant of ~3.5-4.0. For microstrip, it can reduce impedance by 2-5Ω. Add a thin (0.02-0.03 mm) rectangle of solder mask material over the traces and re-simulate for final verification.
- Copper Roughness: At frequencies above 10 GHz, copper roughness significantly increases resistance and affects impedance. Use the “Huray” or “Hammerstad” models in the material properties to account for this.
- Differential vs. Common Mode: Always check both modes. The common-mode impedance (Zcm) should be high (typically > 50Ω) to avoid common-mode noise issues.
- Asymmetric Pairs: If your traces are not perfectly symmetric (e.g., due to routing constraints), Q2D will show different self-capacitances. In this case, use the full matrix method to calculate Zdiff = 2 * (Z11 – Z12) directly from the impedance matrix.
Troubleshooting Common Errors
| Error | Cause | Solution |
|---|---|---|
| Negative Capacitance | Ground plane not assigned as Perfect E | Re-assign ground plane boundary condition |
| Impedance too low | Trace width too wide or dielectric too thin | Reduce W or increase dielectric height |
| Impedance too high | Trace width too narrow or dielectric too thick | Increase W or reduce dielectric height |
| Simulation fails to converge | Mesh too coarse or geometry too complex | Increase mesh refinement or simplify geometry |
| No differential impedance output | Nets not defined correctly | Re-assign nets as P and N, ensure GND net exists |
Conclusion: From Simulation to Fabrication
Setting up differential pair impedance simulation in Ansys Q2D Extractor is a systematic process that directly translates to manufacturable PCB designs. By following this guide—from geometry creation to result interpretation—you can confidently design for 100Ω USB, 90Ω PCIe, or 110Ω LVDS interfaces.
Final Expert Recommendation: Always correlate your Q2D simulations with actual TDR measurements from your PCB manufacturer. Use the extracted RLGC matrices to build SPICE models for full channel simulation. For complex geometries (e.g., via transitions or bends), transition to Ansys HFSS for 3D verification.
Ready to prototype your high-speed PCB? Contact our engineering team for a free stackup review and impedance simulation report. We specialize in manufacturing differential pair designs with ±5% impedance tolerance.
Internal Links:
- Understanding Differential Pair Impedance for High-Speed PCB Design
- How to Choose PCB Materials for 10Gbps+ Designs
- Common Impedance Matching Mistakes and How to Avoid Them
External Resources (for credibility):
- Ansys Q2D Extractor User Guide
- IPC-2141A Standard for Controlled Impedance
FAQ
What is differential pair impedance simulation in Ansys Q2D Extractor?
Differential pair impedance simulation in Ansys Q2D Extractor is a 2D field solver method used to calculate the characteristic impedance of differential transmission lines for high-speed PCB design. It extracts RLGC parameters to ensure target impedance values like 90Ω or 100Ω.
How do I set up a differential pair in Q2D Extractor for impedance control?
To set up a differential pair impedance simulation, define the geometry (traces, dielectrics, ground planes), assign materials (FR4, copper), set boundary conditions (Perfect E for ground), create nets (P, N, GND), and run the Matrix solver. Then calculate Zdiff from the capacitance and inductance matrices.
What is the typical differential impedance for high-speed PCB designs?
Typical differential pair impedance targets are 100Ω for USB and LVDS, 90Ω for PCIe, and 110Ω for some Ethernet interfaces. Ansys Q2D Extractor helps verify these values during the design phase.
How accurate is Ansys Q2D Extractor for differential impedance simulation?
Ansys Q2D Extractor provides high accuracy for differential pair impedance simulation when material properties (Dk, Df) and stackup dimensions are correctly defined. Correlation with TDR measurements typically shows within 5% tolerance.
Can Q2D Extractor simulate solder mask effects on differential impedance?
Yes, you can model the solder mask effect by adding a thin dielectric layer (Dk ~3.5) over the traces in your differential pair impedance simulation. This can reduce impedance by 2-5Ω, so it’s important for final verification.