S15 · Lesson 5 · Optical measurements and phase-sensitive detection
Phase-sensitive demodulators that keep the in-phase part of a carrier and reject the rest, lock-in detection of chopped light, light sources from lamps to lasers, fibers and their acceptance angle, optical filters, and photodetectors with their responsivity
An LVDT (lesson 4) and an AC-driven strain-gauge bridge (lesson 3) both put out a carrier whose amplitude carries the measurement and whose phase carries its sign. A plain rectifier keeps the amplitude and throws the sign away, and it passes every stray signal too. Optical sensors have the same problem in another form: a pulse oximeter's photodiode sees room light, sunlight and flickering lamps along with its own LEDs. Both are solved by the same idea: multiply the signal by a copy of what you sent, and average.
- A carrier of amplitude A arrives with phase φ relative to the reference. The demodulator multiplies it by a square wave that is +1 when the reference is positive and −1 when it's negative, which a switch or a ring of diodes does.
- The solid curve is the signal, the second curve the demodulated output, and the dashed line its average, which a low-pass filter extracts.
- At φ = 0 the output is a positive full-wave-rectified wave averaging . At 180° it's negative. At 90°, a quadrature signal such as a capacitive pickup, the output averages to zero and is rejected.
Predict
A displacement sensor's output carrier is 40 mV in phase with the reference, plus 40 mV of stray signal 90° out of phase from cable capacitance. What does a phase-sensitive demodulator report, compared with a plain full-wave rectifier?
The two parts add to a 56.6 mV carrier at 45°, which a rectifier averages to 36 mV, wrong by 41%. The demodulator's output is = (2/π)(56.6)(cos 45°) = 25.5 mV, exactly the in-phase 40 mV's share. The quadrature part, the error, contributes nothing.
Name it
Phase-sensitive demodulation
Multiplying an input by a ±1 square wave synchronized with the carrier and averaging gives
So the output follows the in-phase component, with its sign. It rejects a quadrature component (φ = 90°), any DC offset (the square wave averages to zero), and anything at frequencies not locked to the carrier, which average out in the low-pass filter. Webster's practical circuit is a ring demodulator: four diodes switched by the carrier, which must be more than twice the input. Integrated double-balanced demodulators do the same without transformers.
The output filter sets the trade-off between noise and speed. A single RC section with corner gives the demodulator an equivalent noise bandwidth of , so a narrow filter rejects almost all broadband noise while still following a slowly changing measurement. Putting a tuned amplifier ahead of the demodulator gives a lock-in amplifier, which can recover signals far below the noise.
Chopped light
Optical instruments modulate their light, switching an LED on and off or spinning a chopper wheel, and demodulate the detector's output at the same frequency. Steady ambient light becomes a DC offset and mains-frequency flicker an unrelated frequency, and both are rejected. Pulse oximeters alternate their red and infrared LEDs with dark intervals and subtract each dark reading.
Sources and optics
- Tungsten lamps radiate nearly as black bodies. At a filament temperature of 2800 K, Wien's law µm puts the peak at 1.03 µm, in the infrared, so most of their power is heat.
- LEDs emit a band tens of nanometers wide, can be switched in microseconds, and are efficient and cheap.
- Lasers give narrow, coherent, collimated beams for interferometry, Doppler measurements and surgery.
An optical fiber guides light by total internal reflection at the boundary between its core (index ) and cladding (), beyond the critical angle . It accepts light entering within a half-angle given by the numerical aperture
Bundles of fibers carry light into endoscopes and images back out of them.
Filters select wavelengths: colored glass absorbs, thin-film interference filters pass bands a few nanometers wide, and gratings in monochromators spread the spectrum.
Detectors
Thermal detectors (thermopiles, bolometers) respond to any wavelength but slowly. Photon detectors respond to individual photons above a threshold energy: photomultipliers amplify each photoelectron millions of times; photodiodes produce a current proportional to power, with responsivity
for quantum efficiency η, and respond in microseconds or faster. A complete optical measurement multiplies the source's spectrum, the filter's transmission and the detector's responsivity, wavelength by wavelength, and the signal is the area under that product.
Worked example
A 5 kHz carrier from an LVDT reaches a ring demodulator with an amplitude of 50 mV at 30° to the reference. What DC output results, and what output filter gives a 10 Hz corner with a 470 nF capacitor?
Show the solution
- DC output.
- Only the in-phase part counts. The in-phase part of the input gives the same average:
- Output filter. For a 10 Hz corner with 470 nF:
- Ripple and response. The corner is 500 times below the carrier, so the ripple at twice the carrier frequency is negligible, and the sensor's motion can still be followed up to about 10 Hz.
Answer the DC output is 27.6 mV, and a 33.9 kΩ resistor with the 470 nF capacitor gives the 10 Hz corner.
Worked example
An endoscope's illumination fibers have a plastic core of index 1.49 and cladding of 1.41. What light do they accept, and what current does 10 µW at 660 nm produce in a photodiode with 80% quantum efficiency?
Show the solution
- Numerical aperture. so the fibers accept light within 28.8° of their axis in air.
- Trapping inside. Rays strike the cladding at more than the critical angle and are trapped: from the normal.
- Photodiode responsivity. At 0.66 µm:
- Photocurrent.
Answer the fibers accept light within 28.8° of their axis (NA = 0.482), and 10 µW at 660 nm produces 4.26 µA.
Worked example
A lock-in amplifier must detect a 1 µV in-phase signal in noise of 1 µV/√Hz. What output signal-to-noise ratio do output time constants of 1 s and 10 s give, and what does each cost in response time?
Show the solution
- Noise bandwidth. A single RC section with time constant τ has an equivalent noise bandwidth of 0.25 Hz for 1 s and 0.025 Hz for 10 s.
- Output noise. The noise is 1 µV/√Hz times :
- Signal-to-noise ratio. The 1 µV signal gives amplitude ratios of
- Response time. Settling to 5% takes 3τ: 3 s or 30 s.
- The trade. Every tenfold gain in noise power is paid for with a tenfold slower answer.
Answer a 1 s time constant gives a signal-to-noise ratio of 2 and settles in 3 s; a 10 s one gives 6.3 and takes 30 s.
Check
A 50 mV carrier arrives at 20° to the reference of a phase-sensitive demodulator. What's the average output?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
Check
A demodulator's RC output filter must have its corner at 10 Hz with a 100 nF capacitor. What resistor?
Write units the way you normally would: 1.5 kΩ, 1500 Ω and 0.0015 MΩ are the same answer.
Check
A fiber's core has index 1.48 and its cladding 1.4. What's its numerical aperture?
Check
For the same fiber (core 1.48, cladding 1.4), what's the acceptance half-angle in air?
Check
A photodiode with quantum efficiency 0.75 receives 50 µW at 530 nm. What current does it produce?
Write units the way you normally would: 1.5 µA, 1500 nA and 0.0015 mA are the same answer.
Check
At what wavelength does a tungsten filament at 2800 K radiate most strongly?
Write units the way you normally would: 1.5 µm, 1500 nm and 0.0015 mm are the same answer.
Check
A lock-in amplifier with an output time constant of 0.1 s sees noise of 1 µV/√Hz and an in-phase signal of 5 µV.
(a)
What RMS noise remains at its output?
Write units the way you normally would: 1.5 µV, 1500 nV and 0.0015 mV are the same answer.
(b)
What signal-to-noise ratio (amplitude) results?
Check
An optical fiber has core index a and cladding index b.
Step 1
What is its numerical aperture?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is its acceptance half-angle in air, in radians?
Explain why
Why does a phase-sensitive demodulator reject interference that a plain rectifier passes?
A rectifier responds to the size of whatever arrives, so a quadrature pickup, a DC offset or noise at other frequencies all add to its output. A phase-sensitive demodulator multiplies the input by a switching function locked to the carrier and then averages. Only a component at the carrier frequency and in phase with the reference produces a product with a nonzero average; a component 90° out of phase spends equal time positive and negative within each half of the switching cycle and averages to zero, a DC offset is multiplied by a square wave that averages to zero, and components at other frequencies produce products at the difference frequency, which the low-pass filter removes. The narrower the filter, the more thoroughly everything but the wanted signal is rejected, which is why the same idea, as a lock-in amplifier, recovers optical signals buried in room light.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.