A variable-output low-frequency (LF) generator is one of the useful tools to keep in an electronics design lab. This project uses the NE567 to make a straightforward, portable function generator with square, triangular and sine-wave outputs. It uses readily available components and is a useful addition to the toolkit for anyone taking their first steps in electronics, whether for developing circuits, testing equipment or exploring new ideas.
The NE567 as a variable-frequency oscillator
A variable-frequency oscillator is a familiar and relatively simple circuit to build. Dedicated ICs such as the NE555 can reduce the number of external components. Another approach is to use a current-controlled oscillator, or CCO, embedded within an IC designed to perform several functions. The NE567 is one such example: its CCO is part of a larger circuit rather than a device devoted solely to being an oscillator or a timer.
In a CCO, the oscillation frequency varies with the current through a resistor connected between two IC pins. That resistor charges a capacitor connected to ground. In this project, we use the NE567's built-in CCO as a free-running oscillator, first to examine how it works and then as the basis for a low-frequency generator. The circuit can provide step-like, or square, as well as triangular and sine-wave signals. If a frequency counter is not available, the operating frequency can be estimated from the manufacturer's formula.
What can you use a low-frequency generator for?
Audio amplifiers are commonly tested and adjusted with fixed or variable audio tones. These make it possible to check each stage for distortion, changes in the waveform or, in the worst case, complete loss of sound. The generator can also help test an audio preamplifier or an ultrasonic transducer by producing frequencies above the range audible to a typical adult.
Variable-frequency signals are also useful for synchronizing digital circuits when a fixed-frequency quartz crystal or ceramic resonator is not appropriate. Depending on the application, changing an oscillator's frequency can alter an LED's flashing rate or help tune a radio receiver.
The NE567 data sheet also shows a simple way to generate PWM using two diodes and a variable resistor; the example appears in the last graph of figure 26. PWM is useful for testing servos, model-aircraft motors, motors used in a quadcopter and other DC motors. That is not the function we are building here, but it is another straightforward option offered by the IC.
According to the manufacturer, the NE567's CCO frequency is set by just two components. The approximate relationship is the inverse of the product of C1 and R1: C1 is measured in farads and R1 in ohms.
Circuit operation and measured outputs
To obtain a sine-wave output, the circuit uses a general-purpose NPN transistor, such as a C1815, BC548 or 2N3904, in an emitter-follower configuration. Its output is AC-coupled through a 220 µF capacitor. A pair of 1N4148 diodes limits the signal before it reaches a TL081 amplifier, which raises it to a useful level. Along with the NE567's other outputs and the added circuitry, this completes the generator.
The square-wave and triangular outputs keep a constant amplitude across the frequency bands. The sine-wave output, by contrast, gets smaller as frequency rises. With C1 = 1 µF, tests gave a maximum sine-wave output of 7 V peak-to-peak between 30 and 200 Hz. It then declined gradually to about 6 V peak-to-peak near 50 kHz, about 5 V at 150 kHz and 2 V at 400 kHz.
With C1 changed to 470 pF and the frequency increased further, the useful sine-wave output reached 1 V peak-to-peak at 620 kHz. The waveform showed no notable distortion at these higher frequencies. A small amount of distortion was seen at the start of operation, up to 300 Hz; above that, sine-wave distortion was practically imperceptible for use as a laboratory aid.
Frequency limits and further possibilities
The NE567 data sheet gives a typical maximum internal oscillator frequency of 500 kHz. In our tests, reducing C1 to 470 pF, as shown in the circuit, produced frequencies close to 770 kHz. Going higher is not the goal: above 500 kHz, the instrument is less suited to repair, adjustment or equipment design. Frequencies above 40 kHz also enter the range commonly associated with ultrasound, up to 300 kHz. From around 550 kHz upward, the spectrum reaches the AM broadcast band, so operating there could interfere with nearby radio receivers.
The NE567 also contains a PLL, or phase-locked loop. Using that feature, it is possible to make a small, precision oscillator for low-power experimental transmission in the broadcast band. The PLL-controlled oscillator would need an amplitude-modulation circuit, a suitable amplifier stage and an antenna to radiate the signal. It is another possible use for a circuit that began as a simple low-frequency generator.
Would you like to see this circuit developed into a small AM transmitter for educational experiments? At NeoTeo, experimenting with a circuit and turning it into something different through imagination and inspiration is part of what drives each project. Share your thoughts in the comments or in the NeoTeo Electronics Forum.