---
title: Working safely at the bench
heading: Mains, stored energy, batteries and instruments
eyebrow: C11 · Lesson 25 · Working safely at the bench
xp: 40
---

::: hook
The physics of shocks was in B4. This lesson is about the bench: the habits and the few calculations that keep an engineer and their instruments intact. The dangers are specific. A capacitor in a power supply can hold a lethal charge minutes after it's unplugged. A scope's ground clip touched to a live mains point is a dead short through the scope. A lithium cell shorted by a stray wire can deliver tens of amperes and catch fire. Each has a simple rule, and each rule has a number behind it.
:::

::: play
- A charged capacitor C discharges through a bleeder resistor R. The curve is its voltage over time; the dashed line marks 50 V, roughly where it stops being dangerous.
- Start at 400 V and 470 µF with 100 kΩ: it takes about a minute and a half to fall below 50 V. Without a bleeder it could hold its charge for hours.
- A smaller R discharges faster but dissipates more power continuously while the circuit runs. The readouts give both.
:::
:::

```sim plot
view: graph
x: t = 0..300 s
y: v = 0..500 V
slider: V0 = 50..450 = 400 step 10 V
slider: C = 10..2200 = 470 µF log
slider: R = 10..1000 = 100 kΩ log
plot: V0*exp(-t/(R*1e3*C*1e-6)) | label: capacitor voltage
plot: 50 | dashed
readout: time to reach 50 V = R*1e3*C*1e-6*ln(V0/50) s
readout: energy stored at the start = 0.5*C*1e-6*V0^2 J
readout: bleeder power while running = V0^2/(R*1e3) W
```

::: predict
## A 470 µF capacitor is charged to 400 V. How much energy does it hold?

- [ ] 0.19 J
- [ ] 3.8 J
- [x] 38 J
- [ ] 380 J

::: reveal
38 J: $\tfrac12CV^2 = \tfrac12 \times 470 \times 10^{-6} \times 400^2$. Discharged through a hand, that's well beyond a dangerous shock, and shorted with a screwdriver it can weld the tip.
:::
:::

::: nameit
## Mains

- Work on mains-powered circuits unpowered when possible, and through an **isolation transformer** when not. A residual-current device (RCD, GFCI) trips at 5 to 30 mA of leakage, protecting against shocks to ground but not across the hands.
- An ordinary scope's ground clip is connected to mains earth. Clipping it to a point that isn't at earth potential shorts that point through the scope. Measure such points with a **differential probe** (lesson 17).
- Probes and meters carry **CAT** ratings (CAT II for outlets, CAT III for distribution panels) that say what transients they withstand.

## Stored energy

A capacitor holds $\tfrac12CV^2$. Through a bleeder R, its voltage falls as $V_0e^{-t/RC}$, so reaching a safe $V_s$ takes

$$t = RC\ln\frac{V_0}{V_s}$$

while the bleeder dissipates $V_0^2/R$ the whole time the circuit runs. Always measure before touching, and discharge through a resistor, never a screwdriver.

## Batteries

A cell's short-circuit current is its voltage over its internal resistance: a 3.7 V lithium cell with 50 mΩ can deliver 74 A. Fuse battery packs close to the cell, insulate tools, and never leave a cell where a loose wire can short it.

## Habits

Keep one hand away from a live circuit (so current can't cross the chest), remove rings and watches, set supply current limits (lesson 10), and treat every capacitor as charged until measured.
:::

::: example
## How long does a 400 V, 470 µF capacitor take to fall to 50 V through a 100 kΩ bleeder, and what does the bleeder dissipate?

::: solution
1. **Time constant.**
   $$\begin{aligned} RC &= 10^5\ \Omega \times 470\ \mu\text{F} \\ &= 47\ \text{s} \end{aligned}$$
2. **Time to 50 V.** The voltage must fall by a factor of 400/50 = 8:
   $$\begin{aligned} t &= 47\ln 8\ \text{s} \\ &= 98\ \text{s} \end{aligned}$$
3. **Bleeder power.** While the supply runs:
   $$\frac{400^2}{10^5}\ \text{W} = 1.6\ \text{W}$$
   so it needs a resistor rated for at least 2 W, and preferably for the voltage too.

**Answer:** 98 s to fall to 50 V, and the bleeder dissipates 1.6 W.
:::
:::

::: example
## A 3.7 V lithium cell has 50 mΩ of internal resistance. What current flows if it's shorted?

::: solution
1. **Short-circuit current.**
   $$\frac{3.7\ \text{V}}{0.05\ \Omega} = 74\ \text{A}$$
2. **Power inside the cell.**
   $$3.7\ \text{V} \times 74\ \text{A} = 274\ \text{W}$$
3. **Why it matters.** That's how a cell in a pocket with loose coins catches fire.

**Answer:** 74 A, dissipating 274 W inside the cell.
:::
:::

::: example
## A 120 V fault reaches a person whose body and contacts total 1 kΩ (wet hands) or 100 kΩ (dry). What current flows?

::: solution
1. **Wet hands.**
   $$\frac{120\ \text{V}}{1\ \text{k}\Omega} = 120\ \text{mA}$$
   That's far above the 5 mA or so at which a GFCI must trip (Europe's RCDs trip at 30 mA), and in the range that can cause fibrillation.
2. **Dry hands.**
   $$\frac{120\ \text{V}}{100\ \text{k}\Omega} = 1.2\ \text{mA}$$
   perceptible but harmless.
3. **The difference.** Moisture changes the danger a hundredfold, which is why wet locations need GFCI protection.

**Answer:** 120 mA with wet hands, and 1.2 mA with dry ones.
:::
:::

::: check
given: C = 100 | 470 | 2200; V = 50 | 170 | 400
answer: 0.5*C*1e-6*V^2
unit: J
tolerance: 0.5%

## How much energy does a {C} µF capacitor at {V} V hold?

::: right
Right. $\tfrac12CV^2$ = {answer} J.
:::

::: misses
- [C*1e-6*V^2] Include the factor of one half.
- [0.5*C*1e-6*V] Energy goes as the square of the voltage.
- [any] Not yet. $\tfrac12CV^2$.
:::
:::

::: check
given: R = 10 | 47 | 220; C = 100 | 1000; V0 = 200 | 400; Vs = 30 | 50
answer: R*1e3*C*1e-6*ln(V0/Vs)
unit: s
tolerance: 0.5%

## A {C} µF capacitor at {V0} V discharges through {R} kΩ. How long until it falls to {Vs} V?

::: right
Right. $RC\ln(V_0/V_s)$ = {answer} s.
:::

::: misses
- [R*1e3*C*1e-6*log(V0/Vs)] Use the natural logarithm.
- [R*1e3*C*1e-6] One time constant only takes it to 37% of its start.
- [any] Not yet. $RC\ln(V_0/V_s)$.
:::
:::

::: check
given: V0 = 170 | 340 | 400; R = 47 | 100 | 220
answer: V0^2/(R*1e3)
unit: W
tolerance: 0.5%

## A {R} kΩ bleeder sits across a {V0} V capacitor. How much power does it dissipate?

::: right
Right. $V^2/R$ = {answer} W.
:::

::: misses
- [any] Not yet. $V^2/R$.
:::
:::

::: check
given: V = 50 | 120 | 230; R = 1 | 2 | 5
answer: V/R
unit: mA
tolerance: 0.5%

## With a hand-to-hand body resistance of {R} kΩ, what current flows from {V} V?

::: right
Right. {answer} mA. Above about 10 mA muscles can't let go; above about 50 mA the heart is at risk.
:::

::: misses
- [any] Not yet. Ohm's law.
:::
:::

::: check
given: V = 1.2 | 3.7 | 12; r = 0.005 | 0.05 | 0.2
answer: V/r
unit: A
tolerance: 0.5%

## A {V} V battery with {r} Ω of internal resistance is shorted. What current flows?

::: right
Right. {answer} A.
:::

::: misses
- [any] Not yet. Voltage over internal resistance.
:::
:::

::: check
kind: choice

## You need to view the voltage across a resistor in a mains-powered circuit, neither end of which is at earth. What do you use?

- [ ] A normal 10× probe with its ground clip on one end
- [x] A differential probe rated for the voltage
- [ ] Two probes with both ground clips on the resistor's ends
- [ ] A normal probe with the scope's mains ground removed

::: misses
- [1] The ground clip is at earth: clipping it to a live point shorts it through the scope.
- [3] Both ground clips are earthed: that shorts the resistor's two ends to earth.
- [4] Lifting the scope's ground makes its chassis live: never do it.
:::
:::

::: check
kind: parts
given: V0 = 170 | 400 | 800; C = 100 | 470 | 2200; R = 10 | 100; Vs = 30 | 50

## A {C} µF capacitor at {V0} V discharges through a {R} kΩ bleeder.

::: part
answer: R*1000*C*1e-6*ln(V0/Vs)
unit: s
tolerance: 0.5%

### How long until it's below {Vs} V?

::: misses
- [any] $RC\ln(V_0/V_s)$.
:::
:::

::: part
answer: C*1e-6*V0^2/2
unit: J
tolerance: 0.5%

### How much energy did it hold?

::: misses
- [any] $\tfrac12CV^2$.
:::
:::
:::

::: check
kind: parts
given: V = 50 | 120 | 240; R = 1 | 20 | 100

## A fault puts {V} V across a body path of {R} kΩ.

::: part
answer: V/R
unit: mA
tolerance: 0.5%

### What current flows?

::: misses
- [any] V/R.
:::
:::

::: part
answer: step(V/R - 5)
tolerance: 0

### Is that above a GFCI's 5 mA trip level (1 for yes)?

::: misses
- [any] Compare with 5 mA. A GFCI in a North American outlet trips at about 5 mA.
:::
:::
:::

::: explain
## Why is a bleeder resistor a trade-off, and how is its value chosen?

::: model
The bleeder discharges the capacitor after power is removed, faster for a smaller resistance, since the time to reach a safe voltage is RC ln(V₀/V_s). But it's connected all the time, so while the circuit runs it wastes $V^2/R$ continuously, more for a smaller resistance, and that heat must be handled and paid for. The value is chosen as the largest resistance that still discharges to a safe level within an acceptable time (a minute or so for service access), and the resistor is rated for both the power and the full voltage across it.
:::
:::

::: practice

::: check
given: C = 220 | 1000; V = 100 | 300
answer: 0.5*C*1e-6*V^2
unit: J
tolerance: 0.5%

## Energy in {C} µF at {V} V?

::: misses
- [any] $\tfrac12CV^2$.
:::
:::

::: check
given: R = 10 | 22 | 33 | 47 | 100 | 150; C = 220 | 470 | 1000; V0 = 350; Vs = 50
answer: R*1e3*C*1e-6*ln(V0/Vs)
unit: s
tolerance: 0.5%

## Time from {V0} V to {Vs} V through {R} kΩ, {C} µF?

::: misses
- [any] $RC\ln(V_0/V_s)$.
:::
:::

::: check
given: V = 3.7 | 7.4; r = 0.02 | 0.1
answer: V/r
unit: A
tolerance: 0.5%

## Short-circuit current of {V} V with {r} Ω internal resistance?

::: misses
- [any] V/r.
:::
:::
:::
