RC CircuitsInterview Questions

RC Circuits β€” Interview Questions
Interview Prep

RC Circuits
Interview Questions

Comprehensive Q&A covering Low-Pass Filters, High-Pass Filters, RC timing circuits, differentiators, integrators, and AC/DC transient analysis β€” with waveforms and full explanations.

πŸ”‰

Low-Pass Filter (LPF)

Passes low-frequency signals, attenuates high-frequency signals. Output taken across the capacitor.

Questions answered: 0 / 8
Basic
What is a low-pass RC filter? How is it constructed and what is its basic working principle?
+

✦ Full Answer

πŸ“ LPF Circuit & Frequency Response
CIRCUIT Vin R C Vout fc = 1/(2Ο€RC) BODE PLOT (Magnitude) 0dB -3dB fc βˆ’20dB /decade Frequency β†’ Gain (dB)
Construction: An RC low-pass filter is formed by connecting a resistor (R) in series with the input, and placing a capacitor (C) in shunt (parallel) to ground. The output voltage is taken across the capacitor.
Working Principle: At low frequencies, the capacitor’s impedance Xc = 1/(2Ο€fC) is very high β€” acting nearly as an open circuit β€” so most of the voltage appears across it (Vout β‰ˆ Vin). At high frequencies, Xc drops, the capacitor acts as a short circuit to ground, and Vout β†’ 0.
Xc = 1 / (2Ο€fC)
fc = 1 / (2Ο€RC)
|H(f)| = fc / √(f² + fc²)
Key Insight: The LPF “integrates” at high frequencies. Frequencies well below fc pass with unity gain; frequencies above fc are attenuated at βˆ’20 dB/decade (first-order).
Core
What is the cutoff frequency of an LPF? Derive the expression and explain its physical significance.
+

✦ Full Answer

The cutoff frequency fc (also called the -3 dB frequency or corner frequency) is the frequency at which the output power drops to half the input power, or equivalently, the output voltage drops to 1/√2 (β‰ˆ 0.707) of the input.
Derivation:
  • The voltage divider gives: Vout/Vin = Xc / (R + Xc) where Xc = 1/(jΟ‰C)
  • Magnitude: |H| = 1 / √(1 + (Ο‰RC)Β²) = 1 / √(1 + (f/fc)Β²)
  • At f = fc: |H| = 1/√2 β‰ˆ 0.707 β†’ Power = (0.707)Β² = 0.5 = -3 dB
  • Setting Ο‰RC = 1: Ο‰c = 1/RC β†’ fc = 1/(2Ο€RC)
fc = 1 / (2Ο€RC)
Ο‰c = 1 / RC (rad/s)
Ο„ = RC = 1/Ο‰c
Physical Significance: At f = fc, the resistive and capacitive impedances are equal (R = Xc). The time constant Ο„ = RC is also the reciprocal of the angular cutoff frequency. At this point, the phase shift is exactly βˆ’45Β°.
FORMULAfc = 1 / (2Ο€ Γ— R Γ— C)  |  At fc: |Vout| = 0.707 Γ— Vin, Phase = βˆ’45Β°
Core
What is the phase response of an RC low-pass filter? At what frequency does the phase shift equal βˆ’45Β°?
+

✦ Full Answer

πŸ“‰ LPF Phase Response vs. Frequency
0Β° -45Β° -90Β° fc (βˆ’45Β°) Frequency (log) β†’ Phase
The phase of the LPF output relative to the input is: Ο† = βˆ’arctan(f/fc)
  • At f β‰ͺ fc: Ο† β‰ˆ 0Β° (output in phase with input)
  • At f = fc: Ο† = βˆ’arctan(1) = βˆ’45Β°
  • At f ≫ fc: Ο† β†’ βˆ’90Β° (output lags input by 90Β°)
Ο†(f) = βˆ’arctan(f / fc)
Ο† = βˆ’arctan(Ο‰RC)
Interview tip: The phase shift at the cutoff frequency is always βˆ’45Β° for a first-order RC LPF β€” this is a defining characteristic and does not depend on the specific values of R or C.
Core
What happens to the output of an LPF when a square wave is applied? Describe the waveform shape.
+

✦ Full Answer

πŸ“ Square Wave Input vs. LPF Output (3 cases)
INPUT (Square) Ο„ β‰ͺ T/2 (fc high): nearly square Ο„ = T/2 (fc=f): rounded corners Ο„ ≫ T/2 (fc low): triangular/sawtooth time β†’
A square wave is rich in odd harmonics (f, 3f, 5f, …). An LPF progressively removes higher harmonics:
  • Ο„ β‰ͺ T/2 (or fc ≫ fsquare): Almost no filtering β€” output is nearly identical to the square wave input.
  • Ο„ β‰ˆ T/2 (or fc β‰ˆ fsquare): Corners are rounded, rise/fall times are slowed. Overshoot may appear at low Ο„ values.
  • Ο„ ≫ T/2 (or fc β‰ͺ fsquare): Only the DC component and the fundamental survive. Output becomes a triangular or sawtooth-like waveform with small amplitude.
Rule: LPF on a square wave = exponential charging/discharging. The output rounds the edges, because the capacitor cannot instantaneously follow rapid voltage changes.
Advanced
Derive the transfer function H(jΟ‰) of a first-order RC LPF and express it in standard form. What is the gain at DC, f = fc, and f β†’ ∞?
+

✦ Full Answer

Derivation of Transfer Function:
  • Using voltage divider: H(jΟ‰) = Vout/Vin = Zc / (R + Zc)
  • Zc = 1/(jΟ‰C), so: H = [1/(jΟ‰C)] / [R + 1/(jΟ‰C)]
  • Multiply numerator and denominator by jΟ‰C: H = 1 / (1 + jΟ‰RC)
  • Let Ο‰c = 1/RC: H(jΟ‰) = 1 / (1 + j(Ο‰/Ο‰c))
  • Equivalently in frequency: H(jf) = 1 / (1 + j(f/fc))
H(jω) = 1 / (1 + jωRC)
|H| = 1 / √(1 + (f/fc)²)
∠H = βˆ’arctan(f/fc)
ConditionGain |H|dBPhase
f = 0 (DC)1.0000 dB0Β°
f = fc0.707βˆ’3 dBβˆ’45Β°
f = 10 fc0.0995βˆ’20 dBβˆ’84.3Β°
f β†’ ∞0βˆ’βˆž dBβˆ’90Β°
Application
Name four practical applications of RC low-pass filters in electronics and explain each briefly.
+

✦ Full Answer

  • Anti-aliasing filter: Placed before ADC (Analog-to-Digital Converter) to remove frequency components above the Nyquist frequency, preventing aliasing artifacts in digital audio and measurement systems.
  • Power supply decoupling: RC LPFs remove high-frequency ripple and noise from DC power rails. Often placed near IC power pins (e.g., 100Ξ© + 100nF) to filter switching noise.
  • Audio tone control & speaker crossover: Routes low-frequency audio signals to woofers while blocking high frequencies. Bass-boost circuits use LPF characteristics.
  • Noise filtering / signal smoothing: Smooths out rapid fluctuations in sensor outputs (e.g., temperature sensors, potentiometers) to give stable readings before MCU input.
  • PWM to analog conversion: A PWM signal’s high-frequency switching component is filtered away, leaving only the average DC value β€” converting digital PWM to a smooth analog voltage.
Advanced
How does cascading two identical RC LPF stages affect the cutoff frequency and roll-off slope?
+

✦ Full Answer

Two identical first-order RC stages cascaded (loaded) form a second-order LPF, but with important caveats:
  • Roll-off: Increases from βˆ’20 dB/decade to βˆ’40 dB/decade at high frequencies β€” steeper attenuation.
  • New βˆ’3 dB frequency: Due to loading effects, the overall βˆ’3 dB point shifts DOWN. For two identical stages (R₁=Rβ‚‚, C₁=Cβ‚‚), the new effective fc is reduced: f_c_new β‰ˆ f_c Γ— (√(2^(1/n) βˆ’ 1)) where n=2, giving f_c_new β‰ˆ 0.644 Γ— f_c_original.
  • Phase shift: Reaches βˆ’90Β° at fc instead of βˆ’45Β° β€” the phase budget doubles.
  • Loading problem: The second R loads the first stage, altering the response. Buffer amplifiers (op-amps) between stages prevent loading and allow true cascading.
Roll-off: βˆ’40 dB/decade (2nd order)
fc_new β‰ˆ 0.644 Γ— fc (loaded)
Fix: Use an op-amp buffer (voltage follower) between stages so each stage operates independently. This gives a true 2nd-order response with fc unchanged per stage.
Advanced
Design an RC LPF with a cutoff frequency of 1 kHz. If R = 10 kΞ©, find C. Verify at f = 5 kHz.
+

✦ Full Answer

  • fc = 1/(2Ο€RC) β†’ C = 1/(2Ο€ Γ— fc Γ— R) = 1/(2Ο€ Γ— 1000 Γ— 10,000)
  • C = 1 / (62,831,853 Γ— 10⁻³) β‰ˆ 15.9 nF (use standard 15 nF or 16 nF)
  • Verify at 5 kHz: |H| = 1 / √(1 + (5000/1000)Β²) = 1 / √(1+25) = 1/√26 β‰ˆ 0.196 β†’ 19.6% of input (βˆ’14.1 dB)
  • Phase at 5 kHz: Ο† = βˆ’arctan(5) β‰ˆ βˆ’78.7Β°
DESIGN ANSWERR = 10 kΞ©, C β‰ˆ 15.9 nF  |  At 5kHz: Gain = 19.6%, Phase = βˆ’78.7Β°
πŸ”Š

High-Pass Filter (HPF)

Passes high-frequency signals, blocks DC and low frequencies. Output taken across the resistor.

Questions answered: 0 / 8
Basic
What is an RC high-pass filter? How does it differ from the LPF in construction and behavior?
+

✦ Full Answer

πŸ“ HPF Circuit & Bode Plot
HPF CIRCUIT Vin C R Vout fc = 1/(2Ο€RC) BODE PLOT (Magnitude) 0dB -3dB fc +20dB/dec Frequency β†’
Construction difference from LPF: In an HPF, the capacitor is placed in series with the signal path, and the resistor is placed to ground (shunt). Output is taken across the resistor.
PropertyLPFHPF
C positionShunt (to GND)Series (in signal path)
R positionSeries (in signal path)Shunt (to GND)
Output taken acrossCapacitorResistor
PassesLow freq (DC to fc)High freq (fc to ∞)
BlocksHigh freqDC and low freq
Gain below fcHigh β†’ dropsLow β†’ rises
Roll-off directionβˆ’20 dB/dec (high f)+20 dB/dec (low f)
Key: At DC (f=0), a capacitor is an open circuit β€” no current flows through R β†’ Vout = 0. At very high frequencies, Xc β†’ 0 (short circuit) β†’ all Vin appears across R.
Core
Derive the transfer function of an RC HPF. What is the gain at DC, at fc, and at very high frequencies?
+

✦ Full Answer

  • Voltage divider: H(jΟ‰) = R / (R + Zc) = R / (R + 1/jΟ‰C)
  • Multiply by jΟ‰C/jΟ‰C: H = jΟ‰RC / (1 + jΟ‰RC)
  • Let Ο‰c = 1/RC: H(jΟ‰) = j(Ο‰/Ο‰c) / (1 + j(Ο‰/Ο‰c))
  • Magnitude: |H| = (f/fc) / √(1 + (f/fc)Β²)
H(jω) = jωRC / (1 + jωRC)
|H| = (f/fc) / √(1+(f/fc)²)
∠H = 90Β° βˆ’ arctan(f/fc)
Frequency|H|dBPhase
f = 0 (DC)0βˆ’βˆž dB+90Β°
f = fc0.707βˆ’3 dB+45Β°
f β†’ ∞10 dB0Β°
Note: HPF phase is positive (output leads input) at low frequencies, and approaches 0Β° at high frequencies β€” opposite to LPF.
Core
What does an RC HPF output look like when a square wave input is applied? Explain for Ο„ β‰ͺ T and Ο„ ≫ T cases.
+

✦ Full Answer

πŸ“ HPF Response to Square Wave Input
INPUT (Square) Ο„ β‰ͺ T: sharp spikes (differentiator action) Ο„ ≫ T: near-square, only DC removed (no tilt)
  • Ο„ β‰ͺ T/2 (small time constant, high fc): The capacitor charges/discharges very quickly. Only the sharp transitions survive as brief positive or negative spikes (“impulse-like” or “needle” pulses). This is the differentiator mode β€” the HPF differentiates the square wave, producing spikes at each edge.
  • Ο„ ≫ T/2 (large time constant, low fc): The capacitor barely charges before the next transition. The output looks almost identical to the input but with DC removed β€” the average value is zero. The waveform tilts slightly (called “tilt” or “sag”), showing slight exponential decay during flat portions.
  • Ο„ β‰ˆ T/2: The output shows partial spikes with visible exponential decay back toward zero between transitions.
Interview key point: An RC HPF with Ο„ β‰ͺ T behaves as a differentiator. This is because d/dt of a step = an impulse, and the HPF passes only the high-frequency (rapidly changing) content.
Advanced
What is “tilt” or “sag” in the output of a high-pass filter with a pulse input? How is it calculated?
+

✦ Full Answer

πŸ“‰ Tilt / Sag in HPF Pulse Response
Tilt (Ξ”V) Vβ‚€ Vβ‚€Β·e^(-T/2Ο„) Pulse width T
Tilt (or sag) is the drooping of the flat top of a pulse at the HPF output. During the flat “high” portion of the pulse, the capacitor gradually charges, reducing the voltage across R (the output).
  • At the start of the pulse (t=0): Vout = Vβ‚€ (full amplitude)
  • At end of pulse (t=T): Vout = Vβ‚€ Β· eβˆ’T/Ο„
  • Tilt Ξ”V = Vβ‚€ βˆ’ Vβ‚€eβˆ’T/Ο„ = Vβ‚€(1 βˆ’ eβˆ’T/Ο„)
  • Percentage tilt = (Ξ”V/Vβ‚€) Γ— 100 = (1 βˆ’ eβˆ’T/Ο„) Γ— 100%
  • For small tilt (T β‰ͺ Ο„): % tilt β‰ˆ (T/Ο„) Γ— 100% = (T/RC) Γ— 100%
% Tilt β‰ˆ (T / RC) Γ— 100% (when T β‰ͺ Ο„)
To minimize tilt: Make Ο„ = RC ≫ T (pulse width). This means choosing a large R or large C, which lowers fc, ensuring the signal is well above the cutoff frequency.
Application
Name four practical applications of RC high-pass filters and explain each.
+

✦ Full Answer

  • AC coupling / DC blocking: Removes DC bias from audio signals before amplification. Common between stages in audio amplifiers (coupling capacitor). Prevents DC offset from saturating the next stage.
  • Treble/high-frequency boost: Audio equalizers use HPF characteristics to emphasize high-frequency content (cymbals, treble). Speaker crossovers route high frequencies to tweeters.
  • Edge detection in digital signals: With small Ο„, acts as a differentiator. Used in trigger circuits to detect rising/falling edges and generate narrow clock pulses.
  • Removing 50/60 Hz hum: Setting fc above 60 Hz blocks power-line interference from audio and instrumentation signals, while passing voice/music frequencies (300 Hz+).
  • Oscilloscope input coupling (AC mode): The AC coupling switch inserts a series capacitor, blocking DC from the display while showing AC waveforms clearly.
Advanced
Compare the step response of an RC HPF vs. an RC LPF when a sudden DC step is applied.
+

✦ Full Answer

⚑ Step Response: LPF (teal) vs. HPF (red)
Vin step LPF HPF Ο„ time β†’
PropertyLPF Step ResponseHPF Step Response
At t = 0⁺Vout = 0 (C is short)Vout = Vβ‚€ (C passes step)
As t β†’ ∞Vout β†’ Vβ‚€ (C charges)Vout β†’ 0 (C blocks DC)
ShapeExponential riseExponential decay
V at t = Ο„0.632 Γ— Vβ‚€0.368 Γ— Vβ‚€
Time constantΟ„ = RCΟ„ = RC
Intuition: The capacitor in HPF initially looks like a wire (short) at t=0⁺, passing the full step. Then it charges and effectively blocks the DC β€” the output decays to zero. The LPF capacitor is initially uncharged (short for current), so Vout=0 at t=0⁺, then charges up.
Advanced
Why does an RC HPF block DC? Explain using both time-domain and frequency-domain reasoning.
+

✦ Full Answer

  • Frequency domain: DC has frequency f = 0. The capacitive reactance Xc = 1/(2Ο€fC) β†’ ∞ as f β†’ 0. With infinite impedance in series, no current can flow through R, so Vout = 0. The transfer function |H| = (f/fc)/√(1+(f/fc)Β²) β†’ 0 as f β†’ 0.
  • Time domain: Under steady-state DC, the capacitor fully charges to the input voltage. Once fully charged, it acts as an open circuit β€” no current flows, no voltage drop across R, so Vout = 0.
  • Energy perspective: A capacitor stores charge Q = CV. In steady state, dV/dt = 0, so i = CΒ·dV/dt = 0. No current means no voltage across R.
Summary: The capacitor “uses up” the DC by charging to it. Only the changing part (AC) of the signal causes current flow and thus appears across R as Vout. This is why it’s called a DC-blocking capacitor.
Application
An HPF is designed with R = 4.7 kΞ©. What capacitor gives fc = 500 Hz? Compute the output at 50 Hz and 5 kHz.
+

✦ Full Answer

  • C = 1/(2Ο€ Γ— fc Γ— R) = 1/(2Ο€ Γ— 500 Γ— 4700) = 1/14,765,485 β‰ˆ 67.7 nF (use 68 nF standard)
  • At 50 Hz: |H| = (50/500) / √(1 + (50/500)Β²) = 0.1/√(1.01) β‰ˆ 0.0995 β†’ 9.95%
  • At 5000 Hz: |H| = (5000/500) / √(1 + 10Β²) = 10/√101 β‰ˆ 0.995 β†’ 99.5%
DESIGN ANSWERC β‰ˆ 67.7 nF  |  At 50Hz: 9.95% (heavily attenuated)  |  At 5kHz: 99.5% (passes freely)
⚑

Transient Analysis

Time-domain charging, discharging, initial conditions, and time constant behaviour.

Questions answered: 0 / 7
Basic
Derive the general voltage equation for a capacitor charging through a resistor from 0V to Vβ‚€.
+

✦ Full Answer

  • Apply KVL: Vβ‚€ = V_R + V_C = iR + Vc. Current i = CΒ·dVc/dt
  • So: Vβ‚€ = RCΒ·(dVc/dt) + Vc β†’ dVc/dt + Vc/RC = Vβ‚€/RC
  • This is a first-order linear ODE. Homogeneous solution: Vc_h = AΒ·eβˆ’t/RC
  • Particular solution: Vc_p = Vβ‚€
  • General: Vc = Vβ‚€ + AΒ·eβˆ’t/RC. Apply IC: Vc(0) = 0 β†’ A = βˆ’Vβ‚€
  • Final result: Vc(t) = Vβ‚€(1 βˆ’ eβˆ’t/Ο„) where Ο„ = RC
  • Current: i(t) = (Vβ‚€/R)Β·eβˆ’t/Ο„
Vc(t) = Vβ‚€(1 βˆ’ e^(βˆ’t/Ο„))
i(t) = (Vβ‚€/R)Β·e^(βˆ’t/Ο„)
Ο„ = RC
Basic
What percentage of the final voltage does a capacitor reach after 1Ο„, 2Ο„, 3Ο„, 4Ο„, and 5Ο„? Why is 5Ο„ considered “fully charged”?
+

✦ Full Answer

πŸ“Š Percentage Charged vs. Time
100% 63.2% 1Ο„ 86.5% 2Ο„ 95.0% 3Ο„ 98.2% 4Ο„ 99.3% 5Ο„
TimeFormula (1βˆ’e^βˆ’n)% ChargedRemaining
1Ο„1 βˆ’ e⁻¹63.2%36.8%
2Ο„1 βˆ’ e⁻²86.5%13.5%
3Ο„1 βˆ’ e⁻³95.0%5.0%
4Ο„1 βˆ’ e⁻⁴98.2%1.8%
5Ο„1 βˆ’ e⁻⁡99.3%0.7%
Why 5Ο„ = “fully charged”: The remaining error at 5Ο„ is only 0.7%, which is within the tolerance of most standard resistors and capacitors (1–5%). Mathematically, the capacitor only reaches 100% at t β†’ ∞.
Core
A capacitor with initial voltage Vβ‚€ is connected to a DC source Vs through resistor R. Write the general voltage equation.
+

✦ Full Answer

When the capacitor has an initial charge (Vβ‚€ β‰  0) and is connected to a source Vs:
  • Using the superposition of the forced and natural response:
  • The capacitor voltage approaches Vs as t β†’ ∞ (forced response)
  • The natural response decays from (Vβ‚€ βˆ’ Vs) with time constant Ο„
  • Vc(t) = Vs + (Vβ‚€ βˆ’ Vs) Β· eβˆ’t/Ο„
  • If Vs > Vβ‚€: capacitor charges up toward Vs
  • If Vs < Vβ‚€: capacitor discharges down toward Vs
  • If Vs = 0 (discharge to ground): Vc(t) = Vβ‚€ Β· eβˆ’t/Ο„
Vc(t) = Vs + (Vβ‚€ βˆ’ Vs)Β·e^(βˆ’t/Ο„)
General form: Final + (Initialβˆ’Final)Β·e^(βˆ’t/Ο„)
Memory trick: “Start where you are, go where you’re headed, at the speed of eβˆ’t/Ο„.” This formula covers ALL RC charging/discharging scenarios in one expression.
Core
What is the significance of the RC time constant in terms of energy? How much energy does a capacitor store and dissipate during charging?
+

✦ Full Answer

  • Energy stored in capacitor at full charge: EC = Β½CVβ‚€Β²
  • Total energy supplied by source: Esource = Q Γ— Vβ‚€ = CVβ‚€ Γ— Vβ‚€ = CVβ‚€Β²
  • Energy dissipated in resistor: ER = Esource βˆ’ EC = CVβ‚€Β² βˆ’ Β½CVβ‚€Β² = Β½CVβ‚€Β²
  • Remarkable result: Exactly half the energy from the source is dissipated in R, regardless of R’s value!
  • This is independent of the time constant β€” whether R is 1Ξ© or 1MΞ©, half the energy is always wasted.
E_stored = Β½CVΒ²
E_dissipated = Β½CVβ‚€Β²
Efficiency = 50%
Interview insight: The 50% energy efficiency of RC charging is a fundamental limitation. This is why switched-capacitor power supplies and charge pumps use resonant or adiabatic charging techniques to improve efficiency.
Advanced
How do you find the Thevenin equivalent to simplify a complex RC circuit for transient analysis?
+

✦ Full Answer

For any RC circuit with multiple resistors and sources, reduce it to a Thevenin equivalent before solving:
  • Step 1 β€” Identify the capacitor: Remove the capacitor from the circuit. Mark the two terminals A and B.
  • Step 2 β€” Find V_th: Calculate the open-circuit voltage across A-B with no capacitor. This is the Thevenin voltage (= the final steady-state voltage of the capacitor).
  • Step 3 β€” Find R_th: Zero all independent sources (short voltage sources, open current sources) and calculate the resistance looking into terminals A-B.
  • Step 4 β€” Write the solution: The equivalent circuit is V_th in series with R_th and C. Apply: Vc(t) = V_th + (Vβ‚€ βˆ’ V_th)Β·eβˆ’t/Ο„ where Ο„ = R_th Γ— C.
Key point: Ο„ = R_th Γ— C, where R_th is the equivalent resistance seen by the capacitor with all independent sources zeroed. This works for any linear RC circuit, no matter how complex.
Advanced
What happens to the time constant if multiple resistors are connected in parallel or series with the capacitor?
+

✦ Full Answer

  • Resistors in series with C: R_total = R₁ + Rβ‚‚ + … β†’ Ο„ = R_total Γ— C. Adding series resistance slows down the charging/discharging (larger Ο„).
  • Resistors in parallel with C: The parallel resistance R_p = (R₁Rβ‚‚)/(R₁+Rβ‚‚) forms the effective discharge path. Ο„ = R_p Γ— C. Parallel paths provide faster discharge (smaller Ο„).
  • Multiple capacitors in series: 1/C_eq = 1/C₁ + 1/Cβ‚‚ β†’ smaller C_eq β†’ smaller Ο„.
  • Multiple capacitors in parallel: C_eq = C₁ + Cβ‚‚ β†’ larger Ο„.
  • General rule: Use Thevenin resistance (R_th) seen by C. Ο„ = R_th Γ— C_eq always works.
Ο„ = R_Thevenin Γ— C_equivalent
Advanced
Explain how the initial and final conditions of a capacitor are used to solve switched RC circuits (circuit switches at t=0).
+

✦ Full Answer

  • Key principle β€” Continuity of capacitor voltage: Vc cannot change instantaneously. Vc(0⁺) = Vc(0⁻). The capacitor voltage just after switching equals the voltage just before.
  • Step 1: Find Vc(0⁻) = voltage before switch operates (DC steady state β€” capacitor = open circuit).
  • Step 2: At t=0⁺, replace capacitor with a voltage source equal to Vc(0⁻). Find initial currents.
  • Step 3: Find Vc(∞) = new steady-state voltage after switch (new DC steady state).
  • Step 4: Find R_th seen by C in the new circuit (sources zeroed).
  • Step 5: Write: Vc(t) = Vc(∞) + [Vc(0⁺) βˆ’ Vc(∞)] Β· eβˆ’t/Ο„ for t β‰₯ 0.
The three-step shortcut: “Vc(0⁺), Vc(∞), and Ο„” β€” these three numbers completely define the transient response of any first-order switched RC circuit.
πŸ“

RC Differentiator

Produces output proportional to the rate of change of the input. HPF with Ο„ β‰ͺ T.

Questions answered: 0 / 5
Core
What is an RC differentiator? What conditions must be met, and what is the output equation?
+

✦ Full Answer

πŸ“ Differentiator: Input vs. Output Waveforms
INPUT OUTPUT (Spikes) +slope β†’ +Vout βˆ’slope β†’ βˆ’Vout
An RC differentiator is an RC HPF circuit where the output is taken across the resistor, and the time constant is much smaller than the input signal period (Ο„ β‰ͺ T).
  • Condition: Ο„ = RC β‰ͺ T (or equivalently, fc ≫ f_input)
  • Derivation: Vout = i Γ— R = CΒ·(dVin/dt) Γ— R (since Vc β‰ˆ Vin when RC β‰ͺ T)
  • Output equation: Vout β‰ˆ RC Β· (dVin/dt)
  • Differentiates the input β€” output is proportional to the slope (rate of change) of the input.
Vout β‰ˆ RC Β· dVin/dt (when Ο„ β‰ͺ T)
Mnemonic: An RC HPF IS a differentiator when Ο„ β‰ͺ T. Same circuit, different operating regime.
Core
What is the output of an RC differentiator for: (a) a sine wave, (b) a triangular wave, (c) a square wave?
+

✦ Full Answer

InputMathematical DerivativeOutput Waveform
Sine: A·sin(ωt)d/dt[sin] = cosCosine wave (90° phase lead), amplitude = AωRC
Triangle waved/dt[ramp] = constantSquare wave (alternating +/βˆ’ pulses)
Square waved/dt[step] = impulseNarrow positive & negative spikes at edges
Ramp (linear rise)d/dt[at] = aConstant DC level
Constant (DC)d/dt[const] = 0Zero (nothing passes DC)
Key observation: A differentiator converts a triangular wave to a square wave and a square wave to spikes. This is widely used in edge-detection and trigger circuits.
Application
What are the practical applications of an RC differentiator in electronics?
+

✦ Full Answer

  • Edge detection & pulse sharpening: Converts slow rise/fall transitions into sharp trigger pulses. Used in clock conditioning circuits.
  • Schmitt trigger input: The spike output from a differentiator is fed to a Schmitt trigger to generate clean, well-defined digital pulses from slow analog edges.
  • Rate-of-change measurement: In analog computing and control systems, the derivative of a sensor signal (velocity from position) can be obtained with an RC differentiator.
  • TV sync separation: In older CRT TV circuits, RC differentiators helped separate horizontal sync pulses from vertical sync using different time constants.
  • Sawtooth to square wave conversion: A sawtooth or ramp input produces square wave output, useful in signal generation.
Advanced
Why is an RC differentiator not ideal at very high frequencies? What is its limitation?
+

✦ Full Answer

  • An RC differentiator is an HPF. At high frequencies, the gain does NOT increase infinitely β€” it is bounded at unity (0 dB). A true mathematical differentiator would have gain increasing without bound: |H| = ω·RC β†’ ∞.
  • The RC HPF gain: |H| = (f/fc) / √(1 + (f/fc)Β²) β†’ 1 as f β†’ ∞. The gain saturates at 1.
  • This means at very high frequencies, the circuit acts as a wire (unity gain) and is no longer differentiating.
  • Noise amplification: High-frequency noise is amplified relative to lower-frequency signals (HPF behavior), making RC differentiators noise-sensitive. Active differentiators typically add a series resistor to limit high-frequency gain.
Ideal vs. RC: An ideal differentiator has gain = ω·RC for ALL frequencies. The RC differentiator only approximates this when Ο‰ β‰ͺ 1/RC (i.e., f β‰ͺ fc). Above fc, it plateaus at unity gain instead of continuing to rise.
Advanced
Compare RC differentiator and RC integrator in terms of circuit structure, operating condition, and frequency response.
+

✦ Full Answer

PropertyDifferentiatorIntegrator
Circuit typeHPF (R output)LPF (C output)
C positionSeries (in path)Shunt (to GND)
R positionShunt (to GND)Series (in path)
ConditionΟ„ β‰ͺ T (RC β‰ͺ 1/f)Ο„ ≫ T (RC ≫ 1/f)
Output eqnVout β‰ˆ RCΒ·dVin/dtVout β‰ˆ (1/RC)∫VinΒ·dt
Gain slope+20 dB/dec (low f)βˆ’20 dB/dec (high f)
Square β†’ ?Spikes at edgesTriangular wave
Triangle β†’ ?Square waveRounded/sine-like
∫

RC Integrator

Output is the integral of the input. LPF with Ο„ ≫ T.

Questions answered: 0 / 5
Core
What is an RC integrator? State the condition for integration and derive the output equation.
+

✦ Full Answer

πŸ“ Integrator Waveforms: Square β†’ Triangle
INPUT (Square) OUTPUT (Triangle/ramp) ∫(+V)dt = ramp up ∫(βˆ’V)dt = ramp dn
An RC integrator is an RC LPF where the output is taken across the capacitor, and Ο„ = RC ≫ T (much larger than the input period).
  • Condition: Ο„ = RC ≫ T (or equivalently, fc β‰ͺ f_input)
  • Derivation: Since Ο„ ≫ T, the voltage across C is very small β†’ Vin β‰ˆ V_R = iΒ·R β†’ i β‰ˆ Vin/R
  • But Vc = (1/C)∫iΒ·dt β‰ˆ (1/C)∫(Vin/R)dt = (1/RC)∫VinΒ·dt
Vout β‰ˆ (1/RC) Β· ∫Vin dt (when Ο„ ≫ T)
Note: Same RC LPF circuit β€” the “integrator” and “LPF” are the same hardware, just in different frequency regimes. When fc ≫ f_signal β†’ integrator. When fc is around f_signal β†’ LPF.
Core
What is the output of an RC integrator for: (a) a square wave, (b) a triangular wave, (c) a sine wave?
+

✦ Full Answer

InputMathematical IntegralOutput Waveform
Square wave∫constant = rampTriangular wave (ramps up/down)
Triangle wave∫ramp = parabolaParabolic / sine-like curve
Sine: AΒ·sin(Ο‰t)∫sin = βˆ’cosCosine (90Β° phase lag), amplitude = A/(Ο‰RC)
Ramp (at)∫at dt = at²/2Parabolic rise
Impulse (spike)∫δ(t) dt = stepStep function
Key observation: A square wave in β†’ triangle wave out. This is the most important and commonly tested result. The slope of the output ramp is Vin / RC.
Application
List and explain five practical applications of RC integrators.
+

✦ Full Answer

  • Waveform shaping (square β†’ triangle): Generating triangular waveforms for function generators, sweep circuits, and testing. Much simpler than using dedicated circuits.
  • Analog computing: Solving differential equations in real time. Integrators were the core building block of analog computers (now replaced by op-amp integrators with better accuracy).
  • ADC averaging: Integrating (averaging) the input over a fixed time window reduces noise in dual-slope ADC converters used in digital multimeters.
  • Low-pass filtering / smoothing: Removes high-frequency ripple from rectified power supplies. The capacitor integrates the current pulses, resulting in a smooth DC output.
  • Motor speed control (back-EMF integration): In DC motor drives, the back-EMF is integrated to estimate rotor position or smooth command signals.
Advanced
What is the limitation of an RC integrator compared to an active op-amp integrator?
+

✦ Full Answer

  • Gain loss: RC integrator Vout = Vin/(Ο‰RC) β†’ gain is always less than 1 (attenuates signal). Op-amp integrator can have higher gain.
  • Loading effect: The output impedance of the RC integrator is high (capacitive). Connecting a load changes the time constant. Op-amp integrators have low output impedance.
  • Accuracy: RC integration is only approximate (requires Ο„ ≫ T). Op-amp integrators compute the true integral mathematically.
  • DC drift: Any small DC offset in the input integrates over time and causes the output to drift to the rail (“wind-up”). Op-amp integrators use a reset switch or feedback resistor to control this.
  • Frequency-dependent accuracy: RC integrator only works well at high frequencies relative to fc. Op-amp integrators work at low frequencies too.
Bottom line: RC integrators are passive, simple, and cheap β€” used for smoothing and basic shaping. Op-amp integrators are accurate, buffered, and used for precision analog computation and signal processing.
Advanced
A square wave of amplitude 5V and frequency 1kHz is applied to an RC integrator with R=10kΞ©, C=1Β΅F. Is the condition for integration met? What is the output amplitude?
+

✦ Full Answer

  • Ο„ = RC = 10,000 Γ— 1Γ—10⁻⁢ = 10 ms
  • T = 1/f = 1/1000 = 1 ms
  • Ο„/T = 10 ms / 1 ms = 10. Since Ο„ ≫ T (10Γ—), the integrator condition IS met. βœ“
  • Output is a triangular wave. Ramp slope = Vin/Ο„ = 5V / 10ms = 500 V/s
  • During half-period T/2 = 0.5ms: Ξ”V = slope Γ— T/2 = 500 Γ— 0.5Γ—10⁻³ = 0.25 V peak
  • Peak-to-peak output β‰ˆ 0.5V (triangular wave)
ANSWERIntegration condition met (Ο„/T = 10). Output: triangular wave, ~0.25V peak = 0.5Vpp
πŸ”¬

Mixed RC Topics

Band-pass/stop filters, AC analysis, power factor, and design comparisons.

Questions answered: 0 / 7
Core
How is a band-pass filter formed using RC components? What defines its bandwidth?
+

✦ Full Answer

πŸ“Š BPF = HPF + LPF in cascade (fL < fH)
fL fH BPF (Passband) BW Frequency (log) β†’ LPF HPF
  • A BPF is created by cascading a HPF (with cutoff fL) and an LPF (with cutoff fH), where fL < fH.
  • Passband: fL to fH. Signals within this range pass through.
  • Bandwidth: BW = fH βˆ’ fL
  • Center frequency: fβ‚€ = √(fL Γ— fH) (geometric mean)
  • Q factor: Q = fβ‚€ / BW (selectivity). Higher Q = narrower, more selective filter.
  • With RC alone, the loading between stages shifts the actual response β€” buffers (op-amps) are needed for accurate cascading.
BW = fH βˆ’ fL
fβ‚€ = √(fL Γ— fH)
Q = fβ‚€ / BW
Core
What is the power factor of an RC circuit? How is it calculated, and what does it mean physically?
+

✦ Full Answer

  • In an AC RC circuit, voltage and current are not in phase. The capacitor causes current to lead voltage.
  • Impedance: Z = √(RΒ² + XcΒ²), where Xc = 1/(2Ο€fC)
  • Phase angle: Ο† = βˆ’arctan(Xc/R) (current leads voltage by Ο†)
  • Power factor: PF = cos(Ο†) = R/Z = R / √(RΒ² + XcΒ²)
  • True (active) power: P = Vrms Γ— Irms Γ— cos(Ο†) (Watts)
  • Reactive power: Q = Vrms Γ— Irms Γ— sin(Ο†) (VAR) β€” stored and returned by capacitor
  • Apparent power: S = Vrms Γ— Irms (VA)
PF = cos(Ο†) = R/Z
Z = √(R² + Xc²)
Ο† = βˆ’arctan(Xc/R)
Physical meaning: PF = 1 means all power is consumed (pure resistive). PF = 0 means all power is reactive (pure capacitive β€” no energy consumed). RC circuits have 0 < PF < 1.
Advanced
What is a band-stop (notch) filter and how can it be made with RC components? Give an example application.
+

✦ Full Answer

  • A band-stop (notch) filter blocks a specific range of frequencies while passing all others. It is the complement of a BPF.
  • RC notch filter: Can be built using a “twin-T” RC network β€” two T-networks of RC components connected in parallel. One T passes high frequencies, the other passes low frequencies. At the notch frequency, their outputs cancel (180Β° apart, equal amplitude).
  • Twin-T notch frequency: f_notch = 1/(2Ο€RC) β€” with specific component ratios (R₁=Rβ‚‚=R, C₁=Cβ‚‚=C, R₃=R/2, C₃=2C).
  • Applications: Eliminating 50 Hz/60 Hz power line hum from audio recordings and medical ECG signals; removing a specific interference frequency from measurement instruments.
f_notch = 1/(2Ο€RC) (Twin-T)
Advanced
What is the difference between rise time and time constant in an RC circuit? How are they related?
+

✦ Full Answer

  • Time constant Ο„: The time for the output to reach 63.2% of its final value. Characterizes the speed of the exponential response. Ο„ = RC.
  • Rise time t_r: Conventionally defined as the time for the output to rise from 10% to 90% of its final value (in step response).
  • Derivation of t_r: From Vc(t) = Vβ‚€(1βˆ’eβˆ’t/Ο„):
    At 10%: 0.1 = 1βˆ’eβˆ’t1/Ο„ β†’ t1 = τ·ln(10/9) β‰ˆ 0.1054Ο„
    At 90%: 0.9 = 1βˆ’eβˆ’t2/Ο„ β†’ t2 = τ·ln(10) β‰ˆ 2.303Ο„
    t_r = t2 βˆ’ t1 β‰ˆ 2.197Ο„ β‰ˆ 2.2Ο„
  • In terms of bandwidth: t_r β‰ˆ 0.35 / BW (BW = fc for first-order RC LPF)
t_r β‰ˆ 2.2 Γ— Ο„ = 2.2RC
t_r β‰ˆ 0.35 / fc
Interview tip: Rise time and bandwidth are inversely related β€” a faster circuit (smaller t_r) has a wider bandwidth (larger fc). This is the fundamental time-bandwidth tradeoff.
Advanced
What is the effect of source resistance and load resistance on an RC filter’s cutoff frequency?
+

✦ Full Answer

  • Source resistance R_s: The source is never ideal β€” it has internal resistance R_s. This appears in series with the filter R, increasing the total series resistance. The effective cutoff becomes: fc = 1 / (2Ο€(R + R_s)C). Larger R_s β†’ lower fc β†’ shifts the filter response down.
  • Load resistance R_L: A finite load in parallel with the capacitor (LPF) acts as an additional discharge path. The effective shunt impedance at the capacitor is (Xc β€– R_L). At DC, R_L forms a divider with R, reducing gain. The effective time constant decreases, raising fc.
  • Rule for LPF with load: fc = 1 / (2Ο€ Γ— (R β€– R_L + R_s) Γ— C) β€” approximately, for R_s β‰ͺ R_L.
  • Best practice: Drive the filter from a low-impedance source (R_s β‰ͺ R) and load it into a high-impedance input (R_L ≫ R) to minimize loading effects. Buffer amplifiers (voltage followers) solve both problems.
Design rule: For accurate filter behavior, source impedance should be at least 10Γ— lower than filter R, and load impedance should be at least 10Γ— higher.
Application
Compare RC, RL, and LC filters β€” when would you choose each type?
+

✦ Full Answer

PropertyRC FilterRL FilterLC Filter
ComponentsR + CR + LL + C
LossesR dissipates powerR dissipates powerLossless (ideal)
Size/CostSmall, cheapMediumLarge, expensive
Roll-offβˆ’20 dB/decβˆ’20 dB/decβˆ’40 dB/dec
ResonanceNoNoYes
Best forSignal filtering, coupling, decoupling, audioRF chokes, noise suppression at high freqRF tuning, power filters, sharp filters
Frequency rangeDC to ~MHzDC to GHzkHz to GHz
Choose RC: For low-cost signal filtering, audio, decoupling, and any application below ~10 MHz where some loss is acceptable. Inductors at low frequencies are physically large and lossy β€” RC is preferred.
Advanced
What is a Wien bridge RC oscillator? What determines its oscillation frequency?
+

✦ Full Answer

  • The Wien bridge oscillator uses an RC network in the positive feedback path of an amplifier (typically op-amp) to produce a stable sinusoidal output.
  • The frequency-selective RC network consists of a series RC (C₁, R₁) and parallel RC (Cβ‚‚, Rβ‚‚) β€” forming a bandpass network that has unity gain and zero phase shift at the oscillation frequency.
  • Oscillation frequency: For R₁=Rβ‚‚=R and C₁=Cβ‚‚=C: fβ‚€ = 1/(2Ο€RC)
  • Barkhausen criterion: The loop gain must equal 1 and the total phase shift must be 0Β° (or 360Β°). At fβ‚€, the RC network provides 0Β° phase shift with 1/3 attenuation, so the amplifier must have gain = 3.
  • Gain condition: Rf/R1 = 2 (so total gain = 1 + 2 = 3) in the inverting amplifier configuration.
  • Applications: Audio signal generators, function generators, test equipment. The HP 200A, one of HP’s first products (built by Bill Hewlett), was a Wien bridge oscillator.
fβ‚€ = 1/(2Ο€RC)
Amplifier gain = 3
RC Circuits Interview Prep  Β·  LPF Β· HPF Β· Transient Β· Differentiator Β· Integrator Β· Mixed  Β·  40 Questions

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top