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

Dynamic Source Port: PORT_SRC

Symbol

Summary

The PORT_SRC element is a versatile port that encapsulates the functionality of many source ports into a single source port. A variety of signal types may be generated with this port, include sinusoid, piecewise linear, pulse, saw, square and triangle signals. In addition, you can specify what to use for frequency, how to calculate bandwidth/number of harmonics, the tone number, and how to sweep power (for the sinusoid case).

This port combines the functionality of the following ports: PORT1, PORTF, PORTFN, PORTFNS, PORT_PS1, PORT_PLS, PORT_PWL, PORT_SAW, PORT_SQR and PORT_TRI.

Parameters

Name Description Unit Type Default
P Port number   1
Z Termination impedance ohm 50
Signal Signal type   Sinusoid
SpecType Specify type   Use doc freqs
SpecBW Specify bandwidth   Use doc # harms
Sweep Power sweep type (only used when Signal=Sinusoid)    
Tone Tone number for the signal   1
*Hint Hint   Auto
*NSamp Oversample factor   1
PIN_ID Name identifier for pin Text  

* indicates a secondary parameter

Parameter Details

Signal. Specifies the signal type as "Sinusoid", "PWL", "Pulse", "Saw", "Square" or "Triangle".

SpecType. Specifies whether to use the document frequencies or specify a frequency or time period. Choices are "Use doc freqs", "Specify freq", "Specify period", "Trans only (Freq)", or "Trans only (Period)". The Trans only settings can only be used with transient simulators.

SpecBW. Specifies whether to use the number of harmonics in the document settings or to specify the number of harmonics or minimum time resolution. Choices are "Use doc # harms", "Specify # harms" and "Min time res".

Sweep. Specifies whether power is swept. Choices are "None", "Vector", "Linear", and "Linear (# pts)".

Tone. Tone number for the signal.

Hint. If the type of signal is known (large signal or small signal), the solvers can take advantage of this hint to help solve the problem in the most efficient way. Choices are "Auto", "Large signal" and "Small signal".

NSamp. Oversample factor. This sets the oversampling factor at the specified tone. Specify a value of zero to indicate that this parameter does not override the value specified for the 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 this parameter is set to zero for a source with Tone equal to 4 or more.

Dynamic Parameters

Name Description Unit Type Default
Pwr Available power Power {0} dBm
Ang Relative angle of excitation Angle {0} Deg
Freq Frequency for tone N Frequency 1 GHz
Period Period Time 1 ns
NHarm Maximum number of harmonics for this tone   5
MinRes Minimum time resolution Time 1 ns
PStart Swept power magnitude start Power 0 dBm
PStop Swept power magnitude stop Power 0 dBm
PStep Swept power magnitude step Power 0 dB
NumPts Number of swept voltage points   2
DCVal DC value (used for DC analysis) Voltage 0 V
WINDOW Window type    
TIME Time vector Time {0,0.5,1} ns
VOLTAGE Voltage vector Voltage {1,1,1} V
HI High voltage level Voltage 0.5 V
LO Low voltage level Voltage -0.5 V
TD Time delay Time 0 ns
TW Pulse width Time 0 ns
TR Rise time Time 0 ns
TF Fall time Time 0 ns

Dynamic parameters are parameters whose existence depends on the settings of the static parameters. The following is a list all of possible parameters that may display for the PORT_SRC depending on the settings of the static parameters Signal, SpecType, SpecBW and Sweep.

Dynamic Parameter Details

Pwr. Displays when Signal is "Sinusoid" and Sweep is "None" or "Vector". If Sweep is "None", the values in the vector correspond to the power at each harmonic (the first value represents power at the fundamental, the second value represents power at the 2nd harmonic, and so on) similar to the PORT1 element (see PORT1 for more details). If Sweep is "Vector", each value represents a value in the power sweep.

Ang. Displays when Signal is "Sinusoid". Represents the relative angle of excitation. If Sweep is "None", the values in the vector correspond to the angle of each harmonic (first value represents the angle of the fundamental, the second value represents the angle of the 2nd harmonic, and so on) similar to the PORT1 element (see PORT1 for more details). If Sweep is "Vector", each value represents the angles of each value in the power sweep.

Freq. Displays when SpecType is "Specify freq". Allows you to specify a single-source frequency directly on the port instead of having to use the document or project frequencies.

Period. Displays when SpecType is "Specify period". Allows you to specify the time period of the source signal directly on the port instead of having to use the document or project frequencies.

NHarm. Displays when SpecBW is "Specify # harms". Allows you to specify the number of harmonics to use directly on the port instead of having to use the document or project setting. Specify a value of zero to indicate that this parameter does not override the value specified for the Tone X Harmonics 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 this parameter is set to zero for a source with Tone equal to 4 or more.

MinRes. Displays when SpecBW is "Min time res". Allows you to specify the time resolution directly on the port instead of having to use the document or project Tone X Harmonics setting.

PStart, PStop. Displays when Signal=Sinusoid and Sweep=Linear or Linear (# pts). Allows you to specify the start and stop power values in a power sweep.

PStep. Displays when Signal is "Sinusoid" and Sweep is "Linear". Allows you to specify the power step value of a power sweep.

NumPts. Displays when Signal is "Sinusoid" and Sweep is "Linear (# pts)". Allows you to specify the number of points in a power sweep.

DCVal. Displays when Signal is set to anything except "Sinusoid". Allows you to specify a DC voltage value that can be used for DC analysis.

WINDOW. Displays when Signal is set to anything except "Sinusoid". Allows you to specify a data window type that will be applied to the source signal. Choices include "NONE", "DEFAULT", "TRIANG", "HANN", "HAMM", and "BLACK".

TIME and VOLTAGE. Displays when Signal is "PWL". See PORT_PWL for details on these parameters.

HI and LO. Displays when Signal is "Pulse", "Saw", "Square", or "Triangle". Represents the high and low voltage values of the source signal.

TD. Displays when Signal is "Pulse", "Saw", "Square", or "Triangle". Represents the time delay of the signal.

TW. Displays when Signal is "Pulse". Represents the pulse width in time units.

TR. Displays when Signal is "Pulse" or "Square". Represents the rise time.

TF. Displays when Signal is "Pulse", "Saw", or "Square". Represents the fall time.

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.

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