Skip to content Skip to navigation

Connexions

You are here: Home » Content » Time-Domain System Example One

Navigation

Recently Viewed

This feature requires Javascript to be enabled.

Time-Domain System Example One

Module by: Don Johnson. E-mail the author

User rating (How does the rating system work?)
Ratings

Ratings allow you to judge the quality of modules. If other users have ranked the module then its average rating is displayed below. Ratings are calculated on a scale from one star (Poor) to five stars (Excellent).

How to rate a module

Hover over the star that corresponds to the rating you wish to assign. Click on the star to add your rating. Your rating should be based on the quality of the content. You must have an account and be logged in to rate content.

:
(0 ratings)

Summary: Explains the parameters and response of the difference equation.

Note: Your browser may not currently support MathML. See our browser support page for additional details. You can always view the correct math in the PDF version.

Example 1

Let's consider the simple system having p=1 p 1 and q=0 q 0 .

yn=ayn1+bxn yn a y n1 b xn (1)
To compute the output at some index, this difference equation says we need to know what the previous output yn1 y n 1 and what the input signal is at that moment of time. In more detail, let's compute this system's output to a unit-sample input: xn=δn x n δ n . Because the input is zero for negative indices, we start by trying to compute the output at n=0 n 0 .
y0=ay-1+b y0 a y -1 b (2)
What is the value of y-1 y -1 ? Because we have used an input that is zero for all negative indices, it is reasonable to assume that the output is also zero. Certainly, the difference equation would not describe a linear system if the input that is zero for all time did not produce a zero output. With this assumption, y-1=0 y -1 0 , leaving y0=b y 0 b . For n>0 n 0 , the input unit-sample is zero, which leaves us with the difference equation n,n>0:yn=ayn1 n n 0 yn a y n1 . We can envision how the filter responds to this input by making a table.
yn=ayn1+bδn yn a y n1 b δn (3)

Figure 1
nn xn x n yn y n
-1-1 00 00
00 bb bb
11 00 ba b a
22 00 ba2 b a 2
00
nn 00 ban b a n

Coefficient values determine how the output behaves. The parameter bb can be any value, and serves as a gain. The effect of the parameter aa is more complicated (Figure 1). If it equals zero, the output simply equals the input times the gain b b. For all non-zero values of aa, the output lasts forever; such systems are said to be IIR ( Infinite Impulse Response). The reason for this terminology is that the unit sample also known as the impulse (especially in analog situations), and the system's response to the "impulse" lasts forever. If aa is positive and less than one, the output is a decaying exponential. When a=1 a1, the output is a unit step. If aa is negative and greater than -11, the outputoscillates while decaying exponentially. When a=1 a1, the output changes sign forever, alternating between bb and -bb. More dramatic effects when |a|>1 a 1 ; whether positive or negative, the output signal becomes larger and larger, growing exponentially.

Figure 2: The input to the simple example system, a unit sample, is shown at the top, with the outputs for several system parameter values shown below.
Figure 2 (sig21.png)

Positive values of aa are used in population models to describe how population size increases over time. Here, nn might correspond to generation. The difference equation says that the number in the next generation is some multiple of the previous one. If this multiple is less than one, the population becomes extinct; if greater than one, the population flourishes. The same difference equation also describes the effect of compound interest on deposits. Here, nn indexes the times at which compounding occurs (daily, monthly, etc.), aa equals the compound interest rate plus one, and b=1 b1 (the bank provides no gain). In signal processing applications, we typically require that the output remain bounded for any input. For our example, that means that we restrict |a|=1 a 1 and chose values for it and the gain according to the application.

Exercise 1

Note that the difference equation,

yn= a 1 yn1+...+ a p ynp+ b 0 xn+ b 1 xn1+...+ b q xnq y n a 1 y n 1 ... a p y n p b 0 x n b 1 x n 1 ... b q x n q (4)
does not involve terms like yn+1 y n 1 or xn+1 x n 1 on the equation's right side. Can such terms also be included? Why or why not?

Solution

Such terms would require the system to know what future input or output values would be before the current value was computed. Thus, such terms can cause difficulties.

Content actions

Give Feedback:

E-mail the module author | Rate module ( How does the rating system work?)

Rating system

Ratings

Ratings allow you to judge the quality of modules. If other users have ranked the module then its average rating is displayed below. Ratings are calculated on a scale from one star (Poor) to five stars (Excellent).

How to rate a module

Hover over the star that corresponds to the rating you wish to assign. Click on the star to add your rating. Your rating should be based on the quality of the content. You must have an account and be logged in to rate content.

(0 ratings)

Download:

Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.

| A lens (?)

Definition of a lens

Lenses

A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual Connexions member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks