aboutsummaryrefslogtreecommitdiffstats
path: root/doc/thesis/figures
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2021-11-01 16:29:17 +0100
committerNao Pross <np@0hm.ch>2021-11-01 16:29:17 +0100
commit0b4422f6508fd6f5d2d28c0465f48476edd700ea (patch)
treef51b8430f082cb7f29dc64f1075d2771cd67d314 /doc/thesis/figures
parentDraw figure for frequency selective channels (diff)
downloadFading-0b4422f6508fd6f5d2d28c0465f48476edd700ea.tar.gz
Fading-0b4422f6508fd6f5d2d28c0465f48476edd700ea.zip
Review construction of orthogonal carriers
Diffstat (limited to '')
-rw-r--r--doc/thesis/figures/tikz/qam-constellation.tex3
-rw-r--r--doc/thesis/figures/tikz/qam-example.tex49
-rw-r--r--doc/thesis/figures/tikz/qam-modulator.tex45
3 files changed, 52 insertions, 45 deletions
diff --git a/doc/thesis/figures/tikz/qam-constellation.tex b/doc/thesis/figures/tikz/qam-constellation.tex
index 6481650..eeeddc3 100644
--- a/doc/thesis/figures/tikz/qam-constellation.tex
+++ b/doc/thesis/figures/tikz/qam-constellation.tex
@@ -21,6 +21,9 @@
}
}
+ % special node for the example
+ \node[star, fill = blue!40!white] at (s32) {};
+
\foreach \i/\l in {0/00,1/01,2/11,3/10}{
\node[lightgray, below = 3mm] at (s\i0) {\texttt{\l}};
\node[lightgray, left = 2mm] at (s0\i) {\texttt{\l}};
diff --git a/doc/thesis/figures/tikz/qam-example.tex b/doc/thesis/figures/tikz/qam-example.tex
new file mode 100644
index 0000000..2d37f55
--- /dev/null
+++ b/doc/thesis/figures/tikz/qam-example.tex
@@ -0,0 +1,49 @@
+% vim: set ts=2 sw=2 noet:
+
+%% TODO: finish this figure
+
+\begin{tikzpicture}
+ % Draw digital signals
+ \begin{scope}[font = \ttfamily\footnotesize, text = blue!70!white]
+ \node[above = 1mm of M, xshift = 2mm] {\(\ldots 1100101\)};
+ \node[above = 7mm of vmi, xshift = 3mm]
+ {\(\overbracket[.8pt]{\,11\ldots 00\,}^{\sqrt{M} \text{ bits}}\)};
+ \end{scope}
+
+ % Draw analog waveform
+ \begin{scope}[font = \ttfamily\tiny]
+ \coordinate (O) at ($(mi)+(-2mm,10.5mm)$);
+
+ \node[left, red!70!white, anchor = east, text width = 8mm, align = right]
+ at ($(O) + (-2mm,0)$) {\(2^{\sqrt{M}}\) levels};
+
+ \foreach \y in {-3mm,0,3mm} {
+ \draw[gray, densely dotted] (O) ++(-2mm,\y) -- ++(22mm,0);
+ }
+
+ \draw[thick, draw = red!70!white] (O)
+ -- ++(3mm,0) -- ++(0,-3mm) -- ++(3mm,0) -- ++(0,6mm)
+ -- ++(3mm,0) -- ++(0,-3mm) -- ++(3mm,0) -- ++(0,-3mm)
+ -- ++(3mm,0) -- ++(0,3mm) -- ++(3mm,0);
+ \end{scope}
+
+ % Draw constellation diagram
+ \begin{scope}
+ \coordinate (O) at ($(S)+(-7mm,8mm)$);
+ \draw[gray, -latex] (O) ++(-2mm,0) -- ++(12mm,0) node[right] {\tiny \(\phi_i\)};
+ \draw[gray, -latex] (O) ++(0,-2mm) -- ++(0,12mm) node[above] {\tiny \(\phi_q\)};
+
+ \node[
+ circle, thick,
+ minimum size = 3pt,
+ inner sep = 0, outer sep = .8pt,
+ draw = gray, fill = red!50!white
+ ] (P) at ($(O)+(5mm, 4mm)$) {};
+
+ \node[gray, above right] at (P) {\tiny \(s\)};
+
+ \draw[gray, densely dotted]
+ (P) -- (P |- O)
+ (P) -- (P -| O);
+ \end{scope}
+\end{tikzpicture}
diff --git a/doc/thesis/figures/tikz/qam-modulator.tex b/doc/thesis/figures/tikz/qam-modulator.tex
index a55ff29..7ebc2c5 100644
--- a/doc/thesis/figures/tikz/qam-modulator.tex
+++ b/doc/thesis/figures/tikz/qam-modulator.tex
@@ -77,51 +77,6 @@
\node[above left] at (si) {\(s_i(t)\)};
\node[below left] at (sq) {\(s_q(t)\)};
- % Draw digital signals
- \begin{scope}[font = \ttfamily\footnotesize, text = blue!70!white]
- \node[above = 1mm of M, xshift = 2mm] {\(\ldots 1100101\)};
- \node[above = 7mm of vmi, xshift = 3mm]
- {\(\overbracket[.8pt]{\,11\ldots 00\,}^{\sqrt{M} \text{ bits}}\)};
- \end{scope}
-
- % Draw analog waveform
- \begin{scope}[font = \ttfamily\tiny]
- \coordinate (O) at ($(mi)+(-2mm,10.5mm)$);
-
- \node[left, red!70!white, anchor = east, text width = 8mm, align = right]
- at ($(O) + (-2mm,0)$) {\(2^{\sqrt{M}}\) levels};
-
- \foreach \y in {-3mm,0,3mm} {
- \draw[gray, densely dotted] (O) ++(-2mm,\y) -- ++(22mm,0);
- }
-
- \draw[thick, draw = red!70!white] (O)
- -- ++(3mm,0) -- ++(0,-3mm) -- ++(3mm,0) -- ++(0,6mm)
- -- ++(3mm,0) -- ++(0,-3mm) -- ++(3mm,0) -- ++(0,-3mm)
- -- ++(3mm,0) -- ++(0,3mm) -- ++(3mm,0);
- \end{scope}
-
- % Draw constellation diagram
- \begin{scope}
- \coordinate (O) at ($(S)+(-7mm,8mm)$);
- \draw[gray, -latex] (O) ++(-2mm,0) -- ++(12mm,0) node[right] {\tiny \(\phi_i\)};
- \draw[gray, -latex] (O) ++(0,-2mm) -- ++(0,12mm) node[above] {\tiny \(\phi_q\)};
-
- \node[
- circle, thick,
- minimum size = 3pt,
- inner sep = 0, outer sep = .8pt,
- draw = gray, fill = red!50!white
- ] (P) at ($(O)+(5mm, 4mm)$) {};
-
- \node[gray, above right] at (P) {\tiny \(s\)};
-
- \draw[gray, densely dotted]
- (P) -- (P |- O)
- (P) -- (P -| O);
- \end{scope}
-
-
% Background elements
\begin{pgfonlayer}{background}
\fill[left color = white, right color = blue!20, draw = white]