ROBUST TRACKING SYSTEM IN FRONT OF RADIOFREQUENCY INTERFERENCES. PART III: SIGNALS, MODULATIONS, AND RELIABILITY ANALYSIS A Degree Thesis Submitted to the Faculty of the Escola Tècnica d'Enginyeria de Telecomunicació de Barcelona Universitat Politècnica de Catalunya by Adrià Gil Sorribes In partial fulfilment of the requirements for the degree in TELECOMUNICATIONS SYSTEMS ENGINEERING Advisors: Mr. Jorge Querol Borràs Prof. Adriano José Camps Carmona Barcelona, June 2016
I Abstract The aim of this project is to simulate and implement a Robust Tracking System (RTS), capable of tracking a transmitter when Global Position System (GPS) signals are not available, offering high resistance to Radio Frequency Inference signals (RFI). This is a project developed in the Theory of the Signal and Communication (TSC) Department in the Universitat Politècnica de Catalunya (UPC). RTS combines the use of the hyperbolic navigation techniques; the Least Mean Squares (LMS) algorithm, to estimate the transmitter position; and the use of a spread-spectrum signal modulation, in order to achieve greater robustness against RFI signals. A study and comparison of the different spread-spectrum modulations is performed in order to find out the best one and an implementation with the available hardware is designed to examine the performance of this modulation in a real scenario. The spread-spectrum modulation that has proven to be the best for the system is the Frequency Hopping Spread-Spectrum (FHSS) since it is the one that provides a greater Signal-to-Interference Ratio (SIR) after the demodulation has been performed. Future work will be oriented to the design of an application that would gather all the information and present it to the final user in a more visual way.
II Resum L'objectiu d'aquest projecte és simular i implementar un sistema capaç de rastrejar un transmissor quan el sistema de posicionament global (GPS) no està disponible, un sistema que ofereixi una alta resistència als senyals ràdio interferents, anomenat Robust Tracking System (RTS). Es tracta d'un projecte desenvolupat al Departament de Teoria del Senyal i Comunicacions (TSC) a la Universitat Politècnica de Catalunya (UPC). RTS combina l'ús de les tècniques de navegació hiperbòlica; el mètode de mínims quadrats, per estimar la posició del transmissor; i l'ús d'una modulació de senyal d'espectre eixamplat, per tal d'aconseguir una major robustesa enfront de senyals ràdio interferents. S'ha realitzat un estudi, així com una comparació de les diferents modulacions d'espectre eixamplat per determinar la millor i implementar-la usant el hardware disponible per examinar, d'aquesta manera, el comportament del sistema en un escenari real. La modulació d'espectre eixamplat que ha demostrat ser la millor per al sistema és la "Frequency Hopping Spread-Spectrum" (FHSS), ja que és la que proporciona una major relació de senyal a interferent un cop s'ha fet la desmodulació del senyal rebut. Un treball per al futur podria ser el disseny d'una aplicació que reuneixi tota la informació del sistema i la presenti a l'usuari final d'una manera visual i interactiva.
III Resumen El objetivo de este proyecto es simular e implementar un sistema capaz de rastrear un transmisor cuando el sistema de posicionamiento global (GPS) no está disponible, un sistema que ofrezca una alta resistencia a las señales interferentes de radio, llamado Robust Tracking System (RTS). Se trata de un proyecto desarrollado en el Departamento de Teoría de la Señal y Comunicaciones (TSC) en la Universidad Politécnica de Cataluña (UPC). RTS combina el uso de las técnicas de navegación hiperbólica; el método de mínimos cuadrados, para estimar la posición del transmisor; y el uso de una modulación de señal de espectro ensanchado, con el fin de lograr una mayor robustez frente a señales radio interferentes. Se ha realizado un estudio, así como una comparación de las diferentes modulaciones de espectro ensanchado para determinar la mejor e implementarla usando el hardware disponible para examinar, de este modo, el comportamiento del sistema en un escenario real. La modulación de espectro ensanchado que ha demostrado ser la mejor para el sistema es la “Frequency Hopping Spread-Spectrum” (FHSS), ya que es la que proporciona una mayor relación de señal a interferente una vez se ha hecho la demodulación de la señal recibida. Un trabajo para el futuro podría ser el diseño de una aplicación que reúna toda la información del sistema y la presente al usuario final de una manera visual e interactiva.
IV Acknowledgements I wish to express my sincere thanks to Dr. Adriano Camps, Professor of the Signal Theory and Communications Department at the Universitat Politècnica de Catalunya, for giving me the opportunity to work with him and trust in me during the last stage of my degree. I place on record, my sincere thanks to Jorge Querol, PhD candidate of the Signal Theory and Communications Department at Universitat Politècnica de Catalunya, for helping me every day to accomplish my goal and give me his unconditional support. Thanks to my friends, for being all these years beside me and for loving me as I am. Finally, thanks to my family, specially Ximo Gil, my father; Maite Sorribes, my mother; and Manel Gil, my brother who have always been there to give me the support I needed and for all the work done to bring me up and allow me to be where I am.
V Revision history and approval record Revision Date Purpose 0 04/06/2016 Document creation 1 26/06/2016 Document revision 2 27/06/2016 Document revision DOCUMENT DISTRIBUTION LIST Name e-mail Adrià Gil Sorribes
[email protected] Jorge Querol
[email protected] Adriano Camps cam[email protected].edu Written by: Reviewed and approved by: Date 06/06/2016 Date 27/06/2016 Name Adria GIL SORRIBES Name Jorge QUEROL BORRÀS Adriano José CAMPS CARMONA Position Project Author Position Project Supervisors
VI Table of contents Abstract ............................................................................................................................. I Resum .............................................................................................................................. II Resumen ......................................................................................................................... III Acknowledgements ........................................................................................................ IV Revision history and approval record ............................................................................... V Table of contents ............................................................................................................ VI List of Figures ............................................................................................................... VIII List of Tables: .................................................................................................................. X 1. Introduction ................................................................................................................ 1 1.1. RTS: the Robust Tracking System ...................................................................... 1 1.2. Statement of purpose ......................................................................................... 2 1.3. Requirements and specifications ........................................................................ 2 1.4. Methods and procedures .................................................................................... 3 1.5. Work packages, milestones and Gantt diagram .................................................. 3 1.6. Deviation from the initial plan and incidences ..................................................... 7 2. State of the art of the technology used or applied in this thesis: ................................. 8 2.1. Positioning / Tracking systems ........................................................................... 8 2.1.1. GNSS .......................................................................................................... 8 2.1.2. Terrestrial systems ...................................................................................... 8 2.2. Spread Spectrum Modulations ........................................................................... 9 2.2.1. Direct-Sequence Spread Spectrum ............................................................. 9 2.2.2. Frequency Hopping Spread Spectrum ....................................................... 10 2.2.3. Orthogonal frequency-division multiplexing ............................................... 10 2.2.4. 5G Modulations ......................................................................................... 10 2.3. Radio-Frequency Interference Signals .............................................................. 11 3. System Simulation: .................................................................................................. 13 3.1. Robust Tracking System Simulator ................................................................... 13 3.2. Modulations Simulation .................................................................................... 15 3.2.1. Direct-Sequence Spread Spectrum Simulation .......................................... 16 3.2.2. Frequency Hopping Simulation .................................................................. 18 3.2.3. Orthogonal Frequency-division Multiplexing Simulation ............................. 20 3.2.4. DSSS + FH Simulation .............................................................................. 22
VII 4. Performance Simulation .......................................................................................... 24 4.1. Signal-to-Interference Ratio Study .................................................................... 24 4.2. Parametric Study .............................................................................................. 26 5. System physical Implementation ............................................................................. 28 5.1. Hardware description ........................................................................................ 28 5.1.1. 3DR Transmitter ........................................................................................ 28 5.1.2. RTL-SDR Receiver .................................................................................... 28 5.2. Hardware Implementation ................................................................................. 28 5.2.1. Transmitter Side ........................................................................................ 28 5.2.2. Receiver Side ............................................................................................ 29 5.3. Signal-to-Interference Ratio Study .................................................................... 29 6. Budget ..................................................................................................................... 31 7. Conclusions and future development: ...................................................................... 32 Bibliography: ................................................................................................................... 33 Appendix 1: .................................................................................................................... 36 Appendix 2: .................................................................................................................... 41 Appendix 3: .................................................................................................................... 43 Appendix 4: .................................................................................................................... 46 Glossary ......................................................................................................................... 51
VIII List of Figures Figure 1: Basic diagram of a Spread-spectrum modulation system and its functioning .... 9 Figure 2: Spectrum of the six types of Radio Frequency Interference: a) Delta/Glitch signal; b) Burst of Pulses; c) Narrowband Chirp; d) Wideband Chirp; e) Continuous Wave and f) Wideband signal ............................................................................................................. 12 Figure 3: Interface where the user chooses the simulation parameters .......................... 13 Figure 4: Interface that shows the simulation results ...................................................... 14 Figure 5: a) Pseudo-Random Noise; b) Signal after the spreading has been done ......... 16 Figure 6: Block diagram of the path and the signals involved in the modulation .............. 16 Figure 7: a) Zoom of the received signal with the RFI; b) Spectrum of the received signal ....................................................................................................................................... 17 Figure 8: Correlation of the DSSS signal with the PRN at the receiver ........................... 17 Figure 9: a) Hopping pattern used in the modulation; b) Zoom of the FHSS signal to transmit ....................................................................................................................................... 18 Figure 10: a) Received signal with RFI; b) Spectrum of the signal at the receiver ........... 19 Figure 11: Correlation of the signal with the hopping pattern at the receiver ................... 19 Figure 12: Signal, after the OFDM modulation, which will be transmitted ........................ 20 Figure 13: Signal with the RFI received .......................................................................... 21 Figure 14: a) Pseudo-Random Noise and b) Hopping Pattern used in the modulation .... 22 Figure 15: a) Signal with RFI signal at the receiver; b) Spectrum of the received signal . 23 Figure 16: Diagram explaining the setup used in the study ............................................. 24 Figure 17: Results display format.................................................................................... 24 Figure 18: Results of the SIR study for every type of RFI signal: a) Delta/Glitch signal; b) Burst of pulses; c) Wideband Chirp; d) Narrowband Chirp; e) Continuous Wave and f) Wideband signal ............................................................................................................. 25 Figure 19: Performance of the FH for a changing number of subcarriers (2: blue; 4: red; 8: yellow; 16: green) in presence of: a) Burst of pulses Interference; b) Narrowband Chirp and c) Continuous Wave ....................................................................................................... 26 Figure 20: Performance of the FH for a changing number of samples per bit in presence of: a) Burst of pulses Interference; b) Narrowband Chirp and c) Continuous Wave ......... 27 Figure 21: Diagram of the steps to demodulate the received signal ................................ 29 Figure 22: Performance of the FH for a changing number of subcarriers (3: blue; 5: red; 7: green) in presence of: a) Burst of pulses Interference; b) Narrowband Chirp and c) Continuous Wave ........................................................................................................... 30 Figure 23: Block diagram of a basic DSSS system ......................................................... 36
5 Project: Hardware testing WP ref: 4 Major constituent: Testing Sheet 8 of 12 Short description: Test the transmitter and receiver configuration using real signals and real radio frequency interference signals. Planned start date: 30/04/2016 Planned end date: 23/06/2016 Start event: Configuration tx and rx. End event: Test results Internal task T1: Configure the transmitter (3DR) and receiver (RTL-SDR) to work with real signals. Internal task T2: Test the Tx and Rx Deliverables: Test results Dates: Project: RTS Validation. WP ref: 5 Major constituent: Testing and Validation Sheet 9 of 12 Short description: Validation of the Reliable Tracking System (in collaboration with the project of the same title Part I & Part II) through laboratory and final field test in a real scenario. Planned start date: 10/06/2016 Planned end date: 10/07/2016 Start event: Configuration End event: Testing results Internal task T1: Put together all the parts of the system and test the system in the laboratory. Internal task T2: Test the system in a real scenario Deliverables: Test results Dates: Project: Project draft and final presentation WP ref: 6 Major constituent: Writing Sheet 9 of 12 Short description: Write in the final document all the project and prepare the presentation. Planned start date: 06/06/2016 Planned end date: 26/06/2016 Start event: Project writing End event: Final project Deliverables: Dates:
6 Milestones WP# Task# Short title Milestone / deliverable Date (week) 1 1 Proposal Study 1 2 RTS in MATLAB Simulate the basic RTS in MATLAB 20/12/2015 1 3 3DR and RTL Learn about hardware specifications 20/02/2016 2 1 Spread Spectrum Study DSSS, FH, CDMA and OFDM modulations 10/03/2016 2 2 RFI Signals Study Radio Frequency Interference signals 10/03/2016 2 3 MATLAB Simulation Simulation of each modulation and how an interference affects the result 28/04/2016 3 1 SIR Study and Parametric Study Study of signal-tointerference ratio 07/05/2016 3 2 Extract Conclusions from SIR Study Choose the best modulations 14/05/2016 4 1 Real Signals and 3DR/RTL-SDR Configuration devices that can generate real signals 13/06/2016 4 2 Testing Test results 23/06/2016 5 2 Lab testing Real RTS testing 10/07/2016 6 Project Memory 23/06/2016 Gantt Diagram
7 1.6. Deviation from the initial plan and incidences Incidences: No major incidence interrupted the development of the work. However, the study and simulation of the spread spectrum modulations were slower than expected because of the introduction of new modulations to study. After a few weeks of studying DSSS, FH and OFDM modulations; a combination of them has shown up as a good approach in order to gain robustness against Radio-Frequency Interference (RFI) signals. Furthermore, the 5G proposed modulations also seemed other good options, so that, they were also taken into account. After a theoretical study, the 5G modulations were discarded due to the fact that they did not introduce any improvement to our system since they are focused on multi-user throughput increase by an efficient use of the spectrum, and also on enhancing weaker aspects of OFDM. After the simulation of studied modulations, a Signal-to-Interference Ratio (SIR) study must be done in order to test the performance of each modulation at the output of the demodulator. This study is performed for each RFI signal and for a range of SIR at the input of the demodulator. One minor incident we had was that the first transmitter we tried to use turned out to be broken and we needed to change it for another one. This small drawback cost a week work but we were able to recover the time lost. The final step, attach the three parts of the project to test the whole system in a real scenario, proposed originally, could not be completed due to the fact that Part I and Part II did not finish their projects on time. Work plan modifications The main Work Plan modifications are: Study and Simulation of the spread spectrum modulations deadline delayed to the 28th of April 2016 New Work Package added: Signal-to-Interference Ratio study. A study of the SIR at the output of the demodulator. Deadlines delayed because of the delay of the first point listed here.
8 2. State of the art of the technology used or applied in this thesis: In this chapter, the background needed to understand the project and to start its development is presented. 2.1. Positioning / Tracking systems 2.1.1. GNSS The term Global Navigation Satellite System (GNSS) refers to a constellation of satellites providing signals from space transmitting positioning and timing data. By definition, a GNSS provides autonomous 3D positioning with global coverage. Nowadays, there are several functional systems, the most relevant are the Global Position System (GPS) from the United States (US), Galileo from European Union (EU) and GLONASS from Russia. The tracking algorithm used by the RTS takes profit of GPS GGA NMEA messages to synchronize receivers’ clocks. This process is essential for the RTS operation as it will be explained subsequently. Moreover, the NMEA sentence is also used to, optionally, find the receivers position, even though they can have fixed positions. The GPS project was developed by the US Government in 1973 to overcome positioning systems predecessors. GPS constellation is formed by 32 satellites in a Medium Earth Orbit (MEO) guaranteeing 5 satellites in line of sight at any location. GPS only requires 4 satellites to determine 3D positioning and timing, but more of them are recommended in order to increase the positioning precision. The data format standard used is the National Marine Electronics Association (NMEA) and it is supported by all GPS manufacturers [11]. 2.1.2. Terrestrial systems Among the last 20 years there has been an effort to develop positioning systems independent of, and complementary to Global Navigation Satellite Systems (GNSS). An outstanding example is the case of eLoran, an enhanced version of Loran system, built with nowadays technology, which improves its old version in accuracy, availability, and reliability. eLoran is a low frequency system (P-band) that uses terrestrial-based stations to provide users accurate all-weather Position, Navigation, Timing, and Data (PNT&D) services, using hyperbolic navigation as its predecessor. Hyperbolic navigation refers to a class of navigation systems based on the difference in timing between the receptions of two signals, without reference to a common clock (as in GNSS). This timing reveals the difference in distance from the receiver to the two stations. Plotting all of the potential locations of the receiver for the measured delay produces a series of hyperbolic curves. Taking the intersection of two of such hyperbolic curves reveals the receiver's location. The RTS uses at least 3 receivers with known position to estimate the transmitter position. On the other hand, Time of Arrival (TOA) (time that takes the signal to travel from transmitter to receiver) is needed to retrieve the distances and solve hyperbolic navigation equations.
9 The Least-Mean-Square algorithm (LMS) is used in adaptive filters to find the filter coefficients that allow to obtain the minimum expected value of the square of the error signal, defined as the difference between the desired signal and signal produced at the output of the filter. It belongs to the family of the stochastic gradient algorithms, i.e., the filter is adapted based on the error in the current time only. It was invented by a professor of Stanford University named Bernard Widrow and his first doctoral student, Ted Hoff in 1960. Its importance is that it is a very simple algorithm. In the RTS, LMS algorithm is used to solve hyperbolic equations and to retrieve the tracked transmitter position. 2.2. Spread Spectrum Modulations A spread-spectrum signal is one that has an extra modulation that expands the signal bandwidth beyond what is required by the underlying data modulation. Spread-spectrum communication systems are useful for suppressing interference, making interception difficult, accommodating fading and multipath channels, and providing a multiple-access capability. Figure 1: Basic diagram of a Spread-spectrum modulation system and its functioning 2.2.1. Direct-Sequence Spread Spectrum In Direct-Sequence Spread-Spectrum (DSSS), the message signal is used to modulate a bit sequence known as the Pseudo-Random Noise (PRN) code. This PRN code consists of pulses of a much shorter duration (larger bandwidth) than the pulse duration of the message signal, therefore the modulation results in a signal that has a bandwidth nearly as large as that of the PRN sequence. In this context, the duration of the PRN pulses is referred to as chip duration, and the smaller this value, the larger the bandwidth of the resultant DSSS signal, and the more robust to RFI the resultant signal becomes. The receiver must be set to the same PRN code and must listen to the incoming signal at the right time in order to properly receive and demodulate the signal.
10 2.2.2. Frequency Hopping Spread Spectrum Frequency-Hopping Spread-Spectrum (FHSS) is a technique where the data signal is modulated with a narrowband carrier signal that "hops" in a random but predictable sequence from frequency to frequency as a function of time over a wide frequency band. The signal energy is spread in the time domain rather than chopping each bit into small pieces in the frequency domain. This technique reduces interference because a signal from a narrowband system will only affect the spread spectrum signal if both are transmitting at the same frequency at the same time. If synchronized properly, a single logical channel is maintained. The transmission frequencies are determined by a spreading, or hopping, code. The receiver must be set to the same hopping code and must listen to the incoming signal at the right time and correct frequency in order to properly receive the signal. 2.2.3. Orthogonal frequency-division multiplexing Orthogonal Frequency Division Multiplexing (OFDM) is a digital multi-carrier modulation scheme that extends the concept of single subcarrier modulation by using multiple subcarriers within the same single channel. Rather than transmit a high-rate stream of data with a single subcarrier, OFDM makes use of a large number of closely spaced orthogonal subcarriers that are transmitted in parallel. Each subcarrier is modulated with a conventional digital modulation scheme (such as QPSK, 16QAM, etc.) at low symbol rate. However, the combination of many subcarriers enables data rates similar to conventional single-carrier modulation schemes within equivalent bandwidths. 2.2.4. 5G Modulations Although OFDM has been a great success and still has many advantages, there are many ideas for new 5G waveforms that could bring additional advantages to the new cellular system under certain conditions and circumstances. No single waveform provides all the advantages and answers that are needed but four of them will be studied in order to determine if they provide an improvement to our system. This four 5G techniques are focused on improving the OFDM main limitations that are: Tailored services to different needs and channel characteristics. Reduced out-of-band emission (OOBE). Extra tolerance to time-frequency misalignment. Low spectral efficiency due to the introduction of the Cyclic Prefix. In this project, the four 5G modulations that will be studied are: filtered-Orthogonal Frequency-Division Multiplexing (f-OFDM) Generalized Frequency-Division Multiplexing (GFDM) Filter Bank Multi-Carrier (FBMC) Universal Filtered Multi-Carrier (UFMC) The main goal of these modulations, as it was mentioned before, is to overcome the main weakest points of the OFDM. The spread-spectrum modulations and the advantages of each 5G modulation will be explained in more detail in Appendix 1.
11 2.3. Radio-Frequency Interference Signals Radio-Frequency Interference (RFI) signals are disturbances that affect any nearby electrical circuit due to either electromagnetic induction or electromagnetic radiation emitted from either an external or internal source. The origin of RFI signals may be of intentional or unintentional nature. Most common unintentional sources are spurious or harmonic signals of lower frequency bands, inter-modulation products, broadband signals overlapping reserved bands of operation, and out-of-band emissions. Moreover, RFI signals may be intentionally used for radio jamming, as in some forms of electronic warfare, threatening the integrity of applications based on RF devices. From several studies (e.g. [17]), it emerges that most of commercial jammers usually employ linear frequency modulated signals (i.e. chirp signals) which sweeps in a range of several megahertz in a few microseconds affecting the entire band targeted by the device. In this project six types of radio frequency interference signals are studied: Delta / Glitch RFI signal: this is a very narrow signal in the time domain which has a large bandwidth and therefore, it occupies the entire spectrum during the short time in which is present. Burst of pulses RFI signal: this signal is constructed by repeating with a high frequency a basic pulse. Wideband / Narrowband Chirp RFI signal: a chirp is a signal in which the frequency increases (up-chirp) or decreases (down-chirp) with time. Narrowband / CW RFI signal: a continuous waveform (CW) is an electromagnetic wave of constant amplitude and frequency; e.g. a sine wave. Wideband RFI signal: a wideband signal, present in all frequencies. It is probably the most problematic type of interference for the system a) b) c) d)
12 e) f) Figure 2: Spectrum of the six types of Radio Frequency Interference: a) Delta/Glitch signal; b) Burst of Pulses; c) Narrowband Chirp; d) Wideband Chirp; e) Continuous Wave and f) Wideband signal
13 3. System Simulation: In the following section a simulation of the whole system is done in order to study the effect of the modulations and Radio Frequency Interference (RFI) signals on the system. The section is split in two parts; the first one will explain the Graphic User Interface (GUI) created in order to simulate the system while the second one will explain in more detail every step followed in the simulations of the different spread-spectrum modulations. 3.1. Robust Tracking System Simulator The main goal of this section is to test the performance of our Robust Tracking System in a simulated scenario where the parameters of the simulation can be changed in order to test different scenarios with different conditions. In order to simulate the whole system, the modulation simulator will be attached to the part corresponding to the hyperbolic navigation and the Least Mean Squares algorithm simulation. Hence, the results from [9] have been merged with the use of the spread-spectrum modulations. A Graphic User Interface (GUI) has been created in order to set the parameters for the simulation and to see the results in a visual and interactive way. Figure 3 shows the first interface where the simulator asks for the required parameters. These are the following: Transmitter power (dB) LMS algorithm parameters: o Number of receivers o Number of iterations o Error Value o Step-size for LMS algorithm(μ) Environment selection o Rural environment (no buildings nor constructions taken into account) o Urban environment (buildings and constructions taken into account) Modulation choice Radio-Frequency Interference (RFI) signal choice Signal-to-Interference Ratio (SIR) (dB) Figure 3: Interface where the user chooses the simulation parameters
14 Once the user has introduced all the parameters, it can proceed to the simulation as it can be seen in Figure 4. Figure 4: Interface that shows the simulation results Regarding Figure 4, in the plot on the left it can be seen the hyperbolic navigation plot (the hyperbolas intersecting on the transmitter spot). Hyperbolas, corresponding to the TDOA technique used in the RTS to compute the transmitter position and explained in the state of the art, are shown. These hyperbolas intersect, with more or less accuracy, in one point, the transmitter position. The plot on the right shows the LMS algorithm simulation, where it can be observed how the transmitter position is estimated in each iteration. This estimation has taken into account the modulation and the RFI type selected. It also takes into account the Signal-toInterference Ratio (SIR) specified in the previous step. If a poor SIR is set, the estimation of the transmitter position by the LMS algorithm gets worse introducing a significant error and therefore, causing an inaccurate estimation. It must be said that four boxes per figure appear in the interface in order to allow the user to change the span of the plots since in a GUI the user cannot use the plot tools such as zoom in or zoom out. The simulation time is also shown on the centre of the interface. After the simulation has been done the user can view the signals that have been part of it. For this reason, two more interfaces have been created, the first one will show the signals on the transmitter side and the other one will show the signals on the receiver side. These interfaces will be shown in the Appendix 2. The signals that appear on those interfaces are extracted from the simulation and they are practically equal to the ones explained in section 3.2 where an exhaustive description of every step of the simulation of the proposed
21 After the channel, the signal the receivers capture is the one in Figure 13: Figure 13: Signal with the RFI received As it can be seen a strong RFI signal is showed in this simulation. It is the case of a wideband chirp, which disturbs all the subcarriers and thus the demodulation is more complicated. Once the signal has been received, the synchronization is performed by calculating the correlation between the signal and the known cyclic prefix added at the transmitter. After that, the signal is transformed using the Fast Fourier Transform (FFT) and demodulated using the DPSK demodulation. Finally, the data is put together by the parallel to serial converter and the demodulated signal takes the form of the original signal.
22 3.2.4. DSSS + FH Simulation The idea of this modulation is to first spread the signal using the direct-sequence spread spectrum modulation and perform, afterwards, a frequency hopping in order to try to gain robustness in front of interferences. As the three simulations before, first of all, a basic signal to be modulated has to be defined. This signal is designed with a sample rate equal to 16384 samples per bit in order to be able to perform the two modulations. After that, the pseudo-random sequence is defined using two linear feedback shift registers combined by the logical operation XOR, as it was done in the DSSS modulation. In this case, the pseudo-random sequence is designed with 32 chips and a sample rate equal to 512 samples per chip. Once the signal has been modulated using the pseudorandom sequence described above, the subcarriers that will be used to perform the FHSS modulation are defined and a hopping pattern is set randomly. Figure 14 shows the PRN and the hopping pattern used in this simulation: a) b) Figure 14: a) Pseudo-Random Noise and b) Hopping Pattern used in the modulation In this simulation 4 subcarriers have been set at a sample rate equal to 512 samples per carrier, each with a different frequency that will modulate the original signal and will spread its bandwidth. The following step is to combine the previous two signals in order to achieve the DSSS+FH spread spectrum signal. Once the original signal has been modulated, a random delay, simulating the delay introduced by the travel of the signal from transmitter to receiver, is introduced. The Gaussian noise and the interference are introduced in this step, as well.
23 The signal the receivers get is shown in Figure 15. a) b) Figure 15: a) Signal with RFI signal at the receiver; b) Spectrum of the received signal The RFI signal, in this simulation, is a narrowband CW interference signal (in red). In Figure 15a, in blue, the transmitted signal affected only by the Gaussian noise and, in red, the continuous wave RFI signal present among the entire time can be observed. In Figure 15b it can be easily seen the RFI signal and it also can be seen that it corrupts only a subcarrier due to the fact that is a narrowband signal interference centred in that subcarrier. The other three subcarriers will deliver the modulated data uncorrupted to the receivers. Once the signal is received the demodulation takes part. To sync up the signal, it is correlated with the hopping pattern used to modulate the signal. This step is the same as in the individual Frequency Hopping Spread Spectrum simulation, the received signal is correlated with the known hopping pattern and the peaks of this operation are taken to demodulate the signal. After this step, the resulting signal is correlated with the pseudorandom sequence used in the transmitter in order to proceed with the second demodulation. This step, as it was the last one, it is the same as in the individual Direct-Sequence Spread Spectrum simulation. In this case the reason to do the correlation is not to synchronize the signal but to check if there were any errors on the first demodulation. In this sense, this step adds a degree of robustness to the spread-spectrum modulation. Finally, after the two demodulations, the original signal is recovered and the time of arrival is sent to the server in order to compute the transmitter position.
24 4. Performance Simulation The second part of the project is explained in the following section. First, a study of the performance of the simulated modulations in front of RFI signals is done in order to select the best modulation for our system. Second, a parametric study of the chosen modulation is performed to adjust the modulation parameters, in the best way, to our needs. 4.1. Signal-to-Interference Ratio Study One of the simulated modulations, or a combination of them, will be implemented with the available hardware in order to test its performance with real signals. In order to choose the best modulation a study has been performed. To understand better, the scope of the study, a sketch of the setup is shown in Figure 16. Figure 16: Diagram explaining the setup used in the study The main goal of the study is to compute the Signal-to-Interference Ratio (SIR) at the output of the demodulator with a given SIR at its input. This study will be done for every modulation and for every Radio-Frequency Interference (RFI) signal proposed in Section 2. As the position and the phase of the RFI signals are randomly set, it will be needed to execute as many simulations as possible in order to contemplate the maximum cases possible. To do that 500 simulations will be executed for every SIR value at the input of the demodulator. A range from -30dB to 30dB will be considered as the possible values of the SIR at the input of the demodulator. Once all the simulations have been performed the percentile 95 will be computed of all the simulations. The results will be plot in a graph in which the vertical axis represents the SIR at the output and the horizontal axis represent the SIR at the input, both in dB as shown in Figure 19. In every plot the 1:1 function will be displayed in order to see how the modulations are working. If the results are below the 1:1 function, the demodulator will be introducing its own error and will be hindering the received signal. Figure 17: Results display format Improvement Degradation
25 a) b) c) d) e) f) Figure 18: Results of the SIR study for every type of RFI signal: a) Delta/Glitch signal; b) Burst of pulses; c) Wideband Chirp; d) Narrowband Chirp; e) Continuous Wave and f) Wideband signal According to results presented in Figure 18, it has become clear that the two modulations it could be said that works the best, the ones that provides greater robustness against the RFI signals under evaluation are the Frequency Hopping Spread Spectrum (FHSS) and Direct-Sequence Spread-Spectrum modulations. Since FHSS is one of the two modulations that have obtained the best results in our simulations and it is already implemented in our transmitter, it will be the one configured to test its performance in a real scenario. But before the hardware implementation can be configured, a parametric study must be done in order to know how to achieve the best performance with the chosen modulation.
26 4.2. Parametric Study Once the modulation that will be implemented with hardware has been chosen, a parametric study, in order to achieve the best performance, must be done. To do so, the performance of the modulation will be studied when the following parameters are changed: Number of subcarriers Sample per bit Bandwidth The parametric study follows the same pattern as the SIR study before. The results will be reflected in a graph in which the vertical axis represents the SIR at the output and the horizontal axis represent the SIR at the input, both in decibels. Only the results for the burst of pulses, the narrowband chirp and the continuous wave Radio Frequency Interference (RFI) signals will be shown. Thereby, these results could be compared in a clearer way with the ones that will be obtained in section 5.3, in the hardware tests. Figure 19 shows the first case where the number of subcarriers is changed and both samples per bit and bandwidth are constants. The case of 2, 4, 8 and 16 subcarriers will be simulated. a) b) c) Figure 19: Performance of the FH for a changing number of subcarriers (2: blue; 4: red; 8: yellow; 16: green) in presence of: a) Burst of pulses Interference; b) Narrowband Chirp and c) Continuous Wave
27 According to the results obtained, the Frequency Hopping Spread Spectrum (FHSS) modulation works best as the number of subcarriers is increased. The clearer example is the case of the continuous wave RFI signal. This situation occurs because of the fact that when the number of subcarriers increases, the data to transmit is distributed over a bigger number of “sub-bands” and given that, the narrowband interference signal only spoils one subcarrier, the performance, when a major number of subcarriers integrate the modulation, is better. The other two parametric studies are also relevant but not in the way the number of subcarriers can be. Those parameters (samples per bit and bandwidth) are fixed by the transmitter and receiver specifications and we will be limited in the hardware testing. On one hand, the samples per bit used in the definition of the original signal will be set according to the sampling frequency on the transmitter. On the other hand, the bandwidth that the modulation will use will be set according to the configuration of the transmitter. In Figure 20 it is shown the study when the samples per bit is changed. a) b) c) Figure 20: Performance of the FH for a changing number of samples per bit in presence of: a) Burst of pulses Interference; b) Narrowband Chirp and c) Continuous Wave The figures plotted in Figure 20 suggest that the FHSS modulation works better as the number of samples per bit increase. This result is important but, as it was stated before, in the hardware implementation it will be a limitation because of the transmitter capabilities. The complete results will be shown on Appendix 3.
28 5. System physical Implementation The main goal of this section of the project is to implement the Frequency Hopping modulation using the available hardware in the laboratory and test its performance with real signals in a real scenario. 5.1. Hardware description First of all, an explanation of the hardware that will be used must be done. The main specifications for the 3DR transmitter and the RTL-SDR receiver will be exposed in Appendix 4. 5.1.1. 3DR Transmitter The 3DR Radio transmitter is a small USB dongle that uses an open source firmware that gives us a lot of freedom of configuration and performance. This transmitter is easily configured using an open source program named “3DR Config” and it is managed from the MATLAB interface where the user can configure the exact signal to transmit. 5.1.2. RTL-SDR Receiver RTL-SDR is a very cheap software defined radio that uses a DVB-T TV tuner dongle based on the RTL2832U chipset. Radio components such as modulators, demodulators and amplifiers are traditionally implemented in hardware components. The advent of modern computing allows most of these traditionally hardware based components to be implemented into software instead. Hence, the software defined radio. This enables easy signal processing and thus cheap wide band scanner radios to be produced. 5.2. Hardware Implementation 5.2.1. Transmitter Side First of all, the transmitter must be configured, setting the parameters according to our needs using the 3DR Config program. The 3DR will be configured to perform a Frequency Hopping Spread-spectrum (FHSS) modulation using three, five and seven subcarriers to see the performance for every case. Although many parameters of the transmitter can be adjusted, there are others that are internally configured and we must adapt to them. The 3DR is designed to work with another 3DR and for this reason when it does not find any partner with whom to associate the 3DR send continuously a sequence that our receiver will capture. The transmitter also implements a Gaussian Frequency-Shift Keying (GFSK) in order to modulate the data. As it was mentioned before, the 3DR can be handled using MATLAB software. The first step, to set this device to transmit, is to define the serial port that will be used. After that, the port will be configured as needed and will be opened in order to allow the transmitter to send all the data. Once the configuration has been done, the code will enter in a “for” loop setting the 3DR to transmit every second a, known, data that has been previously stablished. Whenever the user wants to stop sending data the process will stop and the serial will be closed. The MATLAB code and the interface of 3DR Config program will be shown in Appendix 4.
29 5.2.2. Receiver Side In this step the signal received has to be demodulated and compared to the one that was sent. In order to do it, first of all, the receiver is configured to start receiving data at a central frequency equal to 433 MHz with a sample rate of 256 kHz and a gain 1,49 dB. Once the receiver has read the data (two million samples) it is time to use MATLAB to demodulate the signal. The demodulation steps followed at the receiver are shown in Figure 21. Figure 21: Diagram of the steps to demodulate the received signal The raw, captured IQ data is 8 bit unsigned data. Each I and Q value varies from 0 to 255 (since, 000000002 = 0 and 111111112 = 255). To get from the unsigned (0 to 255) range it is needed to subtract 127.5 from each I and Q value, which results in a new range from - 127.5 to +127.5. Then the complex data is simply y = I + jQ. After this step, the Frequency Hopping (FH) demodulation must take place. Afterwards, the Gaussian Frequency-Shift Keying must be demodulated as well, in order to extract the information. Once the sequence of ones and zeros the transmitter has sent is known, it is time to perform the correlation operation of the received signal with a known sequence that must appear if something has been transmitted. Using this correlation, the relative delay of the received signal can be estimated and therefore, send this value to the server that will compute the transmitter position. The explanation of all the process with more details will be done in Appendix 4. 5.3. Signal-to-Interference Ratio Study In this last step of our project, the results obtained in section 4.2 will be compared with the ones obtained in a real scenario. The idea of this study is to test the performance of the 3DR and the RTL-SDR in terms of Signal-to-Interference Ratio (SIR) at the output of the demodulator. The scope of the study will be the same as in section 4.2 but this time real signals will be used. Three types of different Radio Frequency Interference (RFI) signals will be generated (Burst of pulses, Continuous Waveform and Chirp signal) with the Signal Generator and observe the SIR at the output of the demodulator with a given Interference power at its entry. Before the testing starts, the system must be calibrated. That means the SIR at the input of the receiver must be calculated using a known transmitter power and a known RFI signal power. Once the system has been calibrated and the exactly SIR at the input of the demodulator is known, the receiver can start capturing the data and computing the SIR when the signal has been through all the demodulation process. The parameters for the configuration of the RFI signals and the images of the physical configuration of the system are shown in Appendix 4.
30 The results obtained are shown in Figure 22. a) b) c) Figure 22: Performance of the FH for a changing number of subcarriers (3: blue; 5: red; 7: green) in presence of: a) Burst of pulses Interference; b) Narrowband Chirp and c) Continuous Wave It can be observed that the results are closer to the ones obtained in section 4.2 where a parametric study was done. However, this results are not exactly the same as the previous ones and there are several reasons that explain why they are different from the simulated ones. First of all, there are some parameters, some configurations, that cannot be modified in the 3DR transmitter. One of them is the fact that the transmitter uses the whitening transformation. Another one is that it performs a Gaussian Frequency-Shift Keying (GFSK) modulation, as it was mentioned before, and therefore, a GFSK demodulation must be done in the receiver. This fact may have introduced some changes in the Signal-toInterference Ratio (SIR) study. It must be said that the Frequency Hopping Spread Spectrum (FHSS) implemented in the 3DR is not exactly the same that was simulated. That is because in the transmitter, in every hop it sends a beacon of data while in our simulation, a beacon of data was sent through all the subcarriers. Despite what has been said above, the results are good, tests are satisfactory and the transmitter and receiver are working properly implementing the FHSS modulation.
37 Table 5 show the ten first outputs of the Pseudo-Random Noise sequence generated in our simulations. Table 5: First 10 outputs of the PRN Sequence in the DSSS modulation A.1.2 Frequency Hopping Spread-Spectrum Frequency hopping is the periodic changing of the carrier frequency of a transmitted signal. The basic system is described in Figure 25. Figure 25: Block diagram of a basic FHSS system The sequence of carrier frequencies is called the frequency-hopping pattern. The set of M possible carrier frequencies {𝑓1, 𝑓2, … , 𝑓𝑀} is called the hopset. The rate at which the carrier frequency changes is called the hop rate. Hopping occurs over a frequency band called the hopping band that includes M frequency channels. Each frequency channel is defined as a spectral region that includes a single carrier frequency of the hopset as its centre frequency and has a bandwidth B. The hopping band has bandwidth 𝑊 ≥ 𝑀𝐵.
38 A.1.3 Orthogonal Frequency-Division Multiplexing OFDM is based on the well-known technique of Frequency Division Multiplexing (FDM). In FDM different streams of information are mapped onto separate parallel frequency channels. Each FDM channel is separated from the others by a frequency guard band to reduce interference between adjacent channels. OFDM basic system configuration is shown in Figure 26. Figure 26: Figure 23: Block diagram of a basic OFDM system The OFDM scheme differs from traditional FDM in the following interrelated ways: 1. Multiple carriers (called subcarriers) carry the information stream, 2. The subcarriers are orthogonal to each other, and 3. A guard interval is added to each symbol to minimize the channel delay spread and Inter symbol interference (ISI). Figure 25 illustrates the main concepts of an OFDM signal and the inter-relationship between the frequency and time domains. In the frequency domain, multiple adjacent tones or subcarriers are independently modulated each one with complex data. An Inverse FFT transform is performed on the frequency-domain subcarriers to produce the OFDM symbol in the time-domain. Then in the time domain, guard intervals are inserted between each of the symbols to prevent inter-symbol interference at the receiver caused by multi-path delay spread in the radio channel. Multiple symbols can be concatenated to create the final OFDM burst signal. At the receiver an FFT is performed on the OFDM symbols to recover the original data bits. Figure 27: OFDM main concepts
39 A.1.4 5G Modulations As it was mentioned in section 2, in this project, four 5G modulations will be studied: filtered-Orthogonal Frequency-Division Multiplexing (f-OFDM) Generalized Frequency-Division Multiplexing (GFDM) Filter Bank Multi-Carrier (FBMC) Universal Filtered Multi-Carrier (UFMC) The main goal of these modulations is to overcome the main weakest points of the OFDM and in the following lines it will explained which advantages introduce every one of them. Filtered Orthogonal frequency-division multiplexing (f-OFDM) To avoid the above-mentioned limitations of OFDM and to meet the new challenges faced by 5G waveform, a new enabler for flexible waveform is proposed, named as filtered-OFDM (f-OFDM). With subband-based splitting and filtering, independent OFDM systems (and possibly other waveforms) are closely contained in the assigned bandwidth. In this way, fOFDM is capable of overcoming the drawbacks of OFDM whilst retaining the advantages of it. First of all, with subband-based filtering, the requirement on global synchronization is relaxed and inter-subband asynchronous transmission can be supported. Secondly, with suitably designed filters to suppress the out of bounds emissions (OOBE), the guard band consumption can be reduced to a minimum level. Thirdly, within each subband, optimized numerology can be applied to suit the needs of certain type of services. Generalized Frequency-division multiplexing With Generalized Frequency-Division Multiplexing (GFDM) a generalization of OFDM is proposed. This generalization introduces additional degrees of freedom when choosing the system parameters. The new scheme offers more flexibility by ordering the data in a twodimensional time-frequency block structure, introducing flexible pulse shaping for the individual subcarriers and potentially reducing the amount of CP when compared to the amount of useful data, while still providing means for an efficient single-tap equalization in frequency domain. A technique called tail biting is employed to eliminate the need for additional guard periods that would be necessary in a conventional system, in order to compensate for filtering tails and prevent overlapping of subsequent symbols. However, adding more flexibility to the system is traded for the orthogonality of subcarriers. Using a pulse shape with strong frequency localization introduces self-created inter-symbol interference (ISI) and inter-carrier interference (ICI). This can be mitigated by employing interference cancellation techniques.
40 Filter Bank Multicarrier Filter Bank Multicarrier (FBMC) are a subclass of multicarrier (MC) systems and have their roots in the pioneering works of Chang and Saltzberg who introduced multicarrier techniques over two decades before the introduction and application of OFDM to wireless communication systems. FBMC modulation can be considered as an evolved OFDM. The filter banks address the main disadvantages of OFDM: a loss in spectral efficiency due to CP insertion, higher out-of-band radiating (since the subcarriers have sync-like frequency behaviour), and a higher sensitivity to narrowband interferers. First, in FBMC their subchannels can be optimally designed in the frequency domain to have desired spectral containment. Second, this systems do not require redundant CP and thus are more spectral efficient. With high enough out-of-band attenuation of the sub-band filters, the filter bank itself can provide sufficient frequency isolation to implement the needed reception and selectivity. This enables you to move all signal processing functions after the filter bank to the low sampling rate. Universal-filtered Multicarrier This 5G waveform can be considered as an enhancement of CP-OFDM. It differs from FBMC in that instead of filtering each subcarrier individually, UFMC splits the signal into a number of sub-bands, which it then filters. UFMC does not have to use a cyclic prefix, although one can be used to improve the inter-symbol interference protection.
41 Appendix 2: Robust Tracking System Simulation As it was mentioned before, after the simulation has been done, the user is able to observe the signals that have been part of it. On one hand, the signals in the transmitter side are displayed in one panel as shown in Figure 28. Figure 28: Signals on the transmitter side of the simulation On the other hand, the signals processed in the receiver are displayed in another panel just like in Figure 29. Figure 29: Signals on the receiver side of the simulation Those plots are practically equal to the ones explained in section 3.2 where an explanation of the simulation of the spread-spectrum modulations is done.
42 A visual comparison between two simulations is done as it was stated earlier on in section 3.1. In the first simulation the received signal has a normal-high Signal-to-Interference Ratio (SIR). On the other hand, in the second simulation, the received signal has a low SIR. First simulation results Figure 30: Simulation with normal-high SIR at the receiver Second simulation results Figure 31: Simulation with low SIR at the receiver
43 Appendix 3: Parametric Study In the following section the complete results of the parametric study are shown. Number of Subcarriers a) b) c) d) e) f) Figure 32: Performance of the FH for a changing number of subcarriers in presence of: a) Delta Interference; b) Burst of Pulses; c) Wideband Chirp; d) Narrowband Chirp; e) Continuous Wave and c) Wideband Signal; RFI
44 Samples per bit a) b) c) d) e) f) Figure 33: Performance of the FH for a changing number of samples per bit in presence of: a) Delta Interference; b) Burst of Pulses; c) Wideband Chirp; d) Narrowband Chirp; e) Continuous Wave and c) Wideband Signal; RFI This two first studies show clearly that the Frequency Hopping Spread-Spectrum (FHSS) modulation works better as the number of subcarriers increases and the number of samples per bit increases. In the first case, changing the number of subcarriers have more incident when the signal is disturbed by a narrowband interference. On the other hand, increasing the samples per bit provides greater robustness against wideband RFI.
45 Bandwidth a) b) c) d) e) f) Figure 34: Performance of the FH for a changing available bandwidth in presence of: a) Delta; b) Burst of Pulses; c) Wideband Chirp; d) Narrowband Chirp; e) Continuous Wave and c) Wideband Signal RFI The bandwidth study is not as relevant as it was originally though. The conclusion is to set the bandwidth according to the specifications of the system and the needs of the user.
46 Appendix 4: Hardware Description and configuration A.4.1 Transmitter 3DR: The basic specifications of the transmitter are the following: Band: 433MHz Antenna Connector: RP-SMA connector Output power: 100mW (20dBm), adjustable between 1-20dBm Interface: Standard TTL UART LED connection indicators Data rates up to 250kbps (Air rate) MAVLink framing protocol and status reporting Frequency hopping spread spectrum (FHSS) Adaptive division multiplexing time (TDM) Built in error correction code (you can correct up to 25% bit errors data) Based on the radio module HopeRF HM-TRP, offering a microcontroller RF SI1000 SiLabs. Figure 35: 3DR Transmitter The program used to configure the transmitter is the 3DR Config and its interface is shown in Figure 30. Figure 36: 3DR Config interface 1 2 3 4