Discrete Time Systems: Impulse responses and convolution; An - - PowerPoint PPT Presentation

discrete time systems impulse responses and convolution
SMART_READER_LITE
LIVE PREVIEW

Discrete Time Systems: Impulse responses and convolution; An - - PowerPoint PPT Presentation

STADIUS - Center for Dynamical Systems, Signal Processing and Data Analytics Discrete Time Systems: Impulse responses and convolution; An introduction to the Z-transform Lecture 5 Systems and Control Theory STADIUS - Center for Dynamical


slide-1
SLIDE 1

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Discrete Time Systems: Impulse responses and convolution; An introduction to the Z-transform

Lecture 5

slide-2
SLIDE 2

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Impulse response and system output

Using impulse response, output can be calculated as: y[k] = h[k] * u[k]

  • Proof:
  • Conclusion
  • The impulse of a system describes the input/output behavior

completely.

Definition of impulse response Time-invariance Linearity Definition of convolution

2

slide-3
SLIDE 3

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Impulse response and system output

Visually:

3

slide-4
SLIDE 4

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Z-transform

  • Discrete equivalent to the Laplace-transform
  • Converts time dependent descriptions of systems to the time-

independent Z-domain.

  • Simplifies many calculations
  • Convolution theorem → convolution becomes multiplication
  • Linear difference equations become simple algebraic expressions
  • ...

4

slide-5
SLIDE 5

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Z-transform

  • 2 forms
  • Bilateral:
  • Requires knowledge of h for all values of k, including negative

values

  • Can be used for non-causal systems
  • Unilateral:
  • Only requires knowledge of h for positive values of k
  • Can only be used for causal systems without loss of information

5

slide-6
SLIDE 6

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Z-transform: properties

6

slide-7
SLIDE 7

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Transfer function (DT)

The transfer function of a discrete system is the Z-transform of the impulse response.

  • H(z) = Z{h[k]}
  • Recall: y[k] = h[k] * u[k]
  • Let

U(z) = Z{u[k]} Y(z) = Z{y[k]}

  • Thus, applying the convolution theorem:

Y(z) = H(z) . U(z)

  • BUT: Only applies when system starts from a null state

(Reason: impulse response itself starts from a null state)

7

slide-8
SLIDE 8

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Getting rid of convolutions (DT)

8

slide-9
SLIDE 9

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

List of common Z-transform pairs

9

slide-10
SLIDE 10

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

List of common Z-transform pairs

10

slide-11
SLIDE 11

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

  • For the Z-transform to converge the following must hold:
  • We will look at convergence separately for positive and negative k,

splitting the convergence criterion in 2:

  • Using z = r e

with R+ as small as possible and R- as large as possible we get:

11

Region of convergence

slide-12
SLIDE 12

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Region of convergence

  • The sums are finite if and

Region of convergence:

  • R+< R-: Ring

R-< R+: No ROC

  • Causal system, for negative k:

cannot contain any poles of the system

  • ROC of a stable system always contains

the unit circle

12

R+ R-

Source: http://www.expertsmind.com/learning/z-transform-and-realization-of-digital-filters-assignment-help-7342873888.aspx

slide-13
SLIDE 13

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Region of convergence

  • System 1: Causal: h[k] = { …, 0, 0, 0, 1, 1/3, (1/3)

2

, (1/3)

3

, … } System 2: Anti-causal: h[k] = { …, 3

3

, 3

2

, 3, 1, 0, 0, 0, … }

  • Analytical representation: h[k] = (1/3)

k

  • After Z-transform: H(z) = z / (z – 1/3)
  • 2 systems with very different behaviors, but the same transfer

function?

  • Answer: different ROC:
  • System 1: |z| > 1/3
  • System 2: |z| < 1/3

13

slide-14
SLIDE 14

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Inverse Z-transform

  • Split the transfer function up in partial fractions
  • This is done by first factorizing the denominator
  • If all poles have multiplicity 1 then the following can be used:
  • The coefficients can be calculated by:

14

slide-15
SLIDE 15

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Inverse Z-transform

  • If there are poles with multiplicity higher than 1 then the following

approach is needed:

  • Where the highest coefficient for each pole can be calculated by:

15

slide-16
SLIDE 16

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Inverse Z-transform

Any remaining coefficients can be found by evaluating the equation:

  • for a number of values of z.

16

slide-17
SLIDE 17

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Inverse Z-transform

  • Because of the linearity of the inverse Z-transform, each partial

fraction can be transformed individually and the results can be added together afterwards.

  • The individual inverse Z-transforms can be found with the following:

17

slide-18
SLIDE 18

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Example

  • Transfer function:
  • Partial fraction decomposition:
  • Using the given formula’s:
  • This gives:
  • By evaluating the transfer function for z=1 we get:

18

slide-19
SLIDE 19

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Example

The resulting transfer function is:

  • We can now find the inverse Z-transform for each individual fraction:

19

slide-20
SLIDE 20

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Inverse Z-transform

  • Another technique for calculating the inverse Z-transform is direct

division

  • The numerator of the transfer function is divided by the denominator

via long division.

  • Example:
  • ⇒Z
  • 1

{F(z)} = 1, 3, 12, 25, ...

20

slide-21
SLIDE 21

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Solving difference equations with the Z-transform

  • A system is described by a difference equation of the following form:
  • After the Z-transform:
  • Rearranged:

21

slide-22
SLIDE 22

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Solving difference equations with the Z-transform

lWe’ll apply the following transformation of the double summations:

22

slide-23
SLIDE 23

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Solving difference equations with the Z-transform

  • The final simplified result is:
  • With this result it is easy to find the resulting output from a given

input or vice-versa given a difference equation.

  • Right-hand fraction = output resulting from starting conditions: will

vanish with time = transient behavior

  • Left-hand fraction = output resulting from input: will remain = steady

state response

  • is the “transfer function” of the system

23

slide-24
SLIDE 24

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Steady state behavior via Z-transform

Starting from the previous result:

  • We wish to find the resulting output from the input:
  • To simplify derivation, we use:

u[k] = e

j(kα + θ)

  • With Z-transform:

24

slide-25
SLIDE 25

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Steady state behavior via Z-transform

Filling in U(z) and splitting into partial fractions:

  • Calculating the coefficient c:
  • After the inverse Z-transform:

25

slide-26
SLIDE 26

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Steady state behavior via Z-transform

Because of linearity we can ignore the imaginary component, leading to the result:

  • In most applications (= stable system) we can ignore transient

behavior as it will quickly die out

  • Using the transfer function steady state behavior can easily be

determined by converting sinusoidal signals to phasors The input: cos(kα + θ) Will produce steady state: |H(ejα )| cos(kα + θ + ∠H(ejα))

26

slide-27
SLIDE 27

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Example

  • We’ll have a look at the steady state response to the input

for the system:

  • Evaluating the transfer function for the exponential with pulsation 3

gives:

  • The resulting output has been reduced to a third in amplitude and

has undergone a small phase shift.

27

slide-28
SLIDE 28

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Interpreting the Z-transform

  • Z-domain = frequency domain, similar to Laplace
  • The results used for calculating steady state behavior can be used to

give a more concrete interpretation to the Z-domain

  • A z-value is the phasor representation of a sinusoidal signal in the k-

domain

  • Every signal in the k-domain can be decomposed into a sum of

sinusoidal signals.

  • Every signal in the k-domain can be analyzed in the Z-domain as a

sum of sinusoidal signals.

28

slide-29
SLIDE 29

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

State space to transfer function

  • The transfer function can be derived directly from the state space

model of a system:

  • The Z-transform gives:
  • Rearranged to have X(z) in explicit form:

29

slide-30
SLIDE 30

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

State space to transfer function

  • The result for Y(z):
  • Left hand term = effect on output from starting conditions = transient

behavior

  • Right hand term = effect on output from input = steady state

behavior

  • If all previous effects have died out we can equate the starting

conditions to 0: Y(z) = H(z) U(z) H(z) = C (zI – A )-1 B + D

30

slide-31
SLIDE 31

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Link between Eigenvalues and poles

  • Are Eigenvalues of A poles of H(z)?
  • As z approaches an Eigenvalue of A, is no longer defined.
  • may still be defined depending on the values of C

and B.

  • An Eigenvalue of A will sometimes, but not always, be a pole of H(z).
  • If every Eigenvalue of A is also a pole of H(z) then a minimal number
  • f internal states has been achieved

31

slide-32
SLIDE 32

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Link between Eigenvalues and poles

  • Are poles of H(z) Eigenvalues of A?
  • B, C and D are matrixes with properly defined values
  • If H(z) is undefined then must be the cause
  • z must be an Eigenvalue of A
  • Poles of H(z) are always Eigenvalues of A

32

slide-33
SLIDE 33

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Stability (DT)

  • BIBO-Stability (Bounded-Input Bounded-Output)
  • Every bounded input results in a bounded output
  • Internal Stability
  • Stricter than BIBO-Stability
  • All possible internal states return to zero after a finite time in the

absence of an input.

  • All Eigenvalues of the matrix A are contained within the a circle of

radius 1 around zero in the complex plane.

  • BIBO-Stability follows from Internal Stability, but the inverse is not

necessarily true.

33

slide-34
SLIDE 34

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Stability (DT)

  • A discrete system is BIBO-Stable if all poles of H(z) are within a circle
  • f radius 1 around the origin.

34

slide-35
SLIDE 35

Systems and Control Theory

STADIUS - Center for Dynamical Systems,

Signal Processing and Data Analytics

Overview

35