Documente Academic
Documente Profesional
Documente Cultură
Introduction
One of the most important concepts of DSP is to be able to properly represent the
input/output relationship to a given LTI system. A linear constant-coefficient difference equation
(LCCDE) serves as a way to express just this relationship in a discrete-time system. Writing the
sequence of inputs and outputs, which represent the characteristics of the LTI system, as a
difference equation help in understanding and manipulating a system.
In general, an Nth-order linear constant coefficient difference equation has the form
𝑁𝑁 𝑀𝑀
where 𝑁𝑁 and 𝑀𝑀 are non-negative integers. Assuming the system is causal (and assuming
𝑎𝑎0 ≠ 0), solving the Eq (2.1a) for 𝑦𝑦[𝑛𝑛] results in the recursive definition
𝑀𝑀 𝑁𝑁
1
𝑦𝑦[𝑛𝑛] = �� 𝑏𝑏𝑘𝑘 𝑥𝑥 [ 𝑛𝑛 − 𝑘𝑘 ] − � 𝑎𝑎𝑘𝑘 𝑦𝑦[ 𝑛𝑛 − 𝑘𝑘 ]� (2.1b)
𝑎𝑎0
𝑘𝑘=0 𝑘𝑘=1
From this equation, note that 𝑦𝑦[ 𝑛𝑛 − 𝑘𝑘 ] represents the outputs and 𝑥𝑥 [ 𝑛𝑛 − 𝑘𝑘 ] represents the
inputs. The value of 𝑁𝑁 represents the order of the difference equation and corresponds to the
memory of the system being represented. Because this equation relies on past values of the output,
in order to compute a numerical solution, certain past outputs, referred to as the initial conditions,
must be known.
Consider some of example of difference equation such as
Solution
Let 𝑛𝑛 = 𝑛𝑛 + 2
The order of the systems is (𝑁𝑁,𝑀𝑀), indicated number of storage devices in the system.
Usually 𝑁𝑁≥ 𝑀𝑀 (for causality) and order is 𝑁𝑁.
Assumed causal 𝑀𝑀=𝑁𝑁 in above equation. If non-unity coefficient on 𝑦𝑦[𝑛𝑛], can divide to
force unity coefficient. It requires initial conditions, up to maximum system memory to perform
computations. Initial conditions 𝑦𝑦[−𝑁𝑁], 𝑦𝑦[−𝑛𝑛+1], …, 𝑦𝑦[−1].
Example:
Put into delay operator form the difference equation given by 3𝑦𝑦[𝑛𝑛 + 3] + 4y[n + 2] +
y[n] = 9x[n + 2] − 3x[n + 1].
Solution:
Let 𝑛𝑛 = 𝑛𝑛 − 3
In Eq. (3.1) 𝑦𝑦[𝑛𝑛] is computed from 2𝑁𝑁+1 pieces of information; the preceding 𝑁𝑁 values of
the output: 𝑦𝑦[𝑛𝑛−1], 𝑦𝑦[𝑛𝑛−2], . . . , 𝑦𝑦[𝑛𝑛−𝑁𝑁], and the preceding 𝑁𝑁 values of the input: x[𝑛𝑛−1] , x[𝑛𝑛−2],
. . . , x[𝑛𝑛−𝑁𝑁], and the present value of the input x[𝑛𝑛].
Suppose that the system is initially at rest and that 𝑥𝑥[𝑛𝑛] has nonzero values starting at 𝑛𝑛=0.
Then, the condition of initial rest means that 𝑦𝑦[−1]=𝑦𝑦[−1]=𝑦𝑦[−2]=…=𝑦𝑦[−𝑁𝑁]=0, and one can start
computing 𝑦𝑦[𝑛𝑛] recursively.
This is often how digital filters are implemented on a computer or a digital signal processor
board. This is also how a simulation of the response of a differential equation is typically
computed: first, the differential equation is discretized at a given sampling rate to obtain a
difference equation, and then the response of the difference equation is computed recursively.
Initially, to compute y[0], the 𝑁𝑁 initial conditions y[−1] , y[−2], . . . , y[−𝑁𝑁] serve as the
preceding 𝑁𝑁 output values.
Hence, knowing the 𝑁𝑁 initial conditions and the input, we can determine the entire output
y[0], y[1], y[2], y[3], . . . recursively, one value at a time
Example:
Solution:
𝑦𝑦[0] = 1 − 0.6
𝒚𝒚[𝟎𝟎] = 𝟎𝟎. 𝟒𝟒
Next, setting 𝑛𝑛 = −1
𝒚𝒚[𝟏𝟏] = 𝟏𝟏. 𝟏𝟏
Note carefully the recursive nature of the computations. From the N initial conditions (and
the input) we obtained y[O] first. Then, using this value of y [O] and the preceding N - 1 initial
conditions (along with the input), we find y [ l ] . Next, using y [O], y [ l ] along with the past N -
2 initial conditions and input, we obtained y[2], and so on. This method is general and can be
applied to a recursive difference equation of any order.
We shall see in the future that the solution of a difference equation obtained in this direct
(iterative) way is useful in many situations. Despite the many uses of this method, a closed-form
solution of a difference equation is far more useful in study of the system behavior and its
dependence on the input and the various system parameters. For this reason we shall develop a
systematic procedure to analyze discrete-time systems along lines similar to those used for
continuous-time systems.
Operational Notation
In difference equations it is convenient to use operational notation similar to that used in
differential equations for the sake of compactness. In continuous-time systems we used the
operator D to denote the operation of differentiation. For discrete-time systems we shall use the
operator E to denote the operation for advancing a sequence by one time unit. Thus
Solution 1
Given 𝑦𝑦[𝑛𝑛] = 𝑎𝑎𝑎𝑎[𝑛𝑛 − 1] + 𝑥𝑥[𝑛𝑛]
Solution 2
1 1
Given 𝑦𝑦[𝑛𝑛 + 2] + 2 𝑦𝑦[𝑛𝑛 + 1] + 4 𝑦𝑦[𝑛𝑛] = 𝑥𝑥[𝑛𝑛 + 2]
1 1
𝐸𝐸2 𝑦𝑦[𝑛𝑛] + 𝐸𝐸𝐸𝐸[𝑛𝑛] + 𝑦𝑦[𝑛𝑛] = 𝐸𝐸2 𝑥𝑥 [𝑛𝑛]
2 4
𝟏𝟏 𝟏𝟏
�𝑬𝑬𝟐𝟐 + 𝑬𝑬 + � 𝒚𝒚[𝒏𝒏] = 𝑬𝑬𝟐𝟐 𝒙𝒙[𝒏𝒏]
𝟐𝟐 𝟒𝟒
or
𝑸𝑸[𝑬𝑬]𝒚𝒚[𝒏𝒏] = 𝑃𝑃[𝐸𝐸]𝒙𝒙[𝒏𝒏]
(4.3)
(4.4)
Zero-Input Response
The zero-input response 𝑦𝑦0 [𝑛𝑛] is the solution to the difference equation if the input 𝑥𝑥 [𝑛𝑛] =
0. That is,
𝑦𝑦0 [𝑛𝑛 + 𝑁𝑁] + 𝑎𝑎𝑁𝑁−1 𝑦𝑦[𝑛𝑛 + 𝑁𝑁 − 1] + ⋯ + 𝑎𝑎1 𝑦𝑦0 [𝑛𝑛 + 1] + 𝑎𝑎0 𝑦𝑦0 [𝑛𝑛] = 0 (5.2)
We can solve this equation systematically. But even a cursory examination of this equation
points to its solution. This equation states that a linear combination of 𝑦𝑦0 [𝑛𝑛] and advanced 𝑦𝑦0 [𝑛𝑛]
is zero, not for some values of 𝑛𝑛, but for all 𝑛𝑛. Such situation is possible if and only if 𝑦𝑦0 [𝑛𝑛] and
advanced 𝑦𝑦0 [𝑛𝑛] have the same form. Only an exponential function 𝛾𝛾 𝑛𝑛 has this property
𝛾𝛾 𝑛𝑛+𝑚𝑚 = 𝛾𝛾 𝑛𝑛 𝛾𝛾 𝑚𝑚 (5.3)
Equation (5.3) shows that 𝛾𝛾 𝑛𝑛 advanced by 𝑚𝑚units is a constant (𝛾𝛾 𝑚𝑚) time 𝛾𝛾 𝑛𝑛 . Therefore,
the solution must be of the form
To determine 𝑐𝑐 and 𝑦𝑦, we substitute this solution in Eq. (5.1). Equation (5.4) yields
Furthermore, it yields to
Equation (5.6) is an Nth-order polynomial in 𝛾𝛾. This polynomial is the same as the 𝐸𝐸 operators
Q[𝐸𝐸] . Thus, we can express this polynomial as Q[𝛾𝛾 ]. This will give N-roots to the polynomial
which gives N solution to the equation 𝑄𝑄[𝐸𝐸]𝑦𝑦0 [𝑛𝑛] = 0
𝑄𝑄[𝛾𝛾 ] is an nth-order polynomial and can be expressed. in the factored form (assuming all
distinct roots):
where 𝛾𝛾1, 𝛾𝛾2 , … 𝛾𝛾𝑁𝑁 are the roots of Eq. (5.7) and 𝑐𝑐1, 𝑐𝑐2 , … 𝑐𝑐𝑁𝑁 are arbitrary constants determined
from 𝑁𝑁 auxiliary conditions, generally given in the form of initial conditions. The polynomial 𝑄𝑄[𝛾𝛾 ]
is called the characteristic polynomial of the system, and
𝑄𝑄[𝛾𝛾 ] = 0 (5.9)
is the characteristic equation of the system. Moreover, 𝛾𝛾1 , 𝛾𝛾2 , … 𝛾𝛾𝑁𝑁 , the roots of the characteristic
equation, are called characteristic roots or characteristic values (also eigenvalues) of the system.
The exponentials 𝛾𝛾𝑖𝑖𝑛𝑛 (𝑖𝑖 = 1, 2, … , 𝑁𝑁) are the characteristic modes or natural modes of the
system. A characteristic mode corresponds to each characteristic roots of the system, and the zero-
input response is a linear combination of the characteristic modes of the system.
Example:
Solution:
Characteristic equation:
𝑛𝑛 = −1
0 = 𝑐𝑐1 (0.9)−1 + 𝑐𝑐2 (−0.1)−1
10
𝑐𝑐1 � � + 𝑐𝑐2 (10) = 0
9
𝑛𝑛 = −2
10
= 𝑐𝑐1 (0.9)−2 + 𝑐𝑐2(−0.1)−2
3
100 10
𝑐𝑐1 � � + 𝑐𝑐2 (100) =
81 3
Solving for systems of linear equations for 2 unknowns, we obtain 𝑐𝑐1 = 27/100 and 𝑐𝑐2 =
3/100.
Therefore,
𝟐𝟐𝟐𝟐 𝟑𝟑
𝒚𝒚𝟎𝟎 [𝒏𝒏] = (𝟎𝟎. 𝟗𝟗)𝒏𝒏 + (−𝟎𝟎. 𝟏𝟏)𝒏𝒏
𝟏𝟏𝟏𝟏𝟏𝟏 𝟏𝟏𝟏𝟏𝟏𝟏
So far we have assumed the system to have 𝑁𝑁 distinct characteristic roots 𝛾𝛾1, 𝛾𝛾2 , … 𝛾𝛾𝑁𝑁 with
corresponding characteristic modes 𝛾𝛾 𝑛𝑛 , 𝛾𝛾2𝑛𝑛 , … 𝛾𝛾𝑁𝑁𝑛𝑛 . If two or more roots coincide (repeated roots),
the form of characteristic modes is modified. Direct substitution shows that if a root 𝛾𝛾 repeats 𝑟𝑟
times (root of multiplicity 𝑟𝑟), the corresponding characteristic modes for this root are
𝛾𝛾1𝑛𝑛 , 𝑛𝑛𝛾𝛾1𝑛𝑛 , 𝑛𝑛2 𝛾𝛾1𝑛𝑛 , … , 𝑛𝑛𝑟𝑟−1 𝛾𝛾1𝑛𝑛 . Thus, if the characteristic equation of a system is
Q[𝛾𝛾 ] = (𝛾𝛾 − 𝛾𝛾1 )𝑟𝑟 (𝛾𝛾 − 𝛾𝛾𝑟𝑟+1 ) … (𝛾𝛾 − 𝛾𝛾𝑁𝑁 ) = 0 (5.10)
the zero-input response of the system is
𝒚𝒚𝒐𝒐 [𝒏𝒏] = (𝒄𝒄𝟏𝟏 + 𝒄𝒄𝟐𝟐 𝒏𝒏 + 𝒄𝒄𝟑𝟑 𝒏𝒏𝟐𝟐 + ⋯ + 𝒄𝒄𝒓𝒓 𝒏𝒏𝒓𝒓−𝟏𝟏 )𝜸𝜸𝒏𝒏𝟏𝟏 + 𝒄𝒄𝒓𝒓+𝟏𝟏 𝜸𝜸𝒏𝒏𝒓𝒓+𝟏𝟏 + ⋯ + 𝒄𝒄𝑵𝑵 𝜸𝜸𝒏𝒏𝑵𝑵 (5.11)
Example:
Consider the DT LTI system described by (𝐸𝐸2 + 6𝐸𝐸 + 9)𝑦𝑦[𝑛𝑛] = (2𝐸𝐸2 + 6𝐸𝐸)𝑥𝑥[𝑛𝑛]. Find
2 1
the zero-input response if 𝑦𝑦[−1] = − and 𝑦𝑦[−2] = .
3 9
Solution
𝛾𝛾 2 + 6𝛾𝛾 + 9 = 0
(𝛾𝛾 + 3)2 = 0
𝑛𝑛 = −1
2 1
− = (𝑐𝑐1 − 𝑐𝑐2 ) �− �
3 3
𝑛𝑛 = −2
1 1
= (𝑐𝑐1 − 2𝑐𝑐2 ) � �
9 9
Solving for systems of linear equations with 2 unknowns, we obtain 𝑐𝑐1 = 3 and 𝑐𝑐2 = 1
Therefore,
First, we express the complex conjugate roots 𝛾𝛾 and 𝛾𝛾 ∗in polar form. If |𝛾𝛾 |is the magnitude
and 𝛽𝛽 is the angle of 𝛾𝛾, then
𝑦𝑦𝑜𝑜 [𝑛𝑛] = 𝑐𝑐1 𝛾𝛾 𝑛𝑛 + 𝑐𝑐2 (𝛾𝛾 ∗)𝑛𝑛 𝑦𝑦𝑜𝑜 [𝑛𝑛] = 𝑐𝑐1 |𝛾𝛾 |𝑛𝑛 𝑒𝑒 𝑗𝑗𝑗𝑗𝑗𝑗 + 𝑐𝑐2 |𝛾𝛾 |𝑛𝑛 𝑒𝑒 −𝑗𝑗𝑗𝑗𝑗𝑗
Then
𝑐𝑐
𝑦𝑦𝑜𝑜 [𝑛𝑛] = |𝛾𝛾 |𝑛𝑛 �𝑒𝑒 𝑗𝑗(𝛽𝛽𝛽𝛽+𝜃𝜃) + 𝑒𝑒 −𝑗𝑗(𝛽𝛽𝛽𝛽+𝜃𝜃) �
2
𝒚𝒚𝒐𝒐 [𝒏𝒏] = 𝒄𝒄|𝜸𝜸|𝒏𝒏 𝐜𝐜𝐜𝐜𝐜𝐜 (𝜷𝜷𝜷𝜷 + 𝜽𝜽)
Example
Consider the DT LTI system described by (𝐸𝐸2 − 1.3𝐸𝐸 + 0.663)𝑦𝑦[𝑛𝑛] = 𝐸𝐸2 𝑥𝑥[𝑛𝑛]. Find the
zero-input response if 𝑦𝑦[−1] = 2 and 𝑦𝑦[−2] = 1.
Solution
Characteristic equation:
𝛾𝛾 2 − 1.3𝛾𝛾 + 0.663 = 0
(𝛾𝛾 − 0.64 + j0.49)(𝛾𝛾 − 0.65 − j0.49) = 0
Roots
Thus,
Simplifying further,
𝑐𝑐 𝑐𝑐
cos(−0.646 + 𝜃𝜃 ) = (cos(0.646) cos 𝜃𝜃 + sin(0.646) sin 𝜃𝜃)
0.814 0.814
𝑐𝑐 [0.981 cos 𝜃𝜃 + 0.740 sin 𝜃𝜃 ] = 2
𝑐𝑐 𝑐𝑐
cos(−1.292 + 𝜃𝜃 ) = (cos(1.292) cos 𝜃𝜃 + sin(1.292) sin 𝜃𝜃 )
0.663 0.663
𝑐𝑐 [0.415 cos 𝜃𝜃 + 1.450 sin 𝜃𝜃 ] = 1
Thus,
Therefore,
The unit impulse response ℎ[𝑛𝑛] is the solution of this equation for the input 𝛿𝛿[𝑛𝑛] with all
the initial conditions zero; that is,
𝑄𝑄[𝐸𝐸]ℎ[𝑛𝑛] = 𝑃𝑃[𝐸𝐸]𝛿𝛿[𝑛𝑛]
Example:
Find the impulse response for the DT system 𝑦𝑦[𝑛𝑛] − 0.5𝑦𝑦[𝑛𝑛 − 1] − 0.2𝑦𝑦[𝑛𝑛 − 2] =
3𝑥𝑥[𝑛𝑛] iteratively.
Solution
Take note that the initial conditions is always equal to zero at 𝑡𝑡 ≤ 0, thus
ℎ[−1] = ℎ[−2] = ⋯ = 0
𝑛𝑛 = 0
ℎ[0] = 0 + 0 + 3(1)
𝒉𝒉[𝟎𝟎] = 𝟑𝟑
𝑛𝑛 = 1
ℎ[1] = 0.5ℎ[0] + 0.2ℎ[−1] + 3𝛿𝛿 [1]
𝒉𝒉[𝟏𝟏] = 𝟏𝟏. 𝟓𝟓
𝑛𝑛 = 2
Continuing this way, we can determine any number of terms of ℎ[𝑛𝑛]. Unfortunately, such
a solution does not yield a closed-form expression for ℎ[𝑛𝑛]. Nevertheless, determining a few values
of ℎ[𝑛𝑛] can be useful in determining the closed-form solution.
Recall that ℎ[𝑛𝑛] is the system response to input 𝛿𝛿 [𝑛𝑛], which is zero for n > 0. We know
that when the input is zero, only the characteristic modes can be sustained by the system.
Therefore, ℎ[𝑛𝑛] must be made up of characteristic modes for n > 0. At n = 0, it may have some
nonzero value 𝐴𝐴0 , so that a general form of ℎ[𝑛𝑛] can be expressed as
where 𝑦𝑦𝑐𝑐 [𝑛𝑛] is a linear combination of the characteristic modes. We now substitute the
above equation in 𝑄𝑄[𝐸𝐸]ℎ[𝑛𝑛] = 𝑃𝑃[𝐸𝐸]𝛿𝛿[𝑛𝑛] to obtain 𝑄𝑄[𝐸𝐸](𝐴𝐴0 𝛿𝛿 [𝑛𝑛] + 𝑦𝑦𝑐𝑐 [𝑛𝑛]𝛿𝛿[𝑛𝑛]) . Because 𝑦𝑦𝑐𝑐 [𝑛𝑛]
is made up of characteristic modes, 𝑄𝑄 [𝐸𝐸]𝑦𝑦𝑐𝑐 [𝑛𝑛]𝑢𝑢[𝑛𝑛] = 0 and we obtain 𝐴𝐴0 𝑄𝑄[𝐸𝐸]𝛿𝛿 [𝑛𝑛] =
𝑃𝑃[𝐸𝐸] 𝛿𝛿[𝑛𝑛], that is,
Setting n = 0 in this equation and using the fact that 𝛿𝛿[𝑚𝑚] = 0 for all 𝑚𝑚 ≠ 0, and 𝛿𝛿 [0] = 1 , we
obtain
Therefore,
𝑏𝑏𝑁𝑁
ℎ[𝑛𝑛] = 𝛿𝛿 [𝑛𝑛] + 𝑦𝑦𝑐𝑐 [𝑛𝑛]𝑢𝑢[𝑛𝑛]
𝑎𝑎𝑁𝑁
Example
Find the closed form impulse response for the DT system 𝑦𝑦[𝑛𝑛] − 0.5𝑦𝑦[𝑛𝑛 − 1] −
0.2𝑦𝑦[𝑛𝑛 − 2] = 3𝑥𝑥[𝑛𝑛]
Solution
Let 𝑛𝑛 = 𝑛𝑛 + 2
𝑐𝑐1 + 𝑐𝑐2 = 3
Zero-state Response
The zero-state response 𝑦𝑦[𝑛𝑛] is the system response to an input 𝑥𝑥[𝑛𝑛] when the system is in
the zero state. A signal 𝑥𝑥[𝑛𝑛] can be expressed as a sum of impulse components. The component of
𝑥𝑥[𝑛𝑛] at 𝑛𝑛 = 𝑚𝑚 is 𝑥𝑥[𝑚𝑚]𝛿𝛿[𝑛𝑛 − 𝑚𝑚], and 𝑥𝑥[𝑛𝑛] is the sum of all these components summed from 𝑚𝑚 =
−∞ 𝑡𝑡𝑡𝑡 ∞.
Therefore
For a linear system, knowing the system response to impulse 𝛿𝛿[𝑛𝑛], the system response to
any arbitrary input could be obtain by summing the system response to various impulse
components.
Let ℎ[𝑛𝑛] be the system response to impulse input 𝛿𝛿[𝑛𝑛]. We shall use the notation
𝑥𝑥[𝑛𝑛] ⇒ 𝑦𝑦[𝑛𝑛]
to indicate the input and the corresponding response of the system. Thus, if
𝛿𝛿[𝑛𝑛] ⇒ ℎ[𝑛𝑛]
The left-hand side is 𝑥𝑥[𝑛𝑛] and the right-hand side is the system response 𝑦𝑦[𝑛𝑛] to input 𝑥𝑥 [𝑛𝑛].
Therefore,
∞
The summation on the right-hand side is known as the convolution sum of 𝑥𝑥[𝑛𝑛] and ℎ[𝑛𝑛], and is
represented symbolically by 𝑥𝑥 [𝑛𝑛] ∗ ℎ[𝑛𝑛]
∞
Find the zero-state response 𝑦𝑦[𝑛𝑛] of an LTID system described by the equation
𝑦𝑦[𝑛𝑛 + 2] − 0.6𝑦𝑦[𝑛𝑛 + 1] − 0.16𝑦𝑦[𝑛𝑛] = 5𝑥𝑥[𝑛𝑛 + 2] if the input 𝑥𝑥 [𝑛𝑛] = 2−𝑛𝑛 𝑢𝑢[𝑛𝑛].
Solution:
Total Response
The total response of an LTID system can be express as a sum of the zero-input and zero-
state components:
Where
Find the total response of the DT LTI system described by 𝑦𝑦[𝑛𝑛 + 2] − 0.6𝑦𝑦[𝑛𝑛 + 1] −
25
0.16𝑦𝑦[𝑛𝑛] = 5𝑥𝑥[𝑛𝑛 + 2] given the initial conditions 𝑦𝑦[−1] = 0, 𝑦𝑦[−2] = , and input 𝑥𝑥 [𝑛𝑛] =
4
2𝑛𝑛 𝑢𝑢[𝑛𝑛]
Solution:
(𝐸𝐸2 − 0.6𝐸𝐸 − 0.16)𝑦𝑦[𝑛𝑛] = 5𝐸𝐸2 𝑥𝑥[𝑛𝑛]
Therefore,
1 4
𝑦𝑦0 [𝑛𝑛] = (−0.2)𝑛𝑛 + (0.8)𝑛𝑛
5 5
From the previous examples,
The characteristic modes of the previous system are (−0.2)𝑛𝑛 and (0.8)𝑛𝑛 The zero-input
component is made up of characteristic modes exclusively, as expected, but the characteristic
modes also appear in the zero-state response.
When all the characteristic mode terms in the total response are lumped together, the
resulting component is the natural response.
The remaining part of the total response that is· made up of non-characteristic modes is
the forced response
Example:
Simplifying further the previous equation, we obtain
𝟏𝟏𝟏𝟏 𝟏𝟏𝟏𝟏𝟏𝟏 𝟏𝟏𝟏𝟏𝟏𝟏
𝒚𝒚[𝒏𝒏] = (−𝟎𝟎. 𝟐𝟐)𝒏𝒏 + (𝟎𝟎. 𝟖𝟖)𝒏𝒏 − (𝟎𝟎. 𝟓𝟓)𝒏𝒏
𝟑𝟑𝟑𝟑 𝟏𝟏𝟏𝟏 𝟐𝟐𝟐𝟐
𝟏𝟏𝟏𝟏 𝟏𝟏𝟏𝟏𝟏𝟏
Natural response: (−𝟎𝟎. 𝟐𝟐)𝒏𝒏 + (𝟎𝟎. 𝟖𝟖)𝒏𝒏
𝟑𝟑𝟑𝟑 𝟏𝟏𝟏𝟏
𝟏𝟏𝟏𝟏𝟏𝟏
Forced response: − (𝟎𝟎. 𝟓𝟓)𝒏𝒏
𝟐𝟐𝟐𝟐
References:
Principles of Linear Systems and Signals 2nd Edition by B.P. Lathi
Fundamentals of Signals and Systems by Benoit Boulet
Signals and Systems by Richard Baranuik
https://www.youtube.com/user/agpanagos
CRITIQUE
Microcontroller.
The paper focuses on the analysis of the fractional-order backward difference and linear
microcontroller and was compared using Matlab. These analysis proposed solutions to address the
“calculation tail” problems which was experienced by microcontrollers that causes errors in real-
time calculation due to the linearly growing number of multiplications and additions while
According to Miller et. al (1993) and Podlubny (1999), as cited on the paper by Matusiak
et. al (2018), discrete fractional calculus has a significant role and become an effective
mathematical tool in the identification, analysis and synthesis of real dynamical systems in various
fields of science and engineering. However, sophisticated computational algorithms cause errors
in real-time calculations of microcontroller. Therefore, one should pay attention to these complex
the “growing tail calculations” and on how to improve mathematical models for complex
calculation algorithms implemented in a microcontroller. The main problem found was that the
microprocessor adds additional operations in each step of calculation thus leading to a situation
where it will not be able to perform desired operations within the specified sampling period. As a
solution, the author suggests to apply some simplifying assumptions as remedy. The paper
The paper develops a mathematical model t first to address these problems then analyzed
the results using a microcontroller. The limitations were identified and taken into consideration
especially the necessary precision for floating point values. Floating point values are important
because large number of calculations might not get a valid representation in the microprocessor
memory. However, decision of floating-point type leads to another limitation related to available
memory size. Finally, the last problem identified is related to the sampling time. The paper
References
Matusiak, M., Sankowski, D., & Ostalczyk, P. (2018). On a Fractional-order Backward
Difference Equation Solution Solved by a Microcontroller. 2018 International
Interdisciplinary PhD Workshop (IIPhDW) (pp. 330-334). Swinoujście, Poland: IEEE.
doi:10.1109/IIPHDW.2018.8388384