Table of Contents

Logarithm Scale & dB


Octave & Decade

A logarithmic scale uses decades (factors of 10) or octaves (factors of 2) to represent vast ranges of data, such as frequency, on a compact graph. Decades, useful for spanning magnitudes (10, 100, 1000 Hz), represent a 10:1 ratio, while octaves (doubling) are common in audio.

Power & Voltage gain

It is standard to measure power and voltage gain in decibels:

From now on, we will drop the base of the logarithm; it is understood to be 10.

Bode & Frequency plots in dB

Bode plots (dB vs. frequency) analyze magnitude and phase Bode Plots analyze the phase vs frequency response. Logarithmic scales are used to display frequency response over several orders of magnitude. The gain is expressed in decibels dB, calculated as 20*log10|a|), and frequency is plotted algorithmically.

Logarithmic plots of a transfer function H(jω), or Bode diagrams of H(jω), are two graphs:

  1. A plot of 20 log10 |H(jω)| versus the frequency in log scale (log10 ω)
  2. The phase angle of H(jω) versus the frequency in log scale (log10 ω)

The standard representation of the logarithmic magnitude of H(jω) is 20 log10 |H(jω)| dB

dB to voltage difference

  dB = 20 * log10​(V1/​V2​​)
  V1/V2 = 10^(dB/20)
  
  -46dB -->  V1/V2 = 10^(-46/20) ≈0,00501

Formulas