Mathematical Functions when Plotting in PSpice
Example Circuit
Voltages Plotted in PSpice Magnitude of the voltage across the 10W resistor is too small to allow the signal to be resolved, given the scaling factor used.
To obtain a clean plot area
To add new traces to the plot
Select output variables to be plotted After you click on one of the variable names in the scroll down list to the left, type a comma after the variable name that appears in the Trace Expression box before clicking on another variable name. To scale the variable on the plot, use a “*” and then type in the multiplier factor to, in this case, increase the scale of V2(R2) by a factor of 100.
Plot of same data where the value of the voltage across R2 has been multiplied by 100.
One of these - V(R2:1) or V(R2:2) – is the same as V2(R2) and can be used when plotting the node voltage between C1 and R2. The other will be 0V as the other node that R2 is connected is shared with ground. .
To determine which to use: V(R2:1) or V(R2:2) Open the Netlist. The first node listed for R_R2 is 0 (ground) The second node listed is $N_0001, a node shared with C_C1. Therefore V(R2:2) should be used to plot the voltage of the node between C1 and R2.
The blue curve is V(R2:2). 100, which lies directly on top of V(R2) The blue curve is V(R2:2)*100, which lies directly on top of V(R2)*100. The red points associated with V(R2)*100 can be seen.
Other Mathematical Functions On the right side of the Add Trace pop-up window is a list of mathematical functions and other macros that can be used by the PSpice plotting routine. We will use some of these in ECE 3074.