root/ossiedev/branches/jsnyder/STTT_paper/sttt-draft.tex @ 10487

Revision 10487, 44.4 KB (checked in by Snyder.Jason, 3 years ago)

removed extraneous dollar signs around citations

Line 
1%%%%%%%%%%%%%%%%%%%%%%% file template.tex %%%%%%%%%%%%%%%%%%%%%%%%%
2%
3% This is a template file for the International Journal on
4%                            Software Tools for Technology Transfer
5%
6% Copy it to a new file with a new name and use it as the basis
7% for your article
8%
9%%%%%%%%%%%%%%%%%%%%%%%% Springer-Verlag %%%%%%%%%%%%%%%%%%%%%%%%%%
10%
11
12%
13\documentclass[sttt,referee]{svjour}
14% Remove option referee for final version
15%
16% Remove any % below to load the required packages
17%\usepackage{latexsym}
18\usepackage{graphicx}
19% etc
20%
21\begin{document}
22%
23\title{Open Source Software Defined Radio Tools for Education, Research, and
24Rapid Prototyping}
25\author{Deepan~Seeralan, Jason~Snyder, Shereef~Sayed, Jeffery~Wilson, Carl~B.~Dietrich, Stephen~H.~Edwards, and Jeffrey~H.~Reed}                     
26%
27%
28\institute{Virginia Tech, Blacksburg, VA}
29%
30\date{Received: date / Revised version: date}
31% The correct dates will be entered by Springer
32%
33\authorrunning
34\titlerunning
35\maketitle
36%
37\begin{abstract}
38        A set of rapid development, control, and monitoring tools have been developed as part
39        of the OSSIE open source Software Defined Radio (SDR) project, which is based on the
40        U.S. Department of Defense Software Communications Architecture (SCA).  SDR is an
41        emerging area of wireless communications in which radio functionality that was previously
42        implemented in analog hardware or digital application specific integrated circuits
43        (ASICs) is instead implemented in programmable and reconfigurable processing devices. 
44        By moving this functionality into software, radios can be made more flexible to support
45        a wide range of communications standards or waveforms, limited only by the capabilities
46        of the software developers and the hardware on which the applications will run.
47        Open source SDR software such as that supplied by the OSSIE project provides an important resource
48        for education, research, and rapid prototyping in this interdisciplinary field that
49        integrates several areas within Electrical Engineering, Computer Engineering, and
50        Computer Science.  Rapid development tools are needed to abstract the complexities
51        of the SCA from developers and speed application development.  The Waveform Workshop,
52        a collection of tools for use with the OSSIE software, enables rapid development,
53        observation, and debugging of OSSIE SDR waveform applications.  We describe the
54        functionality and implementation of these tools as well as their use in an SDR
55        application development work flow, and outline planned enhancements.\end{abstract}
56%
57\section{Introduction}
58\label{introduction}
59The Waveform Workshop is  a set of software tools that have been developed as
60part of the OSSIE open source Software Defined Radio (SDR) project
61\cite{Aguayo2009b}, \cite{ossieweb}, which is based on the U.S. Defense
62Department's Software Communications Architecture (SCA) \cite{sca}, \cite{bard}, \cite{Aguayo2009a}.  These tools allow SDR students,
63researchers, and developers to create signal processing components and
64waveform applications for radio communications and to run, configure, control,
65and monitor operation of these applications in real time.
66
67\subsection{Software Defined Radio}
68\label{introduction:sdr}
69Software Defined Radio (SDR) involves software implementation of radio
70functionality that is traditionally performed by analog hardware and digital
71application specific integrated circuits (ASICs).  SDR employs general purpose processors (GPPs), digital signal processors (DSPs), and field programmable gate arrays (FPGAs) that can be programmed or configured to provide great flexibility and support for multiple radio communications standards or waveforms.  Within limits of its hardware, a well designed SDR can support standards that were not conceived at the time the radio was designed \cite{Reed2002}.  SDR is of interest for both commercial \cite{Vanu} and military \cite{JTRS} applications.
72
73\subsection{The Software Communications Architecture}
74\label{introduction:sca}
75The SCA is an open standard associated with the U.S. Department of Defense Joint Tactical Radio System (JTRS) \cite{JTRS}.  The SCA is a component and service based architecture that delineates and provides guidance for implementation of SDR infrastructure (e.g., the SCA core framework) and application software (e.g., waveform applications and signal processing components).  The SCA makes extensive use of software design patterns \cite{Gamma}, and of other standards that include POSIX \cite{POSIX}, CORBA \cite{CORBA}, and XML \cite{XML}.  Components in the SCA communicate using Common Object Resource Broker Architecture (CORBA) middleware, which provides interprocess communication and remote procedure call capability, allowing methods associated with remote components implemented in a variety of languages to appear as local function calls.  XML is used to store profile or configuration information. 
76
77\subsection{OSSIE}
78\label{introduction:ossie}
79The Open Source SCA Implementation - Embedded (OSSIE) project was started in 2003 by postdoctoral fellow Max Robert and a team of students at Virginia Tech \cite{Robert2004}.  OSSIE software consists of a core framework, rapid prototyping tools, and a library of application software (signal processing components and waveform applications).  The project also provides materials for SDR education, training, and self study.  The set of rapid prototyping tools for OSSIE, known as the Waveform Workshop, is key to all aspects of the project.  The Waveform Workshop includes tools for developing signal processing components and waveform applications, running, visualizing, and debugging waveform applications, and controlling and configuring waveform applications at run time. 
80
81\subsection{Direct Manipulation Tools}
82\label{introduction:directmanipulationtools}
83OSSIE existed before the Waveform Workshop, but was much more difficult to use.
84Component and waveform XML descriptors had to written and installed by hand.
85Controlling waveforms was limited to starting and stopping them, and there was
86no way to monitor or manipulate running waveforms. The Waveform Workshop
87addresses this by providing a direct manipulation interface when creating and
88running waveforms and components. For example, a user might want to create a
89waveform that consists of two components called A and B with a connection from
90A's output port to B's input port. Before the Waveform Workshop, the user would
91have to hand edit the XML descriptors for the waveform, adding elements for each
92component, as well as for the ports and the connection itself. With the Waveform
93Workshop, waveforms are created by simply dragging together icons
94that represent components. The component ports are automatically displayed, and
95connections can be made by dragging one port onto another. The Waveform Workshop then takes care of generating the correct XML descriptors. The Waveform Workshop also provides a direct manipulation interface for running and monitoring waveforms. The user can see a block diagram of a waveform showing each component, and can plot the output of any port. Finally, the user can view and update component property values in realtime, allowing him or her to observe the effects of changing properties.
96
97\subsection{Motivation for SCA-Based SDR Tools}
98\label{introduction:toolmotivation}
99
100The extensive nature of the SCA and its use of CORBA and XML both motivate and facilitate development of tools for SCA-based SDR development.  In most cases it is desirable to abstract the interface code required by CORBA from communciations engineers who develop signal processing compnents and waveform applications.  Fortunately, use of CORBA also allows SCA-based SDR software tools to interact with SCA core frameworks and applications that are running either locally or remotely, while tools can parse XML files to obtain information needed to perform a variety of functions.  Commercial tools for SCA-based SDR development are available \cite{SpectraCX}, but open source tools that work with OSSIE are needed for educational and research purposes.  The Waveform Workshop provides these capabilities to researchers, students, and other SDR developers who use the OSSIE SDR software.  Section \ref{waveformworkshoptools} introduces the tools, and Sections \ref{sdrapplicationdevelopment-oef} - \ref{sdrapplicationdevelopment-alf} describe their use in developing, configuring, and monitoring a waveform application.
101
102%-------------------- FIGURE: EMPTY WORKSPACE IN OEF --------------------
103\begin{figure*}
104\centering
105%\includegraphics[trim = 10mm 130mm 50mm 20mm, clip, width=10cm]{figure1.pdf}
106\includegraphics[width=\textwidth]{SDR_Development_using_Waveform_Workshop.pdf}
107% trim = left bottom right top
108\caption{SDR application development using the OSSIE Waveform Workshop tools}
109\label{fig:oef:emptyworkspace}
110\end{figure*}
111
112\section{The Waveform Workshop Tools}
113\label{waveformworkshoptools}
114
115Currently, three tools make up the Waveform Workshop.  These tools can be used in an iterative process of creating, testing, and improving OSSIE signal processing components and waveform applications.  The tools are:
116\begin{enumerate}
117\item The OSSIE Eclipse Feature (OEF), a plug-in for the Eclipse open-source integrated development environment that provides capability for creation of both waveform applications and individual signal processing components.
118
119\item The Waveform Dashboard (WaveDash), a tool that uses information and capabilities available through the SCA to provide an easily reconfigurable graphical interface for interacting with OSSIE waveform applications.
120
121\item A waveform application visualization and debugging environment known as ALF (not an acronym).
122
123\end{enumerate}
124\subsection{The OSSIE Eclipse Feature (OEF)}
125\label{toolsdescription:oef}
126
127OEF is a port of the OSSIE Waveform Developer (OWD), an open source python tool for rapid component and waveform prototyping.  OWD generated the necessary XML descriptors and CORBA-enabled skeleton implementations for SCA-based signal processing components and XML files that specify instantiation, interconnection, and deployment of these components to form waveform applications that implement end-to-end communications waveforms. In the case of signal processing components, the SDR developer who used OWD then had to fill in the implementation using his or her editor of choice. Finally, the component or waveform files had to be built and installed from the command line using automake tools. The motivation behind OEF was to duplicate the automatic generation functionality of OWD, while adding support for the rest of the development process. To do so, OEF was developed as a plug-in for the Eclipse IDE.
128
129\subsection{The Waveform Dashboard (WaveDash)}
130\label{toolsdescription:wavedash}
131
132The Waveform Dashboard (WaveDash) is an interactive and configurable graphical user interface (GUI) tool that acts as a control panel for working with multiple SDR waveform applications and their components. This tool abstracts the SCA interfaces and the implementation of the OSSIE core framework. It provides a direct manipulation interface to control and configure SDR waveforms interactively. Users can install, start, stop and uninstall a waveform application, and also can configure the properties of its components in real time. Further, this tool allows the user to customize the interface on a per-waveform and per-component basis. Users can choose the type of widget they prefer to represent a particular property of a component and can also hide or unhide specific components or properties.
133
134\subsubsection{WaveDash Architecture}
135\label{toolsdescription:wavedasharchitecture}
136
137WaveDash was written using a Model-View-Controller (MVC) architecture. The model keeps track of the currently running waveforms along with waveforms on the system available to install. The controller maintains a connection with CORBA and the naming service and can query and configure components running on waveforms in real time. Finally, the view displays information from both the model and the controller. The WaveDash GUI front end was the first view written to work with the model and controller, but two others are currently under development. The first is a server to enable control of an OSSIE radio over http. The second is a command line interface to allow a user to control an OSSIE radio over an ssh session or via scripts. Both of these applications are simply alternative views that use the same model and controller as WaveDash. This allows them to easily connect to and manipulate an OSSIE Radio.
138
139\subsection{The ALF Waveform Application Visualization and Debugging Environment}
140\label{toolsdescription:alf}
141
142The initial ALF tool was contributed to the project by SAIC in 2007, and Virginia Tech has maintained and enhanced the tool since that time.  Implemented in Python, ALF interacts with a local or remote OSSIE Domain Manager via CORBA, and allows users to install, start, stop, and uninstall OSSIE waveforms, and to display the waveforms in block-diagram form.  ALF includes plug-in tools that can be used to inject signals into signal processing components and to monitor signals at various points in a waveform application, and users can develop their own plug-in tools using code from the supplied plug-ins as an example.  Additional features allow building ad-hoc applications from individual components at run time.
143
144\section{SDR Application Development Work FlowPart I:  Creating Components and Waveform Applications using the OSSIE Eclipse Feature}
145\label{sdrapplicationdevelopment-oef}
146
147
148
149
150
151\subsection{Creating a Component}
152\label{sdrapplicationdevelopment-oef:creatingcomponent}
153
154OEF helps developers to create signal processing components.  The developer specifies characteristics of the component such as ports and reconfigurable properties, and generates CORBA-enabled skeletal code for OSSIE.  The developer then provides or links to signal processing code that implements the desired functionality.  While more complex components can be developed using the same approach, the following example describes creation of a simple signal processing component, an amplifier that scales the incoming signal by a constant gain factor.
155%-------------------- FIGURE: GENERATING NEW COMPONENT --------------------
156\begin{figure*}
157\centering
158%\includegraphics[trim = 10mm 130mm 50mm 20mm, clip, width=10cm]{figure1.pdf}
159\includegraphics[width=\textwidth]{figure2_oef_generating_new_component.pdf}
160% trim = left bottom right top
161\caption{Generating a new component in OEF}
162\label{fig:oef:generatenewcomponent}
163\end{figure*}
164To create a signal processing component, the user first opens Eclipse and selects Window $\rightarrow$ Open Perspective $\rightarrow$ Other.  The user then chooses OSSIE from the list. This opens the OSSIE perspective, as shown in Fig. $\ref{fig:oef:emptyworkspace}$. Next, the user chooses File $\rightarrow$ New $\rightarrow$ OSSIE Component to open the New OSSIE Component Project wizard. The user then fills in the name for the project, in this case a``amplifierIQ'' and clicks on finish. This creates a new component project called amplifierIQ with a makefile and a .ocd file which is opened in the Component Editor (CE) as seen in Fig. $\ref{fig:oef:generatenewcomponent}$.
165The CE has the following four sections:
166\begin{enumerate}
167\item Description - for giving the component a textual description
168\item Generation Options - to specify what type of component to generate
169\item Ports - to specify the ports the component will have
170\item Properties - to specify which properties with component will have
171\end{enumerate}
172The user enters the following descriptions for the component, in this case, ``Amplifier with independently adjustable gains for in- phase and quadrature signal components.'' Under generation options, the user selects basic\_ports from the template drop-down menu and leaves both ACE Support and Timing Port Support unchecked. Selecting basic\_ports will create a C++ component. The other options in the template drop-down, custom\_ports and py-comp, are for components that use an alternative set of interfaces and for python components, respectively. Checking ACE support would let the component use certain features of ACE \cite{ACE} such as ACE threads, and checking Timing Port Support adds profiling support when using the custom ports or python component options.
173
174%-------------------- FIGURE: ADD PORT PORT DIALOG --------------------
175\begin{figure}
176\centering
177%\includegraphics[trim = 10mm 130mm 50mm 20mm, clip, width=10cm]{figure1.pdf}
178\includegraphics[width=8.5cm]{figure3_oef_add_port_dialog.pdf}
179% trim = left bottom right top
180\caption{Add Port dialog}
181\label{fig:oef:addport}
182\end{figure}
183
184\subsection{Adding Ports to a Component}
185\label{sdrapplicationdevelopment-oef:addingports}
186
187The next step is to add ports to the component. Ports allow components to communicate with one another. The user clicks on the Add button to bring up the Add Port dialog, as shown in Fig $\ref{fig:oef:addport}$. Next, the user enters ``amp\_output'' for the port name and selects. As defined by the SCA, a uses port is an output port while a provides port is an input port. Since this port will be an output port, the user selects uses from the type drop-down menu. To choose the type of interface, the user clicks the arrow next to Standard Interfaces and selects complexShort from the choices that appear. Finally, the user clicks ok and sees the new port in the Ports table. All three fields in the Ports table are editable in place, so the user can change the name, interface, or type of any port after it has been added. Selecting any port and clicking the Remove button will delete the port from the component. This component also requires an input port called amp\_input that is also a complexShort, so the user adds another port using the same process
188
189%-------------------- FIGURE: ADD PROPERTY DIALOG --------------------
190\begin{figure}
191\centering
192%\includegraphics[trim = 10mm 130mm 50mm 20mm, clip, width=10cm]{figure1.pdf}
193\includegraphics[width=8.5cm]{figure4_oef_add_property_dialog.pdf}
194% trim = left bottom right top
195\caption{Add Property dialog}
196\label{fig:oef:addproperty}
197\end{figure}
198
199\subsection{Adding Properties to a Component}
200\label{sdrapplicationdevelopment-oef:addingproperties}
201
202The final step to configure a component is to add any reconfigurable properties it will need. Our amplifier needs two properties: I\_gain and Q\_gain, which multiply in-phase and quadrature components of the signal, respectively. The user clicks the Add button in the Properties section of the CE to bring up the Add Property dialog as shown in Fig. $\ref{fig:oef:addproperty}$. The user enters ``I\_gain'' for the name and 1 for the value. The rest of the attributes are left as the defaults, so the user clicks Add Property. The process is repeated for a Q\_gain property.
203       
204%-------------------- FIGURE: GENERATED PROJECT --------------------
205\begin{figure*}
206\centering
207%\includegraphics[trim = 10mm 130mm 50mm 20mm, clip, width=10cm]{figure1.pdf}
208\includegraphics[width=\textwidth]{figure5_oef_newly_generated_component_project.pdf}
209% trim = left bottom right top
210\caption{Newly generated component project in OEF}
211\label{fig:oef:generatedproject}
212\end{figure*}
213
214\subsection{Generating Skeleton Implementation}
215\label{sdrapplicationdevelopment-oef:skeletonimplementation}
216
217        At this point, all of the configuration for the component is complete.  The next step is to generate the XML descriptors and skeleton implementation files. The user selects Generate Component from the OSSIE menu to start the generation. OEF will run the necessary make commands and show the output in the console view. After generation is complete, the new files will appear in the project explorer, as seen in Fig. $\ref{fig:oef:generatedproject}$.
218       
219       
220%-------------------- FIGURE: EDITING CODE IN OEF --------------------
221\begin{figure*}
222\centering
223%\includegraphics[trim = 10mm 130mm 50mm 20mm, clip, width=10cm]{figure1.pdf}
224\includegraphics[width=\textwidth]{figure6_oef_editing_code.pdf}
225% trim = left bottom right top
226\caption{Editing code in OEF}
227\label{fig:oef:editingcode}
228\end{figure*}
229
230
231\subsection{Filling in Implementation Code}
232\label{sdrapplicationdevelopment-oef:implementation}
233
234Once the component has been generated, the user has to fill in the skeleton with implementation code. The user double-clicks on amplifierIQ.cpp in the Project Explorer to open the file in a C++ editor as shown in Fig $\ref{fig:oef:editingcode}$. After filling in the custom implementation that operates on the input signal using the specified property (gain) values, and sends the processed signal to the output port, he saves the file. As long as there are no errors, OEF automatically builds and installs the component to the filesystem.
235
236%-------------------- FIGURE: OEF WAVEFORM EDITOR --------------------
237\begin{figure*}
238\centering
239%\includegraphics[trim = 10mm 130mm 50mm 20mm, clip, width=10cm]{figure1.pdf}
240\includegraphics[width=\textwidth]{figure7_oef_waveform_editor.pdf}
241% trim = left bottom right top
242\caption{Waveform editor}
243\label{fig:oef:waveformeditor}
244\end{figure*}
245
246%-------------------- FIGURE: PORTS ON COMPONENTS --------------------
247\begin{figure}
248\centering
249%\includegraphics[trim = 10mm 130mm 50mm 20mm, clip, width=10cm]{figure1.pdf}
250% trim = left bottom right top
251\caption{Ports on Components}
252\label{fig:oef:portsoncomponents}
253\end{figure}
254
255\subsection{Creating and Configuring a Waveform}
256\label{sdrapplicationdevelopment-oef:waveform}
257Now that the user has successfully created and built a component, that component can be used in a new waveform. The example waveform will be a simulated QPSK communications link that runs entirely on a single computer, but essentially the same approach is used to develop a radio communication waveform application that interfaces with RF hardware.  To get started, the user selects File $\rightarrow$ New $\rightarrow$ OSSIE Waveform to open the New OSSIE Waveform Project wizard. The user names the project SimpleWaveform and clicks on Finish. When the wizard finishes, the user is presented with the main Waveform Editor (WE), as seen in Fig $\ref{fig:oef:waveformeditor}$. The WE contains 3 main trees:
258\begin{enumerate}
259\item Available Resources - lists all of the components, devices, and nodes currently installed on the system and available for use
260\item Waveform - shows all of the components to be used in the current waveform
261\item Platform - shows the processing and input/output devices and nodes (collections of devices) and components allocated to each processing device in the current waveform.
262\end{enumerate}
263
264Note that the component that the user just built, amplifierIQ, is listed under components in the Available Resources tree. To begin assembling the waveform, the user drags the TxDemo, amplifierIQ, ChannelDemo, and RxDemo components he will be using to the Waveform tree. The user then drags a default\_GPP\_node (which corresponds to a set of XML files for a Device Manager that manages a single x86 GPP) from nodes in the Available Resources tree to the Platform tree. The components are not yet allocated to any nodes, so the user expands default\_GPP\_node to show the device on it, GPP1. To allocate the components to this device, the user drags each component from the Waveform tree to GPP1 in the Platform tree. When a component is allocated to GPP1, the component appears under the GPP1 in the Platform tree, and the label on the component in the Waveform tree also changes to reflect where it has been allocated.
265
266Next, the user has to connect the ports on the components to one another. The user expands each component in the Waveform tree to show their ports, as seen in Fig. $\ref{fig:oef:portsoncomponents}$. To connect the ports, the user drags a uses port (orange puzzle piece) on top of a provides port (blue puzzle piece). Each port then changes to a combined puzzle piece and its label changes to show which port it is connected to. Once all of the ports have been connected, the final step is to choose an Assembly Controller. To do so, the user right clicks on TxDemo1 in the Waveform tree and chooses Set Assembly Controller.  Once this is done, the waveform is fully configured and ready to be generated. The user saves the project and OEF automatically generates all of the necessary XML descriptors for the waveform and installs them to the filesystem.
267
268%-------------------- FIGURE: WAVEDASH - INSTALL A WAVEFORM APPLICATION --------------------
269\begin{figure}
270\centering
271%\includegraphics[trim = 10mm 130mm 50mm 20mm, clip, width=10cm]{figure1.pdf}
272\includegraphics[width=8.5cm]{figure9_wavedash_waveform_menu.png}
273% trim = left bottom right top
274\caption{Installing a waveform application using WaveDash}
275\label{fig:wavedash:install}
276\end{figure}
277
278\section{SDR Application Development Work Flow Part 2:  Configuring and Controlling Waveform Applications using the Waveform Dashboard}
279\label{sdrapplicationdevelopment-wavedash}
280
281WaveDash allows users to control and configure waveform applications in real time.  WaveDash can be used to install/uninstall and configure component properties of the waveform application that was developed in OEF in Section $\ref{sdrapplicationdevelopment-oef:waveform}$. The Waveforms menu in WaveDash lists the currently available waveforms on the system. The user pulls down the menu and selects `SimpleWaveform' that was just created (Fig $\ref{fig:wavedash:install}$). The sub-menu allows the user to either install a new application instance of the waveform or to preview the component and their properties present in the waveform. The user clicks on Install to install a new instance of SimpleWaveform. WaveDash displays the waveform applications in a tabbed fashion to allow users to work with multiple waveforms at one time. New waveform application tabs are appended to the right of the most recently installed waveform application.
282
283\subsection{Install a new waveform application}
284\label{sdrapplicationdevelopment-wavedash:installingwaveformapplication}
285
286The WaveDash toolbar provides controls to start, stop or uninstall the waveform application denoted by the active tab.  The user has to click on the appropriate buttons on the toolbar to start, stop or uninstall a waveform application.
287
288%-------------------- FIGURE: WAVEDASH - SELECT AND DESELECT COMPONENTS --------------------
289\begin{figure}
290\centering
291%\includegraphics[trim = 10mm 130mm 50mm 20mm, clip, width=10cm]{figure1.pdf}
292\includegraphics[width=8.5cm]{figure10_wavedash_component_menu.png}
293% trim = left bottom right top
294\caption{Select/Deselect Components in WaveDash}
295\label{fig:wavedash:selectdeselectcomponents}
296\end{figure}
297
298\subsection{Show/Hide Components}
299\label{sdrapplicationdevelopment-wavedash:showhidecomponents}
300
301        The Component menu lists the components present in the waveform application denoted by the active tab. The user deselects the component RxDemo from the Component menu (Fig. $\ref{fig:wavedash:selectdeselectcomponents}$) to hide it as it does not have any properties to configure. This feature is particularly useful when the waveform comprises a large number of components and only few of them are required to be configured often. 
302       
303\subsection{Configure Component Properties of a Waveform}
304\label{sdrapplicationdevelopment-wavedash:configurecomponentproperties}
305
306The ability to configure component properties at runtime was urgently needed and was one of the prime motivations to develop WaveDash. Prior to development of WaveDash, OSSIE users had to either modify property values in OEF and rebuild the waveform or hand-edit the property values in the component or waveform XML files and restart the waveform to configure the component property values. 
307
308WaveDash enables users to modify component properties at runtime thus making SDR waveform development more live and interactive.  Each property has a GUI widget (e.g. text box, slider) associated with by default based on its data type (e.g. integer, string). The user can change the value of a component property by changing the value of the widget. By default, the property will be updated immediately after the user presses TAB or ENTER. Changes can be immediately seen with the ALF Plot tool (see Section $\ref{sdrapplicationdevelopment-alf:relationwithwavedash}$). In this example, the user changes the value of noise\_std\_dev of ChannelDemo from default value of 1000 to a 1500 and presses ENTER for the change to take effect.
309
310While the user will normally want component properties to update immediately once the value of the widget has changed, there are times where it is better to be able to change multiple property values and have them all update simultaneously. Wavedash makes this easy to do. Under the Options menu, the user can select `Update Properties on Refresh'. This will enable the refresh buttons on each component and the waveform, as shown in figure~\ref{fig:wavedash_update_properties_on_refresh}. When used this way, WaveDash only updates the component property values when one of the refresh buttons is clicked. Clicking the refresh button for a single component updates only that component's properties. Clicking the refresh button at the bottom updates all properties on all components in the waveform.
311
312%-------------------- FIGURE: WAVEDASH - Update on Refresh --------------------
313\begin{figure}
314\centering
315%\includegraphics[trim = 10mm 130mm 50mm 20mm, clip, width=10cm]{figure1.pdf}
316\includegraphics[width=8.5cm]{figure13_wavedash_update_properties_on_refresh.png}
317% trim = left bottom right top
318\caption{WaveDash with Update Properties on Refresh enabled}
319\label{fig:wavedash_update_properties_on_refresh}
320\end{figure}
321
322
323
324%-------------------- FIGURE: WAVEDASH - CHANGE PROPERTY CONTROL WIDGETS --------------------
325\begin{figure}
326\centering
327%\includegraphics[trim = 10mm 130mm 50mm 20mm, clip, width=10cm]{figure1.pdf}
328\includegraphics[width=8.5cm]{figure11_wavedash_property_context_menu.png}
329% trim = left bottom right top
330\caption{Change property control widgets in WaveDash}
331\label{fig:wavedash:changepropertywidgets}
332\end{figure}
333
334\subsection{Change Property Configuration Control Widgets}
335\label{sdrapplicationdevelopment-wavedash:configurewidgets}
336
337       The component PRF files determine the data type for each property of the component. WaveDash does a default mapping of data type (mentioned in PRF files) to a GUI widget (control) and also provides an optional list of widgets which users can customize to their preferences. In this example, packet\_delay\_ms of TxDemo is mapped to a spin box by default. User right clicks on the spin box that brings a context menu with the list of optional widgets configurable for packet\_delay. The user selects slider (Fig $\ref{fig:wavedash:changepropertywidgets}$) and that changes the widget on the application GUI also. The configure option in the context menu is used to set minimum and maximum values for spin box and slider controls.
338       
339%-------------------- FIGURE: WAVEDASH - SELECT/DESELECT COMPONENT PROPERTIES --------------------
340\begin{figure}
341\centering
342%\includegraphics[trim = 10mm 130mm 50mm 20mm, clip, width=10cm]{figure1.pdf}
343\includegraphics[width=8.5cm]{figure12_wavedash_component_context_menu.png}
344% trim = left bottom right top
345\caption{Change property control widgets in WaveDash}
346\label{fig:wavedash:selectdeselectproperties}
347\end{figure}
348
349\subsection{Show/Hide Component Properties}
350\label{sdrapplicationdevelopment-wavedash:showhidecomponentproperties}
351
352       It is highly possible that a component may have so many properties that it is not convenient to display all of the properties at the same time. Users may wish to hide unwanted properties and keep only the frequently used properties on screen. In this example (Fig $\ref{fig:wavedash:selectdeselectproperties}$), the user right clicks on a component and deselects phase\_offset from the pop-up menu.
353     
354%-------------------- FIGURE: ALF - BLOCK DIAGRAM WITH PLUG-IN MENU --------------------
355\begin{figure*}
356\centering
357%\includegraphics[trim = 10mm 130mm 50mm 20mm, clip, width=10cm]{figure1.pdf}
358\includegraphics[width=\textwidth]{figure13_Alf_Block_Diagram_plugins_menu.pdf}
359% trim = left bottom right top
360\caption{ALF tool showing SimpleWaveform block diagram and plug-in tool menu}
361\label{fig:alf:block_diagram_plugin_menu}
362\end{figure*}
363 
364\section{SDR Application Development Work Flow Part III:  Use of ALF Waveform Application Visualization and Debugging Environment}
365\label{sdrapplicationdevelopment-alf}
366
367The ALF environment provides several capabilities that are helpful for troubleshooting and debugging waveform applications.  Like WaveDash, ALF allows users to install/uninstall and start/stop waveform applications.  ALF also lets users display running applications in block diagram form as shown in Fig. $\ref{fig:alf:block_diagram_plugin_menu}$, and inject and monitor signals at various component ports in the application using provided or user-developed plug-in tools by right clicking on the port (small rectangle on either side of the component) and selecting from a menu as shwon in Fig. $\ref{fig:alf:block_diagram_plugin_menu}$.  Additional features enable creation and installation of single-component waveform applications, and connections between ports on components in the same or different waveforms at run time.
368
369\subsection {ALF Plug-In Tools}
370\label{sdrapplicationdevelopment-alf:plugins}
371
372Several plug-in tools for ALF are provided as part of the OSSIE distribution.  These tools are used to inject signals into component provides ports, and to display, record, or otherwise process the signals coming out of component uses ports.  The plugins are implemented in Python, and users can modify the plug-ins or develop their own based on those provided.
373
374%-------------------- FIGURE: ALF - SPEAKER TOOL --------------------
375\begin{figure}
376\centering
377%\includegraphics[trim = 10mm 130mm 50mm 20mm, clip, width=10cm]{figure1.pdf}
378\includegraphics[width=8.5cm]{figure14_ALF_Speaker_Tool.pdf}
379% trim = left bottom right top
380\caption{The ALF Speaker tool}
381\label{fig:alf:plugins:speaker}
382\end{figure}
383
384\subsubsection{Speaker Tool}
385\label{sdrapplicationdevelopment-alf:plugins:soundtool}
386
387The speaker tool, shown in Fig. $\ref{fig:alf:plugins:speaker}$, accepts signals in OSSIE's complexShort (2-channel, short integer) interface format and plays the signals through a computer's sound card.  It allows the user to set the sampling rate at which the signal will be converted to audio.
388
389%-------------------- FIGURE: ALF - PLOT TOOL --------------------
390\begin{figure*}
391\centering
392%\includegraphics[trim = 10mm 130mm 50mm 20mm, clip, width=10cm]{figure1.pdf}
393\includegraphics[width=\textwidth]{figure15_ALF_Plot_Tool_QPSK.pdf}
394% trim = left bottom right top
395\caption{The ALF Plot tool displaying a quadrature phase-shift keying (QPSK) signal constellation}
396\label{fig:alf:plugins:plot}
397\end{figure*}
398
399\subsubsection{Plot Tool}
400\label{sdrapplicationdevelopment-alf:plugins:plottool}
401
402The plot tool (Fig. $\ref{fig:alf:plugins:plot}$) also accepts signals from uses ports that employ the complexShort interface.  This tool displays the signal's spectrum on a normalized frequency scale or displays the quadrature vs. in-phase components of the signal in order to render the constellations of received digital signals.  In this mode, several symbols are shown that under ideal conditions would typically map to regularly spaced points, e.g. in a circle (phase-shift keying) or in a grid pattern (quadrature amplitude modulation).  In a realistic simulation or an operational radio, the symbols appear scattered about the nominal symbol points due to noise, fading, imperfect synchronization, or other anomolies.
403
404
405%-------------------- FIGURE: ALF - AWG TOOL --------------------
406\begin{figure*}
407\centering
408%\includegraphics[trim = 10mm 130mm 50mm 20mm, clip, width=10cm]{figure1.pdf}
409\includegraphics[width=\textwidth]{figure17_ALF_AWG_Tool.pdf}
410% trim = left bottom right top
411\caption{The ALF AWG tool}
412\label{fig:alf:plugins:awg}
413\end{figure*}
414
415\subsubsection{Arbitrary Waveform Generator (AWG) Tool}
416\label{sdrapplicationdevelopment-alf:plugins:AWGtool}
417
418Using this tool, shown in Fig. $\ref{fig:alf:plugins:awg}$, users can select from among available signal functions, or read signals that are stored in data files.  This allows generation of signals off-line using software such as MATLAB or replaying signals that are captured over the air.
419
420\subsection{Launching Individual Components as Waveform Applications}
421\label{sdrapplicationdevelopment-alf:compform}
422
423ALF includes a `compform' capability that packages individual components as self-contained waveform applications and deploys them to the default GPP device.  This is accessed by clicking on a component in the middle left panel of ALF (see Fig. $\ref{fig:alf:block_diagram_plugin_menu}$).  The compform feature allows a user to test individual components by using the plug-in tools to inject and monitor signals into and out of each component as the component runs in a stand-alone application.
424
425%-------------------- FIGURE: ALF - CONNECT TOOL --------------------
426\begin{figure}
427\centering
428%\includegraphics[trim = 10mm 130mm 50mm 20mm, clip, width=10cm]{figure1.pdf}
429\includegraphics[width=8.5cm]{figure18_ALF_Connect_Tool_2.pdf}
430% trim = left bottom right top
431\caption{ALF Connect Tool}
432\label{fig:alf:connect}
433\end{figure}
434
435\subsection{Connect Tool}
436\label{sdrapplicationdevelopment-alf:connecttool}
437
438The Connect Tool, shown in Fig. \ref{fig:alf:connect}, provides the capability
439to connect ports on components that are in the same or different waveform applications.  This capability, provided with the ability to create and run single-component applications, allows users to build ad-hoc applications by launching components as waveforms and connecting them at run time to form a temporary, larger composite application.  The composite application can be configured by configuring properties of its constituent applications using the WaveDash tool.  Further, the Connect Tool provides for automatic instantiation and tear-down of applications, and automated connections and routing of data among standard applications, single-component applications, and plug-in tools, by specifying the applications/components/plug-ins and behavior in an XML file.  This enables dynamic reconfiguration of SDR applications at run time, a capability that can be very useful in cognitive radio implementations \cite{Cormier2009}.
440
441%-------------------- FIGURE: ALF AND WAVEDASH --------------------
442\begin{figure*}
443\centering
444%\includegraphics[trim = 10mm 130mm 50mm 20mm, clip, width=10cm]{figure1.pdf}
445\includegraphics[width=\textwidth]{figure19_ALF_QPSK_Controlled_Wavedash.pdf}
446% trim = left bottom right top
447\caption{ALF and WaveDash used together to monitor and control a waveform}
448\label{fig:alf:alfwavedash}
449\end{figure*}
450
451\subsection{Relation of ALF with WaveDash}
452\label{sdrapplicationdevelopment-alf:relationwithwavedash}
453
454When used together, ALF and WaveDash allow the user to observe effects of parameter values on waveform operation interactively and in real time, as shown in Fig. $\ref{fig:alf:alfwavedash}$.  This is very useful for education, experimentation, and debugging of waveform applications.  ALF currently provides some of the same functionality as WaveDash, specifically the ability to install/uninstall and start/stop applications.  This functionality is included in both tools so that WaveDash can be used to run applications without the full ALF environment.  WaveDash can be launched from within ALF, and further integration is planned.  Planned changes include encapsulating all common functionality of the two tools in a python module or library.
455
456\section{User Base}
457\label{userbase}
458The OSSIE software, including the Waveform Workshop, is a widely used and distributed software package. There have been over 20,000 downloads of the OSSIE source code, ready-to-run live DVDs, and VMware images. We have confirmed that students and engineers at over 20 different universities, companies, nonprofit research centers, and government laboratories have used OSSIE. In addition, over US\$3 million in funding for OSSIE projects has supported over 20 graduate and undergraduate students, and more than 10 graduate theses at Virginia Tech, the Naval Postgraduate School, and elsewhere have used the software. OSSIE has served as the basis for three peer-reviewed journal articles, four online articles, and more than 20 conference papers, along with approximately 10 short courses and tutorials serving over 200 participants.
459
460\section{Future Work}
461\label{futurework}
462
463The current state of the tools allows for the work flow shown in the preceding sections, and also allows applications such as SimpleWaveform to be prototyped as ad-hoc applications and then recreated in OEF.  Additional development of the tools will enhance this capability by providing the option to display multiple application block diagrams in the same window, make connections by dragging lines between component ports, and formalize ad-hoc applications by saving connection and deployment information in waveform XML files.
464
465Additional developments to the OSSIE tools are planned as part of current and pending projects.  These include the following tasks:
466\begin{itemize}
467\item Integrate ALF and WaveDash capabilities into Eclipse
468
469\item Enable interactive block-diagram based waveform development
470
471\item Move to full Java implementations of the tools
472
473\item Load waveform and component descriptions by parsing the SCA XML files rather than using dedicated file formats (.ocd and .owd)
474
475\item Add features for collaborative development
476
477\item Add model-based development capability for greater flexibility
478
479\item Provide HTTP and command line interfaces to the OSSIE backend
480\end{itemize}
481\section{Conclusion}
482\label{conclusion}
483
484This paper has described a set of open source SCA-based SDR development tools suitable for education, research, and rapid prototyping. These tools hide some of the complexity of the SCA while exploiting the features provided by the SCA to enable an interactive development process.  The development process includes creation of signal processing comoponents and waveform applications as well as execution, visualization, monitoring, testing, and run time reconfiguration of waveform applications.
485
486\section{Acknowledgements}
487\label{acknowledgements}
488
489This work was supported by the National Science Foundation under Grant No. 0520418, by Science Applications International Corporation, and by U.S. ARMY CERDEC.
490\begin{thebibliography}{00}
491
492%% \bibitem{label}
493%% Text of bibliographic item
494
495\bibitem{Aguayo2009b}
496C. R. Aguayo Gonz$\acute{a}$lez, et al., Open\-Source SCA\-Based Core Framework and Rapid Development Tools Enable Software\-Defined Radio Education and Research, IEEE Communications Magazine, vol 47, no. 10, October 2009.
497
498\bibitem{ossieweb}
499OSSIE project web site. \\Available:  http://www.ossie.wireless.vt.edu
500
501\bibitem{sca}
502Software Communications Architecture Specification, 2nd ed., Joint Tactical Radio System (JTRS) Joint Program Office, April 2004.
503
504\bibitem{bard}
505J. Bard and V.J. Kovarik Jr., Software Defined Radio:  The Software Communications Architecture, Wiley, Chichester, West Sussex, England, 2007.
506
507\bibitem{Aguayo2009a}
508C. R. Aguayo Gonz$\acute{a}$lez , C. B. Dietrich, and J. H. Reed, Understanding the software communications architecture, IEEE Communications Magazine, vol. 47, no. 9, September 2009.
509
510
511\bibitem{Reed2002}
512J.H. Reed, Software radio: a modern approach to radio engineering, Prentice Hall PTR, 2002.
513
514\bibitem{Vanu}
515Vanu$^{\textregistered}$ Introduces the Anywave$^{\textregistered}$ MultiRAN - Wireless Industry's First Software Radio Shared Active Infrastructure Solution, \\Available:  http://www.vanu.com/media/Web%20Site%20Press%20Releases/vanu-multiran-final.pdf
516
517\bibitem{JTRS}
518JPEO JTRS, Joint Tactical Radio System\\
519Available: http://jpeojtrs.mil
520
521\bibitem{Gamma}
522E. Gamma, R. Helm, R. Johnson, J.M. Vlissides, Design Patterns: Elements of Reusable Object-Oriented Software, Addison-Wesley Professional, 1994.
523
524\bibitem{POSIX}
525IEEE Std 1003.1, 2004 Edition\\
526Available: http://www.unix.org/version3/ieee\_std.html
527
528\bibitem{CORBA}
529OMG's CORBA website\\
530Available:  http://www.corba.org
531
532\bibitem{XML}
533Extensible Markup Language (XML) 1.1 (Second Edition)\\
534Available:  http://www.w3.org/TR/2006/REC-xml11-20060816/
535
536\bibitem{Robert2004}
537M. Robert, et al., OSSIE: Open Source SCA for Researchers, SDR Forum Technical Conference, 2004.
538
539\bibitem{SpectraCX}
540PrismTech and Zeligsoft partner to deliver Spectra CX - a third-generation modeling tool for Software-Defined Radio (SDR/SCA) developers\\
541Available:  http://www.mil-embedded.com/news/Technology+Partnerships/18395
542
543\bibitem{ACE}
544The ADAPTIVE Communication Environment (ACE \texttrademark)\\
545Available:  http://www.cs.wustl.edu/~schmidt/ACE.html
546
547\bibitem{Cormier2009}
548A.R. Cormier, C.B. Dietrich, J. Price, and J.H. Reed, Dynamic reconfiguration of software defined radios using standard architectures, Physical Communication, June, 2010, doi: 10.1016/j.phycom.2009.09.002
549
550\end{thebibliography}
551
552
553\end{document}
554
555% end of file template.tex
556
Note: See TracBrowser for help on using the browser.