Difference between revisions of "THD Sweep Measurement"

From OROS Wiki
Jump to navigation Jump to search
 
(50 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Wiki: THD Sweep Measurement System ==
== THD SWEEP MEASUREMENT - USER GUIDE ==
''Master the art of measuring Total Harmonic Distortion with style''


This software allows for continuous measurement of '''Total Harmonic Distortion (THD)''' during a frequency sweep (sweep sine) with an OROS system.
[[File:sweep.png|400px]]


=== 🚀 Installation & Launch ===


==== Using the Executable (Recommended) ====
__TOC__
# Go to the {{code|dist/}} folder.
# Launch {{code|THD_Sweep_Measurement.exe}}.
''Note: The executable is standalone and contains all dependencies.''


==== Using Python Sources ====
{| style="width:100%; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 30px; border-radius: 10px; margin: 20px 0; text-align: center;"
# Ensure you have Python 3.8+ (32-bit preferred for NVGate compatibility).
|-
# Launch the script via {{code|Lancer_THD.bat}} or via command line: {{code|python thd_gui.py}}.
| style="font-size: 2.5em; font-weight: bold;" | 🎵 THD SWEEP MEASUREMENT
|-
| style="font-size: 1.2em; opacity: 0.95;" | Professional Acoustic Testing Made Simple
|}
 
---
 
== Install ==
 
Download THD measurement :
 
[https://partnerzone.digigram.com/s/RgiG5JFxNpjG5C6 THD sweep measurement] April 2026
 
=== Install model===
 
Put the model folder : "THD computation" on model database of NVgate.  
(By default : C:\OROS\NVGate data\Workbook Library\User\ )
 
=== Requirement ===
 
NVGate V17 or upper.
 
Option : DC simulated on NVGate front end.
 
== ⚡ QUICK START - 30 SECONDS ==
 
{| style="width: 100%; border-collapse: collapse; margin: 20px 0;"
|-
| style="background: #f0f4ff; padding: 20px; border-left: 5px solid #667eea; font-weight: bold; width: 10%;" | STEP
| style="background: #f0f4ff; padding: 20px; border-left: 5px solid #667eea; font-weight: bold; width: 90%;" | ACTION
|-
| style="padding: 15px; background: #fafbff;" | 1️⃣ Launch
| style="padding: 15px; background: #fafbff;" | Launch NVgate in connected mode and load the THD computation model Double-click <code>THD_Sweep_Measurement.exe</code>
|-
| style="padding: 15px; background: white;" | 2️⃣ Connect
| style="padding: 15px; background: white;" | Put the sweep sine signal on channel 4️⃣ ; put the response on channel 1️⃣
|-
| style="padding: 15px; background: #fafbff;" | 3️⃣ Start
| style="padding: 15px; background: #fafbff;" | Start the THD_Sweep_Measurement.exe and Click green <code>▶ START</code> button
|-
| style="padding: 15px; background: white;" | 4️⃣ Monitor
| style="padding: 15px; background: white;" | Watch 4 metrics update live , THD and frequency will also be injected on NVGate channels DC simulated.
|-
| style="padding: 15px; background: #fafbff;" | 5️⃣ Stop
| style="padding: 15px; background: #fafbff;" | Click red <code>■ STOP</code> button
|}
 
<div style="background: #e8f5e9; border-left: 5px solid #4caf50; padding: 20px; margin: 20px 0; border-radius: 5px;">
✅ '''That's it!''' Your first THD measurement is complete. You're now a certified acoustic engineer. (Not really, but it feels good.)
</div>
 
---
 
 
 
=== 📊 Four Metric Cards ===
 
The heart of the interface. These four numbers tell the whole story:
 
{| style="width: 100%; margin: 20px 0; border-collapse: collapse;"
|-
| style="background: linear-gradient(135deg, #667eea, #764ba2); color: white; padding: 25px; text-align: center; font-weight: bold; width: 25%; border: none;" | 📈<br/>THD (dB)
| style="background: linear-gradient(135deg, #667eea, #764ba2); color: white; padding: 25px; text-align: center; font-weight: bold; width: 25%; border: none;" | 📊<br/>THD (%)
| style="background: linear-gradient(135deg, #667eea, #764ba2); color: white; padding: 25px; text-align: center; font-weight: bold; width: 25%; border: none;" | 📡<br/>Frequency
| style="background: linear-gradient(135deg, #667eea, #764ba2); color: white; padding: 25px; text-align: center; font-weight: bold; width: 25%; border: none;" | ⚡<br/>Fundamental
|-
| style="background: #f5f5f5; padding: 20px; text-align: center; border: 1px solid #ddd;" | Harmonic distortion (log scale)
| style="background: #f5f5f5; padding: 20px; text-align: center; border: 1px solid #ddd;" | Harmonic distortion (%)
| style="background: #f5f5f5; padding: 20px; text-align: center; border: 1px solid #ddd;" | Current sweep point
| style="background: #f5f5f5; padding: 20px; text-align: center; border: 1px solid #ddd;" | Signal strength
|-
| style="background: white; padding: 20px; text-align: center; border: 1px solid #ddd; font-family: monospace; font-weight: bold; color: #667eea;" | +5.42 dB
| style="background: white; padding: 20px; text-align: center; border: 1px solid #ddd; font-family: monospace; font-weight: bold; color: #667eea;" | 58.294 %
| style="background: white; padding: 20px; text-align: center; border: 1px solid #ddd; font-family: monospace; font-weight: bold; color: #667eea;" | 1234.56 Hz
| style="background: white; padding: 20px; text-align: center; border: 1px solid #ddd; font-family: monospace; font-weight: bold; color: #667eea;" | 5.0e-01 V
|}
 
== 🎯 UNDERSTANDING YOUR RESULTS ==
 
=== THD (%) - The Easy Number ===
 
<div style="background: linear-gradient(135deg, #c8e6c9, #a5d6a7); padding: 25px; border-radius: 10px; margin: 20px 0; color: #1b5e20;">
 
'''What is it?''' Percentage of unwanted harmonics in your signal.
 
Think of it this way:
* THD 5% = 95% pure signal, 5% noise
* THD 20% = 80% pure signal, 20% noise
 
'''The Quality Scale:'''
 
{| style="width: 100%; background: white; border-collapse: collapse; margin-top: 15px;"
|-
| style="padding: 12px; background: #fff3e0; border: 1px solid #ffe0b2; font-weight: bold;" | 🌟 1% - 5%
| style="padding: 12px; background: #fff3e0; border: 1px solid #ffe0b2;" | Excellent - Professional grade equipment
|-
| style="padding: 12px; background: #e8f5e9; border: 1px solid #c8e6c9; font-weight: bold;" | ✅ 5% - 15%
| style="padding: 12px; background: #e8f5e9; border: 1px solid #c8e6c9;" | Good - Solid speaker performance
|-
| style="padding: 12px; background: #fff9c4; border: 1px solid #fff59d; font-weight: bold;" | ⚠️ 15% - 30%
| style="padding: 12px; background: #fff9c4; border: 1px solid #fff59d;" | Acceptable - Consumer level equipment
|-
| style="padding: 12px; background: #ffebee; border: 1px solid #ffcdd2; font-weight: bold;" | ❌ > 30%
| style="padding: 12px; background: #ffebee; border: 1px solid #ffcdd2;" | Poor - Time for an upgrade 🛠️
|}


=== 🛠 Required NVGate Configuration ===
</div>


For the software to function correctly, your NVGate project must be configured as follows:
=== THD (dB) - The Technical Number ===


# '''FFT Analyzer''':
<div style="background: linear-gradient(135deg, #bbdefb, #90caf9); padding: 25px; border-radius: 10px; margin: 20px 0; color: #0d47a1;">
#* '''Window 1 (Window1)''': Must display the response channel (Microphone).
#* '''Window 2 (Window2)''': Must display the reference channel (Sweep Sine).
# '''Markers''':
#* The software will automatically create and manage a '''Max''' marker in Window2 and a '''Harmonic''' marker in Window1.
# '''Simulated DC Inputs''':
#* Enable simulated DC inputs in the Front-end.
#* '''DC1''' will receive the THD value in '''%'''.
#* '''DC2''' will receive the THD value in '''dB'''.


=== 📊 Metrological Details ===
Same measurement as THD (%) but in decibels (logarithmic scale).


==== Calculation Formula ====
'''Quick Conversion Chart:'''
The software calculates THD relative to the fundamental ($THD_f$) according to the IEC 61000-4-7 standard:


<math>THD_{\%} = \frac{\sqrt{\sum_{n=2}^{10} H_n^2}}{H_1} \times 100</math>
{| style="width: 100%; background: white; border-collapse: collapse; margin-top: 15px;"
|-
| style="padding: 12px; background: #f5f5f5; border: 1px solid #e0e0e0; font-weight: bold; text-align: center;" | THD %
| style="padding: 12px; background: #f5f5f5; border: 1px solid #e0e0e0; font-weight: bold; text-align: center;" | THD dB
| style="padding: 12px; background: #f5f5f5; border: 1px solid #e0e0e0; font-weight: bold; text-align: center;" | Quality
|-
| style="padding: 12px; border: 1px solid #e0e0e0; text-align: center;" | 1%
| style="padding: 12px; border: 1px solid #e0e0e0; text-align: center; font-family: monospace;" | -40 dB
| style="padding: 12px; border: 1px solid #e0e0e0; text-align: center;" | 🌟 Perfect
|-
| style="padding: 12px; border: 1px solid #e0e0e0; text-align: center;" | 3%
| style="padding: 12px; border: 1px solid #e0e0e0; text-align: center; font-family: monospace;" | -30 dB
| style="padding: 12px; border: 1px solid #e0e0e0; text-align: center;" | ✅ Great
|-
| style="padding: 12px; border: 1px solid #e0e0e0; text-align: center;" | 10%
| style="padding: 12px; border: 1px solid #e0e0e0; text-align: center; font-family: monospace;" | -20 dB
| style="padding: 12px; border: 1px solid #e0e0e0; text-align: center;" | ✅ Good
|-
| style="padding: 12px; border: 1px solid #e0e0e0; text-align: center;" | 30%
| style="padding: 12px; border: 1px solid #e0e0e0; text-align: center; font-family: monospace;" | -10 dB
| style="padding: 12px; border: 1px solid #e0e0e0; text-align: center;" | ⚠️ Poor
|}
 
</div>
 
---


* '''H1''': Amplitude of the fundamental.
== ⚙️ CONFIGURATION ==
* '''H2 to H10''': Amplitude of harmonics (the software tracks the first 9 harmonics by default).


==== Precision and Latency ====
=== When Do I Need to Change This? ===
* '''Maximum Asynchronous Mode''': There is no artificial delay between measurement cycles.
* '''Latency''': A total cycle time (Frequency Read -> Calculation -> DC Write) of < 150ms is recommended.
* '''Recommended Sweep Speed''': '''4 octaves/min'''. This ensures a good balance between measurement speed and tracking accuracy.
* '''FFT Windowing''': Use a '''Hanning''' window for the best frequency resolution during a sweep sine.


=== 💻 Development and Compilation ===
<div style="background: #e3f2fd; border-left: 5px solid #2196f3; padding: 20px; margin: 20px 0; border-radius: 5px;">
 
'''Honest answer: Almost never.'''
 
The default settings work for 95% of users. Only change if your NVGate project has:
* Different window names
* Different marker numbers
* Different DC input addresses
 
If you're not sure → Don't change anything. It works.
 
</div>
 
The NVgate Model generate a sweep sine on the output, feel free to modify the settings if you need. We recommand to not put a sweep speed more than 0.05dec/s (or less) in logarithme for accurate results
 
=== How to Access Configuration ===
 
Click on '''▶ Configuration''' (section expands)
 
=== Important Settings ===
 
{| style="width: 100%; border-collapse: collapse; margin: 15px 0;"
|-
| style="background: #667eea; color: white; padding: 12px; font-weight: bold; width: 30%;" | Setting
| style="background: #667eea; color: white; padding: 12px; font-weight: bold; width: 25%;" | Default
| style="background: #667eea; color: white; padding: 12px; font-weight: bold; width: 45%;" | When to Change
|-
| style="padding: 12px; background: #f5f5f5; border: 1px solid #ddd;" | Window (sweep)
| style="padding: 12px; background: #f5f5f5; border: 1px solid #ddd; font-family: monospace;" | Window2
| style="padding: 12px; background: #f5f5f5; border: 1px solid #ddd;" | Your sweep FFT has different name
|-
| style="padding: 12px; border: 1px solid #ddd;" | Window (response)
| style="padding: 12px; border: 1px solid #ddd; font-family: monospace;" | Window1
| style="padding: 12px; border: 1px solid #ddd;" | Your response FFT has different name
|-
| style="padding: 12px; background: #f5f5f5; border: 1px solid #ddd;" | Number of harmonics
| style="padding: 12px; background: #f5f5f5; border: 1px solid #ddd; font-family: monospace;" | 9
| style="padding: 12px; background: #f5f5f5; border: 1px solid #ddd;" |
|}
 
=== How to Apply Changes ===
 
# Modify field value
# Click '''Apply Configuration'''
# Log displays "Configuration applied" ✓
# Done!
 
---
 
== ❓ FREQUENTLY ASKED QUESTIONS ==
 
 
=== Q: I Have only one channels. Can i take the max marker on windows 1 ?===
 
'''A:''' Yes, on this configuration, put windows 1 for window (sweep) and select the good number for the marker.
 
=== Q: Is THD 5% good? ===
 
'''A:''' For a speaker? Excellent! You can be proud of that equipment. 🎉
 
=== Q: Why does THD change with frequency? ===
 
'''A:''' Because speakers aren't perfect at all frequencies. Some frequencies cause more distortion than others. That's physics being weird.
 
=== Q: Can I use this on any speaker? ===
 
'''A:''' Yes! Desktop speakers, studio monitors, subwoofers, car speakers - if it's connected to NVGate, we can measure it.
 
=== Q: How many times should I measure? ===
 
'''A:''' Once for curiosity. Three times for reliability. Ten times if you're publishing a paper.
 
=== Q: Can I export the results? ===
 
'''A:''' Yes! Copy text from the log console and paste into Excel, Word, or wherever you need it.
 
=== Q: What if my project has different settings? ===
 
'''A:''' Use the Configuration panel to adjust. It's literally made for this.
 
=== Q: Does this work over WiFi? ===
 
'''A:''' No. It only works locally (same computer or local network). WiFi would add too much latency.
 
---
 
===disclaimer===
 
1) This program is delivered free of charge for NVGate V12. Support is not automatically provided on this tool.
 
2) For any other requests, please contact your local distributor or the [mailto:customer.care@oros.com OROS Customer Care department.]
 
---
 
{| style="width: 100%; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 30px; border-radius: 10px; margin: 30px 0; text-align: center;"
|-
| style="font-size: 1.5em; font-weight: bold;" | You're Ready!
|-
| style="font-size: 1.1em; margin-top: 10px; opacity: 0.95;" | Go measure some THD and make your speakers proud 🎵
|}
 
== Technical appendix THD Formulas ==
 
=== THD Percentage (DC1) ===
 
'''Formula:'''
 
<code>THD(%) = (√(H2² + H3² + ... + H9²) / H1) × 100</code>
 
Where:
* H1 = Fundamental amplitude (1st harmonic)
* H2, H3, ..., H9 = Harmonic amplitudes (2nd to 9th)
* √ = Square root
 
'''Example:'''
* H1 (fundamental) = 1.0 V
* H2 = 0.02 V
* H3 = 0.01 V
* H4 = 0.01 V
* (all others = 0)
 
Calculation:
* Harmonics RMS = √(0.02² + 0.01² + 0.01²) = √0.0006 = 0.0245 V
* THD% = (0.0245 / 1.0) × 100 = '''2.45%'''
 
---
 
=== THD in Decibels (DC2) ===
 
'''Formula:'''
 
<code>THD(dB) = 20 × log₁₀(√(H2² + H3² + ... + H9²) / H1)</code>
 
Or from THD%:
 
<code>THD(dB) = 20 × log₁₀(THD% / 100)</code>
 
Where:
* log₁₀ = Base-10 logarithm
* All H values same as above
 
 
'''Example from above:'''
* Ratio = 0.0245 / 1.0 = 0.0245
* log₁₀(0.0245) = -1.611
* THD(dB) = 20 × (-1.611) = '''−32.2 dB'''
 
Or: THD(dB) = 20 × log₁₀(2.45 / 100) = 20 × (−1.611) = '''−32.2 dB'''
 
---
 
=== Quick Conversion Table ===
 
{| class="wikitable"
|-
! THD Percentage !! THD in dB !! Quality Rating
|-
| 0.5% || −46 dB || Excellent (pro audio)
|-
| 1% || −40 dB || Very Good
|-
| 3% || −30 dB || Good
|-
| 5% || −26 dB || Acceptable
|-
| 10% || −20 dB || Fair
|-
| 30% || −10 dB || Poor
|-
| 100% || 0 dB || Unusable
|}
 
 
---
 
=== Three DC Outputs ===


==== Project Structure ====
{| class="wikitable"
{| class="wikitable"
! File !! Role
|-
|-
| thd_gui.py || Graphical user interface (Tkinter)
! Output Channel !! Measurement !! Formula !! Typical Range
|-
| DC1 || THD % || (Harmonics RMS / H1) × 100 || 0 to 100%
|-
|-
| thd_sweep_measurement.py || Core calculation and NVGate communication
| DC2 || THD dB || 20 × log₁₀(ratio) || −200 to 0 dB
|-
|-
| Toolkit NVdrive/ || pynvdrive library to control NVGate
| DC3 || Frequency || Sweep frequency at current point || 0 to 40 kHz
|}
|}


==== Recompiling the Executable ====
---
<syntaxhighlight lang="bash">
 
pyinstaller --onefile --windowed --name "THD_Sweep_Measurement" --add-data "Toolkit NVdrive;Toolkit NVdrive" thd_gui.py
=== Coherence Between DC1 and DC2 ===
</syntaxhighlight>
 
The two THD channels always maintain mathematical coherence. Given DC1 value (THD%), you can always calculate DC2:
 
<code>DC2(dB) = 20 × log₁₀(DC1(%) / 100)</code>
 
'''Example:'''
* If DC1 displays 5.5%
* Then DC2 = 20 × log₁₀(0.055) = 20 × (−1.26) = '''−25.2 dB'''
 
This relationship is guaranteed by the software mathematics.
 
---
 
=== Why Two Formats (% and dB)? ===
 
'''THD %:'''
* Easier to understand for non-technical users
* Direct representation: "5% distortion"
* Useful for product specifications
 
'''THD dB:'''
* Logarithmic scale: easier to see small differences
* Standard in audio/RF engineering
* Used in all standards and specifications
* Better for comparing measurements at different levels


=== ❓ Troubleshooting ===
Both represent the same information, just in different scales.


* '''"Error 4 bytes"''': Network buffer error handled automatically by a 20ms pause. Check local network load if it persists.
---
* '''THD at 0% or --''': Ensure the signal is present in Window1 and the Max marker in Window2 detects a valid frequency (> 0 Hz).
* '''NVGate not connected''': Verify that NVGate is running and the "NVDrive" option is enabled in settings.

Latest revision as of 16:36, 15 April 2026

THD SWEEP MEASUREMENT - USER GUIDE

Master the art of measuring Total Harmonic Distortion with style

 


🎵 THD SWEEP MEASUREMENT
Professional Acoustic Testing Made Simple

---

Install

Download THD measurement :

THD sweep measurement April 2026

Install model

Put the model folder : "THD computation" on model database of NVgate. (By default : C:\OROS\NVGate data\Workbook Library\User\ )

Requirement

NVGate V17 or upper.

Option : DC simulated on NVGate front end.

⚡ QUICK START - 30 SECONDS

STEP ACTION
1️⃣ Launch Launch NVgate in connected mode and load the THD computation model Double-click THD_Sweep_Measurement.exe
2️⃣ Connect Put the sweep sine signal on channel 4️⃣ ; put the response on channel 1️⃣
3️⃣ Start Start the THD_Sweep_Measurement.exe and Click green ▶ START button
4️⃣ Monitor Watch 4 metrics update live , THD and frequency will also be injected on NVGate channels DC simulated.
5️⃣ Stop Click red ■ STOP button

That's it! Your first THD measurement is complete. You're now a certified acoustic engineer. (Not really, but it feels good.)

---


📊 Four Metric Cards

The heart of the interface. These four numbers tell the whole story:

📈
THD (dB)
📊
THD (%)
📡
Frequency

Fundamental
Harmonic distortion (log scale) Harmonic distortion (%) Current sweep point Signal strength
+5.42 dB 58.294 % 1234.56 Hz 5.0e-01 V

🎯 UNDERSTANDING YOUR RESULTS

THD (%) - The Easy Number

What is it? Percentage of unwanted harmonics in your signal.

Think of it this way:

  • THD 5% = 95% pure signal, 5% noise
  • THD 20% = 80% pure signal, 20% noise

The Quality Scale:

🌟 1% - 5% Excellent - Professional grade equipment
✅ 5% - 15% Good - Solid speaker performance
⚠️ 15% - 30% Acceptable - Consumer level equipment
❌ > 30% Poor - Time for an upgrade 🛠️

THD (dB) - The Technical Number

Same measurement as THD (%) but in decibels (logarithmic scale).

Quick Conversion Chart:

THD % THD dB Quality
1% -40 dB 🌟 Perfect
3% -30 dB ✅ Great
10% -20 dB ✅ Good
30% -10 dB ⚠️ Poor

---

⚙️ CONFIGURATION

When Do I Need to Change This?

Honest answer: Almost never.

The default settings work for 95% of users. Only change if your NVGate project has:

  • Different window names
  • Different marker numbers
  • Different DC input addresses

If you're not sure → Don't change anything. It works.

The NVgate Model generate a sweep sine on the output, feel free to modify the settings if you need. We recommand to not put a sweep speed more than 0.05dec/s (or less) in logarithme for accurate results

How to Access Configuration

Click on ▶ Configuration (section expands)

Important Settings

Setting Default When to Change
Window (sweep) Window2 Your sweep FFT has different name
Window (response) Window1 Your response FFT has different name
Number of harmonics 9

How to Apply Changes

  1. Modify field value
  2. Click Apply Configuration
  3. Log displays "Configuration applied" ✓
  4. Done!

---

❓ FREQUENTLY ASKED QUESTIONS

Q: I Have only one channels. Can i take the max marker on windows 1 ?

A: Yes, on this configuration, put windows 1 for window (sweep) and select the good number for the marker.

Q: Is THD 5% good?

A: For a speaker? Excellent! You can be proud of that equipment. 🎉

Q: Why does THD change with frequency?

A: Because speakers aren't perfect at all frequencies. Some frequencies cause more distortion than others. That's physics being weird.

Q: Can I use this on any speaker?

A: Yes! Desktop speakers, studio monitors, subwoofers, car speakers - if it's connected to NVGate, we can measure it.

Q: How many times should I measure?

A: Once for curiosity. Three times for reliability. Ten times if you're publishing a paper.

Q: Can I export the results?

A: Yes! Copy text from the log console and paste into Excel, Word, or wherever you need it.

Q: What if my project has different settings?

A: Use the Configuration panel to adjust. It's literally made for this.

Q: Does this work over WiFi?

A: No. It only works locally (same computer or local network). WiFi would add too much latency.

---

disclaimer

1) This program is delivered free of charge for NVGate V12. Support is not automatically provided on this tool.

2) For any other requests, please contact your local distributor or the OROS Customer Care department.

---

You're Ready!
Go measure some THD and make your speakers proud 🎵

Technical appendix THD Formulas

THD Percentage (DC1)

Formula:

THD(%) = (√(H2² + H3² + ... + H9²) / H1) × 100

Where:

  • H1 = Fundamental amplitude (1st harmonic)
  • H2, H3, ..., H9 = Harmonic amplitudes (2nd to 9th)
  • √ = Square root

Example:

  • H1 (fundamental) = 1.0 V
  • H2 = 0.02 V
  • H3 = 0.01 V
  • H4 = 0.01 V
  • (all others = 0)

Calculation:

  • Harmonics RMS = √(0.02² + 0.01² + 0.01²) = √0.0006 = 0.0245 V
  • THD% = (0.0245 / 1.0) × 100 = 2.45%

---

THD in Decibels (DC2)

Formula:

THD(dB) = 20 × log₁₀(√(H2² + H3² + ... + H9²) / H1)

Or from THD%:

THD(dB) = 20 × log₁₀(THD% / 100)

Where:

  • log₁₀ = Base-10 logarithm
  • All H values same as above


Example from above:

  • Ratio = 0.0245 / 1.0 = 0.0245
  • log₁₀(0.0245) = -1.611
  • THD(dB) = 20 × (-1.611) = −32.2 dB

Or: THD(dB) = 20 × log₁₀(2.45 / 100) = 20 × (−1.611) = −32.2 dB

---

Quick Conversion Table

THD Percentage THD in dB Quality Rating
0.5% −46 dB Excellent (pro audio)
1% −40 dB Very Good
3% −30 dB Good
5% −26 dB Acceptable
10% −20 dB Fair
30% −10 dB Poor
100% 0 dB Unusable


---

Three DC Outputs

Output Channel Measurement Formula Typical Range
DC1 THD % (Harmonics RMS / H1) × 100 0 to 100%
DC2 THD dB 20 × log₁₀(ratio) −200 to 0 dB
DC3 Frequency Sweep frequency at current point 0 to 40 kHz

---

Coherence Between DC1 and DC2

The two THD channels always maintain mathematical coherence. Given DC1 value (THD%), you can always calculate DC2:

DC2(dB) = 20 × log₁₀(DC1(%) / 100)

Example:

  • If DC1 displays 5.5%
  • Then DC2 = 20 × log₁₀(0.055) = 20 × (−1.26) = −25.2 dB

This relationship is guaranteed by the software mathematics.

---

Why Two Formats (% and dB)?

THD %:

  • Easier to understand for non-technical users
  • Direct representation: "5% distortion"
  • Useful for product specifications

THD dB:

  • Logarithmic scale: easier to see small differences
  • Standard in audio/RF engineering
  • Used in all standards and specifications
  • Better for comparing measurements at different levels

Both represent the same information, just in different scales.

---