Chapter 2 Notesadasdasdasdasdadasd
Chapter 2 Notesadasdasdasdasdadasd
Signals
Signals classified as
1. Analog – continuous in time and takes on any
magnitude in range of operations
2. Discrete Time – measuring a continuous variable at
finite time intervals
3. Digital – discretized magnitude at discrete times
1
Signal Wave Form
Static – does not vary with time and can
be considered over long periods, like the
life of a battery.
Dynamic Signal – time dependent y(t)
Definitions
Deterministic Signal – a signal
that varies in time in a predictable
manner, such as a sine wave, a step
function, or a ramp function.
Steady Periodic – a signal whose
variation of the magnitude of the
signal repeats at regular intervals in
time.
Definitions cont’d
Complex Periodic Waveform –
contains multiple frequencies and is
represented as a superposition of multiple
simple periodic waveforms.
Aperiodic Waveforms – deterministic
signals that do not repeat at regular
intervals (step function).
Nondeterministic Signal – a signal with
no discernible pattern of repetition.
2
For periodic signal:
c = amplitude f = 1/T cycles/sec (hz)
T = period ω = 2Πf rad/sec
Signal Analysis
Assume y=current
t2 t2
Y = ( ∫ y (t )dt ) / ( ∫ dt )
t1 t1
If power is equal to
P=I2R, then energy is
dissipated in resistor
from t1 to t2
Signal Analysis
t2 T2
E= ∫ t Pdt = ∫ T [ I (t )] Rdt
2
1 1
t1
3
A time dependent
analog signal can
be approximated
by a discrete set of
N numbers over
the time period
from t1 to t2
y(t) {y(rδt)}
r=1,2,N
where δt =
sampling time
Mean Value
For discrete time signals, approximate the
mean value N
y = (1 / N )∑ yi
i =1
RMS
N
yrms = (1 / N ) ∑ yi2
i =1
4
Signal Averaging Period
Averaging a simple periodic signal over
a time period that is not exactly the
period of the function can produce
misleading results.
However, as the averaging time period
becomes long relative to the signal
period, the resulting values will
accurately represent the signal.
5
Effect of
DC Offset
If AC
component is
of primary
interest,
subtract out
DC
component,
then amplify
AC to get
more
pronounced
impact from
AC.
6
How do you represent a complex
signal by simple function?
The fundamental concepts of frequency
and amplitude can be understood through
the observation and analysis of periodic
motions.
Sines and cosines can be thought of as
mathematical functions that describe
specific physical behaviors of a system.
Consider the mechanical vibration of a
spring-mass system
Spring-Mass System
7
Frequency Analysis
The solution can be rewritten by use of
phase angle:
y=c cos (wt-ϕ) or y=c sin (wt+ϕ*)
Where
c= a 2 + B 2 ; ϕ=tan-1(B/A); ϕ*=Π/2 - ϕ
Frequency Analysis
Frequency Analysis: most signals from
measurement systems are non-deterministic,
having complex wave forms and consequentially
can be broken into series of sine and cosine
functions.
The representation of a signal by an infinite
series of sines and cosines is called a fourier
series.
In theory, all mathematical functions can be
represented by a fourier series.
Definitions:
1. Y(t) is a periodic function if there is a
positive number T
y(t+T)=y(t)
-If both y1(t), and y2(t) have period T
then ay1 + by2 have period T
8
Example of harmonics of a string plucked
at center:
Euler’s formula:
π
Ao = 1 / (2π ) ∫ y(t )dt
−π
π
Follows that An = 1/ π ∫ −π y (t ) cos ntdt and
π
Bn = 1 / π ∫ y ( t ) sin ntdt
−π
9
Fourier Coefficients for Functions
Having Arbitrary Periods
Ao = 1 / T ∫
T /2
y (t )dt
−T / 2
An = (2 / T ) ∫
T/2
y (t ) cos nwtdt
−T / 2
Bn = (2 / T ) ∫
T/2
y (t ) sin nwtdt
−T / 2
10
Even and Odd Functions
A function g(t) is even if it is
symmetric about the origin for all t,
g(-t) = g(t)
A function h(t) is odd if, for all t,
h(-t) = -h(t)
Example 2.5:
11
An = (4 / T ) ∫
T /2
y (t ) cos((2nπ t ) / T )dt
0
= 4 / (1 / 60) ∫
1 / 120
120 sin 120π t cos120nπ tdt
0
For values of n that are odd, the
coefficient An is identically zero.
For values of n that are even, the
result is An = 120 ( − 2 + 2 )
π n −1 n +1
12
Fourier Transform
In Fourier Series analysis we worked with
arbitrary but known signals. The
coefficients of the FS specified the
amplitude of the sine and cosines having
a specific frequency. In practical
applications, we may not know anything
about the form or frequency of the signal.
Fourier Transform
From earlier work:
∞
An = (2 / T ) ∫
T/2
y (t ) cos nωtdt
−T / 2
Bn = (2 / T ) ∫
T /2
y (t ) sin nωtdt
−T / 2
ω = 2πf
Assumption:
We remove the constraint that the
signal be a periodic function, and let
the period go to infinity.
The coefficients become continuous
functions of frequency.
∞
A( ω) = ∫ −∞ y (t ) cos ωtdt
∞
B ( ω) = ∫ −∞ y (t ) sin ωtdt
13
Assumption
The fourier coefficients of A(ω) and
B(ω) are components of fourier
transforms of y(t)
Υ ( ω ) = A( w) − iB ( ω)
Then substituting
∞
Υ ( ω ) = ∫ y (t )(cos ωt − i sin ωt )dt
−∞
14
The fourier transform is a complex
number
Υ ( f ) = A( f ) − iB( f ) = Υ ( f ) eiθ ( f )
The magnitude is given by
Υ ( f ) = Re[ Υ ( f )]2 + Ι M[ Υ ( f )]2
Phase shift
*Amplitude spectrum:
C( f ) = A( f ) 2 + B( f ) 2
*Phase shift:
θ ( f ) = tan − 1( B( f )) / ( A( f ))
Power spectrum:
(C ( f ) 2 ) / 2
The Fourier transform has provided a
method to decompose a measured signal
y(t) into its amplitude-frequency
components.
r =1
For k=1,2,…N/2
15
In this development, t was replaced
with rδt and f was replaced with
k/(Nδt)
δf = frequency resolution = 1/(Nδt)
δt = sampling period
N = number of samples
k = number of frequency increments
to N/2
Fk = kδf = a given frequency
Note:
Through the DFT a discrete data
signal can be decomposed into
Amplitude-Frequency content and
then can be reconstructed into a
fourier series of known functions.
The typical DFT used in software is
the FFT or the fast fourier transform.
It has been optimized for algorithm
efficiency.
Representation of a
simple periodic as a
discrete signal
y(t)=10sin2πt
created discrete set
using time integral
0.125 s
f1=w1/2π=1 hz
C(f1=1Hz)=10V
θ(f1)=0
δt=0.125 s
N=8
16
Figure 2.20
Note plot of
Amplitude Spectrum
Y(f)=0 at all
frequencies except
f1=1 Hz at which
point it is 10, which
corresponds to what
we know about the
signal g(t).
17