There is a few ways that you can take the difference of phase between 2 ports. One method is to open up your global equations window and create an equation for the difference of phase. For example, an equation that looks like:
In this equation you are taking the absolute value of the difference of the two measurements. Here is an explanation of each part
DIFF_PHASE "Just a variable name." abs() "absolute value of a number" Linear1.Sch1.ANG[S11] "Linear1 is the name of your Linear Analysis. Sch1 is the name of the schematic that you are using and ANG[S11] is the measurement."
When you want to graph it, right-click on outputs and select a graph type. For the "Default Simulation/Data or Equations" select Equations. Then for your measurement, use =DIFF_PHASE
There are other ways to create this, but I find that this way provides the most reusability.
DIFF_PHASE = abs(Linear1.Sch1.ANG[S11] - Linear1.Sch1.ANG[S21])
In this equation you are taking the absolute value of the difference of the two measurements. Here is an explanation of each part
DIFF_PHASE "Just a variable name."
abs() "absolute value of a number"
Linear1.Sch1.ANG[S11] "Linear1 is the name of your Linear Analysis.
Sch1 is the name of the schematic that you
are using and ANG[S11] is the measurement."
When you want to graph it, right-click on outputs and select a graph type. For the "Default Simulation/Data or Equations" select Equations. Then for your measurement, use =DIFF_PHASE
There are other ways to create this, but I find that this way provides the most reusability.
Scott Platt