Total Harmonic Distortion (THD) is the ratio of the sum of the powers of all harmonic components to the power of the fundamental frequency, expressed as a percentage or in dB. It quantifies the non-linear distortion introduced by components like amplifiers and data converters, where a pure sinusoidal input results in output harmonics at integer multiples of the original frequency.
Glossary
Total Harmonic Distortion (THD)

What is Total Harmonic Distortion (THD)?
Total Harmonic Distortion (THD) is a critical figure of merit that quantifies the non-linear behavior of a system by comparing the power of the harmonic distortion products to the power of the original fundamental frequency.
In the context of RF fingerprinting, THD is not merely a performance defect but a unique, device-specific identifier. Microscopic manufacturing variances in analog components create distinct spectral regrowth patterns and harmonic amplitudes, forming an unclonable hardware signature that can be exploited for physical-layer authentication and emitter identification.
Key Characteristics of THD for Fingerprinting
Total Harmonic Distortion (THD) quantifies the non-linear behavior of a transmitter's analog front-end, revealing device-specific spectral regrowth patterns that serve as robust, unclonable identifiers.
Definition and Calculation
THD is the ratio of the sum of the powers of all harmonic components to the power of the fundamental frequency. It is typically expressed as a percentage or in dB. For a signal with a fundamental amplitude A1 and harmonic amplitudes A2, A3, ..., An, THD is calculated as the square root of the sum of the squares of the harmonic amplitudes divided by the fundamental amplitude. This single figure of merit captures the aggregate effect of static non-linearity in amplifiers and data converters.
Spectral Regrowth as a Fingerprint
When a signal passes through a non-linear device, such as a power amplifier, spectral regrowth occurs. This generates energy at integer multiples of the input frequency. The exact amplitude and phase of each harmonic (2nd, 3rd, etc.) are determined by the unique polynomial transfer function of the specific analog components. This pattern is highly sensitive to Process-Voltage-Temperature (PVT) variation, making it a reliable, device-specific signature.
Relationship to Intermodulation Distortion
THD is a single-tone measurement, but it directly predicts a device's behavior under more complex, multi-tone excitation. The same non-linear transfer function that creates harmonics also creates Intermodulation Distortion (IMD) products when multiple signals are present. A device's Third-Order Intercept Point (IP3) is a key figure of merit derived from this behavior, and it correlates strongly with the amplitude of the third harmonic in a THD measurement.
DAC and ADC Contribution
In a transmitter chain, both the DAC and subsequent analog stages contribute to THD. DAC non-idealities like Integral Non-Linearity (INL) and Differential Non-Linearity (DNL) create a static, memoryless distortion. This is compounded by the dynamic non-linearity of amplifiers, which may exhibit memory effects due to thermal time constants. The composite THD fingerprint is a convolution of these cascaded imperfections.
Measurement and Extraction
THD is measured by applying a high-purity, single-tone sine wave to the device under test and analyzing the output spectrum. Key steps include:
- Windowing: Applying a low-leakage window function (e.g., Blackman-Harris) to the time-domain data.
- FFT: Computing the frequency spectrum.
- Harmonic Identification: Locating the fundamental and its integer multiples.
- Power Summation: Calculating the ratio of harmonic power to fundamental power. The specific amplitudes of the 2nd through 5th harmonics are often used as a feature vector for a fingerprinting model.
Robustness to Channel Effects
A key advantage of THD-based fingerprints is their resilience to linear channel distortions like multipath fading. While the channel can alter the absolute amplitude and phase of the fundamental and its harmonics, the relative amplitude ratios between harmonics are primarily a function of the transmitter's non-linearity. Machine learning models can be trained on these ratios to achieve channel-robust feature learning, ensuring reliable identification even in dynamic environments.
THD vs. Other Non-Linearity Metrics
A comparative analysis of Total Harmonic Distortion against other key metrics used to quantify non-linear behavior in data converters for RF fingerprinting applications.
| Metric | THD | IMD | SFDR | SINAD |
|---|---|---|---|---|
Primary Domain | Frequency | Frequency | Frequency | Time/Frequency |
Measures | Harmonic power relative to fundamental | Intermodulation products from multi-tone input | Largest single spur relative to fundamental | Total signal power vs. all noise and distortion |
Input Signal | Single pure sinusoid | Two or more closely spaced tones | Single pure sinusoid | Single pure sinusoid |
Captures Static Non-Linearity | ||||
Captures Dynamic Non-Linearity | ||||
Typical Unit | dBc or % | dBc | dBc | dB |
Fingerprinting Utility | Identifies polynomial transfer function coefficients | Reveals complex memory effects and spectral regrowth | Highlights worst-case spurious artifact | Aggregate figure of merit for overall converter health |
Sensitivity to Clock Jitter |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Frequently Asked Questions
Essential questions about Total Harmonic Distortion (THD) and its critical role in quantifying the non-linear analog imperfections that create unique, device-specific spectral signatures for RF fingerprinting.
Total Harmonic Distortion (THD) is the ratio of the sum of the powers of all harmonic components to the power of the fundamental frequency, expressed as a percentage or in decibels (dB). It quantifies the degree to which a system's non-linear transfer function generates integer multiples of the input signal's frequency. Mathematically, THD is calculated as the square root of the sum of the squares of the individual harmonic amplitudes (V₂, V₃, V₄, ... Vₙ) divided by the amplitude of the fundamental (V₁): THD = √(V₂² + V₃² + V₄² + ... + Vₙ²) / V₁ × 100%. For high-performance data converters, THD is typically specified in dBc (decibels relative to the carrier), where a more negative value indicates better linearity. In the context of RF fingerprinting, THD is not merely a performance metric to be minimized but a rich source of device-specific information, as the precise amplitude and phase relationships of the generated harmonics form a unique, unclonable signature tied to the physical semiconductor process variations of that specific integrated circuit.
Related Terms
Explore the key converter non-idealities and signal analysis metrics that interact with Total Harmonic Distortion to form the basis of a unique, hardware-specific RF fingerprint.
Spurious-Free Dynamic Range (SFDR)
SFDR measures the ratio of the fundamental signal's RMS amplitude to the highest spurious component in the output spectrum. While THD captures the total power of all harmonics, SFDR identifies the single loudest artifact, which is often a harmonic or an interleaving spur. A device's specific SFDR profile, including the frequency and amplitude of the worst spur, is a critical, easily identifiable feature for emitter identification.
Intermodulation Distortion (IMD)
IMD occurs when two or more signals pass through a non-linear system, generating new frequencies at the sums and differences of the originals and their harmonics. Unlike THD, which is measured with a single tone, IMD reveals the complex polynomial transfer function of the transmitter chain. The specific pattern of third-order products (2f1-f2, 2f2-f1) is a highly unique, device-specific spectral regrowth pattern.
Integral Non-Linearity (INL)
INL is a static measure of a data converter's deviation from an ideal straight-line transfer function. This low-frequency, process-dependent curvature is the root cause of the harmonic distortion quantified by THD. The unique shape of the INL curve—whether it's S-shaped, bow-shaped, or irregular—directly determines the amplitude and phase of the generated harmonics, forming a time-invariant component of the fingerprint.
Memory Effect
Memory effect describes a non-linearity where the current output depends on past signal values, not just the instantaneous input. This is caused by thermal time constants, bias network impedances, and charge trapping. While static non-linearity produces consistent harmonics, memory effects cause the amplitude and phase of those harmonics to vary with signal envelope history, creating a rich, history-dependent signature that is significantly harder to clone.
Signal-to-Noise and Distortion Ratio (SINAD)
SINAD is a composite figure of merit that combines the power of all noise and distortion components, including the harmonics measured by THD. It represents the total degradation of the signal. For fingerprinting, SINAD provides a single-value summary of a device's aggregate analog imperfections, while the individual breakdown of SINAD into its noise and distortion constituents provides the detailed feature vector.
Phase Noise
Phase noise represents rapid, random fluctuations in a signal's phase, originating from oscillator and clock instabilities. While THD quantifies amplitude distortion, phase noise creates a unique spectral skirt around the carrier. The combined profile of harmonic amplitude distortion and phase noise sidebands forms a complete, two-dimensional spectral signature that is extremely effective for deep learning-based device classification.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us