From b5c180433ae875dbed1c40a6aef18d91e676b4b9 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Thu, 18 Nov 2021 15:57:00 +0100 Subject: Fix monospace font issue in doc --- doc/thesis/tex/docstyle.sty | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/thesis/tex/docstyle.sty b/doc/thesis/tex/docstyle.sty index b9a0b8d..def2495 100644 --- a/doc/thesis/tex/docstyle.sty +++ b/doc/thesis/tex/docstyle.sty @@ -45,6 +45,7 @@ \RequirePackage{roboto} % Bera for monospaced font \setmonofont[Path=misc/, + Scale=0.85, BoldFont = VeraMoBd, ItalicFont = VeraMoIt, BoldItalicFont = VeraMoBI, @@ -116,7 +117,7 @@ language = TeX, showstringspaces = false, % font - basicstyle = \ttfamily\small, + basicstyle = \ttfamily, identifierstyle = \color{black}, keywordstyle = \bfseries \color{blue!70!black}, commentstyle = \color{gray}, -- cgit v1.2.1 From f5b4409898f81f1b5341aea877ebc4aa2b0e3f03 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Thu, 18 Nov 2021 16:03:24 +0100 Subject: Restructure impl chapter --- doc/thesis/chapters/implementation.tex | 148 ++++++++++++++++----------------- doc/thesis/chapters/theory.tex | 17 ---- 2 files changed, 70 insertions(+), 95 deletions(-) (limited to 'doc') diff --git a/doc/thesis/chapters/implementation.tex b/doc/thesis/chapters/implementation.tex index 1052f6b..21235ea 100644 --- a/doc/thesis/chapters/implementation.tex +++ b/doc/thesis/chapters/implementation.tex @@ -2,11 +2,72 @@ \chapter{Implementation} -\section{Simulaton} -%%TO DO: quelle https://wiki.gnuradio.org/ +\section{Overview} +% TODO: quelle https://wiki.gnuradio.org/ For the simulation task and after for the Hardware part, the open-source Software GNU Radio has been chosen. This software uses toolboxes for signal processing systems too simulate or/and implement a software-defined radio, based on Python and some C++ implementations for some rapid-application-development environments. The toolboxes can simply, with the help of the graphical user interface, used by drag-and-drop. The Boxes are used to write applications, to receive or to transmit date for a digital system. Some blocks like different filters, channel codes or demodulator elements and a lot more are already implemented. For missing application new elements can be added by coding own blocks. With the help of the GNU Radio software those toolboxes can easily get connected to each other, creating data streams. +\section{Sender chain} +\subsection{Data source} + +%% TODO: replace with file file +In this simulation a random source has been chosen. + +\subsection{Modulation} + +The constellation modulator block is used for a root-raised-cosine-filtered basis modulation. The block gives an input of a byte stream as complex modulated signal in the baseband back. +Further more it's possible to chose the modulation type here, in this example it is 16QAM, but QPSK, 8PSK and BPSK would also be possible. + +\section{Receiver chain} + +\subsection{Envelope detector} + +\paragraph{Polyphase Clock Sync} +%% To Do : nochmals anschauen ob dieese erklärung verständlich ist und richtig interpretiert wurde. +With the the polyphase clock sync the symbols can be synchronized by preforming a time synchronization with the help of multiple filterbanks. For that the derivation of the filtered signal should be minimized whish turns to a better SNR. This works with the help of two filterbanks, one of them contains the filters of the signal adapted to the pulse shaping with several phases. The other contains its derivative. So in the time domain it has a sinc shape, for the output Signal the sinc peak should be on a sample, with the fact that sinc(0) = 1 and sinc(0)' = 0 an error signal can be generated which tells how far away from the peak it is. This error Signal should be zero this is possible with the help of a loop second order whish constants the number of the filterbank and the rate. This rate is generated because of the clock difference between the transmitter and reviver to synchronies the receiver the filter goes through the phases. For the output one sample per symbol is enough. + +\paragraph{Equalizer} + +\paragraph{Costas Loop} + +The Costas Loop is used for frequency and phase adjustment it locks the center frequency of the signal additional it converts it back to de baseband. For different modulation types different orders of the loop had to be chosen + +\paragraph{Constellation decoder} + +From the complex space the constellation points are decode to bits. + +\subsection{Frame synchronization} + +\section{Channel simulations} + +Here its possible to add some AWGN noise in the channel line. Different parameters can be changed like the noise voltage, time or the frequency offset. + +\skelpar[5]{ + Discuss the multitap FIR model we used. How it is possible to set the delay etc. Also mathematics for the interpolation. +} + +To get a basic line for further simulations a 16QAM has been made. The results of this simulation are shown in \figref{fig:simul16QAM} and \figref{fig:simul16QAM_1} as the red Signal. In \tabref{tab:modulation_settings} some importer Parameter settings for a different modulation scheme are mentioned. + +A FIR-Filter was added in the Channel to create a time delay between tow paths. In \figref{fig:simul16QAM} the result includes a direct path and a delayed one. In the plot of \figref{fig:simul16QAM_1} the transmission line dosn't include a direct path. It's impotent to mention that the delay should be smaller than the symbol rate or a multiple of it. + +For the a first simulation with some fading the 16QAM simulation model has been extended with a FIR-Filter in the Chanel. The results of this simulation are shown in \figref{fig:simul16QAM} and \figref{fig:simul16QAM_1} as the blue Signal. + + +\section{Hardware} + +As Hardware we chosen the USRP B210 from Ettus Research, with the following specifications shown in \tabref{tab:USRP B210 specifications}. Because this SDR is more than enough for our requires. + +For the Hardware setup up some changes are made in the file from the 16QAM simulation to fit with the SDRs. For the first test a coaxial cable was used as transmission line, after the cabel were been replaced with two antennas. The gnu radio block scheme is shown in \figref{fig:simul16QAM_Hardware_Aufbau}. The results for s anntena set uo with a transmission line of 20cm are plotted in \figref{fig:simul16QAM__Hardware}. + +Instead of the channel modeling block the USRP blocks are used. The sink as transmitter and the source as resiver. The Signal is sended on a center frequency of 2.4GHz. + +\subsection{Empirical BER} +\subsection{Measurements} + +% +% +% + \begin{figure} \includegraphics[width=\linewidth]{./figures/pdfs/qam_nogui.pdf} \caption{GNU Radio Blocks} @@ -25,9 +86,6 @@ For the simulation task and after for the Hardware part, the open-source Softwar \label{fig:simul16QAM_1} \end{figure} -\subsection{16QAM Simulation} -To get a basic line for further simulations a 16QAM has been made. The results of this simulation are shown in \figref{fig:simul16QAM} and \figref{fig:simul16QAM_1} as the red Signal. In \tabref{tab:modulation_settings} some importer Parameter settings for a different modulation scheme are mentioned. - \begin{table}[] \centering \caption{Modulation settings for different scheme} @@ -44,59 +102,6 @@ To get a basic line for further simulations a 16QAM has been made. The results o \label{tab:modulation_settings} \end{table} - -\subsubsection{Transmitter} -\paragraph{Source} -In this simulation a random source has been chosen. -\paragraph{Modulator} -The constellation modulator block is used for a root-raised-cosine-filtered basis modulation. The block gives an input of a byte stream as complex modulated signal in the baseband back. -Further more it's possible to chose the modulation type here, in this example it is 16QAM, but QPSK, 8PSK and BPSK would also be possible. - -\subsubsection{Channel} -\paragraph{Channel Mode} -Here its possible to add some AWGN noise in the channel line. Different parameters can be changed like the noise voltage, time or the frequency offset. - -\subsubsection{Receiver} -\paragraph{Polyphase Clock Sync} -%% To Do : nochmals anschauen ob dieese erklärung verständlich ist und richtig interpretiert wurde. -With the the polyphase clock sync the symbols can be synchronized by preforming a time synchronization with the help of multiple filterbanks. For that the derivation of the filtered signal should be minimized whish turns to a better SNR. This works with the help of two filterbanks, one of them contains the filters of the signal adapted to the pulse shaping with several phases. The other contains its derivative. So in the time domain it has a sinc shape, for the output Signal the sinc peak should be on a sample, with the fact that sinc(0) = 1 and sinc(0)' = 0 an error signal can be generated which tells how far away from the peak it is. This error Signal should be zero this is possible with the help of a loop second order whish constants the number of the filterbank and the rate. This rate is generated because of the clock difference between the transmitter and reviver to synchronies the receiver the filter goes through the phases. - -For the output one sample per symbol is enough. - -\paragraph{Equalizer} -? - - -\paragraph{Costas Loop} - -The Costas Loop is used for frequency and phase adjustment it locks the center frequency of the signal additional it converts it back to de baseband. For different modulation types different orders of the loop had to be chosen - -\paragraph{Decoder} - -From the complex space the constellation points are decode to bits. - - - -\subsection{Simulation Fading} -For the a first simulation with some fading the 16QAM simulation model has been extended with a FIR-Filter in the Chanel. The results of this simulation are shown in \figref{fig:simul16QAM} and \figref{fig:simul16QAM_1} as the blue Signal. - -\subsubsection{Channel} -\subsubsection{FIR-Filter} -A FIR-Filter was added in the Channel to create a time delay between tow paths. In \figref{fig:simul16QAM} the result includes a direct path and a delayed one. In the plot of \figref{fig:simul16QAM_1} the transmission line dosn't include a direct path. It's impotent to mention that the delay should be smaller than the symbol rate or a multiple of it. - -\newpage -\section{Hardware} - -As Hardware we chosen the USRP B210 from Ettus Research, with the following specifications shown in \tabref{tab:USRP B210 specifications}. Because this SDR is more than enough for our requires. - - -\subsection{16QAM Hardware setup} -For the Hardware setup up some changes are made in the file from the 16QAM simulation to fit with the SDRs. For the first test a coaxial cable was used as transmission line, after the cabel were been replaced with two antennas. The gnu radio block scheme is shown in \figref{fig:simul16QAM_Hardware_Aufbau}. The results for s anntena set uo with a transmission line of 20cm are plotted in \figref{fig:simul16QAM__Hardware}. - -\subsubsection{Channel} -\paragraph{UHD: USRP Sink and Source} -Instead of the channel modeling block the USRP blocks are used. The sink as transmitter and the source as resiver. The Signal is sended on a center frequency of 2.4GHz. - \begin{figure} \includegraphics[width=\linewidth]{./figures/pdfs/qam_Hardware_1711.pdf} \caption{GNU Radio Blocks Hardware} @@ -109,34 +114,21 @@ Instead of the channel modeling block the USRP blocks are used. The sink as tran \label{fig:simul16QAM__Hardware} \end{figure} - - % To Do: Picture of the setup - \begin{table}[] %To DO sepzifikationen ampssen / genauer? https://www.ettus.com/wp-content/uploads/2019/01/b200-b210_spec_sheet.pdf %https://kb.ettus.com/B200/B210/B200mini/B205mini#FAQ \centering \caption{USRP B210 specifications} - \begin{tabular}{ccc} - \midrule - Dimensions & 9.7 x 15.5 x 1.5 cm \\ - Ports & - 2 TX , 2 RX, Half or Full Duplex\\ - RF frequencies & from 70MHz to 6GHz\\ - Bandwidth & 200kHz-56MHz\\ - External reference input & 10 MHz \\ + \begin{tabular}{ll} + \toprule + Dimensions & \(9.7 \times 15.5 \times 1.5\) cm \\ + Ports & 2 TX, 2 RX, Half or Full Duplex \\ + RF frequencies & from 70MHz to 6GHz \\ + Bandwidth & 200kHz -- 56MHz \\ + External reference input & 10 MHz \\ \bottomrule \end{tabular} \label{tab:USRP B210 specifications} \end{table} - - - - -\section{Measurements} - - - -\section{Results} diff --git a/doc/thesis/chapters/theory.tex b/doc/thesis/chapters/theory.tex index 9d61b60..92dea24 100644 --- a/doc/thesis/chapters/theory.tex +++ b/doc/thesis/chapters/theory.tex @@ -314,20 +314,3 @@ Because as mentioned earlier it is difficult to estimate the time-dependent para \sim \mathcal{N} \left( \frac{A_l}{\sqrt{2}}, \frac{1}{2} \sigma_l^2 \right) \end{equation} \skelpar[4] - -\section{Receiver DSP chain} - -\skelpar[3]{Overview of the DSP chain.} - -\begin{figure} - \centering - \skelfig[width = .8\linewidth] - \caption{ - Signal processing chain of the receiver. - \label{fig:rx-dsp-chain} - } -\end{figure} - -\paragraph{Synchronization} \skelpar[4]{Polyphase filter bank.} -\paragraph{Equalization} \skelpar[4]{CMA Equalizer.} -\paragraph{Fine tuning} \skelpar[4]{Costas Loop.} -- cgit v1.2.1 From 6e992505327cffdc10ae81fbc0ad9b0bd5033743 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Thu, 18 Nov 2021 16:14:15 +0100 Subject: Add PDFs --- doc/slides/slides.pdf | Bin 0 -> 10248 bytes doc/thesis/Fading.pdf | Bin 0 -> 469520 bytes doc/thesis/Makefile | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 doc/slides/slides.pdf create mode 100644 doc/thesis/Fading.pdf (limited to 'doc') diff --git a/doc/slides/slides.pdf b/doc/slides/slides.pdf new file mode 100644 index 0000000..9e7e104 Binary files /dev/null and b/doc/slides/slides.pdf differ diff --git a/doc/thesis/Fading.pdf b/doc/thesis/Fading.pdf new file mode 100644 index 0000000..9896dc4 Binary files /dev/null and b/doc/thesis/Fading.pdf differ diff --git a/doc/thesis/Makefile b/doc/thesis/Makefile index c207a17..be2b4bb 100644 --- a/doc/thesis/Makefile +++ b/doc/thesis/Makefile @@ -47,7 +47,7 @@ all: $(PDF) biber $(basename $(MAIN)) $(TEX) $(TEXARGS) $< # embed fonts - gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dEmbedAllFonts=true -sOutputFile=$@_font_embedded.pdf -f $@ + # gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dEmbedAllFonts=true -sOutputFile=$@_font_embedded.pdf -f $@ .PHONY: clean cleanall clean: -- cgit v1.2.1 From 3d65fe04353c3dc25956d5bf1325decaed8f5082 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Thu, 18 Nov 2021 19:08:09 +0100 Subject: Remove PDF --- doc/thesis/Fading.pdf | Bin 469520 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 doc/thesis/Fading.pdf (limited to 'doc') diff --git a/doc/thesis/Fading.pdf b/doc/thesis/Fading.pdf deleted file mode 100644 index 9896dc4..0000000 Binary files a/doc/thesis/Fading.pdf and /dev/null differ -- cgit v1.2.1