Sunteți pe pagina 1din 6

SOFTWARE DEFINED COGNITIVE RADIO USING LABVIEW 1

SOFTWARE DEFINED COGNITIVE RADIO


USING LABVIEW

RIJUL CHOUDHRY, ROHINI SURESH and MANISHA CHAUDHARY

Abstract-Wireless communication has known as white space. White space could be


become the most popular type of defined by time, frequency and maximum
communication.In fixed spectrum transmission power at a specific location.This
assignments, there are many frequencies spectrum inefficient utilization occurs due to
that are not properly used,so cognitive static spectrum allocation policy adopted by
radio helps use this unused frequency bands the governments worldwide.Solution to this
(“White Spaces”).This is a unique approach inefficient spectrum utilization is dynamic
to improve utilization of radio spectrum. In spectrum access and allocation. The above
this project we have employed PSK digital mentioned statistics from FCC report show
de/modulation technique using the software ineffectual utilization of spectrum which
LabVIEW. The project will employ one encouraged researchers to develop new
laptop with LABVIEW installed and spectrum sharing methodologies.
simulates the radio communication process The idea of cognitive radio provides a
where the outputs at various stages for solution by which efficient spectrum
random data(PN SEQUENCE).The outputs utilization is possible by applying the
will be measured in terms of eye diagram, optimistic spectrum sharing techniques. The
constellation diagram, SNR and BER. concept of cognitive radio was first purposed
by Joe. Mittola in 1999.The cognitive radio is
a spectrum agile system which has the ability
I.INTRODUCTION to sense the communication environment
Wireless communication created a dynamically and it can intelligently adapt the
revolution in our lives. New wireless devices communication parameters (carrier frequency,
are capable of offering higher data rates and bandwidth, power, coding schemes,
innovative services. Licensed and unlicensed modulation scheme etc.).
spectrum is available for different wireless Cognitive user should be capable of
services. But with the exponential increase in sensing the environment for the estimation of
wireless devices and their usage, the available resources and application
unlicensed spectrum is becoming scarce. requirements and could adopt their
Licensed spectrum is used for specific service performance parameters according to user
while the unlicensed spectrum (Industrial, request and available
Scientific and Medical (ISM) radio bands) are resources.Secondary(cognitive) user can
freely available for wireless services and utilize the licensed spectrum (available white
research purposes. Currently static spectrum spaces) without affecting the priority
allocation policy is in practice due to which utilization of the spectrum by primary user. In
bandwidth in unlicensed bands is becoming this way, it maximizes the efficient licensed
scarce and for licensed bands it is either spectrum utilization. The hardware challenges
underutilized or unoccupied. Licensed of cognitive radio are catered by techniques
spectrum specifically TV spectrum and like Software define radio (SDR) and
cellular spectrum are underutilized.According Application specific integrated chips (ASIC).
Federal communications commission Considering the transmission and
(FCC)2002,the licensed bands are reception parameters, cognitive radios can be
underutilized and the ISM bands are over divided in to two categories.
utilized.This report also stated that licensed  Full cognitive radio- The type of
bands average utilization is 15-85%. The cognitive radio in which almost every
unutilized portion of licensed spectrum is
SOFTWARE DEFINED COGNITIVE RADIO USING LABVIEW 3

parameter of wireless node or network based signal processing elements (e.g., field-
is considered. programmable gate arrays [FPGAs]).
RECONFIGURABLE
 Spectrum sensing cognitive radio.-In SOFTWARE/HARDWARE PLATFORMS
case of spectrum sensing cognitive We begin by focusing on 3 research-
radio only spectrum of radio oriented systems:OSSIE, GNU Radio, and Iris.
frequency is considered. OSSIE-The Open Source SCA
We first give a brief review about Implementation:Embedded (OSSIE) project is
cognitive radio(literature survey)in Section II. an open source software package for SDR
In Section III an overview of LabVIEW is development. OSSIE was developed at
provided .Section IV we give and explain the Virginia Tech, and has become a major Linux-
block diagram and its sub-blocks .Simulation based open source SDR software kit,
and results are provided and explained in sponsored by the U.S. National Science
Section V. The future scope and conclusion is Foundation (NSF) and the Joint TacticalRadio
dealt in section VI. System (JTRS), among others. OSSIE
implements an open source version of the
II. LITERATURE SURVEY Software Communication Architecture (SCA)
Cognitive radio (CR), in its original development framework supporting SDR
meaning, is a wireless communication development initiated by the U.S. Department
paradigm utilizing all available resources more of Defence, and it supports multiple hardware
efficiently with the ability to self-organize, platforms.OSSIE is mostly used at Virginia
self-plan, and self-regulate.The year 2009 Tech. al Science Foundation (NSF) and the
marked the 10th anniversary of Mitola and Joint Tactical Radio System (JTRS), among
Maguire Jr. introducing the concept of others. OSSIE implements an open source
cognitive radio. This prompted an outpouring version of the Software Communication
of research work related to CR, including the Architecture (SCA) development framework
publication of more than 30 special issue supporting SDR development initiated by the
scientific journals and more than 60 dedicated U.S. Department of Defence, and it supports
conferences and workshops. Although the multiple hardware platforms.OSSIE is mostly
theoretical research is blooming, with many used at Virginia Tech.
interesting results presented, hardware and GNU Radio — Arguably, the software
system development for CR is progressing at a defined radio (SDR) system with the most
slower pace. We provide synopses of the widespread usage is the open source GNU
commonly used platforms and test beds, Radio project (http://www.gnuradio.org). It
examine what has been achieved in the last supports hardware independent signal
decade of experimentation and trials relating processing functionalities. Beginning in 2001
to CR, and draw several perhaps surprising as a spin-off of the Massachusetts Institute of
conclusions. Technology’s (MIT’s) P spectra code
A)CR IMPLEMENTATION: originating from the Spectrum Ware project,
PLATFORMS AND SYSTEMS the GNU Radio software was completely
We briefly review the most popular rewritten in 2004. Signal processing blocks are
existing hardware and software radio systems, written in C and C++, while the signal flow
dividing these platforms into two headings. graphs and visualization tools are mainly
First, we deal with reconfigurable constructed using Python. GNU Radio is
software/hardware systems, where the currently one of the official GNU projects
majority of the radio functionality, like having strong support from the international
modulation/coding/medium access control development community. A wide range of
(MAC) and other layer processing, is SDR building blocks are available, including
performed in software. The burden in terms of ones commonly used to build simple CR-like
processing and functionality on the radio applications (e.g., energy detection). The GNU
frequency (RF) front-end is intended to be Radio project prompted the development of
minimal in these cases. Second, we take a look the Universal Software Radio Peripheral
at composite systems comprising a (USRP) hardware by Ettus Research LLC.
combination of purely software and hardware- Iris— Iris is a dynamically reconfigurable
software radio framework developed by the
SOFTWARE DEFINED COGNITIVE RADIO USING LABVIEW 3

University of Dublin, Trinity College. This is a conference venues featured demonstration


general-purpose processor-based rapid sessions. The information relating to these
prototyping and deployment system. The basic events forms our starting point. We focus
building block of Iris is a radio component mostly on the demonstrations presented at
written in C++, which implements one or more IEEE DySPAN and SDR Forum (now
stages of a transceiver chain. Extensible Wireless Innovation Forum) conferences,
Markup Language (XML) is used to specify which are the most recognized and largest
the signal chain construction and directly related events in the community.
characteristics. These characteristics can be A demonstration track was first
dynamically reconfigured to meet established in the IEEE DySPAN conference
communications criteria. Iris works in series in 2007. Since that year there have been
conjunction with virtually any RF hardware a total of 22 demonstrations. The SDR Forum
front-end and on a wide variety of operating annual technical symposium, run by the SDR
systems. A wide range of components have Forum since 1996, organized their first
been designed for Iris that is focused on CR- demonstration track in 2007. The
like systems. Multiple sensing components demonstrations presented that year comprised
ranging from simple energy detection to more only SDR platforms and development kits for
sophisticated filter bank and feature-based engineers. In 2008 real demonstrations were
detection components are available. A suite of presented. In total, 12 demo platforms were
components for dynamically shaping and shown, among them three that were related to
sculpting waveforms to make best use of DSA. During the 2009 SDR Forum conference
available white space, or components that event, 10 demonstrations were presented,
enable frequency rendezvous between two among them three related to DSA systems.
systems on frequencies that are not known a Important demos presented outside of these
priori, have also been developed.For two venues are also included in this survey.
development purposes Iris can also interface The Association for Computing Machinery
with Matlab. Iris is predominantly used by the (ACM) MobiCom ’09 included only one CR-
development group at the University of like demo from RWTH, Aachen University,
Dublin, Trinity College. Germany. In 2008 ACM MobiCom featured
B.)OTHER SYSTEMS one CR demo from Microsoft Research,
In addition to the software-centric and China. ACM SIGCOMM ’09 included one
composite systems described in this article, it demonstration from the University of Dublin,
is important to note that several standalone Trinity College. The survey data for this
components have also been developed. The article were collected as follows. From the
need for spectrum sensing, an important aspect publicly available data on each demonstration,
of CR functionality, has been a driver for this we have extracted information related to the
development work. Examples include waveforms used, frequency ranges, form of
Rockwell Collins, IMEC, and sensing devices spectrum sensing, transmit or receive
from the Institute for Infocomm Research capabilities, control channel usage, type of
(I2R), Singapore, which is addressed later in application used, sponsoring body, and
this article. Finally, there are some well- number of developers. We focused only on
known DSA focused SDR platforms that are actual demonstrations, ignoring demos that
not used directly in CR experimentation at the were either presenting development
moment. The most prominent ones include the frameworks only, or based on SDR and
Japanese National Institute of Information and reconfigurable platforms that were not related
Communications Technology SDR Platform, to CR or DSA systems. In total, we have
Flex Radio and Powered used mainly for identified 41 relevant demonstrations. For
amateur radio work (http://www.flex- detailed information on each demonstration
radio.com), and SoftRock kits platform the reader is referred to the respective
(http://www.dspradio.org). conference proceedings.
III. LabVIEW
C) OVERVIEW OF IMPORTANT CR A)HISTORY OF LabVIEW
EXPERIMENTS "For more than 20 years, NI LabVIEW
Conference Demonstrations-In the latter graphical development has revolutionised the
part of the last decade, some independent development of scalable test, measurement,
SOFTWARE DEFINED COGNITIVE RADIO USING LABVIEW 3

and control applications. Regardless of transmitter and a receiver that exchanges


experience, engineers and scientists can information in half-duplex mode (transmission
rapidly and cost-effectively interface with of data in just one direction at a time).
measurement and control hardware, analyse
data, shared results, and distribute systems."
NI LabVIEW is a programming
language which allows simple interfacing with
measurement hardware.With its unique
graphical programming environment, libraries
containing knowledge of thousands of devices
and useful toolkits, acquiring data using
LabVIEW is very easy.
Originally released for the Apple Fig.1-Block Diagram Of PSK Transceiver
Macintosh in 1986, the graphical language at A)PSK TRANSMITTER
the heart of LabVIEW is called "G". The idea The transmitter consists of the RF Filter
at that time was to revolutionise the and the PSK modulator, the diagram for both
measurement and automation industry, and the is given below with its explanation.We have
technology brought about the virtual provided the practical sub-block diagram
instrument - helping engineers and scientists to along with the representation of it in
customise measurement systems to suit their LabVIEW.. The input message sequence is the
needs. It was not until 1992 that LabVIEW random PN sequence. The message bits are
was available for platforms other than the filtered by system filter and sent to the PSK
Macintosh and since then it has undergone modulator. The output of modulator is a
many revisions. complex waveform.
B)LabVIEW
LabVIEW (short for Laboratory Virtual
Instrument Engineering Workbench) is a
system-design platform and development Fig 2-RF FILTER
environment for a visual programming
language from National Instruments.
LabVIEW is a graphical programming
language that uses icons instead of lines of text
to create applications. In contrast to text-based
programming languages, where instructions Fig 3-PSK MODULATOR
determine program execution, LabVIEW uses
dataflow programming, where the flow of data
determines execution. In LabVIEW, you build
a user interface with a set of tools and objects.
The user interface is known as the front panel.
You then add code using graphical
representations of functions to control the
front panel objects. The block diagram
contains this code. In some ways, the block
diagram resembles a flowchart.

IV.BLOCK AND SUB-BLOCK


DIAGRAM
A transceiver is a device comprising both
a transmitter and a receiver which are
combined and share common circuitry (that
both transmits and receives analog or digital
signals).
In radio communications, a transceiver is Fig 4.TRANSMITTER LabVIEW CODE
a two-way radio that combines both a radio
SOFTWARE DEFINED COGNITIVE RADIO USING LABVIEW 3

B) PSK CHANNEL
A channel is basically a medium i)EYE DIAGRAM
through which data transmitted at the source
(transmitter end) reaches its destination
(receiver end).It connects both the transmitter
and the receiver part of many communication
transceivers.

Fig 8-EYE DIAGRAM


The eye diagram shows how the
FIG 3.CHANNE waveforms used to send multiple bits of data
Fig 5-CHANNEL can potentially lead to errors in interpretation.
The eye pattern can be used to see
C) PSK RECEIVER timing jitter in one dimension of modulation.
The receiver consists of the PSK demodulator An eye pattern, also known as an eye diagram,
and the output is in terms of EYE is an oscilloscope display in which a data
DIAGRAM,CONSTELLATION DIAGRAM signal from a receiver is repetitively sampled
and BER vs Eb/No. and applied to the vertical input, while the data
rate is used to trigger the horizontal sweep. It
is so called because, for several types of
coding, the pattern looks like a series of eyes
between a pair of rails. It is an experimental
tool for the evaluation of the combined effects
of channel noise and intersymbol interference
on the performance of a baseband pulse-
Fig 6.PSK DEMODULATOR transmission system. It is the synchronized
superposition of all possible realizations of the
signal of interest viewed within a particular
signalling interval.

ii)CONSTELLATION DIAGRAM

Fig 7 RECEIVER

D)OUTPUT RESULTS Fig 9-CONSTELLATION DIAGRAM


Basically we have dealt with M-PSK, but
for this paper we have provide the output A convenient way to represent PSK
results for 4-PSK.The diagrams below depict schemes is on a constellation diagram. These
the output in terms of an eye diagram, shows the points in the complex plane where,
constellation diagram and BER vs Eb/No. in this context, the real and imaginary axis are
SOFTWARE DEFINED COGNITIVE RADIO USING LABVIEW 3

termed the in-phase and Quadrature axes long time interval and a high number of bit
respectively due to their 90° separation. Such a errors.
representation on perpendicular axes lends
itself to straightforward implementation. The
amplitude of each point along the in-phase
axis is used to modulate a cosine (or sine) V.CONCLUSION and FUTURE SCOPE
wave and the amplitude along the Quadrature In this report-PSK modem system has
axis to modulate a sine (or cosine) wave.In been built in graphical programming software
PSK, the constellation points chosen are called LabVIEW. Since the modem system
usually positioned with was already built in QAM and FSK, PSK was
uniform angular spacing around a circle. This chosen as modulation scheme. By the use of
gives maximum phase-separation between M-PSK the constellation points are more
adjacent points and thus the best immunity to distinct and data errors got reduced. The
corruption. They are positioned on a circle so unique properties of M-PSK constellation
that they can all be transmitted with the same permit acquisition and tracking of signals at
energy. In this way, the module of the noise levels 0–12 dB which is a perfect match
complex numbers they represent will be the for the expected Eb/N0 values.
same and thus so will the amplitudes needed In digital communication bits get altered
for the cosine and sine waves... Since the data due to noise present in the channel. In order to
to be conveyed are usually binary, the PSK recover the original transmitted bits at the
scheme is usually designed with the number of receiver, error detection and correction
constellation points being a power of 2.It algorithms were implemented in LabVIEW for
displays the signal as a two- CR and finally their performances have been
dimensional diagramming the complex analyzed and compared in terms of BER. The
plane at symbol sampling instants simulation results conclude that minimum
BER achieved using convolution coding is in
iii)BER vs Eb/No the range of (10−6) compared to that of
Hamming (10−4) at a particular value of SNR.
Hence even at larger values of SNR, the BER
achieved is extremely small. These results
prove that the signal transmitted has been
recovered with very low probability of error at
the destination. CR applications are on the
horizon due the enabling technologies of AI
and SDR. The co-integration of these two
fields of study will create new capabilities for
the commercial and military marketplaces

Fig 10-BER vs Eb/No


In digital transmission, the number of bit
errors is the number of received bits of a data
stream over a communication channel that
have been altered due
to noise, interference, distortion or bit
synchronization errors. The bit error rate or bit
error ratio (BER) is the number of bit errors
divided by the total number of transferred bits
during a studied time interval. BER is a unit
less performance measure, often expressed as
a percentage.
The bit error probability pe is the expectation
value of the BER. The BER can be considered
as an approximate estimate of the bit error
probability. This estimate is accurate for a

S-ar putea să vă placă și