DC-Module2 - Notes
DC-Module2 - Notes
1.13.1.1 Characteristics
• Different characteristics of digital signal are
1) Signal Element Vs Data Element
2) Data Rate Vs Signal Rate
3) Bandwidth
4) Baseline Wandering
5) DC Components
6) Built-in Error Detection
7) Self-synchronization
8) Immunity to Noise and Interference
9) Complexity
3) Bandwidth
➢ Digital signal that carries information is non-periodic.
➢ The bandwidth of a non-periodic signal is continuous with an infinite range.
➢ However, most digital-signals we encounter in real life have a bandwidth with finite values.
➢ The effective bandwidth is finite.
➢ The baud rate, not the bit-rate, determines the required bandwidth for a digital-signal.
➢ More changes in the signal mean injecting more frequencies into the signal.
(Frequency means change and change means frequency.)
➢ The bandwidth refers to range of frequencies used for transmitting a signal.
➢ Relationship b/w baud rate (signal-rate) and the bandwidth (range of frequencies) is given as
➢ As shown in figure 4.3, we have a situation where the receiver has shorter bit duration.
➢ The sender sends 10110001, while the receiver receives 110111000011.
➢ A self-synchronizing digital-signal includes timing-information in the data being transmitted.
¤ This can be achieved if there are transitions in the signal that alert the receiver to the
beginning, middle, or end of the pulse.
¤ If the receiver’s clock is out-of-synchronization, these points can reset the clock.
Example 1.22
Example 1.23
➢ Disadvantages:
1) Compared to polar scheme, this scheme is very costly.
2) Also, the normalized power is double that for polar NRZ.
3) Not suitable for transmission over channels with poor performance around zero frequency.
(Normalized power → power needed to send 1 bit per unit line resistance)
➢ Disadvantages:
1) Baseline wandering is a problem for both variations (NRZ-L NRZ-I).
i) In NRZ-L, if there is a long sequence of 0s or 1s, the average signal-power
becomes skewed.
The receiver might have difficulty discerning the bit value.
ii) In NRZ-I, this problem occurs only for a long sequence of 0s.
If we eliminate the long sequence of 0s, we can avoid baseline wandering.
2) The synchronization problem also exists in both schemes.
→ A long sequence of 0s can cause a problem in both schemes.
→ A long sequence of 1s can cause a problem in only NRZ-L.
3) In NRZ-L, problem occurs when there is a sudden change of polarity in the system.
¤ For example:
In twisted-pair cable, a change in the polarity of the wire results in
→ all 0s interpreted as 1s and
→ all 1s interpreted as 0s.
¤ NRZ-I does not have this problem.
¤ Both schemes have an average signal-rate of N/2 Bd.
4) NRZ-L and NRZ-I both have a DC component problem.
Example 1.24
b) Return-to-Zero (RZ)
➢ In NRZ encoding, problem occurs when the sender-clock and receiver-clock are not
synchronized.
➢ Solution: Use return-to-zero (RZ) scheme (Figure 4.7).
➢ RZ scheme uses 3 voltages: positive, negative, and zero.
➢ There is always a transition at the middle of the bit. Either
i) from high to zero (for 1) or
ii) from low to zero (for 0)
➢ Disadvantages:
1) RZ encoding requires 2 signal-changes to encode a bit & .’. occupies greater bandwidth.
2) Complexity: RZ uses 3 levels of voltage, which is more complex to create and detect.
3) Problem occurs when there is a sudden change of polarity in the system. This result in
→ all 0s interpreted as 1s &
→ all 1s interpreted as 0s.
➢ If the next bit is 0, there is a transition. If the next bit is 1, there is none.
➢ Advantages:
1) The Manchester scheme overcomes problems associated with NRZ-L.
Differential Manchester overcomes problems associated with NRZ-I.
2) There is no baseline wandering.
3) There is no DC component ‘.’ each bit has a positive & negative voltage contribution.
➢ Disadvantage:
1) Signal-rate: Signal-rate for Manchester & diff. Manchester is double that for NRZ.
➢ Advantages:
1) The bipolar scheme has the same signal-rate as NRZ.
2) There is no DC component ‘.’ each bit has a positive & negative voltage contribution.
3) The concentration of the energy is around frequency N/2.
➢ Disadvantage:
1) AMI has a synchronization problem when a long sequence of 0s is present in the data.
2.1.1 PCM
• PCM is a technique used to change an analog signal to digital data (digitization).
• PCM has encoder at the sender and decoder at the receiver.
• The encoder has 3 processes (Figure 4.21):
1) Sampling
2.1.1.1 Sampling
• We convert the continuous time signal (analog) into the discrete time signal (digital).
• Pulses from the analog-signal are sampled every Ts sec
where Ts is the sample-interval or period.
• The inverse of the sampling-interval is called the sampling-frequency (or sampling-rate).
• Sampling-frequency is given by
2.1.2 Quantization
• The sampled-signal is quantized.
• Result of sampling is a set of pulses with amplitude-values b/w max & min amplitudes of the signal.
• Four steps in quantization:
1) We assume that the original analog-signal has amplitudes between Vmin & Vmax.
2) We divide the range into L zones, each of height Δ(delta).
2.1.3 Encoding
• The quantized values are encoded as n-bit code word.
• In the previous example,
A quantized value 2 is encoded as 010.
A quantized value 5 is encoded as 101.
• Relationship between number of quantization-levels (L) & number of bits (n) is given by
n=log2L or 2n=L
• The bit-rate is given by:
Example 2.1
Example 2.2
Example 2.3
Example 2.4
• When 1/r = 1 (for a NRZ or bipolar signal) and c = (1/2) (the average situation), the minimum
bandwidth is
• This means the minimum bandwidth of the digital-signal is nb times greater than the bandwidth of
the analog-signal.
• We can deduce above data-rate from the Nyquist sampling theorem by using the following
arguments.
1) We assume that the available channel is low-pass with bandwidth B.
2) We assume that the digital-signal we want to send has L levels, where each level is a signal-
element. This means r = 1/log2L.
3) We first pass digital-signal through a low-pass filter to cut off the frequencies above B Hz.
4) We treat the resulting signal as an analog-signal and sample it at 2 x B samples per second
and quantize it using L levels.
5) The resulting bit-rate is
This is the maximum bandwidth; if the case factor c increases, the data-rate is reduced.
• Advantage:
1) Speed: Parallel transmission can increase the transfer speed by a factor of n over serial
transmission.
• Disadvantage:
1) Cost: Parallel transmission requires n communication lines just to transmit the data-stream.
Because this is expensive, parallel transmission is usually limited to short distances.
• Advantage:
1) Cost: Serial transmission reduces cost of transmission over parallel by a factor of n.
• Disadvantage:
1) Since communication within devices is parallel, following 2 converters are required at interface:
i) Parallel-to-serial converter
ii) Serial-to-parallel converter
• Disadvantage:
1) Slower than synchronous transmission. (Because of stop bit, start bit and gaps)
• Advantages:
1) Cheap & effective.
2) Useful for low-speed communication.
• Advantages:
1) Speed: Faster than asynchronous transmission. („.‟ of no stop bit, start bit and gaps).
2) Useful for high-speed applications such as transmission of data from one computer to another.
2.2.2.3 Isochronous
• Synchronization between characters is not enough; the entire stream of bits must be synchronized.
• The isochronous transmission guarantees that the data arrive at a fixed rate.
• In real-time audio/video, jitter is not acceptable. Therefore, synchronous transmission fails.
• For example: TV images are broadcast at the rate of 30 images per second. The images must be
Example 2.5
Example 2.6
2.3.3.1.1 Implementation
• Here, line coding method used = unipolar NRZ.
• Two implementations of BFSK: i) Coherent and ii) Non-Coherent.
Coherent BFSK Non Coherent BFSK
The phase continues through the boundary of There may be discontinuity in the phase when
two signal-elements (Figure 5.7). one signal-element ends and the next begins.
This is implemented by using one voltage- This is implemented by
controlled oscillator (VCO). → treating BFSK as 2 ASK modulations and
VCO changes frequency according to the input → using 2 carrier-frequencies
voltage.
When the amplitude of NRZ signal = 0, the VCO
keeps its regular frequency.
When the amplitude of NRZ signal = 0, the VCO
increases its frequency.
Example 2.9
2.3.4.1.1 Implementation
• The implementation of BPSK is as simple as that for ASK. (Figure 5.10).
• The signal-element with phase 180° can be seen as the complement of the signal-element with
phase 0°.
• Here, line coding method used: polar NRZ.
• The polar NRZ signal is multiplied by the carrier-frequency coming from an oscillator.
1) When data-element = 1, the phase starts at 0°.
2) When data-element = 0, the phase starts at 180°.
• As shown in Figure 5.11, the 2 composite-signals created by each multiplier are 2 sine waves with
the same frequency, but different phases.
• When the 2 sine waves are added, the result is another sine wave, with 4 possible phases: 45°, -45°,
135°, and -135°.
• There are 4 kinds of signal-elements in the output signal (L=4), so we can send 2 bits per signal-
element (r=2).
Example 2.10
Example 2.11
2-35
DATA COMMUNICATION-18cs46-Module 2
MODULE-WISE QUESTIONS
1) Define digital to analog conversion? List different types of digital to analog conversion. (2)
2) Describe ASK, FSK and PSK mechanisms and apply them over the digital data 101101. (4)
3) Discuss the bandwidth requirement for ASK, FSK and PSK. (4*)
4) Explain different aspects of digital-to-analog conversion? (6*)
5) Define ASK. Explain BASK. (6*)
6) Define FSK. Explain BFSK. (6*)
7) Define PSK. Explain BPSK. (6*)
8) Explain QPSK. (6)
9) Explain the concept of constellation diagram. (6)
10) Explain QAM. (6)
1) Explain the concepts of multiplexing and list the categories of multiplexing? (4)
2) Define FDM? Explain the FDM multiplexing and demultiplexing process with neat diagrams. (6*)
3) Define and explain the concept of WDM. (6*)
4) Explain in detail synchronous TDM. (6*)
5) What do you mean by interleaving? Explain (4)
6) Explain Data Rate Management in Multi-level Multiplexing. (4*)
7) Explain the concept of empty-slots and frame-synchronizing in Multi-level Multiplexing. (6)
8) Explain in detail Statistical TDM. (6*)
9) Define FHSS and explain how it achieves bandwidth multiplexing. (8*)
10) Define DSSS and explain how it achieves bandwidth multiplexing. (8*)
11) Explain the analog hierarchy used by the telephone companies. (6)
2-36