• No results found

6 Systems Represented by Differential and Difference Equations

N/A
N/A
Protected

Academic year: 2022

Share "6 Systems Represented by Differential and Difference Equations"

Copied!
14
0
0

Loading.... (view fulltext now)

Full text

(1)

6

Systems Represented by Differential and

Difference Equations

An important class of linear, time-invariant systems consists of systems rep- resented by linear constant-coefficient differential equations in continuous time and linear constant-coefficient difference equations in discrete time.

Continuous-time linear, time-invariant systems that satisfy differential equa- tions are very common; they include electrical circuits composed of resistors, inductors, and capacitors and mechanical systems composed of masses, springs, and dashpots. In discrete time a wide variety of data filtering, time se- ries analysis, and digital filtering systems and algorithms are described by dif- ference equations.

In this lecture, we review the time-domain solution for linear constant- coefficient differential equations and show how the same basic strategy ap- plies to difference equations. While this review is presented somewhat quick- ly, it is assumed that you have had some prior exposure to differential equations and their time-domain solution, perhaps in the context of circuits or mechanical systems. In any case, in Lecture 9 after we have developed the Fourier transform, we will see some more efficient (at least mathematically) ways of obtaining the solution.

In considering the time-domain solution to linear constant-coefficient differential and difference equations, we should recognize a number of impor- tant features. Foremost is the fact that the differential or difference equation by itself specifies a family of responses only for a given input x(t). In particu- lar we can always add to any solution another solution that satisfies the homogeneous equation corresponding to x(t) or x(n) being zero. Thus, for unique specification of a system, in addition to the differential or difference equation some auxiliary conditions (for example, a set of initial conditions) are needed that will specify the arbitrary constants present in the homo- geneous solution.

In Lecture 5 we showed that a linear, time-invariant system has the prop- erty that if the input is zero for all time, then the output will also be zero for all time. Consequently, a linear, time-invariant system specified by a linear con- stant-coefficient differential or difference equation must have its auxiliary

(2)

Signals and Systems 6-2

conditions consistent with that property. If, in fact, the system is causal in ad- dition to being linear and time-invariant, then the auxiliary conditions will correspond to the requirement of initial rest; that is, if the input is zero prior to some time, then the output must be zero at least until the same time. In the context of RLC circuits, for example, this would correspond to an assumption of no initial capacitor voltages or inductor currents prior to the time at which the input becomes nonzero.

An important distinction between linear constant-coefficient differential equations associated with continuous-time systems and linear constant-coef- ficient difference equations associated with discrete-time systems is that for causal systems the difference equation can be reformulated as an explicit re- lationship that states how successive values of the output can be computed from previously computed output values and the input. This recursive proce- dure for calculating the response of a difference equation is extremely useful in implementing causal systems. However, it is important to recognize that ei- ther in algebraic terms or in terms of block diagrams, a difference equation can often be rearranged into other forms leading to implementations that may have particular advantages. For example, as illustrated in the lecture, the most direct representation of a difference equation in terms of a block dia- gram or algorithm is often not the most efficient. Since the order in which lin- ear, time-invariant systems are cascaded is not important to the overall input- output response, the most direct representation can be rearranged so that its implementation requires significantly less memory or, equivalently, delay reg- isters. In addition, there are many other rearrangements, each having particu- lar advantages and disadvantages. Similar kinds of rearrangements of the block diagrams also apply to the block diagram realizations of linear con- stant-coefficient differential equations for continuous-time systems.

Suggested Reading

Section 3.5, Systems Described by Differential and Difference Equations, pages 101-111

Section 3.6, Block-Diagram Representations of LTI Systems Described by Dif- ferential and Difference Equations, pages 111-119

(3)

LINEAR CONSTANT-COEFFICIENT DIFFERENTIAL EQUATION

Nth Order:

N

E: a

k k=0

dk y(t) dtk

M k=0

dkx(t) dt k

LINEAR CONSTANT-COEFFICIENT DIFFERENCE EQUATION

Order: ak y[n-k]

N

E

k=0

M

=E

k=0

bk x[n-k]

TRANSPARENCY 6.1

Nth-order linear constant-coefficient differential and difference equations.

E N k=0

N

k=0

dky(t) M

a = -E

dtk k=O

dkyh(t)

k k 0

dt

dkx(t)

k dtk (1)

(Homogeneous Equation) (2)

Given x(t), if y (t) satisfies (1) then so does y,(t) + yh(t) where yh (t) satisfies (2)

yp(t) A Particular solution yh (t)

=

Homogeneous solution

TRANSPARENCY 6.2

Family of solutions for a linear constant- coefficient differential equation.

Nth

(4)

Signals and Systems

6-4

TRANSPARENCY

6.3

Form of the homogeneous solution.

HOMOGENEOUS SOLUTION

N dkYh(t) 0

ak dtk

k0O

"guess" solution of the form Yh (t) = Aest

N

E ak A s k est = 0

k=0

N

ak s k = 0 k=0

N roots s i i = 1, ... , N

Yh(t) = A

1

esit + A

2

es2t + ... + ANeSNt

TRANSPARENCY

6.4

Requirements on the auxiliary conditions for a linear constant- coefficient differential equation to corre- spond to a linear

system or to a causal LTI system.

Need N auxiliary conditions, e.g.

dy(t)

y(t), dt , "" '

N -1

..N - 1

V(t)

e Linear system <=> auxiliary conditions = 0

eCausal, LTI <=> initial rest:

if x(t) then y(t)

at t = t

= 0 t <to

= 0 t<t

0

(5)

e + a o

dt~

A e

C% :SOk"4t'Ov% ts

ct I ' ikt LL CLo

+ LV

ukt) S CO L

Lt)

C L o

Ct CO

~&

'K

1 t~~43L&L*

Ot

TRANSPARENCY 6.5

Family of solutions for a Nth-order linear constant-coefficient difference equation.

MARKERBOARD 6.1

(6)

Signals and Systems 6-6

TRANSPARENCY 6.6

Form of the homogeneous solution.

TRANSPARENCY 6.7

Requirements on the auxiliary conditions for a linear constant- coefficient difference equation to corre- spond to a linear system or to a causal LTI system.

(7)

6-7

ENCE EQUATION

TRANSPARENCY 6.8

Recursive causal solution to a linear constant-coefficient difference equation.

MARKERBOARD 6.2

(8)

Signals and Systems 6-8

x [n]

-

y [n]

D D

TRANSPARENCY

6.9 x [n1-|A y

[n

-1)

Development of the block diagram representation of the

recursive solution. D D

Delays associated with the input and output.

x [n-2] y [n-2]

D D

x [n-N] y[n-N]

x[n] b- I y[n]

D D

TRANSPARENCY b

6.10 x[n-] 11 y[n-1)

Incorporation of the coefficient

multiplication.

D D

x

[n-2]

b-a 2 y

[n

-2)

x

[n

-N] y

[n

-N]

(9)

TRANSPARENCY 6.11

Forming the sums of the weighted, delayed

sequences.

TRANSPARENCY 6.12

Complete block diagram. This form is often referred to as the direct form I implementation.

x [n y [n]

x [n [n-N]

(10)

Signals and Systems 6-10

TRANSPARENCY 6.13

Interchanging the order in which the two segments of the block diagram of Transparency 6.12 are cascaded.

TRANSPARENCY 6.14

Result of combining the two chains of delays in Trans- parency 6.13. This form is often referred

to as the direct form II implementation.

y n

(11)

Differential and Difference Equations 6-11

MARKERBOARD 6.3 (a)

TRANSPARENCY 6.15

Direct form I block diagram represen- tation of a linear constant-coefficient differential equation.

(12)

Signals and Systems 6-12

TRANSPARENCY 6.16

Resulting block diagram when the

order of the two subsystems in Transparency 6.15 is reversed.

TRANSPARENCY 6.17

The result of combining the two chains of integrators in Transparency 6.16.

This form is often referred to as the direct form II.

/ N bN

y( t) x (t

(13)

Differential and Difference Equations

MARKERBOARD 6.3 (b)

CA~

<Vt

ci vt~ cii~L*~

<5

7~

tsKt4Y&~4t)

S I

K C

vat.

L~i

5

I Lii

-t

((K A

ej$Adit*w 6, icl sti t 0'

- Needt wkber

kinit A C-&Aflmde%5

7.TI %46

(14)

MIT OpenCourseWare http://ocw.mit.edu

Resource: Signals and Systems

Professor Alan V. Oppenheim

The following may not correspond to a particular course on MIT OpenCourseWare, but has been provided by the author as an individual learning resource.

For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

References

Related documents

Findings from the structural equation modelling suggested that Standardisation and dimensional coordination, Collaborative Design Process, Design for Modern Methods

The objective of the study was to opera- tionalize the conceptual framework by developing strategies and tools for the design, preparation and execution of action research projects

(iii) Write down the range of values of arg(z) for complex numbers z corresponding to points on the ellipse.. The point P is reflected in the

The study, based in the constructivist paradigm, used a phenomenological strategy to explain first-year college students’ perceptions of the effects of a 1:1 laptop experience

A regression analysis of the mean DMI per bird per treatment diet was performed over the different lupin inclusion levels (%) to establish the feed intake

The quliraq, which like other old stories is rarely told anymore, contains words that are not heard or used very often anymore (evidence o f language loss) by young adults and

To search an index created using Adobe Acrobat Catalog, you first select the indexes to search, define a search query, and view the occurrences of the search term within the

[r]