Main Content

Discrete-Time VCO

(To be removed) Implement voltage-controlled oscillator (VCO) in discrete time

Discrete-Time VCO will be removed in a future release. For more information, see Version History.

Library

Components sublibrary of Synchronization

  • Discrete-Time VCO block

Description

The Discrete-Time VCO block generates a signal whose frequency shift from the Quiescent frequency parameter is proportional to the input signal. The input signal is interpreted as a voltage. If the input signal is u(t), then the output signal is

y(t)=Accos(2πfct+2πkc0tu(τ)dτ+φ)

where Ac is the Output amplitude, fc is the Quiescent frequency, kc is the Input sensitivity, and φ is the Initial phase

This block uses a discrete-time integrator to interpret the equation above.

This block accepts a scalar-valued input signal with a data type of single or double. The output signal inherits its data type from the input signal. The block supports double precision only for code generation.

Parameters

Output amplitude

The amplitude of the output.

Quiescent frequency (Hz)

The frequency of the oscillator output when the input signal is zero.

Input sensitivity

This value scales the input voltage and, consequently, the shift from the Quiescent frequency value. The units of Input sensitivity are Hertz per volt.

Initial phase (rad)

The initial phase of the oscillator in radians.

Sample time

The calculation sample time.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced before R2006a

collapse all

R2024a: To be removed

Discrete-Time VCO will be removed. To design voltage-controlled oscillators (VCOs) and phase-locked loops (PLLs), use the Phase-Locked Loops (Mixed-Signal Blockset) blocks.