SlideShare a Scribd company logo
1 of 5
Download to read offline
M. Tech Communication Systems 2022
Advanced Software Defined Radio Laboratory Page 60
M. Tech Communication Systems 2022
Advanced Software Defined Radio Laboratory Page 61
Lab 8 Frame Detection ad Frequency Offset Correction
Objective
 Implement a particular method for frequency offset correction, called the Moose algorithm, and a
method for frame detection based on correlation. Also study the performance of the frequency offset
correction and frame detection algorithms by embedding within the synchronization block of the
receiver
Requirements
 LabVIEW Software
 Modulation Toolkit
 Advanced signal processing Toolkit
 USRP 2922 (TX/RX)-Full Duplex
Theory
Up to this point we have assumed that a training sequence has been provided at both the transmitter and
receiver. Not all training sequences are created equal. Without a good training sequence, the estimation
techniques in the labs would perform poorly. This section discusses some desirable properties of training
sequences and introduces one family of sequences known as Barker codes. Many other sequences are used in
research literature and in commercial wireless systems as well (e.g., Frank sequences, Zadoff-Chu sequences, or
Gold sequences).
Training sequences serve as a known reference signals, which can be used for many purposes at the
receiver. In these labs, we use training sequences for two main purposes: (1) synchronization and (2) channel
estimation. In general, good training sequences for synchronization possess strong autocorrelation properties. In
Lab 4, the training sequence needed to be suitably designed in order to provide sufficient rank properties.
Training sequences with strong autocorrelation properties can satisfy these rank properties. In this lab, you will
use such a training sequence to create a correlation based detector that finds the beginning of a frame.
M. Tech Communication Systems 2022
Advanced Software Defined Radio Laboratory Page 62
Fig 2 Moose Algorithm
Fig 3 Sliding Correlation Algorithm
M. Tech Communication Systems 2022
Advanced Software Defined Radio Laboratory Page 63
Procedure
Moose Algorithm
1. The training sequence's length is divided by 2 to obtain Nt.
2. The first half of the input's training sequence (from 0 to Nt-1) is extracted
and its complex conjugate is taken.
3. The second half of the input's training sequence (from Nt to 2Nt-1) is
extracted.
4. As part of the algorithm, the phase of the sum of the product of signals in and 3 is obtained here.
5. The frequency of the message is obtained rounding the division between the sample rate and the
oversample factor. T is the inverse of the frequency. Here 2*pi*T*Nt is calculated.
6. The estimated frequency offset is the quocient of the signals in 3 and 5.
7. Dividing the signal in 4 by Nt actually results in 2*pi*epsilon.
8. n is obtained as the sequence of integers from 0 to the length of the input
decremented. This is -2*pi*epsilon*n.
9. Creates complex signal with magnitude one and phase (8).
10. The frequency offset correction is obtained by multiplying the input by
the complex exponential (9).
Sliding correlation Algorithm
1. The input signal is extracted from the bundle
2. The signal is padded with an array of 0's created with the length of the zero padding.
3. 3. The training sequence is correlated with the the zero-padded input.
4. The squared magnitude of the correlation is taken.
5. The position of the maximum squared magnitude is found and subtracted by the length of the training
sequence in order to find the position of the start of the frame.
6. The length of the training sequence had to be decremented to compensate for the increase of one
element by the correlation algorithm.
7. The length of the zero padding is subtracted from the position of beginning of the frame, because this
was added at the beginning and should not be considered.
8. The input signal is cut to start from the frame offset calculated on (7).
9. The zero padding is subtracted again to take into account the effects of other blocks in the system.
10. When the frequency offset correction is turned off, the moose algorithm is used only to estimate the
frequency offset, but not to correct it, as its output goes unused.
11. When the frequency offset correction is turned on, Moose's output is connected to the output of this
block.
Questions
1. Set up your simulator according to the steps used for verifying your correlation based frame detector.
In particular, make sure that the control Correct Frequency Offset is set to FALSE. Set the noise power
of your channel to 5 dB. Also, use AWGN channel for this question instead of ISI. Describe what
happens to the error rate of your system when the estimate for the delay in the channel is off by more
than one symbol time (i.e., when dˆ _= d).
Note: You may need to modify your VIs to observe this effect, or you may guess the impact from the
structure of the frame detection equations.
2. Set up your simulator according to the steps used for verifying your implementation of the Moose
algorithm. Set the Correct Frequency Offset control to FALSE. Describe what happens to the received
constellation if you do not correct for the 201 Hz frequency offset.
3. Based on the system parameters described in the pre-lab, what are the range of frequency offsets that
you can estimate/correct using the Moose algorithm? Since the Moose algorithm cannot
M. Tech Communication Systems 2022
Advanced Software Defined Radio Laboratory Page 64
estimate/correct for arbitrary frequency offsets it is often considered to perform what is known as fine
frequency synchronization.
4. Discuss any problems you might have encountered and how you overcame these obstacles.
5. In this lab you observed how your code operates over a real wireless link. Answer the following
questions about your experience in lab.
a. Name three impairments in a real wireless system which impact the accuracy of the
correlation based detection method.
b. Under large frequency offsets, the correlation based detector “breaks”. What property of the
training sequence breaks down under large frequency offsets? Hint: You may need to consider
your answer to the question in Section 3.2.
c. In the self referenced frame synchronization method, is it still critical that the periodic training
sequence have good autocorrelation properties? If so, why?
Experiment
In this lab you will run your implementation of sliding correlator.vi over a real wireless link. Using your code
from the prior labs in conjunction with the new blocks you have created, you will complete the framework for
the transmitter and receiver blocks in lab as in previous labs. Insert your code into this framework as you did in
the pre-lab. Next, set up the following parameters in your system.
o TX sample rate = 4 MSamp/sec
o TX oversample factor = 20
o RX sample rate = 4 MSamp/sec
o RX oversample factor = 20
o Channel estimate length = 2
o Equalizer length = 4
o Capture time = 2 msec
Leave any unspecified parameters set to their default values. Also make sure that the Correct Frequency Offset
control on top rx is set to TRUE.You will now perform two experiments to explore frequency offsets and frame
detection over a real wireless link. Before you begin, estimate the order of magnitude of the frequency offset
between the transmitter and receiver of your system. Take note of this value as you may be asked about it later.
Inferences
 The performance of the sliding correlation algorithm is studied to comprehend the concept of Frame
detection ad Frequency offset correction.

More Related Content

Similar to M Tech Lab 8 Frame Detection and Frequency Offset Correction

Frequency offset estimation with fast acquisition in OFDM system assignment h...
Frequency offset estimation with fast acquisition in OFDM system assignment h...Frequency offset estimation with fast acquisition in OFDM system assignment h...
Frequency offset estimation with fast acquisition in OFDM system assignment h...Sample Assignment
 
Making Custom Oscilloscope Measurements
Making Custom Oscilloscope MeasurementsMaking Custom Oscilloscope Measurements
Making Custom Oscilloscope Measurementsteledynelecroy
 
Multiple Sensors Soft-Failure Diagnosis Based on Kalman Filter
Multiple Sensors Soft-Failure Diagnosis Based on Kalman FilterMultiple Sensors Soft-Failure Diagnosis Based on Kalman Filter
Multiple Sensors Soft-Failure Diagnosis Based on Kalman Filtersipij
 
Optimization of Test Pattern Using Genetic Algorithm for Testing SRAM
Optimization of Test Pattern Using Genetic Algorithm for Testing SRAMOptimization of Test Pattern Using Genetic Algorithm for Testing SRAM
Optimization of Test Pattern Using Genetic Algorithm for Testing SRAMIJERA Editor
 
IRJET- Wireless Active Vibration Control for Structural Vibrations using Emb...
IRJET-	 Wireless Active Vibration Control for Structural Vibrations using Emb...IRJET-	 Wireless Active Vibration Control for Structural Vibrations using Emb...
IRJET- Wireless Active Vibration Control for Structural Vibrations using Emb...IRJET Journal
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...ijceronline
 
Design of arq and hybrid arq protocols for wireless channels using bch codes
Design of arq and hybrid arq protocols for wireless channels using bch codesDesign of arq and hybrid arq protocols for wireless channels using bch codes
Design of arq and hybrid arq protocols for wireless channels using bch codesIAEME Publication
 
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 ...IRJET Journal
 
OPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODES
OPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODESOPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODES
OPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODESIAEME Publication
 
OPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODES
OPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODESOPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODES
OPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODESIAEME Publication
 
Feature Selection in Machine Learning
Feature Selection in Machine LearningFeature Selection in Machine Learning
Feature Selection in Machine LearningUpekha Vandebona
 
Method for Converter Synchronization with RF Injection
Method for Converter Synchronization with RF InjectionMethod for Converter Synchronization with RF Injection
Method for Converter Synchronization with RF InjectionCSCJournals
 
An Algorithm For Vector Quantizer Design
An Algorithm For Vector Quantizer DesignAn Algorithm For Vector Quantizer Design
An Algorithm For Vector Quantizer DesignAngie Miller
 
Design and simulation of radio frequency
Design and simulation of radio frequencyDesign and simulation of radio frequency
Design and simulation of radio frequencyeSAT Journals
 
manual-pe-2017_compress.pdf
manual-pe-2017_compress.pdfmanual-pe-2017_compress.pdf
manual-pe-2017_compress.pdfAbdo Brahmi
 
Implementation of a bit error rate tester of a wireless communication system ...
Implementation of a bit error rate tester of a wireless communication system ...Implementation of a bit error rate tester of a wireless communication system ...
Implementation of a bit error rate tester of a wireless communication system ...eSAT Publishing House
 
EBDSS Max Research Report - Final
EBDSS  Max  Research Report - FinalEBDSS  Max  Research Report - Final
EBDSS Max Research Report - FinalMax Robertson
 
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 SignalIJMER
 

Similar to M Tech Lab 8 Frame Detection and Frequency Offset Correction (20)

Frequency offset estimation with fast acquisition in OFDM system assignment h...
Frequency offset estimation with fast acquisition in OFDM system assignment h...Frequency offset estimation with fast acquisition in OFDM system assignment h...
Frequency offset estimation with fast acquisition in OFDM system assignment h...
 
Making Custom Oscilloscope Measurements
Making Custom Oscilloscope MeasurementsMaking Custom Oscilloscope Measurements
Making Custom Oscilloscope Measurements
 
Multiple Sensors Soft-Failure Diagnosis Based on Kalman Filter
Multiple Sensors Soft-Failure Diagnosis Based on Kalman FilterMultiple Sensors Soft-Failure Diagnosis Based on Kalman Filter
Multiple Sensors Soft-Failure Diagnosis Based on Kalman Filter
 
Optimization of Test Pattern Using Genetic Algorithm for Testing SRAM
Optimization of Test Pattern Using Genetic Algorithm for Testing SRAMOptimization of Test Pattern Using Genetic Algorithm for Testing SRAM
Optimization of Test Pattern Using Genetic Algorithm for Testing SRAM
 
IRJET- Wireless Active Vibration Control for Structural Vibrations using Emb...
IRJET-	 Wireless Active Vibration Control for Structural Vibrations using Emb...IRJET-	 Wireless Active Vibration Control for Structural Vibrations using Emb...
IRJET- Wireless Active Vibration Control for Structural Vibrations using Emb...
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 
Cdma
CdmaCdma
Cdma
 
Design of arq and hybrid arq protocols for wireless channels using bch codes
Design of arq and hybrid arq protocols for wireless channels using bch codesDesign of arq and hybrid arq protocols for wireless channels using bch codes
Design of arq and hybrid arq protocols for wireless channels using bch codes
 
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 ...
 
OPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODES
OPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODESOPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODES
OPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODES
 
OPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODES
OPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODESOPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODES
OPTIMIZATION OF HEURISTIC ALGORITHMS FOR IMPROVING BER OF ADAPTIVE TURBO CODES
 
Feature Selection in Machine Learning
Feature Selection in Machine LearningFeature Selection in Machine Learning
Feature Selection in Machine Learning
 
Method for Converter Synchronization with RF Injection
Method for Converter Synchronization with RF InjectionMethod for Converter Synchronization with RF Injection
Method for Converter Synchronization with RF Injection
 
An Algorithm For Vector Quantizer Design
An Algorithm For Vector Quantizer DesignAn Algorithm For Vector Quantizer Design
An Algorithm For Vector Quantizer Design
 
Design and simulation of radio frequency
Design and simulation of radio frequencyDesign and simulation of radio frequency
Design and simulation of radio frequency
 
manual-pe-2017_compress.pdf
manual-pe-2017_compress.pdfmanual-pe-2017_compress.pdf
manual-pe-2017_compress.pdf
 
Implementation of a bit error rate tester of a wireless communication system ...
Implementation of a bit error rate tester of a wireless communication system ...Implementation of a bit error rate tester of a wireless communication system ...
Implementation of a bit error rate tester of a wireless communication system ...
 
EBDSS Max Research Report - Final
EBDSS  Max  Research Report - FinalEBDSS  Max  Research Report - Final
EBDSS Max Research Report - Final
 
Final Project
Final ProjectFinal Project
Final Project
 
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
 

More from infomerlin

GSC-21_029_4_09_TSDSI-R1-1.pptx
GSC-21_029_4_09_TSDSI-R1-1.pptxGSC-21_029_4_09_TSDSI-R1-1.pptx
GSC-21_029_4_09_TSDSI-R1-1.pptxinfomerlin
 
Page Replacement Algorithms.pptx
Page Replacement Algorithms.pptxPage Replacement Algorithms.pptx
Page Replacement Algorithms.pptxinfomerlin
 
Segmentation.ppt
Segmentation.pptSegmentation.ppt
Segmentation.pptinfomerlin
 
Allocating of Frames.pptx
Allocating of Frames.pptxAllocating of Frames.pptx
Allocating of Frames.pptxinfomerlin
 
Contiguous Memory Allocation.ppt
Contiguous Memory Allocation.pptContiguous Memory Allocation.ppt
Contiguous Memory Allocation.pptinfomerlin
 
Allocating Kernel Memory.pptx
Allocating Kernel Memory.pptxAllocating Kernel Memory.pptx
Allocating Kernel Memory.pptxinfomerlin
 
Deadlock Detection.pptx
Deadlock Detection.pptxDeadlock Detection.pptx
Deadlock Detection.pptxinfomerlin
 
Deadlock Prevention.pptx
Deadlock Prevention.pptxDeadlock Prevention.pptx
Deadlock Prevention.pptxinfomerlin
 
Deadlock Backgroud.pptx
Deadlock Backgroud.pptxDeadlock Backgroud.pptx
Deadlock Backgroud.pptxinfomerlin
 
5G Hackathon - Brainstorming Session.pptx
5G Hackathon - Brainstorming Session.pptx5G Hackathon - Brainstorming Session.pptx
5G Hackathon - Brainstorming Session.pptxinfomerlin
 
Lecture 4.pptx
Lecture 4.pptxLecture 4.pptx
Lecture 4.pptxinfomerlin
 
System Calls.ppt
System Calls.pptSystem Calls.ppt
System Calls.pptinfomerlin
 
Lec 6 OS structure and Operations.ppt
Lec 6 OS structure and Operations.pptLec 6 OS structure and Operations.ppt
Lec 6 OS structure and Operations.pptinfomerlin
 
cs-intro-os.ppt
cs-intro-os.pptcs-intro-os.ppt
cs-intro-os.pptinfomerlin
 
Lecture-2 Signal-Spectra-Modulation.pptx
Lecture-2 Signal-Spectra-Modulation.pptxLecture-2 Signal-Spectra-Modulation.pptx
Lecture-2 Signal-Spectra-Modulation.pptxinfomerlin
 
Noise in AM systems.ppt
Noise in AM systems.pptNoise in AM systems.ppt
Noise in AM systems.pptinfomerlin
 
Lecture 22 Threshold effects in FM.pptx
Lecture 22 Threshold effects in FM.pptxLecture 22 Threshold effects in FM.pptx
Lecture 22 Threshold effects in FM.pptxinfomerlin
 

More from infomerlin (20)

GSC-21_029_4_09_TSDSI-R1-1.pptx
GSC-21_029_4_09_TSDSI-R1-1.pptxGSC-21_029_4_09_TSDSI-R1-1.pptx
GSC-21_029_4_09_TSDSI-R1-1.pptx
 
sat-ppt.pptx
sat-ppt.pptxsat-ppt.pptx
sat-ppt.pptx
 
Paging.ppt
Paging.pptPaging.ppt
Paging.ppt
 
Page Replacement Algorithms.pptx
Page Replacement Algorithms.pptxPage Replacement Algorithms.pptx
Page Replacement Algorithms.pptx
 
Segmentation.ppt
Segmentation.pptSegmentation.ppt
Segmentation.ppt
 
Allocating of Frames.pptx
Allocating of Frames.pptxAllocating of Frames.pptx
Allocating of Frames.pptx
 
Contiguous Memory Allocation.ppt
Contiguous Memory Allocation.pptContiguous Memory Allocation.ppt
Contiguous Memory Allocation.ppt
 
Allocating Kernel Memory.pptx
Allocating Kernel Memory.pptxAllocating Kernel Memory.pptx
Allocating Kernel Memory.pptx
 
Deadlock Detection.pptx
Deadlock Detection.pptxDeadlock Detection.pptx
Deadlock Detection.pptx
 
Deadlock Prevention.pptx
Deadlock Prevention.pptxDeadlock Prevention.pptx
Deadlock Prevention.pptx
 
Deadlock Backgroud.pptx
Deadlock Backgroud.pptxDeadlock Backgroud.pptx
Deadlock Backgroud.pptx
 
5G Hackathon - Brainstorming Session.pptx
5G Hackathon - Brainstorming Session.pptx5G Hackathon - Brainstorming Session.pptx
5G Hackathon - Brainstorming Session.pptx
 
LNA.ppt
LNA.pptLNA.ppt
LNA.ppt
 
Lecture 4.pptx
Lecture 4.pptxLecture 4.pptx
Lecture 4.pptx
 
System Calls.ppt
System Calls.pptSystem Calls.ppt
System Calls.ppt
 
Lec 6 OS structure and Operations.ppt
Lec 6 OS structure and Operations.pptLec 6 OS structure and Operations.ppt
Lec 6 OS structure and Operations.ppt
 
cs-intro-os.ppt
cs-intro-os.pptcs-intro-os.ppt
cs-intro-os.ppt
 
Lecture-2 Signal-Spectra-Modulation.pptx
Lecture-2 Signal-Spectra-Modulation.pptxLecture-2 Signal-Spectra-Modulation.pptx
Lecture-2 Signal-Spectra-Modulation.pptx
 
Noise in AM systems.ppt
Noise in AM systems.pptNoise in AM systems.ppt
Noise in AM systems.ppt
 
Lecture 22 Threshold effects in FM.pptx
Lecture 22 Threshold effects in FM.pptxLecture 22 Threshold effects in FM.pptx
Lecture 22 Threshold effects in FM.pptx
 

Recently uploaded

ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxAnaBeatriceAblay2
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerunnathinaik
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 

Recently uploaded (20)

ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
internship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developerinternship ppt on smartinternz platform as salesforce developer
internship ppt on smartinternz platform as salesforce developer
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 

M Tech Lab 8 Frame Detection and Frequency Offset Correction

  • 1. M. Tech Communication Systems 2022 Advanced Software Defined Radio Laboratory Page 60
  • 2. M. Tech Communication Systems 2022 Advanced Software Defined Radio Laboratory Page 61 Lab 8 Frame Detection ad Frequency Offset Correction Objective  Implement a particular method for frequency offset correction, called the Moose algorithm, and a method for frame detection based on correlation. Also study the performance of the frequency offset correction and frame detection algorithms by embedding within the synchronization block of the receiver Requirements  LabVIEW Software  Modulation Toolkit  Advanced signal processing Toolkit  USRP 2922 (TX/RX)-Full Duplex Theory Up to this point we have assumed that a training sequence has been provided at both the transmitter and receiver. Not all training sequences are created equal. Without a good training sequence, the estimation techniques in the labs would perform poorly. This section discusses some desirable properties of training sequences and introduces one family of sequences known as Barker codes. Many other sequences are used in research literature and in commercial wireless systems as well (e.g., Frank sequences, Zadoff-Chu sequences, or Gold sequences). Training sequences serve as a known reference signals, which can be used for many purposes at the receiver. In these labs, we use training sequences for two main purposes: (1) synchronization and (2) channel estimation. In general, good training sequences for synchronization possess strong autocorrelation properties. In Lab 4, the training sequence needed to be suitably designed in order to provide sufficient rank properties. Training sequences with strong autocorrelation properties can satisfy these rank properties. In this lab, you will use such a training sequence to create a correlation based detector that finds the beginning of a frame.
  • 3. M. Tech Communication Systems 2022 Advanced Software Defined Radio Laboratory Page 62 Fig 2 Moose Algorithm Fig 3 Sliding Correlation Algorithm
  • 4. M. Tech Communication Systems 2022 Advanced Software Defined Radio Laboratory Page 63 Procedure Moose Algorithm 1. The training sequence's length is divided by 2 to obtain Nt. 2. The first half of the input's training sequence (from 0 to Nt-1) is extracted and its complex conjugate is taken. 3. The second half of the input's training sequence (from Nt to 2Nt-1) is extracted. 4. As part of the algorithm, the phase of the sum of the product of signals in and 3 is obtained here. 5. The frequency of the message is obtained rounding the division between the sample rate and the oversample factor. T is the inverse of the frequency. Here 2*pi*T*Nt is calculated. 6. The estimated frequency offset is the quocient of the signals in 3 and 5. 7. Dividing the signal in 4 by Nt actually results in 2*pi*epsilon. 8. n is obtained as the sequence of integers from 0 to the length of the input decremented. This is -2*pi*epsilon*n. 9. Creates complex signal with magnitude one and phase (8). 10. The frequency offset correction is obtained by multiplying the input by the complex exponential (9). Sliding correlation Algorithm 1. The input signal is extracted from the bundle 2. The signal is padded with an array of 0's created with the length of the zero padding. 3. 3. The training sequence is correlated with the the zero-padded input. 4. The squared magnitude of the correlation is taken. 5. The position of the maximum squared magnitude is found and subtracted by the length of the training sequence in order to find the position of the start of the frame. 6. The length of the training sequence had to be decremented to compensate for the increase of one element by the correlation algorithm. 7. The length of the zero padding is subtracted from the position of beginning of the frame, because this was added at the beginning and should not be considered. 8. The input signal is cut to start from the frame offset calculated on (7). 9. The zero padding is subtracted again to take into account the effects of other blocks in the system. 10. When the frequency offset correction is turned off, the moose algorithm is used only to estimate the frequency offset, but not to correct it, as its output goes unused. 11. When the frequency offset correction is turned on, Moose's output is connected to the output of this block. Questions 1. Set up your simulator according to the steps used for verifying your correlation based frame detector. In particular, make sure that the control Correct Frequency Offset is set to FALSE. Set the noise power of your channel to 5 dB. Also, use AWGN channel for this question instead of ISI. Describe what happens to the error rate of your system when the estimate for the delay in the channel is off by more than one symbol time (i.e., when dˆ _= d). Note: You may need to modify your VIs to observe this effect, or you may guess the impact from the structure of the frame detection equations. 2. Set up your simulator according to the steps used for verifying your implementation of the Moose algorithm. Set the Correct Frequency Offset control to FALSE. Describe what happens to the received constellation if you do not correct for the 201 Hz frequency offset. 3. Based on the system parameters described in the pre-lab, what are the range of frequency offsets that you can estimate/correct using the Moose algorithm? Since the Moose algorithm cannot
  • 5. M. Tech Communication Systems 2022 Advanced Software Defined Radio Laboratory Page 64 estimate/correct for arbitrary frequency offsets it is often considered to perform what is known as fine frequency synchronization. 4. Discuss any problems you might have encountered and how you overcame these obstacles. 5. In this lab you observed how your code operates over a real wireless link. Answer the following questions about your experience in lab. a. Name three impairments in a real wireless system which impact the accuracy of the correlation based detection method. b. Under large frequency offsets, the correlation based detector “breaks”. What property of the training sequence breaks down under large frequency offsets? Hint: You may need to consider your answer to the question in Section 3.2. c. In the self referenced frame synchronization method, is it still critical that the periodic training sequence have good autocorrelation properties? If so, why? Experiment In this lab you will run your implementation of sliding correlator.vi over a real wireless link. Using your code from the prior labs in conjunction with the new blocks you have created, you will complete the framework for the transmitter and receiver blocks in lab as in previous labs. Insert your code into this framework as you did in the pre-lab. Next, set up the following parameters in your system. o TX sample rate = 4 MSamp/sec o TX oversample factor = 20 o RX sample rate = 4 MSamp/sec o RX oversample factor = 20 o Channel estimate length = 2 o Equalizer length = 4 o Capture time = 2 msec Leave any unspecified parameters set to their default values. Also make sure that the Correct Frequency Offset control on top rx is set to TRUE.You will now perform two experiments to explore frequency offsets and frame detection over a real wireless link. Before you begin, estimate the order of magnitude of the frequency offset between the transmitter and receiver of your system. Take note of this value as you may be asked about it later. Inferences  The performance of the sliding correlation algorithm is studied to comprehend the concept of Frame detection ad Frequency offset correction.