root/ossiedev/branches/hvolos/docs/ChannelLab/ChannelLab.tex @ 9406

Revision 9406, 6.2 KB (checked in by hvolos, 4 years ago)

Updated text

Line 
1\documentclass[10pt]{article}
2
3\usepackage[pdftex]{graphicx}
4\usepackage{listings}
5\usepackage{color}
6\usepackage[left=2cm,top=1cm,right=3cm,nohead,nofoot]{geometry}
7
8\definecolor{darkgreen}{rgb}{0,0.5,0}
9\definecolor{darkblue}{rgb}{0,0,0.5}
10
11\lstloadlanguages{bash}
12\lstset{%
13        language=bash,
14        basicstyle=\ttfamily,
15        keywordstyle=\color{darkblue}\bfseries,
16        morekeywords={chmod,cp,grep,man,mkdir,killall,ps,rm,su,sudo},
17        morecomment=[l][\color{darkgreen}]{\#!},
18        columns=fullflexible
19}
20
21\newcommand{\osfig}[2]%
22{%
23\begin{figure}[h!]
24\label{fig:#1}
25\centering
26\includegraphics[width=300px]{#1.png}
27\caption{#2}
28\end{figure}
29}
30
31\newcommand{\osblock}%
32{%
33\begin{figure}[h!]
34\label{fig:block}
35\centering
36\includegraphics[width=300px]{lab_6/figures/block.png}
37\end{figure}
38}
39
40
41\newcommand{\osref}[1]%
42{%
43Figure~\ref{fig:#1}%
44}
45
46%opening
47\title{OSSIE Lab \#: Using the Channel component}
48\author{Haris I. Volos, \textit{et al}\\
49Virginia Tech, Blacksburg, VA\\
50Developed using OSSIE 0.7.x\\
51}
52\date{June 2009}
53
54\begin{document}
55
56\maketitle
57
58\section{Acknowledgments}
59This work was supported in part by NSF award \#0520418, and would not be possible without
60the contributions of numerous students on the OSSIE team and other OSSIE users and
61developers.
62
63\section{Objective}
64The objective of this lab is to familiarize the user with the Channel component
65
66\section{Version}
67This lab is for use with OSSIE version 0.7.x, the OSSIE Eclipse Feature (OEF), and ALF running on a computer or VMware image that uses Fedora Core 7 or Ubuntu 8.04. The TxDemo, Channel and RxDemo components are required.
68
69\section{Procedure}
70\subsection{Procedure Overview}
71\begin{enumerate}
72 \item Using OEF, build the ChannelEval waveform with the TxDemo, Channel, and RxDemo components
73 \item Run nodeBooter
74 \item Run the waveform using different settings and observe the effect on the number of errors
75\end{enumerate}
76
77\subsection{Getting Started}
78\subsection{Building the waveform}
79Using OEF build the ChannelEval waveform with the structure shown in \osref{waveformOEF}. In addition, \osref{blockdiagram} provides an alternative view of the waveform. Only the Channel component has configurable properties, set those properties according to \osref{wfmproperties}
80\osfig{waveformOEF}{OEF Waveform Structure}
81\osfig{blockdiagram}{Block Diagram}
82\osfig{wfmproperties}{Initial Channel Component Properties}
83\subsection{Theory}
84The TxDemo transmits QPSK symbols with energy $7000^2+7000^2=98000000$ (both I and Q components have an amplitude of 7000).
85SNR Estimation in dB is given by:
86\begin{equation}
87SNR=10log(\frac{RxPower}{Noise})
88\end{equation}
89AWGN BER Estimation (QPSK)
90\begin{equation}
91P_b=Q(\sqrt{\frac{E_s}{N_0}})=Q(\sqrt{SNR})
92\end{equation}
93\subsection{No fading}
94Set the fading parameter to ``None''
95\subsubsection{Very Low SNR}
96Set the noise power to 98000000, which is equal to power of energy of the QPSK pulse generated by the TxDemo component. The resulting SNR is 0 dB.
97\osfig{IQ0dB}{I-Q Diagram, 0 dB SNR}
98
99Sample NodeBooter output:
100\begin{lstlisting}[]
101...
102RxDemo errors: 171 / 1024
103RxDemo errors: 158 / 1024
104RxDemo errors: 155 / 1024
105RxDemo errors: 160 / 1024
106RxDemo errors: 168 / 1024
107RxDemo errors: 175 / 1024
108...
109\end{lstlisting}
110The average bit error equals 0.16 which is very close the theoretical bit error of 0.1587.
111\subsubsection{Low SNR}
112Set noise power to 9800000
113\osfig{IQ10dB}{I-Q Diagram, 10 dB SNR}
114Sample NodeBooter output:
115\begin{lstlisting}[]
116...
117RxDemo errors: 1 / 1024
118RxDemo errors: 1 / 1024
119RxDemo errors: 1 / 1024
120RxDemo errors: 0 / 1024
121RxDemo errors: 1 / 1024
122RxDemo errors: 0 / 1024
123...
124\end{lstlisting}
125The Average bit error equals $7.5\times 10^{-4}$ which is also close to the theoretical bit error of $7.83\times 10^{-4}$
126
127
128\subsubsection{Medium SNR}
129Set noise power to 980000
130\osfig{IQ20dB}{I-Q Diagram, 20 dB SNR}
131Sample NodeBooter output:
132\begin{lstlisting}[]
133...
134RxDemo errors: 0 / 1024
135RxDemo errors: 0 / 1024
136RxDemo errors: 0 / 1024
137RxDemo errors: 0 / 1024
138...
139\end{lstlisting}
140
141The average bit error is to low to be estimated, the theoretical bit error is $7.67\times 10^{-24}$.
142
143\subsection{Fading}
144Set the fading parameter to ``Ricean'' and the ``Max. Doppler rate'' to 0.001. The theoretical bit error rate is not provided because is not as straightforward to estimate for the the conditions tested as the AWGN case.
145\subsubsection{Rayleigh Fading}
146Set the ``K fading factor'' to 0 (Rayleigh fading)
147It may be observed it the \osref{IQK0EnvelopeFalse} that both the amplitude and the phase of the received signal fluctuates.
148\osfig{IQK0EnvelopeFalse}{I-Q Diagram, SNR=20 dB, K=0}
149\begin{lstlisting}[]
150...
151RxDemo errors: 258 / 1024
152RxDemo errors: 313 / 1024
153RxDemo errors: 346 / 1024
154RxDemo errors: 756 / 1024
155RxDemo errors: 124 / 1024
156RxDemo errors: 595 / 1024
157RxDemo errors: 263 / 1024
158RxDemo errors: 540 / 1024
159RxDemo errors: 148 / 1024
160RxDemo errors: 279 / 1024
161...
162\end{lstlisting}
163The average bit error equals to 0.353.
164\subsubsection{Rayleigh Fading - Envelope Fading Only}
165Set the ``K fading factor'' to 0 (Rayleigh fading)
166Set the ``Envelope Fading Only'' to True
167
168It may be observed it the \osref{IQK0EnvelopeTrue} that only the amplitude of received signal fluctuates, there is not phase fluctuation.
169\osfig{IQK0EnvelopeTrue}{I-Q Diagram, SNR=20 dB, K=0, Envelope Fading Only}
170\begin{lstlisting}[]
171...
172RxDemo errors: 0 / 1024
173RxDemo errors: 0 / 1024
174RxDemo errors: 0 / 1024
175RxDemo errors: 48 / 1024
176RxDemo errors: 2 / 1024
177RxDemo errors: 20 / 1024
178RxDemo errors: 0 / 1024
179RxDemo errors: 0 / 1024
180RxDemo errors: 0 / 1024
181RxDemo errors: 0 / 1024
182...
183\end{lstlisting}
184Average bit error=$6.84\times 10^{-3}$
185\subsubsection{Ricean Fading}
186Set the ``K fading factor'' to 10
187Set the ``Envelope Fading Only'' to False
188It may be observed it the \osref{IQK10EnvelopeFalse} that both the amplitude and the phase of the received signal fluctuates less severely compared to the K=0 case.
189\osfig{IQK10EnvelopeFalse}{I-Q Diagram, SNR=20 dB, K=10}
190
191\begin{lstlisting}[]
192...
193RxDemo errors: 0 / 1024
194RxDemo errors: 0 / 1024
195RxDemo errors: 0 / 1024
196RxDemo errors: 0 / 1024
197RxDemo errors: 0 / 1024
198RxDemo errors: 0 / 1024
199RxDemo errors: 0 / 1024
200RxDemo errors: 0 / 1024
201RxDemo errors: 0 / 1024
202...
203\end{lstlisting}
204Average bit error, to low to be estimated
205
206
207
208\end{document}
Note: See TracBrowser for help on using the browser.