Open Ultrasound Lab
The mathematics, physics and signal processing behind modern ultrasound imaging, from phasors and the FFT to transducers, beamforming, localization microscopy, sound-speed estimation and aberration correction. Every idea comes with figures you can change.
Free, open, interactive.
M. Nguyen, with Claude (Anthropic) · version 1.0, last reviewed 2026-10-16
Why this exists
I am an ultrasound engineer who is still learning every day. For years I wished the fundamentals, from phasors and the FFT to transducers, beamforming and the newest imaging methods, were gathered in one place and explained with figures you can change. This is my attempt, built with the help of AI and shared freely, especially for students and young engineers who are just getting started.
It is not a product, and there is nothing to buy. It certainly contains mistakes. If you find one, please tell me; if you can explain a topic better, please contribute. I hope it saves you some of the time it would have saved me.
M. Nguyen
The course as a 33-element array, one element per module, grouped into five parts. Pick a learning path below to light up its active aperture; select an element to open that module.
Learning paths
Each path is an ordered subset of modules for one goal. Earlier modules are prerequisites for later ones, so read them in the order shown.
Ultrasound localization microscopy
From phasors and SVD clutter filtering to microbubble detection, localization, tracking and resolution metrics. 15 modules, in order.
- 01Complex numbers & phasors
- 02The DFT and FFT by hand
- 03Convolution, LTI & filters
- 04Sampling, Fourier, LTI
- 05Matrices as operators
- 06Eigen & SVD
- 07Covariance & correlation
- 08Analytic signal & IQ
- 11Correlation & delay
- 12Estimation & CRLB
- 23Beams, k-space, compounding
- 25Adaptive & coherence BF
- 26Speckle statistics
- 28Microbubbles & contrast
- 31ULM end to end
Sound speed and aberration
Delay estimation, inverse problems and optimization, then coherence, k-space and the two capstones. 14 modules, in order.
- 01Complex numbers & phasors
- 02The DFT and FFT by hand
- 03Convolution, LTI & filters
- 04Sampling, Fourier, LTI
- 06Eigen & SVD
- 08Analytic signal & IQ
- 11Correlation & delay
- 12Estimation & CRLB
- 13Inverse problems
- 14Optimization & autodiff
- 23Beams, k-space, compounding
- 24Fourier beamforming
- 32Sound-speed estimation
- 33Aberration correction
Transducer and hardware engineer
The signal basics, then wave physics, piezoelectrics, stacks, CMUT/PMUT, arrays, front ends, characterization and acoustic output. 12 modules, in order.
- 01Complex numbers & phasors
- 02The DFT and FFT by hand
- 03Convolution, LTI & filters
- 04Sampling, Fourier, LTI
- 15Wave physics & harmonics
- 16Piezoelectrics & KLM
- 17Matching, backing, lens, FEA
- 18CMUT, PMUT & new materials
- 19Arrays: 1D to 2D, RCA, CMUT
- 20Front-end electronics
- 21Simulation & characterization
- 22Acoustic output & safety
Interview preparation
Every module’s interview and qualifying-exam questions with model answers, on one page, grouped by module.
The five parts
33 modules, 233 interactive demos, 607 numbered equations and 159 MATLAB/Octave scripts. Each module follows the same arc: derivations with live figures, a visual summary, how experts think about it, a cheat sheet, interview questions, a MATLAB lab, a self-check, figures from the literature and further reading.
Part I · Math & signal foundations
Modules 01–07
Seven modules that rebuild the mathematics every later module leans on.
- 01Complex numbers and phasorsj, Euler, rotation, I/Q
- 02The DFT and FFT by handcorrelation with phasors, bins, butterflies
- 03Convolution, LTI systems and filtersimpulse response, z-domain, eigenfunctions
- 04Sampling, Fourier & LTI systemsaliasing, leakage, PSF ↔ transfer function
- 05Matrices as operatorssubspaces, projections, least squares
- 06Eigendecomposition & SVDlow rank, clutter filtering, distortion matrix
- 07Random vectors, covariance & correlationchannel covariance, VCZ coherence
Part II · Ultrasound signal processing & estimation
Modules 08–14
Seven modules on turning RF and IQ samples into estimates.
- 08Analytic signal & IQ demodulationHilbert, envelope, demodulation, decimation
- 09Digital filter designFIR vs IIR, windows, Parks–McClellan, zero-phase, wall filters
- 10Matched filtering & pulse compressionchirps, Golay codes, range sidelobes, SNR gain
- 11Correlation & time-delay estimationsubsample bias, jitter, Kasai, block matching
- 12Estimation theory & the Cramér–Rao boundMLE, Fisher information, ULM localization limits
- 13Inverse problems and regularizationill-posedness, Tikhonov, TV, sound-speed tomography
- 14Optimization & automatic differentiationGauss–Newton, Adam, differentiable beamforming
Part III · Physics & hardware
Modules 15–22
Eight modules on the physical system under every algorithm.
- 15Wave physics, nonlinear propagation and harmonic imagingwave equation, interfaces, diffraction, B/A, harmonics
- 16Piezoelectric transduction and equivalent circuitsconstitutive equations, Mason and KLM models, impedance
- 17Matching layers, backing, lenses and finite-element designquarter-wave layers, backing, lenses, finite elements
- 18CMUT, PMUT and new transducer materialsclamped-plate CMUT, PMUT, single crystals, lead-free, films
- 19Array architecturespitch, elevation control, 2D channel count, row-column
- 20Front-end electronics and system architecturepulser, T/R, LNA, TGC, ADC, link budget
- 21Simulation and characterization toolsspatial impulse response, full-wave codes, the bench
- 22Acoustic output, bioeffects and regulatory measurementMI, TI, derating, FDA/IEC output table
Part IV · Image formation & quality
Modules 23–27
Five modules on how a beamformed image is formed and how its quality is measured.
- 23Beam patterns, k-space and compoundingaperture ↔ beam, grating lobes, plane-wave compounding
- 24Fourier-domain beamformingf-k (Stolt) migration, plane-wave Fourier imaging, k-space
- 25Adaptive and coherence-based beamformingMV, ESBMV, CF, GCF, PCF, DMAS, SLSC, FXPF
- 26Speckle statistics and image-quality metricsRayleigh to K, speckle size, CNR and gCNR
- 27Spectral estimation & QUSWelch, multitaper, AR, attenuation and BSC
Part V · Imaging modes & capstones
Modules 28–33
Six modules that combine everything before them into imaging modes and research targets.
- 28Microbubble physics, contrast imaging and the ULM signal sourcebubble resonance, shells, CEUS pulse sequences, perfusion
- 29Doppler and flow imagingCW/PW/color/power, ultrafast Doppler, vector flow
- 30Elastography: strain, ARFI and shear-wave imagingstrain, ARFI, shear-wave elastography, dispersion
- 31ULM end to end (capstone)acquisition to super-resolved maps
- 32Sound-speed estimation (capstone)global, local, tomographic, differentiable
- 33Aberration correction (capstone)phase screens to the distortion matrix
What makes it different
Every figure says where it comes from
Each plot carries one of four badges: Exact formulaSimulationApprox. modelSchematic. Simulations name the solver that actually ran; approximate models state their assumptions beside the figure.
Runnable MATLAB and Octave
159 scripts in base MATLAB with no toolboxes. Every one runs unchanged in GNU Octave 8 and is executed headless on each change; the numbers it prints match the page text.
Literature you can check
156 "Figures from the literature" entries point to a specific figure in a published paper, with citation and DOI, each looked up before it was included. Unverifiable details are removed or listed on the errata page.
Checked, and still learning
Every number on these pages was checked by running code. Some modules (01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33) have also had a careful second review, in which a separate AI model re-derived the key results and looked up the citations; the others will follow. Anything that could not be confirmed is listed openly on the errata page. The most valuable review of all comes from readers, so corrections are always welcome.
Formula sheet
All the key equations of the course, with symbols defined, on one page: open the formula sheet.
How to cite
Nguyen, M. (2026). Open Ultrasound Lab (Version 1.0) [Interactive educational resource]. Zenodo. https://doi.org/10.5281/zenodo.0000000
BibTeX and CITATION.cff are on the citation page. Found a mistake? Open an issue or read how to contribute. Please read the disclaimer before relying on anything here.