SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
Data Communications &
                                Computer Networks

                                Lecture 5

                                Signal Encoding Techniques



                    Fall 2007                                           1




                       Agenda




                                      • Digital Data, Digital Signals
                                      • Digital Data, Analog Signals
                                      • Home Exercises




                                                                            2




ACOE312 Signal Encoding Techniques                                              1
Encoding Techniques
                       • There are a number of transmission options
                         available today, depending on the encoding
                         technique
                       • There are four possible combinations of
                         encoding techniques
                          —Digital data, digital signal
                          —Digital data, analog signal
                          —Analog data, digital signal
                          —Analog data, analog signal
                       • We shall examine only the first two techniques

                                                                          3




                                       Digital Data
                                      Digital Signals



                                                                          4




ACOE312 Signal Encoding Techniques                                            2
1. Digital Data, Digital Signals
                       • Digital signal
                          —Discrete, discontinuous voltage pulses
                          —Each pulse is a signal element
                          —Binary data encoded into signal elements




                                                                                  5




                      Terms (1)
                       • Unipolar
                          —All signal elements have same sign, i.e. all positive or
                           all negative
                       • Polar
                          —One logic state represented by positive voltage the
                           other by negative voltage
                       • Data rate
                          —Rate of data transmission in bits per second
                       • Duration or length of a bit
                          —Time taken for transmitter to emit the bit
                          —eg. For a data rate R, the bit duration is 1/R

                                                                                  6




ACOE312 Signal Encoding Techniques                                                    3
Terms (2)
                       • Modulation rate
                          —Rate at which the signal level changes
                          —Modulation rate is measured in baud = signal
                           elements per second
                       • Mark and Space
                          —Mark is Binary 1, Space is Binary 0




                                                                          7




                      Interpreting Signals
                       • Receiver needs to know
                          —Timing of bits - when they start and end
                          —Signal levels
                       • What factors determine how successful the
                         receiver will be interpreting the incoming signal?
                          —Signal to noise ratio
                          —Data rate
                          —Bandwidth
                          —Encoding Scheme



                                                                          8




ACOE312 Signal Encoding Techniques                                            4
Encoding Schemes
                      considerations (1)
                       • Signal Spectrum
                          —Lack of high frequencies reduces required bandwidth
                          —Lack of dc component also desirable since it allows ac
                           coupling via transformer, providing electrical isolation
                          —Concentrate tx power in the middle of tx bandwidth
                       • Clocking
                          —Synchronizing transmitter and receiver
                          —External clock
                          —Sync mechanism based on tx signal with suitable
                           encoding


                                                                                  9




                      Encoding Schemes
                      considerations (2)
                       • Error detection
                          —Can be built in to signal encoding
                       • Signal interference and noise immunity
                          —Some codes are better than others
                       • Cost and complexity
                          —Higher signal rate (& thus data rate) lead to higher
                           costs
                          —Some codes require signal rate greater than data rate




                                                                                 10




ACOE312 Signal Encoding Techniques                                                    5
Encoding Schemes
                       •   Return to Zero (RZ)
                       •   Nonreturn to Zero-Level (NRZ-L)
                       •   Nonreturn to Zero Inverted (NRZI)
                       •   Bipolar - AMI
                       •   Pseudoternary
                       •   Manchester
                       •   Differential Manchester



                                                                          11




                      Return to zero (RZ)
                       • Signal amplitude varies between a positive
                         voltage, i.e. unipolar
                       • Binary 1: a constant positive voltage
                       • Binary 0: Absence of voltage (i.e. 0 Volts or
                         Ground)

                       • Example:
                              1   0   1    1   0   0    0   1
                                                                    +V

                                                                    0 Volts
                                                                          12




ACOE312 Signal Encoding Techniques                                             6
Non-return to Zero-Level (NRZ-L)
                       • Two different voltages for 0 and 1 bits
                       • Negative voltage for one value and positive for
                         the other, eg
                          —Binary 0 : Positive
                          —Binary 1 : Negative
                       • Voltage constant during bit interval
                          —no transition i.e. no return to zero voltage
                       • Example:
                              0      1   0    0    1    1     1    0
                                                                              +V
                                                                              0 Volts
                                                                              -V 13




                      Non-return to Zero Inverted
                      (NRZI)
                       • Non-return to zero inverted on ones
                       • Constant voltage pulse for duration of bit time
                       • Data encoded as presence or absence of signal
                         transition at beginning of bit time
                          —Transition (low-to-high or high-to-low)
                            denotes a binary 1                           or
                          —No transition denotes binary 0
                       • NRZI is an example of differential encoding
                       • Example:
                              0      1   1    0    1    0     0    1
                                                                              +V
                                                                              0 Volts
                                                                              -V 14




ACOE312 Signal Encoding Techniques                                                      7
NRZ-L and NRZI format
                      examples


                                                                                    0V




                                                                                    0V




                                                                                   15




                      Differential Encoding
                       • Data represented by changes rather than levels
                       • Benefits
                          —More reliable detection of transition in the presence
                           of noise rather than to compare a value to a
                           threshold level
                          —In complex transmission layouts it is easy to loose
                           sense of polarity of the signal




                                                                                   16




ACOE312 Signal Encoding Techniques                                                       8
NRZ pros and cons
                       • Advantages
                          —Easy to engineer
                          —Make efficient use of bandwidth


                       • Disadvantages
                          —DC component
                          —Lack of synchronization capability


                       • Used for magnetic recording

                       • Not often used for signal transmission
                                                                                               17




                      Multilevel Binary
                       • Uses more than two levels

                       • Bipolar-AMI (Alternate Mark Inversion)
                          — zero represented by no line signal
                          — one represented by positive or negative pulse
                          — Binary 1 pulses alternate in polarity


                       • Benefits with respect to NRZ
                          — No loss of sync if a long string of ones (zeros still a problem)
                          — No net DC component
                          — Lower bandwidth
                          — Easy error detection

                                                                                               18




ACOE312 Signal Encoding Techniques                                                                  9
Pseudoternary
                       • Binary 1 is represented by absence of line signal

                       • Binary 0 is represented by alternating positive
                         and negative pulses

                       • No advantage or disadvantage over bipolar-AMI
                          —No loss of sync if a long string of zeros (ones still a
                           problem)




                                                                                     19




                      Bipolar-AMI and Pseudoternary
                                     0   1    0     0   1    1    0    0   0    1         1


                                0V




                                0V




                                                                                     20




ACOE312 Signal Encoding Techniques                                                            10
Disadvantages of Multilevel
                      Binary
                       • Not as efficient as NRZ
                          — Each signal element only represents one bit
                          — The line signal may take on one of 3 levels
                          — Each signal element, which could represent log23 = 1.58 bits
                            bears only one bit of information


                       • Receiver must distinguish between three levels
                         (+A, 0, -A) instead of two in NRZ

                       • Requires approximately 3dB more signal power for same
                         probability of bit error
                          — bit error for NRZ at a given SNR is much less than that for
                            multilevel binary

                                                                                           21




                      Biphase
                       • Another set of coding techniques that
                         overcomes NRZ limitations

                       • Biphase
                          —Manchester
                          —Differential Manchester




                                                                                           22




ACOE312 Signal Encoding Techniques                                                              11
Manchester Encoding



                             0V




                                    —Transition occurs at the middle of each bit period
                                    —Transition serves as clock and data
                                    —Low to high represents binary 1
                                    —High to low represents binary 0
                                    —Used by IEEE 802.3 (Ethernet)
                                                                                            23




                      Differential Manchester
                      Encoding



                            0V
                            0V




                                 —Midbit transition occurs always and is used for clocking only
                                 —Transition at start of a bit period represents binary 0
                                 —No transition at start of a bit period represents binary 1
                                 —Note: this is a differential encoding scheme
                                 —Used by IEEE 802.5 (token ring LAN)
                                                                                            24




ACOE312 Signal Encoding Techniques                                                                12
Biphase Pros and Cons
                       • Advantages
                             —Synchronization on mid bit transition (self clocking)
                             —No dc component
                             —Error detection
                                • Absence of expected transition can be used to detect errors


                       • Disadvantages
                             —At least one transition per bit time and possibly two
                             —Maximum modulation rate is twice as that of NRZ
                             —Requires more bandwidth

                                                                                            25




                      Modulation Rate (1)
                       • Data rate or bit rate is 1/Tb, where Tb = bit duration
                       • Modulation rate is the rate at which signal elements are
                         generated

                                Tb
                                                      R    R
                        Tb                     D=       =
                                                      L log2 M
                       where
                                D = modulation rate in baud
                                R = Data rate in bps
                                M = number of different signal elements = 2L
                                L = number of bits per signal element


                                                                                            26




ACOE312 Signal Encoding Techniques                                                               13
Modulation Rate (2)
                                                            For Manchester
                                                            Encoding, the
                                                            minimum size signal
                                                            element is a pulse of
                                                            ½ the duration of a
                                                            bit interval.

                                                            For a string of all
                                          Bit rate = 1/Tb   binary 0s or all 1s, a
                                                            continuous stream of
                                                            such pulses is
                                                            generated.

                                                            Hence maximum
                                                            Modulation rate is
                                                            2/Tb

                                                                                 27




                                      Digital Data
                                     Analog Signals



                                                                                 28




ACOE312 Signal Encoding Techniques                                                    14
2. Digital Data, Analog Signals
                       • Transmission of digital data with analog signals

                       • Example: Public telephone system (PSTN)
                          — Voice frequency range of 300Hz to 3400Hz
                          — Digital devices are attached to the network via a modem
                            (modulator-demodulator), which converts digital data to analog
                            signals and vice-versa

                                           Modem
                                                              Corporate Network

                            Residence
                                             PSTN
                                            network                            Server
                                                           Modem
                                                               Access Router
                                                                                         29




                      Modulation techniques
                       • We will examine three basic modulation
                         techniques
                          —Amplitude Shift Keying (ASK)
                          —Frequency Shift Keying (FSK)
                          —Phase Shift Keying (PSK)




                                                                                         30




ACOE312 Signal Encoding Techniques                                                            15
Modulation Techniques




                                                                                 31




                      Amplitude Shift Keying (ASK)
                       • Values represented by different amplitudes of carrier
                       • Usually, one amplitude is zero
                           — i.e. presence and absence of carrier is used


                               s(t) = A cos(2πfct)                 binary 1
                               s(t) = 0                            binary 0
                               where fc is the carrier frequency
                       •   Susceptible to sudden gain changes
                       •   Inefficient
                       •   Up to 1200bps on voice grade lines
                       •   Used over optical fiber

                                                                                 32




ACOE312 Signal Encoding Techniques                                                    16
Binary Frequency Shift Keying
                       • Most common form is binary FSK (BFSK)
                       • Two binary values represented by two different
                         frequencies (near carrier)
                                s(t) = A cos(2πf1t) binary 1
                                s(t) = A cos(2πf2t) binary 0
                       where f1, f2 are offset from carrier frequency fc by equal but opposite amounts
                       •   Less susceptible to errors than ASK
                       •   Up to 1200bps on voice grade lines
                       •   High frequency (HF) radio (3-30MHz)
                       •   Even higher frequency on LANs using co-axial
                           cable
                                                                                                    33




                      Multiple FSK
                       •   More than two frequencies used
                       •   More bandwidth efficient
                       •   More prone to error
                       •   Each signalling element represents more than one bit

                                         si(t)=A cos(2πfit), 1<i<M

                       where, fi=fc+(2i-1-M)fd
                              fc = carrier frequency
                              fd = difference frequency
                              M = number of different signal elements = 2L
                              L = number of bits per signal element


                                                                                                    34




ACOE312 Signal Encoding Techniques                                                                       17
BFSK example on Voice Grade
                      Line




                                           1170 Hz           2125 Hz



                                                                                  35




                      Phase Shift Keying (PSK)
                       • Phase of carrier signal is shifted to represent
                         data
                       • Binary PSK
                          —Two phases represent two binary digits
                            s(t) = A cos(2πfct)                        binary 1
                            s(t) = A cos(2πfct+π) = -A cos(2πfct)      binary 0

                       • Differential PSK (DPSK)
                          —Phase shifted relative to previous transmission rather
                           than some reference signal

                                                                                  36




ACOE312 Signal Encoding Techniques                                                     18
DPSK




                        Binary 0: signal of same phase as previous signal sent
                        Binary 1: signal of opposite phase to the preceding one
                                                                                  37




                      Quadrature PSK (QPSK)
                       • Quadrature means a 4-level scheme
                       • More efficient use by each signal element
                         representing more than one bit
                          —e.g. shifts of π/2 (90o)
                          —Each element represents two bits
                          —Can use 8 phase angles and have more than one
                           amplitude
                          —9600bps modem use 12 angles, four of which have
                           two amplitudes



                                                                                  38




ACOE312 Signal Encoding Techniques                                                     19
QPSK equation
                       • Each signal element represents               two bits rather
                         than one
                            s(t)=A cos(2πfct+π/4)                      11
                            s(t)=A cos(2πfct+3π/4)                     01
                            s(t)=A cos(2πfct-3π/4)                     00
                            s(t)=A cos(2πfct-π/4)                      10




                                                                                            39




                      Quadrature Amplitude
                      Modulation
                       • QAM used on asymmetric digital subscriber line (ADSL)
                         and some wireless standards
                       • Combination of ASK and PSK
                       • Can also be considered a logical extension of QPSK
                       • Send two different signals simultaneously on same
                         carrier frequency
                          — Use two copies of carrier, one shifted by 90° with respect to the
                            other
                          — Each carrier is ASK modulated
                          — Two independent signals over same medium
                          — At the receiver the two signals are demodulated and combined
                            to produce the original binary signal

                                                                                            40




ACOE312 Signal Encoding Techniques                                                               20
QAM Levels
                       • Two-level ASK
                          —Each of two streams in one of two states
                          —Four state system
                          —Essentially QPSK
                       • Four-level ASK, i.e. 4 different amplitude
                         levels
                          —Combined stream in one of 16 states
                       • 64 and 256 state systems have been
                         implemented
                       • Improved data rate for given bandwidth
                          —Increased potential error rate

                                                                      41




                      Required Reading
                       • Stallings chapter 5




                                                                      42




ACOE312 Signal Encoding Techniques                                         21
Home Exercises




                                                                                 43




                      Review Questions
                       • List and briefly define important factors that can be used
                         in evaluating or comparing the various digital-to-digital
                         encoding techniques
                       • What is differential encoding?
                       • Contrast all digital encoding schemes listed in this
                         lecture (NRZL, NRZI, Bipolar AMI, Pseudoternary,
                         Manchester, Differential Manchester), outlining their
                         advantages and disadvantages
                       • Define the modulation rate and write an expression
                         which relates it with the bit rate.
                       • Explain the difference between ASK, FSK and PSK
                         modulation techniques
                       • What is the difference between Binary PSK, DPSK and
                         QPSK?
                                                                                 44




ACOE312 Signal Encoding Techniques                                                    22
Exercises (1)
                       1. For the bit stream 01001110, sketch the
                          waveforms for the following codes
                            a)   NRZ-L
                            b)   NRZI
                            c)   Bipolar-AMI
                            d)   Pseudoternary
                            e)   Manchester
                            f)   Differential Manchester
                            Assume that:
                            — the most recent preceding 1 bit (AMI) has a negative voltage
                            — the most recent preceding 0 bit (pseudoternary) has a negative
                              voltage.

                                                                                            45




                      Exercises (2)
                       2.   The bipolar-AMI waveform representing the binary sequence
                            0100101011 is transmitted over a noisy channel. The received
                            waveform, which contains a single error, is shown in the following
                            figure. Locate the position of this error and explain your answer.




                                  1    2    3     4     5      6     7     8    9     10




                                                                                            46




ACOE312 Signal Encoding Techniques                                                               23

Weitere ähnliche Inhalte

Was ist angesagt?

Linear Block Codes
Linear Block CodesLinear Block Codes
Linear Block CodesNilaNila16
 
SPINS: Security Protocols for Sensor Networks
SPINS: Security Protocols for Sensor NetworksSPINS: Security Protocols for Sensor Networks
SPINS: Security Protocols for Sensor NetworksAbhijeet Awade
 
Carrier Sense Multiple Access (CSMA)
Carrier Sense Multiple Access (CSMA)Carrier Sense Multiple Access (CSMA)
Carrier Sense Multiple Access (CSMA)Mohammed Abuibaid
 
WSN network architecture -Sensor Network Scenarios & Transceiver Design Consi...
WSN network architecture -Sensor Network Scenarios & Transceiver Design Consi...WSN network architecture -Sensor Network Scenarios & Transceiver Design Consi...
WSN network architecture -Sensor Network Scenarios & Transceiver Design Consi...ArunChokkalingam
 
Flow & Error Control
Flow & Error ControlFlow & Error Control
Flow & Error Controltameemyousaf
 
DATA RATE LIMITS
DATA RATE LIMITSDATA RATE LIMITS
DATA RATE LIMITSChAwais15
 
Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)ArunChokkalingam
 
Data Communication & Computer Networks : Unipolar & Polar coding
Data Communication & Computer Networks : Unipolar & Polar codingData Communication & Computer Networks : Unipolar & Polar coding
Data Communication & Computer Networks : Unipolar & Polar codingDr Rajiv Srivastava
 
Error Detection And Correction
Error Detection And CorrectionError Detection And Correction
Error Detection And CorrectionRenu Kewalramani
 

Was ist angesagt? (20)

Linear Block Codes
Linear Block CodesLinear Block Codes
Linear Block Codes
 
Hamming code system
Hamming code systemHamming code system
Hamming code system
 
Time Division Multiplexing
Time Division MultiplexingTime Division Multiplexing
Time Division Multiplexing
 
Computer networks - Channelization
Computer networks - ChannelizationComputer networks - Channelization
Computer networks - Channelization
 
Line coding
Line codingLine coding
Line coding
 
Error correction, ARQ, FEC
Error correction, ARQ, FECError correction, ARQ, FEC
Error correction, ARQ, FEC
 
Encoding Techniques
Encoding TechniquesEncoding Techniques
Encoding Techniques
 
SPINS: Security Protocols for Sensor Networks
SPINS: Security Protocols for Sensor NetworksSPINS: Security Protocols for Sensor Networks
SPINS: Security Protocols for Sensor Networks
 
Carrier Sense Multiple Access (CSMA)
Carrier Sense Multiple Access (CSMA)Carrier Sense Multiple Access (CSMA)
Carrier Sense Multiple Access (CSMA)
 
WSN network architecture -Sensor Network Scenarios & Transceiver Design Consi...
WSN network architecture -Sensor Network Scenarios & Transceiver Design Consi...WSN network architecture -Sensor Network Scenarios & Transceiver Design Consi...
WSN network architecture -Sensor Network Scenarios & Transceiver Design Consi...
 
Flow & Error Control
Flow & Error ControlFlow & Error Control
Flow & Error Control
 
DATA RATE LIMITS
DATA RATE LIMITSDATA RATE LIMITS
DATA RATE LIMITS
 
Timing diagram 8085 microprocessor
Timing diagram 8085 microprocessorTiming diagram 8085 microprocessor
Timing diagram 8085 microprocessor
 
Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)Destination Sequenced Distance Vector Routing (DSDV)
Destination Sequenced Distance Vector Routing (DSDV)
 
Network layer tanenbaum
Network layer tanenbaumNetwork layer tanenbaum
Network layer tanenbaum
 
Data Communication & Computer Networks : Unipolar & Polar coding
Data Communication & Computer Networks : Unipolar & Polar codingData Communication & Computer Networks : Unipolar & Polar coding
Data Communication & Computer Networks : Unipolar & Polar coding
 
Error Detection And Correction
Error Detection And CorrectionError Detection And Correction
Error Detection And Correction
 
Data link layer
Data link layer Data link layer
Data link layer
 
DPCM
DPCMDPCM
DPCM
 
8251 USART
8251 USART8251 USART
8251 USART
 

Andere mochten auch

signal encoding techniques
signal encoding techniquessignal encoding techniques
signal encoding techniquesSrinivasa Rao
 
10 lecture - ospf part1 , introduction to ospf , areas and abr
10   lecture  - ospf part1 , introduction to ospf , areas and abr10   lecture  - ospf part1 , introduction to ospf , areas and abr
10 lecture - ospf part1 , introduction to ospf , areas and abrShafaan Khaliq Bhatti
 
4 signal encodingtechniques
4 signal encodingtechniques4 signal encodingtechniques
4 signal encodingtechniquesHattori Sidek
 
Data Encoding
Data EncodingData Encoding
Data EncodingLuka M G
 
13 lecture - introduction and configuration of eigrp
13   lecture  - introduction and configuration of eigrp13   lecture  - introduction and configuration of eigrp
13 lecture - introduction and configuration of eigrpShafaan Khaliq Bhatti
 
15 lecture - acl part1, introduction to access control list
15   lecture  - acl part1, introduction to access control list15   lecture  - acl part1, introduction to access control list
15 lecture - acl part1, introduction to access control listShafaan Khaliq Bhatti
 
Chapter 5 - Signal Encoding Techniques 9e
Chapter 5 - Signal Encoding Techniques 9eChapter 5 - Signal Encoding Techniques 9e
Chapter 5 - Signal Encoding Techniques 9eadpeer
 
Chapter 1: Introduction to Data Communication and Networks
Chapter 1: Introduction to Data Communication and NetworksChapter 1: Introduction to Data Communication and Networks
Chapter 1: Introduction to Data Communication and NetworksShafaan Khaliq Bhatti
 
Chapter 4 - Digital Transmission
Chapter 4 - Digital TransmissionChapter 4 - Digital Transmission
Chapter 4 - Digital TransmissionWayne Jones Jnr
 

Andere mochten auch (13)

signal encoding techniques
signal encoding techniquessignal encoding techniques
signal encoding techniques
 
10 lecture - ospf part1 , introduction to ospf , areas and abr
10   lecture  - ospf part1 , introduction to ospf , areas and abr10   lecture  - ospf part1 , introduction to ospf , areas and abr
10 lecture - ospf part1 , introduction to ospf , areas and abr
 
L8 signal encoding techniques
L8 signal encoding techniquesL8 signal encoding techniques
L8 signal encoding techniques
 
Message Authentication: MAC, Hashes
Message Authentication: MAC, HashesMessage Authentication: MAC, Hashes
Message Authentication: MAC, Hashes
 
4 signal encodingtechniques
4 signal encodingtechniques4 signal encodingtechniques
4 signal encodingtechniques
 
Encoding techniques
Encoding techniquesEncoding techniques
Encoding techniques
 
Data encoding
Data encodingData encoding
Data encoding
 
Data Encoding
Data EncodingData Encoding
Data Encoding
 
13 lecture - introduction and configuration of eigrp
13   lecture  - introduction and configuration of eigrp13   lecture  - introduction and configuration of eigrp
13 lecture - introduction and configuration of eigrp
 
15 lecture - acl part1, introduction to access control list
15   lecture  - acl part1, introduction to access control list15   lecture  - acl part1, introduction to access control list
15 lecture - acl part1, introduction to access control list
 
Chapter 5 - Signal Encoding Techniques 9e
Chapter 5 - Signal Encoding Techniques 9eChapter 5 - Signal Encoding Techniques 9e
Chapter 5 - Signal Encoding Techniques 9e
 
Chapter 1: Introduction to Data Communication and Networks
Chapter 1: Introduction to Data Communication and NetworksChapter 1: Introduction to Data Communication and Networks
Chapter 1: Introduction to Data Communication and Networks
 
Chapter 4 - Digital Transmission
Chapter 4 - Digital TransmissionChapter 4 - Digital Transmission
Chapter 4 - Digital Transmission
 

Ähnlich wie 05 signal encoding

Analog mixed vlsi notes
Analog mixed vlsi notesAnalog mixed vlsi notes
Analog mixed vlsi notesathiulla
 
Signal encoding techniques
Signal encoding techniquesSignal encoding techniques
Signal encoding techniquesSyed Zaid Irshad
 
base-band_digital_data_transmission-Line coding - Copy.ppt
base-band_digital_data_transmission-Line coding - Copy.pptbase-band_digital_data_transmission-Line coding - Copy.ppt
base-band_digital_data_transmission-Line coding - Copy.pptAbyThomas54
 
Encoding1
Encoding1Encoding1
Encoding1munir09
 
Dc ch05 : signal encoding techniques
Dc ch05 : signal encoding techniquesDc ch05 : signal encoding techniques
Dc ch05 : signal encoding techniquesSyaiful Ahdan
 
05 signal encodingtechniques
05 signal encodingtechniques05 signal encodingtechniques
05 signal encodingtechniquesOrbay Yeşil
 
Lecture 2 encoding
Lecture 2 encoding Lecture 2 encoding
Lecture 2 encoding Josh Street
 
Lecture 2 encoding
Lecture 2 encodingLecture 2 encoding
Lecture 2 encodingJosh Street
 
RF Basics & Getting Started Guide by Anaren
RF Basics & Getting Started Guide by AnarenRF Basics & Getting Started Guide by Anaren
RF Basics & Getting Started Guide by AnarenAnaren, Inc.
 
Digital Communications Midterm :D
Digital Communications Midterm :DDigital Communications Midterm :D
Digital Communications Midterm :DChoi Kyung Hyo
 
CS553_ST7_Ch05-SignalEncodingTechniques.ppt
CS553_ST7_Ch05-SignalEncodingTechniques.pptCS553_ST7_Ch05-SignalEncodingTechniques.ppt
CS553_ST7_Ch05-SignalEncodingTechniques.pptmshanajoel6
 

Ähnlich wie 05 signal encoding (20)

05 signal encoding
05 signal encoding05 signal encoding
05 signal encoding
 
Analog mixed vlsi notes
Analog mixed vlsi notesAnalog mixed vlsi notes
Analog mixed vlsi notes
 
Line coding
Line codingLine coding
Line coding
 
Signal encoding techniques
Signal encoding techniquesSignal encoding techniques
Signal encoding techniques
 
base-band_digital_data_transmission-Line coding - Copy.ppt
base-band_digital_data_transmission-Line coding - Copy.pptbase-band_digital_data_transmission-Line coding - Copy.ppt
base-band_digital_data_transmission-Line coding - Copy.ppt
 
Encoding1
Encoding1Encoding1
Encoding1
 
Dc ch05 : signal encoding techniques
Dc ch05 : signal encoding techniquesDc ch05 : signal encoding techniques
Dc ch05 : signal encoding techniques
 
05 signal encodingtechniques
05 signal encodingtechniques05 signal encodingtechniques
05 signal encodingtechniques
 
Line Coding.pptx
Line Coding.pptxLine Coding.pptx
Line Coding.pptx
 
Ch05
Ch05Ch05
Ch05
 
Turbo codes
Turbo codesTurbo codes
Turbo codes
 
Ch04
Ch04Ch04
Ch04
 
Lecture 2 encoding
Lecture 2 encoding Lecture 2 encoding
Lecture 2 encoding
 
Lecture 2 encoding
Lecture 2 encodingLecture 2 encoding
Lecture 2 encoding
 
RF Basics & Getting Started Guide by Anaren
RF Basics & Getting Started Guide by AnarenRF Basics & Getting Started Guide by Anaren
RF Basics & Getting Started Guide by Anaren
 
30 CHL PCM PDH SDH BY SKG
30 CHL PCM PDH SDH BY SKG30 CHL PCM PDH SDH BY SKG
30 CHL PCM PDH SDH BY SKG
 
Basics of RF
Basics of RFBasics of RF
Basics of RF
 
Digital Communications Midterm :D
Digital Communications Midterm :DDigital Communications Midterm :D
Digital Communications Midterm :D
 
Turbo Codes
Turbo CodesTurbo Codes
Turbo Codes
 
CS553_ST7_Ch05-SignalEncodingTechniques.ppt
CS553_ST7_Ch05-SignalEncodingTechniques.pptCS553_ST7_Ch05-SignalEncodingTechniques.ppt
CS553_ST7_Ch05-SignalEncodingTechniques.ppt
 

Kürzlich hochgeladen

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptxPoojaSen20
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 

Kürzlich hochgeladen (20)

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
PSYCHIATRIC History collection FORMAT.pptx
PSYCHIATRIC   History collection FORMAT.pptxPSYCHIATRIC   History collection FORMAT.pptx
PSYCHIATRIC History collection FORMAT.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 

05 signal encoding

  • 1. Data Communications & Computer Networks Lecture 5 Signal Encoding Techniques Fall 2007 1 Agenda • Digital Data, Digital Signals • Digital Data, Analog Signals • Home Exercises 2 ACOE312 Signal Encoding Techniques 1
  • 2. Encoding Techniques • There are a number of transmission options available today, depending on the encoding technique • There are four possible combinations of encoding techniques —Digital data, digital signal —Digital data, analog signal —Analog data, digital signal —Analog data, analog signal • We shall examine only the first two techniques 3 Digital Data Digital Signals 4 ACOE312 Signal Encoding Techniques 2
  • 3. 1. Digital Data, Digital Signals • Digital signal —Discrete, discontinuous voltage pulses —Each pulse is a signal element —Binary data encoded into signal elements 5 Terms (1) • Unipolar —All signal elements have same sign, i.e. all positive or all negative • Polar —One logic state represented by positive voltage the other by negative voltage • Data rate —Rate of data transmission in bits per second • Duration or length of a bit —Time taken for transmitter to emit the bit —eg. For a data rate R, the bit duration is 1/R 6 ACOE312 Signal Encoding Techniques 3
  • 4. Terms (2) • Modulation rate —Rate at which the signal level changes —Modulation rate is measured in baud = signal elements per second • Mark and Space —Mark is Binary 1, Space is Binary 0 7 Interpreting Signals • Receiver needs to know —Timing of bits - when they start and end —Signal levels • What factors determine how successful the receiver will be interpreting the incoming signal? —Signal to noise ratio —Data rate —Bandwidth —Encoding Scheme 8 ACOE312 Signal Encoding Techniques 4
  • 5. Encoding Schemes considerations (1) • Signal Spectrum —Lack of high frequencies reduces required bandwidth —Lack of dc component also desirable since it allows ac coupling via transformer, providing electrical isolation —Concentrate tx power in the middle of tx bandwidth • Clocking —Synchronizing transmitter and receiver —External clock —Sync mechanism based on tx signal with suitable encoding 9 Encoding Schemes considerations (2) • Error detection —Can be built in to signal encoding • Signal interference and noise immunity —Some codes are better than others • Cost and complexity —Higher signal rate (& thus data rate) lead to higher costs —Some codes require signal rate greater than data rate 10 ACOE312 Signal Encoding Techniques 5
  • 6. Encoding Schemes • Return to Zero (RZ) • Nonreturn to Zero-Level (NRZ-L) • Nonreturn to Zero Inverted (NRZI) • Bipolar - AMI • Pseudoternary • Manchester • Differential Manchester 11 Return to zero (RZ) • Signal amplitude varies between a positive voltage, i.e. unipolar • Binary 1: a constant positive voltage • Binary 0: Absence of voltage (i.e. 0 Volts or Ground) • Example: 1 0 1 1 0 0 0 1 +V 0 Volts 12 ACOE312 Signal Encoding Techniques 6
  • 7. Non-return to Zero-Level (NRZ-L) • Two different voltages for 0 and 1 bits • Negative voltage for one value and positive for the other, eg —Binary 0 : Positive —Binary 1 : Negative • Voltage constant during bit interval —no transition i.e. no return to zero voltage • Example: 0 1 0 0 1 1 1 0 +V 0 Volts -V 13 Non-return to Zero Inverted (NRZI) • Non-return to zero inverted on ones • Constant voltage pulse for duration of bit time • Data encoded as presence or absence of signal transition at beginning of bit time —Transition (low-to-high or high-to-low) denotes a binary 1 or —No transition denotes binary 0 • NRZI is an example of differential encoding • Example: 0 1 1 0 1 0 0 1 +V 0 Volts -V 14 ACOE312 Signal Encoding Techniques 7
  • 8. NRZ-L and NRZI format examples 0V 0V 15 Differential Encoding • Data represented by changes rather than levels • Benefits —More reliable detection of transition in the presence of noise rather than to compare a value to a threshold level —In complex transmission layouts it is easy to loose sense of polarity of the signal 16 ACOE312 Signal Encoding Techniques 8
  • 9. NRZ pros and cons • Advantages —Easy to engineer —Make efficient use of bandwidth • Disadvantages —DC component —Lack of synchronization capability • Used for magnetic recording • Not often used for signal transmission 17 Multilevel Binary • Uses more than two levels • Bipolar-AMI (Alternate Mark Inversion) — zero represented by no line signal — one represented by positive or negative pulse — Binary 1 pulses alternate in polarity • Benefits with respect to NRZ — No loss of sync if a long string of ones (zeros still a problem) — No net DC component — Lower bandwidth — Easy error detection 18 ACOE312 Signal Encoding Techniques 9
  • 10. Pseudoternary • Binary 1 is represented by absence of line signal • Binary 0 is represented by alternating positive and negative pulses • No advantage or disadvantage over bipolar-AMI —No loss of sync if a long string of zeros (ones still a problem) 19 Bipolar-AMI and Pseudoternary 0 1 0 0 1 1 0 0 0 1 1 0V 0V 20 ACOE312 Signal Encoding Techniques 10
  • 11. Disadvantages of Multilevel Binary • Not as efficient as NRZ — Each signal element only represents one bit — The line signal may take on one of 3 levels — Each signal element, which could represent log23 = 1.58 bits bears only one bit of information • Receiver must distinguish between three levels (+A, 0, -A) instead of two in NRZ • Requires approximately 3dB more signal power for same probability of bit error — bit error for NRZ at a given SNR is much less than that for multilevel binary 21 Biphase • Another set of coding techniques that overcomes NRZ limitations • Biphase —Manchester —Differential Manchester 22 ACOE312 Signal Encoding Techniques 11
  • 12. Manchester Encoding 0V —Transition occurs at the middle of each bit period —Transition serves as clock and data —Low to high represents binary 1 —High to low represents binary 0 —Used by IEEE 802.3 (Ethernet) 23 Differential Manchester Encoding 0V 0V —Midbit transition occurs always and is used for clocking only —Transition at start of a bit period represents binary 0 —No transition at start of a bit period represents binary 1 —Note: this is a differential encoding scheme —Used by IEEE 802.5 (token ring LAN) 24 ACOE312 Signal Encoding Techniques 12
  • 13. Biphase Pros and Cons • Advantages —Synchronization on mid bit transition (self clocking) —No dc component —Error detection • Absence of expected transition can be used to detect errors • Disadvantages —At least one transition per bit time and possibly two —Maximum modulation rate is twice as that of NRZ —Requires more bandwidth 25 Modulation Rate (1) • Data rate or bit rate is 1/Tb, where Tb = bit duration • Modulation rate is the rate at which signal elements are generated Tb R R Tb D= = L log2 M where D = modulation rate in baud R = Data rate in bps M = number of different signal elements = 2L L = number of bits per signal element 26 ACOE312 Signal Encoding Techniques 13
  • 14. Modulation Rate (2) For Manchester Encoding, the minimum size signal element is a pulse of ½ the duration of a bit interval. For a string of all Bit rate = 1/Tb binary 0s or all 1s, a continuous stream of such pulses is generated. Hence maximum Modulation rate is 2/Tb 27 Digital Data Analog Signals 28 ACOE312 Signal Encoding Techniques 14
  • 15. 2. Digital Data, Analog Signals • Transmission of digital data with analog signals • Example: Public telephone system (PSTN) — Voice frequency range of 300Hz to 3400Hz — Digital devices are attached to the network via a modem (modulator-demodulator), which converts digital data to analog signals and vice-versa Modem Corporate Network Residence PSTN network Server Modem Access Router 29 Modulation techniques • We will examine three basic modulation techniques —Amplitude Shift Keying (ASK) —Frequency Shift Keying (FSK) —Phase Shift Keying (PSK) 30 ACOE312 Signal Encoding Techniques 15
  • 16. Modulation Techniques 31 Amplitude Shift Keying (ASK) • Values represented by different amplitudes of carrier • Usually, one amplitude is zero — i.e. presence and absence of carrier is used s(t) = A cos(2πfct) binary 1 s(t) = 0 binary 0 where fc is the carrier frequency • Susceptible to sudden gain changes • Inefficient • Up to 1200bps on voice grade lines • Used over optical fiber 32 ACOE312 Signal Encoding Techniques 16
  • 17. Binary Frequency Shift Keying • Most common form is binary FSK (BFSK) • Two binary values represented by two different frequencies (near carrier) s(t) = A cos(2πf1t) binary 1 s(t) = A cos(2πf2t) binary 0 where f1, f2 are offset from carrier frequency fc by equal but opposite amounts • Less susceptible to errors than ASK • Up to 1200bps on voice grade lines • High frequency (HF) radio (3-30MHz) • Even higher frequency on LANs using co-axial cable 33 Multiple FSK • More than two frequencies used • More bandwidth efficient • More prone to error • Each signalling element represents more than one bit si(t)=A cos(2πfit), 1<i<M where, fi=fc+(2i-1-M)fd fc = carrier frequency fd = difference frequency M = number of different signal elements = 2L L = number of bits per signal element 34 ACOE312 Signal Encoding Techniques 17
  • 18. BFSK example on Voice Grade Line 1170 Hz 2125 Hz 35 Phase Shift Keying (PSK) • Phase of carrier signal is shifted to represent data • Binary PSK —Two phases represent two binary digits s(t) = A cos(2πfct) binary 1 s(t) = A cos(2πfct+π) = -A cos(2πfct) binary 0 • Differential PSK (DPSK) —Phase shifted relative to previous transmission rather than some reference signal 36 ACOE312 Signal Encoding Techniques 18
  • 19. DPSK Binary 0: signal of same phase as previous signal sent Binary 1: signal of opposite phase to the preceding one 37 Quadrature PSK (QPSK) • Quadrature means a 4-level scheme • More efficient use by each signal element representing more than one bit —e.g. shifts of π/2 (90o) —Each element represents two bits —Can use 8 phase angles and have more than one amplitude —9600bps modem use 12 angles, four of which have two amplitudes 38 ACOE312 Signal Encoding Techniques 19
  • 20. QPSK equation • Each signal element represents two bits rather than one s(t)=A cos(2πfct+π/4) 11 s(t)=A cos(2πfct+3π/4) 01 s(t)=A cos(2πfct-3π/4) 00 s(t)=A cos(2πfct-π/4) 10 39 Quadrature Amplitude Modulation • QAM used on asymmetric digital subscriber line (ADSL) and some wireless standards • Combination of ASK and PSK • Can also be considered a logical extension of QPSK • Send two different signals simultaneously on same carrier frequency — Use two copies of carrier, one shifted by 90° with respect to the other — Each carrier is ASK modulated — Two independent signals over same medium — At the receiver the two signals are demodulated and combined to produce the original binary signal 40 ACOE312 Signal Encoding Techniques 20
  • 21. QAM Levels • Two-level ASK —Each of two streams in one of two states —Four state system —Essentially QPSK • Four-level ASK, i.e. 4 different amplitude levels —Combined stream in one of 16 states • 64 and 256 state systems have been implemented • Improved data rate for given bandwidth —Increased potential error rate 41 Required Reading • Stallings chapter 5 42 ACOE312 Signal Encoding Techniques 21
  • 22. Home Exercises 43 Review Questions • List and briefly define important factors that can be used in evaluating or comparing the various digital-to-digital encoding techniques • What is differential encoding? • Contrast all digital encoding schemes listed in this lecture (NRZL, NRZI, Bipolar AMI, Pseudoternary, Manchester, Differential Manchester), outlining their advantages and disadvantages • Define the modulation rate and write an expression which relates it with the bit rate. • Explain the difference between ASK, FSK and PSK modulation techniques • What is the difference between Binary PSK, DPSK and QPSK? 44 ACOE312 Signal Encoding Techniques 22
  • 23. Exercises (1) 1. For the bit stream 01001110, sketch the waveforms for the following codes a) NRZ-L b) NRZI c) Bipolar-AMI d) Pseudoternary e) Manchester f) Differential Manchester Assume that: — the most recent preceding 1 bit (AMI) has a negative voltage — the most recent preceding 0 bit (pseudoternary) has a negative voltage. 45 Exercises (2) 2. The bipolar-AMI waveform representing the binary sequence 0100101011 is transmitted over a noisy channel. The received waveform, which contains a single error, is shown in the following figure. Locate the position of this error and explain your answer. 1 2 3 4 5 6 7 8 9 10 46 ACOE312 Signal Encoding Techniques 23