Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention...

53
Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic System Properties Copyright c 2018 Andreas Antoniou Victoria, BC, Canada Email: [email protected] July 9, 2018 Frame # 1 Slide # 1 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Transcript of Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention...

Page 1: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Chapter 2DISCRETE-TIME SYSTEMS

2.1 Introduction2.2 Basic System Properties

Copyright c© 2018 Andreas AntoniouVictoria, BC, Canada

Email: [email protected]

July 9, 2018

Frame # 1 Slide # 1 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 2: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Introduction

t Various types of discrete-time systems have emerged since theinvention of the digital computer such as the systems used fordigital control, robotics, data compression, andimage-processing.

t This presentation will deal with the basic properties associatedwith discrete-time systems in general:

– Linearity

– Time invariance

– Causality

Frame # 2 Slide # 2 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 3: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Introduction

t Various types of discrete-time systems have emerged since theinvention of the digital computer such as the systems used fordigital control, robotics, data compression, andimage-processing.t This presentation will deal with the basic properties associatedwith discrete-time systems in general:

– Linearity

– Time invariance

– Causality

Frame # 2 Slide # 3 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 4: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Basic System Properties

The response (or output) y(nT ) of a discrete-time system isrelated to the excitation (or input) x(nT ) by some rule ofcorrespondence, i.e.,

y(nT ) = Rx(nT )

where R is an operator.

x(nT )

nTnT

x(nT )

y(nT )

y(nT )Discrete-time system

Frame # 3 Slide # 4 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 5: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Basic System Properties Cont’d

t For a discrete-time system that can be used for the processingof signals, such as a digital filter, the rule of correspondencemust of necessity involve some operation that changes thefrequency spectrum of the input signal.

t For example, the operator R might transform an input signalx(nT ) into an output signal y(nT ) such that thehigh-frequency components in x(nT ) are removed.In such a case, the system would operate as a lowpass digitalfilter.

Frame # 4 Slide # 5 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 6: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Basic System Properties Cont’d

t For a discrete-time system that can be used for the processingof signals, such as a digital filter, the rule of correspondencemust of necessity involve some operation that changes thefrequency spectrum of the input signal.t For example, the operator R might transform an input signalx(nT ) into an output signal y(nT ) such that thehigh-frequency components in x(nT ) are removed.In such a case, the system would operate as a lowpass digitalfilter.

Frame # 4 Slide # 6 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 7: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Basic System Properties Cont’d

Depending on the rule of correspondence, a discrete-time systemcan be classified as:t Linear or nonlineart Time-invariant or time-dependentt Causal or noncausal

Frame # 5 Slide # 7 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 8: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Linearity

t A discrete-time system is linear if and only if it satisfies theconditions

Rαx(nT ) = αRx(nT ) (A)

R[x1(nT ) + x2(nT )] = Rx1(nT ) +Rx2(nT ) (B)

for all possible values of α and all possible excitations x1(nT )and x2(nT ).

– The condition in Eq. (A) is referred to as the proportionalityor homogeneity condition.

– The condition in Eq. (B) is referred to as the superposition oradditivity condition.

Frame # 6 Slide # 8 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 9: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Linearity

t A discrete-time system is linear if and only if it satisfies theconditions

Rαx(nT ) = αRx(nT ) (A)

R[x1(nT ) + x2(nT )] = Rx1(nT ) +Rx2(nT ) (B)

for all possible values of α and all possible excitations x1(nT )and x2(nT ).

– The condition in Eq. (A) is referred to as the proportionalityor homogeneity condition.

– The condition in Eq. (B) is referred to as the superposition oradditivity condition.

Frame # 6 Slide # 9 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 10: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Linearity

t A discrete-time system is linear if and only if it satisfies theconditions

Rαx(nT ) = αRx(nT ) (A)

R[x1(nT ) + x2(nT )] = Rx1(nT ) +Rx2(nT ) (B)

for all possible values of α and all possible excitations x1(nT )and x2(nT ).

– The condition in Eq. (A) is referred to as the proportionalityor homogeneity condition.

– The condition in Eq. (B) is referred to as the superposition oradditivity condition.

Frame # 6 Slide # 10 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 11: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Linearity Cont’d

· · ·Rαx(nT ) = αRx(nT ) (A)

R [x1(nT ) + x2(nT )] = Rx1(nT ) +Rx2(nT ) (B)

t From the superposition condition, i.e., Eq. (B), we get

y(nT ) = R [αx1(nT ) + βx2(nT )] = R [αx1(nT )] +R [βx2(nT )]

t Now from the proportionality condition, i.e., Eq. (A), we have

y(nT ) = R [αx1(nT ) + βx2(nT )] = αRx1(nT ) + βRx2(nT )

Thus, Eqs. (A) and (B) can be combined into one equation.t If this condition is violated for any pair of excitations or anyconstant α or β, then the system is nonlinear .

Frame # 7 Slide # 11 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 12: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Linearity Cont’d

· · ·Rαx(nT ) = αRx(nT ) (A)

R [x1(nT ) + x2(nT )] = Rx1(nT ) +Rx2(nT ) (B)

t From the superposition condition, i.e., Eq. (B), we get

y(nT ) = R [αx1(nT ) + βx2(nT )] = R [αx1(nT )] +R [βx2(nT )]

t Now from the proportionality condition, i.e., Eq. (A), we have

y(nT ) = R [αx1(nT ) + βx2(nT )] = αRx1(nT ) + βRx2(nT )

Thus, Eqs. (A) and (B) can be combined into one equation.

t If this condition is violated for any pair of excitations or anyconstant α or β, then the system is nonlinear .

Frame # 7 Slide # 12 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 13: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Linearity Cont’d

· · ·Rαx(nT ) = αRx(nT ) (A)

R [x1(nT ) + x2(nT )] = Rx1(nT ) +Rx2(nT ) (B)

t From the superposition condition, i.e., Eq. (B), we get

y(nT ) = R [αx1(nT ) + βx2(nT )] = R [αx1(nT )] +R [βx2(nT )]

t Now from the proportionality condition, i.e., Eq. (A), we have

y(nT ) = R [αx1(nT ) + βx2(nT )] = αRx1(nT ) + βRx2(nT )

Thus, Eqs. (A) and (B) can be combined into one equation.t If this condition is violated for any pair of excitations or anyconstant α or β, then the system is nonlinear .

Frame # 7 Slide # 13 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 14: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Linearity Cont’d

t Linearity is a simple system property which is very familiar tothe typical shopper.

t If the price of apples were $4.00 per kg and that of pears$5.00 per kg, then 3 kgs of apples would cost $12.00 and 5kgs of pears would cost $25.00 if the proportionality conditionwere satisfied.t On the other hand, 1 kg of apples and 1 kg of pears wouldcost $9.00 if the superposition condition were satisfied.t Now if both conditions were satisfied, the situation at handwould be linear and 5 kgs of apples plus 3 kgs of pears wouldcost $35.00.

Frame # 8 Slide # 14 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 15: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Linearity Cont’d

t Linearity is a simple system property which is very familiar tothe typical shopper.t If the price of apples were $4.00 per kg and that of pears$5.00 per kg, then 3 kgs of apples would cost $12.00 and 5kgs of pears would cost $25.00 if the proportionality conditionwere satisfied.

t On the other hand, 1 kg of apples and 1 kg of pears wouldcost $9.00 if the superposition condition were satisfied.t Now if both conditions were satisfied, the situation at handwould be linear and 5 kgs of apples plus 3 kgs of pears wouldcost $35.00.

Frame # 8 Slide # 15 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 16: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Linearity Cont’d

t Linearity is a simple system property which is very familiar tothe typical shopper.t If the price of apples were $4.00 per kg and that of pears$5.00 per kg, then 3 kgs of apples would cost $12.00 and 5kgs of pears would cost $25.00 if the proportionality conditionwere satisfied.t On the other hand, 1 kg of apples and 1 kg of pears wouldcost $9.00 if the superposition condition were satisfied.

t Now if both conditions were satisfied, the situation at handwould be linear and 5 kgs of apples plus 3 kgs of pears wouldcost $35.00.

Frame # 8 Slide # 16 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 17: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Linearity Cont’d

t Linearity is a simple system property which is very familiar tothe typical shopper.t If the price of apples were $4.00 per kg and that of pears$5.00 per kg, then 3 kgs of apples would cost $12.00 and 5kgs of pears would cost $25.00 if the proportionality conditionwere satisfied.t On the other hand, 1 kg of apples and 1 kg of pears wouldcost $9.00 if the superposition condition were satisfied.t Now if both conditions were satisfied, the situation at handwould be linear and 5 kgs of apples plus 3 kgs of pears wouldcost $35.00.

Frame # 8 Slide # 17 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 18: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Linearity Cont’d

t Supposing now that we were to buy our apples and pears atthe corner store and the storekeeper reduces the price ofapples to $3.00 per kg if we buy more than 3 kgs of apples,then the proportionality condition would be violated.

If he throws in an extra pear if we buy both apples and pears,then the superposition condition would be violated.

In either case the situation would have become nonlinear.

Frame # 9 Slide # 18 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 19: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Linearity Cont’d

t Supposing now that we were to buy our apples and pears atthe corner store and the storekeeper reduces the price ofapples to $3.00 per kg if we buy more than 3 kgs of apples,then the proportionality condition would be violated.

If he throws in an extra pear if we buy both apples and pears,then the superposition condition would be violated.

In either case the situation would have become nonlinear.

Frame # 9 Slide # 19 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 20: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Linearity Cont’d

t Supposing now that we were to buy our apples and pears atthe corner store and the storekeeper reduces the price ofapples to $3.00 per kg if we buy more than 3 kgs of apples,then the proportionality condition would be violated.

If he throws in an extra pear if we buy both apples and pears,then the superposition condition would be violated.

In either case the situation would have become nonlinear.

Frame # 9 Slide # 20 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 21: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Linearity Cont’d

t If the rule of correspondence of a discrete-time signal isknown, then the system can be tested for linearity by checkingwhether the combined condition

R [αx1(nT ) + βx2(nT )] = αRx1(nT ) + βRx2(nT )

is satisfied. This tends to involve quite a bit of writing.

t A simpler approach that works well in the case where thesystem is nonlinear is to attempt to find a situation thatwould violate either the proportionality condition

Rαx(nT ) = αRx(nT ) (A)

or the superposition condition

R [x1(nT ) + x2(nT )] = Rx1(nT ) +Rx2(nT ) (B)

Frame # 10 Slide # 21 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 22: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Linearity Cont’d

t If the rule of correspondence of a discrete-time signal isknown, then the system can be tested for linearity by checkingwhether the combined condition

R [αx1(nT ) + βx2(nT )] = αRx1(nT ) + βRx2(nT )

is satisfied. This tends to involve quite a bit of writing.t A simpler approach that works well in the case where thesystem is nonlinear is to attempt to find a situation thatwould violate either the proportionality condition

Rαx(nT ) = αRx(nT ) (A)

or the superposition condition

R [x1(nT ) + x2(nT )] = Rx1(nT ) +Rx2(nT ) (B)

Frame # 10 Slide # 22 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 23: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Linearity Cont’d

t For example, if the rule of correspondence includes terms like|x(nT )| or xk(nT ) where k 6= 1, then the proportionalitycondition would most likely be violated and one would need tocheck only Eq. (A).

If it is violated, then the work is done and the system isclassified as nonlinear.

If it is not violated, then one must also check thesuperposition condition and if it is violated, the system isnonlinear.

Otherwise, the system is linear.

Frame # 11 Slide # 23 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 24: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Linearity Cont’d

t For example, if the rule of correspondence includes terms like|x(nT )| or xk(nT ) where k 6= 1, then the proportionalitycondition would most likely be violated and one would need tocheck only Eq. (A).

If it is violated, then the work is done and the system isclassified as nonlinear.

If it is not violated, then one must also check thesuperposition condition and if it is violated, the system isnonlinear.

Otherwise, the system is linear.

Frame # 11 Slide # 24 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 25: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Linearity Cont’d

t For example, if the rule of correspondence includes terms like|x(nT )| or xk(nT ) where k 6= 1, then the proportionalitycondition would most likely be violated and one would need tocheck only Eq. (A).

If it is violated, then the work is done and the system isclassified as nonlinear.

If it is not violated, then one must also check thesuperposition condition and if it is violated, the system isnonlinear.

Otherwise, the system is linear.

Frame # 11 Slide # 25 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 26: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Linearity Cont’d

t For example, if the rule of correspondence includes terms like|x(nT )| or xk(nT ) where k 6= 1, then the proportionalitycondition would most likely be violated and one would need tocheck only Eq. (A).

If it is violated, then the work is done and the system isclassified as nonlinear.

If it is not violated, then one must also check thesuperposition condition and if it is violated, the system isnonlinear.

Otherwise, the system is linear.

Frame # 11 Slide # 26 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 27: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Example

The response of a discrete-time system is given by

y(nT ) = Rx(nT ) = 7x2(nT − T )

Check the system for linearity.

Solution A delayed version of the input signal appears squared inthe characterization of the system and the proportionalitycondition is most likely violated.

Frame # 12 Slide # 27 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 28: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Example Cont’d

For an arbitrary constant α, we have

R [αx(nT )] = 7α2x2(nT − T )

On the other hand,

αRx(nT ) = 7αx2(nT − T )

Clearly if α 6= 1, then

R [αx(nT )] 6= αRx(nT )

i.e., the proportionality condition is violated and, therefore, thesystem is nonlinear .

Frame # 13 Slide # 28 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 29: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Example

The response of a discrete-time system is given by

y(nT ) = Rx(nT ) = (nT )2x(nT + 2T )

Check the system for linearity.

Solution For this case, the proportionality condition is notviolated, as can be easily verified, and so we should check thecombined equation

R [αx1(nT ) + βx2(nT )] = αRx1(nT ) + βRx2(nT )

Frame # 14 Slide # 29 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 30: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Example Cont’d

We can write

R [αx1(nT ) + βx2(nT )] = (nT )2 [αx1(nT + 2T ) + βx2(nT + 2T )]

= α(nT )2x1(nT + 2T ) + β(nT )2x2(nT + 2T )

= αRx1(nT ) + βRx2(nT )

i.e., the system is linear .

Note: The squared term (nT )2 may trick a few but it does notaffect the linearity of the system since it is a time-dependent systemparameter which is independent of the input signal.

Frame # 15 Slide # 30 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 31: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Example Cont’d

We can write

R [αx1(nT ) + βx2(nT )] = (nT )2 [αx1(nT + 2T ) + βx2(nT + 2T )]

= α(nT )2x1(nT + 2T ) + β(nT )2x2(nT + 2T )

= αRx1(nT ) + βRx2(nT )

i.e., the system is linear .

Note: The squared term (nT )2 may trick a few but it does notaffect the linearity of the system since it is a time-dependent systemparameter which is independent of the input signal.

Frame # 15 Slide # 31 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 32: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Time Invariance

t To deal with time invariance, the concept of an initiallyrelaxed system is required.

t A system is said to be initially relaxed if its excitation andresponse have been zero prior to instant nT = 0.t In mathematical terms, a discrete-time system is initiallyrelaxed if

x(nT ) = y(nT ) = 0 for n < 0t In practice, discrete-time systems utilize a certain type ofdigital element known as the unit delay .

Unit delays are actually memory devices and their contentsmust be zero for the discrete-time system to be initiallyrelaxed.

Frame # 16 Slide # 32 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 33: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Time Invariance

t To deal with time invariance, the concept of an initiallyrelaxed system is required.t A system is said to be initially relaxed if its excitation andresponse have been zero prior to instant nT = 0.

t In mathematical terms, a discrete-time system is initiallyrelaxed if

x(nT ) = y(nT ) = 0 for n < 0t In practice, discrete-time systems utilize a certain type ofdigital element known as the unit delay .

Unit delays are actually memory devices and their contentsmust be zero for the discrete-time system to be initiallyrelaxed.

Frame # 16 Slide # 33 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 34: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Time Invariance

t To deal with time invariance, the concept of an initiallyrelaxed system is required.t A system is said to be initially relaxed if its excitation andresponse have been zero prior to instant nT = 0.t In mathematical terms, a discrete-time system is initiallyrelaxed if

x(nT ) = y(nT ) = 0 for n < 0

t In practice, discrete-time systems utilize a certain type ofdigital element known as the unit delay .

Unit delays are actually memory devices and their contentsmust be zero for the discrete-time system to be initiallyrelaxed.

Frame # 16 Slide # 34 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 35: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Time Invariance

t To deal with time invariance, the concept of an initiallyrelaxed system is required.t A system is said to be initially relaxed if its excitation andresponse have been zero prior to instant nT = 0.t In mathematical terms, a discrete-time system is initiallyrelaxed if

x(nT ) = y(nT ) = 0 for n < 0t In practice, discrete-time systems utilize a certain type ofdigital element known as the unit delay .

Unit delays are actually memory devices and their contentsmust be zero for the discrete-time system to be initiallyrelaxed.

Frame # 16 Slide # 35 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 36: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Time Invariance Cont’d

t A discrete-time system is said to be time-invariant if itsresponse to an arbitrary excitation does not depend on thetime of application of the excitation, i.e., its internalparameters do not change with time.

t Formally, an initially relaxed discrete-time system istime-invariant if and only if

Rx(nT − kT ) = y(nT − kT )

for all possible excitations x(nT ) and all integers k .t A discrete-time system that does not satisfy the above test forat least one signal and any value of k other than 0 istime-dependent.

Frame # 17 Slide # 36 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 37: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Time Invariance Cont’d

t A discrete-time system is said to be time-invariant if itsresponse to an arbitrary excitation does not depend on thetime of application of the excitation, i.e., its internalparameters do not change with time.t Formally, an initially relaxed discrete-time system istime-invariant if and only if

Rx(nT − kT ) = y(nT − kT )

for all possible excitations x(nT ) and all integers k .

t A discrete-time system that does not satisfy the above test forat least one signal and any value of k other than 0 istime-dependent.

Frame # 17 Slide # 37 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 38: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Time Invariance Cont’d

t A discrete-time system is said to be time-invariant if itsresponse to an arbitrary excitation does not depend on thetime of application of the excitation, i.e., its internalparameters do not change with time.t Formally, an initially relaxed discrete-time system istime-invariant if and only if

Rx(nT − kT ) = y(nT − kT )

for all possible excitations x(nT ) and all integers k .t A discrete-time system that does not satisfy the above test forat least one signal and any value of k other than 0 istime-dependent.

Frame # 17 Slide # 38 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 39: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Time Invariance Cont’d

nT

y(nT − kT )

nT

x(nT − kT )

nT

x(nT )

nT

y(nT )

(a) (b)

kT

kT

Frame # 18 Slide # 39 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 40: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Example

A discrete-time system is characterized by the equation

y(nT ) = Rx(nT ) = 2nTx(nT )

Is the system time-invariant or time-dependent?

Solution The response to a delayed excitation is

Rx(nT − kT ) = 2nTx(nT − kT )

The delayed response is: y(nT − kT ) = 2(nT − kT )x(nT − kT )

For any k 6= 0, we have: Rx(nT − kT ) 6= y(nT − kT )

Therefore, the system is time-dependent.

Frame # 19 Slide # 40 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 41: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Example

A discrete-time system is characterized by the equation

y(nT ) = Rx(nT ) = 12x(nT − T ) + 11x(nT − 2T )

Is the system time-invariant or time-dependent?

Frame # 20 Slide # 41 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 42: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Example Cont’d

Solution The response to a delayed excitation is

Rx(nT − kT ) = 12x(nT − T − kT ) + 11x(nT − 2T − kT )

The delayed response is

y(nT − kT ) = 12x(nT − T − kT ) + 11x(nT − 2T − kT )

For any k , we have

Rx(nT − kT ) = y(nT − kT )

Therefore, the system is time-invariant.

Frame # 21 Slide # 42 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 43: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Causality

t A discrete-time system is said to be causal if its response at aspecific instant is independent of future values of theexcitation.

t A more precise way of saying very much the same thing is asfollows:

An initially relaxed discrete-time system is causal if and only if

Rx1(nT ) = Rx2(nT ) for n ≤ k (C)

for all possible distinct excitations x1(nT ) and x2(nT ) suchthat

x1(nT ) = x2(nT ) for n ≤ k (D)t If Eq. (C) is not satisfied for at least one distinct pair ofexcitations that satisfy Eq. (D) and at least one value of k,then the system is noncausal .

Frame # 22 Slide # 43 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 44: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Causality

t A discrete-time system is said to be causal if its response at aspecific instant is independent of future values of theexcitation.t A more precise way of saying very much the same thing is asfollows:

An initially relaxed discrete-time system is causal if and only if

Rx1(nT ) = Rx2(nT ) for n ≤ k (C)

for all possible distinct excitations x1(nT ) and x2(nT ) suchthat

x1(nT ) = x2(nT ) for n ≤ k (D)

t If Eq. (C) is not satisfied for at least one distinct pair ofexcitations that satisfy Eq. (D) and at least one value of k,then the system is noncausal .

Frame # 22 Slide # 44 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 45: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Causality

t A discrete-time system is said to be causal if its response at aspecific instant is independent of future values of theexcitation.t A more precise way of saying very much the same thing is asfollows:

An initially relaxed discrete-time system is causal if and only if

Rx1(nT ) = Rx2(nT ) for n ≤ k (C)

for all possible distinct excitations x1(nT ) and x2(nT ) suchthat

x1(nT ) = x2(nT ) for n ≤ k (D)t If Eq. (C) is not satisfied for at least one distinct pair ofexcitations that satisfy Eq. (D) and at least one value of k,then the system is noncausal .

Frame # 22 Slide # 45 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 46: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Causality Cont’d

nT

kT

nT

kT

nT

x1(nT )

kT

nT

Rx1(nT )

kT

x2(nT )

Rx2(nT )

(a) (b)

Frame # 23 Slide # 46 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 47: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Example

A discrete-time system is represented by the equation

y(nT ) = Rx(nT ) = 3x(nT − 2T ) + 3x(nT + 2T )

Is the system causal or noncausal?

Solution Let x1(nT ) and x2(nT ) be distinct excitations such that

x1(nT ) = x2(nT ) for n ≤ k and x1(nT ) 6= x2(nT ) for n > k(E)

For n = k we have

Frame # 24 Slide # 47 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 48: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Example Cont’d

· · ·x1(nT ) = x2(nT ) for n ≤ k and x1(nT ) 6= x2(nT ) for n > k

(E)For n = k we have

Rx1(nT )|n=k = 3x1(kT − 2T ) + 3x1(kT + 2T )

Rx2(nT )|n=k = 3x2(kT − 2T ) + 3x2(kT + 2T )

but since3x1(kT + 2T ) 6= 3x2(kT + 2T )

from our assumption in Eq. (E), we conclude that

Rx1(nT ) 6= Rx2(nT ) for n = k

Therefore, the system is noncausal .

Frame # 25 Slide # 48 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 49: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Example

A discrete-time system is represented by the equation

y(nT ) = Rx(nT ) = 3x(nT − T )− 3x(nT − 2T )

Is the system causal or noncausal?

Solution Let x1(nT ) and x2(nT ) be distinct excitations such that

x1(nT ) = x2(nT ) for n ≤ k and x1(nT ) 6= x2(nT ) for n > k(F)

Frame # 26 Slide # 49 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 50: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

Example Cont’d

· · ·x1(nT ) = x2(nT ) for n ≤ k and x1(nT ) 6= x2(nT ) for n > k

(F)In this example, we have

Rx1(nT ) = 3x1(nT − T ) + 3x1(nT − 2T )

Rx2(nT ) = 3x2(nT − T ) + 3x2(nT − 2T )

If n ≤ k , then n − 1, n − 2 < k and so on the basis of ourassumption in Eq. (F), we have

x1(nT−T ) = x2(nT−T ) and x1(nT−2T ) = x2(nT−2T ) for n ≤ k

Hence we conclude that

Rx1(nT ) = Rx2(nT ) for n ≤ k

Therefore, the system is causal .Frame # 27 Slide # 50 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 51: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

System Properties Cont’d

t Analog systems such as analog filters are almost always linearand time invariant, and because they are real-time devicesthey have to be causal .

Any nonlinearity or time-dependence is usually animperfection.

t Discrete-time systems such as digital filters can be nonlinear,time-dependent, or noncausal , e.g., so-called median filtersare nonlinear, adaptive filters are time-dependent, andnonrecursive filters are often noncausal.

Frame # 28 Slide # 51 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 52: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

System Properties Cont’d

t Analog systems such as analog filters are almost always linearand time invariant, and because they are real-time devicesthey have to be causal .

Any nonlinearity or time-dependence is usually animperfection.t Discrete-time systems such as digital filters can be nonlinear,time-dependent, or noncausal , e.g., so-called median filtersare nonlinear, adaptive filters are time-dependent, andnonrecursive filters are often noncausal.

Frame # 28 Slide # 52 A. Antoniou Digital Filters – Secs. 2.1, 2.2

Page 53: Chapter 2 DISCRETE-TIME SYSTEMS 2.1 Introduction 2.2 Basic …2P.pdf · 2018. 7. 31. · invention of the digital computer such as the systems used for digital control, robotics,

This slide concludes the presentation.

Thank you for your attention.

Frame # 29 Slide # 53 A. Antoniou Digital Filters – Secs. 2.1, 2.2