VGA
Model variable gain amplifier
Libraries:
RF Blockset /
Circuit Envelope /
Elements
Description
The VGA block models a RF Blockset™ variable gain amplifier (VGA). The Simulink® signal controls the non-linear gain.
The three Simulink input ports are Gain
, IP2
(second-order intercept point), and IP3
(third-order intercept
point). The port, In
is the RF Blockset voltage input and the port
OUT
is RF Blockset voltage output.
Ports
Input
Gain — Power gain signal
scalar
Power gain signal, specified as a scalar in dB. The power gain signal is a Simulink signal.
Data Types: double
IP2 — Second-order intercept point signal
scalar
Second-order intercept point signal, specified as a scalar in dBm. The second-order intercept point signal is a Simulink signal.
Data Types: double
IP3 — Third-order intercept point signal
scalar
Third-order intercept point signal, specified as a scalar in dBm. The third-order intercept point signal is a Simulink signal.
Data Types: double
Parameters
Input impedance (Ohm) — Input impedance of VGA
50
(default) | scalar
Input impedance of the VGA, specified as a scalar in ohms.
Output impedance (Ohm) — Output impedance of VGA
50
(default) | positive scalar
Output impedance of the VGA, specified as a scalar in ohms.
Intercept points convention — Input-referred or output-referred convention
Output
(default) | Input
Input-referred or output-referred convention for IP2 or IP3 intercept
points, specified as Input
or
Output
.
Ground and hide negative terminals — Ground and hide negative terminals
on
(default) | off
Ground and hide negative terminals, specified as on
or
off
. Select this parameter to internally ground and
hide the negative terminals. Clear the option to expose the negative
terminals. By exposing these terminals, you can connect them to other parts
of your model.
More About
Coefficient Formulae
The VGA
output voltage is a function of the
input voltage:
The table shows the formulas for the coefficients, g, c2, and c3
Input Referred | Output Referred | |
---|---|---|
g |
| |
c2 |
|
|
c3 |
|
|
Version History
Introduced in R2015b
See Also
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)