Design and Implementation of BPSK Audio Transmiter & Receiver

0 downloads 0 Views 675KB Size Report
The key design step is to determine the digital hardware components of a software ... Keywords— GNU Radio, USRP, BPSK Modulation. .... The analog audio is.
International Journals of Advanced Research in Computer Science and Software Engineering ISSN: 2277-128X (Volume-7, Issue-6)

Research Article

June 2017

Design and Implementation of BPSK Audio Transmiter & Receiver Using SDR Prof. M. P. Joshi*, Prof. Dr. S. A. Patil, Prof. D. C. Shimpi KKW I EE &R, Nashik, Maharashtra, India DOI: 10.23956/ijarcsse/V7I6/0241 Abstract— To meet the requirements of wireless communication industry Software-Defined Radio (SDR) provides an efficient, re-configurable and high performance platform to integrate all individual functions for various modulation and demodulation techniques. The key design step is to determine the digital hardware components of a software radio. This system consists of the BPSK Modulated Radio transmitter and receiver using Linux based GNU radio system. This work presents how the GNU Radio Companion (GRC) and USRP have been used to transmit/receive signals for a wide range of frequencies. The main advantage of this project is that we can implement any transmitter or receiver system without changing the hardware. We have to just change the parameters of software blocks [2] and the low bit error rate. Keywords— GNU Radio, USRP, BPSK Modulation. I. INTRODUCTION Software-defined radio (SDR) is a radio communication system where components that have been typically implemented hardware (e.g. mixers, filters, amplifiers, modulators/demodulators, detectors, etc.) are instead implemented by means of software on a personal computer or embedded system [3]. While the concept of SDR is not new, the rapidly evolving capabilities of digital electronics render practical many processes which used to be only theoretically possible. A basic SDR system may consist of a personal computer equipped with a sound card, or other analog-to-digital converter, preceded by some form of RF front end. Significant amounts of signal processing are handed over to the general-purpose processor, rather than being done in special purpose hardware (electronic circuits). Such a design produces a radio which can receive and transmit widely different radio protocols (sometimes referred to as waveforms) based solely on the software used. II. GRC FOR TASKS USING THE EXISTING FUNCTIONALITY IN GNU RADIO The GNU Radio project provides a set of signal processing blocks that can be aggregated to build flow-graphs. These blocks are written in C++ and run in Python, which brings several advantages, such as easy instantiation and connection of existing blocks and easy GUI (Graphical User Interface) creation, as shown in Fig. 1. The working of each block can be properly known to the user once the algorithms that process the samples in frames (or blocks) are studied.

Fig.1 GNU Radio graphical user interface. The existing blocks in GNU Radio cover various applications from simple mathematical operations, modulators/demodulators; channel coding blocks, voice codec and others. Special classes of blocks are the input/output blocks. The real world interface can be created by the most known UHD (USRP hardware driver) blocks and Audio blocks. To put/get signals from wireless medium UHD blocks are created to use the USRP. Thus the audio blocks put/get the signal from sound card. III. GRC ARCHITECTURE The block diagram shows transmission and reception of file source via GNU radio. In this system Host Computer is any normal Laptop / CPU with GNU Radio installed over it or running with the help of live USB environment. For © www.ijarcsse.com, All Rights Reserved

Page | 268

Joshi et al., International Journals of Advanced Research in Computer Science and Software Engineering ISSN: 2277-128X (Volume-7, Issue-6) interfacing of USB, system requires USB 3.0 port with USB high speed data cable. Ettus B200 board which has in-built all FPGA, ADC/DAC, RF Front end, RX/TX terminals blocks.

Fig. 2 GRC Architecture for Transmitter and Receiver IV. WIRELESS TRANSMISSION USING USRP A. Equations To access to a USRP use the GNU Radio to transmit signals through wireless channels. As an example of the procedures, this subsection presents a wireless digital communication using BPSK (binary phase-shift keying) modulation [4]. In BPSK modulation only two symbols are used, representing the bits 0 or 1. As mentioned in the constellation diagram binary 1 and binary 0 are represented by different carrier phases each is 180 degree apart. As two different phases are used to represent the two binary digits, thus know as binary phase-shift keying. (BPSK). The resulting transmitted single for one bit time is: S (t) =A* cos (2*pi*fc*t) for binary 1 S (t) =A *cos (2*pi*fc*t+pi) for binary 0 Where t is time, 0 ≤ t ≤ T; fc is the carrier frequency.

Fig. 3 BPSK constellation diagram B. Design The blocks used in a bit transmitter flow graph of BPSK are shown if Fig. 4. The block Vector Source sends a vector specified by the user. When executing this project, the vector is composed by 0s and 1s; the block repeats the vector whenever it reaches the end. The Vector Source output is connected to a Packet Encoder which is responsible for encoding the data, such that the receiver can find the beginning of the transmitted data

Fig. 4 GNU Radio BPSK transmitter flow graph. © www.ijarcsse.com, All Rights Reserved

Page | 269

Joshi et al., International Journals of Advanced Research in Computer Science and Software Engineering ISSN: 2277-128X (Volume-7, Issue-6) After the encoder, the encoding data are sent to PSK Mod which is responsible to modulate the information using PSK [6]. The value of the samples in PSK Mod output is modified (multiplied by a constant) by multiply Const block, such that the power of modulated signal can be changed. Thus in transmitter, the signal is sent to UHD: USRP Sink block which is responsible for interact with the USRP. This block has several parameters that are used by the hardware like sampling frequency, carrier frequency.

Fig. 5 Output Constellation plot of Transmitter. Fig. 6 shows the blocks used in reception of wireless BPSK signals. The UHD: USRP Source block abstracts all the hardware in reception and its outputs are the samples of the received signal in baseband. In this block, like the UHD: USRP Sink, it is possible to define several parameters of the hardware. The UHD: USRP Source output is connected to BPSK Demodulator block that demodulates the BPSK signal, recovering the encoding data. After the demodulation, the encoding data is sent to Packet Decoder block which decodes the data and outputs the bits (the information sent by Vector Source). Once the information was recovered, the Char to float block converts the byte in float, so that the information can be used by others blocks [7].

Fig. 6 GNU Radio BPSK receiver flow graph.

Fig. 7 Output Constellation plots of Receiver © www.ijarcsse.com, All Rights Reserved

Page | 270

Joshi et al., International Journals of Advanced Research in Computer Science and Software Engineering ISSN: 2277-128X (Volume-7, Issue-6) C. USRP SDR B200 Module

Fig. 8 RTL-SDR Transmitter & Receiver Setup This wireless TX-RX kit allows implementing and studying several telecommunication concepts, such as modulation development [8]. V. CONCLUSIONS In the implemented transmitter & receiver an audio file is transmitted using BPSK modulation. The BPSK transmitter flow graph is build in GNU radio software having frequency of 2.54 GHz (ISM band). The analog audio is converted into digital form by USRP sink block and transmitted via antenna of SDR B200 module. The DVBT+FM+DAB 820T2 RTL SDR dongle captures these transmitted frequencies. At BPSK receiver side digital signal is converted into analog signal by RTL-SDR source block and processed further. Path is given to audio sink block, where the received audio is saved as binary file. Rhythm box is used to play the audio file as music, speech, announcement etc & bit error rate is observed very less. REFERENCES [1] Jiann-Liang Chen “Reconfigurable Software Defined Radio andItsApplications”Tamkang Journal of Science and Engineering, Vol. 13, No. 1, pp. 29_38 (2010) [2] Rozeha A. Rashid “Experimental Study of OFDM ImplementationUtilizing GNU Radio And USRP – SDR”Proceedings of the 2009 IEEE 9th Malaysia International Conference on Communications 15 - 17 December 2009 Kuala Lumpur Malaysia. [3] Carlos E. Caicedo from Department of Information Science and Telecommunications University of Pittsburgh “Software Defined Radio and Software Radio Technology: Concepts and Applications” Department of Information Science and Telecommunications University of Pittsburgh. [4] P. Dondon, J.M.Micouleau, J.Legall,K.Kadionik, “Design of low cost BPSK Modulator/Demodulator for a practical teaching of digital modulation techniques” in the fourth WWSEAS/IASME International conference on Engineering education, Greece,2007, pp.61-66. [5] J.Gevargiz, “Performance Analysis of an all Digital BPSK Demodulator”, in proceedings of IEEE Global telecommunications conference,vol 3, p.1670-1676, 1993. [6] Sami H.O.Salih, Mamoun M.A.Suliman, “Implementation of BPSK Modulation using SDR”, International Journal Of Scientific And Engineering Research, vol.2, Issue 5, May-2011. Pp.1-4. [7] J.Markstember, “BPSK Modulation/Demodulation Techniques” provides lowest probability of error, microwave systems, News, pp.150-176, June 1984. [8] Aldrian Tarniceriu, Bogdan Iordanche, “ An Analysis Of Digital Modulation Techniques For SDR Applications”, semiconductor conference, 2007, International CAS oct.15, 2007,volume 2, pp. 571- 574. 19 [9] F.M.Gardner, “A BPSK timing error detector for sampled receivers”, IEEE Transactions on communications‟. [10] P.Fuxjagar, “A.Costantini D.Valerio, P.castiglione, G.Zacheo, T.Zemen, and F.Ricciator, IEEE 802.11 p transmission usinf GNU Radio”, in sixth Karlsruhe Workshop on SDR(WSR), Karlsruhe, Germany, March 2010.

© www.ijarcsse.com, All Rights Reserved

Page | 271

Suggest Documents