Industrial electronics

NCO

Initialism of numerically controlled oscillator.

NCO: a software-based frequency generator

A numerically controlled oscillator is a digital circuit block that produces a sinusoidal or other periodic waveform at a frequency determined by a numeric input value, typically held in a register. Instead of tuning an analog oscillator by adjusting a capacitor or inductor, you change a digital word. The NCO generates samples of the desired waveform and outputs them, usually to a digital-to-analog converter, or feeds them directly into downstream digital processing stages.

The core of an NCO is a phase accumulator: a counter that increments by a tuning word on each clock cycle. As the accumulator overflows, its output wraps around, tracing out a sawtooth from 0 to 2π in the phase domain. A lookup table or trigonometric approximation then converts this phase value into the actual waveform sample. Frequency resolution depends on the word width of the tuning word and the master clock rate. A 32-bit tuning word and a 100 MHz clock, for instance, yield frequency steps in the millihertz range.

NCOs appear in direct digital synthesis (DDS) chips, software-defined radio implementations, function generators, signal processing pipelines, and phase-locked loops. Because the phase accumulator is deterministic and phase-continuous, NCOs lock instantly with zero settling time and produce phase noise only at levels set by quantization and clock jitter, not by component tolerances. They can sweep frequency linearly or follow any profile encoded in the tuning word input.

The main limitation is output bandwidth: Nyquist's theorem bounds the maximum output frequency to half the clock rate. Practical designs must also manage phase truncation noise from reducing the full accumulator width to a smaller index into the lookup table. Choosing table depth and polynomial approximation order trades off memory and computation against spurious content and noise floor.

NCOs have displaced analog VCOs in many applications because they offer frequency agility, repeatability, and miniaturization. In RF and microwave work, they are often paired with mixing and filtering stages to translate the baseband NCO output to higher frequencies. Their deterministic behavior makes them ideal for coherent demodulation, signal generation in test equipment, and any application where phase continuity matters.

More from Industrial electronics

See all

Get the Word of the Day

One industrial term every weekday, with the trade it belongs to and why it is worth knowing. No advertising.