Digitally controlled oscillator

Last updated

A digitally controlled oscillator or DCO is used in synthesizers, microcontrollers, and software-defined radios. The name is analogous with "voltage-controlled oscillator". DCOs were designed to overcome the tuning stability limitations of early VCO designs.

Contents

Confusion over terminology

The term "digitally controlled oscillator" has been used [ citation needed ] to describe the combination of a voltage-controlled oscillator driven by a control signal from a digital-to-analog converter, and is also sometimes used to describe numerically controlled oscillators.

This article refers specifically to the DCOs used in many synthesizers of the 1980s [ why? ]. These include the Roland Juno-6, Juno-60, Juno-106, JX-3P, JX-8P, and JX-10, the Elka Synthex, the Korg Poly-61, the Oberheim Matrix-6, some instruments by Akai and Kawai, and the recent Prophet '08 and its successor Rev2 by Dave Smith Instruments.

Relation to earlier VCO designs

Many voltage-controlled oscillators for electronic music are based on a capacitor charging linearly in an op-amp integrator configuration. [1] When the capacitor charge reaches a certain level, a comparator generates a reset pulse, which discharges the capacitor and the cycle begins again. This produces a rising ramp (or sawtooth) waveform, and this type of oscillator core is known as a ramp core.

A common DCO design uses a programmable counter IC such as the 8253 instead of a comparator.

This provides stable digital pitch generation by using the leading edge of a square wave to derive a reset pulse to discharge the capacitor in the oscillator's ramp core.

Historical context

In the early 1980s, many manufacturers were beginning to produce polyphonic synthesizers. The VCO designs of the time still left something to be desired in terms of tuning stability. [2] Whilst this was an issue for monophonic synthesizers, the limited number of oscillators (typically 3 or fewer) meant that keeping instruments tuned was a manageable task, often performed using dedicated front panel controls. With the advent of polyphony, tuning problems became worse and costs went up, due to the much larger number of oscillators involved (often 16 in an 8-voice instrument like the Yamaha CS-80 [3] from 1977 or Roland Jupiter-8 [4] from 1981). This created a need for a cheap, reliable, and stable oscillator design. Engineers working on the problem looked to the frequency division technology used in electronic organs of the time and the microprocessors and associated chips that were starting to appear, and developed the DCO.

The DCO was seen at the time as an improvement over the unstable tuning of VCOs. However, it shared the same ramp core, and the same limited range of waveforms. Although sophisticated analogue waveshaping is possible, [5] the greater simplicity and arbitrary waveforms of digital systems like direct digital synthesis led to most later instruments adopting entirely digital oscillator designs.

Operation

A DCO can be considered as a VCO that is synchronised to an external frequency reference. The reference in this case is the reset pulses. These are produced by a digital counter such as the 8253 chip. The counter acts as a frequency divider, counting pulses from a high frequency master clock (typically several MHz) and toggling the state of its output when the count reaches some predetermined value. The frequency of the counter's output can thus be defined by the number of pulses counted, and this generates a square wave at the required frequency. The leading edge of this square wave is used to derive a reset pulse to discharge the capacitor in the oscillator's ramp core. This ensures that the ramp waveform produced is of the same frequency as the counter output.

Problems with the design

For a given capacitor charging current, the amplitude of the output waveform will decrease linearly with frequency. In musical terms, this means a waveform an octave higher in pitch is of half the amplitude. In order to produce a constant amplitude over the full range of the oscillator, some compensation scheme must be employed. This is often done by controlling the charging current from the same microprocessor that controls the counter reset value.

See also

Related Research Articles

<span class="mw-page-title-main">Phase-locked loop</span> Electronic control system

A phase-locked loop or phase lock loop (PLL) is a control system that generates an output signal whose phase is related to the phase of an input signal. There are several different types; the simplest is an electronic circuit consisting of a variable frequency oscillator and a phase detector in a feedback loop. The oscillator's frequency and phase are controlled proportionally by an applied voltage, hence the term voltage-controlled oscillator (VCO). The oscillator generates a periodic signal of a specific frequency, and the phase detector compares the phase of that signal with the phase of the input periodic signal, to adjust the oscillator to keep the phases matched.

A signal generator is one of a class of electronic devices that generates electrical signals with set properties of amplitude, frequency, and wave shape. These generated signals are used as a stimulus for electronic measurements, typically used in designing, testing, troubleshooting, and repairing electronic or electroacoustic devices, though it often has artistic uses as well.

<span class="mw-page-title-main">Pulse-width modulation</span> Electric signal modulation technique used to reduce power load

Pulse-width modulation (PWM), also known as pulse-duration modulation (PDM) or pulse-length modulation (PLM), is a method of controlling the average power or amplitude delivered by an electrical signal. The average value of voltage fed to the load is controlled by switching the supply between 0 and 100% at a rate faster than it takes the load to change significantly. The longer the switch is on, the higher the total power supplied to the load. Along with maximum power point tracking (MPPT), it is one of the primary methods of controlling the output of solar panels to that which can be utilized by a battery. PWM is particularly suited for running inertial loads such as motors, which are not as easily affected by this discrete switching. The goal of PWM is to control a load; however, the PWM switching frequency must be selected carefully in order to smoothly do so.

<span class="mw-page-title-main">Analog synthesizer</span> Synthesizer that uses analog circuits

An analogsynthesizer is a synthesizer that uses analog circuits and analog signals to generate sound electronically.

<span class="mw-page-title-main">Modular synthesizer</span> Synthesizer composed of separate modules

Modular synthesizers are synthesizers composed of separate modules for different functions. The modules can be connected together by the user to create a patch. The outputs from the modules may include audio signals, analog control voltages, or digital signals for logic or timing conditions. Typical modules are voltage-controlled oscillators, voltage-controlled filters, voltage-controlled amplifiers and envelope generators.

<span class="mw-page-title-main">Relaxation oscillator</span> Oscillator that produces a nonsinusoidal repetitive waveform

In electronics a relaxation oscillator is a nonlinear electronic oscillator circuit that produces a nonsinusoidal repetitive output signal, such as a triangle wave or square wave. The circuit consists of a feedback loop containing a switching device such as a transistor, comparator, relay, op amp, or a negative resistance device like a tunnel diode, that repetitively charges a capacitor or inductor through a resistance until it reaches a threshold level, then discharges it again. The period of the oscillator depends on the time constant of the capacitor or inductor circuit. The active device switches abruptly between charging and discharging modes, and thus produces a discontinuously changing repetitive waveform. This contrasts with the other type of electronic oscillator, the harmonic or linear oscillator, which uses an amplifier with feedback to excite resonant oscillations in a resonator, producing a sine wave.

A variable frequency oscillator (VFO) in electronics is an oscillator whose frequency can be tuned over some range. It is a necessary component in any tunable radio transmitter and in receivers that works by the superheterodyne principle. The oscillator controls the frequency to which the apparatus is tuned.

<span class="mw-page-title-main">555 timer IC</span> Integrated circuit used for timer applications

The 555 timer IC is an integrated circuit (chip) used in a variety of timer, delay, pulse generation, and oscillator applications. Derivatives provide two (556) or four (558) timing circuits in one package. The design was first marketed in 1972 by Signetics and used bipolar junction transistors. Since then, numerous companies have made the original timers and later similar low-power CMOS timers. In 2017, it was said that over a billion 555 timers are produced annually by some estimates, and that the design was "probably the most popular integrated circuit ever made".

<span class="mw-page-title-main">Voltage-controlled oscillator</span> Electronic oscillator controlled by a voltage input

A voltage-controlled oscillator (VCO) is an electronic oscillator whose oscillation frequency is controlled by a voltage input. The applied input voltage determines the instantaneous oscillation frequency. Consequently, a VCO can be used for frequency modulation (FM) or phase modulation (PM) by applying a modulating signal to the control input. A VCO is also an integral part of a phase-locked loop. VCOs are used in synthesizers to generate a waveform whose pitch can be adjusted by a voltage determined by a musical keyboard or other input.

<span class="mw-page-title-main">Oscillator sync</span> Synthesizer feature

Oscillator sync is a feature in some synthesizers with two or more VCOs, DCOs, or "virtual" oscillators. As one oscillator finishes a cycle, it resets the period of another oscillator, forcing the latter to have the same base frequency. This can produce a harmonically rich sound, the timbre of which can be altered by varying the synced oscillator's frequency. A synced oscillator that resets other oscillator(s) is called the master; the oscillators which it resets are called slaves. There are two common forms of oscillator sync which appear on synthesizers: Hard Sync and Soft Sync. According to Sound on Sound journalist Gordon Reid, oscillator sync is "one of the least understood facilities on any synthesizer".

<span class="mw-page-title-main">Function generator</span> Electronic test equipment used to generate electrical waveforms

In electrical engineering, a function generator is usually a piece of electronic test equipment or software used to generate different types of electrical waveforms over a wide range of frequencies. Some of the most common waveforms produced by the function generator are the sine wave, square wave, triangular wave and sawtooth shapes. These waveforms can be either repetitive or single-shot. Another feature included on many function generators is the ability to add a DC offset. Integrated circuits used to generate waveforms may also be described as function generator ICs.

<span class="mw-page-title-main">Korg Polysix</span> Synthesizer

The Korg Polysix(PS-6) is a six-voice programmable polyphonic analog synthesizer released by Korg in 1981.

<span class="mw-page-title-main">Detector (radio)</span> Device which extracts info from a modulated radio frequency current or voltage

In radio, a detector is a device or circuit that extracts information from a modulated radio frequency current or voltage. The term dates from the first three decades of radio (1888-1918). Unlike modern radio stations which transmit sound on an uninterrupted carrier wave, early radio stations transmitted information by radiotelegraphy. The transmitter was switched on and off to produce long or short periods of radio waves, spelling out text messages in Morse code. Therefore, early radio receivers did not have to demodulate the radio signal, but just distinguish between the presence or absence of a radio signal, to reproduce the Morse code "dots" and "dashes". The device that performed this function in the receiver circuit was called a detector. A variety of different detector devices, such as the coherer, electrolytic detector, magnetic detector and the crystal detector, were used during the wireless telegraphy era until superseded by vacuum tube technology.

A frequency synthesizer is an electronic circuit that generates a range of frequencies from a single reference frequency. Frequency synthesizers are used in many modern devices such as radio receivers, televisions, mobile telephones, radiotelephones, walkie-talkies, CB radios, cable television converter boxes, satellite receivers, and GPS systems. A frequency synthesizer may use the techniques of frequency multiplication, frequency division, direct digital synthesis, frequency mixing, and phase-locked loops to generate its frequencies. The stability and accuracy of the frequency synthesizer's output are related to the stability and accuracy of its reference frequency input. Consequently, synthesizers use stable and accurate reference frequencies, such as those provided by a crystal oscillator.

Casio's SDSynthesizers were a late-1980s line of analog synthesizers featuring a resonant filter. SD synthesis was traditional DCO-analog synthesis, with the main difference being that some of the SD waveforms' harmonic spectrums changed temporally, or dynamically in relation to the amplitude envelope.

<span class="mw-page-title-main">Oberheim Xpander</span> Analogue synthesizer

The Oberheim Xpander is an analog synthesizer launched by Oberheim in 1984 and discontinued in 1988. It is essentially a keyboardless, six-voice version of the Matrix-12. Utilizing Oberheim's Matrix Modulation technology, the Xpander combined analog audio generation with the flexibility of digital controls logic.

<span class="mw-page-title-main">Korg Mono/Poly</span> Analog synthesizer, manufactured by Korg from 1981 to 1984

The Korg Mono/Poly (MP-4) is a 44 key "mono-polyphonic" analog synthesizer manufactured by Korg from 1981 to 1984. This keyboard is the sister synthesizer to the Korg Polysix. It has four highly stable voltage-controlled oscillators (VCOs), a 4-pole, self-oscillating low pass filter (LPF), wide modulation capabilities and pseudo-polyphony (paraphony).

<span class="mw-page-title-main">Texas Instruments SN76477</span> Sound generating integrated circuit

SN76477 "complex sound generator" is a sound chip produced by Texas Instruments (TI). The chip came to market in 1978, and TI ceased production of the part. A compatible version is identified as ICS76477. The chip is typically used as a sound effects generator in arcade games and toys and for hobby projects. The use of the SN76477 in a musical context is limited by the fact that it was difficult to electronically control the pitch of the produced sound.

<span class="mw-page-title-main">Akai AX80</span> Analogue synthesizer

The AX80 is a polyphonic analogue keyboard synthesizer manufactured by Akai Professional in 1984. It was Akai's first venture into the professional electronic musical instrument market. The AX80 used digitally controlled oscillators (DCO) and filter circuitry based on the Curtis Electronics CEM 3372 integrated circuit. It was marketed as part of a line of project studio equipment called the Akai Music Studio System, which included the S612 digital sampler the MR16 drum machine, the MS08 sequencer, and the MG1212 multitrack tape recorder, at a price of $1,695 US.

<span class="mw-page-title-main">Akai AX60</span> Polyphonic analogue synthesizer

The AX60 is a polyphonic analogue keyboard synthesizer manufactured by Akai Professional in the mid-1980s. It was Akai's answer to the popular Roland Juno series synthesizers. The AX60 uses voltage-controlled analogue oscillators and filter circuitry based on the Curtis Electronics CEM 3394 integrated circuit.

References

  1. Chamberlin, Hal (1985). "Basic Analog Modules, Voltage-Controlled Oscillator". Musical Applications of Microprocessors. section 6, p.181.
  2. Russ, Martin (2004). "Early versus modern implementations". Sound Synthesis and Sampling. section 2.6.1, p.137.
  3. Yamaha CS-80, Vintage Synth Explorer
  4. Roland Jupiter 8, Vintage Synth Explorer
  5. STG Wavefolder, STG Soundlabs website