Engee documentation

Ring Oscillator VCO

The ring GUN model.

blockType: SubSystem

Path in the library:

/Mixed-Signal/PLL/Building Blocks/Ring Oscillator VCO

Description

Block Ring Oscillator VCO simulates the output signal, frequency control, period jitter, and flicker noise of a voltage-controlled oscillator, such as circuits of a controlled-bias ring oscillator. This unit generates phase noise using a mathematical description of the phase noise of ring generators. This allows you to calculate simulation results faster both at startup and during subsequent simulations. You can also control the phase noise profile by selecting the Gaussian noise level, the conjugate frequency, and the flicker noise level. The phase noise spectrum is limited by the spectra that a physical model of a ring oscillator can create.

You can select coefficients to mathematically describe the phase noise. You can specify a specific spectral density of phase noise from the technical description and compare it with the spectral density of phase noise obtained using mathematical coefficients. Then you can adjust the coefficients to find the most physically appropriate option for a given phase noise.

If the conjugate frequency of the flicker noise is set to zero, the block Ring Oscillator VCO It can also be used to simulate GONG with a resonant frequency.

Ports

Input

# vctrl — the voltage used to control the GONG output frequency
scalar | vector

Details

The control voltage of the GONG is used to control the output frequency of the ring GONG. In a phase—locked frequency (PLL) system, the vctrl port is the output signal of the filter in the PLL loop, containing information about the phase error.

Data types

Float64

Complex numbers support

No

Output

# vco out — the output signal defined by the vctrl port
scalar

Details

The output signal of the ring gun. In a PLL system, the vco out port is the output clock signal generated by the PLL. It is also fed back into the unit. PFD through the clock frequency divider to close the control loop.

Data types

Float64

Complex numbers support

No

Parameters

Parameters

# Specify using — setting the GONG output frequency
Voltage sensitivity | Output frequency vs. control voltage

Details

Determine how the output frequency of the GONG is set.:

  • Select a value Voltage sensitivity to set the output frequency from the parameters Voltage sensitivity (Hz/V) and Free running frequency.

  • Select a value Output frequency vs. control voltage to interpolate the output frequency from the vector Control Voltage (V) depending on the vector Output frequency (Hz).

Values

Voltage sensitivity | Output frequency vs. control voltage

Default value

Voltage sensitivity

Program usage name

SpecifyUsing

Tunable

No

Evaluatable

Yes

# Voltage sensitivity (Hz/V) — the degree of change in the output frequency of the GONG

Details

The degree of change in the output frequency when the input voltage changes, given as a positive real scalar with units of Hz/V.

Dependencies

To use this parameter, set for the parameter Specify using meaning Voltage sensitivity.

Default value

1.0e8

Program usage name

Kvco

Tunable

No

Evaluatable

Yes

# Control Voltage (V) — control voltage values

Details

The values of the control voltage GON, given as a real vector in volts.

Dependencies

To use this parameter, set for the parameter Specify using meaning Output frequency vs. control voltage.

Default value

[-5 0 5]

Program usage name

ControlVoltage

Tunable

No

Evaluatable

Yes

# Free running frequency — GONG output frequency without control voltage

Details

GONG frequency without control voltage (0 C) or the resting frequency, given as a positive real scalar in hertz.

Dependencies

To use this parameter, set for the parameter Specify using meaning Voltage sensitivity.

Default value

2.5e9

Program usage name

Fo

Tunable

No

Evaluatable

Yes

# Output frequency (Hz) — values of the GONG output frequency

Details

The GONG output frequency corresponding to the vector Control Voltage (V), set in hertz.

Dependencies

To use this parameter, set for the parameter Specify using meaning Output frequency vs. control voltage.

Default value

[2.0e9 2.5e9 3.0e9]

Program usage name

OutputFrequency

Tunable

No

Evaluatable

Yes

# Output amplitude (V) — the maximum amplitude of the output voltage GN

Details

The maximum amplitude of the output voltage of the DC, set as a positive real scalar.

Default value

1.0

Program usage name

Amplitude

Tunable

No

Evaluatable

Yes

# Enable increased buffer size — enabling an increased buffer size

Details

Check the box to enable the increased buffer size during simulation. This will increase the block buffer size. Variable Pulse Delay inside the block Ring Oscillator VCO. The checkbox is unchecked by default.

Default value

false (switched off)

Program usage name

ExtraBuffer

Tunable

No

Evaluatable

Yes

# Buffer size — the number of input buffering samples available during the simulation

Details

The number of input buffering samples available during the simulation, set as a positive integer. Sets the block buffer size Variable Pulse Delay inside the block Ring Oscillator VCO.

Choosing a different simulation solver or sampling strategy may change the number of input samples needed to obtain an accurate output sample. Set for the parameter Buffer size the value is large enough that the input buffer contains all the required input samples.

Dependencies

To use this option, check the box next to the option Enable increased buffer size.

Default value

1000

Program usage name

NBuffer

Tunable

No

Evaluatable

Yes

Impairments

# Add phase noise — adding phase noise as a function of frequency

Details

Select the checkbox to add phase noise as a function of frequency to the GONG. The checkbox is checked by default.

Default value

true (switched on)

Program usage name

AddPhaseNoise

Tunable

No

Evaluatable

Yes

# Model double sided phase noise instead of single sided — modeling of two-way spectral density of phase noise instead of one-way

Details

Check the box to simulate a two-way spectral density of phase noise instead of a one-way one. By default, the block assumes that the specified phase noise is one-way.

Default value

false (switched off)

Program usage name

SsbCheck

Tunable

No

Evaluatable

Yes

# Phase noise frequency offset (Hz) — frequency offsets of a given phase noise relative to the carrier frequency

Details

The frequency offset of a given phase noise relative to the carrier frequency, given as a positive real vector in hertz.

Dependencies

To use this option, check the box next to the option Add phase noise on the tab Impairments.

Default value

[30000.0 100000.0 1.0e6 3.0e6 1.0e7]

Program usage name

Foffset

Tunable

No

Evaluatable

Yes

# Phase noise level (dBc/Hz) — the set phase noise power when the phase noise frequency is shifted relative to the carrier

Details

The specified power of phase noise in the bandwidth 1 Hz, centered on the phase noise frequency offset relative to the carrier, set as a negative real vector in dBn/Hz. Parameter Elements Phase noise level (dBc/Hz) correspond to the relative elements of the parameter Phase noise frequency offset (Hz).

Dependencies

To use this option, check the box next to the option Add phase noise on the tab Impairments.

Default value

[-90 -106 -132 -143 -152]

Program usage name

PhaseNoise

Tunable

No

Evaluatable

Yes

# Period Jitter (S) — standard deviation of period jitter

Details

The standard deviation of the period jitter, defined as a positive real scalar in seconds. Period jitter is the deviation of the cycle length of a clock signal relative to the ideal period.

Default value

2.0509e-15

Program usage name

PeriodJitter

Tunable

No

Evaluatable

Yes

# Flicker Corner Frequency (Hz) — conjugate frequency of flicker noise

Details

The conjugate frequency of flicker noise, given as a scalar in hertz. Parameter Flicker Corner Frequency (Hz) It is defined as the frequency at which the phase noise transitions from the state in the state of because of the flicker noise. At this frequency, the spectral densities of period jitter and flicker noise are equal.

Default value

415710.2848

Program usage name

CornerFrequency

Tunable

No

Evaluatable

Yes

# Customize flicker exponent (Advanced feature) — setting up the spectral power distribution of flicker noise

Details

Select the checkbox to adjust the spectral power distribution of flicker noise. Traditionally, flicker noise is defined as noise but it can vary as , where .

Default value

false (switched off)

Program usage name

CustomizeExponent

Tunable

No

Evaluatable

Yes

# Flicker exponent — the flicker noise power indicator
0.8 | 0.9 | 1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5

Details

The flicker noise power indicator, set in the range from 0.8 before 1.5.

Values

0.8 | 0.9 | 1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5

Default value

1.0

Program usage name

FlickerExponent

Tunable

No

Evaluatable

Yes

Additional Info

Phase noise in the annular GUN

Details

Block Ring Oscillator VCO generates phase noise using a Gaussian noise source and a flicker filter.

ring oscillator vco en

When phase noise is included, the phase noise is calculated based on the variance of the stochastic period displacement process relative to the spectral density at one frequency. At the specified oscillation frequency , the frequency of the offset and single-band spectral density the variance of the period offset is

Thus, with the exception of flicker noise, the period offset obtained from an uncorrelated random process with constant variance is necessary. This period offset is generated by the Gaussian block noise source.

To simulate flicker noise, the flicker filter introduces an additional gain at low frequencies, up to four orders of magnitude lower than the conjugate frequency of flicker noise. To increase the spectral energy density with before the flicker filter should introduce a voltage gain below the conjugate frequency, while maintaining a unit gain above the conjugate frequency. To achieve this goal, the flicker filter is a recursive digital filter with an alternating sequence of four poles and four zeros. The lowest zero of the frequency is a constant factor higher than the lowest pole of the frequency, the next pole of the higher frequency is the same constant factor higher than the lowest zero of the frequency, and this pattern of alternating poles and zeros persists until the end of the sequence. The constant coefficient is a function of the exponent of the flicker filter, and for the nominal case of flicker noise The coefficient is equal to the square root of ten.

To minimize numerical noise in the flicker filter, the sampling frequency of the Gaussian noise source and the flicker filter is limited. 20-a multiple of the maximum phase noise offset frequency specified in the technical description, unless this sampling frequency is comparable or exceeds twice the oscillation frequency. For noise displacement frequencies with a higher phase response, the sampling frequency is limited to twice the oscillation frequency.

The variance of the Gaussian noise source is adjusted to compensate for the difference in the sampling frequency of the noise source and the oscillation frequency of the oscillator.

When the phase noise is turned off, the Gaussian noise variance is reset to zero.

Comparison of the measured phase noise with the physical model

Details

These phase noise spectra often contain measurement artifacts that should not be included in the GONG model itself. Although the estimates of the phase noise parameters are They are often close to creating an adequate physical model. In some cases, a user assessment of the situation is required. Two common problems are the minimum noise level and the resolution band.

Sometimes the measured phase noise corresponds to the physical model up to the frequencies for which the phase noise may be lower than the minimum noise level of the measurement.

Apparently, the minimum noise level during measurement for a set of technical data is -140 dBn/Hz, and the phase noise of the device under test is probably below this minimum level at higher offset frequencies. 100 MHz. In this case, a set of parameter values that best match the data at lower frequency offsets is likely to produce a more accurate model.

Sometimes the measured phase noise corresponds to the physical model at all levels, except for the lowest frequency offset.

The most likely reason for this result is that the resolution band used for the measurement was too wide to obtain accurate results at the lowest frequency offset, in this case 30 kHz. Even if the carrier was outside the bandwidth of the measuring filter, the carrier energy that passed through the limited delay band of the measuring filter was significantly greater than the energy in the bandwidth. In this case, a set of parameter values that best match the data at higher frequency offsets is likely to produce a more accurate model.