Electricity7 hours total3 h on the project

Capacitors and RC Behaviour

Predict how voltages change over time in RC circuits, and choose a real capacitor by dielectric, voltage rating and derating rather than by capacitance alone.

Learning material0/18
Project0/10
Competence checklist0/6

Two ways in. Work the material, or if you already know this, go straight to the project and prove it.

How this skill is structured

  1. 1. Concepts — the ideas stated plainly, with the equations worth memorising.
  2. 2. Worked example — one real problem solved end to end, numbers included.
  3. 3. Tool demonstration — do the thing in a real open-source tool.
  4. 4. Resources — the specific free readings and videos, and what part of each to use.
  5. 5. Project — built alone, producing something a reviewer can check.
  6. 6. Competence checklist — what you must be able to do. This is also the audit rubric.

1. Concepts

Read these first. Tick each one when you could explain it to someone else without notes.

0/6

2. Worked example

Debouncing a push button with an RC and a Schmitt input

ProblemA mechanical button bounces for up to 5 ms. It pulls a node to ground; a 10 k resistor pulls it to 3.3 V. Choose C so the node is filtered enough that a Schmitt-trigger input sees one clean edge, and check the release time is acceptable for a 20 ms keyscan.

  1. 1
    The filter must be slow relative to the bounce: aim for tau of roughly the same order as the bounce duration, say tau ~ 5 ms.
  2. 2
    tau = RC, so C = tau / R = 5e-3 / 10e3 = 500 nF. Round to the E12 value 470 nF.
  3. 3
    Actual tau = 10k x 470n = 4.7 ms.
  4. 4
    Release (charging through 10 k toward 3.3 V): the Schmitt positive threshold on a 3.3 V CMOS part is roughly 0.7 x Vcc = 2.3 V. Time to reach it = -tau x ln(1 - 2.3/3.3) = -4.7 ms x ln(0.303) = 5.6 ms.
  5. 5
    5.6 ms is comfortably under a 20 ms scan interval. Acceptable.
  6. 6
    Now check the press: the button shorts C to ground directly, so discharge current is limited only by contact resistance. Peak current could be amps, welding the contacts over time.
  7. 7
    Add a 220 ohm series resistor between the button and the capacitor. Discharge tau becomes 220 x 470n = 103 us — still far faster than the 5 ms bounce, so filtering is unaffected, but peak current is now 3.3/220 = 15 mA.

Answer10 k pull-up, 470 nF to ground, 220 ohm in series with the button. Bounce filtered with tau = 4.7 ms, release edge at 5.6 ms, contact current limited to 15 mA.

3. Tool demonstration

Watch an RC charge curve, measure the time constant off the plot, and confirm the 63% rule.

0/8

Tool: ngspice transient analysis

4. Resources

Free and, wherever possible, openly licensed. The note tells you which part to actually use — do not read them cover to cover.

0/4

5. Project — build this on your own

About 3 hours. This is the artifact that proves the skill. Work it without a walkthrough.

0/10

Design and characterise a two-stage supply filter and a button debounce for a small 3.3 V digital board. You must justify every capacitor by dielectric, package and voltage rating, not just by value.

Deliverables

Acceptance criteria — how you know it is good enough

If you want to push further

  • Replace the RC supply filter with an LC and compare the attenuation at 100 kHz. Identify the new risk you have introduced (hint: resonance).
  • Simulate the effect of the X5R losing 60% of its capacitance at bias, and state whether your filter still meets spec.

6. Competence checklist

Tick these honestly. If you are auditing this skill, this is your rubric — you should be able to demonstrate every line from the project you just built.

0/6
Tick every line above first — 6 remaining.