Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

DSP-5-Unit-Multirate SP Notes

Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

G.

PULLAIAH COLLEGE OF ENGINEERING AND TECHNOLOGY, KURNOOL


Department of Electrical and Electronics Engineering
Digital Signal Processing
UNIT-V

Multi-rate signal processing:


The process of converting a signal from a given rate to a different rate is called
sampling rate conversion. Systems that employ multiple sampling rates in the
processing of digital signals are called multi rate digital signal processing.
Down-sampling:
The process of reducing the sampling rate by an integer factor(D) is called decimation
of the sampling rate. It is also called down sampling by factor(D).Decimator consists of
decimation filter to band limit the signal and down sampler to decrease the sampling
rate by an integer factor (D).
Decimation
– Reduce the sampling rate of a discrete-time signal.
– Low sampling rate reduces storage and computation requirements.

up-sampling:
Increasing sampling rate of a signal by an integer factor I is known as Interpolation or
up-sampling. An increase in the sampling rate by an integer factor I may be done by
interpolating (I-1) new samples between successive values of the signals.
• Interpolation
– Increase the sampling rate of a discrete-time signal.
– Higher sampling rate preserves fidelity
Sampling Rate Conversion
Having discussed the special cases of decimation (down sampling by a factor D) and
interpolation (upsampling by a factor I), we now consider the general case of sampling
rate conversion by a rational factor I/D. Basically, we can achieve this sampling rate
conversion by first performing interpolation by the factor I and then decimating the
output of the interpolator by the factor D. In other words, a sampling rate conversion by
the rational factor I/D is accomplished by cascading an interpolator with a decimator.
We emphasize that the importance of performing the interpolation first and the
decimation second is to preserve the desired spectral characteristics of x(n).
Sample-rate conversion is the process of changing the sampling rate of a discrete signal
to obtain a new discrete representation of the underlying continuous signal. Application
areas include image scaling and audio/visual systems, where different sampling rates
may be used for engineering, economic, or historical reasons.

Fig: Sampling-rate conversion by expansion, filtering, and decimation


An example of sampling-rate conversion would take place when data from a CD is
transferred onto a DAT. Here the sampling-rate is increased from 44.1 kHz to 48 kHz.
To enable this process the non-integer factor has to be approximated by a rational
number:

Hence, the sampling-rate conversion is achieved by interpolating by L i.e. from 44.1


kHz to [44.1x160] = 7056 kHz.
Then decimating by M i.e. from 7056 kHz to [7056/147] = 48 kHz.
Multistage Approach
When the sampling-rate changes are large, it is often better to perform the operation in
multiple stages, where Mi(Li), an integer, is the factor for the stage i.

An example of the multistage approach for decimation is shown in Figure 9.8. The multistage
approach allows a significant relaxation of the anti-alias and anti-imaging filters, with a
consequent reduction in the filter complexity. The optimum number of stages is one that
leads to the least computational effort in terms of either the multiplications per second
(MPS), or the total storage requirement (TSR).

Fig: Multistage approach for the decimation process.


The meth to avoid aliasing:
(i) Pre alias filter must be used to limit band of frequencies of the signal to
fmHz.
(ii) Sampling frequency ‘fs’ must be selected such that fs> 2 fm
The need for anti aliasing filter prior to down sampling:
Anti aliasing filter is used to avoid aliasing caused by down sampling the signal x(n).
The need for anti imaging filter after up sampling a signal?
Anti imaging filter removes the unwanted images that are that are yielded by up
sampling.

Applications of multi rate signal processing.


Multirate systems are used in a CD player when the music signal is converted from digital
into analogue (DAC). Digital data (16-bit words) are read from the disk at a sampling rate of
44.1 kHz. If this data were converted directly into an analogue signal, image frequency bands
centred on multiples of the sampling-rate would occur, causing amplifier overload, and
distortion in the music signal. To protect against this, a common technique called
oversampling is often implemented nowadays in all CD players and in most digital
processing systems of music signals. Fig.3 below illustrates a basic block diagram of a CD
player and how oversampling is utilised. It is customary to oversample (or expand) the digital
signal by a factor of x8, followed by an interpolation filter to remove the image frequencies.
The sampling rate of the resulting signal is now increased up to 352.8 kHz. The digital signal
is then converted into an analogue waveform by passing it through a 14-bit DAC. Then the
output from this device is passed through an analogue low-pass filter before it is sent to the
speakers.

Fig. 3: Digital to analogue conversion for a CD player using x8 oversampling.


Fig. 4 illustrates the procedure of converting a digital waveform into an analogue signal in a
CD player using x8 oversampling. As an example, Figure (a) illustrates a 20 kHz sinusoidal
signal sampled at 44.1 kHz, denoted by x[n]. The six samples of the signal represent the
waveform over two periods. If the signal x[n] was converted directly into an analogue
waveform, it would be very hard to exactly reconstruct the 20 kHz signal from this diagram.
Now, Figure (b) shows x[n] with an x8 interpolation, denoted by y[n]. Figure (c) shows the
analogue signal y(t), reconstructed from the digital signal y[n] by passing it through a DAC.
Finally, Figure (d) shows the waveform of z(t), which is obtained by passing the signal y(t)
through an analogue low-pass filter.
Fig 4: Illustration of oversampling in CD music signal reconstruction.
The effect of oversampling also has some other desirable features. Firstly, it causes the image
frequencies to be much higher and therefore easier to filter out. The anti-alias filter
specification can therefore be very much relaxed i.e. the cutoff frequency of the filter for the
previous example increases from [44.1 / 2] = 22.05 kHz to [44.1x8 / 2] = 176.4 kHz after the
interpolation.
1. Design of phase shifters
2. Interfacing of digital systems with different sampling rates
3. Implementation of narrow band LPF & implementation of Digital Filter Bank
4. Sub band coding of speech signals & Quadrature mirror filter
5. Trans multiplexers & Over sampling of A/D and D/A conversion
Mention the applications of speech coding.
Digital transmission like telephony, narrow band cellular radio, military
communications and secrecy missions, voice mail sent on telephone networks, voice
encryption, integrated voice and data transmission over packet networks.

Sub-band coding:
The speech signal is applied to an analysis filter bank consisting of a set of Q band pass
filters. This digital filtration divides the speech signal into a non overlapping frequency
bands. These filter banks are contiguous in frequency. Hence, by additive
recombination of the set of sub band signals, one can approximately generate the
original speech signal.
Decimation By A Factor D:
Interpolation By A Factor I:
Sampling Rate Conversion By A Rational Factor I/D:
Sampling rate conversion of band pass signals:
Advantages of BP Sampling:
Previous Papers Questions
1. Discuss in detail the errors resulting from roundingand truncation?
2. (i)Explain the limit cycleoscillations dueto product round offand overflow errors? (ii)
Explain how reduction ofproduct round-off erroris achieved in digital filters?
3. (i)Explain the effects ofco-efficient quantization in FIRfilters? (ii) Distinguish
betweenfixed pointand floatingpointarithmetic
4. With respectto finiteword length effectsin digitalfilters, withexamplesdiscussabout
(i) Over flow limit cycle oscillation
(ii) Signal scaling
5. What is called quantization noise?Derivethe expression for quantization noisepower.
6. (i)Comparethetruncationandroundingerrorsusingfixedpointandfloatingpoint representation.
(ii)Representthefollowingnumbersinfloatingpointformatwithfivebitsformantisa and threebits
forexponent.
(a)710
(b)0.2510
(c)-710
(d)-0.2510
7. Determinethedeadbandofthesystemy(n)=0.2y(n–1)+0.5y(n–2)+x(n) Assume 8 bits
areusedforsignalrepresentation.
8. (a) i)Explain the characteristics of limitcycleoscillation with respect to thesystem described
bythe differenceequation :y(n)=0.95y(n-1) +x(n); x(n)=0 andy(n-1)= 13.
Determinethe dead rangeof thesystem.
ii)Explain the effects of coefficient quantization in FIR filters.
9.i) Derivethe signal to quantization noise ratio of A/D converter.
ii)Comparethetruncationandroundingerrorsusingfixedpointandfloatingpoint
representation. ‘

You might also like