[Back to Lecture Notes page]
- Using Frequency Division Multiplexing (FDM) or Time Division Multiplexing (TDM) - see topic on Physical Layer.
- Allocated a different parts of the channel to different users forever - no possible clashes.
- Very inefficient use of the channel, since most users are idle most times.
- Allocate the channel to different users as they need it.
- Some considerations:
- Everyone is using the one channel to communicate
- If two frames are transmitted at the same time, the resulting signal is garbled
- Continuous vs Slotted Time - is time divided into discrete slots, and stations can only transmit in slots?
- Carrier Sensing - can the stations sense whether other stations are using the channel?
Figure 4-2 shows the time a frame (the shaded one) is vulnerable to collisions from other frames. That vulnerable time is from t0 to t0+2t. If the frames are only allowed to be transmitted in slots (that is, at time t0, t0+t and t0+2t), the only vulnerable time is in the second slot (t0+t to t0+2t) which is only half of before (t0 to t0+2t).
Figure 4-3 compares the throughput between the two ALOHA schemes. The Y-axis is the average percentage of frames that gets through ungarbled over one slot time interval. The X-axis is the average number of times frame transmissions attempted in one slot over the whole network. The best if when we average one frame per slot. Any less, and we're not making full use of each slot. Any more, and we start getting many collisions.
- A station detects the channel.
- If channel busy, wait until the current transmission is finished.
- If channel idle, transmit.
- Two stations detects the channel idle at the same time and begin, transmitting
- One station starts transmitting, but the signal hasn't reached another station yet before it starts to detect the channel.
Figure 4-4 shows the performance of the various CSMA protocols
Figure 4-5
In CSMA/CD, there are times called contention periods where stations are transmitting and detecting if there are collisons. If a station transmits and doesn't detect a collision within this contention period, it knows it will be able to transmit the rest of the frame without collision. We consider that the station has seized the channel.
- Bit-Map Protocol
- Binary Countdown
Figure 4-6
All stations knows who is going to transmit, because they all got the bits bits during the contention period, so they can all determine when the next contention period will come up again.
Like the game spin-the-bottle: at every stage, depending on where the spinning bottle points, some competitors are eliminated.
Read the textbook p255 for an example. The example uses the binary operation OR, which favours addresses having bits 1.
Limited Contention Protocols are combines contention-based protocols with collision free protocols. Due to the lack of time, we won’t go into it in this unit. For those interested, read section 4.2.4 in the textbook.
- I receiver for listening on this station’s control channel - this receiver will not need to be tunable (ie. change the range of wavelengths it can receive), since the range of wavelengths for this station’s control channel is fixed.
- 1 transmitter for sending to another station’s control channel - this transmitter will need to be tunable, since it needs to send to the control channel of ANY of the other stations.
- 1 transmitter for sending for sending out this station’s data - this transmitter will not need to be tunable, since the range of wavelengths for this station’s data channel is fixed.
- I receiver for listening to other station’s data channel - this receiver will need to be tunable, since it needs to send to the data channel of ANY of the other stations.
An example of how to use this, consider we want to send data to station X. So we have one control transmitter, one control receiver, one data transmitter, and one data receiver. Both we and station would already have specific parts of the spectrum’s wavelength allocated to our control channel and data channel.
To establish a connection with station X, we notify X by sending frames to the X’s control channel (ie. we send frames using the wavelength allocated to X’s control – X’s control receiver will ALWAYS be listening on this wavelength range). Station X will now tune its data receiver to our data transmitter’s wavelength. Now when we transmit, X will receive it. The reason we want just send directly without initially notifying X on its control channel is that X’s data receiver could be tuned to one of many stations on the network.
- Not all stations are within range of each other – so, eg. a sending station may not detect interference coming from another station far away, but that interference occurs in receiving stations between them.
- In indoor environments, walls can block signals.
Figure 4-12 textbook p265
In this unit, we won’t go into the details of these standards, since they are still mainly directed at voice telephony. But keep in mind that with the upcoming convergence of voice and data communications, some of these standards may become very relevant in data communications.
- Global System for Mobile Communications (GSM)
- Cellular Digital Packet Data (CDPD)
- Time Division Multiple Access (TDMA)
- Code Division Multiple Access (CDMA)
Currently ,CDMA is getting more and more popular. It is also used in Satellite transmissions. It is probably the most complicated of the few above to understand, since it is based on Boolean Algebra to construct the code. Qualcomm developed the standard and compares it to several couples in a room all speaking a different language. Only a specific couple can communicate, and each is "tuned in" to only their conversation. In more technical terms, CDMA uses specific codes that convert analog voice sounds into digitized code that is undigitized on the receiving end, whether handset or cell site. All possible signals are added together, and every receiver receives the same final signal. But depending on how they decode it, they will get their relevant original signal.
Also, please note that it is a very common mistake for students to confuse CDMA with CSMA, I guess because the acronym is similar, and they both are LAN technologies. But please don't make this mistake. One is for wire-based LANs like Ethernets and the other is for wireless WANs like satellites systems.
[Back to Lecture Notes page]