diff options
author | Nao Pross <np@0hm.ch> | 2021-11-18 16:03:24 +0100 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-11-18 16:03:24 +0100 |
commit | f5b4409898f81f1b5341aea877ebc4aa2b0e3f03 (patch) | |
tree | 2cd26da39c26783509d1b92ffd1cb81519838caf | |
parent | Fix monospace font issue in doc (diff) | |
download | Fading-f5b4409898f81f1b5341aea877ebc4aa2b0e3f03.tar.gz Fading-f5b4409898f81f1b5341aea877ebc4aa2b0e3f03.zip |
Restructure impl chapter
Diffstat (limited to '')
-rw-r--r-- | doc/thesis/chapters/implementation.tex | 148 | ||||
-rw-r--r-- | doc/thesis/chapters/theory.tex | 17 |
2 files changed, 70 insertions, 95 deletions
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.} |