Package: simu5g.stack.phy
IPhy
module interfaceInterface for the Physical (PHY) layer of the LTE/NR protocol stack.
The PHY layer sends and receives MAC Protocol Data Units (SDUs) from the Medium Access Control (MAC) layer and transmits and receives frames over the radio medium. The PHY layer is responsible for handling the transmission and reception of radio frames, including measuring the Signal to Interference-plus-Noise Ratio (SINR) of received frames and determining whether they were received correctly or not. This is accomplished by utilizing an abstraction of the channel model without modeling the transmission and reception of individual symbols. Specifically, on the transmitting side, radio frames are sent directly to the intended receiver (via the sendDirect() method). On the receiving side, the ChannelModel class is used to obtain the SINR resulting from channel effects (such as path loss, fading/shadowing), as well as inter-cell interference, and to check the correctness of the reception using Block Error Rate (BLER) curves. The PHY layer also measures the uplink and downlink channel quality by computing Channel Status Information (CSI) for User Equipments (UEs) in both uplink and downlink directions. Handover management is also the responsibility of the PHY layer.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Implemented by
| Name | Type | Description |
|---|---|---|
| PhyBase | simple module |
Base module for the Physical (PHY) layer of the LTE/NR protocol stack. |
| PhyEnb | simple module |
Extends the PhyBase module by providing the specific PHY functions on the eNodeB side. It is responsible for checking if a frame received on the air interface originates from a User Equipment (UE) connected to the eNB itself, and it provides the functions necessary to compute the Channel Status Information (CSI) for the UEs connected to it. |
| PhyEnbD2D | simple module |
Extends the PHY functionalities on the eNodeB side to support device-to-device (D2D) communications. Specifically, it enables the computation of Channel Status Information (CSI) related to the D2D link between two UEs, which still needs to be stored at the eNodeB for scheduling purposes. |
| PhyUe | simple module |
Extends the PhyBase module by providing specific PHY functions on the User Equipment (UE) side. It ensures that frames received on the air interface are sourced from the serving eNodeB (eNB) and provides functions to manage the handover procedure, including periodic measurement of channel conditions to determine when a handover should occur. If enabled, the selection of the serving eNB at initialization is done dynamically based on radio conditions. |
| PhyUeD2D | simple module |
Extends the PHY functionalities at the User Equipment side to support device-to-device (D2D) communications. Specifically, it customizes the PhyUe functionalities to support the transmission and reception of frames to another UE directly, without going through the serving eNodeB. It also supports one-to-many D2D transmission to UEs belonging to a multicast group. It is assumed that one-to-one D2D communication is only possible when both endpoints are served by the same eNodeB. When a handover is triggered, this module is responsible for initiating a mode switch from direct (D2D) mode to infrastructure mode. |
Used in compound modules
| Name | Type | Description |
|---|---|---|
| LteNicBase | compound module |
The LteNicBase module serves as the foundational building block for LTE networking in Simu5G. It integrates protocols for LTE communication, including PDCP, RLC, MAC, and PHY layers. This base module allows higher-level modules, such as User Equipment (UE) and eNodeB (evolved Node B), to configure and utilize these layers according to their specific requirements. |
| NrNicUe | compound module |
Defines a User Equipment (UE) network interface card that supports both LTE and NR (New Radio) technologies. It extends the LteNicUe module by adding additional submodules and parameters to support NR-specific functionalities. D2D support is added by the NrNicUeD2D subtype. |
Properties
| Name | Value | Description |
|---|---|---|
| display | i=block/wrxtx |
Source code
// // Interface for the Physical (PHY) layer of the LTE/NR protocol stack. // // The PHY layer sends and receives MAC Protocol Data Units (SDUs) from the Medium Access Control (MAC) // layer and transmits and receives frames over the radio medium. The PHY layer is responsible for handling // the transmission and reception of radio frames, including measuring the Signal to // Interference-plus-Noise Ratio (SINR) of received frames and determining whether they were received // correctly or not. This is accomplished by utilizing an abstraction of the channel model without modeling // the transmission and reception of individual symbols. Specifically, on the transmitting side, radio frames // are sent directly to the intended receiver (via the sendDirect() method). On the receiving side, the // ChannelModel class is used to obtain the SINR resulting from channel effects (such as path loss, // fading/shadowing), as well as inter-cell interference, and to check the correctness of the reception using // Block Error Rate (BLER) curves. // The PHY layer also measures the uplink and downlink channel quality by computing Channel Status // Information (CSI) for User Equipments (UEs) in both uplink and downlink directions. // Handover management is also the responsibility of the PHY layer. // moduleinterface IPhy { parameters: @display("i=block/wrxtx"); gates: input upperGateIn; output upperGateOut; input radioIn; }File: src/simu5g/stack/phy/IPhy.ned