Professional Documents
Culture Documents
Digital: operating by the use of discrete signals to represent data in the form of numbers
Signal: A parameter (electrical quantity or effect) that can be varied in such a way as to
convey information
Processing: A series operations performed according to programmed instructions.
1
Some of the signal processing tasks are Amplification, Attenuation, Filtering,
Modulation, etc... . To accomplish the required task, the "system" is designed with
appropriate behavior and features. ie; for an amplifier, the "system" is designed such that
any input signal going to the "system" will be amplified. In actual circuit, such a behavior
can be realized using transistors , FET or Op-Amps. This sort of signal processing is
known as analog signal processing. Well !, then what is Digital Signal Processing ....?
The applications of DSP are numerous, simple toys to satellites... DSP is well suited
for any application since it can do almost all processing that can be done using analog
circuitry. The major drawbacks of DSP are comparatively high cost and distortion
because of finite word length used in signal processors. Since in DSP applications, most
of the hardware can be replaced with software, eventually DSP will become cost effective
in most of the applications. The Digital Signal Processor mimics the behavior of analog
circuitry using some DSP techniques and algorithms. The techniques that are commonly
used in DSP are convolution, spectral analysis and manipulation, filtering etc
signals and sequences are basically the same. A signal is considered analog and is
operated in a continuous-time system. A continuous-time system is a system that
operates on and generate signals that may vary over the entire time interval, usually t
∈[0,∞) . Example of a sine wave signal of the general equation y(t) = Asin ωt
in which, the amplitude A is equal to 1.0, and the angular frequency ω is also equal to
0.5. A sequence, on the other hand, is considered discrete in nature, and is operated in a
discrete-time system. A discretetime system is a system that generally receives inputs at
equally-spaced (uniform) time intervals.
2
. CONTINUOUS-TIME SIGNALS:
Ramp Function
The ramp function, denoted by r(t) is a signal whose amplitude increases proportionally
as time increases.
exponential function
3
The exponential function is a signal whose amplitude exponentially increases or
exponentially decreases, depending on the value of a , as time approaches infinity
4
A discrete time signal, x(n), is a sequence of numbers, real or complex. In general the
signal can be bi-infinite;
. . . . . . . . . . , x(-2), x(-1), x(0), x(1), x(2), . . . . . . .
Real signals can be represented graphically, as in the example below.
Linearity means that the relationship between the input and the output of the system is a
linear map: If input produces response and input produces response
then the scaled and summed input produces the scaled and
summed response where a1 and a2 are real scalars.
The system is time invariant. This means that if the input signal x(t) generates the output
signal y(t),
then, for each real number s, the time shifted input signal ~x(t) = x(t � s) generates the
time shifted
output signal ~y(t) = y(t � s).
Stability and Causality
The notion of causality is rather intuitive: it corresponds to the experience ofexciting a
system and getting its response back only in future time instants,i.e. in instants that
follow the excitation time along the time arrow. It is easyto realize that, for an LTI
system, causality is enforced by forbidding nonzero values to the impulse response for
time instants preceding zero. Noncausal systems, even though not realizable by sample
bysample processing, can be of interest for nonrealtime applications or where a
processing delay can be tolerated.The notion of stability is more delicate and can be
given in different ways.We define the socalled boundedinput boundedoutput (BIBO)
stability, which requires that any input bounded in amplitude might only produce a
bounded output, even though the two bounds can be different.
5
Linear Constant Coefficient Difference Equation:
Linear Constant Coefficient Difference Equation is the equation that described the
relationship between the input and the output of any system .It is described the operation
of the digital processors in the time domain and provided a method for computing the
response of a system, y(n), to an arbitrary input x(n).The Nth order of a linear constant
coefficient difference equation is Where the coefficients a(k) and b(k) are constants that
define the system. If the difference equation has one or more terms a(k) that are nonzero,
the difference equation is said to be recursive. On the other hand, if all of the coefficients
a(k) are equal to zero, the difference equation is said to be nonrecursive.
• One method is based on the direct solution of the input-output equation for the system
• The second is to decompose or resolve the input signal into a sum of elementary signals.
The elementary signals are selected so that the response of the system to each signal
component is easily determined.
But if the input is not trivial or cannot be implemented by elementary signal, then the
digital convolution is used for any LTI system and any form of input signal.
If x[ n] e
j 2 f d n
then
6
y[n] h[ k ]x[ n k ] h[ k ]e j 2f d ( n k )
k k
e j 2f n h[k ]e j 2f k
d d
k
e j 2f n H (e jw )
d
Eigenfunction eigenvalue
Example:
Let
x[ n ] A cos 2fn A
2
e
j 2fn e j 2fn
y[ n ] h[ k ] x[ n k ]
k
A
j 2f n k
j 2f n k
h[ k ]e
2 k
h[ k ]e
k
A
2
H e
jw
e
j 2fn
H e jw e j 2fn
A special case of this problem exist when h[n] is real
H e jw H e jw
In this case
y[ n] A H e jw cos 2fn where angH e jw
In other words a sinusoidal input to a discrete time LTI system provides a sinusoidal
output.
7
X e jw
x[n]e
n
jwn
(1)
In general X e jw is a complex function of the real variable w and can be written as:
X e jw X re e jw jX im e jw
X e jw can alternatively be expressed in polar form as:
X e jw X e jw e j ( w) where,
( w) arg X e jw (2)
In many applications the Fourier transform is called the Fourier Spectrum and likewise
X e jw and (w) are referred to as the “magnitude spectrum” and “phase spectrum”
respectively.
Note from eq.(2) that if we replace (w) with (w) + 2k , where k is an integer,
X e jw remains unchanged implying that the phase function cannot be uniquely
specified for any Fourier Transform.
We will assume from now on that unless otherwise specified (w) is restricted to a
2 range.
Example:
Consider a causal sequence x[n] where;
x[ n ] 0.5 u[ n]
n
8
X e jw
n n 0
0.5e jw
n 1
n 0 1 0.5e jw
Note that the FT of the sequence x[n] is a CONTINUOUS function of ‘w’. It is also
periodic with period 2
Equation (1) therefore represents the Fourier Series representation of the periodic
function X e jw .
The Fourier coefficients x[n] can be computed from X e jw using the reverse Fourier
integral below;
X e e
1
x[ n] jw jwn
dw
2