# Digital system equation

Back to DSP thread. Lets talk about digital system equation. Every digital system can be described using this equation.

The output of digital filter generally consist of previous inputs and previous outputs.

y(n-k) is considered as previous outputs;

x(n-p) – previous inputs;

akand b-p– coefficients;

This equation is convenient to define discrete system and extract various characteristics. Number N defines discrete filter*tap (Tap*– A FIR “tap” is simply a coefficient/delay pair).

Lets say we have digital filter made of one tap.

y(n)=a·y(n-1) b·x(n)

First we calculate filter response function – h(n):

Response function is calculated from system reaction to discrete impulse ′(n). So assume that x(n)= ′(n) and y(n)=h(n). Initial conditions: y(-1)=h(-1)=0.

Then:

h(n)=0 when n<0;

h(0)=a·h(-1) b·′(n)=b;

h(1)=a·h(0) b·′(1)=ab;

…….

h(n)= banwhere n>0

Lets say we have a=0.7; b=1;

Then we get discrete system characteristics:

This equation in example describes IIR (Infinite Impulse Response) discrete systems, because there is a feedback element a·y(n-1).

There is another type of discrete filter – FIR (Finite Impulse Response)

Finite response filter equation is much simpler:

As you may noticed from equation – IIR filter have infinite number of response impulses while FIR filter have a finite number of impulses. IIR and FIR systems are different in their properties and realizations.

Reprinted Url Of This Article:

http://www.scienceprog.com/digital-system-equation/

- Tunable Bandpass Filter
- How to build RC Notch Filter (Twin T)
- Digital Main Voltage Indicator
- Tone probe for testing digital ics
- Digital system equation
- Binary Numbers, Boolean Algebra and Digital Design
- HMC5883L 3-Axis Digital Compass IC
- 6090 digital decoder schematics (BC846B)
- Centronics port D/A converters and low-pass filter
- Low-Capacitance High-Impedance Video Buffer (2N5139)
- Low-Pass and High-Pass RC Filter Frequency Calculator
- How to build Analog Milliamp Meter Used as Voltmeter
- TC9400 Analog Division (Ratiometric Measurement)
- TC9400 VFC for PLL FM Demodulation (TC9400)
- 5-Pole Low-Pass Filter Circuit
- Loudspeaker Impedance Meter(78L05)
- PIC Digital Clock Timer With PIC16F628 Microcontroller
- Linear analog coupler
- How to build Controlling a relay with a digital logic level.
- IR Remote Control Modulation Detector
- Digital Sample And Hold
- Digital IC Transmits Both FM and AM Simultaneously
- Biquad filter
- Self-tune filter (LM201)
- Digital Pressure Gauge Circuit