| 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{\osfigvs}[3]% |
|---|
| 32 | {% |
|---|
| 33 | \begin{figure}[h!] |
|---|
| 34 | \label{fig:#1} |
|---|
| 35 | \centering |
|---|
| 36 | \includegraphics[scale=#3]{#1.png} |
|---|
| 37 | \caption{#2} |
|---|
| 38 | \end{figure} |
|---|
| 39 | } |
|---|
| 40 | |
|---|
| 41 | \newcommand{\osblock}% |
|---|
| 42 | {% |
|---|
| 43 | \begin{figure}[h!] |
|---|
| 44 | \label{fig:block} |
|---|
| 45 | \centering |
|---|
| 46 | \includegraphics[width=300px]{lab_6/figures/block.png} |
|---|
| 47 | \end{figure} |
|---|
| 48 | } |
|---|
| 49 | |
|---|
| 50 | |
|---|
| 51 | \newcommand{\osref}[1]% |
|---|
| 52 | {% |
|---|
| 53 | Figure~\ref{fig:#1}% |
|---|
| 54 | } |
|---|
| 55 | |
|---|
| 56 | %opening |
|---|
| 57 | \title{OSSIE Lab \#:The OSSIETalk Waveform} |
|---|
| 58 | \author{Haris I. Volos, \textit{et al}\\ |
|---|
| 59 | Virginia Tech, Blacksburg, VA\\ |
|---|
| 60 | Developed using OSSIE 0.7.x\\ |
|---|
| 61 | } |
|---|
| 62 | \date{July 2009} |
|---|
| 63 | |
|---|
| 64 | \begin{document} |
|---|
| 65 | |
|---|
| 66 | \maketitle |
|---|
| 67 | |
|---|
| 68 | \section{Acknowledgments} |
|---|
| 69 | This work was supported in part by NSF award \#0520418, and would not be possible without |
|---|
| 70 | the contributions of numerous students on the OSSIE team and other OSSIE users and |
|---|
| 71 | developers. |
|---|
| 72 | |
|---|
| 73 | \section{Objective} |
|---|
| 74 | The objective of this lab is to familiarize the user with the OSSIETalkUSRP waveform. |
|---|
| 75 | |
|---|
| 76 | \section{Version} |
|---|
| 77 | This lab is for use with OSSIE version 0.7.x and the OSSIE Eclipse Feature (OEF), running on a |
|---|
| 78 | computer or VMware image that uses Fedora Core 7 or Ubuntu 8.04. The following components are required: OSSIETalk, PacketResizer, Conv\_Enc, DigitalModulator, FrameAssembler, amplifier, Interpolator, USRP\_Commander, amplifier, Decimator, AutomaticGainControl, FrameSynchronizer, DigitalDemodulator, and Conv\_Dec. |
|---|
| 79 | |
|---|
| 80 | \section{Procedure} |
|---|
| 81 | \subsection{Procedure Overview} |
|---|
| 82 | \begin{enumerate} |
|---|
| 83 | \item Using OEF, build the OSSIETalkUSRP waveform. |
|---|
| 84 | \item Run nodeBooter |
|---|
| 85 | \item Run the waveform |
|---|
| 86 | \end{enumerate} |
|---|
| 87 | |
|---|
| 88 | \subsection{Getting Started} |
|---|
| 89 | \subsection{Step 1} |
|---|
| 90 | \osfigvs{blockdiagram1}{Block Diagram}{0.6} |
|---|
| 91 | |
|---|
| 92 | \subsection{Step 2} |
|---|
| 93 | \osfigvs{blockdiagram2}{Block Diagram}{0.6} |
|---|
| 94 | |
|---|
| 95 | \subsection{Step 3} |
|---|
| 96 | \osfigvs{blockdiagram3}{Block Diagram}{0.6} |
|---|
| 97 | |
|---|
| 98 | \subsection{Building the waveform} |
|---|
| 99 | \osfig{waveformOEF}{OEF Waveform Structure} |
|---|
| 100 | %\osfig{blockdiagram}{Block Diagram} |
|---|
| 101 | |
|---|
| 102 | \begin{enumerate} |
|---|
| 103 | \item Start OEF |
|---|
| 104 | \item File $\rightarrow$ New $\rightarrow$ OSSIE Waveform |
|---|
| 105 | \item Project name: ``OSSIETalkUSRP'' |
|---|
| 106 | \item Add the following components in the waveform panel:OSSIETalk, PacketResizer, Conv\_Enc, DigitalModulator, FrameAssembler, amplifier, Interpolator, USRP\_Commander, amplifier, Decimator, AutomaticGainControl, FrameSynchronizer, DigitalDemodulator, and Conv\_Dec |
|---|
| 107 | \item Add the default\_GPP\_USRP\_node to the platform panel |
|---|
| 108 | \item Expand the the node, and add all the components, one by one, the the GPP device. |
|---|
| 109 | \item Set the USRP\_Commander as the assemply controler |
|---|
| 110 | \item Make the following connections: |
|---|
| 111 | \begin{enumerate} |
|---|
| 112 | \item OSSIETalk1.to\_radio $\rightarrow$ PacketResizer1.packet\_in |
|---|
| 113 | \item PacketResizer1.packet\_out $\rightarrow$ Conv\_Enc1.bits\_to\_Enc |
|---|
| 114 | \item Conv\_Enc1.encoded\_bits $\rightarrow$ DigitalModulator1.bitsin |
|---|
| 115 | \item DigitalModulator1.symbolsOut $\rightarrow$ FrameAssembler1.SymbolsIn |
|---|
| 116 | \item FrameAssembler1.FrameSymbolsOut $\rightarrow$ amplifier1.datain |
|---|
| 117 | \item amplifer1.dataout $\rightarrow$ Interpolator1.inData |
|---|
| 118 | \item Interpolator1.outData $\rightarrow$ USRP1.TX\_Data |
|---|
| 119 | \item USRP\_Commander1.TX\_Control $\rightarrow$ USRP1.TX\_Control |
|---|
| 120 | \item USRP\_Commander1.RX\_Control $\rightarrow$ USRP1.RX\_Control |
|---|
| 121 | \item amplifier2.dataIn $\rightarrow$ USRP1.RX\_Data\_1 |
|---|
| 122 | \item amplifier2.dataOut $\rightarrow$ Decimator1.inData |
|---|
| 123 | \item Decimator1.outData $\rightarrow$ AutomaticGainControl1.data\_in |
|---|
| 124 | \item AutomaticGainControl1.data\_out $\rightarrow$ FrameSynchronizer1.IF\_in |
|---|
| 125 | \item FrameSynchronizer1.symbols\_out $\rightarrow$ DigitalDemodulator1.SymbolsIn |
|---|
| 126 | \item DigitalDemodulator1.DataBitsOut $\rightarrow$ Conv\_Dec1.bits\_to\_dec\_in |
|---|
| 127 | \item Conv\_Dec1.decoded\_bits $\rightarrow$ OSSIETalk1.from\_radio |
|---|
| 128 | \end{enumerate} |
|---|
| 129 | \end{enumerate} |
|---|
| 130 | \subsubsection{Component Properties} |
|---|
| 131 | For each component set the listed properties. |
|---|
| 132 | \paragraph{PacketResizer1} |
|---|
| 133 | \begin{verbatim} |
|---|
| 134 | Packet Size=256 |
|---|
| 135 | \end{verbatim} |
|---|
| 136 | |
|---|
| 137 | \paragraph{Conv\_Enc1 and Conv\_Dec1} |
|---|
| 138 | \begin{verbatim} |
|---|
| 139 | mode=1 |
|---|
| 140 | rate_index=3 |
|---|
| 141 | \end{verbatim} |
|---|
| 142 | |
|---|
| 143 | \paragraph{DigitalModulato1} |
|---|
| 144 | \begin{verbatim} |
|---|
| 145 | ModScheme=QPSK |
|---|
| 146 | \end{verbatim} |
|---|
| 147 | |
|---|
| 148 | \paragraph{FrameAssembler1} |
|---|
| 149 | \begin{verbatim} |
|---|
| 150 | FrameSizeOption1=512 |
|---|
| 151 | FrameSizeOption2=1584 |
|---|
| 152 | FrameSizeOption3=3168 |
|---|
| 153 | FrameSizeOption4=6336 |
|---|
| 154 | mod_type=QPSK |
|---|
| 155 | FrameOptionNumber=3 |
|---|
| 156 | \end{verbatim} |
|---|
| 157 | |
|---|
| 158 | \paragraph{amplifier1} |
|---|
| 159 | \begin{verbatim} |
|---|
| 160 | I_gain=0.2 |
|---|
| 161 | Q_gain=0.2 |
|---|
| 162 | \end{verbatim} |
|---|
| 163 | |
|---|
| 164 | \paragraph{Interpolator1} |
|---|
| 165 | \begin{verbatim} |
|---|
| 166 | beta=0.33 |
|---|
| 167 | m=4 |
|---|
| 168 | pulse_shape=rrcos |
|---|
| 169 | InterpFactor(k)=8 |
|---|
| 170 | \end{verbatim} |
|---|
| 171 | |
|---|
| 172 | \paragraph{USRP\_Commander1} |
|---|
| 173 | \begin{verbatim} |
|---|
| 174 | rx_start=1 |
|---|
| 175 | tx_start=1 |
|---|
| 176 | rx_gain=1 |
|---|
| 177 | rx_size=2048 |
|---|
| 178 | rx_decim=256 |
|---|
| 179 | tx_interp=512 |
|---|
| 180 | tx_freq=462.5625e6 |
|---|
| 181 | rx_freq=462.5625e6 |
|---|
| 182 | \end{verbatim} |
|---|
| 183 | |
|---|
| 184 | \paragraph{amplifer2} |
|---|
| 185 | \begin{verbatim} |
|---|
| 186 | I_gain=1 |
|---|
| 187 | Q_gain=-1 |
|---|
| 188 | \end{verbatim} |
|---|
| 189 | |
|---|
| 190 | \paragraph{Decimator1} |
|---|
| 191 | \begin{verbatim} |
|---|
| 192 | Filter Type=IIR |
|---|
| 193 | DecimateBy=4 |
|---|
| 194 | \end{verbatim} |
|---|
| 195 | |
|---|
| 196 | \paragraph{AutomaticGainControl1} |
|---|
| 197 | \begin{verbatim} |
|---|
| 198 | rssi_pass=1 |
|---|
| 199 | g_max=2000 |
|---|
| 200 | g_min=0.5 |
|---|
| 201 | k_release=0.002 |
|---|
| 202 | k_attack=0.01 |
|---|
| 203 | energy_hi=10000 |
|---|
| 204 | energy_lo=10000 |
|---|
| 205 | \end{verbatim} |
|---|
| 206 | |
|---|
| 207 | \paragraph{FrameSynchronizer1} |
|---|
| 208 | \begin{verbatim} |
|---|
| 209 | BufferSize=198 |
|---|
| 210 | FrameSizeOption1=512 |
|---|
| 211 | FrameSizeOption2=1584 |
|---|
| 212 | FrameSizeOption3=3168 |
|---|
| 213 | FrameSizeOption4=6336 |
|---|
| 214 | Npfb=32 |
|---|
| 215 | beta=0.33 |
|---|
| 216 | m=4 |
|---|
| 217 | k=2 |
|---|
| 218 | pulse_shape=rrcos |
|---|
| 219 | \end{verbatim} |
|---|
| 220 | |
|---|
| 221 | \paragraph{DigitalDemodulator1} |
|---|
| 222 | \begin{verbatim} |
|---|
| 223 | DemodScheme=QPSK |
|---|
| 224 | \end{verbatim} |
|---|
| 225 | \end{document} |
|---|