Docsity

The Z Transforms-Digital Signal Processing-Lab Mannual, Exercises of Digital Signal Processing

Toggle sidebar
bg1
Digital Signal Processing
2
The Z-Transforms
1. Objective:
1.1 To study the Z-transform of Aperiodic signals.
1.2 To Determine response of LTI system.
In this lab you learn
Poles, zeros and ROC of a LTI system calculation in MATLAB.
2. Overview
In last lab, we discussed the discrete-time Fourier transform approach for
representing discrete signals using complex exponential sequences. There are two
shortcomings to the Fourier transform approach.
a) There are many useful signals in practice such as u[n] and nu[n] for
which the discrete-time Fourier transform does not exist.
b) Second, the transient response of a system due to initial conditions or
due to changing inputs cannot be computed using the discrete-time
Fourier transform approach.
We now consider the z-transform an extension of the discrete-time Fourier
transform to address the above two problems.
2.1 Definition
For a given sequence x[n], its z-transforms X[z] is defined as
n=-
() [] n
Xzxnz
โˆž
โˆ’
โˆž
=โˆ‘
(1)
Where z is a complex variable. If we let j
zre
ฯ–
=, whereโ€™ wโ€™ ๏€ is a real frequency
variable and r is attenuation then Equation (1) become
n=-
() []
jnnj
Xre x n r e
ฯ– ฯ–
โˆž
โˆ’โˆ’
โˆž
=โˆ‘
(2)
Which can be interpreted as the DTFT of a modified sequence {x[n]r-1}. For
r=1(i.e. |z|=1), the z-transform of x[n] reduces to its DTFT. From equation (2), we see
that ()
j
Xre
ฯ–
is the Fourier transform of sequence of x[n] multiplied by real exponential
r-n, i.e.
() F{[]}
jn
Xre x n r
ฯ–
โˆ’
= (3)
docsity.com
pf3
pf4
pf5

Partial preview of the text

Download The Z Transforms-Digital Signal Processing-Lab Mannual and more Exercises Digital Signal Processing in PDF only on Docsity!

The Z-Transforms

1. Objective:

1.1 To study the Z-transform of Aperiodic signals. 1.2 To Determine response of LTI system. In this lab you learn Poles, zeros and ROC of a LTI system calculation in MATLAB.

2. Overview

In last lab, we discussed the discrete-time Fourier transform approach for representing discrete signals using complex exponential sequences. There are two shortcomings to the Fourier transform approach. a) There are many useful signals in practice such as u[n] and nu[n] for which the discrete-time Fourier transform does not exist. b) Second, the transient response of a system due to initial conditions or due to changing inputs cannot be computed using the discrete-time Fourier transform approach. We now consider the z-transform an extension of the discrete-time Fourier transform to address the above two problems.

2.1 Definition

For a given sequence x[n], its z-transforms X[z] is defined as

n=-

X z ( ) x n z [ ] n

โˆž (^) โˆ’ โˆž

= (^) โˆ‘ (1) Where z is a complex variable. If we let z^ =^ rej^ ฯ–, whereโ€™ wโ€™ ๏€ is a real frequency variable and r is attenuation then Equation (1) become

n=-

X re ( j^^ ฯ–) x n r [ ] n^ enj ฯ–

โˆž (^) โˆ’ โˆ’ โˆž

= (^) โˆ‘ (2) Which can be interpreted as the DTFT of a modified sequence {x[n]r-1}. For r=1(i.e. |z|=1), the z-transform of x[n] reduces to its DTFT. From equation (2), we see that (^ ) X rej^ ฯ– is the Fourier transform of sequence of x[n] multiplied by real exponential r-n, i.e. X re ( j^ ฯ–^^ ) = F{ [ ] x n r โˆ’ n } (3)

2.2 Region of Convergence (ROC)

The range of z values for which X(z) exists is called the region of convergence (ROC) and is given by: R-x < |z| < R+x (where, R+x and R-x positive numbers) Convergence of series in Eq. (1) depends only on |z|, since |X(z)| < โˆž if, | [ ] | | n | n

x n z

โˆž (^) โˆ’ =โˆ’โˆž โˆ‘ < โˆž (4) The region of convergence consists of all values of z such that inequality (4) holds. Thus if some value of z, say z=z1 is in the ROC, then all values of z on the circle defined by |z|=|z1| will also be in the ROC. The ROC consists of a ring in the z-plane centered about the origin. Its outer boundary will be either a circle or may extend outward to infinity, and its inner boundary will be either a circle or may extend inward to include the origin. This is illustrated in Figure 1. In this figure X(z) will exist for all values of z lie in shaded region. I m

Re

Figure 1 Following three points decide the shape of ROC

  • The ROC for right-sided sequences (e.g. anu[n]) is always outside of a circle toward infinity.
  • The ROC for left-sided sequences (e.g. anu[-n]) is always inside of a circle to include the origin.
  • The ROC for two-sided sequences (e.g. anu[n]- anu[-n-1])) is always an open ring

0.5000 + 0.8660i 0.5000 - 0.8660i Gain Constant

Radius of Poles

Zero-Pole Placement in Filter Design

LTI systems, particularly digital filters, are often designed by positioning zeros and poles in the z-plane. The strategy is to identify passband and stopband frequencies on the unit circle and then position zeros and poles by considering the following.

  1. Conjugate symmetry All poles and zeros must be paired with their complex conjugates.
  2. Causality To ensure that the system does not depend on future values, the number of zeros must be less than or equal to the number of poles.
  3. Origin Poles and zeros at the origin do not affect the magnitude response.
  4. Stability For a stable system, poles must be inside the unit circle. Pole radius is proportional to the gain and inversely proportional to the bandwidth. Passbands should contain poles near the unit circle for larger gains.
  5. Minimum phase Zeros can be placed anywhere in the z-plane. Zeros inside the unit circle ensure minimum Phase. Zeros on the unit circle give a null response. Stopbands should contain zeros on or near the unit circle.
  6. Transition band

A steep transition from passband to stopband can be achieved when stopband zeros are paired with poles along (or near) the same radial line and close to the unit circle.

  1. Zero-pole interaction Zeros and poles interact to produce a composite response that might not match design goals. Poles closer to the unit circle or farther from one another produce smaller interactions. Zeros and poles might have to be repositioned or added, leading to a higher filter order.

3.2 [r,p,k]=residuez(num,den) command The M-file residuez can be used to develop partial fraction expansion of Eq (5) and vice versa. 3 3 2 G(z)= 18z 18z +3z -4z- Now, we will find the partial fraction expansion using following code, %Partial fraction expansion of rational z-transform num = input('Type the Numerators coefficients = '); den = input('Type the Denominators coefficients = '); [r,p,k]=residuez(num,den); disp('Residues');disp(r'); disp('ploes are at');disp(p'); disp('Gain Constant');disp(k); % Ploes and zeros plotting zplane(num,den); Input data Type the Numerator coefficients = [18] Type the Denominator coefficients = [18 3 -4 -12]

Output data

Residues 0.3600 0.2400 0. Poles are at 0.5000 -0.3333 -0.