Skip to main content

Relaxation oscillator

A relaxation oscillator is a circuit in Electrical Circuits and Systems II that makes a repeating non-sinusoidal wave by charging and discharging a capacitor between set voltage thresholds.

Last updated July 2026•Fiveable Content Team

What is relaxation oscillator?

A relaxation oscillator is a circuit in Electrical Circuits and Systems II that creates oscillation by letting a capacitor charge up, then forcing it to discharge, over and over again. Instead of producing a smooth sine wave, it usually gives you a square wave, a pulse train, or a sawtooth-like waveform.

The basic idea is simple: the capacitor stores energy as its voltage rises through a resistor, then a comparator or switching device watches that voltage. When the capacitor reaches an upper threshold, the circuit flips state. That flip changes the current path, so the capacitor starts discharging until the voltage drops to a lower threshold, and then the cycle repeats.

That threshold-switching action is what makes this an oscillator. The circuit does not need an external clock pulse to keep going. As long as the supply voltage and component values support the switching loop, the charging and discharging keep cycling on their own. This is why you will often see relaxation oscillators in astable multivibrators and comparator-based timing circuits.

In this course, the word “relaxation” refers to the slow buildup and release of voltage, not anything mechanical. The timing comes from the RC time constant, so changing the resistor or capacitor changes how long each charge or discharge interval lasts. Bigger R or C usually means a longer period and a lower frequency.

A common lab version uses an op-amp comparator with hysteresis, sometimes called a Schmitt trigger. The hysteresis gives two different switching thresholds, which prevents the output from chattering when the capacitor voltage is near the trip point. That detail matters in real circuits because noise or tiny voltage ripples can otherwise make the output switch unpredictably.

A good way to think about it is as a loop between storage and switching. The capacitor makes the timing, while the comparator decides when to flip. The output waveform may look simple, but behind it is a repeating process of charging, threshold detection, switching, and discharge.

Why relaxation oscillator matters in Electrical Circuits and Systems II

Relaxation oscillators show how Circuits II connects component behavior to a real waveform you can predict and design. Once you know the thresholds, the RC path, and the switching element, you can estimate frequency, duty cycle, and waveform shape instead of treating the circuit like a black box.

This term also ties together several big ideas from the course. You see capacitance in the timing element, comparators in the switching action, hysteresis in the stability of the loop, and waveform analysis when you read the output on an oscilloscope. That makes it a strong example of how analog circuits can turn a slowly changing voltage into a digital-like signal.

It comes up anywhere you need a simple built-in timer or a repeating pulse source. Blinking LED circuits, alarm tones, and clock-like signals all use the same charge-discharge logic in different ways. Even when the exact parts change, the analysis move stays the same: identify the thresholds, write the RC charging equation, and find when the comparator changes state.

If you are working through frequency-response or transient-analysis material, this is also a helpful bridge concept. It is not a sinusoidal steady-state problem, but it still depends on capacitor dynamics and switching behavior, so it trains you to follow a circuit through time instead of only looking at DC or AC snapshots.

Keep studying Electrical Circuits and Systems II Unit 9

Official unit cheatsheet

open one-pager

How relaxation oscillator connects across the course

Comparator

The comparator is the switching element that watches the capacitor voltage and flips the output when a threshold is crossed. Without that abrupt change in output state, the circuit would just charge and discharge once instead of repeating. In oscillator problems, you often identify the comparator first, then track how its output changes the capacitor path.

Capacitance

Capacitance sets how much charge the timing capacitor can store for a given voltage. In a relaxation oscillator, the capacitor value directly affects how fast the voltage ramps between thresholds. A larger capacitance usually means a longer period, because it takes more time for the same resistor current to move the voltage across the switching range.

Hysteresis

Hysteresis gives the circuit two different switching thresholds, one for charging and one for discharging. That spacing keeps the output from toggling back and forth around a single noisy threshold. In a relaxation oscillator, hysteresis makes the oscillation cleaner and more reliable, especially in op-amp comparator versions.

astable multivibrator

An astable multivibrator is a classic relaxation oscillator because it has no stable resting state. It keeps switching on its own and produces a continuous square wave. If you see that term in a lab or problem set, think of a self-running oscillator built from charging, threshold detection, and repeated state changes.

Is relaxation oscillator on the Electrical Circuits and Systems II exam?

A quiz question on this topic usually asks you to read a timing diagram, identify the capacitor charging and discharging intervals, or predict how the output changes when R or C changes. In a circuit problem, you may need to mark the comparator thresholds, sketch the waveform across the capacitor, and explain why the output is square while the capacitor voltage is ramp-like.

If the problem gives an op-amp or comparator circuit, look for the feedback path and the capacitor branch first. Then trace when the voltage reaches the upper or lower threshold. That is the moment the circuit switches states. For a design-style question, the usual move is to connect component values to period, frequency, and waveform shape, not just to name the circuit.

Relaxation oscillator vs astable multivibrator

These terms overlap a lot, but they are not exactly the same. A relaxation oscillator is the broader idea, a circuit that oscillates by charging and discharging a capacitor between thresholds. An astable multivibrator is one common implementation of that idea, often built with transistors or comparators to generate a continuous square wave.

Key things to remember about relaxation oscillator

  • A relaxation oscillator makes repeated oscillations by charging and discharging a capacitor between two thresholds.

  • The output is usually a square wave or pulse-like waveform, not a sine wave.

  • The RC time constant controls the timing, so changing R or C changes the frequency.

  • A comparator or other switching device decides when the circuit flips states.

  • Hysteresis is often added so the circuit switches cleanly instead of chattering near one voltage.

Frequently asked questions about relaxation oscillator

What is a relaxation oscillator in Electrical Circuits and Systems II?

It is a circuit that produces a repeating waveform by letting a capacitor charge up and then discharge after a threshold is reached. The switching is usually handled by a comparator, op-amp, transistor network, or similar device. In this course, you use it as an example of time-domain circuit behavior.

Is a relaxation oscillator the same as an astable multivibrator?

Not exactly, but they are closely related. A relaxation oscillator is the broader category, while an astable multivibrator is one common circuit form that fits that description. If a circuit runs continuously without a stable resting state and uses RC timing, it is often both.

Why does a relaxation oscillator make a square wave?

The capacitor voltage changes gradually, but the comparator or switching element changes output very quickly at the threshold. That sudden flip creates the square-like output. The slow part is the capacitor ramp, and the fast part is the state change.

How do resistor and capacitor values affect a relaxation oscillator?

They set how fast the capacitor reaches the switching threshold. Larger resistance or capacitance makes the charging and discharging slower, so the frequency drops. Smaller values make the cycle faster, which is why RC values are the main tuning knobs in these circuits.