Software Implementation and Analysis of a Differentially Encoded DPSK Physical Layer Wireless Communication System on an SDR Baseband Processor

Similar documents
EVALUATION OF MILITARY WAVEFORM PROCESSING ON A COTS RECONFIGURABLE SDR PROCESSING PLATFORM

Multiple Communication Protocols for Software Defined Radio

A GENERAL SYSTEM DESIGN & IMPLEMENTATION OF SOFTWARE DEFINED RADIO SYSTEM

Lecture 12. Carrier Phase Synchronization. EE4900/EE6720 Digital Communications

Key-Words: - Wireless, Physical layer, WIMAX, Baseband processing, Software Defined Radio.

AN FPGA IMPLEMENTATION OF ALAMOUTI S TRANSMIT DIVERSITY TECHNIQUE

Software Radio: An Enabling Technology for Mobile Communications

A review paper on Software Defined Radio

INTRODUCTION TO SOFTWARE RADIO CONCEPTS

IMPLEMENTATION OF SOFTWARE-BASED 2X2 MIMO LTE BASE STATION SYSTEM USING GPU

UTILIZATION OF AN IEEE 1588 TIMING REFERENCE SOURCE IN THE inet RF TRANSCEIVER

TU Dresden uses National Instruments Platform for 5G Research

DESIGN OF A MEASUREMENT PLATFORM FOR COMMUNICATIONS SYSTEMS

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

HY448 Sample Problems

Design of Adjustable Reconfigurable Wireless Single Core

LOW COST PHASED ARRAY ANTENNA TRANSCEIVER FOR WPAN APPLICATIONS

SOQPSK Software Defined Radio

BPSK System on Spartan 3E FPGA

A LOW-COST SOFTWARE-DEFINED TELEMETRY RECEIVER

SOFTWARE IMPLEMENTATION OF a BLOCKS ON SANDBLASTER DSP Vaidyanathan Ramadurai, Sanjay Jinturkar, Sitij Agarwal, Mayan Moudgill, John Glossner

PERFORMANCE COMPARISON OF SOQPSK DETECTORS: COHERENT VS. NONCOHERENT

Simulating and Testing of Signal Processing Methods for Frequency Stepped Chirp Radar

Software-only implementation of DVB-H

Recap of Last 2 Classes

2015 The MathWorks, Inc. 1

Using a design-to-test capability for LTE MIMO (Part 1 of 2)

Chapter 4. Part 2(a) Digital Modulation Techniques

Amplitude Frequency Phase

From Antenna to Bits:

Maximizing MIMO Effectiveness by Multiplying WLAN Radios x3

Laboratory 5: Spread Spectrum Communications

DOPPLER SHIFTED SPREAD SPECTRUM CARRIER RECOVERY USING REAL-TIME DSP TECHNIQUES

Instantaneous Inventory. Gain ICs

VLSI Implementation of Digital Down Converter (DDC)

DESIGN AND IMPLEMENTATION OF AN ALGORITHM FOR MODULATION IDENTIFICATION OF ANALOG AND DIGITAL SIGNALS

What s Behind 5G Wireless Communications?

4.4 Implementation Structures in FPGAs and DSPs. Presented by Lee Pucker President, ForwardLink Consulting

Mobile & Wireless Networking. Lecture 2: Wireless Transmission (2/2)

Using SDR for Cost-Effective DTV Applications

Waveform Generation and Testing with Software-Defined Radios (SDR) and RF instruments

International Journal of Advanced Research in Computer Science and Software Engineering

Module 3: Physical Layer

QAM in Software Defined Radio for Vehicle Safety Application

An Indoor Localization System Based on DTDOA for Different Wireless LAN Systems. 1 Principles of differential time difference of arrival (DTDOA)

Software-Defined Radio using Xilinx (SoRaX)

Hardware/Software Co-Simulation of BPSK Modulator and Demodulator using Xilinx System Generator

SOFTWARE DEFINED RADIO IMPLEMENTATION IN 3GPP SYSTEMS

Performance Evaluation of STBC-OFDM System for Wireless Communication

RF Basics 15/11/2013

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

Software Radio, GNU Radio, and the USRP Product Family

PORTING OF AN FPGA BASED HIGH DATA RATE DVB-S2 MODULATOR

Power consumption reduction in a SDR based wireless communication system using partial reconfigurable FPGA

TSTE17 System Design, CDIO. General project hints. Behavioral Model. General project hints, cont. Lecture 5. Required documents Modulation, cont.

Nutaq OFDM Reference

Implementation of Digital Signal Processing: Some Background on GFSK Modulation

DYNAMICALLY RECONFIGURABLE SOFTWARE DEFINED RADIO FOR GNSS APPLICATIONS

CDMA Principle and Measurement

Reinventing the Transmit Chain for Next-Generation Multimode Wireless Devices. By: Richard Harlan, Director of Technical Marketing, ParkerVision

2002 IEEE International Solid-State Circuits Conference 2002 IEEE

An E911 Location Method using Arbitrary Transmission Signals

SOFTWARE RADIOS APPLYING TO THE DGPS TRANSCEIVERS

Analysis of Processing Parameters of GPS Signal Acquisition Scheme

ABSTRACT 1. INTRODUCTION

Digital Signal Processing Techniques

SpectraTronix C700. Modular Test & Development Platform. Ideal Solution for Cognitive Radio, DSP, Wireless Communications & Massive MIMO Applications

Wireless Communication Systems: Implementation perspective

Spectral Monitoring/ SigInt

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

Project in Wireless Communication Lecture 7: Software Defined Radio

Turbocharging Ambient Backscatter Communication

ISHIK UNIVERSITY Faculty of Science Department of Information Technology Fall Course Name: Wireless Networks

Antenna Measurements using Modulated Signals

Mehmet SÖNMEZ and Ayhan AKBAL* Electrical-Electronic Engineering, Firat University, Elazig, Turkey. Accepted 17 August, 2012

Detector Implementations Based on Software Defined Radio for Next Generation Wireless Systems Janne Janhunen

CORDIC-Augmented Sandbridge Processor for Channel Equalization

FPGA Realization of Gaussian Pulse Shaped QPSK Modulator

1 Introduction to Highly Integrated and Tunable RF Receiver Front Ends

Cooperative Wireless Networking Using Software Defined Radio

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

Using an FPGA based system for IEEE 1641 waveform generation

A SOFTWARE RE-CONFIGURABLE ARCHITECTURE FOR 3G AND WIRELESS SYSTEMS

Reduced Complexity Software Receivers for TD-SCDMA Downlink

Transforming MIMO Test

A COMPACT, AGILE, LOW-PHASE-NOISE FREQUENCY SOURCE WITH AM, FM AND PULSE MODULATION CAPABILITIES

Convolutional Coding Using Booth Algorithm For Application in Wireless Communication

9 Best Practices for Optimizing Your Signal Generator Part 2 Making Better Measurements

Wavedancer A new ultra low power ISM band transceiver RFIC

A GENERIC ARCHITECTURE FOR SMART MULTI-STANDARD SOFTWARE DEFINED RADIO SYSTEMS

DESIGN, IMPLEMENTATION AND OPTIMISATION OF 4X4 MIMO-OFDM TRANSMITTER FOR

DEVELOPMENT OF LOW-COST PUBLIC SAFETY P25 WAVEFORM IN AN OSSIE ENVIRONMENT WITH USRP

LOW-POWER SOFTWARE-DEFINED RADIO DESIGN USING FPGAS

SDR TESTBENCH FOR SATELLITE COMMUNICATIONS


Exam 3 is two weeks from today. Today s is the final lecture that will be included on the exam.

Chapter 2 Direct-Sequence Systems

TC-3000C Bluetooth Tester

DIGITAL PRE-DISTORTION LINEARIZER FOR A REALIZATION OF AUTOMATIC CALIBRATION UNIT

DEVELOPMENT OF SOFTWARE RADIO PROTOTYPE

Transcription:

Software Implementation and Analysis of a Differentially Encoded DPSK Physical Layer Wireless Communication System on an SDR Baseband Processor Babak D. Beheshti School of Engineering and Technology, New York Institute of Technology Schure Hall, Old Westbury, NY 11568, 516-686-7437, bbehesht@nyit.edu Keywords: Physical layer, Software defined radio, wireless, real-time, DPSK Abstract In this paper, implementation and analysis of an entire wireless communication system physical layer receiver in software is presented. The two paramount issues, namely real-time performance of the executable, as compared to hardware implementation performance, and the power consumption projections for the DSP executing the receiver code are presented. Issues investigated include the paradigm-shift from hardware centric algorithm realizations to a software centric methodology, fixed point DSP algorithm implementation in ANSI C, synchronization of receive and transmit events such as TDMA operations, and processing chain partitioning in a software defined radio baseband processing environment. Results presented will include the MIPS requirements of the processing chain, as well as code and data partitioning trade-offs. Introduction As the complexity of baseband processing algorithms for mobile communications increases to accommodate higher data rates and multi-media services, at the very same time the requirement for less expensive handsets is becoming more and more demanding on handset designers and manufacturers. These two opposing driving forces require a new approach to the mobile handset design, not required in the past where baseband processing was not as complex as current technologies. In any engineering activity, when complexity of design becomes high, the potential for design errors or bugs increases. Therefore inevitably, the handset manufacturers face serious and costly situations where after shipping of their handsets, a defect is discovered in the handset design, requiring a recall, and perhaps a very expensive campaign not only to replace the handsets, but also to mend the public opinion of the manufacturer, damaged by this problem. Handset designers have been addressing this issue for sometime, however the underlying baseband processing technology prohibited any substantial deviation from the classical approach taken by mobile equipment designers for the past twenty years. This classic approach has been as follows: 1. Design the algorithms in floating point arithmetic and analyze their behavior via simulation in presence of noise and other channel conditions. Enhance and finalize the algorithms. 2. Implement the same algorithms in fixed point, as floating-point operations are very expensive as far as computation and power consumption are concerned. Enhance and iterate to get desirable performance. 3. Design hardware blocks to implement the above fixed point algorithms. 4. Proceed to chip design, building circuits on the Silicon to accommodate these blocks. This step is very lengthy and costly, typically taking around 18 months and millions of Dollars in cost. 5. Place chips in handsets and ship them. Should any bug be discovered after this stage, the entire process above needs to be repeated, causing enormous cost overruns. As long as baseband processing is locked into hardware blocks, the inherent problem discussed above remains unresolved. This study addresses the above issue by exploring an alternative approach to the classic one, namely an all software approach. This concept has been studied extensively recently and has been named Software Defined Radio or SDR. As the name implies, all algorithms and control code are implemented in software, running on a special purpose microprocessor, called a Digital Signal Processor (DSP). Therefore, the 18 month design cycle for the custom ASIC (Application Specific Integrated Circuit) is removed from the process, reducing the time-to-market to the handset manufacturer substantially as well as reducing the design costs. Moreover, should any design error or bug be discovered in the handset design after deployment in the field, a mere software download of the corrected software (over the air, via the Internet to an infrared port, etc. will fix the problem, eliminating significant cost to the manufacturer.

The SDR Forum defines five tiers of solutions. Tier-0 is a traditional radio implementation in hardware. Tier-1, Software Controlled Radio (SCR), implements the control features for multiple hardware elements in software. Tier-2, Software Defined Radio (SDR), implements modulation and baseband processing in software but allows for multiple frequency fixed function RF hardware. Tier-3, Ideal Software Radio (ISR), extends programmability through the RF with analog conversion at the antenna. Tier-4, Ultimate Software Radio (USR), provides for fast (millisecond) transitions between communications protocols in addition to digital processing capability. SDR Based Baseband Processing Development Methodology The design flow for a SDR bases baseband processor is somewhat different from the traditional hardware based designs. This design flow relies heavily on host based development throughout the development cycle removing the sequential nature of dependency on the hardware platform availability to make finetuning of system performance. The general steps in the development of any air interface waveform using this methodology are listed below: 1. Physical Layer Algorithm Development (floating point) using MatLab, 2. Translation to fixed point ANSI C 3. Simulate for algorithm accuracy in fixed point/ use debugger to debug code 4. Modify code as necessary 5. Profile code for MIPS/MHz requirements 6. Optimize specific functions as necessary (only in C) 7. High level partition the code into software threads (tasks) using the API provided by the operating system used. 8. Using the simulator supplied with the tool chain, and possibly an event viewer examine latency requirements 9. Repartition threads as necessary - balance system load 10. Final system integration and hardware testing As can be seen below the development effort is front loaded, where the cost and risk to system changes are significantly lower than the back end. This significantly reduces risk and development time as well as allowing for tremendous visibility into the implementation because of the host base development environment. Figure 1 SDR Based terminal Design Flow Physical Layer Transmitter Chain Description The waveform in this paper uses a variation of DPSK to modulate baseband data arriving from the layer 2 (logical link control - LLC) layer. A differentially encoded return-to-bias baseband signal modulates a sinusoidal carrier such that the transmitted signal takes one of three phase-plane steady-states: A φ, A (φ + π), and 0, where φ is some arbitrary phase offset. Figure 2 illustrates a block diagram of the transmitter physical layer chain.

Data In Delay Exclusive OR Level Shift 50% Duty Cycle X cos(ωt) Figure 2 - Tx Physical Layer Chain Figure 3 shows amplitude vs. time plot for a differentially encoded return-to-bias baseband signal. This figure illustrates the signal just before mixing with the sinusoidal oscillator. 1.5 1 0.5 0 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39-0.5-1 -1.5 Figure 3 - Transmit Data before Mixing Physical Layer Receiver Chain Description Using DPSK modulation in this simple transmission system has three distinct advantages: 1. It allows for a simple delay multiply demodulation technique, 2. It resolves phase ambiguity inherit in PSK demodulation, and 3. It helps mitigate against delay spread (multipath) within the transmission channel Figure 4 depicts the receiver physical layer processing chain. As the diagram illustrates, the received sample sequence will model a stream of 8-bit I/Q (In-phase and Quadrature) samples taken at a 4 times over-sampled rate. Multiplying both I and Q paths with a data-bit delayed version of themselves recovers the original data. Summing each delay-multiplied quadrature ensures that an arbitrary carrier phase offset in the downconversion process will not adversely affect bit detection. After summing the I and Q samples, a threshold detector outputs -1 if the sum is positive and +1 if the sum is negative.

4 Sample Delay From A/D Rx I/Q Buffer X X + Mapping to -1 and +1 Decimator from 4X samples 4 Sample Delay Figure 4 - Receive Physical Layer Processing Chain Implementation Based on the specifications, fixed point C code was developed to implement the receiver processing chain. Simulation transmitter code was written to exercise the receiver, even though the transmitter code is not a concern in this study, it provides a useful tool for development/debugging. Test vectors were generated and analyzed and tested against. These test vectors were applied to the receiver optimized code and the decoded data verified to agree with the expected results. The optimized C code written and tested against the provided test vectors was profiled and the MHz requirements for the physical layer chain were extracted from the simulation and profiling environment of the tool chain. The optimizations were ANSI compliant coding practices for embedded and DSP applications. Analysis of Results As can be seen in Figure 5, the physical layer processing of the receiver increases linearly with the bit rate of the transmitted waveform. As can be seen, the majority of processing takes place in the correlations looking for the start of a packet. It is expected as the starting point of a packet is unknown, and a series of consecutive correlations with the synchronization word are required until a match or threshold is found. The profiling show also indicates the minimum processing bandwidth of a DSP required to execute this physical layer in real-time. 350 300 MHz 250 200 150 100 LLC Misc receiver Functions CRC Calculation Search Bit Processing Differential Decoding Bit Extraction and Packing Synchronization Correlations 50 0 1Mbps 2Mbps 4Mbps 8Mbps Bit Rate Figure 5 - Receiver MHz Requirements vs. Bit Rate Figure 6 illustrates the projected power consumption of the DSP that is running this physical layer receiver code. It should be emphasized that this power projection is for baseband processing only and does not

include the RF front-end power. Furthermore these are projected based on a DSP operating at 400MHz and consuming 100mW if fully utilized. As can be seen as the percent utilization of the DSP increases, so will the power consumption, approaching the 100mW limit. 100 90 80 70 Power (mw) 60 50 40 30 20 10 0!Mbps Power 2Mbps Power 4Mbps Power 8Mbps Power Bit Rate Figure 6 - Receiver Power Consumption vs. Bit Rate This data can be used to match the power consumption requirements of a mobile communication device to a bit rate that meets those power consumption goals. Furthermore this data can be extended to estimate the battery life of a device running this receiver code. Conclusion These are the salient points as far as efficient application design on a baseband processing DSP platform is concerned: 1. Place critical data in the L1 memory for fastest access, then in L2 memory of the core using that data most frequently. The least time critical data can be placed in the external memory. 2. Minimize synchronization and data sharing across multiple DSP cores on the critical path. This will reduce wait cycles in the execution of the code. 3. Where appropriate, utilize the multiple DMA channels available to transfer data from L1 to L2 or from l2 of one core to another, or to and from external memory. This will off-load the cores from data transfer achieving another level of parallelism. By following a set of simple guidelines, and with an appropriate software and hardware platform, the pure software implementation of physical layers is becoming more practical. It however should be mentioned here that the waveform studied in the paper has a very simple processing requirement. It was used to establish a baseline for comparison to the more computationally intensive physical layers such as the 3G standards. References [1] B. Beheshti, T. Raja, Software Defined Radio Implementation Considerations and Principles Using the Sandblaster SDR Baseband Processor, Proceedings of Software Defined Radio Technical Forum, 16-18 November, 2005, Anaheim, California. [2] B. Beheshti, J. Glossner, D. Routenberg, L. Zannella, and P. Steensma, Evaluation of Military Waveform Processing on a COTS Reconfigurable SDR Processing Platform, Proceedings of Software Defined Radio Technical Forum, Volume A, pp. 147-151, 16-18 November, 2004, Scottsdale, Arizona. [3] B. Beheshti, A Study of the Technology Migration Path of the Cellular Wireless Industry from 3G to 3.5G and Beyond, Proceedings of 2005 IEEE Long Island Systems, Applications and Technology Conference (LISAT2005), May 2005, Farmingdale, New York.http://www.sdrforum.org

[4] D. Iancu, J. Glossner, V. Kotlyar, H. Ye, M. Moudgill, and E. Hokenek, Software Defined Global Positioning Satellite Receiver, Proceedings of the 2003 Software Defined Radio Technical Conference (SDR 03), HW-2-001, 6 pages, Orlando, Florida, 2003. [5] J. Glossner, D. lancu, J. Lu, E. Hokenek, and M. Moudgill, A Software Defined Communications Baseband Design, IEEE Communications Magazine, Vol. 41, No.1, pp. 120-128, Jan., 2003. [6] D. lancu, J. Glossner, E. Hokenek, M. Moudgill, V. Kotlyar, Software GPS receiver, Accepted for publication is the 2003 Software Defined Radio Technical Conference and Product Exposition November 17-19,2003 - Orlando, Florida. [7] J. Glossner, S. Dorward, S. Jinturkar, M. Moudgill, E. Hokenek, M. Schulte, and S. Vassiliadis, Sandbridge Software Tools, in Proceedings of the 3rd International Workshop on Systems, Architectures, Modeling, and Simulation (SAMOS.p3), July 21-23,2003, pp. 142-147, Samos, Greece. [8] J. Glossner, T. Raja, E. Hokenek, and M. Moudgill, A Multithreaded Processor Architecture for SDR, The Proceedings of the Korean Institute of Communication Sciences, Vol. 19, No. 11, pp. 70-84, November, 2002. [9] J. Glossner, E. Hokenek, and M. Moudgill, Multithreaded Processor for Software Defined Radio, Proceedings of the 2002 Software Defined Radio Technical Conference, Volume I, pp. 195-199, November 11-12, 2002, San Diego, California. AUTHOR S BIOGRAPHY Babak D. Beheshti joined School of Engineering and Technology, New York Institute of Technology as a member of faculty in 1986. Since then he has pursued his academic and consulting activities in the areas of embedded systems, and telecommunications and wireless systems design and implementation. Babak has been an active member of IEEE since 1991 having held positions such as Chair, Long Island Section, Region 1 Membership Development Chair, R1 Student Activities Chair, IEEE Tellers Committee Chair, and Signal Processing Chapter Chair. Babak is a recipient of the IEEE Millennium Medal and two IEEE Region 1 Awards. Babak earned his BEEE and MSEE from Stony Brook University in 1985 and 1987, respectively.