Link-Level Simulator for 5G Localization
Abstract
Channel-state-information-based localization in 5G networks has been a promising way to obtain highly accurate positions compared to previous communication networks. However, there is no unified and effective platform to support the research on 5G localization algorithms. This paper releases a link-level simulator for 5G localization, which can depict realistic physical behaviors of the 5G positioning signal transmission. Specifically, we first develop a simulation architecture considering more elaborate parameter configuration and physical-layer processing. The architecture supports the link modeling at sub-6GHz and millimeter-wave (mmWave) frequency bands. Subsequently, the critical physical-layer components that determine the localization performance are designed and integrated. In particular, a lightweight new-radio channel model and hardware impairment functions that significantly limit the parameter estimation accuracy are developed. Finally, we present three application cases to evaluate the simulator, i.e. two-dimensional mobile terminal localization, mmWave beam sweeping, and beamforming-based angle estimation. The numerical results in the application cases present the performance diversity of localization algorithms in various impairment conditions.
Index Terms:
5G localization, analog beamforming, channel modeling, hardware impairment, link-level simulator, physical layer standard, positioning reference signal.I Introduction
Nowadays, providing user-centric service has become one of the primary goals for wireless communication operators and vendors. Except for the high transmission rate and the ubiquitous connection, accurate localization is also a key issue to enhance the user experience, especially for location-based services. Although the global navigation satellite systems can provide expected positioning services in most open areas, its positioning performance is rather limited in many semi-close or close spaces such as urban canyons, indoors, and tunnels. Fortunately, wide bandwidth and dense coverage, as the novel features of 5G, enable more accurate localization compared with previous generations of mobile communications. Therefore, 5G localization can be a promising supplement to ubiquitous positioning [2, 3, 4].
There are two classes of hot topics for 5G localization in the literature. One is integrated localization and communication [2]. Researchers devote themselves to the joint design of localization accuracy and communication metrics toward B5G/6G. However, those theoretical analyses fail to consider current implementation issues. The other one is localization using 5G systems [3]. Many works have highlighted the technical challenges of localization using 5G systems, whereas considerably desired results are rare [4]. Since the primary goal of 5G is the wireless communication service, a radio access technique of 5G systems is determined by balancing communication metrics and cost. Although precise localization accuracy has been required in 3rd generation partnership project (3GPP) standards recently, 5G commercial infrastructure will not be modified significantly to enhance localization. Therefore, to achieve high-accurate localization, the disadvantages of practical 5G systems must be overcome.
Among the researches on localization with 5G systems, the time difference of arrival (TDOA)-based method is one of the alternatives. In particular, the authors in [5] presented a TDOA-based 5G localization simulation, and the sub-meter-level estimation accuracy was achieved with classical assumptions. However, the practical timing synchronization offset reaches a microsecond-level accuracy (i.e., 300-meter ranging accuracy) due to the impairments of the transmission links and the clock sources [4]. In addition, the timing synchronization error between different base stations or users is super high and irregularly distributed, which incurs severe deviation from the true TDOA value. Although the round-trip-time method has been proposed to partly compensate for the synchronization error among the different transceivers, the field test result is still indistinct.
Apart from the TDOA-based method, the angle-of-arrival (AOA)-based localization has also been proved to achieve accurate results by numerical simulations and field tests [6, 7, 8]. Particularly, meter-level localization was obtained from the channel state information (CSI)111In this paper, the word ‘CSI’ denotes the channel coefficient from a transmitter to its receiver, which is commonly used in the literature. However, the word ‘CSI’ is defined as the specific reporting information in the 3GPP NR standard. of 5G receivers [7]. Theoretically, quite precise observed angles can be acquired from the abundant amplitude and phase information of the CSI. However, it is obstructed by the real hardware impairments (HIs) of the 5G transceivers such as carrier frequency offset (CFO), antenna phase offset (APO), in-phase-and-quadrature (IQ) imbalance, and so on. To circumvent the issues stated above, many works have been conducted using link-level simulators, software radio systems, or WiFi systems; please see [7, 8] and the references therein. It has been convinced that observed specific phase distortions can be efficiently modeled and compensated to a certain extent.
However, the existing compensation methods as in [7, 8] cannot be directly applied in 5G systems. The first reason is that the HI effects are different between 5G transceivers and other systems. The second one is that several classical HIs are not well observed and resolved. Thus, the effective compensation methods for 5G localization must be further developed with a unified 5G platform. Although there exist some 5G testbeds used to develop advanced estimation techniques [9], the specific issues on the physical-layer level cannot be well tackled. It is because techniques vary according to different base-station (BS) deployments, application scenarios, and transceiver HI conditions. Therefore, it is very critical to design accurate localization techniques using an appropriate 5G simulator.
To evaluate advanced wireless access technologies, many system-level and link-level 5G simulators have been released and played positive roles in the fields of education, academic research, and technology standardization [10, 11, 12, 13, 14, 15, 16, 17, 18, 19]. However, the existing 5G simulators as in [10, 11, 12, 13, 14, 15] mainly focus on evaluating the system-level or multi-layer techniques for communications, while localization details are usually ignored. Even though some of the 5G simulators as in [16, 17, 18, 19] support the research on localization algorithms, the positioning signal modeling or crucial HIs that deteriorate the localization performance have not been considered. Nevertheless, those 5G simulators are usually close-coupled, and thus it is difficult to be modified to support the HIs models for localization and the latest new-radio (NR) physical-layer standards. To the best of our knowledge, there have been no open specialized 5G localization simulators considering both the HIs for localization and the latest NR physical-layer standards. This motivates our work.
Simulators | Main purpose | 3GPP spatial channel modeling | Positioning signal modeling | HI functions for 5G localization | Code |
Presented simulator | Design and evaluate estimation and compensation algorithms for 5G localization | Latest. Elaborate and customized parameter output | Fine-grained | Eight HI functions for 5G localization | Open (MATLAB) |
Simu5G [10] | 5G system-level high-layer evaluation, focusing on data plane and core network | Compliance | No | No | Open (C++) |
NetSim 5G library [11] | 5G system-level evaluation, full-stack packet-level simulation of NR network | Basic | No | No | Commercial (C & Java) |
5G-air-simulator [12] | 5G system-level multi-layer evaluation | Basic | No | No | Open (C++) |
5G K-Simulator [13] | 5G system-level and multi-layer evaluation | Compliance | No | No | Open (C++) |
Vienna 5G simulator [14] | Design and evaluate 5G physical-layer techniques for communications | Basic | No | No | Open (MATLAB) |
GTEC 5G LL simulator [15] | Evaluate the performance of 5G transmission under different scenarios | No | No | No | Open (MATLAB) |
NYUSIM [16] | Simulate realistic 5G millimeter-wave (mmWave) channel response | Advanced | No | No | Open (MATLAB) |
OpenAirInterface [17] | Design physical-layer and network-layer techniques for communications | Compliance | No | No | Open (C) |
Qualcomm 5G simulator [18] | Investigate advanced waveform for 5G mmWave transmissions | Advanced | No | Partial functions for mmWave waveform design | Open (MATLAB) |
Matlab 5G toolbox [19] | Simulate 5G physical-layer functions partly | Basic | Fine-grained | Partial functions for coding or waveform design | Commercial (MATLAB) |
This paper releases a physical-layer simulator for 5G localization. In particular, the simulator can model the critical adverse effects of 5G systems and the wireless channel on localization. It also supports fine-grained parameters configuration for all positioning signal transmissions at sub-6GHz and mmWave frequency bands. The detailed comparisons of the presented simulator with the existing 5G simulators are listed in Table I. The main contributions are stated below:
-
1.
A specialized link-level simulation architecture for 5G localization is developed. Different from the existing works, very elaborate parameters configuration and physical-layer baseband processing are designed and integrated. In particular, an analog-beamforming (ABF) framework is embedded to support the research on beamforming-based angle estimation in the mmWave frequency band. In addition, several visualization functions are designed to facilitate analysis.
-
2.
To support a more flexible configuration, the physical transmission of all positioning signals is modeled fine-grained through the object-oriented programming. The modeled reference signals contain sounding reference signal (SRS), positioning reference signal (PRS), CSI-reference signal (CSIRS), and synchronization signal block (SSB). In addition, the modeling is fully in line with the latest NR physical-layer standard, i.e. 3GPP technical specification (TS) 38.211 [20].
-
3.
A lightweight channel model simulating practical multipath effects is specifically designed, which complies with the latest NR physical-layer standard, i.e. 3GPP technical report (TR) 38.901 [21]. In particular, the channel model supports additional modeling components that affect CSI-based parameter estimation such as spatial consistency, time-varying Doppler shift, ground reflection, and absolute time of arrival (TOA). Additionally, the initialization configuration of the channel model considers much more modeling parameters to support various 5G deployments.
-
4.
To circumvent the adverse effect of HIs on parameter estimation, eight critical classes of HIs are specifically modeled. The HIs include APO, accurate channel impulse response (CIR), timing offset (TO), beamsteering error, CFO, IQ imbalance, phase noise (PN), and power-amplifier nonlinearity (PAN). In addition, we verify the effectiveness of the APO model by comparing the AOA simulations with the practical measured results.
The rest of this paper is organized as follows. In Section II, we introduce the system architecture and capabilities of the released 5G localization simulator. Section III presents the key components of the simulator. Section V presents three application cases and the corresponding numerical results to verify the simulator by comparing the performance of the estimation algorithms considering various practical issues. Finally, Section VI concludes the paper.
Notations: Table II presents a list of acronyms and corresponding definitions, while Table III presents a list of mathematical symbols and corresponding definitions. In addition, the rest mathematical symbols that have no dedicated definitions are auxiliary variables.
Acronym | Defination | Acronym | Defination |
---|---|---|---|
2-D | Two-Dimensional | NLOS | Non-LOS |
3-D | Three-Dimensional | NR | New Radio |
3GPP | 3rd Generation Partnership Project | O2I | Outdoor-to-Indoor |
ABF | Analog-Beamforming | OFDM | Orthogonal-Frequency-Division-Multiplexing |
AOA | Angle of Arrival | PAN | Power-Amplifier Nonlinearity |
AOD | Angle of Departure | PDP | Power-Delay-Profile |
APO | Antenna Phase Offset | PN | Phase Noise |
ASA | Azimuth Angle Spread of Arrival | PRS | Positioning Reference Signal |
ASD | Azimuth Angle Spread of Departure | PSD | Power Spectral Density |
BS | Base Station | RSRP | Reference Signal Received Power |
CDF | Cumulative Distribution Function | RMS | Root-Mean-Square |
CFO | Carrier Frequency Offset | RMSE | Root-Mean-Square Error |
CFR | Channel Frequency Response | SNR | Signal-to-Noise Ratio |
CIR | Channel Impulse Response | SRS | Sounding Reference Signal |
CSI | Channel State Information | SSB | Synchronization Signal Block |
CSIRS | CSI-Reference Signal | TDOA | Time Difference of Arrival |
DS | Delay Spread | TO | Timing Offset |
ESA | Elevation Angle Spread of Arrival | TOA | Time of Arrival |
ESD | Elevation Angle Spread of Departure | TR | Technical Report |
HI | Hardware Impairment | TS | Technical Specification |
IQ | In-Phase-and-Quadrature | ULA | Uniform Linear Array |
KF | Ricean K Factor | UPA | Uniform Planar Array |
LOS | Light-of-Sight | XPR | Cross-Polarization Ratio |
Symbols | Defination | Symbols | Defination | Symbols | Defination |
Transpose | Subcarrier spacing | Beamforming weight vector | |||
Conjugate | Discrete-time impulse response of an analog filter in the IQ branches | Transmit or input signal (/ vector) | |||
Hadamard product | Observation equation | Discrete-time form of | |||
Kronecker product | Actual channel coefficient | Receive or output signal (/vector) | |||
Mean | Channel vector | Normalized CFO | |||
Signal amplitude | CFR length in frequency domain | Angle of incidence or azimuth angle | |||
Power amplifier input saturation amplitude | Bit number of a phase shifter | Actual angle of incidence | |||
Transformation matrix | Gaussian noise vector | Angle vector of incidence | |||
Array antenna spacing | Antenna number of an array | Wavelength of the carrier | |||
Decorrelation distance | 2-D position vector | Amplitude error | |||
Frequency | Power spectrum density | Delay | |||
Zero (/ pole) frequency | Time | Elevation angle | |||
Amplitude (/phase) characteristic function for a power amplifier | First (/ second) half of beamforming weights | Phase error, offset, or mismatch | |||
Channel vector | Beamforming weight | Phase offset vector |
II System architecture and capabilities

In this section, we demonstrate the overall architecture and main capabilities of the released simulator. The Main function modules are classified and stated in the system architecture.
II-A System architecture
The basic goal is to simulate the CSI estimated at the receivers in real 5G application scenarios by modeling the physical-layer transmission links. Subsequently, parameter estimation algorithms can be designed and evaluated according to the detailed modeling parameters including the multipath coefficient information. In addition, the simulator is expected to be flexible to configure and be in line with the latest NR standards as well as to simulate the HI effects. To this end, the system architecture of the simulator is designed in four parts: parameters initialization, physical layer simulation, wireless channel simulation, and visualization, as shown in Figure1.
Parameters initialization
We aims to configure all initial parameters for different function modules before executing the simulation. Specifically, it is composed of six types of initial parameters: system parameters, carrier parameters, positioning signal parameters, wireless channel parameters, HI parameters, and ABF parameters. In particular, the simulator considers much more specific parameters to support various 5G deployments. Therefore, each type of parameter is integrated into a class form for ease of configuration. This ensures that the parameters are not only assigned with default values but also easily customized according to different simulation requirements. In addition, the value ranges of these parameters are restricted in the class files to circumvent abnormal configurations.
Specifically, system parameters are composed of the system layout and the basic simulation settings. These parameters should be configured firstly and can thus interact with the rest simulation setting. Carrier parameters refer to the time-frequency resource configurations meeting the NR transmission numerologies. Positioning signal parameters involve the selection of the signal type and the configuration of the particular signal resource set. Wireless channel parameters initialize fine-grained channel modeling parameters. Particularly, the complicated array setting is specified to support the mmWave transmission and the cross-polarized cases. It also contains indicators to activate or deactivate additional modeling components. HI parameters are composed of the indicators to activate or deactivate each of the HI functions as well as the corresponding specific parameters of the HI functions. ABF parameters are composed of the beam sweeping settings and the indicators to activate or deactivate different types of beam sweeping.
Physical layer simulation
We aims to simulate the physical-layer baseband transmission of the positioning signals from signal generation to parameter estimation. The physical layer simulation is divided into five function modules, including positioning signal generation, baseband modulation, receive signal generation, baseband demodulation, and channel parameters estimation. In particular, the ABF and HI functions are appropriately merged into the baseband modulation and receive signal generation modules.
Specifically, according to the selected signal type and the determined signal resource set, positioning signal generation first generates the symbols and the indices of the selected resource set and then maps them to the time-frequency resource grid. In the baseband modulation, the generated resource grid is first converted into the baseband waveform by the orthogonal-frequency-division-multiplexing (OFDM) modulation. Then the ABF, HIs, and transmit power functions at the transmitter are combined into the baseband waveform. In the receive signal generation, the received waveform is obtained by filtering the baseband waveform of each time slot with the CIR as the filter coefficient. In addition, the ABF, HIs, and additive Gaussian noise functions at the receiver are reformulated into the received waveform. Baseband demodulation performs the standard OFDM demodulation and obtains the received resource grid. Channel parameters estimation acquires the channel parameters from the received resource grid according to the known symbols and indices of the reference signal. Herein, the channel frequency response (CFR) is obtained based on the least-square method, and the reference signal received power (RSRP) is obtained according to the signal correlation.
Note that the downsampling and the carrier conversions cannot be validly simulated in the mathematical software and are thus ignored. Fortunately, some HI effects at the carrier frequency band, e.g. the PN effect, can be reformulated at the baseband.
Wireless channel simulation
We aims to simulate the wireless channels in various 5G scenarios according to the NR channel model stated in 3GPP TR 38.901. The simulation is composed of four modules: system initialization, large-scale parameters generation, small-scale parameters generation, and multipath coefficients generation. In particular, the time-variant spatial consistency is considered in the simulation to approach more realistic channel characteristics. In addition, to meet the different simulation requirements, the channel model is realized in three cases: light-of-sight (LOS) only, drop-based, and segment-based.
Visualization
In order to facilitate research on the CSI-based estimation method, several specific display functions are developed in the simulator. The display functions consist of system layout, power-delay-profile (PDP) distribution, CIR distribution, CFR pattern, time-frequency resource pattern, cumulative distribution function (CDF) distribution, and so on. In particular, the orientation of the transceiver, the array structure, and the beamforming pattern can be elaborately configured in the system layout function.
II-B Supported capabilities
Generally, a link-level simulator aims to design and evaluate physical-layer algorithms by adopting these algorithms into a modeled transmission link. Different from the existing link-level simulators, more elaborate physical transmission link and wireless channel model have been developed in the presented simulator. In addition, the simulator supports the following extended capabilities.
MultiBS and multiuser transmission
MultiBS and multiuser transmission can be executed simultaneously while meeting the NR transmission protocol. For example, considering SRS transmission, multiple users can transmit their own SRS resource sets to the BSs. The BSs distinguish and demodulate different SRSs according to the dedicated coding information such as the SRS scrambling identity and the resource pattern. The number of users supported in this case depends on the available time frequency resource and the configuration of the SRS resource sets.
Uplink and downlink transmission
Both uplink and downlink transmissions are supported in the simulator. When a positioning signal is selected, the transmission direction is then determined by a parameter transformation module. Specifically, SRS determines the uplink transmission, while other signals such as PRS, CSIRS, and SSB determine the downlink transmission. In the wireless channel model, the arrival and departure parameters for uplink and downlink should be swapped when the transmit direction changes.
mmWave and large array
Since the physical transmission and wireless channel model are in line with NR standards, the carrier frequency of the simulator ranges from 0.5 GHz to 100 GHz. In addition, the large array can be configured for the mmWave transmission. Moreover, the HI effects and the ABF functions have also been considered in the mmWave transmission.
Multiscenario and spatial consistency
The presented simulator supports standard 5G scenarios such as indoor, indoor factory, urban macro, urban micro, and rural macro. Meanwhile, the scenario-related parameters can refer to 3GPP TR 38.901. In addition, extended scenarios can also be included in the simulator if the necessary channel parameters of a certain scenario are obtained. For example, one can perform channel measurement in a specific area, such as the underground parking lot, and then estimate the channel parameters required for channel modeling. Moreover, spatial consistency is supported for the static and dynamic simulations. In other words, there exists a cross-correlation between the channel coefficients generated from any two adjacent points in a consistent moving track of a user or from two adjacent users.
Overall, with the supported physical-layer transmission models and extended capabilities, the simulator can not only be applied to the angle estimation but also evaluate other CSI-based localization algorithms. These algorithms include but are not limited to fingerprinting, non-LOS (NLOS) identification, resource scheduling, and machine-learning-based methods.
III Key components
In this section, the key components of the simulator are demonstrated in detail, which contain the positioning signals, dedicated wireless channel model, HIs, and ABF-relevant modules.
III-A Transmission models of the positioning signals
Fine-grained signal modeling is usually neglected in existing 5G simulators because it does not affect the evaluation of communication techniques. However, the positioning-used reference signals are predesigned and determine the localization capabilities. In addition, estimation algorithms vary according to specific resource patterns, especially for multiuser localization cases. Therefore, the 5G localization simulator must include positioning signals modeling.
In the 5G NR signal mechanism, the time-frequency resource bears the physical channel and physical signal to be transmitted at the physical layer. In particular, the physical signals are dedicated to demodulation, channel sounding, synchronization, and so on. A receiver can obtain desired channel information from the received physical signals, and the estimated channel information can also be used for localization. There are four classes of physical signals that can be used for 5G localization, namely SRS, PRS, CSIRS, and SSB. In order to support multiuser localization and joint localization and communication cases, the time-frequency pattern of these physical signals can be flexibly configured following specific principles.
CSIRS
The CSIRS is one of the downlink reference signals in NR systems, which is used for the downlink channel sounding and the beam management. The CSIRS supports up to 32-antenna-port transmission due to its multiplexing method, and thus both the AOA and angle of departure (AOD) can be estimated with the CSIRS. Moreover, to circumvent the conflict with other downlink physical channels or physical signals, the resource allocation of the CSIRS must conform to some specific principles [24].
SRS
The SRS is one of the uplink reference signals in NR systems and its main functions are similar to that of the CSIRS. In particular, the SRS supports up to 4-antenna-port transmission due to its special cyclic shift coding, and thus the AOD estimation with the SRS performs limitedly. In addition, the SRS sequence is generated based on the Zadoff-Chu sequence, which ensures a lower peak-to-average power ratio for the SRS transmission.
PRS
For positioning enhancement in NR systems, the PRS and its measuring and reporting mechanism are introduced in release-16 of 3GPP TS 38.211. In order to support measuring the TOAs from multiple BSs, the resource muting function has been included to circumvent the conflict of the PRS resource sets among different BSs. However, the PRS only supports single-antenna port transmission, and thus the AOD information can not be estimated with the PRS.
SSB
The SSB is designed for the primary time-frequency domain synchronization during the cell search phase in NR systems. Due to its determined pattern in the resource grid, the SSB cannot be used for channel estimation. Although the SSB can be configured for the initial beam establishment in the mmWave transmission, the beamwidth of the sweeping beams with the SSB is usually too large to estimate the signal orientation directly. Instead, more accurate angles can be calculated by beamforming-based angle estimation techniques.
There are two frequency ranges for the carrier in NR systems, i.e. sub-6 GHz and mmWave. In the sub-6 GHz, the estimated CSI contains the AOA or AOD information, and thus one can configure the CSIRS or SRS resource set for the CSI-based angle estimation. In the mmWave transmission, the ABF-based method is the primary angle estimation method, and can be executed with the CSIRS, SRS, PRS, and SSB resource sets.
Furthermore, all the positioning signals are modeled with the different class files in the simulator. For each signal generation, the symbols and indices of the selected signal in the resource grid are obtained according to the specification in 3GPP TS 38.211.
III-B Dedicated wireless channel model
In order to explore the influence of wireless channels in the system performance of mobile networks, wireless channel modeling has been a critical research area for over 20 years. So far, there exist plenty of comprehensive channel modeling methods such as geometry-based stochastic model, map-based model, and ray-tracing-based model, in the literature [25, 26, 27]. We use the geometry-based stochastic model as used in the 3GPP TR 38.901, where the basic channel coefficient generation procedure is presented in Figure2. As presented in the system architecture, the wireless channel model has been divided into four modules, and a more elaborate modeling process is demonstrated in the following.
We aim to build a lightweight channel model dedicated to localization, and thus the channel functions that affect the parameter estimation results are prioritized. Therefore, more detailed parameters of building multipath channel coefficients are extracted to facilitate the algorithm analysis. Moreover, some comprehensive channel simulators such as the NYUSIM [16] and Quadriga [18] are also available for our link-level simulator with an additional interface to be configured.

Wireless channel parameters initialization
Two classes of initial channel parameters are considered in the simulation, which are the layout and channel configurations. In particular, we integrate the array configuration into the layout configuration for ease of parameter initialization.
In the array configuration, the initial parameters include array type, numbers of array elements in each row and column, patch antenna type, polarization, array orientation, array element spacing, antenna positions, and so on. When these parameters are determined, the power patterns of all array elements are first determined. Then the power patterns are transformed into the polarized field patterns in the local coordinate system according to the transformation models as stated in clause 7.3.2 of 3GPP TR 38.901 [21]. Finally, the polarized field patterns in the global coordinate system are obtained by the coordinate transformation. Herein, seven classes of antenna power patterns are designed for the simulation, which can efficiently support the mmWave array modeling. Furthermore, we also integrate the three-sector polarized field patterns into the array configuration. When the indicator of the three-sector case is activated, the three-sector antenna positions are first generated by the specific position calculation module. Then the polarized field patterns are obtained according to the above process.
Large-scale parameters generation
This module first calculates the two-dimensional (2-D) and three-dimensional (3-D) distances from the BSs to the users as well as the corresponding ground reflection distances. In the meanwhile, the outdoor-to-indoor (O2I) and LOS states for each transmission link are assigned by the predefined values or the generations with certain probabilities. If the O2I state for a transmission link is activated, the corresponding indoor distance and indoor penetration loss are then calculated according to the relevant initial parameters. In addition, with the assigned LOS states, all channel model parameters for the determined scenario will be selected. Next, the seven large-scale parameters are generated by the cross-correlation models as stated in the Winner II channel model [27]. These parameters are shadow fading (SF), Ricean K factor (KF), delay spread (DS), azimuth angle spread of departure (ASD), azimuth angle spread of arrival (ASA), elevation angle spread of departure (ESD), and elevation angle spread of arrival (ESA). Moreover, the path loss is then generated.
Herein, to obtain correlated values of these large-scale parameters, random Gaussian-distributed variables for each parameter are first generated on a 2-D position grid, which covers the positions of all the transceivers in the network. Then the variable grid for one large-scale parameter is filtered in two dimensions by an exponential filter with normalized filtering coefficients. The filtering coefficients are generated according to the decorrelation distance of the corresponding large-scale parameter. In the implementation, the 2-D filtering is performed by filtering each of the two dimensions sequentially.
Furthermore, in the cases of spatial consistency, there exists the cross-correlation among the O2I states (and LOS states) for users. It can be resolved by the method of using spatial-consistency random variables. Specifically, four normal-distributed variables are first located in each corner of one correlation grid. Then an interpolation method is used to generate the normal random variables corresponding to the points within the grid. In addition, the uniform distribution can be generated from the phases of the normal random variables. One suitable interpolation function is given by
(1) |
where denotes the normal variable at the point , denotes the decorrelation distance, and denote the normal variables located at four corners of the correlation grid.
Small-scale parameters generation
This module aims to generate the small-scale parameters according to the determined large-scale parameters. Path delays, path powers, arrival departure angles, random coupling of rays, and cross-polarization ratios (XPRs) are generated sequentially. In the cases of spatial consistency, the small-scale parameters at are first generated according to the method stated above. Then for , new parameters will be generated by the time-variant small-scale parameters generation functions as stated in Procedure A of the spatially-consistent modeling in 3GPP TR 38.901.
Channel coefficients generation
Similarly, random initial phases, multipath channel coefficients, as well as LOS-path and ground-reflection channel coefficients are generated sequentially. The pathloss and the shadowing are finally applied to the channel coefficients. Three classes of channel coefficients are developed to meet different requirements, i.e., LOS-only coefficients, static coefficients, and dynamic coefficients. Specifically, LOS-only coefficients only consider the large-scale parameters. This case is mainly used for channel calibration. For the static coefficients, the channel coefficients for different positions of the transceivers are generated independently but the spatial consistency can hold for large-scale parameters. For the dynamic coefficients, the spatial-consistency channel coefficients for the moving track of a user are generated. In addition, the time-varying Doppler shift is implemented. This model can be used to explore the effect of channel coefficients of a moving user on localization algorithms.
Channel calibration
To qualify as a 3GPP compatible implementation, the channel model needs to be calibrated. In the channel model calibration specified at clause 7.8 of 3GPP TR 38.901, very detailed simulation assumptions for different calibration cases have been described. With the assumptions, many 3GPP contributors presented their simulation results for each of the metrics. As the simulation results presented by different institutions vary for each of the metrics, the mean value of those presented results is thus used as the benchmark. Therefore, we also verify the channel model by comparing the results from the simulator with the mean of the references.
We present several numerical results of the full calibration and the spatial consistency calibration for the NR channel model as in Figure3 and Figure4, respectively. It can be seen from Figure3 and Figure4 that the wireless channel model presented in this simulator meets the requirements as stated in 3GPP TR 38.901.










III-C Hardware impairments
The existing HIs in 5G NR systems can deteriorate the angle estimation results due to their nonlinearities. Fortunately, one can analyze the influence of HIs in the CSI estimated at the receivers and then design or develop advanced algorithms to compensate for these HI errors. Among the HI functions, APO, accurate CIR, TO, and beamsteering error are specifically designed to simulate the real HI effect on the CSI. The remaining functions that are widely presented in the localization and communication research are considered to use general models. Particularly, CFO, sampling frequency offset, and sampling time offset effects result in a similar HI on the CSI, and thus only the CFO is considered in the simulator for simplicity. In addition, the quantization error of the analog-to-digital converter is not considered since its impact on the localization performance is negligible. Overall, we integrate eight classes of HI models, which are demonstrated in detail as follows.
APO
The array manifold used for angle estimation is severely distorted due to the array baseline perturbation, the antenna mutual coupling, and the antenna pattern error. Although there have been plenty of works focusing on the compensation methods to the array manifold (see [28] and the references therein), limited results have been obtained in practical applications.
We propose an accurate modeling method by integrating the measured antenna phase offset into the generated CFR. Specifically, the real antenna phase offset is first obtained by measuring the real array in an anechoic chamber and 3-D interpolating. Then letting denote the phase offset of the -th receive antenna at the -th subcarrier for the azimuth of angle and the elevation of angle , the phase offset sequence for the -th path is given by
(2) |
where denotes the length of CFR in frequency domain. Letting , and denote the subcarrier spacing, the delay, and the amplitude of the -th path at the -th antenna, respectively, the -th path CFR is given by
(3) |
Then the CFR containing the APO at the -th receive antenna is given by
(4) |
The proposed modeling method can simulate the actual APO accurately compared to the random generation method. Thus, an effective angle estimation method can be designed while eliminating the APO for a specific antenna array, using the proposed simulator. Some achievements have been published using the proposed modeling method, please see [30, 31] for more information.
Accurate CIR
Among numerous existing physical-layer simulators for wireless communications, the CIR is usually generated by approximating the real delays with a multiple of the sampling interval. However, this method cannot simulate the energy dispersion effect on the received CIR, which hinders LOS-path detection and TDOA estimation. To resolve this issue, we propose to reformulate the real delays into the CFR of every single path which has been included in equations (3) and (4).
TO
Due to the time synchronization error, the start point of the fast-Fourier-transform window does not correspond to the beginning of each OFDM symbol. This will bring the linear phase offset on the frequency dimension. In addition, there exists a nonlinear offset among receive links due to their different group delays and the clock synchronization error. The adverse phenomenon above is referred to as the TO, which can easily be modeled by multiplying a phase offset to the waveform of each receive link in the frequency domain. Herein, the TO of each link can be randomly generated with the truncated Gaussian distribution.
Beamsteering error
In the mmWave systems, analog beams are formed by the phased array transceivers [29]. Herein, the phase of each RF link is adjusted by a bit-limited digital phase shifter with a constant phase step. In addition, although some advanced calibration methods have been used to achieve very fine beamsteering resolution and gain-invariant phase tuning, the phase error is still up to several degrees. The amplitude error also exists due to its imperfect compensation method. Thus combining the received signals by the phase and amplitude errors will result in a beamsteering error. To analyze the impact of beamsteering error on angle estimation in mmWave transceivers, we model the effects of phase step, phase error, and amplitude error on beamforming weights. Letting , , and denote the bit number of the phase shifter, the phase error, and the amplitude error, respectively, then one beamforming weight is given by
(5) |
where and can be randomly generated with the truncated Gaussian distribution.
CFO
The CFO represents the mismatch between the carrier frequency of the received signal and the center frequency of the local oscillator, which incurs a frequency offset of the baseband signals. One can model the CFO by multiplying the received baseband signal with a factor , where denotes the normalized CFO.
IQ imbalance
Due to the imperfection of the IQ modulator and/or demodulator at the transceivers of 5G NR systems, the signals in the I and Q branches are not strictly orthogonal. In addition, there exist differences between the IQ signals in transmission lines, analog-to-digital transformation, and low-pass filters, and thus the link gains for the IQ signals are different, which is usually frequency-dependent. The two analog impairments stated above are usually referred to as frequency-independent and frequency-dependent IQ imbalances, respectively.
In the simulator, we use the IQ imbalance models for transceivers as presented in [32]. Specifically, letting and denote the complex baseband signals before and after the IQ imbalance distortion, respectively, then IQ imbalance formulation at a transmitter is given by
(6) |
where and Herein, and are defined by and , respectively. In addition, it is assumed that the clocks used by the IQ branches have amplitude mismatch as well as phase mismatch , and the discrete-time impulse response of the analog filters in the IQ branches are and , respectively. If there is no frequency dependency, i.e., assuming that , then we have
(7) |
Correspondingly, the IQ imbalance formulation at a receiver can be obtained similarly.
PN
The PN is generated from the imperfect of the local oscillator, which is composed of a reference oscillator, a voltage-controlled oscillator, and a phase-locked loop. Usually, the PN incurs the time-variant carrier frequency offset in the radio signal generated from the local oscillator, and the PN effect can be represented by its power spectral density (PSD). In the simulator, we implement a multipole multizero PSD model, which is given by
(8) |
where, and denote the -th zero frequency and the -th pole frequency, respectively. In addition, denotes the PSD with unit dBc/Hz at Hz.
Generally, the implementation method of the PN model is stated as follows: filtering the Gaussian noise by a low-pass filter, then the PN signal can be obtained by the inverse fast Fourier transform of the filtered signal.
PAN
The PAN usually performs severe signal distortion in mmWave transmissions. To explore the effect of PAN on the estimated CSI, we employ a memoryless power amplifier model, in which the signal at the output of the non-linear circuit is given by [33]
(9) |
where denotes the input signal and are the characteristic functions of PAN. Particularly, the definitions of and are given in the following.
(i) Rapp amplitude-to-amplitude-conversion model:
(10) |
in root-mean-square (RMS) Volts and
(ii) Modified Rapp amplitude-to-phase conversion model:
(11) |
in degrees, where denotes the amplitude of the input signal, denotes the small gain signal, denotes the smoothness factor, and denotes the high-power amplifier input saturation amplitude. In addition, , and are the fitting coefficients.
III-D ABF-relevant modules
In the 5G NR systems, ABF techniques are introduced to assist the mmWave transmission, since the efficient beamforming gains can compensate for the high pathloss of the mmWave transmission. When the array scale is large, the sharp beam formed can be used for the angle estimation [34, 35, 36]. To support the research on advanced beamforming-based angle estimations, we design the corresponding ABF-relevant modeling structure. It consists of beam angle allocation, beamforming weight generation, and optimal beam selection. The specific algorithms of the beam sweeping or the beamforming-based angle estimation can be easily implemented with the presented modeling structure.
Beam angle allocation
This module aims to determine the beam sweeping pattern. The specific beam partition method can be designed by combining the relevant information such as beam number, array size, and sweeping ranges of azimuth and elevation angles. In the simulator, we use the grid-of-beam-based method which partitions the sweeping ranges evenly. Specifically, the 3dB beamwidths for two dimensions are first calculated according to the common approximate formulation for the uniform planar array (UPA) or uniform linear array (ULA), i.e. , where and denote the antenna number and spacing of an array, respectively. Also, denote the wavelength and the angle of arrival/departure of a radio frequency signal, respectively. Then the beam covering interval and all the beam angles can be obtained successively while ensuring that the covering interval is smaller than the 3dB beamwidth.
Beamforming weight generation
This module aims to transform the obtained beam angles into the corresponding beamforming weights. Usually, it can be implemented using the steering-vector transformation for a UPA or ULA.
Optimal beam selection
This module aims to determine an optimal beam during the beam sweeping or the beamforming-based angle estimation. For the beam sweeping, one can select the optimal beam based on the maximal RSRP. For the angle estimation, some advanced estimation techniques can be used to obtain more accurate beam angles. As stated in the application cases of the next section, we will present two classes of angle estimation methods, namely differential-beamforming-based and auxiliary beam-pair-based methods. In the physical-layer process of the presented simulator, the transmit and receive beamforming weights are respectively multiplied into the corresponding baseband waveforms.
IV Application cases
In this section, three application cases and their numerical results are presented to verify the capabilities of the released simulator.
IV-A Two-dimensional mobile terminal localization
Due to the limit of radio frequency links of a pico BS deployed in indoor scenarios, the BS might be capable of using a uniform linear array (ULA) to support efficient AOA estimation. Then the 2-D positions can be obtained approximately by fusing one-dimensional AOAs estimated from multiple BSs for every single user. Specifically, a certain angle of incidence obtained by the ULA determines a conical surface along with the ULA, and then multiple conical surface fusion is executed to obtain a curve or multiple points. Nevertheless, in a real application, two-BS fusion is the common method due to the limits of deployment coverage and resource allocation, and thus only an approximate solution can be obtained.
Simulation workflow
To verify the simulator performance on the localization, we present an indoor localization simulation222One stable version of the presented simulator has been uploaded to the GitHub website; please see https://github.com/Group85GP/Group85GP/tree/5G-positioning-simulator/.. The simulation workflow for the user localization is stated as follows.
-
1.
Specify the simulation parameters of the system layout, carrier, SRS, channel, HI, and localization function modules for a user, which are summarized in Table IV.
-
2.
Obtain the CFR for each link by the physical-layer transmission process from the SRS generation to the CFR estimation.
-
3.
Obtain the user location by the AOA estimation and two-dimensional localization modules.
System parameters | Values | Carrier parameters | Values |
---|---|---|---|
Bandwidth | MHz | FFT length | |
Center frequency | GHz | Length of resource grid | |
Frame number | Subcarrier spacing | KHz | |
Intersite distance | m | SRS | Values |
Use cases | Indoor open office | SRS comb type | Comb- |
User state | ‘static’ | SRS period | ms |
BS array type | -element ULA in horizontal | SRS time location | The last symbol in a slot |
User array type | Single antenna | Channel parameters | Values |
BS and user number | and | Layout | In line with system layout |
BS and user heights | m and m | LOS state | LOS |
BS and user orientations | and | Sampling number | |
User power | dBm | TOA type | Absolute |
Localizaion parameters | Values | Transmission direction | Uplink |
AOA estimation method | Digital beamforming | HI parameters | Values |
Localization method | Least square | Selected HI model | APO, TO, IQ imbalance, PN ,or PAN |
In Step 1), i.e. parameter initialization, all the BSs are placed with equal spacing and the user is randomly dropped in the system layout, which is in line with the scenario assumption in Table 7.2-2 of 3GPP TR 38.901. In addition, it is assumed that the ULA of each BS is composed of directional antennas.
In Step 2), i.e. physical-layer transmission, when a user is dropped in the layout, the user sends its specific SRS to all the BSs. The SRSs from multiple users can be distinguished by scrambling identity coding or different time-frequency resource patterns. Then each BS estimates CFR from the received signal according to the known SRS configuration information.
In Step 3), i.e. location estimation, best BSs will be first selected from the deployed BSs according to a certain selection criterion such as the maximum RSRP. The AOAs will be estimated from the CFRs of the selected BSs using a spatial process method. Then the user location is obtained by fusing the AOAs from the selected BSs with a localization algorithm such as the least square method.
Although the CFR contains multipath AOA information, the LOS path is usually much stronger than the other paths. Thus, one can acquire the LOS-path AOA from the CFR using a classical one-dimensional multiple signal classification or digital beamforming method. When the multipath signal strength is high, one can combine spatial processing with delay-domain processing to circumvent the multipath effect.
In the localization, the approximate linear least square is used for the multi-angulation localization. Specifically, It is assumed that denotes the 2-D position vector of a user, and denotes a column vector, which is composed of the estimated AOAs. Then the observation model for localization is given by Herein, is the noise vector , denotes the observation equation in which the -th row is given by , and denotes the -BS position.
Adopting the first-order Taylor approximation to the observation model, one can obtain the final estimation result as follows:
(12) |
where denotes the initial vector of , the -th row of is , and .
Furthermore, in order to obtain more accurate results, one can iteratively calculate the equation (12) and substitute with the estimated result in the iteration.
Numerical results
First of all, we aim to evaluate the effect of the APO on angle estimation. Figure 5(a) presents the angle estimation error profiles versus different actual angles of incidence for signal-to-noise ratio (SNR) within dB. In addition, the actual measured error profile in an anechoic chamber is included for comparison. It can be seen that there exist obvious deviations between the error profile with and without the APO model at the large-angle duration, i.e., near . In addition, the angle error profiles with the APO model are quite similar for different SNR values.
Moreover, it can be seen that the angle error profiles with the APO model approach the measured angle error profile compared to that without the APO model. It means that the APO model proposed in this simulator can simulate the real APO impact efficiently.
Figure 5(b) performs the estimation CDFs with different HI models and it can be seen that the HI models considered in this simulation significantly deteriorate the estimation precision. Specifically, the simulation considering the TO model achieves the worst results because the inter-channel TO is introduced that can destroy the array manifold destructively. In addition, the estimates considering the APO model first present lower performance than that without HIs and then approaches it. This is because the effect of APO on the angle estimation is not obvious when the angle of incidence is small or at some specific areas of the angle of incidence.
Further, one can also be observed from Figure 5(b) that all the CDFs approach around only. It is because the array of the BS is composed of directional antennas of which the field patterns can only cover limited areas. Therefore, when a user is out of the effective coverage area of the selected BS, the AOA can not be estimated correctly.


IV-B mmWave beam sweeping
ABF is one of the new features in 5G NR systems, which is mainly used to compensate for the high pathloss for the mmWave transmission. During the mmWave transmission with the ABF, beam sweeping is an inevitable process to determine suitable beamforming orientations, especially for the initial access phase of the NR transmission. Following the three-step beam management process as stated in TR 38.802 [37], the first step of the beam sweeping process using the SRS is simulated.
The simulation workflow for the beam sweeping is given in the following.
-
1.
Specify the simulation parameters of the system layout, carrier, SRS, channel, and beam sweeping function modules for a transmission link, which are summarized in Table V.
-
2.
Obtain the RSRP for each sweeping beam by the physical-layer transmission process from the SRS generation to the RSRP estimation.
-
3.
Obtain the optimal beam direction by comparing the receiving RSRP.
System parameters | Values | Carrier parameters | Values |
---|---|---|---|
Bandwidth | MHz | FFT length | |
Center frequency | GHz | Length of resource grid | |
Frame number | Subcarrier spacing | KHz | |
Use cases | Urban micro | SRS | Values |
User state | ‘static’ | SRS comb type | Comb- |
BS array type | and UPA | SRS period | ms |
User array type | ULA | SRS time location | The first symbols in a slot |
BS and user locations | m and m | Channel parameters | Values |
BS and user orientations | and | Layout | In line with system layout |
User power | dBm | LOS state | LOS |
Beam sweeping parameters | Values | Sampling number | |
Sweeping beam number | 12 | TOA type | Absolute |
Sweeping orientation | Azimuth angle | Transmission direction | Uplink |
Sweeping range | ∘ and ∘ |
In the physical-layer transmission process, the BS sweeps beams along with the redefined beam pattern while the user keeps a constant beam. Herein, the beam pattern can be determined in the beam angle allocation module as stated in Section III-D. In addition, the root-mean-square error (RMSE) is defined by where is the number of variables .

Figure 6 presents the RMSE of the beam sweeping process versus SNR for the sweeping ranges of and for the array scales of . It can be seen that the RMSE approaches a lower constant value as the SNR increases. In addition, when the sweeping range is small, the RMSE converges to a smaller value. Moreover, the RMSE with the large array scale is much smaller than that with the small array scale at lower SNR values, but the RMSEs approach a same lower bound value since the SNR increases. This is because when the SNR is low, the sharp beam of the large array scale can enlarge the signal power significantly. Then more accurate RSRP can be measured to determine more appropriate beams.
Furthermore, we observe that the RMSEs converge to a nonzero value since the SNR increases. This is because the sweeping beams are determined by the sweeping ranges and the beam number. When these parameters are defined, the sweeping beam angles have thus been determined regardless of the actual angle.
IV-C Beamforming-based angle estimation
Beamforming-based angle estimation is the classical method used for the phased array radar. Specifically, a single-site phased array radar is usually equipped with a very large-scale UPA and it can form very sharp beams for pointing to the targets accurately. In addition, combining the beamforming-based angle estimation, the estimation accuracy can be less than 0.05 deg. To form accurate beam orientations, very elaborate phase calibration must be executed for the large-scale UPA, and this calibration is usually very frequent and tedious.
In the 5G mmWave transmission, the large-scale UPA must be used to compensate for the path loss through the sharp analog beam determined from the RSRP comparison. Then with the sharp analog beam and its beam sweeping mechanism, beamforming-based angle-estimation is eligible to acquire more accurate angles.
Angle estimation methods
In the literature, there are two classes of beamforming-based angle estimations, namely the differential-beamforming-based and auxiliary beam-pair-based methods, which are demonstrated in the following.
Differential-beamforming-based method: In the differential-beamforming-based method, two different beam patterns, namely sum beam pattern and differential beam pattern, are used for mathematical comparison. Herein, the sum beam is the normal beam. The first half of beamforming weights for the differential beam pattern are the same as that for the sum one while the other half of weights are the opposite [35]. The fundamental idea of the differential beamforming is stated as follows.
For ease of expression, it is assumed that a BS equips with -element ULA instead of a UPA while a user equips with a single antenna. In addition, let , , and denote the signal wavelength, the interantenna spacing, and the probing direction, respectively. The beamforming weight vector of the sum beam pattern is given by
(13) |
Correspondingly, the weight vector for the differential beam pattern is given by
(14) |
Next, assume that the actual angle of incidence is denoted by , and then the receive signals by the sum beam and the differential beam are respectively given as
(15) |
and
(16) |
where , denotes the receive signal, and denotes the noise vector. Herein, denotes the real channel coefficient. Dividing the received signals of the differential beam by the sum beam, one can obtain
(17) |
where . When the angle deviation is small, this deviation is proportional to . Then from the formulations above, one can obtain that the ratio is monotonically increasing (or decreasing) with the angle deviation. When this deviation is covered by both the sum beam and the differential beam, the optimal angle can be achieved.
Auxiliary beam-pair-based method: The auxiliary beam-pair-based method is another way of using the monotonous relation from the ratio of the received signals to the angle deviation. The difference herein is that the spatial frequency deviation is used instead of the angle deviation for ease of derivation. In addition, the ratio between the received signal power by two adjacent beams of the initial beam is used to derive the spatial frequency deviation as presented in [36]. Use the previous assumptions and let denote the received spatial frequency with the initial beam. Then the spatial frequencies for the two adjacent beams are given by and , respectively. Herein, we have where .
Moreover, to circumvent weak received power for one possible auxiliary beam, one can also use a three-beam-based method. Specifically, the received power of two adjacent beams is first compared with each other to reserve the maximal one. Then this reserve beam is combined with the initial beam to derive the spatial frequency deviation by transforming to the two-beam-based problem. The best spatial frequency deviations for two-beam-based and three-beam-based methods are and , respectively, according to the mathematical derivation.
Simulation workflow
In this simulation, we aim to evaluate the beamforming-based methods. The simulation workflow for the angle estimation is given in the following.
-
1.
Specify the simulation parameters of the system layout, carrier, SRS, channel, and beam sweeping function modules for a transmission link, which are summarized in Table VI.
-
2.
Obtain the RSRP for each sweeping beam by the physical-layer transmission process from the SRS generation to the RSRP estimation.
-
3.
Obtain the optimal beam direction by an angle estimation module.
System parameters | Values | Carrier parameters | Values |
---|---|---|---|
Bandwidth | MHz | FFT length | |
Center frequency | GHz | Length of resource grid | |
Frame number | Subcarrier spacing | KHz | |
Use cases | Indoor open office | SRS | Values |
User state | ‘static’ | SRS comb type | Comb- |
BS and user array type | and UPAs | SRS period | ms |
BS and user locations | m and m | SRS time location | The first symbols in a slot |
BS and user orientations | and | Channel parameters | Values |
User power | dBm | Layout | In line with system layout |
Beam sweeping parameters | Values | LOS state | LOS |
Real azimuth and elevation angles | Sampling number | ||
Azimuth angle range of initial beam | or | TOA type | Absolute |
Elevation angle range of initial beam | or | Transmission direction | Uplink |
In the parameters initialization process, the initial beam orientation at the BS is generated randomly with the given beam orientation ranges. Herein, The initial beam orientation can be acquired from the results of the beam management process as long as this actual orientation is within the 3dB beamwidth of the initial beam. During the physical-layer transmission process, the BS sweeps sum and differential beams or auxiliary beams generated according to the determined initial beam and the angle estimation method. In the angle estimation module, one of the three introduced beamforming-based methods is used to achieve optimal orientation. In addition, the SNR in this simulation is defined by the SNR before the ABF processing.
Numerical results
We first present RMSE profiles for the three-beamforming-based methods in two cases. Specifically, Case (i): the azimuth elevation angles of the initial beam are randomly generated from the ranges of with the truncated normal distribution. Case (ii): the corresponding angles are generated from the ranges of , respectively. Herein, the blue lines with marker ‘’ represent Case (i), and the others for Case (ii). We observe from Figure 7(a) that as the SNR increases, the RMSEs obtained by the beamforming-based methods decrease. In addition, the estimating results at Case (i) are lower than that at Case (ii). This is because the angle deviation between the initial angles and the actual angles is too large at Case (ii) which deteriorates the estimating performance. Furthermore, for Case (i), the two-beam-based method always performs lower results than the other two methods. Moreover, the sum-and-difference beamforming achieves higher RMSE compared to the other two methods at low SNR but achieves much lower RMSE at high SNR. For Case (ii), the sum-and-difference beamforming can always achieve lower RMSE compared to the other two methods. Therefore, one can conclude that when the initial beam orientation is always within the 3dB beamwidth of the actual beam, the two-beam-based method can be selected to angle estimation. When the range of the initial beam orientation is much large and the SNR is relatively large, the sum-and-difference beamforming can be selected.



Next, we present the CDF results of the three beamforming-based methods for the SNR equaling dB and dB using the first case as stated above. It can be seen from Figure 7(b) that the two-beam-based method can always perform better than other methods for different SNRs. In addition, it can also be observed that the estimating accuracy obtained by the two-beam-based method is within degree in a percentage of at high SNR setting and with the given assumptions. However, all the estimating methods perform worse accuracy at low SNR settings. Herein, at a low SNR setting, the estimating accuracy is over degree in a percentage of and over degree in a percentage of , which might be worse than the initial angles obtained by beam sweeping. In the mmWave indoor scenarios, the SNR after the ABF process is usually much higher than dB. Therefore, one can conclude that beamforming-based estimation is one of the promising angle estimation methods for angle-based precise localization in mmWave indoor scenarios.
Finally, we analyze the impact of beamsteering error on the ABF-based angle estimation. We use the two-beam-based method only since it has been confirmed to be the most stable method according to the demonstration above. Figure 7(c) presents the CDF results using the two-beam-based method for different beamsteering error cases. Herein, the variables and denote the RMS amplitude and phase errors assigned in the simulation, respectively. In addition, 6-bit digital phase shifters are assumed since it is commonly used at many 5G mmWave chipsets. We observe from Figure 7(c) that the beamsteering error hardly affects the estimating accuracy at different SNR settings. It means that the beamsteering error is not the primary factor that deteriorates the estimating accuracy, although it has been confirmed in [29] that the beamsteering error will incur significant degradation in the sidelobe. Overall, one can say that the high-accuracy estimating results are obtained as long as the actual signal direction of arrival is in the 3dB beamwidth of the determined beam and the SNR is relatively high.
V Conclusion
With the high demand for high-accuracy localization in 5G vertical industries, much stricter localization requirements have been specified in 3GPP standards. However, it will take quite a long time for 5G localization techniques to move from standardization to industrialization. Particularly, the research and development of technology is the first and most important evolutionary stage. Therefore, designing a dedicated link-level simulation platform is very important to evaluate the performance of advanced localization algorithms.
This paper released a link-level simulator for 5G localization. In particular, the simulator can model the critical adverse effects of existing 5G systems and the wireless channel on localization. It also supports fine-grained parameter configuration of all positioning reference signals as well as the wireless channel at the sub-6GHz and mmWave frequency bands. The architecture and key components of the simulator were first presented. Subsequently, three application cases were given to verify the performance of the localization algorithms by considering various impairment conditions. The released simulator is open, modular, and flexible to configure, and can be adapted in the fields of education, academic research, and technology standardization.
In the next step, we will analyze and model the effects of specific synchronization errors among the base stations and the users, which are quite different from the existing simulation assumptions. In addition, we will study and integrate the map-based channel model since the adverse impact of the strong reflect paths on localization can be further explored using the map-based channel model.
References
- [1] X. Jia, P. Liu, S. Liu, et al., “Link-level simulator for 5G localization,” Accepted to IEEE Globecom 2022.
- [2] Z. Xiao, Y. Zeng, “An overview on integrated localization and communication towards 6G,” Sci. China Inf. Sci., vol. 65, 131301, 2022.
- [3] J.A. del Peral-Rosado, et al., “Survey of cellular mobile radio localization methods: from 1G to 5G,” IEEE Commun. Surveys Tut., vol.20, no. 2, pp. 1124-1148, 2018.
- [4] Z. Chaloupka, “Technology and standardization gaps for high accuracy positioning in 5G,” IEEE Commun. Standards Mag., vol. 1, no. 1, pp. 59-65, Mar. 2017.
- [5] S. Dwivedi, et al., “Positioning in 5G networks,” IEEE Commun. Mag., vol. 59, no. 11, pp. 38-44, Nov. 2021.
- [6] Y. Wang, Z. Shi, Y. Yu, S. Huang, and L. Chen, “Enabling angle-based positioning to 3GPP NR systems,” in Proc. 16th Workshop Positioning, Navigat. Commun. (WPNC), Germany, Oct. 2019.
- [7] E. Y. Menta, et al., “On the performance of AoA–based localization in 5G ultra–dense networks,” IEEE Access, vol. 7, pp. 33870-33880, 2019.
- [8] N. Tadayon, et al., “Decimeter ranging with channel state information,” IEEE Trans. Wireless Commun., vol.18, no.7, pp. 3453-3468, July 2019.
- [9] Y. Huang, S. Liu, C. Zhang, X. You, and H. Wu, “True-data testbed for 5G/B5G intelligent network,” Intell. Converged Networks, vol. 2, no. 2, pp. 133–149, Jun. 2021.
- [10] G. Nardini, D. Sabella, G. Stea, P. Thakkar, and A. Virdis, “Simu5G–An OMNeT++ library for end-to-end performance evaluation of 5G networks,” IEEE Access, vol. 8, pp. 181176-181191, 2020.
- [11] NetSim user manual: a network simulation & emulation software. [Online]. Available: https://www.tetcos.com/downloads/v13.1/NetSim\_User\_Manual.pdf/.
- [12] S. Martiradonna, A. Grassi, G. Piro, and G. Boggia, “5G-air-simulator: an open-source tool modeling the 5G air interface,” Computer Netw., vol. 173, p. 107151, 2020.
- [13] Y. Kim, J. Bae, J. Lim, E. Park, J. Baek, S. I. Han, C. Chu, and Y. Han, “5G K-simulator: 5G system simulator for performance evaluation,” in Proc. IEEE Int. Symp. Dyn. Spectr. Access Netw. (DySPAN), Oct. 2018, pp. 1–2.
- [14] S. Pratschner, B. Tahir, L. Marijanovic, et al., “Versatile mobile communications simulation: The Vienna 5G link level simulator.” EURASIP J. Wireless Commun. Netw., pp. 1-17, 2018.
- [15] T. Dominguez-Bolano, J. Rodriguez-Pineiro, J. A. Garcia-Naya, and L. Castedo, “The GTEC 5G link-level simulator,” in Proc. 1st Int. Workshop Link- Syst. Level Simulations (IWSLS2), Vienna, Austria, Jul. 2016, pp. 1–6.
- [16] S. Sun, G. R. MacCartney Jr., and T. S. Rappaport, “A novel millimeter-wave channel simulator and applications for 5G wireless communications,” in Proc. IEEE Int Conf. Commun. (ICC), Paris, May 2017.
- [17] N. Nikaein, et al., “OpenAirInterface: a flexible platform for 5G research,” SIGCOMM Comput. Commun. Rev., vol. 44, no. 5, Oct. 2014.
- [18] 5G simulator. [Online]. Available: https://www.qamcom.com/look-into-qamcoms-research-on-5g/.
- [19] 5G toolbox. [Online]. Available: https://ww2.mathworks.cn/help/5g/.
- [20] 3GPP, “Physical channels and modulation,” 3GPP Tech. Spec. (TS) 38.211, v. 17.2.0.
- [21] 3GPP, “Study on channel model for frequencies from 0.5 to 100 GHz,” 3GPP Tech. Rep. (TR) 38.901, v. 17.0.0.
- [22] H. Wang, S. Liu, Z. Mao, X. Jia, and Y. Huang, “2D-CNN-based AoA-ToA estimation in presence of angle-dependent phase errors using pico-cells”, in Proc. 2021 Int. Radar Conf., Haikou, China, 2021.
- [23] M. Pan, P. Liu, X. Jia, S. Liu, W. Qi, and Y. Huang, “A joint DoA and ToA estimation scheme for 5G signals under array modeling errors”, in Proc. 2021 Int. Radar Conf., Haikou, China, 2021.
- [24] 3GPP, “Radio resource control (RRC) protocol specification,” 3GPP Tech. Spec. (TS) 38.331, v.17.1.0.
- [25] S. Wu, et al., “A general 3-D non-stationary 5G wireless channel model,” IEEE Trans. Commun., vol. 66, no. 7, pp. 3065-3078, July 2018.
- [26] S. Jaeckel, et al., “Quasi deterministic radio channel generator user manual and documentation,” User Manual and Documentation. Tech. Rep. v2.20, Fraunhofer Heinrich Hertz Institute, 2019.
- [27] YJ Bultitude, Y. de Jong, and T. Rautiainen, “IST-4-027756 WINNER II D1. 1.2 V1. 2 WINNER II Channel Models.” EBITG, TUI, UOULU, CU/CRC, Tech. Rep. (2007).
- [28] P. Chen, Z. Cao, Z. Chen, and X. Wang, “Off-grid DOA estimation using sparse Bayesian learning in MIMO radar with unknown mutual coupling,” IEEE Trans. Signal Process., vol. 67, no. 1, pp. 208–220, Jan. 2019.
- [29] Y. Wang, R. Wu, J. Pang, et al., “A 39-GHz 64-element phased-array transceiver with built-in phase and amplitude calibrations for large-array 5G NR in 65-nm CMOS,” IEEE J. Solid-State Circuits, vol. 55, no. 5, pp. 1249-1269, May, 2020.
- [30] H. Wang, S. Liu, Z. Mao, X. Jia, and Y. Huang, “2D-CNN-based AoA-ToA estimation in presence of angle-dependent phase errors using pico-cells”, in Proc. 2021 Int. Radar Conf., Haikou, China, 2021.
- [31] M. Pan, P. Liu, X. Jia, S. Liu, W. Qi, and Y. Huang, “A joint DoA and ToA estimation scheme for 5G signals under array modeling errors”, in Proc. 2021 Int. Radar Conf., Haikou, China, 2021.
- [32] C. Zekkari, M. Djendi, and A. Guessoum, “IQ imbalance estimation and compensation in receiver system,” in Proc. Int. Conf. Adv. Electr. Eng. (ICAEE), Algeria, 2019.
- [33] E. Balti and M. Guizani, “Impact of non-linear high-power amplifiers on cooperative relaying systems,” in IEEE Trans. Commun., vol. 65, no. 10, pp. 4163-4175, Oct. 2017.
- [34] D. Zhang, A. Li, M. Shirvanimoghaddam, Y. Li, and B. Vucetic, “Exploring AoA/AoD dynamics in beam alignment of mobile millimeter wave MIMO systems,” IEEE Trans. Veh. Technol., vol. 68, no. 6, pp. 6172-6176, Jun. 2019.
- [35] J. Xu, C. Wang, G. Liao, and Y. Zhang, “Sum and difference beamforming for angle-doppler estimation with STAP-based radars,” IEEE Trans. Aerosp. Electron. Syst, vol. 52, no. 6, pp. 2825-2837, Dec. 2016.
- [36] D. Zhu, J. Choi, and R. W. Heath, “Auxiliary beam pair enabled AoD and AoA estimation in closed-Loop large-scale millimeter-wave MIMO systems,” IEEE Trans. Wireless Commun., vol. 16, no. 7, pp. 4770-4785, July 2017.
- [37] 3GPP, “Study on new radio access technology Physical layer aspects,” 3GPP Tech. Rep. (TR) 38.802, v. 14.2.0.