ArticleslgStudy

engineering

Ring oscillator

Ring oscillator is a engineering topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Ring oscillator rather than just read about it. In short: A ring oscillator is a circuit composed of a cascaded chain of inverters (logical NOT gates) arranged in a ring, such that the output of the inverter at the end of the chain is fed back into the first inverter, which produces an output at the output of each inverter that oscillates between two voltage levels representing true and false. If the inverters used are buffered, then any odd number of inverters can be used.

Ring oscillator — main illustration
Ring oscillator — illustration

Key takeaways

  • Ring oscillator belongs to engineering; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Ring oscillator to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Ring oscillator from memory before moving on to harder problems.

Reference excerpt

A ring oscillator is a circuit composed of a cascaded chain of inverters (logical NOT gates) arranged in a ring, such that the output of the inverter at the end of the chain is fed back into the first inverter, which produces an output at the output of each inverter that oscillates between two voltage levels representing true and false. If the inverters used are buffered, then any odd number of inverters can be used. However, if the inverters used are unbuffered, then an odd number of at least 3 inverters must be used. (For simplicity, this article may simply say an "odd number" and ignore this caveat.) This is because a single unbuffered inverter in a loop with itself will simply have its output voltage equal its input voltage. Another formal proof of why a single unbuffered inverter won't work: the phase of the transfer function of a single unbuffered inverter doesn't cross 0° (or any integer multiple of 360°), so it fails to satisfy that necessary condition of Barkhausen stability.

Details Because a single inverter computes the logical NOT of its input, it can be shown that the last output of a chain of an odd number of inverters is the logical NOT of the first input. The final output is asserted a finite amount of time after the first input is asserted and the feedback of the last output to the input causes oscillation. A circular chain composed of an even number of inverters cannot be used as a ring oscillator. The last output in this case is the same as the input. However, this configuration of inverter feedback can be used as a storage element and it is the basic building block of static random access memory or SRAM. The stages of the ring oscillator are often differential stages, that are more immune to external disturbances. This renders available also non-inverting stages. A ring oscillator can be made with a mix of inverting and non-inverting stages, provided the total number of inverting stages is odd. The oscillator period is in all cases equal to twice the sum of the individual delays of all stages. A ring oscillator only requires power to operate. Above a certain voltage - typically well below the threshold voltage of the MOSFETs used - oscillations begin spontaneously. To increase the frequency of oscillation, two methods are commonly used. First, making the ring from a smaller number of inverters results in a higher frequency of oscillation, with about the same power consumption. Second, the supply voltage may be increased. In circuits where this method can be applied, it reduces the propagation delay through the chain of stages, increasing both the frequency of the oscillation and the current consumed.

Operation

To understand the operation of a ring oscillator, one must first understand gate delay. In a physical device, no gate can switch instantaneously. In a device fabricated with MOSFETs, for example, the gate capacitance must be charged before current can flow between the source and the drain. Thus, the output of every inverter in a ring oscillator changes within a finite amount of time after the input has changed. From here, it can be easily seen that adding more inverters to the chain increases the total gate delay, reducing the frequency of oscillation. The ring oscillator is a member of the class of time-delay oscillators. A time-delay oscillator consists of an inverting amplifier with a delay element between the amplifier output and its input. The amplifier must have a gain greater than 1 at the intended oscillation frequency. Consider the initial case where the amplifier input and output voltages are momentarily balanced at a stable point. Enhanced-type MOSFET transistors used in CMOS technology are theoretically normally open devices when not biased, but they exhibit high gate sensitivity to electric and magnetic fields when the gate is floating (not biased). Therefore, a small amount of noise from external sources and parallel conduction lines from adjacent circuits can both attract and repel electrons at the gate, causing a rise in conduction level at the amplifier output. After passing through the time-delay element, this small variation in output voltage will be presented at the amplifier input. The amplifier has a negative gain greater than 1; therefore, the output will vary in the direction of the input voltage. The variation will be greater than the input value for a gain greater than 1. This amplified and inverted signal propagates from the output through the time delay and returns to the input, where it is amplified and inverted again. The result of this sequential circuit is a square wave signal at the amplifier output, with the period of each half of the square wave equal to the delay time. The square wave will grow until the amplifier's output voltage reaches its limits, where it will stabilize. A more precise analysis will show that the wave growing from the initial noise may not be square during its growth, but will become square when the amplifier reaches its output limits. The ring oscillator is a distributed version of the time-delay oscillator. The ring oscillator uses an odd number of inverters to give the effect of a single inverting amplifier with a gain of greater than one. Rather than having a single delay element, each inverter contributes to the delay of the signal around the ring of inverters, hence the name ring oscillator. Adding pairs of inverters to the ring increases the total delay and thereby decreases the oscillator frequency. Changing the supply voltage changes the delay through each inverter, with higher voltages typically decreasing the delay and increasing the oscillator frequency. Vratislav describes some methods of frequency-stability and power consumption improving of the CMOS ring-oscillator. If t represents the time delay for a single inverter and n represents the number of inverters in the inverter chain, then the frequency of oscillation is given by:

f=12tn.

… excerpt ends here. Continue reading the full article.

Illustrations

Ring oscillator: Ring oscillator test structures fabricated on silicon using p-type MOSFETs of different sizes.
Ring oscillator test structures fabricated on silicon using p-type MOSFETs of different sizes.
Ring oscillator: A schematic of a simple 3-inverter ring oscillator whose output frequency is 1/(6×inverter delay)
A schematic of a simple 3-inverter ring oscillator whose output frequency is 1/(6×inverter delay)
Ring oscillator: A transistor level schematic of a three-stage ring oscillator with delay in a .25u CMOS process. This particular circuit has high power consumption for its speed, since the inverters run a large current from power to ground when their inputs are at an intermediate voltage.  A circuit with current-limiting devices in series with the inverter switches is more energy efficient.
A transistor level schematic of a three-stage ring oscillator with delay in a .25u CMOS process. This particular circuit has high power consumption for its speed, since the inverters run a large current from power to ground when their inputs are at an intermediate voltage. A circuit with current-limiting devices in series with the inverter switches is more energy efficient.

Worked examples

Example 1 — a first encounter with Ring oscillator

Start with the simplest possible case. Write down what Ring oscillator claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In engineering, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Ring oscillator before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Ring oscillator ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Ring oscillator

In research
Ring oscillator appears in engineering research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Ring oscillator in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Ring oscillator is common in secondary-school and first-year university syllabi. It links to neighbouring topics Digital circuits, Electronic oscillators, so understanding it makes those chapters shorter.
In everyday life
Look for Ring oscillator outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Ring oscillator” →

How to study Ring oscillator in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Ring oscillator means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Ring oscillator out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Ring oscillator in simple terms?

A ring oscillator is a circuit composed of a cascaded chain of inverters (logical NOT gates) arranged in a ring, such that the output of the inverter at the end of the chain is fed back into the first inverter, which produces an output at the output of each inverter that oscillates between two volt…

Why does Ring oscillator matter?

Because it connects several engineering ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Ring oscillator?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Ring oscillator.

Tags

  • Digital circuits
  • Electronic oscillators

Keep exploring