AC : LOW-COST VECTOR SIGNAL ANALYZER FOR COMMUNICATION EXPERIMENTS

Similar documents
Innovative Communications Experiments Using an Integrated Design Laboratory

Principles of Communication Systems

Chapter 4. Part 2(a) Digital Modulation Techniques

EEE 461 Communication Systems II Lecture Presentation 2

Lecture 10. Digital Modulation

Wireless Communication Fading Modulation

Mobile Communication An overview Lesson 03 Introduction to Modulation Methods

Presentation Outline. Advisors: Dr. In Soo Ahn Dr. Thomas L. Stewart. Team Members: Luke Vercimak Karl Weyeneth. Karl. Luke

Revision of Previous Six Lectures


Outline. EECS 3213 Fall Sebastian Magierowski York University. Review Passband Modulation. Constellations ASK, FSK, PSK.

Modulation (7): Constellation Diagrams

ECE5713 : Advanced Digital Communications

Amplitude Frequency Phase

Emona Telecoms-Trainer ETT-101

EE3723 : Digital Communications

AC : DEVELOPING DIGITAL/ANALOG TELECOMMUNICA- TION LABORATORY

Revision of Previous Six Lectures

Integration of System Design and Standard Development in Digital Communication Education

Exploring QAM using LabView Simulation *

PGT313 Digital Communication Technology. Lab 3. Quadrature Phase Shift Keying (QPSK) and 8-Phase Shift Keying (8-PSK)

Objectives. Presentation Outline. Digital Modulation Revision

Lecture 3: Wireless Physical Layer: Modulation Techniques. Mythili Vutukuru CS 653 Spring 2014 Jan 13, Monday

DIGITAL COMMUNICATIONS SYSTEMS. MSc in Electronic Technologies and Communications

LOOKING AT DATA SIGNALS

Augmenting Hardware Experiments with Simulation in Digital Communications

Quadrature Amplitude Modulation (QAM) Experiments Using the National Instruments PXI-based Vector Signal Analyzer *

Real and Complex Modulation

Using Modern Design Tools To Evaluate Complex Communication Systems: A Case Study on QAM, FSK and OFDM Transceiver Design

DATE: June 14, 2007 TO: FROM: SUBJECT:

Wireless Communication Systems Laboratory Lab#1: An introduction to basic digital baseband communication through MATLAB simulation Objective

I-Q transmission. Lecture 17

BER Performance Comparison between QPSK and 4-QA Modulation Schemes

San José State University Department of Electrical Engineering EE 161, Digital Communication Systems, Spring 2018

QUESTION BANK SUBJECT: DIGITAL COMMUNICATION (15EC61)

Digital communication

Theory of Telecommunications Networks

Hani Mehrpouyan 1, Outline

Measuring Modulations

CSE4214 Digital Communications. Bandpass Modulation and Demodulation/Detection. Bandpass Modulation. Page 1

Simulation of Analog Modulation and Demodulation Techniques in Virtual Instrumentation and Remote Lab

Lecture #11 Overview. Vector representation of signal waveforms. Two-dimensional signal waveforms. 1 ENGN3226: Digital Communications L#

Spread spectrum. Outline : 1. Baseband 2. DS/BPSK Modulation 3. CDM(A) system 4. Multi-path 5. Exercices. Exercise session 7 : Spread spectrum 1

Lab 3.0. Pulse Shaping and Rayleigh Channel. Faculty of Information Engineering & Technology. The Communications Department

Experiment # 4. Frequency Modulation

Laboratory 5: Spread Spectrum Communications

Digital Modulation Schemes

Degradation of BER by Group Delay in Digital Phase Modulation

Digital Signal Processing Techniques

3/26/18. Lecture 3 EITN STRUCTURE OF A WIRELESS COMMUNICATION LINK

Multirate schemes for multimedia applications in DS/CDMA Systems

Chapter 7 Multiple Division Techniques for Traffic Channels

Performance analysis of OFDM with QPSK using AWGN and Rayleigh Fading Channel

comparasion to BPSK, to distinguish those symbols, therefore, the error performance is degraded. Fig 2 QPSK signal constellation

University of Manchester. CS3282: Digital Communications 06. Section 9: Multi-level digital modulation & demodulation

Revision of Lecture 3

Payload measurements with digital signals. Markus Lörner, Product Management Signal Generation Dr. Susanne Hirschmann, Signal Processing Development

Chapter 7. Multiple Division Techniques

Course Specifications

Digital Modulation Lecture 01. Review of Analogue Modulation Introduction to Digital Modulation Techniques Richard Harris

Objectives. Presentation Outline. Digital Modulation Lecture 01

OptiSystem applications: Digital modulation analysis (PSK)

TCET3202 Analog and digital Communications II

Digital Communication System

Implementation of Digital Communication Laboratory on FPGA

Digital modulation techniques

Performance Evaluation of different α value for OFDM System

Teaching Digital Communications in a Wireless World: Who Needs Equations?

Digital Communication System

The Signals and Systems Toolbox: Comparing Theory, Simulation and Implementation using MATLAB and Programmable Instruments

Digital Modulators & Line Codes

Performance Evaluation of ½ Rate Convolution Coding with Different Modulation Techniques for DS-CDMA System over Rician Channel

DIGITAL SIGNAL PROCESSING LABORATORY

Communications II. Professor Kin K. Leung EEE Departments Imperial College London

Implementation of Digital Modulation using FPGA with System Generator

Detection and Estimation of Signals in Noise. Dr. Robert Schober Department of Electrical and Computer Engineering University of British Columbia

Using Signal Express to Automate Analog Electronics Experiments

Communication Systems

The secondary MZM used to modulate the quadrature phase carrier produces a phase shifted version:

Analog and Telecommunication Electronics

Fund. of Digital Communications Ch. 3: Digital Modulation

Signal Processing Techniques for Software Radio

Amplitude Modulation, II

Agilent Digital Modulation Lab Station

EE4601 Communication Systems

Digital Communication

Spring 2014 EE 445S Real-Time Digital Signal Processing Laboratory Prof. Evans. Homework #6 Solutions

Comparative Analysis of the BER Performance of WCDMA Using Different Spreading Code Generator

Communication Systems


ECE 4203: COMMUNICATIONS ENGINEERING LAB II

Basic Concepts in Data Transmission

Productivity and flexibility for A/D applications

Thus there are three basic modulation techniques: 1) AMPLITUDE SHIFT KEYING 2) FREQUENCY SHIFT KEYING 3) PHASE SHIFT KEYING

AC : INTERACTIVE LEARNING DISCRETE TIME SIGNALS AND SYSTEMS WITH MATLAB AND TI DSK6713 DSP KIT

Laboratory set-up for Real-Time study of Electric Drives with Integrated Interfaces for Test and Measurement

A GENERAL SYSTEM DESIGN & IMPLEMENTATION OF SOFTWARE DEFINED RADIO SYSTEM

Signals A Preliminary Discussion EE442 Analog & Digital Communication Systems Lecture 2

Mobile Radio Systems OPAM: Understanding OFDM and Spread Spectrum

ENSC327 Communication Systems 27: Digital Bandpass Modulation. (Ch. 7) Jie Liang School of Engineering Science Simon Fraser University

Transcription:

AC 2007-3034: LOW-COST VECTOR SIGNAL ANALYZER FOR COMMUNICATION EXPERIMENTS Frank Tuffner, University of Wyoming FRANK K. TUFFNER received his B.S. degree (2002) and M.S. degree (2004) in EE from the University of Wyoming. He is currently pursuing his Ph.D. in EE from the University of Wyoming with emphasis on the area of statistical signal processing. Andrew Catellier, University of Wyoming ANDREW A. CATELLIER graduated from the University of Wyoming with a B.S. (2006) in EE. Andrew is pursuing his M.S. with an emphasis in signal processing. His research interests include micro-controller algorithm implementation and real-time signal processing. Robert Kubichek, University of Wyoming ROBERT F. KUBICHEK received his Ph.D. from the University of Wyoming in 1985. He held research positions at the BDM Corporation and the Institute for Telecommunication Sciences (U.S. Dept. of Commerce), and was an adjunct professor at the University of Colorado. He joined the University of Wyoming in 1991, where he is an associate professor. Research interests include remote sensing and speech analysis applications. John Pierre, University of Wyoming JOHN W. PIERRE received the B.S. degree (1986) in EE from Montana State University and the M.S. degree (1989) and the Ph.D. degree (1991) in EE from the University of Minnesota. Since 1992, he has been on the faculty in the ECE Department at the University of Wyoming where he is currently a professor. He received UW's College of Engineering Graduate Teaching and Research Award in 2005. His research interests include statistical signal processing with applications as well as DSP education. He is a member of ASEE and the IEEE Societies. American Society for Engineering Education, 2007 Page 12.1025.1

Abstract Low-Cost Vector Signal Analyzer for Communication Experiments Vector signal analyzers (VSA) are systems that provide real-time analysis of in-phase and quadrature components of RF signals, as well as providing spectral analysis and other signal measurement features. VSA s would be an ideal addition to any undergraduate communications laboratory because of their ability to investigate the many types of signals prevalent today. Unfortunately, most VSA s are priced well beyond the budgets of typical undergraduate ECE departments. This paper describes a novel low-cost VSA that uses basic PC data acquisition (DAQ) cards to capture signals of interest and real-time processing of signals with LabVIEW and MATLAB. This VSA system provides a user interface that has much of the basic functionality of standard hardware VSAs, but with the limitation that bandwidth is constrained by the sampling rate of the DAQ. The system provides real-time plots of I/Q constellations. We describe the user interface as well as example laboratory experiments, where students get handson experience with a variety of signals such as BPSK, QPSK, and QAM. Any undergraduate lab with workbenches outfitted with standard PC and data acquisition equipment will be able to make use of this novel VSA. 1. Introduction Many universities offer a laboratory component as part their introductory digital and analog communication course. In traditional undergraduate teaching laboratory environments, many communication topics are difficult to convey because of their complexity in implementation. In the first reference 1, a framework for meaningful hands-on undergraduate communication laboratories was introduced using a set of LabVIEW-based exercises that interact with computercontrolled industry-standard test and measurement equipment. This environment allows the students to explore a wide range of communication concepts using actual real-world signals and a balance between what is provided for the students and what the students need to design and implement to reinforce a particular concept. This paper expands on previous work 1 by introducing a low-cost vector signal analyzer (VSA) built around a PC based data-acquisition (DAQ) card using LabVIEW and MATLAB. The second reference 2 describes the use of hardware VSA s in undergraduate labs. This paper goes on to describe a number of student laboratory exercises which use this VSA. Most undergraduate textbooks 3-6 do an excellent job of describing signal constellations that would be observed for signals such as QPSK and QAM, but few mention VSA s as the test equipment used to measure these constellations. By introducing VSA s in the laboratory, students get exposure to equipment used in the communication industry and hands on experience with real-time I/Q techniques. Many students find I/Q concepts to be difficult to understand. By having the students work with real-time I/Q signals in the laboratory, a goal is to make these concepts less abstract and more meaningful to the students. Many test instruments can be created for undergraduate laboratories using a data acquisition card and LabVIEW. While the speed of operation of these instruments is usually limited by the acquisition rate of the data acquisition card and the computing power of the PC, the basic Page 12.1025.2

functionality can compare with that of more expensive equipment. This lower speed of operation and basic functionality is adequate for educational laboratory exercises. In this case, the novel VSA system provides a user interface that has much of the basic functionality of standard hardware VSA s, but with the limitation that bandwidth is constrained by the 1.25 MSa/s sampling rate of the DAQ. The system provides real-time plots of I/Q constellation as well as signal spectrum displays. The user interface is described as well as example laboratory experiments, where students get hands-on experience with a variety of signals including BPSK, QPSK, and QAM. Non-idealities such as I/Q gain mismatch are also explored. Any undergraduate lab with workbenches outfitted with standard PC and data acquisition equipment will be able to make use of this VSA. The paper is organized into the following sections. Section 2 describes the theory of operation of the low-cost vector signal analyzer. Section 3 gives examples of how the VSA can be used in undergraduate communication laboratory exercises. The final section concludes the paper. 2. VSA theory of operation The vector signal analyzer is implemented using National Instruments LabVIEW and Mathworks MATLAB. The combination of the two software packages allows easy data acquisition as well as an easily modifiable processing code. The entire project could be accomplished completely in either LabVIEW or MATLAB, but difficulties in implementation resulted in the combination of the two used here. LabVIEW is used to interface with the data acquisition card and sample the analog communications waveform. MATLAB then provides all of the processing to demodulate the signal and generate the vector signal output. A LabVIEW based front panel provides a GUI to control the relevant processing settings and to display the final data result. An overview diagram of the vector signal analyzer implementation is shown in Figure 1. Figure 1 Block diagram of Vector Signal Analyzer The first stage of the MATLAB processing implements a simple phase locked loop (PLL) to determine the modulating carrier. Many different PLL algorithms could be used to acquire the carrier signal timing. Our software VSA implements a very basic PLL algorithm based on the trigonometric identity 2 sin(ωt + φ) cos(ωt + θ) = [sin(2ωt + φ + θ) + sin (φ θ)], with ω as the carrier frequency, φ as the PLL phase, and θ as the carrier phase. By modulating a sine output of the PLL by the input carrier, the phase error between the two is contained in the baseband sine term. Taking an arcsine of the DC value determines the amount of this phase error. Since the Page 12.1025.3

data is acquired in blocks as part of the LabVIEW acquisition method, an average of the carrier phase is calculated and used to create a final locked carrier. Once the carrier phase has been locked, the VSA demodulates the original waveform into an inphase (I) and quadrature (Q) component. The in-phase term is the component in phase with the carrier, the quadrature component is the component in phase with sin(ωt). This is detailed in x(t) = I(t) cos(ωt+θ) + Q(t) sin(ωt+θ), where x(t) as the acquired input signal, I(t) as the in-phase term, and Q(t) as the quadrature term. Once demodulated into the I and Q components, the VSA now has a raw representation of the input communications signal that includes effects of noise and pulse shaping. These individual I and Q samples are plotted on a two-dimensional graph in Figure 2a. However with every sample of the input waveform plotted, the I-Q plot is difficult to interpret. A very simple symbol averaging system is implemented to alleviate this problem. Figure 2 (a) Raw VSA output for 8 QAM, and (b) symbol averaged output It first attempts to acquire the symbol timing and then averages the signal across each symbol interval as is done in a classic correlation receiver. This has the effect of reducing noise power, and collapsing each symbol to a single point. The VSA plot shown in Figure 2b is much clearer than that in 2a, and it is much easier to extract the relevant information. 3. Student experiments using the VSA In this section we describe how the VSA can be used in communication theory laboratory exercises. Ideally, these exercises are introduced after the students have learned about digital line codes. Those concepts are now extended to carrier communication systems, where multilevel line codes are modulated with AM, PM, etc., to produce binary phase-shift keying (BPSK), M-ary PSK (M-PSK), M-ary frequency shift-keying (M-FSK) and others. Objectives of VSAoriented labs are to give hands-on experience using a VSA, give better understanding of I/Q modulation techniques, demonstrate bandwidth-savings possible by using these schemes, and illustrate how line-code pulse shaping ideas are easily applied to carrier systems. Our lab setup uses a Windows-based workstation to integrate a suite of test equipment including an FFT-capable sampling oscilloscope, signal generator, power supplies, analog-to-digital Page 12.1025.4

converter, and Texas Instrument DSP Starter kit (DSK). The DSK includes a TMS 320C67x DSP, memory, and I/O to interface to the PC. In this application we use the DSK running WinDSK6 software 7-10 to generate communication test signals. The CommDSK feature of WinDSK6 provides a wide range of test signals including M-PSK (M=2, 4, 8, 16), as well as 8- QAM and 16-QAM. Provisions are made for pulse shaping, adding noise or interference, and adjusting I and Q gain. In addition, the second stereo channel can be used to output the baseband or modulated I and Q signals. All of these signals can be studied using either the FFT-scope or LabVIEW modules such as VSA and spectrum analyzer. Students are asked to investigate a sequence of digital carrier systems beginning with BPSK. This can be viewed as a 2-level line code input to a DSB-SC modulator, i.e., y(t) = m(t)cos(ωt), where m(t) = +c (for bit b k =1) and -c (for b k =0), where c is some constant. The VSA displays signals that are in phase with cos(ωt) (called the I component) on the x-axis, and signals that are in phase with sin(ωt) (called the quadrature or Q component) on the y-axis. Students are asked to predict what they ll see before running the experiment. In this case, there is no quadrature component, so the VSA displays clouds at ±c on the x axis. The VSA output for BPSK is shown in Figure 3a. Next, the students look at QPSK. One way to view this is as a 4-level line code input to a phase modulator: y(t) = cos(ω 0 t + m(t)), where m(t) has four values representing 2 bits per symbol: m(t) = π/4, 3π/4, -π/4, and -3π/4 corresponding to bits b k b k-1 = 00, 01, 10, and 11. In this case, y(t) has both I and Q components, i.e., I(t) = cos(m(t)) and Q(t) = sin(m(t)). A common difficulty students have in understanding QPSK is that it is often explained in class by using phasors. For example, if y(t) = A cos(ω 0 t+θ), then the phasor is Y = A e jθ = A cos(θ) + j sin(θ) = I + jq. Unfortunately, many students form a mental block whenever the j appears; thus a goal of this lab is to drive home the point that I is the amplitude of the cosine component and Q is simply the amplitude of the sine component. No imaginary signals are actually transmitted! Figure 3 Shows VSA output for (a) BPSK, (b) QPSK, (c) QPSK with I gain larger than Q gain, and (d) 16-QAM. Apparent phase errors are due to unresolved issues in the VSA software. Page 12.1025.5

The VSA display for QPSK is shown in Figure 3b. Phase uncertainty in our algorithm causes the constellation points to spread out radially, but this problem is expected to be resolved soon. In order to deepen their understanding of I/Q concepts, students are asked to modify the I and Q gain relationship using the CommDSK software and predict the effect on the constellations. An example of increasing the I gain relative to Q gain is shown in Figure 3c. This shows the direct relationship between gain and the location of symbol clouds in the VSA diagram. To give students further insight, they can simultaneously look at the separate I and Q waveforms using the oscilloscope and correlate this with what they see on the VSA display. For example the baseband I and Q waveforms are simple digital line codes whose amplitudes correspond to the x and y offsets on the VSA display. Furthermore, by using the pulse shaping option in CommDSK, students can see that this results in simple shaping of the baseband line codes. The resulting improvement in spectral efficiency can be observed using a LabVIEW-based spectrum analyzer. Finally, 16-QAM is studied. Now, the I and Q components each represent 2 bits, so each branch requires a 4-level line code. As before, this can be verified by having students look at the baseband I and Q signals using the oscilloscope. This experiment is very effective at illustrating that not only the phase but also the amplitude of a signal can be varied to represent multiple bits per symbol. The encoding scheme simply assigns selected amplitudes to the I and Q components. Students are asked to determine as a homework or prelab assignment the value of I and Q for several digital words. A typical VSA display for 16-QAM is shown in Figure 3d. Several important concepts can be emphasized using this example. First, while viewing the QAM spectrum, CommDSK is used to change the modulation technique from 16-QAM to 4-QAM while holding the bit rate fixed. Since bandwidth primarily depends on the symbol rate, students observe that the bandwidth expands immediately by a factor of 2 since 4-QAM requires double the symbol rate as 16-QAM for the same bit rate. Another valuable experiment is to have the students add Gaussian white noise to the signal using the AWGN option in CommDSK. As the noise level increases, the constellation clouds begin to overlap resulting in increased bit errors. Students can determine how much noise is required to cause significant overlap, and they can compare this with values of predicted bit-error rate curves provided in the text book. This provides a very physical feel for the basic cause of bit errors in QAM systems. 4. Conclusions This paper proposes that student understanding of I/Q-based modulation schemes can be aided through use of VSA-based lab experiments. Although hardware VSA s are generally too expensive for use in most undergraduate communication labs, it is possible to provide a similar experience using a low-cost LabVIEW/MATLAB-based emulator. The software is available from the authors. Page 12.1025.6

References [1] F. Tuffner, J. Pierre, and R. Kubichek, Innovative Communications Experiments Using an Integrated Design Laboratory, Computers in Education Journal, vol. XVI, no. 4, pp. 98-105, October 2006. [2] T. Welch and R. Kubichek, The Incredible Hulk and Other Techniques for Teaching Waveform Demodulation, in Proceedings of the 113 th ASEE Annual Conference, Chicago, IL, June 2006. [3] L. W. Couch II, Digital and Analog Communications Systems, 7 th ed., Prentice Hall, 2006. [4] M. S. Roden, Analog and Digital Communications Systems, 4 th ed., Discovery Press, 2000. [5] B. P. Lathi, Modern Digital and Analog Communications Systems, 3 rd ed., Oxford Press, 1998. [6] J. G. Proaxis and M. Salehi, Communication Systems Engineering, 2 nd ed., Prentice Hall, 2002. [7] T. B. Welch, M. G. Morrow, C. H. G. Wright, and R. W. Ives, commdsk: A tool for Teaching Modem Design and Analysis, Computers in Education Journal, vol. XIV, no. 2, pp. 82-89, April 2004. [8] M. G. Morrow, T. B. Welch, and C. H. G. Wright, Enhancing the TMS320C6713 DSK for DSP Education, in Proceedings of the 112 th ASEE Annual Conference, Portland, OR, June 2005. [9] T. B. Welch, R. W. Ives, M. G. Morrow, and C. H. G. Wright, Using DSP Hardware to Teach Modem Design and Analysis Techniques, in Proceedings of the International Conference on Acoustics, Speech, and Signal Processing (ICASSP) Conference, Hong Kong, PRC, April 2003. [10] T. B. Welch, C. H. G. Wright, and M. G. Morrow, Real-Time Digital Signal Processing from MATLAB to C with the TMS320C6x DSK, CRC Press, 2006. Page 12.1025.7