Sei sulla pagina 1di 57

FRACTIONAL FOURIER TRANSFORM AND

ITS APPLICATIONS
Major-Project Report
by
Alex John Koshy B050326EC
Nidhin Chandran A K B050160EC
Subin B B050173EC
Vinay N K B050032EC
Under the guidance of
Dr. G. Abhilash
In Partial Fulllment of the Requirements
for the Degree of
Bachelor of Technology
DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING
NATIONAL INSTITUTE OF TECHNOLOGY, CALICUT
Kerala, India
April 2009
i
NATIONAL INSTITUTE OF TECHNOLOGY CALICUT
DEPARTMENT OF ELECTRONICS AND COMMUNICATION
ENGINEERING
CERTIFICATE
This is to certify that this report titled FRACTIONAL FOURIER TRANS-
FORM AND ITS APPLICATIONS is a bona de record of the major-project
done by Alex John Koshy (Roll No. B050326EC), Nidhin Chandran A K
(Roll No. B050160EC), Subin B (Roll No. B050173EC) and Vinay N K
(Roll No. B050032EC), in partial fulllment of the requirements for the award
of Degree of Bachelor of Technology in Electronics and Communication Engineering
from National Institute of Technology, Calicut.
Dr. G. Abhilash Dr. Lillykutty Jacob
(Project Advisor) Professor and Head
Assistant Professor
29 April 2009
NIT Calicut
ii
ACKNOWLEDGEMENT
We would like to thank Dr. G.Abhilash, Assistant Professor, Department of Elec-
tronics and Communication Engineering for his guidance and inspiration in helping
us complete this project. We are also grateful to Dr. Lillykutty Jacob, Professor
and Head, Department of Electronics and Communication Engineering for providing
us with this opportunity to work on our project and also for permitting access to the
required facilities. We would also like to thank the lab sta for their technical support
and providing us assistance. We also thank our batch mates who had supported us
and provided us with greatly appreciated technical and non-technical aid throughout
our project.
Alex John Koshy
Nidhin Chandran A K
Subin B
Vinay N K
iii
Abstract
Signals can be viewed from dierent perspectives using dierent transforms. The
Fourier transform which allows us to observe the signal in terms of dierent fre-
quency components is widely used in signal processing and communication. Frac-
tional Fourier Transform (FrFT) is a generalized Fourier transform which allows us
to take transforms of fractional order also.
Theory of FrFT is developed from Fourier transform. For computation we move from
continuous to discrete domain and theory of Discrete Fractional Fourier Transform
(DFrFT) is discussed. A time ecient algorithm for DFrFT is also discussed. Theory
of designing optimal lter using FrFT is developed from rst principles. Optimal
lters are designed for some special cases and their performance is analyzed. Some
applications other than ltering is also discussed.
iv
Contents
Abstract iii
1 Introduction 1
1.1 Transforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Fourier Transform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.3 Time-Frequency Plane . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2 Fractional Fourier Transform 4
2.1 Fractional Fourier Transform from Fourier Transform . . . . . . . . . 4
2.1.1 Orthogonality of Eigenfunctions . . . . . . . . . . . . . . . . . 7
2.1.2 Orthonormality of Eigenfunctions . . . . . . . . . . . . . . . . 8
2.1.3 Completeness of Eigenfunctions . . . . . . . . . . . . . . . . . 9
2.2 Equation for Fractional Fourier Transform . . . . . . . . . . . . . . . 11
3 Discrete Fractional Fourier Transform 13
3.1 Time-Ecient Algorithm for nding FrFT . . . . . . . . . . . . . . . 13
3.2 Implementing Time-Ecient Algorithm in Matlab . . . . . . . . . . . 15
3.2.1 Matlab Code for FrFT . . . . . . . . . . . . . . . . . . . . . . 15
3.2.2 Fractional Fourier Transform of Delta function . . . . . . . . . 17
3.2.3 Fractional Fourier Transform of Sine function . . . . . . . . . 19
3.2.4 Fractional Fourier Transform of rectangular function . . . . . 21
4 Filtering in Fractional Fourier Domain 23
4.1 Filtering in Fractional Fourier Domain . . . . . . . . . . . . . . . . . 23
v
4.2 Optimal Filter Design . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.2.1 Example 1 : Chirp signal contaminated with White Gaussian
Noise. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.2.1.1 Observations . . . . . . . . . . . . . . . . . . . . . . 32
4.2.1.2 Matlab Code . . . . . . . . . . . . . . . . . . . . . . 32
4.2.2 Example 2 : Square pulse in Linear FM noise. . . . . . . . . . 34
4.2.2.1 Observation . . . . . . . . . . . . . . . . . . . . . . . 35
4.2.2.2 Matlab Code . . . . . . . . . . . . . . . . . . . . . . 35
4.3 Other Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
4.3.1 FrFT for Compression . . . . . . . . . . . . . . . . . . . . . . 40
4.3.2 Multipath Channel Estimation Using FrFT . . . . . . . . . . . 40
4.3.2.1 Matlab Code . . . . . . . . . . . . . . . . . . . . . . 41
4.3.3 FrFT for measuring the acceleration of a moving object in radial
direction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
5 Critical Evaluation and Conclusion 46
5.1 Critical Evaluation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
5.2 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Bibliography 48
vi
List of Figures
3.1 (a)Delta Function Input (b)FrFT at 22.5
0
(c)FrFT at 45
0
. . . . . . . . 17
3.2 (a) FrFT of Delta Function at 67.5
0
(b)FrFT of Delta Function at 90
0
18
3.3 (a) Sinusoidal Input, (b) FrFT at 22.5
0
for Sinusoidal Input (c)FrFT at
45
0
for Sinusoidal Input . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.4 (a) FrFT at 67.5
0
for Sinusoidal Input (b) FrFT at 90
0
for Sinusoidal
Input (c) Inverse FrFT . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.5 (a) Rectangular Function Input (b) FrFT at 22.5
0
for Rectangular Func-
tion Input (c) FrFT at 45
0
for Rectangular Function Input (d) FrFT at
67.5
0
for Rectangular Function Input . . . . . . . . . . . . . . . . . . . 21
3.6 (a) FrFT of Rect at 90
0
, (b) FrFT - Magnied view of (a), (c) Inverse
FrFT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.1 (a) Gaussian Signal (b) Chirp noise . . . . . . . . . . . . . . . . . . . . 24
4.2 (a) Gaussian Signal with chirp noise (b) FrFT of a at 72
0
(c) Part of
FrFT corresponding to chirp . . . . . . . . . . . . . . . . . . . . . . . . 25
4.3 (a) After windowing out FrFT corresponding to chirp (b) Chirp ex-
tracted by inverse FrFT (c) Gaussian extracted by inverse FrFT of (a) 26
4.4 (a) Chirp Signal (b)WGN added to Chirp Signal SNR = -6dB (c) Frac-
tional Fourier Transform of the signal at 82.5
0
s . . . . . . . . . . . . 30
4.5 (a)Optimum Multiplicative Filter (b)Extracted Chirp Signal SNR =
13dB (c) Variation of output noise power with fractional order . . . . . 31
4.6 (a) Square wave + Chirp noise, SNR = -20dB (b) FrFT at 76.5
0
. . . 35
4.7 (a) Optimal Filter (b) After de-noising, SNR=6 dB (c) Error After De-
modulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
vii
4.8 (a) Transmitted chirp signal (b) Received signal-Multi Path, WGN SNR
= -6 dB (c) Signal after FrFT for coecients 1, 0.8, 0.6 Angle = 80
0
42
1
Chapter 1
Introduction
1.1 Transforms
Transforms play vital roles in the analysis of signals and systems. Transforms help in
nding out the hidden properties of a signal, which are unrecognizable from the time
domain representation of the signal. The choice of the transform depends on the type
of the signal and the application. Fourier Transform, Laplace Transform, Wavelet
Transform etc are some of the widely used transform in the eld of communication,
signal processing and system design. Among these transforms Fourier transform is
most fundamental one.
1.2 Fourier Transform
The relation between output y(t) and input x(t) for a Linear Time Invariant system
is of the form
m

k=0
a
k
d
k
dt
k
y(t) =
n

k=0
b
k
d
k
dt
k
x(t) (1.1)
We can see that if the input is of the form e
jt
, output will follow the form k()e
jt
,
where k() is a complex value which is independent of time and depends only on .
We consider e
jt
as the component corresponding to frequency in the signal. In
order to understand how a LTI system works on a particular signal we have to get an
idea about the dierent frequency components present in the signal. It can be found
2
as

x(t), e
jt
_
=
1

2
_
+

x(t)e
jt
dt = X() (1.2)
X() is the Fourier transform of the signal x(t).
We can obtain the signal from its Fourier transform as follows.
x(t) =
1

2
_
+

X()e
jt
d (1.3)
1.3 Time-Frequency Plane
For convenience, we dene Fourier transform as,
F [x(t)] =
1

2
_
+

x()e
jt
d (1.4)
Consider the following property of Fourier transform.
F[x(t)] = X(t) (1.5)
FF[x(t)] = F
2
[x(t)] = x(t) (1.6)
FFF[x(t)] = F
3
[x(t)] = X(t) (1.7)
FFFF[x(t)] = F
4
[x(t)] = x(t) (1.8)
Taking Fourier transform -
once - gives the representation of signal in the frequency domain.
twice - gives representation of signal in the time domain with time axis reversed.
three times - gives the representation of signal in the frequency domain with
frequency axis reversed.
four times - retains the signal in the time domain itself.
3
This observation can be easily visualized using the idea of time-frequency plane.
Consider a plane with time as horizontal axis. As F
2
gives the representation along
inverted time axis which is at an angle of 180
0
with the original time axis, F should
give the representation along 90
0
rotated axis. i.e., Frequency axis is the vertical
axis here. Each time we take the Fourier transform, we get the representation of the
signal along an axis which is at an angle of 90
0
with the original axis. Now the curious
question is, is it possible to get the Fourier transform for intermediate angles? We
will see the answer in the next chapter.
4
Chapter 2
Fractional Fourier Transform
Fourier transform allows us to rotate the axis of representation of signal in T-F plane
by integral multiples of 90
0
only. If we can generalize this rotation operation for
intermediate angles also, then we will be able to use it for analyzing a wider class of
signals. Let F
p
represent taking Fourier transform p times. We call p as the order of
the Fourier transform operation.
If,
p = 1, then rotation is by

2
p = 2, then rotation is by
i.e., rotation obtained for p
th
order is p(

2
). Fourier transform allows p to take only
integer values. Fourier transform which is generalized so that p can take any fractional
value is called Fractional Fourier Transform (FrFT).
2.1 Fractional Fourier Transform from Fourier Trans-
form
Consider a cascaded structure of LTI systems of identical response H(). If the
input is of the form e
jt
, output y(t) will be [H()]
N
e
jt
, where N is the number of
systems in cascade. Suppose we are making a strange assumption that, there are only
1.5 systems. Then we may have to write y(t) = [H()]
1.5
e
jt
. We are not discussing
5
whether such a system is possible or not, but this assumption gives us a clue for
proceeding to Fractional Fourier transform from Fourier transform.[1][7]
Let (t) be a function that satises the relation
F[(t)] = (t) = (t) (2.1)
Then,
F
2
[(t)] =
2
(t) (2.2)
F
n
[(t)] =
n
(t) (2.3)
We can generalize this relation for fractional orders also, as, for fractional order p,
F
p
[(t)] =
p
(t) (2.4)
For any function that satises equation 2.1, we can nd the FrFT using this method.
Let
i
(t) be a set of functions such that,
F
p
[
i
(t)] =
i
(t) =
p
i

i
(t) (2.5)
And q(t) is a function of the form
q(t) =

i
a
i

i
(t) (2.6)
Now if we take Fourier Transform,
F[q(t)] = F
_

i
a
i

i
(t)
_
=

i
a
i
F [
i
(t)] =

i
a
i

i
(t) (2.7)
Generalizing this for order p, we get
F
p
[q(t)] = F
p
_

i
a
i

i
(t)
_
=

i
a
i
F
p
[
i
(t)] =

i
a
i

i
p

i
(t) (2.8)
6
Now our aim is to obtain such a set of functions
i
(t). It is clear that each
i
(t) is
an eigenfunction of Fourier transform operator. i.e,
i
(t) is invariant under Fourier
transform. It is well known that the Gaussian function, e
t
2
2
, is a function which is
invariant under Fourier transform.
We dene two operators and such that,
=
d
dt
and = t (2.9)
Now,
F[x(t)] = F
_
d
dt
[x(t)]
_
= jtF[x(t)] = jF[x(t)] (2.10)
Similarly,
F[x(t)] = F[tx(t)] = j
d
dt
[F[x(t)]] = jF[x(t)] (2.11)
On subtracting (2.11) from (2.10), we get
F( )[x(t)] = j( )F[x(t)] (2.12)
Suppose that a function (t) satises the relation,
F[(t)] = (t) = (t) (2.13)
Then,
F()[(t)] = j()F[(t)] = j()(t) = j()[(t)] (2.14)
i.e., We get a new eigenfunction
new
(t) and a new eigenvalue
new
given by,

new
(t) = ( )[(t)] (2.15)

new
= j (2.16)
7
This shows us how to generate a class of eigenfunctions from a single eigenfunction.
Let us start from Gaussian

o
(t) = e
t
2
2
= e
t
2
2
e
t
2
(2.17)
We know,
F[
0
(t)] =
0
(t) (2.18)
Using the above generating equation, we get,

1
(t) = ( )[
0
(t)] (2.19)

1
(t) =
_
d
dt
t
_

0
(t) (2.20)

1
(t) =
_
d
dt
t
_
e
t
2
2
e
t
2
(2.21)

1
(t) = e
t
2
2
_
d
1
dt
1
e
t
2
_
(2.22)
Similarly we get,

2
(t) = e
t
2
2
_
d
2
dt
2
e
t
2
_
(2.23)
In general,

n
(t) = e
t
2
2
_
d
n
dt
n
e
t
2
_
(2.24)
2.1.1 Orthogonality of Eigenfunctions
Theorem 1 : {
i
(t)} forms an orthogonal system.
Proof : We denote

n
(t) = e
t
2
2
d
n
dt
n
e
t
2
. (2.25)
The inner product

n
,
m
=
_

e
t
2 d
n
dt
n
e
t
2 d
m
dt
m
e
t
2
dt (2.26)
8
can be evaluated using integration by parts, which gives

n
,
m
=
_
e
t
2 d
n
dt
n
e
t
2 d
m1
dt
m1
e
t
2
_

d
dt
_
e
t
2 d
n
dt
n
e
t
2
_
d
m1
dt
m1
e
t
2
dt (2.27)
and hence all the terms under the dierential sign contain the factor e
t
2
. Since for
any k N, we have
t
k
e
t
2
0 as t (2.28)
the rst term in equation 2.27 vanishes. Therefore, repeated integration by parts
leads to

n
,
m
= 0 for n = m (2.29)
2.1.2 Orthonormality of Eigenfunctions
To obtain an orthonormal system we evaluate the norm

2
=
_

e
t
2
_
d
n
dt
n
e
t
2
_
2
dt. (2.30)
Integration by parts n times yields

2
= (1)
n
_

e
t
2 d
n
dt
n
_
d
n
dt
n
e
t
2
_
dt. (2.31)
Since
d
n
dt
n
e
t
2
is a polynomial of degree n, direct dierentiation gives,
e
t
2 d
n
dt
n
e
t
2
= (2t)
n
+ .... (2.32)
and
d
n
dt
n
_
d
n
dt
n
e
t
2
_
=
d
n
dt
n
((2t)
n
+ ....) = (1)
n
2
n
n!. (2.33)
Consequently,

2
= 2
n
n!
_

e
t
2
dt = 2
n
n!

(2.34)
9
Thus the functions

n
(t) =
1
_
2
n
n!

e
t
2
2
d
n
dt
n
e
t
2
(2.35)
form an orthonormal system in L
2
(R).
2.1.3 Completeness of Eigenfunctions
Theorem 2 : {
i
(t)} is complete in L
2
(R).
Proof :
We dene a generating function G(z, t) for
i
(t) as
G(z, t) =

i=0

i
(t)
z
i
i!
(2.36)
_
d
dt
t
_
G(z, t) =

i=0

i+1
(t)
z
i
i!
(2.37)
d
dz
G(z, t) =

i=0

i+1
(t)
z
i
i!
(2.38)
_
d
dt
t
_
G(z, t) =
d
dz
G(z, t) (2.39)
Multiplying the above equation with e
t
2
/2
on both sides and re-arranging,
d
dt
_
e
t
2
2
G(z, t)
_
=
d
dz
_
e
t
2
2
G(z, t)
_
(2.40)
Let
H(z, t) = e
t
2
2
G(z, t) (2.41)
Then,
d
dt
H(z, t) =
d
dz
H(z, t) (2.42)
Let H(z, t) be of the form H(z, t) = g(z)h(t)
d
dt
g(z)h(t) =
d
dz
g(z)h(t) (2.43)
10

(z)
g(z)
=
h

(t)
h(t)
= k. (2.44)
Where k is a constant.
g(z) = e
kz
and h(t) = e
kt
(2.45)
H(z, t) = e
k(z+t)
(2.46)
Notice that, the solution of H(z, t) can be in general of the form
H(z, t) = e
k(z+t)
n
(2.47)
G(z, t) = e
t
2
2
H(z, t) = e
t
2
2
e
k(z+t)
n
(2.48)
For z = 0, G(z, t) =
0
(t) = e
t
2
2
k = 1 and n = 2
Final generating function is
G(z, t) = e
t
2
2
e
(z+t)
2
(2.49)
Putting z =
1
2
y gives a new generating function,

G(y, t) = e

1
2
(yt)
2
e
y
2
4
= e
y
2
4

0
(y t) (2.50)
Let there exist a function p(t) in L
2
(R) which is orthogonal to
i
(t), i Z.

i
(t), p(t) = 0 (2.51)
_

G(y, t), p(t)


_
= 0 y R (2.52)
_

G(y, t)p(t)dt = 0 (2.53)


_

0
(y t)e
y
2
4
p(t)dt = 0 (2.54)
11
_

0
(y t)p(t)dt = 0 (2.55)
p(y)
0
(y) = 0 (2.56)
Taking Fourier transform,
P()
0
() = 0 (2.57)
But, () = 0
p() = 0 (2.58)
p(y) = 0 (2.59)
i.e., It is not possible to nd a non-zero function in L
2
(R) which is orthogonal to

i
(t), i Z. That is, {
i
(t), i Z} is dense in L
2
(R).
2.2 Equation for Fractional Fourier Transform
Any signal g(t) in L
2
(R) can be represented as the linear combination of
n
(t).
Mathematically,
g(t) =

n=0
a
n

n
(t) (2.60)
Where,
a
n
= g(t),
n
(t) (2.61)
a
n
can be written as
a
n
=
_
+

g(t)
n
(t)dt (2.62)
Taking Fourier transform on both sides,
F[g(t)]() =

n=0
a
n
F[
n
(t)]() (2.63)
That gives,
F[g(t)]() =

n=0
a
n

n
() (2.64)
12
For a fractional order p,
F
p
[g(t)]() =

n=0
a
n

p
n

n
(). (2.65)
Substituting for a
n
from equation 2.62 to the above equation,
F
p
[g(t)]() =

n=0
__
+

g(t)
n
(t)dt
_

p
n

n
() (2.66)
Interchanging summation and integration,
F
p
[g(t)]() =
_
+

g(t)
_

n=0

p
n

n
(t)
n
()
_
dt (2.67)
By simplifying the term in the bracket, we get
F

[g(t)]() =
_
+

g(t)
_
(1 j cot )
2
e
j(t
2
+
2
)
2
cotjt csc
dt (2.68)
Where = p

2
, = n, n =0,1,2...
Taking the constant term outside of integration,
F

[g(t)]() =
_
(1 j cot )
2
_
+

g(t)e
j(t
2
+
2
)
2
cotjt csc
dt (2.69)
The Equation 2.69 [?] can be used for nding the Fractional Fourier Transform and
Inverse Fractional Fourier transform for any g(t). We obtain the inverse Fractional
Fourier Transform by reversing the sign of .
13
Chapter 3
Discrete Fractional Fourier
Transform
We have seen the equation of continuous time FrFT. In order to implement this in a
practical application we have to get a discrete time version of these equations [4][8].
While discretising these equations we are eectively discretising the kernel itself. Once
we obtain the DFrFT equations, we can use them in DSP applications similar to as
that of DFT.
3.1 Time-Ecient Algorithm for nding FrFT
If we rewrite the equation 2.69 using variables x and y for t and respectively, the
power term in the exponential can be simplied as follows,
(x
2
+ y
2
)
2
cot xy csc =
x
2
2
tan

2
+
(x y)
2
2
csc
y
2
2
tan

2
(3.1)
The process of nding out the Fractional Fourier transform now consists of three steps
[3].
Step 1 - Multiplication by chirp in time domain
g
1
(x) =
_
(1 j cot )
2
g(x)e
j
x
2
2
tan

2
(3.2)
14
Step 2 - Convolution with the chirp
g
2
(y) =
_

g
1
(x)e
j
(yx)
2
2
csc
dx (3.3)
Step 3 - Multiplication with chirp in transformed domain
G(y) = g
3
(y) = g
2
(y)e
j(
y
2
2
tan

2
)
(3.4)
We should be able to calculate the samples of transform G(y), from the samples of
signal g(x). We will assume that the time-domain representation of our signal is
approximately conned to the interval [-
t
2
,
t
2
] and that its frequency-domain rep-
resentation is conned to the interval [-
f
2
,
f
2
]. With this statement, we mean that
a suciently large percentage of the signal energy is conned to these intervals. For a
given class of functions, this can be ensured by choosing t and f suciently large.
We then dene the time-bandwidth product N = tf, which is always greater than
unity because of the uncertainty relation.
Let us now introduce the scaling parameter s with the dimension of time and intro-
duce scaled coordinates x =
t
s
and U = fs. With these new coordinates, the time
and frequency domain representations will be conned to intervals of length (
t
s
) and
(fs). Let us choose s =
_
(
t
f
) so that the lengths of both intervals are now equal
to the dimensionless quantity
_
(
f
t
), which we will denote by x. In the newly
dened coordinates, our signal can be represented in both domains with N = x
2
samples spaced
1
x
.
For 0.5 |p| 1.5, | tan(/2)| < 1. The maximum frequency in the chirp will go up
to x; this can be sampled at frequency 2x.
For implementation in discrete domain the following are the steps to be followed [3].
15
Step 1:
g
1
_
m
2x
_
=
_
(1 j cot )
2
g
_
m
2x
_
e
j
2
tan

2
(
m
2x
)
2
, N n N (3.5)
Step 2:
g
2
_
n
2x
_
=
_

g
1
_
m
2x
_
e
j
(nm)
2
8x
2
csc
dx, N n N (3.6)
Step 3:
G
_
n
2x
_
= g
3
_
n
2x
_
= g
2
_
n
2x
_
e
j
2
tan

2
(
n
2x
)
2
N n N (3.7)
Prior to the rst step, input should be up-sampled (by factor 2) and after third step
result should be down-sampled(by factor 2). For fractional orders |p| < 0.5, take
inverse Fourier transform and use the above algorithm with order 1 + p.
Steps 1 and 3 have computational complexities of order n. Step 2 is a convolution
operation which can be computed with computation complexity of order nlog(n) by
using FFT.
3.2 Implementing Time-Ecient Algorithm in Mat-
lab
The algorithm stated above was implemented in Matlab and Fractional Fourier Trans-
forms of some common signals were found out for dierent fractional orders. The
Matlab code for fractional Fourier Transform and the transforms of some common
signals at various fractional orders are presented.
3.2.1 Matlab Code for FrFT
function frft2=frft(f,a)
16
N=length(f);
%---------interpolation at the begining-------------
f=interpft(f,2*N);
xaxis=(-N/2:N/2-1);
%...............variables for chirp.....................
alpha = a*pi/2;
talpha2 = tan(alpha/2);
sinalpha=sin(alpha);
%..................defining chirp.......................
chirp = exp(-i/N*pi/4*talpha2*(-N:N-1).^2);
%...............multiplying with chirp..................
for p=1:2*N-1
f(p)= f(p)*chirp(p);
end
%................convoluting with chirp.................
c = pi/N/sinalpha/4;
chirp2=exp(i*c*(-(2*N):2*N-1).^2);
Frft = conv(chirp2,f);
%............post multiplying with chirp................
Frft = chirp.*Frft(2*N:4*N-1);
%............multipling by the gain term...............
Frft = Frft(1:2*N)*exp(-i*pi*sign(sinalpha)/4
+i*alpha/2)/sqrt(abs(sinalpha))/2/sqrt(N);
%..........down sampling Frft to N terms..............
17
% length(frft)
frft2=Frft(1:2:2*N);
3.2.2 Fractional Fourier Transform of Delta function
Fractional Fourier Transform of Delta function for angles 22.5
0
, 45
0
, 67.5
0
, 90
0
are as
shown in gure 3.1 and 3.2
.
Figure 3.1: (a)Delta Function Input (b)FrFT at 22.5
0
(c)FrFT at 45
0
18
Figure 3.2: (a) FrFT of Delta Function at 67.5
0
(b)FrFT of Delta Function at 90
0
19
3.2.3 Fractional Fourier Transform of Sine function
Fractional Fourier Transform of Sinusoidal Signal for angles 22.5
0
, 45
0
, 67.5
0
, 90
0
are
as shown in gure 3.3 and 3.4.
Figure 3.3: (a) Sinusoidal Input, (b) FrFT at 22.5
0
for Sinusoidal Input (c)FrFT at
45
0
for Sinusoidal Input
20
Figure 3.4: (a) FrFT at 67.5
0
for Sinusoidal Input (b) FrFT at 90
0
for Sinusoidal
Input (c) Inverse FrFT
21
3.2.4 Fractional Fourier Transform of rectangular function
Fractional Fourier Transform of rectangular pulse for angles 22.5
0
, 45
0
, 67.5
0
, 90
0
are
as shown in gure 3.5 and 3.6.
Figure 3.5: (a) Rectangular Function Input (b) FrFT at 22.5
0
for Rectangular Func-
tion Input (c) FrFT at 45
0
for Rectangular Function Input (d) FrFT at 67.5
0
for
Rectangular Function Input
22
Figure 3.6: (a) FrFT of Rect at 90
0
, (b) FrFT - Magnied view of (a), (c) Inverse
FrFT
23
Chapter 4
Filtering in Fractional Fourier
Domain
Consider the case of two sine waves of dierent frequencies. They cannot be separated
in time domain using a multiplicative lter as they are completely overlapped in time
domain. But they are easily separable in frequency domain. Similarly, consider two
impulses that are shifted in time. They are inseparable using a multiplicative lter
in frequency domain. But can be separated in time domain. It gives us an intuition
that there should be signals which are separable at some particular fractional domain
but are overlapped in time and frequency domains. Such signals can be ltered using
FrFT.
4.1 Filtering in Fractional Fourier Domain
Our scheme of FrFT ltering is as follows.
1. Analyze the signal and obtain the fractional domain at which signals get sepa-
rated.
2. Take the FrFT of the signal.
3. Remove the interfering noise part using a multiplicative window.
4. Take inverse FrFT
24
The above scheme is applied in the case of Gaussian window contaminated with chirp
noise. Signals after each processing are shown. Notice that there are disturbances at
either side of the processing window because of the nite time duration of the window
we considered. See Fig. 4.1, Fig. 4.2 and Fig. 4.3
Figure 4.1: (a) Gaussian Signal (b) Chirp noise
25
Figure 4.2: (a) Gaussian Signal with chirp noise (b) FrFT of a at 72
0
(c) Part of FrFT
corresponding to chirp
26
Figure 4.3: (a) After windowing out FrFT corresponding to chirp (b) Chirp extracted
by inverse FrFT (c) Gaussian extracted by inverse FrFT of (a)
27
4.2 Optimal Filter Design
Consider a case where signals that we consider are overlapped in all the fractional
domains. In this case we have to choose a window which gives maximum separation
between the signals we consider [9]. Our modied scheme of FrFT ltering will be as
follows.
1. Take the FrFT of the lter in all Fractional domains.
2. Obtain the optimum multiplicative lter in all the fractional domains.
3. Eect ltering in all the fractional domains with corresponding window.
4. Calculate SNR obtained in each order.
5. Select the fractional order that gives highest SNR.
6. Take the inverse FrFT corresponding to that order which maximizes SNR.
It is impractical to consider all the innitesimally separated fractional orders. So we
discretize the fractional orders and searching is carried out over that set only. A trade
o is possible between processing time and optimality of fractional order. Another
method is to go for a coarse and ne searching.
Let x(t) be the transmitted signal and y(t) be the received signal after the eect of
noise n(t), such that,
y(t) = x(t) + n(t) (4.1)
We use a multiplicative lter g(t), such that we get an estimate of x(t), from y(t).
x(t) = g(t).y(t) (4.2)
Our aim is to nd out an optimal lter g(t) which minimizes J, where J is,
J = E
__

(x(t) g(t).y(t))
2

dt
_
(4.3)
28
At any instant, Let x be the transmitted value and y be the received value, assuming
channel delay to be zero.
y = x + n (4.4)
Even if x is a constant value, y will be a set of values because of n. Let x be the
ensemble of x.
i.e., x = [x
1
, x
2
, ..., x
n
]
T
such that, x
1
= x
2
= ..... = x
n
= x = x(t)
t=t
0
The ensemble of received values,
y = [y
1
, y
2
, ..., y
n
]
T
(4.5)
Now, x, the estimate of x will be,
x = g.y, such that g = g(t)
t=t
0
.
Our aim is to minimize the norm of j = x-g.y, which happens when j y. i.e.,
(x g.y)
T
.y = 0
x
T
.y g.y
T
.y = 0
g = (x
T
.y)/(y
T
.y) (4.6)
g(t)
t=t
0
=
R
xy
R
yy
t=t
0
(4.7)
We can generalize the result to fractional domains also as,
g
a
(t
a
)
t
a
=t
a
0
=
R
x
a
y
a
R
y
a
y
a
t
a
=t
a
0
(4.8)
For each a value we nd out a J value and we select the value of a which minimizes J.
29
4.2.1 Example 1 : Chirp signal contaminated with White
Gaussian Noise.
Consider the case of a Gaussian pulse contaminated with chirp noise. Gaussian will
remain Gaussian in all the fractional domains, while chirp forms an impulse at a
particular fractional order. Now we can separate the impulse corresponding to the
chirp with a rectangular window. Taking inverse FrFT, we get both signals separated.
See Fig.4.4 and Fig.4.5.
Here input is chirp x(t) and output is y(t).
y(t) = x(t) + n(t) (4.9)
In general,
y
a
(t) = x
a
(t) + n
a
(t) (4.10)
We have seen that the optimum lter in fractional domain is of the form
g
opt
(t
a
) =
R
x
y(t
1
, t
2
)
R
y
y(t
1
, t
2
)
|
t
1
=t
2
=t
a
(4.11)
g
opt
(t
a
) =
E[x
a
(t
a
)y

a
(t
a
)]
E[y
a
(t
a
)y

a
(t
a
)]
(4.12)
White noise will remain white in all the fractional domains.
E[n
a
(t
a
)] = 0 (4.13)
Expanding y
a
(t
a
) , we get
g
opt
(t
a
) =
[x
a
(t
a
)x

a
(t
a
)]
[x
a
(t
a
)x

a
(t
a
)] + E[n
a
(t
a
)n

a
(t
a
)]
(4.14)
Where E[n
a
(t
a
)n

a
(t
a
)] is the average noise power.
Multiplicative ltering is carried out for dierent values of a and the one gives maxi-
mum SNR is selected for ltering.
30
Figure 4.4: (a) Chirp Signal (b)WGN added to Chirp Signal SNR = -6dB (c) Frac-
tional Fourier Transform of the signal at 82.5
0
s
31
Figure 4.5: (a)Optimum Multiplicative Filter (b)Extracted Chirp Signal SNR = 13dB
(c) Variation of output noise power with fractional order
32
4.2.1.1 Observations
Rectangular window is taken for simplicity. It need not be the window that
maximizes the separation.
Error is mainly concentrated at the ends of the frame taken. This is because
of nite time width of the DFrFT window and also because of the rectangular
window ltering.
4.2.1.2 Matlab Code
%chirp in wgn.
%white noise remain white in all fractional domains.
clear variables
ch_len = 4096;
ch_k = .0001;
T = -1*ch_len/2+1:ch_len/2
%------------generating chirp------------------------
chirp = zeros(ch_len,1);
for m=1:ch_len
chirp(m) = 1*exp( j*((m-ch_len/2)^2 )*ch_k);
end
plot(T,real(chirp));
plt = 0;
%---------generating wgn---------------------------
pow =4.3;
nos = wgn(ch_len,1,10*log10(pow));
rcv = nos+chirp;
plot(T,real(rcv));
33
plt =0;
%---------calculating SNR--------------------------
snr = 10*log10(sum(chirp .*conj(chirp))/sum(nos.*conj(nos)))
m=1;
for ang = -90:1:-70
rcv_tr = frft(rcv,ang/90); % taking FrFT
plot(T,abs(rcv_tr));
plt = 0;
chirp_tr = frft(chirp,ang/90);
plot(T,abs(chirp_tr));
plt = 0;
rxx = abs(chirp_tr).^2;
plot(T,rxx);
plt=0;
g = rxx ./ (rxx+pow); %multiplicative filter
plot(T,g);
plt = 0;
rcvflt_tr = g .* rcv_tr; %applying filter
plot(T,abs(rcvflt_tr));
plt =0;
rcvflt = frft(rcvflt_tr, -1*ang/90);% taking inverse FrFT
plot(T,real(rcvflt));
plt = 0;
34
err = chirp - rcvflt;
plot(T,abs(err));
plt =0;
snr_flt = 10*log10(sum(chirp .*conj(chirp))/sum(err.*conj(err)))
err_str(m) = sum(err .* conj(err))/ch_len;
m=m+1;
[ang err_str(m-1)]
end
plot(-90:1:-70,err_str);y(t)=x(t)+0.8x(t-200T_s )+0.6x(t-450T_s)
4.2.2 Example 2 : Square pulse in Linear FM noise.
Linear FM noise is basically chirp signals. Linear FM signals can be used as wideband
interference signals. Chirp signal will transform to impulse at a particular fractional
Fourier domain and can be easily separated from message signal [6].
See Fig.4.6 and Fig.4.7
It involves two steps,
Identifying the proper fractional domain.
Removing the peak portions corresponding to chirp using an optimal multi-
plicative lter.
Proper fractional domain can be identied by carrying out a search on dierent frac-
tional domains for maximum peaking. A suitable function that gives the amount of
peaking in each fractional domain is
J =
_
|X
a
(t
a
)|
h
dt
a
, h > 2 (4.15)
35
Now using an optimal multiplicative lter at a fractional order that maximizes J,
we can lter out the chirp signal from message. Signal is to be taken as frames of
typically about 50% overlap in order to reduce the eect of windowing.
Figure 4.6: (a) Square wave + Chirp noise, SNR = -20dB (b) FrFT at 76.5
0
4.2.2.1 Observation
Noise after processing is mainly concentrated at the ends of the segment. This is
due to the nite length of the segment considered. As the pulse used is having lower
frequency components, whenever the part of the chirp with low frequency comes,
there is a higher chance of bit error.
4.2.2.2 Matlab Code
%Square pulse in chirp noise
clear variables
sym_len = 10;
%----generating random data sequence----------
data =pn(7,1);
no_sym = length(data);
36
Figure 4.7: (a) Optimal Filter (b) After de-noising, SNR=6 dB (c) Error After De-
modulation
37
%-----modulating with square pulse-------------
strt = 1;
for k = 1:no_sym
for m = 1:sym_len
trn(strt+m) = 2*data(k)-1;
end
strt = strt +sym_len;
end
stem(data);
plot(trn);
tot_len = no_sym * sym_len;
chirp = zeros(1,tot_len);
chirp_rate = .0006;
%--------generating chirp-----------------
for k = 1:tot_len+1
chirp(k) = 10*exp(j * (k-1)*(k-1)*chirp_rate);
end
plot(real(chirp));
ch_pow = sum(abs(chirp) .* abs(chirp));
rcv=trn+chirp;
sgn_pow = sum(abs(trn) .* abs(trn));
38
%----------snr calculation before processing-----------
snr = 10 * log10(sgn_pow/ch_pow)
plot(real(rcv));
%--------finding out the optimum angle--------------
for ang = -90:1:90
chirp_fr = frft(chirp, ang/90);
trn_fr = frft(trn, ang/90);
rcv_fr = frft(rcv, ang/90);
j = (sum((abs(rcv_fr)).^3)/tot_len);
plot(abs(chirp_fr));
plot(abs(trn_fr));
plot(abs(rcv_fr));
[ang, j]
end
trn_fr = frft(trn,-76.5/90);
plot(abs(trn_fr));
rcv_fr = frft(rcv,-76.5/90);
plot(abs(rcv_fr));
chirp_frd = frft(chirp,-76.5/90);
plot(abs(chirp_frd));
%-----------calculating the filter window-----------
39
g = (abs( chirp_frd)).^2;
g = ones(length(g),1)./(1+g);
plot(g);
rcv_fr = g.*rcv_fr;
plot(abs(rcv_fr));
rcv_dns = frft(rcv_fr,76.5/90);
plot(real(rcv_dns));
%--------calculating error power---------------
err_pow = sum(abs(rcv_dns-trn).*abs(rcv_dns-trn));
SNR1 = 10 * log10(sgn_pow/err_pow)
%------demodulating---------------
strt = 1;
for k = 1:no_sym
acc =0;
for m = 1:sym_len
acc = acc+rcv_dns(strt+m);
end
if(acc>0)
data_rcv(k) =1;
else
data_rcv(k) = 0;
end
strt = strt +sym_len;
40
end
%------------finding bit error--------------
err = abs(data - data_rcv);
stem(err);
4.3 Other Applications
4.3.1 FrFT for Compression
Transforms are widely used for signal compression applications. Consider the case
of a speech data sample. After applying Fourier transform, most of the energy will
be concentrated on very few frequency components. The fraction of energy in other
frequency components will be very small. After a thresholding all such low energy
components will be removed. That is, most of the coecients will be zero and the
resulting data can be easily compressed.
If we use FrFT instead of Fourier transform, we can search for a fractional order,
which gives highest energy compaction for a given signal. Thus compression can be
optimized. For signals with highly non stationary spectral characteristics, signal has
to be divided into nite length segments and fractional order optimization has to be
applied on each segment.
We observed that for speech and music, Fourier domain gives the best performance
for compression compared to other fractional domains.
4.3.2 Multipath Channel Estimation Using FrFT
Channel characteristics of a static multipath channel can be measured using FrFT. A
chirp signal is transmitted from the transmitter side and received signal is analyzed
41
using FrFT. Chirp signals gives sharp peaking in fractional domains decided by chirp
parameters. Consider the time shift property of FrFT.
F

[x(t )] (u) = F

[x(t)] (u cos )e
j

2
2
sin cos ju sin
(4.16)
If we consider the magnitude,
|F

[x(t )] (u)| = F

[x(t)] (u cos ) (4.17)


Received signal will have many chirp pulses, each with dierent delay and dierent
gain. Each impulse corresponding to dierent copies of transmitted chirp signal will
be shifted in fractional domain by cos() where is the time shift between the
chirps and is the fractional angle at which the transmitted chirp gives peaking.
The multipath model used is
y(t) = x(t) + 0.8x(t 200T
s
) + 0.6x(t 450T
s
) (4.18)
4.3.2.1 Matlab Code
%chirp filtering in a multipath channel+wgn
clear variables;
chirp_len = 600;
chirp = zeros(1,chirp_len);
chirp_rate = .0005;
%----generating chirp----------------------------
for k = 1:chirp_len
chirp(k) = exp(j * (k-1)*(k-1)*chirp_rate);
end
42
plot(real(chirp));
plt = 1;
tot_len = 1200;
rcv = zeros(1,tot_len);
%--------generating a multipath model output-----
Figure 4.8: (a) Transmitted chirp signal (b) Received signal-Multi Path, WGN SNR
= -6 dB (c) Signal after FrFT for coecients 1, 0.8, 0.6 Angle = 80
0
43
for k = 1:chirp_len
rcv(k) = rcv(k) + 1 * chirp(k);
rcv(200+k) = rcv(200+k) + .8 * chirp(k);
rcv(450+k) = rcv(450+k) + .6 * chirp(k);
end
plot(real(rcv));
plt = 1;
rcv_pow = sum(abs(rcv) .* abs(rcv));
%------------generating wgn----------------------
n = wgn(1,tot_len,2.6);
plot(n);
plt =1;
nos_pow = sum(abs(n) .* abs(n));
SNR = 10 * log(rcv_pow / nos_pow)
rcv = rcv + n;
plot(real(rcv));
plt = 1;
%----------search for optimum angle--------------
for ord = -90:1:90
rcv_fr = frft(rcv,ord/90);
plot(abs(rcv_fr));
plt =1;
ord
44
end
rcv_fr = frft(rcv, -80/90);
plot(abs(rcv_fr));
plt=0;
peak = 0;
magn_rcv_fr = abs(rcv_fr);
peak = max(magn_rcv_fr);
threshold = .4* peak;
for k =1:tot_len
if magn_rcv_fr(k) < threshold
magn_rcv_fr(k) = 0;
rcv_fr(k) = 0;
end
end
plot(abs(rcv_fr));
plt=0;
val = 0;
rcv_fr_est = zeros(1,tot_len);
rcv_fr_est(485:495) = rcv_fr(485:495);
plot(abs(rcv_fr_est));
plt = 0;
45
rcv_est = frft(rcv_fr_est, 80/90);
plot (real(rcv_est));
plt = 0;
4.3.3 FrFT for measuring the acceleration of a moving object
in radial direction
When illuminated by a constant frequency sinusoid, the reection from a radially
accelerating object will be a chirp. A search in dierent fractional domains is carried
out for obtaining the peak. Let
max
be the angle corresponding to maximum peaking
[5].
Transmitted signal
S
t
(t) = e
j2f
0
t
(4.19)
Received signal
S
r
(t) = e
j2f
0
t+j2
2v

0
t+
2a

0
t
2
+
0
(4.20)
The estimation of radial acceleration is
a
est
=

0
f
s
2T
cot
max
(4.21)
46
Chapter 5
Critical Evaluation and Conclusion
5.1 Critical Evaluation
Based on the study and analysis of the simulation results, we conclude that:
1. FrFT gives one more degree of freedom while designing signal processing tools
compared to Fourier transform.
2. Signal analysis in time-frequency plane is easy with the help of FrFT.
3. FrFT is computationally ecient and has the same order of complexity as that
of Fourier transform.
4. FrFT based computations are to be done frame-wise, which will result in errors
due to windowing and nite time duration. It can be reduced to a great extent
by taking frames with 50 percent overlap.
5. Most of the time, optimum order for computation will be unknown, as a result,
a search over a range of fractional orders should be carried out, which is a time
consuming task.
6. FrFT performs excellently if any of the signals that we consider is chirp-like.
7. Signals of non-stationary spectral characteristics can be analyzed using FrFT
with superior performance compared to Fourier transform.
47
8. For speech and music processing, advantage that we get by using FrFT is min-
imal.
9. Signals after FrFT processing will contain complex part, which should be con-
sidered for any further processing.
5.2 Conclusion
We can conclude that FrFT is a more general method for signal processing and sys-
tem design. FrFT based systems can replace the current frequency domain systems.
FrFT can have bigger roles in elds like radar and sonar where chirp signals are very
common. There is large scope of research in FrFT in the elds of spread spectrum
communication, signal watermarking and encryption, cognitive radio and so on. FrFT
can also be used for the design of faster optical signal processing systems.
48
Bibliography
[1] V. Namias, The Fractional Order Fourier Transform And Its Application To
Quantum Mechanics, J. Inst. Math. Applicat., Vol. 25, Pp. 241-265, 1980.
[2] A. C. Mcbride and F. H. Kerr, OnNamias Fractional Fourier Transforms, IMA
J. Appl. Math., Vol. 39, Pp. 159-175, 1987.
[3] Haldun M. Ozaktas, Orhan Ankan, M. Alper Kutay and Gozde Bozdak, Digi-
tal Computation Of The Fractional Fourier Transform, IEEE Transactions on
Signal Processing, Vol.44, No.9, September 1996.
[4] Soo-Chang Pei, Min-Hung Yeh and Chien-Cheng Tseng, Discrete Fractional
Fourier Transform Based On Orthogonal Projections, IEEE Transactions on
Signal Processing, Vol.47, No.5, May 1999.
[5] Wen-chao Du, Xue-qiang Gao and Guo-hong Wang, Using Frft To Estimate
Target Radial Acceleration, Proceedings of the 2007 International Conference
on Wavelet Analysis and Pattern Recognition, Beijing, China, 24 Nov. 2007.
[6] Qi Lin, Tao Ran and Zhou Si-Yong, Rejection of Linear FM Interference in DSSS
System Based on Fractional Fourier Transform, Journal of Beijing Institute of
Technology, Vol.14, No.2, 2005.
[7] Luis B. Almeida, The Fractional Fourier Transform and Time-Frequency Repre-
sentations, IEEE Transactions on Signal Processing, Vol.42, No.11, November
1994.
49
[8] Haldun M. Ozaktas, Orhan Ankan, M. Alper Kutay and Gozde Bozdaki, Digital
Computation of the Fractional Fourier Transform, IEEE Transactions on Signal
Processing, Vol.44, No.9,September 1996.
[9] M. Alper Kutay, Haldun M. Ozaktas, Orhan Arikan and Levent Onural, Op-
timal Filtering in Fractional Fourier Domains, IEEE Transactions on Signal
Processing, Vol.45, No.5, May 1997.

Potrebbero piacerti anche