Professional Documents
Culture Documents
1/16
Sinusoidal Time Function
A sinusoid is completely defined by its three parameters:
• Amplitude A (for us typically in volts or amps but could be other unit)
• Frequency o in rad/sec (not Hz!)
• Phase in rad (not degrees!)
x (t ) A sin(ot )
(Similar for cosine)
(rad/sec)sec + rad = rad
x ( t ) A sin( o t )
There are 2 radians/cycle so… (fo cycles/sec) (2 radians/cycle) gives rad/sec
2f
4/16
Complex Sinusoidal Time Function
In many cases it is desirable to write a real-valued sinusoid in terms of
“complex-valued sinusoids”. This is a math trick that – believe it or not! –
makes things easier to work with!!!
A j (ot )
x (t ) A cos(ot ) e e j (ot )
2
This comes from Euler’s Formula: Im e j
e j e j
cos( ) 2 cos( )
2 Re
jsin()
e j cos( ) j sin( )
e j cos( ) j sin( ) cos( )
-jsin()
Re
e j
5/16
Exploring the Complex Sinusoidal Terms
A j (ot )
x (t ) A cos(ot ) e e j (ot )
2
Two complex values with
Imaginary part always cancels!
opposite angles
Im e j (ot ) “Positive Frequency” Term
Rotate opposite directions… due to negative sign
Re
Now since we’ve written the input as a sum of two things we can use
linearity (aka superposition) and consider each term alone… then sum
results. 7/16
di p (t )
So… subbing in only the positive frequency term: L Ri p (t ) 3e j /4 e j100 t
dt
Thus… we need an i(t) that combines with its derivative to give an exponential…
We can guess that i(t) must be a similar exponential: i (t ) A e j p e j100 t
p p
di p (t ) j
So plugging in our guess gives j100 Ap e p e j100 t
dt
j
j
2 j100 Ap e p e j100 t 10 Ap e p e j100 t 3e j /4 e j100 t
Combining terms:
j 200 Ap e
j p
10 Ap e
j p
e j100t 3e j /4e j100t
Must be Equal!
j p 3e j /4 3e j /4
Ap e 0.015e j 0.73
So finally we have: i (t ) i p (t ) in (t )
x (t ) 6cos(100t / 4) R = 10
L = 2H
X 6e j /4
Z L jo L j100 2
11/16
Sampling Sinusoids… DT Sinusoids
x(t) x[n] x[n] is just a stream
of numbers
t n
Sensor Optional
Analog Digital Elec.
ADC DAC
Electronics (Computer)
t (sec)
t (sec)
But…They could have come from this RED one!!!
Thus… if we
want to be able
to tell these two
apart we need to
sample faster!!
t (sec) 13/16
Let Ts be the time spacing between samples… Then Fs = 1/Ts as the “sampling
frequency” in samples/sec.
Discrete-Time Sinusoid
fo
x[n ] cos(o n ) o 2
Fs
Units are “rad/sample”
j 8 n
So… to help visualize this: Im e
cos(o n ) 12 e jon e jon 8
Re
j 8 n
e
14/16
n=1 n=2 n=3 n=4
Im Im Im Im
Re Re Re Re
7
o
8 So… a DT frequency > rad/sample looks exactly like
9 some other frequency < . This is called “Aliasing”.
o
8
Im Im Im Im
Re Re Re Re
This is consistent with some real-world facts you may know about:
• High-Fidelity Audio contains frequencies up to only about 20 kHz
• CD digital audio has a sampling frequency of Fs = 44.k Hz > 2x20kHz
16/16