6 Systems Represented by Differential and Difference Equations



Similar documents
3 Signals and Systems: Part II

10 Discrete-Time Fourier Series

1.1 Discrete-Time Fourier Transform

UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE Fall 2010 Linear Systems Fundamentals

9 Fourier Transform Properties

2 Signals and Systems: Part I

x = + x 2 + x

Discrete-Time Signals and Systems

LS.6 Solution Matrices

UNIVERSITY OF CALIFORNIA, SAN DIEGO Electrical & Computer Engineering Department ECE Fall 2009 Linear Systems Fundamentals

MAS.836 HOW TO BIAS AN OP-AMP

Frequency Response of FIR Filters

NETWORK STRUCTURES FOR IIR SYSTEMS. Solution 12.1

T = 10-' s. p(t)= ( (t-nt), T= 3. n=-oo. Figure P16.2

(Refer Slide Time: 01:11-01:27)

3.1 State Space Models

2.161 Signal Processing: Continuous and Discrete Fall 2008

San José State University Department of Electrical Engineering EE 112, Linear Systems, Spring 2010

SGN-1158 Introduction to Signal Processing Test. Solutions

Lecture 7 Circuit analysis via Laplace transform

Solutions to Linear First Order ODE s

Em bedded DSP : I ntroduction to Digital Filters

PYKC Jan Lecture 1 Slide 1

Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients. y + p(t) y + q(t) y = g(t), g(t) 0.

4 Convolution. Solutions to Recommended Problems

Linear Systems. Signals and Systems

Lecture 8 ELE 301: Signals and Systems

Step response of an RLC series circuit

7. Beats. sin( + λ) + sin( λ) = 2 cos(λ) sin( )

12.4 UNDRIVEN, PARALLEL RLC CIRCUIT*

Equivalent Circuits and Transfer Functions

24 Butterworth Filters

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

ES250: Electrical Science. HW7: Energy Storage Elements

General Framework for an Iterative Solution of Ax b. Jacobi s Method

First Order Circuits. EENG223 Circuit Theory I

10.2 ITERATIVE METHODS FOR SOLVING LINEAR SYSTEMS. The Jacobi Method

Using the Impedance Method

19.7. Applications of Differential Equations. Introduction. Prerequisites. Learning Outcomes. Learning Style

min ǫ = E{e 2 [n]}. (11.2)

Lecture 7: Finding Lyapunov Functions 1

CITY UNIVERSITY LONDON. BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION

Solving Systems of Linear Equations

8.2. Solution by Inverse Matrix Method. Introduction. Prerequisites. Learning Outcomes

Applications of Second-Order Differential Equations

Discrete Mathematics: Homework 7 solution. Due:

Ver 3537 E1.1 Analysis of Circuits (2014) E1.1 Circuit Analysis. Problem Sheet 1 (Lectures 1 & 2)

EXAMPLE 8: An Electrical System (Mechanical-Electrical Analogy)

V out. Figure 1: A voltage divider on the left, and potentiometer on the right.

Slide Basic system Models

MATHEMATICAL SURVEY AND APPLICATION OF THE CROSS-AMBIGUITY FUNCTION

S-Parameters and Related Quantities Sam Wetterlin 10/20/09

30. Bode Plots. Introduction

G(s) = Y (s)/u(s) In this representation, the output is always the Transfer function times the input. Y (s) = G(s)U(s).

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

Chapter 8 - Power Density Spectrum

Math 55: Discrete Mathematics

Math Assignment 6

System Modeling and Control for Mechanical Engineers

Chapter 12 Modal Decomposition of State-Space Models 12.1 Introduction The solutions obtained in previous chapters, whether in time domain or transfor

CIRCUITS LABORATORY EXPERIMENT 3. AC Circuit Analysis

Solving Systems of Linear Equations

Computer Graphics. Geometric Modeling. Page 1. Copyright Gotsman, Elber, Barequet, Karni, Sheffer Computer Science - Technion. An Example.

2.6 The driven oscillator

School of Engineering Department of Electrical and Computer Engineering

PHASOR DIAGRAMS HANDS-ON RELAY SCHOOL WSU PULLMAN, WA. RON ALEXANDER - BPA

Circuits with inductors and alternating currents. Chapter 20 #45, 46, 47, 49

Frequency response: Resonance, Bandwidth, Q factor

Properties of electrical signals

3. Interpolation. Closing the Gaps of Discretization... Beyond Polynomials

Section Continued

Second Order Linear Partial Differential Equations. Part I

TTT4120 Digital Signal Processing Suggested Solution to Exam Fall 2008

Course overview Processamento de sinais 2009/10 LEA

Continued Fractions and the Euclidean Algorithm

FFT Algorithms. Chapter 6. Contents 6.1

Dynamic Eigenvalues for Scalar Linear Time-Varying Systems

1.4 Fast Fourier Transform (FFT) Algorithm

Introduction. Appendix D Mathematical Induction D1

Final Year Project Progress Report. Frequency-Domain Adaptive Filtering. Myles Friel. Supervisor: Dr.Edward Jones

Overview. Essential Questions. Precalculus, Quarter 4, Unit 4.5 Build Arithmetic and Geometric Sequences and Series

Lecture 13 Linear quadratic Lyapunov theory

Systems of Linear Equations

The Heat Equation. Lectures INF2320 p. 1/88

ELECTRICAL ENGINEERING

RLC Circuit Response and Analysis (Using State Space Method)

Nonlinear Systems of Ordinary Differential Equations

How To Calculate The Power Gain Of An Opamp

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

Curcuits and Differential Equaitons

Partial Fractions: Undetermined Coefficients

The Characteristic Polynomial

Networks, instruments and data centres: what does your seismic (meta-) data really mean? Joachim Wassermann (LMU Munich)

MATH10212 Linear Algebra. Systems of Linear Equations. Definition. An n-dimensional vector is a row or a column of n numbers (or letters): a 1.

5 Homogeneous systems

Lecture 24: Oscillators. Clapp Oscillator. VFO Startup

DEGREE: Bachelor in Biomedical Engineering YEAR: 2 TERM: 2 WEEKLY PLANNING

The Membrane Equation

Lecture 27: Mixers. Gilbert Cell

DC-DC Converter Basics

Transcription:

6 Systems Represented by ifferential and ifference Equations An important class of linear, time-invariant systems consists of systems represented 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 equations 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 series analysis, and digital filtering systems and algorithms are described by difference equations. In this lecture, we review the time-domain solution for linear constantcoefficient differential equations and show how the same basic strategy applies to difference equations. While this review is presented somewhat quickly, 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 important 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 particular 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 homogeneous solution. In Lecture 5 we showed that a linear, time-invariant system has the property 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 constant-coefficient differential or difference equation must have its auxiliary

Signals and Systems 6-2 conditions consistent with that property. If, in fact, the system is causal in addition 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-coefficient difference equations associated with discrete-time systems is that for causal systems the difference equation can be reformulated as an explicit relationship that states how successive values of the output can be computed from previously computed output values and the input. This recursive procedure for calculating the response of a difference equation is extremely useful in implementing causal systems. However, it is important to recognize that either 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 diagram or algorithm is often not the most efficient. Since the order in which linear, time-invariant systems are cascaded is not important to the overall inputoutput response, the most direct representation can be rearranged so that its implementation requires significantly less memory or, equivalently, delay registers. In addition, there are many other rearrangements, each having particular advantages and disadvantages. Similar kinds of rearrangements of the block diagrams also apply to the block diagram realizations of linear constant-coefficient differential equations for continuous-time systems. Suggested Reading Section 3.5, Systems escribed by ifferential and ifference Equations, pages 101-111 Section 3.6, Block-iagram Representations of LTI Systems escribed by ifferential and ifference Equations, pages 111-119

ifferential and ifference Equations LINEAR CONSTANT-COEFFICIENT IFFERENTIAL EQUATION Nth Order: N E: a k k=0 dk y(t) dtk M k=0 dkx(t) dt k 6.1 Nth-order linear constant-coefficient differential and difference equations. LINEAR CONSTANT-COEFFICIENT IFFERENCE EQUATION Nth Order: N E k=0 ak y[n-k] M =E k=0 bk x[n-k] N Ek=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) 6.2 Family of solutions for a linear constantcoefficient differential equation. 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

Signals and Systems 6-4 HOMOGENEOUS SOLUTION 6.3 Form of the 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 k=0 ak s k = 0 N roots s i i = 1,..., N Yh(t) = A 1 esit + A 2 es2t +... + ANeSNt 6.4 Requirements on the auxiliary conditions for a linear constantcoefficient differential equation to correspond to a linear system or to a causal LTI system. Need N auxiliary conditions, e.g. y(t), dy(t) dt N -1 V(t), "" '..N - 1 at t = t e Linear system <=> auxiliary conditions = 0 ecausal, LTI <=> initial rest: if x(t) = 0 t <to then y(t) = 0 t<t 0

ifferential and ifference Equations MARKERBOAR 6.1 C% :SOk" 4 t'ov% ts ct I ' ikt LL CLo ukt) S CO L Lt) C L o + LV Ct CO ~& dt~ e + a o 'K 1 t~~43l&l* Ot A e 6.5 Family of solutions for a Nth-order linear constant-coefficient difference equation.

Signals and Systems 6-6 6.6 Form of the homogeneous solution. 6.7 Requirements on the auxiliary conditions for a linear constantcoefficient difference equation to correspond to a linear system or to a causal LTI system.

ifferential and ifference Equations 6-7 ENCE EQUATION 6.8 Recursive causal solution to a linear constant-coefficient difference equation. MARKERBOAR 6.2

Signals and Systems 6-8 x [n] - y [n] 6.9 evelopment of the x [n1- A y [n -1) block diagram representation of the recursive solution. elays associated with the input and output. x [n-2] y [n-2] x [n-n] y[n-n] x[n] b- I y[n] b 6.10 x[n-] Incorporation of the 1 y[n-1) coefficient multiplication. x [n-2] b-a 2 y [n -2) x [n -N] y [n -N]

ifferential and ifference Equations x [n y [n] 6.11 Forming the sums of the weighted, delayed sequences. x [n [n-n] 6.12 Complete block diagram. This form is often referred to as the direct form I implementation.

Signals and Systems 6-10 6.13 Interchanging the order in which the two segments of the block diagram of Transparency 6.12 are cascaded. y n 6.14 Result of combining the two chains of delays in Transparency 6.13. This form is often referred to as the direct form II implementation.

ifferential and ifference Equations 6-11 MARKERBOAR 6.3 (a) 6.15 irect form I block diagram representation of a linear constant-coefficient differential equation.

Signals and Systems 6-12 / N bn 6.16 Resulting block diagram when the order of the two subsystems in Transparency 6.15 is reversed. x (t y( t) 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.

CA ~ <Vt ifferential and ifference Equations MARKERBOAR 6.3 (b) ci vt~ cii~l*~ <5 7~ tskt4y&~4t) S I K C ej$adit*w 6, icl sti t 0' - Needt wkber vat. L~i I 5 -t Lii kinit A C-&Aflmde%5 7.TI %46 ((K A

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.