Internship Report: Praveen Kumar N 1PE15EC106
Internship Report: Praveen Kumar N 1PE15EC106
PRAVEEN KUMAR N
1PE15EC106
ABSTRACT
4 Appendix 36
4.1 Matlab Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.9 Scatter plot of Estimated & Actual AoA and corresponding Error . 31
3.10 Scatter plot of Estimated & Actual AoA and corresponding Error . 31
3.11 Scatter plot of Estimated & Actual AoA and corresponding Error . 32
3.12 Scatter plot of Estimated & Actual AoA and corresponding Error . 32
3.13 Scatter plot of Estimated & Actual AoA and corresponding Error . 33
3.14 Maximum positive and negative Deviation in Estimated AoA vs SNR 33
3.15 Mean Absolute Error vs SNR . . . . . . . . . . . . . . . . . . . . . 34
3.16 Mean Error and Standard Deviation vs SNR . . . . . . . . . . . . 34
1.2 DARE
• Over the last decade, DARE has made rapid progress in the areas of Air-
borne Electronic Warfare, Airborne Processors and Testing & Evaluation of
Electronic Warfare (EW) systems. It has implemented concepts in concur-
rent engineering in partnership with the Industry in order to achieve shorter
design to induction time frames and seamless transfer of technology.
• DARE has two major wings the Electronic Warfare (EW) wing and the
Mission Avionics Wing (MAW).
• Some of the reradiated (echo) energy is returned to and received by the radar
antenna.
• After amplification by a receiver and with the aid of proper signal processing,
a decision is made at the output of the receiver as to whether or not a target
echo signal is present.At the time,the target location and possibly other
information about the target is acquired.
Figure 2.2: Simple block diagram of a radar employing a power amplifier trans-
mitter and a superheterodyne receiver
• For a stationary target, the frequency of the reflected signal will equal the
frequency of the transmitted signal.
• For a target moving toward the radar, the frequency of the reflected signal
will be higher than the transmitted signal.
• The reflected frequency for a target moving away from the radar will be lower
than the transmitted frequency.
• Radars have been operated at frequencies from a few megahertz to the ul-
traviolet region of the spectrum. The basic principles are the same at any
frequency, but the practical implementation is widely different. In practice,
most radars operate at microwave frequencies, but there are notable excep-
tions.
• Pulse Width: sometimes called pulse duration (PD), is the time that the
transmitter is sending out RF energy. PW is measured in microseconds.
• Pulse recurrence time:is also known as pulse repetition time. PRT is the
time required for a complete transmission cycle. This is the time from the
beginning of one pulse of RF energy to the beginning of the next. PRT is
measured in microseconds.
• Rest time: is the time between the end of one transmitted pulse and the
beginning of the next. It represents the total time that the radar is not
transmitting.
• Listening time (LT): is the time the receiver can process target returns.
Listening time is measured from the end of the recovery time to the beginning
of the next pulse, or PRT minus (PW + RT).
cTR
R=
2
cTp c
Run = =
2 2fp
2vr
fd =
λ
where vr is the relative radial velocity between radar and target, with
positive sign when they are approaching each other, and λ is the radar
wavelength.
PT G
P ower Density f rom Antenna = (2.1)
4πr2
PT G
P ower Density at T arget =
4πR2
– Since the cross-sectional area of the radar beam is so large, only a small
portion of the total power in the beam can be reflected toward the
antenna. The measure of the amount of incident power intercepted by
the target and reradiated back in the direction of the antenna depends
on the radar cross section (RCS) of the target.
PT G σ
P ower Density at Antenna = 2
∗
4πR 4πR2
– As the target echo reaches the antenna, part of the echo is captured
by the antenna based on the effective aperture (Ae).This is the actual
signal power received by the radar system.
PT GσAe
Signal P ower Density =
(4π)2 R4
This is one form of the basic radar equation and is the signal strength
of a radar return from a specific target at range (R) from the radar.
Here PT = transmitted power, G= antenna gain, Ae =antenna aperture
area, σ= RCS, R= Range of target.
– The maximum radar range (RMAX) occurs when the signal power den-
sity received just equals the minimum detectable signal (SMIN) for the
receiver.
The usual radar provides the location of a target in range and angle. The
rate of change of target location can also be measured from the change in
range and angle with time, from which the track can be established. In many
radar applications a detection is not said to occur until its track has been
established.
– Range:
The ability to determine range by measuring the time for the radar
signal to propagate to the target and back is probably the distinguish-
ing and most important characteristic of conventional radar. No other
sensor can measure range to the accuracy possible with radar, at such
long ranges, and under adverse weather conditions.
– Radial Velocity:
From successive measurements of range the rate of change of range, or
radial velocity, can be obtained. The doppler frequency shift of the echo
signal from a moving target also provides a measure of radial velocity.
However, the doppler frequency measurement in many pulse radars is
highly ambiguous, thus reducing its utility as a direct measurement of
radial velocity.
Any measurement of velocity, whether by the rate of change of range
or by the doppler frequency shift, requires time. The longer the time of
observation, the more accurate can be the measurement of velocity.
– Angular Direction:
The direction of a target is determined by sensing the angle at which the
returning wavefront arrives at the radar. This is usually accomplished
with a directive antenna, i.e., one with a narrow radiation pattern. The
direction in which the antenna points when the received signal is a
maximum indicates the direction of the target.
– Size and Shape :
If the radar has sufficient resolution, it can provide a measurement of the
target’s extent, or size. Since many targets of interest have dimensions
of several tens of meters, resolution must be several meters or less. The
size of a target is seldom of interest in itself, but its shape and its size
are important for recognizing one type of target from another.
Radar systems must use target discriminants to isolate the desired target
return from the clutter. These target discriminants include range, velocity,
and angle.
2.5.1 Advantages
• Radar can “see” farther than the human eye and more accurately assess the
range or distance of an object.
• What’s more, radar works 24 hours a day because it can transmit its own
energy and does not have to rely on sunshine or ambient radiation.
• Can operate at day and night and in all weather. A radar can be much less
affected by the weather than EO sensors.
• Can measure distance (range) directly. Can measure short distances (down
to millimeters for industrial measurement radar ) or long distances (up to
4000 km for skywave OTH [Over-The-Horizon] radar or even longer for space
radar).
2.5.2 Drawbacks
Radar systems also have some drawbacks.
• Large objects that are close to the Transmitter can saturate the Receiver.
• radio signals can be combined with other radio signals from other frequency.if
not properly directed,the signals can be interrupted by other signals and alter
the information being transmitted.
• Delivers output which looks different than what the human eye is accustomed
to. This can be an impediment to humans.
There are some disadvantages of radar when compared to the human eye.
• First, radar does not have the resolution that the human eye has. While
radar can detect the presence of an airplane, the human eye can discern, in
great detail, the shape, size, color, and even markings. This can be a serious
limitation if positive identification is required prior to engagement.
• Navigation of ships.
• Weather radar.
• Remote sensing from aircraft or satellite from long distances to collect in-
formation about the earth surface for agriculture, forestry, environmental
protection, humanitarian, scientific, military and other uses. Also remote
sensing of other planets or moons like the Magellan mission to Venus .
• Military uses fighter aircraft radars, missile radar seekers, fire control radars,
etc.
3.1 Introduction
• With the development of radar technology and the complication of target
background, more and more information which is not range but also angle
need be known to target in order to track and orientate accurately.
• radio direction finders (DF) are used for finding the angle of arrival of the
received signal over the whole (360o ) direction. This facility makes these
systems important in military and civilian applications.
• To simplify the amplitude comparison analysis, signal levels which are fed
from receiving antennas are compared with the expected signal levels in a
specific Direction.
• This method makes the system simple in analysis and implementation and
gives a good accuracy and resolution over a wide range of frequencies.The
proposed system operates over a wide band of frequencies and covers the
whole (360o ).
• Total of Four Antennas are present in the Antenna Assembly, Each antenna
has 180o coverage.Thier Boresight positions relative to aircraft north is spec-
ified below(Figure 3.2).
• Here Antenna gain pattern is Assumed to be gaussian and All four Antennas
are assumed to be identical.Gain pattern of Antenna Assembly system is
given by:
• Here DF system consists of lookup tables including the Known values of the
gain for each antenna at their associated angles over 360o direction.
• There is an received radar signal simulator which generates the radar signal
received by an Antenna in given direction(AoA) with specified characteristics
0.2
amplitude
0.1
-0.1
-0.2
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
time in seconds
1
amplitude
-1
-2
-3
-4
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
time in seconds
• AWGN channel with different SNR is simulated in matlab using awgn func-
tion.
Si = Gi (θi )sin(2πfc t) + ni
• Finally one Main function was created to call this functions which requires
parameters like frequency(fc ) of radar signal, PW, PRF, SNR, sampling
frequency(fs ).It also scatters Estimated AoA and Actual AoA for each iter-
ation.
• For every SNR value,the Algorithm was iterated 1000 times. In each iter-
ation,The difference between Actual AoA and Estimated AoA (Error) was
calculated.
• For statistical Analysis of the result obtained Mean absolute error,Mean Er-
ror and Standard Deviation of the Error was calculated for every SNR value.
• similarly For every SNR value (i.e, for Every 1000 iterations) Maximum +ve
& -ve Deviation was computed and plotted against SNR values.
0.2
amplitude
0.1
-0.1
-0.2
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
time in seconds
1
amplitude
-1
-2
-3
-4
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
time in seconds
0.4
0.3
mag
0.2
0.1
0
-800 -600 -400 -200 0 200 400 600 800
frequency in Mhz
0.06
0.05
0.04
mag
0.03
0.02
0.01
0
-800 -600 -400 -200 0 200 400 600 800
frequency in Mhz
• Algorithm was tested for different values of SNR (i.e, -15 db to 15 db in steps
of 3db).Scatter plots of Estimated AoA & Actual AoA and plots of Error for
different SNR values is Shown in the figures Below
300
AoA (in degrees)
250
200
150
100
50
0
0 100 200 300 400 500 600 700 800 900 1000
iteration number
20
10
-10
-20
-30
0 100 200 300 400 500 600 700 800 900 1000
iteration number
Figure 3.8: Scatter plot of Estimated & Actual AoA and corresponding Error
300
AoA (in degrees)
250
200
150
100
50
0
0 100 200 300 400 500 600 700 800 900 1000
iteration number
10
-5
-10
-15
0 100 200 300 400 500 600 700 800 900 1000
iteration number
Figure 3.9: Scatter plot of Estimated & Actual AoA and corresponding Error
300
AoA (in degrees)
250
200
150
100
50
0
0 100 200 300 400 500 600 700 800 900 1000
iteration number
-5
-10
-15
0 100 200 300 400 500 600 700 800 900 1000
iteration number
Figure 3.10: Scatter plot of Estimated & Actual AoA and corresponding Error
300
AoA (in degrees)
250
200
150
100
50
0
0 100 200 300 400 500 600 700 800 900 1000
iteration number
-2
-4
-6
0 100 200 300 400 500 600 700 800 900 1000
iteration number
Figure 3.11: Scatter plot of Estimated & Actual AoA and corresponding Error
300
AoA (in degrees)
250
200
150
100
50
0
0 100 200 300 400 500 600 700 800 900 1000
iteration number
-2
-4
0 100 200 300 400 500 600 700 800 900 1000
iteration number
Figure 3.12: Scatter plot of Estimated & Actual AoA and corresponding Error
300
AoA (in degrees)
250
200
150
100
50
0
0 100 200 300 400 500 600 700 800 900 1000
iteration number
0.5
-0.5
-1
-1.5
0 100 200 300 400 500 600 700 800 900 1000
iteration number
Figure 3.13: Scatter plot of Estimated & Actual AoA and corresponding Error
• Statistical Analysis of the Result obtained is carrried out.Below are the plots
of various Statistical paramaters(i.e, Mean Absolute Error,Max +ve & -ve
Deviation,Mean Error and Standard Deviation)for different values of SNR.
25
20
15
10
0
-15 -10 -5 0 5 10 15
SNR (in db)
-5
-10
-15
-20
-25
-30
-15 -10 -5 0 5 10 15
SNR (in db)
Figure 3.14: Maximum positive and negative Deviation in Estimated AoA vs SNR
4.5
4
Mean Absolute Error in Estimated AoA (in degrees)
3.5
2.5
1.5
0.5
0
-15 -10 -5 0 5 10 15
SNR (in db)
0.1
0.05
-0.05
-0.1
-15 -10 -5 0 5 10 15
SNR (in db)
0
-15 -10 -5 0 5 10 15
SNR (in db)
3.5 Conclusion
• The purpose of this project is to better understand the process of AOA
calculation and to estimate the Error in AoA estimation due to external
AWG noise.
• The antenna that receives the maximum pulse amplitude is determined; then
the pulse amplitude received from the antenna, which is adjacent to this
antenna, is determined. These two pulse amplitudes are taken into consid-
eration and used in the DF algorithm.
• AWG noise has been introduced to the system to simulate external noises
and performance of the Algorithm was recorded. from the observed plot
we can see that Mean Absolute error and standard Deviation of the Error
decreases as we increase SNR.
Appendix
clear all;
clc;
close all;
%--------------------------- Inputs --------------------------------------
global Niter i k snr res T;
Niter=1000; % number of iterations
res=0.1; % resolution of antennas (in degrees)
AoAa=randi([0,359],1,Niter)+randi([0 9/(10*res)],1,Niter)*res;
% known Angle of Arrival of received signal
% received signal characteristics in presence of awgn noise
fc=100; % carier frequency of radar signal (Mhz)
fs=1350; % sampling rate at which signal is sampled(Msps)
T=1; % time for which signal is received
snr=-15:3:15; % signal to noise ratio
ME=zeros(1,length(snr)); % Mean error of estimated AoA
MAE=zeros(1,length(snr)); % Mean Absolute error of estimated AoA
Error(i)=(AoAe(i)-AoAa(i));
% Error in Estimated AoA with respect to Actual AoA
figure('Name',...
sprintf('Analysis of AoA Estimation function for SNR=%d db',snr(k)));
subplot(211);
scatter((1:Niter),AoAa,40,'filled','MarkerFaceColor','b');hold on;
scatter((1:Niter),AoAe,34,'*','red');
title(sprintf('Plot of Actual and Estimated AoA for SNR=%d db',snr(k)));
ylabel('AoA (in degrees)');xlabel('iteration number');
legend('Actual AoA','Estimated AoA');
subplot(212);
plot(Error,'m');
title(sprintf('Plot of Error in Estimated AoA for SNR=%d db',snr(k)));
ylabel('Error in Estimated AoA (in degrees)');xlabel('iteration number');
plot(snr,MAE,'LineWidth',2);
hold on; stem(snr,MAE,'filled','--','MarkerFacecolor','red',...
'MarkerEdgecolor','green');
title('Mean Absolute Error vs SNR Plot');
xlabel('SNR (in db)');xlim([snr(1)-1 snr(end)+1]);
ylabel('Mean Absolute Error in Estimated AoA (in degrees)');
subplot(211);
plot(snr,MaxE,'LineWidth',2);hold on;
stem(snr,MaxE,'filled','--','MarkerFacecolor','red',...
'MarkerEdgecolor','green');
title('Maximum positive Deviation vs SNR Plot');
xlabel('SNR (in db)');xlim([snr(1)-1 snr(end)+1]);
ylabel('Maximum positive Deviation (in degrees)');
subplot(212);
plot(snr,MinE,'LineWidth',2);hold on;
stem(snr,MinE,'filled','--','MarkerFacecolor','red',...
'MarkerEdgecolor','green');
title('Maximum negative Deviation vs SNR Plot');
xlabel('SNR (in db)');xlim([snr(1)-1 snr(end)+1]);
ylabel('Maximum negative Deviation (in degrees)');
figure('Name','Received Signals','NumberTitle','off');
subplot(211);
plot(t,SRl);xlabel('time in seconds');ylabel('amplitude');
title(sprintf(...
'signal received at 1st Antenna in region %d with SNR=%d db',reg,SNR));
subplot(212);
plot(t,SRr,'r');xlabel('time in seconds');ylabel('amplitude');
title(sprintf(...
'signal received at 2nd Antenna in region %d with SNR=%d db',reg,SNR));
%----- plotting FFTs of signals received at 1st and 2nd Antennas ------
tf=-(1-1/length(XSRl))/2:1/length(XSRl):(1-1/length(XSRl))/2;
figure('Name','FFT of Received Signals','NumberTitle','off');
subplot(211);
plot(tf*fs,XSRl);xlabel('frequency in Mhz');ylabel('mag');
title(sprintf(...
'FFT of signal received at 1st Antenna in region %d with SNR=%d db',...
reg,SNR));
subplot(212);
plot(tf*fs,XSRr,'r');xlabel('frequency in Mhz');ylabel('mag');
title(sprintf(...
'FFT of signal received at 1st Antenna in region %d with SNR=%d db',...
reg,SNR));
end
end
%-- Function for detection of Direction of Arrival (DOA)of Radar signal ---
% Here entire 360 degrees is divided into 4 Regions (each of 90 degrees)
% all regions share two Antennas
% Region 1 ---> Antennas 4 and 1 (315-0-45 degree)
XSRl=abs(fftshift(fft(SRl,length(SRl))))/length(SRl);
% Two sided spectrum(FFT) of signal received by 1st Antenna
XSRr=abs(fftshift(fft(SRr,length(SRr))))/length(SRr);
% Two sided spectrum(FFT) of signal received by 1st Antenna
ALn=2*max(XSRl);
% amplitude of received signal in presence of awgn noise at 1st antenna
ARn=2*max(XSRr);
% amplitude of received signal in presence of awgn noise at 2nd antenna
Er=zeros(1,N/2);
for j=1:N/2
Er(j)=sqrt((ALn-w{reg}(j,2))ˆ2 + (ARn-w{reg}(j,3))ˆ2);
% caculating eucleidean distance
end
[¬,j]=min(Er); % selecting the index with least eucleidean distance
DoA=w{reg}(j,1);% direction of Arrival of radar signal (in degrees)
if reg6=1
ind=w{reg}(:,1);
AoA=DoA;
else
ind=[i41(1:N/4)-360;i41(N/4+1:N/2)];
AoA=DoA-(DoA<360 && DoA>180)*360;
end
subplot(211);
wl=w{reg}(:,2);
wr=w{reg}(:,3);
plot(ind,wl,'r');hold on;plot(ind,wr);hold on;
scatter(AoA,w{reg}(j,2),'filled','blue');
scatter(AoA,w{reg}(j,3),'filled','red');
scatter(AoA,ALn,32,'*','red');
scatter(AoA,ARn,32,'*','blue');
subplot(212);
p=zeros(1,6);
p(1)=plot((-45:res:135-res),w1(1:N),'b',...
'LineWidth',2,'DisplayName','Pattern of Antenna 1'); hold on;
p(2)=plot((-180:res:-135),w2((N-N/4):N),'g',...
'LineWidth',2,'DisplayName','Pattern of Antenna 2');hold on;
p(3)=plot((-180:res:-45),w3(N/4:N),'k',...
'LineWidth',2,'DisplayName','Pattern of Antenna 3');hold on;
p(4)=plot((-135:res:45-res),w4(1:N),'r',...
'LineWidth',2,'DisplayName','Pattern of Antenna 4'); hold on;
p(5)=plot((45:res:180-res),w2(1:N-N/4),'g',...
'LineWidth',2);hold on;
p(6)=plot((135:res:180-res),w3(1:N/4),'k','LineWidth',2);
xlabel('Direction of Arrival with respect to NORTH(0 degree) in degrees');
xlim([-180 180]);ylabel('Normalized power received');
title('Antenna Patterns across all regions');ylim([0 1.2]);
legend(p(1:4));
end
end
[3] Merrill Ivan Skolnik. Radar Handbook. Electronic engineering series. McGraw-
Hill, 1990.