Difference between revisions of "Modulation Methods/Pulse Code Modulation"

From LNTwww
Line 286: Line 286:
 
*In contrast, for  $N = 4$   ⇒   $M = 16$  deviations between the sink signal (marked in green) and the source signal (marked in white) can already be seen in the image, which is also quantitatively expressed by the very small signal-to-noise ratio  $10 - \lg \ ρ_υ = 28.2 \ \rm dB$  }}.
 
*In contrast, for  $N = 4$   ⇒   $M = 16$  deviations between the sink signal (marked in green) and the source signal (marked in white) can already be seen in the image, which is also quantitatively expressed by the very small signal-to-noise ratio  $10 - \lg \ ρ_υ = 28.2 \ \rm dB$  }}.
  
==Einfluss von Übertragungsfehlern==
+
==Influence of transmission errors==
 
<br>
 
<br>
Ausgehend vom gleichen Analogsignal&nbsp; $q(t)$&nbsp; wie im letzten Abschnitt und einer linearen Quantisierung mit &nbsp;$N = 8$ Bit  &nbsp; ⇒ &nbsp; $M = 256$&nbsp; werden nun die Auswirkungen von Übertragungsfehlern anhand des jeweiligen Sinkensignals&nbsp; $v(t)$&nbsp; verdeutlicht.
+
Starting from the same analog signal&nbsp; $q(t)$&nbsp; as in the last section and a linear quantization with &nbsp;$N = 8$ bits &nbsp; ⇒ &nbsp; $M = 256$&nbsp; the effects of transmission errors are now illustrated using the respective sink signal&nbsp; $v(t)$&nbsp;.
  
[[File:EN_Mod_T_4_1_S7a.png |center|frame| Einfluss eines Übertragungsfehlers bezüglich&nbsp; '''Bit 5'''&nbsp; beim Dualcode]]
+
[[File:EN_Mod_T_4_1_S7a.png |center|frame| Influence of a transmission error concerning&nbsp; '''Bit 5''''&nbsp; at the dual code]]
  
*Die weißen Punkte markieren wieder das Quellensignal&nbsp; $q(t)$.&nbsp; Ohne Übertragungsfehler hat das Sinkensignal&nbsp; $v(t)$&nbsp; bei Vernachlässigung der Quantisierung den gleichen Verlauf.  
+
*The white dots again mark the source signal&nbsp; $q(t)$.&nbsp; Without transmission error the sink signal&nbsp; $v(t)$&nbsp; has the same course when neglecting quantization.  
*Nun wird jeweils genau ein Bit des fünften Abtastwertes&nbsp; $q(5 · T_{\rm A}) = -0.715$&nbsp; verfälscht, wobei dieser Abtastwert mit&nbsp; '''LLHL LHLL'''&nbsp; codiert wurde.&nbsp; Dieser Grafik zugrunde liegt der Dualcode, das heißt, dass das unterste Quantisierungsintervall&nbsp; $(\mu = 0)$&nbsp; mit&nbsp; '''LLLL LLLL'''&nbsp; und das oberste Intervall&nbsp; $(\mu = 255)$&nbsp; mit&nbsp; '''HHHH HHHH'''&nbsp; dargestellt wird.
+
*Now, exactly one bit of the fifth sample at a time&nbsp; $q(5 - T_{\rm A}) = -0.715$&nbsp; is corrupted, where this sample has been coded as&nbsp; '''LLHL LHLL''''&nbsp; . &nbsp; This graph is based on dual code, meaning that the lowest quantization interval&nbsp; $(\mu = 0)$&nbsp; is represented with&nbsp; '''LLLL LLLL''''&nbsp; and the highest interval&nbsp; $(\mu = 255)$&nbsp; is represented with&nbsp; '''HHHH HHHH'''&nbsp;.
  
[[File:EN_Mod_T_4_1_S7b.png |right|frame| Tabelle mit den Ergebnissen der Bitfehleranalyze]]
+
[[File:EN_Mod_T_4_1_S7b.png |right|frame| Table showing the results of the bit error analysis]]
  
  
Die Tabelle zeigt die Ergebnisse dieser Untersuchung:  
+
The table shows the results of this analysis:  
*Der angegebene Störabstand&nbsp; $10 · \lg \ ρ_v$&nbsp; wurde aus dem dargestellten (sehr kurzen) Signalausschnitt der Dauer&nbsp; $10 · T_{\rm A}$&nbsp; berechnet.  
+
*The specified signal-to-noise ratio&nbsp; $10 - \lg \ ρ_v$&nbsp; was calculated from the presented (very short) signal section of duration&nbsp; $10 - T_{\rm A}$&nbsp;.  
  
  
*Bei jeweils einem Fehler bei der Übertragung von&nbsp; $10 · 8 = 80$&nbsp; Bit entspricht dies einer Bitfehlerrate von&nbsp; $1.25\%$.
+
*For each transmission error of&nbsp; $10 - 8 = 80$&nbsp; bits, this corresponds to a bit error rate of&nbsp; $1.25\%$.
 
<br clear=all>
 
<br clear=all>
Die in der Grafik und der Tabelle dargestellten Ergebnisse dieser Fehleranalyze können wie folgt zusammengefasst werden:
+
The results of this error analysis shown in the graph and table can be summarized as follows:
*Wird nur das letzte Bit des Binärwortes verfälscht&nbsp; $($LSB: &nbsp; ''Least Significant Bit,''&nbsp; '''LLHL LHL<u>L</u> &nbsp; ⇒ &nbsp; LLHL LHL<u>H</u>'''$)$,&nbsp; so ist mit bloßem Auge kein Unterschied zur fehlerfreien Übertragung zu erkennen&nbsp; $($weißer Kurvenzug$)$.&nbsp; Trotzdem wird der Störabstand um &nbsp; $3.5 \ \rm dB$&nbsp; vermindert.
+
*If only the last bit of the binary word is corrupted&nbsp; $($LSB: &nbsp; ''Least Significant Bit,''&nbsp; '''LLHL LHL<u>L</u> &nbsp; ⇒ &nbsp; LLHL LHL<u>H</u>'''$)$,&nbsp; then no difference from error-free transmission is visible to the naked eye&nbsp; $($white curve$)$. &nbsp; Nevertheless, the signal-to-noise ratio is reduced by &nbsp; $3.5 \ \rm dB$&nbsp; .
*Ein Übertragungsfehler des viertletzten Bits&nbsp; $($grüne Kurve,&nbsp; '''LLHL<u>L</u>HLL ⇒ LLHL<u>H</u>HLL'''$)$&nbsp; führt bereits zu einer deutlich erkennbaren Verfälschung um acht Quantisierungsintervalle.&nbsp; Das heißt: &nbsp; $v(5T_{\rm A}) \ - \ q(5T_{\rm A}) = 8/256 · 2 = 0.0625$&nbsp; und der Störabstand sinkt auf &nbsp; $10 · \lg \ ρ_υ = 28.2 \ \rm dB$.
+
*A transmission error of the fourth last bit&nbsp; $($green curve,&nbsp; '''LLHL<u>L</u>HLL ⇒ LLHL<u>H</u>HLL'''$)$&nbsp; already leads to a clearly detectable distortion by eight quantization intervals. &nbsp; That is, &nbsp; $v(5T_{\rm A}) \ - \ q(5T_{\rm A}) = 8/256 - 2 = 0.0625$&nbsp; and the signal-to-noise ratio drops to &nbsp; $10 - \lg \ ρ_υ = 28.2 \ \rm dB$.
*Die rote Kurve zeigt schließlich den Fall, dass das MSB&nbsp; (''Most Significant Bit'')&nbsp; verfälscht wird: &nbsp; '''<u>L</u>LHLLHLL ⇒ <u>H</u>LHLLHLL'''.&nbsp; Dies führt zur Verfälschung&nbsp; $v(5T_{\rm A}) \ \ q(5T_{\rm A}) = 1$&nbsp; (entspricht dem halben Aussteuerbereich).&nbsp; Der Störabstand beträgt nun nur mehr etwa &nbsp; $4 \ \rm dB$.
+
*Finally, the red curve shows the case where the MSB&nbsp; (''Most Significant Bit'')&nbsp; is corrupted: &nbsp; '''<u>L</u>LHLLHLL ⇒ <u>H</u>LHLL'''.&nbsp; This leads to distortion&nbsp; $v(5T_{\rm A}) \ - \ q(5T_{\rm A}) = 1$&nbsp; (corresponding to half the modulation range).&nbsp; The signal-to-noise ratio is now only about &nbsp; $4 \ \rm dB$.
*Zu allen Abtastzeitpunkten mit Ausnahme von&nbsp; $5T_{\rm A}$&nbsp; stimmt&nbsp; $v(t)$&nbsp; bis auf den Quantisierungsfehler mit&nbsp; $q(t)$&nbsp; exakt überein.&nbsp; Außerhalb dieser durch gelbe Kreuze markierten Zeitpunkte führt der einzige Fehler bei&nbsp; $5T_{\rm A}$&nbsp; aber in einem ausgedehnten Bereich zu starken Abweichungen, was auf die Interpolation mit der&nbsp; $\rm si$–förmigen Impulsantwort des Rekonstruktionstiefpasses&nbsp; $H(f)$&nbsp; zurückzuführen ist.
+
*At all sampling times except&nbsp; $5T_{\rm A}$&nbsp; matches&nbsp; $v(t)$&nbsp; exactly except for the quantization error with&nbsp; $q(t)$&nbsp; . &nbsp; Outside these time points marked by yellow crosses, however, the single error at&nbsp; $5T_{\rm A}$&nbsp; leads to strong deviations in an extended range, which is due to the interpolation with the&nbsp; $\rm si$-shaped impulse response of the reconstruction low-pass&nbsp; $H(f)$&nbsp; .
  
  
==Abschätzung der SNR-Degradation durch Übertragungsfehler==
+
==Estimation of SNR degradation due to transmission errors.==
 
<br>
 
<br>
Nun soll versucht werden, die SNR–Kurve des PCM–Systems unter Berücksichtigung von Bitfehlern zumindest näherungsweise zu bestimmen.&nbsp; Wir gehen dabei vom folgenden Blockschaltbild aus und setzen weiter voraus:
+
Now we will try to determine the SNR curve of the PCM system taking into account bit errors, at least approximately.&nbsp; We start from the following block diagram and further assume:
*Jeder Abtastwert&nbsp; $q_{\rm A}(νT)$&nbsp; wird mit&nbsp; $M$&nbsp; Stufen quantisiert und mit&nbsp; $N = {\rm log_2} (M)$&nbsp; Binärzeichen (Bit) dargestellt.&nbsp; Im Beispiel gilt&nbsp; $M = 8$ &nbsp; ⇒ &nbsp; $N = 3$.
+
*Each sample&nbsp; $q_{\rm A}(νT)$&nbsp; is quantized by&nbsp; $M$&nbsp; stages and quantized by&nbsp; $N = {\rm log_2} (M)$&nbsp; binary sign (bit).&nbsp; In the example&nbsp; $M = 8$ &nbsp; ⇒ &nbsp; $N = 3$.
*Die Binärdarstellung von&nbsp; $q_{\rm Q}(νT)$&nbsp; liefert die Amplitudenkoeffizienten&nbsp; $a_k\, (k = 1, \text{...} \hspace{0.08cm}, N),$ die durch Bitfehler in die Koeffizienten&nbsp; $b_k$&nbsp; verfälscht werden können.  
+
*The binary representation of&nbsp; $q_{\rm Q}(νT)$&nbsp; yields the amplitude coefficients&nbsp; $a_k\, (k = 1, \text{...} \hspace{0.08cm}, N),$ which can be corrupted by bit errors in the coefficients&nbsp; $b_k$&nbsp; .  
*Sowohl&nbsp; $a_k$&nbsp; als auch&nbsp; $b_k$&nbsp; sind jeweils&nbsp; $±1$.
+
*Both&nbsp; $a_k$&nbsp; and&nbsp; $b_k$&nbsp; are&nbsp; $±1$, respectively.
*Ein Bitfehler&nbsp; $(b_k ≠ a_k)$&nbsp; tritt mit der Wahrscheinlichkeit&nbsp; $p_{\rm B}$&nbsp; auf.  
+
*A bit error&nbsp; $(b_k ≠ a_k)$&nbsp; occurs with probability&nbsp; $p_{\rm B}$&nbsp; .  
*Jedes Bit wird gleichwahrscheinlich verfälscht und in jedem PCM–Wort ist maximal ein Fehler &nbsp; &rArr; &nbsp; nur eines der&nbsp; $N$&nbsp; Bit kann falsch sein.
+
*Each bit is equally likely to be corrupted and in each PCM word there is at most one error &nbsp; &rArr; &nbsp; only one of the&nbsp; $N$&nbsp; bits can be wrong.
  
  
[[File:EN_Mod_T_4_1_S7c.png |right|frame|Zur Berechnung des PCM–SNR mit Berücksichtigung von Bitfehlern]]
+
[[File:EN_Mod_T_4_1_S7c.png |right|frame|For calculating PCM SNR with bit errors taken into account]]
  
Aus dem in der Grafik angegebenen Diagramm ist für&nbsp; $N = 3$&nbsp; und natürliche Binärcodierung (Dualcode) zu erkennen:
+
From the diagram given in the graph, it can be seen for&nbsp; $N = 3$&nbsp; and natural binary coding (dual code):
*Eine Verfälschung von&nbsp; $a_1$&nbsp; verändert den quantisierten Wert&nbsp; $q_{\rm Q}(νT)$&nbsp; um&nbsp; $±A$.
+
*A corruption of&nbsp; $a_1$&nbsp; changes the quantized value&nbsp; $q_{\rm Q}(νT)$&nbsp; by&nbsp; $±A$.
*Eine Verfälschung von&nbsp; $a_2$&nbsp; verändert den quantisierten Wert&nbsp; $q_{\rm Q}(νT)$&nbsp; um&nbsp; $±A/2.$
+
*A corruption of&nbsp; $a_2$&nbsp; changes the quantized value&nbsp; $q_{\rm Q}(νT)$&nbsp; by&nbsp; $±A/2.$.
*Eine Verfälschung von&nbsp; $a_3$&nbsp; verändert den quantisierten Wert Wert&nbsp; $q_{\rm Q}(νT)$&nbsp; um&nbsp; $±A/4$.
+
*A corruption of&nbsp; $a_3$&nbsp; changes the quantized value value&nbsp; $q_{\rm Q}(νT)$&nbsp; by&nbsp; $±A/4$.
 
<br clear=all>
 
<br clear=all>
Durch Verallgemeinerung erhält man für die Abweichung&nbsp; $ε_k = υ_{\rm Q}(νT) \ - \ q_{\rm Q}(νT)$&nbsp; für den Fall, dass der Amplitudenkoeffizient&nbsp; $a_k$&nbsp; falsch übertragen wurde:
+
By generalization, we obtain for the deviation&nbsp; $ε_k = υ_{\rm Q}(νT) \ - \ q_{\rm Q}(νT)$&nbsp; for the case when the amplitude coefficient&nbsp; $a_k$&nbsp; was transferred incorrectly:
 
:$$\varepsilon_k = - a_k \cdot A \cdot 2^{-k +1}
 
:$$\varepsilon_k = - a_k \cdot A \cdot 2^{-k +1}
 
  \hspace{0.05cm}.$$
 
  \hspace{0.05cm}.$$
  
Für die&nbsp; '''Fehlerrauschleistung'''&nbsp; erhält man nach Mittelung über alle Verfälschungswerte&nbsp; $ε_k$&nbsp; (mit&nbsp; $1 ≤ k ≤ N)$&nbsp; unter Berücksichtigung der Bitfehlerwahrscheinlichkeit&nbsp; $p_{\rm B}$:  
+
For the&nbsp; '''error noise power'''&nbsp; after averaging over all corruption values&nbsp; $ε_k$&nbsp; (with&nbsp; $1 ≤ k ≤ N)$&nbsp; taking into account the bit error probability&nbsp; $p_{\rm B}$:  
:$$P_{\rm F}= {\rm E}\big[\varepsilon_k^2 \big]   = \sum\limits^{N}_{k = 1} p_{\rm B} \cdot \left ( - a_k \cdot A \cdot 2^{-k +1} \right )^2 =\ p_{\rm B} \cdot A^2 \cdot \sum\limits^{N-1}_{k = 0} 2^{-2k } = p_{\rm B} \cdot A^2 \cdot \frac{1- 2^{-2N }}{1- 2^{-2 }} \approx {4}/{3} \cdot p_{\rm B} \cdot A^2 \hspace{0.05cm}.$$
+
:$$P_{\rm F}= {\rm E}\big[\varepsilon_k^2 \big] = \sum\limits^{N}_{k = 1} p_{\rm B} \cdot \left ( - a_k \cdot A \cdot 2^{-k +1} \right )^2 =\ p_{\rm B} \cdot A^2 \cdot \sum\limits^{N-1}_{k = 0} 2^{-2k } = p_{\rm B} \cdot A^2 \cdot \frac{1- 2^{-2N }}{1- 2^{-2 }} \approx {4}/{3} \cdot p_{\rm B} \cdot A^2 \hspace{0.05cm}.$$
  
*Hierbei ist die Summenformel der geometrischen Reihe sowie die Näherung&nbsp; $1 2^{–2N } ≈ 1$&nbsp; verwendet.  
+
*Here the summation formula of the geometric series and the approximation&nbsp; $1 - 2^{-2N } ≈ 1$&nbsp; are used.  
*Für&nbsp; $N = 8$ &nbsp; ⇒ &nbsp; $M = 256$&nbsp; beträgt der damit verbundene relative Fehler beispielsweise etwa&nbsp; $\rm 10^{–5}$.  
+
*For&nbsp; $N = 8$ &nbsp; ⇒ &nbsp; $M = 256$&nbsp; the associated relative error is, for example, about&nbsp; $\rm 10^{-5}$.  
  
  
Ohne Berücksichtigung von Übertragungsfehlern hat sich für das Signal–zu–Rausch–Leistungsverhältnis&nbsp; $ρ_v = P_{\rm S}/P_{\rm Q}$&nbsp; ergeben, wobei bei einem gleichverteilten Quellensignal&nbsp; (zum Beispiel sägezahnförmig)&nbsp; die Signalleistung und die Quantisierungsrauschleistung wie folgt zu berechnen ist:
+
Excluding transmission errors, the signal-to-noise power ratio&nbsp; $ρ_v = P_{\rm S}/P_{\rm Q}$&nbsp; has been found, where for a uniformly distributed source signal&nbsp; (for example, sawtooth-shaped)&nbsp; the signal power and quantization noise power are to be calculated as follows:
[[File:P_ID1904__Mod_T_4_1_S7d_ganz_neu.png |right|frame| Sinken–SNR für PCM unter Berücksichtigung von Bitfehlern]]  
+
[[File:P_ID1904__Mod_T_4_1_S7d_ganz_neu.png |right|frame| Sink SNR for PCM considering bit errors]]  
 
:$$P_{\rm S}={A^2}/{3}\hspace{0.05cm},\hspace{0.3cm}P_{\rm Q}= {A^2}/{3} \cdot 2^{-2N } \hspace{0.05cm}.$$
 
:$$P_{\rm S}={A^2}/{3}\hspace{0.05cm},\hspace{0.3cm}P_{\rm Q}= {A^2}/{3} \cdot 2^{-2N } \hspace{0.05cm}.$$
Unter Berücksichtigung der Übertragungsfehler erhält man mit obigem Ergebnis:  
+
Taking into account the transfer errors, the above result gives:  
:$$\rho_{\upsilon}= \frac{P_{\rm S}}{P_{\rm Q}+P_{\rm F}} = \frac{A^2/3}{A^2/3 \cdot 2^{-2N } + A^2/3 \cdot 4 \cdot p_{\rm B}} = \frac{1}{ 2^{-2N } + 4 \cdot p_{\rm B}} \hspace{0.05cm}.$$
+
:$$\rho_{\upsilon}= \frac{P_{\rm S}}{P_{\rm Q}+P_{\rm F}} = \frac{A^2/3}{A^2/3 \cdot 2^{-2N } + A^2/3 \cdot 4 \cdot p_{\rm B}} = \frac{1}{ 2^{-2N } + 4 \cdot p_{\rm B}} \hspace{0.05cm}.$$
  
Die Grafik zeigt &nbsp;$10 · \lg ρ_v$&nbsp; in Abhängigkeit der (logarithmierten) Leistungskenngröße&nbsp; $ξ = P_{\rm S}/(N_0 · B_{\rm NF})$, wobei&nbsp; $B_{\rm NF}$&nbsp; die Signalbandbreite angibt.&nbsp; Der konstante Kanalübertragungsfaktor sei idealerweise&nbsp; $α_{\rm K} = 1$.  
+
The graph shows &nbsp;$10 - \lg ρ_v$&nbsp; as a function of the (logarithmized) power parameter&nbsp; $ξ = P_{\rm S}/(N_0 - B_{\rm NF})$, where&nbsp; $B_{\rm NF}$&nbsp; indicates the signal bandwidth.&nbsp; Let the constant channel transmission factor be ideally&nbsp; $α_{\rm K} = 1$.  
  
*Beim optimalen Binärsystem und AWGN–Rauschen gilt aber für die Leistungskenngröße auch&nbsp; $ξ = E_{\rm B}/N_0$&nbsp; (Energie pro Bit bezogen auf die Rauschleistungsdichte).
+
*But for the optimal binary system and AWGN noise, the power parameter is also&nbsp; $ξ = E_{\rm B}/N_0$&nbsp; (energy per bit related to noise power density).
* Die Bitfehlerwahrscheinlichkeit ist dann mit der Gaußschen Fehlerfunktion&nbsp; ${\rm Q}(x)$&nbsp; wie folgt gegeben:
+
* The bit error probability is then given by the Gaussian error function&nbsp; ${\rm Q}(x)$&nbsp; as follows:
 
:$$p_{\rm B}= {\rm Q} \left ( \sqrt{{2E_{\rm B}}/{N_0} }\right ) \hspace{0.05cm}.$$
 
:$$p_{\rm B}= {\rm Q} \left ( \sqrt{{2E_{\rm B}}/{N_0} }\right ) \hspace{0.05cm}.$$
*Für&nbsp; $N = 8$ &nbsp; ⇒ &nbsp; $ 2^{–2{\it N} } = 1.5 · 10^{–5}$&nbsp; sowie&nbsp; $10 · \lg \ ξ = 6 \ \rm dB$ &nbsp; ⇒ &nbsp; $p_{\rm B} = 0.0024$&nbsp; (rot markierter Punkt) ergibt sich:  
+
*For&nbsp; $N = 8$ &nbsp; ⇒ &nbsp; $ 2^{-2{\it N} } = 1.5 - 10^{-5}$&nbsp; and&nbsp; $10 - \lg \ ξ = 6 \ \rm dB$ &nbsp; ⇒ &nbsp; $p_{\rm B} = 0.0024$&nbsp; (point marked in red) results:  
:$$\rho_{\upsilon}= \frac{1}{ 1.5 \cdot 10^{-5} + 4 \cdot 0.0024} \approx 100 \hspace{0.3cm} \Rightarrow \hspace{0.3cm}10 \cdot {\rm lg} \hspace{0.15cm}\rho_{\upsilon}\approx 20\,{\rm dB}
+
:$$\rho_{\upsilon}= \frac{1}{ 1.5 \cdot 10^{-5} + 4 \cdot 0.0024} \approx 100 \hspace{0.3cm} \Rightarrow \hspace{0.3cm}10 \cdot {\rm lg} \hspace{0.15cm}\rho_{\upsilon}\approx 20\,{\rm dB}
 
  \hspace{0.05cm}.$$
 
  \hspace{0.05cm}.$$
*Dieser kleine &nbsp;$ρ_v$–Wert geht auf den Term &nbsp;$4 · 0.0024$&nbsp; im Nenner&nbsp; (Einfluss des Übertragungsfehlers)&nbsp; zurück, während im horizontalen Kurvenabschnitt für jedes&nbsp; $N$&nbsp; (Bitanzahl pro Abtastwert) der Term &nbsp;$\rm 2^{–2{\it N} }$&nbsp; dominiert – also das Quantisierungsrauschen.  
+
*This small &nbsp;$ρ_v$ value goes back to the term &nbsp;$4 · 0.0024$&nbsp; in the denominator&nbsp; (influence of the transmission error)&nbsp; while in the horizontal section of the curve for each&nbsp; $N$&nbsp; (number of bits per sample) the term &nbsp;$\rm 2^{-2{\it N} }$&nbsp; dominates - i.e. the quantization noise.
 
+
==Nonlinear quantization==
==Nichtlineare Quantisierung==
 
 
<br>
 
<br>
Häufig werden die Quantisierungsintervalle nicht gleich groß gewählt, sondern man verwendet für den inneren Amplitudenbereich eine feinere Quantisierung als für große Amplituden.&nbsp; Dafür gibt es mehrere Gründe:  
+
Often the quantization intervals are not chosen equally large, but one uses a finer quantization for the inner amplitude range than for large amplitudes.&nbsp; There are several reasons for this:  
*Bei Audiosignalen werden Verfälschungen der leisen Signalanteile&nbsp; (also Werte in der Nähe der Nulllinie)&nbsp; subjektiv als störender empfunden als eine Beeinträchtigung großer Amplitudenwerte.  
+
*In audio signals, distortions of the quiet signal components&nbsp; (i.e. values near the zero line)&nbsp; are subjectively perceived as more disturbing than an impairment of large amplitude values.  
*Eine solche ungleichmäßige Quantisierung führt bei einem solchen Musik– oder Sprachsignal auch zu einem größeren Sinkenstörabstand, da hier die Signalamplitude nicht gleichverteilt ist.  
+
*Such an uneven quantization also leads to a larger sink-interval for such a music or speech signal, because here the signal amplitude is not evenly distributed.  
  
  
Die Grafik zeigt ein Sprachsignal&nbsp; $q(t)$&nbsp; und dessen Amplitudenverteilung&nbsp; $f_q(q)$ &nbsp; &rArr; &nbsp; [[Theory_of_Stochastic_Signals/Wahrscheinlichkeitsdichtefunktion|Wahrscheinlichkeitsdichtefunktion]].&nbsp;  
+
The graph shows a speech signal&nbsp; $q(t)$&nbsp; and its amplitude distribution&nbsp; $f_q(q)$ &nbsp; &rArr; &nbsp; [[Theory_of_Stochastic_Signals/Probability_Density_Function|Probability density function]].&nbsp;  
  
[[File:EN_Mod_T_4_1_S8a.png|right|frame| Ungleichmäßige Quantisierung eines Sprachsignals]]
+
[[File:EN_Mod_T_4_1_S8a.png|right|frame|Uniform quantization of a speech signal]]
Es handelt sich um die&nbsp; [[Theory_of_Stochastic_Signals/Exponentialverteilte_Zufallsgrößen#Zweiseitige_Exponentialverteilung_.E2.80.93_Laplaceverteilung|Laplaceverteilung]], die man wie folgt annähern kann:   
+
This is the&nbsp; [[Theory_of_Stochastic_Signals/Exponentially_Distributed_Random_Variables#Two-sided_exponential_distribution_-_Laplace_distribution|Laplace distribution]], which can be approximated as follows:   
*durch eine kontinuierliche, zweiseitige Exponentialverteilung, und
+
*by a continuous two-sided exponential distribution, and.
*durch eine Diracfunktion&nbsp; $δ(q)$&nbsp; zur Berücksichtigung der Sprachpausen (magentafarben).
+
*by a Dirac function&nbsp; $δ(q)$&nbsp; to account for the speech pauses (magenta colored).
  
 
   
 
   
In der Grafik ist die nichtlineare Quantisierung  nur angedeutet, zum Beispiel mittels der 13–Segment–Kennlinie, die in der&nbsp; [[Aufgaben:4.5_Nichtlineare_Quantisierung|Aufgabe 4.5]]&nbsp; genauer beschrieben ist:  
+
In the graph, nonlinear quantization is only implied, for example, by means of the 13-segment characteristic, which is described in more detail in the&nbsp; [[Aufgaben:Exercise_4.5:_Non-Linear_Quantization|Exercise 4.5]]&nbsp;:  
*Die Quantisierungsintervalle werden hierbei zu den Rändern hin abschnittsweise immer breiter.  
+
*The quantization intervals here become wider and wider towards the edges section by section.  
*Die häufigeren kleinen Amplituden werden dagegen sehr fein quantisiert.  
+
*The more frequent small amplitudes, on the other hand, are quantized very finely.  
  
==Kompression und Expandierung==
+
==Compression and expansion==
 
<br>
 
<br>
Eine ungleichmäßige Quantisierung kann zum Beispiel dadurch realisiert werden, in dem
+
Non-uniform quantization can be realized, for example, by.
*die abgetasteten Werte &nbsp;$q_{\rm A}(ν · T_{\rm A})$&nbsp; zunächst durch eine nichtlineare Kennlinie &nbsp;$q_{\rm K}(q_{\rm A})$&nbsp; verformt und
+
*the sampled values &nbsp;$q_{\rm A}(ν - T_{\rm A})$&nbsp; are first deformed by a nonlinear characteristic &nbsp;$q_{\rm K}(q_{\rm A})$&nbsp; and
*anschließend die entstehenden Ausgangswerte &nbsp;$q_{\rm K}(ν · T_{\rm A})$&nbsp; gleichmäßig quantisiert werden.  
+
*subsequently, the resulting output values &nbsp;$q_{\rm K}(ν · T_{\rm A})$&nbsp; are uniformly quantized.  
  
[[File:EN_Mod_T_4_1_S8b.png |Right|frame| Realisierung einer ungleichmäßigen Quantisierung]]
+
[[File:EN_Mod_T_4_1_S8b.png |Right|frame| Realization of a non-uniform quantization]]
  
  
Line 387: Line 386:
  
  
Damit ergibt sich die nebenstehend skizzierte Signalkette.  
+
This results in the signal chain sketched opposite.  
 
<br clear=all>
 
<br clear=all>
 
{{BlaueBox|TEXT=
 
{{BlaueBox|TEXT=
$\text{Fazit:}$&nbsp; Eine solche ungleichmäßige Quantisierung bedeutet:  
+
$\text{Conclusion:}$&nbsp; Such non-uniform quantization means:  
*Durch die nichtlineare Kennlinie&nbsp; $q_{\rm K}(q_{\rm A})$&nbsp; werden kleine Signalwerte verstärkt und große Werte abgeschwächt &nbsp; ⇒ &nbsp; '''Kompression'''.  
+
*Through the nonlinear characteristic&nbsp; $q_{\rm K}(q_{\rm A})$&nbsp; small signal values are amplified and large values are attenuated &nbsp; ⇒ &nbsp; '''Compression'''.  
*Diese bewusste Signalverzerrung macht man beim Empfänger durch die Umkehrfunktion&nbsp; $v_{\rm E}(υ_{\rm Q})$&nbsp; rückgängig &nbsp; ⇒ &nbsp; '''Expandierung'''.  
+
*This deliberate signal distortion is undone at the receiver by the inverse function&nbsp; $v_{\rm E}(υ_{\rm Q})$&nbsp; &nbsp; ⇒ &nbsp; '''expansion'''.  
*Den Gesamtvorgang von sendeseitiger Kompression und empfängerseitiger Expansion nennt man auch&nbsp; '''Kompandierung'''.}}  
+
*The total process of transmit-side compression and receiver-side expansion is also called&nbsp; '''companding.''}}  
  
  
Für das PCM–System 30/32 wurde von der&nbsp; ''Comité Consultatif International des Télégraphique et Téléphonique''&nbsp; (CCITT) die so genannte  A–Kennlinie empfohlen:  
+
For the PCM system 30/32, the&nbsp; ''Comité Consultatif International des Télégraphique et Téléphonique''&nbsp; (CCITT) recommended the so-called A characteristic:  
:$$y(x) = \left\{ \begin{array}{l} \frac{1 + {\rm ln}(A \cdot x)}{1 + {\rm ln}(A)}  \\ \frac{A \cdot x}{1 + {\rm ln}(A)}  \\ - \frac{1 + {\rm ln}( - A \cdot x)}{1 + {\rm ln}(A)} \\  \end{array} \right.\quad\begin{array}{*{5}c}{\rm{f\ddot{u}r}}\\{\rm{f\ddot{u}r}}\\{\rm{f\ddot{u}r}}  \\ \end{array}\begin{array}{*{10}c}1/A \le x \le 1\hspace{0.05cm}, \\ - 1/A \le x \le 1/A\hspace{0.05cm}, \\ - 1 \le x \le - 1/A\hspace{0.05cm}.  \\ \end{array}$$
+
:$$y(x) = \left\{ \begin{array}{l} \frac{1 + {\rm ln}(A \cdot x)}{1 + {\rm ln}(A)}  \\ \frac{A \cdot x}{1 + {\rm ln}(A)}  \ - \frac{1 + {\rm ln}( - A \cdot x)}{1 + {\rm ln}(A)} \end{array} \right.\quad\begin{array}{*{5}c}{\rm{for}}\\{\rm{for}}\\{\rm{for}}  \end{array}\begin{array}{*{10}c}1/A \le x \le 1\hspace{0.05cm}, \ - 1/A \le x \le 1/A\hspace{0.05cm}, \ - 1 \le x \le - 1/A\hspace{0.05cm}.  \end{array}$$
  
*Hierbei ist zur Abkürzung &nbsp;$x = q_{\rm A}(ν · T_{\rm A})$ und $y = q_{\rm K}(ν · T_{\rm A})$&nbsp; verwendet.
+
*Here, for abbreviation &nbsp;$x = q_{\rm A}(ν - T_{\rm A})$ and $y = q_{\rm K}(ν - T_{\rm A})$&nbsp; is used.
* Diese Kennlinie mit dem in der Praxis eingeführten Wert &nbsp;$A = 87.56$&nbsp; hat eine sich ständig ändernde Steigung.  
+
*This characteristic curve with the value &nbsp;$A = 87.56$&nbsp; introduced in practice has a constantly changing slope.  
*Nähere Angaben zu dieser Art der ungleichmäßigen Quantisierung finden Sie in der&nbsp; [[Aufgaben:4.5Z_Quantisierungskennlinien|Aufgabe 4.5]].   
+
*For more details on this type of non-uniform quantization, see the&nbsp; [[Aufgaben:Exercise_4.6:_Quantization_Characteristics|Exercise 4.5]].   
  
  
''Hinweis:'' &nbsp; Im dritten Teil des Lernvideos&nbsp; [[Pulscodemodulation_(Lernvideo)|Pulscodemodulation]]&nbsp; werden behandelt:  
+
''Note:'' &nbsp; In the third part of the tutorial video&nbsp; [[Pulscodemodulation_(Lernvideo)|Pulse code modulation]]&nbsp; are covered:  
*die Definition des Signal–zu–Rausch–Leistungsverhältnisses (SNR),  
+
*the definition of signal-to-noise power ratio (SNR),  
*der Einfluss von Quantisierungsrauschen und Übertragungsfehlern,  
+
*the influence of quantization noise and transmission errors,  
*die Unterschiede zwischen linearer und nichtlinearer Quantisierung.
+
*the differences between linear and nonlinear quantization.
  
  
  
==Aufgaben zum Kapitel==
+
==Exercises for the chapter==
 
<br>
 
<br>
[[Aufgaben:Aufgabe_4.1:_PCM–System_30/32|Aufgabe 4.1: PCM–System 30/32]]
+
[[Aufgaben:Exercise_4.1:_PCM_System_30/32|Exercise 4.1: PCM System 30/32]]
  
[[Aufgaben:Aufgabe_4.2:_Tiefpass_zur_Signalrekonstruktion|Aufgabe 4.2: Tiefpass zur Signalrekonstruktion]]
+
[[Aufgaben:Exercise_4.2:_Low-Pass_for_Signal_Reconstruction|Exercise 4.2: Low-Pass for Signal Reconstruction]]
  
[[Aufgaben:Aufgabe_4.2Z:_Zum_Abtasttheorem|Aufgabe 4.2Z: Zum Abtasttheorem]]
+
[[Aufgaben:Exercise_4.2Z:_About_the_Sampling_Theorem|Exercise 4.2Z: About the Sampling Theorem]]
  
[[Aufgaben:Aufgabe_4.3:_Natürliche_und_diskrete_Abtastung|Aufgabe 4.3: Natürliche und diskrete Abtastung]]
+
[[Aufgaben:Exercise_4.3:_Natural_and_Discrete_Sampling|Exercise 4.3: Natural and Discrete Sampling]]
  
[[Aufgaben:Aufgabe_4.4:_Zum_Quantisierungsrauschen|Aufgabe 4.4: Zum Quantisierungsrauschen]]
+
[[Aufgaben:Exercise_4.4:_About_the_Quantization_Noise|Exercise 4.4: About the Quantization Noise]]
  
[[Aufgaben:Aufgabe_4.4Z:_Störabstand_bei_PCM|Aufgabe 4.4Z: Störabstand bei PCM]]
+
[[Aufgaben:Exercise_4.4Z:_Signal-to-Noise_Ratio_with_PCM|Exercise 4.4Z: Signal-to-Noise Ratio with PCM]]
  
[[Aufgaben:Aufgabe_4.5:_Nichtlineare_Quantisierung|Aufgabe 4.5: Nichtlineare Quantisierung]]
+
[[Aufgaben:Exercise_4.5:_Non-Linear_Quantization|Exercise 4.5: Non-Linear Quantization]]
  
[[Aufgaben:Aufgabe_4.6:_Quantisierungskennlinien|Aufgabe 4.6: Quantisierungskennlinien]]
+
[[Aufgaben:Exercise_4.6:_Quantization_Characteristics|Exercise 4.6: Quantization Characteristics]]
  
  
 
{{Display}}
 
{{Display}}

Revision as of 15:42, 19 March 2022

# OVERVIEW OF THE FOURTH MAIN CHAPTER #


The fourth chapter deals with the digital modulation methods  Amplitude Shift Keying  (ASK),  Phase Shift Keying  (PSK) and  Frequency Shift Keying  (FSK) as well as some modifications derived from them.  Most of the properties of the analog modulation methods mentioned in the last two chapters still apply.  Differences result from the now required decision component of the receiver.

We restrict ourselves here essentially to the system-theoretical and transmission aspects.  The error probability is given only for ideal conditions.  The derivations and the consideration of non-ideal boundary conditions can be found in the book  "Digital Signal Transmission".

In detail are treated:

  • the  Pulse Code Modulation  (PCM)  and its components sampling - quantization - coding,
  • the  linear modulation  ASK, BPSK and DPSK and associated demodulators,
  • the  quadrature amplitude modulation  (QAM)  and more complicated signal space mappings,
  • the FSK - Frequency Shift Keying  as an example of nonlinear digital modulation,
  • the FSK with  continuous phase matching, especially the (G)MSK method.


Principle and block diagram


Almost all modulation methods used today work digitally.  Their advantages have already been mentioned in  first chapter  this book.  The first concept for digital signal transmission was already developed in 1938 by  Alec Reeves  and has also been used in practice since the 1960s under the name  Pulse Code Modulation  $\rm (PCM)$  Even though many of the digital modulation methods conceived in recent years differ from PCM in detail, it is very well suited to explain the principle of all these methods.

Principle of Pulse Code Modulation  $\rm (PCM)]$


The exercise of the PCM system is to,

  • convert the analog source signal  $q(t)$  into the binary signal  $q_{\rm C}(t)$  - this process is also called   A/D conversion,
  • transmitting this signal over the channel, where the receiver side signal  $v_{\rm C}(t)$  is also binary because of the decision maker,
  • to reconstruct exclusively from the binary signal  $v_{\rm C}(t)$  the analog as well as value and time continuous sink signal  $v(t)$    ⇒   D/A conversion.


Further to the above PCM block diagram, it should be noted:

  • The PCM transmitter (or the A/D converter) is composed of the three function blocks  Sampling - Quantization - PCM Coding  which will be described in more detail in the next sections.
  • The block with gray background shows the digital transmission system with digital transmitter and receiver (the latter also includes a decision maker), and the analog transmission channel, characterized by the frequency response  $H_{\rm K}(f)$  and the noise power density  ${\it Φ}_n(f)$.
  • This block is covered in detail in the first three chapters of the book  Digital Signal Transmission  In chapter 5 of the same book, you will also find digital channel models that phenomenologically describe the transmission behavior using the binary signals  $q_{\rm C}(t)$  and  $v_{\rm C}(t)$  .
  • Further, it can be seen from the above block diagram that there is no equivalent for quantization at the receiver end  Therefore, even with error-free transmission, i.e., for  $v_{\rm C}(t) = q_{\rm C}(t)$, the analog sink signal  $v(t)$  will differ from the source signal  $q(t)$  .
  • As a measure of the quality of the (digital) transmission system, we use the  Signal-to-Noise Power Ratio   ⇒   in short:   Sink-SNR  as the quotient of the powers of useful signal  $q(t)$  and fault signal  $ε(t) = v(t) - q(t)$:
$$\rho_{v} = \frac{P_q}{P_\varepsilon}\hspace{0.3cm} {\rm with}\hspace{0.3cm}P_q = \overline{[q(t)]^2}, \hspace{0.2cm}P_\varepsilon = \overline{[v(t) - q(t)]^2}\hspace{0.05cm}.$$
  • Here, an ideal amplitude matching is assumed, so that in the ideal case  (that is:   sampling according to the sampling theorem, best possible signal reconstruction, infinitely fine quantization)  the sink signal  $v(t)$  would exactly match the source signal  $q(t)$ .


We would like to refer you already here to the three-part learning video  Pulse Code Modulation  which contains all aspects of PCM.  Its principle is explained in detail in the first part of the video.

Sampling and signal reconstruction


Sampling - that is, time discretization of the analog signal  $q(t)$  - was covered in detail in the chapter  Discrete-Time Signal Representation  of the book "Signal Representation."  Here follows a brief summary of that section.

Time domain representation of sampling

The graph illustrates sampling in the time domain.  The (blue) signal  $q(t)$  is time continuous, the (green) signal sampled at a distance  $T_{\rm A}$  is discrete-time.  Here:

  • The sampling can be calculated by multiplying the analog signal  $q(t)$  by the  Diracpulse in time domain   ⇒   $p_δ(t)$  represent:
$$q_{\rm A}(t) = q(t) \cdot p_{\delta}(t)\hspace{0.3cm} {\rm with}\hspace{0.3cm}p_{\delta}(t)= \sum_{\nu = -\infty}^{\infty}T_{\rm A}\cdot \delta(t - \nu \cdot T_{\rm A}) \hspace{0.05cm}.$$.
  • The weight of the Dirac function at  $t = ν - T_{\rm A}$  is equal to  $T_{\rm A} - q(ν - T_{\rm A})$.  Since the Dirac function  $δ(t)$  has the unit  $\rm 1/s$  thus  $q_{\rm A}(t)$  has the same unit as  $q(t)$, for example "V".
  • The Fourier transform of the Dirac pulse  $p_δ(t)$  is also a Dirac pulse  (but now in the frequency domain)   ⇒   $P_δ(f)$, where the spacing of the individual Dirac lines  $f_{\rm A} = 1/T_{\rm A}$  is.   All momentum weights of  $P_δ(f)$  are  $1$:
$$p_{\delta}(t)= \sum_{\nu = -\infty}^{+\infty}T_{\rm A}\cdot \delta(t - \nu \cdot T_{\rm A}) \hspace{0.2cm}\circ\!\!\!\!\!\!\!\!\bullet\, \hspace{0.2cm} P_{\delta}(f)= \sum_{\mu = -\infty}^{+\infty} \delta(f - \mu \cdot f_{\rm A}) \hspace{0.05cm}.$$
  • The spectrum  $Q_{\rm A}(f)$  of the sampled signal is obtained from the  Convolution Theorem, where  $Q(f)$  denotes the continuous spectrum of the analog signal  $q(t)$  :
$$Q_{\rm A}(f) = Q(f) \star P_{\delta}(f)= \sum_{\mu = -\infty}^{+\infty} Q(f - \mu \cdot f_{\rm A}) \hspace{0.05cm}.$$

We refer you here to the second part of the tutorial video  Pulse Code Modulation  which explains sampling and signal reconstruction in terms of system theory.

$\text{Example 1:}$  The top graph schematically shows the spectrum  $Q(f)$  of an analog source signal  $q(t)$  with frequencies up to  $f_{\rm N, \ max} = 5 \ \rm kHz$.

Periodic continuation of the spectrum by sampling


  • If one samples  $q(t)$  with the sampling rate  $f_{\rm A} = 20 \ \rm kHz$  $($so at the respective distance $T_{\rm A} = 50 \ \rm µ s)$ , one obtains the periodic spectrum sketched in green  $Q_{\rm A}(f)$.
  • Since the Dirac functions are infinitely narrow,  $q_{\rm A}(t)$  also contains arbitrary high frequency components and accordingly  $Q_{\rm A}(f)$  is extended to infinity (middle graph).
  • Drawn below (in red) is the spectrum  $Q_{\rm A}(f)$  for the sampling parameters  $T_{\rm A} = 100 \ \rm µ s$   ⇒   $f_{\rm A} = 10 \ \rm kHz$.


$\text{Conclusion:}$  From this example, the following important lessons can be learned regarding sampling:

  • If  $Q(f)$  contains frequencies up to  $f_\text{N, max}$, then according to the  Sampling theorem  the sampling rate  $f_{\rm A} ≥ 2 - f_\text{N, max}$  should be chosen.  At smaller sampling rate  $f_{\rm A}$  $($thus larger spacing $T_{\rm A})$  overlaps of the periodized spectra occur, i.e. irreversible distortions.
  • If exactly  $f_{\rm A} = 2 - f_\text{N, max}$  as in the lower graph of  $\text{Example 1}$, then  $Q(f)$  can be calculated from  $Q_{\rm A}(f)$  - resp. in  PCM system  $V(f)$  from  $V_{\rm Q}(f)$ - can be completely reconstructed by an ideal rectangular low-pass filter  $H(f)$  with cutoff frequency  $f_{\rm G} = f_{\rm A}/2$  .
  • On the other hand, if sampling is performed with  $f_{\rm A} > 2 - f_\text{N, max}$  as in the middle graph of the example, a low-pass filter  $H(f)$  with a smaller slope can also be used on the receiver side for signal reconstruction, as long as the following condition is met:
$$H(f) = \left\{ \begin{array}{l} 1 \\ 0 \\ \end{array} \right.\quad \begin{array}{*{5}c}{\rm{for} } \\{\rm{for} } \\ \end{array}\begin{array}{*{10}c} {\hspace{0.04cm}\left \vert \hspace{0.005cm} f\hspace{0.05cm} \right \vert \le f_{\rm N, \hspace{0.05cm}max},} \\ {\hspace{0.04cm}\left \vert\hspace{0.005cm} f \hspace{0.05cm} \right \vert \ge f_{\rm A}- f_{\rm N, \hspace{0.05cm}max}.} \\ \end{array}$$

Natural and discrete sampling


Multiplication by the Dirac pulse provides only an idealized description of the sampling, since a Dirac function  $($duration $T_{\rm R} → 0$,  height $1/T_{\rm R} → ∞)$  is not realizable.  In practice, the Dirac pulse  $p_δ(t)$  must be replaced, for example, by a square pulse

$$p_{\rm R}(t)= \sum_{\nu = -\infty}^{+\infty}g_{\rm R}(t - \nu \cdot T_{\rm A})\hspace{0.3cm} {\rm mit}\hspace{0.3cm} g_{\rm R}(t) = \left\{ \begin{array}{l} 1 \\ 1/2 \\ 0 \\ \end{array} \right.\quad \begin{array}{*{5}c}{\rm{f\ddot{u}r}}\\{\rm{f\ddot{u}r}} \\{\rm{f\ddot{u}r}} \\ \end{array}\begin{array}{*{10}c}{\hspace{0.04cm}\left|\hspace{0.06cm} t \hspace{0.05cm} \right|} < T_{\rm R}/2\hspace{0.05cm}, \\{\hspace{0.04cm}\left|\hspace{0.06cm} t \hspace{0.05cm} \right|} = T_{\rm R}/2\hspace{0.05cm}, \\ {\hspace{0.005cm}\left|\hspace{0.06cm} t \hspace{0.05cm} \right|} > T_{\rm R}/2\hspace{0.05cm} \\ \end{array}$$

where the rectangular pulse duration  $T_{\rm R}$  should be significantly smaller than the sampling distance  $T_{\rm A}$ .

The graph above shows the square pulse  $p_{\rm R}(t)$.  Below are two different sampling methods using this square pulse:

square pulse (top) and natural and discrete sampling
  • In  natural sampling  the sampled signal  $q_{\rm A}(t)$  is obtained by multiplying  $q(t)$  by  $p_{\rm R}(t)$.   In the ranges  $p_{\rm R}(t) = 1$  thus  $q_{\rm A}(t)$  has the same progression as  $q(t)$.


  • In  discrete sampling  the signal  $q(t)$  is - at least mentally - first multiplied by the Dirac pulse  $p_δ(t)$  Then each Dirac pulse  $T_{\rm A} - δ(t - ν - T_{\rm A})$  is replaced by a square pulse  $g_{\rm R}(t - ν - T_{\rm A})$  .


Here and in the following frequency domain consideration, an acausal description form is chosen for simplicity.  For a (causal) realization,  $g_{\rm R}(t) = 1$  would have to hold in the range from  $0$  to  $T_{\rm R}$  and not as here for  $ \ -T_{\rm R}/2 < t < T_{\rm R}/2.$


Frequency domain view of natural sampling


$\text{Definition:}$  The  natural sampling  can be represented by the convolution theorem in the spectral domain as follows:

$$q_{\rm A}(t) = p_{\rm R}(t) \cdot q(t) = \left [ \frac{1}{T_{\rm A} } \cdot p_{\rm \delta}(t) \star g_{\rm R}(t)\right ]\cdot q(t) \hspace{0.3cm} \Rightarrow \hspace{0.3cm}Q_{\rm A}(f) = \left [ P_{\rm \delta}(f) \cdot \frac{1}{T_{\rm A} } \cdot G_{\rm R}(f) \right ] \star Q(f) = P_{\rm R}(f) \star Q(f)\hspace{0.05cm}.$$


The graph shows the result for

  • an (unrealistic) rectangular spectrum  $Q(f) = Q_0$ limited to the range  $|f| ≤ 4 \ \rm kHz$  ,
  • the sampling rate  $f_{\rm A} = 10 \ \rm kHz$   ⇒   $T_{\rm A} = 100 \ \rm µ s$, and.
  • the square pulse duration  $T_{\rm R} = 25 \ \rm µ s$   ⇒   $T_{\rm R}/T_{\rm A} = 0.25$.


Spectrum in natural sampling with a square pulse

One can see from this plot:

  • The spectrum  $P_{\rm R}(f)$  in natural sampling, in contrast to  $P_δ(f)$  is not a Dirac pulse  $($all weights equal $1)$,  but the weights here are related to the function  $G_{\rm R}(f)/T_{\rm A} = T_{\rm R}/T_{\rm A} - {\rm si}(πfT_{\rm R})$  evaluated 
  • Because of the zero of the  $\rm si$-function, the diraclines vanish here at  $±4f_{\rm A}$.
  • The spectrum  $Q_{\rm A}(f)$  results from the convolution with  $Q(f)$.  The rectangle around  $f = 0$  has height  $T_{\rm R}/T_{\rm A} - Q_0$, the proportions around  $\mu - f_{\rm A} \ (\mu ≠ 0)$  are less high.
  • If one uses an ideal, rectangular lowpass for signal reconstruction.
$$H(f) = \left\{ \begin{array}{l} T_{\rm A}/T_{\rm R} = 4 \\ 0 \\ \end{array} \right.\quad \begin{array}{*{5}c}{\rm{for}}\\{\rm{for}} \\ \end{array}\begin{array}{*{10}c} {\hspace{0.04cm}\left| \hspace{0.005cm} f\hspace{0.05cm} \right| < f_{\rm A}/2}\hspace{0.05cm}, \\ {\hspace{0.04cm}\left| \hspace{0.005cm} f\hspace{0.05cm} \right| > f_{\rm A}/2}\hspace{0.05cm}, \\ \end{array}$$
so for the output spectrum  $V(f) = Q(f)$  and accordingly  $v(t) = q(t)$.

$\text{Conclusion:}$ 

  • For natural sampling, a rectangular–low-pass filter is sufficient for signal reconstruction as for ideal sampling (with Dirac pulse).
  • However, for amplitude matching in the passband, a gain by the factor  $T_{\rm A}/T_{\rm R}$  must be considered.


Frequency domain view of discrete sampling


$\text{Definition:}$  In  discrete sampling  the multiplication of the Dirac pulse  $p_δ(t)$  with the source signal  $q(t)$  takes place - at least mentally - first and only afterwards the convolution with the square pulse  $g_{\rm R}(t)$:

$$q_{\rm A}(t) = \big [ {1}/{T_{\rm A} } \cdot p_{\rm \delta}(t) \cdot q(t)\big ]\star g_{\rm R}(t) \hspace{0.3cm} \Rightarrow \hspace{0.3cm}Q_{\rm A}(f) = \big [ P_{\rm \delta}(f) \star Q(f) \big ] \cdot G_{\rm R}(f)/{T_{\rm A} } \hspace{0.05cm}.$$
  • It is irrelevant, but quite convenient, that here the factor  $1/T_{\rm A}$  has been added to the valuation function  $G_{\rm R}(f)$  .
  • Thus, $G_{\rm R}(f)/T_{\rm A} = T_{\rm R}/T_{\rm A} - {\rm si}(πfT_{\rm R}).$


The upper graph shows (highlighted in green) the spectral function  $P_δ(f) \star Q(f)$  after ideal sampling.  In contrast, discrete sampling with a square pulse yields the spectrum  $Q_{\rm A}(f)$  corresponding to the lower graph.

Spectrum when discretely sampled with a square pulse

You can see:

  • Each of the infinitely many partial spectra now has a different shape.  Only the middle spectrum around  $f = 0$.&nbsp is important;
  • All other spectral components are removed at the receiver side by the low pass of the signal reconstruction.
  • If one uses for this low pass again a rectangular filter with the gain around $T_{\rm A}/T_{\rm R}$ in the passband, one obtains for the output spectrum:  
$$V(f) = Q(f) \cdot {\rm si}(\pi f T_{\rm R}) \hspace{0.05cm}.$$


$\text{Conclusion:}$  With discrete sampling and rectangular filtering, attenuation distortions gaccording to the weighting function  ${\rm si}(πfT_{\rm R})$.

  • These are the stronger, the larger  $T_{\rm R}$  is.  Only in the limiting case  $T_{\rm R} → 0$  holds ${\rm si}(πfT_{\rm R}) = 1$.
  • However, ideal equalization can fully compensate for these linear attenuation distortions.
  • To obtain  $V(f) = Q(f)$  respectively,  $v(t) = q(t)$  then must hold:
$$H(f) = \left\{ \begin{array}{l} (T_{\rm A}/T_{\rm R})/{\rm si}(\pi f T_{\rm R}) \\ 0 \\ \end{array} \right.\quad\begin{array}{*{5}c}{\rm{for} }\\{\rm{for} } \\ \end{array}\begin{array}{*{10}c} {\hspace{0.04cm}\left \vert \hspace{0.005cm} f\hspace{0.05cm} \right \vert < f_{\rm A}/2}\hspace{0.05cm}, \\ {\hspace{0.04cm}\left \vert \hspace{0.005cm} f\hspace{0.05cm} \right \vert > f_{\rm A}/2} \\ \end{array}$$


Quantization and quantization noise


The second functional unit  Quantization  of the PCM transmitter is used for value discretization.

  • For this purpose the whole value range of the analog source signal  $($for example the range $± q_{\rm max})$  is divided into  $M$  intervals.
  • Each sample  $q_{\rm A}(ν ⋅ T_{\rm A})$  is then assigned a representative  $q_{\rm Q}(ν ⋅ T_{\rm A})$  of the associated interval  (for example, the interval center) .


$\text{Example 2:}$  The graph illustrates quantization using the quantization step number as an example  $M = 8$.

To illustrate quantization with  $M = 8$  steps
  • In fact, a power of two is always chosen for  $M$  in practice because of the subsequent binary coding.
  • Each of the samples marked by circles  $q_{\rm A}(ν - T_{\rm A})$  is replaced by the corresponding quantized value  $q_{\rm Q}(ν - T_{\rm A})$  The quantized values are entered as crosses.
  • However, this process of value discretization is associated with an irreversible falsification.
  • The falsification  $ε_ν = q_{\rm Q}(ν - T_{\rm A}) \ - \ q_{\rm A}(ν - T_{\rm A})$  depends on the quantization level number  $M$  The following bound applies:
$$\vert \varepsilon_{\nu} \vert < {1}/{2} \cdot2/M \cdot q_{\rm max}= {q_{\rm max} }/{M}\hspace{0.05cm}.$$


$\text{Definition:}$  One refers to the root mean square error magnitude  $ε_ν$  as  quantization noise power:

$$P_{\rm Q} = \frac{1}{2N+1 } \cdot\sum_{\nu = -N}^{+N}\varepsilon_{\nu}^2 \approx \frac{1}{N \cdot T_{\rm A} } \cdot \int_{0}^{N \cdot T_{\rm A} }\varepsilon(t)^2 \hspace{0.05cm}{\rm d}t \hspace{0.3cm} {\rm with}\hspace{0.3cm}\varepsilon(t) = q_{\rm Q}(t) - q(t) \hspace{0.05cm}.$$


Notes:

  • For calculating the quantization noise power  $P_{\rm Q}$  the given approximation of  "spontaneous quantization"  is usually used. 
  • Here, one ignores sampling and forms the error signal from the continuous-time signals  $q_{\rm Q}(t)$  and  $q(t)$.
  • $P_{\rm Q}$  also depends on the source signal  $q(t)$  .   Assuming that  $q(t)$  takes all values between  $±q_{\rm max}$  with equal probability and the quantizer is designed exactly for this range, we get accordingly  Exercise 4.4:
$$P_{\rm Q} = \frac{q_{\rm max}^2}{3 \cdot M^2 } \hspace{0.05cm}.$$
  • In a speech or music signal, arbitrarily large amplitude values can occur - even if only very rarely.  In this case, for  $q_{\rm max}$  usually that amplitude value is used which is exceeded only at  $1\%$  all times (in amplitude).

PCM encoding and decoding


The block  PCM coding  is used to convert the discrete-time  (after sampling)  and discrete-value  (after quantization with  $M$  steps)  signal values  $q_{\rm Q}(ν - T_{\rm A})$  into a sequence of  $N = {\rm log_2}(M)$  binary values.   Logarithm to base 2   ⇒   Binary logarithm.

{{GraueBox|TEXT= $\text{Example 3:}$  Each binary value   ⇒   bit is represented by a rectangle of duration  $T_{\rm B} = T_{\rm A}/N$  resulting in the signal  $q_{\rm C}(t)$  .

[[File: Mod_T_4_1_S5a_vers2.png|center|frame | PCM coding with the dual code  $(M = 8,\ N = 3)$]

You can see:

  • The  dual code   is used here.  This means that the quantization intervals  $\mu$  are numbered consecutively from  $0$  to  $M-1$  and then written in simple binary.   With  $M = 8$  for example  $\mu = 6$   ⇔   110.
  • The three binary symbols of the coded signal  $q_{\rm C}(t)$  are obtained by replacing  0  by  L  ("Low") and  1  by  H  ("High").  In the example, this gives:    HHL HHL LLH LHL HLH LHH.
  • The bit duration  $T_{\rm B}$  is here shorter than the sampling distance by a factor  $N = {\rm log_2}(M) = 3$  $T_{\rm A} = 1/f_{\rm A}$, and the bit rate is  $R_{\rm B} = {\rm log_2}(M) - f_{\rm A}$.
  • If one uses the same mapping in decoding  $(v_{\rm C}   ⇒   v_{\rm Q})$  as in coding  $(q_{\rm Q}   ⇒   q_{\rm C})$, then,  if there are no transmission errors:     $v_{\rm Q}(ν - T_{\rm A}) = q_{\rm Q}(ν - T_{\rm A}). $
  • An alternative to dual code is  Gray code, where adjacent binary values differ only in one bit.  For  $N = 3$:
    $\mu = 0$:  LLL,     $\mu = 1$:  LLH,     $\mu = 2$:  LHH,     $\mu = 3$:   LHL,     $\mu = 4$:  HHL,     $\mu = 5$:  HHH,     $\mu =6$:  HLH,     $\mu = 7$:  HLL. }}

Signal-to-noise power ratio


The digital pulse code modulation  $\rm (PCM)$  is now compared to the analog modulation methods  $\rm (AM, \ FM)$  regarding the achievable sink SNR  $ρ_v = P_q/P_ε$  with AWGN noise.

Sink SNR at AM, FM, PCM 30/32

As denoted in previous chapters  (for example)  $ξ = {α_{\rm K}}^2 - P_{\rm S}/(N_0 - B_{\rm NF})$  the power parameter.  This summarizes different influences:

  • the channel transmission factor  $α_{\rm K}$  (quadratic),
  • the transmit power  $P_{\rm S}$,
  • the AWGN noise power density  $N_0$  (reciprocal), and.
  • the signal bandwidth  $B_{\rm NF}$  (also reciprocal);
    for a harmonic oscillation:   Frequency  $f_{\rm N}$  instead of  $B_{\rm NF}$.


The two comparison curves for amplitude modulation (AM) and for frequency modulation (FM) can be described as follows:

  • Two-sideband FM without carrier:
$$ρ_v = ξ \ ⇒ \ 10 - \lg ρ_v = 10 - \lg \ ξ,$$
  • Frequency modulation with  $η = 3$:  
$$ρ_υ = 3/2 \cdot η^2 - ξ = 13.5 - ξ \ ⇒ \ 10 - \lg \ ρ_v = 10 - \lg \ ξ + 11.3 \ \rm dB.$$

The curve for the  PCM 30/32 system  should be interpreted as follows:

  • If the power parameter  $ξ$  is sufficiently large, then no transmission errors occur.  The error signal  $ε(t) = v(t) \ - \ q(t)$  is then due to quantization alone  $(P_ε = P_{\rm Q})$.
  • With the quantization step number  $M = 2^N$  holds approximately in this case:
$$\rho_{v} = \frac{P_q}{P_\varepsilon}= M^2 = 2^{2N} \hspace{0.3cm}\Rightarrow \hspace{0.3cm} 10 \cdot {\rm lg}\hspace{0.1cm}\rho_{v}=20 \cdot {\rm lg}\hspace{0.1cm}M = N \cdot 6.02\,{\rm dB}$$
$$ \Rightarrow \hspace{0.3cm} N = 8, \hspace{0.05cm} M =256\text{:}\hspace{0.2cm}10 \cdot {\rm lg}\hspace{0.1cm}\rho_{v}=48.16\,{\rm dB}\hspace{0.05cm}.$$
  • Note that the given equation is exactly valid only for a sawtooth shaped source signal.   However, for cosine shaped source signal the deviation from this is not very large.
  • As  $ξ$  (smaller transmit power or larger noise power density)  decreases, the transmission errors increase.  Thus  $P_ε > P_{\rm Q}$  and the sink-to-noise ratio becomes smaller.
  • The PCM  $($with $M = 256)$  is superior to the analog methods  $($AM and FM$)$  only in the lower and middle  $ξ$-range.  But if transmission errors do not play a role anymore, no improvement can be achieved by a larger  $ξ$  (horizontal curve section with yellow background).
  • An improvement is only achieved by increasing  $N$  (number of bits per sample)  ⇒   larger  $M = 2^N$  (number of quantization steps).   For example, for a  Compact Disc  (CD) with parameter  $N = 16$   ⇒   $M = 65536$  the value 
$$10 - \lg \ ρ_v = 96.32 \ \rm dB.$$

$\text{Example 4:}$  The following graph shows the limiting influence of quantization:

  • White dotted is the source signal  $q(t)$,  green dotted is the sink signal  $v(t)$  after PCM with  $N = 4$   ⇒   $M = 16$.
  • Sampling times are marked by crosses.
  • Transfer errors are excluded for the time being.  Sampling and signal reconstruction are best fit to  $q(t)$  .


Influence of quantization with  $N = 4$  and  $N = 8$

This image can be interpreted as follows:

  • With  $N = 8$   ⇒   $M = 256$  the sink signal  $v(t)$  is indistinguishable from the source signal  $q(t)$  with the naked eye.  The white dotted signal curve applies approximately to both.
  • From the signal-to-noise ratio  $10 - \lg \ ρ_v = 47.8 \ \rm dB$  however, it can be seen that the quantization noise  (power  $P_\varepsilon$  of the error signal)  is only reduced by a factor  $1. 6 - 10^{-5}$  smaller than the power  $P_q$  of the source signal.  This SNR would already be clearly audible with a speech or music signal.
  • Although the source signal considered here is neither sawtooth nor cosine shaped, but is composed of several frequency components, the given approximation  $ρ_v ≈ M^2$   ⇒   $10 - \lg \ ρ_υ = 48.16 \ \rm dB$  deviates only insignificantly from the actual value.
  • In contrast, for  $N = 4$   ⇒   $M = 16$  deviations between the sink signal (marked in green) and the source signal (marked in white) can already be seen in the image, which is also quantitatively expressed by the very small signal-to-noise ratio  $10 - \lg \ ρ_υ = 28.2 \ \rm dB$ 

.

Influence of transmission errors


Starting from the same analog signal  $q(t)$  as in the last section and a linear quantization with  $N = 8$ bits   ⇒   $M = 256$  the effects of transmission errors are now illustrated using the respective sink signal  $v(t)$ .

Influence of a transmission error concerning  Bit 5'  at the dual code
  • The white dots again mark the source signal  $q(t)$.  Without transmission error the sink signal  $v(t)$  has the same course when neglecting quantization.
  • Now, exactly one bit of the fifth sample at a time  $q(5 - T_{\rm A}) = -0.715$  is corrupted, where this sample has been coded as  LLHL LHLL'  .   This graph is based on dual code, meaning that the lowest quantization interval  $(\mu = 0)$  is represented with  LLLL LLLL'  and the highest interval  $(\mu = 255)$  is represented with  HHHH HHHH .
Table showing the results of the bit error analysis


The table shows the results of this analysis:

  • The specified signal-to-noise ratio  $10 - \lg \ ρ_v$  was calculated from the presented (very short) signal section of duration  $10 - T_{\rm A}$ .


  • For each transmission error of  $10 - 8 = 80$  bits, this corresponds to a bit error rate of  $1.25\%$.


The results of this error analysis shown in the graph and table can be summarized as follows:

  • If only the last bit of the binary word is corrupted  $($LSB:   Least Significant Bit,  LLHL LHLL   ⇒   LLHL LHLH$)$,  then no difference from error-free transmission is visible to the naked eye  $($white curve$)$.   Nevertheless, the signal-to-noise ratio is reduced by   $3.5 \ \rm dB$  .
  • A transmission error of the fourth last bit  $($green curve,  LLHLLHLL ⇒ LLHLHHLL$)$  already leads to a clearly detectable distortion by eight quantization intervals.   That is,   $v(5T_{\rm A}) \ - \ q(5T_{\rm A}) = 8/256 - 2 = 0.0625$  and the signal-to-noise ratio drops to   $10 - \lg \ ρ_υ = 28.2 \ \rm dB$.
  • Finally, the red curve shows the case where the MSB  (Most Significant Bit)  is corrupted:   LLHLLHLL ⇒ HLHLL.  This leads to distortion  $v(5T_{\rm A}) \ - \ q(5T_{\rm A}) = 1$  (corresponding to half the modulation range).  The signal-to-noise ratio is now only about   $4 \ \rm dB$.
  • At all sampling times except  $5T_{\rm A}$  matches  $v(t)$  exactly except for the quantization error with  $q(t)$  .   Outside these time points marked by yellow crosses, however, the single error at  $5T_{\rm A}$  leads to strong deviations in an extended range, which is due to the interpolation with the  $\rm si$-shaped impulse response of the reconstruction low-pass  $H(f)$  .


Estimation of SNR degradation due to transmission errors.


Now we will try to determine the SNR curve of the PCM system taking into account bit errors, at least approximately.  We start from the following block diagram and further assume:

  • Each sample  $q_{\rm A}(νT)$  is quantized by  $M$  stages and quantized by  $N = {\rm log_2} (M)$  binary sign (bit).  In the example  $M = 8$   ⇒   $N = 3$.
  • The binary representation of  $q_{\rm Q}(νT)$  yields the amplitude coefficients  $a_k\, (k = 1, \text{...} \hspace{0.08cm}, N),$ which can be corrupted by bit errors in the coefficients  $b_k$  .
  • Both  $a_k$  and  $b_k$  are  $±1$, respectively.
  • A bit error  $(b_k ≠ a_k)$  occurs with probability  $p_{\rm B}$  .
  • Each bit is equally likely to be corrupted and in each PCM word there is at most one error   ⇒   only one of the  $N$  bits can be wrong.


For calculating PCM SNR with bit errors taken into account

From the diagram given in the graph, it can be seen for  $N = 3$  and natural binary coding (dual code):

  • A corruption of  $a_1$  changes the quantized value  $q_{\rm Q}(νT)$  by  $±A$.
  • A corruption of  $a_2$  changes the quantized value  $q_{\rm Q}(νT)$  by  $±A/2.$.
  • A corruption of  $a_3$  changes the quantized value value  $q_{\rm Q}(νT)$  by  $±A/4$.


By generalization, we obtain for the deviation  $ε_k = υ_{\rm Q}(νT) \ - \ q_{\rm Q}(νT)$  for the case when the amplitude coefficient  $a_k$  was transferred incorrectly:

$$\varepsilon_k = - a_k \cdot A \cdot 2^{-k +1} \hspace{0.05cm}.$$

For the  error noise power  after averaging over all corruption values  $ε_k$  (with  $1 ≤ k ≤ N)$  taking into account the bit error probability  $p_{\rm B}$:

$$P_{\rm F}= {\rm E}\big[\varepsilon_k^2 \big] = \sum\limits^{N}_{k = 1} p_{\rm B} \cdot \left ( - a_k \cdot A \cdot 2^{-k +1} \right )^2 =\ p_{\rm B} \cdot A^2 \cdot \sum\limits^{N-1}_{k = 0} 2^{-2k } = p_{\rm B} \cdot A^2 \cdot \frac{1- 2^{-2N }}{1- 2^{-2 }} \approx {4}/{3} \cdot p_{\rm B} \cdot A^2 \hspace{0.05cm}.$$
  • Here the summation formula of the geometric series and the approximation  $1 - 2^{-2N } ≈ 1$  are used.
  • For  $N = 8$   ⇒   $M = 256$  the associated relative error is, for example, about  $\rm 10^{-5}$.


Excluding transmission errors, the signal-to-noise power ratio  $ρ_v = P_{\rm S}/P_{\rm Q}$  has been found, where for a uniformly distributed source signal  (for example, sawtooth-shaped)  the signal power and quantization noise power are to be calculated as follows:

Sink SNR for PCM considering bit errors
$$P_{\rm S}={A^2}/{3}\hspace{0.05cm},\hspace{0.3cm}P_{\rm Q}= {A^2}/{3} \cdot 2^{-2N } \hspace{0.05cm}.$$

Taking into account the transfer errors, the above result gives:

$$\rho_{\upsilon}= \frac{P_{\rm S}}{P_{\rm Q}+P_{\rm F}} = \frac{A^2/3}{A^2/3 \cdot 2^{-2N } + A^2/3 \cdot 4 \cdot p_{\rm B}} = \frac{1}{ 2^{-2N } + 4 \cdot p_{\rm B}} \hspace{0.05cm}.$$

The graph shows  $10 - \lg ρ_v$  as a function of the (logarithmized) power parameter  $ξ = P_{\rm S}/(N_0 - B_{\rm NF})$, where  $B_{\rm NF}$  indicates the signal bandwidth.  Let the constant channel transmission factor be ideally  $α_{\rm K} = 1$.

  • But for the optimal binary system and AWGN noise, the power parameter is also  $ξ = E_{\rm B}/N_0$  (energy per bit related to noise power density).
  • The bit error probability is then given by the Gaussian error function  ${\rm Q}(x)$  as follows:
$$p_{\rm B}= {\rm Q} \left ( \sqrt{{2E_{\rm B}}/{N_0} }\right ) \hspace{0.05cm}.$$
  • For  $N = 8$   ⇒   $ 2^{-2{\it N} } = 1.5 - 10^{-5}$  and  $10 - \lg \ ξ = 6 \ \rm dB$   ⇒   $p_{\rm B} = 0.0024$  (point marked in red) results:
$$\rho_{\upsilon}= \frac{1}{ 1.5 \cdot 10^{-5} + 4 \cdot 0.0024} \approx 100 \hspace{0.3cm} \Rightarrow \hspace{0.3cm}10 \cdot {\rm lg} \hspace{0.15cm}\rho_{\upsilon}\approx 20\,{\rm dB} \hspace{0.05cm}.$$
  • This small  $ρ_v$ value goes back to the term  $4 · 0.0024$  in the denominator  (influence of the transmission error)  while in the horizontal section of the curve for each  $N$  (number of bits per sample) the term  $\rm 2^{-2{\it N} }$  dominates - i.e. the quantization noise.

Nonlinear quantization


Often the quantization intervals are not chosen equally large, but one uses a finer quantization for the inner amplitude range than for large amplitudes.  There are several reasons for this:

  • In audio signals, distortions of the quiet signal components  (i.e. values near the zero line)  are subjectively perceived as more disturbing than an impairment of large amplitude values.
  • Such an uneven quantization also leads to a larger sink-interval for such a music or speech signal, because here the signal amplitude is not evenly distributed.


The graph shows a speech signal  $q(t)$  and its amplitude distribution  $f_q(q)$   ⇒   Probability density function

Uniform quantization of a speech signal

This is the  Laplace distribution, which can be approximated as follows:

  • by a continuous two-sided exponential distribution, and.
  • by a Dirac function  $δ(q)$  to account for the speech pauses (magenta colored).


In the graph, nonlinear quantization is only implied, for example, by means of the 13-segment characteristic, which is described in more detail in the  Exercise 4.5 :

  • The quantization intervals here become wider and wider towards the edges section by section.
  • The more frequent small amplitudes, on the other hand, are quantized very finely.

Compression and expansion


Non-uniform quantization can be realized, for example, by.

  • the sampled values  $q_{\rm A}(ν - T_{\rm A})$  are first deformed by a nonlinear characteristic  $q_{\rm K}(q_{\rm A})$  and
  • subsequently, the resulting output values  $q_{\rm K}(ν · T_{\rm A})$  are uniformly quantized.
Realization of a non-uniform quantization




This results in the signal chain sketched opposite.

$\text{Conclusion:}$  Such non-uniform quantization means:

  • Through the nonlinear characteristic  $q_{\rm K}(q_{\rm A})$  small signal values are amplified and large values are attenuated   ⇒   Compression.
  • This deliberate signal distortion is undone at the receiver by the inverse function  $v_{\rm E}(υ_{\rm Q})$    ⇒   expansion.
  • The total process of transmit-side compression and receiver-side expansion is also called  'companding.


For the PCM system 30/32, the  Comité Consultatif International des Télégraphique et Téléphonique  (CCITT) recommended the so-called A characteristic:

$$y(x) = \left\{ \begin{array}{l} \frac{1 + {\rm ln}(A \cdot x)}{1 + {\rm ln}(A)} \\ \frac{A \cdot x}{1 + {\rm ln}(A)} \ - \frac{1 + {\rm ln}( - A \cdot x)}{1 + {\rm ln}(A)} \end{array} \right.\quad\begin{array}{*{5}c}{\rm{for}}\\{\rm{for}}\\{\rm{for}} \end{array}\begin{array}{*{10}c}1/A \le x \le 1\hspace{0.05cm}, \ - 1/A \le x \le 1/A\hspace{0.05cm}, \ - 1 \le x \le - 1/A\hspace{0.05cm}. \end{array}$$
  • Here, for abbreviation  $x = q_{\rm A}(ν - T_{\rm A})$ and $y = q_{\rm K}(ν - T_{\rm A})$  is used.
  • This characteristic curve with the value  $A = 87.56$  introduced in practice has a constantly changing slope.
  • For more details on this type of non-uniform quantization, see the  Exercise 4.5.


Note:   In the third part of the tutorial video  Pulse code modulation  are covered:

  • the definition of signal-to-noise power ratio (SNR),
  • the influence of quantization noise and transmission errors,
  • the differences between linear and nonlinear quantization.


Exercises for the chapter


Exercise 4.1: PCM System 30/32

Exercise 4.2: Low-Pass for Signal Reconstruction

Exercise 4.2Z: About the Sampling Theorem

Exercise 4.3: Natural and Discrete Sampling

Exercise 4.4: About the Quantization Noise

Exercise 4.4Z: Signal-to-Noise Ratio with PCM

Exercise 4.5: Non-Linear Quantization

Exercise 4.6: Quantization Characteristics