UNIT I - Notes
UNIT I - Notes
SIGNAL
A SIGNAL is defined as any physical quantity that changes with time, distance, speed, position,
pressure, temperature or some other quantity. A SIGNAL is physical quantity that consists of
many sinusoidal of different amplitudes and frequencies.
Example:
x(t) = 10t
X(t) = 5x2+20xy+30y
SYSTEM
1) ASP (Analog signal Processing) : If the input signal given to the system is
analog then system does analog signal processing. Ex Resistor, capacitor or
Inductor, OP-Amps etc.
2) DSP (Digital signal Processing): If the input signal given to the system is digital then
system does digital signal processing. Ex Digital Computer, Digital Logic Circuits etc.
The devices called as ADC (analog to digital Converter) converts Analog signal into
digital and DAC (Digital to Analog Converter) does vice-versa.
Most of the signals generated are analog in nature. Hence these signals are converted to
digital form by the analog to digital converter. Thus AD Converter generates an array of
samples and gives it to the digital signal processor. This array of samples or sequence of
samples is the digital equivalent of input analog signal. The DSP performs signal
processing operations like filtering, multiplication, transformation or amplification etc
operations over these digital signals. The digital output signal from the DSP is given to
the DAC.
Continuous Valued
1. If a signal takes on all possible values on a finite or infinite range, it is said to be continuous
valued signal.
2. Continuous Valued and continuous time signals are basically analog signals.
Discrete Valued
1. If signal takes values from a finite set of possible values, it is said to be discrete valued signal.
2. Discrete time signal with set of discrete amplitude are called digital signal.
Analog signal
2. ECG signals, Speech signal, Television signal etc. All the signals generated from
Digital signal
1. These are basically discrete time signals & discrete amplitude signals. These signals are
Note: Digital signals (DISCRETE TIME & DISCRETE AMPLITUDE) are obtained by
sampling the ANALOG signal at discrete instants of time, obtaining DISCRETE TIME signals
and then by quantizing its values to a set of discrete values & thus generating DISCRETE
AMPLITUDE signals.
Sampling process takes place on x axis at regular intervals & quantization process takes place
along y axis. Quantization process is also called as rounding or truncating or approximation
process.
Deterministic signals
1. Deterministic signals can be represented or described by a mathematical equation or lookup
table.
2. Deterministic signals are preferable because for analysis and processing of signals we can use
Mathematical model of the signal.
3. The value of the deterministic signal can be evaluated at time (past, present or future) without
Certainty.
4. Example Sine or exponential waveforms.
Random signals
1. Random signals that cannot be represented or described by a mathematical equation or lookup
table.
2. Not Preferable. The random signals can be described with the help of their statistical
properties.
3. The value of the random signal can not be evaluated at any instant of time.
4. Example Noise signal or Speech signal
3) Sequence Representation
2) Folding / Reflection : It is folding of signal about time origin n=0. In this case replace n by – n.
3) Addition : Given signals are x1(n) and x2(n), which produces output y(n) where y(n) = x1(n)
+ x2(n). Adder generates the output sequence which is the sum of input sequences.
4) Scaling: Amplitude scaling can be done by multiplying signal with some constant. Suppose
original signal is x(n). Then output signal is A x(n)
It is very easy to find out that given system is static or dynamic. Just check that output of the system
solely depends upon present input only, not dependent upon past or future.
It is very easy to
find out that
given system is
Shift Invariant or
Shift Variant.
Suppose if the
system
produces output
y(n) by taking
input x(n)
If we delay same input by k units x(n-k) and apply it to same systems, the system produces output y(nk)
hence T [ a1 x1(n) + a2 x2(n) ] = T [ a1 x1(n) ] + T [ a2 x2(n) ] It is very easy to find out that
given system is Linear or Non-Linear.
Response to the system to the sum of signal = sum of individual responses of the system.
4) CAUSAL v/s NON CAUSAL SYSTEMS
CAUSAL
a) A System is causal if output of system at any time depends only past and present inputs.
b) In Causal systems the output is the function of x(n), x(n-1), x(n-2)….. and so on.
c) Example Real time DSP Systems
SAMPLING THEOREM
It is the process of converting continuous time signal into a discrete time signal by taking
samples of the continuous time signal at discrete time instants.
X[n]= Xa(t) where t= nTs = n/Fs ….(1)
When sampling at a rate of fs samples/sec, if k is any positive or negative integer, we cannot
distinguish between the samples values of fa Hz and a sine wave of (fa+ kfs) Hz. Thus (fa + kfs)
wave is alias or image of a wave.
Thus Sampling Theorem states that if the highest frequency in an analog signal is Fmax and the
signal is sampled at the rate fs > 2Fmax then x(t) can be exactly recovered from its sample
values. This sampling rate is called Nyquist rate of sampling. The imaging or aliasing starts after
Fs/2 hence folding frequency is fs/2. If the frequency is less than or equal to 1/2 it will be
represented properly.
Thus the frequency 50 Hz, 90 Hz , 130 Hz … are alias of the frequency 10 Hz at the sampling
rate of 40 samples/sec
QUANTIZATION
The process of converting a discrete time continuous amplitude signal into a digital signal by
expressing each sample value as a finite number of digits is called quantization. The error
introduced in representing the continuous values signal by a finite set of discrete value levels is
called quantization error or quantization noise.
Quantization Step/Resolution : The difference between the two quantization levels is called
quantization step. It is given by Δ = XMax – xMin / L-1 where L indicates Number of
quantization levels.
CODING/ENCODING
Each quantization level is assigned a unique binary code. In the encoding operation, the
quantization sample value is converted to the binary equivalent of that quantization level. If 16
quantization levels are present, 4 bits are required. Thus bits required in the coder is the smallest
integer greater than or equal to Log2 L. i.e b= Log2 L Thus Sampling frequency is calculated as
fs=Bit rate / b.
ANTI-ALIASING FILTER
When processing the analog signal using DSP system, it is sampled at some rate depending upon
the bandwidth. For example if speech signal is to be processed the frequencies upon 3khz can be
used. Hence the sampling rate of 6khz can be used. But the speech signal also contains some
frequency components
more than 3khz. Hence a sampling rate of 6khz will introduce aliasing. Hence signal should be
band limited to avoid aliasing. The signal can be band limited by passing it through a filter (LPF)
which blocks or attenuates all the frequency components outside the specific bandwidth. Hence
called as Anti aliasing filter or pre-filter. (Block Diagram)
SAMPLE-AND-HOLD CIRCUIT:
The sampling of an analogue continuous-time signal is normally implemented using a device
called an analogue-to- digital converter (A/D). The continuous-time signal is first passed through
a device called a sample-and-hold (S/H) whose function is to measure the input signal value at
the clock instant and hold it fixed for a time interval long enough for the A/D operation to
complete. Analogue-to-digital conversion is potentially a slow operation, and a variation of the
input voltage during the conversion may disrupt the operation of the converter. The S/H prevents
such disruption by keeping the input voltage constant during the conversion. This is
schematically illustrated by Figure. After a continuous-time signal has been through the A/D
converter, the quantized output may differ from the input value. The maximum possible output
value after the quantization process could be up to half the quantization level q above or q below
the ideal output value. This deviation from the ideal output value is called the quantization error.
In order to reduce this effect, we increases the number of bits.
a) Recursive Systems
b) Non-Recursive Systems
UNIT-II
INTRODUCTION TO Z TRANSFORM
For analysis of continuous time LTI system Laplace transform is used. And for
analysis of discrete time LTI system z transform is used. Z transform is
mathematical tool used for conversion of time domain into frequency domain (z
domain) and is a function ofthe complex valued variable Z. The z transform of a
discrete time signal x(n) denoted by
ADVANTAGES OF Z TRANSFORM
1. The DFT can be determined by evaluating z transform.
3. Z transform is used for linear filtering. z transform is also used for finding
Linear convolution, cross- correlation and auto-correlations of sequences.
Z TRANSFORM PLOT
Fig show the plot of z transforms. The z transform has real and imaginary parts.
Thus a plot of imaginary part versus real part is called complex z-plane. The
radius of circle is 1 called as unit circle. This complex z plane is used to show
ROC, poles and zeros. Complex variable z is also expressed in polar form as Z=
rejω where r is radius of circle is given by |z| and ω is the frequency of the
sequence in radians and given by ∟z.
Q) Determine z transform of following signals. Also draw ROC. i)
z Transform of linear combination of two or more signals is equal to the same linear
combination of z transform of individual signals.
2) Time shifting
3) Scaling in z domain
5) Differentiation in z domain