IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 139- 145

International Journal of Research in Information Technology (IJRIT) www.ijrit.com

ISSN 2001-5569

Implementing Digital modulation schemes on FPGA Platform: A Teaching Aid Prajakta Pardeshi1, Prof. Dr. A.D. Kumbhar2, Prof. Dr. Prof C.R.S. Kumar 3 1

PG student, Dept. of Electronics & Telecomm, Smt. Kashibai navale college of Engg, Pune-41, India [email protected]

2

Professor, Dept. of Electronics & Telecomm, Smt. Kashibai navale college of Engg, Pune-41, India [email protected]

3

HOD, Dept. of computer science, Defence institute of advanced technology (DIAT) Pune-41, India [email protected]

Abstract This paper represents very easy simulations of digital modulation schemes BPSK, QPSK, GMSK & implementation of BPSK and QPSK, on FPGA. The work in paper, aimed primarily to serve as a teaching aid for senior undergraduate courses and projects, allows students to have visual real time demonstrations in communications systems. The system is also powerful enough to carry out communications research projects. A novel approach is taken to implement the system on FPGA. Instead of following the conventional method of oscillators and mixers, a new template based method is used to achieve modulation. Two digital communication schemes, BPSK and QPSK are implemented on FPGA platform using this novel approach. Laboratory virtual instrument graphical programming (LabVIEW) graphical programming is used to program FPGA and developing GUI.

Keywords: BPSK, QPSK, GMSK, digital communications, field programmable gate array (FPGA), laboratory, modulation.

1. Introduction The aim of the work presented in this paper is to provide students a powerful platform to understand the digital communication schemes efficiently. Many communication topics are difficult for undergraduate students to interiorize, but proper demonstrations and laboratory experiences would be of benefit at a great level. Efficient teaching of engineering topics sometimes suffers due to lack of practical and visual aids. Teaching of digital communications courses often suffers from the lack of modern Laboratory equipment This paper describes simulations and implementation of Binary Phase Shift Keying (BPSK), and Quadrature Phase Shift Keying (QPSK), and Gaussian minimum shift keying (GMSK), by using a highly successful combination of theory, demonstrations, that incorporate LABVIEW graphical programming and FPGA Spartan 3E hardware. With this laboratory, students can have real-time demonstration of various schemes, and also efficiently carry out their academic research projects. Digital communication systems is an important topic for electrical, computer and electronics engineering students, as it imbuses many commercial and military systems such as cell phones, satellite communication s, high-definition television, and so on. When the student completes the course, he or she should have a sound understanding on which Prajakta Pardeshi,

IJRIT

139

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 139- 145

modulation method best fits a certain application, how it can be generated and detected, and how noise influences signal transmission. The implementation of communications laboratory, digital communications transmitter is still a challenge on hardware platforms. Extremely efficient LabVIEW programming techniques to cram the digital modulations structures inside FPGA, resulting in several theoretical and practical breakthroughs, some of which are on the verge of implementation. Several digital modulations schemes are implemented in single FPGA configuration. That is, no FPGA reconfiguration is required in order to change modulation scheme, but instead only a user command.

2. Physical platform 2.1 Hardware requirement There are several existing FPGA kits in the market, within which implementation can be done. Available kits are Altera DE2-70, DSP C67X, Spartan 3E, Spartan 3A, Virtex-5, etc. Xilinx and Altera offer tutorial and laboratory manual specifically for these boards on its website. All these boards work with different functionality and different clock rates, and with different ADC and DAC operations. Selection of these starter kits depends on the requirement of the application to be developed. The said work presented is simulated in LABVIEW and implemented on the Xilinx Spartan 3E FPGA based board.

2.2 Software requirement The choice of software is important thing in developing any application. As far as signal processing concern the software should be very flexible in terms of the availability of functions and it should be easy to use in order to reduce the development time. Several available FPGA programming softwares can be broadly classified as Xilinx’s VHDL (Verilog hardware description language), National Instruments LabVIEW (Laboratory virtual instrument engineering workbench), and MATLAB etc. By considering those important factors we selected National Instruments LabVIEW (Version 2012) software for implementation purpose. The salient features of LabVIEW in detail can be reviewed in [7], some of which are as follows: • Environment of development of any application is strictly graphical programming. • The program developed in the LabVIEW known as Virtual Instrument hence it provides block diagram view of an application. • It also provides real time clock for real time programming. • Wide support for accessing hardware. • Even people with limited coding experience can write programs and deploy test solutions in reduce time frame. LabVIEW is commonly used for data acquisition, industrial automation, and instrument control. LabVIEW is the programming language used for implementation of complete system. The reader is encouraged to to review [7] for understanding LabVIEW in detail. First with the help of graphical programming, logic has been developed and then that program is being converted to HDL code and compiled by Xilinx compiler.

Fig.1 FPGA Implementation of F= (A+B)*CD Prajakta Pardeshi,

IJRIT

140

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 139- 145

After compilation of the LabVIEW program bit file is generated and downloaded on FPGA module. Fig.1. shows how a LabVIEW code is implemented on FPGA chip. The complex application are very difficult as well as time consuming to describe in conventional programming languages like VHDL because of its syntax rules. The disadvantages of the conventional programming languages are as follows: • The environment is strictly line by line coding. • Need to follow the syntax rules, it increases the development time. • Complex operations are very difficult as well as very time consuming to develop. • Due to line by line coding it is difficult to find and rectify the error. • One has to focus syntax of code while developing the algorithm or logic of the application. • Probability of logical as well as syntax error is more.

3. Implementation and structure 3.1 Implementation For implementation as well as simulation we have followed a totally new approach. In general design of a transmitter usually includes local oscillators and mixer. This local oscillator and mixer are itself noisy component of the system. The local oscillators exhibit some sort of non linearity in terms of phase noise, where the mixers always introduce a phase noise irrespective of the operating frequency. This two sources of phase distortion are fundamental blocks of the transmitter design. As we are developing a phase shift keying, the phase noise in this system has greater importance. We have removed these components in order to produce clean noise free modulated signal. To eliminate all the problems due to local oscillator and mixer, here we are strictly following a new method that is template method. In this method we are generating a signal by concatenating pre-stored templates of the signal. The possible variations in the signal are stored as a look up table, on different conditions different templates are selected and concatenated to form a continuous time waveform. To select a particular template, logic has been developed, simulated in LabVIEW as well as implemented on FPGA. Fig.2. shows the flow diagram of the application. As in BPSK and QPSK, there are two and four phase variations in the signal respectively. The templates of one sine cycle with these phase values are pre-stored in the memory. These templates are nothing but sample values varying as per sine function starting with particular phase values. Now the value of input bit decides which phase value to be selected. As in BPSK there are only two phase values, so sin 0 is selected for input bit 0 and sin 180 is selected for input bit 1 as shown in Fig.3. This is nothing but a 2x1 multiplexer, where data bit acts as select line. Fig.5. shows the actual LabVIEW simulation of BPSK.

Fig.2 Algorithm for implementation of digital modulation scheme

Prajakta Pardeshi,

IJRIT

141

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 139- 145

According to the input bit either of the stored templates are taken at output. This way BPSK is implemented on FPGA.

Fig.3 BPSK Implementation Similarly in QPSK the bitstream is divided in I and Q streams. This separation of channel is done simply by putting input bits in I and Q channel alternatively. These I and Q acts as select lines of the 4x1 multiplexer as shown in Fig. 4.

Fig.4 QPSK Implementation

3.2 Graphical user interface

Fig.5 GUI showing simulation of BPSK Figure 5 shows the LabVIEW GUI for the implemented schemes. With the help of this GUI the function of the system can be controlled. At any point of time, any of the schemes BPSK or QPSK can be selected. Selection of these schemes shows the output waveform on the GUI. At the same time the signal is output on the hardware. The data rate of the input stream also can be selected from GUI. This gives a complete GUI based implementation of digital communication schemes. With these the students can easily visualize the physical process of the digital communication system, which is the main aim of this work.

3.3 Results A. Simulated signal of QPSK The phase change in QPSK is abrupt in nature. The phase remains constant throughout the bit period and it will change drastically at the end of the bit or start of the new bit. Fig.7. shows the phase trajectory and time domain waveform of the QPSK. From the figure the drastic change in the phase can be observed. This Prajakta Pardeshi,

IJRIT

142

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 139- 145

drastic change in the phase will result the amplitude drop in the time domain waveform at the end of the symbol

Fig.7 Phase trajectory and time signal of QPSK at the data rate of 1Kbps.

Fig.8 Power spectral density and phase constellation of QPSK at the data rate of 1 Kbps. B.

Simulated signal of GMSK

From fig.9 phase trajectory is very smooth and continuous in nature. Like QPSK there are no abrupt changes in the phase. This results in amplitude of the time waveform which is constant as shown in fig.4.16 (i.e. Constant envelop property maintained) through the trace. This tends to reduce the high frequency components. This will improve the power spectral density as shown in fig.4.17. The maximum power is located in main lobe hence the bandwidth of interest reduced. Hence the bandwidth efficiency of GMSK improved as compare to QPSK.

Fig.9 Phase trajectory and the time waveform of GMSK at rate of 1Kbps for BT=0.25.

Prajakta Pardeshi,

IJRIT

143

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 139- 145

Fig.10 Power spectral density & continuous phase constellation plot of GMSK at rate of 1Kbps for BT=0.25.

D. Output time signal of BPSK Fig.9. shows the output waveform of BPSK on FPGA hardware respectively. The carrier frequency of the signal is 5 KHz for BPSK. Table I shows the device (Fpga) utilization for BPSK and QPSK schemes after implementation.

Fig.9. BPSK output at 5 KHz carrier at 5 Kbps data rate

TABLE I. BPSK FPGA DEVICE UTILIZATION Device Utilization Slice Registers Slice LUT’s

Total Available 9312 9312

Used

Percent

2833 3383

30.4% 36.3%

3.3 Conclusion A complete transmitter system for BPSK is simulated in LABVIEW and implemented on FPGA with a GUI based interface. An easy and effective novel approach is taken to implement the system Performance parameter of the system is verified. This system can be used by teaching professionals for effective presentation of the digital modulation schemes. QPSK scheme is on the verge of implementation. From the simulations result the bandwidth efficiency of GMSK improved as compare to QPSK. Other modulation schemes can be implemented in future

ACKNOWLEDGMENT The first author wishes to thank respected and beloved guide Prof. Dr. A.D Kumbhar for his encouragement and imparting valuable knowledge Authors are thankful to Smt. Kashibai Navale College of Engineering, Pune and to the vice chancellors of Defence Institute of Advanced Technology, Pune for providing support and motivation to carry out this work. Prajakta Pardeshi,

IJRIT

144

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 4, April 2014, Pg: 139- 145

REFERENCES [1] [2]

[3] [4]

[5] [6]

[7] [8] [9]

Yair Linn, Member, IEEE, An Ultra Low Cost Wireless Communications Laboratory for Education and Research, Ieee transactions on education, may 2012, vol. 55, no. 2, pp-169-179. Yair Linn*, Member IEEE, Teaching Digital Communications in a Developing Country using a Low Cost Software Defined Radio Laboratory, Proceedings of the SDR 10 Technical Conference and Product Exposition, 2010, PP-65-74. Antonio J. Lpez-Martn, Member, IEEE, Teaching Random Signals and Noise: An Experimental Approach, IEEE transactions on education, may 2004, vol. 47, no. 2, pp-174-179. Silvana-Oana Popescu, Aurel-Stefan Gontean Georgeta Budura, Modern Implementation of a BPSK Modulator on FPGA, Nov 2012, International Journal of Advanced Computer Science, Vol 2, No. 11 , pp. 420-427. LabView FPGA Module Release and Upgrade Notes Version 2010, www.nationalinstruments.com. J. G. Proakis, Digital Communications, 4th ed. Boston, MA: Mc-Graw-Hill, 2001.Yuhua Zheng and Yan Meng, "Object detection and tracking using bayes-constrained particle swarm optimization", 2007. LabView manual www.ni.com/LabVIEW Cameron H. G. Wright, Thad B. Welch, Michael G. Morrow, commfsk: a hardware approach to teaching fsk, IEEE transactions on education, 2006, pp-460-465 www.xilinx.com

Prajakta Pardeshi,

IJRIT

145

Implementing Implementing Digital modulation ...

Several available FPGA programming softwares can be broadly classified as Xilinx's VHDL (Verilog hardware description language), National Instruments. LabVIEW (Laboratory virtual instrument engineering workbench), and MATLAB etc. By considering those important factors we selected National Instruments LabVIEW ...

2MB Sizes 6 Downloads 231 Views

Recommend Documents

Implementing Workflow.pdf
Fire, AWS Marketplace Design, Mechanical Turk, Amazon Redshift, Amazon Route 53, Amazon S3, Amazon VPC. In addition,. Amazon.com graphics, logos, page headers, button icons, scripts, and service names are trademarks, or trade dress of Amazon in. the

Implementing NICE
families and primary care services hopefully improving each family's wellbeing. The aim of ... introduce the service user to the provider and advocate for them.

SKC Implementing Math.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. SKC Implementing Math.pdf. SKC Implementing Math.pdf. Open. Extract. Open with. Sign In. Main menu.Missing:

Steps to Implementing Java RMI
connect to the WeatherServer object through the WeatherIntf interface. Once we have ... directory. On my machine it is: C:\Program Files\JavaSoft\JRE\1.3\lib\ext.

MODULATION FORENSICS FOR WIRELESS DIGITAL ...
... College Park, MD 20742 USA. Email: {wylin, kjrliu}@eng.umd.edu ... achieves almost perfect identification of the space-time coding, and high accuracy rate of ...

PdF Planning, Implementing, Evaluating Health ...
PdF Planning, Implementing, Evaluating Health Promotion Programs: A Primer ... News analysis and research for business technology professionals plus peer ...