Analysis of LTI Systems using
Difference Equations
Dr. Pooja Sahni
Need of Difference Equations
• 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 represent the
characteristics of the LTI system, as a difference
equation help in understanding and manipulating a
system.
Difference Equation
• Definition
An equation that shows the relationship between
consecutive values of a sequence and the differences
among them. They are often rearranged as a
recursive formula so that a systems output can be
computed from the input signal and past outputs.
Example : y[n]+7y[n−1]+2y[n−2]=x[n]
−4x[n−1]
A discrete time system takes discrete time input signal
{ x[ n ] },& produces an output signal { y[ n ] }.
•Implemented by general purpose computer,
microcomputer or dedicated digital hardware capable
of carrying out arithmetic operations on samples of
{x[n]} and {y[n]}.
SYSTEM
input
{x[n]}
output
{y[n]}
Concepts
• {x[n]} is sequence whose value at t=nT is x[n]. T is sampling
interval in seconds.
• 1/T is sampling frequency in Hz.
• {x[n-N]} is sequence whose value at t=nT is x[n-N].
{x[n-N]} is {x[n]} with every sample delayed
by N sampling intervals.
(i) Discrete time "amplifier" with output: y[n] depending on
present input only
y[n] = A . x[n]. Described by“ difference equation"
• Represented in diagram form by a "signal flow graph” .
x[n] y[n]
A
(ii) Processing system whose output at t=nT is obtained by
weighting & summing present & previous input samples:
y[n] = A0 x[n] + A1 x[n-1] + A2 x[n-2] + A3 x[n-3] + A4x[n-4]
‘Non-recursive difference equatn’ with signal flow graph below.
Boxes marked " z-1
" produce a delay of one sampling interval.
z-1
z-1
z-1 z-1
x[n]
A0 A1
A2 A3 A4
y[n]
(iii) System whose output y[n] at t = nT is calculated according to
the following recursive difference equation:
y[n] = A0 x[n] - B1 y[n-1]
whose signal flow graph is given below.
• Recursive means that previous values of y[n] as well as
present & previous values of x[n] are used to calculate y[n].
z-1
x[n] A0
B1
y[n]
(iv) A system whose output at t=nT is:
y[n] = (x[n])2
as represented below.
x[n] y[n]
• The General form can be given as:
• We can also write it as below in recursive form:
The value of N represents the order of the difference equation and
corresponds to the memory of the system being represented.
• Taking z transform of above equation, we get
transfer function:-
Solving a LCCDE
• Two common methods exist for solving a
LCCDE:
• The direct method
• The indirect method
Direct Method
• The final solution to the output based on the
direct method is the sum of two parts, expressed
in the following equation:
Y(n)=Yh(n)+Yp(n)
first part, Yh(n), is the homogeneous solution
second part, Yp(n) , is the particular solution
Homogenous Solution
• We begin by assuming that the input is zero, x(n)=0. Now we simply
need to solve the homogeneous difference equation:
• Then We will use lambda, λ, to represent our exponential terms
and to solve the following equation:
• We can expand this equation out and factor out all of the lambda
terms. This will give us a large polynomial in parenthesis, which is
referred to as the characteristic polynomial
Particular Solution
• The particular solution, Yp(n), will be any solution that will solve
the general difference equation:
• Then the particular solution will be in form:
• for x(n) = Cδ(n) the particular solution is zero.
Because x(n) = 0 for n > 0
Particular Solutions for different inputs
Examples
Difference equation for btech ece engeneering
Difference equation for btech ece engeneering

More Related Content

PDF
Lectures in signals and systems
PPTX
Chap 3 - LTI systems introduction & Coverage.pptx
PDF
Digital Signal Processing : Topic 1: Discrete Time Systems (std).pdf
PDF
2.time domain analysis of lti systems
PPTX
Digital Signal Processing
PPTX
Chapter-3.pptx
PDF
L8. LTI systems described via difference equations.pdf
PPT
UNIT-I Frequeny Responce of DTSs (1).ppt
Lectures in signals and systems
Chap 3 - LTI systems introduction & Coverage.pptx
Digital Signal Processing : Topic 1: Discrete Time Systems (std).pdf
2.time domain analysis of lti systems
Digital Signal Processing
Chapter-3.pptx
L8. LTI systems described via difference equations.pdf
UNIT-I Frequeny Responce of DTSs (1).ppt

Similar to Difference equation for btech ece engeneering (20)

PDF
Digital Signal Processing[ECEG-3171]-Ch1_L03
PPTX
Lecture-2.pptx
PDF
Brief summary of signals
PPTX
Structures for discrete time systems
PPTX
discrete-timesignalsandsystems1-150402120032-conversion-gate01.pptx
PPTX
discrete time signals and systems
PPTX
discrete time signals and systems
PPT
Discrete-time singnal system lecture.ppt
PPTX
Discrete Time Systems & its classifications
PPT
Chap 2 discrete_time_signal_and_systems
PDF
Fourier and Laplace transforms in analysis of CT systems PDf.pdf
PDF
Lecture 4 Signals & Systems.pdf
PDF
ELEC 310-7-8 DT convolution and LTI systems.pdf
DOCX
Continuous Time Convolution1. Solve the following for y(t.docx
PDF
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
PDF
PDF Solutions Manual to accompany Signals & Systems 2nd edition 9780138147570...
PDF
Lect3-signal-processing.pdf
PPTX
DSP Implementation of Discrete Time System
PDF
Solutions Manual to accompany Signals & Systems 2nd edition 9780138147570
Digital Signal Processing[ECEG-3171]-Ch1_L03
Lecture-2.pptx
Brief summary of signals
Structures for discrete time systems
discrete-timesignalsandsystems1-150402120032-conversion-gate01.pptx
discrete time signals and systems
discrete time signals and systems
Discrete-time singnal system lecture.ppt
Discrete Time Systems & its classifications
Chap 2 discrete_time_signal_and_systems
Fourier and Laplace transforms in analysis of CT systems PDf.pdf
Lecture 4 Signals & Systems.pdf
ELEC 310-7-8 DT convolution and LTI systems.pdf
Continuous Time Convolution1. Solve the following for y(t.docx
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
PDF Solutions Manual to accompany Signals & Systems 2nd edition 9780138147570...
Lect3-signal-processing.pdf
DSP Implementation of Discrete Time System
Solutions Manual to accompany Signals & Systems 2nd edition 9780138147570
Ad

Recently uploaded (20)

PPTX
Environmental studies, Moudle 3-Environmental Pollution.pptx
PDF
LOW POWER CLASS AB SI POWER AMPLIFIER FOR WIRELESS MEDICAL SENSOR NETWORK
PDF
Present and Future of Systems Engineering: Air Combat Systems
PPTX
SE unit 1.pptx aaahshdhajdviwhsiehebeiwheiebeiev
PDF
[jvmmeetup] next-gen integration with apache camel and quarkus.pdf
PDF
20250617 - IR - Global Guide for HR - 51 pages.pdf
PDF
Principles of operation, construction, theory, advantages and disadvantages, ...
PPTX
Wireless sensor networks (WSN) SRM unit 2
PDF
Beginners-Guide-to-Artificial-Intelligence.pdf
PDF
Research on ultrasonic sensor for TTU.pdf
PDF
Mechanics of materials week 2 rajeshwari
PDF
VSL-Strand-Post-tensioning-Systems-Technical-Catalogue_2019-01.pdf
PDF
MACCAFERRY GUIA GAVIONES TERRAPLENES EN ESPAÑOL
PPTX
Principal presentation for NAAC (1).pptx
PDF
Unit1 - AIML Chapter 1 concept and ethics
PPTX
BBOC407 BIOLOGY FOR ENGINEERS (CS) - MODULE 1 PART 1.pptx
PPTX
Module1.pptxrjkeieuekwkwoowkemehehehrjrjrj
PPTX
CNS - Unit 1 (Introduction To Computer Networks) - PPT (2).pptx
PPTX
AI-Reporting for Emerging Technologies(BS Computer Engineering)
PDF
AIGA 012_04 Cleaning of equipment for oxygen service_reformat Jan 12.pdf
Environmental studies, Moudle 3-Environmental Pollution.pptx
LOW POWER CLASS AB SI POWER AMPLIFIER FOR WIRELESS MEDICAL SENSOR NETWORK
Present and Future of Systems Engineering: Air Combat Systems
SE unit 1.pptx aaahshdhajdviwhsiehebeiwheiebeiev
[jvmmeetup] next-gen integration with apache camel and quarkus.pdf
20250617 - IR - Global Guide for HR - 51 pages.pdf
Principles of operation, construction, theory, advantages and disadvantages, ...
Wireless sensor networks (WSN) SRM unit 2
Beginners-Guide-to-Artificial-Intelligence.pdf
Research on ultrasonic sensor for TTU.pdf
Mechanics of materials week 2 rajeshwari
VSL-Strand-Post-tensioning-Systems-Technical-Catalogue_2019-01.pdf
MACCAFERRY GUIA GAVIONES TERRAPLENES EN ESPAÑOL
Principal presentation for NAAC (1).pptx
Unit1 - AIML Chapter 1 concept and ethics
BBOC407 BIOLOGY FOR ENGINEERS (CS) - MODULE 1 PART 1.pptx
Module1.pptxrjkeieuekwkwoowkemehehehrjrjrj
CNS - Unit 1 (Introduction To Computer Networks) - PPT (2).pptx
AI-Reporting for Emerging Technologies(BS Computer Engineering)
AIGA 012_04 Cleaning of equipment for oxygen service_reformat Jan 12.pdf
Ad

Difference equation for btech ece engeneering

  • 1. Analysis of LTI Systems using Difference Equations Dr. Pooja Sahni
  • 2. Need of Difference Equations • 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 represent the characteristics of the LTI system, as a difference equation help in understanding and manipulating a system.
  • 3. Difference Equation • Definition An equation that shows the relationship between consecutive values of a sequence and the differences among them. They are often rearranged as a recursive formula so that a systems output can be computed from the input signal and past outputs. Example : y[n]+7y[n−1]+2y[n−2]=x[n] −4x[n−1]
  • 4. A discrete time system takes discrete time input signal { x[ n ] },& produces an output signal { y[ n ] }. •Implemented by general purpose computer, microcomputer or dedicated digital hardware capable of carrying out arithmetic operations on samples of {x[n]} and {y[n]}. SYSTEM input {x[n]} output {y[n]} Concepts
  • 5. • {x[n]} is sequence whose value at t=nT is x[n]. T is sampling interval in seconds. • 1/T is sampling frequency in Hz. • {x[n-N]} is sequence whose value at t=nT is x[n-N]. {x[n-N]} is {x[n]} with every sample delayed by N sampling intervals. (i) Discrete time "amplifier" with output: y[n] depending on present input only y[n] = A . x[n]. Described by“ difference equation" • Represented in diagram form by a "signal flow graph” . x[n] y[n] A
  • 6. (ii) Processing system whose output at t=nT is obtained by weighting & summing present & previous input samples: y[n] = A0 x[n] + A1 x[n-1] + A2 x[n-2] + A3 x[n-3] + A4x[n-4] ‘Non-recursive difference equatn’ with signal flow graph below. Boxes marked " z-1 " produce a delay of one sampling interval. z-1 z-1 z-1 z-1 x[n] A0 A1 A2 A3 A4 y[n]
  • 7. (iii) System whose output y[n] at t = nT is calculated according to the following recursive difference equation: y[n] = A0 x[n] - B1 y[n-1] whose signal flow graph is given below. • Recursive means that previous values of y[n] as well as present & previous values of x[n] are used to calculate y[n]. z-1 x[n] A0 B1 y[n]
  • 8. (iv) A system whose output at t=nT is: y[n] = (x[n])2 as represented below. x[n] y[n]
  • 9. • The General form can be given as: • We can also write it as below in recursive form: The value of N represents the order of the difference equation and corresponds to the memory of the system being represented.
  • 10. • Taking z transform of above equation, we get transfer function:-
  • 11. Solving a LCCDE • Two common methods exist for solving a LCCDE: • The direct method • The indirect method
  • 12. Direct Method • The final solution to the output based on the direct method is the sum of two parts, expressed in the following equation: Y(n)=Yh(n)+Yp(n) first part, Yh(n), is the homogeneous solution second part, Yp(n) , is the particular solution
  • 13. Homogenous Solution • We begin by assuming that the input is zero, x(n)=0. Now we simply need to solve the homogeneous difference equation: • Then We will use lambda, λ, to represent our exponential terms and to solve the following equation: • We can expand this equation out and factor out all of the lambda terms. This will give us a large polynomial in parenthesis, which is referred to as the characteristic polynomial
  • 14. Particular Solution • The particular solution, Yp(n), will be any solution that will solve the general difference equation: • Then the particular solution will be in form: • for x(n) = Cδ(n) the particular solution is zero. Because x(n) = 0 for n > 0
  • 15. Particular Solutions for different inputs