Data and Computer Communications
Data and Computer Communications
Data Transmission
Toto, I've got a feeling we're not in Kansas anymore. Judy Garland in The Wizard of Oz
Transmission Terminology
data transmission occurs between a transmitter & receiver via some medium guided medium
eg. twisted pair, coaxial cable, optical fiber
Transmission Terminology
direct link
no intermediate devices
point-to-point
direct link only 2 devices share link
multi-point
more than two devices share the link
Transmission Terminology
simplex
one direction
eg. television
half duplex
either direction, but only one way at a time
eg. police radio
full duplex
both directions at the same time
eg. telephone
digital signal
maintains a constant level then changes to another constant level
periodic signal
pattern repeated over time
aperiodic signal
pattern not repeated over time
Periodic Signals
Sine Wave
peak amplitude (A)
maximum strength of signal volts
frequency (f)
rate of change of signal Hertz (Hz) or cycles per second period = time for one repetition (T) T = 1/f
phase ()
relative position in time
Wavelength ()
is distance occupied by one cycle between two points of corresponding phase in two consecutive cycles assuming signal velocity v have = vT or equivalently f = v especially when v=c
c = 3*108 ms-1 (speed of light in free space)
absolute bandwidth
width of spectrum
DC Component
component of zero frequency
transmission
communication of data by propagation and processing of signals
Audio Signals
freq range 20Hz-20kHz (speech 100Hz-7kHz) easily converted into electromagnetic signals varying volume converted to varying voltage can limit frequency range for voice channel to 3003400Hz
Video Signals
USA - 483 lines per frame, at frames per sec
have 525 lines but 42 lost during vertical retrace
max frequency if line alternates black and white horizontal resolution is about 450 lines giving 225 cycles of wave in 52.5 s max frequency of 4.2MHz
Digital Data
as generated by computers etc. has two dc components bandwidth depends on data rate
Analog Signals
Digital Signals
Transmission Impairments
signal received may differ from signal transmitted causing:
analog - degradation of signal quality digital - bit errors
Attenuation
where signal strength falls off with distance depends on medium received signal strength must be:
strong enough to be detected sufficiently higher than noise to receive without error
so increase strength using amplifiers/repeaters is also an increasing function of frequency so equalize attenuation across band of frequencies used
eg. using loading coils or amplifiers
Delay Distortion
only occurs in guided media propagation velocity varies with frequency hence various frequency components arrive at different times particularly critical for digital data since parts of one bit spill over into others causing intersymbol interference
Noise
additional signals inserted between transmitter and receiver thermal
due to thermal agitation of electrons uniformly distributed white noise
intermodulation
signals that are the sum and difference of original frequencies sharing a medium
Noise
crosstalk
a signal from one line is picked up by another
impulse
irregular pulses or spikes
eg. external electromagnetic interference
short duration high amplitude a minor annoyance for analog signals but a major source of error in digital data
a noise spike could corrupt many bits
Channel Capacity
max possible data rate on comms channel is a function of
data rate - in bits per second bandwidth - in cycles per second or Hertz noise - on comms link error rate - of corrupted bits
Nyquist Bandwidth
consider noise free channels if rate of signal transmission is 2B then can carry signal with frequencies no greater than B
ie. given bandwidth B, highest signal rate is 2B
for binary signals, 2B bps needs bandwidth B Hz can increase rate by using M signal levels Nyquist Formula is: C = 2B log2M so increase rate by increasing signals
at cost of receiver complexity limited by noise & other impairments
Shannon developed formula relating these to signal to noise ratio (in decibels) SNRdb=10 log10 (signal/noise) Capacity C=B log2(1+SNR)
theoretical maximum capacity get lower in practise
Summary
looked at data transmission issues frequency, spectrum & bandwidth analog vs digital signals transmission impairments