Design Analysis of Analog Data Reception Using GNU Radio Companion (GRC)

Similar documents
EECS 307: Lab Handout 2 (FALL 2012)

Mobile Computing GNU Radio Laboratory1: Basic test

CIS 632 / EEC 687 Mobile Computing

Lab 3: Introduction to Software Defined Radio and GNU Radio

Faculty of Information Engineering & Technology. The Communications Department. Course: Advanced Communication Lab [COMM 1005] Lab 6.

THE PENNSYLVANIA STATE UNIVERSITY SCHREYER HONORS COLLEGE SCHOOL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE SOFTWARE DEFINED RADIO RECEIVER

Experimental study on Wide Band FM Receiver using GNURadio and RTL-SDR

Appendix B. Design Implementation Description For The Digital Frequency Demodulator

Using GNU Radio for Analog Communications. Hackspace Brussels - January 31, 2019

Developing a Generic Software-Defined Radar Transmitter using GNU Radio

Technician License Course Chapter 2. Lesson Plan Module 3 Modulation and Bandwidth

PLC2 FPGA Days Software Defined Radio

Amplitude Modulated Systems

SCA COMPATIBLE SOFTWARE DEFINED WIDEBAND RECEIVER FOR REAL TIME ENERGY DETECTION AND MODULATION RECOGNITION

Third-Method Narrowband Direct Upconverter for the LF / MF Bands

ANALOG COMMUNICATION

Tutorial 3: Entering the World of GNU Software Radio

Charan Langton, Editor

Build your own SDR. By Julie VK3FOWL and Joe VK3YSP

CS434/534: Topics in Networked (Networking) Systems

THIS work focus on a sector of the hardware to be used

YEDITEPE UNIVERSITY ENGINEERING FACULTY COMMUNICATION SYSTEMS LABORATORY EE 354 COMMUNICATION SYSTEMS

Software Defined Radiofrequency signal processing (SDR) GNURadio

I-Q transmission. Lecture 17

A LOW-COST SOFTWARE-DEFINED TELEMETRY RECEIVER

Wireless Transmission Detection and Monitoring System using GNU Radio and Multiple RTL SDR Receivers

Keywords OFDM, GNU Radio, USRP, FPGA, FFT, Wavelet based OFDM

OBJECTIVES EQUIPMENT LIST

Amplitude Modulation. Ahmad Bilal

Software Radio Network Testbed

Signals and Systems Lecture 9 Communication Systems Frequency-Division Multiplexing and Frequency Modulation (FM)

Introduction to Receivers

Outline. Communications Engineering 1

and RTL-SDR Wireless Systems

Frequency Shift Keying Scheme to Implement SDR using Hackrf one

Exercise 1: RF Stage, Mixer, and IF Filter

Amplitude Modulation Chapter 2. Modulation process

Development of Software Defined Radio (SDR) Receiver

Speech, music, images, and video are examples of analog signals. Each of these signals is characterized by its bandwidth, dynamic range, and the

CHAPTER 2! AMPLITUDE MODULATION (AM)

Using SDR for Cost-Effective DTV Applications

A GENERAL SYSTEM DESIGN & IMPLEMENTATION OF SOFTWARE DEFINED RADIO SYSTEM

ECE 6560 Multirate Signal Processing Chapter 13

What is a Communications System?

Problems from the 3 rd edition

Modulation is the process of impressing a low-frequency information signal (baseband signal) onto a higher frequency carrier signal

Hardware Architecture of Software Defined Radio (SDR)

Ascent Ground and Satellite Demonstration

Performance Enhancement of Multi-Input Multi-Output (MIMO) System with Diversity

Laboratorium 1. Introduction to GnuRadio environment. I. Introduction

Software Radio, GNU Radio, and the USRP Product Family

SOFTWARE DEFINED RADIO FOR AUDIO SIGNAL PROCESSING IN PROJECT BASED LEARNING

Introduction to Amplitude Modulation

Chapter 3. Amplitude Modulation Fundamentals

Time Offset Estimation for OFDM Using MATLAB

Project in Wireless Communication Lecture 7: Software Defined Radio

Technician License Course Chapter 3 Types of Radios and Radio Circuits. Module 7

Chapter 2: Digitization of Sound

Laboratory 2: Amplitude Modulation

Amplitude Modulation, II

for amateur radio applications and beyond...

NCR Channelizer Server

TS9050/60. microgen. electronics TM FM Modulation and Spectrum Analyser

AM and FM MODULATION Lecture 5&6

Implementation of basic analog and digital modulation schemes using a SDR platform

Software Defined Radios

Modulation and Coding labolatory. Digital Modulation. Amplitude Shift Keying (ASK)

WAVEFORM DEVELOPMENT USING REDHAWK

ELEC3242 Communications Engineering Laboratory Amplitude Modulation (AM)

Transceiver Architectures (III)

Digital Signal Processing (DSP) Algorithms for CW/FMCW Portable Radar

Modulation Methods Frequency Modulation

DATA INTEGRATION MULTICARRIER REFLECTOMETRY SENSORS

EMBEDDED DOPPLER ULTRASOUND SIGNAL PROCESSING USING FIELD PROGRAMMABLE GATE ARRAYS

Software Defined Radio! Primer + Project! Gordie Neff, N9FF! Columbia Amateur Radio Club! March 2016!

TSKS01 Digital Communication

HF Receivers, Part 2

Technician License Course Chapter 2. Lesson Plan Module 2 Radio Signals and Waves

EE 264 DSP Project Report

TSEK02: Radio Electronics Lecture 2: Modulation (I) Ted Johansson, EKS, ISY

SOFTWARE DEFINED RADIO IMPLEMENTATION IN 3GPP SYSTEMS

PXIe Contents SPECIFICATIONS. 14 GHz and 26.5 GHz Vector Signal Analyzer

REPORT ITU-R M Adaptability of real zero single sideband technology to HF data communications

T. Rétornaz 1, J.M. Friedt 1, G. Martin 2 & S. Ballandras 1,2. 6 juillet Senseor, Besançon 2 FEMTO-ST/CNRS, Besançon

B.Tech II Year II Semester (R13) Supplementary Examinations May/June 2017 ANALOG COMMUNICATION SYSTEMS (Electronics and Communication Engineering)

SAW Filter Modelling in Matlab for GNSS Receivers

3 USRP2 Hardware Implementation

Research on key digital modulation techniques using GNU Radio

AM Limitations. Amplitude Modulation II. DSB-SC Modulation. AM Modifications

Wideband Receiver for Communications Receiver or Spectrum Analysis Usage: A Comparison of Superheterodyne to Quadrature Down Conversion

Chapter 3: Analog Modulation Cengage Learning Engineering. All Rights Reserved.

Image transfer and Software Defined Radio using USRP and GNU Radio

VLSI Implementation of Digital Down Converter (DDC)

Amplitude Modulation II

Twelve voice signals, each band-limited to 3 khz, are frequency -multiplexed using 1 khz guard bands between channels and between the main carrier

CME 312-Lab Communication Systems Laboratory

BER Performance with GNU Radio

TESTING METHODS AND ERROR BUDGET ANALYSIS OF A SOFTWARE DEFINED RADIO By Richard Overdorf

CHAPTER 4 DESIGN OF DIGITAL DOWN CONVERTER AND SAMPLE RATE CONVERTER FOR DIGITAL FRONT- END OF SDR

PRODUCT DEMODULATION - SYNCHRONOUS & ASYNCHRONOUS

Transcription:

World Applied Sciences Journal 17 (1): 29-35, 2012 ISSN 1818-4952 IDOSI Publications, 2012 Design Analysis of Analog Data Reception Using GNU Radio Companion (GRC) Waqar Aziz, Ghulam Abbas, Ebtisam Ahmed, Saqib Saleem and Qamar-ul-Islam Department of Electrical Engineering, Institute of Space Technology, Islamabad, Pakistan Abstract: Optimization of the communication systems is one of the big challenges to the modern world. The problem is nicely dealt by the GNU Radio; a cheaper and powerful tool. GNU Radio companion (GRC) gives the simplicity to use as is the case with normal Python language used for programming. The Universal Software Radio Peripheral (USRP) gives the boost to GNU Radio capabilities. Software Defined Radio (SDR) is easily implemented by the combination of GNU Radio and USRP with its own ability of easier handling. Two techniques of Radio reception namely Amplitude Modulation (AM) and Single Side Band (Single Side Band) Modulation are compared and analyzed with the help of GRC in current work. The GNU Radio version 3.2.2 is used with USRP1. Key words: GNU Radio GRC USRP Amplitude Modulation Single Side Band Modulation INTRODUCTION signal in transmitter and receiver respectively. These are generally called with different names as per their GNU Radio is software used extensively for the capabilities; USRP1, USRP2, e100 etc. Furthermore USRPs analysis and development of communication systems, are classified on the basis of the operating frequency. more precisely known as Software Defined Radio (SDR). Meeting the requirements of our current work, we use As compared to conventional radios, SDR gives us the USRP1 with daughter boards LFTX for AM and basic benefit of diversity in radio specifications. GNU Radio TX/RX for SSB. The first one has a frequency range of DC comes handy in two ways. First is that it is a free ware to 50 MHz and the second one has 1 to 250 MHz [3]. software, made particularly for free operating system of Amplitude Modulation (AM) is a technique of UNIX, thus everyone enjoys its benefits. The second and transmitting information with the help of a radio carrier more important one is that it is completely open source. wave. It works on the principle of varying signal in So the experts from all over the world keep on updating it accordance with the information that is being sent. In this with latest ideas and extending beyond. Development is technique, the carrier does not oscillate in amplitude by done in C++ which is a hardware level language; to itself. However, the modulating data seems in the form of achieve the best performance possible [1]. signal components, having the frequencies higher and GRC (GNU Radio Companion) gives the pictorial lower than that of carrier. We can call these signal view of the GNU Radio. Thus all the sources, sinks and components as sidebands. The frequency bands which processing blocks can be actually dragged and connected appear below and above than the carrier frequency are in a much easier fashion giving a complete grip on the called lower sidebands (LSB) and upper sidebands (USB) problem [2]. Along with this fascinating feature, it gives respectively [4]. The fluctuations in the signal amplitude proper graphical view of the signals in time and can be controlled by the sideband power. frequency domain making this software ideal for analysis. Another technique used for radio transmission is These capabilities are further enhanced by the use of Single Side Band (SSB) modulation, which is more USRP (Universal Software Radio Peripheral) device linking bandwidth efficient. For a fixed bandwidth, twice the the real and digital worlds. information is sent by SSB as compared to conventional The USRP constitutes of FPGA (Field Programmable AM. So the job is done by the transmission of one Gate Array) with daughter boards and Converters sideband only giving it the name SSB. We can generate (DAC and ADC). Together in one assembly, they act as SSB signal by the use of 3 methods; Sharp cut-off a transceiver and Up convert and Down convert the Filters, Phase Shifting networks and the Weaver s Corresponding Author: Waqar Aziz, Department of Electrical Engineering, Institute of Space Technology, Islamabad, Pakistan. 29

method. Most commonly used method is selective Figure 1. In variable slider we define a default filtering method in which we use sharp cut-off Low Pass frequency with upper and lower limit and it is actually Filter (LPF) to remove undesired signal to generate SSB controlling the frequency of the signal source. modulated wave. Ideal filters are required for these The signal resulted after this multiplicative action is purposes which are unrealizable. However this is passed through a low pass filter to reject the unwanted realizable if there is a separation between pass and stop channels. The filter used in this case is a FIR filter. band. Voice signal provides this separation as it has low The parameters of the low pass filter are set to fetch the power contents near origin and above 3.3 KHz. Its required information. The AM broadcast signal has the transition band is about 600 Hz. bandwidth of 10 KHz (+/- 5 KHz from the carrier frequency). Hence we choose the cutoff frequency as 5 System Description KHz with the transition width of 100 Hz. The sample rate Conventional AM Modulation: The AM transmission is decimated to 64 KHz for better resolution of the of different transmitting stations can be viewed by received signal. The variable block in Figure 1 is the the use of a device named as Universal Serial controlling factor for the decimation of the sampling Radio Peripheral (USRP). The date source of the rate [5]. USRP is one of the Sub Miniature version A (SMA) The windowing function [6] of filter can be described connectors, selected by the Receive Antenna as the mathematical function which gives the output in Setting. Basic LFRX uses the RXAB, RXA and some interval and zero outside. The purpose is to reduce RXB settings. We can achieve 64 Mega-samples the leakage of the spectrum but somehow it manages to per second / decimation from the USRP source. change the shape of the leakage. There are many windows The USRP is tuned at the frequency of 710 Khz for which affect the shape of the spectrum and we choose the purpose of receiving AM signals. The decimation according to the application. For example some provides rate of the USRP is set to 1 for the sake of simplicity with service for frequency resolution, some make it comfortable the 0dB gain [4]. to detect the desired frequency and some helps in the We want to listen to the channel with the frequency amplitude accuracy. The window chosen in the current of 790 KHz which is actually at 80 KHz in the FFT plot. work is Hamming Window and the beta factor shown in Then applying the basic definition of the AM receiver, the the block is only applicable for the Kaiser Window. USRP source is multiplied with the carrier of center After the low pass filter, we have the block of frequency -80 KHz with amplitude of 1. The signal source Automatic Gain Control (AGC). The main function of this in the block diagram is acting like a carrier having the block is the feedback control mechanism for the default sample rate with amplitude of 1. The frequency of adjustment of the gain to a certain level of interest. In the this signal source is selected by the variable slider block case of AM receiver the sound is varying rapidly between as shown in low and high levels, it adjusts the volume accordingly. Fig. 1: AM Receiver 30

The attack rate of the AGC can be defined as the how card of the system. In addition to the audio sink we can quickly AGC decreases the gain when we receive a loud have the block of FFT sink for the graphical view of the signal. For this case it is chosen to be 0.000625 so that it desired channel. In the FFT block we define the reference can adjust the gain to an appropriate level. In the same level as 50 db and FFT size as 1024. way decay rate of the AGC can be defined as the how quickly AGC increases the gain when we receive the weak Analysis of Conventional AM Reception: The FFT plot of signal. For this case it is chosen to be 0.00001 so that it the received signal shows multiple peaks with varying can control the gain to a certain level. Reference level of amplitudes. These peaks are the indication of placement the AGC can be defined as the level that AGC tries to of carriers that corresponds to AM broadcasts and maintain. In our case its value is 1. Maximum gain of the the varying amplitudes are because of live transmission. AGC is the gain that an AGC can have, which is equal to The sidebands for the stronger waveforms can also be 1 in current case. observed in Figure 2. The frequency slider can be varied For AM the baseband signal is in the form of to hear other stations. Our required signal of 80 KHz has magnitude of the modulated waveform. To achieve been shifted to origin as displayed from the view graph. this type of signal we use the complex to mag block, Figure 3 depicts the output after the low pass filter. which accepts the input as complex and gives a single The required channel is tuned and the other remaining float value. Then we have a multiply constant block channels are discarded. Now this signal will be which is for the volume adjustments. Slider display of the processed further to be converted into magnitude form. volume is actually for this purpose. In another variable The magnitude form of the modulated waveform for the slider block, shown in Figure 1; the default value is set to baseband signal is shown in Figure 4. The bandwidth of.05 with the upper and lower limits to.1 and 0 respectively 5 KHz can also be observed in Figure 4. This signal is fed [7]. to the rational re-sampler for decimation according to the We have decimated the sample rate to 64 KHz from audio sink's requirement. This final signal which can 256 KHz for the purpose of viewing better signal. If we be heard through the speakers is shown in Figure 5. want to hear the radio channel then we have to adjust this The signal is now decimated to 48 K Hz, as shown in sample rate to a value compatible with the sample rate of Figure 5. sound card of the system. As the sample rate of the audio sink is 48 KHz, so we have to convert our 64 KHz to 48 Single Side Band (SSB) Modulation: USRP source is KHz [8]. tuned at 50.3 MHz giving complex output with decimation This can be done by the use of Rational of 1 and 0 db gain. This signal is fed to the low pass Re-Sampler block. The decimation value is set to 4 and Xlating FIR filter (Translating Filter) set at center hence we choose interpolation as 3 to achieve the frequency of -51.5 KHz. Xlating Low Pass Filter is used to required sample rate. The other parameters of Rational shift the whole spectrum to origin and then discard Re-Sampler are left empty for automatic adjustments. the undesired side bands to achieve our required station. At the end the output can be listened through the The center frequency will shift down the spectrum by 53 Audio Sink block. In this block we only define the KHz and the cut off frequency is 2 khz with transition sample rate as per acceptable by the sample rate of sound width of 100 Hz having gain of 0 db. Fig. 2: AM Broadcast Reception 31

Fig. 3: Low Pass Filter (LPF) Output Fig. 4: Baseband Signal in Magnitude Form Fig. 5: Final Output For Weaver method, the complex signal generated by the USRP is converted to real and imaginary parts by the use of complex to float block. This action makes it different from other SSB techniques. Real and Imaginary part of this signal is multiplied with cosine and sine signal source respectively having frequency 1.5 khz. After multiplication we get our spectrum shifted right and left by 1.5 khz whose output type is float and then both the parts are added. Before rational re-sampler we use throttle, this is used specifically in GUI applications with no rate limiting block to keep processor out of congestion. Throttle block doesn t control sampling rate, which is controlled by the source or sink, but it only stream lines the data which is easier to handle by the processor. 32

Rational Re-sampler is used for down-sampling Analysis of SSB Reception: We execute the flow graph (decimation) and up-sampling (interpolation). We use and took its FFT plot just after USRP source, 256 khz wide decimation factor of 16 and interpolation factor of 3 mean spectrum was seen as this was sample rate. There is a we down sample our signal with a factor of 16/3 signal between 40 and 60 khz as shown in Figure 7. USRP (now sample rate is 48 KHz from 256 KHz) to keep was set at 50.3 MHz frequency so the signal at 0 Hz was sampling frequency within the range of our audio device seen at 50.3 MHz. By moving the cursor of its FFT plot, it as well. This is a necessary step as the sound card was viewed that its right edge frequency is about 53 khz, doesn t work at every sample rate. We leave the taps and this is the carrier frequency because 0 Hz signal is at fractional bandwidth empty. The rational re-sampler can 50.3 MHz so the original frequency will be 50.3 MHz + 53 be used as a filter if intended, but leaving the taps empty khz = 50.353 MHz. means that it is used as an all pass filter. Thus no effect To get the required signal, whole spectrum will be on the signal is observed. We are listening to this signal shifted down by 50.3 MHz and then extract it after passing on the speaker which is controlled by the sound card low pass filter. For this Xlating low pass FIR filter is used used in the system having range from -1 to 1 but we are having a center frequency of -51.5 KHz. This gives getting signal of very high amplitude so we do multiply it complex output having spectrum width from -1.5 khz to with a variable source with a default value of 50 µ. It can 1.5 khz as shown in Figure 8. To remove left side band of be adjusted to a value where proper audio is observed. the spectrum, we break the signal into real and imaginary Number of inputs is set to two to get a good sound parts by using complex to float block and then we multiply quality from stereo speakers. its real part with a cosine signal and its imaginary part Fig. 6: SSB Receiver Fig. 7: Input to the System 33

Fig. 8: Output of the Xlating Filter Fig. 9: Input Signal to the Adder Fig. 10: Output of the Adder with a sine signal of 1.5 khz frequency. Amplitude of and to achieve the required amplitude, multiplied with a both signals which we receive after multiplication is about constant source of 50 µ giving a signal of amplitude about 80 db as shown in Figure 9. After addition of both signals, from -140 db to 0 db acceptable by the speaker. its amplitude is increased by 3 db, so we get signal of amplitude 83 db as shown in Figure 10. The speakers of CONLUSION personal computers have sample rate of 48 khz and amplitude of -1 to 1 while the signal which we are getting AM and SSB are two different techniques achieving is sampled at 256 khz having amplitude from -50 db to 84 the same goal. It is seen through the diagrams db. To get required sample rate of 48 khz, used rational re- implemented above that SSB is much more complex than sampler with its decimation of 16 and interpolation of 3 the conventional AM technique. Though at the cost of 34

this complexity, it gains some added advantages. 5. Simone Bois, Daniele Veronesi and Paola Bisaglia, The foremost is bandwidth which is about half of the AM. 2008. Receiver Windowing for the HomePlug AV This bandwidth reduction has a direct effect on the System, ISSN: 978-1-4244-1976-0, IEEE 2008. coverage of SSB. SSB covers smaller band in the 6. Abed, A.H.M. and G.D. Cain, 19978. Low-pass digital spectrum, so the same energy distributed over the small filtering with the host windowing design technique, band gives higher power. Thus coverage is increased. Journal of Radio and Electronic Engineer, 48(6). GNU Radio opens the new door to the signal processing 7. Sakarya, F.A., G.S. Nagel, L.H. Tran and J.A. Molnar, and communication advancements. 2011. Wideband compressed sensing for cognitive radios, Military Communications Conference 2011, REFERENCES MILCOM 2011 8. Gomes, J.G.R.C. and A. Petraglia, 2002. An analog 1. http://en.wikipedia.org/wiki/amplitude_modulation samples-data DSB to SSB converter using recursive 2. http://gnuradio.org/redmine/projects/gnuradio/wiki Hilbert transformer for accurate I and Q channel 3. http://www.joshknows.com/grc matching, IEEE Transactions on Circuits and Systems 4. http://www.upc.edu/pct/documents_equipament/d II: Analog and Digital Signal Processing, 49(3). _174_id-459.pdf 35