Optimization of Digital Beamforming For Smart Ante
Optimization of Digital Beamforming For Smart Ante
net/publication/312583657
CITATIONS READS
0 122
2 authors:
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Lotfi Rabeh Gomaa on 18 December 2018.
By
REFERENCES ................................................................................. 75
References ....................................................................................................... 76
APPENDICES .................................................................................. 79
Appendix I: Implementation of MUSIC algorithm ........................................ 80
iii
Appendix II: MUSIC Spectrum versus changing number off array elements M .. 83
Appendix III: MUSIC Spectrum GUI implementation .................................. 86
Appendix IV: Implementation of MMSE ..................................................... 102
Appendix V: Implementation of MMSE applying same case studied in [2]105
iv
Acknowledgment
Sherif Hekal
v
Abstract
S
mart antennas have recently received increasing interest for
improving the performance of wireless communication systems
which includes better coverage, improved capacity, and higher
transmission quality. These systems of antennas include some techniques to
enhance the received signal, suppress all interferers, achieving reliable and
robust high-speed, high-data-rate transmission, and increase capacity.
Smart antenna consists of an array of antenna elements with signal
processing capability that optimizes the radiation and reception of a desired
signal, dynamically. Smart antennas can place nulls in the direction of
interferers via adaptive updating of weights linked to each antenna element.
They thus cancel out most of the co-channel interference resulting in better
quality of reception and lower dropped calls. Smart antennas can also track
the user within a cell via direction of arrival algorithms. This implies that they
are more advantageous than other antenna systems.
vi
4- Implementation of Minimum Mean Square Error (MMSE) adaptive
beam forming algorithm.
vii
Abbreviations
1G First Generation
2G Second Generation
3G Third Generation
4G Fourth Generation
3GPP 3rd Generation partnership project
3GPP2 3rd Generation partnership project
8-PSK Octagonal Phase Shift Keying
AF Array Factor
ABF Adaptive Beamforming
AOA Angle Of Arrival
DBF Digital Beam-Forming
IMT International Mobile Telecommunications
MMSE Minimum Mean Square Error
MSE Mean Square Error
MUSIC MUltiple SIgnal Classification
SA Smart Antenna
SDMA Space Division Multiple Access
SNR Signal-to-Noise Ratio
ULA Uniform Linear Array Antenna
viii
List of Figures
Chapter 1
Figure 1.1 wireless communication services 2
Figure 1.2 wireless communication constraints 4
Chapter 2
Figure 2.1 antenna polarization types 10
Figure 2.2 antenna radiation pattern 11
Figure 2.3 antenna types 15
Figure 2.4 Phased array antenna construction and operation 17
Figure 2.5 Infinitesimal dipole 17
Figure 2.6 Two element array antenna 19
Figure 2.7 far field view of Two-element array antenna 19
Figure 2.8 radiation pattern of two-element array antenna 21
Figure 2.9 M-element uniform linear array antenna 21
Figure 2.10 End fire radiation pattern of uniform linear array antenna 24
Chapter 3
Figure 3.1 simple smart antenna architecture 27
Figure 3.2 SDMA concept supported by smart antenna 27
Figure 3.3 Switched beam antenna 28
Figure 3.4 adaptive array antenna 29
Figure 3.5 SDMA block diagram 30
Chapter 4
Figure 4.1 uniform linear array antenna 35
Figure 4.2 uniform linear array antenna RX model 37
Figure 4.3 MUSIC implementation flow chart 41
ix
Figure 4.4 MUSIC implementation 42
Figure 4.5 Results of ref. [2] 43
Figure 4.6 MUSIC spectrum comparison with other work 43
Figure 4.7 MUSIC spectrum with changing “M” 45
Figure 4.8 detailed view of fig 4.7 at estimated angle “θ=25o” 46
Figure 4.9 Error of estimation with changing “M” 47
Figure 4.10 MUSIC spectrum with changing “SNR” 48
Figure 4.11 detailed view of fig.4.10 at θ=20o, 25o 48
MUSIC spectrum with changing “k” at estimated angles
Figure 4.12 50
θ=20o, 25o
Figure 4.13 MUSIC spectrum with changing “d” 51
Figure 4.14 non uniform linear array antenna 53
MUSIC spectrum for ULA versus Non-ULA “M=8,
Figure 4.15 56
d=0.5λ”
Figure 4.16 detailed view of fig 4.15 at the estimated angles 56
Figure 4.17 MUSIC spectrum GUI implementation 58
Chapter 5
(a) Traditional analog Beamforming (b) Digital
Figure 5.1 61
Beamforming
Figure 5.2 different types of Beamforming 63
Figure 5.3 Mean Square Error adaptive system 64
Figure 5.4 Implementation of MMSE Beamforming 68
Figure 5.5 Results of ref. [2] 69
Figure 5.6 MMSE implementation comparison with ref. [2] 69
Figure 5.7 MMSE AF with changing “M” 70
x
Chapter
1.1 Introduction
1.4 Motivation
Chapter1 1
1.1 Introduction
It would be hard to imagine a world without wireless applications and
services. Around the globe, mobile services are playing increasingly
important roles in many fields of our society. Just a decade ago, mobile
services consisted primarily of basic voice communication. Today, we
depend on mobile services not only for communication, but also for
education, entertainment, healthcare, location and m-commerce. Mobile
services have also made significant inroads into developing nations, by
improving the quality of life for many of their citizens.
Chapter1 2
Figure 1.1: wireless communication services
Chapter1 3
WLANs, wireless wide area networks (WWANs), and wireless personal
area networks (WPAN). Also broadband wireless data service has been
expanded into broadcasting service, leading to satellite TV broadcasting and
the wireless regional area network (WRAN) for digital TV. The data rate
has also evolved from the 10 Kbits/s voice communications to
approximately 1 Gbps in the 4G wireless network [2].
Chapter1 4
they are arrive at the receiver. The result is degradation in signal quality
when they are combined at the receiver due to the phase mismatch. Co-
channel interference is the interference between two signals that operate at
the same frequency.
Chapter1 5
Improving switching Techniques.
Implementation of new antenna Designs.
Using new error correction and detection methods.
Chapter1 6
found that there are some key parameters can be optimized to enhance the
accuracy and resolution of detection like geometry of array antenna, inter-
element spacing “d”, number of array elements “M” and other parameters
will be discussed in detail.
Chapter1 7
Chapter
2 ANTENNA SYSTEMS
2.1 Definition
Chapter2 8
2.1 Definition
An antenna is defined as “a metallic device (as a rod or wire) for
radiating or receiving radio waves”, for wireless communication systems the
antenna is one of the most critical components. As if there is no antenna,
there will not be any interface between the user and the wireless network or
between the network subsystems and so good design of the antenna can meet
system requirements to improve overall system performance. A typical
example is TV for which the overall broadcast reception can be improved
by utilizing a high-performance antenna. The antenna serves to a
communication system the same purpose that eyes and eyeglasses serve to
a human.
Chapter2 9
As shown below in figure 2.1 how the first antenna (vertical polarized)
passes the incident wave in opposite the second antenna losses the incident
wave due to mismatch of polarization between incoming signal and received
antenna.
Chapter2 10
Figure 2.2: antenna radiation pattern
This term defines the aperture of antenna. The HPBW is defined by the
points in the vertical and horizontal diagram where the radiated power has
reached half the amplitude of the main radiation direction (3dB points).
W E xH (2.1)
Chapter2 11
W = instantaneous Poynting vector (W/m2)
1
Wrad = Re[ExH*] (2.3)
2
2.2.6 Directivity
U 4
D= (2.4)
Uo Po
2.2.7 Gain
Chapter2 12
2.2.8 Bandwidth
a) Frequency Support
b) Directivity
Chapter2 13
c) Physical construction
Chapter2 14
micro strip antennas reflector antennas (dish)
There are some factors can be used to shape the overall pattern of the array
antenna
1. The geometrical configuration of the overall array (linear, circular, rec-
tangular, spherical, etc.)
2. Inter-element spacing (displacement between the elements).
3. Excitation amplitude of the individual elements.
4. Phase shift between the individual elements.
5. pattern and polarization of the individual elements
Chapter2 15
An array antenna is made up of more than one element that are spatially
arranged and electrically interconnected to produce a directional radiation
pattern, but the basic element is generally the dipole. Sometimes the basic
element is made longer or shorter than a half-wave. There are two types of
elements used to construct the array antenna are
Arrays can be described with respect to their radiation patterns and the
types of elements of which they are made and according the configuration
of array elements and arrangement it can be classified as the following:
Chapter2 16
the antenna without physically moving the antenna as shown below in figure
2.4
Chapter2 17
From [2] the electric and magnetic field components at point “P” can be given
as
I ol cos( ) 1 jr
Er aˆr
jr
1 e (2.6)
2r 2
In far field, (1/r2 and 1/r3) can be neglected and so the above equations can
be simplified to the following
Chapter2 18
Figure 2.6: Two element array antenna
So the total electric field radiated by the two elements at the point “P” can be
given as
j[ r1 ]
j [ r2 ]
j I ol e 2
e 2
Et E1 E2 aˆ sin(1 ) sin( 2 ) (2.11)
4 r1 r2
Under assumption of far field study (r>>d) as shown in figure 2.7, we can
say that
Chapter2 19
d
r1 r - sin( )
2 (2.12)
d
r2 r sin( )
2
1 2
(2.13)
r1 r2 r
[ d sin( ) ] [ d sin( ) ]
j I ol sin( ) jr j j (2.14)
Et aˆ e e 2
e 2
4r
j I ole jr sin( ) [ d sin( ) ]
Et aˆ 2 cos (2.15)
4r 2
Finally in general, the total field of the array is equal to the field of a single
element positioned at the origin multiplied by a factor called the array factor
(pattern function related to the array geometry) which is known by pattern
multiplication rule
Chapter2 20
Figure 2.8: radiation pattern of two-element array antenna with infinitesimal vertical di-
poles (δ=-π/2, d=0.25λ)
Chapter2 21
Figure 2.9: M-element uniform linear array antenna.
The word uniform means uniform amplitude and spacing but there is phase
shift between each two successive elements is (δ). By applying the pattern
multiplication rule as approved before with Two-element array, the array
factor can be given as the following
M M
AF e j ( m 1)( d sin( ) )
e j ( m 1) (2.17)
m 1 m 1
1
j
e
a ( ) e j 2 (2.18)
...
j ( M 1)
e
AF a( ) (2.19)
(e j 1) AF (e jM 1) (2.21)
Chapter2 22
M M M
j j j
jM
(e 1) e 2
(e 2
e 2
)
AF j
(2.22)
(e 1) j j j
e 2 (e 2
e 2
)
M
j
( M 1) sin( )
AF e 2 2 (2.23)
)sin(
2
If the array is centered about the origin, the physical center is at 0 and Eq.
(2.23) can be simplified to become
M
sin( )
AF 2 (2.24)
sin( )
2
M
sin( )
AF 2 (2.25)
2
The equation (2.25) is sinc function sin(x)/x which has maximum value at
x=0 sinc(x)x=0 = 1 similarly the maximum value of AF =M at ψ=0.so the
normalized of array factor can be written as
M M
sin() sin( )
1 2 2
AFn (2.26)
M M
sin( )
2 2
The most popular approaches to direct the main beam of array antenna are
Broadside Array
Chapter2 23
End-Fire Array
The maximum radiation is along the axis containing the array elements
θo=90 substituting with this value in ψ we need phase shift between
elements δ=-βd as shown in figure 2.10
The phase shift δ is dynamically changed thus allowing the main beam to
be directed toward any direction of interest (θo), and so the required phase
shift is δ=-βdsin(θo)
Figure 2.10: End fire radiation pattern of uniform linear array antenna with infinitesimal
vertical dipoles (M=10, δ=-π/2, d=0.25λ)
Chapter2 24
Chapter
3 SMART ANTENNAS
Chapter3 25
3.1 Introduction and general overview
Chapter3 26
these elements are combined to form a movable or switchable beam pattern
that follows the desired user. In a Smart antenna system the arrays by
themselves are not smart, it is the digital signal processing that makes them
smart.
Chapter3 28
Figure 3.4: adaptive array antenna
Chapter3 29
Figure 3.5: SDMA block diagram
Chapter3 30
b) Range improvement
c) Capacity enhancement
e) Reduction of handovers
Chapter3 31
Therefore, handoffs occur rarely, only when two beams using the same
frequency cross each other.
h) Compatibility
Location based services can be easily implemented using the aid of AOA
estimation.
Chapter3 32
3.5.2 Smart antennas’ drawbacks
While smart antennas provide many benefits and could solve many
problems, they are suffering from some drawbacks.
Chapter3 33
Chapter
TECHNIQUES
4.5 Simulation
Chapter4 34
4.1 AOA Estimation Theory
Angle of Arrival (AOA) estimation is the process of determining the
direction (or angle) of an incoming signal from any mobile device to the
Transceiver as a result specify the Transmitter’s location. No one can deny
how these estimation techniques are useful and add value to all modern
wireless communication systems like “Location based services, etc...” and so
in many fields, including radar, sonar, mobile communications, radio
astronomy, and seismology. For example, in military applications “defense
application” it is important to identify the direction of a possible threat to
attack with high accuracy without errors.
AOA algorithms determine the direction by measuring the Time “phase”
Difference of Arrival (TDOA) at individual elements of the array and from
these delays the angle (or direction) of the mobile device can be calculated.
This TDOA measurement is made by measuring the difference in received
phase at each element in the antenna array as shown in figure 4.1.
Chapter4 35
This can be thought of as beam-forming in reverse. In beam-forming, the
signal from each element is delayed by some weight (phase) to "focus" the
gain of the antenna array in specific direction. In AOA, the delay of arrival at
each element is measured directly and converted to an AOA measurement as
shown below
l
c f . (4.1)
t
f .t
sin 1 ( ) (4.3)
dfactor
Chapter4 36
minimum variance, maximum likelihood, MUSIC, root-MUSIC, and many
other approaches.
The spatial spectrum of the incident signals is computed and the local
maxima are used to find the angle of the incident wave fronts. Some of
the more popular spectral-based AOA estimator algorithms include
Bartlett, Capone, and MUSIC [2].
Parametric AOA
Chapter4 37
As shown below in figure 4.2 suppose we have Uniform Linear Array
antenna [3] with
The incident signals from “D” users are represented in amplitude and
phase at some arbitrary reference point (origin of the coordinate system)
by the complex quantities S1, S2… SD also white Gaussian noise added to
the signals as vector (n). directions of the incident signals represented by
the steering vector a(θi) for ith user so we have matrix “A” its size MxD
the first column a(θ1) is the steering vector for the 1st user and so on,
where a(θ1) can be given as
1
jd . sin(1 )
e
a(1 ) e j 2 d . sin( 1 ) (4.4)
...
j ( M 1) d . sin(1 )
e
d=inter-element spacing
Chapter4 38
x1 (k ) S1 (k )
x (k ) S (k )
2 2
a (1 ) a ( 2 ).....a ( D )
(4.5)
. . n (k )
. .
x M (k ) S D (k )
(4.6)
x (k ) A.S (k ) n (k )
X (k) = amplitude of signal + noise in ith element matrix size [MxK]
It is initially assumed that the arriving signals are monochromatic and the
number of arriving signals D < M. It is understood that the arriving signals
are time varying and thus our calculations are based upon time snapshots of
the incoming signal.
Chapter4 39
=A E[s.sH] AH+E[n.nH] (4.8)
The array correlation matrix has M eigen values (λ1, λ2…., λM) along
with M associated eigenvectors E = [e1 e2 …. eM].
If the Eigen values are sorted from largest to smallest, we can divide
the matrix E into two subspaces [EN ES], the first subspace EN is called the
noise subspace and is composed of M-D eigenvectors associated with the
noise, the second subspace ES is called the signal subspace and is composed
of D eigenvectors associated with the arriving signals. The noise subspace
is an M×(M- D) matrix. The signal subspace is an M× D matrix.
a ( ) H .a ( )
PMU ( ) H H
(4.10)
a ( ) E N E N a ( )
So, we can summarize the previous steps to estimate AOA using
MUSIC as shown below in the flow chart figure 4.3
Chapter4 Antenna data 40
X1 XM
Correlation Matrix
Calculation
Rxx
Eigen
Decomposition
EN
MUSIC Spectrum
Calculations
PMU (θ)
Estimation of the
largest peaks
θ1 θD
Angles of Arrival
4.5 Simulation
4.5.1 Implementation
Chapter4 41
Source #2 Sampled sine (2KHz) 40o 10 dB
Source #3 Sampled sine (3KHz) 60o 10 dB
d=inter-element spacing=0.5 λ
Figure 4.4 shows estimated angles for the sources after implementation of
MUSIC
Chapter4 42
4.5.2 Comparison with other work
To check the MUSIC code, which we used through our study, we cal-
culated in figure 4.6 the PMU for some previously published case (ref-
erence [2], figure 4.5). A good agreement is obviously noted.
For two users at “+5o, -5o”, k=100, M=6, d=0.5 λ, we get the results
shown in fig.7
Chapter4 43
As shown in figure 4.6 the estimated angles are +5o, -5o as was estimated
before in [2] figure 4.5
d=inter-element spacing=0.5 λ
Chapter4 44
Figure 4.7: MUSIC spectrum with changing “M”
Chapter4 45
Figure 4.8: detailed view of fig 4.7 at estimated angle “θ=25o”
As shown below in figure 4.9 the error in estimated angle “θ=25o” versus
changing the value of M from 4 to 30 element, we can extract that there are
some specific values of M can be used to estimate the directions with high
accuracy and more elements you will use better accuracy you can get. But
this will cause high complexity in the system.
Chapter4 46
Figure 4.9: Error of estimation with changing “M”
d=inter-element spacing=0.5 λ
Chapter4 47
Figure 4.10: MUSIC spectrum with changing “SNR”
As shown in figure 4.10, 4.11 it is clear that as the signal power received
is higher than noise power we can get high resolution.
Chapter4 48
Bad estimation was marked when (SNR < =0dB).
The optimum estimation can be achieved for received signals with (SNR
> =20dB).
d=inter-element spacing=0.5 λ
Chapter4 49
Figure 4.12: MUSIC spectrum with changing “k” at estimated angles θ=20o, 25o
As shown in figure 4.12 larger number of data samples will be taken, better
quality will be met.
Increasing d means the grating lobes will appear which degrades the array
performances and results in wrong estimation.
If the elements are spaced closely (decreasing d), the coupling effect will
be larger.
Chapter4 50
Therefore, the elements have to be far enough to avoid mutual coupling and
the spacing has to be smaller to avoid grating lobes.
Chapter4 51
As shown in figure 4.13 we are experiencing two challenges between
increasing “d” to enhance the estimation accuracy and decreasing “d” to
avoid the side lobes which will cause wrong estimation.
So the optimum value of inter-element spacing using ULA antenna is
“d=0.55 λ”.
We can summarize the performance study in the following points
Key
Required values Challenges
parameter
Chapter4 52
Another approach can be applied to overcome these challenges especially
presence of grating side lobes with increasing “d” also the antenna size
with increasing “M” this approach is the array weighting via non-uniform
linear array antennas that is known as Binomial array antenna.
For a uniformly weighted linear array, the largest side lobes are down
approximately 24 percent from the peak value [2]. So that approach is very
Chapter4 53
useful for our work because it will suppress the side lobes and provides sharp
narrow beams with little number of elements.
Figure 4.14 shows a symmetric linear array with an even number of elements
N=2M. The array is symmetrically weighted with weights [W1 …. WM] which
can be selected according to the number of elements N from table 4.7
In general, we can extract the array steering vector as done before in chapter
2 with ULA antenna which can be given by
j
2 M 1
d .sin( )
wM e 2
......
j 1 d .sin( )
w e 2
a ( ) 1 (4.11)
1
j
2
d . sin( )
1w e
...
j
2 M 1
d . sin( )
2
wM e
Chapter4 54
Hence, AF a( )
Chapter4 55
Figure 4.15: MUSIC spectrum for ULA versus Non-ULA “M=8, d=0.5λ”
Chapter4 56
We can extract from figures 4.15, 4.16 the following results
b. Side lobe reduction is very clear using binomial array antenna from
figure 4.15 side lobes is -43 dB for ULA but about -65 dB for non-
ULA.
1- Ask for the incident angles that will be used for simulation (to
calculate array steering vectors that will represent the directions of
users).
2- The GUI code will process all data entered and implement the
MUSIC subroutine and finally plot the MUSIC spectrum (PMU
function).
Chapter4 57
Figure 4.17: MUSIC spectrum GUI implementation
Chapter4 58
Chapter
5
SMART ANTENNA BEAMFORMING
ALGORITHMS
5.1 Introduction
5.2 Digital Beamforming
5.3 Minimum Mean Square Error
5.4 Simulation
5.5 MMSE optimization
Chapter5 59
5.1 Introduction
In traditional array antennas, the main beam is steered to directions of
interest via phase shifters and this approach has been referred to as electronic
beam steering because of the attempt to change the phase of the current
directly at each antenna element, are also called phased arrays, beam steered
arrays, or scanned arrays[2].
Smart antennas are modern beam steered array antennas, where the
pattern is controlled via algorithms based upon certain criteria. These criteria
should guarantee maximizing the signal to interference ratio (SIR),
minimizing the variance, minimizing the mean square error (MSE), steering
toward a signal of interest, nulling the interfering signals, or tracking a moving
emitter. The implementation of these algorithms can be performed
electronically through analog devices but it is generally more easily
performed using digital signal processing.
Smart antennas are also called digital beamformed (DBF) arrays. The
term smart implies the use of digital signal processing in order to shape the
beam pattern that requires that the array outputs be digitized through the use
of an A/D converter. Since an antenna pattern (or beam) is formed by digital
signal processing, this process is often referred to as digital beam forming.
Figure 5.1 shows a traditional electronically steered array versus a DBF smart
antenna.
Chapter5 60
(a)
(b)
Chapter5 61
5.2 Digital Beamforming
Digital signal processing is used to steer the beam pattern towards the intended
user and can be classified to
Apply to fixed arrival angle emitters, if the arrival angles don’t change with
time, the optimum array weights won’t need to be adjusted, the following
algorithms are used in fixed weight beamforming and some of it also can be
used in the adaptive beamforming
Maximum likelihood
Minimum variance
5.2.2Adaptive Beamforming
Chapter5 62
Figure 5.2: different types of Beamforming
Chapter5 63
Figure 5.3: Mean Square Error adaptive system
Chapter5 64
The error signal ε(k) can be given by
(k ) d (k ) w H x (k ) (5.1)
MSE is given by
(k ) d (k ) 2d (k )w H x (k ) w H x (k ) x (k ) H w
2 2
(5.2)
E[ ] [ d ] 2w H r w H RXX w
2 2
(5.3)
Where
RXX E[ xx H ] (5.5)
w E[ ] 2RXX w 2r 0
2
(5.6)
1
wMSE RXX r (5.7)
Chapter5 65
If the reference signal “d” is equal (highly correlated) to the desired signal
“s1” and “s1” is uncorrelated with all interferers, we can simplify “r” to the
following
r E[ s1 .x ] S1.a1
* (5.8)
S1 E[ s1 ]
2 (5.9)
1
wMSE S1RXX a1 (5.10)
5.4 Simulation
Assume ULA antenna is experienced to the three incident signals with data
given by table 5.1
Actual Signal type Angle SNR
Chapter5 66
5.4.1 Implementation
Where,
M
AF e j ( m 1)( d sin( ) ) (5.11)
m 1
The phase shift between elements [ejδ] will be substituted by wMSE as the
following manner
1
j
e
e j 2 w (5.12)
MSE
...
j ( M 1)
e
As shown in figure 5.4 (b) the maximum value of normalized array factor is
at θ=9.3o so we need to optimize the key parameters of that algorithm to
achieve high accuracy and performance in Beamforming, that will be
discussed by the end of this chapter.
Chapter5 67
(a)
Chapter5 68
(b)
We selected a certain case that was studied before in [2] to compare with,
where a ULA antenna of M=5, d=0.5λ has received signal with energy
S=1 arriving at θo=20o, and two interferers arriving at angles θ1= -20o,
θ2=40o.
Chapter5 69
Figure 5.5: Results of ref. [2]
Chapter5 70
5.5 Optimization of MMSE by changing “M”
We concentrate in this part to optimize the system by changing the most
important key parameter that can affect, which is the number of array
elements “M” with taking the optimum values of other parameters as
mentioned before in AOA estimation “k=1000, SNR=10, d=0.5λ”
Chapter5 71
Chapter
6
CONCLUSION
6.1 Conclusion
6.2 Future work
Chapter6 72
6.1 Conclusion
Chapter6 73
More data snapshots will be taken, high accuracy in detection
will be met. The optimum value “k=1000” also it is dependent
on the frequency of incident signal.
Chapter6 74
Types of digital Beamforming are discussed and we implemented
the MMSE adaptive Beamforming algorithm to calculate the weights in
away based upon minimizing the mean square error between the
reference signal and the array output, results approved on the algorithm
implementation, then we discussed the ability of enhancing the beam
pattern (main lobe direction and the beam width) by choosing different
values of “M” and found that increasing the number of array elements,
increase the accuracy of beamforming and also focusing the beam more
and more.
Chapter6 75
REFERENCES
References 76
[1] Constantine. A. Balanis, “Antenna Theory Analysis and Design”, 3rd
Edition January 1992.
[4] Hubregt J. Visser, “Array and Phased Array Antenna Basics”, 2005
References 77
[8] Van Trees, H., “Optimum Array Processing: Part IV of Detection,
Estimation, and Modulation Theory”, Wiley Interscience, New York,
2002.
References 78
[14] S. Ravishankar, H. V. Kumaraswamy , “The Selection of Weighting
Functions For Linear Arrays Using Different Techniques”, National
Conference on Electronics and Communication 2007.
References 79
APPENDICES
Appendices 80
Appendix I:
MatLab M file “Implementation of MUSIC algorithm”
clear;
close all;
clc
Appendices 81
%%%%%% Signal generation (sampled sine wave)%%%%%%%%%%%%
for i=1:r
for k=1:K
sig(i,k)=sin(2*pi*F(i)*(k/fs));
end
end
Appendices 82
for k=1:length(angles)
%Compute MUSIC “spectrum”
music_spectrum(k)=(a(:,k)'*a(:,k))/(a(:,k)'*En*En'*a(:,k));
end
%%%%%%Plotting the power spectrum function %%%%%%%%%%%%%%
music_spectrum=10*log10(abs(music_spectrum/max(music_spec-
trum)));
plot(angles,music_spectrum);
grid on
title('MUSIC Spectrum')
xlabel('Angle in degrees(\theta)')
ylabel('PMU(\theta) dB')
Appendices 83
Appendix II:
MatLab M file “MUSIC Spectrum versus changing number off array elements M”
clear;
close all;
clc
for M=4:30
Appendices 84
end
end
for i=1:r
for k=1:K
sig(i,k)=sin(2*pi*F(i)*(k/fs)*(pi/180));
end
end
angles=(-90:0.01:90);
for m=1:M
Appendices 85
for th=1:length(angles)
a(m,th)=exp(+1i*2*pi*(m-1)*d*sin(angles(th)*pi/180));
end
end
for k=1:length(angles)
%Compute MUSIC “spectrum”
music_spectrum(k)=(a(:,k)'*a(:,k))/(a(:,k)'*En*En'*a(:,k));
end
z(M,:)=10*log10(music_spectrum/max(music_spectrum));
end
grid on
title('MUSIC Spectrum')
xlabel('Angle in degrees(\theta)')
ylabel('PMU(\theta) dB')
Appendices 86
Appendix III:
MatLab M file “MUSIC Spectrum GUI implementation”
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State,
varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
Appendices 87
% handles structure with handles and user data (see
GUIDATA)
% varargin command line arguments to MUSIC_gui (see
VARARGIN)
Appendices 92
% --- Executes during object creation, after setting all
properties.
function edit_pwr2_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit_pwr2 (see GCBO)
% eventdata reserved - to be defined in a future version
of MATLAB
% handles empty - handles not created until after all
CreateFcns called
Appendices 93
% --- Executes during object creation, after setting all
properties.
function edit_pwr3_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit_pwr3 (see GCBO)
% eventdata reserved - to be defined in a future version
of MATLAB
% handles empty - handles not created until after all
CreateFcns called
Appendices 94
p1=str2double(get(handles.edit_pwr1,'String'));
p2=str2double(get(handles.edit_pwr2,'String'));
p3=str2double(get(handles.edit_pwr3,'String'));
d=str2double(get(handles.edit_d,'String'));
M=str2double(get(handles.edit_M,'String'));
noise_power=str2double(get(han-
dles.edit_noise_power,'String'));
K=str2double(get(handles.edit_K,'String'));
%noise_var=str2double(get(handles.edit_y3,'String'));
rho=40;
th1=th1*pi/180;
th2=th2*pi/180;
th3=th3*pi/180;
[x1,y1] = pol2cart(th1,rho);
[x2,y2] = pol2cart(th2,rho);
[x3,y3] = pol2cart(th3,rho);
plot(handles.axes1,x1,y1,'-.sg','LineWidth',1,'Mark-
erEdgeColor','g','MarkerFaceColor','g','MarkerSize',3);
plot(handles.axes1,x2,y2,'-.sr','LineWidth',1,'Mark-
erEdgeColor','r','MarkerFaceColor','r','MarkerSize',3);
Appendices 95
plot(handles.axes1,x3,y3,'-.sb','LineWidth',1,'Mark-
erEdgeColor','b','MarkerFaceColor','b','MarkerSize',3);
str1=[' theta1=',num2str(th1*180/pi),''];
str2=[' theta2=',num2str(th2*180/pi),''];
str3=[' theta3=',num2str(th3*180/pi),''];
text(x1,y1,str1,'FontSize',10,'Color','g');
text(x2,y2,str2,'FontSize',10,'Color','r');
text(x3,y3,str3,'FontSize',10,'Color','b');
for i=1:r
for k=1:K
sig(i,k)=sin(2*pi*F(i)*(k/fs));
end
end
noise=wgn(M,K,noise_power,'real','linear'); %Uncorrelated
noise
angles=(-90:0.1:90);
Appendices 97
for m=1:M
for th=1:length(angles)
a(m,th)=exp(+1i*2*pi*(m-1)*d*sin(angles(th)*pi/180));
end
end
for k=1:length(angles)
%Compute MUSIC “spectrum”
music_spectrum(k)=(a(:,k)'*a(:,k))/(a(:,k)'*En*En'*a(:,k));
end
music_spectrum=10*log10(abs(music_spectrum/max(music_spec-
trum)));
axes(handles.axes2) % Select the proper axes
set(handles.axes2,'XMinorTick','on')
grid on
hold on
[Z,IX]=sort(music_spectrum,'descend');
plot(handles.axes2,angles,music_spectrum);
title('MUSIC Spectrum')
xlabel('Angle in degrees(\theta)')
ylabel('PMU(\theta) dB')
Appendices 98
function edit_M_Callback(hObject, eventdata, handles)
% hObject handle to edit_M (see GCBO)
% eventdata reserved - to be defined in a future version
of MATLAB
% handles structure with handles and user data (see
GUIDATA)
Appendices 101
% eventdata reserved - to be defined in a future version
of MATLAB
% handles structure with handles and user data (see
GUIDATA)
Appendix IV:
MatLab M file “Implementation of MMSE”
Appendices 102
clear;
close all;
clc
grid on;
Appendices 103
%%%%% Signal generation (sampled sine wave)%%%%%%%%%%%%
for i=1:r
for k=1:K
sig(i,k)=sin(2*pi*F(i)*(k/fs));
end
end
for i=1:M
for k=1:length(Theta1)
m=i-1;
y(i,k)=exp(-m*1i*2*pi*d*sin(Theta1(k)))*W_MSE(i);
end
Appendices 104
end
q=sum(y);
q=q/max(q);
polar(Theta1,abs(q));
grid on
title('MMSE Adaptive Beamforming')
xlabel('Angle in degrees(\theta)')
ylabel('AF(\theta)')
hold on
Appendices 105
Appendix V:
MatLab M file “Implementation of MMSE applying same case studied in [2]”
clear;
close all;
clc
grid on;
Appendices 106
A(m,th)=exp(+1i*2*pi*(m-1)*d*sin(doas(th)));
end
end
for i=1:r
for k=1:K
sig(i,k)=sin(2*pi*F(i)*(k/fs));
end
end
for i=1:M
for k=1:length(Theta1)
m=i-1;
y(i,k)=exp(-m*1i*2*pi*d*sin(Theta1(k)))*W_MSE(i);
Appendices 107
end
end
q=sum(y);
q=q/max(q);
grid on
title('MMSE Adaptive Beamforming')
xlabel('Angle in degrees(\theta)')
ylabel('AF(\theta)')
hold on
Appendices 108