DSP Week Two Lecture
DSP Week Two Lecture
ADVANTAGES DISADVANTAGES
Digital Signal Processing Similar architecture for Need for A-D and D-A
wide range of processes – conversion – associated
flexible errors
High accuracy, reliability, Basic hardware more
repeatability expensive
Software programmable – Speed of real-time
possibility of adaptive SPs processes
Low development, Errors associated with
manufacturing & implementation – drift,
maintenance costs noise, stability.
Suitable for difficult SPs Inflexible
Cheap for simple SPs (e.g. Difficult to implement
gain, level shifting, simple complex processes
filter) Some SPs impossible
Lends itself to single-chip
implementation
Faster real-time processes
Summary
Simple block diagram of DSP system
Analogue-to-digital conversion
Sampling
Nyquist Sampling Condition
Aliasing
Practical approaches – ‘sample & hold’
Quantisation
Types: uniform, non-uniform, adaptive
Errors
Real-Time systems
Basic signal process
Problems associated with real-time
Errors
Digital signal processing compared to analogue signal processing
Advantages and disadvantages of both types of signal processing.
Z – Transforms
Definition
Diagrammatic & physical representation
Properties of z-transform
Relationship to Laplace transform
System transform functions
Z-transform of typical sequences
What is a z-transform
Convenient and powerful theoretical tool for representing, analysing and designing discrete-
time signals and systems.
Similar role in discrete time systems to laplace transform in continuous time systems –
z-transform easier to understand and apply.
Relationship between z and laplace transforms allows continuous systems to be
converted into discrete (digital) form and vice-versa.
Definition
Z-transform of a casual discrete sequence x [n] (i.e. x [0], x [1], x [2]……etc) defined as:
∞
X [ Z ]=∑ x [ n ] Z −n
n=0
Z is a complex variable
Example
If a discrete signal has values at successive sampling instants of:
Representation
The z−1operator is equivalent to a simple delay element with a time
delay T seconds.
z ≡ Delay T seconds
−1
∞
y [ n]= ∑ h[k ] x [ n−k ]
k=−ꝏ
Y [ z ]=H [ z ] X [z ]
H [ z ] referred to as system transfer function.
Inverse Z-transform
Inverse z-transform of G[z] relates output and input sampled data signals in the time
domain
g[n] is impulse response
g[n]= z−1 {G[ z ]}
From signal and theory:
y [ n ] =g [ n ]∗x [n]
Y [ z ]=G [ z ] X [z ]
s=σ + jω
|z|=e σT ;˂ z=ωT
Relationship to Laplace Transform Mapping of s-plane to z-plane.
K ( z−ς 1 )( z −ς 1 ) … … ..(z−ς N )
G [ z ]=
( z− p 1) ( z− p 2) … …..(z −p m)
Stability condition of linear analogue system is that all poles must lie to the left of
imaginary axis.
In z-plane (discrete linear system), corresponds to condition:
System is stable if all poles of transfer function lie within unit circle.
System Transfer Function What is it?
Z-transforms used to represent discrete data signals and response to signals of discrete
data processes.
G[z] can be any (realisable) function chosen to give desired digital signal processor
performance.
General expression for G[z] as given above is:
−1 −2 −N
a 0+ a1 z + a2 z + … … .+ a N z
G [ z ]= −1 −m
b0 + b1 z +… … ..+b m z
Where constants a 0, a 1…….a N & b 0, b 1 ,……., b M can be chosen to give DSP system
performance required for specific applications.
In many DSP systems system response normalised to give maximum gain of 1-
corresponds to setting b 0=1.
FIR Filters
Direct Realisation (alternative)