Electronic – Ring oscillator frequency

feedbackinverteroscillator

According to Barkhausen's criteria, for oscillation the feedback should be made after phase difference of 2pi and gain has to be >=1.

Now when I consider a ring oscillator if 2 inverters are connected as in:

Inverter Schematic

Here the phase change after 2 inverters is 2pi. But this would actually not oscillate since output will not change. This is a contradiction right?

Best Answer

That's because Barkhausen only applies to linear circuits. Ring oscillators are made from inverter stages that have so much gain that they have to be treated as nonlinear (saturating) elements.

Two inverters (or any even number of inverters) form a bistable system.

A single inverter generally does not have enough delay to oscillate; instead, it drives itself to an intermediate analog state.

Larger odd numbers of inverters have enough delay to oscillate, since the output of each gate reaches saturation before its input changes again.