Home▸Articles▸Electromagnetism

2D RLC Circuit: Oscilloscope & Frequency Sweep

An interactive exploration of resonant circuits through dynamic visualization and frequency analysis.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What is a 2D RLC Circuit?

A 2D RLC circuit consists of a resistor (R), inductor (L), and capacitor (C) connected in series. This simple yet powerful configuration can be driven by an external voltage source, leading to complex dynamic behaviors such as resonance and damping.

By analyzing the circuit through both time-domain observations with an oscilloscope and frequency-domain analysis via a Bode plot, we gain insights into how these components interact under different conditions.

How Does It Work?

The governing equation for this RLC circuit is L(di/dt) + Ri + q/C = V(t), where i is the current through the inductor, q is the charge on the capacitor, and V(t) is the driving voltage. This differential equation describes how the components respond to changes over time.

Using numerical methods like Runge-Kutta 4 (RK4), we can solve this equation sample-by-sample, allowing us to simulate the circuit's behavior in real-time.

live demo · related simulation● LIVE

Why Does It Matter?

Understanding RLC circuits is crucial for designing electronic filters, oscillators, and other critical components in various applications like telecommunications, audio processing, and power electronics.

The ability to visualize the circuit’s response through an oscilloscope and measure its frequency response with a Bode plot provides valuable insights into system stability and performance.

Real-World Applications

Resonant circuits are used in radio tuning circuits, where they help select specific frequencies from the airwaves.

In power electronics, RLC circuits can be employed to smooth out voltage fluctuations and improve efficiency.

Frequently asked questions

What does the oscilloscope show?

The oscilloscope displays the current through the inductor and the voltage across the capacitor over time, allowing you to observe the circuit's transient behavior.

How is the frequency sweep performed?

By setting a range of drive frequencies and re-running the simulation for each frequency, we can construct a Bode plot that shows how the circuit responds at different frequencies.

What does resonance mean in an RLC circuit?

Resonance occurs when the driving frequency matches the natural frequency of the RLC circuit, leading to maximum amplitude oscillations before energy is dissipated by the resistor.

Why use RK4 for solving the differential equation?

RK4 provides a more accurate and stable numerical solution compared to simpler methods like Euler's method, especially when dealing with complex dynamics in RLC circuits.

Try it live

Everything above runs in your browser — open 2D RLC Circuit — Oscilloscope & Frequency Sweep and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open 2D RLC Circuit — Oscilloscope & Frequency Sweep simulation

What did you find?

Add reproduction steps (optional)