Sie sind auf Seite 1von 3

Lab2_ 2.01-2020.

1 Sistemas LTI, Convolución y Correlación

Reto:

In a RADAR system, 𝑥[𝑛] represents the sampled version of the transmitted signal
and 𝑦[𝑛] is the sampled version of the received signal. The received signal
sequence is
𝑦[𝑛] = 𝛼𝑥[𝑛 − 𝐷] + ω[𝑛]

Where, 𝛼 is some attenuation factor, 𝐷 is the round-trip delay, 𝜔[𝑛] some additive
noise. The task is to compare 𝑦[𝑛] and 𝑥[𝑛] to determine if there is some object
and calculate its distance by using delay 𝐷.

a. Read the two mat files ‘tsignal3.mat’ & ‘rsignal3.mat’. Using a sampling frequency
𝐹𝑠 = 900, plot the two signals 𝑥1 [𝑛], 𝑥2 [𝑛] together in one plot. Use grid, legend,
labels of the axes, linewidth = 2, color (𝑥1 [𝑛] = color = black), (𝑥2 [𝑛] = color =
blue). Plot the x-axis in time. Show the Matlab codes and the plot.

b. Commence Pre-processing of the received signal. Determine the attenuation factor


𝛼 from the plots of a. Using the attenuation factor discovered, commence a scaling
of the amplitude of the received signal to make it close to the amplitude of the
transmitted signal. Also, design a moving average filter to smoothen the noise
levels in the received signal. Plot the three signals, 𝑥1 [𝑛], the new scaled signal
𝑥3 [𝑛] and the smoothed signal 𝑥4 [𝑛], together in one plot. Use grid, legend, labels
of the axes, linewidth = 2, color (𝑥1 [𝑛] = color = black), (𝑥3 [𝑛] = color = blue),
(𝑥4 [𝑛] = color = red). Plot the x-axis in time. Show the Matlab codes and the plot.

1 /3
Lab2_ 2.01-2020.1 Sistemas LTI, Convolución y Correlación

c. Make the correlation of the transmitted signal 𝑥1 [𝑛] and the preprocessed received
signal 𝑥4 [𝑛]. Use the command [corr, pos] = xcorr (signal, segment). Using the
normalized correlation metric, graph the resulting correlation. Follow the example
in the guide. Show your Matlab code and plot.

d. From the plot in c, determine:


i. If an object has been detected:
ii. The round-trip delay delay 𝐷

2 /3
Lab2_ 2.01-2020.1 Sistemas LTI, Convolución y Correlación

iii. Using the discovered delay 𝐷 and the approximate speed of sound in air (343
m/s), determine the distance 𝑑 of the object from the radar

3 /3

Das könnte Ihnen auch gefallen