1 Introduction

As one of the 5G Internet of Things technologies, the number of connected devices in NB-IoT is expected to reach 50,000 per cell in the future [1,2,3,4,5]. It is based on orthogonal frequency-division multiple access (OFDMA) with 180 kHz system bandwidth and just provide up to 48 preambles [6, 7]. In a burst scenario, the number of preambles is seriously insufficient, and it will lead to access difficulties for a user. Furthermore, a large number of retransmissions of preambles will not only bring waste of network resources and congestion, but also cause the serious power consumption of device.

In [8], the exact expression of Narrowband IoT (NB-IoT) physical RA channel (NPRACH) repetition value and successful access probability are proposed and their relationship with channel resource utilization is analyzed. It shows that the probability of successful access increases along with the number of preamble repetitions increase, but excessive repetitions also waste system resources. In order to improve RA preamble detection probability, an enhanced RA scheme was proposed in literature [9], in which the Base Stations (BS) utilize the difference of MSG1 arrived time to detect the colliding terminals. Furthermore, the BS transmit multiple RA responses for the colliding terminals. However, as the successful transmission of MSG1 increases, the limited Narrowband Physical Uplink Shared Channel (NPUSCH) resources may be another bottleneck for RA process.

Non-orthogonal multiple access (NOMA) can achieve high spectral efficiencies by combining superposition coding at the transmitter and successive interference cancellation (SIC) at the receivers [10,11,12]. The probability of successful uplink transmission with NOMA in 5G was modeled and analyzed in [13]. Recently, NOMA researches only focus on LTE-A or 5G enhance Mobile Broadband (e-MBB) RA process [14, 15]. Compared to broadband transmission, the application scenario of NB-IoT has been changed and the system of NB-IoT has been redesigned. Therefore, a NB-IoT Non-Orthogonal Random Access (NB-NORA) mechanism has been proposed in this paper. In contrast to NB-IoT orthogonal random access (NB-ORA) scheme, NB-NORA transmit initial layer 3 message (MSG3) of collided terminals within same time–frequency resource instead of MSG1 retransmission, which can solve the resource bottleneck of NPUSCH effectively. Additionally, the information of terminal locations and channel conditions is utilized to improve performance of NOMA. In this paper, the probability of successful separation of collision preambles and successful MSG3 decoding based on NOMA are modeled and analyzed. Moreover, the influence of the power back off step size and repetition coding times on the success rate of access was investigated. Simulation results show, the maximum throughput of MSG1 is double that of NB-ORA and the maximum throughput of RA process (RAP) is increased by more than 75% in the proposed scheme.

This paper is organized as follows. Section 2 presents the NB-NORA mechanism description. The theoretical model of the proposed NB-NORA is analyzed detailed in Sect. 3. Simulation results are given in Sects. 4 and 5 concludes this paper.

2 NB-NORA Mechanism

In this section, the detailed description of the NB-NORA mechanism was given. The main steps are as follows: (A) The terminals transmit a RA preamble, then the BS detects and separates the colliding terminals, and captures Timing Advance (TA) of each terminal; (B) The BS send back MSG2 Narrowband Non-Orthogonal Multiple Access-Random Access Responses (NB-NORA-RARs); (C) The terminals estimate TA according to the power of a Narrowband Positioning Reference Signal. Based on the estimated TA, each terminal obtains its own RA response information by searching the closest TA value in the NB-NORA-RARs. The terminals transmit MSG3 on the NPUSCH according to the power configuration contained in MSG2; (D) The BS send contention resolution message (MSG4). The specific process is shown in Fig. 1.

Fig. 1
figure 1

NB-NORA process

2.1 RA Preamble (MSG1) Transmission and Detection

Sometimes, there are more than one terminal sending same MSG1 to BS simultaneously. In conventional NB-ORA, colliding terminals cannot be distinguished. Hence, BS only answer to the terminals with strongest received power by MSG2. The signal from terminals may go through different paths and result in a difference arrival time. If the cell size is more than twice the maximum delay spread, the BS may be able to differentiate the MSG1 transmitted from different terminals simultaneously and calculate TA based on the time of arrival [16, 17]. Hence, BS will detect different colliding terminals and estimate their TAs by received MSG1s in NB-NORA.

2.2 NB-NORA-RARs (MSG2) Transmission and Detection

As shown in Fig. 1, unlike the traditional NB-RAR, the BS assembles NB-NORA-RARs in MSG2 of NB-NORA, which includes many RARs sets of TA, RNTI and P_BO. Each RAR set respond to one of the colliding terminals. Each terminal estimates their TA based on power of the received NPRS and then they receive the MSG2 from BS and pick up their own RAR set by searching for the nearest TA value in the NB-NORA-RARs group.

2.3 Initial Layer 3 Message (MSG3) Transmission and Detection

The NB-ORA uplink power control scheme attempts to maintain constant received power at BSs from different terminals. However, multiplexed MSG3 from different terminals with constant received power cannot be decoded separately, and lead to access fails. Therefore, in NB-NORA the NOMA technology is introduced into MSG3 transmission process, and BS can detect multiplexed MSG3 with different received power based on the SIC technology. The P-BO in the NB-NORA-RARs will indicates the decoding order of the terminals in the NB-NORA group. Obviously, the NOMA based MSG3 scheme can improve successful receipt of MSG3 and rate of successful access largely.

2.4 Contention Resolution Message (MSG4)

The last step of the NB-NORA mechanism is a contention resolution. After receiving Msg3 successfully, BS responds with a contention resolution tag as NB-ORA. If the terminal does not receive a response from the base station before the timer expires, it leads to access fail.

3 Analytical Model for NB-NORA Process

3.1 Modeling for MSG1 Transmission and Detection

3.1.1 Separation Probability of NB-NORA Terminals

Let \(N\) denotes the total number of available preambles in a NB-IoT RA slot. Consider a specific preamble r, k is the number of terminals selected \(r\) preamble. \(Y_{r}^{k}\) be a random variable which takes value 1 if the preamble is used by exactly k out of m terminals and 0 otherwise.

$$E\left[ {Y_{r}^{k} } \right] = \left( {\begin{array}{*{20}c} m \\ k \\ \end{array} } \right)\frac{1}{{N^{k} }}\left( {1 - \frac{1}{N}} \right)^{m - k}$$
(1)

Define any two terminals time of arrivals interval is \(\Delta t\), \(c = 3 \times 10^{8} \,{\text{m/s}}\) is the speed of light \(d_{j}\) expresses the distance between BS and the jth terminal. The terminals are assumed to be uniformly distributed in the cell with radius \(d_{c}\), thus the distribution of \(\Delta t\) can be computed and given by [14]

$$\begin{aligned} \Delta t & = \frac{{\left| {d_{i} - d_{j} } \right|}}{c},\;\;i \ne j;\quad f_{{d_{j} }} (x) = \frac{2x}{{d_{c}^{2} }},\;\;0 < x < d_{c} \\ f_{\Delta t} (y) & = \frac{4c}{{3d_{c}^{4} }}\left( {2d_{c}^{3} - 3d_{c}^{2} cy + c^{3} y^{3} } \right),\;\;0 < y < \frac{{d_{c} }}{c} \\ \end{aligned}$$
(2)

\(t_{rms}\) is the root-mean-squared delay spread (RDS) of the channel. The probability \(p_{S}^{ij}\) that any two colliding terminals \(i,j\) can be separated is as shown in Eq. (3). The probability that all \(m\) terminals within same resource are successfully separated as Eq. (4)

$$\begin{aligned} P_{S}^{ij} & = P\{ \Delta t_{ij} \ge t_{\text{rms}} \} \quad \forall i,j,\;\;i \ne j,\;\;i \in \{ 1, \ldots ,m\} ,\;\;j \in \{ 1, \ldots ,m\} \\ & = 1 - P\{ \Delta t < t_{rms} \} \\ & = 1 - \int_{0}^{{t_{rms} }} {f_{\Delta t} } (y)dy \\ & = 1 - \frac{{4{\text{c}}}}{{3d_{c}^{4} }}\left( {2d_{c}^{3} t_{rms} - \frac{3}{2}d_{c}^{2} ct_{rms}^{2} + \frac{1}{4}c^{3} t_{rms}^{4} } \right) \\ \end{aligned}$$
(3)
$$P^{\text{sm}} = P\{ \Delta t_{ij} \ge t_{rms} \} \ge \prod {p_{S}^{ij} } ,\quad \forall i,j,\;\;i \ne j,\;\;i \in \{ 1, \ldots ,m\} ,\;\;j \in \{ 1, \ldots ,m\}$$
(4)

3.1.2 Number of Terminals Successfully Transmitting MSG1

The expectation of number of successful MSG1 access in NB-NORA scheme and NB-ORA scheme are Eqs. (5) and (6), respectively.

$$E[S]_{\text{NB-NORA}} = N\left( {E\left[ {Y_{r}^{1} } \right] + \cdots + p^{sk} E\left[ {Y_{r}^{k} } \right] + \cdots + p^{sm} E\left[ {Y_{r}^{m} } \right]} \right)$$
(5)
$$E[S]_{\text{NB-ORA}} = m\left( {1 - \frac{1}{N}} \right)^{m - 1}$$
(6)

Take \(d_{c} = 2500\,{\text{m}}\), \(t_{rms} = 1\,\upmu{\text{s}}\). Assumed the terminals select the preambles under 0–1 distribution and the total number of different preambles is \(N = 48\), the throughput of successful transmitted MSG1 with orthogonal and non-orthogonal schemes are expressed respectively in Fig. 2.

Fig. 2
figure 2

MSG1 theoretical throughput with 0–1 distribution

From Fig. 2, when the multiplexing maximum value is 2, i.e., the maximum number of colliding terminals is 2 the maximum throughput of MSG1 transmission in NB-NORA can be increased by 40% compared with NB-ORA. When the multiplexing maximum value is 10, the maximum throughput of MSG1 transmission can be doubled. In addition, due to the limitation of the number of preambles, the throughput of NB-ORA reaches maximum when the number of users matches the number of preambles, while it of NB-NORA occurs in more users because it can distinguish multiple colliding terminals.

3.2 Modeling for MSG3 Transmission and Detection

After successful transmission of MSG1 and MSG2, the NOMA transmission of MSG3 and the decoding based on SIC technology are performed.

3.2.1 NB-NOMA Uplink Power Control for MSG3

For uplink NOMA, SIC receiver requires diverse arrived power to distinguish multiplexed terminals. To obtain the diverse arrived power [13], a power back-off scheme is proposed for uplink NOMA transmission. Define \(\rho\) as the power back-off step of the target received power, the transmit power of the ith terminal in a NOMA set is expressed by Eq. (7)

$$p_{i} = \hbox{min} \left\{ {p_{\hbox{max} } ,p_{T} - (i - 1)\rho + 10\log_{10} (M_{i} ) + \omega PL_{i} } \right\}$$
(7)

where \(p_{\hbox{max} }\) is the maximum transmit power.\(M_{i}\) is 1/4 for 3.75 kHz subcarrier spacing and {1, 3, 6, 12} for 15 kHz subcarrier spacing.\(p_{T}\) is the target arrived power in NB-ORA. \(PL_{i}\) is the downlink path loss estimated by the terminal in dB, parameter \(\omega\) is the path loss attenuation factor of fractional transmission power control. NPUSCH uses full path loss compensation, so \(\omega = 1\). Equation (7) denotes that the arrived power of NOMA terminals is gradually degraded with a step of ρ. This design is beneficial to cancel the co-channel interferences successively.

Since all terminals in a NB-NORA set share the same resource block (NPUSCH only occupies one RB), the difference between \(p_{i}\) and \(p_{j} (j > i)\) can be written as Eq. (8),

$$p_{i} - p_{j} = \text{PL} (i) - \text{PL} (j) + (j - i)\rho$$
(8)

and Eq. (8) can be expressed in watt by Eq. (9),

$$\frac{{p_{i} }}{{p_{j} }} = \frac{{\text{PL} (i)}}{{\text{PL} (j)}} \cdot 10^{{\frac{(j - i)\rho }{10}}} = \frac{{l_{i}^{2} }}{{l_{j}^{2} }} \cdot 10^{{\frac{(j - i)\rho }{10}}}$$
(9)

A terminal with a large path loss is assigned a larger order step, so its arriving power is smaller than other terminals. This design helps to reduce power consumption when the terminal is far away from the BS, especially, in the cell edge range. The power back-off order value in NB-NORA group is decided according to the TA. With a larger TA will be assigned a larger order value, which indicates that the corresponding received power is smaller. Assuming the order of ith terminal is prior to the jth terminal, the MSG3 on the BS satisfies the expression Eq. (10)

$$p_{i} \left\| {h_{i} } \right\|^{2} > p_{j} \left\| {h_{j} } \right\|^{2}$$
(10)

where \(\left\| {h_{i} } \right\|^{2} = \frac{{\left| {g_{i} } \right|^{2} }}{{l_{i}^{2} }},\left\| {h_{j} } \right\|^{2} = \frac{{\left| {g_{j} } \right|^{2} }}{{l_{j}^{2} }}\), Substituting (9) into (10), we have Eq. (11)

$$\left| {g_{i} } \right|^{2} > \left| {g_{j} } \right|^{2} \cdot 10^{{\frac{(j - i)\rho }{10}}}$$
(11)

when \(\rho = 0\), Eq. (11) becomes \(\left| {g_{i} } \right|^{2} > \left| {g_{j} } \right|^{2} (i < j)\). Note that the lower bound of \(\rho\) is 0, so we take \(\left| {g_{i} } \right|^{2} > \left| {g_{j} } \right|^{2} (i < j)\) as a condition to cover all possible values of \(\rho\).

3.2.2 Separation Probability of NB-NORA Terminals

After analyzing the uplink power control for MSG3, the achievable data rate of the mth terminal is defined \(R_{m}\). \(\hat{R}_{RA}\) is the target data rate of the detectable MSG3. \(Z_{m} = \{ R_{m} < \hat{R}_{RA} \}\) represent that the BS cannot detect the MSG3 from mth terminal. \(Z_{m}^{C}\) is the complementary set of \(Z_{m}\). The event \(Z_{i}^{C}\) and \(Z_{j}^{\text{C}}\) are mutually independent when \(i \ne j\).The outage probability of the mth terminal can be expressed as Eq. (12)

$$P_{m}^{out} = 1 - P\left( {Z_{1}^{C} \cap Z_{2}^{C} \cap \cdots \cap Z_{m - 1}^{C} \cap Z_{m}^{C} } \right) = 1 - \prod\limits_{j = 1}^{m} {P(Z_{j}^{C} )} {\kern 1pt}$$
(12)

If the current decoded message is not the last signal, the probability of event \(Z_{m}^{C}\) is given by Eq. (13)

$$\begin{aligned} P(Z_{m}^{C} ) & = 1 - P\left\{ {R_{m} < \hat{R}_{RA} } \right\} \\ {\kern 1pt} & = 1 - P\left\{ {\log \left( {1 + \frac{{P_{m} \left| {h_{m}^{2} } \right|}}{{\sum\nolimits_{i = m + 1}^{M} {P_{i} \left| {h_{i} } \right|^{2} + \sigma^{2} } }} < \hat{R}_{RA} } \right)} \right\} \\ \end{aligned}$$
(13)

If the current decoding message is the last Multiplexed MSG3 the probability of event \(Z_{m}^{C}\) is given by Eq. (14)

$$\begin{aligned} P(Z_{M}^{C} ) & = P\left\{ {\log \left( {1 + \frac{{p_{M} \left| {h_{M} } \right|^{2} }}{{\sigma^{2} }}} \right) \ge \hat{R}_{RA} } \right\} \\ & = 1 - P\left\{ {\left| {g_{M} } \right|^{2} < \frac{{\psi l_{M}^{2} \delta^{2} }}{{p_{M} }}} \right\} \\ {\kern 1pt} & = 1 - \int {_{0}^{{\beta_{M} }} f_{M} (x)dx_{M} } \\ {\kern 1pt} & = 1 - \int {_{0}^{{\beta_{M} }} M(1 - F(x_{M} ))^{M - 1} f(x_{M} )dx_{M} } \\ & = e^{{ - \frac{{ - M\beta_{M} }}{{2\mu^{2} }}}} \\ \end{aligned}$$
(14)

where \(f_{M} (x) = M(1 - F(x_{M} ))^{M - 1} f(x_{M} )\) is derived by analyzing order statistics under the condition of \(\left| {g_{M} } \right|^{2} \le \cdots \le \left| {g_{2} } \right|^{2} \le \left| {g_{1} } \right|^{2}\), \(\psi = 2^{{\hat{R}_{RA} }} - 1\) and \(\beta_{M} = \frac{{\psi l_{M}^{2} \delta^{2} }}{{p_{M} }}\).

3.2.3 Number of Terminals Successfully Transmitting MSG3

The number of terminals which transmitted MSG3 successfully in the cell is defined as Eq. (15)

$$\begin{aligned} \mathop {\mathop U\limits_{r} }\nolimits_{S}^{MSG3} & = \sum\limits_{j = 1}^{{M^{r} }} {jP\left( {\hbox{max} \left\{ {Z_{j}^{C} } \right\}} \right)} \\ P\left( {\hbox{max} \left\{ {Z_{j}^{C} } \right\}} \right) & = P\left\{ {P\left( {\hbox{max} \left\{ {Z_{j}^{C} } \right\}} \right) \ne 0,P\left( {\hbox{max} \left\{ {Z_{j + 1}^{C} } \right\}} \right) = 0} \right\} \\ U_{NORA}^{MSG3} & = \sum\limits_{r = 1}^{N} {\mathop {\mathop U\limits_{r} }\nolimits_{S}^{MSG3} } \\ \end{aligned}$$
(15)

where \(M^{r}\) represents the number of terminals in the sets of NB-NORA-RAR with \(r\) elements. \(P(\hbox{max} \{ Z_{j}^{C} \} )\) represents the probability that jth multiplexing terminal can be successfully decoded in the NB-NORA. \(\mathop {\mathop U\limits_{r} }\nolimits_{S}^{MSG3}\) indicates the mathematical expectation of the number of successfully separated MSG3 which use the same preamble \(r\).

Comparing with the NB-ORA scheme, the number of successfully separated MSG3 in NB-ORA can be obtained as Eq. (16)

$$U_{ORA}^{{\text{Msg} 3}} = \sum\limits_{r = 1}^{N} {\mathop {\mathop U\limits_{r} }\nolimits_{S}^{{{\text{Msg}}3}} }$$
(16)

It is hard to get a closed-form of \(P(Z_{j}^{C} )\) when the value of \(j\) is large [13]. The closed-form expression of the last step of Eqs. (12) and (15) is hard to get. This paper will give a simulation analysis of the performance in the next section.

4 Performance Evaluation

4.1 Simulation Throughput of MSG1

The MSG1 throughput of NB-NORA comparing NB-ORA is simulated in this section with following parameters. The preamble selection is based on discrete uniform distribution probability model. The cell radius is 2500 meters. RDS is 1us. The number of preambles is 48.

From Fig. 3, In NB-NORA, the MSG1 throughput is rapidly increased at first. Its maximum throughput is approximately twice that of NB-ORA, which is the same as it under 0–1 distribution in Fig. 2. However, under the potential access congestion at the burst scenarios in NB-IoT (For example, power failure recovery scenarios) the MSG1 throughput will decrease along with the increase of the number of accessing terminals. The throughputs of NB-NORA and NB-ORA are similar when the number of terminals is large enough, however, preambles in NB-NORA can be effectively decoded to increase the successful access of MSG1. When the number of simultaneous access terminals is very large, NB-NORA mechanism will lose its advantage, this is because the BS will not be able to distinguish multiplexing terminals based on differences in arrival times with too many preambles launching simultaneously and hence the non-orthogonal scheme will fail.

Fig. 3
figure 3

Simulation throughput of MSG1 with uniform distribution

4.2 Simulation Throughput of RAP

4.2.1 MSG3 Success Access Probability

It is hard to get a closed-form of Eqs. (7) and (8). Therefore, the number of terminals with transmitting MSG3 successfully is simulated in Fig. 5 with following parameters. Assumed \(G_{l} = 1\), \(\mu = 1\), \(\lambda = 0.15\), \(\hat{R}_{ORA} = 1.6\), \(\rho = 5\,{\text{dB}}\), QPSK modulation.

Figure 4 shows the number of successful transmitted terminals when the number of multiplexed terminals is m = 3, 5, 7, and 9, respectively. From Fig. 4, with the increase of the maximum of arrival SNR, the number of successfully transmitted terminals increases gradually. At the same time, when the number of multiplexing terminals is small, the number of separated terminals will increase with the increase of multiplexing terminals. However, as the number of multiplexing terminals increases, the terminal signal with a large power back-off order will be annihilated by noise, and the number of successfully separated terminals will stop rising.

Fig. 4
figure 4

Number of terminals successfully transmitting MSG3

4.2.2 RAP Throughput with Different \(\rho\)

Figure 5 shows the throughput of narrowband RAP under both NB-NORA and NB-ORA when the step of power back-off is 5 dB. Figure 6 shows the difference in throughput of narrowband RAP at different size of power back-off step \(\rho\).

Fig. 5
figure 5

Throughput of RAP

Fig. 6
figure 6

RAP throughput difference of different power back-off steps

From Fig. 5, the number of initial access successes rises rapidly and reaches its maximum throughput with increase of the number of initiated access when there are less accesses. At this time, the maximum throughput of NB-NORA can reach about 75% higher than that of NB-ORA. When the number of initiated access continue to increase, the maximum throughput of NB-ORA will be kept and it of NB-NORA will decline. That’s because that too many multiplexed users make the BS unable to distinguish them according to arrival time. Furthermore, even if a large number of conflicting users are successfully separated, in the next step of multiplex MSG3 transmission, signals from users with large power back-off orders will be overwhelmed by channel noise. The SIC technology cannot be separated and decoded successfully. RA will not succeed. Therefore, the NB-NORA scheme eventually reduces to the level of orthogonal access. In general, when the number of terminals that perform RAP simultaneously is higher than the total number of available preambles, the NB-NORA mechanism can effectively alleviate the potential access congestion at the burst scenarios in NB-IoT.

Figure 6 shows the difference of throughput in NB-NORA when the power back-off step is 5 dB, 6 dB, and 7 dB respectively. Figure 6-1 shows the difference in RA throughput for back-off 6 dB and back-off 5 dB, when the number of terminals is less than 800. 6 dB throughput performance is significantly better than 5 dB performance; Fig. 6-2 shows the difference in RA throughput with 7 dB back-off and 5 dB back-off. Similarly, it can be seen that performances with 7 dB is better than that with 5 dB; Fig. 6-3 shows the difference in RA throughput with 7 dB back-off and 6 dB back-off. It can be seen that it with 7 dB is slightly lower than it with 6 dB. From those figures, when the power back off step is too small, the terminal with smaller order can’t be separated and decoded successful. However, when the step length is too large, the transmission power of signal with big order is too small. Thus, the useful signal is buried by noise and cannot be successfully decoded.

5 Conclusion

In this paper, the NB-NORA mechanism was proposed to alleviate the potential access congestion at the burst scenarios in NB-IoT. Specifically, the locations of multiplexing terminals are utilized to realize MSG1 detection and NB-NORA-RARs reception. Furthermore, NOMA and SIC technologies are applied to the multiplexing MSG3 transmission, thus alleviates the demand for limited NPUSCH resources. The simulation results show that NB-NORA outperforms NB-ORA in term of RA throughput. Compared with NB-ORA, NB-NORA can increase the throughput of the RA process by more than 75%. However, the increase of terminals will lead to an explosion of terminal conflicts. It is difficult for the NB-NORA to separate MSG1s from different terminals. Furthermore, with a larger order, the transmit power of MSG3 is weaker, and signal will be buried by noise. The BS cannot decode it successfully, and the system throughput will gradually decrease to the NB-ORA mechanism.