09.07.2015 Views

Understanding LTE Model Internals and Interfaces

Understanding LTE Model Internals and Interfaces

Understanding LTE Model Internals and Interfaces

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Session 1581<strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong><strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>R&D Solutions for Commercial <strong>and</strong>Defense NetworksCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in anyCONFIDENTIAL ─ format RESTRICTED without the ACCESS: prior written This information consent of OPNET may not Technologies, be disclosed, copied, Inc. or transmitted in anyformat without © the 2007 prior OPNET written Technologies, consent of OPNET Inc. Technologies, Inc.© 2010 OPNET Technologies, Inc.


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>AbstractCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.2


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Brief Technology Introduction• Goals• To improve the UMTS st<strong>and</strong>ard to cope with future technology evolutions• User dem<strong>and</strong> for higher data rates <strong>and</strong> QoS• ~300 Mbps downlink, ~100 Mbps uplink• Continued dem<strong>and</strong> for cost reduction (CAPEX <strong>and</strong> OPEX)• Low complexity• Compatibility <strong>and</strong> inter-working with earlier 3GPP Releases• Introduced in 3GPP specification Release 8 <strong>and</strong> can be found in the 36-series• OFDMA in the downlink• SC-FDMA in the uplink• The resulting architecture is called EPS <strong>and</strong> comprises• E-UTRAN on the radio access side• EPC on the core side• Marketed as 4G• Actually a 3.9G technology• Doesn’t fully comply with the IMT Advanced 4G requirements.CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.3


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>OPNET's <strong>Model</strong> Development Consortia• <strong>LTE</strong> <strong>Model</strong> Development Consortium• Prominent network equipment manufacturers, service providers, defenseorganizations• Benefits to Consortium Members• Early access to <strong>LTE</strong> model• Opportunity to influence design requirements• Phased release schedule• Phases I <strong>and</strong> II released so far• Phase III very close to completion• Phase IV <strong>and</strong> other advanced features planned• Some current members include Aerospace Corporation, AT&T, DoCoMoEuro-Labs, InterDigital, NIST, Samsung, <strong>and</strong> Sony• Successful past consortia• WiMAX, UMTS, MANET, MPLS, <strong>and</strong> DOCSISCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.4


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong><strong>LTE</strong> <strong>Model</strong> Features Up to Phase II• PHY• OFDMA for downlink & SC-FDMA for uplink• Supported channels: PDCCH, PUCCH, PHICH,PDSCH, PUSCH, PRACH• BLER modulation curves with turbo coding <strong>and</strong>circular buffer rate matching algorithm for eachmodulation <strong>and</strong> coding scheme (MCS)• Multiple path loss models• Multipath channel model for uplink <strong>and</strong>downlink• Interference on data channels from other data <strong>and</strong>control channels• Intra- <strong>and</strong> inter-cell interference• HARQ• Synchronous retransmissions with implicit grantson uplink• Asynchronous retransmissions on downlink• Type-II incremental redundancy• ACK to NACK <strong>and</strong> NACK to ACK errormodeling• MAC• GBR/Non-GBR EPS bearers• Logical <strong>and</strong> Transport Channels• R<strong>and</strong>om Access Procedure• Frame generation <strong>and</strong> Scheduler• MAC• Scheduling Requests• Buffer Status Reporting• Admission Control• RLC• Acknowledged, Unacknowledged <strong>and</strong>Transparent Modes• Segmentation of retransmitted PDUs in case ofsmall grants into PDU segments• Configurable RLC parameters for each radiobearer for each direction• PDCP: Compression for TCP/IP <strong>and</strong> UDP/IPheaders• EPS Mobility Management (EMM)• EPS Session Management (ESM)• S1 Signaling <strong>and</strong> EPS BearerSetup/Modification/Release• General• Efficiency mode to disable PHY layer• Tagged EPS/radio bearer related statistics• 3 <strong>and</strong> 6 sector eNodeBs• Router UE nodeCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.5


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong><strong>LTE</strong> <strong>Model</strong> Proposed Roadmap*Future Phases – Subject to Change Based on Customer Requirements• Phase-III: Channel DependentModulation <strong>and</strong> Scheduling• Channel dependent scheduling• CQI <strong>and</strong> rate adaptation• Energy consumption model• Single-cell downlink broadcast• <strong>LTE</strong> Network Deployment Wizard• Initial cell selection• Phase-IV: Mobility <strong>and</strong> H<strong>and</strong>overs• Intra-E-UTRAN <strong>and</strong> intra-frequency h<strong>and</strong>overwith <strong>and</strong> without X2 support• GGSN services by EPC to legacy SGSNs• Application Delay Tracking• Multimedia Broadcast Multicast Service(MBMS)• Other features• MIMO• 2x2• Spatial multiplexing• IPv6 support• Device Creator support• Power savings• <strong>LTE</strong>_IDLE state• PCCH <strong>and</strong> PCH• Dynamic failure/recovery of basestations* This information is provided for planning purposes only <strong>and</strong> is subject to change without notice. This does not represent acommitment by OPNET to deliver any or all capabilities in any particular timeframe.CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.6


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Agenda• <strong>LTE</strong> Network Architecture• <strong>LTE</strong> Node <strong>and</strong> Process <strong>Model</strong>s• UE Architecture• eNodeB Architecture• Lab 1: Admission Control Customization• EPC Architecture• Global Attribute Definer Object• Demo 1: <strong>LTE</strong> Channel Capacity• <strong>LTE</strong> Features• EPS, EMM, PDCP, RLC• MAC• eNodeB: Frame Generator, Scheduler <strong>and</strong> HARQ• Lab 2: Scheduler Customization• UE: Buffer Status Reporting <strong>and</strong> R<strong>and</strong>om Access• PHY• Architecture <strong>and</strong> MAC to PHY interface• PHY Features• Lab 3: Pathloss Customization• Documentation ReferencesCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.7


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Typical <strong>Model</strong>ed Network ArchitectureUE withcomplete TCP/IPstackeNodeBs (1, 3 <strong>and</strong> 6 sectors)Evolved Packet CoreNetwork withIP/GTP SupportCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.8


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Data Traffic Flow in <strong>LTE</strong> Networksuplink dataon radiobearercorresponding GTP tunnel carrying uplink datadownlink data in GTP tunnelIP packets entering the <strong>LTE</strong> networkare mapped to GTP tunnelscorresponding radio bearercarrying the downlink dataGTP Encapsulation/DecapsulationEPS BearerRadio BearerS1 BearerCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.9


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Simulation <strong>Model</strong> Entities• <strong>LTE</strong> eNodeB• lte_enodeb_atm4_ethernet4_slip4• lte_enodeb_ethernet4• lte_enodeb_slip4• lte_enodeb_3sector_slip4• lte_enodeb_6sector_slip4• <strong>LTE</strong> configuration node• lte_attr_definer• <strong>LTE</strong> EPC Node• lte_epc_atm8_ethernet8_slip8• <strong>LTE</strong> UE• lte_wkstn• lte_server• <strong>LTE</strong> UE Router• lte_ue_ethernet_gtwyCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.10


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>UE NAS• Initiates the attachment procedure to the network (EPC)• Controls activation/deactivation of EPS bearers depending upon trafficactivity• While the EPS bearer is setup, data packets mapped to that bearer are queuedlte_ue_nas.pr.mSends ESM “modifydedicated EPS bearerREQUEST” message to EPCSends ESM “Activatededicated EPS bearerACCEPT” message to EPCSends ESM “Deactivatededicated EPS bearerACCEPT” message to EPCFlushes the buffer of aninactive EPS bearerCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.12


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>UE AS• Requests b<strong>and</strong>width for higher layer data• Sends Uplink data in assigned grants• Performs HARQ <strong>and</strong> RLC retransmissions for Uplink MPDUs in error• Processes Downlink datalte_ue_as.pr.mSteady state – connectedto an eNodeBRequests b<strong>and</strong>width usingPUCCHRequests b<strong>and</strong>width usingRACHCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.13


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>UE AS: R<strong>and</strong>om Access Process• Child process of lte_ue_as.pr.m• Sends a preamble on the r<strong>and</strong>om access channel• Sends an uplink MPDU in the grant contained within the r<strong>and</strong>om access response message• Performs HARQ retransmissions of the uplink MPDU until contention resolution message isreceived or the timer expireslte_rach.pr.mAwaiting r<strong>and</strong>om access response messagefrom the eNodeBAwaiting initial preambletransmissionAwaiting contention resolution message fromthe eNodeBCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.14


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Agenda• <strong>LTE</strong> Network Architecture• <strong>LTE</strong> Node <strong>and</strong> Process <strong>Model</strong>s• UE Architecture• eNodeB Architecture• Lab 1: Admission Control Customization• EPC Architecture• Global Attribute Definer Object• Demo 1: <strong>LTE</strong> Channel Capacity• <strong>LTE</strong> Features• EPS, EMM, PDCP, RLC• MAC• eNodeB: Frame Generator, Scheduler <strong>and</strong> HARQ• Lab 2: Scheduler Customization• UE: Buffer Status Reporting <strong>and</strong> R<strong>and</strong>om Access• PHY• Architecture <strong>and</strong> MAC to PHY interface• PHY Features• Lab 3: Pathloss Customization• Documentation ReferencesCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.15


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>eNodeB S1• Exchanges S1 messages with the EPC• Acts as a translator between the core (EPC) <strong>and</strong> radio (EUTRAN) domains• Communicates UE NAS messages to the core side• Translates the core NAS message for the radio side: e.g. bearer activate,deactivate etc.Communication TO thecore sidelte_s1.pr.mCommunication FROMthe core sideCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.16


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>eNodeB AS• Keeps a record of all admitted UEs• Performs admission control to manage radio resources for GBR bearers• Communicates with S1 for this purpose• Creates Uplink <strong>and</strong> Downlink subframes for sending/receiving traffic on thewireless medium• Performs scheduling of traffic on radio resources• Manages uplink/downlink HARQ retransmissions.• Receives Uplink MPDUs <strong>and</strong> sends Downlink MPDUs• Performs HARQ <strong>and</strong> RLC retransmissions for Downlink MPDUs in errorlte_enb_as.pr.mUL/DL framing – everyTTI (1 ms)CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.17


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>EPS BearerActivation/Deactivation/Modification• Bearers can be activated, deactivated, <strong>and</strong> modified on-the-fly• Activation:• Activation begins at the higher layer (NAS)• Both the network-initiated <strong>and</strong> UE-initiated cases supported• Deactivation:• Bearer deactivation can begin at the NAS or radio level• In OPNET, bearer deactivation is supported for idle bearers, which starts at theradio level at the eNodeB• Bearers can also be preempted, in which case, they are torn down from thesystem in a similar way as the inactive bearers• Modification:• Modification of the bearer’s QoS parameters is defined at the higher layer in thest<strong>and</strong>ard (NAS)• In OPNET, QoS parameters are not modified at the EPS or radio level, althoughbearer modification message is used when it is rejected at the setup• In lab 1, bearer modification will be achieved at the radio layerCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.18


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Admission Control in <strong>LTE</strong>• Starts at the NAS layer of the UE or the core network• A chain of ESM <strong>and</strong> RRC messages needs to be exchanged• Applicable only for the GBR bearers• Non GBR bearers are admitted by default• A brief functional overview• The core communicates EPS ID <strong>and</strong> QoS parameters of the bearer to the eNodeB• eNodeB S1 translates the EPS information to the radio information (EPS_ID RB_ID) for the eNodeB AS• eNodeB AS uses a custom procedure to calculate if this GBR bearer should be admittedby looking at the available radio resources• If the bearer can be admitted, the eNodeB AS exchanges RRC messages with the UEAS• Else the NAS at the core is informed about the rejection of EPS bearer• ESM messages are created for the core to indicate that the radio part of the bearer isactive• Finally, the core network starts sending traffic mapped to this bearerCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.19


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>A Typical Bearer Activation MessageExchange ChartUEeNodeB ASeNodeB S1EPC coreUE receivesESM bearerACTIVEmessageAdmission control:Decision = ADMITRRC Reconfiguration:(RB ID)RRC ReconfigurationAccept: (RB ID)Translator for the AS:(comm<strong>and</strong>: Activate,RB ID, QoS profile)Translator for the S1:(comm<strong>and</strong>: Activate,EPS ID)ESM bearer activationmessage: EPS ID, QoSprofileESM bearer activationACCEPT message:EPS IDDownlink traffic arrivesAdmission controlcan preempt a lowerpriority bearer in theprocessTranslator for the S1:(comm<strong>and</strong>: Release,EPS ID)ESM bearerdeactivationREQUEST message:EPS IDBegin sending downlinktrafficBegin the bearer deactivation process by sending the ESM bearerdeactivation, which will eventually be communicated via RRC messagesto the appropriate UE.The radio side of each GBR EPS bearer goes through admission control. The code isimplemented in lte_admit_control_support.ex.cCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.20


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Bearer Activation: UE Initiated CaseUEeNodeB ASeNodeB S1EPC coreUplink trafficarrivesESM bearer resource modification requestBegin the bearer activation process using the same messaging as was usedin the downlink data arrival case as shown on the previous slide• ESM bearer resource modification request• Sent using the signaling bearer on the uplink radio access to the eNodeB• eNodeB forwards to S1, which sends it to the EPC core in the usual GTP tunnel• Does not modify QoS parameters even if rejected• Keeps trying until maximum attempts are exceededCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.21


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Lab 1: Admission Control Customization•Objectives•Underst<strong>and</strong> how the admission control algorithm monitors radioresources <strong>and</strong> admits/rejects/preempts radio bearers•Customize the admission control algorithm with a certainobjective•Analyze the admission control logic using detailed traces <strong>and</strong>statistics•Time: 40 minutesCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.22


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Lab 1: Take away points•OPNET supports dynamic activation, <strong>and</strong> deactivation of EPSbearers•It is possible to modify the bearer QoS at the radio level• It is possible to easily interface with the admission control module withoutneeding any additional work in communication with the core side• Bearer QoS can be modified locally at the radio level• IMPORTANT: In this lab, we are not modeling EPS bearer modificationprocess. The bearer QoS is changed locally at the eNodeB AS. Ideally, sucha change would trigger the EPS modification message, but it is notimportant for our purposes, <strong>and</strong> hence not modeled• Using detailed traces <strong>and</strong> statistics, the admission control module can be easilyanalyzedCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.23


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Agenda• <strong>LTE</strong> Network Architecture• <strong>LTE</strong> Node <strong>and</strong> Process <strong>Model</strong>s• UE Architecture• eNodeB Architecture• Lab 1: Admission Control Customization• EPC Architecture• Global Attribute Definer Object• Demo 1: <strong>LTE</strong> Channel Capacity• <strong>LTE</strong> Features• EPS, EMM, PDCP, RLC• MAC• eNodeB: Frame Generator, Scheduler <strong>and</strong> HARQ• Lab 2: Scheduler Customization• UE: Buffer Status Reporting <strong>and</strong> R<strong>and</strong>om Access• PHY• Architecture <strong>and</strong> MAC to PHY interface• PHY Features• Lab 3: Pathloss Customization• Documentation ReferencesCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.24


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>EPC• EPC S1/NAS mainly:• Exchanges S1 messages with the eNodeB mainly carrying NAS messages• Exchanges NAS messages with the UE for initial network attachment• Exchanges NAS messages with the UE for bearer activation/deactivation/modification• Provides UE subscription <strong>and</strong> EPS bearer mapping information to GTP to performtunnel encapsulationlte_s1_nas.pr.mCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.25


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Agenda• <strong>LTE</strong> Network Architecture• <strong>LTE</strong> Node <strong>and</strong> Process <strong>Model</strong>s• UE Architecture• eNodeB Architecture• Lab 1: Admission Control Customization• EPC Architecture• Global Attribute Definer Object• Demo 1: <strong>LTE</strong> Channel Capacity• <strong>LTE</strong> Features• EPS, EMM, PDCP, RLC• MAC• eNodeB: Frame Generator, Scheduler <strong>and</strong> HARQ• Lab 2: Scheduler Customization• UE: Buffer Status Reporting <strong>and</strong> R<strong>and</strong>om Access• PHY• Architecture <strong>and</strong> MAC to PHY interface• PHY Features• Lab 3: Pathloss Customization• Documentation ReferencesCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.26


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Global <strong>LTE</strong> Config Attributes• EPS bearers• Each UE that configures anEPS bearer with this nameborrows the QoS configuredhere• Efficiency attributes• Can run a simulation withoutneeding PHY effects• Ideal for capacitystudies/error free channelconditions• PHY profiles• Each profile should beconfigured with both UL/DL• The channel b<strong>and</strong>widthinfluences the capacity of thechannel the mostCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.27


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong><strong>LTE</strong> Frame Structure in Time Domain• Type I FDD frame is supported• Frame Length: 10 ms• Subframe length:1 ms• Scheduling <strong>and</strong> frame generation happens every subframe• Slot length: 0.5 ms• Slots consist of either 6 or 7 ODFM symbols, depending on whether thenormal or extended cyclic prefix is employed.CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.28


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong><strong>LTE</strong> Frame Structure in FrequencyDomain• A resource block consists of 12 subcarriers,each 15 kHz wide• A pair of two Resource Blocks (RBs) isthe minimum allocation unit used by thescheduler while determining theallocations on a frame• The pairing is in time domain, making theallocation unit one subframe (1 ms) in length• The term transport block (TB) is sometimesused for the pair. Some resources use the termresource block to refer to the transport block• Downlink reference symbols occupy 4resource elements in each RB• Uplink reference symbols occupy 12resource elements in each RB• This overhead is accounted for whilecomputing the frame capacity for theadmission control procedureCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.29


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong><strong>LTE</strong> Channel Capacity• Capacity depends upon:• Modulation <strong>and</strong> coding index (MCS) – the higher the MCS index, the more the capacity• Number of free resource elements per transport block – for the downlink, this number can vary ineach subframe• The st<strong>and</strong>ard (36.213) provides a table (7.1.7.2.1-1) of mapping between number of RBs<strong>and</strong> capacity in bits using 120 resource elements per block (REs) as a baseline• A Downlink channel with 2 transmitters <strong>and</strong> 3 columns taken by the PDCCH would have 120 REsper block• If the REs of a block are different, the bit carrying capacity is scaled proportionally• At the end of the simulation, for each eNodeB, a table is created to give you an estimate ofthe channel capacity• A capacity estimate used by the admission control module is also given separatelyCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.30


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Demo 1: <strong>LTE</strong> Capacity Planning Study• The OT table capacity estimate is nice, BUT• It is an “estimate” with the assumption that a single UE occupies the whole channel• Typically multiple UEs share the channel• Different MCS indexes, different traffic requirements• Estimate is based upon ideal conditions <strong>and</strong> cannot account for dynamic changes• Extra allocations required due to channel errors• How to use OPNET <strong>Model</strong>er for planning studies• Map application traffic to GBR bearers <strong>and</strong> set up a traffic contract to closely match theapplication requirements + lower layer overheads• Admission control: Acts as the first filter in capacity estimation: Find out how many GBRbearers are active• Monitor the shared channel usage statistics to underst<strong>and</strong> how they are utilized• Uplink <strong>and</strong> Downlink should be analyzed separately• Find out if one of them acts as a bottleneck• Implement possible customizations to improve performance• We will learn some tricks in lab 2• Draw inferences, make adjustments <strong>and</strong> find the configurations that give satisfactory resultsCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.31


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Demo 1: A Planning Study Example• Inputs:• eNodeB with a 3 MHz UL <strong>and</strong> DL channel• Each UE has an FTP upload/download application• 96 Kbps for both upload <strong>and</strong> download• The initial planning committee made some advanced calculations <strong>and</strong> determined that UEs with the followingcharacteristics should be supported:MCS Index092028Number of UEs161631• Requirements:• SLA requirement is that each upload/download should occur in less than 1 second• Planning question:• Can this be done? If not, how many UEs can really be served without violating the SLA?CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.32


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Demo 1: Planning Approach• First use the admission control module to figure out how many UEs“should” be served• Admission control provides rough estimates only• Scenario: capacity_planning_demo: 53 were admitted using 96 Kbps contract• The initial planning committee was pretty close in their estimate• Results: SLA violated – delays ~ 30 seconds• Reason: The uplink is saturated! Uplink also carries extra signaling overhead(for HARQ ACKs) that we shall study later• Now make the admission criterion stricter• Make the loading factor < 1• First decreased to 0.75 (Scenario: capacity_planning_demo2): Still large delays• At 0.6 loading factor (Scenario: capacity_planning_demo3), stable performancewas observed with 33 admissions• Uplink is pretty close to the saturation point• Hence 33 UEs is the best we can do under the circumstances!• Of course there is R&D• You can improve scheduling algorithms…here is an idea: Schedule on theDownlink only if the probability of getting scheduled on the Uplink is high…thisminimizes wastage on the Uplink <strong>and</strong> it won’t be the bottleneck!CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.33


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Agenda• <strong>LTE</strong> Network Architecture• <strong>LTE</strong> Node <strong>and</strong> Process <strong>Model</strong>s• UE Architecture• eNodeB Architecture• Lab 1: Admission Control Customization• EPC Architecture• Global Attribute Definer Object• Demo 1: <strong>LTE</strong> Channel Capacity• <strong>LTE</strong> Features• EPS, EMM, PDCP, RLC• MAC• eNodeB: Frame Generator, Scheduler <strong>and</strong> HARQ• Lab 2: Scheduler Customization• UE: Buffer Status Reporting <strong>and</strong> R<strong>and</strong>om Access• PHY• Architecture <strong>and</strong> MAC to PHY interface• PHY Features• Lab 3: Pathloss Customization• Documentation ReferencesCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.34


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>EPS Mobility Management (EMM)• Registration of UEs to the <strong>LTE</strong> network via EMM Attach procedure ismodeled• An eNodeB can serve multiple EPCs• Once the attachment is completed, UEs remain in the <strong>LTE</strong>_Activestate, the IN_SYNC sub-state, <strong>and</strong> in the RRC_Connected state• The attachment procedure is implemented based on Figure 5.3.2.1-1:"Attach Procedure" in 3GPP TS 23.401 "General Packet Radio Service(GPRS) enhancements for Evolved Universal Terrestrial Radio AccessNetwork (E-UTRAN) access".CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.35


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>EPS Session Management (ESM)• Dedicated Bearer Activation Procedure• MME initiated Dedicated Bearer Deactivation Procedure• GTP Tunneling Between eNodeB <strong>and</strong> EPC Nodes• GTP tunnels carry the EPS bearers in the core network.• A GTP tunnel is dynamically established for each EPS bearer.• The GTP layer is located at the eNodeB <strong>and</strong> EPC nodes as follows:• IP datagrams are sent through the corresponding GTP tunnels in the <strong>LTE</strong> corenetwork with the following encapsulation headers:CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.36


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong><strong>LTE</strong> Packet Transmission in OPNETIP TrafficIP PayloadIP PayloadIP PayloadTCP/IP <strong>and</strong> UDP/IP headercompression (optional)lte_pdcp_pdulte_pdcp_pdulte_pdcp_pduTraffic classificationRLC operation:-Segmentation- Concatenation- Reordering- Re-transmissions-Status reportsClassifier (IP packet EPS bearer)RLC buffer, bearer a RLC buffer, bearer b RLC buffer, bearer a RLC buffer, bearer clte_rlc_amd_pdu lte_rlc_umd_pdu lte_rlc_amd_pdu lte_rlc_umd_pduSchedulerlte_mac_sdu lte_mac_sdu lte_mac_sdu lte_mac_sduFrame Generatorlte_mac_pdulte_mac_pduHARQHARQ process jHARQ process k (≠j)Radio TransmissionSubframe n MPDUSubframe n+1transmissionMPDUtransmissionCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.37


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>PDCP Features <strong>and</strong> Related Code• PDCP overhead of 16 bits is added to all higher-layer packets.• PDCP header compression is performed for UDP/IP <strong>and</strong> TCP/IP headers forall higher-layer packets.• Encapsulation: All packets entering <strong>LTE</strong> go through PDCP encapsulation• lte_pdcp_pdu• Encapsulation occurs in lte_support_pdcp_higher_layer_to_pdcp_pdu_convert() inlte_support.ex.c• Compression supported conditionally for TCP/IP <strong>and</strong> UDP/IP• lte_support_pdcp_header_comp_size_compute() in lte_support.ex.c does thecompression job• Compression algorithm: A compression factor generated using aconfigured distribution• Compression reflected by setting the a negative bulk size for lte_pdcp_pdu• Decapsulation:• Simply recovers original packet – its size was never changed• lte_support_pdcp_pdu_to_higher_layer_convert() in lte_support.ex.cCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.38


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>RLC Features• Segmentation <strong>and</strong> concatenation procedures are performed using a dynamicPDU size that is determined by the scheduler decisions.• The model supports the following RLC modes:• Transparent mode—No RLC header is included in this mode.• Unacknowledged mode—This mode ensures in-sequence delivery of SDUs to thehigher layers.• Acknowledged mode—This mode ensures retransmission of missing SDUs in additionto in-sequence delivery of SDUs to the higher layers.• While transmitting PDUs, an RLC entity in acknowledged mode follows this priorityorder: status report PDU > retransmitted PDU(s) > PDU with new data• While retransmitting RLC AMD PDUs, segmentation of the retransmitted PDUs incases of small maximum allowed PDU sizes is supported• SRBs use RLC UM mode• The RLC mode of the data radio bearers is configurable separately for uplink <strong>and</strong>downlink• Default bearer always uses UM• CCCH transmissions use transparent mode, <strong>and</strong> TM is used only by CCCHtransmissionsCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.39


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>RLC Code• All RLC functionality resides in models/std/lte/rlc_support.ex.c• The MACRO RLCC_MAX_TX_SDU_COUNT defined in rlc_support.hcontrols the RLC buffer size• <strong>Model</strong>ed as a constant with a capacity of 1500 packets for each radio bearer: Packetscan be of any size, though typical TCP/IP packets will be at most 1500 bytes• Enqueue/dequeue functions:• rlc_support_rlc_sdu_enqueue()• rlc_support_lte_rlc_pdu_create()• Other important functions• rlc_support_tx_queue_size_in_bits_get(): Get the size of the queue. This is how thescheduler would know if the queue is empty.• rlc_support_is_tx_window_stalled(): This is important for the scheduler to know. Astalled RLC window is treated the same as empty buffer• rlc_support_lte_min_pdu_header_size_get(): This is important for the framegenerator. If it does not have resources to allocate even the minimum RLC PDUheader, it should not allocate any resources at all.CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.40


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Agenda• <strong>LTE</strong> Network Architecture• <strong>LTE</strong> Node <strong>and</strong> Process <strong>Model</strong>s• UE Architecture• eNodeB Architecture• Lab 1: Admission Control Customization• EPC Architecture• Global Attribute Definer Object• Demo 1: <strong>LTE</strong> Channel Capacity• <strong>LTE</strong> Features• EPS, EMM, PDCP, RLC• MAC• eNodeB: Frame Generator, Scheduler <strong>and</strong> HARQ• Lab 2: Scheduler Customization• UE: Buffer Status Reporting <strong>and</strong> R<strong>and</strong>om Access• PHY• Architecture <strong>and</strong> MAC to PHY interface• PHY Features• Lab 3: Pathloss Customization• Documentation ReferencesCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.41


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong><strong>LTE</strong> MAC Implementation Overview:eNodeB•Process model lte_enb_as.pr.m• UL <strong>and</strong> DL framing – all functions in the same process model• Scheduling – Most of the functionality in lte_sched_support.ex.c <strong>and</strong>externally callable functions are called from the process model• Support functionality in lte_support.ex.c• Mapping bits to allocation blocks <strong>and</strong> vice versa• Managing the database of control channel elements in PDCCH• Managing all control channels such as PDCCH, PUCCH, <strong>and</strong> RACH• HARQ functionality – some functionality in harq_support.ex.c <strong>and</strong> some in thesame process model• RLC functionality: RLC functions are called from this process model• Admission control – Most of the functionality inlte_admit_control_support.ex.c, <strong>and</strong> the externally callable functions are calledfrom the process model• Uplink received data processing – all functions in the same process modelCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.42


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong><strong>LTE</strong> MAC Implementation Overview: UE•Process model lte_ue_as.pr.m• Child process model lte_rach.pr.m h<strong>and</strong>les r<strong>and</strong>om access procedureexclusively• SR/BSR – all functions in the same process model• Grant processing – all functions in the same process model• UE uses the same scheduler as the eNodeB to “fill” its grants from variousradio bearer queues• HARQ functionality – some functionality in harq_support.ex.c <strong>and</strong> some in thesame process model• RLC functionality: RLC functions are called from this process model• Downlink received data processing – all functions in the same process modelCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.43


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Scheduler Support at the eNodeB• Frame generator, <strong>and</strong> the scheduler are distinct entities• Frame generator deals with the “framing” <strong>and</strong> underst<strong>and</strong>s the resources available for data, howbits can be mapped to these resources etc• Scheduler is oblivious to the “frame”• Ideally, you should be able to use the scheduler package for any entity• Scheduler only finds the identity <strong>and</strong> optionally the number of bits of the “next queue to serve”• By default, the scheduler is even oblivious to RLC (data buffers), although this need not be thecase• Scheduler can recommend “infinity”, <strong>and</strong> the frame generator will decide exactly howmany bits are served• If the scheduler does specify a finite number, the frame generator treats it as the “upperlimit” of the amount of bits to be served• Frame generator is a client of the scheduler• Very complex…needs to manage multiple RBs per UE, decide termination criterion etc• Can block/unblock some scheduler queues to exclude/include them in scheduling• Scheduler code:• Scheduler code is implemented in lte_sched_support.ex.c <strong>and</strong> lte_sched_sup.h• Frame generator code is in lte_enb_as.pr.m:• DL function: lte_enb_as_dl_frame_generate()• UL function: lte_enb_as_ul_frame_generate()CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.44


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Technical Paper Published on the <strong>LTE</strong>Consortium Website•A technical paper describing the framegenerator/scheduler concepts <strong>and</strong> detailed codedescription/interfaces published on the <strong>LTE</strong> consortiumwebsite•“<strong>LTE</strong> Frame Generator <strong>and</strong> Scheduler Description”CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.45


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>DL Frame Generator Block DiagramFrameGeneratorSchedulerSet Scheduler callbacks (dependingupon the pass)Reset the scheduler (erase transientmemory)Makes group1 currentQ 1Q 2Q 3Q 4Q 5Q 6Group 1 Group 2 Group 3Don’tterminateINVALID Q iGet (Q i , R i ) R i being therecommended bits to serveVALID Q iCalculate N i , the maximum number ofincremental allocation blocks that canbe given to this queue <strong>and</strong> S i , thecorresponding bits that can be servedAsk the RLC module to return one ormore RLC PDUs not exceeding (S i –MAC overheads)Recalculate N’ i


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong><strong>Underst<strong>and</strong>ing</strong> How to Interface to the DLFrame Generator• Entry function: lte_enb_as_frame_dl_frame_for_harq_tx_generate()• Pass 1: Called for all queues. For GBR queues, only a maximum of contract bits served.• Pass 2: Called only for the GBR queues. Excess traffic in GBRs served.• Pass 3: Called if PDCCH gets congested before PDSCH.• In order to prevent creating new control channel elements, all unserved UEs areblocked, <strong>and</strong> remaining PDSCH resources are distributed only to the served UEs.• At the start of the framing, set scheduling callbacks:• lte_sched_support_q_selection_proc_set()• Procedure that finds the “next queue”• lte_sched_support_bit_selection_proc_set()• Procedure that “recommends” bits to be taken from the queue’s buffer• That’s pretty much it! Interface reduced potentially to 2 lines only• Frame generator in turn calls (until resources remain, or buffers are nonempty):• lte_sched_support_next_q_get(): Gets the queue ID (crnti, RB) <strong>and</strong> the “recommendedbits”• Frame generator has the ability to determine termination, reset the scheduler system, potentiallyset different callbacks each time, exclude/include queues in the scheduling process etc!• We recommend you leave the frame generator undisturbed!CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.47


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Downlink Framing SequenceSet PDCCH symbol times = 3(# of columns anticipated forPDCCH)Create r<strong>and</strong>om accessresponses. Adjust number ofRBs available for data.Create CCCH messages.Adjust number of RBsavailable for data.Place HARQ retransmissionMPDUs on the DL. Adjustnumber of RBs available fordata.Schedule new MPDUs. Adjustthe number of RBs availablefor data.More RTX <strong>and</strong> no more RBsAttempt to resize the PDCCHsize into 1 or 2 columnsNo more RBs AND PDCCH NOT resized alreadyPDCCH resized to 1 or 2 symbolsAttempt to resize the PDCCHsize into 1 or 2 columnsPDCCH cannot be resizedEXITAll buffers empty OR PDCCH resized alreadyCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.48


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Summarizing the Best Practices forInterfacing a Custom DL Scheduler• Most recommended approach: Adhere to the OPNET architecture• Let OPNET’s frame generator take care of the actual framing for you• Refer to Appendix C for a non-recommended interfacing example• Write two scheduler callbacks of type (declared in lte_sched_sup.h) :• LteT_Scheduling_Q_Selection_Proc• LteT_Scheduling_Bit_Selection_Proc• Set the custom callbacks at the beginning of lte_enb_as_dl_frame_generate()function (defined in lte_enb_as.pr.m).• Pass 3 should always be used. Passes 1 <strong>and</strong> 2 can be combined into a single pass, ifyour scheduling algorithm had different objectives• Output of the DL frame generator• Created MPDUs• UE context, Number of resource blocks, MCS index, Downlink MPDU,HARQ context• Use the trace lte_frm to examine how the frame is constructed• The trace lte_low_level gives detail information about how each MPDU wasconstructedCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.49


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>HARQ Support for DL• Asynchronous adaptive HARQ• An open HARQ process must be found for new MPDU transmissions• Eight HARQ processes supported.• HARQ context is exclusively signaled on the control channel• Signaling occurs on PDCCH. DCI format 1 is set for downlink carryingHARQ process ID, NDI bit <strong>and</strong> the redundancy version• HARQ retransmission can be scheduled any time at any location on the framestarting from n+8• Technically it can also carry any MCS index, although it is not done bydefault• All retransmissions served before any new transmission• Acknowledgment mechanism:• Either PUCCH or PUSCH channel is used for sending ACK back• If PUCCH is absent at n+4, the DL frame generator also reserves 1 resourceblock for this UE on PUSCH, which may be reused by the UL frame generatorCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.50


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>HARQ Process Management on DL0 1 2 3 4 5 6 7 8 9 10New tx:process 0New tx:process 1NACK:process 0NACK:process 1RTX process0 failed due toinsufficientresources!Can happenfor any ofPDSCH,PUSCH orPDCCHRTXprocess 0succeededRTXprocess 1pushed tonextsubframeRTXprocess 1succeeded• In the above example, HARQ process 1 transmission occurred after 9 subframes instead of 8.• The minimum gap between transmissions on a process is 8 subframes. It can be indefinitely larger thanthat• It is extremely unlikely that HARQ RTX blocked for 8 consecutive subframes, in which case, an openHARQ process for transmission cannot be found at all!• Appendix D gives a flow chart along with function names showing how DL HARQ retransmissions areservedCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.51


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>UL Frame Generator at the eNodeB• Very similar to the DL frame generator• Called in the same 3 phases• Uses the same scheduler <strong>and</strong> callback functions• Does not deal with RLC, since it is the UE’s job• Only creates grants, <strong>and</strong> underst<strong>and</strong>s how many bits could fill the spaceallocated in a grant – The eNodeB knows the UE’s needs from BSRs• Conditionally reuses some grants created by the DL Frame Generator forHARQ acknowledgment purposes• In case the scheduler does not choose such UEs, the UL frame generator isaware that 1 allocation block would eventually be given to the above UE.• Does not use the space allocated to the control channels, such as PUCCH <strong>and</strong>RACH• Function: lte_enb_as_ul_frame_generate()CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.52


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Uplink “Segments”PUCCHSynchronousHARQ RTXRACHSynchronousHARQ RTXPUCCHA typical 5 MHz Uplink Subframe1 block4 blocks6 blocks2 blocks• For every “contiguous segment”, UL framegenerator is run separately• In this example, no UE can get more than 6allocation blocks, although a total of 13 blocks arefree• A UE scheduled in one segment cannot bescheduled again in another segment due toSCFDMA• When all UEs in one segment are scheduled,their bursts are also placed in that segment• Grants created for DL HARQ ACKs can go inany segment in the end. It is guaranteed that ULframe generator will leave enough space toallocate them.• lte_enb_as_frame_ul_frame_for_harq_tx_generate() to enter the whole UL frame generationprocess• lte_subframe_free_prb_segments_create() tofind the number of free segments• lte_subframe_free_prb_segments_next_seg_get() to find the dimension of next free segment (interms of start index <strong>and</strong> number of alloc.Blocks)CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.53


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>The Uplink Framing Sequence• Uplink framing is relatively simpler than the downlink framing, sincethe space occupied by the control channels is fixed• PUCCH <strong>and</strong> RACH allocations are made first• All non-adaptive synchronous HARQ retransmission elements arescheduled next• If an HARQ retransmission collided with RACH, it is fitted in an open“segment” large enough to accommodate it. All such adaptive HARQretransmissions are scheduled next• All msg3 grants given in the r<strong>and</strong>om access response (msg2) messagesof the r<strong>and</strong>om access procedure are scheduled next• Finally, new grants are given in the remaining open segments to theUEs that are not already under retransmissionsCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.54


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>HARQ Support for UL• Synchronous non-adaptive/adaptive HARQ• Synchronous: HARQ process number fixed.• PID = (10*frame_number + subframe_number) modulo 8• Non-adaptive: The eNodeB does not signal HARQ RTX control informationon PDCCH.• Implicit RTX made by UE• Adaptive: The eNodeB may have a valid reason to move the retransmissionsomewhere else in the subframe• E.g. if the RTX burst collides with RACH• Adaptive RTX has the cost of having extra control information in PDCCH• If RTX cannot be scheduled, the UE remains blocked for this subframe!• Different from downlink – in downlink, a new TX would have happened ona new process• RTX can remain blocked for a long time in pathological cases• Appendix E gives the Uplink HARQ retransmission processing flowchart along with function namesCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.55


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Recapping the DL <strong>and</strong> UL Frames• Exactly 1 allocation per UE in DL <strong>and</strong> UL• Allocation represented as a burst identified as (Start index, Number of allocationblocks, Start time, Delay, MCS index)• DL MPDU must not be created if no HARQ feedback mechanism on the UL canbe ensured• If the UE does not have PUCCH in n+4, a UL grant must exist: if the UE has notrequested data, or if the scheduler does not schedule this UE, this grant will consist of aminimum 1 allocation block <strong>and</strong> will be used exclusively for sending controlinformation (HARQ ACK/NACK)• DL data (PDSCH) <strong>and</strong> control (PDCCH) space is shared. PDCCH can be resizedto make bigger space for the data• A scheduler can aim to reduce the amount of control channel elements by restricting thenumber of UEs served in the same subframe, which can create more space for downlinkdata• HARQ retransmissions are part of the framing process• For uplink, both non-adaptive <strong>and</strong> adaptive HARQ retransmissions are supported• For downlink, asynchronous HARQ retransmissions are supported, in which retransmissioncan happen in any subframe >= n+8CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.56


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Agenda• <strong>LTE</strong> Network Architecture• <strong>LTE</strong> Node <strong>and</strong> Process <strong>Model</strong>s• UE Architecture• eNodeB Architecture• Lab 1: Admission Control Customization• EPC Architecture• Global Attribute Definer Object• Demo 1: <strong>LTE</strong> Channel Capacity• <strong>LTE</strong> Features• EPS, EMM, PDCP, RLC• MAC• eNodeB: Frame Generator, Scheduler <strong>and</strong> HARQ• Lab 2: Scheduler Customization• UE: Buffer Status Reporting <strong>and</strong> R<strong>and</strong>om Access• PHY• Architecture <strong>and</strong> MAC to PHY interface• PHY Features• Lab 3: Pathloss Customization• Documentation ReferencesCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.57


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Lab 2: Downlink Scheduler Customization•Objectives•Underst<strong>and</strong> how a custom scheduler function can impact theapplication performance•Monitor control channel overhead <strong>and</strong> draw inferences•Write <strong>and</strong> interface a custom scheduler function with a certainobjective to the downlink frame generator•Analyze the performance of the downlink scheduler by usingdetailed traces <strong>and</strong> statistics•Time: 40 minutes•You can stick around after the session to finish the extra creditportion of the lab if running short of timeCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.58


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Lab 2: Take Away Points•Using the frame generator/scheduler architecture, it is simple tointerface custom schedulers to the software• Interface can be minimized to 1 line in the st<strong>and</strong>ard models code, whileyou implement a whole new scheduler•Using detailed traces <strong>and</strong> statistics, the downlink channel can beanalyzed <strong>and</strong> its impact on the application performance can bereadily explained•Your scheduler function should consider the impact on theDownlink control channel (PDCCH)• Use OPNET’s ability to dynamically resize the PDCCH to implement thescheduler in a way that minimizes the dem<strong>and</strong>s put on PDCCH•Refer to Appendix C if you want to interface differently• OPNET code is very easy to interface to, even if you do not follow ourrecommendationsCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.59


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Agenda• <strong>LTE</strong> Network Architecture• <strong>LTE</strong> Node <strong>and</strong> Process <strong>Model</strong>s• UE Architecture• eNodeB Architecture• Lab 1: Admission Control Customization• EPC Architecture• Global Attribute Definer Object• Demo 1: <strong>LTE</strong> Channel Capacity• <strong>LTE</strong> Features• EPS, EMM, PDCP, RLC• MAC• eNodeB: Frame Generator, Scheduler <strong>and</strong> HARQ• Lab 2: Scheduler Customization• UE: Buffer Status Reporting <strong>and</strong> R<strong>and</strong>om Access• PHY• Architecture <strong>and</strong> MAC to PHY interface• PHY Features• Lab 3: Pathloss Customization• Documentation ReferencesCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.60


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Buffer Status Reporting (BSR) for theUplink Data• UE sends BSRs as a MAC subheader in an uplink MPDU• Short (16 bits) or the long BSRs (32 bits) are sent as per the st<strong>and</strong>ard• After reading the BSR contents, eNodeB sends grants to serve that traffic, in whichnew BSRs can be sent, <strong>and</strong> so on.• When buffers are empty, the UE reports 0 traffic, at which point the eNodeB stopsissuing grants.• However in order to send the BSR, it needs an “initial grant”. There are 2 ways in whichthe UE gets it:• Case 1: UE has a dedicated uplink control channel (PUCCH): In this case, it sends ascheduling request (SR) bit at the first opportunity. The eNodeB issues it a grant of apredefined size, in which the UE can send the BSR.• Case 2: The UE has no dedicated uplink control channel. It this case, it uses ther<strong>and</strong>om access channel <strong>and</strong> the r<strong>and</strong>om access procedure to get the initial grant.• When the UE is waiting for a new grant, it stays in either:• SR_TR or• BW_REQ_VIA_RACH• A UE can go in only 1 of these 2 red states depending upon whether it hasPUCCH allocation or not.CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.61


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>The Buffer Status Report ProcessHigher layer data arrivalPUCCH period orRACH timer expiryRequest initial grant using PUCCH or RACHRequest initial grant using PUCCH or RACHSend initial grantSend BSR + Uplink dataBSR retransmissiontimer = typically2560 subframesSend BSR + Uplink DataSend Uplink grantSend Uplink data <strong>and</strong> more BSR if necessaryCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.62


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>The R<strong>and</strong>om Access Procedure•All UEs use it for initial attachment•UEs without PUCCH allocation use it for sending b<strong>and</strong>widthrequests•Implemented in lte_rach.pr.m, a child process of lte_ue_as.pr.m•Exchange of 4 messages between the UE <strong>and</strong> the eNodeB• msg1 or preamble: UE sends to the eNodeB (lte_rach process model)• msg2 or the r<strong>and</strong>om access response: eNodeB sends to the UE• Function lte_enb_as_r<strong>and</strong>om_access_responses_generate() inlte_enb_as.pr.m• Message carries an uplink grant within itself• msg3: UE sends to the eNodeB from lte_rach process• Uses the UL grant that comes with the r<strong>and</strong>om access response message• Has HARQ support• msg4 or the contention resolution message: terminates the r<strong>and</strong>om accessprocedure successfullyCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.63


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Uplink Grant Processor at the UE•Uses the same scheduler as the eNodeB to allocateresources to various RBs•Simpler, because resources already expressed in bits•H<strong>and</strong>les all MAC <strong>and</strong> RLC headers•Also inserts BSR subheader to indicate its queue sizes•Function: lte_ue_as_mpdu_form()CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.64


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Agenda• <strong>LTE</strong> Network Architecture• <strong>LTE</strong> Node <strong>and</strong> Process <strong>Model</strong>s• UE Architecture• eNodeB Architecture• Lab 1: Admission Control Customization• EPC Architecture• Global Attribute Definer Object• Demo 1: <strong>LTE</strong> Channel Capacity• <strong>LTE</strong> Features• EPS, EMM, PDCP, RLC• MAC• eNodeB: Frame Generator, Scheduler <strong>and</strong> HARQ• Lab 2: Scheduler Customization• UE: Buffer Status Reporting <strong>and</strong> R<strong>and</strong>om Access• PHY• Architecture <strong>and</strong> MAC to PHY interface• PHY Features• Lab 3: Pathloss Customization• Documentation ReferencesCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.65


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>The PHY Module <strong>and</strong> the Process <strong>Model</strong>•PHY modeled as a separate process•All PHY related attributes are under the PHY process•When promoting, on <strong>LTE</strong> node models, they will be promoted under the <strong>LTE</strong>.PHY groupCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.66


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>The PHY Module Functions• Accept a packet from MAC <strong>and</strong> perform transmission on OFDM resources• wrls_phy_pk_send() wrls_phy_mcarrier_pk_send() in wrls_phy_support.ex.c• Physical layer effects in pipeline stages• Most <strong>LTE</strong> pipeline stages are wrls_* under the models/std/wireless folder• Effects such as pathloss, multipath, interference are modeled in pipelines• Open architecture allows users to create custom pathloss <strong>and</strong> multipath modelseasily (lab 3)• Set up transmitter <strong>and</strong> receiver specific PHY information for easy informationsharing• wrls_phy_tx_info_init_first_phase() <strong>and</strong> wrls_phy_tx_info_init_second_phase() inwrls_phy_support.ex.c• Collect various statistics• Pathloss, SNR, received power, dropped packets etc.• Promoted statistics are under the <strong>LTE</strong> PHY group• Support advanced PHY features (upcoming <strong>and</strong> future planned)• Measurements <strong>and</strong> notifications to the MAC upon crossing of a threshold• Monitoring energy consumption at a nodeCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.67


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Sending <strong>LTE</strong> MPDU via the PHY Interfacelte_mac_pdu created at lte_enb_as.pr.m, lte_ue_as.pr.m, <strong>and</strong> lte_rach.pr.mlte_support_phy_burst_ici_info_pk_install_from_dci() called to create an ICIof type wrls_phy_mac_interfacePHY extracts the “burst information” from the ICI <strong>and</strong> prepares the packetfor the PHY transmission in wrls_phy_pk_send() by adding 2 unnamed fieldslte_mac_pdu WrlsT_Phy_Mcarrier_Burst_Info WrlsT_Phy_Chnl_InfoBurst dimensions:Start time,transmission delay,start frequency, endfrequency, PRB startindex, #PRBs etc.Wireless channel information:•WrlsT_Pathloss_Info*•MultipathT_Channel_Instance*•WrlsT_Phy_Antenna_Info*•WrlsT_Phy_Profile*•Stath<strong>and</strong>les for physical layer•Etc.CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.68


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>The Purpose of PHY Unnamed Fields• Unnamed fields are “read only”• Burst Information (WrlsT_Phy_Mcarrier_Burst_Info):• Provides information about how the packet is mapped on the OFDM resourcesin form of a rectangle• Used in interference calculations by determining the overlap between a pairof rectangles• Also pathloss computations need frequency information to compute thepathloss accurately• Channel Information (WrlsT_Phy_Chnl_Info):• Carries information about the specific wireless channel modeled by each UE• Each UE can customize its own pathloss <strong>and</strong> multipath models• Different UEs can be connected to different eNodeBs, <strong>and</strong> the physical layerprofiles of those eNodeBs can be different• Also carries stath<strong>and</strong>les for recording the PHY statistics• Ideal place to insert various customization elements• Custom information for custom pathloss, multipath models etc.CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.69


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Agenda• <strong>LTE</strong> Network Architecture• <strong>LTE</strong> Node <strong>and</strong> Process <strong>Model</strong>s• UE Architecture• eNodeB Architecture• Lab 1: Admission Control Customization• EPC Architecture• Global Attribute Definer Object• Demo 1: <strong>LTE</strong> Channel Capacity• <strong>LTE</strong> Features• EPS, EMM, PDCP, RLC• MAC• eNodeB: Frame Generator, Scheduler <strong>and</strong> HARQ• Lab 2: Scheduler Customization• UE: Buffer Status Reporting <strong>and</strong> R<strong>and</strong>om Access• PHY• Architecture <strong>and</strong> MAC to PHY interface• PHY Features• Lab 3: Pathloss Customization• Documentation ReferencesCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.70


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Overview of PHY Features in Phase II• Support for variable b<strong>and</strong>width• 1.4MHz, 3Mhz, 5Mhz, 10Mhz 15Mhz <strong>and</strong> 20Mhz• <strong>Model</strong>ing of physical channels• PDSCH, PDCCH, PRACH, PUSCH <strong>and</strong> PUCCH• Pathloss models• Freespace, Suburban Macrocell, Urban Macrocell, Urban Microcell, Erceg, Pedestrian <strong>and</strong> Vehicular• Multipath models• ITU Pedestrian A & B <strong>and</strong> ITU Vehicular A & B• Modulation <strong>and</strong> coding schemes• Interference modeling• Time <strong>and</strong> frequency overlaps among different bursts are detected• Interference is proportional to the overlap• Interference may cause burst drops for PUSCH <strong>and</strong> PDSCH bursts• Interference effects for control channels are based on a probability distribution function.• HARQ• Type II incremental redundancy• Asynchronous retransmissions on the downlink• Synchronous retransmissions on the uplink• Asynchronous in case of collision of synchronous retransmissions• Disabling PHY layer for faster simulations• Support for antenna modelsCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.71


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Propagation Effects: Multipath <strong>and</strong>Pathloss• Pathloss called from the pipeline wrls_power.ps.c• Function wrls_phy_packet_pathloss_compute() defined inwrls_phy_support.ex.c• “Burst information” of the packet carries the pathloss model configured atthe UE: Can easily be customized (lab 3)• Multipath model called from the pipeline wrls_snr.ps.c• Function wrls_phy_effective_snr_get defined in wrls_phy_support.ex.c• Calls wrls_phy_mpath_effective_snr_compute()• In turn calls a user extensible callback function passed during theinitialization of the receiver element: wrls_phy_mpath_lte_init_proc()defined in wrls_phy_support.ex.c• The multipath function used for <strong>LTE</strong> iswrls_phy_mpath_lte_effective_snr_compute() defined inwrls_phy_support.ex.cCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.72


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Modulation <strong>and</strong> Coding Schemes• Modulation/coding curves created for MCS indexes from 0 to 28• For some indexes, separate curves defined for the uplink <strong>and</strong> the downlink• Curves created by a bit-level Monte Carlo simulation by assumingtransmission of 1 allocation block• A document has been published on the <strong>LTE</strong> consortium websitedescribing our methodology• Loading the tables in the software• KP op_tbl_modulation_get()• Function wrls_phy_mcs_info_init() in wrls_phy_support.ex.c• Tables loaded in global arrays for UL <strong>and</strong> DL separately• Computing BLER <strong>and</strong> packet drop probability in PHY• wrls_ber pipeline: BLER accessed using the KP op_tbl_mod_ber()• wrls_error pipeline: Calls wrls_phy_burst_decode_success_compute()defined in wrls_phy_support.ex.c• If the burst consists N blocks, <strong>and</strong> if BLER is p, the probability ofsuccessful decoding is (1-p) NCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.73


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Physical Layer Packet Combining ofHARQ• All packets tagged as “valid” are forwarded to the MAC whether they are decodedcorrectly by the PHY or not• HARQ module is implemented in MAC for its extensive MAC functionality, although its physicallayer component is responsible for combining the packets• Type II incremental redundancy simulated• Logic: 2 types of gains: SNR gain – can be simply found by adding effective SNRs ofsuccessive packets. Coding gain – simulated as SNR gain by adding the SNR of the “extrabits” stuffed into the MPDU• Example: MPDU of size 128, corresponding burst has 4 allocation blocks. The maximumbit carrying capacity of the burst = 192. Thus 64 “extra bits” can be carried within the burst,which can provide an extra gain at the receiver• Packet receiving <strong>and</strong> processing functions:• lte_enb_as_mpdu_decode_with_harq() : At lte_enb_as.pr.m• lte_ue_as_mpdu_decode_with_harq(): At lte_ue_as.pr.m• Efficiency support:• Possible to characterize PHY by drop probability parameters• If first transmission, drop probability = p (configurable attribute)• If n th retransmission, drop probability = p *1/n k• k is a configurable parameter – idea is that the drop probability reduces exponentially witheach retransmission attemptCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.74


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Agenda• <strong>LTE</strong> Network Architecture• <strong>LTE</strong> Node <strong>and</strong> Process <strong>Model</strong>s• UE Architecture• eNodeB Architecture• Lab 1: Admission Control Customization• EPC Architecture• Global Attribute Definer Object• Demo 1: <strong>LTE</strong> Channel Capacity• <strong>LTE</strong> Features• EPS, EMM, PDCP, RLC• MAC• eNodeB: Frame Generator, Scheduler <strong>and</strong> HARQ• Lab 2: Scheduler Customization• UE: Buffer Status Reporting <strong>and</strong> R<strong>and</strong>om Access• PHY• Architecture <strong>and</strong> MAC to PHY interface• PHY Features• Lab 3: Pathloss Customization• Documentation ReferencesCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.75


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Lab 3: Pathloss Customization• Objectives• Underst<strong>and</strong> how to implement a custom pathloss model which requires customattributes• Analyze the custom pathloss model with physical layer statistics• Time: 15 minutes• Take away points• Using the generic physical architecture, it is easy to add one’s own customphysical layer algorithms in OPNET• Each UE can be configured with a unique physical environment allowing forthe possibility of simulating UEs in various environments• Using the physical layer statistics, one can readily validate the custom physicallayerCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.76


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Agenda• <strong>LTE</strong> Network Architecture• <strong>LTE</strong> Node <strong>and</strong> Process <strong>Model</strong>s• UE Architecture• eNodeB Architecture• Lab 1: Admission Control Customization• EPC Architecture• Global Attribute Definer Object• Demo 1: <strong>LTE</strong> Channel Capacity• <strong>LTE</strong> Features• EPS, EMM, PDCP, RLC• MAC• eNodeB: Frame Generator, Scheduler <strong>and</strong> HARQ• Lab 2: Scheduler Customization• UE: Buffer Status Reporting <strong>and</strong> R<strong>and</strong>om Access• PHY• Architecture <strong>and</strong> MAC to PHY interface• PHY Features• Lab 3: Pathloss Customization• Documentation ReferencesCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.77


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Documents• Some important 3GPP St<strong>and</strong>ards• 36213-880: for the physical layer• 36300-910: for the overall description of E-UTRAN• 36321-900: for the MAC operation• 36322-870: for the RLC operation• 36331-900: for the RRC protocol• 23203-830: for the policy <strong>and</strong> control architecture• 23401-860: for the EUTRAN access network• OPNET Published (<strong>LTE</strong> consortium website)• <strong>LTE</strong> Phase I Requirements Document• <strong>LTE</strong> Phase II Requirements Document• <strong>LTE</strong> Frame Generator <strong>and</strong> Scheduler Description• <strong>LTE</strong> Modulation <strong>Model</strong>s• <strong>LTE</strong> Multipath Fading <strong>Model</strong>s• Coming soon: <strong>LTE</strong> Phase III Requirements DocumentCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.78


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Resources <strong>and</strong> <strong>Model</strong> Support• Technical Support• www.opnet.com/support• Link to OPNETWORK proceedings• FAQs <strong>and</strong> FAQ search• Link to latest <strong>Model</strong>er product releases• Link to the <strong>Model</strong>er user forum• Link to the <strong>Model</strong>er training videos• www.opnet.com/university_program• Links to the contributed papers <strong>and</strong> contributed models• support@opnet.com• OPNET <strong>LTE</strong> Specialized <strong>Model</strong>• www.opnet.com/<strong>LTE</strong>• Access to OPNET <strong>LTE</strong> Consortium Website• <strong>Model</strong>er Product Documentation• <strong>Model</strong>s > <strong>Model</strong> Library > <strong>LTE</strong>CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.79


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Related Sessions• 1571: Planning WiMAX Network Deployments• Covers planning use cases in more detail of the sister technology WiMAX• 1530: <strong>Model</strong>ing Custom Wireless Effects - Introduction• 1580: <strong>Model</strong>ing Custom Wireless Effects – Advanced• Covers advanced physical layer concepts on antenna modeling, node mobilitymodeling, OFDMA transmission framework, MCS curve generationmethodology, interference computations, pathloss models, multipath modelingframework etc.• 1586: Building Realistic Application <strong>Model</strong>s for Discrete EventSimulation• 1576: Verifying Statistical Validity of Discrete Event Simulations• 1550: Accelerating Simulations Using Efficient <strong>Model</strong>ing TechniquesCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.80


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Take-Away Points• OPNET implements various <strong>LTE</strong> features• More features are on the way• Being a part of OPNET <strong>LTE</strong> consortium can help• Early models access can help you get familiarize to the models code• You can influence <strong>LTE</strong> features release priorities• OPNET <strong>Model</strong>er can be used in <strong>LTE</strong> planning exercises• Capacity planning, application performance etc.• OPNET <strong>Model</strong>er can be used in <strong>LTE</strong> R&D• Callback based architecture allows easy customizations• API based architecture allows easy interfacing to the st<strong>and</strong>ard models code• OPNET provides st<strong>and</strong>ard models code that is modular <strong>and</strong> easy tocustomizeCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.81


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Appendix A: Acronyms• 3GPP: 3 rd Generation Partnership Project• QoS: Quality of Service• OFDMA: Orthogonal Frequency-Division Multiple Access• SC-FDMA: Single-Carrier Frequency-Division Multiple Access• <strong>LTE</strong>: Long Term Evolution• 4G: 4 th Generation• UMTS: Universal Mobile Telecommunications System• 3G: 3 rd Generation• EPS: Evolved Packet System• EPC: Evolved Packet Core• E-UTRAN: Evolved UMTS Terrestrial Radio Access Network• GTP: GPRS Tunneling Protocol• eNodeB: Enhanced NodeB• UE: User Equipment• PDCP: Packet Data Convergence Protocol• RLC: Radio Link Control• HARQ: Hybrid Automatic Repeat reQuestCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.82


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Appendix B: DL Frame Generator Code• lte_enb_as_dl_frame_generate():• Concept of a “scheduling pass”• Ability set up a different scheduling callback• lte_enb_as_dl_frame_gen_blocks_<strong>and</strong>_bits_compute()• Computes the upper limit on the allocation blocks given to the queue• lte_enb_as_dl_mac_sdu_create()• Creates 1 or more MAC SDUs by contacting the RLC queue for the selected RB• Computes the actual number of resources consumed in allocation blocks (


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Appendix C: What if Your SchedulerDoesn’t Produce the “Next Queue”• Case study: My scheduler already decided all the UEs to schedule <strong>and</strong>all the associated RBs…I also know how many blocks are given toeach RB…how do I interface my system to OPNET?• This problem can be solved as follows:• Step 1: Overwrite the output of lte_sched_support_next_q_get() with yourown (c_rnti, rb_id), so that frame generator will service your queue insteadof letting the callback choose one for you• When you are done, assign the variable return_ q_id the value<strong>LTE</strong>C_SCHED_Q_INVALID for termination• Step 2: Overwrite the calculation of the variables “num_alloc_blocks_ptr”<strong>and</strong> “small_alloc_blocks_ptr” in the functionlte_enb_as_dl_frame_gen_blocks_<strong>and</strong>_bits_compute()• “Small allocation blocks” is important to know for subframes withspecial channels such as primary/secondary synchronizations <strong>and</strong> BCCH.• That’s pretty much it!• As long as you have produced a “correct frame” (i.e. not allocating moreresources than what actually exist), things will work fineCONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.84


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Appendix D: H<strong>and</strong>ling of DL HARQRetransmissionslte_enb_as_dl_frame_harq_rtx_process()Find all UEs that should have received<strong>and</strong> processed their acknowledgementsby now: (UEs that transmitted at n-8, <strong>and</strong>all NACKed UEs that got “pushed” tothe current SF). Find the HARQ contextof the UE.ACK || max RTX exceededElseFree the HARQ process for newtransmissions.Examine if resources are available onPDSCH, PDCCH <strong>and</strong> conditionallyPUSCH:lte_enb_as_dl_harq_rxmt_dci_obtain()All resources availableElsePerform retransmission in the currentsubframeFind a future subframe for retransmission:No other HARQ process for this UE shouldbe scheduled for retransmission in that SF.lte_enb_as_async_dl_harq_rtx_perform()CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.85


1581 <strong>Underst<strong>and</strong>ing</strong> <strong>LTE</strong> <strong>Model</strong> <strong>Internals</strong> <strong>and</strong> <strong>Interfaces</strong>Appendix E: H<strong>and</strong>ling of UL HARQRetransmissionslte_enb_as_ul_frame_harq_rtx_process()Find all UEs that transmitted at n-8(ACK || max RTX exceeded) && (UEmade a “correct” transmission)*Else if UE made an “incorrect”transmission*ElseFree the HARQ process for newtransmissions.Send a fake ACK to this UE to stopfurther retransmissions <strong>and</strong> mark for“adaptive” retransmissionAttempt synchronous retransmission:lte_enb_as_ul_frame_harq_implicit_rtx_process()Failed due to collision with anotherRTX or RACHFor each open “segment”, attempt adaptiveretransmission:lte_enb_as_ul_frame_harq_explicit_rtx_process()ElseSend NACK. TheUE will retransmitimplicitlyFailedSend a fake ACK to stop retransmissionSucceededSend NACK <strong>and</strong> a grant forRTX with NDI = 0*Incorrect transmission: An incorrect transmission is a consequence of the following scenario: ACK to NACK <strong>and</strong> lost grant fornew data. In this case, the UE retransmits using a previous grant instead of doing a transmission using the new grant. In realsystems, HARQ/PHY can detect this by noting reception of a packet on wrong frequencies.CONFIDENTIAL ─ RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format without the prior written consent of OPNET Technologies, Inc. © 2010 OPNET Technologies, Inc.86

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!