MCU單晶片韌體設計

2017年3月3日 星期五

TDMA 中的兩種機制



Aloha


Aloha : 沒有coordinate , 想送就送,撞了再重傳
Slotted Aloha: 加入time slot, 要大家同步在同一個time slot 傳送, 但仍然想送就送, 撞了再重傳
Aloha: G exp(-2G)  (G:  mean  arrival rate) if G=1, 1/(e^2)=0.168
Slotted Aloha: G exp(-G)  , if G=1, 1/e=0.36

Slotted Aloha 約是 Aloha 兩倍throughput

CSMA (Carrier Sense Multiple Access) 

"Listen before talk"
CSMA 可以被分類為三種:

  1. non-persistent CSMA: channel busy, 等一段random backoff time, 再偵測channel idle 就送
  2. 1-persistent CSMA: channel busy 不等一段random backoff time, 仍持續偵測channel , idle 就送
  3.  p-Persistent CSMA: channel busy 不等一段random backoff time, 仍持續偵測channel , channle ide , 擲一骰子(機率p) 決定是否要傳送。若是落在'(1-p) 不送,

沒有留言 :

張貼留言