B312 of 15
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

B3 · Lesson 12 · Capacitive sensors

Measuring motion, touch and level as a change in capacitance

The accelerometer in a phone is a speck of silicon on springs between fixed plates. When the phone tilts, the speck shifts by nanometers, one capacitor grows and the other shrinks, and a circuit measures the difference, a few femtofarads. The touchscreen above it detects your finger the same way, as a few picofarads added to an electrode. Fuel gauges, humidity sensors and liquid-level probes all work on one principle: anything that changes a gap, an overlap or a dielectric changes a capacitance, and capacitance is easy to measure precisely.

  • A movable plate sits between two fixed plates, each gap d = 2 µm at rest, with 1 mm² of area. Moving it by x shrinks one gap and widens the other.
  • The curves are the two capacitances. Each one alone is nonlinear in x, but the readout's ratio, C1−C2C1+C2, is exactly x/d.
  • How large is the difference for a 10 nm shift?

Predict

A parallel-plate sensor has a 2 µm gap and 4.4 pF. Its gap shrinks by 10 nm. About how much does its capacitance change?

Name it

Three ways to change a capacitance

C=εAd can change through any of its three factors:

ChangeSensors
gap daccelerometers, pressure sensors, microphones
overlap area Arotary and linear position sensors, MEMS comb drives
permittivity εhumidity sensors, liquid-level and fuel gauges, proximity and touch

Gap sensors

For small changes, ΔCC≈−Δdd: sensitivity grows as the gap shrinks, which is why MEMS gaps are micrometers.

A differential sensor puts a moving plate between two fixed ones: C1=εAd−x and C2=εAd+x. Then

C1−C2C1+C2=xd

exactly linear, and immune to anything that scales both capacitors alike (temperature, the exact area, ε). For small x, C1−C2≈2C0xd.

Dielectric sensors

Two plates partly dipped in a liquid of permittivity εr, to height h out of H, form two capacitors side by side:

C=ε0wd(εrh+(H−h))

linear in the level h.

Touch

A touch electrode has some capacitance to ground; a finger, coupled through the cover glass, adds a few picofarads. The circuit measures it by timing a charge through a known resistor (τ=RC) or from an oscillator's frequency (f∝1/C), and reports a touch when it rises past a threshold.

Worked example

A MEMS accelerometer has 1 mm² plates and 2 µm gaps. Find the rest capacitance and the differential change for a 10 nm shift.

Show the solution
  1. Rest capacitance. C0=8.85×10−12×10−62×10−6=4.43pF
  2. Relative shift. A 10 nm shift is xd=0.005
  3. Differential change. Each side changes by about 22 fF, and the difference is 2C0xd=44fF
  4. Ratio. The ratio C1−C2C1+C2=0.0050 is the shift over the gap.

Answer the rest capacitance is 4.43 pF, and a 10 nm shift makes a differential change of 44 fF.

Worked example

A touch electrode has 10 pF to ground and is timed through 1 MΩ. A finger adds 5 pF. How does the time constant change?

Show the solution
  1. Without the finger. τ=RC=106×10−11=10μs
  2. With the finger. The 5 pF it adds makes τ = 15 µs.
  3. What the microcontroller sees. Counting charge time with a fast clock, it sees a 50% jump, easy to tell from noise.

Answer the time constant rises from 10 µs to 15 µs.

Check

A 2 pF gap sensor has a 1 µm gap, which shrinks by 20 nm. About how much does its capacitance grow?

Write units the way you normally would: 1.5 fF and 0.0015 pF are the same answer.

Check

A differential capacitive sensor has 1 µm gaps, and its middle plate shifts by 10 nm. What is C1−C2C1+C2?

Check

A differential sensor has 0.5 mm² plates with 1.5 µm gaps. Its middle plate moves 300 nm toward one side. What is the capacitance on that side?

Write units the way you normally would: 1.5 pF and 0.0015 nF are the same answer.

Check

A touch electrode of 8 pF is timed through 2 MΩ. A finger adds 2 pF. What is the new time constant?

Write units the way you normally would: 1.5 µs, 1500 ns and 0.0015 ms are the same answer.

Check

A level gauge has plates 2 cm wide and 30 cm tall, 3 mm apart, dipped to 15 cm in a fuel with εr = 2. What is its capacitance?

Write units the way you normally would: 1.5 pF and 0.0015 nF are the same answer.

Check

A sensing oscillator runs at 100 kHz with 10 pF, with frequency proportional to 1/C. A touch adds 3 pF. What frequency results?

Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.

Explain why

Why does a differential capacitive sensor measure displacement more reliably than a single capacitor?

Practice

Keep practicing

9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.