Top Banner
Engr Rehan Ali Shah
51

CHAPTER : 04 Encoding & Modulation

Feb 25, 2016

Download

Documents

jolie

CHAPTER : 04 Encoding & Modulation. Engr Rehan Ali Shah. Introduction. How information is transferred depends on its original format and on format used by communication hardware. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: CHAPTER : 04 Encoding & Modulation

Engr Rehan Ali Shah

Page 2: CHAPTER : 04 Encoding & Modulation

How information is transferred depends on its original format and on format used by communication hardware.

If you want to send a Love letter by smoke signal you must know which smoke patterns match which words in your message before you actually build your fire.

Words are information and puffs of smoke are representation of that information.

Page 3: CHAPTER : 04 Encoding & Modulation

A simple signal by itself doesn’t carry information any more than a straight line conveys words.

The signal must be manipulated so that it contains identifiable changes, recognizable to sender and receiver as representing the information.

Data stored in a computer in the form of 0,1’s to be carried from one place to another, this is called Digital-to-digital conversion.

Page 4: CHAPTER : 04 Encoding & Modulation

Some time we want to convert analog signal(like telephone) into digital signal, also called digitization an analog signal.

Digital to Analog signal conversion or modulating a digital signal.

Often an analog signal is sent over long distance using analog media. This is known as analog to analog conversion or modulating an analog signal.

Page 5: CHAPTER : 04 Encoding & Modulation
Page 6: CHAPTER : 04 Encoding & Modulation

Digital to dig: or conversion is the representation of digital information by digital signal.

For example you can transfer your data to the printer, both the original data and transmitted data are digital.

In this type of encoding, the binary 1s and 0s generated by a computer are translated into sequence of voltage pluses that can be propagate over a wire.

Page 7: CHAPTER : 04 Encoding & Modulation

The digital to digital encoding hardware and resulting digital signal.

Page 8: CHAPTER : 04 Encoding & Modulation

Of the many mechanisms for digital to digital encoding

Page 9: CHAPTER : 04 Encoding & Modulation

Unipolar is very simple and primitive. Digital transmission system work by sending voltage pulses along the medium link.

Unipolar encoding is so named b/c it use only one polarity this polarity is assign to one of the two binary states.

Page 10: CHAPTER : 04 Encoding & Modulation

Polar encoding use the two level of voltage, one is +ve and –ve. By using both level.

In most polar encoding methods the average voltage level on the line is reduced that’s why the DC component problem is alleviated.

Page 11: CHAPTER : 04 Encoding & Modulation

In nrz encoding, the level of signal is always either positive or negative. This nrz also divided into two categories or two method.

1-NRZ-L. 2-NRZ_I. NRZ_L In nrz-l encoding the level of signal depends

on type of bit it represent. A +ve voltage mean o and –ve 1,the level of signal depends upon state of bit.

Page 12: CHAPTER : 04 Encoding & Modulation

In nrz-I, an inversion of voltage level represent a 1 bit. It is the transmission b/w positive and a negative voltage that represent a 1 bit. A 0 bit is represented by no change.

Nrz-I is superior to nrz-l due to the synchronization provided by the signal change each a time a 1 bit is encountered.

Figure shows the nrz-l and nrz-I representation of the series of bit.

Page 13: CHAPTER : 04 Encoding & Modulation
Page 14: CHAPTER : 04 Encoding & Modulation

To assure synchronization, there must be signal change for each bit. The receiver can use these changes to buildup, update and synchronize its clock.

One solution is return to zero, in RZ the signal change not b/w bits but during each bit .like nrz-l,

But unlike nrz-l ,halfway through each bit interval, the signal return to zero. A 1 bit represent by positive –to-zero and 0 negative-to-zero.

Page 15: CHAPTER : 04 Encoding & Modulation

The main disadvantage of RZ encoding is that it requires two signal changes to encode one bit.

Page 16: CHAPTER : 04 Encoding & Modulation

Probably the best existing solution to the problem of synchronization is biphase encoding. There are two types of biphase encoding in use on networks today.

1- Manchester. 2- differential Manchester. Manchester:- Manchester encoding uses the inversion at

the middle of each bit interval for both synchronization and bit representation.

Page 17: CHAPTER : 04 Encoding & Modulation

A negative to positive transition represent binary 1and a +ve to –ve transition represents binary 0. by using a single transition for a dual purpose.

differential Manchester:- in differential Manchester, the inversion at the

middle of the bit interval is used for synchronization.

the presence or absence of an additional transition at the beginning of the internal is used to identify the bit. A transition means binary o and no tran: binary 1.

Page 18: CHAPTER : 04 Encoding & Modulation
Page 19: CHAPTER : 04 Encoding & Modulation

Bipolar encoding, like RZ uses three voltage level : positive, negative and zero.hower ,the zero level in bipolar encoding is used to represent binary 0.

The 1s are represented by alternating positive and negative voltage. If the first 1 bit is +ve amplitude the second is represented by –ve.

Three types of bipolar encoding are in popular by the data communications.

Page 20: CHAPTER : 04 Encoding & Modulation
Page 21: CHAPTER : 04 Encoding & Modulation

Bipolar alternate mark inversion is the simplest type of bipolar encoding.

In the name AMI, the word mark comes from telegraphy and mean 1. so AMI means alternate 1 inversion. Zero voltage represent binary o.

Binary 1s are represented by alternating positive and negative voltages.

Page 22: CHAPTER : 04 Encoding & Modulation

A variation of bipolar AMI is called pseudoternary.

Page 23: CHAPTER : 04 Encoding & Modulation

We some times need to digitize an analog signal for example, to send human voice over a long distance, we need to digitize, the digital signal are less prone to noise.

This require a reduction of the potentially infinite number of values in an analog message so that they can be represented as a digital steam with a minimum loss of information.

Page 24: CHAPTER : 04 Encoding & Modulation

In analog to digital conversion, we r representing the information contained in a continuous wave form as a series of digital pulses(1s or 0s).

Page 25: CHAPTER : 04 Encoding & Modulation

The first step in analog to digital conversion is called PAM.

This technique takes an analog signal, samples it and generates a series of pulses based on the result of the sampling.

The method of sampling used in PAM is more useful to other area of engineering then it is to Data communication.

PAM is the foundation of an important analog-to-digital conversion method called PCM.

Page 26: CHAPTER : 04 Encoding & Modulation

PAM uses the technique called sample and hold at a given moment.

The reason PAM is not useful to data comm:

Page 27: CHAPTER : 04 Encoding & Modulation

PCM modifies the pulses created by PAM to create a completely digital signal. To do so, the PCM first quantizes the PAM pulses.

Quantization is a method of assigning integral values in a specific range to sampled instances.

Page 28: CHAPTER : 04 Encoding & Modulation
Page 29: CHAPTER : 04 Encoding & Modulation

The binary digits are then transformed into a digital signal using one of the digital to digital encoding techniques.

PCM is actually made up of four separate processes .

PCM is the sampling method used to digitize voice in T-line transmission in the North American Telecommunication system.

Page 30: CHAPTER : 04 Encoding & Modulation
Page 31: CHAPTER : 04 Encoding & Modulation

So the question is that, how many samples are sufficient , actually, it require remarkably little information for the receiving device to reconstruct an analog signal.

Nyquist Theorem, to ensure the accurate reproduction of an original signal using PAM, the sampling rate must be at least twice of the original signal.

Page 32: CHAPTER : 04 Encoding & Modulation
Page 33: CHAPTER : 04 Encoding & Modulation
Page 34: CHAPTER : 04 Encoding & Modulation

Digital to Analog conversion or D-to-A Modulation is the process of changing one of the characteristics of an analog signal based on the information in digital signal.

When you transmit data from one computer to another across a public access phone line.

The digital data must be modulated on an analog signal that has been manipulated to look like two distinct values corresponding to binary 1 and o.

Page 35: CHAPTER : 04 Encoding & Modulation
Page 36: CHAPTER : 04 Encoding & Modulation

Before we discuss specific methods of D-to-A two basic issues must be define:

1- Bit rate. 2- Baud rate. The fewer signal unit required, the more

efficient the system and the less bandwidth required to transmit more bits, so we r more concerned to the baud rate.

The baud rate determines the bandwidth required to send the signal.

Page 37: CHAPTER : 04 Encoding & Modulation
Page 38: CHAPTER : 04 Encoding & Modulation

In analog transmission, the sending device produce a high frequency signal that acts as a basis for information signal.

The base signal is called the carrier signal. Digital information is then modulated on

carrier signal by modifying one or more of its characteristics .

Modulation or shifting keys and modulation signal.

Page 39: CHAPTER : 04 Encoding & Modulation

In Amplitude shift keying , the strength of carrier signal varied to represent binary 1 or 0. both frequency and phase remain constant while the Amplitude changes.

The peak amplitude of the signal during each bit duration is constant and its value depends on the bit 0 or 1.

Unfortunately, ASK transmission is highly susceptible to noise interference.

Page 40: CHAPTER : 04 Encoding & Modulation

A popular ASK technique is called OOK. In OOK one of the bit value represented by no voltage .

This advantage is a reduction in the amount of energy required to transmit information.

Page 41: CHAPTER : 04 Encoding & Modulation

What is the bandwidth u known very well. We get a spectrum of many simple

frequencies.

Page 42: CHAPTER : 04 Encoding & Modulation
Page 43: CHAPTER : 04 Encoding & Modulation

In FSK , the frequency of the carrier signal is varied to represent binary 1 or 0.

The frequency of the signal during each bit duration is constant and its value depends on the bit (0,1) both peak amplitude and phase remain constant .see the fig:

FSK avoids most of the noise problem of ASK.

It can ignore voltage spikes

Page 44: CHAPTER : 04 Encoding & Modulation
Page 45: CHAPTER : 04 Encoding & Modulation

Although FSK shifts b/w two carrier frequencies. It is easier to analyze as two coexisting frequencies.

the bandwidth required for FSK transmission is equal to the baud rate of the signal plus the frequency shift. BW=(fc1-fc0)+N .

The process of modulation produces a composite signal.

Page 46: CHAPTER : 04 Encoding & Modulation
Page 47: CHAPTER : 04 Encoding & Modulation
Page 48: CHAPTER : 04 Encoding & Modulation

In phase shift keying , the phase of the carrier is varied to represent binary 1 or 0. both peak amplitude and frequency remain constant as the phase change.

If we start with a phase of 0 degree to represent binary 0, then we can change the phase to 180 degree to send binary 1.

The phase of the signal during each bit duration is constant and its value depends on bit (0,1).

Page 49: CHAPTER : 04 Encoding & Modulation

The method is often called 2-PSK or BPSK, b/c two different phases (0 and 180) are used.

PSK is not susceptible to the noise degradation that effects ASK. Nor the bandwidth limitation of FSK.

Page 50: CHAPTER : 04 Encoding & Modulation

This means that smaller variation in the signal can be detected reliably by the receiver ,instead of utilizing only two variation of a signal , each represent 1 bit ,we can use four variation and let each phase shift represent two bits.

Page 51: CHAPTER : 04 Encoding & Modulation