Communications Engineering 4: Higher Technological Institute
Communications Engineering 4: Higher Technological Institute
Lectures series in
Dr.Eng. Ehab Helmy Mohamed Elshazly.
Assistant Professor at Egyptian Atomic Energy Authority
Communications Engineering 4
B.Sc. Electronic Engineering, Menoufya University.
Principles of Digital Communication M.Sc. Communication Engineering, Menoufya University.
Ph.D. Communication Engineering, E-JUST.
By
Dr. Eng. Ehab Helmy El Shazly Research area: Computer vision & Image processing.
Mobile: 01009448624
Email: ehab.elshazly@ejust.edu.eg
ihab.helmy311@hti.edu.eg
1
18/03/1443
2
18/03/1443
3
18/03/1443
Analog Signals
• An analog signal is continuous and it can have an infinite
number of values in a range. The primary short comings of
analog signals is the difficulty to separate noise from the original Note
waveform.
Phase describes the position of the
• An example is a sine wave which can be specified by
three characteristics: θ(t) = A sin (2 π f t + Φ)
waveform relative to time 0.
A: amplitude f : frequency Φ : phase
4
18/03/1443
Figure 3.5 Three sine waves with the same amplitude and frequency,
but different phases
Example 3.3
Solution
We know that 1 complete cycle is 360°. Therefore, 1/6
cycle is
5
18/03/1443
Example 3.8
Figure 3.15 The bandwidth for Example 3.8
Solution
The lowest frequency must be at 40 kHz and the highest at
240 kHz. Figure 3.15 shows the frequency domain and the
bandwidth.
6
18/03/1443
Hardware is more flexible. Digital hardware implementation is Easy to regenerate the distorted signal. Regenerative
flexible and permits the use of microprocessors, mini-processors, repeaters along the transmission path can detect a digital
digital switching and VLSI. signal and retransmit a new, clean (noise free) signal
Shorter design and production cycle. These repeaters prevent accumulation of noise along the
path . This is not possible with analog communication
Low cost , the use of LSI and VLSI in the design of components systems. Why?
and systems have resulted in lower cost .
7
18/03/1443
The main reason for the superiority of digital systems over analog ones is For analog systems, there is no way to avoid accumulation of noise and
the viability of regenerative repeaters in the former. distortion along the path. As a result, the distortion and the noise
interference are accumulated over the entire transmission path.
Repeater stations are placed along the communication path of a digital Thus, with increasing distance the signal becomes weaker, whereas the
system at distances short enough to ensure that noise and distortion distortion and the noise become stronger.
remain within a limit. This allows pulse detection with high accuracy.
Amplification is of little help, because it enhances the signal and the
At each repeater station the incoming pulses are detected and new clean noise in the same proportion. Consequently, the distance over
pulses are transmitted to the next repeater station. which an analog message can be transmitted is limited by the transmitter
power.
This process prevents the accumulation of noise and distortion along the Despite these problems, analog communication was used widely and
path by cleaning the pulses periodically at the repeater stations. We can successfully in the past.
thus transmit messages over longer distances with greater accuracy. Because of the advent of optical fiber and the dramatic cost reduction
achieved in the fabrication of digital circuitry, almost all new
communication systems being installed are digital.
TRANSMISSION IMPAIRMENT
Signals travel through transmission media, which are not perfect. The imperfection
causes signal impairment.
This means that the signal at the beginning of the medium is not the same as the
signal at the end of the medium.
What is sent is not what is received. Three causes of impairment are attenuation,
distortion, and noise.
8
18/03/1443
Distortion Attenuation
Noise
9
18/03/1443
Suppose a signal travels through a transmission medium and its A signal travels through an amplifier, and its power is increased 10
power is reduced to one-half. This means that P2 is (1/2)P1. In this times. This means that P2 = 10P1 . In this case, the amplification
case, the attenuation (loss of power) can be calculated as (gain of power) can be calculated as
10
18/03/1443
• Performance Criteria
• Probability of error or Bit Error Rate
11
18/03/1443
Quantization each sample is approximated, or round off to the nearest quantized level,
the information is thus digitalized. The quantized signal is an approximation of the
original one. We can improve the accuracy of the quantized signal to any desired degree
by increasing the number of levels. „
Coding „
adc (analog/digital converter): converts the physical analog signal Source coding Convert the quantized signal into binary sequences. „
into a digital electronic signal Channel coding Introduce redundancy in a controlled manner to overcome the
source encoder: encodes the data in a format that removes effects of noise and interferences. „
redundancy and irrelevant information.
Mapping Map binary sequence into symbols. „
channel encoder: encodes the signal pulses in a format that is
required by the channel Transmission Symbols are applied to a transmitter filter, which produces a continuous
protocol: controls start, end of transmission and error recovery by signal for transmission over a continuous channel.
adding additional bits for error detection and/or correction
1. Sampling.
2. Quantization.
3. Binary encoding.
12
18/03/1443
According to the Nyquist theorem, the sampling rate must be at least 2 Example 2.1
times the highest frequency contained in the signal.
13
18/03/1443
Example 2.2
Figure 4.24 Recovery of a sampled sine wave for different sampling rates
It can be seen that
sampling at the Nyquist A complex low-pass signal has a bandwidth of 200 kHz.
rate can create a good
approximation of the
What is the minimum sampling rate for this signal?
original sine wave (part
a).
Oversampling in part b
can also create the same Solution
approximation,
but it is redundant and
The bandwidth of a low-pass signal is between 0 and f,
unnecessary. where f is the maximum frequency in the signal. Therefore,
Sampling below the we can sample this signal at 2 times the highest frequency
Nyquist rate (part c) (200 kHz). The sampling rate is therefore 400,000 samples
does not produce a
signal that looks like the per second.
original sine wave.
Example 2.3
Quantization
A complex bandpass signal has a bandwidth of 200 kHz. Sampling results in a series of pulses of varying amplitude
What is the minimum sampling rate for this signal? values ranging between two limits: a min and a max.
The amplitude values are infinite between the two limits.
We need to map the infinite amplitude values onto a finite set of
Solution known values.
We cannot find the minimum sampling rate in this case This is achieved by dividing the distance between min and max
because we do not know where the bandwidth starts or into L zones, each of height Δ = (max - min)/L
ends. We do not know the maximum frequency in the
The midpoint of each zone is assigned a value from 0 to L-1
signal. (resulting in L values)
Each sample falling in a zone is then approximated to the value
of the midpoint.
14
18/03/1443
15