Page tree
Skip to end of metadata
Go to start of metadata

The system diagram editor (used for VSS simulations) supports connections by name using NCONN elements.  

View Help on Named Connectors

You can also see the following VSS example using these connectors.

Where To Find This Example

Select Help > Open Examples... from the menus and type either the example name listed above or one of the keywords below.

Or in Version 13 or higher you can open the project directly from this page using this button. Make sure to select the Enable Guided Help before clicking this button.

Design Notes

AGC using RF_PID

(Automatic Gain Control using Proportional Integral Derivative Controller)

VSS can be used to analyze linear and nonlinear effects in a typical AGC application.  A common requirement of RF systems is a reduction in signal power variation at the input of the data converter to prevent saturation.  In this example LVGA is used as the variable gain element to control the output power of the RF link.  The signal power at the output of the RF link is monitored by the RF_PID block, which generates the control signal to the LVGA based on the measured and target power levels.


The system diagram RF_PID Feedback performs a power sweep of the AGC line-up.  The plots that are generated from this schematic are shown in the Graphs titled Power Gain vs Input Power, Output Power vs Input Power and OIP3 vs Input Power, and Output Power vs Component @ -30dBm Pin.

Tuning the Target AGC Power Level  variable Pout  shows the effect on the AGC range.  Observe the graph Output Power vs Input Power.

Tuning the Gains G1 , G3 and G4  shows the effect AGC effect on gain distribution through the chain. Observe graph Output Power vs Component @ -30 dBm.

Its also possible to see the effect on OIP3 in the graph OIP3.

System Diagram - RF_PID Feedback

Graph - Output Power vs Component

Graph - Power Gain vs Input Power

Graph - OIP3

Graph - Output Power vs Input Power

Graph - Control Signal