wireless networks ch6

Upload: firas-abdel-nour

Post on 14-Apr-2018

222 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 Wireless Networks Ch6

    1/51

    Ali BAZZI

    Chapter 6

    Multiple Division techniques

  • 7/30/2019 Wireless Networks Ch6

    2/51

    2

    Frequency Division Multiple Access (FDMA) Time Division Multiple Access (TDMA) Code Division Multiple Access (CDMA) Comparison of FDMA, TDMA, and CDMA Walsh Codes Near-far Problem Types of Interferences Analog and Digital Signals Basic Modulation Techniques

    Amplitude Modulation (AM) Frequency Modulation (FM) Frequency Shift Keying (FSK) Phase Shift Keying (PSK) Quadrature Phase Shift Keying (QPSK) Quadrature Amplitude Modulation (QAM)

  • 7/30/2019 Wireless Networks Ch6

    3/51

    3

    User 1

    User 2

    User n

    Time

    Frequency

    Single channel per carrier All first generation systems use FDMA

  • 7/30/2019 Wireless Networks Ch6

    4/51

    4

    User1

    User2

    Usern

    Time

    Frequency

    Multiple channels per carrier Most of second generation systems use TDMA

  • 7/30/2019 Wireless Networks Ch6

    5/51

    5

    User1

    Time

    Frequency

    Users share bandwidth by using code sequences that are orthogonal to each other Some second generation systems use CDMA Most of third generation systems use CDMA

    User2

    User

    n

    Code

    ...

  • 7/30/2019 Wireless Networks Ch6

    6/51

    6

    Control channel Forward (Downlink) control channel Reverse (Uplink) control channel

    Traffic channel Forward traffic (traffic or information) channel Reverse traffic (traffic or information) channel

  • 7/30/2019 Wireless Networks Ch6

    7/51

    7

    MS BS

    f1

    f2

    fn

    f

    f

    Reverse channel (Uplink)

    Forward channels

    (Downlink)

    f1

    f2

    fn

    Control channels

    Traffic channels

  • 7/30/2019 Wireless Networks Ch6

    8/51

    8

    MS #1

    MS #2

    MS #n

    BS

    f1

    f2

    fn

    f1

    f2

    fn

    Reverse channels

    (Uplink)

    Forward channels

    (Downlink)

  • 7/30/2019 Wireless Networks Ch6

    9/51

    9

    1 2 3

    N

    Frequency

    Total Bandwidth W=NWc

    Guard Band Wg

    4

    Sub Band Wc

    Frequency

    Protecting bandwidth

    f1 f2 fn

    f1 f2 fn

    Reverse channels Forward channels

  • 7/30/2019 Wireless Networks Ch6

    10/51

    10

    MS #1

    MS #2

    MS #n

    BS

    Reverse channels

    (Uplink)

    Forward channels

    (Downlink)

    t

    Frequency f

    #1 #1

    Frame

    Slot

    #1

    #1

    Frame

    t

    Frequency f

    Frame Frame

    t#2

    #2

    t#n

    #n

    #2 #2

    t

    #n #n

    t

    TDMA

  • 7/30/2019 Wireless Networks Ch6

    11/51

    11

    t

    f

    #1

    #2

    #n

    #1

    #2

    #n

    (a). Forward channel

    #1

    #2

    #n

    Frame FrameFrame

    t

    f

    #1

    #2

    #n

    #1

    #2

    #n

    (b). Reverse channel

    #1

    #2

    #n

    Frame FrameFrame

  • 7/30/2019 Wireless Networks Ch6

    12/51

    12

    Time

    Frequency

    f = f

    #1

    #2

    #n

    #1

    #2

    #n

    Forward

    channel

    Reverse

    channel

    #1

    #2

    #n

    Forward

    channel

    Frame Frame

    #1

    #2

    #n

    Reverse

    channel

    Channels in Simplex Mode

  • 7/30/2019 Wireless Networks Ch6

    13/51

    13

    Time

    Frequency

    #1

    #2

    #n

    #1

    #2

    #n #

    1#2

    #n

    Frame FrameFrame

    Head Data

    Guardtime

  • 7/30/2019 Wireless Networks Ch6

    14/51

    14

    MS #1

    MS #2

    MS #n

    BS

    C1

    C2

    Cn

    C1

    C2

    Cn

    Reverse channels

    (Uplink)

    Forward channels

    (Downlink)

    Frequency f

    Note: Ci x Cj = 0, i.e., Ci and Cj are orthogonal codes, Ci

    x Cj = 0, i.e., Ci and Cj are orthogonal codes

    Frequency f

  • 7/30/2019 Wireless Networks Ch6

    15/51

    15

    Operation FDMA TDMA CDMA

    Allocated Bandwidth 12.5 MHz 12.5 MHz 12.5 MHz

    Frequency reuse 7 7 1

    Required channel BW 0.03 MHz 0.03 MHz 1.25 MHz

    No. of RF channels 12.5/0.03=416 12.5/0.03=416 12.5/1.25=10

    Channels/cell 416/7=59 416/7=59 12.5/1.25=10

    Control channels/cell 2 2 2

    Usable channels/cell 57 57 8

    Calls per RF channel 1 4* 40**

    Voice channels/cell 57x1=57 57x4=228 8x40=320

    Sectors/cell 3 3 3

    Voice calls/sector 57/3=19 228/3=76 320

    Capacity vs FDMA 1 4 16.8

    * Depends on the number of slots ** Depends on the number of codes

    Delay ? ? ?

  • 7/30/2019 Wireless Networks Ch6

    16/51

    16

    Problem of radio transmission: frequency dependent fading can wipe outnarrow band signals for duration of the interference

    Solution: spread the narrow band signal into a broad band signal using aspecial code

    protection against narrow band interference

    protection against narrowband interference Side effects:

    coexistence of several signals without dynamic coordination tap-proof

    Alternatives: Direct Sequence, Frequency Hopping

    detection atreceiver

    interference spread signal signal

    f f

    power

    power

  • 7/30/2019 Wireless Networks Ch6

    17/51

    17

    MERITS OF SPREAD SPECTRUM

    " Because Spread Spectrum signals are noise-like, they are hardto detect.

    " Spread Spectrum signals are harder to jam (interfere with) thannarrowband signals

    " Spread Spectrum transmitters use similar transmit power levelsto narrow band transmitters.

    " Because Spread Spectrum signals are so wide, they transmit ata much lower spectral power density, measured in Watts perHertz, than narrowband transmitters.

  • 7/30/2019 Wireless Networks Ch6

    18/51

    18

    MERITS OF SPREAD SPECTRUM

    spread spectrum signals are hard to exploit or spoof.

    Signal exploitation is the ability of an enemy (or anon-network member) to listen in to a network anduse information from the network without being avalid network member or participant.

    Spoofing is the act of falsely or maliciouslyintroducing misleading or false traffic or messages toa network.

  • 7/30/2019 Wireless Networks Ch6

    19/51

    19

    dP/df

    f

    i)

    dP/df

    f

    ii)

    sender

    dP/df

    f

    iii)

    dP/df

    f

    iv)

    receiverf

    v)

    user signal

    broadband interference

    narrowband interference

    dP/df

  • 7/30/2019 Wireless Networks Ch6

    20/51

    20

    (i) Original signal to be transmitted.(ii) The sender spreads the signal and converts the narrow-band

    signal to broadband (Power level can be much lower

    without losing data)

    (iii) During transmission, narrow and broadband noise getsadded.

    (iv) The receiver despreads the given signal, narrow bandinterference is spread, leaving the broadband as it is.

    (v) Receiver applies a band pass filter cutting off left & right ofnarrow band signal.

  • 7/30/2019 Wireless Networks Ch6

    21/51

    21

    frequency

    channelquality

    1 2

    34

    5 6

    narrow bandsignal

    guard space

    narrowband channels

  • 7/30/2019 Wireless Networks Ch6

    22/51

    22

    In the figure above,

    Frequencies 1,2 and 5 have reasonably good quality ofservice.

    Frequencies 3 & 4 are of very narrow band and they canget corrupted.

    Spread Spectrum can help in such a situation.

  • 7/30/2019 Wireless Networks Ch6

    23/51

    23

    22

    22

    2

    frequency

    channelquality

    1

    spreadspectrum

    spread spectrum channels

  • 7/30/2019 Wireless Networks Ch6

    24/51

    24

    All narrow band signals are spread into broadband signalsusing the same frequency range

    To separate the Channels, CDM is used. Each channel is allocated its own code which the receivers

    know.

    Because of secret code, spread spectrum acts as a securityprotection.

  • 7/30/2019 Wireless Networks Ch6

    25/51

    25

    Digital signal

    s(t)

    Code

    c(t)

    Spreading signal

    m(t)

    Code

    c(t)

    Digital signal

    s(t)

    Spreading Despread

    Frequency Frequency Frequency

    Power Power Power

    Transmitter Receiver

    Direct Sequence Spread Spectrum for CDMA

  • 7/30/2019 Wireless Networks Ch6

    26/51

    26

    XOR of the signal with pseudo-random number (chippingsequence) many chips per bit (e.g., 128) result in higher bandwidth of the signal

    Advantages reduces frequency selective

    fading

    in cellular networks base stations can use the

    same frequency range several base stations can

    detect and recover the signal

    soft handover Disadvantages

    precise power control necessary

    user data

    chippingsequence

    resulting

    signal

    0 1

    0 1 1 0 1 0 1 01 0 0 1 11

    XOR

    0 1 1 0 0 1 0 11 0 1 0 01

    =

    tb

    tc

    tb: bit period

    tc: chip period

  • 7/30/2019 Wireless Networks Ch6

    27/51

    27

    tc = Chip Period

    tb = Bit Period

    Spreading factor s = tb/tc

    s*original bandwidth is the new bandwidth.

    It determines the BW of the resulting signal

  • 7/30/2019 Wireless Networks Ch6

    28/51

    28

    Most civil applications need a spreading factor of 10 to100.

    Military applications use a speeding factor of around10,000.

  • 7/30/2019 Wireless Networks Ch6

    29/51

    29

    - Barker Codes are used as a pseudo random numbers(chipping codes). Ex:

    - 10110111000 (used in 802.11 wireless LANS)- 11- 110- 1110- 11101- 1110010- 1111100110101

  • 7/30/2019 Wireless Networks Ch6

    30/51

    30

    Let the code to be transmitted be 110.

    Let the Chip Barker Code be

    10110111000

    Hence the transmitted code is:

    11111111111 11111111111 00000000000 XOR

    10110111000 10110111000 10110111000

    - 01001000111 01001000111 10110111000

  • 7/30/2019 Wireless Networks Ch6

    31/51

    31

    At the Receiver : The transmitted signal is XORed with the same

    chip sequence.

    01001000111 01001000111 10110111000

    XOR 10110111000 10110111000 10110111000

    Resulting in :

    11111111111 11111111111 00000000000

    This is the original signal 110

  • 7/30/2019 Wireless Networks Ch6

    32/51

    32

    Digital signal

    Hopping Pattern

    Spreading signal Digital signal

    Spreading Despread

    Frequency FrequencyFrequency

    Power Power Power

    Hopping Pattern

    Transmitter Receiver

    Concept of Frequency Hopping Spread Spectrum

  • 7/30/2019 Wireless Networks Ch6

    33/51

    33

    Time

    Frequency

    An Example of Frequency Hopping Pattern

  • 7/30/2019 Wireless Networks Ch6

    34/51

    34

    Wal (0, t) t

    Wal (1, t) t

    Wal (2, t) t

    Wal (3, t) t

    Wal (4, t) t

    Wal (5, t) t

    Wal (6, t) t

    Wal (7, t) t

  • 7/30/2019 Wireless Networks Ch6

    35/51

    35

    MS1MS2 BS

    Distance Distance0

    d2 d1

    Received signal strength

    MS1MS2 BS

    Near-far Problem

  • 7/30/2019 Wireless Networks Ch6

    36/51

    36

    Frequency

    Baseband signal

    Frequency

    Interference baseband signals

    Spreading signal

    Frequency

    Despread signal

    Interferencesignals

    Interference in spread spectrum system in CDMA

    Types of Interference in CDMA

  • 7/30/2019 Wireless Networks Ch6

    37/51

    37

    f1 f2

    Channel1 Channel2

    Frequency

    Power

  • 7/30/2019 Wireless Networks Ch6

    38/51

    38

    Power Control in CDMA

    PrPt

    =1

    4df

    c

    Controlling transmitted power affects the CIR

    Pt= Transmitted powerPr= Received power in free space

    d = Distance between receiver and transmitter

    f = Frequency of transmission

    c = Speed of light

    = Attenuation constant (2 to 4)

  • 7/30/2019 Wireless Networks Ch6

    39/51

    39

    Why need modulation? Small antenna size

    Antenna size is inversely proportional to frequency

    e.g., 3 kHz 50 km antenna

    3 GHz 5 cm antenna

    Limits noise and interference,e.g., FM (Frequency Modulation)

    Multiplexing techniques,e.g., FDM, TDM, CDMA

  • 7/30/2019 Wireless Networks Ch6

    40/51

    40

    Analog Signal (Continuous signal)

    Digital Signal (Discrete signal)

    Time

    Amplitude

    Time

    Amplitude

    1 1 1 10 0

    Bit

    +

    _0

    0

    S(t)

  • 7/30/2019 Wireless Networks Ch6

    41/51

    41

    Voice-grade

    Telephone channel

    Human hearingHuman speech

    Frequency (Hz)

    Frequency (Hz)

    Pass band

    Frequency cutoff point

    Guard band Guard band

    100

    0 200 3,500 4,000

    10,000..

  • 7/30/2019 Wireless Networks Ch6

    42/51

    42

    Message signal

    x(t)

    Carrier signal

    AM signal

    s(t)

    Amplitude of carrier signal is varied as the message signal to be transmitted.

    Frequency of carrier signal is kept constant.

    Time

    Time

    Time

  • 7/30/2019 Wireless Networks Ch6

    43/51

    43

    FM integrates message signal with carrier signal by varying the instantaneous

    frequency. Amplitude of carrier signal is kept constant.

    Carrier signal

    Message signalx(t)

    FM signals(t)

    Time

    Time

    Time

  • 7/30/2019 Wireless Networks Ch6

    44/51

    44

    1/0 represented by two different frequencies slightly offset from carrier frequency

    Message signal

    x(t)

    Carrier signal 2for message signal 0

    Carrier signal 1

    for message signal 1

    FSK signals(t)

    1 0 1 1 0 1

    Time

    Time

    Time

    Time

  • 7/30/2019 Wireless Networks Ch6

    45/51

    45

    Use alternative sine wave phase to encode bits

    Carrier signal

    Carrier signal

    )2sin( +tfc

    Message signal

    x(t)

    )2sin( tfc

    1 0 1 1 0 1

    PSK signal

    s(t)

    Time

    Time

    Time

    Time

  • 7/30/2019 Wireless Networks Ch6

    46/51

    46

    Q

    I

    0,01,1

    0,1

    1,0

    Q

    I

    01

    (a) BPSK (b) QPSK

  • 7/30/2019 Wireless Networks Ch6

    47/51

    47

  • 7/30/2019 Wireless Networks Ch6

    48/51

    48

    Combination of AM and PSK

    Two carriers out of phase by 90 deg are amplitude modulated

    Rectangular constellation of 16QAM

    I

    Q

    0000010011001000

    0001010111011001

    0011011111111011

    0010011011101010

  • 7/30/2019 Wireless Networks Ch6

    49/51

    49

    special pre-computation avoids sudden phase shiftsMSK (Minimum Shift Keying)

    bit separated into even and odd bits, the duration of each bit is doubled depending on the bit values (even, odd) the higher or lower frequency,

    original or inverted is chosen

    the frequency of one carrier is twice the frequency of the other Equivalent to offset QPSK even higher bandwidth efficiency using a Gaussian low-pass filter

    GMSK (Gaussian MSK), used in GSM

  • 7/30/2019 Wireless Networks Ch6

    50/51

    50

    If Even and Odd bits are both zero :

    - f2 is inverted.

    If Even bit is 1 and odd bit is zero:

    - Lower frequency f1 is inverted.

    If Even bit is zero and the odd bit is 1:

    - f1 is taken without phase change, as is.

    If Both even and odd bits are 1 :

    - frequency f2 is taken as is.

  • 7/30/2019 Wireless Networks Ch6

    51/51

    51

    data

    even bits

    odd bits

    1 1 1 1 000

    t

    lowfrequency

    highfrequency

    MSKsignal

    biteven 0 1 0 1

    odd 0 0 1 1

    signal h n n hvalue - - + +

    h: high frequencyn: low frequency

    +: original signal

    -: inverted signal

    No phase shifts!