Go to www.awrcorp.com
Back to search page Click to download printable version of this guide.

Port with Defined Frequency at Tone N (Swept Power): PORTFNS

Symbol

Summary

This signal source is superseded and should be replaced with one of the following: AC_V for voltage sources, AC_I for current sources, or PORT_SRC for ports, with the Signal parameter set to this signal type.

The period for tone 1 sources is the inverse of the specified simulation frequency; see “Frequency Sweep Control” for details.

Parameters

Name Description Unit Type Default
P Port number   0
Z Termination impedance Resistance 50 ohm
Freq Frequency for tone N Frequency 1 GHz
PStart Swept power magnitude start DB Power 0 dBm
PStop Swept power magnitude stop DB Power 0 dBm
PStep Swept power magnitude step DB 0 dB
Tone Tone number for the signal   2
*NHarm Maximum number of harmonics for this tone   0
*NSamp Sampling rate for this tone   1
PIN_ID Name identifier for pin Text  

* indicates a secondary parameter

Parameter Details

NHarm & NSamp. Specify a value of zero to indicate that these parameters do not override the values specified for the Tone X Harmonics and Tone X Over sample in the project or document Harmonic Balance Options settings. (Choose Options > Default Circuit Options and click the AWR Sim tab.) This only applies when the Tone parameter is set to 1, 2, or 3 for the element. An error is issued if these parameters are set to zero for a source with Tone equal to 4 or more.

Implementation Details

PORTFNS is similar to PORTFN, but more general in that a power sweep may be specified. The available source power is swept in increments of PStep, starting at PStart and ending at PStop.

NOTE: If a sinusoidal nonlinear source like this one has the parameter Ang=0 and is ideally terminated, then a nonlinear measurement (for example, Pcomp or Vcomp) made at the fundamental output of that source will have an angle of -90deg. This discrepancy is consistent with the definition of the sine wave sources (as in SPICE), and the Fourier-based harmonic component measurements. To avoid confusion, always measure or calculate the gain, and plot its angle.

The port number P is set automatically. If PIN_ID is not empty, text displays on the pin when it is instantiated as a subcircuit.

Layout

This element does not have an assigned layout cell. You can assign artwork cells to any element. See “Assigning Artwork Cells to Layout of Schematic Elements” for details.

Legal and Trademark Notice