The Wien bridge oscillator is a classic RC sine wave generator with an op-amp. The Wien bridge calculator gives the frequency and the period from R and C, and the gain and the resistor Rf needed for the oscillation to start.
How the calculation works
- Enter the resistor R and the capacitor C of the two RC arms of the bridge. In the standard circuit, the two resistors are equal and the two capacitors are equal.
- Enter the resistors Rg and Rf of the non-inverting amplifier that closes the loop.
- The calculator gives the frequency f = 1 / (2π R C) and the gain 1 + Rf / Rg of the amplifier.
- The gain must be at least 3 for the oscillation to start. A value a little above 3, such as 3.05, keeps the distortion low, and many circuits add a lamp or a diode to limit the amplitude.
Example
A Wien bridge oscillator has R = 10 kΩ and C = 10 nF. The frequency is 1 / (2π × 10,000 × 0.00000001) = 1,591.5 Hz, a period of 0.628 ms. The amplifier has Rg = 10 kΩ and Rf = 21 kΩ, so the gain is 1 + 21 / 10 = 3.10, above the minimum of 3, which needs at least 20 kΩ for Rf. A value of 20.5 kΩ gives a gain of 3.05.
Why it matters
The calculator helps students, makers and audio designers to choose the resistor and the capacitor of a sine oscillator for a test signal, a tone generator or a function generator, and to set the gain of the amplifier. It checks quickly that the loop gain is enough, and not too large.
Good to know
Use a variable resistor in the gain, or a lamp, to adjust the amplitude with low distortion. Keep the capacitors in the range of 1 nF to 1 µF and the resistors from 1 kΩ to 100 kΩ, to avoid the effects of the input bias and the parasitic capacitance. Use a double potentiometer for R if you want a variable frequency.
Related tools
The RC filter calculator gives the cutoff of a similar network, the op-amp gain calculator sizes the amplifier, the LC resonance calculator covers the oscillators for higher frequencies, and the 555 timer calculator makes a square wave.