Model voltage controlled oscillator
Mixed-Signal Blockset / PLL / Building Blocks

VCO or voltage controlled oscillator is a voltage to frequency converter. It produces an output signal whose frequency is controlled by the voltage at the input vctrl port. The frequency of the output signal, F is determined either by:
where:
Kvco = voltage sensitivity (in Hz/V)
Vctrl = control voltage (in V)
Fo= free running frequency (in Hz)
or from linear interpolation using the mapping:
where:
Vctnl = vector of control voltages (in V)
Fout= vector of corresponding output frequencies (in Hz)
vctrl — Voltage used to control VCO output frequencyVCO control voltage used to control the output frequency of the VCO. In a phase-locked loop (PLL) system, vctrl is the output of the Loop Filter that contains the phase error information.
Data Types: double
vco out — Output signal determined by vctrl portOutput signal of VCO. In a PLL system, vco out is the output clock generated by the PLL. It is also fed back to the PFD block through a clock divider to complete the control loop.
Data Types: double
Specify using — Define how VCO output frequency is specifiedVoltage sensitivity (default) | Output frequency vs. control
voltageDefine how VCO output frequency is specified:
Select Voltage sensitivity to
specify output frequency from Voltage sensitivity
(Hz/V) and Free running frequency
(Hz).
Select Output frequency vs. control
voltage to interpolate output frequency
from Control voltage (V) vector versus
Output frequency (Hz)
vector.
Block parameter:
SpecifyUsing |
| Type: character vector |
Values:
Voltage sensitivity |
Output frequency vs. control
voltage |
Default:
Voltage sensitivity |
Voltage sensitivity (Hz/V) — Measure of change in output frequency of VCO100e6 (default) | positive real scalarMeasure of change in output frequency for input voltage change, specified as a positive real scalar with units in Hz/V. This parameter is also reported as VCO voltage sensitivity in the Loop Filter tab and is used to automatically calculate the filter component values of the loop filter.
To enable this parameter, select Voltage
sensitivity in Specify using
in the Parameters tab.
Block parameter:
Kvco |
| Type: character vector |
| Values: positive real scalar |
Default:
100e6 |
Data Types: double
Free running frequency (Hz) — VCO output frequency without control voltage2.5e9 (default) | positive real scalarFrequency of the VCO without any control voltage input
(0 V), or the quiescent frequency, specified as a
positive real scalar in Hz.
To enable this parameter, select Voltage
sensitivity in Specify using
in the Parameters tab.
Block parameter:
Fo |
| Type: character vector |
| Values: positive real scalar |
Default:
2.5e9 |
Data Types: double
Control voltage (V) — Control voltage values[-5 0 5] (default) | real valued vectorControl voltage values of the VCO, specified as a real valued vector in volts.
To enable this parameter, select Output frequency vs.
control voltage in Specify
using in the Parameters
tab.
Block parameter:
ControlVoltage |
| Type: character vector |
| Values: real valued vector |
Default:
[-5 0 5] |
Data Types: double
Output frequency (Hz) — VCO output frequency values[2e9 2.5e9 3e9] (default) | positive real valued vectorOutput frequency of the values of the VCO, corresponding to the Control voltage (V) vector, specified in Hz.
To enable this parameter, select Output frequency vs.
control voltage in Specify
using in the Parameters
tab.
Block parameter:
OutputFrequency |
| Type: character vector |
| Values: positive real valued vector |
Default:
[2e9 2.5e9 3e9] |
Data Types: double
Output amplitude (V) — Maximum amplitude of the VCO output voltage1 (default) | positive real scalarMaximum amplitude of the VCO output voltage, specified as a positive real scalar.
Block parameter:
Amplitude |
| Type: character vector |
| Values: positive real scalar |
Default:
1 |
Data Types: double
Enable increased buffer size — Enable increased buffer sizeSelect to enable increased buffer size during simulation. This increases the buffer size of the Variable Pulse Delay block inside the VCO block. By default, this option is deselected.
Buffer size — Number of samples of the input buffering available during simulation10 (default) | positive integer scalarNumber of samples of the input buffering available during simulation, specified as a positive integer scalar. This sets the buffer size of the Variable Pulse Delay block inside the VCO block.
Selecting different simulation solver or sampling strategies can change the number of input samples needed to produce an accurate output sample. Set the Buffer size to a large enough value so that the input buffer contains all the input samples required.
To enable this parameter, select Enable increased buffer size.
Block parameter:
NBuffer |
| Type: character vector |
| Values: positive integer scalar |
Default:
10 |
Data Types: double
Add phase noise — Add phase noise as a function of frequencySelect to introduce phase noise as a function of frequency to the VCO. By default, this option is selected.
Phase noise frequency offset (Hz) — Frequency offsets of phase noise from carrier frequency[30e3 100e3 1e6 3e6 10e6] (default) | positive real valued vectorThe frequency offsets of phase noise from the carrier frequency specified as a positive real valued vector in Hz.
To enable this parameter, select Add phase noise in the Impairments tab.
Block parameter:
Foffset |
| Type: character vector |
| Values: positive real valued vector |
Default:
[30e3 100e3 1e6 3e6 10e6] |
Data Types: double
Phase noise level (dBc/Hz) — Phase noise power at specified frequency offsets relative to the carrier[-56 -106 -132 -143 -152] (default) | negative real valued vectorThe phase noise power in a 1 Hz bandwidth centered at the specified frequency offsets relative to the carrier specified as a negative real valued vector in dBc/Hz. The elements of Phase noise level corresponds to relative elements in the Phase noise frequency offset.
To enable this parameter, select Add phase noise in the Impairments tab.
Block parameter:
PhaseNoise |
| Type: character vector |
| Values: negative real valued vector |
Default:
[-56 -106 -132 -143 -152] |
Data Types: double
The VCO subsystem block consists of two subsystems, Ideal VCO and Real VCO encapsulated under one variant subsystem.
If Add phase noise impairment is disabled, then the Ideal VCO subsystem gets active. This produces the following two orthogonal output signals, without any phase noise impairment and hence the name Ideal VCO:
Out of the two orthogonal outputs, only the real part of the signal, y1(t) is connected to the output port of VCO.
When the Add phase noise impairment is enabled, the Real VCO block becomes active which introduces phase noise as a function of frequency to the ideal VCO output. The subsystem consists of the Ideal VCO block whose output goes into Phase noise subsystem. The latter adds phase noise impairment to the input signal by utilizing a Phase Noise block from the Communications Toolbox™. The complex phase noise is separated into real and imaginary parts, which are multiplied with the real and imaginary parts of the output of the ideal VCO, respectively.

[1] Banerjee, Dean. PLL Performance, Simulation and Design. Indianapolis, IN: Dog Ear Publishing, 2006.

