Engineering Guide
RC Timing and First-Order Filter Design
RC equations are compact, but useful designs must identify the resistance seen by the capacitor, the required threshold or attenuation, and the real source, load, tolerance, and capacitor behavior.
RC Design Workflow
| Step | Decision | Engineering Check |
|---|---|---|
| Define the function | Timing delay, pulse shaping, DC blocking, noise reduction, PWM averaging, or ADC anti-aliasing | |
| Find the effective resistance | Include source resistance, selected R, load resistance, bias paths, and the active input | |
| Choose R and C | Set tau or cutoff while respecting drive current, leakage, bias current, noise, and available values | |
| Check the waveform | Use exponential timing for steps and transfer functions for sinusoidal steady state | |
| Calculate corners | Recalculate actual minimum and maximum RC products from component limits | |
| Validate in circuit | Check threshold, settling, loading, ripple, layout, and the capacitor at operating bias and temperature |
Time Constant, Charge, and Discharge
Formula reference
First-order step response
tau = Rth Cv(t) = Vfinal + (Vinitial - Vfinal)e^(-t/tau)t = -tau ln((Vthreshold - Vfinal)/(Vinitial - Vfinal))Variable definitions
- Rth is the Thevenin resistance seen by the capacitor
- Initial capacitor voltage is continuous
- A delay requires a defined threshold
Use the RC Time Constant Calculator for exponential charge and discharge. Logic timing also needs threshold limits, hysteresis, leakage, and startup state checked.
First-Order Low-Pass Response
Formula reference
Ideal unloaded low-pass
H(jw) = 1/(1 + jwRC)fc = 1/(2 pi RC)|H| = 1/sqrt(1 + (f/fc)^2)phase = -atan(f/fc)Variable definitions
- At fc, magnitude is 0.707 and phase is -45 degrees
- Above cutoff the asymptotic slope is -20 dB/decade
- Use effective network resistance when loaded
The RC Low-Pass Filter Calculator evaluates the ideal pole. PWM and ADC applications additionally require ripple, settling, harmonic, acquisition, and alias-rejection checks.
First-Order High-Pass Response
Formula reference
Ideal unloaded high-pass
H(jw) = jwRC/(1 + jwRC)fc = 1/(2 pi RC)|H| = (f/fc)/sqrt(1 + (f/fc)^2)phase = atan(fc/f)Variable definitions
- At fc, magnitude is 0.707 and phase is +45 degrees
- Below cutoff the slope is +20 dB/decade
- The capacitor needs a DC return path
Use the RC High-Pass Filter Calculator for coupling estimates. Source and receiver bias resistance usually contribute to effective R.
One Pole, Two Views
For the same ideal pole, fc = 1/(2 pi tau). Step response describes movement toward a new value; frequency response describes sinusoidal magnitude and phase. Translate the actual requirement before selecting components.
| Application | Starting Relation | Boundary |
|---|---|---|
| RC step response | tau = Rth C | A delay requires a defined threshold or settling error |
| Passive low-pass | fc = 1/(2 pi Rth C) | Source and load resistance can shift gain and cutoff |
| Passive high-pass | fc = 1/(2 pi Rseen C) | The receiving node needs a defined DC return path |
| PWM averaging | fc below the PWM fundamental | Ripple, harmonics, duty cycle, and settling time remain important |
| ADC input filter | RC pole plus ADC input network | Acquisition kickback and settling limit source impedance |
Loading, Tolerance, and Non-Idealities
Find the resistance seen from the capacitor terminals, then include finite source and load impedances. Calculate each worst-case RC product rather than averaging tolerances. Leakage, ESR, ESL, dielectric absorption, DC bias, temperature, aging, and polarity can move a physical circuit away from its nominal model. The Capacitor Dielectrics Guide covers selection details.
Worked Examples
Time constant
R = 10 kohm and C = 100 nF give tau = 1 ms. A charging node reaches about 63.2% of its final step after one tau.
Threshold delay
For a 70% rising threshold, t = -tau ln(0.30) = 1.204 tau. With tau = 1 ms, crossing occurs near 1.204 ms.
Settling
A first-order response is within 1% after 4.605 tau and 0.1% after 6.908 tau. Five tau is only a useful convention.
Low-pass cutoff
R = 3.3 kohm and C = 47 nF give fc about 1.026 kHz. At fc, ideal magnitude is 0.707 and phase is -45 degrees.
High-pass coupling
C = 1 uF and a 10 kohm effective load give fc about 15.9 Hz. Include source and bias-path resistance seen by C.
Tolerance corner
R at +1% and C at +10% make tau 1.111 times nominal and fc about 0.900 times nominal.
PWM filter
A 20 kHz PWM signal filtered at 200 Hz has a 100:1 ratio, but output ripple and response time still need waveform analysis.
ADC settling
A large series resistor may reduce kickback yet prevent the sample capacitor from settling during acquisition. Check the ADC datasheet.
Common Mistakes
Related Calculators
Related Resources
Support reference
FAQ
What is an RC time constant?
For a first-order RC network, tau = Rth C, where Rth is the resistance seen by the capacitor with independent sources set to their internal impedances.
How long does a capacitor take to charge?
It approaches its final value exponentially and never reaches it exactly in the ideal model. Specify a threshold or error; about 5 tau gives 99.3%.
How do I calculate RC cutoff frequency?
For an ideal first-order pole, fc = 1/(2 pi RC). Use the effective resistance seen by the capacitor, including source and load interaction.
What happens at cutoff?
An ideal first-order low-pass or high-pass has magnitude 1/sqrt(2), or -3.01 dB relative to passband. Phase magnitude is 45 degrees.
Are time constant and cutoff related?
Yes. For the same ideal pole, fc = 1/(2 pi tau). They are time-domain and frequency-domain views of the same network.
How does loading change an RC filter?
A finite load changes passband gain and the resistance seen by the capacitor, shifting cutoff. Analyze the complete source-filter-load circuit.
How do tolerances affect RC timing?
Calculate minimum and maximum RC products. Timing follows RC while cutoff is inversely proportional to RC; include bias and temperature effects when material.
Which capacitor is suitable for precision timing?
Choose from stability, bias coefficient, leakage, tolerance, temperature coefficient, size, and value. No dielectric is universally best.
Can an RC filter remove PWM ripple completely?
No finite passive RC removes all ripple. Lower cutoff improves attenuation but slows response; additional poles may be required.
Is one RC pole enough for ADC anti-aliasing?
Not automatically. Required attenuation, sample rate, spectrum, acquisition settling, and the ADC input network determine the needed order.
Why does measured cutoff differ?
Common causes are tolerance, source/load impedance, probe loading, capacitor bias dependence, parasitics, and using the wrong passband reference.
Does ESR change RC behavior?
ESR can affect fast edges, loss, and zeros. At low frequency, effective capacitance and leakage may dominate instead.
Summary
Use tau = Rth C for timing and fc = 1/(2 pi Rth C) for the corresponding pole, then verify threshold, source, load, initial condition, tolerance, ripple, settling, and capacitor behavior in the complete circuit.
