Design Idea
VCO uses programmable logic
Edited by Bill Travis
Susanne Nell, Breitenfurt, Austria -- EDN, 11/14/2002
A VCO (voltage-controlled oscillator) is an analog circuit, so you cannot find it in the libraries for the design of digital programmable chips. When you need such a circuit for synchronization or clock multiplication, you need to find a circuit that works with the standard digital functions, such as AND and NAND. Several possibilities exist for building variable-frequency oscillators. For example, you can change the frequency using a varactor diode. Unfortunately, these diodes have a small change of frequency per volt. So, the standard Pierce oscillator with one inverter and capacitors is not useful for these applications. Another idea is to use a Schmitt-trigger inverter and to vary the charging resistor. This method can work, but the hysteresis of the IC usually has a wide tolerance, so the selected inverter chip has a large influence on the frequency.
For these reasons, this design modifies a two-NOR-gate RC oscillator (Figure 1) to function as a VCO. For almost all pure-CMOS circuits, the switching point between high and low states is approximately VCC/2. This point does not depend on the device. Using this circuit, you can obtain a wide frequency-tuning range. The output is a square wave with a 50% duty cycle. At power-on, both capacitors C1 and C2 are uncharged, and IC1A has a low output. Thus, the output of IC1B is high, and C2 charges with the time constant R2C2. The additional charging current from ICST and R4 also influences this charging time. When the voltage on C2 reaches VCC/2, IC1B switches to a low state. Now, the output of IC1A switches high, and C1 charges with time constant R1C1, influenced by ICST and R3. The low signal at the output of IC1B forward-biases D2 and quickly discharges C2.
This circuit produces a 50% duty cycle if C1=C2, R1=R2, and R3=R4. The values of R4 and R3 and the steering voltage, VST, determine the VCO's gain in kilohertz per volt. The circuit in Figure 2 yields the highest possible value for the VCO's gain. The circuit uses an Altera (www.altera.com) EPLD (erasable programmable-logic device), the EPM3032. Tristate buffers replace the diodes in Figure 1, and the charging resistors connect directly to the steering voltage. This configuration produces the highest possible VCO gain: approximately 700 kHz/V for the component values shown. You can switch off the VCO by using a steering voltage lower then VCC/2. You can implement this circuit using almost all programmable-logic devices with CMOS inputs. You can also use steering voltages much higher then the supply voltage of the programmable chip, because the voltage on the input of the chip never goes higher then VCC/2. This fact makes the circuit suitable as a voltage-to-frequency converter with a high input-voltage range.
Is this the best Design Idea in this issue? Select at www.edn.com.



