Circuit Simulator #85

RC, RL, LC, AC, Filter, and BJT Amplifier � real-time oscilloscope with voltage and current waveforms.

Keys: 1�6 presets   P pause   R reset   S save

Presets
Circuit Parameters
Resistance1.00 kO
Capacitance100.0 �F
Inductance100.0 mH
Simulation Speed20 steps/f
Controls
Traces
  • � Vᵢₙ � input voltage (lime)
  • � V⚡ � output/node voltage (green)
  • � I � circuit current in mA (yellow-green)

Circuit Physics

First-order RC Circuit

An RC circuit is governed by a first-order linear ODE. For a step-function input V_s, the capacitor voltage follows an exponential approach with time constant t = RC:

dVc/dt = (Vin - Vc) / (R�C) Charging (Vin = V_s): Vc(t) = V_s � (1 - e^(-t/t)) Discharging: Vc(t) = V_s � e^(-t/t) Time constant: t = R�C (63.2% charge at t = t) Cutoff frequency: f_c = 1/(2pRC) (-3 dB point for AC)

First-order RL Circuit

dIL/dt = (Vin - R�IL) / L Transient current: IL(t) = (V_s/R) � (1 - e^(-t/t)) Time constant: t = L/R Cutoff frequency: f_c = R/(2pL) Voltage across L: VL = L � dIL/dt = V_s � e^(-t/t)

Series RLC � LC Oscillator

L � d�q/dt� + R � dq/dt + q/C = Vin(t) q = charge = C�Vc Natural frequency: ?0 = 1/v(LC) ? f0 = 1/(2pv(LC)) Damping ratio: ? = R/(2)�v(C/L) Quality factor: Q = ?0L/R = (1/R)�v(L/C) Underdamped (Q > 0.5): oscillating decay Critically damped (Q = 0.5): fastest non-oscillating return Overdamped (Q < 0.5): slow exponential return

AC RC Circuit � Impedance and Phase

Capacitive reactance: Xc = 1/(?C) = 1/(2pfC) [O] Impedance magnitude: |Z| = v(R� + Xc�) [O] Phase angle: f = -arctan(1/(?RC)) [rad] Vout lags Vin by f Voltage divider (lowpass): |Vout/Vin| = 1/v(1 + (f/f_c)�) f_c = 1/(2pRC) At f = f_c: |Vout/Vin| = 1/v2 � 0.707 (-3 dB)

BJT Common-Emitter Amplifier

DC biasing: Ic_Q = (Vcc - Vce_Q)/R_c (load line) Q-point: Vce_Q = Vcc/2 = 6 V, Ic_Q = 1.28 mA (Rc=4.7 kO, Vcc=12 V) Transconductance: gm = Ic_Q/Vt (Vt = 26 mV at 300 K) � 49 mA/V Small-signal gain: Av = -gm�Rc = -(with emitter degeneration: Av � -9.4) Output swing: �(Vcc/2 - Vsat) � �5.5 V (rails at supply/ground)

Preset Guide

PresetKey EquationObservable
🔋 RC Circuitt = RC; f_c = 1/2pRCExponential charge/discharge; low f_c = slower response
🌀 RL Circuitt = L/R; f_c = R/2pLCurrent ramps up inductively; voltage spike at turn-off
📡 LC Oscillatorf0 = 1/2pvLC; Q = v(L/C)/RResonant oscillations; Q controls decay rate
⚡ AC Circuitf = -arctan(1/?RC)Vout lags Vin; phase & attenuation vs frequency
🔧 Filter Design|H(f)| = 1/v(1+(f/f_c)�)Below f_c: Vout�Vin; above f_c: attenuated
📡 BJT AmplifierAv = -gm�Rc/(1+gm�Re)Inverted, amplified output; rail clipping at �Vcc/2

Explore Circuit Theory

Read our deep-dive articles on circuit analysis and semiconductor physics.

Circuit Analysis ?   Semiconductors ?

Curriculum Links

LevelTopicCovered
GCSE PhysicsCharge, current, voltage, resistanceRC/RL transients, Ohm's law
A-Level PhysicsCapacitance, EM induction, AC circuitsRC time constant, LC resonance, impedance
A-Level ElectronicsTransistor amplifiers, filtersBJT gain, f_c, Bode response
AP Physics CElectromagnetic induction, AC circuitsRLC series, quality factor, resonance
IB Physics HLCapacitance, Faraday, ACReactance, impedance, phase
University EECircuit theory, analogue electronicsFull ODE analysis, BJT small-signal model