diff options
author | Nao Pross <np@0hm.ch> | 2021-10-31 20:49:44 +0100 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-10-31 20:49:44 +0100 |
commit | f0325a451f6ffbd3aa7e63833e0693b311f7abfd (patch) | |
tree | 0357cd9ec6b93338f77a2521a0bab69770eed755 /doc/thesis | |
parent | More styling (diff) | |
download | Fading-f0325a451f6ffbd3aa7e63833e0693b311f7abfd.tar.gz Fading-f0325a451f6ffbd3aa7e63833e0693b311f7abfd.zip |
Start doc on fading channels
Diffstat (limited to '')
-rw-r--r-- | doc/thesis/Fading.bib | 39 | ||||
-rw-r--r-- | doc/thesis/Fading.tex | 11 | ||||
-rw-r--r-- | doc/thesis/Makefile | 4 | ||||
-rw-r--r-- | doc/thesis/chapters/introduction.tex | 6 | ||||
-rw-r--r-- | doc/thesis/chapters/theory.tex | 74 | ||||
-rw-r--r-- | doc/thesis/figures/tikz/multipath-impulse-response.tex | 34 | ||||
-rw-r--r-- | doc/thesis/figures/tikz/multipath-sketch.tex | 37 |
7 files changed, 167 insertions, 38 deletions
diff --git a/doc/thesis/Fading.bib b/doc/thesis/Fading.bib index 9959867..eda5817 100644 --- a/doc/thesis/Fading.bib +++ b/doc/thesis/Fading.bib @@ -96,27 +96,48 @@ url = "https://www.youtube.com/watch?v=4ibjrRzvJ5E&list=PL7sWxFnBVJLXsvsLzMXT2Fk4ZPD7BJTBX&index=3" } +@misc{Gallager, + title = "Course material for 6.450 Principles of Digital Communications I", + author = "Robert Gallager", + year = 2006, + month = "Fall", + publisher = "MIT OpenCourseWare, Massachusetts Institute of Technology", + url = "https://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-450-principles-of-digital-communications-i-fall-2006" +} + +@article{Kschischang, + title = "The Hilbert Transform", + author = "Frank R. Kschischang", + year = 2006, + month = "October", + organization = "The Edward S. Rogers Sr. Department of Electrical and Computer Engineering, University of Toronto", + url = "http://web.eecs.utk.edu/~mjr/ECE342/hilbert.pdf", +} + @book{Hsu, title = {Schaum's Outline of Analog and Digital Communications}, author = {Hsu, H.P.}, isbn = {9780071402286}, lccn = {2002153194}, series = {Schaum's outline series}, - url = {https://books.google.ch/books?id=02I-J\_ZQa50C}, year = {2003}, publisher = {McGraw-Hill Education} } -@book{Kneubuehler, - title = {Nachrichtentechnik 1 + 2}, - author = {Kneub\"uhler, T.}, - year = {2020}, +@misc{Kneubuehler, + title = {Nachrichtentechnik 1 + 2}, + author = {Kneub\"uhler, T.}, + year = {2020}, + month = {September}, + organization = "Eastern Switzerland University of Applied Sciences", } -@book{Mathis, - title = {Wireless Communication}, - author = {{Prof. Dr. Mathis H.} and {Prof. Dr. Lang H.D.}}, - year = {2021}, +@misc{Mathis, + title = {Wireless Communication}, + author = {{Prof. Dr. Mathis H.} and {Prof. Dr. Lang H.D.}}, + year = {2021}, + month = {September}, + organization = "Eastern Switzerland University of Applied Sciences", } @BOOK{Meyer2011, diff --git a/doc/thesis/Fading.tex b/doc/thesis/Fading.tex index ecb80d6..074048d 100644 --- a/doc/thesis/Fading.tex +++ b/doc/thesis/Fading.tex @@ -8,7 +8,7 @@ paper = a4, twoside, openright, BCOR = 5mm, headinclude, footexclude, % font size - fontsize = 11pt, parskip = half, + fontsize = 11pt, % style of empty pages (after chapters) cleardoublepage = empty, % extra sections @@ -25,15 +25,18 @@ \usepackage{tex/docstyle} %% Pretty figures -\usepackage{circuitikz} % Electric diagrams -\usepackage{pgfplots} % Pretty plots -\usepackage{tikz} % Pretty drawings +\usepackage{circuitikz} % Electric diagrams +\usepackage{pgfplots} % Pretty plots +\usepackage{tikz} % Pretty drawings +\usepackage{tikz-3dplot} % More dimensions! \usetikzlibrary{ calc, positioning, backgrounds, + decorations.pathreplacing, matrix, + arrows, } \pgfdeclarelayer{background} \pgfdeclarelayer{foreground} diff --git a/doc/thesis/Makefile b/doc/thesis/Makefile index e0690ba..d5f02ab 100644 --- a/doc/thesis/Makefile +++ b/doc/thesis/Makefile @@ -18,7 +18,9 @@ SOURCES := \ figures/tikz/overview.tex \ figures/tikz/psk-constellation.tex \ figures/tikz/qam-modulator.tex \ - figures/tikz/qam-constellation.tex + figures/tikz/qam-constellation.tex \ + figures/tikz/multipath-sketch.tex \ + figures/tikz/multipath-impulse-response.tex # Get the main file from the file MAIN := $(shell sed -ne 's/^.*\!TeX root =\(.*\)$$/\1/ p' $(SOURCES)) diff --git a/doc/thesis/chapters/introduction.tex b/doc/thesis/chapters/introduction.tex index e2ccd46..965f31b 100644 --- a/doc/thesis/chapters/introduction.tex +++ b/doc/thesis/chapters/introduction.tex @@ -6,9 +6,11 @@ It is undeniable that in the last two decades modern wireless devices have become extremely ubiquitous, and are no longer employed under carefully chosen conditions. -Nowadays smart phones and internet of things (IoT) devices are carried around by everyone and have to work in environments that are very far from ideal. Furthermore, next generation wireless devices in urban environments will also include vehicles (cars, buses and trains)\cite{AntonescuTB17}, where reliability of intra-vehicular communication directly translates into safety. Whereas in rural regions, developing countries as well as other low-user density areas wireless transmission links using mesh networks have become a practical alternative to wired broadband\cite{Macmillan2019tidal,Subramanian2006rethinking,Flickenger2007wireless}. +Nowadays smart phones and internet of things (IoT) devices and many other wireless devices are carried around by everyone and have to work in environments that are very far from ideal. Furthermore in addition to the already large class of networked appliances, next generation wireless devices in urban environments will include the new category of vehicles \cite{AntonescuTB17}, where reliability of intra-vehicular communication directly translates into safety. While at the same time in rural regions, developing countries as well as other low-user density areas wireless transmission links using mesh networks have become a practical alternative to wired broadband \cite{Macmillan2019tidal,Subramanian2006rethinking,Flickenger2007wireless}. -All of the mentioned cases have a common problem caused by \emph{the fading effect}, which degrade the reliability of the link\cite{Mathis}. This was foreseen\cite{Frederiksen2002overview,Maddocks1993introduction} and today most modern transmission schemes implement measures to reduce the effects fading\cite{Mathis,Hsu}. +The study of problems concerning wireless devices is thus a very relevant topic today. More specifically, a common issue in the previously mentioned use cases is the so called \emph{multipath fading effect}, which degrade the reliability of the transmission link \cite{Mathis, Gallager}. The presence of fading was actually foreseen \cite{Frederiksen2002overview,Maddocks1993introduction} and today most modern transmission schemes implement measures to reduce the effects fading \cite{Mathis,Hsu}. + +In this work we are going to study the multipath fading effect, and how it affects modern digital transmission systems that uses quadrature amplitude (QAM) and phase shift keying (PSK) modulation. \section{Task description} diff --git a/doc/thesis/chapters/theory.tex b/doc/thesis/chapters/theory.tex index 0cbccd2..41e2314 100644 --- a/doc/thesis/chapters/theory.tex +++ b/doc/thesis/chapters/theory.tex @@ -33,7 +33,7 @@ In this section we will briefly give the mathematical background required by the } \end{figure} -Quadrature amplitude modulation is a family of modern digital modulation methods, that use an analog carrier signal. The simple yet effective idea behind QAM is to encode extra information into an orthogonal carrier signal, thus increasing the number of bits sent per unit of time. A block diagram of the process is shown in figure \ref{fig:quadrature-modulation}. +Quadrature amplitude modulation is a family of modern digital modulation methods, that use an analog carrier signal. The simple yet effective idea behind QAM is to encode extra information into an orthogonal carrier signal, thus increasing the number of bits sent per unit of time \cite{Gallager,Kneubuehler,Mathis,Hsu}. A block diagram of the process is shown in figure \ref{fig:quadrature-modulation}. %% TODO: Quick par on "we will dicusss M-Ary QAM, M is 2^something" @@ -41,7 +41,7 @@ Quadrature amplitude modulation is a family of modern digital modulation methods \paragraph{Bit splitter} -As mentioned earlier, quadrature modulation allows sending more than one bit per unit time. The first step to do it is to use a so called bit splitter, that converts the continuous bitstream \(m(n)\) into pairs of chunks of \(\sqrt{M}\) bits. The two bit vectors of length \(\sqrt{M}\), denoted by \(\vec{m}_i\) and \(\vec{m}_q\) in figure \ref{fig:quadrature-modulation}, are called in-phase and quadrature component respectively. The reason will become more clear later. +As mentioned earlier, quadrature modulation allows sending more than one bit per unit time. The first step to do it is to use a so called bit splitter, that converts the continuous bitstream \(m(n)\) into pairs of chunks of \(\sqrt{M}\) bits. The two bit vectors of length \(\sqrt{M}\), denoted by \(\vec{m}_i\) and \(\vec{m}_q\) in figure \ref{fig:quadrature-modulation}, are called in-phase and quadrature component respectively\cite{Hsu}. The reason will become more clear later. \paragraph{Binary to level converter} @@ -51,7 +51,7 @@ Both bit vectors \(\vec{m}_i, \vec{m}_q \in \{0,1\}^{\sqrt{M}}\) are sent throug \begin{equation} m_i(t) = \text{Level}(\vec{m}_i) \cdot p(t), \end{equation} -i.e. a pulse function\footnote{Typically a root raised cosine to optimize for bandwidth.} \(p(t)\) scaled by the interpreted binary value, written here using a ``Level'' function. So at this point a level of each analog waveform is encodes \(\sqrt{M}\) bits per unit time, and there are two of such waveforms. +i.e. a pulse function\footnote{Typically a root raised cosine to optimize for bandwidth \cite{Hsu}.} \(p(t)\) scaled by the interpreted binary value, written here using a ``Level'' function. So at this point a level of each analog waveform is encodes \(\sqrt{M}\) bits per unit time, and there are two of such waveforms. \paragraph{Mixer} @@ -61,7 +61,7 @@ Having analog level signals, it is this now possible to mix them with radio freq \subsection{Orthogonality of carrier signals} -Before explaining how the two carrier signals are generated, we first need to discuss some important mathematical properties \(\phi_i\) and \(\phi_q\) need to have, in order to modulate two messages over the same frequency \(\omega_c\). The two carriers need to be \emph{orthonormal}\footnote{Actually orthogonality alone would be sufficient, however then the left side of \eqref{eqn:orthonormal-condition} would not equal 1, and an inconvenient factor would be introduced in many later equations.} to each other, mathematically this is expressed by the conditions +Before explaining how the two carrier signals are generated, we first need to discuss some important mathematical properties \(\phi_i\) and \(\phi_q\) need to have, in order to modulate two messages over the same frequency \(\omega_c\). The two carriers need to be \emph{orthonormal}\footnote{Actually orthogonality alone would be sufficient, however then the left side of \eqref{eqn:orthonormal-condition} would not equal 1, and an inconvenient factor would be introduced in many later equations \cite{Gallager,Hsu}.} to each other, mathematically this is expressed by the conditions \begin{subequations} \label{eqn:orthonormal-conditions} \begin{align} \langle \phi_i, \phi_q \rangle @@ -97,11 +97,13 @@ If \(\phi_i\) is a real valued signal (which is typical) it is possible to find = \frac{1}{\pi} \int_\mathbb{R} \frac{g(\tau)}{t - \tau} \,d\tau = \frac{1}{\pi} \int_\mathbb{R} \frac{g(t - \tau)}{\tau} \,d\tau, \end{equation} -i.e. a linear operator that introduces a phase shift of \(\pi / 2\) over all frequencies. It is a known property of the Hilbert transform that given a real valued function \(g(t)\) then \(\langle g, \hilbert g \rangle = 0\). +i.e. a linear operator that introduces a phase shift of \(\pi / 2\) over all frequencies \cite{Hsu,Gallager}. It is a known property of the Hilbert transform that given a real valued function \(g(t)\) then \(\langle g, \hilbert g \rangle = 0\) \cite{Kschischang,Kneubuehler}. In practice \(\phi_i(t) = \cos(\omega_c t)\) and \(\phi_q(t) = \hilbert \phi_i(t) = \sin(\omega_c t)\). \paragraph{Oscillator and phase shifter} +\subsection{Spectral properties of a QAM signal} + \begin{figure} \hfill \begin{subfigure}{.4\linewidth} @@ -135,34 +137,62 @@ Two bits are modulated at ones with the same bandwidth as a 2-PSK so more inform Most times there is noise and the points on the constellation diagram become a surface. If the surfaces overlap there will be a problem with decoding. -\section{Chanel noise and fading} +\section{Wireless channel} -\subsection{Geometric Model} +In the previous section, we have discussed how the data is modulated and demodulated at the two ends of the transmission system. In this section we will discuss what happens between the sender and receiver, when the modulated passband signal is transmitted wirelessly. +In theory because wireless transmission happens through electromagnetic radiation, to model a wireless channel one would need to solve Maxwell's equations either for the electric or magnetic field, however in practice that is not (analytically) possible. Instead what is typically done, is to model the impulse response of the channel using a geometrical or statistical model, parametrized by a set of coefficients that are either simulated or measured experimentally \cite{Gallager}. -\subsection{Statistical Model} +In our model we are going to include an additive white Gaussian noise (AWGN) and a Rician (or Rayleighan) fading; both are required to model physical effects of the real world. The former in particular is relevant today, as it mathematically describes dense urban environments. -%% TODO: write about advantage of statistical model instead of geometric +\subsection{Additive white Gaussian noise} -\paragraph{Continuous time model} +%% TODO: Discuss thermal stuff etc? -Continuous time small scale fading channel response. +\subsection{Geometric multipath fading model} -time varying channel impulse response: -\begin{equation} - h(t, \tau) = \sum_k c_k (t) \delta(\tau - \tau_k(t)) -\end{equation} +The simplest way to understand the multipath fading, is to consider it from a geometrical perspective. Figure \ref{fig:multipath-sketch} is a sketch a wireless transmission system affected by multipath fading. The sender's antenna radiates an electromagnetic wave in the direction of the receiver (red line), however even under the best conditions a part of the signal will be dispersed in other directions (blue lines). -received signal \(y = h * x\), i.e. convolution with channel model. +\begin{figure} + \centering + \input{figures/tikz/multipath-sketch} + \caption{ + Sketch of channel with multipath fading + \label{fig:multipath-sketch} + } +\end{figure} -\subsection{Time discretization of the model} +The problem is that, as is evident from geometry, some paths are longer than others. And thus the signal is received by the received multiple times, each with different phase shifts \cite{Gallager,Messier}. To mathematically model this effect, we describe the received signal \(r(t)\) as a linear combination of delayed copies of the sent signal \(s(t)\), each with a different phase shift \(\tau_k\): +\begin{equation} \label{eqn:geom-multipath-rx} + r(t) = \sum_k c_k s(t - \tau_k). +\end{equation} +The linearity of the model is justified by the assumption that the electromagnetic waves act linearly (superposition holds) \cite{Gallager}. How many copies of \(s(t)\) (usually referred to as ``taps'') should be included in the formula, depends on the precision requirements of the model. -%% TODO: explain why +A further complication arises, when one end (or both) is not stationary. In that case the lengths of the paths change over time, as a result both the delay of each copy \(\tau_k\) as well as the amplitudes \(c_k\) become functions of time: \(\tau_k(t)\) and \(c_k(t)\) respectively \cite{Gallager,Messier}. Even worse is when the velocity at which it is moving is high, because then Doppler shifts of the electromagnetic wave frequency become non negligible \cite{Gallager}. -Assume \(x\) is a time discrete signal with and bandwidth \(W\), thus the pulse is sinc shaped -\begin{equation} - x(t) = \sum_n x(n) \sinc(t/T - n) +We can thus conclude that the arrangement can be modelled as a linear time \emph{variant} system (LTV), if either the sender or receiver (or both) is moving, and as a linear time \emph{invariant} (LTI) systems if both ends are stationary. Regardless of which of the two cases, just the linearity is sufficient to approximate the channel as finite impulse response (FIR) filter \cite{Messier}. Mathematically we can rewrite LTV version of equation \eqref{eqn:geom-multipath-rx} using a convolution product as following: +\begin{align*} + r(t) = \sum_k c_k(t) s(t - \tau_k(t)) &= \sum_k c_k(t) \int s(t') \delta(t' - \tau_k(t)) \,dt' \\ + &= \int s(t') \sum_k c_k(t) \delta(t' - \tau_k(t)) \,dt' = s(t') * h(t, t'), +\end{align*} +obtaining a new function +\begin{equation} \label{eqn:multipath-impulse-response} + h(t,t') = \sum_k c_k(t) \delta(t' - \tau_k(t)), \end{equation} -Ideal sampling at rate \(2W\) of \(y\) gives +that describes the \emph{impulse response} of the channel. This function is depends on two time parameters: actual time \(t\) and convolution time \(t'\), since after the convolution the latter is removed. To better understand \(h(t,t')\), consider an example in shown in figure \ref{fig:multipath-impulse-response}. Each stem represents a weighted Dirac delta, so each series of stems of the same color, along the convolution time \(t'\) axis, is a channel response at some specific time \(t\). Along the other \(t\) axis we see how the entire channel response changes over time. Notice that the stems are not quite aligned to the \(t'\) time raster (dotted lines), that is because in equation \eqref{eqn:multipath-impulse-response} not only the weights \(c_k\) but also the delays \(\tau_k\) are time dependent. + +\begin{figure} + \centering + \input{figures/tikz/multipath-impulse-response} + \caption{ + LTV impulse response of a multipath fading channel. + \label{fig:multipath-impulse-response} + } +\end{figure} + + +\subsection{Statistical multipath fading model} + +%% TODO: write about advantage of statistical model instead of geometric \section{Receiver DSP chain} diff --git a/doc/thesis/figures/tikz/multipath-impulse-response.tex b/doc/thesis/figures/tikz/multipath-impulse-response.tex new file mode 100644 index 0000000..4826b6f --- /dev/null +++ b/doc/thesis/figures/tikz/multipath-impulse-response.tex @@ -0,0 +1,34 @@ +% vim: set ts=2 sw=2 noet: +\tdplotsetmaincoords{70}{40} +\begin{tikzpicture}[tdplot_main_coords, font = \footnotesize\ttfamily] + \draw[thick, -latex] (0,0,0) -- node[sloped, midway, below, gray] {Effect of the channel} (7,0,0) node[right] {\(t'\)}; + \draw[thick, -latex] (0,0,0) -- node[sloped, midway, above, gray] {How the channel changes} (0,7,0) node[right] {\(t\)}; + \draw[thick, -latex] (0,0,0) -- (0,0,2) node[above] {\(h(t,t')\)}; + + \foreach \y in {1,2,...,4}{ + \draw[dashed, gray] (0,1.5*\y,0) -- ++(7,0,0); + } + + \foreach \x in {1,2,...,6}{ + \draw[dotted, gray] (\x,0,0) -- ++(0,7,0); + } + + % draw 4 responses + \begin{scope}[very thick, -{Circle[fill=white]}] + \foreach \x/\v in {.8/1, 2.2/2, 2.9/1, 4/4, 5.1/7, 5.8/3}{ + \draw[blue!80!red] (\x,1.5*4,0) -- ++(0,0,\v/3); + } + + \foreach \x/\v in {.9/2, 2.1/2, 3/1, 4/3, 5/6, 6/3}{ + \draw[blue!60!red] (\x,1.5*3,0) -- ++(0,0,\v/3); + } + + \foreach \x/\v in {.6/1, 2/1, 2.8/3, 4.1/4, 5.5/4, 6.2/1}{ + \draw[blue!40!red] (\x,1.5*2,0) -- ++(0,0,\v/3); + } + + \foreach \x/\v in {1.1/2, 1.8/1, 3/2, 3.7/1, 4.8/3, 5.8/1}{ + \draw[blue!20!red] (\x,1.5,0) -- ++(0,0,\v/3); + } + \end{scope} +\end{tikzpicture} diff --git a/doc/thesis/figures/tikz/multipath-sketch.tex b/doc/thesis/figures/tikz/multipath-sketch.tex new file mode 100644 index 0000000..096f06f --- /dev/null +++ b/doc/thesis/figures/tikz/multipath-sketch.tex @@ -0,0 +1,37 @@ +% vim: set ts=2 sw=2 noet: +\begin{tikzpicture}[ + antenna/.pic = { + \draw[very thick] (0,0) -- ++(2mm, 3mm) -- ++(-4mm,0) -- cycle; + \draw[very thick] (0,0) -- ++(0,-5mm) coordinate (-mast) {}; + \draw[thick] (0,0) -- ++(0,3mm); + \node[inner sep = 0pt, outer sep = 6pt] (-center) at (0,2mm) {}; + }, + ] + + % Antennas + \draw (0,2) pic (T) {antenna} node[above left = 3mm] {\sffamily\bfseries TX}; + \draw (5,0) pic (R) {antenna} node[above right = 3mm] {\sffamily\bfseries RX}; + + % wall coefficients + \draw[thick] (4.75, 2.25) to[out = -20, in = 180] ++(1.2,-.5) node[right] {\(|\Gamma| > 0\)}; + + % walls + \draw[thick, fill = lightgray!20] (3,2) -- ++(2,-.5) -- ++(0,1) -- ++(-2,.5) -- cycle; + \draw[thick, fill = lightgray!20] (-1,0) -- ++(3,0) -- ++(1,-.5) -- ++(-3,0) -- cycle; + + + % reflected signals + \draw[line width = 2pt, blue!50!white, -latex] (T-center) -- node[above, pos = .5] {\(\tau_2\)} (4,2.25) -- (R-center); + \draw[line width = 2pt, blue!50!white, -latex] (T-center) -- node[left, pos = .7] {\(\tau_3\)} (1,-.25) -- (R-center); + \draw[line width = 2pt, blue!50!white, -latex] (T-center) -- node[above, pos = .5] {\(\tau_4\)} (-2.5,1.5) -- (R-center); + + % another wall + \draw[thick, fill = lightgray!20] (-2,0) -- ++(-1,.5) -- ++(0,2) --++(1,-.5) -- cycle; + + % LOS path + \draw[line width = 1mm, red!50!white, + decorate, decoration = { + expanding waves, angle = 5, segment length = 2mm + } + ] (T-center) -- node[above = 2mm, pos = .5] {\(\tau_1\)} (R-center); +\end{tikzpicture} |