Академический Документы
Профессиональный Документы
Культура Документы
Data
Analog: Continuous value data (sound, light, temperature) Digital: Discrete value (text, integers, symbols)
Signal
Analog: Continuously varying electromagnetic wave Digital signal: Discrete, discontinuous voltage pulses Each pulse is a signal element Binary data encoded into signal elements
Digital data, digital signal Analog data, digital signal Digital data, analog signal Analog data, analog signal
Inexpensive, easy conversion (eg telephone) Used in traditional analog telephony Examples: AM, FM, PM.
Requires a codec (encoder/decoder) Allows use of digital telephony Examples: PCM, ADPCM, Delta Modulation etc
Digital data to analog signal Requires modem (modulator/demodulator) Necessary when analog transmission is used Examples : ASK, FSK,PSK, QAM Digital data to digital signal Less expensive when large amounts of data are involved More reliable because no conversion is involved
In a digital signal binary data are transmitted by encoding each data bit into signal elements. If the signal elements all have the same algebraic sign,that is ,all positive or negative ,then the signal is unipolar.
In polar signalling, one logic state is represented by positive voltage level, and the other by a negative voltage level.
The data signaling rate, or just data rate, of a signal is the rate, in bits per second, that data are transmitted.
The tasks involved in interpreting digital signals at the receiver is that ,the receiver must know the timing of each bit.
That is receiver must know with some accuracy when a bit begins and ends.
The receiver must determine whether the signal level for each bit position is high(1) or low(0). Because of noise and other impairments , there will be errors.
What factors determine how successful the receiver will be in interpreting the incoming signal? For that following three factors are important. 1. The signal- to- noise ratio (or better Eb / N0 ) 2. The data rate 3. The bandwidth
With other factors held constant the following statements are true: An increase in data rate increases bit error rate (the probablity that a bit is received in error). An increase in S/N decreases bit error rate. An increase in bandwidth allows increase in data rate.
Encoding Scheme
to
improve performance and that is the encoding scheme. i-e the mapping from data bits to signal elements.
Signal Spectrum
Clocking One rather expensive approach is to provide a separate clock-lead to synchronize the transmitter and receiver. The alternative is to provide some synchronization mechanism that is based on the transmitted signal; this can be achieved with suitable encoding
Error detection
Two different voltages for 0 and 1 bits Voltage constant during bit interval
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 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
Pros
Easy to engineer Make good use of bandwidth Used for digital magnetic recording
Cons
Presence of dc component Lack of synchronization capability
Signal is decoded by comparing the polarity of adjacent signal elements rather than determining the absolute value of a signal element.
Advantages:
1.
This addresses some of the deficiencies of the NRZ codes. Use more than two signal levels Examples: 1. Bipolar-AMI (Alternate Mark Inversion) 2. Pseudoternary
Advantages: No loss of synchronization if a long string of ones occurs (zeros still a problem)
No net dc component (b/c 1 signals alternate in voltage from +ve to ve) Lower bandwidth Easy error detection
One represented by absence of line signal Zero represented by alternating positive and negative No advantage or disadvantage over bipolar-AMI
It is another technique which overcomes the limitations of NRZ codes. Its two techniques are in common use today i-e: Manchester Differential Manchester
1. 2.
Mid-bit
Transition
zero
No
one
Note:
Used
Disadvantages
more bandwidth
Advantages
Synchronization :
Because there is a predictable transition during each bit time
Use scrambling to replace sequences that would produce constant voltage Filling sequence
Must produce enough transitions to sync Must be recognized by receiver and replace with original Same length as original
No dc component No long sequences of zero level line signal No reduction in data rate Error detection capability
Commonly used in North America. Based on bipolar-AMI If octet of all zeros and last voltage pulse preceding was positive encode as 000+-0-+ If octet of all zeros and last voltage pulse preceding was negative encode as 000-+0+-
Rules
39
String of four zeros replaced with one or two pulses. 4 zeros are encoded as either 000-, 000+, +00+, or -00 Number of the non-zero pulses after last substitution is odd use (000V) Number of the non-zero pulses after last substitution is even use (B00V) Substitution rule is s.t. the 4th bit is always a code violation, and successive violations are of alternate polarity (not to introduce dc component) These codes are suitable for high data-rate transmission
40
41
Encode the following sequence of bits using all the encoding techniques . 10001110011011000001