Professional Documents
Culture Documents
SINUSOIDAL SIGNALS
x(t) = cos(2πf t + ϕ)
= cos(ωt + ϕ) (continuous time)
x[n] = cos(2πf n + ϕ)
= cos(ωn + ϕ) (discrete time)
2
Sinusoidal signals
A cos(ω t)
A
A sin(ω t)
−A
0 T/2 T 3T/2 2T
• Physical reasons:
- harmonic oscillators generate sinusoids, e.g., vibrating
structures
- waves consist of sinusoidals, e.g., acoustic waves or
electromagnetic waves used in wireless transmission
• Psychophysical reason:
- speech consists of superposition of sinusoids
- human ear detects frequencies
- human eye senses light of various frequencies
4
EXAMPLE:
TRANSMISSION OF A LOW-FREQUENCY SIGNAL USING
HIGH-FREQUENCY ELECTROMAGNETIC (RADIO) SIGNAL
- A POSSIBLE (CONVENTIONAL) METHOD:
AMPLITUDE MODULATION (AM)
Example: low-frequency signal
v(t) = 5 + 2 cos(2πf∆t), f∆ = 20 Hz
−2
−4
−6
−8
8
6
4
2
x 0
−2
−4
−6
−8
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
t
6
Frequency contents of transmitted signal
Trigonometric identity:
1 1
cos α cos β = cos(α − β) + cos(α + β)
2 2
⇒
7
⇒
5 Spectrum Spectrum
of v(t) of vc(t)
2
1
-
0 20 200 Frequency
Spectrum of x(t) 5
1 1
-
8
We see that a low-frequency signal in frequency range
0 ≤ fs ≤ fmax (baseband signal)
can be transmitted as a signal in the frequency range
fc − fmax ≤ f ≤ fc − fmax (”RF” (radio frequency) signal).
9
Representation of sinusoidal signal
C. Complex exponentials
10
A. Amplitude and phase
x(t) = A cos(2πf t + ϕ)
or
x(t) = A cos(ωt + ϕ)
where ω = 2πf is the angular frequency (radians/second)
11
B. Sine and cosine components
Hence:
a = A cos(ϕ), b = −A sin(ϕ)
and, conversely,
√
A = a2 + b2, ϕ = − arctan(b/a)
12
EXAMPLE
x(t)
1
−1
−2 0 2 4 6 8 10 12
Amplitude: A = 1
From figure we see that x(t) = cos(ω(t − 2)).
But x(t) = cos(ωt + ϕ) = cos(ω(t + ϕ/ω)
⇒
Phase: ϕ = −2ω = −0.4π radians or −0.4 · 180/π = −72◦
14
B. Sine and cosine components
x(t) = a cos(ωt) + b sin(ωt) where
a = cos(ϕ) = cos(−0.4π) = 0.3090
b = − sin(ϕ) = − sin(−0.4π) = 0.9511
1 x(t)
−1
−2 0 2 4 6 8 10 12
1 Cosine component
Sine component
−1
−2 0 2 4 6 8 10 12
Then
16
Streamlining the above procedure
We have:
17
Im 6
Then:
⇒
cos(ωt + ϕ) = Re (g(ϕ)g(ωt))
sin(ωt + ϕ) = Im (g(ϕ)g(ωt))
19
Properties of the complex function g(θ) = cos(θ) + j sin(θ):
- g(0) = 1
g(θ) = ejθ
20
Hence we have:
Euler’s relation
1 ¡ jθ −jθ
¢
cos(θ) = e +e
2
1 ¡ jθ −jθ
¢
sin(θ) = e −e
2j
21
It follows that
22
PREVIOUS EXAMPLE:
The signal
x(t) = A cos(ωt + ϕ)
where
a = A cos(ϕ), b = −A sin(ϕ)
or p
A= a2 + b2, ϕ = − arctan(b/a)
24
• Complex exponentials:
where
1 ∗ 1
c = (a − jb) , c = (a + jb)
2 2
or
a = 2Re(c), b = −2Im(c)
25
EXAMPLE - Signal transmission with reflected component
We have
y(t) = cos(ωt) + r cos(ω(t − τ ))
The problem can be solved in a straightforward way by
introducing complex exponential:
1 ¡ jωt −jωt
¢
x(t) = e +e
2
26
Then:
Here,
1¡ ¢ 1 ³ ´
1 + re−jωτ = 1 + r cos(ωτ ) − jr sin(ωτ )
2 2
and
1¡ ¢ 1 ³ ´
1 + rejωτ = 1 + r cos(ωτ ) + jr sin(ωτ )
2 2
27
Then, defining
a = 1 + r cos(ωτ ), b = r sin(ωτ )
1 1
y(t) = (a − jb) e + (a + jb) e−jωt
jωt
2 2
= a cos(ωt) + b sin(ωt)
= Ay cos(ωt + ϕy )
where p
Ay = a2 + b2, ϕy = − arctan(b/a)
28
SOME SIMPLIFICATIONS
As
1 1
a cos(ωt) + b sin(ωt) = (a − jb) e + (a + jb) e−jωt
jωt
2 2
it follows that it is sufficient to consider the complex-valued
signal
1
(a − jb) ejωt
2
Here, the complex number
1
c = (a − jb)
2
determines the signal’s amplitude and phase.
29
To see how this works, consider a linear dynamical system with
input x(t) and output y(t)
x(t) -
G -
y(t)
x(t) = cos(ωt)
30
As the phase shift introduces a combination of cosines and
sines, the problem can be simplified by embedding the input
signal into a larger class of signals involving both a cosine and
a sine component.
It turns out that a convenient way to do this is to consider the
complex input signal
31
or
yc(t) = c ejωt
= c xc(t)
where c = Aejϕ.
32
Complex number z = x + jy
Im 6
|x| z = x + jy
jy *
©
©©
© ©©
©
|z| © ©©
©©
|y|
© ©
© ©©
©
©©
©© θ -
x Re
⇒
z = |z| (cos θ + j sin θ) = |z|ejθ
33
The representation
z = |z|ejθ
is called the polar form of the complex number z.
θ = arg z: argument of z
We have: p
|z| = x2 + y 2
and
y
tan θ =
x
34
As xy = −y
−x , the relation tan θ = y
x does not determine θ
uniquely.
A unique characterization of θ n terms of x and y is obtained
as y
arctan x, if x ≥ 0
θ=
arctan xy + π, if x < 0
z ∗ = x − jy
or
z ∗ = |z|e−jθ
35
MATLAB:
x: real(z)
y: imag(z)
|z|: abs(z)
z ∗: conj(z)
36
EXAMPLE
with input
x(n) = cos(ωn)
38
Then
1
c(ω) =
1 − 0.5e−jω
is the frequency response of the filter.
39
Writing c(ω) in polar form,
c(ω) = A(ω)ejϕ(ω)
yc(n) = c(ω)ejωn
= A(ω)ejϕ(ω)ejωn
= A(ω)ej(ωn+ϕ(ω))
= A(ω) cos(ωn + ϕ(ω)) + jA(ω) sin(ωn + ϕ(ω))
40