0% found this document useful (0 votes)
9 views39 pages

Data Encoding Techniques Explained

The document discusses various techniques for encoding digital data for transmission as digital signals, including unipolar, polar, and bipolar encoding. It describes common encoding methods like NRZ-L, Manchester, AMI, and others. It compares the pros and cons of different encoding schemes in terms of their DC component, synchronization capability, bandwidth needs, error detection ability, and complexity/cost. The key goal of line encoding is to transform digital data into signals suitable for transmission through a given transmission medium like copper cables, fiber optics, or wireless channels.

Uploaded by

LhiLy Thiita
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views39 pages

Data Encoding Techniques Explained

The document discusses various techniques for encoding digital data for transmission as digital signals, including unipolar, polar, and bipolar encoding. It describes common encoding methods like NRZ-L, Manchester, AMI, and others. It compares the pros and cons of different encoding schemes in terms of their DC component, synchronization capability, bandwidth needs, error detection ability, and complexity/cost. The key goal of line encoding is to transform digital data into signals suitable for transmission through a given transmission medium like copper cables, fiber optics, or wireless channels.

Uploaded by

LhiLy Thiita
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd

William Stallings

Data and Computer


Communications
Chapter 5
Data Encoding

Capaian Pembelajaran
Memahami pengkodean digital (line encoding)
Memahami parameter-parameter pengkodean
yang efektif
Mampu mengkodekan bit stream ke beberapa
metode pengkodean digital

Encoding Techniques
Digital data, digital signal
Analog data, digital signal
Digital data, analog signal
Analog data, analog signal

Digital to Digital Encoding

1011001

Digital/
Digital Encoding

Digital Data, Digital Signal


Digital signal
Discrete, discontinuous voltage pulses
Each pulse is a signal element
Binary data encoded into signal elements

Metode Digital To Digital


Encoding
Digitsl/Digital
Encoding

Unipolar

Polar

Bipolar

Unipolar: Pengkodean menggunakan satu level nilai (+)


Polar: Pengkodean menggunakan 2 level nilai amplitudo (+, -)
Unipolar: Pengkodean menggunakan 3 level nilai amplitudo ( +,-,0)

Terms (1)
Unipolar
All signal elements have same sign

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

Terms (2)
Modulation rate
Rate at which the signal level changes
Measured in baud = signal elements per second

Mark and Space


Binary 1 and Binary 0 respectively

Interpreting Signals
Need to know
Timing of bits - when they start and end
Signal levels

Factors affecting successful interpreting of


signals
Signal to noise ratio
Data rate
Bandwidth

Comparison of Encoding
Schemes (1)
Signal Spectrum
Lack of high frequencies reduces required bandwidth
Lack of dc component allows ac coupling via
transformer, providing isolation
Concentrate power in the middle of the bandwidth

Clocking
Synchronizing transmitter and receiver
External clock
Sync mechanism based on signal

Comparison of Encoding
Schemes (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

Parameter Pengkodean yang


Efektif
DC componen = 0
Ada Synkronisasi
Kebutuhan Bandwidth kecil
Biaya dan Kerumitan rendah
Mampu mendeteksi Kesalahan

Signal with DC Component

Varying Sine Waves

Tipe Polar Encoding

NRZ

NRZ

Nonreturn to Zero-Level (NRZ-L)


Two different voltages for 0 and 1 bits
Voltage constant during bit interval
no transition I.e. no return to zero voltage

e.g. Absence of voltage for zero, constant


positive voltage for one
More often, negative voltage for one value and
positive for the other
This is NRZ-L

Nonreturn to Zero Inverted


Nonreturn to zero inverted on ones
Constant voltage pulse for duration of bit
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
No transition denotes binary 0
An example of differential encoding

RZ

NRZ pros and cons


Pros
Easy to engineer
Make good use of bandwidth

Cons
dc component
Lack of synchronization capability

Used for magnetic recording


Not often used for signal transmission

BIPhase

Differential Encoding
Data represented by changes rather than levels
More reliable detection of transition rather than
level
In complex transmission layouts it is easy to
lose sense of polarity

Biphase
Manchester
Transition in middle of each bit period
Transition serves as clock and data
Low to high represents one
High to low represents zero
Used by IEEE 802.3

Differential Manchester
Midbit transition is clocking only
Transition at start of a bit period represents zero
No transition at start of a bit period represents one
Note: this is a differential encoding scheme
Used by IEEE 802.5

Biphase Pros and Cons


Con
At least one transition per bit time and possibly two
Maximum modulation rate is twice NRZ
Requires more bandwidth

Pros
Synchronization on mid bit transition (self clocking)
No dc component
Error detection
Absence of expected transition

Bipolar

Bipolar
AMI

B8ZS

HDB3

Multilevel Binary
Use more than two levels
Bipolar-AMI
zero represented by no line signal
one represented by positive or negative pulse
one pulses alternate in polarity
No loss of sync if a long string of ones (zeros still a
problem)
No net dc component
Lower bandwidth
Easy error detection

AMI

Bipolar-AMI and Pseudoternary

Pseudoternary
One represented by absence of line signal
Zero represented by alternating positive and
negative
No advantage or disadvantage over bipolar-AMI

B8ZS
Polaritas bit
sebelumnya

Violation
Violation

Polaritas bit
sebelumnya

Violation

Violation

B8ZS

HDB3
+ 0

+ 0

Jika jumlah 1 subtitusi terakhir ganjil


+ 0

+ -

+ 0

Jika jumlah 1 subtitusi terakhir genap

HDB3

Trade Off for Multilevel Binary


Not as efficient as NRZ
Each signal element only represents one bit
In a 3 level system could represent log23 = 1.58 bits
Receiver must distinguish between three levels
(+A, -A, 0)
Requires approx. 3dB more signal power for same
probability of bit error

Modulation Rate

Kesimpulan
Line coding: Mengubah data kebentuk signal
yang sesuai dengan media transmisi supaya
dapat ditranmisikan melewati media transmisi
yang sesuai.
Kabel= pulsa signal elektrik
Fiber optik= pulsa cahaya
Udara=pulsa gelombang elektromagnetik
Jenis Pengkodean digital
Unipilar; Polar (NRZ,RZ,Biphase)

Kesimpulan
Jenis
pengkodean

NRZ- L
NRZ-I
RZ
Manchester
Differential
manchester

Ami
B8Zs
HDB3

Dc komponen

sinkronisasi

bandwidth

Deteksi
kesalahan

Kerumitan/b
iaya

Aplikasi

Kodekan dengan jenis


pengkodean polar,bipolar
1. 111110000011000000000
2. 1111000001100000000

You might also like