Implementation of Digital Signal Processing: Some Background on GFSK Modulation



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

MODULATION Systems (part 1)

5 Signal Design for Bandlimited Channels

Introduction to Receivers

The front end of the receiver performs the frequency translation, channel selection and amplification of the signal.

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

Appendix D Digital Modulation and GMSK

Lezione 6 Communications Blockset

T = 1 f. Phase. Measure of relative position in time within a single period of a signal For a periodic signal f(t), phase is fractional part t p

Software Defined Radio

AN Application Note: FCC Regulations for ISM Band Devices: MHz. FCC Regulations for ISM Band Devices: MHz

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

TCOM 370 NOTES 99-4 BANDWIDTH, FREQUENCY RESPONSE, AND CAPACITY OF COMMUNICATION LINKS

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

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

A WEB BASED TRAINING MODULE FOR TEACHING DIGITAL COMMUNICATIONS

AM/FM/ϕM Measurement Demodulator FS-K7

Time and Frequency Domain Equalization

Vector Signal Analyzer FSQ-K70

INTRODUCTION TO COMMUNICATION SYSTEMS AND TRANSMISSION MEDIA

Chap#5 (Data communication)

Data Transmission. Data Communications Model. CSE 3461 / 5461: Computer Networking & Internet Technologies. Presentation B

Implementing Digital Wireless Systems. And an FCC update

RF Measurements Using a Modular Digitizer

EECC694 - Shaaban. Transmission Channel

MSB MODULATION DOUBLES CABLE TV CAPACITY Harold R. Walker and Bohdan Stryzak Pegasus Data Systems ( 5/12/06) pegasusdat@aol.com

1 Multi-channel frequency division multiplex frequency modulation (FDM-FM) emissions

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

Electronic Communications Committee (ECC) within the European Conference of Postal and Telecommunications Administrations (CEPT)

APPLICATION NOTE. RF System Architecture Considerations ATAN0014. Description

Loop Bandwidth and Clock Data Recovery (CDR) in Oscilloscope Measurements. Application Note

Duobinary Modulation For Optical Systems

The Effect of Network Cabling on Bit Error Rate Performance. By Paul Kish NORDX/CDT

HD Radio FM Transmission System Specifications Rev. F August 24, 2011

Mobile Communications Chapter 2: Wireless Transmission

Example/ an analog signal f ( t) ) is sample by f s = 5000 Hz draw the sampling signal spectrum. Calculate min. sampling frequency.

Agilent Digital Modulation in Communications Systems An Introduction. Application Note 1298

CDMA TECHNOLOGY. Brief Working of CDMA

Maximizing Receiver Dynamic Range for Spectrum Monitoring

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

DVB-T. The echo performance of. receivers. Theory of echo tolerance. Ranulph Poole BBC Research and Development

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

DT3: RF On/Off Remote Control Technology. Rodney Singleton Joe Larsen Luis Garcia Rafael Ocampo Mike Moulton Eric Hatch

Timing Errors and Jitter

1. (Ungraded) A noiseless 2-kHz channel is sampled every 5 ms. What is the maximum data rate?

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

NRZ Bandwidth - HF Cutoff vs. SNR

Interpreting the Information Element C/I

Radio Transmission Performance of EPCglobal Gen-2 RFID System

Lecture 3: Signaling and Clock Recovery. CSE 123: Computer Networks Stefan Savage

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

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

Revision of Lecture Eighteen

Computer Networks and Internets, 5e Chapter 6 Information Sources and Signals. Introduction

Taking the Mystery out of the Infamous Formula, "SNR = 6.02N dB," and Why You Should Care. by Walt Kester

Analog Representations of Sound

The Effective Number of Bits (ENOB) of my R&S Digital Oscilloscope Technical Paper

INTERNATIONAL TELECOMMUNICATION UNION $!4! #/--5.)#!4)/. /6%2 4(% 4%,%0(/.%.%47/2+

ISI Mitigation in Image Data for Wireless Wideband Communications Receivers using Adjustment of Estimated Flat Fading Errors

Propagation Channel Emulator ECP_V3

Clock Recovery in Serial-Data Systems Ransom Stephens, Ph.D.

: Instructor

'Possibilities and Limitations in Software Defined Radio Design.

14: FM Radio Receiver

Angle Modulation, II. Lecture topics FM bandwidth and Carson s rule. Spectral analysis of FM. Narrowband FM Modulation. Wideband FM Modulation

Coexistence Tips the Market for Wireless System Simulation Chris Aden, MathWorks

INTERNATIONAL TELECOMMUNICATION UNION

AM Receiver. Prelab. baseband

Digital Transmission of Analog Data: PCM and Delta Modulation

INTERNATIONAL TELECOMMUNICATION UNION DATA COMMUNICATION OVER THE TELEPHONE NETWORK

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

INTERNATIONAL TELECOMMUNICATION UNION

RF SYSTEM DESIGN OF TRANSCEIVERS FOR WIRELESS COMMUNICATIONS

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

Optical Communications Analysis of transmission systems. Henrique Salgado Point-to-point system

Introduction to FM-Stereo-RDS Modulation

Frequency Hopping Spread Spectrum (FHSS) vs. Direct Sequence Spread Spectrum (DSSS) in Broadband Wireless Access (BWA) and Wireless LAN (WLAN)

Communication Systems

Experiment 3: Double Sideband Modulation (DSB)

Measurement of Adjacent Channel Leakage Power on 3GPP W-CDMA Signals with the FSP

Digital Transmission (Line Coding)

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

Agilent PN Extending Vector Signal Analysis to 26.5 GHz with 20 MHz Information Bandwidth

chapter Introduction to Digital Signal Processing and Digital Filtering 1.1 Introduction 1.2 Historical Perspective

by Anurag Pulincherry A THESIS submitted to Oregon State University in partial fulfillment of the requirements for the degree of Master of Science

Solution. (Chapters ) Dr. Hasan Qunoo. The Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department

Introduction to IQ-demodulation of RF-data

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

Spike-Based Sensing and Processing: What are spikes good for? John G. Harris Electrical and Computer Engineering Dept

Acoustic Processor of the MCM Sonar

PHASE ESTIMATION ALGORITHM FOR FREQUENCY HOPPED BINARY PSK AND DPSK WAVEFORMS WITH SMALL NUMBER OF REFERENCE SYMBOLS

What s The Difference Between Bit Rate And Baud Rate?

Evolution from Voiceband to Broadband Internet Access

IN current film media, the increase in areal density has

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

ADVANCED APPLICATIONS OF ELECTRICAL ENGINEERING

Transcription:

Implementation of Digital Signal Processing: Some Background on GFSK Modulation Sabih H. Gerez University of Twente, Department of Electrical Engineering s.h.gerez@utwente.nl Version 4 (February 7, 2013) This document provides some background information on GFSK modulation on behalf of student exercises for the course Implementation of Digital Signal Processing as taught at the University of Twente 1. 1 Principle Gaussian frequency shift keying (GFSK) is a modulation method for digital communication found in many standards such as Bluetooth, DECT and Wavenis. Digital communication amounts to translating symbols from a discrete alphabet into a signal that the transmitting side can send into a transmission medium and from which the receiving side can recover the original symbols. In the context of this example, the alphabet has only two symbols 0 and 1. When the alphabet consists of just two symbols, the symbols are called bits. The modulation method is a variant of frequency modulation (FM) of some carrier frequency ω c. 2 Frequency shift keying (FSK) conveys information by decreasing the carrier frequency for the duration of a 0 symbol and increasing the frequency for the duration of a 1 symbol. If one applies Gaussian filtering to the square-wave signal that would shift the carrier frequency, one gets GFSK. The models presented here are restricted to the digital part of the entire communication system using an intermediate frequency ω IF as carrier frequency. In a real-life system, the signals traveling between antennas have a (much) higher carrier frequency, the so-called radio frequency ω RF. Analog circuits are normally used for upconversion to RF at the transmitter and downconversion to IF at the receiver. An analog-to-digital converter (ADC) at the receiver side, brings the signal back to the digital domain. The discussion below leaves out the RF part of the signal processing chain and pretends that the communication takes place at IF. 1 http://wwwhome.ewi.utwente.nl/ gerezsh/vlsidsp/index.html 2 In this document the term frequency is sloppily used for what is actually the angular frequency ω: ω = 2πf. 1

2 Transmitter The transmitted signal s(t) can be described by a cosine at ω IF with a time-dependent phase: s(t) = A cos(ω IF t + φ(t)) (1) In this formula, A is the signal s amplitude which is constant as the modulation only affects phase. φ(t) is derived from the bits that are transmitted: t φ(t) = hπ a i γ(τ it)dτ h is the modulation index: the larger the value, the wider the bandwidth occupied around the carrier. A frequently encountered case is: h = 0.5. Note that the case h = 0 represents an unmodulated carrier. a i is a sequence of numbers: +1 if the ith bit is 1 and 1 if that bit is 0. γ(t) is the frequency pulse. If no Gaussian filter would be applied (FSK instead of GFSK), the frequency pulse would be rectangular: 1 in the interval [0, ] and 0 outside this interval, where is the duration of one symbol. So, ignoring the sign of a i, the phase contribution of one symbol would be hπ. Continuing the reasoning, transmitting a continuous series of 1 s during 1 second would amount to a total phase shift of hπ. Note that the total phase shift in one second is equal to the angular frequency shift. The real frequency shift is then h. This means that the instantaneous frequency of an FSK signal is either f IF h or f IF + h ignoring the effects of switching between the two frequencies (f IF = ω IF 2π ). The Gaussian filter smoothens the shape of the frequency pulse and makes it wider than one symbol period (this causes intersymbol interference). The goal is to avoid the high frequencies caused by switching. When the sequence to be transmitted contains multiple equal bits, the effect of filtering dies out and the extreme instantaneous frequencies mentioned for FSK are reached. Otherwise, the frequency swing around ω IF is smaller. i The Gaussian filter is given by: g(t) = 1 2πσ e 1 2 ( t σ )2 where σ is related to the filter s 3-dB bandwidth B: ln2 σ = 2πB Note that the Gaussian filter s impulse response spans from to. For practical implementations, the span has to be limited. 3 Noise, SNR, and BER The communication channel is the connection between transmitter and receiver. Distortion of the signal by the channel affects the quality of the received signal. The considered design models so-called 2

additive white Gaussian noise (AWGN) as the only source of distortion. If n(t) is the noise signal, the noisy signal s n (t) can simply be expressed as: s n (t) = s(t) + n(t) Note that the model does not introduce any attenuation to the signal. The noise is parameterized by the signal-to-noise ratio (SNR) which is the quotient of the signal power and the noise power (often expressed in db). In the model, the signal strength is kept constant and the noise power is chosen that corresponds to the given SNR. When designing the GFSK receiver, the bit-error rate (BER), viz. the number of wrongly detected bits divided by the total number of transmitted bits, is the measure of quality. The design goal is to make the receiver as cheap as possible, for example in terms of logic gates in an ASIC realization, while satisfying the BER requirements. 4 Receiver A common method to extract the transmitted bits from the modulated signal is to shift the signal to baseband (to reduce the carrier frequency to zero), to filter the signal and then apply a so-called delay and multiply transformation. These steps will be explained in short below. First, the signal as described in Equation 1 will be rewritten to: s(t) = A cos((ω IF + ω d )t) Here, ω d is the instantaneous frequency offset due to modulation (remember that frequency is the time derivative of phase, so ω d = d dt φ(t)). So, if one would be able to know ω d for a specific symbol period, one would be able to know the value of the bit from the sign of ω d : ω d > 0 would mean that a 1 was received and ω d < 0 that a 0 was received. In order to eliminate ω IF, one can multiply s(t) with an unmodulated sine and cosine: i m (t) = s(t) cos(ω IF t) q m (t) = s(t) sin(ω IF t) This is called mixing. The two signals i m (t) and q m (t) are called the in-phase and quadrature components of the new signal. Following the product rules of trigonometry, one then gets: i m (t) = A 2 (cos((2ω IF + ω d )t) + cos(ω d t)) q m (t) = A 2 ( sin((2ω IF + ω d )t) + sin(ω d t)) The interpretation of these formulae is that both i m (t) and q m (t) will now contain the original signal twice: once around center frequency 2ω IF and once around center frequency 0. The signal component around 2ω IF can be removed by low-pass filtering to obtain: i l (t) = A 2 cos(ω dt) q l (t) = A 2 sin(ω dt) 3

Parameter Value symbol rate 500 khz modulation index h 0.5 input sample frequency (ADC output) 8 MHz hardware clock frequency 8 MHz ω IF 1 MHz bandwidth low-pass filter 1 MHz Figure 1: Problem specification. The delay-and-multiply operation is a classical technique for FM demodulation [1]. It amounts to computing: d(t) = q l (t) i l (t T) i l (t) q l (t T) Applying once again the product rules for sines and cosines, one finds: d(t) = A2 4 sin(ω d T) If T = (one could also choose other values) and h = 0.5, remembering that the maximal frequency deviation for GFSK is hπ, the value of d(t) will be at most A2 4 sin π 2 = A2 4. Similarly, the minimum value of d(t) will be A2 4. Actually, d(t) > 0 for ω d > 0 and d(t) < 0 for ω d < 0. This means that the sequence of mixing, low-pass filtering and delay and multiply has resulted in a signal from which the original sequence of bits can be extracted by sampling at the right moment. 5 Facts on the Reference Designs This section presents some numeric information about the reference GFSK designs and discusses its implications. Some specifications for the GFSK project are given in Figure 1. Modulation uses 16 samples for each symbol. For this reason, a symbol rate of 0.5 MHz results in a sample rate of 8 MHz (so, using the Nyquist criterion, the maximum frequency representable in the system is 4 MHz). A hardware clock of 8 MHz implies a one-to-one implementation. It was mentioned in Section 2, that the Gaussian filter has an infinite span in theory, but that the span needs to be limited in practice. In the reference design, the span has been limited to 4 symbol periods. It is therefore implemented as a 64-tap FIR filter. The low-pass filter has a bandwidth of 1 MHz, meaning that all signals with a higher frequency are suppressed. This has consequences for the noise added in the channel. As the bandwidth of the simulated system is 4 times as large as the bandwidth considered after filtering, the SNR is corrected by a factor of 4. This can be seen as follows: the added noise is white, meaning that all frequencies are equally present; the filter removes three quarters of the noise; so, to have the correct noise energy in the frequency band of interest, a correction with 4 is necessary. 4

The low-pass filter is an FIR filter with coefficients optimized for a multiplierless implementation as published in [2]. As the maximum frequency after filtering is 1 MHz, one can reduce the sample rate to 2 MHz, using a downsampling factor of 4. This is actually the case in the example receiver designs that are provided. In the 2 MHz domain, this means that there are 4 samples for each symbol instead of 16. Delay and multiply consumes and produces 4 samples per symbol. The problem left is to detect the symbol boundaries in this data stream and take a decision about the bits received. Finding the symbol boundary is called synchronization. The optimal decision about the bits received should involve the samples of the symbol itself as well as those of its neighbors (remember that the Gaussian filter in the transmitter spreads a symbol across multiple symbol periods). The reference design takes a pragmatic approach on synchronization and decision. It has a block called the slicer for this purpose. Only the four samples of the symbol itself are considered. For the sake of simplicity, no samples of neighboring symbols are taken into account in spite of the presence of intersymbol interference. The four samples are added and then the sign of the sum is checked. Adding the four samples instead of inspecting just one, makes the decision more robust in the presence of noise. The hardware does not perform synchronization. Synchronization is supposed to be performed by an external hardware unit that provides a parameter called slicer offset which is an integer in the range from 0 to 3. The slicer continually adds the last four samples that it has received, but only updates its output when an internal modulo-4 counter has a value equal to slicer offset. As the output of the slicer only changes once in 4 samples, its output can be downsampled once again resulting in an output stream consisting of bits: one bit is delivered for each transmitted bit. References [1] J.H. Park. An FM detector for low S/N. IEEE Transactions on Communication Technology, COM- 18(2):110 118, April 1970. [2] J.M.P. Langlois, D. Al-Khalili, and R.J. Inkol. Polyphase filter approach for high performance, FPGA-based quadrature demodulation. Journal of VLSI Signal Processing, 32:237 254, 2002. 5