Professional Documents
Culture Documents
Formatting
And
Baseband Modulation
Formatting & Source Encoding
Today, we are going to talk about:
SOURCE
Textual Format
source info.
Pulse
Analog Transmit
Sample Quantize Encode modulate
info.
Pulse
Bit stream waveforms Channel
Format
Analog
info. Low-pass
Decode Demodulate/
filter Receive
Textual Detect
sink
info.
Digital info.
• Digital Information
• Data already in Digital Format bypass the formatting function
• Textual Information
• A textual information is a sequence of Alphanumeric Characters
• Alphanumeric and Symbolic Information is Encoded into
Digital Bits using Standard Formats e.g. ASCII, EBCDIC
Format Analog Signals
𝑓𝑆 ≥ 2𝑓𝑚𝑎𝑥
Sampling Theorem
x (t ) | X ( f ) |
xs (t )
| Xs( f )|
xs (t ) x (t ) x(t ) X s ( f ) X ( f ) X ( f )
Aliasing effect
LP filter
Nyquist rate
aliasing
Natural (Practical) Sampling
• In practice, we cannot perform ideal sampling
• It is not practically possible to create a train of impulses
• Thus a non-ideal approach to sampling must be used
• We can approximate a train of impulses using a train
of very thin rectangular pulses:
Natural Sampling
• If we multiply x(t) by a train of
rectangular pulses xp(t), we obtain
a gated waveform that
approximates the ideal sampled
waveform, known as Natural
Sampling or Gating
Natural Sampling
Flat-Top Sampling
Aliasing
• Solution 1: (Anti-Aliasing Analog Filter)
– All physical realizable signals are not completely
bandlimited
– If there is a significant amount of energy in frequencies
above half the sampling frequency (fs/2), aliasing will
occur
– Aliasing can be prevented by first passing the analog
signal through an anti-aliasing filter (also called a pre-
filter) before sampling is performed
– The anti-aliasing filter is simply a LPF with cutoff
frequency equal to half the sample rate
Aliasing
Solution 2: (Over-Sampling and Filtering in the
Digital Domain)
– The signal is passed through a low performance
(less costly) analog low-pass filter to limit the
bandwidth
– Sample the resulting signal at a high sampling
frequency
– The digital samples are then processed by a high
performance digital filter and down-sample the
resulting signal
Summary of Sampling
Practical Sampling Rates
Sources of Corruption in the Sampled,
Quantized and Transmitted Pulses
• Sampling And Quantization Effects
• Quantization (Granular) Noise
» Results when quantized levels are not finely spaced apart
enough to accurately approximate input signal resulting in
truncation or rounding error
• Quantizer Saturation Or Overload Noise
» Results when input signal is larger in magnitude than
highest quantization level resulting in clipping of the signal
• Timing Jitter
» Error caused by a shift in the sampler position
» Can be isolated with a stable clock reference
• Channel Effects
• Channel Noise
• Inter-Symbol Interference (ISI)
Steps in ADC
1. Sampling
2. Quantization
3. Encoding PCM
Quantization
• Amplitude quantizing: Mapping samples of a continuous
amplitude waveform to a finite set of amplitudes.
Out
In
Average quantization noise
power
Quantized
values
• Uniform Quantization
• Non-Uniform Quantization
Encoding (PCM)
𝑘 = 𝑙𝑜𝑔2 𝑀
Quantization Example
amplitude
x(t)
111 3.1867
100 0.4552
010 -1.3657
• Quantile Interval
– Step size between quantization
levels
– Denetoted by ‘q’
• Uniform Quantizer
– Quantization levels are uniformly
distributed over full range
• Degradation (error) of signal
due to quantization is limited
to ±q/2 volts
– Error is bounded by
Signal-to-Noise Ratio for Quantized Pulses
• Assuming that the quantization error, e, is uniformly distributed over a
single quantile interval q-wide (i.e. the analog input takes on all the values
with equal probability), the quantizer error variance is found to be:
• Thus, SNR is worse for low-level signals than for high level
signals
Solution
• Basic Principle
• To use more levels at the regions with large
Probability Density Function (pdf)
Pulse Modulation
Pulse Modulation
Pulse Modulation
Baseband Transmission
Waveform Representation of Binary
Digits
PCM Waveform Types
• When Pulse Modulation is Applied to a
Binary Symbol, the Resulting Binary
Waveform is Called PCM Waveform.
Why???
PCM Waveform Types
• When Pulse Modulation is Applied to a
Binary Symbol, the Resulting Binary
Waveform is Called PCM Waveform.
Assignment
• In Telephony Applications, these
waveforms are often called Line Codes.
Why???
PCM Waveform Types
• Depends upon the Performance Criteria!
• Power Efficiency
• Transmitted Power should be as small as possible
• Transparency
• It should be possible to transmit a digital signal correctly regardless of
the pattern of 1’s and 0’s
• Long string of 0’s could cause errors in timing extraction in on-off and
Bipolar cases
• If the data are so coded that for every possible sequence of data the coded
signal is received faithfully, the code is Transparent