SlideShare a Scribd company logo
1 of 4
Download to read offline
Generation & Analysis of BPSK from Truncated PRN
Sequence
*Manisha Sharma & Neeru Agarwal
Department of ECE, ASET,
Amity University, Noida
India
*Email:
Abstract— In this paper the pseudo random noise sequence is
generated in Lab View software using 9 bit LFSR and then these
are truncated and then with different seed values, different
truncation bits, the change in the properties of the sequence are
also observed with mathematical and graphical analysis. Also
with both the normal and truncated PN sequences obtained
BPSK is also simulated and its power spectral density is also
obtained.
Keywords— PRN Sequence, Truncated PRN Sequence, peak
side lobes(rms), bpsk, power spectral density, seed value, taps,
LFSR, LabView software.
I. INTRODUCTION
Linear Feedback Shift Registers (LFSR) with one or more
feedbacks from the output are used to generate the PRN
sequences. For a n stage shift registers a sequence will be
generated which will repeat itself after a length of L= 2^n-1.
Performance can be affected by truncating last few bits of the
normal PN sequence but sometimes it can be beneficial in
terms of acquisition time and some applications. As length of
9th
stage PN sequence is 511 and that of 10th
stage is 1023, so
there is huge difference between these selections. Hence
experiments are being conducted by selecting some length in
between the large gap such that the properties of the resulting
truncated sequence are preserved along with the acquisition
time being reduced [1].
In this paper the normal p-n sequence along with the
truncated sequence is being generated in LabView software
using 4 stage and 9 stage LFSR . Also mathematical studies
are conducted to compare their resulting autocorrelation and
peak side lobe value (RMS) for different seeds. Truncated
PRN sequences can show properties near to that of normal
sequence for a particular seed value, which has many benefits
as it can be used in communication and also 11 bit truncation
from 511 bit sequence resulting in length of 500 will be much
easier to handle for calculation purposes.
LFSRs are very much important for the generation of the
PRN sequences, hence their models are also being extensively
studied which can provide transition states of different bits of
LFSR and is also capable to switch to any possible feedback
connections i.e. polynomial [2]. Many fields in
communication require pseudo random sequences like error
detection, direct sequence spread spectrum (DSSS), and these
sequences are being tested for many applications like in the
analysis of optical DPSK transmissions modeling [3]. The
PRN sequences can be generated by numerous ways like it can
be generated using algebraic feedback shift registers [4],
series-parallel method to generate sequence at high speeds
with low-speed devices, which interests hardware designers
[5]. In mathematical terms it is the generator polynomial
(primitive) of variable x that represents any LFSR to produce
a maximal length sequence.
A. M-sequence :
A LINEAR SHIFT-REGISTER BINARY SEQUENCE WHOSE LENGTH
IS N= 2 M − 1, WHERE M IS THE DEGREE OF THE GENERATOR
POLYNOMIAL.
B. Primitive Polynomial :
It is the generator polynomial of m-sequence. If g(x) is a
primitive polynomial of degree m and if the smallest integer n
for which g(x) divides x^n + 1 is n = 2^m − 1.
g (x) = x^5 + x^4 + x^2 + x + 1 is a primitive. But
g( x ) = x^5 + x^ 4 + x^3 + x^ 2 + x + 1 is not primitive as
x^6 + 1 = ( x + 1 )( x ^5 + x^ 4 + x^ 3 + x^ 2 + x + 1 ) ,
& hence least value of n is 6.
II. GENERATION OF NORMAL & TRUNCATED PRN SEQUENCE
A. Generation of Normal PRN Sequence:
In this paper simulation model is created in LabView to
generate the sequences. Following is the block diagram of 4
stage PRN sequence.
Figure 1: Block Diagram of 4 stage PRN sequence Generator.
This resulted PN code is shown in figure 2 & resulted
waveform is depicted in figure3.
Figure 2: Resulted PN code
Figure 3: Resulted Waveform
In this generation, for a given length of shift register, the mode
to generate pseudorandom binary sequences can be done
either by using EXOR gates or EXNOR gates. Here we have
implemented this using EXOR gates on the block diagram of
the virtual instrumentation. The front panel is representing the
code and the waveform is generated respectively. The parallel
output can be observed either on LED indicators or in
addition, a pseudo-random sequence of ones and zeros can be
produced at Serial Out. Similarly a 511 length PN sequence
can be generated using 9 stage shift register [6]. In this a nine-
element shift register is placed on a While Loop. An EXOR
gate is used whose inputs have been wired to Q5 and Q9. The
loop index keeps track of the count of loop cycle, and it stops
when the output becomes equal to the initial value. An initial
seed is set at starting of the process and each shift registers on
the loop are initialized [6]. Following is the resulting
waveform of 511 length PRN sequence.
Figure 4: Resulting Waveform of 511 length PRN sequence.
This sequence satisfies all the properties of a normal PN
sequence like balance, run and autocorrelation properties.
B. Generation of Truncated PRN Sequence:
A truncated sequence of 500 bits length can be generated by
removing last 11 bits from the above sequence which in this
simulation is achieved by using a 'delete from array' block. In
this block we can delete any number of last elements of the
initial array.
Figure 5: Truncated Sequence
III. MATHEMATICAL ANALYSIS
Observations are being made by varying the seed values
and seeing their effect on the different amount of truncation of
bits. Example: 11, 31, 51, 101, 151, 201, 301 etc. This is
shown in table 1. This analysis shows how the root mean
square value or the peak side lobes generation is being
affected as we change seed values for different number of bits
being truncated from the end of the normal sequence .
In the second table observations are carried out such that
as the truncation is increased with respect to the normal PRN
sequence the performance is affected i.e. The RMS values
with respect to some seed values taken into consideration (it
gives the nutshell of the previous analysis). As it is observed
that for different seed values there is not much variation in the
slope of the different truncation with respect to the normal 511
length sequence. Also the dB plot is shown below using
MATLAB tool. Figure 6 is showing Matlab plot that with
increase in truncation with respect to the normal sequence
RMS values increases for each seed value but there in not
much variation in slope as seed changes. Fig. 7 showing the
dB plot of the same observation.
0 50 100 150 200 250 300 350
0.04
0.045
0.05
0.055
0.06
0.065
0.07
Truncation
RMSValue
000001010
000010100
000011110
000101000
000110010
000111100
001000110
001010000
001011010
001100100
FIGURE 6: Matlab Plot
0 0.5 1 1.5 2 2.5 3 3.5 4
0.04
0.045
0.05
0.055
0.06
0.065
0.07
TRuncation in dB
RMSValue
000001010
000010100
000011110
000101000
000110010
000111100
001000110
001010000
001011010
001100100
Figure 7: dB Plot
IV. GENERATION OF BPSK
From both the normal and truncated PRN sequences we
simulated the BPSK signal and observed their respective
power spectral densities.
FIGURE 8: Block for BPSK Generation
The above block diagram the BPSK is simulated as, phase of a
carrier (a selected signal from waveform generator) is
converted to two values according to the binary signal level.
The information of the stream is contained at the point where
phase changes occur in the transmitted signal.
V. RESULTS & DISCUSSIONS
One random data stream (A) is selected from square wave
generator and then the normal PN sequence is multiplied with
that data stream resulting in a sequence in (D). Finally BPSK
is obtained from this sequence and one sinusoidal carrier
signal with changing phase at the transitions (E). Power
spectral density for the resulting BPSK is plotted in graph (F).
Same procedure is followed with the 11 bit truncated PRN
sequence and its PSD is also plotted (I). It can be clearly seen
from both the spectral densities that as bits are truncated the
spectral performance goes poor resulting in more side lobes.
A. Selected Data Stream:
B. Sinusoidal Carrier Signal:
C. Normal PN sequence of length 511 bits:
D. Sequence Generated on multipling PN sequence with data:
E. Generated BPSK:
F. Power SpectralDensity (PSD):
G. 11 Bit Trancated PN Sequence:
H. Generated BPSK:
I. Power Spectral Density (PSD) of Trancated PN sequence:
.
VI. CONCLUSION
In virtual instrumentation simulation environment the pseudo
random noise sequences are simulated along with the
truncation by different bits. This made us to observe the
comparison between the amount of truncation increases the
peak side lobe level also increases but does not vary much for
different amount of truncation of bits. Then with the both
sequences BPSK signal is generated and its respective power
spectral densities are also plotted and it is observed that as we
truncate the sequence the PSD expands and side lobe levels are
also increased leading to change in system performance.
ACKNOWLEDGMENT
Manisha Sharma, is highly thankful to Prof. (Dr) P
Bannerjee & Prof (Dr) M.K.Dutta, Department of ECE,
ASET, Amity University Noida, India, for their valuable
support.
REFERENCES
[1] Banerjee P, Keshwala U & Kaushik M, “Study on Potentiality of
Truncated PRN Sequences for Communication”, International
Conference on Communications, Devices & Intelligent Systems, 2012,
pp 409-412.
[2] Ahmed A & Abri D, “Design of a Pseudo-Random Binary Code
Generator via a Developed Simulation Model”, ACEEE Int. J. on
Information Technology, Vol. 02, No. 01, March 2012, pp 33-36.
[3] Hadjia Badaoui, Yann Frignac & Mohammed Feham, “Pseudo
Random Binary Sequences Analysis for the Modeling of Optical DPSK
Transmission Systems”, International Journal of Computer Science &
Communication, Vol. 1, No. 2, July-December 2010, pp. 369-372.
[4] Mark Goresky and Andrew Klapper, “Pseudo-noise Sequences based on
Algebraic Feedback Shift Registers”, IEEE Transaction on Information
Theory, VOL. 52, No: 4, 2006, pp 1649-1662.
[5] R.N. Mutagi, “Pseudo noise sequences for engineers”, Electronics &
Communication Engineering Journal,1996, pp 79-87.
[6] Goran S. Miljković, Ivana S. Stojković & Dragan B. Denić,
“Generation and Application of pseudorandom binary sequences using
virtual Instrumentation”, Automatic Control and Robotics, FACTA
UNIVERSITATIS, Vol. 10, No 1, 2011, pp. 51 – 58.
TABLE I
SEED
VALUES
RMS value of
11 bit
truncated PRN
seq.
RMS value of
31 bit
truncated PRN
seq.
RMS value of
51 bit
truncated PRN
seq.
RMS value of
101 bit
truncated PRN
seq.
RMS value of
151 bit
truncated PRN
seq.
RMS value of
201 bit
truncated PRN
seq.
RMS value
of 301 bit
truncated
PRN seq.
000001010 0.0370043 0.0382634 0.0394002 0.0423284 0.0458956 0.0504004 0.065412
000010100 0.0370043 0.0383088 0.0394696 0.0422886 0.0459451 0.0503523 0.064847
000011110 0.0366342 0.0377456 0.0388889 0.0421593 0.0464451 0.0513363 0.0638377
000101000 0.0370917 0.0380528 0.0393035 0.0417395 0.0457326 0.050491 0.0641826
000110010 0.036472 0.0376255 0.0387198 0.0424381 0.0456264 0.0503924 0.064827
000111100 0.0364395 0.0375851 0.0389856 0.0423833 0.046397 0.0509999 0.0640273
001000110 0.0369723 0.0379933 0.0393229 0.0426934 0.0462311 0.0502802 0.0641556
001010000 0.0369914 0.0379713 0.0392606 0.0417771 0.0457438 0.0504031 0.063858
001011010 0.036906 0.0380214 0.039337 0.0425284 0.0456424 0.0501757 0.0638987
001100100 0.0365111 0.0375552 0.0386438 0.0418813 0.0455821 0.0505496 0.0638105
001101110 0.0368408 0.0378448 0.03927 0.0418813 0.0460394 0.051276 0.0627224
001111000 0.0367302 0.0381108 0.0393009 0.0423381 0.0457495 0.0506745 0.0645458
TABLE II
seed-> 000001010 000110010 001100100 010010110 011001000 100000100 100110110 101101000 110011010
Tprn/prn
500/511 0.037004 0.03647 0.036511 0.036879 0.036549 0.03693 0.036717 0.0367 0.03653
480/511 0.03826 0.0376 0.03755 0.037797 0.037579 0.03797 0.038028 0.03815 0.03754
460/511 0.039400 0.03872 0.038644 0.038801 0.038645 0.0393 0.0392 0.03902 0.03861
410/511 0.0423 0.04244 0.0418 0.0422 0.041904 0.042422 0.042179 0.04222 0.04201
360/511 0.045895 0.04563 0.045582 0.046708 0.045886 0.045893 0..045836 0.04616 0.04602
310/511 0.050400 0.05039 0.05055 0.05024 0.050701 0.049961 0.050568 0.05036 0.05102
210/511 0.065412 0.065483 0.0638 0.0652 0.063661 0.064927 0.064767 0.06409 0.06349

More Related Content

What's hot

haffman coding DCT transform
haffman coding DCT transformhaffman coding DCT transform
haffman coding DCT transform
aniruddh Tyagi
 
Ee443 communications 1 - lab 2 - loren schwappach
Ee443   communications 1 - lab 2 - loren schwappachEe443   communications 1 - lab 2 - loren schwappach
Ee443 communications 1 - lab 2 - loren schwappach
Loren Schwappach
 
Cooperative partial transmit sequence for papr reduction in space frequency b...
Cooperative partial transmit sequence for papr reduction in space frequency b...Cooperative partial transmit sequence for papr reduction in space frequency b...
Cooperative partial transmit sequence for papr reduction in space frequency b...
IAEME Publication
 
A clustering protocol using multiple chain
A clustering protocol using multiple chainA clustering protocol using multiple chain
A clustering protocol using multiple chain
ambitlick
 
Ch04
Ch04Ch04
Ch04
H K
 

What's hot (19)

Ch5 2 v1
Ch5 2 v1Ch5 2 v1
Ch5 2 v1
 
paper573
paper573paper573
paper573
 
Design of Low-Pass Digital Differentiators Based on B-splines
Design of Low-Pass Digital Differentiators Based on B-splinesDesign of Low-Pass Digital Differentiators Based on B-splines
Design of Low-Pass Digital Differentiators Based on B-splines
 
Pifa array2 rg
Pifa array2 rgPifa array2 rg
Pifa array2 rg
 
haffman coding DCT transform
haffman coding DCT transformhaffman coding DCT transform
haffman coding DCT transform
 
Multi carrier equalization by restoration of redundanc y (merry) for adaptive...
Multi carrier equalization by restoration of redundanc y (merry) for adaptive...Multi carrier equalization by restoration of redundanc y (merry) for adaptive...
Multi carrier equalization by restoration of redundanc y (merry) for adaptive...
 
Dynamic Spectrum Derived Mfcc and Hfcc Parameters and Human Robot Speech Inte...
Dynamic Spectrum Derived Mfcc and Hfcc Parameters and Human Robot Speech Inte...Dynamic Spectrum Derived Mfcc and Hfcc Parameters and Human Robot Speech Inte...
Dynamic Spectrum Derived Mfcc and Hfcc Parameters and Human Robot Speech Inte...
 
Ee443 communications 1 - lab 2 - loren schwappach
Ee443   communications 1 - lab 2 - loren schwappachEe443   communications 1 - lab 2 - loren schwappach
Ee443 communications 1 - lab 2 - loren schwappach
 
Network Implosion: Effective Model Compression for ResNets via Static Layer P...
Network Implosion: Effective Model Compression for ResNets via Static Layer P...Network Implosion: Effective Model Compression for ResNets via Static Layer P...
Network Implosion: Effective Model Compression for ResNets via Static Layer P...
 
Cooperative partial transmit sequence for papr reduction in space frequency b...
Cooperative partial transmit sequence for papr reduction in space frequency b...Cooperative partial transmit sequence for papr reduction in space frequency b...
Cooperative partial transmit sequence for papr reduction in space frequency b...
 
04 Digital Transmission
04 Digital Transmission04 Digital Transmission
04 Digital Transmission
 
Lecture Notes: EEEC6440315 Communication Systems - Digital Modulation
Lecture Notes:  EEEC6440315 Communication Systems - Digital ModulationLecture Notes:  EEEC6440315 Communication Systems - Digital Modulation
Lecture Notes: EEEC6440315 Communication Systems - Digital Modulation
 
A clustering protocol using multiple chain
A clustering protocol using multiple chainA clustering protocol using multiple chain
A clustering protocol using multiple chain
 
Biel 010 jun12
Biel 010 jun12Biel 010 jun12
Biel 010 jun12
 
Ch04
Ch04Ch04
Ch04
 
Use s parameters-determining_inductance_capacitance
Use s parameters-determining_inductance_capacitanceUse s parameters-determining_inductance_capacitance
Use s parameters-determining_inductance_capacitance
 
ECE 467 Mini project 1
ECE 467 Mini project 1ECE 467 Mini project 1
ECE 467 Mini project 1
 
Ch 04
Ch 04Ch 04
Ch 04
 
Frequency response
Frequency responseFrequency response
Frequency response
 

Viewers also liked (18)

R
RR
R
 
Les engagés pour le Paris-Roubaix 2016
Les engagés pour le Paris-Roubaix 2016Les engagés pour le Paris-Roubaix 2016
Les engagés pour le Paris-Roubaix 2016
 
Scan to-me from 144.56.112.83 2013-05-22 120544
Scan to-me from 144.56.112.83 2013-05-22 120544Scan to-me from 144.56.112.83 2013-05-22 120544
Scan to-me from 144.56.112.83 2013-05-22 120544
 
Etape 1
Etape 1Etape 1
Etape 1
 
Civil (pollution)
Civil (pollution)Civil (pollution)
Civil (pollution)
 
Pneumonia
PneumoniaPneumonia
Pneumonia
 
Liste UPR
Liste UPRListe UPR
Liste UPR
 
Cardiac Transplantation
Cardiac TransplantationCardiac Transplantation
Cardiac Transplantation
 
Dk
DkDk
Dk
 
Enduropale jeune scratch
Enduropale jeune scratchEnduropale jeune scratch
Enduropale jeune scratch
 
Classement quaduro 2013
Classement quaduro 2013Classement quaduro 2013
Classement quaduro 2013
 
Enduropale : Liste défnitive des engagés motos
Enduropale : Liste défnitive des engagés motosEnduropale : Liste défnitive des engagés motos
Enduropale : Liste défnitive des engagés motos
 
Classement enduropale 2013
Classement enduropale 2013 Classement enduropale 2013
Classement enduropale 2013
 
Trentino
TrentinoTrentino
Trentino
 
Douchy
DouchyDouchy
Douchy
 
Douchy
DouchyDouchy
Douchy
 
Slidetrois
SlidetroisSlidetrois
Slidetrois
 
Horaris reals proposta 1
Horaris reals proposta 1Horaris reals proposta 1
Horaris reals proposta 1
 

Similar to Galgo f

LMSProjectReportFINAL
LMSProjectReportFINALLMSProjectReportFINAL
LMSProjectReportFINAL
Luke Snow
 
IGARSSWellLog_Vancouver_07_29.pptx
IGARSSWellLog_Vancouver_07_29.pptxIGARSSWellLog_Vancouver_07_29.pptx
IGARSSWellLog_Vancouver_07_29.pptx
grssieee
 
DETERMINATION OF SPATIAL RESOLUTION IN COMPUTED RADIOGRAPHY (CR) BY COMPARING...
DETERMINATION OF SPATIAL RESOLUTION IN COMPUTED RADIOGRAPHY (CR) BY COMPARING...DETERMINATION OF SPATIAL RESOLUTION IN COMPUTED RADIOGRAPHY (CR) BY COMPARING...
DETERMINATION OF SPATIAL RESOLUTION IN COMPUTED RADIOGRAPHY (CR) BY COMPARING...
AM Publications
 

Similar to Galgo f (20)

Acquisition of Long Pseudo Code in Dsss Signal
Acquisition of Long Pseudo Code in Dsss SignalAcquisition of Long Pseudo Code in Dsss Signal
Acquisition of Long Pseudo Code in Dsss Signal
 
Adaptive Channel Equalization using Multilayer Perceptron Neural Networks wit...
Adaptive Channel Equalization using Multilayer Perceptron Neural Networks wit...Adaptive Channel Equalization using Multilayer Perceptron Neural Networks wit...
Adaptive Channel Equalization using Multilayer Perceptron Neural Networks wit...
 
IRJET- Compressed Sensing based Modified Orthogonal Matching Pursuit in DTTV ...
IRJET- Compressed Sensing based Modified Orthogonal Matching Pursuit in DTTV ...IRJET- Compressed Sensing based Modified Orthogonal Matching Pursuit in DTTV ...
IRJET- Compressed Sensing based Modified Orthogonal Matching Pursuit in DTTV ...
 
M.sc. m kamel
M.sc. m kamelM.sc. m kamel
M.sc. m kamel
 
Pn sequence
Pn sequencePn sequence
Pn sequence
 
Coded OFDM in Fiber-Optics Communication Systems with Optimum biasing of Laser
Coded OFDM in Fiber-Optics Communication Systems with Optimum biasing of LaserCoded OFDM in Fiber-Optics Communication Systems with Optimum biasing of Laser
Coded OFDM in Fiber-Optics Communication Systems with Optimum biasing of Laser
 
LMSProjectReportFINAL
LMSProjectReportFINALLMSProjectReportFINAL
LMSProjectReportFINAL
 
AREA OPTIMIZED FPGA IMPLEMENTATION FOR GENERATION OF RADAR PULSE COM-PRESSION...
AREA OPTIMIZED FPGA IMPLEMENTATION FOR GENERATION OF RADAR PULSE COM-PRESSION...AREA OPTIMIZED FPGA IMPLEMENTATION FOR GENERATION OF RADAR PULSE COM-PRESSION...
AREA OPTIMIZED FPGA IMPLEMENTATION FOR GENERATION OF RADAR PULSE COM-PRESSION...
 
IGARSSWellLog_Vancouver_07_29.pptx
IGARSSWellLog_Vancouver_07_29.pptxIGARSSWellLog_Vancouver_07_29.pptx
IGARSSWellLog_Vancouver_07_29.pptx
 
Biomedical Signals Classification With Transformer Based Model.pptx
Biomedical Signals Classification With Transformer Based Model.pptxBiomedical Signals Classification With Transformer Based Model.pptx
Biomedical Signals Classification With Transformer Based Model.pptx
 
[IJET V2I5P23] Authors:Pramod Kumar
[IJET V2I5P23] Authors:Pramod Kumar[IJET V2I5P23] Authors:Pramod Kumar
[IJET V2I5P23] Authors:Pramod Kumar
 
PARALLEL SEQUENCE SPREAD SPECTRUM SYSTEM SIMULATION WITH RAPP MODEL
PARALLEL SEQUENCE SPREAD SPECTRUM SYSTEM SIMULATION WITH RAPP MODELPARALLEL SEQUENCE SPREAD SPECTRUM SYSTEM SIMULATION WITH RAPP MODEL
PARALLEL SEQUENCE SPREAD SPECTRUM SYSTEM SIMULATION WITH RAPP MODEL
 
On Linear Complexity of Binary Sequences Generated Using Matrix Recurrence Re...
On Linear Complexity of Binary Sequences Generated Using Matrix Recurrence Re...On Linear Complexity of Binary Sequences Generated Using Matrix Recurrence Re...
On Linear Complexity of Binary Sequences Generated Using Matrix Recurrence Re...
 
DETERMINATION OF SPATIAL RESOLUTION IN COMPUTED RADIOGRAPHY (CR) BY COMPARING...
DETERMINATION OF SPATIAL RESOLUTION IN COMPUTED RADIOGRAPHY (CR) BY COMPARING...DETERMINATION OF SPATIAL RESOLUTION IN COMPUTED RADIOGRAPHY (CR) BY COMPARING...
DETERMINATION OF SPATIAL RESOLUTION IN COMPUTED RADIOGRAPHY (CR) BY COMPARING...
 
modelling assignment
modelling assignmentmodelling assignment
modelling assignment
 
Flow cytometry
Flow cytometryFlow cytometry
Flow cytometry
 
Fixed Point Realization of Iterative LR-Aided Soft MIMO Decoding Algorithm
Fixed Point Realization of Iterative LR-Aided Soft MIMO Decoding AlgorithmFixed Point Realization of Iterative LR-Aided Soft MIMO Decoding Algorithm
Fixed Point Realization of Iterative LR-Aided Soft MIMO Decoding Algorithm
 
Ab35157161
Ab35157161Ab35157161
Ab35157161
 
Ab35157161
Ab35157161Ab35157161
Ab35157161
 
PosterRexChinHaoChen2016
PosterRexChinHaoChen2016PosterRexChinHaoChen2016
PosterRexChinHaoChen2016
 

Recently uploaded

notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
HenryBriggs2
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
Health
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
+97470301568>> buy weed in qatar,buy thc oil qatar,buy weed and vape oil in d...
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 

Galgo f

  • 1. Generation & Analysis of BPSK from Truncated PRN Sequence *Manisha Sharma & Neeru Agarwal Department of ECE, ASET, Amity University, Noida India *Email: Abstract— In this paper the pseudo random noise sequence is generated in Lab View software using 9 bit LFSR and then these are truncated and then with different seed values, different truncation bits, the change in the properties of the sequence are also observed with mathematical and graphical analysis. Also with both the normal and truncated PN sequences obtained BPSK is also simulated and its power spectral density is also obtained. Keywords— PRN Sequence, Truncated PRN Sequence, peak side lobes(rms), bpsk, power spectral density, seed value, taps, LFSR, LabView software. I. INTRODUCTION Linear Feedback Shift Registers (LFSR) with one or more feedbacks from the output are used to generate the PRN sequences. For a n stage shift registers a sequence will be generated which will repeat itself after a length of L= 2^n-1. Performance can be affected by truncating last few bits of the normal PN sequence but sometimes it can be beneficial in terms of acquisition time and some applications. As length of 9th stage PN sequence is 511 and that of 10th stage is 1023, so there is huge difference between these selections. Hence experiments are being conducted by selecting some length in between the large gap such that the properties of the resulting truncated sequence are preserved along with the acquisition time being reduced [1]. In this paper the normal p-n sequence along with the truncated sequence is being generated in LabView software using 4 stage and 9 stage LFSR . Also mathematical studies are conducted to compare their resulting autocorrelation and peak side lobe value (RMS) for different seeds. Truncated PRN sequences can show properties near to that of normal sequence for a particular seed value, which has many benefits as it can be used in communication and also 11 bit truncation from 511 bit sequence resulting in length of 500 will be much easier to handle for calculation purposes. LFSRs are very much important for the generation of the PRN sequences, hence their models are also being extensively studied which can provide transition states of different bits of LFSR and is also capable to switch to any possible feedback connections i.e. polynomial [2]. Many fields in communication require pseudo random sequences like error detection, direct sequence spread spectrum (DSSS), and these sequences are being tested for many applications like in the analysis of optical DPSK transmissions modeling [3]. The PRN sequences can be generated by numerous ways like it can be generated using algebraic feedback shift registers [4], series-parallel method to generate sequence at high speeds with low-speed devices, which interests hardware designers [5]. In mathematical terms it is the generator polynomial (primitive) of variable x that represents any LFSR to produce a maximal length sequence. A. M-sequence : A LINEAR SHIFT-REGISTER BINARY SEQUENCE WHOSE LENGTH IS N= 2 M − 1, WHERE M IS THE DEGREE OF THE GENERATOR POLYNOMIAL. B. Primitive Polynomial : It is the generator polynomial of m-sequence. If g(x) is a primitive polynomial of degree m and if the smallest integer n for which g(x) divides x^n + 1 is n = 2^m − 1. g (x) = x^5 + x^4 + x^2 + x + 1 is a primitive. But g( x ) = x^5 + x^ 4 + x^3 + x^ 2 + x + 1 is not primitive as x^6 + 1 = ( x + 1 )( x ^5 + x^ 4 + x^ 3 + x^ 2 + x + 1 ) , & hence least value of n is 6. II. GENERATION OF NORMAL & TRUNCATED PRN SEQUENCE A. Generation of Normal PRN Sequence: In this paper simulation model is created in LabView to generate the sequences. Following is the block diagram of 4 stage PRN sequence. Figure 1: Block Diagram of 4 stage PRN sequence Generator.
  • 2. This resulted PN code is shown in figure 2 & resulted waveform is depicted in figure3. Figure 2: Resulted PN code Figure 3: Resulted Waveform In this generation, for a given length of shift register, the mode to generate pseudorandom binary sequences can be done either by using EXOR gates or EXNOR gates. Here we have implemented this using EXOR gates on the block diagram of the virtual instrumentation. The front panel is representing the code and the waveform is generated respectively. The parallel output can be observed either on LED indicators or in addition, a pseudo-random sequence of ones and zeros can be produced at Serial Out. Similarly a 511 length PN sequence can be generated using 9 stage shift register [6]. In this a nine- element shift register is placed on a While Loop. An EXOR gate is used whose inputs have been wired to Q5 and Q9. The loop index keeps track of the count of loop cycle, and it stops when the output becomes equal to the initial value. An initial seed is set at starting of the process and each shift registers on the loop are initialized [6]. Following is the resulting waveform of 511 length PRN sequence. Figure 4: Resulting Waveform of 511 length PRN sequence. This sequence satisfies all the properties of a normal PN sequence like balance, run and autocorrelation properties. B. Generation of Truncated PRN Sequence: A truncated sequence of 500 bits length can be generated by removing last 11 bits from the above sequence which in this simulation is achieved by using a 'delete from array' block. In this block we can delete any number of last elements of the initial array. Figure 5: Truncated Sequence III. MATHEMATICAL ANALYSIS Observations are being made by varying the seed values and seeing their effect on the different amount of truncation of bits. Example: 11, 31, 51, 101, 151, 201, 301 etc. This is shown in table 1. This analysis shows how the root mean square value or the peak side lobes generation is being affected as we change seed values for different number of bits being truncated from the end of the normal sequence . In the second table observations are carried out such that as the truncation is increased with respect to the normal PRN sequence the performance is affected i.e. The RMS values with respect to some seed values taken into consideration (it gives the nutshell of the previous analysis). As it is observed that for different seed values there is not much variation in the slope of the different truncation with respect to the normal 511 length sequence. Also the dB plot is shown below using MATLAB tool. Figure 6 is showing Matlab plot that with increase in truncation with respect to the normal sequence RMS values increases for each seed value but there in not much variation in slope as seed changes. Fig. 7 showing the dB plot of the same observation. 0 50 100 150 200 250 300 350 0.04 0.045 0.05 0.055 0.06 0.065 0.07 Truncation RMSValue 000001010 000010100 000011110 000101000 000110010 000111100 001000110 001010000 001011010 001100100 FIGURE 6: Matlab Plot 0 0.5 1 1.5 2 2.5 3 3.5 4 0.04 0.045 0.05 0.055 0.06 0.065 0.07 TRuncation in dB RMSValue 000001010 000010100 000011110 000101000 000110010 000111100 001000110 001010000 001011010 001100100 Figure 7: dB Plot
  • 3. IV. GENERATION OF BPSK From both the normal and truncated PRN sequences we simulated the BPSK signal and observed their respective power spectral densities. FIGURE 8: Block for BPSK Generation The above block diagram the BPSK is simulated as, phase of a carrier (a selected signal from waveform generator) is converted to two values according to the binary signal level. The information of the stream is contained at the point where phase changes occur in the transmitted signal. V. RESULTS & DISCUSSIONS One random data stream (A) is selected from square wave generator and then the normal PN sequence is multiplied with that data stream resulting in a sequence in (D). Finally BPSK is obtained from this sequence and one sinusoidal carrier signal with changing phase at the transitions (E). Power spectral density for the resulting BPSK is plotted in graph (F). Same procedure is followed with the 11 bit truncated PRN sequence and its PSD is also plotted (I). It can be clearly seen from both the spectral densities that as bits are truncated the spectral performance goes poor resulting in more side lobes. A. Selected Data Stream: B. Sinusoidal Carrier Signal: C. Normal PN sequence of length 511 bits: D. Sequence Generated on multipling PN sequence with data: E. Generated BPSK: F. Power SpectralDensity (PSD): G. 11 Bit Trancated PN Sequence: H. Generated BPSK: I. Power Spectral Density (PSD) of Trancated PN sequence: .
  • 4. VI. CONCLUSION In virtual instrumentation simulation environment the pseudo random noise sequences are simulated along with the truncation by different bits. This made us to observe the comparison between the amount of truncation increases the peak side lobe level also increases but does not vary much for different amount of truncation of bits. Then with the both sequences BPSK signal is generated and its respective power spectral densities are also plotted and it is observed that as we truncate the sequence the PSD expands and side lobe levels are also increased leading to change in system performance. ACKNOWLEDGMENT Manisha Sharma, is highly thankful to Prof. (Dr) P Bannerjee & Prof (Dr) M.K.Dutta, Department of ECE, ASET, Amity University Noida, India, for their valuable support. REFERENCES [1] Banerjee P, Keshwala U & Kaushik M, “Study on Potentiality of Truncated PRN Sequences for Communication”, International Conference on Communications, Devices & Intelligent Systems, 2012, pp 409-412. [2] Ahmed A & Abri D, “Design of a Pseudo-Random Binary Code Generator via a Developed Simulation Model”, ACEEE Int. J. on Information Technology, Vol. 02, No. 01, March 2012, pp 33-36. [3] Hadjia Badaoui, Yann Frignac & Mohammed Feham, “Pseudo Random Binary Sequences Analysis for the Modeling of Optical DPSK Transmission Systems”, International Journal of Computer Science & Communication, Vol. 1, No. 2, July-December 2010, pp. 369-372. [4] Mark Goresky and Andrew Klapper, “Pseudo-noise Sequences based on Algebraic Feedback Shift Registers”, IEEE Transaction on Information Theory, VOL. 52, No: 4, 2006, pp 1649-1662. [5] R.N. Mutagi, “Pseudo noise sequences for engineers”, Electronics & Communication Engineering Journal,1996, pp 79-87. [6] Goran S. Miljković, Ivana S. Stojković & Dragan B. Denić, “Generation and Application of pseudorandom binary sequences using virtual Instrumentation”, Automatic Control and Robotics, FACTA UNIVERSITATIS, Vol. 10, No 1, 2011, pp. 51 – 58. TABLE I SEED VALUES RMS value of 11 bit truncated PRN seq. RMS value of 31 bit truncated PRN seq. RMS value of 51 bit truncated PRN seq. RMS value of 101 bit truncated PRN seq. RMS value of 151 bit truncated PRN seq. RMS value of 201 bit truncated PRN seq. RMS value of 301 bit truncated PRN seq. 000001010 0.0370043 0.0382634 0.0394002 0.0423284 0.0458956 0.0504004 0.065412 000010100 0.0370043 0.0383088 0.0394696 0.0422886 0.0459451 0.0503523 0.064847 000011110 0.0366342 0.0377456 0.0388889 0.0421593 0.0464451 0.0513363 0.0638377 000101000 0.0370917 0.0380528 0.0393035 0.0417395 0.0457326 0.050491 0.0641826 000110010 0.036472 0.0376255 0.0387198 0.0424381 0.0456264 0.0503924 0.064827 000111100 0.0364395 0.0375851 0.0389856 0.0423833 0.046397 0.0509999 0.0640273 001000110 0.0369723 0.0379933 0.0393229 0.0426934 0.0462311 0.0502802 0.0641556 001010000 0.0369914 0.0379713 0.0392606 0.0417771 0.0457438 0.0504031 0.063858 001011010 0.036906 0.0380214 0.039337 0.0425284 0.0456424 0.0501757 0.0638987 001100100 0.0365111 0.0375552 0.0386438 0.0418813 0.0455821 0.0505496 0.0638105 001101110 0.0368408 0.0378448 0.03927 0.0418813 0.0460394 0.051276 0.0627224 001111000 0.0367302 0.0381108 0.0393009 0.0423381 0.0457495 0.0506745 0.0645458 TABLE II seed-> 000001010 000110010 001100100 010010110 011001000 100000100 100110110 101101000 110011010 Tprn/prn 500/511 0.037004 0.03647 0.036511 0.036879 0.036549 0.03693 0.036717 0.0367 0.03653 480/511 0.03826 0.0376 0.03755 0.037797 0.037579 0.03797 0.038028 0.03815 0.03754 460/511 0.039400 0.03872 0.038644 0.038801 0.038645 0.0393 0.0392 0.03902 0.03861 410/511 0.0423 0.04244 0.0418 0.0422 0.041904 0.042422 0.042179 0.04222 0.04201 360/511 0.045895 0.04563 0.045582 0.046708 0.045886 0.045893 0..045836 0.04616 0.04602 310/511 0.050400 0.05039 0.05055 0.05024 0.050701 0.049961 0.050568 0.05036 0.05102 210/511 0.065412 0.065483 0.0638 0.0652 0.063661 0.064927 0.064767 0.06409 0.06349