5G Development With MATLAB
5G Development With MATLAB
5G Development With MATLAB
with MATLAB
5G Development with MATLAB
If you are already familiar with 5G, feel free to skip ahead to sections
2–4, which discuss strategies for doing 5G design and development
with MATLAB®: new algorithm design (Section 2), accelerating
prototyping and ield trials (Section 3), and system veriication
(Section 4).
Two major trends are behind the race to 5G: the explosive growth in
demand for wireless broadband that can carry video and other content-
rich services, and the Internet of Things (IoT), where large numbers of
smart devices communicate over the Internet. To achieve these objectives,
5G will provide extreme broadband speed, ultralow latency, and
ultrareliable web connectivity.
By providing higher bandwidth capacity than current 4G–supporting eMBB—Enhanced Mobile Broadband
broadband, 5G will enable a higher density of mobile broadband
• For high-capacity and ultrafast mobile communications for phones
users and support ultrareliable device-to-device and massive
and infrastructure, virtual and augmented reality, 3D and ultra-HD
machine-type communications.
video, and haptic feedback
Peak throughput
10 Gbit/s
(downlink) per connection
The 3GPP standardization group deines the wireless 5G standard, with Current research and development focuses on enabling technologies
help from many participants and contributors around the globe. Release such as hybrid beamforming, millimeter wave and massive MIMO
15 of the 3GPP standard, expected by March 2018, will introduce the systems, 5G channel modeling and waveforms, and rapid ield trials of
5G standard. Modulation schemes, beamforming techniques, millimeter 5G design concepts.
wave technology, and massive MIMO architectures are expected to be
signiicantly different from the current 4G technologies.
2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021
The 5G physical layer will depart from 4G LTE in a number of ways, Sections 2–4 of this ebook discuss 5G design and development
in order to improve spectral eficiency and data rates. One distinctive strategies in detail: new algorithm design (Section 2), fast prototyping
feature is a signiicant jump in the number of active antennas and (Section 3), and system veriication and ield trials (Section 4).
antenna arrays, and the related issues of beamforming and millimeter
wave RF signal processing. New modulation and coding schemes,
power and low-noise ampliier designs, and channel models all need to
be developed.
DATA SIGNALS
• New coding schemes such as LDPC for data and polar codes for
control information, for error correction and improved data rates
Higher data rates (multi-Gbps) drive the need for greater bandwidth High frequencies will provide larger bandwidth availability and smaller
systems, and the available bandwidth in the spectrum up through antenna dimensions for a ixed gain, or higher gain for a given antenna
6 GHz is not suficient to satisfy these requirements. (For reference, size. However, this increases modem complexity in baseband and RF
current cellular operation is below 3 GHz.) This has moved the target designs. To study the performance, we also need an accurate channel
operating frequency bands up into the millimeter wave range for the model for the new frequencies in 5G.
next generation of wireless communication systems. For example, 5G
equipment developers such as Huawei and Nokia have announced
5G NR trials with AT&T, Verizon, China Mobile, NTT DOCOMO, and
others. Those trials will operate in the midband spectrum from 3.3 GHz
to 5.0 GHz, as well as the millimeter wave (mmWave) spectrum at
28 GHz and 39 GHz, showcasing the uniied 3GPP-based 5G NR (new
radio) design across diverse spectrum bands.
18 28 38 60 GHz
FREQUENCY BAND
Ready for a deeper dive? Explore these resources to learn more about 5G
technology developement and design.
Watch
The Road to 5G: Simulating and Prototyping Wireless Systems (26:07)
Download Code
5G Library
Explore
5G Wireless Technology Development
2. New Architectures and Algorithms
New Design Architectures and Algorithms for 5G
Digital CHANNEL
Baseband DAC PA
Front End
Digital
Baseband ADC LNA
Front End
RECEIVER
Measurements
EVM, BER, ACLR
Channel
Algorithms Noise, interference
Mixed-signal
Modulation, beamforming, synchronization Discrete-time and continuous-time
5G mmWave designs require massive MIMO antenna arrays with Having many antenna elements in a small area makes it practical to
hundreds of antenna elements on base stations (eNodeB). Because the achieve a high beamforming gain. The highly directional beams help
area of an antenna array is reduced in proportion to the wavelength, an offset the increased path loss at the higher operating frequencies,
array for mmWave frequencies can be up to 100x smaller than an array because the beams steer power in a speciic direction.
for microwave frequencies.
UEs in a group using beams with same elevation angle (left) and a hybrid beamforming array architecture (right).
Typical array designs include parameters such as array geometry, architecture and signal processing algorithms. MIMO simulation times
element spacing, the lattice structure of the elements, element tapering, are also typically 10x longer than 3G and 4G simulations.
and the effects of mutual coupling. By adjusting the design parameters,
Behavioral-level simulation of the antenna array system can address
you can achieve tapering of the rows and columns of the array to
these challenges. Simulating at the behavioral level reduces the
reduce side lobe levels.
simulation time. This enables engineers to experiment with different array
Achieving an optimal design thus requires combined models of the architectures and algorithms, simulate the performance of the array and
antenna arrays and beamforming algorithms to simulate their interaction associated algorithms, and iteratively adjust parameters to mitigate the
and impact on system performance. This puts a strain on current 3G and effect of antenna coupling.
4G design tools, which typically separate antenna design from system
Massive MIMO antenna array design, which requires simulating the interactions between antenna, RF, and digital subsystems.
This is one of the key tradeoffs to assess, and it can be done iteratively with behavioral simulation.
The igures below show how you can develop and visualize behavioral simulations with Phased Array System Toolbox™ and Antenna Toolbox™ for
MIMO array design tasks.
Use antenna element models, such as omnidirectionalor cosine Vary the array size, array geometry, element spacing, and tapering.
elements, and rapidly move to more accurate analysis using patterns Visualize the resulting geometry, 2D and 3D directivity, and the grating
computed with electromagnetic (EM) tools or measured in the lab. lobe diagrams.
Visualize the array performance characteristics, such as the radiation
This example shows a beam pattern and grating lobe diagram for
pattern shown below.
66 GHz 64x64 element design, designed with Antenna Toolbox.
8x1 ULA subarray and corresponding radiation pattern. Beam pattern and grating lobe diagram for 66 GHz 64x64 element design.
While smaller wavelengths enable massive MIMO implementation Hybrid beamforming is a technique to partition beamforming between
within small form factors, signal path and propagation challenges the digital and RF domains to reduce the cost associated with the
associated with mmWave frequencies also increase. To achieve number of RF signal chains. Hybrid beamforming combines multiple
better beamforming control and lexibility, it would be ideal to have array elements into subarray modules, with one T/R module dedicated
independent weighting control over each antenna array element, with to a subarray in the array.
a transmit/receive (T/R) module dedicated to each element. But this is
generally not practical due to cost, space, and power limitations.
DAC RF RF ADC
BASEBOARD RF RF BASEBOARD
PRECODING ARRAY ARRAY COMBINING
DAC RF RF ADC
For a detailed discussion, see the white paper Hybrid Beamforming for Massive MIMO Phased Array Systems. The white paper uses a 64x64 element, 66 GHz millimeter wave example and demonstrates antenna array
modeling and partitioning of beamforming between the digital and RF domains.
Closed-loop transceiver model with power ampliier and adaptive DPD algorithm. The
lab-validated AD9371 models include real-life effects. The Volterra series model of the
power ampliier includes non-linearity and memory effects. The loop simulation includes
low and high-power effects, timing, and frequency selectivity over the signal bandwidth.
The adaptive DPD algorithm improves the device linearity within the signal bandwidth. Plots showing spectrum analysis (bottom right) and received constellation (top left).
• New coding schemes such as LDPC for data and polar codes for
control information, for error correction and improved data rates
• Propagation channel models for the 0.5 to 100 GHz frequency range
• Coding schemes, including LDPC for data channels and polar codes
for control channels
5G WAVEFORM
PDSCH WAVEFORM GENERATION: CHANNEL MODEL: PERFECT OFDM PERFECT CHANNEL PDSCH DL-SCH
DL - SCH GENERATION OFDM, F-OFDM
GENERATION CDL OR TDL SYNCHRONIZATION DEMODULATION ESTIMATION DECODING DECODING
AND MAPPING OR W-ORDM
5G downlink reference model and simulation. Using an LTE reference and resource grid as a starting point, you can insert 3GPP
5G algorithms and channel model to simulate the end-to-end link performance.
Ready for a deeper dive? Explore these resources to learn more about new
architectures and algorithms for 5G systems.
Watch
Winner II Channel Model (5:01)
5G Library (4:54)
Download Code
5G Library
Explore
5G Wireless Technology Development
Beamforming
RF Systems
Channel Modeling
3. Accelerating Prototypes and Field Trials
Accelerating Prototypes and 5G Field Trials
When changes are required, you can quickly modify the algorithm Architecture VERIFICATION
model, verify it in simulation, regenerate the code (typically within
Timing Fixed-point
minutes), integrate the code in the FPGA development environment,
and synthesize it for FPGA implementation. The generated code is well
structured, readable, and functionally accurate.
HARDWARE PROTOTYPE
(HDL CODER ™ , EMBEDDED CODER ®)
C Code HDL
Processor FPGA
SDR Platform
The process starts with MATLAB and LTE System Toolbox to explore
algorithm options to produce a standard-compliant reference waveform
and test bench.
Visualizing the LTE resource grid, as shown here, helps to verify that the
waveform is constructed properly and conforms to the standard.
The following image shows the steps in transforming an LTE cell search
detection algorithm into HDL code ready for FPGA prototyping or
implementation:
• HDL code automatically generated from the Simulink model LTE resource grid representing a standard-compliant waveform.
MATLAB reference code for LTE cell search (top), and worklow for designing and
generating an HDL implementation of the algorithm (bottom).
To learn more, download an example of building an LTE-compliant OFDM modulator and detector for implementation with HDL Coder™, and use
LTE System Toolbox to verify the HDL implementation model.
Model-Based Design doesn’t stop at prototyping. Wireless engineers are The model produces hardware-independent HDL code that can be used
successfully using MATLAB and Simulink with automatic HDL generation on any FPGA or ASIC. Optimizations for other architectures can be
to produce algorithm implementations that meet the performance, size, performed by modifying the model, verifying the results in Simulink, and
and power requirements of production FPGA and ASIC designs. The regenerating the HDL code. HDL Coder integrates with SoC and FPGA
iterative worklow enables rapid development and veriication of highly design to provide target-optimized implementations. This can accelerate
eficient hardware implementations of algorithms for multirate iltering, the development of SoC and FPGA designs, enabling teams to complete
PAPR suppression, digital predistortion, and baseband processing. this work in days or weeks rather than in months.
SPEC
TYPICAL
SYSTEM/ HARDWARE HAND RTL VERIFICATION
DEVELOPMENT ALGORITHM RTL
ARCHITECTURE CODING
PROCESS
RTL SYNTHESIS
DEVELOPMENT TIME
MODEL
RTL VERIFICATION
MODEL-BASED SYSTEM/ HARDWARE
ALGORITHM ARCHITECTURE RTL
DESIGN GENERATE RTL SYNTHESIS
COLLABORATE
ITERATE
VERIFY
• Distinct GUI
For details on how Ericsson is using hardware testbeds for fast hardware
prototyping and automatic HDL code generation with MATLAB and
Simulink, watch the video Radio Testbed Design Using HDL Coder. (22:44)
Ready for a deeper dive? Explore these resources to learn more about
accelerating 5G prototypes and field trials.
Qualcomm: Connecting Systems and HDL World – Rapid RTL Generation (Conference Proceedings)
Huawei: System-Level ASIC Algorithm Simulation Platform Using Simulink (Conference Proceedings)
Watch
FPGA Implementation of an LTE Receiver Design (27:01)
Download Code
HDL Implementation of LTE OFDM Modulator and Detector
Explore
Hardware Design with MATLAB and Simulink
4. System Veriication and Testing
5G System Verification and Testing
By connecting to software-deined radio (SDR) and RF instrument During ield testing, it is important to be able to quickly modify test
hardware, you can use MATLAB® and Simulink® to perform over the- parameters and test scripts to accommodate different test scenarios.
air tests to validate your 5G designs in simulation, in the lab, or in the Using MATLAB provides the lexibility to customize tests and to diagnose
ield under real-world conditions. The test benches, signal generators, and debug subtle issues that are dificult to address in the more
scopes, and measurements used at the simulation stage can be reused constrained software environments and encrypted waveforms that test
for hardware testing. This approach eliminates the need to recreate tests and measurement instruments typically provide.
in a different software environment and reduces test development time
MATLAB and Simulink support a range of available SDR hardware, as
and errors.
well as RF signal generators and spectrum analyzers from RF instrument
You can capture live 5G or LTE signals for analysis and comparison to vendors such as Keysight, Rohde & Schwarz, National Instruments, and
baseband simulation results. Algorithm designers can use the captured Anritsu. SDR support packages are available for Xilinx Zynq and FPGA
signals to test their algorithms, and the RF team can use this setup to Radios; USRP® N, X, and E Series Radios; PlutoSDR; and RTL-SDR. From
verify their RF design. Download an example that demonstrates live LTE these options, you can choose the hardware that’s most appropriate for
signal generation and capture capability. your requirements and budget.
TRANSMITTER
SUPPORTED HARDWARE
Digital DAC PA
Baseband
Front End
Digital
Baseband ADC LNA
Front End
MATLAB and Simulink support for over-the-air (OTA) testing with a range of available SDR and RF instrument hardware,
simplifying comparison of OTA tests to simulation results.
You can use MATLAB and Simulink with SDR hardware as a cost-effective,
real-time platform for a range of wireless engineering tasks, including:
Over-the-air
+ +
LTE System Toolbox™ SDR Platform SDR Platform LTE System Toolbox™
MATLAB and LTE System Toolbox with supported SDRs. This provides a lexible, cost-effective environment for live signal generation and capture.
Generation (left) and analysis (right) of an LTE downlink test model (E-TM) waveform.
Over-the-air
+ +
LTE System Toolbox™ Signal Generator Spectrum Analyzer LTE System Toolbox™
The ield trial system requires a test and analysis system that supports
scalable data capture, data processing, analysis, and sharing of results.
Test engineers performing ield tests often use commercially available information such as antenna pattern iles. It is helpful to have a common
test instruments. However, 5G ield trial analysis requirements go far environment or tool that can access various kinds of data from different
beyond simple measurements. equipment vendors.
Field trial analysis software must be able to import data directly from For very large data sets, teams can use computing clusters or cloud
test instruments or from stored data in a variety of formats. The data storage that scales from a single workstation to compute clusters or
represents captured signals, name and time stamps, and coniguration process big data sets.
Using MATLAB to capture, process, and analyze ield test data stored locally or in the cloud.
Test engineers may want to store raw captured data or show the results to
their management, partners, or customers after analysis.
For example, a team might want to show cell handover points on a map,
decide if signal-to-interference-plus-noise ratio (SINR) is satisfactory, and
how the RSRP varies. In performing this task, it can be necessary to quickly
generate standard waveforms and repeat the test process many times.
Cell ID Change Points
Analysis of the signal in conformity with the standard and handover point and cell ID number.
Visualization is critical in ield testing. Test engineers need to If properly implemented, this visualization architecture enables engineers
superimpose captured signals as well as performance and parameter to comprehensively visualize system performance in real-world scenarios
data on a representation of a geographic map. 3D and pseudo-3D and demonstrate results to inform network planning decisions.
representations require latitude and longitude in the map.
Visualization of cellular signal coverage on a street map (left) and regional map (right).
Ready for a deeper dive? Explore these resources to learn more about 5G
system verification and testing.
Watch
5G/LTE/WLAN: Waveform Generation, Simulation, Measurement, and Over-the-Air Testing
Learn
Verifying LTE Designs Using Live Signals and Test and Measurement Equipment
Explore
Designing and Testing LTE Systems
© 2017 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc. See mathworks.com/trademarks for a list of additional trademarks.
Other product or brand names may be trademarks or registered trademarks of their respective holders.