---
title: Respiratory mechanics and gas analysis
heading: The lungs and chest wall as resistance and compliances, transpulmonary pressure, laminar pneumotachometers, the respiratory system's impedance by forced oscillation, infrared, paramagnetic and electrochemical gas analyzers, nitrogen washout and the diffusing capacity for carbon monoxide
eyebrow: S15 · Lesson 32 · Respiratory mechanics and gas analysis
xp: 50
---

::: hook
Lesson 31 measured how much air the lungs hold and move. A patient with emphysema and one with lung fibrosis can have similar volumes, yet one has floppy lungs and narrowed airways while the other has stiff lungs and normal airways, and they need different treatment. Telling them apart takes the lungs' mechanical properties, resistance and compliance, measured the way an electrical engineer would measure a circuit: apply a pressure, measure a flow, and fit a model. And getting oxygen into the blood depends on gas transfer, which needs fast, accurate gas analyzers.
:::

::: play
- The respiratory system modeled as a series circuit: airway resistance R, the inertance I of the moving gas and tissue, and the total compliance C of lungs and chest wall. A loudspeaker superimposes small pressure oscillations on breathing (the forced oscillation technique), and the device measures the impedance $Z = R + j(2\pi f I - 1/(2\pi f C))$.
- The curves are the magnitude of Z and its reactance against frequency. Below resonance the compliance dominates and the reactance is negative; above it the inertance takes over.
- Narrowed airways raise R across all frequencies. Stiffer lungs (smaller C) push the resonance up. Clinicians read both from one short measurement during quiet breathing, with no forced effort.
:::

```sim plot
view: graph
x: f = 1..40 Hz log
y: Z = -6..8
slider: R = 1..6 = 2
slider: C = 0.03..0.3 = 0.1
slider: I = 0.005..0.03 = 0.01
plot: sqrt(R^2 + (2*pi*f*I - 1/(2*pi*f*C))^2) | samples: 400 | label: |Z|, cmH₂O·s/L
plot: 2*pi*f*I - 1/(2*pi*f*C) | samples: 400 | color: ch3 | label: reactance
plot: 0*f | dashed | color: ch4 | label: zero
readout: resonant frequency, Hz = 1/(2*pi*sqrt(I*C)) | digits: 3
readout: time constant RC, s = R*C | digits: 3
```

::: predict
## The lungs alone have a compliance of 0.2 L/cmH₂O and the chest wall also 0.2 L/cmH₂O. What's the compliance of the whole respiratory system?

- [ ] 0.4 L/cmH₂O
- [x] 0.1 L/cmH₂O
- [ ] 0.2 L/cmH₂O
- [ ] 0.04 L/cmH₂O

::: reveal
The lungs and chest wall are in series: the same volume change stretches both, and the pressures across them add. Compliances in series combine like capacitors in series, $C_L C_W/(C_L + C_W)$ = 0.1 L/cmH₂O.
:::
:::

::: nameit
## The mechanical model

Webster models breathing with three pressures: at the airway opening, in the alveoli, and in the pleural space between lungs and chest wall. Between them sit:

- **airway resistance**, $R_{aw} = (P_{awo} - P_A)/Q$, typically 1 to 2 cmH₂O·s/L in healthy adults;
- **lung compliance**, $C_L = \Delta V/\Delta(P_{awo} - P_{PL})$ measured when nothing is flowing, about 0.2 L/cmH₂O;
- **chest-wall compliance**, $C_W = \Delta V/\Delta(P_{PL} - P_{BS})$ measured with the muscles relaxed, also about 0.2 L/cmH₂O.

The pleural pressure is estimated with a balloon in the esophagus. Lung and chest-wall compliances are in series, so the total is $C_L C_W/(C_L + C_W)$. The product of resistance and compliance is the time constant of passive emptying. Fibrosis lowers compliance; emphysema raises compliance and resistance; asthma raises resistance.

## Measuring flow

A **pneumotachometer** passes the flow through a small resistance and measures the pressure drop. A Fleisch type uses a bundle of fine parallel tubes so the flow stays laminar and, by Poiseuille's law, each tube drops

$$\Delta P = \frac{8\eta L}{\pi r^4}\,F$$

for a flow F through it (η the gas viscosity, about 1.8 × 10⁻⁵ Pa·s for air). The element is heated so exhaled water vapor doesn't condense, and its calibration changes with the gas's viscosity.

## Impedance by forced oscillation

Superimposing small pressure oscillations at 5 to 35 Hz on quiet breathing and measuring the resulting flow gives the respiratory impedance. Its real part is resistance; its reactance is negative at low frequencies (compliance) and crosses zero at a resonant frequency of about 5 to 10 Hz in adults, $f_0 = 1/(2\pi\sqrt{IC})$, above which inertance dominates.

## Gas analyzers

- **Infrared absorption** measures CO₂ (strongly absorbed near 4.3 µm), N₂O and anesthetic agents by Beer's law, fast enough for breath-by-breath **capnography**.
- **Paramagnetic** analyzers measure O₂, the only common respiratory gas strongly attracted by a magnetic field. **Electrochemical (fuel cell)** O₂ sensors are cheaper and slower.
- **Mass spectrometers** separate every gas by mass at once; **emission spectroscopy** (an electric discharge that makes N₂ glow) measures nitrogen.

## Gas transport

**Nitrogen washout** measures functional residual capacity like helium dilution does. The subject breathes pure oxygen from FRC, and all exhaled gas is collected. The nitrogen in it came from the lungs, so

$$\text{FRC} = \frac{V_E\,F_{E,N_2}}{F_{A,N_2,\text{start}} - F_{A,N_2,\text{end}}}$$

The **diffusing capacity** for carbon monoxide measures how readily gas crosses from alveoli into blood. In the single-breath method the subject inhales a mixture with a little CO, holds for about 10 s, and exhales; the CO's fall in the alveolar volume $V_A$ gives

$$D_{L,CO} = \frac{V_A}{t\,(P_B - 47)}\ln\frac{F_{A,CO,0}}{F_{A,CO,t}}$$

in mL/(min·mmHg), with 47 mmHg the water vapor pressure at body temperature. Normal adult values are about 25 to 30.
:::

::: example
## A Fleisch pneumotachometer has 400 tubes, each 1 mm in diameter and 3 cm long. What pressure drop does 1 L/s of air produce, and what does that mean for the patient?

::: solution
1. **Flow per tube.**
   $$\begin{aligned} q &= \frac{1}{400}\ \text{L/s} \\ &= 2.5 \times 10^{-6}\ \text{m}^3/\text{s} \end{aligned}$$
2. **Poiseuille's law.** The drop is $8\mu Lq/\pi r^4$, with
   $$\begin{aligned} 8\mu Lq &= 8 \times 1.8 \times 10^{-5} \\ &\quad \times 0.03 \times 2.5 \times 10^{-6} \\ \pi r^4 &= \pi \times (0.5 \times 10^{-3})^4 \end{aligned}$$
3. **Pressure drop.**
   $$\begin{aligned} \Delta P &= 55\ \text{Pa} \\ &= 0.56\ \text{cmH}_2\text{O} \end{aligned}$$
4. **Effect on the patient.** The device's resistance is 0.56 cmH₂O·s/L, a third or less of a healthy person's airway resistance, so breathing through it barely changes the breathing being measured.
5. **Range.** Doubling the flow doubles the drop as long as the flow stays laminar; at high flows turbulence makes the drop grow faster, which limits the useful range.

**Answer:** 1 L/s produces a drop of 55 Pa (0.56 cmH₂O), a resistance small enough that it barely changes the patient's breathing.
:::
:::

::: example
## A patient breathes pure oxygen from FRC for 7 minutes; the 40 L of collected exhaled gas contains 4.8% nitrogen. Alveolar nitrogen started at 80% and ended near zero. What's the FRC? And what diffusing capacity does a 10 s breath-hold give with $V_A$ = 5500 mL and alveolar CO falling from 0.25% to 0.146%, at sea level?

::: solution
1. **Nitrogen washed out.**
   $$\begin{aligned} V_{N_2} &= 40 \times 0.048 \\ &= 1.92\ \text{L} \end{aligned}$$
   all of it from the lungs.
2. **FRC.** The lungs started at 80% nitrogen:
   $$\begin{aligned} \text{FRC} &= \frac{1.92}{0.80} \\ &= 2.4\ \text{L} \end{aligned}$$
3. **Diffusing capacity.** With t = 10 s = 1/6 min and $P_B - 47$ = 713 mmHg:
   $$\begin{aligned} D_{L,CO} &= \frac{5500}{(1/6) \times 713}\ln\frac{0.25}{0.146} \\ &= 46.3 \times 0.538 \\ &= 24.9\ \text{mL/(min·mmHg)} \end{aligned}$$
   a normal value.
4. **What lowers it.** Thickened alveolar walls in fibrosis or lost capillary bed in emphysema lower it.

**Answer:** the FRC is 2.4 L, and the diffusing capacity is 24.9 mL/(min·mmHg), a normal value.
:::
:::

::: example
## A patient breathes 0.5 L at 15 breaths per minute, with a total compliance of 0.1 L/cmH₂O and an airway resistance of 2 cmH₂O·s/L; inspiration lasts 2 s at constant flow. How much work does each breath take, and what power?

::: solution
1. **Elastic work.** Stretching the elastic lung and chest stores
   $$\begin{aligned} W_e &= \tfrac12 V^2/C \\ &= \tfrac12 \times 0.25/0.1 \\ &= 1.25\ \text{cmH}_2\text{O·L} \end{aligned}$$
2. **Resistive work.** Pushing 0.25 L/s through the airways for 2 s costs
   $$\begin{aligned} W_r &= R\dot VV \\ &= 2 \times 0.25 \times 0.5 \\ &= 0.25\ \text{cmH}_2\text{O·L} \end{aligned}$$
3. **Total per breath.** With 1 cmH₂O·L = 0.0981 J:
   $$\begin{aligned} W &= 1.5\ \text{cmH}_2\text{O·L} \\ &= 0.147\ \text{J} \end{aligned}$$
4. **Power.** At 15 breaths a minute the muscles deliver 0.037 W.
5. **Which part dominates.** The elastic part dominates at rest; with narrowed airways or fast breathing the resistive part takes over.

**Answer:** each breath takes 1.5 cmH₂O·L, 0.147 J, and the muscles deliver 0.037 W.
:::
:::

::: check
given: a = 0.1 | 0.15 | 0.2 | 0.25; b = 0.1 | 0.2 | 0.3
answer: a*b/(a + b)
tolerance: 0.5%

## Lung compliance is {a} L/cmH₂O and chest-wall compliance {b} L/cmH₂O. What's the total respiratory compliance, in L/cmH₂O?

::: right
Right. In series, like capacitors: {answer} L/cmH₂O.
:::

::: misses
- [a + b] They're in series: the same volume change stretches both.
- [any] Not yet. Compliances in series combine like capacitors in series.
:::
:::

::: check
given: n = 200 | 400 | 600; d = 0.8 | 1 | 1.2; L = 2 | 3 | 5; F = 0.5 | 1 | 2
answer: 8*1.8e-5*(L/100)*(F/1000/n)/(pi*(d/2000)^4)
unit: Pa
tolerance: 0.5%

## A Fleisch pneumotachometer has {n} tubes, each {d} mm in diameter and {L} cm long. What pressure drop does {F} L/s of air (η = 1.8 × 10⁻⁵ Pa·s) produce?

::: right
Right. Poiseuille for one tube's share of the flow: {answer} Pa.
:::

::: misses
- [8*1.8e-5*(L/100)*(F/1000)/(pi*(d/2000)^4)] Each tube carries only its share of the flow.
- [8*1.8e-5*(L/100)*(F/1000/n)/(pi*(d/1000)^4)] Use the radius, half the diameter.
- [any] Not yet. $\Delta P = 8\eta L F/(\pi r^4)$ for one tube's flow.
:::
:::

::: check
given: R = 1 | 2 | 5 | 10; C = 0.05 | 0.1 | 0.2
answer: R*C
unit: s
tolerance: 0.5%

## A patient's airway resistance is {R} cmH₂O·s/L and total compliance {C} L/cmH₂O. What's the time constant of passive exhalation?

::: right
Right. τ = RC = {answer} s.
:::

::: misses
- [R/C] Multiply: τ = RC, as for a resistor and capacitor.
- [any] Not yet. The same time constant as an RC circuit.
:::
:::

::: check
given: I = 0.005 | 0.01 | 0.02; C = 0.05 | 0.1 | 0.2
answer: 1/(2*pi*sqrt(I*C))
unit: Hz
tolerance: 0.5%

## A respiratory system has inertance {I} cmH₂O·s²/L and compliance {C} L/cmH₂O. At what frequency does its forced-oscillation reactance cross zero?

::: right
Right. $f_0 = 1/(2\pi\sqrt{IC})$ = {answer} Hz.
:::

::: misses
- [1/sqrt(I*C)] That's the angular frequency in rad/s. Divide by 2π.
- [any] Not yet. Resonance of a series inertance and compliance.
:::
:::

::: check
given: V = 30 | 40 | 55; c = 3.5 | 4.5 | 6; a = 78 | 80
answer: V*c/a
unit: L
tolerance: 0.5%

## After a nitrogen washout the collected {V} L of exhaled gas contains {c}% nitrogen. Alveolar nitrogen started at {a}% and ended near zero. What's the FRC?

::: right
Right. The exhaled nitrogen over the starting fraction: {answer} L.
:::

::: misses
- [V*c/100] That's the volume of nitrogen exhaled. Divide by the lungs' starting nitrogen fraction.
- [any] Not yet. All the exhaled nitrogen came from the lungs at FRC.
:::
:::

::: check
given: V = 4500 | 5500 | 6500; t = 8 | 10 | 12; a = 0.25 | 0.3; b = 0.14 | 0.17 | 0.2
answer: V/((t/60)*713)*ln(a/b)
tolerance: 0.5%

## A single-breath test at sea level has $V_A$ = {V} mL, a {t} s breath-hold, and alveolar CO falling from {a}% to {b}%. What's $D_{L,CO}$, in mL/(min·mmHg)?

::: right
Right. $V_A/(t(P_B - 47))\ln(F_0/F_t)$ = {answer} mL/(min·mmHg).
:::

::: misses
- [V/((t/60)*760)*ln(a/b)] Subtract the water vapor pressure, 47 mmHg, from 760.
- [V/(t*713)*ln(a/b)] Put the time in minutes.
- [any] Not yet. $D = V_A\ln(F_0/F_t)/(t(P_B - 47))$.
:::
:::

::: check
kind: parts
given: V = 0.4 | 0.8; C = 0.05 | 0.1; R = 2 | 8; t = 1 | 2; f = 12 | 20

## A breath of {V} L is drawn at constant flow over {t} s, with compliance {C} L/cmH₂O and resistance {R} cmH₂O·s/L, {f} times a minute.

::: part
answer: (0.5*V^2/C + R*V/t*V)*0.0980665
unit: J
tolerance: 0.5%

### How much work does each breath take?

::: misses
- [0.5*V^2/C*0.0980665] Add the resistive work, $R\dot VV$.
- [any] $(\frac12V^2/C + R\dot VV)$ in cmH₂O·L, times 0.0981 J.
:::
:::

::: part
answer: (0.5*V^2/C + R*V/t*V)*0.0980665*f/60
unit: W
tolerance: 0.5%

### What power do the respiratory muscles deliver?

::: misses
- [any] Work per breath times breaths per second.
:::
:::
:::

::: check
kind: derivation
vars: R = 0.5..20, C = 0.01..0.2, t = 0..5

## A lung with resistance R (cmH₂O·s/L) and compliance C (L/cmH₂O) exhales passively.

::: step
answer: R*C

### What is its time constant, in seconds?
:::

::: step
answer: 1 - exp(-t/(R*C))

### What fraction of the breath has it exhaled after t seconds?
:::

::: right
Right. Three time constants empty 95%; airway obstruction lengthens τ until the next breath starts before the last one is out.
:::
:::

::: explain
## Why do lung and chest-wall compliances combine like capacitors in series, and why does that make the respiratory system stiffer than either part?

::: model
When you breathe in, the lungs and the chest wall change volume together: every milliliter of air that enters the lungs also expands the chest wall around them. So the volume change is common to both, the way the charge is common to capacitors in series. The pressure needed is the sum of the pressure to stretch the lungs and the pressure to stretch the chest wall, as voltages add across series capacitors. Total compliance is volume over total pressure, so its reciprocal is the sum of the reciprocals, $1/C = 1/C_L + 1/C_W$, and the combination is always stiffer than either part alone. That's also why the chest wall's stiffness, from obesity or a scoliosis, can limit breathing even with healthy lungs.
:::
:::

::: practice

::: check
given: a = 0.05..0.3; b = 0.05..0.3
answer: a*b/(a + b)
tolerance: 0.5%

## Total compliance from $C_L$ = {a} and $C_W$ = {b} L/cmH₂O?

::: misses
- [any] Series combination.
:::
:::

::: check
given: I = 0.003..0.03; C = 0.03..0.3
answer: 1/(2*pi*sqrt(I*C))
unit: Hz
tolerance: 0.5%

## Resonant frequency for I = {I}, C = {C}?

::: misses
- [any] $1/(2\pi\sqrt{IC})$.
:::
:::

::: check
given: V = 20..80; c = 2..8; a = 75..81
answer: V*c/a
unit: L
tolerance: 0.5%

## Nitrogen washout: {V} L at {c}%, from {a}%. FRC?

::: misses
- [any] $V_E F_E/F_{A,\text{start}}$.
:::
:::
:::
