jonathanrichard
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.

      Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

      Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

      Explore these features while you wait
      Complete general settings
      Bookmark and like published notes
      Write a few more notes
      Complete general settings
      Write a few more notes
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.

    Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Explore these features while you wait
    Complete general settings
    Bookmark and like published notes
    Write a few more notes
    Complete general settings
    Write a few more notes
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # <center><i class="fa fa-edit"></i> Learning the Fundamentals : 4G LTE Systems </center> ###### tags: `Pre-Internship` :::info **Goal:** To gain a basic understanding of the basics of Cellular Networking by observing how 4G-LTE works - [x] How 4G Works - [x] How 4G Differs from Previous Generations of Technologies - [x] How Radio Access Network is implemented in 4G - [ ] How 5G improves from 4G **Resources:** [LTE Tutorial](https://www.tutorialspoint.com/lte/index.htm) [LTE Youtube Channel](https://www.youtube.com/channel/UCf5srFJ-JofnE8r-bn1o1VA) ::: ## Background LTE stands for Long Term Evolution and it was started as a project in 2004 by telecommunication body known as the Third Generation Partnership Project (3GPP). SAE (System Architecture Evolution) is the corresponding evolution of the GPRS/3G packet core network evolution. The term LTE is typically used to represent both LTE and SAE. LTE evolved from an earlier 3GPP system known as the Universal Mobile Telecommunication System (UMTS), which in turn evolved from the Global System for Mobile Communications (GSM). Even related specifications were formally known as the evolved UMTS terrestrial radio access (E-UTRA) and evolved UMTS terrestrial radio access network (E-UTRAN). First version of LTE was documented in Release 8 of the 3GPP specifications. ## 4G Key Parameters Here's the summary of 4G key Parameters compared to 3G : ![](https://i.imgur.com/UELI349.png) ### Frequency Range (2 - 8 GHz) Is the unit on what frequencies does the antenna for signal transmission works. Is taken into consideration in Networking because frequency is directly related to how much [Path Loss](https://www.electronics-notes.com/articles/antennas-propagation/propagation-overview/free-space-path-loss.php#:~:text=It%20is%20possible%20to%20calculate,of%20the%20frequency%20in%20use.) is taken after the signal travels in a certain distance, which relates to the optimal **operating range**, and also the [Data Rate](https://www.flukenetworks.com/blog/cabling-chronicles/bandwidth-and-data-rates#:~:text=The%20relationship%20of%20speed%20to,scheme%20of%20the%20active%20equipment.), which directly relates to Networking Speed. ![](https://i.imgur.com/JoCrRms.png) ### Bandwidth ( 5 - 20MHz) The bandwidth determines how much capacity is available on a certain channel to send or receive data (and is also correlates to data rate). The correlation between bandwidth and capacity can be approximated by the Nyquist Formula : ![](https://i.imgur.com/BO951XW.png) Needless to say, its almost always better to have higher bandwidth. ### Modulation (QPSK, 16QAM, 64QAM With OFDM) LTE uses the popular orthogonal frequency division multiplex (OFDM) modulation scheme. It provides the essential spectral efficiency to achieve high data rates but also permits multiple users to share a common channel. OFDM divides a given channel into many narrower subcarriers. The spacing is such that the subcarriers are orthogonal, so they won’t interfere with one another despite the lack of guard bands between them. This comes about by having the subcarrier spacing equal to the reciprocal of symbol time. All subcarriers have a complete number of sine wave cycles that upon demodulation will sum to zero. ![](https://i.imgur.com/tnmrLfc.jpg) In LTE, the channel spacing is 15 kHz. The symbol period therefore is 1/15 kHz = 66.7 µs. The high-speed serial data to be transmitted is divided up into multiple slower streams, and each is used to modulate one of the subcarriers. For example, in a 5-MHz channel, up to 333 subcarriers could be used but the actual number is more like 300. A 20-MHz channel might use 1024 carriers. The modulation on each can be quadrature phase-shift keying (QPSK), 16-phase quadrature amplitude modulation (16QAM), or 64-state quadrature amplitude modulation (64QAM) depending on the speed needs. ![](https://i.imgur.com/mONzxN8.png) ## 4G Architecture The high-level network architecture of LTE is comprised of following three main components: 1. The User Equipment (UE). 2. The Evolved UMTS Terrestrial Radio Access Network (E-UTRAN). 3. The Evolved Packet Core (EPC). The evolved packet core communicates with packet data networks in the outside world such as the internet, private corporate networks or the IP multimedia subsystem. The interfaces between the different parts of the system are denoted Uu, S1 and SGi as shown below: ![](https://i.imgur.com/eg90ts1.jpg) ***The User Equipment (UE)*** The internal architecture of the user equipment for LTE is identical to the one used by UMTS and GSM which is actually a Mobile Equipment (ME). The mobile equipment comprised of the following important modules: 1. Mobile Termination (MT) : This handles all the communication functions. 2. Terminal Equipment (TE) : This terminates the data streams. 3. Universal Integrated Circuit Card (UICC) : This is also known as the SIM card for LTE equipments. It runs an application known as the Universal Subscriber Identity Module (USIM). A USIM stores user-specific data very similar to 3G SIM card. This keeps information about the user's phone number, home network identity and security keys etc. ***The E-UTRAN (The access network)*** The architecture of evolved UMTS Terrestrial Radio Access Network (E-UTRAN) has been illustrated below: ![](https://i.imgur.com/quAG6Ss.jpg) The E-UTRAN handles the radio communications between the mobile and the evolved packet core and just has one component, the evolved base stations, called eNodeB or eNB. Each eNB is a base station that controls the mobiles in one or more cells. The base station that is communicating with a mobile is known as its serving eNB. LTE Mobile communicates with just one base station and one cell at a time and there are following two main functions supported by eNB: 1. The eNB sends and receives radio transmissions to all the mobiles using the analogue and digital signal processing functions of the LTE air interface. 2. The eNB controls the low-level operation of all its mobiles, by sending them signalling messages such as handover commands. 3. Each eNB connects with the EPC by means of the S1 interface and it can also be connected to nearby base stations by the X2 interface, which is mainly used for signalling and packet forwarding during handover. A home eNB (HeNB) is a base station that has been purchased by a user to provide femtocell coverage within the home. A home eNB belongs to a closed subscriber group (CSG) and can only be accessed by mobiles with a USIM that also belongs to the closed subscriber group. ***The Evolved Packet Core (EPC) (The core network)*** The architecture of Evolved Packet Core (EPC) has been illustrated below. There are few more components which have not been shown in the diagram to keep it simple. These components are like the Earthquake and Tsunami Warning System (ETWS), the Equipment Identity Register (EIR) and Policy Control and Charging Rules Function (PCRF). ![](https://i.imgur.com/DSgLDS6.jpg) Below is a brief description of each of the components shown in the above architecture: The Home Subscriber Server (HSS) component has been carried forward from UMTS and GSM and is a central database that contains information about all the network operator's subscribers. The Packet Data Network (PDN) Gateway (P-GW) communicates with the outside world ie. packet data networks PDN, using SGi interface. Each packet data network is identified by an access point name (APN). The PDN gateway has the same role as the GPRS support node (GGSN) and the serving GPRS support node (SGSN) with UMTS and GSM. The serving gateway (S-GW) acts as a router, and forwards data between the base station and the PDN gateway. The mobility management entity (MME) controls the high-level operation of the mobile by means of signalling messages and Home Subscriber Server (HSS). The Policy Control and Charging Rules Function (PCRF) is a component which is not shown in the above diagram but it is responsible for policy control decision-making, as well as for controlling the flow-based charging functionalities in the Policy Control Enforcement Function (PCEF), which resides in the P-GW. The interface between the serving and PDN gateways is known as S5/S8. This has two slightly different implementations, namely S5 if the two devices are in the same network, and S8 if they are in different networks. ## Explaining 4G with Correlation to OSI Layer ![](https://i.imgur.com/cqv92vl.jpg) ### Layer 3 In the seven-layer OSI model of computer networking, the network layer is layer 3. The network layer is responsible for packet forwarding including routing through intermediate routers. **Non Access Stratum** The Highest stratum of the **control plane**. The following functions exist in the non-access stratum: 1. Mobility management: maintaining connectivity and active sessions with user equipment as the user moves 2. Call control management 3. Session management: establishing, maintaining and terminating communication links 4. Identity management In other words , The layer supports traffic and signalling messages between the CN and UE. **IP** Contains user data generated by the upper layers. In other words, the origin of **User Plane Data**. **Radio Resource Control** The main services and functions of the RRC sublayer include broadcast of System Information related to the non-access stratum (NAS), broadcast of System Information related to the access stratum (AS), Paging, establishment, maintenance and release of an RRC connection between the UE and E-UTRAN, Security functions including key management, establishment, configuration, maintenance and release of point to point Radio Bearers. More on RRC states can be read [Here](https://www.3gpp.org/ftp/tsg_ran/WG2_RL2/TSGR2_06/Docs/Pdfs/r2-99807.pdf) ### Layer 2 The data link layer, or layer 2, is the protocol layer that transfers data between nodes on a network segment across the physical layer. The data link layer provides the functional and procedural means to transfer data between network entities and might provide the means to detect and possibly correct errors that may occur in the physical layer. **Packet Data Convergence Control** PDCP receives User Traffic, or PDCP SDUs from the IP layer, and performs IP compression by removing IP Header and adding tokens of 1-4 bytes ([More on IP compression](http://www.effnet.com/pdf/Whitepaper_Header_Compression.pdf)). PDCP in LTE has additional functions like integrity protection and ciphering. **Radio Link Control** Radio Link Control/ RLC layer does segmentation of these SDUS to make the RLC PDUs. RLC adds header based on RLC mode of operation. RLC submits these RLC PDUs (MAC SDUs) to the MAC layer. Segmentation of RLC can be defined as logical categorization of data into their respecting channels (**logical channels**), there are 5 channels for control plane data, and 2 channels for user plane data with each forwarding different types of message to the MAC Layer : 1. Paging Control Channel (PCCH) : Contains paging message (when the eNB wishes to contact an idle UE). 2. Broadcast Control Channel (BCCH) : For Broadcasting System Control Information , including system bandwidth, antenna configuration, reference signal power. Contains a lot of Signalling Data. 3. Common Control Channel (CCCH) : Used by UE to establish connection with eNB when the device is switched on. 4. Dedicated Control Channel (DCCH) : After the connection has been setup with UE, DCCH is used to transmit control info. 5. Multicast Control Channel (MCCH) : Broadcasting Control Information for all UEs in the same cell. 6. Dedicated Traffic Channel (DTCH) : Carries actual traffic User Data. 7. Multicast Traffic Channel (MTCH) : Carries broadcasting message, such as Real Time Broadcasting of Sports. ![](https://i.imgur.com/mKxoBXA.png) **Medium Access Layer** MAC layer is responsible for Mapping between logical channels and transport channels, Multiplexing of MAC SDUs from one or different logical channels onto transport blocks (TB) to be delivered to the physical layer on transport channels, de multiplexing of MAC SDUs (which is RLC PDUs) from one or different logical channels from transport blocks (TB) delivered from the physical layer on transport channels, Scheduling information reporting, Error correction through HARQ, Priority handling between UEs by means of dynamic scheduling, Priority handling between logical channels of one UE, Logical Channel prioritization. There are 6 **Transport Channels**, which the MAC Layer maps into : 1. Broadcast Channel : MAC forwards Master Information Block data (contains system critical info)from BCCH into this channel. 2. Downlink Shared Channel : MAC Multiplexes data from System Information Block of BCCH, Downlink Data of DCCH, and MCCH, Downlink data of DTCH, and MTCH. 3. Paging Channel : MAC forwards data from PCCH into this channel. 4. Multicast Channel : Forwards data from MTCH. 5. Uplink Shared Channel : Contains Uplink Data from all Uplink logical channels, which is CCCH, Uplink DCCH, and DTCH. 6. Random Access Channel : Has no corresponding logcal channel, is used when user is not synchronized in UPLINK direction, used to establish synchronization. ![](https://i.imgur.com/b90cEKL.png) Besides Multiplexing the different datas from logical channel, other functions of MAC Layer are : 1. Logical Channel Prioritization (MAC Layers to prioritize these Transport channels) 2. HARQ Retransmission (Automatic retransmission of incomplete datas) ### Layer 1 The physical layer or layer 1 is the first and lowest layer. This layer may be implemented by a PHY chip.The physical layer defines the means of transmitting raw bits over a physical data link connecting network nodes. This is the layer where data is modulated and transmitted through AIR interface. Physical Control Channels are listed in the below table: ![](https://i.imgur.com/QdOaKwX.png) From Layer 3 to Layer 1 , the overall route can be illustrated in this image : ![](https://i.imgur.com/50i1lzV.jpg) ## The Brain of 4G : MAC Scheduler ![](https://i.imgur.com/cKicu6c.png) Sitting just above the Physical layer, the MAC Scheduler assigns bandwidth resources to user equipment and is responsible for deciding on how uplink and downlink channels are used by the eNodeB and the UEs of a cell. It also enforces the necessary Quality of Service for UE connections. QoS is a set of rules that come from the Policy and Charging Rules Function (PCRF) in the core network. These rules define priority, bit rate and latency requirements for different connections to the UE. They is usually based on the types of applications using the UE connection. For example, the QoS requirements for a VoLTE call are different from those for checking the e-mail. As seen in the image below, the MAC scheduler has control over the OFDM modulation in the sense that it decides, according to information received from other LTE network components, how much bandwidth each UE receives at any given moment. In this figure, the resource element (sub-carrier) is represented on the frequency axis, while the sub-frames are represented on the time axis. ![](https://i.imgur.com/oG98PzR.png) Most Importantly, MAC scheduler also determines the type of modulation used (QPSK, 16QAM, or 64QAM) by processing the radio channel conditions.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password
    or
    Sign in via Facebook Sign in via X(Twitter) Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    By signing in, you agree to our terms of service.

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully