Ring Oscillator
A ring oscillator is a circuit made by connecting an odd number of inverters, each of which outputs the opposite of its input, in a closed loop. The output of the last inverter feeds back into the first, so the signal keeps circulating and the circuit oscillates on its own at a steady frequency.
Also called: RO
Diagram
Why it oscillates
After passing through an odd number of inverters, the signal returns to the input inverted. If the input is 0, a 1 comes back after one trip around the loop, then a 0 after the next, and so on. The time for one trip depends on the delay of a single inverter stage and the number of stages. The oscillation period is 2 × number of stages × single-stage delay, so measuring the frequency gives the delay per gate.
A process monitor in the scribe line
A single gate delay is only a few picoseconds, far too short to measure directly. A ring oscillator turns it into a frequency that is easy to measure. Ring oscillators are therefore built into scribe lines, the cutting lanes between chips on a wafer, or into dedicated test chips as test element groups (TEGs) that show how well the process turned out.
Engineers use them to study variation in transistor speed, the effect of interconnect delay, and how speed changes with supply voltage and temperature. Placing many of them across the wafer reveals differences within a wafer and between chips.
Inside products
Ring oscillators are also placed inside product chips as monitors for process variation, temperature and aging. The measured frequency can be used to adjust the supply voltage or to sort chips by speed. A ring oscillator whose frequency is controlled by voltage can serve as the voltage-controlled oscillator (VCO) in a phase-locked loop (PLL), although its frequency stability is lower than that of a crystal oscillator.
FAQ
Why must the number of stages be odd?
With an odd number of inverters the signal comes back inverted, so the loop can never settle into a stable state and keeps toggling. An even number would simply latch at 0 or 1.
How do you get the gate delay from the frequency?
The period equals 2 × number of stages × stage delay. Divide the measured period by twice the number of stages to get the average delay of one stage.
Can a ring oscillator replace a crystal oscillator?
Not where accuracy matters. It is useful as a VCO inside a PLL or as an on-chip monitor, but its frequency drifts with voltage, temperature and process, so it is less stable than a crystal.
Related pages
Sources
Last updated: December 3, 2026