You are on page 1of 6

2018 International Conference On Advances in Communication and Computing Technology (ICACCT)

Amrutvahini College of Engineering, Sangamner, Ahmednagar, India. Feb 8-9, 2018

Design and Implementation of Encrypted SDR and


Study of Noise in High Level System Architecture
using MATLAB
Shrikant J Upase Dr. R P Labade
Department of Electronics and Telecommunication Head, Department of Electronics and Telecommunication
AVCOE, Sangamner, India. AVCOE, Sangamner, India.
Email Id:shriupase@gmail.com Email Id: rplabade@gmail.com

Abstract—In this paper, design of encrypted software In the baseband area of the correspondence framework, the
defined radio and analysis of noise in high level architecture transmitter comprising of the QAM encoder, OFDM
using matlab is simulated and implemented. Software defined regulation, insertion and Quadrature balance is mimicked. The
radio (SDR) allows the unparalleled levels of flexibility by collector side comprises of Quadrature demodulation,
transitioning the radio communication system from hardware
devastation, OFDM demodulation and QAM decoder. Fig. 1
platform to a more user-friendly software model. The aim of this
project is to design and implement a SDR based wireless demonstrates Software perceptible baseband segment of the
communication system using MATLAB Simulink tools. The remote correspondence framework display executed in this
baseband area of a remote communication system is first paper.
simulated and then implemented in program. The realisation of
the baseband transmitter is analyzed using constellation and eye Transmitter

diagrams for different modulation techniques and different Input QAM OFDM Quadrature
Interpolation
signal-to noise ratios, while considering an additive white Encoder Modulation Modulation
Gaussian noise channel. The execution of the receiver is analyzed
by comparing the input and yield waveforms. The performance
Gaussian Noise Wireless
of the system in real time is also analyzed by implementing the Channel
system in MATLAB. The simulation results with the results Receiver
obtained from adding Gaussian Noise in the channel of the
Output QAM OFDM Quadrature
system in the form of system error rate are calculated. It is Decoder Demodulation
Decimation
Demodulation
expected that the simulation results of the system error rate will
be minimum in High Level system architecture. The performance
of the receiver is analyzed by comparing the input and output
waveforms. The proposed system exhibits good efficiency in Error Rate Variance
encrypted SDR and analysis of noise error rate for wireless
communication. Fig. 1 Block diagram of design of encrypted Software Defined Radio and
analysis of Noise
Keywords—Additive White Gaussian Noise; System Error Rate;
QAM encoder &decoder.
II. SDR DESIGN
I. INTRODUCTION A. QAM Encoder
Radio in which some part or the whole physical layer The QAM encoder is key components inside any quadrature
capacities are programming characterized is called SDR. SDR sufficiency adjustment framework. The encoder is utilized to
is adaptable; it gives minimal effort, increment in limit, encode the flag, regularly information, onto the radio
Intepolability and many advantages to the end user [1]. In this recurrence transporter that will be transmitted. QAM is a
paper, programming determinable baseband segment of the transfer speed effective flagging plan.
remote correspondence framework is composed, mimicked The QAM encoder basically takes after the possibility that can
and executed. MATLAB SIMULINK is utilized as abnormal be seen from the fundamental QAM hypothesis where there
state demonstrating apparatuses in the plan procedure. are two transporter signals with a stage move of 90° between
Reenactment of the framework with these MATLAB devices them. The information is then adequacy encoded with the two
shapes the initial step of the outline procedure for information streams known as the I or In-stage and the Q or
reconfigurable processing. The transmitter area of the quadrature information streams. These are created in the
baseband is actualized, which is utilized to dissect the baseband handling territory.
framework in genuine time [13].

978-1-5386-0926-2/18/$31.00 ©2018 IEEE 197


The two resultant signs are summed and after that prepared considered in the Gaussian noise generated which can be
as required in the RF flag chain, commonly changing over changed accordingly [10].
them in recurrence to the required last recurrence and
F. Qudrature demodulation
increasing them as required.
It is important that as the plentifulness of the flag differs, The data acknowledged at Quadrature demodulation block
any RF speakers must be straight to save the honesty of the termination is the data mixed with Gaussian noise. This block
flag. performs exactly reverse procedure of Quadrature Modulation
The data is generated in the form of extract bits. The digital i. e. data is split into real and imaginary parts. The real part is
data is converted into four blocks each containing 2 bits. Four multiplied with DSP cosine wave and imaginary part is
QAM encoders are utilized for encoding the data and the multiplied with DSP sine wave. The multiplied data of real
outputs are multiplexed and sent for frame conversion. The part with DSP cosine wave is sent to in phase mixing gain and
data from frame conversion is sent to input of OFDM the multiplied data of imaginary part with DSP sine wave is
modulation after applying normalization to it. sent to Quad mixing gain. These are combined to the real-
imaginary complex.
B. OFDM Modulation
G. Decimmation
In OFDM the IFFT mapping is carried out. The data is sent to
the intermediate buffer through additional GI window and It is the way toward decreasing the testing rate of a flag. The
afterwards delay is given before sending to switch. Parallelly term down testing for the most part alludes to one phase of the
DSP constant is applied in delayed window. The output data is procedure, yet in some cases the terms are utilized reciprocally
given to the input of interpolation. Complementary to upsampling, which expands examining
rate, pulverization is a particular instance of test rate
C. Interpolation transformation in a multi-rate advanced flag preparing
In Digital Signal Processing (DSP), one can send motions framework. A framework module that performs pulverization
after they have been changed over from simple voltages and is known as a decimator.
streams into computerized frame i.e., as arrangement of The data is first filtered out and send for downsampling. In
numbers. Fundamental simple operations (blending, sifting downsampling the amplitude of the signal is reduced. This is
and flag location) have their equivalents in the DSP world and done thrice as 2 freq per desampling (Total 2 freq * 3= 6 freq).
cost of complex advanced preparing is low. The data is then fed to frame sync. In frame synchronisation,
The essential reason to interject is to surge/increment the the frames are accumulated for being transported to OFDM
examining rate of the framework at the yield of one demodulation.
framework with the goal that another framework working at a
H. OFDM Demodulation
higher inspecting rate can include the flag
In interpolation block, the data is un-sampled. In un- The orthogonal frequency division demodulation method is
sampling the data, amplitude of the signal is increased. The used to demodulate the object in OFDM demodulator. The
data is un-sampled two times(2 freq + 4 feq = 6 freq) and after yield is a baseband portrayal of the regulated flag, which was
amplitude correction, this data is given for quadrature contribution to the OFDM Modulator partner protest.
Modulation. In OFDM demodulation, Fast Fourier Transform(FFT) is
carried out. The data is sent to the spectrum scope wherein the
D. Quadrature Modulation frequency of the signal is plotted.
In remote correspondences, Quadrature Amplitude The output waveforms viz unsynchronized data output,
Modulation-QAM is a type of regulation which is extensively spectrum scope and discrete-time scatter plot scope are
utilized for tweaking information signals onto a transporter. derived from the OFDM demodulation block.
The amplitude corrected unsampled data is divided into real
I. QAM Decoder
and imaginary parts. The real part is multiplied with DSP
cosine wave factor and imaginary part is multiplied with DSP For decoding the data from OFDM demodulation, the
sine wave factor and further both the outputs of multiplied Quadrature Amplitude Decoder is used. Initially data is stored
data are added and sent to the channel. in buffer and given for frame separation. Four QAM decoders
DSP sine and cosine waves are considered as data is in are used for decoding the data and further added and given
binary/digital form. delay before sending to image output viewer.

E. Channel J. Image out viewer


In the RF channel, gain is applied to the Quadrature The final image after encryption and decryption is given here
Modulated output signal and corresponding delay is applied. for displaying in matrix viewer.
Furthermore, Gaussian noise is fed to check the effect of the Simulated block diagram of the “Design of Encrypted SDR
noise data during transmission which will be captured through and Analysis of Noise in High Level System Architecture
SDR at receiver. Ninety-six (96) sample frame rate is using MATLAB” is shown in figure 2.

198
Fig. 2: Simulated block of SDR

Test data is an input initialization wherein the image is fed for e) atten1 = 0.1
encryption and further analysis of noise through SDR.The size f) delayinc2= 2
of image is defined as 256 x 256 pixels. g) atten2= 0.78
The units for each parameter for every simulation are shown h) dealyinc3= 2
below: i) atten3= 0.25
pnoise = Channel Noise amplitude in dB. 2. Noisy Channel: Typical values added with extra noise
freq_off = Channel offset Frequency in Hz a) pnoise = 0.001
noiseseed= rate of production of Noise b) freq_off = 0
dealy1 = delay in samples c) noiseseed= 8
atten1 = attenuation in scale factor d) dealy1 = 53
delayinc2= increment in delay samples past dealy1 e) atten1 = 0.18
atten2= attenuation in scale factor f) delayinc2= 2
dealyinc3= increment in delay samples past delay 1 g) atten2= 0.1
atten3= attenuation in scale factor h) dealyinc3= 2
i) atten3= 0.12
The implementation is done using Simulink library symbols 3. 25 Hz Frequency offset: Frequency offset is observed
and the MATLAB coding. Typical channel characteristics a) pnoise = 0.001
considered during the running of the program are as follows: b) freq_off =25
c) noiseseed= 8
1. Typical Channel: Typical values set for simulation. d) dealy1 = 0
a) pnoise = 0.0005 e) atten1 = 0
b) freq_off = 10
f) delayinc2=0
c) noiseseed= 8
d) dealy1 = 55 g) atten2= 0

199
h) dealyinc3=0 Variance and Symbol Error Rate:
i) atten3= 0 Error Rate = BER(1-SyncER) + ½ SyncER ≈ BER [2][4].
a) atten2= 0.1 IV. CONCLUSION
b) dealyinc3=1
The MATLAB based SDR design in High Level System
c) atten3= 0 Architecture is implemented. The application of the SDR is
4. Too much Frequency offset: Following parameters clearly revealing in this project. Importance is given on the
were set for extreme amount of frequency offset- minimizing the effect of noise in the channel during
a) pnoise = 0.01 transmission of the data from transmitter to receiver. The
b) freq_off =50 encryption of the image data is also carried out by converting
c) noiseseed= 8 it to the binary data during transmission. It has been seen that
the symbol error rate is very minimum making clear way out
d) dealy1 =100
of transmission of secure and encrypted data using Software
e) atten1 =1 Defined Radio. The sending and receiving waveforms at the
f) delayinc2=0 spectrum scope displays shows the synchronization in the
g) atten2= 0 pattern displaying the minimum
h) dealyinc3=0
i) atten3= 0 REFERENCES
[1] J Mitola, “The software radio architecture”, IEEE Communications
magazine, Vol.33, No. 5, May 1995, pp. 26-37
III. RESULTS AND ANALYSIS [2] Zied Ben Gamra, Faouzi Bellili, Abdelaziz Samet and Sofiene Affes,
SDR is quickly developing innovation in the pioneers “Rapid Prototyping and Validation on an SDR Platform of a Low-Cost
Hybrid ML SNR Estimator over Time-Varying SIMO Channels”,IEEE,
and early adopters into the early greater part stage 2016.
characterizing the standard market. In this stage, adopters [3] Vijay Garg, “Wireless Communication and Networking”, Morgan
select an innovation not on the grounds that it is inventive or Kaufmann Publishers.
visionary but rather on the grounds that it has been appeared to [4] Giovanni Vannucci, “A Software-Defined Radio System for Backscatter
Sensor Networks”, IEEE transactions on wireless communication,
effectively tackle an issue inside their particular market. Vol.7, No. 6,Jun 2008, pp 2170-2179
Through framework recreation, the outcomes demonstrate that [5] Julien Le Kernec and Olivier Romain, “Performances of Multitones for
the proposed programming characterized radio framework has Ultra-Wideband Software-Defined Radar”, IEEE Access, Vol 5, 2017,
higher execution. pp-6570-6588
[6] Matej Kloc, Robert Weigel and Alexander Koelpin, “SDR
The implementation is done using Simulink library Implementation of an Adaptive Low-Latency IEEE 802.11p Transmitter
symbols and the MATLAB coding. The various output graphs System for Real-Time Wireless Applications”, IEEE, 2017, pp-207-210
are also plotted viz unsynchronized output, Synchronized [7] Sharlene katz, James Flynn, “Using Software Defined Radio (SDR) To
Constellation and spectrum scope [9] for different channel Demonstrate Concepts In Communications and Signal Processing
Courses”, 39th ASEE/IEEE Frontiers in Education Conference, Oct
characteristics as shown in Fig.3, Fig.4, Fig. 5 & Fig.6. 2009.
There is a strategy for exchanging computerized [8] Takashi Shono, “IEEE 802.11 Wieless LAN Implemented on Software
information by changing or balancing the period of a bearer Defined Radio with Hybrid Programmable Architecture”, IEEE
flag. In QPSK advanced information is spoken to by 4 focuses Transactions on Wireless Communication, Vol. 4, No. 5, Sept 2005.
[9] Sabih Guzelgoz and Huseyin Arslan, “Modeling, Simulation, Testing
around a circle which relate to 4 periods of the transporter and Measurments of Wireless Communication Systems: A Laboratory
flag. These focuses are called images. Based Approach”, IEEE, 2009.
The scramble plot of the waveform before recurrence [10] Benjamin Drozdenko, Ramanathan Subramanian, Kaushik Chowdhury,
counterbalance adjustment. Recurrence balance is acquainted and Miriam Leeser,” Implementing a MATLAB-based Self-
Configurable Software Defined Radio Transceiver”, IEEE, pp 1-12
due with befuddle amongst transmitter and the get motions [11] Kaushik R Chowdhury, Tommaso Melodla, “Platforms and Testbed for
and cause a round turn in the image areas on the star grouping Experimental Evaluation of Cognitive Ad Hoc Networks”, IEEE
outline. The degree of the revolution relies upon the Communication Magazine, Sept, 2010, pp. 96-104
recurrence balance esteem. This impact can be obviously [12] Noa Zilberman,, Philip M. Watts,Charalampos Rotsos, and Andrew W.
Moore, “Reconfigurable Network Systems and Software-Defined
found in this plot. Networking” Proceedings of the IEEE,Vol. 103, No. 7, July 2015
The round turn that stalks from the recurrence [13] Ramanathan Subramanian, Benjamin Drozdenko, Eric Doyle, Rameez
balance is taken care of. In any case, it is evident from star Ahmed, Miriam Leeser, and Kaushik Roy Chowdhury, “High-Level
grouping graph that there is as yet a steady stage move in the System Design of IEEE 802.11b Standard-Compliant Link Layer for
MATLAB-Based SDR” IEEE Trans. Volume 4, 2016 pp 1494-1509.
got images. [14] Kaushik R Chowdhury, Tommaso Melodia, “Platforms and Testbeds
The Spectrum scope, displays frequency spectra of for Experimental Evaluation of Cognitive Ad Hoc Networks”, IEEE
signals. The Spectrum Scope accepts input signals, through communication Magazine, Sept 2010.
one or more input ports. It indicates the spectrum computation [15] Herve Boeglen, Albekaye Traore, Manuel Milla Peinado, Romain
Lefort, Rodolphe Vauzelle, “An SDR Based Channel Sounding
settings that are represented in the current display of receiver Technique for Embedded Systems”, 11th European Conference on
and transmitter waveforms. Antenna and Propagation (EUCAP), IEEE, 2017, pp. 3286-3290.

200
Fig. 3: Unsynchronized, Synchronized Constellation and Spectrum Scope for typical Channel.

Fig. 4: Unsynchronized, Synchronized Constellation and Spectrum Scope for Noisy Channel.

Fig. 5: Unsynchronized, Synchronized Constellation and Spectrum Scope for 25 Hz freq offset.

201
Fig. 6: Unsynchronized, Synchronized Constellation and Spectrum Scope for extreme offset

202