Documente Academic
Documente Profesional
Documente Cultură
1/45
2/45
Analog Signaling
Digital or analog data modulates analog carrier signal The frequency of the carrier fc is chosen to be compatible with the transmission medium used Modulation: the amplitude, frequency or phase of the carrier signal is varied in accordance with the modulating data signal by using different carrier frequencies, multiple data signals (users) can share the same transmission medium
3/45
Digital Signaling
Digital data, digital signal
Simplest encoding scheme: assign one voltage level to binary one and another voltage level to binary zero More complex encoding schemes: are used to improve performance (reduce transmission bandwidth and minimize errors). Examples are NRZ-L, NRZI, Manchester, etc.
Analog Signaling
Digital data, Analog Signal
A modem converts digital data to an analog signal so that it can be transmitted over an analog line The digital data modulates the amplitude, frequency, or phase of a carrier analog signal Examples: Amplitude Shift Keying (ASK), Frequency Shift Keying (FSK), Phase Shift Keying (PSK)
6/45
Periodic signals
Data element: a single binary 1 or 0 Signal element: a voltage pulse of constant amplitude Unipolar: All signal elements have the same sign Polar: One logic state represented by positive voltage the other by negative voltage Data rate: Rate of data (R) transmission in bits per second Duration or length of a bit: Time taken for transmitter to emit the bit (Tb=1/R) Modulation rate: Rate at which the signal level changes, measured in baud = signal elements per second. Depends on type of digital encoding used.
7/45
Interpreting Signals
Need to know
timing of bits: when they start and end signal levels: high or low
8/45
Clocking
synchronizing transmitter and receiver with a sync mechanism based on suitable encoding
error detection
useful if can be built in to signal encoding
signal interference and noise immunity cost and complexity: increases when increases data rate
9/45
Encoding Schemes
Positive level (+5V) Negative level (-5V)
10/45
Encoding Schemes
11/45
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 more often, negative voltage for binary one and positive voltage for binary zero
12/45
13/45
Disadvantages
dc component lack of synchronization capability
Multilevel Binary Bipolar Alternate Mark Inversion (AMI) Use more than two levels (three levels, positive, negative and no line signal) 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 long runs of zeros still a problem no net dc component lower bandwidth easy error detection
15/45
Multilevel Binary Pseudoternary Binary one represented by absence of line signal Binary zero represented by alternating positive and negative pulses No advantage or disadvantage over bipolar-AMI Each used in some applications
16/45
Disadvantages
receiver distinguishes between three levels: +A, -A, 0 a 3 level system could represent log23 = 1.58 bits requires approx. 3dB more signal power for same probability of bit error
17/45
18/45
Manchester Encoding
has transition in middle of each bit period low to high represents binary one transition serves as clock and data high to low represents binary zero used by IEEE 802.3 (Ethernet) LAN standard
19/45
20/45
Advantages
synchronization on mid bit transition (self clocking codes) has no dc component has error detection capability (the absence of an expected transition can be used to detect errors)
21/45
Modulation Rate (expressed in baud) is the rate at which signal elements are generated
Maximum modulation rate for Manchester is D=1/(0.5Tb)=2/1s=2Mbaud
22/45
Scrambling
Use scrambling to replace sequences that would produce constant voltage These filling sequences must
produce enough transitions to maintain synchronization be recognized by receiver & replaced with original be same length as original
Design goals
have no dc component have no long sequences of zero level line signal have no reduction in data rate give error detection capability
23/45
24/45
Bipolar with 8-Zero Substitution (B8ZS) To overcome the drawback of the AMI code that a long string of zeros may result in loss of synchronization, the encoding is amended with the following rules:
If 8 zeros occurs and the last voltage pulse was positive, then the 8 zeros are encoded as 000+0+ If zeros occurs and the last voltage pulse was negative, then the 8 zeros are encoded as 000+0+
25/45
26/45
The digital data modulates the amplitude A, frequency fc , or phase of a carrier signal
A cos( 2f c t + )
Modulation techniques
Amplitude Shift Keying (ASK) Frequency Shift Keying (FSK) Phase Shift Keying (PSK)
27/45
Modulation Techniques
f2
f2
f1
f1
f2
f1
f2
f2
f2
f1
f2
f1
f2
f3
f4
31/45
1i M
Example
With fc=250KHz, fd=25KHz, and M=8 (L=3 bits), we have the following frequency assignment for each of the 8 possible 3-bit f i = f c + ( 2i 1 M ) f d data combinations:
000 001 010 011 100 101 110 111 f1 = 75 KHz f 2 = 125 KHz f 3 = 175 KHz f 4 = 225 KHz bandwidth = Ws = 2 Mf d = 400 KHz f 5 = 275 KHz f 6 = 325 KHz f 7 = 375 KHz f 8 = 425 KHz
Example
The following figure shows an example of MFSK with M=4. An input bit stream of 20 bits is encoded 2bits at a time, with each of the possible 2-bit combinations transmitted as a different frequency. f i = f c + (2i 1 M ) f d
00 01 10 11 i =1 i =2 i =3 i =4 f1 = f c 3 f d f2 = fc fd f3 = fc + f d f4 = fc + 3 fd
35/45
d (t ) = 0
0 0 1 0 0
1 0
36/45
37/45
11 01 00 10
QPSK : OQPSK :
0 I (t ) cos( 0f c t ) 0 0 s (t ) = I (t ) cos( 0f c t ) 0 s (t ) =
0 Q (t ) sin( 0f c t ) 0 0 Q (t Tb ) sin( 0f c t ) 0
39/45
3 4 3 0 0 1 1 4 1 0 1 1 4 0 1 1 1
40/45
R log 2 M = , BT 1+ r
R log 2 M = MFSK: BT (1 + r ) M
41/45
42/45
43/45
QAM modulator
QAM :
44/45
Have 64 and 256 state systems Improved data rate for given bandwidth
but increased potential error rate
45/45