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

B11 · Lesson 13 · Radiation and noise lab

Planck's integrals, Wien's constant, blackbody band fractions, simulated Johnson noise and receiver cascades in Python

Lessons 9 to 12 used formulas whose constants come from integrals: Stefan–Boltzmann's σ from ∫x3/(ex−1), Wien's 2898 µm·K from a transcendental equation, kT/C noise from integrating a noise spectrum through a filter. In this lab you'll compute each of those from scratch, then use them as an engineer would: how much of a lamp's light is visible, what a thermal camera's 8 to 14 µm band collects, whether a simulated resistor's noise really settles at kT/C, and what noise temperature a chain of amplifiers adds.

  • The curve is a blackbody's spectrum per unit wavelength, scaled to its peak, on a log wavelength axis.
  • The shaded band runs between the two edge sliders, and the readout gives the fraction of all the radiated power inside it, from Planck's law integrated in closed form (step 3 does it numerically).
  • Set the band to 0.4 to 0.7 µm and compare 2700 K (a warm lamp), 3000 K and 5772 K (the Sun). Then set 8 to 14 µm and 300 K: that's what a thermal camera sees.

Predict

About what fraction of a 3000 K incandescent filament's radiation falls in the visible band, 0.4 to 0.7 µm?

Name it

Planck's integrals

Substituting x=hνkT turns every blackbody quantity into a pure number times a power of T. The total power needs ∫0∞x3ex−1dx=π415, which gives σ=2π5k415h3c2. The photon count needs ∫0∞x2ex−1dx=2ζ(3)=2.404, so the average photon carries π4/152ζ(3)kT=2.701kT.

Wien's constants

Per unit wavelength the spectrum goes as x5ex−1, which peaks where 5(1−e−x)=x, at x = 4.965; that's λmaxT = 2898 µm·K. Per unit frequency it goes as x3ex−1, peaking at x = 2.821. The two peaks don't describe the same light: the frequency peak lies at a wavelength 1.76 times longer.

Band fractions

Expanding 1ex−1=∑ne−nx and integrating term by term, the fraction of power at wavelengths shorter than λ is

F(x)=15π4∑n≥1e−nx(x3n+3x2n2+6xn3+6n4),x=hcλkT,

and a band's share is the difference of two such values. The series converges quickly when x is a few or more.

Noise in a simulation

To simulate a resistor's Johnson noise, draw independent Gaussian samples every Δt with variance 2kTRΔt, which spreads the one-sided density 4kTR evenly up to the Nyquist frequency 12Δt. Passing them through a discrete RC filter should leave a variance close to kT/C. For a chain of stages, Friis's formula from lesson 12, Te=T1+T2G1+T3G1G2+⋯, gives the total.

Worked example

Compute σ from Planck's integral and check it against 5.670 × 10⁻⁸ W/(m²·K⁴).

Show the solution
  1. Power per area as an integral. PA=2π(kT)4h3c2∫0∞x3ex−1dx
  2. The integral. ∫0∞x3ex−1dx=π415=6.4939
  3. Check it numerically. A numerical integral on a fine grid to x = 50 matches 6.4939 to many digits, since the integrand falls as x3e−x.
  4. The constant. In W/(m²·K⁴), σ=2πk4h3c2×6.4939=2π5k415h3c2=5.6704×10−8
  5. Mean photon energy. The same integral with x2 gives 2.4041, and the ratio, 2.701, is the mean photon energy in units of kT.

Answer σ = 5.6704 × 10⁻⁸ W/(m²·K⁴), matching 5.670 × 10⁻⁸.

Worked example

What fraction of the radiation falls in the visible band, 0.4 to 0.7 µm, for a 2700 K lamp, a 3000 K filament and the 5772 K Sun?

Show the solution
  1. Limits of the band. For the band, x runs from 143880.7Tto143880.4T and the fraction is the difference of F at the two ends.
  2. The 2700 K lamp. 5.0%.
  3. The 3000 K filament. 8.1%.
  4. The 5772 K Sun. 36.6%.
  5. What it means for lighting. A warm-white incandescent bulb turns only about 5% of its power into visible light (less in useful lumens, since the eye favors green). LEDs skip the blackbody altogether, putting nearly all their output where it's wanted.

Answer 5.0% for the 2700 K lamp, 8.1% for the 3000 K filament and 36.6% for the Sun.

Worked example

A thermal camera looks in the 8 to 14 µm band. What fraction of a 300 K object's radiation is in that band, and how much power per cm² is that?

Show the solution
  1. Limits of the band. At 300 K, x1=1438814×300=3.43x2=143888×300=6.00
  2. Fraction in the band. F(6.00)−F(3.43)=0.376
  3. Total from a blackbody at 300 K. σT4=459W/m2
  4. Power in the band. 0.376×459=173W/m2=17.3mW/cm2
  5. Why cameras use this band. That band also sits in a window where the atmosphere hardly absorbs, and it contains the peak of room-temperature emission (9.7 µm). Those two facts are why uncooled thermal cameras use it.

Answer 0.376 of the radiation is in the band, 17.3 mW/cm².

Check

Step 1. Write planck_integrals() returning a tuple (I3, I2, sigma): the integrals ∫0∞x3ex−1dx and ∫0∞x2ex−1dx computed numerically, and σ from the first.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

Step 2. Write wien() returning (x_lambda, b, x_nu): the root of 5(1−e−x)=x by Newton's method, Wien's constant b=hckx in µm·K, and the root of 3(1−e−x)=x.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

Step 3. Write band_fraction(T, l1, l2) returning the fraction of a blackbody's power between wavelengths l1 and l2 (µm) at temperature T, by integrating Planck's law numerically in x.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

Step 4. Write rc_noise(R, C, T, n, seed): simulate n samples of a resistor's Johnson noise (Gaussian, variance 2kTRΔt with Δt=RC/50) through the discrete filter v←v+ΔtRC(e−v), starting at 0, and return the variance of v over the second half of the run.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

Step 5. Write cascade(stages) for a list of (gain_dB, noise_temperature_K) stages, returning (Te, NF_dB): the chain's noise temperature by Friis's formula and its noise figure referred to 290 K.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

A blackbody is at 1000 K.

(a)

At what wavelength does its spectrum per unit wavelength peak?

Write units the way you normally would: 1.5 µm, 1500 nm and 0.0015 mm are the same answer.

(b)

Its spectrum per unit frequency peaks at hν=2.821kT. What wavelength is that frequency?

Check

How many photons per second does each cm² of a blackbody at 3000 K emit?

Check

What's the average energy of a photon in blackbody radiation at 300 K?

Write units the way you normally would: 1.5 eV, 1500 meV and 0.0015 keV are the same answer.

Check

At what frequency does a photon's energy hf equal kT at 4 K, where Johnson noise starts to fall below its classical value?

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

Explain why

Why can a single number, 2898 µm·K, give the peak wavelength of every blackbody?

Practice

Keep practicing

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