DC 2
DC 2
DEPARTMENT
OF
https://www.geeksforgeeks.org/sampling-in-digital-communication/#sampling-process-in-
digital-communication
Department of Electronics & Telecommunication
Important Terminologies of Sampling
in Digital Communication
2. Sample
It can be defined as the numeric value of an analog signal at a specific
time. It is just the signal's measured amplitude at a particular time and
converting it to a digital representation.
3. Sampling Rate or Sampling Frequency
It refers to the number of samples or data points taken per unit of time from
an analog signal to convert it into a digital format. It is also known as
sampling frequency. It is measured in Hertz (Hz).
fs=2fmax
where,
fs = Sampling Rate or Nyquist Rate (Hz)
fmax = Maximum frequency Department
component (Hz)
of Electronics & Telecommunication
Important Terminologies of Sampling
in Digital Communication
5. Nyquist Interval
The Nyquist interval, also known as the Nyquist period, is the time interval
between consecutive samples in a digital signal or digital sampling system.
It is the reciprocal of the Nyquist rate, which is the smallest sampling rate
required to accurately capture an analog signal in digital form without
information loss.
6. Quantization
Quantization of a Signal
1. Undersampling
The spectra of X(ω) are overlapped in this scenario because the sampling
rate is less than the Nyquist rate, making it impossible to extract the original
signal from the sampled signal.
Because the spectra overlap, some frequency components of the original
signal will acquire a new frequency; this process is known as
frequency Aliasing.
An application of undersampling can be when the high frequency
components are not useful and user needs to reduce the amount of data being
processed.
2. Oversampling
Aliasing
• It is a phenomenon that occurs when a high-frequency signal is represented
at lower frequency.
• Means it occurs when the sampling rate is insufficient and fails to capture the
signal properly.
• When the signals are sampled at lower frequency than the nyquist frequency,
high frequency components fold back (gets aliased) in the low frequency
range. This may lead to distorted signal representation.
• In simple words a high frequency component of a signal taking the identity of
low frequency component of a signal when it is undersampled.
•Impulse sampling
•Natural sampling
1. Ideal Sampling
Concept: Ideal sampling, also known as impulse or Dirac sampling, is a
theoretical notion in which samples of a continuous signal are taken at specific
time intervals, often at the Dirac delta function impulse points.
Sampling Process: Each sample in perfect sampling is an impulse or delta
function at the sampling instant. The sampled signal can be represented
mathematically as the product of the continuous signal and the Dirac delta
function.
Disadvantages
Samples are very small, SNR is low
No Ideal filter available to cut off the signal
Natural sampling is similar to impulse sampling, except the impulse train is replaced by pulse
train of period T. i.e. you multiply input signal x(t) to pulse train as shown below
Advantages
Generation is easy
Practical LPF can be used
Disadvantages
Amplitude of sampled pulse is varying
For large value of Tao crosstalk (External EMI interference)
Advantages
Generation is easy
Better SNR
Practical filter can be used
Disadvantages
Aperture effect
1 1 f
• Heq (f) =
H ( f ) T sin c( fT ) sin(fT )
• Heq (f) = 1 1 f
H ( f ) T sin c( fT ) sin(fT )
Comparision of various Samplingtechnique
•It is an important step in converting •When sampling rate is not proper, it may
analog signal to digital signal which lead to the problem of aliasing, resulting
•By taking samples at some specific conversion, the next step after sampling
interval time, it helps compressing is quantization which may result in: loss
Question 1: Given the signal, what will be the sampling frequency for
which the signal can be reconstructed
x(t)=cos(2π10t)
Solution:
Comparing the given signal with cos(2πft)
fmax=10Hz
2×fmax⩽2×10⩽20Hz.
x(t)=cos(2π50t)
Solution:
We know that x[n] = cos(2π fmax / fs n)
Here, x[n] = (2π50/60n)
Finally, we get the discrete time signal as:
x[n]=cos(2π5/6n)
• Channel Noise
• Quantization Noise
10-2
Emax/No is increased
10-4
A very small increase in signal power
10-8
10-10
10-12
10 15 20 SNR(dB)
• (S/N)D = 3 q2 Sx
Quantization
Quantization
Δ/2
-2 Δ - Δ 0 Δ 2Δ 3Δ
- Δ/2
-2 Δ - Δ 0 Δ 2Δ 3Δ
Xmax = 1
Δ=2/q
εmax = l 1 / q l
-8 -6 -4 -2 2 4 6 8
-2
Input sample
X
-4
-6
Uniform Expander
Compressor
Quantizer
4 5
4
3
3
2
2
1
1
0 0
0 5 10 0 2 4 6
Expansion
Vi
Compression
0 1
Input |x(t)|
x x’ x’ y
Q(.)
C(.)
Compressor Uniform Quantizer
0.5
x[n]=speech /song/ 0
-0.5
-1
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
0.5
y[n]=C(x[n]) 0
-0.5
Companded Signal -1
0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000
0.5
Close View of the Signal
Segment of x[n] 0
-0.5
-1
2200 2300 2400 2500 2600 2700 2800 2900 3000
0.5
Segment of y[n] 0
-1
2200 2300 2400 2500 2600 2700 2800 2900 3000
3m~ 2 (t )
for non - compressed signal
mp 2
c
3
for compressed signal
ln(1 )2
Remedy
To reduce this error the step size must be increased
when slope of signal x(t) is high.
Remedy
This noise can be avoided by decreasing the step
size.