95
Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt Christian-Albrechts-Universität zu Kiel Faculty of Engineering Institute of Electrical and Information Engineering Digital Signal Processing and System Theory Advanced Signals and Systems Discrete Systems

Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Embed Size (px)

Citation preview

Page 1: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Gerhard Schmidt Christian-Albrechts-Universität zu Kiel Faculty of Engineering Institute of Electrical and Information Engineering Digital Signal Processing and System Theory

Advanced Signals and Systems – Discrete Systems

Page 2: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-2 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Entire Semester:

Contents of the Lecture

Introduction

Discrete signals and random processes

Spectra

Discrete systems

Idealized linear, shift-invariant systems

Hilbert transform

State-space description and system realizations

Generalizations for signals, systems, and spectra

Page 3: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-3 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Contents of this Part

Discrete Systems

System description

System classification

Discrete linear systems and their response to deterministic signals

Stability of linear systems

Special symmetries for real-valued systems

Discrete linear systems and their responses to stochastic processes

Page 4: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-4 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

The most general description of systems defines a system as on operator

Typically we will use the following graphical description for systems

Beyond the input and the output signal vector also internal signals can contribute to the system output. These internal “system states” will be denoted as a so-called state vector

with state variables

that contain the complete information on the system state in a non-redundant form.

Discrete Systems

System Description – Part 1

System

Basics:

Page 5: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-5 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

System Description – Part 2

It is also possible to describe a system by means of its state-space description. Usually two equations are used for that purpose:

The output equation, that describes how the output signal vector is generated using the current input vector and the current state vector

and the state equation, that describes how the new state vector is generated using the current state vector and the current input vector

Basics (continued):

Page 6: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-6 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Contents of the Section „System Classification“

System description

System classification

Continuous, discrete, and digital systems

One- and multi-dimensional systems

Deterministic and stochastic systems

Passivity

Dynamic and memoryless systems

Real and complex systems

Causality

Linearity

Shift or time invariance

Stability

Discrete linear systems and their response to deterministic signals

Stability of linear systems

...

Page 7: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-7 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

System Classification – Part 1

In our notation of the last slides, the description of discrete systems

respectively produce, upon a discrete input signal, only a discrete output signal. In contrast to that also continuous state-space descriptions exist. Since such descriptions are based on differential equations (instead of difference equations) the derivative of the state vector is utilized in the state equation:

Continuous, discrete, and digital systems:

Page 8: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-8 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

System Classification – Part 2

Continuous, discrete, and digital systems (continued):

In discrete systems the state variables usually describe the contents of memory elements. In continuous systems usually energy-storing elements are described by the state variable. Some general comments:

A system taking a number of input sequences and producing a number of output sequences (and ) may, of course, be generally seen as a computing system.

However, digital computers necessarily work with quantized (limited word length) signals and variables. These digital systems are a special type of discrete systems.

Here (in this lecture) we will deal only with discrete systems – digital systems are treated in the lecture “Advanced digital signal processing”.

Page 9: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-9 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

System Classification – Part 3

Discrete Systems

One-dimensional and multi-dimensional systems:

Within the introduction slides of this lecture we had already explained the difference between scalar and vector signals on the one hand and one- and multi-dimensional signals on the other hand:

For systems we can apply the same definition. However, as mentioned before, in this section we will focus first on one-dimensional systems – multi-dimensional extensions will be covered briefly at the end of this part.

E.g. brightness of a picture ( )

E.g. speed of an object (x, y, and z-direction)

Page 10: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-10 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

System Classification – Part 4

Deterministic and stochastic systems:

If is fixed (not necessarily constant) in all aspects (structure, parameters), then is deterministic. If at least one detail of is random-like (like one coefficient), then is stochastic. Consequence: For a stochastic system, is stochastic even for a deterministic input signal (while for a deterministic system, is deterministic for a deterministic input signal)!

We will focus in the remaining slides on deterministic systems.

Page 11: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-11 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

System Classification – Part 5

Passivity:

In the second part of this lecture (“Signals and Stochastic Processes”) we have introduced the instantaneous or local energy:

This quantity is used to determine passive systems. For a system with one input and one output the system is passive if the instantaneous power of the output signal is always smaller or equal than the instantaneous input power:

For passive systems with more than one input or output we define passivity as

Please note that both definitions must be fulfilled for all !

Page 12: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-12 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

System Classification – Part 6

Passivity (continued):

As consequences we can conclude that …

… no signal sources are allowed inside a passive system and

… if all input signals are zero up to a certain index than also all output signals of a passive system must be zero

Page 13: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-13 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

System Classification – Part 7

Dynamic and memoryless systems:

Definition of a dynamic system:

A system is called a dynamic system if does not only depend on , but also on .

Consequences:

Dynamic systems must contain some “storage” of values beyond the index . The storage may concern

values for (“left” of , for representing a time index this means “before “, meaning storage of the past, i.e. memory in the usual sense).

values for (“right” of , for representing a time index this means “after “, meaning storage of the future, which is possible if is not related to real-time).

In contrast to that: Systems without storage or memory (“non-dynamic" systems) are called memoryless.

Page 14: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-14 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

System Classification – Part 8

Real-valued and complex-valued systems:

If all elements of the input signal vector of a system are real

and also all elements of the output signal vector are real

then the system is called a real-valued (or real) system. Otherwise we call the system to be complex-valued (or simply complex).

Page 15: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-15 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

System Classification – Part 9

Causality:

Definition of a causal system:

If depends only on , is called causal. If has the meaning of a time index, this means that the system output depends only on current and past inputs. In addition, we define: If depends only on , is called anti-causal. Finally, if both conditions are fulfilled at the same time, we define a system as non-causal: If depends on both and , is called non-causal. Consequences:

Causality commonly means that a reason or “cause” precedes naturally any “reaction” – so, the name actually implies as a time index. In this case, “real systems” are usually causal – not necessarily in other cases!

Page 16: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-16 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

System Classification – Part 10

Causality (continued):

Consequences (continued):

Memoryless systems are causal. This is a consequence of the definition of memoryless systems.

Passive systems are causal. Again this follows from the definition of this system property.

In literature, sometimes right-hand sided signals, with are termed “causal signals”. Correspondingly, if we have a so-called left-hand sided signal is sometimes called an “anti-causal signal”, and a general two-sided signal is called a “non-causal signal”. These expressions are sometimes misleading and, thus, avoided here.

Page 17: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-17 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

System Classification – Part 11

Linearity:

Linear systems are defined by the fact that the superposition theorem holds:

This can be visualized by the following diagram:

… only in case of linearity!

Page 18: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-18 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

System Classification – Part 12

Linearity (continued):

Remarks on the superposition theorem:

The superposition theorem includes, of course, any finite superposition.

The theorem may even be extended to an infinite summation of “infinitely-dense“ contributions, i.e. to integrate on both sides (will be treated later on).

General remarks:

Linear systems will be in the focus of this course.

This does not mean that most “real-world systems” are linear (on the contrary, most systems are non-linear).

For linear systems, however, a widely general theory is applicable. Therefore, it is often tried to deal with actually non-linear systems after “linearization” (valid near some “point of operation”).

Page 19: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-19 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

System Classification – Part 13

Shift or time invariance:

A system is called shift- or time-invariant if the order of a delay operator and the system operator can be exchanged: with

Graphical interpretation:

Delay

Delay

… only if system is shift-invariant!

Page 20: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-20 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

System Classification – Part 14

Shift or time invariance (continued):

Remarks:

Linearity and shift invariance are independent system characteristics. There are, of course, systems which are both linear and time-invariant.

They are called LTI systems (LTI stands for linear and time invariant).

For these LTI system a very powerful theory can be applied.

Like linearity, shift or time invariance is important, but not given in general: many systems are at least “slowly " time-variant (e.g., due to aging) – these systems are denoted as short-term or pseudo time invariant.

In the diagram on the last slide a basic delay operator appears. This operator can be realized on a computer as a shift register.

Page 21: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-21 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

System Classification – Part 15

Stability:

A system that reacts on a bounded input signal also with a bounded output signal is called a BIBO-stable system. For a BIBO-stable system with a single input and a single output this means, that for

the system output will be also bounded

For BIBO-stable systems with more than one input and/or output we get in the same manner: if all inputs are limited according to than also all output will be bounded

Page 22: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-22 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

System Classification – Part 16

Partner work:

Partner work – Please think about the following questions and try to find answers (first group discussions, afterwards broad discussion in the whole group).

How do you check if a system is linear? What can you say about the linearity of the following systems: and ?

………………………………………………………………………………………………………………………………….

………………………………………………………………………………………………………………………………….

What can you say about the time-invariance of the following systems: and ?

………………………………………………………………………………………………………………………………….

………………………………………………………………………………………………………………………………….

Please name a few (different) meanings of the term „system dynamic“. Which meaning will we use in this lecture?

………………………………………………………………………………………………………………………………….

………………………………………………………………………………………………………………………………….

Page 23: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-23 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Contents of the Section „System Classification“

System description

System classification

Continuous, discrete, and digital systems

One- and multi-dimensional systems

Deterministic and stochastic systems

Passivity

Dynamic and memoryless systems

Real and complex systems

Causality

Linearity

Shift or time invariance

Stability

Discrete linear systems and their response to deterministic signals

Stability of linear systems

Page 24: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-24 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Contents of the Section „Discrete linear systems and their response …“

System description

System classification

Discrete linear systems and their response to deterministic signals

Reactions on elementary signals

Reaction of LTI systems on exponential signals

Reaction on general deterministic signals

Relations between the system descriptions

Stability of linear systems

Special symmetries for real-valued systems

Discrete linear systems and their responses to stochastic processes

Page 25: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-25 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 1

Introduction:

We will discuss now a “more detailed” system description in terms of the system reaction (the output signal) on a specific input signal . The question will be:

What does the operator do with ?

In the following we will assume only one input and one output signal – the general case of more than one input and output will be treated later on. Since every different produces a specific , it is necessary to reduce our considerations to very few input signals. The aims will be now

Find few standard-signal responses and

apply these to also describe responses to general signals!

Page 26: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-26 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 2

Reactions on elementary signals:

We will assume now a linear system according to the following picture: Next we define the system responses to the following four input sequences:

an impulse sequence

a unit step sequence

Linear system

System response to an impulse

Only in case of shift invariance

System response to a step sequence

Page 27: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-27 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 3

Reactions on elementary signals (continued):

System responses to four input sequences (continued):

an harmonic exponential sequence

a general exponential sequence

The following names have been established for the individual system descriptions:

Impulse response: or shortly

Step response:

Frequency response:

Transfer function:

Only in case of shift invariance, proof for the “behavior” will come later.

Page 28: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-28 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 4

Reaction of LTI systems on exponential signals:

If we assume that a system is linear and time invariant (LTI) than the reaction of the system on an exponential (either harmonic or general) sequence is also an exponential sequence with the same frequency and the same decaying/increasing time constants. This can be proven as follows: Given is a general exponential input sequence (this includes a harmonic exponential sequence):

The reaction of an LTI system is Next, we have a look on the system output to shifted input:

… due to linearity this can be changed to ...

… inserting and simplifying ...

Page 29: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-29 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 5

Reaction of LTI systems on exponential signals (continued):

The system output to this shifted sequence is

Due to the shift-invariance of the system we obtain also Thus, we obtain for the output signal of the LTI system

… inserting the definition of the input sequence ...

… assuming linearity of the system ...

… inserting the definition of the non-shifted output signal ...

Page 30: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-30 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 6

Reaction of LTI systems on exponential signals (continued):

The only signal sequence that fulfills the condition is again a general exponential sequence Proof:

As a result we get the LTI system response to a general exponential sequence

Page 31: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-31 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 7

Reaction of LTI systems on exponential signals (continued):

The complex amplitude at the output is, in general, different from that at the input , and its change by the system depends on the choice of . The ratio of the two complex amplitudes is called transfer function and is defined as The derivation of the last few slides includes also the case of harmonic exponential input sequences

Here the amplitude ratio is called frequency response and we get

Page 32: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-32 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 8

Reaction of LTI systems on exponential signals (continued):

The derivation of the last slides includes also sinusoidal excitation sequences. They can be generated by taking the real part of a complex harmonic exponential sequence: If we compute also the real part of the output sequence, we obtain Again, this is a sinusoidal sequence with the same frequency. Only the phase and the (real) amplitude are changed.

Exponentials (including sinusoids) are reproduced by LTI systems. Such sequences are called “eigenfunction” of LTI systems. The reproduction property is the reason

why spectral decomposition into such components are applied so widely!

Page 33: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-33 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 9

Reaction on general deterministic signals:

In the previous sections we analyzed the response of an LTI system to the four basic input sequences

A general input sequence can be decomposed as a weighted sum of these basic sequences (see last part of this lecture about spectral representations). Due to linearity we can now describe the LTI system output as a weighted sum of system reactions to the basis sequences:

Descriptions by means of the impulse response:

Input sequence:

Output sequence:

Page 34: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-34 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 10

Reaction on general deterministic signals (continued):

Descriptions by means of the step response:

Input sequence:

with

Output sequence:

Both, for the impulse response and for the step response, the convolution is a basic operation – a so-called “kernel” operation!

Page 35: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-35 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 11

Reaction on general deterministic signals (continued):

Descriptions by means of the frequency response:

Input sequence:

Output sequence:

Descriptions by means of the transfer function:

Input sequence:

Output sequence:

Page 36: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-36 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 12

Relations between the system descriptions:

Up to now we have found four possibilities to describe a linear, time invariant (LTI) system:

Impulse response,

step response,

frequency response, and

transfer function.

For all of these four system representations we found also descriptions on how to generate the output sequence for a general input sequence. In the next few slides we will show how to transform the individual representations into each other. The results of these derivations are depicted on the next slide.

Page 37: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-37 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 13

Relations between the system descriptions (continued):

Step response

Impulse response

Frequency response, transfer function

Page 38: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-38 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 14

Relations between the system descriptions (continued):

In order to obtain the transformation between the impulse and the step response of an LTI system we will have a closer look on the general signal representation (known from the previous slides): This signal representation must be also valid for and we obtain:

Since we know that the step response is the system output for and the impulse response for , we get for the system output

… inserting the definition of the unit step function ...

Page 39: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-39 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 15

Relations between the system descriptions (continued):

If we finally simplify the summation index we obtain This means that the step response is a summation over the impulse response:

… substituting ...

Page 40: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-40 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 16

Relations between the system descriptions (continued):

Step response

Frequency response, transfer function

Impulse response

Page 41: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-41 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 17

Relations between the system descriptions (continued):

From our previous section we know that we can describe a unit impulse by a subtraction of two unit step sequences according to If we put both signals through an LTI system we obtain for the system outputs Thus we can conclude that the impulse response is equal to the difference of two shifted step responses.

Page 42: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-42 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 18

Relations between the system descriptions (continued):

Step response

Frequency response, transfer function

Impulse response

Page 43: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-43 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 19

Relations between the system descriptions (continued):

We know that in the time domain the output of an LTI system can be computed by means of a convolution of the input sequence with the impulse response of the system:

In addition to that we know that a convolution corresponds in the Fourier and in the z domain to a multiplication: As a result we can see the relation between an impulse response and the corresponding frequency response and transfer function:

Page 44: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-44 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 20

Relations between the system descriptions (continued):

Step response

Frequency response, transfer function

Page 45: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-45 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 21

Relations between the system descriptions (continued):

In the part “Spectra” of this lecture we have derived the Fourier transform of a unit step sequence. Our result was (hope you remember …): Before reusing that result we will exchange the last part (the last two terms):

… inserting the definition of cot(…) … … exchanging the cos- and sin-term …

… excluding … … common denominator …

… simplifying …

Page 46: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-46 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 22

Relations between the system descriptions (continued):

As a result we get for the Fourier transform of the unit step function:

By applying an inverse Fourier transform we obtain: Next we look at the output of an LTI system to such an input signal

… using that the step response is the system answer to a unit step and exploiting that an LTI system is a linear operator …

Page 47: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-47 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 23

Output of the system to a unit step sequence (continued):

Relations between the system descriptions (continued):

… inserting that the response of LTI systems to is …

… splitting the integral into two parts …

… using that just one Dirac distribution is in the integration range …

Page 48: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-48 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 24

Output of the system to a unit step sequence (continued):

Relations between the system descriptions (continued):

… using the sampling property of the Dirac distribution …

… using that an integral over a Dirac distribution is 1 …

… inserting the abbreviation of an inverse Fourier transform …

Page 49: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-49 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 25

Our final result:

This can be “rearranged” in order to find the inverse relation. However, before we have a look at this, we will first investigate the relation between the step response and the frequency response:

Relations between the system descriptions (continued):

… using that …

… modifying such that we can use …

Page 50: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-50 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 26

Inserting this result leads to Now we can resolve the equation for finding an inverse relation

Relations between the system descriptions (continued):

… bringing all terms that depend on to the left side …

… applying a Fourier transform to both sides …

… resolving for …

Page 51: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-51 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 27

During our studies on the z transform we found the following relation for summing a sequence and its impact in the z domain:

This relation can be used to find the z transform of the step response. However, we start with the relation between a step and an impulse response

Relations between the system descriptions (continued):

… applying a z transform on both sides …

… inserting the relation from above …

Page 52: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-52 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 28

Z transform of the step response (continued):

Resolving this equation for and applying an inverse z transform results in Now we have proved all necessary relations for our diagram!

Relations between the system descriptions (continued):

… using the abbreviation …

… resolving for …

Page 53: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-53 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 29

Relations between the system descriptions (continued):

Step response

Frequency response, transfer function

Page 54: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-54 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Response to Deterministic Signals – Part 30

Partner work:

Partner work – Please think about the following questions and try to find answers (first group discussions, afterwards broad discussion in the whole group).

We tried to find now all relations among four different system descriptions. How many relations are there in total? Please show a small diagram!

………………………………………………………………………………………………………………………………….

………………………………………………………………………………………………………………………………….

………………………………………………………………………………………………………………………………….

Which relations do we miss? Please explain them!

………………………………………………………………………………………………………………………………….

………………………………………………………………………………………………………………………………….

………………………………………………………………………………………………………………………………….

Page 55: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-55 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Contents of the Section „Discrete linear systems and their response …“

System description

System classification

Discrete linear systems and their response to deterministic signals

Reactions on elementary signals

Reaction of LTI systems on exponential signals

Reaction on general deterministic signals

Relations between the system descriptions

Stability of linear systems

Special symmetries for real-valued systems

Discrete linear systems and their responses to stochastic processes

Page 56: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-56 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Contents of the Section „Discrete linear systems and their response …“

System description

System classification

Discrete linear systems and their response to deterministic signals

Stability of linear systems

Special symmetries for real-valued systems

Discrete linear systems and their responses to stochastic processes

Page 57: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-57 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Stability of Linear Systems – Part 1

A few slides before we have already defined the so-called BIBO stability (BIBO stands for bounded- input bounded-output). Our result was that a system is called BIBO stable if the output is limited according to

if we can assure that the input is limited according to

Now we will investigate stability conditions that can be derived from the parameters of a linear system. In order to keep it simple we will assume that the system has only one input and one output. If we would like to apply the following ideas also for systems with more input and/or outputs the conditions should be checked for each input-output combination.

BIBO stability:

Page 58: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-58 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Stability of Linear Systems – Part 2

As a starting point we assume – as before – that we have a bounded input sequence:

Now we try to derive an upper bound for the output sequence according to

BIBO stability (continued):

… inserting the definition of a convolution with a linear (but not necessarily time- invariant) system …

… inserting the inequality of Cauchy and Schwarz …

… inserting boundedness of the input sequence …

Page 59: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-59 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Stability of Linear Systems – Part 3

Result from the last slide:

Obviously we can conclude that the output sequence is bounded if also the sum over the magnitudes of the coefficients of the impulse response is bounded:

If the system is also time or shift invariant, we get for the stability condition:

BIBO stability (continued):

Page 60: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-60 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Stability of Linear Systems – Part 4

Some remarks:

The stability condition obtained before corresponds to the (sufficient) condition for the existence of the Fourier transform

In contrast to the derivation when investigating spectra we have here also a necessary condition: A linear system, that does not fulfill the condition is unstable!

From our previous investigations we know that a Fourier transform always exists for a finite sequence. Thus, we can conclude that systems with a finite-length impulse response (so-called FIR systems) are always stable!

BIBO stability (continued):

Page 61: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-61 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Special Symmetries for Real-Valued Systems – Part 1

We know that the Frequency response is obtained by applying a Fourier transform to the impulse response . Thus, we obtain the same spectral symmetries for real-valued impulse responses that we get for real-valued signals: As a consequence we get even functions for the real part and for the magnitude of the frequency response

and odd functions for the imaginary part and for the angle of the frequency response

Frequency response:

Page 62: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-62 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Special Symmetries for Real-Valued Systems – Part 2

The transfer function is computed by applying a z transform to the impulse response of linear, shift-invariant system:

If we compute the transfer function for and for real-valued impulse responses we obtain:

Transfer function:

… for real-valued impulse responses we can use …

… excluding the conjugate complex operation …

… using the definition of the z transform …

Page 63: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-63 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Special Symmetries for Real-Valued Systems – Part 3

In the last slide we obtained for real-valued impulse responses Now we can conclude in addition:

If has a zero at , i.e. , than must have a zero at :

If has a pole at , i.e. , than must have a pole at :

We can summarize:

Poles and zeros of real systems appear as conjugate-complex pairs!

Transfer function (continued):

Page 64: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-64 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Contents of the Section „Discrete systems“

System description

System classification

Discrete linear systems and their response to deterministic signals

Stability of linear systems

Special symmetries for real-valued systems

Discrete linear systems and their responses to stochastic processes

Page 65: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-65 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Contents of the Section „Discrete linear systems and their response …“

System description

System classification

Discrete linear systems and their response to deterministic signals

Stability of linear systems

Special symmetries for real-valued systems

Discrete linear systems and their responses to stochastic processes

Probability density function

Mean

Auto and cross correlation

Auto and cross power spectral density

Variance

Coherence

Page 66: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-66 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 1

Assuming that we have a stochastic input sequence that is stationary and a linear system according to the following picture:

Wanted are now the statistical properties of the system output. This sequence is also a stochastic process. We assume that can not be described directly, but by means of statistics, such as , , or primarily, or by quantities such as , , or . Since – as mentioned above – is also a stochastic process, we are looking now for the same statistical descriptions. Furthermore, we assume that the system can be described by, e.g., its impulse response or related quantities. In addition to the assumption of linearity we will often assume also shift independence.

Introduction:

Linear system

Page 67: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-67 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 2

Unfortunately, the probability density function at the output of a linear system can not be

described in a general manner. For the simple case of a memoryless system, which can be described by we obtain for the output probability density function This is obtained by applying a density transformation (see slides on the end of the chapter on „Discrete Signals and Random Processes”).

Probability density function:

Page 68: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-68 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 3

If the system output is generated by means of a difference equation according to

and we can assume furthermore that samples of the input sequences with different index

are statistically independent, we can obtain Here we used that summing independent processes results in convolving their densities. If the system is also shift invariant we can simplify the above equation to

Probability density function (continued):

Page 69: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-69 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 4

In addition we can make use of the so-called central limit theorem. Several formulations of this theorem exist. One of them reads:

Assuming that are statistically independent random processes with arbitrary probability density functions. For each process a (linear) mean value should exist and one can find positive constants and that fulfill the following conditions: and If all conditions from above are fulfilled the probability density function of the process

converges with increasing to a Gaussian distribution with and .

Probability density function (continued):

Page 70: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-70 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 5

Probability density function (continued):

Central limit theorem:

Matlab example for summing uniformly distributed random variables …

Page 71: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-71 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 6

First we assume only linearity (but not shift-invariance) of the system. In this case we can compute the system output as

Mean value:

… inserting the definition of a convolution …

… exchanging the order of expectation and summation…

… exploiting the stationarity of the input sequence and inserting the relation between impulse and step responses …

Page 72: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-72 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 7

If the system is shift invariant (in addition to linear) we can conclude furthermore: Thus, the transmission of the mean value is determined by frequency response at .

Mean value (continued):

… assuming shift invariance …

… extending with 1 and using the definition of a Fourier transform …

Page 73: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-73 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Similar to the derivation of the mean value at the system output we obtain the auto and cross correlation sequence by applying the convolution. For the cross correlation sequence we get:

After exchanging expectation and summation we obtain

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 8

Auto and cross correlation sequences:

… inserting the definition of a convolution …

… inserting the abbreviated notation for the auto correlation …

Page 74: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-74 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 9

For stationary signals and shift-invariant systems the result of the last slide simplifies to

This operation corresponds to a convolution. This means that we have the same relation between and as we have it for and .

Auto and cross correlation sequences (continued):

Page 75: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-75 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 10

In a similar manner we can compute the cross correlation between the system output and input of a linear and shift-invariant system (please note the different argument order in comparison to the last slides). We obtain:

This cross correlation is created by convolution of the input auto correlation sequence with the mirrored conjugate complex impulse response .

Auto and cross correlation sequences (continued):

Page 76: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-76 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 11

If we would like to compute the auto correlation sequence at the output of a linear, shift- invariant system, we have to convolve the input auto correlation sequence (in arbitrary order) with and :

If the input process is stationary we can simplify the equation to

Auto and cross correlation sequences (continued):

Page 77: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-77 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 12

Overview:

Auto and cross correlation sequences (continued):

Signals:

Auto and cross correlation:

Page 78: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-78 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 13

The auto and the cross power spectral densities at the output of a linear, shift-invariant system are obtained by transforming the corresponding time-domain quantities: the auto or the cross correlation sequences. If convolutions are involved in the time-domain, multiplications with the corresponding frequency responses are resulting in the Fourier domain. Since convolutions with are involved, we will derive first the following relation:

Auto and cross power spectral densities:

… substituting and simplifying …

… complex conjugation (twice) and using the definition of the Fourier transform …

Page 79: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-79 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 14

By transforming the results obtained in the time domain to the frequency domain we obtain the following relations:

Fourier transform

z transform

Auto and cross power spectral densities (continued):

Page 80: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-80 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 15

Frequency domain relations (continued):

Discrete Fourier transform

Auto and cross power spectral densities (continued):

Page 81: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-81 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 16

The squared magnitude of the frequency response is also called power transfer function. The corresponding quantity in the time domain is denoted as the auto correlation sequence of an impulse response

Corresponding quantities can be defined in the discrete Fourier domain and for Fourier series. Here, however, circular properties have to be considered.

Auto and cross power spectral densities (continued):

Page 82: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-82 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 17

Overview:

Auto and cross power spectral densities (continued):

Spectra:

Power spectral densities:

Page 83: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-83 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 18

Remarks:

The cross correlation sequence and the corresponding cross power spectral density contain and , respectively, directly (beside the auto correlation sequence or the auto power spectral density of the input). For that reason the „cross“ analyses contain also information about the phase of a systen (in contrast to the „auto“ analyses, that contain only information about the magnitude of a system).

Practical hint: Measuring an impulse response can be performed by estimating the cross correlation with white noise as excitation

In comparison with direct measurements much lower signal amplitudes can be used.

Auto and cross power spectral densities (continued):

Page 84: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-84 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 19

Remarks (continued):

Overview about impulse response estimation by means of cross correlation analysis:

Auto and cross power spectral densities (continued):

Noise generator

Linear system that should be identified

Estimation of the cross correlation

Should be fulfilled:

Estimation of the variance of the excitation

Page 85: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-85 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 20

If we know the auto correlation sequence and the mean of the system output we can easily compute the output variance (known from the slides of the section on “Discrete Signals and Random Processes”):

Inserting the relations found before, we obtain

Some more insight can be obtained by computing the terms in the Fourier domain. We can start with

Variance:

… inserting the definition of an inverse Fourier transform …

Page 86: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-86 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 21

Inserting this intermediate result into our previous findings leads to

Since we have , necessarily the integral must yield to a positive or at least to a non-negative value – even for “extremely narrow” . Therefore, the condition

must hold for all frequencies!

Variance (continued):

… inserting our result for (see last slide) …

Area under the input PSD weighted by the power transfer function!

Page 87: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-87 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 22

We start our studies on coherence with the following statement:

Two processes are called “coherent”, if one of them can be described as the output of a linear, shift-invariant (LTI) system excited by the other one. The complex coherence function is defined as follows It can be shown that we get for the squared magnitude of this function

Coherence:

Page 88: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-88 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 23

If we use the definition from the last slide for the following setup (assuming a linear, shift-invariant system with

we obtain

Coherence (continued):

… inserting and …

Page 89: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-89 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 24

Derivation (continued)

Coherence (continued):

… simplifying the square root in the denominator …

… truncating the auto power spectral density …

… only a phase term remains …

Page 90: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-90 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 25

Derivation (continued)

As a result we can conclude that the magnitude of the coherence between the input and the output of a linear, shift-invariant system is always one

However, this is only true if no distortions and no measurement noise is involved. If we extend our model according to we will obtain magnitude squared coherence values smaller than one.

Coherence (continued):

Page 91: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-91 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 26

Coherence between a system input and a noisy system output:

We assume now that the noise and the input signal are orthogonal. In this case all cross correlation sequences and all cross power spectral densities are zero:

Coherence (continued):

… inserting …

Page 92: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-92 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Discrete Linear Systems and Their Responses to Stochastic Processes – Part 27

Inserting this assumption leads to:

As a result we can conclude that now the magnitude of the coherence function is smaller than one (assuming a noise power different from zero):

Coherence (continued):

… inserting orthogonality between the input and the noise …

… inserting and …

Page 93: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-93 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

„Intermezzo“

Partner work:

Please ask your partner the questions on the extra slides and check her or his answers! Afterwards the questioning and the answering part will be exchanged!

Page 94: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-94 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Contents of the Section „Discrete linear systems and their response …“

System description

System classification

Discrete linear systems and their response to deterministic signals

Stability of linear systems

Special symmetries for real-valued systems

Discrete linear systems and their responses to stochastic processes

Probability density function

Mean

Auto and cross correlation

Auto and cross power spectral density

Variance

Coherence

Page 95: Advanced Signals and Systems Discrete Systems · Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Gerhard Schmidt ... Continuous, discrete,

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems Slide IV-95 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Systems

Discrete Systems

Contents of the Part on Discrete Systems

This part:

System description

System classification

Discrete linear systems and their response to deterministic signals

Stability of linear systems

Special symmetries for real-valued systems

Discrete linear systems and their responses to stochastic processes

Next part:

Idealized linear, shift-invariant systems