Download Trigonometric FS - The University of Jordan

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Lecture 10:
EE 221: Signals Analysis and Systems
Instructor: Dr. Ghazi Al Sukkar
Dept. of Electrical Engineering
The University of Jordan
Email: [email protected]
Compact (Combined) trigonometric Form
๏ฏ
For a periodic signal ๐‘ฅ(๐‘ก) with period ๐‘‡๐‘œ the compact
trigonometric form of Fourier series is:
โˆž
๐‘ฅ ๐‘ก = ๐ด0 +
๐ด๐‘› cos ๐‘›๐œ”๐‘œ ๐‘ก + ๐œƒ๐‘›
๐‘›=1
๏ฏ
How?
โˆ— or ๐‘ โˆ— = ๐‘
For real ๐‘ฅ(๐‘ก): ๐‘๐‘› = ๐‘โˆ’๐‘›
๐‘›
โˆ’๐‘›
But
๐‘๐‘› = ๐‘๐‘› ๐‘’ ๐‘—๐œƒ๐‘› = ๐‘๐‘› ๐‘’ ๐‘—โˆก๐‘๐‘›
โŸน ๐‘โˆ’๐‘› = ๐‘โˆ’๐‘› ๐‘’ ๐‘—๐œƒโˆ’๐‘› = ๐‘๐‘›โˆ— = ๐‘๐‘› ๐‘’ โˆ’๐‘—๐œƒ๐‘›
Hence,
๐‘โˆ’๐‘› = ๐‘๐‘› (The Magnitude spectrum is an even function of ๐‘›)
๐œƒโˆ’๐‘› = โˆ’๐œƒ๐‘› (The phase spectrum is an odd function of ๐‘›)
Spring 2014
2
Cont..
๏ฏ
From the exponential form
โˆž
๐‘๐‘› ๐‘’ ๐‘—๐‘›๐œ”๐‘œ ๐‘ก
๐‘ฅ ๐‘ก =
๐‘›=โˆ’โˆž
โˆ’๐‘—๐œ”๐‘œ ๐‘ก
+ ๐‘โˆ’1 ๐‘’
+ ๐‘0 + ๐‘1 ๐‘’ ๐‘—๐œ”๐‘œ ๐‘ก + ๐‘2 ๐‘’ ๐‘—2๐œ”๐‘œ๐‘ก + โ‹ฏ
โŸน ๐‘โˆ’๐‘› ๐‘’ โˆ’๐‘—๐‘›๐œ”๐‘œ๐‘ก + ๐‘๐‘› ๐‘’ ๐‘—๐‘›๐œ”๐‘œ๐‘ก
= ๐‘โˆ’๐‘› ๐‘’ ๐‘—๐œƒโˆ’๐‘› ๐‘’ โˆ’๐‘—๐‘›๐œ”๐‘œ ๐‘ก + ๐‘๐‘› ๐‘’ ๐‘—๐œƒ๐‘› ๐‘’ ๐‘—๐‘›๐œ”๐‘œ๐‘ก
= ๐‘๐‘› ๐‘’ โˆ’๐‘—๐œƒ๐‘› ๐‘’ โˆ’๐‘—๐‘›๐œ”๐‘œ ๐‘ก + ๐‘๐‘› ๐‘’ ๐‘—๐œƒ๐‘› ๐‘’ ๐‘—๐‘›๐œ”๐‘œ๐‘ก
2
โˆ’๐‘—
๐‘›๐œ”
๐‘ก+๐œƒ
๐‘—
๐‘›๐œ”
๐‘ก+๐œƒ
๐‘œ
๐‘›
๐‘œ
๐‘›
= ๐‘๐‘› ๐‘’
+๐‘’
×
2
= 2 ๐‘๐‘› cos ๐‘›๐œ”๐‘œ ๐‘ก + ๐œƒ๐‘›
๐‘ฅ ๐‘ก = โ‹ฏ + ๐‘โˆ’2 ๐‘’
โˆ’๐‘—2๐œ”๐‘œ ๐‘ก
โˆž
โŸน ๐‘ฅ ๐‘ก = ๐‘0 +
2 ๐‘๐‘› cos ๐‘›๐œ”๐‘œ ๐‘ก + ๐œƒ๐‘›
๐‘›=1
The compact form is:
โˆž
๐‘ฅ ๐‘ก = ๐ด0 +
๐ด๐‘› cos ๐‘›๐œ”๐‘œ ๐‘ก + ๐œƒ๐‘›
๐‘›=1
Hence: ๐ด0 = ๐‘0 (The average value)
๐ด๐‘› = 2 ๐‘๐‘›
Spring 2014
3
Cont..
๐ด๐‘› represents the single-sided magnitude spectrum.
2 ๐‘๐‘› =
4๐‘˜
๐œ‹
4๐‘˜
, ๐‘› ๐‘œ๐‘‘๐‘‘
๐‘›๐œ‹
0, ๐‘› ๐‘’๐‘ฃ๐‘’๐‘›
4๐‘˜
3๐œ‹
4๐‘˜
5๐œ‹
๐œ”๐‘œ 2๐œ”๐‘œ 3๐œ”๐‘œ 4๐œ”๐‘œ 5๐œ”๐‘œ
Spring 2014
โ€ฆ
๐‘›๐œ”๐‘œ
4
Trigonometric form of Fourier Series
๏ฏ
The trigonometric form of a periodic signal ๐‘ฅ(๐‘ก) with period ๐‘‡๐‘œ
is:
โˆž
๐‘ฅ ๐‘ก = ๐ด0 +
๐‘Ž๐‘› cos ๐‘›๐œ”๐‘œ ๐‘ก + ๐‘๐‘› sin ๐‘›๐œ”๐‘œ ๐‘ก
๐‘›=1
๏ฏ How?
Return back to the compact trigonometric form:
โˆž
๐‘ฅ ๐‘ก = ๐‘0 +
2 ๐‘๐‘› cos ๐‘›๐œ”๐‘œ ๐‘ก + ๐œƒ๐‘›
๐‘›=1
From the trigonometric identity:
cos ๐›ผ + ๐›ฝ = cos ๐›ผ cos ๐›ฝ โˆ’ sin ๐›ผ sin ๐›ฝ
โˆž
โŸน ๐‘ฅ ๐‘ก = ๐‘0 +
โˆž
๐‘ฅ ๐‘ก = ๐‘0 +
2 ๐‘๐‘› cos ๐‘›๐œ”๐‘œ ๐‘ก cos ๐œƒ๐‘› โˆ’ sin ๐‘›๐œ”๐‘œ ๐‘ก sin ๐œƒ๐‘›
๐‘›=1
2 ๐‘๐‘› cos ๐œƒ๐‘› cos ๐‘›๐œ”๐‘œ ๐‘ก โˆ’ 2 ๐‘๐‘› sin ๐œƒ๐‘› sin ๐‘›๐œ”๐‘œ ๐‘ก
๐‘›=1
Spring 2014
5
Cont..
๏ฏ
But:
๐‘๐‘› = ๐‘๐‘› ๐‘’ ๐‘—๐œƒ๐‘› = ๐‘๐‘› cos ๐œƒ๐‘› + ๐‘— ๐‘๐‘› sin ๐œƒ๐‘›
2๐‘๐‘› = 2 ๐‘๐‘› ๐‘’ ๐‘—๐œƒ๐‘› = 2 ๐‘๐‘› cos ๐œƒ๐‘› + ๐‘—2 ๐‘๐‘› sin ๐œƒ๐‘›
Let ๐‘Ž๐‘› = 2 ๐‘๐‘› cos ๐œƒ๐‘› and ๐‘๐‘› = โˆ’2 ๐‘๐‘› sin ๐œƒ๐‘›
โŸน 2๐‘๐‘› = ๐‘Ž๐‘› โˆ’ ๐‘—๐‘๐‘›
โˆž
๐‘ฅ ๐‘ก = ๐‘0 +
๐‘Ž๐‘› cos ๐‘›๐œ”๐‘œ ๐‘ก + ๐‘๐‘› sin ๐‘›๐œ”๐‘œ ๐‘ก
๐‘›=1
โˆž
๐‘ฅ ๐‘ก = ๐ด0 +
๐‘Ž๐‘› cos ๐‘›๐œ”๐‘œ ๐‘ก + ๐‘๐‘› sin ๐‘›๐œ”๐‘œ ๐‘ก
๐‘›=1
โŸน ๐ด0 = ๐‘0
๐‘Ž๐‘› ๐‘—๐‘๐‘›
๐‘๐‘› =
โˆ’
2
2
โˆ’๐‘๐‘›
โˆ’1
๐œƒ๐‘› = tan
๐‘Ž๐‘›
Spring 2014
6
Cont..
1
๐‘๐‘› = 2 ๐‘Ž๐‘›2 + ๐‘๐‘›2
๏ฏ
๏ฏ
๐‘Ž๐‘› = ๐ด๐‘› cos ๐œƒ๐‘› and ๐‘๐‘› = โˆ’๐ด๐‘› sin ๐œƒ๐‘›
๏ฏ
๐ด๐‘› =
๐‘๐‘› =
1
๐‘‡๐‘œ
๐‘Ž๐‘›2 + ๐‘๐‘›2
๐‘ฅ(๐‘ก)๐‘’ โˆ’๐‘—๐‘›๐œ”๐‘œ๐‘ก ๐‘‘๐‘ก = ๐‘๐‘› =
๐‘‡๐‘œ
๐‘๐‘› =
1
๐‘‡๐‘œ
1
๐‘‡๐‘œ
๐‘ฅ(๐‘ก) cos ๐‘›๐œ”๐‘œ ๐‘ก โˆ’ ๐‘— sin ๐‘›๐œ”๐‘œ ๐‘ก
๐‘‡๐‘œ
๐‘ฅ(๐‘ก) cos ๐‘›๐œ”๐‘œ ๐‘ก ๐‘‘๐‘ก โˆ’ ๐‘—
๐‘‡๐‘œ
๐‘‘๐‘ก
1
๐‘‡๐‘œ
๐‘ฅ(๐‘ก) sin ๐‘›๐œ”๐‘œ ๐‘ก ๐‘‘๐‘ก
๐‘‡๐‘œ
But:
๐‘Ž๐‘› ๐‘—๐‘๐‘›
๐‘๐‘› =
โˆ’
2
2
2
โŸน ๐‘Ž๐‘› =
๐‘ฅ(๐‘ก) cos ๐‘›๐œ”๐‘œ ๐‘ก ๐‘‘๐‘ก
๐‘‡๐‘œ
๐‘‡๐‘œ
2
๐‘๐‘› =
๐‘‡๐‘œ
Spring 2014
๐‘ฅ(๐‘ก) sin ๐‘›๐œ”๐‘œ ๐‘ก ๐‘‘๐‘ก
๐‘‡๐‘œ
7
Cont..
๏ฏ
Example: Find the trigonometric form of Fourier series for ๐‘ฅ(๐‘ก).
๐‘ฅ(๐‘ก)
1
โ€ฆ
โ€ฆ
โˆ’0.5
0.5
0
1
1.5
๐‘ก
โˆ’1
โˆž
๐‘ฅ ๐‘ก = ๐ด0 +
๐‘Ž๐‘› cos ๐‘›๐œ”๐‘œ ๐‘ก + ๐‘๐‘› sin ๐‘›๐œ”๐‘œ ๐‘ก
๐‘›=1
๐‘‡๐‘œ = 2 โŸน ๐œ”๐‘œ =
๐ด0 = ๐ถ0 =
Spring 2014
1
๐‘‡๐‘œ
2๐œ‹
=๐œ‹
2
๐‘ฅ ๐‘ก ๐‘‘๐‘ก = 0
๐‘‡๐‘œ
8
Cont..
๐‘Ž๐‘› =
2
2
1.5
0.5
๐‘ฅ(๐‘ก) cos ๐‘›๐œ‹๐‘ก ๐‘‘๐‘ก =
โˆ’0.5
1.5
2๐‘ก cos ๐‘›๐œ‹๐‘ก ๐‘‘๐‘ก +
โˆ’0.5
โˆ’2 ๐‘ก โˆ’ 1 cos ๐‘›๐œ‹๐‘ก ๐‘‘๐‘ก
0.5
Integration by parts or from tables:
๐‘
๐‘Ž
1
๐‘ก cos ๐‘˜๐‘ก ๐‘‘๐‘ก = 2 cos ๐‘˜๐‘ก + ๐‘˜๐‘ก sin ๐‘˜๐‘ก |๐‘๐‘Ž
๐‘˜
โŸน ๐‘Ž๐‘› = 0
๐‘๐‘› =
2
2
1.5
0.5
๐‘ฅ(๐‘ก) sin ๐‘›๐œ‹๐‘ก ๐‘‘๐‘ก =
โˆ’0.5
1.5
2๐‘ก sin ๐‘›๐œ‹๐‘ก ๐‘‘๐‘ก +
โˆ’0.5
โˆ’2 ๐‘ก โˆ’ 1 sin ๐‘›๐œ‹๐‘ก ๐‘‘๐‘ก
0.5
Again integration by parts of from tables:
๐‘
๐‘Ž
Spring 2014
1
๐‘ก sin ๐‘˜๐‘ก ๐‘‘๐‘ก = 2 sin ๐‘˜๐‘ก + ๐‘˜๐‘ก cos ๐‘˜๐‘ก |๐‘๐‘Ž
๐‘˜
9
Cont..
0, ๐‘› ๐‘’๐‘ฃ๐‘’๐‘›
8
, ๐‘› = 1,5,9,13, โ€ฆ
๐‘›๐œ‹ 2
โŸน ๐‘๐‘› =
8
โˆ’
, ๐‘› = 3,7,11,15, โ€ฆ
๐‘›๐œ‹ 2
8
1
1
1
โŸน ๐‘ฅ ๐‘ก = 2 sin ๐œ‹๐‘ก โˆ’ sin 3๐œ‹๐‘ก +
sin 5๐œ‹๐‘ก โˆ’
sin 7๐œ‹๐‘ก + โ‹ฏ
๐œ‹
9
25
49
๏ฏ To find the combined trigonometric form, we use the identity:
๐œ‹
± sin ๐‘ฅ = cos ๐‘ฅ โˆ“
2
โŸน๐‘ฅ ๐‘ก
8
๐œ‹
1
๐œ‹
1
๐œ‹
1
๐œ‹
= 2 cos ๐œ‹๐‘ก โˆ’
+ cos 3๐œ‹๐‘ก +
+
cos 5๐œ‹๐‘ก โˆ’
+
cos 7๐œ‹๐‘ก +
๐œ‹
2
9
2
25
2
49
2
โˆž
8
1
๐œ‹
๐‘š+1
๐‘ฅ ๐‘ก = 2
cos
2๐‘š
+
1
๐œ‹๐‘ก
+
โˆ’1
๐œ‹
2๐‘š + 1 2
2
๐‘š=0
Spring 2014
10
Existence of Fourier Series (Dirichlet Conditions)
๏ฏ
A periodic signal ๐‘ฅ(๐‘ก) can be expanded into a Fourier series if it
satisfies Dirichlet conditions (sufficient but are not necessary):
๏ฎ
๏ฎ
๐‘ฅ(๐‘ก) has at most a finite number of discontinuities in one period.
๐‘ฅ(๐‘ก) has at most a finite number of maxima and minima in one
period.
๏ฎ
๐‘ฅ(๐‘ก) is bounded or
๐‘‡๐‘œ
๐‘ฅ(๐‘ก) ๐‘‘๐‘ก < โˆž (absolutely integrable) this will
include the singularity functions.
๏ฏ
If ๐‘ฅ(๐‘ก) satisfies the Dirichlet conditions then the corresponding
Fourier series is convergent, i.e.,
โˆž
๐‘๐‘› ๐‘’ ๐‘—๐‘›๐œ”๐‘œ ๐œ
๐‘ฅ ๐œ =
๐‘›=โˆ’โˆž
๏ฎ At points of discontinuity, the series converges to the mean of the
limits approached by ๐‘ฅ(๐‘ก) from the right and from the left, i.e.,
โˆž
โˆ’
+
๐‘ฅ
๐œ
+
๐‘ฅ(๐œ
)
๐‘ฅ(๐‘ก)
๐‘๐‘› ๐‘’ ๐‘—๐‘›๐œ”๐‘œ๐œ =
2
๐‘›=โˆ’โˆž
Where: ๐‘ฅ ๐œ โˆ’ = limโˆ’ ๐‘ฅ(๐‘ก) and ๐‘ฅ ๐œ + = lim+ ๐‘ฅ(๐‘ก)
๐‘กโ†’๐œ
Spring 2014
๐‘กโ†’๐œ
๐‘ก
๐œ
11
Cont..
๏ฏ
Example:
๐‘ฅ(๐‘ก)
1
โ€ฆ
โ€ฆ
โˆ’2๐œ‹
๏ฏ
โˆ’๐œ‹
โˆ’
1
5
1
7
๐œ‹
2
๐œ‹
2
๐œ‹
2๐œ‹
๐‘ก
Using Fourier series
1 2
1
1
1
๐‘ฅ(๐‘ก) = + cos ๐‘ก โˆ’ cos 3๐‘ก + cos 5๐‘ก โˆ’ cos 7๐‘ก + โ‹ฏ
2 ๐œ‹
3
5
7
๏ฎ
1
2
๐‘ฅ 0 = +
1
3
1
5
2
๐œ‹
1
3
1โˆ’ + โˆ’ +โ‹ฏ
1
7
But 1 โˆ’ + โˆ’ + โ‹ฏ =
๐œ‹
4
โŸน๐‘ฅ 0 =
๏ฎ
๐‘ฅ
๐œ‹
2
1
2
= +
2
๐œ‹
0+0+โ‹ฏ =
1 2 ๐œ‹
+ โˆ™ =1
2 ๐œ‹ 4
1
2
lim
๐‘ฅ(๐‘ก) = 1, lim + ๐‘ฅ(๐‘ก) = 0
๐œ‹ โˆ’
๐‘กโ†’
๐‘กโ†’
2
โŸน๐‘ฅ
Spring 2014
๐œ‹
2
๐œ‹
1+0 1
=
=
2
2
2
12
Related documents