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

Revision 9405, 5.1 KB (checked in by hvolos, 4 years ago)

added more results

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 and the OSSIE Eclipse Feature (OEF), running on a
68computer or VMware image that uses Fedora Core 7 or Ubuntu 8.04. The TxDemo,
69Channel and RxDemo components are required.
70
71\section{Procedure}
72\subsection{Procedure Overview}
73\begin{enumerate}
74 \item Using OEF, build the ChannelEval waveform with the TxDemo, Channel, and RxDemo components
75 \item Run nodeBooter
76 \item Run the waveform using different settings and observe the effect on the number of errors
77\end{enumerate}
78
79\subsection{Getting Started}
80\subsection{Building the waveform}
81\osfig{waveformOEF}{OEF Waveform Structure}
82\osfig{blockdiagram}{Block Diagram}
83\osfig{wfmproperties}{Initial Channel Component Properties}
84\subsection{Theory}
85SNR Estimation
86\begin{equation}
87SNR=10log(\frac{Rx}{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=0 dB, and $E_b/N_0$=-3 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}
110Average bit error=0.16
111Theorical bit error=0.1587
112\subsubsection{Low SNR}
113Set noise power to 9800000
114\osfig{IQ10dB}{I-Q Diagram, 10 dB SNR}
115Sample NodeBooter output:
116\begin{lstlisting}[]
117...
118RxDemo errors: 1 / 1024
119RxDemo errors: 1 / 1024
120RxDemo errors: 1 / 1024
121RxDemo errors: 0 / 1024
122RxDemo errors: 1 / 1024
123RxDemo errors: 0 / 1024
124...
125\end{lstlisting}
126
127Average bit error=7.5e-4
128Theoretical bit error=7.83e-4
129
130\subsubsection{Medium SNR}
131Set noise power to 980000
132\osfig{IQ20dB}{I-Q Diagram, 20 dB SNR}
133Sample NodeBooter output:
134\begin{lstlisting}[]
135...
136RxDemo errors: 0 / 1024
137RxDemo errors: 0 / 1024
138RxDemo errors: 0 / 1024
139RxDemo errors: 0 / 1024
140...
141\end{lstlisting}
142
143Average bit error, to low to be estimated
144Theoretical bit error=7.67e-24
145
146\subsection{Fading}
147Set the fading parameter to ``Ricean''
148Max. Doppler rate=0.001
149\subsubsection{Rayleigh Fading}
150Set the ``K fading factor'' to 0 (Rayleigh fading)
151\osfig{IQK0EnvelopeFalse}{I-Q Diagram, SNR=20 dB, K=0}
152\begin{lstlisting}[]
153...
154RxDemo errors: 258 / 1024
155RxDemo errors: 313 / 1024
156RxDemo errors: 346 / 1024
157RxDemo errors: 756 / 1024
158RxDemo errors: 124 / 1024
159RxDemo errors: 595 / 1024
160RxDemo errors: 263 / 1024
161RxDemo errors: 540 / 1024
162RxDemo errors: 148 / 1024
163RxDemo errors: 279 / 1024
164...
165\end{lstlisting}
166Average bit error=0.353
167\subsubsection{Rayleigh Fading - Envelope Fading Only}
168Set the ``K fading factor'' to 0 (Rayleigh fading)
169Set the ``Envelope Fading Only'' to True
170\osfig{IQK0EnvelopeTrue}{I-Q Diagram, SNR=20 dB, K=0, Envelope Fading Only}
171\begin{lstlisting}[]
172...
173RxDemo errors: 0 / 1024
174RxDemo errors: 0 / 1024
175RxDemo errors: 0 / 1024
176RxDemo errors: 48 / 1024
177RxDemo errors: 2 / 1024
178RxDemo errors: 20 / 1024
179RxDemo errors: 0 / 1024
180RxDemo errors: 0 / 1024
181RxDemo errors: 0 / 1024
182RxDemo errors: 0 / 1024
183...
184\end{lstlisting}
185Average bit error=6.84e-3
186\subsubsection{Ricean Fading}
187Set the ``K fading factor'' to 10
188Set the ``Envelope Fading Only'' to False
189\osfig{IQK10EnvelopeFalse}{I-Q Diagram, SNR=20 dB, K=10}
190Notice that there is a much less severe phase and amplitude shift
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.