Module 2 - Range Compression
Program to run: ‘rng_comp.m’
Function used : -
Input : [Link]
Output : \module_3\range_compressed.dat (range compressed image)
Description :
This part of the module contains ‘rng_comp.m’ that applies range compression on the
raw data using the reference signal generated in module 1 ([Link]) and gives a range compressed
file ‘range_compressed.dat’. Run ‘rng_comp.m’ to perform range compression on the raw data.
Explanation :
Range compression is the first and an important step in SAR image formation. After
extracting the required data from the raw data file, the reference signal is read from the ‘[Link]’
file. To overcome memory limitations of the processor, range compression is performed patch by
patch. Each patch has 2048 lines forming a total of 13 patches. For matched filtering, the data is
first brought into frequency domain in range direction using FFT of fft-length (8912) and is
multiplied with the conjugate of Fourier transformed reference signal and finally an Inverse
Fourier Transform (IFFT) operation is performed to obtain range compressed data for each
patch. Valid number of samples (4912) are taken from each row and the corrupted data due to
wrap around effects is thrown away. Each patch is then subsequently added to the processed data
and is written in a file ‘range_compressed.dat’. The time taken in processing each patch is also
given as output in the command prompt window. Range compressed image of the first patch and
average azimuth spectrum are displayed.
Results:
Range compressed image of first patch
500
Azimuth bin
1000
1500
2000
500 1000 1500 2000 2500 3000 3500 4000 4500
Range bin
Average azimuth spectrum
8000
7500
7000
6500
Energy Linear
6000
5500
5000
4500
4000
3500
-1000 -800 -600 -400 -200 0 200 400 600 800 1000
Frequency [Hz]
Time taken by MATLAB to perform range compression – 31 sec.