A Software Defined Radio Testbed Implementation



Similar documents
Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

Non-Data Aided Carrier Offset Compensation for SDR Implementation

Implementation of Digital Signal Processing: Some Background on GFSK Modulation

RF Measurements Using a Modular Digitizer

Software Defined Radio

Demonstration of a Software Defined Radio Platform for dynamic spectrum allocation.

Vector Signal Analyzer FSQ-K70

Wireless Communication and RF System Design Using MATLAB and Simulink Giorgia Zucchelli Technical Marketing RF & Mixed-Signal

Timing Errors and Jitter

SDR Architecture. Introduction. Figure 1.1 SDR Forum High Level Functional Model. Contributed by Lee Pucker, Spectrum Signal Processing

Modification Details.

[Download Tech Notes TN-11, TN-18 and TN-25 for more information on D-TA s Record & Playback solution] SENSOR PROCESSING FOR DEMANDING APPLICATIONS 29

PCM Encoding and Decoding:

Rapid Prototyping of a Frequency Hopping Ad Hoc Network System

APPLICATION NOTE GaGe CompuScope based Lightning Monitoring System

Wireless Transmission of JPEG file using GNU Radio and USRP

Lezione 6 Communications Blockset

Understanding the Effect of Uncorrelated Phase Noise on Multi-channel RF Vector Signal Generators and Analysers

MODULATION Systems (part 1)

868 MHz Traffic Detective: A Software-Based Tool for Radio Traffic Monitoring

Serial Communications

Voice---is analog in character and moves in the form of waves. 3-important wave-characteristics:

Sampling Theorem Notes. Recall: That a time sampled signal is like taking a snap shot or picture of signal periodically.

Design of a Wireless Medical Monitoring System * Chavabathina Lavanya 1 G.Manikumar 2

Simple SDR Receiver. Looking for some hardware to learn about SDR? This project may be just what you need to explore this hot topic!

APPLICATION NOTE BUILDING A QAM MODULATOR USING A GC2011 DIGITAL FILTER CHIP

LLRF. Digital RF Stabilization System

CDMA TECHNOLOGY. Brief Working of CDMA

Software Defined Radio Architecture for NASA s Space Communications

Acoustic Processor of the MCM Sonar

Software-Defined Radio White Paper

What s The Difference Between Bit Rate And Baud Rate?

Spectrum analyzer with USRP, GNU Radio and MATLAB

DAC Digital To Analog Converter

7a. System-on-chip design and prototyping platforms

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS

International Journal of Advancements in Research & Technology, Volume 2, Issue3, March ISSN

Ettus Research Products and Roadmap 2011

Performance of Quasi-Constant Envelope Phase Modulation through Nonlinear Radio Channels

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

Analog vs. Digital Transmission

GnuRadio CONTACT INFORMATION: phone: fax: web:

Tri-Band RF Transceivers for Dynamic Spectrum Access. By Nishant Kumar and Yu-Dong Yao

Best Practises for LabVIEW FPGA Design Flow. uk.ni.com ireland.ni.com

Chap#5 (Data communication)

Appendix D Digital Modulation and GMSK

Product Information S N O. Portable VIP protection CCTV & Alarm System 2

Using Xbee in Serial Communication

WiSER: Dynamic Spectrum Access Platform and Infrastructure

DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

Revision of Lecture Eighteen

Agilent Technologies. Generating Custom, Real-World Waveforms Integrating Test Instrumentation into the Design Process Application Note 1360

Design of Bidirectional Coupling Circuit for Broadband Power-Line Communications

A WEB BASED TRAINING MODULE FOR TEACHING DIGITAL COMMUNICATIONS

INTRODUCTION TO COMMUNICATION SYSTEMS AND TRANSMISSION MEDIA

1.6 Gbit/s Synchronous Optical QPSK Transmission with Standard DFB Lasers in Realtime

'Possibilities and Limitations in Software Defined Radio Design.

Software Radio Applications

GNU Radio. An introduction. Jesper M. Kristensen Department of Electronic Systems Programmerbare digitale enheder Tuesday 6/3 2007

Introduction to FM-Stereo-RDS Modulation

Reconfigurable Low Area Complexity Filter Bank Architecture for Software Defined Radio

Propagation Channel Emulator ECP_V3

GSM/GPRS PHYSICAL LAYER ON SANDBLASTER DSP

25. AM radio receiver

ISSCC 2003 / SESSION 4 / CLOCK RECOVERY AND BACKPLANE TRANSCEIVERS / PAPER 4.7

CS263: Wireless Communications and Sensor Networks

Digital Subscriber Line (DSL) Transmission Methods

FPGAs in Next Generation Wireless Networks

Security & Chip Card ICs SLE 44R35S / Mifare

How To Make A Base Transceiver Station More Powerful

Radio Transmission Performance of EPCglobal Gen-2 RFID System

QAM Demodulation. Performance Conclusion. o o o o o. (Nyquist shaping, Clock & Carrier Recovery, AGC, Adaptive Equaliser) o o. Wireless Communications

Achieving New Levels of Channel Density in Downstream Cable Transmitter Systems: RF DACs Deliver Smaller Size and Lower Power Consumption

8 Gbps CMOS interface for parallel fiber-optic interconnects

System Considerations

From baseband to bitstream and back again: What security researchers really want to do with SDR. Andy Davis, Research Director NCC Group

Partitioning of a DRM Receiver

Voice services over Adaptive Multi-user Orthogonal Sub channels An Insight

Evolution from Voiceband to Broadband Internet Access

Accurate Measurement of the Mains Electricity Frequency

Chapter 6 Bandwidth Utilization: Multiplexing and Spreading 6.1

Solutions for Increasing the Number of PC Parallel Port Control and Selecting Lines

Software Defined Radio. What is software defined radio? Brad Brannon, Analog Devices, Inc.

MP3 Player CSEE 4840 SPRING 2010 PROJECT DESIGN.

A DESIGN OF DSPIC BASED SIGNAL MONITORING AND PROCESSING SYSTEM

4 Digital Video Signal According to ITU-BT.R.601 (CCIR 601) 43

A Storage Architecture for High Speed Signal Processing: Embedding RAID 0 on FPGA

Broadcasting your attack: Security testing DAB radio in cars

Digital Modulation. David Tipper. Department of Information Science and Telecommunications University of Pittsburgh. Typical Communication System

Multiplexing on Wireline Telephone Systems

GSM/EDGE Output RF Spectrum on the V93000 Joe Kelly and Max Seminario, Verigy

Field-Test Setup for DRM+, DRM30, FM and AM.

Advanced Modulation Formats in Data Centre Communications Michael J. Wale Director Active Products Research

Agilent GSM/EDGE Base Station Test with the E4406A VSA and ESG-D Series RF Signal Generators Product Overview

Application Note Receiving HF Signals with a USRP Device Ettus Research

Transcription:

A Software Defined Radio Testbed Implementation S. Weiss 1, A. Shligersky 1, S. Abendroth 1, J. Reeve 1, L. Moreau 1, T.E. Dodgson 2 and D. Babb 2 1 School of Electronics & Computer Science, University of Southampton, UK 2 Samsung Electronics Research Institute, Samsung Ltd. (UK), Staines, UK Email: {s.weiss,jsr,lavm}@ecs.soton.ac.uk, {tdodgson,dbabb}@seri.co.uk Abstract We report on the implementation of a software defined radio (SDR) based on state-of-theart digital signal processors (DSPs), which are linked ly to PCs. While time critical operations are executed on specialised transmit and receive processors with a fixed block structure, the baseband processing is performed on highly flexible DSPs. The latter run several concurrent functionalities, such as the reception of data over a link, the assembly of symbols and frames for transmission, as well as receiver functions such as a fractionally spaced equaliser for synchronisation and mitigation of potentially dispersive channels under a DSP/BIOS system. The testbed system is capable of transmitting packets of data over the SDR link. 1. Introduction The design of highly flexible digital communication systems has become an area of considerable interest. Particularly for mobile wireless transmission via hand-held devices, size and cost competitiveness usually set limitations when trying to implement systems compatible with multiple standards that exist throughout the, upcoming standards will overlap with existing ones for a significant interim period, such as for example for the transition from GSM to UMTS [1, 2]. Similarly. reconfiguring a device near-instantaneously is desirable if the required throughput over a wireless link varies between such extremes as voice transmission or down-loading a large image. This has motivated the concept of a software defined radio (SDR), whereby the digital-toanalogue and analogue-to-digital conversion are performed as close as possible to the radio frequency. The aim of extending the digital domain is to implement modulation, demodulation, channel coding and other required processing tasks in software [3, 4]. Therefore, users, service providers, and manufacturers become more independent of the realisation of one specific data transmission standard, since by down-loading appropriate software code, a different functionality can be adopted by the communications system. In this paper we report on the implementation of a software defined radio (SDR) test-bed comprising a transmitter and receiver, which is implemented on digital signal processors (DSP) performing the baseband operations. Similar testbeds have been reported, based on FPGAs in the upconversion and downconversion stages to an intermediate frequency (IF) [3, 4, 5]. Here, the conversion between baseband and IF is achieved by separate, fast, and programmable digital transmit and receive processors as suggested in [6, 7, 8], which offer a flexible approach to 1

implement various modulation and data rate modes [9]. The transmitted and received IF signals have a resolution of 12 and 14 bits respectively, and can be sampled at a maximum of 65 MHz. The aim of our testbed is to provide a wireless link between two PCs, which are connected to the baseband DSPs via RS232 connections. In the following, we give a brief overview over the hardware and software structure of our testbed in Secs. 2 and 3, and discuss its capabilities and limitations in Sec. 4. Conclusions and an outlook to future extensions are presented in Sec. 5. 2. Hardware Structure The general setup of the implemented SDR transceiver is shown in Fig. 1. Two floating point DSPs operate as baseband units in both the transmitter and the receiver, while dedicated circuitry in form of a digital transmit processor (DTP) and a digital receive processor (DRP) are employed for the conversion and processing stages between baseband and IF. In the following, we comment first on the transmit function in Sec. 2.1 and thereafter on the receiver hardware in Sec. 2.2. In order to potentially include the testbed into a network, Sec. 2.3 addresses the data link between the baseband DSPs and PCs. PC #1 async RS232 conv. sync transmit baseband DSP I/Q data control clock quadrature digital upconverter 12 bit digital IF DAC gain PC #2 async RS232 conv. Tx Rx sync receive baseband DSP I/Q data control digital receive processor 14 bit digital IF clock ADC RF unit channel Fig. 1: SDR block diagram. 2.1 Transmitter Circuit The transmitter hardware encompasses a Texas Instruments C6711 floating point DSP for baseband processing. Based on a suitable input signal, this processor provides a stream of complex valued symbols for transmission, which are then passed to a DTP, for which an Analog Devices AD9856 has been utilised. The selected DTP has an on-board digital-to-analogue converter,(dac) to finally transform the digital data into an analogue signal at IF. As indicated in Fig. 1, the circuit is completed by an amplifier with variable gain, which can be controlled digitally. Our selected baseband DSP is suitable for processing tasks that are highly demanding in terms of required computational complexity. and can therefore encompass tasks such as source and channel coding. The C6711 DSP used here, evaluating 900 million floating point operations per second at a clock rate of 150 MHz, resides on a low-cost DSP starter kit (DSK) board, which permits access to various ports and interfaces of the DSP. For the communication between DSP and DTP, both the DSP s data bus and one of its two multichannel buffered ports (McBSP) 2

have been utilised. Inphase and quadrature components of the complex valued symbols are presented to the DTP interleaved and in a parallel fashion over the DSP s expansion memory interface, whereby 12 bits parallel data and a control line to enable transmission are occupied. The initialisation of the DTP and also its control during transmission are serviced via an McBSP by the DSP over a number of control lines. The baseband data is transfered to the DTP via custom build latches, with inphase and quadrature data components interleaved. The DTP is placed on an evaluation board comprising an AD9856 quadrature digital up-converter. Within this up-converter, it is possible to download different sets of coefficients for transmit filtering and choose different oversampling ratios in the interpolation stages. At the output of the interpolation stage, a quadrature amplitude modulation is placed, where the inphase and quadrature signal components are multiplied by sine and cosine waveforms. At a maximum input bandwidth of 25 MS/s (considering both inphase and quadrature components), the maximum sampling rate at the output of the DTP is 160 MHz, which is limited by a 65 MHz lowpass filter and the rate of the on-board digital-to-analogue converter (DAC). This DAC has a resolution of 12 bits, and is followed by a programmable gain amplifier (AD8320) for power control. This gain amplifier can be regulated through the transmit processor, which in turn is controlled via the DSP s port. As indicated in Fig. 1, the analogue IF signal could now be further modulated up to radio frequency and be transmitted via an antenna. A matching analogue circuit could receive the transmit antenna signal, and down-convert it to IF. In our test-bed, this hardware stage is currently omitted, and the IF signal from the DTP is passed straight back into a digital receive processor (DRP). 2.2 Receiver Circuit On the receiver side, the analogue IF signal is fed to an AD6644ST analogue to digital converter (ADC) sampling at a maximum of 80 MS/s with 14 bit resolution. As shown in Fig. 1, this data is passed to the DRP over a parallel port. Here, this dedicated processor is an AD6620, which has a maximum input bandwidth of 65 MS/s for real signals or 32.5 MS/s for complex valued data. Over two stages of cascaded-integrator-comb (CIC) filters with definable decimation ratios, finally a programmable receive filter of order 255 can be applied to the data in the down-conversion process. From the DRP, the inphase and quadrature data is then ly transmitted to the second C6711 DSP hosting the baseband receiver functions. Although the selected DRP also allows a parallel interface, the employed DSK board permits only to write to the McBSP but not the data bus on the expansion memory interface. Through the McBSP, the DSP can also control the parameters on the DRP, including the decimation ratios as well as the selection of the CICs and the receive filter. In the baseband receiver DSP, the oversampled data is fed into a synchronisation and equalisation stage, which will be described in Sec. 3.. Thereafter, the complex data symbols are translated into a bit-stream. From this bit stream, finally another synchronisation process is required to extract the transmitted data words. 3

2.3 Baseband DSP to PC Link In an earlier version of this testbed, on-board DAC and ADCs were used to function as source and sink of an audio signal to be transmitted via the testbed. In the version presented here, this data mode has been replaced by a link to PC via RS232 with the aim of embedding the testbed into a communications network [10]. The link is operated across the 2nd McBSP in both the Tx and Rx DSP. Since the PC port can by conveniently operated by a universal asynchronous receiver/transmitter (UART) protocol, the synchronous McBSP needs to be appropriately interfaced. Using methods in [11] and dedicated hardware to convert RS232 signalling levels to and from CMOS, the McBSP only needs to be driven by an internal clock and be provided with a suitable frame synchronisation signal, which can be derived from the transmitted data. Given such a frame synchronisation, in order to obtain an uncorrupted bit stream, unfortunately the signal needs to be oversampled in the McBSP. In our case, we have used a factor of 16 [10], which creates considerable redundancy and an interrupt rate higher than the bit rate thus burdening the DSP. 3. SDR Software The heart of the SDR testbed are the C6711 DSPs, which run a TI DSP/BIOS real-time system and control the interfaces in addition to the specific Tx and Rx functions. DSP/BIOS provides a convenient multi-tasking capability through events, software- as well as hardware interrupts, which operate at various levels of priority. Other functionalities, such as configuring the DTP and DRP can be performed by either dedicated host PC software or through writing specific control words to an interface. The connection on the PC side is established by standard JAVA libraries. Thus, we concentrate on the baseband DSP software, and below separately describe software implementations for the transmitter and receiver baseband DSPs. 3.1 Baseband Transmitter The Tx DSP is required to receive data packets from the PC, and form packets of symbols, which are embedded into a flexible frame in order to permit synchronisation in the Rx DSP. The data is oversampled and pulse shaped before passing it on to the upconverter. Thus, the aims of the baseband transmitter DSP implemented in software comprise: (1) Initialisation of interfaces and interrupts. (2) Initialisation of upconverter. This is done via McBSP0. (3) Reception of data from the PC. this is performed over McBSP1, a the link described in Sec. 2.3, and transfers data via enhanced direct memory access (EDMA) whenever McBSP1 issues a hardware interrupt due to a full receive data register; (4) Formation of data frames. In regular intervals, a frame synchronisation byte is inserted into the bit stream in order to later be able to perform word synchronisation in the receiver. (5) Mapping from bytes to symbols.the bit stream is converted into complex quadrature amplitude modulated (QAM) symbols, whereby here a QPSK mode is employed, although higher modulation modes are possible [12]. 4

(6) Pulse shaping. The symbol stream is moderately oversampled by a factor of 2, which is required as a minimum by the subsequent upconverter hardware, and filtered by a root raised cosine filter. (7) Passing I/Q samples to upconverter. The oversampled and pulse shaped signal values are passed over the parallel port of the PC to the upconverter, alternating real and imaginary values. Synchronisation and clock signal need to be provided by the DSP to the upconverter. While step (1) and (2) are only performed when the DSP is booted which can be done from an EPROM on the C6711 DSK board the remaining functions (3) (7) run concurrently and at different rates, exploiting the capabilities of DSP/BIOS. 3.2 Baseband Receiver In the Rx DSP, the data is received at a 4 times oversampled rate to enable Rx filtering and subsequent timing synchronisation. The timing synchronisation is performed by a fractionally spaced equaliser, which can be adapted either blindly based on the knowledge of the transmitted symbol alphabet [9] or on training data embedded in the transmitted frames [13]. Additionally, compensation for carrier mismatch, and byte synchronisation are performed [14]. The Rx DSP can then store the retrieved packet of data and output it ly to a second PC via RS232. In detail, the required functionality encompasses: (1) Initialisation of interfaces and interrupts. (2) Reception of I/Q data from downconverter. The real and imaginary signal values are receiver from the downconverter via the McBSP1. These samples are oversampled by a factor of 4 compared to the symbol rate in order to permit sufficient resolution for timing synchronisation. (3) Pulse shaping. The 4 times oversampled complex baseband signal is filtered by a root raised cosine filter matched to the one in the transmitter, together forming a Nyquist system. (4) Fractionally spaced equaliser. At a two times oversampled rate, the received signal stream is passed into a fractionally spaced equaliser, which performs blind channel equalisation and can at the same time accomplish timing synchronisation. For updating of the blind equaliser, a constant modulus algorithm is used in combination with differential QAM symbol transmission [13]. (5) Byte synchronisation. After the retrieval of the bit synchronisation in (4), the detection of the frame word is utilised for byte synchronisation. (6) Data transfer to host PC. The detected frames are transfered to memory and, after accumulation of a packet, passed on via EDMA to the McBSP0 to the PC on the receiver side. Step (1) is performed at boot level, while, different from the transmitter, the downconverter needs to be initialised via a host PC and dedicated software since integration with the baseband DSP has not been completed yet. The remaining steps (3) (6) again have to be operated concurrently and at different rates. Processing of both the transmitter and receiver functions are performed in interrupt service routines, whereby the processor falls into an idle mode if no interrupts need to be services, from which it returns if new data or symbols need to be processed. 5

4. Capabilities and Bottlenecks The current SDR testbed, as depicted in an experimental setup in Fig. 2, can transmit at up to 256 kbit/s in differential QPSK mode between the two baseband DSPs, whereby the limiting factor is the connection between the DRP and the baseband receiver DSP. Higher data throughput is in principle possible by selecting multi-level QAM schemes for symbol encoding, although this would result in a system more sensitive to channel noise. Removing the bottle neck would require the possibility of a parallel data transfer between the DRP and the DSP, which is difficult due to limitations on the selected DRP. In the transmission mode shown in Fig. 1, packets of data can be transmitted from PC to PC across the SDR testbed. However, with the RS232 link being limited to 115 kbit/s and the oversampling of the bit stream in the McBSP1, the bottleneck is now moved from the DRP-DSP link to the PC connections in transmitter and receiver. PC #1 PC #2 Fig. 2: Experimental setup of SDR testbed. 5. Conclusions and Further Developments We have presented an SDR testbed and highlighted its structure and functionality, as well as some of its capabilities and limitations. The DSP processor is controlling various concurrent functionalities through a real-time DSP/BIOS system, and is at present capable of transmitting up to 256 bit/s in QPSK mode. The devices are currently configured when the system is booted up, and in case of the DRP, through dedicated host PC software. We aim to achieve reconfigurability of the testbed by first adding flexibility to the baseband DSPs, whereby adaptive modulation with channel SNR dependent modulation levels appears to be a suitable candidate. Ideally, a multiband approach could be accomplished if the DSPs could in turn reconfigure the DTP and DRP. While this is currently possible on the transmitter side, where the DSP initialises and controls the DTP, the DRP is configured through external software and not accessible to the baseband DSP in the present form of the SDR. References [1] Special Issue on Software Radio, IEEE Journal on Selected Areas of Communications, vol. 6, no. 4, August 1999. 6

[2] F. Jondral, A. Wiesler, and R. Machauer, A Software Defined Radio Structure for 2nd and 3rd Generation Mobile Communication Standards, in IEEE 6th International Symposium on Spread Spectrum Techniques and Applications, Piscataway, NJ, September 2000, vol. 2, pp. 637 640. [3] C. Bonnet, G. Caire, A. Enout, P. A. Humblet, A. Montalbano, and D. Nussbaum, Open Software Radio Platform for New Generations of Mobile Communication Systems, in 3rd European DSP Education and Research Conference, Paris, September 2000. [4] M. Jian, S. R. Bai, K. T. Heng, and W. H. Yung, A Software Radio Development Platform PCP200 Partnering C6x with Virtex FPGA, in 3rd European DSP Education and Research Conference, Paris, September 2000. [5] Multiple Access Communications Ltd., Aspe 1000 advanced signal processing engine, datasheet, http://www.macltd.com/aspe.htm, 2002. [6] T. Hentschel, M. Henker, and G. Fettweis, The Digital Front-End of Software Radio Terminals, IEEE Personal Communications, vol. 6, no. 4, pp. 6 12, August 1999. [7] M. Schlosser, Software radio development, Diploma thesis, University of Southampton, Southampton, UK, May 2000. [8] S. Abendroth, Development of a Digital Front-End for a Software Defined Radio, Tripartite fifth year project report, University of Southampton, Southampton, UK, May 2001. [9] S. Abendroth, R. Heuzé, and S. Weiss, A Software Defined Radio Front-End Implementation, in Proceedings 2nd Karlruhe Workshop on Software Radios, Karlsruhe, Germany, March 2002, pp. 57 61. [10] A. Shligersky, Real-time system approach for the sdr front-end, Diploma thesis, University of Southampton, Southampton, UK, June 2003. [11] T. Hiers, R. Ma, P. Malleth, and S. Chen, Tms320c6000 mcbsp: Uart, TI Application Report, SPRA633A, August 2001. [12] R. Heuzé, Software Synchronisation and Equalisation, Tripartite fifth year project report, University of Southampton, Southampton, UK, May 2001. [13] C. R. Johnson, P. Schniter, T. J. Endres, J. D. Behm, D. R. Brown, and R. A. Casas, Blind Equalization Using the Constant Modulus Criterion: A Review, Proceedings of the IEEE, vol. 86, no. 10, pp. 1927 1950, October 1998. [14] U. Mengali and A. d Andrea, Synchronization Techniques for Digital Receivers, Plenum Press, New York, 1997. 7