Linear electronic oscillator circuits, which generate a sinusoidal output signal, are composed of an amplifier and a frequency selective element, a filter. A linear oscillator circuit which uses an RC network, a combination of resistors and capacitors, for its frequency selective part is called an RC oscillator.
RC oscillators are a type of feedback oscillator; they consist of an amplifying device, a transistor, vacuum tube, or op-amp, with some of its output energy fed back into its input through a network of resistors and capacitors, an RC network, to achieve positive feedback, causing it to generate an oscillating sinusoidal voltage. They are used to produce lower frequencies, mostly audio frequencies, in such applications as audio signal generators and electronic musical instruments. At radio frequencies, another type of feedback oscillator, the LC oscillator is used, but at frequencies below 100 kHz the size of the inductors and capacitors needed for the LC oscillator become cumbersome, and RC oscillators are used instead. Their lack of bulky inductors also makes them easier to integrate into microelectronic devices. Since the oscillator's frequency is determined by the value of resistors and capacitors, which vary with temperature, RC oscillators do not have as good frequency stability as crystal oscillators.
The frequency of oscillation is determined by the Barkhausen criterion, which says that the circuit will only oscillate at frequencies for which the phase shift around the feedback loop is equal to 360° (2π radians) or a multiple of 360°, and the loop gain (the amplification around the feedback loop) is equal to one. The purpose of the feedback RC network is to provide the correct phase shift at the desired oscillating frequency so the loop has 360° phase shift, so the sine wave, after passing through the loop will be in phase with the sine wave at the beginning and reinforce it, resulting in positive feedback. The amplifier provides gain to compensate for the energy lost as the signal passes through the feedback network, to create sustained oscillations.