9. A differential pair with the terminal solution
Goal: the differential S-parameters of an edge-coupled microstrip pair (100 Ω differential on 0.508 mm
RO4350B, 20 mm long). The finished project is examples/DifferentialPair.hzn.
- Simulation > Solution Type...: choose Terminal. The S-parameters then refer to terminals (one per trace) instead of port modes.
- Design Properties:
h = 0.508mm,w = 0.8mm,s = 0.4mm,L = 20mm,Wbox = 6mm,Hair = 3mm. - Draw the box
Substrate(Rogers RO4350B (tm)) andAirabove it, bothWboxwide andLlong, and the tracesTracePandTraceNas rectangles on top of the substrate,wwide with the gapsbetween them. Assign them Perfect E. The outer faces of the box are a perfect conductor, the ground of the lines. - Draw one sheet across each end of the box (Axis
Y,Wboxbyh+Hair) and assign a Wave Port to each. Hertzon finds the two traces on each port face and gives the port two terminals (P1_TraceP,P1_TraceN) with the box as reference, so it solves two modes: the even and the odd mode of the pair. Each mode leaves the model with its own propagation constant, so neither reflects at the port. - Simulation > Excitations > Diff. Pairs: pair terminal 1 with 2 and 3 with 4. The differential mode refers to 100 Ω, the common mode to 25 Ω.
- Analyze All and plot
dB(S(Diff1,Diff1))anddB(S(Diff2,Diff1)), the mode conversiondB(S(Comm1,Diff1)), andZo(i)andGamma(i)of the port modes (reports in the example). The differential return loss stays below −20 dB from 1 to 12 GHz and the conversion into the common mode below −36 dB. - The terminals are numbered in port order: 1 =
P1_TraceP, 2 =P1_TraceN, 3 =P2_TraceP, 4 =P2_TraceN(shown under the quantity in the report dialog). Reports can also name them:dB(S(P2_TraceP,P1_TraceP))is the same asdB(S(3,1)). - To see the differential field, open Edit Sources (right click Excitations): it lists the terminals.
Set
P1_TracePto 0.5 W at 0° andP1_TraceNto 0.5 W at 180° (1 W in the differential mode), the other terminals to 0. Field plots and animations then show the differential mode (same phase: the common mode). No new solve is needed.
Changing the pairs needs no new solve: the mixed-mode quantities are computed from the terminal S-parameters.
Ports with several modes are named the same way in modal designs: S(P1_M2,P1_M1) is the coupling from
mode 1 to mode 2 of port P1, and a Floquet port uses its modes (S(FP1_TM00,FP1_TE00)).