Professional Documents
Culture Documents
Discrete, discontinuous voltage pulses Each pulse is a signal element Binary data encoded into signal elements
Rate at which the signal level changes Measured in baud = signal elements per second
Need to know
Signal to noise ratio Data rate Bandwidth Synchronizing transmitter and receiver External clock Sync mechanism based on signal
Ayaz Keerio, University of Sindh 6
Clocking
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
Encoding Schemes:
Nonreturn to Zero-Level (NRZ-L) Nonreturn to Zero Inverted (NRZI)
Bipolar
Manchester Differential Manchester B8ZS (Bipolar with 8-zeros substitution) HDB3 (High density bipolar 3-zeros)
voltage for one More often, negative voltage for one value and positive for the other
Zero (0) = high level One ( 1 ) = low level
This is NRZ-L
Ayaz Keerio, University of Sindh 9
transition at beginning of bit time Transition (low to high or high to low) denotes a binary 1 (one) No transition denotes binary 0 (zero)
An example of differential encoding
10
Differential Encoding
Data represented by changes rather than levels More reliable detection of transition rather than level
of polarity (split)
11
12
Excercise
Assume digital data is: 0011010011110001 Encode digital data using NRZ-L and NRZI encoding schemes
13
Answer
Assume digital data is: 00110100111101 By using NRZ-L encoding scheme
0 0
1
0 0
0
1
1
1
1 0
1
14
15
17
Binary 1 is represented by a lack of pulse (absence of line signal) Binary 0(zero) is represented by a positive or a negative pulse The binary 0(zero) pulses must alternate in polarity.
18
19
20
21
22
23
24
frequencies (near carrier) Less susceptible to error than ASK Up to 1200bps Even higher frequency on LANs using coaxial cable
25
26
27
28
Differential PSK
29
transmission medium
E.g. conserve (save) bandwidth, & minimize errors
Digital signaling: digital or analog data, g(t), encoded into digital signal, x(t) Analog signaling: digital or analog data transmitted by analog carrier signal using modulation
30
signal, s(t)
31
32
rate, & bandwidth Increase in data rate increases bit error rate (BER) Increase in SNR decreases BER Increase in bandwidth allows increase in data rate
33
34
35
36
37
38
digital data from analog data two techniques used in codecs: Pulse Code Modulation(PCM) and Delta Modulation
39
40
different levels, with corresponding code numbers Sample analog input every Ts seconds --> pulse amplitude modulation (PAM) value Map PAM value to nearest code number Convert code number to n-bit binary PCM code
41
higher than twice the highest signal frequency, the samples contain all the information of the original signal Voice data limited to below 4kHz, Require 8kHz samples per second Analog samples (Pulse Amplitude Modulation, PAM) Each sample assigned digital value
42
43
Nyquist Theorem
The sampling rate (pam sampling) must be at least 2
signal must be sampled every 1/2x seconds i.e for voice one sample every 1/8000s = 1 / 2(4000)s= 0.000125 s
44
45
Sampling Theorem
If a signal f(t) is sampled at regular intervals of time
and at a rate higher than twice the highest signal frequency, then the samples contain all the information of the original signal Example: voice is between 0 and 4000 Hz; sampling at 8000 samples per second is sufficient to reproduce analog voice at receiver Good voice reproduction can be achieved with 128 quantization levels (7-bit coding)
46
reproduction of weak signals Non-linear encoding: more steps for low amplitude, less steps at high amplitude Can lead to signicant improvement for voice
47
48
Delta Modulation
Popular alternative to PCM Input analog data approximated by staircase function
sampling interval (Ts ) If signal goes up, bit 1(one) is output; otherwise bit 0(zero).
49
50
Modulating Signals
Combine input signal, m(t), and carrier at frequency fc
to produce signal s(t) whose bandwidth is centered on fc Why? If analog transmission systems:
Digital data must be convereted to analog form (e.g.
PSK, FSK) Analog signals may need to be transmitted at higher frequency than analog data Changing frequency of analog data allows for frequency division multiplexing (sending different ananlog data inone analog signal)
Ayaz Keerio, University of Sindh 51
Modulating Signals
Principal techniques are: amplitude modulation (AM), frequency modulation (FM) phase modulation (PM)
52
that its amplitude varies with the changing amplitudes of the modulating signal. The frequency and phase of carrier remain same. Only amplitude changes to follow the variations in the information.
53
is modulated to follow the changing amplitude of the modulating signal. The peak amplitude and phase of carrier signal remain constant. As the amplitude of information signal changes the frequency of the carrier changes correspondingly.
54
modulated to follow the changing amplitude of the modulating signal. The peak amplitude and frequency of carrier signal remain constant. As the amplitude of information signal changes the phase of the carrier changes correspondingly.
55
56