Professional Documents
Culture Documents
Aloha CDMA
Example CSMA/CD
Carrier Sense Multiple Access with Collision Detection
send as soon as the medium is free, by listening into the medium
if a collision occurs while sending ,it stops at once and sends a jamming
signal
It is not a problem in using a wire, as more or less the same signal strength
can be assumed all over the wire if the length of the wire stays within
certain often standardized limits
(original method in IEEE 802.3)
Exposed terminals
B sends to A, C wants to send to another terminal (not A or B)
C has to wait, CS signals a medium in use
but A is outside the radio range of C, therefore waiting is not necessary
C is “exposed” to B
If C for example was an arbiter(C acts as a base station coordinating media access)
for sending rights, terminal B would drown out terminal A on the physical layer
The near/far effect is a severe problem of wireless networks using CDM. All
signals should arrive at the receiver with more or less the same strength.
Otherwise a person standing closer to somebody could always speak louder than a
person further away.(drowns(go down) out )
Precise power control is needed to receive all senders with the same strength
at a receiver.
Access methods SDMA/FDMA/TDMA
Prof. Dr.-Ing.
Similar FDMJochen Schiller,
schemes for FDDhttp://www.jochenschiller.de/
are implemented in AMPS,MC SS02 3.9
IS-54, IS-95, IS-136,
PACS, and UMTS (FDD mode).
Access method : CDMA
CDMA (Code Division Multiple Access) is a communication technique that
allows multiple users to communicate simultaneously over one frequency.
This is achieved through the use of spreading codes, whereby a single data bit
is "spread" over a longer sequence of transmitted bits. These codes, known as
chip sequences, must be carefully chosen so that the data may be correctly
"despread" at the receiver. Such codes are known as orthogonal codes.
all terminals send on the same frequency probably at the same time and
can use the whole bandwidth of the transmission channel
each sender has a unique random number, the sender XORs the signal
with this random number
the receiver can “tune” into this signal if it knows the pseudo random
number, tuning is done via a correlation/association function
= 0 + 0 + 0 = 0.
But also vectors like (3, –2, 4) and (–2, 3, 3) are orthogonal:
By contrast, the vectors (1,2,3) and (4,2, –6) are not orthogonal (the
inner product is –10), while (1, 2, 3) and (4, 2, –3) are “almost”
orthogonal, with their inner product being –1 (which is “close” to zero)
Aloha has only a very low efficiency, CDMA needs complex receivers to
be able to receive different senders with individual codes at the same
time
Idea: use spread spectrum with only one single code (chipping sequence)
for spreading for all senders accessing according to aloha
collision
sender A 1 0 1 narrow
sender B 0 1 1 band
send for a
shorter period
with higher power
spread the signal e.g. using the chipping sequence 110101 („CDMA without CD“)
• The simplest algorithm for using TDM is allocating time slots for channels in a
fixed pattern. This results in a fixed bandwidth and is the typical solution for
wireless phone systems.
• MAC is quite simple, as the only crucial factor is accessing the reserved time
slot at the right moment.
• If this synchronization is assured, each mobile station knows its turn and no
interference will happen.
• The fixed pattern can be assigned by the base station, where competition
• between different mobile stations that want to access the medium is solved.
• Fixed access patterns (at least fixed for some period in time) fit perfectly well
• for connections with a fixed bandwidth.
• Furthermore, these patterns guarantee a fixed delay – one can transmit, e.g.,
every 10 ms as this is the case for standard DECT systems.
• TDMA schemes with fixed access patterns are used for many digital mobile
phone systems like IS-54, IS-136, GSM, DECT, PHS, and PACS.
1 2 3 11 12 1 2 3 11 12
t
downlink uplink
• If temporary bursts in data are sent from the base station to the
mobile station often or vice versa (web page-read: ok; click-
url/hy.link:data transfer-MS-BS-Web Server)
Slotted Aloha additionally uses time-slots, In this case, all senders have to be
synchronized, transmission can only start at the beginning of a time slot as shown
in Figure
In the following sections, both basic ALOHA principles occur in many systems that
implement distributed access to a medium.
Aloha systems work perfectly well under a light load), but they cannot give any hard
transmission guarantees, such as maximum delay before accessing the medium, or
minimum throughput.
Here one needs additional mechanisms,e.g., combining fixed schemes and Aloha
schemes. However, even new mobile communication systems like UMTS have to
rely on slotted Aloha for medium access in certain situations (random access for
initial connection set-up).
4. CARRIER SENSE MULTIPLE ACCESS
To create some fairness for stations waiting for a longer time, back-off
algorithms can be introduced, which are sensitive to waiting time as this is
done for standard Ethernet.
Channel efficiency only 18% for Aloha, 36% for Slotted Aloha (assuming
Poisson distribution for packet arrival and packet length)
Reservation can increase efficiency to 80%
a sender reserves a future time-slot
sending within this reserved time-slot is possible without collision
reservation also causes higher delays
typical scheme for satellite links
collision
t
Aloha reserved Aloha reserved Aloha reserved Aloha
• The slotted aloha scheme is used for idle slots only, data transmission
is not destroyed by collision
idle idle
packet ready to send; RTS
data;
ACK
RxBusy time-out;
wait for the RTS RTS;
time-out CTS
ACK right to send data;
time-out
NAK
NAK;
RTS CTS; data
wait for
wait for ACK data
Where one station is to be heard by all others (e.g., the base station of a
mobile phone network or any other dedicated station), polling schemes
can be applied.
Polling is a strictly centralized scheme with one master station and several
slave stations.
The master can poll / census / Election the slaves according to many
schemes:
round robin (only efficient if traffic patterns are similar over all stations),
randomly, according to reservations (the classroom example with polite
students) etc.
Similar schemes are used, e.g., in the Bluetooth wireless LAN and as one
possible access function in IEEE 802.11 systems
Advantages very simple, increases established, fully simple, established, flexible, less frequency
capacity per km² digital, flexible robust planning needed, soft
handover
Dis- inflexible, antennas guard space inflexible, complex receivers, needs
advantages typically fixed needed (multipath frequencies are a more complicated power
propagation), scarce resource control for senders
synchronization
difficult
Comment only in combination standard in fixed typically combined still faces some problems,
with TDMA, FDMA or networks, together with TDMA higher complexity,
CDMA useful with FDMA/SDMA (frequency hopping lowered expectations; will
used in many patterns) and SDMA be integrated with
mobile networks (frequency reuse) TDMA/FDMA