Difference between revisions of "Exercise 2.3: QAM Signal Space Assignment"

From LNTwww
(Die Seite wurde neu angelegt: „{{quiz-Header|Buchseite=Beispiele von Nachrichtensystemen/xDSL als Übertragungstechnik }} [[File:|right|frame|]] ===Fragebogen=== <quiz display=simp…“)
 
 
(20 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{quiz-Header|Buchseite=Beispiele von Nachrichtensystemen/xDSL als Übertragungstechnik
+
{{quiz-Header|Buchseite=Examples_of_Communication_Systems/xDSL_as_Transmission_Technology
  
 
}}
 
}}
  
[[File:|right|frame|]]
+
[[File:P_ID1970__Bei_A_2_3.png|right|frame|Given QAM signal space allocation]]
  
 +
In&nbsp; $\rm ADSL$&nbsp; (''Asymmetric Digital Subscriber Line''), different transmission methods are applicable. For&nbsp; $\rm QAM$&nbsp; as well as for&nbsp; $\rm CAP$&nbsp; and&nbsp; $\rm DMT$&nbsp; a signal space allocation takes place.
  
 +
The graph shows the first quadrant of the considered signal space mapping. The four color-coded points are referred to in the exercise. It should be noted:
  
 +
*The in-phase and quadrature coefficients&nbsp; $(a_{\rm I}, \ a_{\rm Q})$&nbsp; can here respectively take the values&nbsp; $1, \ 3$,&nbsp; ... ,&nbsp; $15$&nbsp; . In other quadrants also the negative values&nbsp; $-1$,&nbsp; $-3$, ... , $-15$&nbsp; are possible.
  
 +
*Each&nbsp; $b$&nbsp; bit is combined into a signal space point, identified by the coordinates&nbsp; $a_{\rm I}$&nbsp; and&nbsp; $a_{\rm Q}$.
  
 +
*If a bit sequence&nbsp; $(q_{b-1}, \ q_{b-2}$, ... , $q_{0})$&nbsp; transmitted, the&nbsp; $\rm MSB$&nbsp; (''Most Significant Bits'')&nbsp; $q_{b-1}$&nbsp; and&nbsp; $q_{b-2}$&nbsp; signify the sign of&nbsp; $a_{\rm I}$&nbsp; and&nbsp; $a_{\rm Q}$, and hence the quadrant.
  
 +
*If&nbsp; $q_{b-1} = 0$, then&nbsp; $a_{\rm I}$&nbsp; is positive. In contrast&nbsp; $q_{b-1} = 1$&nbsp; indicates a negative&nbsp; $a_{\rm I}$&nbsp;. The same relationship exists between&nbsp; $q_{b-2}$&nbsp; and&nbsp; $a_{\rm Q}$.
  
===Fragebogen===
+
*The in-phase part&nbsp; $a_{\rm I}$&nbsp; is given as the decimal value of the binary number&nbsp; $(q_{b-1}, \ q_{b-3}$, ... , $q_{1}, \ 1)$. Negative numbers are represented by the two's complement.
 +
 
 +
*The quadrature part&nbsp; $a_{\rm Q}$&nbsp; is given as the decimal value of the binary number&nbsp; $(q_{b-2}, \ q_{b-4}$, ... , $q_{0}, \ 1)$. Negative numbers are also represented here by the two's complement.
 +
 
 +
 
 +
The goal of this exercise is to map given bit sequences to the correct signal space point. The reverse assignment is also demonstrated.
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
Hint:
 +
 
 +
*This exercise belongs to the chapter&nbsp; [[Examples_of_Communication_Systems/xDSL_as_Transmission_Technology|"xDSL as Transmission Technology"]].
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
===Questions===
 
<quiz display=simple>
 
<quiz display=simple>
  
 +
{What is the constellation of the considered example?
 +
|type="()"}
 +
- 8-QAM,
 +
- 16-QAM,
 +
- 64-QAM,
 +
+ 256-QAM.
  
 +
 +
{How many bits are combined to one signal space point?
 +
|type="{}"}
 +
$b \ = \ ${ 8 3% }
 +
 +
{What are the MSB values for the quadrant shown in the graphic?
 +
|type="()"}
 +
+ $q_{7} = \boldsymbol{0}, q_{6} = \boldsymbol{0}\,$
 +
- $q_{7} = \boldsymbol{1}, q_{6} = \boldsymbol{0},$
 +
- $q_{7} = \boldsymbol{1}, q_{6} = \boldsymbol{1},$
 +
- $q_{7} = \boldsymbol{0}, q_{6} = \boldsymbol{1}.$
 +
 +
{What are the coordinates of the bit sequence&nbsp; $\boldsymbol{1001\hspace{0.05cm}0011}$?
 +
|type="{}"}
 +
$ a_{\rm I} \ = \ ${ -13.3--12.7 }
 +
$ a_{\rm Q} \ = \ ${ 11 3% }
 +
 +
{Which bit sequence is associated with the red dot?
 +
|type="()"}
 +
- $\boldsymbol{0000\hspace{0.05cm}1011,}$
 +
- $\boldsymbol{0001\hspace{0.05cm}0011,}$
 +
+ $\boldsymbol{0001\hspace{0.05cm}0110,}$
 +
- $\boldsymbol{0010\hspace{0.05cm}1110.}$
 +
 +
{Which bit sequence is associated with the blue dot?
 +
|type="()"}
 +
- $\boldsymbol{0000\hspace{0.05cm}1011,}$
 +
+ $\boldsymbol{0001\hspace{0.05cm}0011,}$
 +
- $\boldsymbol{0001\hspace{0.05cm}0110,}$
 +
- $\boldsymbol{0010\hspace{0.05cm}1110.}$
 +
 +
{Is there a gray encoding here?
 +
|type="()"}
 +
+ no.
 +
- Yes.
 +
 +
{Which statements are valid regarding Gray encoding and bit error rate?
 +
|type="()"}
 +
+ Gray encoding decreases the bit error rate.
 +
- Gray encoding increases the bit error rate.
 +
- Gray encoding has no effect on the bit error rate.
  
  
Line 20: Line 96:
 
</quiz>
 
</quiz>
  
===Musterlösung===
+
===Solution===
 
{{ML-Kopf}}
 
{{ML-Kopf}}
'''(1)'''&nbsp;  
+
'''(1)'''&nbsp; Correct is the <u>proposed solution 4</u>:
 +
*The first quadrant includes $8 \cdot 8\ \underline{ = 64}$ possible points.
 +
*Thus, it is a $4 \cdot 64 = 256$-QAM.
 +
 
 +
 
 +
'''(2)'''&nbsp; It must hold $2^b = 256$. It follows that $\underline{b = 8}$.
 +
 
 +
 
 +
'''(3)'''&nbsp; The correct solution is <u>proposition 1</u>:
 +
*The $\underline{ {\rm MSB} \boldsymbol{00}}$ indicate that $a_{\rm I}$ and $a_{\rm Q}$ are positive and thus mark the first quadrant considered here.
 +
*Correspondingly, &nbsp; &nbsp; $\boldsymbol{10}$ &nbsp; &rArr; &nbsp; 2nd quadrant, &nbsp; &nbsp; $\boldsymbol{11}$&nbsp; &rArr; &nbsp; 3rd quadrant, &nbsp; &nbsp; $\boldsymbol{01}$ &nbsp; &rArr; &nbsp; 4th quadrant.
 +
 
 +
 
 +
'''(4)'''&nbsp; According to the specification, the in-phase fraction is negative $(q_{7} = \boldsymbol{1})$.
 +
*From $\boldsymbol{10011}_{\rm binary} = 19_{\rm dec}$ we get the two's complement $19 - 32= -13$.
 +
*The quadrature part is given by $\boldsymbol{01011}_{\rm binary} = 11:$
 +
:$$\underline{a_{\rm I} = -13,\hspace{0.2cm}a_{\rm Q} = +11} \hspace{0.05cm}.$$
 +
 
 +
 
 +
'''(5)'''&nbsp; The correct solution is <u>proposed solution 3</u>:
 +
*According to the specification, it must be:
 +
 
 +
:$$ \ \ \ \ a_{\rm I} = 3\text{:} \ \ \ \ q_{5} = \boldsymbol{0}, \ q_{3} = \boldsymbol{0}, \ q_{1} = \boldsymbol{1} \Rightarrow \boldsymbol{0011}_{\rm binary} = 3,$$
 +
:$$ \ \ \ a_{\rm Q} = 13\text{:}  \ \ \ \ q_{4} = \boldsymbol{1}, q_{2} = \boldsymbol{1}, q_{0} = \boldsymbol{0}  \Rightarrow \boldsymbol{1101}_{\rm binary} = 13.$$
 +
From this follows a total of:&nbsp; $\langle \hspace{0.05cm} q_{7}, \ q_{6}, \ q_{5}$, ... , $q_{1}, \ q_{0} \hspace{0.05cm} \rangle = \boldsymbol{0001\hspace{0.05cm}0110}.$
 +
 
 +
 
 +
'''(6)'''&nbsp; Correct is <u>the proposed solution 2</u>:
 +
*Compared to the last exercise, there is no change with respect to $a_{\rm I}$.
 +
*On the other hand now
 +
:$$a_{\rm Q} = 11\text{:}  q_{4} = \boldsymbol{1}, q_{2} = \boldsymbol{0}, q_{0} = \boldsymbol{1}    \Rightarrow \boldsymbol{1011}_{\rm binary} = 11.$$
 +
From this follows a total of:&nbsp; $\langle \hspace{0.05cm}q_{7}, \ q_{6}, \ q_{5}$, ... , $q_{1}, \ q_{0} \hspace{0.05cm} \rangle = \boldsymbol{0001\hspace{0.05cm}0010}.$
 +
 
 +
 
 +
'''(7)'''&nbsp; There is <u>no Gray encoding</u> because the two adjacent signal space points "red" and "blue" differ by more than one bit.
 +
 
 +
 
 +
'''(8)'''&nbsp; Correct here is <u>the proposed solution 1</u>:
 +
*For Gray coding, each symbol error results in only a single bit error.
 +
*For the bit error probability, we get $p_{\rm B} = p_{\rm S}/b$, since the number of transmitted bits is greater than the number of QAM symbols by a factor of $b$.
 +
*With other encoding, this minimum value is not reached.
 +
 
  
{{ML-Fuß}}
+
[[File:P_ID1978__Bei_A_2_3_Loesung.png|right|frame|$\rm256&ndash;QAM$: Full allocation of the first quadrant]]
 +
The final graph shows all the signal space points of the first quadrant, with the points labeled with the decimal values of the binary sequences.
  
 +
The thinly drawn lines indicate a second approach to determining signal space occupancy, which is explained in the [[Examples_of_Communication_Systems/xDSL_as_Transmission_Technology#Possible_QAM_signal_space_constellations|"theory section"]].
  
  
[[Category:Aufgaben zu Beispiele von Nachrichtensystemen|^2.3 xDSL als Übertragungstechnik
+
[[Category:Examples of Communication Systems: Exercises|^2.3 xDSL Transmission Technology
  
 
^]]
 
^]]

Latest revision as of 16:14, 7 March 2023

Given QAM signal space allocation

In  $\rm ADSL$  (Asymmetric Digital Subscriber Line), different transmission methods are applicable. For  $\rm QAM$  as well as for  $\rm CAP$  and  $\rm DMT$  a signal space allocation takes place.

The graph shows the first quadrant of the considered signal space mapping. The four color-coded points are referred to in the exercise. It should be noted:

  • The in-phase and quadrature coefficients  $(a_{\rm I}, \ a_{\rm Q})$  can here respectively take the values  $1, \ 3$,  ... ,  $15$  . In other quadrants also the negative values  $-1$,  $-3$, ... , $-15$  are possible.
  • Each  $b$  bit is combined into a signal space point, identified by the coordinates  $a_{\rm I}$  and  $a_{\rm Q}$.
  • If a bit sequence  $(q_{b-1}, \ q_{b-2}$, ... , $q_{0})$  transmitted, the  $\rm MSB$  (Most Significant Bits)  $q_{b-1}$  and  $q_{b-2}$  signify the sign of  $a_{\rm I}$  and  $a_{\rm Q}$, and hence the quadrant.
  • If  $q_{b-1} = 0$, then  $a_{\rm I}$  is positive. In contrast  $q_{b-1} = 1$  indicates a negative  $a_{\rm I}$ . The same relationship exists between  $q_{b-2}$  and  $a_{\rm Q}$.
  • The in-phase part  $a_{\rm I}$  is given as the decimal value of the binary number  $(q_{b-1}, \ q_{b-3}$, ... , $q_{1}, \ 1)$. Negative numbers are represented by the two's complement.
  • The quadrature part  $a_{\rm Q}$  is given as the decimal value of the binary number  $(q_{b-2}, \ q_{b-4}$, ... , $q_{0}, \ 1)$. Negative numbers are also represented here by the two's complement.


The goal of this exercise is to map given bit sequences to the correct signal space point. The reverse assignment is also demonstrated.





Hint:




Questions

1

What is the constellation of the considered example?

8-QAM,
16-QAM,
64-QAM,
256-QAM.

2

How many bits are combined to one signal space point?

$b \ = \ $

3

What are the MSB values for the quadrant shown in the graphic?

$q_{7} = \boldsymbol{0}, q_{6} = \boldsymbol{0}\,$
$q_{7} = \boldsymbol{1}, q_{6} = \boldsymbol{0},$
$q_{7} = \boldsymbol{1}, q_{6} = \boldsymbol{1},$
$q_{7} = \boldsymbol{0}, q_{6} = \boldsymbol{1}.$

4

What are the coordinates of the bit sequence  $\boldsymbol{1001\hspace{0.05cm}0011}$?

$ a_{\rm I} \ = \ $

$ a_{\rm Q} \ = \ $

5

Which bit sequence is associated with the red dot?

$\boldsymbol{0000\hspace{0.05cm}1011,}$
$\boldsymbol{0001\hspace{0.05cm}0011,}$
$\boldsymbol{0001\hspace{0.05cm}0110,}$
$\boldsymbol{0010\hspace{0.05cm}1110.}$

6

Which bit sequence is associated with the blue dot?

$\boldsymbol{0000\hspace{0.05cm}1011,}$
$\boldsymbol{0001\hspace{0.05cm}0011,}$
$\boldsymbol{0001\hspace{0.05cm}0110,}$
$\boldsymbol{0010\hspace{0.05cm}1110.}$

7

Is there a gray encoding here?

no.
Yes.

8

Which statements are valid regarding Gray encoding and bit error rate?

Gray encoding decreases the bit error rate.
Gray encoding increases the bit error rate.
Gray encoding has no effect on the bit error rate.


Solution

(1)  Correct is the proposed solution 4:

  • The first quadrant includes $8 \cdot 8\ \underline{ = 64}$ possible points.
  • Thus, it is a $4 \cdot 64 = 256$-QAM.


(2)  It must hold $2^b = 256$. It follows that $\underline{b = 8}$.


(3)  The correct solution is proposition 1:

  • The $\underline{ {\rm MSB} \boldsymbol{00}}$ indicate that $a_{\rm I}$ and $a_{\rm Q}$ are positive and thus mark the first quadrant considered here.
  • Correspondingly,     $\boldsymbol{10}$   ⇒   2nd quadrant,     $\boldsymbol{11}$  ⇒   3rd quadrant,     $\boldsymbol{01}$   ⇒   4th quadrant.


(4)  According to the specification, the in-phase fraction is negative $(q_{7} = \boldsymbol{1})$.

  • From $\boldsymbol{10011}_{\rm binary} = 19_{\rm dec}$ we get the two's complement $19 - 32= -13$.
  • The quadrature part is given by $\boldsymbol{01011}_{\rm binary} = 11:$
$$\underline{a_{\rm I} = -13,\hspace{0.2cm}a_{\rm Q} = +11} \hspace{0.05cm}.$$


(5)  The correct solution is proposed solution 3:

  • According to the specification, it must be:
$$ \ \ \ \ a_{\rm I} = 3\text{:} \ \ \ \ q_{5} = \boldsymbol{0}, \ q_{3} = \boldsymbol{0}, \ q_{1} = \boldsymbol{1} \Rightarrow \boldsymbol{0011}_{\rm binary} = 3,$$
$$ \ \ \ a_{\rm Q} = 13\text{:} \ \ \ \ q_{4} = \boldsymbol{1}, q_{2} = \boldsymbol{1}, q_{0} = \boldsymbol{0} \Rightarrow \boldsymbol{1101}_{\rm binary} = 13.$$

From this follows a total of:  $\langle \hspace{0.05cm} q_{7}, \ q_{6}, \ q_{5}$, ... , $q_{1}, \ q_{0} \hspace{0.05cm} \rangle = \boldsymbol{0001\hspace{0.05cm}0110}.$


(6)  Correct is the proposed solution 2:

  • Compared to the last exercise, there is no change with respect to $a_{\rm I}$.
  • On the other hand now
$$a_{\rm Q} = 11\text{:} q_{4} = \boldsymbol{1}, q_{2} = \boldsymbol{0}, q_{0} = \boldsymbol{1} \Rightarrow \boldsymbol{1011}_{\rm binary} = 11.$$

From this follows a total of:  $\langle \hspace{0.05cm}q_{7}, \ q_{6}, \ q_{5}$, ... , $q_{1}, \ q_{0} \hspace{0.05cm} \rangle = \boldsymbol{0001\hspace{0.05cm}0010}.$


(7)  There is no Gray encoding because the two adjacent signal space points "red" and "blue" differ by more than one bit.


(8)  Correct here is the proposed solution 1:

  • For Gray coding, each symbol error results in only a single bit error.
  • For the bit error probability, we get $p_{\rm B} = p_{\rm S}/b$, since the number of transmitted bits is greater than the number of QAM symbols by a factor of $b$.
  • With other encoding, this minimum value is not reached.


$\rm256–QAM$: Full allocation of the first quadrant

The final graph shows all the signal space points of the first quadrant, with the points labeled with the decimal values of the binary sequences.

The thinly drawn lines indicate a second approach to determining signal space occupancy, which is explained in the "theory section".