CS6304 PDF
CS6304 PDF
CS6304 PDF
com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
(3.52)
eq [ n ] = sgn( e[ n ] )
(3.53)
mq [ n ] = mq [ n 1] +eq [ n ]
(3.54)
output , eq [ n ] is
www.Vidyarthiplus.com
www.Vidyarthiplus.com
[n ]
e[n ] = m[n] m
[n] is a prediction
m
(3.74)
value.
The quantizer output is
eq [n] = e[n] + q[n]
(3.75)
(3.78)
Processing Gain:
The (SNR)
(SNR)
M2
Q2
(3.79)
=(
M2 E2
)(
)
E2 Q2
= G p (SNR ) Q
(3.80)
E2
Q2
Processing Gain, G p =
(3.81)
M2
(3.82)
E2
www.Vidyarthiplus.com
www.Vidyarthiplus.com
COM 318
DATA COMMUNICATIONS
LECTURE NOTES
Prepared by
Dr. Tayseer Alshanableh
Nicosia-2007
www.Vidyarthiplus.com
1
www.Vidyarthiplus.com
COMPUTER NETWORK
DATA COMMUNICATIONS
Source: entity that generates data; eg. a person who speaks into the phone, or a
computer sending data to the modem.
Transmission System (Channel): medium that allows the transfer of a signal from
one point to another.
eg. a telephone network for a computer/modem.
Receiver: a device to decode the received signal for handling by destination device.
eg. A modem converts the received analog data back to digital for the use by the
computer.
Data Communications
Data communications is the transfer of information that is in digital form, before it enters the
communication system.
- Basic Elements of a Communication System
Signal s(t)
Channel r(t)
Transmitter
Receiver
n(t)
Information
source & input
transducer
Noise
Output
transducer
Information: generated by the source may be in the form of voice, a picture or a plain
text. An essential feature of any source that generates information is that its output is
described in probabilistic terms; that is, the output is not deterministic.
A transducer is usually required to convert the output of a source in an electrical signal
that is suitable for transmission.
Transmitter: a transmitter converts the electrical signal into a form that is suitable for
transmission through the physical channel or transmission medium. In general, a
transmitter performs the matching of the message signal to the channel by a process
called modulation.
The choice of the type of modulation is based on several factors, such as:
- the amount of bandwidth allocated,
- the type of noise and interference that the signal encounters in transmission over the
channel,
- and the electronic devices that are available for signal amplification prior to
transmission.
Channel: the communication channel is the physical medium that connects the
transmitter to the receiver. The physical channel may be a pair of wires that carry the
electrical signals, or an optical fibre that carries the information on a modulated light
beam or free space at which the information-bearing signal are electromagnetic waves.
Receiver: the function of a receiver is to recover the message signal contained in the
received signal. The main operations performed by a receiver are demodulation,
filtering and decoding.
The terms analog and digital correspond to continuous and discrete, respectively. These
two terms are frequently used in data communications.
Analog data takes on continuous values on some interval. The most familiar example of
analog data is audio signal. Frequency components of speech may be found between
3
www.Vidyarthiplus.com
Two methods of sending data from computer A to computer B. both cases are
examples of data communications, because the original data is digital in nature.
Digital
Source
Modem
Modem
Analog Transmission
B
Digital Transmission
ADC
DAC
Analog
Destination
Source
Analog Transmission
ADC: Analog-Digital-Converter
DAC: Digital-Analog-Converter
4
www.Vidyarthiplus.com
5
www.Vidyarthiplus.com
Information
source & input
transducer
Source
encoder
Channel
encoder
Digital
modulator
Output
Signal
Output
transducer
Source
decoder
Channel
decoder
Channel
Digital
demodulator
S (t ) a n g (t nT )
n
Where g(t) represents a basic pulse shape and {an} is the binary data sequence of {1}
transmitted at a rate of 1/T bits per second. Nyquist set out to determine the optimum pulse
shape that was bandlimited to W Hz and maximised the bit rate 1/T under the constraint that
the pulse caused no intersymbol interference at the sampling times k/T, k = 0, 1, 2,.... His
studies led him to conclude that the maximum pulse rate1/T is 2W pulses per second. This rate
is now called the Nyquist rate. Moreover, this pulse rate can be achieved by using the pulses
g(t) = (sin2 Wt)/2 Wt. This pulse shape allows the recovery of the data without intersymbol
interference at the sampling instants Nyquists result is equivalent to a version of the sampling
theorem for bandlimited signals, which was later stated precisely by Shannon (1948). The
sampling theorem states that a signal of bandwidth W can be reconstructed from samples
taken at the Nyquist rate of 2W samples per second using the interpolation formula
S (t ) s(
n
n sin 2W (t n / 2W )
)
2W 2W (t n / 2W )
8
www.Vidyarthiplus.com
10
www.Vidyarthiplus.com
Data Transmission
Concepts and Terminology
Transmission Terminology
Transmission from transmitter to receiver goes over some transmission medium using
electromagnetic waves.
- Guided Media: waves are guided along a physical path; twisted pair, optical fibre,
coaxial cable.
- Unguided Media: waves are not guided; air waves radio waves.
- Direct Link: signal goes from transmitter to receiver without intermediate devices,
other than amplifiers and repeaters.
- Point-to Point Link: guided media with direct link between two devices.
- Multipoint Guided Configuration: more than two devices can share the same
medium.
A signal is any function that carries information. Based on the range of variation of
independent variables, signals can be divided into two classes: continuous-time (or
analog) signals and discrete-time (or digital) signals. A signal is a function of time, but
can also be expressed as a function of frequency; that is, the signal consists of components
of different frequencies.
11
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
DC Component
Component of zero frequency; changes the average amplitude of the signal to non-zero.
This limits the data rate that can be carried over the transmission medium.
Consider a square wave. Suppose that we let the positive pulse to be binary 1 and the
negative pulse to be binary 0. Then, the waveform represents the binary stream
1010 and duration (period) of each pulse is 1/2f. Thus, the data rate is equal to 2f
bits per second (bps) or the data rate is equal to twice the fundamental frequency of
the digital signal. It can be shown that the frequency-domain representation of this
waveform is:
1
s(t ) sin(2kft )
k 1 k
This waveform has infinite number of frequency components and infinite bandwidth.
Peak amplitude of the kth frequency component is 1/k, so most of the energy is
concentrated in the first few frequencies.
Ex
Consider a digital transmission system capable of transmitting signals with a bandwidth of
4 MHz.
Case 1
Approximate the square wave with a waveform of the first three sinusoidal components
sin (2ft ) 1 / 3 sin(2 (3 f )t ) 1 / 5 sin(2 (5 f )t )
Case 2
Assume a bandwidth of 8 MHz and f = 2 MHz; this gives us the signal bandwidth as
(5x2x106)-(2x106) = 8 MHz
But T = 1/f = 0.5 s, so that the time needed for one bit is 0.25 s, giving a data rate of
4 Mbps. Other things being equal, doubling the bandwidth doubles the potential data rate.
Case 3
Let us represent the signal by the first two components of the sinusoid as
Ex
If a periodic signal is decomposed into five waves with frequencies of 100, 300, 500, 700,
and 900 Hz, what is the bandwidth of the signal?
Let fh be the highest frequency, fl be the lowest frequency, and B be the bandwidth, then
B = fh - fl
= 900-100 = 800 Hz
Digital Signals
Data can be represented by a digital signal. For example, a 1 can be encoded as a positive
voltage and a 0 as a zero voltage.
17
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
C W log 2 1 bps
N
where C is the data rate in bps, W is the bandwidth of the line channel in Hz, S is the
average signal power in watts and N is the random noise power in watts.
Ex
Consider a voice channel with BW of 2,800 Hz. A typical value of S/N for a telephone
line is 20 dB. What is the channel capacity?
Solution
SNR = 20 dB
20 = 10 log10 (S/N) S/N = 100
W = 2,800 Hz
S
S
C = 18,632 bps
22
www.Vidyarthiplus.com
There are two basic categories of transmission media: guided and unguided media.
Guided transmission media use cabling system that guides the data signals along a specific
path. Data signals are bound by the cabling system. Guided media is also known as bound
media. Cabling is meant in a generic sense, and is not meant to be interpreted as copper
wire cabling only.
Unguided transmission media consists of a means for the data signals to travel but nothing
to guide them along a specific path. The data signals are not bound to a cabling media and are
therefore often called unbound media.
Transmission Media: Guided
There four basic types of guided media:
a. Open Wire
b. Twisted Pair
c. Coaxial Cable
d. Optical Fibre
Open Wire
Open wire is traditionally used to describe the electrical wire strung along power poles. There
is a single wire strung between poles. No shielding or protection from noise interference is
used. We are going to extend the traditional definition of open wire to include any data signal
path without shielding or protection from noise interference. This can include multi conductor
cables or single wires. This medium is susceptible to a large degree of noise and interference
and consequently is not acceptable for data transmission except for short distances under
20 ft.
23
www.Vidyarthiplus.com
Twisted Pair
The wires in twisted pair cabling are twisted together in pairs. Each pair consists of a wire
used for the positive data signal and a wire used for the negative data signal. Any noise that
appears on one wire of the pair will also occur on the other wire. Since the wires have
opposite polarities, they are 180 degrees out of phase. When noise appears on both wires, it
cancels or nulls itself out at the receiving end. Twisted pair cables are most effectively used in
systems that use a balanced line method of transmission: polar line coding (Manchester
encoding) as opposed to unipolar line coding.
Coaxial Cable
The outer shield protects the inner conductor from outside electrical signals. The distance
between the outer conductor (shield) and inner conductor, plus the type of material used for
insulating the inner conductor determine the cable properties or impedance. Typical
impedances for coaxial cables are 75 Ohms for TV cable, 50 Ohms for Ethernet Thinnet and
Thicknet. The excellent control of the impedance characteristics of the cable allow higher data
rates to be transferred than with twisted pair cable.
Optical fibre
Optical fibre consists of thin glass fibres that can carry information at frequencies in the
visible light spectrum and beyond. The typical optical fibre consists of a very narrow strand of
glass called the core. Around the core is a concentric layer of glass called the cladding. A
25
www.Vidyarthiplus.com
Just as standard electric cables come in a variety of sizes, shapes, and types, fibre optic cables
are available in different configurations. The simplest cable is just a single strand of fibre,
whereas complex cables are made up of multiple fibres with different layers and other
elements.
The portion of a fibre optic cable (core) that carries the light is made from either glass or
plastic. Another name for glass is silica. Special techniques have been developed to create
nearly perfect optical glass or plastic, which is transparent to light. Such materials can carry
light over a long distance. Glass has superior optical characteristics over plastic. However,
glass is far more expensive and more fragile than plastic. Although the plastic is less
expensive and more flexible, its attenuation of light is greater. For a given intensity, light will
travel a greater distance in glass than in plastic. For very long distance transmission, glass is
certainly preferred. For shorter distances, plastic is much more practical.
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
The single mode step index fibres are by far the best since the pulse repetition rate can be high
and the maximum amount of information can be carried. For very long distance transmission
and maximum information content, single-mode step-index fibre cables should be used.
The main problem with this type of cable is that because of its extremely small size, it is
difficult to make and is, therefore, very expensive. Handling, splicing, and making
interconnections are also more difficult. Finally, for proper operation an expensive, super
intense light source such as a laser must be used. For long distances, however, this is the type
of cable preferred.
Cross section
Index profile
Beam path
n1
n2
cladding
Input
Output
core
Figure 6
31
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
Noise immunity: RFI and EMI immune (RFI - Radio Frequency Interference, EMI Electromagnetic Interference)
No corrosion
Limited physical arc of cable. Bend it too much and it will break!
Difficult to splice
The cost of optical fibre is a trade-off between capacity and cost. At higher transmission
capacity, it is cheaper than copper. At lower transmission capacity, it is more expensive.
33
www.Vidyarthiplus.com
Bandwidth
Open Cable
0 - 5 MHz
Twisted Pair
0 - 100 MHz
Coaxial Cable
0 - 600 MHz
Optical Fibre
0 - 1 GHz
Ground Wave
Sky Wave
Ground wave propagation follows the curvature of the Earth. Ground waves have carrier
frequencies up to 2 MHz. AM radio is an example of ground wave propagation.
Sky wave propagation bounces off of the Earth's ionospheric layer in the upper atmosphere.
It is sometimes called double hop propagation. It operates in the frequency range of 30-85
MHz. Because it depends on the Earth's ionosphere, it changes with the weather and time of
day. The signal bounces off of the ionosphere and back to earth. Ham radios operate in this
range.
34
www.Vidyarthiplus.com
Line of sight propagation transmits exactly in the line of sight. The receive station must be
in the view of the transmit station. It is sometimes called space waves or troposphere
propagation. It is limited by the curvature of the Earth for ground-based stations (100 km,
from horizon to horizon). Reflected waves can cause problems. Examples of line of sight
propagation are: FM radio, microwave and satellite.
35
www.Vidyarthiplus.com
Frequency (Hertz)
Gamma Rays
1019
X-Rays
1017
Ultra-Violet Light
7.5 x 1015
Visible Light
4.3 x 1014
Infrared Light
3 x 1011
Examples
Radar
3 GHz
30 MHz
HF - High Frequencies
3 MHz2
MF - Medium Frequencies
AM Radio
LF Low Frequencies
30 kHz
Navigation
3 kHz
Submarine Communications
VF - Voice Frequencies
300 Hz
Audio
Power Transmission
Radio frequencies are in the range of 300 kHz to 10 GHz. We are seeing an emerging
technology called wireless LANs. Some use radio frequencies to connect the workstations
together, some use infrared technology.
Microwave
Microwave transmission is line of sight transmission. The transmit station must be in visible
contact with the receive station. This sets a limit on the distance between stations depending
on the local geography. Typically the line of sight due to the Earth's curvature is only 100 km
to the horizon! Repeater stations must be placed so the data signal can hop, skip and jump
across the country.
36
www.Vidyarthiplus.com
The uplink is the transmitter of data to the satellite. The downlink is the receiver of data.
Uplinks and downlinks are also called Earth stations because they are located on the Earth.
37
www.Vidyarthiplus.com
Unfortunately, although the Iridium project was planned for 1996-1998, with 1.5 million
subscribers by end of the decade, it looked very financially unstable.
38
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
Phase
00
01
10
11
0o
90o
180o
270o
01
10
00
11
Constellation diagram
8PSK Characteristics
Tribit
Phase
000
001
010
011
100
101
110
111
0o
45o
90o
135o
180o
225o
270o
315o
010
001
011
000
100
111
101
110
Constellation diagram
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
Nbaud= N
0
Dibit
Nbit= N
1
Nbaud= N
0
Tribit
0
Nbit= 3N
0
Nbaud= N
0
Nbit= 2N
Nbaud= N
Quadbit
0
Nbit= 4N
1
Units
Bits/Bauds
Baud Rate
Bit Rate
Bit
4-PSK, 4-QAM
Dibit
2N
8-PSK, 8-QAM
Tribit
3N
16-QAM
Quadbit
4N
32-QAM
Pentabit
5N
64-QAM
Hexabit
6N
128-QAM
Septabit
7N
256-QAM
Octabit
8N
Ex
A constellation diagram consists of eight equally spaced points on a circle. If the bit rate is
4800 bps, what is the baud rate?
Solution
The constellation indicates 8-PSK with points 45o apart. Since 23 = 8, three bits are
transmitted with each signal element. Therefore, the baud rate is
4800/3 = 1600 baud
61
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
TRANSMISSION CODES
Transmission Codes
Binary-Coded Decimal (also called 8421 BCD)
In BCD, four bits are used to encode one decimal character. Four bits give 16 binary
combinations. Since there are 10 decimal characters, 0 through 9, only 10 of the 16 possible
combinations are necessary for encoding in BCD. The remaining 6 combinations are said to
be invalid.
Decimal
BCD
0000
0001
0010
1010
0011
1011
0100
1100
0101
1101
0110
1110
0111
1111
1000
1001
Ex
Convert 36710 to BCD
Solution
36710 = 0011 0110 0111
Ex
Convert 124910 to BCD
Solution
124910 = 0001 0010 0100 1001
Ex
Convert 5810 to BCD
Solution
5810 = 0101 1000
66
www.Vidyarthiplus.com
BCD Addition:
Straight binary addition is performed as long as the result does not exceed a decimal value
of 9.
Ex
Add the decimal numbers 3 and 4 in BCD
Solution
3
0011
+4
0100
0111
Ex
Add the decimal numbers 63 and 24 in BCD
Solution
63
0110 0011
+ 24
0010 0100
87
1000 0111
When the sum of two numbers exceeds 9, an invalid BCD number is obtained. The invalid
number can be converted to a valid number by adding 0110 (6) to it.
Ex
Add the decimal numbers 9 and 6 in BCD
Solution
9
1001
+6
0110
15
Ex
Add the decimal numbers 46 and 79 in BCD
Solution
46
0100 0110
+ 79
0111 1001
125
1011 1111
+ 0110 0110
0001 0010 0101
1
2
5
67
www.Vidyarthiplus.com
Decimal
BCD
Excess-3
0000
0011
0001
0100
0010
0101
0000
0011
0110
0001
0100
0111
0010
0101
1000
1101
0110
1001
1110
0111
1010
1111
1000
1011
1001
1100
Ex
Add the decimal numbers 9 and 7 in Excess-3
Solution
9
1100
+7
1010
16
1 0110
Gray Code
The disadvantage of the previous codes is that several bits change state between adjacent
counts. The Gray code is unique in that successive counts result in only one bit change. For
example, 7 (0111) to 8 (1000) in binary, or BCD, all four bits change state. In Gray code,
however, 7 (0100) to 8 (1100) require a single bit change.
The switching noise generated by the associated circuits may be intolerable in some
environments. The same change with Gray code undergoes only a single bit change
consequently, less noise is generated. Shaft encoders used for receiver tuning dials often use
Gray code.
The Gray code is widely used for encoding the position of the rotary shaft and for data
transmission using PSK.
68
www.Vidyarthiplus.com
Binary
Gray Code
0000
0000
0001
0001
0010
0011
0011
0010
0100
0110
0101
0111
0110
0101
0111
0100
1000
1100
1001
1101
10
1010
1111
Binary-to-Gray Conversion
-
Discard the last bit (the LSB) from the obtained bits.
Exclusive-ORing the given and obtained bits result in the equivalent Gray code.
MSB
LSB
x
16th position
x
1st position
Ex
Compute the Gray code for the binary number 11010
Solution
Binary code
1 1 0 1 0
Gray code
1 1 0 1
1 0 1 1 1
Ex
Compute the Gray code for the binary number 10001101
Solution
Binary code
1 0 0 0 1 1 0 1
Gray code
1 0 0 0 1 1 0
1 1 0 0 1 0 1 1
69
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
digits
weights
___________________
8
results
+
13
Octal Numbers
The octal numbering system is used by computer programmers to represent binary
numbers in compact form. Also called base 8.
Octal numbers use 8 symbols: 0,1,2,3,4,5,6,7.
Octal weights
Position
Fifth
Fourth
Third
Second
First
Weight
84 (4096)
83 (512)
82 (64)
81 (8)
80 (1)
Ex
3
digits
512
64
weights
___________________
1,536 256
56
results
+
1,849
Hexadecimal Numbers
Hexadecimal numbering system, like octal, is used by computer programmers to represent
binary numbers in compact form. Also called base 16.
Hexadecimal uses 16 symbols: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F.
Hexadecimal weights
Position
Fifth
Fourth
Third
Second
First
Weight
164 (65,536)
163 (4,096)
162 (256)
161 (16)
160 (1)
71
www.Vidyarthiplus.com
digits
4,096
256
16
weights
_____________________
12,288 1,024 112 1
results
+
13,425
Decimal
Binary
Octal
Hexadecimal
0000
0001
0010
0011
0100
0101
0110
0111
1000
10
1001
11
10
1010
12
11
1011
13
12
1100
14
13
1101
15
14
1110
16
15
1111
17
Transformations
- From Other Systems to Decimal
a) From Binary to Decimal
1
Binary
64
32
16
weights
64
weighted results
+
78
72
www.Vidyarthiplus.com
Hexadecimal
16
weights
64
14
weighted results
Octal
64
weights
64
weighted results
+
78
c) Octal to Decimal
+
78
- From Binary to Octal or Hexadecimal
1 0 0 1 1 1 0
Group by three
From right to
left
Group by four
from right to left
1 0 0
1 1 1 0
Octal
Hexadecimal
Octal
1
Hexadecimal
6
1 0 0 1 1 1 0
1 0 0
Binary
1 1 1 0
Binary
73
www.Vidyarthiplus.com
Decimal
19
39
78
Binary
Code
(divide by 8)
1
78
Binary
Code
(divide by 16)
4
78
Remainder
Remainder
Remainder
(divide by 2)
Binary
Code
Morse Code
Morse code is one of the oldest electrical transmission codes. The digital code system is made
up of a series of dots and dashes, representing the alphabet and decimal numbers system. A
dash is three times the duration of a dot.
A
B
C
D
.
.
1
2
.
ASCII Code
The American Standard Code for Information Interchange (ASCII) is the most widely used
alphanumeric code for transmission and data processing.
ASCII is a seven-bit code that can be represented by two hexadecimal characters for
simplicity. The MS hexadecimal character in this case never exceed 7
74
www.Vidyarthiplus.com
Solution
Letter H is located in column 4 and row 8.
Binary:
100 1000
Hexadecimal: $ 48
Ex
What is the ASCII code for the letter k (lowercase) in binary and hexadecimal?
Solution
Letter k is located in column 6 and row B:
Binary:
110 1011
Hexadecimal: $ 6B
www.Vidyarthiplus.com
www.Vidyarthiplus.com
UNIT-5
ADVANCED MOBILE PHONE SYSTEM
Advanced Mobile Phone Service (AMPS) is a standard system
for analog signal cellular telephone service in the United States
and is also used in other countries.
It is based on the initial electromagnetic radiation spectrum
allocation for cellular service by the Federal Communications
Commission (FCC) in 1970. Introduced by AT&T in 1983,
AMPS became one of the most widely deployed cellular system
in the United States.
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
Mobile Equipment
FUNCTIONS OF MS
Voice and data transmission & receipt
Frequency and time synchronization
Monitoring of power and signal quality of the surrounding cells
Provision of location updates even during inactive state
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
complete orthonormal set. The data signal is also binary and the time
multiplication is achieved with a simple XOR function. This is
usually a Gilbert cell mixer in the circuitry.
Synchronous CDMA exploits mathematical properties of
orthogonality between vectors representing the data strings. For
example, binary string 1011 is represented by the vector (1, 0, 1, 1).
Vectors can be multiplied by taking their dot product, by summing the
products of their respective components (for example, if u = (a, b) and
v = (c, d), then their dot product uv = ac + bd). If the dot product is
zero, the two vectors are said to be orthogonal to each other. Some
properties of the dot product aid understanding of how W-CDMA
works. If vectors a and b are orthogonal, then
and:
www.Vidyarthiplus.com
www.Vidyarthiplus.com
Example
www.Vidyarthiplus.com
www.Vidyarthiplus.com
Each sender has a different, unique vector v chosen from that set, but
the construction method of the transmitted vector is identical.
Now, due to physical properties of interference, if two signals at a
point are in phase, they add to give twice the amplitude of each signal,
but if they are out of phase, they subtract and give a signal that is the
difference of the amplitudes. Digitally, this behaviour can be
modelled by the addition of the transmission vectors, component by
component.
If sender0 has code (1, 1) and data (1, 0, 1, 1), and sender1 has code
(1, 1) and data (0, 0, 1, 1), and both senders transmit simultaneously,
then this table describes the coding steps:
Step Encode sender0
Encode sender1
code0 = (1, 1), data0 = (1, 0, code1 = (1, 1), data1 = (0, 0, 1,
1, 1)
1)
Because signal0 and signal1 are transmitted at the same time into the
air, they add to produce the raw signal:
(1, 1, 1, 1, 1, 1, 1, 1) + (1, 1, 1, 1, 1, 1, 1, 1) = (0, 2,
2, 0, 2, 0, 2, 0)
This raw signal is called an interference pattern. The receiver then
extracts an intelligible signal for any known sender by combining the
sender's code with the interference pattern, the receiver combines it
with the codes of the senders. The following table explains how this
works and shows that the signals do not interfere with one another:
www.Vidyarthiplus.com
www.Vidyarthiplus.com
Decode sender1
code0 = (1, 1), signal = (0, 2, code1 = (1, 1), signal = (0, 2,
2, 0, 2, 0, 2, 0)
2, 0, 2, 0, 2, 0)
decode0 = pattern.vector0
decode0 = ((0, 2), (2, 0), (2, decode1 = ((0, 2), (2, 0), (2,
0), (2, 0)).(1, 1)
0), (2, 0)).(1, 1)
decode1 = pattern.vector1
Decode sender1
code0 = (1, 1), signal = (1, 1, code1 = (1, 1), signal = (1, 1,
1, 1, 1, 1, 1, 1)
1, 1, 1, 1, 1, 1)
decode0 = pattern.vector0
decode0 = ((1, 1), (1, 1), (1, decode1 = ((1, 1), (1, 1), (1,
1), (1, 1)).(1, 1)
1), (1, 1)).(1, 1)
decode1 = pattern.vector1
www.Vidyarthiplus.com
www.Vidyarthiplus.com
1), (1 + 1))
4
1), (1 1))
When the receiver attempts to decode the signal using sender1's code,
the data is all zeros, therefore the cross correlation is equal to zero and
it is clear that sender1 did not transmit any data.
Asynchronous CDMA
See also: Direct-sequence spread spectrum and near-far problem
When mobile-to-base links cannot be precisely coordinated,
particularly due to the mobility of the handsets, a different approach is
required. Since it is not mathematically possible to create signature
sequences that are both orthogonal for arbitrarily random starting
points and which make full use of the code space, unique "pseudorandom" or "pseudo-noise" (PN) sequences are used in asynchronous
CDMA systems. A PN code is a binary sequence that appears random
but can be reproduced in a deterministic manner by intended
receivers. These PN codes are used to encode and decode a user's
signal in Asynchronous CDMA in the same manner as the orthogonal
codes in synchronous CDMA (shown in the example above). These
PN sequences are statistically uncorrelated, and the sum of a large
number of PN sequences results in multiple access interference (MAI)
that is approximated by a Gaussian noise process (following the
central limit theorem in statistics). Gold codes are an example of a PN
suitable for this purpose, as there is low correlation between the
codes. If all of the users are received with the same power level, then
the variance (e.g., the noise power) of the MAI increases in direct
proportion to the number of users. In other words, unlike synchronous
CDMA, the signals of other users will appear as noise to the signal of
interest and interfere slightly with the desired signal in proportion to
number of users.
All forms of CDMA use spread spectrum process gain to allow
receivers to partially discriminate against unwanted signals. Signals
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
transmitters simply send when they have something to say, and go off
the air when they don't, keeping the same PN signature sequence as
long as they are connected to the system.
Spread-spectrum characteristics of CDMA
Most modulation schemes try to minimize the bandwidth of this
signal since bandwidth is a limited resource. However, spread
spectrum techniques use a transmission bandwidth that is several
orders of magnitude greater than the minimum required signal
bandwidth. One of the initial reasons for doing this was military
applications including guidance and communication systems. These
systems were designed using spread spectrum because of its security
and resistance to jamming. Asynchronous CDMA has some level of
privacy built in because the signal is spread using a pseudo-random
code; this code makes the spread spectrum signals appear random or
have noise-like properties. A receiver cannot demodulate this
transmission without knowledge of the pseudo-random sequence used
to encode the data. CDMA is also resistant to jamming. A jamming
signal only has a finite amount of power available to jam the signal.
The jammer can either spread its energy over the entire bandwidth of
the signal or jam only part of the entire signal.[9]
CDMA can also effectively reject narrow band interference. Since
narrow band interference affects only a small portion of the spread
spectrum signal, it can easily be removed through notch filtering
without much loss of information. Convolution encoding and
interleaving can be used to assist in recovering this lost data. CDMA
signals are also resistant to multipath fading. Since the spread
spectrum signal occupies a large bandwidth only a small portion of
this will undergo fading due to multipath at any given time. Like the
narrow band interference this will result in only a small loss of data
and can be overcome.
Another reason CDMA is resistant to multipath interference is
because the delayed versions of the transmitted pseudo-random codes
will have poor correlation with the original pseudo-random code, and
will thus appear as another user, which is ignored at the receiver. In
www.Vidyarthiplus.com
www.Vidyarthiplus.com
other words, as long as the multipath channel induces at least one chip
of delay, the multipath signals will arrive at the receiver such that they
are shifted in time by at least one chip from the intended signal. The
correlation properties of the pseudo-random codes are such that this
slight delay causes the multipath to appear uncorrelated with the
intended signal, and it is thus ignored.
Some CDMA devices use a rake receiver, which exploits multipath
delay components to improve the performance of the system. A rake
receiver combines the information from several correlators, each one
tuned to a different path delay, producing a stronger version of the
signal than a simple receiver with a single correlation tuned to the
path delay of the strongest signal.[10]
Frequency reuse is the ability to reuse the same radio channel
frequency at other cell sites within a cellular system. In the FDMA
and TDMA systems frequency planning is an important consideration.
The frequencies used in different cells must be planned carefully to
ensure signals from different cells do not interfere with each other. In
a CDMA system, the same frequency can be used in every cell,
because channelization is done using the pseudo-random codes.
Reusing the same frequency in every cell eliminates the need for
frequency planning in a CDMA system; however, planning of the
different pseudo-random sequences must be done to ensure that the
received signal from one cell does not correlate with the signal from a
nearby cell.[11]
Since adjacent cells use the same frequencies, CDMA systems have
the ability to perform soft hand offs. Soft hand offs allow the mobile
telephone to communicate simultaneously with two or more cells. The
best signal quality is selected until the hand off is complete. This is
different from hard hand offs utilized in other cellular systems. In a
hard hand off situation, as the mobile telephone approaches a hand
off, signal strength may vary abruptly. In contrast, CDMA systems
use the soft hand off, which is undetectable and provides a more
reliable and higher quality signal.[11]
www.Vidyarthiplus.com
www.Vidyarthiplus.com
Collaborative CDMA
In a recent study, a novel collaborative multi-user transmission and
detection scheme called Collaborative CDMA[12] has been
investigated for the uplink that exploits the differences between users
fading channel signatures to increase the user capacity well beyond
the spreading length in multiple access interference (MAI) limited
environment. The authors show that it is possible to achieve this
increase at a low complexity and high bit error rate performance in
at fading channels, which is a major research challenge for
overloaded CDMA systems. In this approach, instead of using one
sequence per user as in conventional CDMA, the authors group a
small number of users to share the same spreading sequence and
enable group spreading and despreading operations. The new
collaborative multi-user receiver consists of two stages: group multiuser detection (MUD) stage to suppress the MAI between the groups
and a low complexity maximum-likelihood detection stage to recover
jointly the co-spread users data using minimum Euclidean distance
measure and users channel gain coefcients. In CDM signal security
is high.
HAND OFF
In cellular telecommunications, the term handover or handoff refers
to the process of transferring an ongoing call or data session from one
channel connected to the core network to another channel. In satellite
communications it is the process of transferring satellite control
responsibility from one earth station to another without loss or
interruption of service.
Purpose
In telecommunications there may be different reasons why a handover
might be conducted:
when the phone is moving away from the area covered by one
cell and entering the area covered by another cell the call is
transferred to the second cell in order to avoid call termination
when the phone gets outside the range of the first cell;
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
A special case is possible, in which the source and the target are one
and the same cell and only the used channel is changed during the
handover. Such a handover, in which the cell is not changed, is called
intra-cell handover. The purpose of intra-cell handover is to change
one channel, which may be interfered or fading with a new clearer or
less fading channel.
Types of handover
In addition to the above classification of inter-cell and intra-cell
classification of handovers, they also can be divided into hard and soft
handovers:
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
Implementations
For the practical realisation of handoffs in a cellular network each cell
is assigned a list of potential target cells, which can be used for
handing-off calls from this source cell to them. These potential target
cells are called neighbours and the list is called neighbour list.
Creating such a list for a given cell is not trivial and specialised
computer tools are used. They implement different algorithms and
may use for input data from field measurements or computer
predictions of radio wave propagation in the areas covered by the
cells.
During a call one or more parameters of the signal in the channel in
the source cell are monitored and assessed in order to decide when a
handover may be necessary. The downlink (forward link) and/or
uplink (reverse link) directions may be monitored. The handover may
be requested by the phone or by the base station (BTS) of its source
cell and, in some systems, by a BTS of a neighbouring cell. The
phone and the BTSs of the neighbouring cells monitor each other
others' signals and the best target candidates are selected among the
neighbouring cells. In some systems, mainly based on CDMA, a
target candidate may be selected among the cells which are not in the
neighbour list. This is done in an effort to reduce the probability of
interference due to the aforementioned near-far effect.
In analog systems the parameters used as criteria for requesting a hard
handover are usually the received signal power and the received
signal-to-noise ratio (the latter may be estimated in an analog system
by inserting additional tones, with frequencies just outside the
captured voice-frequency band at the transmitter and assessing the
form of these tones at the receiver). In non-CDMA 2G digital systems
the criteria for requesting hard handover may be based on estimates of
the received signal power, bit error rate (BER) and block error/erasure
rate (BLER), received quality of speech (RxQual), distance between
the phone and the BTS (estimated from the radio signal propagation
delay) and others. In CDMA systems, 2G and 3G, the most common
criterion for requesting a handover is Ec/Io ratio measured in the pilot
channel (CPICH) and/or RSCP.
www.Vidyarthiplus.com
www.Vidyarthiplus.com
Satellite
From Wikipedia, the free encyclopedia
This article is about artificial satellites. For natural satellites, also
known as moons, see Natural satellite. For other uses, see Satellite
(disambiguation).
This article is outdated. Please update this article to reflect
recent events or newly available information. (December 2013)
www.Vidyarthiplus.com
www.Vidyarthiplus.com
Play media
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
1945 under the Bureau of Aeronautics of the United States Navy. The
United States Air Force's Project RAND eventually released the
above report, but did not believe that the satellite was a potential
military weapon; rather, they considered it to be a tool for science,
politics, and propaganda. In 1954, the Secretary of Defense stated, "I
know of no American satellite program."[11]
On July 29, 1955, the White House announced that the U.S. intended
to launch satellites by the spring of 1958. This became known as
Project Vanguard. On July 31, the Soviets announced that they
intended to launch a satellite by the fall of 1957.
Following pressure by the American Rocket Society, the National
Science Foundation, and the International Geophysical Year, military
interest picked up and in early 1955 the Army and Navy were
working on Project Orbiter, two competing programs: the army's
which involved using a Jupiter C rocket, and the civilian/Navy
Vanguard Rocket, to launch a satellite. At first, they failed: initial
preference was given to the Vanguard program, whose first attempt at
orbiting a satellite resulted in the explosion of the launch vehicle on
national television. But finally, three months after Sputnik 2, the
project succeeded; Explorer 1 became the United States' first artificial
satellite on January 31, 1958.[12]
In June 1961, three-and-a-half years after the launch of Sputnik 1, the
Air Force used resources of the United States Space Surveillance
Network to catalog 115 Earth-orbiting satellites.[13]
Early satellites were constructed as "one-off" designs. With growth in
geosynchronous (GEO) satellite communication, multiple satellites
began to be built on single model platforms called satellite buses. The
first standardized satellite bus design was the HS-333 GEO commsat,
launched in 1972.
The largest artificial satellite currently orbiting the Earth is the
International Space Station.
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
BLUETOOTH
This article is about a wireless technology standard. For the medieval
King of Denmark, see Harald Bluetooth.
Bluetooth
www.Vidyarthiplus.com
www.Vidyarthiplus.com
Mobile personal
networks
area
Up to 60 metres[1]
www.Vidyarthiplus.com
www.Vidyarthiplus.com
Implementation
Bluetooth operates in the range of 24002483.5 MHz (including
guard bands). This is in the globally unlicensed (but not unregulated)
Industrial, Scientific and Medical (ISM) 2.4 GHz short-range radio
frequency band. Bluetooth uses a radio technology called frequencyhopping spread spectrum. The transmitted data are divided into
packets and each packet is transmitted on one of the 79 designated
Bluetooth channels. Each channel has a bandwidth of 1 MHz.
Bluetooth 4.0 uses 2 MHz spacing which allows for 40 channels. The
first channel starts at 2402 MHz and continues up to 2480 MHz in
1 MHz steps. It usually performs 1600 hops per second, with
Adaptive Frequency-Hopping (AFH) enabled.[12]
Originally, Gaussian frequency-shift keying (GFSK) modulation was
the only modulation scheme available; subsequently, since the
introduction of Bluetooth 2.0+EDR, /4-DQPSK and 8DPSK
modulation may also be used between compatible devices. Devices
functioning with GFSK are said to be operating in basic rate (BR)
mode where an instantaneous data rate of 1 Mbit/s is possible. The
term Enhanced Data Rate (EDR) is used to describe /4-DPSK and
8DPSK schemes, each giving 2 and 3 Mbit/s respectively. The
combination of these (BR and EDR) modes in Bluetooth radio
technology is classified as a "BR/EDR radio".
Bluetooth is a packet-based protocol with a master-slave structure.
One master may communicate with up to seven slaves in a piconet; all
devices share the master's clock. Packet exchange is based on the
basic clock, defined by the master, which ticks at 312.5 s intervals.
Two clock ticks make up a slot of 625 s; two slots make up a slot
pair of 1250 s. In the simple case of single-slot packets the master
transmits in even slots and receives in odd slots; the slave, conversely,
receives in even slots and transmits in odd slots. Packets may be 1, 3
or 5 slots long, but in all cases the master transmit will begin in even
slots and the slave transmit in odd slots.
www.Vidyarthiplus.com
www.Vidyarthiplus.com
(dBm)
(m)
100
20
~100
2.5
~10
www.Vidyarthiplus.com
www.Vidyarthiplus.com
~1
1.2
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com
www.Vidyarthiplus.com