Notes 03
Notes 03
Notes 03
Time Domain
John M Pauly
Next Time:
I Frequency domain description of signals and systems
Signals and Systems, Part 1
I A signal is a real (or complex) valued function of one or more real
variables.
I voltage across a resistor or current through inductor
I pressure at a point in the ocean
I amount of rain at 37.4225 N, 122.1653 W
I amount of rain at 16:00 UTC as function of latitude,longitude
I price of Google stock at end of each trading day
In this course the independent variable is almost always time.
I Physical signals have units, e.g., volts or psi (Si pascal = N/m2 )
I Signals can (usually or in principle) be measured:
I g(t) 7→ g(0) (value at specific time, 0)
I g(t) 7→ ∞ g(u) du (total area)
R
−∞
R∞
I g(t) 7→
−∞
|g(u)|2 du (total energy)
Signals and Systems (cont.)
I A system is an object that takes signals as inputs and produces signals
as outputs.
g(t) −→ system −→ f (t)
I These both have a finite energy, so the power goes to zero as T goes to
infinity.
I If g(t) is complex valued, then |g(t)|2 is the square of
magnitude/modulus, g(t)g ∗ (t).
Signal Energy and Power
I A signal is periodic if it repeats: g(t + T ) = g(t) for every t.
E.g., sin t has period 2π and tan t has period π.
I The power of a periodic signal g(t) is
a+T
1
Z
Pg = |g(t)|2 dt
T a
I There are lots of other examples (dBA for accoustics, dBi for antennas)
I One bel (B) is too large to be useful.
The bel is named for Alexander Graham Bell (1847–1922). The dB was adopted by NBS in 1931.
It is not an SI unit.
dB in Communications
I Expressing power in dB is very useful for communication systems
I Communication systems often have a wide range of amplitudes (1 kW
transmitted, 1 µW received).
I Many of the components in the system have multiplicative effects (path
loss, antenna gain)
I Example
I Transmit 10 W (+40 dBm)
I Transmit antenna gain of 10 (+10 dB)
I Path loss of 109 (-90 dB)
I Receive antenna gain 10 (+10 dB)
I Received signal is 40 dBm + 10dB - 90dB + 10dB = -30 dBm
t
t
g(t)
g(t)
t
Operations on Signals: Time Shift
For a continuous-time signal x(t), and a time t1 > 0,
I Replacing t with t − t1 gives a delayed signal x(t − t1 )
I Replacing t with t + t1 gives an advanced signal x(t + t1 )
2 2
x(t + 1) x(t)
1 1
-2 -1 0 1 2 -2 -1 0 1 2
t t
2
x(t − 1)
1
-2 -1 0 1 2
t
2 2
b=1 b=2
1
x(t) 1 x(2t)
-2 -1 0 1 2 -2 -1 0 1 2
t t
b = 1/2 2
1 x(t/2)
-3 -2 -1 0 1 2 3 t
Operations on Signals (cont.)
Replace t with −t, time reversed signal is x(−t)
x(t)
x(−t)
t
Unit rectangle rect(t)
Unit rectangle signal:
1 if |t| ≤ 1/2
rect(t) =
0 otherwise.
1
rect(t)
t
-1/2 0 1/2
1
Δ(t)
-1/2 1/2 t
0
This is an unusual definition due to the book. Usually ∆(t) is 2 units wide,
so that it is the convolution of two rect(t) functions.
Unit Step Function u(t)
I The Heaviside unit step function is defined by
(
1 t>0
u(t) =
0 t<0
1
u(t)
−2 −1 0 1 2 t
The unit step function corresponds to turning on at time 0.
I Unit step is integral of unit impulse:
Z t
u(t) = δ(u) du ⇒ δ 0 (t) = u(t)
−∞
Oliver Heaviside (1850-1925) was a self-taught English electrical engineer, mathematician, and physicist who adapted complex
numbers to the study of electrical circuits, invented mathematical techniques to the solution of differential equations (later found
to be equivalent to Laplace transforms), reformulated Maxwell’s field equations in terms of electric and magnetic forces and
energy flux, and independently co-formulated vector analysis.
The sinc(.) function
I We will define the sinc(.) function differently than in EE102A, where we
used the definition
sin(πt)
sincπ (t) =
πt
This is a function that is 1 a t = 0, and zero at the integers. We’ll call
this sincπ (t) because it includes the π factor in its argument.
I In this course, we will define sinc(.) as
sin(t)
sinc(t) =
t
This still has an amplitude of 1 at t = 0, but has zeros at multiples of π.
The two are related by
sinc(πt) = sincπ (t)
The sinc(.) function
This looks like this
1
sin(t)
sinc(t) =
t
2⇡ ⇡ 0 ⇡ 2⇡ t
Unit Impulse Signal
(Dirac’s) delta function or unit impulse δ is an idealization of a signal
that
I is very large near t = 0
I is very small away from t = 0
I has integral 1
for example:
1/ε 1/ε
ε
t
t 2ε
gn(t)
1 ε
ε g2(t)
g1(t) t
−1 0 1
The area is one, but it gets narrower and narrower.
I Paul A. M. Dirac “defined” δ(t) by
Z ∞
δ(t) 6= 0 if t 6= 0 and δ(t) dt = 1
−∞
I The area of the impulse is important; the energy of δ(t) is not defined.
Properties of Unit Impulse Signal
I Sampling property:
Z ∞ Z ∞
ϕ(t)δ(t − T ) dt = ϕ(t + T )δ(t) dt
−∞ −∞
Z ∞ Z ∞
= ϕ(T )δ(t) dt = ϕ(T ) δ(t) dt = ϕ(T )
−∞ −∞
ϕ(t)δ(t) = ϕ(0)δ(t)
gn(t)
f (t)
f (0)
t
−1 0 1
I If f (t) is continuous, then the only value that matters is f (0).
More Complex Signals
Many more interesting signals can be made up by combining simple signal
elements.
Example: Pulsed Doppler RF Waveform (we’ll talk about this later!)
τ cos(ωt)
A
0
−A
-2T -T 0 T 2T
RF cosine gated on for τ µs, repeated every T µs, for a total of N pulses.
More Complex Signals
Start with a simple rect(t) pulse
1 rect(t)
−1 −1/2 0 1/2 1
-2T -T 0 T 2T
-2T -T 0 T 2T
Therefore
eit + e−it eit − e−it
cos t = and sin t =
2 2i
The Fourier series coefficients for cos t are, . . . C−2 , C−1 , C0 , C1 , C2 , . . .
. . . , 0, 0, 21 , 0, 12 , 0, 0, . . .
0.5 1
sinc(⇡n/2)
2
4 3 2 1 0 1 2 3 4 n
Square Wave (cont.)
N=1 N=3
1.2 1.5
1
1
0.8
0.6
0.5
0.4
0.2
0
0
−0.2 −0.5
−4 −2 0 2 4 −2 0 2
N=5 N=7
1.5 1.5
1 1
0.5 0.5
0 0
−0.5 −0.5
−2 0 2 −2 0 2