Try   HackMD

#One-Shot Random Access

Topic: 5G Random Access Procedure Bariq Sufi Firmansyah Institut Teknologi Bandung bariqsufif@gmail.com

tags: NTUST-RESEARCH

Background

One-Shot Random Access: Analytical Model

In this system, time is divided into fix-length ‘access cycle.’ Each access cycle contains

N RAOs. All of the
M
devices transmit their first random-access attempts at a randomly chosen RAO in the first access cycle. The collided devices immediately re-transmit their random-access attempts in the next access cycle. A total of
Imax
access cycles are reserved.

  • Let
    Ni
    be the number of RAOs reserved for the
    ith
    access cycle
  • Let
    NS,i
    and
    NC,i
    be the average number of successful, and collided RAOs observed at the end of the
    ith
    access cycle.

On the first access cycle,

M devices contend for
N1
RAOs.
NS,1
and
NC,1
can be determined using a combinatorial model.

  • Let
    pk(M,N1)
    be the probability that
    M
    devices send random access attempts in an access cycle and
    k
    of the
    N1
    RAOs are collided

pk(M,N1) is equal to the probability that placing
M
balls into
N1
bins and
k
bins have at least two balls (
ij2
, for
1jk
) and the remaining bins have one or zero ball.
pk(M,N1)
is given by
pk(M,N1)=CkN1N1Mi1=2M2(k1)i2=2M2(k2)i1...ik=2Mj=1k1ijCi1M...Cikj=1k1ijCj=1kijN1k  (Mj=1kij)!

NC,1
is the expected value of the bins that have at least two balls and can be derived as
NC,1=k=1min{N1,M2}kpk(M,N1)

NS,1 is the expected values of the bins that have only one ball and is determined by
NC,1=k=0min{N1,M2}CkN1N1Mi1=2M2(k1)...ik=2Mj=1k1ijCi1M...Cikj=1k1ijCj=1kijN1k (Mj=1kij)! (Mj=1kij)


However, the computational complexity of the approach is considerably high. Hence, we need to find approximation formulas to derive

NC,i and
NS,i
for the second and future access cycles, i.e.
i2
.

One-Shot Random Access: Approximation

  • The system that
    M
    devices contending for
    N1
    RAOs in a random access slot with duration of one time unit is equivalent to a system has
    N1
    mini slots, where each mini slot contains one RAO and has duration of
    1N1
    time unit.
  • Therefore, we use a slotted Aloha system with Poisson arrival rate
    M
    devices in a time unit and slot duration
    1N1
    time unit to approximate the case that
    M
    devices contend for
    N1
    RAOs in one-shot random access.
  • Let
    Ki
    be the average number of devices that transmit their random-access attempts in the
    ith
    access cycle. Initially,
    K1=M
    . The successful probability of a mini slot is the probability that only one device transmits in the time duration of
    1Ni
    that is,
    (KiNi)eKiNi
    . The success probability in one slot is
    Ni
    times the success probability in one minislot, therefore
    NS,i
    can be approximated by
    NS,i=KieKiNi
  • The average number of collided RAOs of the one-shot random access observed in one time unit is equal to
    Ni
    minus the sum of idle RAOs and success RAOs. Therefore,
    NC,i=NiNieKiNiKieKiNi
  • The number of devices that transmit their random-access attempts in the
    (i+1)th
    access cycle is equal to the number of contending devices minus the number of successful devices in the
    ith
    access cycle. That is,
    Ki+1=KiNS,i=Ki(1eKiNi)
  • The access success probability is estimated by
    Ps=i=1ImaxNS,iM
  • The mean access delay
    Ta
    is estimated by
    Ta=i=1ImaxiNS,ii=1ImaxNS,i
  • The collision probability
    PC
    is estimated by
    PC=i=1ImaxNC,ii=1ImaxNi

System Model

I/P Parameters Value
N
: # of RAOs
integer from
5
to
45
Nnum
: This simulation has
Nnum
distinct numbers of
N
, namely
5,6,7,...,44,45
41
M
: # of STAs
100
Imax
: # of access cycles
10
S
: # of simulation
105
times

Variable Data structure

Variable Meaning Data Type range
m
Station ID Integer
1
~
M
n
RAO ID Integer
1
~
N
s
simulation ID Integer
1
~
S
stationState
the state of station
m
. 0 denotes that station
m
is still contending for RAOs, -1 denotes that station
i
have successfully transmitted packet
Vector of Integer,
vector size=(1,M)
1
~
0
for each element (station)
Rn
The number of packets being sent in RAO n Vector of Integer,
vector size=(1,N)
1
~
M
in each element (channel)
i
Access Cycle (Timeslot) ID Integer
1
~
Imax
success_pckt_i
the number of successful transmission in access cycle
i
Integer
0
~
N
success_pckt
the sum of successful transmission in all access cycles Integer
0
~
M
success_prob
success_pcktM
Float
0
~
1
total_success
the sum of all
success_prob
in all simulations
Vector of Float
vector size=(1,Nnum)
, each element has range
0
~
S
collision_pckt
the number of failed transmission in all access cycles Integer
0
~
NImax
collision_prob
collision_pcktImax N
Float
0
~
1
total_coll
the sum of all
collision_prob
in all simulations
Vector of Float
vector size=(1,Nnum)
, each element has range
0
~
S
delay
i=1Imaxi×success_pckt_i
Integer
0
~
MImax
mean_access_delay
Delay for each random access procedure between the first random access attempt and the completion of the random access procedure for the successfully accessed devices.
Ta=delaysuccess_pckt
Float
0
~
Imax
total_mean_access_delay
the sum of all
mean_access_delay
in all simulations
Vector of Float
vector size=(1,Nnum)
, each element has range
0
~
SImax

Output Data structure

O/P Meaning Data Type range
average_success_prob
total_successS
or the average access success probability of
S
simulations
Vector of Float
vector size=(1,Nnum)
, each element has range
0
~
1
average_coll_prob
total_collS
or the average collision probability of
S
simulations
Vector of Float
vector size=(1,Nnum)
, each element has range
0
~
1
average_mean_access_delay
total_mean_access_delayS
or the average mean access delay of
S
simulations
Vector of Float
vector size=(1,Nnum)
, each element has range
0
~
Imax

Timing Diagram

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Fig.1 One-Shot Random Access Timing Diagram

  • Figure 1 is the timing diagram of one-shot random access system. in that figure, there are 5 RAOs, 10 stations, and 10 Access Cycles
  • there are
    M
    stations contend in first access cycle
  • packet
    m
    corresponds to packet transmitted by station
    m
  • each station choose RAOs randomly
  • the successful station will no longer transmit packet in the next access cycles

Flow Chart

Created with Raphaël 2.2.0Starttotal_success=0total_coll=0total_mean_access_delay=0s=1N=5success_pckt=0, collision_pckt=0,delay=0stationState(1)=0,stationState(2)=0,...stationState(M)=0i=1success_pckt_i=0Rn(1)=0, Rn(2)=0, ..., Rn(N)=0m=1is stationState(m)=0?choose one of N RAOs randomly, namely RAO nSTA m is transmitting packet in RAO nincrement Rn(n)is m=M?n=1is Rn(n)=1?packet successfully transmitted, increment success_pckt,increment success_pckt_iis n=N?delay=delay+i*success_pckt_iis i=Imax?calculate success_prob,collision_prob, on this N RAOs systemmean_access_delay=delay/success_pcktis N=45?total_success=total_success+success_probtotal_coll=total_coll+collision_probtotal_mean_access_delay=total_mean_access_delay+mean_access_delayis s=S?calculate average_success_prob,average_coll_prob,average_mean_access_delayplot Y:average_success_prob, X:NY:average_coll_prob, X:NY:average_delay, X:NEndincrement sincrement Nincrement iincrement nis Rn(n)>1?Collision detected,increment collision_pcktincrement myesnoyesnoyesnoyesnoyesnoyesnoyesnoyesno

Numerical Results

Fig. 2 Access success probability and its approximation error.

Fig. 3 Mean access delay and its approximation error.

Fig. 4 Collision probability and its approximation error.

Figures 2, 3, and 4 illustrated simulation results and the derived performance metrics of the access success probability, the mean access delay, and the collision probability of the simplified group paging obtained from

Pc,
PS
, and
Ta
for
M=100
,
N=5
to
45
and
Imax=10
, respectively.

  • The results show that the approximation error of the access success probability is high for small
    N
  • the approximation error of the collision probability is small for all
    N
  • the approximation error of the mean access delay is high if
    N
    is small. (in Dr. Wei's paper, the approximation error is zero when
    N>10
    , in my simulaton, the approximation error is zero when
    N>20
    )