Generator and degradations - acquisition

Assignment Help Simulation in MATLAB
Reference no: EM13527108

Assignment 1. Generator and Degradations

Part 1. Signal Generator

• Design Gold code of size 1023 (GPS C/A code) using HW2 matlab codes. Two M-codes are used which are generated by two generating polynomials: G1: g(D) = 1 + D3 + D10 and G2: g(D) = 1 + D2 + D3 + D6 + D8 + D9 +D10.

• Plot the autocorrelation function and show that other than peak there are only three values in the autocorrelation. What are the values of the autocorrelation function?

• Increase the number of samples per chip to 4 samples (e.g. 1-> 1111, 0-> 0000) and plot autocorrelation function again.

Generate 5 periods of oversampled signal

o Add Doppler sinusoid by multiplying code signal to a sinusoid. Assume one code period is 1ms. Multiply your signal to a complex sinusoid exp(2Π jfnts) where ts is the sampling period, n is the sample index.

o Introduce a code-phase shift (0-4092): starting from a sample index (n_code_phase) in the range (0-4092) extract 4 periods of the signal from previously generated 5 periods. At this stage you will have a signal with certain code-phase shift and Doppler frequency modulation, oversampled (4 samples per chip). Add AWGN noise similar to HW2. Keep this signal generator for simulations in all design projects.

Part 2. Study degradation effects (Set AWGN noise to "0" (no noise)

o Crosscorrelate one oversampled code period with Doppler sinusoidal modulation with Doppler free oversampled code. Starting with frequency "0" increase the frequency and demonstrate autocorrelation peak degradation. At what frequency the peak is reduced two times? As values are complex - plot absolute values for crosscorrelation to see the peak?

o Study degradation effects because of code Doppler. Use one code period of the generated signal with Doppler frequency "0" (no sinusoidal Doppler). Generate another signal which has a code Doppler in it. Cross-correlate them and see degradations. At what Doppler frequencies code Doppler effects become noticeable?

o The code Doppler is obtained by stretching/expanding the signal in proportion to relative speed (see lecture notes on the phenomena). When such signal is sampled then there will be no exact 4 samples per chip. The following diagram shows the way to obtain a sampled signal with code Doppler. We have to sample a stretched continuous code to account for the code Doppler.

• One should have certain amount of samples per code period. E.g., with 4 samples per chip we will have 4092 samples per code period. The idea is for each sample to calculate an appropriate code value. In Doppler free case we will always have correct alignment of samples and code chips, while, in general, samples are not aligned with chips in the presence of code Doppler. Let us assume that the chip duration is changed due to Doppler and is now d chip T _ . Then assume that the number of samples per original chip was k . Then sampling interval is ΔT = Tchip/k. Then the nth sample corresponds to [nΔTs/Tchip_d]chip.

Assignment 2. Acquisition

• Signal generator from previous design project is used in this project. We acquire a signal with shifted code phase and Doppler sinusoidal modulation as generated in Design Project I. Set a code phase to 556, Doppler frequency to 1kHz. Add AWGN noise as your generator can do it.

• Have two "for" loops: (1) Loop 1: multiply received signal to complex sinusoids exp(-2Πjfnts)- to wipe-off Doppler modulation, select sinusoids [-2kHz -1.5kHz, -1kHz, 0kHz, 1kHz, 1.5 kHz, 2kHz] as candidate sinusoids; (2) Loop 2. For each candidate frequency apply code correlator as explained below. You will get 3D picture, e.g. all code phases on x-axis, all frequencies on y-axis, and correlation values on z-axis. Set noise to "0", get a perfect peak, increase noise to have noise floor increased. Plot the picture and report.

• Use two correlator design approaches (1) parallel set of ordinary correlators. (2) matched filter. For matched filter conv.m routine can be used.

• Assume certain number of coherent and noncoherent stages (take 2 and 2). Calculate correlation value and combine coherently and noncoherently several periods of autocorrelation as is shown on the diagrams on next page. 

Assignment 3. Tracking

Transmitter

• Use DSSS signal model: oversampled code (4 samples per chip) and Doppler sinusoidal modulation (no code Doppler).

Signal duration is one code period.

Receiver
• Carrier Tracking. Set the code delay equal to 0 (no delay) which means a perfect alignment of code and replica. Implement an ordinary correlator (integrate&dump unit) for one code duration wiping-off the code. On the output of the correlator implement carrier loop discriminators and get characteristic curves:

o Common PLL (atan2 based) discriminator (group 1 from the student list)

o Costas PLL (atan based) discriminator (group 2 from the student list)

o FLL (atan2 based) discriminator. For FLL characteristic one should take two consecutive correlator outputs. So take two code periods. (group 3 from the student list)

• Code tracking. Set the Doppler shift effects in frequency to 0 or disable these feature. Implement two correlators (early and late) by correlating the transmiter signal with shifted replica codes. Use the correlator outputs to obtain (early minus late envelop normalized by early plus late envelope) discriminator characteristic curves. Obtain the same figure with one of envelope approximation methods (JPL or Robertson).

Combine both figures using Matlab "hold on" command and include the figure in the report

Reference no: EM13527108

Questions Cloud

What is the minimum time necessary for crossing : A hunter wishes to cross a river that is 2.0 km wide and flows with a speed of 5.0 km/h parallel to its banks. What is the minimum time necessary for crossing
What about after the actual missile attacks began : 1. Do you agree with Dov Frohman's decision in advance of the actual missile attacks to keep Intel up and running? What about after the actual missile attacks began?
Explain what mass of mg(oh)2 will dissolve in solution : What mass of Mg(OH)2 will dissolve in 1.0 L of 0.050 mol/L solution of MgSO4(aq)
Extracellular concentration-calculate the chemical potential : Suppose that the extracellular concentration of Cl– is 123 mM and the intracellular concentrationis 4 mM. The membrane electrical potential (?V) is 0.06 V, inside negative relative to outside.
Generator and degradations - acquisition : Plot the autocorrelation function and show that other than peak there are only three values in the autocorrelation. What are the values of the autocorrelation function?
Explain the predominant isotope of gold : The predominant isotope of gold, , has an experimentally determined exact mass of 196.967 . What is the total nuclear binding energy of gold in electronvolts per atom
Explain the cylinder if the volume was changed : More helium was added to the cylinder and the volume was adjusted so that the gas pressure remained the same. How many grams of helium were added to the cylinder if the volume was changed from 2.00 \rm L to 3.30 L
What defect is associated with this oncogenic mutation : In the signal transduction lecture, we established that the BCR-ABL translocation creates a membrane bound receptor with constitutive kinase activity. What defect is associated with this oncogenic mutation?
Find the total energy stored in the network : Two capacitors are in a series. C1=150nF and C2=120nF. The potential difference across them is 36 volts. Find the total energy stored in the network

Reviews

Write a Review

Simulation in MATLAB Questions & Answers

  Calculate the stress intensity factor

Use the three-parameter zone finite element method or the boundary collocation method to calculate the stress intensity factor K, at the crack tip for the plate

  Build a simulation using newtons laws of motion

Build a new and different simulation of your own using Newtons laws of motion and Show the code and describe how it works

  Write the specification of load mover

Write the specification of LOAD MOVER detailed of the whole design and precise for automatic control section and divide the design into various modules and Is the kernel required if yes which one?

  Design the automatic control section using statecharts

Aim of this project is to design an embedded system which can move loads from one place to another. The system can be operated manually, automatically and wirelessly.

  Need an expert who can model a drill in simulink

Need an expert who can model a drill in Simulink. Working model of a drill needing for an improvment to behave more realistically as a drill to drill through plastic block.

  Project is on load frequency control using fpid

Project is on load frequency control using FPID tuned using GA and PSO algorithm and the system is a two area system.

  Number of packets received with time

Let x be the number of packets received with time -

  Build a matlab based graphical user interface

Build a Matlab based graphical user interface (GUI) that operates in conjunction with a base Matlab/ Simulink simulation program. Any base simulation is considered acceptable.

  Build a matlab based graphical user interface

Build a Matlab based graphical user interface (GUI) that operates in conjunction with a base Matlab/ Simulink simulation program. Any base simulation is considered acceptable.

  Simulate the standardised sum of independent

Simulate the standardised sum of independent and identically distributed variates - Fit a linear regression model as in Q5, and plot your estimates for β0 and β1 as N increases, together with a line indicating their true values. Supply your code.

  Plot the original periodic square wave

Plot the original periodic square wave on the same graph. Comment on the difference between the original periodic square wave and its truncated Fourier series presentation.

  Use matlab to plot the function

Plot the original periodic square wave on the same graph. Comment on the difference between the original periodic square wave and its truncated Fourier series presentation.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd