:::warning # <center><i class="fa fa-edit"></i> Introduction to O-RAN </center> ::: ###### tags: `RIC` `TEEP` `Internship` `OpenRAN Gym` :::success **Learning Objective: 🎯** The study objectives were to: - Gain insight on O-RAN & OpenRAN Gym - Understand the main concept ::: :::info **Reference: 📚** - [O-RAN Alliance](https://www.o-ran.org/) - [O-RAN Explanation](https://www.stl.tech/blog/understanding-o-ran-from-the-basics/) - [Open-RAN for 5G](https://www.5g-networks.net/5g-technology/openran-o-ran-for-5g-explained/) - [OpenRAN Gym](https://drive.google.com/file/d/1s1SNj7G_MbHZF-3j0w7ajj1udWoEbBtW/view?usp=sharing) ::: :::danger **Table of contents: 📜** [TOC] ::: ## Module 1: O-RAN ### 1. Evolution of network :::spoiler Click to view the fundamentals knowledge about evolution of network, you can skip this if you already understand \ The cellular technology has leapfrogged in the decades that have gone by, thus giving the users the ability to enjoy access of services and opened new infinite levels of possibilities in the world of communication technology. Before getting to O-RAN I believe it is important to understand the Radio Access Network (RAN). Mobile phones send and receive signals via ==low-energy radio waves==. They first communicate with a base station, and from there, they connect to other phones and base stations. These networks are called cellular networks. Below you can see a diagram showing a cellular network. ![image alt](https://www.stl.tech/blog/wp-content/uploads/2022/08/img1-7.png) Cellular networks started with the launch of ==1G in Tokyo in 1979==. It used analog radios and wireless technology and was the first Radio Access Network (RAN). After that, the US built the first commercial cellular network in 1983. And with the launch of ==2G GSM in Finland==, the popularity of cellular networks exploded worldwide. The European Telecommunications Standard Institute GSM technology was the most popular. Next, Qualcomm developed Code-Division Multiple Access (CDMA). But this was only available in North America, South America, Japan, and Korea through the predecessors of Sprint and Verizon. NTT Docomo commercialized ==3G in 2001==. There were two types of 3G: UMTS and CDMA2000; they made mobile internet access possible. However, the first cellular technology to use IP for all data packets, including voice, was ==4G-LTE==. It was launched in December 2009 in Oslo, Norway, and Stockholm. ==5G technology started in late 2018 and is the most recent RAN technology==. ::: ### 2. What is Radio Access Network (RAN)? A RAN, or Radio Access Network, helps in ==managing resources across radio sites==. It connects user equipment such as mobiles or computers and the core network with subscriber information, location, etc. ==The RAN is the radio part of a cellular network of cells containing at least one transceiver.== As mentioned above, they have evolved from the 1st generation to the 5th generation, each generation improving upon the last. The current RAN technology can transmit voice calls, text messages, video, and audio streaming. It uses the essential components below to communicate this data. 1. Antennas: These convert electrical ==signals to radio waves==. 2. Radios: These ==ensure the use of appropriate frequency bands== and power levels for communication. 3. Baseband Units: This component ==processes the signals==. It contains software and hardware to do that and makes wireless communication possible over radio waves. ![image alt](https://www.stl.tech/blog/wp-content/uploads/2022/08/img2-9.png) ### 3. What is Open RAN (O-RAN)? O RAN (Open RAN) refers to industry-wide standards for RAN (Radio Access Network) interfaces; it ==supports interoperation between vendors’ equipment==. As a result, the technology offers network flexibility at a lower cost. Primarily, open RAN enables an interoperability standard for RAN elements. And that includes interoperability for non-proprietary white box hardware and software from different vendors. Therefore, network operators opting for RAN elements with standard interfaces can change their vendors without changing their hardware and software. The ORAN standards will change the confidential nature of the RAN market, where RAN vendors have proprietary equipment and software. ORAN separates software and hardware, known as ==disaggregation.== You no longer need to use specific software for particular hardware. Therefore, an O RAN architecture makes the network more flexible and interoperable. The engineers are developing the ORAN technology using virtual RAN (vRAN) principles and technologies simply because vRAN has ==improved network malleability and security and reduced CAPEX and OPEX costs.== ### 4. O-RAN architecture The O-RAN architecture is well documented in the O-RAN alliance. The key elements of the O-RAN architecture are: - Service Management and Orchestration Framework (SMO)—includes an integration fabric and data services for the functions it manages. ==It allows managed functions to interoperate and communicate within the O-RAN.== The SMO connects to and manages the RICs, O-Cloud, the O-CU, and O-DU. - RAN Intelligent Controller (RIC) – There are ==two types of RICs== – non-real-time and near-real-time. Both are logical functions for controlling and optimizing the elements and resources of an O-RAN. A near-real-time RIC controls and optimizes elements and resources with granular data collection and communication over the E2 interface. The E2 interface connects the near-real-time RIC with the O-CU and O-DU. - O-Cloud is a cloud computing platform made up of the ==physical infrastructure nodes using the O-RAN architecture.== It also creates and hosts the various virtual network functions (VNFs) used by the RICs and other infrastructure elements. - O-RAN central unit (O-CU) – ==Logical node that hosts a handful of protocols,== which are the radio resource control (RRC), service data adaptation protocol (SDAP), and packet data convergence protocol (PDCP). - O-RAN distributed unit (O-DU) is a ==logical node that hosts another set of protocols==, which are the radio link control (RLC) protocol, medium access control (MAC) protocol, and the physical interface (PHY). - O-RAN Radio unit (O-RU) – It ==processes radio frequencies received by the physical layer of the network.== The processed radio frequencies are sent to the O-DU through a front haul interface. ![image alt](https://www.stl.tech/blog/wp-content/uploads/2022/08/img3-6.png) ### 5. How is O-RAN benefical? The advantages of O-RAN (Open RAN) are manifold. An open environment means an expanded ecosystem, with more vendors providing the building blocks. In O-RAN, there is more innovation and more options for the operators. They can also add new services. Some of the other benefits include ==more market competition and customer choice, lower equipment costs, and improved network performance.== Radio Access Network vendors only offer proprietary equipment and network functions. This is the main reason organizations began developing open RAN standards to break out of that legacy. Proprietary products are typically more expensive than generic counterparts. Because there aren’t third-party RAN elements that can be integrated into a RAN vendor’s infrastructure, a network operator is stuck with one RAN vendor’s products. In an open interface, third-party products can communicate with the main RAN vendor’s infrastructure. Network operators can also opt for the less-expensive third-party product that operates on generic hardware. As network operators look to transition to a vRAN architecture for 5G, using open RAN interfaces can reduce the cost of deploying this new technology. When 5G technology advances and changes, network administrators working with open standard-based vRANs can easily send updates to the network infrastructure to accommodate the changes. :::info **Key Components of O-RAN (Open RAN)** The primary components of O-RAN are: Cloudification: The O-RAN architecture involves hardware and software disaggregation and using RAN applications as cloud-native functions. The 5G RAN has three primary building blocks: 1. The Radio Unit 2. The Distributed Unit 3. The Centralized Unit Intelligence and automation: ORAN technology uses open management and orchestration with external AI/ML capabilities. Additionally, it has RAN automation interfaces. Open internal RAN interfaces: 5G ORAN technology includes interfaces defined by 3GPP and the ORAN Alliance. The interfaces are as follows: 1. Higher Layers Split 2. Inter-node Communication 3. O-RAN lower layer split 4. Near-Real-Time RIC ::: ### 6. O-RAN Implementation ORAN indeed creates new opportunities in radio access network technology. However, operators must ==consider network security== before implementing ORAN technology. It is necessary to have a secure microservices-based architecture for a safe, modern, cloud-native implementation of ORAN. The O RAN Alliance provides ==functional compliance to the specifications of components==. But for implementation, stakeholders require verification, integration, interoperability, and testing of the commoditized 5G RAN elements. These are necessary to support a plug-n-play model. Therefore, besides commoditization of services, you also need an efficient orchestration of the different ORAN 5G components. Only then can you guarantee stable networks. The implementation of ORAN technology may ==increase security risks==. First, the API exposure increases because an Open Radio Access Network can have different vendor apps. And each app will expose the APIs. Further, the network will be heterogeneous: apps will be on various network types. So we can’t consider any network to be safe while implementing. ### 7. O-RAN vs. vRAN Open RAN is a RAN technology where the software and hardware are ==open-source==. They are according to the open interfaces and standards developed by the community. vRAN uses a virtualized environment instead of dedicated hardware. A General Purpose Processor runs the baseband functions in vRAN. So, using vRAN, you can run baseband functions on a commercial off the shelf server. But the interfaces between baseband units and radio units are proprietary. However, ORAN technology also uses open source interfaces. The reason vendors use vRAN is that ==it is cost-effective.== As you don’t have to build custom hardware, you can develop and run the software on the cloud. That provides a low barrier to entering the RAN market. However, it may not offer great performance as an O RAN technology running on dedicated hardware. ![image alt](https://www.stl.tech/blog/wp-content/uploads/2022/08/img4-1.png) ### 8. Relation between O-RAN and OpenRAN Gym O-RAN (Open Radio Access Network) is an industry initiative focused on developing and promoting open and interoperable radio access networks. The goal of O-RAN is to create a more flexible and cost-effective way to build and operate mobile networks by using open interfaces, standardized software, and common hardware platforms. OpenRAN Gym, on the other hand, is an ==open-source platform that simulates O-RAN network environments.== It allows developers to test and experiment with O-RAN solutions in a virtual setting, without the need for physical hardware. OpenRAN Gym can be used for a wide range of purposes, including testing new O-RAN features, validating O-RAN software and hardware solutions, and training O-RAN engineers and researchers. In short, O-RAN is an industry initiative focused on developing and promoting open and interoperable radio access networks, while OpenRAN Gym is an open-source platform that simulates O-RAN network environments, allowing developers to test and experiment with O-RAN solutions in a virtual setting, without the need for physical hardware.