Application Layer-Forward Error Correction Raptor Q Codes in 5G Mobile Networks for Factory of the Future

The future communication requirements for industrial automation will di ﬀ er signi ﬁ cantly from existing technologies. Tra ﬃ c in Industry 4.0 imposes real-time requirements, requiring ultra-reliable communication (URC) with high reliability and minimal latency. The demand for ultra-high reliability as high as 99.999999 percent and as low as 1 ms end-to-end latency is the major challenge of the NOMA communication system in the factory of the future. The high expectations on reliability and latency need modi ﬁ cations to the radio system ’ s baseband signal processing, medium access control (MAC) layer, and application layer to protect against packet losses. Thus, this paper investigates the utilization of Raptor Q codes, which is a type of Application Layer Forward Error Correction (AL-FEC), by developing an end-to-end system level simulator to evaluate and analyze the performance of the transmission signals based on cross-layer approach; from the physical layer (PHY), MAC layer, and application layer parameters in an indoor factory network setting. The factory is assumed to be operated with various factory robots of di ﬀ erent speeds, from static to 10 km/h. The 5G technology relies heavily on ﬂ exible network operations. High user density, high user mobility, deployment, and coverage are all qualities that allow for this ﬂ exibility. Through extensive simulations, the results showed that the Raptor Q codes are not only able to give good results, i.e., packet reception rate ð PRR Þ = 0 : 9 of 10 m or 1.8% to 10 m or 3.4% depending on di ﬀ erent scenarios, but are also able to meet PRR = 0 : 9 in the mobility scenario at 10km/h. Thus, the Raptor Q codes can be seen as a good candidate for obtaining results within a strict range of requirements set by URC communications for the factory of the future replacing RLNC.


Introduction
Machine-to-machine (M2M) communication is a fundamental technology for the next-generation (5G) networks, allowing billions of multifunctional devices to interact with one another with little or no human involvement [1]. Furthermore, data packets are expected to include crucial information in several practical and promising 5G applications, such as autonomous driving and public safety systems, and should be sent with ultra-reliability and low latency [2]. The biggest issue with ultra-reliable and low-latency communication (URLLC) is to come up with a coding scheme that can handle ultra-reliable transmission [3]. In the recent decade, researchers have been particularly interested in rateless fountain codes. The first practical implementation of fountain codes was Luby transform (LT) codes [4]. With an average decoding cost of O (k log ðkÞ) operations, it can retrieve the original k information symbols. Researchers in [5] suggested Raptor codes, which combine an LT code with a high code rate precode to reduce decoding complexity further and solve the high error floor in LT codes. Furthermore, the 3rd Generation Partnership Project (3GPP) has already standardized a welldesigned systematic Raptor code dubbed R10 code [6] composed of a systematic low-density generator matrix (LDGM) code as the precode and an inner LT code. With a reasonable code length, R10 code may efficiently disseminate data over a broadcast/multicast network [7]. As a result, rateless codes for the mMTC have the potential to provide excellent reliability [8]. One approach for addressing this problem is to use the most recent rateless codes, such as Raptor Q codes with maximum likelihood (ML) decoding algorithm [9,10], to enhance coding performance for delivering delay-sensitive applications across future 5G networks. Raptor Q codes are a high-order field F q extension of Raptor codes that is seen as a promising option to enhance the capacity of R10 codes, providing a compromise between complexity and reliability. The 3GPP has standardized the Application Layer Forward Error Correction (AL-FEC) based on Raptor codes [5] over Multimedia Broadcast and Multicast Services (MBMS) [11] to offer robust and dependable multicast/broadcast services over unreliable channels. Raptor codes were adopted by the 3GPPP because they outperformed previous AL-FEC schemes and because they are implemented in software rather than hardware. Furthermore, the quantity of redundant symbols may be calculated on-the-fly, removing the need for exact channel information prior to data transmission. Because multicast/broadcast transmission is without an ARQ mechanism, the AL-FEC technique sends redundant data together with the original data (packets) to allow the receiver to recover damaged or missing source data by utilizing the redundant ones.
For broadcast and multicast services via wireless networks, AL-FEC protection based on Raptor codes has been widely investigated. These studies investigated the tradeoffs between AL-FEC, physical, and MAC layer parameters for broadcast services over WLANs [12,13], Long-Term Evolution (LTE) [14,15], and Digital Video Broadcasting-Handheld (DVB-H) [16] and found that only a welldesigned and optimized system can maximize spectral efficiency and user's QoE. Some research has been conducted into cross-layer optimization frameworks that modify AL-FEC redundancy based on the physical layer modulation and coding schemes (MCSs) used to enable dependable video streaming applications across unreliable wireless channels [17][18][19][20][21]. However, because each multicast user has a different channel condition, multicast video broadcasting to numerous viewers poses extra limitations. As a result, finding system settings that are optimum (offer high quality of experience (QoE)) for each multicast user based on the quality of service (QoS) needs of the applications is difficult.
Hence, the researchers in [22] examined the performance of an AL-FEC protection system in next-generation mobile networks. Findings in [22] demonstrate that the suggested online technique can perform as well as or better than a retransmission-based error recovery technique under certain situations. Meanwhile, researchers in [23] proposed a new AL-FEC application architecture scheme based on Raptor Q codes. Therefore, we investigate the performance improvements that such an error control architecture may bring to NGMN-edge computing integrated systems. The literature has previously looked at industrial applications and their needs for industrial wireless communication systems. In this regard, the work carried out within the German research framework "Reliable Wireless Communication in Industry" should be highlighted. Associated applications were gathered, and their needs merged into three so-called requirement profiles as part of the HiFlecs project [24]. Corresponding needs were gathered from all ZDKI projects and scientifically evaluated by an associated research study [25].
In addition, the whitepaper [26] provided an overview of the use of radio systems in industrial contexts and a summary of the requirements for the various applications. For discrete manufacturing applications, high reliability (PER ≤10 -9 ) and low latency (order of magnitude: 1 ms) are forecasted as stated in [26]. The packet size is intended to be between 20 and 50 bytes. This use case is the most difficult from a communication technology standpoint and is thus taken to be a reference use case in the following without restricting the generality. In terms of industry standardization, the specifications of 3GPP MBMS [11], DVB AL-FEC [27], and IETF FEC framework [28] all contain a common FEC framework to secure streaming service delivery based on AL-FEC. Meanwhile, the researchers in [29] introduced the utilization of fountain codes with very short packets. However, it only investigates the PHY layer without considering the upper layer, such as MAC and APP layer.
Systematic network coding [15][16][17][18] is an alternate strategy to reducing computing complexity, which sends the original packets in uncoded form and inserts a limited number of encoded packets into a generation to adjust for network transport inefficiencies. The other key approach to minimize the computational cost of the RLNC is to use sparse coding coefficient rows, which have a relatively modest mandated number of nonzero coding coefficients.
Small Galois fields [19,20] or novel kinds of network coding [21] have been used in several research investigations to alleviate the computational challenges of network coding. On servers with a high number of graphics processing units (GPUs), the GF (2 8 ) RLNC can be computed quickly [22][23][24]. On general-purpose multicore CPUs, computational solutions for GF (2 8 ) network coding have mostly focused on intelligently splitting the coefficient and data matrices to permit parallel processing [25,26]. The network coding computations have been substantially accelerated due to these partitioning schemes (and reduced the energy consumption [27,28]). The matrix block operations can be scheduled according to the dependence structure of the calculations in a DAG [29] to gain some extra performance. Most of the partitioning techniques [25,26] are suited for progressive RLNC decoding. However, the DAG approach in [29] is confined to nonprogressive decoding of a whole generation of coded packets. Researcher in [29] presented to use the advantages of DAG scheduling to progressive RLNC decoding.
As mentioned in [19,[30][31][32], the compute-and-forward paradigm, which recodes packets in intermediary network nodes, gives way to RLNC. RLNC can operate on source packet blocks or a sliding window encompassing several source packets [20,21,[33][34][35][36]. DSEP Fulcrum was developed by a researcher in [Nguyen] as a block code that relies on RLNC block coding. However, RLNC comes with high computational complexity. To achieve low computational complexity, a smaller Galois field [37][38][39][40][41] can be considered to minimize RLNC computational complexity at the tradeoff of reduced decoding probability due to the greater probabilities of linearly dependent encoded packets. In addition, the Fulcrum RLNC technique allows for flexible recoding and decoding in either a small Galois field (at the price of collecting more coded packets to compensate for linear dependencies) or a large Galois field (with high complexities) or a mix of the two [42].

Wireless Communications and Mobile Computing
Nonetheless, RLNC also can be replaced with other common rateless coding classes as LT codes [10] or Raptor codes [5]. Raptor codes, in fact, deliver near-optimal performance while requiring substantially less decoding complexity, allowing for longer source blocks. According to [43], Raptor offers codes considerably greater encoding throughput for bigger generation sizes, as investigated in depth in [44], due to a linearly rising asymptotic encoding computational   Wireless Communications and Mobile Computing difficulty in n; in contrast, RLNC encoding computational complexity scales asymptotically with Oðn 2 Þ. It is vital to remember that Raptor does systematic encoding, which means that the n source packets can be delivered in the uncoded form initially as soon as they become accessible from the application, followed by the coded repair symbols. Although all these previous works used RLNC network coding and FEC codes in the system, none of them focused on the overall performances in terms of packet reception rates (PRR) and the end-to-end (E2E) delay of the system by using the more practical version Raptor codes, which are Raptor Q codes. The emergence of 5G technologies and the Internet of Things (IoT) for Industrial Revolution 4.0 in an indoor smart manufacturing setting is the primary motivation for this research. Smart factory concepts need the use of data from the production line. One way to wirelessly gather machine sensor information in severe manufacturing conditions is an enabler for such applications, and Raptor Q coding has been offered as a tool to develop appropriate network protocols. Hence, this paper presents a cross-layer E2E system performance analysis using Raptor Q codes for an indoor factory of the future. We compare the end-to-end latency and packet reception rate (PRR) of Raptor Q codes encoding and decoding with RLNC network coding for an additional viewpoint on the Raptor Q codes encoding and decoding. More specifically, the main contributions of this paper are presented as follows: (1) This paper is the extended work from [30] where the authors investigated and designed the PHY-MAC cross-layer model by introducing the NOMA technique at the PHY layer and utilizing semi-persistent scheduling at the MAC layer in an indoor factory scenario. However, the proposed work in [45] had only been investigated until the MAC layer and not entirely investigated until the system/application level of the indoor factory. Hence, this paper focuses on the APP layer performance analysis by introducing Raptor Q codes to improve the overall reliability and end-toend delay by tackling the packet losses (2) Adjusting Raptor Q encoding parameters including code rate, symbol size, and the amount of source symbols on the fly to account for time-varying wireless networks and the reliability of Raptor Q codes  (3) The system model is developed based on cross-layer simulation of potential wireless deployment for future factory automation applications with considered system parameters based on 3GPP TR 38.913 [46] and METIS [47] under different network densities, speeds, and frequency spectrums (4) An event-based simulator in measuring packet reception rate (PRR) and E2E delay performance is being developed, and the results obtained are analyzed with Repetition codes as the performance comparison.
The results could be a valuable insight for the factories of future services [48].
This paper has the following structure. The basic concepts and overview of Raptor Q codes are discussed in Section 2. The PHY-MAC-APP layer simulation system and measurement setup are elaborated in Section 3. Results and discussions are further analyzed in Section 4. Finally, Section 5 presents the conclusion of the paper.

Factory Applications and Its Communication System Requirements
The Raptor is a forward error correction (FEC) technique deployed in software that protects against network packet loss at the application layer. A Raptor code is made up of an outer code (precode) Φ and an inner LT code C that are serially concatenated. The precode Φ is a (n, k) block code that uses k source symbols to create n intermediate symbols.
The LT code C is then used to create k output symbols by encoding the n intermediate symbols with a (kγ, n, ΩðxÞ) LT encoder, where the inverse of the Raptor code receives code rate CR.
The code rate CR is derived as [49]: where Ɛ is the overhead of the Raptor code. Meanwhile, the LT code generator matrix is built using a predetermined where each row's degree d follows the probability distribution in (3) and satisfies (4).
The Raptor code is denoted as (5), whereas the information symbols and received coded symbols are denoted as where k represents the number of information symbols, γk is the number of received symbols, and n denotes the number of intermediate symbols. The LT generator matrix and the precode generator matrix, respectively, are denoted as G LT γk х n and G pre n х k . Moreover, the input alphabet of a q-ary Galois Field, G F(q) , is expressed as where α is denoted by a primitive element of GF(q) and then the Raptor Q code's nonzero elements are then arbitrarily selected from G F q q−1 , where each nonzero entry in G LT γk х n and G n х k is sampled separately and uniformly from F q .
Raptor Q is the most versatile and recent technology in Digital Fountain's Raptor range [10]. At the application layer, the Raptor Q encoder collects incoming Real-time Protocol (RTP)/User Datagram Protocol (UDP) packets to build source blocks, each of which has k source packets (symbols) with T bytes, and then creates N encoded symbols with T bytes from each block. Because the Raptor Q codes are systematic, the original k source symbols are the initial encoding symbols of N encoded symbols, and the remaining R symbols of N symbols are termed as the repair symbols ðN = k + RÞ. The CR = k/N = k/ðk + RÞ code rate for Raptors is expressed as (1). Meanwhile, the Raptor Q decoder waits for all UDP packets belonging to a specific source block to arrive at the receiver. When the total number of acquired packets (source and repair symbols) for a particular source block is k ' ðƐ + 1Þ k at the decoder, the Raptor Q decoder can decode the block with a high probability where all source packets of the source block are rebuilt and sent to the application layer. Figure 1 shows a simpler illustration of the concept of signals from the gNB emitted at the application layer in a factory environment. The data sent from gNB is then divided into sev-eral source blocks k. This source block is encoded using Raptor Q encoding, which produces a source symbol followed by a repair symbol generated by the repair generator. These encoded symbols are arranged in packets and transmitted over the 5G mobile network. In the network, some transmitted packets are lost due to interference of the surrounding conditions as well as poor or challenging environment. On the sensors/actuators decoding section, the received symbol must be ≥ k. The redundant repair symbol can be used as an overhead for the source symbol in the Raptor Q decoding process at the sensors/actuators. The source block data on decoding then reconstructs the data. Then, the data is sent to the receiver. In the use of the Raptor Q code, the symbols do not need to be arranged sequentially. Most importantly, sufficient symbols should be received at the receiver, as illustrated in Figure 2.

System Model
An event-based simulator is developed to analyze the endto-end system performance of a 5G wireless communication system for an indoor factory of the future across different cross-layer system parameters. The simulator has been developed and divided into three subsystems, as shown in Figure 3 to decrease computing complexity and time. The components of the subsystems consist of the following: (1) Physical layer: nonorthogonal multiple access (NOMA)-based OFDM-SCMA [50]. SCMA combines the bit-to-QAM symbol mapping and spreading procedures, and entering bits are immediately mapped to a multidimensional codeword of an SCMA codebook set (2) MAC layer: indoor factory cross-layer design simulator as proposed in work [45] where the results obtained from [45] are to be used and analyzed  The indoor factory broadcast concept is based on [48], where it enables a simple, rapid, and large-scale transmission of messages without feedback to the sensors/actuators. It eliminates the need for complicated routing and avoids coverage limitations by reducing reliance on high-cost infrastructure rollout. The objective of this indoor factory broadcast model is to evaluate the latency and reliability of AL-FEC Raptor Q codes and Repetition codes in an indoor factory building (consisting of sparse, moderate, and dense network density) contexts for the same scenario. This indoor factory broadcast model is a MATLAB-based event-based simulator that comprises three distinct components. Meanwhile, RLNC simulation is based on [51] theory and is implemented in our inhouse simulator from the PHY layer until the APP layer.
The location of each sensor is examined and assessed using the position, speed, and outputs of the realistic sensor density (v d ) for each beacon period to build an indoor factory simulator, as illustrated in Figure 3. Each sensor's (or actuators) received power P R is computed based on its distance from the tagged sensor. The SINR (signal-to-interference ratio) is calculated for each sensor based on co-channel interference from a list of sensors with P R > threshold.
A NOMA OFDM-SCMA simulator is utilized in the physical layer block to compute the BER phy , PER phy , and throughput phy for various SNR (signal-to-noise ratio) values. The computed SINR is transmitted to the (PER PHY ) versus SNR curves for each sensor or actuator. The component parameters in the PHY layer are considered in Table 1.
The MAC system model has been explained in our previous work in [45]. To summarize, a cross-layer design for an indoor factory of the future is designed and developed to suit the stringent requirements for URLLC. In work [45], a cross-layer strategy is proposed by utilizing semi-persistent scheduling (SPS) at MAC and code-domain NOMA at PHY to achieve an ultra-reliable communication (URC) for potential 5G mobile network deployment for the factory of the future. By having outputs from [45], results of PER mac , throughput mac , and outage probability are critically evaluated and analyzed by varying multiple parameters such as network densities (sparse, moderate, and dense), various speed of sensors/actuators that are realistic to the indoor factory scenarios (static, 3 km/h, 7 km/h, and 10 km/h), and two allocated 5G frequency spectrums, which is mid-band (3.5 GHz) and high band (28 GHz).
The reason for using two different types of spectrums at MAC layer is to investigate the characteristics of the spectrums when it is deployed in an indoor factory. Based on the results in [45], it is shown that the mid-band spectrum outperformed the high band due to the high-band spectrum being highly susceptible to the clutters present in the factory. The traffic model considered in the MAC layer block is periodic since SPS is utilized in the MAC layer; it has the advantage of manipulating the previous knowledge regarding the traffic characteristics. Moreover, the first-come first-serve (FCFS) dispatching scheme is considered, and it is assumed that no items are discarded from the queue. A M/G/1 queuing model is considered, and the rate of arrival is classified as Poisson distributed. In addition to that, general distribution is assumed as a service rate. Table 1 shows the parameters used at the MAC layer block, as stated in [45], whereas Figure 4 shows the factory of the future communication model system.
To increase the reliability of the indoor factory broadcast system model, the AL-FEC model is employed. The FEC block emulates this function in the simulation. A source block (SB) is formed of K source symbols of size T = ðN PSDU FEC Þ in the FEC block. The physical layer service data unit (PSDU) size for a particular message type is ðN PSDU,FEC Þ, and FEC is described as There are three types of FEC schemes introduced in this paper, which are the Repetition codes, RLNC, and Raptor Q codes that are implemented at application layer (APP). Repetition codes are introduced as it is simple and there are no feedback requirements. The complexity of this method is minimal. Repetition codes, on the other hand, have a high latency requirement and inefficient bandwidth usage, making them unsuitable for URLLC applications.
As a result, this paper investigates the systematic Raptor Q codes, and the results obtained are being compared to the Repetition codes and RLNC results. The overall PHY-MAC-APP model system is shown in Figure 5.
At the application layer, the Raptor Q encoder gathers input SB at the transmitter and fragments them to size K = 8 to create source symbols of size T = ðN PSDU,rap Þ APP . K is the length of a source block or the number of source symbols (SSs) that make up a source block (SB) in raptor codes. It also produces R repair symbols, which are specified by the code rate (CR) in (1). The Raptor decoder gathers all the source symbols that correspond to a given source block at the receiver. If the total number of combined received symbols for a particular block of data meets k ' ≥ ðƐ + 1Þ * k, where the encoded symbol overhead Ɛ > 0, the Raptor decoder successfully decodes all of the source packets. Each transmitted encoded symbol has an ESI (encoded symbol identifier) sequence number that may be used to calculate the average end-to-end delay.
Note that CR = 1 denotes the absence of the redundant symbols, whereas CR = 0:5 denotes a 50% increase in overhead. Raptor encoding and decoding delays are less than 1 ms, according to measurements in [49], and Raptor chipsets with fast implementation are widely available. As a result, the Raptor processing delay is ignored when calculating the end-to-end delay. In this model, the User Datagram Protocol (UDP) is assumed for low latency and no retransmissions. For successful decoding (PER <1%), the packet reception rate (PRR) results obtained from Equation (11)   9 Wireless Communications and Mobile Computing are transmitted to the FEC block, where either Repetition codes overhead N r = 4 or Raptor Q codes overheads Ɛ is chosen depending on the FEC type.
where N max is the maximum number of sensors/actuators within r sense = 100 m of the transmitter sensor/actuator and N receive is the total number of sensors/actuators that successfully receive the signal among N max ; PER PHY is the PHY layer PER calculated in the PHY layer block. In addition, the PRR used in this study is the average PRR of all of the sensors/actuators at a distance of d from the tagged sensor/ actuator. For the end-to-end delay computation, the corresponding overhead for the provided FEC type is used. The end-to-end latency is calculated using Equations (12) and (13), with the number of repetitions N r = 4 for Repetition codes and ESI overhead of ESI K+Ɛ = K/CR for Raptor codes.
Given the equation τ MAC ðv d Þ is expressed as where T totalHD is the time taken by PHY layer source symbol. It is assumed that a half-duplex ðksi = 0Þ operation is being used, which corresponds to the full cancellation of the selfinterference, and all resources are assumed available ðδ = 1Þ.

Results and Discussions
In this section, the system performance of factory of the future is developed and investigated in terms of packet reception rate (PRR ðρðv d , dÞÞ) and end-to-end delay in an indoor factory environment. Firstly, the performance of Repetition, RLNC, and Raptor Q codes are being compared in terms of different parameters such as sensor network densities, speeds, and spectrums. Sensor density is calculated as v d = 0:025 sensor/meter for sparse network, v d = 0:05 sensor/meter for moderate network, and v d = 0:1 sensor/meter for dense network as being computed by using Equations (15) and (16). To ensure consistency when comparing both codes, r sense = R is standardized to 100 m, and it is assumed that all resources are available ðδ = 1Þ . Also, half duplex operation ðksi = 0Þ is used to simulate all the sensors [55].
where N l indicates number of lanes as per stated in Table 1.

Wireless Communications and Mobile Computing
E2E delay is 1 ms. Figure 6 shows the performance comparison of Repetition and Raptor Q codes in perfect channel state information (CSI). It is shown that AL-FEC Raptor Q for static mid-band with dense network deployment has the results by having an E2E delay of 1 ms for coverage of 400 m. Meanwhile, the same spectrum of 3.5 GHz of Repetition codes has shown the distance coverage of 400 m with larger than 15 ms delay. This shows that it was unable to achieve the target URC E2E delay requirement, which is 1 ms, exceeding a huge delay gap of 7 ms, whereas Raptor Q codes of 28 GHz obtained a distance coverage of 391 m.
The performance of the mid-band spectrum gives an improvement of nearly 21 m. The combination of midband spectrum and Raptor Q codes at APP provide high tolerance towards packet error channel erasure by extending the coverage. Starting from this point onwards, the performances of source coding are compared between RLNC and Raptor Q and also be considered. Next, the E2E delay results were analyzed at dense network density with frequency diversity, as shown in Figure 7. In this case, the situation is investigated at a speed of 10 km/h. The difference in performance between the mid-band and high band is assessed by

12
Wireless Communications and Mobile Computing using RLNC and Raptor Q codes. It can be seen that at 3.5 GHz with dense network density and Raptor Q codes yield the best results compared to the rest. It covers a distance of 375 m at an E2E delay of 1 ms. Meanwhile, the same spectrum of RLNC codes also yields the same distance coverage as Raptor Q. Furthermore, based on the overall performances, it can be seen that the mid-band outperformed the high band. This is because the characteristics of the 3.5 GHz band are more stable and robust towards longer distance coverage during movement, whereas, the high-band signal (28 GHz) is highly susceptible to obstructions and signal interferences.
In addition to that, Figure 8 shows the performance comparison of E2E delay without frequency diversity. The performance of the simulation is assessed similarly in Figures 6 and  7. As predicted, the mid-band with Raptor Q codes at stationary          Figures 9 and 10 are analyzed in different networks at different speeds such as 3 km/h and 10 km/h, respectively. Raptor Q codes with the spectrum of 3.5 GHz, as shown in Figure 9(a) have shown a result, which was 225 m distance coverage at E2E delay of 1 ms, whereas as shown in Figure 9(b), the highest distance coverage by Raptor Q are slightly lower, which was 189 m. There is an increase of 6.4% in the mid-band sparse network at 3 km/h, whereas a 2% increase in high-band sparse at 10 km/h.
In Figure 10(a), static and 10 km/h in moderate scenarios using Raptor Q codes, the distance covered is observed to be 410 m within the targeted 1 ms delay. RLNC, however, is not achieving the URC targeted delay of 1 ms, although it has the same distance coverage as Raptor Q codes. Correspondingly, spectrum 3.5 GHz outperformed spectrum 28 GHz with the distance coverage difference of 100 m at the static condition and 58 m at the speed of 10 km/h. Afterward, Figure 10(b) showed the results of Raptor Q codes and RLNC at 3.5 GHz and 28 GHz spectrums. Raptor Q codes at 3.5 GHz outperformed the Raptor Q codes at 28 GHz by a total distance coverage difference of 75 m. However, at a speed of 10 km/h, only Raptor Q codes with mid-band 5G is achieving the URC-targeted E2E delay. Despite good distance coverage, the rest are not achieving the stringent requirement of URC targeted delay.
Concurrently, the results are being analyzed under a busy and dense network scenario, which is 100 sensors per km per lane. In addition, the results are also being observed at different speeds such as static, 3 km/h and 7 km/h. As expected, the mid-band spectrum outperformed the high-band spectrum in all four scenarios. In a dense network, the transmitted messages are experiencing a high rate of collision with one another which has caused an increase in E2E delay. Raptor Q codes in mid-band managed to achieve results within the targeted E2E delay. In Figures 11(a) and 11(b), at speeds of static and 3 km/h, the coverage area is up to 360 m, whereas the distance coverage is 280 m at speeds of 7 km/h. Figure 12 shows the comparison of PRR with different types of CE at the receiver in sparse and dense scenarios. Based on [1], the targeted range for PRR is 0.9. MMSE CE outperformed LS CE by 432 m in distance coverage by implementing Raptor Q codes scheme in sparse networks. Besides, Repetition codes with the MMSE CE scheme also outperformed LS CE by 385 m (dense) and 405 m (sparse), respectively. The rest of the results are observed and analyzed based on MMSE CE at different scenarios, spectrums, AL-FEC, and sensor speed.

Packet Reception Rate (PRR) Performance.
As shown in Figure 13, the results show a sparse network condition at speeds of static and 10 km/h, respectively. It is observed that Raptor Q codes at mid-band spectrum at stationary yielded the best result by having a distance of 426 m at PRR = 0:9 or 0.93% coverage improvement compared to RLNC, while RLNC of 10 km/h mobility at high band produced the worst results by having a distance of 402 m. This means that the Raptor Q codes scheme showed an improved distance coverage of 5 m or 1.2%.
Consequently, the results are obtained and analyzed in moderate conditions at static and 10 km/h as shown in Figure 14, whereas in Figure 15, the PRR is being analyzed in a dense scenario at static and 10 km/h. In a moderate static network scenario (mid-band), an improvement of 2 m or 0.47% can be observed, whereas at 10 km/h, an improvement of 4 m or 1% can be seen. On the other hand, a coverage improvement of 3 m (0.7%) and 10 m (3.9%) can be observed in the high-band spectrum at static and 10 km/h. Additional repair symbols are sent by Raptor Q codes to compensate for a target PRR's decreased performance. However, the cost associated with the additional repair symbols is relatively high. Tables 2 and 3 show the summary of the obtained results from Figure 16, Figure 13, and Figure 14. These tables are divided into three categories which are sparse, moderate, and dense network. Based on the overall results in all two tables, it can be observed that the difference in coverage between RLNC and Raptor Q codes at high band is in the dense network at a speed of 10 km/h, which is 10 m or 3.4% improvement. Meanwhile, in mid-band, the improvement of 7 m or 1.8% can be seen. This is because the Raptor Q codes have a high tolerance for packet errors as well as erasure channels. Each packet is believed to have an equal chance of error, and if a mistake occurs, the packet is expected to be "erased." Since the packet transmission at higher layers has the same characteristics as a binary erasure channel (BEC), thus, it is able to offer a good opportunity for the execution of Raptor Q codes.

Conclusion
In this paper, the performance of PRR and E2E delay is evaluated and analyzed by using two types of AL-FEC schemes, namely, RLNC and Raptor Q codes, as a comparison. To test the reliability of such codes, performance is tested in various scenarios such as network density, sensor's velocity, and different spectrums (3.5 GHz and 28 GHz) which are studied and analyzed.
Firstly, the delayed performance has shown that the Raptor Q codes are able to meet the strict URC requirement of 1 ms in all types of proposed scenarios (sparse, moderate, and dense). The Raptor Q codes also meet the 1-ms delay target in a static state as well as in a moving state of 3 km/ h, 7 km/h, and 10 km/h. In contrast to the RLNC, wherein some scenarios, its performance is not able to meet the pre-determined URC requirements. This clearly shows that the Raptor Q codes are ideal for obtaining low latency times at the APP layer. It is crucial to remember that Raptor Q executes systematic encoding, which means that the n source packets can be delivered in the uncoded form initially when they become available from the application, followed by the y-coded repair symbols.
Besides that, the results are evaluated at the packet reception rate (PRR). In the attached results, the Raptor Q codes are not only able to give good results (PRR = 0:9) of 1.2% in a high-density static scenario and 1.8% in high density 10 km/h mobility (mid-band), even the Raptor Q codes are also able to meet PRR = 0:9 in the mobility scenario at 10 km/h in dense network with the improvement of 3.4% or 10 m in distance coverage in the 5G high band. Achievable PRR indicates that the communication system is robust and highly reliable in packet delivery in the application layer. Meanwhile, the RLNC cannot meet the requirement of PRR = 0:9 in the dense scenario at a speed of 10 km/h. These results imply that the Raptor Q calculation for low overhead encoding and decoding for all generation sizes, n, will be significantly faster if the implementation has been tuned for the scenario when the number of symbols needed to construct the intermediate block is near to n. Furthermore, Raptor Q decoding performance is significantly greater than RLNC decoding throughput because Raptor Q has a linear asymptotic decoding difficulty, whereas RLNC decoding has an underlying asymptotic computational complexity of Oðn 3 Þ.
However, this paper only focuses on a specific generation size and symbol size setting for an indoor factory. As future work, it is necessary to introduce a smaller generation size such as 16, 32, and 64 bytes to improve the reliability and E2E delay, as well as to study the effect of reducing the generation size in an industrial setting.
Thus, the Raptor Q codes can be a good candidate for obtaining results within a strict range of requirements set by the URC use case. As a result, RLNC can be replaced with other common classes of rateless codes, such as Raptor Q, for reliable source coding, especially in an indoor factory deployment.

Data Availability
No data were used to support this study.

Conflicts of Interest
The authors declare that they have no conflicts of interest.